vueless 1.3.1-beta.0 → 1.3.1-beta.1
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/package.json
CHANGED
|
@@ -314,9 +314,9 @@ const {
|
|
|
314
314
|
<!-- @slot Use it to add something before the header title. -->
|
|
315
315
|
<slot name="before-title" />
|
|
316
316
|
<!--
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
317
|
+
@slot Use it to add something to the left side of the header.
|
|
318
|
+
@binding {string} title
|
|
319
|
+
-->
|
|
320
320
|
<slot name="title" :title="title">
|
|
321
321
|
<div v-bind="titleFallbackAttrs">
|
|
322
322
|
<UHeader :label="title" size="sm" v-bind="titleAttrs" />
|
|
@@ -268,10 +268,10 @@ const {
|
|
|
268
268
|
</div>
|
|
269
269
|
|
|
270
270
|
<!--
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
271
|
+
@slot Use it to add something instead of the close button.
|
|
272
|
+
@binding {string} icon-name
|
|
273
|
+
@binding {function} close
|
|
274
|
+
-->
|
|
275
275
|
<slot name="actions" :icon-name="config.defaults.closeIcon" :close="closeModal">
|
|
276
276
|
<UButton
|
|
277
277
|
v-if="closeOnCross"
|
package/ui.form-input/UInput.vue
CHANGED
|
@@ -176,7 +176,9 @@ function onKeydown(event: KeyboardEvent) {
|
|
|
176
176
|
emit("keydown", event);
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
function onSlotClick() {
|
|
179
|
+
function onSlotClick(event: MouseEvent) {
|
|
180
|
+
if (event.target !== event.currentTarget) return;
|
|
181
|
+
|
|
180
182
|
inputRef.value?.focus();
|
|
181
183
|
}
|
|
182
184
|
|
|
@@ -193,9 +193,9 @@ export const Slots: StoryFn<UInputArgs> = (args) => ({
|
|
|
193
193
|
components: { UInput, URow, UDropdownButton, UText, UChip },
|
|
194
194
|
setup() {
|
|
195
195
|
const countryCodes = [
|
|
196
|
-
{ label: "+33",
|
|
197
|
-
{ label: "+44",
|
|
198
|
-
{ label: "+49",
|
|
196
|
+
{ label: "+33", value: "+33" },
|
|
197
|
+
{ label: "+44", value: "+44" },
|
|
198
|
+
{ label: "+49", value: "+49" },
|
|
199
199
|
];
|
|
200
200
|
|
|
201
201
|
const countryCode = ref("+33");
|