@popsure/dirty-swan 0.58.6 → 0.59.0-alpha
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/dist/cjs/index.d.ts +1 -1
- package/dist/cjs/index.js +349 -285
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/lib/components/logo/LogoBlack.d.ts +3 -0
- package/dist/cjs/lib/components/logo/LogoColor.d.ts +3 -0
- package/dist/cjs/lib/components/logo/LogoInverted.d.ts +368 -0
- package/dist/cjs/lib/components/logo/LogoInvertedColor.d.ts +368 -0
- package/dist/cjs/lib/components/logo/LogoOrangeBox.d.ts +3 -0
- package/dist/cjs/lib/components/logo/LogoPositiveBlack.d.ts +368 -0
- package/dist/cjs/lib/components/logo/LogoPositiveColor.d.ts +368 -0
- package/dist/cjs/lib/components/logo/LogoWhite.d.ts +3 -0
- package/dist/cjs/lib/components/logo/LogoWrapper/LogoWrapper.d.ts +9 -0
- package/dist/cjs/lib/components/logo/logo.stories.d.ts +10 -0
- package/dist/cjs/lib/components/table/Table.d.ts +2 -1
- package/dist/cjs/lib/components/table/Table.stories.d.ts +6 -2
- package/dist/cjs/lib/components/table/components/TableCell/CTACell/CTACell.d.ts +2 -1
- package/dist/cjs/lib/components/table/components/TableCell/CTACell/CTACell.stories.d.ts +1 -1
- package/dist/cjs/lib/components/table/components/TableContents/TableContents.d.ts +2 -1
- package/dist/cjs/lib/components/table/components/TableSection/TableSection.d.ts +2 -1
- package/dist/cjs/lib/index.d.ts +9 -1
- package/dist/cjs/lib/models/styles.d.ts +1 -1
- package/dist/esm/{TableSection-f41d4248.js → TableSection-5277dae1.js} +4 -3
- package/dist/esm/TableSection-5277dae1.js.map +1 -0
- package/dist/esm/components/accordion/index.js +3 -3
- package/dist/esm/components/accordion/index.js.map +1 -1
- package/dist/esm/components/autocompleteAddress/index.js +2 -2
- package/dist/esm/components/autocompleteAddress/index.js.map +1 -1
- package/dist/esm/components/badge/index.js +4 -4
- package/dist/esm/components/badge/index.js.map +1 -1
- package/dist/esm/components/button/index.stories.js +3 -3
- package/dist/esm/components/button/index.stories.js.map +1 -1
- package/dist/esm/components/cards/card/index.js +2 -2
- package/dist/esm/components/cards/card/index.js.map +1 -1
- package/dist/esm/components/cards/card/index.stories.js +8 -8
- package/dist/esm/components/cards/card/index.stories.js.map +1 -1
- package/dist/esm/components/cards/cardButton/index.js +2 -2
- package/dist/esm/components/cards/cardButton/index.js.map +1 -1
- package/dist/esm/components/cards/index.js +1 -1
- package/dist/esm/components/cards/index.js.map +1 -1
- package/dist/esm/components/cards/infoCard/index.stories.js +1 -1
- package/dist/esm/components/cards/infoCard/index.stories.js.map +1 -1
- package/dist/esm/components/chip/index.js +1 -1
- package/dist/esm/components/comparisonTable/components/AccordionItem/AccordionItem.js +1 -1
- package/dist/esm/components/comparisonTable/components/Row/index.js +1 -1
- package/dist/esm/components/comparisonTable/components/TableArrows/index.js +1 -1
- package/dist/esm/components/comparisonTable/components/TableInfoButton/index.js +1 -1
- package/dist/esm/components/comparisonTable/components/TableRating/index.js +1 -1
- package/dist/esm/components/comparisonTable/components/TableRowHeader/index.js +1 -1
- package/dist/esm/components/comparisonTable/components/TableRowHeader/index.js.map +1 -1
- package/dist/esm/components/comparisonTable/index.js +1 -1
- package/dist/esm/components/downloadButton/index.js +1 -1
- package/dist/esm/components/downloadButton/index.js.map +1 -1
- package/dist/esm/components/icon/icons.stories.js +2 -2
- package/dist/esm/components/icon/icons.stories.js.map +1 -1
- package/dist/esm/components/icon/index.stories.js +1 -1
- package/dist/esm/components/icon/index.stories.js.map +1 -1
- package/dist/esm/components/informationBox/index.js +2 -2
- package/dist/esm/components/informationBox/index.js.map +1 -1
- package/dist/esm/components/input/autoSuggestInput/index.js +1 -1
- package/dist/esm/components/input/checkbox/index.js +1 -1
- package/dist/esm/components/input/checkbox/index.js.map +1 -1
- package/dist/esm/components/input/checkbox/index.stories.js +2 -2
- package/dist/esm/components/input/checkbox/index.stories.js.map +1 -1
- package/dist/esm/components/input/index.js +1 -1
- package/dist/esm/components/input/radio/index.js +1 -1
- package/dist/esm/components/input/radio/index.js.map +1 -1
- package/dist/esm/components/input/radio/index.stories.js +2 -2
- package/dist/esm/components/input/radio/index.stories.js.map +1 -1
- package/dist/esm/components/input/toggle/index.js +2 -2
- package/dist/esm/components/input/toggle/index.js.map +1 -1
- package/dist/esm/components/input/toggle/index.stories.js +2 -2
- package/dist/esm/components/input/toggle/index.stories.js.map +1 -1
- package/dist/esm/components/logo/LogoBlack.js +13 -0
- package/dist/esm/components/logo/LogoBlack.js.map +1 -0
- package/dist/esm/components/logo/LogoColor.js +13 -0
- package/dist/esm/components/logo/LogoColor.js.map +1 -0
- package/dist/esm/components/logo/LogoInverted.js +13 -0
- package/dist/esm/components/logo/LogoInverted.js.map +1 -0
- package/dist/esm/components/logo/LogoInvertedColor.js +13 -0
- package/dist/esm/components/logo/LogoInvertedColor.js.map +1 -0
- package/dist/esm/components/logo/LogoOrangeBox.js +13 -0
- package/dist/esm/components/logo/LogoOrangeBox.js.map +1 -0
- package/dist/esm/components/logo/LogoPositiveBlack.js +13 -0
- package/dist/esm/components/logo/LogoPositiveBlack.js.map +1 -0
- package/dist/esm/components/logo/LogoPositiveColor.js +13 -0
- package/dist/esm/components/logo/LogoPositiveColor.js.map +1 -0
- package/dist/esm/components/logo/LogoWhite.js +13 -0
- package/dist/esm/components/logo/LogoWhite.js.map +1 -0
- package/dist/esm/components/logo/LogoWrapper/LogoWrapper.js +16 -0
- package/dist/esm/components/logo/LogoWrapper/LogoWrapper.js.map +1 -0
- package/dist/esm/components/logo/logo.stories.js +28 -0
- package/dist/esm/components/logo/logo.stories.js.map +1 -0
- package/dist/esm/components/modal/genericModal/index.js +2 -2
- package/dist/esm/components/modal/genericModal/index.js.map +1 -1
- package/dist/esm/components/multiDropzone/UploadFileCell/index.js +4 -4
- package/dist/esm/components/multiDropzone/UploadFileCell/index.js.map +1 -1
- package/dist/esm/components/multiDropzone/index.js +3 -3
- package/dist/esm/components/multiDropzone/index.js.map +1 -1
- package/dist/esm/components/segmentedControl/index.js +4 -4
- package/dist/esm/components/segmentedControl/index.js.map +1 -1
- package/dist/esm/components/signaturePad/index.js +1 -1
- package/dist/esm/components/table/Table.js +9 -9
- package/dist/esm/components/table/Table.js.map +1 -1
- package/dist/esm/components/table/Table.stories.js +8 -4
- package/dist/esm/components/table/Table.stories.js.map +1 -1
- package/dist/esm/components/table/Table.test.js +2 -2
- package/dist/esm/components/table/components/TableCell/BaseCell/BaseCell.js +3 -3
- package/dist/esm/components/table/components/TableCell/BaseCell/BaseCell.js.map +1 -1
- package/dist/esm/components/table/components/TableCell/BaseCell/MiniProgressBar/MiniProgressBar.js +1 -1
- package/dist/esm/components/table/components/TableCell/ButtonCell/ButtonCell.js +2 -2
- package/dist/esm/components/table/components/TableCell/ButtonCell/ButtonCell.js.map +1 -1
- package/dist/esm/components/table/components/TableCell/CTACell/CTACell.js +11 -3
- package/dist/esm/components/table/components/TableCell/CTACell/CTACell.js.map +1 -1
- package/dist/esm/components/table/components/TableCell/CTACell/CTACell.stories.js +1 -0
- package/dist/esm/components/table/components/TableCell/CTACell/CTACell.stories.js.map +1 -1
- package/dist/esm/components/table/components/TableCell/TableCell.js +2 -2
- package/dist/esm/components/table/components/TableCell/TableCell.test.js +1 -1
- package/dist/esm/components/table/components/TableContents/TableContents.js +17 -8
- package/dist/esm/components/table/components/TableContents/TableContents.js.map +1 -1
- package/dist/esm/components/table/components/TableContents/TableContents.test.js +2 -2
- package/dist/esm/components/table/components/TableSection/TableSection.js +2 -2
- package/dist/esm/components/table/components/TableSection/TableSection.test.js +2 -2
- package/dist/esm/components/toast/index.js +1 -1
- package/dist/esm/components/toast/index.stories.js +2 -2
- package/dist/esm/components/toast/index.stories.js.map +1 -1
- package/dist/esm/components/toast/index.test.js +1 -1
- package/dist/esm/{index-4b19aafb.js → index-860896d2.js} +3 -3
- package/dist/esm/index-860896d2.js.map +1 -0
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +11 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/lib/components/logo/LogoBlack.d.ts +3 -0
- package/dist/esm/lib/components/logo/LogoColor.d.ts +3 -0
- package/dist/esm/lib/components/logo/LogoInverted.d.ts +368 -0
- package/dist/esm/lib/components/logo/LogoInvertedColor.d.ts +368 -0
- package/dist/esm/lib/components/logo/LogoOrangeBox.d.ts +3 -0
- package/dist/esm/lib/components/logo/LogoPositiveBlack.d.ts +368 -0
- package/dist/esm/lib/components/logo/LogoPositiveColor.d.ts +368 -0
- package/dist/esm/lib/components/logo/LogoWhite.d.ts +3 -0
- package/dist/esm/lib/components/logo/LogoWrapper/LogoWrapper.d.ts +9 -0
- package/dist/esm/lib/components/logo/logo.stories.d.ts +10 -0
- package/dist/esm/lib/components/table/Table.d.ts +2 -1
- package/dist/esm/lib/components/table/Table.stories.d.ts +6 -2
- package/dist/esm/lib/components/table/components/TableCell/CTACell/CTACell.d.ts +2 -1
- package/dist/esm/lib/components/table/components/TableCell/CTACell/CTACell.stories.d.ts +1 -1
- package/dist/esm/lib/components/table/components/TableContents/TableContents.d.ts +2 -1
- package/dist/esm/lib/components/table/components/TableSection/TableSection.d.ts +2 -1
- package/dist/esm/lib/index.d.ts +9 -1
- package/dist/esm/lib/models/styles.d.ts +1 -1
- package/dist/esm/scss/private/base/demo.js +1 -1
- package/dist/esm/scss/public/demo.js +143 -133
- package/dist/esm/scss/public/demo.js.map +1 -1
- package/dist/esm/util/images/index.stories.js +2 -2
- package/dist/esm/util/images/index.stories.js.map +1 -1
- package/dist/index.css +328 -378
- package/dist/index.css.map +1 -1
- package/dist/lib/scss/index.scss +1 -1
- package/dist/lib/scss/private/base/_typography.scss +4 -4
- package/dist/lib/scss/private/base/style.module.scss +3 -3
- package/dist/lib/scss/private/components/_badge.scss +3 -3
- package/dist/lib/scss/private/components/_buttons.scss +39 -39
- package/dist/lib/scss/private/components/_cards.scss +2 -2
- package/dist/lib/scss/private/components/_input.scss +26 -26
- package/dist/lib/scss/private/components/_notices.scss +4 -4
- package/dist/lib/scss/private/components/_spinner.scss +1 -1
- package/dist/lib/scss/public/colors/default.scss +79 -91
- package/dist/lib/scss/public/demo.tsx +152 -136
- package/dist/lib/scss/public/shadows.scss +10 -5
- package/dist/lib/scss/third-party/_google_places.scss +3 -3
- package/package.json +1 -1
- package/src/index.tsx +8 -0
- package/src/lib/components/accordion/index.tsx +2 -2
- package/src/lib/components/accordion/style.module.scss +10 -10
- package/src/lib/components/autocompleteAddress/index.tsx +1 -1
- package/src/lib/components/autocompleteAddress/style.module.scss +1 -1
- package/src/lib/components/badge/index.tsx +4 -4
- package/src/lib/components/button/index.stories.tsx +8 -8
- package/src/lib/components/cards/card/index.stories.tsx +17 -18
- package/src/lib/components/cards/card/index.tsx +1 -1
- package/src/lib/components/cards/card/style.module.scss +7 -7
- package/src/lib/components/cards/cardButton/index.tsx +2 -2
- package/src/lib/components/cards/infoCard/index.stories.tsx +1 -1
- package/src/lib/components/cards/infoCard/index.tsx +1 -1
- package/src/lib/components/chip/style.module.scss +6 -6
- package/src/lib/components/comparisonTable/components/AccordionItem/AccordionItem.module.scss +2 -2
- package/src/lib/components/comparisonTable/components/Row/style.module.scss +4 -4
- package/src/lib/components/comparisonTable/components/TableArrows/style.module.scss +5 -5
- package/src/lib/components/comparisonTable/components/TableInfoButton/style.module.scss +4 -4
- package/src/lib/components/comparisonTable/components/TableRating/style.module.scss +2 -2
- package/src/lib/components/comparisonTable/components/TableRowHeader/index.tsx +1 -1
- package/src/lib/components/comparisonTable/style.module.scss +3 -3
- package/src/lib/components/dateSelector/components/datepicker.scss +12 -12
- package/src/lib/components/downloadButton/index.tsx +2 -2
- package/src/lib/components/icon/icons.stories.tsx +1 -1
- package/src/lib/components/icon/index.stories.tsx +1 -1
- package/src/lib/components/icon/style.module.scss +1 -1
- package/src/lib/components/informationBox/index.tsx +1 -1
- package/src/lib/components/input/autoSuggestInput/style.module.scss +3 -3
- package/src/lib/components/input/checkbox/index.stories.tsx +2 -2
- package/src/lib/components/input/checkbox/index.tsx +1 -1
- package/src/lib/components/input/radio/index.stories.tsx +2 -2
- package/src/lib/components/input/radio/index.tsx +1 -1
- package/src/lib/components/input/style.module.scss +6 -6
- package/src/lib/components/input/toggle/index.stories.tsx +2 -2
- package/src/lib/components/input/toggle/index.tsx +1 -1
- package/src/lib/components/input/toggle/styles.module.scss +6 -6
- package/src/lib/components/logo/LogoBlack.tsx +13 -0
- package/src/lib/components/logo/LogoColor.tsx +13 -0
- package/src/lib/components/logo/LogoInverted.tsx +41 -0
- package/src/lib/components/logo/LogoInvertedColor.tsx +41 -0
- package/src/lib/components/logo/LogoOrangeBox.tsx +21 -0
- package/src/lib/components/logo/LogoPositiveBlack.tsx +41 -0
- package/src/lib/components/logo/LogoPositiveColor.tsx +41 -0
- package/src/lib/components/logo/LogoWhite.tsx +13 -0
- package/src/lib/components/logo/LogoWrapper/LogoWrapper.tsx +29 -0
- package/src/lib/components/logo/LogoWrapper/styles.module.scss +3 -0
- package/src/lib/components/logo/logo.stories.tsx +75 -0
- package/src/lib/components/modal/genericModal/index.tsx +1 -1
- package/src/lib/components/modal/genericModal/style.module.scss +3 -3
- package/src/lib/components/multiDropzone/UploadFileCell/index.tsx +4 -4
- package/src/lib/components/multiDropzone/UploadFileCell/style.module.scss +4 -4
- package/src/lib/components/multiDropzone/index.tsx +2 -2
- package/src/lib/components/multiDropzone/style.module.scss +3 -3
- package/src/lib/components/segmentedControl/index.tsx +4 -4
- package/src/lib/components/segmentedControl/style.module.scss +1 -1
- package/src/lib/components/signaturePad/style.module.scss +6 -6
- package/src/lib/components/table/Table.stories.tsx +6 -0
- package/src/lib/components/table/Table.tsx +5 -1
- package/src/lib/components/table/components/TableCell/BaseCell/BaseCell.module.scss +1 -1
- package/src/lib/components/table/components/TableCell/BaseCell/BaseCell.tsx +5 -5
- package/src/lib/components/table/components/TableCell/BaseCell/MiniProgressBar/MiniProgressBar.module.scss +3 -3
- package/src/lib/components/table/components/TableCell/ButtonCell/ButtonCell.module.scss +7 -7
- package/src/lib/components/table/components/TableCell/ButtonCell/ButtonCell.tsx +1 -1
- package/src/lib/components/table/components/TableCell/CTACell/CTACell.tsx +12 -6
- package/src/lib/components/table/components/TableCell/TableCell.module.scss +1 -1
- package/src/lib/components/table/components/TableContents/TableContents.tsx +65 -51
- package/src/lib/components/table/components/TableSection/TableSection.tsx +8 -1
- package/src/lib/components/toast/index.stories.tsx +1 -1
- package/src/lib/components/toast/index.tsx +1 -1
- package/src/lib/components/toast/style.module.scss +4 -4
- package/src/lib/index.tsx +16 -0
- package/src/lib/models/styles.ts +12 -31
- package/src/lib/scss/index.scss +1 -1
- package/src/lib/scss/private/base/_typography.scss +4 -4
- package/src/lib/scss/private/base/border_radius.mdx +2 -2
- package/src/lib/scss/private/base/flex/flex.mdx +12 -12
- package/src/lib/scss/private/base/style.module.scss +3 -3
- package/src/lib/scss/private/components/_badge.scss +3 -3
- package/src/lib/scss/private/components/_buttons.scss +39 -39
- package/src/lib/scss/private/components/_cards.scss +2 -2
- package/src/lib/scss/private/components/_input.scss +26 -26
- package/src/lib/scss/private/components/_notices.scss +4 -4
- package/src/lib/scss/private/components/_spinner.scss +1 -1
- package/src/lib/scss/public/colors/default.scss +79 -91
- package/src/lib/scss/public/colors.mdx +1 -1
- package/src/lib/scss/public/demo.tsx +152 -136
- package/src/lib/scss/public/shadows.mdx +13 -12
- package/src/lib/scss/public/shadows.scss +10 -5
- package/src/lib/scss/third-party/_google_places.scss +3 -3
- package/src/lib/util/images/index.stories.tsx +1 -1
- package/src/lib/util/images/style.module.scss +1 -1
- package/dist/esm/TableSection-f41d4248.js.map +0 -1
- package/dist/esm/index-4b19aafb.js.map +0 -1
package/dist/cjs/index.js
CHANGED
|
@@ -229,9 +229,9 @@ function styleInject(css, ref) {
|
|
|
229
229
|
}
|
|
230
230
|
}
|
|
231
231
|
|
|
232
|
-
var css_248z$
|
|
233
|
-
var styles$
|
|
234
|
-
styleInject(css_248z$
|
|
232
|
+
var css_248z$K = ".style-module_container__3bJf5 {\n display: flex;\n}\n@media (max-width: 34rem) {\n .style-module_container__3bJf5 {\n width: 100%;\n flex-direction: column;\n }\n}\n\n.style-module_dayInput__1OBNv,\n.style-module_monthInput__2L_7o {\n width: 88px;\n flex: 1;\n}\n\n.style-module_yearInput__2C_H8 {\n width: 104px;\n}\n@media (max-width: 34rem) {\n .style-module_yearInput__2C_H8 {\n width: 100%;\n }\n}";
|
|
233
|
+
var styles$J = {"container":"style-module_container__3bJf5","dayInput":"style-module_dayInput__1OBNv","monthInput":"style-module_monthInput__2L_7o","yearInput":"style-module_yearInput__2C_H8"};
|
|
234
|
+
styleInject(css_248z$K);
|
|
235
235
|
|
|
236
236
|
var classnames = {exports: {}};
|
|
237
237
|
|
|
@@ -303,25 +303,25 @@ function generateId() {
|
|
|
303
303
|
return 'xxxx-xxxx-xxx-xxxx'.replace(/[x]/g, function () { return (Math.floor(Math.random() * 16).toString(16)); });
|
|
304
304
|
}
|
|
305
305
|
|
|
306
|
-
var css_248z$
|
|
307
|
-
var styles$
|
|
308
|
-
styleInject(css_248z$
|
|
306
|
+
var css_248z$J = ".style-module_container__2L4SP {\n position: relative;\n}\n\n.style-module_prefix__3jAFZ {\n position: absolute;\n left: 16px;\n top: 50%;\n transform: translateY(-50%);\n color: var(--ds-neutral-600);\n transition: 0.3s top;\n}\n.style-module_prefix--with-error__1yTTM {\n color: var(--ds-red-500);\n}\n.style-module_prefix--disabled__2-gcw {\n color: var(--ds-neutral-700);\n}\n\n.style-module_input__1eJO5:not(:placeholder-shown) ~ .style-module_placeholder__1U2z0,\n.style-module_input__1eJO5:focus ~ .style-module_placeholder__1U2z0,\n.style-module_input--with-inside-label__253bZ ~ .style-module_placeholder__1U2z0 {\n top: 7px;\n left: 16px;\n transform: translateY(0);\n font-size: 10px;\n line-height: 12px;\n opacity: 1;\n}\n\n.style-module_input__1eJO5:focus ~ .style-module_placeholder__1U2z0 {\n color: var(--ds-purple-600);\n}\n.style-module_input__1eJO5:focus ~ .style-module_placeholder--with-error__2ieRU {\n color: var(--ds-red-500);\n}\n\n.style-module_input__1eJO5:focus ~ .style-module_prefix__3jAFZ {\n color: var(--ds-purple-600);\n}\n.style-module_input__1eJO5:focus ~ .style-module_prefix--with-error__1yTTM {\n color: var(--ds-red-500);\n}\n\n.style-module_input__1eJO5:not(:placeholder-shown) ~ .style-module_prefix__3jAFZ,\n.style-module_input__1eJO5:focus ~ .style-module_prefix__3jAFZ {\n top: 28px;\n}\n\n.style-module_input--with-inside-label__253bZ ~ .style-module_prefix__3jAFZ,\n.style-module_input--with-inside-label__253bZ:focus ~ .style-module_prefix__3jAFZ,\n.style-module_input--with-inside-label__253bZ:not(:placeholder-shown) ~ .style-module_prefix__3jAFZ {\n top: 29px;\n}\n\n.style-module_input__1eJO5 {\n box-sizing: border-box;\n padding-top: 9px;\n font-family: inherit;\n}\n.style-module_input--no-placeholder__3EGwh {\n padding-top: 0px;\n}\n.style-module_input--with-prefix__38e0j {\n padding-left: 32px !important;\n}\n.style-module_input--with-inside-label__253bZ {\n padding-top: 9px;\n}\n\n.style-module_placeholder__1U2z0 {\n position: absolute;\n pointer-events: none;\n left: 16px;\n top: 50%;\n transform: translateY(-50%);\n transition: 0.3s ease all;\n color: var(--ds-neutral-600);\n}\n.style-module_placeholder--with-prefix__2PquQ {\n left: 32px;\n}\n.style-module_placeholder--with-error__2ieRU {\n color: var(--ds-red-500);\n}\n\n.style-module_label__3FEZ1 {\n display: inline-block;\n margin-bottom: 8px;\n color: var(--ds-neutral-700);\n}\n.style-module_label--with-error__166bP {\n color: var(--ds-red-500);\n}\n\n.style-module_error__167Zc {\n margin-top: 4px;\n}";
|
|
307
|
+
var styles$I = {"container":"style-module_container__2L4SP","prefix":"style-module_prefix__3jAFZ","prefix--with-error":"style-module_prefix--with-error__1yTTM","prefix--disabled":"style-module_prefix--disabled__2-gcw","input":"style-module_input__1eJO5","placeholder":"style-module_placeholder__1U2z0","input--with-inside-label":"style-module_input--with-inside-label__253bZ","placeholder--with-error":"style-module_placeholder--with-error__2ieRU","input--no-placeholder":"style-module_input--no-placeholder__3EGwh","input--with-prefix":"style-module_input--with-prefix__38e0j","placeholder--with-prefix":"style-module_placeholder--with-prefix__2PquQ","label":"style-module_label__3FEZ1","label--with-error":"style-module_label--with-error__166bP","error":"style-module_error__167Zc"};
|
|
308
|
+
styleInject(css_248z$J);
|
|
309
309
|
|
|
310
310
|
var Input = React__default['default'].forwardRef(function (_a, ref) {
|
|
311
311
|
var _b, _c, _d, _e, _f, _g;
|
|
312
312
|
var className = _a.className, placeholder = _a.placeholder, label = _a.label, id = _a.id, prefix = _a.prefix, error = _a.error, disabled = _a.disabled, _h = _a.hideLabel, hideLabel = _h === void 0 ? false : _h, _j = _a.labelInsideInput, labelInsideInput = _j === void 0 ? false : _j, props = __rest$1(_a, ["className", "placeholder", "label", "id", "prefix", "error", "disabled", "hideLabel", "labelInsideInput"]);
|
|
313
313
|
var uniqueId = React.useState(id !== null && id !== void 0 ? id : generateId())[0];
|
|
314
|
-
return (jsxRuntime.jsxs("div", { className: "".concat(styles$
|
|
315
|
-
_b[styles$
|
|
314
|
+
return (jsxRuntime.jsxs("div", { className: "".concat(styles$I.container, " ").concat(className !== null && className !== void 0 ? className : ''), children: [label && !labelInsideInput && (jsxRuntime.jsx("label", { htmlFor: uniqueId, className: classNames$1('p-p', styles$I.label, (_b = {},
|
|
315
|
+
_b[styles$I['label--with-error']] = error,
|
|
316
316
|
_b['sr-only'] = hideLabel,
|
|
317
317
|
_b)), children: label })), jsxRuntime.jsxs("div", { style: { position: 'relative' }, children: [jsxRuntime.jsx("input", __assign({ id: uniqueId, "data-testid": "ds-input-input", type: "text", ref: ref, className: classNames$1(error ? 'p-input--error' : 'p-input', (!label || labelInsideInput) &&
|
|
318
318
|
placeholder &&
|
|
319
319
|
placeholder.length > 0
|
|
320
|
-
? styles$
|
|
321
|
-
: styles$
|
|
322
|
-
_c[styles$
|
|
323
|
-
_c[styles$
|
|
324
|
-
_c)), placeholder: label || labelInsideInput ? placeholder : ' ', disabled: disabled, "aria-invalid": !!error, "aria-errormessage": error ? "".concat(uniqueId, "-error") : undefined }, props)), prefix && (jsxRuntime.jsx("span", { className: classNames$1(styles$
|
|
320
|
+
? styles$I.input
|
|
321
|
+
: styles$I['input--no-placeholder'], (_c = {},
|
|
322
|
+
_c[styles$I['input--with-prefix']] = prefix,
|
|
323
|
+
_c[styles$I['input--with-inside-label']] = labelInsideInput,
|
|
324
|
+
_c)), placeholder: label || labelInsideInput ? placeholder : ' ', disabled: disabled, "aria-invalid": !!error, "aria-errormessage": error ? "".concat(uniqueId, "-error") : undefined }, props)), prefix && (jsxRuntime.jsx("span", { className: classNames$1(styles$I.prefix, (_d = {}, _d[styles$I['prefix--with-error']] = error, _d), (_e = {}, _e[styles$I['prefix--disabled']] = disabled, _e)), children: prefix })), (!label || labelInsideInput) && (jsxRuntime.jsx("label", { htmlFor: uniqueId, className: classNames$1(styles$I.placeholder, (_f = {}, _f[styles$I['placeholder--with-prefix']] = prefix, _f), (_g = {}, _g[styles$I['placeholder--with-error']] = error, _g)), children: labelInsideInput ? label : placeholder }))] }), error && (jsxRuntime.jsx("p", { id: "".concat(uniqueId, "-error"), className: "p-p--small tc-red-500 w100 ".concat(styles$I.error), children: error }))] }));
|
|
325
325
|
});
|
|
326
326
|
|
|
327
327
|
var build = {};
|
|
@@ -2315,16 +2315,16 @@ var useOnClickOutside = function (ref, callback) {
|
|
|
2315
2315
|
}, [ref, callback]);
|
|
2316
2316
|
};
|
|
2317
2317
|
|
|
2318
|
-
var css_248z$
|
|
2319
|
-
var styles$
|
|
2320
|
-
styleInject(css_248z$
|
|
2318
|
+
var css_248z$I = ".styles-module_wrapper__1_lY0 {\n margin: 4px;\n}";
|
|
2319
|
+
var styles$H = {"wrapper":"styles-module_wrapper__1_lY0"};
|
|
2320
|
+
styleInject(css_248z$I);
|
|
2321
2321
|
|
|
2322
2322
|
var IconWrapper = function (_a) {
|
|
2323
2323
|
var _b;
|
|
2324
2324
|
var children = _a.children, _c = _a.size, size = _c === void 0 ? 16 : _c, color = _a.color, className = _a.className, noMargin = _a.noMargin, rest = __rest$1(_a, ["children", "size", "color", "className", "noMargin"]);
|
|
2325
2325
|
return (jsxRuntime.jsx("span", __assign({ className: classNames$1('d-inline-block', className !== null && className !== void 0 ? className : '', (_b = {},
|
|
2326
2326
|
_b["tc-".concat(color)] = !!color,
|
|
2327
|
-
_b[styles$
|
|
2327
|
+
_b[styles$H.wrapper] = !noMargin,
|
|
2328
2328
|
_b)), style: {
|
|
2329
2329
|
minWidth: "".concat(size, "px"),
|
|
2330
2330
|
width: "".concat(size, "px"),
|
|
@@ -3896,9 +3896,9 @@ var ZoomOut = (function (props) {
|
|
|
3896
3896
|
return React.createElement(IconWrapper, props, jsxRuntime.jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M11 19a8 8 0 1 0 0-16 8 8 0 0 0 0 16ZM21.35 21.35 17 17M8 11h6" }));
|
|
3897
3897
|
});
|
|
3898
3898
|
|
|
3899
|
-
var css_248z$
|
|
3900
|
-
var styles$
|
|
3901
|
-
styleInject(css_248z$
|
|
3899
|
+
var css_248z$H = ".style-module_container__3SY_g {\n position: relative;\n}";
|
|
3900
|
+
var styles$G = {"container":"style-module_container__3SY_g"};
|
|
3901
|
+
styleInject(css_248z$H);
|
|
3902
3902
|
|
|
3903
3903
|
var buttonTypeClassNameMap = {
|
|
3904
3904
|
filledColor: 'p-btn--primary',
|
|
@@ -3958,7 +3958,7 @@ var Calendar = function (_a) {
|
|
|
3958
3958
|
if (!displayCalendar) {
|
|
3959
3959
|
return null;
|
|
3960
3960
|
}
|
|
3961
|
-
return (jsxRuntime.jsxs("div", { className: "".concat(styles$
|
|
3961
|
+
return (jsxRuntime.jsxs("div", { className: "".concat(styles$G.container, " ml8"), ref: calendarContainerRef, children: [jsxRuntime.jsx(Button, { onClick: function () { return setCalendarOpen(!isOpen); }, "data-testid": "calendar-button", hideLabel: true, variant: 'textColor', leftIcon: jsxRuntime.jsx(CalendarIcon, {}), type: "button", children: "Select date" }), isOpen && (jsxRuntime.jsx(DayPicker, { month: selectedDateInDateType, showOutsideDays: true, fromMonth: dateCalendarFromMonth, toMonth: dateCalendarToMonth, selectedDays: selectedDateInDateType, onDayClick: function (date) {
|
|
3962
3962
|
if (!dayjs(date).isValid()) {
|
|
3963
3963
|
return;
|
|
3964
3964
|
}
|
|
@@ -4094,12 +4094,12 @@ var DateSelector = function (_a) {
|
|
|
4094
4094
|
};
|
|
4095
4095
|
var getInputProps = function (key, index) {
|
|
4096
4096
|
var _a, _b;
|
|
4097
|
-
return (__assign({ 'data-cy': "date-selector-".concat(key), 'data-testid': "date-selector-".concat(key), className: styles$
|
|
4097
|
+
return (__assign({ 'data-cy': "date-selector-".concat(key), 'data-testid': "date-selector-".concat(key), className: styles$J["".concat(key, "Input")], id: key, name: key, maxLength: key === 'year' ? 4 : 2, required: true, label: placeholders === null || placeholders === void 0 ? void 0 : placeholders[key], placeholder: (_a = placeholders === null || placeholders === void 0 ? void 0 : placeholders["".concat(key, "Format")]) !== null && _a !== void 0 ? _a : "", labelInsideInput: true, value: (_b = internalValue[key]) !== null && _b !== void 0 ? _b : '', error: hasError && isDirty, type: "text", inputMode: "numeric", ref: function (el) { itemsRef.current[index] = el; }, onKeyUp: function (event) { return handleOnKeyUp(event, index); }, onKeyDown: function (event) { return handleOnKeyDown(event, index); }, onChange: function (_a) {
|
|
4098
4098
|
var target = _a.target;
|
|
4099
4099
|
return handleOnChange(key, target.value);
|
|
4100
4100
|
} }, (inputProps === null || inputProps === void 0 ? void 0 : inputProps(key)) || {}));
|
|
4101
4101
|
};
|
|
4102
|
-
return (jsxRuntime.jsxs("div", { children: [jsxRuntime.jsxs("div", { className: "d-flex ai-center", children: [jsxRuntime.jsxs("div", { className: classNames$1(styles$
|
|
4102
|
+
return (jsxRuntime.jsxs("div", { children: [jsxRuntime.jsxs("div", { className: "d-flex ai-center", children: [jsxRuntime.jsxs("div", { className: classNames$1(styles$J.container, "d-flex gap8"), children: [jsxRuntime.jsxs("div", { className: "d-flex gap8 jc-between", children: [jsxRuntime.jsx(Input, __assign({}, getInputProps('day', 0))), jsxRuntime.jsx(Input, __assign({}, getInputProps('month', 1)))] }), jsxRuntime.jsx(Input, __assign({}, getInputProps('year', 2)))] }), jsxRuntime.jsx(Calendar, { dateFormat: COLLECTABLE_DATE_FORMAT, yearBoundaries: yearBoundaries, displayCalendar: displayCalendar, dayjsLocale: dayjsLocale, firstDayOfWeek: firstDayOfWeek, isOpen: isCalendarOpen, setCalendarOpen: setIsCalendarOpen, value: value, onChange: onChange })] }), hasError && isDirty && (jsxRuntime.jsx("p", { className: classNames$1(hasError && isDirty ? 'd-block' : 'd-none', "p-p--small tc-red-500 w100 mt8"), "data-testid": "date-error-message", children: {
|
|
4103
4103
|
default: placeholders.error,
|
|
4104
4104
|
afterMax: placeholders.errorAfterMaxYear || "Please choose a date before ".concat(yearBoundaries.max + 1),
|
|
4105
4105
|
beforeMin: placeholders.errorBeforeMinYear || "Please choose a date after ".concat(yearBoundaries.min - 1),
|
|
@@ -4600,9 +4600,9 @@ class SignaturePad$1 {
|
|
|
4600
4600
|
}
|
|
4601
4601
|
}
|
|
4602
4602
|
|
|
4603
|
-
var css_248z$
|
|
4604
|
-
var styles$
|
|
4605
|
-
styleInject(css_248z$
|
|
4603
|
+
var css_248z$G = ".style-module_container__1VolG {\n position: relative;\n background-color: var(--ds-neutral-100);\n border-radius: 8px;\n height: 272px;\n}\n\n.style-module_canvas__1Q440 {\n width: 100%;\n height: 100%;\n}\n\n.style-module_separator__Fdmnn {\n position: absolute;\n height: 2px;\n right: 112px;\n left: 72px;\n bottom: 32px;\n background-color: var(--ds-neutral-400);\n border-radius: 1px;\n}\n\n.style-module_reset__1ePiM {\n display: flex;\n position: absolute;\n right: 16px;\n bottom: 32px;\n color: var(--ds-purple-600);\n cursor: pointer;\n border: none;\n text-decoration: none;\n font-size: 16px;\n line-height: 24px;\n background-color: transparent;\n}\n.style-module_reset__1ePiM:hover {\n color: var(--ds-purple-700);\n}\n.style-module_reset__1ePiM:before {\n content: \"\";\n display: inline-block;\n height: 24px;\n width: 24px;\n mask-repeat: no-repeat;\n mask-position: center;\n background-color: currentColor;\n -webkit-mask-repeat: no-repeat;\n -webkit-mask-position: center;\n -webkit-background-color: currentColor;\n margin-right: 4px;\n}\n.style-module_reset__1ePiM[disabled] {\n color: var(--ds-neutral-600);\n}\n\n.style-module_sign__35Gp2 {\n position: absolute;\n bottom: 32px;\n left: 16px;\n height: 24px;\n width: 24px;\n mask-size: 24px 24px;\n mask-repeat: no-repeat;\n mask-position: center;\n -webkit-mask-size: 24px 24px;\n -webkit-mask-repeat: no-repeat;\n -webkit-mask-position: center;\n background-color: var(--ds-neutral-600);\n}";
|
|
4604
|
+
var styles$F = {"container":"style-module_container__1VolG","canvas":"style-module_canvas__1Q440","separator":"style-module_separator__Fdmnn","reset":"style-module_reset__1ePiM","sign":"style-module_sign__35Gp2"};
|
|
4605
|
+
styleInject(css_248z$G);
|
|
4606
4606
|
|
|
4607
4607
|
var sign = "data:image/svg+xml,%3Csvg%20width%3D%2280%22%20height%3D%2280%22%20viewBox%3D%220%200%2080%2080%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M13.7%203.70001C13.3%204.00001%2013.5%205.10001%2014.1%206.20001C14.7%207.30001%2014.9%209.20001%2014.6%2010.5C14.1%2012.3%2015.3%2014.4%2019.3%2019.7C22.2%2023.4%2025.6%2028%2026.9%2029.8L29.2%2033L23%2039.7C19.7%2043.4%2017.1%2046.9%2017.4%2047.6C17.7%2048.3%2017.2%2049.4%2016.4%2050C14.8%2051.4%2014.5%2054%2016.1%2054C17.5%2054%2023.6%2049.5%2029%2044.4L33.5%2040.1L41%2051.3C49.2%2063.6%2053.7%2069%2055.8%2069C56.6%2069%2056.8%2068.5%2056.4%2067.7C56%2067.1%2057.8%2068.9%2060.5%2071.8C63.1%2074.7%2065.5%2076.9%2065.7%2076.6C65.9%2076.4%2065.2%2074.4%2064.1%2072.1C62.9%2069.9%2062%2067.2%2062%2066.2C62%2063.3%2054.5%2047.6%2048.9%2039C46.2%2034.8%2044%2031%2044%2030.6C44%2030.2%2046.2%2027.3%2048.9%2024.2C54.3%2017.9%2059%2011.2%2059%209.80001C59%209.30001%2057.7%209.10001%2056%209.50001C54.2%209.90001%2050.5%2012.7%2046.4%2017.1C42.7%2020.9%2039.4%2024%2039.1%2024C38.8%2024%2036.3%2020.7%2033.6%2016.8C30.9%2012.9%2027.9%209.50001%2027%209.30001C26%209.00001%2024.3%207.60001%2023.2%206.10001C21.7%204.10001%2020.3%203.30001%2017.7%203.20001C15.8%203.10001%2014%203.30001%2013.7%203.70001Z%22%20fill%3D%22%238E8CEE%22%2F%3E%3C%2Fsvg%3E";
|
|
4608
4608
|
|
|
@@ -4631,11 +4631,11 @@ var SignaturePad = /** @class */ (function (_super) {
|
|
|
4631
4631
|
SignaturePad.prototype.render = function () {
|
|
4632
4632
|
var hasContent = this.state.hasContent;
|
|
4633
4633
|
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx("style", { dangerouslySetInnerHTML: {
|
|
4634
|
-
__html: ".".concat(styles$
|
|
4635
|
-
} }), jsxRuntime.jsxs("div", { className: styles$
|
|
4634
|
+
__html: ".".concat(styles$F.reset, "::before { \n -webkit-mask-image: url(\"").concat(reset, "\");\n mask-image: url(\"").concat(reset, "\");\n }"),
|
|
4635
|
+
} }), jsxRuntime.jsxs("div", { className: styles$F.container, children: [jsxRuntime.jsx("canvas", { className: styles$F.canvas, ref: this.canvasRef }), jsxRuntime.jsx("div", { className: styles$F.separator }), jsxRuntime.jsx("div", { className: styles$F.sign, style: {
|
|
4636
4636
|
WebkitMaskImage: "url(\"".concat(sign, "\")"),
|
|
4637
4637
|
maskImage: "url(\"".concat(sign, "\")"),
|
|
4638
|
-
} }), jsxRuntime.jsx("button", { className: styles$
|
|
4638
|
+
} }), jsxRuntime.jsx("button", { className: styles$F.reset, onClick: this.clear, disabled: !hasContent, children: "Reset" })] })] }));
|
|
4639
4639
|
};
|
|
4640
4640
|
SignaturePad.prototype.notifyOnChange = function () {
|
|
4641
4641
|
var onChange = this.props.onChange;
|
|
@@ -5069,9 +5069,9 @@ var geocoderAddressComponentToPartialAddress = function (input) {
|
|
|
5069
5069
|
return toReturn;
|
|
5070
5070
|
};
|
|
5071
5071
|
|
|
5072
|
-
var css_248z$
|
|
5073
|
-
var styles$
|
|
5074
|
-
styleInject(css_248z$
|
|
5072
|
+
var css_248z$F = "@media (max-width: 34rem) {\n .style-module_input-line__34TKK {\n flex-direction: column;\n }\n .style-module_input-line__34TKK > *:not(:first-child) {\n margin-top: 16px;\n }\n}\n\n@media (max-width: 34rem) {\n .style-module_house-number-input__1sDS5 {\n max-width: none !important;\n }\n}\n\n.style-module_map-container__2rzjU {\n position: relative;\n height: 112px;\n margin-bottom: 16px;\n border-radius: 8px;\n transition: 0.3s height ease-in-out, 0.3s margin-top ease-in-out;\n overflow: hidden;\n}\n.style-module_map-container--hidden__2AnYR {\n height: 0;\n margin: 0;\n}\n\n@keyframes style-module_appear-in__3HZHT {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n.style-module_appear-in-animate__1bJyO {\n animation-name: style-module_appear-in__3HZHT;\n animation-duration: 0.3s;\n animation-fill-mode: both;\n}\n\n.style-module_loading-spinner__3-nri {\n display: flex;\n justify-content: center;\n align-items: center;\n position: absolute !important;\n background-color: rgba(136, 131, 216, 0.25);\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n z-index: 100;\n animation-name: style-module_appear-in__3HZHT;\n animation-duration: 0.3s;\n animation-fill-mode: both;\n}\n\n.style-module_map__1Vtps {\n width: 100%;\n height: 100%;\n}";
|
|
5073
|
+
var styles$E = {"input-line":"style-module_input-line__34TKK","house-number-input":"style-module_house-number-input__1sDS5","map-container":"style-module_map-container__2rzjU","map-container--hidden":"style-module_map-container--hidden__2AnYR","appear-in-animate":"style-module_appear-in-animate__1bJyO","appear-in":"style-module_appear-in__3HZHT","loading-spinner":"style-module_loading-spinner__3-nri","map":"style-module_map__1Vtps"};
|
|
5074
|
+
styleInject(css_248z$F);
|
|
5075
5075
|
|
|
5076
5076
|
var GERMANY_LAT_LNG = { lat: 51.54317, lng: 10.3181503 };
|
|
5077
5077
|
var GERMANY_ALPHA_CODE = 'DE';
|
|
@@ -5205,10 +5205,10 @@ var AutocompleteAddress = function (_a) {
|
|
|
5205
5205
|
}
|
|
5206
5206
|
};
|
|
5207
5207
|
};
|
|
5208
|
-
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsxs("div", { className: classNames$1("wmx8 bg-
|
|
5209
|
-
_b[styles$
|
|
5210
|
-
_b)), children: [jsxRuntime.jsx("div", { className: styles$
|
|
5211
|
-
'Additional information (C/O, apartment, …)', value: (address === null || address === void 0 ? void 0 : address.additionalInformation) || '', name: "additionalInformation", onChange: onManualAddressChange({ updatePlace: false }) }, inputProps === null || inputProps === void 0 ? void 0 : inputProps.additionalInformation), "autocomplete-additional-info"), jsxRuntime.jsxs("div", { className: "d-flex mt16 c-gap16 ".concat(styles$
|
|
5208
|
+
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsxs("div", { className: classNames$1("wmx8 bg-neutral-600 ".concat(styles$E['map-container']), (_b = {},
|
|
5209
|
+
_b[styles$E['map-container--hidden']] = place === null,
|
|
5210
|
+
_b)), children: [jsxRuntime.jsx("div", { className: styles$E.map, id: "map", "aria-hidden": "true" }), isLoading && (jsxRuntime.jsx("div", { className: styles$E['loading-spinner'], children: jsxRuntime.jsx("div", { className: "ds-spinner ds-spinner__m" }) }))] }), jsxRuntime.jsx("div", { className: "wmx8", children: manualAddressEntry === false ? (jsxRuntime.jsxs("div", { style: { position: 'relative' }, children: [jsxRuntime.jsx(Input, { className: "w100", id: "autocomplete", "data-cy": "autocomplete", type: "text", placeholder: (placeholders === null || placeholders === void 0 ? void 0 : placeholders.manualAddressEntry) || 'Search for address', ref: autocompleteElement }, "autocomplete-search"), hasLoadedGoogleAPI === false && (jsxRuntime.jsx("div", { "data-cy": "google-api-loader", className: styles$E['loading-spinner'], children: jsxRuntime.jsx("div", { className: "ds-spinner ds-spinner__m" }) }))] })) : (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsxs("div", { className: "d-flex c-gap16 ".concat(styles$E['input-line']), children: [jsxRuntime.jsx(Input, __assign({ className: "w100", "data-cy": "autocomplete", type: "text", placeholder: (placeholders === null || placeholders === void 0 ? void 0 : placeholders.street) || 'Street', value: (address === null || address === void 0 ? void 0 : address.street) || '', onChange: onManualAddressChange(), name: "street" }, inputProps === null || inputProps === void 0 ? void 0 : inputProps.street), "autocomplete-street"), jsxRuntime.jsx(Input, __assign({ className: "wmx2 ".concat(styles$E['house-number-input']), "data-cy": "autocomplete-house-number", placeholder: (placeholders === null || placeholders === void 0 ? void 0 : placeholders.houseNumber) || 'House Number', value: (address === null || address === void 0 ? void 0 : address.houseNumber) || '', name: "houseNumber", onChange: onManualAddressChange() }, inputProps === null || inputProps === void 0 ? void 0 : inputProps.houseNumber), "autocomplete-house-number")] }), jsxRuntime.jsx(Input, __assign({ className: "mt16", "data-cy": "autocomplete-additional-info", placeholder: (placeholders === null || placeholders === void 0 ? void 0 : placeholders.additionalInformation) ||
|
|
5211
|
+
'Additional information (C/O, apartment, …)', value: (address === null || address === void 0 ? void 0 : address.additionalInformation) || '', name: "additionalInformation", onChange: onManualAddressChange({ updatePlace: false }) }, inputProps === null || inputProps === void 0 ? void 0 : inputProps.additionalInformation), "autocomplete-additional-info"), jsxRuntime.jsxs("div", { className: "d-flex mt16 c-gap16 ".concat(styles$E['input-line']), children: [jsxRuntime.jsx(Input, __assign({ className: "w100", "data-cy": "autocomplete-postcode", placeholder: (placeholders === null || placeholders === void 0 ? void 0 : placeholders.postcode) || 'Postcode', value: (address === null || address === void 0 ? void 0 : address.postcode) || '', name: "postcode", onChange: onManualAddressChange() }, inputProps === null || inputProps === void 0 ? void 0 : inputProps.postcode), "autocomplete-postcode"), jsxRuntime.jsx(Input, __assign({ className: "w100", "data-cy": "autocomplete-city", placeholder: (placeholders === null || placeholders === void 0 ? void 0 : placeholders.city) || 'City', value: (address === null || address === void 0 ? void 0 : address.city) || '', name: "city", onChange: onManualAddressChange() }, inputProps === null || inputProps === void 0 ? void 0 : inputProps.city), "autocomplete-city")] })] })) }), manualAddressEntry === false && (jsxRuntime.jsxs("div", { className: "p-p mt8", children: [(manualAddressEntryTexts === null || manualAddressEntryTexts === void 0 ? void 0 : manualAddressEntryTexts.preText) || 'Or ', jsxRuntime.jsx("button", { className: 'p-a p-p fw-bold c-pointer bg-transparent', onClick: handleEnterAddressManually, type: "button", children: (manualAddressEntryTexts === null || manualAddressEntryTexts === void 0 ? void 0 : manualAddressEntryTexts.cta) || 'enter address manually' })] }))] }));
|
|
5212
5212
|
};
|
|
5213
5213
|
|
|
5214
5214
|
var propTypes$2 = {exports: {}};
|
|
@@ -8250,13 +8250,13 @@ const AnimateHeight = (_a) => {
|
|
|
8250
8250
|
React__default['default'].createElement("div", { className: contentClassName, style: contentStyle, ref: contentElement }, children)));
|
|
8251
8251
|
};
|
|
8252
8252
|
|
|
8253
|
-
var css_248z$
|
|
8254
|
-
var styles$
|
|
8255
|
-
styleInject(css_248z$
|
|
8253
|
+
var css_248z$E = ".style-module_container__Uyltc {\n background-color: transparent;\n}\n\n.style-module_dropzoneContainer__yZoGP {\n border: 1px dashed var(--ds-purple-600);\n padding: 32px 0;\n background-color: white;\n transition: all 0.6s ease-in-out;\n}\n.style-module_dropzoneContainer__yZoGP:focus-visible {\n outline: 2px solid #26262e;\n border-radius: 2px;\n outline-offset: 2px;\n}\n.style-module_dropzoneContainer__yZoGP:hover {\n background-color: var(--ds-purple-300);\n transition: 0.5s ease;\n}\n\n.style-module_img__11JI8 {\n vertical-align: middle;\n margin-right: 8px;\n height: 18px;\n}\n\n.style-module_textInline__2F21z {\n display: inline-flex;\n}\n\n.style-module_dropzoneContainerDisabled__1X3gP {\n pointer-events: none;\n opacity: 0.4;\n}";
|
|
8254
|
+
var styles$D = {"container":"style-module_container__Uyltc","dropzoneContainer":"style-module_dropzoneContainer__yZoGP","img":"style-module_img__11JI8","textInline":"style-module_textInline__2F21z","dropzoneContainerDisabled":"style-module_dropzoneContainerDisabled__1X3gP"};
|
|
8255
|
+
styleInject(css_248z$E);
|
|
8256
8256
|
|
|
8257
|
-
var css_248z$
|
|
8258
|
-
var styles$
|
|
8259
|
-
styleInject(css_248z$
|
|
8257
|
+
var css_248z$D = ".style-module_upload-file-cell__3nv5i {\n display: flex;\n align-items: center;\n justify-content: space-between;\n min-height: 64px;\n padding: 8px 16px;\n border: 1px solid #d2d2d9;\n border-radius: 8px;\n background-color: white;\n animation: style-module_appear-down__14rCV 0.6s;\n animation-fill-mode: both;\n animation-delay: 0s;\n}\n\n.style-module_upload-file-cell-error__3KcSe {\n border-color: #E55454;\n background-color: rgba(229, 84, 84, 0.2);\n}\n\n.style-module_cell-left-section__3Iv8c {\n display: flex;\n align-items: center;\n}\n\n.style-module_main-icon__335_Y {\n margin-right: 16px;\n}\n\n.style-module_upload-display-text__3Rd68 {\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n overflow: hidden;\n}\n\n.style-module_progress-bar-container__2JCBO {\n position: relative;\n}\n\n.style-module_progress-bar__1Rosf {\n background-color: #f7f7fd;\n border-radius: 10px;\n height: 4px;\n}\n\n.style-module_progress-bar-filler__131fA {\n background-color: #8883D8;\n border-radius: 10px;\n height: 4px;\n position: absolute;\n bottom: 0;\n transition: 1s ease;\n}\n\n.style-module_cell-right-section__dVWqJ {\n display: flex;\n}\n\n.style-module_cell-right-section-complete__c0rHc {\n min-width: 64px;\n}\n\n.style-module_button__xo5tR {\n width: 32px;\n}\n.style-module_button__xo5tR div span span {\n min-width: 24px !important;\n height: 24px !important;\n}\n.style-module_button__xo5tR:focus-visible {\n outline: 2px solid #26262e;\n border-radius: 2px;\n outline-offset: 2px;\n}\n\n@keyframes style-module_appear-down__14rCV {\n from {\n transform: translateY(-10px);\n opacity: 0;\n }\n to {\n transform: translateY(0);\n opacity: 1;\n }\n}";
|
|
8258
|
+
var styles$C = {"upload-file-cell":"style-module_upload-file-cell__3nv5i","appear-down":"style-module_appear-down__14rCV","upload-file-cell-error":"style-module_upload-file-cell-error__3KcSe","cell-left-section":"style-module_cell-left-section__3Iv8c","main-icon":"style-module_main-icon__335_Y","upload-display-text":"style-module_upload-display-text__3Rd68","progress-bar-container":"style-module_progress-bar-container__2JCBO","progress-bar":"style-module_progress-bar__1Rosf","progress-bar-filler":"style-module_progress-bar-filler__131fA","cell-right-section":"style-module_cell-right-section__dVWqJ","cell-right-section-complete":"style-module_cell-right-section-complete__c0rHc","button":"style-module_button__xo5tR"};
|
|
8259
|
+
styleInject(css_248z$D);
|
|
8260
8260
|
|
|
8261
8261
|
var UploadFileCell = function (_a) {
|
|
8262
8262
|
var _b, _c;
|
|
@@ -8266,8 +8266,8 @@ var UploadFileCell = function (_a) {
|
|
|
8266
8266
|
var isUploading = uploadStatus === 'UPLOADING';
|
|
8267
8267
|
var hasError = uploadStatus === 'ERROR';
|
|
8268
8268
|
var mapFileIconColor = {
|
|
8269
|
-
UPLOADING: 'purple-
|
|
8270
|
-
COMPLETE: '
|
|
8269
|
+
UPLOADING: 'purple-600',
|
|
8270
|
+
COMPLETE: 'neutral-600',
|
|
8271
8271
|
ERROR: 'red-500',
|
|
8272
8272
|
};
|
|
8273
8273
|
var displayText = {
|
|
@@ -8275,11 +8275,11 @@ var UploadFileCell = function (_a) {
|
|
|
8275
8275
|
COMPLETE: name,
|
|
8276
8276
|
ERROR: error !== null && error !== void 0 ? error : 'Something went wrong. Try uploading again.',
|
|
8277
8277
|
}[uploadStatus];
|
|
8278
|
-
return (jsxRuntime.jsxs("div", { className: classNames$1("mt8 ".concat(styles$
|
|
8279
|
-
_b[styles$
|
|
8280
|
-
_b)), children: [jsxRuntime.jsxs("div", { className: "w100 ".concat(styles$
|
|
8281
|
-
_c[styles$
|
|
8282
|
-
_c)), children: isUploading ? (jsxRuntime.jsx("div", { className: styles$
|
|
8278
|
+
return (jsxRuntime.jsxs("div", { className: classNames$1("mt8 ".concat(styles$C['upload-file-cell']), (_b = {},
|
|
8279
|
+
_b[styles$C['upload-file-cell-error']] = hasError,
|
|
8280
|
+
_b)), children: [jsxRuntime.jsxs("div", { className: "w100 ".concat(styles$C['cell-left-section']), children: [jsxRuntime.jsx(FileIcon, { className: classNames$1("".concat(styles$C['main-icon'], " ").concat(styles$C.icon)), color: mapFileIconColor[uploadStatus], size: 24 }), jsxRuntime.jsxs("div", { className: "w100", children: [jsxRuntime.jsx("div", { className: "p-p ".concat(styles$C['upload-display-text']), title: displayText, children: displayText }), isUploading && showProgressBar && (jsxRuntime.jsxs("div", { className: "mt8 w100 ".concat(styles$C['progress-bar-container']), children: [jsxRuntime.jsx("div", { className: "".concat(styles$C['progress-bar']) }), jsxRuntime.jsx("div", { "data-testid": "ds-filecell-progressbar", className: "".concat(styles$C['progress-bar-filler']), style: { width: "".concat(progress, "%") } })] }))] })] }), jsxRuntime.jsx("div", { className: classNames$1(styles$C['cell-right-section'], (_c = {},
|
|
8281
|
+
_c[styles$C['cell-right-section-complete']] = isComplete,
|
|
8282
|
+
_c)), children: isUploading ? (jsxRuntime.jsx("div", { className: styles$C.spinner, children: showLoadingSpinner && (jsxRuntime.jsx("div", { className: "ds-spinner ds-spinner__m", "data-testid": "ds-filecell-spinner" })) })) : (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [isComplete && (jsxRuntime.jsx(Button, { as: "a", href: previewUrl, target: "_blank", rel: "noopener noreferrer", hideLabel: true, variant: "filledWhite", className: classNames$1('mr16', styles$C.button), leftIcon: jsxRuntime.jsx(EyeVisionIcon, { noMargin: true, color: 'neutral-600', size: 24 }), children: "Preview file" })), onRemoveFile && (jsxRuntime.jsx(Button, { onClick: function () { return onRemoveFile(id); }, disabled: uploading, "data-testid": "remove-button", className: styles$C.button, leftIcon: jsxRuntime.jsx(Trash2Icon, { color: hasError ? 'red-500' : 'neutral-600', size: 24, noMargin: true }), hideLabel: true, variant: "filledWhite", children: "Delete file" }))] })) })] }));
|
|
8283
8283
|
};
|
|
8284
8284
|
|
|
8285
8285
|
var k$2 = 1024;
|
|
@@ -8513,12 +8513,12 @@ var MultiDropzone = function (_a) {
|
|
|
8513
8513
|
var instructionsText = isNonDesktopDevice
|
|
8514
8514
|
? instructionsTextMobile
|
|
8515
8515
|
: instructionsTextDesktop;
|
|
8516
|
-
return (jsxRuntime.jsxs("div", { className: styles$
|
|
8517
|
-
_b[styles$
|
|
8518
|
-
_b)) }, getRootProps(), { children: [jsxRuntime.jsx("div", { className: "sr-only", "aria-live": "polite", "aria-atomic": "true", children: statusMessage }), jsxRuntime.jsx("input", __assign({ "data-testid": "ds-drop-input" }, getInputProps())), jsxRuntime.jsx(UploadCloudIcon, { className: isCondensed ? styles$
|
|
8516
|
+
return (jsxRuntime.jsxs("div", { className: styles$D.container, children: [jsxRuntime.jsxs("div", __assign({ className: classNames$1("w100 ta-center br8 c-pointer ".concat(styles$D.dropzoneContainer), (_b = {},
|
|
8517
|
+
_b[styles$D['dropzoneContainerDisabled']] = uploading,
|
|
8518
|
+
_b)) }, getRootProps(), { children: [jsxRuntime.jsx("div", { className: "sr-only", "aria-live": "polite", "aria-atomic": "true", children: statusMessage }), jsxRuntime.jsx("input", __assign({ "data-testid": "ds-drop-input" }, getInputProps())), jsxRuntime.jsx(UploadCloudIcon, { className: isCondensed ? styles$D.img : '', size: isCondensed ? 24 : 64, color: 'purple-600' }), jsxRuntime.jsx("div", { className: "p-h4 mt8 d-block c-pointer ".concat(isCondensed ? styles$D.textInline : ''), children: uploading
|
|
8519
8519
|
? (textOverrides === null || textOverrides === void 0 ? void 0 : textOverrides.currentlyUploadingText) ||
|
|
8520
8520
|
'Please wait while uploading file...'
|
|
8521
|
-
: instructionsText }), jsxRuntime.jsx("div", { className: "p-p--small tc-
|
|
8521
|
+
: instructionsText }), jsxRuntime.jsx("div", { className: "p-p--small tc-neutral-600", children: (textOverrides === null || textOverrides === void 0 ? void 0 : textOverrides.supportsText) || placeholder })] })), errors.map(function (_a) {
|
|
8522
8522
|
var id = _a.id, message = _a.message;
|
|
8523
8523
|
return message && (jsxRuntime.jsx(UploadFileCell, { uploadStatus: "ERROR", file: {
|
|
8524
8524
|
error: message,
|
|
@@ -8530,17 +8530,17 @@ var MultiDropzone = function (_a) {
|
|
|
8530
8530
|
"You can upload maximum ".concat(maxFiles, " files.") }) })] }));
|
|
8531
8531
|
};
|
|
8532
8532
|
|
|
8533
|
-
var css_248z$
|
|
8534
|
-
var styles$
|
|
8535
|
-
styleInject(css_248z$
|
|
8533
|
+
var css_248z$C = ".style-module_button__mw9kQ {\n height: 48px;\n}\n\n.style-module_chip-complete__3YkB9 {\n display: flex;\n align-items: center;\n justify-content: center;\n background-color: white;\n border-radius: 8px;\n padding: 8px 16px;\n height: 48px;\n}";
|
|
8534
|
+
var styles$B = {"button":"style-module_button__mw9kQ","chip-complete":"style-module_chip-complete__3YkB9"};
|
|
8535
|
+
styleInject(css_248z$C);
|
|
8536
8536
|
|
|
8537
8537
|
var InitialButton = function (_a) {
|
|
8538
8538
|
var onDownload = _a.onDownload;
|
|
8539
|
-
return (jsxRuntime.jsx(Button, { className: "w100 ".concat(styles$
|
|
8539
|
+
return (jsxRuntime.jsx(Button, { className: "w100 ".concat(styles$B.button), leftIcon: jsxRuntime.jsx(DownloadIcon, {}), onClick: onDownload, "data-cy": "download-documents-button", children: "Download" }));
|
|
8540
8540
|
};
|
|
8541
8541
|
// TODO: Allow setting loading to true to display text
|
|
8542
|
-
var GeneratingButton = function () { return (jsxRuntime.jsx(Button, { className: "w100 ".concat(styles$
|
|
8543
|
-
var CompletedChip = function () { return (jsxRuntime.jsxs("div", { className: styles$
|
|
8542
|
+
var GeneratingButton = function () { return (jsxRuntime.jsx(Button, { className: "w100 ".concat(styles$B.button), loading: true, children: "Generating" })); };
|
|
8543
|
+
var CompletedChip = function () { return (jsxRuntime.jsxs("div", { className: styles$B['chip-complete'], children: [jsxRuntime.jsx(CheckIcon, { color: 'neutral-600', size: 16 }), jsxRuntime.jsx("div", { className: "p-h4 tc-neutral-600 ml8", children: "Download complete" })] })); };
|
|
8544
8544
|
var DownloadButton = function (_a) {
|
|
8545
8545
|
var downloadStatus = _a.downloadStatus, onDownload = _a.onDownload, _b = _a.className, className = _b === void 0 ? '' : _b, customFail = _a.customFail;
|
|
8546
8546
|
var mapDownloadButton = {
|
|
@@ -8552,9 +8552,9 @@ var DownloadButton = function (_a) {
|
|
|
8552
8552
|
return (jsxRuntime.jsxs("div", { className: "d-flex fd-column ai-center ".concat(className), children: [jsxRuntime.jsx("div", { className: "ws4", children: mapDownloadButton[downloadStatus] }), downloadStatus === 'FAILED' && (jsxRuntime.jsx("div", { className: "p-notice p-notice--danger p-p mt40 wmx5", children: customFail !== null && customFail !== void 0 ? customFail : 'An error occured when generating documents. Please try again or contact us.' }))] }));
|
|
8553
8553
|
};
|
|
8554
8554
|
|
|
8555
|
-
var css_248z$
|
|
8556
|
-
var styles$
|
|
8557
|
-
styleInject(css_248z$
|
|
8555
|
+
var css_248z$B = ".style-module_informationBox__1dzYO {\n border: 1px solid;\n}\n.style-module_informationBox--information__rsyoM {\n background-color: #E5F0FF;\n border-color: #8BB4EA;\n}\n.style-module_informationBox--error__3BqOR {\n background-color: #FEE6E6;\n border-color: #E55454;\n}\n.style-module_informationBox--warning__10V-E {\n background-color: #FEFAEC;\n border-color: #F0D26F;\n}\n.style-module_informationBox--success__d3gTw {\n background-color: #E6FAF1;\n border-color: #85DCB4;\n}\n.style-module_informationBox--neutral__1XsMl {\n background-color: #fff;\n border-color: #fff;\n}";
|
|
8556
|
+
var styles$A = {"informationBox":"style-module_informationBox__1dzYO","informationBox--information":"style-module_informationBox--information__rsyoM","informationBox--error":"style-module_informationBox--error__3BqOR","informationBox--warning":"style-module_informationBox--warning__10V-E","informationBox--success":"style-module_informationBox--success__d3gTw","informationBox--neutral":"style-module_informationBox--neutral__1XsMl"};
|
|
8557
|
+
styleInject(css_248z$B);
|
|
8558
8558
|
|
|
8559
8559
|
var InformationBox = function (_a) {
|
|
8560
8560
|
var _b = _a.className, className = _b === void 0 ? '' : _b, _c = _a.variant, variant = _c === void 0 ? 'information' : _c, title = _a.title, children = _a.children, showIcon = _a.showIcon, _d = _a.size, size = _d === void 0 ? 'default' : _d;
|
|
@@ -8563,9 +8563,9 @@ var InformationBox = function (_a) {
|
|
|
8563
8563
|
error: 'red-500',
|
|
8564
8564
|
success: 'green-500',
|
|
8565
8565
|
information: 'blue-500',
|
|
8566
|
-
neutral: 'purple-
|
|
8566
|
+
neutral: 'purple-600',
|
|
8567
8567
|
};
|
|
8568
|
-
return (jsxRuntime.jsx("div", { className: classNames$1(className, 'p16 br8 color-black', styles$
|
|
8568
|
+
return (jsxRuntime.jsx("div", { className: classNames$1(className, 'p16 br8 color-black', styles$A.informationBox, styles$A["informationBox--".concat(variant)]), role: "alert", children: jsxRuntime.jsxs("div", { className: "d-flex", children: [showIcon && (jsxRuntime.jsx("div", { "data-testid": "information-box-icon", className: 'mr8', children: jsxRuntime.jsx(AlertCircleIcon, { className: styles$A.icon, color: mapAlertIconColor[variant], size: size === 'default' ? 24 : 16 }) })), jsxRuntime.jsxs("div", { children: [title && (jsxRuntime.jsx("h4", { "data-testid": "information-box-title", className: classNames$1(size === 'default' ? 'p-h4' : 'p-h5', 'mb8'), children: title })), jsxRuntime.jsx("p", { className: size === 'default' ? 'p-p' : 'p-p--small', children: children })] })] }) }));
|
|
8569
8569
|
};
|
|
8570
8570
|
|
|
8571
8571
|
var IBAN_CHAR_LIMIT = 4;
|
|
@@ -8649,29 +8649,29 @@ var CurrencyInput = function (_a) {
|
|
|
8649
8649
|
} }, props)));
|
|
8650
8650
|
};
|
|
8651
8651
|
|
|
8652
|
-
var css_248z$
|
|
8653
|
-
var styles$
|
|
8654
|
-
styleInject(css_248z$
|
|
8652
|
+
var css_248z$A = ".style-module_badge--small__cHO6v, .style-module_badge--medium__3CekE {\n padding-bottom: 6px;\n padding-top: 6px;\n}\n.style-module_badge--large__3_tWC {\n padding-bottom: 8px;\n padding-top: 8px;\n}";
|
|
8653
|
+
var styles$z = {"badge--small":"style-module_badge--small__cHO6v","badge--medium":"style-module_badge--medium__3CekE","badge--large":"style-module_badge--large__3_tWC"};
|
|
8654
|
+
styleInject(css_248z$A);
|
|
8655
8655
|
|
|
8656
8656
|
var getVariantClassNames = function (variant) { return ({
|
|
8657
8657
|
information: 'bg-blue-100',
|
|
8658
8658
|
neutral: 'bg-white',
|
|
8659
|
-
neutral200: 'bg-
|
|
8660
|
-
neutral300: 'bg-
|
|
8661
|
-
warning: 'bg-yellow-
|
|
8659
|
+
neutral200: 'bg-neutral-100',
|
|
8660
|
+
neutral300: 'bg-neutral-300',
|
|
8661
|
+
warning: 'bg-yellow-200',
|
|
8662
8662
|
error: 'bg-red-100',
|
|
8663
8663
|
success: 'bg-green-100',
|
|
8664
|
-
primary: 'bg-purple-
|
|
8664
|
+
primary: 'bg-purple-300',
|
|
8665
8665
|
primary900: 'bg-purple-900 tc-white',
|
|
8666
8666
|
}[variant]); };
|
|
8667
8667
|
var Badge = function (_a) {
|
|
8668
8668
|
var _b = _a.className, className = _b === void 0 ? '' : _b, _c = _a.size, size = _c === void 0 ? 'medium' : _c, _d = _a.variant, variant = _d === void 0 ? 'information' : _d, children = _a.children;
|
|
8669
|
-
return (jsxRuntime.jsx("div", { role: "status", className: classNames$1(className, 'px16 br8 d-inline-block ai-center fw-bold p-p', { 'p-p--small': size === 'small' }, styles$
|
|
8669
|
+
return (jsxRuntime.jsx("div", { role: "status", className: classNames$1(className, 'px16 br8 d-inline-block ai-center fw-bold p-p', { 'p-p--small': size === 'small' }, styles$z["badge--".concat(size)], getVariantClassNames(variant)), children: children }));
|
|
8670
8670
|
};
|
|
8671
8671
|
|
|
8672
|
-
var css_248z$
|
|
8673
|
-
var styles$
|
|
8674
|
-
styleInject(css_248z$
|
|
8672
|
+
var css_248z$z = ".styles-module_container__3zJJC {\n max-width: 100%;\n}\n\n.styles-module_narrow__2p34b {\n max-width: 424px;\n}";
|
|
8673
|
+
var styles$y = {"container":"styles-module_container__3zJJC","narrow":"styles-module_narrow__2p34b"};
|
|
8674
|
+
styleInject(css_248z$z);
|
|
8675
8675
|
|
|
8676
8676
|
var Checkbox = function (_a) {
|
|
8677
8677
|
var _b;
|
|
@@ -8703,8 +8703,8 @@ var Checkbox = function (_a) {
|
|
|
8703
8703
|
var legend = fieldLegend !== null && fieldLegend !== void 0 ? fieldLegend : (Object.keys(options).length > 1
|
|
8704
8704
|
? 'Select one or more options'
|
|
8705
8705
|
: 'You may select this option');
|
|
8706
|
-
return (jsxRuntime.jsxs("fieldset", { className: classNames$1(classNamesObj === null || classNamesObj === void 0 ? void 0 : classNamesObj.container, styles$
|
|
8707
|
-
_b[styles$
|
|
8706
|
+
return (jsxRuntime.jsxs("fieldset", { className: classNames$1(classNamesObj === null || classNamesObj === void 0 ? void 0 : classNamesObj.container, styles$y.container, 'd-flex gap8', (_b = {},
|
|
8707
|
+
_b[styles$y.narrow] = !wide,
|
|
8708
8708
|
_b['fd-row'] = inlineLayout,
|
|
8709
8709
|
_b['f-wrap'] = inlineLayout,
|
|
8710
8710
|
_b['fd-column'] = !inlineLayout,
|
|
@@ -8718,22 +8718,22 @@ var Checkbox = function (_a) {
|
|
|
8718
8718
|
'p-label--bordered': bordered,
|
|
8719
8719
|
'jc-center': customIcon,
|
|
8720
8720
|
'fd-column': customIcon,
|
|
8721
|
-
}), "data-cy": "checkbox-".concat(currentValue), "data-testid": "checkbox-".concat(currentValue), children: [customIcon && jsxRuntime.jsx("div", { className: "mt8", children: customIcon === null || customIcon === void 0 ? void 0 : customIcon(checked) }), isCheckboxLabelObject(label) ? (jsxRuntime.jsxs("div", { children: [jsxRuntime.jsx("p", { className: "p-p", children: label.title }), jsxRuntime.jsx("span", { className: "d-block p-p p-p--small tc-
|
|
8721
|
+
}), "data-cy": "checkbox-".concat(currentValue), "data-testid": "checkbox-".concat(currentValue), children: [customIcon && jsxRuntime.jsx("div", { className: "mt8", children: customIcon === null || customIcon === void 0 ? void 0 : customIcon(checked) }), isCheckboxLabelObject(label) ? (jsxRuntime.jsxs("div", { children: [jsxRuntime.jsx("p", { className: "p-p", children: label.title }), jsxRuntime.jsx("span", { className: "d-block p-p p-p--small tc-neutral-700", children: label.description })] })) : (label)] })] }, currentValue));
|
|
8722
8722
|
})] }));
|
|
8723
8723
|
};
|
|
8724
8724
|
|
|
8725
|
-
var css_248z$
|
|
8726
|
-
var styles$
|
|
8727
|
-
styleInject(css_248z$
|
|
8725
|
+
var css_248z$y = ".styles-module_container__3M-sc {\n max-width: 100%;\n}\n\n.styles-module_narrow__3VUzp {\n max-width: 424px;\n}\n\n.styles-module_wide__3nLhz {\n max-width: 736px;\n}";
|
|
8726
|
+
var styles$x = {"container":"styles-module_container__3M-sc","narrow":"styles-module_narrow__3VUzp","wide":"styles-module_wide__3nLhz"};
|
|
8727
|
+
styleInject(css_248z$y);
|
|
8728
8728
|
|
|
8729
8729
|
var Radio = function (_a) {
|
|
8730
8730
|
var _b;
|
|
8731
8731
|
var options = _a.options, value = _a.value, onChange = _a.onChange, _c = _a.wide, wide = _c === void 0 ? false : _c, _d = _a.inlineLayout, inlineLayout = _d === void 0 ? false : _d, _e = _a.inlineIcon, inlineIcon = _e === void 0 ? false : _e, classNamesObj = _a.classNames, _f = _a.bordered, bordered = _f === void 0 ? true : _f, _g = _a.disabled, disabled = _g === void 0 ? false : _g, _h = _a.fieldLegend, fieldLegend = _h === void 0 ? 'Select an option' : _h, groupName = _a.groupName;
|
|
8732
8732
|
var entries = Object.entries(options);
|
|
8733
8733
|
var name = groupName !== null && groupName !== void 0 ? groupName : generateId();
|
|
8734
|
-
return (jsxRuntime.jsxs("fieldset", { className: classNames$1(classNamesObj === null || classNamesObj === void 0 ? void 0 : classNamesObj.container, styles$
|
|
8735
|
-
_b[styles$
|
|
8736
|
-
_b[styles$
|
|
8734
|
+
return (jsxRuntime.jsxs("fieldset", { className: classNames$1(classNamesObj === null || classNamesObj === void 0 ? void 0 : classNamesObj.container, styles$x.container, 'd-flex gap8', (_b = {},
|
|
8735
|
+
_b[styles$x.wide] = wide,
|
|
8736
|
+
_b[styles$x.narrow] = !wide,
|
|
8737
8737
|
_b['fd-row'] = inlineLayout,
|
|
8738
8738
|
_b['f-wrap'] = inlineLayout,
|
|
8739
8739
|
_b['fd-column'] = !inlineLayout,
|
|
@@ -8752,13 +8752,13 @@ var Radio = function (_a) {
|
|
|
8752
8752
|
'jc-center': customIcon && !inlineIcon,
|
|
8753
8753
|
'fd-column': customIcon && !inlineIcon,
|
|
8754
8754
|
'p-label--bordered': bordered,
|
|
8755
|
-
}), "data-cy": "radio-".concat(currentValue), "data-testid": "radio-".concat(currentValue), children: [customIcon && (jsxRuntime.jsx("div", { className: classNames$1('d-inline-flex ai-center jc-center', inlineIcon ? 'mr8' : 'mt8'), children: customIcon === null || customIcon === void 0 ? void 0 : customIcon(checked) })), isRadioLabelObject(label) ? (jsxRuntime.jsxs("div", { children: [jsxRuntime.jsx("p", { className: "p-p", children: label.title }), jsxRuntime.jsx("span", { className: "d-block p-p p-p--small tc-
|
|
8755
|
+
}), "data-cy": "radio-".concat(currentValue), "data-testid": "radio-".concat(currentValue), children: [customIcon && (jsxRuntime.jsx("div", { className: classNames$1('d-inline-flex ai-center jc-center', inlineIcon ? 'mr8' : 'mt8'), children: customIcon === null || customIcon === void 0 ? void 0 : customIcon(checked) })), isRadioLabelObject(label) ? (jsxRuntime.jsxs("div", { children: [jsxRuntime.jsx("p", { className: "p-p", children: label.title }), jsxRuntime.jsx("span", { className: "d-block p-p p-p--small tc-neutral-700", children: label.description })] })) : (label)] })] }, currentValue));
|
|
8756
8756
|
})] }));
|
|
8757
8757
|
};
|
|
8758
8758
|
|
|
8759
|
-
var css_248z$
|
|
8760
|
-
var styles$
|
|
8761
|
-
styleInject(css_248z$
|
|
8759
|
+
var css_248z$x = "@keyframes style-module_appear-in__3U2lu {\n 0% {\n transform: translateY(100%);\n }\n 80% {\n transform: translateY(-2%);\n }\n 100% {\n transform: translateY(0);\n }\n}\n@keyframes style-module_disappear-out__6pOVr {\n 0% {\n transform: translateY(0);\n }\n 100% {\n transform: translateY(100%);\n }\n}\n.style-module_wrapper__200Xu {\n position: relative;\n top: 0;\n overflow: hidden;\n}\n\n.style-module_container__aOENo {\n border-top-left-radius: 8px;\n border-top-right-radius: 8px;\n overflow: auto;\n max-height: 90vh;\n bottom: 0;\n position: fixed;\n animation-name: style-module_appear-in__3U2lu;\n animation-duration: 0.4s;\n animation-fill-mode: both;\n animation-timing-function: ease-in;\n}\n.style-module_containerClose__3-nqc {\n animation-name: style-module_disappear-out__6pOVr;\n animation-duration: 0.4s;\n animation-delay: 0s;\n animation-fill-mode: both;\n animation-timing-function: ease-out;\n}\n\n@media (max-width: 34rem) {\n .style-module_body__3yNly {\n padding-bottom: 48px;\n }\n}";
|
|
8760
|
+
var styles$w = {"wrapper":"style-module_wrapper__200Xu","container":"style-module_container__aOENo","appear-in":"style-module_appear-in__3U2lu","containerClose":"style-module_containerClose__3-nqc","disappear-out":"style-module_disappear-out__6pOVr","body":"style-module_body__3yNly"};
|
|
8761
|
+
styleInject(css_248z$x);
|
|
8762
8762
|
|
|
8763
8763
|
var useOnClose = function (onClose, isOpen, dismissable) {
|
|
8764
8764
|
var _a = React.useState(false), isVisible = _a[0], setIsVisible = _a[1];
|
|
@@ -8816,9 +8816,9 @@ var useOnClose = function (onClose, isOpen, dismissable) {
|
|
|
8816
8816
|
};
|
|
8817
8817
|
};
|
|
8818
8818
|
|
|
8819
|
-
var css_248z$
|
|
8820
|
-
var styles$
|
|
8821
|
-
styleInject(css_248z$
|
|
8819
|
+
var css_248z$w = "@keyframes style-module_fade-in__f_VRg {\n 0% {\n background-color: rgba(0, 0, 0, 0);\n visibility: hidden;\n }\n 100% {\n background-color: rgba(0, 0, 0, 0.3);\n visibility: visible;\n }\n}\n@keyframes style-module_fade-out__1tEwS {\n from {\n background-color: rgba(0, 0, 0, 0.3);\n visibility: visible;\n }\n to {\n background-color: rgba(0, 0, 0, 0);\n visibility: hidden;\n }\n}\n.style-module_overlay__2f00R {\n z-index: 1000;\n overflow: hidden;\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n animation: style-module_fade-in__f_VRg 0.3s both;\n}\n.style-module_overlayClose__1p313 {\n animation-delay: 0.1s;\n animation: style-module_fade-out__1tEwS 0.3s both;\n}\n\n.style-module_header__284Rz {\n position: sticky;\n top: 0;\n}\n\n.style-module_closeButton__1AbX8 {\n width: 32px;\n height: 32px;\n padding: 0;\n}\n\n.style-module_body__QtlTn {\n flex-grow: 1;\n overflow: auto;\n background: linear-gradient(#fff 30%, #fff), linear-gradient(#fff, #fff 70%), linear-gradient(#e7e7ed 30%, #e7e7ed), linear-gradient(#e7e7ed, #e7e7ed 70%);\n background-repeat: no-repeat;\n background-size: 100% 1px;\n background-attachment: local, local, scroll, scroll;\n}\n\n.style-module_footer__Sh5bv {\n position: sticky;\n bottom: 0;\n border-top: 1px solid #e7e7ed;\n}";
|
|
8820
|
+
var styles$v = {"overlay":"style-module_overlay__2f00R","fade-in":"style-module_fade-in__f_VRg","overlayClose":"style-module_overlayClose__1p313","fade-out":"style-module_fade-out__1tEwS","header":"style-module_header__284Rz","closeButton":"style-module_closeButton__1AbX8","body":"style-module_body__QtlTn","footer":"style-module_footer__Sh5bv"};
|
|
8821
|
+
styleInject(css_248z$w);
|
|
8822
8822
|
|
|
8823
8823
|
function _objectWithoutPropertiesLoose(r, e) {
|
|
8824
8824
|
if (null == r) return {};
|
|
@@ -11571,16 +11571,16 @@ var InnerModal = function (_a) {
|
|
|
11571
11571
|
(_a = modalBodyRef.current) === null || _a === void 0 ? void 0 : _a.removeEventListener('scroll', handleOnScroll);
|
|
11572
11572
|
};
|
|
11573
11573
|
}, []);
|
|
11574
|
-
return (jsxRuntime.jsx("div", { className: classNames$1(classNames === null || classNames === void 0 ? void 0 : classNames.overlay, styles$
|
|
11575
|
-
_b[styles$
|
|
11574
|
+
return (jsxRuntime.jsx("div", { className: classNames$1(classNames === null || classNames === void 0 ? void 0 : classNames.overlay, styles$v.overlay, (_b = {},
|
|
11575
|
+
_b[styles$v.overlayClose] = isClosing,
|
|
11576
11576
|
_b)), onAnimationEnd: handleOnCloseAnimationEnded, onClick: handleOnOverlayClick, children: jsxRuntime.jsx("div", { className: typeof (classNames === null || classNames === void 0 ? void 0 : classNames.wrapper) === 'string'
|
|
11577
11577
|
? classNames === null || classNames === void 0 ? void 0 : classNames.wrapper
|
|
11578
11578
|
: (_c = classNames === null || classNames === void 0 ? void 0 : classNames.wrapper) === null || _c === void 0 ? void 0 : _c.call(classNames, { isClosing: isClosing }), children: jsxRuntime.jsx(FocusLockCombination, { returnFocus: true, className: "m-auto", children: jsxRuntime.jsxs("div", { "aria-modal": "true", role: "dialog", className: typeof (classNames === null || classNames === void 0 ? void 0 : classNames.container) === 'string'
|
|
11579
11579
|
? classNames === null || classNames === void 0 ? void 0 : classNames.container
|
|
11580
|
-
: (_d = classNames === null || classNames === void 0 ? void 0 : classNames.container) === null || _d === void 0 ? void 0 : _d.call(classNames, { isClosing: isClosing }), onClick: handleContainerClick, children: [jsxRuntime.jsxs("div", { className: classNames$1('bg-white d-flex ai-center w100 px24 pt24 pb16', styles$
|
|
11580
|
+
: (_d = classNames === null || classNames === void 0 ? void 0 : classNames.container) === null || _d === void 0 ? void 0 : _d.call(classNames, { isClosing: isClosing }), onClick: handleContainerClick, children: [jsxRuntime.jsxs("div", { className: classNames$1('bg-white d-flex ai-center w100 px24 pt24 pb16', styles$v.header, {
|
|
11581
11581
|
'jc-between': !!title,
|
|
11582
11582
|
'jc-end': !title,
|
|
11583
|
-
}), children: [title && (jsxRuntime.jsx("div", { className: classNames$1(styles$
|
|
11583
|
+
}), children: [title && (jsxRuntime.jsx("div", { className: classNames$1(styles$v.title, titleSize === 'small' ? 'p-h4' : 'p-h2', classNames === null || classNames === void 0 ? void 0 : classNames.title), children: title })), dismissible && (jsxRuntime.jsx(Button, { hideLabel: true, leftIcon: jsxRuntime.jsx(XIcon, { color: "neutral-800", className: classNames === null || classNames === void 0 ? void 0 : classNames.closeButtonIcon }), onClick: handleOnClose, type: "button", variant: "textColor", className: classNames$1(classNames === null || classNames === void 0 ? void 0 : classNames.closeButton, 'p0', styles$v.closeButton), children: "Close modal" }))] }), jsxRuntime.jsx("div", { className: classNames$1('w100', classNames === null || classNames === void 0 ? void 0 : classNames.body, styles$v.body), ref: modalBodyRef, children: children }), footer && (jsxRuntime.jsx("div", { className: classNames$1(classNames === null || classNames === void 0 ? void 0 : classNames.footer, 'w100 bg-white', styles$v.footer), children: jsxRuntime.jsx("div", { className: "p24 pt16", children: footer }) }))] }) }) }) }));
|
|
11584
11584
|
};
|
|
11585
11585
|
var GenericModal = function (props) {
|
|
11586
11586
|
var isOpen = props.isOpen, onClose = props.onClose, _a = props.dismissible, dismissible = _a === void 0 ? true : _a;
|
|
@@ -11593,33 +11593,33 @@ var GenericModal = function (props) {
|
|
|
11593
11593
|
|
|
11594
11594
|
var BottomModal = function (_a) {
|
|
11595
11595
|
var className = _a.className, classNames = _a.classNames, rest = __rest$1(_a, ["className", "classNames"]);
|
|
11596
|
-
return (jsxRuntime.jsx(GenericModal, __assign({ titleSize: "default", classNames: __assign(__assign({}, classNames), { wrapper: classNames$1('w100', styles$
|
|
11596
|
+
return (jsxRuntime.jsx(GenericModal, __assign({ titleSize: "default", classNames: __assign(__assign({}, classNames), { wrapper: classNames$1('w100', styles$w.wrapper, classNames === null || classNames === void 0 ? void 0 : classNames.wrapper), container: function (_a) {
|
|
11597
11597
|
var _b;
|
|
11598
11598
|
var isClosing = _a.isClosing;
|
|
11599
|
-
return classNames$1('bg-white d-flex fd-column w100', className, styles$
|
|
11600
|
-
_b[styles$
|
|
11599
|
+
return classNames$1('bg-white d-flex fd-column w100', className, styles$w.container, classNames === null || classNames === void 0 ? void 0 : classNames.container, (_b = {},
|
|
11600
|
+
_b[styles$w.containerClose] = isClosing,
|
|
11601
11601
|
_b));
|
|
11602
|
-
}, body: classNames$1(styles$
|
|
11602
|
+
}, body: classNames$1(styles$w.body, classNames === null || classNames === void 0 ? void 0 : classNames.body) }) }, rest)));
|
|
11603
11603
|
};
|
|
11604
11604
|
|
|
11605
|
-
var css_248z$
|
|
11606
|
-
var styles$
|
|
11607
|
-
styleInject(css_248z$
|
|
11605
|
+
var css_248z$v = "@keyframes style-module_appear-in__2ZMqz {\n 0% {\n transform: translateY(24px);\n opacity: 0;\n visibility: hidden;\n }\n 100% {\n transform: translateY(0);\n opacity: 1;\n visibility: visible;\n }\n}\n@keyframes style-module_disappear-out__38TSV {\n 0% {\n transform: translateY(0);\n opacity: 1;\n visibility: visible;\n }\n 100% {\n transform: translateY(24px);\n opacity: 0;\n visibility: hidden;\n }\n}\n.style-module_wrapper__qQirD {\n position: relative;\n min-height: 100%;\n animation-name: style-module_appear-in__2ZMqz;\n animation-duration: 0.4s;\n animation-fill-mode: both;\n animation-timing-function: ease-out;\n}\n.style-module_wrapperClose__2aXSB {\n animation-name: style-module_disappear-out__38TSV;\n animation-duration: 0.4s;\n animation-delay: 0s;\n animation-fill-mode: both;\n animation-timing-function: ease-out;\n}\n\n.style-module_container__1XZj_ {\n max-height: 90vh;\n overflow: hidden;\n}";
|
|
11606
|
+
var styles$u = {"wrapper":"style-module_wrapper__qQirD","appear-in":"style-module_appear-in__2ZMqz","wrapperClose":"style-module_wrapperClose__2aXSB","disappear-out":"style-module_disappear-out__38TSV","container":"style-module_container__1XZj_"};
|
|
11607
|
+
styleInject(css_248z$v);
|
|
11608
11608
|
|
|
11609
11609
|
var RegularModal = function (_a) {
|
|
11610
11610
|
var _b = _a.className, className = _b === void 0 ? '' : _b, classNames = _a.classNames, size = _a.size, rest = __rest$1(_a, ["className", "classNames", "size"]);
|
|
11611
11611
|
return (jsxRuntime.jsx(GenericModal, __assign({ classNames: __assign(__assign({}, classNames), { wrapper: function (_a) {
|
|
11612
11612
|
var _b;
|
|
11613
11613
|
var isClosing = _a.isClosing;
|
|
11614
|
-
return classNames$1('d-flex ai-center w90 mx-auto my0', className, styles$
|
|
11615
|
-
_b[styles$
|
|
11614
|
+
return classNames$1('d-flex ai-center w90 mx-auto my0', className, styles$u.wrapper, classNames === null || classNames === void 0 ? void 0 : classNames.wrapper, (_b = {},
|
|
11615
|
+
_b[styles$u.wrapperClose] = isClosing,
|
|
11616
11616
|
_b));
|
|
11617
|
-
}, container: classNames$1('bg-white br8 d-flex ai-center fd-column mx-auto my0', styles$
|
|
11617
|
+
}, container: classNames$1('bg-white br8 d-flex ai-center fd-column mx-auto my0', styles$u.container, size === 'large' ? 'wmx10' : 'wmx8', classNames === null || classNames === void 0 ? void 0 : classNames.container) }) }, rest)));
|
|
11618
11618
|
};
|
|
11619
11619
|
|
|
11620
|
-
var css_248z$
|
|
11621
|
-
var styles$
|
|
11622
|
-
styleInject(css_248z$
|
|
11620
|
+
var css_248z$u = "@media (min-width: 34rem) {\n .style-module_mobile__3k175 {\n display: none;\n }\n}\n@media (max-width: 34rem) {\n .style-module_mobile__3k175 {\n display: block !important;\n }\n}\n\n@media (max-width: 34rem) {\n .style-module_desktop__2lclr {\n display: none;\n }\n}";
|
|
11621
|
+
var styles$t = {"mobile":"style-module_mobile__3k175","desktop":"style-module_desktop__2lclr"};
|
|
11622
|
+
styleInject(css_248z$u);
|
|
11623
11623
|
|
|
11624
11624
|
var BottomOrRegularModal = function (_a) {
|
|
11625
11625
|
var isOpen = _a.isOpen, props = __rest$1(_a, ["isOpen"]);
|
|
@@ -11638,22 +11638,22 @@ var BottomOrRegularModal = function (_a) {
|
|
|
11638
11638
|
window.removeEventListener('resize', handleResize);
|
|
11639
11639
|
};
|
|
11640
11640
|
}, []);
|
|
11641
|
-
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx("div", { className: styles$
|
|
11641
|
+
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx("div", { className: styles$t.mobile, ref: mobileRef, children: visibleSize === 'mobile' && jsxRuntime.jsx(BottomModal, __assign({}, props, { isOpen: isOpen })) }), visibleSize === 'desktop' && (jsxRuntime.jsx("div", { className: styles$t.desktop, children: jsxRuntime.jsx(RegularModal, __assign({}, props, { isOpen: isOpen })) }))] }));
|
|
11642
11642
|
};
|
|
11643
11643
|
|
|
11644
|
-
var css_248z$
|
|
11645
|
-
var styles$
|
|
11646
|
-
styleInject(css_248z$
|
|
11644
|
+
var css_248z$t = "@keyframes style-module_appear-in__5YBuA {\n 0% {\n opacity: 0;\n visibility: hidden;\n }\n 100% {\n opacity: 1;\n visibility: visible;\n }\n}\n@keyframes style-module_disappear-out__33q3c {\n 0% {\n opacity: 1;\n visibility: visible;\n }\n 100% {\n opacity: 0;\n visibility: hidden;\n }\n}\n.style-module_container__dyFzK {\n max-height: 100vh;\n top: 0;\n bottom: 0;\n position: fixed;\n animation-name: style-module_appear-in__5YBuA;\n animation-duration: 0.4s;\n animation-fill-mode: both;\n animation-timing-function: ease-out;\n}\n.style-module_containerClose__39rB7 {\n animation-name: style-module_disappear-out__33q3c;\n animation-duration: 0.4s;\n animation-delay: 0s;\n animation-fill-mode: both;\n animation-timing-function: ease-out;\n}\n\n@media (max-width: 34rem) {\n .style-module_body__3Fuui {\n padding-bottom: 48px;\n }\n}";
|
|
11645
|
+
var styles$s = {"container":"style-module_container__dyFzK","appear-in":"style-module_appear-in__5YBuA","containerClose":"style-module_containerClose__39rB7","disappear-out":"style-module_disappear-out__33q3c","body":"style-module_body__3Fuui"};
|
|
11646
|
+
styleInject(css_248z$t);
|
|
11647
11647
|
|
|
11648
11648
|
var FullScreenModal = function (_a) {
|
|
11649
11649
|
var className = _a.className, classNames = _a.classNames, rest = __rest$1(_a, ["className", "classNames"]);
|
|
11650
11650
|
return (jsxRuntime.jsx(GenericModal, __assign({ titleSize: "small", classNames: __assign(__assign({}, classNames), { wrapper: classNames$1(classNames === null || classNames === void 0 ? void 0 : classNames.wrapper, 'w100'), container: function (_a) {
|
|
11651
11651
|
var _b;
|
|
11652
11652
|
var isClosing = _a.isClosing;
|
|
11653
|
-
return classNames$1('bg-white d-flex fd-column w100', className, styles$
|
|
11654
|
-
_b[styles$
|
|
11653
|
+
return classNames$1('bg-white d-flex fd-column w100', className, styles$s.container, classNames === null || classNames === void 0 ? void 0 : classNames.container, (_b = {},
|
|
11654
|
+
_b[styles$s.containerClose] = isClosing,
|
|
11655
11655
|
_b));
|
|
11656
|
-
}, body: classNames$1(styles$
|
|
11656
|
+
}, body: classNames$1(styles$s.body, classNames === null || classNames === void 0 ? void 0 : classNames.body) }) }, rest)));
|
|
11657
11657
|
};
|
|
11658
11658
|
|
|
11659
11659
|
var infoImage = "data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20clip-path%3D%22url%28%23clip0%29%22%3E%3Cpath%20d%3D%22M10%2018.3334C14.6024%2018.3334%2018.3334%2014.6024%2018.3334%2010C18.3334%205.39765%2014.6024%201.66669%2010%201.66669C5.39765%201.66669%201.66669%205.39765%201.66669%2010C1.66669%2014.6024%205.39765%2018.3334%2010%2018.3334Z%22%20stroke%3D%22%238E8CEE%22%20strokeWidth%3D%222%22%20strokeLinecap%3D%22round%22%20strokeLinejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M10%2013.3333V10%22%20stroke%3D%22%238E8CEE%22%20strokeWidth%3D%222%22%20strokeLinecap%3D%22round%22%20strokeLinejoin%3D%22round%22%2F%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%226.66665%22%20r%3D%220.833333%22%20fill%3D%22%238E8CEE%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3CclipPath%20id%3D%22clip0%22%3E%3Crect%20width%3D%2220%22%20height%3D%2220%22%20fill%3D%22white%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E";
|
|
@@ -11663,22 +11663,22 @@ var info = {
|
|
|
11663
11663
|
alt: 'circle with the letter i inside for information',
|
|
11664
11664
|
};
|
|
11665
11665
|
|
|
11666
|
-
var css_248z$
|
|
11667
|
-
var styles$
|
|
11668
|
-
styleInject(css_248z$
|
|
11666
|
+
var css_248z$s = "@keyframes style-module_appear-in__23V7k {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n.style-module_root-container__3r_b9 {\n position: relative;\n padding-top: 40px;\n}\n.style-module_root-container__3r_b9:hover .style-module_right-icon__L6sf3 {\n visibility: visible;\n animation-name: style-module_appear-in__23V7k;\n animation-duration: 0.3s;\n animation-fill-mode: both;\n}\n\n.style-module_top-icon__10CJ3 {\n position: absolute;\n left: 50%;\n transform: translateX(-50%) translateY(-40px);\n}\n.style-module_top-icon--muted__3PZ1X {\n opacity: 0.25;\n}\n\n.style-module_right-icon__L6sf3 {\n visibility: hidden;\n position: absolute;\n top: 64px;\n right: 24px;\n}\n\n.style-module_container__19mu2 {\n padding: 0 24px 24px 24px;\n height: 100%;\n}\n@media (max-width: 34rem) {\n .style-module_container__19mu2 {\n height: fit-content;\n }\n}";
|
|
11667
|
+
var styles$r = {"root-container":"style-module_root-container__3r_b9","right-icon":"style-module_right-icon__L6sf3","appear-in":"style-module_appear-in__23V7k","top-icon":"style-module_top-icon__10CJ3","top-icon--muted":"style-module_top-icon--muted__3PZ1X","container":"style-module_container__19mu2"};
|
|
11668
|
+
styleInject(css_248z$s);
|
|
11669
11669
|
|
|
11670
11670
|
var InfoCard = function (_a) {
|
|
11671
11671
|
var className = _a.className, title = _a.title, children = _a.children, topIcon = _a.topIcon, rightIcon = _a.rightIcon, _b = _a.state, state = _b === void 0 ? 'actionable' : _b, _c = _a.dropshadow, dropshadow = _c === void 0 ? true : _c, props = __rest$1(_a, ["className", "title", "children", "topIcon", "rightIcon", "state", "dropshadow"]);
|
|
11672
|
-
return (jsxRuntime.jsxs("div", __assign({ className: "".concat(styles$
|
|
11672
|
+
return (jsxRuntime.jsxs("div", __assign({ className: "".concat(styles$r['root-container'], " ").concat(className !== null && className !== void 0 ? className : '') }, props, { children: [jsxRuntime.jsx("img", { src: topIcon.src, alt: topIcon.alt, className: "".concat(styles$r['top-icon'], " ").concat(state === 'muted' ? styles$r['top-icon--muted'] : '', " "), width: "80px", height: "80px" }), jsxRuntime.jsxs("div", { className: "".concat(associatedClassForCardState(state, dropshadow), " ").concat(styles$r.container), children: [rightIcon && (jsxRuntime.jsx("img", { width: "20px", height: "20px", className: styles$r['right-icon'], src: rightIcon === 'info' ? info.src : rightIcon.src, alt: rightIcon === 'info' ? info.alt : rightIcon.alt })), jsxRuntime.jsx("h3", { className: "p-h4 ta-center mt64", children: title }), jsxRuntime.jsx("div", { className: "p-p mt16 tc-neutral-700", children: children })] })] })));
|
|
11673
11673
|
};
|
|
11674
11674
|
|
|
11675
|
-
var css_248z$
|
|
11676
|
-
var styles$
|
|
11677
|
-
styleInject(css_248z$
|
|
11675
|
+
var css_248z$r = ".style-module_containerDisabled__2j9_N {\n pointer-events: none;\n opacity: 0.25;\n}";
|
|
11676
|
+
var styles$q = {"containerDisabled":"style-module_containerDisabled__2j9_N"};
|
|
11677
|
+
styleInject(css_248z$r);
|
|
11678
11678
|
|
|
11679
|
-
var css_248z$
|
|
11680
|
-
var styles$
|
|
11681
|
-
styleInject(css_248z$
|
|
11679
|
+
var css_248z$q = ".style-module_button__P-UIa {\n background-color: transparent;\n color: #26262e;\n outline: 1px solid transparent;\n transition: all 0.2s ease-in-out;\n text-decoration: none;\n border-radius: 8px;\n}\n.style-module_button__P-UIa:hover {\n outline: 1px solid #8883D8;\n color: #8883D8;\n}\n.style-module_button__P-UIa:focus-visible {\n outline: 2px solid #8883D8;\n color: #8883D8;\n}\n\n.style-module_wrapper__35C6V {\n background-color: #fff;\n}\n\n.style-module_icon__15X1c {\n margin-right: 12px;\n color: #8883D8;\n}\n.style-module_iconbalanced__Zb-hZ {\n margin-right: 16px;\n}\n.style-module_iconspacious__3Ly0X {\n margin-right: 24px;\n}\n\n.style-module_actionIcon__3pnwR {\n margin-left: 12px;\n}\n.style-module_actionIconbalanced__19jnn {\n margin-left: 16px;\n}\n.style-module_actionIconspacious__2LJN4 {\n margin-left: 24px;\n}\n\n.style-module_description__ksrnP {\n color: #696971;\n}";
|
|
11680
|
+
var styles$p = {"button":"style-module_button__P-UIa","wrapper":"style-module_wrapper__35C6V","icon":"style-module_icon__15X1c","iconbalanced":"style-module_iconbalanced__Zb-hZ","iconspacious":"style-module_iconspacious__3Ly0X","actionIcon":"style-module_actionIcon__3pnwR","actionIconbalanced":"style-module_actionIconbalanced__19jnn","actionIconspacious":"style-module_actionIconspacious__2LJN4","description":"style-module_description__ksrnP"};
|
|
11681
|
+
styleInject(css_248z$q);
|
|
11682
11682
|
|
|
11683
11683
|
var cardDefaultAs = 'section';
|
|
11684
11684
|
var Card = function (_a) {
|
|
@@ -11691,7 +11691,7 @@ var Card = function (_a) {
|
|
|
11691
11691
|
return (jsxRuntime.jsx(Tag, __assign({ className: classNames$1(classNames === null || classNames === void 0 ? void 0 : classNames.buttonWrapper, 'd-flex w100 ai-stretch', (_b = {
|
|
11692
11692
|
'c-pointer': propsWithActionIcon
|
|
11693
11693
|
},
|
|
11694
|
-
_b[styles$
|
|
11694
|
+
_b[styles$p.button] = propsWithActionIcon,
|
|
11695
11695
|
_b)) }, onClick && {
|
|
11696
11696
|
onClick: onClick,
|
|
11697
11697
|
type: "button"
|
|
@@ -11703,24 +11703,24 @@ var Card = function (_a) {
|
|
|
11703
11703
|
top: 'jc-start',
|
|
11704
11704
|
center: 'jc-center',
|
|
11705
11705
|
bottom: 'jc-end',
|
|
11706
|
-
}[verticalAlignment], styles$
|
|
11706
|
+
}[verticalAlignment], styles$p === null || styles$p === void 0 ? void 0 : styles$p.wrapper, classNames === null || classNames === void 0 ? void 0 : classNames.wrapper), children: [jsxRuntime.jsxs("div", { className: "d-flex w100", children: [icon && (jsxRuntime.jsx("div", { className: classNames$1("d-flex", styles$p.icon, styles$p["icon".concat(density)], classNames === null || classNames === void 0 ? void 0 : classNames.icon, {
|
|
11707
11707
|
top: 'ai-start',
|
|
11708
11708
|
center: 'ai-center',
|
|
11709
11709
|
bottom: 'ai-end',
|
|
11710
|
-
}[verticalAlignment]), children: icon })), jsxRuntime.jsxs("div", { className: "d-flex jc-between w100", children: [jsxRuntime.jsxs("div", { className: "d-flex jc-center gap8 fd-column tc-
|
|
11710
|
+
}[verticalAlignment]), children: icon })), jsxRuntime.jsxs("div", { className: "d-flex jc-between w100", children: [jsxRuntime.jsxs("div", { className: "d-flex jc-center gap8 fd-column tc-neutral-900 w100", children: [label && (jsxRuntime.jsx("h4", { className: classNames$1('p-p--small', classNames === null || classNames === void 0 ? void 0 : classNames.label), children: label })), title && (jsxRuntime.jsx("h3", { className: classNames$1(classNames === null || classNames === void 0 ? void 0 : classNames.title, {
|
|
11711
11711
|
large: 'p-h3',
|
|
11712
11712
|
medium: 'p-h4',
|
|
11713
11713
|
small: 'p-p',
|
|
11714
|
-
}[titleVariant]), children: title })), description && (jsxRuntime.jsx("div", { className: classNames$1(styles$
|
|
11714
|
+
}[titleVariant]), children: title })), description && (jsxRuntime.jsx("div", { className: classNames$1(styles$p.description, classNames === null || classNames === void 0 ? void 0 : classNames.description, descriptionVariant === 'small' ? 'p-p--small' : 'p-p'), children: description }))] }), (showActionIcon || (propsWithActionIcon && !hideActionIcon)) && (jsxRuntime.jsx("div", { className: classNames$1(styles$p.actionIcon, classNames === null || classNames === void 0 ? void 0 : classNames.actionIcon, styles$p["actionIcon".concat(density)], 'd-flex ai-center'), children: actionIcon || jsxRuntime.jsx(ChevronRightIcon, { size: 24 }) }))] })] }), children && jsxRuntime.jsx("div", { className: classNames === null || classNames === void 0 ? void 0 : classNames.children, children: children })] }) })));
|
|
11715
11715
|
};
|
|
11716
11716
|
|
|
11717
11717
|
var CardButton = function (_a) {
|
|
11718
11718
|
var _b;
|
|
11719
11719
|
var title = _a.title, description = _a.description, _c = _a.disabled, disabled = _c === void 0 ? false : _c, className = _a.className, href = _a.href;
|
|
11720
11720
|
return (jsxRuntime.jsx(Card, __assign({ as: href ? 'a' : 'button', classNames: {
|
|
11721
|
-
buttonWrapper: classNames$1('c-pointer ta-left w100', className, (_b = {}, _b[styles$
|
|
11722
|
-
description: 'tc-
|
|
11723
|
-
}, density: 'compact', label: title, description: typeof description === 'string' ? description : null, actionIcon: jsxRuntime.jsx(ChevronRightIcon, { size: 20, color: 'purple-
|
|
11721
|
+
buttonWrapper: classNames$1('c-pointer ta-left w100', className, (_b = {}, _b[styles$q.containerDisabled] = disabled, _b)),
|
|
11722
|
+
description: 'tc-purple-600 p-p',
|
|
11723
|
+
}, density: 'compact', label: title, description: typeof description === 'string' ? description : null, actionIcon: jsxRuntime.jsx(ChevronRightIcon, { size: 20, color: 'purple-600', className: styles$q.chevronRight }), showActionIcon: true }, href ? { href: href } : {}, { children: typeof description !== 'string' ? description : null })));
|
|
11724
11724
|
};
|
|
11725
11725
|
|
|
11726
11726
|
var associatedClassForCardState = function (state, dropshadow) {
|
|
@@ -11740,13 +11740,13 @@ var associatedClassForCardState = function (state, dropshadow) {
|
|
|
11740
11740
|
return baseClass;
|
|
11741
11741
|
};
|
|
11742
11742
|
|
|
11743
|
-
var css_248z$
|
|
11744
|
-
var styles$
|
|
11745
|
-
styleInject(css_248z$
|
|
11743
|
+
var css_248z$p = ".style-module_chip__3LMgV {\n background: var(--ds-purple-300);\n border: 2px solid var(--ds-purple-300);\n border-radius: 8px;\n padding: 4px 8px;\n width: fit-content;\n width: -moz-fit-content;\n display: flex;\n align-items: center;\n animation-name: style-module_appearInAnimation__33Ebn;\n animation-duration: 0.5s;\n animation-fill-mode: both;\n}\n\n.style-module_chip__3LMgV:hover {\n transition: 0.2s ease-in;\n border: 2px solid var(--ds-purple-600);\n}\n\n.style-module_chip-image__2vVqF {\n width: 24px;\n height: 14px;\n}\n\n.style-module_chip-button-container__3gSRY {\n color: #B8B4F3;\n position: relative;\n width: 16px;\n height: 16px;\n background: none;\n border: none;\n padding: 0;\n margin: 0;\n text-align: inherit;\n outline: none;\n box-shadow: none;\n appearance: none;\n -webkit-appearance: none;\n -moz-appearance: none;\n cursor: pointer;\n}\n.style-module_chip-button-container__3gSRY:hover {\n color: #8883D8;\n}\n.style-module_chip-button-container__3gSRY:focus-visible {\n outline: 2px solid var(--ds-purple-600);\n border-radius: 2px;\n}\n\n.style-module_chip-remove-button__3LK7e {\n margin: 0;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n.style-module_chip-remove-button__3LK7e svg {\n vertical-align: top;\n}\n\n@keyframes style-module_appearInAnimation__33Ebn {\n from {\n opacity: 0;\n transform: translateX(16px);\n }\n to {\n opacity: 1;\n }\n}";
|
|
11744
|
+
var styles$o = {"chip":"style-module_chip__3LMgV","appearInAnimation":"style-module_appearInAnimation__33Ebn","chip-image":"style-module_chip-image__2vVqF","chip-button-container":"style-module_chip-button-container__3gSRY","chip-remove-button":"style-module_chip-remove-button__3LK7e"};
|
|
11745
|
+
styleInject(css_248z$p);
|
|
11746
11746
|
|
|
11747
11747
|
var Chip = (function (_a) {
|
|
11748
11748
|
var className = _a.className, value = _a.value, onRemove = _a.onRemove;
|
|
11749
|
-
return (jsxRuntime.jsxs("div", { className: "p-p mr8 mb8 d-flex ".concat(className, " ").concat(styles$
|
|
11749
|
+
return (jsxRuntime.jsxs("div", { className: "p-p mr8 mb8 d-flex ".concat(className, " ").concat(styles$o['chip']), children: [value.leftIcon && (jsxRuntime.jsx("img", { className: "mr8 ".concat(styles$o['chip-image']), src: value.leftIcon, alt: value.value })), jsxRuntime.jsx("div", { className: "mr8", children: value.value }), jsxRuntime.jsx("button", { className: "c-pointer ".concat(styles$o['chip-button-container']), type: "button", onClick: function () { return onRemove(value); }, "aria-label": "Remove ".concat(value.value, " option"), children: jsxRuntime.jsx(XIcon, { className: styles$o['chip-remove-button'] }) })] }));
|
|
11750
11750
|
});
|
|
11751
11751
|
|
|
11752
11752
|
var Autosuggest = {};
|
|
@@ -13870,21 +13870,21 @@ _defineProperty(Autosuggest, "defaultProps", {
|
|
|
13870
13870
|
|
|
13871
13871
|
var dist$2 = Autosuggest["default"];
|
|
13872
13872
|
|
|
13873
|
-
var css_248z$
|
|
13874
|
-
var styles$
|
|
13875
|
-
styleInject(css_248z$
|
|
13873
|
+
var css_248z$o = "@keyframes style-module_appearInAnimation__yvH4A {\n from {\n opacity: 0;\n transform: translateY(16px);\n }\n to {\n opacity: 1;\n }\n}\n.style-module_suggestionsContainer__2yVXd {\n position: relative;\n}\n\n.style-module_suggestionsList__11o48 {\n position: absolute;\n z-index: 100;\n overflow: hidden;\n border-radius: 8px;\n border: 1px solid var(--ds-purple-600);\n width: 100%;\n height: fit-content;\n max-height: 216px;\n overflow-y: scroll;\n background-color: white;\n animation-name: style-module_appearInAnimation__yvH4A;\n animation-duration: 0.3s;\n animation-fill-mode: both;\n transform: translateY(8px);\n}\n\n.style-module_suggestion-option__z7pqG {\n display: flex;\n align-items: center;\n cursor: pointer;\n position: relative;\n margin: 0;\n padding: 12px 16px;\n color: var(--ds-neutral-900);\n min-height: 48px;\n line-height: 24px;\n}\n\n.style-module_suggestion-img__1TfiA {\n width: 32px;\n height: 24px;\n border-radius: 2px;\n}\n\n.style-module_suggestion-text__7wL31 {\n flex: 1;\n}\n\n.style-module_nowrap__uks9c {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.style-module_suggestionHighlighted__2zu5h {\n background-color: var(--ds-purple-300);\n}";
|
|
13874
|
+
var styles$n = {"suggestionsContainer":"style-module_suggestionsContainer__2yVXd","suggestionsList":"style-module_suggestionsList__11o48","appearInAnimation":"style-module_appearInAnimation__yvH4A","suggestion-option":"style-module_suggestion-option__z7pqG","suggestion-img":"style-module_suggestion-img__1TfiA","suggestion-text":"style-module_suggestion-text__7wL31","nowrap":"style-module_nowrap__uks9c","suggestionHighlighted":"style-module_suggestionHighlighted__2zu5h"};
|
|
13875
|
+
styleInject(css_248z$o);
|
|
13876
13876
|
|
|
13877
13877
|
var AutoSuggestInput = function (_a) {
|
|
13878
13878
|
var currentOption = _a.currentOption, suggestions = _a.suggestions, handleSuggestionSelected = _a.handleSuggestionSelected, onChange = _a.onChange, handleSuggestionFetchRequest = _a.handleSuggestionFetchRequest, handleSuggestionClearRequest = _a.handleSuggestionClearRequest, placeholder = _a.placeholder, className = _a.className, wrapText = _a.wrapText, inputProps = _a.inputProps;
|
|
13879
13879
|
var renderSuggestion = function (suggestion) {
|
|
13880
13880
|
var _a;
|
|
13881
|
-
return (jsxRuntime.jsxs("div", { className: "".concat(styles$
|
|
13882
|
-
_a[styles$
|
|
13881
|
+
return (jsxRuntime.jsxs("div", { className: "".concat(styles$n['suggestion-option']), children: [suggestion.leftIcon && (jsxRuntime.jsx("img", { className: "mr16 ".concat(styles$n['suggestion-img']), src: suggestion.leftIcon, alt: suggestion.value })), jsxRuntime.jsx("div", { className: classNames$1(styles$n['suggestion-text'], (_a = {},
|
|
13882
|
+
_a[styles$n.nowrap] = !wrapText,
|
|
13883
13883
|
_a)), children: suggestion.value })] }));
|
|
13884
13884
|
};
|
|
13885
13885
|
var getSuggestionValue = function (suggestion) { return suggestion.value; };
|
|
13886
13886
|
var renderInputComponent = function (autoSuggestInputProps) { return (jsxRuntime.jsx(Input, __assign({}, autoSuggestInputProps, { placeholder: placeholder, "data-cy": "suggest-multi-select-input" }))); };
|
|
13887
|
-
return (jsxRuntime.jsx("div", { className: className, children: jsxRuntime.jsx(dist$2, { theme: styles$
|
|
13887
|
+
return (jsxRuntime.jsx("div", { className: className, children: jsxRuntime.jsx(dist$2, { theme: styles$n, suggestions: suggestions, onSuggestionsFetchRequested: handleSuggestionFetchRequest, onSuggestionsClearRequested: handleSuggestionClearRequest, getSuggestionValue: getSuggestionValue, renderSuggestion: renderSuggestion, highlightFirstSuggestion: true, inputProps: __assign(__assign({}, inputProps), { value: currentOption, onChange: function (_, _a) {
|
|
13888
13888
|
var newValue = _a.newValue;
|
|
13889
13889
|
onChange(newValue);
|
|
13890
13890
|
} }), onSuggestionSelected: function (_, _a) {
|
|
@@ -13893,9 +13893,9 @@ var AutoSuggestInput = function (_a) {
|
|
|
13893
13893
|
}, renderInputComponent: renderInputComponent }) }));
|
|
13894
13894
|
};
|
|
13895
13895
|
|
|
13896
|
-
var css_248z$
|
|
13897
|
-
var styles$
|
|
13898
|
-
styleInject(css_248z$
|
|
13896
|
+
var css_248z$n = ".style-module_chip-container__26s37 {\n display: flex;\n flex-wrap: wrap;\n max-height: 10px;\n transition: 0.7s ease-in;\n}\n\n.style-module_appearIn__3XNel {\n max-height: 300px;\n}";
|
|
13897
|
+
var styles$m = {"chip-container":"style-module_chip-container__26s37","appearIn":"style-module_appearIn__3XNel"};
|
|
13898
|
+
styleInject(css_248z$n);
|
|
13899
13899
|
|
|
13900
13900
|
var AutoSuggestMultiSelect = function (_a) {
|
|
13901
13901
|
var _b;
|
|
@@ -13903,8 +13903,8 @@ var AutoSuggestMultiSelect = function (_a) {
|
|
|
13903
13903
|
var _c = React.useState([]), suggestions = _c[0], setSuggestions = _c[1];
|
|
13904
13904
|
var _d = React.useState(''), currentOption = _d[0], setCurrentOption = _d[1];
|
|
13905
13905
|
var hasChips = Boolean(selectedValues && selectedValues.length > 0);
|
|
13906
|
-
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx("div", { className: classNames$1(styles$
|
|
13907
|
-
_b[styles$
|
|
13906
|
+
return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx("div", { className: classNames$1(styles$m['chip-container'], chipsListClassName, (_b = {},
|
|
13907
|
+
_b[styles$m.appearIn] = hasChips,
|
|
13908
13908
|
_b)), children: selectedValues && hasChips && (jsxRuntime.jsx(jsxRuntime.Fragment, { children: selectedValues.map(function (value, index) { return (jsxRuntime.jsx(Chip, { className: "mb16", value: value, onRemove: function (value) {
|
|
13909
13909
|
var newValues = __spreadArray$1([], selectedValues, true).filter(function (selectedValue) { return selectedValue.value !== value.value; });
|
|
13910
13910
|
setValues(newValues);
|
|
@@ -15447,9 +15447,9 @@ module.exports = function(isValidElement, throwOnDirectAccess) {
|
|
|
15447
15447
|
|
|
15448
15448
|
}(dist$1));
|
|
15449
15449
|
|
|
15450
|
-
var css_248z$
|
|
15451
|
-
var styles$
|
|
15452
|
-
styleInject(css_248z$
|
|
15450
|
+
var css_248z$m = ".AccordionItem-module_container__29xle {\n width: min-content;\n width: var(--growContent, min-content);\n max-width: 100%;\n margin-left: auto;\n margin-right: auto;\n}\n\n.AccordionItem-module_chevron__1Pdoe {\n transition: filter 0.3s ease-in-out, transform 0.2s ease-in-out;\n}\n\n.AccordionItem-module_chevronClosed__1Sq5g {\n transform: rotate(180deg);\n}\n\n.AccordionItem-module_iconAndTextContainer__1K9NF {\n column-gap: 12px;\n}\n\n.AccordionItem-module_headerButton__1C03u {\n border: none;\n background: #f9f9fd;\n column-gap: 16px;\n cursor: pointer;\n font-family: inherit;\n outline: none;\n position: relative;\n text-align: inherit;\n transition: background-color 0.3s ease-in-out, transform 0.2s ease-in-out;\n}\n.AccordionItem-module_headerButton__1C03u:hover {\n background: #E8E7FE;\n}\n\n.AccordionItem-module_headerButton__1C03u:hover .AccordionItem-module_chevron__1Pdoe {\n filter: brightness(0.425);\n}";
|
|
15451
|
+
var styles$l = {"container":"AccordionItem-module_container__29xle","chevron":"AccordionItem-module_chevron__1Pdoe","chevronClosed":"AccordionItem-module_chevronClosed__1Sq5g","iconAndTextContainer":"AccordionItem-module_iconAndTextContainer__1K9NF","headerButton":"AccordionItem-module_headerButton__1C03u"};
|
|
15452
|
+
styleInject(css_248z$m);
|
|
15453
15453
|
|
|
15454
15454
|
var ChevronSVG = function (_a) {
|
|
15455
15455
|
var className = _a.className;
|
|
@@ -15465,7 +15465,7 @@ var AccordionItem = function (_a) {
|
|
|
15465
15465
|
onClose();
|
|
15466
15466
|
}
|
|
15467
15467
|
};
|
|
15468
|
-
return (jsxRuntime.jsxs("section", { className: "d-flex fd-column ".concat(styles$
|
|
15468
|
+
return (jsxRuntime.jsxs("section", { className: "d-flex fd-column ".concat(styles$l.container, " ").concat(className), children: [jsxRuntime.jsxs("button", { className: "d-flex ai-center jc-between ".concat(styles$l.headerButton, " ").concat(headerClassName), onClick: handleClick, type: "button", children: [jsxRuntime.jsx("div", { className: "d-flex ai-center ".concat(styles$l.iconAndTextContainer), children: typeof label === 'string' ? (jsxRuntime.jsx("h4", { className: "p-h4", children: label })) : (jsxRuntime.jsx(jsxRuntime.Fragment, { children: label })) }), jsxRuntime.jsx(ChevronSVG, { className: "".concat(styles$l.chevron, " ").concat(!isOpen && styles$l.chevronClosed) })] }), jsxRuntime.jsx(AnimateHeight, { duration: 300, height: isOpen ? 'auto' : 0.1, children: children })] }));
|
|
15469
15469
|
};
|
|
15470
15470
|
|
|
15471
15471
|
var Chevron = function (_a) {
|
|
@@ -15473,18 +15473,18 @@ var Chevron = function (_a) {
|
|
|
15473
15473
|
return (jsxRuntime.jsx("svg", { width: "20", height: "20", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className, children: jsxRuntime.jsx("path", { d: "M15 12.5l-5-5-5 5", stroke: "#8E8CEE", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }));
|
|
15474
15474
|
};
|
|
15475
15475
|
|
|
15476
|
-
var css_248z$
|
|
15477
|
-
var styles$
|
|
15478
|
-
styleInject(css_248z$
|
|
15476
|
+
var css_248z$l = ".style-module_header__32rw- {\n position: relative;\n}\n.style-module_header__32rw- > div {\n width: var(--tableWidth);\n max-width: 100vw;\n}\n.style-module_header__32rw- > div:nth-child(n+3) {\n margin: 0;\n}\n@media (min-width: 34rem) {\n .style-module_header__32rw- > div {\n width: 211px;\n width: var(--cellWidth, 211px);\n max-width: var(--tableWidth);\n scroll-snap-align: unset;\n }\n}\n\n.style-module_cell__1NoZ6 {\n display: flex;\n justify-content: center;\n align-items: center;\n scroll-snap-align: end;\n line-height: 24px;\n padding: 16px 8px;\n color: #26262e;\n width: 50vw;\n max-width: calc(var(--tableWidth) / 2);\n}\n.style-module_cell__1NoZ6:first-child {\n padding: 16px 8px 16px 16px;\n}\n.style-module_cell__1NoZ6:first-child {\n background-color: white;\n /** Add scroll snap to every column except the first one */\n scroll-snap-align: unset;\n}\n.style-module_cell__1NoZ6:nth-child(n+3) {\n margin-left: 50vw;\n}\n@media (min-width: 34rem) {\n .style-module_cell__1NoZ6:nth-child(n+3) {\n margin-left: unset;\n }\n}\n@media (min-width: 34rem) {\n .style-module_cell__1NoZ6 {\n flex: 1 0 211px;\n flex: 1 0 var(--cellWidth, 211px);\n width: 211px;\n width: var(--cellWidth, 211px);\n padding: 24px 8px;\n }\n .style-module_cell__1NoZ6:first-child {\n padding: 24px 8px 24px 24px;\n }\n}\n\nh4.style-module_cell__1NoZ6 {\n max-width: min(212px, calc(var(--tableWidth) / 2));\n max-width: min(var(--firstColumnWidth, 212px), calc(var(--tableWidth) / 2));\n}\n\n.style-module_title__1xYvu {\n position: relative;\n color: #26262e;\n display: none;\n line-height: 38px;\n text-decoration: underline;\n text-decoration-color: #8883D8;\n text-decoration-thickness: 4px;\n text-underline-offset: 8px;\n}\n@media (min-width: 34rem) {\n .style-module_title__1xYvu {\n display: flex;\n }\n}\n\n.style-module_sticky__2T5jm {\n position: sticky;\n justify-content: flex-start;\n z-index: 1;\n top: 0;\n left: 0;\n width: 50vw;\n}\n@media (min-width: 34rem) {\n .style-module_sticky__2T5jm {\n border-right: 1px solid #f9f9fd;\n flex: 1 0 288px;\n }\n}\n\nh4.style-module_addon__CPf60 {\n border-right: none;\n max-width: calc(100vw - 64px);\n width: 100%;\n}\n@media (min-width: 64rem) {\n h4.style-module_addon__CPf60 {\n max-width: 976px;\n }\n}";
|
|
15477
|
+
var styles$k = {"header":"style-module_header__32rw-","cell":"style-module_cell__1NoZ6","title":"style-module_title__1xYvu","sticky":"style-module_sticky__2T5jm","addon":"style-module_addon__CPf60"};
|
|
15478
|
+
styleInject(css_248z$l);
|
|
15479
15479
|
|
|
15480
15480
|
var Row = function (props) {
|
|
15481
15481
|
var _a, _b;
|
|
15482
15482
|
var cell = props.cell, data = props.data, isRowHeader = props.isRowHeader, rowId = props.rowId, cellClassName = props.cellClassName;
|
|
15483
15483
|
return (jsxRuntime.jsxs("div", { className: classNames$1('d-flex w-100', (_a = {},
|
|
15484
|
-
_a[styles$
|
|
15485
|
-
_a)), children: [jsxRuntime.jsx("h4", { className: classNames$1(styles$
|
|
15486
|
-
_b["p-h2 p--serif ".concat(styles$
|
|
15487
|
-
_b[styles$
|
|
15484
|
+
_a[styles$k.header] = isRowHeader,
|
|
15485
|
+
_a)), children: [jsxRuntime.jsx("h4", { className: classNames$1(styles$k.cell, styles$k.sticky, (_b = {},
|
|
15486
|
+
_b["p-h2 p--serif ".concat(styles$k.title)] = isRowHeader,
|
|
15487
|
+
_b[styles$k.addon] = typeof cell.key === 'undefined',
|
|
15488
15488
|
_b), cellClassName), children: cell.label }), Array.isArray(data) &&
|
|
15489
15489
|
data.map(function (item) {
|
|
15490
15490
|
/**
|
|
@@ -15495,7 +15495,7 @@ var Row = function (props) {
|
|
|
15495
15495
|
return null;
|
|
15496
15496
|
if (typeof item[cell.key] === 'undefined')
|
|
15497
15497
|
return null;
|
|
15498
|
-
return (jsxRuntime.jsx("div", { className: classNames$1('ta-center', styles$
|
|
15498
|
+
return (jsxRuntime.jsx("div", { className: classNames$1('ta-center', styles$k.cell, cellClassName), children:
|
|
15499
15499
|
/**
|
|
15500
15500
|
* Return a function if `render` option is present
|
|
15501
15501
|
* else print the current data source value
|
|
@@ -15512,39 +15512,39 @@ var ArrowIcon = function (_a) {
|
|
|
15512
15512
|
return (jsxRuntime.jsx("svg", { width: "14", height: "8", viewBox: "0 0 14 8", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className, children: jsxRuntime.jsx("path", { d: "M1 1.00003L7 7.00003L13 1.00003", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }) }));
|
|
15513
15513
|
};
|
|
15514
15514
|
|
|
15515
|
-
var css_248z$
|
|
15516
|
-
var styles$
|
|
15517
|
-
styleInject(css_248z$
|
|
15515
|
+
var css_248z$k = ".style-module_container__3BxOi {\n position: absolute;\n width: 100%;\n height: 100%;\n padding: 0 16px;\n justify-content: space-between;\n align-items: center;\n display: flex;\n}\n@media (min-width: 34rem) {\n .style-module_container__3BxOi {\n display: none;\n }\n}\n\n.style-module_next__3yJsi {\n transform: rotate(-90deg);\n}\n\n.style-module_prev__3rIR_ {\n transform: rotate(90deg);\n}\n\n.style-module_arrow__1tlbD {\n width: 32px;\n height: 32px;\n z-index: 3;\n padding: 0;\n border-radius: 50%;\n background-color: #f7f7fd;\n justify-content: center;\n align-items: center;\n stroke: #E8E7FE;\n}\n.style-module_arrow__1tlbD:hover, .style-module_arrow__1tlbD:focus {\n background-color: #f7f7fd;\n cursor: not-allowed;\n}\n\n.style-module_active__2kklB {\n stroke: #8883D8;\n}\n.style-module_active__2kklB:hover, .style-module_active__2kklB:focus {\n background-color: #f7f7fd;\n cursor: pointer;\n}\n\n.style-module_noPointerEvents__21KuB {\n pointer-events: none;\n}";
|
|
15516
|
+
var styles$j = {"container":"style-module_container__3BxOi","next":"style-module_next__3yJsi","prev":"style-module_prev__3rIR_","arrow":"style-module_arrow__1tlbD","active":"style-module_active__2kklB","noPointerEvents":"style-module_noPointerEvents__21KuB"};
|
|
15517
|
+
styleInject(css_248z$k);
|
|
15518
15518
|
|
|
15519
15519
|
var TableArrows = function (props) {
|
|
15520
15520
|
var _a, _b;
|
|
15521
15521
|
var active = props.active, onClick = props.onClick;
|
|
15522
15522
|
var handleButtonClick = function (value) { return function () { return onClick(value); }; };
|
|
15523
|
-
return (jsxRuntime.jsxs("div", { className: styles$
|
|
15524
|
-
_a[styles$
|
|
15525
|
-
_a[styles$
|
|
15526
|
-
_a)), children: jsxRuntime.jsx(ArrowIcon, {}) }), jsxRuntime.jsx("button", { onClick: handleButtonClick('next'), className: classNames$1("p-btn--secondary d-flex", styles$
|
|
15527
|
-
_b[styles$
|
|
15528
|
-
_b[styles$
|
|
15523
|
+
return (jsxRuntime.jsxs("div", { className: styles$j.container, children: [jsxRuntime.jsx("button", { onClick: handleButtonClick('prev'), className: classNames$1("p-btn--secondary d-flex", styles$j.prev, styles$j.arrow, (_a = {},
|
|
15524
|
+
_a[styles$j.active] = active.left,
|
|
15525
|
+
_a[styles$j.noPointerEvents] = !active.left,
|
|
15526
|
+
_a)), children: jsxRuntime.jsx(ArrowIcon, {}) }), jsxRuntime.jsx("button", { onClick: handleButtonClick('next'), className: classNames$1("p-btn--secondary d-flex", styles$j.next, styles$j.arrow, (_b = {},
|
|
15527
|
+
_b[styles$j.active] = active.right,
|
|
15528
|
+
_b[styles$j.noPointerEvents] = !active.right,
|
|
15529
15529
|
_b)), children: jsxRuntime.jsx(ArrowIcon, {}) })] }));
|
|
15530
15530
|
};
|
|
15531
15531
|
|
|
15532
|
-
var css_248z$
|
|
15533
|
-
var styles$
|
|
15534
|
-
styleInject(css_248z$
|
|
15532
|
+
var css_248z$j = ".style-module_wrapper__1s115 {\n position: relative;\n}\n\n.style-module_infoButton__1nIU2 {\n position: absolute;\n right: -32px;\n top: 0;\n}";
|
|
15533
|
+
var styles$i = {"wrapper":"style-module_wrapper__1s115","infoButton":"style-module_infoButton__1nIU2"};
|
|
15534
|
+
styleInject(css_248z$j);
|
|
15535
15535
|
|
|
15536
|
-
var css_248z$
|
|
15537
|
-
var styles$
|
|
15538
|
-
styleInject(css_248z$
|
|
15536
|
+
var css_248z$i = ".style-module_button__3TkNT {\n padding: 0;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n vertical-align: bottom;\n border-radius: 12px;\n width: 24px;\n height: 24px;\n transition: all 0.3s ease;\n}\n.style-module_button__3TkNT:hover, .style-module_button__3TkNT:focus {\n background-color: #F6F6FE;\n}\n.style-module_button__3TkNT:hover svg path, .style-module_button__3TkNT:focus svg path {\n fill: #B8B4F3;\n}\n.style-module_button__3TkNT svg {\n transition: all 0.3s ease;\n}\n.style-module_button__3TkNT svg path {\n fill: #d2d2d9;\n}\n.style-module_button__3TkNT:focus-visible {\n box-shadow: 0 0 0 2px #8883D8;\n}";
|
|
15537
|
+
var styles$h = {"button":"style-module_button__3TkNT"};
|
|
15538
|
+
styleInject(css_248z$i);
|
|
15539
15539
|
|
|
15540
15540
|
var TableInfoButton = function (_a) {
|
|
15541
15541
|
var onClick = _a.onClick, _b = _a.className, className = _b === void 0 ? '' : _b;
|
|
15542
|
-
return (jsxRuntime.jsx("button", { className: "p-btn--secondary ".concat(styles$
|
|
15542
|
+
return (jsxRuntime.jsx("button", { className: "p-btn--secondary ".concat(styles$h.button, " ").concat(className), type: "button", "data-testid": "ds-table-info-button", onClick: onClick, "aria-label": "View more information", title: "View more information", children: jsxRuntime.jsx(Info, { size: 20 }) }));
|
|
15543
15543
|
};
|
|
15544
15544
|
|
|
15545
15545
|
var TableButton = function (_a) {
|
|
15546
15546
|
var children = _a.children, onClick = _a.onClick, _b = _a.className, className = _b === void 0 ? '' : _b;
|
|
15547
|
-
return (jsxRuntime.jsxs("div", { className: styles$
|
|
15547
|
+
return (jsxRuntime.jsxs("div", { className: styles$i.wrapper, children: [children, jsxRuntime.jsx(TableInfoButton, { className: "".concat(styles$i.infoButton, " ").concat(className), "data-testid": "ds-table-button", onClick: onClick })] }));
|
|
15548
15548
|
};
|
|
15549
15549
|
|
|
15550
15550
|
var StarIcon = function (_a) {
|
|
@@ -15557,9 +15557,9 @@ var ZapIcon = function (_a) {
|
|
|
15557
15557
|
return (jsxRuntime.jsx("svg", { width: "12", height: "12", fill: "none", xmlns: "http://www.w3.org/2000/svg", className: className, children: jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.492 1.124A1 1 0 005.732.36l-5 6A1 1 0 001.5 8h3.367l-.36 2.876a1 1 0 001.761.764l5-6A1 1 0 0010.5 4H7.133l.36-2.876z" }) }));
|
|
15558
15558
|
};
|
|
15559
15559
|
|
|
15560
|
-
var css_248z$
|
|
15561
|
-
var styles$
|
|
15562
|
-
styleInject(css_248z$
|
|
15560
|
+
var css_248z$h = ".style-module_icon__1ep7- {\n margin-right: 4px;\n}\n\n.style-module_filled__3l-v0 {\n fill: #8883D8;\n}\n\n.style-module_empty__Ikg_s {\n fill: #f7f7fd;\n}";
|
|
15561
|
+
var styles$g = {"icon":"style-module_icon__1ep7-","filled":"style-module_filled__3l-v0","empty":"style-module_empty__Ikg_s"};
|
|
15562
|
+
styleInject(css_248z$h);
|
|
15563
15563
|
|
|
15564
15564
|
var getRatingIcon = function (type) {
|
|
15565
15565
|
var iconDictionary = {
|
|
@@ -15572,18 +15572,18 @@ var VALID_VALUES = [1, 2, 3];
|
|
|
15572
15572
|
var TableRating = function (props) {
|
|
15573
15573
|
var rating = props.rating, type = props.type;
|
|
15574
15574
|
var SelectedIcon = getRatingIcon(type);
|
|
15575
|
-
return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: VALID_VALUES.map(function (value) { return (jsxRuntime.jsx(SelectedIcon, { className: classNames$1(styles$
|
|
15575
|
+
return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: VALID_VALUES.map(function (value) { return (jsxRuntime.jsx(SelectedIcon, { className: classNames$1(styles$g.icon, value <= rating ? styles$g.filled : styles$g.empty) }, value)); }) }));
|
|
15576
15576
|
};
|
|
15577
15577
|
|
|
15578
|
-
var css_248z$
|
|
15579
|
-
var styles$
|
|
15580
|
-
styleInject(css_248z$
|
|
15578
|
+
var css_248z$g = ".style-module_icon__30Nor {\n min-width: 20px;\n}";
|
|
15579
|
+
var styles$f = {"icon":"style-module_icon__30Nor"};
|
|
15580
|
+
styleInject(css_248z$g);
|
|
15581
15581
|
|
|
15582
15582
|
var TableRowHeader = function (_a) {
|
|
15583
15583
|
var icon = _a.icon, label = _a.label, subtitle = _a.subtitle, onClickInfo = _a.onClickInfo;
|
|
15584
|
-
return (jsxRuntime.jsxs("div", { className: "d-flex", children: [icon && jsxRuntime.jsx("span", { className: "mr8 ".concat(styles$
|
|
15584
|
+
return (jsxRuntime.jsxs("div", { className: "d-flex", children: [icon && jsxRuntime.jsx("span", { className: "mr8 ".concat(styles$f.icon), children: icon }), jsxRuntime.jsxs("div", { children: [jsxRuntime.jsxs("p", { className: "p-p d-inline", children: [jsxRuntime.jsx("span", { className: classNames$1({
|
|
15585
15585
|
mr8: onClickInfo,
|
|
15586
|
-
}), children: label }), onClickInfo && jsxRuntime.jsx(TableInfoButton, { onClick: onClickInfo })] }), subtitle && jsxRuntime.jsx("p", { className: "p-p--small tc-
|
|
15586
|
+
}), children: label }), onClickInfo && jsxRuntime.jsx(TableInfoButton, { onClick: onClickInfo })] }), subtitle && jsxRuntime.jsx("p", { className: "p-p--small tc-neutral-600", children: subtitle })] })] }));
|
|
15587
15587
|
};
|
|
15588
15588
|
|
|
15589
15589
|
var TableTrueFalse = function (_a) {
|
|
@@ -15709,9 +15709,9 @@ var useComparisonTable = function (_a) {
|
|
|
15709
15709
|
};
|
|
15710
15710
|
};
|
|
15711
15711
|
|
|
15712
|
-
var css_248z$
|
|
15712
|
+
var css_248z$f = ".style-module_container__xHPlk {\n width: 100%;\n overflow-x: auto;\n -webkit-overflow-scrolling: touch;\n scroll-snap-type: x mandatory;\n}\n@media (min-width: 34rem) {\n .style-module_container__xHPlk {\n scroll-snap-type: unset;\n }\n}\n\n.style-module_noScrollBars__1ri_E {\n scrollbar-width: none;\n /* Firefox */\n -ms-overflow-style: none;\n /* Internet Explorer 10+ */\n}\n.style-module_noScrollBars__1ri_E::-webkit-scrollbar {\n /* WebKit */\n width: 0;\n height: 0;\n}\n\n@media (max-width: 34rem) {\n .style-module_noScrollBarsMobile__1txeg * {\n scrollbar-width: none;\n /* Firefox */\n -ms-overflow-style: none;\n /* Internet Explorer 10+ */\n }\n .style-module_noScrollBarsMobile__1txeg * -webkit-scrollbar {\n /* WebKit */\n width: 0;\n height: 0;\n display: none;\n }\n}\n\n.style-module_section__1bf_0 + .style-module_section__1bf_0 {\n margin-top: 48px;\n}\n@media (min-width: 34rem) {\n .style-module_section__1bf_0 + .style-module_section__1bf_0 {\n margin-top: 72px;\n }\n}\n\n.style-module_overflow-container__oBPQw {\n width: max-content;\n min-width: 100%;\n}\n\n.style-module_group-container__2G6Ix {\n display: flex;\n flex-flow: column;\n width: max-content;\n width: var(--growContent, max-content);\n margin: auto;\n}\n\n.style-module_group-title__2vvRm {\n width: 100%;\n background-color: #f9f9fd;\n border-radius: 8px;\n}\n.style-module_group-title__2vvRm > h4 {\n padding: 24px;\n display: inline-block;\n}\n\n.style-module_sticky__2Xmbl {\n position: sticky;\n justify-content: flex-start;\n z-index: 1;\n top: 0;\n left: 0;\n}\n@media (min-width: 34rem) {\n .style-module_sticky__2Xmbl {\n border-right: 1px solid #f9f9fd;\n }\n}\n\n.style-module_header__23SZy {\n position: sticky;\n top: 0;\n top: var(--stickyHeaderTopOffset, 0);\n z-index: 2;\n background-color: white;\n}\n.style-module_header__23SZy .style-module_container__xHPlk {\n -ms-overflow-style: none;\n /* IE and Edge */\n scrollbar-width: none;\n /* Firefox */\n}\n.style-module_header__23SZy .style-module_container__xHPlk::-webkit-scrollbar {\n display: none;\n}\n\n.style-module_show-details-container__1smn4 {\n width: 100%;\n border: none;\n}\n\n.style-module_show-details-button__3HR-p {\n font-family: inherit;\n background-color: #f9f9fd;\n border: none;\n border-radius: 8px;\n height: 64px;\n justify-content: center;\n align-items: center;\n}\n.style-module_show-details-button__3HR-p svg {\n margin-left: 8px;\n}\n\n.style-module_icon-inverted__1SnO1 {\n transform: rotate(180deg);\n transition: all 0.25s ease;\n}";
|
|
15713
15713
|
var baseStyles = {"container":"style-module_container__xHPlk","noScrollBars":"style-module_noScrollBars__1ri_E","noScrollBarsMobile":"style-module_noScrollBarsMobile__1txeg","section":"style-module_section__1bf_0","overflow-container":"style-module_overflow-container__oBPQw","group-container":"style-module_group-container__2G6Ix","group-title":"style-module_group-title__2vvRm","sticky":"style-module_sticky__2Xmbl","header":"style-module_header__23SZy","show-details-container":"style-module_show-details-container__1smn4","show-details-button":"style-module_show-details-button__3HR-p","icon-inverted":"style-module_icon-inverted__1SnO1"};
|
|
15714
|
-
styleInject(css_248z$
|
|
15714
|
+
styleInject(css_248z$f);
|
|
15715
15715
|
|
|
15716
15716
|
var ComparisonTable = function (props) {
|
|
15717
15717
|
var _a;
|
|
@@ -15755,9 +15755,9 @@ var ComparisonTable = function (props) {
|
|
|
15755
15755
|
}), hideDetails && (jsxRuntime.jsx("div", { className: classNames$1(baseStyles['show-details-container'], baseStyles.sticky, 'mt48'), children: jsxRuntime.jsx("div", { children: jsxRuntime.jsxs("button", { className: classNames$1('w100 d-flex p-a p-h4 c-pointer', baseStyles['show-details-button'], classNameOverrides === null || classNameOverrides === void 0 ? void 0 : classNameOverrides.hideDetailsButton), onClick: toggleMoreRows, type: "button", children: [showMore ? hideDetailsCaption : showDetailsCaption, jsxRuntime.jsx(Chevron, { className: showMore ? '' : baseStyles['icon-inverted'] })] }) }) }))] })] }) }));
|
|
15756
15756
|
};
|
|
15757
15757
|
|
|
15758
|
-
var css_248z$
|
|
15759
|
-
var styles$
|
|
15760
|
-
styleInject(css_248z$
|
|
15758
|
+
var css_248z$e = ".style-module_background-container__2Gjka {\n position: relative;\n display: inline-block;\n background-color: var(--ds-primary-100);\n border-radius: 8px;\n padding: 0 8px;\n}\n\n.style-module_chip-container__7XeKn {\n display: flex;\n align-items: center;\n}\n\n.style-module_chip__3rgLT {\n cursor: pointer;\n z-index: 2;\n padding-left: 16px;\n padding-right: 16px;\n}\n.style-module_chip__3rgLT:focus {\n outline-color: var(--ds-purple-600);\n outline-offset: 2px;\n}\n\n.style-module_select-chip-background__YCAyw {\n position: absolute;\n background-color: white;\n border-radius: 8px;\n top: 8px;\n z-index: 1;\n transition: width 0.3s, left 0.3s;\n}";
|
|
15759
|
+
var styles$e = {"background-container":"style-module_background-container__2Gjka","chip-container":"style-module_chip-container__7XeKn","chip":"style-module_chip__3rgLT","select-chip-background":"style-module_select-chip-background__YCAyw"};
|
|
15760
|
+
styleInject(css_248z$e);
|
|
15761
15761
|
|
|
15762
15762
|
var SegmentedControl = function (_a) {
|
|
15763
15763
|
var _b = _a.className, className = _b === void 0 ? '' : _b, values = _a.values, selectedIndex = _a.selectedIndex, onChange = _a.onChange;
|
|
@@ -15771,17 +15771,17 @@ var SegmentedControl = function (_a) {
|
|
|
15771
15771
|
var width = selectedChip.offsetWidth;
|
|
15772
15772
|
setSelectedChipBackgroundWidthLeft({ left: left, width: width });
|
|
15773
15773
|
}, [selectedIndex]);
|
|
15774
|
-
return (jsxRuntime.jsx("div", { className: className, children: jsxRuntime.jsxs("div", { className: styles$
|
|
15774
|
+
return (jsxRuntime.jsx("div", { className: className, children: jsxRuntime.jsxs("div", { className: styles$e['background-container'], children: [jsxRuntime.jsx("div", { ref: chipContainer, className: styles$e['chip-container'], style: { height: "".concat(height, "px") }, children: values.map(function (value, index) {
|
|
15775
15775
|
return (jsxRuntime.jsx("div", { role: "button", tabIndex: 0, onKeyDown: function (e) {
|
|
15776
15776
|
if (e.key === 'Enter' || e.code === 'Space') {
|
|
15777
15777
|
onChange(index);
|
|
15778
15778
|
}
|
|
15779
15779
|
}, onClick: function () {
|
|
15780
15780
|
onChange(index);
|
|
15781
|
-
}, className: styles$
|
|
15782
|
-
? 'tc-
|
|
15783
|
-
: 'tc-
|
|
15784
|
-
}) }), jsxRuntime.jsx("div", { className: styles$
|
|
15781
|
+
}, className: styles$e.chip, children: typeof value === 'string' ? (jsxRuntime.jsx("div", { className: "p-h4 ta-center ".concat(selectedIndex === index ? '' : 'tc-purple-600'), children: value })) : (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx("div", { className: "p-h4 ta-center ".concat(selectedIndex === index ? '' : 'tc-purple-600'), children: value.title }), jsxRuntime.jsx("div", { className: "p-p--small ta-center ".concat(selectedIndex === index
|
|
15782
|
+
? 'tc-neutral-600'
|
|
15783
|
+
: 'tc-purple-600'), children: value.subtitle })] })) }, typeof value === 'string' ? value : value.title));
|
|
15784
|
+
}) }), jsxRuntime.jsx("div", { className: styles$e['select-chip-background'], style: {
|
|
15785
15785
|
width: "".concat(selectedChipBackgroundWidthLeft.width, "px"),
|
|
15786
15786
|
height: "".concat(height - 16, "px"),
|
|
15787
15787
|
left: "".concat(selectedChipBackgroundWidthLeft.left, "px"),
|
|
@@ -15955,9 +15955,9 @@ var Spinner = function (_a) {
|
|
|
15955
15955
|
return (jsxRuntime.jsx("div", { "aria-live": 'polite', className: classNames$1('ds-spinner', "ds-spinner__".concat(size)), "data-testid": "ds-spinner" }));
|
|
15956
15956
|
};
|
|
15957
15957
|
|
|
15958
|
-
var css_248z$
|
|
15959
|
-
var styles$
|
|
15960
|
-
styleInject(css_248z$
|
|
15958
|
+
var css_248z$d = ".styles-module_container__F0d5Q {\n max-width: 100%;\n}\n\n.styles-module_toggleContainer__2yz_j {\n position: relative;\n width: 40px;\n height: 12px;\n}\n\n.styles-module_label__3EAX_ {\n align-items: center;\n}\n\n.styles-module_toggle__2sL88 {\n position: absolute;\n cursor: pointer;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: var(--ds-neutral-400);\n transition: all 0.3s ease-in-out;\n border-radius: 100px;\n}\n.styles-module_toggle__2sL88:before {\n position: absolute;\n content: \"\";\n height: 20px;\n width: 20px;\n left: 0;\n bottom: -4px;\n background: var(--ds-neutral-600);\n transition: 0.3s ease-in-out;\n transition-property: background-color, outline, transform;\n outline-color: var(--ds-purple-500);\n border-radius: 50%;\n}\n\n.styles-module_input__2sUF3 {\n opacity: 0;\n}\n.styles-module_input__2sUF3:checked + .styles-module_toggle__2sL88 {\n background: var(--ds-purple-300);\n}\n.styles-module_input__2sUF3:checked + .styles-module_toggle__2sL88:before {\n background: var(--ds-purple-600);\n}\n.styles-module_input__2sUF3:disabled + .styles-module_toggle__2sL88 {\n cursor: not-allowed;\n opacity: 0.4;\n}\n.styles-module_input__2sUF3:focus-visible ~ .styles-module_toggle__2sL88:before {\n outline: 4px solid var(--ds-purple-500);\n}\n.styles-module_input__2sUF3:checked + .styles-module_toggle__2sL88:before {\n transform: translateX(20px);\n}";
|
|
15959
|
+
var styles$d = {"container":"styles-module_container__F0d5Q","toggleContainer":"styles-module_toggleContainer__2yz_j","label":"styles-module_label__3EAX_","toggle":"styles-module_toggle__2sL88","input":"styles-module_input__2sUF3"};
|
|
15960
|
+
styleInject(css_248z$d);
|
|
15961
15961
|
|
|
15962
15962
|
var Toggle = function (_a) {
|
|
15963
15963
|
var options = _a.options, _b = _a.value, value = _b === void 0 ? [] : _b, onChange = _a.onChange, _c = _a.inlineLayout, inlineLayout = _c === void 0 ? false : _c, _d = _a.bordered, bordered = _d === void 0 ? true : _d, classNamesObj = _a.classNames, disabled = _a.disabled;
|
|
@@ -15986,22 +15986,22 @@ var Toggle = function (_a) {
|
|
|
15986
15986
|
onChange(newValues);
|
|
15987
15987
|
};
|
|
15988
15988
|
var entries = Object.entries(options);
|
|
15989
|
-
return (jsxRuntime.jsx("div", { className: classNames$1(classNamesObj === null || classNamesObj === void 0 ? void 0 : classNamesObj.container, styles$
|
|
15989
|
+
return (jsxRuntime.jsx("div", { className: classNames$1(classNamesObj === null || classNamesObj === void 0 ? void 0 : classNamesObj.container, styles$d.container, 'd-flex gap8', {
|
|
15990
15990
|
'fd-row': inlineLayout,
|
|
15991
15991
|
'f-wrap': inlineLayout,
|
|
15992
15992
|
'fd-column': !inlineLayout,
|
|
15993
15993
|
}), children: entries.map(function (_a) {
|
|
15994
15994
|
var currentValue = _a[0], label = _a[1];
|
|
15995
15995
|
var checked = value === null || value === void 0 ? void 0 : value.includes(currentValue);
|
|
15996
|
-
return (jsxRuntime.jsx("div", { className: classNamesObj === null || classNamesObj === void 0 ? void 0 : classNamesObj.option, children: jsxRuntime.jsxs("label", { className: classNames$1(styles$
|
|
15996
|
+
return (jsxRuntime.jsx("div", { className: classNamesObj === null || classNamesObj === void 0 ? void 0 : classNamesObj.option, children: jsxRuntime.jsxs("label", { className: classNames$1(styles$d.label, classNamesObj === null || classNamesObj === void 0 ? void 0 : classNamesObj.label, 'p-label pr16 gap16', {
|
|
15997
15997
|
'p-label--bordered': bordered,
|
|
15998
|
-
}), "data-cy": "toggle-".concat(currentValue), "data-testid": "toggle-".concat(currentValue), children: [jsxRuntime.jsxs("span", { className: classNames$1(styles$
|
|
15998
|
+
}), "data-cy": "toggle-".concat(currentValue), "data-testid": "toggle-".concat(currentValue), children: [jsxRuntime.jsxs("span", { className: classNames$1(styles$d.toggleContainer, 'd-inline-block'), children: [jsxRuntime.jsx("input", { checked: checked, className: styles$d.input, "data-testid": "toggle-input-".concat(currentValue), onChange: function () { return handleOnChange(currentValue); }, type: "checkbox", value: currentValue, disabled: disabled }), jsxRuntime.jsx("span", { className: styles$d.toggle })] }), isToggleLabelObject(label) ? (jsxRuntime.jsxs("div", { children: [jsxRuntime.jsx("p", { className: "p-p", children: label.title }), jsxRuntime.jsx("span", { className: "d-block p-p p-p--small tc-neutral-700", children: label.description })] })) : label] }) }, currentValue));
|
|
15999
15999
|
}) }));
|
|
16000
16000
|
};
|
|
16001
16001
|
|
|
16002
|
-
var css_248z$
|
|
16003
|
-
var styles$
|
|
16004
|
-
styleInject(css_248z$
|
|
16002
|
+
var css_248z$c = ".style-module_toastWrapper__1SC4C {\n margin: 0;\n padding: 0;\n}\n\n.style-module_toast__NY8bo {\n position: relative;\n margin: 0;\n padding: 0;\n width: 392px;\n overflow: hidden;\n}\n\n.style-module_toastContent__3RHpU {\n padding: 4px 0 4px 8px;\n}\n\n.style-module_toastSidebar__NUxSa {\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n width: 8px;\n}\n.style-module_toastSidebar--information__2nKT_ {\n background-color: #8BB4EA;\n}\n.style-module_toastSidebar--error__15Vwo {\n background-color: #E55454;\n}\n.style-module_toastSidebar--warning__33N9y {\n background-color: #F0D26F;\n}\n.style-module_toastSidebar--success__27652 {\n background-color: #85DCB4;\n}\n\n.style-module_closeButton__3S_5n {\n background-color: transparent;\n color: #d2d2d9;\n min-width: 24px;\n}\n.style-module_closeButton__3S_5n:hover {\n color: #696971;\n}\n\n.style-module_actionButton__3ziRG {\n background-color: transparent;\n}\n.style-module_actionButton--warning__2I0LT {\n color: #C5A33E;\n}\n.style-module_actionButton--warning__2I0LT:hover {\n color: #483D18;\n}\n.style-module_actionButton--error__1kJIR {\n color: #E55454;\n}\n.style-module_actionButton--error__1kJIR:hover {\n color: #C64848;\n}\n.style-module_actionButton--success__y96NI {\n color: #599278;\n}\n.style-module_actionButton--success__y96NI:hover {\n color: #2B4639;\n}\n.style-module_actionButton--information__1oeAG {\n color: #5F7BA0;\n}\n.style-module_actionButton--information__1oeAG:hover {\n color: #2D394A;\n}";
|
|
16003
|
+
var styles$c = {"toastWrapper":"style-module_toastWrapper__1SC4C","toast":"style-module_toast__NY8bo","toastContent":"style-module_toastContent__3RHpU","toastSidebar":"style-module_toastSidebar__NUxSa","toastSidebar--information":"style-module_toastSidebar--information__2nKT_","toastSidebar--error":"style-module_toastSidebar--error__15Vwo","toastSidebar--warning":"style-module_toastSidebar--warning__33N9y","toastSidebar--success":"style-module_toastSidebar--success__27652","closeButton":"style-module_closeButton__3S_5n","actionButton":"style-module_actionButton__3ziRG","actionButton--warning":"style-module_actionButton--warning__2I0LT","actionButton--error":"style-module_actionButton--error__1kJIR","actionButton--success":"style-module_actionButton--success__y96NI","actionButton--information":"style-module_actionButton--information__1oeAG"};
|
|
16004
|
+
styleInject(css_248z$c);
|
|
16005
16005
|
|
|
16006
16006
|
let e={data:""},t=t=>"object"==typeof window?((t?t.querySelector("#_goober"):window._goober)||Object.assign((t||document.head).appendChild(document.createElement("style")),{innerHTML:" ",id:"_goober"})).firstChild:t||e,r=e=>{let r=t(e),l=r.data;return r.data="",l},l$1=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,a=/\/\*[^]*?\*\/| +/g,n$1=/\n+/g,o=(e,t)=>{let r="",l="",a="";for(let n in e){let c=e[n];"@"==n[0]?"i"==n[1]?r=n+" "+c+";":l+="f"==n[1]?o(c,n):n+"{"+o(c,"k"==n[1]?"":t)+"}":"object"==typeof c?l+=o(c,t?t.replace(/([^,])+/g,e=>n.replace(/(^:.*)|([^,])+/g,t=>/&/.test(t)?t.replace(/&/g,e):e?e+" "+t:t)):n):null!=c&&(n=/^--/.test(n)?n:n.replace(/[A-Z]/g,"-$&").toLowerCase(),a+=o.p?o.p(n,c):n+":"+c+";");}return r+(t&&a?t+"{"+a+"}":a)+l},c={},s=e=>{if("object"==typeof e){let t="";for(let r in e)t+=r+s(e[r]);return t}return e},i=(e,t,r,i,p)=>{let u=s(e),d=c[u]||(c[u]=(e=>{let t=0,r=11;for(;t<e.length;)r=101*r+e.charCodeAt(t++)>>>0;return "go"+r})(u));if(!c[d]){let t=u!==e?e:(e=>{let t,r,o=[{}];for(;t=l$1.exec(e.replace(a,""));)t[4]?o.shift():t[3]?(r=t[3].replace(n$1," ").trim(),o.unshift(o[0][r]=o[0][r]||{})):o[0][t[1]]=t[2].replace(n$1," ").trim();return o[0]})(e);c[d]=o(p?{["@keyframes "+d]:t}:t,r?"":"."+d);}let f=r&&c.g?c.g:null;return r&&(c.g=c[d]),((e,t,r,l)=>{l?t.data=t.data.replace(l,e):-1===t.data.indexOf(e)&&(t.data=r?e+t.data:t.data+e);})(c[d],t,i,f),d},p=(e,t,r)=>e.reduce((e,l,a)=>{let n=t[a];if(n&&n.call){let e=n(r),t=e&&e.props&&e.props.className||/^go/.test(e)&&e;n=t?"."+t:e&&"object"==typeof e?e.props?"":o(e,""):!1===e?"":e;}return e+l+(null==n?"":n)},"");function u$1(e){let r=this||{},l=e.call?e(r.p):e;return i(l.unshift?l.raw?p(l,[].slice.call(arguments,1),r.p):l.reduce((e,t)=>Object.assign(e,t&&t.call?t(r.p):t),{}):l,t(r.target),r.g,r.o,r.k)}let d,f$1,g,b$1=u$1.bind({g:1}),h$1=u$1.bind({k:1});function m(e,t,r,l){o.p=t,d=e,f$1=r,g=l;}function j$1(e,t){let r=this||{};return function(){let l=arguments;function a(n,o){let c=Object.assign({},n),s=c.className||a.className;r.p=Object.assign({theme:f$1&&f$1()},c),r.o=/ *go\d+/.test(s),c.className=u$1.apply(r,l)+(s?" "+s:""),t&&(c.ref=o);let i=e;return e[0]&&(i=c.as||e,delete c.as),g&&i[0]&&g(c),d(i,c)}return t?t(a):a}}
|
|
16007
16007
|
|
|
@@ -16198,24 +16198,24 @@ to {
|
|
|
16198
16198
|
var Toaster = function (_a) {
|
|
16199
16199
|
var toasterClassNames = _a.classNames;
|
|
16200
16200
|
return (jsxRuntime.jsx(dist.Toaster, { containerClassName: toasterClassNames === null || toasterClassNames === void 0 ? void 0 : toasterClassNames.wrapper, toastOptions: {
|
|
16201
|
-
className: classNames$1(styles$
|
|
16201
|
+
className: classNames$1(styles$c.toast, 'bs-lg', toasterClassNames === null || toasterClassNames === void 0 ? void 0 : toasterClassNames.toast),
|
|
16202
16202
|
} }));
|
|
16203
16203
|
};
|
|
16204
16204
|
var Toast = function (_a) {
|
|
16205
16205
|
var action = _a.action, description = _a.description, onDismiss = _a.onDismiss, title = _a.title, _b = _a.type, type = _b === void 0 ? "success" : _b;
|
|
16206
|
-
return (jsxRuntime.jsxs("div", { className: classNames$1(styles$
|
|
16206
|
+
return (jsxRuntime.jsxs("div", { className: classNames$1(styles$c.toastContent, 'd-flex jc-between w100'), children: [jsxRuntime.jsx("div", { className: classNames$1(styles$c.toastSidebar, styles$c["toastSidebar--".concat(type)]) }), jsxRuntime.jsxs("div", { className: 'd-flex fd-column jc-center ta-left mr8', children: [jsxRuntime.jsx("h4", { className: 'p-h4', children: title }), description && (jsxRuntime.jsx("p", { className: 'p-p p-p--small mt8 tc-neutral-700', children: description })), action && (jsxRuntime.jsx("button", { className: classNames$1(styles$c.actionButton, styles$c["actionButton--".concat(type)], 'mt8 c-pointer ta-left'), onClick: function () {
|
|
16207
16207
|
action.onClick();
|
|
16208
16208
|
onDismiss();
|
|
16209
|
-
}, type: "button", children: action.title }))] }), jsxRuntime.jsx("div", { className: 'd-flex ai-center', children: jsxRuntime.jsx("button", { className: classNames$1(styles$
|
|
16209
|
+
}, type: "button", children: action.title }))] }), jsxRuntime.jsx("div", { className: 'd-flex ai-center', children: jsxRuntime.jsx("button", { className: classNames$1(styles$c.closeButton, 'c-pointer'), onClick: onDismiss, "data-testid": "toast-close-button", children: jsxRuntime.jsx(XIcon, { size: 24 }) }) })] }));
|
|
16210
16210
|
};
|
|
16211
16211
|
var toast = function (title, _a) {
|
|
16212
16212
|
var _b = _a.duration, duration = _b === void 0 ? 3000 : _b, toastOptions = __rest$1(_a, ["duration"]);
|
|
16213
16213
|
return (dist.toast(function (t) { return (jsxRuntime.jsx(Toast, __assign({ title: title, onDismiss: function () { return dist.toast.dismiss(t.id); } }, toastOptions))); }, { duration: duration }));
|
|
16214
16214
|
};
|
|
16215
16215
|
|
|
16216
|
-
var css_248z$
|
|
16217
|
-
var styles$
|
|
16218
|
-
styleInject(css_248z$
|
|
16216
|
+
var css_248z$b = ".style-module_wrapperBordered__1BsXF {\n border: 1px solid #e7e7ed;\n}\n\n.style-module_container__37ni0 {\n border-bottom: 1px solid #e7e7ed;\n}\n.style-module_containerBordered__2IHWI:last-of-type {\n border-bottom: 0;\n}\n\n.style-module_question__2bC30 {\n color: #26262e;\n}\n.style-module_question__2bC30:hover {\n color: #8883D8;\n}\n\n.style-module_chevron__2nixo {\n color: #3f3f47;\n transition: transform 0.3s ease-in-out;\n}\n.style-module_chevronOpen__1nFZj {\n transform: rotate(180deg);\n}\n\n.style-module_answerIcon__Pugpz {\n padding-left: 20px;\n}\n.style-module_answerIconDefault__2myqw {\n padding-left: 4px;\n}\n\n.style-module_buttonWrapper__2A5FG {\n background-color: transparent !important;\n color: #8883D8;\n outline-offset: -4px;\n}\n.style-module_buttonWrapperDefault__2DCgb {\n outline-offset: 0;\n}\n.style-module_buttonWrapper__2A5FG:hover, .style-module_buttonWrapper__2A5FG:focus-visible {\n background: #F6F6FE;\n}\n.style-module_buttonWrapper__2A5FG:hover .style-module_icon__jyQp0, .style-module_buttonWrapper__2A5FG:focus-visible .style-module_icon__jyQp0 {\n color: #8883D8 !important;\n}\n.style-module_buttonWrapper__2A5FG:hover .style-module_question__2bC30,\n.style-module_buttonWrapper__2A5FG:hover .style-module_chevron__2nixo, .style-module_buttonWrapper__2A5FG:focus-visible .style-module_question__2bC30,\n.style-module_buttonWrapper__2A5FG:focus-visible .style-module_chevron__2nixo {\n color: #8883D8;\n}\n.style-module_buttonWrapper__2A5FG:hover {\n outline: 0 solid transparent !important;\n}\n.style-module_buttonWrapper__2A5FG:focus-visible {\n outline: 2px solid #8883D8 !important;\n}";
|
|
16217
|
+
var styles$b = {"wrapperBordered":"style-module_wrapperBordered__1BsXF","container":"style-module_container__37ni0","containerBordered":"style-module_containerBordered__2IHWI","question":"style-module_question__2bC30","chevron":"style-module_chevron__2nixo","chevronOpen":"style-module_chevronOpen__1nFZj","answerIcon":"style-module_answerIcon__Pugpz","answerIconDefault":"style-module_answerIconDefault__2myqw","buttonWrapper":"style-module_buttonWrapper__2A5FG","buttonWrapperDefault":"style-module_buttonWrapperDefault__2DCgb","icon":"style-module_icon__jyQp0"};
|
|
16218
|
+
styleInject(css_248z$b);
|
|
16219
16219
|
|
|
16220
16220
|
var Accordion = function (_a) {
|
|
16221
16221
|
var _b;
|
|
@@ -16243,39 +16243,39 @@ var Accordion = function (_a) {
|
|
|
16243
16243
|
return (jsxRuntime.jsx("div", { className: classNames$1((_b = {
|
|
16244
16244
|
'br8': !isDefaultVariant
|
|
16245
16245
|
},
|
|
16246
|
-
_b[styles$
|
|
16246
|
+
_b[styles$b.wrapperBordered] = !isDefaultVariant,
|
|
16247
16247
|
_b)), children: items.map(function (questionData) {
|
|
16248
16248
|
var _a, _b, _c, _d, _e;
|
|
16249
16249
|
var question = questionData.question, answer = questionData.answer, id = questionData.id, icon = questionData.icon;
|
|
16250
16250
|
var isOpen = selectedQuestionId.includes(id);
|
|
16251
|
-
return (jsxRuntime.jsxs("div", { className: classNames$1(classNames === null || classNames === void 0 ? void 0 : classNames.questionWrapper, styles$
|
|
16252
|
-
_b[styles$
|
|
16253
|
-
_b)), wrapper: classNames$1(classNames === null || classNames === void 0 ? void 0 : classNames.wrapper, 'bg-transparent br0 py0', { 'pl0': isDefaultVariant }), title: classNames$1(classNames === null || classNames === void 0 ? void 0 : classNames.question, styles$
|
|
16254
|
-
_d[styles$
|
|
16255
|
-
_d)), size: 20, noMargin: true }) }), jsxRuntime.jsx(AnimateHeight, { duration: 300, height: isOpen ? 'auto' : 0, children: jsxRuntime.jsx("div", { className: classNames$1(classNames === null || classNames === void 0 ? void 0 : classNames.answer, 'tc-
|
|
16251
|
+
return (jsxRuntime.jsxs("div", { className: classNames$1(classNames === null || classNames === void 0 ? void 0 : classNames.questionWrapper, styles$b.container, (_a = {}, _a[styles$b.containerBordered] = !isDefaultVariant, _a)), children: [jsxRuntime.jsx(Card, { title: question, titleVariant: "small", density: 'compact', icon: icon, classNames: __assign({ icon: classNames$1(classNames === null || classNames === void 0 ? void 0 : classNames.icon, styles$b.icon, 'tc-neutral-800'), buttonWrapper: classNames$1('py8 my8', classNames === null || classNames === void 0 ? void 0 : classNames.buttonWrapper, styles$b.buttonWrapper, (_b = {},
|
|
16252
|
+
_b[styles$b.buttonWrapperDefault] = isDefaultVariant,
|
|
16253
|
+
_b)), wrapper: classNames$1(classNames === null || classNames === void 0 ? void 0 : classNames.wrapper, 'bg-transparent br0 py0', { 'pl0': isDefaultVariant }), title: classNames$1(classNames === null || classNames === void 0 ? void 0 : classNames.question, styles$b.question, (_c = {}, _c[styles$b.questionOpen] = isOpen, _c)) }, classNames), dropShadow: false, onClick: function () { return handleClick(questionData); }, "aria-expanded": isOpen, actionIcon: jsxRuntime.jsx(ChevronDownIcon, { className: classNames$1(styles$b.chevron, (_d = {},
|
|
16254
|
+
_d[styles$b.chevronOpen] = isOpen,
|
|
16255
|
+
_d)), size: 20, noMargin: true }) }), jsxRuntime.jsx(AnimateHeight, { duration: 300, height: isOpen ? 'auto' : 0, children: jsxRuntime.jsx("div", { className: classNames$1(classNames === null || classNames === void 0 ? void 0 : classNames.answer, 'tc-neutral-700 pr16 pb24', (_e = {
|
|
16256
16256
|
'pl16': !isDefaultVariant
|
|
16257
16257
|
},
|
|
16258
|
-
_e[styles$
|
|
16259
|
-
_e[styles$
|
|
16258
|
+
_e[styles$b === null || styles$b === void 0 ? void 0 : styles$b.answerIcon] = !isDefaultVariant && icon,
|
|
16259
|
+
_e[styles$b === null || styles$b === void 0 ? void 0 : styles$b.answerIconDefault] = isDefaultVariant && icon,
|
|
16260
16260
|
_e)), children: renderAnswer ? renderAnswer(answer) : answer }) })] }, id));
|
|
16261
16261
|
}) }));
|
|
16262
16262
|
};
|
|
16263
16263
|
|
|
16264
|
-
var css_248z$
|
|
16265
|
-
var styles$
|
|
16264
|
+
var css_248z$a = ".TableCell-module_th__2rjCU {\n vertical-align: middle;\n scroll-snap-align: end;\n width: 50%;\n}\n@media (min-width: 34rem) {\n .TableCell-module_th__2rjCU {\n width: auto;\n scroll-snap-align: unset;\n }\n}\n.TableCell-module_thNavigation__qZ2sY {\n width: 100%;\n}\n@media (min-width: 34rem) {\n .TableCell-module_thNavigation__qZ2sY {\n width: auto;\n }\n}\n\n.TableCell-module_fixedCell__cL3-m {\n position: sticky;\n left: 0;\n z-index: 2;\n}\n.TableCell-module_fixedCell__cL3-m:after {\n content: \"\";\n position: absolute;\n top: 0;\n bottom: 0;\n right: 0;\n width: 1px;\n background-color: #f7f7fd;\n}\n\n.TableCell-module_fixedCard__2LO8s {\n position: sticky;\n left: 0;\n right: 0;\n z-index: 2;\n width: 100%;\n}";
|
|
16265
|
+
var styles$a = {"th":"TableCell-module_th__2rjCU","thNavigation":"TableCell-module_thNavigation__qZ2sY","fixedCell":"TableCell-module_fixedCell__cL3-m","fixedCard":"TableCell-module_fixedCard__2LO8s"};
|
|
16266
|
+
styleInject(css_248z$a);
|
|
16267
|
+
|
|
16268
|
+
var css_248z$9 = "@media (max-width: 34rem) {\n .BaseCell-module_maxWidth__14Cly {\n max-width: calc(100% - 64px);\n }\n}\n\n.BaseCell-module_icon__1775U {\n margin: 2px;\n}\n\n.BaseCell-module_description__3_kfe {\n word-break: break-word;\n}\n\n.BaseCell-module_bigWithUnderline__2xx5X {\n position: relative;\n display: flex;\n line-height: 38px;\n text-decoration: underline;\n text-decoration-color: #8883D8;\n text-decoration-thickness: 4px;\n text-underline-offset: 8px;\n}";
|
|
16269
|
+
var styles$9 = {"maxWidth":"BaseCell-module_maxWidth__14Cly","icon":"BaseCell-module_icon__1775U","description":"BaseCell-module_description__3_kfe","bigWithUnderline":"BaseCell-module_bigWithUnderline__2xx5X"};
|
|
16266
16270
|
styleInject(css_248z$9);
|
|
16267
16271
|
|
|
16268
|
-
var css_248z$8 = "
|
|
16269
|
-
var styles$8 = {"
|
|
16272
|
+
var css_248z$8 = ".MiniProgressBar-module_progressBar__2K07F {\n margin-bottom: 4px;\n}\n.MiniProgressBar-module_progressBar__2K07F rect {\n fill: #E8E7FE;\n}\n\n.MiniProgressBar-module_filledBars1__ZhQbV rect:first-child {\n fill: #919199;\n}\n\n.MiniProgressBar-module_filledBars2__2lH_z rect:nth-child(-n+2) {\n fill: #919199;\n}\n\n.MiniProgressBar-module_filledBars3__1OKUj rect:nth-child(-n+3) {\n fill: #B0CDF3;\n}\n\n.MiniProgressBar-module_filledBars4__T9kuj rect:nth-child(-n+4) {\n fill: #B0CDF3;\n}\n\n.MiniProgressBar-module_filledBars5__WxVpb rect {\n fill: #8883D8;\n}";
|
|
16273
|
+
var styles$8 = {"progressBar":"MiniProgressBar-module_progressBar__2K07F","filledBars1":"MiniProgressBar-module_filledBars1__ZhQbV","filledBars2":"MiniProgressBar-module_filledBars2__2lH_z","filledBars3":"MiniProgressBar-module_filledBars3__1OKUj","filledBars4":"MiniProgressBar-module_filledBars4__T9kuj","filledBars5":"MiniProgressBar-module_filledBars5__WxVpb"};
|
|
16270
16274
|
styleInject(css_248z$8);
|
|
16271
16275
|
|
|
16272
|
-
var css_248z$7 = ".MiniProgressBar-module_progressBar__2K07F {\n margin-bottom: 4px;\n}\n.MiniProgressBar-module_progressBar__2K07F rect {\n fill: #ebebff;\n}\n\n.MiniProgressBar-module_filledBars1__ZhQbV rect:first-child {\n fill: #91919c;\n}\n\n.MiniProgressBar-module_filledBars2__2lH_z rect:nth-child(-n+2) {\n fill: #91919c;\n}\n\n.MiniProgressBar-module_filledBars3__1OKUj rect:nth-child(-n+3) {\n fill: #b0cdf3;\n}\n\n.MiniProgressBar-module_filledBars4__T9kuj rect:nth-child(-n+4) {\n fill: #b0cdf3;\n}\n\n.MiniProgressBar-module_filledBars5__WxVpb rect {\n fill: #8e8cee;\n}";
|
|
16273
|
-
var styles$7 = {"progressBar":"MiniProgressBar-module_progressBar__2K07F","filledBars1":"MiniProgressBar-module_filledBars1__ZhQbV","filledBars2":"MiniProgressBar-module_filledBars2__2lH_z","filledBars3":"MiniProgressBar-module_filledBars3__1OKUj","filledBars4":"MiniProgressBar-module_filledBars4__T9kuj","filledBars5":"MiniProgressBar-module_filledBars5__WxVpb"};
|
|
16274
|
-
styleInject(css_248z$7);
|
|
16275
|
-
|
|
16276
16276
|
var MiniProgressBar = function (_a) {
|
|
16277
16277
|
var nFilledBars = _a.nFilledBars;
|
|
16278
|
-
return (jsxRuntime.jsxs("svg", { className: classNames$1(styles$
|
|
16278
|
+
return (jsxRuntime.jsxs("svg", { className: classNames$1(styles$8.progressBar, styles$8["filledBars".concat(nFilledBars)]), width: "40", height: "6", viewBox: "0 0 40 6", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [jsxRuntime.jsxs("g", { clipPath: "url(#clip0_37507_20658)", children: [jsxRuntime.jsx("rect", { id: "r1", x: "0.5", y: "0.5", width: "7", height: "5", rx: "1" }), jsxRuntime.jsx("rect", { id: "r2", x: "8.5", y: "0.5", width: "7", height: "5", rx: "1" }), jsxRuntime.jsx("rect", { id: "r3", x: "16.5", y: "0.5", width: "7", height: "5", rx: "1" }), jsxRuntime.jsx("rect", { id: "r4", x: "24.5", y: "0.5", width: "7", height: "5", rx: "1" }), jsxRuntime.jsx("rect", { id: "r5", x: "32.5", y: "0.5", width: "7", height: "5", rx: "1" })] }), jsxRuntime.jsx("defs", { children: jsxRuntime.jsx("clipPath", { id: "clip0_37507_20658", children: jsxRuntime.jsx("rect", { width: "39", height: "5", fill: "white", transform: "translate(0.5 0.5)" }) }) })] }));
|
|
16279
16279
|
};
|
|
16280
16280
|
|
|
16281
16281
|
var progressLookup = {
|
|
@@ -16306,18 +16306,18 @@ var BaseCell = function (_a) {
|
|
|
16306
16306
|
return (jsxRuntime.jsx("div", { className: classNames$1(className, 'd-flex gap8 ai-center', {
|
|
16307
16307
|
'jc-center': align === 'center',
|
|
16308
16308
|
}), children: jsxRuntime.jsxs("div", { className: classNames$1('d-flex fd-column', alignClassName, (_b = {},
|
|
16309
|
-
_b[styles$
|
|
16310
|
-
_b)), children: [progressBarValue !== undefined && (jsxRuntime.jsx(MiniProgressBar, { nFilledBars: progressBarValue })), jsxRuntime.jsxs("div", { className: "d-flex ai-center", children: [(rating === null || rating === void 0 ? void 0 : rating.value) && (jsxRuntime.jsx("span", { "data-testid": "table-cell-rating", title: "".concat(rating === null || rating === void 0 ? void 0 : rating.value, " out of 3"), children: validRatingValues.map(function (value) { return (jsxRuntime.jsx(SelectedIcon, { "aria-hidden": "true", color: value <= (rating === null || rating === void 0 ? void 0 : rating.value) ? '
|
|
16309
|
+
_b[styles$9.maxWidth] = modalContent && align === 'center',
|
|
16310
|
+
_b)), children: [progressBarValue !== undefined && (jsxRuntime.jsx(MiniProgressBar, { nFilledBars: progressBarValue })), jsxRuntime.jsxs("div", { className: "d-flex ai-center", children: [(rating === null || rating === void 0 ? void 0 : rating.value) && (jsxRuntime.jsx("span", { "data-testid": "table-cell-rating", title: "".concat(rating === null || rating === void 0 ? void 0 : rating.value, " out of 3"), children: validRatingValues.map(function (value) { return (jsxRuntime.jsx(SelectedIcon, { "aria-hidden": "true", color: value <= (rating === null || rating === void 0 ? void 0 : rating.value) ? 'purple-600' : 'neutral-400', className: styles$9.icon, size: (rating === null || rating === void 0 ? void 0 : rating.type) === 'zap' ? 16 : 14 }, value)); }) })), checkmarkValue !== undefined && (jsxRuntime.jsx("span", { className: 'd-inline-block mx8', title: checkmarkValue ? 'Yes' : 'No', children: checkmarkValue ? (jsxRuntime.jsx(CheckThickIcon, { noMargin: true, "data-testid": "table-cell-boolean-yes", size: 24, "aria-hidden": true, color: "purple-600" })) : (jsxRuntime.jsx(XIcon, { noMargin: true, "data-testid": "table-cell-boolean-no", size: 24, "aria-hidden": true, color: "neutral-400" })) })), jsxRuntime.jsxs("div", { className: "d-inline", children: [text && fontVariant === 'NORMAL' && (jsxRuntime.jsx("div", { className: classNames$1("p-p d-inline", { 'ml8': align !== 'left' }), "data-testid": "table-cell-text", children: text })), text && fontVariant === 'PRICE' && (jsxRuntime.jsx("div", { className: "p-h1 p--serif tc-purple-600", "data-testid": "table-cell-content", children: text })), text && fontVariant === 'BIG_WITH_UNDERLINE' && (jsxRuntime.jsx("h2", { "aria-hidden": true, className: classNames$1('tc-grey-800 p-h2 p--serif', styles$9.bigWithUnderline), children: text })), modalContent && openModal && (jsxRuntime.jsx("span", { className: "ml8", children: jsxRuntime.jsx(TableInfoButton, { onClick: function () {
|
|
16311
16311
|
return openModal({
|
|
16312
16312
|
title: modalTitle,
|
|
16313
16313
|
body: modalContent,
|
|
16314
16314
|
});
|
|
16315
|
-
} }) }))] })] }), description && (jsxRuntime.jsx("div", { className: classNames$1(styles$
|
|
16315
|
+
} }) }))] })] }), description && (jsxRuntime.jsx("div", { className: classNames$1(styles$9.description, 'd-flex p-p--small tc-neutral-600', alignClassName), children: description }))] }) }));
|
|
16316
16316
|
};
|
|
16317
16317
|
|
|
16318
|
-
var css_248z$
|
|
16319
|
-
var styles$
|
|
16320
|
-
styleInject(css_248z$
|
|
16318
|
+
var css_248z$7 = ".CTACell-module_narrow__1EPPT {\n height: 40px;\n padding: 8px !important;\n}";
|
|
16319
|
+
var styles$7 = {"narrow":"CTACell-module_narrow__1EPPT"};
|
|
16320
|
+
styleInject(css_248z$7);
|
|
16321
16321
|
|
|
16322
16322
|
var IconRenderer = function (_a) {
|
|
16323
16323
|
var icon = _a.icon, imageComponent = _a.imageComponent, _b = _a.width, width = _b === void 0 ? 24 : _b;
|
|
@@ -16329,14 +16329,19 @@ var IconRenderer = function (_a) {
|
|
|
16329
16329
|
|
|
16330
16330
|
var CTACell = function (_a) {
|
|
16331
16331
|
var _b;
|
|
16332
|
-
var title = _a.title, price = _a.price, icon = _a.icon, grey = _a.grey, narrow = _a.narrow, href = _a.href, buttonCaption = _a.buttonCaption, imageComponent = _a.imageComponent, className = _a.className, dataCy = _a.dataCy, dataTestId = _a.dataTestId;
|
|
16332
|
+
var title = _a.title, price = _a.price, icon = _a.icon, grey = _a.grey, narrow = _a.narrow, href = _a.href, buttonCaption = _a.buttonCaption, imageComponent = _a.imageComponent, className = _a.className, dataCy = _a.dataCy, dataTestId = _a.dataTestId, onClick = _a.onClick;
|
|
16333
16333
|
var renderedIcon = (jsxRuntime.jsx(IconRenderer, { icon: icon, imageComponent: imageComponent }));
|
|
16334
|
-
return (jsxRuntime.jsxs("div", { className: classNames$1(className, "ta-center"), "data-cy": dataCy, "data-testid": dataTestId, children: [jsxRuntime.jsxs("div", { className: "d-flex jc-center ai-center gap8", children: [renderedIcon, jsxRuntime.jsxs("p", { className: "p-h3", children: [title, price && jsxRuntime.jsxs("span", { className: "tc-purple-
|
|
16334
|
+
return (jsxRuntime.jsxs("div", { className: classNames$1(className, "ta-center"), "data-cy": dataCy, "data-testid": dataTestId, children: [jsxRuntime.jsxs("div", { className: "d-flex jc-center ai-center gap8", children: [renderedIcon, jsxRuntime.jsxs("p", { className: "p-h3", children: [title, price && jsxRuntime.jsxs("span", { className: "tc-purple-600", children: [" ", price] })] })] }), jsxRuntime.jsx(Button, __assign({}, onClick ? { onClick: onClick } : {
|
|
16335
|
+
as: 'a',
|
|
16336
|
+
href: href,
|
|
16337
|
+
target: '_blank',
|
|
16338
|
+
rel: 'noopener noreferrer',
|
|
16339
|
+
}, { className: classNames$1('mt16 w100 wmx3', (_b = {
|
|
16335
16340
|
'p-btn--primary': !grey,
|
|
16336
16341
|
'p-btn--secondary-grey': grey
|
|
16337
16342
|
},
|
|
16338
|
-
_b[styles$
|
|
16339
|
-
_b)),
|
|
16343
|
+
_b[styles$7.narrow] = narrow,
|
|
16344
|
+
_b)), children: buttonCaption }))] }));
|
|
16340
16345
|
};
|
|
16341
16346
|
|
|
16342
16347
|
var CardCell = function (_a) {
|
|
@@ -16345,18 +16350,18 @@ var CardCell = function (_a) {
|
|
|
16345
16350
|
return (jsxRuntime.jsx("div", { className: "ta-left", children: jsxRuntime.jsx(Card, __assign({ title: title, description: description, density: "balanced", icon: renderedIcon, onClick: onClick }, (href && { href: href, as: 'a' }), { actionIcon: null, showActionIcon: false })) }));
|
|
16346
16351
|
};
|
|
16347
16352
|
|
|
16348
|
-
var css_248z$
|
|
16349
|
-
var styles$
|
|
16350
|
-
styleInject(css_248z$
|
|
16353
|
+
var css_248z$6 = ".ButtonCell-module_buttonCell__x4NNi {\n color: #26262e;\n border: 1px solid #d2d2d9;\n transition: all 0.3s ease-in-out;\n}\n.ButtonCell-module_buttonCell__x4NNi:disabled {\n border: none;\n background-color: #f7f7fd;\n color: #26262e;\n opacity: 1;\n cursor: default;\n}\n.ButtonCell-module_buttonCell__x4NNi:disabled:hover {\n background-color: #f7f7fd;\n}\n@media (max-width: 34rem) {\n .ButtonCell-module_buttonCell__x4NNi {\n pointer-events: none;\n }\n}\n\n.ButtonCell-module_withoutPrice__2rpe9 {\n height: 64px;\n}\n\n.ButtonCell-module_withPrice__3bd_t {\n height: 75px;\n}\n\n.ButtonCell-module_selected__22pF_ {\n transition: all 0.3 ease-in-out;\n border: 2px solid #8883D8;\n background-color: #F6F6FE;\n}";
|
|
16354
|
+
var styles$6 = {"buttonCell":"ButtonCell-module_buttonCell__x4NNi","withoutPrice":"ButtonCell-module_withoutPrice__2rpe9","withPrice":"ButtonCell-module_withPrice__3bd_t","selected":"ButtonCell-module_selected__22pF_"};
|
|
16355
|
+
styleInject(css_248z$6);
|
|
16351
16356
|
|
|
16352
16357
|
var ButtonCell = function (_a) {
|
|
16353
16358
|
var _b;
|
|
16354
16359
|
var isSelected = _a.isSelected, onClick = _a.onClick, buttonCaption = _a.buttonCaption, price = _a.price, disabled = _a.disabled, className = _a.className, dataCy = _a.dataCy, dataTestId = _a.dataTestId;
|
|
16355
|
-
return (jsxRuntime.jsx("div", { className: classNames$1("w100 d-flex fd-column ai-center jc-center gap8", className), "data-cy": dataCy, "data-testid": dataTestId, children: jsxRuntime.jsxs(Button, { className: classNames$1('w100 wmx5 d-flex fd-column', styles$
|
|
16356
|
-
_b[styles$
|
|
16357
|
-
_b[styles$
|
|
16358
|
-
_b[styles$
|
|
16359
|
-
_b)), variant: "filledWhite", type: "submit", onClick: onClick, disabled: disabled, children: [buttonCaption, price && jsxRuntime.jsx("span", { className: "p-p tc-purple-
|
|
16360
|
+
return (jsxRuntime.jsx("div", { className: classNames$1("w100 d-flex fd-column ai-center jc-center gap8", className), "data-cy": dataCy, "data-testid": dataTestId, children: jsxRuntime.jsxs(Button, { className: classNames$1('w100 wmx5 d-flex fd-column', styles$6.buttonCell, (_b = {},
|
|
16361
|
+
_b[styles$6.selected] = isSelected,
|
|
16362
|
+
_b[styles$6.withoutPrice] = !price,
|
|
16363
|
+
_b[styles$6.withPrice] = !!price,
|
|
16364
|
+
_b)), variant: "filledWhite", type: "submit", onClick: onClick, disabled: disabled, children: [buttonCaption, price && jsxRuntime.jsx("span", { className: "p-p tc-purple-600", children: price })] }) }));
|
|
16360
16365
|
};
|
|
16361
16366
|
|
|
16362
16367
|
var TableCell = React__default['default'].memo(function (_a) {
|
|
@@ -16374,32 +16379,32 @@ var TableCell = React__default['default'].memo(function (_a) {
|
|
|
16374
16379
|
var scope = {
|
|
16375
16380
|
scope: thScope,
|
|
16376
16381
|
};
|
|
16377
|
-
return (jsxRuntime.jsxs(Tag, __assign({}, scope, { className: classNames$1('bg-white py24 px8', styles$
|
|
16382
|
+
return (jsxRuntime.jsxs(Tag, __assign({}, scope, { className: classNames$1('bg-white py24 px8', styles$a.th, (_b = {
|
|
16378
16383
|
'ta-left': isFirstCellInRow
|
|
16379
16384
|
},
|
|
16380
|
-
_b[styles$
|
|
16381
|
-
_b[styles$
|
|
16382
|
-
_b[styles$
|
|
16385
|
+
_b[styles$a.thNavigation] = isNavigation,
|
|
16386
|
+
_b[styles$a.fixedCell] = isFirstCellInRow && colSpan < 1,
|
|
16387
|
+
_b[styles$a.fixedCard] = cellProps.type === 'CARD',
|
|
16383
16388
|
_b.pl16 = isFirstCellInRow,
|
|
16384
16389
|
_b)), colSpan: isBelowDesktop && cellProps.type === 'CARD' ? 2 : colSpan, children: [!cellProps.type && (jsxRuntime.jsx(BaseCell, __assign({}, cellProps, { fontVariant: isTopLeftCell
|
|
16385
16390
|
? 'BIG_WITH_UNDERLINE'
|
|
16386
16391
|
: (_c = cellProps.fontVariant) !== null && _c !== void 0 ? _c : 'NORMAL' }))), cellProps.type === 'CTA' && jsxRuntime.jsx(CTACell, __assign({}, cellProps)), cellProps.type === 'BUTTON' && jsxRuntime.jsx(ButtonCell, __assign({}, cellProps)), cellProps.type === 'CARD' && jsxRuntime.jsx(CardCell, __assign({}, cellProps))] })));
|
|
16387
16392
|
});
|
|
16388
16393
|
|
|
16389
|
-
var css_248z$
|
|
16390
|
-
var styles$
|
|
16391
|
-
styleInject(css_248z$
|
|
16394
|
+
var css_248z$5 = ".Table-module_wrapper__2MMNq {\n position: relative;\n}\n\n.Table-module_container__3VFLP {\n overflow-x: auto;\n overflow-y: hidden;\n -ms-overflow-style: none;\n /* IE and Edge */\n scrollbar-width: none;\n /* Firefox */\n -webkit-overflow-scrolling: touch;\n scroll-snap-type: x mandatory;\n}\n.Table-module_container__3VFLP::-webkit-scrollbar {\n display: none;\n}\n@media (min-width: 34rem) {\n .Table-module_container__3VFLP {\n scroll-snap-type: unset;\n }\n}\n\n.Table-module_stickyHeader__2uEpP {\n display: flex;\n position: sticky;\n z-index: 9;\n}\n\n@media (max-width: 34rem) {\n .Table-module_modalContent__1PNgv {\n min-width: initial;\n }\n}";
|
|
16395
|
+
var styles$5 = {"wrapper":"Table-module_wrapper__2MMNq","container":"Table-module_container__3VFLP","stickyHeader":"Table-module_stickyHeader__2uEpP","modalContent":"Table-module_modalContent__1PNgv"};
|
|
16396
|
+
styleInject(css_248z$5);
|
|
16392
16397
|
|
|
16393
|
-
var css_248z$
|
|
16394
|
-
var styles$
|
|
16395
|
-
styleInject(css_248z$
|
|
16398
|
+
var css_248z$4 = ".TableSection-module_table__sNbDq {\n border-collapse: collapse;\n table-layout: fixed;\n}\n@media (min-width: 34rem) {\n .TableSection-module_table__sNbDq {\n min-width: 845px;\n }\n}\n\n.TableSection-module_tr__UbkbE {\n min-height: 72px;\n}";
|
|
16399
|
+
var styles$4 = {"table":"TableSection-module_table__sNbDq","tr":"TableSection-module_tr__UbkbE"};
|
|
16400
|
+
styleInject(css_248z$4);
|
|
16396
16401
|
|
|
16397
16402
|
var isBaseCell = function (tableCellData) {
|
|
16398
16403
|
return !tableCellData.type;
|
|
16399
16404
|
};
|
|
16400
16405
|
|
|
16401
16406
|
var TableSection = function (_a) {
|
|
16402
|
-
var className = _a.className, tableCellRows = _a.tableCellRows, _b = _a.hideColumns, hideColumns = _b === void 0 ? [] : _b, hideHeader = _a.hideHeader, openModal = _a.openModal, title = _a.title, width = _a.width, cellReplacements = _a.cellReplacements, imageComponent = _a.imageComponent;
|
|
16407
|
+
var className = _a.className, tableCellRows = _a.tableCellRows, _b = _a.hideColumns, hideColumns = _b === void 0 ? [] : _b, _c = _a.hideRows, hideRows = _c === void 0 ? [] : _c, hideHeader = _a.hideHeader, openModal = _a.openModal, title = _a.title, width = _a.width, cellReplacements = _a.cellReplacements, imageComponent = _a.imageComponent;
|
|
16403
16408
|
var headerRow = tableCellRows === null || tableCellRows === void 0 ? void 0 : tableCellRows[0];
|
|
16404
16409
|
var isBelowDesktop = useMediaQuery('BELOW_DESKTOP');
|
|
16405
16410
|
var getModalTitleFromColumnHeader = function (cellIndex) {
|
|
@@ -16425,7 +16430,8 @@ var TableSection = function (_a) {
|
|
|
16425
16430
|
return titleFromRow;
|
|
16426
16431
|
};
|
|
16427
16432
|
var isVisibleColumn = React.useCallback(function (cellIndex) { return !hideColumns.includes(cellIndex); }, [hideColumns]);
|
|
16428
|
-
|
|
16433
|
+
var isVisibleRow = React.useCallback(function (rowIndex) { return !hideRows.includes(rowIndex); }, [hideRows]);
|
|
16434
|
+
return (jsxRuntime.jsxs("table", { className: classNames$1(className, 'w100', styles$4.table), width: width, children: [jsxRuntime.jsx("caption", { className: "sr-only", children: title }), headerRow && (jsxRuntime.jsx("thead", { className: hideHeader ? 'sr-only' : '', children: jsxRuntime.jsx("tr", { children: headerRow.map(function (tableCellData, cellIndex) {
|
|
16429
16435
|
var isFirstCellInRow = cellIndex === 0;
|
|
16430
16436
|
var cellReplacementData = (tableCellData.cellId &&
|
|
16431
16437
|
(cellReplacements === null || cellReplacements === void 0 ? void 0 : cellReplacements[tableCellData.cellId])) ||
|
|
@@ -16438,7 +16444,7 @@ var TableSection = function (_a) {
|
|
|
16438
16444
|
});
|
|
16439
16445
|
return (isVisibleColumn(cellIndex) && (jsxRuntime.jsx(TableCell, __assign({ isBelowDesktop: isBelowDesktop, isHeader: true, isFirstCellInRow: isFirstCellInRow, isTopLeftCell: isFirstCellInRow }, cellProps, { imageComponent: imageComponent }), cellIndex)));
|
|
16440
16446
|
}) }) })), jsxRuntime.jsx("tbody", { children: tableCellRows.map(function (row, rowIndex) {
|
|
16441
|
-
return rowIndex > 0 && (jsxRuntime.jsx("tr", { className: styles$
|
|
16447
|
+
return rowIndex > 0 && isVisibleRow(rowIndex) && (jsxRuntime.jsx("tr", { className: styles$4.tr, children: row.map(function (tableCellData, cellIndex) {
|
|
16442
16448
|
var key = "".concat(rowIndex, "-").concat(cellIndex);
|
|
16443
16449
|
var isFirstCellInRow = cellIndex === 0;
|
|
16444
16450
|
var titleFromRow = getModalTitleFromRowHeader(row);
|
|
@@ -16455,13 +16461,13 @@ var TableSection = function (_a) {
|
|
|
16455
16461
|
}) })] }));
|
|
16456
16462
|
};
|
|
16457
16463
|
|
|
16458
|
-
var css_248z$
|
|
16459
|
-
var styles$
|
|
16460
|
-
styleInject(css_248z$
|
|
16464
|
+
var css_248z$3 = ".TableContents-module_cardWrapper__2OVMv {\n height: 88px;\n}\n\n.TableContents-module_card__Mmz6h {\n position: absolute;\n left: 0;\n right: 0;\n z-index: 3;\n}\n\n.TableContents-module_cardIcon__2DXbp {\n width: 20px;\n margin-right: 8px;\n}";
|
|
16465
|
+
var styles$3 = {"cardWrapper":"TableContents-module_cardWrapper__2OVMv","card":"TableContents-module_card__Mmz6h","cardIcon":"TableContents-module_cardIcon__2DXbp"};
|
|
16466
|
+
styleInject(css_248z$3);
|
|
16461
16467
|
|
|
16462
|
-
var css_248z$
|
|
16463
|
-
var styles$
|
|
16464
|
-
styleInject(css_248z$
|
|
16468
|
+
var css_248z$2 = ".Collapsible-module_collapsible__2wWKs {\n transition: max-height 0.3s ease-in-out;\n overflow-y: clip;\n}";
|
|
16469
|
+
var styles$2 = {"collapsible":"Collapsible-module_collapsible__2wWKs"};
|
|
16470
|
+
styleInject(css_248z$2);
|
|
16465
16471
|
|
|
16466
16472
|
var Collapsible = function (_a) {
|
|
16467
16473
|
var _b;
|
|
@@ -16491,8 +16497,8 @@ var Collapsible = function (_a) {
|
|
|
16491
16497
|
(_b = observerRef.current) === null || _b === void 0 ? void 0 : _b.disconnect();
|
|
16492
16498
|
};
|
|
16493
16499
|
}, [containerRef.current]);
|
|
16494
|
-
return (jsxRuntime.jsx("div", { className: classNames$1(styles$
|
|
16495
|
-
_b[styles$
|
|
16500
|
+
return (jsxRuntime.jsx("div", { className: classNames$1(styles$2.collapsible, (_b = {},
|
|
16501
|
+
_b[styles$2.hideDelayed] = !isExpanded,
|
|
16496
16502
|
_b)), ref: containerRef, style: {
|
|
16497
16503
|
maxHeight: isExpanded ? height : '0px',
|
|
16498
16504
|
}, children: children }));
|
|
@@ -16500,8 +16506,8 @@ var Collapsible = function (_a) {
|
|
|
16500
16506
|
|
|
16501
16507
|
var TableContents = function (_a) {
|
|
16502
16508
|
var _b, _c;
|
|
16503
|
-
var className = _a.className, collapsibleSections = _a.collapsibleSections, tableData = _a.tableData, _d = _a.hideColumns, hideColumns = _d === void 0 ? [] : _d, hideDetails = _a.hideDetails, isMobile = _a.isMobile, openModal = _a.openModal, shouldHideDetails = _a.shouldHideDetails, title = _a.title, cellReplacements = _a.cellReplacements, imageComponent = _a.imageComponent;
|
|
16504
|
-
var
|
|
16509
|
+
var className = _a.className, collapsibleSections = _a.collapsibleSections, tableData = _a.tableData, _d = _a.hideColumns, hideColumns = _d === void 0 ? [] : _d, hideDetails = _a.hideDetails, _e = _a.hideRows, hideRows = _e === void 0 ? [] : _e, isMobile = _a.isMobile, openModal = _a.openModal, shouldHideDetails = _a.shouldHideDetails, title = _a.title, cellReplacements = _a.cellReplacements, imageComponent = _a.imageComponent;
|
|
16510
|
+
var _f = React.useState(null), isSectionOpen = _f[0], setOpenSection = _f[1];
|
|
16505
16511
|
var firstHeadRow = (_c = (_b = tableData === null || tableData === void 0 ? void 0 : tableData[0]) === null || _b === void 0 ? void 0 : _b.rows) === null || _c === void 0 ? void 0 : _c[0];
|
|
16506
16512
|
var tableWidth = isMobile ? "".concat((firstHeadRow === null || firstHeadRow === void 0 ? void 0 : firstHeadRow.length) * 50, "%") : '';
|
|
16507
16513
|
var handleToggleSection = function (index) {
|
|
@@ -16509,6 +16515,8 @@ var TableContents = function (_a) {
|
|
|
16509
16515
|
return currentSection === index ? null : index;
|
|
16510
16516
|
});
|
|
16511
16517
|
};
|
|
16518
|
+
// Calculate global row offset for each section
|
|
16519
|
+
var globalRowOffset = 0;
|
|
16512
16520
|
return (jsxRuntime.jsx("div", { style: { width: tableWidth }, children: tableData.map(function (_a, index) {
|
|
16513
16521
|
var rows = _a.rows, _b = _a.section, section = _b === void 0 ? {} : _b;
|
|
16514
16522
|
var isFirstSection = index === 0;
|
|
@@ -16517,14 +16525,21 @@ var TableContents = function (_a) {
|
|
|
16517
16525
|
: isSectionOpen === index || isFirstSection;
|
|
16518
16526
|
var isVisible = hideDetails ? !shouldHideDetails : true;
|
|
16519
16527
|
var renderedIcon = (jsxRuntime.jsx(IconRenderer, { icon: section.icon, imageComponent: imageComponent, width: 20 }));
|
|
16520
|
-
|
|
16521
|
-
|
|
16522
|
-
|
|
16528
|
+
// Calculate section-specific hideRows based on global offset
|
|
16529
|
+
var sectionHideRows = hideRows
|
|
16530
|
+
.map(function (globalRowIndex) { return globalRowIndex - globalRowOffset; })
|
|
16531
|
+
.filter(function (localRowIndex) { return localRowIndex >= 0 && localRowIndex < rows.length; });
|
|
16532
|
+
var result = (isFirstSection || isVisible) && (jsxRuntime.jsxs("div", { children: [(section === null || section === void 0 ? void 0 : section.title) && (jsxRuntime.jsx("div", { className: styles$3.cardWrapper, children: jsxRuntime.jsx("div", { className: classNames$1(styles$3.card, 'p0'), children: jsxRuntime.jsx(Card, __assign({ actionIcon: isExpanded ? (jsxRuntime.jsx(ChevronUpIcon, { size: 24 })) : (jsxRuntime.jsx(ChevronDownIcon, { size: 24 })), "aria-expanded": isExpanded ? 'true' : 'false', "aria-hidden": true, classNames: {
|
|
16533
|
+
wrapper: 'bg-purple-100 pl16',
|
|
16534
|
+
icon: classNames$1(styles$3.cardIcon, 'tc-neutral-900'),
|
|
16523
16535
|
}, dropShadow: false, icon: renderedIcon, title: section.title, titleVariant: "medium" }, (collapsibleSections
|
|
16524
16536
|
? {
|
|
16525
16537
|
onClick: function () { return handleToggleSection(index); },
|
|
16526
16538
|
}
|
|
16527
|
-
: {}))) }) })), jsxRuntime.jsx(Collapsible, { isExpanded: isExpanded, children: jsxRuntime.jsx(TableSection, { className: classNames$1(className, 'mb24'), tableCellRows: isFirstSection ? rows : __spreadArray$1([firstHeadRow], rows, true), hideColumns: hideColumns, hideHeader: true, openModal: openModal, title: "".concat(title).concat((section === null || section === void 0 ? void 0 : section.title) ? " - ".concat(section.title) : ''), width: tableWidth, cellReplacements: cellReplacements, imageComponent: imageComponent }) })] }, index))
|
|
16539
|
+
: {}))) }) })), jsxRuntime.jsx(Collapsible, { isExpanded: isExpanded, children: jsxRuntime.jsx(TableSection, { className: classNames$1(className, 'mb24'), tableCellRows: isFirstSection ? rows : __spreadArray$1([firstHeadRow], rows, true), hideColumns: hideColumns, hideRows: sectionHideRows, hideHeader: true, openModal: openModal, title: "".concat(title).concat((section === null || section === void 0 ? void 0 : section.title) ? " - ".concat(section.title) : ''), width: tableWidth, cellReplacements: cellReplacements, imageComponent: imageComponent }) })] }, index));
|
|
16540
|
+
// Update global offset for next section (excluding header row for non-first sections)
|
|
16541
|
+
globalRowOffset += rows.length;
|
|
16542
|
+
return result;
|
|
16528
16543
|
}) }));
|
|
16529
16544
|
};
|
|
16530
16545
|
|
|
@@ -16577,13 +16592,13 @@ var useTableNavigation = function (_a) {
|
|
|
16577
16592
|
};
|
|
16578
16593
|
};
|
|
16579
16594
|
|
|
16580
|
-
var css_248z = ".TableControls-module_stickyHeader__1f6Ta {\n display: flex;\n position: sticky;\n left: 0;\n right: 0;\n min-height: 72px;\n z-index: 9;\n}\n\n.TableControls-module_controlButton__2kQiG {\n border-radius: 50% !important;\n width: 32px;\n height: 32px;\n padding: 0;\n min-width: 32px;\n}";
|
|
16581
|
-
var styles = {"stickyHeader":"TableControls-module_stickyHeader__1f6Ta","controlButton":"TableControls-module_controlButton__2kQiG"};
|
|
16582
|
-
styleInject(css_248z);
|
|
16595
|
+
var css_248z$1 = ".TableControls-module_stickyHeader__1f6Ta {\n display: flex;\n position: sticky;\n left: 0;\n right: 0;\n min-height: 72px;\n z-index: 9;\n}\n\n.TableControls-module_controlButton__2kQiG {\n border-radius: 50% !important;\n width: 32px;\n height: 32px;\n padding: 0;\n min-width: 32px;\n}";
|
|
16596
|
+
var styles$1 = {"stickyHeader":"TableControls-module_stickyHeader__1f6Ta","controlButton":"TableControls-module_controlButton__2kQiG"};
|
|
16597
|
+
styleInject(css_248z$1);
|
|
16583
16598
|
|
|
16584
16599
|
var TableControls = function (_a) {
|
|
16585
16600
|
var activeSection = _a.activeSection, children = _a.children, columnsLength = _a.columnsLength, stickyHeaderTopOffset = _a.stickyHeaderTopOffset, navigateTable = _a.navigateTable;
|
|
16586
|
-
return (jsxRuntime.jsxs("div", { "aria-hidden": true, className: classNames$1('d-flex ai-center jc-between bg-white px8', styles.stickyHeader), style: { top: "".concat(stickyHeaderTopOffset, "px") }, children: [jsxRuntime.jsx(Button, { className: styles.controlButton, disabled: activeSection <= 1, hideLabel: true, leftIcon: jsxRuntime.jsx(ChevronLeftIcon, {}), onClick: function () { return navigateTable(); }, type: "button", variant: "filledGray", "data-testid": "previous-section-button", children: "Previous section" }), children, jsxRuntime.jsx(Button, { className: styles.controlButton, disabled: activeSection >= columnsLength - 1, hideLabel: true, leftIcon: jsxRuntime.jsx(ChevronRightIcon, {}), onClick: function () { return navigateTable(true); }, type: "button", variant: "filledGray", "data-testid": "next-section-button", children: "Next section" })] }));
|
|
16601
|
+
return (jsxRuntime.jsxs("div", { "aria-hidden": true, className: classNames$1('d-flex ai-center jc-between bg-white px8', styles$1.stickyHeader), style: { top: "".concat(stickyHeaderTopOffset, "px") }, children: [jsxRuntime.jsx(Button, { className: styles$1.controlButton, disabled: activeSection <= 1, hideLabel: true, leftIcon: jsxRuntime.jsx(ChevronLeftIcon, {}), onClick: function () { return navigateTable(); }, type: "button", variant: "filledGray", "data-testid": "previous-section-button", children: "Previous section" }), children, jsxRuntime.jsx(Button, { className: styles$1.controlButton, disabled: activeSection >= columnsLength - 1, hideLabel: true, leftIcon: jsxRuntime.jsx(ChevronRightIcon, {}), onClick: function () { return navigateTable(true); }, type: "button", variant: "filledGray", "data-testid": "next-section-button", children: "Next section" })] }));
|
|
16587
16602
|
};
|
|
16588
16603
|
|
|
16589
16604
|
var useScrollSync = function (sourceRef, targetRef, enabled) {
|
|
@@ -16620,20 +16635,20 @@ var defaultTextOverrides = {
|
|
|
16620
16635
|
};
|
|
16621
16636
|
var Table = function (_a) {
|
|
16622
16637
|
var _b, _c, _d, _e, _f, _g, _h, _j;
|
|
16623
|
-
var cellReplacements = _a.cellReplacements, className = _a.className, collapsibleSections = _a.collapsibleSections, _k = _a.hideColumns, hideColumns = _k === void 0 ? [] : _k, hideDetails = _a.hideDetails, imageComponent = _a.imageComponent, modalContentRenderer = _a.modalContentRenderer, onModalOpen = _a.onModalOpen, onSelectionChanged = _a.onSelectionChanged,
|
|
16638
|
+
var cellReplacements = _a.cellReplacements, className = _a.className, collapsibleSections = _a.collapsibleSections, _k = _a.hideColumns, hideColumns = _k === void 0 ? [] : _k, hideDetails = _a.hideDetails, _l = _a.hideRows, hideRows = _l === void 0 ? [] : _l, imageComponent = _a.imageComponent, modalContentRenderer = _a.modalContentRenderer, onModalOpen = _a.onModalOpen, onSelectionChanged = _a.onSelectionChanged, _m = _a.stickyHeaderTopOffset, stickyHeaderTopOffset = _m === void 0 ? 0 : _m, tableData = _a.tableData, definedTextOverrides = _a.textOverrides, title = _a.title;
|
|
16624
16639
|
var textOverrides = __assign(__assign({}, defaultTextOverrides), definedTextOverrides);
|
|
16625
16640
|
var isMobile = useMediaQuery('BELOW_MOBILE');
|
|
16626
|
-
var
|
|
16627
|
-
var
|
|
16641
|
+
var _o = React.useState(null), infoModalData = _o[0], setInfoModalData = _o[1];
|
|
16642
|
+
var _p = React.useState(true), shouldHideDetails = _p[0], setShouldHideDetails = _p[1];
|
|
16628
16643
|
var containerRef = React.useRef(null);
|
|
16629
16644
|
var headerRef = React.useRef(null);
|
|
16630
16645
|
var columnsLength = tableData[0].rows[0].length;
|
|
16631
16646
|
useScrollSync(headerRef, containerRef, !isMobile);
|
|
16632
|
-
var
|
|
16647
|
+
var _q = useTableNavigation({
|
|
16633
16648
|
enabled: isMobile,
|
|
16634
16649
|
containerRef: containerRef,
|
|
16635
16650
|
onSelectionChanged: onSelectionChanged,
|
|
16636
|
-
}), activeSection =
|
|
16651
|
+
}), activeSection = _q.activeSection, navigateTable = _q.navigateTable;
|
|
16637
16652
|
var titleCell = __assign({ text: '' }, ((_d = (_c = (_b = tableData === null || tableData === void 0 ? void 0 : tableData[0]) === null || _b === void 0 ? void 0 : _b.rows) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d[0]) || {});
|
|
16638
16653
|
var currentActiveSection = (_g = (_f = (_e = tableData === null || tableData === void 0 ? void 0 : tableData[0]) === null || _e === void 0 ? void 0 : _e.rows) === null || _f === void 0 ? void 0 : _f[0]) === null || _g === void 0 ? void 0 : _g[activeSection];
|
|
16639
16654
|
var currentActiveSectionReplacements = (currentActiveSection.cellId &&
|
|
@@ -16645,7 +16660,7 @@ var Table = function (_a) {
|
|
|
16645
16660
|
onModalOpen === null || onModalOpen === void 0 ? void 0 : onModalOpen({ body: body, title: title });
|
|
16646
16661
|
setInfoModalData({ body: body, title: title });
|
|
16647
16662
|
}, []);
|
|
16648
|
-
return (jsxRuntime.jsxs("div", { className: classNames$1(styles$
|
|
16663
|
+
return (jsxRuntime.jsxs("div", { className: classNames$1(styles$5.wrapper, 'bg-white'), children: [isMobile ? (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [(titleCell === null || titleCell === void 0 ? void 0 : titleCell.text) && (jsxRuntime.jsx(TableCell, __assign({}, titleCell, { align: 'left', isNavigation: true, isTopLeftCell: true, type: undefined }))), jsxRuntime.jsx(TableControls, { activeSection: activeSection, columnsLength: columnsLength, navigateTable: navigateTable, stickyHeaderTopOffset: stickyHeaderTopOffset, children: jsxRuntime.jsx(TableCell, __assign({}, (isBaseCell(currentActiveSection)
|
|
16649
16664
|
? {
|
|
16650
16665
|
openModal: function (body) {
|
|
16651
16666
|
return handleOpenModal({
|
|
@@ -16654,13 +16669,13 @@ var Table = function (_a) {
|
|
|
16654
16669
|
});
|
|
16655
16670
|
},
|
|
16656
16671
|
}
|
|
16657
|
-
: {}), activeCellProps, { imageComponent: imageComponent, isNavigation: true })) })] })) : (jsxRuntime.jsx("div", { "aria-hidden": true, className: styles$
|
|
16672
|
+
: {}), activeCellProps, { imageComponent: imageComponent, isNavigation: true })) })] })) : (jsxRuntime.jsx("div", { "aria-hidden": true, className: styles$5.stickyHeader, style: { top: "".concat(stickyHeaderTopOffset, "px") }, children: jsxRuntime.jsx("div", { className: styles$5.container, ref: headerRef, children: jsxRuntime.jsx(TableSection, { cellReplacements: cellReplacements, className: className, hideColumns: hideColumns, hideRows: hideRows, openModal: handleOpenModal, tableCellRows: [(_j = (_h = tableData === null || tableData === void 0 ? void 0 : tableData[0]) === null || _h === void 0 ? void 0 : _h.rows) === null || _j === void 0 ? void 0 : _j[0]], title: title, imageComponent: imageComponent }) }) })), jsxRuntime.jsx("div", { ref: containerRef, className: classNames$1(styles$5.container, 'pb8'), children: jsxRuntime.jsx(TableContents, { tableData: tableData, title: title, className: className, collapsibleSections: collapsibleSections, hideColumns: hideColumns, hideDetails: hideDetails, hideRows: hideRows, isMobile: isMobile, shouldHideDetails: shouldHideDetails, openModal: handleOpenModal, cellReplacements: cellReplacements, imageComponent: imageComponent }) }), (tableData === null || tableData === void 0 ? void 0 : tableData.length) > 1 && hideDetails && (jsxRuntime.jsx(Card, { "data-testid": "show-hide-details", classNames: {
|
|
16658
16673
|
buttonWrapper: 'm8 mt32',
|
|
16659
16674
|
title: 'd-flex gap8 ai-center jc-center fw-bold',
|
|
16660
|
-
wrapper: 'bg-
|
|
16675
|
+
wrapper: 'bg-neutral-100',
|
|
16661
16676
|
}, title: jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [shouldHideDetails
|
|
16662
16677
|
? textOverrides.showDetails
|
|
16663
|
-
: textOverrides.hideDetails, shouldHideDetails ? (jsxRuntime.jsx(ChevronDownIcon, { size: 20 })) : (jsxRuntime.jsx(ChevronUpIcon, { size: 20 }))] }), actionIcon: null, dropShadow: false, titleVariant: "small", density: "compact", onClick: function () { return setShouldHideDetails(function (current) { return !current; }); } })), jsxRuntime.jsx(BottomOrRegularModal, { isOpen: (infoModalData === null || infoModalData === void 0 ? void 0 : infoModalData.body) ? true : false, title: infoModalData === null || infoModalData === void 0 ? void 0 : infoModalData.title, onClose: function () { return setInfoModalData(null); }, children: jsxRuntime.jsx("div", { className: classNames$1(styles$
|
|
16678
|
+
: textOverrides.hideDetails, shouldHideDetails ? (jsxRuntime.jsx(ChevronDownIcon, { size: 20 })) : (jsxRuntime.jsx(ChevronUpIcon, { size: 20 }))] }), actionIcon: null, dropShadow: false, titleVariant: "small", density: "compact", onClick: function () { return setShouldHideDetails(function (current) { return !current; }); } })), jsxRuntime.jsx(BottomOrRegularModal, { isOpen: (infoModalData === null || infoModalData === void 0 ? void 0 : infoModalData.body) ? true : false, title: infoModalData === null || infoModalData === void 0 ? void 0 : infoModalData.title, onClose: function () { return setInfoModalData(null); }, children: jsxRuntime.jsx("div", { className: classNames$1(styles$5.modalContent, "pt8 p24 wmn6"), children: modalContentRenderer
|
|
16664
16679
|
? modalContentRenderer(infoModalData === null || infoModalData === void 0 ? void 0 : infoModalData.body)
|
|
16665
16680
|
: infoModalData === null || infoModalData === void 0 ? void 0 : infoModalData.body }) })] }));
|
|
16666
16681
|
};
|
|
@@ -16691,6 +16706,47 @@ var useFocusWithin = function (ref, callback) {
|
|
|
16691
16706
|
}, [callback, ref]);
|
|
16692
16707
|
};
|
|
16693
16708
|
|
|
16709
|
+
var css_248z = ".styles-module_wrapper__28Xe2 {\n height: auto;\n}";
|
|
16710
|
+
var styles = {"wrapper":"styles-module_wrapper__28Xe2"};
|
|
16711
|
+
styleInject(css_248z);
|
|
16712
|
+
|
|
16713
|
+
var LogoWrapper = function (_a) {
|
|
16714
|
+
var children = _a.children, width = _a.width, className = _a.className, isHorizontal = _a.isHorizontal, rest = __rest$1(_a, ["children", "width", "className", "isHorizontal"]);
|
|
16715
|
+
return (jsxRuntime.jsx("div", __assign({ className: classNames$1('d-inline-block wmx100', styles.wrapper, className) }, rest, { children: jsxRuntime.jsx("svg", { className: 'w100', width: width, viewBox: isHorizontal ? "0 0 408 96" : "0 0 128 128", fill: "none", children: children }) })));
|
|
16716
|
+
};
|
|
16717
|
+
|
|
16718
|
+
var LogoColor = function (props) {
|
|
16719
|
+
return React.createElement(LogoWrapper, props, jsxRuntime.jsx("path", { d: "M60.916 103.119C48.8557 105.797 38.8036 107.385 33.2556 112.037C27.7077 116.689 25.8924 120.807 23.2262 126.684C22.7951 127.626 22.466 128 21.7399 128H17.2698C16.6004 128 16.1239 127.489 16.1125 126.877C16.7025 115.713 28.7741 79.0782 47.6757 53.9365C66.5774 28.7836 79.0574 17.0636 105.731 0C106.026 0.669385 106.661 2.23506 106.797 2.55274C112.595 16.3602 113.956 32.902 108.17 46.9477C102.69 60.256 91.2992 68.4701 77.5938 71.7944C74.5873 72.5205 71.5354 73.0651 68.4607 73.4962C67.9048 73.5756 67.485 74.0521 67.485 74.6081V78.4996C67.485 79.0555 67.8708 79.5207 68.4153 79.6228C71.0929 80.1106 74.7121 80.3035 80.1239 79.7816C85.2521 79.2937 89.9378 78.25 93.0237 76.7864C93.0237 76.7864 95.1454 95.983 60.916 103.108V103.119Z", fill: "#F2B873" }));
|
|
16720
|
+
};
|
|
16721
|
+
|
|
16722
|
+
var LogoWhite = function (props) {
|
|
16723
|
+
return React.createElement(LogoWrapper, props, jsxRuntime.jsx("path", { d: "M60.916 103.119C48.8557 105.797 38.8036 107.385 33.2556 112.037C27.7077 116.689 25.8924 120.807 23.2262 126.684C22.7951 127.626 22.466 128 21.7399 128H17.2698C16.6004 128 16.1239 127.489 16.1125 126.877C16.7025 115.713 28.7741 79.0782 47.6757 53.9365C66.5774 28.7836 79.0574 17.0636 105.731 0C106.026 0.669385 106.661 2.23506 106.797 2.55274C112.595 16.3602 113.956 32.902 108.17 46.9477C102.69 60.256 91.2992 68.4701 77.5938 71.7944C74.5873 72.5205 71.5354 73.0651 68.4607 73.4962C67.9048 73.5756 67.485 74.0521 67.485 74.6081V78.4996C67.485 79.0555 67.8708 79.5207 68.4153 79.6228C71.0929 80.1106 74.7121 80.3035 80.1239 79.7816C85.2521 79.2937 89.9378 78.25 93.0237 76.7864C93.0237 76.7864 95.1454 95.983 60.916 103.108V103.119Z", fill: "white" }));
|
|
16724
|
+
};
|
|
16725
|
+
|
|
16726
|
+
var LogoBlack = function (props) {
|
|
16727
|
+
return React.createElement(LogoWrapper, props, jsxRuntime.jsx("path", { d: "M60.916 103.119C48.8557 105.797 38.8036 107.385 33.2556 112.037C27.7077 116.689 25.8924 120.807 23.2262 126.684C22.7951 127.626 22.466 128 21.7399 128H17.2698C16.6004 128 16.1239 127.489 16.1125 126.877C16.7025 115.713 28.7741 79.0782 47.6757 53.9365C66.5774 28.7836 79.0574 17.0636 105.731 0C106.026 0.669385 106.661 2.23506 106.797 2.55274C112.595 16.3602 113.956 32.902 108.17 46.9477C102.69 60.256 91.2992 68.4701 77.5938 71.7944C74.5873 72.5205 71.5354 73.0651 68.4607 73.4962C67.9048 73.5756 67.485 74.0521 67.485 74.6081V78.4996C67.485 79.0555 67.8708 79.5207 68.4153 79.6228C71.0929 80.1106 74.7121 80.3035 80.1239 79.7816C85.2521 79.2937 89.9378 78.25 93.0237 76.7864C93.0237 76.7864 95.1454 95.983 60.916 103.108V103.119Z", fill: "#3F3F47" }));
|
|
16728
|
+
};
|
|
16729
|
+
|
|
16730
|
+
var LogoOrangeBox = function (props) {
|
|
16731
|
+
return React.createElement(LogoWrapper, props, jsxRuntime.jsxs("g", { clipPath: "url(#clip0_31013_79126)", children: [jsxRuntime.jsx("rect", { width: "128", height: "128", rx: "8", fill: "#FFD08F" }), jsxRuntime.jsx("path", { d: "M62.0725 88.4496C54.5348 90.123 48.2522 91.1158 44.7848 94.023C41.3173 96.9303 40.1827 99.5043 38.5164 103.177C38.2469 103.766 38.0413 104 37.5874 104H34.7936C34.3753 104 34.0774 103.681 34.0703 103.298C34.4391 96.3205 41.9838 73.4239 53.7973 57.7103C65.6108 41.9897 73.4109 34.6648 90.0817 24C90.2661 24.4184 90.6631 25.3969 90.7482 25.5955C94.3717 34.2251 95.2226 44.5637 91.6062 53.3423C88.1813 61.66 81.062 66.7938 72.4962 68.8715C70.6171 69.3253 68.7096 69.6657 66.7879 69.9351C66.4405 69.9848 66.1781 70.2826 66.1781 70.63V73.0622C66.1781 73.4097 66.4192 73.7004 66.7596 73.7642C68.433 74.0691 70.6951 74.1897 74.0774 73.8635C77.2825 73.5586 80.2111 72.9062 82.1398 71.9915C82.1398 71.9915 83.4658 83.9894 62.0725 88.4425V88.4496Z", fill: "#3F3F47" })] }), jsxRuntime.jsx("defs", { children: jsxRuntime.jsx("clipPath", { id: "clip0_31013_79126", children: jsxRuntime.jsx("rect", { width: "128", height: "128", fill: "white" }) }) }));
|
|
16732
|
+
};
|
|
16733
|
+
|
|
16734
|
+
var LogoInvertedColor = function (props) {
|
|
16735
|
+
return React.createElement(LogoWrapper, __assign(__assign({}, props), { isHorizontal: true }), jsxRuntime.jsx("path", { d: "M44.6141 72.7276C36.9117 74.4377 30.4918 75.4521 26.9486 78.4229C23.4053 81.3937 22.246 84.024 20.5432 87.7774C20.2678 88.3788 20.0577 88.6179 19.594 88.6179H16.7391C16.3116 88.6179 16.0072 88.2918 16 87.9006C16.3768 80.7706 24.0864 57.3736 36.1581 41.3167C48.2298 25.2525 56.2003 17.7675 73.2354 6.86963C73.4238 7.29714 73.8296 8.29707 73.9165 8.49996C77.6192 17.3182 78.4887 27.8827 74.7933 36.8532C71.2935 45.3526 64.0186 50.5987 55.2655 52.7217C53.3454 53.1854 51.3962 53.5332 49.4326 53.8086C49.0775 53.8593 48.8095 54.1636 48.8095 54.5187V57.004C48.8095 57.3591 49.0558 57.6562 49.4036 57.7214C51.1136 58.0329 53.4251 58.1561 56.8814 57.8228C60.1565 57.5112 63.1491 56.8446 65.12 55.9099C65.12 55.9099 66.475 68.17 44.6141 72.7204V72.7276Z", fill: "#F2B873" }), jsxRuntime.jsx("path", { d: "M111.392 40.0408H102.354V32.6012H111.392V26.0436C111.392 18.698 115.874 14.6637 123.581 14.6637H131.838V21.9226H125.729C121.875 21.9226 120.53 23.6216 120.53 26.9401V32.6012H131.028V40.0408H120.53V80.0152H111.384V40.0408H111.392Z", fill: "white" }), jsxRuntime.jsx("path", { d: "M134.339 56.5311C134.339 41.4712 142.495 31.8843 156.116 31.8843C171.082 31.8843 178.254 42.7292 177.09 58.1434H143.391C143.478 68.5401 148.589 73.7384 156.39 73.7384C162.572 73.7384 166.52 70.7814 167.864 66.212H176.649C175.217 75.3579 167.055 80.8238 156.39 80.8238C142.408 80.8238 134.339 71.2296 134.339 56.5311ZM143.485 51.8751H168.045C167.778 42.9099 162.934 38.9696 156.123 38.9696C148.864 38.9696 144.201 43.4522 143.485 51.8751Z", fill: "white" }), jsxRuntime.jsx("path", { d: "M183.38 67.383C183.38 57.9696 190.906 52.5038 203.009 52.5038H213.854V47.9345C213.854 41.7529 210.268 39.0633 204.173 39.0633C198.078 39.0633 194.044 42.1071 193.863 46.6837H184.812C184.992 37.7186 192.88 31.7177 204.708 31.7177C216.537 31.7177 223.08 37.7258 223.08 48.296V68.641C223.08 71.8656 224.157 73.1236 226.398 73.1236H228.726V80.0282H223.528C218.33 80.0282 215.553 77.6062 214.743 72.9501H214.382C211.873 77.7001 205.684 80.7439 198.787 80.7439C189.554 80.7439 183.373 75.4589 183.373 67.3903L183.38 67.383ZM213.854 65.684V58.4179H204.622C196.914 58.4179 192.793 61.4617 192.793 66.754C192.793 71.3233 196.285 74.1936 201.845 74.1936C207.759 74.1936 212.329 70.7016 213.854 65.684Z", fill: "white" }), jsxRuntime.jsx("path", { d: "M237.807 69.1703V40.1276H228.842V32.6012H237.807V16.7966L246.946 15.7193V32.6012H257.523V40.1276H247.039V67.6448C247.039 70.9633 248.652 72.3081 251.703 72.3081H257.617V80.0152H248.565C241.393 80.0152 237.807 76.7906 237.807 69.1703Z", fill: "white" }), jsxRuntime.jsx("path", { d: "M274.629 14.6777V41.3056H275.164C277.94 34.5817 284.216 31.8849 291.207 31.8849C300.888 31.8849 308.147 37.3508 308.147 51.8757V80.0219H298.915V53.7627C298.915 44.0819 295.422 39.5125 287.889 39.5125C279.733 39.5125 274.622 46.6774 274.622 54.8328V80.0219H265.483V14.6777H274.629Z", fill: "white" }), jsxRuntime.jsx("path", { d: "M315.232 56.5311C315.232 41.4712 323.388 31.8843 337.016 31.8843C351.982 31.8843 359.154 42.7292 357.99 58.1434H324.292C324.378 68.5401 329.49 73.7384 337.291 73.7384C343.473 73.7384 347.42 70.7814 348.765 66.212H357.549C356.118 75.3579 347.962 80.8238 337.291 80.8238C323.308 80.8238 315.24 71.2296 315.24 56.5311H315.232ZM324.371 51.8751H348.931C348.664 42.9099 343.82 38.9696 337.009 38.9696C329.75 38.9696 325.087 43.4522 324.371 51.8751Z", fill: "white" }), jsxRuntime.jsx("path", { d: "M366.363 32.5992H374.612L375.06 41.0221H375.508C377.569 34.9273 382.948 31.9702 389.224 31.9702C390.301 31.9702 391.197 32.057 392 32.151V40.8486C391.284 40.7618 390.207 40.7618 389.13 40.7618C380.707 40.7618 375.957 45.1504 375.508 52.9515V80.0204H366.37V32.5992H366.363Z", fill: "white" }));
|
|
16736
|
+
};
|
|
16737
|
+
|
|
16738
|
+
var LogoInverted = function (props) {
|
|
16739
|
+
return React.createElement(LogoWrapper, __assign(__assign({}, props), { isHorizontal: true }), jsxRuntime.jsx("path", { d: "M44.6141 72.7277C36.9117 74.4377 30.4918 75.4522 26.9486 78.423C23.4053 81.3938 22.246 84.0241 20.5432 87.7774C20.2678 88.3789 20.0577 88.618 19.594 88.618H16.7391C16.3116 88.618 16.0072 88.2919 16 87.9006C16.3768 80.7707 24.0864 57.3736 36.1581 41.3167C48.2298 25.2526 56.2003 17.7675 73.2354 6.86969C73.4238 7.2972 73.8296 8.29713 73.9165 8.50002C77.6192 17.3183 78.4887 27.8828 74.7933 36.8532C71.2935 45.3527 64.0186 50.5987 55.2655 52.7218C53.3454 53.1855 51.3962 53.5333 49.4326 53.8087C49.0775 53.8594 48.8095 54.1637 48.8095 54.5187V57.0041C48.8095 57.3591 49.0558 57.6562 49.4036 57.7214C51.1136 58.033 53.4251 58.1562 56.8814 57.8229C60.1565 57.5113 63.1491 56.8447 65.12 55.91C65.12 55.91 66.475 68.17 44.6141 72.7205V72.7277Z", fill: "white" }), jsxRuntime.jsx("path", { d: "M111.392 40.0409H102.354V32.6012H111.392V26.0437C111.392 18.6981 115.874 14.6638 123.581 14.6638H131.838V21.9226H125.729C121.875 21.9226 120.53 23.6217 120.53 26.9402V32.6012H131.028V40.0409H120.53V80.0152H111.384V40.0409H111.392Z", fill: "white" }), jsxRuntime.jsx("path", { d: "M134.339 56.5312C134.339 41.4712 142.495 31.8843 156.116 31.8843C171.082 31.8843 178.254 42.7292 177.09 58.1435H143.391C143.478 68.5401 148.589 73.7385 156.39 73.7385C162.572 73.7385 166.52 70.7814 167.864 66.2121H176.649C175.217 75.358 167.055 80.8238 156.39 80.8238C142.408 80.8238 134.339 71.2297 134.339 56.5312ZM143.485 51.8751H168.045C167.778 42.91 162.934 38.9697 156.123 38.9697C148.864 38.9697 144.201 43.4522 143.485 51.8751Z", fill: "white" }), jsxRuntime.jsx("path", { d: "M183.38 67.3831C183.38 57.9697 190.906 52.5039 203.009 52.5039H213.854V47.9345C213.854 41.7529 210.268 39.0634 204.173 39.0634C198.078 39.0634 194.044 42.1072 193.863 46.6838H184.812C184.992 37.7186 192.88 31.7178 204.708 31.7178C216.537 31.7178 223.08 37.7259 223.08 48.296V68.6411C223.08 71.8657 224.157 73.1237 226.398 73.1237H228.726V80.0283H223.528C218.33 80.0283 215.553 77.6062 214.743 72.9501H214.382C211.873 77.7002 205.684 80.744 198.787 80.744C189.554 80.744 183.373 75.4589 183.373 67.3903L183.38 67.3831ZM213.854 65.684V58.418H204.622C196.914 58.418 192.793 61.4618 192.793 66.7541C192.793 71.3234 196.285 74.1937 201.845 74.1937C207.759 74.1937 212.329 70.7016 213.854 65.684Z", fill: "white" }), jsxRuntime.jsx("path", { d: "M237.807 69.1703V40.1277H228.842V32.6013H237.807V16.7966L246.946 15.7194V32.6013H257.523V40.1277H247.039V67.6448C247.039 70.9634 248.652 72.3081 251.703 72.3081H257.617V80.0153H248.565C241.393 80.0153 237.807 76.7907 237.807 69.1703Z", fill: "white" }), jsxRuntime.jsx("path", { d: "M274.629 14.6777V41.3056H275.164C277.94 34.5818 284.216 31.885 291.207 31.885C300.888 31.885 308.147 37.3508 308.147 51.8758V80.022H298.915V53.7628C298.915 44.0819 295.422 39.5126 287.889 39.5126C279.733 39.5126 274.622 46.6775 274.622 54.8328V80.022H265.483V14.6777H274.629Z", fill: "white" }), jsxRuntime.jsx("path", { d: "M315.232 56.5312C315.232 41.4712 323.388 31.8843 337.016 31.8843C351.982 31.8843 359.154 42.7292 357.99 58.1435H324.292C324.378 68.5401 329.49 73.7385 337.291 73.7385C343.473 73.7385 347.42 70.7814 348.765 66.2121H357.549C356.118 75.358 347.962 80.8238 337.291 80.8238C323.308 80.8238 315.24 71.2297 315.24 56.5312H315.232ZM324.371 51.8751H348.931C348.664 42.91 343.82 38.9697 337.009 38.9697C329.75 38.9697 325.087 43.4522 324.371 51.8751Z", fill: "white" }), jsxRuntime.jsx("path", { d: "M366.363 32.5993H374.612L375.06 41.0222H375.508C377.569 34.9273 382.948 31.9703 389.224 31.9703C390.301 31.9703 391.197 32.057 392 32.151V40.8486C391.284 40.7619 390.207 40.7619 389.13 40.7619C380.707 40.7619 375.957 45.1505 375.508 52.9516V80.0205H366.37V32.5993H366.363Z", fill: "white" }));
|
|
16740
|
+
};
|
|
16741
|
+
|
|
16742
|
+
var LogoPositiveColor = function (props) {
|
|
16743
|
+
return React.createElement(LogoWrapper, __assign(__assign({}, props), { isHorizontal: true }), jsxRuntime.jsx("path", { d: "M44.6141 72.7277C36.9117 74.4377 30.4918 75.4522 26.9486 78.423C23.4053 81.3938 22.246 84.0241 20.5432 87.7774C20.2678 88.3789 20.0577 88.618 19.594 88.618H16.7391C16.3116 88.618 16.0072 88.2919 16 87.9006C16.3768 80.7707 24.0864 57.3736 36.1581 41.3167C48.2298 25.2526 56.2003 17.7675 73.2354 6.86969C73.4238 7.2972 73.8296 8.29713 73.9165 8.50002C77.6192 17.3183 78.4887 27.8828 74.7933 36.8532C71.2935 45.3527 64.0186 50.5987 55.2655 52.7218C53.3454 53.1855 51.3962 53.5333 49.4326 53.8087C49.0775 53.8594 48.8095 54.1637 48.8095 54.5187V57.0041C48.8095 57.3591 49.0558 57.6562 49.4036 57.7214C51.1136 58.033 53.4251 58.1562 56.8814 57.8229C60.1565 57.5113 63.1491 56.8447 65.12 55.91C65.12 55.91 66.475 68.17 44.6141 72.7205V72.7277Z", fill: "#F2B873" }), jsxRuntime.jsx("path", { d: "M111.392 40.0409H102.354V32.6012H111.392V26.0437C111.392 18.6981 115.874 14.6638 123.581 14.6638H131.838V21.9226H125.729C121.875 21.9226 120.53 23.6217 120.53 26.9402V32.6012H131.028V40.0409H120.53V80.0152H111.384V40.0409H111.392Z", fill: "#3F3F47" }), jsxRuntime.jsx("path", { d: "M134.339 56.5312C134.339 41.4712 142.495 31.8843 156.116 31.8843C171.082 31.8843 178.254 42.7292 177.09 58.1435H143.391C143.478 68.5401 148.589 73.7385 156.39 73.7385C162.572 73.7385 166.52 70.7814 167.864 66.2121H176.649C175.217 75.358 167.055 80.8238 156.39 80.8238C142.408 80.8238 134.339 71.2297 134.339 56.5312ZM143.485 51.8751H168.045C167.778 42.91 162.934 38.9697 156.123 38.9697C148.864 38.9697 144.201 43.4522 143.485 51.8751Z", fill: "#3F3F47" }), jsxRuntime.jsx("path", { d: "M183.38 67.3831C183.38 57.9697 190.906 52.5039 203.009 52.5039H213.854V47.9345C213.854 41.7529 210.268 39.0634 204.173 39.0634C198.078 39.0634 194.044 42.1072 193.863 46.6838H184.812C184.992 37.7186 192.88 31.7178 204.708 31.7178C216.537 31.7178 223.08 37.7259 223.08 48.296V68.6411C223.08 71.8657 224.157 73.1237 226.398 73.1237H228.726V80.0283H223.528C218.33 80.0283 215.553 77.6062 214.743 72.9501H214.382C211.873 77.7002 205.684 80.744 198.787 80.744C189.554 80.744 183.373 75.4589 183.373 67.3903L183.38 67.3831ZM213.854 65.684V58.418H204.622C196.914 58.418 192.793 61.4618 192.793 66.7541C192.793 71.3234 196.285 74.1937 201.845 74.1937C207.759 74.1937 212.329 70.7016 213.854 65.684Z", fill: "#3F3F47" }), jsxRuntime.jsx("path", { d: "M237.807 69.1703V40.1277H228.842V32.6013H237.807V16.7966L246.946 15.7194V32.6013H257.523V40.1277H247.039V67.6448C247.039 70.9634 248.652 72.3081 251.703 72.3081H257.617V80.0153H248.565C241.393 80.0153 237.807 76.7907 237.807 69.1703Z", fill: "#3F3F47" }), jsxRuntime.jsx("path", { d: "M274.629 14.6777V41.3056H275.164C277.94 34.5818 284.216 31.885 291.207 31.885C300.888 31.885 308.147 37.3508 308.147 51.8758V80.022H298.915V53.7628C298.915 44.0819 295.422 39.5126 287.889 39.5126C279.733 39.5126 274.622 46.6775 274.622 54.8328V80.022H265.483V14.6777H274.629Z", fill: "#3F3F47" }), jsxRuntime.jsx("path", { d: "M315.232 56.5312C315.232 41.4712 323.388 31.8843 337.016 31.8843C351.982 31.8843 359.154 42.7292 357.99 58.1435H324.292C324.378 68.5401 329.49 73.7385 337.291 73.7385C343.473 73.7385 347.42 70.7814 348.765 66.2121H357.549C356.118 75.358 347.962 80.8238 337.291 80.8238C323.308 80.8238 315.24 71.2297 315.24 56.5312H315.232ZM324.371 51.8751H348.931C348.664 42.91 343.82 38.9697 337.009 38.9697C329.75 38.9697 325.087 43.4522 324.371 51.8751Z", fill: "#3F3F47" }), jsxRuntime.jsx("path", { d: "M366.363 32.5993H374.612L375.06 41.0222H375.508C377.569 34.9273 382.948 31.9703 389.224 31.9703C390.301 31.9703 391.197 32.057 392 32.151V40.8486C391.284 40.7619 390.207 40.7619 389.13 40.7619C380.707 40.7619 375.957 45.1505 375.508 52.9516V80.0205H366.37V32.5993H366.363Z", fill: "#3F3F47" }));
|
|
16744
|
+
};
|
|
16745
|
+
|
|
16746
|
+
var LogoPositiveBlack = function (props) {
|
|
16747
|
+
return React.createElement(LogoWrapper, __assign(__assign({}, props), { isHorizontal: true }), jsxRuntime.jsx("path", { d: "M44.6141 72.7277C36.9117 74.4377 30.4918 75.4522 26.9486 78.423C23.4053 81.3938 22.246 84.0241 20.5432 87.7774C20.2678 88.3789 20.0577 88.618 19.594 88.618H16.7391C16.3116 88.618 16.0072 88.2919 16 87.9006C16.3768 80.7707 24.0864 57.3736 36.1581 41.3167C48.2298 25.2526 56.2003 17.7675 73.2354 6.86969C73.4238 7.2972 73.8296 8.29713 73.9165 8.50002C77.6192 17.3183 78.4887 27.8828 74.7933 36.8532C71.2935 45.3527 64.0186 50.5987 55.2655 52.7218C53.3454 53.1855 51.3962 53.5333 49.4326 53.8087C49.0775 53.8594 48.8095 54.1637 48.8095 54.5187V57.0041C48.8095 57.3591 49.0558 57.6562 49.4036 57.7214C51.1136 58.033 53.4251 58.1562 56.8814 57.8229C60.1565 57.5113 63.1491 56.8447 65.12 55.91C65.12 55.91 66.475 68.17 44.6141 72.7205V72.7277Z", fill: "#3F3F47" }), jsxRuntime.jsx("path", { d: "M111.392 40.0409H102.354V32.6012H111.392V26.0437C111.392 18.6981 115.874 14.6638 123.581 14.6638H131.838V21.9226H125.729C121.875 21.9226 120.53 23.6217 120.53 26.9402V32.6012H131.028V40.0409H120.53V80.0152H111.384V40.0409H111.392Z", fill: "#3F3F47" }), jsxRuntime.jsx("path", { d: "M134.339 56.5312C134.339 41.4712 142.495 31.8843 156.116 31.8843C171.082 31.8843 178.254 42.7292 177.09 58.1435H143.391C143.478 68.5401 148.589 73.7385 156.39 73.7385C162.572 73.7385 166.52 70.7814 167.864 66.2121H176.649C175.217 75.358 167.055 80.8238 156.39 80.8238C142.408 80.8238 134.339 71.2297 134.339 56.5312ZM143.485 51.8751H168.045C167.778 42.91 162.934 38.9697 156.123 38.9697C148.864 38.9697 144.201 43.4522 143.485 51.8751Z", fill: "#3F3F47" }), jsxRuntime.jsx("path", { d: "M183.38 67.3831C183.38 57.9697 190.906 52.5039 203.009 52.5039H213.854V47.9345C213.854 41.7529 210.268 39.0634 204.173 39.0634C198.078 39.0634 194.044 42.1072 193.863 46.6838H184.812C184.992 37.7186 192.88 31.7178 204.708 31.7178C216.537 31.7178 223.08 37.7259 223.08 48.296V68.6411C223.08 71.8657 224.157 73.1237 226.398 73.1237H228.726V80.0283H223.528C218.33 80.0283 215.553 77.6062 214.743 72.9501H214.382C211.873 77.7002 205.684 80.744 198.787 80.744C189.554 80.744 183.373 75.4589 183.373 67.3903L183.38 67.3831ZM213.854 65.684V58.418H204.622C196.914 58.418 192.793 61.4618 192.793 66.7541C192.793 71.3234 196.285 74.1937 201.845 74.1937C207.759 74.1937 212.329 70.7016 213.854 65.684Z", fill: "#3F3F47" }), jsxRuntime.jsx("path", { d: "M237.807 69.1703V40.1277H228.842V32.6013H237.807V16.7966L246.946 15.7194V32.6013H257.523V40.1277H247.039V67.6448C247.039 70.9634 248.652 72.3081 251.703 72.3081H257.617V80.0153H248.565C241.393 80.0153 237.807 76.7907 237.807 69.1703Z", fill: "#3F3F47" }), jsxRuntime.jsx("path", { d: "M274.629 14.6777V41.3056H275.164C277.94 34.5818 284.216 31.885 291.207 31.885C300.888 31.885 308.147 37.3508 308.147 51.8758V80.022H298.915V53.7628C298.915 44.0819 295.422 39.5126 287.889 39.5126C279.733 39.5126 274.622 46.6775 274.622 54.8328V80.022H265.483V14.6777H274.629Z", fill: "#3F3F47" }), jsxRuntime.jsx("path", { d: "M315.232 56.5312C315.232 41.4712 323.388 31.8843 337.016 31.8843C351.982 31.8843 359.154 42.7292 357.99 58.1435H324.292C324.378 68.5401 329.49 73.7385 337.291 73.7385C343.473 73.7385 347.42 70.7814 348.765 66.2121H357.549C356.118 75.358 347.962 80.8238 337.291 80.8238C323.308 80.8238 315.24 71.2297 315.24 56.5312H315.232ZM324.371 51.8751H348.931C348.664 42.91 343.82 38.9697 337.009 38.9697C329.75 38.9697 325.087 43.4522 324.371 51.8751Z", fill: "#3F3F47" }), jsxRuntime.jsx("path", { d: "M366.363 32.5993H374.612L375.06 41.0222H375.508C377.569 34.9273 382.948 31.9703 389.224 31.9703C390.301 31.9703 391.197 32.057 392 32.151V40.8486C391.284 40.7619 390.207 40.7619 389.13 40.7619C380.707 40.7619 375.957 45.1505 375.508 52.9516V80.0205H366.37V32.5993H366.363Z", fill: "#3F3F47" }));
|
|
16748
|
+
};
|
|
16749
|
+
|
|
16694
16750
|
exports.AccidentCarIcon = AccidentCar;
|
|
16695
16751
|
exports.Accordion = Accordion;
|
|
16696
16752
|
exports.ActivityIcon = Activity;
|
|
@@ -16914,6 +16970,14 @@ exports.LoaderIcon = Loader;
|
|
|
16914
16970
|
exports.LockIcon = Lock;
|
|
16915
16971
|
exports.LogInIcon = LogIn;
|
|
16916
16972
|
exports.LogOutIcon = LogOut;
|
|
16973
|
+
exports.LogoBlack = LogoBlack;
|
|
16974
|
+
exports.LogoColor = LogoColor;
|
|
16975
|
+
exports.LogoInverted = LogoInverted;
|
|
16976
|
+
exports.LogoInvertedColor = LogoInvertedColor;
|
|
16977
|
+
exports.LogoOrangeBox = LogoOrangeBox;
|
|
16978
|
+
exports.LogoPositiveBlack = LogoPositiveBlack;
|
|
16979
|
+
exports.LogoPositiveColor = LogoPositiveColor;
|
|
16980
|
+
exports.LogoWhite = LogoWhite;
|
|
16917
16981
|
exports.MailIcon = Mail;
|
|
16918
16982
|
exports.MaleIcon = Male;
|
|
16919
16983
|
exports.MapIcon = _Map;
|