@nuxt/ui 2.18.5 → 2.18.7
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/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/data/Table.vue +3 -3
- package/dist/runtime/components/data/Table.vue.d.ts +285 -21
- package/dist/runtime/components/elements/Accordion.vue.d.ts +119 -11
- package/dist/runtime/components/elements/Alert.vue.d.ts +204 -16
- package/dist/runtime/components/elements/Avatar.vue.d.ts +66 -4
- package/dist/runtime/components/elements/AvatarGroup.d.ts +7 -1
- package/dist/runtime/components/elements/Badge.vue.d.ts +40 -4
- package/dist/runtime/components/elements/Button.vue.d.ts +91 -8
- package/dist/runtime/components/elements/ButtonGroup.d.ts +103 -2
- package/dist/runtime/components/elements/Carousel.vue +15 -6
- package/dist/runtime/components/elements/Carousel.vue.d.ts +130 -11
- package/dist/runtime/components/elements/Chip.vue.d.ts +41 -4
- package/dist/runtime/components/elements/Dropdown.vue +1 -1
- package/dist/runtime/components/elements/Dropdown.vue.d.ts +152 -10
- package/dist/runtime/components/elements/Kbd.vue.d.ts +23 -4
- package/dist/runtime/components/elements/Link.vue.d.ts +2 -2
- package/dist/runtime/components/elements/Meter.vue.d.ts +83 -4
- package/dist/runtime/components/elements/MeterGroup.d.ts +54 -2
- package/dist/runtime/components/elements/Progress.vue.d.ts +81 -4
- package/dist/runtime/components/forms/Checkbox.vue.d.ts +29 -8
- package/dist/runtime/components/forms/FormGroup.vue.d.ts +32 -4
- package/dist/runtime/components/forms/Input.vue.d.ts +123 -7
- package/dist/runtime/components/forms/InputMenu.vue.d.ts +254 -14
- package/dist/runtime/components/forms/Radio.vue.d.ts +28 -8
- package/dist/runtime/components/forms/RadioGroup.vue.d.ts +68 -17
- package/dist/runtime/components/forms/Range.vue.d.ts +72 -6
- package/dist/runtime/components/forms/Select.vue.d.ts +120 -7
- package/dist/runtime/components/forms/SelectMenu.vue +1 -1
- package/dist/runtime/components/forms/SelectMenu.vue.d.ts +261 -14
- package/dist/runtime/components/forms/Textarea.vue.d.ts +122 -7
- package/dist/runtime/components/forms/Toggle.vue.d.ts +71 -6
- package/dist/runtime/components/layout/Card.vue.d.ts +30 -4
- package/dist/runtime/components/layout/Container.vue.d.ts +12 -4
- package/dist/runtime/components/layout/Divider.vue.d.ts +124 -8
- package/dist/runtime/components/layout/Skeleton.vue.d.ts +12 -4
- package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +29 -6
- package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +256 -18
- package/dist/runtime/components/navigation/CommandPaletteGroup.vue.d.ts +87 -6
- package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +139 -12
- package/dist/runtime/components/navigation/Pagination.vue.d.ts +131 -11
- package/dist/runtime/components/navigation/Tabs.vue.d.ts +41 -4
- package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +269 -19
- package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +37 -4
- package/dist/runtime/components/overlays/Modal.vue +2 -2
- package/dist/runtime/components/overlays/Modal.vue.d.ts +50 -5
- package/dist/runtime/components/overlays/Notification.vue.d.ts +213 -16
- package/dist/runtime/components/overlays/Notifications.vue.d.ts +225 -19
- package/dist/runtime/components/overlays/Popover.vue +1 -1
- package/dist/runtime/components/overlays/Popover.vue.d.ts +53 -4
- package/dist/runtime/components/overlays/Slideover.vue +2 -2
- package/dist/runtime/components/overlays/Slideover.vue.d.ts +49 -5
- package/dist/runtime/components/overlays/Tooltip.vue +5 -3
- package/dist/runtime/components/overlays/Tooltip.vue.d.ts +66 -7
- package/dist/runtime/composables/useFormGroup.js +1 -1
- package/dist/runtime/composables/useUI.d.ts +2 -2
- package/dist/runtime/composables/useUI.js +1 -1
- package/dist/runtime/ui.config/elements/carousel.js +2 -2
- package/dist/runtime/ui.config/navigation/tabs.js +1 -1
- package/dist/runtime/utils/link.js +1 -1
- package/package.json +10 -10
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { PopperOptions, Strategy } from '../../types/index.js';
|
|
2
|
+
import type { DeepPartial, PopperOptions, Strategy } from '../../types/index.js';
|
|
3
3
|
declare const config: {
|
|
4
4
|
wrapper: string;
|
|
5
5
|
container: string;
|
|
@@ -81,7 +81,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
81
81
|
default: () => string;
|
|
82
82
|
};
|
|
83
83
|
ui: {
|
|
84
|
-
type: PropType<
|
|
84
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
85
85
|
strategy?: Strategy;
|
|
86
86
|
}>;
|
|
87
87
|
default: () => {};
|
|
@@ -199,7 +199,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
199
199
|
default: () => string;
|
|
200
200
|
};
|
|
201
201
|
ui: {
|
|
202
|
-
type: PropType<
|
|
202
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
203
203
|
strategy?: Strategy;
|
|
204
204
|
}>;
|
|
205
205
|
default: () => {};
|
|
@@ -211,7 +211,56 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
211
211
|
class: any;
|
|
212
212
|
disabled: boolean;
|
|
213
213
|
popper: PopperOptions;
|
|
214
|
-
ui: {
|
|
214
|
+
ui: {
|
|
215
|
+
wrapper?: string;
|
|
216
|
+
container?: string;
|
|
217
|
+
trigger?: string;
|
|
218
|
+
width?: string;
|
|
219
|
+
background?: string;
|
|
220
|
+
shadow?: string;
|
|
221
|
+
rounded?: string;
|
|
222
|
+
ring?: string;
|
|
223
|
+
base?: string;
|
|
224
|
+
transition?: DeepPartial<{
|
|
225
|
+
enterActiveClass: string;
|
|
226
|
+
enterFromClass: string;
|
|
227
|
+
enterToClass: string;
|
|
228
|
+
leaveActiveClass: string;
|
|
229
|
+
leaveFromClass: string;
|
|
230
|
+
leaveToClass: string;
|
|
231
|
+
}, any>;
|
|
232
|
+
overlay?: DeepPartial<{
|
|
233
|
+
base: string;
|
|
234
|
+
background: string;
|
|
235
|
+
transition: {
|
|
236
|
+
enterActiveClass: string;
|
|
237
|
+
enterFromClass: string;
|
|
238
|
+
enterToClass: string;
|
|
239
|
+
leaveActiveClass: string;
|
|
240
|
+
leaveFromClass: string;
|
|
241
|
+
leaveToClass: string;
|
|
242
|
+
};
|
|
243
|
+
}, any>;
|
|
244
|
+
popper?: DeepPartial<{
|
|
245
|
+
strategy: string;
|
|
246
|
+
}, any>;
|
|
247
|
+
default?: DeepPartial<{
|
|
248
|
+
openDelay: number;
|
|
249
|
+
closeDelay: number;
|
|
250
|
+
}, any>;
|
|
251
|
+
arrow?: DeepPartial<{
|
|
252
|
+
base: string;
|
|
253
|
+
ring: string;
|
|
254
|
+
rounded: string;
|
|
255
|
+
background: string;
|
|
256
|
+
shadow: string;
|
|
257
|
+
placement: string;
|
|
258
|
+
}, any>;
|
|
259
|
+
} & {
|
|
260
|
+
[key: string]: any;
|
|
261
|
+
} & {
|
|
262
|
+
strategy?: Strategy;
|
|
263
|
+
};
|
|
215
264
|
overlay: boolean;
|
|
216
265
|
open: boolean;
|
|
217
266
|
openDelay: number;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<TransitionRoot as="template" :appear="appear" :show="isOpen" @after-leave="onAfterLeave">
|
|
3
3
|
<HDialog :class="[ui.wrapper, { 'justify-end': side === 'right' }, { 'items-end': side === 'bottom' }]" v-bind="attrs" @close="close">
|
|
4
|
-
<TransitionChild v-if="overlay" as="template" :appear="appear" v-bind="ui.overlay.transition">
|
|
4
|
+
<TransitionChild v-if="overlay" as="template" :appear="appear" v-bind="ui.overlay.transition" :class="ui.overlay.transition.enterFrom">
|
|
5
5
|
<div :class="[ui.overlay.base, ui.overlay.background]" />
|
|
6
6
|
</TransitionChild>
|
|
7
7
|
|
|
8
|
-
<TransitionChild as="template" :appear="appear" v-bind="transitionClass">
|
|
8
|
+
<TransitionChild as="template" :appear="appear" v-bind="transitionClass" :class="transitionClass.enterFrom">
|
|
9
9
|
<HDialogPanel :class="[ui.base, sideType === 'horizontal' ? [ui.width, 'h-full'] : [ui.height, 'w-full'], ui.background, ui.ring, ui.rounded, ui.padding, ui.shadow]">
|
|
10
10
|
<slot />
|
|
11
11
|
</HDialogPanel>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { WritableComputedRef, PropType } from 'vue';
|
|
2
|
-
import type { Strategy } from '../../types/index.js';
|
|
2
|
+
import type { DeepPartial, Strategy } from '../../types/index.js';
|
|
3
3
|
declare const config: {
|
|
4
4
|
wrapper: string;
|
|
5
5
|
overlay: {
|
|
@@ -65,7 +65,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
65
65
|
default: () => string;
|
|
66
66
|
};
|
|
67
67
|
ui: {
|
|
68
|
-
type: PropType<
|
|
68
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
69
69
|
strategy?: Strategy;
|
|
70
70
|
}>;
|
|
71
71
|
default: () => {};
|
|
@@ -109,7 +109,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
109
109
|
[x: string]: unknown;
|
|
110
110
|
}, string>>;
|
|
111
111
|
isOpen: WritableComputedRef<boolean, boolean>;
|
|
112
|
-
transitionClass: import("vue").ComputedRef<{
|
|
112
|
+
transitionClass: import("vue").ComputedRef<{
|
|
113
|
+
enterFrom: any;
|
|
114
|
+
enterTo: string;
|
|
115
|
+
leaveFrom: string;
|
|
116
|
+
leaveTo: any;
|
|
117
|
+
enter: string;
|
|
118
|
+
leave: string;
|
|
119
|
+
}>;
|
|
113
120
|
sideType: import("vue").ComputedRef<"right" | "horizontal" | "vertical">;
|
|
114
121
|
onAfterLeave: () => void;
|
|
115
122
|
close: (value: boolean) => void;
|
|
@@ -144,7 +151,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
144
151
|
default: () => string;
|
|
145
152
|
};
|
|
146
153
|
ui: {
|
|
147
|
-
type: PropType<
|
|
154
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
148
155
|
strategy?: Strategy;
|
|
149
156
|
}>;
|
|
150
157
|
default: () => {};
|
|
@@ -158,7 +165,44 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
158
165
|
class: any;
|
|
159
166
|
appear: boolean;
|
|
160
167
|
transition: boolean;
|
|
161
|
-
ui: {
|
|
168
|
+
ui: {
|
|
169
|
+
wrapper?: string;
|
|
170
|
+
overlay?: DeepPartial<{
|
|
171
|
+
base: string;
|
|
172
|
+
background: string;
|
|
173
|
+
transition: {
|
|
174
|
+
enter: string;
|
|
175
|
+
enterFrom: string;
|
|
176
|
+
enterTo: string;
|
|
177
|
+
leave: string;
|
|
178
|
+
leaveFrom: string;
|
|
179
|
+
leaveTo: string;
|
|
180
|
+
};
|
|
181
|
+
}, any>;
|
|
182
|
+
base?: string;
|
|
183
|
+
background?: string;
|
|
184
|
+
ring?: string;
|
|
185
|
+
rounded?: string;
|
|
186
|
+
padding?: string;
|
|
187
|
+
shadow?: string;
|
|
188
|
+
width?: string;
|
|
189
|
+
height?: string;
|
|
190
|
+
translate?: DeepPartial<{
|
|
191
|
+
base: string;
|
|
192
|
+
left: string;
|
|
193
|
+
right: string;
|
|
194
|
+
top: string;
|
|
195
|
+
bottom: string;
|
|
196
|
+
}, any>;
|
|
197
|
+
transition?: DeepPartial<{
|
|
198
|
+
enter: string;
|
|
199
|
+
leave: string;
|
|
200
|
+
}, any>;
|
|
201
|
+
} & {
|
|
202
|
+
[key: string]: any;
|
|
203
|
+
} & {
|
|
204
|
+
strategy?: Strategy;
|
|
205
|
+
};
|
|
162
206
|
overlay: boolean;
|
|
163
207
|
preventClose: boolean;
|
|
164
208
|
side: "bottom" | "left" | "right" | "top";
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
Hover
|
|
5
5
|
</slot>
|
|
6
6
|
|
|
7
|
-
<div v-if="open && !prevent" ref="container" :class="[ui.container, ui.width]">
|
|
7
|
+
<div v-if="open && !prevent && isVisible" ref="container" :class="[ui.container, ui.width]">
|
|
8
8
|
<Transition appear v-bind="ui.transition">
|
|
9
9
|
<div>
|
|
10
10
|
<div v-if="popper.arrow" data-popper-arrow :class="Object.values(ui.arrow)" />
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
</template>
|
|
30
30
|
|
|
31
31
|
<script>
|
|
32
|
-
import { computed, ref, toRef, defineComponent } from "vue";
|
|
32
|
+
import { computed, ref, toRef, defineComponent, useSlots } from "vue";
|
|
33
33
|
import { defu } from "defu";
|
|
34
34
|
import UKbd from "../elements/Kbd.vue";
|
|
35
35
|
import { useUI } from "../../composables/useUI";
|
|
@@ -84,6 +84,7 @@ export default defineComponent({
|
|
|
84
84
|
const open = ref(false);
|
|
85
85
|
let openTimeout = null;
|
|
86
86
|
let closeTimeout = null;
|
|
87
|
+
const isVisible = computed(() => !!(useSlots().text || props.text));
|
|
87
88
|
function onMouseEnter() {
|
|
88
89
|
if (closeTimeout) {
|
|
89
90
|
clearTimeout(closeTimeout);
|
|
@@ -120,7 +121,8 @@ export default defineComponent({
|
|
|
120
121
|
container,
|
|
121
122
|
open,
|
|
122
123
|
onMouseEnter,
|
|
123
|
-
onMouseLeave
|
|
124
|
+
onMouseLeave,
|
|
125
|
+
isVisible
|
|
124
126
|
};
|
|
125
127
|
}
|
|
126
128
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type { PopperOptions, Strategy } from '../../types/index.js';
|
|
2
|
+
import type { DeepPartial, PopperOptions, Strategy } from '../../types/index.js';
|
|
3
3
|
declare const config: {
|
|
4
4
|
wrapper: string;
|
|
5
5
|
container: string;
|
|
@@ -66,7 +66,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
66
66
|
default: () => string;
|
|
67
67
|
};
|
|
68
68
|
ui: {
|
|
69
|
-
type: PropType<
|
|
69
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
70
70
|
strategy?: Strategy;
|
|
71
71
|
}>;
|
|
72
72
|
default: () => {};
|
|
@@ -117,6 +117,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
117
117
|
open: import("vue").Ref<boolean, boolean>;
|
|
118
118
|
onMouseEnter: () => void;
|
|
119
119
|
onMouseLeave: () => void;
|
|
120
|
+
isVisible: import("vue").ComputedRef<boolean>;
|
|
120
121
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
121
122
|
text: {
|
|
122
123
|
type: StringConstructor;
|
|
@@ -147,7 +148,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
147
148
|
default: () => string;
|
|
148
149
|
};
|
|
149
150
|
ui: {
|
|
150
|
-
type: PropType<
|
|
151
|
+
type: PropType<DeepPartial<typeof config> & {
|
|
151
152
|
strategy?: Strategy;
|
|
152
153
|
}>;
|
|
153
154
|
default: () => {};
|
|
@@ -156,7 +157,46 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
156
157
|
class: any;
|
|
157
158
|
popper: PopperOptions;
|
|
158
159
|
text: string;
|
|
159
|
-
ui: {
|
|
160
|
+
ui: {
|
|
161
|
+
wrapper?: string;
|
|
162
|
+
container?: string;
|
|
163
|
+
width?: string;
|
|
164
|
+
background?: string;
|
|
165
|
+
color?: string;
|
|
166
|
+
shadow?: string;
|
|
167
|
+
rounded?: string;
|
|
168
|
+
ring?: string;
|
|
169
|
+
base?: string;
|
|
170
|
+
shortcuts?: string;
|
|
171
|
+
middot?: string;
|
|
172
|
+
transition?: DeepPartial<{
|
|
173
|
+
enterActiveClass: string;
|
|
174
|
+
enterFromClass: string;
|
|
175
|
+
enterToClass: string;
|
|
176
|
+
leaveActiveClass: string;
|
|
177
|
+
leaveFromClass: string;
|
|
178
|
+
leaveToClass: string;
|
|
179
|
+
}, any>;
|
|
180
|
+
popper?: DeepPartial<{
|
|
181
|
+
strategy: string;
|
|
182
|
+
}, any>;
|
|
183
|
+
default?: DeepPartial<{
|
|
184
|
+
openDelay: number;
|
|
185
|
+
closeDelay: number;
|
|
186
|
+
}, any>;
|
|
187
|
+
arrow?: DeepPartial<{
|
|
188
|
+
base: string;
|
|
189
|
+
ring: string;
|
|
190
|
+
rounded: string;
|
|
191
|
+
background: string;
|
|
192
|
+
shadow: string;
|
|
193
|
+
placement: string;
|
|
194
|
+
}, any>;
|
|
195
|
+
} & {
|
|
196
|
+
[key: string]: any;
|
|
197
|
+
} & {
|
|
198
|
+
strategy?: Strategy;
|
|
199
|
+
};
|
|
160
200
|
openDelay: number;
|
|
161
201
|
closeDelay: number;
|
|
162
202
|
shortcuts: string[];
|
|
@@ -177,7 +217,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
177
217
|
default: () => "";
|
|
178
218
|
};
|
|
179
219
|
ui: {
|
|
180
|
-
type: PropType<
|
|
220
|
+
type: PropType<DeepPartial<{
|
|
181
221
|
base: string;
|
|
182
222
|
padding: string;
|
|
183
223
|
size: {
|
|
@@ -233,7 +273,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
233
273
|
default: () => "";
|
|
234
274
|
};
|
|
235
275
|
ui: {
|
|
236
|
-
type: PropType<
|
|
276
|
+
type: PropType<DeepPartial<{
|
|
237
277
|
base: string;
|
|
238
278
|
padding: string;
|
|
239
279
|
size: {
|
|
@@ -256,7 +296,26 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
256
296
|
}>> & Readonly<{}>, {
|
|
257
297
|
size: import("../../types/kbd").KbdSize;
|
|
258
298
|
class: any;
|
|
259
|
-
ui: {
|
|
299
|
+
ui: {
|
|
300
|
+
base?: string;
|
|
301
|
+
padding?: string;
|
|
302
|
+
size?: DeepPartial<{
|
|
303
|
+
xs: string;
|
|
304
|
+
sm: string;
|
|
305
|
+
md: string;
|
|
306
|
+
}, any>;
|
|
307
|
+
rounded?: string;
|
|
308
|
+
font?: string;
|
|
309
|
+
background?: string;
|
|
310
|
+
ring?: string;
|
|
311
|
+
default?: DeepPartial<{
|
|
312
|
+
size: string;
|
|
313
|
+
}, any>;
|
|
314
|
+
} & {
|
|
315
|
+
[key: string]: any;
|
|
316
|
+
} & {
|
|
317
|
+
strategy?: Strategy;
|
|
318
|
+
};
|
|
260
319
|
value: string;
|
|
261
320
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
262
321
|
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -5,7 +5,7 @@ export const useFormGroup = (inputProps, config, bind = true) => {
|
|
|
5
5
|
const formGroup = inject("form-group", void 0);
|
|
6
6
|
const formInputs = inject("form-inputs", void 0);
|
|
7
7
|
if (formGroup) {
|
|
8
|
-
if (!bind || inputProps
|
|
8
|
+
if (!bind || inputProps?.legend) {
|
|
9
9
|
formGroup.inputId.value = void 0;
|
|
10
10
|
} else if (inputProps?.id) {
|
|
11
11
|
formGroup.inputId.value = inputProps?.id;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Ref } from 'vue';
|
|
2
|
-
import type { Strategy } from '../types/index.js';
|
|
3
|
-
export declare const useUI: <T>(key: any, $ui?: Ref<(
|
|
2
|
+
import type { DeepPartial, Strategy } from '../types/index.js';
|
|
3
|
+
export declare const useUI: <T>(key: any, $ui?: Ref<(DeepPartial<T> & {
|
|
4
4
|
strategy?: Strategy;
|
|
5
5
|
}) | undefined>, $config?: Ref<T> | T, $wrapperClass?: Ref<string>, withAppConfig?: boolean) => {
|
|
6
6
|
ui: import("vue").ComputedRef<T>;
|
|
@@ -12,7 +12,7 @@ export const useUI = (key, $ui, $config, $wrapperClass, withAppConfig = false) =
|
|
|
12
12
|
_ui?.strategy || appConfig.ui?.strategy,
|
|
13
13
|
_wrapperClass ? { wrapper: _wrapperClass } : {},
|
|
14
14
|
_ui || {},
|
|
15
|
-
|
|
15
|
+
import.meta.dev || withAppConfig ? get(appConfig.ui, key, {}) : {},
|
|
16
16
|
_config || {}
|
|
17
17
|
);
|
|
18
18
|
});
|
|
@@ -14,12 +14,12 @@ export default {
|
|
|
14
14
|
default: {
|
|
15
15
|
prevButton: {
|
|
16
16
|
color: "black",
|
|
17
|
-
class: "rtl:[&_span:first-child]:rotate-180 absolute
|
|
17
|
+
class: "rtl:[&_span:first-child]:rotate-180 absolute start-4 top-1/2 transform -translate-y-1/2 rounded-full",
|
|
18
18
|
icon: "i-heroicons-chevron-left-20-solid"
|
|
19
19
|
},
|
|
20
20
|
nextButton: {
|
|
21
21
|
color: "black",
|
|
22
|
-
class: "rtl:[&_span:last-child]:rotate-180 absolute
|
|
22
|
+
class: "rtl:[&_span:last-child]:rotate-180 absolute end-4 top-1/2 transform -translate-y-1/2 rounded-full",
|
|
23
23
|
icon: "i-heroicons-chevron-right-20-solid"
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -114,7 +114,7 @@ export const getNuxtLinkProps = (props) => {
|
|
|
114
114
|
}, {});
|
|
115
115
|
};
|
|
116
116
|
export const getULinkProps = (props) => {
|
|
117
|
-
const keys = [...Object.keys(nuxtLinkProps), ...Object.keys(uLinkProps), "ariaLabel"];
|
|
117
|
+
const keys = [...Object.keys(nuxtLinkProps), ...Object.keys(uLinkProps), "ariaLabel", "title"];
|
|
118
118
|
return keys.reduce((acc, key) => {
|
|
119
119
|
if (props[key] !== void 0) {
|
|
120
120
|
acc[key] = props[key];
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/ui",
|
|
3
3
|
"description": "A UI Library for Modern Web Apps, powered by Vue & Tailwind CSS.",
|
|
4
|
-
"version": "2.18.
|
|
5
|
-
"packageManager": "pnpm@9.
|
|
4
|
+
"version": "2.18.7",
|
|
5
|
+
"packageManager": "pnpm@9.12.1",
|
|
6
6
|
"repository": "nuxt/ui",
|
|
7
7
|
"homepage": "https://ui.nuxt.com",
|
|
8
8
|
"type": "module",
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@headlessui/tailwindcss": "^0.2.1",
|
|
36
36
|
"@headlessui/vue": "^1.7.23",
|
|
37
|
-
"@iconify-json/heroicons": "^1.2.
|
|
38
|
-
"@nuxt/icon": "^1.5.
|
|
37
|
+
"@iconify-json/heroicons": "^1.2.1",
|
|
38
|
+
"@nuxt/icon": "^1.5.5",
|
|
39
39
|
"@nuxt/kit": "^3.13.2",
|
|
40
40
|
"@nuxtjs/color-mode": "^3.5.1",
|
|
41
41
|
"@nuxtjs/tailwindcss": "^6.12.1",
|
|
@@ -52,25 +52,25 @@
|
|
|
52
52
|
"ohash": "^1.1.4",
|
|
53
53
|
"pathe": "^1.1.2",
|
|
54
54
|
"scule": "^1.3.0",
|
|
55
|
-
"tailwind-merge": "^2.5.
|
|
56
|
-
"tailwindcss": "^3.4.
|
|
55
|
+
"tailwind-merge": "^2.5.3",
|
|
56
|
+
"tailwindcss": "^3.4.13"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@nuxt/eslint-config": "^0.4.0",
|
|
60
60
|
"@nuxt/module-builder": "^0.8.4",
|
|
61
|
-
"@nuxt/test-utils": "^3.14.
|
|
61
|
+
"@nuxt/test-utils": "^3.14.3",
|
|
62
62
|
"@release-it/conventional-changelog": "^8.0.2",
|
|
63
63
|
"@vue/test-utils": "^2.4.6",
|
|
64
64
|
"eslint": "^8.57.0",
|
|
65
65
|
"happy-dom": "^14.12.3",
|
|
66
66
|
"joi": "^17.13.3",
|
|
67
67
|
"nuxt": "^3.13.2",
|
|
68
|
-
"release-it": "^17.
|
|
68
|
+
"release-it": "^17.7.0",
|
|
69
69
|
"unbuild": "^2.0.0",
|
|
70
|
-
"valibot": "^0.42.
|
|
70
|
+
"valibot": "^0.42.1",
|
|
71
71
|
"valibot30": "npm:valibot@0.30.0",
|
|
72
72
|
"valibot31": "npm:valibot@0.31.0",
|
|
73
|
-
"vitest": "^2.1.
|
|
73
|
+
"vitest": "^2.1.2",
|
|
74
74
|
"vitest-environment-nuxt": "^1.0.1",
|
|
75
75
|
"vue-tsc": "^2.1.6",
|
|
76
76
|
"yup": "^1.4.0",
|