@milaboratories/uikit 2.2.26 → 2.2.28

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.
Files changed (47) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/pl-uikit.js +7 -8
  3. package/dist/pl-uikit.umd.cjs +3 -3
  4. package/dist/src/components/DataTable/index.d.ts +1 -1
  5. package/dist/src/components/DataTable/types.d.ts +1 -1
  6. package/dist/style.css +1 -1
  7. package/dist/tsconfig.lib.tsbuildinfo +1 -1
  8. package/eslint.config.mjs +4 -0
  9. package/package.json +6 -5
  10. package/src/assets/base-btn.scss +5 -2
  11. package/src/components/DataTable/BaseCellComponent.vue +1 -1
  12. package/src/components/DataTable/index.ts +1 -1
  13. package/src/components/DataTable/types.ts +2 -2
  14. package/src/components/GridTable/types.ts +5 -5
  15. package/src/components/InputRange.vue +1 -1
  16. package/src/components/PlAccordion/ExpandTransition.vue +1 -1
  17. package/src/components/PlBtnSplit/__tests__/PlBtnSplit.spec.ts +1 -1
  18. package/src/components/PlCheckbox/__tests__/PlCheckbox.spec.ts +1 -1
  19. package/src/components/PlDropdown/PlDropdown.vue +1 -0
  20. package/src/components/PlDropdown/__tests__/PlDropdown.spec.ts +2 -2
  21. package/src/components/PlDropdownLegacy/PlDropdownLegacy.vue +1 -0
  22. package/src/components/PlDropdownLegacy/__tests__/PlDropdownLegacy.spec.ts +2 -2
  23. package/src/components/PlDropdownMulti/PlDropdownMulti.vue +10 -9
  24. package/src/components/PlDropdownMulti/__tests__/PlDropdownMulti.spec.ts +2 -2
  25. package/src/components/PlDropdownRef/PlDropdownRef.vue +1 -2
  26. package/src/components/PlDropdownRef/__tests__/PlDropdownRef.spec.ts +2 -2
  27. package/src/components/PlFileDialog/Shortcuts.vue +1 -1
  28. package/src/components/PlLogView/PlLogView.vue +1 -1
  29. package/src/components/PlLogView/useLogHandle.ts +0 -1
  30. package/src/components/PlNotificationAlert/PlNotificationAlert.vue +1 -1
  31. package/src/components/PlNumberField/PlNumberField.vue +2 -1
  32. package/src/components/PlProgressBar/PlProgressBar.vue +1 -1
  33. package/src/components/PlSpacer/PlSpacer.vue +1 -1
  34. package/src/components/PlTextArea/__tests__/PlTextArea.spec.ts +1 -1
  35. package/src/components/PlTextField/__tests__/TextField.spec.ts +3 -3
  36. package/src/components/PlTooltip/PlTooltip.vue +1 -1
  37. package/src/components/Slider.vue +4 -4
  38. package/src/components/SliderRange.vue +3 -3
  39. package/src/components/SliderRangeTriple.vue +3 -3
  40. package/src/composition/useMouseCapture.ts +1 -1
  41. package/src/composition/useTheme.ts +4 -3
  42. package/src/drafts/FileBaseInput.vue +1 -1
  43. package/src/helpers/utils.ts +3 -3
  44. package/src/index.ts +2 -2
  45. package/src/types.ts +14 -14
  46. package/.eslintignore +0 -2
  47. package/.eslintrc.json +0 -60
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @milaboratories/uikit
2
2
 
3
+ ## 2.2.28
4
+
5
+ ### Patch Changes
6
+
7
+ - ec69dca: added support PlAgTextAndButtonCell for axis and fixed styles
8
+
9
+ ## 2.2.27
10
+
11
+ ### Patch Changes
12
+
13
+ - ec3bffe: Create a shareable eslint config as an npm package (and use it)
14
+
3
15
  ## 2.2.26
4
16
 
5
17
  ### Patch Changes
package/dist/pl-uikit.js CHANGED
@@ -158,7 +158,7 @@ function as(n, e, t) {
158
158
  return function(...o) {
159
159
  const r = t && !s;
160
160
  r && n.apply(this, o), s && clearTimeout(s), s = setTimeout(() => {
161
- s = void 0, !r && n.apply(this, o);
161
+ s = void 0, r || n.apply(this, o);
162
162
  }, e);
163
163
  };
164
164
  }
@@ -280,8 +280,7 @@ const no = Symbol(), Qt = () => fn(no), gs = ["value"], ys = { key: 1 }, _s = /*
280
280
  edit: !1
281
281
  }), r = g(() => s.valueType), i = (d) => {
282
282
  var w;
283
- let c = (w = d.target) == null ? void 0 : w.value;
284
- const m = y(r), k = Uo(() => m === "integer" ? parseInt(c, 10) : m === "float" ? Number(c) : c);
283
+ const c = (w = d.target) == null ? void 0 : w.value, m = y(r), k = Uo(() => m === "integer" ? parseInt(c, 10) : m === "float" ? Number(c) : c);
285
284
  t("update:modelValue", k), o.edit = !1;
286
285
  }, l = F(), a = (d) => {
287
286
  !d.metaKey && s.editable && (o.edit = !0, requestAnimationFrame(() => {
@@ -1149,7 +1148,7 @@ function wr(n, e, t = !0) {
1149
1148
  return function(...r) {
1150
1149
  o = () => {
1151
1150
  n.apply(this, r), s = (/* @__PURE__ */ new Date()).getTime() + e, o = null, t && setTimeout(() => {
1152
- o && o();
1151
+ o == null || o();
1153
1152
  }, e);
1154
1153
  }, (/* @__PURE__ */ new Date()).getTime() > s && o();
1155
1154
  };
@@ -1182,13 +1181,13 @@ window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").addEventL
1182
1181
  const Cr = window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light", Fn = F(Cr), an = $r("theme");
1183
1182
  function Vr(n) {
1184
1183
  const e = g(() => an.value ? an.value : Fn.value), t = (o) => {
1185
- Fn.value = o, n && n(o);
1184
+ Fn.value = o, n == null || n(o);
1186
1185
  };
1187
1186
  function s() {
1188
1187
  an.value = e.value === "light" ? "dark" : (e.value === "dark", "light");
1189
1188
  }
1190
1189
  return ie(e, (o) => {
1191
- n && n(y(o));
1190
+ n == null || n(y(o));
1192
1191
  }), he(() => {
1193
1192
  hn.add(t);
1194
1193
  }), Le(() => {
@@ -1864,7 +1863,7 @@ const gl = /* @__PURE__ */ $e(ml, [["render", hl]]), dn = /* @__PURE__ */ new Ma
1864
1863
  };
1865
1864
  const l = wr(() => window.dispatchEvent(new CustomEvent("adjust")), 1e3), a = () => {
1866
1865
  r.open = !0;
1867
- for (let [I, V] of dn.entries())
1866
+ for (const [I, V] of dn.entries())
1868
1867
  I !== s && V();
1869
1868
  }, d = () => {
1870
1869
  r.open = !1, t("tooltip:close");
@@ -8004,7 +8003,7 @@ const _c = {
8004
8003
  }, null, 8, ["modelValue", "extensions", "title", "close-on-outside-click"])
8005
8004
  ], 64));
8006
8005
  }
8007
- }), Cc = { class: "pl-notification-alert__wrapper d-flex" }, Vc = { class: "pl-notification-alert__content flex-grow-1" }, Sc = {
8006
+ }), Cc = { class: "pl-notification-alert__wrapper d-flex text-s" }, Vc = { class: "pl-notification-alert__content flex-grow-1" }, Sc = {
8008
8007
  key: 0,
8009
8008
  class: "pl-notification-alert__close"
8010
8009
  }, Tc = {