@returnless/focus-ui 0.0.6 → 0.0.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.
|
@@ -9,6 +9,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
9
9
|
size: string;
|
|
10
10
|
type: string;
|
|
11
11
|
variant: string;
|
|
12
|
+
native: boolean;
|
|
12
13
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ButtonProps>, {
|
|
13
14
|
disabled: boolean;
|
|
14
15
|
disclosure: boolean;
|
|
@@ -19,15 +20,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
19
20
|
size: string;
|
|
20
21
|
type: string;
|
|
21
22
|
variant: string;
|
|
23
|
+
native: boolean;
|
|
22
24
|
}>>>, {
|
|
23
25
|
type: "button" | "reset" | "submit";
|
|
24
26
|
variant: import("./types").ButtonVariant;
|
|
27
|
+
href: string | null;
|
|
25
28
|
disabled: boolean;
|
|
26
29
|
disclosure: boolean;
|
|
27
30
|
external: boolean;
|
|
28
31
|
fullWidth: boolean;
|
|
29
|
-
href: string | null;
|
|
30
32
|
loading: boolean;
|
|
33
|
+
native: boolean;
|
|
31
34
|
size: "small" | "normal";
|
|
32
35
|
}, {}>, {
|
|
33
36
|
default?(_: {}): any;
|
|
@@ -12,6 +12,8 @@ export interface ButtonProps {
|
|
|
12
12
|
href?: string | null;
|
|
13
13
|
/** Whether the button is in a loading state. */
|
|
14
14
|
loading?: boolean;
|
|
15
|
+
/** When set to true, the button will be rendered as anchor tag. Otherwise, a InertiaLink will be used for links. */
|
|
16
|
+
native?: boolean;
|
|
15
17
|
/** The button size. (INTERNAL USE ONLY) */
|
|
16
18
|
size?: 'small' | 'normal';
|
|
17
19
|
/** The type of the button. */
|
|
@@ -19,8 +19,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
19
19
|
accessibilityLabel: null;
|
|
20
20
|
native: boolean;
|
|
21
21
|
}>>>, {
|
|
22
|
-
accessibilityLabel: string | null;
|
|
23
22
|
native: boolean;
|
|
23
|
+
accessibilityLabel: string | null;
|
|
24
24
|
}, {}>, {
|
|
25
25
|
default?(_: {}): any;
|
|
26
26
|
}>;
|
|
@@ -5,14 +5,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
5
5
|
color: "slate" | "gray" | "zinc" | "neutral" | "stone" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | "lightBlue" | "warmGray" | "trueGray" | "coolGray" | "blueGray";
|
|
6
6
|
}>, {
|
|
7
7
|
accessibilityLabel: null;
|
|
8
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
remove: () => void;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
9
11
|
/** Accessible label for the avatar image. */
|
|
10
12
|
accessibilityLabel?: string | null | undefined;
|
|
11
13
|
/** The color of the badge. */
|
|
12
14
|
color: "slate" | "gray" | "zinc" | "neutral" | "stone" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | "lightBlue" | "warmGray" | "trueGray" | "coolGray" | "blueGray";
|
|
13
15
|
}>, {
|
|
14
16
|
accessibilityLabel: null;
|
|
15
|
-
}
|
|
17
|
+
}>>> & {
|
|
18
|
+
onRemove?: (() => any) | undefined;
|
|
19
|
+
}, {
|
|
16
20
|
accessibilityLabel: string | null;
|
|
17
21
|
}, {}>, {
|
|
18
22
|
default?(_: {}): any;
|