@onereach/ui-components 4.18.2-beta.3104.0 → 4.18.2-beta.3109.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 +24 -17
- package/dist/bundled/v2/components/OrAvatarV3/OrAvatar.vue.d.ts +22 -16
- 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 +6 -5
- package/dist/bundled/v2/components/OrAvatarV3/styles.js +42 -61
- package/dist/bundled/v2/components/OrBottomSheetV3/OrBottomSheet.js +10 -8
- package/dist/bundled/v2/components/OrBottomSheetV3/OrBottomSheet.vue.d.ts +2 -0
- package/dist/bundled/v2/components/OrBottomSheetV3/index.js +1 -1
- package/dist/bundled/v2/components/OrBottomSheetV3/styles.d.ts +1 -0
- package/dist/bundled/v2/components/OrBottomSheetV3/styles.js +13 -20
- 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 +11 -15
- package/dist/bundled/v2/components/OrCardCollectionV3/OrCardCollection.js +7 -8
- 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 +9 -21
- 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 +11 -17
- 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 -9
- 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 +6 -14
- 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/OrToast/composable/useToast.js +2 -2
- 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/composable/useToast.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 +0 -3
- package/dist/bundled/v2/index.js +6 -6
- package/dist/bundled/v3/{OrAvatar.vue_vue_type_script_lang-bf7bcbe2.js → OrAvatar.vue_vue_type_script_lang-8d7ce473.js} +19 -12
- package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-4568f405.js → OrBottomSheet.vue_vue_type_script_lang-9d6701ce.js} +10 -8
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-0791a480.js → OrButton.vue_vue_type_script_lang-098131d0.js} +2 -2
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-70bb7a98.js → OrCardCollection.vue_vue_type_script_lang-bc4757dd.js} +8 -9
- package/dist/bundled/v3/{OrCheckboxGroup.vue_vue_type_script_lang-3b25afe5.js → OrCheckboxGroup.vue_vue_type_script_lang-ff3d450b.js} +1 -1
- package/dist/bundled/v3/{OrCheckboxTree.vue_vue_type_script_lang-ab30a5c4.js → OrCheckboxTree.vue_vue_type_script_lang-120abecd.js} +1 -1
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-098b3136.js → OrCode.vue_vue_type_script_lang-f1380ecb.js} +2 -2
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-5048b4b0.js → OrConfirm.vue_vue_type_script_lang-73aa938c.js} +5 -5
- package/dist/bundled/v3/{OrDatePicker.vue_vue_type_script_lang-9f9500d0.js → OrDatePicker.vue_vue_type_script_lang-9c41e3f9.js} +4 -4
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-be5717f8.js → OrDateTimePicker.vue_vue_type_script_lang-32107a94.js} +5 -5
- package/dist/bundled/v3/{OrDateTimePickerMonthSelect-b9189050.js → OrDateTimePickerMonthSelect-c1711d61.js} +3 -3
- package/dist/bundled/v3/{OrDateTimePickerPopoverHeader-d9eef487.js → OrDateTimePickerPopoverHeader-dec42484.js} +1 -1
- package/dist/bundled/v3/{OrDateTimePickerTimeSelect-4c47cc2f.js → OrDateTimePickerTimeSelect-ae24d04e.js} +1 -1
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-e90ee58a.js → OrIconButton.vue_vue_type_script_lang-4bf3ae40.js} +1 -1
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-98c17160.js → OrInlineInput.vue_vue_type_script_lang-43321b2b.js} +1 -1
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-37d6fe45.js → OrInlineTextarea.vue_vue_type_script_lang-db4f0a3b.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-df81eb91.js → OrInput.vue_vue_type_script_lang-d64bda8a.js} +1 -1
- package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-2fbd5b46.js → OrMenu.vue_vue_type_script_lang-021144d0.js} +1 -1
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-1a1ab72e.js → OrModal.vue_vue_type_script_lang-2c5c049e.js} +6 -4
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-672fe3b3.js → OrNotification.vue_vue_type_script_lang-c17521c0.js} +1 -1
- package/dist/bundled/v3/{OrOverlay.vue_vue_type_script_lang-6f4b4319.js → OrOverlay.vue_vue_type_script_lang-01c9e89b.js} +2 -2
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-97e6179d.js → OrPagination.vue_vue_type_script_lang-c36afcb9.js} +2 -2
- package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-fdae0e3b.js → OrPopover.vue_vue_type_script_lang-26dd5475.js} +1 -1
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-7b36b06a.js → OrSearch.vue_vue_type_script_lang-07373511.js} +1 -1
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-4fcfb896.js → OrSelect.vue_vue_type_script_lang-9acc1912.js} +4 -4
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-e41d933c.js → OrSidebar.vue_vue_type_script_lang-8186b9bc.js} +1 -1
- package/dist/bundled/v3/{OrSorting.vue_vue_type_script_lang-c2f7b3df.js → OrSorting.vue_vue_type_script_lang-c12a13b0.js} +2 -2
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-b9978d2f.js → OrTabs.vue_vue_type_script_lang-e00ea5e2.js} +1 -1
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-886cd872.js → OrTag.vue_vue_type_script_lang-35dd9ab6.js} +1 -1
- package/dist/bundled/v3/{OrTagInput.vue_vue_type_script_lang-54d518a6.js → OrTagInput.vue_vue_type_script_lang-6b584d66.js} +2 -2
- package/dist/bundled/v3/{OrTags.vue_vue_type_script_lang-a4e2c7e9.js → OrTags.vue_vue_type_script_lang-d4e4da50.js} +3 -3
- package/dist/bundled/v3/{OrTimePicker.vue_vue_type_script_lang-d96fc576.js → OrTimePicker.vue_vue_type_script_lang-223d7bb1.js} +4 -4
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-83a8ab0b.js → OrTooltip.vue_vue_type_script_lang-bfcbc29a.js} +1 -1
- package/dist/bundled/v3/{OrTree.vue_vue_type_script_lang-008ef9b1.js → OrTree.vue_vue_type_script_lang-1606b260.js} +1 -1
- package/dist/bundled/v3/components/OrAvatarV3/OrAvatar.js +6 -6
- package/dist/bundled/v3/components/OrAvatarV3/OrAvatar.vue.d.ts +17 -12
- 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 +6 -5
- package/dist/bundled/v3/components/OrAvatarV3/styles.js +42 -61
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.js +6 -6
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.vue.d.ts +1 -0
- package/dist/bundled/v3/components/OrBottomSheetV3/index.js +3 -3
- package/dist/bundled/v3/components/OrBottomSheetV3/styles.d.ts +1 -0
- package/dist/bundled/v3/components/OrBottomSheetV3/styles.js +13 -20
- 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 +11 -15
- 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 +9 -21
- 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 +11 -13
- 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 +11 -17
- 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 -9
- 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 +6 -14
- 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/OrToast/composable/useToast.js +2 -2
- 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/composable/useToast.js +2 -2
- 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 +0 -3
- package/dist/bundled/v3/index.js +38 -38
- package/dist/esm/v2/{OrAvatar-dd0e1e3b.js → OrAvatar-d1c82ab9.js} +69 -81
- package/dist/esm/v2/{OrBottomSheet-71ec1799.js → OrBottomSheet-67e6d85e.js} +49 -52
- package/dist/esm/v2/{OrButton-a23ee9f0.js → OrButton-9622e713.js} +11 -13
- package/dist/esm/v2/{OrCardCollection-fd20eb66.js → OrCardCollection-ca6d1e3c.js} +31 -42
- package/dist/esm/v2/{OrCheckboxGroup-a04f27fe.js → OrCheckboxGroup-eda833b1.js} +1 -1
- package/dist/esm/v2/{OrCheckboxTree-f48db82f.js → OrCheckboxTree-231ba2b1.js} +1 -1
- package/dist/esm/v2/{OrCode-83585e00.js → OrCode-996daa11.js} +2 -2
- package/dist/esm/v2/{OrConfirm-57b5f6e2.js → OrConfirm-e4f8c958.js} +11 -11
- package/dist/esm/v2/{OrDatePicker-4b34a841.js → OrDatePicker-20d1ed3e.js} +3 -3
- package/dist/esm/v2/{OrDateTimePicker-c1ec1088.js → OrDateTimePicker-42c99a26.js} +1 -1
- package/dist/esm/v2/{OrDateTimePicker.vue_rollup-plugin-vue_script-a56a26d1.js → OrDateTimePicker.vue_rollup-plugin-vue_script-64817206.js} +4 -4
- package/dist/esm/v2/{OrDateTimePickerPopoverHeader-4341ea98.js → OrDateTimePickerPopoverHeader-dd9de00f.js} +4 -4
- package/dist/esm/v2/{OrIconButton-26b42bb2.js → OrIconButton-85a6de2c.js} +2 -2
- package/dist/esm/v2/{OrInlineInput-384601c0.js → OrInlineInput-2b7f5745.js} +1 -1
- package/dist/esm/v2/{OrInlineTextarea-1f0519e9.js → OrInlineTextarea-281064ab.js} +1 -1
- package/dist/esm/v2/{OrInput-ff29d8d3.js → OrInput-a7e317b8.js} +1 -1
- package/dist/esm/v2/{OrMenu-011e6f3e.js → OrMenu-54d6a7a5.js} +1 -1
- package/dist/esm/v2/{OrModal-e3b0e84b.js → OrModal-5626eeee.js} +16 -20
- package/dist/esm/v2/{OrNotification-63815057.js → OrNotification-b0fb0d4f.js} +1 -1
- package/dist/esm/v2/{OrOverlay-86a35726.js → OrOverlay-948346df.js} +5 -9
- package/dist/esm/v2/{OrPagination-6f29569d.js → OrPagination-11d363f2.js} +3 -3
- package/dist/esm/v2/{OrPopover-334d1fbd.js → OrPopover-c511273a.js} +7 -15
- package/dist/esm/v2/{OrSearch-45b9f2aa.js → OrSearch-7ad39657.js} +1 -1
- package/dist/esm/v2/{OrSelect-c5db431e.js → OrSelect-0bd57cba.js} +4 -4
- package/dist/esm/v2/{OrSidebar-63b6a3ed.js → OrSidebar-74f719fc.js} +1 -1
- package/dist/esm/v2/{OrSidebarCollapseButton-39e8b1c6.js → OrSidebarCollapseButton-07d12eb4.js} +1 -1
- package/dist/esm/v2/{OrSorting-c61855a7.js → OrSorting-ef99ef70.js} +3 -3
- package/dist/esm/v2/{OrTabs-f38b548c.js → OrTabs-b8a92669.js} +2 -2
- package/dist/esm/v2/{OrTag-6394a638.js → OrTag-b6125507.js} +1 -1
- package/dist/esm/v2/{OrTagInput-60bbd049.js → OrTagInput-f2ddcc97.js} +2 -2
- package/dist/esm/v2/{OrTags-98216344.js → OrTags-b7d9e52c.js} +3 -3
- package/dist/esm/v2/{OrTimePicker-233ed379.js → OrTimePicker-9312df72.js} +4 -4
- package/dist/esm/v2/{OrToastContainer-d1a7b839.js → OrToastContainer-ecffc69f.js} +1 -1
- package/dist/esm/v2/{OrTooltip-4fdb163a.js → OrTooltip-7a9861a2.js} +1 -1
- package/dist/esm/v2/{OrTree-dfc8a086.js → OrTree-dcacd695.js} +1 -1
- package/dist/esm/v2/components/index.js +38 -38
- package/dist/esm/v2/components/or-avatar-v3/OrAvatar.vue.d.ts +22 -16
- 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 +6 -5
- package/dist/esm/v2/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +2 -0
- 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 +1 -0
- 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 +7 -6
- 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/composable/index.js +1 -1
- package/dist/esm/v2/components/or-toast/index.js +2 -2
- package/dist/esm/v2/components/or-toast/or-toast-container/index.js +2 -2
- package/dist/esm/v2/components/or-toast-v3/composable/index.js +1 -1
- package/dist/esm/v2/components/or-toast-v3/index.js +7 -7
- package/dist/esm/v2/components/or-toast-v3/or-toast-container-v3/index.js +7 -7
- 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 +38 -38
- package/dist/esm/v2/{types-4b020789.js → types-6792dff8.js} +4 -4
- package/dist/esm/v2/{useToast-b5ea5cb2.js → useToast-05a9c81b.js} +2 -2
- package/dist/esm/{v3/useToast-a1332cc2.js → v2/useToast-5aa9dc05.js} +2 -2
- package/dist/esm/v3/{OrAvatar-554347e6.js → OrAvatar-07fe6686.js} +68 -80
- package/dist/esm/v3/{OrBottomSheet-762703d3.js → OrBottomSheet-efca7190.js} +49 -52
- package/dist/esm/v3/{OrButton-4a3c3e7b.js → OrButton-c2b6aa9e.js} +11 -13
- package/dist/esm/v3/{OrCardCollection-0ac4d975.js → OrCardCollection-0adc842d.js} +31 -42
- package/dist/esm/v3/{OrCheckboxGroup-6c054793.js → OrCheckboxGroup-e0afc5c3.js} +1 -1
- package/dist/esm/v3/{OrCheckboxTree-bb32455e.js → OrCheckboxTree-76f1b7ed.js} +1 -1
- package/dist/esm/v3/{OrCode-dd6bc0a3.js → OrCode-a252b73f.js} +2 -2
- package/dist/esm/v3/{OrConfirm-44c02d07.js → OrConfirm-e3e225b3.js} +11 -11
- package/dist/esm/v3/{OrDatePicker-fc74e6e3.js → OrDatePicker-6993440a.js} +3 -3
- package/dist/esm/v3/{OrDateTimePicker-5aafc2f6.js → OrDateTimePicker-fd642cb1.js} +4 -4
- package/dist/esm/v3/{OrDateTimePickerPopoverHeader-60cde5e5.js → OrDateTimePickerPopoverHeader-ece5b2a7.js} +4 -4
- package/dist/esm/v3/{OrIconButton-6335f090.js → OrIconButton-fe133b18.js} +2 -2
- package/dist/esm/v3/{OrInlineInput-44e734cd.js → OrInlineInput-7342053f.js} +1 -1
- package/dist/esm/v3/{OrInlineTextarea-064f0da4.js → OrInlineTextarea-10657b96.js} +1 -1
- package/dist/esm/v3/{OrInput-024ae27b.js → OrInput-5ffebd41.js} +1 -1
- package/dist/esm/v3/{OrMenu-94fa5bf0.js → OrMenu-20ca3870.js} +1 -1
- package/dist/esm/v3/{OrModal-c8c2b0bf.js → OrModal-3ebc1346.js} +16 -20
- package/dist/esm/v3/{OrNotification-1e0d22cb.js → OrNotification-78f567b4.js} +1 -1
- package/dist/esm/v3/{OrOverlay-953a0187.js → OrOverlay-489fdf76.js} +5 -9
- package/dist/esm/v3/{OrPagination-c574b5c0.js → OrPagination-9bd81a94.js} +3 -3
- package/dist/esm/v3/{OrPopover-35394f4a.js → OrPopover-6d433297.js} +7 -15
- package/dist/esm/v3/{OrSearch-83be7327.js → OrSearch-94019f8b.js} +1 -1
- package/dist/esm/v3/{OrSelect-18152830.js → OrSelect-48f2374c.js} +4 -4
- package/dist/esm/v3/{OrSidebar-f11e1fdd.js → OrSidebar-5da9646b.js} +1 -1
- package/dist/esm/v3/{OrSidebarCollapseButton-7460d0a1.js → OrSidebarCollapseButton-d7bc8075.js} +1 -1
- package/dist/esm/v3/{OrSorting-2d85af28.js → OrSorting-012e0c6b.js} +3 -3
- package/dist/esm/v3/{OrTabs-5181250e.js → OrTabs-54c48a61.js} +2 -2
- package/dist/esm/v3/{OrTag-e7f474ec.js → OrTag-499c45e1.js} +1 -1
- package/dist/esm/v3/{OrTagInput-32216ab9.js → OrTagInput-9c53b28c.js} +2 -2
- package/dist/esm/v3/{OrTags-8dec2361.js → OrTags-e56deb73.js} +3 -3
- package/dist/esm/v3/{OrTimePicker-9b3d9859.js → OrTimePicker-dc9a10d5.js} +4 -4
- package/dist/esm/v3/{OrToastContainer-1bba845b.js → OrToastContainer-d6f117e2.js} +1 -1
- package/dist/esm/v3/{OrTooltip-0dbe245c.js → OrTooltip-2422971c.js} +1 -1
- package/dist/esm/v3/{OrTree-a0e57f4e.js → OrTree-3b655a7a.js} +1 -1
- package/dist/esm/v3/components/index.js +37 -37
- package/dist/esm/v3/components/or-avatar-v3/OrAvatar.vue.d.ts +17 -12
- 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 +6 -5
- package/dist/esm/v3/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +1 -0
- 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 +1 -0
- 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 +4 -3
- 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/composable/index.js +1 -1
- package/dist/esm/v3/components/or-toast/index.js +2 -2
- package/dist/esm/v3/components/or-toast/or-toast-container/index.js +2 -2
- package/dist/esm/v3/components/or-toast-v3/composable/index.js +1 -1
- package/dist/esm/v3/components/or-toast-v3/index.js +7 -7
- package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/index.js +7 -7
- 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 +37 -37
- package/dist/esm/v3/{types-c167d3d9.js → types-a3038b68.js} +2 -2
- package/dist/esm/v3/{useToast-b5ea5cb2.js → useToast-05a9c81b.js} +2 -2
- package/dist/esm/{v2/useToast-a1332cc2.js → v3/useToast-5aa9dc05.js} +2 -2
- package/package.json +2 -2
- package/src/components/or-avatar-v3/OrAvatar.vue +37 -31
- package/src/components/or-avatar-v3/props.ts +6 -6
- package/src/components/or-avatar-v3/styles.ts +64 -66
- package/src/components/or-bottom-sheet-v3/OrBottomSheet.vue +24 -18
- package/src/components/or-bottom-sheet-v3/styles.ts +17 -22
- package/src/components/or-button-v3/OrButton.vue +4 -4
- package/src/components/or-button-v3/styles.ts +10 -13
- package/src/components/or-card-collection-v3/OrCardCollection.vue +3 -3
- package/src/components/or-card-collection-v3/partials/OrCardCollectionView.vue2.vue +6 -14
- package/src/components/or-card-collection-v3/partials/OrCardCollectionView.vue3.vue +6 -14
- package/src/components/or-card-collection-v3/props.ts +3 -3
- package/src/components/or-card-collection-v3/styles.ts +14 -30
- 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 +3 -0
- package/src/components/or-modal-v3/styles.ts +12 -18
- package/src/components/or-overlay-v3/OrOverlay.vue +2 -2
- package/src/components/or-overlay-v3/styles.ts +8 -14
- package/src/components/or-popover-v3/styles.ts +6 -18
- package/src/components/or-toast/composable/useToast.ts +1 -1
- package/src/components/or-toast/or-toast-container/OrToastContainer.stories.ts +38 -7
- package/src/components/or-toast-v3/composable/useToast.ts +1 -1
- package/src/components/or-toast-v3/or-toast-container-v3/OrToastContainer.vue +3 -1
- /package/dist/bundled/v2/{OrDateTimePickerMonthSelect-75f7f7f4.js → OrDateTimePickerMonthSelect-8792b53f.js} +0 -0
- /package/dist/bundled/v2/{OrDateTimePickerPopoverHeader-a4f77733.js → OrDateTimePickerPopoverHeader-03768809.js} +0 -0
- /package/dist/bundled/v2/{OrDateTimePickerTimeSelect-e57095bf.js → OrDateTimePickerTimeSelect-4d42b488.js} +0 -0
- /package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-01f49e56.js → OrToastContainer.vue_vue_type_script_lang-3ec83f08.js} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watchPostEffect } from 'vue-demi';
|
|
2
2
|
import { hslToColorString, generateHslFromString } from '../../utils/functions/color.js';
|
|
3
3
|
import { AvatarSize, AvatarColor } from './props.js';
|
|
4
|
-
import {
|
|
4
|
+
import { AvatarRoot, AvatarRootSizes, AvatarRootColors, AvatarRootAbbreviationSizes, AvatarRootIconSizes, AvatarImage } from './styles.js';
|
|
5
5
|
import __vue_component__$1 from '../OrIconV3/OrIcon.js';
|
|
6
6
|
import { n as normalizeComponent } from '../../normalize-component-6e8e3d80.js';
|
|
7
7
|
import '../../utils/constants/regex.js';
|
|
@@ -20,43 +20,50 @@ var script = defineComponent({
|
|
|
20
20
|
type: String,
|
|
21
21
|
default: undefined
|
|
22
22
|
},
|
|
23
|
-
icon: {
|
|
24
|
-
type: String,
|
|
25
|
-
default: undefined
|
|
26
|
-
},
|
|
27
23
|
size: {
|
|
28
24
|
type: String,
|
|
29
25
|
default: AvatarSize.M
|
|
30
26
|
},
|
|
27
|
+
icon: {
|
|
28
|
+
type: String,
|
|
29
|
+
default: undefined
|
|
30
|
+
},
|
|
31
31
|
color: {
|
|
32
32
|
type: String,
|
|
33
|
-
default: AvatarColor.
|
|
33
|
+
default: AvatarColor.auto,
|
|
34
|
+
required: false
|
|
34
35
|
},
|
|
35
36
|
colorSalt: {
|
|
36
37
|
type: String,
|
|
37
|
-
default: undefined
|
|
38
|
+
default: undefined,
|
|
39
|
+
required: false
|
|
38
40
|
}
|
|
39
41
|
},
|
|
40
42
|
expose: ['root'],
|
|
41
43
|
setup(props) {
|
|
42
44
|
// Refs
|
|
43
45
|
const root = ref();
|
|
46
|
+
const isIcon = computed(() => {
|
|
47
|
+
return !props.icon;
|
|
48
|
+
});
|
|
44
49
|
// Styles
|
|
45
|
-
const rootStyles = computed(() => ['or-avatar-v3', ...
|
|
50
|
+
const rootStyles = computed(() => ['or-avatar-v3', ...AvatarRoot, ...AvatarRootSizes[props.size], ...AvatarRootColors[props.color], ...(isIcon.value ? AvatarRootAbbreviationSizes[props.size] : AvatarRootIconSizes[props.size])]);
|
|
51
|
+
const imageStyles = computed(() => [...AvatarImage]);
|
|
46
52
|
// Effects
|
|
47
53
|
watchPostEffect(() => {
|
|
48
54
|
var _a;
|
|
49
55
|
const rootElement = root.value;
|
|
50
|
-
if (rootElement && !props.src && props.color === AvatarColor.
|
|
56
|
+
if (rootElement && !props.src && props.color === AvatarColor.auto) {
|
|
51
57
|
Object.assign(rootElement.style, {
|
|
52
|
-
|
|
53
|
-
|
|
58
|
+
background: hslToColorString(generateHslFromString((_a = props.colorSalt) !== null && _a !== void 0 ? _a : '')),
|
|
59
|
+
color: props.color
|
|
54
60
|
});
|
|
55
61
|
}
|
|
56
62
|
});
|
|
57
63
|
return {
|
|
58
64
|
root,
|
|
59
|
-
rootStyles
|
|
65
|
+
rootStyles,
|
|
66
|
+
imageStyles
|
|
60
67
|
};
|
|
61
68
|
}
|
|
62
69
|
});
|
|
@@ -73,18 +80,18 @@ var __vue_render__ = function () {
|
|
|
73
80
|
ref: "root",
|
|
74
81
|
class: _vm.rootStyles
|
|
75
82
|
}, [_vm._t("default", function () {
|
|
76
|
-
return [_vm.src ?
|
|
77
|
-
class:
|
|
83
|
+
return [_vm.src ? _c('img', {
|
|
84
|
+
class: _vm.imageStyles,
|
|
78
85
|
attrs: {
|
|
79
86
|
"src": _vm.src,
|
|
80
87
|
"alt": ''
|
|
81
88
|
}
|
|
82
|
-
})
|
|
89
|
+
}) : _vm.icon ? _c('or-icon', {
|
|
83
90
|
attrs: {
|
|
84
91
|
"icon": _vm.icon,
|
|
85
|
-
"size":
|
|
92
|
+
"size": "inherit"
|
|
86
93
|
}
|
|
87
|
-
})
|
|
94
|
+
}) : _vm._e()];
|
|
88
95
|
})], 2);
|
|
89
96
|
};
|
|
90
97
|
var __vue_staticRenderFns__ = [];
|
|
@@ -3,68 +3,74 @@ import { AvatarColor, AvatarSize } from './props';
|
|
|
3
3
|
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
4
4
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
5
5
|
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
6
|
+
imageStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
6
7
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
7
8
|
src: {
|
|
8
9
|
type: StringConstructor;
|
|
9
10
|
default: undefined;
|
|
10
11
|
};
|
|
12
|
+
size: {
|
|
13
|
+
type: PropType<AvatarSize>;
|
|
14
|
+
default: AvatarSize;
|
|
15
|
+
};
|
|
11
16
|
icon: {
|
|
12
17
|
type: StringConstructor;
|
|
13
18
|
default: undefined;
|
|
14
19
|
};
|
|
15
|
-
size: {
|
|
16
|
-
type: PropType<"xl" | "l" | "m" | "s" | "xs">;
|
|
17
|
-
default: AvatarSize;
|
|
18
|
-
};
|
|
19
20
|
color: {
|
|
20
|
-
type: PropType<
|
|
21
|
+
type: PropType<AvatarColor>;
|
|
21
22
|
default: AvatarColor;
|
|
23
|
+
required: false;
|
|
22
24
|
};
|
|
23
25
|
colorSalt: {
|
|
24
26
|
type: StringConstructor;
|
|
25
27
|
default: undefined;
|
|
28
|
+
required: false;
|
|
26
29
|
};
|
|
27
30
|
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
28
31
|
src: {
|
|
29
32
|
type: StringConstructor;
|
|
30
33
|
default: undefined;
|
|
31
34
|
};
|
|
35
|
+
size: {
|
|
36
|
+
type: PropType<AvatarSize>;
|
|
37
|
+
default: AvatarSize;
|
|
38
|
+
};
|
|
32
39
|
icon: {
|
|
33
40
|
type: StringConstructor;
|
|
34
41
|
default: undefined;
|
|
35
42
|
};
|
|
36
|
-
size: {
|
|
37
|
-
type: PropType<"xl" | "l" | "m" | "s" | "xs">;
|
|
38
|
-
default: AvatarSize;
|
|
39
|
-
};
|
|
40
43
|
color: {
|
|
41
|
-
type: PropType<
|
|
44
|
+
type: PropType<AvatarColor>;
|
|
42
45
|
default: AvatarColor;
|
|
46
|
+
required: false;
|
|
43
47
|
};
|
|
44
48
|
colorSalt: {
|
|
45
49
|
type: StringConstructor;
|
|
46
50
|
default: undefined;
|
|
51
|
+
required: false;
|
|
47
52
|
};
|
|
48
53
|
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
49
54
|
src: string;
|
|
55
|
+
size: AvatarSize;
|
|
50
56
|
icon: string;
|
|
51
|
-
|
|
52
|
-
color: "auto" | "blue" | "grey" | "green" | "yellow" | "red";
|
|
57
|
+
color: AvatarColor;
|
|
53
58
|
colorSalt: string;
|
|
54
59
|
} & {}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
55
60
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
56
61
|
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
62
|
+
imageStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
57
63
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, {}, {
|
|
58
64
|
src: string;
|
|
65
|
+
size: AvatarSize;
|
|
59
66
|
icon: string;
|
|
60
|
-
|
|
61
|
-
color: "auto" | "blue" | "grey" | "green" | "yellow" | "red";
|
|
67
|
+
color: AvatarColor;
|
|
62
68
|
colorSalt: string;
|
|
63
69
|
} & {}, {
|
|
64
70
|
src: string;
|
|
71
|
+
size: AvatarSize;
|
|
65
72
|
icon: string;
|
|
66
|
-
|
|
67
|
-
color: "auto" | "blue" | "grey" | "green" | "yellow" | "red";
|
|
73
|
+
color: AvatarColor;
|
|
68
74
|
colorSalt: string;
|
|
69
75
|
}, true>);
|
|
70
76
|
export default _default;
|
|
@@ -6,10 +6,10 @@ export declare enum AvatarSize {
|
|
|
6
6
|
XS = "xs"
|
|
7
7
|
}
|
|
8
8
|
export declare enum AvatarColor {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
blue = "blue",
|
|
10
|
+
yellow = "yellow",
|
|
11
|
+
red = "red",
|
|
12
|
+
green = "green",
|
|
13
|
+
grey = "grey",
|
|
14
|
+
auto = "auto"
|
|
15
15
|
}
|
|
@@ -8,12 +8,12 @@ var AvatarSize;
|
|
|
8
8
|
})(AvatarSize || (AvatarSize = {}));
|
|
9
9
|
var AvatarColor;
|
|
10
10
|
(function (AvatarColor) {
|
|
11
|
-
AvatarColor["
|
|
12
|
-
AvatarColor["
|
|
13
|
-
AvatarColor["
|
|
14
|
-
AvatarColor["
|
|
15
|
-
AvatarColor["
|
|
16
|
-
AvatarColor["
|
|
11
|
+
AvatarColor["blue"] = "blue";
|
|
12
|
+
AvatarColor["yellow"] = "yellow";
|
|
13
|
+
AvatarColor["red"] = "red";
|
|
14
|
+
AvatarColor["green"] = "green";
|
|
15
|
+
AvatarColor["grey"] = "grey";
|
|
16
|
+
AvatarColor["auto"] = "auto";
|
|
17
17
|
})(AvatarColor || (AvatarColor = {}));
|
|
18
18
|
|
|
19
19
|
export { AvatarColor, AvatarSize };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { AvatarColor, AvatarSize } from './props';
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
2
|
+
export declare const AvatarRoot: string[];
|
|
3
|
+
export declare const AvatarImage: string[];
|
|
4
|
+
export declare const AvatarRootSizes: Record<AvatarSize, string[]>;
|
|
5
|
+
export declare const AvatarRootColors: Record<AvatarColor, string[]>;
|
|
6
|
+
export declare const AvatarRootAbbreviationSizes: Record<AvatarSize, string[]>;
|
|
7
|
+
export declare const AvatarRootIconSizes: Record<AvatarSize, string[]>;
|
|
@@ -1,84 +1,65 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AvatarColor } from './props.js';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const AvatarRoot = [
|
|
4
4
|
// Layout
|
|
5
|
-
'
|
|
6
|
-
//
|
|
7
|
-
'
|
|
5
|
+
'flex', 'items-center', 'justify-center', 'overflow-hidden',
|
|
6
|
+
// Box
|
|
7
|
+
'rounded-full',
|
|
8
8
|
// Interactivity
|
|
9
|
-
'interactivity-none'
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
'interactivity-none'];
|
|
10
|
+
const AvatarImage = [
|
|
11
|
+
// Box
|
|
12
|
+
'w-full', 'h-full', 'object-cover'];
|
|
13
|
+
const AvatarRootSizes = {
|
|
14
|
+
'xl': [
|
|
14
15
|
// Box
|
|
15
16
|
'w-[80px]', 'h-[80px]'],
|
|
16
|
-
|
|
17
|
+
'l': [
|
|
17
18
|
// Box
|
|
18
19
|
'w-[64px]', 'h-[64px]'],
|
|
19
|
-
|
|
20
|
+
'm': [
|
|
20
21
|
// Box
|
|
21
22
|
'w-[40px]', 'h-[40px]'],
|
|
22
|
-
|
|
23
|
+
's': [
|
|
23
24
|
// Box
|
|
24
25
|
'w-[32px]', 'h-[32px]'],
|
|
25
|
-
|
|
26
|
+
'xs': [
|
|
26
27
|
// Box
|
|
27
28
|
'w-[24px]', 'h-[24px]']
|
|
28
29
|
};
|
|
29
|
-
const
|
|
30
|
-
[
|
|
31
|
-
// Typography
|
|
32
|
-
'text-[40px]'],
|
|
33
|
-
[AvatarSize.L]: [
|
|
34
|
-
// Typography
|
|
35
|
-
'text-[32px]'],
|
|
36
|
-
[AvatarSize.M]: [
|
|
37
|
-
// Typography
|
|
38
|
-
'text-[20px]'],
|
|
39
|
-
[AvatarSize.S]: [
|
|
40
|
-
// Typography
|
|
41
|
-
'text-[16px]'],
|
|
42
|
-
[AvatarSize.XS]: [
|
|
43
|
-
// Typography
|
|
44
|
-
'text-[16px]']
|
|
45
|
-
};
|
|
46
|
-
const AvatarTextSizes = {
|
|
47
|
-
[AvatarSize.XL]: [
|
|
48
|
-
// Typography
|
|
49
|
-
'typography-headline-1'],
|
|
50
|
-
[AvatarSize.L]: [
|
|
51
|
-
// Typography
|
|
52
|
-
'typography-headline-1'],
|
|
53
|
-
[AvatarSize.M]: [
|
|
54
|
-
// Typography
|
|
55
|
-
'typography-body-1-bold'],
|
|
56
|
-
[AvatarSize.S]: [
|
|
57
|
-
// Typography
|
|
58
|
-
'typography-body-1-bold'],
|
|
59
|
-
[AvatarSize.XS]: [
|
|
60
|
-
// Typography
|
|
61
|
-
'typography-caption-semibold']
|
|
62
|
-
};
|
|
63
|
-
const AvatarColors = {
|
|
64
|
-
[AvatarColor.Auto]: [
|
|
65
|
-
// Theme
|
|
66
|
-
'theme-foreground-base', 'dark:theme-foreground-base-dark'],
|
|
67
|
-
[AvatarColor.Blue]: [
|
|
30
|
+
const AvatarRootColors = {
|
|
31
|
+
[AvatarColor.blue]: [
|
|
68
32
|
// Theme
|
|
69
33
|
'theme-preset-1-primary', 'dark:theme-preset-1-primary-dark'],
|
|
70
|
-
[AvatarColor.
|
|
34
|
+
[AvatarColor.yellow]: [
|
|
71
35
|
// Theme
|
|
72
|
-
'theme-preset-1-
|
|
73
|
-
[AvatarColor.
|
|
36
|
+
'theme-preset-1-warning', 'dark:theme-preset-1-warning-dark'],
|
|
37
|
+
[AvatarColor.red]: [
|
|
38
|
+
// Theme
|
|
39
|
+
'theme-preset-1-error', 'dark:theme-preset-1-error-dark'],
|
|
40
|
+
[AvatarColor.green]: [
|
|
74
41
|
// Theme
|
|
75
42
|
'theme-preset-1-success', 'dark:theme-preset-1-success-dark'],
|
|
76
|
-
[AvatarColor.
|
|
43
|
+
[AvatarColor.grey]: [
|
|
77
44
|
// Theme
|
|
78
|
-
'theme-preset-1-
|
|
79
|
-
[AvatarColor.
|
|
45
|
+
'theme-preset-1-secondary', 'dark:theme-preset-1-secondary-dark'],
|
|
46
|
+
[AvatarColor.auto]: [
|
|
80
47
|
// Theme
|
|
81
|
-
'
|
|
48
|
+
'text-white', 'dark:text-overlay-dark']
|
|
49
|
+
};
|
|
50
|
+
const AvatarRootAbbreviationSizes = {
|
|
51
|
+
'xl': ['typography-headline-1'],
|
|
52
|
+
'l': ['typography-headline-1'],
|
|
53
|
+
'm': ['typography-body-1-bold'],
|
|
54
|
+
's': ['typography-body-1-bold'],
|
|
55
|
+
'xs': ['typography-caption-semibold']
|
|
56
|
+
};
|
|
57
|
+
const AvatarRootIconSizes = {
|
|
58
|
+
'xl': ['text-[40px]'],
|
|
59
|
+
'l': ['text-[32px]'],
|
|
60
|
+
'm': ['text-[20px]'],
|
|
61
|
+
's': ['text-[16px]'],
|
|
62
|
+
'xs': ['text-[16px]']
|
|
82
63
|
};
|
|
83
64
|
|
|
84
|
-
export {
|
|
65
|
+
export { AvatarImage, AvatarRoot, AvatarRootAbbreviationSizes, AvatarRootColors, AvatarRootIconSizes, AvatarRootSizes };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { o as onClickOutside } from '../../index-509d77a1.js';
|
|
2
|
-
import { defineComponent, ref,
|
|
3
|
-
import useBottomSheetSwipeState from './hooks/useBottomSheetSwipeState.js';
|
|
2
|
+
import { defineComponent, ref, toRef, watch, computed } from 'vue-demi';
|
|
4
3
|
import { BottomSheetVariant } from './props.js';
|
|
5
|
-
import { BottomSheet, BottomSheetVariants, BottomSheetHandle, BottomSheetHeader } from './styles.js';
|
|
4
|
+
import { BottomSheet, BottomSheetVariants, BottomSheetHandle, BottomSheetHeader, BottomSheetContent } from './styles.js';
|
|
5
|
+
import useBottomSheetSwipeState from './hooks/useBottomSheetSwipeState.js';
|
|
6
6
|
import __vue_component__$1 from '../OrOverlayV3/OrOverlay.js';
|
|
7
7
|
import { usePopoverState } from '../../hooks/usePopoverState.js';
|
|
8
8
|
import { n as normalizeComponent } from '../../normalize-component-6e8e3d80.js';
|
|
@@ -39,10 +39,6 @@ var script = defineComponent({
|
|
|
39
39
|
// Refs
|
|
40
40
|
const root = ref();
|
|
41
41
|
const content = ref();
|
|
42
|
-
// Styles
|
|
43
|
-
const rootStyles = computed(() => ['or-bottom-sheet-v3', ...BottomSheet, ...BottomSheetVariants[props.variant]]);
|
|
44
|
-
const handleStyles = computed(() => [...BottomSheetHandle]);
|
|
45
|
-
const headerStyles = computed(() => [...BottomSheetHeader]);
|
|
46
42
|
// State
|
|
47
43
|
const {
|
|
48
44
|
state,
|
|
@@ -75,11 +71,17 @@ var script = defineComponent({
|
|
|
75
71
|
}
|
|
76
72
|
});
|
|
77
73
|
// #endregion
|
|
74
|
+
// Styles
|
|
75
|
+
const rootStyles = computed(() => ['or-bottom-sheet-v3', ...BottomSheet, ...BottomSheetVariants[props.variant]]);
|
|
76
|
+
const handleStyles = computed(() => [...BottomSheetHandle]);
|
|
77
|
+
const headerStyles = computed(() => [...BottomSheetHeader]);
|
|
78
|
+
const contentStyles = computed(() => [...BottomSheetContent, fullscreen.value || props.variant === BottomSheetVariant.Basic ? 'overflow-y-auto' : 'overflow-hidden']);
|
|
78
79
|
return {
|
|
79
80
|
root,
|
|
80
81
|
content,
|
|
81
82
|
rootStyles,
|
|
82
83
|
rootInlineStyles,
|
|
84
|
+
contentStyles,
|
|
83
85
|
handleStyles,
|
|
84
86
|
headerStyles,
|
|
85
87
|
state,
|
|
@@ -113,7 +115,7 @@ var __vue_render__ = function () {
|
|
|
113
115
|
class: _vm.headerStyles
|
|
114
116
|
}, [_vm._t("header")], 2), _vm._v(" "), _c('div', {
|
|
115
117
|
ref: "content",
|
|
116
|
-
class:
|
|
118
|
+
class: _vm.contentStyles
|
|
117
119
|
}, [_vm._t("default")], 2)], 2)]) : _vm._e();
|
|
118
120
|
};
|
|
119
121
|
var __vue_staticRenderFns__ = [];
|
|
@@ -529,6 +529,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
529
529
|
setProperty?: ((property: string, value: string | null, priority?: string | undefined) => void) | undefined;
|
|
530
530
|
[Symbol.iterator]?: (() => IterableIterator<string>) | undefined;
|
|
531
531
|
}>;
|
|
532
|
+
contentStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
532
533
|
handleStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
533
534
|
headerStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
534
535
|
state: import("@vue/composition-api").Ref<"open" | "closed">;
|
|
@@ -1088,6 +1089,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
1088
1089
|
setProperty?: ((property: string, value: string | null, priority?: string | undefined) => void) | undefined;
|
|
1089
1090
|
[Symbol.iterator]?: (() => IterableIterator<string>) | undefined;
|
|
1090
1091
|
}>;
|
|
1092
|
+
contentStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
1091
1093
|
handleStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
1092
1094
|
headerStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
1093
1095
|
state: import("@vue/composition-api").Ref<"open" | "closed">;
|
|
@@ -3,12 +3,12 @@ export { BottomSheetVariant } from './props.js';
|
|
|
3
3
|
import '../../index-509d77a1.js';
|
|
4
4
|
import '../../index-ec92055d.js';
|
|
5
5
|
import 'vue-demi';
|
|
6
|
+
import './styles.js';
|
|
6
7
|
import './hooks/useBottomSheetSwipeState.js';
|
|
7
8
|
import '../../hooks/useTheme.js';
|
|
8
9
|
import '../../_commonjsHelpers-48a9cab9.js';
|
|
9
10
|
import 'node:tty';
|
|
10
11
|
import 'node:util';
|
|
11
|
-
import './styles.js';
|
|
12
12
|
import '../OrOverlayV3/OrOverlay.js';
|
|
13
13
|
import '../OrOverlayV3/styles.js';
|
|
14
14
|
import '../OrTeleportV3/OrTeleport.js';
|
|
@@ -3,3 +3,4 @@ export declare const BottomSheet: string[];
|
|
|
3
3
|
export declare const BottomSheetVariants: Record<BottomSheetVariant, string[]>;
|
|
4
4
|
export declare const BottomSheetHandle: string[];
|
|
5
5
|
export declare const BottomSheetHeader: string[];
|
|
6
|
+
export declare const BottomSheetContent: string[];
|
|
@@ -1,49 +1,42 @@
|
|
|
1
|
-
import { BottomSheetVariant } from './props.js';
|
|
2
|
-
|
|
3
1
|
const BottomSheet = [
|
|
4
2
|
// Position
|
|
5
3
|
'fixed', 'left-none', 'right-none', 'bottom-none',
|
|
6
4
|
// Layout
|
|
7
5
|
'layout-column',
|
|
8
|
-
// Overflow
|
|
9
|
-
'overflow-hidden',
|
|
10
|
-
// Interactivity
|
|
11
|
-
'interactivity-none',
|
|
12
6
|
// Shape
|
|
13
7
|
'rounded-t-lg',
|
|
14
|
-
// Elevation
|
|
15
|
-
'shadow-contextual', 'dark:shadow-contextual-dark',
|
|
16
|
-
// Typography
|
|
17
|
-
'typography-body-2-regular',
|
|
18
8
|
// Theme
|
|
19
|
-
'theme-background-base', 'dark:theme-background-base-dark', 'theme-foreground-default', 'dark:theme-foreground-default-dark'
|
|
9
|
+
'theme-background-base', 'dark:theme-background-base-dark', 'theme-foreground-default', 'dark:theme-foreground-default-dark',
|
|
10
|
+
// Elevation
|
|
11
|
+
'shadow-contextual', 'dark:shadow-contextual-dark'];
|
|
20
12
|
const BottomSheetVariants = {
|
|
21
|
-
|
|
22
|
-
|
|
13
|
+
'basic': [],
|
|
14
|
+
'advanced': [
|
|
23
15
|
// Box
|
|
24
16
|
'max-h-[50%]',
|
|
25
|
-
//
|
|
17
|
+
// Animation
|
|
26
18
|
'transition-[min-height]', 'transition-[max-height]']
|
|
27
19
|
};
|
|
28
20
|
const BottomSheetHandle = [
|
|
29
21
|
// Layout
|
|
30
22
|
'layout-row justify-center',
|
|
31
|
-
// Interactivity
|
|
32
|
-
'interactivity-auto !cursor-grab',
|
|
33
23
|
// Box
|
|
34
24
|
'after:w-2xl', 'after:h-xs',
|
|
35
|
-
// Spacing
|
|
36
|
-
'px-sm', 'py-sm',
|
|
37
25
|
// Shape
|
|
38
26
|
'after:rounded-full',
|
|
27
|
+
// Spacing
|
|
28
|
+
'px-sm', 'py-sm',
|
|
29
|
+
// Interactivity
|
|
30
|
+
'cursor-grab',
|
|
39
31
|
// Theme
|
|
40
32
|
'after:bg-outline', 'after:dark:bg-outline'];
|
|
41
33
|
const BottomSheetHeader = [
|
|
42
|
-
// Layout
|
|
34
|
+
// Layout
|
|
43
35
|
'empty:hidden',
|
|
44
36
|
// Spacing
|
|
45
37
|
'px-lg', 'py-md',
|
|
46
38
|
// Typography
|
|
47
39
|
'typography-headline-3'];
|
|
40
|
+
const BottomSheetContent = ['grow'];
|
|
48
41
|
|
|
49
|
-
export { BottomSheet, BottomSheetHandle, BottomSheetHeader, BottomSheetVariants };
|
|
42
|
+
export { BottomSheet, BottomSheetContent, BottomSheetHandle, BottomSheetHeader, BottomSheetVariants };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, isVue3 } from 'vue-demi';
|
|
2
2
|
import { ButtonType, ButtonVariant, ButtonColor } from './props.js';
|
|
3
|
-
import {
|
|
3
|
+
import { ButtonRoot, ButtonRootVariants, ButtonRootColors } from './styles.js';
|
|
4
4
|
import __vue_component__$1 from '../OrLoaderV3/OrLoader.js';
|
|
5
5
|
import { n as normalizeComponent } from '../../normalize-component-6e8e3d80.js';
|
|
6
6
|
import '../../index-509d77a1.js';
|
|
@@ -49,7 +49,7 @@ var script = defineComponent({
|
|
|
49
49
|
// Refs
|
|
50
50
|
const root = ref();
|
|
51
51
|
// Styles
|
|
52
|
-
const rootStyles = computed(() => ['or-button-v3', ...
|
|
52
|
+
const rootStyles = computed(() => ['or-button-v3', ...ButtonRoot, ...ButtonRootVariants[props.variant], ...ButtonRootColors[`${props.color}-${props.variant}`], props.loading && 'interactivity-none']);
|
|
53
53
|
return {
|
|
54
54
|
root,
|
|
55
55
|
rootStyles,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ButtonColor, ButtonVariant } from './props';
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
2
|
+
export declare const ButtonRoot: string[];
|
|
3
|
+
export declare const ButtonRootVariants: Record<ButtonVariant, string[]>;
|
|
4
|
+
export declare const ButtonRootColors: Record<`${ButtonColor}-${ButtonVariant}`, string[]>;
|
|
@@ -1,39 +1,35 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
const Button = [
|
|
1
|
+
const ButtonRoot = [
|
|
4
2
|
// Layout
|
|
5
3
|
'layout-inline-row justify-center',
|
|
6
|
-
// Overflow
|
|
7
|
-
'overflow-hidden',
|
|
8
|
-
// Interactivity
|
|
9
|
-
'interactivity-auto',
|
|
10
4
|
// Shape
|
|
11
5
|
'rounded-md',
|
|
6
|
+
// Interactivity
|
|
7
|
+
'interactivity-auto',
|
|
12
8
|
// Typography
|
|
13
9
|
'typography-button'];
|
|
14
|
-
const
|
|
15
|
-
|
|
10
|
+
const ButtonRootVariants = {
|
|
11
|
+
'contained': [
|
|
16
12
|
// Box
|
|
17
13
|
'min-w-[96px]',
|
|
18
14
|
// Spacing
|
|
19
15
|
'px-md md:px-md', 'py-sm+ md:py-sm', 'gap-sm+ md:gap-sm',
|
|
20
|
-
//
|
|
16
|
+
// Theme
|
|
21
17
|
'enabled:shadow-button', 'dark:enabled:shadow-button-dark'],
|
|
22
|
-
|
|
18
|
+
'outlined': [
|
|
23
19
|
// Box
|
|
24
20
|
'min-w-[96px]',
|
|
25
21
|
// Spacing
|
|
26
22
|
'px-md* md:px-md*', 'py-sm+* md:py-sm*', 'gap-sm+ md:gap-sm'],
|
|
27
|
-
|
|
23
|
+
'text': [
|
|
28
24
|
// Box
|
|
29
25
|
'min-w-[96px]',
|
|
30
26
|
// Spacing
|
|
31
27
|
'px-md md:px-md', 'py-sm+ md:py-sm', 'gap-sm+ md:gap-sm'],
|
|
32
|
-
|
|
28
|
+
'link': [
|
|
33
29
|
// Spacing
|
|
34
30
|
'gap-xs']
|
|
35
31
|
};
|
|
36
|
-
const
|
|
32
|
+
const ButtonRootColors = {
|
|
37
33
|
'primary-contained': [
|
|
38
34
|
// Theme
|
|
39
35
|
'theme-preset-1-primary', 'dark:theme-preset-1-primary-dark'],
|
|
@@ -72,4 +68,4 @@ const ButtonColors = {
|
|
|
72
68
|
'activated:theme-foreground-default', 'dark:activated:theme-foreground-default-dark']
|
|
73
69
|
};
|
|
74
70
|
|
|
75
|
-
export {
|
|
71
|
+
export { ButtonRoot, ButtonRootColors, ButtonRootVariants };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, watch } from 'vue-demi';
|
|
2
|
-
import { CardCollectionContent, CardCollectionContentViews,
|
|
2
|
+
import { CardCollectionContent, CardCollectionContentViews, CardCollectionRoot, CardCollectionToolbar, CardCollectionToolbarPanel } from './styles.js';
|
|
3
3
|
import { n as normalizeComponent } from '../../normalize-component-6e8e3d80.js';
|
|
4
4
|
import { gridView, defaultViewModes } from './props.js';
|
|
5
5
|
import __vue_component__$2 from '../OrIconButtonV3/OrIconButton.js';
|
|
@@ -19,13 +19,13 @@ import '../../index-ec92055d.js';
|
|
|
19
19
|
import '../OrPopoverV3/props.js';
|
|
20
20
|
import '../OrPopoverV3/styles.js';
|
|
21
21
|
import '../OrBottomSheetV3/OrBottomSheet.js';
|
|
22
|
-
import '../OrBottomSheetV3/hooks/useBottomSheetSwipeState.js';
|
|
23
22
|
import '../OrBottomSheetV3/props.js';
|
|
23
|
+
import '../OrBottomSheetV3/styles.js';
|
|
24
|
+
import '../OrBottomSheetV3/hooks/useBottomSheetSwipeState.js';
|
|
24
25
|
import '../../hooks/useTheme.js';
|
|
25
26
|
import '../../_commonjsHelpers-48a9cab9.js';
|
|
26
27
|
import 'node:tty';
|
|
27
28
|
import 'node:util';
|
|
28
|
-
import '../OrBottomSheetV3/styles.js';
|
|
29
29
|
import '../OrOverlayV3/OrOverlay.js';
|
|
30
30
|
import '../OrOverlayV3/styles.js';
|
|
31
31
|
import '../OrTeleportV3/OrTeleport.js';
|
|
@@ -77,10 +77,9 @@ var script$1 = defineComponent({
|
|
|
77
77
|
}
|
|
78
78
|
},
|
|
79
79
|
setup(props) {
|
|
80
|
-
|
|
81
|
-
const rootStyles = computed(() => [...CardCollectionContent, ...CardCollectionContentViews[props.mode]]);
|
|
80
|
+
const contentStyles = computed(() => [...CardCollectionContent, ...CardCollectionContentViews[props.mode]]);
|
|
82
81
|
return {
|
|
83
|
-
|
|
82
|
+
contentStyles
|
|
84
83
|
};
|
|
85
84
|
}
|
|
86
85
|
});
|
|
@@ -94,7 +93,7 @@ var __vue_render__$1 = function () {
|
|
|
94
93
|
var _h = _vm.$createElement;
|
|
95
94
|
var _c = _vm._self._c || _h;
|
|
96
95
|
return _c('div', {
|
|
97
|
-
class: _vm.
|
|
96
|
+
class: _vm.contentStyles
|
|
98
97
|
}, [_vm._l(_vm.items, function (item) {
|
|
99
98
|
return _vm._t("item", function () {
|
|
100
99
|
return [_vm._v("\n " + _vm._s(item.key) + "\n ")];
|
|
@@ -174,7 +173,7 @@ var script = defineComponent({
|
|
|
174
173
|
// Refs
|
|
175
174
|
const root = ref();
|
|
176
175
|
// Styles
|
|
177
|
-
const rootStyles = computed(() => ['or-card-collection-v3', ...
|
|
176
|
+
const rootStyles = computed(() => ['or-card-collection-v3', ...CardCollectionRoot]);
|
|
178
177
|
const toolbarStyles = computed(() => [...CardCollectionToolbar]);
|
|
179
178
|
const toolbarPanelStyles = computed(() => [...CardCollectionToolbarPanel]);
|
|
180
179
|
// State
|