@onereach/ui-components 2.67.8 → 2.67.9-beta.2030.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-a4952445.js → OrButton-6c5fb9df.js} +1 -1
- package/dist/bundled/v2/{OrConfirm-196a014f.js → OrConfirm-1b5ee24c.js} +1 -1
- package/dist/bundled/v2/{OrLoader-76f2615f.js → OrLoader-6808ea86.js} +15 -3
- package/dist/bundled/v2/{OrSwitch-c606709c.js → OrSwitch-80d6472f.js} +1 -1
- package/dist/bundled/v2/components/index.js +5 -5
- package/dist/bundled/v2/components/or-button-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-confirm-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-loader-v3/OrLoader.stories3.d.ts +11 -1
- package/dist/bundled/v2/components/or-loader-v3/OrLoader.vue.d.ts +22 -0
- package/dist/bundled/v2/components/or-loader-v3/index.js +1 -1
- 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 +6 -6
- package/dist/bundled/v2/{types-88dd7a52.js → types-4b5a7133.js} +1 -1
- package/dist/bundled/v3/{OrButton.vue_vue_type_script_lang-5af7999c.js → OrButton.vue_vue_type_script_lang-8399c399.js} +2 -2
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-53614609.js → OrConfirm.vue_vue_type_script_lang-30c62bb4.js} +1 -1
- package/dist/bundled/v3/OrLoader-c51c2f43.js +64 -0
- package/dist/bundled/v3/{OrLoader.vue_vue_type_script_lang-edd1b404.js → OrLoader.vue_vue_type_script_lang-e2f5bb7d.js} +9 -1
- package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-b40bf75f.js → OrSwitch.vue_vue_type_script_lang-e8ece219.js} +2 -2
- package/dist/bundled/v3/{OrToastContainer-9f3ab98b.js → OrToastContainer-b4bd1d2f.js} +1 -1
- package/dist/bundled/v3/components/index.js +6 -6
- package/dist/bundled/v3/components/or-button-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-confirm-v3/index.js +4 -4
- package/dist/bundled/v3/components/or-loader-v3/OrLoader.stories3.d.ts +11 -1
- package/dist/bundled/v3/components/or-loader-v3/OrLoader.vue.d.ts +22 -0
- package/dist/bundled/v3/components/or-loader-v3/index.js +1 -1
- 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 +10 -10
- package/dist/bundled/v3/{types-0d8f9581.js → types-3e263ea6.js} +2 -2
- package/dist/esm/v2/{OrButton-b458e82b.js → OrButton-fe4a5114.js} +1 -1
- package/dist/esm/v2/{OrConfirm-64ecb10d.js → OrConfirm-bee63371.js} +1 -1
- package/dist/esm/v2/{OrLoader-bd088836.js → OrLoader-0dcf4c01.js} +15 -3
- package/dist/esm/v2/{OrSwitch-2e0a53ed.js → OrSwitch-f077e9d5.js} +1 -1
- package/dist/esm/v2/components/index.js +5 -5
- package/dist/esm/v2/components/or-button-v3/index.js +2 -2
- package/dist/esm/v2/components/or-confirm-v3/index.js +3 -3
- package/dist/esm/v2/components/or-loader-v3/OrLoader.stories3.d.ts +11 -1
- package/dist/esm/v2/components/or-loader-v3/OrLoader.vue.d.ts +22 -0
- package/dist/esm/v2/components/or-loader-v3/index.js +1 -1
- 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 +5 -5
- package/dist/esm/v2/{types-ed7aa2bb.js → types-87ded1fd.js} +1 -1
- package/dist/esm/v3/{OrButton-4d0c2edd.js → OrButton-9021f9c8.js} +1 -1
- package/dist/esm/v3/{OrConfirm-a77d9812.js → OrConfirm-b090a158.js} +1 -1
- package/dist/esm/v3/{OrLoader-60943812.js → OrLoader-35e5dfaf.js} +31 -15
- package/dist/esm/v3/{OrSwitch-ec454b76.js → OrSwitch-5415978d.js} +1 -1
- package/dist/esm/v3/components/index.js +5 -5
- package/dist/esm/v3/components/or-button-v3/index.js +2 -2
- package/dist/esm/v3/components/or-confirm-v3/index.js +3 -3
- package/dist/esm/v3/components/or-loader-v3/OrLoader.stories3.d.ts +11 -1
- package/dist/esm/v3/components/or-loader-v3/OrLoader.vue.d.ts +22 -0
- package/dist/esm/v3/components/or-loader-v3/index.js +1 -1
- 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 +5 -5
- package/dist/esm/v3/{types-652ae29f.js → types-977d9680.js} +1 -1
- package/package.json +2 -3
- package/src/components/or-loader-v3/OrLoader.docs.mdx +3 -1
- package/src/components/or-loader-v3/OrLoader.stories3.ts +21 -1
- package/src/components/or-loader-v3/OrLoader.vue +20 -0
- package/src/components/or-loader-v3/styles.ts +3 -0
- package/dist/bundled/v3/OrLoader-65868e73.js +0 -56
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { s as OrSwitchV3 } from '../../OrSwitch-
|
|
1
|
+
export { s as OrSwitchV3 } from '../../OrSwitch-5415978d.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../useClassAttribute-47fdb016.js';
|
|
4
4
|
import '@vueuse/core';
|
|
5
5
|
import '../../OrLabel-7d4fe80b.js';
|
|
6
6
|
import 'vue';
|
|
7
|
-
import '../../OrLoader-
|
|
7
|
+
import '../../OrLoader-35e5dfaf.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-977d9680.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';
|
|
@@ -14,5 +14,5 @@ import '../../useElevation-31bfe1f6.js';
|
|
|
14
14
|
import '../../useResponsive-a02e95b7.js';
|
|
15
15
|
import '../../OrBottomSheet-0eb33b18.js';
|
|
16
16
|
import '../../OrOverlay-738a44d5.js';
|
|
17
|
-
import '../../OrLoader-
|
|
17
|
+
import '../../OrLoader-35e5dfaf.js';
|
|
18
18
|
import '../../style-inject.es-4c6f2515.js';
|
package/dist/esm/v3/index.js
CHANGED
|
@@ -3,7 +3,7 @@ export { a as AvatarColor, A as AvatarSize, s as OrAvatarV3 } from './OrAvatar-e
|
|
|
3
3
|
export { s as OrBottomSheetV3 } from './OrBottomSheet-0eb33b18.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-9021f9c8.js';
|
|
7
7
|
export { s as OrCard } from './OrCard-e3a5aea4.js';
|
|
8
8
|
export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from './OrCardCollection-a5e326ef.js';
|
|
9
9
|
export { C as CardCollectionView, s as OrCardCollectionV3 } from './OrCardCollection-34aa611e.js';
|
|
@@ -16,7 +16,7 @@ export { s as OrCode, O as OrCodeLanguages } from './OrCode-ee19a5e6.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-f39bd784.js';
|
|
19
|
-
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-
|
|
19
|
+
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-b090a158.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-bbfd3ca6.js';
|
|
@@ -42,7 +42,7 @@ export { L as LinkColor, s as OrLinkV3 } from './OrLink-338db3ca.js';
|
|
|
42
42
|
export { s as OrList } from './OrList-b740d13e.js';
|
|
43
43
|
export { s as OrListOfInputs } from './OrListOfInputs-7a67440f.js';
|
|
44
44
|
export { L as LoaderViews, s as OrLoader } from './OrLoader-15174477.js';
|
|
45
|
-
export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, s as OrLoaderV3 } from './OrLoader-
|
|
45
|
+
export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, s as OrLoaderV3 } from './OrLoader-35e5dfaf.js';
|
|
46
46
|
export { s as OrMenuItemV3 } from './OrMenuItem-d001f0f6.js';
|
|
47
47
|
export { s as OrMenuV3 } from './OrMenu-d9e12030.js';
|
|
48
48
|
export { P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-94a8f21d.js';
|
|
@@ -70,7 +70,7 @@ export { s as OrSlider } from './OrSlider-87e2da8c.js';
|
|
|
70
70
|
export { s as OrSortHeaderV3 } from './OrSortHeader-9d645226.js';
|
|
71
71
|
export { s as OrStepper } from './OrStepper-f19b4eac.js';
|
|
72
72
|
export { s as OrSwitch } from './OrSwitch-c333ee32.js';
|
|
73
|
-
export { s as OrSwitchV3 } from './OrSwitch-
|
|
73
|
+
export { s as OrSwitchV3 } from './OrSwitch-5415978d.js';
|
|
74
74
|
export { s as OrTab } from './OrTab-bc98be02.js';
|
|
75
75
|
export { s as OrTabHeaderItem } from './OrTabHeaderItem-d668cc59.js';
|
|
76
76
|
export { s as OrTabV3 } from './OrTab-97044946.js';
|
|
@@ -85,7 +85,7 @@ export { s as OrTextareaV3 } from './OrTextarea-98895b2a.js';
|
|
|
85
85
|
export { s as OrTextbox, T as TextboxTypes } from './OrTextbox-2f33e9c3.js';
|
|
86
86
|
export { s as OrToast, a as OrToastContainer } from './OrToastContainer-40c4c1c8.js';
|
|
87
87
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
|
|
88
|
-
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-
|
|
88
|
+
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-977d9680.js';
|
|
89
89
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-0665462d.js';
|
|
90
90
|
export { s as OrTooltip, a as OrTooltipContent } from './OrTooltip-78cd7f6b.js';
|
|
91
91
|
export { s as OrTooltipV3 } from './OrTooltip-6412166a.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-1d78453b.js';
|
|
6
|
-
import { s as script$3 } from './OrLoader-
|
|
6
|
+
import { s as script$3 } from './OrLoader-35e5dfaf.js';
|
|
7
7
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, createVNode, toDisplayString, createElementVNode, 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.67.
|
|
3
|
+
"version": "2.67.9-beta.2030.0",
|
|
4
4
|
"description": "Vue components library for v2/3",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/auto/index.js",
|
|
@@ -123,6 +123,5 @@
|
|
|
123
123
|
"default": "./dist/bundled/v3/components/*/index.js"
|
|
124
124
|
},
|
|
125
125
|
"./package.json": "./package.json"
|
|
126
|
-
}
|
|
127
|
-
"gitHead": "49b48309886592f29f6ca713127893cf0525aa5b"
|
|
126
|
+
}
|
|
128
127
|
}
|
|
@@ -9,4 +9,6 @@ import { OrLoaderV3 as OrLoader } from '@onereach/ui-components';
|
|
|
9
9
|
## Migration Guide from V1
|
|
10
10
|
- added properties `color` and `size`
|
|
11
11
|
- property `type` renamed to `variant`
|
|
12
|
-
-
|
|
12
|
+
- property `linearTitle` renamed to `title`
|
|
13
|
+
- property `linearDescription` renamed to `description`
|
|
14
|
+
- removed properties: `textTypeLabel`
|
|
@@ -23,6 +23,14 @@ export default {
|
|
|
23
23
|
control: { type: 'select' },
|
|
24
24
|
options: Object.values(LoaderSize),
|
|
25
25
|
},
|
|
26
|
+
|
|
27
|
+
title: {
|
|
28
|
+
control: { type: 'string' },
|
|
29
|
+
},
|
|
30
|
+
|
|
31
|
+
description: {
|
|
32
|
+
control: { type: 'string' },
|
|
33
|
+
},
|
|
26
34
|
},
|
|
27
35
|
|
|
28
36
|
parameters: {
|
|
@@ -51,4 +59,16 @@ const Template: StoryFn<typeof OrLoader> = (args) => ({
|
|
|
51
59
|
template: '<OrLoader v-bind="args" />',
|
|
52
60
|
});
|
|
53
61
|
|
|
54
|
-
export const
|
|
62
|
+
export const Default = Template.bind({});
|
|
63
|
+
|
|
64
|
+
export const Linear = Template.bind({});
|
|
65
|
+
Linear.args = {
|
|
66
|
+
variant: 'linear',
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
export const LinearWithText = Template.bind({});
|
|
70
|
+
LinearWithText.args = {
|
|
71
|
+
title: 'Loading',
|
|
72
|
+
variant: 'linear',
|
|
73
|
+
description: 'Promptly retrieving your data from the cloud',
|
|
74
|
+
};
|
|
@@ -4,6 +4,11 @@
|
|
|
4
4
|
v-bind="$attrs"
|
|
5
5
|
:class="rootStyles"
|
|
6
6
|
>
|
|
7
|
+
<template v-if="title">
|
|
8
|
+
<div class="typography-headline-2 text-center text-on-background dark:text-on-background-dark">
|
|
9
|
+
{{ title }}
|
|
10
|
+
</div>
|
|
11
|
+
</template>
|
|
7
12
|
<template v-if="variant === 'circular'">
|
|
8
13
|
<svg
|
|
9
14
|
viewBox="0 0 16 16"
|
|
@@ -67,6 +72,11 @@
|
|
|
67
72
|
</g>
|
|
68
73
|
</svg>
|
|
69
74
|
</template>
|
|
75
|
+
<template v-if="description">
|
|
76
|
+
<div class="typography-body-2-regular text-center text-outline dark:text-outline-dark">
|
|
77
|
+
{{ description }}
|
|
78
|
+
</div>
|
|
79
|
+
</template>
|
|
70
80
|
</div>
|
|
71
81
|
</template>
|
|
72
82
|
|
|
@@ -96,6 +106,16 @@ export default defineComponent({
|
|
|
96
106
|
type: String as PropType<LoaderSize>,
|
|
97
107
|
default: LoaderSize.M,
|
|
98
108
|
},
|
|
109
|
+
|
|
110
|
+
title: {
|
|
111
|
+
type: String,
|
|
112
|
+
default: undefined,
|
|
113
|
+
},
|
|
114
|
+
|
|
115
|
+
description: {
|
|
116
|
+
type: String,
|
|
117
|
+
default: undefined,
|
|
118
|
+
},
|
|
99
119
|
},
|
|
100
120
|
|
|
101
121
|
expose: [
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { s as script } from './OrLoader.vue_vue_type_script_lang-edd1b404.js';
|
|
2
|
-
import { openBlock, createElementBlock, mergeProps, createElementVNode, normalizeClass, createCommentVNode } from 'vue';
|
|
3
|
-
|
|
4
|
-
const _hoisted_1 = ["width", "height"];
|
|
5
|
-
const _hoisted_2 = {
|
|
6
|
-
fill: "none",
|
|
7
|
-
"stroke-width": "2",
|
|
8
|
-
"stroke-linecap": "round"
|
|
9
|
-
};
|
|
10
|
-
const _hoisted_3 = ["stroke"];
|
|
11
|
-
const _hoisted_4 = {
|
|
12
|
-
key: 1,
|
|
13
|
-
width: "100%",
|
|
14
|
-
height: "4"
|
|
15
|
-
};
|
|
16
|
-
const _hoisted_5 = {
|
|
17
|
-
fill: "none",
|
|
18
|
-
"stroke-width": "4",
|
|
19
|
-
"stroke-linecap": "round"
|
|
20
|
-
};
|
|
21
|
-
const _hoisted_6 = /*#__PURE__*/createElementVNode("line", {
|
|
22
|
-
class: /*#__PURE__*/normalizeClass(['stroke-surface-variant', 'dark:stroke-surface-variant-dark']),
|
|
23
|
-
x1: "2",
|
|
24
|
-
y1: "50%",
|
|
25
|
-
x2: "calc(100% - 2px)",
|
|
26
|
-
y2: "50%"
|
|
27
|
-
}, null, -1 /* HOISTED */);
|
|
28
|
-
const _hoisted_7 = ["stroke"];
|
|
29
|
-
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
30
|
-
return openBlock(), createElementBlock("div", mergeProps({
|
|
31
|
-
ref: "root"
|
|
32
|
-
}, _ctx.$attrs, {
|
|
33
|
-
class: _ctx.rootStyles
|
|
34
|
-
}), [_ctx.variant === 'circular' ? (openBlock(), createElementBlock("svg", {
|
|
35
|
-
key: 0,
|
|
36
|
-
viewBox: "0 0 16 16",
|
|
37
|
-
width: _ctx.computedSize,
|
|
38
|
-
height: _ctx.computedSize
|
|
39
|
-
}, [createElementVNode("g", _hoisted_2, [createElementVNode("circle", {
|
|
40
|
-
class: normalizeClass(['animate-circular-loader', 'origin-center']),
|
|
41
|
-
cx: "50%",
|
|
42
|
-
cy: "50%",
|
|
43
|
-
r: "7",
|
|
44
|
-
stroke: _ctx.color === 'inherit' ? 'currentColor' : 'inherit'
|
|
45
|
-
}, null, 8 /* PROPS */, _hoisted_3)])], 8 /* PROPS */, _hoisted_1)) : createCommentVNode("v-if", true), _ctx.variant === 'linear' ? (openBlock(), createElementBlock("svg", _hoisted_4, [createElementVNode("g", _hoisted_5, [_hoisted_6, createElementVNode("line", {
|
|
46
|
-
class: normalizeClass(['animate-linear-loader', 'origin-center']),
|
|
47
|
-
x1: "2",
|
|
48
|
-
y1: "50%",
|
|
49
|
-
x2: "calc(100% - 2px)",
|
|
50
|
-
y2: "50%",
|
|
51
|
-
stroke: _ctx.color === 'inherit' ? 'currentColor' : 'inherit'
|
|
52
|
-
}, null, 8 /* PROPS */, _hoisted_7)])])) : createCommentVNode("v-if", true)], 16 /* FULL_PROPS */);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
script.render = render;
|
|
56
|
-
script.__file = "src/components/or-loader-v3/OrLoader.vue";
|