@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
package/dist/index242.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { FormBase as e } from "./index179.js";
|
|
2
|
-
import { useFormSelect as t } from "./index239.js";
|
|
3
|
-
import { BaseSelect as n } from "./index241.js";
|
|
4
|
-
import "react";
|
|
5
|
-
import { jsx as r } from "react/jsx-runtime";
|
|
6
|
-
import { c as i } from "react/compiler-runtime";
|
|
7
|
-
// src/Form/FormSelect/FormSelect.tsx
|
|
8
|
-
function a(a) {
|
|
9
|
-
let o = i(7), { baseSelectProps: s, isMulti: c, createChangeHandlers: l } = t(a), u;
|
|
10
|
-
o[0] !== s || o[1] !== l || o[2] !== c ? (u = (e) => {
|
|
11
|
-
let { onChangeMulti: t, onChangeSingle: i } = l(e);
|
|
12
|
-
return /* @__PURE__ */ r(n, {
|
|
13
|
-
...s,
|
|
14
|
-
isMulti: c,
|
|
15
|
-
value: e.value,
|
|
16
|
-
onChange: c ? t : i
|
|
17
|
-
});
|
|
18
|
-
}, o[0] = s, o[1] = l, o[2] = c, o[3] = u) : u = o[3];
|
|
19
|
-
let d;
|
|
20
|
-
return o[4] !== a || o[5] !== u ? (d = /* @__PURE__ */ r(e, {
|
|
21
|
-
...a,
|
|
22
|
-
children: u
|
|
23
|
-
}), o[4] = a, o[5] = u, o[6] = d) : d = o[6], d;
|
|
24
|
-
}
|
|
25
|
-
export { a as FormSelect };
|
package/dist/index244.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("./index2.cjs"),t=require("./index110.cjs"),n=require("./index137.cjs"),r=require("./index179.cjs"),i=require("./index243.cjs");let a=require("@stylexjs/stylex");a=e.__toESM(a,1);let o=require("react/jsx-runtime");var s={list:{k1xSpc:`x78zum5`,kXwgrk:`xdt5ytf`,kOIVth:`xb6y1gh`,keoZOQ:`x72edsj`,$$css:!0},label:{kkrTdU:`x1ypdohk`,k63SB2:`xo1l8bm`,kGuDYH:`xkpwil5`,kMwMTN:`x84br7x`,kfSwDN:`x87ps6o`,$$css:!0},scrollable:{kORKVm:`x1odjw0f`,$$css:!0}};function c({name:e,control:a,label:c=``,size:l=`middle`,options:u=[],onChange:d,value:f,rules:p={},disabled:m=!1,optionType:h=`default`,buttonStyle:g,autoHeightMax:_,showEmpty:v=!1,hideErrorMessage:y=!1,className:b}){let{processedRules:x,parseValue:S,emitChange:C}=i.useFormRadio({rules:p,value:f,onChange:d,showEmpty:v});return(0,o.jsx)(r.FormBase,{name:e,control:a,label:c,rules:x,className:b,children:r=>(0,o.jsx)(n.RadioGroup,{value:S(f??r.value),onValueChange:e=>C(r.onChange,e),disabled:m,sx:[s.list,_?s.scrollable:void 0],style:_?{maxHeight:`${_}px`}:void 0,children:u.map(r=>(0,o.jsxs)(`div`,{className:`x78zum5 x6s0dn4 x13z6uf9`,children:[(0,o.jsx)(n.RadioGroupItem,{value:String(r.value),id:`${String(e)}-${r.value}`,disabled:m||r.disabled}),(0,o.jsx)(t.Label,{htmlFor:`${String(e)}-${r.value}`,sx:s.label,children:r.label})]},String(r.value)))})})}exports.FormRadio=c;
|
package/dist/index244.js
DELETED
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { Label as e } from "./index110.js";
|
|
2
|
-
import { RadioGroup as t, RadioGroupItem as n } from "./index137.js";
|
|
3
|
-
import { FormBase as r } from "./index179.js";
|
|
4
|
-
import { useFormRadio as i } from "./index243.js";
|
|
5
|
-
import "@stylexjs/stylex";
|
|
6
|
-
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
7
|
-
// src/Form/FormRadioGroup/FormRadio.tsx
|
|
8
|
-
var s = {
|
|
9
|
-
list: {
|
|
10
|
-
k1xSpc: "x78zum5",
|
|
11
|
-
kXwgrk: "xdt5ytf",
|
|
12
|
-
kOIVth: "xb6y1gh",
|
|
13
|
-
keoZOQ: "x72edsj",
|
|
14
|
-
$$css: !0
|
|
15
|
-
},
|
|
16
|
-
label: {
|
|
17
|
-
kkrTdU: "x1ypdohk",
|
|
18
|
-
k63SB2: "xo1l8bm",
|
|
19
|
-
kGuDYH: "xkpwil5",
|
|
20
|
-
kMwMTN: "x84br7x",
|
|
21
|
-
kfSwDN: "x87ps6o",
|
|
22
|
-
$$css: !0
|
|
23
|
-
},
|
|
24
|
-
scrollable: {
|
|
25
|
-
kORKVm: "x1odjw0f",
|
|
26
|
-
$$css: !0
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
function c({ name: c, control: l, label: u = "", size: d = "middle", options: f = [], onChange: p, value: m, rules: h = {}, disabled: g = !1, optionType: _ = "default", buttonStyle: v, autoHeightMax: y, showEmpty: b = !1, hideErrorMessage: x = !1, className: S }) {
|
|
30
|
-
let { processedRules: C, parseValue: w, emitChange: T } = i({
|
|
31
|
-
rules: h,
|
|
32
|
-
value: m,
|
|
33
|
-
onChange: p,
|
|
34
|
-
showEmpty: b
|
|
35
|
-
});
|
|
36
|
-
return /* @__PURE__ */ a(r, {
|
|
37
|
-
name: c,
|
|
38
|
-
control: l,
|
|
39
|
-
label: u,
|
|
40
|
-
rules: C,
|
|
41
|
-
className: S,
|
|
42
|
-
children: (r) => /* @__PURE__ */ a(t, {
|
|
43
|
-
value: w(m ?? r.value),
|
|
44
|
-
onValueChange: (e) => T(r.onChange, e),
|
|
45
|
-
disabled: g,
|
|
46
|
-
sx: [s.list, y ? s.scrollable : void 0],
|
|
47
|
-
style: y ? { maxHeight: `${y}px` } : void 0,
|
|
48
|
-
children: f.map((t) => /* @__PURE__ */ o("div", {
|
|
49
|
-
className: "x78zum5 x6s0dn4 x13z6uf9",
|
|
50
|
-
children: [/* @__PURE__ */ a(n, {
|
|
51
|
-
value: String(t.value),
|
|
52
|
-
id: `${String(c)}-${t.value}`,
|
|
53
|
-
disabled: g || t.disabled
|
|
54
|
-
}), /* @__PURE__ */ a(e, {
|
|
55
|
-
htmlFor: `${String(c)}-${t.value}`,
|
|
56
|
-
sx: s.label,
|
|
57
|
-
children: t.label
|
|
58
|
-
})]
|
|
59
|
-
}, String(t.value)))
|
|
60
|
-
})
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
export { c as FormRadio };
|
package/dist/index245.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("./index2.cjs"),t=require("./index4.cjs"),n=require("./index13.cjs"),r=require("./index24.cjs"),i=require("./index113.cjs"),a=require("./index114.cjs");let o=require("react"),s=e.__toESM(o,1);o=e.__toESM(o);let c=require("@stylexjs/stylex");c=e.__toESM(c,1);let l=require("react/jsx-runtime"),u=require("react/compiler-runtime");var d={avatarDropzone:{kVAEAm:`x1n2onr6`,kzqmXN:`x1eyvef`,kZKoxP:`xw76nk8`,kaIpWk:`x7xypw4`,kMzoRj:`xdh2fpr`,ksu8eU:`xbsl7fq`,kVAM5u:`xb30jbz`,kWkggS:`x1mlyrtw`,kVQacm:`xb3r6kr`,kmVPX3:`x1717udv`,kkrTdU:`x1ypdohk`,k1xSpc:`x78zum5`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,k1ekBW:`xq90yva`,kIyJzY:`x13dflua`,kaVNsj:`x14aqmuz`,$$css:!0},avatarItem:{kVAEAm:`x1n2onr6`,k1xSpc:`x78zum5`,kzqmXN:`xh8yej3`,kZKoxP:`x5yr21d`,kXwgrk:`xdt5ytf`,kaIpWk:`x2u8bby`,kMzoRj:`xc342km`,kmVPX3:`x1717udv`,$$css:!0},avatarPreview:{kzqmXN:`xh8yej3`,kZKoxP:`x5yr21d`,kaIpWk:`x2u8bby`,kMzoRj:`xc342km`,kWkggS:`xjbqb8w`,$$css:!0},avatarImg:{kzqmXN:`xh8yej3`,kZKoxP:`x5yr21d`,kVIFPx:`xl1xv1r`,$$css:!0},compactDropzone:{kVAEAm:`x1n2onr6`,k1xSpc:`x78zum5`,kXwgrk:`x1q0g3np`,kGNEyG:`x6s0dn4`,kOIVth:`x8233eu`,kaIpWk:`x1mr5ieh`,kMzoRj:`xmkeg23`,ksu8eU:`xbsl7fq`,kVAM5u:`xb30jbz`,kWkggS:`x1mlyrtw`,kmVPX3:`x19btat0`,kkrTdU:`x1ypdohk`,k1ekBW:`xq90yva`,kIyJzY:`xx6bhzk`,kaVNsj:`x14aqmuz`,kGzVvX:`x9p52ec`,$$css:!0},clearBtnRow:{k1xSpc:`x78zum5`,kjj79g:`x13a6bvl`,kzqmXN:`xh8yej3`,$$css:!0},clearBtn:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kOIVth:`xvh977a`,kGuDYH:`xboafo0`,kMwMTN:`xw3nh4a`,kWkggS:`xjbqb8w`,kMzoRj:`xc342km`,kkrTdU:`x1ypdohk`,kmVPX3:`x48ff29`,kaIpWk:`x1q0v2j7`,kGzVvX:`x9p52ec`,kDPRdz:`x1mqvv6a`,$$css:!0},deleteBtn:{k1xSpc:`x3nfvp2`,kGNEyG:`x6s0dn4`,kjj79g:`xl56j7k`,kzqmXN:`xs5h3dt`,kZKoxP:`xettwda`,kaIpWk:`x1q0v2j7`,kMzoRj:`xc342km`,kWkggS:`xjbqb8w`,kMwMTN:`xw3nh4a`,kkrTdU:`x1ypdohk`,kmuXW:`x2lah0s`,k1ekBW:`x1gbuem2`,kIyJzY:`xx6bhzk`,kGzVvX:`x9p52ec`,kDPRdz:`x1mqvv6a`,$$css:!0},whiteText:{kMwMTN:`x1f7m26b`,$$css:!0}};function f(e){let t=(0,u.c)(6),{onChange:n,autoUpload:r,maxFiles:i}=e,o=a.useFileUpload(_),c=s.useRef(null),l=s.useRef(!0),d,f;return t[0]!==r||t[1]!==i||t[2]!==n||t[3]!==o?(d=()=>{if(!n)return;let e=Array.from(o.files.values());if(l.current&&(l.current=!1,e.length===0))return;let t=(()=>{if(r){let t=e.filter(g).map(h).filter(m);return i===1?t.length>0?t[t.length-1]:null:t}let t=e.map(p);return i===1?t.length>0?t[t.length-1]:null:t})(),a=c.current;(r?JSON.stringify(a)===JSON.stringify(t):Array.isArray(t)&&Array.isArray(a)?t.length===a.length&&t.every((e,t)=>e===a[t]):t===a)||(c.current=t,n(t))},f=[o,r,i,n],t[0]=r,t[1]=i,t[2]=n,t[3]=o,t[4]=d,t[5]=f):(d=t[4],f=t[5]),s.useEffect(d,f),null}function p(e){return e.file}function m(e){return!!e}function h(e){return e.file.uploadedUrl}function g(e){return e.status===`success`}function _(e){return e}function v(e,t=``){let n=e.split(`/`).pop()?.split(`?`)[0]||`file`,r=n.split(`.`).pop()?.toLowerCase(),i=r&&{jpg:`image/jpeg`,jpeg:`image/jpeg`,png:`image/png`,gif:`image/gif`,webp:`image/webp`,pdf:`application/pdf`}[r];i||=t.includes(`image`)?`image/jpeg`:`application/octet-stream`;let a=new File([``],n,{type:i});return a.isUploadedUrl=!0,a.uploadedUrl=e,a}function y({showPreview:e,showProgress:n,orientation:i=`vertical`,avatarImgSx:o,deleteBtnSx:s}){let u=a.useFileUpload(e=>Array.from(e.files.values()).map(e=>e.file));return u.length===0?null:(0,l.jsx)(a.FileUploadList,{orientation:i,children:u.map((u,d)=>(0,l.jsxs)(a.FileUploadItem,{value:u,children:[e&&(0,l.jsx)(a.FileUploadItemPreview,{render:(e,t)=>{let n=e.uploadedUrl||(e.type.startsWith(`image/`)&&typeof URL<`u`&&URL.createObjectURL?URL.createObjectURL(e):null);return n&&e.type.startsWith(`image/`)?(0,l.jsx)(`img`,{src:n,alt:e.name,...c.props(o)}):t()}}),(0,l.jsx)(a.FileUploadItemMetadata,{}),n&&(0,l.jsx)(a.FileUploadItemProgress,{variant:`bottom`}),(0,l.jsx)(a.FileUploadItemDelete,{asChild:!0,children:(0,l.jsx)(r.Button,{variant:`ghost`,size:`icon`,"aria-label":`Delete ${u.name}`,sx:s,children:(0,l.jsx)(t.Icons.Trash2,{size:i===`horizontal`?15:16})})})]},`${u.name}-${d}`))})}function b(e){let n=(0,u.c)(10),{clearBtnRowSx:r,clearBtnSx:i}=e;if(a.useFileUpload(x)===0)return null;let o;n[0]===r?o=n[1]:(o=c.props(r),n[0]=r,n[1]=o);let s;n[2]===i?s=n[3]:(s=c.props(i),n[2]=i,n[3]=s);let d;n[4]===Symbol.for(`react.memo_cache_sentinel`)?(d=(0,l.jsx)(t.Icons.Trash2,{size:13}),n[4]=d):d=n[4];let f;n[5]===s?f=n[6]:(f=(0,l.jsx)(a.FileUploadClear,{asChild:!0,children:(0,l.jsxs)(`button`,{type:`button`,...s,children:[d,`Clear all`]})}),n[5]=s,n[6]=f);let p;return n[7]!==o||n[8]!==f?(p=(0,l.jsx)(`div`,{...o,children:f}),n[7]=o,n[8]=f,n[9]=p):p=n[9],p}function x(e){return e.files.size}function S(e){let r=(0,u.c)(8),{showProgress:o,maxSize:s}=e,c=a.useFileUpload(w),f;r[0]!==c||r[1]!==o?(f=(0,l.jsx)(a.FileUploadDropzone,{sx:d.avatarDropzone,children:c?(0,l.jsxs)(a.FileUploadItem,{value:c,sx:d.avatarItem,children:[(0,l.jsx)(a.FileUploadItemPreview,{sx:d.avatarPreview,render:C}),(0,l.jsxs)(`div`,{className:`x10l6tqk x10a8y8t x78zum5 xdt5ytf x6s0dn4 xl56j7k xvh977a xa44r0r x1f7m26b xg01cxk x19991ni x13dflua x1o7uuvo`,children:[(0,l.jsx)(t.Icons.Camera,{size:22}),(0,l.jsx)(n.Text,{size:`xs`,weight:`semibold`,sx:d.whiteText,children:`Change photo`})]}),o&&(0,l.jsx)(a.FileUploadItemProgress,{variant:`fill`,style:{opacity:.5}})]}):(0,l.jsxs)(`div`,{className:`x78zum5 xh8yej3 x5yr21d xdt5ytf x6s0dn4 xl56j7k xvh977a x1jgryid xw3nh4a x15406qy x13dflua`,children:[(0,l.jsx)(t.Icons.Camera,{size:24}),(0,l.jsx)(n.Text,{size:`xs`,weight:`medium`,children:`Upload`})]})}),r[0]=c,r[1]=o,r[2]=f):f=r[2];let p;r[3]===s?p=r[4]:(p=s?(0,l.jsxs)(n.Text,{size:`xs`,type:`muted`,children:[`Max `,i.formatFileSize(s)]}):null,r[3]=s,r[4]=p);let m;return r[5]!==f||r[6]!==p?(m=(0,l.jsxs)(`div`,{className:`x78zum5 xdt5ytf x6s0dn4 x13z6uf9`,children:[f,p]}),r[5]=f,r[6]=p,r[7]=m):m=r[7],m}function C(e){let r=e.uploadedUrl||(e.type.startsWith(`image/`)&&typeof URL<`u`&&URL.createObjectURL?URL.createObjectURL(e):null);return r?(0,l.jsx)(`img`,{src:r,alt:`Avatar`,className:`xh8yej3 x5yr21d xl1xv1r`}):(0,l.jsxs)(`div`,{className:`x78zum5 xh8yej3 x5yr21d xdt5ytf x6s0dn4 xl56j7k xvh977a x1jgryid xw3nh4a x15406qy x13dflua`,children:[(0,l.jsx)(t.Icons.Camera,{size:24}),(0,l.jsx)(n.Text,{size:`xs`,weight:`medium`,children:`Upload`})]})}function w(e){let t=e.files.values().next();return t.done?null:t.value.file}function T({value:e,onChange:o,autoUpload:c=!1,uploadFile:u,apiConfig:p,uploadThingConfig:m,uploadHandler:h,maxFiles:g=1,maxSize:_=5242880,accept:x=`image/*`,multiple:C,disabled:w,className:T,sx:E,variant:D=`default`,dropzoneTitle:O,dropzoneSubtitle:k,icon:A,showFileList:j=!0,showProgress:M=!0,showPreview:N=!0,showClear:P=!1}){let F=s.useRef(new Map),I=s.useMemo(()=>(Array.isArray(e)?e:e?[e]:[]).map(e=>{if(e instanceof File)return e;if(typeof e==`string`){let t=F.current.get(e);return t||(t=v(e,x),F.current.set(e,t)),t}return e}),[e,x]),L=s.useMemo(()=>h||(m?i.createUploadThingUploadHandler(m):p?i.createApiUploadHandler(p):null),[h,m,p]),R=async(e,t)=>{if(!c)e.forEach(e=>t.onSuccess(e));else if(L)try{(await L(e,{onProgress:t.onProgress,onSuccess:(e,n)=>{e.uploadedUrl=n.url,t.onSuccess(e)},onError:(e,n)=>{t.onError(e,n)}})).forEach((t,n)=>{let r=e[n];r&&(r.uploadedUrl=t.url)})}catch{}else u?await Promise.all(e.map(async e=>{let n=e;if(n.isUploadedUrl)t.onSuccess(e);else try{t.onProgress(e,20),n.uploadedUrl=await u(e),t.onProgress(e,100),t.onSuccess(e)}catch(n){t.onError(e,n instanceof Error?n:Error(`Upload failed`))}})):(console.warn(`FileUpload: autoUpload is true but no upload handler or config was provided.`),e.forEach(e=>t.onError(e,Error(`Missing upload configuration`))))},z=`${g>1?`Up to ${g} files`:`1 file max`} ${_?`(Max ${i.formatFileSize(_)})`:``}`,B=D===`avatar`?!1:C??g>1;return(0,l.jsxs)(a.FileUpload,{value:I,maxFiles:D===`avatar`?1:g,maxSize:_,accept:x,multiple:B,disabled:w,onUpload:R,className:T,sx:E,children:[(0,l.jsx)(f,{onChange:o,autoUpload:!!c,maxFiles:D===`avatar`?1:g}),D===`avatar`?(0,l.jsx)(S,{showProgress:M,maxSize:_}):D===`compact`?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(a.FileUploadDropzone,{sx:d.compactDropzone,children:[(0,l.jsx)(`div`,{className:`x78zum5 x6s0dn4 xl56j7k xs5h3dt xettwda x7xypw4 xmkeg23 x1y0btm7 xb30jbz x1rexohn xw3nh4a x2lah0s`,children:A||(0,l.jsx)(t.Icons.CloudUpload,{size:18})}),(0,l.jsxs)(`div`,{className:`x78zum5 xdt5ytf x98rzlu xeuugli`,children:[(0,l.jsx)(n.Text,{size:`sm`,weight:`medium`,children:O||`Choose or drop files to upload`}),(0,l.jsx)(n.Text,{size:`xs`,type:`muted`,children:k||z})]}),(0,l.jsx)(a.FileUploadTrigger,{asChild:!0,children:(0,l.jsx)(r.Button,{variant:`outline`,size:`sm`,disabled:w,children:`Browse`})})]}),P&&(0,l.jsx)(b,{clearBtnRowSx:d.clearBtnRow,clearBtnSx:d.clearBtn}),j&&(0,l.jsx)(y,{showPreview:N,showProgress:M,orientation:`horizontal`,avatarImgSx:d.avatarImg,deleteBtnSx:d.deleteBtn})]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(a.FileUploadDropzone,{children:[(0,l.jsx)(`div`,{className:`x78zum5 x6s0dn4 xl56j7k xvm51jw xwaiz5r x7xypw4 xmkeg23 x1y0btm7 xb30jbz x1rexohn xw3nh4a x1hpqcdg`,children:A||(0,l.jsx)(t.Icons.CloudUpload,{size:20})}),(0,l.jsx)(n.Text,{size:`md`,weight:`medium`,children:O||`Drag & drop files here, or click to select`}),(0,l.jsx)(n.Text,{size:`xs`,type:`muted`,children:k||z})]}),P&&(0,l.jsx)(b,{clearBtnRowSx:d.clearBtnRow,clearBtnSx:d.clearBtn}),j&&(0,l.jsx)(y,{showPreview:N,showProgress:M,orientation:`vertical`,avatarImgSx:d.avatarImg,deleteBtnSx:d.deleteBtn})]})]})}exports.FileUpload=T;
|
package/dist/index245.js
DELETED
|
@@ -1,422 +0,0 @@
|
|
|
1
|
-
import { Icons as e } from "./index4.js";
|
|
2
|
-
import { Text as t } from "./index13.js";
|
|
3
|
-
import { Button as n } from "./index24.js";
|
|
4
|
-
import { createApiUploadHandler as r, createUploadThingUploadHandler as i, formatFileSize as a } from "./index113.js";
|
|
5
|
-
import { FileUpload as o, FileUploadClear as s, FileUploadDropzone as c, FileUploadItem as l, FileUploadItemDelete as u, FileUploadItemMetadata as d, FileUploadItemPreview as f, FileUploadItemProgress as p, FileUploadList as m, FileUploadTrigger as h, useFileUpload as g } from "./index114.js";
|
|
6
|
-
import * as _ from "react";
|
|
7
|
-
import * as v from "@stylexjs/stylex";
|
|
8
|
-
import { Fragment as y, jsx as b, jsxs as x } from "react/jsx-runtime";
|
|
9
|
-
import { c as S } from "react/compiler-runtime";
|
|
10
|
-
// src/Form/FormFileUpload/FileUpload.tsx
|
|
11
|
-
var C = {
|
|
12
|
-
avatarDropzone: {
|
|
13
|
-
kVAEAm: "x1n2onr6",
|
|
14
|
-
kzqmXN: "x1eyvef",
|
|
15
|
-
kZKoxP: "xw76nk8",
|
|
16
|
-
kaIpWk: "x7xypw4",
|
|
17
|
-
kMzoRj: "xdh2fpr",
|
|
18
|
-
ksu8eU: "xbsl7fq",
|
|
19
|
-
kVAM5u: "xb30jbz",
|
|
20
|
-
kWkggS: "x1mlyrtw",
|
|
21
|
-
kVQacm: "xb3r6kr",
|
|
22
|
-
kmVPX3: "x1717udv",
|
|
23
|
-
kkrTdU: "x1ypdohk",
|
|
24
|
-
k1xSpc: "x78zum5",
|
|
25
|
-
kGNEyG: "x6s0dn4",
|
|
26
|
-
kjj79g: "xl56j7k",
|
|
27
|
-
k1ekBW: "xq90yva",
|
|
28
|
-
kIyJzY: "x13dflua",
|
|
29
|
-
kaVNsj: "x14aqmuz",
|
|
30
|
-
$$css: !0
|
|
31
|
-
},
|
|
32
|
-
avatarItem: {
|
|
33
|
-
kVAEAm: "x1n2onr6",
|
|
34
|
-
k1xSpc: "x78zum5",
|
|
35
|
-
kzqmXN: "xh8yej3",
|
|
36
|
-
kZKoxP: "x5yr21d",
|
|
37
|
-
kXwgrk: "xdt5ytf",
|
|
38
|
-
kaIpWk: "x2u8bby",
|
|
39
|
-
kMzoRj: "xc342km",
|
|
40
|
-
kmVPX3: "x1717udv",
|
|
41
|
-
$$css: !0
|
|
42
|
-
},
|
|
43
|
-
avatarPreview: {
|
|
44
|
-
kzqmXN: "xh8yej3",
|
|
45
|
-
kZKoxP: "x5yr21d",
|
|
46
|
-
kaIpWk: "x2u8bby",
|
|
47
|
-
kMzoRj: "xc342km",
|
|
48
|
-
kWkggS: "xjbqb8w",
|
|
49
|
-
$$css: !0
|
|
50
|
-
},
|
|
51
|
-
avatarImg: {
|
|
52
|
-
kzqmXN: "xh8yej3",
|
|
53
|
-
kZKoxP: "x5yr21d",
|
|
54
|
-
kVIFPx: "xl1xv1r",
|
|
55
|
-
$$css: !0
|
|
56
|
-
},
|
|
57
|
-
compactDropzone: {
|
|
58
|
-
kVAEAm: "x1n2onr6",
|
|
59
|
-
k1xSpc: "x78zum5",
|
|
60
|
-
kXwgrk: "x1q0g3np",
|
|
61
|
-
kGNEyG: "x6s0dn4",
|
|
62
|
-
kOIVth: "x8233eu",
|
|
63
|
-
kaIpWk: "x1mr5ieh",
|
|
64
|
-
kMzoRj: "xmkeg23",
|
|
65
|
-
ksu8eU: "xbsl7fq",
|
|
66
|
-
kVAM5u: "xb30jbz",
|
|
67
|
-
kWkggS: "x1mlyrtw",
|
|
68
|
-
kmVPX3: "x19btat0",
|
|
69
|
-
kkrTdU: "x1ypdohk",
|
|
70
|
-
k1ekBW: "xq90yva",
|
|
71
|
-
kIyJzY: "xx6bhzk",
|
|
72
|
-
kaVNsj: "x14aqmuz",
|
|
73
|
-
kGzVvX: "x9p52ec",
|
|
74
|
-
$$css: !0
|
|
75
|
-
},
|
|
76
|
-
clearBtnRow: {
|
|
77
|
-
k1xSpc: "x78zum5",
|
|
78
|
-
kjj79g: "x13a6bvl",
|
|
79
|
-
kzqmXN: "xh8yej3",
|
|
80
|
-
$$css: !0
|
|
81
|
-
},
|
|
82
|
-
clearBtn: {
|
|
83
|
-
k1xSpc: "x3nfvp2",
|
|
84
|
-
kGNEyG: "x6s0dn4",
|
|
85
|
-
kOIVth: "xvh977a",
|
|
86
|
-
kGuDYH: "xboafo0",
|
|
87
|
-
kMwMTN: "xw3nh4a",
|
|
88
|
-
kWkggS: "xjbqb8w",
|
|
89
|
-
kMzoRj: "xc342km",
|
|
90
|
-
kkrTdU: "x1ypdohk",
|
|
91
|
-
kmVPX3: "x48ff29",
|
|
92
|
-
kaIpWk: "x1q0v2j7",
|
|
93
|
-
kGzVvX: "x9p52ec",
|
|
94
|
-
kDPRdz: "x1mqvv6a",
|
|
95
|
-
$$css: !0
|
|
96
|
-
},
|
|
97
|
-
deleteBtn: {
|
|
98
|
-
k1xSpc: "x3nfvp2",
|
|
99
|
-
kGNEyG: "x6s0dn4",
|
|
100
|
-
kjj79g: "xl56j7k",
|
|
101
|
-
kzqmXN: "xs5h3dt",
|
|
102
|
-
kZKoxP: "xettwda",
|
|
103
|
-
kaIpWk: "x1q0v2j7",
|
|
104
|
-
kMzoRj: "xc342km",
|
|
105
|
-
kWkggS: "xjbqb8w",
|
|
106
|
-
kMwMTN: "xw3nh4a",
|
|
107
|
-
kkrTdU: "x1ypdohk",
|
|
108
|
-
kmuXW: "x2lah0s",
|
|
109
|
-
k1ekBW: "x1gbuem2",
|
|
110
|
-
kIyJzY: "xx6bhzk",
|
|
111
|
-
kGzVvX: "x9p52ec",
|
|
112
|
-
kDPRdz: "x1mqvv6a",
|
|
113
|
-
$$css: !0
|
|
114
|
-
},
|
|
115
|
-
whiteText: {
|
|
116
|
-
kMwMTN: "x1f7m26b",
|
|
117
|
-
$$css: !0
|
|
118
|
-
}
|
|
119
|
-
};
|
|
120
|
-
function w(e) {
|
|
121
|
-
let t = S(6), { onChange: n, autoUpload: r, maxFiles: i } = e, a = g(k), o = _.useRef(null), s = _.useRef(!0), c, l;
|
|
122
|
-
return t[0] !== r || t[1] !== i || t[2] !== n || t[3] !== a ? (c = () => {
|
|
123
|
-
if (!n) return;
|
|
124
|
-
let e = Array.from(a.files.values());
|
|
125
|
-
if (s.current && (s.current = !1, e.length === 0)) return;
|
|
126
|
-
let t = (() => {
|
|
127
|
-
if (r) {
|
|
128
|
-
let t = e.filter(O).map(D).filter(E);
|
|
129
|
-
return i === 1 ? t.length > 0 ? t[t.length - 1] : null : t;
|
|
130
|
-
}
|
|
131
|
-
let t = e.map(T);
|
|
132
|
-
return i === 1 ? t.length > 0 ? t[t.length - 1] : null : t;
|
|
133
|
-
})(), c = o.current;
|
|
134
|
-
(r ? JSON.stringify(c) === JSON.stringify(t) : Array.isArray(t) && Array.isArray(c) ? t.length === c.length && t.every((e, t) => e === c[t]) : t === c) || (o.current = t, n(t));
|
|
135
|
-
}, l = [
|
|
136
|
-
a,
|
|
137
|
-
r,
|
|
138
|
-
i,
|
|
139
|
-
n
|
|
140
|
-
], t[0] = r, t[1] = i, t[2] = n, t[3] = a, t[4] = c, t[5] = l) : (c = t[4], l = t[5]), _.useEffect(c, l), null;
|
|
141
|
-
}
|
|
142
|
-
function T(e) {
|
|
143
|
-
return e.file;
|
|
144
|
-
}
|
|
145
|
-
function E(e) {
|
|
146
|
-
return !!e;
|
|
147
|
-
}
|
|
148
|
-
function D(e) {
|
|
149
|
-
return e.file.uploadedUrl;
|
|
150
|
-
}
|
|
151
|
-
function O(e) {
|
|
152
|
-
return e.status === "success";
|
|
153
|
-
}
|
|
154
|
-
function k(e) {
|
|
155
|
-
return e;
|
|
156
|
-
}
|
|
157
|
-
function A(e, t = "") {
|
|
158
|
-
let n = e.split("/").pop()?.split("?")[0] || "file", r = n.split(".").pop()?.toLowerCase(), i = r && {
|
|
159
|
-
jpg: "image/jpeg",
|
|
160
|
-
jpeg: "image/jpeg",
|
|
161
|
-
png: "image/png",
|
|
162
|
-
gif: "image/gif",
|
|
163
|
-
webp: "image/webp",
|
|
164
|
-
pdf: "application/pdf"
|
|
165
|
-
}[r];
|
|
166
|
-
i ||= t.includes("image") ? "image/jpeg" : "application/octet-stream";
|
|
167
|
-
let a = new File([""], n, { type: i });
|
|
168
|
-
return a.isUploadedUrl = !0, a.uploadedUrl = e, a;
|
|
169
|
-
}
|
|
170
|
-
function j({ showPreview: t, showProgress: r, orientation: i = "vertical", avatarImgSx: a, deleteBtnSx: o }) {
|
|
171
|
-
let s = g((e) => Array.from(e.files.values()).map((e) => e.file));
|
|
172
|
-
return s.length === 0 ? null : /* @__PURE__ */ b(m, {
|
|
173
|
-
orientation: i,
|
|
174
|
-
children: s.map((s, c) => /* @__PURE__ */ x(l, {
|
|
175
|
-
value: s,
|
|
176
|
-
children: [
|
|
177
|
-
t && /* @__PURE__ */ b(f, { render: (e, t) => {
|
|
178
|
-
let n = e.uploadedUrl || (e.type.startsWith("image/") && typeof URL < "u" && URL.createObjectURL ? URL.createObjectURL(e) : null);
|
|
179
|
-
return n && e.type.startsWith("image/") ? /* @__PURE__ */ b("img", {
|
|
180
|
-
src: n,
|
|
181
|
-
alt: e.name,
|
|
182
|
-
...v.props(a)
|
|
183
|
-
}) : t();
|
|
184
|
-
} }),
|
|
185
|
-
/* @__PURE__ */ b(d, {}),
|
|
186
|
-
r && /* @__PURE__ */ b(p, { variant: "bottom" }),
|
|
187
|
-
/* @__PURE__ */ b(u, {
|
|
188
|
-
asChild: !0,
|
|
189
|
-
children: /* @__PURE__ */ b(n, {
|
|
190
|
-
variant: "ghost",
|
|
191
|
-
size: "icon",
|
|
192
|
-
"aria-label": `Delete ${s.name}`,
|
|
193
|
-
sx: o,
|
|
194
|
-
children: /* @__PURE__ */ b(e.Trash2, { size: i === "horizontal" ? 15 : 16 })
|
|
195
|
-
})
|
|
196
|
-
})
|
|
197
|
-
]
|
|
198
|
-
}, `${s.name}-${c}`))
|
|
199
|
-
});
|
|
200
|
-
}
|
|
201
|
-
function M(t) {
|
|
202
|
-
let n = S(10), { clearBtnRowSx: r, clearBtnSx: i } = t;
|
|
203
|
-
if (g(N) === 0) return null;
|
|
204
|
-
let a;
|
|
205
|
-
n[0] === r ? a = n[1] : (a = v.props(r), n[0] = r, n[1] = a);
|
|
206
|
-
let o;
|
|
207
|
-
n[2] === i ? o = n[3] : (o = v.props(i), n[2] = i, n[3] = o);
|
|
208
|
-
let c;
|
|
209
|
-
n[4] === Symbol.for("react.memo_cache_sentinel") ? (c = /* @__PURE__ */ b(e.Trash2, { size: 13 }), n[4] = c) : c = n[4];
|
|
210
|
-
let l;
|
|
211
|
-
n[5] === o ? l = n[6] : (l = /* @__PURE__ */ b(s, {
|
|
212
|
-
asChild: !0,
|
|
213
|
-
children: /* @__PURE__ */ x("button", {
|
|
214
|
-
type: "button",
|
|
215
|
-
...o,
|
|
216
|
-
children: [c, "Clear all"]
|
|
217
|
-
})
|
|
218
|
-
}), n[5] = o, n[6] = l);
|
|
219
|
-
let u;
|
|
220
|
-
return n[7] !== a || n[8] !== l ? (u = /* @__PURE__ */ b("div", {
|
|
221
|
-
...a,
|
|
222
|
-
children: l
|
|
223
|
-
}), n[7] = a, n[8] = l, n[9] = u) : u = n[9], u;
|
|
224
|
-
}
|
|
225
|
-
function N(e) {
|
|
226
|
-
return e.files.size;
|
|
227
|
-
}
|
|
228
|
-
function P(n) {
|
|
229
|
-
let r = S(8), { showProgress: i, maxSize: o } = n, s = g(I), u;
|
|
230
|
-
r[0] !== s || r[1] !== i ? (u = /* @__PURE__ */ b(c, {
|
|
231
|
-
sx: C.avatarDropzone,
|
|
232
|
-
children: s ? /* @__PURE__ */ x(l, {
|
|
233
|
-
value: s,
|
|
234
|
-
sx: C.avatarItem,
|
|
235
|
-
children: [
|
|
236
|
-
/* @__PURE__ */ b(f, {
|
|
237
|
-
sx: C.avatarPreview,
|
|
238
|
-
render: F
|
|
239
|
-
}),
|
|
240
|
-
/* @__PURE__ */ x("div", {
|
|
241
|
-
className: "x10l6tqk x10a8y8t x78zum5 xdt5ytf x6s0dn4 xl56j7k xvh977a xa44r0r x1f7m26b xg01cxk x19991ni x13dflua x1o7uuvo",
|
|
242
|
-
children: [/* @__PURE__ */ b(e.Camera, { size: 22 }), /* @__PURE__ */ b(t, {
|
|
243
|
-
size: "xs",
|
|
244
|
-
weight: "semibold",
|
|
245
|
-
sx: C.whiteText,
|
|
246
|
-
children: "Change photo"
|
|
247
|
-
})]
|
|
248
|
-
}),
|
|
249
|
-
i && /* @__PURE__ */ b(p, {
|
|
250
|
-
variant: "fill",
|
|
251
|
-
style: { opacity: .5 }
|
|
252
|
-
})
|
|
253
|
-
]
|
|
254
|
-
}) : /* @__PURE__ */ x("div", {
|
|
255
|
-
className: "x78zum5 xh8yej3 x5yr21d xdt5ytf x6s0dn4 xl56j7k xvh977a x1jgryid xw3nh4a x15406qy x13dflua",
|
|
256
|
-
children: [/* @__PURE__ */ b(e.Camera, { size: 24 }), /* @__PURE__ */ b(t, {
|
|
257
|
-
size: "xs",
|
|
258
|
-
weight: "medium",
|
|
259
|
-
children: "Upload"
|
|
260
|
-
})]
|
|
261
|
-
})
|
|
262
|
-
}), r[0] = s, r[1] = i, r[2] = u) : u = r[2];
|
|
263
|
-
let d;
|
|
264
|
-
r[3] === o ? d = r[4] : (d = o ? /* @__PURE__ */ x(t, {
|
|
265
|
-
size: "xs",
|
|
266
|
-
type: "muted",
|
|
267
|
-
children: ["Max ", a(o)]
|
|
268
|
-
}) : null, r[3] = o, r[4] = d);
|
|
269
|
-
let m;
|
|
270
|
-
return r[5] !== u || r[6] !== d ? (m = /* @__PURE__ */ x("div", {
|
|
271
|
-
className: "x78zum5 xdt5ytf x6s0dn4 x13z6uf9",
|
|
272
|
-
children: [u, d]
|
|
273
|
-
}), r[5] = u, r[6] = d, r[7] = m) : m = r[7], m;
|
|
274
|
-
}
|
|
275
|
-
function F(n) {
|
|
276
|
-
let r = n.uploadedUrl || (n.type.startsWith("image/") && typeof URL < "u" && URL.createObjectURL ? URL.createObjectURL(n) : null);
|
|
277
|
-
return r ? /* @__PURE__ */ b("img", {
|
|
278
|
-
src: r,
|
|
279
|
-
alt: "Avatar",
|
|
280
|
-
className: "xh8yej3 x5yr21d xl1xv1r"
|
|
281
|
-
}) : /* @__PURE__ */ x("div", {
|
|
282
|
-
className: "x78zum5 xh8yej3 x5yr21d xdt5ytf x6s0dn4 xl56j7k xvh977a x1jgryid xw3nh4a x15406qy x13dflua",
|
|
283
|
-
children: [/* @__PURE__ */ b(e.Camera, { size: 24 }), /* @__PURE__ */ b(t, {
|
|
284
|
-
size: "xs",
|
|
285
|
-
weight: "medium",
|
|
286
|
-
children: "Upload"
|
|
287
|
-
})]
|
|
288
|
-
});
|
|
289
|
-
}
|
|
290
|
-
function I(e) {
|
|
291
|
-
let t = e.files.values().next();
|
|
292
|
-
return t.done ? null : t.value.file;
|
|
293
|
-
}
|
|
294
|
-
function L({ value: s, onChange: l, autoUpload: u = !1, uploadFile: d, apiConfig: f, uploadThingConfig: p, uploadHandler: m, maxFiles: g = 1, maxSize: v = 5242880, accept: S = "image/*", multiple: T, disabled: E, className: D, sx: O, variant: k = "default", dropzoneTitle: N, dropzoneSubtitle: F, icon: I, showFileList: L = !0, showProgress: R = !0, showPreview: z = !0, showClear: B = !1 }) {
|
|
295
|
-
let V = _.useRef(/* @__PURE__ */ new Map()), H = _.useMemo(() => (Array.isArray(s) ? s : s ? [s] : []).map((e) => {
|
|
296
|
-
if (e instanceof File) return e;
|
|
297
|
-
if (typeof e == "string") {
|
|
298
|
-
let t = V.current.get(e);
|
|
299
|
-
return t || (t = A(e, S), V.current.set(e, t)), t;
|
|
300
|
-
}
|
|
301
|
-
return e;
|
|
302
|
-
}), [s, S]), U = _.useMemo(() => m || (p ? i(p) : f ? r(f) : null), [
|
|
303
|
-
m,
|
|
304
|
-
p,
|
|
305
|
-
f
|
|
306
|
-
]), W = async (e, t) => {
|
|
307
|
-
if (!u) e.forEach((e) => t.onSuccess(e));
|
|
308
|
-
else if (U) try {
|
|
309
|
-
(await U(e, {
|
|
310
|
-
onProgress: t.onProgress,
|
|
311
|
-
onSuccess: (e, n) => {
|
|
312
|
-
e.uploadedUrl = n.url, t.onSuccess(e);
|
|
313
|
-
},
|
|
314
|
-
onError: (e, n) => {
|
|
315
|
-
t.onError(e, n);
|
|
316
|
-
}
|
|
317
|
-
})).forEach((t, n) => {
|
|
318
|
-
let r = e[n];
|
|
319
|
-
r && (r.uploadedUrl = t.url);
|
|
320
|
-
});
|
|
321
|
-
} catch {}
|
|
322
|
-
else d ? await Promise.all(e.map(async (e) => {
|
|
323
|
-
let n = e;
|
|
324
|
-
if (n.isUploadedUrl) t.onSuccess(e);
|
|
325
|
-
else try {
|
|
326
|
-
t.onProgress(e, 20), n.uploadedUrl = await d(e), t.onProgress(e, 100), t.onSuccess(e);
|
|
327
|
-
} catch (n) {
|
|
328
|
-
t.onError(e, n instanceof Error ? n : /* @__PURE__ */ Error("Upload failed"));
|
|
329
|
-
}
|
|
330
|
-
})) : (console.warn("FileUpload: autoUpload is true but no upload handler or config was provided."), e.forEach((e) => t.onError(e, /* @__PURE__ */ Error("Missing upload configuration"))));
|
|
331
|
-
}, G = `${g > 1 ? `Up to ${g} files` : "1 file max"} ${v ? `(Max ${a(v)})` : ""}`;
|
|
332
|
-
return /* @__PURE__ */ x(o, {
|
|
333
|
-
value: H,
|
|
334
|
-
maxFiles: k === "avatar" ? 1 : g,
|
|
335
|
-
maxSize: v,
|
|
336
|
-
accept: S,
|
|
337
|
-
multiple: k === "avatar" ? !1 : T ?? g > 1,
|
|
338
|
-
disabled: E,
|
|
339
|
-
onUpload: W,
|
|
340
|
-
className: D,
|
|
341
|
-
sx: O,
|
|
342
|
-
children: [/* @__PURE__ */ b(w, {
|
|
343
|
-
onChange: l,
|
|
344
|
-
autoUpload: !!u,
|
|
345
|
-
maxFiles: k === "avatar" ? 1 : g
|
|
346
|
-
}), k === "avatar" ? /* @__PURE__ */ b(P, {
|
|
347
|
-
showProgress: R,
|
|
348
|
-
maxSize: v
|
|
349
|
-
}) : k === "compact" ? /* @__PURE__ */ x(y, { children: [
|
|
350
|
-
/* @__PURE__ */ x(c, {
|
|
351
|
-
sx: C.compactDropzone,
|
|
352
|
-
children: [
|
|
353
|
-
/* @__PURE__ */ b("div", {
|
|
354
|
-
className: "x78zum5 x6s0dn4 xl56j7k xs5h3dt xettwda x7xypw4 xmkeg23 x1y0btm7 xb30jbz x1rexohn xw3nh4a x2lah0s",
|
|
355
|
-
children: I || /* @__PURE__ */ b(e.CloudUpload, { size: 18 })
|
|
356
|
-
}),
|
|
357
|
-
/* @__PURE__ */ x("div", {
|
|
358
|
-
className: "x78zum5 xdt5ytf x98rzlu xeuugli",
|
|
359
|
-
children: [/* @__PURE__ */ b(t, {
|
|
360
|
-
size: "sm",
|
|
361
|
-
weight: "medium",
|
|
362
|
-
children: N || "Choose or drop files to upload"
|
|
363
|
-
}), /* @__PURE__ */ b(t, {
|
|
364
|
-
size: "xs",
|
|
365
|
-
type: "muted",
|
|
366
|
-
children: F || G
|
|
367
|
-
})]
|
|
368
|
-
}),
|
|
369
|
-
/* @__PURE__ */ b(h, {
|
|
370
|
-
asChild: !0,
|
|
371
|
-
children: /* @__PURE__ */ b(n, {
|
|
372
|
-
variant: "outline",
|
|
373
|
-
size: "sm",
|
|
374
|
-
disabled: E,
|
|
375
|
-
children: "Browse"
|
|
376
|
-
})
|
|
377
|
-
})
|
|
378
|
-
]
|
|
379
|
-
}),
|
|
380
|
-
B && /* @__PURE__ */ b(M, {
|
|
381
|
-
clearBtnRowSx: C.clearBtnRow,
|
|
382
|
-
clearBtnSx: C.clearBtn
|
|
383
|
-
}),
|
|
384
|
-
L && /* @__PURE__ */ b(j, {
|
|
385
|
-
showPreview: z,
|
|
386
|
-
showProgress: R,
|
|
387
|
-
orientation: "horizontal",
|
|
388
|
-
avatarImgSx: C.avatarImg,
|
|
389
|
-
deleteBtnSx: C.deleteBtn
|
|
390
|
-
})
|
|
391
|
-
] }) : /* @__PURE__ */ x(y, { children: [
|
|
392
|
-
/* @__PURE__ */ x(c, { children: [
|
|
393
|
-
/* @__PURE__ */ b("div", {
|
|
394
|
-
className: "x78zum5 x6s0dn4 xl56j7k xvm51jw xwaiz5r x7xypw4 xmkeg23 x1y0btm7 xb30jbz x1rexohn xw3nh4a x1hpqcdg",
|
|
395
|
-
children: I || /* @__PURE__ */ b(e.CloudUpload, { size: 20 })
|
|
396
|
-
}),
|
|
397
|
-
/* @__PURE__ */ b(t, {
|
|
398
|
-
size: "md",
|
|
399
|
-
weight: "medium",
|
|
400
|
-
children: N || "Drag & drop files here, or click to select"
|
|
401
|
-
}),
|
|
402
|
-
/* @__PURE__ */ b(t, {
|
|
403
|
-
size: "xs",
|
|
404
|
-
type: "muted",
|
|
405
|
-
children: F || G
|
|
406
|
-
})
|
|
407
|
-
] }),
|
|
408
|
-
B && /* @__PURE__ */ b(M, {
|
|
409
|
-
clearBtnRowSx: C.clearBtnRow,
|
|
410
|
-
clearBtnSx: C.clearBtn
|
|
411
|
-
}),
|
|
412
|
-
L && /* @__PURE__ */ b(j, {
|
|
413
|
-
showPreview: z,
|
|
414
|
-
showProgress: R,
|
|
415
|
-
orientation: "vertical",
|
|
416
|
-
avatarImgSx: C.avatarImg,
|
|
417
|
-
deleteBtnSx: C.deleteBtn
|
|
418
|
-
})
|
|
419
|
-
] })]
|
|
420
|
-
});
|
|
421
|
-
}
|
|
422
|
-
export { L as FileUpload };
|
package/dist/index246.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("./index179.cjs"),t=require("./index245.cjs");let n=require("react/jsx-runtime"),r=require("react/compiler-runtime");var i=i=>{let a=(0,r.c)(5),o;a[0]===i?o=a[1]:(o=e=>{let{onChange:r,value:a,disabled:o}=e;return(0,n.jsx)(t.FileUpload,{...i,value:a,onChange:r,disabled:o||i.disabled,className:i.className,sx:i.sx})},a[0]=i,a[1]=o);let s;return a[2]!==i||a[3]!==o?(s=(0,n.jsx)(e.FormBase,{...i,children:o}),a[2]=i,a[3]=o,a[4]=s):s=a[4],s},a=i;exports.FileDropzone=t.FileUpload,exports.FormFileUpload=i,exports.default=i,exports.FormFileUploader=a;
|
package/dist/index246.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { FormBase as e } from "./index179.js";
|
|
2
|
-
import { FileUpload as t } from "./index245.js";
|
|
3
|
-
import { jsx as n } from "react/jsx-runtime";
|
|
4
|
-
import { c as r } from "react/compiler-runtime";
|
|
5
|
-
// src/Form/FormFileUpload/index.tsx
|
|
6
|
-
var i = (i) => {
|
|
7
|
-
let a = r(5), o;
|
|
8
|
-
a[0] === i ? o = a[1] : (o = (e) => {
|
|
9
|
-
let { onChange: r, value: a, disabled: o } = e;
|
|
10
|
-
return /* @__PURE__ */ n(t, {
|
|
11
|
-
...i,
|
|
12
|
-
value: a,
|
|
13
|
-
onChange: r,
|
|
14
|
-
disabled: o || i.disabled,
|
|
15
|
-
className: i.className,
|
|
16
|
-
sx: i.sx
|
|
17
|
-
});
|
|
18
|
-
}, a[0] = i, a[1] = o);
|
|
19
|
-
let s;
|
|
20
|
-
return a[2] !== i || a[3] !== o ? (s = /* @__PURE__ */ n(e, {
|
|
21
|
-
...i,
|
|
22
|
-
children: o
|
|
23
|
-
}), a[2] = i, a[3] = o, a[4] = s) : s = a[4], s;
|
|
24
|
-
}, a = i;
|
|
25
|
-
export { t as FileDropzone, i as FormFileUpload, i as default, a as FormFileUploader };
|
package/dist/index247.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("./index2.cjs"),t=require("./index13.cjs"),n=require("./index21.cjs"),r=require("./index25.cjs"),i=require("./index107.cjs");let a=require("react");a=e.__toESM(a,1);let o=require("@stylexjs/stylex");o=e.__toESM(o,1);let s=require("react/jsx-runtime");function c(e){return e.type===`separator`||e.type===`divider`}function l(e){return e.type===`group`||e.type===`label`}function u(e){return e.type===`checkbox`}var d={content:{kWkggS:`xa4jey1`,kMwMTN:`x5e7vtp`,kaIpWk:`xsda711`,kMzoRj:`xmkeg23`,ksu8eU:`x1y0btm7`,kVAM5u:`xb30jbz`,kmVPX3:`x1a6jtrz`,kGVxlE:`xoanrfg`,kI3sdo:`x1a2a7pz`,$$css:!0},sizeSm:{k7Eaqz:`xzhy1st`,$$css:!0},sizeMd:{k7Eaqz:`xuu4ctt`,$$css:!0},sizeLg:{k7Eaqz:`x1j0rjk9`,$$css:!0},itemSizeSm:{kg3NbH:`xvg6gpc`,k8WAf4:`x154ic1u`,kOIVth:`x1m5ztt4`,$$css:!0},itemSizeMd:{kg3NbH:`x7ai2fz`,k8WAf4:`x1yroua3`,kOIVth:`xdkmor2`,$$css:!0},itemSizeLg:{kg3NbH:`xco5wwd`,k8WAf4:`x1xsmjz1`,kOIVth:`xdkmor2`,$$css:!0},labelFlex:{kUk6DE:`x12lumcd`,k7Eaqz:`xeuugli`,$$css:!0}},f={bottomLeft:{side:`bottom`,align:`start`},bottom:{side:`bottom`,align:`center`},bottomRight:{side:`bottom`,align:`end`},topLeft:{side:`top`,align:`start`},top:{side:`top`,align:`center`},topRight:{side:`top`,align:`end`}};function p(e){switch(e){case`xxs`:case`xs`:case`sm`:return`xs`;case`lg`:case`xl`:case`xxl`:return`md`;default:return`sm`}}function m({items:e,menu:o,size:m=`md`,trigger:h=`click`,align:g,side:_,sideOffset:v=4,placement:y,disabled:b=!1,open:x,onOpenChange:S,children:C,sx:w,className:T,container:E,width:D}){let[O,k]=a.default.useState(!1),A=x!==void 0,j=A?x:O,M=e=>{b||(A||k(e),S?.(e))},N=y?f[y]:void 0,P=_??N?.side??`bottom`,F=g??N?.align??`start`,I=o?.items??e??[],L=p(m),R=m===`sm`||m===`xs`||m===`xxs`?d.sizeSm:m===`lg`||m===`xl`||m===`xxl`?d.sizeLg:d.sizeMd,z=m===`sm`||m===`xs`||m===`xxs`?d.itemSizeSm:m===`lg`||m===`xl`||m===`xxl`?d.itemSizeLg:d.itemSizeMd,B=(e,n)=>{let a=e.key??`item-${n}`;return c(e)?(0,s.jsx)(i.DropdownMenuSeparator,{},a):l(e)?(0,s.jsxs)(i.DropdownMenuGroup,{children:[e.label&&(0,s.jsx)(i.DropdownMenuLabel,{sx:e.sx,children:typeof e.label==`string`?(0,s.jsx)(t.Text,{size:`xs`,type:`secondary`,weight:`medium`,children:e.label}):e.label}),e.children?.map(B)]},a):u(e)?(0,s.jsxs)(i.DropdownMenuCheckboxItem,{checked:e.checked,disabled:e.disabled,onCheckedChange:e.onCheckedChange,sx:[z,e.sx],children:[e.icon&&(0,s.jsx)(`span`,{className:`x3nfvp2 x6s0dn4 xl56j7k x2lah0s x1heor9g`,children:e.icon}),(0,s.jsx)(`span`,{className:`x12lumcd xeuugli`,children:typeof e.label==`string`?(0,s.jsx)(t.Text,{size:L,weight:`normal`,children:e.label}):e.label})]},a):e.children&&e.children.length>0?(0,s.jsxs)(i.DropdownMenuSub,{children:[(0,s.jsxs)(i.DropdownMenuSubTrigger,{disabled:e.disabled,sx:[z,e.sx],children:[e.icon&&(0,s.jsx)(`span`,{className:`x3nfvp2 x6s0dn4 xl56j7k x2lah0s x1heor9g`,children:e.icon}),(0,s.jsx)(`span`,{className:`x12lumcd xeuugli`,children:typeof e.label==`string`?(0,s.jsx)(t.Text,{size:L,weight:`normal`,children:e.label}):e.label})]}),(0,s.jsx)(i.DropdownMenuSubContent,{sx:[d.content,R],children:e.children.map(B)})]},a):(0,s.jsxs)(i.DropdownMenuItem,{disabled:e.disabled,variant:e.danger?`destructive`:void 0,sx:[z,e.sx],onSelect:t=>{e.onClick?.({key:a,domEvent:t}),o?.onClick?.({key:a})},children:[(0,s.jsxs)(r.Flex,{align:`center`,gap:m===`sm`?`xs`:`sm`,sx:d.labelFlex,children:[e.icon&&(0,s.jsx)(`span`,{className:`x3nfvp2 x6s0dn4 xl56j7k x2lah0s x1heor9g`,children:e.icon}),(0,s.jsx)(`span`,{className:`x12lumcd xeuugli`,children:typeof e.label==`string`?(0,s.jsx)(t.Text,{size:L,weight:`normal`,type:e.danger?`danger`:`default`,children:e.label}):e.label})]}),e.shortcut&&(0,s.jsx)(i.DropdownMenuShortcut,{children:e.shortcut})]},a)},V=h===`hover`&&!b?{onMouseEnter:()=>M(!0),onMouseLeave:()=>M(!1)}:{},H=D?n.resolveWidth(D):void 0,U=H?{width:H,minWidth:H}:void 0;return(0,s.jsxs)(i.DropdownMenu,{open:j,onOpenChange:M,children:[(0,s.jsx)(i.DropdownMenuTrigger,{asChild:!0,disabled:b,children:a.default.cloneElement(C,V)}),I.length>0&&(0,s.jsx)(i.DropdownMenuContent,{align:F,side:P,sideOffset:v,sx:[d.content,R,w],className:T,container:E,style:U,...h===`hover`?V:{},children:I.map(B)})]})}var h=m;exports.Dropdown=m,exports.PopupMenu=h;
|