@milaboratories/uikit 2.2.30 → 2.2.31

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.30",
3
+ "version": "2.2.31",
4
4
  "type": "module",
5
5
  "main": "dist/pl-uikit.umd.js",
6
6
  "module": "dist/pl-uikit.js",
@@ -33,8 +33,8 @@
33
33
  "yarpm": "^1.2.0",
34
34
  "svgo": "^3.3.2",
35
35
  "@milaboratories/eslint-config": "^1.0.0",
36
- "@platforma-sdk/model": "^1.18.0",
37
- "@milaboratories/helpers": "^1.6.9"
36
+ "@milaboratories/helpers": "^1.6.9",
37
+ "@platforma-sdk/model": "^1.18.0"
38
38
  },
39
39
  "scripts": {
40
40
  "dev": "vite",
@@ -68,11 +68,7 @@ const modelText = computed<string>(() => {
68
68
  const index = getIndexForModelInItems();
69
69
  if (index !== -1) {
70
70
  const item = normalizeListOptions(props.options)[index];
71
- if (typeof item['label'] === 'object') {
72
- return item['label']['title'];
73
- } else {
74
- return item['label'];
75
- }
71
+ return item.label;
76
72
  }
77
73
  }
78
74
  return '';
@@ -91,7 +87,7 @@ const placeholderVal = computed(() => {
91
87
  }
92
88
  }
93
89
 
94
- return modelText.value ?? '...';
90
+ return modelText.value || '...';
95
91
  });
96
92
 
97
93
  useClickOutside(container, () => {
@@ -31,11 +31,11 @@
31
31
  background: none;
32
32
  color: inherit;
33
33
  top: 0;
34
- left: 6px;
34
+ left: 0;
35
+ right: 0;
35
36
  font-size: inherit;
36
37
  line-height: inherit;
37
38
  position: absolute;
38
39
  box-sizing: border-box;
39
- width: 100%;
40
40
  }
41
41
  }