@vlrc-fe/components 2.8.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 +16 -0
- package/README.md +127 -209
- package/bin/vlrc.mjs +15 -0
- package/dist/ConfirmModal.cjs +1 -0
- package/dist/ConfirmModal.js +257 -0
- package/dist/DataTable/DataTable.cjs +1 -0
- package/dist/DataTable/DataTable.js +159 -0
- package/dist/DataTable/components/DataTableColumnHeader.cjs +1 -0
- package/dist/DataTable/components/DataTableColumnHeader.js +114 -0
- package/dist/DataTable/components/DataTableFacetedFilter.cjs +1 -0
- package/dist/DataTable/components/DataTableFacetedFilter.js +226 -0
- package/dist/DataTable/components/DataTablePagination.cjs +1 -0
- package/dist/DataTable/components/DataTablePagination.js +101 -0
- package/dist/DataTable/components/DataTableRowActions.cjs +1 -0
- package/dist/DataTable/components/DataTableRowActions.js +71 -0
- package/dist/DataTable/components/DataTableTable.cjs +1 -0
- package/dist/DataTable/components/DataTableTable.js +46 -0
- package/dist/DataTable/components/DataTableToolbar.cjs +1 -0
- package/dist/DataTable/components/DataTableToolbar.js +48 -0
- package/dist/DataTable/components/DataTableViewOptions.cjs +1 -0
- package/dist/DataTable/components/DataTableViewOptions.js +50 -0
- package/dist/DataTable/render/createColumns.cjs +1 -0
- package/dist/DataTable/render/createColumns.js +59 -0
- package/dist/DataTable/render/defaults.cjs +1 -0
- package/dist/Dropdown/Dropdown.cjs +1 -0
- package/dist/Dropdown/Dropdown.js +221 -0
- package/dist/Form/Form.cjs +1 -0
- package/dist/Form/Form.js +221 -0
- package/dist/Form/FormDatePicker/FormDatePicker.cjs +1 -0
- package/dist/Form/FormDatePicker/FormDatePicker.js +79 -0
- package/dist/Form/FormDatePicker/MonthPickerPanel.cjs +1 -0
- package/dist/Form/FormDatePicker/MonthPickerPanel.js +120 -0
- package/dist/Form/FormDatePicker/RangeDatePicker.cjs +1 -0
- package/dist/Form/FormDatePicker/RangeDatePicker.js +123 -0
- package/dist/Form/FormDatePicker/SingleDatePicker.cjs +1 -0
- package/dist/Form/FormDatePicker/SingleDatePicker.js +157 -0
- package/dist/Form/FormDatePicker/TimeInput.cjs +1 -0
- package/dist/Form/FormDatePicker/TimeInput.js +86 -0
- package/dist/Form/FormDatePicker/TimePicker.cjs +1 -0
- package/dist/Form/FormDatePicker/TimePicker.js +89 -0
- package/dist/Form/FormDatePicker/YearPickerPanel.cjs +1 -0
- package/dist/Form/FormDatePicker/YearPickerPanel.js +100 -0
- package/dist/Form/FormDatePicker/useFormDatePicker.cjs +1 -0
- package/dist/Form/FormDatePicker/useFormDatePicker.js +40 -0
- package/dist/Form/FormFileUpload/FileUpload.cjs +1 -0
- package/dist/Form/FormFileUpload/FileUpload.js +422 -0
- package/dist/Form/FormFileUpload/index.cjs +1 -0
- package/dist/Form/FormFileUpload/index.js +30 -0
- package/dist/Form/FormMultiSelect/FormMultiSelect.cjs +1 -0
- package/dist/Form/FormMultiSelect/FormMultiSelect.js +25 -0
- package/dist/Form/FormNumberInput/FormNumberInput.cjs +1 -0
- package/dist/Form/FormNumberInput/FormNumberInput.js +67 -0
- package/dist/Form/FormNumberInput/StepperControls.cjs +1 -0
- package/dist/Form/FormNumberInput/StepperControls.js +67 -0
- package/dist/Form/FormNumberInput/useFormNumberInput.cjs +1 -0
- package/dist/Form/FormNumberInput/useFormNumberInput.js +43 -0
- package/dist/Form/FormRadioGroup/FormRadio.cjs +1 -0
- package/dist/Form/FormRadioGroup/FormRadio.js +63 -0
- package/dist/Form/FormSelect/FormSelect.cjs +1 -0
- package/dist/Form/FormSelect/FormSelect.js +30 -0
- package/dist/Modal.cjs +1 -0
- package/dist/Modal.js +120 -0
- package/dist/MultiSelect/MultiSelect.cjs +1 -0
- package/dist/MultiSelect/MultiSelect.js +199 -0
- package/dist/MultiSelect/renderers.cjs +1 -0
- package/dist/MultiSelect/renderers.js +367 -0
- package/dist/MultiSelect/useMultiSelect.cjs +1 -0
- package/dist/MultiSelect/useMultiSelect.js +163 -0
- package/dist/Select/BaseSelect.cjs +1 -0
- package/dist/Select/BaseSelect.js +222 -0
- package/dist/Select/MultiSelectTags.cjs +1 -0
- package/dist/Select/MultiSelectTags.js +101 -0
- package/dist/Typography/Blockquote.cjs +1 -0
- package/dist/Typography/Blockquote.js +75 -0
- package/dist/Typography/Code.cjs +1 -0
- package/dist/Typography/Code.js +123 -0
- package/dist/Typography/Link.cjs +1 -0
- package/dist/Typography/Link.js +128 -0
- package/dist/Typography/Paragraph.cjs +1 -0
- package/dist/Typography/Paragraph.js +212 -0
- package/dist/Typography/Text.cjs +1 -0
- package/dist/Typography/Text.js +205 -0
- package/dist/Typography/Title.cjs +1 -0
- package/dist/Typography/Title.d.ts.map +1 -1
- package/dist/Typography/Title.js +199 -0
- package/dist/Typography/Typography.cjs +1 -0
- package/dist/Typography/Typography.js +16 -0
- package/dist/Typography/index.d.ts +1 -0
- package/dist/Typography/index.d.ts.map +1 -1
- package/dist/Typography/index.js +13 -0
- package/dist/Typography/tooltip.cjs +1 -0
- package/dist/Typography/tooltip.js +18 -0
- package/dist/Typography/utils.cjs +1 -0
- package/dist/Typography/utils.js +24 -0
- package/dist/Typography/weightStyles.cjs +1 -0
- package/dist/assets/stylex.css +333 -274
- package/dist/astryx.cjs +1 -0
- package/dist/astryx.d.ts +3 -0
- package/dist/astryx.d.ts.map +1 -0
- package/dist/astryx.js +2 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +118 -111
- package/dist/layout/Box.cjs +1 -0
- package/dist/layout/Box.d.ts +19 -0
- package/dist/layout/Box.d.ts.map +1 -0
- package/dist/layout/Box.js +112 -0
- package/dist/layout/Center.cjs +1 -0
- package/dist/layout/Center.d.ts +9 -0
- package/dist/layout/Center.d.ts.map +1 -0
- package/dist/layout/Center.js +22 -0
- package/dist/layout/Container.cjs +1 -0
- package/dist/layout/Container.d.ts +17 -0
- package/dist/layout/Container.d.ts.map +1 -0
- package/dist/layout/Container.js +75 -0
- package/dist/layout/Stack.cjs +1 -0
- package/dist/layout/Stack.d.ts +26 -0
- package/dist/layout/Stack.d.ts.map +1 -0
- package/dist/layout/Stack.js +89 -0
- package/dist/layout/index.d.ts +6 -1
- package/dist/layout/index.d.ts.map +1 -1
- package/dist/layout/index.js +9 -0
- package/dist/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.cjs +1 -0
- package/dist/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.js +336 -0
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs +1 -0
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +321 -0
- package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.cjs +1 -0
- package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +211 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-alert-dialog@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_023ac3f94ac95798b92bc4b7f556cbda/node_modules/@radix-ui/react-alert-dialog/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-alert-dialog@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_023ac3f94ac95798b92bc4b7f556cbda/node_modules/@radix-ui/react-alert-dialog/dist/index.js +87 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-aspect-ratio@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_3fe40fa8e2833eaf8803b46e02e4c30f/node_modules/@radix-ui/react-aspect-ratio/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-aspect-ratio@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_3fe40fa8e2833eaf8803b46e02e4c30f/node_modules/@radix-ui/react-aspect-ratio/dist/index.js +31 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.2.6_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_c3568bdf5c60d38014d320037c857c95/node_modules/@radix-ui/react-avatar/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-avatar@1.2.6_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_c3568bdf5c60d38014d320037c857c95/node_modules/@radix-ui/react-avatar/dist/index.js +87 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.20_@types_react-dom@19.3.0_@types_react@19.3.0__@types__75f9b408b6aa016f78c6c390e6f84227/node_modules/@radix-ui/react-collapsible/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-collapsible@1.1.20_@types_react-dom@19.3.0_@types_react@19.3.0__@types__75f9b408b6aa016f78c6c390e6f84227/node_modules/@radix-ui/react-collapsible/dist/index.js +94 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_5961dc5beb3cb19a205dfdbd3304cbe5/node_modules/@radix-ui/react-collection/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-collection@1.1.15_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_5961dc5beb3cb19a205dfdbd3304cbe5/node_modules/@radix-ui/react-collection/dist/index.js +409 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-context-menu@2.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types__30d9c1a1570dd32a7a328fd93feebae9/node_modules/@radix-ui/react-context-menu/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-context-menu@2.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types__30d9c1a1570dd32a7a328fd93feebae9/node_modules/@radix-ui/react-context-menu/dist/index.js +198 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-context@1.2.2_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-context/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-direction@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-direction/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-direction@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-direction/dist/index.js +14 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@_221317ca07dfdaa6590fc49e548d4242/node_modules/@radix-ui/react-dismissable-layer/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-dismissable-layer@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@_221317ca07dfdaa6590fc49e548d4242/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +170 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-focus-guards/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.16_@types_react-dom@19.3.0_@types_react@19.3.0__@types__3593711fa410ee31279d746c57990974/node_modules/@radix-ui/react-focus-scope/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-focus-scope@1.1.16_@types_react-dom@19.3.0_@types_react@19.3.0__@types__3593711fa410ee31279d746c57990974/node_modules/@radix-ui/react-focus-scope/dist/index.js +158 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-hover-card@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_a8ac333b78a7741970303e37358b886d/node_modules/@radix-ui/react-hover-card/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-hover-card@1.1.23_@types_react-dom@19.3.0_@types_react@19.3.0__@types_r_a8ac333b78a7741970303e37358b886d/node_modules/@radix-ui/react-hover-card/dist/index.js +149 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-id/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-id@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-id/dist/index.js +15 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-menu@2.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_bd1746795e703f342b2f4982589d4efb/node_modules/@radix-ui/react-menu/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-menu@2.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_bd1746795e703f342b2f4982589d4efb/node_modules/@radix-ui/react-menu/dist/index.js +543 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-menubar@1.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_reac_b8d55f7c7c6b477421e3cc1ba6fb334b/node_modules/@radix-ui/react-menubar/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-menubar@1.1.24_@types_react-dom@19.3.0_@types_react@19.3.0__@types_reac_b8d55f7c7c6b477421e3cc1ba6fb334b/node_modules/@radix-ui/react-menubar/dist/index.js +275 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-navigation-menu@1.2.22_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_fde94e4aef42debd49119dde2ad3b250/node_modules/@radix-ui/react-navigation-menu/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-navigation-menu@1.2.22_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_fde94e4aef42debd49119dde2ad3b250/node_modules/@radix-ui/react-navigation-menu/dist/index.js +537 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_ca4fb1e7b10e21399fbf7b38c61d930c/node_modules/@radix-ui/react-popper/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-popper@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_ca4fb1e7b10e21399fbf7b38c61d930c/node_modules/@radix-ui/react-popper/dist/index.js +163 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.17_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_dcf9598b366f9d4cb930092169158fb6/node_modules/@radix-ui/react-portal/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-portal@1.1.17_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_dcf9598b366f9d4cb930092169158fb6/node_modules/@radix-ui/react-portal/dist/index.js +20 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_rea_d7b4951725c0f0b9fd732151cb937913/node_modules/@radix-ui/react-presence/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-presence@1.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_rea_d7b4951725c0f0b9fd732151cb937913/node_modules/@radix-ui/react-presence/dist/index.js +97 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_re_b879c40dbdb8ea08e1db9842f10f20a8/node_modules/@radix-ui/react-primitive/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-roving-focus@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_43a41e6ed06e4781ce7b1fb0f0076623/node_modules/@radix-ui/react-roving-focus/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-roving-focus@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_43a41e6ed06e4781ce7b1fb0f0076623/node_modules/@radix-ui/react-roving-focus/dist/index.js +168 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-slider@1.4.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_0a49b18268a9d1d70ad7e785633a1513/node_modules/@radix-ui/react-slider/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-slider@1.4.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_0a49b18268a9d1d70ad7e785633a1513/node_modules/@radix-ui/react-slider/dist/index.js +431 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-switch@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_f8723a7bd506c0f648804ec2dc0f18e3/node_modules/@radix-ui/react-switch/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-switch@1.3.7_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@_f8723a7bd506c0f648804ec2dc0f18e3/node_modules/@radix-ui/react-switch/dist/index.js +155 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-tabs@1.1.21_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_2c04ca1fb5fd914a25ee24a303bd8469/node_modules/@radix-ui/react-tabs/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-tabs@1.1.21_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@1_2c04ca1fb5fd914a25ee24a303bd8469/node_modules/@radix-ui/react-tabs/dist/index.js +117 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-toggle-group@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_e645c0ca626436d86b14232bd158d09b/node_modules/@radix-ui/react-toggle-group/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-toggle-group@1.1.19_@types_react-dom@19.3.0_@types_react@19.3.0__@types_e645c0ca626436d86b14232bd158d09b/node_modules/@radix-ui/react-toggle-group/dist/index.js +122 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-toggle@1.1.18_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_f121473145ec675e8ab50657e8e97e06/node_modules/@radix-ui/react-toggle/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-toggle@1.1.18_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react_f121473145ec675e8ab50657e8e97e06/node_modules/@radix-ui/react-toggle/dist/index.js +30 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-controllable-state@1.2.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +82 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-effect-event@0.0.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-effect-event/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-effect-event@0.0.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-effect-event/dist/index.js +20 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.3_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-is-hydrated/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-layout-effect/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-previous@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-previous/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-size/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-use-size@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-size/dist/index.js +34 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.11_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_ef452cff5863a129db7ebc4b37ab07c3/node_modules/@radix-ui/react-visually-hidden/dist/index.cjs +1 -0
- package/dist/node_modules/.pnpm/@radix-ui_react-visually-hidden@1.2.11_@types_react-dom@19.3.0_@types_react@19.3.0__@ty_ef452cff5863a129db7ebc4b37ab07c3/node_modules/@radix-ui/react-visually-hidden/dist/index.js +29 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/formatters.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/formatters.js +388 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/lightFormatters.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/lightFormatters.js +42 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +7 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.js +7 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.js +6 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.js +10 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.js +58 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDayOfYear.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDayOfYear.js +9 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeek.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeek.js +10 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeekYear.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeekYear.js +13 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeek.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeek.js +10 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeekYear.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeekYear.js +14 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isValid.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isValid.js +7 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatLong.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatLong.js +31 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/localize.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/localize.js +201 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/match.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/match.js +123 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US.js +19 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfDay.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfDay.js +7 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeek.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeek.js +9 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeekYear.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeekYear.js +9 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.js +8 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeekYear.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeekYear.js +10 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfYear.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfYear.js +7 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/toDate.cjs +1 -0
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/toDate.js +6 -0
- package/dist/node_modules/.pnpm/embla-carousel-react@8.6.0_react@19.3.1/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.cjs +1 -0
- package/dist/node_modules/.pnpm/embla-carousel-react@8.6.0_react@19.3.1/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js +23 -0
- package/dist/node_modules/.pnpm/input-otp@1.4.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/input-otp/dist/index.cjs +20 -0
- package/dist/node_modules/.pnpm/react-hook-form@7.83.0_react@19.3.1/node_modules/react-hook-form/dist/index.esm.cjs +1 -0
- package/dist/node_modules/.pnpm/react-number-format@5.4.5_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-number-format/dist/react-number-format.es.cjs +9 -0
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/component.cjs +38 -0
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/component.js +69 -0
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/index.cjs +1 -0
- package/dist/node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/index.js +3 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/Combination.cjs +1 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/Combination.js +13 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.cjs +4 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/SideEffect.js +112 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/UI.cjs +1 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/UI.js +51 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/medium.cjs +1 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/medium.js +4 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/sidecar.cjs +1 -0
- package/dist/node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/sidecar.js +6 -0
- package/dist/node_modules/.pnpm/react-resizable-panels@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-resizable-panels/dist/react-resizable-panels.browser.esm.cjs +1 -0
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/component.cjs +1 -0
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/component.js +10 -0
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/hook.cjs +1 -0
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/hook.js +14 -0
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/index.cjs +1 -0
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/index.js +3 -0
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/singleton.cjs +1 -0
- package/dist/node_modules/.pnpm/react-style-singleton@2.2.3_@types_react@19.3.0_react@19.3.1/node_modules/react-style-singleton/dist/es2015/singleton.js +27 -0
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.cjs +1 -0
- package/dist/node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useMergeRef.js +25 -0
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/exports.cjs +1 -0
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/exports.js +15 -0
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/medium.cjs +1 -0
- package/dist/node_modules/.pnpm/use-sidecar@1.1.3_@types_react@19.3.0_react@19.3.1/node_modules/use-sidecar/dist/es2015/medium.js +68 -0
- package/dist/node_modules/.pnpm/vaul@1.1.2_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@19.3.0_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/vaul/dist/index.cjs +3 -0
- package/dist/richtext/index.d.ts +2 -0
- package/dist/richtext/index.d.ts.map +1 -0
- package/dist/theme/index.cjs +1 -0
- package/dist/theme/index.js +34 -0
- package/dist/theme/tokens.stylex.cjs +1 -0
- package/dist/theme/tokens.stylex.d.ts +175 -5
- package/dist/theme/tokens.stylex.d.ts.map +1 -1
- package/dist/theme/tokens.stylex.js +166 -0
- package/dist/theme/zIndex.cjs +1 -0
- package/dist/theme.css +52 -138
- package/dist/ui/accordion.cjs +1 -0
- package/dist/ui/accordion.js +286 -0
- package/dist/ui/action-bar.cjs +1 -0
- package/dist/ui/action-bar.js +161 -0
- package/dist/ui/alert-dialog.cjs +1 -0
- package/dist/ui/alert-dialog.js +234 -0
- package/dist/ui/alert.cjs +1 -0
- package/dist/ui/alert.js +97 -0
- package/dist/ui/aspect-ratio.cjs +1 -0
- package/dist/ui/aspect-ratio.js +15 -0
- package/dist/ui/avatar.cjs +1 -0
- package/dist/ui/avatar.js +224 -0
- package/dist/ui/badge-overflow.cjs +1 -0
- package/dist/ui/badge-overflow.js +57 -0
- package/dist/ui/badge.cjs +1 -0
- package/dist/ui/badge.d.ts +2 -0
- package/dist/ui/badge.d.ts.map +1 -1
- package/dist/ui/badge.js +146 -0
- package/dist/ui/breadcrumb.cjs +1 -0
- package/dist/ui/breadcrumb.js +273 -0
- package/dist/ui/button.cjs +1 -0
- package/dist/ui/button.d.ts +2 -0
- package/dist/ui/button.d.ts.map +1 -1
- package/dist/ui/button.js +372 -0
- package/dist/ui/calendar.cjs +1 -0
- package/dist/ui/calendar.js +506 -0
- package/dist/ui/card.cjs +1 -0
- package/dist/ui/card.js +211 -0
- package/dist/ui/carousel.cjs +1 -0
- package/dist/ui/carousel.js +208 -0
- package/dist/ui/checkbox.cjs +1 -0
- package/dist/ui/checkbox.js +157 -0
- package/dist/ui/circular-progress.cjs +1 -0
- package/dist/ui/circular-progress.js +124 -0
- package/dist/ui/collapsible.cjs +1 -0
- package/dist/ui/collapsible.js +33 -0
- package/dist/ui/command.cjs +1 -0
- package/dist/ui/command.js +277 -0
- package/dist/ui/compare-slider.cjs +1 -0
- package/dist/ui/compare-slider.js +134 -0
- package/dist/ui/context-menu.cjs +1 -0
- package/dist/ui/context-menu.js +330 -0
- package/dist/ui/copy-button.cjs +1 -0
- package/dist/ui/copy-button.d.ts.map +1 -1
- package/dist/ui/copy-button.js +80 -0
- package/dist/ui/dialog.cjs +1 -0
- package/dist/ui/dialog.js +212 -0
- package/dist/ui/drawer.cjs +1 -0
- package/dist/ui/drawer.js +222 -0
- package/dist/ui/dropdown-menu.cjs +1 -0
- package/dist/ui/dropdown-menu.js +319 -0
- package/dist/ui/editable.cjs +1 -0
- package/dist/ui/editable.js +339 -0
- package/dist/ui/empty.cjs +1 -0
- package/dist/ui/empty.js +134 -0
- package/dist/ui/field.cjs +1 -0
- package/dist/ui/field.d.ts +2 -0
- package/dist/ui/field.d.ts.map +1 -1
- package/dist/ui/field.js +316 -0
- package/dist/ui/file-upload-adapters.cjs +1 -0
- package/dist/ui/file-upload.cjs +1 -0
- package/dist/ui/file-upload.js +997 -0
- package/dist/ui/flex.cjs +1 -0
- package/dist/ui/flex.js +182 -0
- package/dist/ui/form.cjs +1 -0
- package/dist/ui/form.js +159 -0
- package/dist/ui/gauge.cjs +1 -0
- package/dist/ui/gauge.js +116 -0
- package/dist/ui/grid.cjs +1 -0
- package/dist/ui/grid.js +190 -0
- package/dist/ui/hover-card.cjs +1 -0
- package/dist/ui/hover-card.js +61 -0
- package/dist/ui/input-group.cjs +1 -0
- package/dist/ui/input-group.js +219 -0
- package/dist/ui/input-otp.cjs +1 -0
- package/dist/ui/input-otp.js +184 -0
- package/dist/ui/input.cjs +1 -0
- package/dist/ui/input.js +368 -0
- package/dist/ui/item.cjs +1 -0
- package/dist/ui/item.js +276 -0
- package/dist/ui/kbd.cjs +1 -0
- package/dist/ui/kbd.js +107 -0
- package/dist/ui/label.cjs +1 -0
- package/dist/ui/masonry.cjs +1 -0
- package/dist/ui/masonry.js +51 -0
- package/dist/ui/menubar.cjs +1 -0
- package/dist/ui/menubar.js +405 -0
- package/dist/ui/navigation-menu.cjs +1 -0
- package/dist/ui/navigation-menu.js +256 -0
- package/dist/ui/pagination.cjs +1 -0
- package/dist/ui/pagination.js +317 -0
- package/dist/ui/popover.cjs +1 -0
- package/dist/ui/popover.js +69 -0
- package/dist/ui/progress.cjs +1 -0
- package/dist/ui/progress.js +29 -0
- package/dist/ui/radio-group.cjs +1 -0
- package/dist/ui/radio-group.js +167 -0
- package/dist/ui/rating.cjs +1 -0
- package/dist/ui/rating.js +171 -0
- package/dist/ui/resizable.cjs +1 -0
- package/dist/ui/resizable.js +75 -0
- package/dist/ui/responsive-dialog.cjs +1 -0
- package/dist/ui/responsive-dialog.js +175 -0
- package/dist/ui/row-col.cjs +1 -0
- package/dist/ui/row-col.js +471 -0
- package/dist/ui/scroll-area.cjs +1 -0
- package/dist/ui/scroll-area.js +83 -0
- package/dist/ui/segmented.cjs +1 -0
- package/dist/ui/segmented.js +155 -0
- package/dist/ui/select.cjs +1 -0
- package/dist/ui/select.js +280 -0
- package/dist/ui/separator.cjs +1 -0
- package/dist/ui/separator.d.ts +2 -0
- package/dist/ui/separator.d.ts.map +1 -1
- package/dist/ui/separator.js +36 -0
- package/dist/ui/sheet.cjs +1 -0
- package/dist/ui/sheet.js +263 -0
- package/dist/ui/sidebar.cjs +1 -0
- package/dist/ui/sidebar.js +808 -0
- package/dist/ui/skeleton.cjs +1 -0
- package/dist/ui/skeleton.js +30 -0
- package/dist/ui/slider.cjs +1 -0
- package/dist/ui/slider.js +44 -0
- package/dist/ui/sonner.cjs +1 -0
- package/dist/ui/sonner.d.ts +1 -1
- package/dist/ui/sonner.d.ts.map +1 -1
- package/dist/ui/sonner.js +24 -0
- package/dist/ui/spinner.cjs +1 -0
- package/dist/ui/stat.cjs +1 -0
- package/dist/ui/stat.js +185 -0
- package/dist/ui/stepper.cjs +1 -0
- package/dist/ui/stepper.js +459 -0
- package/dist/ui/switch.cjs +1 -0
- package/dist/ui/switch.js +190 -0
- package/dist/ui/table.cjs +1 -0
- package/dist/ui/tabs.cjs +1 -0
- package/dist/ui/tabs.js +226 -0
- package/dist/ui/tags-input.cjs +1 -0
- package/dist/ui/tags-input.js +353 -0
- package/dist/ui/textarea.cjs +1 -0
- package/dist/ui/textarea.js +113 -0
- package/dist/ui/timeline.cjs +1 -0
- package/dist/ui/timeline.js +361 -0
- package/dist/ui/toggle-group.cjs +1 -0
- package/dist/ui/toggle-group.js +74 -0
- package/dist/ui/toggle.cjs +1 -0
- package/dist/ui/toggle.d.ts +1 -1
- package/dist/ui/toggle.js +136 -0
- package/dist/ui/tooltip.cjs +1 -0
- package/dist/ui/tooltip.js +63 -0
- package/dist/ui/useBreakpoint.cjs +1 -0
- package/dist/utils.cjs +1 -0
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +7 -0
- package/dist/vlrc-theme.css +316 -0
- package/package.json +51 -52
- package/dist/index10.cjs +0 -1
- package/dist/index10.js +0 -18
- package/dist/index100.cjs +0 -1
- package/dist/index100.js +0 -13
- package/dist/index101.cjs +0 -1
- package/dist/index101.js +0 -543
- package/dist/index102.cjs +0 -1
- package/dist/index102.js +0 -198
- package/dist/index103.cjs +0 -1
- package/dist/index103.js +0 -330
- package/dist/index104.cjs +0 -1
- package/dist/index104.js +0 -80
- package/dist/index105.cjs +0 -3
- package/dist/index106.cjs +0 -1
- package/dist/index106.js +0 -222
- package/dist/index107.cjs +0 -1
- package/dist/index107.js +0 -319
- package/dist/index108.cjs +0 -1
- package/dist/index108.js +0 -339
- package/dist/index109.cjs +0 -1
- package/dist/index109.js +0 -134
- package/dist/index11.cjs +0 -1
- package/dist/index110.cjs +0 -1
- package/dist/index111.cjs +0 -1
- package/dist/index111.js +0 -35
- package/dist/index112.cjs +0 -1
- package/dist/index112.js +0 -315
- package/dist/index113.cjs +0 -1
- package/dist/index114.cjs +0 -1
- package/dist/index114.js +0 -997
- package/dist/index115.cjs +0 -1
- package/dist/index116.cjs +0 -1
- package/dist/index116.js +0 -159
- package/dist/index117.cjs +0 -1
- package/dist/index117.js +0 -116
- package/dist/index118.cjs +0 -1
- package/dist/index119.cjs +0 -1
- package/dist/index119.js +0 -471
- package/dist/index12.cjs +0 -1
- package/dist/index12.js +0 -199
- package/dist/index120.cjs +0 -1
- package/dist/index120.js +0 -190
- package/dist/index121.cjs +0 -1
- package/dist/index121.js +0 -149
- package/dist/index122.cjs +0 -1
- package/dist/index122.js +0 -61
- package/dist/index123.cjs +0 -1
- package/dist/index123.js +0 -368
- package/dist/index124.cjs +0 -1
- package/dist/index124.js +0 -219
- package/dist/index125.cjs +0 -20
- package/dist/index126.cjs +0 -1
- package/dist/index126.js +0 -184
- package/dist/index127.cjs +0 -1
- package/dist/index127.js +0 -276
- package/dist/index128.cjs +0 -1
- package/dist/index128.js +0 -51
- package/dist/index129.cjs +0 -1
- package/dist/index129.js +0 -275
- package/dist/index13.cjs +0 -1
- package/dist/index13.js +0 -212
- package/dist/index130.cjs +0 -1
- package/dist/index130.js +0 -405
- package/dist/index131.cjs +0 -1
- package/dist/index132.cjs +0 -1
- package/dist/index132.js +0 -29
- package/dist/index133.cjs +0 -1
- package/dist/index133.js +0 -537
- package/dist/index134.cjs +0 -1
- package/dist/index134.js +0 -256
- package/dist/index135.cjs +0 -1
- package/dist/index135.js +0 -317
- package/dist/index136.cjs +0 -1
- package/dist/index136.js +0 -29
- package/dist/index137.cjs +0 -1
- package/dist/index137.js +0 -167
- package/dist/index138.cjs +0 -1
- package/dist/index138.js +0 -171
- package/dist/index139.cjs +0 -1
- package/dist/index14.cjs +0 -1
- package/dist/index14.js +0 -205
- package/dist/index140.cjs +0 -1
- package/dist/index140.js +0 -75
- package/dist/index141.cjs +0 -1
- package/dist/index141.js +0 -175
- package/dist/index142.cjs +0 -1
- package/dist/index142.js +0 -83
- package/dist/index143.cjs +0 -1
- package/dist/index143.js +0 -155
- package/dist/index144.cjs +0 -1
- package/dist/index144.js +0 -280
- package/dist/index145.cjs +0 -1
- package/dist/index145.js +0 -263
- package/dist/index146.cjs +0 -1
- package/dist/index146.js +0 -30
- package/dist/index147.cjs +0 -1
- package/dist/index147.js +0 -808
- package/dist/index149.cjs +0 -1
- package/dist/index149.js +0 -431
- package/dist/index15.cjs +0 -1
- package/dist/index15.js +0 -128
- package/dist/index150.cjs +0 -1
- package/dist/index150.js +0 -44
- package/dist/index151.cjs +0 -1
- package/dist/index151.js +0 -28
- package/dist/index152.cjs +0 -1
- package/dist/index153.cjs +0 -1
- package/dist/index153.js +0 -185
- package/dist/index154.cjs +0 -1
- package/dist/index154.js +0 -459
- package/dist/index155.cjs +0 -1
- package/dist/index155.js +0 -155
- package/dist/index156.cjs +0 -1
- package/dist/index156.js +0 -190
- package/dist/index157.cjs +0 -1
- package/dist/index158.cjs +0 -1
- package/dist/index158.js +0 -117
- package/dist/index159.cjs +0 -1
- package/dist/index159.js +0 -226
- package/dist/index16.cjs +0 -1
- package/dist/index16.js +0 -75
- package/dist/index160.cjs +0 -1
- package/dist/index160.js +0 -353
- package/dist/index161.cjs +0 -1
- package/dist/index161.js +0 -113
- package/dist/index162.cjs +0 -1
- package/dist/index162.js +0 -361
- package/dist/index163.cjs +0 -1
- package/dist/index163.js +0 -30
- package/dist/index164.cjs +0 -1
- package/dist/index164.js +0 -136
- package/dist/index165.cjs +0 -1
- package/dist/index165.js +0 -122
- package/dist/index166.cjs +0 -1
- package/dist/index166.js +0 -74
- package/dist/index167.cjs +0 -1
- package/dist/index167.js +0 -120
- package/dist/index169.cjs +0 -1
- package/dist/index169.js +0 -101
- package/dist/index17.cjs +0 -1
- package/dist/index17.js +0 -123
- package/dist/index170.cjs +0 -1
- package/dist/index170.js +0 -46
- package/dist/index171.cjs +0 -1
- package/dist/index171.js +0 -48
- package/dist/index172.cjs +0 -1
- package/dist/index172.js +0 -50
- package/dist/index173.cjs +0 -1
- package/dist/index174.cjs +0 -1
- package/dist/index174.js +0 -159
- package/dist/index175.cjs +0 -1
- package/dist/index175.js +0 -71
- package/dist/index176.cjs +0 -1
- package/dist/index176.js +0 -59
- package/dist/index177.cjs +0 -1
- package/dist/index177.js +0 -226
- package/dist/index178.cjs +0 -1
- package/dist/index178.js +0 -114
- package/dist/index179.cjs +0 -1
- package/dist/index179.js +0 -221
- package/dist/index18.cjs +0 -1
- package/dist/index18.js +0 -16
- package/dist/index181.cjs +0 -1
- package/dist/index181.js +0 -367
- package/dist/index182.cjs +0 -1
- package/dist/index182.js +0 -163
- package/dist/index183.cjs +0 -1
- package/dist/index183.js +0 -199
- package/dist/index184.cjs +0 -1
- package/dist/index184.js +0 -25
- package/dist/index186.cjs +0 -1
- package/dist/index186.js +0 -6
- package/dist/index187.cjs +0 -1
- package/dist/index187.js +0 -6
- package/dist/index189.cjs +0 -1
- package/dist/index189.js +0 -8
- package/dist/index190.cjs +0 -1
- package/dist/index190.js +0 -9
- package/dist/index191.cjs +0 -1
- package/dist/index191.js +0 -13
- package/dist/index192.cjs +0 -1
- package/dist/index192.js +0 -7
- package/dist/index193.cjs +0 -1
- package/dist/index193.js +0 -7
- package/dist/index194.cjs +0 -1
- package/dist/index194.js +0 -7
- package/dist/index195.cjs +0 -1
- package/dist/index195.js +0 -10
- package/dist/index196.cjs +0 -1
- package/dist/index196.js +0 -9
- package/dist/index198.cjs +0 -1
- package/dist/index198.js +0 -7
- package/dist/index199.cjs +0 -1
- package/dist/index199.js +0 -7
- package/dist/index202.cjs +0 -1
- package/dist/index202.js +0 -31
- package/dist/index205.cjs +0 -1
- package/dist/index205.js +0 -201
- package/dist/index208.cjs +0 -1
- package/dist/index208.js +0 -123
- package/dist/index209.cjs +0 -1
- package/dist/index209.js +0 -19
- package/dist/index21.cjs +0 -1
- package/dist/index21.js +0 -29
- package/dist/index210.cjs +0 -1
- package/dist/index210.js +0 -9
- package/dist/index211.cjs +0 -1
- package/dist/index211.js +0 -10
- package/dist/index212.cjs +0 -1
- package/dist/index212.js +0 -14
- package/dist/index213.cjs +0 -1
- package/dist/index213.js +0 -10
- package/dist/index214.cjs +0 -1
- package/dist/index214.js +0 -10
- package/dist/index216.cjs +0 -1
- package/dist/index216.js +0 -42
- package/dist/index217.cjs +0 -1
- package/dist/index217.js +0 -388
- package/dist/index22.cjs +0 -1
- package/dist/index22.js +0 -371
- package/dist/index220.cjs +0 -1
- package/dist/index220.js +0 -58
- package/dist/index221.cjs +0 -1
- package/dist/index221.js +0 -40
- package/dist/index222.cjs +0 -1
- package/dist/index222.js +0 -123
- package/dist/index223.cjs +0 -1
- package/dist/index223.js +0 -86
- package/dist/index224.cjs +0 -1
- package/dist/index224.js +0 -89
- package/dist/index225.cjs +0 -1
- package/dist/index225.js +0 -120
- package/dist/index226.cjs +0 -1
- package/dist/index226.js +0 -100
- package/dist/index227.cjs +0 -1
- package/dist/index227.js +0 -157
- package/dist/index228.cjs +0 -1
- package/dist/index228.js +0 -79
- package/dist/index229.cjs +0 -9
- package/dist/index23.cjs +0 -1
- package/dist/index23.js +0 -212
- package/dist/index230.cjs +0 -1
- package/dist/index230.js +0 -67
- package/dist/index231.cjs +0 -1
- package/dist/index231.js +0 -43
- package/dist/index232.cjs +0 -1
- package/dist/index232.js +0 -67
- package/dist/index234.cjs +0 -1
- package/dist/index234.js +0 -101
- package/dist/index235.cjs +0 -1
- package/dist/index235.js +0 -222
- package/dist/index236.cjs +0 -1
- package/dist/index236.js +0 -30
- package/dist/index238.cjs +0 -1
- package/dist/index238.js +0 -63
- package/dist/index239.cjs +0 -1
- package/dist/index239.js +0 -422
- package/dist/index24.cjs +0 -1
- package/dist/index24.js +0 -257
- package/dist/index240.cjs +0 -1
- package/dist/index240.js +0 -30
- package/dist/index241.cjs +0 -1
- package/dist/index241.js +0 -221
- package/dist/index25.cjs +0 -1
- package/dist/index25.js +0 -286
- package/dist/index26.cjs +0 -1
- package/dist/index26.js +0 -182
- package/dist/index27.cjs +0 -1
- package/dist/index27.js +0 -107
- package/dist/index28.cjs +0 -1
- package/dist/index28.js +0 -161
- package/dist/index29.cjs +0 -1
- package/dist/index29.js +0 -97
- package/dist/index3.cjs +0 -1
- package/dist/index3.js +0 -63
- package/dist/index30.cjs +0 -1
- package/dist/index31.cjs +0 -1
- package/dist/index33.cjs +0 -1
- package/dist/index33.js +0 -87
- package/dist/index34.cjs +0 -1
- package/dist/index34.js +0 -234
- package/dist/index35.cjs +0 -1
- package/dist/index36.cjs +0 -1
- package/dist/index36.js +0 -31
- package/dist/index37.cjs +0 -1
- package/dist/index37.js +0 -15
- package/dist/index38.cjs +0 -1
- package/dist/index39.cjs +0 -1
- package/dist/index40.cjs +0 -1
- package/dist/index40.js +0 -87
- package/dist/index41.cjs +0 -1
- package/dist/index41.js +0 -69
- package/dist/index42.cjs +0 -1
- package/dist/index42.js +0 -224
- package/dist/index43.cjs +0 -1
- package/dist/index43.js +0 -145
- package/dist/index44.cjs +0 -1
- package/dist/index44.js +0 -57
- package/dist/index45.cjs +0 -1
- package/dist/index45.js +0 -273
- package/dist/index46.cjs +0 -1
- package/dist/index46.js +0 -8
- package/dist/index48.cjs +0 -1
- package/dist/index48.js +0 -506
- package/dist/index49.cjs +0 -1
- package/dist/index49.js +0 -211
- package/dist/index52.cjs +0 -1
- package/dist/index52.js +0 -23
- package/dist/index53.cjs +0 -1
- package/dist/index53.js +0 -208
- package/dist/index54.cjs +0 -1
- package/dist/index54.js +0 -157
- package/dist/index55.cjs +0 -1
- package/dist/index55.js +0 -124
- package/dist/index56.cjs +0 -1
- package/dist/index56.js +0 -20
- package/dist/index57.cjs +0 -1
- package/dist/index57.js +0 -82
- package/dist/index58.cjs +0 -1
- package/dist/index58.js +0 -97
- package/dist/index59.cjs +0 -1
- package/dist/index59.js +0 -15
- package/dist/index60.cjs +0 -1
- package/dist/index60.js +0 -94
- package/dist/index61.cjs +0 -1
- package/dist/index61.js +0 -33
- package/dist/index62.cjs +0 -1
- package/dist/index62.js +0 -277
- package/dist/index63.cjs +0 -1
- package/dist/index63.js +0 -134
- package/dist/index64.cjs +0 -1
- package/dist/index64.js +0 -409
- package/dist/index65.cjs +0 -1
- package/dist/index65.js +0 -170
- package/dist/index66.cjs +0 -1
- package/dist/index67.cjs +0 -1
- package/dist/index67.js +0 -158
- package/dist/index69.cjs +0 -1
- package/dist/index69.js +0 -336
- package/dist/index7.cjs +0 -1
- package/dist/index7.js +0 -24
- package/dist/index71.cjs +0 -1
- package/dist/index71.js +0 -321
- package/dist/index72.cjs +0 -1
- package/dist/index72.js +0 -211
- package/dist/index73.cjs +0 -1
- package/dist/index73.js +0 -34
- package/dist/index74.cjs +0 -1
- package/dist/index74.js +0 -163
- package/dist/index75.cjs +0 -1
- package/dist/index75.js +0 -20
- package/dist/index76.cjs +0 -1
- package/dist/index77.cjs +0 -1
- package/dist/index77.js +0 -168
- package/dist/index8.cjs +0 -1
- package/dist/index83.cjs +0 -1
- package/dist/index83.js +0 -25
- package/dist/index84.cjs +0 -1
- package/dist/index84.js +0 -68
- package/dist/index85.cjs +0 -1
- package/dist/index85.js +0 -15
- package/dist/index86.cjs +0 -1
- package/dist/index86.js +0 -4
- package/dist/index87.cjs +0 -1
- package/dist/index87.js +0 -51
- package/dist/index89.cjs +0 -1
- package/dist/index89.js +0 -27
- package/dist/index9.cjs +0 -1
- package/dist/index9.js +0 -63
- package/dist/index90.cjs +0 -1
- package/dist/index90.js +0 -14
- package/dist/index91.cjs +0 -1
- package/dist/index91.js +0 -10
- package/dist/index92.cjs +0 -1
- package/dist/index92.js +0 -3
- package/dist/index94.cjs +0 -38
- package/dist/index94.js +0 -69
- package/dist/index95.cjs +0 -1
- package/dist/index95.js +0 -3
- package/dist/index98.cjs +0 -4
- package/dist/index98.js +0 -112
- package/dist/index99.cjs +0 -1
- package/dist/index99.js +0 -6
- /package/dist/{index173.js → DataTable/render/defaults.js} +0 -0
- /package/dist/{index47.cjs → Form/FormDatePicker/types.cjs} +0 -0
- /package/dist/{index47.js → Form/FormDatePicker/types.js} +0 -0
- /package/dist/{index237.cjs → Form/FormRadioGroup/useFormRadio.cjs} +0 -0
- /package/dist/{index237.js → Form/FormRadioGroup/useFormRadio.js} +0 -0
- /package/dist/{index233.cjs → Form/FormSelect/useFormSelect.cjs} +0 -0
- /package/dist/{index233.js → Form/FormSelect/useFormSelect.js} +0 -0
- /package/dist/{index4.cjs → Icons/Icons.cjs} +0 -0
- /package/dist/{index4.js → Icons/Icons.js} +0 -0
- /package/dist/{index180.cjs → MultiSelect/utils.cjs} +0 -0
- /package/dist/{index180.js → MultiSelect/utils.js} +0 -0
- /package/dist/{index5.cjs → Typography/types.cjs} +0 -0
- /package/dist/{index5.js → Typography/types.js} +0 -0
- /package/dist/{index11.js → Typography/weightStyles.js} +0 -0
- /package/dist/{index2.cjs → _virtual/_rolldown/runtime.cjs} +0 -0
- /package/dist/{index2.js → _virtual/_rolldown/runtime.js} +0 -0
- /package/dist/{index168.cjs → lazyLoad.cjs} +0 -0
- /package/dist/{index168.js → lazyLoad.js} +0 -0
- /package/dist/{index68.cjs → node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs} +0 -0
- /package/dist/{index70.cjs → node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs} +0 -0
- /package/dist/{index70.js → node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js} +0 -0
- /package/dist/{index68.js → node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.js} +0 -0
- /package/dist/{index148.cjs → node_modules/.pnpm/@radix-ui_number@1.1.3/node_modules/@radix-ui/number/dist/index.cjs} +0 -0
- /package/dist/{index148.js → node_modules/.pnpm/@radix-ui_number@1.1.3/node_modules/@radix-ui/number/dist/index.js} +0 -0
- /package/dist/{index32.cjs → node_modules/.pnpm/@radix-ui_primitive@1.1.7/node_modules/@radix-ui/primitive/dist/index.cjs} +0 -0
- /package/dist/{index32.js → node_modules/.pnpm/@radix-ui_primitive@1.1.7/node_modules/@radix-ui/primitive/dist/index.js} +0 -0
- /package/dist/{index31.js → node_modules/.pnpm/@radix-ui_react-compose-refs@1.1.5_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-compose-refs/dist/index.js} +0 -0
- /package/dist/{index30.js → node_modules/.pnpm/@radix-ui_react-context@1.2.2_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-context/dist/index.js} +0 -0
- /package/dist/{index66.js → node_modules/.pnpm/@radix-ui_react-focus-guards@1.1.6_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-focus-guards/dist/index.js} +0 -0
- /package/dist/{index35.js → node_modules/.pnpm/@radix-ui_react-primitive@2.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_re_b879c40dbdb8ea08e1db9842f10f20a8/node_modules/@radix-ui/react-primitive/dist/index.js} +0 -0
- /package/dist/{index38.js → node_modules/.pnpm/@radix-ui_react-use-callback-ref@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.js} +0 -0
- /package/dist/{index76.js → node_modules/.pnpm/@radix-ui_react-use-is-hydrated@0.1.3_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-is-hydrated/dist/index.js} +0 -0
- /package/dist/{index39.js → node_modules/.pnpm/@radix-ui_react-use-layout-effect@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-layout-effect/dist/index.js} +0 -0
- /package/dist/{index131.js → node_modules/.pnpm/@radix-ui_react-use-previous@1.1.4_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-use-previous/dist/index.js} +0 -0
- /package/dist/{index78.cjs → node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.cjs} +0 -0
- /package/dist/{index78.js → node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js} +0 -0
- /package/dist/{index215.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/addLeadingZeros.cjs} +0 -0
- /package/dist/{index215.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/addLeadingZeros.js} +0 -0
- /package/dist/{index188.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.cjs} +0 -0
- /package/dist/{index188.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.js} +0 -0
- /package/dist/{index218.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/longFormatters.cjs} +0 -0
- /package/dist/{index218.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/longFormatters.js} +0 -0
- /package/dist/{index219.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/protectedTokens.cjs} +0 -0
- /package/dist/{index219.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/protectedTokens.js} +0 -0
- /package/dist/{index185.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constants.cjs} +0 -0
- /package/dist/{index185.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constants.js} +0 -0
- /package/dist/{index197.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.cjs} +0 -0
- /package/dist/{index197.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.js} +0 -0
- /package/dist/{index201.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.cjs} +0 -0
- /package/dist/{index201.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js} +0 -0
- /package/dist/{index204.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.cjs} +0 -0
- /package/dist/{index204.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js} +0 -0
- /package/dist/{index206.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.cjs} +0 -0
- /package/dist/{index206.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.js} +0 -0
- /package/dist/{index207.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.cjs} +0 -0
- /package/dist/{index207.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js} +0 -0
- /package/dist/{index200.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.cjs} +0 -0
- /package/dist/{index200.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.js} +0 -0
- /package/dist/{index203.cjs → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.cjs} +0 -0
- /package/dist/{index203.js → node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.js} +0 -0
- /package/dist/{index50.cjs → node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.cjs} +0 -0
- /package/dist/{index50.js → node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js} +0 -0
- /package/dist/{index51.cjs → node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.cjs} +0 -0
- /package/dist/{index51.js → node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.js} +0 -0
- /package/dist/{index88.cjs → node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.cjs} +0 -0
- /package/dist/{index88.js → node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js} +0 -0
- /package/dist/{index125.js → node_modules/.pnpm/input-otp@1.4.2_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/input-otp/dist/index.js} +0 -0
- /package/dist/{index115.js → node_modules/.pnpm/react-hook-form@7.83.0_react@19.3.1/node_modules/react-hook-form/dist/index.esm.js} +0 -0
- /package/dist/{index229.js → node_modules/.pnpm/react-number-format@5.4.5_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-number-format/dist/react-number-format.es.js} +0 -0
- /package/dist/{index80.cjs → node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/constants.cjs} +0 -0
- /package/dist/{index80.js → node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/constants.js} +0 -0
- /package/dist/{index93.cjs → node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/utils.cjs} +0 -0
- /package/dist/{index93.js → node_modules/.pnpm/react-remove-scroll-bar@2.3.8_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll-bar/dist/es2015/utils.js} +0 -0
- /package/dist/{index96.cjs → node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.cjs} +0 -0
- /package/dist/{index96.js → node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/aggresiveCapture.js} +0 -0
- /package/dist/{index97.cjs → node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/handleScroll.cjs} +0 -0
- /package/dist/{index97.js → node_modules/.pnpm/react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/handleScroll.js} +0 -0
- /package/dist/{index139.js → node_modules/.pnpm/react-resizable-panels@2.1.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-resizable-panels/dist/react-resizable-panels.browser.esm.js} +0 -0
- /package/dist/{index79.cjs → node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.cjs} +0 -0
- /package/dist/{index79.js → node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js} +0 -0
- /package/dist/{index81.cjs → node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/assignRef.cjs} +0 -0
- /package/dist/{index81.js → node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/assignRef.js} +0 -0
- /package/dist/{index82.cjs → node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useRef.cjs} +0 -0
- /package/dist/{index82.js → node_modules/.pnpm/use-callback-ref@1.3.3_@types_react@19.3.0_react@19.3.1/node_modules/use-callback-ref/dist/es2015/useRef.js} +0 -0
- /package/dist/{index105.js → node_modules/.pnpm/vaul@1.1.2_@types_react-dom@19.3.0_@types_react@19.3.0__@types_react@19.3.0_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/vaul/dist/index.js} +0 -0
- /package/dist/{index6.cjs → theme/spacing.cjs} +0 -0
- /package/dist/{index6.js → theme/spacing.js} +0 -0
- /package/dist/{index19.cjs → theme/types.cjs} +0 -0
- /package/dist/{index19.js → theme/types.js} +0 -0
- /package/dist/{index20.cjs → theme/width.cjs} +0 -0
- /package/dist/{index20.js → theme/width.js} +0 -0
- /package/dist/{index8.js → theme/zIndex.js} +0 -0
- /package/dist/{index113.js → ui/file-upload-adapters.js} +0 -0
- /package/dist/{index110.js → ui/label.js} +0 -0
- /package/dist/{index152.js → ui/spinner.js} +0 -0
- /package/dist/{index157.js → ui/table.js} +0 -0
- /package/dist/{index118.js → ui/useBreakpoint.js} +0 -0
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useComposedRefs as e } from "../../../../../@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";
|
|
3
|
+
import { composeEventHandlers as t } from "../../../../../@radix-ui_primitive@1.1.7/node_modules/@radix-ui/primitive/dist/index.js";
|
|
4
|
+
import { Primitive as n, dispatchDiscreteCustomEvent as r } from "../../../../../@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";
|
|
5
|
+
import { useCallbackRef as i } from "../../../../../@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";
|
|
6
|
+
import { jsx as a } from "react/jsx-runtime";
|
|
7
|
+
import * as o from "react";
|
|
8
|
+
// ../../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.mjs
|
|
9
|
+
var s = Object.defineProperty, c = (e, t) => s(e, "name", {
|
|
10
|
+
value: t,
|
|
11
|
+
configurable: !0
|
|
12
|
+
}), l = "dismissableLayer.update", u = "dismissableLayer.pointerDownOutside", d = "dismissableLayer.focusOutside", f, p = o.createContext({
|
|
13
|
+
layers: /* @__PURE__ */ new Set(),
|
|
14
|
+
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
15
|
+
branches: /* @__PURE__ */ new Set(),
|
|
16
|
+
dismissableSurfaces: /* @__PURE__ */ new Set()
|
|
17
|
+
}), m = /* @__PURE__ */ o.forwardRef(/* @__PURE__ */ c(function(r, s) {
|
|
18
|
+
let { disableOutsidePointerEvents: u = !1, deferPointerDownOutside: d = !1, onEscapeKeyDown: m, onPointerDownOutside: h, onFocusOutside: g, onInteractOutside: b, onDismiss: x, ...S } = r, C = o.useContext(p), [w, T] = o.useState(null), E = w?.ownerDocument ?? globalThis?.document, [, D] = o.useState({}), O = e(s, T), k = Array.from(C.layers), [A] = [...C.layersWithOutsidePointerEventsDisabled].slice(-1), j = A ? k.indexOf(A) : -1, M = w ? k.indexOf(w) : -1, N = C.layersWithOutsidePointerEventsDisabled.size > 0, P = M >= j, F = o.useRef(!1), I = _((e) => {
|
|
19
|
+
h?.(e), b?.(e), e.defaultPrevented || x?.();
|
|
20
|
+
}, {
|
|
21
|
+
ownerDocument: E,
|
|
22
|
+
deferPointerDownOutside: d,
|
|
23
|
+
isDeferredPointerDownOutsideRef: F,
|
|
24
|
+
dismissableSurfaces: C.dismissableSurfaces,
|
|
25
|
+
shouldHandlePointerDownOutside: o.useCallback((e) => {
|
|
26
|
+
if (!(e instanceof Node)) return !1;
|
|
27
|
+
let t = [...C.branches].some((t) => t.contains(e));
|
|
28
|
+
return P && !t;
|
|
29
|
+
}, [C.branches, P])
|
|
30
|
+
}), L = v((e) => {
|
|
31
|
+
if (d && F.current) return;
|
|
32
|
+
let t = e.target;
|
|
33
|
+
[...C.branches].some((e) => e.contains(t)) || (g?.(e), b?.(e), e.defaultPrevented || x?.());
|
|
34
|
+
}, E), R = w ? M === k.length - 1 : !1, z = i((e) => {
|
|
35
|
+
e.key === "Escape" && (m?.(e), !e.defaultPrevented && x && (e.preventDefault(), x()));
|
|
36
|
+
});
|
|
37
|
+
return o.useEffect(() => {
|
|
38
|
+
if (R) return E.addEventListener("keydown", z, { capture: !0 }), () => E.removeEventListener("keydown", z, { capture: !0 });
|
|
39
|
+
}, [
|
|
40
|
+
E,
|
|
41
|
+
R,
|
|
42
|
+
z
|
|
43
|
+
]), o.useEffect(() => {
|
|
44
|
+
if (w) return u && (C.layersWithOutsidePointerEventsDisabled.size === 0 && (f = E.body.style.pointerEvents, E.body.style.pointerEvents = "none"), C.layersWithOutsidePointerEventsDisabled.add(w)), C.layers.add(w), y(), () => {
|
|
45
|
+
u && (C.layersWithOutsidePointerEventsDisabled.delete(w), C.layersWithOutsidePointerEventsDisabled.size === 0 && (E.body.style.pointerEvents = f));
|
|
46
|
+
};
|
|
47
|
+
}, [
|
|
48
|
+
w,
|
|
49
|
+
E,
|
|
50
|
+
u,
|
|
51
|
+
C
|
|
52
|
+
]), o.useEffect(() => () => {
|
|
53
|
+
w && (C.layers.delete(w), C.layersWithOutsidePointerEventsDisabled.delete(w), y());
|
|
54
|
+
}, [w, C]), o.useEffect(() => {
|
|
55
|
+
let e = /* @__PURE__ */ c(() => D({}), "handleUpdate");
|
|
56
|
+
return document.addEventListener(l, e), () => document.removeEventListener(l, e);
|
|
57
|
+
}, []), /* @__PURE__ */ a(n.div, {
|
|
58
|
+
...S,
|
|
59
|
+
ref: O,
|
|
60
|
+
style: {
|
|
61
|
+
pointerEvents: N ? P ? "auto" : "none" : void 0,
|
|
62
|
+
...r.style
|
|
63
|
+
},
|
|
64
|
+
onFocusCapture: t(r.onFocusCapture, L.onFocusCapture),
|
|
65
|
+
onBlurCapture: t(r.onBlurCapture, L.onBlurCapture),
|
|
66
|
+
onPointerDownCapture: t(r.onPointerDownCapture, I.onPointerDownCapture)
|
|
67
|
+
});
|
|
68
|
+
}, "DismissableLayer"));
|
|
69
|
+
function h() {
|
|
70
|
+
let e = o.useContext(p), [t, n] = o.useState(null);
|
|
71
|
+
return o.useEffect(() => {
|
|
72
|
+
if (t) return e.dismissableSurfaces.add(t), () => {
|
|
73
|
+
e.dismissableSurfaces.delete(t);
|
|
74
|
+
};
|
|
75
|
+
}, [t, e.dismissableSurfaces]), n;
|
|
76
|
+
}
|
|
77
|
+
c(h, "useDismissableLayerSurface");
|
|
78
|
+
var g = /* @__PURE__ */ c(() => !0, "IS_TRUE");
|
|
79
|
+
function _(e, t) {
|
|
80
|
+
let { ownerDocument: n = globalThis?.document, deferPointerDownOutside: r = !1, isDeferredPointerDownOutsideRef: a, dismissableSurfaces: s, shouldHandlePointerDownOutside: l = g } = t, d = i(e), f = o.useRef(!1), p = o.useRef(!1), m = o.useRef(/* @__PURE__ */ new Map()), h = o.useRef(() => {});
|
|
81
|
+
return o.useEffect(() => {
|
|
82
|
+
function e() {
|
|
83
|
+
p.current = !1, a.current = !1, m.current.clear();
|
|
84
|
+
}
|
|
85
|
+
c(e, "resetOutsideInteraction");
|
|
86
|
+
function t() {
|
|
87
|
+
return Array.from(m.current.values()).some(Boolean);
|
|
88
|
+
}
|
|
89
|
+
c(t, "isOutsideInteractionIntercepted");
|
|
90
|
+
function i(e) {
|
|
91
|
+
if (!p.current) return;
|
|
92
|
+
let t = e.target;
|
|
93
|
+
t instanceof Node && [...s].some((e) => e.contains(t)) || m.current.set(e.type, !0), e.type === "click" && window.setTimeout(() => {
|
|
94
|
+
p.current && h.current();
|
|
95
|
+
}, 0);
|
|
96
|
+
}
|
|
97
|
+
c(i, "handleInteractionCapture");
|
|
98
|
+
function o(e) {
|
|
99
|
+
p.current && m.current.set(e.type, !1);
|
|
100
|
+
}
|
|
101
|
+
c(o, "handleInteractionBubble");
|
|
102
|
+
let g = /* @__PURE__ */ c((i) => {
|
|
103
|
+
if (i.target && !f.current) {
|
|
104
|
+
let o = function() {
|
|
105
|
+
n.removeEventListener("click", h.current);
|
|
106
|
+
let r = t();
|
|
107
|
+
e(), r || b(u, d, s, { discrete: !0 });
|
|
108
|
+
};
|
|
109
|
+
if (c(o, "handleAndDispatchPointerDownOutsideEvent"), !l(i.target)) {
|
|
110
|
+
n.removeEventListener("click", h.current), e(), f.current = !1;
|
|
111
|
+
return;
|
|
112
|
+
}
|
|
113
|
+
let s = { originalEvent: i };
|
|
114
|
+
p.current = !0, a.current = r && i.button === 0, m.current.clear(), !r || i.button !== 0 ? o() : (n.removeEventListener("click", h.current), h.current = o, n.addEventListener("click", h.current, { once: !0 }));
|
|
115
|
+
} else n.removeEventListener("click", h.current), e();
|
|
116
|
+
f.current = !1;
|
|
117
|
+
}, "handlePointerDown"), _ = [
|
|
118
|
+
"pointerup",
|
|
119
|
+
"mousedown",
|
|
120
|
+
"mouseup",
|
|
121
|
+
"touchstart",
|
|
122
|
+
"touchend",
|
|
123
|
+
"click"
|
|
124
|
+
];
|
|
125
|
+
for (let e of _) n.addEventListener(e, i, !0), n.addEventListener(e, o);
|
|
126
|
+
let v = window.setTimeout(() => {
|
|
127
|
+
n.addEventListener("pointerdown", g);
|
|
128
|
+
}, 0);
|
|
129
|
+
return () => {
|
|
130
|
+
window.clearTimeout(v), n.removeEventListener("pointerdown", g), n.removeEventListener("click", h.current);
|
|
131
|
+
for (let e of _) n.removeEventListener(e, i, !0), n.removeEventListener(e, o);
|
|
132
|
+
};
|
|
133
|
+
}, [
|
|
134
|
+
n,
|
|
135
|
+
d,
|
|
136
|
+
r,
|
|
137
|
+
a,
|
|
138
|
+
s,
|
|
139
|
+
l
|
|
140
|
+
]), { onPointerDownCapture: /* @__PURE__ */ c(() => f.current = !0, "onPointerDownCapture") };
|
|
141
|
+
}
|
|
142
|
+
c(_, "usePointerDownOutside");
|
|
143
|
+
function v(e, t = globalThis?.document) {
|
|
144
|
+
let n = i(e), r = o.useRef(!1);
|
|
145
|
+
return o.useEffect(() => {
|
|
146
|
+
let e = /* @__PURE__ */ c((e) => {
|
|
147
|
+
e.target && !r.current && b(d, n, { originalEvent: e }, { discrete: !1 });
|
|
148
|
+
}, "handleFocus");
|
|
149
|
+
return t.addEventListener("focusin", e), () => t.removeEventListener("focusin", e);
|
|
150
|
+
}, [t, n]), {
|
|
151
|
+
onFocusCapture: /* @__PURE__ */ c(() => r.current = !0, "onFocusCapture"),
|
|
152
|
+
onBlurCapture: /* @__PURE__ */ c(() => r.current = !1, "onBlurCapture")
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
c(v, "useFocusOutside");
|
|
156
|
+
function y() {
|
|
157
|
+
let e = new CustomEvent(l);
|
|
158
|
+
document.dispatchEvent(e);
|
|
159
|
+
}
|
|
160
|
+
c(y, "dispatchUpdate");
|
|
161
|
+
function b(e, t, n, { discrete: i }) {
|
|
162
|
+
let a = n.originalEvent.target, o = new CustomEvent(e, {
|
|
163
|
+
bubbles: !1,
|
|
164
|
+
cancelable: !0,
|
|
165
|
+
detail: n
|
|
166
|
+
});
|
|
167
|
+
t && a.addEventListener(e, t, { once: !0 }), i ? r(a, o) : a.dispatchEvent(o);
|
|
168
|
+
}
|
|
169
|
+
c(b, "handleAndDispatchCustomEvent");
|
|
170
|
+
export { m as DismissableLayer, h as useDismissableLayerSurface };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";const e=require("../../../../../../../_virtual/_rolldown/runtime.cjs");let t=require("react"),n=e.__toESM(t,1);t=e.__toESM(t);var r=Object.defineProperty,i=(e,t)=>r(e,`name`,{value:t,configurable:!0}),a=0,o=null;function s(e){return c(),e.children}i(s,`FocusGuards`);function c(){n.useEffect(()=>{o||={start:l(),end:l()};let{start:e,end:t}=o;return document.body.firstElementChild!==e&&document.body.insertAdjacentElement(`afterbegin`,e),document.body.lastElementChild!==t&&document.body.insertAdjacentElement(`beforeend`,t),a++,()=>{a===1&&(o?.start.remove(),o?.end.remove(),o=null),a=Math.max(0,a-1)}},[])}i(c,`useFocusGuards`);function l(){let e=document.createElement(`span`);return e.setAttribute(`data-radix-focus-guard`,``),e.tabIndex=0,e.style.outline=`none`,e.style.opacity=`0`,e.style.position=`fixed`,e.style.pointerEvents=`none`,e}i(l,`createFocusGuard`),exports.FocusGuards=s,exports.Root=s,exports.useFocusGuards=c;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";const e=require("../../../../../../../_virtual/_rolldown/runtime.cjs"),t=require("../../../../../@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"),n=require("../../../../../@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"),r=require("../../../../../@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");let i=require("react/jsx-runtime"),a=require("react"),o=e.__toESM(a,1);a=e.__toESM(a);var s=Object.defineProperty,c=(e,t)=>s(e,`name`,{value:t,configurable:!0}),l=`focusScope.autoFocusOnMount`,u=`focusScope.autoFocusOnUnmount`,d={bubbles:!1,cancelable:!0},f=o.forwardRef(c(function(e,a){let{loop:s=!1,trapped:f=!1,onMountAutoFocus:g,onUnmountAutoFocus:_,...v}=e,[x,S]=o.useState(null),w=r.useCallbackRef(g),T=r.useCallbackRef(_),E=o.useRef(null),D=t.useComposedRefs(a,S),O=o.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;o.useEffect(()=>{if(f){let e=function(e){if(O.paused||!x)return;let t=e.target;x.contains(t)?E.current=t:y(E.current,{select:!0})},t=function(e){if(O.paused||!x)return;let t=e.relatedTarget;t!==null&&(x.contains(t)||y(E.current,{select:!0}))},n=function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&y(x)};c(e,`handleFocusIn`),c(t,`handleFocusOut`),c(n,`handleMutations`),document.addEventListener(`focusin`,e),document.addEventListener(`focusout`,t);let r=new MutationObserver(n);return x&&r.observe(x,{childList:!0,subtree:!0}),()=>{document.removeEventListener(`focusin`,e),document.removeEventListener(`focusout`,t),r.disconnect()}}},[f,x,O.paused]),o.useEffect(()=>{if(x){b.add(O);let e=document.activeElement;if(!x.contains(e)){let t=new CustomEvent(l,d);x.addEventListener(l,w),x.dispatchEvent(t),t.defaultPrevented||(p(C(h(x)),{select:!0}),document.activeElement===e&&y(x))}return()=>{x.removeEventListener(l,w),setTimeout(()=>{let t=new CustomEvent(u,d);x.addEventListener(u,T),x.dispatchEvent(t),t.defaultPrevented||y(e??document.body,{select:!0}),x.removeEventListener(u,T),b.remove(O)},0)}}},[x,w,T,O]);let k=o.useCallback(e=>{if(!s&&!f||O.paused)return;let t=e.key===`Tab`&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=document.activeElement;if(t&&n){let t=e.currentTarget,[r,i]=m(t);r&&i?!e.shiftKey&&n===i?(e.preventDefault(),s&&y(r,{select:!0})):e.shiftKey&&n===r&&(e.preventDefault(),s&&y(i,{select:!0})):n===t&&e.preventDefault()}},[s,f,O.paused]);return(0,i.jsx)(n.Primitive.div,{tabIndex:-1,...v,ref:D,onKeyDown:k})},`FocusScope`));function p(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(y(r,{select:t}),document.activeElement!==n)return}c(p,`focusFirst`);function m(e){let t=h(e);return[g(t,e),g(t.reverse(),e)]}c(m,`getTabbableEdges`);function h(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:c(e=>{let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},`acceptNode`)});for(;n.nextNode();)t.push(n.currentNode);return t}c(h,`getTabbableCandidates`);function g(e,t){let n=typeof t.checkVisibility==`function`&&t.checkVisibility({checkVisibilityCSS:!0});for(let r of e)if(!(n?!r.checkVisibility({checkVisibilityCSS:!0}):_(r,{upTo:t})))return r}c(g,`findVisible`);function _(e,{upTo:t}){if(getComputedStyle(e).visibility===`hidden`)return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display===`none`)return!0;e=e.parentElement}return!1}c(_,`isHidden`);function v(e){return e instanceof HTMLInputElement&&`select`in e}c(v,`isSelectableInput`);function y(e,{select:t=!1}={}){if(e&&e.focus){let n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&v(e)&&t&&e.select()}}c(y,`focus`);var b=x();function x(){let e=[];return{add(t){let n=e[0];t!==n&&n?.pause(),e=S(e,t),e.unshift(t)},remove(t){e=S(e,t),e[0]?.resume()}}}c(x,`createFocusScopesStack`);function S(e,t){let n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}c(S,`arrayRemove`);function C(e){return e.filter(e=>e.tagName!==`A`)}c(C,`removeLinks`),exports.FocusScope=f;
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useComposedRefs as e } from "../../../../../@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";
|
|
3
|
+
import { Primitive as t } from "../../../../../@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";
|
|
4
|
+
import { useCallbackRef as n } from "../../../../../@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";
|
|
5
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
6
|
+
import * as i from "react";
|
|
7
|
+
// ../../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.mjs
|
|
8
|
+
var a = Object.defineProperty, o = (e, t) => a(e, "name", {
|
|
9
|
+
value: t,
|
|
10
|
+
configurable: !0
|
|
11
|
+
}), s = "focusScope.autoFocusOnMount", c = "focusScope.autoFocusOnUnmount", l = {
|
|
12
|
+
bubbles: !1,
|
|
13
|
+
cancelable: !0
|
|
14
|
+
}, u = /* @__PURE__ */ i.forwardRef(/* @__PURE__ */ o(function(a, u) {
|
|
15
|
+
let { loop: m = !1, trapped: h = !1, onMountAutoFocus: g, onUnmountAutoFocus: y, ...b } = a, [S, C] = i.useState(null), w = n(g), T = n(y), E = i.useRef(null), D = e(u, C), O = i.useRef({
|
|
16
|
+
paused: !1,
|
|
17
|
+
pause() {
|
|
18
|
+
this.paused = !0;
|
|
19
|
+
},
|
|
20
|
+
resume() {
|
|
21
|
+
this.paused = !1;
|
|
22
|
+
}
|
|
23
|
+
}).current;
|
|
24
|
+
i.useEffect(() => {
|
|
25
|
+
if (h) {
|
|
26
|
+
let e = function(e) {
|
|
27
|
+
if (O.paused || !S) return;
|
|
28
|
+
let t = e.target;
|
|
29
|
+
S.contains(t) ? E.current = t : _(E.current, { select: !0 });
|
|
30
|
+
}, t = function(e) {
|
|
31
|
+
if (O.paused || !S) return;
|
|
32
|
+
let t = e.relatedTarget;
|
|
33
|
+
t !== null && (S.contains(t) || _(E.current, { select: !0 }));
|
|
34
|
+
}, n = function(e) {
|
|
35
|
+
if (document.activeElement === document.body) for (let t of e) t.removedNodes.length > 0 && _(S);
|
|
36
|
+
};
|
|
37
|
+
o(e, "handleFocusIn"), o(t, "handleFocusOut"), o(n, "handleMutations"), document.addEventListener("focusin", e), document.addEventListener("focusout", t);
|
|
38
|
+
let r = new MutationObserver(n);
|
|
39
|
+
return S && r.observe(S, {
|
|
40
|
+
childList: !0,
|
|
41
|
+
subtree: !0
|
|
42
|
+
}), () => {
|
|
43
|
+
document.removeEventListener("focusin", e), document.removeEventListener("focusout", t), r.disconnect();
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
}, [
|
|
47
|
+
h,
|
|
48
|
+
S,
|
|
49
|
+
O.paused
|
|
50
|
+
]), i.useEffect(() => {
|
|
51
|
+
if (S) {
|
|
52
|
+
v.add(O);
|
|
53
|
+
let e = document.activeElement;
|
|
54
|
+
if (!S.contains(e)) {
|
|
55
|
+
let t = new CustomEvent(s, l);
|
|
56
|
+
S.addEventListener(s, w), S.dispatchEvent(t), t.defaultPrevented || (d(x(p(S)), { select: !0 }), document.activeElement === e && _(S));
|
|
57
|
+
}
|
|
58
|
+
return () => {
|
|
59
|
+
S.removeEventListener(s, w), setTimeout(() => {
|
|
60
|
+
let t = new CustomEvent(c, l);
|
|
61
|
+
S.addEventListener(c, T), S.dispatchEvent(t), t.defaultPrevented || _(e ?? document.body, { select: !0 }), S.removeEventListener(c, T), v.remove(O);
|
|
62
|
+
}, 0);
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
}, [
|
|
66
|
+
S,
|
|
67
|
+
w,
|
|
68
|
+
T,
|
|
69
|
+
O
|
|
70
|
+
]);
|
|
71
|
+
let k = i.useCallback((e) => {
|
|
72
|
+
if (!m && !h || O.paused) return;
|
|
73
|
+
let t = e.key === "Tab" && !e.altKey && !e.ctrlKey && !e.metaKey, n = document.activeElement;
|
|
74
|
+
if (t && n) {
|
|
75
|
+
let t = e.currentTarget, [r, i] = f(t);
|
|
76
|
+
r && i ? !e.shiftKey && n === i ? (e.preventDefault(), m && _(r, { select: !0 })) : e.shiftKey && n === r && (e.preventDefault(), m && _(i, { select: !0 })) : n === t && e.preventDefault();
|
|
77
|
+
}
|
|
78
|
+
}, [
|
|
79
|
+
m,
|
|
80
|
+
h,
|
|
81
|
+
O.paused
|
|
82
|
+
]);
|
|
83
|
+
return /* @__PURE__ */ r(t.div, {
|
|
84
|
+
tabIndex: -1,
|
|
85
|
+
...b,
|
|
86
|
+
ref: D,
|
|
87
|
+
onKeyDown: k
|
|
88
|
+
});
|
|
89
|
+
}, "FocusScope"));
|
|
90
|
+
function d(e, { select: t = !1 } = {}) {
|
|
91
|
+
let n = document.activeElement;
|
|
92
|
+
for (let r of e) if (_(r, { select: t }), document.activeElement !== n) return;
|
|
93
|
+
}
|
|
94
|
+
o(d, "focusFirst");
|
|
95
|
+
function f(e) {
|
|
96
|
+
let t = p(e);
|
|
97
|
+
return [m(t, e), m(t.reverse(), e)];
|
|
98
|
+
}
|
|
99
|
+
o(f, "getTabbableEdges");
|
|
100
|
+
function p(e) {
|
|
101
|
+
let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: /* @__PURE__ */ o((e) => {
|
|
102
|
+
let t = e.tagName === "INPUT" && e.type === "hidden";
|
|
103
|
+
return e.disabled || e.hidden || t ? NodeFilter.FILTER_SKIP : e.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
|
|
104
|
+
}, "acceptNode") });
|
|
105
|
+
for (; n.nextNode();) t.push(n.currentNode);
|
|
106
|
+
return t;
|
|
107
|
+
}
|
|
108
|
+
o(p, "getTabbableCandidates");
|
|
109
|
+
function m(e, t) {
|
|
110
|
+
let n = typeof t.checkVisibility == "function" && t.checkVisibility({ checkVisibilityCSS: !0 });
|
|
111
|
+
for (let r of e) if (!(n ? !r.checkVisibility({ checkVisibilityCSS: !0 }) : h(r, { upTo: t }))) return r;
|
|
112
|
+
}
|
|
113
|
+
o(m, "findVisible");
|
|
114
|
+
function h(e, { upTo: t }) {
|
|
115
|
+
if (getComputedStyle(e).visibility === "hidden") return !0;
|
|
116
|
+
for (; e;) {
|
|
117
|
+
if (t !== void 0 && e === t) return !1;
|
|
118
|
+
if (getComputedStyle(e).display === "none") return !0;
|
|
119
|
+
e = e.parentElement;
|
|
120
|
+
}
|
|
121
|
+
return !1;
|
|
122
|
+
}
|
|
123
|
+
o(h, "isHidden");
|
|
124
|
+
function g(e) {
|
|
125
|
+
return e instanceof HTMLInputElement && "select" in e;
|
|
126
|
+
}
|
|
127
|
+
o(g, "isSelectableInput");
|
|
128
|
+
function _(e, { select: t = !1 } = {}) {
|
|
129
|
+
if (e && e.focus) {
|
|
130
|
+
let n = document.activeElement;
|
|
131
|
+
e.focus({ preventScroll: !0 }), e !== n && g(e) && t && e.select();
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
o(_, "focus");
|
|
135
|
+
var v = y();
|
|
136
|
+
function y() {
|
|
137
|
+
let e = [];
|
|
138
|
+
return {
|
|
139
|
+
add(t) {
|
|
140
|
+
let n = e[0];
|
|
141
|
+
t !== n && n?.pause(), e = b(e, t), e.unshift(t);
|
|
142
|
+
},
|
|
143
|
+
remove(t) {
|
|
144
|
+
e = b(e, t), e[0]?.resume();
|
|
145
|
+
}
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
o(y, "createFocusScopesStack");
|
|
149
|
+
function b(e, t) {
|
|
150
|
+
let n = [...e], r = n.indexOf(t);
|
|
151
|
+
return r !== -1 && n.splice(r, 1), n;
|
|
152
|
+
}
|
|
153
|
+
o(b, "arrayRemove");
|
|
154
|
+
function x(e) {
|
|
155
|
+
return e.filter((e) => e.tagName !== "A");
|
|
156
|
+
}
|
|
157
|
+
o(x, "removeLinks");
|
|
158
|
+
export { u as FocusScope };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";const e=require("../../../../../../../_virtual/_rolldown/runtime.cjs"),t=require("../../../../../@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"),n=require("../../../../../@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"),r=require("../../../../../@radix-ui_primitive@1.1.7/node_modules/@radix-ui/primitive/dist/index.cjs"),i=require("../../../../../@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"),a=require("../../../../../@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"),o=require("../../../../../@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"),s=require("../../../../../@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"),c=require("../../../../../@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"),l=require("../../../../../@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");let u=require("react/jsx-runtime"),d=require("react"),f=e.__toESM(d,1);d=e.__toESM(d);var p=Object.defineProperty,m=(e,t)=>p(e,`name`,{value:t,configurable:!0}),h,g=`HoverCard`,[_,v]=t.createContextScope(g,[c.createPopperScope]),y=c.createPopperScope(),[b,x]=_(g),S=m(e=>{let{__scopeHoverCard:t,children:n,open:r,defaultOpen:i,onOpenChange:o,openDelay:s=700,closeDelay:l=300}=e,d=y(t),p=f.useRef(0),m=f.useRef(0),h=f.useRef(!1),_=f.useRef(!1),[v,x]=a.useControllableState({prop:r,defaultProp:i??!1,onChange:o,caller:g}),S=f.useCallback(()=>{clearTimeout(m.current),p.current=window.setTimeout(()=>x(!0),s)},[s,x]),C=f.useCallback(()=>{clearTimeout(p.current),!h.current&&!_.current&&(m.current=window.setTimeout(()=>x(!1),l))},[l,x]),w=f.useCallback(()=>x(!1),[x]);return f.useEffect(()=>()=>{clearTimeout(p.current),clearTimeout(m.current)},[]),(0,u.jsx)(b,{scope:t,open:v,onOpenChange:x,onOpen:S,onClose:C,onDismiss:w,hasSelectionRef:h,isPointerDownOnContentRef:_,children:(0,u.jsx)(c.Root,{...d,children:n})})},`HoverCard`),C=`HoverCardTrigger`,w=f.forwardRef(m(function(e,t){let{__scopeHoverCard:n,...a}=e,o=x(C,n),s=y(n);return(0,u.jsx)(c.Anchor,{asChild:!0,...s,children:(0,u.jsx)(i.Primitive.a,{"data-state":o.open?`open`:`closed`,...a,ref:t,onPointerEnter:r.composeEventHandlers(e.onPointerEnter,M(o.onOpen)),onPointerLeave:r.composeEventHandlers(e.onPointerLeave,M(o.onClose)),onFocus:r.composeEventHandlers(e.onFocus,o.onOpen),onBlur:r.composeEventHandlers(e.onBlur,o.onClose),onTouchStart:r.composeEventHandlers(e.onTouchStart,e=>e.preventDefault())})})},`HoverCardTrigger`)),T=`HoverCardPortal`,[E,D]=_(T,{forceMount:void 0}),O=m(e=>{let{__scopeHoverCard:t,forceMount:n,children:r,container:i}=e,a=x(T,t);return(0,u.jsx)(E,{scope:t,forceMount:n,children:(0,u.jsx)(o.Presence,{present:n||a.open,children:(0,u.jsx)(l.Portal,{asChild:!0,container:i,children:r})})})},`HoverCardPortal`),k=`HoverCardContent`,A=f.forwardRef(m(function(e,t){let n=D(k,e.__scopeHoverCard),{forceMount:i=n.forceMount,...a}=e,s=x(k,e.__scopeHoverCard);return(0,u.jsx)(o.Presence,{present:i||s.open,children:(0,u.jsx)(j,{"data-state":s.open?`open`:`closed`,...a,onPointerEnter:r.composeEventHandlers(e.onPointerEnter,M(s.onOpen)),onPointerLeave:r.composeEventHandlers(e.onPointerLeave,M(s.onClose)),ref:t})})},`HoverCardContent`)),j=f.forwardRef(m(function(e,t){let{__scopeHoverCard:i,onEscapeKeyDown:a,onPointerDownOutside:o,onFocusOutside:l,onInteractOutside:d,...p}=e,g=x(k,i),_=y(i),v=f.useRef(null),b=n.useComposedRefs(t,v),[S,C]=f.useState(!1);return f.useEffect(()=>{if(S){let e=document.body;return h=e.style.userSelect||e.style.webkitUserSelect,e.style.userSelect=`none`,e.style.webkitUserSelect=`none`,()=>{e.style.userSelect=h,e.style.webkitUserSelect=h}}},[S]),f.useEffect(()=>{if(v.current){let e=m(()=>{C(!1),g.isPointerDownOnContentRef.current=!1,setTimeout(()=>{document.getSelection()?.toString()!==``&&(g.hasSelectionRef.current=!0)})},`handlePointerUp`);return document.addEventListener(`pointerup`,e),()=>{document.removeEventListener(`pointerup`,e),g.hasSelectionRef.current=!1,g.isPointerDownOnContentRef.current=!1}}},[g.isPointerDownOnContentRef,g.hasSelectionRef]),f.useEffect(()=>{v.current&&N(v.current).forEach(e=>e.setAttribute(`tabindex`,`-1`))}),(0,u.jsx)(s.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:!1,onInteractOutside:d,onEscapeKeyDown:a,onPointerDownOutside:o,onFocusOutside:r.composeEventHandlers(l,e=>{e.preventDefault()}),onDismiss:g.onDismiss,children:(0,u.jsx)(c.Content,{..._,...p,onPointerDown:r.composeEventHandlers(p.onPointerDown,e=>{e.currentTarget.contains(e.target)&&C(!0),g.hasSelectionRef.current=!1,g.isPointerDownOnContentRef.current=!0}),ref:b,style:{...p.style,userSelect:S?`text`:void 0,WebkitUserSelect:S?`text`:void 0,"--radix-hover-card-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-hover-card-content-available-width":`var(--radix-popper-available-width)`,"--radix-hover-card-content-available-height":`var(--radix-popper-available-height)`,"--radix-hover-card-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-hover-card-trigger-height":`var(--radix-popper-anchor-height)`}})})},`HoverCardContentImpl`));function M(e){return t=>t.pointerType===`touch`?void 0:e()}m(M,`excludeTouch`);function N(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:m(e=>e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP,`acceptNode`)});for(;n.nextNode();)t.push(n.currentNode);return t}m(N,`getTabbableNodes`);var P=S,F=w,I=O,L=A;exports.Content=L,exports.HoverCard=S,exports.HoverCardContent=A,exports.HoverCardPortal=O,exports.HoverCardTrigger=w,exports.Portal=I,exports.Root=P,exports.Trigger=F;
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { createContextScope as e } from "../../../../../@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";
|
|
3
|
+
import { useComposedRefs as t } from "../../../../../@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";
|
|
4
|
+
import { composeEventHandlers as n } from "../../../../../@radix-ui_primitive@1.1.7/node_modules/@radix-ui/primitive/dist/index.js";
|
|
5
|
+
import { Primitive as r } from "../../../../../@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";
|
|
6
|
+
import { useControllableState as i } from "../../../../../@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";
|
|
7
|
+
import { Presence as a } from "../../../../../@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";
|
|
8
|
+
import { DismissableLayer as o } from "../../../../../@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";
|
|
9
|
+
import { Anchor as s, Content as c, Root as l, createPopperScope as u } from "../../../../../@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";
|
|
10
|
+
import { Portal as d } from "../../../../../@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";
|
|
11
|
+
import { jsx as f } from "react/jsx-runtime";
|
|
12
|
+
import * as p from "react";
|
|
13
|
+
// ../../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.mjs
|
|
14
|
+
var m = Object.defineProperty, h = (e, t) => m(e, "name", {
|
|
15
|
+
value: t,
|
|
16
|
+
configurable: !0
|
|
17
|
+
}), g, _ = "HoverCard", [v, y] = e(_, [u]), b = u(), [x, S] = v(_), C = /* @__PURE__ */ h((e) => {
|
|
18
|
+
let { __scopeHoverCard: t, children: n, open: r, defaultOpen: a, onOpenChange: o, openDelay: s = 700, closeDelay: c = 300 } = e, u = b(t), d = p.useRef(0), m = p.useRef(0), h = p.useRef(!1), g = p.useRef(!1), [v, y] = i({
|
|
19
|
+
prop: r,
|
|
20
|
+
defaultProp: a ?? !1,
|
|
21
|
+
onChange: o,
|
|
22
|
+
caller: _
|
|
23
|
+
}), S = p.useCallback(() => {
|
|
24
|
+
clearTimeout(m.current), d.current = window.setTimeout(() => y(!0), s);
|
|
25
|
+
}, [s, y]), C = p.useCallback(() => {
|
|
26
|
+
clearTimeout(d.current), !h.current && !g.current && (m.current = window.setTimeout(() => y(!1), c));
|
|
27
|
+
}, [c, y]), w = p.useCallback(() => y(!1), [y]);
|
|
28
|
+
return p.useEffect(() => () => {
|
|
29
|
+
clearTimeout(d.current), clearTimeout(m.current);
|
|
30
|
+
}, []), /* @__PURE__ */ f(x, {
|
|
31
|
+
scope: t,
|
|
32
|
+
open: v,
|
|
33
|
+
onOpenChange: y,
|
|
34
|
+
onOpen: S,
|
|
35
|
+
onClose: C,
|
|
36
|
+
onDismiss: w,
|
|
37
|
+
hasSelectionRef: h,
|
|
38
|
+
isPointerDownOnContentRef: g,
|
|
39
|
+
children: /* @__PURE__ */ f(l, {
|
|
40
|
+
...u,
|
|
41
|
+
children: n
|
|
42
|
+
})
|
|
43
|
+
});
|
|
44
|
+
}, "HoverCard"), w = "HoverCardTrigger", T = /* @__PURE__ */ p.forwardRef(/* @__PURE__ */ h(function(e, t) {
|
|
45
|
+
let { __scopeHoverCard: i, ...a } = e, o = S(w, i), c = b(i);
|
|
46
|
+
return /* @__PURE__ */ f(s, {
|
|
47
|
+
asChild: !0,
|
|
48
|
+
...c,
|
|
49
|
+
children: /* @__PURE__ */ f(r.a, {
|
|
50
|
+
"data-state": o.open ? "open" : "closed",
|
|
51
|
+
...a,
|
|
52
|
+
ref: t,
|
|
53
|
+
onPointerEnter: n(e.onPointerEnter, N(o.onOpen)),
|
|
54
|
+
onPointerLeave: n(e.onPointerLeave, N(o.onClose)),
|
|
55
|
+
onFocus: n(e.onFocus, o.onOpen),
|
|
56
|
+
onBlur: n(e.onBlur, o.onClose),
|
|
57
|
+
onTouchStart: n(e.onTouchStart, (e) => e.preventDefault())
|
|
58
|
+
})
|
|
59
|
+
});
|
|
60
|
+
}, "HoverCardTrigger")), E = "HoverCardPortal", [D, O] = v(E, { forceMount: void 0 }), k = /* @__PURE__ */ h((e) => {
|
|
61
|
+
let { __scopeHoverCard: t, forceMount: n, children: r, container: i } = e, o = S(E, t);
|
|
62
|
+
return /* @__PURE__ */ f(D, {
|
|
63
|
+
scope: t,
|
|
64
|
+
forceMount: n,
|
|
65
|
+
children: /* @__PURE__ */ f(a, {
|
|
66
|
+
present: n || o.open,
|
|
67
|
+
children: /* @__PURE__ */ f(d, {
|
|
68
|
+
asChild: !0,
|
|
69
|
+
container: i,
|
|
70
|
+
children: r
|
|
71
|
+
})
|
|
72
|
+
})
|
|
73
|
+
});
|
|
74
|
+
}, "HoverCardPortal"), A = "HoverCardContent", j = /* @__PURE__ */ p.forwardRef(/* @__PURE__ */ h(function(e, t) {
|
|
75
|
+
let r = O(A, e.__scopeHoverCard), { forceMount: i = r.forceMount, ...o } = e, s = S(A, e.__scopeHoverCard);
|
|
76
|
+
return /* @__PURE__ */ f(a, {
|
|
77
|
+
present: i || s.open,
|
|
78
|
+
children: /* @__PURE__ */ f(M, {
|
|
79
|
+
"data-state": s.open ? "open" : "closed",
|
|
80
|
+
...o,
|
|
81
|
+
onPointerEnter: n(e.onPointerEnter, N(s.onOpen)),
|
|
82
|
+
onPointerLeave: n(e.onPointerLeave, N(s.onClose)),
|
|
83
|
+
ref: t
|
|
84
|
+
})
|
|
85
|
+
});
|
|
86
|
+
}, "HoverCardContent")), M = /* @__PURE__ */ p.forwardRef(/* @__PURE__ */ h(function(e, r) {
|
|
87
|
+
let { __scopeHoverCard: i, onEscapeKeyDown: a, onPointerDownOutside: s, onFocusOutside: l, onInteractOutside: u, ...d } = e, m = S(A, i), _ = b(i), v = p.useRef(null), y = t(r, v), [x, C] = p.useState(!1);
|
|
88
|
+
return p.useEffect(() => {
|
|
89
|
+
if (x) {
|
|
90
|
+
let e = document.body;
|
|
91
|
+
return g = e.style.userSelect || e.style.webkitUserSelect, e.style.userSelect = "none", e.style.webkitUserSelect = "none", () => {
|
|
92
|
+
e.style.userSelect = g, e.style.webkitUserSelect = g;
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
}, [x]), p.useEffect(() => {
|
|
96
|
+
if (v.current) {
|
|
97
|
+
let e = /* @__PURE__ */ h(() => {
|
|
98
|
+
C(!1), m.isPointerDownOnContentRef.current = !1, setTimeout(() => {
|
|
99
|
+
document.getSelection()?.toString() !== "" && (m.hasSelectionRef.current = !0);
|
|
100
|
+
});
|
|
101
|
+
}, "handlePointerUp");
|
|
102
|
+
return document.addEventListener("pointerup", e), () => {
|
|
103
|
+
document.removeEventListener("pointerup", e), m.hasSelectionRef.current = !1, m.isPointerDownOnContentRef.current = !1;
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
}, [m.isPointerDownOnContentRef, m.hasSelectionRef]), p.useEffect(() => {
|
|
107
|
+
v.current && P(v.current).forEach((e) => e.setAttribute("tabindex", "-1"));
|
|
108
|
+
}), /* @__PURE__ */ f(o, {
|
|
109
|
+
asChild: !0,
|
|
110
|
+
disableOutsidePointerEvents: !1,
|
|
111
|
+
onInteractOutside: u,
|
|
112
|
+
onEscapeKeyDown: a,
|
|
113
|
+
onPointerDownOutside: s,
|
|
114
|
+
onFocusOutside: n(l, (e) => {
|
|
115
|
+
e.preventDefault();
|
|
116
|
+
}),
|
|
117
|
+
onDismiss: m.onDismiss,
|
|
118
|
+
children: /* @__PURE__ */ f(c, {
|
|
119
|
+
..._,
|
|
120
|
+
...d,
|
|
121
|
+
onPointerDown: n(d.onPointerDown, (e) => {
|
|
122
|
+
e.currentTarget.contains(e.target) && C(!0), m.hasSelectionRef.current = !1, m.isPointerDownOnContentRef.current = !0;
|
|
123
|
+
}),
|
|
124
|
+
ref: y,
|
|
125
|
+
style: {
|
|
126
|
+
...d.style,
|
|
127
|
+
userSelect: x ? "text" : void 0,
|
|
128
|
+
WebkitUserSelect: x ? "text" : void 0,
|
|
129
|
+
"--radix-hover-card-content-transform-origin": "var(--radix-popper-transform-origin)",
|
|
130
|
+
"--radix-hover-card-content-available-width": "var(--radix-popper-available-width)",
|
|
131
|
+
"--radix-hover-card-content-available-height": "var(--radix-popper-available-height)",
|
|
132
|
+
"--radix-hover-card-trigger-width": "var(--radix-popper-anchor-width)",
|
|
133
|
+
"--radix-hover-card-trigger-height": "var(--radix-popper-anchor-height)"
|
|
134
|
+
}
|
|
135
|
+
})
|
|
136
|
+
});
|
|
137
|
+
}, "HoverCardContentImpl"));
|
|
138
|
+
function N(e) {
|
|
139
|
+
return (t) => t.pointerType === "touch" ? void 0 : e();
|
|
140
|
+
}
|
|
141
|
+
h(N, "excludeTouch");
|
|
142
|
+
function P(e) {
|
|
143
|
+
let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: /* @__PURE__ */ h((e) => e.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP, "acceptNode") });
|
|
144
|
+
for (; n.nextNode();) t.push(n.currentNode);
|
|
145
|
+
return t;
|
|
146
|
+
}
|
|
147
|
+
h(P, "getTabbableNodes");
|
|
148
|
+
var F = C, I = T, L = k, R = j;
|
|
149
|
+
export { R as Content, C as HoverCard, j as HoverCardContent, k as HoverCardPortal, T as HoverCardTrigger, L as Portal, F as Root, I as Trigger };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("../../../../../../../_virtual/_rolldown/runtime.cjs"),t=require("../../../../../@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");let n=require("react"),r=e.__toESM(n,1);n=e.__toESM(n);var i=Object.defineProperty,a=(e,t)=>i(e,`name`,{value:t,configurable:!0}),o=r.useId||(()=>void 0),s=0;function c(e){let[n,i]=r.useState(o());return t.useLayoutEffect(()=>{e||i(e=>e??String(s++))},[e]),e||(n?`radix-${n}`:``)}a(c,`useId`),exports.useId=c;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { useLayoutEffect as e } from "../../../../../@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";
|
|
2
|
+
import * as t from "react";
|
|
3
|
+
// ../../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.mjs
|
|
4
|
+
var n = Object.defineProperty, r = (e, t) => n(e, "name", {
|
|
5
|
+
value: t,
|
|
6
|
+
configurable: !0
|
|
7
|
+
}), i = t.useId || (() => void 0), a = 0;
|
|
8
|
+
function o(n) {
|
|
9
|
+
let [r, o] = t.useState(i());
|
|
10
|
+
return e(() => {
|
|
11
|
+
n || o((e) => e ?? String(a++));
|
|
12
|
+
}, [n]), n || (r ? `radix-${r}` : "");
|
|
13
|
+
}
|
|
14
|
+
r(o, "useId");
|
|
15
|
+
export { o as useId };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";const e=require("../../../../../../../_virtual/_rolldown/runtime.cjs"),t=require("../../../../../@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"),n=require("../../../../../@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"),r=require("../../../../../@radix-ui_primitive@1.1.7/node_modules/@radix-ui/primitive/dist/index.cjs"),i=require("../../../../../@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"),a=require("../../../../../@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"),o=require("../../../../../@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"),s=require("../../../../../@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"),c=require("../../../../../@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"),l=require("../../../../../@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"),u=require("../../../../../@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"),d=require("../../../../../@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"),f=require("../../../../../@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"),p=require("../../../../../@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"),m=require("../../../../../@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"),h=require("../../../../../@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"),g=require("../../../../../aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.cjs"),ee=require("../../../../../react-remove-scroll@2.7.2_@types_react@19.3.0_react@19.3.1/node_modules/react-remove-scroll/dist/es2015/Combination.cjs");let _=require("react/jsx-runtime"),v=require("react"),y=e.__toESM(v,1);v=e.__toESM(v);let te=require("@radix-ui/react-slot");var ne=Object.defineProperty,b=(e,t)=>ne(e,`name`,{value:t,configurable:!0}),x=[`Enter`,` `],S=[`ArrowDown`,`PageUp`,`Home`],re=[`ArrowUp`,`PageDown`,`End`],ie=[...S,...re],C={ltr:[...x,`ArrowRight`],rtl:[...x,`ArrowLeft`]},w={ltr:[`ArrowLeft`],rtl:[`ArrowRight`]},T=`Menu`,[E,ae,D]=c.createCollection(T),[O,oe]=t.createContextScope(T,[D,p.createPopperScope,h.createRovingFocusGroupScope]),k=p.createPopperScope(),se=h.createRovingFocusGroupScope(),[A,j]=O(T),[M,N]=O(T),P=b(e=>{let{__scopeMenu:t,open:n=!1,children:r,dir:i,onOpenChange:o,modal:s=!0}=e,c=k(t),[u,d]=y.useState(null),f=y.useRef(!1),m=a.useCallbackRef(o),h=l.useDirection(i);return y.useEffect(()=>{let e=b(()=>{f.current=!0,document.addEventListener(`pointerdown`,t,{capture:!0,once:!0}),document.addEventListener(`pointermove`,t,{capture:!0,once:!0})},`handleKeyDown`),t=b(()=>f.current=!1,`handlePointer`);return document.addEventListener(`keydown`,e,{capture:!0}),()=>{document.removeEventListener(`keydown`,e,{capture:!0}),document.removeEventListener(`pointerdown`,t,{capture:!0}),document.removeEventListener(`pointermove`,t,{capture:!0})}},[]),y.useEffect(()=>{if(!n)return;let e=b(()=>m(!1),`handleBlur`);return window.addEventListener(`blur`,e),()=>window.removeEventListener(`blur`,e)},[n,m]),(0,_.jsx)(p.Root,{...c,children:(0,_.jsx)(A,{scope:t,open:n,onOpenChange:m,content:u,onContentChange:d,children:(0,_.jsx)(M,{scope:t,onClose:y.useCallback(()=>m(!1),[m]),isUsingKeyboardRef:f,dir:h,modal:s,children:r})})})},`Menu`),F=y.forwardRef(b(function(e,t){let{__scopeMenu:n,...r}=e,i=k(n);return(0,_.jsx)(p.Anchor,{...i,...r,ref:t})},`MenuAnchor`)),I=`MenuPortal`,[ce,L]=O(I,{forceMount:void 0}),R=b(e=>{let{__scopeMenu:t,forceMount:n,children:r,container:i}=e,a=j(I,t);return(0,_.jsx)(ce,{scope:t,forceMount:n,children:(0,_.jsx)(o.Presence,{present:n||a.open,children:(0,_.jsx)(m.Portal,{asChild:!0,container:i,children:r})})})},`MenuPortal`),z=`MenuContent`,[le,B]=O(z),V=y.forwardRef(b(function(e,t){let n=L(z,e.__scopeMenu),{forceMount:r=n.forceMount,...i}=e,a=j(z,e.__scopeMenu),s=N(z,e.__scopeMenu);return(0,_.jsx)(E.Provider,{scope:e.__scopeMenu,children:(0,_.jsx)(o.Presence,{present:r||a.open,children:(0,_.jsx)(E.Slot,{scope:e.__scopeMenu,children:s.modal?(0,_.jsx)(H,{...i,ref:t}):(0,_.jsx)(U,{...i,ref:t})})})})},`MenuContent`)),H=y.forwardRef(b(function(e,t){let i=j(z,e.__scopeMenu),a=y.useRef(null),o=n.useComposedRefs(t,a);return y.useEffect(()=>{let e=a.current;if(e)return g.hideOthers(e)},[]),(0,_.jsx)(W,{...e,ref:o,trapFocus:i.open,disableOutsidePointerEvents:i.open,disableOutsideScroll:!0,onFocusOutside:r.composeEventHandlers(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>i.onOpenChange(!1)})},`MenuRootContentModal`)),U=y.forwardRef(b(function(e,t){let n=j(z,e.__scopeMenu);return(0,_.jsx)(W,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})},`MenuRootContentNonModal`)),ue=(0,te.createSlot)(`MenuContent.ScrollLock`),W=y.forwardRef(b(function(e,t){let{__scopeMenu:i,loop:a=!1,trapFocus:o,onOpenAutoFocus:s,onCloseAutoFocus:c,disableOutsidePointerEvents:l,onEntryFocus:m,onEscapeKeyDown:g,onPointerDownOutside:v,onFocusOutside:te,onInteractOutside:ne,onDismiss:x,disableOutsideScroll:S,...C}=e,w=j(z,i),T=N(z,i),E=k(i),D=se(i),O=ae(i),[oe,A]=y.useState(null),M=y.useRef(null),P=n.useComposedRefs(t,M,w.onContentChange),F=y.useRef(0),I=y.useRef(``),ce=y.useRef(0),L=y.useRef(null),R=y.useRef(`right`),B=y.useRef(0),V=S?ee.default:y.Fragment,H=S?{as:ue,allowPinchZoom:!0}:void 0,U=b(e=>{let t=I.current+e,n=O().filter(e=>!e.disabled),r=document.activeElement,i=n.find(e=>e.ref.current===r)?.textValue,a=Ne(n.map(e=>e.textValue),t,i),o=n.find(e=>e.textValue===a)?.ref.current;b((function e(t){I.current=t,window.clearTimeout(F.current),t!==``&&(F.current=window.setTimeout(()=>e(``),1e3))}),`updateSearch`)(t),o&&setTimeout(()=>o.focus())},`handleTypeaheadSearch`);y.useEffect(()=>()=>window.clearTimeout(F.current),[]),d.useFocusGuards();let W=y.useCallback(e=>R.current===L.current?.side&&Fe(e,L.current?.area),[]);return(0,_.jsx)(le,{scope:i,searchRef:I,onItemEnter:y.useCallback(e=>{W(e)&&e.preventDefault()},[W]),onItemLeave:y.useCallback(e=>{W(e)||(M.current?.focus(),A(null))},[W]),onTriggerLeave:y.useCallback(e=>{W(e)&&e.preventDefault()},[W]),pointerGraceTimerRef:ce,onPointerGraceIntentChange:y.useCallback(e=>{L.current=e},[]),children:(0,_.jsx)(V,{...H,children:(0,_.jsx)(f.FocusScope,{asChild:!0,trapped:o,onMountAutoFocus:r.composeEventHandlers(s,e=>{e.preventDefault(),M.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:c,children:(0,_.jsx)(u.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:l,onEscapeKeyDown:g,onPointerDownOutside:v,onFocusOutside:te,onInteractOutside:ne,onDismiss:x,children:(0,_.jsx)(h.Root,{asChild:!0,...D,dir:T.dir,orientation:`vertical`,loop:a,currentTabStopId:oe,onCurrentTabStopIdChange:A,onEntryFocus:r.composeEventHandlers(m,e=>{T.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:(0,_.jsx)(p.Content,{role:`menu`,"aria-orientation":`vertical`,"data-state":X(w.open),"data-radix-menu-content":``,dir:T.dir,...E,...C,ref:P,style:{outline:`none`,...C.style},onKeyDown:r.composeEventHandlers(C.onKeyDown,e=>{let t=e.target.closest(`[data-radix-menu-content]`)===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=e.key.length===1;t&&(e.key===`Tab`&&e.preventDefault(),!n&&r&&U(e.key));let i=M.current;if(e.target!==i||!ie.includes(e.key))return;e.preventDefault();let a=O().filter(e=>!e.disabled).map(e=>e.ref.current);re.includes(e.key)&&a.reverse(),je(a)}),onBlur:r.composeEventHandlers(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(F.current),I.current=``)}),onPointerMove:r.composeEventHandlers(e.onPointerMove,$(e=>{let t=e.target,n=B.current!==e.clientX;if(e.currentTarget.contains(t)&&n){let t=e.clientX>B.current?`right`:`left`;R.current=t,B.current=e.clientX}}))})})})})})})},`MenuContentImpl`)),G=y.forwardRef(b(function(e,t){let{__scopeMenu:n,...r}=e;return(0,_.jsx)(i.Primitive.div,{role:`group`,...r,ref:t})},`MenuGroup`)),de=y.forwardRef(b(function(e,t){let{__scopeMenu:n,...r}=e;return(0,_.jsx)(i.Primitive.div,{...r,ref:t})},`MenuLabel`)),K=`MenuItem`,q=`menu.itemSelect`,J=y.forwardRef(b(function(e,t){let{disabled:a=!1,onSelect:o,...s}=e,c=y.useRef(null),l=N(K,e.__scopeMenu),u=B(K,e.__scopeMenu),d=n.useComposedRefs(t,c),f=y.useRef(!1),p=b(()=>{let e=c.current;if(!a&&e){let t=new CustomEvent(q,{bubbles:!0,cancelable:!0});e.addEventListener(q,e=>o?.(e),{once:!0}),i.dispatchDiscreteCustomEvent(e,t),t.defaultPrevented?f.current=!1:l.onClose()}},`handleSelect`);return(0,_.jsx)(fe,{...s,ref:d,disabled:a,onClick:r.composeEventHandlers(e.onClick,p),onPointerDown:t=>{e.onPointerDown?.(t),f.current=!0},onPointerUp:r.composeEventHandlers(e.onPointerUp,e=>{f.current||e.currentTarget?.click()}),onKeyDown:r.composeEventHandlers(e.onKeyDown,e=>{a||e.target!==e.currentTarget||(u.searchRef.current===``||e.key!==` `)&&x.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})},`MenuItem`)),fe=y.forwardRef(b(function(e,t){let{__scopeMenu:a,disabled:o=!1,textValue:s,...c}=e,l=B(K,a),u=se(a),d=y.useRef(null),f=n.useComposedRefs(t,d),[p,m]=y.useState(!1),[g,ee]=y.useState(``);return y.useEffect(()=>{let e=d.current;e&&ee((e.textContent??``).trim())},[c.children]),(0,_.jsx)(E.ItemSlot,{scope:a,disabled:o,textValue:s??g,children:(0,_.jsx)(h.Item,{asChild:!0,...u,focusable:!o,children:(0,_.jsx)(i.Primitive.div,{role:`menuitem`,"data-highlighted":p?``:void 0,"aria-disabled":o||void 0,"data-disabled":o?``:void 0,...c,ref:f,onPointerMove:r.composeEventHandlers(e.onPointerMove,$(e=>{o?l.onItemLeave(e):(l.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:r.composeEventHandlers(e.onPointerLeave,$(e=>l.onItemLeave(e))),onFocus:r.composeEventHandlers(e.onFocus,()=>m(!0)),onBlur:r.composeEventHandlers(e.onBlur,()=>m(!1))})})})},`MenuItemImpl`)),pe=y.forwardRef(b(function(e,t){let{checked:n=!1,onCheckedChange:i,...a}=e;return(0,_.jsx)(be,{scope:e.__scopeMenu,checked:n,children:(0,_.jsx)(J,{role:`menuitemcheckbox`,"aria-checked":Z(n)?`mixed`:n,...a,ref:t,"data-state":Q(n),onSelect:r.composeEventHandlers(a.onSelect,()=>i?.(Z(n)?!0:!n),{checkForDefaultPrevented:!1})})})},`MenuCheckboxItem`)),[me,he]=O(`MenuRadioGroup`,{value:void 0,onValueChange:b(()=>{},`onValueChange`)}),ge=y.forwardRef(b(function(e,t){let{value:n,onValueChange:r,...i}=e,o=a.useCallbackRef(r);return(0,_.jsx)(me,{scope:e.__scopeMenu,value:n,onValueChange:o,children:(0,_.jsx)(G,{...i,ref:t})})},`MenuRadioGroup`)),_e=`MenuRadioItem`,ve=y.forwardRef(b(function(e,t){let{value:n,...i}=e,a=he(_e,e.__scopeMenu),o=n===a.value;return(0,_.jsx)(be,{scope:e.__scopeMenu,checked:o,children:(0,_.jsx)(J,{role:`menuitemradio`,"aria-checked":o,...i,ref:t,"data-state":Q(o),onSelect:r.composeEventHandlers(i.onSelect,()=>a.onValueChange?.(n),{checkForDefaultPrevented:!1})})})},`MenuRadioItem`)),ye=`MenuItemIndicator`,[be,xe]=O(ye,{checked:!1}),Se=y.forwardRef(b(function(e,t){let{__scopeMenu:n,forceMount:r,...a}=e,s=xe(ye,n);return(0,_.jsx)(o.Presence,{present:r||Z(s.checked)||s.checked===!0,children:(0,_.jsx)(i.Primitive.span,{...a,ref:t,"data-state":Q(s.checked)})})},`MenuItemIndicator`)),Ce=y.forwardRef(b(function(e,t){let{__scopeMenu:n,...r}=e;return(0,_.jsx)(i.Primitive.div,{role:`separator`,"aria-orientation":`horizontal`,...r,ref:t})},`MenuSeparator`)),we=`MenuSub`,[Te,Ee]=O(we),De=b(e=>{let{__scopeMenu:t,children:n,open:r=!1,onOpenChange:i}=e,o=j(we,t),c=k(t),[l,u]=y.useState(null),[d,f]=y.useState(null),m=a.useCallbackRef(i);return y.useEffect(()=>(o.open===!1&&m(!1),()=>m(!1)),[o.open,m]),(0,_.jsx)(p.Root,{...c,children:(0,_.jsx)(A,{scope:t,open:r,onOpenChange:m,content:d,onContentChange:f,children:(0,_.jsx)(Te,{scope:t,contentId:s.useId(),triggerId:s.useId(),trigger:l,onTriggerChange:u,children:n})})})},`MenuSub`),Y=`MenuSubTrigger`,Oe=y.forwardRef(b(function(e,t){let i=j(Y,e.__scopeMenu),a=N(Y,e.__scopeMenu),o=Ee(Y,e.__scopeMenu),s=B(Y,e.__scopeMenu),c=y.useRef(null),{pointerGraceTimerRef:l,onPointerGraceIntentChange:u}=s,d={__scopeMenu:e.__scopeMenu},f=y.useCallback(()=>{c.current&&window.clearTimeout(c.current),c.current=null},[]);y.useEffect(()=>f,[f]),y.useEffect(()=>{let e=l.current;return()=>{window.clearTimeout(e),u(null)}},[l,u]);let p=n.useComposedRefs(t,o.onTriggerChange);return(0,_.jsx)(F,{asChild:!0,...d,children:(0,_.jsx)(fe,{id:o.triggerId,"aria-haspopup":`menu`,"aria-expanded":i.open,"aria-controls":i.open?o.contentId:void 0,"data-state":X(i.open),...e,ref:p,onClick:t=>{e.onClick?.(t),!(e.disabled||t.defaultPrevented)&&(t.currentTarget.focus(),i.open||i.onOpenChange(!0))},onPointerMove:r.composeEventHandlers(e.onPointerMove,$(t=>{s.onItemEnter(t),t.defaultPrevented||e.disabled||i.open||c.current||(s.onPointerGraceIntentChange(null),c.current=window.setTimeout(()=>{i.onOpenChange(!0),f()},100))})),onPointerLeave:r.composeEventHandlers(e.onPointerLeave,$(e=>{f();let t=i.content?.getBoundingClientRect();if(t){let n=i.content?.dataset.side,r=n===`right`,a=r?-5:5,o=t[r?`left`:`right`],c=t[r?`right`:`left`];s.onPointerGraceIntentChange({area:[{x:e.clientX+a,y:e.clientY},{x:o,y:t.top},{x:c,y:t.top},{x:c,y:t.bottom},{x:o,y:t.bottom}],side:n}),window.clearTimeout(l.current),l.current=window.setTimeout(()=>s.onPointerGraceIntentChange(null),300)}else{if(s.onTriggerLeave(e),e.defaultPrevented)return;s.onPointerGraceIntentChange(null)}})),onKeyDown:r.composeEventHandlers(e.onKeyDown,t=>{e.disabled||t.target!==t.currentTarget||(s.searchRef.current===``||t.key!==` `)&&C[a.dir].includes(t.key)&&(i.onOpenChange(!0),i.content?.focus(),t.preventDefault())})})})},`MenuSubTrigger`)),ke=`MenuSubContent`,Ae=y.forwardRef(b(function(e,t){let i=L(z,e.__scopeMenu),{forceMount:a=i.forceMount,align:s=`start`,...c}=e,l=j(z,e.__scopeMenu),u=N(z,e.__scopeMenu),d=Ee(ke,e.__scopeMenu),f=y.useRef(null),p=n.useComposedRefs(t,f);return(0,_.jsx)(E.Provider,{scope:e.__scopeMenu,children:(0,_.jsx)(o.Presence,{present:a||l.open,children:(0,_.jsx)(E.Slot,{scope:e.__scopeMenu,children:(0,_.jsx)(W,{id:d.contentId,"aria-labelledby":d.triggerId,...c,ref:p,align:s,side:u.dir===`rtl`?`left`:`right`,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{u.isUsingKeyboardRef.current&&f.current?.focus(),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:r.composeEventHandlers(e.onFocusOutside,e=>{e.target!==d.trigger&&l.onOpenChange(!1)}),onEscapeKeyDown:r.composeEventHandlers(e.onEscapeKeyDown,e=>{u.onClose(),e.preventDefault()}),onKeyDown:r.composeEventHandlers(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),n=w[u.dir].includes(e.key);t&&n&&(l.onOpenChange(!1),d.trigger?.focus(),e.preventDefault())})})})})})},`MenuSubContent`));function X(e){return e?`open`:`closed`}b(X,`getOpenState`);function Z(e){return e===`indeterminate`}b(Z,`isIndeterminate`);function Q(e){return Z(e)?`indeterminate`:e?`checked`:`unchecked`}b(Q,`getCheckedState`);function je(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}b(je,`focusFirst`);function Me(e,t){return e.map((n,r)=>e[(t+r)%e.length])}b(Me,`wrapArray`);function Ne(e,t,n){let r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1,a=Me(e,Math.max(i,0));r.length===1&&(a=a.filter(e=>e!==n));let o=a.find(e=>e.toLowerCase().startsWith(r.toLowerCase()));return o===n?void 0:o}b(Ne,`getNextMatch`);function Pe(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,a=t.length-1;e<t.length;a=e++){let o=t[e],s=t[a],c=o.x,l=o.y,u=s.x,d=s.y;l>r!=d>r&&n<(u-c)*(r-l)/(d-l)+c&&(i=!i)}return i}b(Pe,`isPointInPolygon`);function Fe(e,t){return t?Pe({x:e.clientX,y:e.clientY},t):!1}b(Fe,`isPointerInGraceArea`);function $(e){return t=>t.pointerType===`mouse`?e(t):void 0}b($,`whenMouse`);var Ie=P,Le=F,Re=R,ze=V,Be=G,Ve=de,He=J,Ue=pe,We=ge,Ge=ve,Ke=Se,qe=Ce,Je=De,Ye=Oe,Xe=Ae;exports.Anchor=Le,exports.CheckboxItem=Ue,exports.Content=ze,exports.Group=Be,exports.Item=He,exports.ItemIndicator=Ke,exports.Label=Ve,exports.Menu=P,exports.MenuAnchor=F,exports.MenuCheckboxItem=pe,exports.MenuContent=V,exports.MenuGroup=G,exports.MenuItem=J,exports.MenuItemIndicator=Se,exports.MenuLabel=de,exports.MenuPortal=R,exports.MenuRadioGroup=ge,exports.MenuRadioItem=ve,exports.MenuSeparator=Ce,exports.MenuSub=De,exports.MenuSubContent=Ae,exports.MenuSubTrigger=Oe,exports.Portal=Re,exports.RadioGroup=We,exports.RadioItem=Ge,exports.Root=Ie,exports.Separator=qe,exports.Sub=Je,exports.SubContent=Xe,exports.SubTrigger=Ye,exports.createMenuScope=oe;
|