@onereach/ui-components 4.18.1 → 4.18.2-beta.3104.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundled/v2/components/OrAvatarV3/OrAvatar.js +17 -24
- package/dist/bundled/v2/components/OrAvatarV3/OrAvatar.vue.d.ts +16 -22
- package/dist/bundled/v2/components/OrAvatarV3/props.d.ts +6 -6
- package/dist/bundled/v2/components/OrAvatarV3/props.js +6 -6
- package/dist/bundled/v2/components/OrAvatarV3/styles.d.ts +5 -6
- package/dist/bundled/v2/components/OrAvatarV3/styles.js +61 -42
- package/dist/bundled/v2/components/OrBottomSheetV3/OrBottomSheet.js +8 -10
- package/dist/bundled/v2/components/OrBottomSheetV3/OrBottomSheet.vue.d.ts +0 -2
- package/dist/bundled/v2/components/OrBottomSheetV3/index.js +1 -1
- package/dist/bundled/v2/components/OrBottomSheetV3/styles.d.ts +0 -1
- package/dist/bundled/v2/components/OrBottomSheetV3/styles.js +20 -13
- package/dist/bundled/v2/components/OrButtonV3/OrButton.js +2 -2
- package/dist/bundled/v2/components/OrButtonV3/styles.d.ts +3 -3
- package/dist/bundled/v2/components/OrButtonV3/styles.js +15 -11
- package/dist/bundled/v2/components/OrCardCollectionV3/OrCardCollection.js +8 -7
- package/dist/bundled/v2/components/OrCardCollectionV3/index.js +3 -3
- package/dist/bundled/v2/components/OrCardCollectionV3/props.d.ts +1 -1
- package/dist/bundled/v2/components/OrCardCollectionV3/props.js +8 -8
- package/dist/bundled/v2/components/OrCardCollectionV3/styles.d.ts +3 -3
- package/dist/bundled/v2/components/OrCardCollectionV3/styles.js +21 -9
- package/dist/bundled/v2/components/OrCodeV3/OrCode.js +1 -1
- package/dist/bundled/v2/components/OrCodeV3/index.js +2 -2
- package/dist/bundled/v2/components/OrConfirmV3/OrConfirm.js +4 -4
- package/dist/bundled/v2/components/OrConfirmV3/index.js +2 -2
- package/dist/bundled/v2/components/OrConfirmV3/styles.d.ts +1 -1
- package/dist/bundled/v2/components/OrConfirmV3/styles.js +8 -8
- package/dist/bundled/v2/components/OrDatePickerV3/OrDatePicker.js +4 -4
- package/dist/bundled/v2/components/OrDatePickerV3/index.js +4 -4
- package/dist/bundled/v2/components/OrDateTimePickerV3/OrDateTimePicker.js +5 -5
- package/dist/bundled/v2/components/OrDateTimePickerV3/index.js +5 -5
- package/dist/bundled/v2/components/OrIconButtonV3/OrIconButton.js +2 -2
- package/dist/bundled/v2/components/OrIconButtonV3/index.js +2 -2
- package/dist/bundled/v2/components/OrInlineInputV3/OrInlineInput.js +2 -2
- package/dist/bundled/v2/components/OrInlineInputV3/index.js +2 -2
- package/dist/bundled/v2/components/OrInlineTextareaV3/OrInlineTextarea.js +2 -2
- package/dist/bundled/v2/components/OrInlineTextareaV3/index.js +2 -2
- package/dist/bundled/v2/components/OrInputV3/OrInput.js +2 -2
- package/dist/bundled/v2/components/OrInputV3/index.js +2 -2
- package/dist/bundled/v2/components/OrMenuV3/OrMenu.js +2 -2
- package/dist/bundled/v2/components/OrMenuV3/index.js +2 -2
- package/dist/bundled/v2/components/OrModalV3/OrModal.js +7 -7
- package/dist/bundled/v2/components/OrModalV3/index.js +2 -2
- package/dist/bundled/v2/components/OrModalV3/styles.d.ts +2 -2
- package/dist/bundled/v2/components/OrModalV3/styles.js +17 -11
- package/dist/bundled/v2/components/OrNotificationV3/OrNotification.js +2 -2
- package/dist/bundled/v2/components/OrNotificationV3/index.js +2 -2
- package/dist/bundled/v2/components/OrOverlayV3/OrOverlay.js +2 -2
- package/dist/bundled/v2/components/OrOverlayV3/styles.d.ts +1 -1
- package/dist/bundled/v2/components/OrOverlayV3/styles.js +9 -5
- package/dist/bundled/v2/components/OrPaginationV3/OrPagination.js +2 -2
- package/dist/bundled/v2/components/OrPaginationV3/index.js +2 -2
- package/dist/bundled/v2/components/OrPopoverV3/OrPopover.js +2 -2
- package/dist/bundled/v2/components/OrPopoverV3/index.js +2 -2
- package/dist/bundled/v2/components/OrPopoverV3/styles.js +14 -6
- package/dist/bundled/v2/components/OrSearchV3/OrSearch.js +2 -2
- package/dist/bundled/v2/components/OrSearchV3/index.js +2 -2
- package/dist/bundled/v2/components/OrSelectV3/OrSelect.js +2 -2
- package/dist/bundled/v2/components/OrSelectV3/index.js +2 -2
- package/dist/bundled/v2/components/OrSidebarV3/OrSidebar.js +2 -2
- package/dist/bundled/v2/components/OrSidebarV3/index.js +2 -2
- package/dist/bundled/v2/components/OrSortingV3/OrSorting.js +2 -2
- package/dist/bundled/v2/components/OrSortingV3/index.js +2 -2
- package/dist/bundled/v2/components/OrTabsV3/OrTabs.js +2 -2
- package/dist/bundled/v2/components/OrTabsV3/index.js +2 -2
- package/dist/bundled/v2/components/OrTagInputV3/OrTagInput.js +2 -2
- package/dist/bundled/v2/components/OrTagInputV3/index.js +2 -2
- package/dist/bundled/v2/components/OrTagV3/OrTag.js +2 -2
- package/dist/bundled/v2/components/OrTagV3/index.js +2 -2
- package/dist/bundled/v2/components/OrTagsV3/OrTags.js +2 -2
- package/dist/bundled/v2/components/OrTagsV3/index.js +2 -2
- package/dist/bundled/v2/components/OrTimePickerV3/OrTimePicker.js +4 -4
- package/dist/bundled/v2/components/OrTimePickerV3/index.js +4 -4
- package/dist/bundled/v2/components/OrToastContainerV3/OrToastContainer.js +4 -4
- package/dist/bundled/v2/components/OrToastContainerV3/index.js +2 -2
- package/dist/bundled/v2/components/OrToastV3/OrToast.js +2 -2
- package/dist/bundled/v2/components/OrToastV3/index.js +2 -2
- package/dist/bundled/v2/components/OrTooltipV3/OrTooltip.js +2 -2
- package/dist/bundled/v2/components/OrTooltipV3/index.js +2 -2
- package/dist/bundled/v2/components/index.js +5 -5
- package/dist/bundled/v2/hooks/useTheme.js +3 -0
- package/dist/bundled/v2/index.js +6 -6
- package/dist/bundled/v3/{OrAvatar.vue_vue_type_script_lang-8d7ce473.js → OrAvatar.vue_vue_type_script_lang-bf7bcbe2.js} +12 -19
- package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-9d6701ce.js → OrBottomSheet.vue_vue_type_script_lang-4568f405.js} +8 -10
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-098131d0.js → OrButton.vue_vue_type_script_lang-0791a480.js} +2 -2
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-bc4757dd.js → OrCardCollection.vue_vue_type_script_lang-70bb7a98.js} +9 -8
- package/dist/bundled/v3/{OrCheckboxGroup.vue_vue_type_script_lang-ff3d450b.js → OrCheckboxGroup.vue_vue_type_script_lang-3b25afe5.js} +1 -1
- package/dist/bundled/v3/{OrCheckboxTree.vue_vue_type_script_lang-120abecd.js → OrCheckboxTree.vue_vue_type_script_lang-ab30a5c4.js} +1 -1
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-f1380ecb.js → OrCode.vue_vue_type_script_lang-098b3136.js} +2 -2
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-73aa938c.js → OrConfirm.vue_vue_type_script_lang-5048b4b0.js} +5 -5
- package/dist/bundled/v3/{OrDatePicker.vue_vue_type_script_lang-9c41e3f9.js → OrDatePicker.vue_vue_type_script_lang-9f9500d0.js} +4 -4
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-32107a94.js → OrDateTimePicker.vue_vue_type_script_lang-be5717f8.js} +5 -5
- package/dist/bundled/v3/{OrDateTimePickerMonthSelect-c1711d61.js → OrDateTimePickerMonthSelect-b9189050.js} +3 -3
- package/dist/bundled/v3/{OrDateTimePickerPopoverHeader-dec42484.js → OrDateTimePickerPopoverHeader-d9eef487.js} +1 -1
- package/dist/bundled/v3/{OrDateTimePickerTimeSelect-ae24d04e.js → OrDateTimePickerTimeSelect-4c47cc2f.js} +1 -1
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-4bf3ae40.js → OrIconButton.vue_vue_type_script_lang-e90ee58a.js} +1 -1
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-43321b2b.js → OrInlineInput.vue_vue_type_script_lang-98c17160.js} +1 -1
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-db4f0a3b.js → OrInlineTextarea.vue_vue_type_script_lang-37d6fe45.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-d64bda8a.js → OrInput.vue_vue_type_script_lang-df81eb91.js} +1 -1
- package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-021144d0.js → OrMenu.vue_vue_type_script_lang-2fbd5b46.js} +1 -1
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-2c5c049e.js → OrModal.vue_vue_type_script_lang-1a1ab72e.js} +4 -6
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-c17521c0.js → OrNotification.vue_vue_type_script_lang-672fe3b3.js} +1 -1
- package/dist/bundled/v3/{OrOverlay.vue_vue_type_script_lang-01c9e89b.js → OrOverlay.vue_vue_type_script_lang-6f4b4319.js} +2 -2
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-c36afcb9.js → OrPagination.vue_vue_type_script_lang-97e6179d.js} +2 -2
- package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-26dd5475.js → OrPopover.vue_vue_type_script_lang-fdae0e3b.js} +1 -1
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-07373511.js → OrSearch.vue_vue_type_script_lang-7b36b06a.js} +1 -1
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-9acc1912.js → OrSelect.vue_vue_type_script_lang-4fcfb896.js} +4 -4
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-8186b9bc.js → OrSidebar.vue_vue_type_script_lang-e41d933c.js} +1 -1
- package/dist/bundled/v3/{OrSorting.vue_vue_type_script_lang-c12a13b0.js → OrSorting.vue_vue_type_script_lang-c2f7b3df.js} +2 -2
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-e00ea5e2.js → OrTabs.vue_vue_type_script_lang-b9978d2f.js} +1 -1
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-35dd9ab6.js → OrTag.vue_vue_type_script_lang-886cd872.js} +1 -1
- package/dist/bundled/v3/{OrTagInput.vue_vue_type_script_lang-6b584d66.js → OrTagInput.vue_vue_type_script_lang-54d518a6.js} +2 -2
- package/dist/bundled/v3/{OrTags.vue_vue_type_script_lang-d4e4da50.js → OrTags.vue_vue_type_script_lang-a4e2c7e9.js} +3 -3
- package/dist/bundled/v3/{OrTimePicker.vue_vue_type_script_lang-223d7bb1.js → OrTimePicker.vue_vue_type_script_lang-d96fc576.js} +4 -4
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-bfcbc29a.js → OrTooltip.vue_vue_type_script_lang-83a8ab0b.js} +1 -1
- package/dist/bundled/v3/{OrTree.vue_vue_type_script_lang-1606b260.js → OrTree.vue_vue_type_script_lang-008ef9b1.js} +1 -1
- package/dist/bundled/v3/components/OrAvatarV3/OrAvatar.js +6 -6
- package/dist/bundled/v3/components/OrAvatarV3/OrAvatar.vue.d.ts +12 -17
- package/dist/bundled/v3/components/OrAvatarV3/index.js +1 -1
- package/dist/bundled/v3/components/OrAvatarV3/props.d.ts +6 -6
- package/dist/bundled/v3/components/OrAvatarV3/props.js +6 -6
- package/dist/bundled/v3/components/OrAvatarV3/styles.d.ts +5 -6
- package/dist/bundled/v3/components/OrAvatarV3/styles.js +61 -42
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.js +6 -6
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.vue.d.ts +0 -1
- package/dist/bundled/v3/components/OrBottomSheetV3/index.js +3 -3
- package/dist/bundled/v3/components/OrBottomSheetV3/styles.d.ts +0 -1
- package/dist/bundled/v3/components/OrBottomSheetV3/styles.js +20 -13
- package/dist/bundled/v3/components/OrButtonV3/OrButton.js +2 -2
- package/dist/bundled/v3/components/OrButtonV3/index.js +1 -1
- package/dist/bundled/v3/components/OrButtonV3/styles.d.ts +3 -3
- package/dist/bundled/v3/components/OrButtonV3/styles.js +15 -11
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +14 -14
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +14 -14
- package/dist/bundled/v3/components/OrCardCollectionV3/props.d.ts +1 -1
- package/dist/bundled/v3/components/OrCardCollectionV3/props.js +8 -8
- package/dist/bundled/v3/components/OrCardCollectionV3/styles.d.ts +3 -3
- package/dist/bundled/v3/components/OrCardCollectionV3/styles.js +21 -9
- package/dist/bundled/v3/components/OrCheckboxGroupV3/OrCheckboxGroup.js +4 -4
- package/dist/bundled/v3/components/OrCheckboxGroupV3/index.js +3 -3
- package/dist/bundled/v3/components/OrCheckboxTreeV3/OrCheckboxTree.js +3 -3
- package/dist/bundled/v3/components/OrCheckboxTreeV3/index.js +2 -2
- package/dist/bundled/v3/components/OrCodeV3/OrCode.js +10 -10
- package/dist/bundled/v3/components/OrCodeV3/index.js +9 -9
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +11 -11
- package/dist/bundled/v3/components/OrConfirmV3/index.js +10 -10
- package/dist/bundled/v3/components/OrConfirmV3/styles.d.ts +1 -1
- package/dist/bundled/v3/components/OrConfirmV3/styles.js +8 -8
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +13 -13
- package/dist/bundled/v3/components/OrDatePickerV3/index.js +12 -12
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.js +14 -14
- package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +13 -13
- package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.js +8 -8
- package/dist/bundled/v3/components/OrIconButtonV3/index.js +7 -7
- package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.js +9 -9
- package/dist/bundled/v3/components/OrInlineInputV3/index.js +8 -8
- package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.js +9 -9
- package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +8 -8
- package/dist/bundled/v3/components/OrInputV3/OrInput.js +9 -9
- package/dist/bundled/v3/components/OrInputV3/index.js +8 -8
- package/dist/bundled/v3/components/OrMenuV3/OrMenu.js +7 -7
- package/dist/bundled/v3/components/OrMenuV3/index.js +6 -6
- package/dist/bundled/v3/components/OrModalV3/OrModal.js +13 -11
- package/dist/bundled/v3/components/OrModalV3/index.js +8 -8
- package/dist/bundled/v3/components/OrModalV3/styles.d.ts +2 -2
- package/dist/bundled/v3/components/OrModalV3/styles.js +17 -11
- package/dist/bundled/v3/components/OrNotificationV3/OrNotification.js +9 -9
- package/dist/bundled/v3/components/OrNotificationV3/index.js +8 -8
- package/dist/bundled/v3/components/OrOverlayV3/OrOverlay.js +2 -2
- package/dist/bundled/v3/components/OrOverlayV3/index.js +1 -1
- package/dist/bundled/v3/components/OrOverlayV3/styles.d.ts +1 -1
- package/dist/bundled/v3/components/OrOverlayV3/styles.js +9 -5
- package/dist/bundled/v3/components/OrPaginationV3/OrPagination.js +9 -9
- package/dist/bundled/v3/components/OrPaginationV3/index.js +8 -8
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.js +6 -6
- package/dist/bundled/v3/components/OrPopoverV3/index.js +5 -5
- package/dist/bundled/v3/components/OrPopoverV3/styles.js +14 -6
- package/dist/bundled/v3/components/OrSearchV3/OrSearch.js +10 -10
- package/dist/bundled/v3/components/OrSearchV3/index.js +9 -9
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +11 -11
- package/dist/bundled/v3/components/OrSelectV3/index.js +10 -10
- package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.js +9 -9
- package/dist/bundled/v3/components/OrSidebarV3/index.js +8 -8
- package/dist/bundled/v3/components/OrSortingV3/OrSorting.js +9 -9
- package/dist/bundled/v3/components/OrSortingV3/index.js +8 -8
- package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +8 -8
- package/dist/bundled/v3/components/OrTabsV3/index.js +7 -7
- package/dist/bundled/v3/components/OrTagInputV3/OrTagInput.js +12 -12
- package/dist/bundled/v3/components/OrTagInputV3/index.js +11 -11
- package/dist/bundled/v3/components/OrTagV3/OrTag.js +9 -9
- package/dist/bundled/v3/components/OrTagV3/index.js +8 -8
- package/dist/bundled/v3/components/OrTagsV3/OrTags.js +11 -11
- package/dist/bundled/v3/components/OrTagsV3/index.js +10 -10
- package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.js +12 -12
- package/dist/bundled/v3/components/OrTimePickerV3/index.js +11 -11
- package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.js +9 -9
- package/dist/bundled/v3/components/OrToastContainerV3/index.js +8 -8
- package/dist/bundled/v3/components/OrToastV3/OrToast.js +7 -7
- package/dist/bundled/v3/components/OrToastV3/index.js +8 -8
- package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.js +7 -7
- package/dist/bundled/v3/components/OrTooltipV3/index.js +6 -6
- package/dist/bundled/v3/components/OrTreeV3/OrTree.js +3 -3
- package/dist/bundled/v3/components/OrTreeV3/index.js +2 -2
- package/dist/bundled/v3/components/index.js +37 -37
- package/dist/bundled/v3/hooks/useTheme.js +3 -0
- package/dist/bundled/v3/index.js +38 -38
- package/dist/esm/v2/{OrAvatar-d1c82ab9.js → OrAvatar-dd0e1e3b.js} +81 -69
- package/dist/esm/v2/{OrBottomSheet-67e6d85e.js → OrBottomSheet-71ec1799.js} +52 -49
- package/dist/esm/v2/{OrButton-9622e713.js → OrButton-a23ee9f0.js} +13 -11
- package/dist/esm/v2/{OrCardCollection-ca6d1e3c.js → OrCardCollection-fd20eb66.js} +42 -31
- package/dist/esm/v2/{OrCheckboxGroup-eda833b1.js → OrCheckboxGroup-a04f27fe.js} +1 -1
- package/dist/esm/v2/{OrCheckboxTree-231ba2b1.js → OrCheckboxTree-f48db82f.js} +1 -1
- package/dist/esm/v2/{OrCode-996daa11.js → OrCode-83585e00.js} +2 -2
- package/dist/esm/v2/{OrConfirm-e4f8c958.js → OrConfirm-57b5f6e2.js} +11 -11
- package/dist/esm/v2/{OrDatePicker-20d1ed3e.js → OrDatePicker-4b34a841.js} +3 -3
- package/dist/esm/v2/{OrDateTimePicker-42c99a26.js → OrDateTimePicker-c1ec1088.js} +1 -1
- package/dist/esm/v2/{OrDateTimePicker.vue_rollup-plugin-vue_script-64817206.js → OrDateTimePicker.vue_rollup-plugin-vue_script-a56a26d1.js} +4 -4
- package/dist/esm/v2/{OrDateTimePickerPopoverHeader-dd9de00f.js → OrDateTimePickerPopoverHeader-4341ea98.js} +4 -4
- package/dist/esm/v2/{OrIconButton-85a6de2c.js → OrIconButton-26b42bb2.js} +2 -2
- package/dist/esm/v2/{OrInlineInput-2b7f5745.js → OrInlineInput-384601c0.js} +1 -1
- package/dist/esm/v2/{OrInlineTextarea-281064ab.js → OrInlineTextarea-1f0519e9.js} +1 -1
- package/dist/esm/v2/{OrInput-a7e317b8.js → OrInput-ff29d8d3.js} +1 -1
- package/dist/esm/v2/{OrMenu-54d6a7a5.js → OrMenu-011e6f3e.js} +1 -1
- package/dist/esm/v2/{OrModal-5626eeee.js → OrModal-e3b0e84b.js} +20 -16
- package/dist/esm/v2/{OrNotification-b0fb0d4f.js → OrNotification-63815057.js} +1 -1
- package/dist/esm/v2/{OrOverlay-948346df.js → OrOverlay-86a35726.js} +9 -5
- package/dist/esm/v2/{OrPagination-11d363f2.js → OrPagination-6f29569d.js} +3 -3
- package/dist/esm/v2/{OrPopover-c511273a.js → OrPopover-334d1fbd.js} +15 -7
- package/dist/esm/v2/{OrSearch-7ad39657.js → OrSearch-45b9f2aa.js} +1 -1
- package/dist/esm/v2/{OrSelect-0bd57cba.js → OrSelect-c5db431e.js} +4 -4
- package/dist/esm/v2/{OrSidebar-74f719fc.js → OrSidebar-63b6a3ed.js} +1 -1
- package/dist/esm/v2/{OrSidebarCollapseButton-07d12eb4.js → OrSidebarCollapseButton-39e8b1c6.js} +1 -1
- package/dist/esm/v2/{OrSorting-ef99ef70.js → OrSorting-c61855a7.js} +3 -3
- package/dist/esm/v2/{OrTabs-b8a92669.js → OrTabs-f38b548c.js} +2 -2
- package/dist/esm/v2/{OrTag-b6125507.js → OrTag-6394a638.js} +1 -1
- package/dist/esm/v2/{OrTagInput-f2ddcc97.js → OrTagInput-60bbd049.js} +2 -2
- package/dist/esm/v2/{OrTags-b7d9e52c.js → OrTags-98216344.js} +3 -3
- package/dist/esm/v2/{OrTimePicker-9312df72.js → OrTimePicker-233ed379.js} +4 -4
- package/dist/esm/v2/{OrTooltip-7a9861a2.js → OrTooltip-4fdb163a.js} +1 -1
- package/dist/esm/v2/{OrTree-dcacd695.js → OrTree-dfc8a086.js} +1 -1
- package/dist/esm/v2/components/index.js +35 -35
- package/dist/esm/v2/components/or-avatar-v3/OrAvatar.vue.d.ts +16 -22
- package/dist/esm/v2/components/or-avatar-v3/index.js +1 -1
- package/dist/esm/v2/components/or-avatar-v3/props.d.ts +6 -6
- package/dist/esm/v2/components/or-avatar-v3/styles.d.ts +5 -6
- package/dist/esm/v2/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +0 -2
- package/dist/esm/v2/components/or-bottom-sheet-v3/index.js +2 -2
- package/dist/esm/v2/components/or-bottom-sheet-v3/styles.d.ts +0 -1
- package/dist/esm/v2/components/or-button-v3/index.js +1 -1
- package/dist/esm/v2/components/or-button-v3/styles.d.ts +3 -3
- package/dist/esm/v2/components/or-card-collection-v3/index.js +11 -11
- package/dist/esm/v2/components/or-card-collection-v3/partials/OrCardCollectionView.vue2.vue.d.ts +6 -7
- package/dist/esm/v2/components/or-card-collection-v3/props.d.ts +1 -1
- package/dist/esm/v2/components/or-card-collection-v3/styles.d.ts +3 -3
- package/dist/esm/v2/components/or-checkbox-group-v3/index.js +3 -3
- package/dist/esm/v2/components/or-checkbox-tree-v3/index.js +2 -2
- package/dist/esm/v2/components/or-code-v3/index.js +7 -7
- package/dist/esm/v2/components/or-confirm-v3/index.js +8 -8
- package/dist/esm/v2/components/or-confirm-v3/styles.d.ts +1 -1
- package/dist/esm/v2/components/or-date-picker-v3/index.js +9 -9
- package/dist/esm/v2/components/or-date-time-picker-v3/index.js +10 -10
- package/dist/esm/v2/components/or-icon-button-v3/index.js +5 -5
- package/dist/esm/v2/components/or-inline-input-v3/index.js +6 -6
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +6 -6
- package/dist/esm/v2/components/or-input-v3/index.js +6 -6
- package/dist/esm/v2/components/or-menu-v3/index.js +4 -4
- package/dist/esm/v2/components/or-modal-v3/index.js +6 -6
- package/dist/esm/v2/components/or-modal-v3/styles.d.ts +2 -2
- package/dist/esm/v2/components/or-notification-v3/index.js +6 -6
- package/dist/esm/v2/components/or-overlay-v3/index.js +1 -1
- package/dist/esm/v2/components/or-overlay-v3/styles.d.ts +1 -1
- package/dist/esm/v2/components/or-pagination-v3/index.js +6 -6
- package/dist/esm/v2/components/or-popover-v3/index.js +3 -3
- package/dist/esm/v2/components/or-search-v3/index.js +7 -7
- package/dist/esm/v2/components/or-select-v3/index.js +8 -8
- package/dist/esm/v2/components/or-sidebar-v3/index.js +7 -7
- package/dist/esm/v2/components/or-sidebar-v3/partials/index.js +6 -6
- package/dist/esm/v2/components/or-sorting-v3/index.js +6 -6
- package/dist/esm/v2/components/or-tabs-v3/index.js +5 -5
- package/dist/esm/v2/components/or-tag-input-v3/index.js +9 -9
- package/dist/esm/v2/components/or-tag-v3/index.js +6 -6
- package/dist/esm/v2/components/or-tags-v3/index.js +8 -8
- package/dist/esm/v2/components/or-teleport/OrTeleport.vue2.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-time-picker-v3/index.js +10 -10
- package/dist/esm/v2/components/or-toast-v3/index.js +6 -6
- package/dist/esm/v2/components/or-toast-v3/or-toast-container-v3/index.js +6 -6
- package/dist/esm/v2/components/or-tooltip-v3/index.js +4 -4
- package/dist/esm/v2/components/or-tree-v3/index.js +2 -2
- package/dist/esm/v2/index.js +35 -35
- package/dist/esm/v2/{types-dab9146d.js → types-4b020789.js} +3 -3
- package/dist/esm/v3/{OrAvatar-07fe6686.js → OrAvatar-554347e6.js} +80 -68
- package/dist/esm/v3/{OrBottomSheet-efca7190.js → OrBottomSheet-762703d3.js} +52 -49
- package/dist/esm/v3/{OrButton-c2b6aa9e.js → OrButton-4a3c3e7b.js} +13 -11
- package/dist/esm/v3/{OrCardCollection-0adc842d.js → OrCardCollection-0ac4d975.js} +42 -31
- package/dist/esm/v3/{OrCheckboxGroup-e0afc5c3.js → OrCheckboxGroup-6c054793.js} +1 -1
- package/dist/esm/v3/{OrCheckboxTree-76f1b7ed.js → OrCheckboxTree-bb32455e.js} +1 -1
- package/dist/esm/v3/{OrCode-a252b73f.js → OrCode-dd6bc0a3.js} +2 -2
- package/dist/esm/v3/{OrConfirm-e3e225b3.js → OrConfirm-44c02d07.js} +11 -11
- package/dist/esm/v3/{OrDatePicker-6993440a.js → OrDatePicker-fc74e6e3.js} +3 -3
- package/dist/esm/v3/{OrDateTimePicker-fd642cb1.js → OrDateTimePicker-5aafc2f6.js} +4 -4
- package/dist/esm/v3/{OrDateTimePickerPopoverHeader-ece5b2a7.js → OrDateTimePickerPopoverHeader-60cde5e5.js} +4 -4
- package/dist/esm/v3/{OrIconButton-fe133b18.js → OrIconButton-6335f090.js} +2 -2
- package/dist/esm/v3/{OrInlineInput-7342053f.js → OrInlineInput-44e734cd.js} +1 -1
- package/dist/esm/v3/{OrInlineTextarea-10657b96.js → OrInlineTextarea-064f0da4.js} +1 -1
- package/dist/esm/v3/{OrInput-5ffebd41.js → OrInput-024ae27b.js} +1 -1
- package/dist/esm/v3/{OrMenu-20ca3870.js → OrMenu-94fa5bf0.js} +1 -1
- package/dist/esm/v3/{OrModal-3ebc1346.js → OrModal-c8c2b0bf.js} +20 -16
- package/dist/esm/v3/{OrNotification-78f567b4.js → OrNotification-1e0d22cb.js} +1 -1
- package/dist/esm/v3/{OrOverlay-489fdf76.js → OrOverlay-953a0187.js} +9 -5
- package/dist/esm/v3/{OrPagination-9bd81a94.js → OrPagination-c574b5c0.js} +3 -3
- package/dist/esm/v3/{OrPopover-6d433297.js → OrPopover-35394f4a.js} +15 -7
- package/dist/esm/v3/{OrSearch-94019f8b.js → OrSearch-83be7327.js} +1 -1
- package/dist/esm/v3/{OrSelect-48f2374c.js → OrSelect-18152830.js} +4 -4
- package/dist/esm/v3/{OrSidebar-5da9646b.js → OrSidebar-f11e1fdd.js} +1 -1
- package/dist/esm/v3/{OrSidebarCollapseButton-d7bc8075.js → OrSidebarCollapseButton-7460d0a1.js} +1 -1
- package/dist/esm/v3/{OrSorting-012e0c6b.js → OrSorting-2d85af28.js} +3 -3
- package/dist/esm/v3/{OrTabs-54c48a61.js → OrTabs-5181250e.js} +2 -2
- package/dist/esm/v3/{OrTag-499c45e1.js → OrTag-e7f474ec.js} +1 -1
- package/dist/esm/v3/{OrTagInput-9c53b28c.js → OrTagInput-32216ab9.js} +2 -2
- package/dist/esm/v3/{OrTags-e56deb73.js → OrTags-8dec2361.js} +3 -3
- package/dist/esm/v3/{OrTimePicker-dc9a10d5.js → OrTimePicker-9b3d9859.js} +4 -4
- package/dist/esm/v3/{OrTooltip-2422971c.js → OrTooltip-0dbe245c.js} +1 -1
- package/dist/esm/v3/{OrTree-3b655a7a.js → OrTree-a0e57f4e.js} +1 -1
- package/dist/esm/v3/components/index.js +34 -34
- package/dist/esm/v3/components/or-avatar-v3/OrAvatar.vue.d.ts +12 -17
- package/dist/esm/v3/components/or-avatar-v3/index.js +1 -1
- package/dist/esm/v3/components/or-avatar-v3/props.d.ts +6 -6
- package/dist/esm/v3/components/or-avatar-v3/styles.d.ts +5 -6
- package/dist/esm/v3/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +0 -1
- package/dist/esm/v3/components/or-bottom-sheet-v3/index.js +2 -2
- package/dist/esm/v3/components/or-bottom-sheet-v3/styles.d.ts +0 -1
- package/dist/esm/v3/components/or-button-v3/index.js +1 -1
- package/dist/esm/v3/components/or-button-v3/styles.d.ts +3 -3
- package/dist/esm/v3/components/or-card-collection-v3/index.js +11 -11
- package/dist/esm/v3/components/or-card-collection-v3/partials/OrCardCollectionView.vue3.vue.d.ts +3 -4
- package/dist/esm/v3/components/or-card-collection-v3/props.d.ts +1 -1
- package/dist/esm/v3/components/or-card-collection-v3/styles.d.ts +3 -3
- package/dist/esm/v3/components/or-checkbox-group-v3/index.js +3 -3
- package/dist/esm/v3/components/or-checkbox-tree-v3/index.js +2 -2
- package/dist/esm/v3/components/or-code-v3/index.js +7 -7
- package/dist/esm/v3/components/or-confirm-v3/index.js +8 -8
- package/dist/esm/v3/components/or-confirm-v3/styles.d.ts +1 -1
- package/dist/esm/v3/components/or-date-picker-v3/index.js +9 -9
- package/dist/esm/v3/components/or-date-time-picker-v3/index.js +9 -9
- package/dist/esm/v3/components/or-icon-button-v3/index.js +5 -5
- package/dist/esm/v3/components/or-inline-input-v3/index.js +6 -6
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +6 -6
- package/dist/esm/v3/components/or-input-v3/index.js +6 -6
- package/dist/esm/v3/components/or-menu-v3/index.js +4 -4
- package/dist/esm/v3/components/or-modal-v3/index.js +6 -6
- package/dist/esm/v3/components/or-modal-v3/styles.d.ts +2 -2
- package/dist/esm/v3/components/or-notification-v3/index.js +6 -6
- package/dist/esm/v3/components/or-overlay-v3/index.js +1 -1
- package/dist/esm/v3/components/or-overlay-v3/styles.d.ts +1 -1
- package/dist/esm/v3/components/or-pagination-v3/index.js +6 -6
- package/dist/esm/v3/components/or-popover-v3/index.js +3 -3
- package/dist/esm/v3/components/or-search-v3/index.js +7 -7
- package/dist/esm/v3/components/or-select-v3/index.js +8 -8
- package/dist/esm/v3/components/or-sidebar-v3/index.js +7 -7
- package/dist/esm/v3/components/or-sidebar-v3/partials/index.js +6 -6
- package/dist/esm/v3/components/or-sorting-v3/index.js +6 -6
- package/dist/esm/v3/components/or-tabs-v3/index.js +5 -5
- package/dist/esm/v3/components/or-tag-input-v3/index.js +9 -9
- package/dist/esm/v3/components/or-tag-v3/index.js +6 -6
- package/dist/esm/v3/components/or-tags-v3/index.js +8 -8
- package/dist/esm/v3/components/or-time-picker-v3/index.js +10 -10
- package/dist/esm/v3/components/or-toast-v3/index.js +6 -6
- package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/index.js +6 -6
- package/dist/esm/v3/components/or-tooltip-v3/index.js +4 -4
- package/dist/esm/v3/components/or-tree-v3/index.js +2 -2
- package/dist/esm/v3/index.js +34 -34
- package/dist/esm/v3/{types-a369627d.js → types-c167d3d9.js} +1 -1
- package/package.json +3 -4
- package/src/components/or-avatar-v3/OrAvatar.vue +31 -37
- package/src/components/or-avatar-v3/props.ts +6 -6
- package/src/components/or-avatar-v3/styles.ts +66 -64
- package/src/components/or-bottom-sheet-v3/OrBottomSheet.vue +18 -24
- package/src/components/or-bottom-sheet-v3/styles.ts +22 -17
- package/src/components/or-button-v3/OrButton.vue +4 -4
- package/src/components/or-button-v3/styles.ts +13 -10
- package/src/components/or-card-collection-v3/OrCardCollection.vue +3 -3
- package/src/components/or-card-collection-v3/partials/OrCardCollectionView.vue2.vue +14 -6
- package/src/components/or-card-collection-v3/partials/OrCardCollectionView.vue3.vue +14 -6
- package/src/components/or-card-collection-v3/props.ts +3 -3
- package/src/components/or-card-collection-v3/styles.ts +30 -14
- package/src/components/or-confirm-v3/OrConfirm.vue +2 -2
- package/src/components/or-confirm-v3/styles.ts +9 -9
- package/src/components/or-modal-v3/OrModal.vue +4 -4
- package/src/components/or-modal-v3/partials/or-modal-content/styles.ts +0 -3
- package/src/components/or-modal-v3/styles.ts +18 -12
- package/src/components/or-overlay-v3/OrOverlay.vue +2 -2
- package/src/components/or-overlay-v3/styles.ts +14 -8
- package/src/components/or-popover-v3/styles.ts +18 -6
- package/src/components/or-toast-v3/or-toast-container-v3/OrToastContainer.vue +1 -3
- /package/dist/bundled/v2/{OrDateTimePickerMonthSelect-8792b53f.js → OrDateTimePickerMonthSelect-75f7f7f4.js} +0 -0
- /package/dist/bundled/v2/{OrDateTimePickerPopoverHeader-03768809.js → OrDateTimePickerPopoverHeader-a4f77733.js} +0 -0
- /package/dist/bundled/v2/{OrDateTimePickerTimeSelect-4d42b488.js → OrDateTimePickerTimeSelect-e57095bf.js} +0 -0
- /package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-3ec83f08.js → OrToastContainer.vue_vue_type_script_lang-01f49e56.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as OrToastContainerV3, t as TypesV3 } from '../../../types-
|
|
1
|
+
export { a as OrToastContainerV3, t as TypesV3 } from '../../../types-c167d3d9.js';
|
|
2
2
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../../../useToast-a1332cc2.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import 'vue-demi';
|
|
@@ -7,15 +7,15 @@ import '@onereach/styles/tailwind.config';
|
|
|
7
7
|
import 'tailwindcss/resolveConfig';
|
|
8
8
|
import '../../../OrTeleport.vue3-8099178c.js';
|
|
9
9
|
import 'vue';
|
|
10
|
-
import '../../../OrIconButton-
|
|
10
|
+
import '../../../OrIconButton-6335f090.js';
|
|
11
11
|
import '../../../OrIcon-62793572.js';
|
|
12
|
-
import '../../../OrTooltip-
|
|
12
|
+
import '../../../OrTooltip-0dbe245c.js';
|
|
13
13
|
import '../../../usePopoverState-b92c698b.js';
|
|
14
|
-
import '../../../OrPopover-
|
|
14
|
+
import '../../../OrPopover-35394f4a.js';
|
|
15
15
|
import '@floating-ui/dom';
|
|
16
16
|
import '../../../useResponsive-a02e95b7.js';
|
|
17
|
-
import '../../../OrBottomSheet-
|
|
18
|
-
import '../../../OrOverlay-
|
|
17
|
+
import '../../../OrBottomSheet-762703d3.js';
|
|
18
|
+
import '../../../OrOverlay-953a0187.js';
|
|
19
19
|
import '../../../useTheme-e23d13c8.js';
|
|
20
20
|
import '../../../OrLoader-b79022da.js';
|
|
21
21
|
import '../../../style-inject.es-4c6f2515.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { s as OrTooltipV3 } from '../../OrTooltip-
|
|
2
|
-
export { P as TooltipPlacement } from '../../OrPopover-
|
|
1
|
+
export { s as OrTooltipV3 } from '../../OrTooltip-0dbe245c.js';
|
|
2
|
+
export { P as TooltipPlacement } from '../../OrPopover-35394f4a.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '@vueuse/core';
|
|
5
5
|
import '../../usePopoverState-b92c698b.js';
|
|
@@ -9,7 +9,7 @@ import 'vue';
|
|
|
9
9
|
import '@floating-ui/dom';
|
|
10
10
|
import '../../useElevation-a50ec347.js';
|
|
11
11
|
import '../../useResponsive-a02e95b7.js';
|
|
12
|
-
import '../../OrBottomSheet-
|
|
13
|
-
import '../../OrOverlay-
|
|
12
|
+
import '../../OrBottomSheet-762703d3.js';
|
|
13
|
+
import '../../OrOverlay-953a0187.js';
|
|
14
14
|
import '../../OrTeleport.vue3-8099178c.js';
|
|
15
15
|
import '../../useTheme-e23d13c8.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { s as OrTreeV3, T as TreeNodeDropPosition } from '../../OrTree-
|
|
1
|
+
export { s as OrTreeV3, T as TreeNodeDropPosition } from '../../OrTree-a0e57f4e.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '@vueuse/core';
|
|
4
|
-
import '../../OrButton-
|
|
4
|
+
import '../../OrButton-4a3c3e7b.js';
|
|
5
5
|
import '../../OrLoader-b79022da.js';
|
|
6
6
|
import 'vue';
|
|
7
7
|
import '../../OrIcon-62793572.js';
|
package/dist/esm/v3/index.js
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
export { O as OR_AVATAR_SIZE, s as OrAvatar } from './OrAvatar-c1b2339e.js';
|
|
2
|
-
export { a as AvatarColor, A as AvatarSize, s as OrAvatarV3 } from './OrAvatar-
|
|
3
|
-
export { B as BottomSheetVariant, s as OrBottomSheetV3 } from './OrBottomSheet-
|
|
2
|
+
export { a as AvatarColor, A as AvatarSize, s as OrAvatarV3 } from './OrAvatar-554347e6.js';
|
|
3
|
+
export { B as BottomSheetVariant, s as OrBottomSheetV3 } from './OrBottomSheet-762703d3.js';
|
|
4
4
|
export { s as OrButton, a as OrButtonColors, b as OrButtonSizes, O as OrButtonViews } from './OrButton-9118c20e.js';
|
|
5
5
|
export { s as OrButtonV2 } from './OrButton-130ad8d9.js';
|
|
6
6
|
export { a as BUTTON_COLOR, c as BUTTON_LOADER_TYPE, b as BUTTON_SIZE, B as BUTTON_TYPE, I as ICON_BUTTON_TYPE, s as OrIconButton, s as OrIconButtonV2 } from './OrIconButton-287bb86a.js';
|
|
7
|
-
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from './OrButton-
|
|
7
|
+
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from './OrButton-4a3c3e7b.js';
|
|
8
8
|
export { s as OrCard } from './OrCard-e3a5aea4.js';
|
|
9
9
|
export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from './OrCardCollection-8c81a2d5.js';
|
|
10
|
-
export {
|
|
10
|
+
export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-0ac4d975.js';
|
|
11
11
|
export { s as OrCardV3 } from './OrCard-cc82902c.js';
|
|
12
12
|
export { s as OrCheckbox } from './OrCheckbox-5666c954.js';
|
|
13
|
-
export { s as OrCheckboxGroupV3 } from './OrCheckboxGroup-
|
|
14
|
-
export { s as OrCheckboxTreeV3 } from './OrCheckboxTree-
|
|
13
|
+
export { s as OrCheckboxGroupV3 } from './OrCheckboxGroup-6c054793.js';
|
|
14
|
+
export { s as OrCheckboxTreeV3 } from './OrCheckboxTree-bb32455e.js';
|
|
15
15
|
export { s as OrCheckboxV3 } from './OrCheckbox-09f62aab.js';
|
|
16
16
|
export { s as OrChip } from './OrChip-74e27265.js';
|
|
17
17
|
export { s as OrChips } from './OrChips-348b13e4.js';
|
|
18
18
|
export { s as OrCode, O as OrCodeLanguages } from './OrCode-0aadc737.js';
|
|
19
|
-
export { C as CodeLanguage, s as OrCodeV3 } from './OrCode-
|
|
19
|
+
export { C as CodeLanguage, s as OrCodeV3 } from './OrCode-dd6bc0a3.js';
|
|
20
20
|
export { s as OrCollapse } from './OrCollapse-d7c0afae.js';
|
|
21
21
|
export { s as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from './OrColorPicker-252f482b.js';
|
|
22
22
|
export { s as OrCombinedInputV3 } from './OrCombinedInput-2800ee8b.js';
|
|
23
23
|
export { I as CombinedInputSize, I as DatePickerSize, I as DateTimePickerSize, I as InputBoxSize, a as InputBoxVariant, I as InputSize, s as OrInputBoxV3, I as SearchSize, I as SelectSize, I as TagInputSize, I as TextareaSize, I as TimePickerSize } from './OrInputBox-912a6254.js';
|
|
24
24
|
export { s as OrConfirm } from './OrConfirm-97ab80b9.js';
|
|
25
|
-
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-
|
|
26
|
-
export { s as OrDatePickerV3 } from './OrDatePicker-
|
|
25
|
+
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-44c02d07.js';
|
|
26
|
+
export { s as OrDatePickerV3 } from './OrDatePicker-fc74e6e3.js';
|
|
27
27
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-4bfefbcd.js';
|
|
28
|
-
export { D as DateTimePickerTimeFormat, s as OrDateTimePickerV3, D as TimePickerFormat } from './OrDateTimePicker-
|
|
28
|
+
export { D as DateTimePickerTimeFormat, s as OrDateTimePickerV3, D as TimePickerFormat } from './OrDateTimePicker-5aafc2f6.js';
|
|
29
29
|
export { E as EmptyStateSize, s as OrEmptyStateV3 } from './OrEmptyState-5349a1f9.js';
|
|
30
30
|
export { s as OrError } from './OrError-f90296db.js';
|
|
31
31
|
export { s as OrErrorTagV3 } from './OrErrorTag-ade9192b.js';
|
|
@@ -37,14 +37,14 @@ export { F as FormGroupDirection, s as OrFormGroupV3 } from './OrFormGroup-9f581
|
|
|
37
37
|
export { s as OrHint } from './OrHint-8822005b.js';
|
|
38
38
|
export { s as OrHintV3 } from './OrHint-06ab89d7.js';
|
|
39
39
|
export { s as OrIcon, O as OrIconColors, a as OrIconType } from './OrIcon-f7130a5c.js';
|
|
40
|
-
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-
|
|
40
|
+
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-6335f090.js';
|
|
41
41
|
export { I as IconButtonSize, I as IconSize, a as IconVariant, s as OrIconV3 } from './OrIcon-62793572.js';
|
|
42
42
|
export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3 } from './OrInlineInputBox-01fb2cb2.js';
|
|
43
|
-
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-
|
|
43
|
+
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-44e734cd.js';
|
|
44
44
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from './OrInlineTextEdit-a3c4c7dc.js';
|
|
45
|
-
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-
|
|
45
|
+
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-064f0da4.js';
|
|
46
46
|
export { s as OrInput } from './OrInput-2c3111c2.js';
|
|
47
|
-
export { I as InputType, s as OrInputV3 } from './OrInput-
|
|
47
|
+
export { I as InputType, s as OrInputV3 } from './OrInput-024ae27b.js';
|
|
48
48
|
export { s as OrLabel } from './OrLabel-a7d99df4.js';
|
|
49
49
|
export { L as LabelVariant, s as OrLabelV3 } from './OrLabel-4da56db0.js';
|
|
50
50
|
export { L as LinkColor, s as OrLinkV3 } from './OrLink-dcae31fb.js';
|
|
@@ -53,17 +53,17 @@ export { s as OrListOfInputs } from './OrListOfInputs-f8740785.js';
|
|
|
53
53
|
export { L as LoaderViews, s as OrLoader } from './OrLoader-d28a8ebf.js';
|
|
54
54
|
export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, s as OrLoaderV3 } from './OrLoader-b79022da.js';
|
|
55
55
|
export { s as OrMenuItemV3 } from './OrMenuItem-54062d59.js';
|
|
56
|
-
export { s as OrMenuV3 } from './OrMenu-
|
|
57
|
-
export { P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-
|
|
56
|
+
export { s as OrMenuV3 } from './OrMenu-94fa5bf0.js';
|
|
57
|
+
export { P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-35394f4a.js';
|
|
58
58
|
export { s as OrModal, O as OrModalSizes } from './OrModal-b2060770.js';
|
|
59
|
-
export { M as ModalSize, s as OrModalV3 } from './OrModal-
|
|
59
|
+
export { M as ModalSize, s as OrModalV3 } from './OrModal-c8c2b0bf.js';
|
|
60
60
|
export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, s as OrNotification } from './OrNotification-1b28dd4a.js';
|
|
61
|
-
export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-
|
|
61
|
+
export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-1e0d22cb.js';
|
|
62
62
|
export { s as OrNumberInput } from './OrNumberInput-e9dcdcbd.js';
|
|
63
63
|
export { s as OrOverflowMenu } from './OrOverflowMenu-440ddf3e.js';
|
|
64
64
|
export { s as OrOverlay } from './OrOverlay-451dce49.js';
|
|
65
|
-
export { s as OrOverlayV3 } from './OrOverlay-
|
|
66
|
-
export { s as OrPaginationV3 } from './OrPagination-
|
|
65
|
+
export { s as OrOverlayV3 } from './OrOverlay-953a0187.js';
|
|
66
|
+
export { s as OrPaginationV3 } from './OrPagination-c574b5c0.js';
|
|
67
67
|
export { s as OrPassword } from './OrPassword-311406fa.js';
|
|
68
68
|
export { s as OrProgress, O as OrProgressColors, a as OrProgressTypes } from './OrProgress-aa2ea84b.js';
|
|
69
69
|
export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrProgress-a54a42c0.js';
|
|
@@ -72,13 +72,13 @@ export { s as OrRadioGroup } from './OrRadioGroup-00785e41.js';
|
|
|
72
72
|
export { s as OrRadioGroupV3 } from './OrRadioGroup-58c0214c.js';
|
|
73
73
|
export { s as OrRadioV3 } from './OrRadio-7b722b16.js';
|
|
74
74
|
export { s as OrSearch } from './OrSearch-2800e9bf.js';
|
|
75
|
-
export { s as OrSearchV3 } from './OrSearch-
|
|
75
|
+
export { s as OrSearchV3 } from './OrSearch-83be7327.js';
|
|
76
76
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-c8eb217d.js';
|
|
77
77
|
export { s as OrSelect } from './OrSelect-9520d6e6.js';
|
|
78
|
-
export { s as OrSelectV3 } from './OrSelect-
|
|
78
|
+
export { s as OrSelectV3 } from './OrSelect-18152830.js';
|
|
79
79
|
export { s as OrSidebar, O as OrSidebarSide } from './OrSidebar-aaf73310.js';
|
|
80
|
-
export { s as OrSidebarV3 } from './OrSidebar-
|
|
81
|
-
export { O as OrSidebarPlacement } from './OrSidebarCollapseButton-
|
|
80
|
+
export { s as OrSidebarV3 } from './OrSidebar-f11e1fdd.js';
|
|
81
|
+
export { O as OrSidebarPlacement } from './OrSidebarCollapseButton-7460d0a1.js';
|
|
82
82
|
export { s as OrSkeletonCircle } from './OrSkeletonCircle-66e175a0.js';
|
|
83
83
|
export { s as OrSkeletonRect } from './OrSkeletonRect-c694574e.js';
|
|
84
84
|
export { s as OrSkeletonText } from './OrSkeletonText-9a800de4.js';
|
|
@@ -87,7 +87,7 @@ export { s as OrSkeletonCircleV3 } from './OrSkeletonCircle-1eae069b.js';
|
|
|
87
87
|
export { s as OrSkeletonRectV3 } from './OrSkeletonRect-ba5df861.js';
|
|
88
88
|
export { s as OrSkeletonTextV3 } from './OrSkeletonText-3c3207d0.js';
|
|
89
89
|
export { s as OrSlider } from './OrSlider-b7bd588e.js';
|
|
90
|
-
export { s as OrSortingV3 } from './OrSorting-
|
|
90
|
+
export { s as OrSortingV3 } from './OrSorting-2d85af28.js';
|
|
91
91
|
export { s as OrStepper } from './OrStepper-4943002c.js';
|
|
92
92
|
export { s as OrSwitch } from './OrSwitch-fb864132.js';
|
|
93
93
|
export { s as OrSwitchV3 } from './OrSwitch-a6efd081.js';
|
|
@@ -95,26 +95,26 @@ export { s as OrTab } from './OrTab-d8d4e871.js';
|
|
|
95
95
|
export { s as OrTabHeaderItem } from './OrTabHeaderItem-c2af7ca3.js';
|
|
96
96
|
export { s as OrTabV3 } from './OrTab-2d567d8e.js';
|
|
97
97
|
export { s as OrTabs } from './OrTabs-3da3ea89.js';
|
|
98
|
-
export { s as OrTabsV3, T as TabsVariant } from './OrTabs-
|
|
98
|
+
export { s as OrTabsV3, T as TabsVariant } from './OrTabs-5181250e.js';
|
|
99
99
|
export { s as OrTag } from './OrTag-1b3b1296.js';
|
|
100
|
-
export { s as OrTagInputV3 } from './OrTagInput-
|
|
101
|
-
export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-
|
|
102
|
-
export { s as OrTagsV3 } from './OrTags-
|
|
100
|
+
export { s as OrTagInputV3 } from './OrTagInput-32216ab9.js';
|
|
101
|
+
export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-e7f474ec.js';
|
|
102
|
+
export { s as OrTagsV3 } from './OrTags-8dec2361.js';
|
|
103
103
|
export { s as OrTeleport } from './OrTeleport.vue3-9bce0c02.js';
|
|
104
104
|
export { s as OrTeleportV3 } from './OrTeleport.vue3-8099178c.js';
|
|
105
105
|
export { s as OrTextV3 } from './OrText-d54c951d.js';
|
|
106
106
|
export { s as OrTextarea } from './OrTextarea-7a753c1a.js';
|
|
107
107
|
export { s as OrTextareaV3 } from './OrTextarea-6c471ccd.js';
|
|
108
108
|
export { s as OrTextbox, T as TextboxTypes } from './OrTextbox-fe62c6c3.js';
|
|
109
|
-
export { s as OrTimePickerV3 } from './OrTimePicker-
|
|
109
|
+
export { s as OrTimePickerV3 } from './OrTimePicker-9b3d9859.js';
|
|
110
110
|
export { s as OrToast, a as OrToastContainer } from './OrToastContainer-1bba845b.js';
|
|
111
111
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-b5ea5cb2.js';
|
|
112
|
-
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-
|
|
112
|
+
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-c167d3d9.js';
|
|
113
113
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-a1332cc2.js';
|
|
114
114
|
export { s as OrTooltip } from './OrTooltip-7ac03028.js';
|
|
115
115
|
export { s as OrTooltipContent } from './OrTooltipContent-c0042844.js';
|
|
116
|
-
export { s as OrTooltipV3 } from './OrTooltip-
|
|
117
|
-
export { s as OrTreeV3, T as TreeNodeDropPosition } from './OrTree-
|
|
116
|
+
export { s as OrTooltipV3 } from './OrTooltip-0dbe245c.js';
|
|
117
|
+
export { s as OrTreeV3, T as TreeNodeDropPosition } from './OrTree-a0e57f4e.js';
|
|
118
118
|
export { D as DropdownClose, a as DropdownOpen } from './dropdown-open-e1f90e0a.js';
|
|
119
119
|
export { u as useControlAttributes, a as useIdAttribute } from './useIdAttribute-859439f0.js';
|
|
120
120
|
export { u as useElevation } from './useElevation-a50ec347.js';
|
|
@@ -149,7 +149,7 @@ import '@codemirror/lang-markdown';
|
|
|
149
149
|
import '@codemirror/language';
|
|
150
150
|
import '@lezer/highlight';
|
|
151
151
|
import '@vueuse/math';
|
|
152
|
-
import './OrDateTimePickerPopoverHeader-
|
|
152
|
+
import './OrDateTimePickerPopoverHeader-60cde5e5.js';
|
|
153
153
|
import 'lodash/padStart';
|
|
154
154
|
import '@floating-ui/dom';
|
|
155
155
|
import 'lodash/cloneDeep';
|
|
@@ -5,7 +5,7 @@ import '@onereach/styles/tailwind.config';
|
|
|
5
5
|
import 'tailwindcss/resolveConfig';
|
|
6
6
|
import { s as script$4 } from './OrTeleport.vue3-8099178c.js';
|
|
7
7
|
import { T as ToastType, P as PositionsX, b as PositionsY, c as TransitionType, d as useToastEventBus, a as useQueue } from './useToast-a1332cc2.js';
|
|
8
|
-
import { s as script$2 } from './OrIconButton-
|
|
8
|
+
import { s as script$2 } from './OrIconButton-6335f090.js';
|
|
9
9
|
import { s as script$3 } from './OrLoader-b79022da.js';
|
|
10
10
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, createVNode, createElementVNode, toDisplayString, createBlock, withModifiers, withCtx, TransitionGroup, Fragment, renderList, mergeProps } from 'vue';
|
|
11
11
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/ui-components",
|
|
3
|
-
"version": "4.18.
|
|
3
|
+
"version": "4.18.2-beta.3104.0",
|
|
4
4
|
"npmUnpacked": "4.15.2",
|
|
5
5
|
"description": "Vue components library for v2/3",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@codemirror/lang-json": "6.0.1",
|
|
40
40
|
"@codemirror/lang-markdown": "6.1.1",
|
|
41
41
|
"@floating-ui/dom": "0.3.1",
|
|
42
|
-
"@onereach/styles": "^2.43.0",
|
|
42
|
+
"@onereach/styles": "^2.43.1-beta.3104.0",
|
|
43
43
|
"@types/lodash": "4.14.173",
|
|
44
44
|
"@types/sortablejs": "1.10.7",
|
|
45
45
|
"@types/uuid": "8.3.1",
|
|
@@ -154,6 +154,5 @@
|
|
|
154
154
|
"default": "./dist/bundled/v3/components/*/index.js"
|
|
155
155
|
},
|
|
156
156
|
"./package.json": "./package.json"
|
|
157
|
-
}
|
|
158
|
-
"gitHead": "f920eb7fe6c5071a8a8d6d3a9063c770a7a45822"
|
|
157
|
+
}
|
|
159
158
|
}
|
|
@@ -4,17 +4,20 @@
|
|
|
4
4
|
:class="rootStyles"
|
|
5
5
|
>
|
|
6
6
|
<slot>
|
|
7
|
-
<
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
7
|
+
<template v-if="src">
|
|
8
|
+
<img
|
|
9
|
+
:class="['w-full', 'h-full', 'object-cover']"
|
|
10
|
+
:src="src"
|
|
11
|
+
:alt="''"
|
|
12
|
+
>
|
|
13
|
+
</template>
|
|
14
|
+
|
|
15
|
+
<template v-else-if="icon">
|
|
16
|
+
<OrIcon
|
|
17
|
+
:icon="icon"
|
|
18
|
+
:size="'inherit'"
|
|
19
|
+
/>
|
|
20
|
+
</template>
|
|
18
21
|
</slot>
|
|
19
22
|
</div>
|
|
20
23
|
</template>
|
|
@@ -24,7 +27,7 @@ import { computed, defineComponent, PropType, ref, watchPostEffect } from 'vue-d
|
|
|
24
27
|
import { generateHslFromString, hslToColorString } from '../../utils/functions/color';
|
|
25
28
|
import { OrIconV3 as OrIcon } from '../or-icon-v3';
|
|
26
29
|
import { AvatarColor, AvatarSize } from './props';
|
|
27
|
-
import {
|
|
30
|
+
import { Avatar, AvatarColors, AvatarIconSizes, AvatarSizes, AvatarTextSizes } from './styles';
|
|
28
31
|
|
|
29
32
|
export default defineComponent({
|
|
30
33
|
name: 'OrAvatar',
|
|
@@ -39,24 +42,24 @@ export default defineComponent({
|
|
|
39
42
|
default: undefined,
|
|
40
43
|
},
|
|
41
44
|
|
|
42
|
-
size: {
|
|
43
|
-
type: String as PropType<AvatarSize>,
|
|
44
|
-
default: AvatarSize.M,
|
|
45
|
-
},
|
|
46
45
|
icon: {
|
|
47
46
|
type: String,
|
|
48
47
|
default: undefined,
|
|
49
48
|
},
|
|
49
|
+
|
|
50
|
+
size: {
|
|
51
|
+
type: String as PropType<`${AvatarSize}`>,
|
|
52
|
+
default: AvatarSize.M,
|
|
53
|
+
},
|
|
54
|
+
|
|
50
55
|
color: {
|
|
51
|
-
type: String as PropType
|
|
52
|
-
default: AvatarColor.
|
|
53
|
-
required: false,
|
|
56
|
+
type: String as PropType<`${AvatarColor}`>,
|
|
57
|
+
default: AvatarColor.Auto,
|
|
54
58
|
},
|
|
55
59
|
|
|
56
60
|
colorSalt: {
|
|
57
61
|
type: String,
|
|
58
62
|
default: undefined,
|
|
59
|
-
required: false,
|
|
60
63
|
},
|
|
61
64
|
},
|
|
62
65
|
|
|
@@ -68,33 +71,25 @@ export default defineComponent({
|
|
|
68
71
|
// Refs
|
|
69
72
|
const root = ref<HTMLElement>();
|
|
70
73
|
|
|
71
|
-
const isIcon = computed(() => {
|
|
72
|
-
return !props.icon;
|
|
73
|
-
});
|
|
74
74
|
// Styles
|
|
75
75
|
const rootStyles = computed(() => [
|
|
76
76
|
'or-avatar-v3',
|
|
77
|
-
...
|
|
78
|
-
...
|
|
79
|
-
...
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
),
|
|
84
|
-
]);
|
|
85
|
-
|
|
86
|
-
const imageStyles = computed(() => [
|
|
87
|
-
...AvatarImage,
|
|
77
|
+
...Avatar,
|
|
78
|
+
...AvatarSizes[props.size],
|
|
79
|
+
...props.icon
|
|
80
|
+
? AvatarIconSizes[props.size]
|
|
81
|
+
: AvatarTextSizes[props.size],
|
|
82
|
+
...AvatarColors[props.color],
|
|
88
83
|
]);
|
|
89
84
|
|
|
90
85
|
// Effects
|
|
91
86
|
watchPostEffect(() => {
|
|
92
87
|
const rootElement = root.value;
|
|
93
88
|
|
|
94
|
-
if (rootElement && !props.src && props.color === AvatarColor.
|
|
89
|
+
if (rootElement && !props.src && props.color === AvatarColor.Auto) {
|
|
95
90
|
Object.assign(rootElement.style, {
|
|
96
|
-
background: hslToColorString(generateHslFromString(props.colorSalt ?? '')),
|
|
97
91
|
color: props.color,
|
|
92
|
+
background: hslToColorString(generateHslFromString(props.colorSalt ?? '')),
|
|
98
93
|
});
|
|
99
94
|
}
|
|
100
95
|
});
|
|
@@ -102,7 +97,6 @@ export default defineComponent({
|
|
|
102
97
|
return {
|
|
103
98
|
root,
|
|
104
99
|
rootStyles,
|
|
105
|
-
imageStyles,
|
|
106
100
|
};
|
|
107
101
|
},
|
|
108
102
|
});
|
|
@@ -7,10 +7,10 @@ export enum AvatarSize {
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
export enum AvatarColor {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
Auto = 'auto',
|
|
11
|
+
Blue = 'blue',
|
|
12
|
+
Grey = 'grey',
|
|
13
|
+
Green = 'green',
|
|
14
|
+
Yellow = 'yellow',
|
|
15
|
+
Red = 'red',
|
|
16
16
|
}
|
|
@@ -1,137 +1,139 @@
|
|
|
1
1
|
import { AvatarColor, AvatarSize } from './props';
|
|
2
2
|
|
|
3
|
-
export const
|
|
3
|
+
export const Avatar: string[] = [
|
|
4
4
|
// Layout
|
|
5
|
-
'
|
|
6
|
-
'items-center',
|
|
7
|
-
'justify-center',
|
|
8
|
-
'overflow-hidden',
|
|
5
|
+
'layout-inline-row justify-center',
|
|
9
6
|
|
|
10
|
-
//
|
|
11
|
-
'
|
|
7
|
+
// Overflow
|
|
8
|
+
'overflow-hidden',
|
|
12
9
|
|
|
13
10
|
// Interactivity
|
|
14
11
|
'interactivity-none',
|
|
15
|
-
];
|
|
16
12
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
'w-full',
|
|
20
|
-
'h-full',
|
|
21
|
-
|
|
22
|
-
'object-cover',
|
|
13
|
+
// Shape
|
|
14
|
+
'rounded-full',
|
|
23
15
|
];
|
|
24
16
|
|
|
25
|
-
export const
|
|
26
|
-
|
|
17
|
+
export const AvatarSizes: Record<AvatarSize, string[]> = {
|
|
18
|
+
[AvatarSize.XL]: [
|
|
27
19
|
// Box
|
|
28
20
|
'w-[80px]',
|
|
29
21
|
'h-[80px]',
|
|
30
22
|
],
|
|
31
23
|
|
|
32
|
-
|
|
24
|
+
[AvatarSize.L]: [
|
|
33
25
|
// Box
|
|
34
26
|
'w-[64px]',
|
|
35
27
|
'h-[64px]',
|
|
36
28
|
],
|
|
37
29
|
|
|
38
|
-
|
|
30
|
+
[AvatarSize.M]: [
|
|
39
31
|
// Box
|
|
40
32
|
'w-[40px]',
|
|
41
33
|
'h-[40px]',
|
|
42
34
|
],
|
|
43
35
|
|
|
44
|
-
|
|
36
|
+
[AvatarSize.S]: [
|
|
45
37
|
// Box
|
|
46
38
|
'w-[32px]',
|
|
47
39
|
'h-[32px]',
|
|
48
40
|
],
|
|
49
41
|
|
|
50
|
-
|
|
42
|
+
[AvatarSize.XS]: [
|
|
51
43
|
// Box
|
|
52
44
|
'w-[24px]',
|
|
53
45
|
'h-[24px]',
|
|
54
46
|
],
|
|
55
47
|
};
|
|
56
48
|
|
|
57
|
-
export const
|
|
58
|
-
[
|
|
59
|
-
//
|
|
60
|
-
'
|
|
61
|
-
'dark:theme-preset-1-primary-dark',
|
|
62
|
-
],
|
|
63
|
-
|
|
64
|
-
[AvatarColor.yellow]: [
|
|
65
|
-
// Theme
|
|
66
|
-
'theme-preset-1-warning',
|
|
67
|
-
'dark:theme-preset-1-warning-dark',
|
|
49
|
+
export const AvatarIconSizes: Record<AvatarSize, string[]> = {
|
|
50
|
+
[AvatarSize.XL]: [
|
|
51
|
+
// Typography
|
|
52
|
+
'text-[40px]',
|
|
68
53
|
],
|
|
69
54
|
|
|
70
|
-
[
|
|
71
|
-
//
|
|
72
|
-
'
|
|
73
|
-
'dark:theme-preset-1-error-dark',
|
|
55
|
+
[AvatarSize.L]: [
|
|
56
|
+
// Typography
|
|
57
|
+
'text-[32px]',
|
|
74
58
|
],
|
|
75
59
|
|
|
76
|
-
[
|
|
77
|
-
//
|
|
78
|
-
'
|
|
79
|
-
'dark:theme-preset-1-success-dark',
|
|
60
|
+
[AvatarSize.M]: [
|
|
61
|
+
// Typography
|
|
62
|
+
'text-[20px]',
|
|
80
63
|
],
|
|
81
64
|
|
|
82
|
-
[
|
|
83
|
-
//
|
|
84
|
-
'
|
|
85
|
-
'dark:theme-preset-1-secondary-dark',
|
|
65
|
+
[AvatarSize.S]: [
|
|
66
|
+
// Typography
|
|
67
|
+
'text-[16px]',
|
|
86
68
|
],
|
|
87
69
|
|
|
88
|
-
[
|
|
89
|
-
//
|
|
90
|
-
'text-
|
|
91
|
-
'dark:text-overlay-dark',
|
|
70
|
+
[AvatarSize.XS]: [
|
|
71
|
+
// Typography
|
|
72
|
+
'text-[16px]',
|
|
92
73
|
],
|
|
93
74
|
};
|
|
94
75
|
|
|
95
|
-
export const
|
|
96
|
-
|
|
76
|
+
export const AvatarTextSizes: Record<AvatarSize, string[]> = {
|
|
77
|
+
[AvatarSize.XL]: [
|
|
78
|
+
// Typography
|
|
97
79
|
'typography-headline-1',
|
|
98
80
|
],
|
|
99
81
|
|
|
100
|
-
|
|
82
|
+
[AvatarSize.L]: [
|
|
83
|
+
// Typography
|
|
101
84
|
'typography-headline-1',
|
|
102
85
|
],
|
|
103
86
|
|
|
104
|
-
|
|
87
|
+
[AvatarSize.M]: [
|
|
88
|
+
// Typography
|
|
105
89
|
'typography-body-1-bold',
|
|
106
90
|
],
|
|
107
91
|
|
|
108
|
-
|
|
92
|
+
[AvatarSize.S]: [
|
|
93
|
+
// Typography
|
|
109
94
|
'typography-body-1-bold',
|
|
110
95
|
],
|
|
111
96
|
|
|
112
|
-
|
|
97
|
+
[AvatarSize.XS]: [
|
|
98
|
+
// Typography
|
|
113
99
|
'typography-caption-semibold',
|
|
114
100
|
],
|
|
115
101
|
};
|
|
116
102
|
|
|
117
|
-
export const
|
|
118
|
-
|
|
119
|
-
|
|
103
|
+
export const AvatarColors: Record<AvatarColor, string[]> = {
|
|
104
|
+
[AvatarColor.Auto]: [
|
|
105
|
+
// Theme
|
|
106
|
+
'theme-foreground-base',
|
|
107
|
+
'dark:theme-foreground-base-dark',
|
|
120
108
|
],
|
|
121
109
|
|
|
122
|
-
|
|
123
|
-
|
|
110
|
+
[AvatarColor.Blue]: [
|
|
111
|
+
// Theme
|
|
112
|
+
'theme-preset-1-primary',
|
|
113
|
+
'dark:theme-preset-1-primary-dark',
|
|
124
114
|
],
|
|
125
115
|
|
|
126
|
-
|
|
127
|
-
|
|
116
|
+
[AvatarColor.Grey]: [
|
|
117
|
+
// Theme
|
|
118
|
+
'theme-preset-1-secondary',
|
|
119
|
+
'dark:theme-preset-1-secondary-dark',
|
|
128
120
|
],
|
|
129
121
|
|
|
130
|
-
|
|
131
|
-
|
|
122
|
+
[AvatarColor.Green]: [
|
|
123
|
+
// Theme
|
|
124
|
+
'theme-preset-1-success',
|
|
125
|
+
'dark:theme-preset-1-success-dark',
|
|
132
126
|
],
|
|
133
127
|
|
|
134
|
-
|
|
135
|
-
|
|
128
|
+
[AvatarColor.Yellow]: [
|
|
129
|
+
// Theme
|
|
130
|
+
'theme-preset-1-warning',
|
|
131
|
+
'dark:theme-preset-1-warning-dark',
|
|
132
|
+
],
|
|
133
|
+
|
|
134
|
+
[AvatarColor.Red]: [
|
|
135
|
+
// Theme
|
|
136
|
+
'theme-preset-1-error',
|
|
137
|
+
'dark:theme-preset-1-error-dark',
|
|
136
138
|
],
|
|
137
139
|
};
|