@mobileaction/action-kit 1.24.0 → 1.24.2

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,41 @@
1
+ import { type TypographyType, TypographyTag, TypographyWeight } from './types';
2
+ export interface MaTypographyProps {
3
+ type?: TypographyType;
4
+ tag?: TypographyTag;
5
+ weight?: TypographyWeight;
6
+ }
7
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaTypographyProps>, {
8
+ type: string;
9
+ tag: string;
10
+ weight: string;
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<MaTypographyProps>, {
12
+ type: string;
13
+ tag: string;
14
+ weight: string;
15
+ }>>>, {
16
+ type: "display-1" | "display-2" | "heading-1" | "heading-2" | "heading-3" | "heading-4" | "heading-5" | "heading-6" | "body-1" | "body-2" | "body-3" | "body-4" | "caption-1" | "caption-2";
17
+ tag: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span";
18
+ weight: "bold" | "medium" | "light" | "regular" | "semibold";
19
+ }>, {
20
+ default: (_: {}) => any;
21
+ }>;
22
+ export default _default;
23
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
24
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
25
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
26
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
27
+ } : {
28
+ type: import('vue').PropType<T[K]>;
29
+ required: true;
30
+ };
31
+ };
32
+ declare type __VLS_WithDefaults<P, D> = {
33
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
34
+ default: D[K];
35
+ } : P[K];
36
+ };
37
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
38
+ new (): {
39
+ $slots: S;
40
+ };
41
+ };
@@ -0,0 +1,5 @@
1
+ import type { Meta, StoryFn } from '@storybook/vue3';
2
+ import MaTypography from '../index.vue';
3
+ export declare const baseConfig: Meta<typeof MaTypography>;
4
+ export declare const TemplateSimple: StoryFn;
5
+ export declare const Template: StoryFn;
@@ -0,0 +1,21 @@
1
+ import type { Meta, StoryFn, StoryObj } from '@storybook/vue3';
2
+ import MaTypography from '@/components/typography/index.vue';
3
+ declare const meta: Meta<typeof MaTypography>;
4
+ export default meta;
5
+ declare type Story = StoryObj<typeof MaTypography>;
6
+ export declare const Default: Story;
7
+ export declare const Display1: Story;
8
+ export declare const Display2: Story;
9
+ export declare const Heading1: Story;
10
+ export declare const Heading2: Story;
11
+ export declare const Heading3: Story;
12
+ export declare const Heading4: Story;
13
+ export declare const Heading5: Story;
14
+ export declare const Heading6: Story;
15
+ export declare const Body1: Story;
16
+ export declare const Body2: Story;
17
+ export declare const Body3: Story;
18
+ export declare const Body4: Story;
19
+ export declare const Caption1: Story;
20
+ export declare const Caption2: Story;
21
+ export declare const SlotUsage: StoryFn;
@@ -0,0 +1,6 @@
1
+ export declare const TypographyTypes: readonly ["display-1", "display-2", "heading-1", "heading-2", "heading-3", "heading-4", "heading-5", "heading-6", "body-1", "body-2", "body-3", "body-4", "caption-1", "caption-2"];
2
+ export declare const TypographyTags: readonly ["div", "p", "h1", "h2", "h3", "h4", "h5", "h6", "span"];
3
+ export declare const TypographyWeights: readonly ["light", "regular", "medium", "semibold", "bold"];
4
+ export declare type TypographyType = (typeof TypographyTypes)[number];
5
+ export declare type TypographyTag = (typeof TypographyTags)[number];
6
+ export declare type TypographyWeight = (typeof TypographyWeights)[number];
@@ -90,5 +90,7 @@ export { default as MaStepItems } from './components/step-items/index.vue';
90
90
  export { default as MaStepItem } from './components/step-items/components/index.vue';
91
91
  export { default as MaRadioCard } from './components/radio-card/index.vue';
92
92
  export { default as MaDatePicker } from './components/date-picker/index.vue';
93
+ export { default as MaTypography } from './components/typography/index.vue';
94
+ export * from './components/typography/types';
93
95
  export { ActionKitConfig } from './services/config';
94
96
  export { useActionKitConfig } from './composables/config';