@onereach/ui-components-vue2 21.6.0 → 21.6.2
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/{OrSkeletonText-3a67a7dd.js → OrSkeletonText-5fe135b8.js} +1 -2
- package/dist/esm/components/index.js +1 -3
- package/dist/esm/components/or-autocomplete-v3/index.js +1 -1
- package/dist/esm/components/or-data-grid-v3/index.js +1 -2
- package/dist/esm/components/or-progress-v3/index.js +1 -2
- package/dist/esm/components/or-skeleton-v3/index.js +2 -3
- package/dist/esm/index.js +1 -3
- package/package.json +4 -6
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import range from 'lodash/range';
|
|
2
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
3
2
|
import { al as Mt } from './utils-72d9c2bb.js';
|
|
4
3
|
import { n as normalizeComponent } from './normalize-component-cf2db48b.js';
|
|
@@ -89,7 +88,7 @@ var script = defineComponent({
|
|
|
89
88
|
};
|
|
90
89
|
});
|
|
91
90
|
// State
|
|
92
|
-
const lineKeys = computed(() =>
|
|
91
|
+
const lineKeys = computed(() => [...Array(props.linesCount).keys()]);
|
|
93
92
|
return {
|
|
94
93
|
root,
|
|
95
94
|
containerStyles,
|
|
@@ -77,7 +77,7 @@ export { OrSegmentedControlV3, SegmentedControlSize } from './or-segmented-contr
|
|
|
77
77
|
export { OrSelectV3 } from './or-select-v3/index.js';
|
|
78
78
|
export { OrSidebarV3, SidebarPlacement } from './or-sidebar-v3/index.js';
|
|
79
79
|
export { OrSkeletonCircleV3, OrSkeletonRectV3 } from './or-skeleton-v3/index.js';
|
|
80
|
-
export { O as OrSkeletonTextV3 } from '../OrSkeletonText-
|
|
80
|
+
export { O as OrSkeletonTextV3 } from '../OrSkeletonText-5fe135b8.js';
|
|
81
81
|
export { OrSliderV3 } from './or-slider-v3/index.js';
|
|
82
82
|
export { S as SliderColor, a as SliderOrientation } from '../types-75a1cc13.js';
|
|
83
83
|
export { OrSortingV3 } from './or-sorting-v3/index.js';
|
|
@@ -115,7 +115,6 @@ import '../style-inject.es-87955792.js';
|
|
|
115
115
|
import 'sortablejs';
|
|
116
116
|
import 'uuid';
|
|
117
117
|
import '@floating-ui/dom';
|
|
118
|
-
import 'lodash/round';
|
|
119
118
|
import '@tiptap/core';
|
|
120
119
|
import '@tiptap/extension-blockquote';
|
|
121
120
|
import '@tiptap/extension-bullet-list';
|
|
@@ -142,5 +141,4 @@ import '@tiptap/extension-hard-break';
|
|
|
142
141
|
import '@tiptap/extension-horizontal-rule';
|
|
143
142
|
import '@tiptap/extension-bold';
|
|
144
143
|
import '@tiptap/extension-code-block';
|
|
145
|
-
import 'lodash/range';
|
|
146
144
|
import 'portal-vue';
|
|
@@ -22,12 +22,12 @@ import '@onereach/styles/tailwind.config.json';
|
|
|
22
22
|
import '../../constants-2e3ea701.js';
|
|
23
23
|
import '../or-icon-v3/index.js';
|
|
24
24
|
import '../or-tooltip-v3/index.js';
|
|
25
|
-
import '../../style-inject.es-87955792.js';
|
|
26
25
|
import '@floating-ui/dom';
|
|
27
26
|
import '../or-bottom-sheet-v3/index.js';
|
|
28
27
|
import '../or-overlay-v3/index.js';
|
|
29
28
|
import '../or-teleport-v3/index.js';
|
|
30
29
|
import 'portal-vue';
|
|
30
|
+
import '../../style-inject.es-87955792.js';
|
|
31
31
|
import '../or-tag-v3/index.js';
|
|
32
32
|
import '../or-button-v3/index.js';
|
|
33
33
|
import '../../props-bba3dca8.js';
|
|
@@ -14,7 +14,7 @@ import { OrIconV3 as OrIcon } from '../or-icon-v3/index.js';
|
|
|
14
14
|
import { OrNotificationV3 as OrNotification } from '../or-notification-v3/index.js';
|
|
15
15
|
import { OrPaginationV3 as OrPagination } from '../or-pagination-v3/index.js';
|
|
16
16
|
import { OrSearchV3 as OrSearch } from '../or-search-v3/index.js';
|
|
17
|
-
import { O as OrSkeletonText } from '../../OrSkeletonText-
|
|
17
|
+
import { O as OrSkeletonText } from '../../OrSkeletonText-5fe135b8.js';
|
|
18
18
|
import '../../useValidationAttributes-C9_kxaDj-ee1d63dd.js';
|
|
19
19
|
import '../../dom-qGGG2YCX-4d4cca6e.js';
|
|
20
20
|
import '@onereach/styles/screens.json';
|
|
@@ -51,7 +51,6 @@ import '../or-tags-v3/index.js';
|
|
|
51
51
|
import '../or-tag-v3/index.js';
|
|
52
52
|
import '../or-expansion-panel-v3/index.js';
|
|
53
53
|
import '../or-indicator-v3/index.js';
|
|
54
|
-
import 'lodash/range';
|
|
55
54
|
|
|
56
55
|
const DataGridFooter = [
|
|
57
56
|
// Layout
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { useElementBounding } from '@vueuse/core';
|
|
2
|
-
import round from 'lodash/round';
|
|
3
2
|
import { defineComponent, ref, useSlots, computed } from 'vue-demi';
|
|
4
3
|
import { t as te } from '../../useValidationAttributes-C9_kxaDj-ee1d63dd.js';
|
|
5
4
|
import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
|
|
@@ -143,7 +142,7 @@ var script = defineComponent({
|
|
|
143
142
|
var _a, _b, _c;
|
|
144
143
|
return (_a = props.value) !== null && _a !== void 0 ? _a : ((_b = props.progress) !== null && _b !== void 0 ? _b : 0) * ((_c = props.maxValue) !== null && _c !== void 0 ? _c : 1);
|
|
145
144
|
});
|
|
146
|
-
const percent = computed(() =>
|
|
145
|
+
const percent = computed(() => Number((localProgress.value * 100).toFixed(props.precision)) + '%');
|
|
147
146
|
const isLinearType = computed(() => props.type === ProgressType.Linear);
|
|
148
147
|
const isCircleType = computed(() => props.type === ProgressType.Circle);
|
|
149
148
|
const isShowingHeader = computed(() => !!headerSlot || !!labelSlot || !!percentSlot);
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
2
|
import { al as Mt } from '../../utils-72d9c2bb.js';
|
|
3
|
-
import { S as SkeletonRoot, a as SkeletonCircle, b as SkeletonAnimated, c as SkeletonRect } from '../../OrSkeletonText-
|
|
4
|
-
export { O as OrSkeletonTextV3 } from '../../OrSkeletonText-
|
|
3
|
+
import { S as SkeletonRoot, a as SkeletonCircle, b as SkeletonAnimated, c as SkeletonRect } from '../../OrSkeletonText-5fe135b8.js';
|
|
4
|
+
export { O as OrSkeletonTextV3 } from '../../OrSkeletonText-5fe135b8.js';
|
|
5
5
|
import { n as normalizeComponent } from '../../normalize-component-cf2db48b.js';
|
|
6
6
|
import '../../dom-qGGG2YCX-4d4cca6e.js';
|
|
7
|
-
import 'lodash/range';
|
|
8
7
|
|
|
9
8
|
var script$1 = defineComponent({
|
|
10
9
|
name: 'OrSkeletonCircle',
|
package/dist/esm/index.js
CHANGED
|
@@ -83,7 +83,7 @@ export { OrSegmentedControlV3, SegmentedControlSize } from './components/or-segm
|
|
|
83
83
|
export { OrSelectV3 } from './components/or-select-v3/index.js';
|
|
84
84
|
export { OrSidebarV3, SidebarPlacement } from './components/or-sidebar-v3/index.js';
|
|
85
85
|
export { OrSkeletonCircleV3, OrSkeletonRectV3 } from './components/or-skeleton-v3/index.js';
|
|
86
|
-
export { O as OrSkeletonTextV3 } from './OrSkeletonText-
|
|
86
|
+
export { O as OrSkeletonTextV3 } from './OrSkeletonText-5fe135b8.js';
|
|
87
87
|
export { OrSliderV3 } from './components/or-slider-v3/index.js';
|
|
88
88
|
export { S as SliderColor, a as SliderOrientation } from './types-75a1cc13.js';
|
|
89
89
|
export { OrSortingV3 } from './components/or-sorting-v3/index.js';
|
|
@@ -115,7 +115,6 @@ import '@vueuse/math';
|
|
|
115
115
|
import 'sortablejs';
|
|
116
116
|
import 'uuid';
|
|
117
117
|
import '@floating-ui/dom';
|
|
118
|
-
import 'lodash/round';
|
|
119
118
|
import '@tiptap/core';
|
|
120
119
|
import '@tiptap/extension-blockquote';
|
|
121
120
|
import '@tiptap/extension-bullet-list';
|
|
@@ -142,7 +141,6 @@ import '@tiptap/extension-hard-break';
|
|
|
142
141
|
import '@tiptap/extension-horizontal-rule';
|
|
143
142
|
import '@tiptap/extension-bold';
|
|
144
143
|
import '@tiptap/extension-code-block';
|
|
145
|
-
import 'lodash/range';
|
|
146
144
|
import 'portal-vue';
|
|
147
145
|
|
|
148
146
|
var m = /* @__PURE__ */ ((r) => (r.XS = "xs", r.SM = "sm", r.MD = "md", r.LG = "lg", r.XL = "xl", r))(m || {});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/ui-components-vue2",
|
|
3
|
-
"version": "21.6.
|
|
3
|
+
"version": "21.6.2",
|
|
4
4
|
"description": "Vue components library for v2",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"@codemirror/view": "^6",
|
|
41
41
|
"@floating-ui/dom": "1.5.3",
|
|
42
42
|
"@lezer/highlight": "*",
|
|
43
|
-
"@onereach/styles": "^21.6.
|
|
44
|
-
"@onereach/ui-components-common": "^21.6.
|
|
43
|
+
"@onereach/styles": "^21.6.2",
|
|
44
|
+
"@onereach/ui-components-common": "^21.6.2",
|
|
45
45
|
"@splidejs/splide": "4.0.6",
|
|
46
46
|
"@tiptap/core": "2.0.3",
|
|
47
47
|
"@tiptap/extension-blockquote": "2.0.3",
|
|
@@ -61,7 +61,6 @@
|
|
|
61
61
|
"@tiptap/extension-strike": "2.0.3",
|
|
62
62
|
"@tiptap/extension-underline": "2.0.3",
|
|
63
63
|
"@tiptap/starter-kit": "2.0.3",
|
|
64
|
-
"@types/lodash": "4.14.173",
|
|
65
64
|
"@types/sortablejs": "1.10.7",
|
|
66
65
|
"@types/uuid": "8.3.1",
|
|
67
66
|
"@vueuse/core": "9.13.0",
|
|
@@ -96,7 +95,6 @@
|
|
|
96
95
|
"peerDependencies": {
|
|
97
96
|
"@vue/composition-api": ">=1",
|
|
98
97
|
"@vueuse/core": "^9",
|
|
99
|
-
"lodash": ">=4.17.21",
|
|
100
98
|
"portal-vue": ">=2.1.7 <3.0.0",
|
|
101
99
|
"vue": "2.6.14",
|
|
102
100
|
"vue-demi": ">=0.13.11"
|
|
@@ -105,5 +103,5 @@
|
|
|
105
103
|
"access": "public"
|
|
106
104
|
},
|
|
107
105
|
"npmUnpacked": "4.15.2",
|
|
108
|
-
"gitHead": "
|
|
106
|
+
"gitHead": "a5d6cc360eb513f3e16f8e94f3e8cc173d605d67"
|
|
109
107
|
}
|