@wisemen/vue-core-components 1.0.0 → 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/{CalendarIcon-DJ8yrU5H.js → CalendarIcon-ov4oOm7t.js} +1 -1
- package/dist/{CheckIcon-TDIWRGXu.js → CheckIcon-DKCCStaL.js} +1 -1
- package/dist/{ChevronLeftDoubleIcon-CL6YMLTg.js → ChevronLeftDoubleIcon-aG6nY5th.js} +1 -1
- package/dist/{ChevronLeftIcon-B6n5aPKv.js → ChevronLeftIcon-DDaRHPWC.js} +1 -1
- package/dist/{ChevronRightDoubleIcon-qucgzjtb.js → ChevronRightDoubleIcon-4x90Up7e.js} +1 -1
- package/dist/{ChevronRightIcon-Ike0JI3T.js → ChevronRightIcon-CZU8oyxa.js} +1 -1
- package/dist/{CloseIcon-CtfHwf6h.js → CloseIcon-D5_g4SV_.js} +1 -1
- package/dist/{EyeIcon-BpNsByJH.js → EyeIcon-CrVFkfjP.js} +1 -1
- package/dist/{EyeOffIcon-DvrmqBlJ.js → EyeOffIcon-Bvizr3GN.js} +1 -1
- package/dist/{MinusIcon-yPdYSKCz.js → MinusIcon-Pe6gCl8K.js} +1 -1
- package/dist/{PlusIcon-DDnJ4AvI.js → PlusIcon-B1aDBCI4.js} +1 -1
- package/dist/{SearchIcon-BVmjCDNb.js → SearchIcon-COf6exDf.js} +1 -1
- package/dist/{SelectIconRight-BhVqFdXO.js → SelectIconRight-CxNBaYb7.js} +1 -1
- package/dist/{StarsIcon-iUNdABVz.js → StarsIcon-C-7HxOG7.js} +1 -1
- package/dist/{TranslateIcon-BBAVywdz.js → TranslateIcon-B1EUrG0F.js} +1 -1
- package/dist/components/autocomplete/Autocomplete.d.ts +1 -3
- package/dist/components/avatar/avatar.props.d.ts +2 -2
- package/dist/components/avatar/parts/AvatarRoot.d.ts +0 -1
- package/dist/components/button/default-button/parts/ButtonRoot.d.ts +0 -1
- package/dist/components/button/icon-button/iconButton.style.d.ts +5 -0
- package/dist/components/button/icon-button/parts/IconButtonRoot.d.ts +0 -1
- package/dist/components/button/router-link-button/parts/RouterLinkButtonRoot.d.ts +0 -1
- package/dist/components/button/router-link-button/routerLinkButton.props.d.ts +1 -0
- package/dist/components/button/shared/sharedButton.props.d.ts +2 -2
- package/dist/components/checkbox/Checkbox.d.ts +1 -0
- package/dist/components/checkbox/checkbox.props.d.ts +2 -2
- package/dist/components/checkbox/checkbox.style.d.ts +3 -0
- package/dist/components/checkbox/index.d.ts +2 -0
- package/dist/components/checkbox/parts/CheckboxControl.d.ts +2 -0
- package/dist/components/checkbox/parts/CheckboxRoot.d.ts +1 -1
- package/dist/components/checkbox-group/CheckboxGroup.d.ts +1 -3
- package/dist/components/checkbox-group/checkboxGroup.props.d.ts +2 -2
- package/dist/components/checkbox-group/parts/CheckboxGroupRoot.d.ts +1 -3
- package/dist/components/date-field/dateField.props.d.ts +2 -2
- package/dist/components/date-field/parts/DateFieldRoot.d.ts +1 -1
- package/dist/components/date-picker/shared/sharedDatePicker.props.d.ts +2 -2
- package/dist/components/date-picker/single/parts/DatePickerRoot.d.ts +0 -1
- package/dist/components/dialog/Dialog.d.ts +0 -1
- package/dist/components/dialog/dialog.props.d.ts +2 -2
- package/dist/components/dialog/parts/DialogRoot.d.ts +0 -1
- package/dist/components/dropdown-menu/dropdownMenu.props.d.ts +3 -3
- package/dist/components/dropdown-menu/parts/DropdownMenuItem.d.ts +0 -1
- package/dist/components/dropdown-menu/parts/DropdownMenuRoot.d.ts +0 -1
- package/dist/components/dropdown-menu/parts/DropdownMenuSubMenu.d.ts +0 -1
- package/dist/components/form-field/parts/FormFieldRoot.d.ts +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/keyboard-key/keyboardKey.style.d.ts +3 -3
- package/dist/components/keyboard-shortcut/KeyboardShortcut.d.ts +5 -1
- package/dist/components/keyboard-shortcut/keyboardShortcut.props.d.ts +7 -1
- package/dist/components/keyboard-shortcut/keyboardShortcut.style.d.ts +19 -0
- package/dist/components/number-field/numberField.props.d.ts +2 -2
- package/dist/components/number-field/parts/NumberFieldRoot.d.ts +1 -1
- package/dist/components/popover/parts/PopoverRoot.d.ts +0 -1
- package/dist/components/popover/popover.props.d.ts +2 -2
- package/dist/components/radio-group/RadioGroup.d.ts +1 -3
- package/dist/components/radio-group/parts/RadioGroupRoot.d.ts +1 -3
- package/dist/components/radio-group/radioGroup.props.d.ts +2 -2
- package/dist/components/radio-group-item/RadioGroupItem.d.ts +1 -0
- package/dist/components/radio-group-item/index.d.ts +2 -0
- package/dist/components/radio-group-item/parts/RadioGroupItemControl.d.ts +2 -0
- package/dist/components/radio-group-item/parts/RadioGroupItemRoot.d.ts +1 -1
- package/dist/components/radio-group-item/radioGroupItem.props.d.ts +2 -2
- package/dist/components/radio-group-item/radioGroupItem.style.d.ts +3 -0
- package/dist/components/select/Select.d.ts +1 -3
- package/dist/components/select/parts/SelectBaseInlineSearch.d.ts +68 -1
- package/dist/components/select/parts/SelectBaseMultiple.d.ts +4 -4
- package/dist/components/select/parts/SelectContent.d.ts +2 -2
- package/dist/components/select/parts/SelectItem.d.ts +1 -0
- package/dist/components/select/parts/SelectRoot.d.ts +1 -3
- package/dist/components/select/select.props.d.ts +8 -3
- package/dist/components/shared/FormControl.d.ts +1 -0
- package/dist/components/shared/{PrimitiveElement.d.ts → TestIdProvider.d.ts} +0 -2
- package/dist/components/spinner/index.d.ts +1 -0
- package/dist/components/switch/parts/SwitchRoot.d.ts +1 -1
- package/dist/components/switch/switch.props.d.ts +2 -2
- package/dist/components/tabs/button/ButtonTabs.d.ts +3 -5
- package/dist/components/tabs/button/buttonTabs.props.d.ts +5 -7
- package/dist/components/tabs/button/parts/ButtonTabsContent.d.ts +0 -1
- package/dist/components/tabs/button/parts/ButtonTabsItem.d.ts +1 -3
- package/dist/components/tabs/router-link/RouterLinkTabs.d.ts +0 -9
- package/dist/components/tabs/router-link/parts/RouterLinkTabsItem.d.ts +1 -3
- package/dist/components/tabs/shared/parts/TabsRoot.d.ts +3 -5
- package/dist/components/tabs/shared/tabs.props.d.ts +4 -3
- package/dist/components/text-field/TextField.d.ts +1 -3
- package/dist/components/text-field/parts/TextFieldRoot.d.ts +1 -3
- package/dist/components/text-field/textField.props.d.ts +2 -2
- package/dist/components/textarea/Textarea.d.ts +1 -3
- package/dist/components/textarea/parts/TextareaRoot.d.ts +1 -1
- package/dist/components/textarea/textarea.props.d.ts +2 -2
- package/dist/components/time-field/parts/TimeFieldInput.d.ts +1 -1
- package/dist/components/time-field/parts/TimeFieldRoot.d.ts +1 -1
- package/dist/components/time-field/timeField.props.d.ts +2 -2
- package/dist/components/tooltip/parts/TooltipRoot.d.ts +0 -1
- package/dist/components/tooltip/tooltip.props.d.ts +2 -2
- package/dist/customClassVariants.d.ts +4 -2
- package/dist/index-CUZPwdwp.js +27771 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +121 -116
- package/dist/index.umd +23 -14
- package/dist/style.css +1 -1
- package/dist/types/routes.type.d.ts +2 -0
- package/dist/utils/props.util.d.ts +6 -6
- package/package.json +2 -2
- package/dist/components/select/parts/SelectInlineSearchInput.d.ts +0 -61
- package/dist/components/select/parts/SelectSearchInput.d.ts +0 -24
- package/dist/index-Db67mh4m.js +0 -16785
|
@@ -19,9 +19,7 @@ declare const _default: <TValue extends AcceptableValue>(__VLS_props: NonNullabl
|
|
|
19
19
|
}): any;
|
|
20
20
|
};
|
|
21
21
|
emit: ((evt: "search", searchTerm: string) => void) & ((evt: "update:modelValue", value: TValue) => void);
|
|
22
|
-
}>) => import('vue').VNode
|
|
23
|
-
[key: string]: any;
|
|
24
|
-
}> & {
|
|
22
|
+
}>) => import('vue').VNode & {
|
|
25
23
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
26
24
|
};
|
|
27
25
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GetComponentPropCustomValues } from '../../customClassVariants';
|
|
2
|
-
import { CustomizableElement,
|
|
3
|
-
export interface AvatarProps extends
|
|
2
|
+
import { CustomizableElement, TestId } from '../../utils/props.util';
|
|
3
|
+
export interface AvatarProps extends TestId, CustomizableElement<'avatar'> {
|
|
4
4
|
/**
|
|
5
5
|
* The name of the user or entity represented by the avatar.
|
|
6
6
|
* This is used for accessibility and as a fallback if no image is provided.
|
|
@@ -9,7 +9,6 @@ declare function __VLS_template(): {
|
|
|
9
9
|
};
|
|
10
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
11
|
declare const __VLS_component: import('vue').DefineComponent<AvatarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<AvatarProps> & Readonly<{}>, {
|
|
12
|
-
id: string | null;
|
|
13
12
|
testId: string | null;
|
|
14
13
|
src: string | null;
|
|
15
14
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -22,7 +22,6 @@ declare const __VLS_component: import('vue').DefineComponent<ButtonProps, {}, {}
|
|
|
22
22
|
iconLeft: import('../../../..').Icon | null;
|
|
23
23
|
iconRight: import('../../../..').Icon | null;
|
|
24
24
|
isLoading: boolean;
|
|
25
|
-
id: string | null;
|
|
26
25
|
testId: string | null;
|
|
27
26
|
isDisabled: boolean;
|
|
28
27
|
classConfig: import('../../../../customClassVariants').ClassConfig<"button"> | null;
|
|
@@ -4,22 +4,27 @@ export declare const createIconButtonStyle: import('tailwind-variants').TVReturn
|
|
|
4
4
|
'2xl': {
|
|
5
5
|
icon: string;
|
|
6
6
|
loader: string;
|
|
7
|
+
root: string;
|
|
7
8
|
};
|
|
8
9
|
lg: {
|
|
9
10
|
icon: string;
|
|
10
11
|
loader: string;
|
|
12
|
+
root: string;
|
|
11
13
|
};
|
|
12
14
|
md: {
|
|
13
15
|
icon: string;
|
|
14
16
|
loader: string;
|
|
17
|
+
root: string;
|
|
15
18
|
};
|
|
16
19
|
sm: {
|
|
17
20
|
icon: string;
|
|
18
21
|
loader: string;
|
|
22
|
+
root: string;
|
|
19
23
|
};
|
|
20
24
|
xl: {
|
|
21
25
|
icon: string;
|
|
22
26
|
loader: string;
|
|
27
|
+
root: string;
|
|
23
28
|
};
|
|
24
29
|
};
|
|
25
30
|
}, {
|
|
@@ -20,7 +20,6 @@ declare const __VLS_component: import('vue').DefineComponent<IconButtonProps, {}
|
|
|
20
20
|
variant: "destructive-primary" | "destructive-secondary" | "destructive-tertiary" | "primary" | "secondary" | "tertiary";
|
|
21
21
|
size: "2xl" | "lg" | "md" | "sm" | "xl";
|
|
22
22
|
isLoading: boolean;
|
|
23
|
-
id: string | null;
|
|
24
23
|
testId: string | null;
|
|
25
24
|
isDisabled: boolean;
|
|
26
25
|
classConfig: import('../../../../customClassVariants').ClassConfig<"iconButton"> | null;
|
|
@@ -13,7 +13,6 @@ declare const __VLS_component: import('vue').DefineComponent<RouterLinkButtonPro
|
|
|
13
13
|
size: "2xl" | "lg" | "md" | "sm" | "xl";
|
|
14
14
|
iconLeft: import('../../../..').Icon | null;
|
|
15
15
|
iconRight: import('../../../..').Icon | null;
|
|
16
|
-
id: string | null;
|
|
17
16
|
testId: string | null;
|
|
18
17
|
classConfig: import('../../../../customClassVariants').ClassConfig<"button"> | null;
|
|
19
18
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { TextButtonProps } from '../shared/textButton.props';
|
|
2
|
+
import { Routes } from '../../../types/routes.type';
|
|
2
3
|
export interface RouterLinkButtonProps extends Omit<TextButtonProps, 'isDisabled' | 'isLoading' | 'type'> {
|
|
3
4
|
/**
|
|
4
5
|
* The route to navigate to when the button is clicked.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { InteractableElement,
|
|
2
|
-
export interface SharedButtonProps extends
|
|
1
|
+
import { InteractableElement, TestId } from '../../../utils/props.util';
|
|
2
|
+
export interface SharedButtonProps extends TestId, InteractableElement {
|
|
3
3
|
/**
|
|
4
4
|
* Indicates whether the button is in a loading state. When true, interactions are disabled.
|
|
5
5
|
* @default false
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AcceptableValue } from 'reka-ui';
|
|
2
2
|
import { GetComponentPropCustomValues } from '../../customClassVariants';
|
|
3
|
-
import { CustomizableElement, FormElement, InteractableElement,
|
|
3
|
+
import { CustomizableElement, FormElement, InteractableElement, TestId } from '../../utils/props.util';
|
|
4
4
|
export type CheckboxValue = AcceptableValue;
|
|
5
|
-
export interface CheckboxProps extends
|
|
5
|
+
export interface CheckboxProps extends TestId, InteractableElement, FormElement, CustomizableElement<'checkbox'> {
|
|
6
6
|
/**
|
|
7
7
|
* Whether the checkbox is indeterminate.
|
|
8
8
|
* @default false
|
|
@@ -2,16 +2,19 @@ import { VariantProps } from 'tailwind-variants';
|
|
|
2
2
|
export declare const createCheckboxStyle: import('tailwind-variants').TVReturnType<{
|
|
3
3
|
variant: {};
|
|
4
4
|
}, {
|
|
5
|
+
control: string;
|
|
5
6
|
indicator: string;
|
|
6
7
|
root: string;
|
|
7
8
|
}, undefined, {
|
|
8
9
|
variant: {};
|
|
9
10
|
}, {
|
|
11
|
+
control: string;
|
|
10
12
|
indicator: string;
|
|
11
13
|
root: string;
|
|
12
14
|
}, import('tailwind-variants').TVReturnType<{
|
|
13
15
|
variant: {};
|
|
14
16
|
}, {
|
|
17
|
+
control: string;
|
|
15
18
|
indicator: string;
|
|
16
19
|
root: string;
|
|
17
20
|
}, undefined, unknown, unknown, undefined>>;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
export type { CheckboxProps as VcCheckboxProps } from './checkbox.props';
|
|
2
2
|
export { default as VcCheckbox } from './Checkbox';
|
|
3
|
+
export { default as VcCheckboxControl } from './parts/CheckboxControl';
|
|
3
4
|
export { default as VcCheckboxIndicator } from './parts/CheckboxIndicator';
|
|
5
|
+
export { default as VcCheckboxRoot } from './parts/CheckboxRoot';
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
+
export default _default;
|
|
@@ -26,9 +26,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
26
26
|
label: string | null;
|
|
27
27
|
hint: string | null;
|
|
28
28
|
value: import('../checkbox.props').CheckboxValue;
|
|
29
|
-
id: string | null;
|
|
30
29
|
testId: string | null;
|
|
31
30
|
isDisabled: boolean;
|
|
31
|
+
id: string | null;
|
|
32
32
|
isRequired: boolean;
|
|
33
33
|
isTouched: boolean;
|
|
34
34
|
errorMessage: string | null;
|
|
@@ -17,9 +17,7 @@ declare const _default: <TValue extends AcceptableValue>(__VLS_props: NonNullabl
|
|
|
17
17
|
default?(_: {}): any;
|
|
18
18
|
};
|
|
19
19
|
emit: CheckboxGroupEmits & ((evt: "update:modelValue", value: TValue[]) => void);
|
|
20
|
-
}>) => import('vue').VNode
|
|
21
|
-
[key: string]: any;
|
|
22
|
-
}> & {
|
|
20
|
+
}>) => import('vue').VNode & {
|
|
23
21
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
24
22
|
};
|
|
25
23
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FormElement, InteractableElement,
|
|
2
|
-
export interface CheckboxGroupProps extends
|
|
1
|
+
import { FormElement, InteractableElement, TestId } from '../../utils/props.util';
|
|
2
|
+
export interface CheckboxGroupProps extends TestId, InteractableElement, FormElement {
|
|
3
3
|
}
|
|
@@ -14,9 +14,7 @@ declare const _default: <TValue extends AcceptableValue>(__VLS_props: NonNullabl
|
|
|
14
14
|
default?(_: {}): any;
|
|
15
15
|
};
|
|
16
16
|
emit: CheckboxGroupEmits & ((evt: "update:modelValue", value: TValue[]) => void);
|
|
17
|
-
}>) => import('vue').VNode
|
|
18
|
-
[key: string]: any;
|
|
19
|
-
}> & {
|
|
17
|
+
}>) => import('vue').VNode & {
|
|
20
18
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
21
19
|
};
|
|
22
20
|
export default _default;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { GetComponentPropCustomValues } from '../../customClassVariants';
|
|
2
2
|
import { Icon } from '../../icons/icons';
|
|
3
3
|
import { SharedDateProps } from '../../types/shareDateProps.type';
|
|
4
|
-
import { CustomizableElement, FormElement, InteractableElement,
|
|
5
|
-
export interface DateFieldProps extends
|
|
4
|
+
import { CustomizableElement, FormElement, InteractableElement, TestId } from '../../utils/props.util';
|
|
5
|
+
export interface DateFieldProps extends TestId, InteractableElement, FormElement, SharedDateProps, CustomizableElement<'dateField', [
|
|
6
6
|
{
|
|
7
7
|
name: 'datePicker';
|
|
8
8
|
component: 'datePicker';
|
|
@@ -32,9 +32,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
32
32
|
label: string | null;
|
|
33
33
|
hint: string | null;
|
|
34
34
|
isLoading: boolean;
|
|
35
|
-
id: string | null;
|
|
36
35
|
testId: string | null;
|
|
37
36
|
isDisabled: boolean;
|
|
37
|
+
id: string | null;
|
|
38
38
|
isRequired: boolean;
|
|
39
39
|
isTouched: boolean;
|
|
40
40
|
errorMessage: string | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SharedDateProps } from '../../../types/shareDateProps.type';
|
|
2
|
-
import { InteractableElement,
|
|
3
|
-
export interface SharedDatePickerProps extends
|
|
2
|
+
import { InteractableElement, TestId } from '../../../utils/props.util';
|
|
3
|
+
export interface SharedDatePickerProps extends TestId, InteractableElement, SharedDateProps {
|
|
4
4
|
/**
|
|
5
5
|
* Whether the calendar should focus on the selected day, today’s date,
|
|
6
6
|
* or the first day of the month when mounted.
|
|
@@ -26,7 +26,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
26
26
|
"onUpdate:placeholderValue"?: ((value: Date) => any) | undefined;
|
|
27
27
|
}>, {
|
|
28
28
|
variant: import('../../../../customClassVariants').GetComponentPropCustomValues<"datePicker", "variant"> | null;
|
|
29
|
-
id: string | null;
|
|
30
29
|
testId: string | null;
|
|
31
30
|
isDisabled: boolean;
|
|
32
31
|
maxDate: Date | null;
|
|
@@ -27,7 +27,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
27
27
|
onClose?: (() => any) | undefined;
|
|
28
28
|
"onUpdate:isOpen"?: ((value: boolean) => any) | undefined;
|
|
29
29
|
}>, {
|
|
30
|
-
id: string | null;
|
|
31
30
|
testId: string | null;
|
|
32
31
|
classConfig: (import('../../customClassVariants').ClassConfig<"dialog"> & {
|
|
33
32
|
closeButton?: import('../../customClassVariants').ClassConfig<"iconButton"> | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GetComponentPropCustomValues } from '../../customClassVariants';
|
|
2
|
-
import { CustomizableElement,
|
|
3
|
-
export interface DialogProps extends
|
|
2
|
+
import { CustomizableElement, TestId } from '../../utils/props.util';
|
|
3
|
+
export interface DialogProps extends TestId, CustomizableElement<'dialog', [
|
|
4
4
|
{
|
|
5
5
|
name: 'closeButton';
|
|
6
6
|
component: 'iconButton';
|
|
@@ -28,7 +28,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
28
28
|
"onUpdate:isOpen"?: ((value: boolean) => any) | undefined;
|
|
29
29
|
}>, {
|
|
30
30
|
variant: import('../../../customClassVariants').GetComponentPropCustomValues<"dialog", "variant"> | null;
|
|
31
|
-
id: string | null;
|
|
32
31
|
testId: string | null;
|
|
33
32
|
classConfig: (import('../../../customClassVariants').ClassConfig<"dialog"> & {
|
|
34
33
|
closeButton?: import('../../../customClassVariants').ClassConfig<"iconButton"> | undefined;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { GetComponentPropCustomValues } from '../../customClassVariants';
|
|
2
2
|
import { Icon } from '../../icons/icons';
|
|
3
3
|
import { PopperPropsWithArrowVisibleByDefault } from '../../types/popperProps.type';
|
|
4
|
-
import { CustomizableElement, InteractableElement,
|
|
5
|
-
export interface DropdownMenuProps extends
|
|
4
|
+
import { CustomizableElement, InteractableElement, TestId } from '../../utils/props.util';
|
|
5
|
+
export interface DropdownMenuProps extends TestId, InteractableElement, PopperPropsWithArrowVisibleByDefault, CustomizableElement<'dropdownMenu'> {
|
|
6
6
|
/**
|
|
7
7
|
*
|
|
8
8
|
*/
|
|
9
9
|
variant?: GetComponentPropCustomValues<'dropdownMenu', 'variant'> | null;
|
|
10
10
|
}
|
|
11
|
-
export interface DropdownMenuItemProps extends
|
|
11
|
+
export interface DropdownMenuItemProps extends TestId, InteractableElement {
|
|
12
12
|
/**
|
|
13
13
|
* Whether the item is destructive or dangerous.
|
|
14
14
|
* @default false
|
|
@@ -15,7 +15,6 @@ declare const __VLS_component: import('vue').DefineComponent<DropdownMenuItemPro
|
|
|
15
15
|
onSelect?: (() => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
17
|
icon: import('../../..').Icon | null;
|
|
18
|
-
id: string | null;
|
|
19
18
|
testId: string | null;
|
|
20
19
|
isDisabled: boolean;
|
|
21
20
|
isDestructive: boolean;
|
|
@@ -19,7 +19,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
19
19
|
}>, {
|
|
20
20
|
variant: import('../../../customClassVariants').GetComponentPropCustomValues<"dropdownMenu", "variant"> | null;
|
|
21
21
|
isPopoverArrowHidden: boolean;
|
|
22
|
-
id: string | null;
|
|
23
22
|
testId: string | null;
|
|
24
23
|
isDisabled: boolean;
|
|
25
24
|
popoverAlign: import('../../../types/popperProps.type').PopperAlign;
|
|
@@ -11,7 +11,6 @@ declare function __VLS_template(): {
|
|
|
11
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
12
|
declare const __VLS_component: import('vue').DefineComponent<DropdownMenuItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DropdownMenuItemProps> & Readonly<{}>, {
|
|
13
13
|
icon: import('../../..').Icon | null;
|
|
14
|
-
id: string | null;
|
|
15
14
|
testId: string | null;
|
|
16
15
|
isDisabled: boolean;
|
|
17
16
|
isDestructive: boolean;
|
|
@@ -12,6 +12,7 @@ declare const __VLS_component: import('vue').DefineComponent<FormFieldProps, {},
|
|
|
12
12
|
variant: import('../../../customClassVariants').GetComponentPropCustomValues<"formField", "variant"> | null;
|
|
13
13
|
label: string | null;
|
|
14
14
|
hint: string | null;
|
|
15
|
+
id: string | null;
|
|
15
16
|
isRequired: boolean;
|
|
16
17
|
isTouched: boolean;
|
|
17
18
|
errorMessage: string | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VariantProps } from 'tailwind-variants';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const createKeyboardKeyStyle: import('tailwind-variants').TVReturnType<{
|
|
3
3
|
variant: {};
|
|
4
4
|
}, {
|
|
5
5
|
key: string;
|
|
@@ -12,5 +12,5 @@ export declare const createkeyboardKeyStyle: import('tailwind-variants').TVRetur
|
|
|
12
12
|
}, {
|
|
13
13
|
key: string;
|
|
14
14
|
}, undefined, unknown, unknown, undefined>>;
|
|
15
|
-
export type keyboardKeyStyle = VariantProps<typeof
|
|
16
|
-
export type CreatekeyboardKeyStyle = ReturnType<typeof
|
|
15
|
+
export type keyboardKeyStyle = VariantProps<typeof createKeyboardKeyStyle>;
|
|
16
|
+
export type CreatekeyboardKeyStyle = ReturnType<typeof createKeyboardKeyStyle>;
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
import { KeyboardShortcutProps } from './keyboardShortcut.props';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<KeyboardShortcutProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<KeyboardShortcutProps> & Readonly<{}>, {
|
|
2
|
+
declare const _default: import('vue').DefineComponent<KeyboardShortcutProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<KeyboardShortcutProps> & Readonly<{}>, {
|
|
3
|
+
classConfig: (import('../../customClassVariants').ClassConfig<"keyboardShortcut"> & {
|
|
4
|
+
keyboardKey?: import('../../customClassVariants').ClassConfig<"keyboardKey"> | undefined;
|
|
5
|
+
}) | null;
|
|
6
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
3
7
|
export default _default;
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { KeyboardKey } from '../../types/keyboard.type';
|
|
2
|
-
|
|
2
|
+
import { CustomizableElement } from '../../utils/props.util';
|
|
3
|
+
export interface KeyboardShortcutProps extends CustomizableElement<'keyboardShortcut', [
|
|
4
|
+
{
|
|
5
|
+
name: 'keyboardKey';
|
|
6
|
+
component: 'keyboardKey';
|
|
7
|
+
}
|
|
8
|
+
]> {
|
|
3
9
|
/**
|
|
4
10
|
* A list of keyboard keys that represent the shortcut combination.
|
|
5
11
|
*/
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { VariantProps } from 'tailwind-variants';
|
|
2
|
+
export declare const createkeyboardShortcutStyle: import('tailwind-variants').TVReturnType<{
|
|
3
|
+
variant: {};
|
|
4
|
+
}, {
|
|
5
|
+
root: string;
|
|
6
|
+
thenLabel: string;
|
|
7
|
+
}, undefined, {
|
|
8
|
+
variant: {};
|
|
9
|
+
}, {
|
|
10
|
+
root: string;
|
|
11
|
+
thenLabel: string;
|
|
12
|
+
}, import('tailwind-variants').TVReturnType<{
|
|
13
|
+
variant: {};
|
|
14
|
+
}, {
|
|
15
|
+
root: string;
|
|
16
|
+
thenLabel: string;
|
|
17
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
18
|
+
export type keyboardShortcutStyle = VariantProps<typeof createkeyboardShortcutStyle>;
|
|
19
|
+
export type CreatekeyboardShortcutStyle = ReturnType<typeof createkeyboardShortcutStyle>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GetComponentPropCustomValues } from '../../customClassVariants';
|
|
2
2
|
import { Icon } from '../../icons/icons';
|
|
3
|
-
import { CustomizableElement, FormElement, InteractableElement,
|
|
4
|
-
export interface NumberFieldProps extends
|
|
3
|
+
import { CustomizableElement, FormElement, InteractableElement, TestId } from '../../utils/props.util';
|
|
4
|
+
export interface NumberFieldProps extends TestId, InteractableElement, FormElement, CustomizableElement<'numberField', [
|
|
5
5
|
{
|
|
6
6
|
name: 'increment';
|
|
7
7
|
component: 'iconButton';
|
|
@@ -29,9 +29,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
29
29
|
hint: string | null;
|
|
30
30
|
isLoading: boolean;
|
|
31
31
|
placeholder: string | null;
|
|
32
|
-
id: string | null;
|
|
33
32
|
testId: string | null;
|
|
34
33
|
isDisabled: boolean;
|
|
34
|
+
id: string | null;
|
|
35
35
|
isRequired: boolean;
|
|
36
36
|
isTouched: boolean;
|
|
37
37
|
errorMessage: string | null;
|
|
@@ -27,7 +27,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
27
27
|
}>, {
|
|
28
28
|
variant: import('../../../customClassVariants').GetComponentPropCustomValues<"popover", "variant"> | null;
|
|
29
29
|
isPopoverArrowHidden: boolean;
|
|
30
|
-
id: string | null;
|
|
31
30
|
testId: string | null;
|
|
32
31
|
popoverAlign: import('../../../types/popperProps.type').PopperAlign;
|
|
33
32
|
popoverAlignOffset: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GetComponentPropCustomValues } from '../../customClassVariants';
|
|
2
2
|
import { PopperPropsWithArrowVisibleByDefault } from '../../types/popperProps.type';
|
|
3
|
-
import { CustomizableElement,
|
|
4
|
-
export interface PopoverProps extends
|
|
3
|
+
import { CustomizableElement, TestId } from '../../utils/props.util';
|
|
4
|
+
export interface PopoverProps extends TestId, PopperPropsWithArrowVisibleByDefault, CustomizableElement<'popover', [
|
|
5
5
|
{
|
|
6
6
|
name: 'closeButton';
|
|
7
7
|
component: 'iconButton';
|
|
@@ -17,9 +17,7 @@ declare const _default: <TValue extends AcceptableValue>(__VLS_props: NonNullabl
|
|
|
17
17
|
default?(_: {}): any;
|
|
18
18
|
};
|
|
19
19
|
emit: RadioGroupEmits & ((evt: "update:modelValue", value: TValue) => void);
|
|
20
|
-
}>) => import('vue').VNode
|
|
21
|
-
[key: string]: any;
|
|
22
|
-
}> & {
|
|
20
|
+
}>) => import('vue').VNode & {
|
|
23
21
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
24
22
|
};
|
|
25
23
|
export default _default;
|
|
@@ -14,9 +14,7 @@ declare const _default: <TValue extends AcceptableValue>(__VLS_props: NonNullabl
|
|
|
14
14
|
default?(_: {}): any;
|
|
15
15
|
};
|
|
16
16
|
emit: RadioGroupEmits & ((evt: "update:modelValue", value: TValue) => void);
|
|
17
|
-
}>) => import('vue').VNode
|
|
18
|
-
[key: string]: any;
|
|
19
|
-
}> & {
|
|
17
|
+
}>) => import('vue').VNode & {
|
|
20
18
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
21
19
|
};
|
|
22
20
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { FormElement, InteractableElement,
|
|
2
|
-
export interface RadioGroupProps extends
|
|
1
|
+
import { FormElement, InteractableElement, TestId } from '../../utils/props.util';
|
|
2
|
+
export interface RadioGroupProps extends TestId, InteractableElement, FormElement {
|
|
3
3
|
}
|