@cfx-dev/ui-components 4.2.24 → 4.3.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 (176) hide show
  1. package/dist/Combination-CSgOhzm-.js +2198 -0
  2. package/dist/Combination-N-vN9BB-.js +823 -0
  3. package/dist/Table.module-DHI1mXN2.js +17 -0
  4. package/dist/assets/all_css.css +1 -0
  5. package/dist/assets/css/Checkbox.css +1 -1
  6. package/dist/assets/css/DataTable.css +1 -0
  7. package/dist/assets/css/Table.css +1 -1
  8. package/dist/assets/general/global.css +1 -1
  9. package/dist/cfxIcons-B9nzO6TW.js +98 -0
  10. package/dist/components/Accordion/Accordion.js +25 -26
  11. package/dist/components/Accordion/AccordionShowcase.js +1 -1
  12. package/dist/components/Avatar/Avatar.d.ts +2 -1
  13. package/dist/components/Avatar/Avatar.js +21 -20
  14. package/dist/components/Avatar/AvatarShowcase.js +1 -1
  15. package/dist/components/Badge/Badge.d.ts +2 -1
  16. package/dist/components/Badge/Badge.js +29 -29
  17. package/dist/components/Badge/BadgeShowcase.js +1 -1
  18. package/dist/components/BurgerMenu/BurgerMenu.js +2 -2
  19. package/dist/components/BurgerMenu/BurgerMenuButton.js +1 -1
  20. package/dist/components/BurgerMenu/BurgerMenuShowcase.js +1 -1
  21. package/dist/components/Button/Button.d.ts +5 -2
  22. package/dist/components/Button/Button.js +83 -81
  23. package/dist/components/Button/ButtonShowcase.js +2 -2
  24. package/dist/components/Button/LinkButton.d.ts +1 -1
  25. package/dist/components/Button/LinkButton.js +18 -17
  26. package/dist/components/Button/index.d.ts +1 -1
  27. package/dist/components/Button/index.js +7 -7
  28. package/dist/components/Checkbox/Checkbox.d.ts +1 -0
  29. package/dist/components/Checkbox/Checkbox.js +154 -242
  30. package/dist/components/ClipboardButton/ClipboardButton.js +7 -7
  31. package/dist/components/ControlBox/ControlBox.d.ts +3 -2
  32. package/dist/components/ControlBox/ControlBox.js +13 -10
  33. package/dist/components/CountryFlag/CountryFlag.d.ts +3 -2
  34. package/dist/components/CountryFlag/CountryFlag.js +14 -11
  35. package/dist/components/DataTable/DataTable.d.ts +40 -0
  36. package/dist/components/DataTable/DataTable.js +163 -0
  37. package/dist/components/DataTable/DataTableShowcase.d.ts +5 -0
  38. package/dist/components/DataTable/DataTableShowcase.js +60 -0
  39. package/dist/components/DataTable/index.d.ts +2 -0
  40. package/dist/components/DataTable/index.js +6 -0
  41. package/dist/components/Decorate/Decorate.d.ts +3 -2
  42. package/dist/components/Decorate/Decorate.js +19 -15
  43. package/dist/components/Dot/Dot.d.ts +2 -1
  44. package/dist/components/Dot/Dot.js +15 -13
  45. package/dist/components/DropdownSelect/DropdownSelect.d.ts +2 -1
  46. package/dist/components/DropdownSelect/DropdownSelect.js +665 -1836
  47. package/dist/components/DropdownSelect/DropdownSelectShowcase.js +1 -1
  48. package/dist/components/Flyout/Flyout.d.ts +2 -1
  49. package/dist/components/Flyout/Flyout.js +22 -20
  50. package/dist/components/Icon/Icon.d.ts +2 -1
  51. package/dist/components/Icon/Icon.js +19 -17
  52. package/dist/components/IconBig/IconBig.d.ts +2 -1
  53. package/dist/components/IconBig/IconBig.js +16 -14
  54. package/dist/components/Icons/IconsShowcase.js +1 -1
  55. package/dist/components/Icons/cfx-icons/Radio.d.ts +5 -0
  56. package/dist/components/Icons/cfx-icons/Radio.js +36 -0
  57. package/dist/components/Icons/cfx-icons/Square.js +15 -9
  58. package/dist/components/Icons/cfxIcons.d.ts +1 -0
  59. package/dist/components/Icons/cfxIcons.js +62 -60
  60. package/dist/components/Icons/index.js +1 -1
  61. package/dist/components/Indicator/Indicator.js +9 -10
  62. package/dist/components/InfoPanel/InfoPanelShowcase.js +1 -1
  63. package/dist/components/Input/Input.d.ts +4 -1
  64. package/dist/components/Input/Input.js +101 -88
  65. package/dist/components/Input/InputShowcase.js +1 -1
  66. package/dist/components/Input/RichInput.d.ts +2 -1
  67. package/dist/components/Input/RichInput.js +37 -34
  68. package/dist/components/InputDropzone/InputDropzone.d.ts +1 -1
  69. package/dist/components/InputDropzone/InputDropzone.js +1723 -625
  70. package/dist/components/Interactive/Interactive.d.ts +2 -1
  71. package/dist/components/Interactive/Interactive.js +14 -12
  72. package/dist/components/Island/Island.d.ts +2 -1
  73. package/dist/components/Island/Island.js +24 -24
  74. package/dist/components/Layout/Box/Box.d.ts +8 -2
  75. package/dist/components/Layout/Box/Box.js +53 -51
  76. package/dist/components/Layout/Box/Box.types.d.ts +22 -0
  77. package/dist/components/Layout/Box/Box.types.js +4 -0
  78. package/dist/components/Layout/Box/index.d.ts +1 -1
  79. package/dist/components/Layout/Box/index.js +3 -3
  80. package/dist/components/Layout/Center/Center.d.ts +2 -1
  81. package/dist/components/Layout/Center/Center.js +19 -18
  82. package/dist/components/Layout/Flex/Flex.d.ts +6 -10
  83. package/dist/components/Layout/Flex/Flex.js +53 -64
  84. package/dist/components/Layout/Flex/FlexRestricter.d.ts +2 -1
  85. package/dist/components/Layout/Flex/FlexRestricter.js +13 -12
  86. package/dist/components/Layout/Flex/FlexShowcase.js +1 -1
  87. package/dist/components/Layout/Flex/index.d.ts +2 -2
  88. package/dist/components/Layout/Flex/index.js +8 -8
  89. package/dist/components/Layout/Page/Page.js +11 -12
  90. package/dist/components/Layout/Scrollable/Rail.d.ts +1 -1
  91. package/dist/components/Layout/Scrollable/Scrollable.d.ts +2 -1
  92. package/dist/components/Layout/Scrollable/Scrollable.js +40 -38
  93. package/dist/components/Layout/Scrollable/ScrollableShowcase.js +1 -1
  94. package/dist/components/Layout/Scrollable/VirtualScrollable.js +98 -98
  95. package/dist/components/Link/LinkShowcase.js +1 -1
  96. package/dist/components/Loaf/Loaf.d.ts +2 -1
  97. package/dist/components/Loaf/Loaf.js +17 -16
  98. package/dist/components/Logos/LogosShowcase.js +1 -1
  99. package/dist/components/Modal/Modal.js +16 -17
  100. package/dist/components/Modal/ModalShowcase.js +14 -11
  101. package/dist/components/NavList/NavList.d.ts +2 -1
  102. package/dist/components/NavList/NavList.js +19 -18
  103. package/dist/components/OnScreenSensor.js +1 -1
  104. package/dist/components/Overlay/Overlay.d.ts +4 -2
  105. package/dist/components/Overlay/Overlay.js +31 -23
  106. package/dist/components/Popover/Popover.d.ts +3 -2
  107. package/dist/components/Popover/Popover.js +31 -30
  108. package/dist/components/Popover/PopoverShowcase.js +4 -4
  109. package/dist/components/PremiumBadge/PremiumBadge.d.ts +2 -1
  110. package/dist/components/PremiumBadge/PremiumBadge.js +12 -11
  111. package/dist/components/Select/Select.d.ts +1 -1
  112. package/dist/components/Select/Select.js +666 -1617
  113. package/dist/components/Select/SelectShowcase.js +1 -1
  114. package/dist/components/Shroud/Shroud.d.ts +2 -1
  115. package/dist/components/Shroud/Shroud.js +16 -14
  116. package/dist/components/Skeleton/Skeleton.d.ts +1 -1
  117. package/dist/components/Skeleton/Skeleton.js +26 -27
  118. package/dist/components/Skeleton/SkeletonShowcase.js +4 -4
  119. package/dist/components/Slider/Slider.d.ts +2 -1
  120. package/dist/components/Slider/Slider.js +326 -377
  121. package/dist/components/Slider/SliderShowcase.js +1 -1
  122. package/dist/components/Switch/Switch.js +109 -155
  123. package/dist/components/Table/TableBody.d.ts +8 -0
  124. package/dist/components/Table/TableBody.js +14 -0
  125. package/dist/components/Table/TableCell.d.ts +11 -0
  126. package/dist/components/Table/TableCell.js +54 -0
  127. package/dist/components/Table/TableCellCheckbox.d.ts +11 -0
  128. package/dist/components/Table/TableCellCheckbox.js +20 -0
  129. package/dist/components/Table/TableHeader.d.ts +9 -0
  130. package/dist/components/Table/TableHeader.js +24 -0
  131. package/dist/components/Table/TableIconButton.d.ts +6 -0
  132. package/dist/components/Table/TableIconButton.js +16 -0
  133. package/dist/components/Table/TableRoot.d.ts +8 -0
  134. package/dist/components/Table/TableRoot.js +23 -0
  135. package/dist/components/Table/TableRow.d.ts +13 -0
  136. package/dist/components/Table/TableRow.js +46 -0
  137. package/dist/components/Table/TableShowcase.js +56 -57
  138. package/dist/components/Table/index.d.ts +20 -2
  139. package/dist/components/Table/index.js +17 -5
  140. package/dist/components/Tabular/TabularShowcase.js +1 -1
  141. package/dist/components/Text/Text.d.ts +6 -3
  142. package/dist/components/Text/Text.js +67 -63
  143. package/dist/components/Text/TextShowcase.js +40 -33
  144. package/dist/components/Title/Title.d.ts +3 -1
  145. package/dist/components/Title/TitleShowcase.js +1 -1
  146. package/dist/components/ToggleGroup/ToggleGroupShowcase.js +1 -1
  147. package/dist/index-BHuChyf5.js +238 -0
  148. package/dist/index-Cl_RnsqN.js +386 -0
  149. package/dist/index-DZEAOJqB.js +53 -0
  150. package/dist/index-HDl8nGsm.js +70 -0
  151. package/dist/main.d.ts +6 -4
  152. package/dist/main.js +66 -65
  153. package/dist/{medium-BA3EQDZW.js → medium-Bq5NvyU7.js} +1 -1
  154. package/dist/styles-scss/global.scss +1 -0
  155. package/dist/tslib.es6-CtHwNPxX.js +72 -0
  156. package/dist/utils/hooks/useClipboardComponent.d.ts +1 -1
  157. package/dist/utils/hooks/useOutlet.js +1 -1
  158. package/dist/utils/hooks/usePopoverController.d.ts +1 -1
  159. package/dist/utils/links.js +1 -1
  160. package/dist/utils/mergeRefs.d.ts +1 -1
  161. package/dist/utils/mergeRefs.js +1 -1
  162. package/dist/utils/ui/ui.d.ts +1 -0
  163. package/dist/utils/ui/ui.js +45 -36
  164. package/dist/utils/ui/ui.types.d.ts +4 -0
  165. package/package.json +6 -5
  166. package/dist/Combination-Cbiw1XRb.js +0 -792
  167. package/dist/cfxIcons-BNd1WgpX.js +0 -96
  168. package/dist/components/Table/Table.d.ts +0 -42
  169. package/dist/components/Table/Table.js +0 -170
  170. package/dist/index-2hJuj4UN.js +0 -19069
  171. package/dist/index-AweK2ufS.js +0 -171
  172. package/dist/index-BlbvKsmN.js +0 -82
  173. package/dist/index-ByaXH_ih.js +0 -10
  174. package/dist/index-Bz27DCHt.js +0 -1342
  175. package/dist/index-Cf5Yu9oD.js +0 -67
  176. package/dist/tslib.es6-CBKHJX9H.js +0 -151
@@ -1,169 +1,103 @@
1
- import { jsx as d, Fragment as me, jsxs as K } from "react/jsx-runtime";
2
- import * as c from "react";
3
- import I from "react";
4
- import { c as Z } from "../../index-rKs9bXHr.js";
5
- import { c as pe, a as he, b as Se, d as V, u as B } from "../../index-AweK2ufS.js";
6
- import { u as ge, a as be } from "../../index-Cf5Yu9oD.js";
7
- import { u as ve } from "../../index-ByaXH_ih.js";
8
- import { u as _e } from "../../index-BZPx6jYI.js";
9
- import "../../index-2hJuj4UN.js";
1
+ import { jsx as m, jsxs as K } from "react/jsx-runtime";
2
+ import * as u from "react";
3
+ import O from "react";
4
+ import { c as W } from "../../index-rKs9bXHr.js";
5
+ import { d as fe, c as me, e as M, P as k, u as V, f as he } from "../../index-BHuChyf5.js";
6
+ import { c as pe, u as Se } from "../../index-DZEAOJqB.js";
7
+ import { u as be } from "../../index-BZPx6jYI.js";
10
8
  import { clsx as G } from "../../utils/clsx.js";
11
- var q = c.forwardRef((e, t) => {
12
- const { children: r, ...n } = e, o = c.Children.toArray(r), a = o.find(ye);
13
- if (a) {
14
- const i = a.props.children, s = o.map((u) => u === a ? c.Children.count(i) > 1 ? c.Children.only(null) : c.isValidElement(i) ? i.props.children : null : u);
15
- return /* @__PURE__ */ d(F, { ...n, ref: t, children: c.isValidElement(i) ? c.cloneElement(i, void 0, s) : null });
16
- }
17
- return /* @__PURE__ */ d(F, { ...n, ref: t, children: r });
18
- });
19
- q.displayName = "Slot";
20
- var F = c.forwardRef((e, t) => {
21
- const { children: r, ...n } = e;
22
- if (c.isValidElement(r)) {
23
- const o = xe(r);
24
- return c.cloneElement(r, {
25
- ...Re(n, r.props),
26
- // @ts-ignore
27
- ref: t ? pe(t, o) : o
28
- });
29
- }
30
- return c.Children.count(r) > 1 ? c.Children.only(null) : null;
31
- });
32
- F.displayName = "SlotClone";
33
- var we = ({ children: e }) => /* @__PURE__ */ d(me, { children: e });
34
- function ye(e) {
35
- return c.isValidElement(e) && e.type === we;
36
- }
37
- function Re(e, t) {
38
- const r = { ...t };
39
- for (const n in t) {
40
- const o = e[n], a = t[n];
41
- /^on[A-Z]/.test(n) ? o && a ? r[n] = (...s) => {
42
- a(...s), o(...s);
43
- } : o && (r[n] = o) : n === "style" ? r[n] = { ...o, ...a } : n === "className" && (r[n] = [o, a].filter(Boolean).join(" "));
44
- }
45
- return { ...e, ...r };
46
- }
47
- function xe(e) {
48
- var n, o;
49
- let t = (n = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : n.get, r = t && "isReactWarning" in t && t.isReactWarning;
50
- return r ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
51
- }
52
- var Pe = [
53
- "a",
54
- "button",
55
- "div",
56
- "form",
57
- "h2",
58
- "h3",
59
- "img",
60
- "input",
61
- "label",
62
- "li",
63
- "nav",
64
- "ol",
65
- "p",
66
- "span",
67
- "svg",
68
- "ul"
69
- ], T = Pe.reduce((e, t) => {
70
- const r = c.forwardRef((n, o) => {
71
- const { asChild: a, ...i } = n, s = a ? q : t;
72
- return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ d(s, { ...i, ref: o });
73
- });
74
- return r.displayName = `Primitive.${t}`, { ...e, [t]: r };
75
- }, {}), J = ["PageUp", "PageDown"], Q = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], ee = {
9
+ var q = ["PageUp", "PageDown"], J = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], Q = {
76
10
  "from-left": ["Home", "PageDown", "ArrowDown", "ArrowLeft"],
77
11
  "from-right": ["Home", "PageDown", "ArrowDown", "ArrowRight"],
78
12
  "from-bottom": ["Home", "PageDown", "ArrowDown", "ArrowLeft"],
79
13
  "from-top": ["Home", "PageDown", "ArrowUp", "ArrowLeft"]
80
- }, N = "Slider", [j, Ce, Ee] = he(N), [te, st] = Se(N, [
81
- Ee
82
- ]), [De, H] = te(N), ne = c.forwardRef(
14
+ }, B = "Slider", [U, ge, _e] = pe(B), [Z, Je] = me(B, [
15
+ _e
16
+ ]), [ve, T] = Z(B), ee = u.forwardRef(
83
17
  (e, t) => {
84
18
  const {
85
- name: r,
86
- min: n = 0,
87
- max: o = 100,
88
- step: a = 1,
89
- orientation: i = "horizontal",
90
- disabled: s = !1,
91
- minStepsBetweenThumbs: u = 0,
92
- defaultValue: p = [n],
93
- value: v,
94
- onValueChange: l = () => {
19
+ name: n,
20
+ min: o = 0,
21
+ max: s = 100,
22
+ step: c = 1,
23
+ orientation: r = "horizontal",
24
+ disabled: a = !1,
25
+ minStepsBetweenThumbs: l = 0,
26
+ defaultValue: h = [o],
27
+ value: p,
28
+ onValueChange: i = () => {
95
29
  },
96
- onValueCommit: f = () => {
30
+ onValueCommit: d = () => {
97
31
  },
98
- inverted: S = !1,
99
- form: y,
100
- ...g
101
- } = e, h = c.useRef(/* @__PURE__ */ new Set()), m = c.useRef(0), _ = i === "horizontal" ? Ve : Ne, [b = [], M] = ge({
102
- prop: v,
103
- defaultProp: p,
32
+ inverted: g = !1,
33
+ form: x,
34
+ ...S
35
+ } = e, b = u.useRef(/* @__PURE__ */ new Set()), f = u.useRef(0), v = r === "horizontal" ? we : xe, [_ = [], I] = fe({
36
+ prop: p,
37
+ defaultProp: h,
104
38
  onChange: (w) => {
105
- var E;
106
- (E = [...h.current][m.current]) == null || E.focus(), l(w);
39
+ var D;
40
+ (D = [...b.current][f.current]) == null || D.focus(), i(w);
107
41
  }
108
- }), O = c.useRef(b);
109
- function L(w) {
110
- const x = Ie(b, w);
111
- A(w, x);
42
+ }), L = u.useRef(_);
43
+ function H(w) {
44
+ const R = De(_, w);
45
+ A(w, R);
112
46
  }
113
47
  function de(w) {
114
- A(w, m.current);
48
+ A(w, f.current);
115
49
  }
116
- function fe() {
117
- const w = O.current[m.current];
118
- b[m.current] !== w && f(b);
50
+ function ue() {
51
+ const w = L.current[f.current];
52
+ _[f.current] !== w && d(_);
119
53
  }
120
- function A(w, x, { commit: E } = { commit: !1 }) {
121
- const $ = Oe(a), z = Le(Math.round((w - n) / a) * a + n, $), k = Z(z, [n, o]);
122
- M((D = []) => {
123
- const P = ke(D, k, x);
124
- if (He(P, u * a)) {
125
- m.current = P.indexOf(k);
126
- const X = String(P) !== String(D);
127
- return X && E && f(P), X ? P : D;
54
+ function A(w, R, { commit: D } = { commit: !1 }) {
55
+ const j = Be(c), z = Ie(Math.round((w - o) / c) * c + o, j), N = W(z, [o, s]);
56
+ I((E = []) => {
57
+ const P = ye(E, N, R);
58
+ if (Ve(P, l * c)) {
59
+ f.current = P.indexOf(N);
60
+ const X = String(P) !== String(E);
61
+ return X && D && d(P), X ? P : E;
128
62
  } else
129
- return D;
63
+ return E;
130
64
  });
131
65
  }
132
- return /* @__PURE__ */ d(
133
- De,
66
+ return /* @__PURE__ */ m(
67
+ ve,
134
68
  {
135
69
  scope: e.__scopeSlider,
136
- name: r,
137
- disabled: s,
138
- min: n,
139
- max: o,
140
- valueIndexToChangeRef: m,
141
- thumbs: h.current,
142
- values: b,
143
- orientation: i,
144
- form: y,
145
- children: /* @__PURE__ */ d(j.Provider, { scope: e.__scopeSlider, children: /* @__PURE__ */ d(j.Slot, { scope: e.__scopeSlider, children: /* @__PURE__ */ d(
146
- _,
70
+ name: n,
71
+ disabled: a,
72
+ min: o,
73
+ max: s,
74
+ valueIndexToChangeRef: f,
75
+ thumbs: b.current,
76
+ values: _,
77
+ orientation: r,
78
+ form: x,
79
+ children: /* @__PURE__ */ m(U.Provider, { scope: e.__scopeSlider, children: /* @__PURE__ */ m(U.Slot, { scope: e.__scopeSlider, children: /* @__PURE__ */ m(
80
+ v,
147
81
  {
148
- "aria-disabled": s,
149
- "data-disabled": s ? "" : void 0,
150
- ...g,
82
+ "aria-disabled": a,
83
+ "data-disabled": a ? "" : void 0,
84
+ ...S,
151
85
  ref: t,
152
- onPointerDown: V(g.onPointerDown, () => {
153
- s || (O.current = b);
86
+ onPointerDown: M(S.onPointerDown, () => {
87
+ a || (L.current = _);
154
88
  }),
155
- min: n,
156
- max: o,
157
- inverted: S,
158
- onSlideStart: s ? void 0 : L,
159
- onSlideMove: s ? void 0 : de,
160
- onSlideEnd: s ? void 0 : fe,
161
- onHomeKeyDown: () => !s && A(n, 0, { commit: !0 }),
162
- onEndKeyDown: () => !s && A(o, b.length - 1, { commit: !0 }),
163
- onStepKeyDown: ({ event: w, direction: x }) => {
164
- if (!s) {
165
- const z = J.includes(w.key) || w.shiftKey && Q.includes(w.key) ? 10 : 1, k = m.current, D = b[k], P = a * z * x;
166
- A(D + P, k, { commit: !0 });
89
+ min: o,
90
+ max: s,
91
+ inverted: g,
92
+ onSlideStart: a ? void 0 : H,
93
+ onSlideMove: a ? void 0 : de,
94
+ onSlideEnd: a ? void 0 : ue,
95
+ onHomeKeyDown: () => !a && A(o, 0, { commit: !0 }),
96
+ onEndKeyDown: () => !a && A(s, _.length - 1, { commit: !0 }),
97
+ onStepKeyDown: ({ event: w, direction: R }) => {
98
+ if (!a) {
99
+ const z = q.includes(w.key) || w.shiftKey && J.includes(w.key) ? 10 : 1, N = f.current, E = _[N], P = c * z * R;
100
+ A(E + P, N, { commit: !0 });
167
101
  }
168
102
  }
169
103
  }
@@ -172,368 +106,383 @@ var Pe = [
172
106
  );
173
107
  }
174
108
  );
175
- ne.displayName = N;
176
- var [re, oe] = te(N, {
109
+ ee.displayName = B;
110
+ var [te, ne] = Z(B, {
177
111
  startEdge: "left",
178
112
  endEdge: "right",
179
113
  size: "width",
180
114
  direction: 1
181
- }), Ve = c.forwardRef(
115
+ }), we = u.forwardRef(
182
116
  (e, t) => {
183
117
  const {
184
- min: r,
185
- max: n,
186
- dir: o,
187
- inverted: a,
188
- onSlideStart: i,
189
- onSlideMove: s,
190
- onSlideEnd: u,
191
- onStepKeyDown: p,
192
- ...v
193
- } = e, [l, f] = c.useState(null), S = B(t, (_) => f(_)), y = c.useRef(void 0), g = ve(o), h = g === "ltr", m = h && !a || !h && a;
194
- function R(_) {
195
- const b = y.current || l.getBoundingClientRect(), M = [0, b.width], L = Y(M, m ? [r, n] : [n, r]);
196
- return y.current = b, L(_ - b.left);
118
+ min: n,
119
+ max: o,
120
+ dir: s,
121
+ inverted: c,
122
+ onSlideStart: r,
123
+ onSlideMove: a,
124
+ onSlideEnd: l,
125
+ onStepKeyDown: h,
126
+ ...p
127
+ } = e, [i, d] = u.useState(null), g = V(t, (v) => d(v)), x = u.useRef(void 0), S = Se(s), b = S === "ltr", f = b && !c || !b && c;
128
+ function C(v) {
129
+ const _ = x.current || i.getBoundingClientRect(), I = [0, _.width], H = $(I, f ? [n, o] : [o, n]);
130
+ return x.current = _, H(v - _.left);
197
131
  }
198
- return /* @__PURE__ */ d(
199
- re,
132
+ return /* @__PURE__ */ m(
133
+ te,
200
134
  {
201
135
  scope: e.__scopeSlider,
202
- startEdge: m ? "left" : "right",
203
- endEdge: m ? "right" : "left",
204
- direction: m ? 1 : -1,
136
+ startEdge: f ? "left" : "right",
137
+ endEdge: f ? "right" : "left",
138
+ direction: f ? 1 : -1,
205
139
  size: "width",
206
- children: /* @__PURE__ */ d(
207
- ie,
140
+ children: /* @__PURE__ */ m(
141
+ oe,
208
142
  {
209
- dir: g,
143
+ dir: S,
210
144
  "data-orientation": "horizontal",
211
- ...v,
212
- ref: S,
145
+ ...p,
146
+ ref: g,
213
147
  style: {
214
- ...v.style,
148
+ ...p.style,
215
149
  "--radix-slider-thumb-transform": "translateX(-50%)"
216
150
  },
217
- onSlideStart: (_) => {
218
- const b = R(_.clientX);
219
- i == null || i(b);
151
+ onSlideStart: (v) => {
152
+ const _ = C(v.clientX);
153
+ r == null || r(_);
220
154
  },
221
- onSlideMove: (_) => {
222
- const b = R(_.clientX);
223
- s == null || s(b);
155
+ onSlideMove: (v) => {
156
+ const _ = C(v.clientX);
157
+ a == null || a(_);
224
158
  },
225
159
  onSlideEnd: () => {
226
- y.current = void 0, u == null || u();
160
+ x.current = void 0, l == null || l();
227
161
  },
228
- onStepKeyDown: (_) => {
229
- const M = ee[m ? "from-left" : "from-right"].includes(_.key);
230
- p == null || p({ event: _, direction: M ? -1 : 1 });
162
+ onStepKeyDown: (v) => {
163
+ const I = Q[f ? "from-left" : "from-right"].includes(v.key);
164
+ h == null || h({ event: v, direction: I ? -1 : 1 });
231
165
  }
232
166
  }
233
167
  )
234
168
  }
235
169
  );
236
170
  }
237
- ), Ne = c.forwardRef(
171
+ ), xe = u.forwardRef(
238
172
  (e, t) => {
239
173
  const {
240
- min: r,
241
- max: n,
242
- inverted: o,
243
- onSlideStart: a,
244
- onSlideMove: i,
245
- onSlideEnd: s,
246
- onStepKeyDown: u,
247
- ...p
248
- } = e, v = c.useRef(null), l = B(t, v), f = c.useRef(void 0), S = !o;
249
- function y(g) {
250
- const h = f.current || v.current.getBoundingClientRect(), m = [0, h.height], _ = Y(m, S ? [n, r] : [r, n]);
251
- return f.current = h, _(g - h.top);
174
+ min: n,
175
+ max: o,
176
+ inverted: s,
177
+ onSlideStart: c,
178
+ onSlideMove: r,
179
+ onSlideEnd: a,
180
+ onStepKeyDown: l,
181
+ ...h
182
+ } = e, p = u.useRef(null), i = V(t, p), d = u.useRef(void 0), g = !s;
183
+ function x(S) {
184
+ const b = d.current || p.current.getBoundingClientRect(), f = [0, b.height], v = $(f, g ? [o, n] : [n, o]);
185
+ return d.current = b, v(S - b.top);
252
186
  }
253
- return /* @__PURE__ */ d(
254
- re,
187
+ return /* @__PURE__ */ m(
188
+ te,
255
189
  {
256
190
  scope: e.__scopeSlider,
257
- startEdge: S ? "bottom" : "top",
258
- endEdge: S ? "top" : "bottom",
191
+ startEdge: g ? "bottom" : "top",
192
+ endEdge: g ? "top" : "bottom",
259
193
  size: "height",
260
- direction: S ? 1 : -1,
261
- children: /* @__PURE__ */ d(
262
- ie,
194
+ direction: g ? 1 : -1,
195
+ children: /* @__PURE__ */ m(
196
+ oe,
263
197
  {
264
198
  "data-orientation": "vertical",
265
- ...p,
266
- ref: l,
199
+ ...h,
200
+ ref: i,
267
201
  style: {
268
- ...p.style,
202
+ ...h.style,
269
203
  "--radix-slider-thumb-transform": "translateY(50%)"
270
204
  },
271
- onSlideStart: (g) => {
272
- const h = y(g.clientY);
273
- a == null || a(h);
205
+ onSlideStart: (S) => {
206
+ const b = x(S.clientY);
207
+ c == null || c(b);
274
208
  },
275
- onSlideMove: (g) => {
276
- const h = y(g.clientY);
277
- i == null || i(h);
209
+ onSlideMove: (S) => {
210
+ const b = x(S.clientY);
211
+ r == null || r(b);
278
212
  },
279
213
  onSlideEnd: () => {
280
- f.current = void 0, s == null || s();
214
+ d.current = void 0, a == null || a();
281
215
  },
282
- onStepKeyDown: (g) => {
283
- const m = ee[S ? "from-bottom" : "from-top"].includes(g.key);
284
- u == null || u({ event: g, direction: m ? -1 : 1 });
216
+ onStepKeyDown: (S) => {
217
+ const f = Q[g ? "from-bottom" : "from-top"].includes(S.key);
218
+ l == null || l({ event: S, direction: f ? -1 : 1 });
285
219
  }
286
220
  }
287
221
  )
288
222
  }
289
223
  );
290
224
  }
291
- ), ie = c.forwardRef(
225
+ ), oe = u.forwardRef(
292
226
  (e, t) => {
293
227
  const {
294
- __scopeSlider: r,
295
- onSlideStart: n,
296
- onSlideMove: o,
297
- onSlideEnd: a,
298
- onHomeKeyDown: i,
299
- onEndKeyDown: s,
300
- onStepKeyDown: u,
301
- ...p
302
- } = e, v = H(N, r);
303
- return /* @__PURE__ */ d(
304
- T.span,
228
+ __scopeSlider: n,
229
+ onSlideStart: o,
230
+ onSlideMove: s,
231
+ onSlideEnd: c,
232
+ onHomeKeyDown: r,
233
+ onEndKeyDown: a,
234
+ onStepKeyDown: l,
235
+ ...h
236
+ } = e, p = T(B, n);
237
+ return /* @__PURE__ */ m(
238
+ k.span,
305
239
  {
306
- ...p,
240
+ ...h,
307
241
  ref: t,
308
- onKeyDown: V(e.onKeyDown, (l) => {
309
- l.key === "Home" ? (i(l), l.preventDefault()) : l.key === "End" ? (s(l), l.preventDefault()) : J.concat(Q).includes(l.key) && (u(l), l.preventDefault());
242
+ onKeyDown: M(e.onKeyDown, (i) => {
243
+ i.key === "Home" ? (r(i), i.preventDefault()) : i.key === "End" ? (a(i), i.preventDefault()) : q.concat(J).includes(i.key) && (l(i), i.preventDefault());
310
244
  }),
311
- onPointerDown: V(e.onPointerDown, (l) => {
312
- const f = l.target;
313
- f.setPointerCapture(l.pointerId), l.preventDefault(), v.thumbs.has(f) ? f.focus() : n(l);
245
+ onPointerDown: M(e.onPointerDown, (i) => {
246
+ const d = i.target;
247
+ d.setPointerCapture(i.pointerId), i.preventDefault(), p.thumbs.has(d) ? d.focus() : o(i);
314
248
  }),
315
- onPointerMove: V(e.onPointerMove, (l) => {
316
- l.target.hasPointerCapture(l.pointerId) && o(l);
249
+ onPointerMove: M(e.onPointerMove, (i) => {
250
+ i.target.hasPointerCapture(i.pointerId) && s(i);
317
251
  }),
318
- onPointerUp: V(e.onPointerUp, (l) => {
319
- const f = l.target;
320
- f.hasPointerCapture(l.pointerId) && (f.releasePointerCapture(l.pointerId), a(l));
252
+ onPointerUp: M(e.onPointerUp, (i) => {
253
+ const d = i.target;
254
+ d.hasPointerCapture(i.pointerId) && (d.releasePointerCapture(i.pointerId), c(i));
321
255
  })
322
256
  }
323
257
  );
324
258
  }
325
- ), ae = "SliderTrack", se = c.forwardRef(
259
+ ), re = "SliderTrack", ie = u.forwardRef(
326
260
  (e, t) => {
327
- const { __scopeSlider: r, ...n } = e, o = H(ae, r);
328
- return /* @__PURE__ */ d(
329
- T.span,
261
+ const { __scopeSlider: n, ...o } = e, s = T(re, n);
262
+ return /* @__PURE__ */ m(
263
+ k.span,
330
264
  {
331
- "data-disabled": o.disabled ? "" : void 0,
332
- "data-orientation": o.orientation,
333
- ...n,
265
+ "data-disabled": s.disabled ? "" : void 0,
266
+ "data-orientation": s.orientation,
267
+ ...o,
334
268
  ref: t
335
269
  }
336
270
  );
337
271
  }
338
272
  );
339
- se.displayName = ae;
340
- var W = "SliderRange", le = c.forwardRef(
273
+ ie.displayName = re;
274
+ var F = "SliderRange", ae = u.forwardRef(
341
275
  (e, t) => {
342
- const { __scopeSlider: r, ...n } = e, o = H(W, r), a = oe(W, r), i = c.useRef(null), s = B(t, i), u = o.values.length, p = o.values.map(
343
- (f) => ue(f, o.min, o.max)
344
- ), v = u > 1 ? Math.min(...p) : 0, l = 100 - Math.max(...p);
345
- return /* @__PURE__ */ d(
346
- T.span,
276
+ const { __scopeSlider: n, ...o } = e, s = T(F, n), c = ne(F, n), r = u.useRef(null), a = V(t, r), l = s.values.length, h = s.values.map(
277
+ (d) => le(d, s.min, s.max)
278
+ ), p = l > 1 ? Math.min(...h) : 0, i = 100 - Math.max(...h);
279
+ return /* @__PURE__ */ m(
280
+ k.span,
347
281
  {
348
- "data-orientation": o.orientation,
349
- "data-disabled": o.disabled ? "" : void 0,
350
- ...n,
351
- ref: s,
282
+ "data-orientation": s.orientation,
283
+ "data-disabled": s.disabled ? "" : void 0,
284
+ ...o,
285
+ ref: a,
352
286
  style: {
353
287
  ...e.style,
354
- [a.startEdge]: v + "%",
355
- [a.endEdge]: l + "%"
288
+ [c.startEdge]: p + "%",
289
+ [c.endEdge]: i + "%"
356
290
  }
357
291
  }
358
292
  );
359
293
  }
360
294
  );
361
- le.displayName = W;
362
- var U = "SliderThumb", ce = c.forwardRef(
295
+ ae.displayName = F;
296
+ var Y = "SliderThumb", se = u.forwardRef(
363
297
  (e, t) => {
364
- const r = Ce(e.__scopeSlider), [n, o] = c.useState(null), a = B(t, (s) => o(s)), i = c.useMemo(
365
- () => n ? r().findIndex((s) => s.ref.current === n) : -1,
366
- [r, n]
298
+ const n = ge(e.__scopeSlider), [o, s] = u.useState(null), c = V(t, (a) => s(a)), r = u.useMemo(
299
+ () => o ? n().findIndex((a) => a.ref.current === o) : -1,
300
+ [n, o]
367
301
  );
368
- return /* @__PURE__ */ d(Me, { ...e, ref: a, index: i });
302
+ return /* @__PURE__ */ m(Re, { ...e, ref: c, index: r });
369
303
  }
370
- ), Me = c.forwardRef(
304
+ ), Re = u.forwardRef(
371
305
  (e, t) => {
372
- const { __scopeSlider: r, index: n, name: o, ...a } = e, i = H(U, r), s = oe(U, r), [u, p] = c.useState(null), v = B(t, (R) => p(R)), l = u ? i.form || !!u.closest("form") : !0, f = be(u), S = i.values[n], y = S === void 0 ? 0 : ue(S, i.min, i.max), g = Be(n, i.values.length), h = f == null ? void 0 : f[s.size], m = h ? Ke(h, y, s.direction) : 0;
373
- return c.useEffect(() => {
374
- if (u)
375
- return i.thumbs.add(u), () => {
376
- i.thumbs.delete(u);
306
+ const { __scopeSlider: n, index: o, name: s, ...c } = e, r = T(Y, n), a = ne(Y, n), [l, h] = u.useState(null), p = V(t, (C) => h(C)), i = l ? r.form || !!l.closest("form") : !0, d = he(l), g = r.values[o], x = g === void 0 ? 0 : le(g, r.min, r.max), S = Ce(o, r.values.length), b = d == null ? void 0 : d[a.size], f = b ? Ee(b, x, a.direction) : 0;
307
+ return u.useEffect(() => {
308
+ if (l)
309
+ return r.thumbs.add(l), () => {
310
+ r.thumbs.delete(l);
377
311
  };
378
- }, [u, i.thumbs]), /* @__PURE__ */ K(
312
+ }, [l, r.thumbs]), /* @__PURE__ */ K(
379
313
  "span",
380
314
  {
381
315
  style: {
382
316
  transform: "var(--radix-slider-thumb-transform)",
383
317
  position: "absolute",
384
- [s.startEdge]: `calc(${y}% + ${m}px)`
318
+ [a.startEdge]: `calc(${x}% + ${f}px)`
385
319
  },
386
320
  children: [
387
- /* @__PURE__ */ d(j.ItemSlot, { scope: e.__scopeSlider, children: /* @__PURE__ */ d(
388
- T.span,
321
+ /* @__PURE__ */ m(U.ItemSlot, { scope: e.__scopeSlider, children: /* @__PURE__ */ m(
322
+ k.span,
389
323
  {
390
324
  role: "slider",
391
- "aria-label": e["aria-label"] || g,
392
- "aria-valuemin": i.min,
393
- "aria-valuenow": S,
394
- "aria-valuemax": i.max,
395
- "aria-orientation": i.orientation,
396
- "data-orientation": i.orientation,
397
- "data-disabled": i.disabled ? "" : void 0,
398
- tabIndex: i.disabled ? void 0 : 0,
399
- ...a,
400
- ref: v,
401
- style: S === void 0 ? { display: "none" } : e.style,
402
- onFocus: V(e.onFocus, () => {
403
- i.valueIndexToChangeRef.current = n;
325
+ "aria-label": e["aria-label"] || S,
326
+ "aria-valuemin": r.min,
327
+ "aria-valuenow": g,
328
+ "aria-valuemax": r.max,
329
+ "aria-orientation": r.orientation,
330
+ "data-orientation": r.orientation,
331
+ "data-disabled": r.disabled ? "" : void 0,
332
+ tabIndex: r.disabled ? void 0 : 0,
333
+ ...c,
334
+ ref: p,
335
+ style: g === void 0 ? { display: "none" } : e.style,
336
+ onFocus: M(e.onFocus, () => {
337
+ r.valueIndexToChangeRef.current = o;
404
338
  })
405
339
  }
406
340
  ) }),
407
- l && /* @__PURE__ */ d(
408
- Ae,
341
+ i && /* @__PURE__ */ m(
342
+ ce,
409
343
  {
410
- name: o ?? (i.name ? i.name + (i.values.length > 1 ? "[]" : "") : void 0),
411
- form: i.form,
412
- value: S
344
+ name: s ?? (r.name ? r.name + (r.values.length > 1 ? "[]" : "") : void 0),
345
+ form: r.form,
346
+ value: g
413
347
  },
414
- n
348
+ o
415
349
  )
416
350
  ]
417
351
  }
418
352
  );
419
353
  }
420
354
  );
421
- ce.displayName = U;
422
- var Ae = (e) => {
423
- const { value: t, ...r } = e, n = c.useRef(null), o = _e(t);
424
- return c.useEffect(() => {
425
- const a = n.current, i = window.HTMLInputElement.prototype, u = Object.getOwnPropertyDescriptor(i, "value").set;
426
- if (o !== t && u) {
427
- const p = new Event("input", { bubbles: !0 });
428
- u.call(a, t), a.dispatchEvent(p);
429
- }
430
- }, [o, t]), /* @__PURE__ */ d("input", { style: { display: "none" }, ...r, ref: n, defaultValue: t });
431
- };
432
- function ke(e = [], t, r) {
433
- const n = [...e];
434
- return n[r] = t, n.sort((o, a) => o - a);
355
+ se.displayName = Y;
356
+ var Pe = "RadioBubbleInput", ce = u.forwardRef(
357
+ ({ __scopeSlider: e, value: t, ...n }, o) => {
358
+ const s = u.useRef(null), c = V(s, o), r = be(t);
359
+ return u.useEffect(() => {
360
+ const a = s.current;
361
+ if (!a) return;
362
+ const l = window.HTMLInputElement.prototype, p = Object.getOwnPropertyDescriptor(l, "value").set;
363
+ if (r !== t && p) {
364
+ const i = new Event("input", { bubbles: !0 });
365
+ p.call(a, t), a.dispatchEvent(i);
366
+ }
367
+ }, [r, t]), /* @__PURE__ */ m(
368
+ k.input,
369
+ {
370
+ style: { display: "none" },
371
+ ...n,
372
+ ref: c,
373
+ defaultValue: t
374
+ }
375
+ );
376
+ }
377
+ );
378
+ ce.displayName = Pe;
379
+ function ye(e = [], t, n) {
380
+ const o = [...e];
381
+ return o[n] = t, o.sort((s, c) => s - c);
435
382
  }
436
- function ue(e, t, r) {
437
- const a = 100 / (r - t) * (e - t);
438
- return Z(a, [0, 100]);
383
+ function le(e, t, n) {
384
+ const c = 100 / (n - t) * (e - t);
385
+ return W(c, [0, 100]);
439
386
  }
440
- function Be(e, t) {
387
+ function Ce(e, t) {
441
388
  return t > 2 ? `Value ${e + 1} of ${t}` : t === 2 ? ["Minimum", "Maximum"][e] : void 0;
442
389
  }
443
- function Ie(e, t) {
390
+ function De(e, t) {
444
391
  if (e.length === 1) return 0;
445
- const r = e.map((o) => Math.abs(o - t)), n = Math.min(...r);
446
- return r.indexOf(n);
392
+ const n = e.map((s) => Math.abs(s - t)), o = Math.min(...n);
393
+ return n.indexOf(o);
447
394
  }
448
- function Ke(e, t, r) {
449
- const n = e / 2, a = Y([0, 50], [0, n]);
450
- return (n - a(t) * r) * r;
395
+ function Ee(e, t, n) {
396
+ const o = e / 2, c = $([0, 50], [0, o]);
397
+ return (o - c(t) * n) * n;
451
398
  }
452
- function Te(e) {
453
- return e.slice(0, -1).map((t, r) => e[r + 1] - t);
399
+ function Me(e) {
400
+ return e.slice(0, -1).map((t, n) => e[n + 1] - t);
454
401
  }
455
- function He(e, t) {
402
+ function Ve(e, t) {
456
403
  if (t > 0) {
457
- const r = Te(e);
458
- return Math.min(...r) >= t;
404
+ const n = Me(e);
405
+ return Math.min(...n) >= t;
459
406
  }
460
407
  return !0;
461
408
  }
462
- function Y(e, t) {
463
- return (r) => {
409
+ function $(e, t) {
410
+ return (n) => {
464
411
  if (e[0] === e[1] || t[0] === t[1]) return t[0];
465
- const n = (t[1] - t[0]) / (e[1] - e[0]);
466
- return t[0] + n * (r - e[0]);
412
+ const o = (t[1] - t[0]) / (e[1] - e[0]);
413
+ return t[0] + o * (n - e[0]);
467
414
  };
468
415
  }
469
- function Oe(e) {
416
+ function Be(e) {
470
417
  return (String(e).split(".")[1] || "").length;
471
418
  }
472
- function Le(e, t) {
473
- const r = Math.pow(10, t);
474
- return Math.round(e * r) / r;
419
+ function Ie(e, t) {
420
+ const n = Math.pow(10, t);
421
+ return Math.round(e * n) / n;
475
422
  }
476
- var ze = ne, Fe = se, je = le, We = ce;
477
- const Ue = "cfxui__Slider__container__997ea", Ye = "cfxui__Slider__labels__2a966", $e = "cfxui__Slider__root__a6c1b", Xe = "cfxui__Slider__track__570cb", Ge = "cfxui__Slider__range__5ae17", Ze = "cfxui__Slider__thumb__27d80", qe = "cfxui__Slider__valueBubble__ebce8", C = {
478
- container: Ue,
479
- labels: Ye,
480
- root: $e,
481
- track: Xe,
482
- range: Ge,
483
- thumb: Ze,
484
- valueBubble: qe
485
- }, lt = I.forwardRef(function(t, r) {
423
+ var Ae = ee, Ne = ie, ke = ae, Ke = se;
424
+ const Te = "cfxui__Slider__container__997ea", Le = "cfxui__Slider__labels__2a966", He = "cfxui__Slider__root__a6c1b", ze = "cfxui__Slider__track__570cb", Oe = "cfxui__Slider__range__5ae17", Ue = "cfxui__Slider__thumb__27d80", Fe = "cfxui__Slider__valueBubble__ebce8", y = {
425
+ container: Te,
426
+ labels: Le,
427
+ root: He,
428
+ track: ze,
429
+ range: Oe,
430
+ thumb: Ue,
431
+ valueBubble: Fe
432
+ };
433
+ function Qe(e) {
486
434
  const {
487
- value: n,
488
- defaultValue: o,
489
- title: a,
490
- ariaLabel: i,
491
- className: s,
492
- trackClassName: u,
493
- minLabel: p,
494
- maxLabel: v,
495
- min: l = 0,
496
- max: f,
497
- onValueChange: S,
498
- ...y
499
- } = t, [g, h] = I.useState(() => {
435
+ value: t,
436
+ defaultValue: n,
437
+ title: o,
438
+ ariaLabel: s,
439
+ className: c,
440
+ trackClassName: r,
441
+ minLabel: a,
442
+ maxLabel: l,
443
+ min: h = 0,
444
+ max: p,
445
+ onValueChange: i,
446
+ ref: d,
447
+ ...g
448
+ } = e, [x, S] = O.useState(() => {
449
+ if (t)
450
+ return t;
500
451
  if (n)
501
452
  return n;
502
- if (o)
503
- return o;
504
- }), m = I.useCallback((R) => {
505
- if (S) {
506
- S(R);
453
+ }), b = O.useCallback((f) => {
454
+ if (i) {
455
+ i(f);
507
456
  return;
508
457
  }
509
- h(R);
510
- }, [S]);
511
- return I.useEffect(() => {
512
- n && h(n);
513
- }, [n]), /* @__PURE__ */ K("div", { className: C.container, children: [
458
+ S(f);
459
+ }, [i]);
460
+ return O.useEffect(() => {
461
+ t && S(t);
462
+ }, [t]), /* @__PURE__ */ K("div", { className: y.container, children: [
514
463
  /* @__PURE__ */ K(
515
- ze,
464
+ Ae,
516
465
  {
517
- ...y,
518
- ref: r,
519
- min: l,
520
- max: f,
521
- value: n,
522
- className: G(C.root, s),
523
- onValueChange: m,
466
+ ...g,
467
+ ref: d,
468
+ min: h,
469
+ max: p,
470
+ value: t,
471
+ className: G(y.root, c),
472
+ onValueChange: b,
524
473
  children: [
525
- /* @__PURE__ */ d(Fe, { className: G(C.track, u), children: /* @__PURE__ */ d(je, { className: C.range }) }),
526
- /* @__PURE__ */ d(We, { className: C.thumb, "aria-label": i, children: /* @__PURE__ */ d("div", { className: C.valueBubble, children: [g, a].join(" ") }) })
474
+ /* @__PURE__ */ m(Ne, { className: G(y.track, r), children: /* @__PURE__ */ m(ke, { className: y.range }) }),
475
+ /* @__PURE__ */ m(Ke, { className: y.thumb, "aria-label": s, children: /* @__PURE__ */ m("div", { className: y.valueBubble, children: [x, o].join(" ") }) })
527
476
  ]
528
477
  }
529
478
  ),
530
- /* @__PURE__ */ K("div", { className: C.labels, children: [
531
- /* @__PURE__ */ d("span", { children: typeof p < "u" ? p : l }),
532
- /* @__PURE__ */ d("span", { children: typeof v < "u" ? v : f })
479
+ /* @__PURE__ */ K("div", { className: y.labels, children: [
480
+ /* @__PURE__ */ m("span", { children: typeof a < "u" ? a : h }),
481
+ /* @__PURE__ */ m("span", { children: typeof l < "u" ? l : p })
533
482
  ] })
534
483
  ] });
535
- });
484
+ }
536
485
  export {
537
- lt as Slider,
538
- lt as default
486
+ Qe as Slider,
487
+ Qe as default
539
488
  };