@pismo/marola 0.0.1-alpha.19 → 0.0.1-alpha.2

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 (145) hide show
  1. package/README.md +5 -17
  2. package/dist/Button-REznN-RP.js +1139 -0
  3. package/dist/Dialog.module-BO0mdB7d.js +15 -0
  4. package/dist/assets/CallToActionButton.css +1 -0
  5. package/dist/assets/Dialog.css +1 -1
  6. package/dist/assets/LoadingSpinner.css +1 -1
  7. package/dist/assets/Typography.css +1 -1
  8. package/dist/assets/main.css +1 -0
  9. package/dist/components/CallToActionButton/CallToActionButton.d.ts +23 -0
  10. package/dist/components/CallToActionButton/CallToActionButton.js +57 -0
  11. package/dist/components/Dialog/Actions.js +1 -1
  12. package/dist/components/Dialog/Backdrop.d.ts +1 -1
  13. package/dist/components/Dialog/Backdrop.js +9 -2
  14. package/dist/components/Dialog/CloseIconButton.js +10 -11
  15. package/dist/components/Dialog/Dialog.d.ts +4 -5
  16. package/dist/components/Dialog/Dialog.js +20103 -445
  17. package/dist/components/Dialog/Title.js +7 -22
  18. package/dist/components/LoadingSpinner/LoadingSpinner.d.ts +0 -2
  19. package/dist/components/LoadingSpinner/LoadingSpinner.js +13 -12
  20. package/dist/components/Typography/Typography.d.ts +6 -17
  21. package/dist/components/Typography/Typography.js +64 -85
  22. package/dist/main.d.ts +3 -25
  23. package/dist/main.js +15 -62
  24. package/dist/types/helpers.d.ts +7 -14
  25. package/package.json +9 -51
  26. package/src/playground/Playground.tsx +58 -0
  27. package/dist/Button-2b1peDFT.js +0 -130
  28. package/dist/ClickAwayListener-BSW-Nd-y.js +0 -107
  29. package/dist/Dialog.module-B8COssqi.js +0 -15
  30. package/dist/Popup-B6ZSGIEI.js +0 -1248
  31. package/dist/Portal-DIeBsWdL.js +0 -73
  32. package/dist/SelectButton-pciwIWcj.js +0 -46
  33. package/dist/Tabs.module-jkH1Qjn7.js +0 -22
  34. package/dist/assets/Advice.css +0 -1
  35. package/dist/assets/Button.css +0 -1
  36. package/dist/assets/Checkbox.css +0 -1
  37. package/dist/assets/Chip.css +0 -1
  38. package/dist/assets/IconButton.css +0 -1
  39. package/dist/assets/Input.css +0 -1
  40. package/dist/assets/InputSearch.css +0 -1
  41. package/dist/assets/PageHeader.css +0 -1
  42. package/dist/assets/Pagination.css +0 -1
  43. package/dist/assets/SelectButton.css +0 -1
  44. package/dist/assets/Skeleton.css +0 -1
  45. package/dist/assets/Snackbar.css +0 -1
  46. package/dist/assets/SortTooltip.css +0 -1
  47. package/dist/assets/Stepper.css +0 -1
  48. package/dist/assets/Table.css +0 -1
  49. package/dist/assets/Tabs.css +0 -1
  50. package/dist/assets/TextDisplay.css +0 -1
  51. package/dist/assets/Toggle.css +0 -1
  52. package/dist/assets/Tooltip.css +0 -1
  53. package/dist/combineHooksSlotProps-DVjg9PRh.js +0 -80
  54. package/dist/components/Advice/Advice.d.ts +0 -28
  55. package/dist/components/Advice/Advice.js +0 -25
  56. package/dist/components/Advice/Advice.stories.d.ts +0 -16
  57. package/dist/components/Button/Button.d.ts +0 -32
  58. package/dist/components/Button/Button.js +0 -94
  59. package/dist/components/Button/Button.stories.d.ts +0 -62
  60. package/dist/components/Checkbox/Checkbox.d.ts +0 -34
  61. package/dist/components/Checkbox/Checkbox.js +0 -56
  62. package/dist/components/Checkbox/Checkbox.stories.d.ts +0 -31
  63. package/dist/components/Chip/Chip.d.ts +0 -37
  64. package/dist/components/Chip/Chip.js +0 -143
  65. package/dist/components/Chip/Chip.stories.d.ts +0 -40
  66. package/dist/components/Chip/chip.test.d.ts +0 -1
  67. package/dist/components/Dialog/Dialog.stories.d.ts +0 -343
  68. package/dist/components/Icon/Icon.d.ts +0 -27
  69. package/dist/components/Icon/Icon.js +0 -116
  70. package/dist/components/Icon/Icon.stories.d.ts +0 -16
  71. package/dist/components/IconButton/Icon.stories.d.ts +0 -15
  72. package/dist/components/IconButton/IconButton.d.ts +0 -36
  73. package/dist/components/IconButton/IconButton.js +0 -70
  74. package/dist/components/Input/Input.d.ts +0 -44
  75. package/dist/components/Input/Input.js +0 -496
  76. package/dist/components/Input/Input.stories.d.ts +0 -43
  77. package/dist/components/InputSearch/InputSearch.d.ts +0 -9
  78. package/dist/components/InputSearch/InputSearch.js +0 -34
  79. package/dist/components/InputSearch/InputSearch.stories.d.ts +0 -39
  80. package/dist/components/LoadingSpinner/LoadingSpinner.stories.d.ts +0 -14
  81. package/dist/components/PageHeader/PageHeader.d.ts +0 -36
  82. package/dist/components/PageHeader/PageHeader.js +0 -51
  83. package/dist/components/PageHeader/PageHeader.stories.d.ts +0 -43
  84. package/dist/components/Pagination/Pagination.d.ts +0 -55
  85. package/dist/components/Pagination/Pagination.js +0 -222
  86. package/dist/components/Pagination/Pagination.stories.d.ts +0 -17
  87. package/dist/components/Select/Select.d.ts +0 -26
  88. package/dist/components/Select/Select.js +0 -857
  89. package/dist/components/Select/Select.stories.d.ts +0 -22
  90. package/dist/components/Select/SelectButton.d.ts +0 -12
  91. package/dist/components/Select/SelectButton.js +0 -8
  92. package/dist/components/Skeleton/Skeleton.d.ts +0 -25
  93. package/dist/components/Skeleton/Skeleton.js +0 -23
  94. package/dist/components/Skeleton/Skeleton.stories.d.ts +0 -14
  95. package/dist/components/Skeleton/SkeletonCircle.stories.d.ts +0 -14
  96. package/dist/components/Skeleton/SkeletonTable.stories.d.ts +0 -16
  97. package/dist/components/Snackbar/Snackbar.d.ts +0 -25
  98. package/dist/components/Snackbar/Snackbar.js +0 -622
  99. package/dist/components/Snackbar/Snackbar.stories.d.ts +0 -318
  100. package/dist/components/SortTooltip/SortTooltip.d.ts +0 -28
  101. package/dist/components/SortTooltip/SortTooltip.js +0 -78
  102. package/dist/components/Stepper/Stepper.d.ts +0 -26
  103. package/dist/components/Stepper/Stepper.js +0 -33
  104. package/dist/components/Stepper/Stepper.stories.d.ts +0 -16
  105. package/dist/components/Table/Table.d.ts +0 -39
  106. package/dist/components/Table/Table.js +0 -120
  107. package/dist/components/Table/TableContext.d.ts +0 -19
  108. package/dist/components/Table/TableContext.js +0 -21
  109. package/dist/components/Tabs/Tab.d.ts +0 -14
  110. package/dist/components/Tabs/Tab.js +0 -181
  111. package/dist/components/Tabs/Tab.stories.d.ts +0 -15
  112. package/dist/components/Tabs/TabPanel.d.ts +0 -12
  113. package/dist/components/Tabs/TabPanel.js +0 -118
  114. package/dist/components/Tabs/TabPanel.stories.d.ts +0 -14
  115. package/dist/components/Tabs/Tabs.d.ts +0 -15
  116. package/dist/components/Tabs/Tabs.js +0 -401
  117. package/dist/components/Tabs/Tabs.stories.d.ts +0 -14
  118. package/dist/components/TextDisplay/TextDisplay.d.ts +0 -23
  119. package/dist/components/TextDisplay/TextDisplay.js +0 -37
  120. package/dist/components/TextDisplay/TextDisplay.stories.d.ts +0 -13
  121. package/dist/components/TextDisplay/textDisplay.test.d.ts +0 -1
  122. package/dist/components/Toggle/Toggle.d.ts +0 -11
  123. package/dist/components/Toggle/Toggle.js +0 -251
  124. package/dist/components/Toggle/Toggle.stories.d.ts +0 -21
  125. package/dist/components/Tooltip/Tooltip.d.ts +0 -29
  126. package/dist/components/Tooltip/Tooltip.js +0 -139
  127. package/dist/components/Tooltip/Tooltip.stories.d.ts +0 -33
  128. package/dist/components/Typography/Typography.stories.d.ts +0 -32
  129. package/dist/components/Typography/typography.test.d.ts +0 -1
  130. package/dist/index-CH45lKw7.js +0 -840
  131. package/dist/index-CjW42-M-.js +0 -19584
  132. package/dist/marola.css +0 -1
  133. package/dist/test-utils/assertStyles.d.ts +0 -1
  134. package/dist/test-utils/assertStyles.js +0 -11
  135. package/dist/useButton-DNk3wrQp.js +0 -105
  136. package/dist/useCompoundItem-D1iRfg8D.js +0 -84
  137. package/dist/useControlled-CCMYYdCM.js +0 -31
  138. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  139. package/dist/useEventCallback-xTG9piMa.js +0 -45
  140. package/dist/useIsFocusVisible-BH4IAdcw.js +0 -69
  141. package/dist/useList-B0hog_3-.js +0 -436
  142. package/dist/useTimeout-DxF9kiZL.js +0 -36
  143. package/dist/utils/styleStrings.d.ts +0 -6
  144. package/dist/utils/styleStrings.js +0 -10
  145. package/dist/utils/styleStrings.test.d.ts +0 -1
@@ -1,73 +0,0 @@
1
- import * as o from "react";
2
- import { r as P, e as y } from "./index-CjW42-M-.js";
3
- import { u as T, s as a, P as i } from "./index-CH45lKw7.js";
4
- import { jsx as c } from "react/jsx-runtime";
5
- import { u as f } from "./useEnhancedEffect-CJGo-L3B.js";
6
- function N(t, l, s, n, u) {
7
- if (process.env.NODE_ENV === "production")
8
- return null;
9
- const e = t[l], r = u || l;
10
- return e == null ? null : e && e.nodeType !== 1 ? new Error(`Invalid ${n} \`${r}\` supplied to \`${s}\`. Expected an HTMLElement.`) : null;
11
- }
12
- function h(t) {
13
- return typeof t == "function" ? t() : t;
14
- }
15
- const p = /* @__PURE__ */ o.forwardRef(function(l, s) {
16
- const {
17
- children: n,
18
- container: u,
19
- disablePortal: e = !1
20
- } = l, [r, d] = o.useState(null), m = T(/* @__PURE__ */ o.isValidElement(n) ? n.ref : null, s);
21
- if (f(() => {
22
- e || d(h(u) || document.body);
23
- }, [u, e]), f(() => {
24
- if (r && !e)
25
- return a(s, r), () => {
26
- a(s, null);
27
- };
28
- }, [s, r, e]), e) {
29
- if (/* @__PURE__ */ o.isValidElement(n)) {
30
- const E = {
31
- ref: m
32
- };
33
- return /* @__PURE__ */ o.cloneElement(n, E);
34
- }
35
- return /* @__PURE__ */ c(o.Fragment, {
36
- children: n
37
- });
38
- }
39
- return /* @__PURE__ */ c(o.Fragment, {
40
- children: r && /* @__PURE__ */ P.createPortal(n, r)
41
- });
42
- });
43
- process.env.NODE_ENV !== "production" && (p.propTypes = {
44
- // ┌────────────────────────────── Warning ──────────────────────────────┐
45
- // │ These PropTypes are generated from the TypeScript type definitions. │
46
- // │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
47
- // └─────────────────────────────────────────────────────────────────────┘
48
- /**
49
- * The children to render into the `container`.
50
- */
51
- children: i.node,
52
- /**
53
- * An HTML element or function that returns one.
54
- * The `container` will have the portal children appended to it.
55
- *
56
- * You can also provide a callback, which is called in a React layout effect.
57
- * This lets you set the container from a ref, and also makes server-side rendering possible.
58
- *
59
- * By default, it uses the body of the top-level document object,
60
- * so it's simply `document.body` most of the time.
61
- */
62
- container: i.oneOfType([N, i.func]),
63
- /**
64
- * The `children` will be under the DOM hierarchy of the parent component.
65
- * @default false
66
- */
67
- disablePortal: i.bool
68
- });
69
- process.env.NODE_ENV !== "production" && (p.propTypes = y(p.propTypes));
70
- export {
71
- N as H,
72
- p as P
73
- };
@@ -1,46 +0,0 @@
1
- import './assets/SelectButton.css';
2
- import { jsxs as c, jsx as e } from "react/jsx-runtime";
3
- import * as o from "react";
4
- import { forwardRef as h } from "react";
5
- import { c as d } from "./clsx-DB4S2d7J.js";
6
- import { Typography as i } from "./components/Typography/Typography.js";
7
- const m = "_select_185hp_1", u = "_select__popup_185hp_4", w = "_select__listbox_185hp_7", C = "_select__listbox__option_185hp_17", v = "_select__listbox__option__icon_185hp_25", f = "_select__listbox__option__text_185hp_29", g = "_select__list__option__icon_185hp_49", _ = {
8
- select: m,
9
- select__popup: u,
10
- select__listbox: w,
11
- select__listbox__option: C,
12
- select__listbox__option__icon: v,
13
- select__listbox__option__text: f,
14
- "select__listbox__option--disabled": "_select__listbox__option--disabled_185hp_32",
15
- "select__listbox__option--selected": "_select__listbox__option--selected_185hp_41",
16
- select__list__option__icon: g,
17
- "select-button": "_select-button_185hp_54",
18
- "base-Select-popup": "_base-Select-popup_185hp_69",
19
- "select-button__text": "_select-button__text_185hp_72",
20
- "select-button__icon": "_select-button__icon_185hp_81",
21
- "select-button--active": "_select-button--active_185hp_87"
22
- }, L = (t) => /* @__PURE__ */ o.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ o.createElement("path", { d: "M2.11104 4.9999C2.36691 4.9999 2.62291 5.09756 2.81791 5.29287L8.11104 10.5843L13.4048 5.29053C13.7954 4.8999 14.4282 4.8999 14.8188 5.29053C15.2095 5.68115 15.2095 6.31396 14.8188 6.70459L8.81885 12.7046C8.42822 13.0952 7.79541 13.0952 7.40479 12.7046L1.40479 6.70459C1.01416 6.31396 1.01416 5.68115 1.40479 5.29053C1.59854 5.09678 1.85479 4.9999 2.11104 4.9999Z", fill: "currentColor" })), y = (t) => /* @__PURE__ */ o.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ o.createElement("path", { d: "M13.8889 11C13.633 11 13.377 10.9023 13.182 10.707L7.8889 5.41563L2.59515 10.7094C2.20453 11.1 1.57172 11.1 1.18109 10.7094C0.790466 10.3188 0.790466 9.68594 1.18109 9.29532L7.18109 3.29532C7.57172 2.90469 8.20453 2.90469 8.59515 3.29532L14.5952 9.29532C14.9858 9.68594 14.9858 10.3188 14.5952 10.7094C14.4014 10.9031 14.1452 11 13.8889 11Z", fill: "#3F3D4B", fillOpacity: 0.88 })), j = h((t, n) => {
23
- const { children: p, disabled: a, className: r, "data-testid": b, prefix: s, onClick: x } = t, l = t["aria-expanded"];
24
- return /* @__PURE__ */ c(
25
- "button",
26
- {
27
- className: d(r, l ? _["select-button--active"] : "", _["select-button"]),
28
- type: "button",
29
- onClick: x,
30
- disabled: a,
31
- "data-testid": b,
32
- ref: n,
33
- children: [
34
- /* @__PURE__ */ c("span", { className: _["select-button__text"], children: [
35
- s && /* @__PURE__ */ e(i, { element: "span", variant: "body-small", children: s }),
36
- /* @__PURE__ */ e(i, { element: "span", variant: "body-small", children: p })
37
- ] }),
38
- /* @__PURE__ */ e("span", { className: _["select-button__icon"], children: l ? /* @__PURE__ */ e(y, {}) : /* @__PURE__ */ e(L, {}) })
39
- ]
40
- }
41
- );
42
- });
43
- export {
44
- j as S,
45
- _ as s
46
- };
@@ -1,22 +0,0 @@
1
- import './assets/Tabs.css';
2
- import * as a from "react";
3
- const s = /* @__PURE__ */ a.createContext(null);
4
- process.env.NODE_ENV !== "production" && (s.displayName = "TabsContext");
5
- function b() {
6
- const t = a.useContext(s);
7
- if (t == null)
8
- throw new Error("No TabsContext provided");
9
- return t;
10
- }
11
- const _ = "_tabs_18ymz_1", e = "_tabs__tab_18ymz_5", o = {
12
- tabs: _,
13
- tabs__tab: e,
14
- "tabs__tab--disabled": "_tabs__tab--disabled_18ymz_22",
15
- "tabs__tab--selected": "_tabs__tab--selected_18ymz_31",
16
- "tabs__tab-panel": "_tabs__tab-panel_18ymz_35"
17
- };
18
- export {
19
- s as T,
20
- o as s,
21
- b as u
22
- };
@@ -1 +0,0 @@
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)}
@@ -1 +0,0 @@
1
- ._h1_1swyh_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_1swyh_7{font-weight:var(--typography-heading-bold)}._h2_1swyh_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_1swyh_17{font-weight:var(--typography-heading-bold)}._h3_1swyh_21{font-size:var(--heading-font-size);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height);margin:0}._h3--bold_1swyh_27{font-weight:var(--typography-heading-bold)}._h4_1swyh_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_1swyh_37{font-weight:var(--typography-heading-bold)}._body_1swyh_41{font-size:var(--body-font-size);font-weight:var(--body-weight);line-height:var(--body-line-height)}._body--large_1swyh_46{font-size:var(--body-font-size-large);line-height:var(--body-line-height-large)}._body--medium_1swyh_50{font-size:var(--body-font-size-medium);line-height:var(--body-line-height-medium)}._body--small_1swyh_54{font-size:var(--body-font-size-small);line-height:var(--body-line-height-small)}._body--tiny_1swyh_58{font-size:var(--body-font-size-tiny);line-height:var(--body-line-height-tiny)}._body--bold_1swyh_62{font-weight:var(--body-bold)}._body--strikethrough_1swyh_65{text-decoration:line-through}._body--underlined_1swyh_68{text-decoration:underline}._body--strikethrough-underlined_1swyh_71{text-decoration:underline line-through}._quote_1swyh_75{font-size:var(--quote-font-size);font-weight:var(--quote-font-weight);line-height:var(--quote-line-height)}._quote--large_1swyh_80{font-size:var(--quote-font-size-large);font-weight:var(--quote-font-weight-large);line-height:var(--quote-line-height-large)}._quote--bold_1swyh_85{font-weight:var(--body-bold)}._quote--strikethrough_1swyh_88{text-decoration:line-through}._quote--underlined_1swyh_91{text-decoration:underline}._quote--strikethrough-underlined_1swyh_94{text-decoration:underline line-through}._form__input_1swyh_98{font-size:var(--form-input-font-size);font-weight:var(--form-input-font-weight);line-height:var(--form-input-line-height)}._form__hint_1swyh_103{font-size:var(--form-hint-font-size);font-weight:var(--form-hint-font-weight);line-height:var(--form-hint-line-height)}._form__label_1swyh_108{font-size:var(--form-label-font-size);font-weight:var(--form-label-font-weight);line-height:var(--form-label-line-height)}._form__dropdown_1swyh_113{font-size:var(--form-dropdown-font-size);font-weight:var(--form-dropdown-font-weight);line-height:var(--form-dropdown-line-height)}._form--bold_1swyh_118{font-weight:var(--body-bold)}._form--strikethrough_1swyh_121{text-decoration:line-through}._form--underlined_1swyh_124{text-decoration:underline}._form--strikethrough-underlined_1swyh_127{text-decoration:underline line-through}._table__header_1swyh_131{font-size:var(--table-font-size);line-height:var(--table-line-height);font-weight:var(--table-header-font-weight)}._table__body_1swyh_136{font-size:var(--table-font-size);line-height:var(--table-line-height);font-weight:var(--table-body-font-weight)}._table__body--secondary_1swyh_141{font-size:var(--table-font-size);line-height:var(--table-line-height);line-height:var(--table-body-secondary-line-height)}._table--bold_1swyh_146{font-weight:var(--body-bold)}._table--strikethrough_1swyh_149{text-decoration:line-through}._table--underlined_1swyh_152{text-decoration:underline}._table--strikethrough-underlined_1swyh_155{text-decoration:underline line-through}._button_1swyh_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_1swyh_165{font-weight:var(--body-bold)}._button--strikethrough_1swyh_168{text-decoration:line-through}._button--underlined_1swyh_171{text-decoration:underline}._button--strikethrough-underlined_1swyh_174{text-decoration:underline line-through}._SM_1swyh_178{font-size:var(--font-size-small);font-weight:var(--font-weight-small);line-height:var(--font-line-height-small)}._SM--bold_1swyh_183{font-weight:var(--font-weight-700)}._button_1swyh_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_1swyh_159:focus-visible{outline:none}._button--primary_1swyh_199{color:var(--white-100);background-color:var(--accent)}._button--primary_1swyh_199:hover{background-color:var(--accent-dark)}._button--primary_1swyh_199:focus{color:var(--black-100);background-color:var(--accent-lighter)}._button--primary_1swyh_199:active{background-color:var(--accent-light)}._button--primary_1swyh_199:disabled{color:var(--gray-50);cursor:default;background-color:var(--black-10)}._button--secondary_1swyh_218{color:var(--accent);background-color:var(--white-100)}._button--secondary_1swyh_218:hover{background-color:var(--gray-5)}._button--secondary_1swyh_218:focus{color:var(--black-100)}._button--secondary_1swyh_218:active{color:var(--accent-light)}._button--secondary_1swyh_218:disabled{color:var(--gray-50);cursor:default}._button--quick_1swyh_235{padding:8px 16px;color:var(--accent);background-color:rgb(var(--accent-rgb),.05);border-radius:6px}._button--quick_1swyh_235:hover{color:var(--accent-dark);background-color:rgb(var(--accent-rgb),.1)}._button--quick_1swyh_235:active{color:var(--accent-light)}._button--quick_1swyh_235:focus{color:var(--black-100);background-color:initial;outline:2px solid var(--black-100)}._button--quick_1swyh_235:disabled{color:var(--gray-50);cursor:default;background-color:var(--black-10)}._button__loading-container_1swyh_258{display:flex;gap:8px;align-items:center}
@@ -1 +0,0 @@
1
- ._checkbox-wrapper_1aw5t_1{display:flex;gap:var(--spacing);align-items:center;cursor:pointer}._checkbox-wrapper_1aw5t_1 input[type=checkbox]{display:none}._checkbox-wrapper_1aw5t_1 ._label_1aw5t_10{cursor:pointer;-webkit-user-select:none;user-select:none}._checkbox-wrapper_1aw5t_1 ._label--highlighted_1aw5t_14{font-weight:var(--body-bold)}._checkbox-wrapper_1aw5t_1 ._label--highlighted-checked_1aw5t_17{color:var(--accent)}._checkbox-wrapper_1aw5t_1 ._checkmark_1aw5t_20{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_1aw5t_1 ._checkmark_1aw5t_20:not(--checked){transition:var(--transition-soft)}._checkbox-wrapper_1aw5t_1 ._checkmark--checked_1aw5t_32{transition:var(--transition-soft)}._checkbox-wrapper_1aw5t_1 ._checkmark--checked_1aw5t_32._checkmark--light-theme_1aw5t_35{border:1px solid var(--accent-light)}._checkbox-wrapper_1aw5t_1 ._checkmark--checked_1aw5t_32._checkmark--light-theme_1aw5t_35 svg path,._checkbox-wrapper_1aw5t_1 ._checkmark--checked_1aw5t_32._checkmark--light-theme_1aw5t_35 svg rect{fill:var(--accent)}._checkbox-wrapper_1aw5t_1 ._checkmark--checked_1aw5t_32._checkmark--accent-theme_1aw5t_42{background:var(--accent);border:1px solid var(--accent)}._checkbox-wrapper_1aw5t_1 ._checkmark--checked_1aw5t_32._checkmark--accent-theme_1aw5t_42 svg rect{fill:var(--white-100)}._checkbox-wrapper_1aw5t_1 ._checkmark--small-size_1aw5t_49{width:calc(var(--small) * 1rem);height:calc(var(--small) * 1rem)}._checkbox-wrapper_1aw5t_1 ._checkmark--small-size_1aw5t_49 svg{transform:scale(calc(var(--small) / var(--normal)))}._checkbox-wrapper_1aw5t_1 ._checkmark--normal-size_1aw5t_56{width:calc(var(--normal) * 1rem);height:calc(var(--normal) * 1rem)}
@@ -1 +0,0 @@
1
- ._h1_1hro6_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_1hro6_7{font-weight:var(--typography-heading-bold)}._h2_1hro6_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_1hro6_17{font-weight:var(--typography-heading-bold)}._h3_1hro6_21{font-size:var(--heading-font-size);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height);margin:0}._h3--bold_1hro6_27{font-weight:var(--typography-heading-bold)}._h4_1hro6_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_1hro6_37{font-weight:var(--typography-heading-bold)}._body_1hro6_41{font-size:var(--body-font-size);font-weight:var(--body-weight);line-height:var(--body-line-height)}._body--large_1hro6_46{font-size:var(--body-font-size-large);line-height:var(--body-line-height-large)}._body--medium_1hro6_50{font-size:var(--body-font-size-medium);line-height:var(--body-line-height-medium)}._body--small_1hro6_54{font-size:var(--body-font-size-small);line-height:var(--body-line-height-small)}._body--tiny_1hro6_58{font-size:var(--body-font-size-tiny);line-height:var(--body-line-height-tiny)}._body--bold_1hro6_62{font-weight:var(--body-bold)}._body--strikethrough_1hro6_65{text-decoration:line-through}._body--underlined_1hro6_68{text-decoration:underline}._body--strikethrough-underlined_1hro6_71{text-decoration:underline line-through}._quote_1hro6_75{font-size:var(--quote-font-size);font-weight:var(--quote-font-weight);line-height:var(--quote-line-height)}._quote--large_1hro6_80{font-size:var(--quote-font-size-large);font-weight:var(--quote-font-weight-large);line-height:var(--quote-line-height-large)}._quote--bold_1hro6_85{font-weight:var(--body-bold)}._quote--strikethrough_1hro6_88{text-decoration:line-through}._quote--underlined_1hro6_91{text-decoration:underline}._quote--strikethrough-underlined_1hro6_94{text-decoration:underline line-through}._form__input_1hro6_98{font-size:var(--form-input-font-size);font-weight:var(--form-input-font-weight);line-height:var(--form-input-line-height)}._form__hint_1hro6_103{font-size:var(--form-hint-font-size);font-weight:var(--form-hint-font-weight);line-height:var(--form-hint-line-height)}._form__label_1hro6_108{font-size:var(--form-label-font-size);font-weight:var(--form-label-font-weight);line-height:var(--form-label-line-height)}._form__dropdown_1hro6_113{font-size:var(--form-dropdown-font-size);font-weight:var(--form-dropdown-font-weight);line-height:var(--form-dropdown-line-height)}._form--bold_1hro6_118{font-weight:var(--body-bold)}._form--strikethrough_1hro6_121{text-decoration:line-through}._form--underlined_1hro6_124{text-decoration:underline}._form--strikethrough-underlined_1hro6_127{text-decoration:underline line-through}._table__header_1hro6_131{font-size:var(--table-font-size);line-height:var(--table-line-height);font-weight:var(--table-header-font-weight)}._table__body_1hro6_136{font-size:var(--table-font-size);line-height:var(--table-line-height);font-weight:var(--table-body-font-weight)}._table__body--secondary_1hro6_141{font-size:var(--table-font-size);line-height:var(--table-line-height);line-height:var(--table-body-secondary-line-height)}._table--bold_1hro6_146{font-weight:var(--body-bold)}._table--strikethrough_1hro6_149{text-decoration:line-through}._table--underlined_1hro6_152{text-decoration:underline}._table--strikethrough-underlined_1hro6_155{text-decoration:underline line-through}._button_1hro6_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_1hro6_165{font-weight:var(--body-bold)}._button--strikethrough_1hro6_168{text-decoration:line-through}._button--underlined_1hro6_171{text-decoration:underline}._button--strikethrough-underlined_1hro6_174{text-decoration:underline line-through}._SM_1hro6_178,._chip_1hro6_178{font-size:var(--font-size-small);font-weight:var(--font-weight-small);line-height:var(--font-line-height-small)}._SM--bold_1hro6_183,._chip_1hro6_178{font-weight:var(--font-weight-700)}._chip_1hro6_178{display:flex;align-items:center;width:fit-content;padding:.375rem .5rem;background-color:var(--cream);border-width:1px;border-radius:calc(var(--border-radius-soft) * 4)}._chip_1hro6_178:not(:disabled){color:rgb(var(--gray-95-rgb) .65)}._chip--button_1hro6_199{cursor:pointer;border-color:transparent}._chip--button_1hro6_199:disabled{cursor:initial}._chip--button_1hro6_199:focus-visible{outline:none}._chip--button_1hro6_199:focus{outline:2px solid var(--black-100)}._chip--outlined_1hro6_212{padding:.3125rem .5rem;background-color:var(--white-100);border:1px solid var(--border);border-radius:calc(var(--border-radius-soft) * 4)}._chip--contained_1hro6_218{padding:.3125rem .5rem;border:1px solid var(--border);border-color:var(--accent);border-radius:calc(var(--border-radius-soft) * 4)}._chip__adornment_1hro6_224{display:flex;align-items:center;margin-right:.5rem}._chip__remove_1hro6_229{display:flex;margin-left:.5rem}._chip__remove_1hro6_229:focus-visible{outline:none}._chip__remove_1hro6_229:focus:not(:disabled){border-radius:calc(var(--border-radius-soft) * 4);outline:2px solid var(--black-100)}._chip__remove--disabled_1hro6_240{cursor:default}
@@ -1 +0,0 @@
1
- ._h1_f1r29_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_f1r29_7{font-weight:var(--typography-heading-bold)}._h2_f1r29_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_f1r29_17{font-weight:var(--typography-heading-bold)}._h3_f1r29_21{font-size:var(--heading-font-size);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height);margin:0}._h3--bold_f1r29_27{font-weight:var(--typography-heading-bold)}._h4_f1r29_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_f1r29_37{font-weight:var(--typography-heading-bold)}._body_f1r29_41{font-size:var(--body-font-size);font-weight:var(--body-weight);line-height:var(--body-line-height)}._body--large_f1r29_46{font-size:var(--body-font-size-large);line-height:var(--body-line-height-large)}._body--medium_f1r29_50{font-size:var(--body-font-size-medium);line-height:var(--body-line-height-medium)}._body--small_f1r29_54{font-size:var(--body-font-size-small);line-height:var(--body-line-height-small)}._body--tiny_f1r29_58{font-size:var(--body-font-size-tiny);line-height:var(--body-line-height-tiny)}._body--bold_f1r29_62{font-weight:var(--body-bold)}._body--strikethrough_f1r29_65{text-decoration:line-through}._body--underlined_f1r29_68{text-decoration:underline}._body--strikethrough-underlined_f1r29_71{text-decoration:underline line-through}._quote_f1r29_75{font-size:var(--quote-font-size);font-weight:var(--quote-font-weight);line-height:var(--quote-line-height)}._quote--large_f1r29_80{font-size:var(--quote-font-size-large);font-weight:var(--quote-font-weight-large);line-height:var(--quote-line-height-large)}._quote--bold_f1r29_85{font-weight:var(--body-bold)}._quote--strikethrough_f1r29_88{text-decoration:line-through}._quote--underlined_f1r29_91{text-decoration:underline}._quote--strikethrough-underlined_f1r29_94{text-decoration:underline line-through}._form__input_f1r29_98{font-size:var(--form-input-font-size);font-weight:var(--form-input-font-weight);line-height:var(--form-input-line-height)}._form__hint_f1r29_103{font-size:var(--form-hint-font-size);font-weight:var(--form-hint-font-weight);line-height:var(--form-hint-line-height)}._form__label_f1r29_108{font-size:var(--form-label-font-size);font-weight:var(--form-label-font-weight);line-height:var(--form-label-line-height)}._form__dropdown_f1r29_113{font-size:var(--form-dropdown-font-size);font-weight:var(--form-dropdown-font-weight);line-height:var(--form-dropdown-line-height)}._form--bold_f1r29_118{font-weight:var(--body-bold)}._form--strikethrough_f1r29_121{text-decoration:line-through}._form--underlined_f1r29_124{text-decoration:underline}._form--strikethrough-underlined_f1r29_127{text-decoration:underline line-through}._table__header_f1r29_131{font-size:var(--table-font-size);line-height:var(--table-line-height);font-weight:var(--table-header-font-weight)}._table__body_f1r29_136{font-size:var(--table-font-size);line-height:var(--table-line-height);font-weight:var(--table-body-font-weight)}._table__body--secondary_f1r29_141{font-size:var(--table-font-size);line-height:var(--table-line-height);line-height:var(--table-body-secondary-line-height)}._table--bold_f1r29_146{font-weight:var(--body-bold)}._table--strikethrough_f1r29_149{text-decoration:line-through}._table--underlined_f1r29_152{text-decoration:underline}._table--strikethrough-underlined_f1r29_155{text-decoration:underline line-through}._button_f1r29_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_f1r29_165{font-weight:var(--body-bold)}._button--strikethrough_f1r29_168{text-decoration:line-through}._button--underlined_f1r29_171{text-decoration:underline}._button--strikethrough-underlined_f1r29_174{text-decoration:underline line-through}._SM_f1r29_178{font-size:var(--font-size-small);font-weight:var(--font-weight-small);line-height:var(--font-line-height-small)}._SM--bold_f1r29_183{font-weight:var(--font-weight-700)}._icon-button_f1r29_187{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_f1r29_187:focus-visible{outline:none}._icon-button--primary_f1r29_199{color:var(--accent);fill:var(--accent)}._icon-button--primary_f1r29_199:hover{color:var(--accent-dark);fill:var(--accent-dark)}._icon-button--primary_f1r29_199:active{color:var(--accent-light);fill:var(--accent-light)}._icon-button--primary_f1r29_199:focus{color:var(--black-100);outline:2px solid var(--black-100);fill:var(--black-100)}._icon-button--primary_f1r29_199:disabled{color:var(--gray-50);cursor:default;fill:var(--gray-50)}._icon-button--square_f1r29_221{color:var(--accent);border:1px solid var(--gray-10);border-radius:6px;fill:var(--accent)}._icon-button--square_f1r29_221:focus{color:var(--black-100);outline:2px solid var(--black-100);fill:var(--black-100)}._icon-button--square_f1r29_221:disabled{color:var(--gray-50);cursor:default;fill:var(--gray-50)}._icon-button__container_f1r29_237{display:flex;gap:8px;align-items:center;text-wrap:nowrap}
@@ -1 +0,0 @@
1
- ._input__label_29e4w_1{display:block;margin-bottom:.3125rem;color:var(--gray-75)}._input__input-el-wrapper_29e4w_6{display:flex;align-items:center;border:solid .0625rem var(--gray-25);border-radius:.375rem;transition:all .3s}._input__input-el_29e4w_6{all:unset;width:100%;height:2.5rem;padding:0 1rem;font-size:var(--form-input-font-size);font-weight:var(--form-input-font-weight);line-height:var(--form-input-line-height);color:var(--gray-90);outline:none}._input__input-el_29e4w_6::placeholder{color:var(--gray-50)}._input__left-icon_29e4w_27,._input__right-icon_29e4w_27{display:flex;align-items:center;justify-content:center;height:1rem}._input__left-icon_29e4w_27{padding-left:1rem}._input__right-icon_29e4w_27{padding-right:1rem}._input__messages-wrapper_29e4w_39{display:flex;align-items:center;justify-content:space-between}._input__messages-wrapper_29e4w_39:not(:empty){margin-top:.3125rem}._input__info-message_29e4w_47,._input__error-message_29e4w_47{display:flex;gap:.375rem;align-items:center}._input__info-message_29e4w_47{color:var(--gray-75)}._input__error-message_29e4w_47{color:var(--alert)}._input__chars-counter_29e4w_58{margin-left:auto;color:var(--gray-75)}._input--disabled_29e4w_62 ._input__input-el_29e4w_6{color:var(--gray-50)}._input_29e4w_1:has(._input--disabled_29e4w_62) ._input__label_29e4w_1{color:var(--gray-25)}._input--focused_29e4w_68._input__input-el-wrapper_29e4w_6{border-color:var(--accent)}._input--error_29e4w_71._input__input-el-wrapper_29e4w_6{border-color:var(--alert)}._input__input-el-wrapper_29e4w_6:hover:not(._input--disabled_29e4w_62,._input--focused_29e4w_68,._input--error_29e4w_71){border-color:var(--gray-75)}
@@ -1 +0,0 @@
1
- ._inputSearch_114e1_1 input[type=search]::-webkit-search-cancel-button{width:1rem;height:1rem;-webkit-appearance:none;-moz-appearance:none;appearance:none;pointer-events:none;background:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_3694_1860)'%3e%3cpath%20d='M7.97207%206.94064L9.46895%205.46876C9.7627%205.17814%2010.2377%205.17814%2010.5033%205.46876C10.8221%205.76251%2010.8221%206.23751%2010.5033%206.50314L9.05957%207.97189L10.5033%209.46876C10.8221%209.76251%2010.8221%2010.2375%2010.5033%2010.5031C10.2377%2010.8219%209.7627%2010.8219%209.46895%2010.5031L7.97207%209.05939L6.50332%2010.5031C6.2377%2010.8219%205.7627%2010.8219%205.46895%2010.5031C5.17832%2010.2375%205.17832%209.76251%205.46895%209.46876L6.94082%207.97189L5.46895%206.50314C5.17832%206.23751%205.17832%205.76251%205.46895%205.46876C5.7627%205.17814%206.2377%205.17814%206.50332%205.46876L7.97207%206.94064Z'%20fill='%23838192'/%3e%3cpath%20opacity='0.4'%20d='M0%208C0%203.58125%203.58125%200%208%200C12.4187%200%2016%203.58125%2016%208C16%2012.4187%2012.4187%2016%208%2016C3.58125%2016%200%2012.4187%200%208ZM5.46875%206.50313L6.94063%207.97188L5.46875%209.46875C5.17812%209.7625%205.17812%2010.2375%205.46875%2010.5031C5.7625%2010.8219%206.2375%2010.8219%206.50313%2010.5031L7.97188%209.05937L9.46875%2010.5031C9.7625%2010.8219%2010.2375%2010.8219%2010.5031%2010.5031C10.8219%2010.2375%2010.8219%209.7625%2010.5031%209.46875L9.05937%207.97188L10.5031%206.50313C10.8219%206.2375%2010.8219%205.7625%2010.5031%205.46875C10.2375%205.17812%209.7625%205.17812%209.46875%205.46875L7.97188%206.94063L6.50313%205.46875C6.2375%205.17812%205.7625%205.17812%205.46875%205.46875C5.17812%205.7625%205.17812%206.2375%205.46875%206.50313Z'%20fill='%23838192'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_3694_1860'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e") no-repeat 50% 50%;background-size:contain;border-radius:50%;opacity:0}._inputSearch_114e1_1 input[type=search]:focus::-webkit-search-cancel-button{margin-left:1rem;pointer-events:all;cursor:pointer;opacity:1}
@@ -1 +0,0 @@
1
- ._page-header_fxc86_1{display:flex;flex-direction:column;justify-content:center;width:100%;min-height:7.375rem;background:var(--cream);-webkit-font-smoothing:antialiased!important}._page-header_fxc86_1:has(._page-header__top-content_fxc86_10){justify-content:flex-start}._page-header__top-content_fxc86_10,._page-header__main-content_fxc86_13,._page-header__bottom-content_fxc86_13{width:63.875rem;max-width:100%;margin:0 auto}._page-header__top-content_fxc86_10{padding:1rem 0 .5rem}._page-header__top-content_fxc86_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_fxc86_10 button:hover{color:var(--accent-dark)}._page-header__main-content_fxc86_13{display:flex}._page-header__main-left-content_fxc86_41{display:flex;flex:1;flex-direction:column;justify-content:center}._page-header__main-left-content_fxc86_41 ._title_fxc86_47,._page-header__main-left-content_fxc86_41 ._subtitle_fxc86_48{display:block;width:100%;padding:0;margin:0;color:var(--gray-90)}._page-header__main-left-content_fxc86_41 ._title_fxc86_47{font-size:1.5rem;font-weight:700;line-height:2rem}._page-header__main-left-content_fxc86_41 ._subtitle_fxc86_48{font-size:.875rem;font-weight:400;line-height:1.125rem}._page-header__main-right-content_fxc86_65{display:flex;align-items:center;margin-bottom:1.125rem}._page-header__bottom-content_fxc86_13{margin-top:.8125rem}
@@ -1 +0,0 @@
1
- ._pagination_n3y7g_1{display:flex;gap:16px;align-items:center;justify-content:space-between;padding:24px 0}._pagination_n3y7g_1 ._per-page-container_n3y7g_8{display:flex;gap:.25rem;align-items:center;font-size:var(--body-font-size-small);font-weight:var(--body-weight);line-height:var(--body-line-height-small);color:var(--gray-90)}._pagination_n3y7g_1 ._per-page-container__select_n3y7g_17{width:4rem;min-width:min-content;padding:.5rem}._pagination_n3y7g_1 ._pages-navigator-container_n3y7g_22{display:flex;gap:8px;align-items:center}._pagination_n3y7g_1 ._pages-navigator-container_n3y7g_22 ul{padding:0;margin:0}._pagination_n3y7g_1 ._pages-navigator-container_n3y7g_22 li{display:inline-flex;padding:0;margin:0;list-style:none}._pagination_n3y7g_1 ._pages-navigator-container_n3y7g_22 ._pages-navigator-container__label_n3y7g_37,._pagination_n3y7g_1 ._pages-navigator-container_n3y7g_22 ._page-number__btn_n3y7g_37{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_n3y7g_1 ._pages-navigator-container_n3y7g_22 button{cursor:pointer;background-color:transparent;border:none;outline:none}._pagination_n3y7g_1 ._pages-navigator-container_n3y7g_22 ._pages-navigator-container__previous-next-btn_n3y7g_50{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_n3y7g_1 ._pages-navigator-container_n3y7g_22 ._pages-navigator-container__previous-next-btn_n3y7g_50:hover{font-weight:var(--heading-font-weight);color:var(--accent-dark)}._pagination_n3y7g_1 ._pages-navigator-container_n3y7g_22 ._pages-navigator-container__previous-next-btn_n3y7g_50:disabled{font-weight:var(--heading-font-weight);color:var(--gray-50);cursor:default}._pagination_n3y7g_1 ._pages-navigator-container_n3y7g_22 ._page-number__btn_n3y7g_37{width:2rem;height:2rem;cursor:pointer;transition:all .3s}._pagination_n3y7g_1 ._pages-navigator-container_n3y7g_22 ._page-number__btn_n3y7g_37:hover{color:var(--accent-dark)}._pagination_n3y7g_1 ._pages-navigator-container_n3y7g_22 ._page-number__btn--selected_n3y7g_75{color:var(--white-100);background-color:var(--accent);border-radius:var(--border-radius)}._pagination_n3y7g_1 ._pages-navigator-container_n3y7g_22 ._page-number__btn--selected_n3y7g_75:hover{background-color:var(--accent-light)}
@@ -1 +0,0 @@
1
- ._select_185hp_1{background-color:red}._select__popup_185hp_4{z-index:9999}._select__listbox_185hp_7{min-width:10.75rem;max-height:400px;padding:.5rem;margin-top:.25rem;overflow-y:auto;background-color:#fff;border-radius:var(--border-radius);box-shadow:0 6px 12px rgba(var(--black-100-rgb),20%)}._select__listbox__option_185hp_17{display:flex;padding:.625rem;color:rgba(var(--gray-95-rgb),88%);list-style:none;cursor:pointer;border-radius:var(--border-radius-soft)}._select__listbox__option__icon_185hp_25{display:flex;margin-right:.5rem}._select__listbox__option__text_185hp_29{font-weight:700}._select__listbox__option_185hp_17:hover:not(._select__listbox__option--disabled_185hp_32){padding:.625rem;color:var(--accent);background-color:rgba(var(--black-100-rgb),4%);border-radius:var(--border-radius-soft)}._select__listbox__option_185hp_17:active:not(._select__listbox__option--disabled_185hp_32){color:var(--accent-dark)}._select__listbox__option--selected_185hp_41{background-color:var(--accent-lighter)}._select__listbox__option--disabled_185hp_32{color:rgba(var(--gray-95-rgb),25%);cursor:default;border:transparent}._select__listbox__option--disabled_185hp_32 ._select__list__option__icon_185hp_49{color:rgba(var(--gray-95-rgb),25%);fill:rgba(var(--gray-95-rgb),25%)}._select-button_185hp_54{display:flex;gap:.5rem;align-items:center;justify-content:space-between;width:11.875rem;min-width:fit-content;padding:.625rem 1rem;color:rgba(var(--gray-95-rgb),88%);cursor:pointer;background-color:var(--white-100);border:1px solid rgba(var(--black-100-rgb),6%);border-radius:var(--border-radius);outline:none}._select-button_185hp_54 ._base-Select-popup_185hp_69{z-index:1}._select-button__text_185hp_72{display:flex;gap:.5rem;width:100%;overflow:hidden;text-align:start;text-overflow:ellipsis;text-wrap:nowrap}._select-button__icon_185hp_81{display:flex}._select-button__icon_185hp_81 svg{color:rgba(var(--gray-95-rgb),88%)}._select-button--active_185hp_87{border:1px solid var(--accent)}._select-button_185hp_54:disabled{color:rgba(var(--gray-95-rgb),25%);cursor:default;border:1px solid var(--gray-10)}._select-button_185hp_54:disabled ._select-button__icon_185hp_81 svg{color:rgba(var(--gray-95-rgb),25%)}._select-button_185hp_54:hover:not(._select-button_185hp_54:disabled){border:1px solid var(--gray-25)}._select-button_185hp_54:focus:not(._select-button_185hp_54:disabled),._select-button_185hp_54:active:not(._select-button_185hp_54:disabled){border:1px solid var(--accent)}
@@ -1 +0,0 @@
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}}
@@ -1 +0,0 @@
1
- ._snackbar_13dfh_1{display:block;width:40.5rem;margin:0 auto}@keyframes _bottomToTop_13dfh_1{0%{transform:translateY(100%)}to{transform:translateY(0)}}._snackbar__snackbar-el-wrapper_13dfh_14{position:fixed;bottom:1rem;z-index:5500}._snackbar--content_13dfh_19{display:flex;align-items:center;justify-content:space-between;width:40.5rem;height:3.5rem;padding:1rem;overflow:hidden;border-radius:8px}._snackbar_13dfh_1:has(._snackbar--success_13dfh_29) ._snackbar--content_13dfh_19{background-color:var(--secondary-green-darker)}._snackbar_13dfh_1:has(._snackbar--error_13dfh_32) ._snackbar--content_13dfh_19{background-color:var(--alert)}._snackbar_13dfh_1:has(._snackbar--warning_13dfh_35) ._snackbar--content_13dfh_19{background-color:var(--secondary-orange)}._snackbar--message_13dfh_38{text-align:start}._snackbar--message_13dfh_38 p{font-size:1rem;font-weight:900;color:var(--white-100)}._snackbar--action_13dfh_46{position:absolute;top:1rem;right:1rem;padding:0;margin:0;cursor:pointer;background:none;border:none}
@@ -1 +0,0 @@
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)}
@@ -1 +0,0 @@
1
- ._stepper_1l08x_1{display:flex;justify-content:space-between;margin:2.5rem auto}._stepper_1l08x_1 ._item_1l08x_6{position:relative;display:flex;flex:1;flex-direction:column;align-items:center}._stepper_1l08x_1 ._item_1l08x_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_1l08x_1 ._item_1l08x_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_1l08x_1 ._item_1l08x_6 ._counter_1l08x_33{position:relative;z-index:5;display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;margin-bottom:.5rem;font-weight:700;line-height:1rem;color:var(--gray-50);background-color:var(--white-100);border:2px solid var(--gray-50);border-radius:50%;transition:all var(--transition-long)}._stepper_1l08x_1 ._item_1l08x_6 ._name_1l08x_50{font-size:var(--body-font-size-small);color:var(--gray-50);text-align:center;transition:all var(--transition-long)}._stepper_1l08x_1 ._item_1l08x_6:first-child:before,._stepper_1l08x_1 ._item_1l08x_6:last-child:after{content:none}._stepper_1l08x_1 ._item--completed_1l08x_59 ._counter_1l08x_33{font-weight:700;color:var(--white-100);background-color:var(--secondary-green-dark);border-color:var(--secondary-green-dark);transition:all var(--transition-long)}._stepper_1l08x_1 ._item--completed_1l08x_59 ._name_1l08x_50{font-weight:900;color:var(--secondary-green-dark);transition:all var(--transition-long)}._stepper_1l08x_1 ._item--completed_1l08x_59: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_1l08x_1 ._item--active_1l08x_81 ._counter_1l08x_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_1l08x_1 ._item--active_1l08x_81 ._name_1l08x_50{font-weight:700;color:var(--gray-75);transition:all var(--transition-long)}
@@ -1 +0,0 @@
1
- ._table_olvxb_1{color:var(--secondary-orange);border-spacing:0}._table--full-width_olvxb_5{width:100%}._table--white-theme_olvxb_8{background:var(--white-100)}._table--transparent-theme_olvxb_11{background:transparent}._table_olvxb_1 th._cell--left-alignment_olvxb_14,._table_olvxb_1 td._cell--left-alignment_olvxb_14{text-align:left}._table_olvxb_1 th._cell--center-alignment_olvxb_18,._table_olvxb_1 td._cell--center-alignment_olvxb_18{text-align:center}._table_olvxb_1 th._cell--right-alignment_olvxb_22,._table_olvxb_1 td._cell--right-alignment_olvxb_22{text-align:right}._table_olvxb_1 thead{font-size:var(--body-font-size-tiny);font-weight:var(--body-bold);color:var(--gray-90);text-transform:uppercase}._table_olvxb_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_olvxb_1 thead tr th ._th__wrapper_olvxb_40{padding:var(--children-pv) var(--children-ph)}._table_olvxb_1 thead tr th ._th__wrapper--pressed_olvxb_43{background-color:var(--gray-10);border-radius:6px}._table_olvxb_1 thead tr th ._th__wrapper--clickable_olvxb_47{cursor:pointer}._table_olvxb_1 thead tr th ._th__wrapper_olvxb_40 ._th__sort-icon-container_olvxb_50{padding-left:4px}._table_olvxb_1 tbody{font-size:var(--body-font-size);font-weight:var(--body-weight);color:var(--gray-90)}._table_olvxb_1 tbody tr:hover:not(._tr__row-or-cell--disabled_olvxb_58){background-color:rgb(var(--gray-5-rgb),.5)}._table_olvxb_1 tbody ._tr_olvxb_58,._table_olvxb_1 tbody ._td_olvxb_62{padding:16px 12px;line-height:var(--body-line-height);border-bottom:1px solid var(--gray-10)}._table_olvxb_1 tbody ._tr__row-or-cell--clickable_olvxb_67,._table_olvxb_1 tbody ._td__row-or-cell--clickable_olvxb_68{cursor:pointer}._table_olvxb_1 tbody ._tr__row-or-cell--disabled_olvxb_58,._table_olvxb_1 tbody ._td__row-or-cell--disabled_olvxb_72{background:var(--cream);filter:grayscale(1)}._table_olvxb_1 tbody ._tr__row-or-cell--disabled_olvxb_58 ._td-wrapper_olvxb_76,._table_olvxb_1 tbody ._td__row-or-cell--disabled_olvxb_72 ._td-wrapper_olvxb_76{opacity:.25}
@@ -1 +0,0 @@
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}
@@ -1 +0,0 @@
1
- ._container_13z5o_1{display:flex;flex-direction:column}
@@ -1 +0,0 @@
1
- ._toggle_1icxx_1{position:relative;display:flex;gap:1rem;align-items:center;cursor:pointer}._toggle__toggle-el-wrapper_1icxx_8{width:2.25rem;height:1.5rem}._toggle_1icxx_1 ._input_1icxx_12{position:absolute;top:0;left:0;z-index:1;width:100%;height:100%;margin:0;cursor:inherit;opacity:0}._toggle_1icxx_1 ._thumb_1icxx_23{position:relative;top:.375rem;left:.375rem;display:block;width:.75rem;height:.75rem;background-color:var(--gray-90);border-radius:.75rem;opacity:.4;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.12s;transition-property:all}._toggle_1icxx_1 ._track_1icxx_37{position:absolute;display:block;width:2.25rem;height:1.5rem;background:var(--white-100);border-radius:1.5rem;box-shadow:inset 0 0 0 .25rem var(--gray-50);opacity:.4}._toggle--focus-visible_1icxx_47._toggle__toggle-el-wrapper_1icxx_8 ._track_1icxx_37{border:1px solid var(--black-100);opacity:1}._toggle--checked_1icxx_51._toggle__toggle-el-wrapper_1icxx_8 ._thumb_1icxx_23{left:1.125rem;background-color:var(--accent);opacity:1}._toggle--checked_1icxx_51._toggle__toggle-el-wrapper_1icxx_8 ._track_1icxx_37{background:var(--accent);box-shadow:none;opacity:.4}._toggle__label_1icxx_61{font-size:.875rem;font-weight:400;color:var(--gray-75)}._toggle__toggle-el-wrapper_1icxx_8:hover:not(._toggle--focus-visible_1icxx_47,._toggle--checked_1icxx_51,._toggle--disabled_1icxx_66) ._track_1icxx_37{border-color:var(--gray-90);opacity:1}._toggle__toggle-el-wrapper_1icxx_8:hover:not(._toggle--focus-visible_1icxx_47,._toggle--checked_1icxx_51,._toggle--disabled_1icxx_66) ._thumb_1icxx_23{opacity:1}._toggle_1icxx_1:has(._toggle__toggle-el-wrapper_1icxx_8:hover:not(._toggle--focus-visible_1icxx_47,._toggle--checked_1icxx_51,._toggle--disabled_1icxx_66)) ._toggle__label_1icxx_61{color:var(--black-100)}._toggle_1icxx_1:has(._toggle--disabled_1icxx_66) ._toggle__label_1icxx_61{color:var(--gray-50)}._toggle_1icxx_1:has(._toggle--disabled_1icxx_66) ._track_1icxx_37{border-color:#dbdae266}._toggle_1icxx_1:has(._toggle--disabled_1icxx_66) ._thumb_1icxx_23{background-color:var(--gray-25);opacity:1}._toggle_1icxx_1:has(._toggle--disabled_1icxx_66) ._toggle--checked_1icxx_51 ._toggle__label_1icxx_61{font-weight:900;color:var(--accent)}._toggle_1icxx_1:has(._toggle--disabled_1icxx_66) ._toggle--checked_1icxx_51 ._thumb_1icxx_23{left:1.125rem;background-color:var(--accent);opacity:1}._toggle_1icxx_1:has(._toggle--disabled_1icxx_66) ._toggle--checked_1icxx_51 ._track_1icxx_37{background:var(--accent);box-shadow:none;opacity:.4}._toggle_1icxx_1:has(._toggle--checked_1icxx_51) ._toggle__label_1icxx_61{font-weight:900;color:var(--accent)}._toggle_1icxx_1:has(._toggle--focus-visible_1icxx_47) ._toggle__label_1icxx_61{color:var(--black-100)}
@@ -1 +0,0 @@
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,80 +0,0 @@
1
- import { f as E, b as a } from "./index-CH45lKw7.js";
2
- import * as r from "react";
3
- const f = {
4
- blur: "list:blur",
5
- focus: "list:focus",
6
- itemClick: "list:itemClick",
7
- itemHover: "list:itemHover",
8
- itemsChange: "list:itemsChange",
9
- keyDown: "list:keyDown",
10
- resetHighlight: "list:resetHighlight",
11
- highlightLast: "list:highlightLast",
12
- textNavigation: "list:textNavigation",
13
- clearSelection: "list:clearSelection"
14
- }, m = /* @__PURE__ */ r.createContext(null);
15
- process.env.NODE_ENV !== "production" && (m.displayName = "ListContext");
16
- function b(l) {
17
- const {
18
- handlePointerOverEvents: c = !1,
19
- item: t
20
- } = l, s = r.useContext(m);
21
- if (!s)
22
- throw new Error("useListItem must be used within a ListProvider");
23
- const {
24
- dispatch: n,
25
- getItemState: u
26
- } = s, {
27
- highlighted: d,
28
- selected: p,
29
- focusable: g
30
- } = u(t), v = r.useCallback((i) => (e) => {
31
- var o;
32
- if ((o = i.onClick) == null || o.call(i, e), !e.defaultPrevented) {
33
- if (process.env.NODE_ENV !== "production" && t === void 0)
34
- throw new Error(["MUI: The `item` provided to useListItem() is undefined.", "This should happen only during server-side rendering under React 17."].join(`
35
- `));
36
- n({
37
- type: f.itemClick,
38
- item: t,
39
- event: e
40
- });
41
- }
42
- }, [n, t]), C = r.useCallback((i) => (e) => {
43
- var o;
44
- if ((o = i.onMouseOver) == null || o.call(i, e), !e.defaultPrevented) {
45
- if (process.env.NODE_ENV !== "production" && t === void 0)
46
- throw new Error(["MUI: The `item` provided to useListItem() is undefined.", "This should happen only during server-side rendering under React 17."].join(`
47
- `));
48
- n({
49
- type: f.itemHover,
50
- item: t,
51
- event: e
52
- });
53
- }
54
- }, [n, t]);
55
- let h;
56
- return g && (h = d ? 0 : -1), {
57
- getRootProps: (i = {}) => {
58
- const e = E(i);
59
- return a({}, i, {
60
- onClick: v(e),
61
- onPointerOver: c ? C(e) : void 0,
62
- tabIndex: h
63
- });
64
- },
65
- highlighted: d,
66
- selected: p
67
- };
68
- }
69
- function x(l, c) {
70
- return function(s = {}) {
71
- const n = a({}, s, l(s));
72
- return a({}, n, c(n));
73
- };
74
- }
75
- export {
76
- f as L,
77
- m as a,
78
- x as c,
79
- b as u
80
- };
@@ -1,28 +0,0 @@
1
- import { Icon } from '../Icon/Icon';
2
- import { ReactNode } from 'react';
3
-
4
- export type AdviceTypes = 'without-results' | 'no-permission';
5
- export type AdviceProps = {
6
- /** Advice icon.
7
- * This property uses the Icon Component Props
8
- */
9
- icon?: React.ComponentProps<typeof Icon>;
10
- /** Advice SVG icon */
11
- IconSvg?: React.FunctionComponent<React.SVGProps<SVGSVGElement> & {
12
- title?: string | undefined;
13
- }>;
14
- /** Type of advice */
15
- type?: AdviceTypes;
16
- /** Advice content message */
17
- content: ReactNode;
18
- /** Space seperated list of CSS classes to apply */
19
- className?: string;
20
- /** ID that tests can use to get this component from the DOM */
21
- 'data-testid'?: string;
22
- };
23
- /**
24
- * Advice component provide HTML with an icon and a message.
25
- * Is commonly used to indicate No Permission and No Results.
26
- */
27
- declare const Advice: ({ icon, type, content, className, IconSvg, ...rest }: AdviceProps) => import("react/jsx-runtime").JSX.Element;
28
- export { Advice };
@@ -1,25 +0,0 @@
1
- import '../../assets/Advice.css';
2
- import { jsxs as m, jsx as t } from "react/jsx-runtime";
3
- import { c as y } from "../../clsx-DB4S2d7J.js";
4
- import { Icon as n } from "../Icon/Icon.js";
5
- const f = "_advice_1yug7_1", h = "_content_1yug7_7", l = {
6
- advice: f,
7
- content: h
8
- }, d = {
9
- "no-permission": "eye-slash",
10
- "without-results": "folder-magnifying-glass"
11
- }, g = ({ icon: s, type: o, content: r, className: i, IconSvg: a, ...c }) => {
12
- const e = {
13
- color: (s == null ? void 0 : s.color) || "var(--accent)",
14
- size: (s == null ? void 0 : s.size) || "3.375rem",
15
- icon: d[o] || (s == null ? void 0 : s.icon) || "",
16
- iconFamily: d[o] ? "fa/duotone" : (s == null ? void 0 : s.iconFamily) || "fa/duotone"
17
- };
18
- return /* @__PURE__ */ m("div", { className: y(l.advice, i), ...c, children: [
19
- a ? /* @__PURE__ */ t(a, { style: { color: e.color, height: e.size, width: e.size } }) : /* @__PURE__ */ t(n, { ...e }),
20
- typeof r == "string" ? /* @__PURE__ */ t("p", { children: r }) : /* @__PURE__ */ t("div", { className: l.content, children: r })
21
- ] });
22
- };
23
- export {
24
- g as Advice
25
- };
@@ -1,16 +0,0 @@
1
- import { StoryObj } from '@storybook/react';
2
-
3
- declare const meta: {
4
- title: string;
5
- component: ({ icon, type, content, className, IconSvg, ...rest }: import('./Advice').AdviceProps) => import("react/jsx-runtime").JSX.Element;
6
- tags: string[];
7
- parameters: {
8
- layout: string;
9
- };
10
- };
11
- export default meta;
12
- type Story = StoryObj<typeof meta>;
13
- export declare const WithoutResults: Story;
14
- export declare const NoPermission: Story;
15
- export declare const CustomIcon: Story;
16
- export declare const CustomIconSVG: Story;
@@ -1,32 +0,0 @@
1
- import { Either } from '../../types/helpers';
2
- import { ButtonOwnProps as MUIButtonBaseProps } from '@mui/base';
3
- import { ReactNode } from 'react';
4
-
5
- type Variant = 'primary' | 'secondary' | 'quick';
6
- type ButtonCoreProps = {
7
- /** Button to display and act in a loading state */
8
- loading?: boolean;
9
- /** Button to display and act in a disabled state */
10
- disabled?: boolean;
11
- /** Space separated list of CSS classes to apply */
12
- className?: string;
13
- /** Text or children to display */
14
- children: ReactNode;
15
- /** alternative style to use*/
16
- variant?: Variant;
17
- /** mui base button props */
18
- muiButtonBaseProps?: MUIButtonBaseProps;
19
- };
20
- interface ButtonPropsWithLink extends ButtonCoreProps {
21
- /** link for component to navigate to, if provide component will be an anchor */
22
- link: string;
23
- }
24
- interface ButtonPropsWithOnClick extends ButtonCoreProps {
25
- /** functionality to perform once clicked */
26
- onClick: () => void;
27
- /** HTML type of button */
28
- type?: HTMLButtonElement['type'];
29
- }
30
- export type ButtonProps = Either<ButtonPropsWithLink, ButtonPropsWithOnClick>;
31
- export declare const Button: import('react').ForwardRefExoticComponent<ButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
32
- export default Button;
@@ -1,94 +0,0 @@
1
- import '../../assets/Button.css';
2
- import { jsx as r, jsxs as w } from "react/jsx-runtime";
3
- import { forwardRef as m, useMemo as c } from "react";
4
- import { c as g } from "../../clsx-DB4S2d7J.js";
5
- import { LoadingSpinner as f } from "../LoadingSpinner/LoadingSpinner.js";
6
- import { B as k } from "../../Button-2b1peDFT.js";
7
- const p = "_h1_1swyh_1", q = "_h2_1swyh_11", S = "_h3_1swyh_21", M = "_h4_1swyh_31", B = "_body_1swyh_41", x = "_quote_1swyh_75", N = "_form__input_1swyh_98", v = "_form__hint_1swyh_103", j = "_form__label_1swyh_108", P = "_form__dropdown_1swyh_113", $ = "_table__header_1swyh_131", C = "_table__body_1swyh_136", L = "_button_1swyh_159", R = "_SM_1swyh_178", o = {
8
- h1: p,
9
- "h1--bold": "_h1--bold_1swyh_7",
10
- h2: q,
11
- "h2--bold": "_h2--bold_1swyh_17",
12
- h3: S,
13
- "h3--bold": "_h3--bold_1swyh_27",
14
- h4: M,
15
- "h4--bold": "_h4--bold_1swyh_37",
16
- body: B,
17
- "body--large": "_body--large_1swyh_46",
18
- "body--medium": "_body--medium_1swyh_50",
19
- "body--small": "_body--small_1swyh_54",
20
- "body--tiny": "_body--tiny_1swyh_58",
21
- "body--bold": "_body--bold_1swyh_62",
22
- "body--strikethrough": "_body--strikethrough_1swyh_65",
23
- "body--underlined": "_body--underlined_1swyh_68",
24
- "body--strikethrough-underlined": "_body--strikethrough-underlined_1swyh_71",
25
- quote: x,
26
- "quote--large": "_quote--large_1swyh_80",
27
- "quote--bold": "_quote--bold_1swyh_85",
28
- "quote--strikethrough": "_quote--strikethrough_1swyh_88",
29
- "quote--underlined": "_quote--underlined_1swyh_91",
30
- "quote--strikethrough-underlined": "_quote--strikethrough-underlined_1swyh_94",
31
- form__input: N,
32
- form__hint: v,
33
- form__label: j,
34
- form__dropdown: P,
35
- "form--bold": "_form--bold_1swyh_118",
36
- "form--strikethrough": "_form--strikethrough_1swyh_121",
37
- "form--underlined": "_form--underlined_1swyh_124",
38
- "form--strikethrough-underlined": "_form--strikethrough-underlined_1swyh_127",
39
- table__header: $,
40
- table__body: C,
41
- "table__body--secondary": "_table__body--secondary_1swyh_141",
42
- "table--bold": "_table--bold_1swyh_146",
43
- "table--strikethrough": "_table--strikethrough_1swyh_149",
44
- "table--underlined": "_table--underlined_1swyh_152",
45
- "table--strikethrough-underlined": "_table--strikethrough-underlined_1swyh_155",
46
- button: L,
47
- "button--bold": "_button--bold_1swyh_165",
48
- "button--strikethrough": "_button--strikethrough_1swyh_168",
49
- "button--underlined": "_button--underlined_1swyh_171",
50
- "button--strikethrough-underlined": "_button--strikethrough-underlined_1swyh_174",
51
- SM: R,
52
- "SM--bold": "_SM--bold_1swyh_183",
53
- "button--primary": "_button--primary_1swyh_199",
54
- "button--secondary": "_button--secondary_1swyh_218",
55
- "button--quick": "_button--quick_1swyh_235",
56
- "button__loading-container": "_button__loading-container_1swyh_258"
57
- }, G = m((n, h) => {
58
- const {
59
- onClick: s,
60
- link: d,
61
- loading: u,
62
- children: t,
63
- type: l = "button",
64
- disabled: b,
65
- className: e,
66
- variant: _ = "primary",
67
- muiButtonBaseProps: y
68
- } = n, i = {
69
- invert: _ === "secondary" || _ === "quick"
70
- }, a = c(
71
- () => g([o.button, o[`button--${_}`], e]),
72
- [e, _]
73
- );
74
- return /* @__PURE__ */ r(
75
- k,
76
- {
77
- type: l,
78
- href: d,
79
- onClick: s,
80
- disabled: b,
81
- className: a,
82
- ref: h,
83
- ...y ?? {},
84
- children: u ? /* @__PURE__ */ w("div", { className: o["button__loading-container"], children: [
85
- /* @__PURE__ */ r(f, { ...i }),
86
- t
87
- ] }) : t
88
- }
89
- );
90
- });
91
- export {
92
- G as Button,
93
- G as default
94
- };
@@ -1,62 +0,0 @@
1
- import { StoryObj } from '@storybook/react';
2
-
3
- declare const meta: {
4
- title: string;
5
- component: import('react').ForwardRefExoticComponent<import('./Button').ButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
6
- tags: string[];
7
- decorators: ((Story: import('@storybook/types').PartialStoryFn<import('@storybook/react').ReactRenderer, {
8
- link: string;
9
- loading?: boolean | undefined;
10
- disabled?: boolean | undefined;
11
- className?: string | undefined;
12
- children: import('react').ReactNode;
13
- variant?: ("primary" | "secondary" | "quick") | undefined;
14
- muiButtonBaseProps?: import('@mui/base').ButtonOwnProps | undefined;
15
- type?: undefined;
16
- onClick?: undefined;
17
- ref?: import('react').LegacyRef<HTMLButtonElement> | undefined;
18
- key?: import('react').Key | null | undefined;
19
- } | {
20
- onClick: () => void;
21
- type?: "button" | "submit" | "reset" | undefined;
22
- loading?: boolean | undefined;
23
- disabled?: boolean | undefined;
24
- className?: string | undefined;
25
- children: import('react').ReactNode;
26
- variant?: ("primary" | "secondary" | "quick") | undefined;
27
- muiButtonBaseProps?: import('@mui/base').ButtonOwnProps | undefined;
28
- link?: undefined;
29
- ref?: import('react').LegacyRef<HTMLButtonElement> | undefined;
30
- key?: import('react').Key | null | undefined;
31
- }>) => import("react/jsx-runtime").JSX.Element)[];
32
- argTypes: {
33
- onClick: {
34
- if: {
35
- arg: string;
36
- exists: false;
37
- };
38
- };
39
- type: {
40
- control: {
41
- type: "text";
42
- };
43
- if: {
44
- arg: string;
45
- exists: true;
46
- };
47
- };
48
- link: {
49
- control: {
50
- type: "text";
51
- };
52
- if: {
53
- arg: string;
54
- exists: false;
55
- };
56
- };
57
- };
58
- };
59
- export default meta;
60
- type Story = StoryObj<typeof meta>;
61
- export declare const Simple: Story;
62
- export declare const Link: Story;