@milaboratories/uikit 2.4.3 → 2.4.4
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/.turbo/turbo-build.log +29 -29
- package/.turbo/turbo-type-check.log +1 -1
- package/CHANGELOG.md +6 -0
- package/dist/components/DataTable/TableComponent.vue.js +3 -3
- package/dist/components/PlAccordion/{ExpandTransition.vue2.js → ExpandTransition.vue.js} +1 -1
- package/dist/components/PlAccordion/ExpandTransition.vue.js.map +1 -0
- package/dist/components/PlAccordion/ExpandTransition.vue3.js +1 -1
- package/dist/components/PlAccordion/PlAccordionSection.vue2.js +1 -1
- package/dist/components/PlAutocompleteMulti/PlAutocompleteMulti.vue.d.ts +31 -1
- package/dist/components/PlAutocompleteMulti/PlAutocompleteMulti.vue.js +1 -1
- package/dist/components/PlAutocompleteMulti/PlAutocompleteMulti.vue.js.map +1 -1
- package/dist/components/PlDropdown/PlDropdown.vue.js +1 -1
- package/dist/components/PlDropdownMulti/PlDropdownMulti.vue.js +1 -1
- package/dist/components/PlDropdownMulti/PlDropdownMulti.vue.js.map +1 -1
- package/dist/components/PlSlideModal/PlPureSlideModal.vue.js +3 -3
- package/package.json +4 -4
- package/src/components/PlAutocompleteMulti/PlAutocompleteMulti.vue +31 -2
- package/src/components/PlAutocompleteMulti/pl-autocomplete-multi.scss +0 -51
- package/src/components/PlDropdown/pl-dropdown.scss +0 -40
- package/src/components/PlDropdownMulti/PlDropdownMulti.vue +0 -1
- package/src/components/PlDropdownMulti/pl-dropdown-multi.scss +0 -51
- package/dist/components/PlAccordion/ExpandTransition.vue2.js.map +0 -1
|
@@ -71,57 +71,6 @@
|
|
|
71
71
|
opacity: 0.5;
|
|
72
72
|
font-style: italic;
|
|
73
73
|
}
|
|
74
|
-
|
|
75
|
-
.option {
|
|
76
|
-
position: relative;
|
|
77
|
-
padding: 0 10px;
|
|
78
|
-
height: var(--control-height);
|
|
79
|
-
line-height: 20px;
|
|
80
|
-
cursor: pointer;
|
|
81
|
-
user-select: none;
|
|
82
|
-
display: flex;
|
|
83
|
-
align-items: center;
|
|
84
|
-
gap: 12px;
|
|
85
|
-
|
|
86
|
-
--base-icon: url('../../assets/images/24_checkbox-light-enabled-unchecked.svg');
|
|
87
|
-
--checked-icon: url('../../assets/images/24_checkbox-light-enabled-checked.svg');
|
|
88
|
-
|
|
89
|
-
.pl-dropdown-multi__checkmark {
|
|
90
|
-
cursor: pointer;
|
|
91
|
-
outline: none;
|
|
92
|
-
border-radius: 4px;
|
|
93
|
-
@include icon(var(--base-icon), 24px);
|
|
94
|
-
|
|
95
|
-
[data-theme="dark"] & {
|
|
96
|
-
--base-icon: url('../../assets/images/24_checkbox-dark-enabled-unchecked.svg');
|
|
97
|
-
--checked-icon: url('../../assets/images/24_checkbox-dark-enabled-checked.svg');
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
>span {
|
|
102
|
-
display: block;
|
|
103
|
-
overflow: hidden;
|
|
104
|
-
white-space: nowrap;
|
|
105
|
-
max-width: 100%;
|
|
106
|
-
text-overflow: ellipsis;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
&.selected {
|
|
110
|
-
background-color: var(--color-active-select);
|
|
111
|
-
|
|
112
|
-
.pl-dropdown-multi__checkmark {
|
|
113
|
-
@include icon(var(--checked-icon), 24px);
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
&.active:not(.selected) {
|
|
118
|
-
background-color: var(--option-hover-bg);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
&:hover {
|
|
122
|
-
background-color: var(--option-hover-bg);
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
74
|
}
|
|
126
75
|
|
|
127
76
|
&__field {
|
|
@@ -25,46 +25,6 @@
|
|
|
25
25
|
.group-container {
|
|
26
26
|
padding: 4px 0;
|
|
27
27
|
}
|
|
28
|
-
|
|
29
|
-
.option {
|
|
30
|
-
position: relative;
|
|
31
|
-
padding: 0 30px 0 10px;
|
|
32
|
-
height: var(--control-height);
|
|
33
|
-
line-height: var(--control-height);
|
|
34
|
-
cursor: pointer;
|
|
35
|
-
user-select: none;
|
|
36
|
-
|
|
37
|
-
.checkmark {
|
|
38
|
-
position: absolute;
|
|
39
|
-
display: none;
|
|
40
|
-
right: 10px;
|
|
41
|
-
@include abs-center-y();
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
> span {
|
|
45
|
-
display: block;
|
|
46
|
-
overflow: hidden;
|
|
47
|
-
white-space: nowrap;
|
|
48
|
-
max-width: 100%;
|
|
49
|
-
text-overflow: ellipsis;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
&.selected {
|
|
53
|
-
background-color: var(--color-active-select);
|
|
54
|
-
|
|
55
|
-
.checkmark {
|
|
56
|
-
display: block;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
&.active:not(.selected) {
|
|
61
|
-
background-color: var(--option-hover-bg);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
&:hover {
|
|
65
|
-
background-color: var(--option-hover-bg);
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
28
|
}
|
|
69
29
|
|
|
70
30
|
.pl-dropdown {
|
|
@@ -10,7 +10,6 @@ export default {
|
|
|
10
10
|
<script lang="ts" setup generic="M = unknown">
|
|
11
11
|
import './pl-dropdown-multi.scss';
|
|
12
12
|
import { computed, reactive, ref, unref, useSlots, useTemplateRef, watch, watchPostEffect } from 'vue';
|
|
13
|
-
import { tap } from '../../helpers/functions';
|
|
14
13
|
import { PlTooltip } from '../PlTooltip';
|
|
15
14
|
import { PlChip } from '../PlChip';
|
|
16
15
|
import DoubleContour from '../../utils/DoubleContour.vue';
|
|
@@ -71,57 +71,6 @@
|
|
|
71
71
|
opacity: 0.5;
|
|
72
72
|
font-style: italic;
|
|
73
73
|
}
|
|
74
|
-
|
|
75
|
-
.option {
|
|
76
|
-
position: relative;
|
|
77
|
-
padding: 0 10px;
|
|
78
|
-
height: var(--control-height);
|
|
79
|
-
line-height: 20px;
|
|
80
|
-
cursor: pointer;
|
|
81
|
-
user-select: none;
|
|
82
|
-
display: flex;
|
|
83
|
-
align-items: center;
|
|
84
|
-
gap: 12px;
|
|
85
|
-
|
|
86
|
-
--base-icon: url('../../assets/images/24_checkbox-light-enabled-unchecked.svg');
|
|
87
|
-
--checked-icon: url('../../assets/images/24_checkbox-light-enabled-checked.svg');
|
|
88
|
-
|
|
89
|
-
.pl-dropdown-multi__checkmark {
|
|
90
|
-
cursor: pointer;
|
|
91
|
-
outline: none;
|
|
92
|
-
border-radius: 4px;
|
|
93
|
-
@include icon(var(--base-icon), 24px);
|
|
94
|
-
|
|
95
|
-
[data-theme="dark"] & {
|
|
96
|
-
--base-icon: url('../../assets/images/24_checkbox-dark-enabled-unchecked.svg');
|
|
97
|
-
--checked-icon: url('../../assets/images/24_checkbox-dark-enabled-checked.svg');
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
>span {
|
|
102
|
-
display: block;
|
|
103
|
-
overflow: hidden;
|
|
104
|
-
white-space: nowrap;
|
|
105
|
-
max-width: 100%;
|
|
106
|
-
text-overflow: ellipsis;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
&.selected {
|
|
110
|
-
background-color: var(--color-active-select);
|
|
111
|
-
|
|
112
|
-
.pl-dropdown-multi__checkmark {
|
|
113
|
-
@include icon(var(--checked-icon), 24px);
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
&.active:not(.selected) {
|
|
118
|
-
background-color: var(--option-hover-bg);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
&:hover {
|
|
122
|
-
background-color: var(--option-hover-bg);
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
74
|
}
|
|
126
75
|
|
|
127
76
|
&__field {
|
|
@@ -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":";;;;AACA,UAAMA,IAAU,CAACC,MAAgB;AAC/B,MAAAA,EAAG,UAAU,IAAI,qBAAqB,GACrCA,EAAmB,MAAM,YAAY,sBAAsBA,EAAG,eAAe,IAAI;AAAA,IACpF,GAEMC,IAAU,CAACD,MAAgB;AAC9B,MAAAA,EAAmB,MAAM,eAAe,oBAAoB,GAC7DA,EAAG,UAAU,OAAO,qBAAqB;AAAA,IAC3C;;;;;;;;;;;;;;;"}
|