@vlrc-fe/components 2.7.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +41 -0
- package/README.md +127 -209
- package/bin/vlrc.mjs +15 -0
- package/dist/ConfirmModal.cjs +1 -0
- package/dist/ConfirmModal.d.ts +2 -3
- package/dist/ConfirmModal.d.ts.map +1 -1
- 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.d.ts.map +1 -1
- package/dist/DataTable/components/DataTableFacetedFilter.js +226 -0
- package/dist/DataTable/components/DataTablePagination.cjs +1 -0
- package/dist/DataTable/components/DataTablePagination.d.ts.map +1 -1
- 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.d.ts.map +1 -1
- package/dist/Dropdown/Dropdown.js +221 -0
- package/dist/Dropdown/types.d.ts +1 -1
- package/dist/Dropdown/types.d.ts.map +1 -1
- 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.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/FormDatePicker.js +79 -0
- package/dist/Form/FormDatePicker/MonthPickerPanel.cjs +1 -0
- package/dist/Form/FormDatePicker/MonthPickerPanel.d.ts +2 -1
- package/dist/Form/FormDatePicker/MonthPickerPanel.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/MonthPickerPanel.js +120 -0
- package/dist/Form/FormDatePicker/RangeDatePicker.cjs +1 -0
- package/dist/Form/FormDatePicker/RangeDatePicker.d.ts +7 -1
- package/dist/Form/FormDatePicker/RangeDatePicker.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/RangeDatePicker.js +123 -0
- package/dist/Form/FormDatePicker/SingleDatePicker.cjs +1 -0
- package/dist/Form/FormDatePicker/SingleDatePicker.d.ts +5 -1
- package/dist/Form/FormDatePicker/SingleDatePicker.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/SingleDatePicker.js +157 -0
- package/dist/Form/FormDatePicker/TimeInput.cjs +1 -0
- package/dist/Form/FormDatePicker/TimeInput.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/TimeInput.js +86 -0
- package/dist/Form/FormDatePicker/TimePicker.cjs +1 -0
- package/dist/Form/FormDatePicker/TimePicker.d.ts.map +1 -1
- 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/types.d.ts +5 -0
- package/dist/Form/FormDatePicker/types.d.ts.map +1 -1
- 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.d.ts.map +1 -1
- 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.d.ts +2 -2
- package/dist/Form/FormNumberInput/useFormNumberInput.d.ts.map +1 -1
- 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.d.ts.map +1 -1
- package/dist/Form/FormSelect/FormSelect.js +30 -0
- package/dist/Form/FormSelect/types.d.ts +1 -1
- package/dist/Form/FormSelect/types.d.ts.map +1 -1
- package/dist/Form/FormSelect/useFormSelect.d.ts +1 -1
- package/dist/Form/FormSelect/useFormSelect.d.ts.map +1 -1
- package/dist/Modal.cjs +1 -0
- package/dist/Modal.js +120 -0
- package/dist/MultiSelect/MultiSelect.cjs +1 -0
- package/dist/MultiSelect/MultiSelect.d.ts +3 -31
- package/dist/MultiSelect/MultiSelect.d.ts.map +1 -1
- package/dist/MultiSelect/MultiSelect.js +199 -0
- package/dist/MultiSelect/renderers.cjs +1 -0
- package/dist/MultiSelect/renderers.d.ts.map +1 -1
- package/dist/MultiSelect/renderers.js +367 -0
- package/dist/MultiSelect/type.d.ts +1 -0
- package/dist/MultiSelect/type.d.ts.map +1 -1
- package/dist/MultiSelect/useMultiSelect.cjs +1 -0
- package/dist/MultiSelect/useMultiSelect.d.ts.map +1 -1
- package/dist/MultiSelect/useMultiSelect.js +163 -0
- package/dist/Select/BaseSelect.cjs +1 -0
- package/dist/Select/BaseSelect.d.ts.map +1 -1
- package/dist/Select/BaseSelect.js +222 -0
- package/dist/Select/MultiSelectTags.cjs +1 -0
- package/dist/Select/MultiSelectTags.d.ts.map +1 -1
- package/dist/Select/MultiSelectTags.js +101 -0
- package/dist/Select/type.d.ts +1 -1
- package/dist/Select/type.d.ts.map +1 -1
- 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.d.ts.map +1 -1
- package/dist/Typography/Code.js +123 -0
- package/dist/Typography/Link.cjs +1 -0
- package/dist/Typography/Link.d.ts.map +1 -1
- package/dist/Typography/Link.js +128 -0
- package/dist/Typography/Paragraph.cjs +1 -0
- package/dist/Typography/Paragraph.d.ts.map +1 -1
- package/dist/Typography/Paragraph.js +212 -0
- package/dist/Typography/Text.cjs +1 -0
- package/dist/Typography/Text.d.ts.map +1 -1
- 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/types.d.ts +37 -1
- package/dist/Typography/types.d.ts.map +1 -1
- package/dist/Typography/utils.cjs +1 -0
- package/dist/Typography/utils.d.ts +3 -2
- package/dist/Typography/utils.d.ts.map +1 -1
- package/dist/Typography/utils.js +24 -0
- package/dist/Typography/weightStyles.cjs +1 -0
- package/dist/assets/stylex.css +369 -298
- 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/lazyLoad.cjs +1 -0
- package/dist/lazyLoad.js +13 -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-context@1.2.2_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-context/dist/index.js +89 -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-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 +44 -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/zIndex.js +30 -0
- package/dist/theme.css +52 -138
- package/dist/ui/accordion.cjs +1 -0
- package/dist/ui/accordion.d.ts.map +1 -1
- 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.d.ts.map +1 -1
- 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.d.ts.map +1 -1
- 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.d.ts +1 -1
- package/dist/ui/calendar.d.ts.map +1 -1
- 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.d.ts +1 -1
- package/dist/ui/command.d.ts.map +1 -1
- 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.d.ts.map +1 -1
- 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.d.ts.map +1 -1
- package/dist/ui/dropdown-menu.js +319 -0
- package/dist/ui/editable.cjs +1 -0
- package/dist/ui/editable.d.ts.map +1 -1
- 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.d.ts.map +1 -1
- 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.d.ts.map +1 -1
- package/dist/ui/input-group.js +219 -0
- package/dist/ui/input-otp.cjs +1 -0
- package/dist/ui/input-otp.d.ts +1 -1
- package/dist/ui/input-otp.d.ts.map +1 -1
- 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.d.ts.map +1 -1
- 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/label.js +35 -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.d.ts.map +1 -1
- 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.d.ts +3 -1
- package/dist/ui/pagination.d.ts.map +1 -1
- 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/spinner.js +70 -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/table.js +186 -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.d.ts +1 -1
- package/dist/ui/toggle-group.d.ts.map +1 -1
- package/dist/ui/toggle-group.js +74 -0
- package/dist/ui/toggle.cjs +1 -0
- package/dist/ui/toggle.d.ts +2 -2
- package/dist/ui/toggle.d.ts.map +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/ui/useBreakpoint.d.ts +0 -4
- package/dist/ui/useBreakpoint.d.ts.map +1 -1
- package/dist/ui/useBreakpoint.js +65 -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/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 -326
- 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 -322
- package/dist/index108.cjs +0 -1
- package/dist/index108.js +0 -336
- package/dist/index109.cjs +0 -1
- package/dist/index109.js +0 -134
- package/dist/index11.cjs +0 -1
- package/dist/index11.js +0 -183
- package/dist/index110.cjs +0 -1
- package/dist/index110.js +0 -35
- package/dist/index111.cjs +0 -1
- package/dist/index111.js +0 -35
- package/dist/index112.cjs +0 -1
- package/dist/index112.js +0 -307
- 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 -154
- package/dist/index117.cjs +0 -1
- package/dist/index117.js +0 -116
- package/dist/index118.cjs +0 -1
- package/dist/index118.js +0 -65
- package/dist/index119.cjs +0 -1
- package/dist/index119.js +0 -471
- package/dist/index12.cjs +0 -1
- package/dist/index12.js +0 -155
- 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 -215
- package/dist/index125.cjs +0 -20
- package/dist/index126.cjs +0 -1
- package/dist/index126.js +0 -187
- package/dist/index127.cjs +0 -1
- package/dist/index127.js +0 -269
- 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 -184
- package/dist/index130.cjs +0 -1
- package/dist/index130.js +0 -401
- 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 -303
- 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 -131
- 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 -75
- 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/index152.js +0 -70
- 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/index157.js +0 -186
- 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 -106
- 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/index168.cjs +0 -1
- package/dist/index168.js +0 -13
- package/dist/index169.cjs +0 -1
- package/dist/index169.js +0 -92
- package/dist/index17.cjs +0 -1
- package/dist/index17.js +0 -16
- 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 -201
- 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 -269
- package/dist/index181.cjs +0 -1
- package/dist/index181.js +0 -356
- 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/index19.cjs +0 -1
- package/dist/index19.js +0 -281
- package/dist/index190.cjs +0 -1
- package/dist/index190.js +0 -6
- package/dist/index191.cjs +0 -1
- package/dist/index191.js +0 -7
- package/dist/index193.cjs +0 -1
- package/dist/index193.js +0 -6
- package/dist/index194.cjs +0 -1
- package/dist/index194.js +0 -8
- package/dist/index197.cjs +0 -1
- package/dist/index197.js +0 -201
- package/dist/index198.cjs +0 -1
- package/dist/index198.js +0 -123
- package/dist/index199.cjs +0 -1
- package/dist/index199.js +0 -31
- package/dist/index200.cjs +0 -1
- package/dist/index200.js +0 -19
- package/dist/index201.cjs +0 -1
- package/dist/index201.js +0 -68
- package/dist/index202.cjs +0 -1
- package/dist/index202.js +0 -31
- package/dist/index203.cjs +0 -1
- package/dist/index203.js +0 -10
- package/dist/index204.cjs +0 -1
- package/dist/index204.js +0 -279
- package/dist/index205.cjs +0 -1
- package/dist/index205.js +0 -156
- package/dist/index206.cjs +0 -1
- package/dist/index206.js +0 -19
- package/dist/index207.cjs +0 -1
- package/dist/index207.js +0 -9
- package/dist/index208.cjs +0 -1
- package/dist/index208.js +0 -13
- package/dist/index209.cjs +0 -1
- package/dist/index209.js +0 -7
- package/dist/index210.cjs +0 -1
- package/dist/index210.js +0 -7
- package/dist/index211.cjs +0 -1
- package/dist/index211.js +0 -10
- package/dist/index212.cjs +0 -1
- package/dist/index212.js +0 -9
- package/dist/index214.cjs +0 -1
- package/dist/index214.js +0 -7
- package/dist/index215.cjs +0 -1
- package/dist/index215.js +0 -7
- package/dist/index216.cjs +0 -1
- package/dist/index216.js +0 -9
- package/dist/index217.cjs +0 -1
- package/dist/index217.js +0 -10
- package/dist/index218.cjs +0 -1
- package/dist/index218.js +0 -14
- package/dist/index219.cjs +0 -1
- package/dist/index219.js +0 -10
- package/dist/index220.cjs +0 -1
- package/dist/index220.js +0 -10
- package/dist/index222.cjs +0 -1
- package/dist/index222.js +0 -42
- package/dist/index223.cjs +0 -1
- package/dist/index223.js +0 -388
- package/dist/index226.cjs +0 -1
- package/dist/index226.js +0 -58
- package/dist/index227.cjs +0 -1
- package/dist/index227.js +0 -40
- package/dist/index228.cjs +0 -1
- package/dist/index228.js +0 -124
- package/dist/index229.cjs +0 -1
- package/dist/index229.js +0 -77
- package/dist/index23.cjs +0 -1
- package/dist/index23.js +0 -29
- package/dist/index230.cjs +0 -1
- package/dist/index230.js +0 -71
- package/dist/index231.cjs +0 -1
- package/dist/index231.js +0 -116
- package/dist/index232.cjs +0 -1
- package/dist/index232.js +0 -100
- package/dist/index233.cjs +0 -1
- package/dist/index233.js +0 -150
- package/dist/index234.cjs +0 -1
- package/dist/index234.js +0 -71
- package/dist/index235.cjs +0 -9
- package/dist/index236.cjs +0 -1
- package/dist/index236.js +0 -67
- package/dist/index237.cjs +0 -1
- package/dist/index237.js +0 -43
- package/dist/index238.cjs +0 -1
- package/dist/index238.js +0 -67
- package/dist/index24.cjs +0 -1
- package/dist/index24.js +0 -369
- package/dist/index240.cjs +0 -1
- package/dist/index240.js +0 -97
- package/dist/index241.cjs +0 -1
- package/dist/index241.js +0 -212
- package/dist/index242.cjs +0 -1
- package/dist/index242.js +0 -25
- package/dist/index244.cjs +0 -1
- package/dist/index244.js +0 -63
- package/dist/index245.cjs +0 -1
- package/dist/index245.js +0 -422
- package/dist/index246.cjs +0 -1
- package/dist/index246.js +0 -25
- package/dist/index247.cjs +0 -1
- package/dist/index247.js +0 -209
- package/dist/index25.cjs +0 -1
- package/dist/index25.js +0 -182
- package/dist/index26.cjs +0 -1
- package/dist/index26.js +0 -107
- package/dist/index27.cjs +0 -1
- package/dist/index27.js +0 -161
- package/dist/index28.cjs +0 -1
- package/dist/index28.js +0 -97
- package/dist/index29.cjs +0 -1
- package/dist/index29.js +0 -89
- package/dist/index3.cjs +0 -1
- package/dist/index3.js +0 -63
- package/dist/index30.cjs +0 -1
- package/dist/index32.cjs +0 -1
- package/dist/index32.js +0 -87
- package/dist/index33.cjs +0 -1
- package/dist/index33.js +0 -234
- package/dist/index34.cjs +0 -1
- package/dist/index34.js +0 -44
- package/dist/index35.cjs +0 -1
- package/dist/index35.js +0 -31
- package/dist/index36.cjs +0 -1
- package/dist/index36.js +0 -15
- package/dist/index37.cjs +0 -1
- package/dist/index38.cjs +0 -1
- package/dist/index39.cjs +0 -1
- package/dist/index39.js +0 -87
- package/dist/index40.cjs +0 -1
- package/dist/index40.js +0 -178
- package/dist/index41.cjs +0 -1
- package/dist/index41.js +0 -145
- package/dist/index42.cjs +0 -1
- package/dist/index42.js +0 -69
- package/dist/index43.cjs +0 -1
- package/dist/index43.js +0 -57
- package/dist/index44.cjs +0 -1
- package/dist/index44.js +0 -270
- package/dist/index45.cjs +0 -1
- package/dist/index45.js +0 -8
- package/dist/index47.cjs +0 -1
- package/dist/index47.js +0 -504
- package/dist/index48.cjs +0 -1
- package/dist/index48.js +0 -211
- package/dist/index51.cjs +0 -1
- package/dist/index51.js +0 -23
- package/dist/index52.cjs +0 -1
- package/dist/index52.js +0 -208
- package/dist/index53.cjs +0 -1
- package/dist/index53.js +0 -157
- package/dist/index54.cjs +0 -1
- package/dist/index54.js +0 -124
- package/dist/index55.cjs +0 -1
- package/dist/index55.js +0 -20
- package/dist/index56.cjs +0 -1
- package/dist/index56.js +0 -82
- package/dist/index57.cjs +0 -1
- package/dist/index57.js +0 -97
- package/dist/index58.cjs +0 -1
- package/dist/index58.js +0 -15
- package/dist/index59.cjs +0 -1
- package/dist/index59.js +0 -94
- package/dist/index6.cjs +0 -1
- package/dist/index6.js +0 -6
- package/dist/index60.cjs +0 -1
- package/dist/index60.js +0 -33
- package/dist/index61.cjs +0 -1
- package/dist/index61.js +0 -212
- package/dist/index62.cjs +0 -1
- package/dist/index62.js +0 -253
- 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 -30
- 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/index8.js +0 -63
- 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 -18
- 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/{index46.cjs → Form/FormDatePicker/types.cjs} +0 -0
- /package/dist/{index46.js → Form/FormDatePicker/types.js} +0 -0
- /package/dist/{index243.cjs → Form/FormRadioGroup/useFormRadio.cjs} +0 -0
- /package/dist/{index243.js → Form/FormRadioGroup/useFormRadio.js} +0 -0
- /package/dist/{index239.cjs → Form/FormSelect/useFormSelect.cjs} +0 -0
- /package/dist/{index239.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/{index10.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/{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/{index31.cjs → node_modules/.pnpm/@radix-ui_primitive@1.1.7/node_modules/@radix-ui/primitive/dist/index.cjs} +0 -0
- /package/dist/{index31.js → node_modules/.pnpm/@radix-ui_primitive@1.1.7/node_modules/@radix-ui/primitive/dist/index.js} +0 -0
- /package/dist/{index30.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/{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/{index37.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/{index38.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/{index221.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/addLeadingZeros.cjs} +0 -0
- /package/dist/{index221.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/addLeadingZeros.js} +0 -0
- /package/dist/{index192.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.cjs} +0 -0
- /package/dist/{index192.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.js} +0 -0
- /package/dist/{index224.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/longFormatters.cjs} +0 -0
- /package/dist/{index224.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/longFormatters.js} +0 -0
- /package/dist/{index225.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/protectedTokens.cjs} +0 -0
- /package/dist/{index225.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/protectedTokens.js} +0 -0
- /package/dist/{index189.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constants.cjs} +0 -0
- /package/dist/{index189.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constants.js} +0 -0
- /package/dist/{index213.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.cjs} +0 -0
- /package/dist/{index213.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.js} +0 -0
- /package/dist/{index185.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.cjs} +0 -0
- /package/dist/{index185.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js} +0 -0
- /package/dist/{index186.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.cjs} +0 -0
- /package/dist/{index186.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js} +0 -0
- /package/dist/{index187.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.cjs} +0 -0
- /package/dist/{index187.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.js} +0 -0
- /package/dist/{index188.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.cjs} +0 -0
- /package/dist/{index188.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js} +0 -0
- /package/dist/{index195.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.cjs} +0 -0
- /package/dist/{index195.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.js} +0 -0
- /package/dist/{index196.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.cjs} +0 -0
- /package/dist/{index196.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.js} +0 -0
- /package/dist/{index49.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/{index49.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/{index50.cjs → node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.cjs} +0 -0
- /package/dist/{index50.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/{index235.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/{index22.cjs → theme/spacing.cjs} +0 -0
- /package/dist/{index22.js → theme/spacing.js} +0 -0
- /package/dist/{index20.cjs → theme/types.cjs} +0 -0
- /package/dist/{index20.js → theme/types.js} +0 -0
- /package/dist/{index21.cjs → theme/width.cjs} +0 -0
- /package/dist/{index21.js → theme/width.js} +0 -0
- /package/dist/{index113.js → ui/file-upload-adapters.js} +0 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { cn as e } from "../../utils.js";
|
|
2
|
+
// src/Form/FormNumberInput/useFormNumberInput.ts
|
|
3
|
+
var t = [];
|
|
4
|
+
function n({ rules: n, inputClassName: r, stepper: i, min: a, max: o, onChange: s, passthroughProps: c }) {
|
|
5
|
+
let l = n?.required !== void 0 && n.required !== !1;
|
|
6
|
+
return {
|
|
7
|
+
isRequired: l,
|
|
8
|
+
enhancedRules: (() => {
|
|
9
|
+
if (!n) return n;
|
|
10
|
+
let e = { ...n };
|
|
11
|
+
return l && typeof e.required != "string" && typeof e.required != "object" ? e.required = "This field is required" : typeof e.required == "object" && !e.required.message && (e.required = {
|
|
12
|
+
...e.required,
|
|
13
|
+
message: "This field is required"
|
|
14
|
+
}), e;
|
|
15
|
+
})(),
|
|
16
|
+
numericClass: e(t, r),
|
|
17
|
+
getHandlers: ({ currentValue: e, field: t }) => {
|
|
18
|
+
let n = () => {
|
|
19
|
+
let n = Math.min((e ?? 0) + i, o);
|
|
20
|
+
t.onChange(n), s?.(n);
|
|
21
|
+
}, r = () => {
|
|
22
|
+
let n = Math.max((e ?? 0) - i, a);
|
|
23
|
+
t.onChange(n), s?.(n);
|
|
24
|
+
};
|
|
25
|
+
return {
|
|
26
|
+
handleIncrement: n,
|
|
27
|
+
handleDecrement: r,
|
|
28
|
+
handleKeyDown: (e) => {
|
|
29
|
+
e.key === "ArrowUp" ? (e.preventDefault(), n()) : e.key === "ArrowDown" && (e.preventDefault(), r()), c.onKeyDown?.(e);
|
|
30
|
+
},
|
|
31
|
+
handleBlur: (n) => {
|
|
32
|
+
let r = e;
|
|
33
|
+
r !== void 0 && (r < a ? (t.onChange(a), s?.(a)) : r > o && (t.onChange(o), s?.(o))), t.onBlur(), n && c.onBlur?.(n);
|
|
34
|
+
},
|
|
35
|
+
numericOnValueChange: (e) => {
|
|
36
|
+
let n = e.floatValue === void 0 ? void 0 : e.floatValue;
|
|
37
|
+
t.onChange(n), s?.(n);
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export { n as useFormNumberInput };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("../../_virtual/_rolldown/runtime.cjs"),t=require("../../ui/label.cjs"),n=require("../../ui/radio-group.cjs"),r=require("../Form.cjs"),i=require("./useFormRadio.cjs");let a=require("@stylexjs/stylex");a=e.__toESM(a,1);let o=require("react/jsx-runtime");var s={list:{k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kOIVth:`xb6y1gh`,keoZOQ:`x72edsj`,$$css:!0},label:{kkrTdU:`x1ypdohk`,k63SB2:`xo1l8bm`,kGuDYH:`xkpwil5`,kMwMTN:`x84br7x`,kfSwDN:`x87ps6o`,$$css:!0},scrollable:{kORKVm:`x1odjw0f`,$$css:!0}};function c({name:e,control:a,label:c=``,size:l=`middle`,options:u=[],onChange:d,value:f,rules:p={},disabled:m=!1,optionType:h=`default`,buttonStyle:g,autoHeightMax:_,showEmpty:v=!1,hideErrorMessage:y=!1,className:b}){let{processedRules:x,parseValue:S,emitChange:C}=i.useFormRadio({rules:p,value:f,onChange:d,showEmpty:v});return(0,o.jsx)(r.FormBase,{name:e,control:a,label:c,rules:x,className:b,children:r=>(0,o.jsx)(n.RadioGroup,{value:S(f??r.value),onValueChange:e=>C(r.onChange,e),disabled:m,sx:[s.list,_?s.scrollable:void 0],style:_?{maxHeight:`${_}px`}:void 0,children:u.map(r=>(0,o.jsxs)(`div`,{className:`x78zum5 x6s0dn4 x13z6uf9`,children:[(0,o.jsx)(n.RadioGroupItem,{value:String(r.value),id:`${String(e)}-${r.value}`,disabled:m||r.disabled}),(0,o.jsx)(t.Label,{htmlFor:`${String(e)}-${r.value}`,sx:s.label,children:r.label})]},String(r.value)))})})}exports.FormRadio=c;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { Label as e } from "../../ui/label.js";
|
|
2
|
+
import { RadioGroup as t, RadioGroupItem as n } from "../../ui/radio-group.js";
|
|
3
|
+
import { FormBase as r } from "../Form.js";
|
|
4
|
+
import { useFormRadio as i } from "./useFormRadio.js";
|
|
5
|
+
import "@stylexjs/stylex";
|
|
6
|
+
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
7
|
+
// src/Form/FormRadioGroup/FormRadio.tsx
|
|
8
|
+
var s = {
|
|
9
|
+
list: {
|
|
10
|
+
k1xSpc: "x78zum5",
|
|
11
|
+
kXwgrk: "xdt5ytf",
|
|
12
|
+
kOIVth: "xb6y1gh",
|
|
13
|
+
keoZOQ: "x72edsj",
|
|
14
|
+
$$css: !0
|
|
15
|
+
},
|
|
16
|
+
label: {
|
|
17
|
+
kkrTdU: "x1ypdohk",
|
|
18
|
+
k63SB2: "xo1l8bm",
|
|
19
|
+
kGuDYH: "xkpwil5",
|
|
20
|
+
kMwMTN: "x84br7x",
|
|
21
|
+
kfSwDN: "x87ps6o",
|
|
22
|
+
$$css: !0
|
|
23
|
+
},
|
|
24
|
+
scrollable: {
|
|
25
|
+
kORKVm: "x1odjw0f",
|
|
26
|
+
$$css: !0
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
function c({ name: c, control: l, label: u = "", size: d = "middle", options: f = [], onChange: p, value: m, rules: h = {}, disabled: g = !1, optionType: _ = "default", buttonStyle: v, autoHeightMax: y, showEmpty: b = !1, hideErrorMessage: x = !1, className: S }) {
|
|
30
|
+
let { processedRules: C, parseValue: w, emitChange: T } = i({
|
|
31
|
+
rules: h,
|
|
32
|
+
value: m,
|
|
33
|
+
onChange: p,
|
|
34
|
+
showEmpty: b
|
|
35
|
+
});
|
|
36
|
+
return /* @__PURE__ */ a(r, {
|
|
37
|
+
name: c,
|
|
38
|
+
control: l,
|
|
39
|
+
label: u,
|
|
40
|
+
rules: C,
|
|
41
|
+
className: S,
|
|
42
|
+
children: (r) => /* @__PURE__ */ a(t, {
|
|
43
|
+
value: w(m ?? r.value),
|
|
44
|
+
onValueChange: (e) => T(r.onChange, e),
|
|
45
|
+
disabled: g,
|
|
46
|
+
sx: [s.list, y ? s.scrollable : void 0],
|
|
47
|
+
style: y ? { maxHeight: `${y}px` } : void 0,
|
|
48
|
+
children: f.map((t) => /* @__PURE__ */ o("div", {
|
|
49
|
+
className: "x78zum5 x6s0dn4 x13z6uf9",
|
|
50
|
+
children: [/* @__PURE__ */ a(n, {
|
|
51
|
+
value: String(t.value),
|
|
52
|
+
id: `${String(c)}-${t.value}`,
|
|
53
|
+
disabled: g || t.disabled
|
|
54
|
+
}), /* @__PURE__ */ a(e, {
|
|
55
|
+
htmlFor: `${String(c)}-${t.value}`,
|
|
56
|
+
sx: s.label,
|
|
57
|
+
children: t.label
|
|
58
|
+
})]
|
|
59
|
+
}, String(t.value)))
|
|
60
|
+
})
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
export { c as FormRadio };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("../../_virtual/_rolldown/runtime.cjs"),t=require("../Form.cjs"),n=require("./useFormSelect.cjs"),r=require("../../Select/BaseSelect.cjs");let i=require("react/jsx-runtime"),a=require("react");a=e.__toESM(a,1);let o=require("react/compiler-runtime");function s(e){let a=(0,o.c)(7),{baseSelectProps:s,isMulti:c,createChangeHandlers:l}=n.useFormSelect(e),u;a[0]!==s||a[1]!==l||a[2]!==c?(u=e=>{let{onChangeMulti:t,onChangeSingle:n}=l(e);return c?(0,i.jsx)(r.BaseSelect,{...s,isMulti:!0,value:e.value,onChange:t}):(0,i.jsx)(r.BaseSelect,{...s,isMulti:!1,value:e.value,onChange:n})},a[0]=s,a[1]=l,a[2]=c,a[3]=u):u=a[3];let d;return a[4]!==e||a[5]!==u?(d=(0,i.jsx)(t.FormBase,{...e,children:u}),a[4]=e,a[5]=u,a[6]=d):d=a[6],d}exports.FormSelect=s;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FormSelect.d.ts","sourceRoot":"","sources":["../../../src/Form/FormSelect/FormSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"FormSelect.d.ts","sourceRoot":"","sources":["../../../src/Form/FormSelect/FormSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAa,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9D,OAAO,KAAK,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAG3E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,wBAAgB,UAAU,CACxB,YAAY,SAAS,WAAW,GAAG,WAAW,EAC9C,CAAC,SAAS,WAAW,GAAG,WAAW,EACnC,KAAK,EAAE,oBAAoB,CAAC,YAAY,EAAE,CAAC,CAAC,GAAG,KAAK,CAAC,YAAY,CAAC;AACpE,wBAAgB,UAAU,CACxB,YAAY,SAAS,WAAW,GAAG,WAAW,EAC9C,CAAC,SAAS,WAAW,GAAG,WAAW,EACnC,KAAK,EAAE,qBAAqB,CAAC,YAAY,EAAE,CAAC,CAAC,GAAG,KAAK,CAAC,YAAY,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { FormBase as e } from "../Form.js";
|
|
2
|
+
import { useFormSelect as t } from "./useFormSelect.js";
|
|
3
|
+
import { BaseSelect as n } from "../../Select/BaseSelect.js";
|
|
4
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
5
|
+
import "react";
|
|
6
|
+
import { c as i } from "react/compiler-runtime";
|
|
7
|
+
// src/Form/FormSelect/FormSelect.tsx
|
|
8
|
+
function a(a) {
|
|
9
|
+
let o = i(7), { baseSelectProps: s, isMulti: c, createChangeHandlers: l } = t(a), u;
|
|
10
|
+
o[0] !== s || o[1] !== l || o[2] !== c ? (u = (e) => {
|
|
11
|
+
let { onChangeMulti: t, onChangeSingle: i } = l(e);
|
|
12
|
+
return c ? /* @__PURE__ */ r(n, {
|
|
13
|
+
...s,
|
|
14
|
+
isMulti: !0,
|
|
15
|
+
value: e.value,
|
|
16
|
+
onChange: t
|
|
17
|
+
}) : /* @__PURE__ */ r(n, {
|
|
18
|
+
...s,
|
|
19
|
+
isMulti: !1,
|
|
20
|
+
value: e.value,
|
|
21
|
+
onChange: i
|
|
22
|
+
});
|
|
23
|
+
}, o[0] = s, o[1] = l, o[2] = c, o[3] = u) : u = o[3];
|
|
24
|
+
let d;
|
|
25
|
+
return o[4] !== a || o[5] !== u ? (d = /* @__PURE__ */ r(e, {
|
|
26
|
+
...a,
|
|
27
|
+
children: u
|
|
28
|
+
}), o[4] = a, o[5] = u, o[6] = d) : d = o[6], d;
|
|
29
|
+
}
|
|
30
|
+
export { a as FormSelect };
|
|
@@ -22,7 +22,7 @@ export interface FormMultiSelectProps<TFieldValues extends FieldValues = FieldVa
|
|
|
22
22
|
*/
|
|
23
23
|
export interface FormSingleSelectProps<TFieldValues extends FieldValues = FieldValues, T extends SelectValue = SelectValue> extends FormSelectCommonProps<TFieldValues, T> {
|
|
24
24
|
isMulti?: false;
|
|
25
|
-
onChange?: (value: T | null) => void;
|
|
25
|
+
onChange?: (value: T | null | undefined) => void;
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
28
|
* Union type for FormSelect props
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/Form/FormSelect/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACxF,OAAO,KAAK,EAAE,qBAAqB,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAE5E;;GAEG;AACH,MAAM,WAAW,qBAAqB,CACpC,YAAY,SAAS,WAAW,GAAG,WAAW,EAC9C,CAAC,SAAS,WAAW,GAAG,WAAW,CACnC,SAAQ,qBAAqB,CAAC,CAAC,CAAC;IAChC,OAAO,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;IAC/B,IAAI,EAAE,SAAS,CAAC,YAAY,CAAC,CAAC;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,eAAe,CAAC,YAAY,EAAE,SAAS,CAAC,YAAY,CAAC,CAAC,CAAC;CAChE;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB,CACnC,YAAY,SAAS,WAAW,GAAG,WAAW,EAC9C,CAAC,SAAS,WAAW,GAAG,WAAW,CACnC,SAAQ,qBAAqB,CAAC,YAAY,EAAE,CAAC,CAAC;IAC9C,OAAO,EAAE,IAAI,CAAC;IACd,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,KAAK,IAAI,CAAC;CACjC;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB,CACpC,YAAY,SAAS,WAAW,GAAG,WAAW,EAC9C,CAAC,SAAS,WAAW,GAAG,WAAW,CACnC,SAAQ,qBAAqB,CAAC,YAAY,EAAE,CAAC,CAAC;IAC9C,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,GAAG,IAAI,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/Form/FormSelect/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AACxF,OAAO,KAAK,EAAE,qBAAqB,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAE5E;;GAEG;AACH,MAAM,WAAW,qBAAqB,CACpC,YAAY,SAAS,WAAW,GAAG,WAAW,EAC9C,CAAC,SAAS,WAAW,GAAG,WAAW,CACnC,SAAQ,qBAAqB,CAAC,CAAC,CAAC;IAChC,OAAO,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;IAC/B,IAAI,EAAE,SAAS,CAAC,YAAY,CAAC,CAAC;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,eAAe,CAAC,YAAY,EAAE,SAAS,CAAC,YAAY,CAAC,CAAC,CAAC;CAChE;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB,CACnC,YAAY,SAAS,WAAW,GAAG,WAAW,EAC9C,CAAC,SAAS,WAAW,GAAG,WAAW,CACnC,SAAQ,qBAAqB,CAAC,YAAY,EAAE,CAAC,CAAC;IAC9C,OAAO,EAAE,IAAI,CAAC;IACd,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,KAAK,IAAI,CAAC;CACjC;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB,CACpC,YAAY,SAAS,WAAW,GAAG,WAAW,EAC9C,CAAC,SAAS,WAAW,GAAG,WAAW,CACnC,SAAQ,qBAAqB,CAAC,YAAY,EAAE,CAAC,CAAC;IAC9C,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,GAAG,IAAI,GAAG,SAAS,KAAK,IAAI,CAAC;CAClD;AAED;;GAEG;AACH,MAAM,MAAM,eAAe,CACzB,YAAY,SAAS,WAAW,GAAG,WAAW,EAC9C,CAAC,SAAS,WAAW,GAAG,WAAW,IACjC,oBAAoB,CAAC,YAAY,EAAE,CAAC,CAAC,GAAG,qBAAqB,CAAC,YAAY,EAAE,CAAC,CAAC,CAAC;AAEnF;;GAEG;AACH,MAAM,MAAM,kBAAkB,CAC5B,YAAY,SAAS,WAAW,GAAG,WAAW,EAC9C,CAAC,SAAS,WAAW,GAAG,WAAW,IACjC,IAAI,CAAC,eAAe,CAAC,YAAY,EAAE,CAAC,CAAC,EAAE,SAAS,GAAG,oBAAoB,CAAC,CAAC;AAE7E;;GAEG;AACH,MAAM,MAAM,wBAAwB,CAClC,YAAY,SAAS,WAAW,GAAG,WAAW,EAC9C,CAAC,SAAS,WAAW,GAAG,WAAW,IACjC,IAAI,CAAC,qBAAqB,CAAC,YAAY,EAAE,CAAC,CAAC,EAAE,SAAS,GAAG,oBAAoB,CAAC,CAAC;AAEnF;;GAEG;AACH,MAAM,MAAM,uBAAuB,CACjC,YAAY,SAAS,WAAW,GAAG,WAAW,EAC9C,CAAC,SAAS,WAAW,GAAG,WAAW,IACjC,IAAI,CAAC,oBAAoB,CAAC,YAAY,EAAE,CAAC,CAAC,EAAE,SAAS,GAAG,oBAAoB,CAAC,CAAC"}
|
|
@@ -10,7 +10,7 @@ export declare function useFormSelect<TFieldValues extends FieldValues, T extend
|
|
|
10
10
|
readonly isMulti: boolean;
|
|
11
11
|
readonly createChangeHandlers: (field: ControllerRenderProps<TFieldValues, FieldPath<TFieldValues>>) => {
|
|
12
12
|
onChangeMulti: (value: T[]) => void;
|
|
13
|
-
onChangeSingle: (value: T | null) => void;
|
|
13
|
+
onChangeSingle: (value: T | null | undefined) => void;
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
16
|
//# sourceMappingURL=useFormSelect.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFormSelect.d.ts","sourceRoot":"","sources":["../../../src/Form/FormSelect/useFormSelect.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,qBAAqB,EACrB,SAAS,EACT,WAAW,EACX,eAAe,EAChB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,KAAK,EAAwB,eAAe,EAAE,MAAM,SAAS,CAAC;AACrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AAQpE,wBAAgB,aAAa,CAC3B,YAAY,SAAS,WAAW,EAChC,CAAC,SAAS,WAAW,GAAG,WAAW,EAEnC,KAAK,EAAE,eAAe,CAAC,YAAY,EAAE,CAAC,CAAC,GACtC;IACD,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC;IAC7B,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,QAAQ,CAAC,aAAa,EAAE,eAAe,CAAC,YAAY,EAAE,SAAS,CAAC,YAAY,CAAC,CAAC,GAAG,SAAS,CAAC;IAC3F,QAAQ,CAAC,eAAe,EAAE,0BAA0B,CAAC,CAAC,CAAC,CAAC;IACxD,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,oBAAoB,EAAE,CAC7B,KAAK,EAAE,qBAAqB,CAAC,YAAY,EAAE,SAAS,CAAC,YAAY,CAAC,CAAC,KAChE;QACH,aAAa,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,KAAK,IAAI,CAAC;QACpC,cAAc,EAAE,CAAC,KAAK,EAAE,CAAC,GAAG,IAAI,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"useFormSelect.d.ts","sourceRoot":"","sources":["../../../src/Form/FormSelect/useFormSelect.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,qBAAqB,EACrB,SAAS,EACT,WAAW,EACX,eAAe,EAChB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,KAAK,EAAwB,eAAe,EAAE,MAAM,SAAS,CAAC;AACrE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AAQpE,wBAAgB,aAAa,CAC3B,YAAY,SAAS,WAAW,EAChC,CAAC,SAAS,WAAW,GAAG,WAAW,EAEnC,KAAK,EAAE,eAAe,CAAC,YAAY,EAAE,CAAC,CAAC,GACtC;IACD,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC;IAC7B,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IACzC,QAAQ,CAAC,aAAa,EAAE,eAAe,CAAC,YAAY,EAAE,SAAS,CAAC,YAAY,CAAC,CAAC,GAAG,SAAS,CAAC;IAC3F,QAAQ,CAAC,eAAe,EAAE,0BAA0B,CAAC,CAAC,CAAC,CAAC;IACxD,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,oBAAoB,EAAE,CAC7B,KAAK,EAAE,qBAAqB,CAAC,YAAY,EAAE,SAAS,CAAC,YAAY,CAAC,CAAC,KAChE;QACH,aAAa,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,KAAK,IAAI,CAAC;QACpC,cAAc,EAAE,CAAC,KAAK,EAAE,CAAC,GAAG,IAAI,GAAG,SAAS,KAAK,IAAI,CAAC;KACvD,CAAC;CACH,CA0FA"}
|
package/dist/Modal.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./_virtual/_rolldown/runtime.cjs"),t=require("./ui/button.cjs"),n=require("./ui/dialog.cjs");let r=require("@stylexjs/stylex");r=e.__toESM(r,1);let i=require("react/jsx-runtime");var a={content:{k1xSpc:`x78zum5`,kskxy:`xexrwz1`,kXwgrk:`xdt5ytf`,kOIVth:`xxhr3t`,kmVPX3:`x1717udv`,kzqmXN:`xh8yej3`,$$css:!0},sizeXxs:{ks0D6T:`x1va8c73`,$$css:!0},sizeXs:{ks0D6T:`x1dt7z5j`,$$css:!0},sizeSm:{ks0D6T:`xq2pcee`,$$css:!0},sizeMd:{ks0D6T:`x65f84u`,$$css:!0},sizeLg:{ks0D6T:`x11gisft`,$$css:!0},sizeXl:{ks0D6T:`x1yjoq1l`,$$css:!0},sizeXxl:{ks0D6T:`xyzno7u`,$$css:!0},header:{k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kOIVth:`xvh977a`,kg3NbH:`x1qhpy6z`,k8WAf4:`x142x9wm`,kt9PQ7:`xso031l`,kfdmCh:`x1q0q8m5`,kL6WhQ:`x1c03eaz`,$$css:!0},footer:{k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,kg3NbH:`x1qhpy6z`,k8WAf4:`xo0yzjp`,kEafiO:`x178xt8z`,kPef9Z:`x13fuv20`,kLZC3w:`xh5ekmr`,$$css:!0}},o={xxs:a.sizeXxs,xs:a.sizeXs,sm:a.sizeSm,md:a.sizeMd,lg:a.sizeLg,xl:a.sizeXl,xxl:a.sizeXxl};function s({open:e,isOpen:r,title:s,description:c,message:l,children:u,footer:d,size:f=`md`,width:p,confirmText:m=`Confirm`,cancelText:h=`Cancel`,isLoading:g,loading:_,loadingText:v,onCancel:y,onClose:b,onConfirm:x,onOk:S,sx:C,className:w}){let T=e??r??!0,E=g??_??!1,D=c??l,O=()=>{E||(y??b)?.()},k=()=>{E||(x??S)?.()},A=!!(x||S),j=o[f]??a.sizeMd;return(0,i.jsx)(n.Dialog,{open:T,onOpenChange:e=>!e&&O(),children:(0,i.jsxs)(n.DialogContent,{sx:[a.content,j,C],className:w,style:p?{maxWidth:p}:void 0,children:[(0,i.jsxs)(n.DialogHeader,{sx:a.header,children:[(0,i.jsx)(n.DialogTitle,{children:s}),D?(0,i.jsx)(n.DialogDescription,{children:D}):null]}),u?(0,i.jsx)(`div`,{className:`x12lumcd x1odjw0f x1qhpy6z xgepmj6`,children:u}):null,(d||A)&&(0,i.jsx)(n.DialogFooter,{sx:a.footer,children:d||(0,i.jsxs)(`div`,{className:`x78zum5 xh8yej3 x13a6bvl x13z6uf9`,children:[(0,i.jsx)(t.Button,{variant:`outline`,onClick:O,disabled:E,children:h}),A?(0,i.jsx)(t.Button,{onClick:k,disabled:E,children:E&&v?v:m}):null]})})]})})}exports.Modal=s;
|
package/dist/Modal.js
ADDED
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { Button as e } from "./ui/button.js";
|
|
2
|
+
import { Dialog as t, DialogContent as n, DialogDescription as r, DialogFooter as i, DialogHeader as a, DialogTitle as o } from "./ui/dialog.js";
|
|
3
|
+
import "@stylexjs/stylex";
|
|
4
|
+
import { jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
5
|
+
// src/Modal.tsx
|
|
6
|
+
var l = {
|
|
7
|
+
content: {
|
|
8
|
+
k1xSpc: "x78zum5",
|
|
9
|
+
kskxy: "xexrwz1",
|
|
10
|
+
kXwgrk: "xdt5ytf",
|
|
11
|
+
kOIVth: "xxhr3t",
|
|
12
|
+
kmVPX3: "x1717udv",
|
|
13
|
+
kzqmXN: "xh8yej3",
|
|
14
|
+
$$css: !0
|
|
15
|
+
},
|
|
16
|
+
sizeXxs: {
|
|
17
|
+
ks0D6T: "x1va8c73",
|
|
18
|
+
$$css: !0
|
|
19
|
+
},
|
|
20
|
+
sizeXs: {
|
|
21
|
+
ks0D6T: "x1dt7z5j",
|
|
22
|
+
$$css: !0
|
|
23
|
+
},
|
|
24
|
+
sizeSm: {
|
|
25
|
+
ks0D6T: "xq2pcee",
|
|
26
|
+
$$css: !0
|
|
27
|
+
},
|
|
28
|
+
sizeMd: {
|
|
29
|
+
ks0D6T: "x65f84u",
|
|
30
|
+
$$css: !0
|
|
31
|
+
},
|
|
32
|
+
sizeLg: {
|
|
33
|
+
ks0D6T: "x11gisft",
|
|
34
|
+
$$css: !0
|
|
35
|
+
},
|
|
36
|
+
sizeXl: {
|
|
37
|
+
ks0D6T: "x1yjoq1l",
|
|
38
|
+
$$css: !0
|
|
39
|
+
},
|
|
40
|
+
sizeXxl: {
|
|
41
|
+
ks0D6T: "xyzno7u",
|
|
42
|
+
$$css: !0
|
|
43
|
+
},
|
|
44
|
+
header: {
|
|
45
|
+
k1xSpc: "x78zum5",
|
|
46
|
+
kXwgrk: "xdt5ytf",
|
|
47
|
+
kOIVth: "xvh977a",
|
|
48
|
+
kg3NbH: "x1qhpy6z",
|
|
49
|
+
k8WAf4: "x142x9wm",
|
|
50
|
+
kt9PQ7: "xso031l",
|
|
51
|
+
kfdmCh: "x1q0q8m5",
|
|
52
|
+
kL6WhQ: "x1c03eaz",
|
|
53
|
+
$$css: !0
|
|
54
|
+
},
|
|
55
|
+
footer: {
|
|
56
|
+
k1xSpc: "x78zum5",
|
|
57
|
+
kGNEyG: "x6s0dn4",
|
|
58
|
+
kg3NbH: "x1qhpy6z",
|
|
59
|
+
k8WAf4: "xo0yzjp",
|
|
60
|
+
kEafiO: "x178xt8z",
|
|
61
|
+
kPef9Z: "x13fuv20",
|
|
62
|
+
kLZC3w: "xh5ekmr",
|
|
63
|
+
$$css: !0
|
|
64
|
+
}
|
|
65
|
+
}, u = {
|
|
66
|
+
xxs: l.sizeXxs,
|
|
67
|
+
xs: l.sizeXs,
|
|
68
|
+
sm: l.sizeSm,
|
|
69
|
+
md: l.sizeMd,
|
|
70
|
+
lg: l.sizeLg,
|
|
71
|
+
xl: l.sizeXl,
|
|
72
|
+
xxl: l.sizeXxl
|
|
73
|
+
};
|
|
74
|
+
function d({ open: d, isOpen: f, title: p, description: m, message: h, children: g, footer: _, size: v = "md", width: y, confirmText: b = "Confirm", cancelText: x = "Cancel", isLoading: S, loading: C, loadingText: w, onCancel: T, onClose: E, onConfirm: D, onOk: O, sx: k, className: A }) {
|
|
75
|
+
let j = d ?? f ?? !0, M = S ?? C ?? !1, N = m ?? h, P = () => {
|
|
76
|
+
M || (T ?? E)?.();
|
|
77
|
+
}, F = () => {
|
|
78
|
+
M || (D ?? O)?.();
|
|
79
|
+
}, I = !!(D || O), L = u[v] ?? l.sizeMd;
|
|
80
|
+
return /* @__PURE__ */ s(t, {
|
|
81
|
+
open: j,
|
|
82
|
+
onOpenChange: (e) => !e && P(),
|
|
83
|
+
children: /* @__PURE__ */ c(n, {
|
|
84
|
+
sx: [
|
|
85
|
+
l.content,
|
|
86
|
+
L,
|
|
87
|
+
k
|
|
88
|
+
],
|
|
89
|
+
className: A,
|
|
90
|
+
style: y ? { maxWidth: y } : void 0,
|
|
91
|
+
children: [
|
|
92
|
+
/* @__PURE__ */ c(a, {
|
|
93
|
+
sx: l.header,
|
|
94
|
+
children: [/* @__PURE__ */ s(o, { children: p }), N ? /* @__PURE__ */ s(r, { children: N }) : null]
|
|
95
|
+
}),
|
|
96
|
+
g ? /* @__PURE__ */ s("div", {
|
|
97
|
+
className: "x12lumcd x1odjw0f x1qhpy6z xgepmj6",
|
|
98
|
+
children: g
|
|
99
|
+
}) : null,
|
|
100
|
+
(_ || I) && /* @__PURE__ */ s(i, {
|
|
101
|
+
sx: l.footer,
|
|
102
|
+
children: _ || /* @__PURE__ */ c("div", {
|
|
103
|
+
className: "x78zum5 xh8yej3 x13a6bvl x13z6uf9",
|
|
104
|
+
children: [/* @__PURE__ */ s(e, {
|
|
105
|
+
variant: "outline",
|
|
106
|
+
onClick: P,
|
|
107
|
+
disabled: M,
|
|
108
|
+
children: x
|
|
109
|
+
}), I ? /* @__PURE__ */ s(e, {
|
|
110
|
+
onClick: F,
|
|
111
|
+
disabled: M,
|
|
112
|
+
children: M && w ? w : b
|
|
113
|
+
}) : null]
|
|
114
|
+
})
|
|
115
|
+
})
|
|
116
|
+
]
|
|
117
|
+
})
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
export { d as Modal };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("../_virtual/_rolldown/runtime.cjs"),t=require("../Icons/Icons.cjs"),n=require("../ui/button.cjs"),r=require("../ui/popover.cjs"),ee=require("../utils.cjs"),i=require("./renderers.cjs"),a=require("./useMultiSelect.cjs");let o=require("@stylexjs/stylex");o=e.__toESM(o,1);let s=require("react/jsx-runtime");require("react");var c={triggerButton:{k1xSpc:`x78zum5`,kmVPX3:`x78pyy4`,kaIpWk:`xrijj7p`,kMzoRj:`xmkeg23`,ksu8eU:`x1y0btm7`,kVAM5u:`xb30jbz`,kAzted:`xsejkeq`,kZKoxP:`xt7dq6l`,kGNEyG:`x6s0dn4`,kjj79g:`x1qughib`,kWkggS:`xgcd1z6`,kGzVvX:`xadmf9m`,$$css:!0},triggerAutoSize:{kzqmXN:`x14atkfc`,$$css:!0},triggerFullWidth:{kzqmXN:`xh8yej3`,$$css:!0},triggerCompact:{kAzted:`x1in32aq`,kGuDYH:`xkpwil5`,$$css:!0},triggerMobile:{kAzted:`xe8gcm`,kGuDYH:`x1jchvi3`,$$css:!0},triggerDisabled:{kSiTet:`xbyyjgo`,kkrTdU:`x1h6gzvc`,$$css:!0},popoverContent:{kzqmXN:`x14atkfc`,kmVPX3:`x1717udv`,kFalU9:`xggy1nq`,$$css:!0},popoverMobile:{kzqmXN:`xag7ckl`,ks0D6T:`xmjjyld`,$$css:!0},popoverTablet:{kzqmXN:`xfmqdhw`,ks0D6T:`x1983rqf`,$$css:!0},popoverDesktop:{k7Eaqz:`xk9iosm`,$$css:!0}},l=({options:e,onValueChange:o,variant:l,defaultValue:u=[],value:d,placeholder:f=`Select options`,animation:p=0,animationConfig:m,maxCount:h=3,modalPopover:g=!1,className:_,hideSelectAll:v=!1,searchable:y=!0,emptyIndicator:te,autoSize:b=!1,singleLine:x=!1,popoverClassName:S,disabled:C=!1,responsive:ne,width:re,minWidth:ie,maxWidth:w,deduplicateOptions:T=!1,resetOnDefaultValueChange:E=!0,closeOnSelect:D=!1,ref:O,...k})=>{let{ids:A,state:j,derived:M,refs:N,helpers:P,a11yMessages:F,handlers:I}=a.useMultiSelect({options:e,onValueChange:o,defaultValue:d||u,animation:p,animationConfig:m,maxCount:h,modalPopover:g,hideSelectAll:v,searchable:y,autoSize:b,disabled:C,responsive:ne,minWidth:ie,maxWidth:w,deduplicateOptions:T,resetOnDefaultValueChange:E,closeOnSelect:D,forwardedRef:O}),{selectedValues:L,isPopoverOpen:R,isAnimating:z,searchValue:B,screenSize:V}=j,{filteredOptions:H,responsiveSettings:U,widthConstraints:W,badgeAnimationClass:G,popoverAnimationClass:K}=M,{buttonRef:q}=N,{getAllOptions:J,getOptionByValue:Y}=P,{politeMessage:ae,assertiveMessage:oe}=F,{setIsPopoverOpen:X,handleTogglePopover:se,handleInputKeyDown:ce,toggleOption:Z,handleClear:Q,clearExtraOptions:le,toggleAll:$,setSearchValue:ue,setIsAnimating:de}=I,fe=e=>{C||X(e)},pe=`Multi-select: ${L.length} of ${J().length} options selected. ${f}`;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.LiveRegion,{politeMessage:ae,assertiveMessage:oe}),(0,s.jsxs)(r.Popover,{open:R,onOpenChange:fe,modal:g,children:[(0,s.jsx)(`div`,{id:A.triggerDescriptionId,className:`x10l6tqk x1i1rx1s xjm9jq1 x1717udv xkdpibf xb3r6kr xzpqnlu xuxw1ft xc342km`,children:`Multi-select dropdown. Use arrow keys to navigate, Enter to select, and Escape to close.`}),(0,s.jsx)(`div`,{id:A.selectedCountId,className:`x10l6tqk x1i1rx1s xjm9jq1 x1717udv xkdpibf xb3r6kr xzpqnlu xuxw1ft xc342km`,"aria-live":`polite`,children:L.length===0?`No options selected`:`${L.length} option${L.length===1?``:`s`} selected: ${L.map(e=>Y(e)?.label).filter(Boolean).join(`, `)}`}),(0,s.jsx)(r.PopoverTrigger,{asChild:!0,children:(0,s.jsx)(n.Button,{ref:q,variant:`outline`,width:re,...k,onClick:se,disabled:C,role:`combobox`,"aria-expanded":R,"aria-haspopup":`listbox`,"aria-controls":R?A.listboxId:void 0,"aria-describedby":`${A.triggerDescriptionId} ${A.selectedCountId}`,"aria-label":pe,sx:[c.triggerButton,b?c.triggerAutoSize:c.triggerFullWidth,U.compactMode?c.triggerCompact:void 0,V===`mobile`?c.triggerMobile:void 0,C?c.triggerDisabled:void 0],className:_,style:{...W,maxWidth:`min(${W.maxWidth}, 100%)`},children:L.length>0?(0,s.jsx)(i.SelectedValuesContent,{selectedValues:L,responsiveSettings:U,screenSize:V,singleLine:x,animation:p,animationConfig:m,badgeAnimationClass:G,variant:l,getOptionByValue:Y,toggleOption:Z,clearExtraOptions:le,handleClear:Q}):(0,s.jsx)(i.PlaceholderContent,{placeholder:f})})}),(0,s.jsx)(r.PopoverContent,{id:A.listboxId,role:`listbox`,"aria-multiselectable":`true`,"aria-label":`Available options`,sx:[c.popoverContent,V===`mobile`?c.popoverMobile:V===`tablet`?c.popoverTablet:c.popoverDesktop],className:ee.cn(K,S),style:{animationDuration:`${m?.duration||p}s`,animationDelay:`${m?.delay||0}s`,maxWidth:`min(${W.maxWidth}, 85vw)`,maxHeight:V===`mobile`?`70vh`:`60vh`},align:`start`,onEscapeKeyDown:()=>X(!1),children:(0,s.jsx)(i.OptionsContent,{filteredOptions:H,hideSelectAll:v,searchValue:B,searchable:y,selectedValues:L,getAllOptions:J,toggleAll:$,toggleOption:Z,handleClear:Q,setIsPopoverOpen:X,handleInputKeyDown:ce,setSearchValue:ue,multiSelectId:A.multiSelectId,emptyIndicator:te,screenSize:V})}),p>0&&L.length>0&&(0,s.jsx)(t.Icons.WandSparkles,{...{0:{className:`x1ypdohk xahocic x84br7x x1mlyrtw x1jw3ynk xvle69y`},1:{className:`x1ypdohk xahocic x1mlyrtw x1jw3ynk xvle69y xw3nh4a`}}[!z|0],onClick:()=>de(!z)})]})]})};l.displayName=`MultiSelect`,exports.default=l;
|
|
@@ -1,33 +1,5 @@
|
|
|
1
|
-
import { type FunctionComponent
|
|
2
|
-
import type
|
|
3
|
-
|
|
4
|
-
declare const MultiSelect: FunctionComponent<{
|
|
5
|
-
options: any[];
|
|
6
|
-
onValueChange: (value: any[]) => void;
|
|
7
|
-
variant?: string;
|
|
8
|
-
defaultValue?: any[];
|
|
9
|
-
value?: any[];
|
|
10
|
-
placeholder?: string;
|
|
11
|
-
animation?: number;
|
|
12
|
-
animationConfig?: any;
|
|
13
|
-
maxCount?: number;
|
|
14
|
-
modalPopover?: boolean;
|
|
15
|
-
className?: string;
|
|
16
|
-
hideSelectAll?: boolean;
|
|
17
|
-
searchable?: boolean;
|
|
18
|
-
emptyIndicator?: React.ReactNode;
|
|
19
|
-
autoSize?: boolean;
|
|
20
|
-
singleLine?: boolean;
|
|
21
|
-
popoverClassName?: string;
|
|
22
|
-
disabled?: boolean;
|
|
23
|
-
responsive?: any;
|
|
24
|
-
width?: ComponentWidth;
|
|
25
|
-
minWidth?: string;
|
|
26
|
-
maxWidth?: string;
|
|
27
|
-
deduplicateOptions?: boolean;
|
|
28
|
-
resetOnDefaultValueChange?: boolean;
|
|
29
|
-
closeOnSelect?: boolean;
|
|
30
|
-
ref?: Ref<MultiSelectRef>;
|
|
31
|
-
}>;
|
|
1
|
+
import { type FunctionComponent } from 'react';
|
|
2
|
+
import { type MultiSelectProps } from './type';
|
|
3
|
+
declare const MultiSelect: FunctionComponent<MultiSelectProps>;
|
|
32
4
|
export default MultiSelect;
|
|
33
5
|
//# sourceMappingURL=MultiSelect.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultiSelect.d.ts","sourceRoot":"","sources":["../../src/MultiSelect/MultiSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,iBAAiB,EAAE,
|
|
1
|
+
{"version":3,"file":"MultiSelect.d.ts","sourceRoot":"","sources":["../../src/MultiSelect/MultiSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAU/C,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AA6E/C,QAAA,MAAM,WAAW,EAAE,iBAAiB,CAAC,gBAAgB,CAoMpD,CAAC;eAIa,WAAW"}
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
import { Icons as e } from "../Icons/Icons.js";
|
|
2
|
+
import { Button as t } from "../ui/button.js";
|
|
3
|
+
import { Popover as n, PopoverContent as r, PopoverTrigger as i } from "../ui/popover.js";
|
|
4
|
+
import { cn as a } from "../utils.js";
|
|
5
|
+
import { LiveRegion as ee, OptionsContent as te, PlaceholderContent as ne, SelectedValuesContent as re } from "./renderers.js";
|
|
6
|
+
import { useMultiSelect as ie } from "./useMultiSelect.js";
|
|
7
|
+
import "@stylexjs/stylex";
|
|
8
|
+
import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
9
|
+
import "react";
|
|
10
|
+
// src/MultiSelect/MultiSelect.tsx
|
|
11
|
+
var l = {
|
|
12
|
+
triggerButton: {
|
|
13
|
+
k1xSpc: "x78zum5",
|
|
14
|
+
kmVPX3: "x78pyy4",
|
|
15
|
+
kaIpWk: "xrijj7p",
|
|
16
|
+
kMzoRj: "xmkeg23",
|
|
17
|
+
ksu8eU: "x1y0btm7",
|
|
18
|
+
kVAM5u: "xb30jbz",
|
|
19
|
+
kAzted: "xsejkeq",
|
|
20
|
+
kZKoxP: "xt7dq6l",
|
|
21
|
+
kGNEyG: "x6s0dn4",
|
|
22
|
+
kjj79g: "x1qughib",
|
|
23
|
+
kWkggS: "xgcd1z6",
|
|
24
|
+
kGzVvX: "xadmf9m",
|
|
25
|
+
$$css: !0
|
|
26
|
+
},
|
|
27
|
+
triggerAutoSize: {
|
|
28
|
+
kzqmXN: "x14atkfc",
|
|
29
|
+
$$css: !0
|
|
30
|
+
},
|
|
31
|
+
triggerFullWidth: {
|
|
32
|
+
kzqmXN: "xh8yej3",
|
|
33
|
+
$$css: !0
|
|
34
|
+
},
|
|
35
|
+
triggerCompact: {
|
|
36
|
+
kAzted: "x1in32aq",
|
|
37
|
+
kGuDYH: "xkpwil5",
|
|
38
|
+
$$css: !0
|
|
39
|
+
},
|
|
40
|
+
triggerMobile: {
|
|
41
|
+
kAzted: "xe8gcm",
|
|
42
|
+
kGuDYH: "x1jchvi3",
|
|
43
|
+
$$css: !0
|
|
44
|
+
},
|
|
45
|
+
triggerDisabled: {
|
|
46
|
+
kSiTet: "xbyyjgo",
|
|
47
|
+
kkrTdU: "x1h6gzvc",
|
|
48
|
+
$$css: !0
|
|
49
|
+
},
|
|
50
|
+
popoverContent: {
|
|
51
|
+
kzqmXN: "x14atkfc",
|
|
52
|
+
kmVPX3: "x1717udv",
|
|
53
|
+
kFalU9: "xggy1nq",
|
|
54
|
+
$$css: !0
|
|
55
|
+
},
|
|
56
|
+
popoverMobile: {
|
|
57
|
+
kzqmXN: "xag7ckl",
|
|
58
|
+
ks0D6T: "xmjjyld",
|
|
59
|
+
$$css: !0
|
|
60
|
+
},
|
|
61
|
+
popoverTablet: {
|
|
62
|
+
kzqmXN: "xfmqdhw",
|
|
63
|
+
ks0D6T: "x1983rqf",
|
|
64
|
+
$$css: !0
|
|
65
|
+
},
|
|
66
|
+
popoverDesktop: {
|
|
67
|
+
k7Eaqz: "xk9iosm",
|
|
68
|
+
$$css: !0
|
|
69
|
+
}
|
|
70
|
+
}, u = ({ options: u, onValueChange: d, variant: ae, defaultValue: f = [], value: p, placeholder: m = "Select options", animation: h = 0, animationConfig: g, maxCount: oe = 3, modalPopover: _ = !1, className: se, hideSelectAll: v = !1, searchable: y = !0, emptyIndicator: b, autoSize: x = !1, singleLine: S = !1, popoverClassName: C, disabled: w = !1, responsive: T, width: E, minWidth: D, maxWidth: O, deduplicateOptions: k = !1, resetOnDefaultValueChange: A = !0, closeOnSelect: j = !1, ref: M, ...N }) => {
|
|
71
|
+
let { ids: P, state: F, derived: I, refs: L, helpers: R, a11yMessages: z, handlers: B } = ie({
|
|
72
|
+
options: u,
|
|
73
|
+
onValueChange: d,
|
|
74
|
+
defaultValue: p || f,
|
|
75
|
+
animation: h,
|
|
76
|
+
animationConfig: g,
|
|
77
|
+
maxCount: oe,
|
|
78
|
+
modalPopover: _,
|
|
79
|
+
hideSelectAll: v,
|
|
80
|
+
searchable: y,
|
|
81
|
+
autoSize: x,
|
|
82
|
+
disabled: w,
|
|
83
|
+
responsive: T,
|
|
84
|
+
minWidth: D,
|
|
85
|
+
maxWidth: O,
|
|
86
|
+
deduplicateOptions: k,
|
|
87
|
+
resetOnDefaultValueChange: A,
|
|
88
|
+
closeOnSelect: j,
|
|
89
|
+
forwardedRef: M
|
|
90
|
+
}), { selectedValues: V, isPopoverOpen: H, isAnimating: U, searchValue: W, screenSize: G } = F, { filteredOptions: K, responsiveSettings: q, widthConstraints: J, badgeAnimationClass: ce, popoverAnimationClass: le } = I, { buttonRef: ue } = L, { getAllOptions: Y, getOptionByValue: X } = R, { politeMessage: de, assertiveMessage: fe } = z, { setIsPopoverOpen: Z, handleTogglePopover: pe, handleInputKeyDown: me, toggleOption: Q, handleClear: $, clearExtraOptions: he, toggleAll: ge, setSearchValue: _e, setIsAnimating: ve } = B, ye = (e) => {
|
|
91
|
+
w || Z(e);
|
|
92
|
+
}, be = `Multi-select: ${V.length} of ${Y().length} options selected. ${m}`;
|
|
93
|
+
return /* @__PURE__ */ c(o, { children: [/* @__PURE__ */ s(ee, {
|
|
94
|
+
politeMessage: de,
|
|
95
|
+
assertiveMessage: fe
|
|
96
|
+
}), /* @__PURE__ */ c(n, {
|
|
97
|
+
open: H,
|
|
98
|
+
onOpenChange: ye,
|
|
99
|
+
modal: _,
|
|
100
|
+
children: [
|
|
101
|
+
/* @__PURE__ */ s("div", {
|
|
102
|
+
id: P.triggerDescriptionId,
|
|
103
|
+
className: "x10l6tqk x1i1rx1s xjm9jq1 x1717udv xkdpibf xb3r6kr xzpqnlu xuxw1ft xc342km",
|
|
104
|
+
children: "Multi-select dropdown. Use arrow keys to navigate, Enter to select, and Escape to close."
|
|
105
|
+
}),
|
|
106
|
+
/* @__PURE__ */ s("div", {
|
|
107
|
+
id: P.selectedCountId,
|
|
108
|
+
className: "x10l6tqk x1i1rx1s xjm9jq1 x1717udv xkdpibf xb3r6kr xzpqnlu xuxw1ft xc342km",
|
|
109
|
+
"aria-live": "polite",
|
|
110
|
+
children: V.length === 0 ? "No options selected" : `${V.length} option${V.length === 1 ? "" : "s"} selected: ${V.map((e) => X(e)?.label).filter(Boolean).join(", ")}`
|
|
111
|
+
}),
|
|
112
|
+
/* @__PURE__ */ s(i, {
|
|
113
|
+
asChild: !0,
|
|
114
|
+
children: /* @__PURE__ */ s(t, {
|
|
115
|
+
ref: ue,
|
|
116
|
+
variant: "outline",
|
|
117
|
+
width: E,
|
|
118
|
+
...N,
|
|
119
|
+
onClick: pe,
|
|
120
|
+
disabled: w,
|
|
121
|
+
role: "combobox",
|
|
122
|
+
"aria-expanded": H,
|
|
123
|
+
"aria-haspopup": "listbox",
|
|
124
|
+
"aria-controls": H ? P.listboxId : void 0,
|
|
125
|
+
"aria-describedby": `${P.triggerDescriptionId} ${P.selectedCountId}`,
|
|
126
|
+
"aria-label": be,
|
|
127
|
+
sx: [
|
|
128
|
+
l.triggerButton,
|
|
129
|
+
x ? l.triggerAutoSize : l.triggerFullWidth,
|
|
130
|
+
q.compactMode ? l.triggerCompact : void 0,
|
|
131
|
+
G === "mobile" ? l.triggerMobile : void 0,
|
|
132
|
+
w ? l.triggerDisabled : void 0
|
|
133
|
+
],
|
|
134
|
+
className: se,
|
|
135
|
+
style: {
|
|
136
|
+
...J,
|
|
137
|
+
maxWidth: `min(${J.maxWidth}, 100%)`
|
|
138
|
+
},
|
|
139
|
+
children: V.length > 0 ? /* @__PURE__ */ s(re, {
|
|
140
|
+
selectedValues: V,
|
|
141
|
+
responsiveSettings: q,
|
|
142
|
+
screenSize: G,
|
|
143
|
+
singleLine: S,
|
|
144
|
+
animation: h,
|
|
145
|
+
animationConfig: g,
|
|
146
|
+
badgeAnimationClass: ce,
|
|
147
|
+
variant: ae,
|
|
148
|
+
getOptionByValue: X,
|
|
149
|
+
toggleOption: Q,
|
|
150
|
+
clearExtraOptions: he,
|
|
151
|
+
handleClear: $
|
|
152
|
+
}) : /* @__PURE__ */ s(ne, { placeholder: m })
|
|
153
|
+
})
|
|
154
|
+
}),
|
|
155
|
+
/* @__PURE__ */ s(r, {
|
|
156
|
+
id: P.listboxId,
|
|
157
|
+
role: "listbox",
|
|
158
|
+
"aria-multiselectable": "true",
|
|
159
|
+
"aria-label": "Available options",
|
|
160
|
+
sx: [l.popoverContent, G === "mobile" ? l.popoverMobile : G === "tablet" ? l.popoverTablet : l.popoverDesktop],
|
|
161
|
+
className: a(le, C),
|
|
162
|
+
style: {
|
|
163
|
+
animationDuration: `${g?.duration || h}s`,
|
|
164
|
+
animationDelay: `${g?.delay || 0}s`,
|
|
165
|
+
maxWidth: `min(${J.maxWidth}, 85vw)`,
|
|
166
|
+
maxHeight: G === "mobile" ? "70vh" : "60vh"
|
|
167
|
+
},
|
|
168
|
+
align: "start",
|
|
169
|
+
onEscapeKeyDown: () => Z(!1),
|
|
170
|
+
children: /* @__PURE__ */ s(te, {
|
|
171
|
+
filteredOptions: K,
|
|
172
|
+
hideSelectAll: v,
|
|
173
|
+
searchValue: W,
|
|
174
|
+
searchable: y,
|
|
175
|
+
selectedValues: V,
|
|
176
|
+
getAllOptions: Y,
|
|
177
|
+
toggleAll: ge,
|
|
178
|
+
toggleOption: Q,
|
|
179
|
+
handleClear: $,
|
|
180
|
+
setIsPopoverOpen: Z,
|
|
181
|
+
handleInputKeyDown: me,
|
|
182
|
+
setSearchValue: _e,
|
|
183
|
+
multiSelectId: P.multiSelectId,
|
|
184
|
+
emptyIndicator: b,
|
|
185
|
+
screenSize: G
|
|
186
|
+
})
|
|
187
|
+
}),
|
|
188
|
+
h > 0 && V.length > 0 && /* @__PURE__ */ s(e.WandSparkles, {
|
|
189
|
+
...{
|
|
190
|
+
0: { className: "x1ypdohk xahocic x84br7x x1mlyrtw x1jw3ynk xvle69y" },
|
|
191
|
+
1: { className: "x1ypdohk xahocic x1mlyrtw x1jw3ynk xvle69y xw3nh4a" }
|
|
192
|
+
}[!U | 0],
|
|
193
|
+
onClick: () => ve(!U)
|
|
194
|
+
})
|
|
195
|
+
]
|
|
196
|
+
})] });
|
|
197
|
+
};
|
|
198
|
+
u.displayName = "MultiSelect";
|
|
199
|
+
export { u as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("../_virtual/_rolldown/runtime.cjs"),t=require("../Typography/Text.cjs"),n=require("../ui/badge.cjs"),r=require("../utils.cjs"),i=require("../ui/command.cjs"),a=require("../ui/separator.cjs"),o=require("./utils.cjs");let s=require("@stylexjs/stylex");s=e.__toESM(s,1);let c=require("lucide-react"),l=require("react/jsx-runtime");require("react");let u=require("react/compiler-runtime");var d={badgeLabel:{ks0D6T:`x1s8ub08`,k7Eaqz:`xeuugli`,kVQacm:`xb3r6kr`,kg5iWk:`xlyipyv`,khDVqt:`xuxw1ft`,kGuDYH:`xboafo0`,$$css:!0},optionLabelText:{kUk6DE:`x845mor`,k7Eaqz:`xeuugli`,kVQacm:`xb3r6kr`,kg5iWk:`xlyipyv`,khDVqt:`xuxw1ft`,$$css:!0},extraBadge:{kWkggS:`xjbqb8w`,kMwMTN:`x84br7x`,kVAM5u:`xb30jbz`,kGzVvX:`x1n5bzlp`,$$css:!0},separator:{k1xSpc:`x78zum5`,kAzted:`x1rqwxy8`,kZKoxP:`x5yr21d`,$$css:!0},placeholderText:{kGuDYH:`xkpwil5`,kMwMTN:`xw3nh4a`,kUOVxO:`x1acpp9h`,$$css:!0},footerActionItem:{kUk6DE:`x98rzlu`,kjj79g:`xl56j7k`,kkrTdU:`x1ypdohk`,$$css:!0}},f=e=>{let t=(0,u.c)(7),{politeMessage:n,assertiveMessage:r}=e,i;t[0]===n?i=t[1]:(i=(0,l.jsx)(`div`,{"aria-live":`polite`,"aria-atomic":`true`,role:`status`,children:n}),t[0]=n,t[1]=i);let a;t[2]===r?a=t[3]:(a=(0,l.jsx)(`div`,{"aria-live":`assertive`,"aria-atomic":`true`,role:`alert`,children:r}),t[2]=r,t[3]=a);let o;return t[4]!==i||t[5]!==a?(o=(0,l.jsxs)(`div`,{className:`x10l6tqk x1i1rx1s xjm9jq1 x1717udv xkdpibf xb3r6kr xzpqnlu xuxw1ft xc342km`,children:[i,a]}),t[4]=i,t[5]=a,t[6]=o):o=t[6],o},p=e=>{let i=(0,u.c)(51),{selectedValues:o,responsiveSettings:s,singleLine:f,animation:p,animationConfig:m,badgeAnimationClass:h,variant:g,getOptionByValue:_,toggleOption:v,clearExtraOptions:y,handleClear:b}=e,x;i[0]===Symbol.for(`react.memo_cache_sentinel`)?(x={0:{className:`x78zum5 x6s0dn4 xvh977a x1a02dak`},2:{className:`x78zum5 x6s0dn4 xvh977a xw2csxc xes99ow`},1:{className:`x78zum5 x6s0dn4 x1a02dak x1enigpx`},3:{className:`x78zum5 x6s0dn4 xw2csxc xes99ow x1enigpx`}},i[0]=x):x=i[0];let S=x[!!f<<1|!!s.compactMode],C;if(i[1]!==p||i[2]!==m?.delay||i[3]!==m?.duration||i[4]!==h||i[5]!==_||i[6]!==s.compactMode||i[7]!==s.hideIcons||i[8]!==s.maxCount||i[9]!==o||i[10]!==v||i[11]!==g){let e;i[13]!==p||i[14]!==m?.delay||i[15]!==m?.duration||i[16]!==h||i[17]!==_||i[18]!==s.compactMode||i[19]!==s.hideIcons||i[20]!==v||i[21]!==g?(e=e=>{let i=_(e),a=i?.icon,o=i?.style;if(!i)return null;let u={animationDuration:`${p}s`,...o?.badgeColor&&{backgroundColor:o.badgeColor},...o?.gradient&&{background:o.gradient,color:`white`}};return(0,l.jsxs)(n.Badge,{variant:g===`inverted`?`secondary`:g||`secondary`,className:r.cn(h),style:{...u,animationDuration:`${m?.duration||p}s`,animationDelay:`${m?.delay||0}s`},children:[a&&!s.hideIcons&&(0,l.jsx)(a,{...{0:{className:`x1l36t39 xcdlrvm xpoiemb`},1:{className:`xvle69y x1jw3ynk xj17ml3`}}[!!s.compactMode|0],...o?.iconColor&&{style:{color:o.iconColor}}}),(0,l.jsx)(t.Text,{ellipsis:!0,tooltip:!0,sx:d.badgeLabel,children:i.label}),(0,l.jsx)(`button`,{type:`button`,onClick:t=>{t.stopPropagation(),v(e)},onKeyDown:t=>{(t.key===`Enter`||t.key===` `)&&(t.preventDefault(),t.stopPropagation(),v(e))},"aria-label":`Remove ${i.label} from selection`,className:`x13zjp5t x1l36t39 xcdlrvm x1ypdohk xqfady0 x1ngqb6p xc342km xjbqb8w x78zum5 x6s0dn4 xl56j7k x1a2a7pz x17iuh41`,children:(0,l.jsx)(c.XCircle,{...{0:{className:`xvle69y x1jw3ynk`},1:{className:`x1qa65zt x1e7hgle`}}[!!s.compactMode|0]})})]},e)},i[13]=p,i[14]=m?.delay,i[15]=m?.duration,i[16]=h,i[17]=_,i[18]=s.compactMode,i[19]=s.hideIcons,i[20]=v,i[21]=g,i[22]=e):e=i[22],C=o.slice(0,s.maxCount).map(e).filter(Boolean),i[1]=p,i[2]=m?.delay,i[3]=m?.duration,i[4]=h,i[5]=_,i[6]=s.compactMode,i[7]=s.hideIcons,i[8]=s.maxCount,i[9]=o,i[10]=v,i[11]=g,i[12]=C}else C=i[12];let w;i[23]!==p||i[24]!==m?.delay||i[25]!==m?.duration||i[26]!==h||i[27]!==y||i[28]!==s.compactMode||i[29]!==s.maxCount||i[30]!==o.length?(w=o.length>s.maxCount&&(0,l.jsxs)(n.Badge,{sx:d.extraBadge,className:r.cn(h),style:{animationDuration:`${m?.duration||p}s`,animationDelay:`${m?.delay||0}s`},children:[`+ ${o.length-s.maxCount} more`,(0,l.jsx)(c.XCircle,{...{0:{className:`x13zjp5t x1l36t39 xcdlrvm x1ypdohk`},1:{className:`x4aigyd xvle69y x1jw3ynk`}}[!!s.compactMode|0],onClick:e=>{e.stopPropagation(),y()}})]}),i[23]=p,i[24]=m?.delay,i[25]=m?.duration,i[26]=h,i[27]=y,i[28]=s.compactMode,i[29]=s.maxCount,i[30]=o.length,i[31]=w):w=i[31];let T;i[32]!==S||i[33]!==C||i[34]!==w?(T=(0,l.jsxs)(`div`,{...S,children:[C,w]}),i[32]=S,i[33]=C,i[34]=w,i[35]=T):T=i[35];let E,D;i[36]===b?(E=i[37],D=i[38]):(E=e=>{e.stopPropagation(),b()},D=e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),e.stopPropagation(),b())},i[36]=b,i[37]=E,i[38]=D);let O=`Clear all ${o.length} selected options`,k;i[39]===Symbol.for(`react.memo_cache_sentinel`)?(k=(0,l.jsx)(c.XIcon,{className:`x1l36t39 xcdlrvm`}),i[39]=k):k=i[39];let A;i[40]!==E||i[41]!==D||i[42]!==O?(A=(0,l.jsx)(`div`,{role:`button`,tabIndex:0,onClick:E,onKeyDown:D,"aria-label":O,className:`x78zum5 x6s0dn4 xl56j7k x1l36t39 xcdlrvm x1wboj75 x1ypdohk xw3nh4a xqfady0 x1a2a7pz x8aud5w`,children:k}),i[40]=E,i[41]=D,i[42]=O,i[43]=A):A=i[43];let j,M;i[44]===Symbol.for(`react.memo_cache_sentinel`)?(j=(0,l.jsx)(a.Separator,{orientation:`vertical`,sx:d.separator}),M=(0,l.jsx)(c.ChevronDown,{className:`x1l36t39 xcdlrvm x1wboj75 x1ypdohk xw3nh4a`,"aria-hidden":`true`}),i[44]=j,i[45]=M):(j=i[44],M=i[45]);let N;i[46]===A?N=i[47]:(N=(0,l.jsxs)(`div`,{className:`x78zum5 x6s0dn4 x1qughib`,children:[A,j,M]}),i[46]=A,i[47]=N);let P;return i[48]!==N||i[49]!==T?(P=(0,l.jsxs)(`div`,{className:`x78zum5 x1qughib x6s0dn4 xh8yej3`,children:[T,N]}),i[48]=N,i[49]=T,i[50]=P):P=i[50],P},m=e=>{let n=(0,u.c)(5),{placeholder:r}=e,i;n[0]===r?i=n[1]:(i=(0,l.jsx)(t.Text,{as:`span`,type:`secondary`,sx:d.placeholderText,children:r}),n[0]=r,n[1]=i);let a;n[2]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,l.jsx)(c.ChevronDown,{className:`x1l36t39 xcdlrvm x1ypdohk xw3nh4a x1wboj75`}),n[2]=a):a=n[2];let o;return n[3]===i?o=n[4]:(o=(0,l.jsxs)(`div`,{className:`x78zum5 x6s0dn4 x1qughib xh8yej3 xvueqy4`,children:[i,a]}),n[3]=i,n[4]=o),o},h=e=>{let n=(0,u.c)(39),{filteredOptions:r,hideSelectAll:s,searchValue:f,searchable:p,selectedValues:m,getAllOptions:h,toggleAll:v,toggleOption:y,handleClear:b,setIsPopoverOpen:x,handleInputKeyDown:S,setSearchValue:C,multiSelectId:w,emptyIndicator:T}=e,E;n[0]!==S||n[1]!==w||n[2]!==f||n[3]!==p||n[4]!==C?(E=p&&(0,l.jsx)(i.CommandInput,{placeholder:`Search options...`,onKeyDown:S,value:f,onValueChange:C,"aria-label":`Search through available options`,"aria-describedby":`${w}-search-help`}),n[0]=S,n[1]=w,n[2]=f,n[3]=p,n[4]=C,n[5]=E):E=n[5];let D;n[6]!==w||n[7]!==p?(D=p&&(0,l.jsx)(`div`,{id:`${w}-search-help`,className:`x10l6tqk x1i1rx1s xjm9jq1 x1717udv xkdpibf xb3r6kr xzpqnlu xuxw1ft xc342km`,children:`Type to filter options. Use arrow keys to navigate results.`}),n[6]=w,n[7]=p,n[8]=D):D=n[8];let O=T||`No results found.`,k;n[9]===O?k=n[10]:(k=(0,l.jsx)(i.CommandEmpty,{children:O}),n[9]=O,n[10]=k);let A;n[11]!==h||n[12]!==s||n[13]!==f||n[14]!==m.length||n[15]!==v?(A=!s&&!f&&(0,l.jsx)(i.CommandGroup,{children:(0,l.jsxs)(i.CommandItem,{onSelect:v,role:`option`,"aria-selected":m.length===h().filter(g).length,"aria-label":`Select all ${h().length} options`,children:[(0,l.jsx)(`div`,{...{0:{className:`xpoiemb x78zum5 x1l36t39 xcdlrvm x6s0dn4 xl56j7k xqfady0 xmkeg23 x1y0btm7 x1khvrlk xbyyjgo`},1:{className:`xpoiemb x78zum5 x1l36t39 xcdlrvm x6s0dn4 xl56j7k xqfady0 xmkeg23 x1y0btm7 x1khvrlk x1j7ufkg xstwp1q`}}[m.length===h().filter(_).length|0],"aria-hidden":`true`,children:(0,l.jsx)(c.CheckIcon,{className:`x1l36t39 xcdlrvm`})}),(0,l.jsxs)(t.Text,{as:`span`,type:`inherit`,children:[`(Select All`,h().length>20?` - ${h().length} options`:``,`)`]})]},`all`)}),n[11]=h,n[12]=s,n[13]=f,n[14]=m.length,n[15]=v,n[16]=A):A=n[16];let j;n[17]!==r||n[18]!==m||n[19]!==y?(j=o.isGroupedOptions(r)?r.map(e=>(0,l.jsx)(i.CommandGroup,{heading:e.heading,children:e.options.map(e=>{let n=m.includes(e.value);return(0,l.jsxs)(i.CommandItem,{onSelect:()=>y(e.value),role:`option`,"aria-selected":n,"aria-disabled":e.disabled,"aria-label":`${e.label}${n?`, selected`:`, not selected`}${e.disabled?`, disabled`:``}`,disabled:e.disabled,children:[(0,l.jsx)(`div`,{...{0:{className:`xpoiemb x78zum5 x1l36t39 xcdlrvm x6s0dn4 xl56j7k xqfady0 xmkeg23 x1y0btm7 x1khvrlk xbyyjgo`},1:{className:`xpoiemb x78zum5 x1l36t39 xcdlrvm x6s0dn4 xl56j7k xqfady0 xmkeg23 x1y0btm7 x1khvrlk x1j7ufkg xstwp1q`}}[!!n|0],"aria-hidden":`true`,children:(0,l.jsx)(c.CheckIcon,{className:`x1l36t39 xcdlrvm`})}),e.icon&&(0,l.jsx)(e.icon,{className:`xpoiemb x1l36t39 xcdlrvm xw3nh4a`,"aria-hidden":`true`}),(0,l.jsx)(t.Text,{ellipsis:!0,tooltip:!0,sx:d.optionLabelText,children:e.label})]},e.value)})},e.heading)):(0,l.jsx)(i.CommandGroup,{children:r.map(e=>{let n=m.includes(e.value);return(0,l.jsxs)(i.CommandItem,{onSelect:()=>y(e.value),role:`option`,"aria-selected":n,"aria-disabled":e.disabled,"aria-label":`${e.label}${n?`, selected`:`, not selected`}${e.disabled?`, disabled`:``}`,disabled:e.disabled,children:[(0,l.jsx)(`div`,{...{0:{className:`xpoiemb x78zum5 x1l36t39 xcdlrvm x6s0dn4 xl56j7k xqfady0 xmkeg23 x1y0btm7 x1khvrlk xbyyjgo`},1:{className:`xpoiemb x78zum5 x1l36t39 xcdlrvm x6s0dn4 xl56j7k xqfady0 xmkeg23 x1y0btm7 x1khvrlk x1j7ufkg xstwp1q`}}[!!n|0],"aria-hidden":`true`,children:(0,l.jsx)(c.CheckIcon,{className:`x1l36t39 xcdlrvm`})}),e.icon&&(0,l.jsx)(e.icon,{className:`xpoiemb x1l36t39 xcdlrvm xw3nh4a`,"aria-hidden":`true`}),(0,l.jsx)(t.Text,{ellipsis:!0,tooltip:!0,sx:d.optionLabelText,children:e.label})]},e.value)})}),n[17]=r,n[18]=m,n[19]=y,n[20]=j):j=n[20];let M;n[21]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,l.jsx)(i.CommandSeparator,{}),n[21]=M):M=n[21];let N;n[22]!==b||n[23]!==m.length?(N=m.length>0&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(i.CommandItem,{onSelect:b,sx:d.footerActionItem,children:`Clear`}),(0,l.jsx)(a.Separator,{orientation:`vertical`,sx:d.separator})]}),n[22]=b,n[23]=m.length,n[24]=N):N=n[24];let P;n[25]===x?P=n[26]:(P=(0,l.jsx)(i.CommandItem,{onSelect:()=>x(!1),sx:d.footerActionItem,children:`Close`}),n[25]=x,n[26]=P);let F;n[27]!==N||n[28]!==P?(F=(0,l.jsx)(i.CommandGroup,{children:(0,l.jsxs)(`div`,{className:`x78zum5 x6s0dn4 x1qughib`,children:[N,P]})}),n[27]=N,n[28]=P,n[29]=F):F=n[29];let I;n[30]!==F||n[31]!==k||n[32]!==A||n[33]!==j?(I=(0,l.jsxs)(i.CommandList,{children:[k,` `,A,j,M,F]}),n[30]=F,n[31]=k,n[32]=A,n[33]=j,n[34]=I):I=n[34];let L;return n[35]!==E||n[36]!==I||n[37]!==D?(L=(0,l.jsxs)(i.Command,{children:[E,D,I]}),n[35]=E,n[36]=I,n[37]=D,n[38]=L):L=n[38],L};function g(e){return!e.disabled}function _(e){return!e.disabled}exports.LiveRegion=f,exports.OptionsContent=h,exports.PlaceholderContent=m,exports.SelectedValuesContent=p;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderers.d.ts","sourceRoot":"","sources":["../../src/MultiSelect/renderers.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,QAAQ,EACb,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,cAAc,EACpB,MAAM,OAAO,CAAC;AAkBf,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACtB,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAoB,KAAK,kBAAkB,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"renderers.d.ts","sourceRoot":"","sources":["../../src/MultiSelect/renderers.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,QAAQ,EACb,KAAK,aAAa,EAClB,KAAK,SAAS,EACd,KAAK,cAAc,EACpB,MAAM,OAAO,CAAC;AAkBf,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACtB,MAAM,QAAQ,CAAC;AAChB,OAAO,EAAoB,KAAK,kBAAkB,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AAwMrF,eAAO,MAAM,UAAU,yCAGpB;IACD,aAAa,EAAE,MAAM,CAAC;IACtB,gBAAgB,EAAE,MAAM,CAAC;CAC1B,gCASA,CAAC;AAEF,UAAU,0BAA0B;IAClC,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,UAAU,EAAE,UAAU,CAAC;IACvB,UAAU,EAAE,OAAO,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,mBAAmB,EAAE,MAAM,CAAC;IAC5B,OAAO,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAC;IACrC,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,iBAAiB,GAAG,SAAS,CAAC;IACnE,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,WAAW,EAAE,MAAM,IAAI,CAAC;CACzB;AAED,eAAO,MAAM,qBAAqB,2MAa/B,0BAA0B,gCAkI5B,CAAC;AAEF,eAAO,MAAM,kBAAkB,oBAAqB;IAAE,WAAW,EAAE,MAAM,CAAA;CAAE,gCAO1E,CAAC;AAEF,UAAU,mBAAmB;IAC3B,eAAe,EAAE,iBAAiB,EAAE,GAAG,gBAAgB,EAAE,CAAC;IAC1D,aAAa,EAAE,OAAO,CAAC;IACvB,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,cAAc,EAAE,MAAM,EAAE,CAAC;IACzB,aAAa,EAAE,MAAM,iBAAiB,EAAE,CAAC;IACzC,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,gBAAgB,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IACpD,kBAAkB,EAAE,CAAC,KAAK,EAAE,aAAa,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IACrE,cAAc,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IACjD,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,UAAU,EAAE,UAAU,CAAC;CACxB;AAED,eAAO,MAAM,cAAc,2NAexB,mBAAmB,gCAuIrB,CAAC"}
|