@returnless/focus-ui 0.0.19 → 0.0.20
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/Card/CardMedia.vue.d.ts +46 -0
- package/dist/components/Card/index.d.ts +1 -0
- package/dist/components/Dialog/DialogIcon.vue.d.ts +21 -0
- package/dist/components/Dialog/DialogSection.vue.d.ts +9 -0
- package/dist/components/Dialog/index.d.ts +2 -0
- package/dist/components/Select/Select.vue.d.ts +5 -0
- package/dist/components/index.d.ts +2 -2
- package/dist/composables/useTheme.d.ts +1 -0
- package/dist/focus-ui.js +2312 -2216
- package/dist/focus-ui.umd.cjs +10 -10
- package/package.json +1 -3
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
2
|
+
/** The alt text of the image. */
|
|
3
|
+
alt: string;
|
|
4
|
+
/** The aspect ratio of the media. */
|
|
5
|
+
ratio: number;
|
|
6
|
+
/** The source of the media. */
|
|
7
|
+
source: string;
|
|
8
|
+
}>, {
|
|
9
|
+
ratio: number;
|
|
10
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
11
|
+
/** The alt text of the image. */
|
|
12
|
+
alt: string;
|
|
13
|
+
/** The aspect ratio of the media. */
|
|
14
|
+
ratio: number;
|
|
15
|
+
/** The source of the media. */
|
|
16
|
+
source: string;
|
|
17
|
+
}>, {
|
|
18
|
+
ratio: number;
|
|
19
|
+
}>>>, {
|
|
20
|
+
ratio: number;
|
|
21
|
+
}, {}>, {
|
|
22
|
+
default?(_: {}): any;
|
|
23
|
+
}>;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_WithDefaults<P, D> = {
|
|
26
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
27
|
+
default: D[K];
|
|
28
|
+
}> : P[K];
|
|
29
|
+
};
|
|
30
|
+
type __VLS_Prettify<T> = {
|
|
31
|
+
[K in keyof T]: T[K];
|
|
32
|
+
} & {};
|
|
33
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$slots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
39
|
+
type __VLS_TypePropsToOption<T> = {
|
|
40
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
41
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
42
|
+
} : {
|
|
43
|
+
type: import('vue').PropType<T[K]>;
|
|
44
|
+
required: true;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
@@ -4,5 +4,6 @@ export { default as CardFooter } from './CardFooter.vue';
|
|
|
4
4
|
export { default as CardHeader } from './CardHeader.vue';
|
|
5
5
|
export { default as CardHelp } from './CardHelp.vue';
|
|
6
6
|
export { default as CardLayout } from './CardLayout.vue';
|
|
7
|
+
export { default as CardMedia } from './CardMedia.vue';
|
|
7
8
|
export { default as CardSection } from './CardSection.vue';
|
|
8
9
|
export { default as CardTitle } from './CardTitle.vue';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
2
|
+
/** The alt text of the image. */
|
|
3
|
+
alt: string;
|
|
4
|
+
/** The image source. */
|
|
5
|
+
source: string;
|
|
6
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
7
|
+
/** The alt text of the image. */
|
|
8
|
+
alt: string;
|
|
9
|
+
/** The image source. */
|
|
10
|
+
source: string;
|
|
11
|
+
}>>>, {}, {}>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
|
+
type __VLS_TypePropsToOption<T> = {
|
|
15
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
|
+
} : {
|
|
18
|
+
type: import('vue').PropType<T[K]>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -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
|
+
};
|
|
@@ -4,4 +4,6 @@ export { default as DialogContent } from './DialogContent.vue';
|
|
|
4
4
|
export { default as DialogDescription } from './DialogDescription.vue';
|
|
5
5
|
export { default as DialogFooter } from './DialogFooter.vue';
|
|
6
6
|
export { default as DialogHeader } from './DialogHeader.vue';
|
|
7
|
+
export { default as DialogSection } from './DialogSection.vue';
|
|
8
|
+
export { default as DialogIcon } from './DialogIcon.vue';
|
|
7
9
|
export { default as DialogTitle } from './DialogTitle.vue';
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
declare let __VLS_typeProps: {
|
|
2
2
|
/** Whether the input is disabled. */
|
|
3
3
|
disabled?: boolean;
|
|
4
|
+
/** The error to display below the input. */
|
|
5
|
+
error?: string | null;
|
|
4
6
|
/** The help text to display below the input. */
|
|
5
7
|
helpText?: string | null;
|
|
6
8
|
/** The ID of the input the label is associated with. */
|
|
@@ -23,6 +25,7 @@ type __VLS_PublicProps = {
|
|
|
23
25
|
} & typeof __VLS_typeProps;
|
|
24
26
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
25
27
|
disabled: boolean;
|
|
28
|
+
error: null;
|
|
26
29
|
helpText: null;
|
|
27
30
|
id: null;
|
|
28
31
|
labelHidden: boolean;
|
|
@@ -33,6 +36,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
33
36
|
"update:modelValue": (modelValue: string | null) => void;
|
|
34
37
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
35
38
|
disabled: boolean;
|
|
39
|
+
error: null;
|
|
36
40
|
helpText: null;
|
|
37
41
|
id: null;
|
|
38
42
|
labelHidden: boolean;
|
|
@@ -44,6 +48,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
44
48
|
}, {
|
|
45
49
|
readonly: boolean;
|
|
46
50
|
id: string | null;
|
|
51
|
+
error: string | null;
|
|
47
52
|
required: boolean;
|
|
48
53
|
disabled: boolean;
|
|
49
54
|
labelHidden: boolean;
|
|
@@ -8,13 +8,13 @@ export { Badge, BadgeContent, BadgeIcon } from './Badge';
|
|
|
8
8
|
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, } from './Breadcrumbs';
|
|
9
9
|
export { type ButtonVariant, Button, ButtonBadge, ButtonContent, ButtonIcon, } from './Button';
|
|
10
10
|
export { ButtonGroup } from './ButtonGroup';
|
|
11
|
-
export { Card, CardDescription, CardFooter, CardHeader, CardHelp, CardLayout, CardSection, CardTitle, } from './Card';
|
|
11
|
+
export { Card, CardDescription, CardFooter, CardHeader, CardHelp, CardLayout, CardMedia, CardSection, CardTitle, } from './Card';
|
|
12
12
|
export { Checkbox } from './Checkbox';
|
|
13
13
|
export { Collapsible } from './Collapsible';
|
|
14
14
|
export { DataList, DataListContent, DataListItem, DataListItemLine, } from './DataList';
|
|
15
15
|
export { DatePicker, DatePickerCard, } from './DatePicker';
|
|
16
16
|
export { DescriptionList, DescriptionListDescription, DescriptionListItem, DescriptionListTerm, } from './DescriptionList';
|
|
17
|
-
export { Dialog, DialogCancelButton, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, } from './Dialog';
|
|
17
|
+
export { Dialog, DialogCancelButton, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogIcon, DialogSection, DialogTitle, } from './Dialog';
|
|
18
18
|
export { DropZone } from './DropZone';
|
|
19
19
|
export { EmptyState, EmptyStateActions, EmptyStateContent, EmptyStateDescription, EmptyStateTitle, } from './EmptyState';
|
|
20
20
|
export { FeatureList, FeatureListItem } from './FeatureList';
|