@toife/vue 3.7.7 → 3.8.1
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/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/index.d.ts +1 -0
- package/dist/index.es.js +1876 -1799
- package/dist/index.umd.js +2 -2
- package/dist/styles/callout.css +1 -0
- 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;
|
|
@@ -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
|
+
};
|