@onereach/ui-components 2.74.10-beta.2349.0 → 2.74.10-beta.2352.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/{OrCheckbox-384760cb.js → OrCheckbox-41d31e45.js} +1 -1
- package/dist/bundled/v2/{OrNotification-35c163f7.js → OrNotification-f2fe5d84.js} +6 -2
- package/dist/bundled/v2/{OrSelect-617da939.js → OrSelect-43ba3073.js} +4 -8
- package/dist/bundled/v2/{OrTag-d79178d7.js → OrTag-59ab76c5.js} +2 -4
- package/dist/bundled/v2/components/index.js +4 -4
- package/dist/bundled/v2/components/or-checkbox-v3/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/components/or-select-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-tag-v3/index.js +1 -1
- package/dist/bundled/v2/index.js +5 -5
- package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-08f64a02.js → OrCheckbox.vue_vue_type_script_lang-fc067611.js} +1 -1
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-b0280317.js → OrNotification.vue_vue_type_script_lang-8847ca60.js} +4 -0
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-44a4968b.js → OrSelect.vue_vue_type_script_lang-b50634d8.js} +6 -11
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-2f138d1a.js → OrTag.vue_vue_type_script_lang-4fe7e19f.js} +1 -1
- package/dist/bundled/v3/components/index.js +4 -4
- package/dist/bundled/v3/components/or-checkbox-v3/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/components/or-select-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-tag-v3/index.js +1 -1
- package/dist/bundled/v3/index.js +28 -30
- package/dist/esm/v2/{OrCheckbox-49d7d6b1.js → OrCheckbox-aa9ca791.js} +1 -1
- package/dist/esm/v2/{OrNotification-e8c1df46.js → OrNotification-25318559.js} +6 -2
- package/dist/esm/v2/{OrSelect-1c9d6951.js → OrSelect-d991fe95.js} +4 -8
- package/dist/esm/v2/{OrTag-e6de86c9.js → OrTag-1ed1265c.js} +2 -4
- package/dist/esm/v2/components/index.js +4 -4
- package/dist/esm/v2/components/or-checkbox-v3/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/components/or-select-v3/index.js +3 -3
- package/dist/esm/v2/components/or-tag-v3/index.js +1 -1
- package/dist/esm/v2/index.js +4 -4
- package/dist/esm/v3/{OrCheckbox-a8388252.js → OrCheckbox-16c1e2f4.js} +1 -1
- package/dist/esm/v3/{OrNotification-e600fd9a.js → OrNotification-c043e5fc.js} +8 -3
- package/dist/esm/v3/{OrSelect-9008533e.js → OrSelect-b06bf2d8.js} +5 -10
- package/dist/esm/v3/{OrTag-8a6e7bba.js → OrTag-f66c6142.js} +3 -6
- package/dist/esm/v3/components/index.js +4 -4
- package/dist/esm/v3/components/or-checkbox-v3/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/components/or-select-v3/index.js +3 -3
- package/dist/esm/v3/components/or-tag-v3/index.js +1 -1
- package/dist/esm/v3/index.js +4 -4
- package/package.json +2 -2
- package/src/components/or-checkbox-v3/styles.ts +0 -1
- package/src/components/or-notification-v3/OrNotification.stories3.ts +53 -0
- package/src/components/or-notification-v3/OrNotification.vue +6 -0
- package/src/components/or-select-v3/OrSelect.stories3.ts +0 -19
- package/src/components/or-select-v3/OrSelect.vue +1 -3
- package/src/components/or-select-v3/styles.ts +0 -3
- package/src/components/or-tag-v3/OrTag.vue +2 -3
- package/src/components/or-tag-v3/styles.ts +1 -2
|
@@ -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
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './index-fa6eb4ca.js';
|
|
2
|
-
import { O as OrCheckbox } from './OrCheckbox-
|
|
2
|
+
import { O as OrCheckbox } from './OrCheckbox-41d31e45.js';
|
|
3
3
|
import { O as OrError } from './OrError-52f668a4.js';
|
|
4
4
|
import { O as OrExpansionPanel } from './OrExpansionPanel-8968da49.js';
|
|
5
5
|
import { O as OrHint } from './OrHint-fde53334.js';
|
|
@@ -9,7 +9,7 @@ import { O as OrInputBox, a as InputBoxSize } from './OrInputBox-e54dcef9.js';
|
|
|
9
9
|
import { O as OrLabel } from './OrLabel-aff09c39.js';
|
|
10
10
|
import { O as OrMenuItem } from './OrMenuItem-f295292e.js';
|
|
11
11
|
import { O as OrPopover } from './OrPopover-0697699f.js';
|
|
12
|
-
import { O as OrTag } from './OrTag-
|
|
12
|
+
import { O as OrTag } from './OrTag-59ab76c5.js';
|
|
13
13
|
import { D as DropdownClose, a as DropdownOpen } from './dropdown-open-e2a93aaf.js';
|
|
14
14
|
import { u as useOverflow } from './useOverflow-bae6342f.js';
|
|
15
15
|
import { defineComponent, getCurrentInstance, ref, computed, onMounted, watch } from '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
@@ -33,9 +33,7 @@ const SelectPlaceholder = [
|
|
|
33
33
|
// Theme
|
|
34
34
|
'theme-foreground-outline', 'dark:theme-foreground-outline-dark',
|
|
35
35
|
// Interactivity
|
|
36
|
-
'select-none'
|
|
37
|
-
// Typography
|
|
38
|
-
'truncate'];
|
|
36
|
+
'select-none'];
|
|
39
37
|
const SelectDropdown = [
|
|
40
38
|
// Overflow
|
|
41
39
|
'overflow-y-auto',
|
|
@@ -367,9 +365,7 @@ var __vue_render__ = function () {
|
|
|
367
365
|
}, {
|
|
368
366
|
"model": _vm.proxyModelValue
|
|
369
367
|
})] : [_vm.proxyModelValue ? [_vm._t("valueTemplate", function () {
|
|
370
|
-
return [
|
|
371
|
-
staticClass: "truncate"
|
|
372
|
-
}, [_vm._v("\n " + _vm._s(_vm.selection.label) + "\n ")])];
|
|
368
|
+
return [_vm._v("\n " + _vm._s(_vm.selection.label) + "\n ")];
|
|
373
369
|
}, {
|
|
374
370
|
"model": _vm.proxyModelValue
|
|
375
371
|
})] : [_c('span', {
|
|
@@ -19,7 +19,7 @@ const TagRoot = [
|
|
|
19
19
|
// Layout
|
|
20
20
|
'layout-inline-row',
|
|
21
21
|
// Box
|
|
22
|
-
'
|
|
22
|
+
'max-w-fit',
|
|
23
23
|
// Shape
|
|
24
24
|
'rounded-full',
|
|
25
25
|
// Spacing
|
|
@@ -122,9 +122,7 @@ var __vue_render__ = function () {
|
|
|
122
122
|
return _vm.$emit('blur', $event);
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
|
-
}, [_c('div', {
|
|
126
|
-
staticClass: "truncate"
|
|
127
|
-
}, [_vm._t("default")], 2), _vm._v(" "), _vm.variant === 'reset' ? [_c('div', {
|
|
125
|
+
}, [_vm._t("default"), _vm._v(" "), _vm.variant === 'reset' ? [_c('div', {
|
|
128
126
|
class: ['layout-row', 'm-[-4px] md:m-[-2px]']
|
|
129
127
|
}, [_c('OrIconButton', {
|
|
130
128
|
attrs: {
|
|
@@ -12,7 +12,7 @@ export { D as DefaultCardCollectionViews, _ as OrCardCollectionV3, d as defaultV
|
|
|
12
12
|
export { _ as OrCardV3 } from '../OrCard-45d5869b.js';
|
|
13
13
|
export { a as OrCarousel, _ as OrCarouselItem } from '../OrCarouselItem-0a3079c4.js';
|
|
14
14
|
export { O as OrCheckbox } from '../OrCheckbox-a7b582e7.js';
|
|
15
|
-
export { O as OrCheckboxV3 } from '../OrCheckbox-
|
|
15
|
+
export { O as OrCheckboxV3 } from '../OrCheckbox-41d31e45.js';
|
|
16
16
|
export { O as OrChip } from '../OrChip-5223485f.js';
|
|
17
17
|
export { _ as OrChips } from '../OrChips-03362e17.js';
|
|
18
18
|
export { _ as OrCode, O as OrCodeLanguages } from '../OrCode-538d60b8.js';
|
|
@@ -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-0026f7c8.js';
|
|
54
54
|
export { M as ModalSize, _ as OrModalV3 } from '../OrModal-4218b040.js';
|
|
55
55
|
export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, _ as OrNotification } from '../OrNotification-e9db011e.js';
|
|
56
|
-
export { N as NotificationVariant, _ as OrNotificationV3 } from '../OrNotification-
|
|
56
|
+
export { N as NotificationVariant, _ as OrNotificationV3 } from '../OrNotification-f2fe5d84.js';
|
|
57
57
|
export { _ as OrNumberInput } from '../OrNumberInput-3c45193e.js';
|
|
58
58
|
export { _ as OrOverflowMenu } from '../OrOverflowMenu-29c1ea12.js';
|
|
59
59
|
export { O as OrOverlay } from '../OrOverlay-5263b088.js';
|
|
@@ -69,7 +69,7 @@ export { O as OrSearch } from '../OrSearch-51152b91.js';
|
|
|
69
69
|
export { O as OrSearchV3 } from '../OrSearch-0178b612.js';
|
|
70
70
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-878279bf.js';
|
|
71
71
|
export { _ as OrSelect } from '../OrSelect-0213e21a.js';
|
|
72
|
-
export { _ as OrSelectV3 } from '../OrSelect-
|
|
72
|
+
export { _ as OrSelectV3 } from '../OrSelect-43ba3073.js';
|
|
73
73
|
export { _ as OrSidebar, O as OrSidebarSide } from '../OrSidebar-9e7fe79c.js';
|
|
74
74
|
export { _ as OrSidebarV3 } from '../OrSidebar-b7a27e27.js';
|
|
75
75
|
export { O as OrSidebarPlacement } from '../OrSidebarCollapseButton-e8632afe.js';
|
|
@@ -86,7 +86,7 @@ export { O as OrTabV3 } from '../OrTab-8c5acf8a.js';
|
|
|
86
86
|
export { _ as OrTabs } from '../OrTabs-251baec9.js';
|
|
87
87
|
export { _ as OrTabsV3, T as TabsVariant } from '../OrTabs-70c1818f.js';
|
|
88
88
|
export { _ as OrTag } from '../OrTag-e0b41e02.js';
|
|
89
|
-
export { O as OrTagV3, a as TagColor, T as TagVariant } from '../OrTag-
|
|
89
|
+
export { O as OrTagV3, a as TagColor, T as TagVariant } from '../OrTag-59ab76c5.js';
|
|
90
90
|
export { O as OrTeleport } from '../OrTeleport.vue2-90147f16.js';
|
|
91
91
|
export { O as OrTeleportV3 } from '../OrTeleport.vue2-e9ba3054.js';
|
|
92
92
|
export { _ as OrTextV3 } from '../OrText-15bf85c4.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-f2fe5d84.js';
|
|
2
2
|
import '../../index-fa6eb4ca.js';
|
|
3
3
|
import 'vue';
|
|
4
4
|
import '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { _ as OrSelectV3 } from '../../OrSelect-
|
|
1
|
+
export { _ as OrSelectV3 } from '../../OrSelect-43ba3073.js';
|
|
2
2
|
export { a as SelectSize } from '../../OrInputBox-e54dcef9.js';
|
|
3
3
|
import '../../index-fa6eb4ca.js';
|
|
4
4
|
import 'vue';
|
|
5
5
|
import '@vue/composition-api/dist/vue-composition-api.mjs';
|
|
6
|
-
import '../../OrCheckbox-
|
|
6
|
+
import '../../OrCheckbox-41d31e45.js';
|
|
7
7
|
import '../../OrLabel-aff09c39.js';
|
|
8
8
|
import '../../normalize-component-6e8e3d80.js';
|
|
9
9
|
import '../../useIdAttribute-cf61643f.js';
|
|
@@ -27,6 +27,6 @@ import '../../useResponsive-e13dfbb0.js';
|
|
|
27
27
|
import '../../OrLoader-cf28bfa6.js';
|
|
28
28
|
import '../../useValidationAttributes-6df7bcf9.js';
|
|
29
29
|
import '../../OrMenuItem-f295292e.js';
|
|
30
|
-
import '../../OrTag-
|
|
30
|
+
import '../../OrTag-59ab76c5.js';
|
|
31
31
|
import '../../dropdown-open-e2a93aaf.js';
|
|
32
32
|
import '../../useOverflow-bae6342f.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { O as OrTagV3, a as TagColor, T as TagVariant } from '../../OrTag-
|
|
1
|
+
export { O as OrTagV3, a as TagColor, T as TagVariant } from '../../OrTag-59ab76c5.js';
|
|
2
2
|
import '../../index-fa6eb4ca.js';
|
|
3
3
|
import 'vue';
|
|
4
4
|
import '@vue/composition-api/dist/vue-composition-api.mjs';
|