@onereach/ui-components 23.3.6 → 23.3.7-beta.5654.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/esm/{OrDataGrid-O5BDSXek.mjs → OrDataGrid-M7gWVa8n.mjs} +2 -2
- package/dist/esm/{OrDataGrid-O5BDSXek.mjs.map → OrDataGrid-M7gWVa8n.mjs.map} +1 -1
- package/dist/esm/OrSkeletonArea-fMhHFyo1.mjs +40 -0
- package/dist/esm/OrSkeletonArea-fMhHFyo1.mjs.map +1 -0
- package/dist/esm/{OrSkeletonText-Dm8s1o0l.mjs → OrSkeletonArea.vue_vue_type_script_lang-jgRhbZ0X.mjs} +138 -56
- package/dist/esm/OrSkeletonArea.vue_vue_type_script_lang-jgRhbZ0X.mjs.map +1 -0
- package/dist/esm/components/index.mjs +83 -82
- package/dist/esm/components/or-data-grid-v3/index.mjs +1 -1
- package/dist/esm/components/or-skeleton-v3/index.mjs +6 -5
- package/dist/esm/index.mjs +83 -82
- package/dist/types/components/or-skeleton-v3/index.d.ts +1 -0
- package/dist/types/components/or-skeleton-v3/or-skeleton-area-v3/OrSkeletonArea.vue.d.ts +56 -0
- package/dist/types/components/or-skeleton-v3/or-skeleton-area-v3/styles.d.ts +4 -0
- package/package.json +4 -5
- package/dist/esm/OrSkeletonRect-weDKDBV_.mjs +0 -24
- package/dist/esm/OrSkeletonRect-weDKDBV_.mjs.map +0 -1
- package/dist/esm/OrSkeletonText-Dm8s1o0l.mjs.map +0 -1
package/dist/esm/index.mjs
CHANGED
|
@@ -4,8 +4,8 @@ import { B as p, O as m } from "./OrBottomSheet-CJxmY84p.mjs";
|
|
|
4
4
|
import { O as x } from "./OrButtonGroup-Cd6tpyP3.mjs";
|
|
5
5
|
import { O as f } from "./OrButton-C_hXddAf.mjs";
|
|
6
6
|
import { a as T, b as d, B as c } from "./OrButton.vue_vue_type_script_lang-W1ictbKz.mjs";
|
|
7
|
-
import { C, O as S, d as
|
|
8
|
-
import { C as g, O as
|
|
7
|
+
import { C, O as S, d as b, g as u, l as P } from "./OrCardCollection-B1zsC0GR.mjs";
|
|
8
|
+
import { C as g, O as k } from "./OrCard-7awJu_df.mjs";
|
|
9
9
|
import { O as R } from "./OrCheckboxGroup-oWfQ8P5a.mjs";
|
|
10
10
|
import { O as h } from "./OrCheckboxTree-D6KuOyBg.mjs";
|
|
11
11
|
import { O as B } from "./OrCheckbox-CARHvboD.mjs";
|
|
@@ -19,10 +19,10 @@ import { EditorState as X } from "@codemirror/state";
|
|
|
19
19
|
import { O as Z } from "./OrCombinedInput-DNgMGLxG.mjs";
|
|
20
20
|
import { C as $, O as rr } from "./OrConfirm-Bgv4cZD5.mjs";
|
|
21
21
|
import { O as or } from "./OrContextMenu-CrpiM2Jq.mjs";
|
|
22
|
-
import { D as tr, a as sr, b as Or, o as ir, m as pr, e as mr, c as nr, d as xr, p as Vr, h as fr, f as lr, g as Tr, k as dr, i as cr, j as Dr, l as Cr, n as Sr, O as
|
|
23
|
-
import { O as
|
|
22
|
+
import { D as tr, a as sr, b as Or, o as ir, m as pr, e as mr, c as nr, d as xr, p as Vr, h as fr, f as lr, g as Tr, k as dr, i as cr, j as Dr, l as Cr, n as Sr, O as br } from "./OrDataGrid-M7gWVa8n.mjs";
|
|
23
|
+
import { O as Pr } from "./OrDateFormat-BFUOhWkH.mjs";
|
|
24
24
|
import { O as gr } from "./OrDatePicker-B099hQpm.mjs";
|
|
25
|
-
import { O as
|
|
25
|
+
import { O as Gr } from "./OrDateRangePicker-D2NP4Hd2.mjs";
|
|
26
26
|
import { O as Fr } from "./OrDateTimeFormat-DpLQd-pE.mjs";
|
|
27
27
|
import { O as Er } from "./OrDateTimePicker-CGIojTPp.mjs";
|
|
28
28
|
import { O as vr, a as zr, b as Lr, c as wr, d as Mr, e as yr, f as Ar, g as Nr, h as Hr, i as jr, j as Qr, k as Wr, l as qr, s as Jr } from "./OrDateTimePicker.vue_vue_type_script_lang-WqJrqWZ3.mjs";
|
|
@@ -35,10 +35,10 @@ import { O as ma } from "./OrErrorTag-Bo_gxhzB.mjs";
|
|
|
35
35
|
import { O as xa } from "./OrError-B5ihH6-3.mjs";
|
|
36
36
|
import { b as fa, a as la, E as Ta, O as da } from "./OrExpansionPanel-BNGPdEnp.mjs";
|
|
37
37
|
import { F as Da, O as Ca } from "./OrFab-Cbg9unNc.mjs";
|
|
38
|
-
import { O as
|
|
39
|
-
import { O as
|
|
38
|
+
import { O as ba } from "./OrFilterPopover-C8lXb-hJ.mjs";
|
|
39
|
+
import { O as Pa } from "./OrFilterTrigger-zfcgyC7C.mjs";
|
|
40
40
|
import { O as ga } from "./OrFilter-C8d3OmGK.mjs";
|
|
41
|
-
import { F as
|
|
41
|
+
import { F as Ga, a as Ra, O as Fa } from "./OrFormGroup-C5sateI6.mjs";
|
|
42
42
|
import { O as Ea } from "./OrHint-NvbZyURY.mjs";
|
|
43
43
|
import { I as va, O as za } from "./OrIconButton-BlHCLpeW.mjs";
|
|
44
44
|
import { a as wa, I as Ma, O as ya } from "./OrIcon-k8cyvh-D.mjs";
|
|
@@ -52,10 +52,10 @@ import { a as to, I as so, O as Oo } from "./OrInput-DZf6KJXJ.mjs";
|
|
|
52
52
|
import { L as po, O as mo } from "./OrLabel-BadqqO3K.mjs";
|
|
53
53
|
import { L as xo, O as Vo } from "./OrLink-Vl_H8MMg.mjs";
|
|
54
54
|
import { a as lo, O as To } from "./OrList-BsdJknJD.mjs";
|
|
55
|
-
import { a as Do, b as Co, L as So, O as
|
|
56
|
-
import { O as
|
|
55
|
+
import { a as Do, b as Co, L as So, O as bo } from "./OrLoader-2SaTMxmZ.mjs";
|
|
56
|
+
import { O as Po } from "./OrMenuItem-BHRMA0L1.mjs";
|
|
57
57
|
import { O as go } from "./OrMenu-CJT4Snay.mjs";
|
|
58
|
-
import { M as
|
|
58
|
+
import { M as Go, O as Ro } from "./OrModal-CQhwUYFk.mjs";
|
|
59
59
|
import { N as ho, O as Eo, V as Bo } from "./OrNotification-Dz3Tr1wI.mjs";
|
|
60
60
|
import { O as zo } from "./OrOverlay-BjrghiC-.mjs";
|
|
61
61
|
import { O as wo } from "./OrPagination-BFUGGyGy.mjs";
|
|
@@ -71,28 +71,28 @@ import { O as xe, R as Ve } from "./OrRichTooltip-D8vv5Btb.mjs";
|
|
|
71
71
|
import { O as le } from "./OrSearch-YPg77z38.mjs";
|
|
72
72
|
import { O as de, S as ce } from "./OrSegmentedControl-D5QoWe-N.mjs";
|
|
73
73
|
import { O as Ce } from "./OrSelect-jPsu8Yeh.mjs";
|
|
74
|
-
import { O as
|
|
75
|
-
import {
|
|
76
|
-
import { O as
|
|
77
|
-
import { O as
|
|
78
|
-
import { S as
|
|
79
|
-
import { O as
|
|
80
|
-
import { O as
|
|
81
|
-
import { O as
|
|
82
|
-
import { O as
|
|
83
|
-
import { O as
|
|
84
|
-
import { O as
|
|
85
|
-
import { O as
|
|
86
|
-
import { O as
|
|
87
|
-
import { O as
|
|
88
|
-
import { O as
|
|
89
|
-
import { O as
|
|
90
|
-
import { O as
|
|
91
|
-
import { O as
|
|
92
|
-
import { O as
|
|
93
|
-
import { a as
|
|
74
|
+
import { O as be, S as ue } from "./props-BxqD8LGb.mjs";
|
|
75
|
+
import { b as Ie, O as ge, a as ke } from "./OrSkeletonArea-fMhHFyo1.mjs";
|
|
76
|
+
import { O as Re } from "./OrSkeletonArea.vue_vue_type_script_lang-jgRhbZ0X.mjs";
|
|
77
|
+
import { O as he } from "./OrSlider-Cec0WpUQ.mjs";
|
|
78
|
+
import { S as Be, a as ve } from "./OrSlider.vue_vue_type_script_lang-C5rLh1F0.mjs";
|
|
79
|
+
import { O as Le } from "./OrSorting-DCAarSF1.mjs";
|
|
80
|
+
import { O as Me, a as ye, S as Ae } from "./OrStatus-D4QIuE7R.mjs";
|
|
81
|
+
import { O as He } from "./OrSwitch-BBd-YlXk.mjs";
|
|
82
|
+
import { O as Qe } from "./OrTab-BdtxL_PY.mjs";
|
|
83
|
+
import { O as qe, a as Je, T as Ke } from "./OrTabs-BUXLSz8o.mjs";
|
|
84
|
+
import { O as Xe } from "./OrTagInput-B5TArhY_.mjs";
|
|
85
|
+
import { O as Ze, a as _e, T as $e } from "./OrTag-Bixe0EQq.mjs";
|
|
86
|
+
import { O as at, T as ot } from "./OrTags-CS0bcLtx.mjs";
|
|
87
|
+
import { O as tt } from "./OrTeleport.vue3-C9kW_8PS.mjs";
|
|
88
|
+
import { O as Ot } from "./OrText-3zAJU5xf.mjs";
|
|
89
|
+
import { O as pt } from "./OrTextarea-Ddnv4Ztu.mjs";
|
|
90
|
+
import { O as nt } from "./OrTimeFormat-BmhKB6Gc.mjs";
|
|
91
|
+
import { O as Vt } from "./OrTimePicker-Du1sJ1Mh.mjs";
|
|
92
|
+
import { O as lt } from "./OrTimeRangePicker-BRyqEYfR.mjs";
|
|
93
|
+
import { a as dt, O as ct, p as Dt, t as Ct, b as St, u as bt } from "./types-BwxhurSS.mjs";
|
|
94
94
|
import { O as Pt } from "./OrTooltip-DqwjoE82.mjs";
|
|
95
|
-
import { O as
|
|
95
|
+
import { O as gt, T as kt } from "./OrTree-By3MLZUL.mjs";
|
|
96
96
|
export * from "@onereach/ui-components-common";
|
|
97
97
|
export {
|
|
98
98
|
t as AvatarColor,
|
|
@@ -116,7 +116,7 @@ export {
|
|
|
116
116
|
la as ExpansionPanelColor,
|
|
117
117
|
Ta as ExpansionPanelVariant,
|
|
118
118
|
Da as FabColor,
|
|
119
|
-
|
|
119
|
+
Ga as FormGroupDirection,
|
|
120
120
|
Ra as FormGroupSpacing,
|
|
121
121
|
Oe as Formats,
|
|
122
122
|
va as IconButtonColor,
|
|
@@ -136,7 +136,7 @@ export {
|
|
|
136
136
|
Do as LoaderColor,
|
|
137
137
|
Co as LoaderSize,
|
|
138
138
|
So as LoaderVariant,
|
|
139
|
-
|
|
139
|
+
Go as ModalSize,
|
|
140
140
|
ho as NotificationVariant,
|
|
141
141
|
o as OrAutocompleteV3,
|
|
142
142
|
O as OrAvatarV3,
|
|
@@ -144,7 +144,7 @@ export {
|
|
|
144
144
|
x as OrButtonGroupV3,
|
|
145
145
|
f as OrButtonV3,
|
|
146
146
|
S as OrCardCollectionV3,
|
|
147
|
-
|
|
147
|
+
k as OrCardV3,
|
|
148
148
|
R as OrCheckboxGroupV3,
|
|
149
149
|
h as OrCheckboxTreeV3,
|
|
150
150
|
B as OrCheckboxV3,
|
|
@@ -168,10 +168,10 @@ export {
|
|
|
168
168
|
Dr as OrDataGridTableHeaderRow,
|
|
169
169
|
Cr as OrDataGridTablePlaceholder,
|
|
170
170
|
Sr as OrDataGridToolbar,
|
|
171
|
-
|
|
172
|
-
|
|
171
|
+
br as OrDataGridV3,
|
|
172
|
+
Pr as OrDateFormatV3,
|
|
173
173
|
gr as OrDatePickerV3,
|
|
174
|
-
|
|
174
|
+
Gr as OrDateRangePickerV3,
|
|
175
175
|
Fr as OrDateTimeFormatV3,
|
|
176
176
|
vr as OrDateTimePickerDateControl,
|
|
177
177
|
zr as OrDateTimePickerDateSelect,
|
|
@@ -190,8 +190,8 @@ export {
|
|
|
190
190
|
xa as OrErrorV3,
|
|
191
191
|
da as OrExpansionPanelV3,
|
|
192
192
|
Ca as OrFabV3,
|
|
193
|
-
|
|
194
|
-
|
|
193
|
+
ba as OrFilterPopoverV3,
|
|
194
|
+
Pa as OrFilterTriggerV3,
|
|
195
195
|
ga as OrFilterV3,
|
|
196
196
|
Fa as OrFormGroupV3,
|
|
197
197
|
Ea as OrHintV3,
|
|
@@ -207,8 +207,8 @@ export {
|
|
|
207
207
|
Vo as OrLinkV3,
|
|
208
208
|
lo as OrListItem,
|
|
209
209
|
To as OrListV3,
|
|
210
|
-
|
|
211
|
-
|
|
210
|
+
bo as OrLoaderV3,
|
|
211
|
+
Po as OrMenuItemV3,
|
|
212
212
|
go as OrMenuV3,
|
|
213
213
|
Ro as OrModalV3,
|
|
214
214
|
Eo as OrNotificationV3,
|
|
@@ -226,34 +226,35 @@ export {
|
|
|
226
226
|
le as OrSearchV3,
|
|
227
227
|
de as OrSegmentedControlV3,
|
|
228
228
|
Ce as OrSelectV3,
|
|
229
|
-
|
|
230
|
-
Ie as
|
|
231
|
-
ge as
|
|
232
|
-
ke as
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
dt as
|
|
229
|
+
be as OrSidebarV3,
|
|
230
|
+
Ie as OrSkeletonAreaV3,
|
|
231
|
+
ge as OrSkeletonCircleV3,
|
|
232
|
+
ke as OrSkeletonRectV3,
|
|
233
|
+
Re as OrSkeletonTextV3,
|
|
234
|
+
he as OrSliderV3,
|
|
235
|
+
Le as OrSortingV3,
|
|
236
|
+
Me as OrStatusV3,
|
|
237
|
+
He as OrSwitchV3,
|
|
238
|
+
Qe as OrTabV3,
|
|
239
|
+
qe as OrTabsV3,
|
|
240
|
+
Xe as OrTagInputV3,
|
|
241
|
+
Ze as OrTagV3,
|
|
242
|
+
at as OrTagsV3,
|
|
243
|
+
tt as OrTeleportV3,
|
|
244
|
+
Ot as OrTextV3,
|
|
245
|
+
pt as OrTextareaV3,
|
|
246
|
+
nt as OrTimeFormatV3,
|
|
247
|
+
Vt as OrTimePickerV3,
|
|
248
|
+
lt as OrTimeRangePickerV3,
|
|
249
|
+
dt as OrToastContainerV3,
|
|
250
|
+
ct as OrToastV3,
|
|
250
251
|
Pt as OrTooltipV3,
|
|
251
|
-
|
|
252
|
+
gt as OrTreeV3,
|
|
252
253
|
Ao as PopoverPlacement,
|
|
253
254
|
No as PopoverVariant,
|
|
254
255
|
Wo as ProgressColor,
|
|
255
256
|
qo as ProgressType,
|
|
256
|
-
|
|
257
|
+
Dt as PropsV3,
|
|
257
258
|
re as RatingVariant,
|
|
258
259
|
ee as ResizeablePanelPadding,
|
|
259
260
|
te as ResizeablePanelPlacement,
|
|
@@ -261,28 +262,28 @@ export {
|
|
|
261
262
|
me as RichTextEditorTooltips,
|
|
262
263
|
Ve as RichTooltipBehavior,
|
|
263
264
|
ce as SegmentedControlSize,
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
265
|
+
ue as SidebarPlacement,
|
|
266
|
+
Be as SliderColor,
|
|
267
|
+
ve as SliderOrientation,
|
|
268
|
+
ye as StatusSize,
|
|
269
|
+
Ae as StatusVariant,
|
|
270
|
+
Je as TabsSpacing,
|
|
271
|
+
Ke as TabsVariant,
|
|
272
|
+
_e as TagColor,
|
|
273
|
+
$e as TagVariant,
|
|
274
|
+
ot as TagsOverflow,
|
|
275
|
+
kt as TreeNodeDropPosition,
|
|
276
|
+
Ct as TypesV3,
|
|
276
277
|
Bo as VariantToIconName,
|
|
277
278
|
aa as approximateFileSize,
|
|
278
|
-
|
|
279
|
+
b as defaultViewModes,
|
|
279
280
|
Hr as formatDate,
|
|
280
281
|
jr as formatMobileDate,
|
|
281
282
|
Qr as formatMobileTime,
|
|
282
283
|
Wr as formatTime,
|
|
283
284
|
qr as getCurrentDate,
|
|
284
285
|
Ur as getNextMonthDate,
|
|
285
|
-
|
|
286
|
+
u as gridView,
|
|
286
287
|
q as html,
|
|
287
288
|
Ho as isPrevented,
|
|
288
289
|
N as javascript,
|
|
@@ -290,9 +291,9 @@ export {
|
|
|
290
291
|
Q as jsonParseLinter,
|
|
291
292
|
M as lintGutter,
|
|
292
293
|
y as linter,
|
|
293
|
-
|
|
294
|
+
P as listView,
|
|
294
295
|
Jr as scrollToElementWithinContainer,
|
|
295
|
-
|
|
296
|
-
|
|
296
|
+
St as useQueueV3,
|
|
297
|
+
bt as useToastV3
|
|
297
298
|
};
|
|
298
299
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { default as OrSkeletonCircleV3 } from './or-skeleton-circle-v3/OrSkeletonCircle.vue';
|
|
2
2
|
export { default as OrSkeletonRectV3 } from './or-skeleton-rect-v3/OrSkeletonRect.vue';
|
|
3
3
|
export { default as OrSkeletonTextV3 } from './or-skeleton-text-v3/OrSkeletonText.vue';
|
|
4
|
+
export { default as OrSkeletonAreaV3 } from './or-skeleton-area-v3/OrSkeletonArea.vue';
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { IconSize } from '@onereach/ui-components.or-icon-v3';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
animated: {
|
|
4
|
+
type: BooleanConstructor;
|
|
5
|
+
required: false;
|
|
6
|
+
default: boolean;
|
|
7
|
+
};
|
|
8
|
+
width: {
|
|
9
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
10
|
+
required: false;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
height: {
|
|
14
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
15
|
+
required: false;
|
|
16
|
+
default: number;
|
|
17
|
+
};
|
|
18
|
+
icon: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
}, {
|
|
23
|
+
IconSize: typeof IconSize;
|
|
24
|
+
root: import("vue").Ref<HTMLElement | undefined>;
|
|
25
|
+
rootStyles: import("vue").ComputedRef<string[]>;
|
|
26
|
+
rootStyle: import("vue").ComputedRef<{
|
|
27
|
+
width: string;
|
|
28
|
+
height: string;
|
|
29
|
+
}>;
|
|
30
|
+
iconStyles: string[];
|
|
31
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
32
|
+
animated: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
required: false;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
width: {
|
|
38
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
39
|
+
required: false;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
height: {
|
|
43
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
44
|
+
required: false;
|
|
45
|
+
default: number;
|
|
46
|
+
};
|
|
47
|
+
icon: {
|
|
48
|
+
type: StringConstructor;
|
|
49
|
+
required: true;
|
|
50
|
+
};
|
|
51
|
+
}>>, {
|
|
52
|
+
height: string | number;
|
|
53
|
+
width: string | number;
|
|
54
|
+
animated: boolean;
|
|
55
|
+
}, {}>;
|
|
56
|
+
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/ui-components",
|
|
3
|
-
"version": "23.3.
|
|
3
|
+
"version": "23.3.7-beta.5654.0",
|
|
4
4
|
"description": "Vue components library for v3",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"@codemirror/view": "^6",
|
|
47
47
|
"@floating-ui/dom": "1.5.3",
|
|
48
48
|
"@lezer/highlight": "*",
|
|
49
|
-
"@onereach/styles": "^23.3.
|
|
50
|
-
"@onereach/ui-components-common": "^23.3.
|
|
49
|
+
"@onereach/styles": "^23.3.7-beta.5654.0",
|
|
50
|
+
"@onereach/ui-components-common": "^23.3.7-beta.5654.0",
|
|
51
51
|
"@splidejs/splide": "4.0.6",
|
|
52
52
|
"@tiptap/core": "2.0.3",
|
|
53
53
|
"@tiptap/extension-blockquote": "2.0.3",
|
|
@@ -102,6 +102,5 @@
|
|
|
102
102
|
"publishConfig": {
|
|
103
103
|
"access": "public"
|
|
104
104
|
},
|
|
105
|
-
"npmUnpacked": "4.15.2"
|
|
106
|
-
"gitHead": "55a2102dd50376ed53d9910d64f09ce0c2fd02e8"
|
|
105
|
+
"npmUnpacked": "4.15.2"
|
|
107
106
|
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { _ as f, a as _ } from "./OrSkeletonText-Dm8s1o0l.mjs";
|
|
2
|
-
import { openBlock as o, createElementBlock as r, normalizeClass as t, normalizeStyle as s } from "vue";
|
|
3
|
-
import { _ as n } from "./_plugin-vue_export-helper-CHgC5LLL.mjs";
|
|
4
|
-
function m(e, l, a, c, i, p) {
|
|
5
|
-
return o(), r("div", {
|
|
6
|
-
ref: "root",
|
|
7
|
-
class: t(e.rootStyles),
|
|
8
|
-
style: s(e.rootStyle)
|
|
9
|
-
}, null, 6);
|
|
10
|
-
}
|
|
11
|
-
const S = /* @__PURE__ */ n(f, [["render", m]]);
|
|
12
|
-
function $(e, l, a, c, i, p) {
|
|
13
|
-
return o(), r("div", {
|
|
14
|
-
ref: "root",
|
|
15
|
-
class: t(e.rootStyles),
|
|
16
|
-
style: s(e.rootStyle)
|
|
17
|
-
}, null, 6);
|
|
18
|
-
}
|
|
19
|
-
const k = /* @__PURE__ */ n(_, [["render", $]]);
|
|
20
|
-
export {
|
|
21
|
-
S as O,
|
|
22
|
-
k as a
|
|
23
|
-
};
|
|
24
|
-
//# sourceMappingURL=OrSkeletonRect-weDKDBV_.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OrSkeletonRect-weDKDBV_.mjs","sources":["../../../components/or-skeleton-v3/src/or-skeleton-circle-v3/OrSkeletonCircle.vue","../../../components/or-skeleton-v3/src/or-skeleton-rect-v3/OrSkeletonRect.vue"],"sourcesContent":["<template>\n <div\n :ref=\"'root'\"\n :class=\"rootStyles\"\n :style=\"rootStyle\"\n />\n</template>\n\n<script lang=\"ts\">\nimport { pxToRem } from '@onereach/ui-components-common/utils';\nimport { computed, defineComponent, ref } from 'vue';\n\nimport { SkeletonAnimated, SkeletonCircle, SkeletonRoot } from './styles';\n\nexport default defineComponent({\n name: 'OrSkeletonCircle',\n\n props: {\n animated: {\n type: Boolean,\n required: false,\n default: true,\n },\n\n size: {\n type: [Number, String],\n required: false,\n default: 40,\n },\n },\n\n expose: [\n 'root',\n ],\n\n setup(props) {\n // Refs\n const root = ref<HTMLElement>();\n\n // Styles\n const rootStyles = computed(() => [\n 'or-skeleton-v3',\n 'or-skeleton-circle',\n ...SkeletonRoot,\n ...SkeletonCircle,\n ...(props.animated ? SkeletonAnimated : []),\n ]);\n\n const rootStyle = computed(() => {\n const size = props.size ?? 40; // 40px - medium OrAvatar\n const sizeStyle = typeof size === 'number'\n ? pxToRem(size)\n : size;\n\n return {\n 'width': sizeStyle,\n 'min-width': sizeStyle,\n 'height': sizeStyle,\n 'min-height': sizeStyle,\n };\n });\n\n return {\n root,\n rootStyles,\n rootStyle,\n };\n },\n});\n</script>\n","<template>\n <div\n :ref=\"'root'\"\n :class=\"rootStyles\"\n :style=\"rootStyle\"\n />\n</template>\n\n<script lang=\"ts\">\nimport { pxToRem } from '@onereach/ui-components-common/utils';\nimport { computed, defineComponent, ref } from 'vue';\n\nimport { SkeletonAnimated, SkeletonRect, SkeletonRoot } from './styles';\n\nexport default defineComponent({\n name: 'OrSkeletonRect',\n\n props: {\n animated: {\n type: Boolean,\n required: false,\n default: true,\n },\n\n width: {\n type: [Number, String],\n required: false,\n default: '100%',\n },\n\n height: {\n type: [Number, String],\n required: false,\n default: 36,\n },\n },\n\n expose: [\n 'root',\n ],\n\n setup(props) {\n // Refs\n const root = ref<HTMLElement>();\n\n // Styles\n const rootStyles = computed(() => [\n 'or-skeleton-v3',\n 'or-skeleton-rect',\n ...SkeletonRoot,\n ...SkeletonRect,\n ...(props.animated ? SkeletonAnimated : []),\n ]);\n\n const rootStyle = computed(() => {\n const width = props.width ?? '100%';\n const height = props.height ?? 36; // 36px - default OrInput height\n\n return {\n 'width': typeof width === 'number' ? pxToRem(width) : width,\n 'height': typeof height === 'number' ? pxToRem(height) : height,\n };\n });\n\n return {\n root,\n rootStyles,\n rootStyle,\n };\n },\n});\n</script>\n"],"names":["_sfc_render","_ctx","_cache","$props","$setup","$data","$options","_openBlock","_createElementBlock","_normalizeClass"],"mappings":";;;SAEUA,EAAMC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAA;SACNC,EAAY,GAAAC,EAAA,OAAA;AAAA,IACjB,KAAK;AAAA,IAAA,OAAAC,EAAAR,EAAA,UAAA;AAAA;;;;SCFAD,EAAMC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAA;SACNC,EAAY,GAAAC,EAAA,OAAA;AAAA,IACjB,KAAK;AAAA,IAAA,OAAAC,EAAAR,EAAA,UAAA;AAAA;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OrSkeletonText-Dm8s1o0l.mjs","sources":["../../../components/or-skeleton-v3/src/or-skeleton-circle-v3/styles.ts","../../../components/or-skeleton-v3/src/or-skeleton-circle-v3/OrSkeletonCircle.vue","../../../components/or-skeleton-v3/src/or-skeleton-rect-v3/styles.ts","../../../components/or-skeleton-v3/src/or-skeleton-rect-v3/OrSkeletonRect.vue","../../../components/or-skeleton-v3/src/or-skeleton-text-v3/styles.ts","../../../components/or-skeleton-v3/src/or-skeleton-text-v3/OrSkeletonText.vue"],"sourcesContent":["export const SkeletonRoot: string[] = [\n // Position\n 'relative',\n\n // Layout\n 'overflow-hidden',\n\n // Box\n 'p-0',\n\n // Borders\n 'border-0',\n\n // Theme\n 'bg-skeletons-gradient',\n 'dark:bg-skeletons-gradient-dark',\n\n // Background\n 'bg-repeat',\n];\n\nexport const SkeletonCircle: string[] = [\n // Box\n 'rounded-full',\n];\n\nexport const SkeletonAnimated: string[] = [\n // Background\n 'bg-[length:200%]',\n\n // Animation\n 'animate-skeleton-loader',\n];\n","<template>\n <div\n :ref=\"'root'\"\n :class=\"rootStyles\"\n :style=\"rootStyle\"\n />\n</template>\n\n<script lang=\"ts\">\nimport { pxToRem } from '@onereach/ui-components-common/utils';\nimport { computed, defineComponent, ref } from 'vue';\n\nimport { SkeletonAnimated, SkeletonCircle, SkeletonRoot } from './styles';\n\nexport default defineComponent({\n name: 'OrSkeletonCircle',\n\n props: {\n animated: {\n type: Boolean,\n required: false,\n default: true,\n },\n\n size: {\n type: [Number, String],\n required: false,\n default: 40,\n },\n },\n\n expose: [\n 'root',\n ],\n\n setup(props) {\n // Refs\n const root = ref<HTMLElement>();\n\n // Styles\n const rootStyles = computed(() => [\n 'or-skeleton-v3',\n 'or-skeleton-circle',\n ...SkeletonRoot,\n ...SkeletonCircle,\n ...(props.animated ? SkeletonAnimated : []),\n ]);\n\n const rootStyle = computed(() => {\n const size = props.size ?? 40; // 40px - medium OrAvatar\n const sizeStyle = typeof size === 'number'\n ? pxToRem(size)\n : size;\n\n return {\n 'width': sizeStyle,\n 'min-width': sizeStyle,\n 'height': sizeStyle,\n 'min-height': sizeStyle,\n };\n });\n\n return {\n root,\n rootStyles,\n rootStyle,\n };\n },\n});\n</script>\n","export const SkeletonRoot: string[] = [\n // Position\n 'relative',\n\n // Layout\n 'overflow-hidden',\n\n // Box\n 'p-0',\n\n // Borders\n 'border-0',\n\n // Theme\n 'bg-skeletons-gradient',\n 'dark:bg-skeletons-gradient-dark',\n\n // Background\n 'bg-repeat',\n];\n\nexport const SkeletonRect: string[] = [\n // Box\n 'rounded-md',\n];\n\nexport const SkeletonAnimated: string[] = [\n // Background\n 'bg-[length:200%]',\n\n // Animation\n 'animate-skeleton-loader',\n];\n","<template>\n <div\n :ref=\"'root'\"\n :class=\"rootStyles\"\n :style=\"rootStyle\"\n />\n</template>\n\n<script lang=\"ts\">\nimport { pxToRem } from '@onereach/ui-components-common/utils';\nimport { computed, defineComponent, ref } from 'vue';\n\nimport { SkeletonAnimated, SkeletonRect, SkeletonRoot } from './styles';\n\nexport default defineComponent({\n name: 'OrSkeletonRect',\n\n props: {\n animated: {\n type: Boolean,\n required: false,\n default: true,\n },\n\n width: {\n type: [Number, String],\n required: false,\n default: '100%',\n },\n\n height: {\n type: [Number, String],\n required: false,\n default: 36,\n },\n },\n\n expose: [\n 'root',\n ],\n\n setup(props) {\n // Refs\n const root = ref<HTMLElement>();\n\n // Styles\n const rootStyles = computed(() => [\n 'or-skeleton-v3',\n 'or-skeleton-rect',\n ...SkeletonRoot,\n ...SkeletonRect,\n ...(props.animated ? SkeletonAnimated : []),\n ]);\n\n const rootStyle = computed(() => {\n const width = props.width ?? '100%';\n const height = props.height ?? 36; // 36px - default OrInput height\n\n return {\n 'width': typeof width === 'number' ? pxToRem(width) : width,\n 'height': typeof height === 'number' ? pxToRem(height) : height,\n };\n });\n\n return {\n root,\n rootStyles,\n rootStyle,\n };\n },\n});\n</script>\n","export const SkeletonRoot: string[] = [\n // Position\n 'relative',\n\n // Layout\n 'overflow-hidden',\n\n // Box\n 'p-0',\n\n // Borders\n 'border-0',\n\n // Theme\n 'bg-skeletons-gradient',\n 'dark:bg-skeletons-gradient-dark',\n\n // Background\n 'bg-repeat',\n];\n\nexport const SkeletonTextContainerRoot: string[] = [\n // Layout\n 'flex',\n 'flex-col',\n\n // Box\n 'h-auto',\n];\n\nexport const SkeletonText: string[] = [\n // Box\n 'w-full',\n 'rounded-md',\n];\n\nexport const SkeletonAnimated: string[] = [\n // Background\n 'bg-[length:200%]',\n\n // Animation\n 'animate-skeleton-loader',\n];\n","<template>\n <div\n :ref=\"'root'\"\n :class=\"containerStyles\"\n :style=\"containerStyle\"\n >\n <div\n v-for=\"key in lineKeys\"\n :key=\"key\"\n :class=\"rowStyles\"\n :style=\"rowStyle\"\n />\n </div>\n</template>\n\n<script lang=\"ts\">\nimport { pxToRem } from '@onereach/ui-components-common/utils';\nimport { computed, defineComponent, ref } from 'vue';\n\nimport { SkeletonAnimated, SkeletonRoot, SkeletonText, SkeletonTextContainerRoot } from './styles';\n\nexport default defineComponent({\n name: 'OrSkeletonText',\n\n props: {\n animated: {\n type: Boolean,\n required: false,\n default: true,\n },\n\n linesCount: {\n type: Number,\n required: false,\n default: 1,\n },\n\n width: {\n type: [Number, String],\n required: false,\n default: '100%',\n },\n\n fontSize: {\n type: Number,\n required: false,\n default: 16,\n },\n\n lineHeight: {\n type: Number,\n required: false,\n default: 24,\n },\n },\n\n expose: [\n 'root',\n ],\n\n setup(props) {\n // Refs\n const root = ref<HTMLElement>();\n\n // Styles\n const containerStyles = computed(() => [\n 'or-skeleton-text-root',\n ...SkeletonTextContainerRoot,\n ]);\n\n const containerStyle = computed(() => {\n const width = props.width ?? '100%';\n\n return {\n 'width': typeof width === 'number' ? pxToRem(width) : width,\n };\n });\n\n const rowStyles = computed(() => [\n 'or-skeleton-v3',\n 'or-skeleton-text',\n ...SkeletonRoot,\n ...SkeletonText,\n ...(props.animated ? SkeletonAnimated : []),\n ]);\n\n const rowStyle = computed(() => {\n const height = props.fontSize ?? 16;\n const margin = ((props.lineHeight ?? 24) - height) / 2;\n\n return {\n 'height': typeof height === 'number' ? pxToRem(height) : height,\n 'margin': `${typeof margin === 'number' ? pxToRem(margin) : margin} 0`,\n };\n });\n\n // State\n const lineKeys = computed(() => [...Array(props.linesCount).keys()]);\n\n return {\n root,\n containerStyles,\n containerStyle,\n rowStyles,\n rowStyle,\n lineKeys,\n };\n },\n});\n</script>\n"],"names":["SkeletonRoot","SkeletonCircle","SkeletonAnimated","_sfc_main$2","defineComponent","props","root","ref","rootStyles","computed","rootStyle","size","sizeStyle","pxToRem","SkeletonRect","_sfc_main$1","width","height","SkeletonTextContainerRoot","SkeletonText","_sfc_main","containerStyles","containerStyle","rowStyles","rowStyle","margin","lineKeys","_sfc_render","_ctx","_cache","$props","$setup","$data","$options","_openBlock","_createElementBlock","_normalizeClass","_Fragment","_renderList","key"],"mappings":";;;AAAO,MAAMA,IAAyB;AAAA;AAAA,EAEpC;AAAA;AAAA,EAGA;AAAA;AAAA,EAGA;AAAA;AAAA,EAGA;AAAA;AAAA,EAGA;AAAA,EACA;AAAA;AAAA,EAGA;AACF,GAEaC,IAA2B;AAAA;AAAA,EAEtC;AACF,GAEaC,IAA6B;AAAA;AAAA,EAExC;AAA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