@auronui/vue 1.0.22 → 1.1.0
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/cjs/index.cjs +393 -366
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/components/date-time-picker/DateTimePicker.js.map +1 -1
- package/dist/components/date-time-picker/DateTimePicker.vue_vue_type_script_setup_true_lang.js +69 -149
- package/dist/components/date-time-picker/DateTimePicker.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/date-time-picker/DateTimePickerTimeScroller.js.map +1 -1
- package/dist/components/date-time-picker/DateTimePickerTimeScroller.vue_vue_type_script_setup_true_lang.js +49 -54
- package/dist/components/date-time-picker/DateTimePickerTimeScroller.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/list-box/ListBox.context.js.map +1 -1
- package/dist/components/list-box/ListBox.js.map +1 -1
- package/dist/components/list-box/ListBox.vue_vue_type_script_setup_true_lang.js +138 -32
- package/dist/components/list-box/ListBox.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/list-box/ListBoxItem.js.map +1 -1
- package/dist/components/list-box/ListBoxItem.vue_vue_type_script_setup_true_lang.js +11 -4
- package/dist/components/list-box/ListBoxItem.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/index.d.ts +149 -7
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListBoxItem.vue_vue_type_script_setup_true_lang.js","names":[],"sources":["../../../src/components/list-box/ListBoxItem.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { computed, ref } from 'vue'\nimport { ListboxItem, ListboxItemIndicator } from 'reka-ui'\nimport { listboxItemVariants, type ListBoxItemVariants } from '@auronui/styles'\nimport { composeClassName , type ClassValue} from '../../utils/composeClassName'\nimport { useListBoxInject } from './ListBox.context'\n\nconst props = withDefaults(defineProps<{\n value: string\n textValue?: string\n isDisabled?: boolean\n variant?: ListBoxItemVariants['variant']\n class?: ClassValue\n /** Override classes for individual slots */\n classNames?: Partial<{\n item: ClassValue\n indicator: ClassValue\n }>\n /** Whether the item is disabled. Alias for isDisabled. */\n disabled?: boolean\n /** Render as a different element or component. */\n as?: string\n /** Merge props onto child element instead of rendering a wrapper. */\n asChild?: boolean\n /** Render the ListboxItemIndicator as a different element. */\n indicatorAs?: string\n /** Merge indicator props onto child element. */\n indicatorAsChild?: boolean\n}>(), {\n textValue: undefined,\n isDisabled: false,\n variant: undefined,\n class: undefined,\n classNames: undefined,\n disabled: undefined,\n as: undefined,\n asChild: false,\n indicatorAs: undefined,\n indicatorAsChild: false,\n})\n\nconst emit = defineEmits<{\n 'select': [event: Event]\n}>()\n\n// Inject context with fallback (standalone usage)\nconst ctx = useListBoxInject({\n variant: ref('default'),\n itemVariant: ref('default'),\n isDisabled: ref(false),\n})\n\nconst finalVariant = computed(() => props.variant ?? ctx.itemVariant.value)\nconst finalDisabled = computed(() => ctx.isDisabled.value || props.isDisabled)\n\nconst slotFns = computed(() =>\n listboxItemVariants({ variant: finalVariant.value as ListBoxItemVariants['variant'] })\n)\n</script>\n\n<template>\n <ListboxItem\n :value=\"props.value\"\n :disabled=\"props.disabled ?? finalDisabled\"\n :text-value=\"props.textValue ?? props.value\"\n :as=\"props.as\"\n :as-child=\"props.asChild\"\n :class=\"composeClassName(slotFns.item(), props.class, props.classNames?.item)\"\n @select=\"emit('select', $event)\"\n >\n <slot name=\"startContent\" />\n <slot />\n <slot name=\"endContent\" />\n <ListboxItemIndicator\n :as=\"props.indicatorAs\"\n :as-child=\"props.indicatorAsChild\"\n :class=\"composeClassName(slotFns.indicator(), props.classNames?.indicator)\"\n >\n <slot name=\"selectedIcon\">\n <!-- Default check icon -->\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"12\"\n height=\"12\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"3\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n data-slot=\"list-box-item-indicator--checkmark\"\n aria-hidden=\"true\"\n >\n <polyline points=\"20 6 9 17 4 12\" />\n </svg>\n </slot>\n </ListboxItemIndicator>\n </ListboxItem>\n</template>\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ListBoxItem.vue_vue_type_script_setup_true_lang.js","names":[],"sources":["../../../src/components/list-box/ListBoxItem.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { computed, ref } from 'vue'\nimport { ListboxItem, ListboxItemIndicator } from 'reka-ui'\nimport { listboxItemVariants, type ListBoxItemVariants } from '@auronui/styles'\nimport { composeClassName , type ClassValue} from '../../utils/composeClassName'\nimport { useListBoxInject } from './ListBox.context'\n\nconst props = withDefaults(defineProps<{\n value: string\n textValue?: string\n isDisabled?: boolean\n variant?: ListBoxItemVariants['variant']\n class?: ClassValue\n /** Override classes for individual slots */\n classNames?: Partial<{\n item: ClassValue\n indicator: ClassValue\n }>\n /** Whether the item is disabled. Alias for isDisabled. */\n disabled?: boolean\n /** Render as a different element or component. */\n as?: string\n /** Merge props onto child element instead of rendering a wrapper. */\n asChild?: boolean\n /** Render the ListboxItemIndicator as a different element. */\n indicatorAs?: string\n /** Merge indicator props onto child element. */\n indicatorAsChild?: boolean\n /** Hide this item's selected indicator. Falls back to the ListBox setting. */\n hideSelectedIcon?: boolean\n}>(), {\n textValue: undefined,\n isDisabled: false,\n variant: undefined,\n class: undefined,\n classNames: undefined,\n disabled: undefined,\n as: undefined,\n asChild: false,\n indicatorAs: undefined,\n indicatorAsChild: false,\n hideSelectedIcon: undefined,\n})\n\nconst emit = defineEmits<{\n 'select': [event: Event]\n}>()\n\n// Inject context with fallback (standalone usage)\nconst ctx = useListBoxInject({\n variant: ref('default'),\n itemVariant: ref('default'),\n isDisabled: ref(false),\n hideSelectedIcon: ref(false),\n})\n\nconst finalVariant = computed(() => props.variant ?? ctx.itemVariant.value)\nconst finalDisabled = computed(() => ctx.isDisabled.value || props.isDisabled)\nconst finalHideSelectedIcon = computed(\n () => props.hideSelectedIcon ?? ctx.hideSelectedIcon.value,\n)\n\nconst slotFns = computed(() =>\n listboxItemVariants({ variant: finalVariant.value as ListBoxItemVariants['variant'] })\n)\n</script>\n\n<template>\n <ListboxItem\n :value=\"props.value\"\n :disabled=\"props.disabled ?? finalDisabled\"\n :text-value=\"props.textValue ?? props.value\"\n :as=\"props.as\"\n :as-child=\"props.asChild\"\n :class=\"composeClassName(slotFns.item(), props.class, props.classNames?.item)\"\n @select=\"emit('select', $event)\"\n >\n <slot name=\"startContent\" />\n <slot />\n <slot name=\"endContent\" />\n <ListboxItemIndicator\n v-if=\"!finalHideSelectedIcon\"\n :as=\"props.indicatorAs\"\n :as-child=\"props.indicatorAsChild\"\n :class=\"composeClassName(slotFns.indicator(), props.classNames?.indicator)\"\n >\n <slot name=\"selectedIcon\">\n <!-- Default check icon -->\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"12\"\n height=\"12\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"3\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n data-slot=\"list-box-item-indicator--checkmark\"\n aria-hidden=\"true\"\n >\n <polyline points=\"20 6 9 17 4 12\" />\n </svg>\n </slot>\n </ListboxItemIndicator>\n </ListboxItem>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOA,MAAM,QAAQ;EAqCd,MAAM,OAAO;EAKb,MAAM,MAAM,iBAAiB;GAC3B,SAAS,IAAI,UAAU;GACvB,aAAa,IAAI,UAAU;GAC3B,YAAY,IAAI,MAAM;GACtB,kBAAkB,IAAI,MAAM;GAC7B,CAAA;EAED,MAAM,eAAe,eAAe,MAAM,WAAW,IAAI,YAAY,MAAK;EAC1E,MAAM,gBAAgB,eAAe,IAAI,WAAW,SAAS,MAAM,WAAU;EAC7E,MAAM,wBAAwB,eACtB,MAAM,oBAAoB,IAAI,iBAAiB,MACvD;EAEA,MAAM,UAAU,eACd,oBAAoB,EAAE,SAAS,aAAa,OAAyC,CAAA,CACvF;;uBAIE,YAqCc,MAAA,YAAA,EAAA;IApCX,OAAO,MAAM;IACb,UAAU,MAAM,YAAY,cAAA;IAC5B,cAAY,MAAM,aAAa,MAAM;IACrC,IAAI,MAAM;IACV,YAAU,MAAM;IAChB,OAAK,eAAE,MAAA,iBAAgB,CAAC,QAAA,MAAQ,MAAI,EAAI,MAAM,OAAO,MAAM,YAAY,KAAI,CAAA;IAC3E,UAAM,OAAA,OAAA,OAAA,MAAA,WAAE,KAAI,UAAW,OAAM;;2BAEF;KAA5B,WAA4B,KAAA,QAAA,eAAA;KAC5B,WAAQ,KAAA,QAAA,UAAA;KACR,WAA0B,KAAA,QAAA,aAAA;MAEjB,sBAAA,SAAA,WAAA,EADT,YAwBuB,MAAA,qBAAA,EAAA;;MAtBpB,IAAI,MAAM;MACV,YAAU,MAAM;MAChB,OAAK,eAAE,MAAA,iBAAgB,CAAC,QAAA,MAAQ,WAAS,EAAI,MAAM,YAAY,UAAS,CAAA;;6BAmBlE,CAjBP,WAiBO,KAAA,QAAA,gBAAA,EAAA,QAAA,CAAA,OAAA,OAAA,OAAA,KAfL,mBAcM,OAAA;OAbJ,OAAM;OACN,OAAM;OACN,QAAO;OACP,SAAQ;OACR,MAAK;OACL,QAAO;OACP,gBAAa;OACb,kBAAe;OACf,mBAAgB;OAChB,aAAU;OACV,eAAY;UAEZ,mBAAoC,YAAA,EAA1B,QAAO,kBAAgB,CAAA,CAAA,EAAA,GAAA,EAAA,CAAA,CAAA,CAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -64,6 +64,7 @@ import { InputVariants } from '@auronui/styles';
|
|
|
64
64
|
import { KbdVariants } from '@auronui/styles';
|
|
65
65
|
import { LabelVariants } from '@auronui/styles';
|
|
66
66
|
import { LinkVariants } from '@auronui/styles';
|
|
67
|
+
import { ListboxContentProps } from 'reka-ui';
|
|
67
68
|
import { ListBoxItemVariants } from '@auronui/styles';
|
|
68
69
|
import { ListBoxSectionVariants } from '@auronui/styles';
|
|
69
70
|
import { ListBoxVariants } from '@auronui/styles';
|
|
@@ -1536,6 +1537,7 @@ closeOnSelect: boolean;
|
|
|
1536
1537
|
isReadOnly: boolean;
|
|
1537
1538
|
granularity: "minute" | "second";
|
|
1538
1539
|
hideTimeZone: boolean;
|
|
1540
|
+
doneLabel: string;
|
|
1539
1541
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1540
1542
|
|
|
1541
1543
|
declare const __VLS_component_162: DefineComponent<__VLS_Props_181, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -2273,15 +2275,18 @@ declare const __VLS_component_96: DefineComponent<__VLS_Props_108, {}, {}, {}, {
|
|
|
2273
2275
|
highlight: (context: unknown) => any;
|
|
2274
2276
|
"entry-focus": (event: Event) => any;
|
|
2275
2277
|
leave: (event: Event) => any;
|
|
2278
|
+
"load-more": () => any;
|
|
2276
2279
|
}, string, PublicProps, Readonly<__VLS_Props_108> & Readonly<{
|
|
2277
2280
|
"onUpdate:modelValue"?: ((value: string | string[] | undefined) => any) | undefined;
|
|
2278
2281
|
onHighlight?: ((context: unknown) => any) | undefined;
|
|
2279
2282
|
"onEntry-focus"?: ((event: Event) => any) | undefined;
|
|
2280
2283
|
onLeave?: ((event: Event) => any) | undefined;
|
|
2284
|
+
"onLoad-more"?: (() => any) | undefined;
|
|
2281
2285
|
}>, {
|
|
2282
2286
|
variant: "default" | "danger";
|
|
2283
2287
|
isDisabled: boolean;
|
|
2284
2288
|
class: string | false | Record<string, unknown> | ClassValue[] | null;
|
|
2289
|
+
isLoading: boolean;
|
|
2285
2290
|
orientation: "horizontal" | "vertical";
|
|
2286
2291
|
as: string;
|
|
2287
2292
|
multiple: boolean;
|
|
@@ -2292,12 +2297,66 @@ defaultValue: string | string[];
|
|
|
2292
2297
|
name: string;
|
|
2293
2298
|
required: boolean;
|
|
2294
2299
|
dir: "ltr" | "rtl";
|
|
2300
|
+
maxHeight: string | number;
|
|
2295
2301
|
by: string;
|
|
2302
|
+
hideSelectedIcon: boolean;
|
|
2296
2303
|
selectionBehavior: "toggle" | "replace";
|
|
2297
2304
|
highlightOnHover: boolean;
|
|
2298
2305
|
contentAs: string;
|
|
2299
2306
|
contentAsChild: boolean;
|
|
2300
|
-
|
|
2307
|
+
virtualized: boolean;
|
|
2308
|
+
estimateSize: number | ((index: number) => number);
|
|
2309
|
+
overscan: number;
|
|
2310
|
+
hasMore: boolean;
|
|
2311
|
+
loadMoreDistance: number;
|
|
2312
|
+
loadMode: "scroll" | "button";
|
|
2313
|
+
loadMoreLabel: string;
|
|
2314
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
2315
|
+
content: ({
|
|
2316
|
+
$: ComponentInternalInstance;
|
|
2317
|
+
$data: {};
|
|
2318
|
+
$props: {
|
|
2319
|
+
readonly asChild?: boolean | undefined;
|
|
2320
|
+
readonly as?: (AsTag | Component) | undefined;
|
|
2321
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
2322
|
+
$attrs: Attrs;
|
|
2323
|
+
$refs: {
|
|
2324
|
+
[x: string]: unknown;
|
|
2325
|
+
};
|
|
2326
|
+
$slots: Readonly<{
|
|
2327
|
+
[name: string]: Slot<any> | undefined;
|
|
2328
|
+
}>;
|
|
2329
|
+
$root: ComponentPublicInstance | null;
|
|
2330
|
+
$parent: ComponentPublicInstance | null;
|
|
2331
|
+
$host: Element | null;
|
|
2332
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
2333
|
+
$el: any;
|
|
2334
|
+
$options: ComponentOptionsBase<Readonly<ListboxContentProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
2335
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
2336
|
+
created?: (() => void) | (() => void)[];
|
|
2337
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
2338
|
+
mounted?: (() => void) | (() => void)[];
|
|
2339
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
2340
|
+
updated?: (() => void) | (() => void)[];
|
|
2341
|
+
activated?: (() => void) | (() => void)[];
|
|
2342
|
+
deactivated?: (() => void) | (() => void)[];
|
|
2343
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
2344
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
2345
|
+
destroyed?: (() => void) | (() => void)[];
|
|
2346
|
+
unmounted?: (() => void) | (() => void)[];
|
|
2347
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
2348
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
2349
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
2350
|
+
};
|
|
2351
|
+
$forceUpdate: () => void;
|
|
2352
|
+
$nextTick: nextTick;
|
|
2353
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
2354
|
+
} & Readonly<{}> & Omit<Readonly<ListboxContentProps> & Readonly<{}>, never> & {} & ComponentCustomProperties & {} & {
|
|
2355
|
+
$slots: {
|
|
2356
|
+
default?: (props: {}) => any;
|
|
2357
|
+
};
|
|
2358
|
+
}) | null;
|
|
2359
|
+
}, any>;
|
|
2301
2360
|
|
|
2302
2361
|
declare const __VLS_component_97: DefineComponent<__VLS_Props_109, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
2303
2362
|
select: (event: Event) => any;
|
|
@@ -2317,6 +2376,7 @@ asChild: boolean;
|
|
|
2317
2376
|
indicatorAsChild: boolean;
|
|
2318
2377
|
indicatorAs: string;
|
|
2319
2378
|
textValue: string;
|
|
2379
|
+
hideSelectedIcon: boolean;
|
|
2320
2380
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
2321
2381
|
|
|
2322
2382
|
declare const __VLS_component_98: DefineComponent<__VLS_Props_110, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_110> & Readonly<{}>, {
|
|
@@ -2526,6 +2586,26 @@ declare type __VLS_Props_108 = {
|
|
|
2526
2586
|
contentAs?: string;
|
|
2527
2587
|
/** Merge content props onto child element. */
|
|
2528
2588
|
contentAsChild?: boolean;
|
|
2589
|
+
/** Hide the selected checkmark on all items (forwarded via context). */
|
|
2590
|
+
hideSelectedIcon?: boolean;
|
|
2591
|
+
/** Enable windowed rendering (opt-in). Renders from `items`. */
|
|
2592
|
+
virtualized?: boolean;
|
|
2593
|
+
/** Estimated row height in px (or per-index fn) for the virtualizer. */
|
|
2594
|
+
estimateSize?: number | ((index: number) => number);
|
|
2595
|
+
/** Rows rendered outside the visible area. */
|
|
2596
|
+
overscan?: number;
|
|
2597
|
+
/** Scroll-viewport height for the content when scrolling is active. */
|
|
2598
|
+
maxHeight?: string | number;
|
|
2599
|
+
/** Whether more pages remain to load (gates load-more). */
|
|
2600
|
+
hasMore?: boolean;
|
|
2601
|
+
/** A page is currently loading (gates load-more; drives #loading slot). */
|
|
2602
|
+
isLoading?: boolean;
|
|
2603
|
+
/** Distance in px from the bottom that triggers load-more. */
|
|
2604
|
+
loadMoreDistance?: number;
|
|
2605
|
+
/** How the next page is requested: auto on scroll, or a manual button. */
|
|
2606
|
+
loadMode?: 'scroll' | 'button';
|
|
2607
|
+
/** Label for the manual load-more button (loadMode="button"). */
|
|
2608
|
+
loadMoreLabel?: string;
|
|
2529
2609
|
};
|
|
2530
2610
|
|
|
2531
2611
|
declare type __VLS_Props_109 = {
|
|
@@ -2549,6 +2629,8 @@ declare type __VLS_Props_109 = {
|
|
|
2549
2629
|
indicatorAs?: string;
|
|
2550
2630
|
/** Merge indicator props onto child element. */
|
|
2551
2631
|
indicatorAsChild?: boolean;
|
|
2632
|
+
/** Hide this item's selected indicator. Falls back to the ListBox setting. */
|
|
2633
|
+
hideSelectedIcon?: boolean;
|
|
2552
2634
|
};
|
|
2553
2635
|
|
|
2554
2636
|
declare type __VLS_Props_11 = {
|
|
@@ -4156,17 +4238,16 @@ declare type __VLS_Props_174 = {
|
|
|
4156
4238
|
trigger: ClassValue;
|
|
4157
4239
|
triggerIndicator: ClassValue;
|
|
4158
4240
|
popover: ClassValue;
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
stepTitle: ClassValue;
|
|
4162
|
-
doneLabel: ClassValue;
|
|
4163
|
-
panelWrap: ClassValue;
|
|
4241
|
+
panel: ClassValue;
|
|
4242
|
+
divider: ClassValue;
|
|
4164
4243
|
}>;
|
|
4165
4244
|
granularity?: 'minute' | 'second';
|
|
4166
4245
|
hourCycle?: 12 | 24;
|
|
4167
4246
|
hideTimeZone?: boolean;
|
|
4168
4247
|
defaultOpen?: boolean;
|
|
4169
4248
|
closeOnSelect?: boolean;
|
|
4249
|
+
/** Label for the footer button that closes the picker. */
|
|
4250
|
+
doneLabel?: string;
|
|
4170
4251
|
locale?: string;
|
|
4171
4252
|
defaultValue?: CalendarDateTime;
|
|
4172
4253
|
/** Initial placeholder date for the calendar. */
|
|
@@ -6618,6 +6699,9 @@ declare function __VLS_template_161(): {
|
|
|
6618
6699
|
attrs: Partial<{}>;
|
|
6619
6700
|
slots: {
|
|
6620
6701
|
selectorIcon?(_: {}): any;
|
|
6702
|
+
footer?(_: {
|
|
6703
|
+
close: () => void;
|
|
6704
|
+
}): any;
|
|
6621
6705
|
};
|
|
6622
6706
|
refs: {};
|
|
6623
6707
|
rootEl: any;
|
|
@@ -7536,9 +7620,64 @@ declare function __VLS_template_95(): {
|
|
|
7536
7620
|
declare function __VLS_template_96(): {
|
|
7537
7621
|
attrs: Partial<{}>;
|
|
7538
7622
|
slots: {
|
|
7623
|
+
item?(_: {
|
|
7624
|
+
item: ListBoxShorthandItem;
|
|
7625
|
+
index: number;
|
|
7626
|
+
}): any;
|
|
7539
7627
|
default?(_: {}): any;
|
|
7628
|
+
loading?(_: {}): any;
|
|
7629
|
+
loadMore?(_: {
|
|
7630
|
+
loadMore: typeof requestLoadMore;
|
|
7631
|
+
isLoading: boolean;
|
|
7632
|
+
hasMore: true;
|
|
7633
|
+
}): any;
|
|
7634
|
+
};
|
|
7635
|
+
refs: {
|
|
7636
|
+
content: ({
|
|
7637
|
+
$: ComponentInternalInstance;
|
|
7638
|
+
$data: {};
|
|
7639
|
+
$props: {
|
|
7640
|
+
readonly asChild?: boolean | undefined;
|
|
7641
|
+
readonly as?: (AsTag | Component) | undefined;
|
|
7642
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
7643
|
+
$attrs: Attrs;
|
|
7644
|
+
$refs: {
|
|
7645
|
+
[x: string]: unknown;
|
|
7646
|
+
};
|
|
7647
|
+
$slots: Readonly<{
|
|
7648
|
+
[name: string]: Slot<any> | undefined;
|
|
7649
|
+
}>;
|
|
7650
|
+
$root: ComponentPublicInstance | null;
|
|
7651
|
+
$parent: ComponentPublicInstance | null;
|
|
7652
|
+
$host: Element | null;
|
|
7653
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
7654
|
+
$el: any;
|
|
7655
|
+
$options: ComponentOptionsBase<Readonly<ListboxContentProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
7656
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
7657
|
+
created?: (() => void) | (() => void)[];
|
|
7658
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
7659
|
+
mounted?: (() => void) | (() => void)[];
|
|
7660
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
7661
|
+
updated?: (() => void) | (() => void)[];
|
|
7662
|
+
activated?: (() => void) | (() => void)[];
|
|
7663
|
+
deactivated?: (() => void) | (() => void)[];
|
|
7664
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
7665
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
7666
|
+
destroyed?: (() => void) | (() => void)[];
|
|
7667
|
+
unmounted?: (() => void) | (() => void)[];
|
|
7668
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
7669
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
7670
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
7671
|
+
};
|
|
7672
|
+
$forceUpdate: () => void;
|
|
7673
|
+
$nextTick: nextTick;
|
|
7674
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
7675
|
+
} & Readonly<{}> & Omit<Readonly<ListboxContentProps> & Readonly<{}>, never> & {} & ComponentCustomProperties & {} & {
|
|
7676
|
+
$slots: {
|
|
7677
|
+
default?: (props: {}) => any;
|
|
7678
|
+
};
|
|
7679
|
+
}) | null;
|
|
7540
7680
|
};
|
|
7541
|
-
refs: {};
|
|
7542
7681
|
rootEl: any;
|
|
7543
7682
|
};
|
|
7544
7683
|
|
|
@@ -9744,6 +9883,7 @@ export declare function composeSlotClassName<V extends Record<string, unknown>>(
|
|
|
9744
9883
|
variant: Ref<ListBoxVariants['variant']>;
|
|
9745
9884
|
itemVariant: Ref<ListBoxItemVariants['variant']>;
|
|
9746
9885
|
isDisabled: Ref<boolean>;
|
|
9886
|
+
hideSelectedIcon: Ref<boolean>;
|
|
9747
9887
|
}
|
|
9748
9888
|
|
|
9749
9889
|
export declare const ListBoxItem: __VLS_WithTemplateSlots_97<typeof __VLS_component_97, __VLS_TemplateResult_97["slots"]>;
|
|
@@ -10650,6 +10790,8 @@ export declare function composeSlotClassName<V extends Record<string, unknown>>(
|
|
|
10650
10790
|
allowNonContiguousRanges: boolean;
|
|
10651
10791
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
10652
10792
|
|
|
10793
|
+
declare function requestLoadMore(): void;
|
|
10794
|
+
|
|
10653
10795
|
declare function reset(): void;
|
|
10654
10796
|
|
|
10655
10797
|
declare type RuleWithMessage<T> = T | {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@auronui/vue",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Vue 3 85 components with full visual and functional parity",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
"tailwind-merge": "3.5.0",
|
|
70
70
|
"tailwind-variants": "3.2.2",
|
|
71
71
|
"vee-validate": "^4.15.1",
|
|
72
|
-
"@auronui/styles": "1.0
|
|
72
|
+
"@auronui/styles": "1.1.0"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
75
|
"@chialab/vitest-axe": "0.19.1",
|
|
@@ -88,8 +88,8 @@
|
|
|
88
88
|
"vitest": "4.1.4",
|
|
89
89
|
"vue": "^3.5.32",
|
|
90
90
|
"vue-tsc": "^3.2.6",
|
|
91
|
-
"@auronui/
|
|
92
|
-
"@auronui/
|
|
91
|
+
"@auronui/standard": "0.0.0",
|
|
92
|
+
"@auronui/vitest": "0.0.0"
|
|
93
93
|
},
|
|
94
94
|
"scripts": {
|
|
95
95
|
"build": "vite build",
|