@onereach/ui-components 4.18.2 → 4.18.3-beta.3120.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/dist/bundled/v2/components/OrAvatarV3/OrAvatar.js +17 -24
- package/dist/bundled/v2/components/OrAvatarV3/OrAvatar.vue.d.ts +16 -22
- package/dist/bundled/v2/components/OrAvatarV3/props.d.ts +6 -6
- package/dist/bundled/v2/components/OrAvatarV3/props.js +6 -6
- package/dist/bundled/v2/components/OrAvatarV3/styles.d.ts +5 -6
- package/dist/bundled/v2/components/OrAvatarV3/styles.js +61 -42
- package/dist/bundled/v2/components/OrBottomSheetV3/OrBottomSheet.js +8 -10
- package/dist/bundled/v2/components/OrBottomSheetV3/OrBottomSheet.vue.d.ts +0 -2
- package/dist/bundled/v2/components/OrBottomSheetV3/index.js +1 -1
- package/dist/bundled/v2/components/OrBottomSheetV3/styles.d.ts +0 -1
- package/dist/bundled/v2/components/OrBottomSheetV3/styles.js +16 -13
- package/dist/bundled/v2/components/OrButtonV3/OrButton.js +2 -2
- package/dist/bundled/v2/components/OrButtonV3/styles.d.ts +3 -3
- package/dist/bundled/v2/components/OrButtonV3/styles.js +15 -11
- package/dist/bundled/v2/components/OrCardCollectionV3/OrCardCollection.js +8 -7
- package/dist/bundled/v2/components/OrCardCollectionV3/index.js +3 -3
- package/dist/bundled/v2/components/OrCardCollectionV3/props.d.ts +1 -1
- package/dist/bundled/v2/components/OrCardCollectionV3/props.js +8 -8
- package/dist/bundled/v2/components/OrCardCollectionV3/styles.d.ts +3 -3
- package/dist/bundled/v2/components/OrCardCollectionV3/styles.js +15 -9
- package/dist/bundled/v2/components/OrCodeV3/OrCode.js +1 -1
- package/dist/bundled/v2/components/OrCodeV3/index.js +2 -2
- package/dist/bundled/v2/components/OrConfirmV3/OrConfirm.js +4 -4
- package/dist/bundled/v2/components/OrConfirmV3/index.js +2 -2
- package/dist/bundled/v2/components/OrConfirmV3/styles.d.ts +1 -1
- package/dist/bundled/v2/components/OrConfirmV3/styles.js +7 -7
- package/dist/bundled/v2/components/OrDatePickerV3/OrDatePicker.js +4 -4
- package/dist/bundled/v2/components/OrDatePickerV3/index.js +4 -4
- package/dist/bundled/v2/components/OrDateTimePickerV3/OrDateTimePicker.js +5 -5
- package/dist/bundled/v2/components/OrDateTimePickerV3/index.js +5 -5
- package/dist/bundled/v2/components/OrIconButtonV3/OrIconButton.js +2 -2
- package/dist/bundled/v2/components/OrIconButtonV3/index.js +2 -2
- package/dist/bundled/v2/components/OrInlineInputV3/OrInlineInput.js +2 -2
- package/dist/bundled/v2/components/OrInlineInputV3/index.js +2 -2
- package/dist/bundled/v2/components/OrInlineTextareaV3/OrInlineTextarea.js +2 -2
- package/dist/bundled/v2/components/OrInlineTextareaV3/index.js +2 -2
- package/dist/bundled/v2/components/OrInputV3/OrInput.js +2 -2
- package/dist/bundled/v2/components/OrInputV3/index.js +2 -2
- package/dist/bundled/v2/components/OrMenuV3/OrMenu.js +2 -2
- package/dist/bundled/v2/components/OrMenuV3/index.js +2 -2
- package/dist/bundled/v2/components/OrModalV3/OrModal.js +7 -7
- package/dist/bundled/v2/components/OrModalV3/index.js +2 -2
- package/dist/bundled/v2/components/OrModalV3/styles.d.ts +2 -2
- package/dist/bundled/v2/components/OrModalV3/styles.js +13 -11
- package/dist/bundled/v2/components/OrNotificationV3/OrNotification.js +2 -2
- package/dist/bundled/v2/components/OrNotificationV3/index.js +2 -2
- package/dist/bundled/v2/components/OrOverlayV3/OrOverlay.js +2 -2
- package/dist/bundled/v2/components/OrOverlayV3/styles.d.ts +1 -1
- package/dist/bundled/v2/components/OrOverlayV3/styles.js +5 -5
- package/dist/bundled/v2/components/OrPaginationV3/OrPagination.js +2 -2
- package/dist/bundled/v2/components/OrPaginationV3/index.js +2 -2
- package/dist/bundled/v2/components/OrPopoverV3/OrPopover.js +2 -2
- package/dist/bundled/v2/components/OrPopoverV3/index.js +2 -2
- package/dist/bundled/v2/components/OrPopoverV3/styles.js +5 -5
- package/dist/bundled/v2/components/OrSearchV3/OrSearch.js +2 -2
- package/dist/bundled/v2/components/OrSearchV3/index.js +2 -2
- package/dist/bundled/v2/components/OrSelectV3/OrSelect.js +2 -2
- package/dist/bundled/v2/components/OrSelectV3/index.js +2 -2
- package/dist/bundled/v2/components/OrSidebarV3/OrSidebar.js +2 -2
- package/dist/bundled/v2/components/OrSidebarV3/index.js +2 -2
- package/dist/bundled/v2/components/OrSortingV3/OrSorting.js +2 -2
- package/dist/bundled/v2/components/OrSortingV3/index.js +2 -2
- package/dist/bundled/v2/components/OrTabsV3/OrTabs.js +2 -2
- package/dist/bundled/v2/components/OrTabsV3/index.js +2 -2
- package/dist/bundled/v2/components/OrTagInputV3/OrTagInput.js +2 -2
- package/dist/bundled/v2/components/OrTagInputV3/index.js +2 -2
- package/dist/bundled/v2/components/OrTagV3/OrTag.js +2 -2
- package/dist/bundled/v2/components/OrTagV3/index.js +2 -2
- package/dist/bundled/v2/components/OrTagsV3/OrTags.js +2 -2
- package/dist/bundled/v2/components/OrTagsV3/index.js +2 -2
- package/dist/bundled/v2/components/OrTimePickerV3/OrTimePicker.js +4 -4
- package/dist/bundled/v2/components/OrTimePickerV3/index.js +4 -4
- package/dist/bundled/v2/components/OrToastContainerV3/OrToastContainer.js +4 -4
- package/dist/bundled/v2/components/OrToastContainerV3/index.js +2 -2
- package/dist/bundled/v2/components/OrToastV3/OrToast.js +2 -2
- package/dist/bundled/v2/components/OrToastV3/index.js +2 -2
- package/dist/bundled/v2/components/OrTooltipV3/OrTooltip.js +2 -2
- package/dist/bundled/v2/components/OrTooltipV3/index.js +2 -2
- package/dist/bundled/v2/components/index.js +5 -5
- package/dist/bundled/v2/hooks/useTheme.js +3 -0
- package/dist/bundled/v2/index.js +6 -6
- package/dist/bundled/v3/{OrAvatar.vue_vue_type_script_lang-8d7ce473.js → OrAvatar.vue_vue_type_script_lang-bf7bcbe2.js} +12 -19
- package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-9d6701ce.js → OrBottomSheet.vue_vue_type_script_lang-d6609a26.js} +8 -10
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-098131d0.js → OrButton.vue_vue_type_script_lang-0791a480.js} +2 -2
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-bc4757dd.js → OrCardCollection.vue_vue_type_script_lang-40124ef0.js} +9 -8
- package/dist/bundled/v3/{OrCheckboxGroup.vue_vue_type_script_lang-ff3d450b.js → OrCheckboxGroup.vue_vue_type_script_lang-3b25afe5.js} +1 -1
- package/dist/bundled/v3/{OrCheckboxTree.vue_vue_type_script_lang-120abecd.js → OrCheckboxTree.vue_vue_type_script_lang-ab30a5c4.js} +1 -1
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-f1380ecb.js → OrCode.vue_vue_type_script_lang-a99a2768.js} +2 -2
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-73aa938c.js → OrConfirm.vue_vue_type_script_lang-3f6484d7.js} +5 -5
- package/dist/bundled/v3/{OrDatePicker.vue_vue_type_script_lang-9c41e3f9.js → OrDatePicker.vue_vue_type_script_lang-15cde361.js} +4 -4
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-32107a94.js → OrDateTimePicker.vue_vue_type_script_lang-e3f9a844.js} +5 -5
- package/dist/bundled/v3/{OrDateTimePickerMonthSelect-c1711d61.js → OrDateTimePickerMonthSelect-47d89402.js} +3 -3
- package/dist/bundled/v3/{OrDateTimePickerPopoverHeader-dec42484.js → OrDateTimePickerPopoverHeader-d9eef487.js} +1 -1
- package/dist/bundled/v3/{OrDateTimePickerTimeSelect-ae24d04e.js → OrDateTimePickerTimeSelect-4c47cc2f.js} +1 -1
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-4bf3ae40.js → OrIconButton.vue_vue_type_script_lang-da2a6044.js} +1 -1
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-43321b2b.js → OrInlineInput.vue_vue_type_script_lang-8400fa8c.js} +1 -1
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-db4f0a3b.js → OrInlineTextarea.vue_vue_type_script_lang-d6a348da.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-d64bda8a.js → OrInput.vue_vue_type_script_lang-0ddddd27.js} +1 -1
- package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-021144d0.js → OrMenu.vue_vue_type_script_lang-6d3459d2.js} +1 -1
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-2c5c049e.js → OrModal.vue_vue_type_script_lang-9db0be3b.js} +4 -6
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-c17521c0.js → OrNotification.vue_vue_type_script_lang-01382876.js} +1 -1
- package/dist/bundled/v3/{OrOverlay.vue_vue_type_script_lang-01c9e89b.js → OrOverlay.vue_vue_type_script_lang-2da128a3.js} +2 -2
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-c36afcb9.js → OrPagination.vue_vue_type_script_lang-4e054df4.js} +2 -2
- package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-26dd5475.js → OrPopover.vue_vue_type_script_lang-cc1ee134.js} +1 -1
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-07373511.js → OrSearch.vue_vue_type_script_lang-495149b0.js} +1 -1
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-9acc1912.js → OrSelect.vue_vue_type_script_lang-cb556343.js} +4 -4
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-8186b9bc.js → OrSidebar.vue_vue_type_script_lang-a7103da5.js} +1 -1
- package/dist/bundled/v3/{OrSorting.vue_vue_type_script_lang-c12a13b0.js → OrSorting.vue_vue_type_script_lang-a43c7a38.js} +2 -2
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-e00ea5e2.js → OrTabs.vue_vue_type_script_lang-3831d139.js} +1 -1
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-35dd9ab6.js → OrTag.vue_vue_type_script_lang-206b5c7c.js} +1 -1
- package/dist/bundled/v3/{OrTagInput.vue_vue_type_script_lang-6b584d66.js → OrTagInput.vue_vue_type_script_lang-9f594179.js} +2 -2
- package/dist/bundled/v3/{OrTags.vue_vue_type_script_lang-d4e4da50.js → OrTags.vue_vue_type_script_lang-de78876f.js} +3 -3
- package/dist/bundled/v3/{OrTimePicker.vue_vue_type_script_lang-223d7bb1.js → OrTimePicker.vue_vue_type_script_lang-7de3a004.js} +4 -4
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-bfcbc29a.js → OrTooltip.vue_vue_type_script_lang-215def44.js} +1 -1
- package/dist/bundled/v3/{OrTree.vue_vue_type_script_lang-1606b260.js → OrTree.vue_vue_type_script_lang-008ef9b1.js} +1 -1
- package/dist/bundled/v3/components/OrAvatarV3/OrAvatar.js +6 -6
- package/dist/bundled/v3/components/OrAvatarV3/OrAvatar.vue.d.ts +12 -17
- package/dist/bundled/v3/components/OrAvatarV3/index.js +1 -1
- package/dist/bundled/v3/components/OrAvatarV3/props.d.ts +6 -6
- package/dist/bundled/v3/components/OrAvatarV3/props.js +6 -6
- package/dist/bundled/v3/components/OrAvatarV3/styles.d.ts +5 -6
- package/dist/bundled/v3/components/OrAvatarV3/styles.js +61 -42
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.js +6 -6
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.vue.d.ts +0 -1
- package/dist/bundled/v3/components/OrBottomSheetV3/index.js +3 -3
- package/dist/bundled/v3/components/OrBottomSheetV3/styles.d.ts +0 -1
- package/dist/bundled/v3/components/OrBottomSheetV3/styles.js +16 -13
- package/dist/bundled/v3/components/OrButtonV3/OrButton.js +2 -2
- package/dist/bundled/v3/components/OrButtonV3/index.js +1 -1
- package/dist/bundled/v3/components/OrButtonV3/styles.d.ts +3 -3
- package/dist/bundled/v3/components/OrButtonV3/styles.js +15 -11
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +14 -14
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +14 -14
- package/dist/bundled/v3/components/OrCardCollectionV3/props.d.ts +1 -1
- package/dist/bundled/v3/components/OrCardCollectionV3/props.js +8 -8
- package/dist/bundled/v3/components/OrCardCollectionV3/styles.d.ts +3 -3
- package/dist/bundled/v3/components/OrCardCollectionV3/styles.js +15 -9
- package/dist/bundled/v3/components/OrCheckboxGroupV3/OrCheckboxGroup.js +4 -4
- package/dist/bundled/v3/components/OrCheckboxGroupV3/index.js +3 -3
- package/dist/bundled/v3/components/OrCheckboxTreeV3/OrCheckboxTree.js +3 -3
- package/dist/bundled/v3/components/OrCheckboxTreeV3/index.js +2 -2
- package/dist/bundled/v3/components/OrCodeV3/OrCode.js +10 -10
- package/dist/bundled/v3/components/OrCodeV3/index.js +9 -9
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +11 -11
- package/dist/bundled/v3/components/OrConfirmV3/index.js +10 -10
- package/dist/bundled/v3/components/OrConfirmV3/styles.d.ts +1 -1
- package/dist/bundled/v3/components/OrConfirmV3/styles.js +7 -7
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +13 -13
- package/dist/bundled/v3/components/OrDatePickerV3/index.js +12 -12
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.js +14 -14
- package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +13 -13
- package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.js +8 -8
- package/dist/bundled/v3/components/OrIconButtonV3/index.js +7 -7
- package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.js +9 -9
- package/dist/bundled/v3/components/OrInlineInputV3/index.js +8 -8
- package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.js +9 -9
- package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +8 -8
- package/dist/bundled/v3/components/OrInputV3/OrInput.js +9 -9
- package/dist/bundled/v3/components/OrInputV3/index.js +8 -8
- package/dist/bundled/v3/components/OrMenuV3/OrMenu.js +7 -7
- package/dist/bundled/v3/components/OrMenuV3/index.js +6 -6
- package/dist/bundled/v3/components/OrModalV3/OrModal.js +13 -11
- package/dist/bundled/v3/components/OrModalV3/index.js +8 -8
- package/dist/bundled/v3/components/OrModalV3/styles.d.ts +2 -2
- package/dist/bundled/v3/components/OrModalV3/styles.js +13 -11
- package/dist/bundled/v3/components/OrNotificationV3/OrNotification.js +9 -9
- package/dist/bundled/v3/components/OrNotificationV3/index.js +8 -8
- package/dist/bundled/v3/components/OrOverlayV3/OrOverlay.js +2 -2
- package/dist/bundled/v3/components/OrOverlayV3/index.js +1 -1
- package/dist/bundled/v3/components/OrOverlayV3/styles.d.ts +1 -1
- package/dist/bundled/v3/components/OrOverlayV3/styles.js +5 -5
- package/dist/bundled/v3/components/OrPaginationV3/OrPagination.js +9 -9
- package/dist/bundled/v3/components/OrPaginationV3/index.js +8 -8
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.js +6 -6
- package/dist/bundled/v3/components/OrPopoverV3/index.js +5 -5
- package/dist/bundled/v3/components/OrPopoverV3/styles.js +5 -5
- package/dist/bundled/v3/components/OrSearchV3/OrSearch.js +10 -10
- package/dist/bundled/v3/components/OrSearchV3/index.js +9 -9
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +11 -11
- package/dist/bundled/v3/components/OrSelectV3/index.js +10 -10
- package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.js +9 -9
- package/dist/bundled/v3/components/OrSidebarV3/index.js +8 -8
- package/dist/bundled/v3/components/OrSortingV3/OrSorting.js +9 -9
- package/dist/bundled/v3/components/OrSortingV3/index.js +8 -8
- package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +8 -8
- package/dist/bundled/v3/components/OrTabsV3/index.js +7 -7
- package/dist/bundled/v3/components/OrTagInputV3/OrTagInput.js +12 -12
- package/dist/bundled/v3/components/OrTagInputV3/index.js +11 -11
- package/dist/bundled/v3/components/OrTagV3/OrTag.js +9 -9
- package/dist/bundled/v3/components/OrTagV3/index.js +8 -8
- package/dist/bundled/v3/components/OrTagsV3/OrTags.js +11 -11
- package/dist/bundled/v3/components/OrTagsV3/index.js +10 -10
- package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.js +12 -12
- package/dist/bundled/v3/components/OrTimePickerV3/index.js +11 -11
- package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.js +9 -9
- package/dist/bundled/v3/components/OrToastContainerV3/index.js +8 -8
- package/dist/bundled/v3/components/OrToastV3/OrToast.js +7 -7
- package/dist/bundled/v3/components/OrToastV3/index.js +8 -8
- package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.js +7 -7
- package/dist/bundled/v3/components/OrTooltipV3/index.js +6 -6
- package/dist/bundled/v3/components/OrTreeV3/OrTree.js +3 -3
- package/dist/bundled/v3/components/OrTreeV3/index.js +2 -2
- package/dist/bundled/v3/components/index.js +37 -37
- package/dist/bundled/v3/hooks/useTheme.js +3 -0
- package/dist/bundled/v3/index.js +38 -38
- package/dist/esm/v2/{OrAvatar-d1c82ab9.js → OrAvatar-dd0e1e3b.js} +81 -69
- package/dist/esm/v2/{OrBottomSheet-67e6d85e.js → OrBottomSheet-a4ee4b0e.js} +48 -49
- package/dist/esm/v2/{OrButton-9622e713.js → OrButton-a23ee9f0.js} +13 -11
- package/dist/esm/v2/{OrCardCollection-ca6d1e3c.js → OrCardCollection-9aaa7a3c.js} +36 -31
- package/dist/esm/v2/{OrCheckboxGroup-eda833b1.js → OrCheckboxGroup-a04f27fe.js} +1 -1
- package/dist/esm/v2/{OrCheckboxTree-231ba2b1.js → OrCheckboxTree-f48db82f.js} +1 -1
- package/dist/esm/v2/{OrCode-996daa11.js → OrCode-dd915faf.js} +2 -2
- package/dist/esm/v2/{OrConfirm-e4f8c958.js → OrConfirm-a0875502.js} +10 -10
- package/dist/esm/v2/{OrDatePicker-20d1ed3e.js → OrDatePicker-0b119ef4.js} +3 -3
- package/dist/esm/v2/{OrDateTimePicker-42c99a26.js → OrDateTimePicker-061c7472.js} +1 -1
- package/dist/esm/v2/{OrDateTimePicker.vue_rollup-plugin-vue_script-64817206.js → OrDateTimePicker.vue_rollup-plugin-vue_script-18dea32e.js} +4 -4
- package/dist/esm/v2/{OrDateTimePickerPopoverHeader-dd9de00f.js → OrDateTimePickerPopoverHeader-30ec0bf4.js} +4 -4
- package/dist/esm/v2/{OrIconButton-85a6de2c.js → OrIconButton-311050dc.js} +2 -2
- package/dist/esm/v2/{OrInlineInput-2b7f5745.js → OrInlineInput-410e6e7d.js} +1 -1
- package/dist/esm/v2/{OrInlineTextarea-281064ab.js → OrInlineTextarea-be5970dd.js} +1 -1
- package/dist/esm/v2/{OrInput-a7e317b8.js → OrInput-99ccfff7.js} +1 -1
- package/dist/esm/v2/{OrMenu-54d6a7a5.js → OrMenu-e2f557c8.js} +1 -1
- package/dist/esm/v2/{OrModal-5626eeee.js → OrModal-3dafa3ce.js} +16 -16
- package/dist/esm/v2/{OrNotification-b0fb0d4f.js → OrNotification-6df1f6f6.js} +1 -1
- package/dist/esm/v2/{OrOverlay-948346df.js → OrOverlay-f819eff9.js} +5 -5
- package/dist/esm/v2/{OrPagination-11d363f2.js → OrPagination-f1e7aaa7.js} +3 -3
- package/dist/esm/v2/{OrPopover-c511273a.js → OrPopover-36e2fc9f.js} +6 -6
- package/dist/esm/v2/{OrSearch-7ad39657.js → OrSearch-f49e5f70.js} +1 -1
- package/dist/esm/v2/{OrSelect-0bd57cba.js → OrSelect-5e9508c9.js} +4 -4
- package/dist/esm/v2/{OrSidebar-74f719fc.js → OrSidebar-0539d572.js} +1 -1
- package/dist/esm/v2/{OrSidebarCollapseButton-07d12eb4.js → OrSidebarCollapseButton-8474d9c3.js} +1 -1
- package/dist/esm/v2/{OrSorting-ef99ef70.js → OrSorting-fad7928f.js} +3 -3
- package/dist/esm/v2/{OrTabs-b8a92669.js → OrTabs-0046e15b.js} +2 -2
- package/dist/esm/v2/{OrTag-b6125507.js → OrTag-d21ee9c1.js} +1 -1
- package/dist/esm/v2/{OrTagInput-f2ddcc97.js → OrTagInput-5b1ac86e.js} +2 -2
- package/dist/esm/v2/{OrTags-b7d9e52c.js → OrTags-c1a44ef7.js} +3 -3
- package/dist/esm/v2/{OrTimePicker-9312df72.js → OrTimePicker-d73ce31e.js} +4 -4
- package/dist/esm/v2/{OrTooltip-7a9861a2.js → OrTooltip-ec00d3ee.js} +1 -1
- package/dist/esm/v2/{OrTree-dcacd695.js → OrTree-dfc8a086.js} +1 -1
- package/dist/esm/v2/components/index.js +35 -35
- package/dist/esm/v2/components/or-avatar-v3/OrAvatar.vue.d.ts +16 -22
- package/dist/esm/v2/components/or-avatar-v3/index.js +1 -1
- package/dist/esm/v2/components/or-avatar-v3/props.d.ts +6 -6
- package/dist/esm/v2/components/or-avatar-v3/styles.d.ts +5 -6
- package/dist/esm/v2/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +0 -2
- package/dist/esm/v2/components/or-bottom-sheet-v3/index.js +2 -2
- package/dist/esm/v2/components/or-bottom-sheet-v3/styles.d.ts +0 -1
- package/dist/esm/v2/components/or-button-v3/index.js +1 -1
- package/dist/esm/v2/components/or-button-v3/styles.d.ts +3 -3
- package/dist/esm/v2/components/or-card-collection-v3/index.js +11 -11
- package/dist/esm/v2/components/or-card-collection-v3/partials/OrCardCollectionView.vue2.vue.d.ts +6 -7
- package/dist/esm/v2/components/or-card-collection-v3/props.d.ts +1 -1
- package/dist/esm/v2/components/or-card-collection-v3/styles.d.ts +3 -3
- package/dist/esm/v2/components/or-checkbox-group-v3/index.js +3 -3
- package/dist/esm/v2/components/or-checkbox-tree-v3/index.js +2 -2
- package/dist/esm/v2/components/or-code-v3/index.js +7 -7
- package/dist/esm/v2/components/or-confirm-v3/index.js +8 -8
- package/dist/esm/v2/components/or-confirm-v3/styles.d.ts +1 -1
- package/dist/esm/v2/components/or-date-picker-v3/index.js +9 -9
- package/dist/esm/v2/components/or-date-time-picker-v3/index.js +10 -10
- package/dist/esm/v2/components/or-icon-button-v3/index.js +5 -5
- package/dist/esm/v2/components/or-inline-input-v3/index.js +6 -6
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +6 -6
- package/dist/esm/v2/components/or-input-v3/index.js +6 -6
- package/dist/esm/v2/components/or-menu-v3/index.js +4 -4
- package/dist/esm/v2/components/or-modal-v3/index.js +6 -6
- package/dist/esm/v2/components/or-modal-v3/styles.d.ts +2 -2
- package/dist/esm/v2/components/or-notification-v3/index.js +6 -6
- package/dist/esm/v2/components/or-overlay-v3/index.js +1 -1
- package/dist/esm/v2/components/or-overlay-v3/styles.d.ts +1 -1
- package/dist/esm/v2/components/or-pagination-v3/index.js +6 -6
- package/dist/esm/v2/components/or-popover-v3/index.js +3 -3
- package/dist/esm/v2/components/or-search-v3/index.js +7 -7
- package/dist/esm/v2/components/or-select-v3/index.js +8 -8
- package/dist/esm/v2/components/or-sidebar-v3/index.js +7 -7
- package/dist/esm/v2/components/or-sidebar-v3/partials/index.js +6 -6
- package/dist/esm/v2/components/or-sorting-v3/index.js +6 -6
- package/dist/esm/v2/components/or-tabs-v3/index.js +5 -5
- package/dist/esm/v2/components/or-tag-input-v3/index.js +9 -9
- package/dist/esm/v2/components/or-tag-v3/index.js +6 -6
- package/dist/esm/v2/components/or-tags-v3/index.js +8 -8
- package/dist/esm/v2/components/or-time-picker-v3/index.js +10 -10
- package/dist/esm/v2/components/or-toast-v3/index.js +6 -6
- package/dist/esm/v2/components/or-toast-v3/or-toast-container-v3/index.js +6 -6
- package/dist/esm/v2/components/or-tooltip-v3/index.js +4 -4
- package/dist/esm/v2/components/or-tree-v3/index.js +2 -2
- package/dist/esm/v2/index.js +35 -35
- package/dist/esm/v2/{types-6792dff8.js → types-e481ff6f.js} +3 -3
- package/dist/esm/v3/{OrAvatar-07fe6686.js → OrAvatar-554347e6.js} +80 -68
- package/dist/esm/v3/{OrBottomSheet-efca7190.js → OrBottomSheet-98aec82b.js} +48 -49
- package/dist/esm/v3/{OrButton-c2b6aa9e.js → OrButton-4a3c3e7b.js} +13 -11
- package/dist/esm/v3/{OrCardCollection-0adc842d.js → OrCardCollection-5a10ca80.js} +36 -31
- package/dist/esm/v3/{OrCheckboxGroup-e0afc5c3.js → OrCheckboxGroup-6c054793.js} +1 -1
- package/dist/esm/v3/{OrCheckboxTree-76f1b7ed.js → OrCheckboxTree-bb32455e.js} +1 -1
- package/dist/esm/v3/{OrCode-a252b73f.js → OrCode-98aceeef.js} +2 -2
- package/dist/esm/v3/{OrConfirm-e3e225b3.js → OrConfirm-8d0351b9.js} +10 -10
- package/dist/esm/v3/{OrDatePicker-6993440a.js → OrDatePicker-819007d7.js} +3 -3
- package/dist/esm/v3/{OrDateTimePicker-fd642cb1.js → OrDateTimePicker-7b08665c.js} +4 -4
- package/dist/esm/v3/{OrDateTimePickerPopoverHeader-ece5b2a7.js → OrDateTimePickerPopoverHeader-c3900e9a.js} +4 -4
- package/dist/esm/v3/{OrIconButton-fe133b18.js → OrIconButton-65b1a004.js} +2 -2
- package/dist/esm/v3/{OrInlineInput-7342053f.js → OrInlineInput-1d8b7ba7.js} +1 -1
- package/dist/esm/v3/{OrInlineTextarea-10657b96.js → OrInlineTextarea-384e66cd.js} +1 -1
- package/dist/esm/v3/{OrInput-5ffebd41.js → OrInput-cfc9d445.js} +1 -1
- package/dist/esm/v3/{OrMenu-20ca3870.js → OrMenu-7943ee1f.js} +1 -1
- package/dist/esm/v3/{OrModal-3ebc1346.js → OrModal-fb598e97.js} +16 -16
- package/dist/esm/v3/{OrNotification-78f567b4.js → OrNotification-a1de8289.js} +1 -1
- package/dist/esm/v3/{OrOverlay-489fdf76.js → OrOverlay-99e696e8.js} +5 -5
- package/dist/esm/v3/{OrPagination-9bd81a94.js → OrPagination-0dd5c8f0.js} +3 -3
- package/dist/esm/v3/{OrPopover-6d433297.js → OrPopover-466a8297.js} +6 -6
- package/dist/esm/v3/{OrSearch-94019f8b.js → OrSearch-c823ee5e.js} +1 -1
- package/dist/esm/v3/{OrSelect-48f2374c.js → OrSelect-d4bbddf1.js} +4 -4
- package/dist/esm/v3/{OrSidebar-5da9646b.js → OrSidebar-d8e70813.js} +1 -1
- package/dist/esm/v3/{OrSidebarCollapseButton-d7bc8075.js → OrSidebarCollapseButton-7a9f76cf.js} +1 -1
- package/dist/esm/v3/{OrSorting-012e0c6b.js → OrSorting-d5f3e077.js} +3 -3
- package/dist/esm/v3/{OrTabs-54c48a61.js → OrTabs-83e4477c.js} +2 -2
- package/dist/esm/v3/{OrTag-499c45e1.js → OrTag-8fede185.js} +1 -1
- package/dist/esm/v3/{OrTagInput-9c53b28c.js → OrTagInput-b5f6be7c.js} +2 -2
- package/dist/esm/v3/{OrTags-e56deb73.js → OrTags-5feb7c2d.js} +3 -3
- package/dist/esm/v3/{OrTimePicker-dc9a10d5.js → OrTimePicker-27be4172.js} +4 -4
- package/dist/esm/v3/{OrTooltip-2422971c.js → OrTooltip-6802b717.js} +1 -1
- package/dist/esm/v3/{OrTree-3b655a7a.js → OrTree-a0e57f4e.js} +1 -1
- package/dist/esm/v3/components/index.js +34 -34
- package/dist/esm/v3/components/or-avatar-v3/OrAvatar.vue.d.ts +12 -17
- package/dist/esm/v3/components/or-avatar-v3/index.js +1 -1
- package/dist/esm/v3/components/or-avatar-v3/props.d.ts +6 -6
- package/dist/esm/v3/components/or-avatar-v3/styles.d.ts +5 -6
- package/dist/esm/v3/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +0 -1
- package/dist/esm/v3/components/or-bottom-sheet-v3/index.js +2 -2
- package/dist/esm/v3/components/or-bottom-sheet-v3/styles.d.ts +0 -1
- package/dist/esm/v3/components/or-button-v3/index.js +1 -1
- package/dist/esm/v3/components/or-button-v3/styles.d.ts +3 -3
- package/dist/esm/v3/components/or-card-collection-v3/index.js +11 -11
- package/dist/esm/v3/components/or-card-collection-v3/partials/OrCardCollectionView.vue3.vue.d.ts +3 -4
- package/dist/esm/v3/components/or-card-collection-v3/props.d.ts +1 -1
- package/dist/esm/v3/components/or-card-collection-v3/styles.d.ts +3 -3
- package/dist/esm/v3/components/or-checkbox-group-v3/index.js +3 -3
- package/dist/esm/v3/components/or-checkbox-tree-v3/index.js +2 -2
- package/dist/esm/v3/components/or-code-v3/index.js +7 -7
- package/dist/esm/v3/components/or-confirm-v3/index.js +8 -8
- package/dist/esm/v3/components/or-confirm-v3/styles.d.ts +1 -1
- package/dist/esm/v3/components/or-date-picker-v3/index.js +9 -9
- package/dist/esm/v3/components/or-date-time-picker-v3/index.js +9 -9
- package/dist/esm/v3/components/or-icon-button-v3/index.js +5 -5
- package/dist/esm/v3/components/or-inline-input-v3/index.js +6 -6
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +6 -6
- package/dist/esm/v3/components/or-input-v3/index.js +6 -6
- package/dist/esm/v3/components/or-menu-v3/index.js +4 -4
- package/dist/esm/v3/components/or-modal-v3/index.js +6 -6
- package/dist/esm/v3/components/or-modal-v3/styles.d.ts +2 -2
- package/dist/esm/v3/components/or-notification-v3/index.js +6 -6
- package/dist/esm/v3/components/or-overlay-v3/index.js +1 -1
- package/dist/esm/v3/components/or-overlay-v3/styles.d.ts +1 -1
- package/dist/esm/v3/components/or-pagination-v3/index.js +6 -6
- package/dist/esm/v3/components/or-popover-v3/index.js +3 -3
- package/dist/esm/v3/components/or-search-v3/index.js +7 -7
- package/dist/esm/v3/components/or-select-v3/index.js +8 -8
- package/dist/esm/v3/components/or-sidebar-v3/index.js +7 -7
- package/dist/esm/v3/components/or-sidebar-v3/partials/index.js +6 -6
- package/dist/esm/v3/components/or-sorting-v3/index.js +6 -6
- package/dist/esm/v3/components/or-tabs-v3/index.js +5 -5
- package/dist/esm/v3/components/or-tag-input-v3/index.js +9 -9
- package/dist/esm/v3/components/or-tag-v3/index.js +6 -6
- package/dist/esm/v3/components/or-tags-v3/index.js +8 -8
- package/dist/esm/v3/components/or-time-picker-v3/index.js +10 -10
- package/dist/esm/v3/components/or-toast-v3/index.js +6 -6
- package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/index.js +6 -6
- package/dist/esm/v3/components/or-tooltip-v3/index.js +4 -4
- package/dist/esm/v3/components/or-tree-v3/index.js +2 -2
- package/dist/esm/v3/index.js +34 -34
- package/dist/esm/v3/{types-a3038b68.js → types-94be8310.js} +1 -1
- package/package.json +3 -4
- package/src/components/or-avatar-v3/OrAvatar.vue +31 -37
- package/src/components/or-avatar-v3/props.ts +6 -6
- package/src/components/or-avatar-v3/styles.ts +66 -64
- package/src/components/or-bottom-sheet-v3/OrBottomSheet.vue +18 -24
- package/src/components/or-bottom-sheet-v3/styles.ts +16 -17
- package/src/components/or-button-v3/OrButton.vue +4 -4
- package/src/components/or-button-v3/styles.ts +13 -10
- package/src/components/or-card-collection-v3/OrCardCollection.vue +3 -3
- package/src/components/or-card-collection-v3/partials/OrCardCollectionView.vue2.vue +14 -6
- package/src/components/or-card-collection-v3/partials/OrCardCollectionView.vue3.vue +14 -6
- package/src/components/or-card-collection-v3/props.ts +3 -3
- package/src/components/or-card-collection-v3/styles.ts +21 -14
- package/src/components/or-confirm-v3/OrConfirm.vue +2 -2
- package/src/components/or-confirm-v3/styles.ts +8 -8
- package/src/components/or-modal-v3/OrModal.vue +4 -4
- package/src/components/or-modal-v3/partials/or-modal-content/styles.ts +0 -3
- package/src/components/or-modal-v3/styles.ts +12 -12
- package/src/components/or-overlay-v3/OrOverlay.vue +2 -2
- package/src/components/or-overlay-v3/styles.ts +8 -8
- package/src/components/or-popover-v3/styles.ts +7 -7
- package/src/components/or-toast-v3/or-toast-container-v3/OrToastContainer.vue +1 -3
- /package/dist/bundled/v2/{OrDateTimePickerMonthSelect-8792b53f.js → OrDateTimePickerMonthSelect-a3097661.js} +0 -0
- /package/dist/bundled/v2/{OrDateTimePickerPopoverHeader-03768809.js → OrDateTimePickerPopoverHeader-a4f77733.js} +0 -0
- /package/dist/bundled/v2/{OrDateTimePickerTimeSelect-4d42b488.js → OrDateTimePickerTimeSelect-e57095bf.js} +0 -0
- /package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-3ec83f08.js → OrToastContainer.vue_vue_type_script_lang-64d27360.js} +0 -0
package/dist/esm/v2/index.js
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
export { O as OR_AVATAR_SIZE, _ as OrAvatar } from './OrAvatar-2d73ca2c.js';
|
|
2
|
-
export { a as AvatarColor, A as AvatarSize, _ as OrAvatarV3 } from './OrAvatar-
|
|
3
|
-
export { B as BottomSheetVariant, _ as OrBottomSheetV3 } from './OrBottomSheet-
|
|
2
|
+
export { a as AvatarColor, A as AvatarSize, _ as OrAvatarV3 } from './OrAvatar-dd0e1e3b.js';
|
|
3
|
+
export { B as BottomSheetVariant, _ as OrBottomSheetV3 } from './OrBottomSheet-a4ee4b0e.js';
|
|
4
4
|
export { _ as OrButton, a as OrButtonColors, b as OrButtonSizes, O as OrButtonViews } from './OrButton-dc23a0b5.js';
|
|
5
5
|
export { _ as OrButtonV2 } from './OrButton-f189b59b.js';
|
|
6
6
|
export { _ as OrIconButton, _ as OrIconButtonV2 } from './OrIconButton-257b38f2.js';
|
|
7
7
|
export { a as BUTTON_COLOR, c as BUTTON_LOADER_TYPE, b as BUTTON_SIZE, B as BUTTON_TYPE, I as ICON_BUTTON_TYPE } from './OrIconButton.vue_rollup-plugin-vue_styles.0-91855f16.js';
|
|
8
|
-
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, _ as OrButtonV3 } from './OrButton-
|
|
8
|
+
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, _ as OrButtonV3 } from './OrButton-a23ee9f0.js';
|
|
9
9
|
export { _ as OrCard } from './OrCard-c44d9783.js';
|
|
10
10
|
export { C as CARD_COLLECTION_LAYOUT, _ as OrCardCollection } from './OrCardCollection-bea023f8.js';
|
|
11
|
-
export {
|
|
11
|
+
export { C as CardCollectionView, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-9aaa7a3c.js';
|
|
12
12
|
export { _ as OrCardV3 } from './OrCard-0da13cbe.js';
|
|
13
13
|
export { _ as OrCheckbox } from './OrCheckbox-fcd6b64c.js';
|
|
14
|
-
export { _ as OrCheckboxGroupV3 } from './OrCheckboxGroup-
|
|
15
|
-
export { _ as OrCheckboxTreeV3 } from './OrCheckboxTree-
|
|
14
|
+
export { _ as OrCheckboxGroupV3 } from './OrCheckboxGroup-a04f27fe.js';
|
|
15
|
+
export { _ as OrCheckboxTreeV3 } from './OrCheckboxTree-f48db82f.js';
|
|
16
16
|
export { _ as OrCheckboxV3 } from './OrCheckbox-db66b4ea.js';
|
|
17
17
|
export { _ as OrChip } from './OrChip-6cae6dab.js';
|
|
18
18
|
export { _ as OrChips } from './OrChips-dd82c2b6.js';
|
|
19
19
|
export { _ as OrCode, O as OrCodeLanguages } from './OrCode-34234c09.js';
|
|
20
|
-
export { C as CodeLanguage, _ as OrCodeV3 } from './OrCode-
|
|
20
|
+
export { C as CodeLanguage, _ as OrCodeV3 } from './OrCode-dd915faf.js';
|
|
21
21
|
export { _ as OrCollapse } from './OrCollapse-9d22b072.js';
|
|
22
22
|
export { _ as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from './OrColorPicker-7a4f2fcb.js';
|
|
23
23
|
export { _ as OrCombinedInputV3 } from './OrCombinedInput-45187323.js';
|
|
24
24
|
export { _ as OrInputBoxV3 } from './OrInputBox-7dc5b9e9.js';
|
|
25
25
|
export { I as CombinedInputSize, I as DatePickerSize, I as DateTimePickerSize, I as InputBoxSize, a as InputBoxVariant, I as InputSize, I as SearchSize, I as SelectSize, I as TagInputSize, I as TextareaSize, I as TimePickerSize } from './OrInputBox.vue_rollup-plugin-vue_script-4fde9829.js';
|
|
26
26
|
export { _ as OrConfirm } from './OrConfirm-807585ea.js';
|
|
27
|
-
export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-
|
|
28
|
-
export { _ as OrDatePickerV3 } from './OrDatePicker-
|
|
27
|
+
export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-a0875502.js';
|
|
28
|
+
export { _ as OrDatePickerV3 } from './OrDatePicker-0b119ef4.js';
|
|
29
29
|
export { D as DEFAULT_TEXT, _ as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-7f4ecc89.js';
|
|
30
|
-
export { _ as OrDateTimePickerV3 } from './OrDateTimePicker-
|
|
31
|
-
export { D as DateTimePickerTimeFormat, D as TimePickerFormat } from './OrDateTimePicker.vue_rollup-plugin-vue_script-
|
|
30
|
+
export { _ as OrDateTimePickerV3 } from './OrDateTimePicker-061c7472.js';
|
|
31
|
+
export { D as DateTimePickerTimeFormat, D as TimePickerFormat } from './OrDateTimePicker.vue_rollup-plugin-vue_script-18dea32e.js';
|
|
32
32
|
export { E as EmptyStateSize, _ as OrEmptyStateV3 } from './OrEmptyState-2d3fd68d.js';
|
|
33
33
|
export { _ as OrError } from './OrError-efc74907.js';
|
|
34
34
|
export { _ as OrErrorTagV3 } from './OrErrorTag-a55ae01a.js';
|
|
@@ -40,14 +40,14 @@ export { F as FormGroupDirection, _ as OrFormGroupV3 } from './OrFormGroup-29a51
|
|
|
40
40
|
export { _ as OrHint } from './OrHint-7eadc91e.js';
|
|
41
41
|
export { _ as OrHintV3 } from './OrHint-aa221198.js';
|
|
42
42
|
export { _ as OrIcon, O as OrIconColors, a as OrIconType } from './OrIcon-d26e8a1e.js';
|
|
43
|
-
export { I as IconButtonColor, _ as OrIconButtonV3 } from './OrIconButton-
|
|
43
|
+
export { I as IconButtonColor, _ as OrIconButtonV3 } from './OrIconButton-311050dc.js';
|
|
44
44
|
export { I as IconButtonSize, I as IconSize, a as IconVariant, _ as OrIconV3 } from './OrIcon-d35a84d8.js';
|
|
45
45
|
export { I as InlineInputBoxSize, I as InlineInputSize, _ as OrInlineInputBoxV3 } from './OrInlineInputBox-19b49ee6.js';
|
|
46
|
-
export { I as InlineInputType, _ as OrInlineInputV3 } from './OrInlineInput-
|
|
46
|
+
export { I as InlineInputType, _ as OrInlineInputV3 } from './OrInlineInput-410e6e7d.js';
|
|
47
47
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, _ as OrInlineTextEdit } from './OrInlineTextEdit-2ec8a8b4.js';
|
|
48
|
-
export { _ as OrInlineTextareaV3 } from './OrInlineTextarea-
|
|
48
|
+
export { _ as OrInlineTextareaV3 } from './OrInlineTextarea-be5970dd.js';
|
|
49
49
|
export { _ as OrInput } from './OrInput-7a12709e.js';
|
|
50
|
-
export { I as InputType, _ as OrInputV3 } from './OrInput-
|
|
50
|
+
export { I as InputType, _ as OrInputV3 } from './OrInput-99ccfff7.js';
|
|
51
51
|
export { _ as OrLabel } from './OrLabel-fcceec1b.js';
|
|
52
52
|
export { L as LabelVariant, _ as OrLabelV3 } from './OrLabel-63380256.js';
|
|
53
53
|
export { L as LinkColor, _ as OrLinkV3 } from './OrLink-cf3a0091.js';
|
|
@@ -56,17 +56,17 @@ export { _ as OrListOfInputs } from './OrListOfInputs-1eaeb7e9.js';
|
|
|
56
56
|
export { L as LoaderViews, _ as OrLoader } from './OrLoader-90406201.js';
|
|
57
57
|
export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, _ as OrLoaderV3 } from './OrLoader-b0c381f9.js';
|
|
58
58
|
export { _ as OrMenuItemV3 } from './OrMenuItem-c1c97ebe.js';
|
|
59
|
-
export { _ as OrMenuV3 } from './OrMenu-
|
|
60
|
-
export { P as MenuPlacement, _ as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-
|
|
59
|
+
export { _ as OrMenuV3 } from './OrMenu-e2f557c8.js';
|
|
60
|
+
export { P as MenuPlacement, _ as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-36e2fc9f.js';
|
|
61
61
|
export { _ as OrModal, O as OrModalSizes } from './OrModal-d300f52f.js';
|
|
62
|
-
export { M as ModalSize, _ as OrModalV3 } from './OrModal-
|
|
62
|
+
export { M as ModalSize, _ as OrModalV3 } from './OrModal-3dafa3ce.js';
|
|
63
63
|
export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, _ as OrNotification } from './OrNotification-defc3f87.js';
|
|
64
|
-
export { N as NotificationVariant, _ as OrNotificationV3 } from './OrNotification-
|
|
64
|
+
export { N as NotificationVariant, _ as OrNotificationV3 } from './OrNotification-6df1f6f6.js';
|
|
65
65
|
export { _ as OrNumberInput } from './OrNumberInput-7f0d6f74.js';
|
|
66
66
|
export { _ as OrOverflowMenu } from './OrOverflowMenu-6f60e864.js';
|
|
67
67
|
export { _ as OrOverlay } from './OrOverlay-ccec2218.js';
|
|
68
|
-
export { _ as OrOverlayV3 } from './OrOverlay-
|
|
69
|
-
export { _ as OrPaginationV3 } from './OrPagination-
|
|
68
|
+
export { _ as OrOverlayV3 } from './OrOverlay-f819eff9.js';
|
|
69
|
+
export { _ as OrPaginationV3 } from './OrPagination-f1e7aaa7.js';
|
|
70
70
|
export { _ as OrPassword } from './OrPassword-ab2acc85.js';
|
|
71
71
|
export { _ as OrProgress, O as OrProgressColors, a as OrProgressTypes } from './OrProgress-65968c24.js';
|
|
72
72
|
export { _ as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrProgress-e079e857.js';
|
|
@@ -75,13 +75,13 @@ export { _ as OrRadioGroup } from './OrRadioGroup-11424644.js';
|
|
|
75
75
|
export { _ as OrRadioGroupV3 } from './OrRadioGroup-d1c2e460.js';
|
|
76
76
|
export { _ as OrRadioV3 } from './OrRadio-b32dfbfe.js';
|
|
77
77
|
export { _ as OrSearch } from './OrSearch-ac542dd6.js';
|
|
78
|
-
export { _ as OrSearchV3 } from './OrSearch-
|
|
78
|
+
export { _ as OrSearchV3 } from './OrSearch-f49e5f70.js';
|
|
79
79
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-d4e32f80.js';
|
|
80
80
|
export { _ as OrSelect } from './OrSelect-c0d04cf6.js';
|
|
81
|
-
export { _ as OrSelectV3 } from './OrSelect-
|
|
81
|
+
export { _ as OrSelectV3 } from './OrSelect-5e9508c9.js';
|
|
82
82
|
export { _ as OrSidebar, O as OrSidebarSide } from './OrSidebar-c56a9221.js';
|
|
83
|
-
export { _ as OrSidebarV3 } from './OrSidebar-
|
|
84
|
-
export { O as OrSidebarPlacement } from './OrSidebarCollapseButton-
|
|
83
|
+
export { _ as OrSidebarV3 } from './OrSidebar-0539d572.js';
|
|
84
|
+
export { O as OrSidebarPlacement } from './OrSidebarCollapseButton-8474d9c3.js';
|
|
85
85
|
export { _ as OrSkeletonCircle } from './OrSkeletonCircle-c4bf0e34.js';
|
|
86
86
|
export { _ as OrSkeletonRect } from './OrSkeletonRect-79162a84.js';
|
|
87
87
|
export { _ as OrSkeletonText } from './OrSkeletonText-bd5d97bb.js';
|
|
@@ -90,7 +90,7 @@ export { _ as OrSkeletonCircleV3 } from './OrSkeletonCircle-3419b04d.js';
|
|
|
90
90
|
export { _ as OrSkeletonRectV3 } from './OrSkeletonRect-7057bc1c.js';
|
|
91
91
|
export { _ as OrSkeletonTextV3 } from './OrSkeletonText-6c00f797.js';
|
|
92
92
|
export { _ as OrSlider } from './OrSlider-c913a2b6.js';
|
|
93
|
-
export { _ as OrSortingV3 } from './OrSorting-
|
|
93
|
+
export { _ as OrSortingV3 } from './OrSorting-fad7928f.js';
|
|
94
94
|
export { _ as OrStepper } from './OrStepper-8dc4059a.js';
|
|
95
95
|
export { _ as OrSwitch } from './OrSwitch-322328f7.js';
|
|
96
96
|
export { _ as OrSwitchV3 } from './OrSwitch-e49ce2d8.js';
|
|
@@ -98,26 +98,26 @@ export { _ as OrTab } from './OrTab-58821c9b.js';
|
|
|
98
98
|
export { _ as OrTabHeaderItem } from './OrTabHeaderItem-424f2986.js';
|
|
99
99
|
export { _ as OrTabV3 } from './OrTab-88036fe9.js';
|
|
100
100
|
export { _ as OrTabs } from './OrTabs-62e7e478.js';
|
|
101
|
-
export { _ as OrTabsV3, T as TabsVariant } from './OrTabs-
|
|
101
|
+
export { _ as OrTabsV3, T as TabsVariant } from './OrTabs-0046e15b.js';
|
|
102
102
|
export { _ as OrTag } from './OrTag-b5803a20.js';
|
|
103
|
-
export { _ as OrTagInputV3 } from './OrTagInput-
|
|
104
|
-
export { _ as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-
|
|
105
|
-
export { _ as OrTagsV3 } from './OrTags-
|
|
103
|
+
export { _ as OrTagInputV3 } from './OrTagInput-5b1ac86e.js';
|
|
104
|
+
export { _ as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-d21ee9c1.js';
|
|
105
|
+
export { _ as OrTagsV3 } from './OrTags-c1a44ef7.js';
|
|
106
106
|
export { _ as OrTeleport } from './OrTeleport.vue2-f0c16c71.js';
|
|
107
107
|
export { _ as OrTeleportV3 } from './OrTeleport.vue2-424c7f33.js';
|
|
108
108
|
export { _ as OrTextV3 } from './OrText-44449e7b.js';
|
|
109
109
|
export { _ as OrTextarea } from './OrTextarea-9febab19.js';
|
|
110
110
|
export { _ as OrTextareaV3 } from './OrTextarea-824f7048.js';
|
|
111
111
|
export { _ as OrTextbox, T as TextboxTypes } from './OrTextbox-cb15a62f.js';
|
|
112
|
-
export { _ as OrTimePickerV3 } from './OrTimePicker-
|
|
112
|
+
export { _ as OrTimePickerV3 } from './OrTimePicker-d73ce31e.js';
|
|
113
113
|
export { _ as OrToast, a as OrToastContainer } from './OrToastContainer-ecffc69f.js';
|
|
114
114
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-05a9c81b.js';
|
|
115
|
-
export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from './types-
|
|
115
|
+
export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from './types-e481ff6f.js';
|
|
116
116
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-5aa9dc05.js';
|
|
117
117
|
export { _ as OrTooltip } from './OrTooltip-2f267924.js';
|
|
118
118
|
export { _ as OrTooltipContent } from './OrTooltipContent-57a25502.js';
|
|
119
|
-
export { _ as OrTooltipV3 } from './OrTooltip-
|
|
120
|
-
export { _ as OrTreeV3, T as TreeNodeDropPosition } from './OrTree-
|
|
119
|
+
export { _ as OrTooltipV3 } from './OrTooltip-ec00d3ee.js';
|
|
120
|
+
export { _ as OrTreeV3, T as TreeNodeDropPosition } from './OrTree-dfc8a086.js';
|
|
121
121
|
export { D as DropdownClose, a as DropdownOpen } from './dropdown-open-e1f90e0a.js';
|
|
122
122
|
export { u as useControlAttributes, a as useIdAttribute } from './useIdAttribute-859439f0.js';
|
|
123
123
|
export { u as useElevation } from './useElevation-a50ec347.js';
|
|
@@ -154,7 +154,7 @@ import '@codemirror/lang-markdown';
|
|
|
154
154
|
import '@codemirror/language';
|
|
155
155
|
import '@lezer/highlight';
|
|
156
156
|
import '@vueuse/math';
|
|
157
|
-
import './OrDateTimePickerPopoverHeader-
|
|
157
|
+
import './OrDateTimePickerPopoverHeader-30ec0bf4.js';
|
|
158
158
|
import 'lodash/padStart';
|
|
159
159
|
import '@floating-ui/dom';
|
|
160
160
|
import './OrTooltip.vue_rollup-plugin-vue_styles.0-0aca0c11.js';
|
|
@@ -5,7 +5,7 @@ import '@onereach/styles/tailwind.config';
|
|
|
5
5
|
import 'tailwindcss/resolveConfig';
|
|
6
6
|
import { _ as __vue_component__$4 } from './OrTeleport.vue2-424c7f33.js';
|
|
7
7
|
import { T as ToastType, P as PositionsX, b as PositionsY, c as TransitionType, d as useToastEventBus, a as useQueue } from './useToast-5aa9dc05.js';
|
|
8
|
-
import { _ as __vue_component__$2 } from './OrIconButton-
|
|
8
|
+
import { _ as __vue_component__$2 } from './OrIconButton-311050dc.js';
|
|
9
9
|
import { _ as __vue_component__$3 } from './OrLoader-b0c381f9.js';
|
|
10
10
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
11
11
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
@@ -374,7 +374,7 @@ var script = defineComponent({
|
|
|
374
374
|
}
|
|
375
375
|
});
|
|
376
376
|
|
|
377
|
-
var css_248z = ".or-toast--transition-slide-enter-active[data-v-
|
|
377
|
+
var css_248z = ".or-toast--transition-slide-enter-active[data-v-e920630e],.or-toast--transition-slide-leave-active[data-v-e920630e]{transition:transform .4s ease}.or-toast--transition-slide-enter-from.or-toast--position-right[data-v-e920630e],.or-toast--transition-slide-leave-to.or-toast--position-right[data-v-e920630e]{transform:translateX(999px)}.or-toast--transition-slide-enter-from.or-toast--position-left[data-v-e920630e],.or-toast--transition-slide-leave-to.or-toast--position-left[data-v-e920630e]{transform:translateX(-999px)}.or-toast--transition-fade-enter-active[data-v-e920630e],.or-toast--transition-fade-leave-active[data-v-e920630e]{transition:opacity .4s ease}.or-toast--transition-fade-enter-from[data-v-e920630e],.or-toast--transition-fade-leave-to[data-v-e920630e]{opacity:0}";
|
|
378
378
|
styleInject(css_248z);
|
|
379
379
|
|
|
380
380
|
/* script */
|
|
@@ -423,7 +423,7 @@ var __vue_staticRenderFns__ = [];
|
|
|
423
423
|
/* style */
|
|
424
424
|
const __vue_inject_styles__ = undefined;
|
|
425
425
|
/* scoped */
|
|
426
|
-
const __vue_scope_id__ = "data-v-
|
|
426
|
+
const __vue_scope_id__ = "data-v-e920630e";
|
|
427
427
|
/* module identifier */
|
|
428
428
|
const __vue_module_identifier__ = undefined;
|
|
429
429
|
/* functional template */
|
|
@@ -13,74 +13,93 @@ var AvatarSize;
|
|
|
13
13
|
})(AvatarSize || (AvatarSize = {}));
|
|
14
14
|
var AvatarColor;
|
|
15
15
|
(function (AvatarColor) {
|
|
16
|
-
AvatarColor["
|
|
17
|
-
AvatarColor["
|
|
18
|
-
AvatarColor["
|
|
19
|
-
AvatarColor["
|
|
20
|
-
AvatarColor["
|
|
21
|
-
AvatarColor["
|
|
16
|
+
AvatarColor["Auto"] = "auto";
|
|
17
|
+
AvatarColor["Blue"] = "blue";
|
|
18
|
+
AvatarColor["Grey"] = "grey";
|
|
19
|
+
AvatarColor["Green"] = "green";
|
|
20
|
+
AvatarColor["Yellow"] = "yellow";
|
|
21
|
+
AvatarColor["Red"] = "red";
|
|
22
22
|
})(AvatarColor || (AvatarColor = {}));
|
|
23
23
|
|
|
24
|
-
const
|
|
24
|
+
const Avatar = [
|
|
25
25
|
// Layout
|
|
26
|
-
'
|
|
27
|
-
//
|
|
28
|
-
'
|
|
26
|
+
'layout-inline-row justify-center',
|
|
27
|
+
// Overflow
|
|
28
|
+
'overflow-hidden',
|
|
29
29
|
// Interactivity
|
|
30
|
-
'interactivity-none'
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
'xl': [
|
|
30
|
+
'interactivity-none',
|
|
31
|
+
// Shape
|
|
32
|
+
'rounded-full'];
|
|
33
|
+
const AvatarSizes = {
|
|
34
|
+
[AvatarSize.XL]: [
|
|
36
35
|
// Box
|
|
37
36
|
'w-[80px]', 'h-[80px]'],
|
|
38
|
-
|
|
37
|
+
[AvatarSize.L]: [
|
|
39
38
|
// Box
|
|
40
39
|
'w-[64px]', 'h-[64px]'],
|
|
41
|
-
|
|
40
|
+
[AvatarSize.M]: [
|
|
42
41
|
// Box
|
|
43
42
|
'w-[40px]', 'h-[40px]'],
|
|
44
|
-
|
|
43
|
+
[AvatarSize.S]: [
|
|
45
44
|
// Box
|
|
46
45
|
'w-[32px]', 'h-[32px]'],
|
|
47
|
-
|
|
46
|
+
[AvatarSize.XS]: [
|
|
48
47
|
// Box
|
|
49
48
|
'w-[24px]', 'h-[24px]']
|
|
50
49
|
};
|
|
51
|
-
const
|
|
52
|
-
[
|
|
50
|
+
const AvatarIconSizes = {
|
|
51
|
+
[AvatarSize.XL]: [
|
|
52
|
+
// Typography
|
|
53
|
+
'text-[40px]'],
|
|
54
|
+
[AvatarSize.L]: [
|
|
55
|
+
// Typography
|
|
56
|
+
'text-[32px]'],
|
|
57
|
+
[AvatarSize.M]: [
|
|
58
|
+
// Typography
|
|
59
|
+
'text-[20px]'],
|
|
60
|
+
[AvatarSize.S]: [
|
|
61
|
+
// Typography
|
|
62
|
+
'text-[16px]'],
|
|
63
|
+
[AvatarSize.XS]: [
|
|
64
|
+
// Typography
|
|
65
|
+
'text-[16px]']
|
|
66
|
+
};
|
|
67
|
+
const AvatarTextSizes = {
|
|
68
|
+
[AvatarSize.XL]: [
|
|
69
|
+
// Typography
|
|
70
|
+
'typography-headline-1'],
|
|
71
|
+
[AvatarSize.L]: [
|
|
72
|
+
// Typography
|
|
73
|
+
'typography-headline-1'],
|
|
74
|
+
[AvatarSize.M]: [
|
|
75
|
+
// Typography
|
|
76
|
+
'typography-body-1-bold'],
|
|
77
|
+
[AvatarSize.S]: [
|
|
78
|
+
// Typography
|
|
79
|
+
'typography-body-1-bold'],
|
|
80
|
+
[AvatarSize.XS]: [
|
|
81
|
+
// Typography
|
|
82
|
+
'typography-caption-semibold']
|
|
83
|
+
};
|
|
84
|
+
const AvatarColors = {
|
|
85
|
+
[AvatarColor.Auto]: [
|
|
53
86
|
// Theme
|
|
54
|
-
'theme-
|
|
55
|
-
[AvatarColor.
|
|
87
|
+
'theme-foreground-base', 'dark:theme-foreground-base-dark'],
|
|
88
|
+
[AvatarColor.Blue]: [
|
|
56
89
|
// Theme
|
|
57
|
-
'theme-preset-1-
|
|
58
|
-
[AvatarColor.
|
|
90
|
+
'theme-preset-1-primary', 'dark:theme-preset-1-primary-dark'],
|
|
91
|
+
[AvatarColor.Grey]: [
|
|
59
92
|
// Theme
|
|
60
|
-
'theme-preset-1-
|
|
61
|
-
[AvatarColor.
|
|
93
|
+
'theme-preset-1-secondary', 'dark:theme-preset-1-secondary-dark'],
|
|
94
|
+
[AvatarColor.Green]: [
|
|
62
95
|
// Theme
|
|
63
96
|
'theme-preset-1-success', 'dark:theme-preset-1-success-dark'],
|
|
64
|
-
[AvatarColor.
|
|
97
|
+
[AvatarColor.Yellow]: [
|
|
65
98
|
// Theme
|
|
66
|
-
'theme-preset-1-
|
|
67
|
-
[AvatarColor.
|
|
99
|
+
'theme-preset-1-warning', 'dark:theme-preset-1-warning-dark'],
|
|
100
|
+
[AvatarColor.Red]: [
|
|
68
101
|
// Theme
|
|
69
|
-
'
|
|
70
|
-
};
|
|
71
|
-
const AvatarRootAbbreviationSizes = {
|
|
72
|
-
'xl': ['typography-headline-1'],
|
|
73
|
-
'l': ['typography-headline-1'],
|
|
74
|
-
'm': ['typography-body-1-bold'],
|
|
75
|
-
's': ['typography-body-1-bold'],
|
|
76
|
-
'xs': ['typography-caption-semibold']
|
|
77
|
-
};
|
|
78
|
-
const AvatarRootIconSizes = {
|
|
79
|
-
'xl': ['text-[40px]'],
|
|
80
|
-
'l': ['text-[32px]'],
|
|
81
|
-
'm': ['text-[20px]'],
|
|
82
|
-
's': ['text-[16px]'],
|
|
83
|
-
'xs': ['text-[16px]']
|
|
102
|
+
'theme-preset-1-error', 'dark:theme-preset-1-error-dark']
|
|
84
103
|
};
|
|
85
104
|
|
|
86
105
|
var script = defineComponent({
|
|
@@ -93,69 +112,62 @@ var script = defineComponent({
|
|
|
93
112
|
type: String,
|
|
94
113
|
default: undefined
|
|
95
114
|
},
|
|
96
|
-
size: {
|
|
97
|
-
type: String,
|
|
98
|
-
default: AvatarSize.M
|
|
99
|
-
},
|
|
100
115
|
icon: {
|
|
101
116
|
type: String,
|
|
102
117
|
default: undefined
|
|
103
118
|
},
|
|
119
|
+
size: {
|
|
120
|
+
type: String,
|
|
121
|
+
default: AvatarSize.M
|
|
122
|
+
},
|
|
104
123
|
color: {
|
|
105
124
|
type: String,
|
|
106
|
-
default: AvatarColor.
|
|
107
|
-
required: false
|
|
125
|
+
default: AvatarColor.Auto
|
|
108
126
|
},
|
|
109
127
|
colorSalt: {
|
|
110
128
|
type: String,
|
|
111
|
-
default: undefined
|
|
112
|
-
required: false
|
|
129
|
+
default: undefined
|
|
113
130
|
}
|
|
114
131
|
},
|
|
115
132
|
expose: ['root'],
|
|
116
133
|
setup(props) {
|
|
117
134
|
// Refs
|
|
118
135
|
const root = ref();
|
|
119
|
-
const isIcon = computed(() => {
|
|
120
|
-
return !props.icon;
|
|
121
|
-
});
|
|
122
136
|
// Styles
|
|
123
|
-
const rootStyles = computed(() => ['or-avatar-v3', ...
|
|
124
|
-
const imageStyles = computed(() => [...AvatarImage]);
|
|
137
|
+
const rootStyles = computed(() => ['or-avatar-v3', ...Avatar, ...AvatarSizes[props.size], ...(props.icon ? AvatarIconSizes[props.size] : AvatarTextSizes[props.size]), ...AvatarColors[props.color]]);
|
|
125
138
|
// Effects
|
|
126
139
|
watchPostEffect(() => {
|
|
127
140
|
var _a;
|
|
128
141
|
const rootElement = root.value;
|
|
129
|
-
if (rootElement && !props.src && props.color === AvatarColor.
|
|
142
|
+
if (rootElement && !props.src && props.color === AvatarColor.Auto) {
|
|
130
143
|
Object.assign(rootElement.style, {
|
|
131
|
-
|
|
132
|
-
|
|
144
|
+
color: props.color,
|
|
145
|
+
background: hslToColorString(generateHslFromString((_a = props.colorSalt) !== null && _a !== void 0 ? _a : ''))
|
|
133
146
|
});
|
|
134
147
|
}
|
|
135
148
|
});
|
|
136
149
|
return {
|
|
137
150
|
root,
|
|
138
|
-
rootStyles
|
|
139
|
-
imageStyles
|
|
151
|
+
rootStyles
|
|
140
152
|
};
|
|
141
153
|
}
|
|
142
154
|
});
|
|
143
155
|
|
|
144
156
|
const _hoisted_1 = ["src"];
|
|
145
157
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
146
|
-
const
|
|
158
|
+
const _component_OrIcon = resolveComponent("OrIcon");
|
|
147
159
|
return openBlock(), createElementBlock("div", {
|
|
148
160
|
ref: "root",
|
|
149
161
|
class: normalizeClass(_ctx.rootStyles)
|
|
150
162
|
}, [renderSlot(_ctx.$slots, "default", {}, () => [_ctx.src ? (openBlock(), createElementBlock("img", {
|
|
151
163
|
key: 0,
|
|
152
|
-
class: normalizeClass(
|
|
164
|
+
class: normalizeClass(['w-full', 'h-full', 'object-cover']),
|
|
153
165
|
src: _ctx.src,
|
|
154
166
|
alt: ''
|
|
155
|
-
}, null,
|
|
167
|
+
}, null, 8 /* PROPS */, _hoisted_1)) : _ctx.icon ? (openBlock(), createBlock(_component_OrIcon, {
|
|
156
168
|
key: 1,
|
|
157
169
|
icon: _ctx.icon,
|
|
158
|
-
size:
|
|
170
|
+
size: 'inherit'
|
|
159
171
|
}, null, 8 /* PROPS */, ["icon"])) : createCommentVNode("v-if", true)])], 2 /* CLASS */);
|
|
160
172
|
}
|
|
161
173
|
|
|
@@ -3,7 +3,7 @@ import { ref, unref, computed, defineComponent, toRef, watch } from 'vue-demi';
|
|
|
3
3
|
import { u as usePopoverState } from './usePopoverState-b92c698b.js';
|
|
4
4
|
import '@onereach/styles/tailwind.config';
|
|
5
5
|
import 'tailwindcss/resolveConfig';
|
|
6
|
-
import { s as script$1 } from './OrOverlay-
|
|
6
|
+
import { s as script$1 } from './OrOverlay-99e696e8.js';
|
|
7
7
|
import { u as useTheme } from './useTheme-e23d13c8.js';
|
|
8
8
|
import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, mergeProps, createElementBlock, normalizeClass, createCommentVNode, renderSlot } from 'vue';
|
|
9
9
|
|
|
@@ -13,47 +13,6 @@ var BottomSheetVariant;
|
|
|
13
13
|
BottomSheetVariant["Advanced"] = "advanced";
|
|
14
14
|
})(BottomSheetVariant || (BottomSheetVariant = {}));
|
|
15
15
|
|
|
16
|
-
const BottomSheet = [
|
|
17
|
-
// Position
|
|
18
|
-
'fixed', 'left-none', 'right-none', 'bottom-none',
|
|
19
|
-
// Layout
|
|
20
|
-
'layout-column',
|
|
21
|
-
// Shape
|
|
22
|
-
'rounded-t-lg',
|
|
23
|
-
// Theme
|
|
24
|
-
'theme-background-base', 'dark:theme-background-base-dark', 'theme-foreground-default', 'dark:theme-foreground-default-dark',
|
|
25
|
-
// Elevation
|
|
26
|
-
'shadow-contextual', 'dark:shadow-contextual-dark'];
|
|
27
|
-
const BottomSheetVariants = {
|
|
28
|
-
'basic': [],
|
|
29
|
-
'advanced': [
|
|
30
|
-
// Box
|
|
31
|
-
'max-h-[50%]',
|
|
32
|
-
// Animation
|
|
33
|
-
'transition-[min-height]', 'transition-[max-height]']
|
|
34
|
-
};
|
|
35
|
-
const BottomSheetHandle = [
|
|
36
|
-
// Layout
|
|
37
|
-
'layout-row justify-center',
|
|
38
|
-
// Box
|
|
39
|
-
'after:w-2xl', 'after:h-xs',
|
|
40
|
-
// Shape
|
|
41
|
-
'after:rounded-full',
|
|
42
|
-
// Spacing
|
|
43
|
-
'px-sm', 'py-sm',
|
|
44
|
-
// Interactivity
|
|
45
|
-
'cursor-grab',
|
|
46
|
-
// Theme
|
|
47
|
-
'after:bg-outline', 'after:dark:bg-outline'];
|
|
48
|
-
const BottomSheetHeader = [
|
|
49
|
-
// Layout
|
|
50
|
-
'empty:hidden',
|
|
51
|
-
// Spacing
|
|
52
|
-
'px-lg', 'py-md',
|
|
53
|
-
// Typography
|
|
54
|
-
'typography-headline-3'];
|
|
55
|
-
const BottomSheetContent = ['grow'];
|
|
56
|
-
|
|
57
16
|
function useBottomSheetSwipeState(root, content, fullscreen, variant, close) {
|
|
58
17
|
const inlineSwipingStyles = ref({});
|
|
59
18
|
const skipSwipe = ref(false);
|
|
@@ -119,6 +78,48 @@ function useBottomSheetSwipeState(root, content, fullscreen, variant, close) {
|
|
|
119
78
|
};
|
|
120
79
|
}
|
|
121
80
|
|
|
81
|
+
const BottomSheet = [
|
|
82
|
+
// Position
|
|
83
|
+
'fixed', 'left-none', 'right-none', 'bottom-none',
|
|
84
|
+
// Layout
|
|
85
|
+
'layout-column',
|
|
86
|
+
// Shape
|
|
87
|
+
'rounded-t-lg',
|
|
88
|
+
// Elevation
|
|
89
|
+
'shadow-contextual', 'dark:shadow-contextual-dark',
|
|
90
|
+
// Typography
|
|
91
|
+
'typography-body-2-regular',
|
|
92
|
+
// Theme
|
|
93
|
+
'theme-background-base', 'dark:theme-background-base-dark', 'theme-foreground-default', 'dark:theme-foreground-default-dark'];
|
|
94
|
+
const BottomSheetVariants = {
|
|
95
|
+
[BottomSheetVariant.Basic]: [],
|
|
96
|
+
[BottomSheetVariant.Advanced]: [
|
|
97
|
+
// Box
|
|
98
|
+
'max-h-[50%]',
|
|
99
|
+
// Transition
|
|
100
|
+
'transition-[min-height]', 'transition-[max-height]']
|
|
101
|
+
};
|
|
102
|
+
const BottomSheetHandle = [
|
|
103
|
+
// Layout
|
|
104
|
+
'layout-row justify-center',
|
|
105
|
+
// Interactivity
|
|
106
|
+
'interactivity-auto !cursor-grab',
|
|
107
|
+
// Box
|
|
108
|
+
'after:w-2xl', 'after:h-xs',
|
|
109
|
+
// Spacing
|
|
110
|
+
'px-sm', 'py-sm',
|
|
111
|
+
// Shape
|
|
112
|
+
'after:rounded-full',
|
|
113
|
+
// Theme
|
|
114
|
+
'after:bg-outline', 'after:dark:bg-outline'];
|
|
115
|
+
const BottomSheetHeader = [
|
|
116
|
+
// Layout (empty)
|
|
117
|
+
'empty:hidden',
|
|
118
|
+
// Spacing
|
|
119
|
+
'px-lg', 'py-md',
|
|
120
|
+
// Typography
|
|
121
|
+
'typography-headline-3'];
|
|
122
|
+
|
|
122
123
|
var script = defineComponent({
|
|
123
124
|
name: 'OrBottomSheet',
|
|
124
125
|
components: {
|
|
@@ -141,6 +142,10 @@ var script = defineComponent({
|
|
|
141
142
|
// Refs
|
|
142
143
|
const root = ref();
|
|
143
144
|
const content = ref();
|
|
145
|
+
// Styles
|
|
146
|
+
const rootStyles = computed(() => ['or-bottom-sheet-v3', ...BottomSheet, ...BottomSheetVariants[props.variant]]);
|
|
147
|
+
const handleStyles = computed(() => [...BottomSheetHandle]);
|
|
148
|
+
const headerStyles = computed(() => [...BottomSheetHeader]);
|
|
144
149
|
// State
|
|
145
150
|
const {
|
|
146
151
|
state,
|
|
@@ -173,17 +178,11 @@ var script = defineComponent({
|
|
|
173
178
|
}
|
|
174
179
|
});
|
|
175
180
|
// #endregion
|
|
176
|
-
// Styles
|
|
177
|
-
const rootStyles = computed(() => ['or-bottom-sheet-v3', ...BottomSheet, ...BottomSheetVariants[props.variant]]);
|
|
178
|
-
const handleStyles = computed(() => [...BottomSheetHandle]);
|
|
179
|
-
const headerStyles = computed(() => [...BottomSheetHeader]);
|
|
180
|
-
const contentStyles = computed(() => [...BottomSheetContent, fullscreen.value || props.variant === BottomSheetVariant.Basic ? 'overflow-y-auto' : 'overflow-hidden']);
|
|
181
181
|
return {
|
|
182
182
|
root,
|
|
183
183
|
content,
|
|
184
184
|
rootStyles,
|
|
185
185
|
rootInlineStyles,
|
|
186
|
-
contentStyles,
|
|
187
186
|
handleStyles,
|
|
188
187
|
headerStyles,
|
|
189
188
|
state,
|
|
@@ -213,7 +212,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
213
212
|
class: normalizeClass(_ctx.headerStyles)
|
|
214
213
|
}, [renderSlot(_ctx.$slots, "header")], 2 /* CLASS */), createElementVNode("div", {
|
|
215
214
|
ref: "content",
|
|
216
|
-
class: normalizeClass(_ctx.
|
|
215
|
+
class: normalizeClass(['grow', _ctx.fullscreen || _ctx.variant === 'basic' ? 'overflow-y-auto' : 'overflow-hidden'])
|
|
217
216
|
}, [renderSlot(_ctx.$slots, "default")], 2 /* CLASS */)], 16 /* FULL_PROPS */)]),
|
|
218
217
|
|
|
219
218
|
_: 3 /* FORWARDED */
|
|
@@ -22,38 +22,40 @@ var ButtonType;
|
|
|
22
22
|
ButtonType["Reset"] = "reset";
|
|
23
23
|
})(ButtonType || (ButtonType = {}));
|
|
24
24
|
|
|
25
|
-
const
|
|
25
|
+
const Button = [
|
|
26
26
|
// Layout
|
|
27
27
|
'layout-inline-row justify-center',
|
|
28
|
-
//
|
|
29
|
-
'
|
|
28
|
+
// Overflow
|
|
29
|
+
'overflow-hidden',
|
|
30
30
|
// Interactivity
|
|
31
31
|
'interactivity-auto',
|
|
32
|
+
// Shape
|
|
33
|
+
'rounded-md',
|
|
32
34
|
// Typography
|
|
33
35
|
'typography-button'];
|
|
34
|
-
const
|
|
35
|
-
|
|
36
|
+
const ButtonVariants = {
|
|
37
|
+
[ButtonVariant.Contained]: [
|
|
36
38
|
// Box
|
|
37
39
|
'min-w-[96px]',
|
|
38
40
|
// Spacing
|
|
39
41
|
'px-md md:px-md', 'py-sm+ md:py-sm', 'gap-sm+ md:gap-sm',
|
|
40
|
-
//
|
|
42
|
+
// Elevation (enabled)
|
|
41
43
|
'enabled:shadow-button', 'dark:enabled:shadow-button-dark'],
|
|
42
|
-
|
|
44
|
+
[ButtonVariant.Outlined]: [
|
|
43
45
|
// Box
|
|
44
46
|
'min-w-[96px]',
|
|
45
47
|
// Spacing
|
|
46
48
|
'px-md* md:px-md*', 'py-sm+* md:py-sm*', 'gap-sm+ md:gap-sm'],
|
|
47
|
-
|
|
49
|
+
[ButtonVariant.Text]: [
|
|
48
50
|
// Box
|
|
49
51
|
'min-w-[96px]',
|
|
50
52
|
// Spacing
|
|
51
53
|
'px-md md:px-md', 'py-sm+ md:py-sm', 'gap-sm+ md:gap-sm'],
|
|
52
|
-
|
|
54
|
+
[ButtonVariant.Link]: [
|
|
53
55
|
// Spacing
|
|
54
56
|
'gap-xs']
|
|
55
57
|
};
|
|
56
|
-
const
|
|
58
|
+
const ButtonColors = {
|
|
57
59
|
'primary-contained': [
|
|
58
60
|
// Theme
|
|
59
61
|
'theme-preset-1-primary', 'dark:theme-preset-1-primary-dark'],
|
|
@@ -133,7 +135,7 @@ var script = defineComponent({
|
|
|
133
135
|
// Refs
|
|
134
136
|
const root = ref();
|
|
135
137
|
// Styles
|
|
136
|
-
const rootStyles = computed(() => ['or-button-v3', ...
|
|
138
|
+
const rootStyles = computed(() => ['or-button-v3', ...Button, ...ButtonVariants[props.variant], ...ButtonColors[`${props.color}-${props.variant}`], props.loading && 'interactivity-none']);
|
|
137
139
|
return {
|
|
138
140
|
root,
|
|
139
141
|
rootStyles,
|