@sudobility/components-rn 1.0.39 → 1.0.41
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/index.cjs.js +21 -0
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +21 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/ui/AppVersion/AppVersion.d.ts +24 -0
- package/dist/ui/AppVersion/AppVersion.d.ts.map +1 -0
- package/dist/ui/AppVersion/index.d.ts +3 -0
- package/dist/ui/AppVersion/index.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/__tests__/dialog.test.tsx +30 -1
- package/src/__tests__/sheet.test.tsx +42 -1
- package/src/__tests__/toast.test.tsx +32 -0
- package/src/index.ts +1 -0
- package/src/ui/AppVersion/AppVersion.tsx +42 -0
- package/src/ui/AppVersion/index.ts +2 -0
package/dist/index.cjs.js
CHANGED
|
@@ -3547,6 +3547,26 @@ const TruncatedText = ({
|
|
|
3547
3547
|
const truncatedText = getTruncatedText();
|
|
3548
3548
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(reactNative.Text, { className: cn(className), children: truncatedText });
|
|
3549
3549
|
};
|
|
3550
|
+
const AppVersion = ({
|
|
3551
|
+
appName,
|
|
3552
|
+
version,
|
|
3553
|
+
className
|
|
3554
|
+
}) => {
|
|
3555
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
3556
|
+
reactNative.Text,
|
|
3557
|
+
{
|
|
3558
|
+
className: cn(
|
|
3559
|
+
"text-sm text-gray-500 dark:text-gray-400 text-center",
|
|
3560
|
+
className
|
|
3561
|
+
),
|
|
3562
|
+
children: [
|
|
3563
|
+
appName,
|
|
3564
|
+
" v",
|
|
3565
|
+
version
|
|
3566
|
+
]
|
|
3567
|
+
}
|
|
3568
|
+
);
|
|
3569
|
+
};
|
|
3550
3570
|
const Badge = ({
|
|
3551
3571
|
children,
|
|
3552
3572
|
variant = "default",
|
|
@@ -10976,6 +10996,7 @@ exports.AlertDescription = AlertDescription;
|
|
|
10976
10996
|
exports.AlertTitle = AlertTitle;
|
|
10977
10997
|
exports.AnimatedCounter = AnimatedCounter;
|
|
10978
10998
|
exports.AnimatedSection = AnimatedSection;
|
|
10999
|
+
exports.AppVersion = AppVersion;
|
|
10979
11000
|
exports.AspectFitView = AspectFitView;
|
|
10980
11001
|
exports.AspectRatio = AspectRatio;
|
|
10981
11002
|
exports.Avatar = Avatar;
|