@milaboratories/uikit 2.4.0 → 2.4.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@milaboratories/uikit",
3
- "version": "2.4.0",
3
+ "version": "2.4.1",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
@@ -30,8 +30,8 @@
30
30
  "d3-selection": "^3.0.0",
31
31
  "d3-axis": "^3.0.0",
32
32
  "resize-observer-polyfill": "^1.5.1",
33
- "@milaboratories/helpers": "^1.6.19",
34
- "@platforma-sdk/model": "^1.42.10"
33
+ "@platforma-sdk/model": "^1.42.15",
34
+ "@milaboratories/helpers": "^1.6.19"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@vitejs/plugin-vue": "^5.2.3",
@@ -41,8 +41,8 @@
41
41
  "vue-tsc": "^2.2.10",
42
42
  "yarpm": "^1.2.0",
43
43
  "svgo": "^3.3.2",
44
- "@milaboratories/ts-configs": "1.0.5",
45
44
  "@milaboratories/eslint-config": "^1.0.4",
45
+ "@milaboratories/ts-configs": "1.0.5",
46
46
  "@milaboratories/build-configs": "1.0.5"
47
47
  },
48
48
  "scripts": {
@@ -1,133 +0,0 @@
1
-  WARN  Issue while reading "/home/runner/_work/platforma/platforma/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
2
-
3
- > @milaboratories/uikit@2.4.0 test /home/runner/_work/platforma/platforma/lib/ui/uikit
4
- > vitest run
5
-
6
-
7
-  RUN  v2.1.9 /home/runner/_work/platforma/platforma/lib/ui/uikit
8
-
9
- stdout | src/components/PlChartHistogram/scales.spec.ts > Scales > logspace
10
- res [
11
- 1,
12
- 2.7825594022071245,
13
- 7.742636826811269,
14
- 21.544346900318835,
15
- 59.94842503189409,
16
- 166.8100537200059,
17
- 464.15888336127773,
18
- 1291.5496650148827,
19
- 3593.813663804626,
20
- 10000
21
- ]
22
-
23
- ✓ src/components/PlChartHistogram/scales.spec.ts (1 test) 6ms
24
- TAP version 13
25
- # Subtest: Test useValidation
26
- ok 1 - Test useValidation
27
- ---
28
- duration_ms: 2.370136
29
- type: 'suite'
30
- ...
31
- ✓ src/__tests__/compositions/useValidation.spec.ts (5 tests) 6ms
32
- DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
33
-
34
- More info: https://sass-lang.com/d/legacy-js-api
35
-
36
- DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
37
-
38
- More info: https://sass-lang.com/d/legacy-js-api
39
-
40
- DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
41
-
42
- More info: https://sass-lang.com/d/legacy-js-api
43
-
44
- DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
45
-
46
- More info: https://sass-lang.com/d/legacy-js-api
47
-
48
- DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
49
-
50
- More info: https://sass-lang.com/d/legacy-js-api
51
-
52
- DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
53
-
54
- More info: https://sass-lang.com/d/legacy-js-api
55
-
56
- DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
57
-
58
- More info: https://sass-lang.com/d/legacy-js-api
59
-
60
- TAP version 13
61
- # Subtest: Colors
62
- ok 1 - Colors
63
- ---
64
- duration_ms: 2.024173
65
- type: 'suite'
66
- ...
67
- DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
68
-
69
- More info: https://sass-lang.com/d/legacy-js-api
70
-
71
- DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
72
-
73
- More info: https://sass-lang.com/d/legacy-js-api
74
-
75
- ✓ src/colors/__tests__/colors.spec.ts (2 tests) 8ms
76
- DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
77
-
78
- More info: https://sass-lang.com/d/legacy-js-api
79
-
80
- DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
81
-
82
- More info: https://sass-lang.com/d/legacy-js-api
83
-
84
- DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
85
-
86
- More info: https://sass-lang.com/d/legacy-js-api
87
-
88
- ✓ src/components/PlRadio/__tests__/PlRadioGroup.spec.ts (7 tests | 1 skipped) 54ms
89
- ✓ src/components/PlCheckbox/__tests__/PlCheckbox.spec.ts (1 test) 44ms
90
- ↓ src/__tests__/use-debounce-fn.test.ts (1 test | 1 skipped)
91
- DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
92
-
93
- More info: https://sass-lang.com/d/legacy-js-api
94
-
95
- ✓ src/components/PlFileDialog/utils.test.ts (5 tests) 5ms
96
- DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
97
-
98
- More info: https://sass-lang.com/d/legacy-js-api
99
-
100
- ✓ src/components/PlBtnPrimary/__tests__/BtnPrimary.spec.ts (1 test) 20ms
101
- stdout | src/components/PlBtnSplit/__tests__/PlBtnSplit.spec.ts > PlBtnSplit.vue > Toggles dropdown on menu activator click
102
- DOMWrapper {
103
- isDisabled: [Function (anonymous)],
104
- wrapperElement: HTMLDivElement { [Symbol(_vei)]: { onClick: [Function] } }
105
- }
106
-
107
- ✓ src/components/PlNumberField/__tests__/PlNumberField.spec.ts (10 tests) 132ms
108
- ✓ src/components/PlBtnSplit/__tests__/PlBtnSplit.spec.ts (9 tests) 106ms
109
- DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
110
-
111
- More info: https://sass-lang.com/d/legacy-js-api
112
-
113
- ✓ src/components/PlTextArea/__tests__/PlTextArea.spec.ts (2 tests) 98ms
114
- ✓ src/components/PlDropdownLegacy/__tests__/PlDropdownLegacy.spec.ts (1 test) 86ms
115
- ✓ src/components/PlTextField/__tests__/TextField.spec.ts (3 tests) 89ms
116
- stdout | src/components/PlDropdownMulti/__tests__/PlDropdownMulti.spec.ts > PlDropdownMulti > modelValue
117
- options [
118
- HTMLDivElement { [Symbol(_vei)]: { onClick: [Function] } },
119
- HTMLDivElement { [Symbol(_vei)]: { onClick: [Function] } }
120
- ]
121
-
122
- ✓ src/components/PlDropdownMulti/__tests__/PlDropdownMulti.spec.ts (1 test) 109ms
123
- ✓ src/components/PlDropdownMultiRef/__tests__/PlDropdownMultiRef.spec.ts (1 test) 160ms
124
- ✓ src/components/PlDropdown/__tests__/PlDropdown.spec.ts (1 test) 106ms
125
- ✓ src/components/PlDropdownRef/__tests__/PlDropdownRef.spec.ts (1 test) 113ms
126
- ✓ src/components/PlAutocomplete/__tests__/PlAutocomplete.spec.ts (1 test) 728ms
127
- ✓ PlAutocomplete > modelValue 726ms
128
-
129
-  Test Files  17 passed | 1 skipped (18)
130
-  Tests  51 passed | 2 skipped (53)
131
-  Start at  10:52:58
132
-  Duration  4.83s (transform 7.98s, setup 1.05s, collect 20.47s, tests 1.87s, environment 25.23s, prepare 9.86s)
133
-
@@ -1,27 +0,0 @@
1
- import { defineComponent as n, createBlock as r, openBlock as a, Transition as s, withCtx as p, renderSlot as c } from "vue";
2
- const f = /* @__PURE__ */ n({
3
- __name: "ExpandTransition",
4
- setup(l) {
5
- const t = (e) => {
6
- e.classList.add("expand-collapse-fix"), e.style.setProperty("--component-height", e.scrollHeight + "px");
7
- }, o = (e) => {
8
- e.style.removeProperty("--component-height"), e.classList.remove("expand-collapse-fix");
9
- };
10
- return (e, i) => (a(), r(s, {
11
- name: "expand-collapse",
12
- onEnter: t,
13
- onLeave: t,
14
- onAfterEnter: o,
15
- onAfterLeave: o
16
- }, {
17
- default: p(() => [
18
- c(e.$slots, "default")
19
- ]),
20
- _: 3
21
- }));
22
- }
23
- });
24
- export {
25
- f as default
26
- };
27
- //# sourceMappingURL=ExpandTransition.vue2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ExpandTransition.vue2.js","sources":["../../../src/components/PlAccordion/ExpandTransition.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nconst onStart = (el: Element) => {\n el.classList.add('expand-collapse-fix');\n (el as HTMLElement).style.setProperty('--component-height', el.scrollHeight + 'px');\n};\n\nconst onAfter = (el: Element) => {\n (el as HTMLElement).style.removeProperty('--component-height');\n el.classList.remove('expand-collapse-fix');\n};\n</script>\n\n<template>\n <Transition name=\"expand-collapse\" @enter=\"onStart\" @leave=\"onStart\" @after-enter=\"onAfter\" @after-leave=\"onAfter\">\n <slot/>\n </Transition>\n</template>\n\n<style>\n.expand-collapse-fix {\n overflow: hidden;\n}\n\n.expand-collapse-enter-active,\n.expand-collapse-leave-active {\n transition:\n height 0.2s ease-in-out,\n opacity 0.2s ease-in-out;\n height: var(--component-height);\n}\n\n.expand-collapse-enter-from,\n.expand-collapse-leave-to {\n opacity: 0.5;\n height: 0;\n}\n</style>\n"],"names":["onStart","el","onAfter"],"mappings":";;;;AACM,UAAAA,IAAU,CAACC,MAAgB;AAC5B,MAAAA,EAAA,UAAU,IAAI,qBAAqB,GACrCA,EAAmB,MAAM,YAAY,sBAAsBA,EAAG,eAAe,IAAI;AAAA,IACpF,GAEMC,IAAU,CAACD,MAAgB;AAC9B,MAAAA,EAAmB,MAAM,eAAe,oBAAoB,GAC1DA,EAAA,UAAU,OAAO,qBAAqB;AAAA,IAC3C;;;;;;;;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"SvgRequired.vue2.js","sources":["../../../../../src/generated/components/svg/images/SvgRequired.vue"],"sourcesContent":["<!-- ⚠️ AUTOGENERATED. DO NOT EDIT. -->\n<script lang=\"ts\">\nimport '../svg-styles.css';\nexport default { name: 'SvgRequired' };\n</script>\n\n<template>\n <div class=\"svg-icon SvgRequired\" style=\"width: 5px; height: 12px\" />\n</template>\n\n<style>\n .SvgRequired { background-image: url(\"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%225%22%20height%3D%2212%22%20viewBox%3D%220%200%205%2012%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M1.51685%204.8L2.5%203.34159L3.47612%204.8L4.39607%204.12743L3.31461%202.7469L5%202.25133L4.64888%201.16106L3.00562%201.77699L3.06882%200H1.93118L1.99438%201.77699L0.351124%201.16106L0%202.25133L1.68539%202.7469L0.59691%204.12743L1.51685%204.8Z%22%20fill%3D%22%23F1222F%22%2F%3E%3C%2Fsvg%3E\"); }\n</style>\n"],"names":["_hoisted_1"],"mappings":";;;;AAOoC,MAAAA,IAAA;AAAA,EAAA,OAAA;AAAA;;;;;;"}