@onereach/ui-components 4.18.1 → 4.18.2-beta.3104.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 +20 -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 +21 -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 +8 -8
- 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 +17 -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 +9 -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 +14 -6
- 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-4568f405.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-70bb7a98.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-098b3136.js} +2 -2
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-73aa938c.js → OrConfirm.vue_vue_type_script_lang-5048b4b0.js} +5 -5
- package/dist/bundled/v3/{OrDatePicker.vue_vue_type_script_lang-9c41e3f9.js → OrDatePicker.vue_vue_type_script_lang-9f9500d0.js} +4 -4
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-32107a94.js → OrDateTimePicker.vue_vue_type_script_lang-be5717f8.js} +5 -5
- package/dist/bundled/v3/{OrDateTimePickerMonthSelect-c1711d61.js → OrDateTimePickerMonthSelect-b9189050.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-e90ee58a.js} +1 -1
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-43321b2b.js → OrInlineInput.vue_vue_type_script_lang-98c17160.js} +1 -1
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-db4f0a3b.js → OrInlineTextarea.vue_vue_type_script_lang-37d6fe45.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-d64bda8a.js → OrInput.vue_vue_type_script_lang-df81eb91.js} +1 -1
- package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-021144d0.js → OrMenu.vue_vue_type_script_lang-2fbd5b46.js} +1 -1
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-2c5c049e.js → OrModal.vue_vue_type_script_lang-1a1ab72e.js} +4 -6
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-c17521c0.js → OrNotification.vue_vue_type_script_lang-672fe3b3.js} +1 -1
- package/dist/bundled/v3/{OrOverlay.vue_vue_type_script_lang-01c9e89b.js → OrOverlay.vue_vue_type_script_lang-6f4b4319.js} +2 -2
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-c36afcb9.js → OrPagination.vue_vue_type_script_lang-97e6179d.js} +2 -2
- package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-26dd5475.js → OrPopover.vue_vue_type_script_lang-fdae0e3b.js} +1 -1
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-07373511.js → OrSearch.vue_vue_type_script_lang-7b36b06a.js} +1 -1
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-9acc1912.js → OrSelect.vue_vue_type_script_lang-4fcfb896.js} +4 -4
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-8186b9bc.js → OrSidebar.vue_vue_type_script_lang-e41d933c.js} +1 -1
- package/dist/bundled/v3/{OrSorting.vue_vue_type_script_lang-c12a13b0.js → OrSorting.vue_vue_type_script_lang-c2f7b3df.js} +2 -2
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-e00ea5e2.js → OrTabs.vue_vue_type_script_lang-b9978d2f.js} +1 -1
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-35dd9ab6.js → OrTag.vue_vue_type_script_lang-886cd872.js} +1 -1
- package/dist/bundled/v3/{OrTagInput.vue_vue_type_script_lang-6b584d66.js → OrTagInput.vue_vue_type_script_lang-54d518a6.js} +2 -2
- package/dist/bundled/v3/{OrTags.vue_vue_type_script_lang-d4e4da50.js → OrTags.vue_vue_type_script_lang-a4e2c7e9.js} +3 -3
- package/dist/bundled/v3/{OrTimePicker.vue_vue_type_script_lang-223d7bb1.js → OrTimePicker.vue_vue_type_script_lang-d96fc576.js} +4 -4
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-bfcbc29a.js → OrTooltip.vue_vue_type_script_lang-83a8ab0b.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 +20 -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 +21 -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 +8 -8
- 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 +17 -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 +9 -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 +14 -6
- 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-71ec1799.js} +52 -49
- package/dist/esm/v2/{OrButton-9622e713.js → OrButton-a23ee9f0.js} +13 -11
- package/dist/esm/v2/{OrCardCollection-ca6d1e3c.js → OrCardCollection-fd20eb66.js} +42 -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-83585e00.js} +2 -2
- package/dist/esm/v2/{OrConfirm-e4f8c958.js → OrConfirm-57b5f6e2.js} +11 -11
- package/dist/esm/v2/{OrDatePicker-20d1ed3e.js → OrDatePicker-4b34a841.js} +3 -3
- package/dist/esm/v2/{OrDateTimePicker-42c99a26.js → OrDateTimePicker-c1ec1088.js} +1 -1
- package/dist/esm/v2/{OrDateTimePicker.vue_rollup-plugin-vue_script-64817206.js → OrDateTimePicker.vue_rollup-plugin-vue_script-a56a26d1.js} +4 -4
- package/dist/esm/v2/{OrDateTimePickerPopoverHeader-dd9de00f.js → OrDateTimePickerPopoverHeader-4341ea98.js} +4 -4
- package/dist/esm/v2/{OrIconButton-85a6de2c.js → OrIconButton-26b42bb2.js} +2 -2
- package/dist/esm/v2/{OrInlineInput-2b7f5745.js → OrInlineInput-384601c0.js} +1 -1
- package/dist/esm/v2/{OrInlineTextarea-281064ab.js → OrInlineTextarea-1f0519e9.js} +1 -1
- package/dist/esm/v2/{OrInput-a7e317b8.js → OrInput-ff29d8d3.js} +1 -1
- package/dist/esm/v2/{OrMenu-54d6a7a5.js → OrMenu-011e6f3e.js} +1 -1
- package/dist/esm/v2/{OrModal-5626eeee.js → OrModal-e3b0e84b.js} +20 -16
- package/dist/esm/v2/{OrNotification-b0fb0d4f.js → OrNotification-63815057.js} +1 -1
- package/dist/esm/v2/{OrOverlay-948346df.js → OrOverlay-86a35726.js} +9 -5
- package/dist/esm/v2/{OrPagination-11d363f2.js → OrPagination-6f29569d.js} +3 -3
- package/dist/esm/v2/{OrPopover-c511273a.js → OrPopover-334d1fbd.js} +15 -7
- package/dist/esm/v2/{OrSearch-7ad39657.js → OrSearch-45b9f2aa.js} +1 -1
- package/dist/esm/v2/{OrSelect-0bd57cba.js → OrSelect-c5db431e.js} +4 -4
- package/dist/esm/v2/{OrSidebar-74f719fc.js → OrSidebar-63b6a3ed.js} +1 -1
- package/dist/esm/v2/{OrSidebarCollapseButton-07d12eb4.js → OrSidebarCollapseButton-39e8b1c6.js} +1 -1
- package/dist/esm/v2/{OrSorting-ef99ef70.js → OrSorting-c61855a7.js} +3 -3
- package/dist/esm/v2/{OrTabs-b8a92669.js → OrTabs-f38b548c.js} +2 -2
- package/dist/esm/v2/{OrTag-b6125507.js → OrTag-6394a638.js} +1 -1
- package/dist/esm/v2/{OrTagInput-f2ddcc97.js → OrTagInput-60bbd049.js} +2 -2
- package/dist/esm/v2/{OrTags-b7d9e52c.js → OrTags-98216344.js} +3 -3
- package/dist/esm/v2/{OrTimePicker-9312df72.js → OrTimePicker-233ed379.js} +4 -4
- package/dist/esm/v2/{OrTooltip-7a9861a2.js → OrTooltip-4fdb163a.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-teleport/OrTeleport.vue2.vue.d.ts +2 -2
- 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-dab9146d.js → types-4b020789.js} +3 -3
- package/dist/esm/v3/{OrAvatar-07fe6686.js → OrAvatar-554347e6.js} +80 -68
- package/dist/esm/v3/{OrBottomSheet-efca7190.js → OrBottomSheet-762703d3.js} +52 -49
- package/dist/esm/v3/{OrButton-c2b6aa9e.js → OrButton-4a3c3e7b.js} +13 -11
- package/dist/esm/v3/{OrCardCollection-0adc842d.js → OrCardCollection-0ac4d975.js} +42 -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-dd6bc0a3.js} +2 -2
- package/dist/esm/v3/{OrConfirm-e3e225b3.js → OrConfirm-44c02d07.js} +11 -11
- package/dist/esm/v3/{OrDatePicker-6993440a.js → OrDatePicker-fc74e6e3.js} +3 -3
- package/dist/esm/v3/{OrDateTimePicker-fd642cb1.js → OrDateTimePicker-5aafc2f6.js} +4 -4
- package/dist/esm/v3/{OrDateTimePickerPopoverHeader-ece5b2a7.js → OrDateTimePickerPopoverHeader-60cde5e5.js} +4 -4
- package/dist/esm/v3/{OrIconButton-fe133b18.js → OrIconButton-6335f090.js} +2 -2
- package/dist/esm/v3/{OrInlineInput-7342053f.js → OrInlineInput-44e734cd.js} +1 -1
- package/dist/esm/v3/{OrInlineTextarea-10657b96.js → OrInlineTextarea-064f0da4.js} +1 -1
- package/dist/esm/v3/{OrInput-5ffebd41.js → OrInput-024ae27b.js} +1 -1
- package/dist/esm/v3/{OrMenu-20ca3870.js → OrMenu-94fa5bf0.js} +1 -1
- package/dist/esm/v3/{OrModal-3ebc1346.js → OrModal-c8c2b0bf.js} +20 -16
- package/dist/esm/v3/{OrNotification-78f567b4.js → OrNotification-1e0d22cb.js} +1 -1
- package/dist/esm/v3/{OrOverlay-489fdf76.js → OrOverlay-953a0187.js} +9 -5
- package/dist/esm/v3/{OrPagination-9bd81a94.js → OrPagination-c574b5c0.js} +3 -3
- package/dist/esm/v3/{OrPopover-6d433297.js → OrPopover-35394f4a.js} +15 -7
- package/dist/esm/v3/{OrSearch-94019f8b.js → OrSearch-83be7327.js} +1 -1
- package/dist/esm/v3/{OrSelect-48f2374c.js → OrSelect-18152830.js} +4 -4
- package/dist/esm/v3/{OrSidebar-5da9646b.js → OrSidebar-f11e1fdd.js} +1 -1
- package/dist/esm/v3/{OrSidebarCollapseButton-d7bc8075.js → OrSidebarCollapseButton-7460d0a1.js} +1 -1
- package/dist/esm/v3/{OrSorting-012e0c6b.js → OrSorting-2d85af28.js} +3 -3
- package/dist/esm/v3/{OrTabs-54c48a61.js → OrTabs-5181250e.js} +2 -2
- package/dist/esm/v3/{OrTag-499c45e1.js → OrTag-e7f474ec.js} +1 -1
- package/dist/esm/v3/{OrTagInput-9c53b28c.js → OrTagInput-32216ab9.js} +2 -2
- package/dist/esm/v3/{OrTags-e56deb73.js → OrTags-8dec2361.js} +3 -3
- package/dist/esm/v3/{OrTimePicker-dc9a10d5.js → OrTimePicker-9b3d9859.js} +4 -4
- package/dist/esm/v3/{OrTooltip-2422971c.js → OrTooltip-0dbe245c.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-a369627d.js → types-c167d3d9.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 +22 -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 +30 -14
- package/src/components/or-confirm-v3/OrConfirm.vue +2 -2
- package/src/components/or-confirm-v3/styles.ts +9 -9
- 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 +18 -12
- package/src/components/or-overlay-v3/OrOverlay.vue +2 -2
- package/src/components/or-overlay-v3/styles.ts +14 -8
- package/src/components/or-popover-v3/styles.ts +18 -6
- package/src/components/or-toast-v3/or-toast-container-v3/OrToastContainer.vue +1 -3
- /package/dist/bundled/v2/{OrDateTimePickerMonthSelect-8792b53f.js → OrDateTimePickerMonthSelect-75f7f7f4.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-01f49e56.js} +0 -0
|
@@ -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,50 +112,43 @@ 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
|
});
|
|
@@ -153,18 +165,18 @@ var __vue_render__ = function () {
|
|
|
153
165
|
ref: "root",
|
|
154
166
|
class: _vm.rootStyles
|
|
155
167
|
}, [_vm._t("default", function () {
|
|
156
|
-
return [_vm.src ? _c('img', {
|
|
157
|
-
class:
|
|
168
|
+
return [_vm.src ? [_c('img', {
|
|
169
|
+
class: ['w-full', 'h-full', 'object-cover'],
|
|
158
170
|
attrs: {
|
|
159
171
|
"src": _vm.src,
|
|
160
172
|
"alt": ''
|
|
161
173
|
}
|
|
162
|
-
}) : _vm.icon ? _c('
|
|
174
|
+
})] : _vm.icon ? [_c('OrIcon', {
|
|
163
175
|
attrs: {
|
|
164
176
|
"icon": _vm.icon,
|
|
165
|
-
"size":
|
|
177
|
+
"size": 'inherit'
|
|
166
178
|
}
|
|
167
|
-
}) : _vm._e()];
|
|
179
|
+
})] : _vm._e()];
|
|
168
180
|
})], 2);
|
|
169
181
|
};
|
|
170
182
|
var __vue_staticRenderFns__ = [];
|
|
@@ -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 { _ as __vue_component__$1 } from './OrOverlay-
|
|
6
|
+
import { _ as __vue_component__$1 } from './OrOverlay-86a35726.js';
|
|
7
7
|
import { u as useTheme } from './useTheme-e23d13c8.js';
|
|
8
8
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
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,52 @@ 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
|
+
// Overflow
|
|
87
|
+
'overflow-hidden',
|
|
88
|
+
// Interactivity
|
|
89
|
+
'interactivity-none',
|
|
90
|
+
// Shape
|
|
91
|
+
'rounded-t-lg',
|
|
92
|
+
// Elevation
|
|
93
|
+
'shadow-contextual', 'dark:shadow-contextual-dark',
|
|
94
|
+
// Typography
|
|
95
|
+
'typography-body-2-regular',
|
|
96
|
+
// Theme
|
|
97
|
+
'theme-background-base', 'dark:theme-background-base-dark', 'theme-foreground-default', 'dark:theme-foreground-default-dark'];
|
|
98
|
+
const BottomSheetVariants = {
|
|
99
|
+
[BottomSheetVariant.Basic]: [],
|
|
100
|
+
[BottomSheetVariant.Advanced]: [
|
|
101
|
+
// Box
|
|
102
|
+
'max-h-[50%]',
|
|
103
|
+
// Transition
|
|
104
|
+
'transition-[min-height]', 'transition-[max-height]']
|
|
105
|
+
};
|
|
106
|
+
const BottomSheetHandle = [
|
|
107
|
+
// Layout
|
|
108
|
+
'layout-row justify-center',
|
|
109
|
+
// Interactivity
|
|
110
|
+
'interactivity-auto !cursor-grab',
|
|
111
|
+
// Box
|
|
112
|
+
'after:w-2xl', 'after:h-xs',
|
|
113
|
+
// Spacing
|
|
114
|
+
'px-sm', 'py-sm',
|
|
115
|
+
// Shape
|
|
116
|
+
'after:rounded-full',
|
|
117
|
+
// Theme
|
|
118
|
+
'after:bg-outline', 'after:dark:bg-outline'];
|
|
119
|
+
const BottomSheetHeader = [
|
|
120
|
+
// Layout (empty)
|
|
121
|
+
'empty:hidden',
|
|
122
|
+
// Spacing
|
|
123
|
+
'px-lg', 'py-md',
|
|
124
|
+
// Typography
|
|
125
|
+
'typography-headline-3'];
|
|
126
|
+
|
|
122
127
|
var script = defineComponent({
|
|
123
128
|
name: 'OrBottomSheet',
|
|
124
129
|
components: {
|
|
@@ -141,6 +146,10 @@ var script = defineComponent({
|
|
|
141
146
|
// Refs
|
|
142
147
|
const root = ref();
|
|
143
148
|
const content = ref();
|
|
149
|
+
// Styles
|
|
150
|
+
const rootStyles = computed(() => ['or-bottom-sheet-v3', ...BottomSheet, ...BottomSheetVariants[props.variant]]);
|
|
151
|
+
const handleStyles = computed(() => [...BottomSheetHandle]);
|
|
152
|
+
const headerStyles = computed(() => [...BottomSheetHeader]);
|
|
144
153
|
// State
|
|
145
154
|
const {
|
|
146
155
|
state,
|
|
@@ -173,17 +182,11 @@ var script = defineComponent({
|
|
|
173
182
|
}
|
|
174
183
|
});
|
|
175
184
|
// #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
185
|
return {
|
|
182
186
|
root,
|
|
183
187
|
content,
|
|
184
188
|
rootStyles,
|
|
185
189
|
rootInlineStyles,
|
|
186
|
-
contentStyles,
|
|
187
190
|
handleStyles,
|
|
188
191
|
headerStyles,
|
|
189
192
|
state,
|
|
@@ -217,7 +220,7 @@ var __vue_render__ = function () {
|
|
|
217
220
|
class: _vm.headerStyles
|
|
218
221
|
}, [_vm._t("header")], 2), _vm._v(" "), _c('div', {
|
|
219
222
|
ref: "content",
|
|
220
|
-
class: _vm.
|
|
223
|
+
class: ['grow', _vm.fullscreen || _vm.variant === 'basic' ? 'overflow-y-auto' : 'overflow-hidden']
|
|
221
224
|
}, [_vm._t("default")], 2)], 2)]) : _vm._e();
|
|
222
225
|
};
|
|
223
226
|
var __vue_staticRenderFns__ = [];
|
|
@@ -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,
|
|
@@ -1,15 +1,36 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, watch } from 'vue-demi';
|
|
2
|
-
import { _ as __vue_component__$2 } from './OrIconButton-
|
|
3
|
-
import { _ as __vue_component__$4 } from './OrSearch-
|
|
2
|
+
import { _ as __vue_component__$2 } from './OrIconButton-26b42bb2.js';
|
|
3
|
+
import { _ as __vue_component__$4 } from './OrSearch-45b9f2aa.js';
|
|
4
4
|
import './OrInputBox.vue_rollup-plugin-vue_script-4fde9829.js';
|
|
5
|
+
import { _ as __vue_component__$3 } from './OrSorting-c61855a7.js';
|
|
5
6
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
6
|
-
import { _ as __vue_component__$3 } from './OrSorting-ef99ef70.js';
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
var CardCollectionView;
|
|
9
|
+
(function (CardCollectionView) {
|
|
10
|
+
CardCollectionView["Grid"] = "grid";
|
|
11
|
+
CardCollectionView["List"] = "list";
|
|
12
|
+
})(CardCollectionView || (CardCollectionView = {}));
|
|
13
|
+
const gridView = {
|
|
14
|
+
view: CardCollectionView.Grid,
|
|
15
|
+
icon: 'grid_view'
|
|
16
|
+
};
|
|
17
|
+
const listView = {
|
|
18
|
+
view: CardCollectionView.List,
|
|
19
|
+
icon: 'view_agenda'
|
|
20
|
+
};
|
|
21
|
+
const defaultViewModes = [gridView, listView];
|
|
22
|
+
|
|
23
|
+
const CardCollection = [
|
|
9
24
|
// Layout
|
|
10
25
|
'layout-column',
|
|
26
|
+
// Overflow
|
|
27
|
+
'overflow-hidden',
|
|
28
|
+
// Interactivity
|
|
29
|
+
'interactivity-none',
|
|
30
|
+
// Box
|
|
31
|
+
'max-h-full',
|
|
11
32
|
// Spacing
|
|
12
|
-
'gap-md'
|
|
33
|
+
'gap-md'];
|
|
13
34
|
const CardCollectionToolbar = [
|
|
14
35
|
// Layout
|
|
15
36
|
'layout-row justify-between',
|
|
@@ -25,15 +46,19 @@ const CardCollectionToolbarPanel = [
|
|
|
25
46
|
const CardCollectionContent = [
|
|
26
47
|
// Layout
|
|
27
48
|
'grid',
|
|
28
|
-
// Spacing
|
|
29
|
-
'gap-sm md:gap-md',
|
|
30
49
|
// Overflow
|
|
31
|
-
'overflow-y-auto',
|
|
50
|
+
'overflow-y-auto',
|
|
51
|
+
// Interactivity
|
|
52
|
+
'interactivity-none',
|
|
53
|
+
// Spacing
|
|
54
|
+
'-mx-sm', '-my-sm', '-mr-[calc(theme(spacing.sm) * 2)]', 'px-sm', 'py-sm', 'gap-sm md:gap-md'];
|
|
32
55
|
const CardCollectionContentViews = {
|
|
33
|
-
|
|
56
|
+
[CardCollectionView.Grid]: [
|
|
34
57
|
// Layout
|
|
35
|
-
'grid-cols-1
|
|
36
|
-
|
|
58
|
+
'grid-cols-1 md:grid-cols-5'],
|
|
59
|
+
[CardCollectionView.List]: [
|
|
60
|
+
// Layout
|
|
61
|
+
'grid-cols-1']
|
|
37
62
|
};
|
|
38
63
|
|
|
39
64
|
var script$1 = defineComponent({
|
|
@@ -49,9 +74,10 @@ var script$1 = defineComponent({
|
|
|
49
74
|
}
|
|
50
75
|
},
|
|
51
76
|
setup(props) {
|
|
52
|
-
|
|
77
|
+
// Styles
|
|
78
|
+
const rootStyles = computed(() => [...CardCollectionContent, ...CardCollectionContentViews[props.mode]]);
|
|
53
79
|
return {
|
|
54
|
-
|
|
80
|
+
rootStyles
|
|
55
81
|
};
|
|
56
82
|
}
|
|
57
83
|
});
|
|
@@ -65,7 +91,7 @@ var __vue_render__$1 = function () {
|
|
|
65
91
|
var _h = _vm.$createElement;
|
|
66
92
|
var _c = _vm._self._c || _h;
|
|
67
93
|
return _c('div', {
|
|
68
|
-
class: _vm.
|
|
94
|
+
class: _vm.rootStyles
|
|
69
95
|
}, [_vm._l(_vm.items, function (item) {
|
|
70
96
|
return _vm._t("item", function () {
|
|
71
97
|
return [_vm._v("\n " + _vm._s(item.key) + "\n ")];
|
|
@@ -96,21 +122,6 @@ const __vue_component__$1 = /*#__PURE__*/normalizeComponent({
|
|
|
96
122
|
staticRenderFns: __vue_staticRenderFns__$1
|
|
97
123
|
}, __vue_inject_styles__$1, __vue_script__$1, __vue_scope_id__$1, __vue_is_functional_template__$1, __vue_module_identifier__$1, false, undefined, undefined, undefined);
|
|
98
124
|
|
|
99
|
-
var DefaultCardCollectionViews;
|
|
100
|
-
(function (DefaultCardCollectionViews) {
|
|
101
|
-
DefaultCardCollectionViews["Grid"] = "grid";
|
|
102
|
-
DefaultCardCollectionViews["List"] = "list";
|
|
103
|
-
})(DefaultCardCollectionViews || (DefaultCardCollectionViews = {}));
|
|
104
|
-
const gridView = {
|
|
105
|
-
view: DefaultCardCollectionViews.Grid,
|
|
106
|
-
icon: 'grid_view'
|
|
107
|
-
};
|
|
108
|
-
const listView = {
|
|
109
|
-
view: DefaultCardCollectionViews.List,
|
|
110
|
-
icon: 'view_agenda'
|
|
111
|
-
};
|
|
112
|
-
const defaultViewModes = [gridView, listView];
|
|
113
|
-
|
|
114
125
|
var script = defineComponent({
|
|
115
126
|
name: 'OrCardCollection',
|
|
116
127
|
components: {
|
|
@@ -159,7 +170,7 @@ var script = defineComponent({
|
|
|
159
170
|
// Refs
|
|
160
171
|
const root = ref();
|
|
161
172
|
// Styles
|
|
162
|
-
const rootStyles = computed(() => ['or-card-collection-v3', ...
|
|
173
|
+
const rootStyles = computed(() => ['or-card-collection-v3', ...CardCollection]);
|
|
163
174
|
const toolbarStyles = computed(() => [...CardCollectionToolbar]);
|
|
164
175
|
const toolbarPanelStyles = computed(() => [...CardCollectionToolbarPanel]);
|
|
165
176
|
// State
|
|
@@ -298,4 +309,4 @@ const __vue_component__ = /*#__PURE__*/normalizeComponent({
|
|
|
298
309
|
staticRenderFns: __vue_staticRenderFns__
|
|
299
310
|
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
|
|
300
311
|
|
|
301
|
-
export {
|
|
312
|
+
export { CardCollectionView as C, __vue_component__ as _, defaultViewModes as d, gridView as g, listView as l };
|
|
@@ -3,7 +3,7 @@ import '@vueuse/core';
|
|
|
3
3
|
import { u as useProxyModelValue } from './useProxyModelValue-940010d2.js';
|
|
4
4
|
import '@onereach/styles/tailwind.config';
|
|
5
5
|
import 'tailwindcss/resolveConfig';
|
|
6
|
-
import { _ as __vue_component__$1 } from './OrCheckboxTree-
|
|
6
|
+
import { _ as __vue_component__$1 } from './OrCheckboxTree-f48db82f.js';
|
|
7
7
|
import { _ as __vue_component__$2, F as FormGroupDirection } from './OrFormGroup-29a514db.js';
|
|
8
8
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
9
9
|
|
|
@@ -3,7 +3,7 @@ import { defineComponent, computed, toRef, watch } from 'vue-demi';
|
|
|
3
3
|
import { u as useProxyModelValue } from './useProxyModelValue-940010d2.js';
|
|
4
4
|
import '@onereach/styles/tailwind.config';
|
|
5
5
|
import 'tailwindcss/resolveConfig';
|
|
6
|
-
import { _ as __vue_component__$3 } from './OrButton-
|
|
6
|
+
import { _ as __vue_component__$3 } from './OrButton-a23ee9f0.js';
|
|
7
7
|
import { _ as __vue_component__$2 } from './OrCheckbox-db66b4ea.js';
|
|
8
8
|
import { _ as __vue_component__$1 } from './OrIcon-d35a84d8.js';
|
|
9
9
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
@@ -15,11 +15,11 @@ import { u as useTheme } from './useTheme-e23d13c8.js';
|
|
|
15
15
|
import { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
|
|
16
16
|
import { _ as __vue_component__$1 } from './OrError-4ffc1c39.js';
|
|
17
17
|
import { _ as __vue_component__$2 } from './OrHint-aa221198.js';
|
|
18
|
-
import { _ as __vue_component__$3 } from './OrIconButton-
|
|
18
|
+
import { _ as __vue_component__$3 } from './OrIconButton-26b42bb2.js';
|
|
19
19
|
import { _ as __vue_component__$4 } from './OrInputBox-7dc5b9e9.js';
|
|
20
20
|
import './OrInputBox.vue_rollup-plugin-vue_script-4fde9829.js';
|
|
21
21
|
import { _ as __vue_component__$5 } from './OrLabel-63380256.js';
|
|
22
|
-
import { _ as __vue_component__$6 } from './OrModal-
|
|
22
|
+
import { _ as __vue_component__$6 } from './OrModal-e3b0e84b.js';
|
|
23
23
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
24
24
|
|
|
25
25
|
var CodeLanguage;
|
|
@@ -4,9 +4,9 @@ import { defineComponent, ref, toRef, computed, watch } from 'vue-demi';
|
|
|
4
4
|
import { u as usePopoverState } from './usePopoverState-b92c698b.js';
|
|
5
5
|
import '@onereach/styles/tailwind.config';
|
|
6
6
|
import 'tailwindcss/resolveConfig';
|
|
7
|
-
import { _ as __vue_component__$2, a as ButtonColor } from './OrButton-
|
|
8
|
-
import { _ as __vue_component__$3 } from './OrInput-
|
|
9
|
-
import { _ as __vue_component__$1 } from './OrOverlay-
|
|
7
|
+
import { _ as __vue_component__$2, a as ButtonColor } from './OrButton-a23ee9f0.js';
|
|
8
|
+
import { _ as __vue_component__$3 } from './OrInput-ff29d8d3.js';
|
|
9
|
+
import { _ as __vue_component__$1 } from './OrOverlay-86a35726.js';
|
|
10
10
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
11
11
|
|
|
12
12
|
var ConfirmType;
|
|
@@ -15,23 +15,23 @@ var ConfirmType;
|
|
|
15
15
|
ConfirmType["C"] = "c";
|
|
16
16
|
})(ConfirmType || (ConfirmType = {}));
|
|
17
17
|
|
|
18
|
-
const
|
|
18
|
+
const Confirm = [
|
|
19
19
|
// Position
|
|
20
20
|
'fixed md:static', 'left-none', 'right-none', 'bottom-none',
|
|
21
21
|
// Layout
|
|
22
22
|
'layout-column',
|
|
23
23
|
// Box
|
|
24
24
|
'w-full md:w-[320px]',
|
|
25
|
-
// Shape
|
|
26
|
-
'rounded-0 md:rounded-md',
|
|
27
25
|
// Spacing
|
|
28
26
|
'px-lg', 'py-lg', 'gap-md',
|
|
27
|
+
// Shape
|
|
28
|
+
'md:rounded-md',
|
|
29
|
+
// Elevation
|
|
30
|
+
'shadow-modal', 'dark:shadow-modal-dark',
|
|
29
31
|
// Typography
|
|
30
32
|
'typography-body-2-regular',
|
|
31
33
|
// Theme
|
|
32
|
-
'theme-background-default', 'dark:theme-background-default-dark', 'theme-foreground-default', 'dark:theme-foreground-default-dark'
|
|
33
|
-
// Elevation
|
|
34
|
-
'shadow-modal', 'dark:shadow-modal-dark'];
|
|
34
|
+
'theme-background-default', 'dark:theme-background-default-dark', 'theme-foreground-default', 'dark:theme-foreground-default-dark'];
|
|
35
35
|
const ConfirmHeader = [
|
|
36
36
|
// Layout
|
|
37
37
|
'layout-row justify-between',
|
|
@@ -55,7 +55,7 @@ const ConfirmFooterTypes = {
|
|
|
55
55
|
};
|
|
56
56
|
const ConfirmFooterButtons = [
|
|
57
57
|
// Layout
|
|
58
|
-
'!grow',
|
|
58
|
+
'block !grow',
|
|
59
59
|
// Box
|
|
60
60
|
'w-auto md:w-[128px]'];
|
|
61
61
|
|
|
@@ -177,7 +177,7 @@ var script = defineComponent({
|
|
|
177
177
|
});
|
|
178
178
|
whenever(logicAnd(enter, isInputActive), () => confirm());
|
|
179
179
|
// Styles
|
|
180
|
-
const rootStyles = computed(() => ['or-confirm-v3', ...
|
|
180
|
+
const rootStyles = computed(() => ['or-confirm-v3', ...Confirm]);
|
|
181
181
|
const headerStyles = computed(() => [...ConfirmHeader]);
|
|
182
182
|
const inputBoxStyles = computed(() => [...ConfirmInput]);
|
|
183
183
|
const footerStyles = computed(() => [...ConfirmFooter, ...ConfirmFooterTypes[props.confirmType]]);
|
|
@@ -4,15 +4,15 @@ import '@vueuse/core';
|
|
|
4
4
|
import { u as useProxyModelValue } from './useProxyModelValue-940010d2.js';
|
|
5
5
|
import '@onereach/styles/tailwind.config';
|
|
6
6
|
import 'tailwindcss/resolveConfig';
|
|
7
|
-
import { _ as __vue_component__$1, a as __vue_component__$2, b as __vue_component__$3, c as __vue_component__$4, d as __vue_component__$5, e as __vue_component__$6, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-
|
|
7
|
+
import { _ as __vue_component__$1, a as __vue_component__$2, b as __vue_component__$3, c as __vue_component__$4, d as __vue_component__$5, e as __vue_component__$6, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-4341ea98.js';
|
|
8
8
|
import { _ as __vue_component__$7 } from './OrError-4ffc1c39.js';
|
|
9
9
|
import { _ as __vue_component__$8 } from './OrHint-aa221198.js';
|
|
10
|
-
import { _ as __vue_component__$a } from './OrIconButton-
|
|
10
|
+
import { _ as __vue_component__$a } from './OrIconButton-26b42bb2.js';
|
|
11
11
|
import { _ as __vue_component__$9 } from './OrIcon-d35a84d8.js';
|
|
12
12
|
import { _ as __vue_component__$b } from './OrInputBox-7dc5b9e9.js';
|
|
13
13
|
import { I as InputBoxSize } from './OrInputBox.vue_rollup-plugin-vue_script-4fde9829.js';
|
|
14
14
|
import { _ as __vue_component__$c } from './OrLabel-63380256.js';
|
|
15
|
-
import { _ as __vue_component__$d } from './OrPopover-
|
|
15
|
+
import { _ as __vue_component__$d } from './OrPopover-334d1fbd.js';
|
|
16
16
|
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
17
17
|
|
|
18
18
|
const DatePicker = [
|