@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
package/dist/ui/stepper.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { Text } from "../Typography/Text.js";
|
|
2
2
|
import { Button } from "./button.js";
|
|
3
|
+
import { Flex } from "./flex.js";
|
|
4
|
+
import { getNextRovingIndex } from "../utils.js";
|
|
5
|
+
import { Box } from "../layout/Box.js";
|
|
3
6
|
import * as stylex from "@stylexjs/stylex";
|
|
4
7
|
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
import { createContext, useCallback, useContext, useEffect, useMemo, useState } from "react";
|
|
8
|
+
import { createContext, useCallback, useContext, useEffect, useId, useMemo, useRef, useState } from "react";
|
|
6
9
|
import { c } from "react/compiler-runtime";
|
|
7
10
|
// src/ui/stepper.tsx
|
|
8
11
|
var StepperContext = createContext(null);
|
|
@@ -60,6 +63,10 @@ var styles = {
|
|
|
60
63
|
kXwgrk: "x1q0g3np",
|
|
61
64
|
$$css: true
|
|
62
65
|
},
|
|
66
|
+
itemHorizontalLast: {
|
|
67
|
+
kUk6DE: "x1okw0bk",
|
|
68
|
+
$$css: true
|
|
69
|
+
},
|
|
63
70
|
itemVertical: {
|
|
64
71
|
kzqmXN: "xh8yej3",
|
|
65
72
|
kXwgrk: "xdt5ytf",
|
|
@@ -72,7 +79,9 @@ var styles = {
|
|
|
72
79
|
kOIVth: "xdkmor2",
|
|
73
80
|
kWkggS: "xjbqb8w",
|
|
74
81
|
kMzoRj: "xc342km",
|
|
75
|
-
|
|
82
|
+
kZKoxP: "xt7dq6l",
|
|
83
|
+
kg3NbH: "xvg6gpc",
|
|
84
|
+
k8WAf4: "x1yroua3",
|
|
76
85
|
kaIpWk: "xrijj7p",
|
|
77
86
|
kkrTdU: "x1ypdohk",
|
|
78
87
|
kI3sdo: "x1a2a7pz",
|
|
@@ -144,7 +153,7 @@ var styles = {
|
|
|
144
153
|
kAzted: "x1in32aq",
|
|
145
154
|
kZKoxP: "x5yr21d",
|
|
146
155
|
koQZXg: "xpek4lm",
|
|
147
|
-
kqGvvJ: "
|
|
156
|
+
kqGvvJ: "x1cw10c3",
|
|
148
157
|
$$css: true
|
|
149
158
|
},
|
|
150
159
|
content: {
|
|
@@ -181,6 +190,8 @@ var styles = {
|
|
|
181
190
|
}
|
|
182
191
|
};
|
|
183
192
|
function Stepper({ className, value: controlledValue, defaultValue = "", onValueChange, orientation = "horizontal", linear = true, onValidateStep, sx, children, ...props }) {
|
|
193
|
+
const instanceId = useId();
|
|
194
|
+
const listRef = useRef(null);
|
|
184
195
|
const [internalValue, setInternalValue] = useState(defaultValue);
|
|
185
196
|
const [stepKeys, setStepKeys] = useState([]);
|
|
186
197
|
const currentValue = controlledValue !== void 0 ? controlledValue : internalValue;
|
|
@@ -212,6 +223,8 @@ function Stepper({ className, value: controlledValue, defaultValue = "", onValue
|
|
|
212
223
|
setValue
|
|
213
224
|
]);
|
|
214
225
|
const contextValue = useMemo(() => ({
|
|
226
|
+
instanceId,
|
|
227
|
+
listRef,
|
|
215
228
|
value: currentValue,
|
|
216
229
|
setValue,
|
|
217
230
|
orientation,
|
|
@@ -220,6 +233,7 @@ function Stepper({ className, value: controlledValue, defaultValue = "", onValue
|
|
|
220
233
|
registerStep,
|
|
221
234
|
unregisterStep
|
|
222
235
|
}), [
|
|
236
|
+
instanceId,
|
|
223
237
|
currentValue,
|
|
224
238
|
setValue,
|
|
225
239
|
orientation,
|
|
@@ -232,7 +246,7 @@ function Stepper({ className, value: controlledValue, defaultValue = "", onValue
|
|
|
232
246
|
const sxProps = stylex.props(styles.root, orientationStyle, sx);
|
|
233
247
|
return /* @__PURE__ */ jsx(StepperContext.Provider, {
|
|
234
248
|
value: contextValue,
|
|
235
|
-
children: /* @__PURE__ */ jsx(
|
|
249
|
+
children: /* @__PURE__ */ jsx(Box, {
|
|
236
250
|
"data-slot": "stepper",
|
|
237
251
|
"data-orientation": orientation,
|
|
238
252
|
...sxProps,
|
|
@@ -243,7 +257,7 @@ function Stepper({ className, value: controlledValue, defaultValue = "", onValue
|
|
|
243
257
|
});
|
|
244
258
|
}
|
|
245
259
|
function StepperList(t0) {
|
|
246
|
-
const $ = c(
|
|
260
|
+
const $ = c(18);
|
|
247
261
|
let children;
|
|
248
262
|
let className;
|
|
249
263
|
let props;
|
|
@@ -261,7 +275,7 @@ function StepperList(t0) {
|
|
|
261
275
|
props = $[3];
|
|
262
276
|
sx = $[4];
|
|
263
277
|
}
|
|
264
|
-
const { orientation } = useStepperContext("StepperList");
|
|
278
|
+
const { orientation, listRef } = useStepperContext("StepperList");
|
|
265
279
|
const orientationStyle = orientation === "vertical" ? styles.listVertical : styles.listHorizontal;
|
|
266
280
|
let t1;
|
|
267
281
|
if ($[5] !== orientationStyle || $[6] !== sx) {
|
|
@@ -271,21 +285,23 @@ function StepperList(t0) {
|
|
|
271
285
|
$[7] = t1;
|
|
272
286
|
} else t1 = $[7];
|
|
273
287
|
const sxProps = t1;
|
|
274
|
-
|
|
288
|
+
const t2 = listRef;
|
|
289
|
+
let t3;
|
|
275
290
|
if ($[8] !== className || $[9] !== sxProps.className) {
|
|
276
|
-
|
|
291
|
+
t3 = className ? `${sxProps.className || ""} ${className}`.trim() : sxProps.className;
|
|
277
292
|
$[8] = className;
|
|
278
293
|
$[9] = sxProps.className;
|
|
279
|
-
$[10] =
|
|
280
|
-
} else
|
|
281
|
-
let
|
|
282
|
-
if ($[11] !== children || $[12] !== orientation || $[13] !== props || $[14] !== sxProps || $[15] !== t2) {
|
|
283
|
-
|
|
294
|
+
$[10] = t3;
|
|
295
|
+
} else t3 = $[10];
|
|
296
|
+
let t4;
|
|
297
|
+
if ($[11] !== children || $[12] !== orientation || $[13] !== props || $[14] !== sxProps || $[15] !== t2 || $[16] !== t3) {
|
|
298
|
+
t4 = /* @__PURE__ */ jsx(Box, {
|
|
299
|
+
ref: t2,
|
|
284
300
|
role: "tablist",
|
|
285
301
|
"aria-orientation": orientation,
|
|
286
302
|
"data-slot": "stepper-list",
|
|
287
303
|
...sxProps,
|
|
288
|
-
className:
|
|
304
|
+
className: t3,
|
|
289
305
|
...props,
|
|
290
306
|
children
|
|
291
307
|
});
|
|
@@ -295,8 +311,9 @@ function StepperList(t0) {
|
|
|
295
311
|
$[14] = sxProps;
|
|
296
312
|
$[15] = t2;
|
|
297
313
|
$[16] = t3;
|
|
298
|
-
|
|
299
|
-
|
|
314
|
+
$[17] = t4;
|
|
315
|
+
} else t4 = $[17];
|
|
316
|
+
return t4;
|
|
300
317
|
}
|
|
301
318
|
function StepperItem({ className, value: itemValue, completed: completedProp, disabled: disabledProp = false, sx, children, ...props }) {
|
|
302
319
|
const { value, stepKeys, registerStep, unregisterStep, linear, orientation } = useStepperContext("StepperItem");
|
|
@@ -334,11 +351,13 @@ function StepperItem({ className, value: itemValue, completed: completedProp, di
|
|
|
334
351
|
status,
|
|
335
352
|
disabled
|
|
336
353
|
]);
|
|
354
|
+
const isLast = stepIndex >= stepKeys.length - 1 && stepKeys.length > 0;
|
|
355
|
+
const isHorizontalLast = orientation === "horizontal" && isLast;
|
|
337
356
|
const itemOrientationStyle = orientation === "vertical" ? styles.itemVertical : styles.itemHorizontal;
|
|
338
|
-
const sxProps = stylex.props(styles.item, itemOrientationStyle, sx);
|
|
357
|
+
const sxProps = stylex.props(styles.item, itemOrientationStyle, isHorizontalLast && styles.itemHorizontalLast, sx);
|
|
339
358
|
return /* @__PURE__ */ jsx(StepperItemContext.Provider, {
|
|
340
359
|
value: itemContextValue,
|
|
341
|
-
children: /* @__PURE__ */ jsx(
|
|
360
|
+
children: /* @__PURE__ */ jsx(Box, {
|
|
342
361
|
"data-slot": "stepper-item",
|
|
343
362
|
"data-status": status,
|
|
344
363
|
"data-disabled": disabled ? "" : void 0,
|
|
@@ -350,7 +369,7 @@ function StepperItem({ className, value: itemValue, completed: completedProp, di
|
|
|
350
369
|
});
|
|
351
370
|
}
|
|
352
371
|
function StepperTrigger(t0) {
|
|
353
|
-
const $ = c(
|
|
372
|
+
const $ = c(39);
|
|
354
373
|
let children;
|
|
355
374
|
let className;
|
|
356
375
|
let onClick;
|
|
@@ -374,7 +393,7 @@ function StepperTrigger(t0) {
|
|
|
374
393
|
props = $[5];
|
|
375
394
|
sx = $[6];
|
|
376
395
|
}
|
|
377
|
-
const { setValue, stepKeys, orientation } = useStepperContext("StepperTrigger");
|
|
396
|
+
const { setValue, stepKeys, orientation, instanceId, listRef } = useStepperContext("StepperTrigger");
|
|
378
397
|
const { value, status, disabled, stepIndex } = useStepperItemContext("StepperTrigger");
|
|
379
398
|
let t1;
|
|
380
399
|
if ($[7] !== disabled || $[8] !== onClick || $[9] !== setValue || $[10] !== value) {
|
|
@@ -391,73 +410,85 @@ function StepperTrigger(t0) {
|
|
|
391
410
|
} else t1 = $[11];
|
|
392
411
|
const handleClick = t1;
|
|
393
412
|
let t2;
|
|
394
|
-
if ($[12] !==
|
|
413
|
+
if ($[12] !== instanceId || $[13] !== listRef || $[14] !== onKeyDown || $[15] !== orientation || $[16] !== setValue || $[17] !== stepIndex || $[18] !== stepKeys) {
|
|
395
414
|
t2 = async (e_0) => {
|
|
396
415
|
onKeyDown?.(e_0);
|
|
397
416
|
if (e_0.defaultPrevented) return;
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
else if (e_0.key === "Home") targetIndex = 0;
|
|
403
|
-
else if (e_0.key === "End") targetIndex = stepKeys.length - 1;
|
|
417
|
+
const targetIndex = getNextRovingIndex(e_0.key, stepIndex, stepKeys.length, {
|
|
418
|
+
orientation,
|
|
419
|
+
loop: false
|
|
420
|
+
});
|
|
404
421
|
if (targetIndex !== null && stepKeys[targetIndex]) {
|
|
405
422
|
e_0.preventDefault();
|
|
406
|
-
|
|
423
|
+
const nextKey = stepKeys[targetIndex];
|
|
424
|
+
await setValue(nextKey);
|
|
425
|
+
(listRef.current?.querySelector(`[id="${instanceId}-tab-${nextKey}"]`))?.focus();
|
|
407
426
|
}
|
|
408
427
|
};
|
|
409
|
-
$[12] =
|
|
410
|
-
$[13] =
|
|
411
|
-
$[14] =
|
|
412
|
-
$[15] =
|
|
413
|
-
$[16] =
|
|
414
|
-
$[17] =
|
|
415
|
-
|
|
428
|
+
$[12] = instanceId;
|
|
429
|
+
$[13] = listRef;
|
|
430
|
+
$[14] = onKeyDown;
|
|
431
|
+
$[15] = orientation;
|
|
432
|
+
$[16] = setValue;
|
|
433
|
+
$[17] = stepIndex;
|
|
434
|
+
$[18] = stepKeys;
|
|
435
|
+
$[19] = t2;
|
|
436
|
+
} else t2 = $[19];
|
|
416
437
|
const handleKeyDown = t2;
|
|
417
438
|
let t3;
|
|
418
|
-
if ($[
|
|
439
|
+
if ($[20] !== disabled || $[21] !== sx) {
|
|
419
440
|
t3 = stylex.props(styles.trigger, disabled && styles.triggerDisabled, sx);
|
|
420
|
-
$[
|
|
421
|
-
$[
|
|
422
|
-
$[
|
|
423
|
-
} else t3 = $[
|
|
441
|
+
$[20] = disabled;
|
|
442
|
+
$[21] = sx;
|
|
443
|
+
$[22] = t3;
|
|
444
|
+
} else t3 = $[22];
|
|
424
445
|
const sxProps = t3;
|
|
425
|
-
const t4 =
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
446
|
+
const t4 = props.id ?? `${instanceId}-tab-${value}`;
|
|
447
|
+
const t5 = `${instanceId}-panel-${value}`;
|
|
448
|
+
const t6 = status === "active";
|
|
449
|
+
const t7 = status === "active" ? 0 : -1;
|
|
450
|
+
let t8;
|
|
451
|
+
if ($[23] !== className || $[24] !== sxProps.className) {
|
|
452
|
+
t8 = className ? `${sxProps.className || ""} ${className}`.trim() : sxProps.className;
|
|
453
|
+
$[23] = className;
|
|
454
|
+
$[24] = sxProps.className;
|
|
455
|
+
$[25] = t8;
|
|
456
|
+
} else t8 = $[25];
|
|
457
|
+
let t9;
|
|
458
|
+
if ($[26] !== children || $[27] !== disabled || $[28] !== handleClick || $[29] !== handleKeyDown || $[30] !== props || $[31] !== status || $[32] !== sxProps || $[33] !== t4 || $[34] !== t5 || $[35] !== t6 || $[36] !== t7 || $[37] !== t8) {
|
|
459
|
+
t9 = /* @__PURE__ */ jsx(Button, {
|
|
460
|
+
variant: "ghost",
|
|
436
461
|
type: "button",
|
|
437
462
|
role: "tab",
|
|
438
|
-
|
|
463
|
+
id: t4,
|
|
464
|
+
"aria-controls": t5,
|
|
465
|
+
"aria-selected": t6,
|
|
466
|
+
tabIndex: t7,
|
|
439
467
|
"data-slot": "stepper-trigger",
|
|
440
468
|
"data-status": status,
|
|
441
469
|
disabled,
|
|
442
470
|
onClick: handleClick,
|
|
443
471
|
onKeyDown: handleKeyDown,
|
|
444
472
|
...sxProps,
|
|
445
|
-
className:
|
|
473
|
+
className: t8,
|
|
446
474
|
...props,
|
|
447
475
|
children
|
|
448
476
|
});
|
|
449
|
-
$[
|
|
450
|
-
$[
|
|
451
|
-
$[
|
|
452
|
-
$[
|
|
453
|
-
$[
|
|
454
|
-
$[
|
|
455
|
-
$[
|
|
456
|
-
$[
|
|
457
|
-
$[
|
|
458
|
-
$[
|
|
459
|
-
|
|
460
|
-
|
|
477
|
+
$[26] = children;
|
|
478
|
+
$[27] = disabled;
|
|
479
|
+
$[28] = handleClick;
|
|
480
|
+
$[29] = handleKeyDown;
|
|
481
|
+
$[30] = props;
|
|
482
|
+
$[31] = status;
|
|
483
|
+
$[32] = sxProps;
|
|
484
|
+
$[33] = t4;
|
|
485
|
+
$[34] = t5;
|
|
486
|
+
$[35] = t6;
|
|
487
|
+
$[36] = t7;
|
|
488
|
+
$[37] = t8;
|
|
489
|
+
$[38] = t9;
|
|
490
|
+
} else t9 = $[38];
|
|
491
|
+
return t9;
|
|
461
492
|
}
|
|
462
493
|
function StepperIndicator(t0) {
|
|
463
494
|
const $ = c(23);
|
|
@@ -527,7 +558,9 @@ function StepperIndicator(t0) {
|
|
|
527
558
|
} else t4 = $[16];
|
|
528
559
|
let t5;
|
|
529
560
|
if ($[17] !== props || $[18] !== status || $[19] !== sxProps || $[20] !== t3 || $[21] !== t4) {
|
|
530
|
-
t5 = /* @__PURE__ */ jsx(
|
|
561
|
+
t5 = /* @__PURE__ */ jsx(Flex, {
|
|
562
|
+
align: "center",
|
|
563
|
+
justify: "center",
|
|
531
564
|
"aria-hidden": "true",
|
|
532
565
|
"data-slot": "stepper-indicator",
|
|
533
566
|
"data-status": status,
|
|
@@ -552,7 +585,7 @@ function StepperSeparator({ className, forceMount = false, sx, ...props }) {
|
|
|
552
585
|
const isCompleted = status === "completed";
|
|
553
586
|
const orientationStyle = orientation === "vertical" ? styles.separatorVertical : styles.separatorHorizontal;
|
|
554
587
|
const sxProps = stylex.props(styles.separator, orientationStyle, isCompleted && styles.separatorCompleted, sx);
|
|
555
|
-
return /* @__PURE__ */ jsx(
|
|
588
|
+
return /* @__PURE__ */ jsx(Box, {
|
|
556
589
|
"aria-hidden": "true",
|
|
557
590
|
"data-slot": "stepper-separator",
|
|
558
591
|
"data-completed": isCompleted ? "" : void 0,
|
|
@@ -667,11 +700,15 @@ function StepperDescription(t0) {
|
|
|
667
700
|
return t3;
|
|
668
701
|
}
|
|
669
702
|
function StepperContent({ className, value: contentValue, forceMount = false, sx, children, ...props }) {
|
|
670
|
-
const { value } = useStepperContext("StepperContent");
|
|
671
|
-
|
|
703
|
+
const { value, instanceId } = useStepperContext("StepperContent");
|
|
704
|
+
const isHidden = value !== contentValue;
|
|
705
|
+
if (isHidden && !forceMount) return null;
|
|
672
706
|
const sxProps = stylex.props(styles.content, sx);
|
|
673
|
-
return /* @__PURE__ */ jsx(
|
|
707
|
+
return /* @__PURE__ */ jsx(Box, {
|
|
674
708
|
role: "tabpanel",
|
|
709
|
+
id: props.id ?? `${instanceId}-panel-${contentValue}`,
|
|
710
|
+
"aria-labelledby": `${instanceId}-tab-${contentValue}`,
|
|
711
|
+
hidden: isHidden,
|
|
675
712
|
"data-slot": "stepper-content",
|
|
676
713
|
...sxProps,
|
|
677
714
|
className: className ? `${sxProps.className || ""} ${className}`.trim() : sxProps.className,
|
|
@@ -754,7 +791,7 @@ function StepperText(t0) {
|
|
|
754
791
|
} else t2 = $[9];
|
|
755
792
|
let t3;
|
|
756
793
|
if ($[10] !== children || $[11] !== props || $[12] !== sxProps || $[13] !== t2) {
|
|
757
|
-
t3 = /* @__PURE__ */ jsx(
|
|
794
|
+
t3 = /* @__PURE__ */ jsx(Box, {
|
|
758
795
|
"data-slot": "stepper-text",
|
|
759
796
|
...sxProps,
|
|
760
797
|
className: t2,
|
package/dist/ui/switch.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const require_runtime = require("../_virtual/_rolldown/runtime.cjs");
|
|
2
|
-
const require_index = require("../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");
|
|
3
2
|
let _stylexjs_stylex = require("@stylexjs/stylex");
|
|
4
3
|
_stylexjs_stylex = require_runtime.__toESM(_stylexjs_stylex, 1);
|
|
5
4
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
6
5
|
let react = require("react");
|
|
6
|
+
let _radix_ui_react_switch = require("@radix-ui/react-switch");
|
|
7
7
|
// src/ui/switch.tsx
|
|
8
8
|
var styles = {
|
|
9
9
|
root: {
|
|
@@ -181,7 +181,7 @@ function Switch({ className, size = "md", checked, defaultChecked = false, onChe
|
|
|
181
181
|
const thumbCheckedStyle = thumbCheckedStyles[size] ?? styles.thumbCheckedMd;
|
|
182
182
|
const sxProps = _stylexjs_stylex.props(styles.root, rootSize, isChecked && styles.rootChecked, sx);
|
|
183
183
|
const thumbSxProps = _stylexjs_stylex.props(styles.thumb, thumbSize, isChecked && thumbCheckedStyle);
|
|
184
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(
|
|
184
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_switch.Root, {
|
|
185
185
|
"data-slot": "switch",
|
|
186
186
|
"data-size": size,
|
|
187
187
|
checked: isChecked,
|
|
@@ -190,7 +190,7 @@ function Switch({ className, size = "md", checked, defaultChecked = false, onChe
|
|
|
190
190
|
...sxProps,
|
|
191
191
|
className: className ? `${sxProps.className || ""} ${className}`.trim() : sxProps.className,
|
|
192
192
|
...props,
|
|
193
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(
|
|
193
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_radix_ui_react_switch.Thumb, {
|
|
194
194
|
"data-slot": "switch-thumb",
|
|
195
195
|
...thumbSxProps
|
|
196
196
|
})
|
package/dist/ui/switch.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Root as Switch$1, SwitchThumb } from "../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";
|
|
2
1
|
import * as stylex from "@stylexjs/stylex";
|
|
3
2
|
import { jsx } from "react/jsx-runtime";
|
|
4
3
|
import { useState } from "react";
|
|
4
|
+
import { Root, Thumb } from "@radix-ui/react-switch";
|
|
5
5
|
// src/ui/switch.tsx
|
|
6
6
|
var styles = {
|
|
7
7
|
root: {
|
|
@@ -179,7 +179,7 @@ function Switch({ className, size = "md", checked, defaultChecked = false, onChe
|
|
|
179
179
|
const thumbCheckedStyle = thumbCheckedStyles[size] ?? styles.thumbCheckedMd;
|
|
180
180
|
const sxProps = stylex.props(styles.root, rootSize, isChecked && styles.rootChecked, sx);
|
|
181
181
|
const thumbSxProps = stylex.props(styles.thumb, thumbSize, isChecked && thumbCheckedStyle);
|
|
182
|
-
return /* @__PURE__ */ jsx(
|
|
182
|
+
return /* @__PURE__ */ jsx(Root, {
|
|
183
183
|
"data-slot": "switch",
|
|
184
184
|
"data-size": size,
|
|
185
185
|
checked: isChecked,
|
|
@@ -188,7 +188,7 @@ function Switch({ className, size = "md", checked, defaultChecked = false, onChe
|
|
|
188
188
|
...sxProps,
|
|
189
189
|
className: className ? `${sxProps.className || ""} ${className}`.trim() : sxProps.className,
|
|
190
190
|
...props,
|
|
191
|
-
children: /* @__PURE__ */ jsx(
|
|
191
|
+
children: /* @__PURE__ */ jsx(Thumb, {
|
|
192
192
|
"data-slot": "switch-thumb",
|
|
193
193
|
...thumbSxProps
|
|
194
194
|
})
|