@milaboratories/uikit 2.2.59 → 2.2.60

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.2.59",
3
+ "version": "2.2.60",
4
4
  "type": "module",
5
5
  "main": "dist/pl-uikit.umd.js",
6
6
  "module": "dist/pl-uikit.js",
@@ -27,7 +27,7 @@
27
27
  "jsdom": "^25.0.1",
28
28
  "resize-observer-polyfill": "^1.5.1",
29
29
  "@vitejs/plugin-vue": "^5.2.1",
30
- "tsc-alias": "^1.8.10",
30
+ "tsc-alias": "^1.8.11",
31
31
  "vitest": "^2.1.8",
32
32
  "vite": "^5.4.11",
33
33
  "vue-tsc": "^2.1.10",
@@ -36,7 +36,7 @@
36
36
  "@types/d3": "^7.4.3",
37
37
  "@milaboratories/eslint-config": "^1.0.1",
38
38
  "@milaboratories/helpers": "^1.6.11",
39
- "@platforma-sdk/model": "^1.22.59"
39
+ "@platforma-sdk/model": "^1.24.0"
40
40
  },
41
41
  "scripts": {
42
42
  "dev": "vite",
@@ -106,7 +106,7 @@ const slots = useSlots();
106
106
  const rootRef = ref<HTMLElement | undefined>();
107
107
  const input = ref<HTMLInputElement | undefined>();
108
108
 
109
- const overlay = useTemplateRef('overlay');
109
+ const overlayRef = useTemplateRef('overlay');
110
110
 
111
111
  const data = reactive({
112
112
  search: '',
@@ -230,7 +230,7 @@ const onInputFocus = () => (data.open = true);
230
230
  const onFocusOut = (event: FocusEvent) => {
231
231
  const relatedTarget = event.relatedTarget as Node | null;
232
232
 
233
- if (!rootRef.value?.contains(relatedTarget) && !overlay.value?.listRef?.contains(relatedTarget)) {
233
+ if (!rootRef.value?.contains(relatedTarget) && !overlayRef.value?.listRef?.contains(relatedTarget)) {
234
234
  data.search = '';
235
235
  data.open = false;
236
236
  }
@@ -292,7 +292,7 @@ watchPostEffect(() => {
292
292
  data.search; // to watch
293
293
 
294
294
  if (data.activeIndex >= 0 && data.open) {
295
- overlay.value?.scrollIntoActive();
295
+ overlayRef.value?.scrollIntoActive();
296
296
  }
297
297
  });
298
298
  </script>