@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.
@@ -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?: "$xs" | "$sm" | "$md" | "$lg" | "$xl" | "$xxl" | undefined;
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?: "$xs" | "$sm" | "$md" | "$lg" | "$xl" | "$xxl" | undefined;
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?: "$xs" | "$sm" | "$md" | "$lg" | "$xl" | "$xxl" | undefined;
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
- export interface SkeletonProps {
3
- /** Preset variant */
4
- variant?: "text" | "text-short" | "heading" | "avatar" | "button";
5
- /** Custom width (overrides variant) */
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
- * Renders one or more shimmer bars as placeholder content
18
- * while actual content loads. Uses CSS-only animation
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 function Skeleton({ variant, width, height, className, count, }: SkeletonProps): React.ReactElement;
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;;;;;;;;;;;;GAYG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,aAAa;IAC5B,qBAAqB;IACrB,OAAO,CAAC,EAAE,MAAM,GAAG,YAAY,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAC;IAClE,uCAAuC;IACvC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,wCAAwC;IACxC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4DAA4D;IAC5D,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,EACvB,OAAgB,EAChB,KAAK,EACL,MAAM,EACN,SAAc,EACd,KAAS,GACV,EAAE,aAAa,GAAG,KAAK,CAAC,YAAY,CA6BpC"}
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"}