@onereach/ui-components 4.18.2 → 4.18.3-beta.3120.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundled/v2/components/OrAvatarV3/OrAvatar.js +17 -24
- package/dist/bundled/v2/components/OrAvatarV3/OrAvatar.vue.d.ts +16 -22
- package/dist/bundled/v2/components/OrAvatarV3/props.d.ts +6 -6
- package/dist/bundled/v2/components/OrAvatarV3/props.js +6 -6
- package/dist/bundled/v2/components/OrAvatarV3/styles.d.ts +5 -6
- package/dist/bundled/v2/components/OrAvatarV3/styles.js +61 -42
- package/dist/bundled/v2/components/OrBottomSheetV3/OrBottomSheet.js +8 -10
- package/dist/bundled/v2/components/OrBottomSheetV3/OrBottomSheet.vue.d.ts +0 -2
- package/dist/bundled/v2/components/OrBottomSheetV3/index.js +1 -1
- package/dist/bundled/v2/components/OrBottomSheetV3/styles.d.ts +0 -1
- package/dist/bundled/v2/components/OrBottomSheetV3/styles.js +16 -13
- package/dist/bundled/v2/components/OrButtonV3/OrButton.js +2 -2
- package/dist/bundled/v2/components/OrButtonV3/styles.d.ts +3 -3
- package/dist/bundled/v2/components/OrButtonV3/styles.js +15 -11
- package/dist/bundled/v2/components/OrCardCollectionV3/OrCardCollection.js +8 -7
- package/dist/bundled/v2/components/OrCardCollectionV3/index.js +3 -3
- package/dist/bundled/v2/components/OrCardCollectionV3/props.d.ts +1 -1
- package/dist/bundled/v2/components/OrCardCollectionV3/props.js +8 -8
- package/dist/bundled/v2/components/OrCardCollectionV3/styles.d.ts +3 -3
- package/dist/bundled/v2/components/OrCardCollectionV3/styles.js +15 -9
- package/dist/bundled/v2/components/OrCodeV3/OrCode.js +1 -1
- package/dist/bundled/v2/components/OrCodeV3/index.js +2 -2
- package/dist/bundled/v2/components/OrConfirmV3/OrConfirm.js +4 -4
- package/dist/bundled/v2/components/OrConfirmV3/index.js +2 -2
- package/dist/bundled/v2/components/OrConfirmV3/styles.d.ts +1 -1
- package/dist/bundled/v2/components/OrConfirmV3/styles.js +7 -7
- package/dist/bundled/v2/components/OrDatePickerV3/OrDatePicker.js +4 -4
- package/dist/bundled/v2/components/OrDatePickerV3/index.js +4 -4
- package/dist/bundled/v2/components/OrDateTimePickerV3/OrDateTimePicker.js +5 -5
- package/dist/bundled/v2/components/OrDateTimePickerV3/index.js +5 -5
- package/dist/bundled/v2/components/OrIconButtonV3/OrIconButton.js +2 -2
- package/dist/bundled/v2/components/OrIconButtonV3/index.js +2 -2
- package/dist/bundled/v2/components/OrInlineInputV3/OrInlineInput.js +2 -2
- package/dist/bundled/v2/components/OrInlineInputV3/index.js +2 -2
- package/dist/bundled/v2/components/OrInlineTextareaV3/OrInlineTextarea.js +2 -2
- package/dist/bundled/v2/components/OrInlineTextareaV3/index.js +2 -2
- package/dist/bundled/v2/components/OrInputV3/OrInput.js +2 -2
- package/dist/bundled/v2/components/OrInputV3/index.js +2 -2
- package/dist/bundled/v2/components/OrMenuV3/OrMenu.js +2 -2
- package/dist/bundled/v2/components/OrMenuV3/index.js +2 -2
- package/dist/bundled/v2/components/OrModalV3/OrModal.js +7 -7
- package/dist/bundled/v2/components/OrModalV3/index.js +2 -2
- package/dist/bundled/v2/components/OrModalV3/styles.d.ts +2 -2
- package/dist/bundled/v2/components/OrModalV3/styles.js +13 -11
- package/dist/bundled/v2/components/OrNotificationV3/OrNotification.js +2 -2
- package/dist/bundled/v2/components/OrNotificationV3/index.js +2 -2
- package/dist/bundled/v2/components/OrOverlayV3/OrOverlay.js +2 -2
- package/dist/bundled/v2/components/OrOverlayV3/styles.d.ts +1 -1
- package/dist/bundled/v2/components/OrOverlayV3/styles.js +5 -5
- package/dist/bundled/v2/components/OrPaginationV3/OrPagination.js +2 -2
- package/dist/bundled/v2/components/OrPaginationV3/index.js +2 -2
- package/dist/bundled/v2/components/OrPopoverV3/OrPopover.js +2 -2
- package/dist/bundled/v2/components/OrPopoverV3/index.js +2 -2
- package/dist/bundled/v2/components/OrPopoverV3/styles.js +5 -5
- package/dist/bundled/v2/components/OrSearchV3/OrSearch.js +2 -2
- package/dist/bundled/v2/components/OrSearchV3/index.js +2 -2
- package/dist/bundled/v2/components/OrSelectV3/OrSelect.js +2 -2
- package/dist/bundled/v2/components/OrSelectV3/index.js +2 -2
- package/dist/bundled/v2/components/OrSidebarV3/OrSidebar.js +2 -2
- package/dist/bundled/v2/components/OrSidebarV3/index.js +2 -2
- package/dist/bundled/v2/components/OrSortingV3/OrSorting.js +2 -2
- package/dist/bundled/v2/components/OrSortingV3/index.js +2 -2
- package/dist/bundled/v2/components/OrTabsV3/OrTabs.js +2 -2
- package/dist/bundled/v2/components/OrTabsV3/index.js +2 -2
- package/dist/bundled/v2/components/OrTagInputV3/OrTagInput.js +2 -2
- package/dist/bundled/v2/components/OrTagInputV3/index.js +2 -2
- package/dist/bundled/v2/components/OrTagV3/OrTag.js +2 -2
- package/dist/bundled/v2/components/OrTagV3/index.js +2 -2
- package/dist/bundled/v2/components/OrTagsV3/OrTags.js +2 -2
- package/dist/bundled/v2/components/OrTagsV3/index.js +2 -2
- package/dist/bundled/v2/components/OrTimePickerV3/OrTimePicker.js +4 -4
- package/dist/bundled/v2/components/OrTimePickerV3/index.js +4 -4
- package/dist/bundled/v2/components/OrToastContainerV3/OrToastContainer.js +4 -4
- package/dist/bundled/v2/components/OrToastContainerV3/index.js +2 -2
- package/dist/bundled/v2/components/OrToastV3/OrToast.js +2 -2
- package/dist/bundled/v2/components/OrToastV3/index.js +2 -2
- package/dist/bundled/v2/components/OrTooltipV3/OrTooltip.js +2 -2
- package/dist/bundled/v2/components/OrTooltipV3/index.js +2 -2
- package/dist/bundled/v2/components/index.js +5 -5
- package/dist/bundled/v2/hooks/useTheme.js +3 -0
- package/dist/bundled/v2/index.js +6 -6
- package/dist/bundled/v3/{OrAvatar.vue_vue_type_script_lang-8d7ce473.js → OrAvatar.vue_vue_type_script_lang-bf7bcbe2.js} +12 -19
- package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-9d6701ce.js → OrBottomSheet.vue_vue_type_script_lang-d6609a26.js} +8 -10
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-098131d0.js → OrButton.vue_vue_type_script_lang-0791a480.js} +2 -2
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-bc4757dd.js → OrCardCollection.vue_vue_type_script_lang-40124ef0.js} +9 -8
- package/dist/bundled/v3/{OrCheckboxGroup.vue_vue_type_script_lang-ff3d450b.js → OrCheckboxGroup.vue_vue_type_script_lang-3b25afe5.js} +1 -1
- package/dist/bundled/v3/{OrCheckboxTree.vue_vue_type_script_lang-120abecd.js → OrCheckboxTree.vue_vue_type_script_lang-ab30a5c4.js} +1 -1
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-f1380ecb.js → OrCode.vue_vue_type_script_lang-a99a2768.js} +2 -2
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-73aa938c.js → OrConfirm.vue_vue_type_script_lang-3f6484d7.js} +5 -5
- package/dist/bundled/v3/{OrDatePicker.vue_vue_type_script_lang-9c41e3f9.js → OrDatePicker.vue_vue_type_script_lang-15cde361.js} +4 -4
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-32107a94.js → OrDateTimePicker.vue_vue_type_script_lang-e3f9a844.js} +5 -5
- package/dist/bundled/v3/{OrDateTimePickerMonthSelect-c1711d61.js → OrDateTimePickerMonthSelect-47d89402.js} +3 -3
- package/dist/bundled/v3/{OrDateTimePickerPopoverHeader-dec42484.js → OrDateTimePickerPopoverHeader-d9eef487.js} +1 -1
- package/dist/bundled/v3/{OrDateTimePickerTimeSelect-ae24d04e.js → OrDateTimePickerTimeSelect-4c47cc2f.js} +1 -1
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-4bf3ae40.js → OrIconButton.vue_vue_type_script_lang-da2a6044.js} +1 -1
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-43321b2b.js → OrInlineInput.vue_vue_type_script_lang-8400fa8c.js} +1 -1
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-db4f0a3b.js → OrInlineTextarea.vue_vue_type_script_lang-d6a348da.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-d64bda8a.js → OrInput.vue_vue_type_script_lang-0ddddd27.js} +1 -1
- package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-021144d0.js → OrMenu.vue_vue_type_script_lang-6d3459d2.js} +1 -1
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-2c5c049e.js → OrModal.vue_vue_type_script_lang-9db0be3b.js} +4 -6
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-c17521c0.js → OrNotification.vue_vue_type_script_lang-01382876.js} +1 -1
- package/dist/bundled/v3/{OrOverlay.vue_vue_type_script_lang-01c9e89b.js → OrOverlay.vue_vue_type_script_lang-2da128a3.js} +2 -2
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-c36afcb9.js → OrPagination.vue_vue_type_script_lang-4e054df4.js} +2 -2
- package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-26dd5475.js → OrPopover.vue_vue_type_script_lang-cc1ee134.js} +1 -1
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-07373511.js → OrSearch.vue_vue_type_script_lang-495149b0.js} +1 -1
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-9acc1912.js → OrSelect.vue_vue_type_script_lang-cb556343.js} +4 -4
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-8186b9bc.js → OrSidebar.vue_vue_type_script_lang-a7103da5.js} +1 -1
- package/dist/bundled/v3/{OrSorting.vue_vue_type_script_lang-c12a13b0.js → OrSorting.vue_vue_type_script_lang-a43c7a38.js} +2 -2
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-e00ea5e2.js → OrTabs.vue_vue_type_script_lang-3831d139.js} +1 -1
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-35dd9ab6.js → OrTag.vue_vue_type_script_lang-206b5c7c.js} +1 -1
- package/dist/bundled/v3/{OrTagInput.vue_vue_type_script_lang-6b584d66.js → OrTagInput.vue_vue_type_script_lang-9f594179.js} +2 -2
- package/dist/bundled/v3/{OrTags.vue_vue_type_script_lang-d4e4da50.js → OrTags.vue_vue_type_script_lang-de78876f.js} +3 -3
- package/dist/bundled/v3/{OrTimePicker.vue_vue_type_script_lang-223d7bb1.js → OrTimePicker.vue_vue_type_script_lang-7de3a004.js} +4 -4
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-bfcbc29a.js → OrTooltip.vue_vue_type_script_lang-215def44.js} +1 -1
- package/dist/bundled/v3/{OrTree.vue_vue_type_script_lang-1606b260.js → OrTree.vue_vue_type_script_lang-008ef9b1.js} +1 -1
- package/dist/bundled/v3/components/OrAvatarV3/OrAvatar.js +6 -6
- package/dist/bundled/v3/components/OrAvatarV3/OrAvatar.vue.d.ts +12 -17
- package/dist/bundled/v3/components/OrAvatarV3/index.js +1 -1
- package/dist/bundled/v3/components/OrAvatarV3/props.d.ts +6 -6
- package/dist/bundled/v3/components/OrAvatarV3/props.js +6 -6
- package/dist/bundled/v3/components/OrAvatarV3/styles.d.ts +5 -6
- package/dist/bundled/v3/components/OrAvatarV3/styles.js +61 -42
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.js +6 -6
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.vue.d.ts +0 -1
- package/dist/bundled/v3/components/OrBottomSheetV3/index.js +3 -3
- package/dist/bundled/v3/components/OrBottomSheetV3/styles.d.ts +0 -1
- package/dist/bundled/v3/components/OrBottomSheetV3/styles.js +16 -13
- package/dist/bundled/v3/components/OrButtonV3/OrButton.js +2 -2
- package/dist/bundled/v3/components/OrButtonV3/index.js +1 -1
- package/dist/bundled/v3/components/OrButtonV3/styles.d.ts +3 -3
- package/dist/bundled/v3/components/OrButtonV3/styles.js +15 -11
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +14 -14
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +14 -14
- package/dist/bundled/v3/components/OrCardCollectionV3/props.d.ts +1 -1
- package/dist/bundled/v3/components/OrCardCollectionV3/props.js +8 -8
- package/dist/bundled/v3/components/OrCardCollectionV3/styles.d.ts +3 -3
- package/dist/bundled/v3/components/OrCardCollectionV3/styles.js +15 -9
- package/dist/bundled/v3/components/OrCheckboxGroupV3/OrCheckboxGroup.js +4 -4
- package/dist/bundled/v3/components/OrCheckboxGroupV3/index.js +3 -3
- package/dist/bundled/v3/components/OrCheckboxTreeV3/OrCheckboxTree.js +3 -3
- package/dist/bundled/v3/components/OrCheckboxTreeV3/index.js +2 -2
- package/dist/bundled/v3/components/OrCodeV3/OrCode.js +10 -10
- package/dist/bundled/v3/components/OrCodeV3/index.js +9 -9
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +11 -11
- package/dist/bundled/v3/components/OrConfirmV3/index.js +10 -10
- package/dist/bundled/v3/components/OrConfirmV3/styles.d.ts +1 -1
- package/dist/bundled/v3/components/OrConfirmV3/styles.js +7 -7
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +13 -13
- package/dist/bundled/v3/components/OrDatePickerV3/index.js +12 -12
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.js +14 -14
- package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +13 -13
- package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.js +8 -8
- package/dist/bundled/v3/components/OrIconButtonV3/index.js +7 -7
- package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.js +9 -9
- package/dist/bundled/v3/components/OrInlineInputV3/index.js +8 -8
- package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.js +9 -9
- package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +8 -8
- package/dist/bundled/v3/components/OrInputV3/OrInput.js +9 -9
- package/dist/bundled/v3/components/OrInputV3/index.js +8 -8
- package/dist/bundled/v3/components/OrMenuV3/OrMenu.js +7 -7
- package/dist/bundled/v3/components/OrMenuV3/index.js +6 -6
- package/dist/bundled/v3/components/OrModalV3/OrModal.js +13 -11
- package/dist/bundled/v3/components/OrModalV3/index.js +8 -8
- package/dist/bundled/v3/components/OrModalV3/styles.d.ts +2 -2
- package/dist/bundled/v3/components/OrModalV3/styles.js +13 -11
- package/dist/bundled/v3/components/OrNotificationV3/OrNotification.js +9 -9
- package/dist/bundled/v3/components/OrNotificationV3/index.js +8 -8
- package/dist/bundled/v3/components/OrOverlayV3/OrOverlay.js +2 -2
- package/dist/bundled/v3/components/OrOverlayV3/index.js +1 -1
- package/dist/bundled/v3/components/OrOverlayV3/styles.d.ts +1 -1
- package/dist/bundled/v3/components/OrOverlayV3/styles.js +5 -5
- package/dist/bundled/v3/components/OrPaginationV3/OrPagination.js +9 -9
- package/dist/bundled/v3/components/OrPaginationV3/index.js +8 -8
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.js +6 -6
- package/dist/bundled/v3/components/OrPopoverV3/index.js +5 -5
- package/dist/bundled/v3/components/OrPopoverV3/styles.js +5 -5
- package/dist/bundled/v3/components/OrSearchV3/OrSearch.js +10 -10
- package/dist/bundled/v3/components/OrSearchV3/index.js +9 -9
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +11 -11
- package/dist/bundled/v3/components/OrSelectV3/index.js +10 -10
- package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.js +9 -9
- package/dist/bundled/v3/components/OrSidebarV3/index.js +8 -8
- package/dist/bundled/v3/components/OrSortingV3/OrSorting.js +9 -9
- package/dist/bundled/v3/components/OrSortingV3/index.js +8 -8
- package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +8 -8
- package/dist/bundled/v3/components/OrTabsV3/index.js +7 -7
- package/dist/bundled/v3/components/OrTagInputV3/OrTagInput.js +12 -12
- package/dist/bundled/v3/components/OrTagInputV3/index.js +11 -11
- package/dist/bundled/v3/components/OrTagV3/OrTag.js +9 -9
- package/dist/bundled/v3/components/OrTagV3/index.js +8 -8
- package/dist/bundled/v3/components/OrTagsV3/OrTags.js +11 -11
- package/dist/bundled/v3/components/OrTagsV3/index.js +10 -10
- package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.js +12 -12
- package/dist/bundled/v3/components/OrTimePickerV3/index.js +11 -11
- package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.js +9 -9
- package/dist/bundled/v3/components/OrToastContainerV3/index.js +8 -8
- package/dist/bundled/v3/components/OrToastV3/OrToast.js +7 -7
- package/dist/bundled/v3/components/OrToastV3/index.js +8 -8
- package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.js +7 -7
- package/dist/bundled/v3/components/OrTooltipV3/index.js +6 -6
- package/dist/bundled/v3/components/OrTreeV3/OrTree.js +3 -3
- package/dist/bundled/v3/components/OrTreeV3/index.js +2 -2
- package/dist/bundled/v3/components/index.js +37 -37
- package/dist/bundled/v3/hooks/useTheme.js +3 -0
- package/dist/bundled/v3/index.js +38 -38
- package/dist/esm/v2/{OrAvatar-d1c82ab9.js → OrAvatar-dd0e1e3b.js} +81 -69
- package/dist/esm/v2/{OrBottomSheet-67e6d85e.js → OrBottomSheet-a4ee4b0e.js} +48 -49
- package/dist/esm/v2/{OrButton-9622e713.js → OrButton-a23ee9f0.js} +13 -11
- package/dist/esm/v2/{OrCardCollection-ca6d1e3c.js → OrCardCollection-9aaa7a3c.js} +36 -31
- package/dist/esm/v2/{OrCheckboxGroup-eda833b1.js → OrCheckboxGroup-a04f27fe.js} +1 -1
- package/dist/esm/v2/{OrCheckboxTree-231ba2b1.js → OrCheckboxTree-f48db82f.js} +1 -1
- package/dist/esm/v2/{OrCode-996daa11.js → OrCode-dd915faf.js} +2 -2
- package/dist/esm/v2/{OrConfirm-e4f8c958.js → OrConfirm-a0875502.js} +10 -10
- package/dist/esm/v2/{OrDatePicker-20d1ed3e.js → OrDatePicker-0b119ef4.js} +3 -3
- package/dist/esm/v2/{OrDateTimePicker-42c99a26.js → OrDateTimePicker-061c7472.js} +1 -1
- package/dist/esm/v2/{OrDateTimePicker.vue_rollup-plugin-vue_script-64817206.js → OrDateTimePicker.vue_rollup-plugin-vue_script-18dea32e.js} +4 -4
- package/dist/esm/v2/{OrDateTimePickerPopoverHeader-dd9de00f.js → OrDateTimePickerPopoverHeader-30ec0bf4.js} +4 -4
- package/dist/esm/v2/{OrIconButton-85a6de2c.js → OrIconButton-311050dc.js} +2 -2
- package/dist/esm/v2/{OrInlineInput-2b7f5745.js → OrInlineInput-410e6e7d.js} +1 -1
- package/dist/esm/v2/{OrInlineTextarea-281064ab.js → OrInlineTextarea-be5970dd.js} +1 -1
- package/dist/esm/v2/{OrInput-a7e317b8.js → OrInput-99ccfff7.js} +1 -1
- package/dist/esm/v2/{OrMenu-54d6a7a5.js → OrMenu-e2f557c8.js} +1 -1
- package/dist/esm/v2/{OrModal-5626eeee.js → OrModal-3dafa3ce.js} +16 -16
- package/dist/esm/v2/{OrNotification-b0fb0d4f.js → OrNotification-6df1f6f6.js} +1 -1
- package/dist/esm/v2/{OrOverlay-948346df.js → OrOverlay-f819eff9.js} +5 -5
- package/dist/esm/v2/{OrPagination-11d363f2.js → OrPagination-f1e7aaa7.js} +3 -3
- package/dist/esm/v2/{OrPopover-c511273a.js → OrPopover-36e2fc9f.js} +6 -6
- package/dist/esm/v2/{OrSearch-7ad39657.js → OrSearch-f49e5f70.js} +1 -1
- package/dist/esm/v2/{OrSelect-0bd57cba.js → OrSelect-5e9508c9.js} +4 -4
- package/dist/esm/v2/{OrSidebar-74f719fc.js → OrSidebar-0539d572.js} +1 -1
- package/dist/esm/v2/{OrSidebarCollapseButton-07d12eb4.js → OrSidebarCollapseButton-8474d9c3.js} +1 -1
- package/dist/esm/v2/{OrSorting-ef99ef70.js → OrSorting-fad7928f.js} +3 -3
- package/dist/esm/v2/{OrTabs-b8a92669.js → OrTabs-0046e15b.js} +2 -2
- package/dist/esm/v2/{OrTag-b6125507.js → OrTag-d21ee9c1.js} +1 -1
- package/dist/esm/v2/{OrTagInput-f2ddcc97.js → OrTagInput-5b1ac86e.js} +2 -2
- package/dist/esm/v2/{OrTags-b7d9e52c.js → OrTags-c1a44ef7.js} +3 -3
- package/dist/esm/v2/{OrTimePicker-9312df72.js → OrTimePicker-d73ce31e.js} +4 -4
- package/dist/esm/v2/{OrTooltip-7a9861a2.js → OrTooltip-ec00d3ee.js} +1 -1
- package/dist/esm/v2/{OrTree-dcacd695.js → OrTree-dfc8a086.js} +1 -1
- package/dist/esm/v2/components/index.js +35 -35
- package/dist/esm/v2/components/or-avatar-v3/OrAvatar.vue.d.ts +16 -22
- package/dist/esm/v2/components/or-avatar-v3/index.js +1 -1
- package/dist/esm/v2/components/or-avatar-v3/props.d.ts +6 -6
- package/dist/esm/v2/components/or-avatar-v3/styles.d.ts +5 -6
- package/dist/esm/v2/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +0 -2
- package/dist/esm/v2/components/or-bottom-sheet-v3/index.js +2 -2
- package/dist/esm/v2/components/or-bottom-sheet-v3/styles.d.ts +0 -1
- package/dist/esm/v2/components/or-button-v3/index.js +1 -1
- package/dist/esm/v2/components/or-button-v3/styles.d.ts +3 -3
- package/dist/esm/v2/components/or-card-collection-v3/index.js +11 -11
- package/dist/esm/v2/components/or-card-collection-v3/partials/OrCardCollectionView.vue2.vue.d.ts +6 -7
- package/dist/esm/v2/components/or-card-collection-v3/props.d.ts +1 -1
- package/dist/esm/v2/components/or-card-collection-v3/styles.d.ts +3 -3
- package/dist/esm/v2/components/or-checkbox-group-v3/index.js +3 -3
- package/dist/esm/v2/components/or-checkbox-tree-v3/index.js +2 -2
- package/dist/esm/v2/components/or-code-v3/index.js +7 -7
- package/dist/esm/v2/components/or-confirm-v3/index.js +8 -8
- package/dist/esm/v2/components/or-confirm-v3/styles.d.ts +1 -1
- package/dist/esm/v2/components/or-date-picker-v3/index.js +9 -9
- package/dist/esm/v2/components/or-date-time-picker-v3/index.js +10 -10
- package/dist/esm/v2/components/or-icon-button-v3/index.js +5 -5
- package/dist/esm/v2/components/or-inline-input-v3/index.js +6 -6
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +6 -6
- package/dist/esm/v2/components/or-input-v3/index.js +6 -6
- package/dist/esm/v2/components/or-menu-v3/index.js +4 -4
- package/dist/esm/v2/components/or-modal-v3/index.js +6 -6
- package/dist/esm/v2/components/or-modal-v3/styles.d.ts +2 -2
- package/dist/esm/v2/components/or-notification-v3/index.js +6 -6
- package/dist/esm/v2/components/or-overlay-v3/index.js +1 -1
- package/dist/esm/v2/components/or-overlay-v3/styles.d.ts +1 -1
- package/dist/esm/v2/components/or-pagination-v3/index.js +6 -6
- package/dist/esm/v2/components/or-popover-v3/index.js +3 -3
- package/dist/esm/v2/components/or-search-v3/index.js +7 -7
- package/dist/esm/v2/components/or-select-v3/index.js +8 -8
- package/dist/esm/v2/components/or-sidebar-v3/index.js +7 -7
- package/dist/esm/v2/components/or-sidebar-v3/partials/index.js +6 -6
- package/dist/esm/v2/components/or-sorting-v3/index.js +6 -6
- package/dist/esm/v2/components/or-tabs-v3/index.js +5 -5
- package/dist/esm/v2/components/or-tag-input-v3/index.js +9 -9
- package/dist/esm/v2/components/or-tag-v3/index.js +6 -6
- package/dist/esm/v2/components/or-tags-v3/index.js +8 -8
- package/dist/esm/v2/components/or-time-picker-v3/index.js +10 -10
- package/dist/esm/v2/components/or-toast-v3/index.js +6 -6
- package/dist/esm/v2/components/or-toast-v3/or-toast-container-v3/index.js +6 -6
- package/dist/esm/v2/components/or-tooltip-v3/index.js +4 -4
- package/dist/esm/v2/components/or-tree-v3/index.js +2 -2
- package/dist/esm/v2/index.js +35 -35
- package/dist/esm/v2/{types-6792dff8.js → types-e481ff6f.js} +3 -3
- package/dist/esm/v3/{OrAvatar-07fe6686.js → OrAvatar-554347e6.js} +80 -68
- package/dist/esm/v3/{OrBottomSheet-efca7190.js → OrBottomSheet-98aec82b.js} +48 -49
- package/dist/esm/v3/{OrButton-c2b6aa9e.js → OrButton-4a3c3e7b.js} +13 -11
- package/dist/esm/v3/{OrCardCollection-0adc842d.js → OrCardCollection-5a10ca80.js} +36 -31
- package/dist/esm/v3/{OrCheckboxGroup-e0afc5c3.js → OrCheckboxGroup-6c054793.js} +1 -1
- package/dist/esm/v3/{OrCheckboxTree-76f1b7ed.js → OrCheckboxTree-bb32455e.js} +1 -1
- package/dist/esm/v3/{OrCode-a252b73f.js → OrCode-98aceeef.js} +2 -2
- package/dist/esm/v3/{OrConfirm-e3e225b3.js → OrConfirm-8d0351b9.js} +10 -10
- package/dist/esm/v3/{OrDatePicker-6993440a.js → OrDatePicker-819007d7.js} +3 -3
- package/dist/esm/v3/{OrDateTimePicker-fd642cb1.js → OrDateTimePicker-7b08665c.js} +4 -4
- package/dist/esm/v3/{OrDateTimePickerPopoverHeader-ece5b2a7.js → OrDateTimePickerPopoverHeader-c3900e9a.js} +4 -4
- package/dist/esm/v3/{OrIconButton-fe133b18.js → OrIconButton-65b1a004.js} +2 -2
- package/dist/esm/v3/{OrInlineInput-7342053f.js → OrInlineInput-1d8b7ba7.js} +1 -1
- package/dist/esm/v3/{OrInlineTextarea-10657b96.js → OrInlineTextarea-384e66cd.js} +1 -1
- package/dist/esm/v3/{OrInput-5ffebd41.js → OrInput-cfc9d445.js} +1 -1
- package/dist/esm/v3/{OrMenu-20ca3870.js → OrMenu-7943ee1f.js} +1 -1
- package/dist/esm/v3/{OrModal-3ebc1346.js → OrModal-fb598e97.js} +16 -16
- package/dist/esm/v3/{OrNotification-78f567b4.js → OrNotification-a1de8289.js} +1 -1
- package/dist/esm/v3/{OrOverlay-489fdf76.js → OrOverlay-99e696e8.js} +5 -5
- package/dist/esm/v3/{OrPagination-9bd81a94.js → OrPagination-0dd5c8f0.js} +3 -3
- package/dist/esm/v3/{OrPopover-6d433297.js → OrPopover-466a8297.js} +6 -6
- package/dist/esm/v3/{OrSearch-94019f8b.js → OrSearch-c823ee5e.js} +1 -1
- package/dist/esm/v3/{OrSelect-48f2374c.js → OrSelect-d4bbddf1.js} +4 -4
- package/dist/esm/v3/{OrSidebar-5da9646b.js → OrSidebar-d8e70813.js} +1 -1
- package/dist/esm/v3/{OrSidebarCollapseButton-d7bc8075.js → OrSidebarCollapseButton-7a9f76cf.js} +1 -1
- package/dist/esm/v3/{OrSorting-012e0c6b.js → OrSorting-d5f3e077.js} +3 -3
- package/dist/esm/v3/{OrTabs-54c48a61.js → OrTabs-83e4477c.js} +2 -2
- package/dist/esm/v3/{OrTag-499c45e1.js → OrTag-8fede185.js} +1 -1
- package/dist/esm/v3/{OrTagInput-9c53b28c.js → OrTagInput-b5f6be7c.js} +2 -2
- package/dist/esm/v3/{OrTags-e56deb73.js → OrTags-5feb7c2d.js} +3 -3
- package/dist/esm/v3/{OrTimePicker-dc9a10d5.js → OrTimePicker-27be4172.js} +4 -4
- package/dist/esm/v3/{OrTooltip-2422971c.js → OrTooltip-6802b717.js} +1 -1
- package/dist/esm/v3/{OrTree-3b655a7a.js → OrTree-a0e57f4e.js} +1 -1
- package/dist/esm/v3/components/index.js +34 -34
- package/dist/esm/v3/components/or-avatar-v3/OrAvatar.vue.d.ts +12 -17
- package/dist/esm/v3/components/or-avatar-v3/index.js +1 -1
- package/dist/esm/v3/components/or-avatar-v3/props.d.ts +6 -6
- package/dist/esm/v3/components/or-avatar-v3/styles.d.ts +5 -6
- package/dist/esm/v3/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +0 -1
- package/dist/esm/v3/components/or-bottom-sheet-v3/index.js +2 -2
- package/dist/esm/v3/components/or-bottom-sheet-v3/styles.d.ts +0 -1
- package/dist/esm/v3/components/or-button-v3/index.js +1 -1
- package/dist/esm/v3/components/or-button-v3/styles.d.ts +3 -3
- package/dist/esm/v3/components/or-card-collection-v3/index.js +11 -11
- package/dist/esm/v3/components/or-card-collection-v3/partials/OrCardCollectionView.vue3.vue.d.ts +3 -4
- package/dist/esm/v3/components/or-card-collection-v3/props.d.ts +1 -1
- package/dist/esm/v3/components/or-card-collection-v3/styles.d.ts +3 -3
- package/dist/esm/v3/components/or-checkbox-group-v3/index.js +3 -3
- package/dist/esm/v3/components/or-checkbox-tree-v3/index.js +2 -2
- package/dist/esm/v3/components/or-code-v3/index.js +7 -7
- package/dist/esm/v3/components/or-confirm-v3/index.js +8 -8
- package/dist/esm/v3/components/or-confirm-v3/styles.d.ts +1 -1
- package/dist/esm/v3/components/or-date-picker-v3/index.js +9 -9
- package/dist/esm/v3/components/or-date-time-picker-v3/index.js +9 -9
- package/dist/esm/v3/components/or-icon-button-v3/index.js +5 -5
- package/dist/esm/v3/components/or-inline-input-v3/index.js +6 -6
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +6 -6
- package/dist/esm/v3/components/or-input-v3/index.js +6 -6
- package/dist/esm/v3/components/or-menu-v3/index.js +4 -4
- package/dist/esm/v3/components/or-modal-v3/index.js +6 -6
- package/dist/esm/v3/components/or-modal-v3/styles.d.ts +2 -2
- package/dist/esm/v3/components/or-notification-v3/index.js +6 -6
- package/dist/esm/v3/components/or-overlay-v3/index.js +1 -1
- package/dist/esm/v3/components/or-overlay-v3/styles.d.ts +1 -1
- package/dist/esm/v3/components/or-pagination-v3/index.js +6 -6
- package/dist/esm/v3/components/or-popover-v3/index.js +3 -3
- package/dist/esm/v3/components/or-search-v3/index.js +7 -7
- package/dist/esm/v3/components/or-select-v3/index.js +8 -8
- package/dist/esm/v3/components/or-sidebar-v3/index.js +7 -7
- package/dist/esm/v3/components/or-sidebar-v3/partials/index.js +6 -6
- package/dist/esm/v3/components/or-sorting-v3/index.js +6 -6
- package/dist/esm/v3/components/or-tabs-v3/index.js +5 -5
- package/dist/esm/v3/components/or-tag-input-v3/index.js +9 -9
- package/dist/esm/v3/components/or-tag-v3/index.js +6 -6
- package/dist/esm/v3/components/or-tags-v3/index.js +8 -8
- package/dist/esm/v3/components/or-time-picker-v3/index.js +10 -10
- package/dist/esm/v3/components/or-toast-v3/index.js +6 -6
- package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/index.js +6 -6
- package/dist/esm/v3/components/or-tooltip-v3/index.js +4 -4
- package/dist/esm/v3/components/or-tree-v3/index.js +2 -2
- package/dist/esm/v3/index.js +34 -34
- package/dist/esm/v3/{types-a3038b68.js → types-94be8310.js} +1 -1
- package/package.json +3 -4
- package/src/components/or-avatar-v3/OrAvatar.vue +31 -37
- package/src/components/or-avatar-v3/props.ts +6 -6
- package/src/components/or-avatar-v3/styles.ts +66 -64
- package/src/components/or-bottom-sheet-v3/OrBottomSheet.vue +18 -24
- package/src/components/or-bottom-sheet-v3/styles.ts +16 -17
- package/src/components/or-button-v3/OrButton.vue +4 -4
- package/src/components/or-button-v3/styles.ts +13 -10
- package/src/components/or-card-collection-v3/OrCardCollection.vue +3 -3
- package/src/components/or-card-collection-v3/partials/OrCardCollectionView.vue2.vue +14 -6
- package/src/components/or-card-collection-v3/partials/OrCardCollectionView.vue3.vue +14 -6
- package/src/components/or-card-collection-v3/props.ts +3 -3
- package/src/components/or-card-collection-v3/styles.ts +21 -14
- package/src/components/or-confirm-v3/OrConfirm.vue +2 -2
- package/src/components/or-confirm-v3/styles.ts +8 -8
- package/src/components/or-modal-v3/OrModal.vue +4 -4
- package/src/components/or-modal-v3/partials/or-modal-content/styles.ts +0 -3
- package/src/components/or-modal-v3/styles.ts +12 -12
- package/src/components/or-overlay-v3/OrOverlay.vue +2 -2
- package/src/components/or-overlay-v3/styles.ts +8 -8
- package/src/components/or-popover-v3/styles.ts +7 -7
- package/src/components/or-toast-v3/or-toast-container-v3/OrToastContainer.vue +1 -3
- /package/dist/bundled/v2/{OrDateTimePickerMonthSelect-8792b53f.js → OrDateTimePickerMonthSelect-a3097661.js} +0 -0
- /package/dist/bundled/v2/{OrDateTimePickerPopoverHeader-03768809.js → OrDateTimePickerPopoverHeader-a4f77733.js} +0 -0
- /package/dist/bundled/v2/{OrDateTimePickerTimeSelect-4d42b488.js → OrDateTimePickerTimeSelect-e57095bf.js} +0 -0
- /package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-3ec83f08.js → OrToastContainer.vue_vue_type_script_lang-64d27360.js} +0 -0
|
@@ -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 { Avatar, AvatarSizes, AvatarIconSizes, AvatarTextSizes, AvatarColors } 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,50 +20,43 @@ var script = defineComponent({
|
|
|
20
20
|
type: String,
|
|
21
21
|
default: undefined
|
|
22
22
|
},
|
|
23
|
-
size: {
|
|
24
|
-
type: String,
|
|
25
|
-
default: AvatarSize.M
|
|
26
|
-
},
|
|
27
23
|
icon: {
|
|
28
24
|
type: String,
|
|
29
25
|
default: undefined
|
|
30
26
|
},
|
|
27
|
+
size: {
|
|
28
|
+
type: String,
|
|
29
|
+
default: AvatarSize.M
|
|
30
|
+
},
|
|
31
31
|
color: {
|
|
32
32
|
type: String,
|
|
33
|
-
default: AvatarColor.
|
|
34
|
-
required: false
|
|
33
|
+
default: AvatarColor.Auto
|
|
35
34
|
},
|
|
36
35
|
colorSalt: {
|
|
37
36
|
type: String,
|
|
38
|
-
default: undefined
|
|
39
|
-
required: false
|
|
37
|
+
default: undefined
|
|
40
38
|
}
|
|
41
39
|
},
|
|
42
40
|
expose: ['root'],
|
|
43
41
|
setup(props) {
|
|
44
42
|
// Refs
|
|
45
43
|
const root = ref();
|
|
46
|
-
const isIcon = computed(() => {
|
|
47
|
-
return !props.icon;
|
|
48
|
-
});
|
|
49
44
|
// Styles
|
|
50
|
-
const rootStyles = computed(() => ['or-avatar-v3', ...
|
|
51
|
-
const imageStyles = computed(() => [...AvatarImage]);
|
|
45
|
+
const rootStyles = computed(() => ['or-avatar-v3', ...Avatar, ...AvatarSizes[props.size], ...(props.icon ? AvatarIconSizes[props.size] : AvatarTextSizes[props.size]), ...AvatarColors[props.color]]);
|
|
52
46
|
// Effects
|
|
53
47
|
watchPostEffect(() => {
|
|
54
48
|
var _a;
|
|
55
49
|
const rootElement = root.value;
|
|
56
|
-
if (rootElement && !props.src && props.color === AvatarColor.
|
|
50
|
+
if (rootElement && !props.src && props.color === AvatarColor.Auto) {
|
|
57
51
|
Object.assign(rootElement.style, {
|
|
58
|
-
|
|
59
|
-
|
|
52
|
+
color: props.color,
|
|
53
|
+
background: hslToColorString(generateHslFromString((_a = props.colorSalt) !== null && _a !== void 0 ? _a : ''))
|
|
60
54
|
});
|
|
61
55
|
}
|
|
62
56
|
});
|
|
63
57
|
return {
|
|
64
58
|
root,
|
|
65
|
-
rootStyles
|
|
66
|
-
imageStyles
|
|
59
|
+
rootStyles
|
|
67
60
|
};
|
|
68
61
|
}
|
|
69
62
|
});
|
|
@@ -80,18 +73,18 @@ var __vue_render__ = function () {
|
|
|
80
73
|
ref: "root",
|
|
81
74
|
class: _vm.rootStyles
|
|
82
75
|
}, [_vm._t("default", function () {
|
|
83
|
-
return [_vm.src ? _c('img', {
|
|
84
|
-
class:
|
|
76
|
+
return [_vm.src ? [_c('img', {
|
|
77
|
+
class: ['w-full', 'h-full', 'object-cover'],
|
|
85
78
|
attrs: {
|
|
86
79
|
"src": _vm.src,
|
|
87
80
|
"alt": ''
|
|
88
81
|
}
|
|
89
|
-
}) : _vm.icon ? _c('
|
|
82
|
+
})] : _vm.icon ? [_c('OrIcon', {
|
|
90
83
|
attrs: {
|
|
91
84
|
"icon": _vm.icon,
|
|
92
|
-
"size":
|
|
85
|
+
"size": 'inherit'
|
|
93
86
|
}
|
|
94
|
-
}) : _vm._e()];
|
|
87
|
+
})] : _vm._e()];
|
|
95
88
|
})], 2);
|
|
96
89
|
};
|
|
97
90
|
var __vue_staticRenderFns__ = [];
|
|
@@ -3,74 +3,68 @@ 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[]>;
|
|
7
6
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
8
7
|
src: {
|
|
9
8
|
type: StringConstructor;
|
|
10
9
|
default: undefined;
|
|
11
10
|
};
|
|
12
|
-
size: {
|
|
13
|
-
type: PropType<AvatarSize>;
|
|
14
|
-
default: AvatarSize;
|
|
15
|
-
};
|
|
16
11
|
icon: {
|
|
17
12
|
type: StringConstructor;
|
|
18
13
|
default: undefined;
|
|
19
14
|
};
|
|
15
|
+
size: {
|
|
16
|
+
type: PropType<"xl" | "l" | "m" | "s" | "xs">;
|
|
17
|
+
default: AvatarSize;
|
|
18
|
+
};
|
|
20
19
|
color: {
|
|
21
|
-
type: PropType<
|
|
20
|
+
type: PropType<"auto" | "blue" | "grey" | "green" | "yellow" | "red">;
|
|
22
21
|
default: AvatarColor;
|
|
23
|
-
required: false;
|
|
24
22
|
};
|
|
25
23
|
colorSalt: {
|
|
26
24
|
type: StringConstructor;
|
|
27
25
|
default: undefined;
|
|
28
|
-
required: false;
|
|
29
26
|
};
|
|
30
27
|
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
31
28
|
src: {
|
|
32
29
|
type: StringConstructor;
|
|
33
30
|
default: undefined;
|
|
34
31
|
};
|
|
35
|
-
size: {
|
|
36
|
-
type: PropType<AvatarSize>;
|
|
37
|
-
default: AvatarSize;
|
|
38
|
-
};
|
|
39
32
|
icon: {
|
|
40
33
|
type: StringConstructor;
|
|
41
34
|
default: undefined;
|
|
42
35
|
};
|
|
36
|
+
size: {
|
|
37
|
+
type: PropType<"xl" | "l" | "m" | "s" | "xs">;
|
|
38
|
+
default: AvatarSize;
|
|
39
|
+
};
|
|
43
40
|
color: {
|
|
44
|
-
type: PropType<
|
|
41
|
+
type: PropType<"auto" | "blue" | "grey" | "green" | "yellow" | "red">;
|
|
45
42
|
default: AvatarColor;
|
|
46
|
-
required: false;
|
|
47
43
|
};
|
|
48
44
|
colorSalt: {
|
|
49
45
|
type: StringConstructor;
|
|
50
46
|
default: undefined;
|
|
51
|
-
required: false;
|
|
52
47
|
};
|
|
53
48
|
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
54
49
|
src: string;
|
|
55
|
-
size: AvatarSize;
|
|
56
50
|
icon: string;
|
|
57
|
-
|
|
51
|
+
size: "xl" | "l" | "m" | "s" | "xs";
|
|
52
|
+
color: "auto" | "blue" | "grey" | "green" | "yellow" | "red";
|
|
58
53
|
colorSalt: string;
|
|
59
54
|
} & {}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
60
55
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
61
56
|
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
62
|
-
imageStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
63
57
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, {}, {
|
|
64
58
|
src: string;
|
|
65
|
-
size: AvatarSize;
|
|
66
59
|
icon: string;
|
|
67
|
-
|
|
60
|
+
size: "xl" | "l" | "m" | "s" | "xs";
|
|
61
|
+
color: "auto" | "blue" | "grey" | "green" | "yellow" | "red";
|
|
68
62
|
colorSalt: string;
|
|
69
63
|
} & {}, {
|
|
70
64
|
src: string;
|
|
71
|
-
size: AvatarSize;
|
|
72
65
|
icon: string;
|
|
73
|
-
|
|
66
|
+
size: "xl" | "l" | "m" | "s" | "xs";
|
|
67
|
+
color: "auto" | "blue" | "grey" | "green" | "yellow" | "red";
|
|
74
68
|
colorSalt: string;
|
|
75
69
|
}, true>);
|
|
76
70
|
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
|
+
Auto = "auto",
|
|
10
|
+
Blue = "blue",
|
|
11
|
+
Grey = "grey",
|
|
12
|
+
Green = "green",
|
|
13
|
+
Yellow = "yellow",
|
|
14
|
+
Red = "red"
|
|
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["Auto"] = "auto";
|
|
12
|
+
AvatarColor["Blue"] = "blue";
|
|
13
|
+
AvatarColor["Grey"] = "grey";
|
|
14
|
+
AvatarColor["Green"] = "green";
|
|
15
|
+
AvatarColor["Yellow"] = "yellow";
|
|
16
|
+
AvatarColor["Red"] = "red";
|
|
17
17
|
})(AvatarColor || (AvatarColor = {}));
|
|
18
18
|
|
|
19
19
|
export { AvatarColor, AvatarSize };
|
|
@@ -1,7 +1,6 @@
|
|
|
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
|
|
7
|
-
export declare const AvatarRootIconSizes: Record<AvatarSize, string[]>;
|
|
2
|
+
export declare const Avatar: string[];
|
|
3
|
+
export declare const AvatarSizes: Record<AvatarSize, string[]>;
|
|
4
|
+
export declare const AvatarIconSizes: Record<AvatarSize, string[]>;
|
|
5
|
+
export declare const AvatarTextSizes: Record<AvatarSize, string[]>;
|
|
6
|
+
export declare const AvatarColors: Record<AvatarColor, string[]>;
|
|
@@ -1,65 +1,84 @@
|
|
|
1
|
-
import { AvatarColor } from './props.js';
|
|
1
|
+
import { AvatarSize, AvatarColor } from './props.js';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const Avatar = [
|
|
4
4
|
// Layout
|
|
5
|
-
'
|
|
6
|
-
//
|
|
7
|
-
'
|
|
5
|
+
'layout-inline-row justify-center',
|
|
6
|
+
// Overflow
|
|
7
|
+
'overflow-hidden',
|
|
8
8
|
// Interactivity
|
|
9
|
-
'interactivity-none'
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
'xl': [
|
|
9
|
+
'interactivity-none',
|
|
10
|
+
// Shape
|
|
11
|
+
'rounded-full'];
|
|
12
|
+
const AvatarSizes = {
|
|
13
|
+
[AvatarSize.XL]: [
|
|
15
14
|
// Box
|
|
16
15
|
'w-[80px]', 'h-[80px]'],
|
|
17
|
-
|
|
16
|
+
[AvatarSize.L]: [
|
|
18
17
|
// Box
|
|
19
18
|
'w-[64px]', 'h-[64px]'],
|
|
20
|
-
|
|
19
|
+
[AvatarSize.M]: [
|
|
21
20
|
// Box
|
|
22
21
|
'w-[40px]', 'h-[40px]'],
|
|
23
|
-
|
|
22
|
+
[AvatarSize.S]: [
|
|
24
23
|
// Box
|
|
25
24
|
'w-[32px]', 'h-[32px]'],
|
|
26
|
-
|
|
25
|
+
[AvatarSize.XS]: [
|
|
27
26
|
// Box
|
|
28
27
|
'w-[24px]', 'h-[24px]']
|
|
29
28
|
};
|
|
30
|
-
const
|
|
31
|
-
[
|
|
29
|
+
const AvatarIconSizes = {
|
|
30
|
+
[AvatarSize.XL]: [
|
|
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]: [
|
|
32
65
|
// Theme
|
|
33
|
-
'theme-
|
|
34
|
-
[AvatarColor.
|
|
66
|
+
'theme-foreground-base', 'dark:theme-foreground-base-dark'],
|
|
67
|
+
[AvatarColor.Blue]: [
|
|
35
68
|
// Theme
|
|
36
|
-
'theme-preset-1-
|
|
37
|
-
[AvatarColor.
|
|
69
|
+
'theme-preset-1-primary', 'dark:theme-preset-1-primary-dark'],
|
|
70
|
+
[AvatarColor.Grey]: [
|
|
38
71
|
// Theme
|
|
39
|
-
'theme-preset-1-
|
|
40
|
-
[AvatarColor.
|
|
72
|
+
'theme-preset-1-secondary', 'dark:theme-preset-1-secondary-dark'],
|
|
73
|
+
[AvatarColor.Green]: [
|
|
41
74
|
// Theme
|
|
42
75
|
'theme-preset-1-success', 'dark:theme-preset-1-success-dark'],
|
|
43
|
-
[AvatarColor.
|
|
76
|
+
[AvatarColor.Yellow]: [
|
|
44
77
|
// Theme
|
|
45
|
-
'theme-preset-1-
|
|
46
|
-
[AvatarColor.
|
|
78
|
+
'theme-preset-1-warning', 'dark:theme-preset-1-warning-dark'],
|
|
79
|
+
[AvatarColor.Red]: [
|
|
47
80
|
// Theme
|
|
48
|
-
'
|
|
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]']
|
|
81
|
+
'theme-preset-1-error', 'dark:theme-preset-1-error-dark']
|
|
63
82
|
};
|
|
64
83
|
|
|
65
|
-
export {
|
|
84
|
+
export { Avatar, AvatarColors, AvatarIconSizes, AvatarSizes, AvatarTextSizes };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { o as onClickOutside } from '../../index-509d77a1.js';
|
|
2
|
-
import { defineComponent, ref, toRef, watch
|
|
3
|
-
import { BottomSheetVariant } from './props.js';
|
|
4
|
-
import { BottomSheet, BottomSheetVariants, BottomSheetHandle, BottomSheetHeader, BottomSheetContent } from './styles.js';
|
|
2
|
+
import { defineComponent, ref, computed, toRef, watch } from 'vue-demi';
|
|
5
3
|
import useBottomSheetSwipeState from './hooks/useBottomSheetSwipeState.js';
|
|
4
|
+
import { BottomSheetVariant } from './props.js';
|
|
5
|
+
import { BottomSheet, BottomSheetVariants, BottomSheetHandle, BottomSheetHeader } from './styles.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,6 +39,10 @@ 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]);
|
|
42
46
|
// State
|
|
43
47
|
const {
|
|
44
48
|
state,
|
|
@@ -71,17 +75,11 @@ var script = defineComponent({
|
|
|
71
75
|
}
|
|
72
76
|
});
|
|
73
77
|
// #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']);
|
|
79
78
|
return {
|
|
80
79
|
root,
|
|
81
80
|
content,
|
|
82
81
|
rootStyles,
|
|
83
82
|
rootInlineStyles,
|
|
84
|
-
contentStyles,
|
|
85
83
|
handleStyles,
|
|
86
84
|
headerStyles,
|
|
87
85
|
state,
|
|
@@ -115,7 +113,7 @@ var __vue_render__ = function () {
|
|
|
115
113
|
class: _vm.headerStyles
|
|
116
114
|
}, [_vm._t("header")], 2), _vm._v(" "), _c('div', {
|
|
117
115
|
ref: "content",
|
|
118
|
-
class: _vm.
|
|
116
|
+
class: ['grow', _vm.fullscreen || _vm.variant === 'basic' ? 'overflow-y-auto' : 'overflow-hidden']
|
|
119
117
|
}, [_vm._t("default")], 2)], 2)]) : _vm._e();
|
|
120
118
|
};
|
|
121
119
|
var __vue_staticRenderFns__ = [];
|
|
@@ -529,7 +529,6 @@ 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[]>;
|
|
533
532
|
handleStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
534
533
|
headerStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
535
534
|
state: import("@vue/composition-api").Ref<"open" | "closed">;
|
|
@@ -1089,7 +1088,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
1089
1088
|
setProperty?: ((property: string, value: string | null, priority?: string | undefined) => void) | undefined;
|
|
1090
1089
|
[Symbol.iterator]?: (() => IterableIterator<string>) | undefined;
|
|
1091
1090
|
}>;
|
|
1092
|
-
contentStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
1093
1091
|
handleStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
1094
1092
|
headerStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
1095
1093
|
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';
|
|
7
6
|
import './hooks/useBottomSheetSwipeState.js';
|
|
8
7
|
import '../../hooks/useTheme.js';
|
|
9
8
|
import '../../_commonjsHelpers-48a9cab9.js';
|
|
10
9
|
import 'node:tty';
|
|
11
10
|
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,4 +3,3 @@ 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,3 +1,5 @@
|
|
|
1
|
+
import { BottomSheetVariant } from './props.js';
|
|
2
|
+
|
|
1
3
|
const BottomSheet = [
|
|
2
4
|
// Position
|
|
3
5
|
'fixed', 'left-none', 'right-none', 'bottom-none',
|
|
@@ -5,38 +7,39 @@ const BottomSheet = [
|
|
|
5
7
|
'layout-column',
|
|
6
8
|
// Shape
|
|
7
9
|
'rounded-t-lg',
|
|
8
|
-
// Theme
|
|
9
|
-
'theme-background-base', 'dark:theme-background-base-dark', 'theme-foreground-default', 'dark:theme-foreground-default-dark',
|
|
10
10
|
// Elevation
|
|
11
|
-
'shadow-contextual', 'dark:shadow-contextual-dark'
|
|
11
|
+
'shadow-contextual', 'dark:shadow-contextual-dark',
|
|
12
|
+
// Typography
|
|
13
|
+
'typography-body-2-regular',
|
|
14
|
+
// Theme
|
|
15
|
+
'theme-background-base', 'dark:theme-background-base-dark', 'theme-foreground-default', 'dark:theme-foreground-default-dark'];
|
|
12
16
|
const BottomSheetVariants = {
|
|
13
|
-
|
|
14
|
-
|
|
17
|
+
[BottomSheetVariant.Basic]: [],
|
|
18
|
+
[BottomSheetVariant.Advanced]: [
|
|
15
19
|
// Box
|
|
16
20
|
'max-h-[50%]',
|
|
17
|
-
//
|
|
21
|
+
// Transition
|
|
18
22
|
'transition-[min-height]', 'transition-[max-height]']
|
|
19
23
|
};
|
|
20
24
|
const BottomSheetHandle = [
|
|
21
25
|
// Layout
|
|
22
26
|
'layout-row justify-center',
|
|
27
|
+
// Interactivity
|
|
28
|
+
'interactivity-auto !cursor-grab',
|
|
23
29
|
// Box
|
|
24
30
|
'after:w-2xl', 'after:h-xs',
|
|
25
|
-
// Shape
|
|
26
|
-
'after:rounded-full',
|
|
27
31
|
// Spacing
|
|
28
32
|
'px-sm', 'py-sm',
|
|
29
|
-
//
|
|
30
|
-
'
|
|
33
|
+
// Shape
|
|
34
|
+
'after:rounded-full',
|
|
31
35
|
// Theme
|
|
32
36
|
'after:bg-outline', 'after:dark:bg-outline'];
|
|
33
37
|
const BottomSheetHeader = [
|
|
34
|
-
// Layout
|
|
38
|
+
// Layout (empty)
|
|
35
39
|
'empty:hidden',
|
|
36
40
|
// Spacing
|
|
37
41
|
'px-lg', 'py-md',
|
|
38
42
|
// Typography
|
|
39
43
|
'typography-headline-3'];
|
|
40
|
-
const BottomSheetContent = ['grow'];
|
|
41
44
|
|
|
42
|
-
export { BottomSheet,
|
|
45
|
+
export { BottomSheet, 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 { Button, ButtonVariants, ButtonColors } 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', ...Button, ...ButtonVariants[props.variant], ...ButtonColors[`${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 Button: string[];
|
|
3
|
+
export declare const ButtonVariants: Record<ButtonVariant, string[]>;
|
|
4
|
+
export declare const ButtonColors: Record<`${ButtonColor}-${ButtonVariant}`, string[]>;
|
|
@@ -1,35 +1,39 @@
|
|
|
1
|
-
|
|
1
|
+
import { ButtonVariant } from './props.js';
|
|
2
|
+
|
|
3
|
+
const Button = [
|
|
2
4
|
// Layout
|
|
3
5
|
'layout-inline-row justify-center',
|
|
4
|
-
//
|
|
5
|
-
'
|
|
6
|
+
// Overflow
|
|
7
|
+
'overflow-hidden',
|
|
6
8
|
// Interactivity
|
|
7
9
|
'interactivity-auto',
|
|
10
|
+
// Shape
|
|
11
|
+
'rounded-md',
|
|
8
12
|
// Typography
|
|
9
13
|
'typography-button'];
|
|
10
|
-
const
|
|
11
|
-
|
|
14
|
+
const ButtonVariants = {
|
|
15
|
+
[ButtonVariant.Contained]: [
|
|
12
16
|
// Box
|
|
13
17
|
'min-w-[96px]',
|
|
14
18
|
// Spacing
|
|
15
19
|
'px-md md:px-md', 'py-sm+ md:py-sm', 'gap-sm+ md:gap-sm',
|
|
16
|
-
//
|
|
20
|
+
// Elevation (enabled)
|
|
17
21
|
'enabled:shadow-button', 'dark:enabled:shadow-button-dark'],
|
|
18
|
-
|
|
22
|
+
[ButtonVariant.Outlined]: [
|
|
19
23
|
// Box
|
|
20
24
|
'min-w-[96px]',
|
|
21
25
|
// Spacing
|
|
22
26
|
'px-md* md:px-md*', 'py-sm+* md:py-sm*', 'gap-sm+ md:gap-sm'],
|
|
23
|
-
|
|
27
|
+
[ButtonVariant.Text]: [
|
|
24
28
|
// Box
|
|
25
29
|
'min-w-[96px]',
|
|
26
30
|
// Spacing
|
|
27
31
|
'px-md md:px-md', 'py-sm+ md:py-sm', 'gap-sm+ md:gap-sm'],
|
|
28
|
-
|
|
32
|
+
[ButtonVariant.Link]: [
|
|
29
33
|
// Spacing
|
|
30
34
|
'gap-xs']
|
|
31
35
|
};
|
|
32
|
-
const
|
|
36
|
+
const ButtonColors = {
|
|
33
37
|
'primary-contained': [
|
|
34
38
|
// Theme
|
|
35
39
|
'theme-preset-1-primary', 'dark:theme-preset-1-primary-dark'],
|
|
@@ -68,4 +72,4 @@ const ButtonRootColors = {
|
|
|
68
72
|
'activated:theme-foreground-default', 'dark:activated:theme-foreground-default-dark']
|
|
69
73
|
};
|
|
70
74
|
|
|
71
|
-
export {
|
|
75
|
+
export { Button, ButtonColors, ButtonVariants };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, watch } from 'vue-demi';
|
|
2
|
-
import { CardCollectionContent, CardCollectionContentViews,
|
|
2
|
+
import { CardCollectionContent, CardCollectionContentViews, CardCollection, 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/props.js';
|
|
23
|
-
import '../OrBottomSheetV3/styles.js';
|
|
24
22
|
import '../OrBottomSheetV3/hooks/useBottomSheetSwipeState.js';
|
|
23
|
+
import '../OrBottomSheetV3/props.js';
|
|
25
24
|
import '../../hooks/useTheme.js';
|
|
26
25
|
import '../../_commonjsHelpers-48a9cab9.js';
|
|
27
26
|
import 'node:tty';
|
|
28
27
|
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,9 +77,10 @@ var script$1 = defineComponent({
|
|
|
77
77
|
}
|
|
78
78
|
},
|
|
79
79
|
setup(props) {
|
|
80
|
-
|
|
80
|
+
// Styles
|
|
81
|
+
const rootStyles = computed(() => [...CardCollectionContent, ...CardCollectionContentViews[props.mode]]);
|
|
81
82
|
return {
|
|
82
|
-
|
|
83
|
+
rootStyles
|
|
83
84
|
};
|
|
84
85
|
}
|
|
85
86
|
});
|
|
@@ -93,7 +94,7 @@ var __vue_render__$1 = function () {
|
|
|
93
94
|
var _h = _vm.$createElement;
|
|
94
95
|
var _c = _vm._self._c || _h;
|
|
95
96
|
return _c('div', {
|
|
96
|
-
class: _vm.
|
|
97
|
+
class: _vm.rootStyles
|
|
97
98
|
}, [_vm._l(_vm.items, function (item) {
|
|
98
99
|
return _vm._t("item", function () {
|
|
99
100
|
return [_vm._v("\n " + _vm._s(item.key) + "\n ")];
|
|
@@ -173,7 +174,7 @@ var script = defineComponent({
|
|
|
173
174
|
// Refs
|
|
174
175
|
const root = ref();
|
|
175
176
|
// Styles
|
|
176
|
-
const rootStyles = computed(() => ['or-card-collection-v3', ...
|
|
177
|
+
const rootStyles = computed(() => ['or-card-collection-v3', ...CardCollection]);
|
|
177
178
|
const toolbarStyles = computed(() => [...CardCollectionToolbar]);
|
|
178
179
|
const toolbarPanelStyles = computed(() => [...CardCollectionToolbarPanel]);
|
|
179
180
|
// State
|