@retray-dev/ui-kit 10.2.0 → 12.1.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/COMPONENTS.md +287 -37
- package/README.md +11 -2
- package/dist/Accordion.mjs +2 -2
- package/dist/AlertBanner.mjs +2 -2
- package/dist/AppHeader.mjs +3 -3
- package/dist/Avatar.mjs +2 -2
- package/dist/Badge.mjs +2 -2
- package/dist/Button.mjs +2 -2
- package/dist/Card.mjs +2 -2
- package/dist/CategoryStrip.mjs +2 -2
- package/dist/Checkbox.mjs +2 -2
- package/dist/Chip.mjs +2 -2
- package/dist/ConfirmDialog.d.mts +1 -6
- package/dist/ConfirmDialog.d.ts +1 -6
- package/dist/ConfirmDialog.js +29 -23
- package/dist/ConfirmDialog.mjs +3 -3
- package/dist/CurrencyDisplay.mjs +2 -2
- package/dist/CurrencyInput.d.mts +3 -8
- package/dist/CurrencyInput.d.ts +3 -8
- package/dist/CurrencyInput.js +3 -1
- package/dist/CurrencyInput.mjs +3 -3
- package/dist/DetailRow.mjs +2 -2
- package/dist/EmptyState.mjs +3 -3
- package/dist/ErrorBoundary.mjs +2 -2
- package/dist/Form.mjs +2 -2
- package/dist/IconButton.mjs +2 -2
- package/dist/IconPicker.js +675 -248
- package/dist/IconPicker.mjs +3 -2
- package/dist/ImageUpload.mjs +3 -3
- package/dist/ImageViewer.mjs +4 -4
- package/dist/Input.mjs +2 -2
- package/dist/LabelValue.mjs +2 -2
- package/dist/ListGroup.mjs +2 -2
- package/dist/ListItem.d.mts +7 -7
- package/dist/ListItem.d.ts +7 -7
- package/dist/ListItem.js +12 -7
- package/dist/ListItem.mjs +2 -2
- package/dist/MediaCard.mjs +2 -2
- package/dist/MenuGroup.mjs +2 -2
- package/dist/MenuItem.mjs +2 -2
- package/dist/MonthPicker.mjs +2 -2
- package/dist/NumberStepper.mjs +2 -2
- package/dist/PagerDots.mjs +2 -2
- package/dist/Pressable.d.mts +15 -7
- package/dist/Pressable.d.ts +15 -7
- package/dist/Pressable.js +7 -3
- package/dist/Pressable.mjs +1 -1
- package/dist/PricingCard.mjs +4 -4
- package/dist/Progress.mjs +2 -2
- package/dist/RadioGroup.mjs +2 -2
- package/dist/RetrayProvider.mjs +3 -3
- package/dist/Select.mjs +2 -2
- package/dist/SelectableGrid.mjs +2 -2
- package/dist/Separator.mjs +2 -2
- package/dist/Sheet.d.mts +4 -46
- package/dist/Sheet.d.ts +4 -46
- package/dist/Sheet.js +46 -114
- package/dist/Sheet.mjs +2 -3
- package/dist/SheetSelect.mjs +2 -2
- package/dist/Skeleton.mjs +2 -2
- package/dist/Slider.mjs +2 -2
- package/dist/Spinner.mjs +2 -2
- package/dist/Stats.d.mts +30 -0
- package/dist/Stats.d.ts +30 -0
- package/dist/Stats.js +429 -0
- package/dist/Stats.mjs +9 -0
- package/dist/Switch.mjs +2 -2
- package/dist/TabBar.mjs +2 -2
- package/dist/Tabs.mjs +2 -2
- package/dist/Text.d.mts +3 -1
- package/dist/Text.d.ts +3 -1
- package/dist/Text.js +3 -3
- package/dist/Text.mjs +2 -2
- package/dist/Textarea.mjs +2 -2
- package/dist/Toast.mjs +2 -2
- package/dist/Toggle.mjs +2 -2
- package/dist/{chunk-YJ7I257J.mjs → chunk-265G6A46.mjs} +1 -1
- package/dist/{chunk-ELXBDILQ.mjs → chunk-2A2LEFZG.mjs} +2 -2
- package/dist/{chunk-ID72TK46.mjs → chunk-2CBQKU7H.mjs} +1 -1
- package/dist/{chunk-OB4JUQ3O.mjs → chunk-2I2AYECM.mjs} +1 -1
- package/dist/{chunk-WJLKJMKR.mjs → chunk-357YO24D.mjs} +4 -4
- package/dist/{chunk-GQYFLP3D.mjs → chunk-3GEYJ7I5.mjs} +1 -1
- package/dist/{chunk-AV4EMIRH.mjs → chunk-3N2M3WZL.mjs} +1 -1
- package/dist/{chunk-VF2ATYN3.mjs → chunk-3UYAZ7I4.mjs} +1 -1
- package/dist/{chunk-JMOZEC77.mjs → chunk-4WFMPFZB.mjs} +1 -1
- package/dist/chunk-5OLNXP3S.mjs +144 -0
- package/dist/{chunk-6SECQ2ZF.mjs → chunk-7HSILTC4.mjs} +2 -2
- package/dist/{chunk-IRRY3CRZ.mjs → chunk-AKM4EPOT.mjs} +1 -1
- package/dist/{chunk-IX3NYLYQ.mjs → chunk-AQEVCEXV.mjs} +1 -1
- package/dist/{chunk-WBOOUHSS.mjs → chunk-BCWEHE34.mjs} +1 -1
- package/dist/{chunk-AJ7ZDNBT.mjs → chunk-BOVUP27T.mjs} +1 -1
- package/dist/{chunk-BRKYVJVV.mjs → chunk-BQZE3HAW.mjs} +1 -1
- package/dist/{chunk-Z6SFHN6T.mjs → chunk-D3Y2T42P.mjs} +1 -1
- package/dist/{chunk-T2KCAHOS.mjs → chunk-DF6DU42P.mjs} +1 -1
- package/dist/{chunk-TB6SD2FT.mjs → chunk-DI7CBDL6.mjs} +1 -1
- package/dist/{chunk-HTHGSXFG.mjs → chunk-DOGIPOF5.mjs} +1 -1
- package/dist/{chunk-MBMXYJJV.mjs → chunk-E7NEHHXV.mjs} +7 -3
- package/dist/{chunk-MX6HRKMI.mjs → chunk-EFLFRAHD.mjs} +1 -1
- package/dist/{chunk-SOYNZDVY.mjs → chunk-EMUWGDWC.mjs} +6 -1
- package/dist/{chunk-AJRVDP2H.mjs → chunk-F4V6XLP4.mjs} +3 -3
- package/dist/{chunk-DYT7BG5I.mjs → chunk-FA2KMTH5.mjs} +1 -1
- package/dist/{chunk-Y2NS74WS.mjs → chunk-FFTYLPSB.mjs} +46 -98
- package/dist/{chunk-VKID2D2I.mjs → chunk-FUVYSVGR.mjs} +13 -8
- package/dist/{chunk-7LWRKMF5.mjs → chunk-FVTVCJAH.mjs} +1 -1
- package/dist/{chunk-TZDGAP5N.mjs → chunk-GK4VRMNE.mjs} +2 -2
- package/dist/{chunk-6Q64UFIA.mjs → chunk-HJ46DTJE.mjs} +1 -1
- package/dist/{chunk-WF2XDFRK.mjs → chunk-HLMPMUK2.mjs} +1 -1
- package/dist/{chunk-GD6KXMG5.mjs → chunk-I4V5XZPS.mjs} +1 -1
- package/dist/{chunk-TBNZHU6C.mjs → chunk-ISY26JQJ.mjs} +2 -2
- package/dist/{chunk-X4G6APW6.mjs → chunk-J6Q2YJEV.mjs} +1 -1
- package/dist/{chunk-WYEUNUTP.mjs → chunk-JCZQOY4O.mjs} +31 -24
- package/dist/{chunk-U2XJFYED.mjs → chunk-JNVAIDLK.mjs} +1 -1
- package/dist/{chunk-SOA2Z4RB.mjs → chunk-JULSIZDM.mjs} +1 -1
- package/dist/chunk-KHYX4IOM.mjs +1114 -0
- package/dist/{chunk-RYZC432S.mjs → chunk-LRM4AVYY.mjs} +1 -1
- package/dist/{chunk-6L4G6PBT.mjs → chunk-MYZ2EDYU.mjs} +1 -1
- package/dist/{chunk-BUMAMSTZ.mjs → chunk-N4ZPVCJH.mjs} +1 -1
- package/dist/{chunk-Z4VHZ7B5.mjs → chunk-NXI4YDZ2.mjs} +1 -1
- package/dist/{chunk-ZZ2R6KZ3.mjs → chunk-OULVKTWL.mjs} +1 -1
- package/dist/{chunk-FCSSQK3L.mjs → chunk-P64WHW4A.mjs} +1 -1
- package/dist/{chunk-KOO4WITD.mjs → chunk-P73V2EKS.mjs} +1 -1
- package/dist/{chunk-SXLKNTA4.mjs → chunk-PGERH3P7.mjs} +1 -1
- package/dist/{chunk-2UYENBLV.mjs → chunk-QSFV2P7O.mjs} +1 -1
- package/dist/{chunk-JT7HKXRB.mjs → chunk-S3KJCPEJ.mjs} +1 -1
- package/dist/{chunk-BEMIQXXU.mjs → chunk-V6NFJXKO.mjs} +1 -1
- package/dist/{chunk-A3A6KNQN.mjs → chunk-WOEWGSTU.mjs} +1 -1
- package/dist/{chunk-NMU5FMQJ.mjs → chunk-X26S5EVZ.mjs} +4 -2
- package/dist/{chunk-YFZ3ELX5.mjs → chunk-XBAGGKLW.mjs} +2 -2
- package/dist/{chunk-S2R7UVOE.mjs → chunk-ZHMSAYLT.mjs} +1 -1
- package/dist/fonts.d.mts +1 -7
- package/dist/fonts.d.ts +1 -7
- package/dist/fonts.js +0 -2
- package/dist/fonts.mjs +1 -2
- package/dist/index.d.mts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +1184 -708
- package/dist/index.mjs +53 -52
- package/package.json +3 -3
- package/src/components/ConfirmDialog/ConfirmDialog.tsx +39 -30
- package/src/components/CurrencyInput/CurrencyInput.tsx +4 -7
- package/src/components/IconPicker/IconPicker.tsx +124 -112
- package/src/components/ListItem/ListItem.tsx +43 -28
- package/src/components/Pressable/Pressable.tsx +20 -8
- package/src/components/Sheet/Sheet.tsx +64 -172
- package/src/components/Stats/Stats.tsx +226 -0
- package/src/components/Stats/index.ts +2 -0
- package/src/components/Text/Text.tsx +4 -2
- package/src/fonts.ts +0 -7
- package/src/index.ts +4 -0
- package/src/theme/colorUtils.ts +9 -0
- package/src/utils/curatedIcons.ts +698 -135
- package/src/utils/fontGuard.ts +2 -1
- package/dist/chunk-53Z3NYGE.mjs +0 -742
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { impactLight } from './chunk-EJ7ZPXOH.mjs';
|
|
2
2
|
import { RADIUS } from './chunk-QY3X2UYR.mjs';
|
|
3
3
|
import { renderIcon } from './chunk-KA7LTET3.mjs';
|
|
4
|
-
import { useTheme } from './chunk-
|
|
4
|
+
import { useTheme } from './chunk-EMUWGDWC.mjs';
|
|
5
5
|
import { ms, vs, s, mvs } from './chunk-2CE3TQVY.mjs';
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { StyleSheet, View, Text, TouchableOpacity } from 'react-native';
|
|
@@ -3,7 +3,7 @@ import { selectionAsync } from './chunk-EJ7ZPXOH.mjs';
|
|
|
3
3
|
import { PRESS_SCALE, COLOR_TRANSITION } from './chunk-DVK4G2GT.mjs';
|
|
4
4
|
import { RADIUS } from './chunk-QY3X2UYR.mjs';
|
|
5
5
|
import { renderIcon } from './chunk-KA7LTET3.mjs';
|
|
6
|
-
import { useTheme } from './chunk-
|
|
6
|
+
import { useTheme } from './chunk-EMUWGDWC.mjs';
|
|
7
7
|
import { ms, s, vs } from './chunk-2CE3TQVY.mjs';
|
|
8
8
|
import React, { useCallback } from 'react';
|
|
9
9
|
import { TouchableOpacity, View, Text, StyleSheet, ScrollView } from 'react-native';
|
|
@@ -2,7 +2,7 @@ import { PressableButton } from './chunk-3DKJ2GIC.mjs';
|
|
|
2
2
|
import { impactLight } from './chunk-EJ7ZPXOH.mjs';
|
|
3
3
|
import { RADIUS } from './chunk-QY3X2UYR.mjs';
|
|
4
4
|
import { renderIcon } from './chunk-KA7LTET3.mjs';
|
|
5
|
-
import { useTheme } from './chunk-
|
|
5
|
+
import { useTheme } from './chunk-EMUWGDWC.mjs';
|
|
6
6
|
import { s, mvs, ms } from './chunk-2CE3TQVY.mjs';
|
|
7
7
|
import React from 'react';
|
|
8
8
|
import { StyleSheet, View, Text } from 'react-native';
|
|
@@ -3,7 +3,7 @@ import { selectionAsync } from './chunk-EJ7ZPXOH.mjs';
|
|
|
3
3
|
import { PRESS_SCALE } from './chunk-DVK4G2GT.mjs';
|
|
4
4
|
import { RADIUS } from './chunk-QY3X2UYR.mjs';
|
|
5
5
|
import { renderIcon } from './chunk-KA7LTET3.mjs';
|
|
6
|
-
import { useTheme } from './chunk-
|
|
6
|
+
import { useTheme } from './chunk-EMUWGDWC.mjs';
|
|
7
7
|
import { mvs, ms, vs, s } from './chunk-2CE3TQVY.mjs';
|
|
8
8
|
import React, { useState } from 'react';
|
|
9
9
|
import { StyleSheet, ScrollView, View, TouchableOpacity, Text } from 'react-native';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { selectionAsync } from './chunk-EJ7ZPXOH.mjs';
|
|
2
2
|
import { SPRINGS } from './chunk-DVK4G2GT.mjs';
|
|
3
3
|
import { renderIcon } from './chunk-KA7LTET3.mjs';
|
|
4
|
-
import { useTheme } from './chunk-
|
|
4
|
+
import { useTheme } from './chunk-EMUWGDWC.mjs';
|
|
5
5
|
import { s } from './chunk-2CE3TQVY.mjs';
|
|
6
6
|
import React, { useEffect } from 'react';
|
|
7
7
|
import { StyleSheet, View, TouchableOpacity } from 'react-native';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { renderIcon } from './chunk-KA7LTET3.mjs';
|
|
2
|
-
import { useTheme } from './chunk-
|
|
2
|
+
import { useTheme } from './chunk-EMUWGDWC.mjs';
|
|
3
3
|
import { mvs, ms, s } from './chunk-2CE3TQVY.mjs';
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { StyleSheet, View, Text } from 'react-native';
|
|
@@ -3,7 +3,7 @@ import { selectionAsync } from './chunk-EJ7ZPXOH.mjs';
|
|
|
3
3
|
import { COLOR_TRANSITION } from './chunk-DVK4G2GT.mjs';
|
|
4
4
|
import { RADIUS } from './chunk-QY3X2UYR.mjs';
|
|
5
5
|
import { renderIcon } from './chunk-KA7LTET3.mjs';
|
|
6
|
-
import { useTheme } from './chunk-
|
|
6
|
+
import { useTheme } from './chunk-EMUWGDWC.mjs';
|
|
7
7
|
import { ms, mvs, s, vs } from './chunk-2CE3TQVY.mjs';
|
|
8
8
|
import React from 'react';
|
|
9
9
|
import { StyleSheet, View, Text, ScrollView } from 'react-native';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { COLOR_TRANSITION } from './chunk-DVK4G2GT.mjs';
|
|
2
2
|
import { renderIcon } from './chunk-KA7LTET3.mjs';
|
|
3
|
-
import { useTheme } from './chunk-
|
|
3
|
+
import { useTheme } from './chunk-EMUWGDWC.mjs';
|
|
4
4
|
import { ms, s, vs } from './chunk-2CE3TQVY.mjs';
|
|
5
5
|
import React, { useState } from 'react';
|
|
6
6
|
import { Platform, StyleSheet, TouchableOpacity, View, Text, TextInput } from 'react-native';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RADIUS } from './chunk-QY3X2UYR.mjs';
|
|
2
2
|
import { renderIcon } from './chunk-KA7LTET3.mjs';
|
|
3
|
-
import { useTheme } from './chunk-
|
|
3
|
+
import { useTheme } from './chunk-EMUWGDWC.mjs';
|
|
4
4
|
import { s, vs, ms } from './chunk-2CE3TQVY.mjs';
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { StyleSheet, View, Text, TouchableOpacity } from 'react-native';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { usePressScale } from './chunk-YNROWHQJ.mjs';
|
|
2
2
|
import { selectionAsync } from './chunk-EJ7ZPXOH.mjs';
|
|
3
3
|
import { PRESS_SCALE } from './chunk-DVK4G2GT.mjs';
|
|
4
|
-
import { useTheme } from './chunk-
|
|
4
|
+
import { useTheme } from './chunk-EMUWGDWC.mjs';
|
|
5
5
|
import { ms, vs, s } from './chunk-2CE3TQVY.mjs';
|
|
6
6
|
import React, { useState, useRef } from 'react';
|
|
7
7
|
import { Platform, StyleSheet, View, Text, TouchableOpacity, Modal } from 'react-native';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Input } from './chunk-
|
|
1
|
+
import { Input } from './chunk-PGERH3P7.mjs';
|
|
2
2
|
import { ms, vs } from './chunk-2CE3TQVY.mjs';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
|
|
@@ -21,7 +21,8 @@ function CurrencyInput({
|
|
|
21
21
|
editable,
|
|
22
22
|
containerStyle,
|
|
23
23
|
style,
|
|
24
|
-
sheetMode
|
|
24
|
+
sheetMode,
|
|
25
|
+
...props
|
|
25
26
|
}) {
|
|
26
27
|
const handleChange = (text) => {
|
|
27
28
|
const withoutPrefix = prefix && text.startsWith(prefix) ? text.slice(prefix.length) : text;
|
|
@@ -42,6 +43,7 @@ function CurrencyInput({
|
|
|
42
43
|
return /* @__PURE__ */ React.createElement(
|
|
43
44
|
Input,
|
|
44
45
|
{
|
|
46
|
+
...props,
|
|
45
47
|
value: displayValue,
|
|
46
48
|
onChangeText: handleChange,
|
|
47
49
|
keyboardType: "numeric",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ToastProvider } from './chunk-
|
|
2
|
-
import { ThemeProvider } from './chunk-
|
|
1
|
+
import { ToastProvider } from './chunk-QSFV2P7O.mjs';
|
|
2
|
+
import { ThemeProvider } from './chunk-EMUWGDWC.mjs';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { StyleSheet } from 'react-native';
|
|
5
5
|
import { SafeAreaProvider, initialWindowMetrics } from 'react-native-safe-area-context';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { renderIcon } from './chunk-KA7LTET3.mjs';
|
|
2
|
-
import { useTheme } from './chunk-
|
|
2
|
+
import { useTheme } from './chunk-EMUWGDWC.mjs';
|
|
3
3
|
import { mvs, ms, s } from './chunk-2CE3TQVY.mjs';
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { StyleSheet, View, Text } from 'react-native';
|
package/dist/fonts.d.mts
CHANGED
|
@@ -30,11 +30,5 @@
|
|
|
30
30
|
declare const SohneFontNames: readonly ["Sohne-ExtraLight", "Sohne-ExtraLightItalic", "Sohne-Light", "Sohne-LightItalic", "Sohne-Regular", "Sohne-Italic", "Sohne-Medium", "Sohne-MediumItalic", "Sohne-SemiBold", "Sohne-SemiBoldItalic", "Sohne-Bold", "Sohne-BoldItalic", "Sohne-ExtraBold", "Sohne-ExtraBoldItalic", "SohneMono-ExtraLight", "SohneMono-ExtraLightItalic", "SohneMono-Light", "SohneMono-LightItalic", "SohneMono-Regular", "SohneMono-Italic", "SohneMono-Medium", "SohneMono-MediumItalic", "SohneMono-SemiBold", "SohneMono-SemiBoldItalic", "SohneMono-Bold", "SohneMono-BoldItalic", "SohneMono-ExtraBold", "SohneMono-ExtraBoldItalic"];
|
|
31
31
|
/** Type for any valid Sohne font family name */
|
|
32
32
|
type SohneFontName = (typeof SohneFontNames)[number];
|
|
33
|
-
/**
|
|
34
|
-
* @deprecated SohneFonts export removed in v10.0.0.
|
|
35
|
-
* Metro cannot resolve require() calls from node_modules reliably.
|
|
36
|
-
* Copy the static SohneFonts boilerplate from CONSUMER.md into your App.tsx instead.
|
|
37
|
-
*/
|
|
38
|
-
declare const SohneFonts: undefined;
|
|
39
33
|
|
|
40
|
-
export { type SohneFontName, SohneFontNames
|
|
34
|
+
export { type SohneFontName, SohneFontNames };
|
package/dist/fonts.d.ts
CHANGED
|
@@ -30,11 +30,5 @@
|
|
|
30
30
|
declare const SohneFontNames: readonly ["Sohne-ExtraLight", "Sohne-ExtraLightItalic", "Sohne-Light", "Sohne-LightItalic", "Sohne-Regular", "Sohne-Italic", "Sohne-Medium", "Sohne-MediumItalic", "Sohne-SemiBold", "Sohne-SemiBoldItalic", "Sohne-Bold", "Sohne-BoldItalic", "Sohne-ExtraBold", "Sohne-ExtraBoldItalic", "SohneMono-ExtraLight", "SohneMono-ExtraLightItalic", "SohneMono-Light", "SohneMono-LightItalic", "SohneMono-Regular", "SohneMono-Italic", "SohneMono-Medium", "SohneMono-MediumItalic", "SohneMono-SemiBold", "SohneMono-SemiBoldItalic", "SohneMono-Bold", "SohneMono-BoldItalic", "SohneMono-ExtraBold", "SohneMono-ExtraBoldItalic"];
|
|
31
31
|
/** Type for any valid Sohne font family name */
|
|
32
32
|
type SohneFontName = (typeof SohneFontNames)[number];
|
|
33
|
-
/**
|
|
34
|
-
* @deprecated SohneFonts export removed in v10.0.0.
|
|
35
|
-
* Metro cannot resolve require() calls from node_modules reliably.
|
|
36
|
-
* Copy the static SohneFonts boilerplate from CONSUMER.md into your App.tsx instead.
|
|
37
|
-
*/
|
|
38
|
-
declare const SohneFonts: undefined;
|
|
39
33
|
|
|
40
|
-
export { type SohneFontName, SohneFontNames
|
|
34
|
+
export { type SohneFontName, SohneFontNames };
|
package/dist/fonts.js
CHANGED
package/dist/fonts.mjs
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -53,6 +53,7 @@ export { SheetSelect, SheetSelectOption, SheetSelectProps } from './SheetSelect.
|
|
|
53
53
|
export { ImageUpload, ImageUploadProps } from './ImageUpload.mjs';
|
|
54
54
|
export { IconPicker, IconPickerProps } from './IconPicker.mjs';
|
|
55
55
|
export { NumberStepper, NumberStepperProps, NumberStepperSize } from './NumberStepper.mjs';
|
|
56
|
+
export { Stats, StatsGroupProps, StatsProps, StatsVariant } from './Stats.mjs';
|
|
56
57
|
export { BottomSheetModalProvider, BottomSheetTextInput as SheetTextInput } from '@gorhom/bottom-sheet';
|
|
57
58
|
export { toast } from 'sonner-native';
|
|
58
59
|
import 'react-native';
|
|
@@ -103,6 +104,8 @@ declare function getValidIconNames(families?: IconFamily[]): string[];
|
|
|
103
104
|
declare function Icon({ name, size, color, family }: IconProps): React.ReactElement | null;
|
|
104
105
|
declare function renderIcon(name: string, size: number, color: string): React.ReactElement | null;
|
|
105
106
|
|
|
107
|
+
declare function withAlpha(hex: string, alpha: number): string;
|
|
108
|
+
|
|
106
109
|
/**
|
|
107
110
|
* Returns a font size that steps down as formatted text grows longer.
|
|
108
111
|
* Designed for currency/numeric displays where long values overflow.
|
|
@@ -389,4 +392,4 @@ type RadiusKey = keyof Radius;
|
|
|
389
392
|
type Typography = typeof TYPOGRAPHY;
|
|
390
393
|
type TypographyKey = keyof Typography;
|
|
391
394
|
|
|
392
|
-
export { BREAKPOINTS, ColorScheme, ICON_SIZES, Icon, type IconFamily, type IconProps, type IconSize, type IconSizeKey, RADIUS, type Radius, type RadiusKey, ResolvedColors, SHADOWS, SPACING, type Spacing, type SpacingKey, TYPOGRAPHY, Theme, ThemeColors, ThemeProvider, type ThemeProviderProps, type Typography, type TypographyKey, type UseConfirmDialogOptions, type UseConfirmDialogResult, configureIconFamilies, defaultDark, defaultLight, deriveColors, getResponsiveFontSize, getValidIconNames, impactHeavy, impactLight, impactMedium, notificationError, notificationSuccess, notificationWarning, renderIcon, richHaptics, selectionAsync, useConfirmDialog, useTheme };
|
|
395
|
+
export { BREAKPOINTS, ColorScheme, ICON_SIZES, Icon, type IconFamily, type IconProps, type IconSize, type IconSizeKey, RADIUS, type Radius, type RadiusKey, ResolvedColors, SHADOWS, SPACING, type Spacing, type SpacingKey, TYPOGRAPHY, Theme, ThemeColors, ThemeProvider, type ThemeProviderProps, type Typography, type TypographyKey, type UseConfirmDialogOptions, type UseConfirmDialogResult, configureIconFamilies, defaultDark, defaultLight, deriveColors, getResponsiveFontSize, getValidIconNames, impactHeavy, impactLight, impactMedium, notificationError, notificationSuccess, notificationWarning, renderIcon, richHaptics, selectionAsync, useConfirmDialog, useTheme, withAlpha };
|
package/dist/index.d.ts
CHANGED
|
@@ -53,6 +53,7 @@ export { SheetSelect, SheetSelectOption, SheetSelectProps } from './SheetSelect.
|
|
|
53
53
|
export { ImageUpload, ImageUploadProps } from './ImageUpload.js';
|
|
54
54
|
export { IconPicker, IconPickerProps } from './IconPicker.js';
|
|
55
55
|
export { NumberStepper, NumberStepperProps, NumberStepperSize } from './NumberStepper.js';
|
|
56
|
+
export { Stats, StatsGroupProps, StatsProps, StatsVariant } from './Stats.js';
|
|
56
57
|
export { BottomSheetModalProvider, BottomSheetTextInput as SheetTextInput } from '@gorhom/bottom-sheet';
|
|
57
58
|
export { toast } from 'sonner-native';
|
|
58
59
|
import 'react-native';
|
|
@@ -103,6 +104,8 @@ declare function getValidIconNames(families?: IconFamily[]): string[];
|
|
|
103
104
|
declare function Icon({ name, size, color, family }: IconProps): React.ReactElement | null;
|
|
104
105
|
declare function renderIcon(name: string, size: number, color: string): React.ReactElement | null;
|
|
105
106
|
|
|
107
|
+
declare function withAlpha(hex: string, alpha: number): string;
|
|
108
|
+
|
|
106
109
|
/**
|
|
107
110
|
* Returns a font size that steps down as formatted text grows longer.
|
|
108
111
|
* Designed for currency/numeric displays where long values overflow.
|
|
@@ -389,4 +392,4 @@ type RadiusKey = keyof Radius;
|
|
|
389
392
|
type Typography = typeof TYPOGRAPHY;
|
|
390
393
|
type TypographyKey = keyof Typography;
|
|
391
394
|
|
|
392
|
-
export { BREAKPOINTS, ColorScheme, ICON_SIZES, Icon, type IconFamily, type IconProps, type IconSize, type IconSizeKey, RADIUS, type Radius, type RadiusKey, ResolvedColors, SHADOWS, SPACING, type Spacing, type SpacingKey, TYPOGRAPHY, Theme, ThemeColors, ThemeProvider, type ThemeProviderProps, type Typography, type TypographyKey, type UseConfirmDialogOptions, type UseConfirmDialogResult, configureIconFamilies, defaultDark, defaultLight, deriveColors, getResponsiveFontSize, getValidIconNames, impactHeavy, impactLight, impactMedium, notificationError, notificationSuccess, notificationWarning, renderIcon, richHaptics, selectionAsync, useConfirmDialog, useTheme };
|
|
395
|
+
export { BREAKPOINTS, ColorScheme, ICON_SIZES, Icon, type IconFamily, type IconProps, type IconSize, type IconSizeKey, RADIUS, type Radius, type RadiusKey, ResolvedColors, SHADOWS, SPACING, type Spacing, type SpacingKey, TYPOGRAPHY, Theme, ThemeColors, ThemeProvider, type ThemeProviderProps, type Typography, type TypographyKey, type UseConfirmDialogOptions, type UseConfirmDialogResult, configureIconFamilies, defaultDark, defaultLight, deriveColors, getResponsiveFontSize, getValidIconNames, impactHeavy, impactLight, impactMedium, notificationError, notificationSuccess, notificationWarning, renderIcon, richHaptics, selectionAsync, useConfirmDialog, useTheme, withAlpha };
|