blimpui 0.0.5 → 0.0.8
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/skeleton.d.ts +2 -2
- package/dist/$/components/primitives/skeleton.d.ts.map +1 -1
- package/dist/$/components/primitives/skeleton.js +4 -4
- package/dist/$/components/primitives/text.d.ts +1 -0
- package/dist/$/components/primitives/text.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { View } from
|
|
2
|
-
import * as React from
|
|
1
|
+
import { View } from "react-native";
|
|
2
|
+
import * as React from "react";
|
|
3
3
|
declare function Skeleton({ className, ...props }: React.ComponentProps<typeof View> & React.RefAttributes<View>): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export { Skeleton };
|
|
5
5
|
//# sourceMappingURL=skeleton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"skeleton.d.ts","sourceRoot":"","sources":["../../../../$/components/primitives/skeleton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAOpC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,iBAAS,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"skeleton.d.ts","sourceRoot":"","sources":["../../../../$/components/primitives/skeleton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAOpC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,iBAAS,QAAQ,CAAC,EACjB,SAAS,EACT,GAAG,KAAK,EACR,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,2CAoB/D;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -21,9 +21,9 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
21
21
|
return t;
|
|
22
22
|
};
|
|
23
23
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
|
-
import { cn } from
|
|
25
|
-
import Animated, { useAnimatedStyle, useSharedValue, withRepeat, withTiming, } from
|
|
26
|
-
import * as React from
|
|
24
|
+
import { cn } from "../../../$/lib/utils";
|
|
25
|
+
import Animated, { useAnimatedStyle, useSharedValue, withRepeat, withTiming, } from "react-native-reanimated";
|
|
26
|
+
import * as React from "react";
|
|
27
27
|
var duration = 1000;
|
|
28
28
|
function Skeleton(_a) {
|
|
29
29
|
var className = _a.className, props = __rest(_a, ["className"]);
|
|
@@ -34,6 +34,6 @@ function Skeleton(_a) {
|
|
|
34
34
|
var style = useAnimatedStyle(function () { return ({
|
|
35
35
|
opacity: sv.value,
|
|
36
36
|
}); }, [sv]);
|
|
37
|
-
return (_jsx(Animated.View, __assign({ style: style, className: cn(
|
|
37
|
+
return (_jsx(Animated.View, __assign({ style: style, className: cn("bg-muted dark:bg-muted rounded-md", className) }, props)));
|
|
38
38
|
}
|
|
39
39
|
export { Skeleton };
|
|
@@ -8,6 +8,7 @@ type TextVariantProps = VariantProps<typeof textVariants>;
|
|
|
8
8
|
declare const TextClassContext: React.Context<string>;
|
|
9
9
|
declare function Text({ className, asChild, variant, ...props }: React.ComponentProps<typeof RNText> & TextVariantProps & React.RefAttributes<RNText> & {
|
|
10
10
|
asChild?: boolean;
|
|
11
|
+
className?: string;
|
|
11
12
|
}): import("react/jsx-runtime").JSX.Element;
|
|
12
13
|
export { Text, TextClassContext };
|
|
13
14
|
//# sourceMappingURL=text.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../../$/components/primitives/text.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAY,IAAI,IAAI,MAAM,EAAa,MAA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