@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,9 @@
|
|
|
1
|
+
import { type ViewProps } from "react-native";
|
|
2
|
+
export type ContainerProps = ViewProps;
|
|
3
|
+
/**
|
|
4
|
+
* The v2 workhorse (260 importing files fleet-wide), now a plain themed
|
|
5
|
+
* View. It accepted styled-system shorthands (`p`, `bg`, `flex`…) through
|
|
6
|
+
* the compat layer up to the v3 alpha; those are gone — pass `style`.
|
|
7
|
+
*/
|
|
8
|
+
export declare const Container: ({ children, style, ...rest }: ContainerProps) => import("react").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=Container.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Container.d.ts","sourceRoot":"","sources":["../../../../../src/components/Container/Container.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpD,MAAM,MAAM,cAAc,GAAG,SAAS,CAAC;AAEvC;;;;GAIG;AACH,eAAO,MAAM,SAAS,GAAI,8BAA8B,cAAc,gCAIrE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Container/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { type ViewProps } from "react-native";
|
|
2
|
+
export type DividerProps = ViewProps & {
|
|
3
|
+
orientation?: "horizontal" | "vertical";
|
|
4
|
+
thickness?: number;
|
|
5
|
+
};
|
|
6
|
+
export declare const Divider: ({ orientation, thickness, style, ...rest }: DividerProps) => import("react").JSX.Element | null;
|
|
7
|
+
//# sourceMappingURL=Divider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Divider.d.ts","sourceRoot":"","sources":["../../../../../src/components/Divider/Divider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAKpD,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG;IACrC,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,OAAO,GAAI,4CAKrB,YAAY,uCAUd,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Divider/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { type ComponentType, type ReactNode } from "react";
|
|
2
|
+
import { type StyleProp, type ViewStyle } from "react-native";
|
|
3
|
+
export type EmptyViewProps = {
|
|
4
|
+
title: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
/** Full-size artwork; product illustrations stay app-side. */
|
|
7
|
+
Illustration?: ReactNode;
|
|
8
|
+
/** Compact fallback when there is no illustration (neeto-icons-rn shape). */
|
|
9
|
+
Icon?: ComponentType<{
|
|
10
|
+
size?: number;
|
|
11
|
+
color?: string;
|
|
12
|
+
}>;
|
|
13
|
+
primaryAction?: {
|
|
14
|
+
label: string;
|
|
15
|
+
onPress: () => void;
|
|
16
|
+
};
|
|
17
|
+
style?: StyleProp<ViewStyle>;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Promoted component: the fleet grew 10 hand-rolled empty states across 8
|
|
21
|
+
* codebases (fresh audit, 2026-07-28). One layout — artwork, title,
|
|
22
|
+
* description, optional CTA — replaces them. cal's API maps over:
|
|
23
|
+
* subtitle → description, showCTA/ctaLabel/onCTAPress → primaryAction.
|
|
24
|
+
*/
|
|
25
|
+
export declare const EmptyView: ({ title, description, Illustration, Icon, primaryAction, style, }: EmptyViewProps) => import("react").JSX.Element;
|
|
26
|
+
//# sourceMappingURL=EmptyView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmptyView.d.ts","sourceRoot":"","sources":["../../../../../src/components/EmptyView/EmptyView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC3D,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAOpE,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8DAA8D;IAC9D,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,6EAA6E;IAC7E,IAAI,CAAC,EAAE,aAAa,CAAC;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACxD,aAAa,CAAC,EAAE;QACd,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,EAAE,MAAM,IAAI,CAAC;KACrB,CAAC;IACF,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,SAAS,GAAI,mEAOvB,cAAc,gCAwBhB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/EmptyView/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { type ReactElement } from "react";
|
|
2
|
+
import { type FlashListProps as ShopifyFlashListProps, type FlashListRef } from "@shopify/flash-list";
|
|
3
|
+
export type FlashListProps<T> = Omit<ShopifyFlashListProps<T>, "data"> & {
|
|
4
|
+
data?: readonly T[];
|
|
5
|
+
isLoading?: boolean;
|
|
6
|
+
SkeletonComponent?: ReactElement;
|
|
7
|
+
placeHolderItemCount?: number;
|
|
8
|
+
animationDuration?: number;
|
|
9
|
+
onRefresh?: () => Promise<unknown> | unknown;
|
|
10
|
+
};
|
|
11
|
+
export declare const FlashList: <T>(props: FlashListProps<T> & {
|
|
12
|
+
ref?: React.Ref<FlashListRef<T>>;
|
|
13
|
+
}) => ReactElement;
|
|
14
|
+
//# sourceMappingURL=FlashList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FlashList.d.ts","sourceRoot":"","sources":["../../../../../src/components/FlashList/FlashList.tsx"],"names":[],"mappings":"AAAA,OAAO,EAKL,KAAK,YAAY,EAClB,MAAM,OAAO,CAAC;AAEf,OAAO,EAEL,KAAK,cAAc,IAAI,qBAAqB,EAC5C,KAAK,YAAY,EAClB,MAAM,qBAAqB,CAAC;AA2B7B,MAAM,MAAM,cAAc,CAAC,CAAC,IAAI,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,GAAG;IACvE,IAAI,CAAC,EAAE,SAAS,CAAC,EAAE,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,iBAAiB,CAAC,EAAE,YAAY,CAAC;IACjC,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC;CAC9C,CAAC;AAiHF,eAAO,MAAM,SAAS,EAAiC,CAAC,CAAC,EACvD,KAAK,EAAE,cAAc,CAAC,CAAC,CAAC,GAAG;IAAE,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAA;CAAE,KAC5D,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/FlashList/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { type ViewProps } from "react-native";
|
|
2
|
+
export type BaseHeaderProps = ViewProps;
|
|
3
|
+
/** Bare header row surface (promoted from neeto-commons-rn). */
|
|
4
|
+
export declare const BaseHeader: ({ style, children, ...rest }: BaseHeaderProps) => import("react").JSX.Element;
|
|
5
|
+
//# sourceMappingURL=BaseHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/Header/BaseHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGpD,MAAM,MAAM,eAAe,GAAG,SAAS,CAAC;AAExC,gEAAgE;AAChE,eAAO,MAAM,UAAU,GAAI,8BAA8B,eAAe,gCAIvE,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type ComponentType, type ReactNode } from "react";
|
|
2
|
+
export type HeaderProps = {
|
|
3
|
+
title: string;
|
|
4
|
+
subTitle?: string;
|
|
5
|
+
/** Back chevron renders only when this is passed. */
|
|
6
|
+
onBack?: () => void;
|
|
7
|
+
/** Leading slot after the back chevron (menu button, workspace logo…). */
|
|
8
|
+
LeftSlot?: ComponentType | ReactNode;
|
|
9
|
+
/** Trailing slot (actions, overflow menus…). */
|
|
10
|
+
RightSlot?: ComponentType | ReactNode;
|
|
11
|
+
/** Shows the progress line under the header (v2 LineLoader spot). */
|
|
12
|
+
isLoading?: boolean;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Navigation header (promoted from neeto-commons-rn). The commons version
|
|
16
|
+
* read useNavigation() itself; v3 is navigation-agnostic — apps (or the
|
|
17
|
+
* commons compat wrapper) pass onBack and fill the slots. The mark-all
|
|
18
|
+
* menu, hamburger and workspace logo become slot content.
|
|
19
|
+
*/
|
|
20
|
+
export declare const Header: ({ title, subTitle, onBack, LeftSlot, RightSlot, isLoading, }: HeaderProps) => import("react").JSX.Element;
|
|
21
|
+
//# sourceMappingURL=Header.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../../../src/components/Header/Header.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,aAAa,EAClB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAWf,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,qDAAqD;IACrD,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,0EAA0E;IAC1E,QAAQ,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;IACrC,gDAAgD;IAChD,SAAS,CAAC,EAAE,aAAa,GAAG,SAAS,CAAC;IACtC,qEAAqE;IACrE,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,CAAC;AAkBF;;;;;GAKG;AACH,eAAO,MAAM,MAAM,GAAI,8DAOpB,WAAW,gCAsCb,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type StyleProp, type ViewStyle } from "react-native";
|
|
2
|
+
export type ScreenHeaderProps = {
|
|
3
|
+
title: string;
|
|
4
|
+
style?: StyleProp<ViewStyle>;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Large screen title header (promoted from neeto-commons-rn). Platform
|
|
8
|
+
* heights kept: 48 Android / 42 iOS.
|
|
9
|
+
*/
|
|
10
|
+
export declare const ScreenHeader: ({ title, style }: ScreenHeaderProps) => import("react").JSX.Element;
|
|
11
|
+
//# sourceMappingURL=ScreenHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScreenHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/Header/ScreenHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAOxE,MAAM,MAAM,iBAAiB,GAAG;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,YAAY,GAAI,kBAAkB,iBAAiB,gCAM/D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Header/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { TextInput, type StyleProp, type TextInputProps, type ViewStyle } from "react-native";
|
|
2
|
+
export type InputProps = Omit<TextInputProps, "editable"> & {
|
|
3
|
+
label?: string;
|
|
4
|
+
error?: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
containerStyle?: StyleProp<ViewStyle>;
|
|
7
|
+
};
|
|
8
|
+
/** Forwards its ref to the underlying TextInput, so forms can focus it. */
|
|
9
|
+
export declare const Input: import("react").ForwardRefExoticComponent<Omit<TextInputProps, "editable"> & {
|
|
10
|
+
label?: string;
|
|
11
|
+
error?: string;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
containerStyle?: StyleProp<ViewStyle>;
|
|
14
|
+
} & import("react").RefAttributes<TextInput>>;
|
|
15
|
+
//# sourceMappingURL=Input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/Input.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,SAAS,EAET,KAAK,SAAS,EACd,KAAK,cAAc,EACnB,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAKtB,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,cAAc,EAAE,UAAU,CAAC,GAAG;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CACvC,CAAC;AAEF,2EAA2E;AAC3E,eAAO,MAAM,KAAK;YAPR,MAAM;YACN,MAAM;eACH,OAAO;qBACD,SAAS,CAAC,SAAS,CAAC;6CAuDtC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Input/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const LOADER_WIDTH: {
|
|
2
|
+
s: number;
|
|
3
|
+
m: number;
|
|
4
|
+
l: number;
|
|
5
|
+
};
|
|
6
|
+
export type LoaderProps = {
|
|
7
|
+
color?: string;
|
|
8
|
+
size?: keyof typeof LOADER_WIDTH;
|
|
9
|
+
};
|
|
10
|
+
export declare const Loader: ({ color, size, }: LoaderProps) => import("react").JSX.Element;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=Loader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Loader.d.ts","sourceRoot":"","sources":["../../../../../src/components/Loader/Loader.tsx"],"names":[],"mappings":"AAiBA,QAAA,MAAM,YAAY;;;;CAIjB,CAAC;AAIF,MAAM,MAAM,WAAW,GAAG;IAExB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,OAAO,YAAY,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,MAAM,GAAI,kBAGpB,WAAW,gCAmDb,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Loader/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { type ReactNode } from "react";
|
|
2
|
+
export type NeetoUIProviderProps = {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* Single mount point for everything the library needs at app root.
|
|
7
|
+
*
|
|
8
|
+
* Unistyles registration runs before the first child render (idempotent) so
|
|
9
|
+
* lazily-resolved stylesheets see the themes. SafeAreaProvider feeds
|
|
10
|
+
* ParentView/BottomSheet insets, GestureHandlerRootView +
|
|
11
|
+
* BottomSheetModalProvider host BottomSheet portals, and the Toast host
|
|
12
|
+
* makes Toast.show work with no manual mounting — v2 required apps to
|
|
13
|
+
* render <Toast /> themselves; that footgun dies here.
|
|
14
|
+
*/
|
|
15
|
+
export declare const NeetoUIProvider: ({ children }: NeetoUIProviderProps) => import("react").JSX.Element;
|
|
16
|
+
//# sourceMappingURL=NeetoUIProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NeetoUIProvider.d.ts","sourceRoot":"","sources":["../../../../../src/components/NeetoUIProvider/NeetoUIProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAUvC,MAAM,MAAM,oBAAoB,GAAG;IACjC,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,eAAe,GAAI,cAAc,oBAAoB,gCAgBjE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/NeetoUIProvider/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type ComponentType, type ReactNode } from "react";
|
|
2
|
+
export type OnBoardingSlide = {
|
|
3
|
+
title: string;
|
|
4
|
+
description: string;
|
|
5
|
+
illustration?: ReactNode;
|
|
6
|
+
};
|
|
7
|
+
export type OnBoardingProps = {
|
|
8
|
+
/** Rendered top-center; receives `width` (v2 contract). */
|
|
9
|
+
appLogo: ComponentType<{
|
|
10
|
+
width: number;
|
|
11
|
+
}>;
|
|
12
|
+
slides: OnBoardingSlide[];
|
|
13
|
+
onComplete: () => void;
|
|
14
|
+
logoWidth?: number;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* v2's OnBoarding sat on react-native-snap-carousel, which is unmaintained
|
|
18
|
+
* and dies in v3 — the pager is now an internal paging FlatList with the
|
|
19
|
+
* same dots. Public API is unchanged.
|
|
20
|
+
*/
|
|
21
|
+
export declare const OnBoarding: ({ appLogo: AppLogo, slides, onComplete, logoWidth, }: OnBoardingProps) => import("react").JSX.Element;
|
|
22
|
+
//# sourceMappingURL=OnBoarding.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OnBoarding.d.ts","sourceRoot":"","sources":["../../../../../src/components/OnBoarding/OnBoarding.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAe7E,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,SAAS,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,2DAA2D;IAC3D,OAAO,EAAE,aAAa,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IAC1C,MAAM,EAAE,eAAe,EAAE,CAAC;IAC1B,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,UAAU,GAAI,sDAKxB,eAAe,gCAmFjB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/OnBoarding/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,KAAK,eAAe,EACpB,KAAK,eAAe,GACrB,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type StatusBarStyle, type ViewProps } from "react-native";
|
|
2
|
+
export type ParentViewProps = ViewProps & {
|
|
3
|
+
barStyle?: StatusBarStyle;
|
|
4
|
+
/** Screen background. Defaults to the active theme's primary background. */
|
|
5
|
+
backgroundColor?: string;
|
|
6
|
+
topInset?: boolean;
|
|
7
|
+
rightInset?: boolean;
|
|
8
|
+
leftInset?: boolean;
|
|
9
|
+
bottomInset?: boolean;
|
|
10
|
+
shouldDismissKeyboardOnTap?: boolean;
|
|
11
|
+
};
|
|
12
|
+
export declare const ParentView: ({ barStyle, children, backgroundColor, topInset, rightInset, leftInset, bottomInset, shouldDismissKeyboardOnTap, style, ...rest }: ParentViewProps) => import("react").JSX.Element;
|
|
13
|
+
//# sourceMappingURL=ParentView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ParentView.d.ts","sourceRoot":"","sources":["../../../../../src/components/ParentView/ParentView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,cAAc,EACnB,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAStB,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG;IACxC,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,4EAA4E;IAC5E,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,0BAA0B,CAAC,EAAE,OAAO,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,mIAWxB,eAAe,gCAsDjB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ParentView/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type StyleProp, type TextStyle } from "react-native";
|
|
2
|
+
import { type TouchableProps } from "../Touchable";
|
|
3
|
+
export type RadioButtonProps = Omit<TouchableProps, "onPress"> & {
|
|
4
|
+
selected?: boolean;
|
|
5
|
+
onSelect?: () => void;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
label: string;
|
|
8
|
+
labelStyle?: StyleProp<TextStyle>;
|
|
9
|
+
iconSize?: number;
|
|
10
|
+
};
|
|
11
|
+
export declare const RadioButton: ({ selected, onSelect, disabled, label, labelStyle, iconSize, style, ...rest }: RadioButtonProps) => import("react").JSX.Element;
|
|
12
|
+
//# sourceMappingURL=RadioButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RadioButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/RadioButton/RadioButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAI9D,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAG9D,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,cAAc,EAAE,SAAS,CAAC,GAAG;IAC/D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,+EASzB,gBAAgB,gCAyBlB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/RadioButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ScrollView as RNScrollView, type ScrollViewProps as RNScrollViewProps } from "react-native";
|
|
2
|
+
export type ScrollViewProps = RNScrollViewProps;
|
|
3
|
+
/**
|
|
4
|
+
* v2 defaults preserved: taps land while the keyboard is open, no vertical
|
|
5
|
+
* scroll indicator, content grows to fill the viewport.
|
|
6
|
+
*/
|
|
7
|
+
export declare const ScrollView: import("react").ForwardRefExoticComponent<RNScrollViewProps & import("react").RefAttributes<RNScrollView>>;
|
|
8
|
+
//# sourceMappingURL=ScrollView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScrollView.d.ts","sourceRoot":"","sources":["../../../../../src/components/ScrollView/ScrollView.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,UAAU,IAAI,YAAY,EAC1B,KAAK,eAAe,IAAI,iBAAiB,EAC1C,MAAM,cAAc,CAAC;AAItB,MAAM,MAAM,eAAe,GAAG,iBAAiB,CAAC;AAEhD;;;GAGG;AACH,eAAO,MAAM,UAAU,4GAatB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ScrollView/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type StyleProp, type TextInputProps, type ViewStyle } from "react-native";
|
|
2
|
+
export type SearchBarProps = {
|
|
3
|
+
placeholder?: string;
|
|
4
|
+
onChangeText?: (text: string) => void;
|
|
5
|
+
onCancel?: () => void;
|
|
6
|
+
debounceDelay?: number;
|
|
7
|
+
showCancelButton?: boolean;
|
|
8
|
+
containerStyle?: StyleProp<ViewStyle>;
|
|
9
|
+
inputProps?: TextInputProps;
|
|
10
|
+
};
|
|
11
|
+
export declare const SearchBar: ({ placeholder, onChangeText, onCancel, debounceDelay, showCancelButton, containerStyle, inputProps, }: SearchBarProps) => import("react").JSX.Element;
|
|
12
|
+
//# sourceMappingURL=SearchBar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SearchBar.d.ts","sourceRoot":"","sources":["../../../../../src/components/SearchBar/SearchBar.tsx"],"names":[],"mappings":"AACA,OAAO,EAGL,KAAK,SAAS,EACd,KAAK,cAAc,EACnB,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAQtB,MAAM,MAAM,cAAc,GAAG;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACtC,UAAU,CAAC,EAAE,cAAc,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,uGAQvB,cAAc,gCA+DhB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/SearchBar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { type DimensionValue, type ViewProps } from "react-native";
|
|
2
|
+
import { type UnistylesVariants } from "react-native-unistyles";
|
|
3
|
+
type SkeletonVariants = UnistylesVariants<typeof styles>;
|
|
4
|
+
export type SkeletonProps = ViewProps & SkeletonVariants & {
|
|
5
|
+
width?: DimensionValue;
|
|
6
|
+
height?: DimensionValue;
|
|
7
|
+
radius?: number;
|
|
8
|
+
animated?: boolean;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Promoted component: replaces the fleet's ~14 react-content-loader
|
|
12
|
+
* implementations (and v2's LineLoader) with one Reanimated pulse primitive.
|
|
13
|
+
* The library ships primitives only — screen-specific skeleton layouts
|
|
14
|
+
* recompose these app-side.
|
|
15
|
+
*/
|
|
16
|
+
export declare const Skeleton: {
|
|
17
|
+
({ variant, width, height, radius, animated, style, ...rest }: SkeletonProps): import("react").JSX.Element;
|
|
18
|
+
Group: ({ count, gap, children, }: SkeletonGroupProps) => import("react").JSX.Element;
|
|
19
|
+
};
|
|
20
|
+
type SkeletonGroupProps = {
|
|
21
|
+
count: number;
|
|
22
|
+
gap?: number;
|
|
23
|
+
children: React.ReactNode;
|
|
24
|
+
};
|
|
25
|
+
declare const styles: {
|
|
26
|
+
base: {
|
|
27
|
+
borderRadius: number;
|
|
28
|
+
} & {
|
|
29
|
+
borderRadius: number;
|
|
30
|
+
} & {
|
|
31
|
+
borderRadius: number;
|
|
32
|
+
} & {
|
|
33
|
+
backgroundColor: string;
|
|
34
|
+
};
|
|
35
|
+
} & {
|
|
36
|
+
useVariants: (variants: {
|
|
37
|
+
variant?: "line" | "rect" | "circle" | undefined;
|
|
38
|
+
}) => void;
|
|
39
|
+
};
|
|
40
|
+
export {};
|
|
41
|
+
//# sourceMappingURL=Skeleton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Skeleton/Skeleton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAQ,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AASzE,OAAO,EAAc,KAAK,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAI5E,KAAK,gBAAgB,GAAG,iBAAiB,CAAC,OAAO,MAAM,CAAC,CAAC;AAEzD,MAAM,MAAM,aAAa,GAAG,SAAS,GACnC,gBAAgB,GAAG;IACjB,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEJ;;;;;GAKG;AACH,eAAO,MAAM,QAAQ;mEAQlB,aAAa;uCA6Db,kBAAkB;CAbpB,CAAC;AAEF,KAAK,kBAAkB,GAAG;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAiBF,QAAA,MAAM,MAAM;;;;;;;;;;;;;;CAWT,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Skeleton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type TypographyProps } from "../Typography";
|
|
2
|
+
export type TextWithUrlProps = Omit<TypographyProps, "children"> & {
|
|
3
|
+
text?: string | number;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* Renders text with tappable http(s) links and email addresses
|
|
7
|
+
* (promoted from neeto-commons-rn, same splitting regexes). Links render
|
|
8
|
+
* inline as nested Text, so wrapping behaves like plain copy.
|
|
9
|
+
*/
|
|
10
|
+
export declare const TextWithUrl: ({ text, ...rest }: TextWithUrlProps) => import("react").JSX.Element;
|
|
11
|
+
//# sourceMappingURL=TextWithUrl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextWithUrl.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextWithUrl/TextWithUrl.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,eAAe,CAAC;AAMjE,MAAM,MAAM,gBAAgB,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,GAAG;IACjE,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACxB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,WAAW,GAAI,mBAAwB,gBAAgB,gCA6BnE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextWithUrl/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type ToastConfig, type ToastShowParams, type ToastProps } from "react-native-toast-message";
|
|
2
|
+
export declare const defaultToasterConfig: ToastConfig;
|
|
3
|
+
/**
|
|
4
|
+
* Host component. NeetoUIProvider mounts it automatically; the bare export
|
|
5
|
+
* remains for incremental adoption (v2 required apps to mount <Toast />
|
|
6
|
+
* themselves).
|
|
7
|
+
*/
|
|
8
|
+
export declare const Toast: {
|
|
9
|
+
({ config, ...rest }: ToastProps): import("react").JSX.Element;
|
|
10
|
+
show(params: ToastShowParams): void;
|
|
11
|
+
hide(): void;
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=Toast.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../../../src/components/Toast/Toast.tsx"],"names":[],"mappings":"AAGA,OAAqB,EACnB,KAAK,WAAW,EAEhB,KAAK,eAAe,EACpB,KAAK,UAAU,EAChB,MAAM,4BAA4B,CAAC;AAiGpC,eAAO,MAAM,oBAAoB,EAAE,WAKlC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,KAAK;0BAAyB,UAAU;iBAO/B,eAAe;;CALpC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToastGlyph.d.ts","sourceRoot":"","sources":["../../../../../src/components/Toast/ToastGlyph.tsx"],"names":[],"mappings":"AA+CA,eAAO,MAAM,UAAU,GAAI,UAAU;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,uCAKpD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Toast/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type PressableProps, type StyleProp, type View, type ViewStyle } from "react-native";
|
|
2
|
+
/**
|
|
3
|
+
* v2's rippleConfig, minus the fields the Pressable rebuild cannot honor.
|
|
4
|
+
* v2 rendered ripples through a custom 282-line Ripple implementation on both
|
|
5
|
+
* platforms; v3 uses the platform ripple on Android and an opacity dip on iOS,
|
|
6
|
+
* so isCentered/isSequential/shouldFade/size/duration no longer apply.
|
|
7
|
+
*/
|
|
8
|
+
type RippleConfig = {
|
|
9
|
+
color?: string;
|
|
10
|
+
shouldOverflowContainer?: boolean;
|
|
11
|
+
};
|
|
12
|
+
export type TouchableProps = Omit<PressableProps, "style"> & {
|
|
13
|
+
elevation?: number;
|
|
14
|
+
rippleConfig?: RippleConfig;
|
|
15
|
+
style?: StyleProp<ViewStyle>;
|
|
16
|
+
};
|
|
17
|
+
export declare const Touchable: import("react").ForwardRefExoticComponent<Omit<PressableProps, "style"> & {
|
|
18
|
+
elevation?: number;
|
|
19
|
+
rippleConfig?: RippleConfig;
|
|
20
|
+
style?: StyleProp<ViewStyle>;
|
|
21
|
+
} & import("react").RefAttributes<View>>;
|
|
22
|
+
export {};
|
|
23
|
+
//# sourceMappingURL=Touchable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Touchable.d.ts","sourceRoot":"","sources":["../../../../../src/components/Touchable/Touchable.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,KAAK,IAAI,EACT,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAItB;;;;;GAKG;AACH,KAAK,YAAY,GAAG;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uBAAuB,CAAC,EAAE,OAAO,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,cAAc,EAAE,OAAO,CAAC,GAAG;IAC3D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,SAAS;gBALR,MAAM;mBACH,YAAY;YACnB,SAAS,CAAC,SAAS,CAAC;wCA0B7B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Touchable/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC"}
|