Skip to content

Commit e82a943

Browse files
fix ci
1 parent 1da9bb3 commit e82a943

File tree

5 files changed

+39
-69
lines changed

5 files changed

+39
-69
lines changed

packages/ui/etc/api/ui.api.md

Lines changed: 34 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ export const SAlert: __VLS_WithSlots_3<typeof __VLS_component_3, __VLS_Slots_3>;
361361
// Warning: (ae-forgotten-export) The symbol "__VLS_Slots" needs to be exported by the entry point lib.d.ts
362362
//
363363
// @public (undocumented)
364-
export const SBadge: __VLS_WithSlots_20<typeof __VLS_component_20, __VLS_Slots_20>;
364+
export const SBadge: __VLS_WithSlots_21<typeof __VLS_component_21, __VLS_Slots_21>;
365365

366366
// @public (undocumented)
367367
export const SBodyScrollLockProvider: DefineComponent<globalThis.ExtractPropTypes<{
@@ -395,28 +395,28 @@ export const SCheckboxAtom: FunctionalComponent<Props_8>;
395395
// Warning: (ae-forgotten-export) The symbol "__VLS_Slots" needs to be exported by the entry point lib.d.ts
396396
//
397397
// @public (undocumented)
398-
export const SCheckboxSolo: __VLS_WithSlots_21<typeof __VLS_component_21, __VLS_Slots_21>;
398+
export const SCheckboxSolo: __VLS_WithSlots_22<typeof __VLS_component_22, __VLS_Slots_22>;
399399

400400
// Warning: (ae-forgotten-export) The symbol "__VLS_WithSlots" needs to be exported by the entry point lib.d.ts
401401
// Warning: (ae-forgotten-export) The symbol "__VLS_component" needs to be exported by the entry point lib.d.ts
402402
// Warning: (ae-forgotten-export) The symbol "__VLS_Slots" needs to be exported by the entry point lib.d.ts
403403
//
404404
// @public (undocumented)
405-
export const SCollapseTransition: __VLS_WithSlots_22<typeof __VLS_component_22, __VLS_Slots_22>;
405+
export const SCollapseTransition: __VLS_WithSlots_23<typeof __VLS_component_23, __VLS_Slots_23>;
406406

407407
// Warning: (ae-forgotten-export) The symbol "__VLS_WithSlots" needs to be exported by the entry point lib.d.ts
408408
// Warning: (ae-forgotten-export) The symbol "__VLS_component" needs to be exported by the entry point lib.d.ts
409409
// Warning: (ae-forgotten-export) The symbol "__VLS_Slots" needs to be exported by the entry point lib.d.ts
410410
//
411411
// @public (undocumented)
412-
export const SDatePicker: __VLS_WithSlots_17<typeof __VLS_component_17, __VLS_Slots_17>;
412+
export const SDatePicker: __VLS_WithSlots_18<typeof __VLS_component_18, __VLS_Slots_18>;
413413

414414
// Warning: (ae-forgotten-export) The symbol "__VLS_WithSlots" needs to be exported by the entry point lib.d.ts
415415
// Warning: (ae-forgotten-export) The symbol "__VLS_component" needs to be exported by the entry point lib.d.ts
416416
// Warning: (ae-forgotten-export) The symbol "__VLS_Slots" needs to be exported by the entry point lib.d.ts
417417
//
418418
// @public (undocumented)
419-
export const SDropdown: __VLS_WithSlots_11<typeof __VLS_component_11, __VLS_Slots_11>;
419+
export const SDropdown: __VLS_WithSlots_12<typeof __VLS_component_12, __VLS_Slots_12>;
420420

421421
// @public (undocumented)
422422
export const SELECT_API_KEY: InjectionKey_2<SelectApi<any>>;
@@ -449,7 +449,7 @@ export interface SelectApi<T> extends UnwrapRef<UseSelectModelReturn<T>> {
449449
// (undocumented)
450450
readonly size: SelectSize;
451451
// (undocumented)
452-
updateSearchQuery: (value: string) => void;
452+
updateSearchQuery: (value: string | undefined) => void;
453453
}
454454

455455
// @public (undocumented)
@@ -555,28 +555,28 @@ export const SModalCard: __VLS_WithSlots_7<typeof __VLS_component_7, __VLS_Slots
555555
// Warning: (ae-forgotten-export) The symbol "__VLS_Slots" needs to be exported by the entry point lib.d.ts
556556
//
557557
// @public (undocumented)
558-
export const SNavigationMenu: __VLS_WithSlots_26<typeof __VLS_component_26, __VLS_Slots_26>;
558+
export const SNavigationMenu: __VLS_WithSlots_27<typeof __VLS_component_27, __VLS_Slots_27>;
559559

560560
// Warning: (ae-forgotten-export) The symbol "__VLS_WithSlots" needs to be exported by the entry point lib.d.ts
561561
// Warning: (ae-forgotten-export) The symbol "__VLS_component" needs to be exported by the entry point lib.d.ts
562562
// Warning: (ae-forgotten-export) The symbol "__VLS_Slots" needs to be exported by the entry point lib.d.ts
563563
//
564564
// @public (undocumented)
565-
export const SNavigationMenuItem: __VLS_WithSlots_25<typeof __VLS_component_25, __VLS_Slots_25>;
565+
export const SNavigationMenuItem: __VLS_WithSlots_26<typeof __VLS_component_26, __VLS_Slots_26>;
566566

567567
// Warning: (ae-forgotten-export) The symbol "__VLS_WithSlots" needs to be exported by the entry point lib.d.ts
568568
// Warning: (ae-forgotten-export) The symbol "__VLS_component" needs to be exported by the entry point lib.d.ts
569569
// Warning: (ae-forgotten-export) The symbol "__VLS_Slots" needs to be exported by the entry point lib.d.ts
570570
//
571571
// @public (undocumented)
572-
export const SNavigationSubmenu: __VLS_WithSlots_27<typeof __VLS_component_27, __VLS_Slots_27>;
572+
export const SNavigationSubmenu: __VLS_WithSlots_28<typeof __VLS_component_28, __VLS_Slots_28>;
573573

574574
// Warning: (ae-forgotten-export) The symbol "__VLS_WithSlots" needs to be exported by the entry point lib.d.ts
575575
// Warning: (ae-forgotten-export) The symbol "__VLS_component" needs to be exported by the entry point lib.d.ts
576576
// Warning: (ae-forgotten-export) The symbol "__VLS_Slots" needs to be exported by the entry point lib.d.ts
577577
//
578578
// @public (undocumented)
579-
export const SNotificationBody: __VLS_WithSlots_8<typeof __VLS_component_8, __VLS_Slots_8>;
579+
export const SNotificationBody: __VLS_WithSlots_9<typeof __VLS_component_9, __VLS_Slots_9>;
580580

581581
// @public (undocumented)
582582
export const SNotificationsProvider: FunctionalComponent<{
@@ -591,7 +591,7 @@ export const SNotificationsProvider: FunctionalComponent<{
591591
// Warning: (ae-forgotten-export) The symbol "__VLS_Slots" needs to be exported by the entry point lib.d.ts
592592
//
593593
// @public (undocumented)
594-
export const SPagination: __VLS_WithSlots_28<typeof __VLS_component_28, __VLS_Slots_28>;
594+
export const SPagination: __VLS_WithSlots_29<typeof __VLS_component_29, __VLS_Slots_29>;
595595

596596
// @public (undocumented)
597597
export const SPINNER_SIZE: Record<typeof BUTTON_SIZE_VALUES[number], string>;
@@ -679,12 +679,12 @@ hideDelay: string | number;
679679
// Warning: (ae-forgotten-export) The symbol "__VLS_Slots" needs to be exported by the entry point lib.d.ts
680680
//
681681
// @public (undocumented)
682-
export const SPopoverWrappedTransition: __VLS_WithSlots_9<typeof __VLS_component_9, __VLS_Slots_9>;
682+
export const SPopoverWrappedTransition: __VLS_WithSlots_10<typeof __VLS_component_10, __VLS_Slots_10>;
683683

684684
// Warning: (ae-forgotten-export) The symbol "__VLS_Props" needs to be exported by the entry point lib.d.ts
685685
//
686686
// @public (undocumented)
687-
export const SProgressBar: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{}>, {
687+
export const SProgressBar: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{}>, {
688688
lineHeight: number;
689689
percent: number;
690690
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
@@ -694,7 +694,7 @@ percent: number;
694694
// Warning: (ae-forgotten-export) The symbol "__VLS_Slots" needs to be exported by the entry point lib.d.ts
695695
//
696696
// @public (undocumented)
697-
export const SRadio: __VLS_WithSlots_23<typeof __VLS_component_23, __VLS_Slots_23>;
697+
export const SRadio: __VLS_WithSlots_24<typeof __VLS_component_24, __VLS_Slots_24>;
698698

699699
// Warning: (ae-forgotten-export) The symbol "Props" needs to be exported by the entry point lib.d.ts
700700
//
@@ -706,28 +706,28 @@ export const SRadioAtom: FunctionalComponent<Props_12>;
706706
// Warning: (ae-forgotten-export) The symbol "__VLS_Slots" needs to be exported by the entry point lib.d.ts
707707
//
708708
// @public (undocumented)
709-
export const SRadioGroup: __VLS_WithSlots_24<typeof __VLS_component_24, __VLS_Slots_24>;
709+
export const SRadioGroup: __VLS_WithSlots_25<typeof __VLS_component_25, __VLS_Slots_25>;
710710

711711
// Warning: (ae-forgotten-export) The symbol "__VLS_WithSlots" needs to be exported by the entry point lib.d.ts
712712
// Warning: (ae-forgotten-export) The symbol "__VLS_component" needs to be exported by the entry point lib.d.ts
713713
// Warning: (ae-forgotten-export) The symbol "__VLS_Slots" needs to be exported by the entry point lib.d.ts
714714
//
715715
// @public (undocumented)
716-
export const SSelect: __VLS_WithSlots_10<typeof __VLS_component_10, __VLS_Slots_10>;
716+
export const SSelect: __VLS_WithSlots_11<typeof __VLS_component_11, __VLS_Slots_11>;
717717

718718
// Warning: (ae-forgotten-export) The symbol "__VLS_WithSlots" needs to be exported by the entry point lib.d.ts
719719
// Warning: (ae-forgotten-export) The symbol "__VLS_component" needs to be exported by the entry point lib.d.ts
720720
// Warning: (ae-forgotten-export) The symbol "__VLS_Slots" needs to be exported by the entry point lib.d.ts
721721
//
722722
// @public (undocumented)
723-
export const SSelectBase: __VLS_WithSlots_12<typeof __VLS_component_12, __VLS_Slots_12>;
723+
export const SSelectBase: __VLS_WithSlots_13<typeof __VLS_component_13, __VLS_Slots_13>;
724724

725725
// Warning: (ae-forgotten-export) The symbol "__VLS_WithSlots" needs to be exported by the entry point lib.d.ts
726726
// Warning: (ae-forgotten-export) The symbol "__VLS_component" needs to be exported by the entry point lib.d.ts
727727
// Warning: (ae-forgotten-export) The symbol "__VLS_Slots" needs to be exported by the entry point lib.d.ts
728728
//
729729
// @public (undocumented)
730-
export const SSelectButton: __VLS_WithSlots_13<typeof __VLS_component_13, __VLS_Slots_13>;
730+
export const SSelectButton: __VLS_WithSlots_14<typeof __VLS_component_14, __VLS_Slots_14>;
731731

732732
// Warning: (ae-forgotten-export) The symbol "Props" needs to be exported by the entry point lib.d.ts
733733
//
@@ -739,14 +739,14 @@ export const SSelectChevron: FunctionalComponent<Props_3>;
739739
// Warning: (ae-forgotten-export) The symbol "__VLS_Slots" needs to be exported by the entry point lib.d.ts
740740
//
741741
// @public (undocumented)
742-
export const SSelectInput: __VLS_WithSlots_14<typeof __VLS_component_14, __VLS_Slots_14>;
742+
export const SSelectInput: __VLS_WithSlots_15<typeof __VLS_component_15, __VLS_Slots_15>;
743743

744744
// Warning: (ae-forgotten-export) The symbol "__VLS_WithSlots" needs to be exported by the entry point lib.d.ts
745745
// Warning: (ae-forgotten-export) The symbol "__VLS_component" needs to be exported by the entry point lib.d.ts
746746
// Warning: (ae-forgotten-export) The symbol "__VLS_Slots" needs to be exported by the entry point lib.d.ts
747747
//
748748
// @public (undocumented)
749-
export const SSelectOption: __VLS_WithSlots_15<typeof __VLS_component_15, __VLS_Slots_15>;
749+
export const SSelectOption: __VLS_WithSlots_16<typeof __VLS_component_16, __VLS_Slots_16>;
750750

751751
// Warning: (ae-forgotten-export) The symbol "Props" needs to be exported by the entry point lib.d.ts
752752
//
@@ -756,13 +756,13 @@ size: number | string;
756756
width: number | string;
757757
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
758758

759-
// Warning: (ae-forgotten-export) The symbol "Props" needs to be exported by the entry point lib.d.ts
759+
// Warning: (ae-forgotten-export) The symbol "__VLS_PublicProps" needs to be exported by the entry point lib.d.ts
760760
//
761761
// @public (undocumented)
762-
export const SSwitch: DefineComponent<Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
763-
"update:modelValue": (value: boolean) => any;
764-
}, string, PublicProps, Readonly<Props_5> & Readonly<{
765-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
762+
export const SSwitch: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
763+
"update:modelValue": (value: boolean | undefined) => any;
764+
}, string, PublicProps, Readonly<__VLS_PublicProps_5> & Readonly<{
765+
"onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
766766
}>, {
767767
label: string;
768768
disabled: boolean;
@@ -773,7 +773,7 @@ disabled: boolean;
773773
// Warning: (ae-forgotten-export) The symbol "__VLS_Slots" needs to be exported by the entry point lib.d.ts
774774
//
775775
// @public (undocumented)
776-
export const STab: __VLS_WithSlots_19<typeof __VLS_component_19, __VLS_Slots_19>;
776+
export const STab: __VLS_WithSlots_20<typeof __VLS_component_20, __VLS_Slots_20>;
777777

778778
// Warning: (ae-forgotten-export) The symbol "__VLS_PrettifyLocal" needs to be exported by the entry point lib.d.ts
779779
//
@@ -1015,7 +1015,7 @@ reserveSelection: boolean;
10151015
// Warning: (ae-forgotten-export) The symbol "__VLS_Slots" needs to be exported by the entry point lib.d.ts
10161016
//
10171017
// @public (undocumented)
1018-
export const STabsPanel: __VLS_WithSlots_18<typeof __VLS_component_18, __VLS_Slots_18>;
1018+
export const STabsPanel: __VLS_WithSlots_19<typeof __VLS_component_19, __VLS_Slots_19>;
10191019

10201020
// @public (undocumented)
10211021
export interface StateStore {
@@ -1043,7 +1043,7 @@ export type Status = typeof Status[keyof typeof Status];
10431043
// Warning: (ae-forgotten-export) The symbol "__VLS_Slots" needs to be exported by the entry point lib.d.ts
10441044
//
10451045
// @public (undocumented)
1046-
export const STextField: __VLS_WithSlots_16<typeof __VLS_component_16, __VLS_Slots_16>;
1046+
export const STextField: __VLS_WithSlots_17<typeof __VLS_component_17, __VLS_Slots_17>;
10471047

10481048
// @public (undocumented)
10491049
export const SToastsDisplay: DefineComponent<globalThis.ExtractPropTypes<{
@@ -1116,45 +1116,14 @@ apiKey: ProvideKey | ProvideKey[];
11161116
// Warning: (ae-forgotten-export) The symbol "__VLS_Slots" needs to be exported by the entry point lib.d.ts
11171117
//
11181118
// @public (undocumented)
1119-
export const STooltip: __VLS_WithSlots_29<typeof __VLS_component_29, __VLS_Slots_29>;
1119+
export const STooltip: __VLS_WithSlots_30<typeof __VLS_component_30, __VLS_Slots_30>;
11201120

1121+
// Warning: (ae-forgotten-export) The symbol "__VLS_WithSlots" needs to be exported by the entry point lib.d.ts
1122+
// Warning: (ae-forgotten-export) The symbol "__VLS_component" needs to be exported by the entry point lib.d.ts
1123+
// Warning: (ae-forgotten-export) The symbol "__VLS_Slots" needs to be exported by the entry point lib.d.ts
1124+
//
11211125
// @public (undocumented)
1122-
export const SUseNotification: DefineComponent<globalThis.ExtractPropTypes<{
1123-
show: BooleanConstructor;
1124-
title: StringConstructor;
1125-
status: {
1126-
type: PropType_2<Status_2>;
1127-
default: "info";
1128-
};
1129-
timeout: {
1130-
type: NumberConstructor;
1131-
default: number;
1132-
};
1133-
showCloseBtn: BooleanConstructor;
1134-
description: StringConstructor;
1135-
}>, () => null, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("click:close" | "update:show" | "timeout")[], "click:close" | "update:show" | "timeout", PublicProps, Readonly<globalThis.ExtractPropTypes<{
1136-
show: BooleanConstructor;
1137-
title: StringConstructor;
1138-
status: {
1139-
type: PropType_2<Status_2>;
1140-
default: "info";
1141-
};
1142-
timeout: {
1143-
type: NumberConstructor;
1144-
default: number;
1145-
};
1146-
showCloseBtn: BooleanConstructor;
1147-
description: StringConstructor;
1148-
}>> & Readonly<{
1149-
"onClick:close"?: ((...args: any[]) => any) | undefined;
1150-
"onUpdate:show"?: ((...args: any[]) => any) | undefined;
1151-
onTimeout?: ((...args: any[]) => any) | undefined;
1152-
}>, {
1153-
status: Status_2;
1154-
showCloseBtn: boolean;
1155-
show: boolean;
1156-
timeout: number;
1157-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
1126+
export const SUseNotification: __VLS_WithSlots_8<typeof __VLS_component_8, __VLS_Slots_8>;
11581127

11591128
// @public (undocumented)
11601129
export const TABLE_API_KEY: InjectionKey_2<DeepReadonly<TableApi>>;

packages/ui/src/components/Select/SDropdown.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ const buttonType = computed(() => (props.inline ? SelectButtonType.Inline : Sele
2727
2828
const slots = defineSlots<{
2929
label?: (api: SelectApi<any>) => any
30+
empty?: () => any
3031
}>()
3132
3233
function isThereLabelSlot() {

packages/ui/src/components/Select/SSelectBase.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ whenever(not(showPopper), () => {
146146
updateSearchQuery('')
147147
})
148148
149-
function updateSearchQuery(query: string) {
150-
searchQuery.value = query
149+
function updateSearchQuery(query: string | undefined) {
150+
searchQuery.value = query ?? ''
151151
152152
emit('search', searchQuery.value)
153153
}

packages/ui/src/components/Select/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export interface SelectApi<T> extends UnwrapRef<UseSelectModelReturn<T>> {
2020
* Set menu visibility manually
2121
*/
2222
menuToggle: (value?: boolean) => void
23-
updateSearchQuery: (value: string) => void
23+
updateSearchQuery: (value: string | undefined) => void
2424
}
2525

2626
export const SELECT_API_KEY: InjectionKey<SelectApi<any>> = Symbol('SelectAPI')

packages/ui/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"paths": {
66
"@/*": ["src/*"]
77
},
8-
"types": ["vitest/importMeta", "vue/macros-global"]
8+
"types": ["vitest/importMeta"]
99
},
1010
"include": ["src", "auto-imports.d.ts"],
1111
"exclude": ["dist", "dist-ts"]

0 commit comments

Comments
 (0)