@imfusion/web-ui 0.11.1-dev.47.g23180a23 → 0.11.1-dev.48.g0fcb0d30

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.
@@ -1,6 +1,6 @@
1
- import { s as e } from "../utils-RZJAXfcf.js";
1
+ import { t as e } from "../rolldown-runtime-Dy4uBu1J.js";
2
2
  import { t } from "../meta-V_KyLeGn.js";
3
- import { i as n, n as r, r as i } from "../code-BX1Humcy.js";
3
+ import { i as n, n as r, r as i } from "../code-BaLXMEMa.js";
4
4
  import { jsx as a } from "react/jsx-runtime";
5
5
  import { cloneElement as o, useMemo as s } from "react";
6
6
  import { createHighlighter as c, defineLanguage as l, renderNodesToHtml as u, renderTokens as d } from "@tanstack/highlight/core";
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "../meta-V_KyLeGn.js";
2
- import { a as t, i as n, o as r, t as i } from "../slider-BKDxeTmk.js";
2
+ import { a as t, i as n, o as r, t as i } from "../slider-CpIZMAFl.js";
3
3
  import { t as a } from "../separator-BV2TR8U0.js";
4
4
  import { cva as o } from "class-variance-authority";
5
5
  import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
@@ -1,7 +1,8 @@
1
1
  import { t as e } from "../meta-V_KyLeGn.js";
2
- import { a as t, d as n, f as r, g as i, h as a, i as o, m as s, n as c, o as l, r as u, t as d, u as f } from "../tabs-CLeLjFNy.js";
3
- import { t as p } from "../scroll-area-CUo1NBaW.js";
4
- import { a as m, i as h, n as g, o as _, r as v, s as y, t as b } from "../slider-BKDxeTmk.js";
2
+ import { n as t, t as n } from "../toggle-group-eGr6_hgQ.js";
3
+ import { a as r, d as i, f as a, i as o, m as s, n as c, o as l, r as u, t as d, u as f } from "../tabs-EMQSqOk5.js";
4
+ import { t as p } from "../scroll-area-CXQ_SxPX.js";
5
+ import { a as m, i as h, n as g, o as _, r as v, s as y, t as b } from "../slider-CpIZMAFl.js";
5
6
  import { cva as x } from "class-variance-authority";
6
7
  import { Fragment as S, jsx as C, jsxs as w } from "react/jsx-runtime";
7
8
  import { useId as T, useMemo as E, useState as D } from "react";
@@ -94,40 +95,40 @@ function R({ spec: e, value: t, row: n, onChange: r }) {
94
95
  children: i
95
96
  }) : i;
96
97
  }
97
- function z({ checked: e, row: t, onChange: i }) {
98
- let a = T();
98
+ function z({ checked: e, row: t, onChange: n }) {
99
+ let r = T();
99
100
  return /* @__PURE__ */ w(f, {
100
101
  align: "center",
101
102
  justify: t ? "start" : "between",
102
103
  gap: "2",
103
104
  className: A.invertRow,
104
105
  children: [/* @__PURE__ */ C("span", {
105
- id: a,
106
+ id: r,
106
107
  className: A.invertLabel,
107
108
  children: "Invert"
108
- }), /* @__PURE__ */ C(n, {
109
- "aria-labelledby": a,
109
+ }), /* @__PURE__ */ C(i, {
110
+ "aria-labelledby": r,
110
111
  checked: e,
111
112
  onCheckedChange: (e) => {
112
- i(e);
113
+ n(e);
113
114
  },
114
- children: /* @__PURE__ */ C(r, {})
115
+ children: /* @__PURE__ */ C(a, {})
115
116
  })]
116
117
  });
117
118
  }
118
- function B({ active: e, onChange: t }) {
119
- return /* @__PURE__ */ w(a, {
119
+ function B({ active: e, onChange: r }) {
120
+ return /* @__PURE__ */ w(n, {
120
121
  className: A.segment,
121
122
  "aria-label": "Display dimension",
122
123
  value: [e],
123
124
  onValueChange: (e) => {
124
- let n = e[0];
125
- (n === "2d" || n === "3d") && t(n);
125
+ let t = e[0];
126
+ (t === "2d" || t === "3d") && r(t);
126
127
  },
127
- children: [/* @__PURE__ */ C(i, {
128
+ children: [/* @__PURE__ */ C(t, {
128
129
  value: "2d",
129
130
  children: "2D"
130
- }), /* @__PURE__ */ C(i, {
131
+ }), /* @__PURE__ */ C(t, {
131
132
  value: "3d",
132
133
  children: "3D"
133
134
  })]
@@ -150,15 +151,15 @@ function V({ dimension: e, fields: t, options: n, row: r, onChange: i }) {
150
151
  }
151
152
  })] });
152
153
  }
153
- function H({ variant: e = "default", options: n, intensityRange: r, ranges: i, onOptionsChange: a, className: m, ...h }) {
154
- let [g, _] = D("2d"), v = P(r, i), y = (e) => {
154
+ function H({ variant: e = "default", options: t, intensityRange: n, ranges: i, onOptionsChange: a, className: m, ...h }) {
155
+ let [g, _] = D("2d"), v = P(n, i), y = (e) => {
155
156
  _(e === "3d" ? "3d" : "2d");
156
157
  };
157
158
  return /* @__PURE__ */ C("div", {
158
159
  ...h,
159
160
  "data-imf-ui-component": "ImageDisplayOptions",
160
161
  className: L({ className: m }),
161
- children: e === "default" ? /* @__PURE__ */ w(t, {
162
+ children: e === "default" ? /* @__PURE__ */ w(r, {
162
163
  value: g,
163
164
  onValueChange: y,
164
165
  children: [/* @__PURE__ */ w(c, { children: [
@@ -178,7 +179,7 @@ function H({ variant: e = "default", options: n, intensityRange: r, ranges: i, o
178
179
  children: /* @__PURE__ */ C(V, {
179
180
  dimension: "2d",
180
181
  fields: v["2d"],
181
- options: n,
182
+ options: t,
182
183
  row: !1,
183
184
  onChange: a
184
185
  })
@@ -190,13 +191,13 @@ function H({ variant: e = "default", options: n, intensityRange: r, ranges: i, o
190
191
  children: /* @__PURE__ */ C(V, {
191
192
  dimension: "3d",
192
193
  fields: v["3d"],
193
- options: n,
194
+ options: t,
194
195
  row: !1,
195
196
  onChange: a
196
197
  })
197
198
  })
198
199
  })] })]
199
- }) : e === "horizontal" ? /* @__PURE__ */ w(t, {
200
+ }) : e === "horizontal" ? /* @__PURE__ */ w(r, {
200
201
  className: A.horizontalTabs,
201
202
  orientation: "vertical",
202
203
  value: g,
@@ -227,7 +228,7 @@ function H({ variant: e = "default", options: n, intensityRange: r, ranges: i, o
227
228
  children: /* @__PURE__ */ C(V, {
228
229
  dimension: "2d",
229
230
  fields: v["2d"],
230
- options: n,
231
+ options: t,
231
232
  row: !0,
232
233
  onChange: a
233
234
  })
@@ -244,7 +245,7 @@ function H({ variant: e = "default", options: n, intensityRange: r, ranges: i, o
244
245
  children: /* @__PURE__ */ C(V, {
245
246
  dimension: "3d",
246
247
  fields: v["3d"],
247
- options: n,
248
+ options: t,
248
249
  row: !0,
249
250
  onChange: a
250
251
  })
@@ -264,7 +265,7 @@ function H({ variant: e = "default", options: n, intensityRange: r, ranges: i, o
264
265
  }), /* @__PURE__ */ C(V, {
265
266
  dimension: g,
266
267
  fields: v[g],
267
- options: n,
268
+ options: t,
268
269
  row: !0,
269
270
  onChange: a
270
271
  })]
@@ -0,0 +1,2 @@
1
+ export { LayoutMode } from './layout-mode';
2
+ export { layoutModeMeta } from './layout-mode.meta';
@@ -0,0 +1,32 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import { ToggleGroup } from '../../components/toggle-group';
3
+ declare const layoutMode: (props?: ({
4
+ variant?: "compact" | "labeled" | null | undefined;
5
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
+ /** The SDK's `DisplayLayoutMode`, restated so the view stays free of SDK imports. */
7
+ type Mode = "Auto" | "Rows" | "FocusPlusStack" | "FocusPlusRows";
8
+ type LayoutModeViewProps = Omit<React.ComponentProps<typeof ToggleGroup>, "value" | "defaultValue" | "onValueChange" | "multiple" | "children"> & VariantProps<typeof layoutMode> & {
9
+ /** The pressed layout mode. */
10
+ mode: Mode;
11
+ /** Called with the mode the user picks. */
12
+ onModeChange: (mode: Mode) => void;
13
+ /** Accessible name of the group. */
14
+ label?: string;
15
+ /** Name of the toggle that lets the viewer choose between Rows and Focus + stack. */
16
+ autoLabel?: string;
17
+ /** Name of the toggle that arranges the views in up to two rows. */
18
+ rowsLabel?: string;
19
+ /** Name of the toggle that shows one large view with the others stacked beside it. */
20
+ focusPlusStackLabel?: string;
21
+ /** Name of the toggle that shows one large view with the others in rows beside it. */
22
+ focusPlusRowsLabel?: string;
23
+ };
24
+ /**
25
+ * LayoutModeView - the SDK-free presentational surface behind `LayoutMode`:
26
+ * the same toggles, driven by plain props instead of the viewer's layout mode.
27
+ */
28
+ export declare function LayoutModeView({ mode, onModeChange, variant, label, autoLabel, rowsLabel, focusPlusStackLabel, focusPlusRowsLabel, orientation, className, ...props }: LayoutModeViewProps): import("react/jsx-runtime").JSX.Element;
29
+ export declare namespace LayoutModeView {
30
+ var displayName: string;
31
+ }
32
+ export {};
@@ -0,0 +1,13 @@
1
+ import { LayoutModeView } from './layout-mode-view';
2
+ type Props = Omit<React.ComponentProps<typeof LayoutModeView>, "mode" | "onModeChange">;
3
+ /**
4
+ * LayoutMode - picks the ImFusion viewer's layout mode: Auto, Rows, Focus + stack, or Focus + rows.
5
+ * `compact` is a row of icon toggles; `labeled` stacks them vertically with each mode's name beside its icon.
6
+ *
7
+ * Must render inside `ImFusionReady`, within an `ImFusionProvider`.
8
+ */
9
+ export declare function LayoutMode(props: Props): import("react/jsx-runtime").JSX.Element;
10
+ export declare namespace LayoutMode {
11
+ var displayName: string;
12
+ }
13
+ export {};
@@ -0,0 +1,2 @@
1
+ import { ComponentMeta } from '../../types/meta';
2
+ export declare const layoutModeMeta: ComponentMeta;
@@ -0,0 +1,103 @@
1
+ import { Qh as e, Xh as t, Zh as n, _M as r, tg as i } from "../icons-vc1WZCxX.js";
2
+ import { t as a } from "../meta-V_KyLeGn.js";
3
+ import { n as o, t as s } from "../toggle-group-eGr6_hgQ.js";
4
+ import { a as c } from "../utils-J6vbjIt1.js";
5
+ import "../toggle-group-Bhb3qicp.js";
6
+ import { cva as l } from "class-variance-authority";
7
+ import { jsx as u, jsxs as d } from "react/jsx-runtime";
8
+ import { useLayoutMode as f } from "@imfusion/sdk-react";
9
+ var p = {
10
+ labeled: "imf-ui-layout-mode-module-labeled",
11
+ root: "imf-ui-layout-mode-module-root",
12
+ toggle: "imf-ui-layout-mode-module-toggle"
13
+ }, m = l(p.root, { variants: { variant: {
14
+ compact: null,
15
+ labeled: p.labeled
16
+ } } }), h = [
17
+ {
18
+ mode: "Auto",
19
+ glyph: t
20
+ },
21
+ {
22
+ mode: "Rows",
23
+ glyph: i
24
+ },
25
+ {
26
+ mode: "FocusPlusStack",
27
+ glyph: e
28
+ },
29
+ {
30
+ mode: "FocusPlusRows",
31
+ glyph: n
32
+ }
33
+ ];
34
+ function g(e) {
35
+ return h.some((t) => t.mode === e);
36
+ }
37
+ function _({ mode: e, onModeChange: t, variant: n = "compact", label: i = "Layout", autoLabel: a = "Auto", rowsLabel: l = "Rows", focusPlusStackLabel: f = "Focus + stack", focusPlusRowsLabel: _ = "Focus + rows", orientation: v = "horizontal", className: y, ...b }) {
38
+ let x = {
39
+ Auto: a,
40
+ Rows: l,
41
+ FocusPlusStack: f,
42
+ FocusPlusRows: _
43
+ }, S = n === "labeled";
44
+ function C(e) {
45
+ g(e[0]) && t(e[0]);
46
+ }
47
+ return /* @__PURE__ */ u(s, {
48
+ "aria-label": i,
49
+ ...b,
50
+ orientation: S ? "vertical" : v,
51
+ className: (e) => m({
52
+ variant: n,
53
+ className: c(y, e)
54
+ }),
55
+ value: [e],
56
+ onValueChange: C,
57
+ children: h.map(({ mode: e, glyph: t }) => /* @__PURE__ */ d(o, {
58
+ value: e,
59
+ "aria-label": S ? void 0 : x[e],
60
+ className: p.toggle,
61
+ children: [/* @__PURE__ */ u(r, {
62
+ glyph: t,
63
+ size: 16,
64
+ "aria-hidden": !0
65
+ }), S && x[e]]
66
+ }, e))
67
+ });
68
+ }
69
+ _.displayName = "LayoutModeView";
70
+ //#endregion
71
+ //#region src/integrations/layout-mode/layout-mode.tsx
72
+ function v(e) {
73
+ let { mode: t, setMode: n } = f();
74
+ return /* @__PURE__ */ u(_, {
75
+ ...e,
76
+ mode: t,
77
+ onModeChange: n
78
+ });
79
+ }
80
+ v.displayName = "LayoutMode";
81
+ //#endregion
82
+ //#region src/integrations/layout-mode/layout-mode.meta.ts
83
+ var y = {
84
+ name: "LayoutMode",
85
+ category: a.inputs,
86
+ status: "experimental",
87
+ description: "Picker bound to the ImFusion viewer's layout mode: Auto, Rows, Focus + stack, or Focus + rows, as a compact icon row or a labeled vertical list. Also called a layout or view arrangement switch; for a segmented choice not tied to the SDK, use ToggleGroup.",
88
+ origin: "adapted",
89
+ internalDependencies: [
90
+ "ToggleGroup",
91
+ "Toggle",
92
+ "Icon"
93
+ ],
94
+ upstream: {
95
+ name: "ImFusion Web SDK",
96
+ websiteLink: "https://www.imfusion.com/",
97
+ docLink: "https://docs.imfusion.com/",
98
+ llmDocLink: "https://docs.imfusion.com/",
99
+ runtimeDependencies: ["@imfusion/sdk", "@imfusion/sdk-react"]
100
+ }
101
+ };
102
+ //#endregion
103
+ export { v as LayoutMode, y as layoutModeMeta };
@@ -0,0 +1,11 @@
1
+ //#region \0rolldown/runtime.js
2
+ var e = Object.defineProperty, t = (t, n) => {
3
+ let r = {};
4
+ for (var i in t) e(r, i, {
5
+ get: t[i],
6
+ enumerable: !0
7
+ });
8
+ return n || e(r, Symbol.toStringTag, { value: "Module" }), r;
9
+ };
10
+ //#endregion
11
+ export { t };
@@ -1,4 +1,5 @@
1
- import { a as e, s as t } from "./utils-RZJAXfcf.js";
1
+ import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
+ import { a as t } from "./utils-J6vbjIt1.js";
2
3
  import { cva as n } from "class-variance-authority";
3
4
  import { jsx as r, jsxs as i } from "react/jsx-runtime";
4
5
  import { ScrollArea as a } from "@base-ui/react/scroll-area";
@@ -9,7 +10,7 @@ var o = {
9
10
  scrollbar: "imf-ui-scroll-area-module-scrollbar",
10
11
  thumb: "imf-ui-scroll-area-module-thumb",
11
12
  viewport: "imf-ui-scroll-area-module-viewport"
12
- }, s = /* @__PURE__ */ t({
13
+ }, s = /* @__PURE__ */ e({
13
14
  Auto: () => b,
14
15
  Content: () => g,
15
16
  Corner: () => y,
@@ -18,51 +19,51 @@ var o = {
18
19
  Thumb: () => v,
19
20
  Viewport: () => h
20
21
  }), c = n(o.root), l = n(o.viewport), u = n(o.content), d = n(o.scrollbar), f = n(o.thumb), p = n(o.corner);
21
- function m(t) {
22
+ function m(e) {
22
23
  return /* @__PURE__ */ r(a.Root, {
23
- ...t,
24
+ ...e,
24
25
  "data-imf-ui-component": "ScrollArea.Root",
25
- className: (n) => c({ className: e(t.className, n) })
26
+ className: (n) => c({ className: t(e.className, n) })
26
27
  });
27
28
  }
28
29
  m.displayName = "ScrollArea.Root";
29
- function h(t) {
30
+ function h(e) {
30
31
  return /* @__PURE__ */ r(a.Viewport, {
31
- ...t,
32
+ ...e,
32
33
  "data-imf-ui-component": "ScrollArea.Viewport",
33
- className: (n) => l({ className: e(t.className, n) })
34
+ className: (n) => l({ className: t(e.className, n) })
34
35
  });
35
36
  }
36
37
  h.displayName = "ScrollArea.Viewport";
37
- function g(t) {
38
+ function g(e) {
38
39
  return /* @__PURE__ */ r(a.Content, {
39
- ...t,
40
+ ...e,
40
41
  "data-imf-ui-component": "ScrollArea.Content",
41
- className: (n) => u({ className: e(t.className, n) })
42
+ className: (n) => u({ className: t(e.className, n) })
42
43
  });
43
44
  }
44
45
  g.displayName = "ScrollArea.Content";
45
- function _(t) {
46
+ function _(e) {
46
47
  return /* @__PURE__ */ r(a.Scrollbar, {
47
- ...t,
48
+ ...e,
48
49
  "data-imf-ui-component": "ScrollArea.Scrollbar",
49
- className: (n) => d({ className: e(t.className, n) })
50
+ className: (n) => d({ className: t(e.className, n) })
50
51
  });
51
52
  }
52
53
  _.displayName = "ScrollArea.Scrollbar";
53
- function v(t) {
54
+ function v(e) {
54
55
  return /* @__PURE__ */ r(a.Thumb, {
55
- ...t,
56
+ ...e,
56
57
  "data-imf-ui-component": "ScrollArea.Thumb",
57
- className: (n) => f({ className: e(t.className, n) })
58
+ className: (n) => f({ className: t(e.className, n) })
58
59
  });
59
60
  }
60
61
  v.displayName = "ScrollArea.Thumb";
61
- function y(t) {
62
+ function y(e) {
62
63
  return /* @__PURE__ */ r(a.Corner, {
63
- ...t,
64
+ ...e,
64
65
  "data-imf-ui-component": "ScrollArea.Corner",
65
- className: (n) => p({ className: e(t.className, n) })
66
+ className: (n) => p({ className: t(e.className, n) })
66
67
  });
67
68
  }
68
69
  y.displayName = "ScrollArea.Corner";
@@ -1,4 +1,5 @@
1
- import { a as e, s as t } from "./utils-RZJAXfcf.js";
1
+ import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
+ import { a as t } from "./utils-J6vbjIt1.js";
2
3
  import { cva as n } from "class-variance-authority";
3
4
  import { jsx as r } from "react/jsx-runtime";
4
5
  import { Slider as i } from "@base-ui/react/slider";
@@ -11,7 +12,7 @@ var a = {
11
12
  track: "imf-ui-slider-module-track",
12
13
  value: "imf-ui-slider-module-value",
13
14
  variantPosition: "imf-ui-slider-module-variantPosition"
14
- }, o = /* @__PURE__ */ t({
15
+ }, o = /* @__PURE__ */ e({
15
16
  Control: () => _,
16
17
  Indicator: () => y,
17
18
  Label: () => h,
@@ -23,14 +24,14 @@ var a = {
23
24
  default: null,
24
25
  position: a.variantPosition
25
26
  } } }), c = n(a.label), l = n(a.value), u = n(a.control), d = n(a.track), f = n(a.indicator), p = n(a.thumb);
26
- function m({ variant: t = "default", value: n, defaultValue: a, onValueChange: o, onValueCommitted: c, min: l = 0, max: u = 100, step: d = 1, largeStep: f = 10, minStepsBetweenValues: p = 0, disabled: m = !1, orientation: h = "horizontal", name: g, form: _, locale: v, thumbAlignment: y = "edge", thumbCollisionBehavior: b = "push", format: x, ...S }) {
27
+ function m({ variant: e = "default", value: n, defaultValue: a, onValueChange: o, onValueCommitted: c, min: l = 0, max: u = 100, step: d = 1, largeStep: f = 10, minStepsBetweenValues: p = 0, disabled: m = !1, orientation: h = "horizontal", name: g, form: _, locale: v, thumbAlignment: y = "edge", thumbCollisionBehavior: b = "push", format: x, ...S }) {
27
28
  return /* @__PURE__ */ r(i.Root, {
28
29
  ...S,
29
30
  "data-imf-ui-component": "Slider.Root",
30
31
  "data-orientation": h,
31
32
  className: (n) => s({
32
- variant: t,
33
- className: e(S.className, n)
33
+ variant: e,
34
+ className: t(S.className, n)
34
35
  }),
35
36
  value: n,
36
37
  defaultValue: a,
@@ -52,53 +53,53 @@ function m({ variant: t = "default", value: n, defaultValue: a, onValueChange: o
52
53
  });
53
54
  }
54
55
  m.displayName = "Slider.Root";
55
- function h(t) {
56
+ function h(e) {
56
57
  return /* @__PURE__ */ r(i.Label, {
57
- ...t,
58
+ ...e,
58
59
  "data-imf-ui-component": "Slider.Label",
59
- className: (n) => c({ className: e(t.className, n) })
60
+ className: (n) => c({ className: t(e.className, n) })
60
61
  });
61
62
  }
62
63
  h.displayName = "Slider.Label";
63
- function g({ children: t, ...n }) {
64
+ function g({ children: e, ...n }) {
64
65
  return /* @__PURE__ */ r(i.Value, {
65
66
  ...n,
66
67
  "data-imf-ui-component": "Slider.Value",
67
- className: (t) => l({ className: e(n.className, t) }),
68
- children: t
68
+ className: (e) => l({ className: t(n.className, e) }),
69
+ children: e
69
70
  });
70
71
  }
71
72
  g.displayName = "Slider.Value";
72
- function _(t) {
73
+ function _(e) {
73
74
  return /* @__PURE__ */ r(i.Control, {
74
- ...t,
75
+ ...e,
75
76
  "data-imf-ui-component": "Slider.Control",
76
- className: (n) => u({ className: e(t.className, n) })
77
+ className: (n) => u({ className: t(e.className, n) })
77
78
  });
78
79
  }
79
80
  _.displayName = "Slider.Control";
80
- function v(t) {
81
+ function v(e) {
81
82
  return /* @__PURE__ */ r(i.Track, {
82
- ...t,
83
+ ...e,
83
84
  "data-imf-ui-component": "Slider.Track",
84
- className: (n) => d({ className: e(t.className, n) })
85
+ className: (n) => d({ className: t(e.className, n) })
85
86
  });
86
87
  }
87
88
  v.displayName = "Slider.Track";
88
- function y(t) {
89
+ function y(e) {
89
90
  return /* @__PURE__ */ r(i.Indicator, {
90
- ...t,
91
+ ...e,
91
92
  "data-imf-ui-component": "Slider.Indicator",
92
- className: (n) => f({ className: e(t.className, n) })
93
+ className: (n) => f({ className: t(e.className, n) })
93
94
  });
94
95
  }
95
96
  y.displayName = "Slider.Indicator";
96
- function b({ index: t, ...n }) {
97
+ function b({ index: e, ...n }) {
97
98
  return /* @__PURE__ */ r(i.Thumb, {
98
99
  ...n,
99
100
  "data-imf-ui-component": "Slider.Thumb",
100
- className: (t) => p({ className: e(n.className, t) }),
101
- index: t
101
+ className: (e) => p({ className: t(n.className, e) }),
102
+ index: e
102
103
  });
103
104
  }
104
105
  b.displayName = "Slider.Thumb";