@toife/vue 3.7.6 → 3.8.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/components/callout/callout.vue.d.ts +12 -0
- package/dist/components/callout/index.d.ts +1 -0
- package/dist/components/datepicker/datepicker.vue.d.ts +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/pagination/pagination.vue.d.ts +1 -1
- package/dist/components/route/route-outlet/route-outlet.vue.d.ts +10 -1
- package/dist/components/segmented-field/segmented-field.vue.d.ts +1 -1
- package/dist/core/features/callout/callout.constants.d.ts +9 -0
- package/dist/core/features/callout/callout.logic.d.ts +10 -0
- package/dist/core/features/callout/callout.type.d.ts +21 -0
- package/dist/core/features/callout/index.d.ts +3 -0
- package/dist/core/features/dropdown/dropdown.type.d.ts +1 -1
- package/dist/core/features/index.d.ts +1 -0
- package/dist/index.es.js +2788 -2609
- package/dist/index.umd.js +2 -2
- package/dist/styles/callout.css +1 -0
- package/dist/styles/dropdown.css +1 -1
- package/dist/styles/index.css +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CalloutProps } from '../../core';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<CalloutProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
3
|
+
close: () => any;
|
|
4
|
+
}, string, import('vue').PublicProps, Readonly<CalloutProps> & Readonly<{
|
|
5
|
+
onClose?: (() => any) | undefined;
|
|
6
|
+
}>, {
|
|
7
|
+
size: import('../../core').CalloutSize;
|
|
8
|
+
direction: import('../../core').AppDirection;
|
|
9
|
+
variant: import('../../core').CalloutVariant;
|
|
10
|
+
closable: boolean;
|
|
11
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Callout } from './callout.vue';
|
|
@@ -7,8 +7,8 @@ declare const _default: import('vue').DefineComponent<DatePickerProps, {}, {}, {
|
|
|
7
7
|
"onUpdate:modelValue"?: ((value: Date) => any) | undefined;
|
|
8
8
|
}>, {
|
|
9
9
|
size: import('../../core').DatePickerSize;
|
|
10
|
-
seconds: boolean;
|
|
11
10
|
direction: import('../../core').AppDirection;
|
|
11
|
+
seconds: boolean;
|
|
12
12
|
disabled: boolean;
|
|
13
13
|
type: import('../../core').DatePickerType;
|
|
14
14
|
value: DatePickerValue;
|
|
@@ -7,8 +7,8 @@ declare const _default: import('vue').DefineComponent<PaginationProps, {}, {}, {
|
|
|
7
7
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
8
8
|
}>, {
|
|
9
9
|
size: import('../../core').PaginationSize;
|
|
10
|
-
length: number;
|
|
11
10
|
direction: import('../../core').AppDirection;
|
|
11
|
+
length: number;
|
|
12
12
|
variant: import('../../core').PaginationVariant;
|
|
13
13
|
disabled: boolean;
|
|
14
14
|
value: number;
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
-
|
|
2
|
+
/**
|
|
3
|
+
* Component, async loader, or a vue-router `components` map (`{ default }`).
|
|
4
|
+
* Ignored when `name` is set.
|
|
5
|
+
*/
|
|
6
|
+
component?: unknown;
|
|
7
|
+
/**
|
|
8
|
+
* Named view of the active child (`components[name]`).
|
|
9
|
+
* Omit to render `component`, using its `default` when the value is a map.
|
|
10
|
+
*/
|
|
11
|
+
name?: string;
|
|
3
12
|
};
|
|
4
13
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
5
14
|
export default _default;
|
|
@@ -13,8 +13,8 @@ declare const _default: import('vue').DefineComponent<SegmentedFieldProps, {}, {
|
|
|
13
13
|
onComplete?: ((value: string[]) => any) | undefined;
|
|
14
14
|
}>, {
|
|
15
15
|
size: import('../../core').SegmentedFieldSize;
|
|
16
|
-
length: number;
|
|
17
16
|
direction: import('../../core').AppDirection;
|
|
17
|
+
length: number;
|
|
18
18
|
variant: import('../../core').SegmentedFieldVariant;
|
|
19
19
|
disabled: boolean;
|
|
20
20
|
message: string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CalloutAttrOptions } from './callout.type';
|
|
2
|
+
export declare const getCalloutAttrs: (options: CalloutAttrOptions) => {
|
|
3
|
+
class: string[];
|
|
4
|
+
};
|
|
5
|
+
export declare const getCalloutBodyAttrs: () => {
|
|
6
|
+
class: string[];
|
|
7
|
+
};
|
|
8
|
+
export declare const getCalloutCloseAttrs: () => {
|
|
9
|
+
class: string[];
|
|
10
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { AppDirection } from '../app/app.type';
|
|
2
|
+
export type CalloutVariant = "accent" | "outline";
|
|
3
|
+
export type CalloutSize = string;
|
|
4
|
+
export type CalloutProps = {
|
|
5
|
+
role?: string;
|
|
6
|
+
size?: CalloutSize;
|
|
7
|
+
shape?: string;
|
|
8
|
+
variant?: CalloutVariant;
|
|
9
|
+
direction?: AppDirection;
|
|
10
|
+
closable?: boolean;
|
|
11
|
+
};
|
|
12
|
+
export type CalloutEvent = {
|
|
13
|
+
(e: "close"): void;
|
|
14
|
+
};
|
|
15
|
+
export type CalloutAttrOptions = {
|
|
16
|
+
role: string;
|
|
17
|
+
shape: string;
|
|
18
|
+
size: string;
|
|
19
|
+
direction: string;
|
|
20
|
+
variant: CalloutVariant;
|
|
21
|
+
};
|