@mobileaction/action-kit 1.0.21 → 1.1.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/alert/index.vue.d.ts +4 -2
- package/dist/components/alert/stories/blue.stories.d.ts +2 -1
- package/dist/components/alert/stories/dark.stories.d.ts +3 -2
- package/dist/components/button/types.d.ts +1 -1
- package/dist/components/tooltip/index.vue.d.ts +7 -2
- package/dist/components/tooltip/stories/default.stories.d.ts +2 -1
- package/dist/composables/config.d.ts +3 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.es.js +619 -591
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +3 -3
- package/dist/index.umd.js.map +1 -1
- package/dist/services/config.d.ts +11 -0
- package/dist/style.css +1 -1
- package/package.json +5 -3
|
@@ -17,8 +17,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
17
17
|
}>>>, {
|
|
18
18
|
type: string;
|
|
19
19
|
variant: string;
|
|
20
|
-
}>,
|
|
21
|
-
|
|
20
|
+
}>, {
|
|
21
|
+
icon: (_: {}) => any;
|
|
22
|
+
message: (_: {}) => any;
|
|
23
|
+
description: (_: {}) => any;
|
|
22
24
|
}>;
|
|
23
25
|
export default _default;
|
|
24
26
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/vue3';
|
|
1
|
+
import type { Meta, StoryFn, StoryObj } from '@storybook/vue3';
|
|
2
2
|
import MaAlert from '../index.vue';
|
|
3
3
|
declare const meta: Meta<typeof MaAlert>;
|
|
4
4
|
export default meta;
|
|
@@ -6,3 +6,4 @@ declare type Story = StoryObj<typeof MaAlert>;
|
|
|
6
6
|
export declare const Default: Story;
|
|
7
7
|
export declare const Primary: Story;
|
|
8
8
|
export declare const Secondary: Story;
|
|
9
|
+
export declare const SlotUsage: StoryFn;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/vue3';
|
|
2
|
-
import
|
|
1
|
+
import type { Meta, StoryFn, StoryObj } from '@storybook/vue3';
|
|
2
|
+
import MaAlert from '../index.vue';
|
|
3
3
|
declare const meta: Meta<typeof MaAlert>;
|
|
4
4
|
export default meta;
|
|
5
5
|
declare type Story = StoryObj<typeof MaAlert>;
|
|
@@ -7,3 +7,4 @@ export declare const Default: Story;
|
|
|
7
7
|
export declare const Primary: Story;
|
|
8
8
|
export declare const Secondary: Story;
|
|
9
9
|
export declare const WithIcon: Story;
|
|
10
|
+
export declare const SlotUsage: StoryFn;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const ButtonVariants: string[];
|
|
2
1
|
export declare const ButtonTypes: string[];
|
|
2
|
+
export declare const ButtonVariants: string[];
|
|
3
3
|
export declare const ButtonSizes: string[];
|
|
4
4
|
export declare const ButtonShapes: string[];
|
|
5
5
|
export declare const ButtonTargets: string[];
|
|
@@ -4,7 +4,7 @@ export interface MaTooltipProps {
|
|
|
4
4
|
placement?: TooltipPlacement;
|
|
5
5
|
type?: TooltipType;
|
|
6
6
|
icon?: TooltipType;
|
|
7
|
-
title
|
|
7
|
+
title?: string;
|
|
8
8
|
description?: string;
|
|
9
9
|
trigger?: TooltipTriggerType;
|
|
10
10
|
closable?: boolean;
|
|
@@ -25,7 +25,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
25
25
|
placement: TooltipPlacement;
|
|
26
26
|
trigger: string;
|
|
27
27
|
defaultVisible: boolean;
|
|
28
|
-
}>,
|
|
28
|
+
}>, {
|
|
29
|
+
default: (_: {}) => any;
|
|
30
|
+
icon: (_: {}) => any;
|
|
31
|
+
title: (_: {}) => any;
|
|
32
|
+
description: (_: {}) => any;
|
|
33
|
+
}>;
|
|
29
34
|
export default _default;
|
|
30
35
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
31
36
|
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/vue3';
|
|
1
|
+
import type { Meta, StoryFn, StoryObj } from '@storybook/vue3';
|
|
2
2
|
import MaTooltip from '../index.vue';
|
|
3
3
|
declare const meta: Meta<typeof MaTooltip>;
|
|
4
4
|
export default meta;
|
|
@@ -11,3 +11,4 @@ export declare const OnlyTitle: Story;
|
|
|
11
11
|
export declare const Closable: Story;
|
|
12
12
|
export declare const ClickTrigger: Story;
|
|
13
13
|
export declare const DefaultVisible: Story;
|
|
14
|
+
export declare const SlotUsage: StoryFn;
|
package/dist/index.d.ts
CHANGED
|
@@ -19,3 +19,5 @@ export { default as MaRadio } from './components/radio/index.vue';
|
|
|
19
19
|
export { default as MaRadioGroup } from './components/radio/group.vue';
|
|
20
20
|
export { default as MaBadge } from './components/badge/index.vue';
|
|
21
21
|
export { default as MaAlert } from './components/alert/index.vue';
|
|
22
|
+
export { ActionKitConfig } from './services/config';
|
|
23
|
+
export { useActionKitConfig } from './composables/config';
|