@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,120 @@
|
|
|
1
|
+
import { Icons as e } from "../../Icons/Icons.js";
|
|
2
|
+
import { Text as t } from "../../Typography/Text.js";
|
|
3
|
+
import "@stylexjs/stylex";
|
|
4
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
5
|
+
import { useState as i } from "react";
|
|
6
|
+
import { c as a } from "react/compiler-runtime";
|
|
7
|
+
// src/Form/FormDatePicker/MonthPickerPanel.tsx
|
|
8
|
+
var o = [
|
|
9
|
+
"Jan",
|
|
10
|
+
"Feb",
|
|
11
|
+
"Mar",
|
|
12
|
+
"Apr",
|
|
13
|
+
"May",
|
|
14
|
+
"Jun",
|
|
15
|
+
"Jul",
|
|
16
|
+
"Aug",
|
|
17
|
+
"Sep",
|
|
18
|
+
"Oct",
|
|
19
|
+
"Nov",
|
|
20
|
+
"Dec"
|
|
21
|
+
];
|
|
22
|
+
function s(s) {
|
|
23
|
+
let u = a(40), { value: d, onChange: f, disabledDate: p, onYearClick: m, locale: h } = s, g;
|
|
24
|
+
u[0] === d ? g = u[1] : (g = d ? d.getFullYear() : (/* @__PURE__ */ new Date()).getFullYear(), u[0] = d, u[1] = g);
|
|
25
|
+
let [_, v] = i(g), y;
|
|
26
|
+
u[2] === d ? y = u[3] : (y = d?.getFullYear(), u[2] = d, u[3] = y);
|
|
27
|
+
let b = y, x;
|
|
28
|
+
u[4] === d ? x = u[5] : (x = d?.getMonth(), u[4] = d, u[5] = x);
|
|
29
|
+
let S = x, C;
|
|
30
|
+
u[6] === Symbol.for("react.memo_cache_sentinel") ? (C = (e) => {
|
|
31
|
+
e.stopPropagation(), v(l);
|
|
32
|
+
}, u[6] = C) : C = u[6];
|
|
33
|
+
let w = C, T;
|
|
34
|
+
u[7] === Symbol.for("react.memo_cache_sentinel") ? (T = (e) => {
|
|
35
|
+
e.stopPropagation(), v(c);
|
|
36
|
+
}, u[7] = T) : T = u[7];
|
|
37
|
+
let E = T, D;
|
|
38
|
+
u[8] !== f || u[9] !== _ ? (D = (e) => {
|
|
39
|
+
let t = new Date(_, e, 1);
|
|
40
|
+
f(t);
|
|
41
|
+
}, u[8] = f, u[9] = _, u[10] = D) : D = u[10];
|
|
42
|
+
let O = D, k;
|
|
43
|
+
u[11] === h ? k = u[12] : (k = (e) => h?.localize?.month ? h.localize.month(e, { width: "abbreviated" }) : o[e], u[11] = h, u[12] = k);
|
|
44
|
+
let A = k, j;
|
|
45
|
+
u[13] !== h?.code || u[14] !== _ ? (j = h?.code?.startsWith("vi") ? `Năm ${_}` : String(_), u[13] = h?.code, u[14] = _, u[15] = j) : j = u[15];
|
|
46
|
+
let M = j, N;
|
|
47
|
+
u[16] === Symbol.for("react.memo_cache_sentinel") ? (N = /* @__PURE__ */ n("button", {
|
|
48
|
+
type: "button",
|
|
49
|
+
onClick: w,
|
|
50
|
+
"aria-label": "Previous Year",
|
|
51
|
+
className: "x3nfvp2 x6s0dn4 xl56j7k xgd8bvy x1fgtraw xrijj7p xmkeg23 x1y0btm7 xb30jbz xjbqb8w x84br7x x1ypdohk xfyfa0t x9p52ec x10ubyu6",
|
|
52
|
+
children: /* @__PURE__ */ n(e.ChevronLeft, { size: 16 })
|
|
53
|
+
}), u[16] = N) : N = u[16];
|
|
54
|
+
let P;
|
|
55
|
+
u[17] !== m || u[18] !== _ ? (P = () => m?.(_), u[17] = m, u[18] = _, u[19] = P) : P = u[19];
|
|
56
|
+
let F;
|
|
57
|
+
u[20] === M ? F = u[21] : (F = /* @__PURE__ */ n(t, {
|
|
58
|
+
weight: "semibold",
|
|
59
|
+
size: "sm",
|
|
60
|
+
children: M
|
|
61
|
+
}), u[20] = M, u[21] = F);
|
|
62
|
+
let I;
|
|
63
|
+
u[22] !== P || u[23] !== F ? (I = /* @__PURE__ */ n("button", {
|
|
64
|
+
type: "button",
|
|
65
|
+
onClick: P,
|
|
66
|
+
className: "xc342km xjbqb8w x1ypdohk xv98brn xqfady0 x111pd7f x9p52ec",
|
|
67
|
+
children: F
|
|
68
|
+
}), u[22] = P, u[23] = F, u[24] = I) : I = u[24];
|
|
69
|
+
let L;
|
|
70
|
+
u[25] === Symbol.for("react.memo_cache_sentinel") ? (L = /* @__PURE__ */ n("button", {
|
|
71
|
+
type: "button",
|
|
72
|
+
onClick: E,
|
|
73
|
+
"aria-label": "Next Year",
|
|
74
|
+
className: "x3nfvp2 x6s0dn4 xl56j7k xgd8bvy x1fgtraw xrijj7p xmkeg23 x1y0btm7 xb30jbz xjbqb8w x84br7x x1ypdohk xfyfa0t x9p52ec x10ubyu6",
|
|
75
|
+
children: /* @__PURE__ */ n(e.ChevronRight, { size: 16 })
|
|
76
|
+
}), u[25] = L) : L = u[25];
|
|
77
|
+
let R;
|
|
78
|
+
u[26] === I ? R = u[27] : (R = /* @__PURE__ */ r("div", {
|
|
79
|
+
className: "x78zum5 x6s0dn4 x1qughib x1y4g5ey x1wwzmr xso031l x1q0q8m5 x1c03eaz",
|
|
80
|
+
children: [
|
|
81
|
+
N,
|
|
82
|
+
I,
|
|
83
|
+
L
|
|
84
|
+
]
|
|
85
|
+
}), u[26] = I, u[27] = R);
|
|
86
|
+
let z;
|
|
87
|
+
u[28] !== p || u[29] !== A || u[30] !== O || u[31] !== S || u[32] !== b || u[33] !== _ ? (z = o.map((e, t) => {
|
|
88
|
+
let r = A(t), i = b === _ && S === t, a = new Date(_, t, 1), o = p ? p(a) : !1;
|
|
89
|
+
return /* @__PURE__ */ n("button", {
|
|
90
|
+
type: "button",
|
|
91
|
+
disabled: o,
|
|
92
|
+
onClick: () => O(t),
|
|
93
|
+
...{
|
|
94
|
+
0: { className: "x78zum5 x6s0dn4 xl56j7k xn3w4p2 xrijj7p xc342km xjbqb8w x84br7x xkpwil5 x1ypdohk xfyfa0t x9p52ec x10ubyu6" },
|
|
95
|
+
2: { className: "x78zum5 x6s0dn4 xl56j7k xn3w4p2 xrijj7p xc342km xkpwil5 x1ypdohk xfyfa0t x1j7ufkg xstwp1q x1s688f x1439r81 x1fth186" },
|
|
96
|
+
1: { className: "x78zum5 x6s0dn4 xl56j7k xn3w4p2 xrijj7p xc342km xjbqb8w xkpwil5 xfyfa0t x9p52ec x10ubyu6 xw3nh4a x3onkmb x1h6gzvc x47corl" },
|
|
97
|
+
3: { className: "x78zum5 x6s0dn4 xl56j7k xn3w4p2 xrijj7p xc342km xkpwil5 xfyfa0t x1j7ufkg x1s688f x1439r81 x1fth186 xw3nh4a x3onkmb x1h6gzvc x47corl" }
|
|
98
|
+
}[!!i << 1 | !!o],
|
|
99
|
+
children: r
|
|
100
|
+
}, r);
|
|
101
|
+
}), u[28] = p, u[29] = A, u[30] = O, u[31] = S, u[32] = b, u[33] = _, u[34] = z) : z = u[34];
|
|
102
|
+
let B;
|
|
103
|
+
u[35] === z ? B = u[36] : (B = /* @__PURE__ */ n("div", {
|
|
104
|
+
className: "xrvj5dj x1wlfl8j x1m5ztt4",
|
|
105
|
+
children: z
|
|
106
|
+
}), u[35] = z, u[36] = B);
|
|
107
|
+
let V;
|
|
108
|
+
return u[37] !== R || u[38] !== B ? (V = /* @__PURE__ */ r("div", {
|
|
109
|
+
"data-slot": "month-picker-panel",
|
|
110
|
+
className: "x1dz1jew x1g7u2xf x1mlyrtw xrijj7p x87ps6o",
|
|
111
|
+
children: [R, B]
|
|
112
|
+
}), u[37] = R, u[38] = B, u[39] = V) : V = u[39], V;
|
|
113
|
+
}
|
|
114
|
+
function c(e) {
|
|
115
|
+
return e + 1;
|
|
116
|
+
}
|
|
117
|
+
function l(e) {
|
|
118
|
+
return e - 1;
|
|
119
|
+
}
|
|
120
|
+
export { s as MonthPickerPanel, s as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("../../_virtual/_rolldown/runtime.cjs"),t=require("../../Icons/Icons.cjs"),n=require("../../Typography/Text.cjs"),r=require("../../theme/width.cjs"),i=require("../../ui/button.cjs"),a=require("../../ui/popover.cjs"),o=require("./types.cjs"),s=require("../../ui/calendar.cjs"),c=require("./useFormDatePicker.cjs");let l=require("@stylexjs/stylex");l=e.__toESM(l,1);let u=require("react/jsx-runtime"),d=require("react");d=e.__toESM(d,1);var f={triggerButton:{kjj79g:`x1qughib`,k63SB2:`xo1l8bm`,$$css:!0},statusError:{kVAM5u:`x1uwefn5`,$$css:!0},statusWarning:{kVAM5u:`x1vxdlk8`,$$css:!0},fullWidth:{kzqmXN:`xh8yej3`,$$css:!0},clearButton:{kkrTdU:`x1ypdohk`,kDPRdz:`x1mqvv6a`,$$css:!0},popoverContent:{kzqmXN:`x14atkfc`,kmVPX3:`x1717udv`,$$css:!0}};function p({value:e=[void 0,void 0],onChange:l,placeholder:p=`Select Date Range`,dateFormat:m,showTime:h,size:g=`md`,status:_,width:v=`auto`,disabled:y,allowClear:b,hideValue:x,suffixIcon:S,className:C,sx:w,disabledDate:T,locale:E,numberOfMonths:D=2,closeOnSelect:O=!1,startMonth:k,endMonth:A}){let[j,M]=d.default.useState(!1),N=o.resolveDatePickerSize(g),[P,F]=e,I=m||c.getDefaultFormat(`date`,h),L=c.buildRangeDisplayValue(P,F,I),[R,z]=d.default.useState({from:P,to:F});d.default.useEffect(()=>{z({from:P,to:F})},[P,F]);let B=e=>{e.stopPropagation(),z({from:void 0,to:void 0}),l?.([void 0,void 0])},V=e=>{M(e)},H=e=>{let t=e?.from,n=e?.to;z({from:t,to:n}),t&&n?(l?.([t,n]),O&&!h&&M(!1)):t?l?.([t,void 0]):l?.([void 0,void 0])},U=_===`error`?f.statusError:_===`warning`?f.statusWarning:void 0,W=N===`xxs`||N===`xs`?`xs`:N===`xl`||N===`xxl`?`lg`:`sm`;return(0,u.jsxs)(a.Popover,{open:j,onOpenChange:V,children:[(0,u.jsx)(a.PopoverTrigger,{asChild:!0,children:(0,u.jsxs)(i.Button,{variant:`outline`,size:N,disabled:y,width:v,sx:[f.triggerButton,U,v===`auto`?f.fullWidth:void 0,w],className:C,style:v===`auto`?void 0:{width:r.resolveWidth(v)},children:[!x&&L?(0,u.jsx)(n.Text,{size:W,weight:`normal`,children:L}):(0,u.jsx)(n.Text,{size:W,type:`muted`,children:p}),(0,u.jsxs)(`div`,{className:`x8x9d4c x78zum5 x6s0dn4 xvh977a`,children:[b&&(P||F)&&(0,u.jsx)(n.Text,{as:`span`,onClick:B,sx:f.clearButton,children:`×`}),S||(0,u.jsx)(t.Icons.CalendarIcon,{className:`xcdlrvm x1l36t39 xbyyjgo`})]})]})}),(0,u.jsx)(a.PopoverContent,{sx:f.popoverContent,align:`start`,children:(0,u.jsx)(s.Calendar,{mode:`range`,min:1,resetOnSelect:!0,size:N,selected:R,onSelect:H,disabled:T,captionLayout:`dropdown`,numberOfMonths:D,locale:E,startMonth:k,endMonth:A})})]})}exports.RangeDatePicker=p,exports.default=p;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React, { type ReactNode } from 'react';
|
|
2
|
+
import type { Locale } from 'date-fns';
|
|
2
3
|
import * as stylex from '@stylexjs/stylex';
|
|
3
4
|
import { type ComponentWidth } from '../../theme/width';
|
|
4
5
|
import { type DatePickerSize, type DatePickerStatus, type TimeConfig } from './types';
|
|
@@ -18,7 +19,12 @@ export interface StandaloneRangeDatePickerProps {
|
|
|
18
19
|
className?: string;
|
|
19
20
|
sx?: stylex.StyleXStyles;
|
|
20
21
|
disabledDate?: (date: Date) => boolean;
|
|
22
|
+
locale?: Locale;
|
|
23
|
+
numberOfMonths?: number;
|
|
24
|
+
closeOnSelect?: boolean;
|
|
25
|
+
startMonth?: Date;
|
|
26
|
+
endMonth?: Date;
|
|
21
27
|
}
|
|
22
|
-
export declare function RangeDatePicker({ value, onChange, placeholder, dateFormat, showTime, size, status, width, disabled, allowClear, hideValue, suffixIcon, className, sx, disabledDate, }: StandaloneRangeDatePickerProps): React.JSX.Element;
|
|
28
|
+
export declare function RangeDatePicker({ value, onChange, placeholder, dateFormat, showTime, size, status, width, disabled, allowClear, hideValue, suffixIcon, className, sx, disabledDate, locale, numberOfMonths, closeOnSelect, startMonth, endMonth, }: StandaloneRangeDatePickerProps): React.JSX.Element;
|
|
23
29
|
export default RangeDatePicker;
|
|
24
30
|
//# sourceMappingURL=RangeDatePicker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RangeDatePicker.d.ts","sourceRoot":"","sources":["../../../src/Form/FormDatePicker/RangeDatePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"RangeDatePicker.d.ts","sourceRoot":"","sources":["../../../src/Form/FormDatePicker/RangeDatePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,KAAK,MAAM,MAAM,kBAAkB,CAAC;AAM3C,OAAO,EAAgB,KAAK,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGtE,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,UAAU,EAChB,MAAM,SAAS,CAAC;AAwCjB,MAAM,WAAW,8BAA8B;IAC7C,KAAK,CAAC,EAAE,CAAC,IAAI,GAAG,SAAS,EAAE,IAAI,GAAG,SAAS,CAAC,CAAC;IAC7C,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,IAAI,GAAG,SAAS,EAAE,IAAI,GAAG,SAAS,CAAC,KAAK,IAAI,CAAC;IACjE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC;IAChC,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC,YAAY,CAAC;IACzB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC;IACvC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,UAAU,CAAC,EAAE,IAAI,CAAC;IAClB,QAAQ,CAAC,EAAE,IAAI,CAAC;CACjB;AAED,wBAAgB,eAAe,CAAC,EAC9B,KAA8B,EAC9B,QAAQ,EACR,WAAiC,EACjC,UAAU,EACV,QAAQ,EACR,IAAW,EACX,MAAM,EACN,KAAc,EACd,QAAQ,EACR,UAAU,EACV,SAAS,EACT,UAAU,EACV,SAAS,EACT,EAAE,EACF,YAAY,EACZ,MAAM,EACN,cAAkB,EAClB,aAAqB,EACrB,UAAU,EACV,QAAQ,GACT,EAAE,8BAA8B,qBAmHhC;eAEc,eAAe"}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { Icons as e } from "../../Icons/Icons.js";
|
|
2
|
+
import { Text as t } from "../../Typography/Text.js";
|
|
3
|
+
import { resolveWidth as n } from "../../theme/width.js";
|
|
4
|
+
import { Button as r } from "../../ui/button.js";
|
|
5
|
+
import { Popover as i, PopoverContent as a, PopoverTrigger as o } from "../../ui/popover.js";
|
|
6
|
+
import { resolveDatePickerSize as s } from "./types.js";
|
|
7
|
+
import { Calendar as c } from "../../ui/calendar.js";
|
|
8
|
+
import { buildRangeDisplayValue as l, getDefaultFormat as u } from "./useFormDatePicker.js";
|
|
9
|
+
import "@stylexjs/stylex";
|
|
10
|
+
import { jsx as d, jsxs as f } from "react/jsx-runtime";
|
|
11
|
+
import p from "react";
|
|
12
|
+
// src/Form/FormDatePicker/RangeDatePicker.tsx
|
|
13
|
+
var m = {
|
|
14
|
+
triggerButton: {
|
|
15
|
+
kjj79g: "x1qughib",
|
|
16
|
+
k63SB2: "xo1l8bm",
|
|
17
|
+
$$css: !0
|
|
18
|
+
},
|
|
19
|
+
statusError: {
|
|
20
|
+
kVAM5u: "x1uwefn5",
|
|
21
|
+
$$css: !0
|
|
22
|
+
},
|
|
23
|
+
statusWarning: {
|
|
24
|
+
kVAM5u: "x1vxdlk8",
|
|
25
|
+
$$css: !0
|
|
26
|
+
},
|
|
27
|
+
fullWidth: {
|
|
28
|
+
kzqmXN: "xh8yej3",
|
|
29
|
+
$$css: !0
|
|
30
|
+
},
|
|
31
|
+
clearButton: {
|
|
32
|
+
kkrTdU: "x1ypdohk",
|
|
33
|
+
kDPRdz: "x1mqvv6a",
|
|
34
|
+
$$css: !0
|
|
35
|
+
},
|
|
36
|
+
popoverContent: {
|
|
37
|
+
kzqmXN: "x14atkfc",
|
|
38
|
+
kmVPX3: "x1717udv",
|
|
39
|
+
$$css: !0
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
function h({ value: h = [void 0, void 0], onChange: g, placeholder: _ = "Select Date Range", dateFormat: v, showTime: y, size: b = "md", status: x, width: S = "auto", disabled: C, allowClear: w, hideValue: T, suffixIcon: E, className: D, sx: O, disabledDate: k, locale: A, numberOfMonths: j = 2, closeOnSelect: M = !1, startMonth: N, endMonth: P }) {
|
|
43
|
+
let [F, I] = p.useState(!1), L = s(b), [R, z] = h, B = v || u("date", y), V = l(R, z, B), [H, U] = p.useState({
|
|
44
|
+
from: R,
|
|
45
|
+
to: z
|
|
46
|
+
});
|
|
47
|
+
p.useEffect(() => {
|
|
48
|
+
U({
|
|
49
|
+
from: R,
|
|
50
|
+
to: z
|
|
51
|
+
});
|
|
52
|
+
}, [R, z]);
|
|
53
|
+
let W = (e) => {
|
|
54
|
+
e.stopPropagation(), U({
|
|
55
|
+
from: void 0,
|
|
56
|
+
to: void 0
|
|
57
|
+
}), g?.([void 0, void 0]);
|
|
58
|
+
}, G = (e) => {
|
|
59
|
+
I(e);
|
|
60
|
+
}, K = (e) => {
|
|
61
|
+
let t = e?.from, n = e?.to;
|
|
62
|
+
U({
|
|
63
|
+
from: t,
|
|
64
|
+
to: n
|
|
65
|
+
}), t && n ? (g?.([t, n]), M && !y && I(!1)) : t ? g?.([t, void 0]) : g?.([void 0, void 0]);
|
|
66
|
+
}, q = x === "error" ? m.statusError : x === "warning" ? m.statusWarning : void 0, J = L === "xxs" || L === "xs" ? "xs" : L === "xl" || L === "xxl" ? "lg" : "sm";
|
|
67
|
+
return /* @__PURE__ */ f(i, {
|
|
68
|
+
open: F,
|
|
69
|
+
onOpenChange: G,
|
|
70
|
+
children: [/* @__PURE__ */ d(o, {
|
|
71
|
+
asChild: !0,
|
|
72
|
+
children: /* @__PURE__ */ f(r, {
|
|
73
|
+
variant: "outline",
|
|
74
|
+
size: L,
|
|
75
|
+
disabled: C,
|
|
76
|
+
width: S,
|
|
77
|
+
sx: [
|
|
78
|
+
m.triggerButton,
|
|
79
|
+
q,
|
|
80
|
+
S === "auto" ? m.fullWidth : void 0,
|
|
81
|
+
O
|
|
82
|
+
],
|
|
83
|
+
className: D,
|
|
84
|
+
style: S === "auto" ? void 0 : { width: n(S) },
|
|
85
|
+
children: [!T && V ? /* @__PURE__ */ d(t, {
|
|
86
|
+
size: J,
|
|
87
|
+
weight: "normal",
|
|
88
|
+
children: V
|
|
89
|
+
}) : /* @__PURE__ */ d(t, {
|
|
90
|
+
size: J,
|
|
91
|
+
type: "muted",
|
|
92
|
+
children: _
|
|
93
|
+
}), /* @__PURE__ */ f("div", {
|
|
94
|
+
className: "x8x9d4c x78zum5 x6s0dn4 xvh977a",
|
|
95
|
+
children: [w && (R || z) && /* @__PURE__ */ d(t, {
|
|
96
|
+
as: "span",
|
|
97
|
+
onClick: W,
|
|
98
|
+
sx: m.clearButton,
|
|
99
|
+
children: "×"
|
|
100
|
+
}), E || /* @__PURE__ */ d(e.CalendarIcon, { className: "xcdlrvm x1l36t39 xbyyjgo" })]
|
|
101
|
+
})]
|
|
102
|
+
})
|
|
103
|
+
}), /* @__PURE__ */ d(a, {
|
|
104
|
+
sx: m.popoverContent,
|
|
105
|
+
align: "start",
|
|
106
|
+
children: /* @__PURE__ */ d(c, {
|
|
107
|
+
mode: "range",
|
|
108
|
+
min: 1,
|
|
109
|
+
resetOnSelect: !0,
|
|
110
|
+
size: L,
|
|
111
|
+
selected: H,
|
|
112
|
+
onSelect: K,
|
|
113
|
+
disabled: k,
|
|
114
|
+
captionLayout: "dropdown",
|
|
115
|
+
numberOfMonths: j,
|
|
116
|
+
locale: A,
|
|
117
|
+
startMonth: N,
|
|
118
|
+
endMonth: P
|
|
119
|
+
})
|
|
120
|
+
})]
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
export { h as RangeDatePicker, h as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("../../_virtual/_rolldown/runtime.cjs"),t=require("../../Icons/Icons.cjs"),n=require("../../Typography/Text.cjs"),r=require("../../theme/width.cjs"),i=require("../../ui/button.cjs"),a=require("../../ui/popover.cjs"),o=require("./types.cjs"),s=require("../../ui/calendar.cjs"),c=require("./useFormDatePicker.cjs"),l=require("./TimeInput.cjs"),u=require("./TimePicker.cjs"),d=require("./MonthPickerPanel.cjs"),f=require("./YearPickerPanel.cjs");let p=require("@stylexjs/stylex");p=e.__toESM(p,1);let m=require("react/jsx-runtime"),h=require("react");h=e.__toESM(h,1);var g={triggerButton:{kjj79g:`x1qughib`,k63SB2:`xo1l8bm`,$$css:!0},statusError:{kVAM5u:`x1uwefn5`,$$css:!0},statusWarning:{kVAM5u:`x1vxdlk8`,$$css:!0},fullWidth:{kzqmXN:`xh8yej3`,$$css:!0},clearButton:{kkrTdU:`x1ypdohk`,kDPRdz:`x1mqvv6a`,$$css:!0},popoverContent:{kzqmXN:`x14atkfc`,kmVPX3:`x1717udv`,$$css:!0}};function _({value:e,onChange:p,placeholder:_=`Select Date`,dateFormat:v,pickerType:y=`date`,showTime:b,size:x=`md`,status:S,width:C=`auto`,disabled:w,allowClear:T,hideValue:E,suffixIcon:D,className:O,sx:k,disabledDate:A,disabledTime:j,timeConfig:M,locale:N,startMonth:P,endMonth:F}){let[I,L]=(0,h.useState)(!1),[R,z]=(0,h.useState)(e||new Date),B=o.resolveDatePickerSize(x),V=v||c.getDefaultFormat(y,b),H=c.formatDateValue(e,V),U=t=>{if(!t){p?.(void 0);return}let n=t;b&&e&&(n=new Date(t),n.setHours(e.getHours()),n.setMinutes(e.getMinutes()),n.setSeconds(e.getSeconds())),p?.(n),z(n),b||L(!1)},W=e=>{p?.(e)},G=e=>{e.stopPropagation(),p?.(void 0)},K=()=>D||(y===`time`?(0,m.jsx)(t.Icons.Clock,{className:`xcdlrvm x1l36t39 xbyyjgo`}):(0,m.jsx)(t.Icons.CalendarIcon,{className:`xcdlrvm x1l36t39 xbyyjgo`})),q=()=>y===`time`?(0,m.jsxs)(`div`,{className:`x7gbtqy`,children:[(0,m.jsx)(u.TimePicker,{value:e,onChange:W,timeConfig:M,disabledTime:J(e,j)}),(0,m.jsx)(`div`,{className:`x1mjqqkp x1b58sdr x178xt8z x13fuv20 xh5ekmr`,children:(0,m.jsx)(l.TimeInput,{value:e,onChange:W,timeConfig:M})})]}):y===`month`?(0,m.jsx)(d.MonthPickerPanel,{value:e,onChange:U,disabledDate:A,locale:N}):y===`year`?(0,m.jsx)(f.YearPickerPanel,{value:e,onChange:U,disabledDate:A}):(0,m.jsxs)(`div`,{className:`x78zum5`,children:[(0,m.jsx)(s.Calendar,{mode:`single`,size:B,selected:e,onSelect:U,disabled:A,captionLayout:`dropdown`,locale:N,month:R,startMonth:P,endMonth:F,onMonthChange:z}),b&&(0,m.jsx)(`div`,{className:`x7gbtqy`,children:(0,m.jsx)(u.TimePicker,{value:e,onChange:W,timeConfig:M,disabledTime:J(e,j)})})]}),J=(e,t)=>{if(!t)return{};let n=typeof t==`function`&&e?t(e):typeof t==`function`?{}:t;return{disabledHours:()=>n.disabledHours?.()||[],disabledMinutes:e=>n.disabledMinutes?.(e)||[],disabledSeconds:(e,t)=>n.disabledSeconds?.(e,t)||[]}},Y=S===`error`?g.statusError:S===`warning`?g.statusWarning:void 0,X=B===`xxs`||B===`xs`?`xs`:B===`xl`||B===`xxl`?`lg`:`sm`;return(0,m.jsxs)(a.Popover,{open:I,onOpenChange:L,children:[(0,m.jsx)(a.PopoverTrigger,{asChild:!0,children:(0,m.jsxs)(i.Button,{variant:`outline`,size:B,disabled:w,width:C,sx:[g.triggerButton,Y,C===`auto`?g.fullWidth:void 0,k],className:O,style:C===`auto`?void 0:{width:r.resolveWidth(C)},children:[!E&&H?(0,m.jsx)(n.Text,{size:X,weight:`normal`,children:H}):(0,m.jsx)(n.Text,{size:X,type:`muted`,children:_}),(0,m.jsxs)(`div`,{className:`x8x9d4c x78zum5 x6s0dn4 xvh977a`,children:[T&&e&&(0,m.jsx)(n.Text,{as:`span`,onClick:G,sx:g.clearButton,children:`×`}),K()]})]})}),(0,m.jsx)(a.PopoverContent,{sx:g.popoverContent,align:`start`,children:q()})]})}exports.SingleDatePicker=_,exports.default=_;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React, { type ReactNode } from 'react';
|
|
2
|
+
import type { Locale } from 'date-fns';
|
|
2
3
|
import * as stylex from '@stylexjs/stylex';
|
|
3
4
|
import { type ComponentWidth } from '../../theme/width';
|
|
4
5
|
import { type DatePickerSize, type DatePickerStatus, type DisabledTime, type PickerType, type TimeConfig } from './types';
|
|
@@ -21,7 +22,10 @@ export interface StandaloneDatePickerProps {
|
|
|
21
22
|
disabledDate?: (date: Date) => boolean;
|
|
22
23
|
disabledTime?: DisabledTime | ((date: Date) => DisabledTime);
|
|
23
24
|
timeConfig?: TimeConfig;
|
|
25
|
+
locale?: Locale;
|
|
26
|
+
startMonth?: Date;
|
|
27
|
+
endMonth?: Date;
|
|
24
28
|
}
|
|
25
|
-
export declare function SingleDatePicker({ value, onChange, placeholder, dateFormat, pickerType, showTime, size, status, width, disabled, allowClear, hideValue, suffixIcon, className, sx, disabledDate, disabledTime, timeConfig, }: StandaloneDatePickerProps): React.JSX.Element;
|
|
29
|
+
export declare function SingleDatePicker({ value, onChange, placeholder, dateFormat, pickerType, showTime, size, status, width, disabled, allowClear, hideValue, suffixIcon, className, sx, disabledDate, disabledTime, timeConfig, locale, startMonth, endMonth, }: StandaloneDatePickerProps): React.JSX.Element;
|
|
26
30
|
export default SingleDatePicker;
|
|
27
31
|
//# sourceMappingURL=SingleDatePicker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SingleDatePicker.d.ts","sourceRoot":"","sources":["../../../src/Form/FormDatePicker/SingleDatePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAY,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SingleDatePicker.d.ts","sourceRoot":"","sources":["../../../src/Form/FormDatePicker/SingleDatePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAY,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACxD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,KAAK,MAAM,MAAM,kBAAkB,CAAC;AAM3C,OAAO,EAAgB,KAAK,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGtE,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,UAAU,EACf,KAAK,UAAU,EAChB,MAAM,SAAS,CAAC;AAyDjB,MAAM,WAAW,yBAAyB;IACxC,KAAK,CAAC,EAAE,IAAI,CAAC;IACb,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,SAAS,KAAK,IAAI,CAAC;IAC5C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC;IAChC,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC,YAAY,CAAC;IACzB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC;IACvC,YAAY,CAAC,EAAE,YAAY,GAAG,CAAC,CAAC,IAAI,EAAE,IAAI,KAAK,YAAY,CAAC,CAAC;IAC7D,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,IAAI,CAAC;IAClB,QAAQ,CAAC,EAAE,IAAI,CAAC;CACjB;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,KAAK,EACL,QAAQ,EACR,WAA2B,EAC3B,UAAU,EACV,UAAmB,EACnB,QAAQ,EACR,IAAW,EACX,MAAM,EACN,KAAc,EACd,QAAQ,EACR,UAAU,EACV,SAAS,EACT,UAAU,EACV,SAAS,EACT,EAAE,EACF,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,MAAM,EACN,UAAU,EACV,QAAQ,GACT,EAAE,yBAAyB,qBAqL3B;eAEc,gBAAgB"}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import { Icons as e } from "../../Icons/Icons.js";
|
|
2
|
+
import { Text as t } from "../../Typography/Text.js";
|
|
3
|
+
import { resolveWidth as n } from "../../theme/width.js";
|
|
4
|
+
import { Button as ee } from "../../ui/button.js";
|
|
5
|
+
import { Popover as r, PopoverContent as i, PopoverTrigger as a } from "../../ui/popover.js";
|
|
6
|
+
import { resolveDatePickerSize as o } from "./types.js";
|
|
7
|
+
import { Calendar as s } from "../../ui/calendar.js";
|
|
8
|
+
import { formatDateValue as c, getDefaultFormat as l } from "./useFormDatePicker.js";
|
|
9
|
+
import { TimeInput as u } from "./TimeInput.js";
|
|
10
|
+
import { TimePicker as d } from "./TimePicker.js";
|
|
11
|
+
import { MonthPickerPanel as f } from "./MonthPickerPanel.js";
|
|
12
|
+
import { YearPickerPanel as p } from "./YearPickerPanel.js";
|
|
13
|
+
import "@stylexjs/stylex";
|
|
14
|
+
import { jsx as m, jsxs as h } from "react/jsx-runtime";
|
|
15
|
+
import { useState as g } from "react";
|
|
16
|
+
// src/Form/FormDatePicker/SingleDatePicker.tsx
|
|
17
|
+
var _ = {
|
|
18
|
+
triggerButton: {
|
|
19
|
+
kjj79g: "x1qughib",
|
|
20
|
+
k63SB2: "xo1l8bm",
|
|
21
|
+
$$css: !0
|
|
22
|
+
},
|
|
23
|
+
statusError: {
|
|
24
|
+
kVAM5u: "x1uwefn5",
|
|
25
|
+
$$css: !0
|
|
26
|
+
},
|
|
27
|
+
statusWarning: {
|
|
28
|
+
kVAM5u: "x1vxdlk8",
|
|
29
|
+
$$css: !0
|
|
30
|
+
},
|
|
31
|
+
fullWidth: {
|
|
32
|
+
kzqmXN: "xh8yej3",
|
|
33
|
+
$$css: !0
|
|
34
|
+
},
|
|
35
|
+
clearButton: {
|
|
36
|
+
kkrTdU: "x1ypdohk",
|
|
37
|
+
kDPRdz: "x1mqvv6a",
|
|
38
|
+
$$css: !0
|
|
39
|
+
},
|
|
40
|
+
popoverContent: {
|
|
41
|
+
kzqmXN: "x14atkfc",
|
|
42
|
+
kmVPX3: "x1717udv",
|
|
43
|
+
$$css: !0
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
function v({ value: v, onChange: y, placeholder: b = "Select Date", dateFormat: x, pickerType: S = "date", showTime: C, size: w = "md", status: T, width: E = "auto", disabled: D, allowClear: O, hideValue: k, suffixIcon: A, className: j, sx: M, disabledDate: N, disabledTime: P, timeConfig: F, locale: I, startMonth: L, endMonth: R }) {
|
|
47
|
+
let [z, B] = g(!1), [V, H] = g(v || /* @__PURE__ */ new Date()), U = o(w), W = x || l(S, C), G = c(v, W), K = (e) => {
|
|
48
|
+
if (!e) {
|
|
49
|
+
y?.(void 0);
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
52
|
+
let t = e;
|
|
53
|
+
C && v && (t = new Date(e), t.setHours(v.getHours()), t.setMinutes(v.getMinutes()), t.setSeconds(v.getSeconds())), y?.(t), H(t), C || B(!1);
|
|
54
|
+
}, q = (e) => {
|
|
55
|
+
y?.(e);
|
|
56
|
+
}, J = (e) => {
|
|
57
|
+
e.stopPropagation(), y?.(void 0);
|
|
58
|
+
}, Y = () => A || m(S === "time" ? e.Clock : e.CalendarIcon, { className: "xcdlrvm x1l36t39 xbyyjgo" }), X = () => S === "time" ? /* @__PURE__ */ h("div", {
|
|
59
|
+
className: "x7gbtqy",
|
|
60
|
+
children: [/* @__PURE__ */ m(d, {
|
|
61
|
+
value: v,
|
|
62
|
+
onChange: q,
|
|
63
|
+
timeConfig: F,
|
|
64
|
+
disabledTime: Z(v, P)
|
|
65
|
+
}), /* @__PURE__ */ m("div", {
|
|
66
|
+
className: "x1mjqqkp x1b58sdr x178xt8z x13fuv20 xh5ekmr",
|
|
67
|
+
children: /* @__PURE__ */ m(u, {
|
|
68
|
+
value: v,
|
|
69
|
+
onChange: q,
|
|
70
|
+
timeConfig: F
|
|
71
|
+
})
|
|
72
|
+
})]
|
|
73
|
+
}) : S === "month" ? /* @__PURE__ */ m(f, {
|
|
74
|
+
value: v,
|
|
75
|
+
onChange: K,
|
|
76
|
+
disabledDate: N,
|
|
77
|
+
locale: I
|
|
78
|
+
}) : S === "year" ? /* @__PURE__ */ m(p, {
|
|
79
|
+
value: v,
|
|
80
|
+
onChange: K,
|
|
81
|
+
disabledDate: N
|
|
82
|
+
}) : /* @__PURE__ */ h("div", {
|
|
83
|
+
className: "x78zum5",
|
|
84
|
+
children: [/* @__PURE__ */ m(s, {
|
|
85
|
+
mode: "single",
|
|
86
|
+
size: U,
|
|
87
|
+
selected: v,
|
|
88
|
+
onSelect: K,
|
|
89
|
+
disabled: N,
|
|
90
|
+
captionLayout: "dropdown",
|
|
91
|
+
locale: I,
|
|
92
|
+
month: V,
|
|
93
|
+
startMonth: L,
|
|
94
|
+
endMonth: R,
|
|
95
|
+
onMonthChange: H
|
|
96
|
+
}), C && /* @__PURE__ */ m("div", {
|
|
97
|
+
className: "x7gbtqy",
|
|
98
|
+
children: /* @__PURE__ */ m(d, {
|
|
99
|
+
value: v,
|
|
100
|
+
onChange: q,
|
|
101
|
+
timeConfig: F,
|
|
102
|
+
disabledTime: Z(v, P)
|
|
103
|
+
})
|
|
104
|
+
})]
|
|
105
|
+
}), Z = (e, t) => {
|
|
106
|
+
if (!t) return {};
|
|
107
|
+
let n = typeof t == "function" && e ? t(e) : typeof t == "function" ? {} : t;
|
|
108
|
+
return {
|
|
109
|
+
disabledHours: () => n.disabledHours?.() || [],
|
|
110
|
+
disabledMinutes: (e) => n.disabledMinutes?.(e) || [],
|
|
111
|
+
disabledSeconds: (e, t) => n.disabledSeconds?.(e, t) || []
|
|
112
|
+
};
|
|
113
|
+
}, Q = T === "error" ? _.statusError : T === "warning" ? _.statusWarning : void 0, $ = U === "xxs" || U === "xs" ? "xs" : U === "xl" || U === "xxl" ? "lg" : "sm";
|
|
114
|
+
return /* @__PURE__ */ h(r, {
|
|
115
|
+
open: z,
|
|
116
|
+
onOpenChange: B,
|
|
117
|
+
children: [/* @__PURE__ */ m(a, {
|
|
118
|
+
asChild: !0,
|
|
119
|
+
children: /* @__PURE__ */ h(ee, {
|
|
120
|
+
variant: "outline",
|
|
121
|
+
size: U,
|
|
122
|
+
disabled: D,
|
|
123
|
+
width: E,
|
|
124
|
+
sx: [
|
|
125
|
+
_.triggerButton,
|
|
126
|
+
Q,
|
|
127
|
+
E === "auto" ? _.fullWidth : void 0,
|
|
128
|
+
M
|
|
129
|
+
],
|
|
130
|
+
className: j,
|
|
131
|
+
style: E === "auto" ? void 0 : { width: n(E) },
|
|
132
|
+
children: [!k && G ? /* @__PURE__ */ m(t, {
|
|
133
|
+
size: $,
|
|
134
|
+
weight: "normal",
|
|
135
|
+
children: G
|
|
136
|
+
}) : /* @__PURE__ */ m(t, {
|
|
137
|
+
size: $,
|
|
138
|
+
type: "muted",
|
|
139
|
+
children: b
|
|
140
|
+
}), /* @__PURE__ */ h("div", {
|
|
141
|
+
className: "x8x9d4c x78zum5 x6s0dn4 xvh977a",
|
|
142
|
+
children: [O && v && /* @__PURE__ */ m(t, {
|
|
143
|
+
as: "span",
|
|
144
|
+
onClick: J,
|
|
145
|
+
sx: _.clearButton,
|
|
146
|
+
children: "×"
|
|
147
|
+
}), Y()]
|
|
148
|
+
})]
|
|
149
|
+
})
|
|
150
|
+
}), /* @__PURE__ */ m(i, {
|
|
151
|
+
sx: _.popoverContent,
|
|
152
|
+
align: "start",
|
|
153
|
+
children: X()
|
|
154
|
+
})]
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
export { v as SingleDatePicker, v as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("../../_virtual/_rolldown/runtime.cjs"),t=require("../../Typography/Text.cjs"),n=require("../../utils.cjs"),r=require("../../ui/input.cjs");let i=require("@stylexjs/stylex");i=e.__toESM(i,1);let a=require("react/jsx-runtime"),o=require("react"),s=require("react/compiler-runtime");var c={timeField:{kzqmXN:`x154i66o`,k9WMMc:`x2b8uid`,$$css:!0}};function l(e){let i=(0,s.c)(36),{value:l,onChange:u,timeConfig:d,className:f}=e,[p,m]=(0,o.useState)(``),[h,g]=(0,o.useState)(``),[_,v]=(0,o.useState)(``),y=d?.format||`HH:mm:ss`,b;i[0]===y?b=i[1]:(b=y.includes(`H`)||y.includes(`h`),i[0]=y,i[1]=b);let x=b,S;i[2]===y?S=i[3]:(S=y.includes(`m`),i[2]=y,i[3]=S);let C=S,w;i[4]===y?w=i[5]:(w=y.includes(`s`),i[4]=y,i[5]=w);let T=w,E,D;i[6]===l?(E=i[7],D=i[8]):(E=()=>{l&&(m(l.getHours().toString().padStart(2,`0`)),g(l.getMinutes().toString().padStart(2,`0`)),v(l.getSeconds().toString().padStart(2,`0`)))},D=[l],i[6]=l,i[7]=E,i[8]=D),(0,o.useEffect)(E,D);let O;i[9]!==u||i[10]!==l?(O=(e,t)=>{let n=parseInt(t,10);if(isNaN(n))return;let r=new Date(l||new Date);e===`hour`&&r.setHours(Math.min(Math.max(n,0),23)),e===`minute`&&r.setMinutes(Math.min(Math.max(n,0),59)),e===`second`&&r.setSeconds(Math.min(Math.max(n,0),59)),u?.(r)},i[9]=u,i[10]=l,i[11]=O):O=i[11];let k=O,A,j;if(i[12]!==f){let e={className:`x78zum5 x6s0dn4 xvh977a`};A=e,j=n.cn(e.className,f),i[12]=f,i[13]=A,i[14]=j}else A=i[13],j=i[14];let M;i[15]!==k||i[16]!==p||i[17]!==x||i[18]!==C||i[19]!==T?(M=x&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.Input,{type:`number`,min:0,max:23,value:p,onChange:e=>m(e.target.value),onBlur:e=>k(`hour`,e.target.value),sx:c.timeField}),(C||T)&&(0,a.jsx)(t.Text,{as:`span`,type:`secondary`,children:`:`})]}),i[15]=k,i[16]=p,i[17]=x,i[18]=C,i[19]=T,i[20]=M):M=i[20];let N;i[21]!==k||i[22]!==h||i[23]!==C||i[24]!==T?(N=C&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.Input,{type:`number`,min:0,max:59,value:h,onChange:e=>g(e.target.value),onBlur:e=>k(`minute`,e.target.value),sx:c.timeField}),T&&(0,a.jsx)(t.Text,{as:`span`,type:`secondary`,children:`:`})]}),i[21]=k,i[22]=h,i[23]=C,i[24]=T,i[25]=N):N=i[25];let P;i[26]!==k||i[27]!==_||i[28]!==T?(P=T&&(0,a.jsx)(r.Input,{type:`number`,min:0,max:59,value:_,onChange:e=>v(e.target.value),onBlur:e=>k(`second`,e.target.value),sx:c.timeField}),i[26]=k,i[27]=_,i[28]=T,i[29]=P):P=i[29];let F;return i[30]!==N||i[31]!==P||i[32]!==A||i[33]!==j||i[34]!==M?(F=(0,a.jsxs)(`div`,{...A,className:j,children:[M,N,P]}),i[30]=N,i[31]=P,i[32]=A,i[33]=j,i[34]=M,i[35]=F):F=i[35],F}exports.TimeInput=l,exports.default=l;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimeInput.d.ts","sourceRoot":"","sources":["../../../src/Form/FormDatePicker/TimeInput.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TimeInput.d.ts","sourceRoot":"","sources":["../../../src/Form/FormDatePicker/TimeInput.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAc1C,UAAU,cAAc;IACtB,KAAK,CAAC,EAAE,IAAI,CAAC;IACb,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IAChC,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,SAAS,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,SAAS,EAAE,EAAE,cAAc,+BAmFnF;eAEc,SAAS"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { Text as e } from "../../Typography/Text.js";
|
|
2
|
+
import { cn as t } from "../../utils.js";
|
|
3
|
+
import { Input as n } from "../../ui/input.js";
|
|
4
|
+
import "@stylexjs/stylex";
|
|
5
|
+
import { Fragment as r, jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
6
|
+
import { useEffect as o, useState as s } from "react";
|
|
7
|
+
import { c } from "react/compiler-runtime";
|
|
8
|
+
// src/Form/FormDatePicker/TimeInput.tsx
|
|
9
|
+
var l = { timeField: {
|
|
10
|
+
kzqmXN: "x154i66o",
|
|
11
|
+
k9WMMc: "x2b8uid",
|
|
12
|
+
$$css: !0
|
|
13
|
+
} };
|
|
14
|
+
function u(u) {
|
|
15
|
+
let d = c(36), { value: f, onChange: p, timeConfig: m, className: h } = u, [g, _] = s(""), [v, y] = s(""), [b, x] = s(""), S = m?.format || "HH:mm:ss", C;
|
|
16
|
+
d[0] === S ? C = d[1] : (C = S.includes("H") || S.includes("h"), d[0] = S, d[1] = C);
|
|
17
|
+
let w = C, T;
|
|
18
|
+
d[2] === S ? T = d[3] : (T = S.includes("m"), d[2] = S, d[3] = T);
|
|
19
|
+
let E = T, D;
|
|
20
|
+
d[4] === S ? D = d[5] : (D = S.includes("s"), d[4] = S, d[5] = D);
|
|
21
|
+
let O = D, k, A;
|
|
22
|
+
d[6] === f ? (k = d[7], A = d[8]) : (k = () => {
|
|
23
|
+
f && (_(f.getHours().toString().padStart(2, "0")), y(f.getMinutes().toString().padStart(2, "0")), x(f.getSeconds().toString().padStart(2, "0")));
|
|
24
|
+
}, A = [f], d[6] = f, d[7] = k, d[8] = A), o(k, A);
|
|
25
|
+
let j;
|
|
26
|
+
d[9] !== p || d[10] !== f ? (j = (e, t) => {
|
|
27
|
+
let n = parseInt(t, 10);
|
|
28
|
+
if (isNaN(n)) return;
|
|
29
|
+
let r = new Date(f || /* @__PURE__ */ new Date());
|
|
30
|
+
e === "hour" && r.setHours(Math.min(Math.max(n, 0), 23)), e === "minute" && r.setMinutes(Math.min(Math.max(n, 0), 59)), e === "second" && r.setSeconds(Math.min(Math.max(n, 0), 59)), p?.(r);
|
|
31
|
+
}, d[9] = p, d[10] = f, d[11] = j) : j = d[11];
|
|
32
|
+
let M = j, N, P;
|
|
33
|
+
if (d[12] !== h) {
|
|
34
|
+
let e = { className: "x78zum5 x6s0dn4 xvh977a" };
|
|
35
|
+
N = e, P = t(e.className, h), d[12] = h, d[13] = N, d[14] = P;
|
|
36
|
+
} else N = d[13], P = d[14];
|
|
37
|
+
let F;
|
|
38
|
+
d[15] !== M || d[16] !== g || d[17] !== w || d[18] !== E || d[19] !== O ? (F = w && /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ i(n, {
|
|
39
|
+
type: "number",
|
|
40
|
+
min: 0,
|
|
41
|
+
max: 23,
|
|
42
|
+
value: g,
|
|
43
|
+
onChange: (e) => _(e.target.value),
|
|
44
|
+
onBlur: (e) => M("hour", e.target.value),
|
|
45
|
+
sx: l.timeField
|
|
46
|
+
}), (E || O) && /* @__PURE__ */ i(e, {
|
|
47
|
+
as: "span",
|
|
48
|
+
type: "secondary",
|
|
49
|
+
children: ":"
|
|
50
|
+
})] }), d[15] = M, d[16] = g, d[17] = w, d[18] = E, d[19] = O, d[20] = F) : F = d[20];
|
|
51
|
+
let I;
|
|
52
|
+
d[21] !== M || d[22] !== v || d[23] !== E || d[24] !== O ? (I = E && /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ i(n, {
|
|
53
|
+
type: "number",
|
|
54
|
+
min: 0,
|
|
55
|
+
max: 59,
|
|
56
|
+
value: v,
|
|
57
|
+
onChange: (e) => y(e.target.value),
|
|
58
|
+
onBlur: (e) => M("minute", e.target.value),
|
|
59
|
+
sx: l.timeField
|
|
60
|
+
}), O && /* @__PURE__ */ i(e, {
|
|
61
|
+
as: "span",
|
|
62
|
+
type: "secondary",
|
|
63
|
+
children: ":"
|
|
64
|
+
})] }), d[21] = M, d[22] = v, d[23] = E, d[24] = O, d[25] = I) : I = d[25];
|
|
65
|
+
let L;
|
|
66
|
+
d[26] !== M || d[27] !== b || d[28] !== O ? (L = O && /* @__PURE__ */ i(n, {
|
|
67
|
+
type: "number",
|
|
68
|
+
min: 0,
|
|
69
|
+
max: 59,
|
|
70
|
+
value: b,
|
|
71
|
+
onChange: (e) => x(e.target.value),
|
|
72
|
+
onBlur: (e) => M("second", e.target.value),
|
|
73
|
+
sx: l.timeField
|
|
74
|
+
}), d[26] = M, d[27] = b, d[28] = O, d[29] = L) : L = d[29];
|
|
75
|
+
let R;
|
|
76
|
+
return d[30] !== I || d[31] !== L || d[32] !== N || d[33] !== P || d[34] !== F ? (R = /* @__PURE__ */ a("div", {
|
|
77
|
+
...N,
|
|
78
|
+
className: P,
|
|
79
|
+
children: [
|
|
80
|
+
F,
|
|
81
|
+
I,
|
|
82
|
+
L
|
|
83
|
+
]
|
|
84
|
+
}), d[30] = I, d[31] = L, d[32] = N, d[33] = P, d[34] = F, d[35] = R) : R = d[35], R;
|
|
85
|
+
}
|
|
86
|
+
export { u as TimeInput, u as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("../../_virtual/_rolldown/runtime.cjs"),t=require("../../Typography/Text.cjs"),n=require("../../ui/scroll-area.cjs");let r=require("@stylexjs/stylex");r=e.__toESM(r,1);let i=require("react/jsx-runtime"),a=require("react");var o={headerLabel:{kGuDYH:`xboafo0`,k63SB2:`xk50ysn`,k1K539:`x1hpqcdg`,$$css:!0},scrollArea:{kZKoxP:`x1olpkuv`,kzqmXN:`xekueh`,$$css:!0}};function s({value:e,onChange:r,timeConfig:s={},disabledTime:c={}}){let[l,u]=(0,a.useState)(e||new Date);(0,a.useEffect)(()=>{e&&u(e)},[e]);let{format:d=`HH:mm:ss`,hourStep:f=1,minuteStep:p=1,secondStep:m=1,hideDisabledOptions:h=!1}=s,g=d.includes(`H`)||d.includes(`h`),_=d.includes(`m`),v=d.includes(`s`),y=l.getHours(),b=l.getMinutes(),x=l.getSeconds(),S=c.disabledHours?.()||[],C=c.disabledMinutes?.(y)||[],w=c.disabledSeconds?.(y,b)||[],T=(e,t)=>{let n=new Date(l);e===`hour`&&n.setHours(t),e===`minute`&&n.setMinutes(t),e===`second`&&n.setSeconds(t),u(n),r?.(n)},E=(e,t,r,a,s)=>{let c=[];for(let e=0;e<t;e+=r)h&&s.includes(e)||c.push(e);return(0,i.jsx)(n.ScrollArea,{sx:o.scrollArea,children:(0,i.jsx)(`div`,{className:`x78zum5 xdt5ytf`,children:c.map(t=>{let n=s.includes(t);return(0,i.jsx)(`button`,{type:`button`,disabled:n,onClick:()=>T(e,t),...{0:{className:`x97vtpp x1o5vn8x x2b8uid xqfady0 xc342km xjbqb8w x84br7x x1ypdohk xs2xxs2 x1g2r6go x1a2a7pz x9p52ec x10ubyu6`},2:{className:`x97vtpp x1o5vn8x x2b8uid xqfady0 xc342km x1ypdohk xs2xxs2 x1g2r6go x1a2a7pz x1j7ufkg xstwp1q x1439r81 x1fth186`},1:{className:`x97vtpp x1o5vn8x x2b8uid xqfady0 xc342km xjbqb8w x84br7x xs2xxs2 x1g2r6go x1a2a7pz x10ubyu6 xbyyjgo x1h6gzvc x1n5bzlp`},3:{className:`x97vtpp x1o5vn8x x2b8uid xqfady0 xc342km xs2xxs2 x1g2r6go x1a2a7pz x1j7ufkg xstwp1q x1fth186 xbyyjgo x1h6gzvc x1n5bzlp`}}[(a===t)<<1|!!n],children:t.toString().padStart(2,`0`)},t)})})})};return(0,i.jsxs)(`div`,{className:`x78zum5 xvh977a x78pyy4`,children:[g&&(0,i.jsxs)(`div`,{className:`x78zum5 xdt5ytf x6s0dn4`,children:[(0,i.jsx)(t.Text,{as:`span`,size:`xs`,weight:`medium`,sx:o.headerLabel,children:`Hour`}),E(`hour`,24,f,y,S)]}),_&&(0,i.jsxs)(`div`,{className:`x78zum5 xdt5ytf x6s0dn4`,children:[(0,i.jsx)(t.Text,{as:`span`,size:`xs`,weight:`medium`,sx:o.headerLabel,children:`Minute`}),E(`minute`,60,p,b,C)]}),v&&(0,i.jsxs)(`div`,{className:`x78zum5 xdt5ytf x6s0dn4`,children:[(0,i.jsx)(t.Text,{as:`span`,size:`xs`,weight:`medium`,sx:o.headerLabel,children:`Second`}),E(`second`,60,m,x,w)]})]})}exports.TimePicker=s,exports.default=s;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimePicker.d.ts","sourceRoot":"","sources":["../../../src/Form/FormDatePicker/TimePicker.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TimePicker.d.ts","sourceRoot":"","sources":["../../../src/Form/FormDatePicker/TimePicker.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AA4DxD,UAAU,eAAe;IACvB,KAAK,CAAC,EAAE,IAAI,CAAC;IACb,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;IAChC,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,YAAY,CAAC,EAAE,YAAY,CAAC;CAC7B;AAED,wBAAgB,UAAU,CAAC,EACzB,KAAK,EACL,QAAQ,EACR,UAAe,EACf,YAAiB,GAClB,EAAE,eAAe,+BA4GjB;eAEc,UAAU"}
|