@onereach/ui-components 2.66.0 → 2.66.1-beta.1978.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/{OrButton-de67e9fc.js → OrButton-a4952445.js} +6 -1
- package/dist/bundled/v2/{OrCardCollection-432f5781.js → OrCardCollection-353f7592.js} +2 -2
- package/dist/bundled/v2/{OrConfirm-8e62359c.js → OrConfirm-a2ed3efe.js} +2 -2
- package/dist/bundled/v2/{OrIconButton-7a0675ef.js → OrIconButton-aa445135.js} +1 -1
- package/dist/bundled/v2/{OrInlineInput-021f6902.js → OrInlineInput-0cf6c03a.js} +1 -1
- package/dist/bundled/v2/{OrInlineTextarea-bd4e5b96.js → OrInlineTextarea-379ff260.js} +1 -1
- package/dist/bundled/v2/{OrInput-433ce585.js → OrInput-6471b78d.js} +1 -1
- package/dist/bundled/v2/{OrMenu-2f8555ac.js → OrMenu-e8c5d2e7.js} +13 -4
- package/dist/bundled/v2/{OrMenuItem-1360f2e7.js → OrMenuItem-f89dfc77.js} +2 -2
- package/dist/bundled/v2/{OrModal-cab3183b.js → OrModal-90e690e1.js} +1 -1
- package/dist/bundled/v2/{OrNotification-1bb32838.js → OrNotification-b8b8ad9e.js} +1 -1
- package/dist/bundled/v2/{OrPopover-cf702ae7.js → OrPopover-7a6c1cd4.js} +13 -4
- package/dist/bundled/v2/{OrSearch-0048cc41.js → OrSearch-3727d8da.js} +1 -1
- package/dist/bundled/v2/{OrSelect-92ba4bb6.js → OrSelect-2f43ba86.js} +4 -4
- package/dist/bundled/v2/{OrTabs-a4c5b51e.js → OrTabs-edd7cde4.js} +2 -2
- package/dist/bundled/v2/{OrTag-4c3cf27a.js → OrTag-9a7cd529.js} +1 -1
- package/dist/bundled/v2/{OrTooltip-2b60b1c4.js → OrTooltip-cfd2db4e.js} +1 -1
- package/dist/bundled/v2/components/index.js +18 -18
- package/dist/bundled/v2/components/or-button-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-button-v3/props.d.ts +2 -1
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +5 -5
- package/dist/bundled/v2/components/or-confirm-v3/OrConfirm.vue.d.ts +2 -2
- package/dist/bundled/v2/components/or-confirm-v3/index.js +6 -6
- package/dist/bundled/v2/components/or-icon-button-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-inline-input-v3/index.js +4 -4
- package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +4 -4
- package/dist/bundled/v2/components/or-input-v3/index.js +4 -4
- package/dist/bundled/v2/components/or-menu-item-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-menu-v3/OrMenu.stories3.d.ts +5 -0
- package/dist/bundled/v2/components/or-menu-v3/OrMenu.vue.d.ts +4 -0
- package/dist/bundled/v2/components/or-menu-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-modal-v3/index.js +4 -4
- package/dist/bundled/v2/components/or-notification-v3/index.js +4 -4
- package/dist/bundled/v2/components/or-popover-v3/OrPopover.vue.d.ts +4 -0
- package/dist/bundled/v2/components/or-popover-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-search-v3/index.js +5 -5
- package/dist/bundled/v2/components/or-select-v3/index.js +7 -7
- package/dist/bundled/v2/components/or-tabs-v3/index.js +4 -4
- package/dist/bundled/v2/components/or-tag-v3/index.js +4 -4
- package/dist/bundled/v2/components/or-toast-v3/index.js +4 -4
- package/dist/bundled/v2/components/or-tooltip-v3/index.js +2 -2
- package/dist/bundled/v2/index.js +19 -19
- package/dist/bundled/v2/{types-e2400129.js → types-d27f76f9.js} +1 -1
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-8cc3e128.js → OrButton.vue_vue_type_script_lang-5af7999c.js} +6 -1
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-009796eb.js → OrCardCollection.vue_vue_type_script_lang-7d229265.js} +4 -4
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-f4e95460.js → OrConfirm.vue_vue_type_script_lang-5e02d3fa.js} +3 -3
- package/dist/bundled/v3/{OrIconButton-60d6d892.js → OrIconButton-80004253.js} +1 -1
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-0453a94c.js → OrIconButton.vue_vue_type_script_lang-4ee52d8c.js} +1 -1
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-a53ad2a1.js → OrInlineInput.vue_vue_type_script_lang-1560b60b.js} +2 -2
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-719332e2.js → OrInlineTextarea.vue_vue_type_script_lang-bbe7367a.js} +2 -2
- package/dist/bundled/v3/{OrInput-b6e54f65.js → OrInput-af0813e3.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-af21b7c0.js → OrInput.vue_vue_type_script_lang-dd777c4b.js} +2 -2
- package/dist/bundled/v3/{OrMenu.vue_vue_type_script_lang-ae4e9c15.js → OrMenu.vue_vue_type_script_lang-be8c502d.js} +13 -4
- package/dist/bundled/v3/{OrMenuItem-43390552.js → OrMenuItem-94ffa853.js} +1 -1
- package/dist/bundled/v3/{OrMenuItem.vue_vue_type_script_lang-837c00ed.js → OrMenuItem.vue_vue_type_script_lang-ccb7e082.js} +2 -2
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-7bbbcb29.js → OrModal.vue_vue_type_script_lang-2604a4fe.js} +2 -2
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-3f8ab8ef.js → OrNotification.vue_vue_type_script_lang-833d2b09.js} +2 -2
- package/dist/bundled/v3/{OrPopover-398a66a7.js → OrPopover-18a195aa.js} +3 -3
- package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-b6b78855.js → OrPopover.vue_vue_type_script_lang-1ed6063d.js} +12 -1
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-fe254bb6.js → OrSearch.vue_vue_type_script_lang-c0b66fb0.js} +2 -2
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-6c0cc6ce.js → OrSelect.vue_vue_type_script_lang-755aec4d.js} +7 -7
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-ed590ff8.js → OrTabs.vue_vue_type_script_lang-ec81a576.js} +4 -4
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-511e5aae.js → OrTag.vue_vue_type_script_lang-e392eb60.js} +2 -2
- package/dist/bundled/v3/{OrToastContainer-40d69fb8.js → OrToastContainer-d332215c.js} +1 -1
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-d8bca183.js → OrTooltip.vue_vue_type_script_lang-f30b298d.js} +2 -2
- package/dist/bundled/v3/components/index.js +22 -22
- package/dist/bundled/v3/components/or-button-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-button-v3/props.d.ts +2 -1
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +8 -8
- package/dist/bundled/v3/components/or-confirm-v3/OrConfirm.vue.d.ts +2 -2
- package/dist/bundled/v3/components/or-confirm-v3/index.js +9 -9
- package/dist/bundled/v3/components/or-icon-button-v3/index.js +4 -4
- package/dist/bundled/v3/components/or-inline-input-v3/index.js +6 -6
- package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +6 -6
- package/dist/bundled/v3/components/or-input-v3/index.js +6 -6
- package/dist/bundled/v3/components/or-menu-item-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-menu-v3/OrMenu.stories3.d.ts +5 -0
- package/dist/bundled/v3/components/or-menu-v3/OrMenu.vue.d.ts +4 -0
- package/dist/bundled/v3/components/or-menu-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-modal-v3/index.js +6 -6
- package/dist/bundled/v3/components/or-notification-v3/index.js +6 -6
- package/dist/bundled/v3/components/or-popover-v3/OrPopover.vue.d.ts +4 -0
- package/dist/bundled/v3/components/or-popover-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-search-v3/index.js +8 -8
- package/dist/bundled/v3/components/or-select-v3/index.js +11 -11
- package/dist/bundled/v3/components/or-tabs-v3/index.js +6 -6
- package/dist/bundled/v3/components/or-tag-v3/index.js +6 -6
- package/dist/bundled/v3/components/or-toast-v3/index.js +7 -7
- package/dist/bundled/v3/components/or-tooltip-v3/index.js +3 -3
- package/dist/bundled/v3/index.js +33 -33
- package/dist/bundled/v3/{types-e835fb44.js → types-fda0b873.js} +2 -2
- package/dist/esm/v2/{OrButton-eb895669.js → OrButton-b458e82b.js} +6 -1
- package/dist/esm/v2/{OrCardCollection-4b0ac2bc.js → OrCardCollection-7728f71a.js} +2 -2
- package/dist/esm/v2/{OrConfirm-fe91a77f.js → OrConfirm-a8500e49.js} +2 -2
- package/dist/esm/v2/{OrIconButton-a2dda348.js → OrIconButton-7cf56bee.js} +2 -2
- package/dist/esm/v2/{OrInlineInput-d4815724.js → OrInlineInput-6d4f3ff0.js} +1 -1
- package/dist/esm/v2/{OrInlineTextarea-968dc141.js → OrInlineTextarea-5f6e79ee.js} +1 -1
- package/dist/esm/v2/{OrInput-f6f438bd.js → OrInput-ce3023b3.js} +1 -1
- package/dist/esm/v2/{OrMenu-bb81644d.js → OrMenu-8ca8233e.js} +13 -4
- package/dist/esm/v2/{OrMenuItem-9034aece.js → OrMenuItem-038641b7.js} +2 -2
- package/dist/esm/v2/{OrModal-c8617460.js → OrModal-a664a65b.js} +1 -1
- package/dist/esm/v2/{OrNotification-9c5b175d.js → OrNotification-db02404c.js} +1 -1
- package/dist/esm/v2/{OrPopover-9080fc00.js → OrPopover-ba3ddf1a.js} +13 -4
- package/dist/esm/v2/{OrSearch-5f11e597.js → OrSearch-825acf20.js} +1 -1
- package/dist/esm/v2/{OrSelect-806dde86.js → OrSelect-de17d1ce.js} +4 -4
- package/dist/esm/v2/{OrTabs-b1f0c7b8.js → OrTabs-0d8ffa3d.js} +3 -3
- package/dist/esm/v2/{OrTag-f3dbd61f.js → OrTag-85b2543d.js} +1 -1
- package/dist/esm/v2/{OrTooltip-afe7030b.js → OrTooltip-412daa6d.js} +1 -1
- package/dist/esm/v2/components/index.js +18 -18
- package/dist/esm/v2/components/or-button-v3/index.js +1 -1
- package/dist/esm/v2/components/or-button-v3/props.d.ts +2 -1
- package/dist/esm/v2/components/or-card-collection-v3/index.js +5 -5
- package/dist/esm/v2/components/or-confirm-v3/OrConfirm.vue.d.ts +2 -2
- package/dist/esm/v2/components/or-confirm-v3/index.js +6 -6
- package/dist/esm/v2/components/or-icon-button-v3/index.js +3 -3
- package/dist/esm/v2/components/or-inline-input-v3/index.js +4 -4
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +4 -4
- package/dist/esm/v2/components/or-input-v3/index.js +4 -4
- package/dist/esm/v2/components/or-menu-item-v3/index.js +1 -1
- package/dist/esm/v2/components/or-menu-v3/OrMenu.stories3.d.ts +5 -0
- package/dist/esm/v2/components/or-menu-v3/OrMenu.vue.d.ts +4 -0
- package/dist/esm/v2/components/or-menu-v3/index.js +2 -2
- package/dist/esm/v2/components/or-modal-v3/index.js +4 -4
- package/dist/esm/v2/components/or-notification-v3/index.js +4 -4
- package/dist/esm/v2/components/or-popover-v3/OrPopover.vue.d.ts +4 -0
- package/dist/esm/v2/components/or-popover-v3/index.js +1 -1
- package/dist/esm/v2/components/or-search-v3/index.js +5 -5
- package/dist/esm/v2/components/or-select-v3/index.js +7 -7
- package/dist/esm/v2/components/or-tabs-v3/index.js +4 -4
- package/dist/esm/v2/components/or-tag-v3/index.js +4 -4
- package/dist/esm/v2/components/or-toast-v3/index.js +4 -4
- package/dist/esm/v2/components/or-tooltip-v3/index.js +2 -2
- package/dist/esm/v2/index.js +18 -18
- package/dist/esm/v2/{types-d89ea983.js → types-27cc0964.js} +1 -1
- package/dist/esm/v3/{OrButton-12b36e89.js → OrButton-4d0c2edd.js} +6 -1
- package/dist/esm/v3/{OrCardCollection-30914b21.js → OrCardCollection-10548e87.js} +2 -2
- package/dist/esm/v3/{OrConfirm-d702733a.js → OrConfirm-6f38eadc.js} +2 -2
- package/dist/esm/v3/{OrIconButton-f0aca58a.js → OrIconButton-b054899c.js} +2 -2
- package/dist/esm/v3/{OrInlineInput-9afe1893.js → OrInlineInput-3ddfc622.js} +1 -1
- package/dist/esm/v3/{OrInlineTextarea-7c67a298.js → OrInlineTextarea-6c6375da.js} +1 -1
- package/dist/esm/v3/{OrInput-6376195d.js → OrInput-5bc05451.js} +1 -1
- package/dist/esm/v3/{OrMenu-75ef8635.js → OrMenu-00f7c4a8.js} +13 -4
- package/dist/esm/v3/{OrMenuItem-60afcdcb.js → OrMenuItem-d001f0f6.js} +2 -2
- package/dist/esm/v3/{OrModal-ce7a20bf.js → OrModal-b6befffe.js} +1 -1
- package/dist/esm/v3/{OrNotification-4b09a862.js → OrNotification-13a4728d.js} +1 -1
- package/dist/esm/v3/{OrPopover-3525c670.js → OrPopover-67000227.js} +14 -3
- package/dist/esm/v3/{OrSearch-8aaedf9d.js → OrSearch-78d5d667.js} +1 -1
- package/dist/esm/v3/{OrSelect-58a004fd.js → OrSelect-b25ae274.js} +4 -4
- package/dist/esm/v3/{OrTabs-fe7039de.js → OrTabs-a0590a70.js} +3 -3
- package/dist/esm/v3/{OrTag-a3f5dbf4.js → OrTag-b028cab5.js} +1 -1
- package/dist/esm/v3/{OrTooltip-36c6728c.js → OrTooltip-509b0205.js} +1 -1
- package/dist/esm/v3/components/index.js +18 -18
- package/dist/esm/v3/components/or-button-v3/index.js +1 -1
- package/dist/esm/v3/components/or-button-v3/props.d.ts +2 -1
- package/dist/esm/v3/components/or-card-collection-v3/index.js +5 -5
- package/dist/esm/v3/components/or-confirm-v3/OrConfirm.vue.d.ts +2 -2
- package/dist/esm/v3/components/or-confirm-v3/index.js +6 -6
- package/dist/esm/v3/components/or-icon-button-v3/index.js +3 -3
- package/dist/esm/v3/components/or-inline-input-v3/index.js +4 -4
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +4 -4
- package/dist/esm/v3/components/or-input-v3/index.js +4 -4
- package/dist/esm/v3/components/or-menu-item-v3/index.js +1 -1
- package/dist/esm/v3/components/or-menu-v3/OrMenu.stories3.d.ts +5 -0
- package/dist/esm/v3/components/or-menu-v3/OrMenu.vue.d.ts +4 -0
- package/dist/esm/v3/components/or-menu-v3/index.js +2 -2
- package/dist/esm/v3/components/or-modal-v3/index.js +4 -4
- package/dist/esm/v3/components/or-notification-v3/index.js +4 -4
- package/dist/esm/v3/components/or-popover-v3/OrPopover.vue.d.ts +4 -0
- package/dist/esm/v3/components/or-popover-v3/index.js +1 -1
- package/dist/esm/v3/components/or-search-v3/index.js +5 -5
- package/dist/esm/v3/components/or-select-v3/index.js +7 -7
- package/dist/esm/v3/components/or-tabs-v3/index.js +4 -4
- package/dist/esm/v3/components/or-tag-v3/index.js +4 -4
- package/dist/esm/v3/components/or-toast-v3/index.js +4 -4
- package/dist/esm/v3/components/or-tooltip-v3/index.js +2 -2
- package/dist/esm/v3/index.js +18 -18
- package/dist/esm/v3/{types-bc8b5580.js → types-d8940a80.js} +1 -1
- package/package.json +4 -4
- package/src/components/or-button-v3/props.ts +1 -0
- package/src/components/or-button-v3/styles.ts +8 -0
- package/src/components/or-menu-item-v3/styles.ts +2 -2
- package/src/components/or-menu-v3/OrMenu.stories3.ts +60 -0
- package/src/components/or-menu-v3/OrMenu.vue +10 -1
- package/src/components/or-menu-v3/styles.ts +2 -1
- package/src/components/or-popover-v3/OrPopover.vue +14 -1
package/dist/esm/v3/index.js
CHANGED
|
@@ -3,10 +3,10 @@ export { a as AvatarColor, A as AvatarSize, s as OrAvatarV3 } from './OrAvatar-e
|
|
|
3
3
|
export { s as OrBottomSheetV3 } from './OrBottomSheet-9de57dd0.js';
|
|
4
4
|
export { s as OrButton, a as OrButtonColors, b as OrButtonSizes, O as OrButtonViews } from './OrButton-fca9019a.js';
|
|
5
5
|
export { b as BUTTON_COLOR, d as BUTTON_LOADER_TYPE, c as BUTTON_SIZE, B as BUTTON_TYPE, I as ICON_BUTTON_TYPE, s as OrButtonV2, a as OrIconButton } from './OrIconButton-8be9c89f.js';
|
|
6
|
-
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from './OrButton-
|
|
6
|
+
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from './OrButton-4d0c2edd.js';
|
|
7
7
|
export { s as OrCard } from './OrCard-e3a5aea4.js';
|
|
8
8
|
export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from './OrCardCollection-a5e326ef.js';
|
|
9
|
-
export { C as CardCollectionView, s as OrCardCollectionV3 } from './OrCardCollection-
|
|
9
|
+
export { C as CardCollectionView, s as OrCardCollectionV3 } from './OrCardCollection-10548e87.js';
|
|
10
10
|
export { s as OrCardV3 } from './OrCard-b63658a8.js';
|
|
11
11
|
export { a as OrCarousel, s as OrCarouselItem } from './OrCarouselItem-636d99a1.js';
|
|
12
12
|
export { s as OrCheckbox } from './OrCheckbox-a0b957e7.js';
|
|
@@ -16,7 +16,7 @@ export { s as OrCode, O as OrCodeLanguages } from './OrCode-ee19a5e6.js';
|
|
|
16
16
|
export { s as OrCollapse } from './OrCollapse-445141ab.js';
|
|
17
17
|
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-189cb097.js';
|
|
18
18
|
export { s as OrConfirm } from './OrConfirm-f39bd784.js';
|
|
19
|
-
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-
|
|
19
|
+
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-6f38eadc.js';
|
|
20
20
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-f2e08564.js';
|
|
21
21
|
export { s as OrError } from './OrError-f90296db.js';
|
|
22
22
|
export { s as OrErrorTagV3 } from './OrErrorTag-bbfd3ca6.js';
|
|
@@ -27,14 +27,14 @@ export { s as OrFloating, a as OrFloatingHideStrategy, O as OrFloatingPlacements
|
|
|
27
27
|
export { s as OrHint } from './OrHint-1414c530.js';
|
|
28
28
|
export { s as OrHintV3 } from './OrHint-73835593.js';
|
|
29
29
|
export { s as OrIcon, O as OrIconColors, a as OrIconType } from './OrIcon-669503c3.js';
|
|
30
|
-
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-
|
|
30
|
+
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-b054899c.js';
|
|
31
31
|
export { a as IconSize, I as IconVariant, s as OrIconV3 } from './OrIcon-e2fa4cf8.js';
|
|
32
32
|
export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3 } from './OrInlineInputBox-1b473796.js';
|
|
33
|
-
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-
|
|
33
|
+
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-3ddfc622.js';
|
|
34
34
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from './OrInlineTextEdit-1aa477b5.js';
|
|
35
|
-
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-
|
|
35
|
+
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-6c6375da.js';
|
|
36
36
|
export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, s as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from './OrInputBox-634230b1.js';
|
|
37
|
-
export { I as InputType, s as OrInputV3 } from './OrInput-
|
|
37
|
+
export { I as InputType, s as OrInputV3 } from './OrInput-5bc05451.js';
|
|
38
38
|
export { a as OrInput, b as OrNumberInput, c as OrPassword, d as OrSearch, s as OrTextarea } from './OrSearch-7cb2c91c.js';
|
|
39
39
|
export { s as OrLabel } from './OrLabel-876f8729.js';
|
|
40
40
|
export { L as LabelVariant, s as OrLabelV3 } from './OrLabel-7d4fe80b.js';
|
|
@@ -43,13 +43,13 @@ export { s as OrList } from './OrList-b740d13e.js';
|
|
|
43
43
|
export { s as OrListOfInputs } from './OrListOfInputs-7a67440f.js';
|
|
44
44
|
export { L as LoaderViews, s as OrLoader } from './OrLoader-15174477.js';
|
|
45
45
|
export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, s as OrLoaderV3 } from './OrLoader-60943812.js';
|
|
46
|
-
export { s as OrMenuItemV3 } from './OrMenuItem-
|
|
47
|
-
export { s as OrMenuV3 } from './OrMenu-
|
|
48
|
-
export { P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-
|
|
46
|
+
export { s as OrMenuItemV3 } from './OrMenuItem-d001f0f6.js';
|
|
47
|
+
export { s as OrMenuV3 } from './OrMenu-00f7c4a8.js';
|
|
48
|
+
export { P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-67000227.js';
|
|
49
49
|
export { s as OrModal, O as OrModalSizes } from './OrModal-8b074b0c.js';
|
|
50
|
-
export { M as ModalSize, s as OrModalV3 } from './OrModal-
|
|
50
|
+
export { M as ModalSize, s as OrModalV3 } from './OrModal-b6befffe.js';
|
|
51
51
|
export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, s as OrNotification } from './OrNotification-e85a4956.js';
|
|
52
|
-
export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-
|
|
52
|
+
export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-13a4728d.js';
|
|
53
53
|
export { s as OrOverflowMenu } from './OrOverflowMenu-e82cbcbe.js';
|
|
54
54
|
export { s as OrOverlay } from './OrOverlay-451dce49.js';
|
|
55
55
|
export { s as OrOverlayV3 } from './OrOverlay-27050c19.js';
|
|
@@ -58,10 +58,10 @@ export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrPr
|
|
|
58
58
|
export { s as OrRadio } from './OrRadio-c3ab11f2.js';
|
|
59
59
|
export { s as OrRadioGroup } from './OrRadioGroup-00785e41.js';
|
|
60
60
|
export { s as OrRadioV3 } from './OrRadio-0c1883f2.js';
|
|
61
|
-
export { s as OrSearchV3 } from './OrSearch-
|
|
61
|
+
export { s as OrSearchV3 } from './OrSearch-78d5d667.js';
|
|
62
62
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-2bbc0f22.js';
|
|
63
63
|
export { s as OrSelect } from './OrSelect-73690828.js';
|
|
64
|
-
export { s as OrSelectV3 } from './OrSelect-
|
|
64
|
+
export { s as OrSelectV3 } from './OrSelect-b25ae274.js';
|
|
65
65
|
export { s as OrSidebar, O as OrSidebarSide } from './OrSidebar-375c85a3.js';
|
|
66
66
|
export { O as OrSidebarPlacement, s as OrSidebarV3 } from './OrSidebar-a62972f5.js';
|
|
67
67
|
export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './OrSkeletonText-2b1610ce.js';
|
|
@@ -75,9 +75,9 @@ export { s as OrTab } from './OrTab-bc98be02.js';
|
|
|
75
75
|
export { s as OrTabHeaderItem } from './OrTabHeaderItem-d668cc59.js';
|
|
76
76
|
export { s as OrTabV3 } from './OrTab-97044946.js';
|
|
77
77
|
export { s as OrTabs } from './OrTabs-d3812c11.js';
|
|
78
|
-
export { s as OrTabsV3, T as TabsVariant } from './OrTabs-
|
|
78
|
+
export { s as OrTabsV3, T as TabsVariant } from './OrTabs-a0590a70.js';
|
|
79
79
|
export { s as OrTag } from './OrTag-1b5e43fa.js';
|
|
80
|
-
export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-
|
|
80
|
+
export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-b028cab5.js';
|
|
81
81
|
export { s as OrTeleport } from './OrTeleportVue3-ad639f12.js';
|
|
82
82
|
export { s as OrTeleportV3 } from './OrTeleport.vue3-8099178c.js';
|
|
83
83
|
export { s as OrTextV3 } from './OrText-ecb46923.js';
|
|
@@ -85,10 +85,10 @@ export { s as OrTextareaV3 } from './OrTextarea-98895b2a.js';
|
|
|
85
85
|
export { s as OrTextbox, T as TextboxTypes } from './OrTextbox-2f33e9c3.js';
|
|
86
86
|
export { s as OrToast, a as OrToastContainer } from './OrToastContainer-40c4c1c8.js';
|
|
87
87
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
|
|
88
|
-
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-
|
|
88
|
+
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-d8940a80.js';
|
|
89
89
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-0665462d.js';
|
|
90
90
|
export { s as OrTooltip, a as OrTooltipContent } from './OrTooltip-78cd7f6b.js';
|
|
91
|
-
export { s as OrTooltipV3 } from './OrTooltip-
|
|
91
|
+
export { s as OrTooltipV3 } from './OrTooltip-509b0205.js';
|
|
92
92
|
export { D as DropdownClose, a as DropdownOpen } from './dropdown-open-0d314aa4.js';
|
|
93
93
|
export { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
94
94
|
export { u as useElevation } from './useElevation-0e973238.js';
|
|
@@ -2,7 +2,7 @@ import { useToggle } from '@vueuse/core';
|
|
|
2
2
|
import { defineComponent, ref, computed, onBeforeMount, onBeforeUnmount, nextTick } from 'vue-demi';
|
|
3
3
|
import { s as script$4 } from './OrTeleport.vue3-8099178c.js';
|
|
4
4
|
import { T as ToastType, P as PositionsX, b as PositionsY, c as TransitionType, d as useToastEventBus, a as useQueue } from './useToast-0665462d.js';
|
|
5
|
-
import { s as script$2 } from './OrIconButton-
|
|
5
|
+
import { s as script$2 } from './OrIconButton-b054899c.js';
|
|
6
6
|
import { s as script$3 } from './OrLoader-60943812.js';
|
|
7
7
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, createVNode, toDisplayString, createElementVNode, createBlock, withModifiers, withCtx, TransitionGroup, Fragment, renderList, mergeProps } from 'vue';
|
|
8
8
|
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": "2.66.0",
|
|
3
|
+
"version": "2.66.1-beta.1978.0",
|
|
4
4
|
"description": "Vue components library for v2/3",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/auto/index.js",
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"./bundled/v3/*": {
|
|
122
122
|
"types": "./dist/bundled/v3/components/*/index.d.ts",
|
|
123
123
|
"default": "./dist/bundled/v3/components/*/index.js"
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
|
|
124
|
+
},
|
|
125
|
+
"./package.json": "./package.json"
|
|
126
|
+
}
|
|
127
127
|
}
|
|
@@ -61,6 +61,8 @@ export const ButtonRootColors: Record<`${ButtonColor}-${ButtonVariant}`, string[
|
|
|
61
61
|
'dark:theme-preset-1-error-dark',
|
|
62
62
|
],
|
|
63
63
|
|
|
64
|
+
'inherit-contained': [],
|
|
65
|
+
|
|
64
66
|
'primary-outlined': [
|
|
65
67
|
// Theme
|
|
66
68
|
'theme-preset-3-primary',
|
|
@@ -79,6 +81,8 @@ export const ButtonRootColors: Record<`${ButtonColor}-${ButtonVariant}`, string[
|
|
|
79
81
|
'dark:theme-border-1-error-dark',
|
|
80
82
|
],
|
|
81
83
|
|
|
84
|
+
'inherit-outlined': [],
|
|
85
|
+
|
|
82
86
|
'primary-text': [
|
|
83
87
|
// Theme
|
|
84
88
|
'theme-preset-4-primary',
|
|
@@ -91,6 +95,8 @@ export const ButtonRootColors: Record<`${ButtonColor}-${ButtonVariant}`, string[
|
|
|
91
95
|
'dark:theme-preset-4-error-dark',
|
|
92
96
|
],
|
|
93
97
|
|
|
98
|
+
'inherit-text': [],
|
|
99
|
+
|
|
94
100
|
'primary-link': [
|
|
95
101
|
// Theme
|
|
96
102
|
'theme-preset-4-primary',
|
|
@@ -102,4 +108,6 @@ export const ButtonRootColors: Record<`${ButtonColor}-${ButtonVariant}`, string[
|
|
|
102
108
|
'theme-preset-4-error',
|
|
103
109
|
'dark:theme-preset-4-error-dark',
|
|
104
110
|
],
|
|
111
|
+
|
|
112
|
+
'inherit-link': [],
|
|
105
113
|
};
|
|
@@ -12,10 +12,10 @@ export const MenuItemRoot: string[] = [
|
|
|
12
12
|
'interactivity-auto',
|
|
13
13
|
|
|
14
14
|
// Typography
|
|
15
|
-
'typography-caption-regular',
|
|
15
|
+
'typography-body-2-regular md:typography-caption-regular',
|
|
16
16
|
|
|
17
17
|
// Typography (selected)
|
|
18
|
-
'selected:typography-caption-semibold',
|
|
18
|
+
'selected:typography-body-2-semibold selected:md:typography-caption-semibold',
|
|
19
19
|
|
|
20
20
|
// Theme
|
|
21
21
|
'theme-preset-3-primary',
|
|
@@ -3,6 +3,7 @@ import { Meta, StoryFn } from '@storybook/vue3';
|
|
|
3
3
|
import { ref } from 'vue-demi';
|
|
4
4
|
import { OrButtonV3 as OrButton } from '../or-button-v3';
|
|
5
5
|
import { OrMenuItemV3 as OrMenuItem } from '../or-menu-item-v3';
|
|
6
|
+
import { OrIconV3 as OrIcon } from '../or-icon-v3';
|
|
6
7
|
import OrMenuDocs from './OrMenu.docs.mdx';
|
|
7
8
|
import OrMenu from './OrMenu.vue';
|
|
8
9
|
import { MenuPlacement } from './props';
|
|
@@ -105,3 +106,62 @@ Menu.args = {
|
|
|
105
106
|
<OrMenuItem>Very Looooooooooooooooooooooooooooooooooooooooooooooooooooooooong Item</OrMenuItem>
|
|
106
107
|
`,
|
|
107
108
|
};
|
|
109
|
+
|
|
110
|
+
const OrderDropdownTemplate: StoryFn<typeof OrMenu> = (args) => ({
|
|
111
|
+
components: {
|
|
112
|
+
OrButton,
|
|
113
|
+
OrMenu,
|
|
114
|
+
OrMenuItem,
|
|
115
|
+
OrIcon,
|
|
116
|
+
},
|
|
117
|
+
|
|
118
|
+
setup() {
|
|
119
|
+
// Refs
|
|
120
|
+
const button = ref<InstanceType<typeof OrButton>>();
|
|
121
|
+
const menu = ref<InstanceType<typeof OrMenu>>();
|
|
122
|
+
|
|
123
|
+
return {
|
|
124
|
+
args,
|
|
125
|
+
button,
|
|
126
|
+
menu,
|
|
127
|
+
onUpdateState: action('update:state'),
|
|
128
|
+
};
|
|
129
|
+
},
|
|
130
|
+
|
|
131
|
+
template: `
|
|
132
|
+
<div class="contents">
|
|
133
|
+
<OrButton
|
|
134
|
+
ref="button"
|
|
135
|
+
variant="link"
|
|
136
|
+
color="inherit"
|
|
137
|
+
@click="menu.toggle()"
|
|
138
|
+
>
|
|
139
|
+
Last Updated
|
|
140
|
+
<OrIcon
|
|
141
|
+
v-if="menu"
|
|
142
|
+
:icon="menu.isOpen ? 'arrow_drop_up' : 'arrow_drop_down'"
|
|
143
|
+
/>
|
|
144
|
+
</OrButton>
|
|
145
|
+
<OrMenu
|
|
146
|
+
ref="menu"
|
|
147
|
+
v-bind="args"
|
|
148
|
+
:trigger="button?.root"
|
|
149
|
+
@update:state="onUpdateState"
|
|
150
|
+
>
|
|
151
|
+
${args.default}
|
|
152
|
+
</OrMenu>
|
|
153
|
+
</div>
|
|
154
|
+
`,
|
|
155
|
+
});
|
|
156
|
+
|
|
157
|
+
export const OrderDropdown = OrderDropdownTemplate.bind({});
|
|
158
|
+
|
|
159
|
+
OrderDropdown.args = {
|
|
160
|
+
// Slots
|
|
161
|
+
default: `
|
|
162
|
+
<OrMenuItem selected>Last Updated</OrMenuItem>
|
|
163
|
+
<OrMenuItem>Firs Updated</OrMenuItem>
|
|
164
|
+
<OrMenuItem>A - Z</OrMenuItem>
|
|
165
|
+
<OrMenuItem>Z - A</OrMenuItem>
|
|
166
|
+
`,
|
|
167
|
+
};
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
>
|
|
7
7
|
<OrPopover
|
|
8
8
|
ref="popover"
|
|
9
|
-
:variant="'
|
|
9
|
+
:variant="'auto'"
|
|
10
10
|
:trigger="trigger"
|
|
11
11
|
:placement="placement"
|
|
12
12
|
:full-width="false"
|
|
@@ -59,6 +59,8 @@ export default defineComponent({
|
|
|
59
59
|
'root',
|
|
60
60
|
'open',
|
|
61
61
|
'close',
|
|
62
|
+
'isOpen',
|
|
63
|
+
'toggle',
|
|
62
64
|
],
|
|
63
65
|
|
|
64
66
|
setup() {
|
|
@@ -67,6 +69,7 @@ export default defineComponent({
|
|
|
67
69
|
|
|
68
70
|
const popover = ref<InstanceType<typeof OrPopover>>();
|
|
69
71
|
const popoverRoot = computed(() => popover.value?.root);
|
|
72
|
+
const isOpen = computed(() => popover.value?.isOpen);
|
|
70
73
|
|
|
71
74
|
// Styles
|
|
72
75
|
const classAttribute = useClassAttribute();
|
|
@@ -98,6 +101,10 @@ export default defineComponent({
|
|
|
98
101
|
}
|
|
99
102
|
}
|
|
100
103
|
|
|
104
|
+
function toggle(): void {
|
|
105
|
+
isOpen.value ? close() : open();
|
|
106
|
+
}
|
|
107
|
+
|
|
101
108
|
// Handlers
|
|
102
109
|
function onClick(event: Event): void {
|
|
103
110
|
const path = event.composedPath() as HTMLElement[];
|
|
@@ -117,8 +124,10 @@ export default defineComponent({
|
|
|
117
124
|
popoverRoot,
|
|
118
125
|
rootStyles,
|
|
119
126
|
bodyStyles,
|
|
127
|
+
isOpen,
|
|
120
128
|
open,
|
|
121
129
|
close,
|
|
130
|
+
toggle,
|
|
122
131
|
onClick,
|
|
123
132
|
};
|
|
124
133
|
},
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
<template v-if="isMobile && variant === 'auto' || variant === 'bottom-sheet'">
|
|
22
22
|
<OrBottomSheet
|
|
23
23
|
ref="bottomSheet"
|
|
24
|
-
@update:state="
|
|
24
|
+
@update:state="handleBottomSheetState"
|
|
25
25
|
>
|
|
26
26
|
<slot />
|
|
27
27
|
</OrBottomSheet>
|
|
@@ -83,6 +83,7 @@ export default defineComponent({
|
|
|
83
83
|
expose: [
|
|
84
84
|
'root',
|
|
85
85
|
'state',
|
|
86
|
+
'isOpen',
|
|
86
87
|
'open',
|
|
87
88
|
'close',
|
|
88
89
|
],
|
|
@@ -112,6 +113,7 @@ export default defineComponent({
|
|
|
112
113
|
|
|
113
114
|
// State
|
|
114
115
|
const state = ref<'open' | 'closed'>('closed');
|
|
116
|
+
const isOpen = computed(() => state.value === 'open');
|
|
115
117
|
|
|
116
118
|
// Events
|
|
117
119
|
watch(state, (value) => {
|
|
@@ -185,6 +187,15 @@ export default defineComponent({
|
|
|
185
187
|
}
|
|
186
188
|
}
|
|
187
189
|
|
|
190
|
+
// Handlers
|
|
191
|
+
function handleBottomSheetState(bottomSheetState: string): void {
|
|
192
|
+
if (bottomSheetState === 'closed') {
|
|
193
|
+
state.value = 'closed';
|
|
194
|
+
} else {
|
|
195
|
+
state.value = 'open';
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
|
|
188
199
|
// Effects
|
|
189
200
|
watchPostEffect(() => {
|
|
190
201
|
const rootElement = unref(root);
|
|
@@ -233,9 +244,11 @@ export default defineComponent({
|
|
|
233
244
|
root,
|
|
234
245
|
bottomSheet,
|
|
235
246
|
bottomSheetRoot,
|
|
247
|
+
handleBottomSheetState,
|
|
236
248
|
rootStyles,
|
|
237
249
|
bodyStyles,
|
|
238
250
|
state,
|
|
251
|
+
isOpen,
|
|
239
252
|
open,
|
|
240
253
|
close,
|
|
241
254
|
};
|