@onereach/ui-components 4.18.2 → 4.18.3-beta.3119.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
|
@@ -14,26 +14,29 @@ export const BottomSheet: string[] = [
|
|
|
14
14
|
// Shape
|
|
15
15
|
'rounded-t-lg',
|
|
16
16
|
|
|
17
|
+
// Elevation
|
|
18
|
+
'shadow-contextual',
|
|
19
|
+
'dark:shadow-contextual-dark',
|
|
20
|
+
|
|
21
|
+
// Typography
|
|
22
|
+
'typography-body-2-regular',
|
|
23
|
+
|
|
17
24
|
// Theme
|
|
18
25
|
'theme-background-base',
|
|
19
26
|
'dark:theme-background-base-dark',
|
|
20
27
|
|
|
21
28
|
'theme-foreground-default',
|
|
22
29
|
'dark:theme-foreground-default-dark',
|
|
23
|
-
|
|
24
|
-
// Elevation
|
|
25
|
-
'shadow-contextual',
|
|
26
|
-
'dark:shadow-contextual-dark',
|
|
27
30
|
];
|
|
28
31
|
|
|
29
32
|
export const BottomSheetVariants: Record<BottomSheetVariant, string[]> = {
|
|
30
|
-
|
|
33
|
+
[BottomSheetVariant.Basic]: [],
|
|
31
34
|
|
|
32
|
-
|
|
35
|
+
[BottomSheetVariant.Advanced]: [
|
|
33
36
|
// Box
|
|
34
37
|
'max-h-[50%]',
|
|
35
38
|
|
|
36
|
-
//
|
|
39
|
+
// Transition
|
|
37
40
|
'transition-[min-height]',
|
|
38
41
|
'transition-[max-height]',
|
|
39
42
|
],
|
|
@@ -43,19 +46,19 @@ export const BottomSheetHandle: string[] = [
|
|
|
43
46
|
// Layout
|
|
44
47
|
'layout-row justify-center',
|
|
45
48
|
|
|
49
|
+
// Interactivity
|
|
50
|
+
'interactivity-auto !cursor-grab',
|
|
51
|
+
|
|
46
52
|
// Box
|
|
47
53
|
'after:w-2xl',
|
|
48
54
|
'after:h-xs',
|
|
49
55
|
|
|
50
|
-
// Shape
|
|
51
|
-
'after:rounded-full',
|
|
52
|
-
|
|
53
56
|
// Spacing
|
|
54
57
|
'px-sm',
|
|
55
58
|
'py-sm',
|
|
56
59
|
|
|
57
|
-
//
|
|
58
|
-
'
|
|
60
|
+
// Shape
|
|
61
|
+
'after:rounded-full',
|
|
59
62
|
|
|
60
63
|
// Theme
|
|
61
64
|
'after:bg-outline',
|
|
@@ -63,7 +66,7 @@ export const BottomSheetHandle: string[] = [
|
|
|
63
66
|
];
|
|
64
67
|
|
|
65
68
|
export const BottomSheetHeader: string[] = [
|
|
66
|
-
// Layout
|
|
69
|
+
// Layout (empty)
|
|
67
70
|
'empty:hidden',
|
|
68
71
|
|
|
69
72
|
// Spacing
|
|
@@ -73,7 +76,3 @@ export const BottomSheetHeader: string[] = [
|
|
|
73
76
|
// Typography
|
|
74
77
|
'typography-headline-3',
|
|
75
78
|
];
|
|
76
|
-
|
|
77
|
-
export const BottomSheetContent: string[] = [
|
|
78
|
-
'grow',
|
|
79
|
-
];
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
import { PropType, computed, defineComponent, isVue3, ref } from 'vue-demi';
|
|
39
39
|
import { OrLoaderV3 as OrLoader } from '../or-loader-v3';
|
|
40
40
|
import { ButtonColor, ButtonType, ButtonVariant } from './props';
|
|
41
|
-
import {
|
|
41
|
+
import { Button, ButtonColors, ButtonVariants } from './styles';
|
|
42
42
|
|
|
43
43
|
export default defineComponent({
|
|
44
44
|
name: 'OrButton',
|
|
@@ -101,9 +101,9 @@ export default defineComponent({
|
|
|
101
101
|
// Styles
|
|
102
102
|
const rootStyles = computed(() => [
|
|
103
103
|
'or-button-v3',
|
|
104
|
-
...
|
|
105
|
-
...
|
|
106
|
-
...
|
|
104
|
+
...Button,
|
|
105
|
+
...ButtonVariants[props.variant],
|
|
106
|
+
...ButtonColors[`${props.color}-${props.variant}`],
|
|
107
107
|
props.loading && 'interactivity-none',
|
|
108
108
|
]);
|
|
109
109
|
|
|
@@ -1,21 +1,24 @@
|
|
|
1
1
|
import { ButtonColor, ButtonVariant } from './props';
|
|
2
2
|
|
|
3
|
-
export const
|
|
3
|
+
export const Button: string[] = [
|
|
4
4
|
// Layout
|
|
5
5
|
'layout-inline-row justify-center',
|
|
6
6
|
|
|
7
|
-
//
|
|
8
|
-
'
|
|
7
|
+
// Overflow
|
|
8
|
+
'overflow-hidden',
|
|
9
9
|
|
|
10
10
|
// Interactivity
|
|
11
11
|
'interactivity-auto',
|
|
12
12
|
|
|
13
|
+
// Shape
|
|
14
|
+
'rounded-md',
|
|
15
|
+
|
|
13
16
|
// Typography
|
|
14
17
|
'typography-button',
|
|
15
18
|
];
|
|
16
19
|
|
|
17
|
-
export const
|
|
18
|
-
|
|
20
|
+
export const ButtonVariants: Record<ButtonVariant, string[]> = {
|
|
21
|
+
[ButtonVariant.Contained]: [
|
|
19
22
|
// Box
|
|
20
23
|
'min-w-[96px]',
|
|
21
24
|
|
|
@@ -25,12 +28,12 @@ export const ButtonRootVariants: Record<ButtonVariant, string[]> = {
|
|
|
25
28
|
|
|
26
29
|
'gap-sm+ md:gap-sm',
|
|
27
30
|
|
|
28
|
-
//
|
|
31
|
+
// Elevation (enabled)
|
|
29
32
|
'enabled:shadow-button',
|
|
30
33
|
'dark:enabled:shadow-button-dark',
|
|
31
34
|
],
|
|
32
35
|
|
|
33
|
-
|
|
36
|
+
[ButtonVariant.Outlined]: [
|
|
34
37
|
// Box
|
|
35
38
|
'min-w-[96px]',
|
|
36
39
|
|
|
@@ -41,7 +44,7 @@ export const ButtonRootVariants: Record<ButtonVariant, string[]> = {
|
|
|
41
44
|
'gap-sm+ md:gap-sm',
|
|
42
45
|
],
|
|
43
46
|
|
|
44
|
-
|
|
47
|
+
[ButtonVariant.Text]: [
|
|
45
48
|
// Box
|
|
46
49
|
'min-w-[96px]',
|
|
47
50
|
|
|
@@ -52,13 +55,13 @@ export const ButtonRootVariants: Record<ButtonVariant, string[]> = {
|
|
|
52
55
|
'gap-sm+ md:gap-sm',
|
|
53
56
|
],
|
|
54
57
|
|
|
55
|
-
|
|
58
|
+
[ButtonVariant.Link]: [
|
|
56
59
|
// Spacing
|
|
57
60
|
'gap-xs',
|
|
58
61
|
],
|
|
59
62
|
};
|
|
60
63
|
|
|
61
|
-
export const
|
|
64
|
+
export const ButtonColors: Record<`${ButtonColor}-${ButtonVariant}`, string[]> = {
|
|
62
65
|
'primary-contained': [
|
|
63
66
|
// Theme
|
|
64
67
|
'theme-preset-1-primary',
|
|
@@ -80,10 +80,10 @@
|
|
|
80
80
|
import { computed, defineComponent, PropType, ref, watch } from 'vue-demi';
|
|
81
81
|
import { OrIconButtonV3 as OrIconButton } from '../or-icon-button-v3';
|
|
82
82
|
import { OrSearchV3 as OrSearch } from '../or-search-v3';
|
|
83
|
-
import OrCardCollectionView from './partials/OrCardCollectionView.vue3.vue';
|
|
84
83
|
import { OrSortingV3 as OrSorting, SortOption } from '../or-sorting-v3';
|
|
84
|
+
import OrCardCollectionView from './partials/OrCardCollectionView.vue3.vue';
|
|
85
85
|
import { defaultViewModes, gridView } from './props';
|
|
86
|
-
import {
|
|
86
|
+
import { CardCollection, CardCollectionToolbar, CardCollectionToolbarPanel } from './styles';
|
|
87
87
|
import { CardCollectionItem, ViewMode } from './types';
|
|
88
88
|
|
|
89
89
|
export default defineComponent({
|
|
@@ -155,7 +155,7 @@ export default defineComponent({
|
|
|
155
155
|
// Styles
|
|
156
156
|
const rootStyles = computed(() => [
|
|
157
157
|
'or-card-collection-v3',
|
|
158
|
-
...
|
|
158
|
+
...CardCollection,
|
|
159
159
|
]);
|
|
160
160
|
|
|
161
161
|
const toolbarStyles = computed(() => [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div :class="
|
|
2
|
+
<div :class="rootStyles">
|
|
3
3
|
<slot
|
|
4
4
|
v-for="(item) in items"
|
|
5
5
|
name="item"
|
|
@@ -12,30 +12,38 @@
|
|
|
12
12
|
</slot>
|
|
13
13
|
</div>
|
|
14
14
|
</template>
|
|
15
|
+
|
|
15
16
|
<script lang="ts">
|
|
16
|
-
import {
|
|
17
|
+
import { PropType, computed, defineComponent } from 'vue-demi';
|
|
18
|
+
import { CardCollectionView } from '../props';
|
|
17
19
|
import { CardCollectionContent, CardCollectionContentViews } from '../styles';
|
|
18
20
|
import { CardCollectionItem } from '../types';
|
|
19
|
-
import { DefaultCardCollectionViews } from '../props';
|
|
20
21
|
|
|
21
22
|
export default defineComponent({
|
|
22
23
|
name: 'OrCardCollectionView',
|
|
24
|
+
|
|
23
25
|
props: {
|
|
24
26
|
items: {
|
|
25
27
|
type: Array as PropType<CardCollectionItem[]>,
|
|
26
28
|
default: [] as CardCollectionItem[],
|
|
27
29
|
},
|
|
30
|
+
|
|
28
31
|
mode: {
|
|
29
|
-
type: String as PropType
|
|
32
|
+
type: String as PropType<`${CardCollectionView}`>,
|
|
30
33
|
required: true,
|
|
31
34
|
},
|
|
32
35
|
},
|
|
36
|
+
|
|
33
37
|
setup(props) {
|
|
34
|
-
|
|
38
|
+
// Styles
|
|
39
|
+
const rootStyles = computed(() => [
|
|
35
40
|
...CardCollectionContent,
|
|
36
41
|
...CardCollectionContentViews[props.mode],
|
|
37
42
|
]);
|
|
38
|
-
|
|
43
|
+
|
|
44
|
+
return {
|
|
45
|
+
rootStyles,
|
|
46
|
+
};
|
|
39
47
|
},
|
|
40
48
|
});
|
|
41
49
|
</script>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div :class="
|
|
2
|
+
<div :class="rootStyles">
|
|
3
3
|
<slot
|
|
4
4
|
v-for="(item, index) in items"
|
|
5
5
|
:key="item.key || index"
|
|
@@ -13,30 +13,38 @@
|
|
|
13
13
|
</slot>
|
|
14
14
|
</div>
|
|
15
15
|
</template>
|
|
16
|
+
|
|
16
17
|
<script lang="ts">
|
|
17
|
-
import {
|
|
18
|
+
import { PropType, computed, defineComponent } from 'vue-demi';
|
|
19
|
+
import { CardCollectionView } from '../props';
|
|
18
20
|
import { CardCollectionContent, CardCollectionContentViews } from '../styles';
|
|
19
21
|
import { CardCollectionItem } from '../types';
|
|
20
|
-
import { DefaultCardCollectionViews } from '../props';
|
|
21
22
|
|
|
22
23
|
export default defineComponent({
|
|
23
24
|
name: 'OrCardCollectionView',
|
|
25
|
+
|
|
24
26
|
props: {
|
|
25
27
|
items: {
|
|
26
28
|
type: Array as PropType<CardCollectionItem[]>,
|
|
27
29
|
default: [] as CardCollectionItem[],
|
|
28
30
|
},
|
|
31
|
+
|
|
29
32
|
mode: {
|
|
30
|
-
type: String as PropType
|
|
33
|
+
type: String as PropType<`${CardCollectionView}`>,
|
|
31
34
|
required: true,
|
|
32
35
|
},
|
|
33
36
|
},
|
|
37
|
+
|
|
34
38
|
setup(props) {
|
|
35
|
-
|
|
39
|
+
// Styles
|
|
40
|
+
const rootStyles = computed(() => [
|
|
36
41
|
...CardCollectionContent,
|
|
37
42
|
...CardCollectionContentViews[props.mode],
|
|
38
43
|
]);
|
|
39
|
-
|
|
44
|
+
|
|
45
|
+
return {
|
|
46
|
+
rootStyles,
|
|
47
|
+
};
|
|
40
48
|
},
|
|
41
49
|
});
|
|
42
50
|
</script>
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { ViewMode } from './types';
|
|
2
2
|
|
|
3
|
-
export enum
|
|
3
|
+
export enum CardCollectionView {
|
|
4
4
|
Grid = 'grid',
|
|
5
5
|
List = 'list',
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
export const gridView: ViewMode = {
|
|
9
|
-
view:
|
|
9
|
+
view: CardCollectionView.Grid,
|
|
10
10
|
icon: 'grid_view',
|
|
11
11
|
};
|
|
12
12
|
export const listView: ViewMode = {
|
|
13
|
-
view:
|
|
13
|
+
view: CardCollectionView.List,
|
|
14
14
|
icon: 'view_agenda',
|
|
15
15
|
};
|
|
16
16
|
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CardCollectionView } from './props';
|
|
2
2
|
|
|
3
|
-
export const
|
|
3
|
+
export const CardCollection: string[] = [
|
|
4
4
|
// Layout
|
|
5
5
|
'layout-column',
|
|
6
6
|
|
|
7
|
+
// Box
|
|
8
|
+
'max-h-full',
|
|
9
|
+
|
|
7
10
|
// Spacing
|
|
8
11
|
'gap-md',
|
|
9
|
-
'max-h-full',
|
|
10
12
|
];
|
|
11
13
|
|
|
12
14
|
export const CardCollectionToolbar: string[] = [
|
|
@@ -33,24 +35,29 @@ export const CardCollectionContent: string[] = [
|
|
|
33
35
|
// Layout
|
|
34
36
|
'grid',
|
|
35
37
|
|
|
38
|
+
// Overflow
|
|
39
|
+
'overflow-auto',
|
|
40
|
+
|
|
36
41
|
// Spacing
|
|
37
|
-
'
|
|
42
|
+
'-mx-sm',
|
|
43
|
+
'-my-sm',
|
|
38
44
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
'
|
|
42
|
-
'-
|
|
43
|
-
|
|
45
|
+
'-mr-[calc(theme(spacing.sm) * 2)]',
|
|
46
|
+
|
|
47
|
+
'px-sm',
|
|
48
|
+
'py-sm',
|
|
49
|
+
|
|
50
|
+
'gap-sm md:gap-md',
|
|
44
51
|
];
|
|
45
52
|
|
|
46
|
-
export const CardCollectionContentViews: Record<
|
|
47
|
-
|
|
53
|
+
export const CardCollectionContentViews: Record<CardCollectionView, string[]> = {
|
|
54
|
+
[CardCollectionView.Grid]: [
|
|
48
55
|
// Layout
|
|
49
|
-
'grid-cols-1',
|
|
50
|
-
'md:grid-cols-5',
|
|
56
|
+
'grid-cols-1 md:grid-cols-5',
|
|
51
57
|
],
|
|
52
58
|
|
|
53
|
-
|
|
59
|
+
[CardCollectionView.List]: [
|
|
60
|
+
// Layout
|
|
54
61
|
'grid-cols-1',
|
|
55
62
|
],
|
|
56
63
|
};
|
|
@@ -74,7 +74,7 @@ import { ButtonColor, OrButtonV3 as OrButton } from '../or-button-v3';
|
|
|
74
74
|
import { OrInputV3 as OrInput } from '../or-input-v3';
|
|
75
75
|
import { OrOverlayV3 as OrOverlay } from '../or-overlay-v3';
|
|
76
76
|
import { ConfirmType } from './props';
|
|
77
|
-
import { ConfirmFooter, ConfirmFooterButtons, ConfirmFooterTypes, ConfirmHeader, ConfirmInput
|
|
77
|
+
import { Confirm, ConfirmFooter, ConfirmFooterButtons, ConfirmFooterTypes, ConfirmHeader, ConfirmInput } from './styles';
|
|
78
78
|
|
|
79
79
|
export default defineComponent({
|
|
80
80
|
name: 'OrConfirm',
|
|
@@ -232,7 +232,7 @@ export default defineComponent({
|
|
|
232
232
|
// Styles
|
|
233
233
|
const rootStyles = computed(() => [
|
|
234
234
|
'or-confirm-v3',
|
|
235
|
-
...
|
|
235
|
+
...Confirm,
|
|
236
236
|
]);
|
|
237
237
|
|
|
238
238
|
const headerStyles = computed(() => [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ConfirmType } from './props';
|
|
2
2
|
|
|
3
|
-
export const
|
|
3
|
+
export const Confirm: string[] = [
|
|
4
4
|
// Position
|
|
5
5
|
'fixed md:static',
|
|
6
6
|
|
|
@@ -14,15 +14,19 @@ export const ConfirmRoot: string[] = [
|
|
|
14
14
|
// Box
|
|
15
15
|
'w-full md:w-[320px]',
|
|
16
16
|
|
|
17
|
-
// Shape
|
|
18
|
-
'rounded-0 md:rounded-md',
|
|
19
|
-
|
|
20
17
|
// Spacing
|
|
21
18
|
'px-lg',
|
|
22
19
|
'py-lg',
|
|
23
20
|
|
|
24
21
|
'gap-md',
|
|
25
22
|
|
|
23
|
+
// Shape
|
|
24
|
+
'md:rounded-md',
|
|
25
|
+
|
|
26
|
+
// Elevation
|
|
27
|
+
'shadow-modal',
|
|
28
|
+
'dark:shadow-modal-dark',
|
|
29
|
+
|
|
26
30
|
// Typography
|
|
27
31
|
'typography-body-2-regular',
|
|
28
32
|
|
|
@@ -32,10 +36,6 @@ export const ConfirmRoot: string[] = [
|
|
|
32
36
|
|
|
33
37
|
'theme-foreground-default',
|
|
34
38
|
'dark:theme-foreground-default-dark',
|
|
35
|
-
|
|
36
|
-
// Elevation
|
|
37
|
-
'shadow-modal',
|
|
38
|
-
'dark:shadow-modal-dark',
|
|
39
39
|
];
|
|
40
40
|
|
|
41
41
|
export const ConfirmHeader: string[] = [
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<slot name="header" />
|
|
13
13
|
</OrModalHeader>
|
|
14
14
|
|
|
15
|
-
<OrModalContent>
|
|
15
|
+
<OrModalContent :class="['grow']">
|
|
16
16
|
<slot />
|
|
17
17
|
</OrModalContent>
|
|
18
18
|
|
|
@@ -31,7 +31,7 @@ import OrModalContent from './partials/or-modal-content/OrModalContent.vue';
|
|
|
31
31
|
import OrModalFooter from './partials/or-modal-footer/OrModalFooter.vue';
|
|
32
32
|
import OrModalHeader from './partials/or-modal-header/OrModalHeader.vue';
|
|
33
33
|
import { ModalSize } from './props';
|
|
34
|
-
import {
|
|
34
|
+
import { Modal, ModalSizes } from './styles';
|
|
35
35
|
|
|
36
36
|
export default defineComponent({
|
|
37
37
|
name: 'OrModal',
|
|
@@ -80,8 +80,8 @@ export default defineComponent({
|
|
|
80
80
|
// Styles
|
|
81
81
|
const rootStyles = computed(() => [
|
|
82
82
|
'or-modal-v3',
|
|
83
|
-
...
|
|
84
|
-
...
|
|
83
|
+
...Modal,
|
|
84
|
+
...ModalSizes[props.size],
|
|
85
85
|
]);
|
|
86
86
|
|
|
87
87
|
// State
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ModalSize } from './props';
|
|
2
2
|
|
|
3
|
-
export const
|
|
3
|
+
export const Modal: string[] = [
|
|
4
4
|
// Layout
|
|
5
5
|
'layout-column',
|
|
6
6
|
|
|
@@ -8,13 +8,17 @@ export const ModalRoot: string[] = [
|
|
|
8
8
|
'w-full',
|
|
9
9
|
'h-full md:h-auto md:max-h-[min(calc(100%-(2*theme(spacing.3xl))),772px)]',
|
|
10
10
|
|
|
11
|
-
// Shape
|
|
12
|
-
'md:rounded-md',
|
|
13
|
-
|
|
14
11
|
// Spacing
|
|
15
12
|
'py-md md:py-lg',
|
|
16
13
|
'gap-md md:gap-lg',
|
|
17
14
|
|
|
15
|
+
// Shape
|
|
16
|
+
'md:rounded-md',
|
|
17
|
+
|
|
18
|
+
// Elevation
|
|
19
|
+
'shadow-modal',
|
|
20
|
+
'dark:shadow-modal-dark',
|
|
21
|
+
|
|
18
22
|
// Typography
|
|
19
23
|
'typography-body-2-regular',
|
|
20
24
|
|
|
@@ -24,24 +28,20 @@ export const ModalRoot: string[] = [
|
|
|
24
28
|
|
|
25
29
|
'theme-foreground-default',
|
|
26
30
|
'dark:theme-foreground-default-dark',
|
|
27
|
-
|
|
28
|
-
// Elevation
|
|
29
|
-
'shadow-modal',
|
|
30
|
-
'dark:shadow-modal-dark',
|
|
31
31
|
];
|
|
32
32
|
|
|
33
|
-
export const
|
|
34
|
-
|
|
33
|
+
export const ModalSizes: Record<ModalSize, string[]> = {
|
|
34
|
+
[ModalSize.L]: [
|
|
35
35
|
// Box
|
|
36
36
|
'md:w-[1050px]',
|
|
37
37
|
],
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
[ModalSize.M]: [
|
|
40
40
|
// Box
|
|
41
41
|
'md:w-[700px]',
|
|
42
42
|
],
|
|
43
43
|
|
|
44
|
-
|
|
44
|
+
[ModalSize.S]: [
|
|
45
45
|
// Box
|
|
46
46
|
'md:w-[480px]',
|
|
47
47
|
],
|
|
@@ -15,7 +15,7 @@ import { useScrollLock } from '@vueuse/core';
|
|
|
15
15
|
import { computed, defineComponent, ref } from 'vue-demi';
|
|
16
16
|
import { useElevation } from '../../hooks';
|
|
17
17
|
import { OrTeleportV3 as OrTeleport } from '../or-teleport-v3';
|
|
18
|
-
import {
|
|
18
|
+
import { Overlay } from './styles';
|
|
19
19
|
|
|
20
20
|
export default defineComponent({
|
|
21
21
|
name: 'OrOverlay',
|
|
@@ -44,7 +44,7 @@ export default defineComponent({
|
|
|
44
44
|
// Styles
|
|
45
45
|
const rootStyles = computed(() => [
|
|
46
46
|
'or-overlay-v3',
|
|
47
|
-
...
|
|
47
|
+
...Overlay,
|
|
48
48
|
]);
|
|
49
49
|
|
|
50
50
|
// Effects
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export const
|
|
1
|
+
export const Overlay: string[] = [
|
|
2
2
|
// Position
|
|
3
|
-
'fixed',
|
|
4
|
-
'inset-none',
|
|
3
|
+
'fixed inset-none',
|
|
5
4
|
|
|
6
5
|
// Layout
|
|
7
|
-
'
|
|
8
|
-
'items-center',
|
|
9
|
-
'justify-center',
|
|
6
|
+
'layout-row justify-center',
|
|
10
7
|
|
|
11
8
|
// Theme
|
|
12
|
-
'
|
|
13
|
-
'dark:
|
|
9
|
+
'theme-background-overlay',
|
|
10
|
+
'dark:theme-background-overlay-dark',
|
|
11
|
+
|
|
12
|
+
'theme-foreground-base',
|
|
13
|
+
'dark:theme-foreground-base',
|
|
14
14
|
];
|
|
@@ -6,23 +6,23 @@ export const Popover: string[] = [
|
|
|
6
6
|
];
|
|
7
7
|
|
|
8
8
|
export const PopoverBody: string[] = [
|
|
9
|
-
// Shape
|
|
10
|
-
'rounded-md',
|
|
11
|
-
|
|
12
9
|
// Spacing
|
|
13
10
|
'mx-sm',
|
|
14
11
|
'my-sm',
|
|
15
12
|
|
|
13
|
+
// Shape
|
|
14
|
+
'rounded-md',
|
|
15
|
+
|
|
16
|
+
// Elevation
|
|
17
|
+
'shadow-contextual',
|
|
18
|
+
'dark:shadow-contextual-dark',
|
|
19
|
+
|
|
16
20
|
// Theme
|
|
17
21
|
'theme-background-base',
|
|
18
22
|
'dark:theme-background-base-dark',
|
|
19
23
|
|
|
20
24
|
'theme-foreground-default',
|
|
21
25
|
'dark:theme-foreground-default-dark',
|
|
22
|
-
|
|
23
|
-
// Elevation
|
|
24
|
-
'shadow-contextual',
|
|
25
|
-
'dark:shadow-contextual-dark',
|
|
26
26
|
];
|
|
27
27
|
|
|
28
28
|
export const PopoverBodyPlacements: Record<PopoverPlacement, string[]> = {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|