@webiny/app-admin 6.5.4-beta.0 → 6.5.4-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/icons/add-18px.js +18 -16
- package/assets/icons/add-18px.js.map +1 -1
- package/assets/icons/arrow_drop_down-24px.js +18 -16
- package/assets/icons/arrow_drop_down-24px.js.map +1 -1
- package/assets/icons/attach_file_black_24dp.js +18 -16
- package/assets/icons/attach_file_black_24dp.js.map +1 -1
- package/assets/icons/baseline-menu-24px.js +17 -16
- package/assets/icons/baseline-menu-24px.js.map +1 -1
- package/assets/icons/baseline-notification_important-24px.js +17 -15
- package/assets/icons/baseline-notification_important-24px.js.map +1 -1
- package/assets/icons/baseline-security-24px.js +17 -15
- package/assets/icons/baseline-security-24px.js.map +1 -1
- package/assets/icons/file_download.js +17 -15
- package/assets/icons/file_download.js.map +1 -1
- package/assets/icons/file_upload.js +17 -15
- package/assets/icons/file_upload.js.map +1 -1
- package/assets/icons/filter-24px.js +18 -19
- package/assets/icons/filter-24px.js.map +1 -1
- package/assets/icons/github-brands.js +19 -15
- package/assets/icons/github-brands.js.map +1 -1
- package/assets/icons/highlight-24px.js +17 -15
- package/assets/icons/highlight-24px.js.map +1 -1
- package/assets/icons/icon-community.js +17 -14
- package/assets/icons/icon-community.js.map +1 -1
- package/assets/icons/icon-documentation.js +17 -14
- package/assets/icons/icon-documentation.js.map +1 -1
- package/assets/icons/info.js +17 -15
- package/assets/icons/info.js.map +1 -1
- package/assets/icons/insert_drive_file-24px.js +17 -15
- package/assets/icons/insert_drive_file-24px.js.map +1 -1
- package/assets/icons/insert_photo-24px.js +17 -15
- package/assets/icons/insert_photo-24px.js.map +1 -1
- package/assets/icons/label-24px.js +17 -15
- package/assets/icons/label-24px.js.map +1 -1
- package/assets/icons/round-account_circle-24px.js +17 -15
- package/assets/icons/round-account_circle-24px.js.map +1 -1
- package/assets/icons/round-add-24px.js +18 -16
- package/assets/icons/round-add-24px.js.map +1 -1
- package/assets/icons/round-arrow_drop_down-24px.js +17 -15
- package/assets/icons/round-arrow_drop_down-24px.js.map +1 -1
- package/assets/icons/round-chevron_right-24px.js +18 -16
- package/assets/icons/round-chevron_right-24px.js.map +1 -1
- package/assets/icons/round-feedback-24px.js +18 -16
- package/assets/icons/round-feedback-24px.js.map +1 -1
- package/assets/icons/round-help-24px.js +17 -15
- package/assets/icons/round-help-24px.js.map +1 -1
- package/assets/icons/round-invert_colors-24px.js +18 -16
- package/assets/icons/round-invert_colors-24px.js.map +1 -1
- package/assets/icons/round-keyboard_arrow_down-24px.js +18 -13
- package/assets/icons/round-keyboard_arrow_down-24px.js.map +1 -1
- package/assets/icons/round-keyboard_arrow_up-24px.js +18 -13
- package/assets/icons/round-keyboard_arrow_up-24px.js.map +1 -1
- package/assets/icons/round-lock_open-24px.js +18 -18
- package/assets/icons/round-lock_open-24px.js.map +1 -1
- package/assets/icons/round-more_vert-24px.js +18 -16
- package/assets/icons/round-more_vert-24px.js.map +1 -1
- package/assets/icons/round-open_in_new-24px.js +18 -16
- package/assets/icons/round-open_in_new-24px.js.map +1 -1
- package/assets/icons/round-settings-24px.js +17 -16
- package/assets/icons/round-settings-24px.js.map +1 -1
- package/assets/icons/search-24px.js +18 -17
- package/assets/icons/search-24px.js.map +1 -1
- package/assets/icons/slack-logo.js +15 -10
- package/assets/icons/slack-logo.js.map +1 -1
- package/assets/icons/today-24px.js +17 -15
- package/assets/icons/today-24px.js.map +1 -1
- package/assets/icons/touch_app.js +18 -16
- package/assets/icons/touch_app.js.map +1 -1
- package/assets/images/webiny-logo.js +18 -30
- package/assets/images/webiny-logo.js.map +1 -1
- package/assets/images/webiny-orange-logo.js +18 -30
- package/assets/images/webiny-orange-logo.js.map +1 -1
- package/base/Base/Tenant/wby-horizontal.js +17 -29
- package/base/Base/Tenant/wby-horizontal.js.map +1 -1
- package/base/Base/Tenant/wby-square.js +18 -16
- package/base/Base/Tenant/wby-square.js.map +1 -1
- package/components/Buttons/ButtonContainer.d.ts +2 -0
- package/components/Buttons/ButtonContainer.js +9 -0
- package/components/Buttons/ButtonContainer.js.map +1 -0
- package/components/Buttons/Buttons.d.ts +2 -2
- package/components/Buttons/Buttons.js +1 -1
- package/components/Buttons/Buttons.js.map +1 -1
- package/components/Buttons/index.d.ts +2 -1
- package/components/Buttons/index.js +2 -1
- package/components/IconPicker/plugins/customPlugin.js.map +1 -1
- package/components/IconPicker/plugins/emojisPlugin.js.map +1 -1
- package/components/IconPicker/plugins/iconsPlugin.js.map +1 -1
- package/components/NotAuthorizedError/SecureRouteError.js +19 -293
- package/components/NotAuthorizedError/SecureRouteError.js.map +1 -1
- package/components/Permissions/StyledComponents.d.ts +1 -1
- package/components/Permissions/StyledComponents.js +1 -4
- package/components/Permissions/StyledComponents.js.map +1 -1
- package/package.json +19 -25
- package/presentation/installation/components/SystemInstaller/steps/introduction.js +18 -719
- package/presentation/installation/components/SystemInstaller/steps/introduction.js.map +1 -1
- package/components/Buttons/Buttons.styles.d.ts +0 -4
- package/components/Buttons/Buttons.styles.js +0 -11
- package/components/Buttons/Buttons.styles.js.map +0 -1
- package/components/SimpleUI/InputField.d.ts +0 -13
- package/components/SimpleUI/InputField.js +0 -79
- package/components/SimpleUI/InputField.js.map +0 -1
- /package/static/svg/{SecureRouteError.e8b15981.svg → SecureRouteError.0c808263.svg} +0 -0
- /package/static/svg/{add-18px.b3062af6.svg → add-18px.1bab09f8.svg} +0 -0
- /package/static/svg/{arrow_drop_down-24px.da74d713.svg → arrow_drop_down-24px.f6143ee3.svg} +0 -0
- /package/static/svg/{attach_file_black_24dp.7fb13a7e.svg → attach_file_black_24dp.ceb62e00.svg} +0 -0
- /package/static/svg/{baseline-menu-24px.071b179d.svg → baseline-menu-24px.c8f19733.svg} +0 -0
- /package/static/svg/{baseline-notification_important-24px.29277e73.svg → baseline-notification_important-24px.77e9f239.svg} +0 -0
- /package/static/svg/{baseline-security-24px.12e519cc.svg → baseline-security-24px.638cdf44.svg} +0 -0
- /package/static/svg/{file_download.afe3fbec.svg → file_download.5aa0784b.svg} +0 -0
- /package/static/svg/{file_upload.6865d820.svg → file_upload.dc497f17.svg} +0 -0
- /package/static/svg/{filter-24px.886d9ff0.svg → filter-24px.b4f768ec.svg} +0 -0
- /package/static/svg/{github-brands.6311f0fa.svg → github-brands.3364aec1.svg} +0 -0
- /package/static/svg/{highlight-24px.959a97f7.svg → highlight-24px.8b658acc.svg} +0 -0
- /package/static/svg/{icon-community.cd087355.svg → icon-community.27194e0b.svg} +0 -0
- /package/static/svg/{icon-documentation.a189d24c.svg → icon-documentation.c4113287.svg} +0 -0
- /package/static/svg/{info.fe810b72.svg → info.36e381ea.svg} +0 -0
- /package/static/svg/{insert_drive_file-24px.39d490eb.svg → insert_drive_file-24px.da71c4ff.svg} +0 -0
- /package/static/svg/{insert_photo-24px.81a5f945.svg → insert_photo-24px.f5f68346.svg} +0 -0
- /package/static/svg/{introduction.108720aa.svg → introduction.34efbf42.svg} +0 -0
- /package/static/svg/{label-24px.9deafa4f.svg → label-24px.6608bc31.svg} +0 -0
- /package/static/svg/{round-account_circle-24px.f0b48cb7.svg → round-account_circle-24px.b13ea1dc.svg} +0 -0
- /package/static/svg/{round-add-24px.4a5219b4.svg → round-add-24px.3cc79fdc.svg} +0 -0
- /package/static/svg/{round-arrow_drop_down-24px.5fdf92d1.svg → round-arrow_drop_down-24px.0a670f69.svg} +0 -0
- /package/static/svg/{round-chevron_right-24px.34936511.svg → round-chevron_right-24px.39a4343f.svg} +0 -0
- /package/static/svg/{round-feedback-24px.4dae7231.svg → round-feedback-24px.e4f95d4e.svg} +0 -0
- /package/static/svg/{round-help-24px.a61b1d66.svg → round-help-24px.af6674ae.svg} +0 -0
- /package/static/svg/{round-invert_colors-24px.a229a1dd.svg → round-invert_colors-24px.c12ceee8.svg} +0 -0
- /package/static/svg/{round-keyboard_arrow_down-24px.6febe804.svg → round-keyboard_arrow_down-24px.c68706a1.svg} +0 -0
- /package/static/svg/{round-keyboard_arrow_up-24px.b1f7db34.svg → round-keyboard_arrow_up-24px.cd8aee5c.svg} +0 -0
- /package/static/svg/{round-lock_open-24px.d527f6a5.svg → round-lock_open-24px.0f1f3736.svg} +0 -0
- /package/static/svg/{round-more_vert-24px.68d41b07.svg → round-more_vert-24px.b0c95f36.svg} +0 -0
- /package/static/svg/{round-open_in_new-24px.be5b4ddd.svg → round-open_in_new-24px.55b78938.svg} +0 -0
- /package/static/svg/{round-settings-24px.c0b3056f.svg → round-settings-24px.7a253214.svg} +0 -0
- /package/static/svg/{search-24px.3c0f88dd.svg → search-24px.d5e7646d.svg} +0 -0
- /package/static/svg/{slack-logo.7ee35e7f.svg → slack-logo.55bba14b.svg} +0 -0
- /package/static/svg/{today-24px.df206362.svg → today-24px.8a6408f8.svg} +0 -0
- /package/static/svg/{touch_app.debf3744.svg → touch_app.e42cc069.svg} +0 -0
- /package/static/svg/{wby-horizontal.03327bf6.svg → wby-horizontal.f449ee6d.svg} +0 -0
- /package/static/svg/{wby-square.ff8f47c3.svg → wby-square.84718ea6.svg} +0 -0
- /package/static/svg/{webiny-logo.ef56725c.svg → webiny-logo.e2102d6d.svg} +0 -0
- /package/static/svg/{webiny-orange-logo.4eccf0f2.svg → webiny-orange-logo.abbbe0ab.svg} +0 -0
|
@@ -1,34 +1,22 @@
|
|
|
1
|
-
import __rslib_svgr_url__0__ from "../../static/svg/webiny-logo.
|
|
2
|
-
import
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
d: "M294.402 88.011h8.768V48.317h-8.768zm96.783-39.738h-9.169c0 7.836.018 15.28-.009 22.726-.026 4.948-3.544 8.43-8.386 8.386-4.886-.036-7.152-2.514-7.188-8.023-.044-6.511 0-13.032-.026-19.544-.01-1.182-.205-2.364-.31-3.492h-8.565c-.15.356-.303.542-.303.728-.026 9.302-.177 18.622 0 27.923.09 4.531 2.222 8.076 6.69 9.977 4.576-3.047 9.64-2.78 14.712-2.158 4.14.515 8.192.23 12.643-.667-.036-11.993.097-23.898-.09-35.856m-42.555 9.364c-.106-3.856-2.576-6.69-6.12-8.324-3.661-1.688-7.561-2.417-11.47-1.493-3.235.764-6.317 2.159-9.56 3.314-1.403-1.218-3.011-2.603-4.77-4.14-2.195 1.972-4.096 3.67-5.988 5.365 4.051 5.082 4.051 5.082 4.051 11.701 0 6.823 0 13.655.009 20.477 0 1.102.097 2.213.16 3.456h9.044V65.757c0-4.833 2.523-8.076 7.231-9.293 5.509-1.422 8.387.755 8.405 6.423.026 7.232 0 14.473.018 21.713 0 1.102.106 2.203.168 3.322h8.902c0-10.252.178-20.273-.08-30.285m-118.62-1.635c4.389.302 6.085 2.079 5.784 6.53-4.442 4.468-9.96 2.576-15.157 2.879.374-5.518 4.7-9.729 9.373-9.409m12.775 20.14c-2.248.978-4.21 1.884-6.219 2.675-3.145 1.252-6.405 1.617-9.745.941-3.323-.666-4.922-2.257-5.553-5.766 1.892 0 3.723-.008 5.544 0 4.3.045 8.475-.56 12.313-2.602 7.845-4.185 8.813-15.015 1.715-20.203-7.525-5.508-18.755-5.038-25.257 2.701-4.869 5.8-5.82 12.588-4.656 19.856.96 5.934 4.025 10.42 9.364 13.095 7.587 3.802 20.336 1.785 26.963-4.202-1.484-2.15-2.985-4.327-4.469-6.494m168.086-4.797c-2.531-5.846-9.567-9.746-16.017-8.84-.578.08-1.11.444-1.768.729v9.044c1.217-.196 2.22-.436 3.233-.497 2.541-.16 5.03 1.217 5.935 3.197 1.022 2.222.436 5.393-1.52 7.108-.985.862-2.158 1.732-3.392 2.06-2.968.791-6.006 1.644-9.053 1.769-5.571.24-11.167-.125-16.747.044-4.513.143-8.76 2.452-11.105 6.308-4.07 6.698-2.159 15.991 3.988 20.504 5.971 4.38 14.873 3.598 20.159-1.839 3.811-3.917 5.454-8.804 6.316-14.418h-9.32c-.32 1.012-.603 2.212-1.065 3.34-.507 1.234-1.03 2.496-1.777 3.59-1.848 2.7-5.17 3.588-7.934 2.283-2.185-1.031-3.624-4.025-3.144-6.54.586-3.082 2.167-4.175 6.183-4.184 5.685-.017 11.372.178 17.049-.01 5.685-.195 10.998-1.829 15.537-5.418 5.358-4.229 7.188-11.887 4.442-18.23M276.882 76.17c-2.371 3.118-5.712 3.917-9.346 3.9-1.75-.009-3.5-.284-5.766-.48 0-6.21-.23-12.198.098-18.159.16-2.958 2.736-4.601 5.41-5.366 3.119-.897 6.184-.64 8.627 1.902 4.158 4.343 4.628 13.396.977 18.203m11.434-13.415c-1.484-10.27-9.257-16.445-19.553-15.84-2.23.133-4.425.852-7.01 1.386V31.5h-9.39v55.073c4.21 1.465 12.748 2.53 17.021 2.185 10.217-.827 16.685-5.988 18.683-15.557.711-3.366.747-7.036.249-10.447m-87.73-14.446c-2.585 7.294-5.188 14.606-7.791 21.926h-.827c-2.594-7.337-5.197-14.667-7.791-21.988h-8.093c-2.63 7.4-5.233 14.73-7.836 22.068h-.755c-2.638-7.41-5.277-14.818-7.827-21.97H150c4.7 13.46 9.284 26.581 13.869 39.703h7.977l7.898-22.202h.8c2.638 7.445 5.268 14.9 7.853 22.184h7.996c4.602-13.175 9.186-26.306 13.868-39.72z"
|
|
19
|
-
}), /*#__PURE__*/ __rspack_external_react.createElement("g", {
|
|
20
|
-
transform: "translate(0 .5)"
|
|
21
|
-
}, /*#__PURE__*/ __rspack_external_react.createElement("mask", {
|
|
22
|
-
id: "webiny-logo_svg__b",
|
|
23
|
-
fill: "currentColor"
|
|
24
|
-
}, /*#__PURE__*/ __rspack_external_react.createElement("use", {
|
|
25
|
-
xlinkHref: "#webiny-logo_svg__a"
|
|
26
|
-
})), /*#__PURE__*/ __rspack_external_react.createElement("use", {
|
|
27
|
-
xlinkHref: "#webiny-logo_svg__a",
|
|
28
|
-
fill: "currentColor"
|
|
29
|
-
}))));
|
|
1
|
+
import __rslib_svgr_url__0__ from "../../static/svg/webiny-logo.e2102d6d.svg";
|
|
2
|
+
import { createElement } from "react";
|
|
3
|
+
const attributes = {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
6
|
+
width: "413",
|
|
7
|
+
height: "126",
|
|
8
|
+
viewBox: "0 0 413 126"
|
|
9
|
+
};
|
|
10
|
+
const innerHTML = {
|
|
11
|
+
__html: "<defs><path id=\"webiny-logo_svg__a\" d=\"M106.337 98.8 63.09 123.57a13.32 13.32 0 0 1-13.228 0L6.614 98.8C2.521 96.455 0 92.124 0 87.435V37.894c0-4.689 2.521-9.021 6.614-11.365L49.862 1.76a13.32 13.32 0 0 1 13.228 0l43.247 24.77a13.1 13.1 0 0 1 6.614 11.365v49.541c0 4.689-2.521 9.02-6.614 11.365M82.615 41.768c-3.243 9.079-6.51 18.18-9.776 27.292h-1.036c-3.255-9.133-6.521-18.257-9.776-27.369H51.872c-3.3 9.212-6.565 18.335-9.831 27.47h-.948c-3.31-9.224-6.621-18.446-9.82-27.348H19.144c5.897 16.753 11.648 33.086 17.4 49.42h10.01l9.91-27.636h1.003c3.31 9.268 6.61 18.546 9.854 27.613h10.032c5.774-16.4 11.525-32.743 17.4-49.442z\"/></defs><g fill=\"none\" fill-rule=\"evenodd\"><path fill=\"currentColor\" d=\"M294.402 88.011h8.768V48.317h-8.768zm96.783-39.738h-9.169c0 7.836.018 15.28-.009 22.726-.026 4.948-3.544 8.43-8.386 8.386-4.886-.036-7.152-2.514-7.188-8.023-.044-6.511 0-13.032-.026-19.544-.01-1.182-.205-2.364-.31-3.492h-8.565c-.15.356-.303.542-.303.728-.026 9.302-.177 18.622 0 27.923.09 4.531 2.222 8.076 6.69 9.977 4.576-3.047 9.64-2.78 14.712-2.158 4.14.515 8.192.23 12.643-.667-.036-11.993.097-23.898-.09-35.856m-42.555 9.364c-.106-3.856-2.576-6.69-6.12-8.324-3.661-1.688-7.561-2.417-11.47-1.493-3.235.764-6.317 2.159-9.56 3.314-1.403-1.218-3.011-2.603-4.77-4.14-2.195 1.972-4.096 3.67-5.988 5.365 4.051 5.082 4.051 5.082 4.051 11.701 0 6.823 0 13.655.009 20.477 0 1.102.097 2.213.16 3.456h9.044V65.757c0-4.833 2.523-8.076 7.231-9.293 5.509-1.422 8.387.755 8.405 6.423.026 7.232 0 14.473.018 21.713 0 1.102.106 2.203.168 3.322h8.902c0-10.252.178-20.273-.08-30.285m-118.62-1.635c4.389.302 6.085 2.079 5.784 6.53-4.442 4.468-9.96 2.576-15.157 2.879.374-5.518 4.7-9.729 9.373-9.409m12.775 20.14c-2.248.978-4.21 1.884-6.219 2.675-3.145 1.252-6.405 1.617-9.745.941-3.323-.666-4.922-2.257-5.553-5.766 1.892 0 3.723-.008 5.544 0 4.3.045 8.475-.56 12.313-2.602 7.845-4.185 8.813-15.015 1.715-20.203-7.525-5.508-18.755-5.038-25.257 2.701-4.869 5.8-5.82 12.588-4.656 19.856.96 5.934 4.025 10.42 9.364 13.095 7.587 3.802 20.336 1.785 26.963-4.202-1.484-2.15-2.985-4.327-4.469-6.494m168.086-4.797c-2.531-5.846-9.567-9.746-16.017-8.84-.578.08-1.11.444-1.768.729v9.044c1.217-.196 2.22-.436 3.233-.497 2.541-.16 5.03 1.217 5.935 3.197 1.022 2.222.436 5.393-1.52 7.108-.985.862-2.158 1.732-3.392 2.06-2.968.791-6.006 1.644-9.053 1.769-5.571.24-11.167-.125-16.747.044-4.513.143-8.76 2.452-11.105 6.308-4.07 6.698-2.159 15.991 3.988 20.504 5.971 4.38 14.873 3.598 20.159-1.839 3.811-3.917 5.454-8.804 6.316-14.418h-9.32c-.32 1.012-.603 2.212-1.065 3.34-.507 1.234-1.03 2.496-1.777 3.59-1.848 2.7-5.17 3.588-7.934 2.283-2.185-1.031-3.624-4.025-3.144-6.54.586-3.082 2.167-4.175 6.183-4.184 5.685-.017 11.372.178 17.049-.01 5.685-.195 10.998-1.829 15.537-5.418 5.358-4.229 7.188-11.887 4.442-18.23M276.882 76.17c-2.371 3.118-5.712 3.917-9.346 3.9-1.75-.009-3.5-.284-5.766-.48 0-6.21-.23-12.198.098-18.159.16-2.958 2.736-4.601 5.41-5.366 3.119-.897 6.184-.64 8.627 1.902 4.158 4.343 4.628 13.396.977 18.203m11.434-13.415c-1.484-10.27-9.257-16.445-19.553-15.84-2.23.133-4.425.852-7.01 1.386V31.5h-9.39v55.073c4.21 1.465 12.748 2.53 17.021 2.185 10.217-.827 16.685-5.988 18.683-15.557.711-3.366.747-7.036.249-10.447m-87.73-14.446c-2.585 7.294-5.188 14.606-7.791 21.926h-.827c-2.594-7.337-5.197-14.667-7.791-21.988h-8.093c-2.63 7.4-5.233 14.73-7.836 22.068h-.755c-2.638-7.41-5.277-14.818-7.827-21.97H150c4.7 13.46 9.284 26.581 13.869 39.703h7.977l7.898-22.202h.8c2.638 7.445 5.268 14.9 7.853 22.184h7.996c4.602-13.175 9.186-26.306 13.868-39.72z\"/><g transform=\"translate(0 .5)\"><mask id=\"webiny-logo_svg__b\" fill=\"currentColor\"><use xlink:href=\"#webiny-logo_svg__a\"/></mask><use xlink:href=\"#webiny-logo_svg__a\" fill=\"currentColor\"/></g></g>"
|
|
12
|
+
};
|
|
13
|
+
const ReactComponent = ({ children, ...props })=>createElement("svg", {
|
|
14
|
+
...attributes,
|
|
15
|
+
...props,
|
|
16
|
+
dangerouslySetInnerHTML: innerHTML
|
|
17
|
+
});
|
|
30
18
|
const webiny_logo = __rslib_svgr_url__0__;
|
|
31
19
|
export default webiny_logo;
|
|
32
|
-
export {
|
|
20
|
+
export { ReactComponent };
|
|
33
21
|
|
|
34
22
|
//# sourceMappingURL=webiny-logo.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assets/images/webiny-logo.js","sources":["../../../src/assets/images/webiny-logo.svg"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"file":"assets/images/webiny-logo.js","sources":["../../../src/assets/images/webiny-logo.svg"],"sourcesContent":["import { createElement } from \"react\";\n\nconst attributes = {\"xmlns\":\"http://www.w3.org/2000/svg\",\"xmlnsXlink\":\"http://www.w3.org/1999/xlink\",\"width\":\"413\",\"height\":\"126\",\"viewBox\":\"0 0 413 126\"};\nconst innerHTML = { __html: \"<defs><path id=\\\"webiny-logo_svg__a\\\" d=\\\"M106.337 98.8 63.09 123.57a13.32 13.32 0 0 1-13.228 0L6.614 98.8C2.521 96.455 0 92.124 0 87.435V37.894c0-4.689 2.521-9.021 6.614-11.365L49.862 1.76a13.32 13.32 0 0 1 13.228 0l43.247 24.77a13.1 13.1 0 0 1 6.614 11.365v49.541c0 4.689-2.521 9.02-6.614 11.365M82.615 41.768c-3.243 9.079-6.51 18.18-9.776 27.292h-1.036c-3.255-9.133-6.521-18.257-9.776-27.369H51.872c-3.3 9.212-6.565 18.335-9.831 27.47h-.948c-3.31-9.224-6.621-18.446-9.82-27.348H19.144c5.897 16.753 11.648 33.086 17.4 49.42h10.01l9.91-27.636h1.003c3.31 9.268 6.61 18.546 9.854 27.613h10.032c5.774-16.4 11.525-32.743 17.4-49.442z\\\"/></defs><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path fill=\\\"currentColor\\\" d=\\\"M294.402 88.011h8.768V48.317h-8.768zm96.783-39.738h-9.169c0 7.836.018 15.28-.009 22.726-.026 4.948-3.544 8.43-8.386 8.386-4.886-.036-7.152-2.514-7.188-8.023-.044-6.511 0-13.032-.026-19.544-.01-1.182-.205-2.364-.31-3.492h-8.565c-.15.356-.303.542-.303.728-.026 9.302-.177 18.622 0 27.923.09 4.531 2.222 8.076 6.69 9.977 4.576-3.047 9.64-2.78 14.712-2.158 4.14.515 8.192.23 12.643-.667-.036-11.993.097-23.898-.09-35.856m-42.555 9.364c-.106-3.856-2.576-6.69-6.12-8.324-3.661-1.688-7.561-2.417-11.47-1.493-3.235.764-6.317 2.159-9.56 3.314-1.403-1.218-3.011-2.603-4.77-4.14-2.195 1.972-4.096 3.67-5.988 5.365 4.051 5.082 4.051 5.082 4.051 11.701 0 6.823 0 13.655.009 20.477 0 1.102.097 2.213.16 3.456h9.044V65.757c0-4.833 2.523-8.076 7.231-9.293 5.509-1.422 8.387.755 8.405 6.423.026 7.232 0 14.473.018 21.713 0 1.102.106 2.203.168 3.322h8.902c0-10.252.178-20.273-.08-30.285m-118.62-1.635c4.389.302 6.085 2.079 5.784 6.53-4.442 4.468-9.96 2.576-15.157 2.879.374-5.518 4.7-9.729 9.373-9.409m12.775 20.14c-2.248.978-4.21 1.884-6.219 2.675-3.145 1.252-6.405 1.617-9.745.941-3.323-.666-4.922-2.257-5.553-5.766 1.892 0 3.723-.008 5.544 0 4.3.045 8.475-.56 12.313-2.602 7.845-4.185 8.813-15.015 1.715-20.203-7.525-5.508-18.755-5.038-25.257 2.701-4.869 5.8-5.82 12.588-4.656 19.856.96 5.934 4.025 10.42 9.364 13.095 7.587 3.802 20.336 1.785 26.963-4.202-1.484-2.15-2.985-4.327-4.469-6.494m168.086-4.797c-2.531-5.846-9.567-9.746-16.017-8.84-.578.08-1.11.444-1.768.729v9.044c1.217-.196 2.22-.436 3.233-.497 2.541-.16 5.03 1.217 5.935 3.197 1.022 2.222.436 5.393-1.52 7.108-.985.862-2.158 1.732-3.392 2.06-2.968.791-6.006 1.644-9.053 1.769-5.571.24-11.167-.125-16.747.044-4.513.143-8.76 2.452-11.105 6.308-4.07 6.698-2.159 15.991 3.988 20.504 5.971 4.38 14.873 3.598 20.159-1.839 3.811-3.917 5.454-8.804 6.316-14.418h-9.32c-.32 1.012-.603 2.212-1.065 3.34-.507 1.234-1.03 2.496-1.777 3.59-1.848 2.7-5.17 3.588-7.934 2.283-2.185-1.031-3.624-4.025-3.144-6.54.586-3.082 2.167-4.175 6.183-4.184 5.685-.017 11.372.178 17.049-.01 5.685-.195 10.998-1.829 15.537-5.418 5.358-4.229 7.188-11.887 4.442-18.23M276.882 76.17c-2.371 3.118-5.712 3.917-9.346 3.9-1.75-.009-3.5-.284-5.766-.48 0-6.21-.23-12.198.098-18.159.16-2.958 2.736-4.601 5.41-5.366 3.119-.897 6.184-.64 8.627 1.902 4.158 4.343 4.628 13.396.977 18.203m11.434-13.415c-1.484-10.27-9.257-16.445-19.553-15.84-2.23.133-4.425.852-7.01 1.386V31.5h-9.39v55.073c4.21 1.465 12.748 2.53 17.021 2.185 10.217-.827 16.685-5.988 18.683-15.557.711-3.366.747-7.036.249-10.447m-87.73-14.446c-2.585 7.294-5.188 14.606-7.791 21.926h-.827c-2.594-7.337-5.197-14.667-7.791-21.988h-8.093c-2.63 7.4-5.233 14.73-7.836 22.068h-.755c-2.638-7.41-5.277-14.818-7.827-21.97H150c4.7 13.46 9.284 26.581 13.869 39.703h7.977l7.898-22.202h.8c2.638 7.445 5.268 14.9 7.853 22.184h7.996c4.602-13.175 9.186-26.306 13.868-39.72z\\\"/><g transform=\\\"translate(0 .5)\\\"><mask id=\\\"webiny-logo_svg__b\\\" fill=\\\"currentColor\\\"><use xlink:href=\\\"#webiny-logo_svg__a\\\"/></mask><use xlink:href=\\\"#webiny-logo_svg__a\\\" fill=\\\"currentColor\\\"/></g></g>\" };\n\nexport const ReactComponent = ({ children, ...props }) => {\n return createElement(\"svg\", { ...attributes, ...props, dangerouslySetInnerHTML: innerHTML });\n};\n\nexport default \"__RSLIB_SVGR_AUTO_PUBLIC_PATH__static/svg/webiny-logo.e2102d6d.svg\";\n"],"names":["attributes","innerHTML","ReactComponent","children","props","createElement"],"mappings":";;AAEA,MAAMA,aAAa;IAAC,OAAQ;IAA6B,YAAa;IAA+B,OAAQ;IAAM,QAAS;IAAM,SAAU;AAAa;AACzJ,MAAMC,YAAY;IAAE,QAAQ;AAAqqH;AAE1rH,MAAMC,iBAAiB,CAAC,EAAEC,QAAQ,EAAE,GAAGC,OAAO,GAC1CC,cAAc,OAAO;QAAE,GAAGL,UAAU;QAAE,GAAGI,KAAK;QAAE,yBAAyBH;IAAU;AAG9F"}
|
|
@@ -1,34 +1,22 @@
|
|
|
1
|
-
import __rslib_svgr_url__0__ from "../../static/svg/webiny-orange-logo.
|
|
2
|
-
import
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
d: "M294.401 88.011h8.769V48.317H294.4zm96.784-39.738h-9.169c0 7.836.017 15.28-.009 22.726-.026 4.948-3.545 8.43-8.387 8.386-4.886-.036-7.151-2.514-7.187-8.023-.044-6.511 0-13.032-.026-19.544-.01-1.182-.205-2.364-.31-3.492h-8.566c-.15.356-.302.542-.302.73-.026 9.3-.178 18.62 0 27.922.09 4.53 2.221 8.075 6.69 9.976 4.575-3.047 9.64-2.78 14.712-2.158 4.14.515 8.19.23 12.642-.667-.036-11.993.098-23.898-.088-35.856m-42.555 9.364c-.107-3.856-2.577-6.69-6.122-8.325-3.66-1.687-7.56-2.416-11.469-1.492-3.234.764-6.317 2.159-9.559 3.314-1.404-1.217-3.012-2.603-4.771-4.14-2.194 1.972-4.096 3.669-5.988 5.365 4.051 5.082 4.051 5.082 4.051 11.7 0 6.824 0 13.656.01 20.478 0 1.102.097 2.213.16 3.457h9.043V65.757c0-4.833 2.523-8.076 7.232-9.293 5.508-1.422 8.386.755 8.405 6.423.026 7.232 0 14.472.017 21.713 0 1.102.106 2.203.169 3.322h8.902c0-10.252.177-20.273-.08-30.285m-118.62-1.635c4.388.302 6.085 2.079 5.783 6.53-4.442 4.468-9.959 2.576-15.156 2.879.373-5.518 4.7-9.729 9.373-9.409m12.775 20.14c-2.248.978-4.21 1.884-6.219 2.675-3.145 1.252-6.405 1.617-9.745.941-3.323-.666-4.922-2.257-5.553-5.765 1.892 0 3.722-.01 5.544 0 4.3.043 8.475-.56 12.313-2.603 7.844-4.185 8.813-15.015 1.714-20.203-7.525-5.508-18.754-5.038-25.257 2.701-4.869 5.8-5.82 12.589-4.655 19.856.959 5.934 4.024 10.42 9.364 13.095 7.587 3.802 20.335 1.785 26.963-4.202-1.484-2.15-2.985-4.327-4.469-6.495m168.086-4.797c-2.532-5.846-9.568-9.746-16.018-8.84-.577.08-1.11.444-1.768.729v9.044c1.217-.196 2.222-.436 3.234-.498 2.54-.16 5.028 1.218 5.935 3.198 1.021 2.222.435 5.393-1.52 7.108-.985.862-2.158 1.732-3.393 2.06-2.968.791-6.006 1.645-9.053 1.768-5.57.24-11.167-.123-16.746.045-4.513.143-8.76 2.452-11.106 6.308-4.068 6.699-2.159 15.99 3.99 20.505 5.97 4.379 14.872 3.597 20.157-1.84 3.812-3.918 5.455-8.804 6.317-14.418h-9.32c-.32 1.012-.604 2.212-1.065 3.34-.507 1.235-1.031 2.496-1.777 3.59-1.848 2.7-5.17 3.588-7.934 2.282-2.186-1.03-3.624-4.024-3.145-6.538.587-3.083 2.168-4.176 6.184-4.185 5.685-.017 11.37.178 17.048-.01 5.686-.195 10.998-1.829 15.538-5.418 5.358-4.229 7.187-11.886 4.442-18.23m-133.989 4.824c-2.372 3.118-5.712 3.918-9.346 3.9-1.75-.01-3.5-.284-5.766-.48 0-6.21-.23-12.198.098-18.159.16-2.958 2.736-4.602 5.41-5.366 3.119-.897 6.184-.639 8.627 1.902 4.158 4.344 4.628 13.396.977 18.203m11.434-13.415c-1.484-10.27-9.258-16.445-19.554-15.84-2.23.133-4.424.852-7.01 1.386V31.5h-9.39v55.072c4.21 1.466 12.749 2.532 17.022 2.186 10.217-.827 16.684-5.988 18.683-15.556.71-3.368.746-7.036.249-10.448m-87.73-14.446c-2.586 7.294-5.188 14.606-7.791 21.926h-.827c-2.594-7.338-5.197-14.667-7.791-21.988h-8.093c-2.63 7.4-5.233 14.73-7.836 22.068h-.755l-7.827-21.97H150c4.7 13.459 9.284 26.581 13.868 39.703h7.978l7.898-22.201h.8c2.638 7.444 5.267 14.898 7.853 22.183h7.995c4.602-13.175 9.187-26.306 13.869-39.72z"
|
|
19
|
-
}), /*#__PURE__*/ __rspack_external_react.createElement("g", {
|
|
20
|
-
transform: "translate(0 .5)"
|
|
21
|
-
}, /*#__PURE__*/ __rspack_external_react.createElement("mask", {
|
|
22
|
-
id: "webiny-orange-logo_svg__b",
|
|
23
|
-
fill: "#fff"
|
|
24
|
-
}, /*#__PURE__*/ __rspack_external_react.createElement("use", {
|
|
25
|
-
xlinkHref: "#webiny-orange-logo_svg__a"
|
|
26
|
-
})), /*#__PURE__*/ __rspack_external_react.createElement("use", {
|
|
27
|
-
xlinkHref: "#webiny-orange-logo_svg__a",
|
|
28
|
-
fill: "#FA5A28"
|
|
29
|
-
}))));
|
|
1
|
+
import __rslib_svgr_url__0__ from "../../static/svg/webiny-orange-logo.abbbe0ab.svg";
|
|
2
|
+
import { createElement } from "react";
|
|
3
|
+
const attributes = {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
6
|
+
width: "413",
|
|
7
|
+
height: "136",
|
|
8
|
+
viewBox: "0 0 413 136"
|
|
9
|
+
};
|
|
10
|
+
const innerHTML = {
|
|
11
|
+
__html: "<defs><path id=\"webiny-orange-logo_svg__a\" d=\"m113.865 106.641-46.308 26.737a14.17 14.17 0 0 1-14.165 0L7.082 106.64A14.16 14.16 0 0 1 0 94.375V40.9c0-5.06 2.7-9.736 7.082-12.266l46.31-26.737a14.16 14.16 0 0 1 14.164 0l46.31 26.737a14.16 14.16 0 0 1 7.082 12.266v53.474c0 5.06-2.7 9.735-7.083 12.266M88.464 45.083c-3.473 9.8-6.971 19.624-10.468 29.458h-1.11C73.401 64.683 69.903 54.835 66.418 45H55.544c-3.533 9.943-7.03 19.79-10.527 29.65h-1.015c-3.545-9.956-7.09-19.91-10.516-29.519H20.5c6.315 18.083 12.473 35.712 18.632 53.342h10.719l10.611-29.828h1.075c3.544 10.002 7.078 20.017 10.55 29.804H82.83c6.183-17.701 12.342-35.342 18.633-53.366z\"/></defs><g fill=\"none\" fill-rule=\"evenodd\"><path fill=\"#FA5A28\" d=\"M294.401 88.011h8.769V48.317H294.4zm96.784-39.738h-9.169c0 7.836.017 15.28-.009 22.726-.026 4.948-3.545 8.43-8.387 8.386-4.886-.036-7.151-2.514-7.187-8.023-.044-6.511 0-13.032-.026-19.544-.01-1.182-.205-2.364-.31-3.492h-8.566c-.15.356-.302.542-.302.73-.026 9.3-.178 18.62 0 27.922.09 4.53 2.221 8.075 6.69 9.976 4.575-3.047 9.64-2.78 14.712-2.158 4.14.515 8.19.23 12.642-.667-.036-11.993.098-23.898-.088-35.856m-42.555 9.364c-.107-3.856-2.577-6.69-6.122-8.325-3.66-1.687-7.56-2.416-11.469-1.492-3.234.764-6.317 2.159-9.559 3.314-1.404-1.217-3.012-2.603-4.771-4.14-2.194 1.972-4.096 3.669-5.988 5.365 4.051 5.082 4.051 5.082 4.051 11.7 0 6.824 0 13.656.01 20.478 0 1.102.097 2.213.16 3.457h9.043V65.757c0-4.833 2.523-8.076 7.232-9.293 5.508-1.422 8.386.755 8.405 6.423.026 7.232 0 14.472.017 21.713 0 1.102.106 2.203.169 3.322h8.902c0-10.252.177-20.273-.08-30.285m-118.62-1.635c4.388.302 6.085 2.079 5.783 6.53-4.442 4.468-9.959 2.576-15.156 2.879.373-5.518 4.7-9.729 9.373-9.409m12.775 20.14c-2.248.978-4.21 1.884-6.219 2.675-3.145 1.252-6.405 1.617-9.745.941-3.323-.666-4.922-2.257-5.553-5.765 1.892 0 3.722-.01 5.544 0 4.3.043 8.475-.56 12.313-2.603 7.844-4.185 8.813-15.015 1.714-20.203-7.525-5.508-18.754-5.038-25.257 2.701-4.869 5.8-5.82 12.589-4.655 19.856.959 5.934 4.024 10.42 9.364 13.095 7.587 3.802 20.335 1.785 26.963-4.202-1.484-2.15-2.985-4.327-4.469-6.495m168.086-4.797c-2.532-5.846-9.568-9.746-16.018-8.84-.577.08-1.11.444-1.768.729v9.044c1.217-.196 2.222-.436 3.234-.498 2.54-.16 5.028 1.218 5.935 3.198 1.021 2.222.435 5.393-1.52 7.108-.985.862-2.158 1.732-3.393 2.06-2.968.791-6.006 1.645-9.053 1.768-5.57.24-11.167-.123-16.746.045-4.513.143-8.76 2.452-11.106 6.308-4.068 6.699-2.159 15.99 3.99 20.505 5.97 4.379 14.872 3.597 20.157-1.84 3.812-3.918 5.455-8.804 6.317-14.418h-9.32c-.32 1.012-.604 2.212-1.065 3.34-.507 1.235-1.031 2.496-1.777 3.59-1.848 2.7-5.17 3.588-7.934 2.282-2.186-1.03-3.624-4.024-3.145-6.538.587-3.083 2.168-4.176 6.184-4.185 5.685-.017 11.37.178 17.048-.01 5.686-.195 10.998-1.829 15.538-5.418 5.358-4.229 7.187-11.886 4.442-18.23m-133.989 4.824c-2.372 3.118-5.712 3.918-9.346 3.9-1.75-.01-3.5-.284-5.766-.48 0-6.21-.23-12.198.098-18.159.16-2.958 2.736-4.602 5.41-5.366 3.119-.897 6.184-.639 8.627 1.902 4.158 4.344 4.628 13.396.977 18.203m11.434-13.415c-1.484-10.27-9.258-16.445-19.554-15.84-2.23.133-4.424.852-7.01 1.386V31.5h-9.39v55.072c4.21 1.466 12.749 2.532 17.022 2.186 10.217-.827 16.684-5.988 18.683-15.556.71-3.368.746-7.036.249-10.448m-87.73-14.446c-2.586 7.294-5.188 14.606-7.791 21.926h-.827c-2.594-7.338-5.197-14.667-7.791-21.988h-8.093c-2.63 7.4-5.233 14.73-7.836 22.068h-.755l-7.827-21.97H150c4.7 13.459 9.284 26.581 13.868 39.703h7.978l7.898-22.201h.8c2.638 7.444 5.267 14.898 7.853 22.183h7.995c4.602-13.175 9.187-26.306 13.869-39.72z\"/><g transform=\"translate(0 .5)\"><mask id=\"webiny-orange-logo_svg__b\" fill=\"#fff\"><use xlink:href=\"#webiny-orange-logo_svg__a\"/></mask><use xlink:href=\"#webiny-orange-logo_svg__a\" fill=\"#FA5A28\"/></g></g>"
|
|
12
|
+
};
|
|
13
|
+
const ReactComponent = ({ children, ...props })=>createElement("svg", {
|
|
14
|
+
...attributes,
|
|
15
|
+
...props,
|
|
16
|
+
dangerouslySetInnerHTML: innerHTML
|
|
17
|
+
});
|
|
30
18
|
const webiny_orange_logo = __rslib_svgr_url__0__;
|
|
31
19
|
export default webiny_orange_logo;
|
|
32
|
-
export {
|
|
20
|
+
export { ReactComponent };
|
|
33
21
|
|
|
34
22
|
//# sourceMappingURL=webiny-orange-logo.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assets/images/webiny-orange-logo.js","sources":["../../../src/assets/images/webiny-orange-logo.svg"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"file":"assets/images/webiny-orange-logo.js","sources":["../../../src/assets/images/webiny-orange-logo.svg"],"sourcesContent":["import { createElement } from \"react\";\n\nconst attributes = {\"xmlns\":\"http://www.w3.org/2000/svg\",\"xmlnsXlink\":\"http://www.w3.org/1999/xlink\",\"width\":\"413\",\"height\":\"136\",\"viewBox\":\"0 0 413 136\"};\nconst innerHTML = { __html: \"<defs><path id=\\\"webiny-orange-logo_svg__a\\\" d=\\\"m113.865 106.641-46.308 26.737a14.17 14.17 0 0 1-14.165 0L7.082 106.64A14.16 14.16 0 0 1 0 94.375V40.9c0-5.06 2.7-9.736 7.082-12.266l46.31-26.737a14.16 14.16 0 0 1 14.164 0l46.31 26.737a14.16 14.16 0 0 1 7.082 12.266v53.474c0 5.06-2.7 9.735-7.083 12.266M88.464 45.083c-3.473 9.8-6.971 19.624-10.468 29.458h-1.11C73.401 64.683 69.903 54.835 66.418 45H55.544c-3.533 9.943-7.03 19.79-10.527 29.65h-1.015c-3.545-9.956-7.09-19.91-10.516-29.519H20.5c6.315 18.083 12.473 35.712 18.632 53.342h10.719l10.611-29.828h1.075c3.544 10.002 7.078 20.017 10.55 29.804H82.83c6.183-17.701 12.342-35.342 18.633-53.366z\\\"/></defs><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path fill=\\\"#FA5A28\\\" d=\\\"M294.401 88.011h8.769V48.317H294.4zm96.784-39.738h-9.169c0 7.836.017 15.28-.009 22.726-.026 4.948-3.545 8.43-8.387 8.386-4.886-.036-7.151-2.514-7.187-8.023-.044-6.511 0-13.032-.026-19.544-.01-1.182-.205-2.364-.31-3.492h-8.566c-.15.356-.302.542-.302.73-.026 9.3-.178 18.62 0 27.922.09 4.53 2.221 8.075 6.69 9.976 4.575-3.047 9.64-2.78 14.712-2.158 4.14.515 8.19.23 12.642-.667-.036-11.993.098-23.898-.088-35.856m-42.555 9.364c-.107-3.856-2.577-6.69-6.122-8.325-3.66-1.687-7.56-2.416-11.469-1.492-3.234.764-6.317 2.159-9.559 3.314-1.404-1.217-3.012-2.603-4.771-4.14-2.194 1.972-4.096 3.669-5.988 5.365 4.051 5.082 4.051 5.082 4.051 11.7 0 6.824 0 13.656.01 20.478 0 1.102.097 2.213.16 3.457h9.043V65.757c0-4.833 2.523-8.076 7.232-9.293 5.508-1.422 8.386.755 8.405 6.423.026 7.232 0 14.472.017 21.713 0 1.102.106 2.203.169 3.322h8.902c0-10.252.177-20.273-.08-30.285m-118.62-1.635c4.388.302 6.085 2.079 5.783 6.53-4.442 4.468-9.959 2.576-15.156 2.879.373-5.518 4.7-9.729 9.373-9.409m12.775 20.14c-2.248.978-4.21 1.884-6.219 2.675-3.145 1.252-6.405 1.617-9.745.941-3.323-.666-4.922-2.257-5.553-5.765 1.892 0 3.722-.01 5.544 0 4.3.043 8.475-.56 12.313-2.603 7.844-4.185 8.813-15.015 1.714-20.203-7.525-5.508-18.754-5.038-25.257 2.701-4.869 5.8-5.82 12.589-4.655 19.856.959 5.934 4.024 10.42 9.364 13.095 7.587 3.802 20.335 1.785 26.963-4.202-1.484-2.15-2.985-4.327-4.469-6.495m168.086-4.797c-2.532-5.846-9.568-9.746-16.018-8.84-.577.08-1.11.444-1.768.729v9.044c1.217-.196 2.222-.436 3.234-.498 2.54-.16 5.028 1.218 5.935 3.198 1.021 2.222.435 5.393-1.52 7.108-.985.862-2.158 1.732-3.393 2.06-2.968.791-6.006 1.645-9.053 1.768-5.57.24-11.167-.123-16.746.045-4.513.143-8.76 2.452-11.106 6.308-4.068 6.699-2.159 15.99 3.99 20.505 5.97 4.379 14.872 3.597 20.157-1.84 3.812-3.918 5.455-8.804 6.317-14.418h-9.32c-.32 1.012-.604 2.212-1.065 3.34-.507 1.235-1.031 2.496-1.777 3.59-1.848 2.7-5.17 3.588-7.934 2.282-2.186-1.03-3.624-4.024-3.145-6.538.587-3.083 2.168-4.176 6.184-4.185 5.685-.017 11.37.178 17.048-.01 5.686-.195 10.998-1.829 15.538-5.418 5.358-4.229 7.187-11.886 4.442-18.23m-133.989 4.824c-2.372 3.118-5.712 3.918-9.346 3.9-1.75-.01-3.5-.284-5.766-.48 0-6.21-.23-12.198.098-18.159.16-2.958 2.736-4.602 5.41-5.366 3.119-.897 6.184-.639 8.627 1.902 4.158 4.344 4.628 13.396.977 18.203m11.434-13.415c-1.484-10.27-9.258-16.445-19.554-15.84-2.23.133-4.424.852-7.01 1.386V31.5h-9.39v55.072c4.21 1.466 12.749 2.532 17.022 2.186 10.217-.827 16.684-5.988 18.683-15.556.71-3.368.746-7.036.249-10.448m-87.73-14.446c-2.586 7.294-5.188 14.606-7.791 21.926h-.827c-2.594-7.338-5.197-14.667-7.791-21.988h-8.093c-2.63 7.4-5.233 14.73-7.836 22.068h-.755l-7.827-21.97H150c4.7 13.459 9.284 26.581 13.868 39.703h7.978l7.898-22.201h.8c2.638 7.444 5.267 14.898 7.853 22.183h7.995c4.602-13.175 9.187-26.306 13.869-39.72z\\\"/><g transform=\\\"translate(0 .5)\\\"><mask id=\\\"webiny-orange-logo_svg__b\\\" fill=\\\"#fff\\\"><use xlink:href=\\\"#webiny-orange-logo_svg__a\\\"/></mask><use xlink:href=\\\"#webiny-orange-logo_svg__a\\\" fill=\\\"#FA5A28\\\"/></g></g>\" };\n\nexport const ReactComponent = ({ children, ...props }) => {\n return createElement(\"svg\", { ...attributes, ...props, dangerouslySetInnerHTML: innerHTML });\n};\n\nexport default \"__RSLIB_SVGR_AUTO_PUBLIC_PATH__static/svg/webiny-orange-logo.abbbe0ab.svg\";\n"],"names":["attributes","innerHTML","ReactComponent","children","props","createElement"],"mappings":";;AAEA,MAAMA,aAAa;IAAC,OAAQ;IAA6B,YAAa;IAA+B,OAAQ;IAAM,QAAS;IAAM,SAAU;AAAa;AACzJ,MAAMC,YAAY;IAAE,QAAQ;AAA8pH;AAEnrH,MAAMC,iBAAiB,CAAC,EAAEC,QAAQ,EAAE,GAAGC,OAAO,GAC1CC,cAAc,OAAO;QAAE,GAAGL,UAAU;QAAE,GAAGI,KAAK;QAAE,yBAAyBH;IAAU;AAG9F"}
|
|
@@ -1,33 +1,21 @@
|
|
|
1
|
-
import __rslib_svgr_url__0__ from "../../../static/svg/wby-horizontal.
|
|
2
|
-
import
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
d: "M294.401 88.011h8.769V48.317H294.4zm96.784-39.738h-9.169c0 7.836.017 15.28-.009 22.726-.026 4.948-3.545 8.43-8.387 8.386-4.886-.036-7.151-2.514-7.187-8.023-.044-6.511 0-13.032-.026-19.544-.01-1.182-.205-2.364-.31-3.492h-8.566c-.15.356-.302.542-.302.73-.026 9.3-.178 18.62 0 27.922.09 4.53 2.221 8.075 6.69 9.976 4.575-3.047 9.64-2.78 14.712-2.158 4.14.515 8.19.23 12.642-.667-.036-11.993.098-23.898-.088-35.856m-42.555 9.364c-.107-3.856-2.577-6.69-6.122-8.325-3.66-1.687-7.56-2.416-11.469-1.492-3.234.764-6.317 2.159-9.559 3.314-1.404-1.217-3.012-2.603-4.771-4.14-2.194 1.972-4.096 3.669-5.988 5.365 4.051 5.082 4.051 5.082 4.051 11.7 0 6.824 0 13.656.01 20.478 0 1.102.097 2.213.16 3.457h9.043V65.757c0-4.833 2.523-8.076 7.232-9.293 5.508-1.422 8.386.755 8.405 6.423.026 7.232 0 14.472.017 21.713 0 1.102.106 2.203.169 3.322h8.902c0-10.252.177-20.273-.08-30.285m-118.62-1.635c4.388.302 6.085 2.079 5.783 6.53-4.442 4.468-9.959 2.576-15.156 2.879.373-5.518 4.7-9.729 9.373-9.409m12.775 20.14c-2.248.978-4.21 1.884-6.219 2.675-3.145 1.252-6.405 1.617-9.745.941-3.323-.666-4.922-2.257-5.553-5.765 1.892 0 3.722-.01 5.544 0 4.3.043 8.475-.56 12.313-2.603 7.844-4.185 8.813-15.015 1.714-20.203-7.525-5.508-18.754-5.038-25.257 2.701-4.869 5.8-5.82 12.589-4.655 19.856.959 5.934 4.024 10.42 9.364 13.095 7.587 3.802 20.335 1.785 26.963-4.202-1.484-2.15-2.985-4.327-4.469-6.495m168.086-4.797c-2.532-5.846-9.568-9.746-16.018-8.84-.577.08-1.11.444-1.768.729v9.044c1.217-.196 2.222-.436 3.234-.498 2.54-.16 5.028 1.218 5.935 3.198 1.021 2.222.435 5.393-1.52 7.108-.985.862-2.158 1.732-3.393 2.06-2.968.791-6.006 1.645-9.053 1.768-5.57.24-11.167-.123-16.746.045-4.513.143-8.76 2.452-11.106 6.308-4.068 6.699-2.159 15.99 3.99 20.505 5.97 4.379 14.872 3.597 20.157-1.84 3.812-3.918 5.455-8.804 6.317-14.418h-9.32c-.32 1.012-.604 2.212-1.065 3.34-.507 1.235-1.031 2.496-1.777 3.59-1.848 2.7-5.17 3.588-7.934 2.282-2.186-1.03-3.624-4.024-3.145-6.538.587-3.083 2.168-4.176 6.184-4.185 5.685-.017 11.37.178 17.048-.01 5.686-.195 10.998-1.829 15.538-5.418 5.358-4.229 7.187-11.886 4.442-18.23m-133.989 4.824c-2.372 3.118-5.712 3.918-9.346 3.9-1.75-.01-3.5-.284-5.766-.48 0-6.21-.23-12.198.098-18.159.16-2.958 2.736-4.602 5.41-5.366 3.119-.897 6.184-.639 8.627 1.902 4.158 4.344 4.628 13.396.977 18.203m11.434-13.415c-1.484-10.27-9.258-16.445-19.554-15.84-2.23.133-4.424.852-7.01 1.386V31.5h-9.39v55.072c4.21 1.466 12.749 2.532 17.022 2.186 10.217-.827 16.684-5.988 18.683-15.556.71-3.368.746-7.036.249-10.448m-87.73-14.446c-2.586 7.294-5.188 14.606-7.791 21.926h-.827c-2.594-7.338-5.197-14.667-7.791-21.988h-8.093c-2.63 7.4-5.233 14.73-7.836 22.068h-.755l-7.827-21.97H150c4.7 13.459 9.284 26.581 13.868 39.703h7.978l7.898-22.201h.8c2.638 7.444 5.267 14.898 7.853 22.183h7.995c4.602-13.175 9.187-26.306 13.869-39.72z"
|
|
18
|
-
}), /*#__PURE__*/ __rspack_external_react.createElement("g", {
|
|
19
|
-
transform: "translate(0 .5)"
|
|
20
|
-
}, /*#__PURE__*/ __rspack_external_react.createElement("mask", {
|
|
21
|
-
id: "wby-horizontal_svg__b",
|
|
22
|
-
fill: "#fff"
|
|
23
|
-
}, /*#__PURE__*/ __rspack_external_react.createElement("use", {
|
|
24
|
-
xlinkHref: "#wby-horizontal_svg__a"
|
|
25
|
-
})), /*#__PURE__*/ __rspack_external_react.createElement("use", {
|
|
26
|
-
xlinkHref: "#wby-horizontal_svg__a",
|
|
27
|
-
fill: "#FA5A28"
|
|
28
|
-
}))));
|
|
1
|
+
import __rslib_svgr_url__0__ from "../../../static/svg/wby-horizontal.f449ee6d.svg";
|
|
2
|
+
import { createElement } from "react";
|
|
3
|
+
const attributes = {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
6
|
+
width: "inherit",
|
|
7
|
+
viewBox: "0 0 413 136"
|
|
8
|
+
};
|
|
9
|
+
const innerHTML = {
|
|
10
|
+
__html: "<defs><path id=\"wby-horizontal_svg__a\" d=\"m113.865 106.641-46.308 26.737a14.17 14.17 0 0 1-14.165 0L7.082 106.64A14.16 14.16 0 0 1 0 94.375V40.9c0-5.06 2.7-9.736 7.082-12.266l46.31-26.737a14.16 14.16 0 0 1 14.164 0l46.31 26.737a14.16 14.16 0 0 1 7.082 12.266v53.474c0 5.06-2.7 9.735-7.083 12.266M88.464 45.083c-3.473 9.8-6.971 19.624-10.468 29.458h-1.11C73.401 64.683 69.903 54.835 66.418 45H55.544c-3.533 9.943-7.03 19.79-10.527 29.65h-1.015c-3.545-9.956-7.09-19.91-10.516-29.519H20.5c6.315 18.083 12.473 35.712 18.632 53.342h10.719l10.611-29.828h1.075c3.544 10.002 7.078 20.017 10.55 29.804H82.83c6.183-17.701 12.342-35.342 18.633-53.366z\"/></defs><g fill=\"none\" fill-rule=\"evenodd\"><path fill=\"#FA5A28\" d=\"M294.401 88.011h8.769V48.317H294.4zm96.784-39.738h-9.169c0 7.836.017 15.28-.009 22.726-.026 4.948-3.545 8.43-8.387 8.386-4.886-.036-7.151-2.514-7.187-8.023-.044-6.511 0-13.032-.026-19.544-.01-1.182-.205-2.364-.31-3.492h-8.566c-.15.356-.302.542-.302.73-.026 9.3-.178 18.62 0 27.922.09 4.53 2.221 8.075 6.69 9.976 4.575-3.047 9.64-2.78 14.712-2.158 4.14.515 8.19.23 12.642-.667-.036-11.993.098-23.898-.088-35.856m-42.555 9.364c-.107-3.856-2.577-6.69-6.122-8.325-3.66-1.687-7.56-2.416-11.469-1.492-3.234.764-6.317 2.159-9.559 3.314-1.404-1.217-3.012-2.603-4.771-4.14-2.194 1.972-4.096 3.669-5.988 5.365 4.051 5.082 4.051 5.082 4.051 11.7 0 6.824 0 13.656.01 20.478 0 1.102.097 2.213.16 3.457h9.043V65.757c0-4.833 2.523-8.076 7.232-9.293 5.508-1.422 8.386.755 8.405 6.423.026 7.232 0 14.472.017 21.713 0 1.102.106 2.203.169 3.322h8.902c0-10.252.177-20.273-.08-30.285m-118.62-1.635c4.388.302 6.085 2.079 5.783 6.53-4.442 4.468-9.959 2.576-15.156 2.879.373-5.518 4.7-9.729 9.373-9.409m12.775 20.14c-2.248.978-4.21 1.884-6.219 2.675-3.145 1.252-6.405 1.617-9.745.941-3.323-.666-4.922-2.257-5.553-5.765 1.892 0 3.722-.01 5.544 0 4.3.043 8.475-.56 12.313-2.603 7.844-4.185 8.813-15.015 1.714-20.203-7.525-5.508-18.754-5.038-25.257 2.701-4.869 5.8-5.82 12.589-4.655 19.856.959 5.934 4.024 10.42 9.364 13.095 7.587 3.802 20.335 1.785 26.963-4.202-1.484-2.15-2.985-4.327-4.469-6.495m168.086-4.797c-2.532-5.846-9.568-9.746-16.018-8.84-.577.08-1.11.444-1.768.729v9.044c1.217-.196 2.222-.436 3.234-.498 2.54-.16 5.028 1.218 5.935 3.198 1.021 2.222.435 5.393-1.52 7.108-.985.862-2.158 1.732-3.393 2.06-2.968.791-6.006 1.645-9.053 1.768-5.57.24-11.167-.123-16.746.045-4.513.143-8.76 2.452-11.106 6.308-4.068 6.699-2.159 15.99 3.99 20.505 5.97 4.379 14.872 3.597 20.157-1.84 3.812-3.918 5.455-8.804 6.317-14.418h-9.32c-.32 1.012-.604 2.212-1.065 3.34-.507 1.235-1.031 2.496-1.777 3.59-1.848 2.7-5.17 3.588-7.934 2.282-2.186-1.03-3.624-4.024-3.145-6.538.587-3.083 2.168-4.176 6.184-4.185 5.685-.017 11.37.178 17.048-.01 5.686-.195 10.998-1.829 15.538-5.418 5.358-4.229 7.187-11.886 4.442-18.23m-133.989 4.824c-2.372 3.118-5.712 3.918-9.346 3.9-1.75-.01-3.5-.284-5.766-.48 0-6.21-.23-12.198.098-18.159.16-2.958 2.736-4.602 5.41-5.366 3.119-.897 6.184-.639 8.627 1.902 4.158 4.344 4.628 13.396.977 18.203m11.434-13.415c-1.484-10.27-9.258-16.445-19.554-15.84-2.23.133-4.424.852-7.01 1.386V31.5h-9.39v55.072c4.21 1.466 12.749 2.532 17.022 2.186 10.217-.827 16.684-5.988 18.683-15.556.71-3.368.746-7.036.249-10.448m-87.73-14.446c-2.586 7.294-5.188 14.606-7.791 21.926h-.827c-2.594-7.338-5.197-14.667-7.791-21.988h-8.093c-2.63 7.4-5.233 14.73-7.836 22.068h-.755l-7.827-21.97H150c4.7 13.459 9.284 26.581 13.868 39.703h7.978l7.898-22.201h.8c2.638 7.444 5.267 14.898 7.853 22.183h7.995c4.602-13.175 9.187-26.306 13.869-39.72z\"/><g transform=\"translate(0 .5)\"><mask id=\"wby-horizontal_svg__b\" fill=\"#fff\"><use xlink:href=\"#wby-horizontal_svg__a\"/></mask><use xlink:href=\"#wby-horizontal_svg__a\" fill=\"#FA5A28\"/></g></g>"
|
|
11
|
+
};
|
|
12
|
+
const ReactComponent = ({ children, ...props })=>createElement("svg", {
|
|
13
|
+
...attributes,
|
|
14
|
+
...props,
|
|
15
|
+
dangerouslySetInnerHTML: innerHTML
|
|
16
|
+
});
|
|
29
17
|
const wby_horizontal = __rslib_svgr_url__0__;
|
|
30
18
|
export default wby_horizontal;
|
|
31
|
-
export {
|
|
19
|
+
export { ReactComponent };
|
|
32
20
|
|
|
33
21
|
//# sourceMappingURL=wby-horizontal.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base/Base/Tenant/wby-horizontal.js","sources":["../../../../src/base/Base/Tenant/wby-horizontal.svg"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"file":"base/Base/Tenant/wby-horizontal.js","sources":["../../../../src/base/Base/Tenant/wby-horizontal.svg"],"sourcesContent":["import { createElement } from \"react\";\n\nconst attributes = {\"xmlns\":\"http://www.w3.org/2000/svg\",\"xmlnsXlink\":\"http://www.w3.org/1999/xlink\",\"width\":\"inherit\",\"viewBox\":\"0 0 413 136\"};\nconst innerHTML = { __html: \"<defs><path id=\\\"wby-horizontal_svg__a\\\" d=\\\"m113.865 106.641-46.308 26.737a14.17 14.17 0 0 1-14.165 0L7.082 106.64A14.16 14.16 0 0 1 0 94.375V40.9c0-5.06 2.7-9.736 7.082-12.266l46.31-26.737a14.16 14.16 0 0 1 14.164 0l46.31 26.737a14.16 14.16 0 0 1 7.082 12.266v53.474c0 5.06-2.7 9.735-7.083 12.266M88.464 45.083c-3.473 9.8-6.971 19.624-10.468 29.458h-1.11C73.401 64.683 69.903 54.835 66.418 45H55.544c-3.533 9.943-7.03 19.79-10.527 29.65h-1.015c-3.545-9.956-7.09-19.91-10.516-29.519H20.5c6.315 18.083 12.473 35.712 18.632 53.342h10.719l10.611-29.828h1.075c3.544 10.002 7.078 20.017 10.55 29.804H82.83c6.183-17.701 12.342-35.342 18.633-53.366z\\\"/></defs><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"><path fill=\\\"#FA5A28\\\" d=\\\"M294.401 88.011h8.769V48.317H294.4zm96.784-39.738h-9.169c0 7.836.017 15.28-.009 22.726-.026 4.948-3.545 8.43-8.387 8.386-4.886-.036-7.151-2.514-7.187-8.023-.044-6.511 0-13.032-.026-19.544-.01-1.182-.205-2.364-.31-3.492h-8.566c-.15.356-.302.542-.302.73-.026 9.3-.178 18.62 0 27.922.09 4.53 2.221 8.075 6.69 9.976 4.575-3.047 9.64-2.78 14.712-2.158 4.14.515 8.19.23 12.642-.667-.036-11.993.098-23.898-.088-35.856m-42.555 9.364c-.107-3.856-2.577-6.69-6.122-8.325-3.66-1.687-7.56-2.416-11.469-1.492-3.234.764-6.317 2.159-9.559 3.314-1.404-1.217-3.012-2.603-4.771-4.14-2.194 1.972-4.096 3.669-5.988 5.365 4.051 5.082 4.051 5.082 4.051 11.7 0 6.824 0 13.656.01 20.478 0 1.102.097 2.213.16 3.457h9.043V65.757c0-4.833 2.523-8.076 7.232-9.293 5.508-1.422 8.386.755 8.405 6.423.026 7.232 0 14.472.017 21.713 0 1.102.106 2.203.169 3.322h8.902c0-10.252.177-20.273-.08-30.285m-118.62-1.635c4.388.302 6.085 2.079 5.783 6.53-4.442 4.468-9.959 2.576-15.156 2.879.373-5.518 4.7-9.729 9.373-9.409m12.775 20.14c-2.248.978-4.21 1.884-6.219 2.675-3.145 1.252-6.405 1.617-9.745.941-3.323-.666-4.922-2.257-5.553-5.765 1.892 0 3.722-.01 5.544 0 4.3.043 8.475-.56 12.313-2.603 7.844-4.185 8.813-15.015 1.714-20.203-7.525-5.508-18.754-5.038-25.257 2.701-4.869 5.8-5.82 12.589-4.655 19.856.959 5.934 4.024 10.42 9.364 13.095 7.587 3.802 20.335 1.785 26.963-4.202-1.484-2.15-2.985-4.327-4.469-6.495m168.086-4.797c-2.532-5.846-9.568-9.746-16.018-8.84-.577.08-1.11.444-1.768.729v9.044c1.217-.196 2.222-.436 3.234-.498 2.54-.16 5.028 1.218 5.935 3.198 1.021 2.222.435 5.393-1.52 7.108-.985.862-2.158 1.732-3.393 2.06-2.968.791-6.006 1.645-9.053 1.768-5.57.24-11.167-.123-16.746.045-4.513.143-8.76 2.452-11.106 6.308-4.068 6.699-2.159 15.99 3.99 20.505 5.97 4.379 14.872 3.597 20.157-1.84 3.812-3.918 5.455-8.804 6.317-14.418h-9.32c-.32 1.012-.604 2.212-1.065 3.34-.507 1.235-1.031 2.496-1.777 3.59-1.848 2.7-5.17 3.588-7.934 2.282-2.186-1.03-3.624-4.024-3.145-6.538.587-3.083 2.168-4.176 6.184-4.185 5.685-.017 11.37.178 17.048-.01 5.686-.195 10.998-1.829 15.538-5.418 5.358-4.229 7.187-11.886 4.442-18.23m-133.989 4.824c-2.372 3.118-5.712 3.918-9.346 3.9-1.75-.01-3.5-.284-5.766-.48 0-6.21-.23-12.198.098-18.159.16-2.958 2.736-4.602 5.41-5.366 3.119-.897 6.184-.639 8.627 1.902 4.158 4.344 4.628 13.396.977 18.203m11.434-13.415c-1.484-10.27-9.258-16.445-19.554-15.84-2.23.133-4.424.852-7.01 1.386V31.5h-9.39v55.072c4.21 1.466 12.749 2.532 17.022 2.186 10.217-.827 16.684-5.988 18.683-15.556.71-3.368.746-7.036.249-10.448m-87.73-14.446c-2.586 7.294-5.188 14.606-7.791 21.926h-.827c-2.594-7.338-5.197-14.667-7.791-21.988h-8.093c-2.63 7.4-5.233 14.73-7.836 22.068h-.755l-7.827-21.97H150c4.7 13.459 9.284 26.581 13.868 39.703h7.978l7.898-22.201h.8c2.638 7.444 5.267 14.898 7.853 22.183h7.995c4.602-13.175 9.187-26.306 13.869-39.72z\\\"/><g transform=\\\"translate(0 .5)\\\"><mask id=\\\"wby-horizontal_svg__b\\\" fill=\\\"#fff\\\"><use xlink:href=\\\"#wby-horizontal_svg__a\\\"/></mask><use xlink:href=\\\"#wby-horizontal_svg__a\\\" fill=\\\"#FA5A28\\\"/></g></g>\" };\n\nexport const ReactComponent = ({ children, ...props }) => {\n return createElement(\"svg\", { ...attributes, ...props, dangerouslySetInnerHTML: innerHTML });\n};\n\nexport default \"__RSLIB_SVGR_AUTO_PUBLIC_PATH__static/svg/wby-horizontal.f449ee6d.svg\";\n"],"names":["attributes","innerHTML","ReactComponent","children","props","createElement"],"mappings":";;AAEA,MAAMA,aAAa;IAAC,OAAQ;IAA6B,YAAa;IAA+B,OAAQ;IAAU,SAAU;AAAa;AAC9I,MAAMC,YAAY;IAAE,QAAQ;AAA8oH;AAEnqH,MAAMC,iBAAiB,CAAC,EAAEC,QAAQ,EAAE,GAAGC,OAAO,GAC1CC,cAAc,OAAO;QAAE,GAAGL,UAAU;QAAE,GAAGI,KAAK;QAAE,yBAAyBH;IAAU;AAG9F"}
|
|
@@ -1,20 +1,22 @@
|
|
|
1
|
-
import __rslib_svgr_url__0__ from "../../../static/svg/wby-square.
|
|
2
|
-
import
|
|
3
|
-
const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import __rslib_svgr_url__0__ from "../../../static/svg/wby-square.84718ea6.svg";
|
|
2
|
+
import { createElement } from "react";
|
|
3
|
+
const attributes = {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
width: "44",
|
|
6
|
+
height: "49",
|
|
7
|
+
fill: "none",
|
|
8
|
+
viewBox: "0 0 44 49"
|
|
9
|
+
};
|
|
10
|
+
const innerHTML = {
|
|
11
|
+
__html: "<path fill=\"#FA5723\" fill-rule=\"evenodd\" d=\"m24.884 47.91 16.573-9.44a4.99 4.99 0 0 0 2.535-4.332v-18.88a4.99 4.99 0 0 0-2.535-4.33l-16.573-9.44a5.13 5.13 0 0 0-5.069 0l-16.573 9.44a4.99 4.99 0 0 0-2.535 4.33v18.88c0 1.787.966 3.438 2.535 4.331l16.573 9.44a5.13 5.13 0 0 0 5.07 0m4.59-23.144q1.452-4.021 2.893-8.031h4.652L30.35 35.577h-3.845c-.703-1.955-1.413-3.936-2.127-5.928l-1.649-4.595h-.384l-3.798 10.531h-3.836l-.245-.692-6.423-18.141h4.647c1.227 3.392 2.495 6.907 3.764 10.422h.363c1.252-3.481 2.503-6.958 3.768-10.469h3.891l1.167 3.248 2.58 7.183h.396z\" clip-rule=\"evenodd\"/>"
|
|
12
|
+
};
|
|
13
|
+
const ReactComponent = ({ children, ...props })=>createElement("svg", {
|
|
14
|
+
...attributes,
|
|
15
|
+
...props,
|
|
16
|
+
dangerouslySetInnerHTML: innerHTML
|
|
17
|
+
});
|
|
16
18
|
const wby_square = __rslib_svgr_url__0__;
|
|
17
19
|
export default wby_square;
|
|
18
|
-
export {
|
|
20
|
+
export { ReactComponent };
|
|
19
21
|
|
|
20
22
|
//# sourceMappingURL=wby-square.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base/Base/Tenant/wby-square.js","sources":["../../../../src/base/Base/Tenant/wby-square.svg"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"file":"base/Base/Tenant/wby-square.js","sources":["../../../../src/base/Base/Tenant/wby-square.svg"],"sourcesContent":["import { createElement } from \"react\";\n\nconst attributes = {\"xmlns\":\"http://www.w3.org/2000/svg\",\"width\":\"44\",\"height\":\"49\",\"fill\":\"none\",\"viewBox\":\"0 0 44 49\"};\nconst innerHTML = { __html: \"<path fill=\\\"#FA5723\\\" fill-rule=\\\"evenodd\\\" d=\\\"m24.884 47.91 16.573-9.44a4.99 4.99 0 0 0 2.535-4.332v-18.88a4.99 4.99 0 0 0-2.535-4.33l-16.573-9.44a5.13 5.13 0 0 0-5.069 0l-16.573 9.44a4.99 4.99 0 0 0-2.535 4.33v18.88c0 1.787.966 3.438 2.535 4.331l16.573 9.44a5.13 5.13 0 0 0 5.07 0m4.59-23.144q1.452-4.021 2.893-8.031h4.652L30.35 35.577h-3.845c-.703-1.955-1.413-3.936-2.127-5.928l-1.649-4.595h-.384l-3.798 10.531h-3.836l-.245-.692-6.423-18.141h4.647c1.227 3.392 2.495 6.907 3.764 10.422h.363c1.252-3.481 2.503-6.958 3.768-10.469h3.891l1.167 3.248 2.58 7.183h.396z\\\" clip-rule=\\\"evenodd\\\"/>\" };\n\nexport const ReactComponent = ({ children, ...props }) => {\n return createElement(\"svg\", { ...attributes, ...props, dangerouslySetInnerHTML: innerHTML });\n};\n\nexport default \"__RSLIB_SVGR_AUTO_PUBLIC_PATH__static/svg/wby-square.84718ea6.svg\";\n"],"names":["attributes","innerHTML","ReactComponent","children","props","createElement"],"mappings":";;AAEA,MAAMA,aAAa;IAAC,OAAQ;IAA6B,OAAQ;IAAK,QAAS;IAAK,MAAO;IAAO,SAAU;AAAW;AACvH,MAAMC,YAAY;IAAE,QAAQ;AAAmlB;AAExmB,MAAMC,iBAAiB,CAAC,EAAEC,QAAQ,EAAE,GAAGC,OAAO,GAC1CC,cAAc,OAAO;QAAE,GAAGL,UAAU;QAAE,GAAGI,KAAK;QAAE,yBAAyBH;IAAU;AAG9F"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import react from "react";
|
|
2
|
+
import { cn } from "@webiny/admin-ui";
|
|
3
|
+
const ButtonContainer = ({ className, ...props })=>/*#__PURE__*/ react.createElement("div", {
|
|
4
|
+
className: cn("ml-md text-nowrap empty:hidden", className),
|
|
5
|
+
...props
|
|
6
|
+
});
|
|
7
|
+
export { ButtonContainer };
|
|
8
|
+
|
|
9
|
+
//# sourceMappingURL=ButtonContainer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components/Buttons/ButtonContainer.js","sources":["../../../src/components/Buttons/ButtonContainer.tsx"],"sourcesContent":["import React from \"react\";\nimport { cn } from \"@webiny/admin-ui\";\n\nexport const ButtonContainer = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => {\n return <div className={cn(\"ml-md text-nowrap empty:hidden\", className)} {...props} />;\n};\n"],"names":["ButtonContainer","className","props","cn"],"mappings":";;AAGO,MAAMA,kBAAkB,CAAC,EAAEC,SAAS,EAAE,GAAGC,OAA6C,GAClF,WAAP,GAAO,oBAAC;QAAI,WAAWC,GAAG,kCAAkCF;QAAa,GAAGC,KAAK"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { ButtonContainer } from "./
|
|
2
|
+
import { ButtonContainer } from "./ButtonContainer.js";
|
|
3
3
|
import { type ButtonProps as BaseButtonProps, type IconButtonProps as BaseIconButtonProps, type TooltipProps } from "@webiny/admin-ui";
|
|
4
4
|
interface ButtonProps extends Omit<BaseButtonProps, "onClick"> {
|
|
5
5
|
onAction: (ev?: any) => void;
|
|
@@ -17,8 +17,8 @@ export interface ButtonsProps {
|
|
|
17
17
|
}[];
|
|
18
18
|
}
|
|
19
19
|
export declare const Buttons: (props: ButtonsProps) => React.JSX.Element | null;
|
|
20
|
-
export { ButtonContainer };
|
|
21
20
|
export declare const ButtonDefault: ({ onAction, children, ...other }: ButtonProps) => React.JSX.Element;
|
|
22
21
|
export declare const ButtonPrimary: ({ onAction, children, ...other }: ButtonProps) => React.JSX.Element;
|
|
23
22
|
export declare const ButtonSecondary: ({ onAction, children, ...other }: ButtonProps) => React.JSX.Element;
|
|
24
23
|
export declare const IconButton: ({ label, onAction, tooltipPlacement, disabled, ...other }: IconButtonProps) => React.JSX.Element;
|
|
24
|
+
export { ButtonContainer };
|
|
@@ -44,7 +44,7 @@ const Buttons_IconButton = ({ label, onAction, tooltipPlacement, disabled, ...ot
|
|
|
44
44
|
disabled: disabled
|
|
45
45
|
});
|
|
46
46
|
};
|
|
47
|
-
export { ButtonContainer } from "./
|
|
47
|
+
export { ButtonContainer } from "./ButtonContainer.js";
|
|
48
48
|
export { ButtonDefault, ButtonPrimary, ButtonSecondary, Buttons, Buttons_IconButton as IconButton };
|
|
49
49
|
|
|
50
50
|
//# sourceMappingURL=Buttons.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components/Buttons/Buttons.js","sources":["../../../src/components/Buttons/Buttons.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { ButtonsProvider } from \"./useButtons.js\";\nimport { ButtonContainer } from \"./
|
|
1
|
+
{"version":3,"file":"components/Buttons/Buttons.js","sources":["../../../src/components/Buttons/Buttons.tsx"],"sourcesContent":["import React from \"react\";\n\nimport { ButtonsProvider } from \"./useButtons.js\";\nimport { ButtonContainer } from \"./ButtonContainer.js\";\nimport {\n Button,\n type ButtonProps as BaseButtonProps,\n IconButton as BaseIconButton,\n type IconButtonProps as BaseIconButtonProps,\n Tooltip,\n type TooltipProps\n} from \"@webiny/admin-ui\";\n\ninterface ButtonProps extends Omit<BaseButtonProps, \"onClick\"> {\n onAction: (ev?: any) => void;\n children: React.ReactNode;\n}\n\ninterface IconButtonProps extends Omit<BaseIconButtonProps, \"onClick\"> {\n label: string;\n onAction: (ev?: any) => void;\n tooltipPlacement?: TooltipProps[\"side\"];\n}\n\nexport interface ButtonsProps {\n actions: {\n name: string;\n element: React.ReactElement;\n }[];\n}\n\nexport const Buttons = (props: ButtonsProps) => {\n if (!props.actions.length) {\n return null;\n }\n\n return (\n <div className={\"flex items-center gap-sm\"}>\n {props.actions.map(action => (\n <div className={\"empty:hidden leading-none text-0\"} key={action.name}>\n <ButtonsProvider>{action.element}</ButtonsProvider>\n </div>\n ))}\n </div>\n );\n};\n\nexport const ButtonDefault = ({ onAction, children, ...other }: ButtonProps) => {\n return <Button variant={\"ghost\"} {...other} onClick={onAction} text={children} />;\n};\n\nexport const ButtonPrimary = ({ onAction, children, ...other }: ButtonProps) => {\n return <Button variant={\"primary\"} {...other} onClick={onAction} text={children} />;\n};\n\nexport const ButtonSecondary = ({ onAction, children, ...other }: ButtonProps) => {\n return <Button variant={\"secondary\"} {...other} onClick={onAction} text={children} />;\n};\n\nexport const IconButton = ({\n label,\n onAction,\n tooltipPlacement,\n disabled,\n ...other\n}: IconButtonProps) => {\n if (label && !disabled) {\n return (\n <Tooltip\n content={label}\n side={tooltipPlacement}\n trigger={<BaseIconButton variant={\"ghost\"} {...other} onClick={onAction} />}\n />\n );\n }\n\n return <BaseIconButton {...other} onClick={onAction} disabled={disabled} />;\n};\n\n// Kept so deep imports of `Buttons.js` keep working in this patch release.\nexport { ButtonContainer };\n"],"names":["Buttons","props","action","ButtonsProvider","ButtonDefault","onAction","children","other","Button","ButtonPrimary","ButtonSecondary","IconButton","label","tooltipPlacement","disabled","Tooltip","BaseIconButton"],"mappings":";;;AA+BO,MAAMA,UAAU,CAACC;IACpB,IAAI,CAACA,MAAM,OAAO,CAAC,MAAM,EACrB,OAAO;IAGX,OAAO,WAAP,GACI,oBAAC;QAAI,WAAW;OACXA,MAAM,OAAO,CAAC,GAAG,CAACC,CAAAA,SAAAA,WAAAA,GACf,oBAAC;YAAI,WAAW;YAAoC,KAAKA,OAAO,IAAI;yBAChE,oBAACC,iBAAeA,MAAED,OAAO,OAAO;AAKpD;AAEO,MAAME,gBAAgB,CAAC,EAAEC,QAAQ,EAAEC,QAAQ,EAAE,GAAGC,OAAoB,GAChE,WAAP,GAAO,oBAACC,QAAMA;QAAC,SAAS;QAAU,GAAGD,KAAK;QAAE,SAASF;QAAU,MAAMC;;AAGlE,MAAMG,gBAAgB,CAAC,EAAEJ,QAAQ,EAAEC,QAAQ,EAAE,GAAGC,OAAoB,GAChE,WAAP,GAAO,oBAACC,QAAMA;QAAC,SAAS;QAAY,GAAGD,KAAK;QAAE,SAASF;QAAU,MAAMC;;AAGpE,MAAMI,kBAAkB,CAAC,EAAEL,QAAQ,EAAEC,QAAQ,EAAE,GAAGC,OAAoB,GAClE,WAAP,GAAO,oBAACC,QAAMA;QAAC,SAAS;QAAc,GAAGD,KAAK;QAAE,SAASF;QAAU,MAAMC;;AAGtE,MAAMK,qBAAa,CAAC,EACvBC,KAAK,EACLP,QAAQ,EACRQ,gBAAgB,EAChBC,QAAQ,EACR,GAAGP,OACW;IACd,IAAIK,SAAS,CAACE,UACV,OAAO,WAAP,GACI,oBAACC,SAAOA;QACJ,SAASH;QACT,MAAMC;QACN,uBAAS,oBAACG,YAAcA;YAAC,SAAS;YAAU,GAAGT,KAAK;YAAE,SAASF;;;IAK3E,OAAO,WAAP,GAAO,oBAACW,YAAcA;QAAE,GAAGT,KAAK;QAAE,SAASF;QAAU,UAAUS;;AACnE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components/IconPicker/plugins/customPlugin.js","sources":["../../../../src/components/IconPicker/plugins/customPlugin.tsx"],"sourcesContent":["import React from \"react\";\nimport { useApolloClient } from \"@apollo/react-hooks\";\nimport { observer } from \"mobx-react-lite\";\nimport { Button } from \"@webiny/admin-ui\";\nimport type { FileManagerFileItem } from \"~/base/ui/FileManager.js\";\nimport { FileManager } from \"~/base/ui/FileManager.js\";\nimport { IconPickerTab } from \"../IconPickerTab.js\";\nimport { useIcon } from \"../index.js\";\nimport { useIconPicker } from \"../IconPickerPresenterProvider.js\";\nimport { IconPickerConfig } from \"../config/index.js\";\nimport type { ListCustomIconsQueryResponse } from \"./graphql.js\";\nimport { LIST_CUSTOM_ICONS } from \"./graphql.js\";\nimport type { Icon } from \"../types.js\";\n\n/**\n * NOTE: Avoid
|
|
1
|
+
{"version":3,"file":"components/IconPicker/plugins/customPlugin.js","sources":["../../../../src/components/IconPicker/plugins/customPlugin.tsx"],"sourcesContent":["import React from \"react\";\nimport { useApolloClient } from \"@apollo/react-hooks\";\nimport { observer } from \"mobx-react-lite\";\nimport { Button } from \"@webiny/admin-ui\";\nimport type { FileManagerFileItem } from \"~/base/ui/FileManager.js\";\nimport { FileManager } from \"~/base/ui/FileManager.js\";\nimport { IconPickerTab } from \"../IconPickerTab.js\";\nimport { useIcon } from \"../index.js\";\nimport { useIconPicker } from \"../IconPickerPresenterProvider.js\";\nimport { IconPickerConfig } from \"../config/index.js\";\nimport type { ListCustomIconsQueryResponse } from \"./graphql.js\";\nimport { LIST_CUSTOM_ICONS } from \"./graphql.js\";\nimport type { Icon } from \"../types.js\";\n\n/**\n * NOTE: Avoid styling icon renderer components with CSS classes (Tailwind or otherwise) across all plugins.\n * This is crucial for serializing component rendering into a string value as plain HTML,\n * which is necessary for usage in the website application. Please use inline styles here\n * to ensure proper serialization.\n */\n\nconst CustomIcon = () => {\n const { icon, size } = useIcon<Icon>();\n\n return (\n <img\n width={size}\n height={size}\n src={icon.value}\n alt={icon.name}\n style={{\n verticalAlign: \"middle\"\n }}\n />\n );\n};\n\ninterface IconFilePickerProps {\n onUpload: (file: FileManagerFileItem) => void;\n onChange: (file: FileManagerFileItem) => void;\n}\n\nconst IconFilePicker = ({ onUpload, onChange }: IconFilePickerProps) => {\n return (\n <FileManager\n onUploadCompletion={([file]) => {\n onUpload(file);\n }}\n onChange={onChange}\n scope=\"scope:iconPicker\"\n accept={[\"image/svg+xml\"]}\n render={({ showFileManager }) => (\n <Button\n variant={\"primary\"}\n text={\"Browse\"}\n onClick={() => {\n showFileManager();\n }}\n />\n )}\n ></FileManager>\n );\n};\n\nconst CustomIconTab = observer(() => {\n const presenter = useIconPicker();\n\n const onIconSelect = (icon: Icon) => {\n presenter.setIcon(icon);\n presenter.closeMenu();\n };\n\n const onIconFileSelect = (file: FileManagerFileItem) => {\n presenter.setIcon({\n type: \"custom\",\n name: file.name,\n value: file.src\n });\n presenter.closeMenu();\n };\n\n const onIconFileUpload = (file: FileManagerFileItem) => {\n const icon = {\n type: \"custom\",\n name: file.name,\n value: file.src\n };\n\n presenter.addIcon(icon);\n presenter.setIcon(icon);\n presenter.closeMenu();\n };\n\n return (\n <IconPickerTab\n value={\"custom\"}\n label={\"Custom\"}\n onChange={onIconSelect}\n actions={<IconFilePicker onChange={onIconFileSelect} onUpload={onIconFileUpload} />}\n />\n );\n});\n\nexport const CustomIconPlugin = () => {\n const client = useApolloClient();\n\n return (\n <IconPickerConfig>\n <IconPickerConfig.IconPack\n name=\"custom\"\n provider={async () => {\n const { data: response } = await client.query<ListCustomIconsQueryResponse>({\n query: LIST_CUSTOM_ICONS,\n variables: {\n limit: 10000\n }\n });\n\n if (!response) {\n throw new Error(\"Network error while listing custom icons.\");\n }\n\n const { data, error } = response.fileManager.listFiles;\n\n if (!data) {\n throw new Error(error?.message || \"Could not fetch custom icons.\");\n }\n\n return data.map(customIcon => ({\n type: \"custom\",\n name: customIcon.name,\n value: customIcon.src\n }));\n }}\n />\n <IconPickerConfig.IconType name={\"custom\"}>\n <IconPickerConfig.IconType.Icon element={<CustomIcon />} />\n <IconPickerConfig.IconType.Tab element={<CustomIconTab />} />\n </IconPickerConfig.IconType>\n </IconPickerConfig>\n );\n};\n"],"names":["CustomIcon","icon","size","useIcon","IconFilePicker","onUpload","onChange","FileManager","file","showFileManager","Button","CustomIconTab","observer","presenter","useIconPicker","onIconSelect","onIconFileSelect","onIconFileUpload","IconPickerTab","CustomIconPlugin","client","useApolloClient","IconPickerConfig","response","LIST_CUSTOM_ICONS","Error","data","error","customIcon"],"mappings":";;;;;;;;;;AAqBA,MAAMA,aAAa;IACf,MAAM,EAAEC,IAAI,EAAEC,IAAI,EAAE,GAAGC;IAEvB,OAAO,WAAP,GACI,oBAAC;QACG,OAAOD;QACP,QAAQA;QACR,KAAKD,KAAK,KAAK;QACf,KAAKA,KAAK,IAAI;QACd,OAAO;YACH,eAAe;QACnB;;AAGZ;AAOA,MAAMG,iBAAiB,CAAC,EAAEC,QAAQ,EAAEC,QAAQ,EAAuB,GACxD,WAAP,GACI,oBAACC,aAAWA;QACR,oBAAoB,CAAC,CAACC,KAAK;YACvBH,SAASG;QACb;QACA,UAAUF;QACV,OAAM;QACN,QAAQ;YAAC;SAAgB;QACzB,QAAQ,CAAC,EAAEG,eAAe,EAAE,iBACxB,oBAACC,QAAMA;gBACH,SAAS;gBACT,MAAM;gBACN,SAAS;oBACLD;gBACJ;;;AAOpB,MAAME,gBAAgBC,SAAS;IAC3B,MAAMC,YAAYC;IAElB,MAAMC,eAAe,CAACd;QAClBY,UAAU,OAAO,CAACZ;QAClBY,UAAU,SAAS;IACvB;IAEA,MAAMG,mBAAmB,CAACR;QACtBK,UAAU,OAAO,CAAC;YACd,MAAM;YACN,MAAML,KAAK,IAAI;YACf,OAAOA,KAAK,GAAG;QACnB;QACAK,UAAU,SAAS;IACvB;IAEA,MAAMI,mBAAmB,CAACT;QACtB,MAAMP,OAAO;YACT,MAAM;YACN,MAAMO,KAAK,IAAI;YACf,OAAOA,KAAK,GAAG;QACnB;QAEAK,UAAU,OAAO,CAACZ;QAClBY,UAAU,OAAO,CAACZ;QAClBY,UAAU,SAAS;IACvB;IAEA,OAAO,WAAP,GACI,oBAACK,eAAaA;QACV,OAAO;QACP,OAAO;QACP,UAAUH;QACV,uBAAS,oBAACX,gBAAAA;YAAe,UAAUY;YAAkB,UAAUC;;;AAG3E;AAEO,MAAME,mBAAmB;IAC5B,MAAMC,SAASC;IAEf,OAAO,WAAP,GACI,oBAACC,kBAAgBA,MAAAA,WAAAA,GACb,oBAACA,iBAAiB,QAAQ;QACtB,MAAK;QACL,UAAU;YACN,MAAM,EAAE,MAAMC,QAAQ,EAAE,GAAG,MAAMH,OAAO,KAAK,CAA+B;gBACxE,OAAOI;gBACP,WAAW;oBACP,OAAO;gBACX;YACJ;YAEA,IAAI,CAACD,UACD,MAAM,IAAIE,MAAM;YAGpB,MAAM,EAAEC,IAAI,EAAEC,KAAK,EAAE,GAAGJ,SAAS,WAAW,CAAC,SAAS;YAEtD,IAAI,CAACG,MACD,MAAM,IAAID,MAAME,OAAO,WAAW;YAGtC,OAAOD,KAAK,GAAG,CAACE,CAAAA,aAAe;oBAC3B,MAAM;oBACN,MAAMA,WAAW,IAAI;oBACrB,OAAOA,WAAW,GAAG;gBACzB;QACJ;sBAEJ,oBAACN,iBAAiB,QAAQ;QAAC,MAAM;qBAC7B,oBAACA,iBAAiB,QAAQ,CAAC,IAAI;QAAC,uBAAS,oBAACtB,YAAAA;sBAC1C,oBAACsB,iBAAiB,QAAQ,CAAC,GAAG;QAAC,uBAAS,oBAACX,eAAAA;;AAIzD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components/IconPicker/plugins/emojisPlugin.js","sources":["../../../../src/components/IconPicker/plugins/emojisPlugin.tsx"],"sourcesContent":["import React, { useState } from \"react\";\nimport { observer } from \"mobx-react-lite\";\nimport { cn, PopoverPrimitive } from \"@webiny/admin-ui\";\nimport { useIcon } from \"../index.js\";\nimport { IconPickerTab } from \"../IconPickerTab.js\";\nimport { IconProvider } from \"../IconRenderer.js\";\nimport { useIconPicker } from \"../IconPickerPresenterProvider.js\";\nimport { IconPickerConfig } from \"../config/index.js\";\nimport type { Icon } from \"../types.js\";\n\nconst SKIN_TONES = [\"\", \"\\u{1f3fb}\", \"\\u{1f3fc}\", \"\\u{1f3fd}\", \"\\u{1f3fe}\", \"\\u{1f3ff}\"];\n\nconst SkinToneSelectWrapper = (props: React.HTMLAttributes<HTMLDivElement>) => {\n return (\n <div\n className={cn(\n \"size-xl rounded-sm pointer border-solid border-sm border-neutral-muted flex justify-center items-center text-center\"\n )}\n >\n {props.children}\n </div>\n );\n};\n\n/**\n * NOTE: Avoid
|
|
1
|
+
{"version":3,"file":"components/IconPicker/plugins/emojisPlugin.js","sources":["../../../../src/components/IconPicker/plugins/emojisPlugin.tsx"],"sourcesContent":["import React, { useState } from \"react\";\nimport { observer } from \"mobx-react-lite\";\nimport { cn, PopoverPrimitive } from \"@webiny/admin-ui\";\nimport { useIcon } from \"../index.js\";\nimport { IconPickerTab } from \"../IconPickerTab.js\";\nimport { IconProvider } from \"../IconRenderer.js\";\nimport { useIconPicker } from \"../IconPickerPresenterProvider.js\";\nimport { IconPickerConfig } from \"../config/index.js\";\nimport type { Icon } from \"../types.js\";\n\nconst SKIN_TONES = [\"\", \"\\u{1f3fb}\", \"\\u{1f3fc}\", \"\\u{1f3fd}\", \"\\u{1f3fe}\", \"\\u{1f3ff}\"];\n\nconst SkinToneSelectWrapper = (props: React.HTMLAttributes<HTMLDivElement>) => {\n return (\n <div\n className={cn(\n \"size-xl rounded-sm pointer border-solid border-sm border-neutral-muted flex justify-center items-center text-center\"\n )}\n >\n {props.children}\n </div>\n );\n};\n\n/**\n * NOTE: Avoid styling icon renderer components with CSS classes (Tailwind or otherwise) across all plugins.\n * This is crucial for serializing component rendering into a string value as plain HTML,\n * which is necessary for usage in the website application. Please use inline styles here\n * to ensure proper serialization.\n */\n\ninterface Emoji extends Icon {\n skinTone: string;\n skinToneSupport: boolean;\n}\n\nconst Emoji = () => {\n const { icon, size } = useIcon<Emoji>();\n\n return (\n <div\n style={{\n display: \"inline-block\",\n width: `${size}px`,\n height: `${size}px`,\n fontSize: `${(size * 4) / 5}px`,\n lineHeight: `${size}px`,\n color: \"black\"\n }}\n >\n {icon.skinTone ? icon.value + icon.skinTone : icon.value}\n </div>\n );\n};\n\ninterface SkinToneSelectProps {\n icon: Icon | null;\n hasSkinToneSupport: boolean;\n onChange: (skinTone: string) => void;\n}\n\nconst SkinToneSelect = ({ icon, hasSkinToneSupport, onChange }: SkinToneSelectProps) => {\n const [open, setOpen] = useState(false);\n\n if (!icon || !isEmoji(icon)) {\n return <SkinToneSelectWrapper />;\n }\n\n if (!hasSkinToneSupport) {\n return (\n <SkinToneSelectWrapper>\n <IconProvider icon={icon} size={24}>\n <Emoji />\n </IconProvider>\n </SkinToneSelectWrapper>\n );\n }\n\n return (\n <PopoverPrimitive open={open} onOpenChange={open => setOpen(open)}>\n <PopoverPrimitive.Trigger className={\"outline-none\"}>\n <SkinToneSelectWrapper>\n <IconProvider icon={icon} size={24}>\n <Emoji />\n </IconProvider>\n </SkinToneSelectWrapper>\n </PopoverPrimitive.Trigger>\n <PopoverPrimitive.Content>\n <div className={\"bg-neutral-base grid gap-xs p-xs text-center\"}>\n {SKIN_TONES.map((skinTone, index) => (\n <div\n key={index}\n onClick={() => {\n onChange(skinTone);\n }}\n className={\"cursor-pointer\"}\n >\n <IconProvider icon={{ ...icon, skinTone }} size={24}>\n <Emoji />\n </IconProvider>\n </div>\n ))}\n </div>\n </PopoverPrimitive.Content>\n </PopoverPrimitive>\n );\n};\n\n/**\n * @see https://www.typescriptlang.org/docs/handbook/2/narrowing.html#using-type-predicates\n */\nconst isEmoji = (icon: Icon | null): icon is Emoji => {\n if (!icon) {\n return false;\n }\n return icon.type === \"emoji\";\n};\n\nconst EmojiTab = observer(() => {\n const presenter = useIconPicker();\n const { selectedIcon } = presenter.vm;\n\n const onSkinToneChange = (skinTone: string) => {\n if (isEmoji(selectedIcon)) {\n presenter.setIcon({ ...selectedIcon, skinTone });\n }\n };\n\n const onIconSelect = (icon: Icon) => {\n presenter.setIcon(icon);\n presenter.closeMenu();\n };\n\n const hasSkinToneSupport = isEmoji(selectedIcon) ? selectedIcon.skinToneSupport : false;\n\n return (\n <IconPickerTab\n value={\"emoji\"}\n label={\"Emojis\"}\n onChange={onIconSelect}\n actions={\n <SkinToneSelect\n icon={selectedIcon}\n hasSkinToneSupport={hasSkinToneSupport}\n onChange={onSkinToneChange}\n />\n }\n />\n );\n});\n\nexport const EmojiPlugin = () => {\n return (\n <IconPickerConfig>\n <IconPickerConfig.IconType name={\"emoji\"}>\n <IconPickerConfig.IconType.Icon element={<Emoji />} />\n <IconPickerConfig.IconType.Tab element={<EmojiTab />} />\n </IconPickerConfig.IconType>\n </IconPickerConfig>\n );\n};\n"],"names":["SKIN_TONES","SkinToneSelectWrapper","props","cn","Emoji","icon","size","useIcon","SkinToneSelect","hasSkinToneSupport","onChange","open","setOpen","useState","isEmoji","IconProvider","PopoverPrimitive","skinTone","index","EmojiTab","observer","presenter","useIconPicker","selectedIcon","onSkinToneChange","onIconSelect","IconPickerTab","EmojiPlugin","IconPickerConfig"],"mappings":";;;;;;;;AAUA,MAAMA,aAAa;IAAC;IAAI;IAAa;IAAa;IAAa;IAAa;CAAY;AAExF,MAAMC,wBAAwB,CAACC,QACpB,WAAP,GACI,oBAAC;QACG,WAAWC,GACP;OAGHD,MAAM,QAAQ;AAiB3B,MAAME,QAAQ;IACV,MAAM,EAAEC,IAAI,EAAEC,IAAI,EAAE,GAAGC;IAEvB,OAAO,WAAP,GACI,oBAAC;QACG,OAAO;YACH,SAAS;YACT,OAAO,GAAGD,KAAK,EAAE,CAAC;YAClB,QAAQ,GAAGA,KAAK,EAAE,CAAC;YACnB,UAAU,GAAIA,AAAO,IAAPA,OAAY,EAAE,EAAE,CAAC;YAC/B,YAAY,GAAGA,KAAK,EAAE,CAAC;YACvB,OAAO;QACX;OAECD,KAAK,QAAQ,GAAGA,KAAK,KAAK,GAAGA,KAAK,QAAQ,GAAGA,KAAK,KAAK;AAGpE;AAQA,MAAMG,iBAAiB,CAAC,EAAEH,IAAI,EAAEI,kBAAkB,EAAEC,QAAQ,EAAuB;IAC/E,MAAM,CAACC,MAAMC,QAAQ,GAAGC,SAAS;IAEjC,IAAI,CAACR,QAAQ,CAACS,QAAQT,OAClB,OAAO,WAAP,GAAO,oBAACJ,uBAAAA;IAGZ,IAAI,CAACQ,oBACD,OAAO,WAAP,GACI,oBAACR,uBAAAA,MAAAA,WAAAA,GACG,oBAACc,cAAYA;QAAC,MAAMV;QAAM,MAAM;qBAC5B,oBAACD,OAAAA;IAMjB,OAAO,WAAP,GACI,oBAACY,kBAAgBA;QAAC,MAAML;QAAM,cAAcA,CAAAA,OAAQC,QAAQD;qBACxD,oBAACK,iBAAiB,OAAO;QAAC,WAAW;qBACjC,oBAACf,uBAAAA,MAAAA,WAAAA,GACG,oBAACc,cAAYA;QAAC,MAAMV;QAAM,MAAM;qBAC5B,oBAACD,OAAAA,UAAAA,WAAAA,GAIb,oBAACY,iBAAiB,OAAO,sBACrB,oBAAC;QAAI,WAAW;OACXhB,WAAW,GAAG,CAAC,CAACiB,UAAUC,QAAAA,WAAAA,GACvB,oBAAC;YACG,KAAKA;YACL,SAAS;gBACLR,SAASO;YACb;YACA,WAAW;yBAEX,oBAACF,cAAYA;YAAC,MAAM;gBAAE,GAAGV,IAAI;gBAAEY;YAAS;YAAG,MAAM;yBAC7C,oBAACb,OAAAA;AAQjC;AAKA,MAAMU,UAAU,CAACT;IACb,IAAI,CAACA,MACD,OAAO;IAEX,OAAOA,AAAc,YAAdA,KAAK,IAAI;AACpB;AAEA,MAAMc,WAAWC,SAAS;IACtB,MAAMC,YAAYC;IAClB,MAAM,EAAEC,YAAY,EAAE,GAAGF,UAAU,EAAE;IAErC,MAAMG,mBAAmB,CAACP;QACtB,IAAIH,QAAQS,eACRF,UAAU,OAAO,CAAC;YAAE,GAAGE,YAAY;YAAEN;QAAS;IAEtD;IAEA,MAAMQ,eAAe,CAACpB;QAClBgB,UAAU,OAAO,CAAChB;QAClBgB,UAAU,SAAS;IACvB;IAEA,MAAMZ,qBAAqBK,QAAQS,gBAAgBA,aAAa,eAAe,GAAG;IAElF,OAAO,WAAP,GACI,oBAACG,eAAaA;QACV,OAAO;QACP,OAAO;QACP,UAAUD;QACV,uBACI,oBAACjB,gBAAAA;YACG,MAAMe;YACN,oBAAoBd;YACpB,UAAUe;;;AAK9B;AAEO,MAAMG,cAAc,IAChB,WAAP,GACI,oBAACC,kBAAgBA,MAAAA,WAAAA,GACb,oBAACA,iBAAiB,QAAQ;QAAC,MAAM;qBAC7B,oBAACA,iBAAiB,QAAQ,CAAC,IAAI;QAAC,uBAAS,oBAACxB,OAAAA;sBAC1C,oBAACwB,iBAAiB,QAAQ,CAAC,GAAG;QAAC,uBAAS,oBAACT,UAAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components/IconPicker/plugins/iconsPlugin.js","sources":["../../../../src/components/IconPicker/plugins/iconsPlugin.tsx"],"sourcesContent":["import React, { useState, useEffect } from \"react\";\nimport { observer } from \"mobx-react-lite\";\nimport { DelayedOnChange, ColorPicker } from \"@webiny/admin-ui\";\n\nimport { useIcon } from \"../index.js\";\nimport { IconPickerTab } from \"../IconPickerTab.js\";\nimport { useIconPicker } from \"../IconPickerPresenterProvider.js\";\nimport { IconPickerConfig } from \"../config/index.js\";\nimport type { Icon } from \"../types.js\";\n\n/**\n * NOTE: Avoid
|
|
1
|
+
{"version":3,"file":"components/IconPicker/plugins/iconsPlugin.js","sources":["../../../../src/components/IconPicker/plugins/iconsPlugin.tsx"],"sourcesContent":["import React, { useState, useEffect } from \"react\";\nimport { observer } from \"mobx-react-lite\";\nimport { DelayedOnChange, ColorPicker } from \"@webiny/admin-ui\";\n\nimport { useIcon } from \"../index.js\";\nimport { IconPickerTab } from \"../IconPickerTab.js\";\nimport { useIconPicker } from \"../IconPickerPresenterProvider.js\";\nimport { IconPickerConfig } from \"../config/index.js\";\nimport type { Icon } from \"../types.js\";\n\n/**\n * NOTE: Avoid styling icon renderer components with CSS classes (Tailwind or otherwise) across all plugins.\n * This is crucial for serializing component rendering into a string value as plain HTML,\n * which is necessary for usage in the website application. Please use inline styles here\n * to ensure proper serialization.\n */\n\ninterface SimpleIcon extends Icon {\n color: string;\n}\n\nconst IconSvg = () => {\n const { icon, size } = useIcon<SimpleIcon>();\n\n return (\n <svg\n width={size}\n height={size}\n viewBox={`0 0 ${icon.width || 512} 512`}\n color={icon?.color || \"inherit\"}\n dangerouslySetInnerHTML={{ __html: icon.value || \"\" }}\n style={{\n verticalAlign: \"middle\",\n width: \"100%\",\n height: \"100%\"\n }}\n />\n );\n};\n\ninterface IconColorPickerProps {\n color: string;\n onChange: (value: string) => void;\n}\n\nconst IconColorPicker = ({ color, onChange }: IconColorPickerProps) => {\n return (\n <DelayedOnChange value={color} onChange={onChange}>\n {({ value, onChange }) => (\n <ColorPicker align={\"end\"} value={value} onChange={onChange} />\n )}\n </DelayedOnChange>\n );\n};\n\n/**\n * @see https://www.typescriptlang.org/docs/handbook/2/narrowing.html#using-type-predicates\n */\nconst isSimpleIcon = (icon: Icon | null): icon is SimpleIcon => {\n if (!icon) {\n return false;\n }\n return icon.type === \"icon\";\n};\n\nconst IconTab = observer(() => {\n const presenter = useIconPicker();\n const { selectedIcon } = presenter.vm;\n\n const [color, setColor] = useState(\"inherit\");\n\n useEffect(() => {\n if (color === \"inherit\" && isSimpleIcon(selectedIcon)) {\n setColor(selectedIcon.color);\n }\n }, [selectedIcon]);\n\n const onColorChange = (color: string) => {\n setColor(color);\n\n if (isSimpleIcon(selectedIcon)) {\n presenter.setIcon({ ...selectedIcon, color });\n }\n };\n\n const onIconSelect = (icon: Icon) => {\n // Set icon and assign current color.\n presenter.setIcon({ ...icon, color });\n presenter.closeMenu();\n };\n\n return (\n <IconPickerTab\n value={\"icon\"}\n label={\"Icons\"}\n onChange={onIconSelect}\n cellDecorator={cell => <span style={{ color }}>{cell}</span>}\n actions={<IconColorPicker color={color} onChange={onColorChange} />}\n />\n );\n});\n\nexport const SimpleIconPlugin = () => {\n return (\n <IconPickerConfig>\n <IconPickerConfig.IconType name={\"icon\"}>\n <IconPickerConfig.IconType.Icon element={<IconSvg />} />\n <IconPickerConfig.IconType.Tab element={<IconTab />} />\n </IconPickerConfig.IconType>\n </IconPickerConfig>\n );\n};\n"],"names":["IconSvg","icon","size","useIcon","IconColorPicker","color","onChange","DelayedOnChange","value","ColorPicker","isSimpleIcon","IconTab","observer","presenter","useIconPicker","selectedIcon","setColor","useState","useEffect","onColorChange","onIconSelect","IconPickerTab","cell","SimpleIconPlugin","IconPickerConfig"],"mappings":";;;;;;;AAqBA,MAAMA,UAAU;IACZ,MAAM,EAAEC,IAAI,EAAEC,IAAI,EAAE,GAAGC;IAEvB,OAAO,WAAP,GACI,oBAAC;QACG,OAAOD;QACP,QAAQA;QACR,SAAS,CAAC,IAAI,EAAED,KAAK,KAAK,IAAI,IAAI,IAAI,CAAC;QACvC,OAAOA,MAAM,SAAS;QACtB,yBAAyB;YAAE,QAAQA,KAAK,KAAK,IAAI;QAAG;QACpD,OAAO;YACH,eAAe;YACf,OAAO;YACP,QAAQ;QACZ;;AAGZ;AAOA,MAAMG,kBAAkB,CAAC,EAAEC,KAAK,EAAEC,QAAQ,EAAwB,GACvD,WAAP,GACI,oBAACC,iBAAeA;QAAC,OAAOF;QAAO,UAAUC;OACpC,CAAC,EAAEE,KAAK,EAAEF,QAAQ,EAAE,iBACjB,oBAACG,aAAWA;YAAC,OAAO;YAAO,OAAOD;YAAO,UAAUF;;AASnE,MAAMI,eAAe,CAACT;IAClB,IAAI,CAACA,MACD,OAAO;IAEX,OAAOA,AAAc,WAAdA,KAAK,IAAI;AACpB;AAEA,MAAMU,UAAUC,SAAS;IACrB,MAAMC,YAAYC;IAClB,MAAM,EAAEC,YAAY,EAAE,GAAGF,UAAU,EAAE;IAErC,MAAM,CAACR,OAAOW,SAAS,GAAGC,SAAS;IAEnCC,UAAU;QACN,IAAIb,AAAU,cAAVA,SAAuBK,aAAaK,eACpCC,SAASD,aAAa,KAAK;IAEnC,GAAG;QAACA;KAAa;IAEjB,MAAMI,gBAAgB,CAACd;QACnBW,SAASX;QAET,IAAIK,aAAaK,eACbF,UAAU,OAAO,CAAC;YAAE,GAAGE,YAAY;YAAEV;QAAM;IAEnD;IAEA,MAAMe,eAAe,CAACnB;QAElBY,UAAU,OAAO,CAAC;YAAE,GAAGZ,IAAI;YAAEI;QAAM;QACnCQ,UAAU,SAAS;IACvB;IAEA,OAAO,WAAP,GACI,oBAACQ,eAAaA;QACV,OAAO;QACP,OAAO;QACP,UAAUD;QACV,eAAeE,CAAAA,OAAAA,WAAAA,GAAQ,oBAAC;gBAAK,OAAO;oBAAEjB;gBAAM;eAAIiB;QAChD,uBAAS,oBAAClB,iBAAAA;YAAgB,OAAOC;YAAO,UAAUc;;;AAG9D;AAEO,MAAMI,mBAAmB,IACrB,WAAP,GACI,oBAACC,kBAAgBA,MAAAA,WAAAA,GACb,oBAACA,iBAAiB,QAAQ;QAAC,MAAM;qBAC7B,oBAACA,iBAAiB,QAAQ,CAAC,IAAI;QAAC,uBAAS,oBAACxB,SAAAA;sBAC1C,oBAACwB,iBAAiB,QAAQ,CAAC,GAAG;QAAC,uBAAS,oBAACb,SAAAA"}
|