@vlrc-fe/components 3.0.6 → 3.1.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 +35 -0
- package/README.md +6 -2
- package/dist/ConfirmModal.cjs +29 -4
- package/dist/ConfirmModal.d.ts.map +1 -1
- package/dist/ConfirmModal.js +29 -4
- package/dist/DataTable/components/DataTableFacetedFilter.cjs +0 -2
- package/dist/DataTable/components/DataTableFacetedFilter.js +0 -2
- package/dist/DataTable/components/DataTablePagination.cjs +0 -1
- package/dist/DataTable/components/DataTablePagination.js +0 -1
- package/dist/DataTable/components/DataTableRowActions.cjs +1 -1
- package/dist/DataTable/components/DataTableRowActions.js +1 -1
- package/dist/DataTable/components/DataTableTable.cjs +3 -2
- package/dist/DataTable/components/DataTableTable.d.ts.map +1 -1
- package/dist/DataTable/components/DataTableTable.js +3 -2
- package/dist/DataTable/render/createColumns.cjs +1 -1
- package/dist/DataTable/render/createColumns.js +1 -1
- package/dist/Dropdown/Dropdown.cjs +14 -12
- package/dist/Dropdown/Dropdown.js +14 -12
- package/dist/Form/Form.cjs +3 -4
- package/dist/Form/Form.js +2 -3
- package/dist/Form/FormDatePicker/DatePickerTrigger.cjs +263 -0
- package/dist/Form/FormDatePicker/DatePickerTrigger.d.ts +111 -0
- package/dist/Form/FormDatePicker/DatePickerTrigger.d.ts.map +1 -0
- package/dist/Form/FormDatePicker/DatePickerTrigger.js +259 -0
- package/dist/Form/FormDatePicker/FormDatePicker.cjs +65 -66
- package/dist/Form/FormDatePicker/FormDatePicker.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/FormDatePicker.js +66 -65
- package/dist/Form/FormDatePicker/RangeDatePicker.cjs +25 -68
- package/dist/Form/FormDatePicker/RangeDatePicker.d.ts +5 -2
- package/dist/Form/FormDatePicker/RangeDatePicker.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/RangeDatePicker.js +26 -69
- package/dist/Form/FormDatePicker/SingleDatePicker.cjs +43 -66
- package/dist/Form/FormDatePicker/SingleDatePicker.d.ts +5 -2
- package/dist/Form/FormDatePicker/SingleDatePicker.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/SingleDatePicker.js +44 -67
- package/dist/Form/FormDatePicker/TimeInput.cjs +44 -59
- package/dist/Form/FormDatePicker/TimeInput.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/TimeInput.js +44 -59
- package/dist/Form/FormDatePicker/TimePicker.cjs +39 -17
- package/dist/Form/FormDatePicker/TimePicker.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/TimePicker.js +39 -17
- package/dist/Form/FormDatePicker/types.d.ts +5 -0
- package/dist/Form/FormDatePicker/types.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/useFormDatePicker.cjs +3 -4
- package/dist/Form/FormDatePicker/useFormDatePicker.js +1 -2
- package/dist/Form/FormFileUpload/FileUpload.cjs +24 -29
- package/dist/Form/FormFileUpload/FileUpload.js +24 -29
- package/dist/Form/FormFileUpload/index.cjs +2 -2
- package/dist/Form/FormFileUpload/index.js +1 -1
- package/dist/Form/FormMultiSelect/FormMultiSelect.d.ts +6 -1
- package/dist/Form/FormMultiSelect/FormMultiSelect.d.ts.map +1 -1
- package/dist/Form/FormNumberInput/FormNumberInput.cjs +21 -11
- package/dist/Form/FormNumberInput/FormNumberInput.d.ts.map +1 -1
- package/dist/Form/FormNumberInput/FormNumberInput.js +20 -10
- package/dist/Form/FormSelect/FormSelect.cjs +45 -18
- package/dist/Form/FormSelect/FormSelect.js +45 -18
- package/dist/Form/FormSelect/types.d.ts +2 -0
- package/dist/Form/FormSelect/types.d.ts.map +1 -1
- package/dist/Icons/Icons.cjs +47 -0
- package/dist/Icons/Icons.d.ts +46 -0
- package/dist/Icons/Icons.d.ts.map +1 -1
- package/dist/Icons/Icons.js +48 -1
- package/dist/Icons/JiraIcons.cjs +251 -0
- package/dist/Icons/JiraIcons.d.ts +25 -0
- package/dist/Icons/JiraIcons.d.ts.map +1 -0
- package/dist/Icons/JiraIcons.js +248 -0
- package/dist/Icons/index.d.ts +1 -0
- package/dist/Icons/index.d.ts.map +1 -1
- package/dist/MultiSelect/MultiSelect.cjs +20 -9
- package/dist/MultiSelect/MultiSelect.d.ts.map +1 -1
- package/dist/MultiSelect/MultiSelect.js +20 -9
- package/dist/MultiSelect/renderers.cjs +95 -52
- package/dist/MultiSelect/renderers.d.ts.map +1 -1
- package/dist/MultiSelect/renderers.js +95 -52
- package/dist/Select/BaseSelect.cjs +68 -21
- package/dist/Select/BaseSelect.d.ts.map +1 -1
- package/dist/Select/BaseSelect.js +69 -22
- package/dist/Select/MultiSelectTags.cjs +0 -1
- package/dist/Select/MultiSelectTags.d.ts.map +1 -1
- package/dist/Select/MultiSelectTags.js +0 -1
- package/dist/Tag/Tag.cjs +154 -0
- package/dist/Tag/Tag.d.ts +19 -0
- package/dist/Tag/Tag.d.ts.map +1 -0
- package/dist/Tag/Tag.js +151 -0
- package/dist/Tag/index.d.ts +3 -0
- package/dist/Tag/index.d.ts.map +1 -0
- package/dist/Typography/Blockquote.cjs +2 -1
- package/dist/Typography/Blockquote.d.ts +1 -1
- package/dist/Typography/Blockquote.d.ts.map +1 -1
- package/dist/Typography/Blockquote.js +2 -1
- package/dist/Typography/Code.cjs +2 -2
- package/dist/Typography/Code.d.ts +1 -1
- package/dist/Typography/Code.d.ts.map +1 -1
- package/dist/Typography/Code.js +2 -2
- package/dist/Typography/Link.cjs +2 -1
- package/dist/Typography/Link.d.ts +1 -1
- package/dist/Typography/Link.d.ts.map +1 -1
- package/dist/Typography/Link.js +2 -1
- package/dist/Typography/Paragraph.cjs +2 -1
- package/dist/Typography/Paragraph.d.ts +1 -1
- package/dist/Typography/Paragraph.d.ts.map +1 -1
- package/dist/Typography/Paragraph.js +2 -1
- package/dist/Typography/Text.cjs +2 -1
- package/dist/Typography/Text.d.ts +1 -1
- package/dist/Typography/Text.d.ts.map +1 -1
- package/dist/Typography/Text.js +2 -1
- package/dist/Typography/types.d.ts +2 -0
- package/dist/Typography/types.d.ts.map +1 -1
- package/dist/assets/stylex.css +139 -31
- package/dist/index.cjs +27 -7
- package/dist/index.d.ts +5 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +15 -12
- package/dist/layout/index.js +2 -2
- package/dist/theme/index.cjs +4 -0
- package/dist/theme/index.js +4 -2
- package/dist/theme/tokens.stylex.cjs +33 -0
- package/dist/theme/tokens.stylex.d.ts +53 -0
- package/dist/theme/tokens.stylex.d.ts.map +1 -1
- package/dist/theme/tokens.stylex.js +32 -1
- package/dist/theme.css +160 -37
- package/dist/ui/accordion.cjs +0 -1
- package/dist/ui/accordion.d.ts.map +1 -1
- package/dist/ui/accordion.js +0 -1
- package/dist/ui/alert-dialog.cjs +11 -11
- package/dist/ui/alert-dialog.js +9 -9
- package/dist/ui/aspect-ratio.cjs +2 -2
- package/dist/ui/aspect-ratio.js +1 -1
- package/dist/ui/avatar.cjs +110 -41
- package/dist/ui/avatar.d.ts +7 -1
- package/dist/ui/avatar.d.ts.map +1 -1
- package/dist/ui/avatar.js +110 -41
- package/dist/ui/badge-overflow.cjs +33 -8
- package/dist/ui/badge-overflow.d.ts.map +1 -1
- package/dist/ui/badge-overflow.js +33 -8
- package/dist/ui/breadcrumb.cjs +18 -8
- package/dist/ui/breadcrumb.d.ts.map +1 -1
- package/dist/ui/breadcrumb.js +18 -8
- package/dist/ui/card.cjs +23 -88
- package/dist/ui/card.d.ts +11 -4
- package/dist/ui/card.d.ts.map +1 -1
- package/dist/ui/card.js +23 -88
- package/dist/ui/carousel.cjs +27 -8
- package/dist/ui/carousel.d.ts.map +1 -1
- package/dist/ui/carousel.js +25 -7
- package/dist/ui/code-block.cjs +6 -12
- package/dist/ui/code-block.js +6 -12
- package/dist/ui/collapsible.cjs +4 -4
- package/dist/ui/collapsible.js +6 -6
- package/dist/ui/command.cjs +1 -2
- package/dist/ui/command.d.ts.map +1 -1
- package/dist/ui/command.js +1 -2
- package/dist/ui/context-menu.cjs +42 -48
- package/dist/ui/context-menu.d.ts.map +1 -1
- package/dist/ui/context-menu.js +41 -47
- package/dist/ui/copy-button.cjs +0 -1
- package/dist/ui/copy-button.js +0 -1
- package/dist/ui/dialog.cjs +3 -3
- package/dist/ui/dialog.js +3 -3
- package/dist/ui/drawer.cjs +9 -9
- package/dist/ui/drawer.js +11 -11
- package/dist/ui/dropdown-menu.cjs +4 -4
- package/dist/ui/dropdown-menu.d.ts +3 -1
- package/dist/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/ui/dropdown-menu.js +4 -4
- package/dist/ui/editable.cjs +0 -1
- package/dist/ui/editable.d.ts.map +1 -1
- package/dist/ui/editable.js +0 -1
- package/dist/ui/empty.cjs +6 -5
- package/dist/ui/empty.d.ts +2 -0
- package/dist/ui/empty.d.ts.map +1 -1
- package/dist/ui/empty.js +6 -6
- package/dist/ui/field.cjs +0 -2
- package/dist/ui/field.d.ts.map +1 -1
- package/dist/ui/field.js +0 -2
- package/dist/ui/file-upload.cjs +88 -85
- package/dist/ui/file-upload.d.ts +1 -0
- package/dist/ui/file-upload.d.ts.map +1 -1
- package/dist/ui/file-upload.js +88 -86
- package/dist/ui/form.cjs +54 -66
- package/dist/ui/form.d.ts.map +1 -1
- package/dist/ui/form.js +50 -62
- package/dist/ui/hover-card.cjs +5 -5
- package/dist/ui/hover-card.js +3 -3
- package/dist/ui/input-group.cjs +0 -1
- package/dist/ui/input-group.d.ts.map +1 -1
- package/dist/ui/input-group.js +0 -1
- package/dist/ui/input-otp.cjs +3 -3
- package/dist/ui/input-otp.js +3 -3
- package/dist/ui/input.cjs +69 -7
- package/dist/ui/input.d.ts +3 -1
- package/dist/ui/input.d.ts.map +1 -1
- package/dist/ui/input.js +69 -7
- package/dist/ui/kbd.cjs +22 -16
- package/dist/ui/kbd.d.ts.map +1 -1
- package/dist/ui/kbd.js +22 -16
- package/dist/ui/menubar.cjs +42 -48
- package/dist/ui/menubar.d.ts.map +1 -1
- package/dist/ui/menubar.js +40 -46
- package/dist/ui/navigation-menu.cjs +9 -9
- package/dist/ui/navigation-menu.js +4 -4
- package/dist/ui/pagination.cjs +7 -7
- package/dist/ui/pagination.d.ts.map +1 -1
- package/dist/ui/pagination.js +7 -7
- package/dist/ui/progress.cjs +27 -12
- package/dist/ui/progress.d.ts +3 -1
- package/dist/ui/progress.d.ts.map +1 -1
- package/dist/ui/progress.js +27 -12
- package/dist/ui/resizable.cjs +4 -4
- package/dist/ui/resizable.js +1 -1
- package/dist/ui/responsive-dialog.cjs +1 -1
- package/dist/ui/responsive-dialog.js +1 -1
- package/dist/ui/segmented.cjs +19 -10
- package/dist/ui/segmented.d.ts.map +1 -1
- package/dist/ui/segmented.js +20 -11
- package/dist/ui/sheet.cjs +1 -1
- package/dist/ui/sheet.js +1 -1
- package/dist/ui/sidebar.cjs +9 -5
- package/dist/ui/sidebar.d.ts.map +1 -1
- package/dist/ui/sidebar.js +9 -5
- package/dist/ui/signature-pad.cjs +3 -0
- package/dist/ui/signature-pad.d.ts.map +1 -1
- package/dist/ui/signature-pad.js +3 -0
- package/dist/ui/slider.cjs +7 -8
- package/dist/ui/slider.js +7 -8
- package/dist/ui/sonner.cjs +6 -0
- package/dist/ui/sonner.d.ts +1 -0
- package/dist/ui/sonner.d.ts.map +1 -1
- package/dist/ui/sonner.js +2 -2
- package/dist/ui/stat.cjs +2 -3
- package/dist/ui/stat.d.ts.map +1 -1
- package/dist/ui/stat.js +2 -3
- package/dist/ui/stepper.cjs +107 -70
- package/dist/ui/stepper.d.ts +2 -2
- package/dist/ui/stepper.d.ts.map +1 -1
- package/dist/ui/stepper.js +108 -71
- package/dist/ui/switch.cjs +3 -3
- package/dist/ui/switch.js +3 -3
- package/dist/ui/tabs.cjs +150 -64
- package/dist/ui/tabs.d.ts +34 -5
- package/dist/ui/tabs.d.ts.map +1 -1
- package/dist/ui/tabs.js +148 -62
- package/dist/ui/timeline.cjs +2 -3
- package/dist/ui/timeline.d.ts.map +1 -1
- package/dist/ui/timeline.js +2 -3
- package/dist/ui/toggle-group.cjs +3 -3
- package/dist/ui/toggle-group.js +3 -3
- package/dist/ui/toggle.cjs +2 -2
- package/dist/ui/toggle.js +1 -1
- package/dist/ui/tooltip.cjs +61 -11
- package/dist/ui/tooltip.d.ts +10 -2
- package/dist/ui/tooltip.d.ts.map +1 -1
- package/dist/ui/tooltip.js +61 -11
- package/dist/utils.cjs +72 -0
- package/dist/utils.d.ts +63 -1
- package/dist/utils.d.ts.map +1 -1
- package/dist/utils.js +68 -1
- package/dist/vlrc-theme.css +21 -1
- package/package.json +16 -3
- package/dist/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.cjs +0 -551
- package/dist/node_modules/.pnpm/@floating-ui_core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -542
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs +0 -546
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.8.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -537
- 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 +0 -330
- 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 +0 -319
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs +0 -150
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs +0 -132
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -113
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -129
- package/dist/node_modules/.pnpm/@radix-ui_number@1.1.3/node_modules/@radix-ui/number/dist/index.cjs +0 -11
- package/dist/node_modules/.pnpm/@radix-ui_number@1.1.3/node_modules/@radix-ui/number/dist/index.js +0 -11
- package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.7/node_modules/@radix-ui/primitive/dist/index.cjs +0 -48
- package/dist/node_modules/.pnpm/@radix-ui_primitive@1.1.7/node_modules/@radix-ui/primitive/dist/index.js +0 -43
- 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 +0 -145
- 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 +0 -125
- 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 +0 -38
- 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 +0 -34
- 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 +0 -126
- 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 +0 -118
- 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 +0 -134
- 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 +0 -128
- 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 +0 -541
- 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 +0 -537
- 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 +0 -39
- 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.js +0 -35
- 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 +0 -304
- 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 +0 -272
- 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 +0 -108
- package/dist/node_modules/.pnpm/@radix-ui_react-context@1.2.2_@types_react@19.3.0_react@19.3.1/node_modules/@radix-ui/react-context/dist/index.js +0 -104
- 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 +0 -19
- 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 +0 -16
- 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 +0 -275
- 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 +0 -271
- 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 +0 -53
- 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.js +0 -48
- 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 +0 -215
- 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 +0 -212
- 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 +0 -219
- 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 +0 -209
- 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 +0 -22
- 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 +0 -19
- 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 +0 -802
- 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 +0 -769
- 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 +0 -410
- 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 +0 -376
- 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 +0 -741
- 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 +0 -722
- 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 +0 -246
- 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 +0 -237
- 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 +0 -27
- 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 +0 -23
- 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 +0 -148
- 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 +0 -145
- 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 +0 -55
- package/dist/node_modules/.pnpm/@radix-ui_react-primitive@2.1.10_@types_react-dom@19.3.0_@types_react@19.3.0__@types_re_b879c40dbdb8ea08e1db9842f10f20a8/node_modules/@radix-ui/react-primitive/dist/index.js +0 -50
- 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 +0 -223
- 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 +0 -216
- 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 +0 -576
- 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 +0 -560
- 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 +0 -202
- 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 +0 -190
- 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 +0 -159
- 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 +0 -149
- 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 +0 -158
- 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 +0 -152
- 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 +0 -39
- 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 +0 -35
- 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 +0 -19
- 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.js +0 -16
- 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 +0 -109
- 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 +0 -105
- 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 +0 -28
- 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 +0 -25
- 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 +0 -33
- 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.js +0 -30
- 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 +0 -7
- 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.js +0 -4
- 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 +0 -25
- 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.js +0 -22
- 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 +0 -47
- 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 +0 -44
- 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 +0 -38
- 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 +0 -33
- package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.cjs +0 -106
- package/dist/node_modules/.pnpm/aria-hidden@1.2.6/node_modules/aria-hidden/dist/es2015/index.js +0 -106
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/addLeadingZeros.cjs +0 -5
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/addLeadingZeros.js +0 -5
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.cjs +0 -6
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/defaultOptions.js +0 -6
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/formatters.cjs +0 -423
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/formatters.js +0 -423
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/lightFormatters.cjs +0 -45
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/lightFormatters.js +0 -45
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/longFormatters.cjs +0 -42
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/format/longFormatters.js +0 -42
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.cjs +0 -20
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js +0 -20
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.cjs +0 -7
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/normalizeDates.js +0 -7
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/protectedTokens.cjs +0 -27
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/_lib/protectedTokens.js +0 -25
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constants.cjs +0 -45
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constants.js +0 -42
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.cjs +0 -45
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/constructFrom.js +0 -44
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.cjs +0 -49
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/differenceInCalendarDays.js +0 -48
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.cjs +0 -358
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/format.js +0 -354
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDayOfYear.cjs +0 -31
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getDayOfYear.js +0 -30
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeek.cjs +0 -35
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeek.js +0 -34
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeekYear.cjs +0 -44
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getISOWeekYear.js +0 -43
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeek.cjs +0 -49
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeek.js +0 -48
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeekYear.cjs +0 -61
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/getWeekYear.js +0 -60
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.cjs +0 -38
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.js +0 -37
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isValid.cjs +0 -39
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isValid.js +0 -38
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.cjs +0 -8
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildFormatLongFn.js +0 -8
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.cjs +0 -50
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildLocalizeFn.js +0 -50
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.cjs +0 -27
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchFn.js +0 -27
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.cjs +0 -18
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/_lib/buildMatchPatternFn.js +0 -18
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.cjs +0 -77
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatDistance.js +0 -77
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatLong.cjs +0 -31
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatLong.js +0 -31
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.cjs +0 -11
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/formatRelative.js +0 -11
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/localize.cjs +0 -210
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/localize.js +0 -210
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/match.cjs +0 -122
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US/_lib/match.js +0 -123
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US.cjs +0 -28
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/locale/en-US.js +0 -27
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfDay.cjs +0 -34
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfDay.js +0 -33
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeek.cjs +0 -37
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeek.js +0 -36
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeekYear.cjs +0 -41
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfISOWeekYear.js +0 -40
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.cjs +0 -45
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeek.js +0 -44
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeekYear.cjs +0 -56
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfWeekYear.js +0 -55
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfYear.cjs +0 -35
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/startOfYear.js +0 -34
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/toDate.cjs +0 -45
- package/dist/node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/toDate.js +0 -44
- 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 +0 -34
- 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 +0 -34
- package/dist/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 -39
- package/dist/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 -36
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.cjs +0 -1391
- package/dist/node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.js +0 -1391
- package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.cjs +0 -7
- package/dist/node_modules/.pnpm/get-nonce@1.0.1/node_modules/get-nonce/dist/es2015/index.js +0 -4
- 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 +0 -387
- 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.js +0 -383
- package/dist/node_modules/.pnpm/react-hook-form@7.83.0_react@19.3.1/node_modules/react-hook-form/dist/index.esm.cjs +0 -625
- package/dist/node_modules/.pnpm/react-hook-form@7.83.0_react@19.3.1/node_modules/react-hook-form/dist/index.esm.js +0 -616
- 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 +0 -1033
- 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.js +0 -1026
- 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 +0 -47
- 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 +0 -43
- 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/constants.cjs +0 -13
- 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/constants.js +0 -10
- 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 +0 -4
- 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 +0 -3
- 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/utils.cjs +0 -36
- 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/utils.js +0 -35
- 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 +0 -15
- 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 +0 -13
- 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 +0 -167
- 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 +0 -163
- 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 +0 -63
- 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 +0 -61
- 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/aggresiveCapture.cjs +0 -14
- 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/aggresiveCapture.js +0 -14
- 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/handleScroll.cjs +0 -84
- 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/handleScroll.js +0 -83
- 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 +0 -3
- 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 +0 -4
- 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 +0 -6
- 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 +0 -6
- 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 +0 -1617
- 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.js +0 -1600
- 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 +0 -18
- 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 +0 -18
- 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 +0 -26
- 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 +0 -24
- 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 +0 -4
- 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 +0 -3
- 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 +0 -40
- 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 +0 -40
- package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.cjs +0 -36
- package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js +0 -29
- 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/assignRef.cjs +0 -20
- 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/assignRef.js +0 -20
- 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 +0 -46
- 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 +0 -44
- 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/useRef.cjs +0 -39
- 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/useRef.js +0 -39
- 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 +0 -18
- 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 +0 -16
- 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 +0 -81
- 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 +0 -81
- 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 +0 -1252
- 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.js +0 -1243
|
@@ -1,542 +0,0 @@
|
|
|
1
|
-
import { clamp, evaluate, getAlignment, getAlignmentAxis, getAlignmentSides, getAxisLength, getExpandedPlacements, getOppositeAxis, getOppositeAxisPlacements, getOppositePlacement, getPaddingObject, getSide, getSideAxis, max, min, rectToClientRect, sides } from "../../../../../@floating-ui_utils@0.2.12/node_modules/@floating-ui/utils/dist/floating-ui.utils.js";
|
|
2
|
-
// ../../node_modules/.pnpm/@floating-ui+core@1.8.0/node_modules/@floating-ui/core/dist/floating-ui.core.mjs
|
|
3
|
-
function computeCoordsFromPlacement(_ref, placement, rtl) {
|
|
4
|
-
let { reference, floating } = _ref;
|
|
5
|
-
const sideAxis = getSideAxis(placement);
|
|
6
|
-
const alignmentAxis = getAlignmentAxis(placement);
|
|
7
|
-
const alignLength = getAxisLength(alignmentAxis);
|
|
8
|
-
const side = getSide(placement);
|
|
9
|
-
const isVertical = sideAxis === "y";
|
|
10
|
-
const commonX = reference.x + reference.width / 2 - floating.width / 2;
|
|
11
|
-
const commonY = reference.y + reference.height / 2 - floating.height / 2;
|
|
12
|
-
const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
|
|
13
|
-
let coords;
|
|
14
|
-
switch (side) {
|
|
15
|
-
case "top":
|
|
16
|
-
coords = {
|
|
17
|
-
x: commonX,
|
|
18
|
-
y: reference.y - floating.height
|
|
19
|
-
};
|
|
20
|
-
break;
|
|
21
|
-
case "bottom":
|
|
22
|
-
coords = {
|
|
23
|
-
x: commonX,
|
|
24
|
-
y: reference.y + reference.height
|
|
25
|
-
};
|
|
26
|
-
break;
|
|
27
|
-
case "right":
|
|
28
|
-
coords = {
|
|
29
|
-
x: reference.x + reference.width,
|
|
30
|
-
y: commonY
|
|
31
|
-
};
|
|
32
|
-
break;
|
|
33
|
-
case "left":
|
|
34
|
-
coords = {
|
|
35
|
-
x: reference.x - floating.width,
|
|
36
|
-
y: commonY
|
|
37
|
-
};
|
|
38
|
-
break;
|
|
39
|
-
default: coords = {
|
|
40
|
-
x: reference.x,
|
|
41
|
-
y: reference.y
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
const alignment = getAlignment(placement);
|
|
45
|
-
if (alignment) coords[alignmentAxis] += commonAlign * (alignment === "end" ? 1 : -1) * (rtl && isVertical ? -1 : 1);
|
|
46
|
-
return coords;
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* Resolves with an object of overflow side offsets that determine how much the
|
|
50
|
-
* element is overflowing a given clipping boundary on each side.
|
|
51
|
-
* - positive = overflowing the boundary by that number of pixels
|
|
52
|
-
* - negative = how many pixels left before it will overflow
|
|
53
|
-
* - 0 = lies flush with the boundary
|
|
54
|
-
* @see https://floating-ui.com/docs/detectOverflow
|
|
55
|
-
*/
|
|
56
|
-
async function detectOverflow(state, options) {
|
|
57
|
-
var _await$platform$isEle;
|
|
58
|
-
if (options === void 0) options = {};
|
|
59
|
-
const { x, y, platform, rects, elements, strategy } = state;
|
|
60
|
-
const { boundary = "clippingAncestors", rootBoundary = "viewport", elementContext = "floating", altBoundary = false, padding = 0 } = evaluate(options, state);
|
|
61
|
-
const paddingObject = getPaddingObject(padding);
|
|
62
|
-
const element = elements[altBoundary ? elementContext === "floating" ? "reference" : "floating" : elementContext];
|
|
63
|
-
const clippingClientRect = rectToClientRect(await platform.getClippingRect({
|
|
64
|
-
element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating)),
|
|
65
|
-
boundary,
|
|
66
|
-
rootBoundary,
|
|
67
|
-
strategy
|
|
68
|
-
}));
|
|
69
|
-
const rect = elementContext === "floating" ? {
|
|
70
|
-
x,
|
|
71
|
-
y,
|
|
72
|
-
width: rects.floating.width,
|
|
73
|
-
height: rects.floating.height
|
|
74
|
-
} : rects.reference;
|
|
75
|
-
const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
|
|
76
|
-
const offsetScale = await (platform.isElement == null ? void 0 : platform.isElement(offsetParent)) && await (platform.getScale == null ? void 0 : platform.getScale(offsetParent)) || {
|
|
77
|
-
x: 1,
|
|
78
|
-
y: 1
|
|
79
|
-
};
|
|
80
|
-
const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
81
|
-
elements,
|
|
82
|
-
rect,
|
|
83
|
-
offsetParent,
|
|
84
|
-
strategy
|
|
85
|
-
}) : rect);
|
|
86
|
-
return {
|
|
87
|
-
top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
|
|
88
|
-
bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
|
|
89
|
-
left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
|
|
90
|
-
right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
var MAX_RESET_COUNT = 50;
|
|
94
|
-
/**
|
|
95
|
-
* Computes the `x` and `y` coordinates that will place the floating element
|
|
96
|
-
* next to a given reference element.
|
|
97
|
-
*
|
|
98
|
-
* This export does not have any `platform` interface logic. You will need to
|
|
99
|
-
* write one for the platform you are using Floating UI with.
|
|
100
|
-
*/
|
|
101
|
-
var computePosition = async (reference, floating, config) => {
|
|
102
|
-
const { placement = "bottom", strategy = "absolute", middleware = [], platform } = config;
|
|
103
|
-
const platformWithDetectOverflow = platform.detectOverflow ? platform : {
|
|
104
|
-
...platform,
|
|
105
|
-
detectOverflow
|
|
106
|
-
};
|
|
107
|
-
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
|
|
108
|
-
let rects = await platform.getElementRects({
|
|
109
|
-
reference,
|
|
110
|
-
floating,
|
|
111
|
-
strategy
|
|
112
|
-
});
|
|
113
|
-
let { x, y } = computeCoordsFromPlacement(rects, placement, rtl);
|
|
114
|
-
let statefulPlacement = placement;
|
|
115
|
-
let resetCount = 0;
|
|
116
|
-
const middlewareData = {};
|
|
117
|
-
for (let i = 0; i < middleware.length; i++) {
|
|
118
|
-
const currentMiddleware = middleware[i];
|
|
119
|
-
if (!currentMiddleware) continue;
|
|
120
|
-
const { name, fn } = currentMiddleware;
|
|
121
|
-
const { x: nextX, y: nextY, data, reset } = await fn({
|
|
122
|
-
x,
|
|
123
|
-
y,
|
|
124
|
-
initialPlacement: placement,
|
|
125
|
-
placement: statefulPlacement,
|
|
126
|
-
strategy,
|
|
127
|
-
middlewareData,
|
|
128
|
-
rects,
|
|
129
|
-
platform: platformWithDetectOverflow,
|
|
130
|
-
elements: {
|
|
131
|
-
reference,
|
|
132
|
-
floating
|
|
133
|
-
}
|
|
134
|
-
});
|
|
135
|
-
x = nextX != null ? nextX : x;
|
|
136
|
-
y = nextY != null ? nextY : y;
|
|
137
|
-
middlewareData[name] = {
|
|
138
|
-
...middlewareData[name],
|
|
139
|
-
...data
|
|
140
|
-
};
|
|
141
|
-
if (reset && resetCount < MAX_RESET_COUNT) {
|
|
142
|
-
resetCount++;
|
|
143
|
-
if (typeof reset === "object") {
|
|
144
|
-
if (reset.placement) statefulPlacement = reset.placement;
|
|
145
|
-
if (reset.rects) rects = reset.rects === true ? await platform.getElementRects({
|
|
146
|
-
reference,
|
|
147
|
-
floating,
|
|
148
|
-
strategy
|
|
149
|
-
}) : reset.rects;
|
|
150
|
-
({x, y} = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
|
|
151
|
-
}
|
|
152
|
-
i = -1;
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
return {
|
|
156
|
-
x,
|
|
157
|
-
y,
|
|
158
|
-
placement: statefulPlacement,
|
|
159
|
-
strategy,
|
|
160
|
-
middlewareData
|
|
161
|
-
};
|
|
162
|
-
};
|
|
163
|
-
/**
|
|
164
|
-
* Provides data to position an inner element of the floating element so that it
|
|
165
|
-
* appears centered to the reference element.
|
|
166
|
-
* @see https://floating-ui.com/docs/arrow
|
|
167
|
-
*/
|
|
168
|
-
var arrow = (options) => ({
|
|
169
|
-
name: "arrow",
|
|
170
|
-
options,
|
|
171
|
-
async fn(state) {
|
|
172
|
-
const { x, y, placement, rects, platform, elements, middlewareData } = state;
|
|
173
|
-
const { element, padding = 0 } = evaluate(options, state) || {};
|
|
174
|
-
if (element == null) return {};
|
|
175
|
-
const paddingObject = getPaddingObject(padding);
|
|
176
|
-
const coords = {
|
|
177
|
-
x,
|
|
178
|
-
y
|
|
179
|
-
};
|
|
180
|
-
const axis = getAlignmentAxis(placement);
|
|
181
|
-
const length = getAxisLength(axis);
|
|
182
|
-
const arrowDimensions = await platform.getDimensions(element);
|
|
183
|
-
const isYAxis = axis === "y";
|
|
184
|
-
const minProp = isYAxis ? "top" : "left";
|
|
185
|
-
const maxProp = isYAxis ? "bottom" : "right";
|
|
186
|
-
const clientProp = isYAxis ? "clientHeight" : "clientWidth";
|
|
187
|
-
const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
|
|
188
|
-
const startDiff = coords[axis] - rects.reference[axis];
|
|
189
|
-
const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));
|
|
190
|
-
let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
|
|
191
|
-
if (!clientSize || !await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent))) clientSize = elements.floating[clientProp] || rects.floating[length];
|
|
192
|
-
const centerToReference = endDiff / 2 - startDiff / 2;
|
|
193
|
-
const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
|
|
194
|
-
const minPadding = min(paddingObject[minProp], largestPossiblePadding);
|
|
195
|
-
const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
|
|
196
|
-
const max = clientSize - arrowDimensions[length] - maxPadding;
|
|
197
|
-
const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
|
|
198
|
-
const offset = clamp(minPadding, center, max);
|
|
199
|
-
const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset && rects.reference[length] / 2 - (center < minPadding ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
|
|
200
|
-
const alignmentOffset = shouldAddOffset ? center < minPadding ? center - minPadding : center - max : 0;
|
|
201
|
-
return {
|
|
202
|
-
[axis]: coords[axis] + alignmentOffset,
|
|
203
|
-
data: {
|
|
204
|
-
[axis]: offset,
|
|
205
|
-
centerOffset: center - offset - alignmentOffset,
|
|
206
|
-
...shouldAddOffset && { alignmentOffset }
|
|
207
|
-
},
|
|
208
|
-
reset: shouldAddOffset
|
|
209
|
-
};
|
|
210
|
-
}
|
|
211
|
-
});
|
|
212
|
-
/**
|
|
213
|
-
* Optimizes the visibility of the floating element by flipping the `placement`
|
|
214
|
-
* in order to keep it in view when the preferred placement(s) will overflow the
|
|
215
|
-
* clipping boundary. Alternative to `autoPlacement`.
|
|
216
|
-
* @see https://floating-ui.com/docs/flip
|
|
217
|
-
*/
|
|
218
|
-
var flip = function(options) {
|
|
219
|
-
if (options === void 0) options = {};
|
|
220
|
-
return {
|
|
221
|
-
name: "flip",
|
|
222
|
-
options,
|
|
223
|
-
async fn(state) {
|
|
224
|
-
var _middlewareData$arrow, _middlewareData$flip;
|
|
225
|
-
const { placement, middlewareData, rects, initialPlacement, platform, elements } = state;
|
|
226
|
-
const { mainAxis: checkMainAxis = true, crossAxis: checkCrossAxis = true, fallbackPlacements: specifiedFallbackPlacements, fallbackStrategy = "bestFit", fallbackAxisSideDirection = "none", flipAlignment = true, ...detectOverflowOptions } = evaluate(options, state);
|
|
227
|
-
if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) return {};
|
|
228
|
-
const side = getSide(placement);
|
|
229
|
-
const initialSideAxis = getSideAxis(initialPlacement);
|
|
230
|
-
const isBasePlacement = getSide(initialPlacement) === initialPlacement;
|
|
231
|
-
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
232
|
-
const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
|
|
233
|
-
const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== "none";
|
|
234
|
-
if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
|
|
235
|
-
const placements = [initialPlacement, ...fallbackPlacements];
|
|
236
|
-
const overflow = await platform.detectOverflow(state, detectOverflowOptions);
|
|
237
|
-
const overflows = [];
|
|
238
|
-
let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
|
|
239
|
-
if (checkMainAxis) overflows.push(overflow[side]);
|
|
240
|
-
if (checkCrossAxis) {
|
|
241
|
-
const sides = getAlignmentSides(placement, rects, rtl);
|
|
242
|
-
overflows.push(overflow[sides[0]], overflow[sides[1]]);
|
|
243
|
-
}
|
|
244
|
-
overflowsData = [...overflowsData, {
|
|
245
|
-
placement,
|
|
246
|
-
overflows
|
|
247
|
-
}];
|
|
248
|
-
if (!overflows.every((side) => side <= 0)) {
|
|
249
|
-
var _middlewareData$flip2, _overflowsData$filter;
|
|
250
|
-
const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
|
|
251
|
-
const nextPlacement = placements[nextIndex];
|
|
252
|
-
if (nextPlacement) {
|
|
253
|
-
if (!(checkCrossAxis === "alignment" ? initialSideAxis !== getSideAxis(nextPlacement) : false) || overflowsData.every((d) => getSideAxis(d.placement) === initialSideAxis ? d.overflows[0] > 0 : true)) return {
|
|
254
|
-
data: {
|
|
255
|
-
index: nextIndex,
|
|
256
|
-
overflows: overflowsData
|
|
257
|
-
},
|
|
258
|
-
reset: { placement: nextPlacement }
|
|
259
|
-
};
|
|
260
|
-
}
|
|
261
|
-
let resetPlacement = (_overflowsData$filter = overflowsData.filter((d) => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
|
|
262
|
-
if (!resetPlacement) switch (fallbackStrategy) {
|
|
263
|
-
case "bestFit": {
|
|
264
|
-
var _overflowsData$filter2;
|
|
265
|
-
const placement = (_overflowsData$filter2 = overflowsData.filter((d) => {
|
|
266
|
-
if (hasFallbackAxisSideDirection) {
|
|
267
|
-
const currentSideAxis = getSideAxis(d.placement);
|
|
268
|
-
return currentSideAxis === initialSideAxis || currentSideAxis === "y";
|
|
269
|
-
}
|
|
270
|
-
return true;
|
|
271
|
-
}).map((d) => [d.placement, d.overflows.filter((overflow) => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];
|
|
272
|
-
if (placement) resetPlacement = placement;
|
|
273
|
-
break;
|
|
274
|
-
}
|
|
275
|
-
case "initialPlacement": resetPlacement = initialPlacement;
|
|
276
|
-
}
|
|
277
|
-
if (placement !== resetPlacement) return { reset: { placement: resetPlacement } };
|
|
278
|
-
}
|
|
279
|
-
return {};
|
|
280
|
-
}
|
|
281
|
-
};
|
|
282
|
-
};
|
|
283
|
-
function getSideOffsets(overflow, rect) {
|
|
284
|
-
return {
|
|
285
|
-
top: overflow.top - rect.height,
|
|
286
|
-
right: overflow.right - rect.width,
|
|
287
|
-
bottom: overflow.bottom - rect.height,
|
|
288
|
-
left: overflow.left - rect.width
|
|
289
|
-
};
|
|
290
|
-
}
|
|
291
|
-
function isAnySideFullyClipped(overflow) {
|
|
292
|
-
return sides.some((side) => overflow[side] >= 0);
|
|
293
|
-
}
|
|
294
|
-
/**
|
|
295
|
-
* Provides data to hide the floating element in applicable situations, such as
|
|
296
|
-
* when it is not in the same clipping context as the reference element.
|
|
297
|
-
* @see https://floating-ui.com/docs/hide
|
|
298
|
-
*/
|
|
299
|
-
var hide = function(options) {
|
|
300
|
-
if (options === void 0) options = {};
|
|
301
|
-
return {
|
|
302
|
-
name: "hide",
|
|
303
|
-
options,
|
|
304
|
-
async fn(state) {
|
|
305
|
-
const { rects, platform } = state;
|
|
306
|
-
const { strategy = "referenceHidden", ...detectOverflowOptions } = evaluate(options, state);
|
|
307
|
-
switch (strategy) {
|
|
308
|
-
case "referenceHidden": {
|
|
309
|
-
const offsets = getSideOffsets(await platform.detectOverflow(state, {
|
|
310
|
-
...detectOverflowOptions,
|
|
311
|
-
elementContext: "reference"
|
|
312
|
-
}), rects.reference);
|
|
313
|
-
return { data: {
|
|
314
|
-
referenceHiddenOffsets: offsets,
|
|
315
|
-
referenceHidden: isAnySideFullyClipped(offsets)
|
|
316
|
-
} };
|
|
317
|
-
}
|
|
318
|
-
case "escaped": {
|
|
319
|
-
const offsets = getSideOffsets(await platform.detectOverflow(state, {
|
|
320
|
-
...detectOverflowOptions,
|
|
321
|
-
altBoundary: true
|
|
322
|
-
}), rects.floating);
|
|
323
|
-
return { data: {
|
|
324
|
-
escapedOffsets: offsets,
|
|
325
|
-
escaped: isAnySideFullyClipped(offsets)
|
|
326
|
-
} };
|
|
327
|
-
}
|
|
328
|
-
default: return {};
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
};
|
|
332
|
-
};
|
|
333
|
-
var originSides = /*#__PURE__*/ new Set(["left", "top"]);
|
|
334
|
-
async function convertValueToCoords(state, options) {
|
|
335
|
-
const { placement, platform, elements } = state;
|
|
336
|
-
const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
|
|
337
|
-
const side = getSide(placement);
|
|
338
|
-
const alignment = getAlignment(placement);
|
|
339
|
-
const isVertical = getSideAxis(placement) === "y";
|
|
340
|
-
const mainAxisMulti = originSides.has(side) ? -1 : 1;
|
|
341
|
-
const crossAxisMulti = rtl && isVertical ? -1 : 1;
|
|
342
|
-
const rawValue = evaluate(options, state);
|
|
343
|
-
let { mainAxis, crossAxis, alignmentAxis } = typeof rawValue === "number" ? {
|
|
344
|
-
mainAxis: rawValue,
|
|
345
|
-
crossAxis: 0,
|
|
346
|
-
alignmentAxis: null
|
|
347
|
-
} : {
|
|
348
|
-
mainAxis: rawValue.mainAxis || 0,
|
|
349
|
-
crossAxis: rawValue.crossAxis || 0,
|
|
350
|
-
alignmentAxis: rawValue.alignmentAxis
|
|
351
|
-
};
|
|
352
|
-
if (alignment && typeof alignmentAxis === "number") crossAxis = alignment === "end" ? alignmentAxis * -1 : alignmentAxis;
|
|
353
|
-
return isVertical ? {
|
|
354
|
-
x: crossAxis * crossAxisMulti,
|
|
355
|
-
y: mainAxis * mainAxisMulti
|
|
356
|
-
} : {
|
|
357
|
-
x: mainAxis * mainAxisMulti,
|
|
358
|
-
y: crossAxis * crossAxisMulti
|
|
359
|
-
};
|
|
360
|
-
}
|
|
361
|
-
/**
|
|
362
|
-
* Modifies the placement by translating the floating element along the
|
|
363
|
-
* specified axes.
|
|
364
|
-
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
|
365
|
-
* object may be passed.
|
|
366
|
-
* @see https://floating-ui.com/docs/offset
|
|
367
|
-
*/
|
|
368
|
-
var offset = function(options) {
|
|
369
|
-
if (options === void 0) options = 0;
|
|
370
|
-
return {
|
|
371
|
-
name: "offset",
|
|
372
|
-
options,
|
|
373
|
-
async fn(state) {
|
|
374
|
-
var _middlewareData$offse, _middlewareData$arrow;
|
|
375
|
-
const { x, y, placement, middlewareData } = state;
|
|
376
|
-
const diffCoords = await convertValueToCoords(state, options);
|
|
377
|
-
if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) return {};
|
|
378
|
-
return {
|
|
379
|
-
x: x + diffCoords.x,
|
|
380
|
-
y: y + diffCoords.y,
|
|
381
|
-
data: {
|
|
382
|
-
...diffCoords,
|
|
383
|
-
placement
|
|
384
|
-
}
|
|
385
|
-
};
|
|
386
|
-
}
|
|
387
|
-
};
|
|
388
|
-
};
|
|
389
|
-
/**
|
|
390
|
-
* Optimizes the visibility of the floating element by shifting it in order to
|
|
391
|
-
* keep it in view when it will overflow the clipping boundary.
|
|
392
|
-
* @see https://floating-ui.com/docs/shift
|
|
393
|
-
*/
|
|
394
|
-
var shift = function(options) {
|
|
395
|
-
if (options === void 0) options = {};
|
|
396
|
-
return {
|
|
397
|
-
name: "shift",
|
|
398
|
-
options,
|
|
399
|
-
async fn(state) {
|
|
400
|
-
const { x, y, placement, platform } = state;
|
|
401
|
-
const { mainAxis: checkMainAxis = true, crossAxis: checkCrossAxis = false, limiter = { fn: (_ref) => {
|
|
402
|
-
let { x, y } = _ref;
|
|
403
|
-
return {
|
|
404
|
-
x,
|
|
405
|
-
y
|
|
406
|
-
};
|
|
407
|
-
} }, ...detectOverflowOptions } = evaluate(options, state);
|
|
408
|
-
const coords = {
|
|
409
|
-
x,
|
|
410
|
-
y
|
|
411
|
-
};
|
|
412
|
-
const overflow = await platform.detectOverflow(state, detectOverflowOptions);
|
|
413
|
-
const crossAxis = getSideAxis(placement);
|
|
414
|
-
const mainAxis = getOppositeAxis(crossAxis);
|
|
415
|
-
let mainAxisCoord = coords[mainAxis];
|
|
416
|
-
let crossAxisCoord = coords[crossAxis];
|
|
417
|
-
const clampCoord = (axis, coord) => clamp(coord + overflow[axis === "y" ? "top" : "left"], coord, coord - overflow[axis === "y" ? "bottom" : "right"]);
|
|
418
|
-
if (checkMainAxis) mainAxisCoord = clampCoord(mainAxis, mainAxisCoord);
|
|
419
|
-
if (checkCrossAxis) crossAxisCoord = clampCoord(crossAxis, crossAxisCoord);
|
|
420
|
-
const limitedCoords = limiter.fn({
|
|
421
|
-
...state,
|
|
422
|
-
[mainAxis]: mainAxisCoord,
|
|
423
|
-
[crossAxis]: crossAxisCoord
|
|
424
|
-
});
|
|
425
|
-
return {
|
|
426
|
-
...limitedCoords,
|
|
427
|
-
data: {
|
|
428
|
-
x: limitedCoords.x - x,
|
|
429
|
-
y: limitedCoords.y - y,
|
|
430
|
-
enabled: {
|
|
431
|
-
[mainAxis]: checkMainAxis,
|
|
432
|
-
[crossAxis]: checkCrossAxis
|
|
433
|
-
}
|
|
434
|
-
}
|
|
435
|
-
};
|
|
436
|
-
}
|
|
437
|
-
};
|
|
438
|
-
};
|
|
439
|
-
/**
|
|
440
|
-
* Built-in `limiter` that will stop `shift()` at a certain point.
|
|
441
|
-
*/
|
|
442
|
-
var limitShift = function(options) {
|
|
443
|
-
if (options === void 0) options = {};
|
|
444
|
-
return {
|
|
445
|
-
options,
|
|
446
|
-
fn(state) {
|
|
447
|
-
var _rawOffset$mainAxis, _rawOffset$crossAxis;
|
|
448
|
-
const { x, y, placement, rects, middlewareData } = state;
|
|
449
|
-
const { offset = 0, mainAxis: checkMainAxis = true, crossAxis: checkCrossAxis = true } = evaluate(options, state);
|
|
450
|
-
const coords = {
|
|
451
|
-
x,
|
|
452
|
-
y
|
|
453
|
-
};
|
|
454
|
-
const crossAxis = getSideAxis(placement);
|
|
455
|
-
const mainAxis = getOppositeAxis(crossAxis);
|
|
456
|
-
let mainAxisCoord = coords[mainAxis];
|
|
457
|
-
let crossAxisCoord = coords[crossAxis];
|
|
458
|
-
const rawOffset = evaluate(offset, state);
|
|
459
|
-
const computedOffset = typeof rawOffset === "number" ? {
|
|
460
|
-
mainAxis: rawOffset,
|
|
461
|
-
crossAxis: 0
|
|
462
|
-
} : {
|
|
463
|
-
mainAxis: (_rawOffset$mainAxis = rawOffset.mainAxis) != null ? _rawOffset$mainAxis : 0,
|
|
464
|
-
crossAxis: (_rawOffset$crossAxis = rawOffset.crossAxis) != null ? _rawOffset$crossAxis : 0
|
|
465
|
-
};
|
|
466
|
-
if (checkMainAxis) {
|
|
467
|
-
const len = mainAxis === "y" ? "height" : "width";
|
|
468
|
-
const limitMin = rects.reference[mainAxis] - rects.floating[len] + computedOffset.mainAxis;
|
|
469
|
-
const limitMax = rects.reference[mainAxis] + rects.reference[len] - computedOffset.mainAxis;
|
|
470
|
-
if (mainAxisCoord < limitMin) mainAxisCoord = limitMin;
|
|
471
|
-
else if (mainAxisCoord > limitMax) mainAxisCoord = limitMax;
|
|
472
|
-
}
|
|
473
|
-
if (checkCrossAxis) {
|
|
474
|
-
var _middlewareData$offse, _middlewareData$offse2;
|
|
475
|
-
const len = mainAxis === "y" ? "width" : "height";
|
|
476
|
-
const isOriginSide = originSides.has(getSide(placement));
|
|
477
|
-
const limitMin = rects.reference[crossAxis] - rects.floating[len] + (isOriginSide ? ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse[crossAxis]) || 0 : 0) + (isOriginSide ? 0 : computedOffset.crossAxis);
|
|
478
|
-
const limitMax = rects.reference[crossAxis] + rects.reference[len] + (isOriginSide ? 0 : ((_middlewareData$offse2 = middlewareData.offset) == null ? void 0 : _middlewareData$offse2[crossAxis]) || 0) - (isOriginSide ? computedOffset.crossAxis : 0);
|
|
479
|
-
if (crossAxisCoord < limitMin) crossAxisCoord = limitMin;
|
|
480
|
-
else if (crossAxisCoord > limitMax) crossAxisCoord = limitMax;
|
|
481
|
-
}
|
|
482
|
-
return {
|
|
483
|
-
[mainAxis]: mainAxisCoord,
|
|
484
|
-
[crossAxis]: crossAxisCoord
|
|
485
|
-
};
|
|
486
|
-
}
|
|
487
|
-
};
|
|
488
|
-
};
|
|
489
|
-
/**
|
|
490
|
-
* Provides data that allows you to change the size of the floating element —
|
|
491
|
-
* for instance, prevent it from overflowing the clipping boundary or match the
|
|
492
|
-
* width of the reference element.
|
|
493
|
-
* @see https://floating-ui.com/docs/size
|
|
494
|
-
*/
|
|
495
|
-
var size = function(options) {
|
|
496
|
-
if (options === void 0) options = {};
|
|
497
|
-
return {
|
|
498
|
-
name: "size",
|
|
499
|
-
options,
|
|
500
|
-
async fn(state) {
|
|
501
|
-
const { placement, rects, platform, elements } = state;
|
|
502
|
-
const { apply = () => {}, ...detectOverflowOptions } = evaluate(options, state);
|
|
503
|
-
const overflow = await platform.detectOverflow(state, detectOverflowOptions);
|
|
504
|
-
const side = getSide(placement);
|
|
505
|
-
const alignment = getAlignment(placement);
|
|
506
|
-
const isYAxis = getSideAxis(placement) === "y";
|
|
507
|
-
const { width, height } = rects.floating;
|
|
508
|
-
let heightSide;
|
|
509
|
-
let widthSide;
|
|
510
|
-
if (side === "top" || side === "bottom") {
|
|
511
|
-
heightSide = side;
|
|
512
|
-
widthSide = alignment === (await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)) ? "start" : "end") ? "left" : "right";
|
|
513
|
-
} else {
|
|
514
|
-
widthSide = side;
|
|
515
|
-
heightSide = alignment === "end" ? "top" : "bottom";
|
|
516
|
-
}
|
|
517
|
-
const maximumClippingHeight = height - overflow.top - overflow.bottom;
|
|
518
|
-
const maximumClippingWidth = width - overflow.left - overflow.right;
|
|
519
|
-
const overflowAvailableHeight = min(height - overflow[heightSide], maximumClippingHeight);
|
|
520
|
-
const overflowAvailableWidth = min(width - overflow[widthSide], maximumClippingWidth);
|
|
521
|
-
const shiftData = state.middlewareData.shift;
|
|
522
|
-
const noShift = !shiftData;
|
|
523
|
-
let availableHeight = overflowAvailableHeight;
|
|
524
|
-
let availableWidth = overflowAvailableWidth;
|
|
525
|
-
if (shiftData != null && shiftData.enabled.x) availableWidth = maximumClippingWidth;
|
|
526
|
-
if (shiftData != null && shiftData.enabled.y) availableHeight = maximumClippingHeight;
|
|
527
|
-
if (noShift && !alignment) {
|
|
528
|
-
if (isYAxis) availableWidth = width - 2 * max(overflow.left, overflow.right);
|
|
529
|
-
else availableHeight = height - 2 * max(overflow.top, overflow.bottom);
|
|
530
|
-
}
|
|
531
|
-
await apply({
|
|
532
|
-
...state,
|
|
533
|
-
availableWidth,
|
|
534
|
-
availableHeight
|
|
535
|
-
});
|
|
536
|
-
const nextDimensions = await platform.getDimensions(elements.floating);
|
|
537
|
-
if (width !== nextDimensions.width || height !== nextDimensions.height) return { reset: { rects: true } };
|
|
538
|
-
return {};
|
|
539
|
-
}
|
|
540
|
-
};
|
|
541
|
-
};
|
|
542
|
-
export { arrow, computePosition, detectOverflow, flip, hide, limitShift, offset, rectToClientRect, shift, size };
|