@mobileaction/action-kit 0.0.4 → 0.0.5

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.
Files changed (67) hide show
  1. package/dist/index.cjs.js +20 -20
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.es.js +6125 -6122
  4. package/dist/index.es.js.map +1 -1
  5. package/dist/src/components/alert/index.vue.d.ts +38 -26
  6. package/dist/src/components/alert/stories/blue.stories.d.ts +8 -0
  7. package/dist/src/components/alert/stories/constants.d.ts +4 -0
  8. package/dist/src/components/alert/stories/dark.stories.d.ts +9 -0
  9. package/dist/src/components/alert/stories/green.stories.d.ts +8 -0
  10. package/dist/src/components/alert/stories/orange.stories.d.ts +8 -0
  11. package/dist/src/components/alert/stories/red.stories.d.ts +8 -0
  12. package/dist/src/components/alert/types.d.ts +11 -0
  13. package/dist/src/components/avatar/index.vue.d.ts +3 -0
  14. package/dist/src/components/badge/index.vue.d.ts +37 -40
  15. package/dist/src/components/badge/stories/blue.stories.d.ts +11 -0
  16. package/dist/src/components/badge/stories/constants.d.ts +4 -0
  17. package/dist/src/components/badge/stories/dark.stories.d.ts +11 -0
  18. package/dist/src/components/badge/stories/green.stories.d.ts +11 -0
  19. package/dist/src/components/badge/stories/orange.stories.d.ts +11 -0
  20. package/dist/src/components/badge/stories/purple.stories.d.ts +11 -0
  21. package/dist/src/components/badge/stories/red.stories.d.ts +11 -0
  22. package/dist/src/components/badge/types.d.ts +20 -0
  23. package/dist/src/components/button/index.vue.d.ts +34 -53
  24. package/dist/src/components/button/stories/constants.d.ts +4 -0
  25. package/dist/src/components/button/stories/danger.stories.d.ts +8 -0
  26. package/dist/src/components/button/stories/dark.stories.d.ts +8 -0
  27. package/dist/src/components/button/stories/icon.stories.d.ts +7 -0
  28. package/dist/src/components/button/stories/info.stories.d.ts +8 -0
  29. package/dist/src/components/button/stories/link.stories.d.ts +7 -0
  30. package/dist/src/components/button/stories/plain.stories.d.ts +8 -0
  31. package/dist/src/components/button/stories/success.stories.d.ts +8 -0
  32. package/dist/src/components/button/stories/warning.stories.d.ts +8 -0
  33. package/dist/src/components/button/types.d.ts +21 -3
  34. package/dist/src/components/checkbox/group.vue.d.ts +20 -0
  35. package/dist/src/components/checkbox/index.vue.d.ts +23 -0
  36. package/dist/src/components/checkbox/stories/constants.d.ts +5 -0
  37. package/dist/src/components/checkbox/stories/default.stories.d.ts +9 -0
  38. package/dist/src/components/icon/index.vue.d.ts +9 -11
  39. package/dist/src/components/icon/types.d.ts +1 -1
  40. package/dist/src/components/input/constants.d.ts +2 -0
  41. package/dist/src/components/input/index.vue.d.ts +37 -118
  42. package/dist/src/components/input/stories/amount.stories.d.ts +11 -0
  43. package/dist/src/components/input/stories/constants.d.ts +4 -0
  44. package/dist/src/components/input/stories/credit-card.stories.d.ts +11 -0
  45. package/dist/src/components/input/stories/default.stories.d.ts +11 -0
  46. package/dist/src/components/input/stories/email.stories.d.ts +11 -0
  47. package/dist/src/components/input/stories/textarea.stories.d.ts +11 -0
  48. package/dist/src/components/input/stories/url.stories.d.ts +11 -0
  49. package/dist/src/components/input/stories/user-info.stories.d.ts +11 -0
  50. package/dist/src/components/input/types.d.ts +29 -0
  51. package/dist/src/components/radio/group.vue.d.ts +17 -2
  52. package/dist/src/components/radio/index.vue.d.ts +29 -24
  53. package/dist/src/components/radio/stories/constants.d.ts +4 -0
  54. package/dist/src/components/radio/stories/default.stories.d.ts +9 -0
  55. package/dist/src/components/radio/types.d.ts +4 -0
  56. package/dist/src/components/select/index.vue.d.ts +8 -0
  57. package/dist/src/components/social-button/constants.d.ts +5 -0
  58. package/dist/src/components/social-button/index.vue.d.ts +34 -0
  59. package/dist/src/components/social-button/stories/apple.stories.d.ts +8 -0
  60. package/dist/src/components/social-button/stories/constants.d.ts +4 -0
  61. package/dist/src/components/social-button/stories/google.stories.d.ts +8 -0
  62. package/dist/src/components/social-button/stories/linkedin.stories.d.ts +8 -0
  63. package/dist/src/components/social-button/types.d.ts +5 -0
  64. package/dist/src/index.d.ts +1 -0
  65. package/dist/style.css +1 -1
  66. package/dist/vite.config.d.ts +2 -0
  67. package/package.json +26 -19
@@ -0,0 +1,2 @@
1
+ import type { SelectProps } from 'ant-design-vue';
2
+ export declare const currencyOptions: SelectProps['options'];
@@ -1,5 +1,5 @@
1
- import type { PropType as __PropType } from 'vue';
2
- import type { MaInputType, MaInputSize, Currency, CurrencySymbol } from './types';
1
+ import 'ant-design-vue/lib/input/style/css';
2
+ import { MaInputType, MaInputSize, MaInputCurrency, MaInputCurrencySymbol } from './types';
3
3
  export interface MaInputProps {
4
4
  type?: MaInputType;
5
5
  size?: MaInputSize;
@@ -12,124 +12,43 @@ export interface MaInputProps {
12
12
  addonAfter?: string;
13
13
  avatarUrl?: string;
14
14
  modelValue?: string;
15
- amountCurrency?: Currency;
16
- amountCurrencySymbol?: CurrencySymbol;
15
+ amountCurrency?: MaInputCurrency;
16
+ amountCurrencySymbol?: MaInputCurrencySymbol;
17
+ hint?: string;
17
18
  }
18
- declare const _sfc_main: import("vue").DefineComponent<{
19
- type: {
20
- type: __PropType<MaInputType>;
21
- required: false;
22
- default: string;
23
- };
24
- size: {
25
- type: __PropType<MaInputSize>;
26
- required: false;
27
- default: string;
28
- };
29
- title: {
30
- type: __PropType<string>;
31
- required: false;
32
- };
33
- hintText: {
34
- type: __PropType<string>;
35
- required: false;
36
- };
37
- hasError: {
38
- type: __PropType<boolean>;
39
- required: false;
40
- };
41
- placeholder: {
42
- type: __PropType<string>;
43
- required: false;
44
- };
45
- disabled: {
46
- type: __PropType<boolean>;
47
- required: false;
48
- };
49
- addonBefore: {
50
- type: __PropType<string>;
51
- required: false;
52
- };
53
- addonAfter: {
54
- type: __PropType<string>;
55
- required: false;
56
- };
57
- avatarUrl: {
58
- type: __PropType<string>;
59
- required: false;
60
- };
61
- modelValue: {
62
- type: __PropType<string>;
63
- required: false;
64
- };
65
- amountCurrency: {
66
- type: __PropType<Currency>;
67
- required: false;
68
- };
69
- amountCurrencySymbol: {
70
- type: __PropType<CurrencySymbol>;
71
- required: false;
72
- };
73
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "currency-change")[], "change" | "currency-change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
74
- type: {
75
- type: __PropType<MaInputType>;
76
- required: false;
77
- default: string;
78
- };
79
- size: {
80
- type: __PropType<MaInputSize>;
81
- required: false;
82
- default: string;
83
- };
84
- title: {
85
- type: __PropType<string>;
86
- required: false;
87
- };
88
- hintText: {
89
- type: __PropType<string>;
90
- required: false;
91
- };
92
- hasError: {
93
- type: __PropType<boolean>;
94
- required: false;
95
- };
96
- placeholder: {
97
- type: __PropType<string>;
98
- required: false;
99
- };
100
- disabled: {
101
- type: __PropType<boolean>;
102
- required: false;
103
- };
104
- addonBefore: {
105
- type: __PropType<string>;
106
- required: false;
107
- };
108
- addonAfter: {
109
- type: __PropType<string>;
110
- required: false;
111
- };
112
- avatarUrl: {
113
- type: __PropType<string>;
114
- required: false;
115
- };
116
- modelValue: {
117
- type: __PropType<string>;
118
- required: false;
119
- };
120
- amountCurrency: {
121
- type: __PropType<Currency>;
122
- required: false;
123
- };
124
- amountCurrencySymbol: {
125
- type: __PropType<CurrencySymbol>;
126
- required: false;
127
- };
128
- }>> & {
129
- onChange?: (...args: any[]) => any;
130
- "onCurrency-change"?: (...args: any[]) => any;
19
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaInputProps>, {
20
+ type: MaInputType;
21
+ size: MaInputSize;
22
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "currency-change")[], "change" | "currency-change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaInputProps>, {
23
+ type: MaInputType;
24
+ size: MaInputSize;
25
+ }>>> & {
26
+ onChange?: ((...args: any[]) => any) | undefined;
27
+ "onCurrency-change"?: ((...args: any[]) => any) | undefined;
131
28
  }, {
132
29
  type: MaInputType;
133
30
  size: MaInputSize;
31
+ }>, {
32
+ title: (_: {}) => any;
33
+ hint: (_: {}) => any;
134
34
  }>;
135
- export default _sfc_main;
35
+ export default _default;
36
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
37
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
38
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
39
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
40
+ } : {
41
+ type: import('vue').PropType<T[K]>;
42
+ required: true;
43
+ };
44
+ };
45
+ declare type __VLS_WithDefaults<P, D> = {
46
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
47
+ default: D[K];
48
+ } : P[K];
49
+ };
50
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
51
+ new (): {
52
+ $slots: S;
53
+ };
54
+ };
@@ -0,0 +1,11 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import type MaInput from '../index.vue';
3
+ declare const meta: Meta<typeof MaInput>;
4
+ export default meta;
5
+ declare type Story = StoryObj<typeof MaInput>;
6
+ export declare const Default: Story;
7
+ export declare const Small: Story;
8
+ export declare const Medium: Story;
9
+ export declare const Large: Story;
10
+ export declare const Error: Story;
11
+ export declare const Disabled: Story;
@@ -0,0 +1,4 @@
1
+ import type { Meta, StoryFn } from '@storybook/vue3';
2
+ import MaInput from '../index.vue';
3
+ export declare const baseConfig: Meta<typeof MaInput>;
4
+ export declare const Template: StoryFn;
@@ -0,0 +1,11 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import type MaInput from '../index.vue';
3
+ declare const meta: Meta<typeof MaInput>;
4
+ export default meta;
5
+ declare type Story = StoryObj<typeof MaInput>;
6
+ export declare const Default: Story;
7
+ export declare const Small: Story;
8
+ export declare const Medium: Story;
9
+ export declare const Large: Story;
10
+ export declare const Error: Story;
11
+ export declare const Disabled: Story;
@@ -0,0 +1,11 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import type MaInput from '../index.vue';
3
+ declare const meta: Meta<typeof MaInput>;
4
+ export default meta;
5
+ declare type Story = StoryObj<typeof MaInput>;
6
+ export declare const Default: Story;
7
+ export declare const Small: Story;
8
+ export declare const Medium: Story;
9
+ export declare const Large: Story;
10
+ export declare const Error: Story;
11
+ export declare const Disabled: Story;
@@ -0,0 +1,11 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import type MaInput from '../index.vue';
3
+ declare const meta: Meta<typeof MaInput>;
4
+ export default meta;
5
+ declare type Story = StoryObj<typeof MaInput>;
6
+ export declare const Default: Story;
7
+ export declare const Small: Story;
8
+ export declare const Medium: Story;
9
+ export declare const Large: Story;
10
+ export declare const Error: Story;
11
+ export declare const Disabled: Story;
@@ -0,0 +1,11 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import type MaInput from '../index.vue';
3
+ declare const meta: Meta<typeof MaInput>;
4
+ export default meta;
5
+ declare type Story = StoryObj<typeof MaInput>;
6
+ export declare const Default: Story;
7
+ export declare const Small: Story;
8
+ export declare const Medium: Story;
9
+ export declare const Large: Story;
10
+ export declare const Error: Story;
11
+ export declare const Disabled: Story;
@@ -0,0 +1,11 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import type MaInput from '../index.vue';
3
+ declare const meta: Meta<typeof MaInput>;
4
+ export default meta;
5
+ declare type Story = StoryObj<typeof MaInput>;
6
+ export declare const Default: Story;
7
+ export declare const Small: Story;
8
+ export declare const Medium: Story;
9
+ export declare const Large: Story;
10
+ export declare const Error: Story;
11
+ export declare const Disabled: Story;
@@ -0,0 +1,11 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import type MaInput from '../index.vue';
3
+ declare const meta: Meta<typeof MaInput>;
4
+ export default meta;
5
+ declare type Story = StoryObj<typeof MaInput>;
6
+ export declare const Default: Story;
7
+ export declare const Small: any;
8
+ export declare const Medium: any;
9
+ export declare const Large: any;
10
+ export declare const Error: any;
11
+ export declare const Disabled: any;
@@ -0,0 +1,29 @@
1
+ export declare enum MaInputType {
2
+ text = "text",
3
+ password = "password",
4
+ textarea = "textarea",
5
+ number = "number",
6
+ email = "email",
7
+ url = "url",
8
+ tel = "tel",
9
+ amount = "amount",
10
+ creditCard = "creditCard",
11
+ userInfo = "userInfo"
12
+ }
13
+ export declare enum MaInputSize {
14
+ small = "small",
15
+ medium = "medium",
16
+ large = "large"
17
+ }
18
+ export declare enum MaInputCurrency {
19
+ usd = "USD",
20
+ eur = "EUR",
21
+ gbp = "GBP",
22
+ jpy = "JPY"
23
+ }
24
+ export declare enum MaInputCurrencySymbol {
25
+ usd = "$",
26
+ eur = "\u20AC",
27
+ gbp = "\u00A3",
28
+ jpy = "\u00A5"
29
+ }
@@ -1,5 +1,20 @@
1
1
  import type { RadioGroupProps } from 'ant-design-vue/lib/radio';
2
+ import 'ant-design-vue/lib/radio/style/css';
2
3
  export interface MaRadioGroupProps extends RadioGroupProps {
3
4
  }
4
- declare const _sfc_main: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
5
- export default _sfc_main;
5
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<MaRadioGroupProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MaRadioGroupProps>>>, {}>, Record<NonNullable<string | number>, (_: {}) => any>>;
6
+ export default _default;
7
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
8
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
9
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
10
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
11
+ } : {
12
+ type: import('vue').PropType<T[K]>;
13
+ required: true;
14
+ };
15
+ };
16
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
@@ -1,30 +1,35 @@
1
- import type { PropType as __PropType } from 'vue';
2
1
  import { type RadioProps } from 'ant-design-vue/lib/radio';
2
+ import { MaRadioType } from "./types";
3
+ import 'ant-design-vue/lib/radio/style/css';
3
4
  export interface MaRadioProps extends RadioProps {
4
- type?: 'button' | 'check';
5
+ type?: MaRadioType;
5
6
  hint?: string;
7
+ disabled?: boolean;
6
8
  }
7
- declare const _sfc_main: import("vue").DefineComponent<{
8
- type: {
9
- type: __PropType<"button" | "check">;
10
- required: false;
11
- default: string;
9
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaRadioProps>, {
10
+ type: MaRadioType;
11
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaRadioProps>, {
12
+ type: MaRadioType;
13
+ }>>>, {
14
+ type: MaRadioType;
15
+ }>, Record<NonNullable<string | number>, (_: {}) => any>>;
16
+ export default _default;
17
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
18
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
19
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
20
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
21
+ } : {
22
+ type: import('vue').PropType<T[K]>;
23
+ required: true;
12
24
  };
13
- hint: {
14
- type: __PropType<string>;
15
- required: false;
25
+ };
26
+ declare type __VLS_WithDefaults<P, D> = {
27
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
28
+ default: D[K];
29
+ } : P[K];
30
+ };
31
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
32
+ new (): {
33
+ $slots: S;
16
34
  };
17
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
18
- type: {
19
- type: __PropType<"button" | "check">;
20
- required: false;
21
- default: string;
22
- };
23
- hint: {
24
- type: __PropType<string>;
25
- required: false;
26
- };
27
- }>>, {
28
- type: "button" | "check";
29
- }>;
30
- export default _sfc_main;
35
+ };
@@ -0,0 +1,4 @@
1
+ import type { Meta, StoryFn } from '@storybook/vue3';
2
+ import MaRadio from '../index.vue';
3
+ export declare const baseConfig: Meta<typeof MaRadio>;
4
+ export declare const Template: StoryFn;
@@ -0,0 +1,9 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import type MaRadio from '../index.vue';
3
+ declare const meta: Meta<typeof MaRadio>;
4
+ export default meta;
5
+ declare type Story = StoryObj<typeof MaRadio>;
6
+ export declare const Default: Story;
7
+ export declare const Button: Story;
8
+ export declare const Check: Story;
9
+ export declare const Disabled: Story;
@@ -0,0 +1,4 @@
1
+ export declare enum MaRadioType {
2
+ button = "button",
3
+ check = "check"
4
+ }
@@ -0,0 +1,8 @@
1
+ import 'ant-design-vue/lib/select/style/css';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, Record<NonNullable<string | number>, (_: {}) => any>>;
3
+ export default _default;
4
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
5
+ new (): {
6
+ $slots: S;
7
+ };
8
+ };
@@ -0,0 +1,5 @@
1
+ export declare const LABELS: {
2
+ google: string;
3
+ linkedin: string;
4
+ apple: string;
5
+ };
@@ -0,0 +1,34 @@
1
+ import 'ant-design-vue/lib/button/style/css';
2
+ import { MaSocialButtonType } from './types';
3
+ export interface MaButtonProps {
4
+ type?: MaSocialButtonType;
5
+ iconOnly?: boolean;
6
+ loading?: boolean;
7
+ }
8
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaButtonProps>, {
9
+ type: MaSocialButtonType;
10
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaButtonProps>, {
11
+ type: MaSocialButtonType;
12
+ }>>>, {
13
+ type: MaSocialButtonType;
14
+ }>, Record<NonNullable<string | number>, (_: {}) => any>>;
15
+ export default _default;
16
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
17
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
18
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
19
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
20
+ } : {
21
+ type: import('vue').PropType<T[K]>;
22
+ required: true;
23
+ };
24
+ };
25
+ declare type __VLS_WithDefaults<P, D> = {
26
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
27
+ default: D[K];
28
+ } : P[K];
29
+ };
30
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
31
+ new (): {
32
+ $slots: S;
33
+ };
34
+ };
@@ -0,0 +1,8 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import type MaSocialButton from '../index.vue';
3
+ declare const meta: Meta<typeof MaSocialButton>;
4
+ export default meta;
5
+ declare type Story = StoryObj<typeof MaSocialButton>;
6
+ export declare const Default: Story;
7
+ export declare const WithLabel: Story;
8
+ export declare const IconOnly: Story;
@@ -0,0 +1,4 @@
1
+ import type { Meta, StoryFn } from '@storybook/vue3';
2
+ import MaSocialButton from '../index.vue';
3
+ export declare const baseConfig: Meta<typeof MaSocialButton>;
4
+ export declare const Template: StoryFn;
@@ -0,0 +1,8 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import type MaSocialButton from '../index.vue';
3
+ declare const meta: Meta<typeof MaSocialButton>;
4
+ export default meta;
5
+ declare type Story = StoryObj<typeof MaSocialButton>;
6
+ export declare const Default: Story;
7
+ export declare const WithLabel: Story;
8
+ export declare const IconOnly: Story;
@@ -0,0 +1,8 @@
1
+ import type { Meta, StoryObj } from '@storybook/vue3';
2
+ import type MaSocialButton from '../index.vue';
3
+ declare const meta: Meta<typeof MaSocialButton>;
4
+ export default meta;
5
+ declare type Story = StoryObj<typeof MaSocialButton>;
6
+ export declare const Default: Story;
7
+ export declare const WithLabel: Story;
8
+ export declare const IconOnly: Story;
@@ -0,0 +1,5 @@
1
+ export declare enum MaSocialButtonType {
2
+ google = "google",
3
+ linkedin = "linkedin",
4
+ apple = "apple"
5
+ }
@@ -1,3 +1,4 @@
1
+ import 'tailwindcss/tailwind.css';
1
2
  export { default as MaButton } from './components/button/index.vue';
2
3
  export { default as MaInput } from './components/input/index.vue';
3
4
  export { default as MaIcon } from './components/icon/index.vue';