@zag-js/slider 1.34.1 → 1.35.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.
package/dist/index.d.mts CHANGED
@@ -1,335 +1,8 @@
1
- import * as _zag_js_anatomy from '@zag-js/anatomy';
2
- import { PropTypes, RequiredBy, DirectionProperty, CommonProperties, NormalizeProps } from '@zag-js/types';
3
- import * as _zag_js_core from '@zag-js/core';
4
- import { Machine, EventObject, Service } from '@zag-js/core';
5
-
6
- declare const anatomy: _zag_js_anatomy.AnatomyInstance<"root" | "label" | "thumb" | "valueText" | "track" | "range" | "control" | "markerGroup" | "marker" | "draggingIndicator">;
7
-
8
- type ThumbCollisionBehavior = "none" | "push" | "swap";
9
- type ThumbAlignment = "contain" | "center";
10
- interface ValueChangeDetails {
11
- value: number[];
12
- }
13
- interface FocusChangeDetails {
14
- focusedIndex: number;
15
- value: number[];
16
- }
17
- interface ValueTextDetails {
18
- value: number;
19
- index: number;
20
- }
21
- type ElementIds = Partial<{
22
- root: string;
23
- thumb: (index: number) => string;
24
- hiddenInput: (index: number) => string;
25
- control: string;
26
- track: string;
27
- range: string;
28
- label: string;
29
- valueText: string;
30
- marker: (index: number) => string;
31
- }>;
32
- interface SliderProps extends DirectionProperty, CommonProperties {
33
- /**
34
- * The ids of the elements in the slider. Useful for composition.
35
- */
36
- ids?: ElementIds | undefined;
37
- /**
38
- * The aria-label of each slider thumb. Useful for providing an accessible name to the slider
39
- */
40
- "aria-label"?: string[] | undefined;
41
- /**
42
- * The `id` of the elements that labels each slider thumb. Useful for providing an accessible name to the slider
43
- */
44
- "aria-labelledby"?: string[] | undefined;
45
- /**
46
- * The name associated with each slider thumb (when used in a form)
47
- */
48
- name?: string | undefined;
49
- /**
50
- * The associate form of the underlying input element.
51
- */
52
- form?: string | undefined;
53
- /**
54
- * The controlled value of the slider
55
- */
56
- value?: number[] | undefined;
57
- /**
58
- * The initial value of the slider when rendered.
59
- * Use when you don't need to control the value of the slider.
60
- */
61
- defaultValue?: number[] | undefined;
62
- /**
63
- * Whether the slider is disabled
64
- */
65
- disabled?: boolean | undefined;
66
- /**
67
- * Whether the slider is read-only
68
- */
69
- readOnly?: boolean | undefined;
70
- /**
71
- * Whether the slider is invalid
72
- */
73
- invalid?: boolean | undefined;
74
- /**
75
- * Function invoked when the value of the slider changes
76
- */
77
- onValueChange?: ((details: ValueChangeDetails) => void) | undefined;
78
- /**
79
- * Function invoked when the slider value change is done
80
- */
81
- onValueChangeEnd?: ((details: ValueChangeDetails) => void) | undefined;
82
- /**
83
- * Function invoked when the slider's focused index changes
84
- */
85
- onFocusChange?: ((details: FocusChangeDetails) => void) | undefined;
86
- /**
87
- * Function that returns a human readable value for the slider thumb
88
- */
89
- getAriaValueText?: ((details: ValueTextDetails) => string) | undefined;
90
- /**
91
- * The minimum value of the slider
92
- * @default 0
93
- */
94
- min?: number | undefined;
95
- /**
96
- * The maximum value of the slider
97
- * @default 100
98
- */
99
- max?: number | undefined;
100
- /**
101
- * The step value of the slider
102
- * @default 1
103
- */
104
- step?: number | undefined;
105
- /**
106
- * The minimum permitted steps between multiple thumbs.
107
- *
108
- * `minStepsBetweenThumbs` * `step` should reflect the gap between the thumbs.
109
- *
110
- * - `step: 1` and `minStepsBetweenThumbs: 10` => gap is `10`
111
- * - `step: 10` and `minStepsBetweenThumbs: 2` => gap is `20`
112
- *
113
- * @default 0
114
- */
115
- minStepsBetweenThumbs?: number | undefined;
116
- /**
117
- * The orientation of the slider
118
- * @default "horizontal"
119
- */
120
- orientation?: "vertical" | "horizontal" | undefined;
121
- /**
122
- * The origin of the slider range. The track is filled from the origin
123
- * to the thumb for single values.
124
- * - "start": Useful when the value represents an absolute value
125
- * - "center": Useful when the value represents an offset (relative)
126
- * - "end": Useful when the value represents an offset from the end
127
- *
128
- * @default "start"
129
- */
130
- origin?: "start" | "center" | "end" | undefined;
131
- /**
132
- * The alignment of the slider thumb relative to the track
133
- * - `center`: the thumb will extend beyond the bounds of the slider track.
134
- * - `contain`: the thumb will be contained within the bounds of the track.
135
- *
136
- * @default "contain"
137
- */
138
- thumbAlignment?: "contain" | "center" | undefined;
139
- /**
140
- * The slider thumbs dimensions
141
- */
142
- thumbSize?: {
143
- width: number;
144
- height: number;
145
- } | undefined;
146
- /**
147
- * Controls how thumbs behave when they collide during pointer interactions.
148
- * - `none` (default): Thumbs cannot move past each other; excess movement is ignored.
149
- * - `push`: Thumbs push each other without restoring their previous positions when dragged back.
150
- * - `swap`: Thumbs swap places when dragged past each other.
151
- *
152
- * @default "none"
153
- */
154
- thumbCollisionBehavior?: "none" | "push" | "swap" | undefined;
155
- }
156
- type PropsWithDefault = "dir" | "min" | "max" | "step" | "orientation" | "defaultValue" | "origin" | "thumbAlignment" | "minStepsBetweenThumbs" | "thumbCollisionBehavior";
157
- type Computed = Readonly<{
158
- /**
159
- * @computed
160
- * Whether the slider thumb has been measured
161
- */
162
- hasMeasuredThumbSize: boolean;
163
- /**
164
- * @computed
165
- * Whether the slider is interactive
166
- */
167
- isInteractive: boolean;
168
- /**
169
- * @computed
170
- * Whether the slider is vertical
171
- */
172
- isVertical: boolean;
173
- /**
174
- * @computed
175
- * Whether the slider is horizontal
176
- */
177
- isHorizontal: boolean;
178
- /**
179
- * @computed
180
- * Whether the slider is in RTL mode
181
- */
182
- isRtl: boolean;
183
- /**
184
- * @computed
185
- * The percentage of the slider value relative to the slider min/max
186
- */
187
- valuePercent: number[];
188
- /**
189
- * @computed
190
- * Whether the slider is disabled
191
- */
192
- isDisabled: boolean;
193
- }>;
194
- interface Context {
195
- /**
196
- * The active index of the range slider. This represents
197
- * the currently dragged/focused thumb.
198
- */
199
- focusedIndex: number;
200
- /**
201
- * The value of the range slider
202
- */
203
- value: number[];
204
- /**
205
- * The size of the slider thumbs
206
- */
207
- thumbSize: Size | null;
208
- }
209
- interface SliderSchema {
210
- state: "idle" | "dragging" | "focus";
211
- props: RequiredBy<SliderProps, PropsWithDefault>;
212
- context: Context;
213
- refs: {
214
- /**
215
- * The offset from the thumb center when pointer down occurs.
216
- * Used to maintain constant offset during drag.
217
- */
218
- thumbDragOffset: {
219
- x: number;
220
- y: number;
221
- } | null;
222
- /**
223
- * The values when a thumb drag starts.
224
- * Used for swap collision behavior to determine swap direction.
225
- */
226
- thumbDragStartValue: number[] | null;
227
- };
228
- computed: Computed;
229
- event: EventObject;
230
- action: string;
231
- effect: string;
232
- guard: string;
233
- }
234
- type SliderService = Service<SliderSchema>;
235
- type SliderMachine = Machine<SliderSchema>;
236
- interface Size {
237
- width: number;
238
- height: number;
239
- }
240
- interface MarkerProps {
241
- value: number;
242
- }
243
- interface ThumbProps {
244
- index: number;
245
- name?: string | undefined;
246
- }
247
- interface DraggingIndicatorProps {
248
- index: number;
249
- }
250
- interface SliderApi<T extends PropTypes = PropTypes> {
251
- /**
252
- * The value of the slider.
253
- */
254
- value: number[];
255
- /**
256
- * Whether the slider is being dragged.
257
- */
258
- dragging: boolean;
259
- /**
260
- * Whether the slider is focused.
261
- */
262
- focused: boolean;
263
- /**
264
- * Function to set the value of the slider.
265
- */
266
- setValue: (value: number[]) => void;
267
- /**
268
- * Returns the value of the thumb at the given index.
269
- */
270
- getThumbValue: (index: number) => number;
271
- /**
272
- * Sets the value of the thumb at the given index.
273
- */
274
- setThumbValue: (index: number, value: number) => void;
275
- /**
276
- * Returns the percent of the thumb at the given index.
277
- */
278
- getValuePercent: (value: number) => number;
279
- /**
280
- * Returns the value of the thumb at the given percent.
281
- */
282
- getPercentValue: (percent: number) => number;
283
- /**
284
- * Returns the percent of the thumb at the given index.
285
- */
286
- getThumbPercent: (index: number) => number;
287
- /**
288
- * Sets the percent of the thumb at the given index.
289
- */
290
- setThumbPercent: (index: number, percent: number) => void;
291
- /**
292
- * Returns the min value of the thumb at the given index.
293
- */
294
- getThumbMin: (index: number) => number;
295
- /**
296
- * Returns the max value of the thumb at the given index.
297
- */
298
- getThumbMax: (index: number) => number;
299
- /**
300
- * Function to increment the value of the slider at the given index.
301
- */
302
- increment: (index: number) => void;
303
- /**
304
- * Function to decrement the value of the slider at the given index.
305
- */
306
- decrement: (index: number) => void;
307
- /**
308
- * Function to focus the slider. This focuses the first thumb.
309
- */
310
- focus: VoidFunction;
311
- getLabelProps: () => T["label"];
312
- getRootProps: () => T["element"];
313
- getValueTextProps: () => T["element"];
314
- getTrackProps: () => T["element"];
315
- getThumbProps: (props: ThumbProps) => T["element"];
316
- getHiddenInputProps: (props: ThumbProps) => T["input"];
317
- getRangeProps: () => T["element"];
318
- getControlProps: () => T["element"];
319
- getMarkerGroupProps: () => T["element"];
320
- getMarkerProps: (props: MarkerProps) => T["element"];
321
- getDraggingIndicatorProps: (props: DraggingIndicatorProps) => T["element"];
322
- }
323
-
324
- declare function connect<T extends PropTypes>(service: SliderService, normalize: NormalizeProps<T>): SliderApi<T>;
325
-
326
- declare const machine: _zag_js_core.Machine<SliderSchema>;
327
-
328
- declare const props: (keyof SliderProps)[];
329
- declare const splitProps: <Props extends Partial<SliderProps>>(props: Props) => [Partial<SliderProps>, Omit<Props, keyof SliderProps>];
330
- declare const thumbProps: (keyof ThumbProps)[];
331
- declare const splitThumbProps: <Props extends ThumbProps>(props: Props) => [ThumbProps, Omit<Props, keyof ThumbProps>];
332
- declare const markerProps: "value"[];
333
- declare const splitMarkerProps: <Props extends MarkerProps>(props: Props) => [MarkerProps, Omit<Props, "value">];
334
-
335
- export { type SliderApi as Api, type DraggingIndicatorProps, type ElementIds, type FocusChangeDetails, type SliderMachine as Machine, type MarkerProps, type SliderProps as Props, type SliderService as Service, type ThumbAlignment, type ThumbCollisionBehavior, type ThumbProps, type ValueChangeDetails, type ValueTextDetails, anatomy, connect, machine, markerProps, props, splitMarkerProps, splitProps, splitThumbProps, thumbProps };
1
+ export { anatomy } from './slider.anatomy.mjs';
2
+ export { connect } from './slider.connect.mjs';
3
+ export { machine } from './slider.machine.mjs';
4
+ export { markerProps, props, splitMarkerProps, splitProps, splitThumbProps, thumbProps } from './slider.props.mjs';
5
+ export { SliderApi as Api, DraggingIndicatorProps, ElementIds, FocusChangeDetails, SliderMachine as Machine, MarkerProps, SliderProps as Props, SliderService as Service, ThumbAlignment, ThumbCollisionBehavior, ThumbProps, ValueChangeDetails, ValueTextDetails } from './slider.types.mjs';
6
+ import '@zag-js/anatomy';
7
+ import '@zag-js/types';
8
+ import '@zag-js/core';
package/dist/index.d.ts CHANGED
@@ -1,335 +1,8 @@
1
- import * as _zag_js_anatomy from '@zag-js/anatomy';
2
- import { PropTypes, RequiredBy, DirectionProperty, CommonProperties, NormalizeProps } from '@zag-js/types';
3
- import * as _zag_js_core from '@zag-js/core';
4
- import { Machine, EventObject, Service } from '@zag-js/core';
5
-
6
- declare const anatomy: _zag_js_anatomy.AnatomyInstance<"root" | "label" | "thumb" | "valueText" | "track" | "range" | "control" | "markerGroup" | "marker" | "draggingIndicator">;
7
-
8
- type ThumbCollisionBehavior = "none" | "push" | "swap";
9
- type ThumbAlignment = "contain" | "center";
10
- interface ValueChangeDetails {
11
- value: number[];
12
- }
13
- interface FocusChangeDetails {
14
- focusedIndex: number;
15
- value: number[];
16
- }
17
- interface ValueTextDetails {
18
- value: number;
19
- index: number;
20
- }
21
- type ElementIds = Partial<{
22
- root: string;
23
- thumb: (index: number) => string;
24
- hiddenInput: (index: number) => string;
25
- control: string;
26
- track: string;
27
- range: string;
28
- label: string;
29
- valueText: string;
30
- marker: (index: number) => string;
31
- }>;
32
- interface SliderProps extends DirectionProperty, CommonProperties {
33
- /**
34
- * The ids of the elements in the slider. Useful for composition.
35
- */
36
- ids?: ElementIds | undefined;
37
- /**
38
- * The aria-label of each slider thumb. Useful for providing an accessible name to the slider
39
- */
40
- "aria-label"?: string[] | undefined;
41
- /**
42
- * The `id` of the elements that labels each slider thumb. Useful for providing an accessible name to the slider
43
- */
44
- "aria-labelledby"?: string[] | undefined;
45
- /**
46
- * The name associated with each slider thumb (when used in a form)
47
- */
48
- name?: string | undefined;
49
- /**
50
- * The associate form of the underlying input element.
51
- */
52
- form?: string | undefined;
53
- /**
54
- * The controlled value of the slider
55
- */
56
- value?: number[] | undefined;
57
- /**
58
- * The initial value of the slider when rendered.
59
- * Use when you don't need to control the value of the slider.
60
- */
61
- defaultValue?: number[] | undefined;
62
- /**
63
- * Whether the slider is disabled
64
- */
65
- disabled?: boolean | undefined;
66
- /**
67
- * Whether the slider is read-only
68
- */
69
- readOnly?: boolean | undefined;
70
- /**
71
- * Whether the slider is invalid
72
- */
73
- invalid?: boolean | undefined;
74
- /**
75
- * Function invoked when the value of the slider changes
76
- */
77
- onValueChange?: ((details: ValueChangeDetails) => void) | undefined;
78
- /**
79
- * Function invoked when the slider value change is done
80
- */
81
- onValueChangeEnd?: ((details: ValueChangeDetails) => void) | undefined;
82
- /**
83
- * Function invoked when the slider's focused index changes
84
- */
85
- onFocusChange?: ((details: FocusChangeDetails) => void) | undefined;
86
- /**
87
- * Function that returns a human readable value for the slider thumb
88
- */
89
- getAriaValueText?: ((details: ValueTextDetails) => string) | undefined;
90
- /**
91
- * The minimum value of the slider
92
- * @default 0
93
- */
94
- min?: number | undefined;
95
- /**
96
- * The maximum value of the slider
97
- * @default 100
98
- */
99
- max?: number | undefined;
100
- /**
101
- * The step value of the slider
102
- * @default 1
103
- */
104
- step?: number | undefined;
105
- /**
106
- * The minimum permitted steps between multiple thumbs.
107
- *
108
- * `minStepsBetweenThumbs` * `step` should reflect the gap between the thumbs.
109
- *
110
- * - `step: 1` and `minStepsBetweenThumbs: 10` => gap is `10`
111
- * - `step: 10` and `minStepsBetweenThumbs: 2` => gap is `20`
112
- *
113
- * @default 0
114
- */
115
- minStepsBetweenThumbs?: number | undefined;
116
- /**
117
- * The orientation of the slider
118
- * @default "horizontal"
119
- */
120
- orientation?: "vertical" | "horizontal" | undefined;
121
- /**
122
- * The origin of the slider range. The track is filled from the origin
123
- * to the thumb for single values.
124
- * - "start": Useful when the value represents an absolute value
125
- * - "center": Useful when the value represents an offset (relative)
126
- * - "end": Useful when the value represents an offset from the end
127
- *
128
- * @default "start"
129
- */
130
- origin?: "start" | "center" | "end" | undefined;
131
- /**
132
- * The alignment of the slider thumb relative to the track
133
- * - `center`: the thumb will extend beyond the bounds of the slider track.
134
- * - `contain`: the thumb will be contained within the bounds of the track.
135
- *
136
- * @default "contain"
137
- */
138
- thumbAlignment?: "contain" | "center" | undefined;
139
- /**
140
- * The slider thumbs dimensions
141
- */
142
- thumbSize?: {
143
- width: number;
144
- height: number;
145
- } | undefined;
146
- /**
147
- * Controls how thumbs behave when they collide during pointer interactions.
148
- * - `none` (default): Thumbs cannot move past each other; excess movement is ignored.
149
- * - `push`: Thumbs push each other without restoring their previous positions when dragged back.
150
- * - `swap`: Thumbs swap places when dragged past each other.
151
- *
152
- * @default "none"
153
- */
154
- thumbCollisionBehavior?: "none" | "push" | "swap" | undefined;
155
- }
156
- type PropsWithDefault = "dir" | "min" | "max" | "step" | "orientation" | "defaultValue" | "origin" | "thumbAlignment" | "minStepsBetweenThumbs" | "thumbCollisionBehavior";
157
- type Computed = Readonly<{
158
- /**
159
- * @computed
160
- * Whether the slider thumb has been measured
161
- */
162
- hasMeasuredThumbSize: boolean;
163
- /**
164
- * @computed
165
- * Whether the slider is interactive
166
- */
167
- isInteractive: boolean;
168
- /**
169
- * @computed
170
- * Whether the slider is vertical
171
- */
172
- isVertical: boolean;
173
- /**
174
- * @computed
175
- * Whether the slider is horizontal
176
- */
177
- isHorizontal: boolean;
178
- /**
179
- * @computed
180
- * Whether the slider is in RTL mode
181
- */
182
- isRtl: boolean;
183
- /**
184
- * @computed
185
- * The percentage of the slider value relative to the slider min/max
186
- */
187
- valuePercent: number[];
188
- /**
189
- * @computed
190
- * Whether the slider is disabled
191
- */
192
- isDisabled: boolean;
193
- }>;
194
- interface Context {
195
- /**
196
- * The active index of the range slider. This represents
197
- * the currently dragged/focused thumb.
198
- */
199
- focusedIndex: number;
200
- /**
201
- * The value of the range slider
202
- */
203
- value: number[];
204
- /**
205
- * The size of the slider thumbs
206
- */
207
- thumbSize: Size | null;
208
- }
209
- interface SliderSchema {
210
- state: "idle" | "dragging" | "focus";
211
- props: RequiredBy<SliderProps, PropsWithDefault>;
212
- context: Context;
213
- refs: {
214
- /**
215
- * The offset from the thumb center when pointer down occurs.
216
- * Used to maintain constant offset during drag.
217
- */
218
- thumbDragOffset: {
219
- x: number;
220
- y: number;
221
- } | null;
222
- /**
223
- * The values when a thumb drag starts.
224
- * Used for swap collision behavior to determine swap direction.
225
- */
226
- thumbDragStartValue: number[] | null;
227
- };
228
- computed: Computed;
229
- event: EventObject;
230
- action: string;
231
- effect: string;
232
- guard: string;
233
- }
234
- type SliderService = Service<SliderSchema>;
235
- type SliderMachine = Machine<SliderSchema>;
236
- interface Size {
237
- width: number;
238
- height: number;
239
- }
240
- interface MarkerProps {
241
- value: number;
242
- }
243
- interface ThumbProps {
244
- index: number;
245
- name?: string | undefined;
246
- }
247
- interface DraggingIndicatorProps {
248
- index: number;
249
- }
250
- interface SliderApi<T extends PropTypes = PropTypes> {
251
- /**
252
- * The value of the slider.
253
- */
254
- value: number[];
255
- /**
256
- * Whether the slider is being dragged.
257
- */
258
- dragging: boolean;
259
- /**
260
- * Whether the slider is focused.
261
- */
262
- focused: boolean;
263
- /**
264
- * Function to set the value of the slider.
265
- */
266
- setValue: (value: number[]) => void;
267
- /**
268
- * Returns the value of the thumb at the given index.
269
- */
270
- getThumbValue: (index: number) => number;
271
- /**
272
- * Sets the value of the thumb at the given index.
273
- */
274
- setThumbValue: (index: number, value: number) => void;
275
- /**
276
- * Returns the percent of the thumb at the given index.
277
- */
278
- getValuePercent: (value: number) => number;
279
- /**
280
- * Returns the value of the thumb at the given percent.
281
- */
282
- getPercentValue: (percent: number) => number;
283
- /**
284
- * Returns the percent of the thumb at the given index.
285
- */
286
- getThumbPercent: (index: number) => number;
287
- /**
288
- * Sets the percent of the thumb at the given index.
289
- */
290
- setThumbPercent: (index: number, percent: number) => void;
291
- /**
292
- * Returns the min value of the thumb at the given index.
293
- */
294
- getThumbMin: (index: number) => number;
295
- /**
296
- * Returns the max value of the thumb at the given index.
297
- */
298
- getThumbMax: (index: number) => number;
299
- /**
300
- * Function to increment the value of the slider at the given index.
301
- */
302
- increment: (index: number) => void;
303
- /**
304
- * Function to decrement the value of the slider at the given index.
305
- */
306
- decrement: (index: number) => void;
307
- /**
308
- * Function to focus the slider. This focuses the first thumb.
309
- */
310
- focus: VoidFunction;
311
- getLabelProps: () => T["label"];
312
- getRootProps: () => T["element"];
313
- getValueTextProps: () => T["element"];
314
- getTrackProps: () => T["element"];
315
- getThumbProps: (props: ThumbProps) => T["element"];
316
- getHiddenInputProps: (props: ThumbProps) => T["input"];
317
- getRangeProps: () => T["element"];
318
- getControlProps: () => T["element"];
319
- getMarkerGroupProps: () => T["element"];
320
- getMarkerProps: (props: MarkerProps) => T["element"];
321
- getDraggingIndicatorProps: (props: DraggingIndicatorProps) => T["element"];
322
- }
323
-
324
- declare function connect<T extends PropTypes>(service: SliderService, normalize: NormalizeProps<T>): SliderApi<T>;
325
-
326
- declare const machine: _zag_js_core.Machine<SliderSchema>;
327
-
328
- declare const props: (keyof SliderProps)[];
329
- declare const splitProps: <Props extends Partial<SliderProps>>(props: Props) => [Partial<SliderProps>, Omit<Props, keyof SliderProps>];
330
- declare const thumbProps: (keyof ThumbProps)[];
331
- declare const splitThumbProps: <Props extends ThumbProps>(props: Props) => [ThumbProps, Omit<Props, keyof ThumbProps>];
332
- declare const markerProps: "value"[];
333
- declare const splitMarkerProps: <Props extends MarkerProps>(props: Props) => [MarkerProps, Omit<Props, "value">];
334
-
335
- export { type SliderApi as Api, type DraggingIndicatorProps, type ElementIds, type FocusChangeDetails, type SliderMachine as Machine, type MarkerProps, type SliderProps as Props, type SliderService as Service, type ThumbAlignment, type ThumbCollisionBehavior, type ThumbProps, type ValueChangeDetails, type ValueTextDetails, anatomy, connect, machine, markerProps, props, splitMarkerProps, splitProps, splitThumbProps, thumbProps };
1
+ export { anatomy } from './slider.anatomy.js';
2
+ export { connect } from './slider.connect.js';
3
+ export { machine } from './slider.machine.js';
4
+ export { markerProps, props, splitMarkerProps, splitProps, splitThumbProps, thumbProps } from './slider.props.js';
5
+ export { SliderApi as Api, DraggingIndicatorProps, ElementIds, FocusChangeDetails, SliderMachine as Machine, MarkerProps, SliderProps as Props, SliderService as Service, ThumbAlignment, ThumbCollisionBehavior, ThumbProps, ValueChangeDetails, ValueTextDetails } from './slider.types.js';
6
+ import '@zag-js/anatomy';
7
+ import '@zag-js/types';
8
+ import '@zag-js/core';