@xleddyl/443-components-vue 0.16.24 → 0.16.26
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/dist/components/forms/Combobox.vue +0 -5
- package/dist/components/forms/TreeSelect.vue +0 -1
- package/dist/components/forms/TreeSelect.vue.d.ts +2 -2
- package/dist/internal/overlays/MenuList.vue +3 -10
- package/dist/styles/forced-colors.css +1 -2
- package/dist/styles/forms/combobox.css +1 -6
- package/dist/styles/overlays/menu.css +5 -7
- package/package.json +1 -1
|
@@ -5,13 +5,13 @@ declare var __VLS_32: {
|
|
|
5
5
|
node: TreeNode;
|
|
6
6
|
selected: boolean;
|
|
7
7
|
path: TreeNode[];
|
|
8
|
-
},
|
|
8
|
+
}, __VLS_39: {
|
|
9
9
|
query: string;
|
|
10
10
|
};
|
|
11
11
|
type __VLS_Slots = {} & {
|
|
12
12
|
node?: (props: typeof __VLS_32) => any;
|
|
13
13
|
} & {
|
|
14
|
-
empty?: (props: typeof
|
|
14
|
+
empty?: (props: typeof __VLS_39) => any;
|
|
15
15
|
};
|
|
16
16
|
declare const __VLS_base: import("vue").DefineComponent<{
|
|
17
17
|
nodes?: TreeNode[];
|
|
@@ -81,13 +81,11 @@
|
|
|
81
81
|
@click="activate(entry, $event, groupIndex, entryIndex)"
|
|
82
82
|
>
|
|
83
83
|
<span
|
|
84
|
-
v-if="entry.type === 'checkbox'
|
|
85
|
-
class="k-menu-item-indicator"
|
|
86
|
-
:class="`is-${entry.type}`"
|
|
84
|
+
v-if="entry.type === 'checkbox'"
|
|
85
|
+
class="k-menu-item-indicator is-checkbox"
|
|
87
86
|
aria-hidden="true"
|
|
88
87
|
>
|
|
89
|
-
<Icon v-if="entry.checked
|
|
90
|
-
<span v-else-if="entry.checked" class="k-menu-item-dot" />
|
|
88
|
+
<Icon v-if="entry.checked" name="check" />
|
|
91
89
|
</span>
|
|
92
90
|
<Icon v-else-if="entry.icon" :name="entry.icon" class="k-menu-item-icon" />
|
|
93
91
|
<span class="k-menu-item-text">
|
|
@@ -292,11 +290,6 @@ function activate(entry, event, groupIndex, entryIndex) {
|
|
|
292
290
|
emit("select", entry, event);
|
|
293
291
|
return;
|
|
294
292
|
}
|
|
295
|
-
if (entry.type === "radio") {
|
|
296
|
-
entry.onSelect?.(event);
|
|
297
|
-
emit("select", entry, event);
|
|
298
|
-
return;
|
|
299
|
-
}
|
|
300
293
|
entry.onSelect?.(event);
|
|
301
294
|
emit("select", entry, event);
|
|
302
295
|
if (isLink(entry) || !event.defaultPrevented) root.close();
|
|
@@ -235,12 +235,7 @@
|
|
|
235
235
|
}
|
|
236
236
|
|
|
237
237
|
.k-combobox-option.is-selected .k-combobox-option-label {
|
|
238
|
-
font-weight: var(--k-font-weight-
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
.k-combobox-option-selected {
|
|
242
|
-
--k-icon-size: 0.875rem;
|
|
243
|
-
color: var(--k-accent-text);
|
|
238
|
+
font-weight: var(--k-font-weight-strong, 600);
|
|
244
239
|
}
|
|
245
240
|
|
|
246
241
|
.k-combobox-check {
|
|
@@ -90,13 +90,6 @@
|
|
|
90
90
|
color: var(--k-accent-text);
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
.k-menu-item-dot {
|
|
94
|
-
width: 0.375rem;
|
|
95
|
-
height: 0.375rem;
|
|
96
|
-
border-radius: var(--k-radius-full);
|
|
97
|
-
background: currentColor;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
93
|
.k-menu-label {
|
|
101
94
|
padding: 0.375rem 0.5rem 0.25rem;
|
|
102
95
|
font-size: 0.75rem;
|
|
@@ -117,3 +110,8 @@
|
|
|
117
110
|
.k-menu.is-match-width {
|
|
118
111
|
max-width: calc(100vw - 1rem);
|
|
119
112
|
}
|
|
113
|
+
|
|
114
|
+
[role='menuitemradio'][aria-checked='true'] .k-menu-item-label {
|
|
115
|
+
font-weight: var(--k-font-weight-strong, 600);
|
|
116
|
+
color: var(--k-text);
|
|
117
|
+
}
|
package/package.json
CHANGED