@fuf-stack/uniform 1.20.12 → 1.20.13

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/dist/RadioBoxes/index.d.cts +1 -1
  2. package/dist/RadioBoxes/index.d.ts +1 -1
  3. package/dist/Radios/index.d.cts +1 -1
  4. package/dist/Radios/index.d.ts +1 -1
  5. package/dist/Select/index.cjs +1 -1
  6. package/dist/Select/index.d.cts +1 -1
  7. package/dist/Select/index.d.ts +1 -1
  8. package/dist/Select/index.js +1 -1
  9. package/dist/{Select-CZnEBGdn.js → Select-Bz3VmBM2.js} +8 -4
  10. package/dist/Select-Bz3VmBM2.js.map +1 -0
  11. package/dist/{Select-BH1Tbqwk.cjs → Select-DbcoRSgi.cjs} +8 -4
  12. package/dist/Select-DbcoRSgi.cjs.map +1 -0
  13. package/dist/Slider/index.d.cts +1 -1
  14. package/dist/Slider/index.d.ts +1 -1
  15. package/dist/Switch/index.d.cts +1 -1
  16. package/dist/Switch/index.d.ts +1 -1
  17. package/dist/hooks/useFormContext/index.d.cts +1 -1
  18. package/dist/hooks/useFormContext/index.d.ts +1 -1
  19. package/dist/hooks/useUniformField/index.d.cts +1 -1
  20. package/dist/hooks/useUniformField/index.d.ts +1 -1
  21. package/dist/hooks/useUniformFieldArray/index.d.cts +1 -1
  22. package/dist/hooks/useUniformFieldArray/index.d.ts +1 -1
  23. package/dist/{index-D6QbkuWC.d.ts → index--LtIs0zN.d.ts} +4 -4
  24. package/dist/{index-D6QbkuWC.d.ts.map → index--LtIs0zN.d.ts.map} +1 -1
  25. package/dist/{index-C_3x4Vph.d.cts → index-9nJkzuEx.d.cts} +4 -4
  26. package/dist/{index-C_3x4Vph.d.cts.map → index-9nJkzuEx.d.cts.map} +1 -1
  27. package/dist/{index-DTwIpIWh.d.ts → index-9wnJP0-_.d.ts} +4 -4
  28. package/dist/{index-DTwIpIWh.d.ts.map → index-9wnJP0-_.d.ts.map} +1 -1
  29. package/dist/{index-D-UGVdC1.d.ts → index-B682jKQ_.d.ts} +4 -4
  30. package/dist/{index-D-UGVdC1.d.ts.map → index-B682jKQ_.d.ts.map} +1 -1
  31. package/dist/{index-CD9w4hqS.d.cts → index-BH09nkLw.d.cts} +4 -4
  32. package/dist/{index-CD9w4hqS.d.cts.map → index-BH09nkLw.d.cts.map} +1 -1
  33. package/dist/{index-CsDbfwLQ.d.cts → index-Bnbxpzyn.d.cts} +7 -7
  34. package/dist/{index-CsDbfwLQ.d.cts.map → index-Bnbxpzyn.d.cts.map} +1 -1
  35. package/dist/{index-CjB9iCSm.d.ts → index-CFtgFlMy.d.ts} +7 -7
  36. package/dist/{index-CjB9iCSm.d.ts.map → index-CFtgFlMy.d.ts.map} +1 -1
  37. package/dist/{index-eEJp36Ma.d.cts → index-LwJL1Zry.d.cts} +4 -4
  38. package/dist/{index-eEJp36Ma.d.cts.map → index-LwJL1Zry.d.cts.map} +1 -1
  39. package/dist/{index-Dz1C3MeK.d.cts → index-cxajYZel.d.cts} +4 -4
  40. package/dist/{index-Dz1C3MeK.d.cts.map → index-cxajYZel.d.cts.map} +1 -1
  41. package/dist/{index-RCXYx5Yp.d.ts → index-w6__3xcP.d.ts} +4 -4
  42. package/dist/{index-RCXYx5Yp.d.ts.map → index-w6__3xcP.d.ts.map} +1 -1
  43. package/dist/index.cjs +1 -1
  44. package/dist/index.d.cts +8 -8
  45. package/dist/index.d.ts +8 -8
  46. package/dist/index.js +1 -1
  47. package/dist/{useFormContext-JE8dwbCT.d.cts → useFormContext-C29MZE_C.d.cts} +3 -3
  48. package/dist/{useFormContext-JE8dwbCT.d.cts.map → useFormContext-C29MZE_C.d.cts.map} +1 -1
  49. package/dist/{useFormContext-BYnHt6-m.d.ts → useFormContext-DTE4pvL2.d.ts} +3 -3
  50. package/dist/{useFormContext-BYnHt6-m.d.ts.map → useFormContext-DTE4pvL2.d.ts.map} +1 -1
  51. package/dist/{useUniformField-B3Dj8K5J.d.ts → useUniformField-DGBTwJLI.d.ts} +2 -2
  52. package/dist/{useUniformField-B3Dj8K5J.d.ts.map → useUniformField-DGBTwJLI.d.ts.map} +1 -1
  53. package/dist/{useUniformField-BWKBsUEX.d.cts → useUniformField-DQsQnuA_.d.cts} +2 -2
  54. package/dist/{useUniformField-BWKBsUEX.d.cts.map → useUniformField-DQsQnuA_.d.cts.map} +1 -1
  55. package/dist/{useUniformFieldArray-RvOYml8h.d.cts → useUniformFieldArray-BFkeHpUv.d.cts} +2 -2
  56. package/dist/{useUniformFieldArray-RvOYml8h.d.cts.map → useUniformFieldArray-BFkeHpUv.d.cts.map} +1 -1
  57. package/dist/{useUniformFieldArray-C0U3eBr7.d.ts → useUniformFieldArray-DJV2LOpX.d.ts} +2 -2
  58. package/dist/{useUniformFieldArray-C0U3eBr7.d.ts.map → useUniformFieldArray-DJV2LOpX.d.ts.map} +1 -1
  59. package/package.json +3 -3
  60. package/dist/Select-BH1Tbqwk.cjs.map +0 -1
  61. package/dist/Select-CZnEBGdn.js.map +0 -1
@@ -1,2 +1,2 @@
1
- import { n as RadioBoxes, r as RadioBoxesProps, t as radioBoxVariants } from "../index-Dz1C3MeK.cjs";
1
+ import { n as RadioBoxes, r as RadioBoxesProps, t as radioBoxVariants } from "../index-cxajYZel.cjs";
2
2
  export { RadioBoxes, RadioBoxes as default, type RadioBoxesProps, radioBoxVariants };
@@ -1,2 +1,2 @@
1
- import { n as RadioBoxes, r as RadioBoxesProps, t as radioBoxVariants } from "../index-D-UGVdC1.js";
1
+ import { n as RadioBoxes, r as RadioBoxesProps, t as radioBoxVariants } from "../index-B682jKQ_.js";
2
2
  export { RadioBoxes, RadioBoxes as default, type RadioBoxesProps, radioBoxVariants };
@@ -1,2 +1,2 @@
1
- import { n as RadiosProps, t as Radios } from "../index-C_3x4Vph.cjs";
1
+ import { n as RadiosProps, t as Radios } from "../index-9nJkzuEx.cjs";
2
2
  export { Radios, Radios as default, type RadiosProps };
@@ -1,2 +1,2 @@
1
- import { n as RadiosProps, t as Radios } from "../index-D6QbkuWC.js";
1
+ import { n as RadiosProps, t as Radios } from "../index--LtIs0zN.js";
2
2
  export { Radios, Radios as default, type RadiosProps };
@@ -2,6 +2,6 @@ Object.defineProperties(exports, {
2
2
  __esModule: { value: true },
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
- const require_Select = require("../Select-BH1Tbqwk.cjs");
5
+ const require_Select = require("../Select-DbcoRSgi.cjs");
6
6
  exports.Select = require_Select.Select;
7
7
  exports.default = require_Select.Select_default;
@@ -1,2 +1,2 @@
1
- import { n as SelectProps, t as Select } from "../index-CsDbfwLQ.cjs";
1
+ import { n as SelectProps, t as Select } from "../index-Bnbxpzyn.cjs";
2
2
  export { Select, Select as default, type SelectProps };
@@ -1,2 +1,2 @@
1
- import { n as SelectProps, t as Select } from "../index-CjB9iCSm.js";
1
+ import { n as SelectProps, t as Select } from "../index-CFtgFlMy.js";
2
2
  export { Select, Select as default, type SelectProps };
@@ -1,2 +1,2 @@
1
- import { n as Select, t as Select_default } from "../Select-CZnEBGdn.js";
1
+ import { n as Select, t as Select_default } from "../Select-Bz3VmBM2.js";
2
2
  export { Select, Select_default as default };
@@ -20,7 +20,7 @@ const selectVariants = tv({ slots: {
20
20
  indicatorsContainer: "gap-1 p-1",
21
21
  indicatorSeparator: "bg-default-300",
22
22
  input: "py-0.5 pl-1",
23
- label: "pointer-events-auto relative bottom-1.5 ml-1 subpixel-antialiased text-small group-data-[invalid=true]:!text-danger group-data-[required=true]:after:ml-0.5 group-data-[required=true]:after:text-danger group-data-[required=true]:after:content-[\"*\"]",
23
+ label: "pointer-events-auto relative bottom-1.5 ml-1 text-foreground subpixel-antialiased text-small group-data-[invalid=true]:!text-danger",
24
24
  loadingIndicator: "",
25
25
  loadingMessage: "rounded-sm p-2 text-foreground-500",
26
26
  menu: "mt-2 rounded-xl border border-default-200 bg-content1 p-1 shadow-lg",
@@ -215,12 +215,16 @@ const Select = ({ className = void 0, clearable = true, debugMenuOpen = false, f
215
215
  "data-required": required,
216
216
  "data-testid": `${testId}_wrapper`,
217
217
  children: [
218
- label ? /* @__PURE__ */ jsx("label", {
218
+ label ? /* @__PURE__ */ jsxs("label", {
219
219
  className: classNames.label,
220
220
  "data-slot": "label",
221
221
  htmlFor: `react-select-${name}-input`,
222
222
  id: getLabelProps().id,
223
- children: label
223
+ children: [label, required ? /* @__PURE__ */ jsx("span", {
224
+ "aria-hidden": true,
225
+ className: "ml-0.5 text-danger",
226
+ children: "*"
227
+ }) : null]
224
228
  }) : null,
225
229
  /* @__PURE__ */ jsx(ReactSelect, {
226
230
  ref,
@@ -273,4 +277,4 @@ var Select_default = Select;
273
277
  //#endregion
274
278
  export { Select as n, Select_default as t };
275
279
 
276
- //# sourceMappingURL=Select-CZnEBGdn.js.map
280
+ //# sourceMappingURL=Select-Bz3VmBM2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Select-Bz3VmBM2.js","names":[],"sources":["../src/Select/Select.tsx","../src/Select/index.ts"],"sourcesContent":["import type { TVClassName, TVProps } from '@fuf-stack/pixel-utils';\nimport type { ReactNode } from 'react';\nimport type { MultiValue, Props, SingleValue } from 'react-select';\n\nimport { useState } from 'react';\nimport ReactSelect, { components } from 'react-select';\n\nimport { useSelect } from '@heroui/select';\n\nimport { cn, slugify, tv, variantsToClassNames } from '@fuf-stack/pixel-utils';\n\nimport { createOptionValueConverter, isValueEmpty } from '../helpers';\nimport { useFormContext } from '../hooks/useFormContext';\nimport { useUniformField } from '../hooks/useUniformField';\n\nexport const selectVariants = tv({\n slots: {\n base: 'group leading-normal',\n clearIndicator:\n 'rounded-md p-1 text-foreground-500 hover:cursor-pointer hover:bg-default-200 hover:text-foreground-800',\n control:\n 'duration-150! rounded-lg border-2 border-default-200 bg-content1 transition-background hover:border-default-400 group-data-[invalid=true]:border-danger group-data-[invalid=true]:hover:border-danger motion-reduce:transition-none',\n control_focused: 'border-focus',\n crossIcon: '',\n downChevron: '',\n dropdownIndicator:\n 'rounded-md p-1 text-foreground-500 hover:cursor-pointer hover:bg-default-200 hover:text-black',\n group: '',\n groupHeading: 'mb-1 ml-3 mt-2 text-sm text-foreground-500',\n indicatorsContainer: 'gap-1 p-1',\n indicatorSeparator: 'bg-default-300',\n input: 'py-0.5 pl-1',\n // see HeroUI styles for group-data condition,\n // e.g.: https://github.com/heroui-inc/heroui/blob/main/packages/core/theme/src/components/select.ts\n label:\n 'pointer-events-auto relative bottom-1.5 ml-1 text-foreground subpixel-antialiased text-small group-data-[invalid=true]:!text-danger',\n loadingIndicator: '',\n loadingMessage: 'rounded-sm p-2 text-foreground-500',\n menu: 'mt-2 rounded-xl border border-default-200 bg-content1 p-1 shadow-lg',\n menuList: '',\n // ensure menu has same z-index as modal so it is visible when rendered in modal\n // see: https://github.com/heroui-inc/heroui/blob/main/packages/core/theme/src/components/modal.ts (see z-50)\n menuPortal: 'z-50!',\n multiValue: 'items-center gap-1.5 rounded bg-default-100 py-0.5 pl-2 pr-1',\n multiValueContainer: '',\n multiValueLabel: 'py-0.5 leading-6',\n multiValueRemove:\n 'rounded text-default-500 hover:cursor-pointer hover:border-default-300 hover:text-default-800',\n noOptionsMessage: 'rounded-sm p-2 text-foreground-500',\n option: 'rounded px-3 py-2 hover:cursor-pointer',\n option_disabled:\n 'cursor-not-allowed! hover:cursor-not-allowed! opacity-disabled',\n option_focused: 'bg-default-100 active:bg-default-200',\n option_selected: 'bg-default-300',\n placeholder: 'ml-1 py-0.5 pl-1 text-sm text-foreground-500',\n selectContainer: '',\n singleValue: 'ml-1! leading-7!',\n valueContainer: 'gap-1 p-1',\n },\n});\n\ninterface SelectOption {\n /** set option to disabled state */\n disabled?: boolean;\n /**\n * True when option was auto-generated because the value wasn't found in options.\n * Use in renderOptionLabel to render a component that fetches the real label.\n */\n isFallback?: boolean;\n /** option label */\n label?: ReactNode;\n /** option value */\n value: string | number;\n}\n\ntype VariantProps = TVProps<typeof selectVariants>;\ntype ClassName = TVClassName<typeof selectVariants>;\n\nexport interface SelectProps extends VariantProps {\n /** Custom aria-label for accessibility. If not provided, falls back to field name when no visible label exists */\n ariaLabel?: string;\n /** CSS class name */\n className?: ClassName; // string;\n /** Determine if the */\n clearable?: boolean;\n /** Set the select to disabled state. */\n disabled?: boolean;\n /** Force menu open for debugging or visual testing. */\n debugMenuOpen?: boolean;\n /** Filter Select Options */\n filterOption?:\n | undefined\n | ((option?: SelectOption, inputValue?: string) => boolean);\n /** Format the label of the option */\n renderOptionLabel?: undefined | Props['formatOptionLabel'];\n /** The value of the search input */\n inputValue?: string;\n /** Label that should be associated with the select. */\n label?: ReactNode;\n /** Set the select to a loading state. */\n loading?: boolean;\n /** switch between single and multi select mode. */\n multiSelect?: boolean;\n /** The name for the Select component, used by react-hook-form */\n name: string;\n /** Placeholder that is displayed when nothing is selected */\n placeholder?: string;\n /** The options for the Select component */\n options: SelectOption[];\n /** Handle change events on the input */\n onInputChange?: Props['onInputChange'];\n /**\n * Fallback option(s) for async selects when value isn't in current options.\n * Use when the selected value may not be in the options list (e.g., after\n * search results change). Used only if value not found in options.\n * For single select: pass the option object or undefined\n * For multi-select: pass an array of option objects\n */\n selectedOptionFallback?: SelectOption | SelectOption[];\n /** HTML data-testid attribute used in e2e tests */\n testId?: string;\n}\n\nconst InputComponent: typeof components.Input = (props) => {\n // @ts-expect-error data-testid is not a default prop\n // eslint-disable-next-line react/destructuring-assignment\n const testId = `${props.selectProps['data-testid']}`;\n return <components.Input data-testid={testId} {...props} />;\n};\n\nconst ControlComponent: typeof components.Control = (props) => {\n // @ts-expect-error data-testid is not a default prop\n // eslint-disable-next-line react/destructuring-assignment\n const testId = `${props.selectProps['data-testid']}_select`;\n return (\n <div data-testid={testId}>\n <components.Control {...props} />\n </div>\n );\n};\n\nconst OptionComponent: typeof components.Option = (props) => {\n const { isDisabled } = props;\n // @ts-expect-error data-testid is not a default prop\n // eslint-disable-next-line react/destructuring-assignment\n const testId = `${props.selectProps['data-testid']}_select_option_${slugify(String(props?.data?.testId ?? props?.data?.value), { replaceDots: true })}`;\n return (\n <div aria-disabled={isDisabled ? true : undefined} data-testid={testId}>\n <components.Option {...props} />\n </div>\n );\n};\n\nconst DropdownIndicatorComponent: typeof components.DropdownIndicator = (\n props,\n) => {\n // @ts-expect-error data-testid is not a default prop\n const testId = props?.selectProps['data-testid'] as string;\n return (\n <div data-testid={`${testId}_select_dropdown`}>\n <components.DropdownIndicator {...props} />\n </div>\n );\n};\n\n/** Select component based on [HeroUI Select](https://www.heroui.com//docs/components/select) and [React-Select](https://react-select.com/home) */\nconst Select = ({\n className = undefined,\n clearable = true,\n debugMenuOpen = false,\n filterOption = undefined,\n renderOptionLabel = undefined,\n inputValue = undefined,\n loading = false,\n multiSelect = false,\n name,\n onInputChange = undefined,\n options,\n placeholder = undefined,\n selectedOptionFallback = undefined,\n ...uniformFieldProps\n}: SelectProps) => {\n const {\n ariaLabel,\n disabled,\n errorMessage,\n field: { onBlur, onChange, ref, value },\n getErrorMessageProps,\n getHelperWrapperProps,\n getLabelProps,\n invalid,\n label,\n required,\n testId,\n } = useUniformField({\n name,\n ...uniformFieldProps,\n });\n\n // Get getFieldState to check isTouched in onChange callback\n const { getFieldState } = useFormContext();\n\n // Track if the select is focused\n const [isFocused, setIsFocused] = useState(false);\n\n // Create converter to preserve number types for option values\n const { convertToOriginalType } = createOptionValueConverter(options);\n\n // classNames from slots\n const variants = selectVariants();\n const classNames = variantsToClassNames(variants, className, 'base');\n\n // React-select classNames configuration\n const reactSelectClassNames = {\n clearIndicator: () => {\n return classNames.clearIndicator;\n },\n control: () => {\n return cn(classNames.control, {\n [classNames.control_focused]: isFocused && !invalid,\n });\n },\n dropdownIndicator: () => {\n return classNames.dropdownIndicator;\n },\n groupHeading: () => {\n return classNames.groupHeading;\n },\n indicatorSeparator: () => {\n return classNames.indicatorSeparator;\n },\n indicatorsContainer: () => {\n return classNames.indicatorsContainer;\n },\n input: () => {\n return classNames.input;\n },\n loadingIndicator: () => {\n return classNames.loadingIndicator;\n },\n loadingMessage: () => {\n return classNames.loadingMessage;\n },\n menu: () => {\n return classNames.menu;\n },\n menuList: () => {\n return classNames.menuList;\n },\n menuPortal: () => {\n return classNames.menuPortal;\n },\n multiValue: () => {\n return classNames.multiValue;\n },\n multiValueLabel: () => {\n return cn(classNames.multiValueLabel, `${getValueProps().className}`);\n },\n multiValueRemove: () => {\n return classNames.multiValueRemove;\n },\n noOptionsMessage: () => {\n return classNames.noOptionsMessage;\n },\n option: ({\n isDisabled: optionIsDisabled,\n isFocused: optionIsFocused,\n isSelected: optionIsSelected,\n }: {\n isDisabled: boolean;\n isFocused: boolean;\n isSelected: boolean;\n }) => {\n return cn(classNames.option, {\n [classNames.option_disabled]: optionIsDisabled,\n [classNames.option_focused]: optionIsFocused,\n [classNames.option_selected]: optionIsSelected,\n });\n },\n placeholder: () => {\n return classNames.placeholder;\n },\n singleValue: () => {\n return cn(classNames.singleValue, `${getValueProps().className}`);\n },\n valueContainer: () => {\n return classNames.valueContainer;\n },\n };\n\n const { getBaseProps, getTriggerProps, getValueProps } = useSelect({\n children: [],\n classNames,\n errorMessage,\n isDisabled: disabled,\n isInvalid: invalid,\n isLoading: loading,\n isRequired: required,\n label,\n labelPlacement: 'outside',\n });\n\n // react-select expects `isDisabled`, while our option contract uses `disabled`.\n const reactSelectOptions = options.map((option) => {\n return {\n ...option,\n isDisabled: option.disabled,\n };\n });\n\n // Compute selected option(s) for react-select\n //\n // Priority for finding options:\n // 1. Look in current options list\n // 2. Use selectedOptionFallback prop (for async selects with pre-fetched data)\n // 3. Create fallback with value as label\n //\n // Handles edge cases:\n // - Compares as strings to support both string and number values\n // - Returns null for empty single-select (required by react-select to clear)\n // - Creates fallback options when value exists but isn't in options list\n // (common with async selects where options change after selection)\n const reactSelectValue = (() => {\n // Helper to find option by value\n const findOption = (v: string | number): SelectOption => {\n // First, look in options list\n const inOptions = options.find((option) => {\n return String(option.value) === String(v);\n });\n if (inOptions) {\n return inOptions;\n }\n\n // Second, look in selectedOptionFallback prop (for async selects)\n if (selectedOptionFallback) {\n if (Array.isArray(selectedOptionFallback)) {\n const inSelected = selectedOptionFallback.find((option) => {\n return String(option.value) === String(v);\n });\n if (inSelected) {\n return inSelected;\n }\n } else if (String(selectedOptionFallback.value) === String(v)) {\n return selectedOptionFallback;\n }\n }\n\n // Fallback: create option with value as label, marked as fallback\n return { isFallback: true, label: String(v), value: v };\n };\n\n if (multiSelect) {\n if (!Array.isArray(value) || isValueEmpty(value)) {\n return [];\n }\n return value.map((v) => {\n return findOption(v);\n });\n }\n\n // Single select - use isValueEmpty to handle marker strings (__NULL__, etc.)\n if (isValueEmpty(value)) {\n return null;\n }\n return findOption(value);\n })();\n\n // Handle selection change\n const handleChange = (\n option: MultiValue<SelectOption> | SingleValue<SelectOption>,\n ) => {\n if (multiSelect) {\n onChange(\n (option as SelectOption[])?.map((_option) => {\n return convertToOriginalType(_option.value);\n }),\n );\n } else {\n const newValue = (option as SelectOption)?.value;\n // Pass null explicitly when clearing (not undefined)\n onChange(newValue != null ? convertToOriginalType(newValue) : null);\n }\n // Mark field as touched immediately when a selection is made if not already touched\n // This ensures validation errors show right away (isTouched becomes true)\n // For Select components, selecting an option is a complete user action\n // (unlike text inputs where typing is ongoing), so we mark as touched immediately\n const { isTouched: currentIsTouched } = getFieldState(name, testId);\n if (!currentIsTouched) {\n onBlur();\n }\n };\n\n // Handle blur event\n const handleBlur = () => {\n setIsFocused(false);\n onBlur();\n };\n\n // Handle focus event\n const handleFocus = () => {\n setIsFocused(true);\n };\n\n return (\n <div\n {...getBaseProps()}\n className={cn(classNames.base)}\n // see HeroUI styles for group-data condition (data-invalid),\n // e.g.: https://github.com/heroui-inc/heroui/blob/main/packages/components/select/src/use-select.ts\n data-required={required}\n data-testid={`${testId}_wrapper`}\n >\n {label ? (\n <label\n className={classNames.label}\n data-slot=\"label\"\n htmlFor={`react-select-${name}-input`}\n id={getLabelProps().id}\n >\n {label}\n {required ? (\n <span aria-hidden className=\"ml-0.5 text-danger\">\n *\n </span>\n ) : null}\n </label>\n ) : null}\n <ReactSelect\n ref={ref}\n aria-errormessage=\"\"\n aria-invalid={invalid}\n aria-label={ariaLabel}\n // set aria-labelledby to the label id so that the select is accessible\n aria-labelledby={\n label\n ? getTriggerProps()['aria-labelledby']?.split(' ')[1]\n : undefined\n }\n classNames={reactSelectClassNames}\n components={{\n Control: ControlComponent,\n DropdownIndicator: DropdownIndicatorComponent,\n Input: InputComponent,\n Option: OptionComponent,\n }}\n // Does not affect the testId of the select, but is needed to pass it to sub-components\n data-testid={testId}\n filterOption={filterOption}\n formatOptionLabel={renderOptionLabel}\n inputValue={inputValue}\n instanceId={name}\n isClearable={clearable}\n isDisabled={disabled}\n isLoading={loading}\n isMulti={multiSelect}\n menuIsOpen={debugMenuOpen ? true : undefined}\n menuPosition=\"fixed\"\n menuShouldBlockScroll\n name={name}\n // set menuPosition to fixed so that menu can be rendered\n // inside Card / Modal components, menuShouldBlockScroll\n // prevents container scroll when menu is open\n onBlur={handleBlur}\n onChange={handleChange}\n onFocus={handleFocus}\n onInputChange={onInputChange}\n options={reactSelectOptions}\n placeholder={placeholder}\n unstyled\n value={reactSelectValue}\n />\n {invalid ? (\n <div {...getHelperWrapperProps()}>\n <div {...getErrorMessageProps()}>{errorMessage}</div>\n </div>\n ) : null}\n </div>\n );\n};\n\nexport default Select;\n","import Select from './Select';\n\nexport type { SelectProps } from './Select';\n\nexport { Select };\n\nexport default Select;\n"],"mappings":";;;;;;;;;AAeA,MAAa,iBAAiB,GAAG,EAC/B,OAAO;CACL,MAAM;CACN,gBACE;CACF,SACE;CACF,iBAAiB;CACjB,WAAW;CACX,aAAa;CACb,mBACE;CACF,OAAO;CACP,cAAc;CACd,qBAAqB;CACrB,oBAAoB;CACpB,OAAO;CAGP,OACE;CACF,kBAAkB;CAClB,gBAAgB;CAChB,MAAM;CACN,UAAU;CAGV,YAAY;CACZ,YAAY;CACZ,qBAAqB;CACrB,iBAAiB;CACjB,kBACE;CACF,kBAAkB;CAClB,QAAQ;CACR,iBACE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BACH,OAAO;CAEX;CAGA,MAAM,mBAAmB;EACvB,aAAa,KAAK;EAClB,OAAO;CACT;CAGA,MAAM,oBAAoB;EACxB,aAAa,IAAI;CACnB;CAEA,OACE,qBAAC,OAAD;EACE,GAAI,aAAa;EACjB,WAAW,GAAG,WAAW,IAAI;EAG7B,iBAAe;EACf,eAAa,GAAG,OAAO;YANzB;GAQG,QACC,qBAAC,SAAD;IACE,WAAW,WAAW;IACtB,aAAU;IACV,SAAS,gBAAgB,KAAK;IAC9B,IAAI,cAAc,EAAE;cAJtB,CAMG,OACA,WACC,oBAAC,QAAD;KAAM,eAAA;KAAY,WAAU;eAAqB;IAE3C,CAAA,IACJ,IACC;QACL;GACJ,oBAAC,aAAD;IACO;IACL,qBAAkB;IAClB,gBAAc;IACd,cAAY;IAEZ,mBACE,QACI,gBAAgB,EAAE,oBAAoB,MAAM,GAAG,EAAE,KACjD,KAAA;IAEN,YAAY;IACZ,YAAY;KACV,SAAS;KACT,mBAAmB;KACnB,OAAO;KACP,QAAQ;IACV;IAEA,eAAa;IACC;IACd,mBAAmB;IACP;IACZ,YAAY;IACZ,aAAa;IACb,YAAY;IACZ,WAAW;IACX,SAAS;IACT,YAAY,gBAAgB,OAAO,KAAA;IACnC,cAAa;IACb,uBAAA;IACM;IAIN,QAAQ;IACR,UAAU;IACV,SAAS;IACM;IACf,SAAS;IACI;IACb,UAAA;IACA,OAAO;GACR,CAAA;GACA,UACC,oBAAC,OAAD;IAAK,GAAI,sBAAsB;cAC7B,oBAAC,OAAD;KAAK,GAAI,qBAAqB;eAAI;IAAkB,CAAA;GACjD,CAAA,IACH;EACD;;AAET;;;ACxdA,IAAA,iBAAe"}
@@ -22,7 +22,7 @@ const selectVariants = (0, _fuf_stack_pixel_utils.tv)({ slots: {
22
22
  indicatorsContainer: "gap-1 p-1",
23
23
  indicatorSeparator: "bg-default-300",
24
24
  input: "py-0.5 pl-1",
25
- label: "pointer-events-auto relative bottom-1.5 ml-1 subpixel-antialiased text-small group-data-[invalid=true]:!text-danger group-data-[required=true]:after:ml-0.5 group-data-[required=true]:after:text-danger group-data-[required=true]:after:content-[\"*\"]",
25
+ label: "pointer-events-auto relative bottom-1.5 ml-1 text-foreground subpixel-antialiased text-small group-data-[invalid=true]:!text-danger",
26
26
  loadingIndicator: "",
27
27
  loadingMessage: "rounded-sm p-2 text-foreground-500",
28
28
  menu: "mt-2 rounded-xl border border-default-200 bg-content1 p-1 shadow-lg",
@@ -217,12 +217,16 @@ const Select = ({ className = void 0, clearable = true, debugMenuOpen = false, f
217
217
  "data-required": required,
218
218
  "data-testid": `${testId}_wrapper`,
219
219
  children: [
220
- label ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("label", {
220
+ label ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
221
221
  className: classNames.label,
222
222
  "data-slot": "label",
223
223
  htmlFor: `react-select-${name}-input`,
224
224
  id: getLabelProps().id,
225
- children: label
225
+ children: [label, required ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
226
+ "aria-hidden": true,
227
+ className: "ml-0.5 text-danger",
228
+ children: "*"
229
+ }) : null]
226
230
  }) : null,
227
231
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_select.default, {
228
232
  ref,
@@ -286,4 +290,4 @@ Object.defineProperty(exports, "Select_default", {
286
290
  }
287
291
  });
288
292
 
289
- //# sourceMappingURL=Select-BH1Tbqwk.cjs.map
293
+ //# sourceMappingURL=Select-DbcoRSgi.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Select-DbcoRSgi.cjs","names":["components","useUniformField","useFormContext","createOptionValueConverter","isValueEmpty","ReactSelect"],"sources":["../src/Select/Select.tsx","../src/Select/index.ts"],"sourcesContent":["import type { TVClassName, TVProps } from '@fuf-stack/pixel-utils';\nimport type { ReactNode } from 'react';\nimport type { MultiValue, Props, SingleValue } from 'react-select';\n\nimport { useState } from 'react';\nimport ReactSelect, { components } from 'react-select';\n\nimport { useSelect } from '@heroui/select';\n\nimport { cn, slugify, tv, variantsToClassNames } from '@fuf-stack/pixel-utils';\n\nimport { createOptionValueConverter, isValueEmpty } from '../helpers';\nimport { useFormContext } from '../hooks/useFormContext';\nimport { useUniformField } from '../hooks/useUniformField';\n\nexport const selectVariants = tv({\n slots: {\n base: 'group leading-normal',\n clearIndicator:\n 'rounded-md p-1 text-foreground-500 hover:cursor-pointer hover:bg-default-200 hover:text-foreground-800',\n control:\n 'duration-150! rounded-lg border-2 border-default-200 bg-content1 transition-background hover:border-default-400 group-data-[invalid=true]:border-danger group-data-[invalid=true]:hover:border-danger motion-reduce:transition-none',\n control_focused: 'border-focus',\n crossIcon: '',\n downChevron: '',\n dropdownIndicator:\n 'rounded-md p-1 text-foreground-500 hover:cursor-pointer hover:bg-default-200 hover:text-black',\n group: '',\n groupHeading: 'mb-1 ml-3 mt-2 text-sm text-foreground-500',\n indicatorsContainer: 'gap-1 p-1',\n indicatorSeparator: 'bg-default-300',\n input: 'py-0.5 pl-1',\n // see HeroUI styles for group-data condition,\n // e.g.: https://github.com/heroui-inc/heroui/blob/main/packages/core/theme/src/components/select.ts\n label:\n 'pointer-events-auto relative bottom-1.5 ml-1 text-foreground subpixel-antialiased text-small group-data-[invalid=true]:!text-danger',\n loadingIndicator: '',\n loadingMessage: 'rounded-sm p-2 text-foreground-500',\n menu: 'mt-2 rounded-xl border border-default-200 bg-content1 p-1 shadow-lg',\n menuList: '',\n // ensure menu has same z-index as modal so it is visible when rendered in modal\n // see: https://github.com/heroui-inc/heroui/blob/main/packages/core/theme/src/components/modal.ts (see z-50)\n menuPortal: 'z-50!',\n multiValue: 'items-center gap-1.5 rounded bg-default-100 py-0.5 pl-2 pr-1',\n multiValueContainer: '',\n multiValueLabel: 'py-0.5 leading-6',\n multiValueRemove:\n 'rounded text-default-500 hover:cursor-pointer hover:border-default-300 hover:text-default-800',\n noOptionsMessage: 'rounded-sm p-2 text-foreground-500',\n option: 'rounded px-3 py-2 hover:cursor-pointer',\n option_disabled:\n 'cursor-not-allowed! hover:cursor-not-allowed! opacity-disabled',\n option_focused: 'bg-default-100 active:bg-default-200',\n option_selected: 'bg-default-300',\n placeholder: 'ml-1 py-0.5 pl-1 text-sm text-foreground-500',\n selectContainer: '',\n singleValue: 'ml-1! leading-7!',\n valueContainer: 'gap-1 p-1',\n },\n});\n\ninterface SelectOption {\n /** set option to disabled state */\n disabled?: boolean;\n /**\n * True when option was auto-generated because the value wasn't found in options.\n * Use in renderOptionLabel to render a component that fetches the real label.\n */\n isFallback?: boolean;\n /** option label */\n label?: ReactNode;\n /** option value */\n value: string | number;\n}\n\ntype VariantProps = TVProps<typeof selectVariants>;\ntype ClassName = TVClassName<typeof selectVariants>;\n\nexport interface SelectProps extends VariantProps {\n /** Custom aria-label for accessibility. If not provided, falls back to field name when no visible label exists */\n ariaLabel?: string;\n /** CSS class name */\n className?: ClassName; // string;\n /** Determine if the */\n clearable?: boolean;\n /** Set the select to disabled state. */\n disabled?: boolean;\n /** Force menu open for debugging or visual testing. */\n debugMenuOpen?: boolean;\n /** Filter Select Options */\n filterOption?:\n | undefined\n | ((option?: SelectOption, inputValue?: string) => boolean);\n /** Format the label of the option */\n renderOptionLabel?: undefined | Props['formatOptionLabel'];\n /** The value of the search input */\n inputValue?: string;\n /** Label that should be associated with the select. */\n label?: ReactNode;\n /** Set the select to a loading state. */\n loading?: boolean;\n /** switch between single and multi select mode. */\n multiSelect?: boolean;\n /** The name for the Select component, used by react-hook-form */\n name: string;\n /** Placeholder that is displayed when nothing is selected */\n placeholder?: string;\n /** The options for the Select component */\n options: SelectOption[];\n /** Handle change events on the input */\n onInputChange?: Props['onInputChange'];\n /**\n * Fallback option(s) for async selects when value isn't in current options.\n * Use when the selected value may not be in the options list (e.g., after\n * search results change). Used only if value not found in options.\n * For single select: pass the option object or undefined\n * For multi-select: pass an array of option objects\n */\n selectedOptionFallback?: SelectOption | SelectOption[];\n /** HTML data-testid attribute used in e2e tests */\n testId?: string;\n}\n\nconst InputComponent: typeof components.Input = (props) => {\n // @ts-expect-error data-testid is not a default prop\n // eslint-disable-next-line react/destructuring-assignment\n const testId = `${props.selectProps['data-testid']}`;\n return <components.Input data-testid={testId} {...props} />;\n};\n\nconst ControlComponent: typeof components.Control = (props) => {\n // @ts-expect-error data-testid is not a default prop\n // eslint-disable-next-line react/destructuring-assignment\n const testId = `${props.selectProps['data-testid']}_select`;\n return (\n <div data-testid={testId}>\n <components.Control {...props} />\n </div>\n );\n};\n\nconst OptionComponent: typeof components.Option = (props) => {\n const { isDisabled } = props;\n // @ts-expect-error data-testid is not a default prop\n // eslint-disable-next-line react/destructuring-assignment\n const testId = `${props.selectProps['data-testid']}_select_option_${slugify(String(props?.data?.testId ?? props?.data?.value), { replaceDots: true })}`;\n return (\n <div aria-disabled={isDisabled ? true : undefined} data-testid={testId}>\n <components.Option {...props} />\n </div>\n );\n};\n\nconst DropdownIndicatorComponent: typeof components.DropdownIndicator = (\n props,\n) => {\n // @ts-expect-error data-testid is not a default prop\n const testId = props?.selectProps['data-testid'] as string;\n return (\n <div data-testid={`${testId}_select_dropdown`}>\n <components.DropdownIndicator {...props} />\n </div>\n );\n};\n\n/** Select component based on [HeroUI Select](https://www.heroui.com//docs/components/select) and [React-Select](https://react-select.com/home) */\nconst Select = ({\n className = undefined,\n clearable = true,\n debugMenuOpen = false,\n filterOption = undefined,\n renderOptionLabel = undefined,\n inputValue = undefined,\n loading = false,\n multiSelect = false,\n name,\n onInputChange = undefined,\n options,\n placeholder = undefined,\n selectedOptionFallback = undefined,\n ...uniformFieldProps\n}: SelectProps) => {\n const {\n ariaLabel,\n disabled,\n errorMessage,\n field: { onBlur, onChange, ref, value },\n getErrorMessageProps,\n getHelperWrapperProps,\n getLabelProps,\n invalid,\n label,\n required,\n testId,\n } = useUniformField({\n name,\n ...uniformFieldProps,\n });\n\n // Get getFieldState to check isTouched in onChange callback\n const { getFieldState } = useFormContext();\n\n // Track if the select is focused\n const [isFocused, setIsFocused] = useState(false);\n\n // Create converter to preserve number types for option values\n const { convertToOriginalType } = createOptionValueConverter(options);\n\n // classNames from slots\n const variants = selectVariants();\n const classNames = variantsToClassNames(variants, className, 'base');\n\n // React-select classNames configuration\n const reactSelectClassNames = {\n clearIndicator: () => {\n return classNames.clearIndicator;\n },\n control: () => {\n return cn(classNames.control, {\n [classNames.control_focused]: isFocused && !invalid,\n });\n },\n dropdownIndicator: () => {\n return classNames.dropdownIndicator;\n },\n groupHeading: () => {\n return classNames.groupHeading;\n },\n indicatorSeparator: () => {\n return classNames.indicatorSeparator;\n },\n indicatorsContainer: () => {\n return classNames.indicatorsContainer;\n },\n input: () => {\n return classNames.input;\n },\n loadingIndicator: () => {\n return classNames.loadingIndicator;\n },\n loadingMessage: () => {\n return classNames.loadingMessage;\n },\n menu: () => {\n return classNames.menu;\n },\n menuList: () => {\n return classNames.menuList;\n },\n menuPortal: () => {\n return classNames.menuPortal;\n },\n multiValue: () => {\n return classNames.multiValue;\n },\n multiValueLabel: () => {\n return cn(classNames.multiValueLabel, `${getValueProps().className}`);\n },\n multiValueRemove: () => {\n return classNames.multiValueRemove;\n },\n noOptionsMessage: () => {\n return classNames.noOptionsMessage;\n },\n option: ({\n isDisabled: optionIsDisabled,\n isFocused: optionIsFocused,\n isSelected: optionIsSelected,\n }: {\n isDisabled: boolean;\n isFocused: boolean;\n isSelected: boolean;\n }) => {\n return cn(classNames.option, {\n [classNames.option_disabled]: optionIsDisabled,\n [classNames.option_focused]: optionIsFocused,\n [classNames.option_selected]: optionIsSelected,\n });\n },\n placeholder: () => {\n return classNames.placeholder;\n },\n singleValue: () => {\n return cn(classNames.singleValue, `${getValueProps().className}`);\n },\n valueContainer: () => {\n return classNames.valueContainer;\n },\n };\n\n const { getBaseProps, getTriggerProps, getValueProps } = useSelect({\n children: [],\n classNames,\n errorMessage,\n isDisabled: disabled,\n isInvalid: invalid,\n isLoading: loading,\n isRequired: required,\n label,\n labelPlacement: 'outside',\n });\n\n // react-select expects `isDisabled`, while our option contract uses `disabled`.\n const reactSelectOptions = options.map((option) => {\n return {\n ...option,\n isDisabled: option.disabled,\n };\n });\n\n // Compute selected option(s) for react-select\n //\n // Priority for finding options:\n // 1. Look in current options list\n // 2. Use selectedOptionFallback prop (for async selects with pre-fetched data)\n // 3. Create fallback with value as label\n //\n // Handles edge cases:\n // - Compares as strings to support both string and number values\n // - Returns null for empty single-select (required by react-select to clear)\n // - Creates fallback options when value exists but isn't in options list\n // (common with async selects where options change after selection)\n const reactSelectValue = (() => {\n // Helper to find option by value\n const findOption = (v: string | number): SelectOption => {\n // First, look in options list\n const inOptions = options.find((option) => {\n return String(option.value) === String(v);\n });\n if (inOptions) {\n return inOptions;\n }\n\n // Second, look in selectedOptionFallback prop (for async selects)\n if (selectedOptionFallback) {\n if (Array.isArray(selectedOptionFallback)) {\n const inSelected = selectedOptionFallback.find((option) => {\n return String(option.value) === String(v);\n });\n if (inSelected) {\n return inSelected;\n }\n } else if (String(selectedOptionFallback.value) === String(v)) {\n return selectedOptionFallback;\n }\n }\n\n // Fallback: create option with value as label, marked as fallback\n return { isFallback: true, label: String(v), value: v };\n };\n\n if (multiSelect) {\n if (!Array.isArray(value) || isValueEmpty(value)) {\n return [];\n }\n return value.map((v) => {\n return findOption(v);\n });\n }\n\n // Single select - use isValueEmpty to handle marker strings (__NULL__, etc.)\n if (isValueEmpty(value)) {\n return null;\n }\n return findOption(value);\n })();\n\n // Handle selection change\n const handleChange = (\n option: MultiValue<SelectOption> | SingleValue<SelectOption>,\n ) => {\n if (multiSelect) {\n onChange(\n (option as SelectOption[])?.map((_option) => {\n return convertToOriginalType(_option.value);\n }),\n );\n } else {\n const newValue = (option as SelectOption)?.value;\n // Pass null explicitly when clearing (not undefined)\n onChange(newValue != null ? convertToOriginalType(newValue) : null);\n }\n // Mark field as touched immediately when a selection is made if not already touched\n // This ensures validation errors show right away (isTouched becomes true)\n // For Select components, selecting an option is a complete user action\n // (unlike text inputs where typing is ongoing), so we mark as touched immediately\n const { isTouched: currentIsTouched } = getFieldState(name, testId);\n if (!currentIsTouched) {\n onBlur();\n }\n };\n\n // Handle blur event\n const handleBlur = () => {\n setIsFocused(false);\n onBlur();\n };\n\n // Handle focus event\n const handleFocus = () => {\n setIsFocused(true);\n };\n\n return (\n <div\n {...getBaseProps()}\n className={cn(classNames.base)}\n // see HeroUI styles for group-data condition (data-invalid),\n // e.g.: https://github.com/heroui-inc/heroui/blob/main/packages/components/select/src/use-select.ts\n data-required={required}\n data-testid={`${testId}_wrapper`}\n >\n {label ? (\n <label\n className={classNames.label}\n data-slot=\"label\"\n htmlFor={`react-select-${name}-input`}\n id={getLabelProps().id}\n >\n {label}\n {required ? (\n <span aria-hidden className=\"ml-0.5 text-danger\">\n *\n </span>\n ) : null}\n </label>\n ) : null}\n <ReactSelect\n ref={ref}\n aria-errormessage=\"\"\n aria-invalid={invalid}\n aria-label={ariaLabel}\n // set aria-labelledby to the label id so that the select is accessible\n aria-labelledby={\n label\n ? getTriggerProps()['aria-labelledby']?.split(' ')[1]\n : undefined\n }\n classNames={reactSelectClassNames}\n components={{\n Control: ControlComponent,\n DropdownIndicator: DropdownIndicatorComponent,\n Input: InputComponent,\n Option: OptionComponent,\n }}\n // Does not affect the testId of the select, but is needed to pass it to sub-components\n data-testid={testId}\n filterOption={filterOption}\n formatOptionLabel={renderOptionLabel}\n inputValue={inputValue}\n instanceId={name}\n isClearable={clearable}\n isDisabled={disabled}\n isLoading={loading}\n isMulti={multiSelect}\n menuIsOpen={debugMenuOpen ? true : undefined}\n menuPosition=\"fixed\"\n menuShouldBlockScroll\n name={name}\n // set menuPosition to fixed so that menu can be rendered\n // inside Card / Modal components, menuShouldBlockScroll\n // prevents container scroll when menu is open\n onBlur={handleBlur}\n onChange={handleChange}\n onFocus={handleFocus}\n onInputChange={onInputChange}\n options={reactSelectOptions}\n placeholder={placeholder}\n unstyled\n value={reactSelectValue}\n />\n {invalid ? (\n <div {...getHelperWrapperProps()}>\n <div {...getErrorMessageProps()}>{errorMessage}</div>\n </div>\n ) : null}\n </div>\n );\n};\n\nexport default Select;\n","import Select from './Select';\n\nexport type { SelectProps } from './Select';\n\nexport { Select };\n\nexport default Select;\n"],"mappings":";;;;;;;;;;;AAeA,MAAa,kBAAA,GAAA,uBAAA,IAAoB,EAC/B,OAAO;CACL,MAAM;CACN,gBACE;CACF,SACE;CACF,iBAAiB;CACjB,WAAW;CACX,aAAa;CACb,mBACE;CACF,OAAO;CACP,cAAc;CACd,qBAAqB;CACrB,oBAAoB;CACpB,OAAO;CAGP,OACE;CACF,kBAAkB;CAClB,gBAAgB;CAChB,MAAM;CACN,UAAU;CAGV,YAAY;CACZ,YAAY;CACZ,qBAAqB;CACrB,iBAAiB;CACjB,kBACE;CACF,kBAAkB;CAClB,QAAQ;CACR,iBACE;CACF,gBAAgB;CAChB,iBAAiB;CACjB,aAAa;CACb,iBAAiB;CACjB,aAAa;CACb,gBAAgB;AAClB,EACF,CAAC;AAgED,MAAM,kBAA2C,UAAU;CAGzD,MAAM,SAAS,GAAG,MAAM,YAAY;CACpC,OAAO,iBAAA,GAAA,kBAAA,KAACA,aAAAA,WAAW,OAAZ;EAAkB,eAAa;EAAQ,GAAI;CAAQ,CAAA;AAC5D;AAEA,MAAM,oBAA+C,UAAU;CAI7D,OACE,iBAAA,GAAA,kBAAA,KAAC,OAAD;EAAK,eAAa,GAFF,MAAM,YAAY,eAAe;YAG/C,iBAAA,GAAA,kBAAA,KAACA,aAAAA,WAAW,SAAZ,EAAoB,GAAI,MAAQ,CAAA;CAC7B,CAAA;AAET;AAEA,MAAM,mBAA6C,UAAU;CAC3D,MAAM,EAAE,eAAe;CAGvB,MAAM,SAAS,GAAG,MAAM,YAAY,eAAe,kBAAA,GAAA,uBAAA,SAAyB,OAAO,OAAO,MAAM,UAAU,OAAO,MAAM,KAAK,GAAG,EAAE,aAAa,KAAK,CAAC;CACpJ,OACE,iBAAA,GAAA,kBAAA,KAAC,OAAD;EAAK,iBAAe,aAAa,OAAO,KAAA;EAAW,eAAa;YAC9D,iBAAA,G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AY,WAAU;eAAqB;IAE3C,CAAA,IACJ,IACC;QACL;GACJ,iBAAA,GAAA,kBAAA,KAACC,aAAAA,SAAD;IACO;IACL,qBAAkB;IAClB,gBAAc;IACd,cAAY;IAEZ,mBACE,QACI,gBAAgB,EAAE,oBAAoB,MAAM,GAAG,EAAE,KACjD,KAAA;IAEN,YAAY;IACZ,YAAY;KACV,SAAS;KACT,mBAAmB;KACnB,OAAO;KACP,QAAQ;IACV;IAEA,eAAa;IACC;IACd,mBAAmB;IACP;IACZ,YAAY;IACZ,aAAa;IACb,YAAY;IACZ,WAAW;IACX,SAAS;IACT,YAAY,gBAAgB,OAAO,KAAA;IACnC,cAAa;IACb,uBAAA;IACM;IAIN,QAAQ;IACR,UAAU;IACV,SAAS;IACM;IACf,SAAS;IACI;IACb,UAAA;IACA,OAAO;GACR,CAAA;GACA,UACC,iBAAA,GAAA,kBAAA,KAAC,OAAD;IAAK,GAAI,sBAAsB;cAC7B,iBAAA,GAAA,kBAAA,KAAC,OAAD;KAAK,GAAI,qBAAqB;eAAI;IAAkB,CAAA;GACjD,CAAA,IACH;EACD;;AAET;;;ACxdA,IAAA,iBAAe"}
@@ -1,2 +1,2 @@
1
- import { n as SliderProps, t as Slider } from "../index-eEJp36Ma.cjs";
1
+ import { n as SliderProps, t as Slider } from "../index-LwJL1Zry.cjs";
2
2
  export { Slider, Slider as default, type SliderProps };
@@ -1,2 +1,2 @@
1
- import { n as SliderProps, t as Slider } from "../index-DTwIpIWh.js";
1
+ import { n as SliderProps, t as Slider } from "../index-9wnJP0-_.js";
2
2
  export { Slider, Slider as default, type SliderProps };
@@ -1,2 +1,2 @@
1
- import { n as SwitchProps, t as Switch } from "../index-CD9w4hqS.cjs";
1
+ import { n as SwitchProps, t as Switch } from "../index-BH09nkLw.cjs";
2
2
  export { Switch, Switch as default, type SwitchProps };
@@ -1,2 +1,2 @@
1
- import { n as SwitchProps, t as Switch } from "../index-RCXYx5Yp.js";
1
+ import { n as SwitchProps, t as Switch } from "../index-w6__3xcP.js";
2
2
  export { Switch, Switch as default, type SwitchProps };
@@ -1,2 +1,2 @@
1
- import { n as useFormContext, t as checkFieldIsRequired } from "../../useFormContext-JE8dwbCT.cjs";
1
+ import { n as useFormContext, t as checkFieldIsRequired } from "../../useFormContext-C29MZE_C.cjs";
2
2
  export { checkFieldIsRequired, useFormContext };
@@ -1,2 +1,2 @@
1
- import { n as useFormContext, t as checkFieldIsRequired } from "../../useFormContext-BYnHt6-m.js";
1
+ import { n as useFormContext, t as checkFieldIsRequired } from "../../useFormContext-DTE4pvL2.js";
2
2
  export { checkFieldIsRequired, useFormContext };
@@ -1,2 +1,2 @@
1
- import { n as UseUniformFieldReturn, r as useUniformField, t as UseUniformFieldParams } from "../../useUniformField-BWKBsUEX.cjs";
1
+ import { n as UseUniformFieldReturn, r as useUniformField, t as UseUniformFieldParams } from "../../useUniformField-DQsQnuA_.cjs";
2
2
  export { UseUniformFieldParams, UseUniformFieldReturn, useUniformField };
@@ -1,2 +1,2 @@
1
- import { n as UseUniformFieldReturn, r as useUniformField, t as UseUniformFieldParams } from "../../useUniformField-B3Dj8K5J.js";
1
+ import { n as UseUniformFieldReturn, r as useUniformField, t as UseUniformFieldParams } from "../../useUniformField-DGBTwJLI.js";
2
2
  export { UseUniformFieldParams, UseUniformFieldReturn, useUniformField };
@@ -1,2 +1,2 @@
1
- import { n as useUniformFieldArray, t as UseUniformFieldArrayProps } from "../../useUniformFieldArray-RvOYml8h.cjs";
1
+ import { n as useUniformFieldArray, t as UseUniformFieldArrayProps } from "../../useUniformFieldArray-BFkeHpUv.cjs";
2
2
  export { UseUniformFieldArrayProps, useUniformFieldArray };
@@ -1,2 +1,2 @@
1
- import { n as useUniformFieldArray, t as UseUniformFieldArrayProps } from "../../useUniformFieldArray-C0U3eBr7.js";
1
+ import { n as useUniformFieldArray, t as UseUniformFieldArrayProps } from "../../useUniformFieldArray-DJV2LOpX.js";
2
2
  export { UseUniformFieldArrayProps, useUniformFieldArray };
@@ -5,8 +5,8 @@ import { ReactElement, ReactNode } from "react";
5
5
  declare const radiosVariants: import("tailwind-variants").TVReturnType<{
6
6
  [key: string]: {
7
7
  [key: string]: import("tailwind-merge").ClassNameValue | {
8
- label?: import("tailwind-merge").ClassNameValue;
9
8
  base?: import("tailwind-merge").ClassNameValue;
9
+ label?: import("tailwind-merge").ClassNameValue;
10
10
  wrapper?: import("tailwind-merge").ClassNameValue;
11
11
  itemBase?: import("tailwind-merge").ClassNameValue;
12
12
  itemControl?: import("tailwind-merge").ClassNameValue;
@@ -19,8 +19,8 @@ declare const radiosVariants: import("tailwind-variants").TVReturnType<{
19
19
  } | {
20
20
  [x: string]: {
21
21
  [x: string]: import("tailwind-merge").ClassNameValue | {
22
- label?: import("tailwind-merge").ClassNameValue;
23
22
  base?: import("tailwind-merge").ClassNameValue;
23
+ label?: import("tailwind-merge").ClassNameValue;
24
24
  wrapper?: import("tailwind-merge").ClassNameValue;
25
25
  itemBase?: import("tailwind-merge").ClassNameValue;
26
26
  itemControl?: import("tailwind-merge").ClassNameValue;
@@ -43,8 +43,8 @@ declare const radiosVariants: import("tailwind-variants").TVReturnType<{
43
43
  }, undefined, {
44
44
  [key: string]: {
45
45
  [key: string]: import("tailwind-merge").ClassNameValue | {
46
- label?: import("tailwind-merge").ClassNameValue;
47
46
  base?: import("tailwind-merge").ClassNameValue;
47
+ label?: import("tailwind-merge").ClassNameValue;
48
48
  wrapper?: import("tailwind-merge").ClassNameValue;
49
49
  itemBase?: import("tailwind-merge").ClassNameValue;
50
50
  itemControl?: import("tailwind-merge").ClassNameValue;
@@ -119,4 +119,4 @@ declare const Radios: ({
119
119
  }: RadiosProps) => ReactElement;
120
120
  //#endregion
121
121
  export { RadiosProps as n, Radios as t };
122
- //# sourceMappingURL=index-D6QbkuWC.d.ts.map
122
+ //# sourceMappingURL=index--LtIs0zN.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-D6QbkuWC.d.ts","names":[],"sources":["../src/Radios/Radios.tsx"],"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AAA,cAsC3C,MAAA;EAAU,SAAA;EAAA,MAAA;EAAA,IAAA;EAAA,OAAA;EAAA,GAAA;AAAA,GAMb,WAAA,KAAc,YAAA"}
@@ -5,8 +5,8 @@ import { ReactElement, ReactNode } from "react";
5
5
  declare const radiosVariants: import("tailwind-variants").TVReturnType<{
6
6
  [key: string]: {
7
7
  [key: string]: import("tailwind-merge").ClassNameValue | {
8
- label?: import("tailwind-merge").ClassNameValue;
9
8
  base?: import("tailwind-merge").ClassNameValue;
9
+ label?: import("tailwind-merge").ClassNameValue;
10
10
  wrapper?: import("tailwind-merge").ClassNameValue;
11
11
  itemBase?: import("tailwind-merge").ClassNameValue;
12
12
  itemControl?: import("tailwind-merge").ClassNameValue;
@@ -19,8 +19,8 @@ declare const radiosVariants: import("tailwind-variants").TVReturnType<{
19
19
  } | {
20
20
  [x: string]: {
21
21
  [x: string]: import("tailwind-merge").ClassNameValue | {
22
- label?: import("tailwind-merge").ClassNameValue;
23
22
  base?: import("tailwind-merge").ClassNameValue;
23
+ label?: import("tailwind-merge").ClassNameValue;
24
24
  wrapper?: import("tailwind-merge").ClassNameValue;
25
25
  itemBase?: import("tailwind-merge").ClassNameValue;
26
26
  itemControl?: import("tailwind-merge").ClassNameValue;
@@ -43,8 +43,8 @@ declare const radiosVariants: import("tailwind-variants").TVReturnType<{
43
43
  }, undefined, {
44
44
  [key: string]: {
45
45
  [key: string]: import("tailwind-merge").ClassNameValue | {
46
- label?: import("tailwind-merge").ClassNameValue;
47
46
  base?: import("tailwind-merge").ClassNameValue;
47
+ label?: import("tailwind-merge").ClassNameValue;
48
48
  wrapper?: import("tailwind-merge").ClassNameValue;
49
49
  itemBase?: import("tailwind-merge").ClassNameValue;
50
50
  itemControl?: import("tailwind-merge").ClassNameValue;
@@ -119,4 +119,4 @@ declare const Radios: ({
119
119
  }: RadiosProps) => ReactElement;
120
120
  //#endregion
121
121
  export { RadiosProps as n, Radios as t };
122
- //# sourceMappingURL=index-C_3x4Vph.d.cts.map
122
+ //# sourceMappingURL=index-9nJkzuEx.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-C_3x4Vph.d.cts","names":[],"sources":["../src/Radios/Radios.tsx"],"mappings":";;;;cAaa,cAAA,8BAAc,YAAA;EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAkBtB,YAAA,GAAe,OAAO,QAAQ,cAAA;AAAA,KAC9B,SAAA,GAAY,WAAW,QAAQ,cAAA;AAAA,UAEnB,WAAA;;EAEf,QAAA;;EAEA,KAAA,GAAQ,SAAA;;EAER,IAAA,GAAO,SAAS;;EAEhB,MAAA;;EAEA,KAAA;AAAA;AAAA,UAGe,WAAA,SAAoB,YAAA;;EAEnC,SAAA;;EAEA,SAAA,GAAY,SAAA;;EAEZ,QAAA;;EAEA,MAAA;;EAEA,KAAA,GAAQ,SAAA;;EAER,IAAA;EA5BG;EA8BH,OAAA,EAAS,WAAA;;EAET,MAAA;AAAA;AAhC+C;;;AAAA,cAsC3C,MAAA;EAAU,SAAA;EAAA,MAAA;EAAA,IAAA;EAAA,OAAA;EAAA,GAAA;AAAA,GAMb,WAAA,KAAc,YAAA"}
1
+ {"version":3,"file":"index-9nJkzuEx.d.cts","names":[],"sources":["../src/Radios/Radios.tsx"],"mappings":";;;;cAaa,cAAA,8BAAc,YAAA;EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAkBtB,YAAA,GAAe,OAAO,QAAQ,cAAA;AAAA,KAC9B,SAAA,GAAY,WAAW,QAAQ,cAAA;AAAA,UAEnB,WAAA;;EAEf,QAAA;;EAEA,KAAA,GAAQ,SAAA;;EAER,IAAA,GAAO,SAAS;;EAEhB,MAAA;;EAEA,KAAA;AAAA;AAAA,UAGe,WAAA,SAAoB,YAAA;;EAEnC,SAAA;;EAEA,SAAA,GAAY,SAAA;;EAEZ,QAAA;;EAEA,MAAA;;EAEA,KAAA,GAAQ,SAAA;;EAER,IAAA;EA5BG;EA8BH,OAAA,EAAS,WAAA;;EAET,MAAA;AAAA;AAhC+C;;;AAAA,cAsC3C,MAAA;EAAU,SAAA;EAAA,MAAA;EAAA,IAAA;EAAA,OAAA;EAAA,GAAA;AAAA,GAMb,WAAA,KAAc,YAAA"}
@@ -5,10 +5,10 @@ import { ReactNode } from "react";
5
5
  declare const sliderVariants: import("tailwind-variants").TVReturnType<{
6
6
  [key: string]: {
7
7
  [key: string]: import("tailwind-merge").ClassNameValue | {
8
+ base?: import("tailwind-merge").ClassNameValue;
8
9
  label?: import("tailwind-merge").ClassNameValue;
9
10
  value?: import("tailwind-merge").ClassNameValue;
10
11
  errorMessage?: import("tailwind-merge").ClassNameValue;
11
- base?: import("tailwind-merge").ClassNameValue;
12
12
  mark?: import("tailwind-merge").ClassNameValue;
13
13
  track?: import("tailwind-merge").ClassNameValue;
14
14
  step?: import("tailwind-merge").ClassNameValue;
@@ -23,10 +23,10 @@ declare const sliderVariants: import("tailwind-variants").TVReturnType<{
23
23
  } | {
24
24
  [x: string]: {
25
25
  [x: string]: import("tailwind-merge").ClassNameValue | {
26
+ base?: import("tailwind-merge").ClassNameValue;
26
27
  label?: import("tailwind-merge").ClassNameValue;
27
28
  value?: import("tailwind-merge").ClassNameValue;
28
29
  errorMessage?: import("tailwind-merge").ClassNameValue;
29
- base?: import("tailwind-merge").ClassNameValue;
30
30
  mark?: import("tailwind-merge").ClassNameValue;
31
31
  track?: import("tailwind-merge").ClassNameValue;
32
32
  step?: import("tailwind-merge").ClassNameValue;
@@ -55,10 +55,10 @@ declare const sliderVariants: import("tailwind-variants").TVReturnType<{
55
55
  }, undefined, {
56
56
  [key: string]: {
57
57
  [key: string]: import("tailwind-merge").ClassNameValue | {
58
+ base?: import("tailwind-merge").ClassNameValue;
58
59
  label?: import("tailwind-merge").ClassNameValue;
59
60
  value?: import("tailwind-merge").ClassNameValue;
60
61
  errorMessage?: import("tailwind-merge").ClassNameValue;
61
- base?: import("tailwind-merge").ClassNameValue;
62
62
  mark?: import("tailwind-merge").ClassNameValue;
63
63
  track?: import("tailwind-merge").ClassNameValue;
64
64
  step?: import("tailwind-merge").ClassNameValue;
@@ -164,4 +164,4 @@ declare const Slider: ({
164
164
  }: SliderProps) => import("react/jsx-runtime").JSX.Element;
165
165
  //#endregion
166
166
  export { SliderProps as n, Slider as t };
167
- //# sourceMappingURL=index-DTwIpIWh.d.ts.map
167
+ //# sourceMappingURL=index-9wnJP0-_.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-DTwIpIWh.d.ts","names":[],"sources":["../src/Slider/Slider.tsx"],"mappings":";;;;cAYa,cAAA,8BAAc,YAAA;EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAqBtB,YAAA,GAAe,OAAO,QAAQ,cAAA;AAAA,KAC9B,SAAA,GAAY,WAAW,QAAQ,cAAA;AAAA,UAEnB,WAAA,SAAoB,YAAA;;EAEnC,SAAA;;EAEA,SAAA,GAAY,SAAA;;EAEZ,QAAA;;EAEA,UAAA,GAAa,SAAA;;EAEb,UAAA;;EAEA,KAAA;;EAEA,IAAA;;;;;EAKA,SAAA;;;;;EAKA,IAAA;;EAEA,YAAA,GAAe,SAAA;;;;;EAKf,IAAA;;EAEA,MAAA;;;;AAtCC;EA2CD,QAAA;;;AAzC+C;AAAA;EA8C/C,QAAA;AAAA;;AA7CgD;AAElD;cAiDM,MAAA;EAAU,SAAA;EAAA,UAAA;EAAA,UAAA;EAAA,IAAA;EAAA,SAAA;EAAA,IAAA;EAAA,YAAA;EAAA,IAAA;EAAA,QAAA;EAAA,QAAA;EAAA,GAAA;AAAA,GAYb,WAAA,iCAAW,GAAA,CAAA,OAAA"}
1
+ {"version":3,"file":"index-9wnJP0-_.d.ts","names":[],"sources":["../src/Slider/Slider.tsx"],"mappings":";;;;cAYa,cAAA,8BAAc,YAAA;EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAqBtB,YAAA,GAAe,OAAO,QAAQ,cAAA;AAAA,KAC9B,SAAA,GAAY,WAAW,QAAQ,cAAA;AAAA,UAEnB,WAAA,SAAoB,YAAA;;EAEnC,SAAA;;EAEA,SAAA,GAAY,SAAA;;EAEZ,QAAA;;EAEA,UAAA,GAAa,SAAA;;EAEb,UAAA;;EAEA,KAAA;;EAEA,IAAA;;;;;EAKA,SAAA;;;;;EAKA,IAAA;;EAEA,YAAA,GAAe,SAAA;;;;;EAKf,IAAA;;EAEA,MAAA;;;;AAtCC;EA2CD,QAAA;;;AAzC+C;AAAA;EA8C/C,QAAA;AAAA;;AA7CgD;AAElD;cAiDM,MAAA;EAAU,SAAA;EAAA,UAAA;EAAA,UAAA;EAAA,IAAA;EAAA,SAAA;EAAA,IAAA;EAAA,YAAA;EAAA,IAAA;EAAA,QAAA;EAAA,QAAA;EAAA,GAAA;AAAA,GAYb,WAAA,iCAAW,GAAA,CAAA,OAAA"}
@@ -4,8 +4,8 @@ import { ReactNode } from "react";
4
4
  declare const radioBoxesVariants: import("tailwind-variants").TVReturnType<{
5
5
  [key: string]: {
6
6
  [key: string]: import("tailwind-merge").ClassNameValue | {
7
- label?: import("tailwind-merge").ClassNameValue;
8
7
  base?: import("tailwind-merge").ClassNameValue;
8
+ label?: import("tailwind-merge").ClassNameValue;
9
9
  wrapper?: import("tailwind-merge").ClassNameValue;
10
10
  boxBase?: import("tailwind-merge").ClassNameValue;
11
11
  boxControl?: import("tailwind-merge").ClassNameValue;
@@ -17,8 +17,8 @@ declare const radioBoxesVariants: import("tailwind-variants").TVReturnType<{
17
17
  } | {
18
18
  [x: string]: {
19
19
  [x: string]: import("tailwind-merge").ClassNameValue | {
20
- label?: import("tailwind-merge").ClassNameValue;
21
20
  base?: import("tailwind-merge").ClassNameValue;
21
+ label?: import("tailwind-merge").ClassNameValue;
22
22
  wrapper?: import("tailwind-merge").ClassNameValue;
23
23
  boxBase?: import("tailwind-merge").ClassNameValue;
24
24
  boxControl?: import("tailwind-merge").ClassNameValue;
@@ -39,8 +39,8 @@ declare const radioBoxesVariants: import("tailwind-variants").TVReturnType<{
39
39
  }, undefined, {
40
40
  [key: string]: {
41
41
  [key: string]: import("tailwind-merge").ClassNameValue | {
42
- label?: import("tailwind-merge").ClassNameValue;
43
42
  base?: import("tailwind-merge").ClassNameValue;
43
+ label?: import("tailwind-merge").ClassNameValue;
44
44
  wrapper?: import("tailwind-merge").ClassNameValue;
45
45
  boxBase?: import("tailwind-merge").ClassNameValue;
46
46
  boxControl?: import("tailwind-merge").ClassNameValue;
@@ -171,4 +171,4 @@ declare const radioBoxVariants: import("tailwind-variants").TVReturnType<{
171
171
  }, undefined, unknown, unknown, undefined>>;
172
172
  //#endregion
173
173
  export { RadioBoxes as n, RadioBoxesProps as r, radioBoxVariants as t };
174
- //# sourceMappingURL=index-D-UGVdC1.d.ts.map
174
+ //# sourceMappingURL=index-B682jKQ_.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-D-UGVdC1.d.ts","names":[],"sources":["../src/RadioBoxes/RadioBoxes.tsx","../src/RadioBoxes/RadioBox.tsx"],"mappings":";;;cAaa,kBAAA,8BAAkB,YAAA;EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAgB1B,YAAA,GAAe,OAAO,QAAQ,kBAAA;AAAA,KAC9B,SAAA,GAAY,WAAW,QAAQ,kBAAA;AAAA,UAEnB,gBAAA;;EAEf,WAAA,GAAc,SAAA;;EAEd,QAAA;;EAEA,KAAA,GAAQ,SAAA;;EAER,IAAA,GAAO,SAAA;;EAEP,MAAA;;EAEA,KAAA;AAAA;AAAA,UAGe,eAAA,SAAwB,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
6
6
  declare const switchVariants: import("tailwind-variants").TVReturnType<{
7
7
  [key: string]: {
8
8
  [key: string]: import("tailwind-merge").ClassNameValue | {
9
+ base?: import("tailwind-merge").ClassNameValue;
9
10
  label?: import("tailwind-merge").ClassNameValue;
10
11
  errorMessage?: import("tailwind-merge").ClassNameValue;
11
- base?: import("tailwind-merge").ClassNameValue;
12
12
  endContent?: import("tailwind-merge").ClassNameValue;
13
13
  outerWrapper?: import("tailwind-merge").ClassNameValue;
14
14
  startContent?: import("tailwind-merge").ClassNameValue;
@@ -20,9 +20,9 @@ declare const switchVariants: import("tailwind-variants").TVReturnType<{
20
20
  } | {
21
21
  [x: string]: {
22
22
  [x: string]: import("tailwind-merge").ClassNameValue | {
23
+ base?: import("tailwind-merge").ClassNameValue;
23
24
  label?: import("tailwind-merge").ClassNameValue;
24
25
  errorMessage?: import("tailwind-merge").ClassNameValue;
25
- base?: import("tailwind-merge").ClassNameValue;
26
26
  endContent?: import("tailwind-merge").ClassNameValue;
27
27
  outerWrapper?: import("tailwind-merge").ClassNameValue;
28
28
  startContent?: import("tailwind-merge").ClassNameValue;
@@ -44,9 +44,9 @@ declare const switchVariants: import("tailwind-variants").TVReturnType<{
44
44
  }, undefined, {
45
45
  [key: string]: {
46
46
  [key: string]: import("tailwind-merge").ClassNameValue | {
47
+ base?: import("tailwind-merge").ClassNameValue;
47
48
  label?: import("tailwind-merge").ClassNameValue;
48
49
  errorMessage?: import("tailwind-merge").ClassNameValue;
49
- base?: import("tailwind-merge").ClassNameValue;
50
50
  endContent?: import("tailwind-merge").ClassNameValue;
51
51
  outerWrapper?: import("tailwind-merge").ClassNameValue;
52
52
  startContent?: import("tailwind-merge").ClassNameValue;
@@ -113,4 +113,4 @@ declare const Switch: ({
113
113
  }: SwitchProps$1) => import("react/jsx-runtime").JSX.Element;
114
114
  //#endregion
115
115
  export { SwitchProps$1 as n, Switch as t };
116
- //# sourceMappingURL=index-CD9w4hqS.d.cts.map
116
+ //# sourceMappingURL=index-BH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AA;EAAA,IAAA;EAAA,IAAA;EAAA,YAAA;EAAA,SAAA;EAAA,GAAA;AAAA,GAQb,aAAA,iCAAW,GAAA,CAAA,OAAA"}
@@ -6,11 +6,11 @@ import { Props } from "react-select";
6
6
  declare const selectVariants: import("tailwind-variants").TVReturnType<{
7
7
  [key: string]: {
8
8
  [key: string]: import("tailwind-merge").ClassNameValue | {
9
+ base?: import("tailwind-merge").ClassNameValue;
9
10
  label?: import("tailwind-merge").ClassNameValue;
11
+ input?: import("tailwind-merge").ClassNameValue;
10
12
  control?: import("tailwind-merge").ClassNameValue;
11
13
  placeholder?: import("tailwind-merge").ClassNameValue;
12
- base?: import("tailwind-merge").ClassNameValue;
13
- input?: import("tailwind-merge").ClassNameValue;
14
14
  menu?: import("tailwind-merge").ClassNameValue;
15
15
  option?: import("tailwind-merge").ClassNameValue;
16
16
  group?: import("tailwind-merge").ClassNameValue;
@@ -42,11 +42,11 @@ declare const selectVariants: import("tailwind-variants").TVReturnType<{
42
42
  } | {
43
43
  [x: string]: {
44
44
  [x: string]: import("tailwind-merge").ClassNameValue | {
45
+ base?: import("tailwind-merge").ClassNameValue;
45
46
  label?: import("tailwind-merge").ClassNameValue;
47
+ input?: import("tailwind-merge").ClassNameValue;
46
48
  control?: import("tailwind-merge").ClassNameValue;
47
49
  placeholder?: import("tailwind-merge").ClassNameValue;
48
- base?: import("tailwind-merge").ClassNameValue;
49
- input?: import("tailwind-merge").ClassNameValue;
50
50
  menu?: import("tailwind-merge").ClassNameValue;
51
51
  option?: import("tailwind-merge").ClassNameValue;
52
52
  group?: import("tailwind-merge").ClassNameValue;
@@ -110,11 +110,11 @@ declare const selectVariants: import("tailwind-variants").TVReturnType<{
110
110
  }, undefined, {
111
111
  [key: string]: {
112
112
  [key: string]: import("tailwind-merge").ClassNameValue | {
113
+ base?: import("tailwind-merge").ClassNameValue;
113
114
  label?: import("tailwind-merge").ClassNameValue;
115
+ input?: import("tailwind-merge").ClassNameValue;
114
116
  control?: import("tailwind-merge").ClassNameValue;
115
117
  placeholder?: import("tailwind-merge").ClassNameValue;
116
- base?: import("tailwind-merge").ClassNameValue;
117
- input?: import("tailwind-merge").ClassNameValue;
118
118
  menu?: import("tailwind-merge").ClassNameValue;
119
119
  option?: import("tailwind-merge").ClassNameValue;
120
120
  group?: import("tailwind-merge").ClassNameValue;
@@ -284,4 +284,4 @@ declare const Select: ({
284
284
  }: SelectProps) => import("react/jsx-runtime").JSX.Element;
285
285
  //#endregion
286
286
  export { SelectProps as n, Select as t };
287
- //# sourceMappingURL=index-CsDbfwLQ.d.cts.map
287
+ //# sourceMappingURL=index-Bnbxpzyn.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index-CsDbfwLQ.d.cts","names":[],"sources":["../src/Select/Select.tsx"],"mappings":";;;;;cAea,cAAA,8BAAc,YAAA;EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UA8CjB,YAAA;;EAER,QAAA;;;;;EAKA,UAAA;;EAEA,KAAA,GAAQ,SAAS;;EAEjB,KAAA;AAAA;AAAA,KAGG,YAAA,GAAe,OAAO,QAAQ,cAAA;AAAA,KAC9B,SAAA,GAAY,WAAW,QAAQ,cAAA;AAAA,UAEnB,WAAA,SAAoB,YAAA;;EAEnC,SAAA;;EAEA,SAAA,GAAY,SAAA;;EAEZ,SAAA;;EAEA,QAAA;;EAEA,aAAA;;EAEA,YAAA,iBAEM,MAAA,GAAS,YAAA,EAAc,UAAA;;EAE7B,iBAAA,eAAgC,KAAA;;EAEhC,UAAA;;EAEA,KAAA,GAAQ,SAAA;;EAER,OAAA;;EAEA,WAAA;;EAEA,IAAA;;EAEA,WAAA;;EAE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GAAyB,YAAA,GAAe,YAAA;;EAExC,MAAA;AAAA;;cA8CI,MAAA;EAAU,SAAA;EAAA,SAAA;EAAA,aAAA;EAAA,YAAA;EAAA,iBAAA;EAAA,UAAA;EAAA,OAAA;EAAA,WAAA;EAAA,IAAA;EAAA,aAAA;EAAA,OAAA;EAAA,WAAA;EAAA,sBAAA;EAAA,GAAA;AAAA,GAeb,WAAA,iCAAW,GAAA,CAAA,OAAA"}
@@ -6,11 +6,11 @@ import { Props } from "react-select";
6
6
  declare const selectVariants: import("tailwind-variants").TVReturnType<{
7
7
  [key: string]: {
8
8
  [key: string]: import("tailwind-merge").ClassNameValue | {
9
+ base?: import("tailwind-merge").ClassNameValue;
9
10
  label?: import("tailwind-merge").ClassNameValue;
11
+ input?: import("tailwind-merge").ClassNameValue;
10
12
  control?: import("tailwind-merge").ClassNameValue;
11
13
  placeholder?: import("tailwind-merge").ClassNameValue;
12
- base?: import("tailwind-merge").ClassNameValue;
13
- input?: import("tailwind-merge").ClassNameValue;
14
14
  menu?: import("tailwind-merge").ClassNameValue;
15
15
  option?: import("tailwind-merge").ClassNameValue;
16
16
  group?: import("tailwind-merge").ClassNameValue;
@@ -42,11 +42,11 @@ declare const selectVariants: import("tailwind-variants").TVReturnType<{
42
42
  } | {
43
43
  [x: string]: {
44
44
  [x: string]: import("tailwind-merge").ClassNameValue | {
45
+ base?: import("tailwind-merge").ClassNameValue;
45
46
  label?: import("tailwind-merge").ClassNameValue;
47
+ input?: import("tailwind-merge").ClassNameValue;
46
48
  control?: import("tailwind-merge").ClassNameValue;
47
49
  placeholder?: import("tailwind-merge").ClassNameValue;
48
- base?: import("tailwind-merge").ClassNameValue;
49
- input?: import("tailwind-merge").ClassNameValue;
50
50
  menu?: import("tailwind-merge").ClassNameValue;
51
51
  option?: import("tailwind-merge").ClassNameValue;
52
52
  group?: import("tailwind-merge").ClassNameValue;
@@ -110,11 +110,11 @@ declare const selectVariants: import("tailwind-variants").TVReturnType<{
110
110
  }, undefined, {
111
111
  [key: string]: {
112
112
  [key: string]: import("tailwind-merge").ClassNameValue | {
113
+ base?: import("tailwind-merge").ClassNameValue;
113
114
  label?: import("tailwind-merge").ClassNameValue;
115
+ input?: import("tailwind-merge").ClassNameValue;
114
116
  control?: import("tailwind-merge").ClassNameValue;
115
117
  placeholder?: import("tailwind-merge").ClassNameValue;
116
- base?: import("tailwind-merge").ClassNameValue;
117
- input?: import("tailwind-merge").ClassNameValue;
118
118
  menu?: import("tailwind-merge").ClassNameValue;
119
119
  option?: import("tailwind-merge").ClassNameValue;
120
120
  group?: import("tailwind-merge").ClassNameValue;
@@ -284,4 +284,4 @@ declare const Select: ({
284
284
  }: SelectProps) => import("react/jsx-runtime").JSX.Element;
285
285
  //#endregion
286
286
  export { SelectProps as n, Select as t };
287
- //# sourceMappingURL=index-CjB9iCSm.d.ts.map
287
+ //# sourceMappingURL=index-CFtgFlMy.d.ts.map