@vlrc-fe/components 3.0.6 → 3.2.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 +57 -0
- package/README.md +38 -23
- package/dist/ConfirmModal.cjs +29 -4
- package/dist/ConfirmModal.d.ts.map +1 -1
- package/dist/ConfirmModal.js +29 -4
- package/dist/DataTable/DataTable.cjs +8 -4
- package/dist/DataTable/DataTable.d.ts +1 -1
- package/dist/DataTable/DataTable.d.ts.map +1 -1
- package/dist/DataTable/DataTable.js +8 -4
- package/dist/DataTable/components/DataTableFacetedFilter.cjs +0 -2
- package/dist/DataTable/components/DataTableFacetedFilter.js +0 -2
- package/dist/DataTable/components/DataTablePagination.cjs +48 -175
- package/dist/DataTable/components/DataTablePagination.d.ts +2 -1
- package/dist/DataTable/components/DataTablePagination.d.ts.map +1 -1
- package/dist/DataTable/components/DataTablePagination.js +48 -175
- package/dist/DataTable/components/DataTableRowActions.cjs +1 -1
- package/dist/DataTable/components/DataTableRowActions.js +1 -1
- package/dist/DataTable/components/DataTableTable.cjs +43 -78
- package/dist/DataTable/components/DataTableTable.d.ts +2 -1
- package/dist/DataTable/components/DataTableTable.d.ts.map +1 -1
- package/dist/DataTable/components/DataTableTable.js +43 -78
- package/dist/DataTable/components/DataTableToolbar.cjs +25 -29
- package/dist/DataTable/components/DataTableToolbar.d.ts +2 -1
- package/dist/DataTable/components/DataTableToolbar.d.ts.map +1 -1
- package/dist/DataTable/components/DataTableToolbar.js +25 -29
- package/dist/DataTable/render/createColumns.cjs +1 -1
- package/dist/DataTable/render/createColumns.js +1 -1
- package/dist/DataTable/types.d.ts +3 -0
- package/dist/DataTable/types.d.ts.map +1 -1
- package/dist/Dropdown/Dropdown.cjs +14 -12
- package/dist/Dropdown/Dropdown.js +14 -12
- package/dist/FilterPopup/FilterPopup.cjs +289 -0
- package/dist/FilterPopup/FilterPopup.d.ts +21 -0
- package/dist/FilterPopup/FilterPopup.d.ts.map +1 -0
- package/dist/FilterPopup/FilterPopup.js +287 -0
- package/dist/FilterPopup/assets/Divider.svg.cjs +3 -0
- package/dist/FilterPopup/assets/Divider.svg.js +3 -0
- package/dist/FilterPopup/assets/IconCheck.svg.cjs +3 -0
- package/dist/FilterPopup/assets/IconCheck.svg.js +3 -0
- package/dist/FilterPopup/assets/IconClose.svg.cjs +3 -0
- package/dist/FilterPopup/assets/IconClose.svg.js +3 -0
- package/dist/FilterPopup/assets/IconSearch.svg.cjs +3 -0
- package/dist/FilterPopup/assets/IconSearch.svg.js +3 -0
- package/dist/FilterPopup/index.d.ts +3 -0
- package/dist/FilterPopup/index.d.ts.map +1 -0
- package/dist/FilterPopup/styles.cjs +151 -0
- package/dist/FilterPopup/styles.d.ts +134 -0
- package/dist/FilterPopup/styles.d.ts.map +1 -0
- package/dist/FilterPopup/styles.js +149 -0
- package/dist/FilterPopup/types.d.ts +13 -0
- package/dist/FilterPopup/types.d.ts.map +1 -0
- package/dist/Form/Form.cjs +7 -6
- package/dist/Form/Form.d.ts.map +1 -1
- package/dist/Form/Form.js +6 -5
- 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 +51 -0
- package/dist/Icons/Icons.d.ts +50 -0
- package/dist/Icons/Icons.d.ts.map +1 -1
- package/dist/Icons/Icons.js +52 -1
- package/dist/Icons/JiraIcons.cjs +350 -0
- package/dist/Icons/JiraIcons.d.ts +25 -0
- package/dist/Icons/JiraIcons.d.ts.map +1 -0
- package/dist/Icons/JiraIcons.js +346 -0
- package/dist/Icons/index.cjs +11 -0
- package/dist/Icons/index.d.ts +1 -0
- package/dist/Icons/index.d.ts.map +1 -1
- package/dist/Icons/index.js +3 -0
- 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 +75 -24
- package/dist/Select/BaseSelect.d.ts.map +1 -1
- package/dist/Select/BaseSelect.js +76 -25
- 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/Select/type.d.ts +1 -0
- package/dist/Select/type.d.ts.map +1 -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 +313 -43
- package/dist/index.cjs +29 -7
- package/dist/index.d.ts +7 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +16 -12
- package/dist/layout/index.js +2 -2
- package/dist/stylex-config.cjs +56 -0
- package/dist/stylex-config.d.ts +14 -0
- package/dist/stylex-config.d.ts.map +1 -0
- package/dist/stylex-config.js +55 -0
- package/dist/theme/index.cjs +4 -0
- package/dist/theme/index.js +4 -2
- package/dist/theme/tokens.stylex.cjs +34 -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 +33 -1
- package/dist/theme.css +339 -50
- 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/button.cjs +3 -3
- package/dist/ui/button.js +3 -3
- 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/checkbox.cjs +2 -2
- package/dist/ui/checkbox.d.ts +3 -2
- package/dist/ui/checkbox.d.ts.map +1 -1
- package/dist/ui/checkbox.js +2 -2
- 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/popover.cjs +6 -1
- package/dist/ui/popover.d.ts +3 -1
- package/dist/ui/popover.d.ts.map +1 -1
- package/dist/ui/popover.js +6 -1
- 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/scroll-area.cjs +4 -2
- package/dist/ui/scroll-area.d.ts.map +1 -1
- package/dist/ui/scroll-area.js +4 -2
- 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 +22 -4
- 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,560 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { createContextScope } 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 } 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 } from "../../../../../@radix-ui_primitive@1.1.7/node_modules/@radix-ui/primitive/dist/index.js";
|
|
5
|
-
import { Primitive } 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 } 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 { createCollection } from "../../../../../@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";
|
|
8
|
-
import { useDirection } from "../../../../../@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";
|
|
9
|
-
import { useSize } from "../../../../../@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";
|
|
10
|
-
import { usePrevious } from "../../../../../@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";
|
|
11
|
-
import { clamp } from "../../../../../@radix-ui_number@1.1.3/node_modules/@radix-ui/number/dist/index.js";
|
|
12
|
-
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
13
|
-
import * as React$1 from "react";
|
|
14
|
-
// ../../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.mjs
|
|
15
|
-
var __defProp = Object.defineProperty;
|
|
16
|
-
var __name = (target, value) => __defProp(target, "name", {
|
|
17
|
-
value,
|
|
18
|
-
configurable: true
|
|
19
|
-
});
|
|
20
|
-
var PAGE_KEYS = ["PageUp", "PageDown"];
|
|
21
|
-
var ARROW_KEYS = [
|
|
22
|
-
"ArrowUp",
|
|
23
|
-
"ArrowDown",
|
|
24
|
-
"ArrowLeft",
|
|
25
|
-
"ArrowRight"
|
|
26
|
-
];
|
|
27
|
-
var BACK_KEYS = {
|
|
28
|
-
"from-left": [
|
|
29
|
-
"Home",
|
|
30
|
-
"PageDown",
|
|
31
|
-
"ArrowDown",
|
|
32
|
-
"ArrowLeft"
|
|
33
|
-
],
|
|
34
|
-
"from-right": [
|
|
35
|
-
"Home",
|
|
36
|
-
"PageDown",
|
|
37
|
-
"ArrowDown",
|
|
38
|
-
"ArrowRight"
|
|
39
|
-
],
|
|
40
|
-
"from-bottom": [
|
|
41
|
-
"Home",
|
|
42
|
-
"PageDown",
|
|
43
|
-
"ArrowDown",
|
|
44
|
-
"ArrowLeft"
|
|
45
|
-
],
|
|
46
|
-
"from-top": [
|
|
47
|
-
"Home",
|
|
48
|
-
"PageDown",
|
|
49
|
-
"ArrowUp",
|
|
50
|
-
"ArrowLeft"
|
|
51
|
-
]
|
|
52
|
-
};
|
|
53
|
-
var SLIDER_NAME = "Slider";
|
|
54
|
-
var [Collection, useCollection, createCollectionScope] = createCollection(SLIDER_NAME);
|
|
55
|
-
var [createSliderContext, createSliderScope] = createContextScope(SLIDER_NAME, [createCollectionScope]);
|
|
56
|
-
var [SliderProvider, useSliderContext] = createSliderContext(SLIDER_NAME);
|
|
57
|
-
var Slider = /* @__PURE__ */ React$1.forwardRef(/* @__PURE__ */ __name(function Slider2(props, forwardedRef) {
|
|
58
|
-
const { name, min = 0, max = 100, step = 1, orientation = "horizontal", disabled = false, minStepsBetweenThumbs = 0, defaultValue = [min], value, onValueChange = /* @__PURE__ */ __name(() => {}, "onValueChange"), onValueCommit = /* @__PURE__ */ __name(() => {}, "onValueCommit"), inverted = false, form, ...sliderProps } = props;
|
|
59
|
-
const thumbRefs = React$1.useRef(/* @__PURE__ */ new Set());
|
|
60
|
-
const valueIndexToChangeRef = React$1.useRef(0);
|
|
61
|
-
const isKeyboardInteractionRef = React$1.useRef(false);
|
|
62
|
-
const SliderOrientation = orientation === "horizontal" ? SliderHorizontal : SliderVertical;
|
|
63
|
-
const [control, setControl] = React$1.useState(null);
|
|
64
|
-
const composedRefs = useComposedRefs(forwardedRef, setControl);
|
|
65
|
-
const [values = [], setValues] = useControllableState({
|
|
66
|
-
prop: value,
|
|
67
|
-
defaultProp: defaultValue,
|
|
68
|
-
onChange: /* @__PURE__ */ __name((value2) => {
|
|
69
|
-
[...thumbRefs.current][valueIndexToChangeRef.current]?.focus({
|
|
70
|
-
preventScroll: true,
|
|
71
|
-
focusVisible: isKeyboardInteractionRef.current
|
|
72
|
-
});
|
|
73
|
-
isKeyboardInteractionRef.current = false;
|
|
74
|
-
onValueChange(value2);
|
|
75
|
-
}, "onChange")
|
|
76
|
-
});
|
|
77
|
-
const valuesBeforeSlideStartRef = React$1.useRef(values);
|
|
78
|
-
const initialValuesRef = React$1.useRef(values);
|
|
79
|
-
React$1.useEffect(() => {
|
|
80
|
-
const associatedForm = form ? control?.ownerDocument.getElementById(form) : control?.closest("form");
|
|
81
|
-
if (associatedForm instanceof HTMLFormElement) {
|
|
82
|
-
const reset = /* @__PURE__ */ __name(() => setValues(initialValuesRef.current), "reset");
|
|
83
|
-
associatedForm.addEventListener("reset", reset);
|
|
84
|
-
return () => associatedForm.removeEventListener("reset", reset);
|
|
85
|
-
}
|
|
86
|
-
}, [
|
|
87
|
-
control,
|
|
88
|
-
form,
|
|
89
|
-
setValues
|
|
90
|
-
]);
|
|
91
|
-
function handleSlideStart(value2) {
|
|
92
|
-
updateValues(value2, getClosestValueIndex(values, value2));
|
|
93
|
-
}
|
|
94
|
-
__name(handleSlideStart, "handleSlideStart");
|
|
95
|
-
function handleSlideMove(value2) {
|
|
96
|
-
updateValues(value2, valueIndexToChangeRef.current);
|
|
97
|
-
}
|
|
98
|
-
__name(handleSlideMove, "handleSlideMove");
|
|
99
|
-
function handleSlideEnd() {
|
|
100
|
-
if (String(values) !== String(valuesBeforeSlideStartRef.current)) onValueCommit(values);
|
|
101
|
-
}
|
|
102
|
-
__name(handleSlideEnd, "handleSlideEnd");
|
|
103
|
-
function updateValues(value2, atIndex, { commit } = { commit: false }) {
|
|
104
|
-
const decimalCount = getDecimalCount(step);
|
|
105
|
-
const snapToStep = roundValue(Math.round((value2 - min) / step) * step + min, decimalCount);
|
|
106
|
-
const nextValue = clamp(snapToStep, [min, max]);
|
|
107
|
-
setValues((prevValues = []) => {
|
|
108
|
-
const nextValues = getNextSortedValues(prevValues, nextValue, atIndex);
|
|
109
|
-
if (hasMinStepsBetweenValues(nextValues, minStepsBetweenThumbs * step)) {
|
|
110
|
-
valueIndexToChangeRef.current = nextValues.indexOf(nextValue);
|
|
111
|
-
const hasChanged = String(nextValues) !== String(prevValues);
|
|
112
|
-
if (hasChanged && commit) onValueCommit(nextValues);
|
|
113
|
-
return hasChanged ? nextValues : prevValues;
|
|
114
|
-
} else return prevValues;
|
|
115
|
-
});
|
|
116
|
-
}
|
|
117
|
-
__name(updateValues, "updateValues");
|
|
118
|
-
return /* @__PURE__ */ jsx(SliderProvider, {
|
|
119
|
-
scope: props.__scopeSlider,
|
|
120
|
-
name,
|
|
121
|
-
disabled,
|
|
122
|
-
min,
|
|
123
|
-
max,
|
|
124
|
-
valueIndexToChangeRef,
|
|
125
|
-
thumbs: thumbRefs.current,
|
|
126
|
-
values,
|
|
127
|
-
orientation,
|
|
128
|
-
form,
|
|
129
|
-
children: /* @__PURE__ */ jsx(Collection.Provider, {
|
|
130
|
-
scope: props.__scopeSlider,
|
|
131
|
-
children: /* @__PURE__ */ jsx(Collection.Slot, {
|
|
132
|
-
scope: props.__scopeSlider,
|
|
133
|
-
children: /* @__PURE__ */ jsx(SliderOrientation, {
|
|
134
|
-
"aria-disabled": disabled,
|
|
135
|
-
"data-disabled": disabled ? "" : void 0,
|
|
136
|
-
...sliderProps,
|
|
137
|
-
ref: composedRefs,
|
|
138
|
-
onPointerDown: composeEventHandlers(sliderProps.onPointerDown, () => {
|
|
139
|
-
if (!disabled) {
|
|
140
|
-
valuesBeforeSlideStartRef.current = values;
|
|
141
|
-
isKeyboardInteractionRef.current = false;
|
|
142
|
-
}
|
|
143
|
-
}),
|
|
144
|
-
min,
|
|
145
|
-
max,
|
|
146
|
-
inverted,
|
|
147
|
-
onSlideStart: disabled ? void 0 : handleSlideStart,
|
|
148
|
-
onSlideMove: disabled ? void 0 : handleSlideMove,
|
|
149
|
-
onSlideEnd: disabled ? void 0 : handleSlideEnd,
|
|
150
|
-
onHomeKeyDown: () => {
|
|
151
|
-
if (!disabled) {
|
|
152
|
-
isKeyboardInteractionRef.current = true;
|
|
153
|
-
updateValues(min, 0, { commit: true });
|
|
154
|
-
}
|
|
155
|
-
},
|
|
156
|
-
onEndKeyDown: () => {
|
|
157
|
-
if (!disabled) {
|
|
158
|
-
isKeyboardInteractionRef.current = true;
|
|
159
|
-
updateValues(max, values.length - 1, { commit: true });
|
|
160
|
-
}
|
|
161
|
-
},
|
|
162
|
-
onStepKeyDown: ({ event, direction: stepDirection }) => {
|
|
163
|
-
if (!disabled) {
|
|
164
|
-
isKeyboardInteractionRef.current = true;
|
|
165
|
-
const multiplier = PAGE_KEYS.includes(event.key) || event.shiftKey && ARROW_KEYS.includes(event.key) ? 10 : 1;
|
|
166
|
-
const atIndex = valueIndexToChangeRef.current;
|
|
167
|
-
const value2 = values[atIndex];
|
|
168
|
-
updateValues(getNextStepValue(value2, {
|
|
169
|
-
min,
|
|
170
|
-
step,
|
|
171
|
-
direction: stepDirection,
|
|
172
|
-
multiplier
|
|
173
|
-
}), atIndex, { commit: true });
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
})
|
|
177
|
-
})
|
|
178
|
-
})
|
|
179
|
-
});
|
|
180
|
-
}, "Slider"));
|
|
181
|
-
var [SliderOrientationProvider, useSliderOrientationContext] = createSliderContext(SLIDER_NAME, {
|
|
182
|
-
startEdge: "left",
|
|
183
|
-
endEdge: "right",
|
|
184
|
-
size: "width",
|
|
185
|
-
direction: 1
|
|
186
|
-
});
|
|
187
|
-
var SliderHorizontal = /* @__PURE__ */ React$1.forwardRef(/* @__PURE__ */ __name(function SliderHorizontal2(props, forwardedRef) {
|
|
188
|
-
const { min, max, dir, inverted, onSlideStart, onSlideMove, onSlideEnd, onStepKeyDown, ...sliderProps } = props;
|
|
189
|
-
const [slider, setSlider] = React$1.useState(null);
|
|
190
|
-
const composedRefs = useComposedRefs(forwardedRef, setSlider);
|
|
191
|
-
const rectRef = React$1.useRef(void 0);
|
|
192
|
-
const direction = useDirection(dir);
|
|
193
|
-
const isDirectionLTR = direction === "ltr";
|
|
194
|
-
const isSlidingFromLeft = isDirectionLTR && !inverted || !isDirectionLTR && inverted;
|
|
195
|
-
function getValueFromPointer(pointerPosition) {
|
|
196
|
-
const rect = rectRef.current || slider.getBoundingClientRect();
|
|
197
|
-
const value = linearScale([0, rect.width], isSlidingFromLeft ? [min, max] : [max, min]);
|
|
198
|
-
rectRef.current = rect;
|
|
199
|
-
return value(pointerPosition - rect.left);
|
|
200
|
-
}
|
|
201
|
-
__name(getValueFromPointer, "getValueFromPointer");
|
|
202
|
-
return /* @__PURE__ */ jsx(SliderOrientationProvider, {
|
|
203
|
-
scope: props.__scopeSlider,
|
|
204
|
-
startEdge: isSlidingFromLeft ? "left" : "right",
|
|
205
|
-
endEdge: isSlidingFromLeft ? "right" : "left",
|
|
206
|
-
direction: isSlidingFromLeft ? 1 : -1,
|
|
207
|
-
size: "width",
|
|
208
|
-
children: /* @__PURE__ */ jsx(SliderImpl, {
|
|
209
|
-
dir: direction,
|
|
210
|
-
"data-orientation": "horizontal",
|
|
211
|
-
...sliderProps,
|
|
212
|
-
ref: composedRefs,
|
|
213
|
-
style: {
|
|
214
|
-
...sliderProps.style,
|
|
215
|
-
"--radix-slider-thumb-transform": "translateX(-50%)"
|
|
216
|
-
},
|
|
217
|
-
onSlideStart: (event) => {
|
|
218
|
-
const value = getValueFromPointer(event.clientX);
|
|
219
|
-
onSlideStart?.(value);
|
|
220
|
-
},
|
|
221
|
-
onSlideMove: (event) => {
|
|
222
|
-
const value = getValueFromPointer(event.clientX);
|
|
223
|
-
onSlideMove?.(value);
|
|
224
|
-
},
|
|
225
|
-
onSlideEnd: () => {
|
|
226
|
-
rectRef.current = void 0;
|
|
227
|
-
onSlideEnd?.();
|
|
228
|
-
},
|
|
229
|
-
onStepKeyDown: (event) => {
|
|
230
|
-
const isBackKey = BACK_KEYS[isSlidingFromLeft ? "from-left" : "from-right"].includes(event.key);
|
|
231
|
-
onStepKeyDown?.({
|
|
232
|
-
event,
|
|
233
|
-
direction: isBackKey ? -1 : 1
|
|
234
|
-
});
|
|
235
|
-
}
|
|
236
|
-
})
|
|
237
|
-
});
|
|
238
|
-
}, "SliderHorizontal"));
|
|
239
|
-
var SliderVertical = /* @__PURE__ */ React$1.forwardRef(/* @__PURE__ */ __name(function SliderVertical2(props, forwardedRef) {
|
|
240
|
-
const { min, max, inverted, onSlideStart, onSlideMove, onSlideEnd, onStepKeyDown, ...sliderProps } = props;
|
|
241
|
-
const sliderRef = React$1.useRef(null);
|
|
242
|
-
const ref = useComposedRefs(forwardedRef, sliderRef);
|
|
243
|
-
const rectRef = React$1.useRef(void 0);
|
|
244
|
-
const isSlidingFromBottom = !inverted;
|
|
245
|
-
function getValueFromPointer(pointerPosition) {
|
|
246
|
-
const rect = rectRef.current || sliderRef.current.getBoundingClientRect();
|
|
247
|
-
const value = linearScale([0, rect.height], isSlidingFromBottom ? [max, min] : [min, max]);
|
|
248
|
-
rectRef.current = rect;
|
|
249
|
-
return value(pointerPosition - rect.top);
|
|
250
|
-
}
|
|
251
|
-
__name(getValueFromPointer, "getValueFromPointer");
|
|
252
|
-
return /* @__PURE__ */ jsx(SliderOrientationProvider, {
|
|
253
|
-
scope: props.__scopeSlider,
|
|
254
|
-
startEdge: isSlidingFromBottom ? "bottom" : "top",
|
|
255
|
-
endEdge: isSlidingFromBottom ? "top" : "bottom",
|
|
256
|
-
size: "height",
|
|
257
|
-
direction: isSlidingFromBottom ? 1 : -1,
|
|
258
|
-
children: /* @__PURE__ */ jsx(SliderImpl, {
|
|
259
|
-
"data-orientation": "vertical",
|
|
260
|
-
...sliderProps,
|
|
261
|
-
ref,
|
|
262
|
-
style: {
|
|
263
|
-
...sliderProps.style,
|
|
264
|
-
"--radix-slider-thumb-transform": "translateY(50%)"
|
|
265
|
-
},
|
|
266
|
-
onSlideStart: (event) => {
|
|
267
|
-
const value = getValueFromPointer(event.clientY);
|
|
268
|
-
onSlideStart?.(value);
|
|
269
|
-
},
|
|
270
|
-
onSlideMove: (event) => {
|
|
271
|
-
const value = getValueFromPointer(event.clientY);
|
|
272
|
-
onSlideMove?.(value);
|
|
273
|
-
},
|
|
274
|
-
onSlideEnd: () => {
|
|
275
|
-
rectRef.current = void 0;
|
|
276
|
-
onSlideEnd?.();
|
|
277
|
-
},
|
|
278
|
-
onStepKeyDown: (event) => {
|
|
279
|
-
const isBackKey = BACK_KEYS[isSlidingFromBottom ? "from-bottom" : "from-top"].includes(event.key);
|
|
280
|
-
onStepKeyDown?.({
|
|
281
|
-
event,
|
|
282
|
-
direction: isBackKey ? -1 : 1
|
|
283
|
-
});
|
|
284
|
-
}
|
|
285
|
-
})
|
|
286
|
-
});
|
|
287
|
-
}, "SliderVertical"));
|
|
288
|
-
var SliderImpl = /* @__PURE__ */ React$1.forwardRef(/* @__PURE__ */ __name(function SliderImpl2(props, forwardedRef) {
|
|
289
|
-
const { __scopeSlider, onSlideStart, onSlideMove, onSlideEnd, onHomeKeyDown, onEndKeyDown, onStepKeyDown, ...sliderProps } = props;
|
|
290
|
-
const context = useSliderContext(SLIDER_NAME, __scopeSlider);
|
|
291
|
-
return /* @__PURE__ */ jsx(Primitive.span, {
|
|
292
|
-
...sliderProps,
|
|
293
|
-
ref: forwardedRef,
|
|
294
|
-
onKeyDown: composeEventHandlers(props.onKeyDown, (event) => {
|
|
295
|
-
if (event.key === "Home") {
|
|
296
|
-
onHomeKeyDown(event);
|
|
297
|
-
event.preventDefault();
|
|
298
|
-
} else if (event.key === "End") {
|
|
299
|
-
onEndKeyDown(event);
|
|
300
|
-
event.preventDefault();
|
|
301
|
-
} else if (PAGE_KEYS.concat(ARROW_KEYS).includes(event.key)) {
|
|
302
|
-
onStepKeyDown(event);
|
|
303
|
-
event.preventDefault();
|
|
304
|
-
}
|
|
305
|
-
}),
|
|
306
|
-
onPointerDown: composeEventHandlers(props.onPointerDown, (event) => {
|
|
307
|
-
const target = event.target;
|
|
308
|
-
target.setPointerCapture(event.pointerId);
|
|
309
|
-
event.preventDefault();
|
|
310
|
-
if (context.thumbs.has(target)) target.focus({
|
|
311
|
-
preventScroll: true,
|
|
312
|
-
focusVisible: false
|
|
313
|
-
});
|
|
314
|
-
else onSlideStart(event);
|
|
315
|
-
}),
|
|
316
|
-
onPointerMove: composeEventHandlers(props.onPointerMove, (event) => {
|
|
317
|
-
if (event.target.hasPointerCapture(event.pointerId)) onSlideMove(event);
|
|
318
|
-
}),
|
|
319
|
-
onPointerUp: composeEventHandlers(props.onPointerUp, (event) => {
|
|
320
|
-
const target = event.target;
|
|
321
|
-
if (target.hasPointerCapture(event.pointerId)) {
|
|
322
|
-
target.releasePointerCapture(event.pointerId);
|
|
323
|
-
onSlideEnd(event);
|
|
324
|
-
}
|
|
325
|
-
})
|
|
326
|
-
});
|
|
327
|
-
}, "SliderImpl"));
|
|
328
|
-
var TRACK_NAME = "SliderTrack";
|
|
329
|
-
var SliderTrack = /* @__PURE__ */ React$1.forwardRef(/* @__PURE__ */ __name(function SliderTrack2(props, forwardedRef) {
|
|
330
|
-
const { __scopeSlider, ...trackProps } = props;
|
|
331
|
-
const context = useSliderContext(TRACK_NAME, __scopeSlider);
|
|
332
|
-
return /* @__PURE__ */ jsx(Primitive.span, {
|
|
333
|
-
"data-disabled": context.disabled ? "" : void 0,
|
|
334
|
-
"data-orientation": context.orientation,
|
|
335
|
-
...trackProps,
|
|
336
|
-
ref: forwardedRef
|
|
337
|
-
});
|
|
338
|
-
}, "SliderTrack"));
|
|
339
|
-
var RANGE_NAME = "SliderRange";
|
|
340
|
-
var SliderRange = /* @__PURE__ */ React$1.forwardRef(/* @__PURE__ */ __name(function SliderRange2(props, forwardedRef) {
|
|
341
|
-
const { __scopeSlider, ...rangeProps } = props;
|
|
342
|
-
const context = useSliderContext(RANGE_NAME, __scopeSlider);
|
|
343
|
-
const orientation = useSliderOrientationContext(RANGE_NAME, __scopeSlider);
|
|
344
|
-
const ref = React$1.useRef(null);
|
|
345
|
-
const composedRefs = useComposedRefs(forwardedRef, ref);
|
|
346
|
-
const valuesCount = context.values.length;
|
|
347
|
-
const percentages = context.values.map((value) => convertValueToPercentage(value, context.min, context.max));
|
|
348
|
-
const offsetStart = valuesCount > 1 ? Math.min(...percentages) : 0;
|
|
349
|
-
const offsetEnd = 100 - Math.max(...percentages);
|
|
350
|
-
return /* @__PURE__ */ jsx(Primitive.span, {
|
|
351
|
-
"data-orientation": context.orientation,
|
|
352
|
-
"data-disabled": context.disabled ? "" : void 0,
|
|
353
|
-
...rangeProps,
|
|
354
|
-
ref: composedRefs,
|
|
355
|
-
style: {
|
|
356
|
-
...props.style,
|
|
357
|
-
[orientation.startEdge]: offsetStart + "%",
|
|
358
|
-
[orientation.endEdge]: offsetEnd + "%"
|
|
359
|
-
}
|
|
360
|
-
});
|
|
361
|
-
}, "SliderRange"));
|
|
362
|
-
var [SliderThumbContextProvider, useSliderThumbContext] = createSliderContext("SliderThumb");
|
|
363
|
-
var THUMB_PROVIDER_NAME = "SliderThumbProvider";
|
|
364
|
-
function SliderThumbProvider(props) {
|
|
365
|
-
const { __scopeSlider, name, children, internal_do_not_use_render } = props;
|
|
366
|
-
const context = useSliderContext(THUMB_PROVIDER_NAME, __scopeSlider);
|
|
367
|
-
const getItems = useCollection(__scopeSlider);
|
|
368
|
-
const [thumb, setThumb] = React$1.useState(null);
|
|
369
|
-
const index = React$1.useMemo(() => thumb ? getItems().findIndex((item) => item.ref.current === thumb) : -1, [getItems, thumb]);
|
|
370
|
-
const size = useSize(thumb);
|
|
371
|
-
const isFormControl = thumb ? !!context.form || !!thumb.closest("form") : true;
|
|
372
|
-
const value = context.values[index];
|
|
373
|
-
const resolvedName = name ?? (context.name ? context.name + (context.values.length > 1 ? "[]" : "") : void 0);
|
|
374
|
-
const percent = value === void 0 ? 0 : convertValueToPercentage(value, context.min, context.max);
|
|
375
|
-
React$1.useEffect(() => {
|
|
376
|
-
if (thumb) {
|
|
377
|
-
context.thumbs.add(thumb);
|
|
378
|
-
return () => {
|
|
379
|
-
context.thumbs.delete(thumb);
|
|
380
|
-
};
|
|
381
|
-
}
|
|
382
|
-
}, [thumb, context.thumbs]);
|
|
383
|
-
const thumbContext = {
|
|
384
|
-
value,
|
|
385
|
-
name: resolvedName,
|
|
386
|
-
form: context.form,
|
|
387
|
-
isFormControl,
|
|
388
|
-
index,
|
|
389
|
-
thumb,
|
|
390
|
-
onThumbChange: setThumb,
|
|
391
|
-
percent,
|
|
392
|
-
size
|
|
393
|
-
};
|
|
394
|
-
return /* @__PURE__ */ jsx(SliderThumbContextProvider, {
|
|
395
|
-
scope: __scopeSlider,
|
|
396
|
-
...thumbContext,
|
|
397
|
-
children: isFunction(internal_do_not_use_render) ? internal_do_not_use_render(thumbContext) : children
|
|
398
|
-
});
|
|
399
|
-
}
|
|
400
|
-
__name(SliderThumbProvider, "SliderThumbProvider");
|
|
401
|
-
var THUMB_TRIGGER_NAME = "SliderThumbTrigger";
|
|
402
|
-
var SliderThumbTrigger = /* @__PURE__ */ React$1.forwardRef(/* @__PURE__ */ __name(function SliderThumbTrigger2(props, forwardedRef) {
|
|
403
|
-
const { __scopeSlider, ...thumbProps } = props;
|
|
404
|
-
const context = useSliderContext(THUMB_TRIGGER_NAME, __scopeSlider);
|
|
405
|
-
const orientation = useSliderOrientationContext(THUMB_TRIGGER_NAME, __scopeSlider);
|
|
406
|
-
const { index, value, percent, size, onThumbChange } = useSliderThumbContext(THUMB_TRIGGER_NAME, __scopeSlider);
|
|
407
|
-
const composedRefs = useComposedRefs(forwardedRef, onThumbChange);
|
|
408
|
-
const label = getLabel(index, context.values.length);
|
|
409
|
-
const orientationSize = size?.[orientation.size];
|
|
410
|
-
const thumbInBoundsOffset = orientationSize ? getThumbInBoundsOffset(orientationSize, percent, orientation.direction) : 0;
|
|
411
|
-
return /* @__PURE__ */ jsx("span", {
|
|
412
|
-
style: {
|
|
413
|
-
transform: "var(--radix-slider-thumb-transform)",
|
|
414
|
-
position: "absolute",
|
|
415
|
-
[orientation.startEdge]: `calc(${percent}% + ${thumbInBoundsOffset}px)`
|
|
416
|
-
},
|
|
417
|
-
children: /* @__PURE__ */ jsx(Collection.ItemSlot, {
|
|
418
|
-
scope: __scopeSlider,
|
|
419
|
-
children: /* @__PURE__ */ jsx(Primitive.span, {
|
|
420
|
-
role: "slider",
|
|
421
|
-
"aria-label": props["aria-label"] || label,
|
|
422
|
-
"aria-valuemin": context.min,
|
|
423
|
-
"aria-valuenow": value,
|
|
424
|
-
"aria-valuemax": context.max,
|
|
425
|
-
"aria-orientation": context.orientation,
|
|
426
|
-
"data-orientation": context.orientation,
|
|
427
|
-
"data-disabled": context.disabled ? "" : void 0,
|
|
428
|
-
tabIndex: context.disabled ? void 0 : 0,
|
|
429
|
-
...thumbProps,
|
|
430
|
-
ref: composedRefs,
|
|
431
|
-
style: value === void 0 ? { display: "none" } : props.style,
|
|
432
|
-
onFocus: composeEventHandlers(props.onFocus, () => {
|
|
433
|
-
context.valueIndexToChangeRef.current = index;
|
|
434
|
-
})
|
|
435
|
-
})
|
|
436
|
-
})
|
|
437
|
-
});
|
|
438
|
-
}, "SliderThumbTrigger"));
|
|
439
|
-
var SliderThumb = /* @__PURE__ */ React$1.forwardRef(/* @__PURE__ */ __name(function SliderThumb2(props, forwardedRef) {
|
|
440
|
-
const { __scopeSlider, name, ...thumbProps } = props;
|
|
441
|
-
return /* @__PURE__ */ jsx(SliderThumbProvider, {
|
|
442
|
-
__scopeSlider,
|
|
443
|
-
name,
|
|
444
|
-
internal_do_not_use_render: ({ index, isFormControl }) => /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(SliderThumbTrigger, {
|
|
445
|
-
...thumbProps,
|
|
446
|
-
ref: forwardedRef,
|
|
447
|
-
__scopeSlider
|
|
448
|
-
}), isFormControl ? /* @__PURE__ */ jsx(SliderBubbleInput, { __scopeSlider }, index) : null] })
|
|
449
|
-
});
|
|
450
|
-
}, "SliderThumb"));
|
|
451
|
-
var BUBBLE_INPUT_NAME = "SliderBubbleInput";
|
|
452
|
-
var SliderBubbleInput = /* @__PURE__ */ React$1.forwardRef(/* @__PURE__ */ __name(function SliderBubbleInput2({ __scopeSlider, ...props }, forwardedRef) {
|
|
453
|
-
const { value, name, form } = useSliderThumbContext(BUBBLE_INPUT_NAME, __scopeSlider);
|
|
454
|
-
const ref = React$1.useRef(null);
|
|
455
|
-
const composedRefs = useComposedRefs(ref, forwardedRef);
|
|
456
|
-
const prevValue = usePrevious(value);
|
|
457
|
-
React$1.useEffect(() => {
|
|
458
|
-
const input = ref.current;
|
|
459
|
-
if (!input) return;
|
|
460
|
-
const inputProto = window.HTMLInputElement.prototype;
|
|
461
|
-
const setValue = Object.getOwnPropertyDescriptor(inputProto, "value").set;
|
|
462
|
-
if (prevValue !== value && setValue) {
|
|
463
|
-
const event = new Event("input", { bubbles: true });
|
|
464
|
-
setValue.call(input, value);
|
|
465
|
-
input.dispatchEvent(event);
|
|
466
|
-
}
|
|
467
|
-
}, [prevValue, value]);
|
|
468
|
-
return /* @__PURE__ */ jsx(Primitive.input, {
|
|
469
|
-
style: { display: "none" },
|
|
470
|
-
name,
|
|
471
|
-
form,
|
|
472
|
-
...props,
|
|
473
|
-
ref: composedRefs,
|
|
474
|
-
defaultValue: value
|
|
475
|
-
});
|
|
476
|
-
}, "SliderBubbleInput"));
|
|
477
|
-
function getNextSortedValues(prevValues = [], nextValue, atIndex) {
|
|
478
|
-
const nextValues = [...prevValues];
|
|
479
|
-
nextValues[atIndex] = nextValue;
|
|
480
|
-
return nextValues.sort((a, b) => a - b);
|
|
481
|
-
}
|
|
482
|
-
__name(getNextSortedValues, "getNextSortedValues");
|
|
483
|
-
function convertValueToPercentage(value, min, max) {
|
|
484
|
-
const percentage = 100 / (max - min) * (value - min);
|
|
485
|
-
return clamp(percentage, [0, 100]);
|
|
486
|
-
}
|
|
487
|
-
__name(convertValueToPercentage, "convertValueToPercentage");
|
|
488
|
-
function getLabel(index, totalValues) {
|
|
489
|
-
if (totalValues > 2) return `Value ${index + 1} of ${totalValues}`;
|
|
490
|
-
else if (totalValues === 2) return ["Minimum", "Maximum"][index];
|
|
491
|
-
else return;
|
|
492
|
-
}
|
|
493
|
-
__name(getLabel, "getLabel");
|
|
494
|
-
function getClosestValueIndex(values, nextValue) {
|
|
495
|
-
if (values.length === 1) return 0;
|
|
496
|
-
const distances = values.map((value) => Math.abs(value - nextValue));
|
|
497
|
-
const closestDistance = Math.min(...distances);
|
|
498
|
-
return distances.indexOf(closestDistance);
|
|
499
|
-
}
|
|
500
|
-
__name(getClosestValueIndex, "getClosestValueIndex");
|
|
501
|
-
function getThumbInBoundsOffset(width, left, direction) {
|
|
502
|
-
const halfWidth = width / 2;
|
|
503
|
-
return (halfWidth - linearScale([0, 50], [0, halfWidth])(left) * direction) * direction;
|
|
504
|
-
}
|
|
505
|
-
__name(getThumbInBoundsOffset, "getThumbInBoundsOffset");
|
|
506
|
-
function getStepsBetweenValues(values) {
|
|
507
|
-
return values.slice(0, -1).map((value, index) => values[index + 1] - value);
|
|
508
|
-
}
|
|
509
|
-
__name(getStepsBetweenValues, "getStepsBetweenValues");
|
|
510
|
-
function hasMinStepsBetweenValues(values, minStepsBetweenValues) {
|
|
511
|
-
if (minStepsBetweenValues > 0) {
|
|
512
|
-
const stepsBetweenValues = getStepsBetweenValues(values);
|
|
513
|
-
return Math.min(...stepsBetweenValues) >= minStepsBetweenValues;
|
|
514
|
-
}
|
|
515
|
-
return true;
|
|
516
|
-
}
|
|
517
|
-
__name(hasMinStepsBetweenValues, "hasMinStepsBetweenValues");
|
|
518
|
-
function linearScale(input, output) {
|
|
519
|
-
return (value) => {
|
|
520
|
-
if (input[0] === input[1] || output[0] === output[1]) return output[0];
|
|
521
|
-
const ratio = (output[1] - output[0]) / (input[1] - input[0]);
|
|
522
|
-
return output[0] + ratio * (value - input[0]);
|
|
523
|
-
};
|
|
524
|
-
}
|
|
525
|
-
__name(linearScale, "linearScale");
|
|
526
|
-
function getDecimalCount(value) {
|
|
527
|
-
if (!Number.isFinite(value)) return 0;
|
|
528
|
-
const str = value.toString();
|
|
529
|
-
if (str.includes("e")) {
|
|
530
|
-
const [coefficient, exponent] = str.split("e");
|
|
531
|
-
const decimalPart2 = coefficient.split(".")[1] || "";
|
|
532
|
-
const exponentNum = Number(exponent);
|
|
533
|
-
return Math.max(0, decimalPart2.length - exponentNum);
|
|
534
|
-
}
|
|
535
|
-
const decimalPart = str.split(".")[1];
|
|
536
|
-
return decimalPart ? decimalPart.length : 0;
|
|
537
|
-
}
|
|
538
|
-
__name(getDecimalCount, "getDecimalCount");
|
|
539
|
-
function roundValue(value, decimalCount) {
|
|
540
|
-
const rounder = Math.pow(10, decimalCount);
|
|
541
|
-
return Math.round(value * rounder) / rounder;
|
|
542
|
-
}
|
|
543
|
-
__name(roundValue, "roundValue");
|
|
544
|
-
function getNextStepValue(value, { min, step, direction, multiplier }) {
|
|
545
|
-
const decimalCount = getDecimalCount(step);
|
|
546
|
-
const stepsFromMin = (value - min) / step;
|
|
547
|
-
const nearestSteps = Math.round(stepsFromMin);
|
|
548
|
-
const isAligned = roundValue(nearestSteps * step + min, decimalCount) === roundValue(value, decimalCount);
|
|
549
|
-
let nextSteps;
|
|
550
|
-
if (isAligned) nextSteps = nearestSteps + multiplier * direction;
|
|
551
|
-
else if (direction > 0) nextSteps = Math.ceil(stepsFromMin);
|
|
552
|
-
else nextSteps = Math.floor(stepsFromMin);
|
|
553
|
-
return roundValue(nextSteps * step + min, decimalCount);
|
|
554
|
-
}
|
|
555
|
-
__name(getNextStepValue, "getNextStepValue");
|
|
556
|
-
function isFunction(value) {
|
|
557
|
-
return typeof value === "function";
|
|
558
|
-
}
|
|
559
|
-
__name(isFunction, "isFunction");
|
|
560
|
-
export { SliderRange as Range, SliderRange, Slider as Root, Slider, SliderThumb, SliderThumb as Thumb, SliderTrack, SliderTrack as Track, SliderBubbleInput as unstable_BubbleInput, SliderBubbleInput as unstable_SliderBubbleInput, SliderThumbProvider as unstable_SliderThumbProvider, SliderThumbProvider as unstable_ThumbProvider, SliderThumbTrigger as unstable_SliderThumbTrigger, SliderThumbTrigger as unstable_ThumbTrigger };
|