@bigbinary/neeto-atoms 1.0.69 → 1.0.71

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 (141) hide show
  1. package/dist/{Combobox-_-p2WeU8.js → Combobox-DIGHGewS.js} +2 -2
  2. package/dist/{Combobox-_-p2WeU8.js.map → Combobox-DIGHGewS.js.map} +1 -1
  3. package/dist/{DatePicker-DVXL9Qia.js → DatePicker-1OZmK2ki.js} +135 -121
  4. package/dist/{DatePicker-DVXL9Qia.js.map → DatePicker-1OZmK2ki.js.map} +1 -1
  5. package/dist/{Select-DKN7RRzu.js → Select-DCS1MkaW.js} +2 -2
  6. package/dist/{Select-DKN7RRzu.js.map → Select-DCS1MkaW.js.map} +1 -1
  7. package/dist/cjs/{Combobox-BX_pe3Hm.js → Combobox-D84WURes.js} +2 -2
  8. package/dist/cjs/{Combobox-BX_pe3Hm.js.map → Combobox-D84WURes.js.map} +1 -1
  9. package/dist/cjs/{DatePicker-D_B6oyc9.js → DatePicker-Ccylp0hF.js} +135 -121
  10. package/dist/cjs/{DatePicker-D_B6oyc9.js.map → DatePicker-Ccylp0hF.js.map} +1 -1
  11. package/dist/cjs/{Select-CxaYzbvK.js → Select-D9m4zSKq.js} +2 -2
  12. package/dist/cjs/{Select-CxaYzbvK.js.map → Select-D9m4zSKq.js.map} +1 -1
  13. package/dist/cjs/components/Checkbox.js +1 -1
  14. package/dist/cjs/components/DatePicker.js +2 -2
  15. package/dist/cjs/components/Input.js +4 -4
  16. package/dist/cjs/components/Label.js +1 -1
  17. package/dist/cjs/components/MultiEmailInput.js +1 -1
  18. package/dist/cjs/components/RadioGroup.js +1 -1
  19. package/dist/cjs/components/Select.js +6 -6
  20. package/dist/cjs/components/Slider.js +1 -1
  21. package/dist/cjs/components/Switch.js +1 -1
  22. package/dist/cjs/components/Textarea.js +2 -2
  23. package/dist/cjs/components/TimePicker.js +1 -1
  24. package/dist/cjs/components/TreeSelect.js +1 -1
  25. package/dist/cjs/components/index.js +7 -7
  26. package/dist/cjs/formik/Checkbox.js +1 -1
  27. package/dist/cjs/formik/Input.js +4 -4
  28. package/dist/cjs/formik/MultiEmailInput.js +1 -1
  29. package/dist/cjs/formik/RadioGroup.js +1 -1
  30. package/dist/cjs/formik/Select.js +6 -6
  31. package/dist/cjs/formik/Slider.js +1 -1
  32. package/dist/cjs/formik/Switch.js +1 -1
  33. package/dist/cjs/formik/Textarea.js +2 -2
  34. package/dist/cjs/formik/TreeSelect.js +1 -1
  35. package/dist/cjs/formik/index.js +6 -6
  36. package/dist/cjs/index.js +7 -7
  37. package/dist/cjs/{input-BlyvDsZ5.js → input-BVxqXG2C.js} +28 -5
  38. package/dist/cjs/input-BVxqXG2C.js.map +1 -0
  39. package/dist/cjs/{input-group-8TZFHzVl.js → input-group-BdQoKm0i.js} +50 -35
  40. package/dist/cjs/{input-group-8TZFHzVl.js.map → input-group-BdQoKm0i.js.map} +1 -1
  41. package/dist/cjs/{label-DJ7KkKYy.js → label-BdcX4_ud.js} +15 -18
  42. package/dist/cjs/label-BdcX4_ud.js.map +1 -0
  43. package/dist/cjs/primitives/Checkbox.js +26 -33
  44. package/dist/cjs/primitives/Checkbox.js.map +1 -1
  45. package/dist/cjs/primitives/Combobox.js +4 -4
  46. package/dist/cjs/primitives/Command.js +3 -3
  47. package/dist/cjs/primitives/Field.js +1 -1
  48. package/dist/cjs/primitives/Input.js +2 -1
  49. package/dist/cjs/primitives/Input.js.map +1 -1
  50. package/dist/cjs/primitives/InputGroup.js +28 -6
  51. package/dist/cjs/primitives/InputGroup.js.map +1 -1
  52. package/dist/cjs/primitives/Label.js +24 -3
  53. package/dist/cjs/primitives/Label.js.map +1 -1
  54. package/dist/cjs/primitives/RadioGroup.js +52 -34
  55. package/dist/cjs/primitives/RadioGroup.js.map +1 -1
  56. package/dist/cjs/primitives/Sidebar.js +1 -1
  57. package/dist/cjs/primitives/Slider.js +6 -10
  58. package/dist/cjs/primitives/Slider.js.map +1 -1
  59. package/dist/cjs/primitives/Switch.js +5 -7
  60. package/dist/cjs/primitives/Switch.js.map +1 -1
  61. package/dist/cjs/primitives/Textarea.js +24 -2
  62. package/dist/cjs/primitives/Textarea.js.map +1 -1
  63. package/dist/cjs/primitives/index.js +5 -5
  64. package/dist/cjs/textarea-Cq6pBK7q.js +42 -0
  65. package/dist/cjs/textarea-Cq6pBK7q.js.map +1 -0
  66. package/dist/components/Checkbox.js +1 -1
  67. package/dist/components/DatePicker.js +2 -2
  68. package/dist/components/Input.js +4 -4
  69. package/dist/components/Label.js +1 -1
  70. package/dist/components/MultiEmailInput.js +1 -1
  71. package/dist/components/RadioGroup.js +1 -1
  72. package/dist/components/Select.js +6 -6
  73. package/dist/components/Slider.js +1 -1
  74. package/dist/components/Switch.js +1 -1
  75. package/dist/components/Textarea.js +2 -2
  76. package/dist/components/TimePicker.js +1 -1
  77. package/dist/components/TreeSelect.js +1 -1
  78. package/dist/components/index.js +7 -7
  79. package/dist/formik/Checkbox.js +1 -1
  80. package/dist/formik/Input.js +4 -4
  81. package/dist/formik/MultiEmailInput.js +1 -1
  82. package/dist/formik/RadioGroup.js +1 -1
  83. package/dist/formik/Select.js +6 -6
  84. package/dist/formik/Slider.js +1 -1
  85. package/dist/formik/Switch.js +1 -1
  86. package/dist/formik/Textarea.js +2 -2
  87. package/dist/formik/TreeSelect.js +1 -1
  88. package/dist/formik/index.js +6 -6
  89. package/dist/index.js +7 -7
  90. package/dist/{input-1J5oQa1u.js → input-CNbQc_tG.js} +8 -5
  91. package/dist/input-CNbQc_tG.js.map +1 -0
  92. package/dist/{input-group-BKkj65Uq.js → input-group-DDwp2ozP.js} +31 -36
  93. package/dist/{input-group-BKkj65Uq.js.map → input-group-DDwp2ozP.js.map} +1 -1
  94. package/dist/{label-BgLSVt4u.js → label-YEsizr2c.js} +15 -18
  95. package/dist/label-YEsizr2c.js.map +1 -0
  96. package/dist/primitives/Checkbox.d.ts +2 -3
  97. package/dist/primitives/Checkbox.js +26 -33
  98. package/dist/primitives/Checkbox.js.map +1 -1
  99. package/dist/primitives/Combobox.js +4 -4
  100. package/dist/primitives/Command.js +3 -3
  101. package/dist/primitives/Field.js +1 -1
  102. package/dist/primitives/Input.js +2 -1
  103. package/dist/primitives/Input.js.map +1 -1
  104. package/dist/primitives/InputGroup.d.ts +4 -4
  105. package/dist/primitives/InputGroup.js +8 -6
  106. package/dist/primitives/InputGroup.js.map +1 -1
  107. package/dist/primitives/Label.d.ts +3 -3
  108. package/dist/primitives/Label.js +4 -3
  109. package/dist/primitives/Label.js.map +1 -1
  110. package/dist/primitives/RadioGroup.d.ts +2 -3
  111. package/dist/primitives/RadioGroup.js +42 -24
  112. package/dist/primitives/RadioGroup.js.map +1 -1
  113. package/dist/primitives/Sidebar.js +1 -1
  114. package/dist/primitives/Slider.d.ts +2 -3
  115. package/dist/primitives/Slider.js +6 -10
  116. package/dist/primitives/Slider.js.map +1 -1
  117. package/dist/primitives/Switch.d.ts +2 -2
  118. package/dist/primitives/Switch.js +5 -7
  119. package/dist/primitives/Switch.js.map +1 -1
  120. package/dist/primitives/Textarea.d.ts +2 -3
  121. package/dist/primitives/Textarea.js +4 -2
  122. package/dist/primitives/Textarea.js.map +1 -1
  123. package/dist/primitives/index.js +5 -5
  124. package/dist/shadcn/components/checkbox.d.ts +1 -1
  125. package/dist/shadcn/components/input-group.d.ts +2 -2
  126. package/dist/shadcn/components/input.d.ts +1 -1
  127. package/dist/shadcn/components/label.d.ts +1 -1
  128. package/dist/shadcn/components/radio-group.d.ts +2 -2
  129. package/dist/shadcn/components/slider.d.ts +1 -1
  130. package/dist/shadcn/components/textarea.d.ts +1 -1
  131. package/dist/textarea-BZIsQ5UD.js +20 -0
  132. package/dist/textarea-BZIsQ5UD.js.map +1 -0
  133. package/package.json +1 -1
  134. package/dist/cjs/input-BlyvDsZ5.js.map +0 -1
  135. package/dist/cjs/label-DJ7KkKYy.js.map +0 -1
  136. package/dist/cjs/textarea-Br-J3v7z.js +0 -21
  137. package/dist/cjs/textarea-Br-J3v7z.js.map +0 -1
  138. package/dist/input-1J5oQa1u.js.map +0 -1
  139. package/dist/label-BgLSVt4u.js.map +0 -1
  140. package/dist/textarea-B0vzA497.js +0 -19
  141. package/dist/textarea-B0vzA497.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.js","sources":["../../node_modules/@radix-ui/react-checkbox/dist/index.mjs","../../src/shadcn/components/checkbox.tsx","../../src/primitives/Checkbox.tsx"],"sourcesContent":["\"use client\";\n\n// src/checkbox.tsx\nimport * as React from \"react\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { usePrevious } from \"@radix-ui/react-use-previous\";\nimport { useSize } from \"@radix-ui/react-use-size\";\nimport { Presence } from \"@radix-ui/react-presence\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { Fragment, jsx, jsxs } from \"react/jsx-runtime\";\nvar CHECKBOX_NAME = \"Checkbox\";\nvar [createCheckboxContext, createCheckboxScope] = createContextScope(CHECKBOX_NAME);\nvar [CheckboxProviderImpl, useCheckboxContext] = createCheckboxContext(CHECKBOX_NAME);\nfunction CheckboxProvider(props) {\n const {\n __scopeCheckbox,\n checked: checkedProp,\n children,\n defaultChecked,\n disabled,\n form,\n name,\n onCheckedChange,\n required,\n value = \"on\",\n // @ts-expect-error\n internal_do_not_use_render\n } = props;\n const [checked, setChecked] = useControllableState({\n prop: checkedProp,\n defaultProp: defaultChecked ?? false,\n onChange: onCheckedChange,\n caller: CHECKBOX_NAME\n });\n const [control, setControl] = React.useState(null);\n const [bubbleInput, setBubbleInput] = React.useState(null);\n const hasConsumerStoppedPropagationRef = React.useRef(false);\n const isFormControl = control ? !!form || !!control.closest(\"form\") : (\n // We set this to true by default so that events bubble to forms without JS (SSR)\n true\n );\n const context = {\n checked,\n disabled,\n setChecked,\n control,\n setControl,\n name,\n form,\n value,\n hasConsumerStoppedPropagationRef,\n required,\n defaultChecked: isIndeterminate(defaultChecked) ? false : defaultChecked,\n isFormControl,\n bubbleInput,\n setBubbleInput\n };\n return /* @__PURE__ */ jsx(\n CheckboxProviderImpl,\n {\n scope: __scopeCheckbox,\n ...context,\n children: isFunction(internal_do_not_use_render) ? internal_do_not_use_render(context) : children\n }\n );\n}\nvar TRIGGER_NAME = \"CheckboxTrigger\";\nvar CheckboxTrigger = React.forwardRef(\n ({ __scopeCheckbox, onKeyDown, onClick, ...checkboxProps }, forwardedRef) => {\n const {\n control,\n value,\n disabled,\n checked,\n required,\n setControl,\n setChecked,\n hasConsumerStoppedPropagationRef,\n isFormControl,\n bubbleInput\n } = useCheckboxContext(TRIGGER_NAME, __scopeCheckbox);\n const composedRefs = useComposedRefs(forwardedRef, setControl);\n const initialCheckedStateRef = React.useRef(checked);\n React.useEffect(() => {\n const form = control?.form;\n if (form) {\n const reset = () => setChecked(initialCheckedStateRef.current);\n form.addEventListener(\"reset\", reset);\n return () => form.removeEventListener(\"reset\", reset);\n }\n }, [control, setChecked]);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n role: \"checkbox\",\n \"aria-checked\": isIndeterminate(checked) ? \"mixed\" : checked,\n \"aria-required\": required,\n \"data-state\": getState(checked),\n \"data-disabled\": disabled ? \"\" : void 0,\n disabled,\n value,\n ...checkboxProps,\n ref: composedRefs,\n onKeyDown: composeEventHandlers(onKeyDown, (event) => {\n if (event.key === \"Enter\") event.preventDefault();\n }),\n onClick: composeEventHandlers(onClick, (event) => {\n setChecked((prevChecked) => isIndeterminate(prevChecked) ? true : !prevChecked);\n if (bubbleInput && isFormControl) {\n hasConsumerStoppedPropagationRef.current = event.isPropagationStopped();\n if (!hasConsumerStoppedPropagationRef.current) event.stopPropagation();\n }\n })\n }\n );\n }\n);\nCheckboxTrigger.displayName = TRIGGER_NAME;\nvar Checkbox = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeCheckbox,\n name,\n checked,\n defaultChecked,\n required,\n disabled,\n value,\n onCheckedChange,\n form,\n ...checkboxProps\n } = props;\n return /* @__PURE__ */ jsx(\n CheckboxProvider,\n {\n __scopeCheckbox,\n checked,\n defaultChecked,\n disabled,\n required,\n onCheckedChange,\n name,\n form,\n value,\n internal_do_not_use_render: ({ isFormControl }) => /* @__PURE__ */ jsxs(Fragment, { children: [\n /* @__PURE__ */ jsx(\n CheckboxTrigger,\n {\n ...checkboxProps,\n ref: forwardedRef,\n __scopeCheckbox\n }\n ),\n isFormControl && /* @__PURE__ */ jsx(\n CheckboxBubbleInput,\n {\n __scopeCheckbox\n }\n )\n ] })\n }\n );\n }\n);\nCheckbox.displayName = CHECKBOX_NAME;\nvar INDICATOR_NAME = \"CheckboxIndicator\";\nvar CheckboxIndicator = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeCheckbox, forceMount, ...indicatorProps } = props;\n const context = useCheckboxContext(INDICATOR_NAME, __scopeCheckbox);\n return /* @__PURE__ */ jsx(\n Presence,\n {\n present: forceMount || isIndeterminate(context.checked) || context.checked === true,\n children: /* @__PURE__ */ jsx(\n Primitive.span,\n {\n \"data-state\": getState(context.checked),\n \"data-disabled\": context.disabled ? \"\" : void 0,\n ...indicatorProps,\n ref: forwardedRef,\n style: { pointerEvents: \"none\", ...props.style }\n }\n )\n }\n );\n }\n);\nCheckboxIndicator.displayName = INDICATOR_NAME;\nvar BUBBLE_INPUT_NAME = \"CheckboxBubbleInput\";\nvar CheckboxBubbleInput = React.forwardRef(\n ({ __scopeCheckbox, ...props }, forwardedRef) => {\n const {\n control,\n hasConsumerStoppedPropagationRef,\n checked,\n defaultChecked,\n required,\n disabled,\n name,\n value,\n form,\n bubbleInput,\n setBubbleInput\n } = useCheckboxContext(BUBBLE_INPUT_NAME, __scopeCheckbox);\n const composedRefs = useComposedRefs(forwardedRef, setBubbleInput);\n const prevChecked = usePrevious(checked);\n const controlSize = useSize(control);\n React.useEffect(() => {\n const input = bubbleInput;\n if (!input) return;\n const inputProto = window.HTMLInputElement.prototype;\n const descriptor = Object.getOwnPropertyDescriptor(\n inputProto,\n \"checked\"\n );\n const setChecked = descriptor.set;\n const bubbles = !hasConsumerStoppedPropagationRef.current;\n if (prevChecked !== checked && setChecked) {\n const event = new Event(\"click\", { bubbles });\n input.indeterminate = isIndeterminate(checked);\n setChecked.call(input, isIndeterminate(checked) ? false : checked);\n input.dispatchEvent(event);\n }\n }, [bubbleInput, prevChecked, checked, hasConsumerStoppedPropagationRef]);\n const defaultCheckedRef = React.useRef(isIndeterminate(checked) ? false : checked);\n return /* @__PURE__ */ jsx(\n Primitive.input,\n {\n type: \"checkbox\",\n \"aria-hidden\": true,\n defaultChecked: defaultChecked ?? defaultCheckedRef.current,\n required,\n disabled,\n name,\n value,\n form,\n ...props,\n tabIndex: -1,\n ref: composedRefs,\n style: {\n ...props.style,\n ...controlSize,\n position: \"absolute\",\n pointerEvents: \"none\",\n opacity: 0,\n margin: 0,\n // We transform because the input is absolutely positioned but we have\n // rendered it **after** the button. This pulls it back to sit on top\n // of the button.\n transform: \"translateX(-100%)\"\n }\n }\n );\n }\n);\nCheckboxBubbleInput.displayName = BUBBLE_INPUT_NAME;\nfunction isFunction(value) {\n return typeof value === \"function\";\n}\nfunction isIndeterminate(checked) {\n return checked === \"indeterminate\";\n}\nfunction getState(checked) {\n return isIndeterminate(checked) ? \"indeterminate\" : checked ? \"checked\" : \"unchecked\";\n}\nexport {\n Checkbox,\n CheckboxIndicator,\n CheckboxIndicator as Indicator,\n Checkbox as Root,\n createCheckboxScope,\n CheckboxBubbleInput as unstable_BubbleInput,\n CheckboxBubbleInput as unstable_CheckboxBubbleInput,\n CheckboxProvider as unstable_CheckboxProvider,\n CheckboxTrigger as unstable_CheckboxTrigger,\n CheckboxProvider as unstable_Provider,\n CheckboxTrigger as unstable_Trigger\n};\n//# sourceMappingURL=index.mjs.map\n","import * as React from \"react\"\nimport { Checkbox as CheckboxPrimitive } from \"radix-ui\"\n\nimport { cn } from \"src/shadcn/lib/utils\"\nimport { CheckIcon } from \"lucide-react\"\n\nfunction Checkbox({\n className,\n ...props\n}: React.ComponentProps<typeof CheckboxPrimitive.Root>) {\n return (\n <CheckboxPrimitive.Root\n data-slot=\"checkbox\"\n className={cn(\n \"peer relative flex size-4 shrink-0 items-center justify-center rounded-[4px] border border-input transition-colors outline-none group-has-disabled/field:opacity-50 after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary\",\n className\n )}\n {...props}\n >\n <CheckboxPrimitive.Indicator\n data-slot=\"checkbox-indicator\"\n className=\"grid place-content-center text-current transition-none [&>svg]:size-3.5\"\n >\n <CheckIcon\n />\n </CheckboxPrimitive.Indicator>\n </CheckboxPrimitive.Root>\n )\n}\n\nexport { Checkbox }\n","import type React from \"react\";\nimport { Checkbox as ShadcnCheckbox } from \"src/shadcn/components/checkbox\";\nimport { cn } from \"src/shadcn/lib/utils\";\n\nconst Checkbox = ({\n className,\n ...props\n}: React.ComponentProps<typeof ShadcnCheckbox>) => (\n <ShadcnCheckbox\n className={cn(\"border-neutral-400 dark:border-neutral-500\", className)}\n {...props}\n />\n);\n\nexport { Checkbox };\n"],"names":["Checkbox","CheckboxPrimitive.Root","CheckboxPrimitive.Indicator","CheckIcon","ShadcnCheckbox"],"mappings":";;;;;;;;;;;;;;;;AAaA,IAAI,aAAa,GAAG,UAAU;AAC9B,IAAI,CAAC,qBAA0C,CAAC,GAAG,kBAAkB,CAAC,aAAa,CAAC;AACpF,IAAI,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,GAAG,qB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"file":"Checkbox.js","sources":["../../node_modules/@radix-ui/react-checkbox/dist/index.mjs","../../src/shadcn/components/checkbox.tsx","../../src/primitives/Checkbox.tsx"],"sourcesContent":["\"use client\";\n\n// src/checkbox.tsx\nimport * as React from \"react\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { usePrevious } from \"@radix-ui/react-use-previous\";\nimport { useSize } from \"@radix-ui/react-use-size\";\nimport { Presence } from \"@radix-ui/react-presence\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { Fragment, jsx, jsxs } from \"react/jsx-runtime\";\nvar CHECKBOX_NAME = \"Checkbox\";\nvar [createCheckboxContext, createCheckboxScope] = createContextScope(CHECKBOX_NAME);\nvar [CheckboxProviderImpl, useCheckboxContext] = createCheckboxContext(CHECKBOX_NAME);\nfunction CheckboxProvider(props) {\n const {\n __scopeCheckbox,\n checked: checkedProp,\n children,\n defaultChecked,\n disabled,\n form,\n name,\n onCheckedChange,\n required,\n value = \"on\",\n // @ts-expect-error\n internal_do_not_use_render\n } = props;\n const [checked, setChecked] = useControllableState({\n prop: checkedProp,\n defaultProp: defaultChecked ?? false,\n onChange: onCheckedChange,\n caller: CHECKBOX_NAME\n });\n const [control, setControl] = React.useState(null);\n const [bubbleInput, setBubbleInput] = React.useState(null);\n const hasConsumerStoppedPropagationRef = React.useRef(false);\n const isFormControl = control ? !!form || !!control.closest(\"form\") : (\n // We set this to true by default so that events bubble to forms without JS (SSR)\n true\n );\n const context = {\n checked,\n disabled,\n setChecked,\n control,\n setControl,\n name,\n form,\n value,\n hasConsumerStoppedPropagationRef,\n required,\n defaultChecked: isIndeterminate(defaultChecked) ? false : defaultChecked,\n isFormControl,\n bubbleInput,\n setBubbleInput\n };\n return /* @__PURE__ */ jsx(\n CheckboxProviderImpl,\n {\n scope: __scopeCheckbox,\n ...context,\n children: isFunction(internal_do_not_use_render) ? internal_do_not_use_render(context) : children\n }\n );\n}\nvar TRIGGER_NAME = \"CheckboxTrigger\";\nvar CheckboxTrigger = React.forwardRef(\n ({ __scopeCheckbox, onKeyDown, onClick, ...checkboxProps }, forwardedRef) => {\n const {\n control,\n value,\n disabled,\n checked,\n required,\n setControl,\n setChecked,\n hasConsumerStoppedPropagationRef,\n isFormControl,\n bubbleInput\n } = useCheckboxContext(TRIGGER_NAME, __scopeCheckbox);\n const composedRefs = useComposedRefs(forwardedRef, setControl);\n const initialCheckedStateRef = React.useRef(checked);\n React.useEffect(() => {\n const form = control?.form;\n if (form) {\n const reset = () => setChecked(initialCheckedStateRef.current);\n form.addEventListener(\"reset\", reset);\n return () => form.removeEventListener(\"reset\", reset);\n }\n }, [control, setChecked]);\n return /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n role: \"checkbox\",\n \"aria-checked\": isIndeterminate(checked) ? \"mixed\" : checked,\n \"aria-required\": required,\n \"data-state\": getState(checked),\n \"data-disabled\": disabled ? \"\" : void 0,\n disabled,\n value,\n ...checkboxProps,\n ref: composedRefs,\n onKeyDown: composeEventHandlers(onKeyDown, (event) => {\n if (event.key === \"Enter\") event.preventDefault();\n }),\n onClick: composeEventHandlers(onClick, (event) => {\n setChecked((prevChecked) => isIndeterminate(prevChecked) ? true : !prevChecked);\n if (bubbleInput && isFormControl) {\n hasConsumerStoppedPropagationRef.current = event.isPropagationStopped();\n if (!hasConsumerStoppedPropagationRef.current) event.stopPropagation();\n }\n })\n }\n );\n }\n);\nCheckboxTrigger.displayName = TRIGGER_NAME;\nvar Checkbox = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeCheckbox,\n name,\n checked,\n defaultChecked,\n required,\n disabled,\n value,\n onCheckedChange,\n form,\n ...checkboxProps\n } = props;\n return /* @__PURE__ */ jsx(\n CheckboxProvider,\n {\n __scopeCheckbox,\n checked,\n defaultChecked,\n disabled,\n required,\n onCheckedChange,\n name,\n form,\n value,\n internal_do_not_use_render: ({ isFormControl }) => /* @__PURE__ */ jsxs(Fragment, { children: [\n /* @__PURE__ */ jsx(\n CheckboxTrigger,\n {\n ...checkboxProps,\n ref: forwardedRef,\n __scopeCheckbox\n }\n ),\n isFormControl && /* @__PURE__ */ jsx(\n CheckboxBubbleInput,\n {\n __scopeCheckbox\n }\n )\n ] })\n }\n );\n }\n);\nCheckbox.displayName = CHECKBOX_NAME;\nvar INDICATOR_NAME = \"CheckboxIndicator\";\nvar CheckboxIndicator = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeCheckbox, forceMount, ...indicatorProps } = props;\n const context = useCheckboxContext(INDICATOR_NAME, __scopeCheckbox);\n return /* @__PURE__ */ jsx(\n Presence,\n {\n present: forceMount || isIndeterminate(context.checked) || context.checked === true,\n children: /* @__PURE__ */ jsx(\n Primitive.span,\n {\n \"data-state\": getState(context.checked),\n \"data-disabled\": context.disabled ? \"\" : void 0,\n ...indicatorProps,\n ref: forwardedRef,\n style: { pointerEvents: \"none\", ...props.style }\n }\n )\n }\n );\n }\n);\nCheckboxIndicator.displayName = INDICATOR_NAME;\nvar BUBBLE_INPUT_NAME = \"CheckboxBubbleInput\";\nvar CheckboxBubbleInput = React.forwardRef(\n ({ __scopeCheckbox, ...props }, forwardedRef) => {\n const {\n control,\n hasConsumerStoppedPropagationRef,\n checked,\n defaultChecked,\n required,\n disabled,\n name,\n value,\n form,\n bubbleInput,\n setBubbleInput\n } = useCheckboxContext(BUBBLE_INPUT_NAME, __scopeCheckbox);\n const composedRefs = useComposedRefs(forwardedRef, setBubbleInput);\n const prevChecked = usePrevious(checked);\n const controlSize = useSize(control);\n React.useEffect(() => {\n const input = bubbleInput;\n if (!input) return;\n const inputProto = window.HTMLInputElement.prototype;\n const descriptor = Object.getOwnPropertyDescriptor(\n inputProto,\n \"checked\"\n );\n const setChecked = descriptor.set;\n const bubbles = !hasConsumerStoppedPropagationRef.current;\n if (prevChecked !== checked && setChecked) {\n const event = new Event(\"click\", { bubbles });\n input.indeterminate = isIndeterminate(checked);\n setChecked.call(input, isIndeterminate(checked) ? false : checked);\n input.dispatchEvent(event);\n }\n }, [bubbleInput, prevChecked, checked, hasConsumerStoppedPropagationRef]);\n const defaultCheckedRef = React.useRef(isIndeterminate(checked) ? false : checked);\n return /* @__PURE__ */ jsx(\n Primitive.input,\n {\n type: \"checkbox\",\n \"aria-hidden\": true,\n defaultChecked: defaultChecked ?? defaultCheckedRef.current,\n required,\n disabled,\n name,\n value,\n form,\n ...props,\n tabIndex: -1,\n ref: composedRefs,\n style: {\n ...props.style,\n ...controlSize,\n position: \"absolute\",\n pointerEvents: \"none\",\n opacity: 0,\n margin: 0,\n // We transform because the input is absolutely positioned but we have\n // rendered it **after** the button. This pulls it back to sit on top\n // of the button.\n transform: \"translateX(-100%)\"\n }\n }\n );\n }\n);\nCheckboxBubbleInput.displayName = BUBBLE_INPUT_NAME;\nfunction isFunction(value) {\n return typeof value === \"function\";\n}\nfunction isIndeterminate(checked) {\n return checked === \"indeterminate\";\n}\nfunction getState(checked) {\n return isIndeterminate(checked) ? \"indeterminate\" : checked ? \"checked\" : \"unchecked\";\n}\nexport {\n Checkbox,\n CheckboxIndicator,\n CheckboxIndicator as Indicator,\n Checkbox as Root,\n createCheckboxScope,\n CheckboxBubbleInput as unstable_BubbleInput,\n CheckboxBubbleInput as unstable_CheckboxBubbleInput,\n CheckboxProvider as unstable_CheckboxProvider,\n CheckboxTrigger as unstable_CheckboxTrigger,\n CheckboxProvider as unstable_Provider,\n CheckboxTrigger as unstable_Trigger\n};\n//# sourceMappingURL=index.mjs.map\n","import * as React from \"react\"\nimport { Checkbox as CheckboxPrimitive } from \"radix-ui\"\n\nimport { cn } from \"src/shadcn/lib/utils\"\nimport { CheckIcon } from \"lucide-react\"\n\nconst Checkbox = React.forwardRef<\n React.ElementRef<typeof CheckboxPrimitive.Root>,\n React.ComponentProps<typeof CheckboxPrimitive.Root>\n>(({ className, ...props }, ref) => (\n <CheckboxPrimitive.Root\n ref={ref}\n data-slot=\"checkbox\"\n className={cn(\n \"peer relative flex size-4 shrink-0 items-center justify-center rounded-[4px] border border-input transition-colors outline-none group-has-disabled/field:opacity-50 after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary\",\n className\n )}\n {...props}\n >\n <CheckboxPrimitive.Indicator\n data-slot=\"checkbox-indicator\"\n className=\"grid place-content-center text-current transition-none [&>svg]:size-3.5\"\n >\n <CheckIcon />\n </CheckboxPrimitive.Indicator>\n </CheckboxPrimitive.Root>\n))\n\nCheckbox.displayName = \"Checkbox\"\n\nexport { Checkbox }\n","import * as React from \"react\";\nimport { Checkbox as ShadcnCheckbox } from \"src/shadcn/components/checkbox\";\nimport { cn } from \"src/shadcn/lib/utils\";\n\nconst Checkbox = React.forwardRef<\n React.ElementRef<typeof ShadcnCheckbox>,\n React.ComponentProps<typeof ShadcnCheckbox>\n>(({ className, ...props }, ref) => (\n <ShadcnCheckbox\n ref={ref}\n className={cn(\"border-neutral-400 dark:border-neutral-500\", className)}\n {...props}\n />\n));\n\nCheckbox.displayName = \"Checkbox\";\n\nexport { Checkbox };\n"],"names":["Checkbox","CheckboxPrimitive.Root","CheckboxPrimitive.Indicator","CheckIcon","ShadcnCheckbox"],"mappings":";;;;;;;;;;;;;;;;AAaA,IAAI,aAAa,GAAG,UAAU;AAC9B,IAAI,CAAC,qBAA0C,CAAC,GAAG,kBAAkB,CAAC,aAAa,CAAC;AACpF,IAAI,CAAC,oBAAoB,EAAE,kBAAkB,CAAC,GAAG,qBAAqB,CAAC,aAAa,CAAC;AACrF,SAAS,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;AAAA;AACN,CACD;AAED,QAAA,CAAS,WAAA,GAAc,UAAA;;;;","x_google_ignoreList":[0]}
@@ -1,14 +1,14 @@
1
1
  import 'react/jsx-runtime';
2
2
  import 'react';
3
3
  import '../utils-BJnb9o5c.js';
4
- export { C as Combobox, a as ComboboxChip, b as ComboboxChips, c as ComboboxChipsInput, d as ComboboxCollection, e as ComboboxContent, f as ComboboxEmpty, g as ComboboxGroup, h as ComboboxInput, i as ComboboxItem, j as ComboboxLabel, k as ComboboxList, l as ComboboxSeparator, m as ComboboxTrigger, n as ComboboxValue, u as useComboboxAnchor } from '../Combobox-_-p2WeU8.js';
4
+ export { C as Combobox, a as ComboboxChip, b as ComboboxChips, c as ComboboxChipsInput, d as ComboboxCollection, e as ComboboxContent, f as ComboboxEmpty, g as ComboboxGroup, h as ComboboxInput, i as ComboboxItem, j as ComboboxLabel, k as ComboboxList, l as ComboboxSeparator, m as ComboboxTrigger, n as ComboboxValue, u as useComboboxAnchor } from '../Combobox-DIGHGewS.js';
5
5
  import '../button-CrEMzWKw.js';
6
6
  import '../index-Bo3AAQJp.js';
7
7
  import '../index-CfriMyrd.js';
8
8
  import '../index-BtkPdosV.js';
9
- import '../input-group-BKkj65Uq.js';
10
- import '../input-1J5oQa1u.js';
11
- import '../textarea-B0vzA497.js';
9
+ import '../input-group-DDwp2ozP.js';
10
+ import '../input-CNbQc_tG.js';
11
+ import '../textarea-BZIsQ5UD.js';
12
12
  import '../chevron-down-BNi0ntys.js';
13
13
  import '../createLucideIcon-C8ycilSN.js';
14
14
  import '../check-Cpkv29p1.js';
@@ -7,7 +7,7 @@ import { u as useId } from '../index-zW4GjM5L.js';
7
7
  import { useTranslation } from 'react-i18next';
8
8
  import { c as cn } from '../utils-BJnb9o5c.js';
9
9
  import { D as Dialog, c as DialogHeader, d as DialogTitle, e as DialogDescription, i as DialogContent } from '../dialog--Qm4MZDo.js';
10
- import { I as InputGroup, a as InputGroupAddon } from '../input-group-BKkj65Uq.js';
10
+ import { b as InputGroup, c as InputGroupAddon } from '../input-group-DDwp2ozP.js';
11
11
  import { c as createLucideIcon } from '../createLucideIcon-C8ycilSN.js';
12
12
  import { C as Check } from '../check-Cpkv29p1.js';
13
13
  import '../index-DNzunGHb.js';
@@ -24,8 +24,8 @@ import '../button-CrEMzWKw.js';
24
24
  import '../index-Bo3AAQJp.js';
25
25
  import '../index-CfriMyrd.js';
26
26
  import '../x-_o2T3n6D.js';
27
- import '../input-1J5oQa1u.js';
28
- import '../textarea-B0vzA497.js';
27
+ import '../input-CNbQc_tG.js';
28
+ import '../textarea-BZIsQ5UD.js';
29
29
 
30
30
  /**
31
31
  * @license lucide-react v0.577.0 - ISC
@@ -3,7 +3,7 @@ import { H as HelpIcon } from '../HelpIcon-Cm3ZgoCx.js';
3
3
  import { useMemo } from 'react';
4
4
  import { c as cva } from '../index-Bo3AAQJp.js';
5
5
  import { c as cn } from '../utils-BJnb9o5c.js';
6
- import { L as Label } from '../label-BgLSVt4u.js';
6
+ import { L as Label } from '../label-YEsizr2c.js';
7
7
  import { S as Separator } from '../separator-ByRsc-y-.js';
8
8
  import './Tooltip.js';
9
9
  import '../tooltip-ChQ9xD1j.js';
@@ -1,5 +1,6 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
- import { I as Input$1 } from '../input-1J5oQa1u.js';
2
+ import { I as Input$1 } from '../input-CNbQc_tG.js';
3
+ import 'react';
3
4
  import '../utils-BJnb9o5c.js';
4
5
 
5
6
  const Input = (props) => /* @__PURE__ */ jsx(Input$1, { ...props });
@@ -1 +1 @@
1
- {"version":3,"file":"Input.js","sources":["../../src/primitives/Input.tsx"],"sourcesContent":["import type React from \"react\";\n\nimport { Input as ShadcnInput } from \"src/shadcn/components/input\";\n\nconst Input = (props: React.ComponentProps<typeof ShadcnInput>) => (\n <ShadcnInput {...props} />\n);\n\nexport { Input };\n"],"names":["ShadcnInput"],"mappings":";;;;AAIA,MAAM,QAAQ,CAAC,KAAA,qBACb,GAAA,CAACA,OAAA,EAAA,EAAa,GAAG,KAAA,EAAO;;;;"}
1
+ {"version":3,"file":"Input.js","sources":["../../src/primitives/Input.tsx"],"sourcesContent":["import type React from \"react\";\n\nimport { Input as ShadcnInput } from \"src/shadcn/components/input\";\n\nconst Input = (props: React.ComponentProps<typeof ShadcnInput>) => (\n <ShadcnInput {...props} />\n);\n\nexport { Input };\n"],"names":["ShadcnInput"],"mappings":";;;;;AAIA,MAAM,QAAQ,CAAC,KAAA,qBACb,GAAA,CAACA,OAAA,EAAA,EAAa,GAAG,KAAA,EAAO;;;;"}
@@ -1,9 +1,9 @@
1
- import type React from "react";
2
- import { InputGroup as ShadcnInputGroup, InputGroupAddon as ShadcnInputGroupAddon, InputGroupButton as ShadcnInputGroupButton, InputGroupText as ShadcnInputGroupText, InputGroupInput as ShadcnInputGroupInput, InputGroupTextarea as ShadcnInputGroupTextarea } from "src/shadcn/components/input-group";
1
+ import * as React from "react";
2
+ import { InputGroup as ShadcnInputGroup, InputGroupAddon as ShadcnInputGroupAddon, InputGroupButton as ShadcnInputGroupButton, InputGroupText as ShadcnInputGroupText } from "src/shadcn/components/input-group";
3
3
  declare const InputGroup: (props: React.ComponentProps<typeof ShadcnInputGroup>) => import("react/jsx-runtime").JSX.Element;
4
4
  declare const InputGroupAddon: (props: React.ComponentProps<typeof ShadcnInputGroupAddon>) => import("react/jsx-runtime").JSX.Element;
5
5
  declare const InputGroupButton: (props: React.ComponentProps<typeof ShadcnInputGroupButton>) => import("react/jsx-runtime").JSX.Element;
6
6
  declare const InputGroupText: (props: React.ComponentProps<typeof ShadcnInputGroupText>) => import("react/jsx-runtime").JSX.Element;
7
- declare const InputGroupInput: (props: React.ComponentProps<typeof ShadcnInputGroupInput>) => import("react/jsx-runtime").JSX.Element;
8
- declare const InputGroupTextarea: (props: React.ComponentProps<typeof ShadcnInputGroupTextarea>) => import("react/jsx-runtime").JSX.Element;
7
+ declare const InputGroupInput: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
8
+ declare const InputGroupTextarea: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & React.RefAttributes<HTMLTextAreaElement>, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
9
9
  export { InputGroup, InputGroupAddon, InputGroupButton, InputGroupText, InputGroupInput, InputGroupTextarea, };
@@ -1,20 +1,22 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
- import { I as InputGroup$1, a as InputGroupAddon$1, b as InputGroupText$1, c as InputGroupInput$1, d as InputGroupButton$1, e as InputGroupTextarea$1 } from '../input-group-BKkj65Uq.js';
2
+ import * as React from 'react';
3
+ import { I as InputGroupInput$1, a as InputGroupTextarea$1, b as InputGroup$1, c as InputGroupAddon$1, d as InputGroupText$1, e as InputGroupButton$1 } from '../input-group-DDwp2ozP.js';
3
4
  import '../index-Bo3AAQJp.js';
4
5
  import '../utils-BJnb9o5c.js';
5
6
  import '../button-CrEMzWKw.js';
6
- import 'react';
7
7
  import '../index-CfriMyrd.js';
8
8
  import '../index-BtkPdosV.js';
9
- import '../input-1J5oQa1u.js';
10
- import '../textarea-B0vzA497.js';
9
+ import '../input-CNbQc_tG.js';
10
+ import '../textarea-BZIsQ5UD.js';
11
11
 
12
12
  const InputGroup = (props) => /* @__PURE__ */ jsx(InputGroup$1, { ...props });
13
13
  const InputGroupAddon = (props) => /* @__PURE__ */ jsx(InputGroupAddon$1, { ...props });
14
14
  const InputGroupButton = (props) => /* @__PURE__ */ jsx(InputGroupButton$1, { ...props });
15
15
  const InputGroupText = (props) => /* @__PURE__ */ jsx(InputGroupText$1, { ...props });
16
- const InputGroupInput = (props) => /* @__PURE__ */ jsx(InputGroupInput$1, { ...props });
17
- const InputGroupTextarea = (props) => /* @__PURE__ */ jsx(InputGroupTextarea$1, { ...props });
16
+ const InputGroupInput = React.forwardRef((props, ref) => /* @__PURE__ */ jsx(InputGroupInput$1, { ref, ...props }));
17
+ InputGroupInput.displayName = "InputGroupInput";
18
+ const InputGroupTextarea = React.forwardRef((props, ref) => /* @__PURE__ */ jsx(InputGroupTextarea$1, { ref, ...props }));
19
+ InputGroupTextarea.displayName = "InputGroupTextarea";
18
20
 
19
21
  export { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea };
20
22
  //# sourceMappingURL=InputGroup.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"InputGroup.js","sources":["../../src/primitives/InputGroup.tsx"],"sourcesContent":["import type React from \"react\";\n\nimport {\n InputGroup as ShadcnInputGroup,\n InputGroupAddon as ShadcnInputGroupAddon,\n InputGroupButton as ShadcnInputGroupButton,\n InputGroupText as ShadcnInputGroupText,\n InputGroupInput as ShadcnInputGroupInput,\n InputGroupTextarea as ShadcnInputGroupTextarea,\n} from \"src/shadcn/components/input-group\";\n\nconst InputGroup = (props: React.ComponentProps<typeof ShadcnInputGroup>) => (\n <ShadcnInputGroup {...props} />\n);\n\nconst InputGroupAddon = (\n props: React.ComponentProps<typeof ShadcnInputGroupAddon>\n) => <ShadcnInputGroupAddon {...props} />;\n\nconst InputGroupButton = (\n props: React.ComponentProps<typeof ShadcnInputGroupButton>\n) => <ShadcnInputGroupButton {...props} />;\n\nconst InputGroupText = (\n props: React.ComponentProps<typeof ShadcnInputGroupText>\n) => <ShadcnInputGroupText {...props} />;\n\nconst InputGroupInput = (\n props: React.ComponentProps<typeof ShadcnInputGroupInput>\n) => <ShadcnInputGroupInput {...props} />;\n\nconst InputGroupTextarea = (\n props: React.ComponentProps<typeof ShadcnInputGroupTextarea>\n) => <ShadcnInputGroupTextarea {...props} />;\n\nexport {\n InputGroup,\n InputGroupAddon,\n InputGroupButton,\n InputGroupText,\n InputGroupInput,\n InputGroupTextarea,\n};\n"],"names":["ShadcnInputGroup","ShadcnInputGroupAddon","ShadcnInputGroupButton","ShadcnInputGroupText","ShadcnInputGroupInput","ShadcnInputGroupTextarea"],"mappings":";;;;;;;;;;;AAWA,MAAM,aAAa,CAAC,KAAA,qBAClB,GAAA,CAACA,YAAA,EAAA,EAAkB,GAAG,KAAA,EAAO;AAG/B,MAAM,kBAAkB,CACtB,KAAA,qBACG,GAAA,CAACC,iBAAA,EAAA,EAAuB,GAAG,KAAA,EAAO;AAEvC,MAAM,mBAAmB,CACvB,KAAA,qBACG,GAAA,CAACC,kBAAA,EAAA,EAAwB,GAAG,KAAA,EAAO;AAExC,MAAM,iBAAiB,CACrB,KAAA,qBACG,GAAA,CAACC,gBAAA,EAAA,EAAsB,GAAG,KAAA,EAAO;AAEtC,MAAM,kBAAkB,CACtB,KAAA,qBACG,GAAA,CAACC,iBAAA,EAAA,EAAuB,GAAG,KAAA,EAAO;AAEvC,MAAM,qBAAqB,CACzB,KAAA,qBACG,GAAA,CAACC,oBAAA,EAAA,EAA0B,GAAG,KAAA,EAAO;;;;"}
1
+ {"version":3,"file":"InputGroup.js","sources":["../../src/primitives/InputGroup.tsx"],"sourcesContent":["import * as React from \"react\";\n\nimport {\n InputGroup as ShadcnInputGroup,\n InputGroupAddon as ShadcnInputGroupAddon,\n InputGroupButton as ShadcnInputGroupButton,\n InputGroupText as ShadcnInputGroupText,\n InputGroupInput as ShadcnInputGroupInput,\n InputGroupTextarea as ShadcnInputGroupTextarea,\n} from \"src/shadcn/components/input-group\";\n\nconst InputGroup = (props: React.ComponentProps<typeof ShadcnInputGroup>) => (\n <ShadcnInputGroup {...props} />\n);\n\nconst InputGroupAddon = (\n props: React.ComponentProps<typeof ShadcnInputGroupAddon>\n) => <ShadcnInputGroupAddon {...props} />;\n\nconst InputGroupButton = (\n props: React.ComponentProps<typeof ShadcnInputGroupButton>\n) => <ShadcnInputGroupButton {...props} />;\n\nconst InputGroupText = (\n props: React.ComponentProps<typeof ShadcnInputGroupText>\n) => <ShadcnInputGroupText {...props} />;\n\nconst InputGroupInput = React.forwardRef<\n React.ElementRef<typeof ShadcnInputGroupInput>,\n React.ComponentProps<typeof ShadcnInputGroupInput>\n>((props, ref) => <ShadcnInputGroupInput ref={ref} {...props} />);\n\nInputGroupInput.displayName = \"InputGroupInput\";\n\nconst InputGroupTextarea = React.forwardRef<\n React.ElementRef<typeof ShadcnInputGroupTextarea>,\n React.ComponentProps<typeof ShadcnInputGroupTextarea>\n>((props, ref) => <ShadcnInputGroupTextarea ref={ref} {...props} />);\n\nInputGroupTextarea.displayName = \"InputGroupTextarea\";\n\nexport {\n InputGroup,\n InputGroupAddon,\n InputGroupButton,\n InputGroupText,\n InputGroupInput,\n InputGroupTextarea,\n};\n"],"names":["ShadcnInputGroup","ShadcnInputGroupAddon","ShadcnInputGroupButton","ShadcnInputGroupText","ShadcnInputGroupInput","ShadcnInputGroupTextarea"],"mappings":";;;;;;;;;;;AAWA,MAAM,aAAa,CAAC,KAAA,qBAClB,GAAA,CAACA,YAAA,EAAA,EAAkB,GAAG,KAAA,EAAO;AAG/B,MAAM,kBAAkB,CACtB,KAAA,qBACG,GAAA,CAACC,iBAAA,EAAA,EAAuB,GAAG,KAAA,EAAO;AAEvC,MAAM,mBAAmB,CACvB,KAAA,qBACG,GAAA,CAACC,kBAAA,EAAA,EAAwB,GAAG,KAAA,EAAO;AAExC,MAAM,iBAAiB,CACrB,KAAA,qBACG,GAAA,CAACC,gBAAA,EAAA,EAAsB,GAAG,KAAA,EAAO;AAEtC,MAAM,eAAA,GAAkB,KAAA,CAAM,UAAA,CAG5B,CAAC,KAAA,EAAO,GAAA,qBAAQ,GAAA,CAACC,iBAAA,EAAA,EAAsB,GAAA,EAAW,GAAG,KAAA,EAAO,CAAE;AAEhE,eAAA,CAAgB,WAAA,GAAc,iBAAA;AAE9B,MAAM,kBAAA,GAAqB,KAAA,CAAM,UAAA,CAG/B,CAAC,KAAA,EAAO,GAAA,qBAAQ,GAAA,CAACC,oBAAA,EAAA,EAAyB,GAAA,EAAW,GAAG,KAAA,EAAO,CAAE;AAEnE,kBAAA,CAAmB,WAAA,GAAc,oBAAA;;;;"}
@@ -1,4 +1,4 @@
1
- import type React from "react";
2
- import { Label as ShadcnLabel } from "src/shadcn/components/label";
3
- declare const Label: (props: React.ComponentProps<typeof ShadcnLabel>) => import("react/jsx-runtime").JSX.Element;
1
+ import * as React from "react";
2
+ import { Label as LabelPrimitive } from "radix-ui";
3
+ declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & React.RefAttributes<HTMLLabelElement>>;
4
4
  export { Label };
@@ -1,12 +1,13 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
- import { L as Label$1 } from '../label-BgLSVt4u.js';
2
+ import * as React from 'react';
3
+ import { L as Label$1 } from '../label-YEsizr2c.js';
3
4
  import '../utils-BJnb9o5c.js';
4
- import 'react';
5
5
  import '../index-DhnfW8wQ.js';
6
6
  import 'react-dom';
7
7
  import '../index-BtkPdosV.js';
8
8
 
9
- const Label = (props) => /* @__PURE__ */ jsx(Label$1, { ...props });
9
+ const Label = React.forwardRef((props, ref) => /* @__PURE__ */ jsx(Label$1, { ref, ...props }));
10
+ Label.displayName = "Label";
10
11
 
11
12
  export { Label };
12
13
  //# sourceMappingURL=Label.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Label.js","sources":["../../src/primitives/Label.tsx"],"sourcesContent":["import type React from \"react\";\n\nimport { Label as ShadcnLabel } from \"src/shadcn/components/label\";\n\nconst Label = (props: React.ComponentProps<typeof ShadcnLabel>) => (\n <ShadcnLabel {...props} />\n);\n\nexport { Label };\n"],"names":["ShadcnLabel"],"mappings":";;;;;;;;AAIA,MAAM,QAAQ,CAAC,KAAA,qBACb,GAAA,CAACA,OAAA,EAAA,EAAa,GAAG,KAAA,EAAO;;;;"}
1
+ {"version":3,"file":"Label.js","sources":["../../src/primitives/Label.tsx"],"sourcesContent":["import * as React from \"react\";\nimport { Label as LabelPrimitive } from \"radix-ui\";\n\nimport { Label as ShadcnLabel } from \"src/shadcn/components/label\";\n\nconst Label = React.forwardRef<\n React.ElementRef<typeof LabelPrimitive.Root>,\n React.ComponentProps<typeof LabelPrimitive.Root>\n>((props, ref) => <ShadcnLabel ref={ref} {...props} />);\n\nLabel.displayName = \"Label\";\n\nexport { Label };\n"],"names":["ShadcnLabel"],"mappings":";;;;;;;;AAKA,MAAM,KAAA,GAAQ,KAAA,CAAM,UAAA,CAGlB,CAAC,KAAA,EAAO,GAAA,qBAAQ,GAAA,CAACA,OAAA,EAAA,EAAY,GAAA,EAAW,GAAG,KAAA,EAAO,CAAE;AAEtD,KAAA,CAAM,WAAA,GAAc,OAAA;;;;"}
@@ -1,10 +1,9 @@
1
1
  import * as React from "react";
2
2
  import { RadioGroup as RadioGroupPrimitive } from "radix-ui";
3
- import { RadioGroup as ShadcnRadioGroup } from "src/shadcn/components/radio-group";
4
- declare const RadioGroup: (props: React.ComponentProps<typeof ShadcnRadioGroup>) => import("react/jsx-runtime").JSX.Element;
3
+ declare const RadioGroup: React.ForwardRefExoticComponent<Omit<Omit<RadioGroupPrimitive.RadioGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
5
4
  /**
6
5
  * RadioGroupItem re-composed from Radix primitives with the inner dot
7
6
  * using flex centering instead of absolute + translate, fixing RTL alignment.
8
7
  */
9
- declare const RadioGroupItem: ({ className, ...props }: React.ComponentProps<typeof RadioGroupPrimitive.Item>) => import("react/jsx-runtime").JSX.Element;
8
+ declare const RadioGroupItem: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
10
9
  export { RadioGroup, RadioGroupItem };
@@ -1,11 +1,11 @@
1
1
  import { jsx, jsxs } from 'react/jsx-runtime';
2
- import { c as cn } from '../utils-BJnb9o5c.js';
3
2
  import * as React from 'react';
3
+ import { c as cn } from '../utils-BJnb9o5c.js';
4
4
  import { c as composeEventHandlers } from '../index-DNzunGHb.js';
5
5
  import { u as useComposedRefs } from '../index-BtkPdosV.js';
6
6
  import { c as createContextScope } from '../index-CiyxEyB0.js';
7
7
  import { P as Primitive } from '../index-DhnfW8wQ.js';
8
- import { I as Item, c as createRovingFocusGroupScope, R as Root } from '../index-DT56XkyA.js';
8
+ import { I as Item, R as Root, c as createRovingFocusGroupScope } from '../index-DT56XkyA.js';
9
9
  import { u as useControllableState } from '../index-Cor698lu.js';
10
10
  import { u as useDirection } from '../index-d0BBQf5t.js';
11
11
  import { u as useSize } from '../index-BYZaLNq1.js';
@@ -216,7 +216,7 @@ var RadioGroup$2 = React.forwardRef(
216
216
  );
217
217
  RadioGroup$2.displayName = RADIO_GROUP_NAME;
218
218
  var ITEM_NAME = "RadioGroupItem";
219
- var RadioGroupItem$1 = React.forwardRef(
219
+ var RadioGroupItem$2 = React.forwardRef(
220
220
  (props, forwardedRef) => {
221
221
  const { __scopeRadioGroup, disabled, ...itemProps } = props;
222
222
  const context = useRadioGroupContext(ITEM_NAME, __scopeRadioGroup);
@@ -271,7 +271,7 @@ var RadioGroupItem$1 = React.forwardRef(
271
271
  );
272
272
  }
273
273
  );
274
- RadioGroupItem$1.displayName = ITEM_NAME;
274
+ RadioGroupItem$2.displayName = ITEM_NAME;
275
275
  var INDICATOR_NAME2 = "RadioGroupIndicator";
276
276
  var RadioGroupIndicator = React.forwardRef(
277
277
  (props, forwardedRef) => {
@@ -282,30 +282,47 @@ var RadioGroupIndicator = React.forwardRef(
282
282
  );
283
283
  RadioGroupIndicator.displayName = INDICATOR_NAME2;
284
284
  var Root2 = RadioGroup$2;
285
- var Item2 = RadioGroupItem$1;
285
+ var Item2 = RadioGroupItem$2;
286
286
  var Indicator = RadioGroupIndicator;
287
287
 
288
- function RadioGroup$1({
289
- className,
290
- ...props
291
- }) {
292
- return /* @__PURE__ */ jsx(
293
- Root2,
294
- {
295
- "data-slot": "radio-group",
296
- className: cn("grid w-full gap-2", className),
297
- ...props
298
- }
299
- );
300
- }
288
+ const RadioGroup$1 = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
289
+ Root2,
290
+ {
291
+ ref,
292
+ "data-slot": "radio-group",
293
+ className: cn("grid w-full gap-2", className),
294
+ ...props
295
+ }
296
+ ));
297
+ RadioGroup$1.displayName = "RadioGroup";
298
+ const RadioGroupItem$1 = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
299
+ Item2,
300
+ {
301
+ ref,
302
+ "data-slot": "radio-group-item",
303
+ className: cn(
304
+ "group/radio-group-item peer relative flex aspect-square size-4 shrink-0 rounded-full border border-input outline-none after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary",
305
+ className
306
+ ),
307
+ ...props,
308
+ children: /* @__PURE__ */ jsx(
309
+ Indicator,
310
+ {
311
+ "data-slot": "radio-group-indicator",
312
+ className: "flex size-4 items-center justify-center",
313
+ children: /* @__PURE__ */ jsx("span", { className: "absolute top-1/2 start-1/2 size-2 -translate-x-1/2 rtl:translate-x-1/2 -translate-y-1/2 rounded-full bg-primary-foreground" })
314
+ }
315
+ )
316
+ }
317
+ ));
318
+ RadioGroupItem$1.displayName = "RadioGroupItem";
301
319
 
302
- const RadioGroup = (props) => /* @__PURE__ */ jsx(RadioGroup$1, { ...props });
303
- const RadioGroupItem = ({
304
- className,
305
- ...props
306
- }) => /* @__PURE__ */ jsx(
320
+ const RadioGroup = React.forwardRef((props, ref) => /* @__PURE__ */ jsx(RadioGroup$1, { ref, ...props }));
321
+ RadioGroup.displayName = "RadioGroup";
322
+ const RadioGroupItem = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
307
323
  Item2,
308
324
  {
325
+ ref,
309
326
  "data-slot": "radio-group-item",
310
327
  className: cn(
311
328
  "group/radio-group-item peer relative flex aspect-square size-4 shrink-0 rounded-full border border-neutral-400 outline-none after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:border-neutral-500 dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary",
@@ -321,7 +338,8 @@ const RadioGroupItem = ({
321
338
  }
322
339
  )
323
340
  }
324
- );
341
+ ));
342
+ RadioGroupItem.displayName = "RadioGroupItem";
325
343
 
326
344
  export { RadioGroup, RadioGroupItem };
327
345
  //# sourceMappingURL=RadioGroup.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RadioGroup.js","sources":["../../node_modules/@radix-ui/react-radio-group/dist/index.mjs","../../src/shadcn/components/radio-group.tsx","../../src/primitives/RadioGroup.tsx"],"sourcesContent":["\"use client\";\n\n// src/radio-group.tsx\nimport * as React2 from \"react\";\nimport { composeEventHandlers as composeEventHandlers2 } from \"@radix-ui/primitive\";\nimport { useComposedRefs as useComposedRefs2 } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope as createContextScope2 } from \"@radix-ui/react-context\";\nimport { Primitive as Primitive2 } from \"@radix-ui/react-primitive\";\nimport * as RovingFocusGroup from \"@radix-ui/react-roving-focus\";\nimport { createRovingFocusGroupScope } from \"@radix-ui/react-roving-focus\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { useDirection } from \"@radix-ui/react-direction\";\n\n// src/radio.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useSize } from \"@radix-ui/react-use-size\";\nimport { usePrevious } from \"@radix-ui/react-use-previous\";\nimport { Presence } from \"@radix-ui/react-presence\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nvar RADIO_NAME = \"Radio\";\nvar [createRadioContext, createRadioScope] = createContextScope(RADIO_NAME);\nvar [RadioProvider, useRadioContext] = createRadioContext(RADIO_NAME);\nvar Radio = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeRadio,\n name,\n checked = false,\n required,\n disabled,\n value = \"on\",\n onCheck,\n form,\n ...radioProps\n } = props;\n const [button, setButton] = React.useState(null);\n const composedRefs = useComposedRefs(forwardedRef, (node) => setButton(node));\n const hasConsumerStoppedPropagationRef = React.useRef(false);\n const isFormControl = button ? form || !!button.closest(\"form\") : true;\n return /* @__PURE__ */ jsxs(RadioProvider, { scope: __scopeRadio, checked, disabled, children: [\n /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n role: \"radio\",\n \"aria-checked\": checked,\n \"data-state\": getState(checked),\n \"data-disabled\": disabled ? \"\" : void 0,\n disabled,\n value,\n ...radioProps,\n ref: composedRefs,\n onClick: composeEventHandlers(props.onClick, (event) => {\n if (!checked) onCheck?.();\n if (isFormControl) {\n hasConsumerStoppedPropagationRef.current = event.isPropagationStopped();\n if (!hasConsumerStoppedPropagationRef.current) event.stopPropagation();\n }\n })\n }\n ),\n isFormControl && /* @__PURE__ */ jsx(\n RadioBubbleInput,\n {\n control: button,\n bubbles: !hasConsumerStoppedPropagationRef.current,\n name,\n value,\n checked,\n required,\n disabled,\n form,\n style: { transform: \"translateX(-100%)\" }\n }\n )\n ] });\n }\n);\nRadio.displayName = RADIO_NAME;\nvar INDICATOR_NAME = \"RadioIndicator\";\nvar RadioIndicator = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeRadio, forceMount, ...indicatorProps } = props;\n const context = useRadioContext(INDICATOR_NAME, __scopeRadio);\n return /* @__PURE__ */ jsx(Presence, { present: forceMount || context.checked, children: /* @__PURE__ */ jsx(\n Primitive.span,\n {\n \"data-state\": getState(context.checked),\n \"data-disabled\": context.disabled ? \"\" : void 0,\n ...indicatorProps,\n ref: forwardedRef\n }\n ) });\n }\n);\nRadioIndicator.displayName = INDICATOR_NAME;\nvar BUBBLE_INPUT_NAME = \"RadioBubbleInput\";\nvar RadioBubbleInput = React.forwardRef(\n ({\n __scopeRadio,\n control,\n checked,\n bubbles = true,\n ...props\n }, forwardedRef) => {\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(ref, forwardedRef);\n const prevChecked = usePrevious(checked);\n const controlSize = useSize(control);\n React.useEffect(() => {\n const input = ref.current;\n if (!input) return;\n const inputProto = window.HTMLInputElement.prototype;\n const descriptor = Object.getOwnPropertyDescriptor(\n inputProto,\n \"checked\"\n );\n const setChecked = descriptor.set;\n if (prevChecked !== checked && setChecked) {\n const event = new Event(\"click\", { bubbles });\n setChecked.call(input, checked);\n input.dispatchEvent(event);\n }\n }, [prevChecked, checked, bubbles]);\n return /* @__PURE__ */ jsx(\n Primitive.input,\n {\n type: \"radio\",\n \"aria-hidden\": true,\n defaultChecked: checked,\n ...props,\n tabIndex: -1,\n ref: composedRefs,\n style: {\n ...props.style,\n ...controlSize,\n position: \"absolute\",\n pointerEvents: \"none\",\n opacity: 0,\n margin: 0\n }\n }\n );\n }\n);\nRadioBubbleInput.displayName = BUBBLE_INPUT_NAME;\nfunction getState(checked) {\n return checked ? \"checked\" : \"unchecked\";\n}\n\n// src/radio-group.tsx\nimport { jsx as jsx2 } from \"react/jsx-runtime\";\nvar ARROW_KEYS = [\"ArrowUp\", \"ArrowDown\", \"ArrowLeft\", \"ArrowRight\"];\nvar RADIO_GROUP_NAME = \"RadioGroup\";\nvar [createRadioGroupContext, createRadioGroupScope] = createContextScope2(RADIO_GROUP_NAME, [\n createRovingFocusGroupScope,\n createRadioScope\n]);\nvar useRovingFocusGroupScope = createRovingFocusGroupScope();\nvar useRadioScope = createRadioScope();\nvar [RadioGroupProvider, useRadioGroupContext] = createRadioGroupContext(RADIO_GROUP_NAME);\nvar RadioGroup = React2.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeRadioGroup,\n name,\n defaultValue,\n value: valueProp,\n required = false,\n disabled = false,\n orientation,\n dir,\n loop = true,\n onValueChange,\n ...groupProps\n } = props;\n const rovingFocusGroupScope = useRovingFocusGroupScope(__scopeRadioGroup);\n const direction = useDirection(dir);\n const [value, setValue] = useControllableState({\n prop: valueProp,\n defaultProp: defaultValue ?? null,\n onChange: onValueChange,\n caller: RADIO_GROUP_NAME\n });\n return /* @__PURE__ */ jsx2(\n RadioGroupProvider,\n {\n scope: __scopeRadioGroup,\n name,\n required,\n disabled,\n value,\n onValueChange: setValue,\n children: /* @__PURE__ */ jsx2(\n RovingFocusGroup.Root,\n {\n asChild: true,\n ...rovingFocusGroupScope,\n orientation,\n dir: direction,\n loop,\n children: /* @__PURE__ */ jsx2(\n Primitive2.div,\n {\n role: \"radiogroup\",\n \"aria-required\": required,\n \"aria-orientation\": orientation,\n \"data-disabled\": disabled ? \"\" : void 0,\n dir: direction,\n ...groupProps,\n ref: forwardedRef\n }\n )\n }\n )\n }\n );\n }\n);\nRadioGroup.displayName = RADIO_GROUP_NAME;\nvar ITEM_NAME = \"RadioGroupItem\";\nvar RadioGroupItem = React2.forwardRef(\n (props, forwardedRef) => {\n const { __scopeRadioGroup, disabled, ...itemProps } = props;\n const context = useRadioGroupContext(ITEM_NAME, __scopeRadioGroup);\n const isDisabled = context.disabled || disabled;\n const rovingFocusGroupScope = useRovingFocusGroupScope(__scopeRadioGroup);\n const radioScope = useRadioScope(__scopeRadioGroup);\n const ref = React2.useRef(null);\n const composedRefs = useComposedRefs2(forwardedRef, ref);\n const checked = context.value === itemProps.value;\n const isArrowKeyPressedRef = React2.useRef(false);\n React2.useEffect(() => {\n const handleKeyDown = (event) => {\n if (ARROW_KEYS.includes(event.key)) {\n isArrowKeyPressedRef.current = true;\n }\n };\n const handleKeyUp = () => isArrowKeyPressedRef.current = false;\n document.addEventListener(\"keydown\", handleKeyDown);\n document.addEventListener(\"keyup\", handleKeyUp);\n return () => {\n document.removeEventListener(\"keydown\", handleKeyDown);\n document.removeEventListener(\"keyup\", handleKeyUp);\n };\n }, []);\n return /* @__PURE__ */ jsx2(\n RovingFocusGroup.Item,\n {\n asChild: true,\n ...rovingFocusGroupScope,\n focusable: !isDisabled,\n active: checked,\n children: /* @__PURE__ */ jsx2(\n Radio,\n {\n disabled: isDisabled,\n required: context.required,\n checked,\n ...radioScope,\n ...itemProps,\n name: context.name,\n ref: composedRefs,\n onCheck: () => context.onValueChange(itemProps.value),\n onKeyDown: composeEventHandlers2((event) => {\n if (event.key === \"Enter\") event.preventDefault();\n }),\n onFocus: composeEventHandlers2(itemProps.onFocus, () => {\n if (isArrowKeyPressedRef.current) ref.current?.click();\n })\n }\n )\n }\n );\n }\n);\nRadioGroupItem.displayName = ITEM_NAME;\nvar INDICATOR_NAME2 = \"RadioGroupIndicator\";\nvar RadioGroupIndicator = React2.forwardRef(\n (props, forwardedRef) => {\n const { __scopeRadioGroup, ...indicatorProps } = props;\n const radioScope = useRadioScope(__scopeRadioGroup);\n return /* @__PURE__ */ jsx2(RadioIndicator, { ...radioScope, ...indicatorProps, ref: forwardedRef });\n }\n);\nRadioGroupIndicator.displayName = INDICATOR_NAME2;\nvar Root2 = RadioGroup;\nvar Item2 = RadioGroupItem;\nvar Indicator = RadioGroupIndicator;\nexport {\n Indicator,\n Item2 as Item,\n RadioGroup,\n RadioGroupIndicator,\n RadioGroupItem,\n Root2 as Root,\n createRadioGroupScope\n};\n//# sourceMappingURL=index.mjs.map\n","\"use client\"\n\nimport * as React from \"react\"\nimport { RadioGroup as RadioGroupPrimitive } from \"radix-ui\"\n\nimport { cn } from \"src/shadcn/lib/utils\"\n\nfunction RadioGroup({\n className,\n ...props\n}: React.ComponentProps<typeof RadioGroupPrimitive.Root>) {\n return (\n <RadioGroupPrimitive.Root\n data-slot=\"radio-group\"\n className={cn(\"grid w-full gap-2\", className)}\n {...props}\n />\n )\n}\n\nfunction RadioGroupItem({\n className,\n ...props\n}: React.ComponentProps<typeof RadioGroupPrimitive.Item>) {\n return (\n <RadioGroupPrimitive.Item\n data-slot=\"radio-group-item\"\n className={cn(\n \"group/radio-group-item peer relative flex aspect-square size-4 shrink-0 rounded-full border border-input outline-none after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary\",\n className\n )}\n {...props}\n >\n <RadioGroupPrimitive.Indicator\n data-slot=\"radio-group-indicator\"\n className=\"flex size-4 items-center justify-center\"\n >\n <span className=\"absolute top-1/2 start-1/2 size-2 -translate-x-1/2 rtl:translate-x-1/2 -translate-y-1/2 rounded-full bg-primary-foreground\" />\n </RadioGroupPrimitive.Indicator>\n </RadioGroupPrimitive.Item>\n )\n}\n\nexport { RadioGroup, RadioGroupItem }\n","import * as React from \"react\";\nimport { RadioGroup as RadioGroupPrimitive } from \"radix-ui\";\nimport { cn } from \"src/shadcn/lib/utils\";\n\nimport { RadioGroup as ShadcnRadioGroup } from \"src/shadcn/components/radio-group\";\n\nconst RadioGroup = (props: React.ComponentProps<typeof ShadcnRadioGroup>) => (\n <ShadcnRadioGroup {...props} />\n);\n\n/**\n * RadioGroupItem re-composed from Radix primitives with the inner dot\n * using flex centering instead of absolute + translate, fixing RTL alignment.\n */\nconst RadioGroupItem = ({\n className,\n ...props\n}: React.ComponentProps<typeof RadioGroupPrimitive.Item>) => (\n <RadioGroupPrimitive.Item\n data-slot=\"radio-group-item\"\n className={cn(\n \"group/radio-group-item peer relative flex aspect-square size-4 shrink-0 rounded-full border border-neutral-400 outline-none after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:border-neutral-500 dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary\",\n className\n )}\n {...props}\n >\n <RadioGroupPrimitive.Indicator\n data-slot=\"radio-group-indicator\"\n className=\"flex size-full items-center justify-center\"\n >\n <span className=\"size-2 rounded-full bg-primary-foreground\" />\n </RadioGroupPrimitive.Indicator>\n </RadioGroupPrimitive.Item>\n);\n\nexport { RadioGroup, RadioGroupItem };\n"],"names":["createContextScope2","RadioGroup","React2","jsx2","RovingFocusGroup.Root","Primitive2","RadioGroupItem","useComposedRefs2","RovingFocusGroup.Item","composeEventHandlers2","RadioGroupPrimitive.Root","ShadcnRadioGroup","RadioGroupPrimitive.Item","RadioGroupPrimitive.Indicator"],"mappings":";;;;;;;;;;;;;;;;;;;AAuBA,IAAI,UAAU,GAAG,OAAO;AACxB,IAAI,CAAC,kBAAkB,EAAE,gBAAgB,CAAC,GAAG,kBAAkB,CAAC,UAAU,CAAC;AAC3E,IAAI,CAAC,aAAa,EAAE,eAAe,CAAC,GAAG,kBAAkB,CAAC,UAAU,CAAC;AACrE,IAAI,KAAK,GAAG,KAAK,CAAC,UAAU;AAC5B,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK;AAC3B,IAAI,MAAM;AACV,MAAM,YAAY;AAClB,MAAM,IAAI;AACV,MAAM,OAAO,GAAG,KAAK;AACrB,MAAM,QAAQ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ix-ui/react-radio-group/dist/index.mjs","../../src/shadcn/components/radio-group.tsx","../../src/primitives/RadioGroup.tsx"],"sourcesContent":["\"use client\";\n\n// src/radio-group.tsx\nimport * as React2 from \"react\";\nimport { composeEventHandlers as composeEventHandlers2 } from \"@radix-ui/primitive\";\nimport { useComposedRefs as useComposedRefs2 } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope as createContextScope2 } from \"@radix-ui/react-context\";\nimport { Primitive as Primitive2 } from \"@radix-ui/react-primitive\";\nimport * as RovingFocusGroup from \"@radix-ui/react-roving-focus\";\nimport { createRovingFocusGroupScope } from \"@radix-ui/react-roving-focus\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { useDirection } from \"@radix-ui/react-direction\";\n\n// src/radio.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useSize } from \"@radix-ui/react-use-size\";\nimport { usePrevious } from \"@radix-ui/react-use-previous\";\nimport { Presence } from \"@radix-ui/react-presence\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nvar RADIO_NAME = \"Radio\";\nvar [createRadioContext, createRadioScope] = createContextScope(RADIO_NAME);\nvar [RadioProvider, useRadioContext] = createRadioContext(RADIO_NAME);\nvar Radio = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeRadio,\n name,\n checked = false,\n required,\n disabled,\n value = \"on\",\n onCheck,\n form,\n ...radioProps\n } = props;\n const [button, setButton] = React.useState(null);\n const composedRefs = useComposedRefs(forwardedRef, (node) => setButton(node));\n const hasConsumerStoppedPropagationRef = React.useRef(false);\n const isFormControl = button ? form || !!button.closest(\"form\") : true;\n return /* @__PURE__ */ jsxs(RadioProvider, { scope: __scopeRadio, checked, disabled, children: [\n /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n role: \"radio\",\n \"aria-checked\": checked,\n \"data-state\": getState(checked),\n \"data-disabled\": disabled ? \"\" : void 0,\n disabled,\n value,\n ...radioProps,\n ref: composedRefs,\n onClick: composeEventHandlers(props.onClick, (event) => {\n if (!checked) onCheck?.();\n if (isFormControl) {\n hasConsumerStoppedPropagationRef.current = event.isPropagationStopped();\n if (!hasConsumerStoppedPropagationRef.current) event.stopPropagation();\n }\n })\n }\n ),\n isFormControl && /* @__PURE__ */ jsx(\n RadioBubbleInput,\n {\n control: button,\n bubbles: !hasConsumerStoppedPropagationRef.current,\n name,\n value,\n checked,\n required,\n disabled,\n form,\n style: { transform: \"translateX(-100%)\" }\n }\n )\n ] });\n }\n);\nRadio.displayName = RADIO_NAME;\nvar INDICATOR_NAME = \"RadioIndicator\";\nvar RadioIndicator = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeRadio, forceMount, ...indicatorProps } = props;\n const context = useRadioContext(INDICATOR_NAME, __scopeRadio);\n return /* @__PURE__ */ jsx(Presence, { present: forceMount || context.checked, children: /* @__PURE__ */ jsx(\n Primitive.span,\n {\n \"data-state\": getState(context.checked),\n \"data-disabled\": context.disabled ? \"\" : void 0,\n ...indicatorProps,\n ref: forwardedRef\n }\n ) });\n }\n);\nRadioIndicator.displayName = INDICATOR_NAME;\nvar BUBBLE_INPUT_NAME = \"RadioBubbleInput\";\nvar RadioBubbleInput = React.forwardRef(\n ({\n __scopeRadio,\n control,\n checked,\n bubbles = true,\n ...props\n }, forwardedRef) => {\n const ref = React.useRef(null);\n const composedRefs = useComposedRefs(ref, forwardedRef);\n const prevChecked = usePrevious(checked);\n const controlSize = useSize(control);\n React.useEffect(() => {\n const input = ref.current;\n if (!input) return;\n const inputProto = window.HTMLInputElement.prototype;\n const descriptor = Object.getOwnPropertyDescriptor(\n inputProto,\n \"checked\"\n );\n const setChecked = descriptor.set;\n if (prevChecked !== checked && setChecked) {\n const event = new Event(\"click\", { bubbles });\n setChecked.call(input, checked);\n input.dispatchEvent(event);\n }\n }, [prevChecked, checked, bubbles]);\n return /* @__PURE__ */ jsx(\n Primitive.input,\n {\n type: \"radio\",\n \"aria-hidden\": true,\n defaultChecked: checked,\n ...props,\n tabIndex: -1,\n ref: composedRefs,\n style: {\n ...props.style,\n ...controlSize,\n position: \"absolute\",\n pointerEvents: \"none\",\n opacity: 0,\n margin: 0\n }\n }\n );\n }\n);\nRadioBubbleInput.displayName = BUBBLE_INPUT_NAME;\nfunction getState(checked) {\n return checked ? \"checked\" : \"unchecked\";\n}\n\n// src/radio-group.tsx\nimport { jsx as jsx2 } from \"react/jsx-runtime\";\nvar ARROW_KEYS = [\"ArrowUp\", \"ArrowDown\", \"ArrowLeft\", \"ArrowRight\"];\nvar RADIO_GROUP_NAME = \"RadioGroup\";\nvar [createRadioGroupContext, createRadioGroupScope] = createContextScope2(RADIO_GROUP_NAME, [\n createRovingFocusGroupScope,\n createRadioScope\n]);\nvar useRovingFocusGroupScope = createRovingFocusGroupScope();\nvar useRadioScope = createRadioScope();\nvar [RadioGroupProvider, useRadioGroupContext] = createRadioGroupContext(RADIO_GROUP_NAME);\nvar RadioGroup = React2.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeRadioGroup,\n name,\n defaultValue,\n value: valueProp,\n required = false,\n disabled = false,\n orientation,\n dir,\n loop = true,\n onValueChange,\n ...groupProps\n } = props;\n const rovingFocusGroupScope = useRovingFocusGroupScope(__scopeRadioGroup);\n const direction = useDirection(dir);\n const [value, setValue] = useControllableState({\n prop: valueProp,\n defaultProp: defaultValue ?? null,\n onChange: onValueChange,\n caller: RADIO_GROUP_NAME\n });\n return /* @__PURE__ */ jsx2(\n RadioGroupProvider,\n {\n scope: __scopeRadioGroup,\n name,\n required,\n disabled,\n value,\n onValueChange: setValue,\n children: /* @__PURE__ */ jsx2(\n RovingFocusGroup.Root,\n {\n asChild: true,\n ...rovingFocusGroupScope,\n orientation,\n dir: direction,\n loop,\n children: /* @__PURE__ */ jsx2(\n Primitive2.div,\n {\n role: \"radiogroup\",\n \"aria-required\": required,\n \"aria-orientation\": orientation,\n \"data-disabled\": disabled ? \"\" : void 0,\n dir: direction,\n ...groupProps,\n ref: forwardedRef\n }\n )\n }\n )\n }\n );\n }\n);\nRadioGroup.displayName = RADIO_GROUP_NAME;\nvar ITEM_NAME = \"RadioGroupItem\";\nvar RadioGroupItem = React2.forwardRef(\n (props, forwardedRef) => {\n const { __scopeRadioGroup, disabled, ...itemProps } = props;\n const context = useRadioGroupContext(ITEM_NAME, __scopeRadioGroup);\n const isDisabled = context.disabled || disabled;\n const rovingFocusGroupScope = useRovingFocusGroupScope(__scopeRadioGroup);\n const radioScope = useRadioScope(__scopeRadioGroup);\n const ref = React2.useRef(null);\n const composedRefs = useComposedRefs2(forwardedRef, ref);\n const checked = context.value === itemProps.value;\n const isArrowKeyPressedRef = React2.useRef(false);\n React2.useEffect(() => {\n const handleKeyDown = (event) => {\n if (ARROW_KEYS.includes(event.key)) {\n isArrowKeyPressedRef.current = true;\n }\n };\n const handleKeyUp = () => isArrowKeyPressedRef.current = false;\n document.addEventListener(\"keydown\", handleKeyDown);\n document.addEventListener(\"keyup\", handleKeyUp);\n return () => {\n document.removeEventListener(\"keydown\", handleKeyDown);\n document.removeEventListener(\"keyup\", handleKeyUp);\n };\n }, []);\n return /* @__PURE__ */ jsx2(\n RovingFocusGroup.Item,\n {\n asChild: true,\n ...rovingFocusGroupScope,\n focusable: !isDisabled,\n active: checked,\n children: /* @__PURE__ */ jsx2(\n Radio,\n {\n disabled: isDisabled,\n required: context.required,\n checked,\n ...radioScope,\n ...itemProps,\n name: context.name,\n ref: composedRefs,\n onCheck: () => context.onValueChange(itemProps.value),\n onKeyDown: composeEventHandlers2((event) => {\n if (event.key === \"Enter\") event.preventDefault();\n }),\n onFocus: composeEventHandlers2(itemProps.onFocus, () => {\n if (isArrowKeyPressedRef.current) ref.current?.click();\n })\n }\n )\n }\n );\n }\n);\nRadioGroupItem.displayName = ITEM_NAME;\nvar INDICATOR_NAME2 = \"RadioGroupIndicator\";\nvar RadioGroupIndicator = React2.forwardRef(\n (props, forwardedRef) => {\n const { __scopeRadioGroup, ...indicatorProps } = props;\n const radioScope = useRadioScope(__scopeRadioGroup);\n return /* @__PURE__ */ jsx2(RadioIndicator, { ...radioScope, ...indicatorProps, ref: forwardedRef });\n }\n);\nRadioGroupIndicator.displayName = INDICATOR_NAME2;\nvar Root2 = RadioGroup;\nvar Item2 = RadioGroupItem;\nvar Indicator = RadioGroupIndicator;\nexport {\n Indicator,\n Item2 as Item,\n RadioGroup,\n RadioGroupIndicator,\n RadioGroupItem,\n Root2 as Root,\n createRadioGroupScope\n};\n//# sourceMappingURL=index.mjs.map\n","\"use client\"\n\nimport * as React from \"react\"\nimport { RadioGroup as RadioGroupPrimitive } from \"radix-ui\"\n\nimport { cn } from \"src/shadcn/lib/utils\"\n\nconst RadioGroup = React.forwardRef<\n React.ElementRef<typeof RadioGroupPrimitive.Root>,\n React.ComponentProps<typeof RadioGroupPrimitive.Root>\n>(({ className, ...props }, ref) => (\n <RadioGroupPrimitive.Root\n ref={ref}\n data-slot=\"radio-group\"\n className={cn(\"grid w-full gap-2\", className)}\n {...props}\n />\n))\n\nRadioGroup.displayName = \"RadioGroup\"\n\nconst RadioGroupItem = React.forwardRef<\n React.ElementRef<typeof RadioGroupPrimitive.Item>,\n React.ComponentProps<typeof RadioGroupPrimitive.Item>\n>(({ className, ...props }, ref) => (\n <RadioGroupPrimitive.Item\n ref={ref}\n data-slot=\"radio-group-item\"\n className={cn(\n \"group/radio-group-item peer relative flex aspect-square size-4 shrink-0 rounded-full border border-input outline-none after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary\",\n className\n )}\n {...props}\n >\n <RadioGroupPrimitive.Indicator\n data-slot=\"radio-group-indicator\"\n className=\"flex size-4 items-center justify-center\"\n >\n <span className=\"absolute top-1/2 start-1/2 size-2 -translate-x-1/2 rtl:translate-x-1/2 -translate-y-1/2 rounded-full bg-primary-foreground\" />\n </RadioGroupPrimitive.Indicator>\n </RadioGroupPrimitive.Item>\n))\n\nRadioGroupItem.displayName = \"RadioGroupItem\"\n\nexport { RadioGroup, RadioGroupItem }\n","import * as React from \"react\";\nimport { RadioGroup as RadioGroupPrimitive } from \"radix-ui\";\nimport { cn } from \"src/shadcn/lib/utils\";\n\nimport { RadioGroup as ShadcnRadioGroup } from \"src/shadcn/components/radio-group\";\n\nconst RadioGroup = React.forwardRef<\n React.ElementRef<typeof ShadcnRadioGroup>,\n React.ComponentProps<typeof ShadcnRadioGroup>\n>((props, ref) => <ShadcnRadioGroup ref={ref} {...props} />);\n\nRadioGroup.displayName = \"RadioGroup\";\n\n/**\n * RadioGroupItem re-composed from Radix primitives with the inner dot\n * using flex centering instead of absolute + translate, fixing RTL alignment.\n */\nconst RadioGroupItem = React.forwardRef<\n React.ElementRef<typeof RadioGroupPrimitive.Item>,\n React.ComponentProps<typeof RadioGroupPrimitive.Item>\n>(({ className, ...props }, ref) => (\n <RadioGroupPrimitive.Item\n ref={ref}\n data-slot=\"radio-group-item\"\n className={cn(\n \"group/radio-group-item peer relative flex aspect-square size-4 shrink-0 rounded-full border border-neutral-400 outline-none after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary dark:border-neutral-500 dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 data-checked:border-primary data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary\",\n className\n )}\n {...props}\n >\n <RadioGroupPrimitive.Indicator\n data-slot=\"radio-group-indicator\"\n className=\"flex size-full items-center justify-center\"\n >\n <span className=\"size-2 rounded-full bg-primary-foreground\" />\n </RadioGroupPrimitive.Indicator>\n </RadioGroupPrimitive.Item>\n));\n\nRadioGroupItem.displayName = \"RadioGroupItem\";\n\nexport { RadioGroup, RadioGroupItem };\n"],"names":["createContextScope2","RadioGroup","React2","jsx2","RovingFocusGroup.Root","Primitive2","RadioGroupItem","useComposedRefs2","RovingFocusGroup.Item","composeEventHandlers2","RadioGroupPrimitive.Root","RadioGroupPrimitive.Item","RadioGroupPrimitive.Indicator","ShadcnRadioGroup"],"mappings":";;;;;;;;;;;;;;;;;;;AAuBA,IAAI,UAAU,GAAG,OAAO;AACxB,IAAI,CAAC,kBAAkB,EAAE,gBAAgB,CAAC,GAAG,kBAAkB,CAAC,UAAU,CAAC;AAC3E,IAAI,CAAC,aAAa,EAAE,eAAe,CAAC,GAAG,kBAAkB,CAAC,UAAU,CAAC;AACrE,IAAI,KAAK,GAAG,KAAK,CAAC,UAAU;AAC5B,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK;AAC3B,IAAI,MAAM;AACV,MAAM,YAAY;AAClB,MAAM,IAAI;AACV,MAAM,OAAO,GAAG,KAAK;AACrB,MAAM,QAAQ;AACd,MAAM,QAAQ;AACd,MAAM,KAAK,GAAG,IAAI;AAClB,MAAM,OAAO;AACb,MAAM,IAAI;AACV,MAAM,GAAG;AACT,KAAK,GAAG,KAAK;AACb,IAAI,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC;AACpD,IAAI,MAAM,YAAY,GAAG,eAAe,CAAC,YAAY,EAAE,CAAC,IAAI,KAAK,SAAS,CAAC,IAAI,CAAC,CAAC;AACjF,IAAI,MAAM,gCAAgC,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC;AAChE,IAAI,MAAM,aA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A,EAAW,EAAA;AAAA,MACT,mpBAAA;AAAA,MACA;AAAA,KACF;AAAA,IACC,GAAG,KAAA;AAAA,IAEJ,QAAA,kBAAA,GAAA;AAAA,MAACC,SAAoB;AAAA,MAApB;AAAA,QACC,WAAA,EAAU,uBAAA;AAAA,QACV,SAAA,EAAU,4CAAA;AAAA,QAEV,QAAA,kBAAA,GAAA,CAAC,MAAA,EAAA,EAAK,SAAA,EAAU,2CAAA,EAA4C;AAAA;AAAA;AAC9D;AACF,CACD;AAED,cAAA,CAAe,WAAA,GAAc,gBAAA;;;;","x_google_ignoreList":[0]}
@@ -4,7 +4,7 @@ import * as React from 'react';
4
4
  import { c as cva } from '../index-Bo3AAQJp.js';
5
5
  import { u as useIsMobile } from '../use-mobile-QbHL72cX.js';
6
6
  import { B as Button } from '../button-CrEMzWKw.js';
7
- import { I as Input } from '../input-1J5oQa1u.js';
7
+ import { I as Input } from '../input-CNbQc_tG.js';
8
8
  import { S as Separator } from '../separator-ByRsc-y-.js';
9
9
  import { d as Sheet, g as SheetContent, S as SheetHeader, b as SheetTitle, c as SheetDescription } from '../sheet-BIqq9HBB.js';
10
10
  import { S as Skeleton } from '../skeleton-D9P1ZyiS.js';
@@ -1,4 +1,3 @@
1
- import type React from "react";
2
- import { Slider as ShadcnSlider } from "src/shadcn/components/slider";
3
- declare const Slider: (props: React.ComponentProps<typeof ShadcnSlider>) => import("react/jsx-runtime").JSX.Element;
1
+ import * as React from "react";
2
+ declare const Slider: React.ForwardRefExoticComponent<Omit<Omit<import("@radix-ui/react-slider").SliderProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
4
3
  export { Slider };
@@ -554,14 +554,7 @@ var Track = SliderTrack;
554
554
  var Range = SliderRange;
555
555
  var Thumb = SliderThumb;
556
556
 
557
- function Slider$1({
558
- className,
559
- defaultValue,
560
- value,
561
- min = 0,
562
- max = 100,
563
- ...props
564
- }) {
557
+ const Slider$1 = React.forwardRef(({ className, defaultValue, value, min = 0, max = 100, ...props }, ref) => {
565
558
  const _values = React.useMemo(
566
559
  () => Array.isArray(value) ? value : Array.isArray(defaultValue) ? defaultValue : [min, max],
567
560
  [value, defaultValue, min, max]
@@ -569,6 +562,7 @@ function Slider$1({
569
562
  return /* @__PURE__ */ jsxs(
570
563
  Root,
571
564
  {
565
+ ref,
572
566
  "data-slot": "slider",
573
567
  defaultValue,
574
568
  value,
@@ -605,9 +599,11 @@ function Slider$1({
605
599
  ]
606
600
  }
607
601
  );
608
- }
602
+ });
603
+ Slider$1.displayName = "Slider";
609
604
 
610
- const Slider = (props) => /* @__PURE__ */ jsx(Slider$1, { ...props });
605
+ const Slider = React.forwardRef((props, ref) => /* @__PURE__ */ jsx(Slider$1, { ref, ...props }));
606
+ Slider.displayName = "Slider";
611
607
 
612
608
  export { Slider };
613
609
  //# sourceMappingURL=Slider.js.map