@bigbinary/neetoui-rn 2.3.4 → 3.0.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/README.md +118 -0
- package/lib/typescript/src/components/Alert/Alert.d.ts +32 -0
- package/lib/typescript/src/components/Alert/Alert.d.ts.map +1 -0
- package/lib/typescript/src/components/Alert/index.d.ts +2 -0
- package/lib/typescript/src/components/Alert/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Avatar/Avatar.d.ts +21 -0
- package/lib/typescript/src/components/Avatar/Avatar.d.ts.map +1 -0
- package/lib/typescript/src/components/Avatar/index.d.ts +2 -0
- package/lib/typescript/src/components/Avatar/index.d.ts.map +1 -0
- package/lib/typescript/src/components/BottomSheet/BottomSheet.d.ts +61 -0
- package/lib/typescript/src/components/BottomSheet/BottomSheet.d.ts.map +1 -0
- package/lib/typescript/src/components/BottomSheet/index.d.ts +2 -0
- package/lib/typescript/src/components/BottomSheet/index.d.ts.map +1 -0
- package/lib/typescript/src/components/BottomSheetMenu/BottomSheetMenu.d.ts +28 -0
- package/lib/typescript/src/components/BottomSheetMenu/BottomSheetMenu.d.ts.map +1 -0
- package/lib/typescript/src/components/BottomSheetMenu/index.d.ts +2 -0
- package/lib/typescript/src/components/BottomSheetMenu/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Button/Button.d.ts +79 -0
- package/lib/typescript/src/components/Button/Button.d.ts.map +1 -0
- package/lib/typescript/src/components/Button/index.d.ts +2 -0
- package/lib/typescript/src/components/Button/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ChatInput/AttachmentsView.d.ts +11 -0
- package/lib/typescript/src/components/ChatInput/AttachmentsView.d.ts.map +1 -0
- package/lib/typescript/src/components/ChatInput/ChatInput.d.ts +78 -0
- package/lib/typescript/src/components/ChatInput/ChatInput.d.ts.map +1 -0
- package/lib/typescript/src/components/ChatInput/IconButton.d.ts +16 -0
- package/lib/typescript/src/components/ChatInput/IconButton.d.ts.map +1 -0
- package/lib/typescript/src/components/ChatInput/MentionsInput.d.ts +13 -0
- package/lib/typescript/src/components/ChatInput/MentionsInput.d.ts.map +1 -0
- package/lib/typescript/src/components/ChatInput/constants.d.ts +9 -0
- package/lib/typescript/src/components/ChatInput/constants.d.ts.map +1 -0
- package/lib/typescript/src/components/ChatInput/index.d.ts +4 -0
- package/lib/typescript/src/components/ChatInput/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ChatInput/mentions.d.ts +26 -0
- package/lib/typescript/src/components/ChatInput/mentions.d.ts.map +1 -0
- package/lib/typescript/src/components/CheckBox/CheckBox.d.ts +13 -0
- package/lib/typescript/src/components/CheckBox/CheckBox.d.ts.map +1 -0
- package/lib/typescript/src/components/CheckBox/index.d.ts +2 -0
- package/lib/typescript/src/components/CheckBox/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Container/Container.d.ts +9 -0
- package/lib/typescript/src/components/Container/Container.d.ts.map +1 -0
- package/lib/typescript/src/components/Container/index.d.ts +2 -0
- package/lib/typescript/src/components/Container/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Divider/Divider.d.ts +7 -0
- package/lib/typescript/src/components/Divider/Divider.d.ts.map +1 -0
- package/lib/typescript/src/components/Divider/index.d.ts +2 -0
- package/lib/typescript/src/components/Divider/index.d.ts.map +1 -0
- package/lib/typescript/src/components/EmptyView/EmptyView.d.ts +26 -0
- package/lib/typescript/src/components/EmptyView/EmptyView.d.ts.map +1 -0
- package/lib/typescript/src/components/EmptyView/index.d.ts +2 -0
- package/lib/typescript/src/components/EmptyView/index.d.ts.map +1 -0
- package/lib/typescript/src/components/FlashList/FlashList.d.ts +14 -0
- package/lib/typescript/src/components/FlashList/FlashList.d.ts.map +1 -0
- package/lib/typescript/src/components/FlashList/index.d.ts +2 -0
- package/lib/typescript/src/components/FlashList/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Header/BaseHeader.d.ts +5 -0
- package/lib/typescript/src/components/Header/BaseHeader.d.ts.map +1 -0
- package/lib/typescript/src/components/Header/Header.d.ts +21 -0
- package/lib/typescript/src/components/Header/Header.d.ts.map +1 -0
- package/lib/typescript/src/components/Header/ScreenHeader.d.ts +11 -0
- package/lib/typescript/src/components/Header/ScreenHeader.d.ts.map +1 -0
- package/lib/typescript/src/components/Header/index.d.ts +4 -0
- package/lib/typescript/src/components/Header/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Input/Input.d.ts +15 -0
- package/lib/typescript/src/components/Input/Input.d.ts.map +1 -0
- package/lib/typescript/src/components/Input/index.d.ts +2 -0
- package/lib/typescript/src/components/Input/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Loader/Loader.d.ts +12 -0
- package/lib/typescript/src/components/Loader/Loader.d.ts.map +1 -0
- package/lib/typescript/src/components/Loader/index.d.ts +2 -0
- package/lib/typescript/src/components/Loader/index.d.ts.map +1 -0
- package/lib/typescript/src/components/NeetoUIProvider/NeetoUIProvider.d.ts +16 -0
- package/lib/typescript/src/components/NeetoUIProvider/NeetoUIProvider.d.ts.map +1 -0
- package/lib/typescript/src/components/NeetoUIProvider/index.d.ts +2 -0
- package/lib/typescript/src/components/NeetoUIProvider/index.d.ts.map +1 -0
- package/lib/typescript/src/components/OnBoarding/OnBoarding.d.ts +22 -0
- package/lib/typescript/src/components/OnBoarding/OnBoarding.d.ts.map +1 -0
- package/lib/typescript/src/components/OnBoarding/index.d.ts +2 -0
- package/lib/typescript/src/components/OnBoarding/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ParentView/ParentView.d.ts +13 -0
- package/lib/typescript/src/components/ParentView/ParentView.d.ts.map +1 -0
- package/lib/typescript/src/components/ParentView/index.d.ts +2 -0
- package/lib/typescript/src/components/ParentView/index.d.ts.map +1 -0
- package/lib/typescript/src/components/RadioButton/RadioButton.d.ts +12 -0
- package/lib/typescript/src/components/RadioButton/RadioButton.d.ts.map +1 -0
- package/lib/typescript/src/components/RadioButton/index.d.ts +2 -0
- package/lib/typescript/src/components/RadioButton/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ScrollView/ScrollView.d.ts +8 -0
- package/lib/typescript/src/components/ScrollView/ScrollView.d.ts.map +1 -0
- package/lib/typescript/src/components/ScrollView/index.d.ts +2 -0
- package/lib/typescript/src/components/ScrollView/index.d.ts.map +1 -0
- package/lib/typescript/src/components/SearchBar/SearchBar.d.ts +12 -0
- package/lib/typescript/src/components/SearchBar/SearchBar.d.ts.map +1 -0
- package/lib/typescript/src/components/SearchBar/index.d.ts +2 -0
- package/lib/typescript/src/components/SearchBar/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Skeleton/Skeleton.d.ts +41 -0
- package/lib/typescript/src/components/Skeleton/Skeleton.d.ts.map +1 -0
- package/lib/typescript/src/components/Skeleton/index.d.ts +2 -0
- package/lib/typescript/src/components/Skeleton/index.d.ts.map +1 -0
- package/lib/typescript/src/components/TextWithUrl/TextWithUrl.d.ts +11 -0
- package/lib/typescript/src/components/TextWithUrl/TextWithUrl.d.ts.map +1 -0
- package/lib/typescript/src/components/TextWithUrl/index.d.ts +2 -0
- package/lib/typescript/src/components/TextWithUrl/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Toast/Toast.d.ts +13 -0
- package/lib/typescript/src/components/Toast/Toast.d.ts.map +1 -0
- package/lib/typescript/src/components/Toast/ToastGlyph.d.ts +4 -0
- package/lib/typescript/src/components/Toast/ToastGlyph.d.ts.map +1 -0
- package/lib/typescript/src/components/Toast/index.d.ts +2 -0
- package/lib/typescript/src/components/Toast/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Touchable/Touchable.d.ts +23 -0
- package/lib/typescript/src/components/Touchable/Touchable.d.ts.map +1 -0
- package/lib/typescript/src/components/Touchable/index.d.ts +2 -0
- package/lib/typescript/src/components/Touchable/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Typography/Typography.d.ts +64 -0
- package/lib/typescript/src/components/Typography/Typography.d.ts.map +1 -0
- package/lib/typescript/src/components/Typography/index.d.ts +2 -0
- package/lib/typescript/src/components/Typography/index.d.ts.map +1 -0
- package/lib/typescript/src/hooks/index.d.ts +4 -0
- package/lib/typescript/src/hooks/index.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useDebounce.d.ts +2 -0
- package/lib/typescript/src/hooks/useDebounce.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useNeetoTheme.d.ts +8 -0
- package/lib/typescript/src/hooks/useNeetoTheme.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useRefreshByUser.d.ts +5 -0
- package/lib/typescript/src/hooks/useRefreshByUser.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +31 -0
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/lib/typescript/src/theme/palette.d.ts +28 -0
- package/lib/typescript/src/theme/palette.d.ts.map +1 -0
- package/lib/typescript/src/theme/palette.generated.d.ts +134 -0
- package/lib/typescript/src/theme/palette.generated.d.ts.map +1 -0
- package/lib/typescript/src/theme/tokens.d.ts +184 -0
- package/lib/typescript/src/theme/tokens.d.ts.map +1 -0
- package/lib/typescript/src/unistyles-init.d.ts +2 -0
- package/lib/typescript/src/unistyles-init.d.ts.map +1 -0
- package/lib/typescript/src/unistyles.d.ts +21 -0
- package/lib/typescript/src/unistyles.d.ts.map +1 -0
- package/lib/typescript/src/utils/index.d.ts +18 -0
- package/lib/typescript/src/utils/index.d.ts.map +1 -0
- package/lib/typescript/src/utils/scale.d.ts +2 -0
- package/lib/typescript/src/utils/scale.d.ts.map +1 -0
- package/package.json +125 -51
- package/src/components/Alert/Alert.tsx +222 -0
- package/src/components/Alert/index.ts +1 -0
- package/src/components/Avatar/Avatar.tsx +123 -0
- package/src/components/Avatar/index.ts +1 -0
- package/src/components/BottomSheet/BottomSheet.tsx +468 -0
- package/src/components/BottomSheet/index.ts +5 -0
- package/src/components/BottomSheetMenu/BottomSheetMenu.tsx +150 -0
- package/src/components/BottomSheetMenu/index.ts +5 -0
- package/src/components/Button/Button.tsx +134 -0
- package/src/components/Button/index.ts +1 -0
- package/src/components/ChatInput/AttachmentsView.tsx +68 -0
- package/src/components/ChatInput/ChatInput.tsx +393 -0
- package/src/components/ChatInput/IconButton.tsx +52 -0
- package/src/components/ChatInput/MentionsInput.tsx +126 -0
- package/src/components/ChatInput/constants.ts +18 -0
- package/src/components/ChatInput/index.ts +11 -0
- package/src/components/ChatInput/mentions.ts +91 -0
- package/src/components/CheckBox/CheckBox.tsx +86 -0
- package/src/components/CheckBox/index.ts +1 -0
- package/src/components/Container/Container.tsx +14 -0
- package/src/components/Container/index.ts +1 -0
- package/src/components/Divider/Divider.tsx +32 -0
- package/src/components/Divider/index.ts +1 -0
- package/src/components/EmptyView/EmptyView.tsx +80 -0
- package/src/components/EmptyView/index.ts +1 -0
- package/src/components/FlashList/FlashList.tsx +162 -0
- package/src/components/FlashList/index.ts +1 -0
- package/src/components/Header/BaseHeader.tsx +19 -0
- package/src/components/Header/Header.tsx +114 -0
- package/src/components/Header/ScreenHeader.tsx +34 -0
- package/src/components/Header/index.ts +3 -0
- package/src/components/Input/Input.tsx +122 -0
- package/src/components/Input/index.ts +1 -0
- package/src/components/Loader/Loader.tsx +93 -0
- package/src/components/Loader/index.ts +1 -0
- package/src/components/NeetoUIProvider/NeetoUIProvider.tsx +43 -0
- package/src/components/NeetoUIProvider/index.ts +1 -0
- package/src/components/OnBoarding/OnBoarding.tsx +177 -0
- package/src/components/OnBoarding/index.ts +5 -0
- package/src/components/ParentView/ParentView.tsx +98 -0
- package/src/components/ParentView/index.ts +1 -0
- package/src/components/RadioButton/RadioButton.tsx +80 -0
- package/src/components/RadioButton/index.ts +1 -0
- package/src/components/ScrollView/ScrollView.tsx +30 -0
- package/src/components/ScrollView/index.ts +1 -0
- package/src/components/SearchBar/SearchBar.tsx +122 -0
- package/src/components/SearchBar/index.ts +1 -0
- package/src/components/Skeleton/Skeleton.tsx +121 -0
- package/src/components/Skeleton/index.ts +1 -0
- package/src/components/TextWithUrl/TextWithUrl.tsx +54 -0
- package/src/components/TextWithUrl/index.ts +1 -0
- package/src/components/Toast/Toast.tsx +157 -0
- package/src/components/Toast/ToastGlyph.tsx +53 -0
- package/src/components/Toast/index.ts +1 -0
- package/src/components/Touchable/Touchable.tsx +54 -0
- package/src/components/Touchable/index.ts +1 -0
- package/src/components/Typography/Typography.tsx +76 -0
- package/src/components/Typography/index.ts +1 -0
- package/src/hooks/index.ts +3 -0
- package/src/hooks/useDebounce.ts +17 -0
- package/src/hooks/useNeetoTheme.ts +10 -0
- package/src/hooks/useRefreshByUser.ts +17 -0
- package/src/index.ts +68 -0
- package/src/theme/palette.generated.ts +141 -0
- package/src/theme/palette.ts +34 -0
- package/src/theme/tokens.ts +205 -0
- package/src/types/neeto-icons-rn.d.ts +33 -0
- package/src/unistyles-init.ts +16 -0
- package/src/unistyles.ts +34 -0
- package/src/utils/index.ts +41 -0
- package/src/utils/scale.ts +16 -0
- package/components/Accordion.js +0 -1
- package/components/ActionIcon.js +0 -1
- package/components/Alert.js +0 -1
- package/components/Avatar.js +0 -1
- package/components/Badge.js +0 -1
- package/components/BottomSheet.js +0 -1
- package/components/BottomTabBar.js +0 -1
- package/components/Button.js +0 -1
- package/components/ButtonGroup.js +0 -1
- package/components/Calendar.js +0 -1
- package/components/Card.js +0 -1
- package/components/Carousel.js +0 -1
- package/components/ChatInput/AttachmentsView.js +0 -1
- package/components/ChatInput/Badge.js +0 -1
- package/components/ChatInput/ChatInput.js +0 -1
- package/components/ChatInput/EmailFields.js +0 -1
- package/components/ChatInput/IconButton.js +0 -1
- package/components/ChatInput/MentionsInputWrapper.js +0 -1
- package/components/CheckBox.js +0 -1
- package/components/Chip.js +0 -1
- package/components/Container.js +0 -1
- package/components/Divider.js +0 -1
- package/components/FAB.js +0 -1
- package/components/FlashList.js +0 -1
- package/components/FlatList.js +0 -1
- package/components/Input.js +0 -1
- package/components/InputEmailChip.js +0 -1
- package/components/LineLoader.js +0 -1
- package/components/ListItem.js +0 -1
- package/components/Loader.js +0 -1
- package/components/MultiSelect.js +0 -1
- package/components/NotificationIcon.js +0 -1
- package/components/NotificationPreferenceList.js +0 -1
- package/components/OnBoarding.js +0 -1
- package/components/OrganizationItem.js +0 -1
- package/components/OtpInputs.js +0 -1
- package/components/ParentView.js +0 -1
- package/components/Popover.js +0 -1
- package/components/RadioButton.js +0 -1
- package/components/RichTextEditor.js +0 -1
- package/components/Ripple.js +0 -1
- package/components/ScrollView.js +0 -1
- package/components/SearchBar.js +0 -1
- package/components/SegmentedTopBar/Indicator.js +0 -1
- package/components/SegmentedTopBar/Tab.js +0 -1
- package/components/SegmentedTopBar/index.js +0 -1
- package/components/SocialButton.js +0 -1
- package/components/Toast.js +0 -1
- package/components/ToggleSwitch.js +0 -1
- package/components/TopBar.js +0 -1
- package/components/Touchable.js +0 -1
- package/components/TouchableWithoutFeedback.js +0 -1
- package/components/Typography.js +0 -1
- package/components/index.js +0 -1
- package/config/index.js +0 -1
- package/config/toasterConfig.js +0 -1
- package/contexts/index.js +0 -1
- package/hooks/index.js +0 -1
- package/hooks/useDebounce.js +0 -1
- package/hooks/useKeyboard.js +0 -1
- package/hooks/useRefreshByUser.js +0 -1
- package/index.d.ts +0 -630
- package/index.js +0 -1
- package/react-native.config.js +0 -10
- package/theme/index.js +0 -1
- package/utils/index.js +0 -1
- package/utils/scale.js +0 -1
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { type TextProps } from "react-native";
|
|
2
|
+
import { type UnistylesVariants } from "react-native-unistyles";
|
|
3
|
+
type TypographyVariants = UnistylesVariants<typeof styles>;
|
|
4
|
+
export type TypographyProps = TextProps & TypographyVariants & {
|
|
5
|
+
color?: string;
|
|
6
|
+
};
|
|
7
|
+
export declare const Typography: ({ variant, size, weight, color, style, children, ...rest }: TypographyProps) => import("react").JSX.Element;
|
|
8
|
+
declare const styles: {
|
|
9
|
+
text: {
|
|
10
|
+
color: string;
|
|
11
|
+
} & {
|
|
12
|
+
fontFamily: string;
|
|
13
|
+
fontSize: number;
|
|
14
|
+
} & {
|
|
15
|
+
fontFamily: string;
|
|
16
|
+
fontSize: number;
|
|
17
|
+
} & {
|
|
18
|
+
fontSize: number;
|
|
19
|
+
} & {} & {
|
|
20
|
+
fontSize: number;
|
|
21
|
+
} & {
|
|
22
|
+
fontSize: number;
|
|
23
|
+
} & {
|
|
24
|
+
fontSize: number;
|
|
25
|
+
} & {
|
|
26
|
+
fontSize: number;
|
|
27
|
+
} & {} & {
|
|
28
|
+
fontSize: number;
|
|
29
|
+
} & {
|
|
30
|
+
fontSize: number;
|
|
31
|
+
} & {
|
|
32
|
+
fontSize: number;
|
|
33
|
+
} & {
|
|
34
|
+
fontSize: number;
|
|
35
|
+
} & {
|
|
36
|
+
fontSize: number;
|
|
37
|
+
} & {
|
|
38
|
+
fontSize: number;
|
|
39
|
+
} & {
|
|
40
|
+
fontSize: number;
|
|
41
|
+
} & {
|
|
42
|
+
fontSize: number;
|
|
43
|
+
} & {
|
|
44
|
+
fontFamily: string;
|
|
45
|
+
} & {
|
|
46
|
+
fontFamily: string;
|
|
47
|
+
} & {
|
|
48
|
+
fontFamily: string;
|
|
49
|
+
} & {
|
|
50
|
+
fontFamily: string;
|
|
51
|
+
} & {} & {
|
|
52
|
+
color: string;
|
|
53
|
+
fontFamily: string;
|
|
54
|
+
fontSize: number;
|
|
55
|
+
};
|
|
56
|
+
} & {
|
|
57
|
+
useVariants: (variants: {
|
|
58
|
+
variant?: "body" | "header" | "modalHeader" | "subtext" | undefined;
|
|
59
|
+
size?: "xs" | "xl" | "3xl" | "2xs" | "4xs" | "3xs" | "s" | "m" | "l" | "2xl" | "4xl" | "5xl" | undefined;
|
|
60
|
+
weight?: "bold" | "medium" | "regular" | "semibold" | undefined;
|
|
61
|
+
}) => void;
|
|
62
|
+
};
|
|
63
|
+
export {};
|
|
64
|
+
//# sourceMappingURL=Typography.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/Typography.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAc,KAAK,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE5E,KAAK,kBAAkB,GAAG,iBAAiB,CAAC,OAAO,MAAM,CAAC,CAAC;AAE3D,MAAM,MAAM,eAAe,GAAG,SAAS,GACrC,kBAAkB,GAAG;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEJ,eAAO,MAAM,UAAU,GAAI,4DAQxB,eAAe,gCAQjB,CAAC;AAEF,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+CT,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDebounce.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useDebounce.ts"],"names":[],"mappings":"AAEA,wBAAgB,WAAW,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,GAAG,CAAC,CAczD"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type NeetoTheme } from "../theme/tokens";
|
|
2
|
+
/**
|
|
3
|
+
* Reactive, fully-typed access to the active theme for app code:
|
|
4
|
+
* `theme.colors.border.primary`, `theme.spacing.md`, … Re-renders on
|
|
5
|
+
* theme change (adaptive dark mode included).
|
|
6
|
+
*/
|
|
7
|
+
export declare const useNeetoTheme: () => NeetoTheme;
|
|
8
|
+
//# sourceMappingURL=useNeetoTheme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useNeetoTheme.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useNeetoTheme.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAElD;;;;GAIG;AACH,eAAO,MAAM,aAAa,QAAO,UAAkC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useRefreshByUser.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useRefreshByUser.ts"],"names":[],"mappings":"AAEA,wBAAgB,gBAAgB,CAAC,OAAO,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,GAAG,OAAO;;;EAczE"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import "./unistyles-init";
|
|
2
|
+
export { Alert, type AlertButton, type AlertParams } from "./components/Alert";
|
|
3
|
+
export { Avatar, getAvatarColor, type AvatarProps } from "./components/Avatar";
|
|
4
|
+
export { BottomSheet, type BottomSheetProps, type BottomSheetContentRowProps, } from "./components/BottomSheet";
|
|
5
|
+
export { BottomSheetMenu, type BottomSheetMenuItem, type BottomSheetMenuProps, } from "./components/BottomSheetMenu";
|
|
6
|
+
export { Button, type ButtonProps } from "./components/Button";
|
|
7
|
+
export { ChatInput, OPTION_TYPES, convertMentionsToHTMLAndPlainText, type ChatInputOption, type ChatInputPayload, type ChatInputProps, type ChatInputRef, type MentionSuggestion, } from "./components/ChatInput";
|
|
8
|
+
export { CheckBox, type CheckBoxProps } from "./components/CheckBox";
|
|
9
|
+
export { FlashList, type FlashListProps } from "./components/FlashList";
|
|
10
|
+
export { Skeleton, type SkeletonProps } from "./components/Skeleton";
|
|
11
|
+
export { Toast, defaultToasterConfig } from "./components/Toast";
|
|
12
|
+
export { Container, type ContainerProps } from "./components/Container";
|
|
13
|
+
export { Divider, type DividerProps } from "./components/Divider";
|
|
14
|
+
export { EmptyView, type EmptyViewProps } from "./components/EmptyView";
|
|
15
|
+
export { BaseHeader, Header, ScreenHeader, type BaseHeaderProps, type HeaderProps, type ScreenHeaderProps, } from "./components/Header";
|
|
16
|
+
export { Input, type InputProps } from "./components/Input";
|
|
17
|
+
export { Loader, type LoaderProps } from "./components/Loader";
|
|
18
|
+
export { NeetoUIProvider, type NeetoUIProviderProps, } from "./components/NeetoUIProvider";
|
|
19
|
+
export { OnBoarding, type OnBoardingProps, type OnBoardingSlide, } from "./components/OnBoarding";
|
|
20
|
+
export { ParentView, type ParentViewProps } from "./components/ParentView";
|
|
21
|
+
export { RadioButton, type RadioButtonProps } from "./components/RadioButton";
|
|
22
|
+
export { ScrollView, type ScrollViewProps } from "./components/ScrollView";
|
|
23
|
+
export { SearchBar, type SearchBarProps } from "./components/SearchBar";
|
|
24
|
+
export { TextWithUrl, type TextWithUrlProps } from "./components/TextWithUrl";
|
|
25
|
+
export { Touchable, type TouchableProps } from "./components/Touchable";
|
|
26
|
+
export { Typography, type TypographyProps } from "./components/Typography";
|
|
27
|
+
export { useDebounce, useNeetoTheme, useRefreshByUser } from "./hooks";
|
|
28
|
+
export { breakpoints, darkTheme, lightTheme, type NeetoTheme, } from "./theme/tokens";
|
|
29
|
+
export { configureNeetoUI } from "./unistyles";
|
|
30
|
+
export { getShadowStyles, isValidEmail, moderateScale } from "./utils";
|
|
31
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,kBAAkB,CAAC;AAE1B,OAAO,EAAE,KAAK,EAAE,KAAK,WAAW,EAAE,KAAK,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAC/E,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAC/E,OAAO,EACL,WAAW,EACX,KAAK,gBAAgB,EACrB,KAAK,0BAA0B,GAChC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,eAAe,EACf,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,GAC1B,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EACL,SAAS,EACT,YAAY,EACZ,iCAAiC,EACjC,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,iBAAiB,GACvB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxE,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,EAAE,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxE,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAClE,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxE,OAAO,EACL,UAAU,EACV,MAAM,EACN,YAAY,EACZ,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,KAAK,iBAAiB,GACvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EACL,eAAe,EACf,KAAK,oBAAoB,GAC1B,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,UAAU,EACV,KAAK,eAAe,EACpB,KAAK,eAAe,GACrB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC3E,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxE,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC9E,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxE,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC3E,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AACvE,OAAO,EACL,WAAW,EACX,SAAS,EACT,UAAU,EACV,KAAK,UAAU,GAChB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export declare const palette: {
|
|
2
|
+
white: string;
|
|
3
|
+
base: string;
|
|
4
|
+
danger: string;
|
|
5
|
+
success: string;
|
|
6
|
+
menubackground: string;
|
|
7
|
+
grey: string;
|
|
8
|
+
grey100: string;
|
|
9
|
+
grey200: string;
|
|
10
|
+
grey300: string;
|
|
11
|
+
grey400: string;
|
|
12
|
+
grey500: string;
|
|
13
|
+
grey600: string;
|
|
14
|
+
grey700: string;
|
|
15
|
+
grey800: string;
|
|
16
|
+
darkBlue100: string;
|
|
17
|
+
lightBlue100: string;
|
|
18
|
+
lightBlue400: string;
|
|
19
|
+
purple100: string;
|
|
20
|
+
purple200: string;
|
|
21
|
+
purple500: string;
|
|
22
|
+
purple700: string;
|
|
23
|
+
green500: string;
|
|
24
|
+
green600: string;
|
|
25
|
+
green700: string;
|
|
26
|
+
green800: string;
|
|
27
|
+
};
|
|
28
|
+
//# sourceMappingURL=palette.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"palette.d.ts","sourceRoot":"","sources":["../../../../src/theme/palette.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BnB,CAAC"}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
export declare const webPalette: {
|
|
2
|
+
light: {
|
|
3
|
+
white: string;
|
|
4
|
+
black: string;
|
|
5
|
+
gray800: string;
|
|
6
|
+
gray700: string;
|
|
7
|
+
gray600: string;
|
|
8
|
+
gray500: string;
|
|
9
|
+
gray400: string;
|
|
10
|
+
gray300: string;
|
|
11
|
+
gray200: string;
|
|
12
|
+
gray100: string;
|
|
13
|
+
gray50: string;
|
|
14
|
+
primary800: string;
|
|
15
|
+
primary600: string;
|
|
16
|
+
primary500: string;
|
|
17
|
+
primary100: string;
|
|
18
|
+
primary50: string;
|
|
19
|
+
accent800: string;
|
|
20
|
+
accent600: string;
|
|
21
|
+
accent500: string;
|
|
22
|
+
accent100: string;
|
|
23
|
+
accent50: string;
|
|
24
|
+
success800: string;
|
|
25
|
+
success600: string;
|
|
26
|
+
success500: string;
|
|
27
|
+
success100: string;
|
|
28
|
+
error800: string;
|
|
29
|
+
error600: string;
|
|
30
|
+
error500: string;
|
|
31
|
+
error100: string;
|
|
32
|
+
info800: string;
|
|
33
|
+
info600: string;
|
|
34
|
+
info500: string;
|
|
35
|
+
info100: string;
|
|
36
|
+
warning800: string;
|
|
37
|
+
warning600: string;
|
|
38
|
+
warning500: string;
|
|
39
|
+
warning100: string;
|
|
40
|
+
pastelSilver: string;
|
|
41
|
+
pastelRed: string;
|
|
42
|
+
pastelYellow: string;
|
|
43
|
+
pastelGreen: string;
|
|
44
|
+
pastelBlue: string;
|
|
45
|
+
pastelPurple: string;
|
|
46
|
+
pastelPink: string;
|
|
47
|
+
};
|
|
48
|
+
dark: {
|
|
49
|
+
white: string;
|
|
50
|
+
black: string;
|
|
51
|
+
gray800: string;
|
|
52
|
+
gray700: string;
|
|
53
|
+
gray600: string;
|
|
54
|
+
gray500: string;
|
|
55
|
+
gray400: string;
|
|
56
|
+
gray300: string;
|
|
57
|
+
gray200: string;
|
|
58
|
+
gray100: string;
|
|
59
|
+
gray50: string;
|
|
60
|
+
primary800: string;
|
|
61
|
+
primary600: string;
|
|
62
|
+
primary500: string;
|
|
63
|
+
primary100: string;
|
|
64
|
+
primary50: string;
|
|
65
|
+
accent800: string;
|
|
66
|
+
accent600: string;
|
|
67
|
+
accent500: string;
|
|
68
|
+
accent100: string;
|
|
69
|
+
accent50: string;
|
|
70
|
+
success800: string;
|
|
71
|
+
success600: string;
|
|
72
|
+
success500: string;
|
|
73
|
+
success100: string;
|
|
74
|
+
error800: string;
|
|
75
|
+
error600: string;
|
|
76
|
+
error500: string;
|
|
77
|
+
error100: string;
|
|
78
|
+
info800: string;
|
|
79
|
+
info600: string;
|
|
80
|
+
info500: string;
|
|
81
|
+
info100: string;
|
|
82
|
+
warning800: string;
|
|
83
|
+
warning600: string;
|
|
84
|
+
warning500: string;
|
|
85
|
+
warning100: string;
|
|
86
|
+
pastelSilver: string;
|
|
87
|
+
pastelRed: string;
|
|
88
|
+
pastelYellow: string;
|
|
89
|
+
pastelGreen: string;
|
|
90
|
+
pastelBlue: string;
|
|
91
|
+
pastelPurple: string;
|
|
92
|
+
pastelPink: string;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
export declare const webRadii: {
|
|
96
|
+
none: number;
|
|
97
|
+
sm: number;
|
|
98
|
+
"": number;
|
|
99
|
+
md: number;
|
|
100
|
+
lg: number;
|
|
101
|
+
xl: number;
|
|
102
|
+
full: number;
|
|
103
|
+
};
|
|
104
|
+
export declare const webFontSizes: {
|
|
105
|
+
xxs: number;
|
|
106
|
+
xs: number;
|
|
107
|
+
sm: number;
|
|
108
|
+
base: number;
|
|
109
|
+
lg: number;
|
|
110
|
+
xl: number;
|
|
111
|
+
"2xl": number;
|
|
112
|
+
"3xl": number;
|
|
113
|
+
"4xl": number;
|
|
114
|
+
};
|
|
115
|
+
export declare const webFontWeights: {
|
|
116
|
+
thin: number;
|
|
117
|
+
extralight: number;
|
|
118
|
+
light: number;
|
|
119
|
+
normal: number;
|
|
120
|
+
medium: number;
|
|
121
|
+
semibold: number;
|
|
122
|
+
bold: number;
|
|
123
|
+
extrabold: number;
|
|
124
|
+
black: number;
|
|
125
|
+
};
|
|
126
|
+
export declare const webLineHeights: {
|
|
127
|
+
none: number;
|
|
128
|
+
tight: number;
|
|
129
|
+
snug: number;
|
|
130
|
+
normal: number;
|
|
131
|
+
relaxed: number;
|
|
132
|
+
loose: number;
|
|
133
|
+
};
|
|
134
|
+
//# sourceMappingURL=palette.generated.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"palette.generated.d.ts","sourceRoot":"","sources":["../../../../src/theme/palette.generated.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6FtB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;CAQpB,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;CAUxB,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;;;;;;CAU1B,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;;;CAO1B,CAAC"}
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
export declare const breakpoints: {
|
|
2
|
+
xs: number;
|
|
3
|
+
sm: number;
|
|
4
|
+
md: number;
|
|
5
|
+
lg: number;
|
|
6
|
+
xl: number;
|
|
7
|
+
};
|
|
8
|
+
export declare const lightTheme: {
|
|
9
|
+
colors: {
|
|
10
|
+
white: string;
|
|
11
|
+
primary: string;
|
|
12
|
+
danger: string;
|
|
13
|
+
success: string;
|
|
14
|
+
text: {
|
|
15
|
+
primary: string;
|
|
16
|
+
secondary: string;
|
|
17
|
+
muted: string;
|
|
18
|
+
inverse: string;
|
|
19
|
+
};
|
|
20
|
+
background: {
|
|
21
|
+
primary: string;
|
|
22
|
+
secondary: string;
|
|
23
|
+
oldLace: string;
|
|
24
|
+
};
|
|
25
|
+
border: {
|
|
26
|
+
primary: string;
|
|
27
|
+
secondary: string;
|
|
28
|
+
};
|
|
29
|
+
toast: {
|
|
30
|
+
success: string;
|
|
31
|
+
error: string;
|
|
32
|
+
info: string;
|
|
33
|
+
warning: string;
|
|
34
|
+
};
|
|
35
|
+
palette: {
|
|
36
|
+
white: string;
|
|
37
|
+
base: string;
|
|
38
|
+
danger: string;
|
|
39
|
+
success: string;
|
|
40
|
+
menubackground: string;
|
|
41
|
+
grey: string;
|
|
42
|
+
grey100: string;
|
|
43
|
+
grey200: string;
|
|
44
|
+
grey300: string;
|
|
45
|
+
grey400: string;
|
|
46
|
+
grey500: string;
|
|
47
|
+
grey600: string;
|
|
48
|
+
grey700: string;
|
|
49
|
+
grey800: string;
|
|
50
|
+
darkBlue100: string;
|
|
51
|
+
lightBlue100: string;
|
|
52
|
+
lightBlue400: string;
|
|
53
|
+
purple100: string;
|
|
54
|
+
purple200: string;
|
|
55
|
+
purple500: string;
|
|
56
|
+
purple700: string;
|
|
57
|
+
green500: string;
|
|
58
|
+
green600: string;
|
|
59
|
+
green700: string;
|
|
60
|
+
green800: string;
|
|
61
|
+
};
|
|
62
|
+
web: {
|
|
63
|
+
white: string;
|
|
64
|
+
black: string;
|
|
65
|
+
gray800: string;
|
|
66
|
+
gray700: string;
|
|
67
|
+
gray600: string;
|
|
68
|
+
gray500: string;
|
|
69
|
+
gray400: string;
|
|
70
|
+
gray300: string;
|
|
71
|
+
gray200: string;
|
|
72
|
+
gray100: string;
|
|
73
|
+
gray50: string;
|
|
74
|
+
primary800: string;
|
|
75
|
+
primary600: string;
|
|
76
|
+
primary500: string;
|
|
77
|
+
primary100: string;
|
|
78
|
+
primary50: string;
|
|
79
|
+
accent800: string;
|
|
80
|
+
accent600: string;
|
|
81
|
+
accent500: string;
|
|
82
|
+
accent100: string;
|
|
83
|
+
accent50: string;
|
|
84
|
+
success800: string;
|
|
85
|
+
success600: string;
|
|
86
|
+
success500: string;
|
|
87
|
+
success100: string;
|
|
88
|
+
error800: string;
|
|
89
|
+
error600: string;
|
|
90
|
+
error500: string;
|
|
91
|
+
error100: string;
|
|
92
|
+
info800: string;
|
|
93
|
+
info600: string;
|
|
94
|
+
info500: string;
|
|
95
|
+
info100: string;
|
|
96
|
+
warning800: string;
|
|
97
|
+
warning600: string;
|
|
98
|
+
warning500: string;
|
|
99
|
+
warning100: string;
|
|
100
|
+
pastelSilver: string;
|
|
101
|
+
pastelRed: string;
|
|
102
|
+
pastelYellow: string;
|
|
103
|
+
pastelGreen: string;
|
|
104
|
+
pastelBlue: string;
|
|
105
|
+
pastelPurple: string;
|
|
106
|
+
pastelPink: string;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
fonts: {
|
|
110
|
+
regular: string;
|
|
111
|
+
medium: string;
|
|
112
|
+
semibold: string;
|
|
113
|
+
bold: string;
|
|
114
|
+
};
|
|
115
|
+
fontSizes: {
|
|
116
|
+
"4xs": number;
|
|
117
|
+
"3xs": number;
|
|
118
|
+
"2xs": number;
|
|
119
|
+
xs: number;
|
|
120
|
+
s: number;
|
|
121
|
+
m: number;
|
|
122
|
+
l: number;
|
|
123
|
+
xl: number;
|
|
124
|
+
"2xl": number;
|
|
125
|
+
"3xl": number;
|
|
126
|
+
"4xl": number;
|
|
127
|
+
"5xl": number;
|
|
128
|
+
};
|
|
129
|
+
spacing: {
|
|
130
|
+
none: number;
|
|
131
|
+
xxs: number;
|
|
132
|
+
xs: number;
|
|
133
|
+
sm: number;
|
|
134
|
+
md: number;
|
|
135
|
+
lg: number;
|
|
136
|
+
xl: number;
|
|
137
|
+
"2xl": number;
|
|
138
|
+
"3xl": number;
|
|
139
|
+
};
|
|
140
|
+
radii: {
|
|
141
|
+
none: number;
|
|
142
|
+
sm: number;
|
|
143
|
+
md: number;
|
|
144
|
+
lg: number;
|
|
145
|
+
xl: number;
|
|
146
|
+
full: number;
|
|
147
|
+
};
|
|
148
|
+
elevation: {
|
|
149
|
+
none: {};
|
|
150
|
+
low: {
|
|
151
|
+
shadowColor: string;
|
|
152
|
+
shadowOffset: {
|
|
153
|
+
width: number;
|
|
154
|
+
height: number;
|
|
155
|
+
};
|
|
156
|
+
shadowOpacity: number;
|
|
157
|
+
shadowRadius: number;
|
|
158
|
+
elevation: number;
|
|
159
|
+
};
|
|
160
|
+
medium: {
|
|
161
|
+
shadowColor: string;
|
|
162
|
+
shadowOffset: {
|
|
163
|
+
width: number;
|
|
164
|
+
height: number;
|
|
165
|
+
};
|
|
166
|
+
shadowOpacity: number;
|
|
167
|
+
shadowRadius: number;
|
|
168
|
+
elevation: number;
|
|
169
|
+
};
|
|
170
|
+
high: {
|
|
171
|
+
shadowColor: string;
|
|
172
|
+
shadowOffset: {
|
|
173
|
+
width: number;
|
|
174
|
+
height: number;
|
|
175
|
+
};
|
|
176
|
+
shadowOpacity: number;
|
|
177
|
+
shadowRadius: number;
|
|
178
|
+
elevation: number;
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
export type NeetoTheme = typeof lightTheme;
|
|
183
|
+
export declare const darkTheme: NeetoTheme;
|
|
184
|
+
//# sourceMappingURL=tokens.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../../src/theme/tokens.ts"],"names":[],"mappings":"AA2EA,eAAO,MAAM,WAAW;;;;;;CAMvB,CAAC;AA0CF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwCtB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,OAAO,UAAU,CAAC;AAK3C,eAAO,MAAM,SAAS,EAAE,UAkCvB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unistyles-init.d.ts","sourceRoot":"","sources":["../../../src/unistyles-init.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { breakpoints, darkTheme, lightTheme } from "./theme/tokens";
|
|
2
|
+
type AppThemes = {
|
|
3
|
+
light: typeof lightTheme;
|
|
4
|
+
dark: typeof darkTheme;
|
|
5
|
+
};
|
|
6
|
+
type AppBreakpoints = typeof breakpoints;
|
|
7
|
+
declare module "react-native-unistyles" {
|
|
8
|
+
interface UnistylesThemes extends AppThemes {
|
|
9
|
+
}
|
|
10
|
+
interface UnistylesBreakpoints extends AppBreakpoints {
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* One-time Unistyles registration, idempotent. Runs automatically when the
|
|
15
|
+
* library root is imported (src/unistyles-init.ts) because Unistyles
|
|
16
|
+
* requires configure() before any module-scope StyleSheet.create;
|
|
17
|
+
* NeetoUIProvider and tests may call it again safely.
|
|
18
|
+
*/
|
|
19
|
+
export declare const configureNeetoUI: () => void;
|
|
20
|
+
export {};
|
|
21
|
+
//# sourceMappingURL=unistyles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unistyles.d.ts","sourceRoot":"","sources":["../../../src/unistyles.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEpE,KAAK,SAAS,GAAG;IACf,KAAK,EAAE,OAAO,UAAU,CAAC;IACzB,IAAI,EAAE,OAAO,SAAS,CAAC;CACxB,CAAC;AAEF,KAAK,cAAc,GAAG,OAAO,WAAW,CAAC;AAEzC,OAAO,QAAQ,wBAAwB,CAAC;IACtC,UAAiB,eAAgB,SAAQ,SAAS;KAAG;IACrD,UAAiB,oBAAqB,SAAQ,cAAc;KAAG;CAChE;AAID;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,YAS5B,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export { moderateScale } from "./scale";
|
|
2
|
+
export declare const getShadowStyles: (elevation?: number) => {
|
|
3
|
+
shadowOffset?: undefined;
|
|
4
|
+
shadowRadius?: undefined;
|
|
5
|
+
shadowOpacity?: undefined;
|
|
6
|
+
elevation?: undefined;
|
|
7
|
+
} | {
|
|
8
|
+
shadowOffset: {
|
|
9
|
+
width: number;
|
|
10
|
+
height: number;
|
|
11
|
+
};
|
|
12
|
+
shadowRadius: number;
|
|
13
|
+
shadowOpacity: number;
|
|
14
|
+
elevation: number;
|
|
15
|
+
};
|
|
16
|
+
export declare const isAndroid: () => boolean;
|
|
17
|
+
export declare const isValidEmail: (email: string) => boolean;
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/utils/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAaxC,eAAO,MAAM,eAAe,GAAI,kBAAa;;;;;;;;;;;;;CAc5C,CAAC;AAEF,eAAO,MAAM,SAAS,eAAkC,CAAC;AAEzD,eAAO,MAAM,YAAY,GAAI,OAAO,MAAM,YAOvC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scale.d.ts","sourceRoot":"","sources":["../../../../src/utils/scale.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,aAAa,GAAI,MAAM,MAAM,EAAE,eAAY,WACN,CAAC"}
|