@onereach/ui-components-vue2 21.6.1 → 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.
@@ -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';
@@ -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';
@@ -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(() => round(localProgress.value * 100, props.precision) + '%');
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);
package/dist/esm/index.js CHANGED
@@ -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';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/ui-components-vue2",
3
- "version": "21.6.1",
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.1",
44
- "@onereach/ui-components-common": "^21.6.1",
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": "67ab682de238fb347920de1aeff226788831d0de"
106
+ "gitHead": "a5d6cc360eb513f3e16f8e94f3e8cc173d605d67"
109
107
  }