rudiment-ui 0.1.0 → 0.2.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 (90) hide show
  1. package/README.md +288 -17
  2. package/dist/components/Alert/Alert.d.ts +2 -2
  3. package/dist/components/Alert/Alert.d.ts.map +1 -1
  4. package/dist/components/Avatar/Avatar.d.ts +2 -2
  5. package/dist/components/Avatar/Avatar.d.ts.map +1 -1
  6. package/dist/components/Badge/Badge.d.ts +2 -2
  7. package/dist/components/Badge/Badge.d.ts.map +1 -1
  8. package/dist/components/Button/Button.d.ts +2 -2
  9. package/dist/components/Button/Button.d.ts.map +1 -1
  10. package/dist/components/Card/Card.d.ts +8 -8
  11. package/dist/components/Card/Card.d.ts.map +1 -1
  12. package/dist/components/Charts/BarChart/BarChart.d.ts +2 -2
  13. package/dist/components/Charts/BarChart/BarChart.d.ts.map +1 -1
  14. package/dist/components/Charts/DonutChart/DonutChart.d.ts +4 -4
  15. package/dist/components/Charts/DonutChart/DonutChart.d.ts.map +1 -1
  16. package/dist/components/Charts/LineChart/LineChart.d.ts +2 -2
  17. package/dist/components/Charts/LineChart/LineChart.d.ts.map +1 -1
  18. package/dist/components/Checkbox/Checkbox.d.ts +2 -2
  19. package/dist/components/Checkbox/Checkbox.d.ts.map +1 -1
  20. package/dist/components/Checkbox/CheckboxGroup.d.ts +2 -2
  21. package/dist/components/Checkbox/CheckboxGroup.d.ts.map +1 -1
  22. package/dist/components/CircularProgress/CircularProgress.d.ts +2 -2
  23. package/dist/components/CircularProgress/CircularProgress.d.ts.map +1 -1
  24. package/dist/components/Dialog/Dialog.d.ts +2 -2
  25. package/dist/components/Dialog/Dialog.d.ts.map +1 -1
  26. package/dist/components/Icon/Icon.d.ts +2 -2
  27. package/dist/components/Icon/Icon.d.ts.map +1 -1
  28. package/dist/components/IconButton/IconButton.d.ts +2 -2
  29. package/dist/components/IconButton/IconButton.d.ts.map +1 -1
  30. package/dist/components/Input/Input.d.ts +2 -2
  31. package/dist/components/Input/Input.d.ts.map +1 -1
  32. package/dist/components/Kanban/KanbanBoard.d.ts +12 -12
  33. package/dist/components/Kanban/KanbanBoard.d.ts.map +1 -1
  34. package/dist/components/Kanban/KanbanCard.d.ts +2 -2
  35. package/dist/components/Kanban/KanbanCard.d.ts.map +1 -1
  36. package/dist/components/Kanban/KanbanColumn.d.ts +5 -5
  37. package/dist/components/Kanban/KanbanColumn.d.ts.map +1 -1
  38. package/dist/components/Menu/Keyboard.d.ts +2 -2
  39. package/dist/components/Menu/Keyboard.d.ts.map +1 -1
  40. package/dist/components/Menu/Menu.d.ts +2 -2
  41. package/dist/components/Menu/Menu.d.ts.map +1 -1
  42. package/dist/components/Menu/MenuItem.d.ts +2 -2
  43. package/dist/components/Menu/MenuItem.d.ts.map +1 -1
  44. package/dist/components/Menu/MenuSection.d.ts +2 -2
  45. package/dist/components/Menu/MenuSection.d.ts.map +1 -1
  46. package/dist/components/Menu/MenuTrigger.d.ts +2 -2
  47. package/dist/components/Menu/MenuTrigger.d.ts.map +1 -1
  48. package/dist/components/NavItem/NavItem.d.ts +2 -2
  49. package/dist/components/NavItem/NavItem.d.ts.map +1 -1
  50. package/dist/components/ProgressBar/ProgressBar.d.ts +2 -2
  51. package/dist/components/ProgressBar/ProgressBar.d.ts.map +1 -1
  52. package/dist/components/RadioGroup/RadioGroup.d.ts +2 -2
  53. package/dist/components/RadioGroup/RadioGroup.d.ts.map +1 -1
  54. package/dist/components/Select/Select.d.ts +2 -2
  55. package/dist/components/Select/Select.d.ts.map +1 -1
  56. package/dist/components/StatCard/StatCard.d.ts +2 -2
  57. package/dist/components/StatCard/StatCard.d.ts.map +1 -1
  58. package/dist/components/Switch/Switch.d.ts +2 -2
  59. package/dist/components/Switch/Switch.d.ts.map +1 -1
  60. package/dist/components/Tag/Tag.d.ts +2 -2
  61. package/dist/components/Tag/Tag.d.ts.map +1 -1
  62. package/dist/components/Tooltip/Tooltip.d.ts +4 -4
  63. package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
  64. package/dist/index.css +1 -1
  65. package/dist/index.d.ts +85 -85
  66. package/dist/index.d.ts.map +1 -1
  67. package/dist/index.js +675 -675
  68. package/dist/layouts/Box/Box.d.ts +2 -2
  69. package/dist/layouts/Box/Box.d.ts.map +1 -1
  70. package/dist/layouts/Center/Center.d.ts +2 -2
  71. package/dist/layouts/Center/Center.d.ts.map +1 -1
  72. package/dist/layouts/Cluster/Cluster.d.ts +2 -2
  73. package/dist/layouts/Cluster/Cluster.d.ts.map +1 -1
  74. package/dist/layouts/Cover/Cover.d.ts +2 -2
  75. package/dist/layouts/Cover/Cover.d.ts.map +1 -1
  76. package/dist/layouts/Grid/Grid.d.ts +2 -2
  77. package/dist/layouts/Grid/Grid.d.ts.map +1 -1
  78. package/dist/layouts/Sidebar/Sidebar.d.ts +2 -2
  79. package/dist/layouts/Sidebar/Sidebar.d.ts.map +1 -1
  80. package/dist/layouts/Stack/Stack.d.ts +3 -3
  81. package/dist/layouts/Stack/Stack.d.ts.map +1 -1
  82. package/dist/layouts/Switcher/Switcher.d.ts +2 -2
  83. package/dist/layouts/Switcher/Switcher.d.ts.map +1 -1
  84. package/dist/typography/Heading/Heading.d.ts +2 -2
  85. package/dist/typography/Heading/Heading.d.ts.map +1 -1
  86. package/dist/typography/Prose/Prose.d.ts +2 -2
  87. package/dist/typography/Prose/Prose.d.ts.map +1 -1
  88. package/dist/typography/Text/Text.d.ts +2 -2
  89. package/dist/typography/Text/Text.d.ts.map +1 -1
  90. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,25 +1,25 @@
1
1
  "use client";
2
- import { clsx as ne } from "clsx";
2
+ import { clsx as ie } from "clsx";
3
3
  import { twMerge as oe } from "tailwind-merge";
4
- import { useButton as O, useTextField as ie, useCheckbox as ae, useCheckboxGroup as se, useSelect as ce, HiddenSelect as le, usePopover as de, useListBox as ue, useOption as me, usePreventScroll as fe, useModalOverlay as he, useDialog as pe, OverlayContainer as ge, FocusScope as be, useSwitch as _e, VisuallyHidden as ve, useRadioGroup as Ne, useTooltip as Ce, useTooltipTrigger as ye, useProgressBar as Z, useLink as ke } from "react-aria";
5
- import w, { useState as D, useCallback as $, useEffect as xe, forwardRef as b, useRef as y, createContext as Pe, Children as Se, isValidElement as Be, cloneElement as Ie } from "react";
6
- import { jsx as r, jsxs as h, Fragment as T } from "react/jsx-runtime";
7
- import { useObjectRef as k } from "@react-aria/utils";
8
- import { Icon as $e } from "@iconify/react";
9
- import { useToggleState as q, useCheckboxGroupState as we, useSelectState as Te, useRadioGroupState as De, useTooltipTriggerState as Me } from "react-stately";
10
- import { MenuTrigger as Re, Popover as Ee, Menu as Oe, MenuItem as Ke, MenuSection as Le, Header as Ge, Collection as Ae, Keyboard as Fe } from "react-aria-components";
11
- import { Separator as kr, SubmenuTrigger as xr } from "react-aria-components";
4
+ import { useButton as O, useTextField as ne, useCheckbox as ae, useCheckboxGroup as se, useSelect as ce, HiddenSelect as de, usePopover as le, useListBox as ue, useOption as me, usePreventScroll as fe, useModalOverlay as he, useDialog as pe, OverlayContainer as ge, FocusScope as be, useSwitch as _e, VisuallyHidden as ve, useRadioGroup as Ne, useTooltip as Ce, useTooltipTrigger as Re, useProgressBar as Z, useLink as ye } from "react-aria";
5
+ import w, { useState as $, useCallback as I, useEffect as xe, forwardRef as b, useRef as R, createContext as ke, Children as Pe, isValidElement as Se, cloneElement as Be } from "react";
6
+ import { jsx as t, jsxs as h, Fragment as T } from "react/jsx-runtime";
7
+ import { useObjectRef as y } from "@react-aria/utils";
8
+ import { Icon as Ie } from "@iconify/react";
9
+ import { useToggleState as q, useCheckboxGroupState as we, useSelectState as Te, useRadioGroupState as $e, useTooltipTriggerState as De } from "react-stately";
10
+ import { MenuTrigger as Me, Popover as Ee, Menu as Oe, MenuItem as Ke, MenuSection as Le, Header as Ge, Collection as Ae, Keyboard as Fe } from "react-aria-components";
11
+ import { Separator as yt, SubmenuTrigger as xt } from "react-aria-components";
12
12
  import { ResponsiveContainer as G, BarChart as je, CartesianGrid as J, XAxis as K, YAxis as L, Tooltip as A, Legend as F, Bar as ze, LineChart as He, Line as Ue, PieChart as Xe, Pie as We, Cell as Ye } from "recharts";
13
- import { useDroppable as Ze, useSensors as qe, useSensor as U, PointerSensor as Je, KeyboardSensor as Qe, DndContext as Ve, closestCorners as et, DragOverlay as tt } from "@dnd-kit/core";
14
- import { SortableContext as rt, verticalListSortingStrategy as nt, sortableKeyboardCoordinates as ot, useSortable as it } from "@dnd-kit/sortable";
15
- import { CSS as at } from "@dnd-kit/utilities";
16
- function m(...t) {
17
- return oe(ne(t));
13
+ import { useDroppable as Ze, useSensors as qe, useSensor as U, PointerSensor as Je, KeyboardSensor as Qe, DndContext as Ve, closestCorners as er, DragOverlay as rr } from "@dnd-kit/core";
14
+ import { SortableContext as tr, verticalListSortingStrategy as ir, sortableKeyboardCoordinates as or, useSortable as nr } from "@dnd-kit/sortable";
15
+ import { CSS as ar } from "@dnd-kit/utilities";
16
+ function m(...r) {
17
+ return oe(ie(r));
18
18
  }
19
- function Q(t, e, n) {
19
+ function Q(r, e, i) {
20
20
  const { buttonProps: o } = O(
21
- { ...t, isDisabled: t.isDisabled || e },
22
- n
21
+ { ...r, isDisabled: r.isDisabled || e },
22
+ i
23
23
  );
24
24
  return {
25
25
  buttonProps: {
@@ -28,18 +28,18 @@ function Q(t, e, n) {
28
28
  }
29
29
  };
30
30
  }
31
- const st = {
32
- axisColor: "--token-component-chart-axis-color",
33
- gridColor: "--token-component-chart-grid-color",
34
- labelColor: "--token-component-chart-label-color",
35
- legendColor: "--token-component-chart-legend-color",
36
- tooltipBg: "--token-component-chart-tooltip-bg",
37
- tooltipText: "--token-component-chart-tooltip-text",
38
- tooltipBorder: "--token-component-chart-tooltip-border",
39
- chartBg: "--token-component-chart-bg"
40
- }, ct = Array.from(
31
+ const sr = {
32
+ axisColor: "--rudi-component-chart-axis-color",
33
+ gridColor: "--rudi-component-chart-grid-color",
34
+ labelColor: "--rudi-component-chart-label-color",
35
+ legendColor: "--rudi-component-chart-legend-color",
36
+ tooltipBg: "--rudi-component-chart-tooltip-bg",
37
+ tooltipText: "--rudi-component-chart-tooltip-text",
38
+ tooltipBorder: "--rudi-component-chart-tooltip-border",
39
+ chartBg: "--rudi-component-chart-bg"
40
+ }, cr = Array.from(
41
41
  { length: 8 },
42
- (t, e) => `--token-color-dataviz-series-${e + 1}`
42
+ (r, e) => `--rudi-color-dataviz-series-${e + 1}`
43
43
  ), X = [
44
44
  "#2563eb",
45
45
  "#d946ef",
@@ -63,11 +63,11 @@ function W() {
63
63
  tooltipBorder: "#e5e7eb",
64
64
  chartBg: "#ffffff"
65
65
  };
66
- const t = getComputedStyle(document.documentElement), e = (i) => t.getPropertyValue(i).trim(), n = ct.map((i, a) => e(i) || X[a]), o = {};
67
- for (const [i, a] of Object.entries(st))
68
- o[i] = e(a) || "";
66
+ const r = getComputedStyle(document.documentElement), e = (n) => r.getPropertyValue(n).trim(), i = cr.map((n, a) => e(n) || X[a]), o = {};
67
+ for (const [n, a] of Object.entries(sr))
68
+ o[n] = e(a) || "";
69
69
  return {
70
- colors: n,
70
+ colors: i,
71
71
  axisColor: o.axisColor,
72
72
  gridColor: o.gridColor,
73
73
  labelColor: o.labelColor,
@@ -79,189 +79,189 @@ function W() {
79
79
  };
80
80
  }
81
81
  function j() {
82
- const [t, e] = D(W), n = $(() => {
82
+ const [r, e] = $(W), i = I(() => {
83
83
  e(W());
84
84
  }, []);
85
85
  return xe(() => {
86
- n();
87
- const o = new MutationObserver((i) => {
88
- for (const a of i)
89
- a.type === "attributes" && a.attributeName === "data-theme" && n();
86
+ i();
87
+ const o = new MutationObserver((n) => {
88
+ for (const a of n)
89
+ a.type === "attributes" && a.attributeName === "data-theme" && i();
90
90
  });
91
91
  return o.observe(document.documentElement, {
92
92
  attributes: !0,
93
93
  attributeFilter: ["data-theme"]
94
94
  }), () => o.disconnect();
95
- }, [n]), t;
95
+ }, [i]), r;
96
96
  }
97
- const P = b(
98
- function({ icon: e, size: n = "md", color: o, label: i, className: a }, l) {
99
- const c = typeof n == "string" ? `rudiment-icon--${n}` : void 0, d = typeof n == "number" ? { width: n, height: n, ...o ? { color: o } : {} } : o ? { color: o } : void 0;
100
- return /* @__PURE__ */ r(
97
+ const k = b(
98
+ function({ icon: e, size: i = "md", color: o, label: n, className: a }, d) {
99
+ const c = typeof i == "string" ? `rudi-icon--${i}` : void 0, l = typeof i == "number" ? { width: i, height: i, ...o ? { color: o } : {} } : o ? { color: o } : void 0;
100
+ return /* @__PURE__ */ t(
101
101
  "span",
102
102
  {
103
- ref: l,
104
- className: m("rudiment-icon", c, a),
105
- role: i ? "img" : void 0,
106
- "aria-label": i,
107
- "aria-hidden": i ? void 0 : !0,
108
- style: d,
109
- children: /* @__PURE__ */ r($e, { icon: e })
103
+ ref: d,
104
+ className: m("rudi-icon", c, a),
105
+ role: n ? "img" : void 0,
106
+ "aria-label": n,
107
+ "aria-hidden": n ? void 0 : !0,
108
+ style: l,
109
+ children: /* @__PURE__ */ t(Ie, { icon: e })
110
110
  }
111
111
  );
112
112
  }
113
- ), Ot = w.forwardRef(
113
+ ), Or = w.forwardRef(
114
114
  function({
115
115
  variant: e = "primary",
116
- size: n = "md",
116
+ size: i = "md",
117
117
  isLoading: o = !1,
118
- iconBefore: i,
118
+ iconBefore: n,
119
119
  iconAfter: a,
120
- className: l,
120
+ className: d,
121
121
  children: c,
122
- ...d
122
+ ...l
123
123
  }, u) {
124
- const s = k(u), { buttonProps: p } = Q(d, o, s);
125
- return /* @__PURE__ */ r(
124
+ const s = y(u), { buttonProps: p } = Q(l, o, s);
125
+ return /* @__PURE__ */ t(
126
126
  "button",
127
127
  {
128
128
  ...p,
129
129
  ref: s,
130
130
  className: m(
131
- "rudiment-button",
132
- `rudiment-button--${e}`,
133
- `rudiment-button--${n}`,
134
- o && "rudiment-button--loading",
135
- l
131
+ "rudi-button",
132
+ `rudi-button--${e}`,
133
+ `rudi-button--${i}`,
134
+ o && "rudi-button--loading",
135
+ d
136
136
  ),
137
137
  children: o ? /* @__PURE__ */ h(T, { children: [
138
- /* @__PURE__ */ r("span", { className: "rudiment-button__spinner", role: "img", "aria-hidden": "true" }),
139
- /* @__PURE__ */ r("span", { children: c })
138
+ /* @__PURE__ */ t("span", { className: "rudi-button__spinner", role: "img", "aria-hidden": "true" }),
139
+ /* @__PURE__ */ t("span", { children: c })
140
140
  ] }) : /* @__PURE__ */ h(T, { children: [
141
- i && /* @__PURE__ */ r(P, { icon: i, size: n, className: "rudiment-button__icon" }),
142
- /* @__PURE__ */ r("span", { children: c }),
143
- a && /* @__PURE__ */ r(P, { icon: a, size: n, className: "rudiment-button__icon" })
141
+ n && /* @__PURE__ */ t(k, { icon: n, size: i, className: "rudi-button__icon" }),
142
+ /* @__PURE__ */ t("span", { children: c }),
143
+ a && /* @__PURE__ */ t(k, { icon: a, size: i, className: "rudi-button__icon" })
144
144
  ] })
145
145
  }
146
146
  );
147
147
  }
148
- ), Kt = w.forwardRef(
148
+ ), Kr = w.forwardRef(
149
149
  function({
150
150
  label: e,
151
- type: n = "text",
151
+ type: i = "text",
152
152
  placeholder: o,
153
- description: i,
153
+ description: n,
154
154
  errorMessage: a,
155
- isRequired: l = !1,
155
+ isRequired: d = !1,
156
156
  isDisabled: c = !1,
157
- value: d,
157
+ value: l,
158
158
  defaultValue: u,
159
159
  onChange: s,
160
160
  className: p
161
161
  }, g) {
162
- const f = k(g), {
162
+ const f = y(g), {
163
163
  labelProps: _,
164
164
  inputProps: v,
165
165
  descriptionProps: N,
166
166
  errorMessageProps: x,
167
167
  isInvalid: C
168
- } = ie(
168
+ } = ne(
169
169
  {
170
170
  label: e,
171
- type: n,
171
+ type: i,
172
172
  placeholder: o,
173
- description: i,
173
+ description: n,
174
174
  errorMessage: a,
175
- isRequired: l,
175
+ isRequired: d,
176
176
  isDisabled: c,
177
- value: d,
177
+ value: l,
178
178
  defaultValue: u,
179
179
  onChange: s,
180
180
  isInvalid: !!a
181
181
  },
182
182
  f
183
183
  );
184
- return /* @__PURE__ */ h("div", { className: m("rudiment-input", p), children: [
185
- /* @__PURE__ */ h("label", { ..._, className: "rudiment-input__label", children: [
184
+ return /* @__PURE__ */ h("div", { className: m("rudi-input", p), children: [
185
+ /* @__PURE__ */ h("label", { ..._, className: "rudi-input__label", children: [
186
186
  e,
187
- l && /* @__PURE__ */ h("span", { className: "rudiment-input__required", "aria-hidden": "true", children: [
187
+ d && /* @__PURE__ */ h("span", { className: "rudi-input__required", "aria-hidden": "true", children: [
188
188
  " ",
189
189
  "*"
190
190
  ] })
191
191
  ] }),
192
- /* @__PURE__ */ r(
192
+ /* @__PURE__ */ t(
193
193
  "input",
194
194
  {
195
195
  ...v,
196
196
  ref: f,
197
197
  className: m(
198
- "rudiment-input__field",
199
- C && "rudiment-input__field--error"
198
+ "rudi-input__field",
199
+ C && "rudi-input__field--error"
200
200
  )
201
201
  }
202
202
  ),
203
- i && !C && /* @__PURE__ */ r("p", { ...N, className: "rudiment-input__description", children: i }),
204
- C && a && /* @__PURE__ */ r("p", { ...x, className: "rudiment-input__error", children: a })
203
+ n && !C && /* @__PURE__ */ t("p", { ...N, className: "rudi-input__description", children: n }),
204
+ C && a && /* @__PURE__ */ t("p", { ...x, className: "rudi-input__error", children: a })
205
205
  ] });
206
206
  }
207
- ), Lt = b(
208
- function(e, n) {
209
- const o = k(n), i = q(e), { inputProps: a } = ae(e, i, o);
207
+ ), Lr = b(
208
+ function(e, i) {
209
+ const o = y(i), n = q(e), { inputProps: a } = ae(e, n, o);
210
210
  return /* @__PURE__ */ h(
211
211
  "label",
212
212
  {
213
213
  className: m(
214
- "rudiment-checkbox",
215
- e.isDisabled && "rudiment-checkbox--disabled",
214
+ "rudi-checkbox",
215
+ e.isDisabled && "rudi-checkbox--disabled",
216
216
  e.className
217
217
  ),
218
218
  children: [
219
- /* @__PURE__ */ r("input", { ...a, ref: o, className: "rudiment-checkbox__input" }),
220
- /* @__PURE__ */ r(
219
+ /* @__PURE__ */ t("input", { ...a, ref: o, className: "rudi-checkbox__input" }),
220
+ /* @__PURE__ */ t(
221
221
  "span",
222
222
  {
223
223
  className: m(
224
- "rudiment-checkbox__control",
225
- i.isSelected && "rudiment-checkbox__control--checked",
226
- e.isIndeterminate && "rudiment-checkbox__control--indeterminate"
224
+ "rudi-checkbox__control",
225
+ n.isSelected && "rudi-checkbox__control--checked",
226
+ e.isIndeterminate && "rudi-checkbox__control--indeterminate"
227
227
  ),
228
228
  "aria-hidden": "true"
229
229
  }
230
230
  ),
231
- /* @__PURE__ */ r("span", { className: "rudiment-checkbox__label", children: e.children })
231
+ /* @__PURE__ */ t("span", { className: "rudi-checkbox__label", children: e.children })
232
232
  ]
233
233
  }
234
234
  );
235
235
  }
236
236
  );
237
- function Gt(t) {
238
- const e = we(t), { groupProps: n, labelProps: o, descriptionProps: i, errorMessageProps: a } = se(t, e);
237
+ function Gr(r) {
238
+ const e = we(r), { groupProps: i, labelProps: o, descriptionProps: n, errorMessageProps: a } = se(r, e);
239
239
  return /* @__PURE__ */ h(
240
240
  "div",
241
241
  {
242
- ...n,
243
- className: m("rudiment-checkbox-group", t.className),
242
+ ...i,
243
+ className: m("rudi-checkbox-group", r.className),
244
244
  children: [
245
- /* @__PURE__ */ r("span", { ...o, className: "rudiment-checkbox-group__label", children: t.label }),
246
- t.children,
247
- t.description && !t.errorMessage && /* @__PURE__ */ r(
245
+ /* @__PURE__ */ t("span", { ...o, className: "rudi-checkbox-group__label", children: r.label }),
246
+ r.children,
247
+ r.description && !r.errorMessage && /* @__PURE__ */ t(
248
248
  "p",
249
249
  {
250
- ...i,
251
- className: "rudiment-checkbox-group__description",
252
- children: t.description
250
+ ...n,
251
+ className: "rudi-checkbox-group__description",
252
+ children: r.description
253
253
  }
254
254
  ),
255
- t.errorMessage && /* @__PURE__ */ r("p", { ...a, className: "rudiment-checkbox-group__error", children: t.errorMessage })
255
+ r.errorMessage && /* @__PURE__ */ t("p", { ...a, className: "rudi-checkbox-group__error", children: r.errorMessage })
256
256
  ]
257
257
  }
258
258
  );
259
259
  }
260
- function lt(t) {
261
- return /* @__PURE__ */ r(
260
+ function dr(r) {
261
+ return /* @__PURE__ */ t(
262
262
  "svg",
263
263
  {
264
- ...t,
264
+ ...r,
265
265
  xmlns: "http://www.w3.org/2000/svg",
266
266
  width: "16",
267
267
  height: "16",
@@ -271,142 +271,142 @@ function lt(t) {
271
271
  strokeWidth: "2",
272
272
  strokeLinecap: "round",
273
273
  strokeLinejoin: "round",
274
- children: /* @__PURE__ */ r("polyline", { points: "6 9 12 15 18 9" })
274
+ children: /* @__PURE__ */ t("polyline", { points: "6 9 12 15 18 9" })
275
275
  }
276
276
  );
277
277
  }
278
- function dt({
279
- state: t,
278
+ function lr({
279
+ state: r,
280
280
  triggerRef: e,
281
- popoverRef: n,
281
+ popoverRef: i,
282
282
  children: o
283
283
  }) {
284
- const { popoverProps: i } = de({ triggerRef: e, popoverRef: n }, t);
285
- return /* @__PURE__ */ r(
284
+ const { popoverProps: n } = le({ triggerRef: e, popoverRef: i }, r);
285
+ return /* @__PURE__ */ t(
286
286
  "div",
287
287
  {
288
- ...i,
289
- ref: n,
290
- className: "rudiment-select__popover",
288
+ ...n,
289
+ ref: i,
290
+ className: "rudi-select__popover",
291
291
  children: o
292
292
  }
293
293
  );
294
294
  }
295
- function ut({ state: t, listBoxRef: e, ...n }) {
296
- const { listBoxProps: o } = ue(n, t, e);
297
- return /* @__PURE__ */ r("ul", { ...o, ref: e, className: "rudiment-select__listbox", children: [...t.collection].map((i) => /* @__PURE__ */ r(mt, { item: i, state: t }, i.key)) });
295
+ function ur({ state: r, listBoxRef: e, ...i }) {
296
+ const { listBoxProps: o } = ue(i, r, e);
297
+ return /* @__PURE__ */ t("ul", { ...o, ref: e, className: "rudi-select__listbox", children: [...r.collection].map((n) => /* @__PURE__ */ t(mr, { item: n, state: r }, n.key)) });
298
298
  }
299
- function mt({ item: t, state: e }) {
300
- const n = y(null), { optionProps: o, isSelected: i, isFocused: a } = me(
301
- { key: t.key },
299
+ function mr({ item: r, state: e }) {
300
+ const i = R(null), { optionProps: o, isSelected: n, isFocused: a } = me(
301
+ { key: r.key },
302
302
  e,
303
- n
303
+ i
304
304
  );
305
- return /* @__PURE__ */ r(
305
+ return /* @__PURE__ */ t(
306
306
  "li",
307
307
  {
308
308
  ...o,
309
- ref: n,
310
- className: "rudiment-select__option",
309
+ ref: i,
310
+ className: "rudi-select__option",
311
311
  "data-focused": a,
312
- "aria-selected": i,
313
- children: t.rendered
312
+ "aria-selected": n,
313
+ children: r.rendered
314
314
  }
315
315
  );
316
316
  }
317
- function At(t) {
318
- const e = Te(t), n = y(null), o = y(null), i = y(null), {
317
+ function Ar(r) {
318
+ const e = Te(r), i = R(null), o = R(null), n = R(null), {
319
319
  labelProps: a,
320
- triggerProps: l,
320
+ triggerProps: d,
321
321
  valueProps: c,
322
- menuProps: d,
322
+ menuProps: l,
323
323
  descriptionProps: u,
324
324
  errorMessageProps: s
325
325
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
326
- } = ce(t, e, n), { buttonProps: p } = O(l, n);
327
- return /* @__PURE__ */ h("div", { className: m("rudiment-select", t.className), children: [
328
- /* @__PURE__ */ r("label", { ...a, className: "rudiment-select__label", children: t.label }),
329
- /* @__PURE__ */ r(le, { state: e, triggerRef: n, label: t.label }),
326
+ } = ce(r, e, i), { buttonProps: p } = O(d, i);
327
+ return /* @__PURE__ */ h("div", { className: m("rudi-select", r.className), children: [
328
+ /* @__PURE__ */ t("label", { ...a, className: "rudi-select__label", children: r.label }),
329
+ /* @__PURE__ */ t(de, { state: e, triggerRef: i, label: r.label }),
330
330
  /* @__PURE__ */ h(
331
331
  "button",
332
332
  {
333
333
  ...p,
334
- ref: n,
334
+ ref: i,
335
335
  className: m(
336
- "rudiment-select__trigger",
337
- t.errorMessage && "rudiment-select__trigger--error"
336
+ "rudi-select__trigger",
337
+ r.errorMessage && "rudi-select__trigger--error"
338
338
  ),
339
339
  children: [
340
- /* @__PURE__ */ r("span", { ...c, children: e.selectedItem ? e.selectedItem.rendered : t.placeholder || "Select an option" }),
341
- /* @__PURE__ */ r(lt, { "aria-hidden": "true" })
340
+ /* @__PURE__ */ t("span", { ...c, children: e.selectedItem ? e.selectedItem.rendered : r.placeholder || "Select an option" }),
341
+ /* @__PURE__ */ t(dr, { "aria-hidden": "true" })
342
342
  ]
343
343
  }
344
344
  ),
345
- e.isOpen && /* @__PURE__ */ r(dt, { state: e, triggerRef: n, popoverRef: o, children: /* @__PURE__ */ r(ut, { ...d, state: e, listBoxRef: i }) }),
346
- t.description && !t.errorMessage && /* @__PURE__ */ r("p", { ...u, className: "rudiment-select__description", children: t.description }),
347
- t.errorMessage && /* @__PURE__ */ r("p", { ...s, className: "rudiment-select__error", children: t.errorMessage })
345
+ e.isOpen && /* @__PURE__ */ t(lr, { state: e, triggerRef: i, popoverRef: o, children: /* @__PURE__ */ t(ur, { ...l, state: e, listBoxRef: n }) }),
346
+ r.description && !r.errorMessage && /* @__PURE__ */ t("p", { ...u, className: "rudi-select__description", children: r.description }),
347
+ r.errorMessage && /* @__PURE__ */ t("p", { ...s, className: "rudi-select__error", children: r.errorMessage })
348
348
  ] });
349
349
  }
350
- function Ft(t) {
351
- return /* @__PURE__ */ r(Re, { ...t });
350
+ function Fr(r) {
351
+ return /* @__PURE__ */ t(Me, { ...r });
352
352
  }
353
- function jt({ className: t, ...e }) {
354
- return /* @__PURE__ */ r(Ee, { className: "rudiment-menu__popover", children: /* @__PURE__ */ r(
353
+ function jr({ className: r, ...e }) {
354
+ return /* @__PURE__ */ t(Ee, { className: "rudi-menu__popover", children: /* @__PURE__ */ t(
355
355
  Oe,
356
356
  {
357
357
  ...e,
358
- className: m("rudiment-menu__list", t)
358
+ className: m("rudi-menu__list", r)
359
359
  }
360
360
  ) });
361
361
  }
362
- function zt({ isDestructive: t, className: e, ...n }) {
363
- return /* @__PURE__ */ r(
362
+ function zr({ isDestructive: r, className: e, ...i }) {
363
+ return /* @__PURE__ */ t(
364
364
  Ke,
365
365
  {
366
- ...n,
366
+ ...i,
367
367
  className: (o) => m(
368
- "rudiment-menu__item",
369
- t && "rudiment-menu__item--destructive",
368
+ "rudi-menu__item",
369
+ r && "rudi-menu__item--destructive",
370
370
  typeof e == "function" ? e(o) : e
371
371
  ),
372
- "data-destructive": t || void 0
372
+ "data-destructive": r || void 0
373
373
  }
374
374
  );
375
375
  }
376
- function Ht({
377
- title: t,
376
+ function Hr({
377
+ title: r,
378
378
  className: e,
379
- children: n,
379
+ children: i,
380
380
  ...o
381
381
  }) {
382
- return /* @__PURE__ */ h(Le, { ...o, className: m("rudiment-menu__section", e), children: [
383
- t && /* @__PURE__ */ r(Ge, { className: "rudiment-menu__section-header", children: t }),
384
- /* @__PURE__ */ r(Ae, { items: o.items, children: n })
382
+ return /* @__PURE__ */ h(Le, { ...o, className: m("rudi-menu__section", e), children: [
383
+ r && /* @__PURE__ */ t(Ge, { className: "rudi-menu__section-header", children: r }),
384
+ /* @__PURE__ */ t(Ae, { items: o.items, children: i })
385
385
  ] });
386
386
  }
387
- function Ut({ className: t, ...e }) {
388
- return /* @__PURE__ */ r(
387
+ function Ur({ className: r, ...e }) {
388
+ return /* @__PURE__ */ t(
389
389
  Fe,
390
390
  {
391
391
  ...e,
392
- className: m("rudiment-menu__item-shortcut", t)
392
+ className: m("rudi-menu__item-shortcut", r)
393
393
  }
394
394
  );
395
395
  }
396
- const Xt = b(function({
396
+ const Xr = b(function({
397
397
  isOpen: e,
398
- onClose: n,
398
+ onClose: i,
399
399
  title: o,
400
- isDismissable: i = !0,
400
+ isDismissable: n = !0,
401
401
  size: a = "md",
402
- children: l,
402
+ children: d,
403
403
  className: c
404
- }, d) {
405
- const u = y(null), s = k(d);
404
+ }, l) {
405
+ const u = R(null), s = y(l);
406
406
  fe({ isDisabled: !e });
407
407
  const p = {
408
408
  isOpen: e,
409
- close: n,
409
+ close: i,
410
410
  open: () => {
411
411
  },
412
412
  toggle: () => {
@@ -414,344 +414,344 @@ const Xt = b(function({
414
414
  setOpen: () => {
415
415
  }
416
416
  }, { modalProps: g, underlayProps: f } = he(
417
- { isDismissable: i },
417
+ { isDismissable: n },
418
418
  p,
419
419
  s
420
420
  ), { dialogProps: _, titleProps: v } = pe({}, s);
421
- return e ? /* @__PURE__ */ r(ge, { children: /* @__PURE__ */ r(
421
+ return e ? /* @__PURE__ */ t(ge, { children: /* @__PURE__ */ t(
422
422
  "div",
423
423
  {
424
424
  ...f,
425
425
  ref: u,
426
- className: "rudiment-dialog__overlay",
427
- children: /* @__PURE__ */ r(be, { contain: !0, restoreFocus: !0, autoFocus: !0, children: /* @__PURE__ */ h(
426
+ className: "rudi-dialog__overlay",
427
+ children: /* @__PURE__ */ t(be, { contain: !0, restoreFocus: !0, autoFocus: !0, children: /* @__PURE__ */ h(
428
428
  "div",
429
429
  {
430
430
  ...g,
431
431
  ..._,
432
432
  ref: s,
433
433
  className: m(
434
- "rudiment-dialog",
435
- `rudiment-dialog--${a}`,
434
+ "rudi-dialog",
435
+ `rudi-dialog--${a}`,
436
436
  c
437
437
  ),
438
438
  children: [
439
- /* @__PURE__ */ r("h2", { ...v, className: "rudiment-dialog__title", children: o }),
440
- /* @__PURE__ */ r("div", { className: "rudiment-dialog__body", children: l })
439
+ /* @__PURE__ */ t("h2", { ...v, className: "rudi-dialog__title", children: o }),
440
+ /* @__PURE__ */ t("div", { className: "rudi-dialog__body", children: d })
441
441
  ]
442
442
  }
443
443
  ) })
444
444
  }
445
445
  ) }) : null;
446
- }), Wt = b(
447
- function(e, n) {
448
- const o = k(n), i = q(e), { inputProps: a } = _e(e, i, o);
446
+ }), Wr = b(
447
+ function(e, i) {
448
+ const o = y(i), n = q(e), { inputProps: a } = _e(e, n, o);
449
449
  return /* @__PURE__ */ h(
450
450
  "label",
451
451
  {
452
452
  className: m(
453
- "rudiment-switch",
454
- e.isDisabled && "rudiment-switch--disabled",
453
+ "rudi-switch",
454
+ e.isDisabled && "rudi-switch--disabled",
455
455
  e.className
456
456
  ),
457
457
  children: [
458
- /* @__PURE__ */ r(ve, { children: /* @__PURE__ */ r("input", { ...a, ref: o }) }),
459
- /* @__PURE__ */ r(
458
+ /* @__PURE__ */ t(ve, { children: /* @__PURE__ */ t("input", { ...a, ref: o }) }),
459
+ /* @__PURE__ */ t(
460
460
  "span",
461
461
  {
462
462
  className: m(
463
- "rudiment-switch__track",
464
- i.isSelected && "rudiment-switch__track--on"
463
+ "rudi-switch__track",
464
+ n.isSelected && "rudi-switch__track--on"
465
465
  ),
466
466
  "aria-hidden": "true",
467
- children: /* @__PURE__ */ r("span", { className: "rudiment-switch__thumb" })
467
+ children: /* @__PURE__ */ t("span", { className: "rudi-switch__thumb" })
468
468
  }
469
469
  ),
470
- /* @__PURE__ */ r("span", { className: "rudiment-switch__label", children: e.children })
470
+ /* @__PURE__ */ t("span", { className: "rudi-switch__label", children: e.children })
471
471
  ]
472
472
  }
473
473
  );
474
474
  }
475
- ), ft = Pe(null);
476
- function Yt(t) {
477
- const e = De(t), { radioGroupProps: n, labelProps: o, descriptionProps: i, errorMessageProps: a } = Ne(t, e);
478
- return /* @__PURE__ */ r(ft.Provider, { value: e, children: /* @__PURE__ */ h(
475
+ ), fr = ke(null);
476
+ function Yr(r) {
477
+ const e = $e(r), { radioGroupProps: i, labelProps: o, descriptionProps: n, errorMessageProps: a } = Ne(r, e);
478
+ return /* @__PURE__ */ t(fr.Provider, { value: e, children: /* @__PURE__ */ h(
479
479
  "div",
480
480
  {
481
- ...n,
482
- className: m("rudiment-radio-group", t.className),
481
+ ...i,
482
+ className: m("rudi-radio-group", r.className),
483
483
  children: [
484
- /* @__PURE__ */ r("span", { ...o, className: "rudiment-radio-group__label", children: t.label }),
485
- /* @__PURE__ */ r(
484
+ /* @__PURE__ */ t("span", { ...o, className: "rudi-radio-group__label", children: r.label }),
485
+ /* @__PURE__ */ t(
486
486
  "div",
487
487
  {
488
488
  className: m(
489
- "rudiment-radio-group__options",
490
- t.orientation === "horizontal" && "rudiment-radio-group__options--horizontal"
489
+ "rudi-radio-group__options",
490
+ r.orientation === "horizontal" && "rudi-radio-group__options--horizontal"
491
491
  ),
492
- children: t.children
492
+ children: r.children
493
493
  }
494
494
  ),
495
- t.description && !t.errorMessage && /* @__PURE__ */ r("p", { ...i, className: "rudiment-radio-group__description", children: t.description }),
496
- t.errorMessage && /* @__PURE__ */ r("p", { ...a, className: "rudiment-radio-group__error", children: t.errorMessage })
495
+ r.description && !r.errorMessage && /* @__PURE__ */ t("p", { ...n, className: "rudi-radio-group__description", children: r.description }),
496
+ r.errorMessage && /* @__PURE__ */ t("p", { ...a, className: "rudi-radio-group__error", children: r.errorMessage })
497
497
  ]
498
498
  }
499
499
  ) });
500
500
  }
501
- const Zt = b(
502
- function({ delay: e = 500, closeDelay: n = 0, children: o }, i) {
503
- const a = Me({ delay: e, closeDelay: n }), l = y(null), { triggerProps: c, tooltipProps: d } = ye({ delay: e, closeDelay: n }, a, l), [u, s] = o, { "aria-describedby": p, tabIndex: g, ...f } = c;
504
- return /* @__PURE__ */ h("span", { ref: i, className: "rudiment-tooltip-trigger", ...f, children: [
501
+ const Zr = b(
502
+ function({ delay: e = 500, closeDelay: i = 0, children: o }, n) {
503
+ const a = De({ delay: e, closeDelay: i }), d = R(null), { triggerProps: c, tooltipProps: l } = Re({ delay: e, closeDelay: i }, a, d), [u, s] = o, { "aria-describedby": p, tabIndex: g, ...f } = c;
504
+ return /* @__PURE__ */ h("span", { ref: n, className: "rudi-tooltip-trigger", ...f, children: [
505
505
  w.cloneElement(u, {
506
- ref: l,
506
+ ref: d,
507
507
  "aria-describedby": p
508
508
  }),
509
- a.isOpen && w.cloneElement(s, d)
509
+ a.isOpen && w.cloneElement(s, l)
510
510
  ] });
511
511
  }
512
- ), qt = b(
513
- function({ children: e, className: n, ...o }, i) {
512
+ ), qr = b(
513
+ function({ children: e, className: i, ...o }, n) {
514
514
  const { tooltipProps: a } = Ce(o);
515
- return /* @__PURE__ */ r(
515
+ return /* @__PURE__ */ t(
516
516
  "span",
517
517
  {
518
518
  ...a,
519
- ref: i,
520
- className: m("rudiment-tooltip", n),
519
+ ref: n,
520
+ className: m("rudi-tooltip", i),
521
521
  role: "tooltip",
522
522
  children: e
523
523
  }
524
524
  );
525
525
  }
526
526
  );
527
- function Jt({
528
- variant: t,
527
+ function Jr({
528
+ variant: r,
529
529
  title: e,
530
- icon: n,
530
+ icon: i,
531
531
  isPolite: o = !1,
532
- dismissible: i = !1,
532
+ dismissible: n = !1,
533
533
  onDismiss: a,
534
- children: l,
534
+ children: d,
535
535
  className: c
536
536
  }) {
537
- const [d, u] = D(!1);
538
- return d ? null : /* @__PURE__ */ h(
537
+ const [l, u] = $(!1);
538
+ return l ? null : /* @__PURE__ */ h(
539
539
  "div",
540
540
  {
541
541
  role: o ? "status" : "alert",
542
542
  className: m(
543
- "rudiment-alert",
544
- `rudiment-alert--${t}`,
545
- n && "rudiment-alert--has-icon",
546
- i && "rudiment-alert--dismissible",
543
+ "rudi-alert",
544
+ `rudi-alert--${r}`,
545
+ i && "rudi-alert--has-icon",
546
+ n && "rudi-alert--dismissible",
547
547
  c
548
548
  ),
549
549
  children: [
550
- n && /* @__PURE__ */ r(P, { icon: n, size: "md", className: "rudiment-alert__icon", "aria-hidden": "true" }),
551
- /* @__PURE__ */ h("div", { className: "rudiment-alert__body", children: [
552
- e && /* @__PURE__ */ r("p", { className: "rudiment-alert__title", children: e }),
553
- /* @__PURE__ */ r("div", { className: "rudiment-alert__content", children: l })
550
+ i && /* @__PURE__ */ t(k, { icon: i, size: "md", className: "rudi-alert__icon", "aria-hidden": "true" }),
551
+ /* @__PURE__ */ h("div", { className: "rudi-alert__body", children: [
552
+ e && /* @__PURE__ */ t("p", { className: "rudi-alert__title", children: e }),
553
+ /* @__PURE__ */ t("div", { className: "rudi-alert__content", children: d })
554
554
  ] }),
555
- i && /* @__PURE__ */ r(
555
+ n && /* @__PURE__ */ t(
556
556
  "button",
557
557
  {
558
558
  type: "button",
559
- className: "rudiment-alert__dismiss",
559
+ className: "rudi-alert__dismiss",
560
560
  "aria-label": "Dismiss alert",
561
561
  onClick: () => {
562
562
  u(!0), a?.();
563
563
  },
564
- children: /* @__PURE__ */ r(P, { icon: "mdi:close", size: "sm", "aria-hidden": "true" })
564
+ children: /* @__PURE__ */ t(k, { icon: "mdi:close", size: "sm", "aria-hidden": "true" })
565
565
  }
566
566
  )
567
567
  ]
568
568
  }
569
569
  );
570
570
  }
571
- const Qt = w.forwardRef(
571
+ const Qr = w.forwardRef(
572
572
  function({
573
573
  variant: e = "secondary",
574
- size: n = "md",
574
+ size: i = "md",
575
575
  isLoading: o = !1,
576
- className: i,
576
+ className: n,
577
577
  children: a,
578
- ...l
578
+ ...d
579
579
  }, c) {
580
- const d = k(c), { buttonProps: u } = Q(l, o, d);
581
- return /* @__PURE__ */ r(
580
+ const l = y(c), { buttonProps: u } = Q(d, o, l);
581
+ return /* @__PURE__ */ t(
582
582
  "button",
583
583
  {
584
584
  ...u,
585
- ref: d,
585
+ ref: l,
586
586
  className: m(
587
- "rudiment-icon-button",
588
- `rudiment-icon-button--${e}`,
589
- `rudiment-icon-button--${n}`,
590
- i
587
+ "rudi-icon-button",
588
+ `rudi-icon-button--${e}`,
589
+ `rudi-icon-button--${i}`,
590
+ n
591
591
  ),
592
592
  children: a
593
593
  }
594
594
  );
595
595
  }
596
596
  );
597
- function ht({
598
- variant: t = "default",
597
+ function hr({
598
+ variant: r = "default",
599
599
  size: e = "md",
600
- dot: n = !1,
600
+ dot: i = !1,
601
601
  children: o,
602
- className: i
602
+ className: n
603
603
  }) {
604
- return /* @__PURE__ */ r(
604
+ return /* @__PURE__ */ t(
605
605
  "span",
606
606
  {
607
607
  className: m(
608
- "rudiment-badge",
609
- `rudiment-badge--${t}`,
610
- `rudiment-badge--${e}`,
611
- n && "rudiment-badge--dot",
612
- i
608
+ "rudi-badge",
609
+ `rudi-badge--${r}`,
610
+ `rudi-badge--${e}`,
611
+ i && "rudi-badge--dot",
612
+ n
613
613
  ),
614
- children: !n && o
614
+ children: !i && o
615
615
  }
616
616
  );
617
617
  }
618
- function Vt({
619
- variant: t = "default",
618
+ function Vr({
619
+ variant: r = "default",
620
620
  dismissible: e = !1,
621
- onDismiss: n,
621
+ onDismiss: i,
622
622
  onPress: o,
623
- isDisabled: i = !1,
623
+ isDisabled: n = !1,
624
624
  children: a,
625
- className: l
625
+ className: d
626
626
  }) {
627
- const [c, d] = D(!1), u = y(null), { buttonProps: s } = O(
627
+ const [c, l] = $(!1), u = R(null), { buttonProps: s } = O(
628
628
  {
629
629
  onPress: o,
630
- isDisabled: i,
630
+ isDisabled: n,
631
631
  elementType: o ? "button" : "span"
632
632
  },
633
633
  u
634
634
  ), p = typeof a == "string" ? `Remove ${a}` : "Remove", g = m(
635
- "rudiment-tag",
636
- `rudiment-tag--${t}`,
637
- o && "rudiment-tag--interactive",
638
- e && "rudiment-tag--dismissible",
639
- l
635
+ "rudi-tag",
636
+ `rudi-tag--${r}`,
637
+ o && "rudi-tag--interactive",
638
+ e && "rudi-tag--dismissible",
639
+ d
640
640
  );
641
641
  return c ? null : o ? /* @__PURE__ */ h("button", { ref: u, ...s, className: g, children: [
642
642
  a,
643
- e && /* @__PURE__ */ r(
643
+ e && /* @__PURE__ */ t(
644
644
  "span",
645
645
  {
646
646
  role: "button",
647
647
  tabIndex: 0,
648
- className: "rudiment-tag__close",
648
+ className: "rudi-tag__close",
649
649
  "aria-label": p,
650
650
  onClick: (f) => {
651
- f.stopPropagation(), d(!0), n?.();
651
+ f.stopPropagation(), l(!0), i?.();
652
652
  },
653
653
  onKeyDown: (f) => {
654
- (f.key === "Enter" || f.key === " ") && (f.preventDefault(), f.stopPropagation(), d(!0), n?.());
654
+ (f.key === "Enter" || f.key === " ") && (f.preventDefault(), f.stopPropagation(), l(!0), i?.());
655
655
  },
656
- children: /* @__PURE__ */ r(P, { icon: "mdi:close", size: "sm", "aria-hidden": "true" })
656
+ children: /* @__PURE__ */ t(k, { icon: "mdi:close", size: "sm", "aria-hidden": "true" })
657
657
  }
658
658
  )
659
659
  ] }) : /* @__PURE__ */ h(
660
660
  "span",
661
661
  {
662
662
  className: g,
663
- ...i ? { "aria-disabled": "true" } : {},
663
+ ...n ? { "aria-disabled": "true" } : {},
664
664
  children: [
665
665
  a,
666
- e && /* @__PURE__ */ r(
666
+ e && /* @__PURE__ */ t(
667
667
  "button",
668
668
  {
669
669
  type: "button",
670
- className: "rudiment-tag__close",
670
+ className: "rudi-tag__close",
671
671
  "aria-label": p,
672
672
  onClick: () => {
673
- d(!0), n?.();
673
+ l(!0), i?.();
674
674
  },
675
- children: /* @__PURE__ */ r(P, { icon: "mdi:close", size: "sm", "aria-hidden": "true" })
675
+ children: /* @__PURE__ */ t(k, { icon: "mdi:close", size: "sm", "aria-hidden": "true" })
676
676
  }
677
677
  )
678
678
  ]
679
679
  }
680
680
  );
681
681
  }
682
- const pt = b(
683
- function({ variant: e = "default", padding: n = "md", children: o, className: i }, a) {
684
- return /* @__PURE__ */ r(
682
+ const pr = b(
683
+ function({ variant: e = "default", padding: i = "md", children: o, className: n }, a) {
684
+ return /* @__PURE__ */ t(
685
685
  "div",
686
686
  {
687
687
  ref: a,
688
688
  className: m(
689
- "rudiment-card",
690
- `rudiment-card--${e}`,
691
- `rudiment-card--padding-${n}`,
692
- i
689
+ "rudi-card",
690
+ `rudi-card--${e}`,
691
+ `rudi-card--padding-${i}`,
692
+ n
693
693
  ),
694
694
  children: o
695
695
  }
696
696
  );
697
697
  }
698
698
  );
699
- function gt({ children: t, className: e }) {
700
- return /* @__PURE__ */ r("div", { className: m("rudiment-card__header", e), children: t });
699
+ function gr({ children: r, className: e }) {
700
+ return /* @__PURE__ */ t("div", { className: m("rudi-card__header", e), children: r });
701
701
  }
702
- function bt({ children: t, className: e }) {
703
- return /* @__PURE__ */ r("div", { className: m("rudiment-card__body", e), children: t });
702
+ function br({ children: r, className: e }) {
703
+ return /* @__PURE__ */ t("div", { className: m("rudi-card__body", e), children: r });
704
704
  }
705
- function _t({ children: t, className: e }) {
706
- return /* @__PURE__ */ r("div", { className: m("rudiment-card__footer", e), children: t });
705
+ function _r({ children: r, className: e }) {
706
+ return /* @__PURE__ */ t("div", { className: m("rudi-card__footer", e), children: r });
707
707
  }
708
- const Y = Object.assign(pt, {
709
- Header: gt,
710
- Body: bt,
711
- Footer: _t
708
+ const Y = Object.assign(pr, {
709
+ Header: gr,
710
+ Body: br,
711
+ Footer: _r
712
712
  });
713
- function er({
714
- value: t,
713
+ function et({
714
+ value: r,
715
715
  minValue: e = 0,
716
- maxValue: n = 100,
716
+ maxValue: i = 100,
717
717
  label: o,
718
- showValueLabel: i = !1,
718
+ showValueLabel: n = !1,
719
719
  variant: a = "default",
720
- size: l = "md",
720
+ size: d = "md",
721
721
  className: c
722
722
  }) {
723
- const { progressBarProps: d, labelProps: u } = Z({
723
+ const { progressBarProps: l, labelProps: u } = Z({
724
724
  label: o,
725
- value: t,
725
+ value: r,
726
726
  minValue: e,
727
- maxValue: n
728
- }), s = (t - e) / (n - e) * 100;
727
+ maxValue: i
728
+ }), s = (r - e) / (i - e) * 100;
729
729
  return /* @__PURE__ */ h(
730
730
  "div",
731
731
  {
732
- ...d,
733
- className: m("rudiment-progress", c),
732
+ ...l,
733
+ className: m("rudi-progress", c),
734
734
  children: [
735
- /* @__PURE__ */ h("div", { className: "rudiment-progress__label-row", children: [
736
- /* @__PURE__ */ r("span", { ...u, className: "rudiment-progress__label", children: o }),
737
- i && /* @__PURE__ */ h("span", { className: "rudiment-progress__value", children: [
735
+ /* @__PURE__ */ h("div", { className: "rudi-progress__label-row", children: [
736
+ /* @__PURE__ */ t("span", { ...u, className: "rudi-progress__label", children: o }),
737
+ n && /* @__PURE__ */ h("span", { className: "rudi-progress__value", children: [
738
738
  Math.round(s),
739
739
  "%"
740
740
  ] })
741
741
  ] }),
742
- /* @__PURE__ */ r(
742
+ /* @__PURE__ */ t(
743
743
  "div",
744
744
  {
745
745
  className: m(
746
- "rudiment-progress__track",
747
- `rudiment-progress__track--${l}`
746
+ "rudi-progress__track",
747
+ `rudi-progress__track--${d}`
748
748
  ),
749
- children: /* @__PURE__ */ r(
749
+ children: /* @__PURE__ */ t(
750
750
  "div",
751
751
  {
752
752
  className: m(
753
- "rudiment-progress__bar",
754
- `rudiment-progress__bar--${a}`
753
+ "rudi-progress__bar",
754
+ `rudi-progress__bar--${a}`
755
755
  ),
756
756
  style: { width: `${s}%` }
757
757
  }
@@ -762,199 +762,199 @@ function er({
762
762
  }
763
763
  );
764
764
  }
765
- function vt(t) {
766
- const e = t.trim().split(/\s+/);
765
+ function vr(r) {
766
+ const e = r.trim().split(/\s+/);
767
767
  return e.length >= 2 ? (e[0][0] + e[e.length - 1][0]).toUpperCase() : (e[0]?.[0] ?? "").toUpperCase();
768
768
  }
769
- function tr({
770
- src: t,
769
+ function rt({
770
+ src: r,
771
771
  alt: e,
772
- name: n,
772
+ name: i,
773
773
  size: o = "md",
774
- status: i,
774
+ status: n,
775
775
  className: a
776
776
  }) {
777
- const [l, c] = D(!1), d = t && !l, u = n ? vt(n) : "", s = e || n;
777
+ const [d, c] = $(!1), l = r && !d, u = i ? vr(i) : "", s = e || i;
778
778
  return /* @__PURE__ */ h(
779
779
  "span",
780
780
  {
781
781
  className: m(
782
- "rudiment-avatar",
783
- `rudiment-avatar--${o}`,
782
+ "rudi-avatar",
783
+ `rudi-avatar--${o}`,
784
784
  a
785
785
  ),
786
786
  role: "img",
787
787
  "aria-label": s,
788
788
  children: [
789
- d ? /* @__PURE__ */ r(
789
+ l ? /* @__PURE__ */ t(
790
790
  "img",
791
791
  {
792
- src: t,
792
+ src: r,
793
793
  alt: e || "",
794
- className: "rudiment-avatar__image",
794
+ className: "rudi-avatar__image",
795
795
  onError: () => c(!0)
796
796
  }
797
- ) : /* @__PURE__ */ r("span", { className: "rudiment-avatar__initials", "aria-hidden": "true", children: u }),
798
- i && /* @__PURE__ */ r(
799
- ht,
797
+ ) : /* @__PURE__ */ t("span", { className: "rudi-avatar__initials", "aria-hidden": "true", children: u }),
798
+ n && /* @__PURE__ */ t(
799
+ hr,
800
800
  {
801
- variant: i,
801
+ variant: n,
802
802
  dot: !0,
803
- className: "rudiment-avatar__status"
803
+ className: "rudi-avatar__status"
804
804
  }
805
805
  )
806
806
  ]
807
807
  }
808
808
  );
809
809
  }
810
- function rr({
811
- label: t,
810
+ function tt({
811
+ label: r,
812
812
  value: e,
813
- delta: n,
813
+ delta: i,
814
814
  trend: o = "neutral",
815
- children: i,
815
+ children: n,
816
816
  className: a
817
817
  }) {
818
- return /* @__PURE__ */ r(
818
+ return /* @__PURE__ */ t(
819
819
  Y,
820
820
  {
821
821
  variant: "outlined",
822
822
  padding: "md",
823
- className: m("rudiment-stat-card", a),
823
+ className: m("rudi-stat-card", a),
824
824
  children: /* @__PURE__ */ h(Y.Body, { children: [
825
- /* @__PURE__ */ r("span", { className: "rudiment-stat-card__label", children: t }),
826
- /* @__PURE__ */ r("span", { className: "rudiment-stat-card__value", children: e }),
827
- n && /* @__PURE__ */ r(
825
+ /* @__PURE__ */ t("span", { className: "rudi-stat-card__label", children: r }),
826
+ /* @__PURE__ */ t("span", { className: "rudi-stat-card__value", children: e }),
827
+ i && /* @__PURE__ */ t(
828
828
  "span",
829
829
  {
830
830
  className: m(
831
- "rudiment-stat-card__delta",
832
- `rudiment-stat-card__delta--${o}`
831
+ "rudi-stat-card__delta",
832
+ `rudi-stat-card__delta--${o}`
833
833
  ),
834
- children: n
834
+ children: i
835
835
  }
836
836
  ),
837
- i && /* @__PURE__ */ r("div", { className: "rudiment-stat-card__extra", children: i })
837
+ n && /* @__PURE__ */ t("div", { className: "rudi-stat-card__extra", children: n })
838
838
  ] })
839
839
  }
840
840
  );
841
841
  }
842
- function V(t, e) {
842
+ function V(r, e) {
843
843
  return m(
844
- "rudiment-nav-item",
845
- t && "rudiment-nav-item--active",
844
+ "rudi-nav-item",
845
+ r && "rudi-nav-item--active",
846
846
  e
847
847
  );
848
848
  }
849
- function ee(t, e, n) {
849
+ function ee(r, e, i) {
850
850
  return /* @__PURE__ */ h(T, { children: [
851
- t && /* @__PURE__ */ r(P, { icon: t, className: "rudiment-nav-item__icon" }),
852
- /* @__PURE__ */ r("span", { className: "rudiment-nav-item__label", children: e }),
853
- n && /* @__PURE__ */ r("span", { className: "rudiment-nav-item__badge", children: n })
851
+ r && /* @__PURE__ */ t(k, { icon: r, className: "rudi-nav-item__icon" }),
852
+ /* @__PURE__ */ t("span", { className: "rudi-nav-item__label", children: e }),
853
+ i && /* @__PURE__ */ t("span", { className: "rudi-nav-item__badge", children: i })
854
854
  ] });
855
855
  }
856
- const Nt = b(
857
- function({ label: e, icon: n, isActive: o = !1, href: i, onPress: a, badge: l, isDisabled: c = !1, className: d }, u) {
858
- const s = k(u), { linkProps: p } = ke(
859
- { href: i, isDisabled: c, onPress: a },
856
+ const Nr = b(
857
+ function({ label: e, icon: i, isActive: o = !1, href: n, onPress: a, badge: d, isDisabled: c = !1, className: l }, u) {
858
+ const s = y(u), { linkProps: p } = ye(
859
+ { href: n, isDisabled: c, onPress: a },
860
860
  s
861
861
  );
862
- return /* @__PURE__ */ r(
862
+ return /* @__PURE__ */ t(
863
863
  "a",
864
864
  {
865
865
  ...p,
866
866
  ref: s,
867
- href: i,
868
- className: V(o, d),
869
- children: ee(n, e, l)
867
+ href: n,
868
+ className: V(o, l),
869
+ children: ee(i, e, d)
870
870
  }
871
871
  );
872
872
  }
873
- ), Ct = b(
874
- function({ label: e, icon: n, isActive: o = !1, onPress: i, badge: a, isDisabled: l = !1, className: c }, d) {
875
- const u = k(d), { buttonProps: s } = O(
876
- { onPress: i, isDisabled: l },
873
+ ), Cr = b(
874
+ function({ label: e, icon: i, isActive: o = !1, onPress: n, badge: a, isDisabled: d = !1, className: c }, l) {
875
+ const u = y(l), { buttonProps: s } = O(
876
+ { onPress: n, isDisabled: d },
877
877
  u
878
878
  );
879
- return /* @__PURE__ */ r(
879
+ return /* @__PURE__ */ t(
880
880
  "button",
881
881
  {
882
882
  ...s,
883
883
  ref: u,
884
884
  className: V(o, c),
885
- children: ee(n, e, a)
885
+ children: ee(i, e, a)
886
886
  }
887
887
  );
888
888
  }
889
- ), nr = b(
890
- function(e, n) {
891
- return e.href ? /* @__PURE__ */ r(
892
- Nt,
889
+ ), it = b(
890
+ function(e, i) {
891
+ return e.href ? /* @__PURE__ */ t(
892
+ Nr,
893
893
  {
894
894
  ...e,
895
- ref: n
895
+ ref: i
896
896
  }
897
- ) : /* @__PURE__ */ r(
898
- Ct,
897
+ ) : /* @__PURE__ */ t(
898
+ Cr,
899
899
  {
900
900
  ...e,
901
- ref: n
901
+ ref: i
902
902
  }
903
903
  );
904
904
  }
905
- ), E = 100, M = E / 2;
906
- function or({
907
- value: t,
905
+ ), E = 100, D = E / 2;
906
+ function ot({
907
+ value: r,
908
908
  minValue: e = 0,
909
- maxValue: n = 100,
909
+ maxValue: i = 100,
910
910
  label: o,
911
- showValueLabel: i = !1,
911
+ showValueLabel: n = !1,
912
912
  variant: a = "default",
913
- size: l = "md",
913
+ size: d = "md",
914
914
  children: c,
915
- className: d
915
+ className: l
916
916
  }) {
917
917
  const { progressBarProps: u, labelProps: s } = Z({
918
918
  label: o,
919
- value: t,
919
+ value: r,
920
920
  minValue: e,
921
- maxValue: n
922
- }), p = (t - e) / (n - e) * 100, g = 8, f = (E - g) / 2, _ = 2 * Math.PI * f, v = _ * (1 - p / 100);
921
+ maxValue: i
922
+ }), p = (r - e) / (i - e) * 100, g = 8, f = (E - g) / 2, _ = 2 * Math.PI * f, v = _ * (1 - p / 100);
923
923
  return /* @__PURE__ */ h(
924
924
  "div",
925
925
  {
926
926
  ...u,
927
927
  className: m(
928
- "rudiment-circular-progress",
929
- `rudiment-circular-progress--${l}`,
930
- d
928
+ "rudi-circular-progress",
929
+ `rudi-circular-progress--${d}`,
930
+ l
931
931
  ),
932
932
  children: [
933
933
  /* @__PURE__ */ h(
934
934
  "svg",
935
935
  {
936
936
  viewBox: `0 0 ${E} ${E}`,
937
- className: "rudiment-circular-progress__svg",
937
+ className: "rudi-circular-progress__svg",
938
938
  children: [
939
- /* @__PURE__ */ r(
939
+ /* @__PURE__ */ t(
940
940
  "circle",
941
941
  {
942
- cx: M,
943
- cy: M,
942
+ cx: D,
943
+ cy: D,
944
944
  r: f,
945
- className: "rudiment-circular-progress__track",
945
+ className: "rudi-circular-progress__track",
946
946
  strokeWidth: g
947
947
  }
948
948
  ),
949
- /* @__PURE__ */ r(
949
+ /* @__PURE__ */ t(
950
950
  "circle",
951
951
  {
952
- cx: M,
953
- cy: M,
952
+ cx: D,
953
+ cy: D,
954
954
  r: f,
955
955
  className: m(
956
- "rudiment-circular-progress__fill",
957
- `rudiment-circular-progress__fill--${a}`
956
+ "rudi-circular-progress__fill",
957
+ `rudi-circular-progress__fill--${a}`
958
958
  ),
959
959
  strokeWidth: g,
960
960
  strokeDasharray: _,
@@ -965,41 +965,41 @@ function or({
965
965
  ]
966
966
  }
967
967
  ),
968
- /* @__PURE__ */ r("div", { className: "rudiment-circular-progress__center", children: c ?? (i && /* @__PURE__ */ h("span", { className: "rudiment-circular-progress__value", children: [
968
+ /* @__PURE__ */ t("div", { className: "rudi-circular-progress__center", children: c ?? (n && /* @__PURE__ */ h("span", { className: "rudi-circular-progress__value", children: [
969
969
  Math.round(p),
970
970
  "%"
971
971
  ] })) }),
972
- /* @__PURE__ */ r("span", { ...s, className: "rudiment-circular-progress__label", children: o })
972
+ /* @__PURE__ */ t("span", { ...s, className: "rudi-circular-progress__label", children: o })
973
973
  ]
974
974
  }
975
975
  );
976
976
  }
977
- function ir({
978
- data: t,
977
+ function nt({
978
+ data: r,
979
979
  dataKeys: e,
980
- indexKey: n,
980
+ indexKey: i,
981
981
  layout: o = "vertical",
982
- stacked: i = !1,
982
+ stacked: n = !1,
983
983
  showLegend: a = !0,
984
- showGrid: l = !0,
984
+ showGrid: d = !0,
985
985
  height: c = 300,
986
- label: d,
986
+ label: l,
987
987
  className: u
988
988
  }) {
989
989
  const s = j(), p = o === "horizontal";
990
- return /* @__PURE__ */ r(
990
+ return /* @__PURE__ */ t(
991
991
  "div",
992
992
  {
993
- className: m("rudiment-chart", u),
993
+ className: m("rudi-chart", u),
994
994
  role: "img",
995
- "aria-label": d,
996
- children: /* @__PURE__ */ r(G, { width: "100%", height: c, children: /* @__PURE__ */ h(
995
+ "aria-label": l,
996
+ children: /* @__PURE__ */ t(G, { width: "100%", height: c, children: /* @__PURE__ */ h(
997
997
  je,
998
998
  {
999
- data: t,
999
+ data: r,
1000
1000
  layout: p ? "vertical" : "horizontal",
1001
1001
  children: [
1002
- l && /* @__PURE__ */ r(
1002
+ d && /* @__PURE__ */ t(
1003
1003
  J,
1004
1004
  {
1005
1005
  strokeDasharray: "3 3",
@@ -1009,20 +1009,20 @@ function ir({
1009
1009
  }
1010
1010
  ),
1011
1011
  p ? /* @__PURE__ */ h(T, { children: [
1012
- /* @__PURE__ */ r(K, { type: "number", tick: { fill: s.axisColor } }),
1013
- /* @__PURE__ */ r(
1012
+ /* @__PURE__ */ t(K, { type: "number", tick: { fill: s.axisColor } }),
1013
+ /* @__PURE__ */ t(
1014
1014
  L,
1015
1015
  {
1016
- dataKey: n,
1016
+ dataKey: i,
1017
1017
  type: "category",
1018
1018
  tick: { fill: s.axisColor }
1019
1019
  }
1020
1020
  )
1021
1021
  ] }) : /* @__PURE__ */ h(T, { children: [
1022
- /* @__PURE__ */ r(K, { dataKey: n, tick: { fill: s.axisColor } }),
1023
- /* @__PURE__ */ r(L, { tick: { fill: s.axisColor } })
1022
+ /* @__PURE__ */ t(K, { dataKey: i, tick: { fill: s.axisColor } }),
1023
+ /* @__PURE__ */ t(L, { tick: { fill: s.axisColor } })
1024
1024
  ] }),
1025
- /* @__PURE__ */ r(
1025
+ /* @__PURE__ */ t(
1026
1026
  A,
1027
1027
  {
1028
1028
  contentStyle: {
@@ -1033,18 +1033,18 @@ function ir({
1033
1033
  }
1034
1034
  }
1035
1035
  ),
1036
- a && /* @__PURE__ */ r(
1036
+ a && /* @__PURE__ */ t(
1037
1037
  F,
1038
1038
  {
1039
1039
  wrapperStyle: { color: s.legendColor }
1040
1040
  }
1041
1041
  ),
1042
- e.map((g, f) => /* @__PURE__ */ r(
1042
+ e.map((g, f) => /* @__PURE__ */ t(
1043
1043
  ze,
1044
1044
  {
1045
1045
  dataKey: g,
1046
1046
  fill: s.colors[f % s.colors.length],
1047
- stackId: i ? "stack" : void 0,
1047
+ stackId: n ? "stack" : void 0,
1048
1048
  radius: [2, 2, 0, 0]
1049
1049
  },
1050
1050
  g
@@ -1055,36 +1055,36 @@ function ir({
1055
1055
  }
1056
1056
  );
1057
1057
  }
1058
- function ar({
1059
- data: t,
1058
+ function at({
1059
+ data: r,
1060
1060
  dataKeys: e,
1061
- indexKey: n,
1061
+ indexKey: i,
1062
1062
  curved: o = !0,
1063
- showDots: i = !0,
1063
+ showDots: n = !0,
1064
1064
  showGrid: a = !0,
1065
- showLegend: l = !0,
1065
+ showLegend: d = !0,
1066
1066
  height: c = 300,
1067
- label: d,
1067
+ label: l,
1068
1068
  className: u
1069
1069
  }) {
1070
1070
  const s = j();
1071
- return /* @__PURE__ */ r(
1071
+ return /* @__PURE__ */ t(
1072
1072
  "div",
1073
1073
  {
1074
- className: m("rudiment-chart", u),
1074
+ className: m("rudi-chart", u),
1075
1075
  role: "img",
1076
- "aria-label": d,
1077
- children: /* @__PURE__ */ r(G, { width: "100%", height: c, children: /* @__PURE__ */ h(He, { data: t, children: [
1078
- a && /* @__PURE__ */ r(
1076
+ "aria-label": l,
1077
+ children: /* @__PURE__ */ t(G, { width: "100%", height: c, children: /* @__PURE__ */ h(He, { data: r, children: [
1078
+ a && /* @__PURE__ */ t(
1079
1079
  J,
1080
1080
  {
1081
1081
  strokeDasharray: "3 3",
1082
1082
  stroke: s.gridColor
1083
1083
  }
1084
1084
  ),
1085
- /* @__PURE__ */ r(K, { dataKey: n, tick: { fill: s.axisColor } }),
1086
- /* @__PURE__ */ r(L, { tick: { fill: s.axisColor } }),
1087
- /* @__PURE__ */ r(
1085
+ /* @__PURE__ */ t(K, { dataKey: i, tick: { fill: s.axisColor } }),
1086
+ /* @__PURE__ */ t(L, { tick: { fill: s.axisColor } }),
1087
+ /* @__PURE__ */ t(
1088
1088
  A,
1089
1089
  {
1090
1090
  contentStyle: {
@@ -1095,19 +1095,19 @@ function ar({
1095
1095
  }
1096
1096
  }
1097
1097
  ),
1098
- l && /* @__PURE__ */ r(
1098
+ d && /* @__PURE__ */ t(
1099
1099
  F,
1100
1100
  {
1101
1101
  wrapperStyle: { color: s.legendColor }
1102
1102
  }
1103
1103
  ),
1104
- e.map((p, g) => /* @__PURE__ */ r(
1104
+ e.map((p, g) => /* @__PURE__ */ t(
1105
1105
  Ue,
1106
1106
  {
1107
1107
  type: o ? "monotone" : "linear",
1108
1108
  dataKey: p,
1109
1109
  stroke: s.colors[g % s.colors.length],
1110
- dot: i,
1110
+ dot: n,
1111
1111
  strokeWidth: 2,
1112
1112
  activeDot: { r: 5 }
1113
1113
  },
@@ -1117,27 +1117,27 @@ function ar({
1117
1117
  }
1118
1118
  );
1119
1119
  }
1120
- function sr({
1121
- data: t,
1120
+ function st({
1121
+ data: r,
1122
1122
  innerRadius: e = 60,
1123
- showLabels: n = !1,
1123
+ showLabels: i = !1,
1124
1124
  showLegend: o = !0,
1125
- height: i = 300,
1125
+ height: n = 300,
1126
1126
  label: a,
1127
- className: l
1127
+ className: d
1128
1128
  }) {
1129
1129
  const c = j();
1130
- return /* @__PURE__ */ r(
1130
+ return /* @__PURE__ */ t(
1131
1131
  "div",
1132
1132
  {
1133
- className: m("rudiment-chart", l),
1133
+ className: m("rudi-chart", d),
1134
1134
  role: "img",
1135
1135
  "aria-label": a,
1136
- children: /* @__PURE__ */ r(G, { width: "100%", height: i, children: /* @__PURE__ */ h(Xe, { children: [
1137
- /* @__PURE__ */ r(
1136
+ children: /* @__PURE__ */ t(G, { width: "100%", height: n, children: /* @__PURE__ */ h(Xe, { children: [
1137
+ /* @__PURE__ */ t(
1138
1138
  We,
1139
1139
  {
1140
- data: t,
1140
+ data: r,
1141
1141
  dataKey: "value",
1142
1142
  nameKey: "name",
1143
1143
  cx: "50%",
@@ -1145,8 +1145,8 @@ function sr({
1145
1145
  innerRadius: e,
1146
1146
  outerRadius: e + 30,
1147
1147
  paddingAngle: 2,
1148
- label: n ? ({ name: d }) => d : !1,
1149
- children: t.map((d, u) => /* @__PURE__ */ r(
1148
+ label: i ? ({ name: l }) => l : !1,
1149
+ children: r.map((l, u) => /* @__PURE__ */ t(
1150
1150
  Ye,
1151
1151
  {
1152
1152
  fill: c.colors[u % c.colors.length]
@@ -1155,7 +1155,7 @@ function sr({
1155
1155
  ))
1156
1156
  }
1157
1157
  ),
1158
- /* @__PURE__ */ r(
1158
+ /* @__PURE__ */ t(
1159
1159
  A,
1160
1160
  {
1161
1161
  contentStyle: {
@@ -1166,7 +1166,7 @@ function sr({
1166
1166
  }
1167
1167
  }
1168
1168
  ),
1169
- o && /* @__PURE__ */ r(
1169
+ o && /* @__PURE__ */ t(
1170
1170
  F,
1171
1171
  {
1172
1172
  wrapperStyle: { color: c.legendColor }
@@ -1176,146 +1176,146 @@ function sr({
1176
1176
  }
1177
1177
  );
1178
1178
  }
1179
- function te({
1180
- id: t,
1179
+ function re({
1180
+ id: r,
1181
1181
  title: e,
1182
- items: n,
1182
+ items: i,
1183
1183
  renderCard: o,
1184
- className: i
1184
+ className: n
1185
1185
  }) {
1186
- const { setNodeRef: a, isOver: l } = Ze({ id: t });
1186
+ const { setNodeRef: a, isOver: d } = Ze({ id: r });
1187
1187
  return /* @__PURE__ */ h(
1188
1188
  "div",
1189
1189
  {
1190
1190
  className: m(
1191
- "rudiment-kanban__column",
1192
- l && "rudiment-kanban__column--over",
1193
- i
1191
+ "rudi-kanban__column",
1192
+ d && "rudi-kanban__column--over",
1193
+ n
1194
1194
  ),
1195
1195
  role: "region",
1196
1196
  "aria-label": e,
1197
1197
  children: [
1198
- /* @__PURE__ */ h("div", { className: "rudiment-kanban__column-header", children: [
1199
- /* @__PURE__ */ r("span", { className: "rudiment-kanban__column-title", children: e }),
1200
- /* @__PURE__ */ r("span", { className: "rudiment-kanban__column-count", children: n.length })
1198
+ /* @__PURE__ */ h("div", { className: "rudi-kanban__column-header", children: [
1199
+ /* @__PURE__ */ t("span", { className: "rudi-kanban__column-title", children: e }),
1200
+ /* @__PURE__ */ t("span", { className: "rudi-kanban__column-count", children: i.length })
1201
1201
  ] }),
1202
- /* @__PURE__ */ r("div", { ref: a, className: "rudiment-kanban__column-body", children: /* @__PURE__ */ r(
1203
- rt,
1202
+ /* @__PURE__ */ t("div", { ref: a, className: "rudi-kanban__column-body", children: /* @__PURE__ */ t(
1203
+ tr,
1204
1204
  {
1205
- items: n.map((c) => c.id),
1206
- strategy: nt,
1207
- children: n.map((c) => o(c))
1205
+ items: i.map((c) => c.id),
1206
+ strategy: ir,
1207
+ children: i.map((c) => o(c))
1208
1208
  }
1209
1209
  ) })
1210
1210
  ]
1211
1211
  }
1212
1212
  );
1213
1213
  }
1214
- function R(t, e) {
1215
- return t.find((n) => n.items.some((o) => o.id === e));
1214
+ function M(r, e) {
1215
+ return r.find((i) => i.items.some((o) => o.id === e));
1216
1216
  }
1217
- function yt({
1218
- columns: t,
1217
+ function Rr({
1218
+ columns: r,
1219
1219
  onCardMove: e,
1220
- renderCard: n,
1220
+ renderCard: i,
1221
1221
  className: o
1222
1222
  }) {
1223
- const [i, a] = D(null), l = y(null), c = qe(
1223
+ const [n, a] = $(null), d = R(null), c = qe(
1224
1224
  U(Je, {
1225
1225
  activationConstraint: { distance: 5 }
1226
1226
  }),
1227
1227
  U(Qe, {
1228
- coordinateGetter: ot
1228
+ coordinateGetter: or
1229
1229
  })
1230
- ), d = $((f) => {
1231
- l.current && (l.current.textContent = f);
1232
- }, []), u = i ? t.flatMap((f) => f.items).find((f) => f.id === i) : null, s = $(
1230
+ ), l = I((f) => {
1231
+ d.current && (d.current.textContent = f);
1232
+ }, []), u = n ? r.flatMap((f) => f.items).find((f) => f.id === n) : null, s = I(
1233
1233
  (f) => {
1234
1234
  const _ = String(f.active.id);
1235
1235
  a(_);
1236
- const v = R(t, _);
1237
- v && d(`Picked up card from ${v.title}`);
1236
+ const v = M(r, _);
1237
+ v && l(`Picked up card from ${v.title}`);
1238
1238
  },
1239
- [t, d]
1240
- ), p = $(
1239
+ [r, l]
1240
+ ), p = I(
1241
1241
  (f) => {
1242
1242
  const { over: _ } = f;
1243
1243
  if (!_) return;
1244
- const v = String(_.id), N = t.find((x) => x.id === v) || R(t, v);
1245
- N && d(`Over column ${N.title}`);
1244
+ const v = String(_.id), N = r.find((x) => x.id === v) || M(r, v);
1245
+ N && l(`Over column ${N.title}`);
1246
1246
  },
1247
- [t, d]
1248
- ), g = $(
1247
+ [r, l]
1248
+ ), g = I(
1249
1249
  (f) => {
1250
1250
  const { active: _, over: v } = f;
1251
1251
  if (a(null), !v) {
1252
- d("Cancelled drag");
1252
+ l("Cancelled drag");
1253
1253
  return;
1254
1254
  }
1255
- const N = String(_.id), x = String(v.id), C = R(t, N);
1255
+ const N = String(_.id), x = String(v.id), C = M(r, N);
1256
1256
  if (!C) return;
1257
1257
  const z = C.items.findIndex(
1258
- (I) => I.id === N
1259
- ), H = t.find((I) => I.id === x), re = R(t, x), S = H || re;
1260
- if (!S) return;
1261
- let B;
1262
- H ? B = S.items.length : B = S.items.findIndex((I) => I.id === x), !(C.id === S.id && z === B) && (d(`Dropped card in ${S.title} at position ${B + 1}`), e({
1258
+ (B) => B.id === N
1259
+ ), H = r.find((B) => B.id === x), te = M(r, x), P = H || te;
1260
+ if (!P) return;
1261
+ let S;
1262
+ H ? S = P.items.length : S = P.items.findIndex((B) => B.id === x), !(C.id === P.id && z === S) && (l(`Dropped card in ${P.title} at position ${S + 1}`), e({
1263
1263
  cardId: N,
1264
1264
  fromColumnId: C.id,
1265
- toColumnId: S.id,
1265
+ toColumnId: P.id,
1266
1266
  fromIndex: z,
1267
- toIndex: B
1267
+ toIndex: S
1268
1268
  }));
1269
1269
  },
1270
- [t, e, d]
1270
+ [r, e, l]
1271
1271
  );
1272
1272
  return /* @__PURE__ */ h(
1273
1273
  Ve,
1274
1274
  {
1275
1275
  sensors: c,
1276
- collisionDetection: et,
1276
+ collisionDetection: er,
1277
1277
  onDragStart: s,
1278
1278
  onDragOver: p,
1279
1279
  onDragEnd: g,
1280
1280
  children: [
1281
- /* @__PURE__ */ r("div", { className: m("rudiment-kanban", o), children: t.map((f) => /* @__PURE__ */ r(
1282
- te,
1281
+ /* @__PURE__ */ t("div", { className: m("rudi-kanban", o), children: r.map((f) => /* @__PURE__ */ t(
1282
+ re,
1283
1283
  {
1284
1284
  id: f.id,
1285
1285
  title: f.title,
1286
1286
  items: f.items,
1287
- renderCard: n
1287
+ renderCard: i
1288
1288
  },
1289
1289
  f.id
1290
1290
  )) }),
1291
- /* @__PURE__ */ r(tt, { children: u ? /* @__PURE__ */ r("div", { className: "rudiment-kanban__card rudiment-kanban__card--overlay", children: n(u) }) : null }),
1292
- /* @__PURE__ */ r(
1291
+ /* @__PURE__ */ t(rr, { children: u ? /* @__PURE__ */ t("div", { className: "rudi-kanban__card rudi-kanban__card--overlay", children: i(u) }) : null }),
1292
+ /* @__PURE__ */ t(
1293
1293
  "div",
1294
1294
  {
1295
- ref: l,
1295
+ ref: d,
1296
1296
  role: "status",
1297
1297
  "aria-live": "assertive",
1298
1298
  "aria-atomic": "true",
1299
- className: "rudiment-kanban__sr-only"
1299
+ className: "rudi-kanban__sr-only"
1300
1300
  }
1301
1301
  )
1302
1302
  ]
1303
1303
  }
1304
1304
  );
1305
1305
  }
1306
- const cr = Object.assign(yt, {
1307
- Column: te
1306
+ const ct = Object.assign(Rr, {
1307
+ Column: re
1308
1308
  });
1309
- function lr({ id: t, children: e, className: n }) {
1309
+ function dt({ id: r, children: e, className: i }) {
1310
1310
  const {
1311
1311
  attributes: o,
1312
- listeners: i,
1312
+ listeners: n,
1313
1313
  setNodeRef: a,
1314
- transform: l,
1314
+ transform: d,
1315
1315
  transition: c,
1316
- isDragging: d
1317
- } = it({ id: t }), u = {
1318
- transform: at.Transform.toString(l),
1316
+ isDragging: l
1317
+ } = nr({ id: r }), u = {
1318
+ transform: ar.Transform.toString(d),
1319
1319
  transition: c
1320
1320
  };
1321
1321
  return /* @__PURE__ */ h(
@@ -1324,19 +1324,19 @@ function lr({ id: t, children: e, className: n }) {
1324
1324
  ref: a,
1325
1325
  style: u,
1326
1326
  className: m(
1327
- "rudiment-kanban__card",
1328
- d && "rudiment-kanban__card--dragging",
1329
- n
1327
+ "rudi-kanban__card",
1328
+ l && "rudi-kanban__card--dragging",
1329
+ i
1330
1330
  ),
1331
1331
  children: [
1332
- /* @__PURE__ */ r(
1332
+ /* @__PURE__ */ t(
1333
1333
  "button",
1334
1334
  {
1335
1335
  type: "button",
1336
- className: "rudiment-kanban__card-handle",
1337
- "aria-label": `Drag handle for card ${t}`,
1336
+ className: "rudi-kanban__card-handle",
1337
+ "aria-label": `Drag handle for card ${r}`,
1338
1338
  ...o,
1339
- ...i,
1339
+ ...n,
1340
1340
  "aria-roledescription": "sortable",
1341
1341
  children: /* @__PURE__ */ h(
1342
1342
  "svg",
@@ -1347,101 +1347,101 @@ function lr({ id: t, children: e, className: n }) {
1347
1347
  fill: "currentColor",
1348
1348
  "aria-hidden": "true",
1349
1349
  children: [
1350
- /* @__PURE__ */ r("circle", { cx: "3.5", cy: "2", r: "1.25" }),
1351
- /* @__PURE__ */ r("circle", { cx: "8.5", cy: "2", r: "1.25" }),
1352
- /* @__PURE__ */ r("circle", { cx: "3.5", cy: "6", r: "1.25" }),
1353
- /* @__PURE__ */ r("circle", { cx: "8.5", cy: "6", r: "1.25" }),
1354
- /* @__PURE__ */ r("circle", { cx: "3.5", cy: "10", r: "1.25" }),
1355
- /* @__PURE__ */ r("circle", { cx: "8.5", cy: "10", r: "1.25" })
1350
+ /* @__PURE__ */ t("circle", { cx: "3.5", cy: "2", r: "1.25" }),
1351
+ /* @__PURE__ */ t("circle", { cx: "8.5", cy: "2", r: "1.25" }),
1352
+ /* @__PURE__ */ t("circle", { cx: "3.5", cy: "6", r: "1.25" }),
1353
+ /* @__PURE__ */ t("circle", { cx: "8.5", cy: "6", r: "1.25" }),
1354
+ /* @__PURE__ */ t("circle", { cx: "3.5", cy: "10", r: "1.25" }),
1355
+ /* @__PURE__ */ t("circle", { cx: "8.5", cy: "10", r: "1.25" })
1356
1356
  ]
1357
1357
  }
1358
1358
  )
1359
1359
  }
1360
1360
  ),
1361
- /* @__PURE__ */ r("div", { className: "rudiment-kanban__card-content", children: e })
1361
+ /* @__PURE__ */ t("div", { className: "rudi-kanban__card-content", children: e })
1362
1362
  ]
1363
1363
  }
1364
1364
  );
1365
1365
  }
1366
- const dr = b(
1367
- function({ level: e, size: n, className: o, children: i, ...a }, l) {
1366
+ const lt = b(
1367
+ function({ level: e, size: i, className: o, children: n, ...a }, d) {
1368
1368
  const c = `h${e}`;
1369
- return /* @__PURE__ */ r(
1369
+ return /* @__PURE__ */ t(
1370
1370
  c,
1371
1371
  {
1372
- ref: l,
1372
+ ref: d,
1373
1373
  className: m(
1374
- `rudiment-heading rudiment-heading--${n ?? e}`,
1374
+ `rudi-heading rudi-heading--${i ?? e}`,
1375
1375
  o
1376
1376
  ),
1377
1377
  ...a,
1378
- children: i
1378
+ children: n
1379
1379
  }
1380
1380
  );
1381
1381
  }
1382
- ), ur = b(function({ variant: e = "body", as: n = "p", className: o, children: i, ...a }, l) {
1383
- return /* @__PURE__ */ r(
1384
- n,
1382
+ ), ut = b(function({ variant: e = "body", as: i = "p", className: o, children: n, ...a }, d) {
1383
+ return /* @__PURE__ */ t(
1384
+ i,
1385
1385
  {
1386
- ref: l,
1387
- className: m(`rudiment-text rudiment-text--${e}`, o),
1386
+ ref: d,
1387
+ className: m(`rudi-text rudi-text--${e}`, o),
1388
1388
  ...a,
1389
- children: i
1389
+ children: n
1390
1390
  }
1391
1391
  );
1392
- }), mr = b(function({ size: e = "base", as: n = "div", className: o, children: i, ...a }, l) {
1393
- return /* @__PURE__ */ r(
1394
- n,
1392
+ }), mt = b(function({ size: e = "base", as: i = "div", className: o, children: n, ...a }, d) {
1393
+ return /* @__PURE__ */ t(
1394
+ i,
1395
1395
  {
1396
- ref: l,
1396
+ ref: d,
1397
1397
  className: m(
1398
- "rudiment-prose",
1399
- e !== "base" && `rudiment-prose--${e}`,
1398
+ "rudi-prose",
1399
+ e !== "base" && `rudi-prose--${e}`,
1400
1400
  o
1401
1401
  ),
1402
1402
  ...a,
1403
- children: i
1403
+ children: n
1404
1404
  }
1405
1405
  );
1406
- }), fr = b(function({
1406
+ }), ft = b(function({
1407
1407
  padding: e,
1408
- bordered: n = !1,
1408
+ bordered: i = !1,
1409
1409
  invert: o = !1,
1410
- as: i = "div",
1410
+ as: n = "div",
1411
1411
  className: a,
1412
- style: l,
1412
+ style: d,
1413
1413
  children: c,
1414
- ...d
1414
+ ...l
1415
1415
  }, u) {
1416
1416
  const s = {};
1417
- return e && (s["--box-padding"] = e), /* @__PURE__ */ r(
1418
- i,
1417
+ return e && (s["--box-padding"] = e), /* @__PURE__ */ t(
1418
+ n,
1419
1419
  {
1420
1420
  ref: u,
1421
1421
  className: m(
1422
- "rudiment-box",
1423
- n && "rudiment-box--bordered",
1424
- o && "rudiment-box--invert",
1422
+ "rudi-box",
1423
+ i && "rudi-box--bordered",
1424
+ o && "rudi-box--invert",
1425
1425
  a
1426
1426
  ),
1427
- style: { ...s, ...l },
1428
- ...d,
1427
+ style: { ...s, ...d },
1428
+ ...l,
1429
1429
  children: c
1430
1430
  }
1431
1431
  );
1432
- }), hr = b(function({
1432
+ }), ht = b(function({
1433
1433
  space: e,
1434
- recursive: n = !1,
1434
+ recursive: i = !1,
1435
1435
  splitAfter: o,
1436
- as: i = "div",
1436
+ as: n = "div",
1437
1437
  className: a,
1438
- style: l,
1438
+ style: d,
1439
1439
  children: c,
1440
- ...d
1440
+ ...l
1441
1441
  }, u) {
1442
1442
  const s = {};
1443
1443
  e && (s["--stack-space"] = e);
1444
- const p = Se.toArray(c), g = o ? p.map((f, _) => _ === o - 1 && Be(f) ? Ie(
1444
+ const p = Pe.toArray(c), g = o ? p.map((f, _) => _ === o - 1 && Se(f) ? Be(
1445
1445
  f,
1446
1446
  {
1447
1447
  style: {
@@ -1450,205 +1450,205 @@ const dr = b(
1450
1450
  }
1451
1451
  }
1452
1452
  ) : f) : c;
1453
- return /* @__PURE__ */ r(
1454
- i,
1453
+ return /* @__PURE__ */ t(
1454
+ n,
1455
1455
  {
1456
1456
  ref: u,
1457
1457
  className: m(
1458
- "rudiment-stack",
1459
- n && "rudiment-stack--recursive",
1460
- o && "rudiment-stack--split",
1458
+ "rudi-stack",
1459
+ i && "rudi-stack--recursive",
1460
+ o && "rudi-stack--split",
1461
1461
  a
1462
1462
  ),
1463
- style: { ...s, ...l },
1464
- ...d,
1463
+ style: { ...s, ...d },
1464
+ ...l,
1465
1465
  children: g
1466
1466
  }
1467
1467
  );
1468
- }), pr = b(function({
1468
+ }), pt = b(function({
1469
1469
  space: e,
1470
- justify: n,
1470
+ justify: i,
1471
1471
  align: o,
1472
- as: i = "div",
1472
+ as: n = "div",
1473
1473
  className: a,
1474
- style: l,
1474
+ style: d,
1475
1475
  children: c,
1476
- ...d
1476
+ ...l
1477
1477
  }, u) {
1478
1478
  const s = {};
1479
- return e && (s["--cluster-space"] = e), n && (s["--cluster-justify"] = n), o && (s["--cluster-align"] = o), /* @__PURE__ */ r(
1480
- i,
1479
+ return e && (s["--cluster-space"] = e), i && (s["--cluster-justify"] = i), o && (s["--cluster-align"] = o), /* @__PURE__ */ t(
1480
+ n,
1481
1481
  {
1482
1482
  ref: u,
1483
- className: m("rudiment-cluster", a),
1484
- style: { ...s, ...l },
1485
- ...d,
1483
+ className: m("rudi-cluster", a),
1484
+ style: { ...s, ...d },
1485
+ ...l,
1486
1486
  children: c
1487
1487
  }
1488
1488
  );
1489
- }), gr = b(function({
1489
+ }), gt = b(function({
1490
1490
  minCellWidth: e,
1491
- space: n,
1491
+ space: i,
1492
1492
  as: o = "div",
1493
- className: i,
1493
+ className: n,
1494
1494
  style: a,
1495
- children: l,
1495
+ children: d,
1496
1496
  ...c
1497
- }, d) {
1497
+ }, l) {
1498
1498
  const u = {};
1499
- return e && (u["--grid-min-cell"] = e), n && (u["--grid-space"] = n), /* @__PURE__ */ r(
1499
+ return e && (u["--grid-min-cell"] = e), i && (u["--grid-space"] = i), /* @__PURE__ */ t(
1500
1500
  o,
1501
1501
  {
1502
- ref: d,
1503
- className: m("rudiment-grid", i),
1502
+ ref: l,
1503
+ className: m("rudi-grid", n),
1504
1504
  style: { ...u, ...a },
1505
1505
  ...c,
1506
- children: l
1506
+ children: d
1507
1507
  }
1508
1508
  );
1509
- }), br = b(function({
1509
+ }), bt = b(function({
1510
1510
  side: e = "left",
1511
- sideWidth: n,
1511
+ sideWidth: i,
1512
1512
  contentMin: o,
1513
- space: i,
1513
+ space: n,
1514
1514
  noStretch: a = !1,
1515
- as: l = "div",
1515
+ as: d = "div",
1516
1516
  className: c,
1517
- style: d,
1517
+ style: l,
1518
1518
  children: u,
1519
1519
  ...s
1520
1520
  }, p) {
1521
1521
  const g = {};
1522
- return n && (g["--sidebar-width"] = n), o && (g["--sidebar-content-min"] = o), i && (g["--sidebar-space"] = i), /* @__PURE__ */ r(
1523
- l,
1522
+ return i && (g["--sidebar-width"] = i), o && (g["--sidebar-content-min"] = o), n && (g["--sidebar-space"] = n), /* @__PURE__ */ t(
1523
+ d,
1524
1524
  {
1525
1525
  ref: p,
1526
1526
  className: m(
1527
- "rudiment-sidebar",
1528
- e === "right" && "rudiment-sidebar--right",
1529
- a && "rudiment-sidebar--no-stretch",
1527
+ "rudi-sidebar",
1528
+ e === "right" && "rudi-sidebar--right",
1529
+ a && "rudi-sidebar--no-stretch",
1530
1530
  c
1531
1531
  ),
1532
- style: { ...g, ...d },
1532
+ style: { ...g, ...l },
1533
1533
  ...s,
1534
1534
  children: u
1535
1535
  }
1536
1536
  );
1537
- }), _r = b(function({
1537
+ }), _t = b(function({
1538
1538
  maxWidth: e,
1539
- gutters: n,
1539
+ gutters: i,
1540
1540
  intrinsic: o = !1,
1541
- as: i = "div",
1541
+ as: n = "div",
1542
1542
  className: a,
1543
- style: l,
1543
+ style: d,
1544
1544
  children: c,
1545
- ...d
1545
+ ...l
1546
1546
  }, u) {
1547
1547
  const s = {};
1548
- return e && (s["--center-max-width"] = e), n && (s["--center-gutters"] = n), /* @__PURE__ */ r(
1549
- i,
1548
+ return e && (s["--center-max-width"] = e), i && (s["--center-gutters"] = i), /* @__PURE__ */ t(
1549
+ n,
1550
1550
  {
1551
1551
  ref: u,
1552
1552
  className: m(
1553
- "rudiment-center",
1554
- o && "rudiment-center--intrinsic",
1553
+ "rudi-center",
1554
+ o && "rudi-center--intrinsic",
1555
1555
  a
1556
1556
  ),
1557
- style: { ...s, ...l },
1558
- ...d,
1557
+ style: { ...s, ...d },
1558
+ ...l,
1559
1559
  children: c
1560
1560
  }
1561
1561
  );
1562
- }), vr = b(function({
1562
+ }), vt = b(function({
1563
1563
  minHeight: e,
1564
- space: n,
1564
+ space: i,
1565
1565
  as: o = "div",
1566
- className: i,
1566
+ className: n,
1567
1567
  style: a,
1568
- children: l,
1568
+ children: d,
1569
1569
  ...c
1570
- }, d) {
1570
+ }, l) {
1571
1571
  const u = {};
1572
- return e && (u["--cover-min-height"] = e), n && (u["--cover-space"] = n), /* @__PURE__ */ r(
1572
+ return e && (u["--cover-min-height"] = e), i && (u["--cover-space"] = i), /* @__PURE__ */ t(
1573
1573
  o,
1574
1574
  {
1575
- ref: d,
1576
- className: m("rudiment-cover", i),
1575
+ ref: l,
1576
+ className: m("rudi-cover", n),
1577
1577
  style: { ...u, ...a },
1578
1578
  ...c,
1579
- children: l
1579
+ children: d
1580
1580
  }
1581
1581
  );
1582
- }), Nr = b(
1582
+ }), Nt = b(
1583
1583
  function({
1584
1584
  threshold: e,
1585
- space: n,
1585
+ space: i,
1586
1586
  limit: o,
1587
- as: i = "div",
1587
+ as: n = "div",
1588
1588
  className: a,
1589
- style: l,
1589
+ style: d,
1590
1590
  children: c,
1591
- ...d
1591
+ ...l
1592
1592
  }, u) {
1593
1593
  const s = {};
1594
- return e && (s["--switcher-threshold"] = e), n && (s["--switcher-space"] = n), /* @__PURE__ */ r(
1595
- i,
1594
+ return e && (s["--switcher-threshold"] = e), i && (s["--switcher-space"] = i), /* @__PURE__ */ t(
1595
+ n,
1596
1596
  {
1597
1597
  ref: u,
1598
- className: m("rudiment-switcher", a),
1599
- style: { ...s, ...l },
1600
- ...d,
1598
+ className: m("rudi-switcher", a),
1599
+ style: { ...s, ...d },
1600
+ ...l,
1601
1601
  children: c
1602
1602
  }
1603
1603
  );
1604
1604
  }
1605
1605
  );
1606
1606
  export {
1607
- Jt as Alert,
1608
- tr as Avatar,
1609
- ht as Badge,
1610
- ir as BarChart,
1611
- fr as Box,
1612
- Ot as Button,
1613
- Y as Card,
1614
- _r as Center,
1615
- Lt as Checkbox,
1616
- Gt as CheckboxGroup,
1617
- or as CircularProgress,
1618
- pr as Cluster,
1619
- vr as Cover,
1620
- Xt as Dialog,
1621
- sr as DonutChart,
1622
- gr as Grid,
1623
- dr as Heading,
1624
- P as Icon,
1625
- Qt as IconButton,
1626
- Kt as Input,
1627
- cr as KanbanBoard,
1628
- lr as KanbanCard,
1629
- te as KanbanColumn,
1630
- Ut as Keyboard,
1631
- ar as LineChart,
1632
- jt as Menu,
1633
- zt as MenuItem,
1634
- Ht as MenuSection,
1635
- Ft as MenuTrigger,
1636
- nr as NavItem,
1637
- er as ProgressBar,
1638
- mr as Prose,
1639
- Yt as RadioGroup,
1640
- At as Select,
1641
- kr as Separator,
1642
- br as Sidebar,
1643
- hr as Stack,
1644
- rr as StatCard,
1645
- xr as SubmenuTrigger,
1646
- Wt as Switch,
1647
- Nr as Switcher,
1648
- Vt as Tag,
1649
- ur as Text,
1650
- qt as Tooltip,
1651
- Zt as TooltipTrigger,
1607
+ Jr as RudiAlert,
1608
+ rt as RudiAvatar,
1609
+ hr as RudiBadge,
1610
+ nt as RudiBarChart,
1611
+ ft as RudiBox,
1612
+ Or as RudiButton,
1613
+ Y as RudiCard,
1614
+ _t as RudiCenter,
1615
+ Lr as RudiCheckbox,
1616
+ Gr as RudiCheckboxGroup,
1617
+ ot as RudiCircularProgress,
1618
+ pt as RudiCluster,
1619
+ vt as RudiCover,
1620
+ Xr as RudiDialog,
1621
+ st as RudiDonutChart,
1622
+ gt as RudiGrid,
1623
+ lt as RudiHeading,
1624
+ k as RudiIcon,
1625
+ Qr as RudiIconButton,
1626
+ Kr as RudiInput,
1627
+ ct as RudiKanbanBoard,
1628
+ dt as RudiKanbanCard,
1629
+ re as RudiKanbanColumn,
1630
+ Ur as RudiKeyboard,
1631
+ at as RudiLineChart,
1632
+ jr as RudiMenu,
1633
+ zr as RudiMenuItem,
1634
+ Hr as RudiMenuSection,
1635
+ Fr as RudiMenuTrigger,
1636
+ it as RudiNavItem,
1637
+ et as RudiProgressBar,
1638
+ mt as RudiProse,
1639
+ Yr as RudiRadioGroup,
1640
+ Ar as RudiSelect,
1641
+ yt as RudiSeparator,
1642
+ bt as RudiSidebar,
1643
+ ht as RudiStack,
1644
+ tt as RudiStatCard,
1645
+ xt as RudiSubmenuTrigger,
1646
+ Wr as RudiSwitch,
1647
+ Nt as RudiSwitcher,
1648
+ Vr as RudiTag,
1649
+ ut as RudiText,
1650
+ qr as RudiTooltip,
1651
+ Zr as RudiTooltipTrigger,
1652
1652
  m as cn,
1653
1653
  j as useChartTheme,
1654
1654
  Q as useLoadingButton