@returnless/focus-ui 0.0.7 → 0.0.9
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/components/ActionList/ActionList.vue.d.ts +31 -1
- package/dist/components/Button/Button.vue.d.ts +3 -0
- package/dist/components/Button/types.d.ts +2 -0
- package/dist/components/DataList/DataList.vue.d.ts +36 -0
- package/dist/components/DataList/DataListContent.vue.d.ts +9 -0
- package/dist/components/DataList/DataListItem.vue.d.ts +9 -0
- package/dist/components/DataList/DataListItemLine.vue.d.ts +9 -0
- package/dist/components/DataList/index.d.ts +4 -0
- package/dist/components/StatusIndicator/StatusIndicator.vue.d.ts +7 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/focus-ui.js +2908 -2785
- package/dist/focus-ui.umd.cjs +22 -22
- package/dist/index.d.ts +1 -0
- package/package.json +4 -2
|
@@ -1,9 +1,39 @@
|
|
|
1
|
-
|
|
1
|
+
import { Alignment } from '@floating-ui/vue';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
3
|
+
/** The alignment of the popover. */
|
|
4
|
+
alignment: Alignment;
|
|
5
|
+
}>, {
|
|
6
|
+
alignment: string;
|
|
7
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
8
|
+
/** The alignment of the popover. */
|
|
9
|
+
alignment: Alignment;
|
|
10
|
+
}>, {
|
|
11
|
+
alignment: string;
|
|
12
|
+
}>>>, {
|
|
13
|
+
alignment: Alignment;
|
|
14
|
+
}, {}>, {
|
|
2
15
|
default?(_: {}): any;
|
|
3
16
|
}>;
|
|
4
17
|
export default _default;
|
|
18
|
+
type __VLS_WithDefaults<P, D> = {
|
|
19
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
20
|
+
default: D[K];
|
|
21
|
+
}> : P[K];
|
|
22
|
+
};
|
|
23
|
+
type __VLS_Prettify<T> = {
|
|
24
|
+
[K in keyof T]: T[K];
|
|
25
|
+
} & {};
|
|
5
26
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
27
|
new (): {
|
|
7
28
|
$slots: S;
|
|
8
29
|
};
|
|
9
30
|
};
|
|
31
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
32
|
+
type __VLS_TypePropsToOption<T> = {
|
|
33
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
34
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
35
|
+
} : {
|
|
36
|
+
type: import('vue').PropType<T[K]>;
|
|
37
|
+
required: true;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
@@ -5,6 +5,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
5
5
|
external: boolean;
|
|
6
6
|
fullWidth: boolean;
|
|
7
7
|
href: null;
|
|
8
|
+
iconOnly: boolean;
|
|
8
9
|
loading: boolean;
|
|
9
10
|
size: string;
|
|
10
11
|
type: string;
|
|
@@ -16,6 +17,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
16
17
|
external: boolean;
|
|
17
18
|
fullWidth: boolean;
|
|
18
19
|
href: null;
|
|
20
|
+
iconOnly: boolean;
|
|
19
21
|
loading: boolean;
|
|
20
22
|
size: string;
|
|
21
23
|
type: string;
|
|
@@ -29,6 +31,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
29
31
|
disclosure: boolean;
|
|
30
32
|
external: boolean;
|
|
31
33
|
fullWidth: boolean;
|
|
34
|
+
iconOnly: boolean;
|
|
32
35
|
loading: boolean;
|
|
33
36
|
native: boolean;
|
|
34
37
|
size: "small" | "normal";
|
|
@@ -10,6 +10,8 @@ export interface ButtonProps {
|
|
|
10
10
|
fullWidth?: boolean;
|
|
11
11
|
/** The URL the button should navigate to. */
|
|
12
12
|
href?: string | null;
|
|
13
|
+
/** If the icon is the only thing rendered in the button. */
|
|
14
|
+
iconOnly?: boolean;
|
|
13
15
|
/** Whether the button is in a loading state. */
|
|
14
16
|
loading?: boolean;
|
|
15
17
|
/** When set to true, the button will be rendered as anchor tag. Otherwise, a InertiaLink will be used for links. */
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
|
+
sortable: boolean;
|
|
3
|
+
}>, {
|
|
4
|
+
sortable: boolean;
|
|
5
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
6
|
+
sortable: boolean;
|
|
7
|
+
}>, {
|
|
8
|
+
sortable: boolean;
|
|
9
|
+
}>>>, {
|
|
10
|
+
sortable: boolean;
|
|
11
|
+
}, {}>, {
|
|
12
|
+
default?(_: {}): any;
|
|
13
|
+
}>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithDefaults<P, D> = {
|
|
16
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
17
|
+
default: D[K];
|
|
18
|
+
}> : P[K];
|
|
19
|
+
};
|
|
20
|
+
type __VLS_Prettify<T> = {
|
|
21
|
+
[K in keyof T]: T[K];
|
|
22
|
+
} & {};
|
|
23
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
29
|
+
type __VLS_TypePropsToOption<T> = {
|
|
30
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
31
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
32
|
+
} : {
|
|
33
|
+
type: import('vue').PropType<T[K]>;
|
|
34
|
+
required: true;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
}>;
|
|
4
|
+
export default _default;
|
|
5
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
|
+
new (): {
|
|
7
|
+
$slots: S;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
}>;
|
|
4
|
+
export default _default;
|
|
5
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
|
+
new (): {
|
|
7
|
+
$slots: S;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
}>;
|
|
4
|
+
export default _default;
|
|
5
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
|
+
new (): {
|
|
7
|
+
$slots: S;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
@@ -3,16 +3,23 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
3
3
|
accessibilityLabel?: string | null | undefined;
|
|
4
4
|
/** The color of the badge. */
|
|
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
|
+
/** The size of the status-indicator. */
|
|
7
|
+
size: "default" | "small";
|
|
6
8
|
}>, {
|
|
7
9
|
accessibilityLabel: null;
|
|
10
|
+
size: string;
|
|
8
11
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
9
12
|
/** Accessible label for the avatar image. */
|
|
10
13
|
accessibilityLabel?: string | null | undefined;
|
|
11
14
|
/** The color of the badge. */
|
|
12
15
|
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";
|
|
16
|
+
/** The size of the status-indicator. */
|
|
17
|
+
size: "default" | "small";
|
|
13
18
|
}>, {
|
|
14
19
|
accessibilityLabel: null;
|
|
20
|
+
size: string;
|
|
15
21
|
}>>>, {
|
|
22
|
+
size: "default" | "small";
|
|
16
23
|
accessibilityLabel: string | null;
|
|
17
24
|
}, {}>, {
|
|
18
25
|
default?(_: {}): any;
|
|
@@ -11,6 +11,7 @@ export { type ButtonVariant, Button, ButtonContent, ButtonIcon, } from './Button
|
|
|
11
11
|
export { ButtonGroup } from './ButtonGroup';
|
|
12
12
|
export { Card, CardDescription, CardFooter, CardHeader, CardHelp, CardSection, CardTitle, } from './Card';
|
|
13
13
|
export { Checkbox } from './Checkbox';
|
|
14
|
+
export { DataList, DataListContent, DataListItem, DataListItemLine, } from './DataList';
|
|
14
15
|
export { DatePicker, DatePickerCard, } from './DatePicker';
|
|
15
16
|
export { DescriptionList, DescriptionListDescription, DescriptionListItem, DescriptionListTerm, } from './DescriptionList';
|
|
16
17
|
export { DropZone } from './DropZone';
|