@onereach/ui-components 2.69.7-beta.2183.0 → 2.69.7-beta.2184.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/{OrCardCollection-c4209a92.js → OrCardCollection-754aa36f.js} +2 -2
- package/dist/bundled/v2/{OrConfirm-cab6535b.js → OrConfirm-cf334659.js} +1 -1
- package/dist/bundled/v2/{OrIconButton-a215104c.js → OrIconButton-a2ba92df.js} +4 -4
- package/dist/bundled/v2/{OrInlineInput-9add2e1e.js → OrInlineInput-87589946.js} +1 -1
- package/dist/bundled/v2/{OrInlineTextarea-9c6f9044.js → OrInlineTextarea-21b0e6fc.js} +1 -1
- package/dist/bundled/v2/{OrInput-8b90e08f.js → OrInput-82ccfe00.js} +1 -1
- package/dist/bundled/v2/{OrModal-f89de11f.js → OrModal-af6677fd.js} +3 -12
- package/dist/bundled/v2/{OrNotification-d76a062d.js → OrNotification-3250f58b.js} +5 -13
- package/dist/bundled/v2/{OrSearch-76b002cf.js → OrSearch-53470b0e.js} +1 -1
- package/dist/bundled/v2/{OrSelect-be1d3178.js → OrSelect-2e48be47.js} +2 -2
- package/dist/bundled/v2/{OrTag-20454429.js → OrTag-e3e6fdd6.js} +3 -3
- package/dist/bundled/v2/components/index.js +12 -12
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +4 -4
- package/dist/bundled/v2/components/or-confirm-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-icon-button-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-icon-button-v3/props.d.ts +1 -1
- package/dist/bundled/v2/components/or-inline-input-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-input-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-modal-v3/OrModal.vue.d.ts +0 -2
- package/dist/bundled/v2/components/or-modal-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-modal-v3/styles.d.ts +0 -1
- package/dist/bundled/v2/components/or-notification-v3/OrNotification.vue.d.ts +0 -2
- package/dist/bundled/v2/components/or-notification-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-notification-v3/styles.d.ts +0 -1
- package/dist/bundled/v2/components/or-search-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-select-v3/index.js +4 -4
- package/dist/bundled/v2/components/or-tag-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-toast-v3/OrToast.vue.d.ts +0 -2
- package/dist/bundled/v2/components/or-toast-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-toast-v3/styles.d.ts +0 -1
- package/dist/bundled/v2/index.js +12 -12
- package/dist/bundled/v2/{types-fdd34542.js → types-8fe4e345.js} +8 -17
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-9a2ae9a3.js → OrCardCollection.vue_vue_type_script_lang-365741ae.js} +3 -3
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-f57ffa1a.js → OrConfirm.vue_vue_type_script_lang-68329ca1.js} +2 -2
- package/dist/bundled/v3/{OrIconButton-1581013c.js → OrIconButton-cd62526d.js} +1 -1
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-f6f801ff.js → OrIconButton.vue_vue_type_script_lang-aefcf30d.js} +4 -4
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-f29483f4.js → OrInlineInput.vue_vue_type_script_lang-67218502.js} +2 -2
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-cc40af48.js → OrInlineTextarea.vue_vue_type_script_lang-a1831ab8.js} +2 -2
- package/dist/bundled/v3/{OrInput-fa782fc1.js → OrInput-a4f220ed.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-f6d793d3.js → OrInput.vue_vue_type_script_lang-607d79d4.js} +2 -2
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-80a7b906.js → OrModal.vue_vue_type_script_lang-55c864d1.js} +2 -9
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-fbb35355.js → OrNotification.vue_vue_type_script_lang-c886ae51.js} +2 -9
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-014ad470.js → OrSearch.vue_vue_type_script_lang-06f318ca.js} +2 -2
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-676c90ac.js → OrSelect.vue_vue_type_script_lang-a5ecc5ed.js} +4 -4
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-13ee8ba6.js → OrTag.vue_vue_type_script_lang-e45c345b.js} +3 -3
- package/dist/bundled/v3/{OrToastContainer-7c3c0b12.js → OrToastContainer-34389303.js} +1 -1
- package/dist/bundled/v3/components/index.js +14 -14
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +6 -6
- package/dist/bundled/v3/components/or-confirm-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-icon-button-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-icon-button-v3/props.d.ts +1 -1
- package/dist/bundled/v3/components/or-inline-input-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-input-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-modal-v3/OrModal.vue.d.ts +0 -2
- package/dist/bundled/v3/components/or-modal-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-modal-v3/styles.d.ts +0 -1
- package/dist/bundled/v3/components/or-notification-v3/OrNotification.vue.d.ts +0 -2
- package/dist/bundled/v3/components/or-notification-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-notification-v3/styles.d.ts +0 -1
- package/dist/bundled/v3/components/or-search-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-select-v3/index.js +6 -6
- package/dist/bundled/v3/components/or-tag-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-toast-v3/OrToast.vue.d.ts +0 -2
- package/dist/bundled/v3/components/or-toast-v3/index.js +4 -4
- package/dist/bundled/v3/components/or-toast-v3/styles.d.ts +0 -1
- package/dist/bundled/v3/index.js +27 -30
- package/dist/bundled/v3/{types-dcc78caa.js → types-f53434f2.js} +7 -16
- package/dist/esm/v2/{OrCardCollection-57d11adf.js → OrCardCollection-153b0179.js} +2 -2
- package/dist/esm/v2/{OrConfirm-ec7aef0e.js → OrConfirm-d67d5c00.js} +1 -1
- package/dist/esm/v2/{OrIconButton-e17e4944.js → OrIconButton-b3779042.js} +4 -4
- package/dist/esm/v2/{OrInlineInput-cfeeea33.js → OrInlineInput-10205811.js} +1 -1
- package/dist/esm/v2/{OrInlineTextarea-897b5377.js → OrInlineTextarea-7658611e.js} +1 -1
- package/dist/esm/v2/{OrInput-2f16a7ac.js → OrInput-ada3a970.js} +1 -1
- package/dist/esm/v2/{OrModal-5b37a50a.js → OrModal-a7719843.js} +3 -12
- package/dist/esm/v2/{OrNotification-c765f111.js → OrNotification-8a4830a3.js} +5 -13
- package/dist/esm/v2/{OrSearch-2f260b09.js → OrSearch-0f08f2f5.js} +1 -1
- package/dist/esm/v2/{OrSelect-15d16d25.js → OrSelect-b3794fd3.js} +2 -2
- package/dist/esm/v2/{OrTag-a82fba65.js → OrTag-52e4cc94.js} +3 -3
- package/dist/esm/v2/components/index.js +12 -12
- package/dist/esm/v2/components/or-card-collection-v3/index.js +4 -4
- package/dist/esm/v2/components/or-confirm-v3/index.js +3 -3
- package/dist/esm/v2/components/or-icon-button-v3/index.js +1 -1
- package/dist/esm/v2/components/or-icon-button-v3/props.d.ts +1 -1
- package/dist/esm/v2/components/or-inline-input-v3/index.js +2 -2
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +2 -2
- package/dist/esm/v2/components/or-input-v3/index.js +2 -2
- package/dist/esm/v2/components/or-modal-v3/OrModal.vue.d.ts +0 -2
- package/dist/esm/v2/components/or-modal-v3/index.js +2 -2
- package/dist/esm/v2/components/or-modal-v3/styles.d.ts +0 -1
- package/dist/esm/v2/components/or-notification-v3/OrNotification.vue.d.ts +0 -2
- package/dist/esm/v2/components/or-notification-v3/index.js +2 -2
- package/dist/esm/v2/components/or-notification-v3/styles.d.ts +0 -1
- package/dist/esm/v2/components/or-search-v3/index.js +3 -3
- package/dist/esm/v2/components/or-select-v3/index.js +4 -4
- package/dist/esm/v2/components/or-tag-v3/index.js +2 -2
- package/dist/esm/v2/components/or-toast-v3/OrToast.vue.d.ts +0 -2
- package/dist/esm/v2/components/or-toast-v3/index.js +2 -2
- package/dist/esm/v2/components/or-toast-v3/styles.d.ts +0 -1
- package/dist/esm/v2/index.js +12 -12
- package/dist/esm/v2/{types-8d58d7b5.js → types-6c742e07.js} +8 -17
- package/dist/esm/v3/{OrCardCollection-2a6514f3.js → OrCardCollection-a09ad585.js} +2 -2
- package/dist/esm/v3/{OrConfirm-5d56cbd3.js → OrConfirm-b93b5131.js} +1 -1
- package/dist/esm/v3/{OrIconButton-1eebcafc.js → OrIconButton-1a89fbf9.js} +4 -4
- package/dist/esm/v3/{OrInlineInput-31026cd0.js → OrInlineInput-507fc99c.js} +1 -1
- package/dist/esm/v3/{OrInlineTextarea-b28c3d8c.js → OrInlineTextarea-53a9e027.js} +1 -1
- package/dist/esm/v3/{OrInput-41691fb3.js → OrInput-9c0426b9.js} +1 -1
- package/dist/esm/v3/{OrModal-381554a6.js → OrModal-7878cc39.js} +3 -12
- package/dist/esm/v3/{OrNotification-34d9c99b.js → OrNotification-e1383681.js} +4 -12
- package/dist/esm/v3/{OrSearch-e5a2e93e.js → OrSearch-9885d178.js} +1 -1
- package/dist/esm/v3/{OrSelect-4d73e8ae.js → OrSelect-a0718c44.js} +2 -2
- package/dist/esm/v3/{OrTag-d142e4bc.js → OrTag-efa7578f.js} +3 -3
- package/dist/esm/v3/components/index.js +12 -12
- package/dist/esm/v3/components/or-card-collection-v3/index.js +4 -4
- package/dist/esm/v3/components/or-confirm-v3/index.js +3 -3
- package/dist/esm/v3/components/or-icon-button-v3/index.js +1 -1
- package/dist/esm/v3/components/or-icon-button-v3/props.d.ts +1 -1
- package/dist/esm/v3/components/or-inline-input-v3/index.js +2 -2
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +2 -2
- package/dist/esm/v3/components/or-input-v3/index.js +2 -2
- package/dist/esm/v3/components/or-modal-v3/OrModal.vue.d.ts +0 -2
- package/dist/esm/v3/components/or-modal-v3/index.js +2 -2
- package/dist/esm/v3/components/or-modal-v3/styles.d.ts +0 -1
- package/dist/esm/v3/components/or-notification-v3/OrNotification.vue.d.ts +0 -2
- package/dist/esm/v3/components/or-notification-v3/index.js +2 -2
- package/dist/esm/v3/components/or-notification-v3/styles.d.ts +0 -1
- package/dist/esm/v3/components/or-search-v3/index.js +3 -3
- package/dist/esm/v3/components/or-select-v3/index.js +4 -4
- package/dist/esm/v3/components/or-tag-v3/index.js +2 -2
- package/dist/esm/v3/components/or-toast-v3/OrToast.vue.d.ts +0 -2
- package/dist/esm/v3/components/or-toast-v3/index.js +2 -2
- package/dist/esm/v3/components/or-toast-v3/styles.d.ts +0 -1
- package/dist/esm/v3/index.js +12 -12
- package/dist/esm/v3/{types-8a338300.js → types-2692e337.js} +6 -15
- package/package.json +1 -1
- package/src/components/or-icon-button-v3/OrIconButton.vue +1 -1
- package/src/components/or-icon-button-v3/props.ts +1 -1
- package/src/components/or-icon-button-v3/styles.ts +4 -1
- package/src/components/or-modal-v3/OrModal.vue +6 -13
- package/src/components/or-modal-v3/styles.ts +0 -9
- package/src/components/or-notification-v3/OrNotification.vue +6 -12
- package/src/components/or-notification-v3/styles.ts +0 -9
- package/src/components/or-tag-v3/OrTag.vue +1 -1
- package/src/components/or-tag-v3/styles.ts +0 -3
- package/src/components/or-toast-v3/OrToast.vue +6 -13
- package/src/components/or-toast-v3/styles.ts +0 -9
package/dist/esm/v3/index.js
CHANGED
|
@@ -6,7 +6,7 @@ export { b as BUTTON_COLOR, d as BUTTON_LOADER_TYPE, c as BUTTON_SIZE, B as BUTT
|
|
|
6
6
|
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from './OrButton-bb6bf8a9.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 { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-
|
|
9
|
+
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-a09ad585.js';
|
|
10
10
|
export { s as OrCardV3 } from './OrCard-fd92f7c8.js';
|
|
11
11
|
export { a as OrCarousel, s as OrCarouselItem } from './OrCarouselItem-636d99a1.js';
|
|
12
12
|
export { s as OrCheckbox } from './OrCheckbox-ed4a19cf.js';
|
|
@@ -16,7 +16,7 @@ export { s as OrCode, O as OrCodeLanguages } from './OrCode-5ed69c23.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-b93b5131.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-98252eef.js';
|
|
@@ -28,14 +28,14 @@ export { s as OrFloating, a as OrFloatingHideStrategy, O as OrFloatingPlacements
|
|
|
28
28
|
export { s as OrHint } from './OrHint-1414c530.js';
|
|
29
29
|
export { s as OrHintV3 } from './OrHint-74bb732d.js';
|
|
30
30
|
export { s as OrIcon, O as OrIconColors, a as OrIconType } from './OrIcon-669503c3.js';
|
|
31
|
-
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-
|
|
31
|
+
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-1a89fbf9.js';
|
|
32
32
|
export { I as IconButtonSize, I as IconSize, a as IconVariant, s as OrIconV3 } from './OrIcon-b195169c.js';
|
|
33
33
|
export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3 } from './OrInlineInputBox-8049f95a.js';
|
|
34
|
-
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-
|
|
34
|
+
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-507fc99c.js';
|
|
35
35
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from './OrInlineTextEdit-1aa477b5.js';
|
|
36
|
-
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-
|
|
36
|
+
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-53a9e027.js';
|
|
37
37
|
export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, s as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from './OrInputBox-6d1b6059.js';
|
|
38
|
-
export { I as InputType, s as OrInputV3 } from './OrInput-
|
|
38
|
+
export { I as InputType, s as OrInputV3 } from './OrInput-9c0426b9.js';
|
|
39
39
|
export { a as OrInput, b as OrNumberInput, c as OrPassword, d as OrSearch, s as OrTextarea } from './OrSearch-7cb2c91c.js';
|
|
40
40
|
export { s as OrLabel } from './OrLabel-876f8729.js';
|
|
41
41
|
export { L as LabelVariant, s as OrLabelV3 } from './OrLabel-bdaec602.js';
|
|
@@ -48,9 +48,9 @@ export { s as OrMenuItemV3 } from './OrMenuItem-9da279f6.js';
|
|
|
48
48
|
export { s as OrMenuV3 } from './OrMenu-840038cd.js';
|
|
49
49
|
export { P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-1075dd38.js';
|
|
50
50
|
export { s as OrModal, O as OrModalSizes } from './OrModal-8b074b0c.js';
|
|
51
|
-
export { M as ModalSize, s as OrModalV3 } from './OrModal-
|
|
51
|
+
export { M as ModalSize, s as OrModalV3 } from './OrModal-7878cc39.js';
|
|
52
52
|
export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, s as OrNotification } from './OrNotification-e85a4956.js';
|
|
53
|
-
export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-
|
|
53
|
+
export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-e1383681.js';
|
|
54
54
|
export { s as OrOverflowMenu } from './OrOverflowMenu-e82cbcbe.js';
|
|
55
55
|
export { s as OrOverlay } from './OrOverlay-451dce49.js';
|
|
56
56
|
export { s as OrOverlayV3 } from './OrOverlay-738a44d5.js';
|
|
@@ -59,10 +59,10 @@ export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrPr
|
|
|
59
59
|
export { s as OrRadio } from './OrRadio-c3ab11f2.js';
|
|
60
60
|
export { s as OrRadioGroup } from './OrRadioGroup-00785e41.js';
|
|
61
61
|
export { s as OrRadioV3 } from './OrRadio-54b6d0de.js';
|
|
62
|
-
export { s as OrSearchV3 } from './OrSearch-
|
|
62
|
+
export { s as OrSearchV3 } from './OrSearch-9885d178.js';
|
|
63
63
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-171cad78.js';
|
|
64
64
|
export { s as OrSelect } from './OrSelect-0821b907.js';
|
|
65
|
-
export { s as OrSelectV3 } from './OrSelect-
|
|
65
|
+
export { s as OrSelectV3 } from './OrSelect-a0718c44.js';
|
|
66
66
|
export { s as OrSidebar, O as OrSidebarSide } from './OrSidebar-375c85a3.js';
|
|
67
67
|
export { O as OrSidebarPlacement, s as OrSidebarV3 } from './OrSidebar-a62972f5.js';
|
|
68
68
|
export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './OrSkeletonText-2b1610ce.js';
|
|
@@ -78,7 +78,7 @@ export { s as OrTabV3 } from './OrTab-c131cf60.js';
|
|
|
78
78
|
export { s as OrTabs } from './OrTabs-d3812c11.js';
|
|
79
79
|
export { s as OrTabsV3, T as TabsVariant } from './OrTabs-d0ee6cef.js';
|
|
80
80
|
export { s as OrTag } from './OrTag-1b5e43fa.js';
|
|
81
|
-
export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-
|
|
81
|
+
export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-efa7578f.js';
|
|
82
82
|
export { s as OrTeleport } from './OrTeleportVue3-ad639f12.js';
|
|
83
83
|
export { s as OrTeleportV3 } from './OrTeleport.vue3-8099178c.js';
|
|
84
84
|
export { s as OrTextV3 } from './OrText-ecb46923.js';
|
|
@@ -86,7 +86,7 @@ export { s as OrTextareaV3 } from './OrTextarea-bb9ef3f2.js';
|
|
|
86
86
|
export { s as OrTextbox, T as TextboxTypes } from './OrTextbox-2f33e9c3.js';
|
|
87
87
|
export { s as OrToast, a as OrToastContainer } from './OrToastContainer-40c4c1c8.js';
|
|
88
88
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
|
|
89
|
-
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-
|
|
89
|
+
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-2692e337.js';
|
|
90
90
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-0665462d.js';
|
|
91
91
|
export { s as OrTooltip, a as OrTooltipContent } from './OrTooltip-78cd7f6b.js';
|
|
92
92
|
export { s as OrTooltipV3 } from './OrTooltip-50d27b4f.js';
|
|
@@ -2,9 +2,9 @@ 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-1a89fbf9.js';
|
|
6
6
|
import { s as script$3 } from './OrLoader-b3cf4231.js';
|
|
7
|
-
import { resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, createVNode, createElementVNode, toDisplayString,
|
|
7
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, createVNode, createElementVNode, toDisplayString, createBlock, withModifiers, withCtx, TransitionGroup, Fragment, renderList, mergeProps } from 'vue';
|
|
8
8
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
9
9
|
|
|
10
10
|
var errorPng = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAACgCAYAAACLz2ctAAAABGdBTUEAALGOfPtRkwAAETJJREFUeAHt3e+PXFUZB/AzuzuzNE0bWbRSYiwvmzbUYIyS2tYFCUhriPGNif0DTHwLKuyCgdBuEarxhSHhD+CFb0TRFgmKCCgaLQUaCEkjbLG/RLZbWrc7+6Nzfb7T+8yeufPr/jjn3vPcOSdc7s7MnTvnPOfTc885986dirKYVvfuvU3VapNqaenw2PPPr1r8KL9rwxFYveeeMTU+fr9aXn557OjRvxnefXN3Af1/xMaOsc/Vu+7aqoLgaSrAIVo/Zutz/H4tRQB1dq3unm7WpYWPqdA+rQBcufvurapafSY4c2ZHcPy4UgsLD6zu23fQQhn8Li1EoFlXVGeoO9Qh6rJZpxY+y/gukdGVffuOrdx6a7BcqwXLSgXLN9wQrExOBvS8R2g84mZ3iDpCXaHOmnVHdYi6bNYpGhaXk45vhfEBIC0rExMeocuVR3ljfKirJj6uOwkI++Hjwni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dmJ/0fyqUZLiX8LYYAAAAASUVORK5CYII=";
|
|
@@ -28,11 +28,6 @@ const ToastRoot = [
|
|
|
28
28
|
'links:text-inverse-primary', 'dark:links:text-inverse-primary-dark',
|
|
29
29
|
// Elevation
|
|
30
30
|
'shadow-card', 'dark:shadow-card-dark'];
|
|
31
|
-
const ToastActionButton = [
|
|
32
|
-
// Layout
|
|
33
|
-
'contents',
|
|
34
|
-
// Theme
|
|
35
|
-
'theme-foreground-outline', 'dark:theme-foreground-outline-dark'];
|
|
36
31
|
const ToastContainer = [
|
|
37
32
|
// Position
|
|
38
33
|
'absolute',
|
|
@@ -114,7 +109,6 @@ var script$1 = defineComponent({
|
|
|
114
109
|
'self-center',
|
|
115
110
|
// Theme
|
|
116
111
|
'text-inverse-primary', 'dark:text-inverse-primary-dark']);
|
|
117
|
-
const actionButtonStyle = computed(() => [...ToastActionButton]);
|
|
118
112
|
// State
|
|
119
113
|
const emojiSrc = computed(() => {
|
|
120
114
|
switch (props.toastType) {
|
|
@@ -143,7 +137,6 @@ var script$1 = defineComponent({
|
|
|
143
137
|
}
|
|
144
138
|
return {
|
|
145
139
|
root,
|
|
146
|
-
actionButtonStyle,
|
|
147
140
|
toastIconStyle,
|
|
148
141
|
rootStyles,
|
|
149
142
|
loaderStyle,
|
|
@@ -190,14 +183,12 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
190
183
|
href: _ctx.link.href,
|
|
191
184
|
target: _ctx.hrefTarget,
|
|
192
185
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onLinkClick && _ctx.onLinkClick(...args))
|
|
193
|
-
}, toDisplayString(_ctx.link.title), 9 /* TEXT, PROPS */, _hoisted_4)) : createCommentVNode("v-if", true), _ctx.dismissible ? (openBlock(),
|
|
186
|
+
}, toDisplayString(_ctx.link.title), 9 /* TEXT, PROPS */, _hoisted_4)) : createCommentVNode("v-if", true), _ctx.dismissible ? (openBlock(), createBlock(_component_OrIconButton, {
|
|
194
187
|
key: 1,
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
icon: "close",
|
|
198
|
-
class: "dark:theme-foreground-inherit",
|
|
188
|
+
icon: 'close',
|
|
189
|
+
size: 'm',
|
|
199
190
|
onClick: _cache[1] || (_cache[1] = withModifiers($event => _ctx.onClose(), ["stop"]))
|
|
200
|
-
})
|
|
191
|
+
})) : createCommentVNode("v-if", true)])], 2 /* CLASS */);
|
|
201
192
|
}
|
|
202
193
|
|
|
203
194
|
var css_248z$1 = ".or-toast__link[data-v-837e78fc] {\n word-break: break-word;\n white-space: nowrap;\n cursor: pointer;\n}";
|
package/package.json
CHANGED
|
@@ -27,11 +27,14 @@ export const IconButtonRoot: string[] = [
|
|
|
27
27
|
];
|
|
28
28
|
|
|
29
29
|
export const IconButtonRootColors: Record<IconButtonColor, string[]> = {
|
|
30
|
-
'
|
|
30
|
+
'default': [
|
|
31
31
|
// Theme
|
|
32
32
|
'theme-preset-3-primary',
|
|
33
33
|
'dark:theme-preset-3-primary-dark',
|
|
34
34
|
|
|
35
|
+
'theme-foreground-outline',
|
|
36
|
+
'dark:theme-foreground-outline-dark',
|
|
37
|
+
|
|
35
38
|
// Theme (hover)
|
|
36
39
|
'hover:outline-primary-opacity-0-08',
|
|
37
40
|
'dark:hover:outline-primary-opacity-0-08-dark',
|
|
@@ -13,13 +13,11 @@
|
|
|
13
13
|
<slot name="header" />
|
|
14
14
|
</div>
|
|
15
15
|
|
|
16
|
-
<
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
/>
|
|
22
|
-
</div>
|
|
16
|
+
<OrIconButton
|
|
17
|
+
:icon="'close'"
|
|
18
|
+
:size="'l'"
|
|
19
|
+
@click.stop="close"
|
|
20
|
+
/>
|
|
23
21
|
</div>
|
|
24
22
|
|
|
25
23
|
<div :class="['grow', 'overflow-y-auto']">
|
|
@@ -37,7 +35,7 @@ import { useClassAttribute } from '../../hooks';
|
|
|
37
35
|
import { OrIconButtonV3 as OrIconButton } from '../or-icon-button-v3';
|
|
38
36
|
import { OrOverlayV3 as OrOverlay } from '../or-overlay-v3';
|
|
39
37
|
import { ModalSize } from './props';
|
|
40
|
-
import {
|
|
38
|
+
import { ModalHeader, ModalRoot, ModalRootSizes } from './styles';
|
|
41
39
|
|
|
42
40
|
export default defineComponent({
|
|
43
41
|
name: 'OrModal',
|
|
@@ -90,10 +88,6 @@ export default defineComponent({
|
|
|
90
88
|
...ModalHeader,
|
|
91
89
|
]);
|
|
92
90
|
|
|
93
|
-
const closeButtonStyles = computed(() => [
|
|
94
|
-
...ModalCloseButton,
|
|
95
|
-
]);
|
|
96
|
-
|
|
97
91
|
// State
|
|
98
92
|
const isActive = ref(false);
|
|
99
93
|
|
|
@@ -123,7 +117,6 @@ export default defineComponent({
|
|
|
123
117
|
root,
|
|
124
118
|
rootStyles,
|
|
125
119
|
headerStyles,
|
|
126
|
-
closeButtonStyles,
|
|
127
120
|
isActive,
|
|
128
121
|
open,
|
|
129
122
|
close,
|
|
@@ -15,12 +15,11 @@
|
|
|
15
15
|
<slot />
|
|
16
16
|
</div>
|
|
17
17
|
|
|
18
|
-
<
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
</div>
|
|
18
|
+
<OrIconButton
|
|
19
|
+
:icon="'close'"
|
|
20
|
+
:size="'m'"
|
|
21
|
+
@click.stop="$emit('close')"
|
|
22
|
+
/>
|
|
24
23
|
</div>
|
|
25
24
|
</template>
|
|
26
25
|
|
|
@@ -30,7 +29,7 @@ import { useClassAttribute } from '../../hooks';
|
|
|
30
29
|
import { OrIconButtonV3 as OrIconButton } from '../or-icon-button-v3';
|
|
31
30
|
import { OrIconV3 as OrIcon } from '../or-icon-v3';
|
|
32
31
|
import { NotificationVariant } from './props';
|
|
33
|
-
import {
|
|
32
|
+
import { NotificationIcon, NotificationIconVariants, NotificationRoot, NotificationRootVariants } from './styles';
|
|
34
33
|
|
|
35
34
|
export default defineComponent({
|
|
36
35
|
name: 'OrNotification',
|
|
@@ -72,10 +71,6 @@ export default defineComponent({
|
|
|
72
71
|
...NotificationIconVariants[props.variant],
|
|
73
72
|
]);
|
|
74
73
|
|
|
75
|
-
const actionStyles = computed(() => [
|
|
76
|
-
...NotificationAction,
|
|
77
|
-
]);
|
|
78
|
-
|
|
79
74
|
// State
|
|
80
75
|
const icon = computed(() => {
|
|
81
76
|
switch (props.variant) {
|
|
@@ -97,7 +92,6 @@ export default defineComponent({
|
|
|
97
92
|
root,
|
|
98
93
|
rootStyles,
|
|
99
94
|
iconStyles,
|
|
100
|
-
actionStyles,
|
|
101
95
|
icon,
|
|
102
96
|
};
|
|
103
97
|
},
|
|
@@ -97,12 +97,3 @@ export const NotificationIconVariants: Record<NotificationVariant, string[]> = {
|
|
|
97
97
|
'dark:theme-foreground-primary-dark',
|
|
98
98
|
],
|
|
99
99
|
};
|
|
100
|
-
|
|
101
|
-
export const NotificationAction: string[] = [
|
|
102
|
-
// Layout
|
|
103
|
-
'contents',
|
|
104
|
-
|
|
105
|
-
// Theme
|
|
106
|
-
'theme-foreground-outline',
|
|
107
|
-
'dark:theme-foreground-outline-dark',
|
|
108
|
-
];
|
|
@@ -44,13 +44,11 @@
|
|
|
44
44
|
</template>
|
|
45
45
|
|
|
46
46
|
<template v-if="dismissible">
|
|
47
|
-
<
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
/>
|
|
53
|
-
</div>
|
|
47
|
+
<OrIconButton
|
|
48
|
+
:icon="'close'"
|
|
49
|
+
:size="'m'"
|
|
50
|
+
@click.stop="onClose()"
|
|
51
|
+
/>
|
|
54
52
|
</template>
|
|
55
53
|
</div>
|
|
56
54
|
</div>
|
|
@@ -63,7 +61,7 @@ import successPng from '../../assets/success.png';
|
|
|
63
61
|
import { OrIconButtonV3 as OrIconButton } from '../or-icon-button-v3';
|
|
64
62
|
import { OrLoaderV3 as OrLoader } from '../or-loader-v3';
|
|
65
63
|
import { ToastType } from './props';
|
|
66
|
-
import { messageStyleVariant,
|
|
64
|
+
import { messageStyleVariant, ToastRoot } from './styles';
|
|
67
65
|
import { ToastLink } from './types';
|
|
68
66
|
|
|
69
67
|
export default defineComponent({
|
|
@@ -134,10 +132,6 @@ export default defineComponent({
|
|
|
134
132
|
'dark:text-inverse-primary-dark',
|
|
135
133
|
]);
|
|
136
134
|
|
|
137
|
-
const actionButtonStyle = computed(() => [
|
|
138
|
-
...ToastActionButton,
|
|
139
|
-
]);
|
|
140
|
-
|
|
141
135
|
// State
|
|
142
136
|
const emojiSrc = computed(() => {
|
|
143
137
|
switch (props.toastType) {
|
|
@@ -168,7 +162,6 @@ export default defineComponent({
|
|
|
168
162
|
|
|
169
163
|
return {
|
|
170
164
|
root,
|
|
171
|
-
actionButtonStyle,
|
|
172
165
|
toastIconStyle,
|
|
173
166
|
rootStyles,
|
|
174
167
|
loaderStyle,
|
|
@@ -35,15 +35,6 @@ export const ToastRoot: string[] = [
|
|
|
35
35
|
'dark:shadow-card-dark',
|
|
36
36
|
];
|
|
37
37
|
|
|
38
|
-
export const ToastActionButton: string[] = [
|
|
39
|
-
// Layout
|
|
40
|
-
'contents',
|
|
41
|
-
|
|
42
|
-
// Theme
|
|
43
|
-
'theme-foreground-outline',
|
|
44
|
-
'dark:theme-foreground-outline-dark',
|
|
45
|
-
];
|
|
46
|
-
|
|
47
38
|
export const ToastContainer: string[] = [
|
|
48
39
|
// Position
|
|
49
40
|
'absolute',
|