@onereach/ui-components 2.74.2 → 2.74.3-beta.2301.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/{OrButton-d45772c1.js → OrButton-0a9470c0.js} +1 -1
- package/dist/bundled/v2/{OrCardCollection-f48af015.js → OrCardCollection-a94c8405.js} +2 -2
- package/dist/bundled/v2/{OrConfirm-36302f66.js → OrConfirm-33169afc.js} +2 -2
- package/dist/bundled/v2/{OrInput-d615d473.js → OrInput-8648764b.js} +1 -1
- package/dist/bundled/v2/{OrLoader-864ef92a.js → OrLoader-cf28bfa6.js} +20 -5
- package/dist/bundled/v2/{OrPagination-e34482ef.js → OrPagination-cafac04e.js} +1 -1
- package/dist/bundled/v2/{OrSearch-2828c54c.js → OrSearch-9e804b44.js} +1 -1
- package/dist/bundled/v2/{OrSelect-783d01b9.js → OrSelect-929e1850.js} +1 -1
- package/dist/bundled/v2/{OrSwitch-782d7b43.js → OrSwitch-51e30de3.js} +1 -1
- package/dist/bundled/v2/components/index.js +10 -10
- package/dist/bundled/v2/components/or-button-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +5 -5
- package/dist/bundled/v2/components/or-confirm-v3/index.js +4 -4
- package/dist/bundled/v2/components/or-input-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-loader-v3/OrLoader.vue.d.ts +18 -2
- package/dist/bundled/v2/components/or-loader-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-pagination-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-search-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-select-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-switch-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-toast-v3/index.js +2 -2
- package/dist/bundled/v2/index.js +11 -11
- package/dist/bundled/v2/{types-b0d25b49.js → types-a268c182.js} +1 -1
- package/dist/bundled/v3/{OrButton-a1448bfa.js → OrButton-a5b98ee2.js} +1 -1
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-3b1e442b.js → OrButton.vue_vue_type_script_lang-e75f9a10.js} +2 -2
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-010f8e48.js → OrCardCollection.vue_vue_type_script_lang-ec8e3aad.js} +3 -3
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-4a2b7647.js → OrConfirm.vue_vue_type_script_lang-3aacf650.js} +4 -4
- package/dist/bundled/v3/{OrInput-9813fef6.js → OrInput-09a57a08.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-882358b4.js → OrInput.vue_vue_type_script_lang-7e787375.js} +2 -2
- package/dist/bundled/v3/{OrLoader-123ef8c4.js → OrLoader-663e062d.js} +5 -4
- package/dist/bundled/v3/{OrLoader.vue_vue_type_script_lang-4c3c1ac9.js → OrLoader.vue_vue_type_script_lang-8fc03499.js} +18 -4
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-4d27d8b8.js → OrPagination.vue_vue_type_script_lang-5c515494.js} +2 -2
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-f6230fc2.js → OrSearch.vue_vue_type_script_lang-67311d1c.js} +2 -2
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-7a0e1dd9.js → OrSelect.vue_vue_type_script_lang-9d475e01.js} +2 -2
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-31994be7.js → OrSwitch.vue_vue_type_script_lang-f6039c8f.js} +2 -2
- package/dist/bundled/v3/{OrToastContainer-3dfed0e6.js → OrToastContainer-678b8574.js} +1 -1
- package/dist/bundled/v3/components/index.js +13 -13
- package/dist/bundled/v3/components/or-button-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +8 -8
- package/dist/bundled/v3/components/or-confirm-v3/index.js +7 -7
- package/dist/bundled/v3/components/or-input-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-loader-v3/OrLoader.vue.d.ts +18 -2
- package/dist/bundled/v3/components/or-loader-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-pagination-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-search-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-select-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-switch-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-toast-v3/index.js +4 -4
- package/dist/bundled/v3/index.js +20 -20
- package/dist/bundled/v3/{types-dd2c3bf1.js → types-219938e7.js} +2 -2
- package/dist/esm/v2/{OrButton-66964360.js → OrButton-49f7f20b.js} +1 -1
- package/dist/esm/v2/{OrCardCollection-49c63e89.js → OrCardCollection-a4e744a7.js} +2 -2
- package/dist/esm/v2/{OrConfirm-ea7fc8e7.js → OrConfirm-24ce2851.js} +2 -2
- package/dist/esm/v2/{OrInput-6b064fd7.js → OrInput-adc14363.js} +1 -1
- package/dist/esm/v2/{OrLoader-76307488.js → OrLoader-8f1f3af1.js} +20 -5
- package/dist/esm/v2/{OrPagination-c2653bd1.js → OrPagination-93262719.js} +1 -1
- package/dist/esm/v2/{OrSearch-fb321813.js → OrSearch-8ce8b832.js} +1 -1
- package/dist/esm/v2/{OrSelect-3a78ffcc.js → OrSelect-3fc202c4.js} +1 -1
- package/dist/esm/v2/{OrSwitch-8549219a.js → OrSwitch-10ecff82.js} +1 -1
- package/dist/esm/v2/components/index.js +10 -10
- package/dist/esm/v2/components/or-button-v3/index.js +2 -2
- package/dist/esm/v2/components/or-card-collection-v3/index.js +5 -5
- package/dist/esm/v2/components/or-confirm-v3/index.js +4 -4
- package/dist/esm/v2/components/or-input-v3/index.js +2 -2
- package/dist/esm/v2/components/or-loader-v3/OrLoader.vue.d.ts +18 -2
- package/dist/esm/v2/components/or-loader-v3/index.js +1 -1
- package/dist/esm/v2/components/or-pagination-v3/index.js +3 -3
- package/dist/esm/v2/components/or-search-v3/index.js +3 -3
- package/dist/esm/v2/components/or-select-v3/index.js +3 -3
- package/dist/esm/v2/components/or-switch-v3/index.js +2 -2
- package/dist/esm/v2/components/or-toast-v3/index.js +2 -2
- package/dist/esm/v2/index.js +10 -10
- package/dist/esm/v2/{types-38818808.js → types-2d2b95cb.js} +1 -1
- package/dist/esm/v3/{OrButton-c56998e7.js → OrButton-eab948fb.js} +1 -1
- package/dist/esm/v3/{OrCardCollection-e091f1a2.js → OrCardCollection-349e16e5.js} +2 -2
- package/dist/esm/v3/{OrConfirm-75813c12.js → OrConfirm-dbf9c932.js} +2 -2
- package/dist/esm/v3/{OrInput-bf9dd89f.js → OrInput-0345f8c8.js} +1 -1
- package/dist/esm/v3/{OrLoader-a53d2edf.js → OrLoader-3a918ce9.js} +22 -7
- package/dist/esm/v3/{OrPagination-7b240dec.js → OrPagination-c128d573.js} +1 -1
- package/dist/esm/v3/{OrSearch-d6ff7e2d.js → OrSearch-512def59.js} +1 -1
- package/dist/esm/v3/{OrSelect-484cb336.js → OrSelect-f5a7352e.js} +1 -1
- package/dist/esm/v3/{OrSwitch-1c2196da.js → OrSwitch-0e92c92c.js} +1 -1
- package/dist/esm/v3/components/index.js +10 -10
- package/dist/esm/v3/components/or-button-v3/index.js +2 -2
- package/dist/esm/v3/components/or-card-collection-v3/index.js +5 -5
- package/dist/esm/v3/components/or-confirm-v3/index.js +4 -4
- package/dist/esm/v3/components/or-input-v3/index.js +2 -2
- package/dist/esm/v3/components/or-loader-v3/OrLoader.vue.d.ts +18 -2
- package/dist/esm/v3/components/or-loader-v3/index.js +1 -1
- package/dist/esm/v3/components/or-pagination-v3/index.js +3 -3
- package/dist/esm/v3/components/or-search-v3/index.js +3 -3
- package/dist/esm/v3/components/or-select-v3/index.js +3 -3
- package/dist/esm/v3/components/or-switch-v3/index.js +2 -2
- package/dist/esm/v3/components/or-toast-v3/index.js +2 -2
- package/dist/esm/v3/index.js +10 -10
- package/dist/esm/v3/{types-4e316bd3.js → types-0d8c0f6e.js} +1 -1
- package/package.json +2 -3
- package/src/components/or-loader-v3/OrLoader.stories3.ts +16 -4
- package/src/components/or-loader-v3/OrLoader.vue +21 -3
- package/src/components/or-loader-v3/styles.ts +1 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
-
import { openBlock, createElementBlock, normalizeClass, toDisplayString, createCommentVNode, createElementVNode } from 'vue';
|
|
2
|
+
import { openBlock, createElementBlock, normalizeClass, toDisplayString, createCommentVNode, createElementVNode, normalizeStyle } from 'vue';
|
|
3
3
|
|
|
4
4
|
var LoaderVariant;
|
|
5
5
|
(function (LoaderVariant) {
|
|
@@ -20,7 +20,7 @@ var LoaderSize;
|
|
|
20
20
|
|
|
21
21
|
const LoaderRoot = [
|
|
22
22
|
// Layout
|
|
23
|
-
'
|
|
23
|
+
'flex', 'flex-col', 'gap-md'];
|
|
24
24
|
const LoaderRootColors = {
|
|
25
25
|
'primary': [
|
|
26
26
|
// Theme
|
|
@@ -41,10 +41,17 @@ var script = defineComponent({
|
|
|
41
41
|
type: String,
|
|
42
42
|
default: LoaderVariant.Circular
|
|
43
43
|
},
|
|
44
|
+
/**
|
|
45
|
+
* Defines a semantic color of the loading indicator.
|
|
46
|
+
* Use `'inherit'` option to set your own color from the parent (not recommended).
|
|
47
|
+
*/
|
|
44
48
|
color: {
|
|
45
49
|
type: String,
|
|
46
50
|
default: LoaderColor.Primary
|
|
47
51
|
},
|
|
52
|
+
/**
|
|
53
|
+
* Defines a diameter of the circular loader. Ignored for linear one.
|
|
54
|
+
*/
|
|
48
55
|
size: {
|
|
49
56
|
type: String,
|
|
50
57
|
default: LoaderSize.M
|
|
@@ -70,19 +77,26 @@ var script = defineComponent({
|
|
|
70
77
|
// State
|
|
71
78
|
const computedSize = computed(() => {
|
|
72
79
|
switch (props.size) {
|
|
73
|
-
case
|
|
80
|
+
case LoaderSize.M:
|
|
74
81
|
return 20;
|
|
75
|
-
case
|
|
82
|
+
case LoaderSize.S:
|
|
76
83
|
return 16;
|
|
77
84
|
}
|
|
78
85
|
});
|
|
86
|
+
/**
|
|
87
|
+
* Preserves circular loading indicator from shrinking caused by external styles.
|
|
88
|
+
*/
|
|
89
|
+
const wrapperStyle = computed(() => {
|
|
90
|
+
return `min-width: ${computedSize.value}px;`;
|
|
91
|
+
});
|
|
79
92
|
return {
|
|
80
93
|
root,
|
|
81
94
|
rootStyles,
|
|
82
95
|
containerStyles,
|
|
83
96
|
titleStyles,
|
|
84
97
|
descriptionStyles,
|
|
85
|
-
computedSize
|
|
98
|
+
computedSize,
|
|
99
|
+
wrapperStyle
|
|
86
100
|
};
|
|
87
101
|
}
|
|
88
102
|
});
|
|
@@ -120,7 +134,8 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
120
134
|
key: 0,
|
|
121
135
|
class: normalizeClass(_ctx.titleStyles)
|
|
122
136
|
}, toDisplayString(_ctx.title), 3 /* TEXT, CLASS */)) : createCommentVNode("v-if", true), createElementVNode("div", {
|
|
123
|
-
class: normalizeClass(_ctx.containerStyles)
|
|
137
|
+
class: normalizeClass(_ctx.containerStyles),
|
|
138
|
+
style: normalizeStyle(_ctx.wrapperStyle)
|
|
124
139
|
}, [_ctx.variant === 'circular' ? (openBlock(), createElementBlock("svg", {
|
|
125
140
|
key: 0,
|
|
126
141
|
viewBox: "0 0 16 16",
|
|
@@ -139,7 +154,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
139
154
|
x2: "calc(100% - 2px)",
|
|
140
155
|
y2: "50%",
|
|
141
156
|
stroke: _ctx.color === 'inherit' ? 'currentColor' : 'inherit'
|
|
142
|
-
}, null, 8 /* PROPS */, _hoisted_7)])])) : createCommentVNode("v-if", true)],
|
|
157
|
+
}, null, 8 /* PROPS */, _hoisted_7)])])) : createCommentVNode("v-if", true)], 6 /* CLASS, STYLE */), _ctx.description ? (openBlock(), createElementBlock("div", {
|
|
143
158
|
key: 1,
|
|
144
159
|
class: normalizeClass(_ctx.descriptionStyles)
|
|
145
160
|
}, toDisplayString(_ctx.description), 3 /* TEXT, CLASS */)) : createCommentVNode("v-if", true)], 2 /* CLASS */);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
-
import { s as script$1 } from './OrButton-
|
|
2
|
+
import { s as script$1 } from './OrButton-eab948fb.js';
|
|
3
3
|
import { s as script$2 } from './OrIcon-ea40e58c.js';
|
|
4
4
|
import { s as script$4 } from './OrMenuItem-de91aded.js';
|
|
5
5
|
import { s as script$3 } from './OrMenu-7f3ea117.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
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-
|
|
3
|
+
import { s as script$1 } from './OrInput-0345f8c8.js';
|
|
4
4
|
import { a as InputBoxSize } from './OrInputBox-2467d7e4.js';
|
|
5
5
|
import { resolveComponent, openBlock, createBlock, normalizeClass } from 'vue';
|
|
6
6
|
|
|
@@ -8,7 +8,7 @@ import { s as script$3 } from './OrExpansionPanel-541cc4c1.js';
|
|
|
8
8
|
import { s as script$4 } from './OrHint-6863124f.js';
|
|
9
9
|
import { s as script$5 } from './OrIcon-ea40e58c.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-0345f8c8.js';
|
|
12
12
|
import { s as script$8 } from './OrLabel-f700f9fb.js';
|
|
13
13
|
import { s as script$9 } from './OrMenuItem-de91aded.js';
|
|
14
14
|
import { s as script$a } from './OrPopover-40217b49.js';
|
|
@@ -2,7 +2,7 @@ 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
4
|
import { s as script$1, L as LabelVariant } from './OrLabel-f700f9fb.js';
|
|
5
|
-
import { s as script$2 } from './OrLoader-
|
|
5
|
+
import { s as script$2 } from './OrLoader-3a918ce9.js';
|
|
6
6
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, withDirectives, mergeProps, vModelCheckbox, createVNode, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
|
|
7
7
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
8
8
|
|
|
@@ -3,10 +3,10 @@ export { a as AvatarColor, A as AvatarSize, s as OrAvatarV3 } from '../OrAvatar-
|
|
|
3
3
|
export { s as OrBottomSheetV3 } from '../OrBottomSheet-13a416ef.js';
|
|
4
4
|
export { s as OrButton, a as OrButtonColors, b as OrButtonSizes, O as OrButtonViews } from '../OrButton-fca9019a.js';
|
|
5
5
|
export { b as BUTTON_COLOR, d as BUTTON_LOADER_TYPE, c as BUTTON_SIZE, B as BUTTON_TYPE, I as ICON_BUTTON_TYPE, s as OrButtonV2, a as OrIconButton } from '../OrIconButton-8be9c89f.js';
|
|
6
|
-
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from '../OrButton-
|
|
6
|
+
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from '../OrButton-eab948fb.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-349e16e5.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-dbf9c932.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-0025b17c.js';
|
|
@@ -35,7 +35,7 @@ export { I as InlineInputType, s as OrInlineInputV3 } from '../OrInlineInput-72e
|
|
|
35
35
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from '../OrInlineTextEdit-1aa477b5.js';
|
|
36
36
|
export { s as OrInlineTextareaV3 } from '../OrInlineTextarea-0bb8ef1c.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-0345f8c8.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';
|
|
@@ -43,7 +43,7 @@ export { L as LinkColor, s as OrLinkV3 } from '../OrLink-07f6f27d.js';
|
|
|
43
43
|
export { s as OrList } from '../OrList-b740d13e.js';
|
|
44
44
|
export { s as OrListOfInputs } from '../OrListOfInputs-508e056f.js';
|
|
45
45
|
export { L as LoaderViews, s as OrLoader } from '../OrLoader-15174477.js';
|
|
46
|
-
export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, s as OrLoaderV3 } from '../OrLoader-
|
|
46
|
+
export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, s as OrLoaderV3 } from '../OrLoader-3a918ce9.js';
|
|
47
47
|
export { s as OrMenuItemV3 } from '../OrMenuItem-de91aded.js';
|
|
48
48
|
export { s as OrMenuV3 } from '../OrMenu-7f3ea117.js';
|
|
49
49
|
export { P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from '../OrPopover-40217b49.js';
|
|
@@ -56,17 +56,17 @@ export { s as OrOverflowMenu } from '../OrOverflowMenu-e82cbcbe.js';
|
|
|
56
56
|
export { s as OrOverlay } from '../OrOverlay-451dce49.js';
|
|
57
57
|
export { s as OrOverlayV3 } from '../OrOverlay-afad3aa4.js';
|
|
58
58
|
export { s as OrPassword } from '../OrPassword-b0cbb578.js';
|
|
59
|
-
export { s as OrPaginationV3 } from '../OrPagination-
|
|
59
|
+
export { s as OrPaginationV3 } from '../OrPagination-c128d573.js';
|
|
60
60
|
export { s as OrProgress, O as OrProgressColors, a as OrProgressTypes } from '../OrProgress-d0d52c86.js';
|
|
61
61
|
export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from '../OrProgress-639ed5e8.js';
|
|
62
62
|
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-512def59.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-f5a7352e.js';
|
|
70
70
|
export { s as OrSidebar, O as OrSidebarSide } from '../OrSidebar-375c85a3.js';
|
|
71
71
|
export { s as OrSidebarV3 } from '../OrSidebar-cf07fd69.js';
|
|
72
72
|
export { O as OrSidebarPlacement } from '../OrSidebarCollapseButton-684445f0.js';
|
|
@@ -76,7 +76,7 @@ export { s as OrSlider } from '../OrSlider-87e2da8c.js';
|
|
|
76
76
|
export { s as OrSortHeaderV3 } from '../OrSortHeader-f66dcb37.js';
|
|
77
77
|
export { s as OrStepper } from '../OrStepper-f19b4eac.js';
|
|
78
78
|
export { s as OrSwitch } from '../OrSwitch-c333ee32.js';
|
|
79
|
-
export { s as OrSwitchV3 } from '../OrSwitch-
|
|
79
|
+
export { s as OrSwitchV3 } from '../OrSwitch-0e92c92c.js';
|
|
80
80
|
export { s as OrTab } from '../OrTab-bc98be02.js';
|
|
81
81
|
export { s as OrTabHeaderItem } from '../OrTabHeaderItem-d668cc59.js';
|
|
82
82
|
export { s as OrTabV3 } from '../OrTab-d3785ea4.js';
|
|
@@ -92,7 +92,7 @@ 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';
|
|
95
|
-
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from '../types-
|
|
95
|
+
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from '../types-0d8c0f6e.js';
|
|
96
96
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../useToast-0665462d.js';
|
|
97
97
|
export { s as OrTooltip, a as OrTooltipContent } from '../OrTooltip-78cd7f6b.js';
|
|
98
98
|
export { s as OrTooltipV3 } from '../OrTooltip-b07616f4.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from '../../OrButton-
|
|
1
|
+
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from '../../OrButton-eab948fb.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
|
-
import '../../OrLoader-
|
|
3
|
+
import '../../OrLoader-3a918ce9.js';
|
|
4
4
|
import 'vue';
|
|
@@ -1,7 +1,7 @@
|
|
|
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-349e16e5.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
|
-
import '../../OrButton-
|
|
4
|
-
import '../../OrLoader-
|
|
3
|
+
import '../../OrButton-eab948fb.js';
|
|
4
|
+
import '../../OrLoader-3a918ce9.js';
|
|
5
5
|
import 'vue';
|
|
6
6
|
import '../../OrIconButton-3d32cdcf.js';
|
|
7
7
|
import '../../OrIcon-ea40e58c.js';
|
|
@@ -16,8 +16,8 @@ import '../../OrOverlay-afad3aa4.js';
|
|
|
16
16
|
import '../../OrTeleport.vue3-8099178c.js';
|
|
17
17
|
import '../../OrMenuItem-de91aded.js';
|
|
18
18
|
import '../../OrMenu-7f3ea117.js';
|
|
19
|
-
import '../../OrSearch-
|
|
20
|
-
import '../../OrInput-
|
|
19
|
+
import '../../OrSearch-512def59.js';
|
|
20
|
+
import '../../OrInput-0345f8c8.js';
|
|
21
21
|
import '../../useIdAttribute-859439f0.js';
|
|
22
22
|
import '../../useValidationAttributes-d1abbe34.js';
|
|
23
23
|
import '../../OrError-19198748.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm-
|
|
1
|
+
export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm-dbf9c932.js';
|
|
2
2
|
import '@vueuse/core';
|
|
3
3
|
import '@vueuse/math';
|
|
4
4
|
import 'vue-demi';
|
|
5
|
-
import '../../OrButton-
|
|
6
|
-
import '../../OrLoader-
|
|
5
|
+
import '../../OrButton-eab948fb.js';
|
|
6
|
+
import '../../OrLoader-3a918ce9.js';
|
|
7
7
|
import 'vue';
|
|
8
|
-
import '../../OrInput-
|
|
8
|
+
import '../../OrInput-0345f8c8.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 InputType, s as OrInputV3 } from '../../OrInput-
|
|
1
|
+
export { I as InputType, s as OrInputV3 } from '../../OrInput-0345f8c8.js';
|
|
2
2
|
export { a as InputSize } from '../../OrInputBox-2467d7e4.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../useIdAttribute-859439f0.js';
|
|
@@ -18,5 +18,5 @@ 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-
|
|
21
|
+
import '../../OrLoader-3a918ce9.js';
|
|
22
22
|
import '../../style-inject.es-4c6f2515.js';
|
|
@@ -6,16 +6,24 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
6
6
|
containerStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
7
7
|
titleStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
8
8
|
descriptionStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
9
|
-
computedSize: import("@vue/composition-api").ComputedRef<20 | 16
|
|
9
|
+
computedSize: import("@vue/composition-api").ComputedRef<20 | 16>;
|
|
10
|
+
wrapperStyle: import("@vue/composition-api").ComputedRef<string>;
|
|
10
11
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
11
12
|
variant: {
|
|
12
13
|
type: PropType<LoaderVariant>;
|
|
13
14
|
default: LoaderVariant;
|
|
14
15
|
};
|
|
16
|
+
/**
|
|
17
|
+
* Defines a semantic color of the loading indicator.
|
|
18
|
+
* Use `'inherit'` option to set your own color from the parent (not recommended).
|
|
19
|
+
*/
|
|
15
20
|
color: {
|
|
16
21
|
type: PropType<LoaderColor>;
|
|
17
22
|
default: LoaderColor;
|
|
18
23
|
};
|
|
24
|
+
/**
|
|
25
|
+
* Defines a diameter of the circular loader. Ignored for linear one.
|
|
26
|
+
*/
|
|
19
27
|
size: {
|
|
20
28
|
type: PropType<LoaderSize>;
|
|
21
29
|
default: LoaderSize;
|
|
@@ -33,10 +41,17 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
33
41
|
type: PropType<LoaderVariant>;
|
|
34
42
|
default: LoaderVariant;
|
|
35
43
|
};
|
|
44
|
+
/**
|
|
45
|
+
* Defines a semantic color of the loading indicator.
|
|
46
|
+
* Use `'inherit'` option to set your own color from the parent (not recommended).
|
|
47
|
+
*/
|
|
36
48
|
color: {
|
|
37
49
|
type: PropType<LoaderColor>;
|
|
38
50
|
default: LoaderColor;
|
|
39
51
|
};
|
|
52
|
+
/**
|
|
53
|
+
* Defines a diameter of the circular loader. Ignored for linear one.
|
|
54
|
+
*/
|
|
40
55
|
size: {
|
|
41
56
|
type: PropType<LoaderSize>;
|
|
42
57
|
default: LoaderSize;
|
|
@@ -61,7 +76,8 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
61
76
|
containerStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
62
77
|
titleStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
63
78
|
descriptionStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
64
|
-
computedSize: import("@vue/composition-api").ComputedRef<20 | 16
|
|
79
|
+
computedSize: import("@vue/composition-api").ComputedRef<20 | 16>;
|
|
80
|
+
wrapperStyle: import("@vue/composition-api").ComputedRef<string>;
|
|
65
81
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, {}, {
|
|
66
82
|
variant: LoaderVariant;
|
|
67
83
|
color: LoaderColor;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { s as OrPaginationV3 } from '../../OrPagination-
|
|
1
|
+
export { s as OrPaginationV3 } from '../../OrPagination-c128d573.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
|
-
import '../../OrButton-
|
|
4
|
-
import '../../OrLoader-
|
|
3
|
+
import '../../OrButton-eab948fb.js';
|
|
4
|
+
import '../../OrLoader-3a918ce9.js';
|
|
5
5
|
import 'vue';
|
|
6
6
|
import '../../OrIcon-ea40e58c.js';
|
|
7
7
|
import '../../OrMenuItem-de91aded.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { s as OrSearchV3 } from '../../OrSearch-
|
|
1
|
+
export { s as OrSearchV3 } from '../../OrSearch-512def59.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-0345f8c8.js';
|
|
6
6
|
import '../../useIdAttribute-859439f0.js';
|
|
7
7
|
import '../../useResponsive-a02e95b7.js';
|
|
8
8
|
import '../../useValidationAttributes-d1abbe34.js';
|
|
@@ -19,5 +19,5 @@ 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-
|
|
22
|
+
import '../../OrLoader-3a918ce9.js';
|
|
23
23
|
import '../../style-inject.es-4c6f2515.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { s as OrSelectV3 } from '../../OrSelect-
|
|
1
|
+
export { s as OrSelectV3 } from '../../OrSelect-f5a7352e.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-541cc4c1.js';
|
|
14
14
|
import '../../OrIcon-ea40e58c.js';
|
|
15
15
|
import '../../OrHint-6863124f.js';
|
|
16
|
-
import '../../OrInput-
|
|
16
|
+
import '../../OrInput-0345f8c8.js';
|
|
17
17
|
import '../../useResponsive-a02e95b7.js';
|
|
18
18
|
import '../../useValidationAttributes-d1abbe34.js';
|
|
19
19
|
import '../../OrIconButton-3d32cdcf.js';
|
|
@@ -24,6 +24,6 @@ import '../../useElevation-31bfe1f6.js';
|
|
|
24
24
|
import '../../OrBottomSheet-13a416ef.js';
|
|
25
25
|
import '../../OrOverlay-afad3aa4.js';
|
|
26
26
|
import '../../OrTeleport.vue3-8099178c.js';
|
|
27
|
-
import '../../OrLoader-
|
|
27
|
+
import '../../OrLoader-3a918ce9.js';
|
|
28
28
|
import '../../OrMenuItem-de91aded.js';
|
|
29
29
|
import '../../OrTag-1d3fa09e.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { s as OrSwitchV3 } from '../../OrSwitch-
|
|
1
|
+
export { s as OrSwitchV3 } from '../../OrSwitch-0e92c92c.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../useIdAttribute-859439f0.js';
|
|
4
4
|
import '@vueuse/core';
|
|
5
5
|
import '../../OrLabel-f700f9fb.js';
|
|
6
6
|
import 'vue';
|
|
7
|
-
import '../../OrLoader-
|
|
7
|
+
import '../../OrLoader-3a918ce9.js';
|
|
8
8
|
import '../../style-inject.es-4c6f2515.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from '../../types-
|
|
1
|
+
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from '../../types-0d8c0f6e.js';
|
|
2
2
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from '../../useToast-0665462d.js';
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import 'vue-demi';
|
|
@@ -13,5 +13,5 @@ import '../../useElevation-31bfe1f6.js';
|
|
|
13
13
|
import '../../useResponsive-a02e95b7.js';
|
|
14
14
|
import '../../OrBottomSheet-13a416ef.js';
|
|
15
15
|
import '../../OrOverlay-afad3aa4.js';
|
|
16
|
-
import '../../OrLoader-
|
|
16
|
+
import '../../OrLoader-3a918ce9.js';
|
|
17
17
|
import '../../style-inject.es-4c6f2515.js';
|
package/dist/esm/v3/index.js
CHANGED
|
@@ -3,10 +3,10 @@ export { a as AvatarColor, A as AvatarSize, s as OrAvatarV3 } from './OrAvatar-0
|
|
|
3
3
|
export { s as OrBottomSheetV3 } from './OrBottomSheet-13a416ef.js';
|
|
4
4
|
export { s as OrButton, a as OrButtonColors, b as OrButtonSizes, O as OrButtonViews } from './OrButton-fca9019a.js';
|
|
5
5
|
export { b as BUTTON_COLOR, d as BUTTON_LOADER_TYPE, c as BUTTON_SIZE, B as BUTTON_TYPE, I as ICON_BUTTON_TYPE, s as OrButtonV2, a as OrIconButton } from './OrIconButton-8be9c89f.js';
|
|
6
|
-
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from './OrButton-
|
|
6
|
+
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from './OrButton-eab948fb.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-349e16e5.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-dbf9c932.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-0025b17c.js';
|
|
@@ -35,7 +35,7 @@ export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-72ef
|
|
|
35
35
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from './OrInlineTextEdit-1aa477b5.js';
|
|
36
36
|
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-0bb8ef1c.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-0345f8c8.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';
|
|
@@ -43,7 +43,7 @@ export { L as LinkColor, s as OrLinkV3 } from './OrLink-07f6f27d.js';
|
|
|
43
43
|
export { s as OrList } from './OrList-b740d13e.js';
|
|
44
44
|
export { s as OrListOfInputs } from './OrListOfInputs-508e056f.js';
|
|
45
45
|
export { L as LoaderViews, s as OrLoader } from './OrLoader-15174477.js';
|
|
46
|
-
export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, s as OrLoaderV3 } from './OrLoader-
|
|
46
|
+
export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, s as OrLoaderV3 } from './OrLoader-3a918ce9.js';
|
|
47
47
|
export { s as OrMenuItemV3 } from './OrMenuItem-de91aded.js';
|
|
48
48
|
export { s as OrMenuV3 } from './OrMenu-7f3ea117.js';
|
|
49
49
|
export { P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-40217b49.js';
|
|
@@ -56,17 +56,17 @@ export { s as OrOverflowMenu } from './OrOverflowMenu-e82cbcbe.js';
|
|
|
56
56
|
export { s as OrOverlay } from './OrOverlay-451dce49.js';
|
|
57
57
|
export { s as OrOverlayV3 } from './OrOverlay-afad3aa4.js';
|
|
58
58
|
export { s as OrPassword } from './OrPassword-b0cbb578.js';
|
|
59
|
-
export { s as OrPaginationV3 } from './OrPagination-
|
|
59
|
+
export { s as OrPaginationV3 } from './OrPagination-c128d573.js';
|
|
60
60
|
export { s as OrProgress, O as OrProgressColors, a as OrProgressTypes } from './OrProgress-d0d52c86.js';
|
|
61
61
|
export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrProgress-639ed5e8.js';
|
|
62
62
|
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-512def59.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-f5a7352e.js';
|
|
70
70
|
export { s as OrSidebar, O as OrSidebarSide } from './OrSidebar-375c85a3.js';
|
|
71
71
|
export { s as OrSidebarV3 } from './OrSidebar-cf07fd69.js';
|
|
72
72
|
export { O as OrSidebarPlacement } from './OrSidebarCollapseButton-684445f0.js';
|
|
@@ -76,7 +76,7 @@ export { s as OrSlider } from './OrSlider-87e2da8c.js';
|
|
|
76
76
|
export { s as OrSortHeaderV3 } from './OrSortHeader-f66dcb37.js';
|
|
77
77
|
export { s as OrStepper } from './OrStepper-f19b4eac.js';
|
|
78
78
|
export { s as OrSwitch } from './OrSwitch-c333ee32.js';
|
|
79
|
-
export { s as OrSwitchV3 } from './OrSwitch-
|
|
79
|
+
export { s as OrSwitchV3 } from './OrSwitch-0e92c92c.js';
|
|
80
80
|
export { s as OrTab } from './OrTab-bc98be02.js';
|
|
81
81
|
export { s as OrTabHeaderItem } from './OrTabHeaderItem-d668cc59.js';
|
|
82
82
|
export { s as OrTabV3 } from './OrTab-d3785ea4.js';
|
|
@@ -92,7 +92,7 @@ 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';
|
|
95
|
-
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-
|
|
95
|
+
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-0d8c0f6e.js';
|
|
96
96
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-0665462d.js';
|
|
97
97
|
export { s as OrTooltip, a as OrTooltipContent } from './OrTooltip-78cd7f6b.js';
|
|
98
98
|
export { s as OrTooltipV3 } from './OrTooltip-b07616f4.js';
|
|
@@ -3,7 +3,7 @@ import { defineComponent, ref, computed, onBeforeMount, onBeforeUnmount, nextTic
|
|
|
3
3
|
import { s as script$4 } from './OrTeleport.vue3-8099178c.js';
|
|
4
4
|
import { T as ToastType, P as PositionsX, b as PositionsY, c as TransitionType, d as useToastEventBus, a as useQueue } from './useToast-0665462d.js';
|
|
5
5
|
import { s as script$2 } from './OrIconButton-3d32cdcf.js';
|
|
6
|
-
import { s as script$3 } from './OrLoader-
|
|
6
|
+
import { s as script$3 } from './OrLoader-3a918ce9.js';
|
|
7
7
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, createVNode, createElementVNode, toDisplayString, createBlock, withModifiers, withCtx, TransitionGroup, Fragment, renderList, mergeProps } from 'vue';
|
|
8
8
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
9
9
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/ui-components",
|
|
3
|
-
"version": "2.74.
|
|
3
|
+
"version": "2.74.3-beta.2301.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": "0210ab5e65f8f3a902ce53fb27c731832b042eef"
|
|
127
|
+
}
|
|
129
128
|
}
|
|
@@ -25,16 +25,16 @@ export default {
|
|
|
25
25
|
},
|
|
26
26
|
|
|
27
27
|
title: {
|
|
28
|
-
control: { type: '
|
|
28
|
+
control: { type: 'text' },
|
|
29
29
|
},
|
|
30
30
|
|
|
31
31
|
description: {
|
|
32
|
-
control: { type: '
|
|
32
|
+
control: { type: 'text' },
|
|
33
33
|
},
|
|
34
34
|
},
|
|
35
35
|
|
|
36
36
|
parameters: {
|
|
37
|
-
layout: '
|
|
37
|
+
layout: 'fullscreen',
|
|
38
38
|
|
|
39
39
|
docs: {
|
|
40
40
|
page: OrLoaderDocs,
|
|
@@ -56,7 +56,11 @@ const Template: StoryFn<typeof OrLoader> = (args) => ({
|
|
|
56
56
|
return { args };
|
|
57
57
|
},
|
|
58
58
|
|
|
59
|
-
template:
|
|
59
|
+
template: `
|
|
60
|
+
<div class="w-full min-h-[100px] p-md flex justify-center items-center">
|
|
61
|
+
<OrLoader class="w-2/5 max-w-[400px]" v-bind="args" />
|
|
62
|
+
</div>
|
|
63
|
+
`,
|
|
60
64
|
});
|
|
61
65
|
|
|
62
66
|
export const Default = Template.bind({});
|
|
@@ -72,3 +76,11 @@ LinearWithText.args = {
|
|
|
72
76
|
variant: 'linear',
|
|
73
77
|
description: 'Promptly retrieving your data from the cloud',
|
|
74
78
|
};
|
|
79
|
+
LinearWithText.parameters = {
|
|
80
|
+
docs: {
|
|
81
|
+
description: {
|
|
82
|
+
story: 'By setting width on the component you may control the width of the linear loading indicator. \
|
|
83
|
+
Circular indicator size is controlled by the `size` prop.',
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
};
|
|
@@ -8,7 +8,10 @@
|
|
|
8
8
|
{{ title }}
|
|
9
9
|
</div>
|
|
10
10
|
</template>
|
|
11
|
-
<div
|
|
11
|
+
<div
|
|
12
|
+
:class="containerStyles"
|
|
13
|
+
:style="wrapperStyle"
|
|
14
|
+
>
|
|
12
15
|
<template v-if="variant === 'circular'">
|
|
13
16
|
<svg
|
|
14
17
|
viewBox="0 0 16 16"
|
|
@@ -92,11 +95,18 @@ export default defineComponent({
|
|
|
92
95
|
default: LoaderVariant.Circular,
|
|
93
96
|
},
|
|
94
97
|
|
|
98
|
+
/**
|
|
99
|
+
* Defines a semantic color of the loading indicator.
|
|
100
|
+
* Use `'inherit'` option to set your own color from the parent (not recommended).
|
|
101
|
+
*/
|
|
95
102
|
color: {
|
|
96
103
|
type: String as PropType<LoaderColor>,
|
|
97
104
|
default: LoaderColor.Primary,
|
|
98
105
|
},
|
|
99
106
|
|
|
107
|
+
/**
|
|
108
|
+
* Defines a diameter of the circular loader. Ignored for linear one.
|
|
109
|
+
*/
|
|
100
110
|
size: {
|
|
101
111
|
type: String as PropType<LoaderSize>,
|
|
102
112
|
default: LoaderSize.M,
|
|
@@ -143,14 +153,21 @@ export default defineComponent({
|
|
|
143
153
|
// State
|
|
144
154
|
const computedSize = computed(() => {
|
|
145
155
|
switch (props.size) {
|
|
146
|
-
case
|
|
156
|
+
case LoaderSize.M:
|
|
147
157
|
return 20;
|
|
148
158
|
|
|
149
|
-
case
|
|
159
|
+
case LoaderSize.S:
|
|
150
160
|
return 16;
|
|
151
161
|
}
|
|
152
162
|
});
|
|
153
163
|
|
|
164
|
+
/**
|
|
165
|
+
* Preserves circular loading indicator from shrinking caused by external styles.
|
|
166
|
+
*/
|
|
167
|
+
const wrapperStyle = computed(() => {
|
|
168
|
+
return `min-width: ${computedSize.value}px;`;
|
|
169
|
+
});
|
|
170
|
+
|
|
154
171
|
return {
|
|
155
172
|
root,
|
|
156
173
|
rootStyles,
|
|
@@ -158,6 +175,7 @@ export default defineComponent({
|
|
|
158
175
|
titleStyles,
|
|
159
176
|
descriptionStyles,
|
|
160
177
|
computedSize,
|
|
178
|
+
wrapperStyle,
|
|
161
179
|
};
|
|
162
180
|
},
|
|
163
181
|
});
|