@onereach/ui-components 2.73.0 → 2.73.1-beta.2285.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-4ac89ea5.js → OrCardCollection-9bc44ec5.js} +1 -1
- package/dist/bundled/v2/{OrConfirm-8c0e957d.js → OrConfirm-ea6ea2f7.js} +1 -1
- package/dist/bundled/v2/{OrInput-00070eee.js → OrInput-57a47093.js} +28 -11
- package/dist/bundled/v2/{OrInputBox-2f559e98.js → OrInputBox-e54dcef9.js} +3 -3
- package/dist/bundled/v2/{OrSearch-09fd004c.js → OrSearch-4072a079.js} +2 -2
- package/dist/bundled/v2/{OrSelect-2ececfc1.js → OrSelect-359e891b.js} +2 -2
- package/dist/bundled/v2/{OrTextarea-5c57c02b.js → OrTextarea-1201353b.js} +1 -1
- package/dist/bundled/v2/components/index.js +8 -8
- 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-input-box-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-input-v3/OrInput.vue.d.ts +13 -0
- package/dist/bundled/v2/components/or-input-v3/index.js +3 -2
- package/dist/bundled/v2/components/or-search-v3/index.js +4 -3
- package/dist/bundled/v2/components/or-select-v3/index.js +4 -3
- package/dist/bundled/v2/components/or-textarea-v3/index.js +2 -2
- package/dist/bundled/v2/index.js +8 -8
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-f76c3264.js → OrCardCollection.vue_vue_type_script_lang-62eb2543.js} +1 -1
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-eb2bfce2.js → OrConfirm.vue_vue_type_script_lang-9aff9db3.js} +2 -2
- package/dist/bundled/v3/{OrInput-dcf2606e.js → OrInput-44a32124.js} +15 -6
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-27220623.js → OrInput.vue_vue_type_script_lang-4d9e2f4a.js} +15 -3
- package/dist/bundled/v3/{OrInputBox-4c7900c2.js → OrInputBox-358d4856.js} +1 -1
- package/dist/bundled/v3/{OrInputBox.vue_vue_type_script_lang-47d98e81.js → OrInputBox.vue_vue_type_script_lang-b387d4ba.js} +3 -3
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-c054c8db.js → OrSearch.vue_vue_type_script_lang-0ddeada5.js} +3 -3
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-7fd5e2f0.js → OrSelect.vue_vue_type_script_lang-c7a9bec2.js} +4 -4
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-296da567.js → OrTextarea.vue_vue_type_script_lang-de99a858.js} +2 -2
- package/dist/bundled/v3/components/index.js +10 -10
- 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-input-box-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-input-v3/OrInput.vue.d.ts +13 -0
- package/dist/bundled/v3/components/or-input-v3/index.js +5 -3
- package/dist/bundled/v3/components/or-search-v3/index.js +7 -5
- package/dist/bundled/v3/components/or-select-v3/index.js +7 -5
- package/dist/bundled/v3/components/or-textarea-v3/index.js +3 -3
- package/dist/bundled/v3/index.js +14 -14
- package/dist/esm/v2/{OrCardCollection-5a9eda35.js → OrCardCollection-4c909f4b.js} +2 -2
- package/dist/esm/v2/{OrConfirm-9dbdedd7.js → OrConfirm-7dc26526.js} +1 -1
- package/dist/esm/v2/{OrInput-59a15d80.js → OrInput-3d8c8925.js} +28 -11
- package/dist/esm/v2/{OrInputBox-9ceb9fc4.js → OrInputBox-53d1f66d.js} +3 -3
- package/dist/esm/v2/{OrSearch-7411388b.js → OrSearch-d6f1ba11.js} +2 -2
- package/dist/esm/v2/{OrSelect-e31d1c8b.js → OrSelect-bdb9a78a.js} +2 -2
- package/dist/esm/v2/{OrTextarea-a5a3572b.js → OrTextarea-373d0554.js} +1 -1
- package/dist/esm/v2/components/index.js +8 -8
- package/dist/esm/v2/components/or-card-collection-v3/index.js +4 -4
- package/dist/esm/v2/components/or-confirm-v3/index.js +4 -4
- package/dist/esm/v2/components/or-input-box-v3/index.js +1 -1
- package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +13 -0
- package/dist/esm/v2/components/or-input-v3/index.js +4 -3
- package/dist/esm/v2/components/or-search-v3/index.js +5 -4
- package/dist/esm/v2/components/or-select-v3/index.js +5 -4
- package/dist/esm/v2/components/or-textarea-v3/index.js +2 -2
- package/dist/esm/v2/index.js +7 -7
- package/dist/esm/v3/{OrCardCollection-e4fde5b4.js → OrCardCollection-803f67f7.js} +2 -2
- package/dist/esm/v3/{OrConfirm-37454a63.js → OrConfirm-403896ca.js} +1 -1
- package/dist/esm/v3/{OrInput-bd054213.js → OrInput-71075f51.js} +27 -7
- package/dist/esm/v3/{OrInputBox-e16ade90.js → OrInputBox-2467d7e4.js} +3 -3
- package/dist/esm/v3/{OrSearch-5406bf03.js → OrSearch-4e180e34.js} +2 -2
- package/dist/esm/v3/{OrSelect-466e50ca.js → OrSelect-c64eda46.js} +2 -2
- package/dist/esm/v3/{OrTextarea-37566985.js → OrTextarea-42d21f77.js} +1 -1
- package/dist/esm/v3/components/index.js +8 -8
- package/dist/esm/v3/components/or-card-collection-v3/index.js +4 -4
- package/dist/esm/v3/components/or-confirm-v3/index.js +4 -4
- package/dist/esm/v3/components/or-input-box-v3/index.js +1 -1
- package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +13 -0
- package/dist/esm/v3/components/or-input-v3/index.js +4 -3
- package/dist/esm/v3/components/or-search-v3/index.js +5 -4
- package/dist/esm/v3/components/or-select-v3/index.js +5 -4
- package/dist/esm/v3/components/or-textarea-v3/index.js +2 -2
- package/dist/esm/v3/index.js +7 -7
- package/package.json +2 -3
- package/src/components/or-input-box-v3/styles.ts +3 -6
- package/src/components/or-input-v3/OrInput.stories3.ts +4 -0
- package/src/components/or-input-v3/OrInput.vue +39 -19
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, reactive } from 'vue-demi';
|
|
2
2
|
import { a as useIdAttribute, u as useControlAttributes } from './useIdAttribute-859439f0.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
|
+
import { u as useResponsive } from './useResponsive-a02e95b7.js';
|
|
4
5
|
import { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
|
|
5
6
|
import { s as script$1 } from './OrError-19198748.js';
|
|
6
7
|
import { s as script$2 } from './OrHint-6863124f.js';
|
|
7
8
|
import { s as script$4 } from './OrIconButton-2dcfb83e.js';
|
|
8
9
|
import { s as script$3 } from './OrIcon-34f59f73.js';
|
|
9
|
-
import { s as script$5, a as InputBoxSize } from './OrInputBox-
|
|
10
|
+
import { s as script$5, a as InputBoxSize } from './OrInputBox-2467d7e4.js';
|
|
10
11
|
import { s as script$6 } from './OrLabel-f700f9fb.js';
|
|
11
|
-
import {
|
|
12
|
+
import { s as script$7 } from './OrLoader-a53d2edf.js';
|
|
13
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, withDirectives, createElementVNode, mergeProps, vModelDynamic, Fragment, withModifiers, createSlots } from 'vue';
|
|
12
14
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
13
15
|
|
|
14
16
|
var InputType;
|
|
@@ -40,7 +42,8 @@ var script = defineComponent({
|
|
|
40
42
|
OrIcon: script$3,
|
|
41
43
|
OrIconButton: script$4,
|
|
42
44
|
OrInputBox: script$5,
|
|
43
|
-
OrLabel: script$6
|
|
45
|
+
OrLabel: script$6,
|
|
46
|
+
OrLoader: script$7
|
|
44
47
|
},
|
|
45
48
|
model: {
|
|
46
49
|
prop: 'modelValue',
|
|
@@ -75,6 +78,10 @@ var script = defineComponent({
|
|
|
75
78
|
type: String,
|
|
76
79
|
default: undefined
|
|
77
80
|
},
|
|
81
|
+
loading: {
|
|
82
|
+
type: Boolean,
|
|
83
|
+
default: false
|
|
84
|
+
},
|
|
78
85
|
required: {
|
|
79
86
|
type: Boolean,
|
|
80
87
|
default: false
|
|
@@ -120,6 +127,9 @@ var script = defineComponent({
|
|
|
120
127
|
const maxLength = computed(() => controlAttributes.maxlength);
|
|
121
128
|
const invalid = computed(() => !!props.error);
|
|
122
129
|
const disclosed = ref(false);
|
|
130
|
+
const {
|
|
131
|
+
isMobile
|
|
132
|
+
} = useResponsive();
|
|
123
133
|
// Methods
|
|
124
134
|
function focus() {
|
|
125
135
|
var _a;
|
|
@@ -140,6 +150,7 @@ var script = defineComponent({
|
|
|
140
150
|
maxLength,
|
|
141
151
|
invalid,
|
|
142
152
|
disclosed,
|
|
153
|
+
isMobile,
|
|
143
154
|
focus,
|
|
144
155
|
blur
|
|
145
156
|
};
|
|
@@ -152,6 +163,7 @@ const _hoisted_2 = {
|
|
|
152
163
|
};
|
|
153
164
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
154
165
|
const _component_OrLabel = resolveComponent("OrLabel");
|
|
166
|
+
const _component_OrLoader = resolveComponent("OrLoader");
|
|
155
167
|
const _component_OrIconButton = resolveComponent("OrIconButton");
|
|
156
168
|
const _component_OrIcon = resolveComponent("OrIcon");
|
|
157
169
|
const _component_OrInputBox = resolveComponent("OrInputBox");
|
|
@@ -175,7 +187,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
175
187
|
variant: _ctx.disableDefaultStyles ? 'unstyled' : 'styled',
|
|
176
188
|
size: _ctx.size,
|
|
177
189
|
invalid: _ctx.invalid,
|
|
178
|
-
readonly: _ctx.readonly,
|
|
190
|
+
readonly: _ctx.readonly || _ctx.loading,
|
|
179
191
|
disabled: _ctx.disabled
|
|
180
192
|
}, {
|
|
181
193
|
default: withCtx(() => [withDirectives(createElementVNode("input", mergeProps({
|
|
@@ -186,13 +198,20 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
186
198
|
type: _ctx.type === 'password' && _ctx.disclosed ? 'text' : _ctx.type,
|
|
187
199
|
placeholder: _ctx.placeholder,
|
|
188
200
|
required: _ctx.required,
|
|
189
|
-
readonly: _ctx.readonly,
|
|
201
|
+
readonly: _ctx.readonly || _ctx.loading,
|
|
190
202
|
disabled: _ctx.disabled,
|
|
191
203
|
onKeydown: _cache[1] || (_cache[1] = $event => _ctx.$emit('keydown', $event)),
|
|
192
204
|
onKeyup: _cache[2] || (_cache[2] = $event => _ctx.$emit('keyup', $event)),
|
|
193
205
|
onFocus: _cache[3] || (_cache[3] = $event => _ctx.$emit('focus', $event)),
|
|
194
206
|
onBlur: _cache[4] || (_cache[4] = $event => _ctx.$emit('blur', $event))
|
|
195
|
-
}), null, 16 /* FULL_PROPS */, _hoisted_1), [[vModelDynamic, _ctx.proxyModelValue]]), createElementVNode("div", _hoisted_2, [_ctx.
|
|
207
|
+
}), null, 16 /* FULL_PROPS */, _hoisted_1), [[vModelDynamic, _ctx.proxyModelValue]]), createElementVNode("div", _hoisted_2, [_ctx.loading ? (openBlock(), createBlock(_component_OrLoader, {
|
|
208
|
+
key: 0,
|
|
209
|
+
variant: 'circular',
|
|
210
|
+
color: 'primary',
|
|
211
|
+
size: _ctx.isMobile ? 'm' : 's'
|
|
212
|
+
}, null, 8 /* PROPS */, ["size"])) : (openBlock(), createElementBlock(Fragment, {
|
|
213
|
+
key: 1
|
|
214
|
+
}, [_ctx.type === 'password' ? (openBlock(), createBlock(_component_OrIconButton, {
|
|
196
215
|
key: 0,
|
|
197
216
|
icon: {
|
|
198
217
|
icon: _ctx.disclosed ? 'visibility_off' : 'visibility',
|
|
@@ -213,7 +232,8 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
213
232
|
key: 1,
|
|
214
233
|
icon: 'search',
|
|
215
234
|
variant: 'outlined'
|
|
216
|
-
}))], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true)])]),
|
|
235
|
+
}))], 64 /* STABLE_FRAGMENT */)) : createCommentVNode("v-if", true)], 64 /* STABLE_FRAGMENT */))])]),
|
|
236
|
+
|
|
217
237
|
_: 1 /* STABLE */
|
|
218
238
|
}, 8 /* PROPS */, ["variant", "size", "invalid", "readonly", "disabled"]), !_ctx.invalid ? (openBlock(), createElementBlock(Fragment, {
|
|
219
239
|
key: 1
|
|
@@ -42,16 +42,16 @@ const InputBoxRootVariants = {
|
|
|
42
42
|
const InputBoxRootSizes = {
|
|
43
43
|
'm': [
|
|
44
44
|
// Box
|
|
45
|
-
'children:min-h-[34px]',
|
|
45
|
+
'children:min-h-[46px] children:md:min-h-[34px]',
|
|
46
46
|
// Spacing
|
|
47
|
-
'first-child:pl-md first-child:md:pl-sm+', 'last-child:pr-md last-child:md:pr-sm+', '
|
|
47
|
+
'first-child:pl-md first-child:md:pl-sm+', 'last-child:pr-md last-child:md:pr-sm+', 'gap-sm+ md:gap-sm',
|
|
48
48
|
// Typography
|
|
49
49
|
'typography-body-2-regular'],
|
|
50
50
|
's': [
|
|
51
51
|
// Box
|
|
52
52
|
'children:min-h-[30px]',
|
|
53
53
|
// Spacing
|
|
54
|
-
'first-child:pl-sm', 'last-child:pr-
|
|
54
|
+
'first-child:pl-md first-child:md:pl-sm+', 'last-child:pr-md last-child:md:pr-sm+', 'gap-[6px]',
|
|
55
55
|
// Typography
|
|
56
56
|
'typography-caption-regular']
|
|
57
57
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { debouncedWatch } from '@vueuse/core';
|
|
2
2
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
3
|
-
import { s as script$1 } from './OrInput-
|
|
4
|
-
import { a as InputBoxSize } from './OrInputBox-
|
|
3
|
+
import { s as script$1 } from './OrInput-71075f51.js';
|
|
4
|
+
import { a as InputBoxSize } from './OrInputBox-2467d7e4.js';
|
|
5
5
|
import { resolveComponent, openBlock, createBlock, normalizeClass } from 'vue';
|
|
6
6
|
|
|
7
7
|
var script = defineComponent({
|
|
@@ -7,8 +7,8 @@ import { s as script$2 } from './OrError-19198748.js';
|
|
|
7
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
|
-
import { s as script$7, a as InputBoxSize } from './OrInputBox-
|
|
11
|
-
import { s as script$6 } from './OrInput-
|
|
10
|
+
import { s as script$7, a as InputBoxSize } from './OrInputBox-2467d7e4.js';
|
|
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';
|
|
@@ -4,7 +4,7 @@ import '@vueuse/core';
|
|
|
4
4
|
import { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
|
|
5
5
|
import { s as script$1 } from './OrError-19198748.js';
|
|
6
6
|
import { s as script$2 } from './OrHint-6863124f.js';
|
|
7
|
-
import { s as script$3, a as InputBoxSize } from './OrInputBox-
|
|
7
|
+
import { s as script$3, a as InputBoxSize } from './OrInputBox-2467d7e4.js';
|
|
8
8
|
import { s as script$4 } from './OrLabel-f700f9fb.js';
|
|
9
9
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, withDirectives, createElementVNode, mergeProps, vModelText, Fragment, createSlots } from 'vue';
|
|
10
10
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
@@ -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-403896ca.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';
|
|
@@ -34,8 +34,8 @@ export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3
|
|
|
34
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
36
|
export { s as OrInlineTextareaV3 } from '../OrInlineTextarea-79da8697.js';
|
|
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-
|
|
38
|
-
export { I as InputType, s as OrInputV3 } from '../OrInput-
|
|
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-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';
|
|
@@ -118,10 +118,10 @@ import '../dom-3a15d036.js';
|
|
|
118
118
|
import '@vueuse/math';
|
|
119
119
|
import '@floating-ui/dom';
|
|
120
120
|
import '../useValidationAttributes-d1abbe34.js';
|
|
121
|
+
import '../useResponsive-a02e95b7.js';
|
|
121
122
|
import 'uuid';
|
|
122
123
|
import 'sortablejs';
|
|
123
124
|
import '../useElevation-31bfe1f6.js';
|
|
124
|
-
import '../useResponsive-a02e95b7.js';
|
|
125
125
|
import '@vueuse/integrations/useFocusTrap';
|
|
126
126
|
import '../useToggle-29e4d7c7.js';
|
|
127
127
|
import '../dropdown-open-0d314aa4.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,12 +16,12 @@ 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';
|
|
24
24
|
import '../../OrHint-6863124f.js';
|
|
25
|
-
import '../../OrInputBox-
|
|
25
|
+
import '../../OrInputBox-2467d7e4.js';
|
|
26
26
|
import '../../OrLabel-f700f9fb.js';
|
|
27
27
|
import '../../style-inject.es-4c6f2515.js';
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm-
|
|
1
|
+
export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm-403896ca.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
|
+
import '../../useResponsive-a02e95b7.js';
|
|
10
11
|
import '../../useValidationAttributes-d1abbe34.js';
|
|
11
12
|
import '../../OrError-19198748.js';
|
|
12
13
|
import '../../OrHint-6863124f.js';
|
|
@@ -16,10 +17,9 @@ import '../../OrTooltip-b07616f4.js';
|
|
|
16
17
|
import '../../OrPopover-40217b49.js';
|
|
17
18
|
import '@floating-ui/dom';
|
|
18
19
|
import '../../useElevation-31bfe1f6.js';
|
|
19
|
-
import '../../useResponsive-a02e95b7.js';
|
|
20
20
|
import '../../OrBottomSheet-13a416ef.js';
|
|
21
21
|
import '../../OrOverlay-afad3aa4.js';
|
|
22
22
|
import '../../OrTeleport.vue3-8099178c.js';
|
|
23
|
-
import '../../OrInputBox-
|
|
23
|
+
import '../../OrInputBox-2467d7e4.js';
|
|
24
24
|
import '../../OrLabel-f700f9fb.js';
|
|
25
25
|
import '../../style-inject.es-4c6f2515.js';
|
|
@@ -23,6 +23,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
23
23
|
maxLength: import("@vue/composition-api").ComputedRef<number | undefined>;
|
|
24
24
|
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
25
25
|
disclosed: import("@vue/composition-api").Ref<boolean>;
|
|
26
|
+
isMobile: import("@vue/composition-api").Ref<boolean>;
|
|
26
27
|
focus: () => void;
|
|
27
28
|
blur: () => void;
|
|
28
29
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
@@ -54,6 +55,10 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
54
55
|
type: StringConstructor;
|
|
55
56
|
default: undefined;
|
|
56
57
|
};
|
|
58
|
+
loading: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
57
62
|
required: {
|
|
58
63
|
type: BooleanConstructor;
|
|
59
64
|
default: boolean;
|
|
@@ -99,6 +104,10 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
99
104
|
type: StringConstructor;
|
|
100
105
|
default: undefined;
|
|
101
106
|
};
|
|
107
|
+
loading: {
|
|
108
|
+
type: BooleanConstructor;
|
|
109
|
+
default: boolean;
|
|
110
|
+
};
|
|
102
111
|
required: {
|
|
103
112
|
type: BooleanConstructor;
|
|
104
113
|
default: boolean;
|
|
@@ -123,6 +132,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
123
132
|
placeholder: string;
|
|
124
133
|
hint: string;
|
|
125
134
|
error: string;
|
|
135
|
+
loading: boolean;
|
|
126
136
|
required: boolean;
|
|
127
137
|
readonly: boolean;
|
|
128
138
|
disabled: boolean;
|
|
@@ -152,6 +162,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
152
162
|
maxLength: import("@vue/composition-api").ComputedRef<number | undefined>;
|
|
153
163
|
invalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
154
164
|
disclosed: import("@vue/composition-api").Ref<boolean>;
|
|
165
|
+
isMobile: import("@vue/composition-api").Ref<boolean>;
|
|
155
166
|
focus: () => void;
|
|
156
167
|
blur: () => void;
|
|
157
168
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
@@ -162,6 +173,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
162
173
|
placeholder: string;
|
|
163
174
|
hint: string;
|
|
164
175
|
error: string;
|
|
176
|
+
loading: boolean;
|
|
165
177
|
required: boolean;
|
|
166
178
|
readonly: boolean;
|
|
167
179
|
disabled: boolean;
|
|
@@ -176,6 +188,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
176
188
|
placeholder: string;
|
|
177
189
|
hint: string;
|
|
178
190
|
error: string;
|
|
191
|
+
loading: boolean;
|
|
179
192
|
required: boolean;
|
|
180
193
|
readonly: boolean;
|
|
181
194
|
disabled: boolean;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export { I as InputType, s as OrInputV3 } from '../../OrInput-
|
|
2
|
-
export { a as InputSize } from '../../OrInputBox-
|
|
1
|
+
export { I as InputType, s as OrInputV3 } from '../../OrInput-71075f51.js';
|
|
2
|
+
export { a as InputSize } from '../../OrInputBox-2467d7e4.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../useIdAttribute-859439f0.js';
|
|
5
5
|
import '@vueuse/core';
|
|
6
|
+
import '../../useResponsive-a02e95b7.js';
|
|
6
7
|
import '../../useValidationAttributes-d1abbe34.js';
|
|
7
8
|
import '../../OrError-19198748.js';
|
|
8
9
|
import 'vue';
|
|
@@ -13,9 +14,9 @@ import '../../OrTooltip-b07616f4.js';
|
|
|
13
14
|
import '../../OrPopover-40217b49.js';
|
|
14
15
|
import '@floating-ui/dom';
|
|
15
16
|
import '../../useElevation-31bfe1f6.js';
|
|
16
|
-
import '../../useResponsive-a02e95b7.js';
|
|
17
17
|
import '../../OrBottomSheet-13a416ef.js';
|
|
18
18
|
import '../../OrOverlay-afad3aa4.js';
|
|
19
19
|
import '../../OrTeleport.vue3-8099178c.js';
|
|
20
20
|
import '../../OrLabel-f700f9fb.js';
|
|
21
|
+
import '../../OrLoader-a53d2edf.js';
|
|
21
22
|
import '../../style-inject.es-4c6f2515.js';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
export { s as OrSearchV3 } from '../../OrSearch-
|
|
2
|
-
export { a as SearchSize } from '../../OrInputBox-
|
|
1
|
+
export { s as OrSearchV3 } from '../../OrSearch-4e180e34.js';
|
|
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
|
+
import '../../useResponsive-a02e95b7.js';
|
|
7
8
|
import '../../useValidationAttributes-d1abbe34.js';
|
|
8
9
|
import '../../OrError-19198748.js';
|
|
9
10
|
import 'vue';
|
|
@@ -14,9 +15,9 @@ import '../../OrTooltip-b07616f4.js';
|
|
|
14
15
|
import '../../OrPopover-40217b49.js';
|
|
15
16
|
import '@floating-ui/dom';
|
|
16
17
|
import '../../useElevation-31bfe1f6.js';
|
|
17
|
-
import '../../useResponsive-a02e95b7.js';
|
|
18
18
|
import '../../OrBottomSheet-13a416ef.js';
|
|
19
19
|
import '../../OrOverlay-afad3aa4.js';
|
|
20
20
|
import '../../OrTeleport.vue3-8099178c.js';
|
|
21
21
|
import '../../OrLabel-f700f9fb.js';
|
|
22
|
+
import '../../OrLoader-a53d2edf.js';
|
|
22
23
|
import '../../style-inject.es-4c6f2515.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { s as OrSelectV3 } from '../../OrSelect-
|
|
2
|
-
export { a as SelectSize } from '../../OrInputBox-
|
|
1
|
+
export { s as OrSelectV3 } from '../../OrSelect-c64eda46.js';
|
|
2
|
+
export { a as SelectSize } from '../../OrInputBox-2467d7e4.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../dropdown-open-0d314aa4.js';
|
|
5
5
|
import '../../useOverflow-af6161c8.js';
|
|
@@ -13,16 +13,17 @@ 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
|
+
import '../../useResponsive-a02e95b7.js';
|
|
17
18
|
import '../../useValidationAttributes-d1abbe34.js';
|
|
18
19
|
import '../../OrIconButton-2dcfb83e.js';
|
|
19
20
|
import '../../OrTooltip-b07616f4.js';
|
|
20
21
|
import '../../OrPopover-40217b49.js';
|
|
21
22
|
import '@floating-ui/dom';
|
|
22
23
|
import '../../useElevation-31bfe1f6.js';
|
|
23
|
-
import '../../useResponsive-a02e95b7.js';
|
|
24
24
|
import '../../OrBottomSheet-13a416ef.js';
|
|
25
25
|
import '../../OrOverlay-afad3aa4.js';
|
|
26
26
|
import '../../OrTeleport.vue3-8099178c.js';
|
|
27
|
+
import '../../OrLoader-a53d2edf.js';
|
|
27
28
|
import '../../OrMenuItem-58707d47.js';
|
|
28
29
|
import '../../OrTag-148ff9ae.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { s as OrTextareaV3 } from '../../OrTextarea-
|
|
2
|
-
export { a as TextareaSize } from '../../OrInputBox-
|
|
1
|
+
export { s as OrTextareaV3 } from '../../OrTextarea-42d21f77.js';
|
|
2
|
+
export { a as TextareaSize } from '../../OrInputBox-2467d7e4.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../useIdAttribute-859439f0.js';
|
|
5
5
|
import '@vueuse/core';
|
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-403896ca.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';
|
|
@@ -34,8 +34,8 @@ export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3
|
|
|
34
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
36
|
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-79da8697.js';
|
|
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-
|
|
38
|
-
export { I as InputType, s as OrInputV3 } from './OrInput-
|
|
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-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.73.0",
|
|
3
|
+
"version": "2.73.1-beta.2285.0",
|
|
4
4
|
"description": "Vue components library for v2/3",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/auto/index.js",
|
|
@@ -124,6 +124,5 @@
|
|
|
124
124
|
"default": "./dist/bundled/v3/components/*/index.js"
|
|
125
125
|
},
|
|
126
126
|
"./package.json": "./package.json"
|
|
127
|
-
}
|
|
128
|
-
"gitHead": "83b1879be32d1d75b70fdf4676de496bf8fe7db2"
|
|
127
|
+
}
|
|
129
128
|
}
|
|
@@ -90,13 +90,11 @@ export const InputBoxRootVariants: Record<InputBoxVariant, string[]> = {
|
|
|
90
90
|
export const InputBoxRootSizes: Record<InputBoxSize, string[]> = {
|
|
91
91
|
'm': [
|
|
92
92
|
// Box
|
|
93
|
-
'children:min-h-[34px]',
|
|
93
|
+
'children:min-h-[46px] children:md:min-h-[34px]',
|
|
94
94
|
|
|
95
95
|
// Spacing
|
|
96
96
|
'first-child:pl-md first-child:md:pl-sm+',
|
|
97
97
|
'last-child:pr-md last-child:md:pr-sm+',
|
|
98
|
-
'children:pt-[11px] children:md:pt-[7px]',
|
|
99
|
-
'children:pb-[11px] children:md:pb-[6px]',
|
|
100
98
|
|
|
101
99
|
'gap-sm+ md:gap-sm',
|
|
102
100
|
|
|
@@ -109,9 +107,8 @@ export const InputBoxRootSizes: Record<InputBoxSize, string[]> = {
|
|
|
109
107
|
'children:min-h-[30px]',
|
|
110
108
|
|
|
111
109
|
// Spacing
|
|
112
|
-
'first-child:pl-sm',
|
|
113
|
-
'last-child:pr-sm',
|
|
114
|
-
'children:py-[6px]',
|
|
110
|
+
'first-child:pl-md first-child:md:pl-sm+',
|
|
111
|
+
'last-child:pr-md last-child:md:pr-sm+',
|
|
115
112
|
|
|
116
113
|
'gap-[6px]',
|
|
117
114
|
|