@framework-m/ui 0.4.1 → 0.5.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/Primitives.d.ts +3 -3
- package/dist/components/Skeleton.d.ts +10 -14
- package/dist/components/Skeleton.d.ts.map +1 -1
- package/dist/index.js +833 -783
- package/dist/index.js.map +1 -1
- package/dist/theme/mThemeConfig.d.ts +41 -1
- package/dist/theme/mThemeConfig.d.ts.map +1 -1
- package/dist/ui.css +1 -1
- package/package.json +1 -1
|
@@ -25,15 +25,15 @@ declare const _ZStack: import('@tamagui/core').TamaguiComponent<import('@tamagui
|
|
|
25
25
|
export declare const ZStack: (typeof _ZStack & React.FC<MStackProps>);
|
|
26
26
|
declare const _MText: import('@tamagui/core').TamaguiComponent<import('@tamagui/core').TamaDefer, import('@tamagui/core').TamaguiTextElement, import('@tamagui/core').RNTamaguiTextNonStyleProps, import('@tamagui/core').TextStylePropsBase, {
|
|
27
27
|
color?: "secondary" | "muted" | undefined;
|
|
28
|
-
size?: "$
|
|
28
|
+
size?: "$md" | "$sm" | "$xs" | "$lg" | "$xl" | "$xxl" | undefined;
|
|
29
29
|
}, import('@tamagui/core').StaticConfigPublic>;
|
|
30
30
|
export declare const MText: (typeof _MText & React.FC<MTextProps>);
|
|
31
31
|
declare const _Paragraph: import('@tamagui/core').TamaguiComponent<import('@tamagui/core').TamaDefer, import('@tamagui/core').TamaguiTextElement, import('@tamagui/core').RNTamaguiTextNonStyleProps, import('@tamagui/core').TextStylePropsBase, {
|
|
32
|
-
size?: "$
|
|
32
|
+
size?: "$md" | "$sm" | "$xs" | "$lg" | "$xl" | "$xxl" | undefined;
|
|
33
33
|
}, import('@tamagui/core').StaticConfigPublic>;
|
|
34
34
|
export declare const Paragraph: (typeof _Paragraph & React.FC<MTextProps>);
|
|
35
35
|
declare const _Heading: import('@tamagui/core').TamaguiComponent<import('@tamagui/core').TamaDefer, import('@tamagui/core').TamaguiTextElement, import('@tamagui/core').RNTamaguiTextNonStyleProps, import('@tamagui/core').TextStylePropsBase, {
|
|
36
|
-
size?: "$
|
|
36
|
+
size?: "$md" | "$sm" | "$xs" | "$lg" | "$xl" | "$xxl" | undefined;
|
|
37
37
|
}, import('@tamagui/core').StaticConfigPublic>;
|
|
38
38
|
export declare const Heading: (typeof _Heading & React.FC<MTextProps>);
|
|
39
39
|
export {};
|
|
@@ -1,22 +1,18 @@
|
|
|
1
|
+
import { GetProps } from '@tamagui/core';
|
|
1
2
|
import { default as React } from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
width?: number | string;
|
|
7
|
-
/** Custom height (overrides variant) */
|
|
8
|
-
height?: number | string;
|
|
9
|
-
/** Additional CSS class */
|
|
10
|
-
className?: string;
|
|
3
|
+
declare const _SkeletonFrame: import('@tamagui/core').TamaguiComponent<import('@tamagui/core').TamaDefer, import('@tamagui/core').TamaguiElement, import('@tamagui/core').RNTamaguiViewNonStyleProps, import('@tamagui/core').StackStyleBase, {
|
|
4
|
+
variant?: "button" | "text" | "heading" | "text-short" | "avatar" | undefined;
|
|
5
|
+
}, import('@tamagui/core').StaticConfigPublic>;
|
|
6
|
+
export type SkeletonProps = GetProps<typeof _SkeletonFrame> & {
|
|
11
7
|
/** Number of skeleton lines to render (for text variant) */
|
|
12
8
|
count?: number;
|
|
13
|
-
}
|
|
9
|
+
};
|
|
14
10
|
/**
|
|
15
11
|
* Skeleton loading placeholder with shimmer animation.
|
|
16
12
|
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
* defined in App.css (.skeleton, .skeleton-text, etc).
|
|
13
|
+
* React Native compatible via Tamagui.
|
|
14
|
+
* Uses the .skeleton CSS class for web-based shimmer.
|
|
20
15
|
*/
|
|
21
|
-
export declare
|
|
16
|
+
export declare const Skeleton: React.FC<SkeletonProps>;
|
|
17
|
+
export {};
|
|
22
18
|
//# sourceMappingURL=Skeleton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../src/components/Skeleton.tsx"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../src/components/Skeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgB,KAAK,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC5D,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,QAAA,MAAM,cAAc;;8CAuClB,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC,OAAO,cAAc,CAAC,GAAG;IAC5D,4DAA4D;IAC5D,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAgC5C,CAAC"}
|