@xleddyl/443-components-vue 0.16.23 → 0.16.25
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/editor/RichTextEditor.vue +4 -1
- package/dist/internal/overlays/MenuList.vue +3 -5
- 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[];
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
:readonly="!editable"
|
|
112
112
|
:aria-label="text.source"
|
|
113
113
|
:aria-invalid="sourceInvalid ? 'true' : void 0"
|
|
114
|
-
:style="{ minHeight, maxHeight }"
|
|
114
|
+
:style="{ minHeight, maxHeight, height: sourceHeight }"
|
|
115
115
|
spellcheck="false"
|
|
116
116
|
@input="onSourceInput($event.target.value)"
|
|
117
117
|
/>
|
|
@@ -188,6 +188,7 @@ const linkType = ref("url");
|
|
|
188
188
|
const linkNeedsText = ref(false);
|
|
189
189
|
const sourceRef = useTemplateRef("sourceRef");
|
|
190
190
|
const sourceMode = ref(false);
|
|
191
|
+
const sourceHeight = ref();
|
|
191
192
|
const sourceText = ref("");
|
|
192
193
|
const sourceInvalid = ref(false);
|
|
193
194
|
const linkPrefixes = { url: "", email: "mailto:", phone: "tel:" };
|
|
@@ -492,6 +493,8 @@ async function toggleSource() {
|
|
|
492
493
|
return;
|
|
493
494
|
}
|
|
494
495
|
linkOpen.value = false;
|
|
496
|
+
const rendered = editor.value?.view.dom.getBoundingClientRect().height;
|
|
497
|
+
sourceHeight.value = rendered ? `${Math.round(rendered)}px` : void 0;
|
|
495
498
|
sourceText.value = sourceOf(model.value);
|
|
496
499
|
sourceInvalid.value = false;
|
|
497
500
|
sourceMode.value = true;
|
|
@@ -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">
|
|
@@ -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