@pismo/marola 0.0.1-alpha.4 → 0.0.1-alpha.6

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 (95) hide show
  1. package/README.md +17 -5
  2. package/dist/{Button-C3Qm852g.js → Button-W6tM-_IT.js} +6 -5
  3. package/dist/Dialog.module-CGVM5V_D.js +15 -0
  4. package/dist/{ListContext-D6-YwtZn.js → ListContext-Dj2Va7Iv.js} +2 -2
  5. package/dist/Portal-P3fPvS3-.js +19695 -0
  6. package/dist/{Tabs.module-_kSbSyth.js → Tabs.module-BA-PC7fA.js} +16 -16
  7. package/dist/_commonjsHelpers-CT_km90n.js +30 -0
  8. package/dist/assets/Advice.css +1 -0
  9. package/dist/assets/Button.css +1 -0
  10. package/dist/assets/Checkbox.css +1 -0
  11. package/dist/assets/Dialog.css +1 -1
  12. package/dist/assets/IconButton.css +1 -0
  13. package/dist/assets/LoadingSpinner.css +1 -1
  14. package/dist/assets/PageHeader.css +1 -0
  15. package/dist/assets/Pagination.css +1 -0
  16. package/dist/assets/Skeleton.css +1 -0
  17. package/dist/assets/SortTooltip.css +1 -0
  18. package/dist/assets/Stepper.css +1 -0
  19. package/dist/assets/Table.css +1 -0
  20. package/dist/assets/Tabs.css +1 -1
  21. package/dist/assets/Tooltip.css +1 -0
  22. package/dist/assets/Typography.css +1 -1
  23. package/dist/assets/global.css +1 -0
  24. package/dist/components/Advice/Advice.d.ts +13 -0
  25. package/dist/components/Advice/Advice.js +25 -0
  26. package/dist/components/Button/Button.d.ts +21 -0
  27. package/dist/components/Button/Button.js +70 -0
  28. package/dist/components/Checkbox/Checkbox.d.ts +17 -0
  29. package/dist/components/Checkbox/Checkbox.js +48 -0
  30. package/dist/components/Dialog/Actions.js +1 -1
  31. package/dist/components/Dialog/Backdrop.d.ts +1 -1
  32. package/dist/components/Dialog/Backdrop.js +2 -9
  33. package/dist/components/Dialog/CloseIconButton.js +12 -124
  34. package/dist/components/Dialog/Dialog.d.ts +2 -2
  35. package/dist/components/Dialog/Dialog.js +418 -20077
  36. package/dist/components/Dialog/Title.js +22 -7
  37. package/dist/components/Icon/Icon.d.ts +7 -0
  38. package/dist/components/Icon/Icon.js +9 -0
  39. package/dist/components/IconButton/IconButton.d.ts +22 -0
  40. package/dist/components/IconButton/IconButton.js +68 -0
  41. package/dist/components/LoadingSpinner/LoadingSpinner.js +12 -13
  42. package/dist/components/PageHeader/PageHeader.d.ts +36 -0
  43. package/dist/components/PageHeader/PageHeader.js +51 -0
  44. package/dist/components/PageHeader/PageHeader.stories.d.ts +43 -0
  45. package/dist/components/PageHeader/PageHeader.stories.js +49 -0
  46. package/dist/components/Pagination/Pagination.d.ts +36 -0
  47. package/dist/components/Pagination/Pagination.js +219 -0
  48. package/dist/components/Skeleton/Skeleton.d.ts +18 -0
  49. package/dist/components/Skeleton/Skeleton.js +26 -0
  50. package/dist/components/SortTooltip/SortTooltip.d.ts +26 -0
  51. package/dist/components/SortTooltip/SortTooltip.js +67 -0
  52. package/dist/components/Stepper/Stepper.d.ts +16 -0
  53. package/dist/components/Stepper/Stepper.js +33 -0
  54. package/dist/components/Table/Table.d.ts +39 -0
  55. package/dist/components/Table/Table.js +122 -0
  56. package/dist/components/Table/TableContext.d.ts +19 -0
  57. package/dist/components/Table/TableContext.js +21 -0
  58. package/dist/components/Tabs/Tab.d.ts +1 -1
  59. package/dist/components/Tabs/Tab.js +42 -37
  60. package/dist/components/Tabs/TabPanel.d.ts +1 -1
  61. package/dist/components/Tabs/TabPanel.js +20 -21
  62. package/dist/components/Tabs/Tabs.d.ts +1 -1
  63. package/dist/components/Tabs/Tabs.js +185 -214
  64. package/dist/components/Tooltip/Tooltip.d.ts +17 -0
  65. package/dist/components/Tooltip/Tooltip.js +1463 -0
  66. package/dist/components/Typography/Typography.d.ts +14 -5
  67. package/dist/components/Typography/Typography.js +76 -68
  68. package/dist/components/Typography/Typography.stories.d.ts +18 -0
  69. package/dist/components/Typography/Typography.stories.js +30 -0
  70. package/dist/components/Typography/typography.test.d.ts +1 -0
  71. package/dist/components/Typography/typography.test.js +11360 -0
  72. package/dist/{index-BZ1lkM_M.js → index-D2P7y2mE.js} +303 -327
  73. package/dist/magic-string.es-O_8lTkE3.js +738 -0
  74. package/dist/main.d.ts +5 -1
  75. package/dist/main.js +30 -21
  76. package/dist/objectWithoutPropertiesLoose-D7Cp0Pg_.js +26 -0
  77. package/dist/react-CGNQ6M5x.js +117 -0
  78. package/dist/test-utils/assertStyles.d.ts +1 -0
  79. package/dist/test-utils/assertStyles.js +11 -0
  80. package/dist/types/helpers.d.ts +14 -7
  81. package/dist/{useButton-CbmjmH5z.js → useButton-JpyBo5M4.js} +17 -16
  82. package/dist/{useCompoundItem-B7wfGDHQ.js → useCompoundItem-CTYi5M_E.js} +1 -1
  83. package/dist/useControlled-CCMYYdCM.js +31 -0
  84. package/dist/utils/styleStrings.d.ts +6 -0
  85. package/dist/utils/styleStrings.js +10 -0
  86. package/dist/utils/styleStrings.test.d.ts +1 -0
  87. package/dist/utils/styleStrings.test.js +41 -0
  88. package/dist/vi.Y_w82WR8-Df0JUamG.js +9860 -0
  89. package/package.json +47 -7
  90. package/dist/Dialog.module-BO0mdB7d.js +0 -15
  91. package/dist/assets/CallToActionButton.css +0 -1
  92. package/dist/assets/main.css +0 -1
  93. package/dist/components/CallToActionButton/CallToActionButton.d.ts +0 -21
  94. package/dist/components/CallToActionButton/CallToActionButton.js +0 -57
  95. package/src/playground/Playground.tsx +0 -20
@@ -1,8 +1,8 @@
1
1
  import './assets/Tabs.css';
2
2
  import * as n from "react";
3
- const f = /* @__PURE__ */ n.createContext(null);
4
- process.env.NODE_ENV !== "production" && (f.displayName = "CompoundComponentContext");
5
- function p(e) {
3
+ const p = /* @__PURE__ */ n.createContext(null);
4
+ process.env.NODE_ENV !== "production" && (p.displayName = "CompoundComponentContext");
5
+ function C(e) {
6
6
  const c = Array.from(e.keys()).map((t) => {
7
7
  const a = e.get(t);
8
8
  return {
@@ -15,7 +15,7 @@ function p(e) {
15
15
  return u === null || r === null || u === r ? 0 : u.compareDocumentPosition(r) & Node.DOCUMENT_POSITION_PRECEDING ? 1 : -1;
16
16
  }), new Map(c.map((t) => [t.key, t.subitem]));
17
17
  }
18
- function I() {
18
+ function N() {
19
19
  const [e, c] = n.useState(/* @__PURE__ */ new Map()), t = n.useRef(/* @__PURE__ */ new Set()), a = n.useCallback(function(o) {
20
20
  t.current.delete(o), c((b) => {
21
21
  const s = new Map(b);
@@ -24,13 +24,13 @@ function I() {
24
24
  }, []), u = n.useCallback(function(o, b) {
25
25
  let s;
26
26
  return typeof o == "function" ? s = o(t.current) : s = o, t.current.add(s), c((d) => {
27
- const m = new Map(d);
28
- return m.set(s, b), m;
27
+ const _ = new Map(d);
28
+ return _.set(s, b), _;
29
29
  }), {
30
30
  id: s,
31
31
  deregister: () => a(s)
32
32
  };
33
- }, [a]), r = n.useMemo(() => p(e), [e]), i = n.useCallback(function(o) {
33
+ }, [a]), r = n.useMemo(() => C(e), [e]), i = n.useCallback(function(o) {
34
34
  return Array.from(r.keys()).indexOf(o);
35
35
  }, [r]);
36
36
  return {
@@ -44,23 +44,23 @@ function I() {
44
44
  }
45
45
  const l = /* @__PURE__ */ n.createContext(null);
46
46
  process.env.NODE_ENV !== "production" && (l.displayName = "TabsContext");
47
- function k() {
47
+ function I() {
48
48
  const e = n.useContext(l);
49
49
  if (e == null)
50
50
  throw new Error("No TabsContext provided");
51
51
  return e;
52
52
  }
53
- const C = "_tabs_5kfuv_1", x = "_tabs__tab_5kfuv_5", y = {
54
- tabs: C,
53
+ const f = "_tabs_18ymz_1", x = "_tabs__tab_18ymz_5", w = {
54
+ tabs: f,
55
55
  tabs__tab: x,
56
- "tabs__tab--disabled": "_tabs__tab--disabled_5kfuv_22",
57
- "tabs__tab--selected": "_tabs__tab--selected_5kfuv_31",
58
- "tabs__tab-panel": "_tabs__tab-panel_5kfuv_35"
56
+ "tabs__tab--disabled": "_tabs__tab--disabled_18ymz_22",
57
+ "tabs__tab--selected": "_tabs__tab--selected_18ymz_31",
58
+ "tabs__tab-panel": "_tabs__tab-panel_18ymz_35"
59
59
  };
60
60
  export {
61
- f as C,
61
+ p as C,
62
62
  l as T,
63
- k as a,
64
- y as s,
63
+ N as a,
64
+ w as s,
65
65
  I as u
66
66
  };
@@ -0,0 +1,30 @@
1
+ var u = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2
+ function f(e) {
3
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4
+ }
5
+ function l(e) {
6
+ if (e.__esModule)
7
+ return e;
8
+ var r = e.default;
9
+ if (typeof r == "function") {
10
+ var t = function o() {
11
+ return this instanceof o ? Reflect.construct(r, arguments, this.constructor) : r.apply(this, arguments);
12
+ };
13
+ t.prototype = r.prototype;
14
+ } else
15
+ t = {};
16
+ return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(e).forEach(function(o) {
17
+ var n = Object.getOwnPropertyDescriptor(e, o);
18
+ Object.defineProperty(t, o, n.get ? n : {
19
+ enumerable: !0,
20
+ get: function() {
21
+ return e[o];
22
+ }
23
+ });
24
+ }), t;
25
+ }
26
+ export {
27
+ l as a,
28
+ u as c,
29
+ f as g
30
+ };
@@ -0,0 +1 @@
1
+ ._advice_1yug7_1{display:flex;flex-direction:column;align-items:center;padding:2rem}._advice_1yug7_1 ._content_1yug7_7,._advice_1yug7_1 p{margin:0;font-size:1.5rem;font-weight:700;color:var(--gray-75)}
@@ -0,0 +1 @@
1
+ ._h1_2qr61_1{font-size:var(--heading-font-size-xl);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-xl);margin:0}._h1--bold_2qr61_7{font-weight:var(--typography-heading-bold)}._h2_2qr61_11{font-size:var(--heading-font-size-l);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-l);margin:0}._h2--bold_2qr61_17{font-weight:var(--typography-heading-bold)}._h3_2qr61_21{font-size:var(--heading-font-size);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height);margin:0}._h3--bold_2qr61_27{font-weight:var(--typography-heading-bold)}._h4_2qr61_31{font-size:var(--heading-font-size-s);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-s);margin:0}._h4--bold_2qr61_37{font-weight:var(--typography-heading-bold)}._body_2qr61_41{font-size:var(--body-font-size);font-weight:var(--body-weight);line-height:var(--body-line-height)}._body--large_2qr61_46{font-size:var(--body-font-size-large);line-height:var(--body-line-height-large)}._body--medium_2qr61_50{font-size:var(--body-font-size-medium);line-height:var(--body-line-height-medium)}._body--small_2qr61_54{font-size:var(--body-font-size-small);line-height:var(--body-line-height-small)}._body--tiny_2qr61_58{font-size:var(--body-font-size-tiny);line-height:var(--body-line-height-tiny)}._body--bold_2qr61_62{font-weight:var(--body-bold)}._body--strikethrough_2qr61_65{text-decoration:line-through}._body--underlined_2qr61_68{text-decoration:underline}._body--strikethrough-underlined_2qr61_71{text-decoration:underline line-through}._quote_2qr61_75{font-size:var(--quote-font-size);font-weight:var(--quote-font-weight);line-height:var(--quote-line-height)}._quote--large_2qr61_80{font-size:var(--quote-font-size-large);font-weight:var(--quote-font-weight-large);line-height:var(--quote-line-height-large)}._quote--bold_2qr61_85{font-weight:var(--body-bold)}._quote--strikethrough_2qr61_88{text-decoration:line-through}._quote--underlined_2qr61_91{text-decoration:underline}._quote--strikethrough-underlined_2qr61_94{text-decoration:underline line-through}._form__input_2qr61_98{font-size:var(--form-input-font-size);font-weight:var(--form-input-font-weight);line-height:var(--form-input-line-height)}._form__hint_2qr61_103{font-size:var(--form-hint-font-size);font-weight:var(--form-hint-font-weight);line-height:var(--form-hint-line-height)}._form__label_2qr61_108{font-size:var(--form-label-font-size);font-weight:var(--form-label-font-weight);line-height:var(--form-label-line-height)}._form__dropdown_2qr61_113{font-size:var(--form-dropdown-font-size);font-weight:var(--form-dropdown-font-weight);line-height:var(--form-dropdown-line-height)}._form--bold_2qr61_118{font-weight:var(--body-bold)}._form--strikethrough_2qr61_121{text-decoration:line-through}._form--underlined_2qr61_124{text-decoration:underline}._form--strikethrough-underlined_2qr61_127{text-decoration:underline line-through}._table__header_2qr61_131{font-size:var(--table-font-size);line-height:var(--table-line-height);font-weight:var(--table-header-font-weight)}._table__body_2qr61_136{font-size:var(--table-font-size);line-height:var(--table-line-height);font-weight:var(--table-body-font-weight)}._table__body--secondary_2qr61_141{font-size:var(--table-font-size);line-height:var(--table-line-height);line-height:var(--table-body-secondary-line-height)}._table--bold_2qr61_146{font-weight:var(--body-bold)}._table--strikethrough_2qr61_149{text-decoration:line-through}._table--underlined_2qr61_152{text-decoration:underline}._table--strikethrough-underlined_2qr61_155{text-decoration:underline line-through}._button_2qr61_159{font-size:var(--button-font-size);font-weight:var(--button-font-weight);line-height:var(--button-line-height);font-family:Lato,Inter,system-ui,Avenir,Helvetica,Arial,sans-serif}._button--bold_2qr61_165{font-weight:var(--body-bold)}._button--strikethrough_2qr61_168{text-decoration:line-through}._button--underlined_2qr61_171{text-decoration:underline}._button--strikethrough-underlined_2qr61_174{text-decoration:underline line-through}._button_2qr61_159{font-size:var(--button-font-size);font-weight:var(--button-font-weight);line-height:var(--button-line-height);padding:10px 35px;cursor:pointer;border:none;border-radius:100px}._button_2qr61_159:focus-visible{outline:none}._button--primary_2qr61_190{color:var(--white-100);background-color:var(--accent)}._button--primary_2qr61_190:hover{background-color:var(--accent-dark)}._button--primary_2qr61_190:focus{color:var(--black-100);background-color:var(--accent-lighter)}._button--primary_2qr61_190:active{background-color:var(--accent-light)}._button--primary_2qr61_190:disabled{color:var(--gray-50);cursor:default;background-color:var(--black-10)}._button--secondary_2qr61_209{color:var(--accent);background-color:var(--white-100)}._button--secondary_2qr61_209:hover{background-color:var(--gray-5)}._button--secondary_2qr61_209:focus{color:var(--black-100)}._button--secondary_2qr61_209:active{color:var(--accent-light)}._button--secondary_2qr61_209:disabled{color:var(--gray-50);cursor:default}._button--quick_2qr61_226{padding:8px 16px;color:var(--accent);background-color:rgb(var(--accent-rgb) .05);border-radius:6px}._button--quick_2qr61_226:hover{color:var(--accent-dark);background-color:rgb(var(--accent-rgb) .1)}._button--quick_2qr61_226:active{color:var(--accent-light)}._button--quick_2qr61_226:focus{color:var(--black-100);background-color:initial;outline:2px solid var(--black-100)}._button--quick_2qr61_226:disabled{color:var(--gray-50);cursor:default;background-color:var(--black-10)}._button__loading-container_2qr61_249{display:flex;gap:8px;align-items:center}
@@ -0,0 +1 @@
1
+ ._checkbox-wrapper_14khe_1{display:flex;gap:var(--spacing);align-items:center;cursor:pointer}._checkbox-wrapper_14khe_1 input[type=checkbox]{display:none}._checkbox-wrapper_14khe_1 ._checkmark_14khe_10{display:flex;align-items:center;justify-content:center;border:1px solid var(--gray-50);border-radius:var(--border-radius-soft);--small: 1;--normal: 1.5}._checkbox-wrapper_14khe_1 ._checkmark_14khe_10:not(--checked){transition:var(--transition-soft)}._checkbox-wrapper_14khe_1 ._checkmark--checked_14khe_22{transition:var(--transition-soft)}._checkbox-wrapper_14khe_1 ._checkmark--checked_14khe_22._checkmark--light-theme_14khe_25{border:1px solid var(--accent-light)}._checkbox-wrapper_14khe_1 ._checkmark--checked_14khe_22._checkmark--light-theme_14khe_25 svg path,._checkbox-wrapper_14khe_1 ._checkmark--checked_14khe_22._checkmark--light-theme_14khe_25 svg rect{fill:var(--accent)}._checkbox-wrapper_14khe_1 ._checkmark--checked_14khe_22._checkmark--accent-theme_14khe_32{background:var(--accent);border:1px solid var(--accent)}._checkbox-wrapper_14khe_1 ._checkmark--checked_14khe_22._checkmark--accent-theme_14khe_32 svg rect{fill:var(--white-100)}._checkbox-wrapper_14khe_1 ._checkmark--small-size_14khe_39{width:calc(var(--small) * 1rem);height:calc(var(--small) * 1rem)}._checkbox-wrapper_14khe_1 ._checkmark--small-size_14khe_39 svg{transform:scale(calc(var(--small) / var(--normal)))}._checkbox-wrapper_14khe_1 ._checkmark--normal-size_14khe_46{width:calc(var(--normal) * 1rem);height:calc(var(--normal) * 1rem)}
@@ -1 +1 @@
1
- ._dialog_cknma_1{position:fixed;z-index:1300;top:0;right:0;bottom:0;left:0;display:flex;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center}._dialog__backdrop_cknma_11{z-index:-1;position:fixed;background-color:rgba(var(--black-100-rgb),.05);width:100%;height:100%;-webkit-tap-highlight-color:transparent}._dialog__panel_cknma_19{font-weight:500;text-align:start;position:relative;display:flex;flex-direction:column;gap:8px;overflow:hidden;background-color:var(--white-100);border-radius:8px;border:1px solid rgb(218,226,237);box-shadow:0 10px 20px rgba(var(--black-100-rgb),.2);padding:24px;width:680px;color:var(--gray-75)}._dialog__title_cknma_35{padding-bottom:var(--spacing);padding-top:var(--spacing)}._dialog__title--small_cknma_39{font-size:var(--small-font)}._dialog__subtitle_cknma_42{font-family:Lato,sans-serif;font-size:20px;font-weight:700;line-height:26px;letter-spacing:0;text-align:left;color:var(--secondary-orange-dark)}._dialog__divider_cknma_51{width:100%;border-top:1px solid var(--gray-10)}._dialog__close-icon_cknma_55{padding:0;margin:0;border:none;background:none;position:absolute;right:calc(var(--spacing) * 2);top:calc(var(--spacing) * 3.375)}._dialog__actions_cknma_64{justify-content:center;margin-bottom:calc(var(--spacing) * 2);gap:var(--spacing);display:flex}
1
+ ._dialog_1o2te_1{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1300;display:flex;align-items:center;justify-content:center;-webkit-box-align:center;-webkit-box-pack:center}._dialog__backdrop_1o2te_11{position:fixed;z-index:-1;width:100%;height:100%;background-color:rgb(var(--black-100-rgb) .05);-webkit-tap-highlight-color:transparent}._dialog__panel_1o2te_19{position:relative;display:flex;flex-direction:column;gap:8px;width:680px;padding:24px;overflow:hidden;font-weight:500;color:var(--gray-75);text-align:start;background-color:var(--white-100);border:1px solid rgb(218,226,237);border-radius:8px;box-shadow:0 10px 20px rgb(var(--black-100-rgb) .2)}._dialog__title_1o2te_35{padding-top:8px;padding-bottom:8px}._dialog__title--small_1o2te_39{font-size:var(--small-font)}._dialog__subtitle_1o2te_42{font-family:Lato,sans-serif;font-size:20px;font-weight:700;line-height:26px;color:var(--secondary-orange-dark);text-align:left;letter-spacing:0}._dialog__divider_1o2te_51{width:100%;border-top:1px solid var(--gray-10)}._dialog__close-icon_1o2te_55{position:absolute;top:27px;right:16px;padding:0;margin:0;background:none;border:none}._dialog__actions_1o2te_64{display:flex;gap:8px;justify-content:center;margin-bottom:16px}
@@ -0,0 +1 @@
1
+ ._h1_8qiyf_1{font-size:var(--heading-font-size-xl);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-xl);margin:0}._h1--bold_8qiyf_7{font-weight:var(--typography-heading-bold)}._h2_8qiyf_11{font-size:var(--heading-font-size-l);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-l);margin:0}._h2--bold_8qiyf_17{font-weight:var(--typography-heading-bold)}._h3_8qiyf_21{font-size:var(--heading-font-size);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height);margin:0}._h3--bold_8qiyf_27{font-weight:var(--typography-heading-bold)}._h4_8qiyf_31{font-size:var(--heading-font-size-s);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-s);margin:0}._h4--bold_8qiyf_37{font-weight:var(--typography-heading-bold)}._body_8qiyf_41{font-size:var(--body-font-size);font-weight:var(--body-weight);line-height:var(--body-line-height)}._body--large_8qiyf_46{font-size:var(--body-font-size-large);line-height:var(--body-line-height-large)}._body--medium_8qiyf_50{font-size:var(--body-font-size-medium);line-height:var(--body-line-height-medium)}._body--small_8qiyf_54{font-size:var(--body-font-size-small);line-height:var(--body-line-height-small)}._body--tiny_8qiyf_58{font-size:var(--body-font-size-tiny);line-height:var(--body-line-height-tiny)}._body--bold_8qiyf_62{font-weight:var(--body-bold)}._body--strikethrough_8qiyf_65{text-decoration:line-through}._body--underlined_8qiyf_68{text-decoration:underline}._body--strikethrough-underlined_8qiyf_71{text-decoration:underline line-through}._quote_8qiyf_75{font-size:var(--quote-font-size);font-weight:var(--quote-font-weight);line-height:var(--quote-line-height)}._quote--large_8qiyf_80{font-size:var(--quote-font-size-large);font-weight:var(--quote-font-weight-large);line-height:var(--quote-line-height-large)}._quote--bold_8qiyf_85{font-weight:var(--body-bold)}._quote--strikethrough_8qiyf_88{text-decoration:line-through}._quote--underlined_8qiyf_91{text-decoration:underline}._quote--strikethrough-underlined_8qiyf_94{text-decoration:underline line-through}._form__input_8qiyf_98{font-size:var(--form-input-font-size);font-weight:var(--form-input-font-weight);line-height:var(--form-input-line-height)}._form__hint_8qiyf_103{font-size:var(--form-hint-font-size);font-weight:var(--form-hint-font-weight);line-height:var(--form-hint-line-height)}._form__label_8qiyf_108{font-size:var(--form-label-font-size);font-weight:var(--form-label-font-weight);line-height:var(--form-label-line-height)}._form__dropdown_8qiyf_113{font-size:var(--form-dropdown-font-size);font-weight:var(--form-dropdown-font-weight);line-height:var(--form-dropdown-line-height)}._form--bold_8qiyf_118{font-weight:var(--body-bold)}._form--strikethrough_8qiyf_121{text-decoration:line-through}._form--underlined_8qiyf_124{text-decoration:underline}._form--strikethrough-underlined_8qiyf_127{text-decoration:underline line-through}._table__header_8qiyf_131{font-size:var(--table-font-size);line-height:var(--table-line-height);font-weight:var(--table-header-font-weight)}._table__body_8qiyf_136{font-size:var(--table-font-size);line-height:var(--table-line-height);font-weight:var(--table-body-font-weight)}._table__body--secondary_8qiyf_141{font-size:var(--table-font-size);line-height:var(--table-line-height);line-height:var(--table-body-secondary-line-height)}._table--bold_8qiyf_146{font-weight:var(--body-bold)}._table--strikethrough_8qiyf_149{text-decoration:line-through}._table--underlined_8qiyf_152{text-decoration:underline}._table--strikethrough-underlined_8qiyf_155{text-decoration:underline line-through}._button_8qiyf_159{font-size:var(--button-font-size);font-weight:var(--button-font-weight);line-height:var(--button-line-height);font-family:Lato,Inter,system-ui,Avenir,Helvetica,Arial,sans-serif}._button--bold_8qiyf_165{font-weight:var(--body-bold)}._button--strikethrough_8qiyf_168{text-decoration:line-through}._button--underlined_8qiyf_171{text-decoration:underline}._button--strikethrough-underlined_8qiyf_174{text-decoration:underline line-through}._icon-button_8qiyf_178{font-size:var(--button-font-size);font-weight:var(--button-font-weight);line-height:var(--button-line-height);padding:10px;cursor:pointer;background-color:transparent;border:none}._icon-button_8qiyf_178:focus-visible{outline:none}._icon-button--primary_8qiyf_190{color:var(--accent);fill:var(--accent)}._icon-button--primary_8qiyf_190:hover{color:var(--accent-dark);fill:var(--accent-dark)}._icon-button--primary_8qiyf_190:active{color:var(--accent-light);fill:var(--accent-light)}._icon-button--primary_8qiyf_190:focus{color:var(--black-100);outline:2px solid var(--black-100);fill:var(--black-100)}._icon-button--primary_8qiyf_190:disabled{color:var(--gray-50);cursor:default;fill:var(--gray-50)}._icon-button--square_8qiyf_212{color:var(--accent);border:1px solid var(--gray-10);border-radius:6px;fill:var(--accent)}._icon-button--square_8qiyf_212:focus{color:var(--black-100);outline:2px solid var(--black-100);fill:var(--black-100)}._icon-button--square_8qiyf_212:disabled{color:var(--gray-50);cursor:default;fill:var(--gray-50)}._icon-button__container_8qiyf_228{display:flex;gap:8px;align-items:center;text-wrap:nowrap}
@@ -1 +1 @@
1
- ._ls-ring_19dsy_1{display:inline-block;position:relative;width:18px;height:18px}._ls-ring_19dsy_1>div{box-sizing:border-box;display:block;position:absolute;width:14px;height:14px;margin:auto;border:2px solid var(--white-100);border-radius:50%;animation:_ls-ring_19dsy_1 1.2s cubic-bezier(.5,0,.5,1) infinite;border-color:var(--white-100) transparent transparent transparent;top:0;right:0;bottom:0;left:0}._ls-ring_19dsy_1 div:nth-child(1){animation:none;opacity:40%;border-color:var(--white-100)}._ls-ring_19dsy_1 div:nth-child(2){animation-delay:-.45s}._ls-ring_19dsy_1 div:nth-child(3){animation-delay:-.3s}._ls-ring_19dsy_1 div:nth-child(4){animation-delay:-.15s}._ls-ring--invert_19dsy_34>div{border:2px solid var(--accent);border-color:var(--accent) transparent transparent transparent}._ls-ring--invert_19dsy_34 div:nth-child(1){animation:none;opacity:40%;border-color:var(--accent)}@keyframes _ls-ring_19dsy_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
1
+ ._ls-ring_elvjz_1{position:relative;display:inline-block;width:18px;height:18px}._ls-ring_elvjz_1>div{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box;display:block;width:14px;height:14px;margin:auto;border:2px solid var(--white-100);border-color:var(--white-100) transparent transparent transparent;border-radius:50%;animation:_ls-ring_elvjz_1 1.2s cubic-bezier(.5,0,.5,1) infinite}._ls-ring_elvjz_1 div:nth-child(1){border-color:var(--white-100);opacity:.4;animation:none}._ls-ring_elvjz_1 div:nth-child(2){animation-delay:-.45s}._ls-ring_elvjz_1 div:nth-child(3){animation-delay:-.3s}._ls-ring_elvjz_1 div:nth-child(4){animation-delay:-.15s}._ls-ring--invert_elvjz_34>div{border:2px solid var(--accent);border-color:var(--accent) transparent transparent transparent}._ls-ring--invert_elvjz_34 div:nth-child(1){border-color:var(--accent);opacity:.4;animation:none}@keyframes _ls-ring_elvjz_1{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
@@ -0,0 +1 @@
1
+ ._page-header_cz9x0_1{box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;min-height:7.375rem;background:var(--cream);-webkit-font-smoothing:antialiased!important}._page-header_cz9x0_1:has(._page-header__top-content_cz9x0_10){justify-content:flex-start}._page-header__top-content_cz9x0_10,._page-header__main-content_cz9x0_13,._page-header__bottom-content_cz9x0_13{width:63.875rem;margin:0 auto}._page-header__top-content_cz9x0_10{padding:1rem 0 .5rem}._page-header__top-content_cz9x0_10 button{all:unset;display:inline-flex;gap:.5rem;align-items:center;width:fit-content;height:1.125rem;font-size:.875rem;font-weight:400;line-height:1.125rem;color:var(--accent);cursor:pointer;transition:all .3s}._page-header__top-content_cz9x0_10 button:hover{color:var(--accent-dark)}._page-header__main-content_cz9x0_13{display:flex}._page-header__main-left-content_cz9x0_40{display:flex;flex:1;flex-direction:column;justify-content:center}._page-header__main-left-content_cz9x0_40 ._title_cz9x0_46,._page-header__main-left-content_cz9x0_40 ._subtitle_cz9x0_47{display:block;width:100%;padding:0;margin:0;color:var(--gray-90)}._page-header__main-left-content_cz9x0_40 ._title_cz9x0_46{font-size:1.5rem;font-weight:700;line-height:2rem}._page-header__main-left-content_cz9x0_40 ._subtitle_cz9x0_47{font-size:.875rem;font-weight:400;line-height:1.125rem}._page-header__main-right-content_cz9x0_64{display:flex;align-items:center;margin-bottom:1.125rem}._page-header__bottom-content_cz9x0_13{margin-top:.8125rem}
@@ -0,0 +1 @@
1
+ ._pagination_9gf1w_1{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:24px 0}._pagination_9gf1w_1 ._per-page-container_9gf1w_8{font-size:var(--body-font-size-small);font-weight:var(--body-weight);line-height:var(--body-line-height-small);color:var(--gray-90)}._pagination_9gf1w_1 ._per-page-container_9gf1w_8 select{padding:4px 8px;margin:0 8px;border:1px solid var(--gray-10);border-radius:var(--border-radius)}._pagination_9gf1w_1 ._pages-navigator-container_9gf1w_20{display:flex;gap:8px;align-items:center}._pagination_9gf1w_1 ._pages-navigator-container_9gf1w_20 li{display:flex;padding:0;margin:0;list-style:none}._pagination_9gf1w_1 ._pages-navigator-container_9gf1w_20 ._pages-navigator-container__label_9gf1w_31,._pagination_9gf1w_1 ._pages-navigator-container_9gf1w_20 ._page-number__btn_9gf1w_31{font-size:var(--body-font-size-small);font-weight:var(--body-bold);line-height:var(--body-line-height-small);color:var(--gray-90);cursor:default}._pagination_9gf1w_1 ._pages-navigator-container_9gf1w_20 button{cursor:pointer;background-color:transparent;border:none;outline:none}._pagination_9gf1w_1 ._pages-navigator-container_9gf1w_20 ._pages-navigator-container__previous-next-btn_9gf1w_44{font-size:var(--body-font-size-tiny);font-weight:var(--body-bold);line-height:var(--body-line-height-tiny);color:var(--accent);transition:all .3s}._pagination_9gf1w_1 ._pages-navigator-container_9gf1w_20 ._pages-navigator-container__previous-next-btn_9gf1w_44:hover{font-weight:var(--heading-font-weight);color:var(--accent-dark)}._pagination_9gf1w_1 ._pages-navigator-container_9gf1w_20 ._pages-navigator-container__previous-next-btn_9gf1w_44:disabled{font-weight:var(--heading-font-weight);color:var(--gray-50);cursor:default}._pagination_9gf1w_1 ._pages-navigator-container_9gf1w_20 ._page-number__btn_9gf1w_31{width:2rem;height:2rem;cursor:pointer;transition:all .3s}._pagination_9gf1w_1 ._pages-navigator-container_9gf1w_20 ._page-number__btn_9gf1w_31:hover{color:var(--accent-dark)}._pagination_9gf1w_1 ._pages-navigator-container_9gf1w_20 ._page-number__btn--selected_9gf1w_69{color:var(--white-100);background-color:var(--accent);border-radius:var(--border-radius)}._pagination_9gf1w_1 ._pages-navigator-container_9gf1w_20 ._page-number__btn--selected_9gf1w_69:hover{background-color:var(--accent-light)}
@@ -0,0 +1 @@
1
+ ._skeleton_1lho5_1:not(._skeleton--table-type_1lho5_1){background-image:linear-gradient(.25turn,transparent,var(--gray-5),transparent),linear-gradient(var(--gray-10),var(--gray-10));background-repeat:no-repeat;background-position:200% 0,0 0;background-size:200% auto;border-radius:var(--border-radius);animation:_skeletonLoading_1lho5_1 1.5s infinite}._skeleton_1lho5_1:not(._skeleton--table-type_1lho5_1):not(thead){display:block;width:100%;height:1.25rem;content:" "}._skeleton_1lho5_1:not(._skeleton--table-type_1lho5_1)._skeleton--circle-type_1lho5_15{border-radius:50%}._skeleton_1lho5_1._skeleton--table-type_1lho5_1{display:table;width:100%;border-spacing:0}._skeleton_1lho5_1._skeleton--table-type_1lho5_1 thead tr{background-color:var(--gray-10)}._skeleton_1lho5_1._skeleton--table-type_1lho5_1 th ._skeleton_1lho5_1{height:.5rem;background:var(--white-100);animation:none}._skeleton_1lho5_1._skeleton--table-type_1lho5_1 td ._skeleton_1lho5_1{height:.804rem}._skeleton_1lho5_1._skeleton--table-type_1lho5_1 thead tr th:first-child{border-radius:var(--border-radius) 0 0 var(--border-radius)}._skeleton_1lho5_1._skeleton--table-type_1lho5_1 thead tr th:last-child{border-radius:0 var(--border-radius) var(--border-radius) 0}._skeleton_1lho5_1._skeleton--table-type_1lho5_1 thead,._skeleton_1lho5_1._skeleton--table-type_1lho5_1 tr,._skeleton_1lho5_1._skeleton--table-type_1lho5_1 td,._skeleton_1lho5_1._skeleton--table-type_1lho5_1 tbody{display:inherit;border:none}._skeleton_1lho5_1._skeleton--table-type_1lho5_1 thead{display:table-header-group}._skeleton_1lho5_1._skeleton--table-type_1lho5_1 tbody{display:table-row-group}._skeleton_1lho5_1._skeleton--table-type_1lho5_1 tr{display:table-row}._skeleton_1lho5_1._skeleton--table-type_1lho5_1 td,._skeleton_1lho5_1._skeleton--table-type_1lho5_1 th{display:table-cell;padding:1.6621rem 1rem;border:none}._skeleton_1lho5_1._skeleton--table-type_1lho5_1 tr:nth-child(2n){background:inherit}._skeleton_1lho5_1._skeleton--table-type_1lho5_1 tr+tr td{border-top:1px solid var(--gray-10)}@keyframes _skeletonLoading_1lho5_1{to{background-position:-100% 0,0 0}}
@@ -0,0 +1 @@
1
+ ._sort-tooltip_11a3z_1 ul{display:flex;flex-direction:column;gap:16px;padding:0;margin:0;list-style:none}._sort-tooltip_11a3z_1 ul li button{display:flex;gap:8px;font-size:var(--body-font-size-small);font-weight:var(--body-bold);line-height:var(--body-line-height-small);color:var(--gray-75);cursor:pointer;background-color:unset;border:none;outline:none}._sort-tooltip_11a3z_1 ul li button._button--selected_11a3z_21{color:var(--accent)}
@@ -0,0 +1 @@
1
+ ._stepper_1q540_1{display:flex;justify-content:space-between;margin:2.5rem auto}._stepper_1q540_1 ._item_1q540_6{position:relative;display:flex;flex:1;flex-direction:column;align-items:center}._stepper_1q540_1 ._item_1q540_6:before{position:absolute;top:20px;left:-50%;z-index:2;width:100%;content:"";border-bottom:2px solid var(--gray-50);transition:all var(--transition-long)}._stepper_1q540_1 ._item_1q540_6:after{position:absolute;top:20px;left:50%;z-index:2;width:100%;content:"";border-bottom:2px solid var(--gray-50);transition:all var(--transition-long)}._stepper_1q540_1 ._item_1q540_6 ._counter_1q540_33{position:relative;z-index:5;display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;margin-bottom:.5rem;font-size:700;color:var(--gray-50);background-color:var(--white-100);border:2px solid var(--gray-50);border-radius:50%;transition:all var(--transition-long)}._stepper_1q540_1 ._item_1q540_6 ._name_1q540_49{font-size:var(--body-font-size-small);color:var(--gray-50);text-align:center;transition:all var(--transition-long)}._stepper_1q540_1 ._item_1q540_6:first-child:before,._stepper_1q540_1 ._item_1q540_6:last-child:after{content:none}._stepper_1q540_1 ._item--completed_1q540_58 ._counter_1q540_33{font-size:700;color:var(--white-100);background-color:var(--secondary-green-dark);border-color:var(--secondary-green-dark);transition:all var(--transition-long)}._stepper_1q540_1 ._item--completed_1q540_58 ._name_1q540_49{font-weight:900;color:var(--secondary-green-dark);transition:all var(--transition-long)}._stepper_1q540_1 ._item--completed_1q540_58:after{position:absolute;top:20px;left:50%;z-index:3;width:100%;content:"";border-bottom:2px solid var(--secondary-green-dark);transition:all var(--transition-long)}._stepper_1q540_1 ._item--active_1q540_80 ._counter_1q540_33{font-size:700;color:var(--secondary-green-dark);background-color:var(--white-100);border-color:var(--secondary-green-dark);transition:all var(--transition-long)}._stepper_1q540_1 ._item--active_1q540_80 ._name_1q540_49{font-weight:700;color:var(--gray-75);transition:all var(--transition-long)}
@@ -0,0 +1 @@
1
+ ._table_xe8qp_1{color:var(--secondary-orange);border-spacing:0}._table--full-width_xe8qp_5{width:100%}._table--white-theme_xe8qp_8{background:var(--white-100)}._table--transparent-theme_xe8qp_11{background:transparent}._table_xe8qp_1 th._cell--left-alignment_xe8qp_14,._table_xe8qp_1 td._cell--left-alignment_xe8qp_14{text-align:left}._table_xe8qp_1 th._cell--center-alignment_xe8qp_18,._table_xe8qp_1 td._cell--center-alignment_xe8qp_18{text-align:center}._table_xe8qp_1 th._cell--right-alignment_xe8qp_22,._table_xe8qp_1 td._cell--right-alignment_xe8qp_22{text-align:right}._table_xe8qp_1 thead{font-size:var(--body-font-size-tiny);font-weight:var(--body-bold);color:var(--gray-90);text-transform:uppercase}._table_xe8qp_1 thead tr th{--children-pv: 4px;--children-ph: 8px;align-items:center;padding:calc(1.5rem - var(--children-pv)) calc(.75rem - var(--children-ph));line-height:1rem;border-bottom:1px solid var(--gray-25)}._table_xe8qp_1 thead tr th ._th__wrapper_xe8qp_40{padding:var(--children-pv) var(--children-ph)}._table_xe8qp_1 thead tr th ._th__wrapper--pressed_xe8qp_43{background-color:var(--gray-10);border-radius:6px}._table_xe8qp_1 thead tr th ._th__wrapper--clickable_xe8qp_47{cursor:pointer}._table_xe8qp_1 thead tr th ._th__wrapper_xe8qp_40 ._th__sort-icon-container_xe8qp_50{padding-left:4px}._table_xe8qp_1 tbody{font-size:var(--body-font-size);font-weight:var(--body-weight);color:var(--gray-90)}._table_xe8qp_1 tbody tr:hover:not(._tr__row-or-cell--disabled_xe8qp_58){background-color:rgb(var(--gray-5-rgb) .5)}._table_xe8qp_1 tbody ._tr_xe8qp_58,._table_xe8qp_1 tbody ._td_xe8qp_62{padding:16px 12px;line-height:var(--body-line-height);border-bottom:1px solid var(--gray-10)}._table_xe8qp_1 tbody ._tr__row-or-cell--clickable_xe8qp_67,._table_xe8qp_1 tbody ._td__row-or-cell--clickable_xe8qp_68{cursor:pointer}._table_xe8qp_1 tbody ._tr__row-or-cell--disabled_xe8qp_58,._table_xe8qp_1 tbody ._td__row-or-cell--disabled_xe8qp_72{background:var(--cream);filter:grayscale(1)}._table_xe8qp_1 tbody ._tr__row-or-cell--disabled_xe8qp_58 ._td-wrapper_xe8qp_76,._table_xe8qp_1 tbody ._td__row-or-cell--disabled_xe8qp_72 ._td-wrapper_xe8qp_76{opacity:.25}
@@ -1 +1 @@
1
- ._tabs_5kfuv_1{width:100%;gap:var(--spacing)}._tabs__tab_5kfuv_5{background-color:var(--white-100);height:48px;padding:0 var(--spacing) 0 0;color:var(--gray-75);min-width:94px;border:none;cursor:pointer}._tabs__tab_5kfuv_5:hover{color:var(--hover);border-bottom:2px solid var(--hover)}._tabs__tab_5kfuv_5:active{color:var(--active);border-bottom:2px solid var(--active)}._tabs__tab--disabled_5kfuv_22{color:#00000040;border-bottom:2px solid rgba(0,0,0,.25);cursor:default}._tabs__tab--disabled_5kfuv_22:focus,._tabs__tab--disabled_5kfuv_22:active,._tabs__tab--disabled_5kfuv_22:hover{color:#00000040;border-bottom:2px solid rgba(0,0,0,.25)}._tabs__tab--selected_5kfuv_31{color:var(--accent);border-bottom:2px solid var(--accent)}._tabs__tab-panel_5kfuv_35{margin-top:calc(var(--spacing) * 2);width:100%}
1
+ ._tabs_18ymz_1{gap:8px;width:100%}._tabs__tab_18ymz_5{min-width:94px;height:48px;padding:0 8px 0 0;color:var(--gray-75);cursor:pointer;background-color:var(--white-100);border:none}._tabs__tab_18ymz_5:hover{color:var(--hover);border-bottom:2px solid var(--hover)}._tabs__tab_18ymz_5:active{color:var(--active);border-bottom:2px solid var(--active)}._tabs__tab--disabled_18ymz_22{color:#00000040;cursor:default;border-bottom:2px solid rgba(0,0,0,.25)}._tabs__tab--disabled_18ymz_22:focus,._tabs__tab--disabled_18ymz_22:active,._tabs__tab--disabled_18ymz_22:hover{color:#00000040;border-bottom:2px solid rgba(0,0,0,.25)}._tabs__tab--selected_18ymz_31{color:var(--accent);border-bottom:2px solid var(--accent)}._tabs__tab-panel_18ymz_35{width:100%;margin-top:16px}
@@ -0,0 +1 @@
1
+ ._tooltip_1dujm_1{border-radius:var(--border-radius);box-shadow:0 6px 12px #0003}._tooltip--small-padding_1dujm_5{padding:10px}._tooltip--normal-padding_1dujm_8{padding:16px}._tooltip--white-theme_1dujm_11{color:var(--gray-75);background-color:var(--white-100)}._tooltip--black-theme_1dujm_15{color:var(--gray-10);background-color:var(--gray-90)}._tooltip--animation_1dujm_20._tooltip--anim-open_1dujm_20{animation:_tooltip--open-animation_1dujm_1 .3s ease-out both}._tooltip--animation_1dujm_20._tooltip--anim-close_1dujm_23{animation:_tooltip--close-animation_1dujm_1 .3s ease-out forwards}@keyframes _tooltip--open-animation_1dujm_1{0%{opacity:0;transform:translateY(-8px) scale(.95)}50%{opacity:1;transform:translateY(4px) scale(1.05)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes _tooltip--close-animation_1dujm_1{0%{filter:blur(0);opacity:1;transform:scale(1) rotate(0)}to{filter:blur(3px);opacity:0;transform:scale(1.2) rotate(4deg)}}
@@ -1 +1 @@
1
- ._h1_111i6_1{font-size:var(--heading-font-size-xl);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-xl);margin:0}._h1--bold_111i6_7{font-weight:var(--typography-heading-bold)}._h2_111i6_11{font-size:var(--heading-font-size-l);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-l);margin:0}._h2--bold_111i6_17{font-weight:var(--typography-heading-bold)}._h3_111i6_21{font-size:var(--heading-font-size);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height);margin:0}._h3--bold_111i6_27{font-weight:var(--typography-heading-bold)}._h4_111i6_31{font-size:var(--heading-font-size-s);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-s);margin:0}._h4--bold_111i6_37{font-weight:var(--typography-heading-bold)}._body_111i6_41{font-size:var(--body-font-size);line-height:var(--body-line-height);font-weight:var(--body-weight)}._body--large_111i6_46{font-size:var(--body-font-size-large);line-height:var(--body-line-height-large)}._body--medium_111i6_50{font-size:var(--body-font-size-medium);line-height:var(--body-line-height-medium)}._body--small_111i6_54{font-size:var(--body-font-size-small);line-height:var(--body-line-height-small)}._body--tiny_111i6_58{font-size:var(--body-font-size-tiny);line-height:var(--body-line-height-tiny)}._body--bold_111i6_62{font-weight:var(--body-bold)}._body--strikethrough_111i6_65{text-decoration:line-through}._body--underlined_111i6_68{text-decoration:underline}._body--strikethrough-underlined_111i6_71{text-decoration:underline line-through}._quote_111i6_75{font-size:var(--quote-font-size);line-height:var(--quote-line-height);font-weight:var(--quote-font-weight)}._quote--large_111i6_80{font-size:var(--quote-font-size-large);line-height:var(--quote-line-height-large);font-weight:var(--quote-font-weight-large)}._form__input_111i6_86{font-size:var(--form-input-font-size);line-height:var(--form-input-line-height);font-weight:var(--form-input-font-weight)}._form__hint_111i6_91{font-size:var(--form-hint-font-size);line-height:var(--form-hint-line-height);font-weight:var(--form-hint-font-weight)}._form__label_111i6_96{font-size:var(--form-label-font-size);line-height:var(--form-label-line-height);font-weight:var(--form-label-font-weight)}._form__dropdown_111i6_101{font-size:var(--form-dropdown-font-size);line-height:var(--form-dropdown-line-height);font-weight:var(--form-dropdown-font-weight)}._table__header_111i6_107{font-size:var(--table-font-size);line-height:var(--table-line-height);font-weight:var(--table-header-font-weight)}._table__body_111i6_112{font-size:var(--table-font-size);line-height:var(--table-line-height);font-weight:var(--table-body-font-weight)}._table__body--secondary_111i6_117{font-size:var(--table-font-size);line-height:var(--table-line-height);line-height:var(--table-body-secondary-line-height)}._button_111i6_123{font-size:var(--button-font-size);line-height:var(--button-line-height);font-weight:var(--button-font-weight)}
1
+ ._h1_13r5p_1{font-size:var(--heading-font-size-xl);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-xl);margin:0}._h1--bold_13r5p_7{font-weight:var(--typography-heading-bold)}._h2_13r5p_11{font-size:var(--heading-font-size-l);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-l);margin:0}._h2--bold_13r5p_17{font-weight:var(--typography-heading-bold)}._h3_13r5p_21{font-size:var(--heading-font-size);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height);margin:0}._h3--bold_13r5p_27{font-weight:var(--typography-heading-bold)}._h4_13r5p_31{font-size:var(--heading-font-size-s);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-s);margin:0}._h4--bold_13r5p_37{font-weight:var(--typography-heading-bold)}._body_13r5p_41{font-size:var(--body-font-size);font-weight:var(--body-weight);line-height:var(--body-line-height)}._body--large_13r5p_46{font-size:var(--body-font-size-large);line-height:var(--body-line-height-large)}._body--medium_13r5p_50{font-size:var(--body-font-size-medium);line-height:var(--body-line-height-medium)}._body--small_13r5p_54{font-size:var(--body-font-size-small);line-height:var(--body-line-height-small)}._body--tiny_13r5p_58{font-size:var(--body-font-size-tiny);line-height:var(--body-line-height-tiny)}._body--bold_13r5p_62{font-weight:var(--body-bold)}._body--strikethrough_13r5p_65{text-decoration:line-through}._body--underlined_13r5p_68{text-decoration:underline}._body--strikethrough-underlined_13r5p_71{text-decoration:underline line-through}._quote_13r5p_75{font-size:var(--quote-font-size);font-weight:var(--quote-font-weight);line-height:var(--quote-line-height)}._quote--large_13r5p_80{font-size:var(--quote-font-size-large);font-weight:var(--quote-font-weight-large);line-height:var(--quote-line-height-large)}._quote--bold_13r5p_85{font-weight:var(--body-bold)}._quote--strikethrough_13r5p_88{text-decoration:line-through}._quote--underlined_13r5p_91{text-decoration:underline}._quote--strikethrough-underlined_13r5p_94{text-decoration:underline line-through}._form__input_13r5p_98{font-size:var(--form-input-font-size);font-weight:var(--form-input-font-weight);line-height:var(--form-input-line-height)}._form__hint_13r5p_103{font-size:var(--form-hint-font-size);font-weight:var(--form-hint-font-weight);line-height:var(--form-hint-line-height)}._form__label_13r5p_108{font-size:var(--form-label-font-size);font-weight:var(--form-label-font-weight);line-height:var(--form-label-line-height)}._form__dropdown_13r5p_113{font-size:var(--form-dropdown-font-size);font-weight:var(--form-dropdown-font-weight);line-height:var(--form-dropdown-line-height)}._form--bold_13r5p_118{font-weight:var(--body-bold)}._form--strikethrough_13r5p_121{text-decoration:line-through}._form--underlined_13r5p_124{text-decoration:underline}._form--strikethrough-underlined_13r5p_127{text-decoration:underline line-through}._table__header_13r5p_131{font-size:var(--table-font-size);line-height:var(--table-line-height);font-weight:var(--table-header-font-weight)}._table__body_13r5p_136{font-size:var(--table-font-size);line-height:var(--table-line-height);font-weight:var(--table-body-font-weight)}._table__body--secondary_13r5p_141{font-size:var(--table-font-size);line-height:var(--table-line-height);line-height:var(--table-body-secondary-line-height)}._table--bold_13r5p_146{font-weight:var(--body-bold)}._table--strikethrough_13r5p_149{text-decoration:line-through}._table--underlined_13r5p_152{text-decoration:underline}._table--strikethrough-underlined_13r5p_155{text-decoration:underline line-through}._button_13r5p_159{font-size:var(--button-font-size);font-weight:var(--button-font-weight);line-height:var(--button-line-height);font-family:Lato,Inter,system-ui,Avenir,Helvetica,Arial,sans-serif}._button--bold_13r5p_165{font-weight:var(--body-bold)}._button--strikethrough_13r5p_168{text-decoration:line-through}._button--underlined_13r5p_171{text-decoration:underline}._button--strikethrough-underlined_13r5p_174{text-decoration:underline line-through}
@@ -0,0 +1 @@
1
+ :root{--secondary-orange: #ffa945;--secondary-orange-rgb: 255, 169, 69;--secondary-orange-dark: #fe8d53;--secondary-orange-dark-rgb: 254, 141, 83;--secondary-orange-light: #525061;--secondary-orange-light-rgb: 82, 80, 97;--secondary-green: #99dec3;--secondary-green-rgb: 153, 222, 195;--secondary-green-dark: #6acbb1;--secondary-green-dark-rgb: 106, 203, 177;--secondary-green-darker: #31aa7e;--secondary-green-darker-rgb: 49, 170, 126;--secondary-green-light: #baedd9;--secondary-green-light-rgb: 186, 237, 217;--accent: #1897f3;--accent-rgb: 24, 151, 243;--accent-dark: #1672c7;--accent-dark-rgb: 22, 114, 199;--accent-light: #4fb1f9;--accent-light-rgb: 79, 177, 249;--accent-lighter: #8ae1fd;--accent-lighter-rgb: 138, 225, 253;--alert: #df4561;--alert-rgb: 223, 69, 97;--alert-dark: #bb2b45;--alert-dark-rgb: 187, 43, 69;--accent-alert-light: #f37c91;--accent-alert-light-rgb: 243, 124, 145;--cream: #fafafa;--cream-rgb: 250, 250, 250;--hover: #42b7ff;--hover-rgb: 66, 183, 255;--active: #0a75cc;--active-rgb: 10, 117, 204}:root{--gray-100: #16161e;--gray-100-rgb: 22, 22, 30;--gray-95: #3f3d4b;--gray-95-rgb: 63, 61, 75;--gray-90: #525061;--gray-90-rgb: 82, 80, 97;--gray-75: #838192;--gray-75-rgb: 131, 129, 146;--gray-50: #bcbac8;--gray-50-rgb: 188, 186, 200;--gray-25: #dbdae2;--gray-25-rgb: 219, 218, 226;--gray-10: #ebeaf0;--gray-10-rgb: 235, 234, 240;--gray-5: #f7f7fc;--gray-5-rgb: 247, 247, 252;--black-100: #000000;--black-100-rgb: 0, 0, 0;--black-75: #616161;--black-75-rgb: 97, 97, 97;--black-50: #838192;--black-50-rgb: 131, 129, 146;--black-25: #bcbac8;--black-25-rgb: 188, 186, 200;--black-10: #ebeaf0;--black-10-rgb: 235, 234, 240;--white-100: #ffffff;--white-100-rgb: 255, 255, 255}:root{--heading-font-weight: 700;--heading-font-size-xl: 3.75rem;--heading-line-height-xl: 4.875rem;--heading-font-size-l: 3rem;--heading-line-height-l: 3.9375rem;--heading-font-size: 2.25rem;--heading-line-height: 2.875rem;--heading-font-size-s: 1.5rem;--heading-line-height-s: 2rem;--body-font-size: 1rem;--body-line-height: 1.3125rem;--body-weight: normal;--body-bold: bold;--body-font-size-large: 1.5rem;--body-line-height-large: 1.625rem;--body-font-size-medium: 1.125;--body-line-height-medium: 1rem;--body-font-size-small: .875rem;--body-line-height-small: 1.125rem;--body-font-size-tiny: .75rem;--body-line-height-tiny: 1rem;--quote-font-size-large: 1.5rem;--quote-line-height-large: 2rem;--quote-font-weight-large: normal;--quote-font-size: 1rem;--quote-line-height: 1.3125rem;--quote-font-weight: normal;--form-input-font-size: 1rem;--form-input-line-height: 1.3125rem;--form-input-font-weight: bold;--form-hint-font-size: .875rem;--form-hint-line-height: 1.3125rem;--form-hint-font-weight: normal;--form-label-font-size: .875rem;--form-label-line-height: 1.3125rem;--form-label-font-weight: normal;--form-dropdown-font-size: 1rem;--form-dropdown-line-height: 1.3125rem;--form-dropdown-font-weight: normal;--table-font-size: .875rem;--table-line-height: 1.0625rem;--table-header-font-weight: bold;--table-body-font-weight: normal;--table-body-secondary-line-height: 1.3125rem;--button-font-size: 1rem;--button-line-height: 1.25rem;--button-font-weight: bold}:root{--spacing: 8px;--border-radius: 6px;--border-radius-soft: 4px;--transition-soft: .3s;--transition-long: .75s}
@@ -0,0 +1,13 @@
1
+ import { IconProps } from '../Icon/Icon';
2
+ import { ReactNode } from 'react';
3
+
4
+ export type AdviceTypes = 'without-results' | 'no-permission';
5
+ export type AdviceProps = {
6
+ icon?: Partial<IconProps>;
7
+ type?: AdviceTypes;
8
+ content: ReactNode;
9
+ className?: string;
10
+ 'data-testid'?: string;
11
+ };
12
+ declare const Advice: ({ icon, type, content, className, ...rest }: AdviceProps) => import("react/jsx-runtime").JSX.Element;
13
+ export { Advice };
@@ -0,0 +1,25 @@
1
+ import '../../assets/Advice.css';
2
+ import { jsxs as d, jsx as r } from "react/jsx-runtime";
3
+ import { c as i } from "../../clsx-DB4S2d7J.js";
4
+ import { Icon as v } from "../Icon/Icon.js";
5
+ const y = "_advice_1yug7_1", n = "_content_1yug7_7", a = {
6
+ advice: y,
7
+ content: n
8
+ }, l = {
9
+ "no-permission": "eye-slash",
10
+ "without-results": "folder-magnifying-glass"
11
+ }, _ = ({ icon: s, type: t, content: e, className: o, ...m }) => {
12
+ const c = {
13
+ color: (s == null ? void 0 : s.color) || "var(--accent)",
14
+ size: (s == null ? void 0 : s.size) || "3.375rem",
15
+ icon: l[t] || (s == null ? void 0 : s.icon) || "",
16
+ iconFamily: l[t] || s == null ? void 0 : s.iconFamily
17
+ };
18
+ return /* @__PURE__ */ d("div", { className: i(a.advice, o), ...m, children: [
19
+ /* @__PURE__ */ r(v, { ...c }),
20
+ typeof e == "string" ? /* @__PURE__ */ r("p", { children: e }) : /* @__PURE__ */ r("div", { className: a.content, children: e })
21
+ ] });
22
+ };
23
+ export {
24
+ _ as Advice
25
+ };
@@ -0,0 +1,21 @@
1
+ import { Either } from '../../types/helpers';
2
+ import { ReactNode } from 'react';
3
+
4
+ type Variant = 'primary' | 'secondary' | 'quick';
5
+ type ButtonCoreProps = {
6
+ loading?: boolean;
7
+ disabled?: boolean;
8
+ className?: string;
9
+ children: ReactNode;
10
+ variant?: Variant;
11
+ };
12
+ interface ButtonPropsWithLink extends ButtonCoreProps {
13
+ link: string;
14
+ }
15
+ interface ButtonPropsWithOnClick extends ButtonCoreProps {
16
+ onClick: () => void;
17
+ type?: HTMLButtonElement['type'];
18
+ }
19
+ export type ButtonProps = Either<ButtonPropsWithLink, ButtonPropsWithOnClick>;
20
+ export declare const Button: import('react').ForwardRefExoticComponent<ButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
21
+ export default Button;
@@ -0,0 +1,70 @@
1
+ import '../../assets/Button.css';
2
+ import { jsx as e, jsxs as a } from "react/jsx-runtime";
3
+ import { forwardRef as m, useMemo as c } from "react";
4
+ import { c as y } from "../../clsx-DB4S2d7J.js";
5
+ import { LoadingSpinner as g } from "../LoadingSpinner/LoadingSpinner.js";
6
+ import { B as f } from "../../Button-W6tM-_IT.js";
7
+ const k = "_h1_2qr61_1", p = "_h2_2qr61_11", w = "_h3_2qr61_21", x = "_h4_2qr61_31", N = "_body_2qr61_41", v = "_quote_2qr61_75", B = "_form__input_2qr61_98", j = "_form__hint_2qr61_103", S = "_form__label_2qr61_108", $ = "_form__dropdown_2qr61_113", C = "_table__header_2qr61_131", L = "_table__body_2qr61_136", M = "_button_2qr61_159", r = {
8
+ h1: k,
9
+ "h1--bold": "_h1--bold_2qr61_7",
10
+ h2: p,
11
+ "h2--bold": "_h2--bold_2qr61_17",
12
+ h3: w,
13
+ "h3--bold": "_h3--bold_2qr61_27",
14
+ h4: x,
15
+ "h4--bold": "_h4--bold_2qr61_37",
16
+ body: N,
17
+ "body--large": "_body--large_2qr61_46",
18
+ "body--medium": "_body--medium_2qr61_50",
19
+ "body--small": "_body--small_2qr61_54",
20
+ "body--tiny": "_body--tiny_2qr61_58",
21
+ "body--bold": "_body--bold_2qr61_62",
22
+ "body--strikethrough": "_body--strikethrough_2qr61_65",
23
+ "body--underlined": "_body--underlined_2qr61_68",
24
+ "body--strikethrough-underlined": "_body--strikethrough-underlined_2qr61_71",
25
+ quote: v,
26
+ "quote--large": "_quote--large_2qr61_80",
27
+ "quote--bold": "_quote--bold_2qr61_85",
28
+ "quote--strikethrough": "_quote--strikethrough_2qr61_88",
29
+ "quote--underlined": "_quote--underlined_2qr61_91",
30
+ "quote--strikethrough-underlined": "_quote--strikethrough-underlined_2qr61_94",
31
+ form__input: B,
32
+ form__hint: j,
33
+ form__label: S,
34
+ form__dropdown: $,
35
+ "form--bold": "_form--bold_2qr61_118",
36
+ "form--strikethrough": "_form--strikethrough_2qr61_121",
37
+ "form--underlined": "_form--underlined_2qr61_124",
38
+ "form--strikethrough-underlined": "_form--strikethrough-underlined_2qr61_127",
39
+ table__header: C,
40
+ table__body: L,
41
+ "table__body--secondary": "_table__body--secondary_2qr61_141",
42
+ "table--bold": "_table--bold_2qr61_146",
43
+ "table--strikethrough": "_table--strikethrough_2qr61_149",
44
+ "table--underlined": "_table--underlined_2qr61_152",
45
+ "table--strikethrough-underlined": "_table--strikethrough-underlined_2qr61_155",
46
+ button: M,
47
+ "button--bold": "_button--bold_2qr61_165",
48
+ "button--strikethrough": "_button--strikethrough_2qr61_168",
49
+ "button--underlined": "_button--underlined_2qr61_171",
50
+ "button--strikethrough-underlined": "_button--strikethrough-underlined_2qr61_174",
51
+ "button--primary": "_button--primary_2qr61_190",
52
+ "button--secondary": "_button--secondary_2qr61_209",
53
+ "button--quick": "_button--quick_2qr61_226",
54
+ "button__loading-container": "_button__loading-container_2qr61_249"
55
+ }, E = m((n, d) => {
56
+ const { onClick: u, link: l, loading: b, children: o, type: i = "button", disabled: h, className: t, variant: _ = "primary" } = n, s = {
57
+ invert: _ === "secondary" || _ === "quick"
58
+ }, q = c(
59
+ () => y([r.button, r[`button--${_}`], t]),
60
+ [t, _]
61
+ );
62
+ return /* @__PURE__ */ e(f, { type: i, href: l, onClick: u, disabled: h, className: q, ref: d, children: b ? /* @__PURE__ */ a("div", { className: r["button__loading-container"], children: [
63
+ /* @__PURE__ */ e(g, { ...s }),
64
+ o
65
+ ] }) : o });
66
+ });
67
+ export {
68
+ E as Button,
69
+ E as default
70
+ };
@@ -0,0 +1,17 @@
1
+ import { ReactNode } from 'react';
2
+
3
+ type CheckboxTheme = 'light' | 'accent';
4
+ type CheckboxSizes = 'small' | 'normal';
5
+ type CheckboxProps = {
6
+ className?: string;
7
+ 'data-testid'?: string;
8
+ label?: ReactNode;
9
+ theme?: CheckboxTheme;
10
+ size?: CheckboxSizes;
11
+ isChecked?: boolean;
12
+ isIndeterminate?: boolean;
13
+ name?: string;
14
+ onChange: (checked: boolean) => void;
15
+ };
16
+ declare const Checkbox: ({ className, label, name, theme, size, isChecked, onChange, isIndeterminate, ...rest }: CheckboxProps) => import("react/jsx-runtime").JSX.Element;
17
+ export { Checkbox };
@@ -0,0 +1,48 @@
1
+ import '../../assets/Checkbox.css';
2
+ import { jsxs as v, jsx as c } from "react/jsx-runtime";
3
+ import * as m from "react";
4
+ import { useState as i, useEffect as _ } from "react";
5
+ import { c as p } from "../../clsx-DB4S2d7J.js";
6
+ const u = (e) => /* @__PURE__ */ m.createElement("svg", { width: 14, height: 10, viewBox: "0 0 14 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ m.createElement("path", { d: "M13.7063 0.293438C14.0969 0.684062 14.0969 1.31531 13.7063 1.70594L5.70625 9.70594C5.31563 10.0966 4.68437 10.0966 4.29375 9.70594L0.292875 5.70594C-0.097625 5.31531 -0.097625 4.68406 0.292875 4.29344C0.683437 3.90281 1.31656 3.90281 1.70719 4.29344L4.97188 7.58406L12.2937 0.293438C12.6844 -0.0978125 13.3156 -0.0978125 13.7063 0.293438Z", fill: "#F7F7FC" })), y = "_checkmark_14khe_10", t = {
7
+ "checkbox-wrapper": "_checkbox-wrapper_14khe_1",
8
+ checkmark: y,
9
+ "checkmark--checked": "_checkmark--checked_14khe_22",
10
+ "checkmark--light-theme": "_checkmark--light-theme_14khe_25",
11
+ "checkmark--accent-theme": "_checkmark--accent-theme_14khe_32",
12
+ "checkmark--small-size": "_checkmark--small-size_14khe_39",
13
+ "checkmark--normal-size": "_checkmark--normal-size_14khe_46"
14
+ }, z = (e) => /* @__PURE__ */ m.createElement("svg", { width: 10, height: 3, viewBox: "0 0 10 3", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ m.createElement("rect", { y: 0.5, width: 10, height: 2, rx: 1, fill: "#1897F3" })), S = ({
15
+ className: e,
16
+ label: g,
17
+ name: l,
18
+ theme: x = "accent",
19
+ size: w = "normal",
20
+ isChecked: h,
21
+ onChange: f,
22
+ isIndeterminate: k,
23
+ ...d
24
+ }) => {
25
+ const [r, s] = i(h), [a, n] = i(k);
26
+ _(() => {
27
+ r !== h && s(h);
28
+ }, [h]), _(() => {
29
+ typeof k == "boolean" && n(k);
30
+ }, [k]);
31
+ const C = p(t["checkbox-wrapper"], e), b = p(
32
+ t.checkmark,
33
+ t[`checkmark--${x}-theme`],
34
+ t[`checkmark--${w}-size`],
35
+ (r || a) && t["checkmark--checked"]
36
+ );
37
+ return /* @__PURE__ */ v("div", { className: C, onClick: () => {
38
+ let o = !r;
39
+ a && (n(!1), o = !0), f(o), s(o);
40
+ }, ...d, children: [
41
+ /* @__PURE__ */ c("input", { name: l, type: "checkbox", checked: !a && r, readOnly: !0 }),
42
+ /* @__PURE__ */ c("span", { className: b, children: a ? /* @__PURE__ */ c(z, {}) : /* @__PURE__ */ c(u, {}) }),
43
+ /* @__PURE__ */ c("label", { htmlFor: l, children: g })
44
+ ] });
45
+ };
46
+ export {
47
+ S as Checkbox
48
+ };
@@ -1,5 +1,5 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { s as t } from "../../Dialog.module-BO0mdB7d.js";
2
+ import { s as t } from "../../Dialog.module-CGVM5V_D.js";
3
3
  const i = ({ children: s }) => /* @__PURE__ */ o("div", { className: t.dialog__actions, children: s });
4
4
  export {
5
5
  i as default
@@ -2,5 +2,5 @@
2
2
  declare const Backdrop: import('react').ForwardRefExoticComponent<{
3
3
  open?: boolean | undefined;
4
4
  className: string;
5
- } & import("react").RefAttributes<HTMLDivElement>>;
5
+ } & import('react').RefAttributes<HTMLDivElement>>;
6
6
  export default Backdrop;
@@ -1,16 +1,9 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
2
  import { forwardRef as t } from "react";
3
- import { s as e } from "../../Dialog.module-BO0mdB7d.js";
3
+ import { s as e } from "../../Dialog.module-CGVM5V_D.js";
4
4
  const i = t((o, r) => {
5
5
  const { open: m, className: p, ...s } = o;
6
- return /* @__PURE__ */ a(
7
- "div",
8
- {
9
- className: e.dialog__backdrop,
10
- ref: r,
11
- ...s
12
- }
13
- );
6
+ return /* @__PURE__ */ a("div", { className: e.dialog__backdrop, ref: r, ...s });
14
7
  });
15
8
  export {
16
9
  i as default
@@ -1,132 +1,20 @@
1
- import { jsx as j } from "react/jsx-runtime";
2
- import { s as O } from "../../Dialog.module-BO0mdB7d.js";
3
- import { h as C, i as W } from "../../index-BZ1lkM_M.js";
4
- import I from "react";
5
- import { B as P } from "../../Button-C3Qm852g.js";
6
- var N = { exports: {} };
7
- (function(w, b) {
8
- (function(x, y) {
9
- w.exports = y(I);
10
- })(C, (x) => (() => {
11
- var y = { 639: (t) => {
12
- t.exports = x;
13
- } }, E = {};
14
- function s(t) {
15
- var o = E[t];
16
- if (o !== void 0)
17
- return o.exports;
18
- var c = E[t] = { exports: {} };
19
- return y[t](c, c.exports, s), c.exports;
20
- }
21
- s.n = (t) => {
22
- var o = t && t.__esModule ? () => t.default : () => t;
23
- return s.d(o, { a: o }), o;
24
- }, s.d = (t, o) => {
25
- for (var c in o)
26
- s.o(o, c) && !s.o(t, c) && Object.defineProperty(t, c, { enumerable: !0, get: o[c] });
27
- }, s.o = (t, o) => Object.prototype.hasOwnProperty.call(t, o), s.r = (t) => {
28
- typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(t, "__esModule", { value: !0 });
29
- };
30
- var _ = {};
31
- return (() => {
32
- s.r(_), s.d(_, { default: () => B });
33
- var t = s(639), o = s.n(t), c = function(i, a, l, r) {
34
- return new (l || (l = Promise))(function(p, u) {
35
- function h(n) {
36
- try {
37
- d(r.next(n));
38
- } catch (e) {
39
- u(e);
40
- }
41
- }
42
- function f(n) {
43
- try {
44
- d(r.throw(n));
45
- } catch (e) {
46
- u(e);
47
- }
48
- }
49
- function d(n) {
50
- var e;
51
- n.done ? p(n.value) : (e = n.value, e instanceof l ? e : new l(function(m) {
52
- m(e);
53
- })).then(h, f);
54
- }
55
- d((r = r.apply(i, a || [])).next());
56
- });
57
- };
58
- function T() {
59
- return typeof globalThis < "u" && globalThis.WAVES_ICONS_BASE_URL ? globalThis.WAVES_ICONS_BASE_URL : typeof window < "u" && window.WAVES_ICONS_BASE_URL ? window.WAVES_ICONS_BASE_URL : "https://waves-icons.pismolabs.io/bin";
60
- }
61
- function A(i, a, l) {
62
- const r = a && Number.isNaN(Number(a)) ? a : a ? `${a}px` : "1em", p = l || "currentColor", u = { fill: p, color: p, width: r, height: r };
63
- return i && Object.keys(u).forEach((h) => {
64
- i.setAttribute(h, u[h]);
65
- }), i && Object.assign(i.style, u), i;
66
- }
67
- const B = ({ icon: i, color: a, size: l }) => {
68
- const r = (0, t.useRef)(null), [p, u] = (0, t.useState)(null), h = (f) => {
69
- const d = A(f, `${l || ""}`, a);
70
- r != null && r.current && (r.current.innerHTML = "", r.current.append(d)), u(d);
71
- };
72
- return (0, t.useEffect)(() => {
73
- (function(f, d = !1) {
74
- return c(this, void 0, void 0, function* () {
75
- return function(n) {
76
- return c(this, void 0, void 0, function* () {
77
- return fetch(n, { cache: "force-cache" }).then((e) => e.status >= 200 && e.status <= 299 ? e.text() : Promise.resolve(`
78
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
79
- <svg role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000">
80
- <!-- Waves Icon Not Found -->
81
- </svg>
82
- `)).catch(console.error);
83
- });
84
- }(f.startsWith("http") ? f : function(n, e = "svg", m) {
85
- return m || (m = T()), `${m}/${n}.${e}`;
86
- }(f)).then((n) => {
87
- try {
88
- const e = d ? n : function(m, S) {
89
- S || (S = `
90
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
91
- <svg role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000">
92
- <!-- Waves Icon Not Found -->
93
- </svg>
94
- `);
95
- const g = Object.assign(document.createElement("template"), { innerHTML: S }).content.querySelector("svg");
96
- return Array.from(g.attributes).map(({ name: v }) => v).find((v) => {
97
- v.startsWith("on") && g.removeAttribute(v);
98
- }), g.querySelectorAll(["a", "animate", "color-profile", "cursor", "discard", "fedropshadow", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"].join(",")).forEach((v) => {
99
- v.remove();
100
- }), g.setAttribute("data-waves-icon", m), g;
101
- }(f, n);
102
- return Promise.resolve(e);
103
- } catch (e) {
104
- return Promise.reject(e);
105
- }
106
- }).catch(console.error);
107
- });
108
- })(i).then(h).catch(console.error);
109
- }, [i]), (0, t.useEffect)(() => {
110
- A(p, `${l || ""}`, a);
111
- }, [l, a]), o().createElement("span", { ref: r });
112
- };
113
- })(), _;
114
- })());
115
- })(N);
116
- var L = N.exports;
117
- const R = /* @__PURE__ */ W(L), V = ({ handleOnClose: w, className: b }) => {
118
- const x = b != null ? O["dialog__close-icon "] + b : O["dialog__close-icon"];
119
- return /* @__PURE__ */ j(
120
- P,
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { W as l } from "../../react-CGNQ6M5x.js";
3
+ import { s as t } from "../../Dialog.module-CGVM5V_D.js";
4
+ import { B as r } from "../../Button-W6tM-_IT.js";
5
+ const m = ({ handleOnClose: a, className: o }) => {
6
+ const i = o != null ? t["dialog__close-icon "] + o : t["dialog__close-icon"];
7
+ return /* @__PURE__ */ s(
8
+ r,
121
9
  {
122
- className: x,
10
+ className: i,
123
11
  "aria-description": "Close dialog",
124
- onClick: w,
12
+ onClick: a,
125
13
  "data-testid": "dialog-close-button",
126
- children: /* @__PURE__ */ j(R, { icon: "fa/duotone/circle-xmark", size: 32, color: "var(--gray-75)" })
14
+ children: /* @__PURE__ */ s(l, { icon: "fa/duotone/circle-xmark", size: 32, color: "var(--gray-75)" })
127
15
  }
128
16
  );
129
17
  };
130
18
  export {
131
- V as default
19
+ m as default
132
20
  };