@onereach/ui-components 2.74.13 → 2.74.14-beta.2368.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/{OrNotification-f7644c55.js → OrNotification-e102f0d7.js} +6 -2
- package/dist/bundled/v2/components/index.js +1 -1
- package/dist/bundled/v2/components/or-notification-v3/OrNotification.vue.d.ts +11 -0
- package/dist/bundled/v2/components/or-notification-v3/index.js +1 -1
- package/dist/bundled/v2/index.js +2 -2
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-4532696a.js → OrNotification.vue_vue_type_script_lang-7dd0d85f.js} +4 -0
- package/dist/bundled/v3/components/index.js +1 -1
- package/dist/bundled/v3/components/or-notification-v3/OrNotification.vue.d.ts +11 -0
- package/dist/bundled/v3/components/or-notification-v3/index.js +1 -1
- package/dist/bundled/v3/index.js +6 -5
- package/dist/esm/v2/{OrNotification-687b4999.js → OrNotification-76498693.js} +6 -2
- package/dist/esm/v2/components/index.js +1 -1
- package/dist/esm/v2/components/or-notification-v3/OrNotification.vue.d.ts +11 -0
- package/dist/esm/v2/components/or-notification-v3/index.js +1 -1
- package/dist/esm/v2/index.js +1 -1
- package/dist/esm/v3/{OrNotification-03a7426c.js → OrNotification-aab2e22a.js} +8 -3
- package/dist/esm/v3/components/index.js +1 -1
- package/dist/esm/v3/components/or-notification-v3/OrNotification.vue.d.ts +11 -0
- package/dist/esm/v3/components/or-notification-v3/index.js +1 -1
- package/dist/esm/v3/index.js +1 -1
- package/package.json +3 -4
- package/src/components/or-notification-v3/OrNotification.stories3.ts +52 -0
- package/src/components/or-notification-v3/OrNotification.vue +6 -0
|
@@ -75,6 +75,10 @@ var script = defineComponent({
|
|
|
75
75
|
variant: {
|
|
76
76
|
type: String,
|
|
77
77
|
default: NotificationVariant.Info
|
|
78
|
+
},
|
|
79
|
+
disableClose: {
|
|
80
|
+
type: Boolean,
|
|
81
|
+
default: false
|
|
78
82
|
}
|
|
79
83
|
},
|
|
80
84
|
expose: ['root'],
|
|
@@ -126,7 +130,7 @@ var __vue_render__ = function () {
|
|
|
126
130
|
}
|
|
127
131
|
})], 1), _vm._v(" "), _c('div', {
|
|
128
132
|
class: ['grow', 'my-[-2px] md:my-[-3px]']
|
|
129
|
-
}, [_vm._t("default")], 2), _vm._v(" "), _c('OrIconButton', {
|
|
133
|
+
}, [_vm._t("default")], 2), _vm._v(" "), !_vm.disableClose ? _c('OrIconButton', {
|
|
130
134
|
attrs: {
|
|
131
135
|
"icon": 'close',
|
|
132
136
|
"size": 'm'
|
|
@@ -137,7 +141,7 @@ var __vue_render__ = function () {
|
|
|
137
141
|
return _vm.$emit('close');
|
|
138
142
|
}
|
|
139
143
|
}
|
|
140
|
-
})], 1);
|
|
144
|
+
}) : _vm._e()], 1);
|
|
141
145
|
};
|
|
142
146
|
var __vue_staticRenderFns__ = [];
|
|
143
147
|
|
|
@@ -53,7 +53,7 @@ export { P as MenuPlacement, O as OrPopoverV3, P as PopoverPlacement, a as Popov
|
|
|
53
53
|
export { O as OrModal, a as OrModalSizes } from '../OrModal-e6a18d12.js';
|
|
54
54
|
export { M as ModalSize, _ as OrModalV3 } from '../OrModal-d845da2d.js';
|
|
55
55
|
export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, _ as OrNotification } from '../OrNotification-76491313.js';
|
|
56
|
-
export { N as NotificationVariant, _ as OrNotificationV3 } from '../OrNotification-
|
|
56
|
+
export { N as NotificationVariant, _ as OrNotificationV3 } from '../OrNotification-e102f0d7.js';
|
|
57
57
|
export { _ as OrNumberInput } from '../OrNumberInput-6b183931.js';
|
|
58
58
|
export { _ as OrOverflowMenu } from '../OrOverflowMenu-36eb66df.js';
|
|
59
59
|
export { O as OrOverlay } from '../OrOverlay-5263b088.js';
|
|
@@ -10,13 +10,22 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
10
10
|
type: PropType<NotificationVariant>;
|
|
11
11
|
default: NotificationVariant;
|
|
12
12
|
};
|
|
13
|
+
disableClose: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
13
17
|
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
14
18
|
variant: {
|
|
15
19
|
type: PropType<NotificationVariant>;
|
|
16
20
|
default: NotificationVariant;
|
|
17
21
|
};
|
|
22
|
+
disableClose: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
18
26
|
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
19
27
|
variant: NotificationVariant;
|
|
28
|
+
disableClose: boolean;
|
|
20
29
|
} & {}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
21
30
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
22
31
|
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
@@ -24,7 +33,9 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
24
33
|
icon: import("@vue/composition-api").ComputedRef<"warning" | "error" | "info" | "check_circle" | undefined>;
|
|
25
34
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, {}, {
|
|
26
35
|
variant: NotificationVariant;
|
|
36
|
+
disableClose: boolean;
|
|
27
37
|
} & {}, {
|
|
28
38
|
variant: NotificationVariant;
|
|
39
|
+
disableClose: boolean;
|
|
29
40
|
}, true>);
|
|
30
41
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { N as NotificationVariant, _ as OrNotificationV3 } from '../../OrNotification-
|
|
1
|
+
export { N as NotificationVariant, _ as OrNotificationV3 } from '../../OrNotification-e102f0d7.js';
|
|
2
2
|
import '../../index-fa6eb4ca.js';
|
|
3
3
|
import 'vue';
|
|
4
4
|
import '@vue/composition-api/dist/vue-composition-api.mjs';
|