@mobileaction/action-kit 1.31.7 → 1.31.9
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/CHANGELOG.md +15 -0
- package/dist/action-kit.js +1 -1
- package/dist/action-kit.mjs +146 -139
- package/dist/components/button/index.vue.d.ts +50 -34
- package/dist/components/button/link-button/index.vue.d.ts +106 -0
- package/dist/components/button/link-button/types.d.ts +4 -0
- package/dist/components/button/social-button/index.vue.d.ts +85 -0
- package/dist/components/button/social-button/types.d.ts +4 -0
- package/dist/components/button/types.d.ts +9 -7
- package/dist/components/button/utils.d.ts +2 -0
- package/dist/components/card/index.vue.d.ts +1 -1
- package/dist/components/cascader/components/options.vue.d.ts +10 -1
- package/dist/components/cascader/index.vue.d.ts +1 -1
- package/dist/components/keyword-group-selection/components/kwGroupForm.vue.d.ts +1 -1
- package/dist/components/modal/index.vue.d.ts +4 -4
- package/dist/components/select/components/dropdownRender.vue.d.ts +1 -1
- package/dist/index-1bb8f5de.js +47 -0
- package/dist/{index-1bf70eb6.mjs → index-40a1b596.mjs} +4271 -4142
- package/dist/index.d.ts +4 -0
- package/dist/linkedin-73d69688.js +1 -0
- package/dist/linkedin-94ae90ba.mjs +21 -0
- package/dist/{lottie_light-d48b553a.js → lottie_light-2826681a.js} +1 -1
- package/dist/{lottie_light-44ac54b7.mjs → lottie_light-dca6b562.mjs} +1 -1
- package/dist/src/components/badge/index.vue.d.ts +1 -1
- package/dist/src/components/button/index.vue.d.ts +25 -15
- package/dist/src/components/button/link-button/index.vue.d.ts +54 -0
- package/dist/src/components/button/link-button/stories/constants.d.ts +4 -0
- package/dist/src/components/button/link-button/stories/link.stories.d.ts +13 -0
- package/dist/src/components/button/link-button/types.d.ts +4 -0
- package/dist/src/components/button/social-button/index.vue.d.ts +49 -0
- package/dist/src/components/button/social-button/stories/constants.d.ts +5 -0
- package/dist/src/components/button/social-button/stories/social.stories.d.ts +17 -0
- package/dist/src/components/button/social-button/types.d.ts +4 -0
- package/dist/src/components/button/stories/constants.d.ts +1 -0
- package/dist/src/components/button/stories/filled.stories.d.ts +17 -0
- package/dist/src/components/button/stories/ghost.stories.d.ts +17 -0
- package/dist/src/components/button/stories/lighter.stories.d.ts +17 -0
- package/dist/src/components/button/stories/stroke.stories.d.ts +17 -0
- package/dist/src/components/button/types.d.ts +9 -7
- package/dist/src/components/button/utils.d.ts +2 -0
- package/dist/src/components/card/index.vue.d.ts +1 -1
- package/dist/src/components/cascader/components/options.vue.d.ts +2 -1
- package/dist/src/components/cascader/index.vue.d.ts +1 -1
- package/dist/src/components/date-picker/index.vue.d.ts +1 -1
- package/dist/src/components/input/index.vue.d.ts +1 -1
- package/dist/src/components/keyword-group-selection/components/kwGroupForm.vue.d.ts +1 -1
- package/dist/src/components/modal/index.vue.d.ts +4 -4
- package/dist/src/components/popconfirm/index.vue.d.ts +3 -3
- package/dist/src/components/result/stories/constants.d.ts +2 -2
- package/dist/src/components/select/components/dropdownRender.vue.d.ts +2 -2
- package/dist/src/components/slider/index.vue.d.ts +1 -1
- package/dist/src/components/typography/index.vue.d.ts +1 -1
- package/dist/src/index.d.ts +4 -0
- package/dist/style.css +1 -1
- package/dist/x-63e02201.js +1 -0
- package/dist/x-b6ae5fa8.mjs +19 -0
- package/package.json +1 -1
- package/dist/index-393f326c.js +0 -53
- package/dist/linkedin-0f44baca.mjs +0 -20
- package/dist/linkedin-233e1284.js +0 -1
- package/dist/src/components/button/stories/danger.stories.d.ts +0 -9
- package/dist/src/components/button/stories/dark.stories.d.ts +0 -10
- package/dist/src/components/button/stories/icon.stories.d.ts +0 -9
- package/dist/src/components/button/stories/info.stories.d.ts +0 -9
- package/dist/src/components/button/stories/link.stories.d.ts +0 -7
- package/dist/src/components/button/stories/plain.stories.d.ts +0 -9
- package/dist/src/components/button/stories/social.stories.d.ts +0 -12
- package/dist/src/components/button/stories/success.stories.d.ts +0 -9
- package/dist/src/components/button/stories/warning.stories.d.ts +0 -9
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import type { PropType as __PropType } from 'vue';
|
|
2
|
+
import { type ButtonTarget, type ButtonHtmlType } from '../types';
|
|
3
|
+
import { type SocialButtonVariant, type SocialButtonBrand } from './types';
|
|
4
|
+
export interface MaSocialButtonProps {
|
|
5
|
+
href?: string;
|
|
6
|
+
target?: ButtonTarget;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
loading?: boolean;
|
|
9
|
+
htmlType?: ButtonHtmlType;
|
|
10
|
+
brand?: SocialButtonBrand;
|
|
11
|
+
variant?: SocialButtonVariant;
|
|
12
|
+
}
|
|
13
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
14
|
+
href: {
|
|
15
|
+
type: __PropType<string>;
|
|
16
|
+
required: false;
|
|
17
|
+
};
|
|
18
|
+
target: {
|
|
19
|
+
type: __PropType<"_blank" | "_self" | "_top" | "_parent">;
|
|
20
|
+
required: false;
|
|
21
|
+
};
|
|
22
|
+
disabled: {
|
|
23
|
+
type: __PropType<boolean>;
|
|
24
|
+
required: false;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
loading: {
|
|
28
|
+
type: __PropType<boolean>;
|
|
29
|
+
required: false;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
htmlType: {
|
|
33
|
+
type: __PropType<"button" | "reset" | "submit">;
|
|
34
|
+
required: false;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
brand: {
|
|
38
|
+
type: __PropType<"x" | "google" | "linkedin" | "facebook" | "apple">;
|
|
39
|
+
required: false;
|
|
40
|
+
};
|
|
41
|
+
variant: {
|
|
42
|
+
type: __PropType<"filled" | "stroke">;
|
|
43
|
+
required: false;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
47
|
+
href: {
|
|
48
|
+
type: __PropType<string>;
|
|
49
|
+
required: false;
|
|
50
|
+
};
|
|
51
|
+
target: {
|
|
52
|
+
type: __PropType<"_blank" | "_self" | "_top" | "_parent">;
|
|
53
|
+
required: false;
|
|
54
|
+
};
|
|
55
|
+
disabled: {
|
|
56
|
+
type: __PropType<boolean>;
|
|
57
|
+
required: false;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
loading: {
|
|
61
|
+
type: __PropType<boolean>;
|
|
62
|
+
required: false;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
htmlType: {
|
|
66
|
+
type: __PropType<"button" | "reset" | "submit">;
|
|
67
|
+
required: false;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
70
|
+
brand: {
|
|
71
|
+
type: __PropType<"x" | "google" | "linkedin" | "facebook" | "apple">;
|
|
72
|
+
required: false;
|
|
73
|
+
};
|
|
74
|
+
variant: {
|
|
75
|
+
type: __PropType<"filled" | "stroke">;
|
|
76
|
+
required: false;
|
|
77
|
+
default: string;
|
|
78
|
+
};
|
|
79
|
+
}>>, {
|
|
80
|
+
variant: "filled" | "stroke";
|
|
81
|
+
disabled: boolean;
|
|
82
|
+
loading: boolean;
|
|
83
|
+
htmlType: "button" | "reset" | "submit";
|
|
84
|
+
}>;
|
|
85
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const SocialButtonBrands: readonly ["google", "x", "linkedin", "facebook", "apple"];
|
|
2
|
+
export declare const SocialButtonVariants: readonly ["filled", "stroke"];
|
|
3
|
+
export type SocialButtonBrand = (typeof SocialButtonBrands)[number];
|
|
4
|
+
export type SocialButtonVariant = (typeof SocialButtonVariants)[number];
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const ButtonSizes: readonly ["small", "
|
|
4
|
-
export declare const ButtonShapes: readonly ["default", "
|
|
1
|
+
export declare const ButtonVariants: readonly ["filled", "stroke", "lighter", "ghost"];
|
|
2
|
+
export declare const ButtonColors: readonly ["dark", "blue", "green", "red"];
|
|
3
|
+
export declare const ButtonSizes: readonly ["x-small", "small", "medium", "large"];
|
|
4
|
+
export declare const ButtonShapes: readonly ["default", "rounded"];
|
|
5
5
|
export declare const ButtonTargets: readonly ["_blank", "_self", "_top", "_parent"];
|
|
6
|
+
export declare const ButtonHtmlTypes: readonly ["submit", "reset", "button"];
|
|
6
7
|
export declare const ButtonIconAlignMents: readonly ["left", "right"];
|
|
7
|
-
export type ButtonTarget = (typeof ButtonTargets)[number];
|
|
8
8
|
export type ButtonVariant = (typeof ButtonVariants)[number];
|
|
9
|
-
export type
|
|
9
|
+
export type ButtonColor = (typeof ButtonColors)[number];
|
|
10
10
|
export type ButtonSize = (typeof ButtonSizes)[number];
|
|
11
11
|
export type ButtonShape = (typeof ButtonShapes)[number];
|
|
12
|
-
export type
|
|
12
|
+
export type ButtonTarget = (typeof ButtonTargets)[number];
|
|
13
|
+
export type ButtonHtmlType = (typeof ButtonHtmlTypes)[number];
|
|
14
|
+
export type ButtonIconAlignMent = (typeof ButtonIconAlignMents)[number];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType as __PropType } from 'vue';
|
|
2
|
-
import { MaCardAlignment, MaCardIconColor, MaCardSize } from
|
|
2
|
+
import { MaCardAlignment, MaCardIconColor, MaCardSize } from './types';
|
|
3
3
|
export interface MaCardProps {
|
|
4
4
|
title?: string;
|
|
5
5
|
description?: string;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import type { PropType as __PropType } from 'vue';
|
|
2
|
-
import { CascaderOptionType, SingleValueType } from
|
|
2
|
+
import { CascaderOptionType, SingleValueType } from '../types';
|
|
3
3
|
export interface MaCascaderOptionsProps {
|
|
4
4
|
options?: CascaderOptionType[];
|
|
5
5
|
parentValue?: string | number;
|
|
6
6
|
legacy?: SingleValueType;
|
|
7
|
+
selectorWidth: number;
|
|
7
8
|
}
|
|
8
9
|
export interface SlotProps {
|
|
9
10
|
option: CascaderOptionType;
|
|
@@ -23,6 +24,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
23
24
|
required: false;
|
|
24
25
|
default: () => SingleValueType;
|
|
25
26
|
};
|
|
27
|
+
selectorWidth: {
|
|
28
|
+
type: __PropType<number>;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
26
31
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "select"[], "select", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
27
32
|
options: {
|
|
28
33
|
type: __PropType<CascaderOptionType[]>;
|
|
@@ -38,6 +43,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
38
43
|
required: false;
|
|
39
44
|
default: () => SingleValueType;
|
|
40
45
|
};
|
|
46
|
+
selectorWidth: {
|
|
47
|
+
type: __PropType<number>;
|
|
48
|
+
required: true;
|
|
49
|
+
};
|
|
41
50
|
}>> & {
|
|
42
51
|
onSelect?: (...args: any[]) => any;
|
|
43
52
|
}, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType as __PropType } from 'vue';
|
|
2
|
-
import { CascaderOptionType, CascaderSize, CascaderValue, SingleValueType } from
|
|
2
|
+
import { CascaderOptionType, CascaderSize, CascaderValue, SingleValueType } from './types';
|
|
3
3
|
export interface MaCascaderProps {
|
|
4
4
|
open?: boolean;
|
|
5
5
|
value?: CascaderValue;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { PropType as __PropType } from 'vue';
|
|
2
|
-
import { VNode } from
|
|
3
|
-
import { ModalProps } from
|
|
4
|
-
import { MaModalPropType } from
|
|
5
|
-
import { MaButtonProps } from
|
|
2
|
+
import { VNode } from 'vue';
|
|
3
|
+
import { ModalProps } from 'ant-design-vue';
|
|
4
|
+
import { MaModalPropType } from './types';
|
|
5
|
+
import { MaButtonProps } from '../button/index.vue';
|
|
6
6
|
export interface MaModalProps extends ModalProps {
|
|
7
7
|
visible?: boolean;
|
|
8
8
|
type?: MaModalPropType;
|