@vlrc-fe/components 2.8.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/README.md +127 -209
- package/bin/vlrc.mjs +15 -0
- package/dist/ConfirmModal.cjs +1 -0
- package/dist/ConfirmModal.js +257 -0
- package/dist/DataTable/DataTable.cjs +1 -0
- package/dist/DataTable/DataTable.js +159 -0
- package/dist/DataTable/components/DataTableColumnHeader.cjs +1 -0
- package/dist/DataTable/components/DataTableColumnHeader.js +114 -0
- package/dist/DataTable/components/DataTableFacetedFilter.cjs +1 -0
- package/dist/DataTable/components/DataTableFacetedFilter.js +226 -0
- package/dist/DataTable/components/DataTablePagination.cjs +1 -0
- package/dist/DataTable/components/DataTablePagination.js +101 -0
- package/dist/DataTable/components/DataTableRowActions.cjs +1 -0
- package/dist/DataTable/components/DataTableRowActions.js +71 -0
- package/dist/DataTable/components/DataTableTable.cjs +1 -0
- package/dist/DataTable/components/DataTableTable.js +46 -0
- package/dist/DataTable/components/DataTableToolbar.cjs +1 -0
- package/dist/DataTable/components/DataTableToolbar.js +48 -0
- package/dist/DataTable/components/DataTableViewOptions.cjs +1 -0
- package/dist/DataTable/components/DataTableViewOptions.js +50 -0
- package/dist/DataTable/render/createColumns.cjs +1 -0
- package/dist/DataTable/render/createColumns.js +59 -0
- package/dist/DataTable/render/defaults.cjs +1 -0
- package/dist/Dropdown/Dropdown.cjs +1 -0
- package/dist/Dropdown/Dropdown.js +221 -0
- package/dist/Form/Form.cjs +1 -0
- package/dist/Form/Form.js +221 -0
- package/dist/Form/FormDatePicker/FormDatePicker.cjs +1 -0
- package/dist/Form/FormDatePicker/FormDatePicker.js +79 -0
- package/dist/Form/FormDatePicker/MonthPickerPanel.cjs +1 -0
- package/dist/Form/FormDatePicker/MonthPickerPanel.js +120 -0
- package/dist/Form/FormDatePicker/RangeDatePicker.cjs +1 -0
- package/dist/Form/FormDatePicker/RangeDatePicker.js +123 -0
- package/dist/Form/FormDatePicker/SingleDatePicker.cjs +1 -0
- package/dist/Form/FormDatePicker/SingleDatePicker.js +157 -0
- package/dist/Form/FormDatePicker/TimeInput.cjs +1 -0
- package/dist/Form/FormDatePicker/TimeInput.js +86 -0
- package/dist/Form/FormDatePicker/TimePicker.cjs +1 -0
- package/dist/Form/FormDatePicker/TimePicker.js +89 -0
- package/dist/Form/FormDatePicker/YearPickerPanel.cjs +1 -0
- package/dist/Form/FormDatePicker/YearPickerPanel.js +100 -0
- package/dist/Form/FormDatePicker/useFormDatePicker.cjs +1 -0
- package/dist/Form/FormDatePicker/useFormDatePicker.js +40 -0
- package/dist/Form/FormFileUpload/FileUpload.cjs +1 -0
- package/dist/Form/FormFileUpload/FileUpload.js +422 -0
- package/dist/Form/FormFileUpload/index.cjs +1 -0
- package/dist/Form/FormFileUpload/index.js +30 -0
- package/dist/Form/FormMultiSelect/FormMultiSelect.cjs +1 -0
- package/dist/Form/FormMultiSelect/FormMultiSelect.js +25 -0
- package/dist/Form/FormNumberInput/FormNumberInput.cjs +1 -0
- package/dist/Form/FormNumberInput/FormNumberInput.js +67 -0
- package/dist/Form/FormNumberInput/StepperControls.cjs +1 -0
- package/dist/Form/FormNumberInput/StepperControls.js +67 -0
- package/dist/Form/FormNumberInput/useFormNumberInput.cjs +1 -0
- package/dist/Form/FormNumberInput/useFormNumberInput.js +43 -0
- package/dist/Form/FormRadioGroup/FormRadio.cjs +1 -0
- package/dist/Form/FormRadioGroup/FormRadio.js +63 -0
- package/dist/Form/FormSelect/FormSelect.cjs +1 -0
- package/dist/Form/FormSelect/FormSelect.js +30 -0
- package/dist/Modal.cjs +1 -0
- package/dist/Modal.js +120 -0
- package/dist/MultiSelect/MultiSelect.cjs +1 -0
- package/dist/MultiSelect/MultiSelect.js +199 -0
- package/dist/MultiSelect/renderers.cjs +1 -0
- package/dist/MultiSelect/renderers.js +367 -0
- package/dist/MultiSelect/useMultiSelect.cjs +1 -0
- package/dist/MultiSelect/useMultiSelect.js +163 -0
- package/dist/Select/BaseSelect.cjs +1 -0
- package/dist/Select/BaseSelect.js +222 -0
- package/dist/Select/MultiSelectTags.cjs +1 -0
- package/dist/Select/MultiSelectTags.js +101 -0
- package/dist/Typography/Blockquote.cjs +1 -0
- package/dist/Typography/Blockquote.js +75 -0
- package/dist/Typography/Code.cjs +1 -0
- package/dist/Typography/Code.js +123 -0
- package/dist/Typography/Link.cjs +1 -0
- package/dist/Typography/Link.js +128 -0
- package/dist/Typography/Paragraph.cjs +1 -0
- package/dist/Typography/Paragraph.js +212 -0
- package/dist/Typography/Text.cjs +1 -0
- package/dist/Typography/Text.js +205 -0
- package/dist/Typography/Title.cjs +1 -0
- package/dist/Typography/Title.d.ts.map +1 -1
- package/dist/Typography/Title.js +199 -0
- package/dist/Typography/Typography.cjs +1 -0
- package/dist/Typography/Typography.js +16 -0
- package/dist/Typography/index.d.ts +1 -0
- package/dist/Typography/index.d.ts.map +1 -1
- package/dist/Typography/index.js +13 -0
- package/dist/Typography/tooltip.cjs +1 -0
- package/dist/Typography/tooltip.js +18 -0
- package/dist/Typography/utils.cjs +1 -0
- package/dist/Typography/utils.js +24 -0
- package/dist/Typography/weightStyles.cjs +1 -0
- package/dist/assets/stylex.css +333 -274
- package/dist/astryx.cjs +1 -0
- package/dist/astryx.d.ts +3 -0
- package/dist/astryx.d.ts.map +1 -0
- package/dist/astryx.js +2 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +118 -111
- package/dist/layout/Box.cjs +1 -0
- package/dist/layout/Box.d.ts +19 -0
- package/dist/layout/Box.d.ts.map +1 -0
- package/dist/layout/Box.js +112 -0
- package/dist/layout/Center.cjs +1 -0
- package/dist/layout/Center.d.ts +9 -0
- package/dist/layout/Center.d.ts.map +1 -0
- package/dist/layout/Center.js +22 -0
- package/dist/layout/Container.cjs +1 -0
- package/dist/layout/Container.d.ts +17 -0
- package/dist/layout/Container.d.ts.map +1 -0
- package/dist/layout/Container.js +75 -0
- package/dist/layout/Stack.cjs +1 -0
- package/dist/layout/Stack.d.ts +26 -0
- package/dist/layout/Stack.d.ts.map +1 -0
- package/dist/layout/Stack.js +89 -0
- package/dist/layout/index.d.ts +6 -1
- package/dist/layout/index.d.ts.map +1 -1
- package/dist/layout/index.js +9 -0
- package/dist/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.cjs +1 -0
- package/dist/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.js +336 -0
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs +1 -0
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +321 -0
- package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.cjs +1 -0
- package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +211 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-alert-dialog@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_023ac3f94ac95798b92bc4b7f556cbda/node_modules/@radix-ui/react-alert-dialog/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-alert-dialog@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_023ac3f94ac95798b92bc4b7f556cbda/node_modules/@radix-ui/react-alert-dialog/dist/index.js +87 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-aspect-ratio@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_3fe40fa8e2833eaf8803b46e02e4c30f/node_modules/@radix-ui/react-aspect-ratio/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-aspect-ratio@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_3fe40fa8e2833eaf8803b46e02e4c30f/node_modules/@radix-ui/react-aspect-ratio/dist/index.js +31 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.2.6_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_c3568bdf5c60d38014d320037c857c95/node_modules/@radix-ui/react-avatar/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.2.6_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_c3568bdf5c60d38014d320037c857c95/node_modules/@radix-ui/react-avatar/dist/index.js +87 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.20_@types_react-dom@19.3.0_@types_react@19.3.0__@types__75f9b408b6aa016f78c6c390e6f84227/node_modules/@radix-ui/react-collapsible/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.20_@types_react-dom@19.3.0_@types_react@19.3.0__@types__75f9b408b6aa016f78c6c390e6f84227/node_modules/@radix-ui/react-collapsible/dist/index.js +94 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_5961dc5beb3cb19a205dfdbd3304cbe5/node_modules/@radix-ui/react-collection/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_5961dc5beb3cb19a205dfdbd3304cbe5/node_modules/@radix-ui/react-collection/dist/index.js +409 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-context-menu@2.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types__30d9c1a1570dd32a7a328fd93feebae9/node_modules/@radix-ui/react-context-menu/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-context-menu@2.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types__30d9c1a1570dd32a7a328fd93feebae9/node_modules/@radix-ui/react-context-menu/dist/index.js +198 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-context@1.2.2_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-context/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-direction@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-direction/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-direction@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-direction/dist/index.js +14 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@_221317ca07dfdaa6590fc49e548d4242/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@_221317ca07dfdaa6590fc49e548d4242/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +170 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-focus-guards/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.16_@types_react-dom@19.3.0_@types_react@19.3.0__@types__3593711fa410ee31279d746c57990974/node_modules/@radix-ui/react-focus-scope/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.16_@types_react-dom@19.3.0_@types_react@19.3.0__@types__3593711fa410ee31279d746c57990974/node_modules/@radix-ui/react-focus-scope/dist/index.js +158 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-hover-card@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_a8ac333b78a7741970303e37358b886d/node_modules/@radix-ui/react-hover-card/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-hover-card@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_a8ac333b78a7741970303e37358b886d/node_modules/@radix-ui/react-hover-card/dist/index.js +149 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-id/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-id/dist/index.js +15 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-menu@2.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_bd1746795e703f342b2f4982589d4efb/node_modules/@radix-ui/react-menu/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-menu@2.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_bd1746795e703f342b2f4982589d4efb/node_modules/@radix-ui/react-menu/dist/index.js +543 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-menubar@1.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_reac_b8d55f7c7c6b477421e3cc1ba6fb334b/node_modules/@radix-ui/react-menubar/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-menubar@1.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_reac_b8d55f7c7c6b477421e3cc1ba6fb334b/node_modules/@radix-ui/react-menubar/dist/index.js +275 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-navigation-menu@1.2.22_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_fde94e4aef42debd49119dde2ad3b250/node_modules/@radix-ui/react-navigation-menu/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-navigation-menu@1.2.22_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_fde94e4aef42debd49119dde2ad3b250/node_modules/@radix-ui/react-navigation-menu/dist/index.js +537 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_ca4fb1e7b10e21399fbf7b38c61d930c/node_modules/@radix-ui/react-popper/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_ca4fb1e7b10e21399fbf7b38c61d930c/node_modules/@radix-ui/react-popper/dist/index.js +163 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.17_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_dcf9598b366f9d4cb930092169158fb6/node_modules/@radix-ui/react-portal/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.17_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_dcf9598b366f9d4cb930092169158fb6/node_modules/@radix-ui/react-portal/dist/index.js +20 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_rea_d7b4951725c0f0b9fd732151cb937913/node_modules/@radix-ui/react-presence/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_rea_d7b4951725c0f0b9fd732151cb937913/node_modules/@radix-ui/react-presence/dist/index.js +97 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_re_b879c40dbdb8ea08e1db9842f10f20a8/node_modules/@radix-ui/react-primitive/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-roving-focus@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_43a41e6ed06e4781ce7b1fb0f0076623/node_modules/@radix-ui/react-roving-focus/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-roving-focus@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_43a41e6ed06e4781ce7b1fb0f0076623/node_modules/@radix-ui/react-roving-focus/dist/index.js +168 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-slider@1.4.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_0a49b18268a9d1d70ad7e785633a1513/node_modules/@radix-ui/react-slider/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-slider@1.4.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_0a49b18268a9d1d70ad7e785633a1513/node_modules/@radix-ui/react-slider/dist/index.js +431 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-switch@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_f8723a7bd506c0f648804ec2dc0f18e3/node_modules/@radix-ui/react-switch/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-switch@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_f8723a7bd506c0f648804ec2dc0f18e3/node_modules/@radix-ui/react-switch/dist/index.js +155 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-tabs@1.1.21_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_2c04ca1fb5fd914a25ee24a303bd8469/node_modules/@radix-ui/react-tabs/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-tabs@1.1.21_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_2c04ca1fb5fd914a25ee24a303bd8469/node_modules/@radix-ui/react-tabs/dist/index.js +117 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-toggle-group@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_e645c0ca626436d86b14232bd158d09b/node_modules/@radix-ui/react-toggle-group/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-toggle-group@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_e645c0ca626436d86b14232bd158d09b/node_modules/@radix-ui/react-toggle-group/dist/index.js +122 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-toggle@1.1.18_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_f121473145ec675e8ab50657e8e97e06/node_modules/@radix-ui/react-toggle/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-toggle@1.1.18_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_f121473145ec675e8ab50657e8e97e06/node_modules/@radix-ui/react-toggle/dist/index.js +30 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +82 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-effect-event@0.0.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-effect-event/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-effect-event@0.0.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-effect-event/dist/index.js +20 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.3_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-is-hydrated/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-previous@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-previous/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-size/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-size/dist/index.js +34 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.11_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_ef452cff5863a129db7ebc4b37ab07c3/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.11_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_ef452cff5863a129db7ebc4b37ab07c3/node_modules/@radix-ui/react-visually-hidden/dist/index.js +29 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/formatters.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/formatters.js +388 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/lightFormatters.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/lightFormatters.js +42 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +7 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.js +7 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.js +6 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.js +10 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.js +58 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDayOfYear.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDayOfYear.js +9 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeek.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeek.js +10 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeekYear.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeekYear.js +13 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeek.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeek.js +10 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeekYear.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeekYear.js +14 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isValid.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isValid.js +7 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatLong.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatLong.js +31 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/localize.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/localize.js +201 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/match.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/match.js +123 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US.js +19 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfDay.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfDay.js +7 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeek.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeek.js +9 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeekYear.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeekYear.js +9 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.js +8 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeekYear.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeekYear.js +10 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfYear.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfYear.js +7 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/toDate.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/toDate.js +6 -0
- package/dist/node_modules/.pnpm/embla-carousel-react@8.6.0_react@19.3.1/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.cjs +1 -0
- package/dist/node_modules/.pnpm/embla-carousel-react@8.6.0_react@19.3.1/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js +23 -0
- package/dist/node_modules/.pnpm/input-otp@1.4.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/input-otp/dist/index.cjs +20 -0
- package/dist/node_modules/.pnpm/react-hook-form@7.83.0_react@19.3.1/node_modules/react-hook-form/dist/index.esm.cjs +1 -0
- package/dist/node_modules/.pnpm/react-number-format@5.4.5_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-number-format/dist/react-number-format.es.cjs +9 -0
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/component.cjs +38 -0
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/component.js +69 -0
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/index.cjs +1 -0
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/index.js +3 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/Combination.cjs +1 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/Combination.js +13 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.cjs +4 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +112 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/UI.cjs +1 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/UI.js +51 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/medium.cjs +1 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/medium.js +4 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/sidecar.cjs +1 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/sidecar.js +6 -0
- package/dist/node_modules/.pnpm/react-resizable-panels@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-resizable-panels/dist/react-resizable-panels.browser.esm.cjs +1 -0
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/component.cjs +1 -0
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/component.js +10 -0
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/hook.cjs +1 -0
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/hook.js +14 -0
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/index.cjs +1 -0
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/index.js +3 -0
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/singleton.cjs +1 -0
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/singleton.js +27 -0
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.cjs +1 -0
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +25 -0
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/exports.cjs +1 -0
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/exports.js +15 -0
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/medium.cjs +1 -0
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/medium.js +68 -0
- package/dist/node_modules/.pnpm/vaul@1.1.2_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@19.3.0_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/vaul/dist/index.cjs +3 -0
- package/dist/richtext/index.d.ts +2 -0
- package/dist/richtext/index.d.ts.map +1 -0
- package/dist/theme/index.cjs +1 -0
- package/dist/theme/index.js +34 -0
- package/dist/theme/tokens.stylex.cjs +1 -0
- package/dist/theme/tokens.stylex.d.ts +175 -5
- package/dist/theme/tokens.stylex.d.ts.map +1 -1
- package/dist/theme/tokens.stylex.js +166 -0
- package/dist/theme/zIndex.cjs +1 -0
- package/dist/theme.css +3985 -127
- package/dist/ui/accordion.cjs +1 -0
- package/dist/ui/accordion.js +286 -0
- package/dist/ui/action-bar.cjs +1 -0
- package/dist/ui/action-bar.js +161 -0
- package/dist/ui/alert-dialog.cjs +1 -0
- package/dist/ui/alert-dialog.js +234 -0
- package/dist/ui/alert.cjs +1 -0
- package/dist/ui/alert.js +97 -0
- package/dist/ui/aspect-ratio.cjs +1 -0
- package/dist/ui/aspect-ratio.js +15 -0
- package/dist/ui/avatar.cjs +1 -0
- package/dist/ui/avatar.js +224 -0
- package/dist/ui/badge-overflow.cjs +1 -0
- package/dist/ui/badge-overflow.js +57 -0
- package/dist/ui/badge.cjs +1 -0
- package/dist/ui/badge.d.ts +2 -0
- package/dist/ui/badge.d.ts.map +1 -1
- package/dist/ui/badge.js +146 -0
- package/dist/ui/breadcrumb.cjs +1 -0
- package/dist/ui/breadcrumb.js +273 -0
- package/dist/ui/button.cjs +1 -0
- package/dist/ui/button.d.ts +2 -0
- package/dist/ui/button.d.ts.map +1 -1
- package/dist/ui/button.js +372 -0
- package/dist/ui/calendar.cjs +1 -0
- package/dist/ui/calendar.js +506 -0
- package/dist/ui/card.cjs +1 -0
- package/dist/ui/card.js +211 -0
- package/dist/ui/carousel.cjs +1 -0
- package/dist/ui/carousel.js +208 -0
- package/dist/ui/checkbox.cjs +1 -0
- package/dist/ui/checkbox.js +157 -0
- package/dist/ui/circular-progress.cjs +1 -0
- package/dist/ui/circular-progress.js +124 -0
- package/dist/ui/collapsible.cjs +1 -0
- package/dist/ui/collapsible.js +33 -0
- package/dist/ui/command.cjs +1 -0
- package/dist/ui/command.js +277 -0
- package/dist/ui/compare-slider.cjs +1 -0
- package/dist/ui/compare-slider.js +134 -0
- package/dist/ui/context-menu.cjs +1 -0
- package/dist/ui/context-menu.js +330 -0
- package/dist/ui/copy-button.cjs +1 -0
- package/dist/ui/copy-button.d.ts.map +1 -1
- package/dist/ui/copy-button.js +80 -0
- package/dist/ui/dialog.cjs +1 -0
- package/dist/ui/dialog.js +212 -0
- package/dist/ui/drawer.cjs +1 -0
- package/dist/ui/drawer.js +222 -0
- package/dist/ui/dropdown-menu.cjs +1 -0
- package/dist/ui/dropdown-menu.js +319 -0
- package/dist/ui/editable.cjs +1 -0
- package/dist/ui/editable.js +339 -0
- package/dist/ui/empty.cjs +1 -0
- package/dist/ui/empty.js +134 -0
- package/dist/ui/field.cjs +1 -0
- package/dist/ui/field.d.ts +2 -0
- package/dist/ui/field.d.ts.map +1 -1
- package/dist/ui/field.js +316 -0
- package/dist/ui/file-upload-adapters.cjs +1 -0
- package/dist/ui/file-upload.cjs +1 -0
- package/dist/ui/file-upload.js +997 -0
- package/dist/ui/flex.cjs +1 -0
- package/dist/ui/flex.js +182 -0
- package/dist/ui/form.cjs +1 -0
- package/dist/ui/form.js +159 -0
- package/dist/ui/gauge.cjs +1 -0
- package/dist/ui/gauge.js +116 -0
- package/dist/ui/grid.cjs +1 -0
- package/dist/ui/grid.js +190 -0
- package/dist/ui/hover-card.cjs +1 -0
- package/dist/ui/hover-card.js +61 -0
- package/dist/ui/input-group.cjs +1 -0
- package/dist/ui/input-group.js +219 -0
- package/dist/ui/input-otp.cjs +1 -0
- package/dist/ui/input-otp.js +184 -0
- package/dist/ui/input.cjs +1 -0
- package/dist/ui/input.js +368 -0
- package/dist/ui/item.cjs +1 -0
- package/dist/ui/item.js +276 -0
- package/dist/ui/kbd.cjs +1 -0
- package/dist/ui/kbd.js +107 -0
- package/dist/ui/label.cjs +1 -0
- package/dist/ui/masonry.cjs +1 -0
- package/dist/ui/masonry.js +51 -0
- package/dist/ui/menubar.cjs +1 -0
- package/dist/ui/menubar.js +405 -0
- package/dist/ui/navigation-menu.cjs +1 -0
- package/dist/ui/navigation-menu.js +256 -0
- package/dist/ui/pagination.cjs +1 -0
- package/dist/ui/pagination.js +317 -0
- package/dist/ui/popover.cjs +1 -0
- package/dist/ui/popover.js +69 -0
- package/dist/ui/progress.cjs +1 -0
- package/dist/ui/progress.js +29 -0
- package/dist/ui/radio-group.cjs +1 -0
- package/dist/ui/radio-group.js +167 -0
- package/dist/ui/rating.cjs +1 -0
- package/dist/ui/rating.js +171 -0
- package/dist/ui/resizable.cjs +1 -0
- package/dist/ui/resizable.js +75 -0
- package/dist/ui/responsive-dialog.cjs +1 -0
- package/dist/ui/responsive-dialog.js +175 -0
- package/dist/ui/row-col.cjs +1 -0
- package/dist/ui/row-col.js +471 -0
- package/dist/ui/scroll-area.cjs +1 -0
- package/dist/ui/scroll-area.js +83 -0
- package/dist/ui/segmented.cjs +1 -0
- package/dist/ui/segmented.js +155 -0
- package/dist/ui/select.cjs +1 -0
- package/dist/ui/select.js +280 -0
- package/dist/ui/separator.cjs +1 -0
- package/dist/ui/separator.d.ts +2 -0
- package/dist/ui/separator.d.ts.map +1 -1
- package/dist/ui/separator.js +36 -0
- package/dist/ui/sheet.cjs +1 -0
- package/dist/ui/sheet.js +263 -0
- package/dist/ui/sidebar.cjs +1 -0
- package/dist/ui/sidebar.js +808 -0
- package/dist/ui/skeleton.cjs +1 -0
- package/dist/ui/skeleton.js +30 -0
- package/dist/ui/slider.cjs +1 -0
- package/dist/ui/slider.js +44 -0
- package/dist/ui/sonner.cjs +1 -0
- package/dist/ui/sonner.d.ts +1 -1
- package/dist/ui/sonner.d.ts.map +1 -1
- package/dist/ui/sonner.js +24 -0
- package/dist/ui/spinner.cjs +1 -0
- package/dist/ui/stat.cjs +1 -0
- package/dist/ui/stat.js +185 -0
- package/dist/ui/stepper.cjs +1 -0
- package/dist/ui/stepper.js +459 -0
- package/dist/ui/switch.cjs +1 -0
- package/dist/ui/switch.js +190 -0
- package/dist/ui/table.cjs +1 -0
- package/dist/ui/tabs.cjs +1 -0
- package/dist/ui/tabs.js +226 -0
- package/dist/ui/tags-input.cjs +1 -0
- package/dist/ui/tags-input.js +353 -0
- package/dist/ui/textarea.cjs +1 -0
- package/dist/ui/textarea.js +113 -0
- package/dist/ui/timeline.cjs +1 -0
- package/dist/ui/timeline.js +361 -0
- package/dist/ui/toggle-group.cjs +1 -0
- package/dist/ui/toggle-group.js +74 -0
- package/dist/ui/toggle.cjs +1 -0
- package/dist/ui/toggle.d.ts +1 -1
- package/dist/ui/toggle.js +136 -0
- package/dist/ui/tooltip.cjs +1 -0
- package/dist/ui/tooltip.js +63 -0
- package/dist/ui/useBreakpoint.cjs +1 -0
- package/dist/utils.cjs +1 -0
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +7 -0
- package/dist/vlrc-theme.css +316 -0
- package/package.json +51 -52
- package/dist/index10.cjs +0 -1
- package/dist/index10.js +0 -18
- package/dist/index100.cjs +0 -1
- package/dist/index100.js +0 -13
- package/dist/index101.cjs +0 -1
- package/dist/index101.js +0 -543
- package/dist/index102.cjs +0 -1
- package/dist/index102.js +0 -198
- package/dist/index103.cjs +0 -1
- package/dist/index103.js +0 -330
- package/dist/index104.cjs +0 -1
- package/dist/index104.js +0 -80
- package/dist/index105.cjs +0 -3
- package/dist/index106.cjs +0 -1
- package/dist/index106.js +0 -222
- package/dist/index107.cjs +0 -1
- package/dist/index107.js +0 -319
- package/dist/index108.cjs +0 -1
- package/dist/index108.js +0 -339
- package/dist/index109.cjs +0 -1
- package/dist/index109.js +0 -134
- package/dist/index11.cjs +0 -1
- package/dist/index110.cjs +0 -1
- package/dist/index111.cjs +0 -1
- package/dist/index111.js +0 -35
- package/dist/index112.cjs +0 -1
- package/dist/index112.js +0 -315
- package/dist/index113.cjs +0 -1
- package/dist/index114.cjs +0 -1
- package/dist/index114.js +0 -997
- package/dist/index115.cjs +0 -1
- package/dist/index116.cjs +0 -1
- package/dist/index116.js +0 -159
- package/dist/index117.cjs +0 -1
- package/dist/index117.js +0 -116
- package/dist/index118.cjs +0 -1
- package/dist/index119.cjs +0 -1
- package/dist/index119.js +0 -471
- package/dist/index12.cjs +0 -1
- package/dist/index12.js +0 -199
- package/dist/index120.cjs +0 -1
- package/dist/index120.js +0 -190
- package/dist/index121.cjs +0 -1
- package/dist/index121.js +0 -149
- package/dist/index122.cjs +0 -1
- package/dist/index122.js +0 -61
- package/dist/index123.cjs +0 -1
- package/dist/index123.js +0 -368
- package/dist/index124.cjs +0 -1
- package/dist/index124.js +0 -219
- package/dist/index125.cjs +0 -20
- package/dist/index126.cjs +0 -1
- package/dist/index126.js +0 -184
- package/dist/index127.cjs +0 -1
- package/dist/index127.js +0 -276
- package/dist/index128.cjs +0 -1
- package/dist/index128.js +0 -51
- package/dist/index129.cjs +0 -1
- package/dist/index129.js +0 -275
- package/dist/index13.cjs +0 -1
- package/dist/index13.js +0 -212
- package/dist/index130.cjs +0 -1
- package/dist/index130.js +0 -405
- package/dist/index131.cjs +0 -1
- package/dist/index132.cjs +0 -1
- package/dist/index132.js +0 -29
- package/dist/index133.cjs +0 -1
- package/dist/index133.js +0 -537
- package/dist/index134.cjs +0 -1
- package/dist/index134.js +0 -256
- package/dist/index135.cjs +0 -1
- package/dist/index135.js +0 -317
- package/dist/index136.cjs +0 -1
- package/dist/index136.js +0 -29
- package/dist/index137.cjs +0 -1
- package/dist/index137.js +0 -167
- package/dist/index138.cjs +0 -1
- package/dist/index138.js +0 -171
- package/dist/index139.cjs +0 -1
- package/dist/index14.cjs +0 -1
- package/dist/index14.js +0 -205
- package/dist/index140.cjs +0 -1
- package/dist/index140.js +0 -75
- package/dist/index141.cjs +0 -1
- package/dist/index141.js +0 -175
- package/dist/index142.cjs +0 -1
- package/dist/index142.js +0 -83
- package/dist/index143.cjs +0 -1
- package/dist/index143.js +0 -155
- package/dist/index144.cjs +0 -1
- package/dist/index144.js +0 -280
- package/dist/index145.cjs +0 -1
- package/dist/index145.js +0 -263
- package/dist/index146.cjs +0 -1
- package/dist/index146.js +0 -30
- package/dist/index147.cjs +0 -1
- package/dist/index147.js +0 -808
- package/dist/index149.cjs +0 -1
- package/dist/index149.js +0 -431
- package/dist/index15.cjs +0 -1
- package/dist/index15.js +0 -128
- package/dist/index150.cjs +0 -1
- package/dist/index150.js +0 -44
- package/dist/index151.cjs +0 -1
- package/dist/index151.js +0 -28
- package/dist/index152.cjs +0 -1
- package/dist/index153.cjs +0 -1
- package/dist/index153.js +0 -185
- package/dist/index154.cjs +0 -1
- package/dist/index154.js +0 -459
- package/dist/index155.cjs +0 -1
- package/dist/index155.js +0 -155
- package/dist/index156.cjs +0 -1
- package/dist/index156.js +0 -190
- package/dist/index157.cjs +0 -1
- package/dist/index158.cjs +0 -1
- package/dist/index158.js +0 -117
- package/dist/index159.cjs +0 -1
- package/dist/index159.js +0 -226
- package/dist/index16.cjs +0 -1
- package/dist/index16.js +0 -75
- package/dist/index160.cjs +0 -1
- package/dist/index160.js +0 -353
- package/dist/index161.cjs +0 -1
- package/dist/index161.js +0 -113
- package/dist/index162.cjs +0 -1
- package/dist/index162.js +0 -361
- package/dist/index163.cjs +0 -1
- package/dist/index163.js +0 -30
- package/dist/index164.cjs +0 -1
- package/dist/index164.js +0 -136
- package/dist/index165.cjs +0 -1
- package/dist/index165.js +0 -122
- package/dist/index166.cjs +0 -1
- package/dist/index166.js +0 -74
- package/dist/index167.cjs +0 -1
- package/dist/index167.js +0 -120
- package/dist/index169.cjs +0 -1
- package/dist/index169.js +0 -101
- package/dist/index17.cjs +0 -1
- package/dist/index17.js +0 -123
- package/dist/index170.cjs +0 -1
- package/dist/index170.js +0 -46
- package/dist/index171.cjs +0 -1
- package/dist/index171.js +0 -48
- package/dist/index172.cjs +0 -1
- package/dist/index172.js +0 -50
- package/dist/index173.cjs +0 -1
- package/dist/index174.cjs +0 -1
- package/dist/index174.js +0 -159
- package/dist/index175.cjs +0 -1
- package/dist/index175.js +0 -71
- package/dist/index176.cjs +0 -1
- package/dist/index176.js +0 -59
- package/dist/index177.cjs +0 -1
- package/dist/index177.js +0 -226
- package/dist/index178.cjs +0 -1
- package/dist/index178.js +0 -114
- package/dist/index179.cjs +0 -1
- package/dist/index179.js +0 -221
- package/dist/index18.cjs +0 -1
- package/dist/index18.js +0 -16
- package/dist/index181.cjs +0 -1
- package/dist/index181.js +0 -367
- package/dist/index182.cjs +0 -1
- package/dist/index182.js +0 -163
- package/dist/index183.cjs +0 -1
- package/dist/index183.js +0 -199
- package/dist/index184.cjs +0 -1
- package/dist/index184.js +0 -25
- package/dist/index186.cjs +0 -1
- package/dist/index186.js +0 -6
- package/dist/index187.cjs +0 -1
- package/dist/index187.js +0 -6
- package/dist/index189.cjs +0 -1
- package/dist/index189.js +0 -8
- package/dist/index190.cjs +0 -1
- package/dist/index190.js +0 -9
- package/dist/index191.cjs +0 -1
- package/dist/index191.js +0 -13
- package/dist/index192.cjs +0 -1
- package/dist/index192.js +0 -7
- package/dist/index193.cjs +0 -1
- package/dist/index193.js +0 -7
- package/dist/index194.cjs +0 -1
- package/dist/index194.js +0 -7
- package/dist/index195.cjs +0 -1
- package/dist/index195.js +0 -10
- package/dist/index196.cjs +0 -1
- package/dist/index196.js +0 -9
- package/dist/index198.cjs +0 -1
- package/dist/index198.js +0 -7
- package/dist/index199.cjs +0 -1
- package/dist/index199.js +0 -7
- package/dist/index202.cjs +0 -1
- package/dist/index202.js +0 -31
- package/dist/index205.cjs +0 -1
- package/dist/index205.js +0 -201
- package/dist/index208.cjs +0 -1
- package/dist/index208.js +0 -123
- package/dist/index209.cjs +0 -1
- package/dist/index209.js +0 -19
- package/dist/index21.cjs +0 -1
- package/dist/index21.js +0 -29
- package/dist/index210.cjs +0 -1
- package/dist/index210.js +0 -9
- package/dist/index211.cjs +0 -1
- package/dist/index211.js +0 -10
- package/dist/index212.cjs +0 -1
- package/dist/index212.js +0 -14
- package/dist/index213.cjs +0 -1
- package/dist/index213.js +0 -10
- package/dist/index214.cjs +0 -1
- package/dist/index214.js +0 -10
- package/dist/index216.cjs +0 -1
- package/dist/index216.js +0 -42
- package/dist/index217.cjs +0 -1
- package/dist/index217.js +0 -388
- package/dist/index22.cjs +0 -1
- package/dist/index22.js +0 -371
- package/dist/index220.cjs +0 -1
- package/dist/index220.js +0 -58
- package/dist/index221.cjs +0 -1
- package/dist/index221.js +0 -40
- package/dist/index222.cjs +0 -1
- package/dist/index222.js +0 -123
- package/dist/index223.cjs +0 -1
- package/dist/index223.js +0 -86
- package/dist/index224.cjs +0 -1
- package/dist/index224.js +0 -89
- package/dist/index225.cjs +0 -1
- package/dist/index225.js +0 -120
- package/dist/index226.cjs +0 -1
- package/dist/index226.js +0 -100
- package/dist/index227.cjs +0 -1
- package/dist/index227.js +0 -157
- package/dist/index228.cjs +0 -1
- package/dist/index228.js +0 -79
- package/dist/index229.cjs +0 -9
- package/dist/index23.cjs +0 -1
- package/dist/index23.js +0 -212
- package/dist/index230.cjs +0 -1
- package/dist/index230.js +0 -67
- package/dist/index231.cjs +0 -1
- package/dist/index231.js +0 -43
- package/dist/index232.cjs +0 -1
- package/dist/index232.js +0 -67
- package/dist/index234.cjs +0 -1
- package/dist/index234.js +0 -101
- package/dist/index235.cjs +0 -1
- package/dist/index235.js +0 -222
- package/dist/index236.cjs +0 -1
- package/dist/index236.js +0 -30
- package/dist/index238.cjs +0 -1
- package/dist/index238.js +0 -63
- package/dist/index239.cjs +0 -1
- package/dist/index239.js +0 -422
- package/dist/index24.cjs +0 -1
- package/dist/index24.js +0 -257
- package/dist/index240.cjs +0 -1
- package/dist/index240.js +0 -30
- package/dist/index241.cjs +0 -1
- package/dist/index241.js +0 -221
- package/dist/index25.cjs +0 -1
- package/dist/index25.js +0 -286
- package/dist/index26.cjs +0 -1
- package/dist/index26.js +0 -182
- package/dist/index27.cjs +0 -1
- package/dist/index27.js +0 -107
- package/dist/index28.cjs +0 -1
- package/dist/index28.js +0 -161
- package/dist/index29.cjs +0 -1
- package/dist/index29.js +0 -97
- package/dist/index3.cjs +0 -1
- package/dist/index3.js +0 -63
- package/dist/index30.cjs +0 -1
- package/dist/index31.cjs +0 -1
- package/dist/index33.cjs +0 -1
- package/dist/index33.js +0 -87
- package/dist/index34.cjs +0 -1
- package/dist/index34.js +0 -234
- package/dist/index35.cjs +0 -1
- package/dist/index36.cjs +0 -1
- package/dist/index36.js +0 -31
- package/dist/index37.cjs +0 -1
- package/dist/index37.js +0 -15
- package/dist/index38.cjs +0 -1
- package/dist/index39.cjs +0 -1
- package/dist/index40.cjs +0 -1
- package/dist/index40.js +0 -87
- package/dist/index41.cjs +0 -1
- package/dist/index41.js +0 -69
- package/dist/index42.cjs +0 -1
- package/dist/index42.js +0 -224
- package/dist/index43.cjs +0 -1
- package/dist/index43.js +0 -145
- package/dist/index44.cjs +0 -1
- package/dist/index44.js +0 -57
- package/dist/index45.cjs +0 -1
- package/dist/index45.js +0 -273
- package/dist/index46.cjs +0 -1
- package/dist/index46.js +0 -8
- package/dist/index48.cjs +0 -1
- package/dist/index48.js +0 -506
- package/dist/index49.cjs +0 -1
- package/dist/index49.js +0 -211
- package/dist/index52.cjs +0 -1
- package/dist/index52.js +0 -23
- package/dist/index53.cjs +0 -1
- package/dist/index53.js +0 -208
- package/dist/index54.cjs +0 -1
- package/dist/index54.js +0 -157
- package/dist/index55.cjs +0 -1
- package/dist/index55.js +0 -124
- package/dist/index56.cjs +0 -1
- package/dist/index56.js +0 -20
- package/dist/index57.cjs +0 -1
- package/dist/index57.js +0 -82
- package/dist/index58.cjs +0 -1
- package/dist/index58.js +0 -97
- package/dist/index59.cjs +0 -1
- package/dist/index59.js +0 -15
- package/dist/index60.cjs +0 -1
- package/dist/index60.js +0 -94
- package/dist/index61.cjs +0 -1
- package/dist/index61.js +0 -33
- package/dist/index62.cjs +0 -1
- package/dist/index62.js +0 -277
- package/dist/index63.cjs +0 -1
- package/dist/index63.js +0 -134
- package/dist/index64.cjs +0 -1
- package/dist/index64.js +0 -409
- package/dist/index65.cjs +0 -1
- package/dist/index65.js +0 -170
- package/dist/index66.cjs +0 -1
- package/dist/index67.cjs +0 -1
- package/dist/index67.js +0 -158
- package/dist/index69.cjs +0 -1
- package/dist/index69.js +0 -336
- package/dist/index7.cjs +0 -1
- package/dist/index7.js +0 -24
- package/dist/index71.cjs +0 -1
- package/dist/index71.js +0 -321
- package/dist/index72.cjs +0 -1
- package/dist/index72.js +0 -211
- package/dist/index73.cjs +0 -1
- package/dist/index73.js +0 -34
- package/dist/index74.cjs +0 -1
- package/dist/index74.js +0 -163
- package/dist/index75.cjs +0 -1
- package/dist/index75.js +0 -20
- package/dist/index76.cjs +0 -1
- package/dist/index77.cjs +0 -1
- package/dist/index77.js +0 -168
- package/dist/index8.cjs +0 -1
- package/dist/index83.cjs +0 -1
- package/dist/index83.js +0 -25
- package/dist/index84.cjs +0 -1
- package/dist/index84.js +0 -68
- package/dist/index85.cjs +0 -1
- package/dist/index85.js +0 -15
- package/dist/index86.cjs +0 -1
- package/dist/index86.js +0 -4
- package/dist/index87.cjs +0 -1
- package/dist/index87.js +0 -51
- package/dist/index89.cjs +0 -1
- package/dist/index89.js +0 -27
- package/dist/index9.cjs +0 -1
- package/dist/index9.js +0 -63
- package/dist/index90.cjs +0 -1
- package/dist/index90.js +0 -14
- package/dist/index91.cjs +0 -1
- package/dist/index91.js +0 -10
- package/dist/index92.cjs +0 -1
- package/dist/index92.js +0 -3
- package/dist/index94.cjs +0 -38
- package/dist/index94.js +0 -69
- package/dist/index95.cjs +0 -1
- package/dist/index95.js +0 -3
- package/dist/index98.cjs +0 -4
- package/dist/index98.js +0 -112
- package/dist/index99.cjs +0 -1
- package/dist/index99.js +0 -6
- /package/dist/{index173.js → DataTable/render/defaults.js} +0 -0
- /package/dist/{index47.cjs → Form/FormDatePicker/types.cjs} +0 -0
- /package/dist/{index47.js → Form/FormDatePicker/types.js} +0 -0
- /package/dist/{index237.cjs → Form/FormRadioGroup/useFormRadio.cjs} +0 -0
- /package/dist/{index237.js → Form/FormRadioGroup/useFormRadio.js} +0 -0
- /package/dist/{index233.cjs → Form/FormSelect/useFormSelect.cjs} +0 -0
- /package/dist/{index233.js → Form/FormSelect/useFormSelect.js} +0 -0
- /package/dist/{index4.cjs → Icons/Icons.cjs} +0 -0
- /package/dist/{index4.js → Icons/Icons.js} +0 -0
- /package/dist/{index180.cjs → MultiSelect/utils.cjs} +0 -0
- /package/dist/{index180.js → MultiSelect/utils.js} +0 -0
- /package/dist/{index5.cjs → Typography/types.cjs} +0 -0
- /package/dist/{index5.js → Typography/types.js} +0 -0
- /package/dist/{index11.js → Typography/weightStyles.js} +0 -0
- /package/dist/{index2.cjs → _virtual/_rolldown/runtime.cjs} +0 -0
- /package/dist/{index2.js → _virtual/_rolldown/runtime.js} +0 -0
- /package/dist/{index168.cjs → lazyLoad.cjs} +0 -0
- /package/dist/{index168.js → lazyLoad.js} +0 -0
- /package/dist/{index68.cjs → node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs} +0 -0
- /package/dist/{index70.cjs → node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs} +0 -0
- /package/dist/{index70.js → node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js} +0 -0
- /package/dist/{index68.js → node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.js} +0 -0
- /package/dist/{index148.cjs → node_modules/.pnpm/@radix-ui_number@1.1.3/node_modules/@radix-ui/number/dist/index.cjs} +0 -0
- /package/dist/{index148.js → node_modules/.pnpm/@radix-ui_number@1.1.3/node_modules/@radix-ui/number/dist/index.js} +0 -0
- /package/dist/{index32.cjs → node_modules/.pnpm/@radix-ui_primitive@1.1.7/node_modules/@radix-ui/primitive/dist/index.cjs} +0 -0
- /package/dist/{index32.js → node_modules/.pnpm/@radix-ui_primitive@1.1.7/node_modules/@radix-ui/primitive/dist/index.js} +0 -0
- /package/dist/{index31.js → node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.js} +0 -0
- /package/dist/{index30.js → node_modules/.pnpm/@radix-ui_react-context@1.2.2_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-context/dist/index.js} +0 -0
- /package/dist/{index66.js → node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-focus-guards/dist/index.js} +0 -0
- /package/dist/{index35.js → node_modules/.pnpm/@radix-ui_react-primitive@2.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_re_b879c40dbdb8ea08e1db9842f10f20a8/node_modules/@radix-ui/react-primitive/dist/index.js} +0 -0
- /package/dist/{index38.js → node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.js} +0 -0
- /package/dist/{index76.js → node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.3_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js} +0 -0
- /package/dist/{index39.js → node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-layout-effect/dist/index.js} +0 -0
- /package/dist/{index131.js → node_modules/.pnpm/@radix-ui_react-use-previous@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-previous/dist/index.js} +0 -0
- /package/dist/{index78.cjs → node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.cjs} +0 -0
- /package/dist/{index78.js → node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js} +0 -0
- /package/dist/{index215.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/addLeadingZeros.cjs} +0 -0
- /package/dist/{index215.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/addLeadingZeros.js} +0 -0
- /package/dist/{index188.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.cjs} +0 -0
- /package/dist/{index188.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.js} +0 -0
- /package/dist/{index218.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/longFormatters.cjs} +0 -0
- /package/dist/{index218.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/longFormatters.js} +0 -0
- /package/dist/{index219.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/protectedTokens.cjs} +0 -0
- /package/dist/{index219.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/protectedTokens.js} +0 -0
- /package/dist/{index185.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constants.cjs} +0 -0
- /package/dist/{index185.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constants.js} +0 -0
- /package/dist/{index197.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.cjs} +0 -0
- /package/dist/{index197.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.js} +0 -0
- /package/dist/{index201.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.cjs} +0 -0
- /package/dist/{index201.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js} +0 -0
- /package/dist/{index204.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.cjs} +0 -0
- /package/dist/{index204.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js} +0 -0
- /package/dist/{index206.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.cjs} +0 -0
- /package/dist/{index206.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.js} +0 -0
- /package/dist/{index207.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.cjs} +0 -0
- /package/dist/{index207.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js} +0 -0
- /package/dist/{index200.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.cjs} +0 -0
- /package/dist/{index200.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.js} +0 -0
- /package/dist/{index203.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.cjs} +0 -0
- /package/dist/{index203.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.js} +0 -0
- /package/dist/{index50.cjs → node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.cjs} +0 -0
- /package/dist/{index50.js → node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js} +0 -0
- /package/dist/{index51.cjs → node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.cjs} +0 -0
- /package/dist/{index51.js → node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.js} +0 -0
- /package/dist/{index88.cjs → node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.cjs} +0 -0
- /package/dist/{index88.js → node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js} +0 -0
- /package/dist/{index125.js → node_modules/.pnpm/input-otp@1.4.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/input-otp/dist/index.js} +0 -0
- /package/dist/{index115.js → node_modules/.pnpm/react-hook-form@7.83.0_react@19.3.1/node_modules/react-hook-form/dist/index.esm.js} +0 -0
- /package/dist/{index229.js → node_modules/.pnpm/react-number-format@5.4.5_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-number-format/dist/react-number-format.es.js} +0 -0
- /package/dist/{index80.cjs → node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/constants.cjs} +0 -0
- /package/dist/{index80.js → node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/constants.js} +0 -0
- /package/dist/{index93.cjs → node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/utils.cjs} +0 -0
- /package/dist/{index93.js → node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/utils.js} +0 -0
- /package/dist/{index96.cjs → node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.cjs} +0 -0
- /package/dist/{index96.js → node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js} +0 -0
- /package/dist/{index97.cjs → node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/handleScroll.cjs} +0 -0
- /package/dist/{index97.js → node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/handleScroll.js} +0 -0
- /package/dist/{index139.js → node_modules/.pnpm/react-resizable-panels@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-resizable-panels/dist/react-resizable-panels.browser.esm.js} +0 -0
- /package/dist/{index79.cjs → node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.cjs} +0 -0
- /package/dist/{index79.js → node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js} +0 -0
- /package/dist/{index81.cjs → node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/assignRef.cjs} +0 -0
- /package/dist/{index81.js → node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/assignRef.js} +0 -0
- /package/dist/{index82.cjs → node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useRef.cjs} +0 -0
- /package/dist/{index82.js → node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useRef.js} +0 -0
- /package/dist/{index105.js → node_modules/.pnpm/vaul@1.1.2_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@19.3.0_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/vaul/dist/index.js} +0 -0
- /package/dist/{index6.cjs → theme/spacing.cjs} +0 -0
- /package/dist/{index6.js → theme/spacing.js} +0 -0
- /package/dist/{index19.cjs → theme/types.cjs} +0 -0
- /package/dist/{index19.js → theme/types.js} +0 -0
- /package/dist/{index20.cjs → theme/width.cjs} +0 -0
- /package/dist/{index20.js → theme/width.js} +0 -0
- /package/dist/{index8.js → theme/zIndex.js} +0 -0
- /package/dist/{index113.js → ui/file-upload-adapters.js} +0 -0
- /package/dist/{index110.js → ui/label.js} +0 -0
- /package/dist/{index152.js → ui/spinner.js} +0 -0
- /package/dist/{index157.js → ui/table.js} +0 -0
- /package/dist/{index118.js → ui/useBreakpoint.js} +0 -0
|
@@ -0,0 +1,367 @@
|
|
|
1
|
+
import { Text as e } from "../Typography/Text.js";
|
|
2
|
+
import { Badge as t } from "../ui/badge.js";
|
|
3
|
+
import { cn as n } from "../utils.js";
|
|
4
|
+
import { Command as r, CommandEmpty as i, CommandGroup as a, CommandInput as o, CommandItem as s, CommandList as c, CommandSeparator as l } from "../ui/command.js";
|
|
5
|
+
import { Separator as u } from "../ui/separator.js";
|
|
6
|
+
import { isGroupedOptions as d } from "./utils.js";
|
|
7
|
+
import "@stylexjs/stylex";
|
|
8
|
+
import { CheckIcon as f, ChevronDown as p, XCircle as m, XIcon as h } from "lucide-react";
|
|
9
|
+
import { Fragment as g, jsx as _, jsxs as v } from "react/jsx-runtime";
|
|
10
|
+
import "react";
|
|
11
|
+
import { c as y } from "react/compiler-runtime";
|
|
12
|
+
// src/MultiSelect/renderers.tsx
|
|
13
|
+
var b = {
|
|
14
|
+
badgeLabel: {
|
|
15
|
+
ks0D6T: "x1s8ub08",
|
|
16
|
+
k7Eaqz: "xeuugli",
|
|
17
|
+
kVQacm: "xb3r6kr",
|
|
18
|
+
kg5iWk: "xlyipyv",
|
|
19
|
+
khDVqt: "xuxw1ft",
|
|
20
|
+
kGuDYH: "xboafo0",
|
|
21
|
+
$$css: !0
|
|
22
|
+
},
|
|
23
|
+
optionLabelText: {
|
|
24
|
+
kUk6DE: "x845mor",
|
|
25
|
+
k7Eaqz: "xeuugli",
|
|
26
|
+
kVQacm: "xb3r6kr",
|
|
27
|
+
kg5iWk: "xlyipyv",
|
|
28
|
+
khDVqt: "xuxw1ft",
|
|
29
|
+
$$css: !0
|
|
30
|
+
},
|
|
31
|
+
extraBadge: {
|
|
32
|
+
kWkggS: "xjbqb8w",
|
|
33
|
+
kMwMTN: "x84br7x",
|
|
34
|
+
kVAM5u: "xb30jbz",
|
|
35
|
+
kGzVvX: "x1n5bzlp",
|
|
36
|
+
$$css: !0
|
|
37
|
+
},
|
|
38
|
+
separator: {
|
|
39
|
+
k1xSpc: "x78zum5",
|
|
40
|
+
kAzted: "x1rqwxy8",
|
|
41
|
+
kZKoxP: "x5yr21d",
|
|
42
|
+
$$css: !0
|
|
43
|
+
},
|
|
44
|
+
placeholderText: {
|
|
45
|
+
kGuDYH: "xkpwil5",
|
|
46
|
+
kMwMTN: "xw3nh4a",
|
|
47
|
+
kUOVxO: "x1acpp9h",
|
|
48
|
+
$$css: !0
|
|
49
|
+
},
|
|
50
|
+
footerActionItem: {
|
|
51
|
+
kUk6DE: "x98rzlu",
|
|
52
|
+
kjj79g: "xl56j7k",
|
|
53
|
+
kkrTdU: "x1ypdohk",
|
|
54
|
+
$$css: !0
|
|
55
|
+
}
|
|
56
|
+
}, x = (e) => {
|
|
57
|
+
let t = y(7), { politeMessage: n, assertiveMessage: r } = e, i;
|
|
58
|
+
t[0] === n ? i = t[1] : (i = /* @__PURE__ */ _("div", {
|
|
59
|
+
"aria-live": "polite",
|
|
60
|
+
"aria-atomic": "true",
|
|
61
|
+
role: "status",
|
|
62
|
+
children: n
|
|
63
|
+
}), t[0] = n, t[1] = i);
|
|
64
|
+
let a;
|
|
65
|
+
t[2] === r ? a = t[3] : (a = /* @__PURE__ */ _("div", {
|
|
66
|
+
"aria-live": "assertive",
|
|
67
|
+
"aria-atomic": "true",
|
|
68
|
+
role: "alert",
|
|
69
|
+
children: r
|
|
70
|
+
}), t[2] = r, t[3] = a);
|
|
71
|
+
let o;
|
|
72
|
+
return t[4] !== i || t[5] !== a ? (o = /* @__PURE__ */ v("div", {
|
|
73
|
+
className: "x10l6tqk x1i1rx1s xjm9jq1 x1717udv xkdpibf xb3r6kr xzpqnlu xuxw1ft xc342km",
|
|
74
|
+
children: [i, a]
|
|
75
|
+
}), t[4] = i, t[5] = a, t[6] = o) : o = t[6], o;
|
|
76
|
+
}, S = (r) => {
|
|
77
|
+
let i = y(51), { selectedValues: a, responsiveSettings: o, singleLine: s, animation: c, animationConfig: l, badgeAnimationClass: d, variant: f, getOptionByValue: g, toggleOption: x, clearExtraOptions: S, handleClear: C } = r, w;
|
|
78
|
+
i[0] === Symbol.for("react.memo_cache_sentinel") ? (w = {
|
|
79
|
+
0: { className: "x78zum5 x6s0dn4 xvh977a x1a02dak" },
|
|
80
|
+
2: { className: "x78zum5 x6s0dn4 xvh977a xw2csxc xes99ow" },
|
|
81
|
+
1: { className: "x78zum5 x6s0dn4 x1a02dak x1enigpx" },
|
|
82
|
+
3: { className: "x78zum5 x6s0dn4 xw2csxc xes99ow x1enigpx" }
|
|
83
|
+
}, i[0] = w) : w = i[0];
|
|
84
|
+
let T = w[!!s << 1 | !!o.compactMode], E;
|
|
85
|
+
if (i[1] !== c || i[2] !== l?.delay || i[3] !== l?.duration || i[4] !== d || i[5] !== g || i[6] !== o.compactMode || i[7] !== o.hideIcons || i[8] !== o.maxCount || i[9] !== a || i[10] !== x || i[11] !== f) {
|
|
86
|
+
let r;
|
|
87
|
+
i[13] !== c || i[14] !== l?.delay || i[15] !== l?.duration || i[16] !== d || i[17] !== g || i[18] !== o.compactMode || i[19] !== o.hideIcons || i[20] !== x || i[21] !== f ? (r = (r) => {
|
|
88
|
+
let i = g(r), a = i?.icon, s = i?.style;
|
|
89
|
+
if (!i) return null;
|
|
90
|
+
let u = {
|
|
91
|
+
animationDuration: `${c}s`,
|
|
92
|
+
...s?.badgeColor && { backgroundColor: s.badgeColor },
|
|
93
|
+
...s?.gradient && {
|
|
94
|
+
background: s.gradient,
|
|
95
|
+
color: "white"
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
return /* @__PURE__ */ v(t, {
|
|
99
|
+
variant: f === "inverted" ? "secondary" : f || "secondary",
|
|
100
|
+
className: n(d),
|
|
101
|
+
style: {
|
|
102
|
+
...u,
|
|
103
|
+
animationDuration: `${l?.duration || c}s`,
|
|
104
|
+
animationDelay: `${l?.delay || 0}s`
|
|
105
|
+
},
|
|
106
|
+
children: [
|
|
107
|
+
a && !o.hideIcons && /* @__PURE__ */ _(a, {
|
|
108
|
+
...{
|
|
109
|
+
0: { className: "x1l36t39 xcdlrvm xpoiemb" },
|
|
110
|
+
1: { className: "xvle69y x1jw3ynk xj17ml3" }
|
|
111
|
+
}[!!o.compactMode | 0],
|
|
112
|
+
...s?.iconColor && { style: { color: s.iconColor } }
|
|
113
|
+
}),
|
|
114
|
+
/* @__PURE__ */ _(e, {
|
|
115
|
+
ellipsis: !0,
|
|
116
|
+
tooltip: !0,
|
|
117
|
+
sx: b.badgeLabel,
|
|
118
|
+
children: i.label
|
|
119
|
+
}),
|
|
120
|
+
/* @__PURE__ */ _("button", {
|
|
121
|
+
type: "button",
|
|
122
|
+
onClick: (e) => {
|
|
123
|
+
e.stopPropagation(), x(r);
|
|
124
|
+
},
|
|
125
|
+
onKeyDown: (e) => {
|
|
126
|
+
(e.key === "Enter" || e.key === " ") && (e.preventDefault(), e.stopPropagation(), x(r));
|
|
127
|
+
},
|
|
128
|
+
"aria-label": `Remove ${i.label} from selection`,
|
|
129
|
+
className: "x13zjp5t x1l36t39 xcdlrvm x1ypdohk xqfady0 x1ngqb6p xc342km xjbqb8w x78zum5 x6s0dn4 xl56j7k x1a2a7pz x17iuh41",
|
|
130
|
+
children: /* @__PURE__ */ _(m, { ...{
|
|
131
|
+
0: { className: "xvle69y x1jw3ynk" },
|
|
132
|
+
1: { className: "x1qa65zt x1e7hgle" }
|
|
133
|
+
}[!!o.compactMode | 0] })
|
|
134
|
+
})
|
|
135
|
+
]
|
|
136
|
+
}, r);
|
|
137
|
+
}, i[13] = c, i[14] = l?.delay, i[15] = l?.duration, i[16] = d, i[17] = g, i[18] = o.compactMode, i[19] = o.hideIcons, i[20] = x, i[21] = f, i[22] = r) : r = i[22], E = a.slice(0, o.maxCount).map(r).filter(Boolean), i[1] = c, i[2] = l?.delay, i[3] = l?.duration, i[4] = d, i[5] = g, i[6] = o.compactMode, i[7] = o.hideIcons, i[8] = o.maxCount, i[9] = a, i[10] = x, i[11] = f, i[12] = E;
|
|
138
|
+
} else E = i[12];
|
|
139
|
+
let D;
|
|
140
|
+
i[23] !== c || i[24] !== l?.delay || i[25] !== l?.duration || i[26] !== d || i[27] !== S || i[28] !== o.compactMode || i[29] !== o.maxCount || i[30] !== a.length ? (D = a.length > o.maxCount && /* @__PURE__ */ v(t, {
|
|
141
|
+
sx: b.extraBadge,
|
|
142
|
+
className: n(d),
|
|
143
|
+
style: {
|
|
144
|
+
animationDuration: `${l?.duration || c}s`,
|
|
145
|
+
animationDelay: `${l?.delay || 0}s`
|
|
146
|
+
},
|
|
147
|
+
children: [`+ ${a.length - o.maxCount} more`, /* @__PURE__ */ _(m, {
|
|
148
|
+
...{
|
|
149
|
+
0: { className: "x13zjp5t x1l36t39 xcdlrvm x1ypdohk" },
|
|
150
|
+
1: { className: "x4aigyd xvle69y x1jw3ynk" }
|
|
151
|
+
}[!!o.compactMode | 0],
|
|
152
|
+
onClick: (e) => {
|
|
153
|
+
e.stopPropagation(), S();
|
|
154
|
+
}
|
|
155
|
+
})]
|
|
156
|
+
}), i[23] = c, i[24] = l?.delay, i[25] = l?.duration, i[26] = d, i[27] = S, i[28] = o.compactMode, i[29] = o.maxCount, i[30] = a.length, i[31] = D) : D = i[31];
|
|
157
|
+
let O;
|
|
158
|
+
i[32] !== T || i[33] !== E || i[34] !== D ? (O = /* @__PURE__ */ v("div", {
|
|
159
|
+
...T,
|
|
160
|
+
children: [E, D]
|
|
161
|
+
}), i[32] = T, i[33] = E, i[34] = D, i[35] = O) : O = i[35];
|
|
162
|
+
let k, A;
|
|
163
|
+
i[36] === C ? (k = i[37], A = i[38]) : (k = (e) => {
|
|
164
|
+
e.stopPropagation(), C();
|
|
165
|
+
}, A = (e) => {
|
|
166
|
+
(e.key === "Enter" || e.key === " ") && (e.preventDefault(), e.stopPropagation(), C());
|
|
167
|
+
}, i[36] = C, i[37] = k, i[38] = A);
|
|
168
|
+
let j = `Clear all ${a.length} selected options`, M;
|
|
169
|
+
i[39] === Symbol.for("react.memo_cache_sentinel") ? (M = /* @__PURE__ */ _(h, { className: "x1l36t39 xcdlrvm" }), i[39] = M) : M = i[39];
|
|
170
|
+
let N;
|
|
171
|
+
i[40] !== k || i[41] !== A || i[42] !== j ? (N = /* @__PURE__ */ _("div", {
|
|
172
|
+
role: "button",
|
|
173
|
+
tabIndex: 0,
|
|
174
|
+
onClick: k,
|
|
175
|
+
onKeyDown: A,
|
|
176
|
+
"aria-label": j,
|
|
177
|
+
className: "x78zum5 x6s0dn4 xl56j7k x1l36t39 xcdlrvm x1wboj75 x1ypdohk xw3nh4a xqfady0 x1a2a7pz x8aud5w",
|
|
178
|
+
children: M
|
|
179
|
+
}), i[40] = k, i[41] = A, i[42] = j, i[43] = N) : N = i[43];
|
|
180
|
+
let P, F;
|
|
181
|
+
i[44] === Symbol.for("react.memo_cache_sentinel") ? (P = /* @__PURE__ */ _(u, {
|
|
182
|
+
orientation: "vertical",
|
|
183
|
+
sx: b.separator
|
|
184
|
+
}), F = /* @__PURE__ */ _(p, {
|
|
185
|
+
className: "x1l36t39 xcdlrvm x1wboj75 x1ypdohk xw3nh4a",
|
|
186
|
+
"aria-hidden": "true"
|
|
187
|
+
}), i[44] = P, i[45] = F) : (P = i[44], F = i[45]);
|
|
188
|
+
let I;
|
|
189
|
+
i[46] === N ? I = i[47] : (I = /* @__PURE__ */ v("div", {
|
|
190
|
+
className: "x78zum5 x6s0dn4 x1qughib",
|
|
191
|
+
children: [
|
|
192
|
+
N,
|
|
193
|
+
P,
|
|
194
|
+
F
|
|
195
|
+
]
|
|
196
|
+
}), i[46] = N, i[47] = I);
|
|
197
|
+
let L;
|
|
198
|
+
return i[48] !== I || i[49] !== O ? (L = /* @__PURE__ */ v("div", {
|
|
199
|
+
className: "x78zum5 x1qughib x6s0dn4 xh8yej3",
|
|
200
|
+
children: [O, I]
|
|
201
|
+
}), i[48] = I, i[49] = O, i[50] = L) : L = i[50], L;
|
|
202
|
+
}, C = (t) => {
|
|
203
|
+
let n = y(5), { placeholder: r } = t, i;
|
|
204
|
+
n[0] === r ? i = n[1] : (i = /* @__PURE__ */ _(e, {
|
|
205
|
+
as: "span",
|
|
206
|
+
type: "secondary",
|
|
207
|
+
sx: b.placeholderText,
|
|
208
|
+
children: r
|
|
209
|
+
}), n[0] = r, n[1] = i);
|
|
210
|
+
let a;
|
|
211
|
+
n[2] === Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ _(p, { className: "x1l36t39 xcdlrvm x1ypdohk xw3nh4a x1wboj75" }), n[2] = a) : a = n[2];
|
|
212
|
+
let o;
|
|
213
|
+
return n[3] === i ? o = n[4] : (o = /* @__PURE__ */ v("div", {
|
|
214
|
+
className: "x78zum5 x6s0dn4 x1qughib xh8yej3 xvueqy4",
|
|
215
|
+
children: [i, a]
|
|
216
|
+
}), n[3] = i, n[4] = o), o;
|
|
217
|
+
}, w = (t) => {
|
|
218
|
+
let n = y(39), { filteredOptions: p, hideSelectAll: m, searchValue: h, searchable: x, selectedValues: S, getAllOptions: C, toggleAll: w, toggleOption: D, handleClear: O, setIsPopoverOpen: k, handleInputKeyDown: A, setSearchValue: j, multiSelectId: M, emptyIndicator: N } = t, P;
|
|
219
|
+
n[0] !== A || n[1] !== M || n[2] !== h || n[3] !== x || n[4] !== j ? (P = x && /* @__PURE__ */ _(o, {
|
|
220
|
+
placeholder: "Search options...",
|
|
221
|
+
onKeyDown: A,
|
|
222
|
+
value: h,
|
|
223
|
+
onValueChange: j,
|
|
224
|
+
"aria-label": "Search through available options",
|
|
225
|
+
"aria-describedby": `${M}-search-help`
|
|
226
|
+
}), n[0] = A, n[1] = M, n[2] = h, n[3] = x, n[4] = j, n[5] = P) : P = n[5];
|
|
227
|
+
let F;
|
|
228
|
+
n[6] !== M || n[7] !== x ? (F = x && /* @__PURE__ */ _("div", {
|
|
229
|
+
id: `${M}-search-help`,
|
|
230
|
+
className: "x10l6tqk x1i1rx1s xjm9jq1 x1717udv xkdpibf xb3r6kr xzpqnlu xuxw1ft xc342km",
|
|
231
|
+
children: "Type to filter options. Use arrow keys to navigate results."
|
|
232
|
+
}), n[6] = M, n[7] = x, n[8] = F) : F = n[8];
|
|
233
|
+
let I = N || "No results found.", L;
|
|
234
|
+
n[9] === I ? L = n[10] : (L = /* @__PURE__ */ _(i, { children: I }), n[9] = I, n[10] = L);
|
|
235
|
+
let R;
|
|
236
|
+
n[11] !== C || n[12] !== m || n[13] !== h || n[14] !== S.length || n[15] !== w ? (R = !m && !h && /* @__PURE__ */ _(a, { children: /* @__PURE__ */ v(s, {
|
|
237
|
+
onSelect: w,
|
|
238
|
+
role: "option",
|
|
239
|
+
"aria-selected": S.length === C().filter(T).length,
|
|
240
|
+
"aria-label": `Select all ${C().length} options`,
|
|
241
|
+
children: [/* @__PURE__ */ _("div", {
|
|
242
|
+
...{
|
|
243
|
+
0: { className: "xpoiemb x78zum5 x1l36t39 xcdlrvm x6s0dn4 xl56j7k xqfady0 xmkeg23 x1y0btm7 x1khvrlk xbyyjgo" },
|
|
244
|
+
1: { className: "xpoiemb x78zum5 x1l36t39 xcdlrvm x6s0dn4 xl56j7k xqfady0 xmkeg23 x1y0btm7 x1khvrlk x1j7ufkg xstwp1q" }
|
|
245
|
+
}[S.length === C().filter(E).length | 0],
|
|
246
|
+
"aria-hidden": "true",
|
|
247
|
+
children: /* @__PURE__ */ _(f, { className: "x1l36t39 xcdlrvm" })
|
|
248
|
+
}), /* @__PURE__ */ v(e, {
|
|
249
|
+
as: "span",
|
|
250
|
+
type: "inherit",
|
|
251
|
+
children: [
|
|
252
|
+
"(Select All",
|
|
253
|
+
C().length > 20 ? ` - ${C().length} options` : "",
|
|
254
|
+
")"
|
|
255
|
+
]
|
|
256
|
+
})]
|
|
257
|
+
}, "all") }), n[11] = C, n[12] = m, n[13] = h, n[14] = S.length, n[15] = w, n[16] = R) : R = n[16];
|
|
258
|
+
let z;
|
|
259
|
+
n[17] !== p || n[18] !== S || n[19] !== D ? (z = d(p) ? p.map((t) => /* @__PURE__ */ _(a, {
|
|
260
|
+
heading: t.heading,
|
|
261
|
+
children: t.options.map((t) => {
|
|
262
|
+
let n = S.includes(t.value);
|
|
263
|
+
return /* @__PURE__ */ v(s, {
|
|
264
|
+
onSelect: () => D(t.value),
|
|
265
|
+
role: "option",
|
|
266
|
+
"aria-selected": n,
|
|
267
|
+
"aria-disabled": t.disabled,
|
|
268
|
+
"aria-label": `${t.label}${n ? ", selected" : ", not selected"}${t.disabled ? ", disabled" : ""}`,
|
|
269
|
+
disabled: t.disabled,
|
|
270
|
+
children: [
|
|
271
|
+
/* @__PURE__ */ _("div", {
|
|
272
|
+
...{
|
|
273
|
+
0: { className: "xpoiemb x78zum5 x1l36t39 xcdlrvm x6s0dn4 xl56j7k xqfady0 xmkeg23 x1y0btm7 x1khvrlk xbyyjgo" },
|
|
274
|
+
1: { className: "xpoiemb x78zum5 x1l36t39 xcdlrvm x6s0dn4 xl56j7k xqfady0 xmkeg23 x1y0btm7 x1khvrlk x1j7ufkg xstwp1q" }
|
|
275
|
+
}[!!n | 0],
|
|
276
|
+
"aria-hidden": "true",
|
|
277
|
+
children: /* @__PURE__ */ _(f, { className: "x1l36t39 xcdlrvm" })
|
|
278
|
+
}),
|
|
279
|
+
t.icon && /* @__PURE__ */ _(t.icon, {
|
|
280
|
+
className: "xpoiemb x1l36t39 xcdlrvm xw3nh4a",
|
|
281
|
+
"aria-hidden": "true"
|
|
282
|
+
}),
|
|
283
|
+
/* @__PURE__ */ _(e, {
|
|
284
|
+
ellipsis: !0,
|
|
285
|
+
tooltip: !0,
|
|
286
|
+
sx: b.optionLabelText,
|
|
287
|
+
children: t.label
|
|
288
|
+
})
|
|
289
|
+
]
|
|
290
|
+
}, t.value);
|
|
291
|
+
})
|
|
292
|
+
}, t.heading)) : /* @__PURE__ */ _(a, { children: p.map((t) => {
|
|
293
|
+
let n = S.includes(t.value);
|
|
294
|
+
return /* @__PURE__ */ v(s, {
|
|
295
|
+
onSelect: () => D(t.value),
|
|
296
|
+
role: "option",
|
|
297
|
+
"aria-selected": n,
|
|
298
|
+
"aria-disabled": t.disabled,
|
|
299
|
+
"aria-label": `${t.label}${n ? ", selected" : ", not selected"}${t.disabled ? ", disabled" : ""}`,
|
|
300
|
+
disabled: t.disabled,
|
|
301
|
+
children: [
|
|
302
|
+
/* @__PURE__ */ _("div", {
|
|
303
|
+
...{
|
|
304
|
+
0: { className: "xpoiemb x78zum5 x1l36t39 xcdlrvm x6s0dn4 xl56j7k xqfady0 xmkeg23 x1y0btm7 x1khvrlk xbyyjgo" },
|
|
305
|
+
1: { className: "xpoiemb x78zum5 x1l36t39 xcdlrvm x6s0dn4 xl56j7k xqfady0 xmkeg23 x1y0btm7 x1khvrlk x1j7ufkg xstwp1q" }
|
|
306
|
+
}[!!n | 0],
|
|
307
|
+
"aria-hidden": "true",
|
|
308
|
+
children: /* @__PURE__ */ _(f, { className: "x1l36t39 xcdlrvm" })
|
|
309
|
+
}),
|
|
310
|
+
t.icon && /* @__PURE__ */ _(t.icon, {
|
|
311
|
+
className: "xpoiemb x1l36t39 xcdlrvm xw3nh4a",
|
|
312
|
+
"aria-hidden": "true"
|
|
313
|
+
}),
|
|
314
|
+
/* @__PURE__ */ _(e, {
|
|
315
|
+
ellipsis: !0,
|
|
316
|
+
tooltip: !0,
|
|
317
|
+
sx: b.optionLabelText,
|
|
318
|
+
children: t.label
|
|
319
|
+
})
|
|
320
|
+
]
|
|
321
|
+
}, t.value);
|
|
322
|
+
}) }), n[17] = p, n[18] = S, n[19] = D, n[20] = z) : z = n[20];
|
|
323
|
+
let B;
|
|
324
|
+
n[21] === Symbol.for("react.memo_cache_sentinel") ? (B = /* @__PURE__ */ _(l, {}), n[21] = B) : B = n[21];
|
|
325
|
+
let V;
|
|
326
|
+
n[22] !== O || n[23] !== S.length ? (V = S.length > 0 && /* @__PURE__ */ v(g, { children: [/* @__PURE__ */ _(s, {
|
|
327
|
+
onSelect: O,
|
|
328
|
+
sx: b.footerActionItem,
|
|
329
|
+
children: "Clear"
|
|
330
|
+
}), /* @__PURE__ */ _(u, {
|
|
331
|
+
orientation: "vertical",
|
|
332
|
+
sx: b.separator
|
|
333
|
+
})] }), n[22] = O, n[23] = S.length, n[24] = V) : V = n[24];
|
|
334
|
+
let H;
|
|
335
|
+
n[25] === k ? H = n[26] : (H = /* @__PURE__ */ _(s, {
|
|
336
|
+
onSelect: () => k(!1),
|
|
337
|
+
sx: b.footerActionItem,
|
|
338
|
+
children: "Close"
|
|
339
|
+
}), n[25] = k, n[26] = H);
|
|
340
|
+
let U;
|
|
341
|
+
n[27] !== V || n[28] !== H ? (U = /* @__PURE__ */ _(a, { children: /* @__PURE__ */ v("div", {
|
|
342
|
+
className: "x78zum5 x6s0dn4 x1qughib",
|
|
343
|
+
children: [V, H]
|
|
344
|
+
}) }), n[27] = V, n[28] = H, n[29] = U) : U = n[29];
|
|
345
|
+
let W;
|
|
346
|
+
n[30] !== U || n[31] !== L || n[32] !== R || n[33] !== z ? (W = /* @__PURE__ */ v(c, { children: [
|
|
347
|
+
L,
|
|
348
|
+
" ",
|
|
349
|
+
R,
|
|
350
|
+
z,
|
|
351
|
+
B,
|
|
352
|
+
U
|
|
353
|
+
] }), n[30] = U, n[31] = L, n[32] = R, n[33] = z, n[34] = W) : W = n[34];
|
|
354
|
+
let G;
|
|
355
|
+
return n[35] !== P || n[36] !== W || n[37] !== F ? (G = /* @__PURE__ */ v(r, { children: [
|
|
356
|
+
P,
|
|
357
|
+
F,
|
|
358
|
+
W
|
|
359
|
+
] }), n[35] = P, n[36] = W, n[37] = F, n[38] = G) : G = n[38], G;
|
|
360
|
+
};
|
|
361
|
+
function T(e) {
|
|
362
|
+
return !e.disabled;
|
|
363
|
+
}
|
|
364
|
+
function E(e) {
|
|
365
|
+
return !e.disabled;
|
|
366
|
+
}
|
|
367
|
+
export { x as LiveRegion, w as OptionsContent, C as PlaceholderContent, S as SelectedValuesContent };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./utils.cjs");let t=require("react");var n=({forwardedRef:n,...r})=>{let{options:i,onValueChange:a,defaultValue:o=[],animationConfig:s,maxCount:c=3,responsive:l,minWidth:u,maxWidth:d,deduplicateOptions:f=!1,resetOnDefaultValueChange:p=!0,closeOnSelect:m=!1,searchable:h=!0,autoSize:g=!1,disabled:_=!1}=r,[v,y]=(0,t.useState)(o),[b,x]=(0,t.useState)(!1),[S,C]=(0,t.useState)(!1),[w,T]=(0,t.useState)(``),[E,D]=(0,t.useState)(`desktop`),[O,k]=(0,t.useState)(``),[A,j]=(0,t.useState)(``),M=(0,t.useRef)(v.length),N=(0,t.useRef)(b),P=(0,t.useRef)(w),F=(0,t.useId)(),I=`${F}-listbox`,L=`${F}-description`,R=`${F}-count`,z=(0,t.useRef)(o),B=(0,t.useRef)(null),V=(0,t.useCallback)((e,t=`polite`)=>{t===`assertive`?(j(e),setTimeout(()=>j(``),100)):(k(e),setTimeout(()=>k(``),100))},[]),H=(0,t.useCallback)(()=>{let{options:t,duplicates:n}=e.buildAllOptions(i,f);return t},[f,i]),U=(0,t.useCallback)(e=>H().find(t=>t.value===e),[H]),W=(0,t.useMemo)(()=>e.filterOptions(i,w,h),[i,w,h]),G=e=>{if(!_){if(e.key===`Enter`)x(!0);else if(e.key===`Backspace`&&!e.currentTarget.value){let e=[...v];e.pop(),y(e),a(e)}}},K=e=>{if(_||U(e)?.disabled)return;let t=v.includes(e)?v.filter(t=>t!==e):[...v,e];y(t),a(t),m&&x(!1)},q=()=>{_||(y([]),a([]))},J=()=>{_||x(e=>!e)},Y=(0,t.useMemo)(()=>e.computeResponsiveSettings(l,c,E),[l,c,E]),X=()=>{if(_)return;let e=v.slice(0,Y.maxCount);y(e),a(e)},Z=()=>{if(_)return;let e=H().filter(e=>!e.disabled);if(v.length===e.length)q();else{let t=e.map(e=>e.value);y(t),a(t)}m&&x(!1)},Q=(0,t.useMemo)(()=>e.buildWidthConstraints(E,g,u,d),[g,d,u,E]);(0,t.useEffect)(()=>{if(!p)return;let t=z.current;e.arraysEqual(t,o)||(e.arraysEqual(v,o)||y(o),z.current=[...o])},[o,p,v]),(0,t.useEffect)(()=>{b||T(``)},[b]),(0,t.useEffect)(()=>{let t=v.length,n=H(),r=n.filter(e=>!e.disabled).length;if(t!==M.current){let e=t-M.current;if(e>0){let i=v.slice(-e).map(e=>n.find(t=>t.value===e)?.label).filter(Boolean);i.length===1?V(`${i[0]} selected. ${t} of ${r} options selected.`):V(`${i.length} options selected. ${t} of ${r} total selected.`)}else e<0&&V(`Option removed. ${t} of ${r} options selected.`);M.current=t}if(b!==N.current&&(V(b?`Dropdown opened. ${r} options available. Use arrow keys to navigate.`:`Dropdown closed.`),N.current=b),w!==P.current&&w!==void 0){if(w&&b){let t=e.countMatchingOptions(n,w);V(`${t} option${t===1?``:`s`} found for "${w}"`)}P.current=w}},[V,H,b,w,v]),(0,t.useEffect)(()=>{if(typeof window>`u`)return;let e=()=>{let e=window.innerWidth;D(e<640?`mobile`:e<1024?`tablet`:`desktop`)};return e(),window.addEventListener(`resize`,e),()=>window.removeEventListener(`resize`,e)},[]);let $=(0,t.useMemo)(()=>e.buildBadgeAnimationClass(S,s),[s,S]),ee=(0,t.useMemo)(()=>e.buildPopoverAnimationClass(s),[s]);return(0,t.useImperativeHandle)(n,()=>({reset:()=>{y(o),x(!1),T(``),a(o)},getSelectedValues:()=>v,setSelectedValues:e=>{y(e),a(e)},clear:()=>{y([]),a([])},focus:()=>{if(B.current){B.current.focus();let e=B.current.style.outline,t=B.current.style.outlineOffset;B.current.style.outline=`2px solid hsl(var(--ring))`,B.current.style.outlineOffset=`2px`,setTimeout(()=>{B.current&&(B.current.style.outline=e,B.current.style.outlineOffset=t)},1e3)}}}),[o,n,a,v]),{ids:{multiSelectId:F,listboxId:I,triggerDescriptionId:L,selectedCountId:R},state:{selectedValues:v,isPopoverOpen:b,isAnimating:S,searchValue:w,screenSize:E},derived:{filteredOptions:W,responsiveSettings:Y,widthConstraints:Q,badgeAnimationClass:$,popoverAnimationClass:ee},refs:{buttonRef:B},helpers:{getAllOptions:H,getOptionByValue:U},a11yMessages:{politeMessage:O,assertiveMessage:A},handlers:{setIsPopoverOpen:x,handleTogglePopover:J,handleInputKeyDown:G,toggleOption:K,handleClear:q,clearExtraOptions:X,toggleAll:Z,setSearchValue:T,setIsAnimating:C}}};exports.useMultiSelect=n;
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { arraysEqual as e, buildAllOptions as t, buildBadgeAnimationClass as n, buildPopoverAnimationClass as r, buildWidthConstraints as i, computeResponsiveSettings as a, countMatchingOptions as ee, filterOptions as te } from "./utils.js";
|
|
2
|
+
import { useCallback as o, useEffect as s, useId as ne, useImperativeHandle as re, useMemo as c, useRef as l, useState as u } from "react";
|
|
3
|
+
// src/MultiSelect/useMultiSelect.ts
|
|
4
|
+
var d = ({ forwardedRef: d, ...f }) => {
|
|
5
|
+
let { options: p, onValueChange: m, defaultValue: h = [], animationConfig: g, maxCount: _ = 3, responsive: v, minWidth: y, maxWidth: b, deduplicateOptions: x = !1, resetOnDefaultValueChange: S = !0, closeOnSelect: C = !1, searchable: w = !0, autoSize: T = !1, disabled: E = !1 } = f, [D, O] = u(h), [k, A] = u(!1), [j, ie] = u(!1), [M, N] = u(""), [P, F] = u("desktop"), [I, L] = u(""), [ae, R] = u(""), z = l(D.length), B = l(k), V = l(M), H = ne(), U = `${H}-listbox`, W = `${H}-description`, G = `${H}-count`, K = l(h), q = l(null), J = o((e, t = "polite") => {
|
|
6
|
+
t === "assertive" ? (R(e), setTimeout(() => R(""), 100)) : (L(e), setTimeout(() => L(""), 100));
|
|
7
|
+
}, []), Y = o(() => {
|
|
8
|
+
let { options: e, duplicates: n } = t(p, x);
|
|
9
|
+
return e;
|
|
10
|
+
}, [x, p]), X = o((e) => Y().find((t) => t.value === e), [Y]), oe = c(() => te(p, M, w), [
|
|
11
|
+
p,
|
|
12
|
+
M,
|
|
13
|
+
w
|
|
14
|
+
]), se = (e) => {
|
|
15
|
+
if (!E) {
|
|
16
|
+
if (e.key === "Enter") A(!0);
|
|
17
|
+
else if (e.key === "Backspace" && !e.currentTarget.value) {
|
|
18
|
+
let e = [...D];
|
|
19
|
+
e.pop(), O(e), m(e);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}, ce = (e) => {
|
|
23
|
+
if (E || X(e)?.disabled) return;
|
|
24
|
+
let t = D.includes(e) ? D.filter((t) => t !== e) : [...D, e];
|
|
25
|
+
O(t), m(t), C && A(!1);
|
|
26
|
+
}, Z = () => {
|
|
27
|
+
E || (O([]), m([]));
|
|
28
|
+
}, Q = () => {
|
|
29
|
+
E || A((e) => !e);
|
|
30
|
+
}, $ = c(() => a(v, _, P), [
|
|
31
|
+
v,
|
|
32
|
+
_,
|
|
33
|
+
P
|
|
34
|
+
]), le = () => {
|
|
35
|
+
if (E) return;
|
|
36
|
+
let e = D.slice(0, $.maxCount);
|
|
37
|
+
O(e), m(e);
|
|
38
|
+
}, ue = () => {
|
|
39
|
+
if (E) return;
|
|
40
|
+
let e = Y().filter((e) => !e.disabled);
|
|
41
|
+
if (D.length === e.length) Z();
|
|
42
|
+
else {
|
|
43
|
+
let t = e.map((e) => e.value);
|
|
44
|
+
O(t), m(t);
|
|
45
|
+
}
|
|
46
|
+
C && A(!1);
|
|
47
|
+
}, de = c(() => i(P, T, y, b), [
|
|
48
|
+
T,
|
|
49
|
+
b,
|
|
50
|
+
y,
|
|
51
|
+
P
|
|
52
|
+
]);
|
|
53
|
+
s(() => {
|
|
54
|
+
if (!S) return;
|
|
55
|
+
let t = K.current;
|
|
56
|
+
e(t, h) || (e(D, h) || O(h), K.current = [...h]);
|
|
57
|
+
}, [
|
|
58
|
+
h,
|
|
59
|
+
S,
|
|
60
|
+
D
|
|
61
|
+
]), s(() => {
|
|
62
|
+
k || N("");
|
|
63
|
+
}, [k]), s(() => {
|
|
64
|
+
let e = D.length, t = Y(), n = t.filter((e) => !e.disabled).length;
|
|
65
|
+
if (e !== z.current) {
|
|
66
|
+
let r = e - z.current;
|
|
67
|
+
if (r > 0) {
|
|
68
|
+
let i = D.slice(-r).map((e) => t.find((t) => t.value === e)?.label).filter(Boolean);
|
|
69
|
+
i.length === 1 ? J(`${i[0]} selected. ${e} of ${n} options selected.`) : J(`${i.length} options selected. ${e} of ${n} total selected.`);
|
|
70
|
+
} else r < 0 && J(`Option removed. ${e} of ${n} options selected.`);
|
|
71
|
+
z.current = e;
|
|
72
|
+
}
|
|
73
|
+
if (k !== B.current && (J(k ? `Dropdown opened. ${n} options available. Use arrow keys to navigate.` : "Dropdown closed."), B.current = k), M !== V.current && M !== void 0) {
|
|
74
|
+
if (M && k) {
|
|
75
|
+
let e = ee(t, M);
|
|
76
|
+
J(`${e} option${e === 1 ? "" : "s"} found for "${M}"`);
|
|
77
|
+
}
|
|
78
|
+
V.current = M;
|
|
79
|
+
}
|
|
80
|
+
}, [
|
|
81
|
+
J,
|
|
82
|
+
Y,
|
|
83
|
+
k,
|
|
84
|
+
M,
|
|
85
|
+
D
|
|
86
|
+
]), s(() => {
|
|
87
|
+
if (typeof window > "u") return;
|
|
88
|
+
let e = () => {
|
|
89
|
+
let e = window.innerWidth;
|
|
90
|
+
F(e < 640 ? "mobile" : e < 1024 ? "tablet" : "desktop");
|
|
91
|
+
};
|
|
92
|
+
return e(), window.addEventListener("resize", e), () => window.removeEventListener("resize", e);
|
|
93
|
+
}, []);
|
|
94
|
+
let fe = c(() => n(j, g), [g, j]), pe = c(() => r(g), [g]);
|
|
95
|
+
return re(d, () => ({
|
|
96
|
+
reset: () => {
|
|
97
|
+
O(h), A(!1), N(""), m(h);
|
|
98
|
+
},
|
|
99
|
+
getSelectedValues: () => D,
|
|
100
|
+
setSelectedValues: (e) => {
|
|
101
|
+
O(e), m(e);
|
|
102
|
+
},
|
|
103
|
+
clear: () => {
|
|
104
|
+
O([]), m([]);
|
|
105
|
+
},
|
|
106
|
+
focus: () => {
|
|
107
|
+
if (q.current) {
|
|
108
|
+
q.current.focus();
|
|
109
|
+
let e = q.current.style.outline, t = q.current.style.outlineOffset;
|
|
110
|
+
q.current.style.outline = "2px solid hsl(var(--ring))", q.current.style.outlineOffset = "2px", setTimeout(() => {
|
|
111
|
+
q.current && (q.current.style.outline = e, q.current.style.outlineOffset = t);
|
|
112
|
+
}, 1e3);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}), [
|
|
116
|
+
h,
|
|
117
|
+
d,
|
|
118
|
+
m,
|
|
119
|
+
D
|
|
120
|
+
]), {
|
|
121
|
+
ids: {
|
|
122
|
+
multiSelectId: H,
|
|
123
|
+
listboxId: U,
|
|
124
|
+
triggerDescriptionId: W,
|
|
125
|
+
selectedCountId: G
|
|
126
|
+
},
|
|
127
|
+
state: {
|
|
128
|
+
selectedValues: D,
|
|
129
|
+
isPopoverOpen: k,
|
|
130
|
+
isAnimating: j,
|
|
131
|
+
searchValue: M,
|
|
132
|
+
screenSize: P
|
|
133
|
+
},
|
|
134
|
+
derived: {
|
|
135
|
+
filteredOptions: oe,
|
|
136
|
+
responsiveSettings: $,
|
|
137
|
+
widthConstraints: de,
|
|
138
|
+
badgeAnimationClass: fe,
|
|
139
|
+
popoverAnimationClass: pe
|
|
140
|
+
},
|
|
141
|
+
refs: { buttonRef: q },
|
|
142
|
+
helpers: {
|
|
143
|
+
getAllOptions: Y,
|
|
144
|
+
getOptionByValue: X
|
|
145
|
+
},
|
|
146
|
+
a11yMessages: {
|
|
147
|
+
politeMessage: I,
|
|
148
|
+
assertiveMessage: ae
|
|
149
|
+
},
|
|
150
|
+
handlers: {
|
|
151
|
+
setIsPopoverOpen: A,
|
|
152
|
+
handleTogglePopover: Q,
|
|
153
|
+
handleInputKeyDown: se,
|
|
154
|
+
toggleOption: ce,
|
|
155
|
+
handleClear: Z,
|
|
156
|
+
clearExtraOptions: le,
|
|
157
|
+
toggleAll: ue,
|
|
158
|
+
setSearchValue: N,
|
|
159
|
+
setIsAnimating: ie
|
|
160
|
+
}
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
export { d as useMultiSelect };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("../_virtual/_rolldown/runtime.cjs"),t=require("../Icons/Icons.cjs"),n=require("../Typography/Text.cjs"),r=require("../theme/width.cjs"),i=require("../ui/popover.cjs"),a=require("./MultiSelectTags.cjs");let o=require("@stylexjs/stylex");o=e.__toESM(o,1);let s=require("react/jsx-runtime"),c=require("react");c=e.__toESM(c,1);let l=require("lodash-es");var u={labelArea:{kUk6DE:`x845mor`,k7Eaqz:`xeuugli`,kVQacm:`xb3r6kr`,kg5iWk:`xlyipyv`,khDVqt:`xuxw1ft`,k9WMMc:`xdpxx8g`,kGuDYH:`xboafo0`,$$css:!0},placeholder:{kMwMTN:`xw3nh4a`,$$css:!0},popoverContent:{kmVPX3:`x1717udv`,kzqmXN:`x9ndnb8`,ks0D6T:`x16xn7b0`,kB7OPa:`x9f619`,$$css:!0},selectAllText:{kUk6DE:`x845mor`,k7Eaqz:`xeuugli`,$$css:!0},optionLabel:{kUk6DE:`x845mor`,k7Eaqz:`xeuugli`,kVQacm:`xb3r6kr`,kg5iWk:`xlyipyv`,khDVqt:`xuxw1ft`,$$css:!0}};function d(e){return e.isMulti===!0}function f(e){let{options:o,injectOptions:f=[],placeholder:p=`Select...`,isClearable:m=!0,isSearchable:h=!0,isLoading:g=!1,className:_=``,disabled:v=!1,onSearchTextChange:y,hasNextPage:b=!1,isFetchingNextPage:x=!1,fetchNextPage:S,maxTagCount:C=`responsive`,tagRender:w,showSelectAll:T=!1,width:E}=e,D=d(e),{value:O}=e,k=r.resolveWidth(E),[A,j]=(0,c.useState)(!1),[M,N]=(0,c.useState)(``),P=(0,c.useRef)(null),F=(0,c.useMemo)(()=>{let e=new Map;for(let t of f)e.set(t.value,t);for(let t of o)e.set(t.value,t);return Array.from(e.values())},[o,f]),I=(0,c.useMemo)(()=>M.trim()?F.filter(e=>e.label.toLowerCase().includes(M.toLowerCase())):F,[F,M]),L=(0,c.useMemo)(()=>(0,l.isNil)(O)?[]:D?Array.isArray(O)?O:[]:[O],[O,D]),R=(0,c.useMemo)(()=>F.filter(e=>L.includes(e.value)),[F,L]),z=t=>{if(!v){if(D){let n=L.includes(t)?L.filter(e=>e!==t):[...L,t];e.onChange&&e.onChange(n)}else e.onChange&&e.onChange(t),j(!1)}},B=t=>{t.stopPropagation(),!v&&(d(e)?e.onChange?.([]):e.onChange?.(void 0))},V=e=>{N(e.target.value),y?.(e.target.value)},H=e=>{let{scrollTop:t,scrollHeight:n,clientHeight:r}=e.currentTarget;n-t-r<20&&b&&!x&&S?.()},U=(0,c.useMemo)(()=>D?``:F.find(e=>e.value===L[0])?.label||``,[L,F,D]),W=t=>{if(v||!d(e))return;let n=L.filter(e=>e!==t);e.onChange&&e.onChange(n)},G=()=>{if(!v&&d(e)){if(L.length===I.length)e.onChange&&e.onChange([]);else{let t=I.map(e=>e.value);e.onChange&&e.onChange(t)}}},K={0:{className:`x78zum5 x6s0dn4 xh8yej3 x1nedpf2 xrijj7p xmkeg23 x1y0btm7 xsyin8q x1ryrjj2 x1bilvtl xboafo0 x1mlyrtw x84br7x x1ypdohk x1a2a7pz xfk7h2l x16mfhj0 xx6bhzk`},2:{className:`x78zum5 x6s0dn4 xh8yej3 x1nedpf2 xrijj7p xmkeg23 x1y0btm7 x1ryrjj2 x1bilvtl xboafo0 x1mlyrtw x84br7x x1ypdohk x1a2a7pz x16mfhj0 xx6bhzk x1puiyjm xf0oo4t`},1:{className:`x78zum5 x6s0dn4 xh8yej3 x1nedpf2 xrijj7p xmkeg23 x1y0btm7 xsyin8q x1ryrjj2 x1bilvtl xboafo0 x84br7x x1a2a7pz xfk7h2l x16mfhj0 xx6bhzk x1qry0bl x1h6gzvc x197sbye`},3:{className:`x78zum5 x6s0dn4 xh8yej3 x1nedpf2 xrijj7p xmkeg23 x1y0btm7 x1ryrjj2 x1bilvtl xboafo0 x84br7x x1a2a7pz x16mfhj0 xx6bhzk x1puiyjm xf0oo4t x1qry0bl x1h6gzvc x197sbye`}}[!!A<<1|!!v],q=_?`${K.className||``} ${_}`.trim():K.className;return(0,s.jsxs)(i.Popover,{open:A,onOpenChange:v?void 0:j,children:[(0,s.jsx)(i.PopoverTrigger,{asChild:!0,children:(0,s.jsxs)(`button`,{type:`button`,"data-slot":`select`,"data-width":E,...K,style:{...K.style,...k?{width:k,minWidth:k}:{}},className:q,onClick:()=>!v&&j(e=>!e),disabled:v,children:[D&&L.length>0?(0,s.jsx)(a.MultiSelectTags,{selectedOptions:R,maxTagCount:C,onRemove:W,disabled:v,tagRender:w}):U?(0,s.jsx)(n.Text,{ellipsis:!0,tooltip:!0,sx:u.labelArea,children:U}):(0,s.jsx)(n.Text,{sx:[u.labelArea,u.placeholder],children:p}),m&&L.length>0&&!v&&(0,s.jsx)(t.Icons.XIcon,{className:`x1xvt488 xf08kfj x13zjp5t xw3nh4a x2lah0s x1ypdohk x1mqvv6a`,onClick:B}),(0,s.jsx)(t.Icons.ChevronDownIcon,{className:`x1xvt488 xf08kfj x13zjp5t xw3nh4a x2lah0s`})]})}),(0,s.jsxs)(i.PopoverContent,{sx:u.popoverContent,align:`start`,children:[h&&!v&&(0,s.jsxs)(`div`,{className:`x78zum5 x6s0dn4 x97vtpp x1bilvtl xso031l x1q0q8m5 x1c03eaz`,children:[(0,s.jsx)(t.Icons.SearchIcon,{className:`xcdlrvm x1l36t39 xpoiemb xw3nh4a`}),(0,s.jsx)(`input`,{ref:P,className:`xh8yej3 x1a2a7pz xc342km xjbqb8w xboafo0 x84br7x`,placeholder:`Search...`,value:M,onChange:V,autoFocus:!0,disabled:v})]}),D&&T&&!v&&I.length>0&&(0,s.jsxs)(`div`,{className:`x78zum5 x6s0dn4 x1ryrjj2 x18g2hj5 xso031l x1q0q8m5 x1c03eaz x1ypdohk xboafo0 xk50ysn x9p52ec`,onClick:G,children:[(0,s.jsx)(n.Text,{as:`span`,size:`sm`,sx:u.selectAllText,children:L.length===I.length?`Deselect all`:`Select all`}),(0,s.jsxs)(n.Text,{as:`span`,size:`sm`,type:`secondary`,sx:u.placeholder,children:[`(`,L.length,`/`,I.length,`)`]})]}),(0,s.jsx)(`div`,{className:`x17l2srq x1odjw0f x6ikm8r`,onScroll:H,children:g&&F.length===0?(0,s.jsx)(`div`,{className:`x79iv2k x2b8uid xw3nh4a xboafo0`,children:`Loading...`}):I.length===0?(0,s.jsx)(`div`,{className:`x79iv2k x2b8uid xw3nh4a xboafo0`,children:`No data`}):(0,s.jsxs)(s.Fragment,{children:[I.map(e=>{let r=L.includes(e.value);return(0,s.jsxs)(`div`,{...{0:{className:`x78zum5 x6s0dn4 x1ryrjj2 x1bilvtl x1ypdohk xboafo0 x84br7x xeuugli x193iq5w x9p52ec`},2:{className:`x78zum5 x6s0dn4 x1ryrjj2 x1bilvtl x1ypdohk xboafo0 x84br7x xeuugli x193iq5w x9p52ec x1xke173`},1:{className:`x78zum5 x6s0dn4 x1ryrjj2 x1bilvtl x1ypdohk xboafo0 x84br7x xeuugli x193iq5w x9p52ec x47corl x197sbye`},3:{className:`x78zum5 x6s0dn4 x1ryrjj2 x1bilvtl x1ypdohk xboafo0 x84br7x xeuugli x193iq5w x9p52ec x1xke173 x47corl x197sbye`}}[!!r<<1|!!v],onClick:()=>z(e.value),children:[e.icon&&(0,s.jsx)(`span`,{className:`xpoiemb x2lah0s`,children:e.icon}),(0,s.jsx)(n.Text,{ellipsis:!0,tooltip:!0,sx:u.optionLabel,children:e.label}),D&&(0,s.jsx)(`span`,{...{0:{className:`x13zjp5t xcdlrvm x1l36t39 xmkeg23 x1y0btm7 xsyin8q xqfady0 x78zum5 x6s0dn4 xl56j7k x1mlyrtw`},1:{className:`x13zjp5t xcdlrvm x1l36t39 xmkeg23 x1y0btm7 xqfady0 x78zum5 x6s0dn4 xl56j7k x1j7ufkg x1khvrlk xstwp1q`}}[!!r|0],children:r&&(0,s.jsx)(t.Icons.CheckIcon,{className:`x1jw3ynk xvle69y`})}),!D&&r&&(0,s.jsx)(t.Icons.CheckIcon,{className:`x1jw3ynk xvle69y x6gpbkk`})]},String(e.value))}),(x||b&&I.length>0)&&(0,s.jsx)(`div`,{className:`x79iv2k x2b8uid xw3nh4a xboafo0`,children:x?`Loading more...`:``})]})})]})]})}exports.BaseSelect=f,exports.default=f;
|