@popsure/dirty-swan 0.27.30 → 0.27.31

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.
Files changed (43) hide show
  1. package/dist/App.d.ts +0 -1
  2. package/dist/index.js +71 -74
  3. package/dist/index.js.map +1 -1
  4. package/dist/lib/components/autocompleteAddress/demo.d.ts +0 -1
  5. package/dist/lib/components/autocompleteAddress/index.d.ts +0 -1
  6. package/dist/lib/components/button/index.d.ts +1 -1
  7. package/dist/lib/components/chip/index.d.ts +0 -1
  8. package/dist/lib/components/comparisonTable/components/AccordionItem/AccordionItem.d.ts +0 -1
  9. package/dist/lib/components/comparisonTable/components/Chevron.d.ts +0 -1
  10. package/dist/lib/components/comparisonTable/components/Row/index.d.ts +0 -1
  11. package/dist/lib/components/comparisonTable/components/TableArrows/Arrow.d.ts +0 -1
  12. package/dist/lib/components/comparisonTable/components/TableArrows/index.d.ts +0 -1
  13. package/dist/lib/components/comparisonTable/components/TableInfoButton/index.d.ts +0 -1
  14. package/dist/lib/components/comparisonTable/components/TableRating/StarIcon.d.ts +0 -1
  15. package/dist/lib/components/comparisonTable/components/TableRating/ZapIcon.d.ts +0 -1
  16. package/dist/lib/components/comparisonTable/components/TableRating/index.d.ts +0 -1
  17. package/dist/lib/components/comparisonTable/components/TableRowHeader/index.d.ts +0 -1
  18. package/dist/lib/components/comparisonTable/components/TableTrueFalse.d.ts +0 -1
  19. package/dist/lib/components/dateSelector/index.d.ts +0 -1
  20. package/dist/lib/components/input/autoSuggestInput/index.d.ts +0 -1
  21. package/dist/lib/components/input/autoSuggestMultiSelect/index.d.ts +0 -1
  22. package/dist/lib/components/input/currency/index.d.ts +0 -1
  23. package/dist/lib/components/input/iban/index.d.ts +0 -1
  24. package/dist/lib/components/input/index.d.ts +1 -1
  25. package/dist/lib/components/modal/bottomModal/index.d.ts +0 -1
  26. package/dist/lib/components/modal/bottomOrRegularModal/index.d.ts +0 -1
  27. package/dist/lib/components/modal/regularModal/index.d.ts +0 -1
  28. package/dist/lib/components/multiDropzone/index.d.ts +0 -1
  29. package/dist/lib/components/segmentedControl/index.d.ts +0 -1
  30. package/dist/lib/scss/private/base/demo.d.ts +0 -1
  31. package/dist/lib/scss/public/demo.d.ts +0 -1
  32. package/dist/lib/util/testUtils/customRender.d.ts +7 -0
  33. package/dist/lib/util/testUtils/index.d.ts +2 -0
  34. package/package.json +5 -3
  35. package/src/lib/components/autocompleteAddress/index.test.tsx +22 -21
  36. package/src/lib/components/input/currency/index.test.tsx +22 -22
  37. package/src/lib/components/input/index.tsx +3 -6
  38. package/src/lib/components/modal/regularModal/index.tsx +14 -12
  39. package/src/lib/components/modal/regularModal/style.module.scss +16 -15
  40. package/src/lib/components/multiDropzone/index.test.tsx +21 -26
  41. package/src/lib/components/segmentedControl/index.test.tsx +15 -21
  42. package/src/lib/util/testUtils/customRender.tsx +15 -0
  43. package/src/lib/util/testUtils/index.ts +5 -0
package/dist/App.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './lib/scss/index.scss';
3
2
  declare function App(): JSX.Element;
4
3
  export default App;
package/dist/index.js CHANGED
@@ -5153,20 +5153,82 @@ module.exports = isEqual;
5153
5153
 
5154
5154
  var isEqual = lodash_isequal.exports;
5155
5155
 
5156
+ const rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate
5157
+
5158
+ let poolPtr = rnds8Pool.length;
5159
+ function rng() {
5160
+ if (poolPtr > rnds8Pool.length - 16) {
5161
+ crypto__default['default'].randomFillSync(rnds8Pool);
5162
+ poolPtr = 0;
5163
+ }
5164
+
5165
+ return rnds8Pool.slice(poolPtr, poolPtr += 16);
5166
+ }
5167
+
5168
+ var REGEX = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;
5169
+
5170
+ function validate(uuid) {
5171
+ return typeof uuid === 'string' && REGEX.test(uuid);
5172
+ }
5173
+
5174
+ /**
5175
+ * Convert array of 16 byte values to UUID string format of the form:
5176
+ * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
5177
+ */
5178
+
5179
+ const byteToHex = [];
5180
+
5181
+ for (let i = 0; i < 256; ++i) {
5182
+ byteToHex.push((i + 0x100).toString(16).substr(1));
5183
+ }
5184
+
5185
+ function stringify$2(arr, offset = 0) {
5186
+ // Note: Be careful editing this code! It's been tuned for performance
5187
+ // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
5188
+ const uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one
5189
+ // of the following:
5190
+ // - One or more input array values don't map to a hex octet (leading to
5191
+ // "undefined" in the uuid)
5192
+ // - Invalid input values for the RFC `version` or `variant` fields
5193
+
5194
+ if (!validate(uuid)) {
5195
+ throw TypeError('Stringified UUID is invalid');
5196
+ }
5197
+
5198
+ return uuid;
5199
+ }
5200
+
5201
+ function v4(options, buf, offset) {
5202
+ options = options || {};
5203
+ const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
5204
+
5205
+ rnds[6] = rnds[6] & 0x0f | 0x40;
5206
+ rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided
5207
+
5208
+ if (buf) {
5209
+ offset = offset || 0;
5210
+
5211
+ for (let i = 0; i < 16; ++i) {
5212
+ buf[offset + i] = rnds[i];
5213
+ }
5214
+
5215
+ return buf;
5216
+ }
5217
+
5218
+ return stringify$2(rnds);
5219
+ }
5220
+
5156
5221
  var css_248z$p = ".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-grey-500);\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-grey-600);\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 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-primary-500);\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-primary-500);\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__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\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-grey-500);\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-grey-600);\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}";
5157
5222
  var styles$o = {"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","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"};
5158
5223
  styleInject(css_248z$p);
5159
5224
 
5160
- var generateUniqueId = function () {
5161
- return "input-id-" + Math.floor(Math.random() * 10000000);
5162
- };
5163
5225
  var Input = require$$0__default['default'].forwardRef(function (_a, ref) {
5164
5226
  var _b, _c, _d, _e, _f, _g;
5165
5227
  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, props = __rest$1(_a, ["className", "placeholder", "label", "id", "prefix", "error", "disabled", "hideLabel"]);
5166
- var uniqueId = require$$0.useState(id !== null && id !== void 0 ? id : generateUniqueId())[0];
5228
+ var uniqueId = require$$0.useState(id !== null && id !== void 0 ? id : v4())[0];
5167
5229
  return (jsxRuntime.jsxs("div", __assign({ className: styles$o.container + " " + (className !== null && className !== void 0 ? className : '') }, { children: [label && (jsxRuntime.jsx("label", __assign({ htmlFor: uniqueId, className: classNames('p-p', styles$o.label, (_b = {},
5168
5230
  _b[styles$o['label--with-error']] = error,
5169
- _b["sr-only"] = hideLabel,
5231
+ _b['sr-only'] = hideLabel,
5170
5232
  _b)) }, { children: label }), void 0)),
5171
5233
  jsxRuntime.jsxs("div", __assign({ style: { position: 'relative' } }, { children: [jsxRuntime.jsx("input", __assign({ id: uniqueId, "data-testid": "ds-input-input", type: "text", ref: ref, className: classNames(error ? 'p-input--error' : 'p-input', !label && placeholder && placeholder.length > 0
5172
5234
  ? styles$o.input
@@ -8410,71 +8472,6 @@ const AnimateHeight = (_a) => {
8410
8472
  require$$0__default['default'].createElement("div", { className: contentClassName, style: contentStyle, ref: contentElement }, children)));
8411
8473
  };
8412
8474
 
8413
- const rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate
8414
-
8415
- let poolPtr = rnds8Pool.length;
8416
- function rng() {
8417
- if (poolPtr > rnds8Pool.length - 16) {
8418
- crypto__default['default'].randomFillSync(rnds8Pool);
8419
- poolPtr = 0;
8420
- }
8421
-
8422
- return rnds8Pool.slice(poolPtr, poolPtr += 16);
8423
- }
8424
-
8425
- var REGEX = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;
8426
-
8427
- function validate(uuid) {
8428
- return typeof uuid === 'string' && REGEX.test(uuid);
8429
- }
8430
-
8431
- /**
8432
- * Convert array of 16 byte values to UUID string format of the form:
8433
- * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
8434
- */
8435
-
8436
- const byteToHex = [];
8437
-
8438
- for (let i = 0; i < 256; ++i) {
8439
- byteToHex.push((i + 0x100).toString(16).substr(1));
8440
- }
8441
-
8442
- function stringify$2(arr, offset = 0) {
8443
- // Note: Be careful editing this code! It's been tuned for performance
8444
- // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434
8445
- const uuid = (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase(); // Consistency check for valid UUID. If this throws, it's likely due to one
8446
- // of the following:
8447
- // - One or more input array values don't map to a hex octet (leading to
8448
- // "undefined" in the uuid)
8449
- // - Invalid input values for the RFC `version` or `variant` fields
8450
-
8451
- if (!validate(uuid)) {
8452
- throw TypeError('Stringified UUID is invalid');
8453
- }
8454
-
8455
- return uuid;
8456
- }
8457
-
8458
- function v4(options, buf, offset) {
8459
- options = options || {};
8460
- const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`
8461
-
8462
- rnds[6] = rnds[6] & 0x0f | 0x40;
8463
- rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided
8464
-
8465
- if (buf) {
8466
- offset = offset || 0;
8467
-
8468
- for (let i = 0; i < 16; ++i) {
8469
- buf[offset + i] = rnds[i];
8470
- }
8471
-
8472
- return buf;
8473
- }
8474
-
8475
- return stringify$2(rnds);
8476
- }
8477
-
8478
8475
  var css_248z$n = ".style-module_container__Uyltc {\n background-color: transparent;\n}\n\n.style-module_dropzoneContainer__yZoGP {\n border: 1px dashed var(--ds-primary-500);\n padding: 32px 0;\n background-color: white;\n transition: all 0.6s ease-in-out;\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_dropzoneContainer__yZoGP:focus {\n outline: none;\n}\n\n.style-module_dropzoneContainer__yZoGP:hover {\n background-color: var(--ds-primary-100);\n transition: 0.5s ease;\n}\n\n.style-module_dropzoneContainerDisabled__1X3gP {\n pointer-events: none;\n opacity: 0.4;\n}";
8479
8476
  var styles$m = {"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"};
8480
8477
  styleInject(css_248z$n);
@@ -8826,8 +8823,8 @@ var BottomModal = (function (_a) {
8826
8823
  jsxRuntime.jsx("div", __assign({ className: styles$i.content }, { children: children }), void 0)] }), void 0) }), void 0));
8827
8824
  });
8828
8825
 
8829
- var css_248z$i = "@keyframes style-module_fade-in__nLzzO {\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__IuSV7 {\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@keyframes style-module_appear-in__2ZMqz {\n 0% {\n transform: translateY(24px) translateX(-50%);\n opacity: 0;\n visibility: hidden;\n }\n 100% {\n transform: translateY(0) translateX(-50%);\n opacity: 1;\n visibility: visible;\n }\n}\n@keyframes style-module_disappear-out__38TSV {\n 0% {\n transform: translateY(0) translateX(-50%);\n opacity: 1;\n visibility: visible;\n }\n 100% {\n transform: translateY(24px) translateX(-50%);\n opacity: 0;\n visibility: hidden;\n }\n}\n.style-module_overlay__1Zbce, .style-module_overlay--close__2dytn {\n position: fixed;\n z-index: 100;\n overflow: auto;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n animation: style-module_fade-in__nLzzO 0.3s both;\n}\n.style-module_overlay--close__2dytn {\n animation-delay: 0.1s;\n animation: style-module_fade-out__IuSV7 0.3s both;\n}\n\n.style-module_container__1XZj_, .style-module_container--close__3UYsJ {\n position: relative;\n background-color: white;\n border-radius: 8px;\n max-width: 592px;\n width: fit-content;\n width: -moz-fit-content;\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 top: calc(100vh / 2 - 50% / 2);\n left: 50%;\n transform: translateX(-50%);\n margin-bottom: 80px;\n}\n.style-module_container--close__3UYsJ {\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_header__2oEKp {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 24px 24px 0 24px;\n}\n\n.style-module_close__p3Axi {\n border: none;\n background-color: transparent;\n cursor: pointer;\n}";
8830
- var styles$h = {"overlay":"style-module_overlay__1Zbce","overlay--close":"style-module_overlay--close__2dytn","fade-in":"style-module_fade-in__nLzzO","fade-out":"style-module_fade-out__IuSV7","container":"style-module_container__1XZj_","container--close":"style-module_container--close__3UYsJ","appear-in":"style-module_appear-in__2ZMqz","disappear-out":"style-module_disappear-out__38TSV","header":"style-module_header__2oEKp","close":"style-module_close__p3Axi"};
8826
+ var css_248z$i = "@keyframes style-module_fade-in__nLzzO {\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__IuSV7 {\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@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_overlay__1Zbce, .style-module_overlay--close__2dytn {\n position: fixed;\n z-index: 100;\n overflow: auto;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n animation: style-module_fade-in__nLzzO 0.3s both;\n}\n.style-module_overlay--close__2dytn {\n animation-delay: 0.1s;\n animation: style-module_fade-out__IuSV7 0.3s both;\n}\n\n.style-module_container__1XZj_, .style-module_container--close__3UYsJ {\n position: relative;\n display: flex;\n align-items: center;\n max-width: 592px;\n width: 100%;\n min-height: 100%;\n margin: 0 auto;\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_container--close__3UYsJ {\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_body__lbUih {\n background-color: white;\n border-radius: 8px;\n margin: 32px auto;\n}\n\n.style-module_header__2oEKp {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 24px 24px 0 24px;\n}\n\n.style-module_close__p3Axi {\n border: none;\n background-color: transparent;\n cursor: pointer;\n}";
8827
+ var styles$h = {"overlay":"style-module_overlay__1Zbce","overlay--close":"style-module_overlay--close__2dytn","fade-in":"style-module_fade-in__nLzzO","fade-out":"style-module_fade-out__IuSV7","container":"style-module_container__1XZj_","container--close":"style-module_container--close__3UYsJ","appear-in":"style-module_appear-in__2ZMqz","disappear-out":"style-module_disappear-out__38TSV","body":"style-module_body__lbUih","header":"style-module_header__2oEKp","close":"style-module_close__p3Axi"};
8831
8828
  styleInject(css_248z$i);
8832
8829
 
8833
8830
  var imageClose = "data:image/svg+xml,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M18%206L6%2018%22%20stroke%3D%22%2326262E%22%20strokeWidth%3D%222%22%20strokeLinecap%3D%22round%22%20strokeLinejoin%3D%22round%22%2F%3E%3Cpath%20d%3D%22M6%206L18%2018%22%20stroke%3D%22%2326262E%22%20strokeWidth%3D%222%22%20strokeLinecap%3D%22round%22%20strokeLinejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E";
@@ -8838,8 +8835,8 @@ var RegularModal = (function (_a) {
8838
8835
  if (!isOpen) {
8839
8836
  return jsxRuntime.jsx(jsxRuntime.Fragment, {}, void 0);
8840
8837
  }
8841
- return (jsxRuntime.jsx("div", __assign({ className: isClosing ? styles$h['overlay--close'] : styles$h.overlay, onClick: handleOnClose }, { children: jsxRuntime.jsxs("div", __assign({ className: (isClosing ? styles$h['container--close'] : styles$h.container) + " " + className, onClick: handleContainerClick }, { children: [jsxRuntime.jsxs("div", __assign({ className: styles$h.header }, { children: [jsxRuntime.jsx("div", __assign({ className: "p-h2 " + styles$h.title }, { children: title }), void 0),
8842
- dismissible && (jsxRuntime.jsx("button", __assign({ type: "button", className: styles$h.close, onClick: handleOnClose }, { children: jsxRuntime.jsx("img", { src: imageClose, alt: "Close" }, void 0) }), void 0))] }), void 0), children] }), void 0) }), void 0));
8838
+ return (jsxRuntime.jsx("div", __assign({ className: isClosing ? styles$h['overlay--close'] : styles$h.overlay, onClick: handleOnClose }, { children: jsxRuntime.jsx("div", __assign({ className: (isClosing ? styles$h['container--close'] : styles$h.container) + " " + className, onClick: handleContainerClick }, { children: jsxRuntime.jsxs("div", __assign({ className: styles$h.body }, { children: [jsxRuntime.jsxs("div", __assign({ className: styles$h.header }, { children: [jsxRuntime.jsx("div", __assign({ className: "p-h2 " + styles$h.title }, { children: title }), void 0),
8839
+ dismissible && (jsxRuntime.jsx("button", __assign({ type: "button", className: styles$h.close, onClick: handleOnClose }, { children: jsxRuntime.jsx("img", { src: imageClose, alt: "Close" }, void 0) }), void 0))] }), void 0), children] }), void 0) }), void 0) }), void 0));
8843
8840
  });
8844
8841
 
8845
8842
  var css_248z$h = "@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}";