@pismo/marola 1.0.0-beta.67 → 1.0.0-beta.7

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 (168) hide show
  1. package/dist/{Button-BAljjMv3.js → Button-2b1peDFT.js} +2 -2
  2. package/dist/{ClickAwayListener-DbEYZpyh.js → ClickAwayListener-BSW-Nd-y.js} +3 -4
  3. package/dist/Dialog.module-DFEmFdYT.js +30 -0
  4. package/dist/Group-B3p31ftp.js +26 -0
  5. package/dist/{Popup-Ck3XlWMq.js → Popup-B6ZSGIEI.js} +3 -3
  6. package/dist/{Portal-oY3enyAm.js → Portal-DIeBsWdL.js} +2 -2
  7. package/dist/SelectButton-K3OIfR5m.js +61 -0
  8. package/dist/{Tabs.module-BGGTkDc5.js → Tabs.module-jkH1Qjn7.js} +7 -7
  9. package/dist/Toggle-BWF0-SPB.js +175 -0
  10. package/dist/assets/Advice.css +1 -1
  11. package/dist/assets/Button.css +1 -1
  12. package/dist/assets/Checkbox.css +1 -1
  13. package/dist/assets/Dialog.css +1 -1
  14. package/dist/assets/EllipsisTooltip.css +1 -1
  15. package/dist/assets/Group.css +1 -1
  16. package/dist/assets/IconButton.css +1 -1
  17. package/dist/assets/Input.css +1 -1
  18. package/dist/assets/PageHeader.css +1 -1
  19. package/dist/assets/Pagination.css +1 -1
  20. package/dist/assets/SelectButton.css +1 -1
  21. package/dist/assets/Skeleton.css +1 -1
  22. package/dist/assets/Snackbar.css +1 -1
  23. package/dist/assets/SortTooltip.css +1 -1
  24. package/dist/assets/Stepper.css +1 -1
  25. package/dist/assets/Table.css +1 -1
  26. package/dist/assets/Tabs.css +1 -1
  27. package/dist/assets/Toggle.css +1 -1
  28. package/dist/assets/Toggle2.css +1 -1
  29. package/dist/assets/Typography.css +1 -1
  30. package/dist/{combineHooksSlotProps-C-zYvfnF.js → combineHooksSlotProps-DVjg9PRh.js} +1 -1
  31. package/dist/components/Adornment/Adornment.d.ts +2 -11
  32. package/dist/components/Adornment/Adornment.js +6 -6
  33. package/dist/components/Advice/Advice.d.ts +17 -32
  34. package/dist/components/Advice/Advice.js +40 -39
  35. package/dist/components/Advice/Advice.stories.d.ts +3 -4
  36. package/dist/components/Button/Button.d.ts +0 -2
  37. package/dist/components/Button/Button.js +49 -51
  38. package/dist/components/Checkbox/Checkbox.js +52 -52
  39. package/dist/components/Chip/Chip.d.ts +4 -6
  40. package/dist/components/Chip/Chip.js +7 -11
  41. package/dist/components/Chip/Chip.stories.d.ts +14 -5
  42. package/dist/components/Dialog/Actions.js +1 -1
  43. package/dist/components/Dialog/Backdrop.d.ts +3 -3
  44. package/dist/components/Dialog/Backdrop.js +7 -8
  45. package/dist/components/Dialog/CloseIconButton.d.ts +2 -1
  46. package/dist/components/Dialog/CloseIconButton.js +18 -15
  47. package/dist/components/Dialog/Dialog.d.ts +10 -16
  48. package/dist/components/Dialog/Dialog.js +166 -167
  49. package/dist/components/Dialog/Dialog.stories.d.ts +107 -113
  50. package/dist/components/Dialog/DialogTitle.d.ts +2 -5
  51. package/dist/components/Dialog/DialogTitle.js +16 -22
  52. package/dist/components/EllipsisTooltip/EllipsisTooltip.js +17 -30
  53. package/dist/components/EllipsisTooltip/EllipsisTooltip.stories.d.ts +1 -2
  54. package/dist/components/Icon/Icon.js +47 -315
  55. package/dist/components/Icon/types.d.ts +1 -1
  56. package/dist/components/IconButton/IconButton.js +42 -42
  57. package/dist/components/Input/Input.d.ts +5 -26
  58. package/dist/components/Input/Input.js +304 -319
  59. package/dist/components/Input/Input.stories.d.ts +21 -2
  60. package/dist/components/InputSearch/InputSearch.d.ts +7 -37
  61. package/dist/components/InputSearch/InputSearch.js +29 -27
  62. package/dist/components/InputSearch/InputSearch.stories.d.ts +3 -15
  63. package/dist/components/PageHeader/PageHeader.d.ts +2 -6
  64. package/dist/components/PageHeader/PageHeader.js +71 -78
  65. package/dist/components/PageHeader/PageHeader.stories.d.ts +1 -3
  66. package/dist/components/Pagination/Pagination.d.ts +1 -5
  67. package/dist/components/Pagination/Pagination.js +91 -90
  68. package/dist/components/Pagination/Pagination.stories.d.ts +1 -1
  69. package/dist/components/RowItem/RowItem.d.ts +2 -2
  70. package/dist/components/RowItem/RowItem.js +6 -10
  71. package/dist/components/Select/Select.d.ts +0 -22
  72. package/dist/components/Select/Select.js +413 -476
  73. package/dist/components/Select/SelectButton.d.ts +0 -2
  74. package/dist/components/Select/SelectButton.js +2 -3
  75. package/dist/components/Skeleton/Skeleton.d.ts +1 -3
  76. package/dist/components/Skeleton/Skeleton.js +14 -20
  77. package/dist/components/Skeleton/SkeletonTable.stories.d.ts +1 -1
  78. package/dist/components/Snackbar/Snackbar.js +94 -94
  79. package/dist/components/Snackbar/Snackbar.stories.d.ts +3 -3
  80. package/dist/components/SortTooltip/SortTooltip.js +46 -46
  81. package/dist/components/Stepper/Stepper.js +35 -35
  82. package/dist/components/Table/Table.d.ts +1 -3
  83. package/dist/components/Table/Table.js +99 -87
  84. package/dist/components/Table/Table.stories.d.ts +1 -1
  85. package/dist/components/Tabs/Tab.d.ts +3 -5
  86. package/dist/components/Tabs/Tab.js +36 -38
  87. package/dist/components/Tabs/TabPanel.d.ts +2 -4
  88. package/dist/components/Tabs/TabPanel.js +40 -51
  89. package/dist/components/Tabs/Tabs.d.ts +4 -6
  90. package/dist/components/Tabs/Tabs.js +128 -131
  91. package/dist/components/TextDisplay/TextDisplay.d.ts +3 -7
  92. package/dist/components/TextDisplay/TextDisplay.js +37 -44
  93. package/dist/components/TextDisplay/TextDisplay.stories.d.ts +1 -2
  94. package/dist/components/Toggle/Toggle.js +55 -55
  95. package/dist/components/ToggleGroup/Group.d.ts +0 -2
  96. package/dist/components/ToggleGroup/Group.js +2 -4
  97. package/dist/components/ToggleGroup/Toggle.d.ts +0 -2
  98. package/dist/components/ToggleGroup/Toggle.js +5 -9
  99. package/dist/components/ToggleGroup/ToggleGroup.js +2 -2
  100. package/dist/components/ToggleGroup/ToggleGroup.stories.d.ts +0 -2
  101. package/dist/components/Tooltip/Tooltip.d.ts +1 -3
  102. package/dist/components/Tooltip/Tooltip.js +4 -4
  103. package/dist/components/Tooltip/Tooltip.stories.d.ts +0 -1
  104. package/dist/components/Typography/Typography.js +47 -47
  105. package/dist/{useSlotProps-C_I1kEHr.js → index-CH45lKw7.js} +99 -99
  106. package/dist/{index-bQFToy-I.js → index-CjW42-M-.js} +1 -1
  107. package/dist/main.d.ts +0 -8
  108. package/dist/main.js +75 -91
  109. package/dist/marola.css +1 -1
  110. package/dist/{useButton-DcihopJG.js → useButton-DNk3wrQp.js} +1 -1
  111. package/dist/useCompoundItem-D1iRfg8D.js +84 -0
  112. package/dist/useEventCallback-xTG9piMa.js +45 -0
  113. package/dist/{useList-B9C55YB7.js → useList-B0hog_3-.js} +2 -2
  114. package/package.json +13 -22
  115. package/dist/Dialog.module-W7UCXlf3.js +0 -29
  116. package/dist/Group-DspH8hyO.js +0 -30
  117. package/dist/Popover.module-B4boCutS.js +0 -10
  118. package/dist/SelectButton-B38avP9u.js +0 -75
  119. package/dist/Toggle-MfR7l8Wn.js +0 -190
  120. package/dist/assets/Alert.css +0 -1
  121. package/dist/assets/Autocomplete.css +0 -1
  122. package/dist/assets/Avatar.css +0 -1
  123. package/dist/assets/Description.css +0 -1
  124. package/dist/assets/Popover.css +0 -1
  125. package/dist/assets/ResultWithChips.css +0 -1
  126. package/dist/assets/StepperNavigator.css +0 -1
  127. package/dist/components/Adornment/Adornment.stories.d.ts +0 -14
  128. package/dist/components/Adornment/adornment.test.d.ts +0 -1
  129. package/dist/components/Alert/Alert.d.ts +0 -11
  130. package/dist/components/Alert/Alert.js +0 -46
  131. package/dist/components/Alert/Alert.stories.d.ts +0 -24
  132. package/dist/components/Alert/Alert.test.d.ts +0 -1
  133. package/dist/components/Autocomplete/Autocomplete.d.ts +0 -20
  134. package/dist/components/Autocomplete/Autocomplete.js +0 -679
  135. package/dist/components/Autocomplete/Autocomplete.stories.d.ts +0 -23
  136. package/dist/components/Avatar/Avatar.d.ts +0 -15
  137. package/dist/components/Avatar/Avatar.js +0 -51
  138. package/dist/components/Avatar/Avatar.stories.d.ts +0 -25
  139. package/dist/components/ConfirmationDialog/ConfirmationDialog.d.ts +0 -14
  140. package/dist/components/ConfirmationDialog/ConfirmationDialog.js +0 -37
  141. package/dist/components/ConfirmationDialog/ConfirmationDialog.stories.d.ts +0 -23
  142. package/dist/components/ConfirmationDialog/ConfirmationModal.test.d.ts +0 -1
  143. package/dist/components/Description/Description.d.ts +0 -16
  144. package/dist/components/Description/Description.js +0 -64
  145. package/dist/components/Description/Description.stories.d.ts +0 -20
  146. package/dist/components/Description/Description.test.d.ts +0 -1
  147. package/dist/components/PageHeader/PageHeader.test.d.ts +0 -1
  148. package/dist/components/Popover/Popover.d.ts +0 -32
  149. package/dist/components/Popover/Popover.js +0 -24
  150. package/dist/components/Popover/Popover.stories.d.ts +0 -34
  151. package/dist/components/Popover/PopoverBody.d.ts +0 -6
  152. package/dist/components/Popover/PopoverBody.js +0 -6
  153. package/dist/components/Popover/PopoverFooter.d.ts +0 -6
  154. package/dist/components/Popover/PopoverFooter.js +0 -6
  155. package/dist/components/Popover/PopoverHeader.d.ts +0 -6
  156. package/dist/components/Popover/PopoverHeader.js +0 -6
  157. package/dist/components/ResultWithChips/ResultWithChips.d.ts +0 -12
  158. package/dist/components/ResultWithChips/ResultWithChips.js +0 -33
  159. package/dist/components/RowItem/RowItem.stories.d.ts +0 -17
  160. package/dist/components/RowItem/rowItem.test.d.ts +0 -1
  161. package/dist/components/StepperNavigator/StepperNavigator.d.ts +0 -58
  162. package/dist/components/StepperNavigator/StepperNavigator.js +0 -115
  163. package/dist/components/StepperNavigator/StepperNavigator.stories.d.ts +0 -18
  164. package/dist/components/StepperNavigator/StepperNavigator.test.d.ts +0 -1
  165. package/dist/ownerDocument-YGhwAnr1.js +0 -33
  166. package/dist/useCompoundItem-B7Eo_qZk.js +0 -68
  167. package/dist/useEventCallback-BAQJJ3ye.js +0 -14
  168. package/dist/useId-BW-oWmul.js +0 -19
@@ -0,0 +1,45 @@
1
+ import { P as a } from "./index-CH45lKw7.js";
2
+ import * as c from "react";
3
+ import { u as m } from "./useEnhancedEffect-CJGo-L3B.js";
4
+ function s(e, n) {
5
+ return process.env.NODE_ENV === "production" ? () => null : function(...o) {
6
+ return e(...o) || n(...o);
7
+ };
8
+ }
9
+ function d(e) {
10
+ const {
11
+ prototype: n = {}
12
+ } = e;
13
+ return !!n.isReactComponent;
14
+ }
15
+ function f(e, n, t, o, l) {
16
+ const u = e[n], p = l || n;
17
+ if (u == null || // When server-side rendering React doesn't warn either.
18
+ // This is not an accurate check for SSR.
19
+ // This is only in place for Emotion compat.
20
+ // TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved.
21
+ typeof window > "u")
22
+ return null;
23
+ let r;
24
+ const i = u.type;
25
+ return typeof i == "function" && !d(i) && (r = "Did you accidentally use a plain function component for an element instead?"), r !== void 0 ? new Error(`Invalid ${o} \`${p}\` supplied to \`${t}\`. Expected an element that can hold a ref. ${r} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
26
+ }
27
+ const y = s(a.element, f);
28
+ y.isRequired = s(a.element.isRequired, f);
29
+ function E(e) {
30
+ return e && e.ownerDocument || document;
31
+ }
32
+ function h(e) {
33
+ const n = c.useRef(e);
34
+ return m(() => {
35
+ n.current = e;
36
+ }), c.useRef((...t) => (
37
+ // @ts-expect-error hide `this`
38
+ (0, n.current)(...t)
39
+ )).current;
40
+ }
41
+ export {
42
+ y as e,
43
+ E as o,
44
+ h as u
45
+ };
@@ -1,6 +1,6 @@
1
- import { b as p, u as re, f as ie } from "./useSlotProps-C_I1kEHr.js";
1
+ import { b as p, u as re, f as ie } from "./index-CH45lKw7.js";
2
2
  import * as f from "react";
3
- import { L as x } from "./combineHooksSlotProps-C-zYvfnF.js";
3
+ import { L as x } from "./combineHooksSlotProps-DVjg9PRh.js";
4
4
  function W(t, e, r = (n, l) => n === l) {
5
5
  return t.length === e.length && t.every((n, l) => r(n, e[l]));
6
6
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pismo/marola",
3
3
  "description": "CDX tribe component library",
4
- "version": "1.0.0-beta.67",
4
+ "version": "1.0.0-beta.7",
5
5
  "type": "module",
6
6
  "main": "dist/main.js",
7
7
  "types": "dist/main.d.ts",
@@ -34,29 +34,22 @@
34
34
  "prebuild": "yarn export-files & yarn generate-icon-types",
35
35
  "build": "tsc --p ./tsconfig-build.json && vite build && mv ./dist/assets/marola.css ./dist",
36
36
  "postbuild": "storybook build --disable-telemetry --output-dir build",
37
- "storybook": "storybook dev -p 6006",
38
- "prepare": "husky"
37
+ "storybook": "storybook dev -p 6006"
39
38
  },
40
39
  "peerDependencies": {
41
40
  "react": "^18.2.0",
42
41
  "react-dom": "^18.2.0"
43
42
  },
44
43
  "devDependencies": {
45
- "@commitlint/cli": "^19.3.0",
46
- "@commitlint/config-conventional": "^19.2.2",
47
44
  "@ianvs/prettier-plugin-sort-imports": "^4.2.1",
48
- "@storybook/addon-a11y": "^8.3.4",
49
- "@storybook/addon-essentials": "^8.3.4",
50
- "@storybook/addon-interactions": "^8.3.4",
51
- "@storybook/addon-links": "^8.3.4",
52
- "@storybook/blocks": "^8.3.4",
53
- "@storybook/manager-api": "^8.3.4",
54
- "@storybook/preview-api": "^8.3.4",
55
- "@storybook/react": "^8.3.4",
56
- "@storybook/react-vite": "^8.3.4",
57
- "@storybook/test": "^8.3.4",
58
- "@storybook/theming": "^8.3.4",
59
- "@testing-library/jest-dom": "^6.4.6",
45
+ "@storybook/addon-a11y": "^8.0.8",
46
+ "@storybook/addon-essentials": "^8.0.8",
47
+ "@storybook/addon-interactions": "^8.0.8",
48
+ "@storybook/addon-links": "^8.0.8",
49
+ "@storybook/blocks": "^8.0.8",
50
+ "@storybook/react": "^8.0.8",
51
+ "@storybook/react-vite": "^8.0.8",
52
+ "@storybook/test": "^8.0.8",
60
53
  "@testing-library/react": "^15.0.5",
61
54
  "@types/node": "^20.12.2",
62
55
  "@types/react": "^18.2.66",
@@ -64,7 +57,6 @@
64
57
  "@typescript-eslint/eslint-plugin": "^7.6.0",
65
58
  "@typescript-eslint/parser": "^7.6.0",
66
59
  "@vitejs/plugin-react": "^4.2.1",
67
- "@vitest/coverage-v8": "^1.4.0",
68
60
  "clsx": "^2.1.0",
69
61
  "commitlint": "^19.2.1",
70
62
  "cypress": "^13.8.1",
@@ -74,16 +66,15 @@
74
66
  "eslint-plugin-react-hooks": "^4.6.0",
75
67
  "eslint-plugin-react-refresh": "^0.4.6",
76
68
  "eslint-plugin-simple-import-sort": "^12.0.0",
77
- "eslint-plugin-storybook": "^0.9.0",
69
+ "eslint-plugin-storybook": "^0.8.0",
78
70
  "glob": "^10.3.14",
79
71
  "husky": "^9.0.11",
80
72
  "jsdom": "^24.0.0",
81
- "lint-staged": "^15.2.7",
82
73
  "prettier": "^3.2.5",
83
74
  "react": "^18.2.0",
84
75
  "react-dom": "^18.2.0",
85
76
  "sass": "^1.72.0",
86
- "storybook": "^8.3.4",
77
+ "storybook": "^8.0.8",
87
78
  "stylelint": "^16.3.1",
88
79
  "stylelint-config-recess-order": "^5.0.0",
89
80
  "stylelint-config-standard-scss": "^13.1.0",
@@ -100,4 +91,4 @@
100
91
  "@mui/base": "^5.0.0-beta.40",
101
92
  "@mui/material": "^5.15.15"
102
93
  }
103
- }
94
+ }
@@ -1,29 +0,0 @@
1
- import './assets/Dialog.css';
2
- const _ = "_dialog_1vpwu_78", p = "_dialog__backdrop_1vpwu_88", a = "_dialog__panel_1vpwu_96", o = "_dialog__title_1vpwu_112", u = "_dialog__subtitle_1vpwu_119", t = "_dialog__divider_1vpwu_123", y = "_dialog__actions_1vpwu_137", g = {
3
- "u-typography-h1": "_u-typography-h1_1vpwu_1",
4
- "u-typography-h2": "_u-typography-h2_1vpwu_8",
5
- "u-typography-h3": "_u-typography-h3_1vpwu_15",
6
- "u-typography-h4": "_u-typography-h4_1vpwu_22",
7
- "u-typography-h5": "_u-typography-h5_1vpwu_29",
8
- "u-typography-h6": "_u-typography-h6_1vpwu_36",
9
- "u-typography-base": "_u-typography-base_1vpwu_43",
10
- "u-typography-base--xxl": "_u-typography-base--xxl_1vpwu_49",
11
- "u-typography-base--xl": "_u-typography-base--xl_1vpwu_53",
12
- "u-typography-base--lg": "_u-typography-base--lg_1vpwu_57",
13
- "u-typography-base--sm": "_u-typography-base--sm_1vpwu_61",
14
- "u-typography-base--bold": "_u-typography-base--bold_1vpwu_65",
15
- "u-typography-base--strikethrough": "_u-typography-base--strikethrough_1vpwu_68",
16
- "u-typography-base--underlined": "_u-typography-base--underlined_1vpwu_71",
17
- "u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_1vpwu_74",
18
- dialog: _,
19
- dialog__backdrop: p,
20
- dialog__panel: a,
21
- dialog__title: o,
22
- dialog__subtitle: u,
23
- dialog__divider: t,
24
- "dialog__close-icon": "_dialog__close-icon_1vpwu_127",
25
- dialog__actions: y
26
- };
27
- export {
28
- g as s
29
- };
@@ -1,30 +0,0 @@
1
- import './assets/Group.css';
2
- import { jsxs as l, jsx as o } from "react/jsx-runtime";
3
- import { forwardRef as n } from "react";
4
- import { c as u } from "./clsx-DB4S2d7J.js";
5
- import { Icon as m } from "./components/Icon/Icon.js";
6
- import { Typography as c } from "./components/Typography/Typography.js";
7
- const p = "_toggle__input_hu6m0_1", h = "_toggle__label_hu6m0_11", t = {
8
- toggle__input: p,
9
- toggle__label: h,
10
- "toggle__label--selected": "_toggle__label--selected_hu6m0_21",
11
- "toggle__label--disabled": "_toggle__label--disabled_hu6m0_21",
12
- "toggle-group__fieldset": "_toggle-group__fieldset_hu6m0_35",
13
- "toggle-group__options": "_toggle-group__options_hu6m0_40",
14
- "toggle-group__options-same-width": "_toggle-group__options-same-width_hu6m0_44",
15
- "toggle-group__error": "_toggle-group__error_hu6m0_47"
16
- }, y = n((e, r) => {
17
- const { children: s, legend: _, error: g, equalWidth: a } = e, d = e["data-testid"] ? `${e["data-testid"]}-legend` : void 0, i = e["data-testid"] ? `${e["data-testid"]}-error` : void 0;
18
- return /* @__PURE__ */ l("fieldset", { ref: r, "data-testid": e["data-testid"], className: t["toggle-group__fieldset"], children: [
19
- _ && /* @__PURE__ */ o("legend", { "data-testid": d, children: _ }),
20
- /* @__PURE__ */ o("div", { className: u(t["toggle-group__options"], a && t["toggle-group__options-same-width"]), children: s }),
21
- g && /* @__PURE__ */ l(c, { className: t["toggle-group__error"], "data-testid": i, children: [
22
- /* @__PURE__ */ o(m, { icon: "circle-exclamation" }),
23
- g
24
- ] })
25
- ] });
26
- });
27
- export {
28
- y as G,
29
- t as s
30
- };
@@ -1,10 +0,0 @@
1
- import './assets/Popover.css';
2
- const o = "_popover_n95k7_1", p = {
3
- popover: o,
4
- "popover-header": "_popover-header_n95k7_6",
5
- "popover-footer": "_popover-footer_n95k7_10",
6
- "popover-body": "_popover-body_n95k7_14"
7
- };
8
- export {
9
- p as s
10
- };
@@ -1,75 +0,0 @@
1
- import './assets/SelectButton.css';
2
- import { jsxs as l, jsx as e } from "react/jsx-runtime";
3
- import { forwardRef as g } from "react";
4
- import { c as d } from "./clsx-DB4S2d7J.js";
5
- import { Icon as p } from "./components/Icon/Icon.js";
6
- import { Typography as b } from "./components/Typography/Typography.js";
7
- const q = "_select__listbox__option__text_1abqy_65", x = "_select__wrapper_1abqy_78", m = "_select__label_1abqy_84", f = "_select_1abqy_57", w = "_select__popup_1abqy_99", v = "_select__listbox_1abqy_65", S = "_select__listbox__option_1abqy_65", k = "_select__listbox__option__icon_1abqy_129", t = {
8
- "u-typography-h1": "_u-typography-h1_1abqy_1",
9
- "u-typography-h2": "_u-typography-h2_1abqy_8",
10
- "u-typography-h3": "_u-typography-h3_1abqy_15",
11
- "u-typography-h4": "_u-typography-h4_1abqy_22",
12
- "u-typography-h5": "_u-typography-h5_1abqy_29",
13
- "u-typography-h6": "_u-typography-h6_1abqy_36",
14
- "u-typography-base": "_u-typography-base_1abqy_43",
15
- "u-typography-base--xxl": "_u-typography-base--xxl_1abqy_49",
16
- "u-typography-base--xl": "_u-typography-base--xl_1abqy_53",
17
- "u-typography-base--lg": "_u-typography-base--lg_1abqy_57",
18
- "select-button__text": "_select-button__text_1abqy_57",
19
- "u-typography-base--sm": "_u-typography-base--sm_1abqy_61",
20
- "u-typography-base--bold": "_u-typography-base--bold_1abqy_65",
21
- select__listbox__option__text: q,
22
- "u-typography-base--strikethrough": "_u-typography-base--strikethrough_1abqy_68",
23
- "u-typography-base--underlined": "_u-typography-base--underlined_1abqy_71",
24
- "u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_1abqy_74",
25
- select__wrapper: x,
26
- "select__wrapper--fit-content-width": "_select__wrapper--fit-content-width_1abqy_81",
27
- select__label: m,
28
- "messages-wrapper": "_messages-wrapper_1abqy_92",
29
- select: f,
30
- select__popup: w,
31
- select__listbox: v,
32
- select__listbox__option: S,
33
- select__listbox__option__icon: k,
34
- "select__listbox__option--disabled": "_select__listbox__option--disabled_1abqy_132",
35
- "select__listbox__option--selected": "_select__listbox__option--selected_1abqy_132",
36
- "select-button": "_select-button_1abqy_57",
37
- "select-button--full-width": "_select-button--full-width_1abqy_167",
38
- "select-button--placeholder": "_select-button--placeholder_1abqy_170",
39
- "base-Select-popup": "_base-Select-popup_1abqy_176",
40
- "select-button__icon": "_select-button__icon_1abqy_188",
41
- "select-button--active": "_select-button--active_1abqy_191",
42
- "select-button--error": "_select-button--error_1abqy_194",
43
- "info-message": "_info-message_1abqy_223",
44
- "error-message": "_error-message_1abqy_224"
45
- }, C = g((_, y) => {
46
- const { children: o, disabled: c, className: r, "data-testid": n, prefix: s, onClick: i, fullWidth: u, placeholder: h } = _, a = _["aria-expanded"];
47
- return /* @__PURE__ */ l(
48
- "button",
49
- {
50
- className: d(
51
- r,
52
- a ? t["select-button--active"] : "",
53
- t["select-button"],
54
- u && t["select-button--full-width"],
55
- String(h) === String(o) && t["select-button--placeholder"]
56
- ),
57
- type: "button",
58
- onClick: i,
59
- disabled: c,
60
- "data-testid": n,
61
- ref: y,
62
- children: [
63
- /* @__PURE__ */ l("span", { className: t["select-button__text"], children: [
64
- s && /* @__PURE__ */ e(b, { variant: "base-lg", children: s }),
65
- /* @__PURE__ */ e(b, { variant: "base-lg", children: o })
66
- ] }),
67
- /* @__PURE__ */ e("span", { className: t["select-button__icon"], children: a ? /* @__PURE__ */ e(p, { icon: "chevron-up" }) : /* @__PURE__ */ e(p, { icon: "chevron-down" }) })
68
- ]
69
- }
70
- );
71
- });
72
- export {
73
- C as S,
74
- t as s
75
- };
@@ -1,190 +0,0 @@
1
- import './assets/Toggle2.css';
2
- import { jsx as i, jsxs as k } from "react/jsx-runtime";
3
- import { forwardRef as u } from "react";
4
- import { c as l } from "./clsx-DB4S2d7J.js";
5
- import { Icon as C } from "./components/Icon/Icon.js";
6
- import { Typography as N } from "./components/Typography/Typography.js";
7
- import "./components/Input/Input.js";
8
- import "./components/Avatar/Avatar.js";
9
- import "./components/Button/Button.js";
10
- import { Adornment as v } from "./components/Adornment/Adornment.js";
11
- import "./components/Dialog/Dialog.js";
12
- import { Skeleton as f } from "./components/Skeleton/Skeleton.js";
13
- import "./components/IconButton/IconButton.js";
14
- import "./components/InputSearch/InputSearch.js";
15
- import "./components/Select/Select.js";
16
- import "./components/Popover/Popover.js";
17
- import "./components/Table/Table.js";
18
- import "./components/Tabs/Tabs.js";
19
- import { s as y } from "./Group-DspH8hyO.js";
20
- import "./contexts/SnackbarProvider/SnackbarProvider.js";
21
- import { B as x } from "./Button-BAljjMv3.js";
22
- const I = "_chip_1wvod_61", P = "_chip__adornment_1wvod_116", z = "_chip__remove_1wvod_121", n = {
23
- "u-typography-h1": "_u-typography-h1_1wvod_1",
24
- "u-typography-h2": "_u-typography-h2_1wvod_8",
25
- "u-typography-h3": "_u-typography-h3_1wvod_15",
26
- "u-typography-h4": "_u-typography-h4_1wvod_22",
27
- "u-typography-h5": "_u-typography-h5_1wvod_29",
28
- "u-typography-h6": "_u-typography-h6_1wvod_36",
29
- "u-typography-base": "_u-typography-base_1wvod_43",
30
- "u-typography-base--xxl": "_u-typography-base--xxl_1wvod_49",
31
- "u-typography-base--xl": "_u-typography-base--xl_1wvod_53",
32
- "u-typography-base--lg": "_u-typography-base--lg_1wvod_57",
33
- "u-typography-base--sm": "_u-typography-base--sm_1wvod_61",
34
- chip: I,
35
- "u-typography-base--bold": "_u-typography-base--bold_1wvod_65",
36
- "u-typography-base--strikethrough": "_u-typography-base--strikethrough_1wvod_68",
37
- "u-typography-base--underlined": "_u-typography-base--underlined_1wvod_71",
38
- "u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_1wvod_74",
39
- "chip--button": "_chip--button_1wvod_90",
40
- "chip--outlined": "_chip--outlined_1wvod_104",
41
- "chip--contained": "_chip--contained_1wvod_110",
42
- chip__adornment: P,
43
- chip__remove: z,
44
- "chip__remove--disabled": "_chip__remove--disabled_1wvod_133",
45
- "chip-loading": "_chip-loading_1wvod_137"
46
- }, S = u((t, d) => {
47
- const { children: _, onClickContent: o, disabled: r, className: a, variant: s } = t;
48
- let e = l(
49
- n.chip,
50
- { [n["chip--outlined"]]: s === "outlined" },
51
- { [n["chip--contained"]]: s === "contained" },
52
- a
53
- );
54
- return o ? (e += ` ${n["chip--button"]}`, /* @__PURE__ */ i(
55
- x,
56
- {
57
- onClick: o,
58
- disabled: r,
59
- "data-testid": t["data-testid"],
60
- ref: d,
61
- className: e,
62
- children: _
63
- }
64
- )) : /* @__PURE__ */ i("span", { "data-testid": t["data-testid"], ref: d, className: e, children: _ });
65
- }), X = u((t, d) => {
66
- const {
67
- label: _,
68
- className: o,
69
- onClickContent: r,
70
- leftAdornment: a,
71
- loading: s = !1,
72
- disabled: e = !1,
73
- variant: g = "default",
74
- onClickRemove: m
75
- } = t;
76
- if (s)
77
- return /* @__PURE__ */ i(
78
- f,
79
- {
80
- className: l(n["chip-loading"], t["className-skeleton"]),
81
- "data-testid": t["data-testid-skeleton"]
82
- }
83
- );
84
- const b = l(a == null ? void 0 : a.className, n.chip__adornment), w = a != null && a.customIcon ? { ...a, className: b } : { ...a, disabled: e, className: b };
85
- return /* @__PURE__ */ k(
86
- S,
87
- {
88
- ref: d,
89
- "data-testid": t["data-testid"],
90
- onClickContent: r,
91
- disabled: e,
92
- className: o,
93
- variant: g,
94
- children: [
95
- a && /* @__PURE__ */ i(v, { ...w }),
96
- _,
97
- m && /* @__PURE__ */ i(
98
- "span",
99
- {
100
- className: l(n.chip__remove, { [n["chip__remove--disabled"]]: e }),
101
- role: "button",
102
- tabIndex: e ? -1 : 0,
103
- "aria-label": "remove",
104
- onClick: (c) => {
105
- c == null || c.stopPropagation(), c == null || c.nativeEvent.stopImmediatePropagation(), m();
106
- },
107
- "aria-disabled": e,
108
- children: /* @__PURE__ */ i(C, { icon: "circle-xmark", size: "1.125rem", color: "rgba(var(--gray-95-rgb), 0.45)" })
109
- }
110
- )
111
- ]
112
- }
113
- );
114
- }), h = {
115
- "row-item": "_row-item_8z1a0_1",
116
- "row-item--clickable": "_row-item--clickable_8z1a0_13",
117
- "row-item--disabled": "_row-item--disabled_8z1a0_19",
118
- "row-item__content": "_row-item__content_8z1a0_22"
119
- }, Y = u((t, d) => {
120
- const { children: _, leftAdornment: o, disabled: r, onClick: a, buttons: s, ariaLabel: e, className: g } = t, m = l(o == null ? void 0 : o.className, h["row-item__adornment"]), w = {
121
- onClick: (p) => {
122
- r || a && a(p);
123
- },
124
- tabIndex: 0,
125
- "aria-label": e,
126
- role: "button"
127
- }, c = o != null && o.customIcon ? o : { size: "1rem", ...o };
128
- return /* @__PURE__ */ k(
129
- "div",
130
- {
131
- "data-testid": t["data-testid"],
132
- className: l(
133
- h["row-item"],
134
- a && h["row-item--clickable"],
135
- a && r && h["row-item--disabled"],
136
- g
137
- ),
138
- ...!!a && w,
139
- ref: d,
140
- children: [
141
- o && /* @__PURE__ */ i(v, { ...c, className: m, disabled: r }),
142
- /* @__PURE__ */ i("span", { className: l(h["row-item__content"]), children: _ }),
143
- s && /* @__PURE__ */ i(
144
- "div",
145
- {
146
- onClick: (p) => {
147
- p == null || p.stopPropagation(), p == null || p.nativeEvent.stopImmediatePropagation();
148
- },
149
- children: s
150
- }
151
- )
152
- ]
153
- }
154
- );
155
- }), Z = u((t, d) => {
156
- const { text: _, isSelected: o = !1, value: r, onChange: a, disabled: s } = t;
157
- return /* @__PURE__ */ k(
158
- "label",
159
- {
160
- className: l(
161
- [y.toggle__label],
162
- o && y["toggle__label--selected"],
163
- s && y["toggle__label--disabled"]
164
- ),
165
- "data-testid": t["data-testid"],
166
- children: [
167
- /* @__PURE__ */ i(
168
- "input",
169
- {
170
- className: l([y.toggle__input]),
171
- type: "radio",
172
- ref: d,
173
- value: r.toString(),
174
- onChange: () => a(r),
175
- role: "radio",
176
- checked: o,
177
- "aria-checked": o,
178
- disabled: s
179
- }
180
- ),
181
- /* @__PURE__ */ i(N, { bold: !0, children: _ })
182
- ]
183
- }
184
- );
185
- });
186
- export {
187
- X as C,
188
- Y as R,
189
- Z as T
190
- };
@@ -1 +0,0 @@
1
- ._u-typography-h1_9p2mz_1{font-size:var(--heading-font-size-1);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-1);margin:0}._u-typography-h2_9p2mz_8{font-size:var(--heading-font-size-2);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-2);margin:0}._u-typography-h3_9p2mz_15{font-size:var(--heading-font-size-3);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-3);margin:0}._u-typography-h4_9p2mz_22{font-size:var(--heading-font-size-4);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-4);margin:0}._u-typography-h5_9p2mz_29{font-size:var(--heading-font-size-5);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-5);margin:0}._u-typography-h6_9p2mz_36{font-size:var(--heading-font-size-6);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-6);margin:0}._u-typography-base_9p2mz_43{margin:0;font-size:var(--base-font-size);font-weight:var(--base-weight);line-height:var(--base-line-height)}._u-typography-base--xxl_9p2mz_49{font-size:var(--base-font-size-xxl);line-height:var(--base-line-height-xxl)}._u-typography-base--xl_9p2mz_53{font-size:var(--base-font-size-xl);line-height:var(--base-line-height-xl)}._u-typography-base--lg_9p2mz_57{font-size:var(--base-font-size-lg);line-height:var(--base-line-height-lg)}._u-typography-base--sm_9p2mz_61{font-size:var(--base-font-size-sm);line-height:var(--base-line-height-sm)}._u-typography-base--bold_9p2mz_65{font-weight:var(--base-bold)}._u-typography-base--strikethrough_9p2mz_68{text-decoration:line-through}._u-typography-base--underlined_9p2mz_71{text-decoration:underline}._u-typography-base--strikethrough-underlined_9p2mz_74{text-decoration:underline line-through}._container_9p2mz_78{display:flex;padding:16px;border:1px solid;border-radius:6px}._container--success_9p2mz_84{background-color:var(--green-1);border-color:var(--green-3)}._container--warning_9p2mz_88{background-color:var(--gold-1);border-color:var(--gold-3)}._container--error_9p2mz_92{background-color:var(--error-background);border-color:var(--error-border)}._container--info_9p2mz_96{background-color:var(--blue-1);border-color:var(--blue-3)}._container--default_9p2mz_100{background-color:var(--white-100);border-color:var(--border)}._container--close-icon_9p2mz_104{justify-self:flex-end;margin-left:16px;cursor:pointer}._container--content_9p2mz_109{width:100%}
@@ -1 +0,0 @@
1
- ._u-typography-h1_mj65r_1{font-size:var(--heading-font-size-1);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-1);margin:0}._u-typography-h2_mj65r_8{font-size:var(--heading-font-size-2);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-2);margin:0}._u-typography-h3_mj65r_15{font-size:var(--heading-font-size-3);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-3);margin:0}._u-typography-h4_mj65r_22{font-size:var(--heading-font-size-4);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-4);margin:0}._u-typography-h5_mj65r_29{font-size:var(--heading-font-size-5);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-5);margin:0}._u-typography-h6_mj65r_36{font-size:var(--heading-font-size-6);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-6);margin:0}._u-typography-base_mj65r_43{margin:0;font-size:var(--base-font-size);font-weight:var(--base-weight);line-height:var(--base-line-height)}._u-typography-base--xxl_mj65r_49{font-size:var(--base-font-size-xxl);line-height:var(--base-line-height-xxl)}._u-typography-base--xl_mj65r_53{font-size:var(--base-font-size-xl);line-height:var(--base-line-height-xl)}._u-typography-base--lg_mj65r_57{font-size:var(--base-font-size-lg);line-height:var(--base-line-height-lg)}._u-typography-base--sm_mj65r_61{font-size:var(--base-font-size-sm);line-height:var(--base-line-height-sm)}._u-typography-base--bold_mj65r_65,._autocomplete__dropdown-item_mj65r_65{font-weight:var(--base-bold)}._u-typography-base--strikethrough_mj65r_68{text-decoration:line-through}._u-typography-base--underlined_mj65r_71{text-decoration:underline}._u-typography-base--strikethrough-underlined_mj65r_74{text-decoration:underline line-through}._autocomplete_mj65r_65{position:relative;margin-bottom:16px}._autocomplete__dropdown-list_mj65r_82{position:absolute;z-index:1;width:100%;max-height:25rem;padding:0;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%)}._autocomplete__dropdown-item_mj65r_65{display:flex;padding:.375rem 1rem;color:rgba(var(--gray-95-rgb),88%);list-style:none;cursor:pointer;border-radius:var(--border-radius-soft)}._autocomplete__dropdown-item_mj65r_65[aria-selected=true]{color:var(--gray-90);background-color:var(--accent-lighter)}._autocomplete__dropdown-item_mj65r_65[aria-selected=true]._option-focused_mj65r_106{color:var(--accent)}._autocomplete__dropdown-item_mj65r_65:hover{color:var(--accent);background-color:rgba(var(--black-100-rgb),4%);border-radius:var(--border-radius-soft)}._option-focused_mj65r_106{color:var(--accent)}
@@ -1 +0,0 @@
1
- ._u-typography-h1_4n12g_1{font-size:var(--heading-font-size-1);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-1);margin:0}._u-typography-h2_4n12g_8{font-size:var(--heading-font-size-2);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-2);margin:0}._u-typography-h3_4n12g_15{font-size:var(--heading-font-size-3);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-3);margin:0}._u-typography-h4_4n12g_22{font-size:var(--heading-font-size-4);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-4);margin:0}._u-typography-h5_4n12g_29{font-size:var(--heading-font-size-5);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-5);margin:0}._u-typography-h6_4n12g_36{font-size:var(--heading-font-size-6);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-6);margin:0}._u-typography-base_4n12g_43{margin:0;font-size:var(--base-font-size);font-weight:var(--base-weight);line-height:var(--base-line-height)}._u-typography-base--xxl_4n12g_49{font-size:var(--base-font-size-xxl);line-height:var(--base-line-height-xxl)}._u-typography-base--xl_4n12g_53{font-size:var(--base-font-size-xl);line-height:var(--base-line-height-xl)}._u-typography-base--lg_4n12g_57,._avatar_4n12g_57{font-size:var(--base-font-size-lg);line-height:var(--base-line-height-lg)}._u-typography-base--sm_4n12g_61{font-size:var(--base-font-size-sm);line-height:var(--base-line-height-sm)}._u-typography-base--bold_4n12g_65{font-weight:var(--base-bold)}._u-typography-base--strikethrough_4n12g_68{text-decoration:line-through}._u-typography-base--underlined_4n12g_71{text-decoration:underline}._u-typography-base--strikethrough-underlined_4n12g_74{text-decoration:underline line-through}._avatar_4n12g_57{display:inline-flex;align-items:center;justify-content:center;background-color:var(--gray-5);overflow:hidden;position:relative}._avatar--large_4n12g_86{width:40px;height:40px}._avatar--default_4n12g_90{width:32px;height:32px}._avatar--small_4n12g_94{width:24px;height:24px}._avatar--custom_4n12g_98{width:var(--avatar-custom-size);height:var(--avatar-custom-size)}._avatar--circle_4n12g_102{border-radius:50%}._avatar--square_4n12g_105{border-radius:6px}._avatar__icon_4n12g_108,._avatar__image_4n12g_108,._avatar__text_4n12g_108{display:flex;align-items:center;justify-content:center;width:100%;height:100%}._avatar__image_4n12g_108 img{width:100%;height:100%;object-fit:cover}
@@ -1 +0,0 @@
1
- ._u-typography-h1_he0z3_1{font-size:var(--heading-font-size-1);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-1);margin:0}._u-typography-h2_he0z3_8{font-size:var(--heading-font-size-2);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-2);margin:0}._u-typography-h3_he0z3_15{font-size:var(--heading-font-size-3);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-3);margin:0}._u-typography-h4_he0z3_22{font-size:var(--heading-font-size-4);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-4);margin:0}._u-typography-h5_he0z3_29{font-size:var(--heading-font-size-5);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-5);margin:0}._u-typography-h6_he0z3_36{font-size:var(--heading-font-size-6);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-6);margin:0}._u-typography-base_he0z3_43{margin:0;font-size:var(--base-font-size);font-weight:var(--base-weight);line-height:var(--base-line-height)}._u-typography-base--xxl_he0z3_49{font-size:var(--base-font-size-xxl);line-height:var(--base-line-height-xxl)}._u-typography-base--xl_he0z3_53{font-size:var(--base-font-size-xl);line-height:var(--base-line-height-xl)}._u-typography-base--lg_he0z3_57{font-size:var(--base-font-size-lg);line-height:var(--base-line-height-lg)}._u-typography-base--sm_he0z3_61{font-size:var(--base-font-size-sm);line-height:var(--base-line-height-sm)}._u-typography-base--bold_he0z3_65{font-weight:var(--base-bold)}._u-typography-base--strikethrough_he0z3_68{text-decoration:line-through}._u-typography-base--underlined_he0z3_71{text-decoration:underline}._u-typography-base--strikethrough-underlined_he0z3_74{text-decoration:underline line-through}._container_he0z3_78{display:flex;flex-direction:column}._container--text_he0z3_82{opacity:88%}._container--inline_he0z3_85{flex-direction:row;gap:.5rem}
@@ -1 +0,0 @@
1
- ._popover_n95k7_1{background-color:#fff;border-radius:.375rem;box-shadow:0 0 10px #0003}._popover-header_n95k7_6{padding:1rem .5rem;border-bottom:1px solid var(--gray-5)}._popover-footer_n95k7_10{padding:1rem .5rem;border-top:1px solid var(--gray-5)}._popover-body_n95k7_14{padding:1rem .5rem}
@@ -1 +0,0 @@
1
- ._container_hgp0p_1{position:relative;padding:1.5rem 1rem;background:var(--white-100);border:1px solid var(--gray-50);border-radius:.375rem}._container_hgp0p_1 ._chip-item-wrapper_hgp0p_8{display:flex;gap:.5rem}._container_hgp0p_1:not(first-child){min-height:4.125rem;padding:1rem;margin-top:1.5rem}._container_hgp0p_1 ._label_hgp0p_17{position:absolute;top:-1px;left:1.18rem;display:flex;align-items:center;justify-content:center;padding:0 .25rem;font-family:Lato;font-size:.6875rem;font-style:normal;font-weight:400;line-height:1rem;color:var(--gray-75);background:var(--white-100);transform:translateY(-50%)}._chips-container_hgp0p_35{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}._chip-content_hgp0p_42{display:block;font-family:Lato;font-size:.6875rem;font-style:normal;line-height:1rem;color:var(--gray-90)}._chip-label_hgp0p_51{font-weight:700}
@@ -1 +0,0 @@
1
- ._stepper-navigator_27f6m_1{display:flex;justify-content:space-between;padding:1rem 0}._stepper-navigator_27f6m_1>span{display:flex;gap:1rem}._cancel-button_27f6m_11{color:var(--accent-alert-light);background-color:transparent}._cancel-button_27f6m_11:hover:not(:disabled){color:rgba(var(--alert-dark-rgb),.75);background-color:var(--gray-5)}._previous-button_27f6m_20{color:var(--gray-75);background-color:transparent;border:solid 1px var(--gray-75)}._previous-button_27f6m_20:disabled{border-color:transparent}._previous-button_27f6m_20:hover:not(:disabled){color:rgba(var(--gray-75-rgb),.75);background-color:var(--gray-5);border-color:rgba(var(--gray-75),.75)}._previous-button_27f6m_20,._cancel-button_27f6m_11{min-width:6.25rem}._next-button_27f6m_39,._finish-button_27f6m_40{min-width:15rem}._previous-button_27f6m_20,._cancel-button_27f6m_11,._next-button_27f6m_39,._finish-button_27f6m_40{display:flex;gap:.25rem;align-items:center;justify-content:space-between;padding:0 1rem;font-size:.875rem}._previous-button_27f6m_20>*,._cancel-button_27f6m_11>*,._next-button_27f6m_39>*,._finish-button_27f6m_40>*{display:inline-flex;flex:1;align-items:center;justify-content:center}._previous-button_27f6m_20>*:nth-child(1),._cancel-button_27f6m_11>*:nth-child(1),._next-button_27f6m_39>*:nth-child(1),._finish-button_27f6m_40>*:nth-child(1){justify-content:flex-start}._previous-button_27f6m_20>*:nth-child(3),._cancel-button_27f6m_11>*:nth-child(3),._next-button_27f6m_39>*:nth-child(3),._finish-button_27f6m_40>*:nth-child(3){justify-content:flex-end}
@@ -1,14 +0,0 @@
1
- import { StoryObj } from '@storybook/react';
2
-
3
- declare const meta: {
4
- title: string;
5
- component: (props: import('./Adornment').AdornmentProps) => 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 WithMarolaIcon: Story;
14
- export declare const WithCustomIcon: Story;
@@ -1 +0,0 @@
1
- export {};
@@ -1,11 +0,0 @@
1
- import { ReactNode } from 'react';
2
-
3
- type AlertType = 'success' | 'error' | 'info' | 'warning' | 'default';
4
- type AlertProps = {
5
- type?: AlertType;
6
- children: ReactNode;
7
- 'data-testid'?: string;
8
- onClose?: () => void;
9
- };
10
- export declare const Alert: ({ type, children, "data-testid": dataTestId, onClose }: AlertProps) => import("react/jsx-runtime").JSX.Element;
11
- export {};
@@ -1,46 +0,0 @@
1
- import '../../assets/Alert.css';
2
- import { jsxs as _, jsx as a } from "react/jsx-runtime";
3
- import { c as y } from "../../clsx-DB4S2d7J.js";
4
- import { Icon as s } from "../Icon/Icon.js";
5
- const h = "_container_9p2mz_78", t = {
6
- "u-typography-h1": "_u-typography-h1_9p2mz_1",
7
- "u-typography-h2": "_u-typography-h2_9p2mz_8",
8
- "u-typography-h3": "_u-typography-h3_9p2mz_15",
9
- "u-typography-h4": "_u-typography-h4_9p2mz_22",
10
- "u-typography-h5": "_u-typography-h5_9p2mz_29",
11
- "u-typography-h6": "_u-typography-h6_9p2mz_36",
12
- "u-typography-base": "_u-typography-base_9p2mz_43",
13
- "u-typography-base--xxl": "_u-typography-base--xxl_9p2mz_49",
14
- "u-typography-base--xl": "_u-typography-base--xl_9p2mz_53",
15
- "u-typography-base--lg": "_u-typography-base--lg_9p2mz_57",
16
- "u-typography-base--sm": "_u-typography-base--sm_9p2mz_61",
17
- "u-typography-base--bold": "_u-typography-base--bold_9p2mz_65",
18
- "u-typography-base--strikethrough": "_u-typography-base--strikethrough_9p2mz_68",
19
- "u-typography-base--underlined": "_u-typography-base--underlined_9p2mz_71",
20
- "u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_9p2mz_74",
21
- container: h,
22
- "container--success": "_container--success_9p2mz_84",
23
- "container--warning": "_container--warning_9p2mz_88",
24
- "container--error": "_container--error_9p2mz_92",
25
- "container--info": "_container--info_9p2mz_96",
26
- "container--default": "_container--default_9p2mz_100",
27
- "container--close-icon": "_container--close-icon_9p2mz_104",
28
- "container--content": "_container--content_9p2mz_109"
29
- }, g = ({ type: r = "default", children: e, "data-testid": p, onClose: o }) => {
30
- const n = y(t.container, t[`container--${r}`]);
31
- return /* @__PURE__ */ _("div", { "data-testid": p, className: n, children: [
32
- /* @__PURE__ */ a("div", { className: t["container--content"], children: e }),
33
- !!o && /* @__PURE__ */ a(
34
- "div",
35
- {
36
- "data-testid": `${p}-close-button`,
37
- onClick: () => o(),
38
- className: t["container--close-icon"],
39
- children: /* @__PURE__ */ a(s, { icon: "xmark" })
40
- }
41
- )
42
- ] });
43
- };
44
- export {
45
- g as Alert
46
- };
@@ -1,24 +0,0 @@
1
- import { StoryObj } from '@storybook/react';
2
-
3
- declare const meta: {
4
- title: string;
5
- component: ({ type, children, "data-testid": dataTestId, onClose }: {
6
- type?: ("default" | "error" | "success" | "info" | "warning") | undefined;
7
- children: import('react').ReactNode;
8
- 'data-testid'?: string | undefined;
9
- onClose?: (() => void) | undefined;
10
- }) => import("react/jsx-runtime").JSX.Element;
11
- tags: string[];
12
- parameters: {
13
- layout: string;
14
- };
15
- };
16
- export default meta;
17
- type Story = StoryObj<typeof meta>;
18
- export declare const General: Story;
19
- export declare const Success: Story;
20
- export declare const Error: Story;
21
- export declare const Warning: Story;
22
- export declare const Info: Story;
23
- export declare const WithCloseButton: Story;
24
- export declare const WithCustomAction: Story;
@@ -1 +0,0 @@
1
- export {};
@@ -1,20 +0,0 @@
1
- import { InputProps } from '../Input/Input.tsx';
2
- import { SyntheticEvent } from 'react';
3
-
4
- export type AutocompleteProps<T> = Omit<InputProps, 'onChange' | 'value'> & {
5
- /** Object key to be used as label when options are an array of object */
6
- labelKey?: T extends object ? keyof T : never;
7
- /** Object key to be used as value when options are an array of object */
8
- valueKey?: T extends object ? keyof T : never;
9
- /** Value */
10
- value?: T;
11
- /** Options array */
12
- options?: Array<T>;
13
- /** callback for new option selected */
14
- onChange?: (event: SyntheticEvent<Element, Event>, newValue: T) => void;
15
- /** callback when characters are entered into the input box */
16
- onInputChange?: (event: SyntheticEvent<Element, Event>, newValue: string) => void;
17
- /** Id to be applied as `data-testid` on the container element */
18
- 'data-testid-wrapper'?: string;
19
- };
20
- export declare const Autocomplete: <T extends string | object>({ labelKey, valueKey, options, type, value, onChange, onInputChange, "data-testid-wrapper": dataTestId, ...props }: AutocompleteProps<T>) => import("react/jsx-runtime").JSX.Element;