@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.
@@ -186,11 +186,6 @@
186
186
  buildCreateText(item.option.label)
187
187
  }}</span>
188
188
  </span>
189
- <Icon
190
- v-if="!multiple && item.selected"
191
- name="check"
192
- class="k-combobox-option-selected"
193
- />
194
189
  </li>
195
190
  </template>
196
191
  </ul>
@@ -169,7 +169,6 @@
169
169
  >
170
170
  </slot>
171
171
  </span>
172
- <Icon v-if="item.selected" name="check" class="k-combobox-option-selected" />
173
172
  <span
174
173
  v-if="item.parent && !searching"
175
174
  class="k-tree-select-drill"
@@ -5,13 +5,13 @@ declare var __VLS_32: {
5
5
  node: TreeNode;
6
6
  selected: boolean;
7
7
  path: TreeNode[];
8
- }, __VLS_44: {
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 __VLS_44) => any;
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' || entry.type === 'radio'"
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 && entry.type === 'checkbox'" name="check" />
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">
@@ -57,8 +57,7 @@
57
57
  border-color: GrayText;
58
58
  }
59
59
 
60
- .k-radio-dot::after,
61
- .k-menu-item-dot {
60
+ .k-radio-dot::after {
62
61
  forced-color-adjust: none;
63
62
  background: CanvasText;
64
63
  }
@@ -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-medium, 500);
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xleddyl/443-components-vue",
3
- "version": "0.16.23",
3
+ "version": "0.16.25",
4
4
  "description": "Compact, scoped dashboard components for Vue and Nuxt",
5
5
  "license": "MIT",
6
6
  "author": "Edoardo Alberti (https://github.com/xleddyl)",