@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.
@@ -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;
@@ -12,6 +12,7 @@ export * from './tabs';
12
12
  export * from './switch';
13
13
  export * from './checkbox';
14
14
  export * from './radio';
15
+ export * from './callout';
15
16
  export * from './card';
16
17
  export * from './toast';
17
18
  export * from './avatar';
@@ -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,9 @@
1
+ /**
2
+ * Callout Default Props
3
+ */
4
+ export declare const CALLOUT_DEFAULT_PROPS: {
5
+ readonly size: "standard";
6
+ readonly variant: "accent";
7
+ readonly closable: false;
8
+ readonly direction: undefined;
9
+ };
@@ -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
+ };
@@ -0,0 +1,3 @@
1
+ export * from './callout.constants';
2
+ export * from './callout.type';
3
+ export * from './callout.logic';
@@ -3,6 +3,7 @@ export * from './app';
3
3
  export * from './avatar';
4
4
  export * from './button';
5
5
  export * from './cable';
6
+ export * from './callout';
6
7
  export * from './card';
7
8
  export * from './checkbox';
8
9
  export * from './collapse';