@recursica/mantine-adapter 0.6.0 → 0.8.0

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 (167) hide show
  1. package/.storybook/commonArgTypes.ts +148 -0
  2. package/CHANGELOG.md +75 -0
  3. package/dist/mantine-adapter.cjs +1 -1
  4. package/dist/mantine-adapter.cjs.map +1 -1
  5. package/dist/mantine-adapter.css +1 -1
  6. package/dist/mantine-adapter.js +1085 -687
  7. package/dist/mantine-adapter.js.map +1 -1
  8. package/dist/src/components/Checkbox/CheckboxGroup.d.ts +1 -1
  9. package/dist/src/components/Chip/Chip.d.ts +14 -2
  10. package/dist/src/components/Container/Container.d.ts +14 -0
  11. package/dist/src/components/Dropdown/Dropdown.d.ts +10 -2
  12. package/dist/src/components/Flex/Flex.d.ts +17 -0
  13. package/dist/src/components/Group/Group.d.ts +17 -0
  14. package/dist/src/components/Stack/Stack.d.ts +15 -0
  15. package/dist/src/components/TextArea/TextArea.d.ts +14 -2
  16. package/dist/src/components/index.d.ts +6 -0
  17. package/package.json +5 -2
  18. package/src/OverStyling.stories.tsx +174 -0
  19. package/src/Version.stories.tsx +56 -0
  20. package/src/components/Accordion/ACCORDION_IMPLEMENTATION_NOTES.md +48 -0
  21. package/src/components/Accordion/Accordion.module.css +261 -0
  22. package/src/components/Accordion/Accordion.stories.tsx +145 -0
  23. package/src/components/Accordion/Accordion.tsx +200 -0
  24. package/src/components/Accordion/index.ts +1 -0
  25. package/src/components/AssistiveElement/AssistiveElement.module.css +111 -0
  26. package/src/components/AssistiveElement/AssistiveElement.stories.tsx +73 -0
  27. package/src/components/AssistiveElement/AssistiveElement.tsx +91 -0
  28. package/src/components/Avatar/AVATAR_IMPLEMENTATION_NOTES.md +24 -0
  29. package/src/components/Avatar/Avatar.module.css +340 -0
  30. package/src/components/Avatar/Avatar.stories.tsx +102 -0
  31. package/src/components/Avatar/Avatar.tsx +100 -0
  32. package/src/components/Avatar/index.ts +1 -0
  33. package/src/components/Badge/BADGE_IMPLEMENTATION_NOTES.md +18 -0
  34. package/src/components/Badge/Badge.module.css +124 -0
  35. package/src/components/Badge/Badge.stories.tsx +77 -0
  36. package/src/components/Badge/Badge.tsx +66 -0
  37. package/src/components/Breadcrumb/BREADCRUMB_IMPLEMENTATION_NOTES.md +14 -0
  38. package/src/components/Breadcrumb/Breadcrumb.module.css +26 -0
  39. package/src/components/Breadcrumb/Breadcrumb.stories.tsx +77 -0
  40. package/src/components/Breadcrumb/Breadcrumb.tsx +64 -0
  41. package/src/components/Button/Button.module.css +275 -0
  42. package/src/components/Button/Button.stories.tsx +105 -0
  43. package/src/components/Button/Button.tsx +122 -0
  44. package/src/components/Button/IMPLEMENTATION_NOTES.md +45 -0
  45. package/src/components/Button/index.ts +1 -0
  46. package/src/components/Card/CARD_IMPLEMENTATION_NOTES.md +10 -0
  47. package/src/components/Card/Card.module.css +60 -0
  48. package/src/components/Card/Card.stories.tsx +141 -0
  49. package/src/components/Card/Card.tsx +176 -0
  50. package/src/components/Checkbox/CHECKBOX_IMPLEMENTATION_NOTES.md +25 -0
  51. package/src/components/Checkbox/Checkbox.module.css +204 -0
  52. package/src/components/Checkbox/Checkbox.stories.tsx +73 -0
  53. package/src/components/Checkbox/Checkbox.tsx +111 -0
  54. package/src/components/Checkbox/CheckboxGroup.stories.tsx +138 -0
  55. package/src/components/Checkbox/CheckboxGroup.tsx +140 -0
  56. package/src/components/Chip/CHIP_IMPLEMENTATION_NOTES.md +35 -0
  57. package/src/components/Chip/Chip.module.css +218 -0
  58. package/src/components/Chip/Chip.stories.tsx +115 -0
  59. package/src/components/Chip/Chip.tsx +143 -0
  60. package/src/components/Container/CONTAINER_IMPLEMENTATION_NOTES.md +4 -0
  61. package/src/components/Container/Container.module.css +7 -0
  62. package/src/components/Container/Container.stories.tsx +102 -0
  63. package/src/components/Container/Container.tsx +63 -0
  64. package/src/components/DatePicker/DatePicker.stories.tsx +22 -0
  65. package/src/components/DatePicker/DatePicker.tsx +7 -0
  66. package/src/components/Dropdown/DROPDOWN_IMPLEMENTATION_NOTES.md +7 -0
  67. package/src/components/Dropdown/Dropdown.module.css +272 -0
  68. package/src/components/Dropdown/Dropdown.stories.tsx +94 -0
  69. package/src/components/Dropdown/Dropdown.tsx +186 -0
  70. package/src/components/FileInput/FileInput.stories.tsx +22 -0
  71. package/src/components/FileInput/FileInput.tsx +7 -0
  72. package/src/components/FileUpload/FileUpload.stories.tsx +22 -0
  73. package/src/components/FileUpload/FileUpload.tsx +7 -0
  74. package/src/components/Flex/FLEX_IMPLEMENTATION_NOTES.md +4 -0
  75. package/src/components/Flex/Flex.module.css +7 -0
  76. package/src/components/Flex/Flex.stories.tsx +125 -0
  77. package/src/components/Flex/Flex.tsx +68 -0
  78. package/src/components/FormControlWrapper/FORMCONTROLWRAPPER_IMPLEMENTATION_NOTES.md +32 -0
  79. package/src/components/FormControlWrapper/FormControlWrapper.module.css +46 -0
  80. package/src/components/FormControlWrapper/FormControlWrapper.stories.tsx +116 -0
  81. package/src/components/FormControlWrapper/FormControlWrapper.tsx +170 -0
  82. package/src/components/Group/GROUP_IMPLEMENTATION_NOTES.md +4 -0
  83. package/src/components/Group/Group.module.css +7 -0
  84. package/src/components/Group/Group.stories.tsx +117 -0
  85. package/src/components/Group/Group.tsx +68 -0
  86. package/src/components/HoverCard/HoverCard.stories.tsx +17 -0
  87. package/src/components/HoverCard/HoverCard.tsx +7 -0
  88. package/src/components/Label/LABEL_IMPLEMENTATION_NOTES.md +48 -0
  89. package/src/components/Label/Label.module.css +177 -0
  90. package/src/components/Label/Label.stories.tsx +123 -0
  91. package/src/components/Label/Label.tsx +132 -0
  92. package/src/components/Label/index.ts +1 -0
  93. package/src/components/Link/Link.stories.tsx +17 -0
  94. package/src/components/Link/Link.tsx +7 -0
  95. package/src/components/Loader/Loader.stories.tsx +17 -0
  96. package/src/components/Loader/Loader.tsx +7 -0
  97. package/src/components/Menu/Menu.stories.tsx +17 -0
  98. package/src/components/Menu/Menu.tsx +7 -0
  99. package/src/components/Modal/Modal.stories.tsx +17 -0
  100. package/src/components/Modal/Modal.tsx +7 -0
  101. package/src/components/NumberInput/NumberInput.stories.tsx +22 -0
  102. package/src/components/NumberInput/NumberInput.tsx +7 -0
  103. package/src/components/Pagination/Pagination.stories.tsx +17 -0
  104. package/src/components/Pagination/Pagination.tsx +7 -0
  105. package/src/components/Panel/Panel.stories.tsx +17 -0
  106. package/src/components/Panel/Panel.tsx +7 -0
  107. package/src/components/Popover/Popover.stories.tsx +17 -0
  108. package/src/components/Popover/Popover.tsx +7 -0
  109. package/src/components/Radio/Radio.stories.tsx +22 -0
  110. package/src/components/Radio/Radio.tsx +7 -0
  111. package/src/components/ReadOnlyField/READ_ONLY_FIELD_IMPLEMENTATION_NOTES.md +15 -0
  112. package/src/components/ReadOnlyField/ReadOnlyField.module.css +49 -0
  113. package/src/components/ReadOnlyField/ReadOnlyField.stories.tsx +120 -0
  114. package/src/components/ReadOnlyField/ReadOnlyField.tsx +75 -0
  115. package/src/components/ReadOnlyField/ReadOnlyTextField.tsx +46 -0
  116. package/src/components/ReadOnlyField/WithReadOnlyWrapper.tsx +85 -0
  117. package/src/components/ReadOnlyField/index.ts +3 -0
  118. package/src/components/Search/Search.stories.tsx +17 -0
  119. package/src/components/Search/Search.tsx +7 -0
  120. package/src/components/SegmentedControl/SegmentedControl.stories.tsx +22 -0
  121. package/src/components/SegmentedControl/SegmentedControl.tsx +7 -0
  122. package/src/components/Slider/Slider.stories.tsx +22 -0
  123. package/src/components/Slider/Slider.tsx +7 -0
  124. package/src/components/Stack/STACK_IMPLEMENTATION_NOTES.md +4 -0
  125. package/src/components/Stack/Stack.module.css +7 -0
  126. package/src/components/Stack/Stack.stories.tsx +105 -0
  127. package/src/components/Stack/Stack.tsx +66 -0
  128. package/src/components/Stepper/Stepper.stories.tsx +17 -0
  129. package/src/components/Stepper/Stepper.tsx +7 -0
  130. package/src/components/Switch/Switch.stories.tsx +22 -0
  131. package/src/components/Switch/Switch.tsx +7 -0
  132. package/src/components/Table/Table.stories.tsx +17 -0
  133. package/src/components/Table/Table.tsx +7 -0
  134. package/src/components/Tabs/Tabs.stories.tsx +17 -0
  135. package/src/components/Tabs/Tabs.tsx +7 -0
  136. package/src/components/Text/Text.stories.tsx +88 -0
  137. package/src/components/Text/Text.tsx +54 -0
  138. package/src/components/TextArea/TEXTAREA_IMPLEMENTATION_NOTES.md +7 -0
  139. package/src/components/TextArea/TextArea.module.css +225 -0
  140. package/src/components/TextArea/TextArea.stories.tsx +94 -0
  141. package/src/components/TextArea/TextArea.tsx +164 -0
  142. package/src/components/TextField/TEXTFIELD_IMPLEMENTATION_NOTES.md +19 -0
  143. package/src/components/TextField/TextField.module.css +225 -0
  144. package/src/components/TextField/TextField.stories.tsx +162 -0
  145. package/src/components/TextField/TextField.tsx +138 -0
  146. package/src/components/TimePicker/TimePicker.stories.tsx +22 -0
  147. package/src/components/TimePicker/TimePicker.tsx +7 -0
  148. package/src/components/Timeline/Timeline.stories.tsx +17 -0
  149. package/src/components/Timeline/Timeline.tsx +7 -0
  150. package/src/components/Title/Title.stories.tsx +63 -0
  151. package/src/components/Title/Title.tsx +45 -0
  152. package/src/components/Toast/Toast.stories.tsx +17 -0
  153. package/src/components/Toast/Toast.tsx +7 -0
  154. package/src/components/Tooltip/Tooltip.stories.tsx +17 -0
  155. package/src/components/Tooltip/Tooltip.tsx +7 -0
  156. package/src/components/TransferList/TransferList.stories.tsx +17 -0
  157. package/src/components/TransferList/TransferList.tsx +7 -0
  158. package/src/components/index.ts +45 -0
  159. package/src/env.d.ts +7 -0
  160. package/src/index.ts +3 -0
  161. package/src/types/index.ts +9 -0
  162. package/src/types/mantine.d.ts +7 -0
  163. package/src/types/scss-modules.d.ts +9 -0
  164. package/src/utils/ColorSchemeWrapper.tsx +27 -0
  165. package/src/utils/copyToClipboard.ts +36 -0
  166. package/src/utils/filterStylingProps.ts +139 -0
  167. package/src/utils/index.ts +1 -0
@@ -1,7 +1,7 @@
1
- import { jsx as o, jsxs as j, Fragment as ie } from "react/jsx-runtime";
2
- import O, { forwardRef as f, useState as ke, useEffect as le, useCallback as Te, useId as Re } from "react";
3
- import { Accordion as Z, Avatar as Le, Badge as we, Breadcrumbs as Ee, Button as Fe, Card as K, Input as de, Box as pe, Checkbox as me } from "@mantine/core";
4
- const Se = [
1
+ import { jsx as e, jsxs as G, Fragment as No } from "react/jsx-runtime";
2
+ import V, { forwardRef as N, useId as Io, useEffect as Lo } from "react";
3
+ import { Accordion as to, Avatar as Bo, Badge as jo, Breadcrumbs as Eo, Button as Oo, Card as ro, Input as $o, Box as yo, Checkbox as bo, Chip as Do, Container as Go, Select as Mo, Flex as qo, Group as Vo, Stack as Ho, Text as Ko, Textarea as Uo, Title as Zo } from "@mantine/core";
4
+ const Yo = [
5
5
  "className",
6
6
  "classNames",
7
7
  "style",
@@ -45,7 +45,7 @@ const Se = [
45
45
  "mih",
46
46
  "mah"
47
47
  // Dimensions
48
- ], ze = /* @__PURE__ */ new Set([
48
+ ], Xo = /* @__PURE__ */ new Set([
49
49
  "m",
50
50
  "my",
51
51
  "mx",
@@ -60,7 +60,7 @@ const Se = [
60
60
  "left",
61
61
  "bottom",
62
62
  "right"
63
- ]), se = {
63
+ ]), uo = {
64
64
  "rec-none": "var(--recursica_brand_dimensions_general_none)",
65
65
  "rec-sm": "var(--recursica_brand_dimensions_general_sm)",
66
66
  "rec-default": "var(--recursica_brand_dimensions_general_default)",
@@ -69,463 +69,420 @@ const Se = [
69
69
  "rec-xl": "var(--recursica_brand_dimensions_general_xl)",
70
70
  "rec-2xl": "var(--recursica_brand_dimensions_general_2xl)"
71
71
  };
72
- function b(e, r) {
73
- if (r)
74
- return e;
75
- const a = { ...e };
76
- for (const s of Se)
77
- s in a && delete a[s];
78
- for (const [s, t] of Object.entries(a))
79
- typeof t == "string" && t.startsWith("rec-") && ze.has(s) && t in se && (a[s] = se[t]);
72
+ function $(o, s) {
73
+ if (s)
74
+ return o;
75
+ const a = { ...o };
76
+ for (const n of Yo)
77
+ n in a && delete a[n];
78
+ for (const [n, r] of Object.entries(a))
79
+ typeof r == "string" && r.startsWith("rec-") && Xo.has(n) && r in uo && (a[n] = uo[r]);
80
80
  return a;
81
81
  }
82
- const Be = "Accordion-module__root___Dem6d", Ie = "Accordion-module__item___7ryVk", Oe = "Accordion-module__noDivider___Ni2tT", je = "Accordion-module__control___b4wgX", qe = "Accordion-module__label___Ss7uW", Ve = "Accordion-module__chevron___i-HVZ", Ge = "Accordion-module__iconLeftWrapper___5oLen", De = "Accordion-module__panel___Wx50w", Me = "Accordion-module__content___PEM9t", S = {
83
- root: Be,
84
- item: Ie,
85
- noDivider: Oe,
86
- control: je,
87
- label: qe,
88
- chevron: Ve,
89
- iconLeftWrapper: Ge,
90
- panel: De,
91
- content: Me
92
- }, _e = function({
93
- variant: r = "unstyled",
82
+ const Jo = "Accordion-module__root___Dem6d", Qo = "Accordion-module__item___7ryVk", oe = "Accordion-module__noDivider___Ni2tT", ee = "Accordion-module__control___b4wgX", te = "Accordion-module__label___Ss7uW", re = "Accordion-module__chevron___i-HVZ", se = "Accordion-module__iconLeftWrapper___5oLen", ne = "Accordion-module__panel___Wx50w", ae = "Accordion-module__content___PEM9t", D = {
83
+ root: Jo,
84
+ item: Qo,
85
+ noDivider: oe,
86
+ control: ee,
87
+ label: te,
88
+ chevron: re,
89
+ iconLeftWrapper: se,
90
+ panel: ne,
91
+ content: ae
92
+ }, vo = function({
93
+ variant: s = "unstyled",
94
94
  overStyled: a = !1,
95
- ...s
95
+ ...n
96
96
  }) {
97
- const t = b(s, a), n = {
98
- root: S.root,
99
- item: S.item,
100
- control: S.control,
101
- label: S.label,
102
- chevron: S.chevron,
103
- panel: S.panel,
104
- content: S.content
105
- }, i = t.classNames;
97
+ const r = $(n, a), t = {
98
+ root: D.root,
99
+ item: D.item,
100
+ control: D.control,
101
+ label: D.label,
102
+ chevron: D.chevron,
103
+ panel: D.panel,
104
+ content: D.content
105
+ }, i = r.classNames;
106
106
  if (i && typeof i == "object" && !Array.isArray(i)) {
107
- const l = i;
108
- Object.keys(l).forEach((c) => {
109
- n[c] ? n[c] = `${n[c]} ${l[c]}` : n[c] = l[c];
107
+ const d = i;
108
+ Object.keys(d).forEach((c) => {
109
+ t[c] ? t[c] = `${t[c]} ${d[c]}` : t[c] = d[c];
110
110
  });
111
111
  }
112
- const d = t.className;
113
- return /* @__PURE__ */ o(
114
- Z,
112
+ const l = r.className;
113
+ return /* @__PURE__ */ e(
114
+ to,
115
115
  {
116
- variant: r,
117
- className: d,
118
- classNames: n,
119
- ...t
116
+ variant: s,
117
+ className: l,
118
+ classNames: t,
119
+ ...r
120
120
  }
121
121
  );
122
122
  };
123
- _e.displayName = "Accordion";
124
- const ue = f(function({ title: r, leftIcon: a, divider: s = !0, children: t, overStyled: n = !1, ...i }, d) {
125
- const l = b(i, n), c = l.className, m = [s ? void 0 : S.noDivider, c].filter(Boolean).join(" ") || void 0;
126
- return /* @__PURE__ */ o(
127
- Z.Item,
123
+ vo.displayName = "Accordion";
124
+ const Co = N(function({ title: s, leftIcon: a, divider: n = !0, children: r, overStyled: t = !1, ...i }, l) {
125
+ const d = $(i, t), c = d.className, p = [n ? void 0 : D.noDivider, c].filter(Boolean).join(" ") || void 0;
126
+ return /* @__PURE__ */ e(
127
+ to.Item,
128
128
  {
129
- ref: d,
130
- className: m,
131
- ...l,
132
- children: r ? /* @__PURE__ */ j(ie, { children: [
133
- /* @__PURE__ */ o(Q, { leftIcon: a, children: r }),
134
- /* @__PURE__ */ o(ee, { children: t })
135
- ] }) : t
129
+ ref: l,
130
+ className: p,
131
+ ...d,
132
+ children: s ? /* @__PURE__ */ G(No, { children: [
133
+ /* @__PURE__ */ e(lo, { leftIcon: a, children: s }),
134
+ /* @__PURE__ */ e(po, { children: r })
135
+ ] }) : r
136
136
  }
137
137
  );
138
138
  });
139
- ue.displayName = "AccordionItem";
140
- const Q = f(function({ leftIcon: r, children: a, overStyled: s = !1, ...t }, n) {
141
- const i = b(t, s), d = i.className;
142
- return /* @__PURE__ */ o(
143
- Z.Control,
139
+ Co.displayName = "AccordionItem";
140
+ const lo = N(function({ leftIcon: s, children: a, overStyled: n = !1, ...r }, t) {
141
+ const i = $(r, n), l = i.className;
142
+ return /* @__PURE__ */ e(
143
+ to.Control,
144
144
  {
145
- ref: n,
146
- className: d,
147
- icon: r ? /* @__PURE__ */ o("span", { className: S.iconLeftWrapper, "aria-hidden": !0, children: r }) : void 0,
145
+ ref: t,
146
+ className: l,
147
+ icon: s ? /* @__PURE__ */ e("span", { className: D.iconLeftWrapper, "aria-hidden": !0, children: s }) : void 0,
148
148
  ...i,
149
149
  children: a
150
150
  }
151
151
  );
152
152
  });
153
- Q.displayName = "AccordionControl";
154
- const ee = f(function({ overStyled: r = !1, ...a }, s) {
155
- const t = b(a, r), n = t.className;
156
- return /* @__PURE__ */ o(
157
- Z.Panel,
153
+ lo.displayName = "AccordionControl";
154
+ const po = N(function({ overStyled: s = !1, ...a }, n) {
155
+ const r = $(a, s), t = r.className;
156
+ return /* @__PURE__ */ e(
157
+ to.Panel,
158
158
  {
159
- ref: s,
160
- className: n,
161
- ...t
159
+ ref: n,
160
+ className: t,
161
+ ...r
162
162
  }
163
163
  );
164
164
  });
165
- ee.displayName = "AccordionPanel";
166
- const oe = _e;
167
- oe.Item = ue;
168
- oe.Control = Q;
169
- oe.Panel = ee;
170
- const He = "Avatar-module__root___fXu-J", Ze = "Avatar-module__iconWrapper___ojly2", Ke = "Avatar-module__textWrapper___zp-jD", Ye = "Avatar-module__image___ieqGp", Ue = "Avatar-module__placeholder___IDW7-", k = {
171
- root: He,
172
- iconWrapper: Ze,
173
- textWrapper: Ke,
174
- image: Ye,
175
- placeholder: Ue
176
- }, Xe = f(function({
177
- size: r = "default",
165
+ po.displayName = "AccordionPanel";
166
+ const _o = vo;
167
+ _o.Item = Co;
168
+ _o.Control = lo;
169
+ _o.Panel = po;
170
+ const ce = "Avatar-module__root___fXu-J", ie = "Avatar-module__iconWrapper___ojly2", le = "Avatar-module__textWrapper___zp-jD", de = "Avatar-module__image___ieqGp", pe = "Avatar-module__placeholder___IDW7-", L = {
171
+ root: ce,
172
+ iconWrapper: ie,
173
+ textWrapper: le,
174
+ image: de,
175
+ placeholder: pe
176
+ }, _e = N(function({
177
+ size: s = "default",
178
178
  variant: a = "solid",
179
- icon: s,
180
- className: t,
181
- classNames: n,
179
+ icon: n,
180
+ className: r,
181
+ classNames: t,
182
182
  children: i,
183
- style: d,
184
- src: l,
183
+ style: l,
184
+ src: d,
185
185
  ...c
186
- }, m) {
186
+ }, p) {
187
187
  const _ = {
188
188
  solid: "filled",
189
189
  outline: "outline",
190
190
  ghost: "transparent"
191
- }, N = {
191
+ }, u = {
192
192
  default: "md",
193
193
  small: "sm",
194
194
  large: "lg"
195
195
  };
196
- let y = "text";
197
- l ? y = "image" : s && (y = "icon");
198
- const p = {
199
- root: k.root,
200
- image: k.image,
201
- placeholder: k.placeholder
196
+ let m = "text";
197
+ d ? m = "image" : n && (m = "icon");
198
+ const h = {
199
+ root: L.root,
200
+ image: L.image,
201
+ placeholder: L.placeholder
202
202
  };
203
- if (n && typeof n == "object" && !Array.isArray(n)) {
204
- const h = n;
205
- p.root = h.root ? `${k.root} ${h.root}` : k.root, p.image = h.image ? `${k.image} ${h.image}` : k.image, p.placeholder = h.placeholder ? `${k.placeholder} ${h.placeholder}` : k.placeholder;
203
+ if (t && typeof t == "object" && !Array.isArray(t)) {
204
+ const y = t;
205
+ h.root = y.root ? `${L.root} ${y.root}` : L.root, h.image = y.image ? `${L.image} ${y.image}` : L.image, h.placeholder = y.placeholder ? `${L.placeholder} ${y.placeholder}` : L.placeholder;
206
206
  }
207
- return /* @__PURE__ */ o(
208
- Le,
207
+ return /* @__PURE__ */ e(
208
+ Bo,
209
209
  {
210
- ref: m,
211
- className: t,
212
- classNames: p,
210
+ ref: p,
211
+ className: r,
212
+ classNames: h,
213
213
  variant: _[a],
214
- size: N[r],
215
- style: d,
216
- src: l,
214
+ size: u[s],
215
+ style: l,
216
+ src: d,
217
217
  "data-variant": a,
218
- "data-size": r,
219
- "data-style": y,
218
+ "data-size": s,
219
+ "data-style": m,
220
220
  ...c,
221
- children: s != null ? /* @__PURE__ */ o("span", { className: k.iconWrapper, "aria-hidden": !0, children: s }) : i != null ? /* @__PURE__ */ o("span", { className: k.textWrapper, children: i }) : void 0
221
+ children: n != null ? /* @__PURE__ */ e("span", { className: L.iconWrapper, "aria-hidden": !0, children: n }) : i != null ? /* @__PURE__ */ e("span", { className: L.textWrapper, children: i }) : void 0
222
222
  }
223
223
  );
224
224
  });
225
- Xe.displayName = "Avatar";
226
- const Je = "Badge-module__root___5osNT", E = {
227
- root: Je
228
- }, Qe = f(function({ variant: r = "primary-color", overStyled: a = !1, ...s }, t) {
229
- const n = b(s, a), i = {
225
+ _e.displayName = "Avatar";
226
+ const me = "Badge-module__root___5osNT", E = {
227
+ root: me
228
+ }, ue = N(function({ variant: s = "primary-color", overStyled: a = !1, ...n }, r) {
229
+ const t = $(n, a), i = {
230
230
  root: E.root,
231
231
  section: E.section,
232
232
  label: E.label
233
- }, d = n.classNames;
234
- if (d && typeof d == "object" && !Array.isArray(d)) {
235
- const m = d;
236
- i.root = m.root ? `${E.root} ${m.root}` : E.root, i.section = m.section ?? E.section, i.label = m.label ?? E.label;
233
+ }, l = t.classNames;
234
+ if (l && typeof l == "object" && !Array.isArray(l)) {
235
+ const p = l;
236
+ i.root = p.root ? `${E.root} ${p.root}` : E.root, i.section = p.section ?? E.section, i.label = p.label ?? E.label;
237
237
  }
238
- const l = n.className, c = l ? `${E.root} ${l}` : E.root;
239
- return /* @__PURE__ */ o(
240
- we,
238
+ const d = t.className, c = d ? `${E.root} ${d}` : E.root;
239
+ return /* @__PURE__ */ e(
240
+ jo,
241
241
  {
242
- ref: t,
242
+ ref: r,
243
243
  variant: "filled",
244
- "data-variant": r,
245
- ...n,
244
+ "data-variant": s,
245
+ ...t,
246
246
  className: c,
247
247
  classNames: i
248
248
  }
249
249
  );
250
250
  });
251
- Qe.displayName = "Badge";
252
- const eo = "Breadcrumb-module__root___x-9ln", oo = "Breadcrumb-module__separator___qrUX-", B = {
253
- root: eo,
254
- separator: oo
255
- }, to = f(
256
- function({ overStyled: r = !1, ...a }, s) {
257
- const t = b(a, r), n = {
258
- root: B.root,
259
- separator: B.separator
260
- }, i = t.classNames;
261
- if (i && typeof i == "object" && !Array.isArray(i)) {
262
- const c = i;
263
- n.root = c.root ? `${B.root} ${c.root}` : B.root, n.separator = c.separator ? `${B.separator} ${c.separator}` : B.separator;
251
+ ue.displayName = "Badge";
252
+ const fe = "Breadcrumb-module__root___x-9ln", he = "Breadcrumb-module__separator___qrUX-", q = {
253
+ root: fe,
254
+ separator: he
255
+ }, Ne = N(
256
+ function({ overStyled: s = !1, separator: a = ">", ...n }, r) {
257
+ const t = $(
258
+ { separator: a, ...n },
259
+ s
260
+ ), i = {
261
+ root: q.root,
262
+ separator: q.separator
263
+ }, l = t.classNames;
264
+ if (l && typeof l == "object" && !Array.isArray(l)) {
265
+ const p = l;
266
+ i.root = p.root ? `${q.root} ${p.root}` : q.root, i.separator = p.separator ? `${q.separator} ${p.separator}` : q.separator;
264
267
  }
265
- const d = t.className, l = d ? `${B.root} ${d}` : B.root;
266
- return /* @__PURE__ */ o(
267
- Ee,
268
+ const d = t.className, c = d ? `${q.root} ${d}` : q.root;
269
+ return /* @__PURE__ */ e(
270
+ Eo,
268
271
  {
269
- ref: s,
272
+ ref: r,
270
273
  ...t,
271
- className: l,
272
- classNames: n
274
+ className: c,
275
+ classNames: i
273
276
  }
274
277
  );
275
278
  }
276
279
  );
277
- to.displayName = "Breadcrumb";
278
- const ro = "Button-module__root___Q2R8-", no = "Button-module__label___UJ3Zt", so = "Button-module__labelText___rFV5p", ao = "Button-module__iconWrapper___uEKPa", co = "Button-module__section___f2mKr", T = {
279
- root: ro,
280
- label: no,
281
- labelText: so,
282
- iconWrapper: ao,
283
- section: co
280
+ Ne.displayName = "Breadcrumb";
281
+ const $e = "Button-module__root___Q2R8-", ye = "Button-module__label___UJ3Zt", be = "Button-module__labelText___rFV5p", ve = "Button-module__iconWrapper___uEKPa", Ce = "Button-module__section___f2mKr", B = {
282
+ root: $e,
283
+ label: ye,
284
+ labelText: be,
285
+ iconWrapper: ve,
286
+ section: Ce
284
287
  };
285
- function io(e) {
286
- return e == null || e === "" ? !1 : typeof e == "string" ? e.trim() !== "" : !0;
288
+ function xe(o) {
289
+ return o == null || o === "" ? !1 : typeof o == "string" ? o.trim() !== "" : !0;
287
290
  }
288
- const lo = f(
291
+ const ge = N(
289
292
  function({
290
- variant: r = "solid",
293
+ variant: s = "solid",
291
294
  size: a = "default",
292
- icon: s,
293
- children: t,
294
- overStyled: n = !1,
295
+ icon: n,
296
+ children: r,
297
+ overStyled: t = !1,
295
298
  ...i
296
- }, d) {
297
- const l = {
299
+ }, l) {
300
+ const d = {
298
301
  solid: "filled",
299
302
  outline: "outline",
300
303
  text: "subtle"
301
304
  }, c = {
302
305
  default: "md",
303
306
  small: "sm"
304
- }, m = b(i, n), _ = m;
307
+ }, p = $(i, t), _ = p;
305
308
  delete _.fullWidth;
306
- const N = !!s || !!_.leftSection, y = !!_.rightSection, p = (N || y) && !io(t);
307
- typeof process < "u" && process.env.NODE_ENV !== "production" && p && !_["aria-label"] && console.warn(
309
+ const u = !!n || !!_.leftSection, m = !!_.rightSection, h = (u || m) && !xe(r);
310
+ typeof process < "u" && process.env.NODE_ENV !== "production" && h && !_["aria-label"] && console.warn(
308
311
  '[Recursica Button] Icon-only buttons must provide an accessible name. Pass aria-label (e.g. aria-label="Submit").'
309
312
  );
310
- const h = {
311
- root: T.root,
312
- section: T.section,
313
- label: T.label
314
- }, C = _.classNames;
315
- if (C && typeof C == "object" && !Array.isArray(C)) {
316
- const g = C;
317
- h.root = g.root ? `${T.root} ${g.root}` : T.root, h.section = g.section ?? T.section, h.label = g.label ?? T.label;
313
+ const y = {
314
+ root: B.root,
315
+ section: B.section,
316
+ label: B.label
317
+ }, g = _.classNames;
318
+ if (g && typeof g == "object" && !Array.isArray(g)) {
319
+ const P = g;
320
+ y.root = P.root ? `${B.root} ${P.root}` : B.root, y.section = P.section ?? B.section, y.label = P.label ?? B.label;
318
321
  }
319
- const v = _.className, $ = v ? `${T.root} ${v}` : T.root;
320
- return /* @__PURE__ */ o(
321
- Fe,
322
+ const f = _.className, v = f ? `${B.root} ${f}` : B.root;
323
+ return /* @__PURE__ */ e(
324
+ Oo,
322
325
  {
323
- ref: d,
324
- className: $,
325
- classNames: h,
326
- variant: l[r],
326
+ ref: l,
327
+ className: v,
328
+ classNames: y,
329
+ variant: d[s],
327
330
  size: c[a],
328
- leftSection: s != null ? /* @__PURE__ */ o("span", { className: T.iconWrapper, "aria-hidden": !0, children: s }) : void 0,
329
- "data-variant": r,
331
+ leftSection: n != null ? /* @__PURE__ */ e("span", { className: B.iconWrapper, "aria-hidden": !0, children: n }) : void 0,
332
+ "data-variant": s,
330
333
  "data-size": a,
331
- ...p ? { "data-icon-only": "" } : {},
332
- ...m,
333
- children: /* @__PURE__ */ o("span", { className: T.labelText, children: t })
334
+ ...h ? { "data-icon-only": "" } : {},
335
+ ...p,
336
+ children: /* @__PURE__ */ e("span", { className: B.labelText, children: r })
334
337
  }
335
338
  );
336
339
  }
337
340
  );
338
- lo.displayName = "Button";
339
- const po = "Card-module__root___c9KvZ", mo = "Card-module__header___PTXf2", _o = "Card-module__footer___Mu-JC", uo = "Card-module__section___BRT8H", ho = "Card-module__content___oFIQa", z = {
340
- root: po,
341
- header: mo,
342
- footer: _o,
343
- section: uo,
344
- content: ho
345
- }, he = f(function({ overStyled: r = !1, ...a }, s) {
346
- const t = b(a, r), n = {
347
- root: z.root
348
- }, i = t.classNames;
341
+ ge.displayName = "Button";
342
+ const Pe = "Card-module__root___c9KvZ", Ae = "Card-module__header___PTXf2", we = "Card-module__footer___Mu-JC", We = "Card-module__section___BRT8H", ke = "Card-module__content___oFIQa", M = {
343
+ root: Pe,
344
+ header: Ae,
345
+ footer: we,
346
+ section: We,
347
+ content: ke
348
+ }, xo = N(function({ overStyled: s = !1, ...a }, n) {
349
+ const r = $(a, s), t = {
350
+ root: M.root
351
+ }, i = r.classNames;
349
352
  if (i && typeof i == "object" && !Array.isArray(i)) {
350
- const l = i;
351
- Object.keys(l).forEach((c) => {
352
- n[c] ? n[c] = `${n[c]} ${l[c]}` : n[c] = l[c];
353
+ const d = i;
354
+ Object.keys(d).forEach((c) => {
355
+ t[c] ? t[c] = `${t[c]} ${d[c]}` : t[c] = d[c];
353
356
  });
354
357
  }
355
- const d = t.className;
356
- return /* @__PURE__ */ o(
357
- K,
358
+ const l = r.className;
359
+ return /* @__PURE__ */ e(
360
+ ro,
358
361
  {
359
- ref: s,
360
- className: d,
361
- classNames: n,
362
- ...t
362
+ ref: n,
363
+ className: l,
364
+ classNames: t,
365
+ ...r
363
366
  }
364
367
  );
365
368
  });
366
- he.displayName = "Card";
367
- const fe = f(
368
- function({ overStyled: r = !1, ...a }, s) {
369
- const t = b(a, r), n = t.className;
370
- return /* @__PURE__ */ o(
371
- K.Section,
369
+ xo.displayName = "Card";
370
+ const go = N(
371
+ function({ overStyled: s = !1, ...a }, n) {
372
+ const r = $(a, s), t = r.className;
373
+ return /* @__PURE__ */ e(
374
+ ro.Section,
372
375
  {
373
- ref: s,
374
- className: n ? `${z.section} ${n}` : z.section,
375
- ...t
376
+ ref: n,
377
+ className: t ? `${M.section} ${t}` : M.section,
378
+ ...r
376
379
  }
377
380
  );
378
381
  }
379
382
  );
380
- fe.displayName = "CardSection";
381
- const be = f(
382
- function({ overStyled: r = !1, ...a }, s) {
383
- const t = b(a, r), n = t.className;
384
- return /* @__PURE__ */ o(
385
- K.Section,
383
+ go.displayName = "CardSection";
384
+ const Po = N(
385
+ function({ overStyled: s = !1, ...a }, n) {
386
+ const r = $(a, s), t = r.className;
387
+ return /* @__PURE__ */ e(
388
+ ro.Section,
386
389
  {
387
- ref: s,
388
- className: n ? `${z.header} ${n}` : z.header,
389
- ...t
390
+ ref: n,
391
+ className: t ? `${M.header} ${t}` : M.header,
392
+ ...r
390
393
  }
391
394
  );
392
395
  }
393
396
  );
394
- be.displayName = "CardHeader";
395
- const Ne = f(
396
- function({ overStyled: r = !1, ...a }, s) {
397
- const t = b(a, r), n = t.className;
398
- return /* @__PURE__ */ o(
399
- K.Section,
397
+ Po.displayName = "CardHeader";
398
+ const Ao = N(
399
+ function({ overStyled: s = !1, ...a }, n) {
400
+ const r = $(a, s), t = r.className;
401
+ return /* @__PURE__ */ e(
402
+ ro.Section,
400
403
  {
401
- ref: s,
402
- className: n ? `${z.footer} ${n}` : z.footer,
403
- ...t
404
+ ref: n,
405
+ className: t ? `${M.footer} ${t}` : M.footer,
406
+ ...r
404
407
  }
405
408
  );
406
409
  }
407
410
  );
408
- Ne.displayName = "CardFooter";
409
- const ye = f(
410
- function({ overStyled: r = !1, ...a }, s) {
411
- const t = b(a, r), n = t.className;
412
- return /* @__PURE__ */ o(
411
+ Ao.displayName = "CardFooter";
412
+ const wo = N(
413
+ function({ overStyled: s = !1, ...a }, n) {
414
+ const r = $(a, s), t = r.className;
415
+ return /* @__PURE__ */ e(
413
416
  "div",
414
417
  {
415
- ref: s,
416
- className: n ? `${z.content} ${n}` : z.content,
417
- ...t
418
+ ref: n,
419
+ className: t ? `${M.content} ${t}` : M.content,
420
+ ...r
418
421
  }
419
422
  );
420
423
  }
421
424
  );
422
- ye.displayName = "CardContent";
423
- const Y = he;
424
- Y.Section = fe;
425
- Y.Header = be;
426
- Y.Footer = Ne;
427
- Y.Content = ye;
428
- const fo = "_root_1qhn7_3", bo = "_contents_1qhn7_18", G = {
429
- root: fo,
430
- contents: bo
431
- }, No = f(function({ layer: e, contentsOnly: r, children: a, className: s, style: t, ...n }, i) {
432
- const d = r ? s ? `${G.root} ${G.contents} ${s}` : `${G.root} ${G.contents}` : s ? `${G.root} ${s}` : G.root;
433
- return /* @__PURE__ */ o(
434
- "div",
435
- {
436
- ref: i,
437
- className: d,
438
- style: t,
439
- ...r ? {} : { "data-recursica-layer": String(e) },
440
- ...n,
441
- children: a
442
- }
443
- );
444
- });
445
- No.displayName = "Layer";
446
- function te(e, r) {
447
- const [a, s] = ke(!!e);
448
- le(() => {
449
- s(!!e);
450
- }, [e]);
451
- const t = Te(
452
- (n) => {
453
- s(!1), r == null || r(n);
454
- },
455
- [r]
456
- );
457
- return { isReadOnly: a, handleEditClick: t };
458
- }
459
- const H = ({ emptyText: e = "N/A" }) => /* @__PURE__ */ o(O.Fragment, { children: e });
460
- H.displayName = "EmptyValueRenderer";
461
- H.check = (e) => e == null || e === "" || Array.isArray(e) && e.length === 0;
462
- const ae = "data-recursica-theme";
463
- function Yo({
464
- children: e,
465
- theme: r = "light"
466
- }) {
467
- return le(() => {
468
- const a = document.documentElement;
469
- return a.setAttribute(ae, r), () => {
470
- a.removeAttribute(ae);
471
- };
472
- }, [r]), /* @__PURE__ */ o(ie, { children: e });
473
- }
474
- const yo = "Label-module__root___e6HXZ", $o = "Label-module__labelText___rieFR", Co = "Label-module__required___Ggrzc", vo = "Label-module__optionalText___Y2yun", go = "Label-module__actionAreaWrapper___ELoZK", xo = "Label-module__editIconWrapper___NG2xW", P = {
475
- root: yo,
476
- labelText: $o,
477
- required: Co,
478
- optionalText: vo,
479
- actionAreaWrapper: go,
480
- editIconWrapper: xo
481
- }, $e = f(function({
482
- formLayout: r = "stacked",
425
+ wo.displayName = "CardContent";
426
+ const so = xo;
427
+ so.Section = go;
428
+ so.Header = Po;
429
+ so.Footer = Ao;
430
+ so.Content = wo;
431
+ const Te = "Label-module__root___e6HXZ", ze = "Label-module__labelText___rieFR", Se = "Label-module__required___Ggrzc", Fe = "Label-module__optionalText___Y2yun", Re = "Label-module__actionAreaWrapper___ELoZK", Ie = "Label-module__editIconWrapper___NG2xW", F = {
432
+ root: Te,
433
+ labelText: ze,
434
+ required: Se,
435
+ optionalText: Fe,
436
+ actionAreaWrapper: Re,
437
+ editIconWrapper: Ie
438
+ }, Wo = N(function({
439
+ formLayout: s = "stacked",
483
440
  labelSize: a = "default",
484
- labelAlignment: s,
485
- required: t = !1,
486
- labelOptionalText: n,
441
+ labelAlignment: n,
442
+ required: r = !1,
443
+ labelOptionalText: t,
487
444
  labelWithEditIcon: i,
488
- labelActionArea: d,
489
- onLabelEditClick: l,
445
+ labelActionArea: l,
446
+ onLabelEditClick: d,
490
447
  children: c,
491
- overStyled: m = !1,
448
+ overStyled: p = !1,
492
449
  ..._
493
- }, N) {
494
- const y = s || (r === "side-by-side" ? "right" : "left");
495
- let p;
496
- t || (n === !0 ? p = "optional" : n && (p = n));
497
- const h = b(_, m), C = h, v = {
498
- label: P.root,
499
- required: P.required
500
- }, $ = C.classNames;
501
- if ($ && typeof $ == "object" && !Array.isArray($)) {
502
- const W = $;
503
- v.label = W.label ? `${P.root} ${W.label}` : P.root, v.required = W.required ? `${P.required} ${W.required}` : P.required;
450
+ }, u) {
451
+ const m = n || (s === "side-by-side" ? "right" : "left");
452
+ let h;
453
+ r || (t === !0 ? h = "optional" : t && (h = t));
454
+ const y = $(_, p), g = y, f = {
455
+ label: F.root,
456
+ required: F.required
457
+ }, v = g.classNames;
458
+ if (v && typeof v == "object" && !Array.isArray(v)) {
459
+ const A = v;
460
+ f.label = A.label ? `${F.root} ${A.label}` : F.root, f.required = A.required ? `${F.required} ${A.required}` : F.required;
504
461
  }
505
- const g = C.className, R = g ? `${P.root} ${g}` : P.root;
506
- return /* @__PURE__ */ j(
507
- de.Label,
462
+ const P = g.className, W = P ? `${F.root} ${P}` : F.root;
463
+ return /* @__PURE__ */ G(
464
+ $o.Label,
508
465
  {
509
- ref: N,
510
- className: R,
511
- classNames: v,
512
- "data-layout": r,
466
+ ref: u,
467
+ className: W,
468
+ classNames: f,
469
+ "data-layout": s,
513
470
  "data-size": a,
514
- "data-alignment": y,
515
- required: t && !i,
516
- ...h,
471
+ "data-alignment": m,
472
+ required: r && !i,
473
+ ...y,
517
474
  children: [
518
- /* @__PURE__ */ o("span", { className: P.labelText, children: c }),
519
- p && /* @__PURE__ */ o("span", { className: P.optionalText, children: typeof p == "string" ? `(${p})` : p }),
520
- d ? /* @__PURE__ */ o("span", { className: P.actionAreaWrapper, children: d }) : i ? /* @__PURE__ */ o(
475
+ /* @__PURE__ */ e("span", { className: F.labelText, children: c }),
476
+ h && /* @__PURE__ */ e("span", { className: F.optionalText, children: typeof h == "string" ? `(${h})` : h }),
477
+ l ? /* @__PURE__ */ e("span", { className: F.actionAreaWrapper, children: l }) : i ? /* @__PURE__ */ e(
521
478
  "button",
522
479
  {
523
480
  type: "button",
524
- className: P.editIconWrapper,
525
- "data-replaces-asterisk": t ? "true" : void 0,
526
- onClick: l,
481
+ className: F.editIconWrapper,
482
+ "data-replaces-asterisk": r ? "true" : void 0,
483
+ onClick: d,
527
484
  "aria-label": "Edit",
528
- children: /* @__PURE__ */ o(
485
+ children: /* @__PURE__ */ e(
529
486
  "svg",
530
487
  {
531
488
  width: "16",
@@ -533,7 +490,7 @@ const yo = "Label-module__root___e6HXZ", $o = "Label-module__labelText___rieFR",
533
490
  viewBox: "0 0 16 16",
534
491
  fill: "none",
535
492
  xmlns: "http://www.w3.org/2000/svg",
536
- children: /* @__PURE__ */ o(
493
+ children: /* @__PURE__ */ e(
537
494
  "path",
538
495
  {
539
496
  d: "M11.5303 2.46967C11.8232 2.17678 12.2981 2.17678 12.591 2.46967L13.5303 3.40898C13.8232 3.70188 13.8232 4.17675 13.5303 4.46964L5.61288 12.3871C5.45268 12.5473 5.24434 12.6483 5.01809 12.6766L2.39534 13.0044C2.10091 13.0412 1.83856 12.7789 1.87538 12.4845L2.2032 9.86175C2.23147 9.63551 2.3325 9.42716 2.4927 9.26696L11.5303 2.46967Z",
@@ -550,12 +507,12 @@ const yo = "Label-module__root___e6HXZ", $o = "Label-module__labelText___rieFR",
550
507
  }
551
508
  );
552
509
  });
553
- $e.displayName = "Label";
554
- const Ao = "AssistiveElement-module__root___WhQ43", Po = "AssistiveElement-module__textWrapper___sfy5E", Wo = "AssistiveElement-module__iconWrapper___gObRF", U = {
555
- root: Ao,
556
- textWrapper: Po,
557
- iconWrapper: Wo
558
- }, ko = () => /* @__PURE__ */ j(
510
+ Wo.displayName = "Label";
511
+ const Le = "AssistiveElement-module__root___WhQ43", Be = "AssistiveElement-module__textWrapper___sfy5E", je = "AssistiveElement-module__iconWrapper___gObRF", ao = {
512
+ root: Le,
513
+ textWrapper: Be,
514
+ iconWrapper: je
515
+ }, Ee = () => /* @__PURE__ */ G(
559
516
  "svg",
560
517
  {
561
518
  xmlns: "http://www.w3.org/2000/svg",
@@ -566,12 +523,12 @@ const Ao = "AssistiveElement-module__root___WhQ43", Po = "AssistiveElement-modul
566
523
  strokeLinecap: "round",
567
524
  strokeLinejoin: "round",
568
525
  children: [
569
- /* @__PURE__ */ o("circle", { cx: "12", cy: "12", r: "10" }),
570
- /* @__PURE__ */ o("path", { d: "M12 16v-4" }),
571
- /* @__PURE__ */ o("path", { d: "M12 8h.01" })
526
+ /* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "10" }),
527
+ /* @__PURE__ */ e("path", { d: "M12 16v-4" }),
528
+ /* @__PURE__ */ e("path", { d: "M12 8h.01" })
572
529
  ]
573
530
  }
574
- ), To = () => /* @__PURE__ */ j(
531
+ ), Oe = () => /* @__PURE__ */ G(
575
532
  "svg",
576
533
  {
577
534
  xmlns: "http://www.w3.org/2000/svg",
@@ -582,118 +539,120 @@ const Ao = "AssistiveElement-module__root___WhQ43", Po = "AssistiveElement-modul
582
539
  strokeLinecap: "round",
583
540
  strokeLinejoin: "round",
584
541
  children: [
585
- /* @__PURE__ */ o("path", { d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z" }),
586
- /* @__PURE__ */ o("path", { d: "M12 9v4" }),
587
- /* @__PURE__ */ o("path", { d: "M12 17h.01" })
542
+ /* @__PURE__ */ e("path", { d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z" }),
543
+ /* @__PURE__ */ e("path", { d: "M12 9v4" }),
544
+ /* @__PURE__ */ e("path", { d: "M12 17h.01" })
588
545
  ]
589
546
  }
590
- ), J = f(function({
591
- assistiveVariant: r = "help",
547
+ ), io = N(function({
548
+ assistiveVariant: s = "help",
592
549
  assistiveWithIcon: a = !0,
593
- children: s,
594
- className: t,
595
- overStyled: n = !1,
550
+ children: n,
551
+ className: r,
552
+ overStyled: t = !1,
596
553
  ...i
597
- }, d) {
598
- const c = b(i, n), m = U.root, _ = t ? `${m} ${t}` : m, N = r === "error" ? To : ko;
599
- return /* @__PURE__ */ j(
554
+ }, l) {
555
+ const c = $(i, t), p = ao.root, _ = r ? `${p} ${r}` : p, u = s === "error" ? Oe : Ee;
556
+ return /* @__PURE__ */ G(
600
557
  "div",
601
558
  {
602
- ref: d,
559
+ ref: l,
603
560
  className: _,
604
- "data-variant": r,
561
+ "data-variant": s,
605
562
  style: c.style,
606
563
  ...c,
607
564
  children: [
608
- a && /* @__PURE__ */ o("span", { className: U.iconWrapper, children: /* @__PURE__ */ o(N, {}) }),
609
- /* @__PURE__ */ o("span", { className: U.textWrapper, children: s })
565
+ a && /* @__PURE__ */ e("span", { className: ao.iconWrapper, children: /* @__PURE__ */ e(u, {}) }),
566
+ /* @__PURE__ */ e("span", { className: ao.textWrapper, children: n })
610
567
  ]
611
568
  }
612
569
  );
613
570
  });
614
- J.displayName = "AssistiveElement";
615
- const Ro = "FormControlWrapper-module__root___c-UHo", Lo = "FormControlWrapper-module__labelSection___hxSY4", wo = "FormControlWrapper-module__inputSection___HenXk", X = {
616
- root: Ro,
617
- labelSection: Lo,
618
- inputSection: wo
619
- }, q = f(function({
620
- formLayout: r,
571
+ io.displayName = "AssistiveElement";
572
+ const De = "FormControlWrapper-module__root___c-UHo", Ge = "FormControlWrapper-module__labelSection___hxSY4", Me = "FormControlWrapper-module__inputSection___HenXk", co = {
573
+ root: De,
574
+ labelSection: Ge,
575
+ inputSection: Me
576
+ }, H = N(function({
577
+ formLayout: s,
621
578
  labelSize: a,
622
- labelAlignment: s,
623
- labelOptionalText: t,
624
- labelWithEditIcon: n,
579
+ labelAlignment: n,
580
+ labelOptionalText: r,
581
+ labelWithEditIcon: t,
625
582
  labelActionArea: i,
626
- onLabelEditClick: d,
627
- label: l,
583
+ onLabelEditClick: l,
584
+ label: d,
628
585
  description: c,
629
- assistiveText: m,
586
+ assistiveText: p,
630
587
  assistiveWithIcon: _ = !0,
631
- controlMaxWidth: N,
632
- controlMinWidth: y,
633
- error: p,
634
- required: h,
635
- withAsterisk: C,
636
- id: v,
637
- children: $,
638
- className: g,
639
- overStyled: R = !1,
640
- ...W
641
- }, D) {
642
- const V = Re(), L = v || `recursica-fc-${V}`, x = m || c, w = x ? `${L}-assistive` : void 0, A = p ? `${L}-error` : void 0, M = b(W, R), re = g || M.className, ne = X.root, Pe = re ? `${ne} ${re}` : ne, We = O.isValidElement($) ? O.cloneElement(
643
- $,
588
+ controlMaxWidth: u,
589
+ controlMinWidth: m,
590
+ error: h,
591
+ required: y,
592
+ withAsterisk: g,
593
+ id: f,
594
+ children: v,
595
+ className: P,
596
+ overStyled: W = !1,
597
+ labelElement: A,
598
+ // Extracted safely preventing bleeding into HTML domains
599
+ ...R
600
+ }, j) {
601
+ const I = Io(), x = f || `recursica-fc-${I}`, k = p || c, w = k ? `${x}-assistive` : void 0, C = h ? `${x}-error` : void 0, Y = $(R, W), S = P || Y.className, mo = co.root, Fo = S ? `${mo} ${S}` : mo, Ro = V.isValidElement(v) ? V.cloneElement(
602
+ v,
644
603
  {
645
- ...x && !$.props["aria-describedby"] ? { "aria-describedby": w } : {},
646
- ...p && !$.props["aria-errormessage"] ? { "aria-errormessage": A } : {}
604
+ ...k && !v.props["aria-describedby"] ? { "aria-describedby": w } : {},
605
+ ...h && !v.props["aria-errormessage"] ? { "aria-errormessage": C } : {}
647
606
  }
648
- ) : $;
649
- return /* @__PURE__ */ j(
650
- pe,
607
+ ) : v;
608
+ return /* @__PURE__ */ G(
609
+ yo,
651
610
  {
652
- ref: D,
653
- className: Pe,
654
- "data-form-layout": r || "stacked",
655
- "data-form-alignment": s || "left",
611
+ ref: j,
612
+ className: Fo,
613
+ "data-form-layout": s || "stacked",
614
+ "data-form-alignment": n || "left",
656
615
  style: {
657
- ...M.style || {},
658
- ...N ? { "--form-control-max-width": N } : {},
659
- ...y ? { "--form-control-min-width": y } : {}
616
+ ...Y.style || {},
617
+ ...u ? { "--form-control-max-width": u } : {},
618
+ ...m ? { "--form-control-min-width": m } : {}
660
619
  },
661
- ...M,
620
+ ...Y,
662
621
  children: [
663
- l && /* @__PURE__ */ o("div", { className: X.labelSection, children: /* @__PURE__ */ o(
664
- $e,
622
+ d && /* @__PURE__ */ e("div", { className: co.labelSection, children: /* @__PURE__ */ e(
623
+ Wo,
665
624
  {
666
- id: L,
667
- formLayout: r,
625
+ id: x,
626
+ formLayout: s,
668
627
  labelSize: a,
669
- labelAlignment: s,
670
- labelOptionalText: t,
671
- labelWithEditIcon: n,
628
+ labelAlignment: n,
629
+ labelOptionalText: r,
630
+ labelWithEditIcon: t,
672
631
  labelActionArea: i,
673
- onLabelEditClick: d,
674
- required: C ?? h,
675
- ...M.labelElement === "div" ? { as: "div" } : {},
676
- children: l
632
+ onLabelEditClick: l,
633
+ required: g ?? y,
634
+ ...A === "div" ? { as: "div" } : {},
635
+ children: d
677
636
  }
678
637
  ) }),
679
- /* @__PURE__ */ j("div", { className: X.inputSection, children: [
680
- We,
681
- p && /* @__PURE__ */ o(
682
- J,
638
+ /* @__PURE__ */ G("div", { className: co.inputSection, children: [
639
+ Ro,
640
+ h && /* @__PURE__ */ e(
641
+ io,
683
642
  {
684
- id: A,
643
+ id: C,
685
644
  assistiveVariant: "error",
686
645
  assistiveWithIcon: _,
687
- children: p
646
+ children: h
688
647
  }
689
648
  ),
690
- !p && x && /* @__PURE__ */ o(
691
- J,
649
+ !h && k && /* @__PURE__ */ e(
650
+ io,
692
651
  {
693
652
  id: w,
694
653
  assistiveVariant: "help",
695
654
  assistiveWithIcon: _,
696
- children: x
655
+ children: k
697
656
  }
698
657
  )
699
658
  ] })
@@ -701,319 +660,740 @@ const Ro = "FormControlWrapper-module__root___c-UHo", Lo = "FormControlWrapper-m
701
660
  }
702
661
  );
703
662
  });
704
- q.displayName = "FormControlWrapper";
705
- const Eo = "Checkbox-module__groupRoot___cBS0o", Fo = "Checkbox-module__root___mY3qk", So = "Checkbox-module__body___5yC7q", zo = "Checkbox-module__inner___rTke4", Bo = "Checkbox-module__input___2kt-h", Io = "Checkbox-module__icon___-O7i6", Oo = "Checkbox-module__labelWrapper___GpZkr", jo = "Checkbox-module__label___cwRtI", u = {
706
- groupRoot: Eo,
707
- root: Fo,
708
- body: So,
709
- inner: zo,
710
- input: Bo,
711
- icon: Io,
712
- labelWrapper: Oo,
713
- label: jo
714
- }, Ce = f(
663
+ H.displayName = "FormControlWrapper";
664
+ const qe = "Checkbox-module__groupRoot___cBS0o", Ve = "Checkbox-module__root___mY3qk", He = "Checkbox-module__body___5yC7q", Ke = "Checkbox-module__inner___rTke4", Ue = "Checkbox-module__input___2kt-h", Ze = "Checkbox-module__icon___-O7i6", Ye = "Checkbox-module__labelWrapper___GpZkr", Xe = "Checkbox-module__label___cwRtI", b = {
665
+ groupRoot: qe,
666
+ root: Ve,
667
+ body: He,
668
+ inner: Ke,
669
+ input: Ue,
670
+ icon: Ze,
671
+ labelWrapper: Ye,
672
+ label: Xe
673
+ }, ko = N(
715
674
  function({
716
- overStyled: r = !1,
675
+ overStyled: s = !1,
717
676
  formLayout: a = "stacked",
718
677
  // Label Wrappers
719
- labelSize: s,
720
- labelAlignment: t,
721
- labelOptionalText: n,
678
+ labelSize: n,
679
+ labelAlignment: r,
680
+ labelOptionalText: t,
722
681
  labelWithEditIcon: i,
723
- onLabelEditClick: d,
682
+ onLabelEditClick: l,
724
683
  // Base Mantine Extracted Attributes
725
- label: l,
684
+ label: d,
726
685
  description: c,
727
- assistiveText: m,
686
+ assistiveText: p,
728
687
  assistiveWithIcon: _,
729
- error: N,
730
- required: y,
731
- withAsterisk: p,
732
- id: h,
733
- className: C,
734
- style: v,
735
- children: $,
736
- readOnly: g,
737
- readOnlyComponent: R,
738
- ...W
739
- }, D) {
740
- const { isReadOnly: V, handleEditClick: L } = te(
741
- g,
742
- d
743
- ), x = b(W, r), w = x;
744
- return delete w.size, V && R ? /* @__PURE__ */ o(
745
- q,
688
+ error: u,
689
+ required: m,
690
+ withAsterisk: h,
691
+ id: y,
692
+ className: g,
693
+ style: f,
694
+ children: v,
695
+ readOnly: P,
696
+ readOnlyComponent: W,
697
+ ...A
698
+ }, R) {
699
+ const j = $(A, s), I = j;
700
+ return delete I.size, P && W ? /* @__PURE__ */ e(
701
+ H,
746
702
  {
747
- className: C,
748
- style: v,
749
- overStyled: r,
703
+ className: g,
704
+ style: f,
705
+ controlMaxWidth: "var(--recursica_ui-kit_components_checkbox-item_properties_max-width)",
706
+ controlMinWidth: void 0,
707
+ overStyled: s,
750
708
  labelElement: "div",
751
709
  formLayout: a,
752
- labelSize: s,
753
- labelAlignment: t,
754
- labelOptionalText: n,
710
+ labelSize: n,
711
+ labelAlignment: r,
712
+ labelOptionalText: t,
755
713
  labelWithEditIcon: i,
756
- onLabelEditClick: L,
757
- label: l,
714
+ onLabelEditClick: l,
715
+ label: d,
758
716
  description: c,
759
- assistiveText: m,
717
+ assistiveText: p,
760
718
  assistiveWithIcon: _,
761
- error: N,
762
- required: y,
763
- withAsterisk: p,
764
- id: h,
765
- children: R
719
+ error: u,
720
+ required: m,
721
+ withAsterisk: h,
722
+ id: y,
723
+ children: W
766
724
  }
767
- ) : /* @__PURE__ */ o(
768
- q,
725
+ ) : /* @__PURE__ */ e(
726
+ H,
769
727
  {
770
- className: C,
771
- style: v,
772
- overStyled: r,
728
+ className: g,
729
+ style: f,
730
+ controlMaxWidth: "var(--recursica_ui-kit_components_checkbox-item_properties_max-width)",
731
+ controlMinWidth: void 0,
732
+ overStyled: s,
773
733
  labelElement: "div",
774
734
  formLayout: a,
775
- labelSize: s,
776
- labelAlignment: t,
777
- labelOptionalText: n,
735
+ labelSize: n,
736
+ labelAlignment: r,
737
+ labelOptionalText: t,
778
738
  labelWithEditIcon: i,
779
- onLabelEditClick: L,
780
- label: l,
739
+ onLabelEditClick: l,
740
+ label: d,
781
741
  description: c,
782
- assistiveText: m,
742
+ assistiveText: p,
783
743
  assistiveWithIcon: _,
784
- error: N,
785
- required: y,
786
- withAsterisk: p,
787
- id: h,
788
- children: /* @__PURE__ */ o(
789
- me.Group,
744
+ error: u,
745
+ required: m,
746
+ withAsterisk: h,
747
+ id: y,
748
+ children: /* @__PURE__ */ e(
749
+ bo.Group,
790
750
  {
791
- ref: D,
792
- ...x,
793
- children: /* @__PURE__ */ o("div", { className: u.groupRoot, "data-layout": a, children: O.Children.map($, (A) => O.isValidElement(A) ? O.cloneElement(A, {
794
- disabled: V || A.props.disabled
795
- }) : A) })
751
+ ref: R,
752
+ ...j,
753
+ children: /* @__PURE__ */ e("div", { className: b.groupRoot, "data-layout": a, children: V.Children.map(v, (x) => V.isValidElement(x) ? V.cloneElement(x, {
754
+ disabled: P || x.props.disabled
755
+ }) : x) })
796
756
  }
797
757
  )
798
758
  }
799
759
  );
800
760
  }
801
761
  );
802
- Ce.displayName = "CheckboxGroup";
803
- const ve = f(
804
- function({ overStyled: r = !1, readOnly: a, readOnlyComponent: s, disabled: t, ...n }, i) {
805
- const { isReadOnly: d } = te(a), l = b(n, r), c = l;
806
- if (delete c.size, delete c.color, delete c.radius, delete c.variant, delete c.iconColor, d && s)
807
- return /* @__PURE__ */ o(
808
- q,
762
+ ko.displayName = "CheckboxGroup";
763
+ const To = N(
764
+ function({ overStyled: s = !1, readOnly: a, readOnlyComponent: n, disabled: r, ...t }, i) {
765
+ const l = $(t, s), d = l;
766
+ if (delete d.size, delete d.color, delete d.radius, delete d.variant, delete d.iconColor, a && n)
767
+ return /* @__PURE__ */ e(
768
+ H,
809
769
  {
810
- overStyled: r,
770
+ overStyled: s,
811
771
  ...l,
812
- children: s
772
+ children: n
813
773
  }
814
774
  );
815
- const m = {
816
- root: u.root,
817
- body: u.body,
818
- inner: u.inner,
819
- input: u.input,
820
- icon: u.icon,
821
- labelWrapper: u.labelWrapper,
822
- label: u.label
823
- }, _ = c.classNames;
824
- if (_ && typeof _ == "object" && !Array.isArray(_)) {
825
- const p = _;
826
- m.root = p.root ? `${u.root} ${p.root}` : u.root, m.body = p.body ? `${u.body} ${p.body}` : u.body, m.inner = p.inner ? `${u.inner} ${p.inner}` : u.inner, m.input = p.input ? `${u.input} ${p.input}` : u.input, m.icon = p.icon ? `${u.icon} ${p.icon}` : u.icon, m.labelWrapper = p.labelWrapper ? `${u.labelWrapper} ${p.labelWrapper}` : u.labelWrapper, m.label = p.label ? `${u.label} ${p.label}` : u.label;
775
+ const c = {
776
+ root: b.root,
777
+ body: b.body,
778
+ inner: b.inner,
779
+ input: b.input,
780
+ icon: b.icon,
781
+ labelWrapper: b.labelWrapper,
782
+ label: b.label
783
+ }, p = d.classNames;
784
+ if (p && typeof p == "object" && !Array.isArray(p)) {
785
+ const m = p;
786
+ c.root = m.root ? `${b.root} ${m.root}` : b.root, c.body = m.body ? `${b.body} ${m.body}` : b.body, c.inner = m.inner ? `${b.inner} ${m.inner}` : b.inner, c.input = m.input ? `${b.input} ${m.input}` : b.input, c.icon = m.icon ? `${b.icon} ${m.icon}` : b.icon, c.labelWrapper = m.labelWrapper ? `${b.labelWrapper} ${m.labelWrapper}` : b.labelWrapper, c.label = m.label ? `${b.label} ${m.label}` : b.label;
827
787
  }
828
- const N = c.className, y = N ? `${u.root} ${N}` : u.root;
829
- return /* @__PURE__ */ o(
830
- me,
788
+ const _ = d.className, u = _ ? `${b.root} ${_}` : b.root;
789
+ return /* @__PURE__ */ e(
790
+ bo,
831
791
  {
832
792
  ref: i,
833
- className: y,
834
- classNames: m,
835
- disabled: d || t,
793
+ className: u,
794
+ classNames: c,
795
+ disabled: a || r,
836
796
  ...l
837
797
  }
838
798
  );
839
799
  }
840
800
  );
841
- ve.displayName = "Checkbox";
842
- ve.Group = Ce;
843
- const Uo = (e) => /* @__PURE__ */ o("div", { ...e, children: "Chip" }), Xo = (e) => /* @__PURE__ */ o("div", { ...e, children: "DatePicker" }), Jo = (e) => /* @__PURE__ */ o("div", { ...e, children: "Dropdown" }), Qo = (e) => /* @__PURE__ */ o("div", { ...e, children: "FileInput" }), et = (e) => /* @__PURE__ */ o("div", { ...e, children: "FileUpload" }), ot = (e) => /* @__PURE__ */ o("div", { ...e, children: "HoverCard" }), tt = (e) => /* @__PURE__ */ o("div", { ...e, children: "Link" }), rt = (e) => /* @__PURE__ */ o("div", { ...e, children: "Loader" }), nt = (e) => /* @__PURE__ */ o("div", { ...e, children: "Menu" }), st = (e) => /* @__PURE__ */ o("div", { ...e, children: "Modal" }), at = (e) => /* @__PURE__ */ o("div", { ...e, children: "NumberInput" }), ct = (e) => /* @__PURE__ */ o("div", { ...e, children: "Pagination" }), it = (e) => /* @__PURE__ */ o("div", { ...e, children: "Panel" }), lt = (e) => /* @__PURE__ */ o("div", { ...e, children: "Popover" }), dt = (e) => /* @__PURE__ */ o("div", { ...e, children: "Radio" }), qo = "ReadOnlyField-module__textField___qKn25", ce = {
844
- textField: qo
845
- }, ge = ({
846
- value: e,
847
- overStyled: r = !1,
801
+ To.displayName = "Checkbox";
802
+ To.Group = ko;
803
+ const Je = "Chip-module__root___f5pFk", Qe = "Chip-module__label___Ov9pg", ot = "Chip-module__mantineIconWrapper___KLSz6", et = "Chip-module__innerWrapper___EnrTF", tt = "Chip-module__children___zbRAR", rt = "Chip-module__leadingIcon___JBtjQ", st = "Chip-module__removeIcon___pVju-", T = {
804
+ root: Je,
805
+ label: Qe,
806
+ mantineIconWrapper: ot,
807
+ innerWrapper: et,
808
+ children: tt,
809
+ leadingIcon: rt,
810
+ removeIcon: st
811
+ };
812
+ function nt(o) {
813
+ return /* @__PURE__ */ G(
814
+ "svg",
815
+ {
816
+ xmlns: "http://www.w3.org/2000/svg",
817
+ width: "24",
818
+ height: "24",
819
+ viewBox: "0 0 24 24",
820
+ fill: "none",
821
+ stroke: "currentColor",
822
+ strokeWidth: "2",
823
+ strokeLinecap: "round",
824
+ strokeLinejoin: "round",
825
+ ...o,
826
+ children: [
827
+ /* @__PURE__ */ e("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
828
+ /* @__PURE__ */ e("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
829
+ ]
830
+ }
831
+ );
832
+ }
833
+ const at = N(function({
834
+ error: s = !1,
835
+ icon: a,
836
+ onRemove: n,
837
+ removeLabel: r = "Remove",
838
+ children: t,
839
+ overStyled: i = !1,
840
+ ...l
841
+ }, d) {
842
+ const c = $(l, i), p = c, _ = {
843
+ root: T.root,
844
+ label: T.label,
845
+ input: T.input,
846
+ iconWrapper: T.mantineIconWrapper,
847
+ checkIcon: T.checkIcon
848
+ }, u = p.classNames;
849
+ if (u && typeof u == "object" && !Array.isArray(u)) {
850
+ const f = u;
851
+ _.root = f.root ? `${T.root} ${f.root}` : T.root, _.label = f.label ? `${T.label} ${f.label}` : T.label;
852
+ }
853
+ const m = p.className, h = m ? `${T.root} ${m}` : T.root;
854
+ return /* @__PURE__ */ e(
855
+ Do,
856
+ {
857
+ ref: d,
858
+ className: h,
859
+ classNames: _,
860
+ ...(s ? "" : void 0) !== void 0 ? { "data-error": "" } : {},
861
+ ...!t && (!!a || !!n) ? { "data-icon-only": "" } : {},
862
+ ...c,
863
+ children: /* @__PURE__ */ G("span", { className: T.innerWrapper, children: [
864
+ a && /* @__PURE__ */ e("span", { className: T.leadingIcon, "aria-hidden": !0, children: a }),
865
+ /* @__PURE__ */ e("span", { className: T.children, children: t }),
866
+ n && /* @__PURE__ */ e(
867
+ "span",
868
+ {
869
+ role: "button",
870
+ className: T.removeIcon,
871
+ onClick: (f) => {
872
+ f.preventDefault(), f.stopPropagation(), n(f);
873
+ },
874
+ "aria-label": r,
875
+ onKeyDown: (f) => {
876
+ (f.key === "Enter" || f.key === " ") && (f.preventDefault(), f.stopPropagation(), n(
877
+ f
878
+ ));
879
+ },
880
+ tabIndex: 0,
881
+ children: /* @__PURE__ */ e(nt, {})
882
+ }
883
+ )
884
+ ] })
885
+ }
886
+ );
887
+ });
888
+ at.displayName = "Chip";
889
+ const ct = "Container-module__root___UVssr", X = {
890
+ root: ct
891
+ }, it = N(
892
+ function({ children: s, overStyled: a = !1, ...n }, r) {
893
+ const t = $(n, a), i = t, l = {
894
+ root: X.root
895
+ }, d = i.classNames;
896
+ if (d && typeof d == "object" && !Array.isArray(d)) {
897
+ const _ = d;
898
+ l.root = _.root ? `${X.root} ${_.root}` : X.root;
899
+ }
900
+ const c = i.className, p = c ? `${X.root} ${c}` : X.root;
901
+ return /* @__PURE__ */ e(
902
+ Go,
903
+ {
904
+ ref: r,
905
+ className: p,
906
+ classNames: l,
907
+ ...t,
908
+ children: s
909
+ }
910
+ );
911
+ }
912
+ );
913
+ it.displayName = "Container";
914
+ const Bt = (o) => /* @__PURE__ */ e("div", { ...o, children: "DatePicker" }), lt = "_root_1qhn7_3", dt = "_contents_1qhn7_18", K = {
915
+ root: lt,
916
+ contents: dt
917
+ }, pt = N(function({ layer: o, contentsOnly: s, children: a, className: n, style: r, ...t }, i) {
918
+ const l = s ? n ? `${K.root} ${K.contents} ${n}` : `${K.root} ${K.contents}` : n ? `${K.root} ${n}` : K.root;
919
+ return /* @__PURE__ */ e(
920
+ "div",
921
+ {
922
+ ref: i,
923
+ className: l,
924
+ style: r,
925
+ ...s ? {} : { "data-recursica-layer": String(o) },
926
+ ...t,
927
+ children: a
928
+ }
929
+ );
930
+ });
931
+ pt.displayName = "Layer";
932
+ const eo = ({ emptyText: o = "N/A" }) => /* @__PURE__ */ e(V.Fragment, { children: o });
933
+ eo.displayName = "EmptyValueRenderer";
934
+ eo.check = (o) => o == null || o === "" || Array.isArray(o) && o.length === 0;
935
+ const fo = "data-recursica-theme";
936
+ function jt({
937
+ children: o,
938
+ theme: s = "light"
939
+ }) {
940
+ return Lo(() => {
941
+ const a = document.documentElement;
942
+ return a.setAttribute(fo, s), () => {
943
+ a.removeAttribute(fo);
944
+ };
945
+ }, [s]), /* @__PURE__ */ e(No, { children: o });
946
+ }
947
+ const _t = "ReadOnlyField-module__textField___qKn25", ho = {
948
+ textField: _t
949
+ }, zo = ({
950
+ value: o,
951
+ overStyled: s = !1,
848
952
  ...a
849
953
  }) => {
850
- const s = b(a, r), t = s.className;
851
- return /* @__PURE__ */ o(
852
- pe,
954
+ const n = $(a, s), r = n.className;
955
+ return /* @__PURE__ */ e(
956
+ yo,
853
957
  {
854
958
  component: "p",
855
- className: t ? `${ce.textField} ${t}` : ce.textField,
856
- ...s,
857
- children: e != null ? O.isValidElement(e) ? e : String(e) : ""
959
+ className: r ? `${ho.textField} ${r}` : ho.textField,
960
+ ...n,
961
+ children: o != null ? V.isValidElement(o) ? o : String(o) : ""
858
962
  }
859
963
  );
860
964
  };
861
- ge.displayName = "ReadOnlyTextField";
862
- const xe = f(
863
- function({ value: r, type: a = "text", emptyValueComponent: s, overStyled: t = !1, ...n }, i) {
864
- let d = null;
865
- const l = b(n, t), c = s || H, _ = (c.check ? c.check(r) : H.check(r)) ? /* @__PURE__ */ o(c, { value: r }) : r;
965
+ zo.displayName = "ReadOnlyTextField";
966
+ const So = N(
967
+ function({ value: s, type: a = "text", emptyValueComponent: n, overStyled: r = !1, ...t }, i) {
968
+ let l = null;
969
+ const d = $(t, r), c = n || eo, _ = (c.check ? c.check(s) : eo.check(s)) ? /* @__PURE__ */ e(c, { value: s }) : s;
866
970
  switch (a) {
867
971
  case "text":
868
972
  default:
869
- d = /* @__PURE__ */ o(
870
- ge,
973
+ l = /* @__PURE__ */ e(
974
+ zo,
871
975
  {
872
976
  value: _,
873
- overStyled: t
977
+ overStyled: r
874
978
  }
875
979
  );
876
980
  break;
877
981
  }
878
- return /* @__PURE__ */ o(
879
- q,
982
+ return /* @__PURE__ */ e(
983
+ H,
880
984
  {
881
985
  ref: i,
882
- overStyled: t,
883
- ...l,
884
- children: d
986
+ overStyled: r,
987
+ ...d,
988
+ children: l
885
989
  }
886
990
  );
887
991
  }
888
992
  );
889
- xe.displayName = "ReadOnlyField";
890
- const Ae = f(function({
891
- readOnly: r,
993
+ So.displayName = "ReadOnlyField";
994
+ const no = N(function({
995
+ readOnly: s,
892
996
  readOnlyComponent: a,
893
- readOnlyType: s = "text",
894
- readOnlyValue: t,
895
- activeComponent: n,
997
+ readOnlyType: n = "text",
998
+ readOnlyValue: r,
999
+ activeComponent: t,
896
1000
  overStyled: i,
897
- onLabelEditClick: d,
898
- ...l
1001
+ onLabelEditClick: l,
1002
+ ...d
899
1003
  }, c) {
900
- const { isReadOnly: m, handleEditClick: _ } = te(
901
- r,
902
- d
903
- );
904
- return m ? a ? /* @__PURE__ */ o(
905
- q,
1004
+ return s ? a ? /* @__PURE__ */ e(
1005
+ H,
906
1006
  {
907
1007
  ref: c,
908
- ...l,
909
- onLabelEditClick: _,
1008
+ ...d,
1009
+ onLabelEditClick: l,
910
1010
  overStyled: i,
911
1011
  children: a
912
1012
  }
913
- ) : /* @__PURE__ */ o(
914
- xe,
1013
+ ) : /* @__PURE__ */ e(
1014
+ So,
915
1015
  {
916
1016
  ref: c,
917
- type: s,
918
- value: t,
919
- onLabelEditClick: _,
1017
+ type: n,
1018
+ value: r,
1019
+ onLabelEditClick: l,
920
1020
  overStyled: i,
921
- ...l
1021
+ ...d
922
1022
  }
923
- ) : /* @__PURE__ */ o(
924
- q,
1023
+ ) : /* @__PURE__ */ e(
1024
+ H,
925
1025
  {
926
1026
  ref: c,
927
- ...l,
928
- onLabelEditClick: _,
1027
+ ...d,
1028
+ onLabelEditClick: l,
929
1029
  overStyled: i,
930
- children: n
1030
+ children: t
931
1031
  }
932
1032
  );
933
1033
  });
934
- Ae.displayName = "WithReadOnlyWrapper";
935
- const pt = (e) => /* @__PURE__ */ o("div", { ...e, children: "Search" }), mt = (e) => /* @__PURE__ */ o("div", { ...e, children: "SegmentedControl" }), _t = (e) => /* @__PURE__ */ o("div", { ...e, children: "Slider" }), ut = (e) => /* @__PURE__ */ o("div", { ...e, children: "Stepper" }), ht = (e) => /* @__PURE__ */ o("div", { ...e, children: "Switch" }), ft = (e) => /* @__PURE__ */ o("div", { ...e, children: "Table" }), bt = (e) => /* @__PURE__ */ o("div", { ...e, children: "Tabs" }), Nt = (e) => /* @__PURE__ */ o("div", { ...e, children: "TextArea" }), Vo = "TextField-module__root___2ZYkG", Go = "TextField-module__input___RL-My", Do = "TextField-module__section___bCIJ0", F = {
936
- root: Vo,
937
- input: Go,
938
- section: Do
939
- }, Mo = f(
1034
+ no.displayName = "WithReadOnlyWrapper";
1035
+ const mt = "Dropdown-module__root___uVyL0", ut = "Dropdown-module__input___dK4dN", ft = "Dropdown-module__section___j3MRB", ht = "Dropdown-module__dropdown___gG-Sw", Nt = "Dropdown-module__option___nAGU-", z = {
1036
+ root: mt,
1037
+ input: ut,
1038
+ section: ft,
1039
+ dropdown: ht,
1040
+ option: Nt
1041
+ }, $t = N(
940
1042
  function({
941
- overStyled: r = !1,
1043
+ overStyled: s = !1,
942
1044
  formLayout: a = "stacked",
1045
+ containerWidth: n,
943
1046
  // Label & Wrapper Maps
944
- labelSize: s,
1047
+ labelSize: r,
945
1048
  labelAlignment: t,
946
- labelOptionalText: n,
947
- labelWithEditIcon: i,
1049
+ labelOptionalText: i,
1050
+ labelWithEditIcon: l,
948
1051
  onLabelEditClick: d,
949
- label: l,
1052
+ label: c,
1053
+ assistiveText: p,
1054
+ assistiveWithIcon: _,
1055
+ error: u,
1056
+ required: m,
1057
+ withAsterisk: h,
1058
+ id: y,
1059
+ className: g,
1060
+ style: f,
1061
+ disabled: v,
1062
+ readOnly: P,
1063
+ readOnlyComponent: W,
1064
+ value: A,
1065
+ defaultValue: R,
1066
+ data: j,
1067
+ ...I
1068
+ }, x) {
1069
+ const k = $(I, s), w = k;
1070
+ delete w.size, delete w.variant, delete w.radius;
1071
+ const C = {
1072
+ wrapper: z.root,
1073
+ // The nested Input internal relative wrapper bounding box
1074
+ input: z.input,
1075
+ section: z.section,
1076
+ dropdown: z.dropdown,
1077
+ option: z.option
1078
+ }, Z = w.classNames;
1079
+ if (Z && typeof Z == "object" && !Array.isArray(Z)) {
1080
+ const S = Z;
1081
+ C.wrapper = S.wrapper ? `${z.root} ${S.wrapper}` : z.root, C.input = S.input ? `${z.input} ${S.input}` : z.input, C.section = S.section ? `${z.section} ${S.section}` : z.section, C.dropdown = S.dropdown ? `${z.dropdown} ${S.dropdown}` : z.dropdown, C.option = S.option ? `${z.option} ${S.option}` : z.option;
1082
+ }
1083
+ const Y = {
1084
+ ...f || {},
1085
+ width: n || "100%"
1086
+ };
1087
+ return /* @__PURE__ */ e(
1088
+ no,
1089
+ {
1090
+ className: g,
1091
+ style: Y,
1092
+ controlMaxWidth: "var(--recursica_ui-kit_components_dropdown_properties_max-width)",
1093
+ controlMinWidth: "var(--recursica_ui-kit_components_dropdown_properties_min-width)",
1094
+ overStyled: s,
1095
+ formLayout: a,
1096
+ labelSize: r,
1097
+ labelAlignment: t,
1098
+ labelOptionalText: i,
1099
+ labelWithEditIcon: l,
1100
+ onLabelEditClick: d,
1101
+ label: c,
1102
+ assistiveText: p,
1103
+ assistiveWithIcon: _,
1104
+ error: u,
1105
+ required: m,
1106
+ withAsterisk: h,
1107
+ id: y,
1108
+ readOnly: P,
1109
+ readOnlyComponent: W,
1110
+ readOnlyType: "text",
1111
+ readOnlyValue: A !== void 0 ? String(A) : R ? String(R) : void 0,
1112
+ activeComponent: (
1113
+ /* Naked Select execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
1114
+ /* @__PURE__ */ e(
1115
+ Mo,
1116
+ {
1117
+ ref: x,
1118
+ classNames: C,
1119
+ disabled: v,
1120
+ value: A,
1121
+ defaultValue: R,
1122
+ data: j || [],
1123
+ label: void 0,
1124
+ description: void 0,
1125
+ error: void 0,
1126
+ required: void 0,
1127
+ withAsterisk: void 0,
1128
+ wrapperProps: {
1129
+ "data-disabled": v ? "true" : void 0,
1130
+ "data-error": u ? "true" : void 0
1131
+ },
1132
+ ...k
1133
+ }
1134
+ )
1135
+ )
1136
+ }
1137
+ );
1138
+ }
1139
+ );
1140
+ $t.displayName = "Dropdown";
1141
+ const Et = (o) => /* @__PURE__ */ e("div", { ...o, children: "FileInput" }), Ot = (o) => /* @__PURE__ */ e("div", { ...o, children: "FileUpload" }), yt = "Flex-module__root___yYser", J = {
1142
+ root: yt
1143
+ }, bt = N(function({ children: s, overStyled: a = !1, gap: n = "rec-default", ...r }, t) {
1144
+ const i = $({ ...r, gap: n }, a), l = i, d = {
1145
+ root: J.root
1146
+ }, c = l.classNames;
1147
+ if (c && typeof c == "object" && !Array.isArray(c)) {
1148
+ const u = c;
1149
+ d.root = u.root ? `${J.root} ${u.root}` : J.root;
1150
+ }
1151
+ const p = l.className, _ = p ? `${J.root} ${p}` : J.root;
1152
+ return /* @__PURE__ */ e(
1153
+ qo,
1154
+ {
1155
+ ref: t,
1156
+ className: _,
1157
+ classNames: d,
1158
+ ...i,
1159
+ children: s
1160
+ }
1161
+ );
1162
+ });
1163
+ bt.displayName = "Flex";
1164
+ const vt = "Group-module__root___ftO64", Q = {
1165
+ root: vt
1166
+ }, Ct = N(function({ children: s, overStyled: a = !1, gap: n = "rec-default", ...r }, t) {
1167
+ const i = $({ ...r, gap: n }, a), l = i, d = {
1168
+ root: Q.root
1169
+ }, c = l.classNames;
1170
+ if (c && typeof c == "object" && !Array.isArray(c)) {
1171
+ const u = c;
1172
+ d.root = u.root ? `${Q.root} ${u.root}` : Q.root;
1173
+ }
1174
+ const p = l.className, _ = p ? `${Q.root} ${p}` : Q.root;
1175
+ return /* @__PURE__ */ e(
1176
+ Vo,
1177
+ {
1178
+ ref: t,
1179
+ className: _,
1180
+ classNames: d,
1181
+ ...i,
1182
+ children: s
1183
+ }
1184
+ );
1185
+ });
1186
+ Ct.displayName = "Group";
1187
+ const Dt = (o) => /* @__PURE__ */ e("div", { ...o, children: "HoverCard" }), Gt = (o) => /* @__PURE__ */ e("div", { ...o, children: "Link" }), Mt = (o) => /* @__PURE__ */ e("div", { ...o, children: "Loader" }), qt = (o) => /* @__PURE__ */ e("div", { ...o, children: "Menu" }), Vt = (o) => /* @__PURE__ */ e("div", { ...o, children: "Modal" }), Ht = (o) => /* @__PURE__ */ e("div", { ...o, children: "NumberInput" }), Kt = (o) => /* @__PURE__ */ e("div", { ...o, children: "Pagination" }), Ut = (o) => /* @__PURE__ */ e("div", { ...o, children: "Panel" }), Zt = (o) => /* @__PURE__ */ e("div", { ...o, children: "Popover" }), Yt = (o) => /* @__PURE__ */ e("div", { ...o, children: "Radio" }), Xt = (o) => /* @__PURE__ */ e("div", { ...o, children: "Search" }), Jt = (o) => /* @__PURE__ */ e("div", { ...o, children: "SegmentedControl" }), Qt = (o) => /* @__PURE__ */ e("div", { ...o, children: "Slider" }), xt = "Stack-module__root___NUN-x", oo = {
1188
+ root: xt
1189
+ }, gt = N(function({ children: s, overStyled: a = !1, gap: n = "rec-default", ...r }, t) {
1190
+ const i = $({ ...r, gap: n }, a), l = i, d = {
1191
+ root: oo.root
1192
+ }, c = l.classNames;
1193
+ if (c && typeof c == "object" && !Array.isArray(c)) {
1194
+ const u = c;
1195
+ d.root = u.root ? `${oo.root} ${u.root}` : oo.root;
1196
+ }
1197
+ const p = l.className, _ = p ? `${oo.root} ${p}` : oo.root;
1198
+ return /* @__PURE__ */ e(
1199
+ Ho,
1200
+ {
1201
+ ref: t,
1202
+ className: _,
1203
+ classNames: d,
1204
+ ...i,
1205
+ children: s
1206
+ }
1207
+ );
1208
+ });
1209
+ gt.displayName = "Stack";
1210
+ const or = (o) => /* @__PURE__ */ e("div", { ...o, children: "Stepper" }), er = (o) => /* @__PURE__ */ e("div", { ...o, children: "Switch" }), tr = (o) => /* @__PURE__ */ e("div", { ...o, children: "Table" }), rr = (o) => /* @__PURE__ */ e("div", { ...o, children: "Tabs" }), Pt = N(function({ overStyled: s = !1, variant: a = "body", ...n }, r) {
1211
+ const t = $(n, s), i = t.className, l = `recursica_brand_typography_${a}`, d = i ? `${l} ${i}` : l;
1212
+ return /* @__PURE__ */ e(
1213
+ Ko,
1214
+ {
1215
+ ref: r,
1216
+ className: d,
1217
+ ...t
1218
+ }
1219
+ );
1220
+ });
1221
+ Pt.displayName = "Text";
1222
+ const At = "TextArea-module__root___3dyeu", wt = "TextArea-module__input___8l36v", U = {
1223
+ root: At,
1224
+ input: wt
1225
+ }, Wt = N(
1226
+ function({
1227
+ overStyled: s = !1,
1228
+ formLayout: a = "stacked",
1229
+ // Label & Wrapper Maps
1230
+ labelSize: n,
1231
+ labelAlignment: r,
1232
+ labelOptionalText: t,
1233
+ labelWithEditIcon: i,
1234
+ onLabelEditClick: l,
1235
+ label: d,
950
1236
  assistiveText: c,
951
- assistiveWithIcon: m,
1237
+ assistiveWithIcon: p,
952
1238
  error: _,
953
- required: N,
954
- withAsterisk: y,
955
- id: p,
956
- className: h,
957
- style: C,
958
- disabled: v,
959
- readOnly: $,
960
- readOnlyComponent: g,
961
- value: R,
962
- defaultValue: W,
963
- ...D
964
- }, V) {
965
- const L = b(D, r), x = L;
1239
+ required: u,
1240
+ withAsterisk: m,
1241
+ id: h,
1242
+ className: y,
1243
+ style: g,
1244
+ disabled: f,
1245
+ readOnly: v,
1246
+ readOnlyComponent: P,
1247
+ value: W,
1248
+ defaultValue: A,
1249
+ ...R
1250
+ }, j) {
1251
+ const I = $(R, s), x = I;
966
1252
  delete x.size, delete x.variant, delete x.radius;
967
- const w = {
968
- wrapper: F.root,
1253
+ const k = {
1254
+ wrapper: U.root,
969
1255
  // The nested Input internal relative wrapper bounding box
970
- input: F.input,
971
- section: F.section
972
- }, A = x.classNames;
973
- if (A && typeof A == "object" && !Array.isArray(A)) {
974
- const I = A;
975
- w.wrapper = I.wrapper ? `${F.root} ${I.wrapper}` : F.root, w.input = I.input ? `${F.input} ${I.input}` : F.input, w.section = I.section ? `${F.section} ${I.section}` : F.section;
1256
+ input: U.input
1257
+ }, w = x.classNames;
1258
+ if (w && typeof w == "object" && !Array.isArray(w)) {
1259
+ const C = w;
1260
+ k.wrapper = C.wrapper ? `${U.root} ${C.wrapper}` : U.root, k.input = C.input ? `${U.input} ${C.input}` : U.input;
976
1261
  }
977
- return /* @__PURE__ */ o(
978
- Ae,
1262
+ return /* @__PURE__ */ e(
1263
+ no,
979
1264
  {
980
- className: h,
981
- style: C,
1265
+ className: y,
1266
+ style: g,
982
1267
  controlMaxWidth: "var(--recursica_ui-kit_components_text-field_properties_max-width)",
983
1268
  controlMinWidth: "var(--recursica_ui-kit_components_text-field_properties_min-width)",
984
- overStyled: r,
1269
+ overStyled: s,
985
1270
  formLayout: a,
986
- labelSize: s,
987
- labelAlignment: t,
988
- labelOptionalText: n,
1271
+ labelSize: n,
1272
+ labelAlignment: r,
1273
+ labelOptionalText: t,
989
1274
  labelWithEditIcon: i,
990
- onLabelEditClick: d,
991
- label: l,
1275
+ onLabelEditClick: l,
1276
+ label: d,
992
1277
  assistiveText: c,
993
- assistiveWithIcon: m,
1278
+ assistiveWithIcon: p,
994
1279
  error: _,
995
- required: N,
996
- withAsterisk: y,
997
- id: p,
998
- readOnly: $,
999
- readOnlyComponent: g,
1280
+ required: u,
1281
+ withAsterisk: m,
1282
+ id: h,
1283
+ readOnly: v,
1284
+ readOnlyComponent: P,
1000
1285
  readOnlyType: "text",
1001
- readOnlyValue: R !== void 0 ? R : W,
1286
+ readOnlyValue: W !== void 0 ? W : A,
1002
1287
  activeComponent: (
1003
1288
  /* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
1004
- /* @__PURE__ */ o(
1005
- de,
1289
+ /* @__PURE__ */ e(
1290
+ Uo,
1006
1291
  {
1007
- ref: V,
1008
- classNames: w,
1009
- disabled: v,
1010
- value: R,
1011
- defaultValue: W,
1292
+ ref: j,
1293
+ classNames: k,
1294
+ disabled: f,
1295
+ value: W,
1296
+ defaultValue: A,
1297
+ label: void 0,
1298
+ description: void 0,
1299
+ error: void 0,
1300
+ required: void 0,
1301
+ withAsterisk: void 0,
1012
1302
  wrapperProps: {
1013
- "data-disabled": v ? "true" : void 0,
1303
+ "data-disabled": f ? "true" : void 0,
1304
+ "data-error": _ ? "true" : void 0
1305
+ },
1306
+ ...I
1307
+ }
1308
+ )
1309
+ )
1310
+ }
1311
+ );
1312
+ }
1313
+ );
1314
+ Wt.displayName = "TextArea";
1315
+ const kt = "TextField-module__root___2ZYkG", Tt = "TextField-module__input___RL-My", zt = "TextField-module__section___bCIJ0", O = {
1316
+ root: kt,
1317
+ input: Tt,
1318
+ section: zt
1319
+ }, St = N(
1320
+ function({
1321
+ overStyled: s = !1,
1322
+ formLayout: a = "stacked",
1323
+ // Label & Wrapper Maps
1324
+ labelSize: n,
1325
+ labelAlignment: r,
1326
+ labelOptionalText: t,
1327
+ labelWithEditIcon: i,
1328
+ onLabelEditClick: l,
1329
+ label: d,
1330
+ assistiveText: c,
1331
+ assistiveWithIcon: p,
1332
+ error: _,
1333
+ required: u,
1334
+ withAsterisk: m,
1335
+ id: h,
1336
+ className: y,
1337
+ style: g,
1338
+ disabled: f,
1339
+ readOnly: v,
1340
+ readOnlyComponent: P,
1341
+ value: W,
1342
+ defaultValue: A,
1343
+ ...R
1344
+ }, j) {
1345
+ const I = $(R, s), x = I;
1346
+ delete x.size, delete x.variant, delete x.radius;
1347
+ const k = {
1348
+ wrapper: O.root,
1349
+ // The nested Input internal relative wrapper bounding box
1350
+ input: O.input,
1351
+ section: O.section
1352
+ }, w = x.classNames;
1353
+ if (w && typeof w == "object" && !Array.isArray(w)) {
1354
+ const C = w;
1355
+ k.wrapper = C.wrapper ? `${O.root} ${C.wrapper}` : O.root, k.input = C.input ? `${O.input} ${C.input}` : O.input, k.section = C.section ? `${O.section} ${C.section}` : O.section;
1356
+ }
1357
+ return /* @__PURE__ */ e(
1358
+ no,
1359
+ {
1360
+ className: y,
1361
+ style: g,
1362
+ controlMaxWidth: "var(--recursica_ui-kit_components_text-field_properties_max-width)",
1363
+ controlMinWidth: "var(--recursica_ui-kit_components_text-field_properties_min-width)",
1364
+ overStyled: s,
1365
+ formLayout: a,
1366
+ labelSize: n,
1367
+ labelAlignment: r,
1368
+ labelOptionalText: t,
1369
+ labelWithEditIcon: i,
1370
+ onLabelEditClick: l,
1371
+ label: d,
1372
+ assistiveText: c,
1373
+ assistiveWithIcon: p,
1374
+ error: _,
1375
+ required: u,
1376
+ withAsterisk: m,
1377
+ id: h,
1378
+ readOnly: v,
1379
+ readOnlyComponent: P,
1380
+ readOnlyType: "text",
1381
+ readOnlyValue: W !== void 0 ? W : A,
1382
+ activeComponent: (
1383
+ /* Naked Input execution safely decoupled from Mantine's macro Input.Wrapper DOM hooks */
1384
+ /* @__PURE__ */ e(
1385
+ $o,
1386
+ {
1387
+ ref: j,
1388
+ classNames: k,
1389
+ disabled: f,
1390
+ value: W,
1391
+ defaultValue: A,
1392
+ wrapperProps: {
1393
+ "data-disabled": f ? "true" : void 0,
1014
1394
  "data-error": _ ? "true" : void 0
1015
1395
  },
1016
- ...L
1396
+ ...I
1017
1397
  }
1018
1398
  )
1019
1399
  )
@@ -1021,60 +1401,78 @@ const pt = (e) => /* @__PURE__ */ o("div", { ...e, children: "Search" }), mt = (
1021
1401
  );
1022
1402
  }
1023
1403
  );
1024
- Mo.displayName = "TextField";
1025
- const yt = (e) => /* @__PURE__ */ o("div", { ...e, children: "TimePicker" }), $t = (e) => /* @__PURE__ */ o("div", { ...e, children: "Timeline" }), Ct = (e) => /* @__PURE__ */ o("div", { ...e, children: "Toast" }), vt = (e) => /* @__PURE__ */ o("div", { ...e, children: "Tooltip" }), gt = (e) => /* @__PURE__ */ o("div", { ...e, children: "TransferList" });
1404
+ St.displayName = "TextField";
1405
+ const sr = (o) => /* @__PURE__ */ e("div", { ...o, children: "TimePicker" }), nr = (o) => /* @__PURE__ */ e("div", { ...o, children: "Timeline" }), Ft = N(function({ overStyled: s = !1, order: a = 1, ...n }, r) {
1406
+ const t = $(n, s), i = t.className, l = `recursica_brand_typography_h${a}`, d = i ? `${l} ${i}` : l;
1407
+ return /* @__PURE__ */ e(
1408
+ Zo,
1409
+ {
1410
+ ref: r,
1411
+ order: a,
1412
+ className: d,
1413
+ ...t
1414
+ }
1415
+ );
1416
+ });
1417
+ Ft.displayName = "Title";
1418
+ const ar = (o) => /* @__PURE__ */ e("div", { ...o, children: "Toast" }), cr = (o) => /* @__PURE__ */ e("div", { ...o, children: "Tooltip" }), ir = (o) => /* @__PURE__ */ e("div", { ...o, children: "TransferList" });
1026
1419
  export {
1027
- oe as Accordion,
1028
- Q as AccordionControl,
1029
- ue as AccordionItem,
1030
- ee as AccordionPanel,
1031
- Xe as Avatar,
1032
- Qe as Badge,
1033
- to as Breadcrumb,
1034
- lo as Button,
1035
- Y as Card,
1036
- ye as CardContent,
1037
- Ne as CardFooter,
1038
- be as CardHeader,
1039
- fe as CardSection,
1040
- ve as Checkbox,
1041
- Ce as CheckboxGroup,
1042
- Uo as Chip,
1043
- Xo as DatePicker,
1044
- Jo as Dropdown,
1045
- H as EmptyValueRenderer,
1046
- Qo as FileInput,
1047
- et as FileUpload,
1048
- ot as HoverCard,
1049
- $e as Label,
1050
- No as Layer,
1051
- tt as Link,
1052
- rt as Loader,
1053
- nt as Menu,
1054
- st as Modal,
1055
- at as NumberInput,
1056
- ct as Pagination,
1057
- it as Panel,
1058
- lt as Popover,
1059
- dt as Radio,
1060
- xe as ReadOnlyField,
1061
- ge as ReadOnlyTextField,
1062
- Yo as RecursicaThemeProvider,
1063
- pt as Search,
1064
- mt as SegmentedControl,
1065
- _t as Slider,
1066
- ut as Stepper,
1067
- ht as Switch,
1068
- ft as Table,
1069
- bt as Tabs,
1070
- Nt as TextArea,
1071
- Mo as TextField,
1072
- yt as TimePicker,
1073
- $t as Timeline,
1074
- Ct as Toast,
1075
- vt as Tooltip,
1076
- gt as TransferList,
1077
- Ae as WithReadOnlyWrapper,
1078
- te as useReadOnlyControl
1420
+ _o as Accordion,
1421
+ lo as AccordionControl,
1422
+ Co as AccordionItem,
1423
+ po as AccordionPanel,
1424
+ _e as Avatar,
1425
+ ue as Badge,
1426
+ Ne as Breadcrumb,
1427
+ ge as Button,
1428
+ so as Card,
1429
+ wo as CardContent,
1430
+ Ao as CardFooter,
1431
+ Po as CardHeader,
1432
+ go as CardSection,
1433
+ To as Checkbox,
1434
+ ko as CheckboxGroup,
1435
+ at as Chip,
1436
+ it as Container,
1437
+ Bt as DatePicker,
1438
+ $t as Dropdown,
1439
+ eo as EmptyValueRenderer,
1440
+ Et as FileInput,
1441
+ Ot as FileUpload,
1442
+ bt as Flex,
1443
+ Ct as Group,
1444
+ Dt as HoverCard,
1445
+ Wo as Label,
1446
+ pt as Layer,
1447
+ Gt as Link,
1448
+ Mt as Loader,
1449
+ qt as Menu,
1450
+ Vt as Modal,
1451
+ Ht as NumberInput,
1452
+ Kt as Pagination,
1453
+ Ut as Panel,
1454
+ Zt as Popover,
1455
+ Yt as Radio,
1456
+ So as ReadOnlyField,
1457
+ zo as ReadOnlyTextField,
1458
+ jt as RecursicaThemeProvider,
1459
+ Xt as Search,
1460
+ Jt as SegmentedControl,
1461
+ Qt as Slider,
1462
+ gt as Stack,
1463
+ or as Stepper,
1464
+ er as Switch,
1465
+ tr as Table,
1466
+ rr as Tabs,
1467
+ Pt as Text,
1468
+ Wt as TextArea,
1469
+ St as TextField,
1470
+ sr as TimePicker,
1471
+ nr as Timeline,
1472
+ Ft as Title,
1473
+ ar as Toast,
1474
+ cr as Tooltip,
1475
+ ir as TransferList,
1476
+ no as WithReadOnlyWrapper
1079
1477
  };
1080
1478
  //# sourceMappingURL=mantine-adapter.js.map