@onereach/ui-components 2.74.1-beta.2291.0 → 2.74.1-beta.2293.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-1affb682.js → OrCardCollection-9bc44ec5.js} +1 -1
- package/dist/bundled/v2/{OrConfirm-bdf57b45.js → OrConfirm-c156d099.js} +13 -7
- package/dist/bundled/v2/{OrInlineInput-8fec2947.js → OrInlineInput-57fccb41.js} +2 -2
- package/dist/bundled/v2/{OrInlineTextarea-e7cdb4fb.js → OrInlineTextarea-f8b86cf7.js} +2 -2
- package/dist/bundled/v2/{OrInput-46039629.js → OrInput-57a47093.js} +3 -4
- package/dist/bundled/v2/{OrInputBox-9a31d211.js → OrInputBox-e54dcef9.js} +12 -2
- package/dist/bundled/v2/{OrSearch-05cc6c14.js → OrSearch-4072a079.js} +2 -2
- package/dist/bundled/v2/{OrSelect-bfe76fb7.js → OrSelect-359e891b.js} +3 -6
- package/dist/bundled/v2/{OrTextarea-a02951f4.js → OrTextarea-1201353b.js} +3 -4
- package/dist/bundled/v2/components/index.js +9 -10
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +4 -5
- package/dist/bundled/v2/components/or-confirm-v3/OrConfirm.vue.d.ts +4 -2
- package/dist/bundled/v2/components/or-confirm-v3/index.js +3 -4
- package/dist/bundled/v2/components/or-inline-input-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-input-box-v3/index.js +1 -2
- package/dist/bundled/v2/components/or-input-v3/index.js +2 -3
- package/dist/bundled/v2/components/or-search-v3/index.js +3 -4
- package/dist/bundled/v2/components/or-select-v3/index.js +3 -4
- package/dist/bundled/v2/components/or-textarea-v3/index.js +2 -3
- package/dist/bundled/v2/index.js +10 -11
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-c01a1d75.js → OrCardCollection.vue_vue_type_script_lang-62eb2543.js} +1 -1
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-a131670a.js → OrConfirm.vue_vue_type_script_lang-ae30b4db.js} +14 -8
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-66598185.js → OrInlineInput.vue_vue_type_script_lang-49ce3308.js} +2 -2
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-85adcaf9.js → OrInlineTextarea.vue_vue_type_script_lang-8fd761d7.js} +2 -2
- package/dist/bundled/v3/{OrInput-37811348.js → OrInput-44a32124.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-de00e237.js → OrInput.vue_vue_type_script_lang-4d9e2f4a.js} +4 -5
- package/dist/bundled/v3/{OrInputBox-44f37541.js → OrInputBox-358d4856.js} +1 -1
- package/dist/{esm/v2/OrInputBox.vue_rollup-plugin-vue_script-4ba46db4.js → bundled/v3/OrInputBox.vue_vue_type_script_lang-b387d4ba.js} +1 -1
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-b34af2a0.js → OrSearch.vue_vue_type_script_lang-0ddeada5.js} +3 -3
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-b14e4b6b.js → OrSelect.vue_vue_type_script_lang-c7a9bec2.js} +5 -8
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-d0256fc2.js → OrTextarea.vue_vue_type_script_lang-de99a858.js} +4 -5
- package/dist/bundled/v3/components/index.js +11 -12
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +6 -7
- package/dist/bundled/v3/components/or-confirm-v3/OrConfirm.vue.d.ts +4 -2
- package/dist/bundled/v3/components/or-confirm-v3/index.js +5 -6
- package/dist/bundled/v3/components/or-inline-input-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-input-box-v3/index.js +1 -2
- package/dist/bundled/v3/components/or-input-v3/index.js +3 -4
- package/dist/bundled/v3/components/or-search-v3/index.js +5 -6
- package/dist/bundled/v3/components/or-select-v3/index.js +5 -6
- package/dist/bundled/v3/components/or-textarea-v3/index.js +3 -4
- package/dist/bundled/v3/index.js +18 -19
- package/dist/esm/v2/{OrCardCollection-413eeef9.js → OrCardCollection-4c909f4b.js} +2 -2
- package/dist/esm/v2/{OrConfirm-2f8d9405.js → OrConfirm-cf65cb11.js} +13 -7
- package/dist/esm/v2/{OrInlineInput-c66ed0c0.js → OrInlineInput-b85b84b4.js} +2 -2
- package/dist/esm/v2/{OrInlineTextarea-3cc2fdc2.js → OrInlineTextarea-afd33047.js} +2 -2
- package/dist/esm/v2/{OrInput-cacd21a4.js → OrInput-3d8c8925.js} +3 -4
- package/dist/{bundled/v3/OrInputBox.vue_vue_type_script_lang-c4f9c8ef.js → esm/v2/OrInputBox-53d1f66d.js} +53 -3
- package/dist/esm/v2/{OrSearch-1c30f3fd.js → OrSearch-d6f1ba11.js} +2 -2
- package/dist/esm/v2/{OrSelect-bbba5e3a.js → OrSelect-bdb9a78a.js} +3 -6
- package/dist/esm/v2/{OrTextarea-e1aad345.js → OrTextarea-373d0554.js} +3 -4
- package/dist/esm/v2/components/index.js +9 -10
- package/dist/esm/v2/components/or-card-collection-v3/index.js +4 -5
- package/dist/esm/v2/components/or-confirm-v3/OrConfirm.vue.d.ts +4 -2
- package/dist/esm/v2/components/or-confirm-v3/index.js +3 -4
- package/dist/esm/v2/components/or-inline-input-v3/index.js +1 -1
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +1 -1
- package/dist/esm/v2/components/or-input-box-v3/index.js +2 -3
- package/dist/esm/v2/components/or-input-v3/index.js +2 -3
- package/dist/esm/v2/components/or-search-v3/index.js +3 -4
- package/dist/esm/v2/components/or-select-v3/index.js +3 -4
- package/dist/esm/v2/components/or-textarea-v3/index.js +2 -3
- package/dist/esm/v2/index.js +9 -10
- package/dist/esm/v3/{OrCardCollection-005964d2.js → OrCardCollection-803f67f7.js} +1 -1
- package/dist/esm/v3/{OrConfirm-c35b430f.js → OrConfirm-1ee529f1.js} +13 -7
- package/dist/esm/v3/{OrInlineInput-4591c44d.js → OrInlineInput-fbc35f85.js} +2 -2
- package/dist/esm/v3/{OrInlineTextarea-22807fd6.js → OrInlineTextarea-79da8697.js} +2 -2
- package/dist/esm/v3/{OrInput-4b51848c.js → OrInput-71075f51.js} +2 -2
- package/dist/esm/v3/{OrSearch-b6c48f3f.js → OrSearch-4e180e34.js} +1 -1
- package/dist/esm/v3/{OrSelect-35f70776.js → OrSelect-c64eda46.js} +2 -4
- package/dist/esm/v3/{OrTextarea-8b060a1b.js → OrTextarea-42d21f77.js} +2 -2
- package/dist/esm/v3/components/index.js +8 -8
- package/dist/esm/v3/components/or-card-collection-v3/index.js +3 -3
- package/dist/esm/v3/components/or-confirm-v3/OrConfirm.vue.d.ts +4 -2
- package/dist/esm/v3/components/or-confirm-v3/index.js +2 -2
- package/dist/esm/v3/components/or-inline-input-v3/index.js +1 -1
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +1 -1
- package/dist/esm/v3/components/or-input-v3/index.js +1 -1
- package/dist/esm/v3/components/or-search-v3/index.js +2 -2
- package/dist/esm/v3/components/or-select-v3/index.js +2 -2
- package/dist/esm/v3/components/or-textarea-v3/index.js +1 -1
- package/dist/esm/v3/index.js +8 -8
- package/package.json +2 -2
- package/src/components/or-confirm-v3/OrConfirm.stories3.ts +54 -56
- package/src/components/or-confirm-v3/OrConfirm.vue +12 -7
- package/src/components/or-inline-input-v3/styles.ts +2 -2
- package/src/components/or-inline-textarea-v3/styles.ts +2 -2
- package/src/components/or-input-v3/styles.ts +2 -2
- package/src/components/or-select-v3/OrSelect.stories3.ts +0 -4
- package/src/components/or-select-v3/styles.ts +1 -4
- package/src/components/or-textarea-v3/styles.ts +2 -2
- package/dist/bundled/v2/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +0 -27
- package/dist/bundled/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -107
- package/dist/bundled/v2/components/or-combined-input-v3/index.d.ts +0 -2
- package/dist/bundled/v2/components/or-combined-input-v3/index.js +0 -148
- package/dist/bundled/v2/components/or-combined-input-v3/props.d.ts +0 -1
- package/dist/bundled/v2/components/or-combined-input-v3/styles.d.ts +0 -2
- package/dist/bundled/v2/props-78496a2d.js +0 -12
- package/dist/bundled/v3/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +0 -27
- package/dist/bundled/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -107
- package/dist/bundled/v3/components/or-combined-input-v3/index.d.ts +0 -2
- package/dist/bundled/v3/components/or-combined-input-v3/index.js +0 -130
- package/dist/bundled/v3/components/or-combined-input-v3/props.d.ts +0 -1
- package/dist/bundled/v3/components/or-combined-input-v3/styles.d.ts +0 -2
- package/dist/bundled/v3/props-78496a2d.js +0 -12
- package/dist/esm/v2/OrInputBox-5c4b3104.js +0 -43
- package/dist/esm/v2/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +0 -27
- package/dist/esm/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -107
- package/dist/esm/v2/components/or-combined-input-v3/index.d.ts +0 -2
- package/dist/esm/v2/components/or-combined-input-v3/index.js +0 -145
- package/dist/esm/v2/components/or-combined-input-v3/props.d.ts +0 -1
- package/dist/esm/v2/components/or-combined-input-v3/styles.d.ts +0 -2
- package/dist/esm/v3/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +0 -27
- package/dist/esm/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -107
- package/dist/esm/v3/components/or-combined-input-v3/index.d.ts +0 -2
- package/dist/esm/v3/components/or-combined-input-v3/index.js +0 -129
- package/dist/esm/v3/components/or-combined-input-v3/props.d.ts +0 -1
- package/dist/esm/v3/components/or-combined-input-v3/styles.d.ts +0 -2
- package/src/components/or-combined-input-v3/OrCombinedInput.docs.mdx +0 -7
- package/src/components/or-combined-input-v3/OrCombinedInput.stories3.ts +0 -201
- package/src/components/or-combined-input-v3/OrCombinedInput.vue +0 -130
- package/src/components/or-combined-input-v3/index.ts +0 -2
- package/src/components/or-combined-input-v3/props.ts +0 -1
- package/src/components/or-combined-input-v3/styles.ts +0 -25
|
@@ -8,7 +8,7 @@ import { s as script$3 } from './OrExpansionPanel-3a4282da.js';
|
|
|
8
8
|
import { s as script$4 } from './OrHint-6863124f.js';
|
|
9
9
|
import { s as script$5 } from './OrIcon-34f59f73.js';
|
|
10
10
|
import { s as script$7, a as InputBoxSize } from './OrInputBox-2467d7e4.js';
|
|
11
|
-
import { s as script$6 } from './OrInput-
|
|
11
|
+
import { s as script$6 } from './OrInput-71075f51.js';
|
|
12
12
|
import { s as script$8 } from './OrLabel-f700f9fb.js';
|
|
13
13
|
import { s as script$9 } from './OrMenuItem-58707d47.js';
|
|
14
14
|
import { s as script$a } from './OrPopover-40217b49.js';
|
|
@@ -22,9 +22,7 @@ const SelectRoot = [
|
|
|
22
22
|
'gap-xs'];
|
|
23
23
|
const SelectControl = [
|
|
24
24
|
// Layout
|
|
25
|
-
'layout-row',
|
|
26
|
-
// Box
|
|
27
|
-
'w-full',
|
|
25
|
+
'layout-row grow',
|
|
28
26
|
// Overflow
|
|
29
27
|
'overflow-hidden',
|
|
30
28
|
// Spacing
|
|
@@ -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-c56998e7.js';
|
|
7
7
|
export { s as OrCard } from '../OrCard-e3a5aea4.js';
|
|
8
8
|
export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from '../OrCardCollection-1e44c758.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-803f67f7.js';
|
|
10
10
|
export { s as OrCardV3 } from '../OrCard-cd6af82e.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-c11ee2ec.js';
|
|
19
|
-
export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm-
|
|
19
|
+
export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm-1ee529f1.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-308119de.js';
|
|
@@ -31,11 +31,11 @@ export { s as OrIcon, O as OrIconColors, a as OrIconType } from '../OrIcon-66950
|
|
|
31
31
|
export { I as IconButtonColor, s as OrIconButtonV3 } from '../OrIconButton-2dcfb83e.js';
|
|
32
32
|
export { I as IconButtonSize, I as IconSize, a as IconVariant, s as OrIconV3 } from '../OrIcon-34f59f73.js';
|
|
33
33
|
export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3 } from '../OrInlineInputBox-09b33e18.js';
|
|
34
|
-
export { I as InlineInputType, s as OrInlineInputV3 } from '../OrInlineInput-
|
|
34
|
+
export { I as InlineInputType, s as OrInlineInputV3 } from '../OrInlineInput-fbc35f85.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-79da8697.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-2467d7e4.js';
|
|
38
|
-
export { I as InputType, s as OrInputV3 } from '../OrInput-
|
|
38
|
+
export { I as InputType, s as OrInputV3 } from '../OrInput-71075f51.js';
|
|
39
39
|
export { s as OrInput } from '../OrInput-81125804.js';
|
|
40
40
|
export { s as OrLabel } from '../OrLabel-876f8729.js';
|
|
41
41
|
export { L as LabelVariant, s as OrLabelV3 } from '../OrLabel-f700f9fb.js';
|
|
@@ -63,10 +63,10 @@ export { s as OrRadio } from '../OrRadio-c3ab11f2.js';
|
|
|
63
63
|
export { s as OrRadioGroup } from '../OrRadioGroup-00785e41.js';
|
|
64
64
|
export { s as OrRadioV3 } from '../OrRadio-bb9b37c1.js';
|
|
65
65
|
export { s as OrSearch } from '../OrSearch-11fdf667.js';
|
|
66
|
-
export { s as OrSearchV3 } from '../OrSearch-
|
|
66
|
+
export { s as OrSearchV3 } from '../OrSearch-4e180e34.js';
|
|
67
67
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-880b4911.js';
|
|
68
68
|
export { s as OrSelect } from '../OrSelect-0821b907.js';
|
|
69
|
-
export { s as OrSelectV3 } from '../OrSelect-
|
|
69
|
+
export { s as OrSelectV3 } from '../OrSelect-c64eda46.js';
|
|
70
70
|
export { s as OrSidebar, O as OrSidebarSide } from '../OrSidebar-375c85a3.js';
|
|
71
71
|
export { s as OrSidebarV3 } from '../OrSidebar-61d84c3e.js';
|
|
72
72
|
export { O as OrSidebarPlacement } from '../OrSidebarCollapseButton-1b9c83ef.js';
|
|
@@ -88,7 +88,7 @@ export { s as OrTeleport } from '../OrTeleportVue3-ad639f12.js';
|
|
|
88
88
|
export { s as OrTeleportV3 } from '../OrTeleport.vue3-8099178c.js';
|
|
89
89
|
export { s as OrTextV3 } from '../OrText-6b4f7cd1.js';
|
|
90
90
|
export { s as OrTextarea } from '../OrTextarea-1f5c3be1.js';
|
|
91
|
-
export { s as OrTextareaV3 } from '../OrTextarea-
|
|
91
|
+
export { s as OrTextareaV3 } from '../OrTextarea-42d21f77.js';
|
|
92
92
|
export { s as OrTextbox, T as TextboxTypes } from '../OrTextbox-2f33e9c3.js';
|
|
93
93
|
export { s as OrToast, a as OrToastContainer } from '../OrToastContainer-40c4c1c8.js';
|
|
94
94
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from '../useToast-4fbe0e5a.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-
|
|
1
|
+
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-803f67f7.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../OrButton-c56998e7.js';
|
|
4
4
|
import '../../OrLoader-a53d2edf.js';
|
|
@@ -16,8 +16,8 @@ import '../../OrOverlay-afad3aa4.js';
|
|
|
16
16
|
import '../../OrTeleport.vue3-8099178c.js';
|
|
17
17
|
import '../../OrMenuItem-58707d47.js';
|
|
18
18
|
import '../../OrMenu-7f3ea117.js';
|
|
19
|
-
import '../../OrSearch-
|
|
20
|
-
import '../../OrInput-
|
|
19
|
+
import '../../OrSearch-4e180e34.js';
|
|
20
|
+
import '../../OrInput-71075f51.js';
|
|
21
21
|
import '../../useIdAttribute-859439f0.js';
|
|
22
22
|
import '../../useValidationAttributes-d1abbe34.js';
|
|
23
23
|
import '../../OrError-19198748.js';
|
|
@@ -84,7 +84,8 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
84
84
|
};
|
|
85
85
|
isOpen: {
|
|
86
86
|
type: BooleanConstructor;
|
|
87
|
-
|
|
87
|
+
required: false;
|
|
88
|
+
default: undefined;
|
|
88
89
|
};
|
|
89
90
|
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
90
91
|
titleText: {
|
|
@@ -139,7 +140,8 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
139
140
|
};
|
|
140
141
|
isOpen: {
|
|
141
142
|
type: BooleanConstructor;
|
|
142
|
-
|
|
143
|
+
required: false;
|
|
144
|
+
default: undefined;
|
|
143
145
|
};
|
|
144
146
|
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
145
147
|
titleText: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm-
|
|
1
|
+
export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm-1ee529f1.js';
|
|
2
2
|
import '@vueuse/core';
|
|
3
3
|
import '@vueuse/math';
|
|
4
4
|
import 'vue-demi';
|
|
5
5
|
import '../../OrButton-c56998e7.js';
|
|
6
6
|
import '../../OrLoader-a53d2edf.js';
|
|
7
7
|
import 'vue';
|
|
8
|
-
import '../../OrInput-
|
|
8
|
+
import '../../OrInput-71075f51.js';
|
|
9
9
|
import '../../useIdAttribute-859439f0.js';
|
|
10
10
|
import '../../useResponsive-a02e95b7.js';
|
|
11
11
|
import '../../useValidationAttributes-d1abbe34.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { I as InlineInputType, s as OrInlineInputV3 } from '../../OrInlineInput-
|
|
1
|
+
export { I as InlineInputType, s as OrInlineInputV3 } from '../../OrInlineInput-fbc35f85.js';
|
|
2
2
|
export { I as InlineInputSize } from '../../OrInlineInputBox-09b33e18.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../useIdAttribute-859439f0.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { I as InputType, s as OrInputV3 } from '../../OrInput-
|
|
1
|
+
export { I as InputType, s as OrInputV3 } from '../../OrInput-71075f51.js';
|
|
2
2
|
export { a as InputSize } from '../../OrInputBox-2467d7e4.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../useIdAttribute-859439f0.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { s as OrSearchV3 } from '../../OrSearch-
|
|
1
|
+
export { s as OrSearchV3 } from '../../OrSearch-4e180e34.js';
|
|
2
2
|
export { a as SearchSize } from '../../OrInputBox-2467d7e4.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import 'vue-demi';
|
|
5
|
-
import '../../OrInput-
|
|
5
|
+
import '../../OrInput-71075f51.js';
|
|
6
6
|
import '../../useIdAttribute-859439f0.js';
|
|
7
7
|
import '../../useResponsive-a02e95b7.js';
|
|
8
8
|
import '../../useValidationAttributes-d1abbe34.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { s as OrSelectV3 } from '../../OrSelect-
|
|
1
|
+
export { s as OrSelectV3 } from '../../OrSelect-c64eda46.js';
|
|
2
2
|
export { a as SelectSize } from '../../OrInputBox-2467d7e4.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../dropdown-open-0d314aa4.js';
|
|
@@ -13,7 +13,7 @@ import '../../OrError-19198748.js';
|
|
|
13
13
|
import '../../OrExpansionPanel-3a4282da.js';
|
|
14
14
|
import '../../OrIcon-34f59f73.js';
|
|
15
15
|
import '../../OrHint-6863124f.js';
|
|
16
|
-
import '../../OrInput-
|
|
16
|
+
import '../../OrInput-71075f51.js';
|
|
17
17
|
import '../../useResponsive-a02e95b7.js';
|
|
18
18
|
import '../../useValidationAttributes-d1abbe34.js';
|
|
19
19
|
import '../../OrIconButton-2dcfb83e.js';
|
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-c56998e7.js';
|
|
7
7
|
export { s as OrCard } from './OrCard-e3a5aea4.js';
|
|
8
8
|
export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from './OrCardCollection-1e44c758.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-803f67f7.js';
|
|
10
10
|
export { s as OrCardV3 } from './OrCard-cd6af82e.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-c11ee2ec.js';
|
|
19
|
-
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-
|
|
19
|
+
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-1ee529f1.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-308119de.js';
|
|
@@ -31,11 +31,11 @@ export { s as OrIcon, O as OrIconColors, a as OrIconType } from './OrIcon-669503
|
|
|
31
31
|
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-2dcfb83e.js';
|
|
32
32
|
export { I as IconButtonSize, I as IconSize, a as IconVariant, s as OrIconV3 } from './OrIcon-34f59f73.js';
|
|
33
33
|
export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3 } from './OrInlineInputBox-09b33e18.js';
|
|
34
|
-
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-
|
|
34
|
+
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-fbc35f85.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-79da8697.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-2467d7e4.js';
|
|
38
|
-
export { I as InputType, s as OrInputV3 } from './OrInput-
|
|
38
|
+
export { I as InputType, s as OrInputV3 } from './OrInput-71075f51.js';
|
|
39
39
|
export { s as OrInput } from './OrInput-81125804.js';
|
|
40
40
|
export { s as OrLabel } from './OrLabel-876f8729.js';
|
|
41
41
|
export { L as LabelVariant, s as OrLabelV3 } from './OrLabel-f700f9fb.js';
|
|
@@ -63,10 +63,10 @@ export { s as OrRadio } from './OrRadio-c3ab11f2.js';
|
|
|
63
63
|
export { s as OrRadioGroup } from './OrRadioGroup-00785e41.js';
|
|
64
64
|
export { s as OrRadioV3 } from './OrRadio-bb9b37c1.js';
|
|
65
65
|
export { s as OrSearch } from './OrSearch-11fdf667.js';
|
|
66
|
-
export { s as OrSearchV3 } from './OrSearch-
|
|
66
|
+
export { s as OrSearchV3 } from './OrSearch-4e180e34.js';
|
|
67
67
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-880b4911.js';
|
|
68
68
|
export { s as OrSelect } from './OrSelect-0821b907.js';
|
|
69
|
-
export { s as OrSelectV3 } from './OrSelect-
|
|
69
|
+
export { s as OrSelectV3 } from './OrSelect-c64eda46.js';
|
|
70
70
|
export { s as OrSidebar, O as OrSidebarSide } from './OrSidebar-375c85a3.js';
|
|
71
71
|
export { s as OrSidebarV3 } from './OrSidebar-61d84c3e.js';
|
|
72
72
|
export { O as OrSidebarPlacement } from './OrSidebarCollapseButton-1b9c83ef.js';
|
|
@@ -88,7 +88,7 @@ export { s as OrTeleport } from './OrTeleportVue3-ad639f12.js';
|
|
|
88
88
|
export { s as OrTeleportV3 } from './OrTeleport.vue3-8099178c.js';
|
|
89
89
|
export { s as OrTextV3 } from './OrText-6b4f7cd1.js';
|
|
90
90
|
export { s as OrTextarea } from './OrTextarea-1f5c3be1.js';
|
|
91
|
-
export { s as OrTextareaV3 } from './OrTextarea-
|
|
91
|
+
export { s as OrTextareaV3 } from './OrTextarea-42d21f77.js';
|
|
92
92
|
export { s as OrTextbox, T as TextboxTypes } from './OrTextbox-2f33e9c3.js';
|
|
93
93
|
export { s as OrToast, a as OrToastContainer } from './OrToastContainer-40c4c1c8.js';
|
|
94
94
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/ui-components",
|
|
3
|
-
"version": "2.74.1-beta.
|
|
3
|
+
"version": "2.74.1-beta.2293.0",
|
|
4
4
|
"description": "Vue components library for v2/3",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/auto/index.js",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@codemirror/lang-json": "6.0.0",
|
|
39
39
|
"@codemirror/lang-markdown": "6.0.1",
|
|
40
40
|
"@floating-ui/dom": "0.3.1",
|
|
41
|
-
"@onereach/styles": "^2.34.
|
|
41
|
+
"@onereach/styles": "^2.34.0",
|
|
42
42
|
"@splidejs/splide": "4.0.6",
|
|
43
43
|
"@types/lodash": "4.14.173",
|
|
44
44
|
"@types/sortablejs": "1.10.7",
|
|
@@ -81,10 +81,6 @@ export default {
|
|
|
81
81
|
textConfirmationError: {
|
|
82
82
|
control: { type: 'text' },
|
|
83
83
|
},
|
|
84
|
-
|
|
85
|
-
isOpen: {
|
|
86
|
-
control: { type: 'boolean' },
|
|
87
|
-
},
|
|
88
84
|
},
|
|
89
85
|
|
|
90
86
|
parameters: {
|
|
@@ -115,10 +111,7 @@ const Template: StoryFn<typeof OrConfirm> = (args) => ({
|
|
|
115
111
|
confirm,
|
|
116
112
|
onOpen: action('open'),
|
|
117
113
|
onClose: action('close'),
|
|
118
|
-
onConfirm: (
|
|
119
|
-
action('confirm')(event);
|
|
120
|
-
confirm.value?.close(); // you should close OrConfirm manually or you can set loading=true before closing
|
|
121
|
-
},
|
|
114
|
+
onConfirm: action('confirm'),
|
|
122
115
|
};
|
|
123
116
|
},
|
|
124
117
|
|
|
@@ -147,54 +140,6 @@ const Template: StoryFn<typeof OrConfirm> = (args) => ({
|
|
|
147
140
|
`,
|
|
148
141
|
});
|
|
149
142
|
|
|
150
|
-
const TemplateIsOpen: StoryFn<typeof OrConfirm> = (args) => ({
|
|
151
|
-
components: {
|
|
152
|
-
OrConfirm,
|
|
153
|
-
OrButton,
|
|
154
|
-
},
|
|
155
|
-
|
|
156
|
-
setup() {
|
|
157
|
-
const isOpen = ref(args.isOpen);
|
|
158
|
-
return {
|
|
159
|
-
args,
|
|
160
|
-
isOpen,
|
|
161
|
-
onOpen: action('open'),
|
|
162
|
-
onClose: () => {
|
|
163
|
-
isOpen.value = false;
|
|
164
|
-
action('close');
|
|
165
|
-
},
|
|
166
|
-
onConfirm: (event: any) => {
|
|
167
|
-
isOpen.value = false;
|
|
168
|
-
action('confirm')(event);
|
|
169
|
-
},
|
|
170
|
-
};
|
|
171
|
-
},
|
|
172
|
-
|
|
173
|
-
template: `
|
|
174
|
-
<div class="contents">
|
|
175
|
-
<OrButton @click="isOpen = true">Confirmation modal</OrButton>
|
|
176
|
-
|
|
177
|
-
<OrConfirm
|
|
178
|
-
v-bind="args"
|
|
179
|
-
:is-open="isOpen"
|
|
180
|
-
@open="onOpen"
|
|
181
|
-
@close="onClose"
|
|
182
|
-
@confirm="onConfirm"
|
|
183
|
-
>
|
|
184
|
-
<template #default v-if="args.default">
|
|
185
|
-
${args.default}
|
|
186
|
-
</template>
|
|
187
|
-
<template #header v-if="args.header">
|
|
188
|
-
${args.header}
|
|
189
|
-
</template>
|
|
190
|
-
<template #footer v-if="args.footer">
|
|
191
|
-
${args.footer}
|
|
192
|
-
</template>
|
|
193
|
-
</OrConfirm>
|
|
194
|
-
</div>
|
|
195
|
-
`,
|
|
196
|
-
});
|
|
197
|
-
|
|
198
143
|
export const Default = Template.bind({});
|
|
199
144
|
Default.args = {
|
|
200
145
|
titleText: 'Delete permanently',
|
|
@@ -244,8 +189,61 @@ ConfirmButtonColor.args = {
|
|
|
244
189
|
confirmButtonText: 'Yes',
|
|
245
190
|
cancelButtonText: 'No',
|
|
246
191
|
};
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
const TemplateIsOpen: StoryFn<typeof OrConfirm> = (args) => ({
|
|
195
|
+
components: {
|
|
196
|
+
OrConfirm,
|
|
197
|
+
OrButton,
|
|
198
|
+
},
|
|
199
|
+
|
|
200
|
+
setup() {
|
|
201
|
+
const isOpen = ref(args.isOpen);
|
|
202
|
+
return {
|
|
203
|
+
args,
|
|
204
|
+
isOpen,
|
|
205
|
+
onClose: () => {
|
|
206
|
+
isOpen.value = false;
|
|
207
|
+
action('close')();
|
|
208
|
+
},
|
|
209
|
+
onConfirm: () => {
|
|
210
|
+
action('confirm')();
|
|
211
|
+
},
|
|
212
|
+
};
|
|
213
|
+
},
|
|
214
|
+
|
|
215
|
+
template: `
|
|
216
|
+
<div class="contents">
|
|
217
|
+
<OrButton @click="() => isOpen = true">Confirmation modal</OrButton>
|
|
218
|
+
|
|
219
|
+
<OrConfirm
|
|
220
|
+
v-bind="args"
|
|
221
|
+
:is-open="isOpen"
|
|
222
|
+
@close="onClose"
|
|
223
|
+
@confirm="onConfirm"
|
|
224
|
+
>
|
|
225
|
+
<template #default v-if="args.default">
|
|
226
|
+
${args.default}
|
|
227
|
+
</template>
|
|
228
|
+
<template #header v-if="args.header">
|
|
229
|
+
${args.header}
|
|
230
|
+
</template>
|
|
231
|
+
<template #footer v-if="args.footer">
|
|
232
|
+
${args.footer}
|
|
233
|
+
</template>
|
|
234
|
+
</OrConfirm>
|
|
235
|
+
</div>
|
|
236
|
+
`,
|
|
237
|
+
});
|
|
247
238
|
export const UsingIsOpenProp = TemplateIsOpen.bind({});
|
|
239
|
+
UsingIsOpenProp.argTypes = {
|
|
240
|
+
isOpen: {
|
|
241
|
+
control: { type: 'boolean' },
|
|
242
|
+
},
|
|
243
|
+
};
|
|
244
|
+
|
|
248
245
|
UsingIsOpenProp.args = {
|
|
246
|
+
isOpen: 'true',
|
|
249
247
|
titleText: 'Confirm',
|
|
250
248
|
default: `Are you sure you want to <i>${Faker.hacker.verb()}</i> the <b>${Faker.hacker.noun()}</b>?`,
|
|
251
249
|
confirmType: ConfirmType.C,
|
|
@@ -148,7 +148,8 @@ export default defineComponent({
|
|
|
148
148
|
|
|
149
149
|
isOpen: {
|
|
150
150
|
type: Boolean,
|
|
151
|
-
|
|
151
|
+
required: false,
|
|
152
|
+
default: undefined,
|
|
152
153
|
},
|
|
153
154
|
},
|
|
154
155
|
|
|
@@ -192,10 +193,16 @@ export default defineComponent({
|
|
|
192
193
|
// Methods
|
|
193
194
|
function open(): void {
|
|
194
195
|
isActive.value = true;
|
|
196
|
+
if (props.isOpen === undefined) {
|
|
197
|
+
emit('open');
|
|
198
|
+
}
|
|
195
199
|
}
|
|
196
200
|
|
|
197
201
|
function close(): void {
|
|
198
|
-
|
|
202
|
+
if (props.isOpen === undefined) {
|
|
203
|
+
isActive.value = false;
|
|
204
|
+
}
|
|
205
|
+
emit('close');
|
|
199
206
|
}
|
|
200
207
|
|
|
201
208
|
function confirm(): void {
|
|
@@ -212,12 +219,10 @@ export default defineComponent({
|
|
|
212
219
|
}
|
|
213
220
|
|
|
214
221
|
// Events
|
|
215
|
-
watch(
|
|
216
|
-
|
|
217
|
-
watch(() => props.isOpen, (newIsOpen) => {
|
|
218
|
-
if (newIsOpen) {
|
|
222
|
+
watch(() => props.isOpen, (value) => {
|
|
223
|
+
if (value === true) {
|
|
219
224
|
open();
|
|
220
|
-
} else {
|
|
225
|
+
} else if (value === false) {
|
|
221
226
|
close();
|
|
222
227
|
}
|
|
223
228
|
}, { immediate: true });
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryFn } from '@storybook/vue3';
|
|
2
|
-
declare const _default: Meta<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
3
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
4
|
-
} | string[], {} & {}, {
|
|
5
|
-
[x: number]: string;
|
|
6
|
-
} | {}, true>)>;
|
|
7
|
-
export default _default;
|
|
8
|
-
export declare const Default: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
9
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
10
|
-
} | string[], {} & {}, {
|
|
11
|
-
[x: number]: string;
|
|
12
|
-
} | {}, true>)>;
|
|
13
|
-
export declare const Addon: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
14
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
15
|
-
} | string[], {} & {}, {
|
|
16
|
-
[x: number]: string;
|
|
17
|
-
} | {}, true>)>;
|
|
18
|
-
export declare const Hint: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
19
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
20
|
-
} | string[], {} & {}, {
|
|
21
|
-
[x: number]: string;
|
|
22
|
-
} | {}, true>)>;
|
|
23
|
-
export declare const Error: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
24
|
-
[x: string]: ((...args: any[]) => any) | null;
|
|
25
|
-
} | string[], {} & {}, {
|
|
26
|
-
[x: number]: string;
|
|
27
|
-
} | {}, true>)>;
|