@milaboratories/uikit 2.2.18 → 2.2.20
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/CHANGELOG.md +12 -0
- package/dist/pl-uikit.js +1 -0
- package/dist/pl-uikit.umd.cjs +5 -5
- package/dist/src/index.d.ts +4 -0
- package/dist/style.css +1 -1
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/assets/mixins.scss +19 -6
- package/src/components/PlDialogModal/PlDialogModal.vue +2 -2
- package/src/components/PlDropdown/pl-dropdown.scss +5 -1
- package/src/components/PlFileInput/pl-file-input.scss +5 -0
- package/src/index.ts +6 -0
- /package/dist/src/utils/{CloseModalBtn.vue.d.ts → PlCloseModalBtn.vue.d.ts} +0 -0
- /package/src/utils/{CloseModalBtn.vue → PlCloseModalBtn.vue} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@milaboratories/uikit",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.20",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/pl-uikit.umd.js",
|
|
6
6
|
"module": "dist/pl-uikit.js",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"yarpm": "^1.2.0",
|
|
34
34
|
"svgo": "^3.3.2",
|
|
35
35
|
"@milaboratories/helpers": "^1.6.8",
|
|
36
|
-
"@platforma-sdk/model": "^1.
|
|
36
|
+
"@platforma-sdk/model": "^1.14.1"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"dev": "vite",
|
package/src/assets/mixins.scss
CHANGED
|
@@ -23,7 +23,9 @@
|
|
|
23
23
|
|
|
24
24
|
@if $h ==null {
|
|
25
25
|
height: $w;
|
|
26
|
-
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
@else {
|
|
27
29
|
height: $h;
|
|
28
30
|
}
|
|
29
31
|
}
|
|
@@ -34,7 +36,9 @@
|
|
|
34
36
|
|
|
35
37
|
@if $h ==null {
|
|
36
38
|
height: $w;
|
|
37
|
-
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@else {
|
|
38
42
|
height: $h;
|
|
39
43
|
}
|
|
40
44
|
}
|
|
@@ -46,7 +50,9 @@
|
|
|
46
50
|
|
|
47
51
|
@if $h ==null {
|
|
48
52
|
height: $w;
|
|
49
|
-
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@else {
|
|
50
56
|
height: $h;
|
|
51
57
|
}
|
|
52
58
|
}
|
|
@@ -64,7 +70,9 @@
|
|
|
64
70
|
|
|
65
71
|
@if $h ==null {
|
|
66
72
|
height: $w;
|
|
67
|
-
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@else {
|
|
68
76
|
height: $h;
|
|
69
77
|
}
|
|
70
78
|
}
|
|
@@ -98,6 +106,7 @@
|
|
|
98
106
|
&::-webkit-scrollbar-thumb {
|
|
99
107
|
background: var(--thumb-color);
|
|
100
108
|
border-radius: 5px;
|
|
109
|
+
|
|
101
110
|
&:hover {
|
|
102
111
|
--thumb-color: var(--border-color-focus);
|
|
103
112
|
}
|
|
@@ -143,7 +152,11 @@
|
|
|
143
152
|
font-size: 12px;
|
|
144
153
|
font-weight: 500;
|
|
145
154
|
|
|
146
|
-
|
|
155
|
+
border-bottom-right-radius: 4px;
|
|
156
|
+
border-bottom-left-radius: 4px;
|
|
157
|
+
background: var(--bg-elevated-01);
|
|
158
|
+
|
|
159
|
+
>span {
|
|
147
160
|
overflow: hidden;
|
|
148
161
|
white-space: pre;
|
|
149
162
|
text-overflow: ellipsis;
|
|
@@ -202,4 +215,4 @@
|
|
|
202
215
|
border: 2px solid transparent;
|
|
203
216
|
border-right: 1px solid transparent;
|
|
204
217
|
}
|
|
205
|
-
}
|
|
218
|
+
}
|
|
@@ -8,7 +8,7 @@ export default {
|
|
|
8
8
|
import { useEventListener } from '@/composition/useEventListener';
|
|
9
9
|
import './pl-dialog-modal.scss';
|
|
10
10
|
import { ref, useAttrs, useSlots } from 'vue';
|
|
11
|
-
import
|
|
11
|
+
import PlCloseModalBtn from '@/utils/PlCloseModalBtn.vue';
|
|
12
12
|
|
|
13
13
|
const slots = useSlots();
|
|
14
14
|
|
|
@@ -96,7 +96,7 @@ useEventListener(document.body, 'keyup', (ev) => {
|
|
|
96
96
|
:class="{ 'has-title': slots.title, 'has-content': slots.default }"
|
|
97
97
|
:style="{ width, height, minHeight, maxHeight }"
|
|
98
98
|
>
|
|
99
|
-
<
|
|
99
|
+
<PlCloseModalBtn v-if="closable" class="close-modal-btn" @click.stop="emit('update:modelValue', false)" />
|
|
100
100
|
<div v-if="slots.title" class="pl-dialog-modal__title">
|
|
101
101
|
<slot name="title" />
|
|
102
102
|
</div>
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
padding: 0 60px 0 11px; // @TODO padding-right based on controls width
|
|
133
133
|
pointer-events: none;
|
|
134
134
|
line-height: var(--control-height);
|
|
135
|
-
color: var(--
|
|
135
|
+
color: var(--txt-01);
|
|
136
136
|
overflow: hidden;
|
|
137
137
|
white-space: pre;
|
|
138
138
|
text-overflow: ellipsis;
|
|
@@ -254,5 +254,9 @@
|
|
|
254
254
|
cursor: not-allowed;
|
|
255
255
|
pointer-events: none;
|
|
256
256
|
user-select: none;
|
|
257
|
+
|
|
258
|
+
.input-value {
|
|
259
|
+
color: var(--dis-01);
|
|
260
|
+
}
|
|
257
261
|
}
|
|
258
262
|
}
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
--label-offset-right-x: 8px;
|
|
13
13
|
--prefix-color: var(--color-placeholder);
|
|
14
14
|
--icon-color: #000;
|
|
15
|
+
--contour-offset: 2px;
|
|
15
16
|
|
|
16
17
|
width: 100%;
|
|
17
18
|
height: var(--control-height, 40px);
|
|
@@ -70,6 +71,10 @@
|
|
|
70
71
|
&:empty::before {
|
|
71
72
|
color: var(--color-placeholder);
|
|
72
73
|
content: attr(data-placeholder);
|
|
74
|
+
color: var(--txt-03);
|
|
75
|
+
font-size: 14px;
|
|
76
|
+
font-weight: 500;
|
|
77
|
+
line-height: 20px;
|
|
73
78
|
}
|
|
74
79
|
}
|
|
75
80
|
|
package/src/index.ts
CHANGED
|
@@ -85,6 +85,12 @@ export { useFormState } from './composition/useFormState';
|
|
|
85
85
|
export { useQuery } from './composition/useQuery.ts';
|
|
86
86
|
export { useDraggable } from './composition/useDraggable';
|
|
87
87
|
|
|
88
|
+
/**
|
|
89
|
+
* Utils/Partials
|
|
90
|
+
*/
|
|
91
|
+
|
|
92
|
+
export { default as PlCloseModalBtn } from './utils/PlCloseModalBtn.vue';
|
|
93
|
+
|
|
88
94
|
/**
|
|
89
95
|
* Technical
|
|
90
96
|
* @TODO move it from here maybe
|
|
File without changes
|
|
File without changes
|