@foundrykit/primitives 2.0.7 → 2.0.9

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 (61) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/{chunk-D4X2ZO5T.js → chunk-2SBGU5XA.js} +2 -2
  3. package/dist/{chunk-3MEIDBWZ.js → chunk-3QUMCM5K.js} +2 -2
  4. package/dist/{chunk-5OSYIETI.js → chunk-FRIOQFPE.js} +1 -1
  5. package/dist/{chunk-EDKSYP4L.js → chunk-G2YBCHWR.js} +1 -1
  6. package/dist/{chunk-DKBMAFIR.js → chunk-GKCBSG2W.js} +2 -0
  7. package/dist/chunk-HS46TIMU.js +75 -0
  8. package/dist/{chunk-R3IEOV2B.js → chunk-P5KEJOBH.js} +1 -1
  9. package/dist/{chunk-FIRYLO5W.js → chunk-SDYKJVXX.js} +2 -2
  10. package/dist/{chunk-2PXD7LAX.js → chunk-U7JIOR7A.js} +3 -3
  11. package/dist/{chunk-VA4MKQN7.js → chunk-W4XY3SNY.js} +1 -1
  12. package/dist/chunk-XCPGTXEJ.js +23 -0
  13. package/dist/components/alert-dialog/index.cjs +1 -1
  14. package/dist/components/alert-dialog/index.js +1 -1
  15. package/dist/components/card/index.cjs +63 -61
  16. package/dist/components/card/index.d.cts +8 -7
  17. package/dist/components/card/index.d.ts +8 -7
  18. package/dist/components/card/index.js +1 -1
  19. package/dist/components/context-menu/index.cjs +2 -2
  20. package/dist/components/context-menu/index.js +1 -1
  21. package/dist/components/dropdown/index.cjs +2 -2
  22. package/dist/components/dropdown/index.js +1 -1
  23. package/dist/components/hover-card/index.cjs +1 -1
  24. package/dist/components/hover-card/index.js +1 -1
  25. package/dist/components/input/index.cjs +16 -28
  26. package/dist/components/input/index.d.cts +6 -5
  27. package/dist/components/input/index.d.ts +6 -5
  28. package/dist/components/input/index.js +1 -1
  29. package/dist/components/menubar/index.cjs +2 -2
  30. package/dist/components/menubar/index.js +1 -1
  31. package/dist/components/navigation-menu/index.cjs +3 -3
  32. package/dist/components/navigation-menu/index.js +1 -1
  33. package/dist/components/popover/index.cjs +1 -1
  34. package/dist/components/popover/index.js +1 -1
  35. package/dist/components/select/index.cjs +1 -1
  36. package/dist/components/select/index.js +1 -1
  37. package/dist/components/slider/index.cjs +2 -0
  38. package/dist/components/slider/index.d.cts +3 -2
  39. package/dist/components/slider/index.d.ts +3 -2
  40. package/dist/components/slider/index.js +1 -1
  41. package/dist/index.cjs +107 -95
  42. package/dist/index.js +23 -23
  43. package/package.json +3 -3
  44. package/src/components/alert-dialog/index.tsx +1 -1
  45. package/src/components/card/index.tsx +59 -67
  46. package/src/components/context-menu/index.tsx +2 -2
  47. package/src/components/dialog/index.tsx +1 -1
  48. package/src/components/dropdown/index.tsx +2 -2
  49. package/src/components/hover-card/index.tsx +1 -1
  50. package/src/components/input/index.tsx +20 -21
  51. package/src/components/menubar/index.tsx +2 -2
  52. package/src/components/navigation-menu/index.tsx +3 -3
  53. package/src/components/popover/index.tsx +1 -1
  54. package/src/components/select/index.tsx +1 -1
  55. package/src/components/sheet/index.tsx +4 -4
  56. package/src/components/slider/index.tsx +4 -1
  57. package/src/components/tooltip/index.tsx +1 -1
  58. package/.turbo/turbo-build.log +0 -235
  59. package/.turbo/turbo-type-check.log +0 -4
  60. package/dist/chunk-DFGLEAZI.js +0 -63
  61. package/dist/chunk-RDQF3IQE.js +0 -25
@@ -1,9 +1,7 @@
1
1
  "use strict";
2
- var __create = Object.create;
3
2
  var __defProp = Object.defineProperty;
4
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
6
  var __export = (target, all) => {
9
7
  for (var name in all)
@@ -17,14 +15,6 @@ var __copyProps = (to, from, except, desc) => {
17
15
  }
18
16
  return to;
19
17
  };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
- mod
27
- ));
28
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
19
 
30
20
  // src/components/input/index.tsx
@@ -34,25 +24,23 @@ __export(input_exports, {
34
24
  });
35
25
  module.exports = __toCommonJS(input_exports);
36
26
  var import_utils = require("@foundrykit/utils");
37
- var React = __toESM(require("react"), 1);
38
27
  var import_jsx_runtime = require("react/jsx-runtime");
39
- var Input = React.forwardRef(
40
- ({ className, type, ...props }, ref) => {
41
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
42
- "input",
43
- {
44
- type,
45
- className: (0, import_utils.cn)(
46
- "border-input file:text-foreground placeholder:text-muted-foreground focus-visible:ring-ring flex h-9 w-full rounded-md border bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:ring-1 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50",
47
- className
48
- ),
49
- ref,
50
- ...props
51
- }
52
- );
53
- }
54
- );
55
- Input.displayName = "Input";
28
+ function Input({ className, type, ...props }) {
29
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
30
+ "input",
31
+ {
32
+ type,
33
+ "data-slot": "input",
34
+ className: (0, import_utils.cn)(
35
+ "border-input file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
36
+ "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
37
+ "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
38
+ className
39
+ ),
40
+ ...props
41
+ }
42
+ );
43
+ }
56
44
  // Annotate the CommonJS export names for ESM import in node:
57
45
  0 && (module.exports = {
58
46
  Input
@@ -1,16 +1,17 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
1
2
  import * as React from 'react';
2
3
 
3
- type InputProps = React.InputHTMLAttributes<HTMLInputElement>;
4
+ type InputProps = React.ComponentProps<'input'>;
4
5
  /**
5
- * Styled text input wrapping the native `<input>`; forwards its ref and accepts
6
- * all standard input attributes (including `type`). Includes focus-ring and
7
- * disabled styling.
6
+ * Styled text input wrapping the native `<input>`; accepts all standard input
7
+ * attributes (including `type` and `ref`). Includes focus-ring, disabled and
8
+ * `aria-invalid` styling.
8
9
  *
9
10
  * @example
10
11
  * ```tsx
11
12
  * <Input type="email" placeholder="you@example.com" />
12
13
  * ```
13
14
  */
14
- declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
15
+ declare function Input({ className, type, ...props }: InputProps): react_jsx_runtime.JSX.Element;
15
16
 
16
17
  export { Input, type InputProps };
@@ -1,16 +1,17 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
1
2
  import * as React from 'react';
2
3
 
3
- type InputProps = React.InputHTMLAttributes<HTMLInputElement>;
4
+ type InputProps = React.ComponentProps<'input'>;
4
5
  /**
5
- * Styled text input wrapping the native `<input>`; forwards its ref and accepts
6
- * all standard input attributes (including `type`). Includes focus-ring and
7
- * disabled styling.
6
+ * Styled text input wrapping the native `<input>`; accepts all standard input
7
+ * attributes (including `type` and `ref`). Includes focus-ring, disabled and
8
+ * `aria-invalid` styling.
8
9
  *
9
10
  * @example
10
11
  * ```tsx
11
12
  * <Input type="email" placeholder="you@example.com" />
12
13
  * ```
13
14
  */
14
- declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
15
+ declare function Input({ className, type, ...props }: InputProps): react_jsx_runtime.JSX.Element;
15
16
 
16
17
  export { Input, type InputProps };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Input
3
- } from "../../chunk-RDQF3IQE.js";
3
+ } from "../../chunk-XCPGTXEJ.js";
4
4
  export {
5
5
  Input
6
6
  };
@@ -120,7 +120,7 @@ function MenubarContent({
120
120
  alignOffset,
121
121
  sideOffset,
122
122
  className: (0, import_utils.cn)(
123
- "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[12rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-md",
123
+ "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 motion-safe:data-[state=closed]:zoom-out-95 motion-safe:data-[state=open]:zoom-in-95 motion-safe:data-[side=bottom]:slide-in-from-top-2 motion-safe:data-[side=left]:slide-in-from-right-2 motion-safe:data-[side=right]:slide-in-from-left-2 motion-safe:data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[12rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-md",
124
124
  className
125
125
  ),
126
126
  ...props
@@ -275,7 +275,7 @@ function MenubarSubContent({
275
275
  {
276
276
  "data-slot": "menubar-sub-content",
277
277
  className: (0, import_utils.cn)(
278
- "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",
278
+ "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 motion-safe:data-[state=closed]:zoom-out-95 motion-safe:data-[state=open]:zoom-in-95 motion-safe:data-[side=bottom]:slide-in-from-top-2 motion-safe:data-[side=left]:slide-in-from-right-2 motion-safe:data-[side=right]:slide-in-from-left-2 motion-safe:data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg",
279
279
  className
280
280
  ),
281
281
  ...props
@@ -16,7 +16,7 @@ import {
16
16
  MenubarSubContent,
17
17
  MenubarSubTrigger,
18
18
  MenubarTrigger
19
- } from "../../chunk-FIRYLO5W.js";
19
+ } from "../../chunk-SDYKJVXX.js";
20
20
  export {
21
21
  Menubar,
22
22
  MenubarCheckboxItem,
@@ -136,8 +136,8 @@ function NavigationMenuContent({
136
136
  {
137
137
  "data-slot": "navigation-menu-content",
138
138
  className: (0, import_utils.cn)(
139
- "data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 top-0 left-0 w-full p-2 pr-2.5 md:absolute md:w-auto",
140
- "group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:fade-in-0 group-data-[viewport=false]/navigation-menu:data-[state=closed]:fade-out-0 group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-md group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:duration-200 **:data-[slot=navigation-menu-link]:focus:ring-0 **:data-[slot=navigation-menu-link]:focus:outline-none",
139
+ "data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out motion-safe:data-[motion=from-end]:slide-in-from-right-52 motion-safe:data-[motion=from-start]:slide-in-from-left-52 motion-safe:data-[motion=to-end]:slide-out-to-right-52 motion-safe:data-[motion=to-start]:slide-out-to-left-52 top-0 left-0 w-full p-2 pr-2.5 md:absolute md:w-auto",
140
+ "group-data-[viewport=false]/navigation-menu:bg-popover group-data-[viewport=false]/navigation-menu:text-popover-foreground group-data-[viewport=false]/navigation-menu:data-[state=open]:animate-in group-data-[viewport=false]/navigation-menu:data-[state=closed]:animate-out motion-safe:group-data-[viewport=false]/navigation-menu:data-[state=closed]:zoom-out-95 motion-safe:group-data-[viewport=false]/navigation-menu:data-[state=open]:zoom-in-95 group-data-[viewport=false]/navigation-menu:data-[state=open]:fade-in-0 group-data-[viewport=false]/navigation-menu:data-[state=closed]:fade-out-0 group-data-[viewport=false]/navigation-menu:top-full group-data-[viewport=false]/navigation-menu:mt-1.5 group-data-[viewport=false]/navigation-menu:overflow-hidden group-data-[viewport=false]/navigation-menu:rounded-md group-data-[viewport=false]/navigation-menu:border group-data-[viewport=false]/navigation-menu:shadow group-data-[viewport=false]/navigation-menu:duration-200",
141
141
  className
142
142
  ),
143
143
  ...props
@@ -159,7 +159,7 @@ function NavigationMenuViewport({
159
159
  {
160
160
  "data-slot": "navigation-menu-viewport",
161
161
  className: (0, import_utils.cn)(
162
- "origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border shadow md:w-[var(--radix-navigation-menu-viewport-width)]",
162
+ "origin-top-center bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out motion-safe:data-[state=closed]:zoom-out-95 motion-safe:data-[state=open]:zoom-in-90 relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border shadow md:w-[var(--radix-navigation-menu-viewport-width)]",
163
163
  className
164
164
  ),
165
165
  ...props
@@ -9,7 +9,7 @@ import {
9
9
  NavigationMenuTrigger,
10
10
  NavigationMenuViewport,
11
11
  navigationMenuTriggerStyle
12
- } from "../../chunk-2PXD7LAX.js";
12
+ } from "../../chunk-U7JIOR7A.js";
13
13
  export {
14
14
  NavigationMenu,
15
15
  NavigationMenuContent,
@@ -63,7 +63,7 @@ function PopoverContent({
63
63
  align,
64
64
  sideOffset,
65
65
  className: (0, import_utils.cn)(
66
- "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",
66
+ "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 motion-safe:data-[state=closed]:zoom-out-95 motion-safe:data-[state=open]:zoom-in-95 motion-safe:data-[side=bottom]:slide-in-from-top-2 motion-safe:data-[side=left]:slide-in-from-right-2 motion-safe:data-[side=right]:slide-in-from-left-2 motion-safe:data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",
67
67
  className
68
68
  ),
69
69
  ...props
@@ -4,7 +4,7 @@ import {
4
4
  PopoverAnchor,
5
5
  PopoverContent,
6
6
  PopoverTrigger
7
- } from "../../chunk-EDKSYP4L.js";
7
+ } from "../../chunk-G2YBCHWR.js";
8
8
  export {
9
9
  Popover,
10
10
  PopoverAnchor,
@@ -96,7 +96,7 @@ function SelectContent({
96
96
  {
97
97
  "data-slot": "select-content",
98
98
  className: (0, import_utils.cn)(
99
- "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md",
99
+ "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 motion-safe:data-[state=closed]:zoom-out-95 motion-safe:data-[state=open]:zoom-in-95 motion-safe:data-[side=bottom]:slide-in-from-top-2 motion-safe:data-[side=left]:slide-in-from-right-2 motion-safe:data-[side=right]:slide-in-from-left-2 motion-safe:data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md",
100
100
  position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
101
101
  className
102
102
  ),
@@ -10,7 +10,7 @@ import {
10
10
  SelectSeparator,
11
11
  SelectTrigger,
12
12
  SelectValue
13
- } from "../../chunk-5OSYIETI.js";
13
+ } from "../../chunk-FRIOQFPE.js";
14
14
  export {
15
15
  Select,
16
16
  SelectContent,
@@ -44,6 +44,7 @@ function Slider({
44
44
  value,
45
45
  min = 0,
46
46
  max = 100,
47
+ "aria-label": ariaLabel,
47
48
  ...props
48
49
  }) {
49
50
  const _values = React.useMemo(
@@ -86,6 +87,7 @@ function Slider({
86
87
  SliderPrimitive.Thumb,
87
88
  {
88
89
  "data-slot": "slider-thumb",
90
+ "aria-label": ariaLabel,
89
91
  className: "border-primary bg-background ring-ring/50 block size-4 shrink-0 rounded-full border shadow-sm transition-[color,box-shadow] hover:ring-4 focus-visible:ring-4 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50"
90
92
  },
91
93
  index
@@ -5,7 +5,8 @@ import * as React from 'react';
5
5
  /**
6
6
  * Slider built on Radix `Slider.Root`. Supports single or multiple thumbs by
7
7
  * passing an array to `value`/`defaultValue`. Works horizontally or vertically
8
- * via the `orientation` prop.
8
+ * via the `orientation` prop. `aria-label` names each thumb (the focusable
9
+ * `role="slider"` element), not the root.
9
10
  *
10
11
  * @example
11
12
  * ```tsx
@@ -13,6 +14,6 @@ import * as React from 'react';
13
14
  * <Slider defaultValue={[25, 75]} max={100} step={1} />
14
15
  * ```
15
16
  */
16
- declare function Slider({ className, defaultValue, value, min, max, ...props }: React.ComponentProps<typeof SliderPrimitive.Root>): react_jsx_runtime.JSX.Element;
17
+ declare function Slider({ className, defaultValue, value, min, max, 'aria-label': ariaLabel, ...props }: React.ComponentProps<typeof SliderPrimitive.Root>): react_jsx_runtime.JSX.Element;
17
18
 
18
19
  export { Slider };
@@ -5,7 +5,8 @@ import * as React from 'react';
5
5
  /**
6
6
  * Slider built on Radix `Slider.Root`. Supports single or multiple thumbs by
7
7
  * passing an array to `value`/`defaultValue`. Works horizontally or vertically
8
- * via the `orientation` prop.
8
+ * via the `orientation` prop. `aria-label` names each thumb (the focusable
9
+ * `role="slider"` element), not the root.
9
10
  *
10
11
  * @example
11
12
  * ```tsx
@@ -13,6 +14,6 @@ import * as React from 'react';
13
14
  * <Slider defaultValue={[25, 75]} max={100} step={1} />
14
15
  * ```
15
16
  */
16
- declare function Slider({ className, defaultValue, value, min, max, ...props }: React.ComponentProps<typeof SliderPrimitive.Root>): react_jsx_runtime.JSX.Element;
17
+ declare function Slider({ className, defaultValue, value, min, max, 'aria-label': ariaLabel, ...props }: React.ComponentProps<typeof SliderPrimitive.Root>): react_jsx_runtime.JSX.Element;
17
18
 
18
19
  export { Slider };
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  Slider
4
- } from "../../chunk-DKBMAFIR.js";
4
+ } from "../../chunk-GKCBSG2W.js";
5
5
  export {
6
6
  Slider
7
7
  };