From 3e4c1c62635a321d417d9906725ca67da3a91c55 Mon Sep 17 00:00:00 2001 From: Alexander Zaslonov Date: Wed, 28 Apr 2021 11:37:11 -0700 Subject: [PATCH] Upgraded dependency libraries. Added new widget icons. --- .../documentDetailsHandlers.ts | 2 +- .../conferenceSessionHandlers.ts | 2 +- package-lock.json | 225 ++--- package.json | 8 +- scaffolds/widget/widgetHandlers.ts | 2 +- .../apis/api-products/apiProductsHandlers.ts | 8 +- .../ko/apiProductsViewModelBinder.ts | 2 +- .../details-of-api/detailsOfApiHandlers.ts | 4 +- .../ko/detailsOfApiViewModelBinder.ts | 2 +- .../history-of-api/historyOfApiHandlers.ts | 4 +- .../ko/historyOfApiViewModelBinder.ts | 2 +- .../apis/list-of-apis/listOfApisHandlers.ts | 6 +- .../ko/operationDetailsViewModelBinder.ts | 2 +- .../operationDetailsHandlers.ts | 4 +- .../operation-list/operationListHandlers.ts | 2 +- .../product-apis/productApisHandlers.ts | 4 +- .../ko/productDetailsViewModelBinder.ts | 2 +- .../product-details/productDetailsHandlers.ts | 4 +- .../product-list/productListHandlers.ts | 6 +- .../ko/productSubscribeViewModelBinder.ts | 2 +- .../productSubscribeHandlers.ts | 4 +- .../ko/productSubscriptionsViewModelBinder.ts | 2 +- .../productSubscriptionsHandlers.ts | 4 +- src/components/reports/reportsHandlers.ts | 2 +- .../change-password/changePasswordHandlers.ts | 4 +- .../ko/changePasswordViewModelBinder.ts | 2 +- .../confirmPasswordHandlers.ts | 4 +- .../ko/confirmPasswordViewModelBinder.ts | 2 +- .../profile/ko/profileViewModelBinder.ts | 2 +- .../users/profile/profileHandlers.ts | 4 +- .../ko/resetPasswordViewModelBinder.ts | 2 +- .../reset-password/resetPasswordHandlers.ts | 4 +- .../ko/signinSocialViewModelBinder.ts | 2 +- .../signin-social/signinSocialHandlers.ts | 2 +- .../users/signin/ko/signinViewModelBinder.ts | 2 +- src/components/users/signin/signinHandlers.ts | 4 +- .../signup-social/signupSocialHandlers.ts | 2 +- .../users/signup/ko/signupViewModelBinder.ts | 2 +- src/components/users/signup/signupHandlers.ts | 4 +- .../subscriptions/subscriptionsHandlers.ts | 2 +- .../validationSummaryHandlers.ts | 2 +- src/themes/designer/styles/buttons.scss | 8 +- src/themes/designer/styles/forms.scss | 17 +- src/themes/designer/styles/icons.scss | 921 ++++++++++-------- .../designer/styles/icons/icon-accordion.svg | 4 + .../styles/icons/icon-api-management.svg | 3 + .../designer/styles/icons/icon-button.svg | 11 + .../designer/styles/icons/icon-card.svg | 4 + .../designer/styles/icons/icon-carousel.svg | 4 + .../designer/styles/icons/icon-checkbox.svg | 3 + .../styles/icons/icon-collapsible-panel.svg | 3 + .../designer/styles/icons/icon-component.svg | 3 + .../designer/styles/icons/icon-date-input.svg | 6 + .../styles/icons/icon-email-input.svg | 5 + .../designer/styles/icons/icon-form.svg | 4 + src/themes/designer/styles/icons/icon-map.svg | 6 + .../designer/styles/icons/icon-menu.svg | 3 + .../styles/icons/icon-multi-line-input.svg | 4 + .../styles/icons/icon-number-input.svg | 3 + .../styles/icons/icon-password-input.svg | 4 + .../styles/icons/icon-picture-gallery.svg | 4 + .../designer/styles/icons/icon-picture.svg | 4 + .../styles/icons/icon-range-input.svg | 5 + .../designer/styles/icons/icon-search-box.svg | 4 + .../styles/icons/icon-select-input.svg | 4 + .../designer/styles/icons/icon-splitter.svg | 3 + .../styles/icons/icon-submit-form-button.svg | 3 + .../designer/styles/icons/icon-tab-panel.svg | 3 + .../designer/styles/icons/icon-table.svg | 4 + .../styles/icons/icon-testimonials.svg | 6 + .../designer/styles/icons/icon-text-block.svg | 3 + .../designer/styles/icons/icon-text-input.svg | 3 + .../designer/styles/icons/icon-time-input.svg | 4 + .../designer/styles/icons/icon-url-input.svg | 5 + .../styles/icons/icon-video-player.svg | 5 + .../styles/icons/icon-youtube-player.svg | 4 + src/themes/designer/styles/lists.scss | 6 +- src/themes/website/styles/tables.scss | 1 + webpack.designer.js | 7 +- 79 files changed, 812 insertions(+), 633 deletions(-) create mode 100644 src/themes/designer/styles/icons/icon-accordion.svg create mode 100644 src/themes/designer/styles/icons/icon-api-management.svg create mode 100644 src/themes/designer/styles/icons/icon-button.svg create mode 100644 src/themes/designer/styles/icons/icon-card.svg create mode 100644 src/themes/designer/styles/icons/icon-carousel.svg create mode 100644 src/themes/designer/styles/icons/icon-checkbox.svg create mode 100644 src/themes/designer/styles/icons/icon-collapsible-panel.svg create mode 100644 src/themes/designer/styles/icons/icon-component.svg create mode 100644 src/themes/designer/styles/icons/icon-date-input.svg create mode 100644 src/themes/designer/styles/icons/icon-email-input.svg create mode 100644 src/themes/designer/styles/icons/icon-form.svg create mode 100644 src/themes/designer/styles/icons/icon-map.svg create mode 100644 src/themes/designer/styles/icons/icon-menu.svg create mode 100644 src/themes/designer/styles/icons/icon-multi-line-input.svg create mode 100644 src/themes/designer/styles/icons/icon-number-input.svg create mode 100644 src/themes/designer/styles/icons/icon-password-input.svg create mode 100644 src/themes/designer/styles/icons/icon-picture-gallery.svg create mode 100644 src/themes/designer/styles/icons/icon-picture.svg create mode 100644 src/themes/designer/styles/icons/icon-range-input.svg create mode 100644 src/themes/designer/styles/icons/icon-search-box.svg create mode 100644 src/themes/designer/styles/icons/icon-select-input.svg create mode 100644 src/themes/designer/styles/icons/icon-splitter.svg create mode 100644 src/themes/designer/styles/icons/icon-submit-form-button.svg create mode 100644 src/themes/designer/styles/icons/icon-tab-panel.svg create mode 100644 src/themes/designer/styles/icons/icon-table.svg create mode 100644 src/themes/designer/styles/icons/icon-testimonials.svg create mode 100644 src/themes/designer/styles/icons/icon-text-block.svg create mode 100644 src/themes/designer/styles/icons/icon-text-input.svg create mode 100644 src/themes/designer/styles/icons/icon-time-input.svg create mode 100644 src/themes/designer/styles/icons/icon-url-input.svg create mode 100644 src/themes/designer/styles/icons/icon-video-player.svg create mode 100644 src/themes/designer/styles/icons/icon-youtube-player.svg diff --git a/community/widgets/document-details/documentDetailsHandlers.ts b/community/widgets/document-details/documentDetailsHandlers.ts index c447f1d32..d188c81a3 100644 --- a/community/widgets/document-details/documentDetailsHandlers.ts +++ b/community/widgets/document-details/documentDetailsHandlers.ts @@ -9,7 +9,7 @@ export class DocumentDetailsHandlers implements IWidgetHandler { name: widgetName, displayName: widgetDisplayName, category: widgetCategory, - iconClass: "paperbits-puzzle-10", + iconClass: "widget-icon widget-icon-component", requires: ["html"], createModel: async () => { const model = new DocumentDetailsModel(); diff --git a/examples/widgets/conference-session/conferenceSessionHandlers.ts b/examples/widgets/conference-session/conferenceSessionHandlers.ts index 745329a34..fb3d88198 100644 --- a/examples/widgets/conference-session/conferenceSessionHandlers.ts +++ b/examples/widgets/conference-session/conferenceSessionHandlers.ts @@ -9,7 +9,7 @@ export class ConferenceSessionHandlers implements IWidgetHandler { name: widgetName, displayName: widgetDisplayName, category: widgetCategory, - iconClass: "paperbits-puzzle-10", + iconClass: "widget-icon widget-icon-component", requires: [], createModel: async () => { const model = new ConferenceSessionModel(); diff --git a/package-lock.json b/package-lock.json index 25848addd..6d11f7a8b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,10 +11,10 @@ "license": "MIT", "dependencies": { "@paperbits/azure": "0.1.356-hotfix", - "@paperbits/common": "0.1.396", - "@paperbits/core": "0.1.396", - "@paperbits/prosemirror": "0.1.396", - "@paperbits/styles": "0.1.396", + "@paperbits/common": "0.1.413", + "@paperbits/core": "0.1.413", + "@paperbits/prosemirror": "0.1.413", + "@paperbits/styles": "0.1.413", "@webcomponents/custom-elements": "1.4.2", "@webcomponents/shadydom": "^1.7.4", "adal-vanilla": "^1.0.18", @@ -344,9 +344,9 @@ } }, "node_modules/@babel/runtime": { - "version": "7.13.10", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.13.10.tgz", - "integrity": "sha512-4QPkjJq6Ns3V/RgpEahRk+AGfL0eO6RHHtTWoNNr5mO49G6B5+X6d6THgWEAvTrznU5xYpbAlVKRYcsCgh/Akw==", + "version": "7.13.17", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.13.17.tgz", + "integrity": "sha512-NCdgJEelPTSh+FEFylhnP1ylq848l1z9t9N0j1Lfbcw0+KXGjsTvUmkxy+voLLXB5SOKMbLLx4jxYliGrYQseA==", "dependencies": { "regenerator-runtime": "^0.13.4" } @@ -517,10 +517,9 @@ } }, "node_modules/@paperbits/common": { - "version": "0.1.396", - "resolved": "https://registry.npmjs.org/@paperbits/common/-/common-0.1.396.tgz", - "integrity": "sha512-CJah32PFpIVO3GqfNP1xor7HqagX/4oVXlS76z0OtAVd7KIBzdw/GTt0IZtc195aYaO5d08axz5ymE5O2HjgCg==", - "license": "MIT", + "version": "0.1.413", + "resolved": "https://registry.npmjs.org/@paperbits/common/-/common-0.1.413.tgz", + "integrity": "sha512-5aW7dPN7yb6p8McVPuX1HhzNfhiEeLeB+D0dPp80jdTWVfgsrvrhidaKz9ZRbZlLZnsXH9WxFmv1p1XcFShlaw==", "dependencies": { "deepmerge": "^4.2.2", "domino": "^2.1.4", @@ -532,21 +531,18 @@ "lodash": "^4.17.15", "lunr": "^2.3.8", "moment": "^2.24.0", - "react": "^16.14.0", - "react-dom": "^16.14.0", "reflect-metadata": "^0.1.13", - "vue": "^2.6.11", "xhr2": "^0.2.0" } }, "node_modules/@paperbits/core": { - "version": "0.1.396", - "resolved": "https://registry.npmjs.org/@paperbits/core/-/core-0.1.396.tgz", - "integrity": "sha512-tPQIlp160Wc0OZok06zffgJqMx49/bbUSIT/Z5B3/IHQPMm9YuQ3LpqROUYC1lJo/SdlkZVJakQ920XkXr4ZTA==", + "version": "0.1.413", + "resolved": "https://registry.npmjs.org/@paperbits/core/-/core-0.1.413.tgz", + "integrity": "sha512-XObYweprRokSbkMXYXNxeM+fY/yrJbqeyZsWq02qKkg01xAhqiRYWe4pFtBi5/T1U1aUE/Txi584gdIgj7VHyg==", "dependencies": { "@googlemaps/js-api-loader": "^1.11.3", - "@paperbits/common": "0.1.396", - "@paperbits/styles": "0.1.396", + "@paperbits/common": "0.1.413", + "@paperbits/styles": "0.1.413", "await-parallel-limit": "^2.1.0", "basiclightbox": "^5.0.4", "cropperjs": "^1.5.11", @@ -574,11 +570,11 @@ } }, "node_modules/@paperbits/prosemirror": { - "version": "0.1.396", - "resolved": "https://registry.npmjs.org/@paperbits/prosemirror/-/prosemirror-0.1.396.tgz", - "integrity": "sha512-25g56BGch0LVIXE5FyyTuEOtPFmeADDBhhpFPDrbiwL28s6GioP8IzdCZiPzMLneinNRIcXuqweaXd1UP9fihA==", + "version": "0.1.413", + "resolved": "https://registry.npmjs.org/@paperbits/prosemirror/-/prosemirror-0.1.413.tgz", + "integrity": "sha512-XD7FT5fE3f7Rru1j9DdQKdTyH2mikbXJlwPYXY72YTb+NZeXRvyQGL6c4BGdE4i/FyAJhns+wjBYbJaijh5ZJw==", "dependencies": { - "@paperbits/common": "0.1.396", + "@paperbits/common": "0.1.413", "prosemirror-commands": "^1.1.4", "prosemirror-history": "^1.1.3", "prosemirror-inputrules": "^1.1.2", @@ -591,11 +587,11 @@ } }, "node_modules/@paperbits/styles": { - "version": "0.1.396", - "resolved": "https://registry.npmjs.org/@paperbits/styles/-/styles-0.1.396.tgz", - "integrity": "sha512-JooTYB5VwMpaSKIiQxWqSa5qFtvJ8Fh2w0Vv3/MWeUxLt3C/iWE5olFPD7t+NgHhJ2vONyBnNNDGPBpeRKIP2Q==", + "version": "0.1.413", + "resolved": "https://registry.npmjs.org/@paperbits/styles/-/styles-0.1.413.tgz", + "integrity": "sha512-7Q5asK252/cz0CeaQkR3rU+tqPPrvS+x/sbejEUo5wKkQ2UXW1iH9PynbR0WnsWTB74Oc14CcZy0EDGrlDFXVw==", "dependencies": { - "@paperbits/common": "0.1.396", + "@paperbits/common": "0.1.413", "@simonwep/pickr": "^1.7.4", "jss": "^10.4.0", "jss-preset-default": "^10.4.0", @@ -3215,9 +3211,9 @@ } }, "node_modules/csstype": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.7.tgz", - "integrity": "sha512-KxnUB0ZMlnUWCsx2Z8MUsr6qV6ja1w9ArPErJaJaF8a5SOWoHLIszeCTKGRGRgtLgYrs1E8CHkNSP1VZTTPc9g==" + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.8.tgz", + "integrity": "sha512-jXKhWqXPmlUeoQnF/EhTtTl4C9SnrxSH/jZUih3jmO6lBKr99rP3/+FmrMj4EFpOXzMtXHAZkd3x0E6h6Fgflw==" }, "node_modules/currently-unhandled": { "version": "0.4.1", @@ -6639,7 +6635,8 @@ "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true }, "node_modules/js-yaml": { "version": "3.13.1", @@ -7192,17 +7189,6 @@ "resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-2.0.4.tgz", "integrity": "sha512-vM6rUVCVUJJt33bnmHiZEvr7wPT78ztX7rojL+LW51bHtLh6HTjx84LA5W4+oa6aKEJA7jJu5LR6vQRBpA5DVg==" }, - "node_modules/loose-envify": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", - "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", - "dependencies": { - "js-tokens": "^3.0.0 || ^4.0.0" - }, - "bin": { - "loose-envify": "cli.js" - } - }, "node_modules/loud-rejection": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz", @@ -8515,6 +8501,7 @@ "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", + "dev": true, "engines": { "node": ">=0.10.0" } @@ -9366,16 +9353,6 @@ "node": ">= 0.4" } }, - "node_modules/prop-types": { - "version": "15.7.2", - "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.7.2.tgz", - "integrity": "sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ==", - "dependencies": { - "loose-envify": "^1.4.0", - "object-assign": "^4.1.1", - "react-is": "^16.8.1" - } - }, "node_modules/property-information": { "version": "5.6.0", "resolved": "https://registry.npmjs.org/property-information/-/property-information-5.6.0.tgz", @@ -9848,35 +9825,6 @@ "node": ">=8.9.0" } }, - "node_modules/react": { - "version": "16.14.0", - "resolved": "https://registry.npmjs.org/react/-/react-16.14.0.tgz", - "integrity": "sha512-0X2CImDkJGApiAlcf0ODKIneSwBPhqJawOa5wCtKbu7ZECrmS26NvtSILynQ66cgkT/RJ4LidJOc3bUESwmU8g==", - "dependencies": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1", - "prop-types": "^15.6.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/react-dom": { - "version": "16.14.0", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.14.0.tgz", - "integrity": "sha512-1gCeQXDLoIqMgqD3IO2Ah9bnf0w9kzhwN5q4FGnHZ67hBm9yePzB5JJAIQCc8x3pFnNlwFq4RidZggNAAkzWWw==", - "dependencies": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1", - "prop-types": "^15.6.2", - "scheduler": "^0.19.1" - } - }, - "node_modules/react-is": { - "version": "16.13.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", - "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" - }, "node_modules/read-pkg": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", @@ -10444,15 +10392,6 @@ "resolved": "https://registry.npmjs.org/saxen/-/saxen-8.1.2.tgz", "integrity": "sha512-xUOiiFbc3Ow7p8KMxwsGICPx46ZQvy3+qfNVhrkwfz3Vvq45eGt98Ft5IQaA1R/7Tb5B5MKh9fUR9x3c3nDTxw==" }, - "node_modules/scheduler": { - "version": "0.19.1", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.19.1.tgz", - "integrity": "sha512-n/zwRWRYSUj0/3g/otKDRPMh6qv2SYMWNq85IEa8iZyAv8od9zDYpGSnpBEjNgcMNq6Scbu5KfIPxNF72R/2EA==", - "dependencies": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1" - } - }, "node_modules/schema-utils": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.0.0.tgz", @@ -13979,9 +13918,9 @@ } }, "@babel/runtime": { - "version": "7.13.10", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.13.10.tgz", - "integrity": "sha512-4QPkjJq6Ns3V/RgpEahRk+AGfL0eO6RHHtTWoNNr5mO49G6B5+X6d6THgWEAvTrznU5xYpbAlVKRYcsCgh/Akw==", + "version": "7.13.17", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.13.17.tgz", + "integrity": "sha512-NCdgJEelPTSh+FEFylhnP1ylq848l1z9t9N0j1Lfbcw0+KXGjsTvUmkxy+voLLXB5SOKMbLLx4jxYliGrYQseA==", "requires": { "regenerator-runtime": "^0.13.4" } @@ -14122,9 +14061,9 @@ } }, "@paperbits/common": { - "version": "0.1.396", - "resolved": "https://registry.npmjs.org/@paperbits/common/-/common-0.1.396.tgz", - "integrity": "sha512-CJah32PFpIVO3GqfNP1xor7HqagX/4oVXlS76z0OtAVd7KIBzdw/GTt0IZtc195aYaO5d08axz5ymE5O2HjgCg==", + "version": "0.1.413", + "resolved": "https://registry.npmjs.org/@paperbits/common/-/common-0.1.413.tgz", + "integrity": "sha512-5aW7dPN7yb6p8McVPuX1HhzNfhiEeLeB+D0dPp80jdTWVfgsrvrhidaKz9ZRbZlLZnsXH9WxFmv1p1XcFShlaw==", "requires": { "deepmerge": "^4.2.2", "domino": "^2.1.4", @@ -14136,21 +14075,18 @@ "lodash": "^4.17.15", "lunr": "^2.3.8", "moment": "^2.24.0", - "react": "^16.14.0", - "react-dom": "^16.14.0", "reflect-metadata": "^0.1.13", - "vue": "^2.6.11", "xhr2": "^0.2.0" } }, "@paperbits/core": { - "version": "0.1.396", - "resolved": "https://registry.npmjs.org/@paperbits/core/-/core-0.1.396.tgz", - "integrity": "sha512-tPQIlp160Wc0OZok06zffgJqMx49/bbUSIT/Z5B3/IHQPMm9YuQ3LpqROUYC1lJo/SdlkZVJakQ920XkXr4ZTA==", + "version": "0.1.413", + "resolved": "https://registry.npmjs.org/@paperbits/core/-/core-0.1.413.tgz", + "integrity": "sha512-XObYweprRokSbkMXYXNxeM+fY/yrJbqeyZsWq02qKkg01xAhqiRYWe4pFtBi5/T1U1aUE/Txi584gdIgj7VHyg==", "requires": { "@googlemaps/js-api-loader": "^1.11.3", - "@paperbits/common": "0.1.396", - "@paperbits/styles": "0.1.396", + "@paperbits/common": "0.1.413", + "@paperbits/styles": "0.1.413", "await-parallel-limit": "^2.1.0", "basiclightbox": "^5.0.4", "cropperjs": "^1.5.11", @@ -14174,11 +14110,11 @@ } }, "@paperbits/prosemirror": { - "version": "0.1.396", - "resolved": "https://registry.npmjs.org/@paperbits/prosemirror/-/prosemirror-0.1.396.tgz", - "integrity": "sha512-25g56BGch0LVIXE5FyyTuEOtPFmeADDBhhpFPDrbiwL28s6GioP8IzdCZiPzMLneinNRIcXuqweaXd1UP9fihA==", + "version": "0.1.413", + "resolved": "https://registry.npmjs.org/@paperbits/prosemirror/-/prosemirror-0.1.413.tgz", + "integrity": "sha512-XD7FT5fE3f7Rru1j9DdQKdTyH2mikbXJlwPYXY72YTb+NZeXRvyQGL6c4BGdE4i/FyAJhns+wjBYbJaijh5ZJw==", "requires": { - "@paperbits/common": "0.1.396", + "@paperbits/common": "0.1.413", "prosemirror-commands": "^1.1.4", "prosemirror-history": "^1.1.3", "prosemirror-inputrules": "^1.1.2", @@ -14191,11 +14127,11 @@ } }, "@paperbits/styles": { - "version": "0.1.396", - "resolved": "https://registry.npmjs.org/@paperbits/styles/-/styles-0.1.396.tgz", - "integrity": "sha512-JooTYB5VwMpaSKIiQxWqSa5qFtvJ8Fh2w0Vv3/MWeUxLt3C/iWE5olFPD7t+NgHhJ2vONyBnNNDGPBpeRKIP2Q==", + "version": "0.1.413", + "resolved": "https://registry.npmjs.org/@paperbits/styles/-/styles-0.1.413.tgz", + "integrity": "sha512-7Q5asK252/cz0CeaQkR3rU+tqPPrvS+x/sbejEUo5wKkQ2UXW1iH9PynbR0WnsWTB74Oc14CcZy0EDGrlDFXVw==", "requires": { - "@paperbits/common": "0.1.396", + "@paperbits/common": "0.1.413", "@simonwep/pickr": "^1.7.4", "jss": "^10.4.0", "jss-preset-default": "^10.4.0", @@ -16468,9 +16404,9 @@ "dev": true }, "csstype": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.7.tgz", - "integrity": "sha512-KxnUB0ZMlnUWCsx2Z8MUsr6qV6ja1w9ArPErJaJaF8a5SOWoHLIszeCTKGRGRgtLgYrs1E8CHkNSP1VZTTPc9g==" + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/csstype/-/csstype-3.0.8.tgz", + "integrity": "sha512-jXKhWqXPmlUeoQnF/EhTtTl4C9SnrxSH/jZUih3jmO6lBKr99rP3/+FmrMj4EFpOXzMtXHAZkd3x0E6h6Fgflw==" }, "currently-unhandled": { "version": "0.4.1", @@ -19358,7 +19294,8 @@ "js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true }, "js-yaml": { "version": "3.13.1", @@ -19844,14 +19781,6 @@ "resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-2.0.4.tgz", "integrity": "sha512-vM6rUVCVUJJt33bnmHiZEvr7wPT78ztX7rojL+LW51bHtLh6HTjx84LA5W4+oa6aKEJA7jJu5LR6vQRBpA5DVg==" }, - "loose-envify": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", - "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", - "requires": { - "js-tokens": "^3.0.0 || ^4.0.0" - } - }, "loud-rejection": { "version": "1.6.0", "resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz", @@ -20939,7 +20868,8 @@ "object-assign": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=" + "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", + "dev": true }, "object-copy": { "version": "0.1.0", @@ -21634,16 +21564,6 @@ "iterate-value": "^1.0.0" } }, - "prop-types": { - "version": "15.7.2", - "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.7.2.tgz", - "integrity": "sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ==", - "requires": { - "loose-envify": "^1.4.0", - "object-assign": "^4.1.1", - "react-is": "^16.8.1" - } - }, "property-information": { "version": "5.6.0", "resolved": "https://registry.npmjs.org/property-information/-/property-information-5.6.0.tgz", @@ -22054,32 +21974,6 @@ } } }, - "react": { - "version": "16.14.0", - "resolved": "https://registry.npmjs.org/react/-/react-16.14.0.tgz", - "integrity": "sha512-0X2CImDkJGApiAlcf0ODKIneSwBPhqJawOa5wCtKbu7ZECrmS26NvtSILynQ66cgkT/RJ4LidJOc3bUESwmU8g==", - "requires": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1", - "prop-types": "^15.6.2" - } - }, - "react-dom": { - "version": "16.14.0", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.14.0.tgz", - "integrity": "sha512-1gCeQXDLoIqMgqD3IO2Ah9bnf0w9kzhwN5q4FGnHZ67hBm9yePzB5JJAIQCc8x3pFnNlwFq4RidZggNAAkzWWw==", - "requires": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1", - "prop-types": "^15.6.2", - "scheduler": "^0.19.1" - } - }, - "react-is": { - "version": "16.13.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", - "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==" - }, "read-pkg": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", @@ -22540,15 +22434,6 @@ "resolved": "https://registry.npmjs.org/saxen/-/saxen-8.1.2.tgz", "integrity": "sha512-xUOiiFbc3Ow7p8KMxwsGICPx46ZQvy3+qfNVhrkwfz3Vvq45eGt98Ft5IQaA1R/7Tb5B5MKh9fUR9x3c3nDTxw==" }, - "scheduler": { - "version": "0.19.1", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.19.1.tgz", - "integrity": "sha512-n/zwRWRYSUj0/3g/otKDRPMh6qv2SYMWNq85IEa8iZyAv8od9zDYpGSnpBEjNgcMNq6Scbu5KfIPxNF72R/2EA==", - "requires": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1" - } - }, "schema-utils": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-3.0.0.tgz", diff --git a/package.json b/package.json index 2f20935f5..cfa5617cf 100644 --- a/package.json +++ b/package.json @@ -64,10 +64,10 @@ }, "dependencies": { "@paperbits/azure": "0.1.356-hotfix", - "@paperbits/common": "0.1.396", - "@paperbits/core": "0.1.396", - "@paperbits/prosemirror": "0.1.396", - "@paperbits/styles": "0.1.396", + "@paperbits/common": "0.1.413", + "@paperbits/core": "0.1.413", + "@paperbits/prosemirror": "0.1.413", + "@paperbits/styles": "0.1.413", "@webcomponents/custom-elements": "1.4.2", "@webcomponents/shadydom": "^1.7.4", "adal-vanilla": "^1.0.18", diff --git a/scaffolds/widget/widgetHandlers.ts b/scaffolds/widget/widgetHandlers.ts index 0912d7be3..c6dfe3e6d 100644 --- a/scaffolds/widget/widgetHandlers.ts +++ b/scaffolds/widget/widgetHandlers.ts @@ -17,7 +17,7 @@ export class WidgetHandlers implements IWidgetHandler { category: widgetCategory, requires: [], displayName: widgetDisplayName, - iconClass: "paperbits-puzzle-10", + iconClass: "widget-icon widget-icon-component", /** * This method invoked when the widget gets added to the content. diff --git a/src/components/apis/api-products/apiProductsHandlers.ts b/src/components/apis/api-products/apiProductsHandlers.ts index 338f09765..1c1bd22e1 100644 --- a/src/components/apis/api-products/apiProductsHandlers.ts +++ b/src/components/apis/api-products/apiProductsHandlers.ts @@ -6,8 +6,8 @@ export class ApiProductsHandlers implements IWidgetHandler { const widgetOrder: IWidgetOrder = { name: "api-products", category: "APIs", - displayName: "API: products", - iconClass: "paperbits-cheque-3", + displayName: "API: Products", + iconClass: "widget-icon widget-icon-api-management", requires: ["html"], createModel: async () => new ApiProductsModel("list") }; @@ -21,8 +21,8 @@ export class ApiProductsTilesHandlers implements IWidgetHandler { const widgetOrder: IWidgetOrder = { name: "api-products-tiles", category: "APIs", - displayName: "API: products (tiles)", - iconClass: "paperbits-cheque-3", + displayName: "API: Products (tiles)", + iconClass: "widget-icon widget-icon-api-management", requires: ["html"], createModel: async () => new ApiProductsModel("tiles") }; diff --git a/src/components/apis/api-products/ko/apiProductsViewModelBinder.ts b/src/components/apis/api-products/ko/apiProductsViewModelBinder.ts index c2e3cf561..c3b7edd10 100644 --- a/src/components/apis/api-products/ko/apiProductsViewModelBinder.ts +++ b/src/components/apis/api-products/ko/apiProductsViewModelBinder.ts @@ -21,7 +21,7 @@ export class ApiProductsViewModelBinder implements ViewModelBinder new DetailsOfApiModel() }; diff --git a/src/components/apis/details-of-api/ko/detailsOfApiViewModelBinder.ts b/src/components/apis/details-of-api/ko/detailsOfApiViewModelBinder.ts index 3305450de..793651c59 100644 --- a/src/components/apis/details-of-api/ko/detailsOfApiViewModelBinder.ts +++ b/src/components/apis/details-of-api/ko/detailsOfApiViewModelBinder.ts @@ -21,7 +21,7 @@ export class DetailsOfApiViewModelBinder implements ViewModelBinder new HistoryOfApiModel() }; diff --git a/src/components/apis/history-of-api/ko/historyOfApiViewModelBinder.ts b/src/components/apis/history-of-api/ko/historyOfApiViewModelBinder.ts index 0d3b6fa54..47a79e847 100644 --- a/src/components/apis/history-of-api/ko/historyOfApiViewModelBinder.ts +++ b/src/components/apis/history-of-api/ko/historyOfApiViewModelBinder.ts @@ -21,7 +21,7 @@ export class HistoryOfApiViewModelBinder implements ViewModelBinder new ListOfApisModel("list") }; @@ -21,7 +21,7 @@ export class ListOfApisTilesHandlers implements IWidgetHandler { name: "listOfApisTiles", category: "APIs", displayName: "List of APIs (tiles)", - iconClass: "paperbits-cheque-3", + iconClass: "widget-icon widget-icon-api-management", requires: ["html"], createModel: async () => new ListOfApisModel("tiles") }; @@ -35,7 +35,7 @@ export class ListOfApisDropdownHandlers implements IWidgetHandler { name: "listOfApisDropdown", category: "APIs", displayName: "List of APIs (dropdown)", - iconClass: "paperbits-cheque-3", + iconClass: "widget-icon widget-icon-api-management", requires: ["html"], createModel: async () => new ListOfApisModel("dropdown") }; diff --git a/src/components/operations/operation-details/ko/operationDetailsViewModelBinder.ts b/src/components/operations/operation-details/ko/operationDetailsViewModelBinder.ts index 68fc3e32e..5284b724d 100644 --- a/src/components/operations/operation-details/ko/operationDetailsViewModelBinder.ts +++ b/src/components/operations/operation-details/ko/operationDetailsViewModelBinder.ts @@ -13,7 +13,7 @@ export class OperationDetailsViewModelBinder implements ViewModelBinder new OperationDetailsModel() }; diff --git a/src/components/operations/operation-list/operationListHandlers.ts b/src/components/operations/operation-list/operationListHandlers.ts index 7a09909e3..d800d4d78 100644 --- a/src/components/operations/operation-list/operationListHandlers.ts +++ b/src/components/operations/operation-list/operationListHandlers.ts @@ -7,7 +7,7 @@ export class OperationListHandlers implements IWidgetHandler { name: "operationList", category: "Operations", displayName: "List of operations", - iconClass: "paperbits-cheque-3", + iconClass: "widget-icon widget-icon-api-management", requires: ["html"], createModel: async () => new OperationListModel() }; diff --git a/src/components/products/product-apis/productApisHandlers.ts b/src/components/products/product-apis/productApisHandlers.ts index 19e3b0730..9a93c9704 100644 --- a/src/components/products/product-apis/productApisHandlers.ts +++ b/src/components/products/product-apis/productApisHandlers.ts @@ -7,7 +7,7 @@ export class ProductApisHandlers implements IWidgetHandler { name: "product-apis", category: "Products", displayName: "Product: APIs", - iconClass: "paperbits-cheque-3", + iconClass: "widget-icon widget-icon-api-management", requires: ["html"], createModel: async () => new ProductApisModel("list") }; @@ -22,7 +22,7 @@ export class ProductApisTilesHandlers implements IWidgetHandler { name: "product-apis-tiles", category: "Products", displayName: "Product: APIs (tiles)", - iconClass: "paperbits-cheque-3", + iconClass: "widget-icon widget-icon-api-management", requires: ["html"], createModel: async () => new ProductApisModel("tiles") }; diff --git a/src/components/products/product-details/ko/productDetailsViewModelBinder.ts b/src/components/products/product-details/ko/productDetailsViewModelBinder.ts index c96c2240f..a822b3d0a 100644 --- a/src/components/products/product-details/ko/productDetailsViewModelBinder.ts +++ b/src/components/products/product-details/ko/productDetailsViewModelBinder.ts @@ -10,7 +10,7 @@ export class ProductDetailsViewModelBinder implements ViewModelBinder new ProductDetailsModel() }; diff --git a/src/components/products/product-list/productListHandlers.ts b/src/components/products/product-list/productListHandlers.ts index 52c927b35..c0f27a965 100644 --- a/src/components/products/product-list/productListHandlers.ts +++ b/src/components/products/product-list/productListHandlers.ts @@ -7,7 +7,7 @@ export class ProductListHandlers implements IWidgetHandler { name: "productList", category: "Products", displayName: "List of products", - iconClass: "paperbits-cheque-3", + iconClass: "widget-icon widget-icon-api-management", requires: ["html"], createModel: async () => new ProductListModel("list") }; @@ -22,7 +22,7 @@ export class ProductListDropdownHandlers implements IWidgetHandler { name: "productListDropdown", category: "Products", displayName: "List of products (dropdown)", - iconClass: "paperbits-cheque-3", + iconClass: "widget-icon widget-icon-api-management", requires: ["html"], createModel: async () => new ProductListModel("dropdown") }; @@ -37,7 +37,7 @@ export class ProductListTilesHandlers implements IWidgetHandler { name: "productListTiles", category: "Products", displayName: "List of products (tiles)", - iconClass: "paperbits-cheque-3", + iconClass: "widget-icon widget-icon-api-management", requires: ["html"], createModel: async () => new ProductListModel("tiles") }; diff --git a/src/components/products/product-subscribe/ko/productSubscribeViewModelBinder.ts b/src/components/products/product-subscribe/ko/productSubscribeViewModelBinder.ts index d63d3cf87..63bf606a8 100644 --- a/src/components/products/product-subscribe/ko/productSubscribeViewModelBinder.ts +++ b/src/components/products/product-subscribe/ko/productSubscribeViewModelBinder.ts @@ -10,7 +10,7 @@ export class ProductSubscribeViewModelBinder implements ViewModelBinder { diff --git a/src/components/products/product-subscribe/productSubscribeHandlers.ts b/src/components/products/product-subscribe/productSubscribeHandlers.ts index 976765ce7..e38c6092b 100644 --- a/src/components/products/product-subscribe/productSubscribeHandlers.ts +++ b/src/components/products/product-subscribe/productSubscribeHandlers.ts @@ -6,8 +6,8 @@ export class ProductSubscribeHandlers implements IWidgetHandler { const widgetOrder: IWidgetOrder = { name: "productSubscribe", category: "Products", - displayName: "Product: subscribe form", - iconClass: "paperbits-cheque-3", + displayName: "Product: Subscribe form", + iconClass: "widget-icon widget-icon-api-management", requires: ["html"], createModel: async () => new ProductSubscribeModel() }; diff --git a/src/components/products/product-subscriptions/ko/productSubscriptionsViewModelBinder.ts b/src/components/products/product-subscriptions/ko/productSubscriptionsViewModelBinder.ts index 5ca0f4542..ce76a5cd7 100644 --- a/src/components/products/product-subscriptions/ko/productSubscriptionsViewModelBinder.ts +++ b/src/components/products/product-subscriptions/ko/productSubscriptionsViewModelBinder.ts @@ -9,7 +9,7 @@ export class ProductSubscriptionsViewModelBinder implements ViewModelBinder new ProductSubscriptionsModel() }; diff --git a/src/components/reports/reportsHandlers.ts b/src/components/reports/reportsHandlers.ts index 4ed807aae..86ec88be8 100644 --- a/src/components/reports/reportsHandlers.ts +++ b/src/components/reports/reportsHandlers.ts @@ -7,7 +7,7 @@ export class ReportsHandlers implements IWidgetHandler { name: "reports", category: "Analytics", displayName: "Reports", - iconClass: "paperbits-cheque-3", + iconClass: "widget-icon widget-icon-api-management", requires: ["html"], createModel: async () => new ReportsModel() }; diff --git a/src/components/users/change-password/changePasswordHandlers.ts b/src/components/users/change-password/changePasswordHandlers.ts index 7411695eb..615d825f3 100644 --- a/src/components/users/change-password/changePasswordHandlers.ts +++ b/src/components/users/change-password/changePasswordHandlers.ts @@ -6,8 +6,8 @@ export class ChangePasswordHandlers implements IWidgetHandler { const widgetOrder: IWidgetOrder = { name: "change-password", category: "User", - displayName: "Password: change form", - iconClass: "paperbits-cheque-3", + displayName: "Password: Change form", + iconClass: "widget-icon widget-icon-api-management", requires: ["html"], createModel: async () => new ChangePasswordModel() }; diff --git a/src/components/users/change-password/ko/changePasswordViewModelBinder.ts b/src/components/users/change-password/ko/changePasswordViewModelBinder.ts index bbb45b94f..824164423 100644 --- a/src/components/users/change-password/ko/changePasswordViewModelBinder.ts +++ b/src/components/users/change-password/ko/changePasswordViewModelBinder.ts @@ -12,7 +12,7 @@ export class ChangePasswordViewModelBinder implements ViewModelBinder new ConfirmPasswordModel() }; diff --git a/src/components/users/confirm-password/ko/confirmPasswordViewModelBinder.ts b/src/components/users/confirm-password/ko/confirmPasswordViewModelBinder.ts index 53cd779b8..251cbcda6 100644 --- a/src/components/users/confirm-password/ko/confirmPasswordViewModelBinder.ts +++ b/src/components/users/confirm-password/ko/confirmPasswordViewModelBinder.ts @@ -13,7 +13,7 @@ export class ConfirmPassworViewModelBinder implements ViewModelBinder new ProfileModel() }; diff --git a/src/components/users/reset-password/ko/resetPasswordViewModelBinder.ts b/src/components/users/reset-password/ko/resetPasswordViewModelBinder.ts index 420422c0e..65fad9a0b 100644 --- a/src/components/users/reset-password/ko/resetPasswordViewModelBinder.ts +++ b/src/components/users/reset-password/ko/resetPasswordViewModelBinder.ts @@ -12,7 +12,7 @@ export class ResetPasswordViewModelBinder implements ViewModelBinder new ResetPasswordModel() }; diff --git a/src/components/users/signin-social/ko/signinSocialViewModelBinder.ts b/src/components/users/signin-social/ko/signinSocialViewModelBinder.ts index 53bc9d9dd..9db948057 100644 --- a/src/components/users/signin-social/ko/signinSocialViewModelBinder.ts +++ b/src/components/users/signin-social/ko/signinSocialViewModelBinder.ts @@ -24,7 +24,7 @@ export class SigninSocialViewModelBinder implements ViewModelBinder { this.modelToViewModel(model, viewModel, bindingContext); this.eventManager.dispatchEvent("onContentUpdate"); diff --git a/src/components/users/signin-social/signinSocialHandlers.ts b/src/components/users/signin-social/signinSocialHandlers.ts index 1033d3a23..20410ddd7 100644 --- a/src/components/users/signin-social/signinSocialHandlers.ts +++ b/src/components/users/signin-social/signinSocialHandlers.ts @@ -8,7 +8,7 @@ export class SigninSocialHandlers implements IWidgetHandler { name: "signinSocial", category: "User", displayName: "Sign-in button: OAuth", - iconClass: "paperbits-cheque-3", + iconClass: "widget-icon widget-icon-api-management", requires: ["html"], createModel: async () => { const model = new SigninSocialModel(); diff --git a/src/components/users/signin/ko/signinViewModelBinder.ts b/src/components/users/signin/ko/signinViewModelBinder.ts index afd230e90..eb657b258 100644 --- a/src/components/users/signin/ko/signinViewModelBinder.ts +++ b/src/components/users/signin/ko/signinViewModelBinder.ts @@ -19,7 +19,7 @@ export class SigninViewModelBinder implements ViewModelBinder new SigninModel() }; diff --git a/src/components/users/signup-social/signupSocialHandlers.ts b/src/components/users/signup-social/signupSocialHandlers.ts index 6cf144cb6..8be08363d 100644 --- a/src/components/users/signup-social/signupSocialHandlers.ts +++ b/src/components/users/signup-social/signupSocialHandlers.ts @@ -7,7 +7,7 @@ export class SignupSocialHandlers implements IWidgetHandler { name: "signup", category: "User", displayName: "Sign-up form: OAuth", - iconClass: "paperbits-cheque-3", + iconClass: "widget-icon widget-icon-api-management", requires: ["html"], createModel: async () => new SignupSocialModel() }; diff --git a/src/components/users/signup/ko/signupViewModelBinder.ts b/src/components/users/signup/ko/signupViewModelBinder.ts index b67ecb6f1..875c1a4f1 100644 --- a/src/components/users/signup/ko/signupViewModelBinder.ts +++ b/src/components/users/signup/ko/signupViewModelBinder.ts @@ -26,7 +26,7 @@ export class SignupViewModelBinder implements ViewModelBinder new SignupModel() }; diff --git a/src/components/users/subscriptions/subscriptionsHandlers.ts b/src/components/users/subscriptions/subscriptionsHandlers.ts index b06c3dfe5..b85054c1a 100644 --- a/src/components/users/subscriptions/subscriptionsHandlers.ts +++ b/src/components/users/subscriptions/subscriptionsHandlers.ts @@ -7,7 +7,7 @@ export class SubscriptionsHandlers implements IWidgetHandler { name: "userSubscriptions", category: "User", displayName: "User: Subscriptions", - iconClass: "paperbits-cheque-3", + iconClass: "widget-icon widget-icon-api-management", requires: ["html"], createModel: async () => new SubscriptionsModel() }; diff --git a/src/components/users/validation-summary/validationSummaryHandlers.ts b/src/components/users/validation-summary/validationSummaryHandlers.ts index c0fdcc8d9..dceec8176 100644 --- a/src/components/users/validation-summary/validationSummaryHandlers.ts +++ b/src/components/users/validation-summary/validationSummaryHandlers.ts @@ -7,7 +7,7 @@ export class ValidationSummaryHandlers implements IWidgetHandler { name: "validation-summary", category: "User", displayName: "Validation summary", - iconClass: "paperbits-cheque-3", + iconClass: "widget-icon widget-icon-api-management", requires: ["html"], createModel: async () => new ValidationSummaryModel() }; diff --git a/src/themes/designer/styles/buttons.scss b/src/themes/designer/styles/buttons.scss index 7e273f5ca..3ef803885 100644 --- a/src/themes/designer/styles/buttons.scss +++ b/src/themes/designer/styles/buttons.scss @@ -64,7 +64,7 @@ .btn-group { .btn-default { margin-top: 15px; - margin-right: 15px; + margin-right: 5px; } } @@ -81,8 +81,10 @@ @extend .paperbits-icon; @extend .paperbits-alert-circle-i; - &:focus { - @include selection(5px); + &:active, + &:focus, + &:hover { + @include selection(7px, -5px); outline: none; } } diff --git a/src/themes/designer/styles/forms.scss b/src/themes/designer/styles/forms.scss index 7f7a0ca4f..eb3d8d769 100644 --- a/src/themes/designer/styles/forms.scss +++ b/src/themes/designer/styles/forms.scss @@ -7,7 +7,8 @@ padding: 0; border: none; - &.ps { // perfect-scrollbar + &.ps { + // perfect-scrollbar padding-right: 15px; } } @@ -178,6 +179,18 @@ textarea { cursor: pointer; display: inline-block; line-height: 2em; + font-size: $form-control-font-size; + + &:active, + &:focus, + &:hover { + outline: none; + @include selection(10px, -4px); + } + + &.disabled { + color: #ccc; + } } .input-group-addon { @@ -204,4 +217,4 @@ hr { max-height: 450px; min-width: 150px; min-height: 150px; -} \ No newline at end of file +} diff --git a/src/themes/designer/styles/icons.scss b/src/themes/designer/styles/icons.scss index 955771139..fc9d6c1f4 100644 --- a/src/themes/designer/styles/icons.scss +++ b/src/themes/designer/styles/icons.scss @@ -142,493 +142,628 @@ icons -------------------------*/ @function unicode($str) { - @return unquote("\"\\#{$str}\""); - } - - $paperbits-layout-11: unicode(ea03); - $paperbits-action-74: unicode(ea08); - $paperbits-align-center: unicode(ea09); - $paperbits-align-justify: unicode(ea0a); - $paperbits-align-left-2: unicode(ea0b); - $paperbits-align-right-2: unicode(ea0c); - $paperbits-size: unicode(ea0d); - $paperbits-edit-2: unicode(ea0e); - $paperbits-code: unicode(ea0f); - $paperbits-list-bullet: unicode(ea10); - $paperbits-list-numbers: unicode(ea11); - $paperbits-bold: unicode(ea12); - $paperbits-audio-91: unicode(ea13); - $paperbits-subscript: unicode(ea15); - $paperbits-superscript: unicode(ea16); - $paperbits-alert-circle-i: unicode(ea17); - $paperbits-chat-45-2: unicode(ea18); - $paperbits-drop: unicode(ea1a); - $paperbits-m-location: unicode(ea1d); - $paperbits-mobile: unicode(ea1f); - $paperbits-desktop-screen: unicode(ea20); - $paperbits-mobile-landscape: unicode(ea22); - $paperbits-player-48: unicode(ea23); - $paperbits-tablet-2: unicode(ea24); - $paperbits-wifi-off: unicode(ea25); - $paperbits-wifi: unicode(ea26); - $paperbits-ban: unicode(ea27); - $paperbits-single-content-03: unicode(ea28); - $paperbits-single-copy-04: unicode(ea29); - $paperbits-mirror-2: unicode(ea2b); - $paperbits-slider: unicode(ea2c); - $paperbits-puzzle-10: unicode(ea30); - $paperbits-image-2: unicode(ea31); - $paperbits-paint-bucket-40: unicode(ea32); - $paperbits-palette: unicode(ea33); - $paperbits-menu-34: unicode(ea36); - $paperbits-check-2: unicode(ea38); - $paperbits-preferences-circle: unicode(ea39); - $paperbits-underline: unicode(ea3a); - $paperbits-link-69-2: unicode(ea3d); - $paperbits-capitalize: unicode(ea3e); - $paperbits-color: unicode(ea3f); - $paperbits-anchor: unicode(ea40); - $paperbits-italic: unicode(ea41); - $paperbits-square-upload: unicode(ea42); - $paperbits-square-download: unicode(ea43); - $paperbits-simple-add: unicode(ea44); - $paperbits-simple-remove: unicode(ea45); - $paperbits-circle-delete: unicode(ea47); - $paperbits-circle-add: unicode(ea48); - $paperbits-button-2: unicode(ea49); - $paperbits-enlarge-circle: unicode(ea4a); - $paperbits-align-bottom: unicode(ea4c); - $paperbits-align-right: unicode(ea4d); - $paperbits-align-top: unicode(ea4e); - $paperbits-align-center-horizontal: unicode(ea4f); - $paperbits-align-center-vertical: unicode(ea50); - $paperbits-align-left: unicode(ea51); - $paperbits-disperse: unicode(ea52); - $paperbits-zoom-out: unicode(ea53); - $paperbits-zoom-in: unicode(ea54); - $paperbits-trash-simple: unicode(ea55); - $paperbits-edit-72: unicode(ea56); - $paperbits-form: unicode(ea57); - $paperbits-zoom-99: unicode(ea58); - $paperbits-crop: unicode(ea59); - $paperbits-enlarge-vertical: unicode(ea5a); - $paperbits-enlarge-horizontal: unicode(ea5b); - $paperbits-rotate-right-2: unicode(ea5c); - $paperbits-rotate-left-2: unicode(ea5d); - $paperbits-margin-right: unicode(ea5e); - $paperbits-margin-left: unicode(ea5f); - $paperbits-alert: unicode(ea60); - $paperbits-cheque-3: unicode(ea61); - $paperbits-favourite-31: unicode(ea62); - $paperbits-at-sign: unicode(ea63); - $paperbits-gradient: unicode(ea64); - $paperbits-polaroid: unicode(ea65); - $paperbits-marker-2: unicode(ea67); - $paperbits-undo-25: unicode(ea68); - $paperbits-redo-26: unicode(ea69); - $paperbits-floppy-disk: unicode(ea6a); - $paperbits-upload: unicode(ea6b); - $paperbits-world: unicode(ea6e); - $paperbits-wireframe: unicode(ea6f); - $paperbits-send: unicode(ea70); - $paperbits-c-question: unicode(ea71); - $paperbits-layout-11-2: unicode(ea73); - $paperbits-clapperboard: unicode(ea75); - $paperbits-single-02: unicode(ea76); - $paperbits-lightning: unicode(ea77); - $paperbits-l-search: unicode(ea78); - $paperbits-small-down: unicode(ea79); - $paperbits-small-up: unicode(ea7a); - $paperbits-menu-4: unicode(ea7b); - $paperbits-tablet-2-2: unicode(ea7c); - $paperbits-strikethrough: unicode(ea7d); - - .paperbits-layout-11::before { + @return unquote('"\\#{$str}"'); +} + +$paperbits-layout-11: unicode(ea03); +$paperbits-action-74: unicode(ea08); +$paperbits-align-center: unicode(ea09); +$paperbits-align-justify: unicode(ea0a); +$paperbits-align-left-2: unicode(ea0b); +$paperbits-align-right-2: unicode(ea0c); +$paperbits-size: unicode(ea0d); +$paperbits-edit-2: unicode(ea0e); +$paperbits-code: unicode(ea0f); +$paperbits-list-bullet: unicode(ea10); +$paperbits-list-numbers: unicode(ea11); +$paperbits-bold: unicode(ea12); +$paperbits-audio-91: unicode(ea13); +$paperbits-subscript: unicode(ea15); +$paperbits-superscript: unicode(ea16); +$paperbits-alert-circle-i: unicode(ea17); +$paperbits-chat-45-2: unicode(ea18); +$paperbits-drop: unicode(ea1a); +$paperbits-m-location: unicode(ea1d); +$paperbits-mobile: unicode(ea1f); +$paperbits-desktop-screen: unicode(ea20); +$paperbits-mobile-landscape: unicode(ea22); +$paperbits-player-48: unicode(ea23); +$paperbits-tablet-2: unicode(ea24); +$paperbits-wifi-off: unicode(ea25); +$paperbits-wifi: unicode(ea26); +$paperbits-ban: unicode(ea27); +$paperbits-single-content-03: unicode(ea28); +$paperbits-single-copy-04: unicode(ea29); +$paperbits-mirror-2: unicode(ea2b); +$paperbits-slider: unicode(ea2c); +$paperbits-puzzle-10: unicode(ea30); +$paperbits-image-2: unicode(ea31); +$paperbits-paint-bucket-40: unicode(ea32); +$paperbits-palette: unicode(ea33); +$paperbits-menu-34: unicode(ea36); +$paperbits-check-2: unicode(ea38); +$paperbits-preferences-circle: unicode(ea39); +$paperbits-underline: unicode(ea3a); +$paperbits-link-69-2: unicode(ea3d); +$paperbits-capitalize: unicode(ea3e); +$paperbits-color: unicode(ea3f); +$paperbits-anchor: unicode(ea40); +$paperbits-italic: unicode(ea41); +$paperbits-square-upload: unicode(ea42); +$paperbits-square-download: unicode(ea43); +$paperbits-simple-add: unicode(ea44); +$paperbits-simple-remove: unicode(ea45); +$paperbits-circle-delete: unicode(ea47); +$paperbits-circle-add: unicode(ea48); +$paperbits-button-2: unicode(ea49); +$paperbits-enlarge-circle: unicode(ea4a); +$paperbits-align-bottom: unicode(ea4c); +$paperbits-align-right: unicode(ea4d); +$paperbits-align-top: unicode(ea4e); +$paperbits-align-center-horizontal: unicode(ea4f); +$paperbits-align-center-vertical: unicode(ea50); +$paperbits-align-left: unicode(ea51); +$paperbits-disperse: unicode(ea52); +$paperbits-zoom-out: unicode(ea53); +$paperbits-zoom-in: unicode(ea54); +$paperbits-trash-simple: unicode(ea55); +$paperbits-edit-72: unicode(ea56); +$paperbits-form: unicode(ea57); +$paperbits-zoom-99: unicode(ea58); +$paperbits-crop: unicode(ea59); +$paperbits-enlarge-vertical: unicode(ea5a); +$paperbits-enlarge-horizontal: unicode(ea5b); +$paperbits-rotate-right-2: unicode(ea5c); +$paperbits-rotate-left-2: unicode(ea5d); +$paperbits-margin-right: unicode(ea5e); +$paperbits-margin-left: unicode(ea5f); +$paperbits-alert: unicode(ea60); +$paperbits-cheque-3: unicode(ea61); +$paperbits-favourite-31: unicode(ea62); +$paperbits-at-sign: unicode(ea63); +$paperbits-gradient: unicode(ea64); +$paperbits-polaroid: unicode(ea65); +$paperbits-marker-2: unicode(ea67); +$paperbits-undo-25: unicode(ea68); +$paperbits-redo-26: unicode(ea69); +$paperbits-floppy-disk: unicode(ea6a); +$paperbits-upload: unicode(ea6b); +$paperbits-world: unicode(ea6e); +$paperbits-wireframe: unicode(ea6f); +$paperbits-send: unicode(ea70); +$paperbits-c-question: unicode(ea71); +$paperbits-layout-11-2: unicode(ea73); +$paperbits-clapperboard: unicode(ea75); +$paperbits-single-02: unicode(ea76); +$paperbits-lightning: unicode(ea77); +$paperbits-l-search: unicode(ea78); +$paperbits-small-down: unicode(ea79); +$paperbits-small-up: unicode(ea7a); +$paperbits-menu-4: unicode(ea7b); +$paperbits-tablet-2-2: unicode(ea7c); +$paperbits-strikethrough: unicode(ea7d); + +.paperbits-layout-11::before { content: $paperbits-layout-11; - } - - .paperbits-action-74::before { +} + +.paperbits-action-74::before { content: $paperbits-action-74; - } - - .paperbits-align-center::before { +} + +.paperbits-align-center::before { content: $paperbits-align-center; - } - - .paperbits-align-justify::before { +} + +.paperbits-align-justify::before { content: $paperbits-align-justify; - } - - .paperbits-align-left-2::before { +} + +.paperbits-align-left-2::before { content: $paperbits-align-left-2; - } - - .paperbits-align-right-2::before { +} + +.paperbits-align-right-2::before { content: $paperbits-align-right-2; - } - - .paperbits-size::before { +} + +.paperbits-size::before { content: $paperbits-size; - } - - .paperbits-edit-2::before { +} + +.paperbits-edit-2::before { content: $paperbits-edit-2; - } - - .paperbits-code::before { +} + +.paperbits-code::before { content: $paperbits-code; - } - - .paperbits-list-bullet::before { +} + +.paperbits-list-bullet::before { content: $paperbits-list-bullet; - } - - .paperbits-list-numbers::before { +} + +.paperbits-list-numbers::before { content: $paperbits-list-numbers; - } - - .paperbits-bold::before { +} + +.paperbits-bold::before { content: $paperbits-bold; - } - - .paperbits-audio-91::before { +} + +.paperbits-audio-91::before { content: $paperbits-audio-91; - } - - .paperbits-subscript::before { +} + +.paperbits-subscript::before { content: $paperbits-subscript; - } - - .paperbits-superscript::before { +} + +.paperbits-superscript::before { content: $paperbits-superscript; - } - - .paperbits-alert-circle-i::before { +} + +.paperbits-alert-circle-i::before { content: $paperbits-alert-circle-i; - } - - .paperbits-chat-45-2::before { +} + +.paperbits-chat-45-2::before { content: $paperbits-chat-45-2; - } - - .paperbits-drop::before { +} + +.paperbits-drop::before { content: $paperbits-drop; - } - - .paperbits-m-location::before { +} + +.paperbits-m-location::before { content: $paperbits-m-location; - } - - .paperbits-mobile::before { +} + +.paperbits-mobile::before { content: $paperbits-mobile; - } - - .paperbits-desktop-screen::before { +} + +.paperbits-desktop-screen::before { content: $paperbits-desktop-screen; - } - - .paperbits-mobile-landscape::before { +} + +.paperbits-mobile-landscape::before { content: $paperbits-mobile-landscape; - } - - .paperbits-player-48::before { +} + +.paperbits-player-48::before { content: $paperbits-player-48; - } - - .paperbits-tablet-2::before { +} + +.paperbits-tablet-2::before { content: $paperbits-tablet-2; - } - - .paperbits-wifi-off::before { +} + +.paperbits-wifi-off::before { content: $paperbits-wifi-off; - } - - .paperbits-wifi::before { +} + +.paperbits-wifi::before { content: $paperbits-wifi; - } - - .paperbits-ban::before { +} + +.paperbits-ban::before { content: $paperbits-ban; - } - - .paperbits-single-content-03::before { +} + +.paperbits-single-content-03::before { content: $paperbits-single-content-03; - } - - .paperbits-single-copy-04::before { +} + +.paperbits-single-copy-04::before { content: $paperbits-single-copy-04; - } - - .paperbits-mirror-2::before { +} + +.paperbits-mirror-2::before { content: $paperbits-mirror-2; - } - - .paperbits-slider::before { +} + +.paperbits-slider::before { content: $paperbits-slider; - } - - .paperbits-puzzle-10::before { +} + +.paperbits-puzzle-10::before { content: $paperbits-puzzle-10; - } - - .paperbits-image-2::before { +} + +.paperbits-image-2::before { content: $paperbits-image-2; - } - - .paperbits-paint-bucket-40::before { +} + +.paperbits-paint-bucket-40::before { content: $paperbits-paint-bucket-40; - } - - .paperbits-palette::before { +} + +.paperbits-palette::before { content: $paperbits-palette; - } - - .paperbits-menu-34::before { +} + +.paperbits-menu-34::before { content: $paperbits-menu-34; - } - - .paperbits-check-2::before { +} + +.paperbits-check-2::before { content: $paperbits-check-2; - } - - .paperbits-preferences-circle::before { +} + +.paperbits-preferences-circle::before { content: $paperbits-preferences-circle; - } - - .paperbits-underline::before { +} + +.paperbits-underline::before { content: $paperbits-underline; - } - - .paperbits-link-69-2::before { +} + +.paperbits-link-69-2::before { content: $paperbits-link-69-2; - } - - .paperbits-capitalize::before { +} + +.paperbits-capitalize::before { content: $paperbits-capitalize; - } - - .paperbits-color::before { +} + +.paperbits-color::before { content: $paperbits-color; - } - - .paperbits-anchor::before { +} + +.paperbits-anchor::before { content: $paperbits-anchor; - } - - .paperbits-italic::before { +} + +.paperbits-italic::before { content: $paperbits-italic; - } - - .paperbits-square-upload::before { +} + +.paperbits-square-upload::before { content: $paperbits-square-upload; - } - - .paperbits-square-download::before { +} + +.paperbits-square-download::before { content: $paperbits-square-download; - } - - .paperbits-simple-add::before { +} + +.paperbits-simple-add::before { content: $paperbits-simple-add; - } - - .paperbits-simple-remove::before { +} + +.paperbits-simple-remove::before { content: $paperbits-simple-remove; - } - - .paperbits-circle-delete::before { +} + +.paperbits-circle-delete::before { content: $paperbits-circle-delete; - } - - .paperbits-circle-add::before { +} + +.paperbits-circle-add::before { content: $paperbits-circle-add; - } - - .paperbits-button-2::before { +} + +.paperbits-button-2::before { content: $paperbits-button-2; - } - - .paperbits-enlarge-circle::before { +} + +.paperbits-enlarge-circle::before { content: $paperbits-enlarge-circle; - } - - .paperbits-align-bottom::before { +} + +.paperbits-align-bottom::before { content: $paperbits-align-bottom; - } - - .paperbits-align-right::before { +} + +.paperbits-align-right::before { content: $paperbits-align-right; - } - - .paperbits-align-top::before { +} + +.paperbits-align-top::before { content: $paperbits-align-top; - } - - .paperbits-align-center-horizontal::before { +} + +.paperbits-align-center-horizontal::before { content: $paperbits-align-center-horizontal; - } - - .paperbits-align-center-vertical::before { +} + +.paperbits-align-center-vertical::before { content: $paperbits-align-center-vertical; - } - - .paperbits-align-left::before { +} + +.paperbits-align-left::before { content: $paperbits-align-left; - } - - .paperbits-disperse::before { +} + +.paperbits-disperse::before { content: $paperbits-disperse; - } - - .paperbits-zoom-out::before { +} + +.paperbits-zoom-out::before { content: $paperbits-zoom-out; - } - - .paperbits-zoom-in::before { +} + +.paperbits-zoom-in::before { content: $paperbits-zoom-in; - } - - .paperbits-trash-simple::before { +} + +.paperbits-trash-simple::before { content: $paperbits-trash-simple; - } - - .paperbits-edit-72::before { +} + +.paperbits-edit-72::before { content: $paperbits-edit-72; - } - - .paperbits-form::before { +} + +.paperbits-form::before { content: $paperbits-form; - } - - .paperbits-zoom-99::before { +} + +.paperbits-zoom-99::before { content: $paperbits-zoom-99; - } - - .paperbits-crop::before { +} + +.paperbits-crop::before { content: $paperbits-crop; - } - - .paperbits-enlarge-vertical::before { +} + +.paperbits-enlarge-vertical::before { content: $paperbits-enlarge-vertical; - } - - .paperbits-enlarge-horizontal::before { +} + +.paperbits-enlarge-horizontal::before { content: $paperbits-enlarge-horizontal; - } - - .paperbits-rotate-right-2::before { +} + +.paperbits-rotate-right-2::before { content: $paperbits-rotate-right-2; - } - - .paperbits-rotate-left-2::before { +} + +.paperbits-rotate-left-2::before { content: $paperbits-rotate-left-2; - } - - .paperbits-margin-right::before { +} + +.paperbits-margin-right::before { content: $paperbits-margin-right; - } - - .paperbits-margin-left::before { +} + +.paperbits-margin-left::before { content: $paperbits-margin-left; - } - - .paperbits-alert::before { +} + +.paperbits-alert::before { content: $paperbits-alert; - } - - .paperbits-cheque-3::before { +} + +.paperbits-cheque-3::before { content: $paperbits-cheque-3; - } - - .paperbits-favourite-31::before { +} + +.paperbits-favourite-31::before { content: $paperbits-favourite-31; - } - - .paperbits-at-sign::before { +} + +.paperbits-at-sign::before { content: $paperbits-at-sign; - } - - .paperbits-gradient::before { +} + +.paperbits-gradient::before { content: $paperbits-gradient; - } - - .paperbits-polaroid::before { +} + +.paperbits-polaroid::before { content: $paperbits-polaroid; - } - - .paperbits-marker-2::before { +} + +.paperbits-marker-2::before { content: $paperbits-marker-2; - } - - .paperbits-undo-25::before { +} + +.paperbits-undo-25::before { content: $paperbits-undo-25; - } - - .paperbits-redo-26::before { +} + +.paperbits-redo-26::before { content: $paperbits-redo-26; - } - - .paperbits-floppy-disk::before { +} + +.paperbits-floppy-disk::before { content: $paperbits-floppy-disk; - } - - .paperbits-upload::before { +} + +.paperbits-upload::before { content: $paperbits-upload; - } - - .paperbits-world::before { +} + +.paperbits-world::before { content: $paperbits-world; - } - - .paperbits-wireframe::before { +} + +.paperbits-wireframe::before { content: $paperbits-wireframe; - } - - .paperbits-send::before { +} + +.paperbits-send::before { content: $paperbits-send; - } - - .paperbits-c-question::before { +} + +.paperbits-c-question::before { content: $paperbits-c-question; - } - - .paperbits-layout-11-2::before { +} + +.paperbits-layout-11-2::before { content: $paperbits-layout-11-2; - } - - .paperbits-clapperboard::before { +} + +.paperbits-clapperboard::before { content: $paperbits-clapperboard; - } - - .paperbits-single-02::before { +} + +.paperbits-single-02::before { content: $paperbits-single-02; - } - - .paperbits-lightning::before { +} + +.paperbits-lightning::before { content: $paperbits-lightning; - } - - .paperbits-l-search::before { +} + +.paperbits-l-search::before { content: $paperbits-l-search; - } - - .paperbits-small-down::before { +} + +.paperbits-small-down::before { content: $paperbits-small-down; - } - - .paperbits-small-up::before { +} + +.paperbits-small-up::before { content: $paperbits-small-up; - } - - .paperbits-menu-4::before { +} + +.paperbits-menu-4::before { content: $paperbits-menu-4; - } - - .paperbits-tablet-2-2::before { +} + +.paperbits-tablet-2-2::before { content: $paperbits-tablet-2-2; - } - - .paperbits-strikethrough::before { +} + +.paperbits-strikethrough::before { content: $paperbits-strikethrough; - } - - \ No newline at end of file +} + +.widget-icon { + width: 34px; + height: 21px; + background-repeat: no-repeat; + background-position: center; + display: inline-block; + margin-bottom: 7px; +} + +.widget-icon-accordion { + background-image: url("./icons/icon-accordion.svg"); +} + +.widget-icon-button { + background-image: url("./icons/icon-button.svg"); +} + +.widget-icon-card { + background-image: url("./icons/icon-card.svg"); +} + +.widget-icon-carousel { + background-image: url("./icons/icon-carousel.svg"); +} + +.widget-icon-checkbox { + background-image: url("./icons/icon-checkbox.svg"); +} + +.widget-icon-collapsible-panel { + background-image: url("./icons/icon-collapsible-panel.svg"); +} + +.widget-icon-component { + background-image: url("./icons/icon-component.svg"); +} + +.widget-icon-date-input { + background-image: url("./icons/icon-date-input.svg"); +} + +.widget-icon-email-input { + background-image: url("./icons/icon-email-input.svg"); +} + +.widget-icon-form { + background-image: url("./icons/icon-form.svg"); +} + +.widget-icon-map { + background-image: url("./icons/icon-map.svg"); +} + +.widget-icon-menu { + background-image: url("./icons/icon-menu.svg"); +} + +.widget-icon-multi-line-input { + background-image: url("./icons/icon-multi-line-input.svg"); +} + +.widget-icon-number-input { + background-image: url("./icons/icon-number-input.svg"); +} + +.widget-icon-password-input { + background-image: url("./icons/icon-password-input.svg"); +} + +.widget-icon-picture-gallery { + background-image: url("./icons/icon-picture-gallery.svg"); +} + +.widget-icon-picture { + background-image: url("./icons/icon-picture.svg"); +} + +.widget-icon-range-input { + background-image: url("./icons/icon-range-input.svg"); +} + +.widget-icon-search-box { + background-image: url("./icons/icon-search-box.svg"); +} + +.widget-icon-select-input { + background-image: url("./icons/icon-select-input.svg"); +} + +.widget-icon-splitter { + background-image: url("./icons/icon-splitter.svg"); +} + +.widget-icon-submit-form-button { + background-image: url("./icons/icon-submit-form-button.svg"); +} + +.widget-icon-tab-panel { + background-image: url("./icons/icon-tab-panel.svg"); +} + +.widget-icon-table { + background-image: url("./icons/icon-table.svg"); +} + +.widget-icon-testimonials { + background-image: url("./icons/icon-testimonials.svg"); +} + +.widget-icon-text-block { + background-image: url("./icons/icon-text-block.svg"); +} + +.widget-icon-text-input { + background-image: url("./icons/icon-text-input.svg"); +} + +.widget-icon-time-input { + background-image: url("./icons/icon-time-input.svg"); +} + +.widget-icon-url-input { + background-image: url("./icons/icon-url-input.svg"); +} + +.widget-icon-video-player { + background-image: url("./icons/icon-video-player.svg"); +} + +.widget-icon-youtube-player { + background-image: url("./icons/icon-youtube-player.svg"); +} + +.widget-icon-api-management { + background-image: url("./icons/icon-api-management.svg"); +} diff --git a/src/themes/designer/styles/icons/icon-accordion.svg b/src/themes/designer/styles/icons/icon-accordion.svg new file mode 100644 index 000000000..1c97b854c --- /dev/null +++ b/src/themes/designer/styles/icons/icon-accordion.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/themes/designer/styles/icons/icon-api-management.svg b/src/themes/designer/styles/icons/icon-api-management.svg new file mode 100644 index 000000000..91f629b99 --- /dev/null +++ b/src/themes/designer/styles/icons/icon-api-management.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/themes/designer/styles/icons/icon-button.svg b/src/themes/designer/styles/icons/icon-button.svg new file mode 100644 index 000000000..b19a22f49 --- /dev/null +++ b/src/themes/designer/styles/icons/icon-button.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/src/themes/designer/styles/icons/icon-card.svg b/src/themes/designer/styles/icons/icon-card.svg new file mode 100644 index 000000000..ca26b1f81 --- /dev/null +++ b/src/themes/designer/styles/icons/icon-card.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/themes/designer/styles/icons/icon-carousel.svg b/src/themes/designer/styles/icons/icon-carousel.svg new file mode 100644 index 000000000..42315027d --- /dev/null +++ b/src/themes/designer/styles/icons/icon-carousel.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/themes/designer/styles/icons/icon-checkbox.svg b/src/themes/designer/styles/icons/icon-checkbox.svg new file mode 100644 index 000000000..1077e0d6f --- /dev/null +++ b/src/themes/designer/styles/icons/icon-checkbox.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/themes/designer/styles/icons/icon-collapsible-panel.svg b/src/themes/designer/styles/icons/icon-collapsible-panel.svg new file mode 100644 index 000000000..14e5ef67b --- /dev/null +++ b/src/themes/designer/styles/icons/icon-collapsible-panel.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/themes/designer/styles/icons/icon-component.svg b/src/themes/designer/styles/icons/icon-component.svg new file mode 100644 index 000000000..fe6381672 --- /dev/null +++ b/src/themes/designer/styles/icons/icon-component.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/themes/designer/styles/icons/icon-date-input.svg b/src/themes/designer/styles/icons/icon-date-input.svg new file mode 100644 index 000000000..4fa7c961f --- /dev/null +++ b/src/themes/designer/styles/icons/icon-date-input.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/themes/designer/styles/icons/icon-email-input.svg b/src/themes/designer/styles/icons/icon-email-input.svg new file mode 100644 index 000000000..acdd89e0a --- /dev/null +++ b/src/themes/designer/styles/icons/icon-email-input.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/src/themes/designer/styles/icons/icon-form.svg b/src/themes/designer/styles/icons/icon-form.svg new file mode 100644 index 000000000..50dbd6bf9 --- /dev/null +++ b/src/themes/designer/styles/icons/icon-form.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/themes/designer/styles/icons/icon-map.svg b/src/themes/designer/styles/icons/icon-map.svg new file mode 100644 index 000000000..f360d2a4e --- /dev/null +++ b/src/themes/designer/styles/icons/icon-map.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/themes/designer/styles/icons/icon-menu.svg b/src/themes/designer/styles/icons/icon-menu.svg new file mode 100644 index 000000000..1d25e49da --- /dev/null +++ b/src/themes/designer/styles/icons/icon-menu.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/themes/designer/styles/icons/icon-multi-line-input.svg b/src/themes/designer/styles/icons/icon-multi-line-input.svg new file mode 100644 index 000000000..ddd504a4a --- /dev/null +++ b/src/themes/designer/styles/icons/icon-multi-line-input.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/themes/designer/styles/icons/icon-number-input.svg b/src/themes/designer/styles/icons/icon-number-input.svg new file mode 100644 index 000000000..4ef78ce68 --- /dev/null +++ b/src/themes/designer/styles/icons/icon-number-input.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/themes/designer/styles/icons/icon-password-input.svg b/src/themes/designer/styles/icons/icon-password-input.svg new file mode 100644 index 000000000..96a2d98bc --- /dev/null +++ b/src/themes/designer/styles/icons/icon-password-input.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/themes/designer/styles/icons/icon-picture-gallery.svg b/src/themes/designer/styles/icons/icon-picture-gallery.svg new file mode 100644 index 000000000..c56ebb53e --- /dev/null +++ b/src/themes/designer/styles/icons/icon-picture-gallery.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/themes/designer/styles/icons/icon-picture.svg b/src/themes/designer/styles/icons/icon-picture.svg new file mode 100644 index 000000000..26318654d --- /dev/null +++ b/src/themes/designer/styles/icons/icon-picture.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/themes/designer/styles/icons/icon-range-input.svg b/src/themes/designer/styles/icons/icon-range-input.svg new file mode 100644 index 000000000..0732cf46f --- /dev/null +++ b/src/themes/designer/styles/icons/icon-range-input.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/src/themes/designer/styles/icons/icon-search-box.svg b/src/themes/designer/styles/icons/icon-search-box.svg new file mode 100644 index 000000000..e6011d3d1 --- /dev/null +++ b/src/themes/designer/styles/icons/icon-search-box.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/themes/designer/styles/icons/icon-select-input.svg b/src/themes/designer/styles/icons/icon-select-input.svg new file mode 100644 index 000000000..341ea575c --- /dev/null +++ b/src/themes/designer/styles/icons/icon-select-input.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/themes/designer/styles/icons/icon-splitter.svg b/src/themes/designer/styles/icons/icon-splitter.svg new file mode 100644 index 000000000..51ee6fb44 --- /dev/null +++ b/src/themes/designer/styles/icons/icon-splitter.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/themes/designer/styles/icons/icon-submit-form-button.svg b/src/themes/designer/styles/icons/icon-submit-form-button.svg new file mode 100644 index 000000000..a1b258d0b --- /dev/null +++ b/src/themes/designer/styles/icons/icon-submit-form-button.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/themes/designer/styles/icons/icon-tab-panel.svg b/src/themes/designer/styles/icons/icon-tab-panel.svg new file mode 100644 index 000000000..5ff099cda --- /dev/null +++ b/src/themes/designer/styles/icons/icon-tab-panel.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/themes/designer/styles/icons/icon-table.svg b/src/themes/designer/styles/icons/icon-table.svg new file mode 100644 index 000000000..317bc5cf6 --- /dev/null +++ b/src/themes/designer/styles/icons/icon-table.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/themes/designer/styles/icons/icon-testimonials.svg b/src/themes/designer/styles/icons/icon-testimonials.svg new file mode 100644 index 000000000..5e62f91fe --- /dev/null +++ b/src/themes/designer/styles/icons/icon-testimonials.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/themes/designer/styles/icons/icon-text-block.svg b/src/themes/designer/styles/icons/icon-text-block.svg new file mode 100644 index 000000000..e19fa8811 --- /dev/null +++ b/src/themes/designer/styles/icons/icon-text-block.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/themes/designer/styles/icons/icon-text-input.svg b/src/themes/designer/styles/icons/icon-text-input.svg new file mode 100644 index 000000000..3f6957e40 --- /dev/null +++ b/src/themes/designer/styles/icons/icon-text-input.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/themes/designer/styles/icons/icon-time-input.svg b/src/themes/designer/styles/icons/icon-time-input.svg new file mode 100644 index 000000000..e9b036fd2 --- /dev/null +++ b/src/themes/designer/styles/icons/icon-time-input.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/themes/designer/styles/icons/icon-url-input.svg b/src/themes/designer/styles/icons/icon-url-input.svg new file mode 100644 index 000000000..061209fd2 --- /dev/null +++ b/src/themes/designer/styles/icons/icon-url-input.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/src/themes/designer/styles/icons/icon-video-player.svg b/src/themes/designer/styles/icons/icon-video-player.svg new file mode 100644 index 000000000..bd03cf4b3 --- /dev/null +++ b/src/themes/designer/styles/icons/icon-video-player.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/src/themes/designer/styles/icons/icon-youtube-player.svg b/src/themes/designer/styles/icons/icon-youtube-player.svg new file mode 100644 index 000000000..6ac488b9f --- /dev/null +++ b/src/themes/designer/styles/icons/icon-youtube-player.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/themes/designer/styles/lists.scss b/src/themes/designer/styles/lists.scss index 4d88d7b71..0b8545ae2 100644 --- a/src/themes/designer/styles/lists.scss +++ b/src/themes/designer/styles/lists.scss @@ -121,9 +121,13 @@ } } + .list-item-widget-icon { + margin: 7px; + } + &.list-item-large { display: inline-block; - width: 130px; + width: 140px; text-align: center; padding: 15px 5px; line-height: 1.5em; diff --git a/src/themes/website/styles/tables.scss b/src/themes/website/styles/tables.scss index e0659e4be..232ab1625 100644 --- a/src/themes/website/styles/tables.scss +++ b/src/themes/website/styles/tables.scss @@ -34,6 +34,7 @@ $body-bg: none; .table { margin: 20px 0; + overflow-x: auto; .table-row { display: flex; diff --git a/webpack.designer.js b/webpack.designer.js index e2d42e8ae..29a86478a 100644 --- a/webpack.designer.js +++ b/webpack.designer.js @@ -22,7 +22,12 @@ const designerConfig = { test: /\.scss$/, use: [ MiniCssExtractPlugin.loader, - { loader: "css-loader", options: { url: false } }, + { + loader: "css-loader", + options: { + url: (url) => /\/icon-.*\.svg$/.test(url) + } + }, { loader: "postcss-loader" }, { loader: "sass-loader" } ]