@webority-technologies/mobile 0.0.1 → 0.0.3

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.
Files changed (80) hide show
  1. package/lib/commonjs/components/{Header/Header.js → AppBar/AppBar.js} +6 -6
  2. package/lib/commonjs/components/{Header → AppBar}/index.js +4 -4
  3. package/lib/commonjs/components/{Icon/Icon.js → AppIcon/AppIcon.js} +5 -5
  4. package/lib/commonjs/components/{Icon → AppIcon}/index.js +4 -4
  5. package/lib/commonjs/components/{FAB/FAB.js → FloatingActionButton/FloatingActionButton.js} +11 -11
  6. package/lib/commonjs/components/{FAB → FloatingActionButton}/index.js +6 -6
  7. package/lib/commonjs/components/{Field/Field.js → FormField/FormField.js} +5 -5
  8. package/lib/commonjs/components/{LoadingSpinner → FormField}/index.js +4 -4
  9. package/lib/commonjs/components/ImageGallery/ImageGallery.js +2 -2
  10. package/lib/commonjs/components/SearchBar/SearchBar.js +3 -3
  11. package/lib/commonjs/components/{SkeletonLoader/SkeletonLoader.js → Skeleton/Skeleton.js} +1 -1
  12. package/lib/commonjs/components/{SkeletonLoader → Skeleton}/SkeletonContent.js +6 -6
  13. package/lib/commonjs/components/{SkeletonLoader → Skeleton}/index.js +8 -8
  14. package/lib/commonjs/components/{LoadingSpinner/LoadingSpinner.js → Spinner/Spinner.js} +5 -5
  15. package/lib/commonjs/components/{Field → Spinner}/index.js +4 -4
  16. package/lib/commonjs/components/index.js +30 -30
  17. package/lib/module/components/{Header/Header.js → AppBar/AppBar.js} +6 -6
  18. package/lib/module/components/AppBar/index.js +4 -0
  19. package/lib/module/components/{Icon/Icon.js → AppIcon/AppIcon.js} +5 -5
  20. package/lib/module/components/AppIcon/index.js +4 -0
  21. package/lib/module/components/{FAB/FAB.js → FloatingActionButton/FloatingActionButton.js} +10 -10
  22. package/lib/module/components/FloatingActionButton/index.js +4 -0
  23. package/lib/module/components/{Field/Field.js → FormField/FormField.js} +5 -5
  24. package/lib/module/components/FormField/index.js +4 -0
  25. package/lib/module/components/ImageGallery/ImageGallery.js +2 -2
  26. package/lib/module/components/SearchBar/SearchBar.js +3 -3
  27. package/lib/module/components/{SkeletonLoader/SkeletonLoader.js → Skeleton/Skeleton.js} +1 -1
  28. package/lib/module/components/{SkeletonLoader → Skeleton}/SkeletonContent.js +1 -1
  29. package/lib/module/components/{SkeletonLoader → Skeleton}/index.js +1 -1
  30. package/lib/module/components/{LoadingSpinner/LoadingSpinner.js → Spinner/Spinner.js} +5 -5
  31. package/lib/module/components/Spinner/index.js +4 -0
  32. package/lib/module/components/index.js +6 -6
  33. package/lib/typescript/commonjs/components/{Header/Header.d.ts → AppBar/AppBar.d.ts} +13 -13
  34. package/lib/typescript/commonjs/components/AppBar/index.d.ts +3 -0
  35. package/lib/typescript/{module/components/Icon/Icon.d.ts → commonjs/components/AppIcon/AppIcon.d.ts} +5 -5
  36. package/lib/typescript/commonjs/components/AppIcon/index.d.ts +3 -0
  37. package/lib/typescript/commonjs/components/FloatingActionButton/FloatingActionButton.d.ts +53 -0
  38. package/lib/typescript/commonjs/components/FloatingActionButton/index.d.ts +3 -0
  39. package/lib/typescript/{module/components/Field/Field.d.ts → commonjs/components/FormField/FormField.d.ts} +7 -7
  40. package/lib/typescript/commonjs/components/FormField/index.d.ts +3 -0
  41. package/lib/typescript/commonjs/components/{SkeletonLoader/SkeletonLoader.d.ts → Skeleton/Skeleton.d.ts} +1 -1
  42. package/lib/typescript/commonjs/components/{SkeletonLoader → Skeleton}/SkeletonContent.d.ts +1 -1
  43. package/lib/typescript/commonjs/components/{SkeletonLoader → Skeleton}/index.d.ts +2 -2
  44. package/lib/typescript/commonjs/components/Spinner/Spinner.d.ts +20 -0
  45. package/lib/typescript/commonjs/components/Spinner/index.d.ts +3 -0
  46. package/lib/typescript/commonjs/components/index.d.ts +12 -12
  47. package/lib/typescript/module/components/{Header/Header.d.ts → AppBar/AppBar.d.ts} +13 -13
  48. package/lib/typescript/module/components/AppBar/index.d.ts +3 -0
  49. package/lib/typescript/{commonjs/components/Icon/Icon.d.ts → module/components/AppIcon/AppIcon.d.ts} +5 -5
  50. package/lib/typescript/module/components/AppIcon/index.d.ts +3 -0
  51. package/lib/typescript/module/components/FloatingActionButton/FloatingActionButton.d.ts +53 -0
  52. package/lib/typescript/module/components/FloatingActionButton/index.d.ts +3 -0
  53. package/lib/typescript/{commonjs/components/Field/Field.d.ts → module/components/FormField/FormField.d.ts} +7 -7
  54. package/lib/typescript/module/components/FormField/index.d.ts +3 -0
  55. package/lib/typescript/module/components/{SkeletonLoader/SkeletonLoader.d.ts → Skeleton/Skeleton.d.ts} +1 -1
  56. package/lib/typescript/module/components/{SkeletonLoader → Skeleton}/SkeletonContent.d.ts +1 -1
  57. package/lib/typescript/module/components/{SkeletonLoader → Skeleton}/index.d.ts +2 -2
  58. package/lib/typescript/module/components/Spinner/Spinner.d.ts +20 -0
  59. package/lib/typescript/module/components/Spinner/index.d.ts +3 -0
  60. package/lib/typescript/module/components/index.d.ts +12 -12
  61. package/package.json +2 -2
  62. package/lib/module/components/FAB/index.js +0 -4
  63. package/lib/module/components/Field/index.js +0 -4
  64. package/lib/module/components/Header/index.js +0 -4
  65. package/lib/module/components/Icon/index.js +0 -4
  66. package/lib/module/components/LoadingSpinner/index.js +0 -4
  67. package/lib/typescript/commonjs/components/FAB/FAB.d.ts +0 -53
  68. package/lib/typescript/commonjs/components/FAB/index.d.ts +0 -3
  69. package/lib/typescript/commonjs/components/Field/index.d.ts +0 -3
  70. package/lib/typescript/commonjs/components/Header/index.d.ts +0 -3
  71. package/lib/typescript/commonjs/components/Icon/index.d.ts +0 -3
  72. package/lib/typescript/commonjs/components/LoadingSpinner/LoadingSpinner.d.ts +0 -20
  73. package/lib/typescript/commonjs/components/LoadingSpinner/index.d.ts +0 -3
  74. package/lib/typescript/module/components/FAB/FAB.d.ts +0 -53
  75. package/lib/typescript/module/components/FAB/index.d.ts +0 -3
  76. package/lib/typescript/module/components/Field/index.d.ts +0 -3
  77. package/lib/typescript/module/components/Header/index.d.ts +0 -3
  78. package/lib/typescript/module/components/Icon/index.d.ts +0 -3
  79. package/lib/typescript/module/components/LoadingSpinner/LoadingSpinner.d.ts +0 -20
  80. package/lib/typescript/module/components/LoadingSpinner/index.d.ts +0 -3
@@ -90,7 +90,7 @@ const ActionButton = ({
90
90
  const COLLAPSE_RANGE = 60;
91
91
  const LARGE_TITLE_SCALE_END = 0.71; // 2xl(24) -> lg(~17) ≈ 0.71
92
92
 
93
- const Header = /*#__PURE__*/forwardRef((props, ref) => {
93
+ const AppBar = /*#__PURE__*/forwardRef((props, ref) => {
94
94
  const {
95
95
  title,
96
96
  subtitle,
@@ -227,12 +227,12 @@ const Header = /*#__PURE__*/forwardRef((props, ref) => {
227
227
  children: rightActions?.map((action, index) => /*#__PURE__*/_jsx(ActionButton, {
228
228
  action: action,
229
229
  side: "right"
230
- }, `header-right-${index}`))
230
+ }, `appbar-right-${index}`))
231
231
  })]
232
232
  })]
233
233
  });
234
234
  });
235
- Header.displayName = 'Header';
235
+ AppBar.displayName = 'AppBar';
236
236
  const buildStyles = theme => StyleSheet.create({
237
237
  root: {
238
238
  width: '100%'
@@ -330,6 +330,6 @@ const buildActionStyles = theme => StyleSheet.create({
330
330
  lineHeight: 12
331
331
  }
332
332
  });
333
- export { Header };
334
- export default Header;
335
- //# sourceMappingURL=Header.js.map
333
+ export { AppBar };
334
+ export default AppBar;
335
+ //# sourceMappingURL=AppBar.js.map
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export { AppBar, default } from "./AppBar.js";
4
+ //# sourceMappingURL=index.js.map
@@ -60,7 +60,7 @@ const resolveFamily = family => {
60
60
  return Feather;
61
61
  }
62
62
  };
63
- const Icon = /*#__PURE__*/forwardRef((props, ref) => {
63
+ const AppIcon = /*#__PURE__*/forwardRef((props, ref) => {
64
64
  const {
65
65
  name,
66
66
  family = 'feather',
@@ -99,13 +99,13 @@ const Icon = /*#__PURE__*/forwardRef((props, ref) => {
99
99
  })
100
100
  });
101
101
  });
102
- Icon.displayName = 'Icon';
102
+ AppIcon.displayName = 'AppIcon';
103
103
  const buildStyles = () => StyleSheet.create({
104
104
  wrapper: {
105
105
  alignItems: 'center',
106
106
  justifyContent: 'center'
107
107
  }
108
108
  });
109
- export { Icon };
110
- export default Icon;
111
- //# sourceMappingURL=Icon.js.map
109
+ export { AppIcon };
110
+ export default AppIcon;
111
+ //# sourceMappingURL=AppIcon.js.map
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export { AppIcon, default } from "./AppIcon.js";
4
+ //# sourceMappingURL=index.js.map
@@ -6,7 +6,7 @@ import { useSafeAreaInsets } from 'react-native-safe-area-context';
6
6
  import { useTheme } from "../../theme/index.js";
7
7
  import { usePressAnimation } from "../../hooks/usePressAnimation.js";
8
8
  import { triggerHaptic } from "../../utils/hapticUtils.js";
9
- import { Icon } from "../Icon/index.js";
9
+ import { AppIcon } from "../AppIcon/index.js";
10
10
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
11
11
  const sizeMap = {
12
12
  sm: {
@@ -50,7 +50,7 @@ const toneForeground = (theme, tone) => {
50
50
  const isIconConfig = value => {
51
51
  return typeof value === 'object' && value !== null && ! /*#__PURE__*/React.isValidElement(value) && typeof value.name === 'string';
52
52
  };
53
- const FAB = /*#__PURE__*/forwardRef((props, ref) => {
53
+ const FloatingActionButton = /*#__PURE__*/forwardRef((props, ref) => {
54
54
  const {
55
55
  icon,
56
56
  onPress,
@@ -104,7 +104,7 @@ const FAB = /*#__PURE__*/forwardRef((props, ref) => {
104
104
  triggerHaptic('impactLight');
105
105
  onPress();
106
106
  };
107
- const renderedIcon = isIconConfig(icon) ? /*#__PURE__*/_jsx(Icon, {
107
+ const renderedIcon = isIconConfig(icon) ? /*#__PURE__*/_jsx(AppIcon, {
108
108
  name: icon.name,
109
109
  family: icon.family ?? 'feather',
110
110
  size: sizeStyles.iconSize,
@@ -190,7 +190,7 @@ const FAB = /*#__PURE__*/forwardRef((props, ref) => {
190
190
  })
191
191
  });
192
192
  });
193
- FAB.displayName = 'FAB';
193
+ FloatingActionButton.displayName = 'FloatingActionButton';
194
194
  const buildStyles = _theme => StyleSheet.create({
195
195
  base: {
196
196
  flexDirection: 'row',
@@ -204,14 +204,14 @@ const buildStyles = _theme => StyleSheet.create({
204
204
  });
205
205
 
206
206
  // =====================================================================
207
- // FABGroup — speed-dial: primary FAB that expands radially upward into
208
- // N secondary FABs. Animations use the native driver (opacity, transform)
207
+ // FloatingActionButtonGroup — speed-dial: primary button that expands radially upward into
208
+ // N secondary buttons. Animations use the native driver (opacity, transform)
209
209
  // so they remain smooth during JS thread work.
210
210
  // =====================================================================
211
211
 
212
212
  const SECONDARY_GAP = 16;
213
213
  const STAGGER_MS = 50;
214
- const FABGroup = props => {
214
+ const FloatingActionButtonGroup = props => {
215
215
  const {
216
216
  primaryIcon,
217
217
  primaryActiveIcon,
@@ -447,6 +447,6 @@ const buildGroupStyles = _theme => StyleSheet.create({
447
447
  alignSelf: 'center'
448
448
  }
449
449
  });
450
- export { FAB, FABGroup };
451
- export default FAB;
452
- //# sourceMappingURL=FAB.js.map
450
+ export { FloatingActionButton, FloatingActionButtonGroup };
451
+ export default FloatingActionButton;
452
+ //# sourceMappingURL=FloatingActionButton.js.map
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export { FloatingActionButton, FloatingActionButtonGroup, default } from "./FloatingActionButton.js";
4
+ //# sourceMappingURL=index.js.map
@@ -4,7 +4,7 @@ import React, { forwardRef, useEffect, useMemo, useRef } from 'react';
4
4
  import { Animated, StyleSheet, Text, View } from 'react-native';
5
5
  import { useTheme } from "../../theme/index.js";
6
6
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
7
- const Field = /*#__PURE__*/forwardRef((props, ref) => {
7
+ const FormField = /*#__PURE__*/forwardRef((props, ref) => {
8
8
  const {
9
9
  label,
10
10
  helperText,
@@ -78,7 +78,7 @@ const Field = /*#__PURE__*/forwardRef((props, ref) => {
78
78
  }) : null]
79
79
  });
80
80
  });
81
- Field.displayName = 'Field';
81
+ FormField.displayName = 'FormField';
82
82
  const buildStyles = theme => StyleSheet.create({
83
83
  rootStacked: {
84
84
  flexDirection: 'column',
@@ -118,6 +118,6 @@ const buildStyles = theme => StyleSheet.create({
118
118
  color: theme.colors.error
119
119
  }
120
120
  });
121
- export { Field };
122
- export default Field;
123
- //# sourceMappingURL=Field.js.map
121
+ export { FormField };
122
+ export default FormField;
123
+ //# sourceMappingURL=FormField.js.map
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export { FormField, default } from "./FormField.js";
4
+ //# sourceMappingURL=index.js.map
@@ -24,7 +24,7 @@ import { Dimensions, Image, Modal as RNModal, Pressable, StyleSheet, Text, View
24
24
  import { Gesture, GestureDetector } from 'react-native-gesture-handler';
25
25
  import Animated, { runOnJS, useAnimatedStyle, useSharedValue, withSpring, withTiming } from 'react-native-reanimated';
26
26
  import { Carousel } from "../Carousel/index.js";
27
- import { Icon } from "../Icon/index.js";
27
+ import { AppIcon } from "../AppIcon/index.js";
28
28
  import { useTheme } from "../../theme/index.js";
29
29
  import { triggerHaptic } from "../../utils/index.js";
30
30
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
@@ -187,7 +187,7 @@ const Lightbox = ({
187
187
  accessibilityLabel: "Close gallery",
188
188
  style: styles.closeButton,
189
189
  hitSlop: 12,
190
- children: /*#__PURE__*/_jsx(Icon, {
190
+ children: /*#__PURE__*/_jsx(AppIcon, {
191
191
  name: "x",
192
192
  family: "feather",
193
193
  size: "lg",
@@ -5,7 +5,7 @@ import { Animated, Easing, Pressable, StyleSheet, Text, TextInput, View } from '
5
5
  import { useTheme } from "../../theme/index.js";
6
6
  import { triggerHaptic } from "../../utils/hapticUtils.js";
7
7
  import { useDebounce } from "../../hooks/useDebounce.js";
8
- import { Icon } from "../Icon/index.js";
8
+ import { AppIcon } from "../AppIcon/index.js";
9
9
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
10
10
  const sizeMap = {
11
11
  sm: {
@@ -148,7 +148,7 @@ const SearchBar = /*#__PURE__*/forwardRef((props, ref) => {
148
148
  style: [styles.leftSlot, {
149
149
  marginRight: sizeStyles.gap
150
150
  }],
151
- children: leftIcon ? leftIcon : /*#__PURE__*/_jsx(Icon, {
151
+ children: leftIcon ? leftIcon : /*#__PURE__*/_jsx(AppIcon, {
152
152
  name: "search",
153
153
  family: "feather",
154
154
  size: sizeStyles.iconSize,
@@ -184,7 +184,7 @@ const SearchBar = /*#__PURE__*/forwardRef((props, ref) => {
184
184
  style: [styles.rightSlot, {
185
185
  marginLeft: sizeStyles.gap
186
186
  }],
187
- children: /*#__PURE__*/_jsx(Icon, {
187
+ children: /*#__PURE__*/_jsx(AppIcon, {
188
188
  name: "x",
189
189
  family: "feather",
190
190
  size: sizeStyles.iconSize,
@@ -298,4 +298,4 @@ const buildStyles = _theme => StyleSheet.create({
298
298
  });
299
299
  export { Skeleton, SkeletonCircle, SkeletonText, SkeletonAvatar, SkeletonCard, SkeletonListItem };
300
300
  export default Skeleton;
301
- //# sourceMappingURL=SkeletonLoader.js.map
301
+ //# sourceMappingURL=Skeleton.js.map
@@ -2,7 +2,7 @@
2
2
 
3
3
  import React, { Children, cloneElement, isValidElement, useState } from 'react';
4
4
  import { Image, StyleSheet, Text, View } from 'react-native';
5
- import { Skeleton } from "./SkeletonLoader.js";
5
+ import { Skeleton } from "./Skeleton.js";
6
6
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
7
7
  const flattenStyle = style => {
8
8
  if (!style) return {};
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
 
3
- export { Skeleton, SkeletonCircle, SkeletonText, SkeletonAvatar, SkeletonCard, SkeletonListItem, default } from "./SkeletonLoader.js";
3
+ export { Skeleton, SkeletonCircle, SkeletonText, SkeletonAvatar, SkeletonCard, SkeletonListItem, default } from "./Skeleton.js";
4
4
  export { SkeletonContent } from "./SkeletonContent.js";
5
5
  //# sourceMappingURL=index.js.map
@@ -48,7 +48,7 @@ const Dot = ({
48
48
  }
49
49
  });
50
50
  };
51
- const LoadingSpinner = /*#__PURE__*/forwardRef((props, ref) => {
51
+ const Spinner = /*#__PURE__*/forwardRef((props, ref) => {
52
52
  const {
53
53
  size = 'medium',
54
54
  color,
@@ -139,7 +139,7 @@ const LoadingSpinner = /*#__PURE__*/forwardRef((props, ref) => {
139
139
  children: inner
140
140
  });
141
141
  });
142
- LoadingSpinner.displayName = 'LoadingSpinner';
142
+ Spinner.displayName = 'Spinner';
143
143
  const buildStyles = theme => StyleSheet.create({
144
144
  inline: {
145
145
  alignItems: 'center',
@@ -174,6 +174,6 @@ const buildStyles = theme => StyleSheet.create({
174
174
  textAlign: 'center'
175
175
  }
176
176
  });
177
- export { LoadingSpinner };
178
- export default LoadingSpinner;
179
- //# sourceMappingURL=LoadingSpinner.js.map
177
+ export { Spinner };
178
+ export default Spinner;
179
+ //# sourceMappingURL=Spinner.js.map
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export { Spinner, default } from "./Spinner.js";
4
+ //# sourceMappingURL=index.js.map
@@ -17,15 +17,15 @@ export { Dialog } from "./Dialog/index.js";
17
17
  export { Divider } from "./Divider/index.js";
18
18
  export { Drawer } from "./Drawer/index.js";
19
19
  export { EmptyState } from "./EmptyState/index.js";
20
- export { Field } from "./Field/index.js";
21
- export { FAB, FABGroup } from "./FAB/index.js";
20
+ export { FormField } from "./FormField/index.js";
21
+ export { FloatingActionButton, FloatingActionButtonGroup } from "./FloatingActionButton/index.js";
22
22
  export { ForceUpdateDialog } from "./ForceUpdateDialog/index.js";
23
- export { Header } from "./Header/index.js";
24
- export { Icon } from "./Icon/index.js";
23
+ export { AppBar } from "./AppBar/index.js";
24
+ export { AppIcon } from "./AppIcon/index.js";
25
25
  export { ImageGallery } from "./ImageGallery/index.js";
26
26
  export { Input } from "./Input/index.js";
27
27
  export { ListItem } from "./ListItem/index.js";
28
- export { LoadingSpinner } from "./LoadingSpinner/index.js";
28
+ export { Spinner } from "./Spinner/index.js";
29
29
  export { Modal } from "./Modal/index.js";
30
30
  export { NumberInput } from "./NumberInput/index.js";
31
31
  export { OTPInput } from "./OTPInput/index.js";
@@ -36,7 +36,7 @@ export { SearchBar } from "./SearchBar/index.js";
36
36
  export { SegmentedControl } from "./SegmentedControl/index.js";
37
37
  export { Select } from "./Select/index.js";
38
38
  export { Stepper } from "./Stepper/index.js";
39
- export { Skeleton, SkeletonAvatar, SkeletonCard, SkeletonCircle, SkeletonContent, SkeletonListItem, SkeletonText } from "./SkeletonLoader/index.js";
39
+ export { Skeleton, SkeletonAvatar, SkeletonCard, SkeletonCircle, SkeletonContent, SkeletonListItem, SkeletonText } from "./Skeleton/index.js";
40
40
  export { Slider } from "./Slider/index.js";
41
41
  export { Swipeable } from "./Swipeable/index.js";
42
42
  export { Switch } from "./Switch/index.js";
@@ -1,24 +1,24 @@
1
1
  import React from 'react';
2
2
  import { Animated, View } from 'react-native';
3
3
  import type { StyleProp, ViewStyle } from 'react-native';
4
- export type HeaderVariant = 'default' | 'large' | 'compact';
5
- export type HeaderTitleAlignment = 'left' | 'center';
6
- export interface HeaderAction {
4
+ export type AppBarVariant = 'default' | 'large' | 'compact';
5
+ export type AppBarTitleAlignment = 'left' | 'center';
6
+ export interface AppBarAction {
7
7
  icon: React.ReactNode;
8
8
  onPress: () => void;
9
9
  accessibilityLabel?: string;
10
10
  testID?: string;
11
11
  }
12
- export interface HeaderRightAction extends HeaderAction {
12
+ export interface AppBarRightAction extends AppBarAction {
13
13
  badge?: number | string;
14
14
  }
15
- export interface HeaderProps {
15
+ export interface AppBarProps {
16
16
  title?: string;
17
17
  subtitle?: string;
18
- titleAlignment?: HeaderTitleAlignment;
19
- leftAction?: HeaderAction;
20
- rightActions?: HeaderRightAction[];
21
- variant?: HeaderVariant;
18
+ titleAlignment?: AppBarTitleAlignment;
19
+ leftAction?: AppBarAction;
20
+ rightActions?: AppBarRightAction[];
21
+ variant?: AppBarVariant;
22
22
  transparent?: boolean;
23
23
  /**
24
24
  * Optional ScrollView vertical offset (Animated.Value) used to drive the
@@ -30,7 +30,7 @@ export interface HeaderProps {
30
30
  style?: StyleProp<ViewStyle>;
31
31
  testID?: string;
32
32
  }
33
- declare const Header: React.ForwardRefExoticComponent<HeaderProps & React.RefAttributes<View>>;
34
- export { Header };
35
- export default Header;
36
- //# sourceMappingURL=Header.d.ts.map
33
+ declare const AppBar: React.ForwardRefExoticComponent<AppBarProps & React.RefAttributes<View>>;
34
+ export { AppBar };
35
+ export default AppBar;
36
+ //# sourceMappingURL=AppBar.d.ts.map
@@ -0,0 +1,3 @@
1
+ export { AppBar, default } from './AppBar';
2
+ export type { AppBarProps, AppBarVariant, AppBarTitleAlignment, AppBarAction, AppBarRightAction } from './AppBar';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -4,7 +4,7 @@ import type { StyleProp, ViewStyle } from 'react-native';
4
4
  export type IconFamily = 'feather' | 'material-community' | 'material' | 'ionicons';
5
5
  export type IconSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | number;
6
6
  export type IconTone = 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'info' | 'muted';
7
- export interface IconProps {
7
+ export interface AppIconProps {
8
8
  name: string;
9
9
  family?: IconFamily;
10
10
  size?: IconSize;
@@ -14,7 +14,7 @@ export interface IconProps {
14
14
  accessibilityLabel?: string;
15
15
  testID?: string;
16
16
  }
17
- declare const Icon: React.ForwardRefExoticComponent<IconProps & React.RefAttributes<View>>;
18
- export { Icon };
19
- export default Icon;
20
- //# sourceMappingURL=Icon.d.ts.map
17
+ declare const AppIcon: React.ForwardRefExoticComponent<AppIconProps & React.RefAttributes<View>>;
18
+ export { AppIcon };
19
+ export default AppIcon;
20
+ //# sourceMappingURL=AppIcon.d.ts.map
@@ -0,0 +1,3 @@
1
+ export { AppIcon, default } from './AppIcon';
2
+ export type { AppIconProps, IconFamily, IconSize, IconTone } from './AppIcon';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,53 @@
1
+ import React from 'react';
2
+ import { View } from 'react-native';
3
+ import type { StyleProp, ViewStyle } from 'react-native';
4
+ import type { IconFamily } from '../AppIcon';
5
+ export type FloatingActionButtonSize = 'sm' | 'md' | 'lg';
6
+ export type FloatingActionButtonTone = 'primary' | 'success' | 'warning' | 'error' | 'neutral';
7
+ export type FloatingActionButtonPosition = 'bottomRight' | 'bottomLeft' | 'bottomCenter';
8
+ export interface FloatingActionButtonIconConfig {
9
+ name: string;
10
+ family?: IconFamily;
11
+ }
12
+ export interface FloatingActionButtonProps {
13
+ icon: React.ReactNode | FloatingActionButtonIconConfig;
14
+ onPress: () => void;
15
+ label?: string;
16
+ size?: FloatingActionButtonSize;
17
+ tone?: FloatingActionButtonTone;
18
+ position?: FloatingActionButtonPosition;
19
+ bottomOffset?: number;
20
+ disabled?: boolean;
21
+ hideOnScroll?: boolean;
22
+ isScrolling?: boolean;
23
+ accessibilityLabel: string;
24
+ accessibilityHint?: string;
25
+ style?: StyleProp<ViewStyle>;
26
+ testID?: string;
27
+ }
28
+ declare const FloatingActionButton: React.ForwardRefExoticComponent<FloatingActionButtonProps & React.RefAttributes<View>>;
29
+ export interface FloatingActionButtonGroupAction {
30
+ key: string;
31
+ icon: React.ReactNode;
32
+ label?: string;
33
+ onPress: () => void;
34
+ tone?: FloatingActionButtonTone;
35
+ accessibilityLabel: string;
36
+ }
37
+ export interface FloatingActionButtonGroupProps {
38
+ primaryIcon: React.ReactNode;
39
+ primaryActiveIcon?: React.ReactNode;
40
+ actions: FloatingActionButtonGroupAction[];
41
+ open?: boolean;
42
+ defaultOpen?: boolean;
43
+ onOpenChange?: (open: boolean) => void;
44
+ position?: FloatingActionButtonPosition;
45
+ bottomOffset?: number;
46
+ size?: FloatingActionButtonSize;
47
+ accessibilityLabel?: string;
48
+ testID?: string;
49
+ }
50
+ declare const FloatingActionButtonGroup: React.FC<FloatingActionButtonGroupProps>;
51
+ export { FloatingActionButton, FloatingActionButtonGroup };
52
+ export default FloatingActionButton;
53
+ //# sourceMappingURL=FloatingActionButton.d.ts.map
@@ -0,0 +1,3 @@
1
+ export { FloatingActionButton, FloatingActionButtonGroup, default } from './FloatingActionButton';
2
+ export type { FloatingActionButtonProps, FloatingActionButtonSize, FloatingActionButtonTone, FloatingActionButtonPosition, FloatingActionButtonIconConfig, FloatingActionButtonGroupProps, FloatingActionButtonGroupAction } from './FloatingActionButton';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import { View } from 'react-native';
3
3
  import type { StyleProp, TextStyle, ViewStyle } from 'react-native';
4
- export type FieldLayout = 'stacked' | 'inline';
5
- export interface FieldProps {
4
+ export type FormFieldLayout = 'stacked' | 'inline';
5
+ export interface FormFieldProps {
6
6
  label?: string;
7
7
  helperText?: string;
8
8
  /**
@@ -14,7 +14,7 @@ export interface FieldProps {
14
14
  required?: boolean;
15
15
  children: React.ReactNode;
16
16
  /** 'stacked' (default): label above input. 'inline': label left, input right. */
17
- layout?: FieldLayout;
17
+ layout?: FormFieldLayout;
18
18
  labelStyle?: StyleProp<TextStyle>;
19
19
  helperStyle?: StyleProp<TextStyle>;
20
20
  errorStyle?: StyleProp<TextStyle>;
@@ -22,7 +22,7 @@ export interface FieldProps {
22
22
  accessibilityLabel?: string;
23
23
  testID?: string;
24
24
  }
25
- declare const Field: React.ForwardRefExoticComponent<FieldProps & React.RefAttributes<View>>;
26
- export { Field };
27
- export default Field;
28
- //# sourceMappingURL=Field.d.ts.map
25
+ declare const FormField: React.ForwardRefExoticComponent<FormFieldProps & React.RefAttributes<View>>;
26
+ export { FormField };
27
+ export default FormField;
28
+ //# sourceMappingURL=FormField.d.ts.map
@@ -0,0 +1,3 @@
1
+ export { FormField, default } from './FormField';
2
+ export type { FormFieldProps, FormFieldLayout } from './FormField';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -39,4 +39,4 @@ declare const SkeletonCard: React.FC<SkeletonCardProps>;
39
39
  declare const SkeletonListItem: React.FC<SkeletonListItemProps>;
40
40
  export { Skeleton, SkeletonCircle, SkeletonText, SkeletonAvatar, SkeletonCard, SkeletonListItem };
41
41
  export default Skeleton;
42
- //# sourceMappingURL=SkeletonLoader.d.ts.map
42
+ //# sourceMappingURL=Skeleton.d.ts.map
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import type { ReactNode } from 'react';
3
3
  import type { StyleProp, ViewStyle } from 'react-native';
4
- import type { SkeletonSpeed, SkeletonVariant } from './SkeletonLoader';
4
+ import type { SkeletonSpeed, SkeletonVariant } from './Skeleton';
5
5
  export type SkeletonContentMode = 'auto' | 'block';
6
6
  export interface SkeletonContentProps {
7
7
  /** When true, replace children with skeleton placeholders. */
@@ -1,5 +1,5 @@
1
- export { Skeleton, SkeletonCircle, SkeletonText, SkeletonAvatar, SkeletonCard, SkeletonListItem, default } from './SkeletonLoader';
2
- export type { SkeletonProps, SkeletonCircleProps, SkeletonTextProps, SkeletonAvatarProps, SkeletonCardProps, SkeletonListItemProps, SkeletonVariant, SkeletonSpeed, SkeletonRadius, SkeletonWidth, SkeletonAvatarSize } from './SkeletonLoader';
1
+ export { Skeleton, SkeletonCircle, SkeletonText, SkeletonAvatar, SkeletonCard, SkeletonListItem, default } from './Skeleton';
2
+ export type { SkeletonProps, SkeletonCircleProps, SkeletonTextProps, SkeletonAvatarProps, SkeletonCardProps, SkeletonListItemProps, SkeletonVariant, SkeletonSpeed, SkeletonRadius, SkeletonWidth, SkeletonAvatarSize } from './Skeleton';
3
3
  export { SkeletonContent } from './SkeletonContent';
4
4
  export type { SkeletonContentProps, SkeletonContentMode } from './SkeletonContent';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import { View } from 'react-native';
3
+ import type { StyleProp, ViewStyle } from 'react-native';
4
+ export type SpinnerSize = 'small' | 'medium' | 'large';
5
+ export type SpinnerVariant = 'circular' | 'dots';
6
+ export interface SpinnerProps {
7
+ size?: SpinnerSize;
8
+ color?: string;
9
+ message?: string;
10
+ overlay?: boolean;
11
+ backdropColor?: string;
12
+ variant?: SpinnerVariant;
13
+ accessibilityLabel?: string;
14
+ style?: StyleProp<ViewStyle>;
15
+ testID?: string;
16
+ }
17
+ declare const Spinner: React.ForwardRefExoticComponent<SpinnerProps & React.RefAttributes<View>>;
18
+ export { Spinner };
19
+ export default Spinner;
20
+ //# sourceMappingURL=Spinner.d.ts.map
@@ -0,0 +1,3 @@
1
+ export { Spinner, default } from './Spinner';
2
+ export type { SpinnerProps, SpinnerSize, SpinnerVariant } from './Spinner';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -32,24 +32,24 @@ export { Drawer } from './Drawer';
32
32
  export type { DrawerProps, DrawerRef, DrawerSide } from './Drawer';
33
33
  export { EmptyState } from './EmptyState';
34
34
  export type { EmptyStateProps, EmptyStateAction, EmptyStateSize } from './EmptyState';
35
- export { Field } from './Field';
36
- export type { FieldProps, FieldLayout } from './Field';
37
- export { FAB, FABGroup } from './FAB';
38
- export type { FABProps, FABSize, FABTone, FABPosition, FABIconConfig, FABGroupProps, FABGroupAction } from './FAB';
35
+ export { FormField } from './FormField';
36
+ export type { FormFieldProps, FormFieldLayout } from './FormField';
37
+ export { FloatingActionButton, FloatingActionButtonGroup } from './FloatingActionButton';
38
+ export type { FloatingActionButtonProps, FloatingActionButtonSize, FloatingActionButtonTone, FloatingActionButtonPosition, FloatingActionButtonIconConfig, FloatingActionButtonGroupProps, FloatingActionButtonGroupAction } from './FloatingActionButton';
39
39
  export { ForceUpdateDialog } from './ForceUpdateDialog';
40
40
  export type { ForceUpdateDialogProps } from './ForceUpdateDialog';
41
- export { Header } from './Header';
42
- export type { HeaderProps, HeaderAction, HeaderVariant } from './Header';
43
- export { Icon } from './Icon';
44
- export type { IconProps, IconFamily, IconSize, IconTone } from './Icon';
41
+ export { AppBar } from './AppBar';
42
+ export type { AppBarProps, AppBarAction, AppBarVariant } from './AppBar';
43
+ export { AppIcon } from './AppIcon';
44
+ export type { AppIconProps, IconFamily, IconSize, IconTone } from './AppIcon';
45
45
  export { ImageGallery } from './ImageGallery';
46
46
  export type { ImageGalleryProps, GalleryImage } from './ImageGallery';
47
47
  export { Input } from './Input';
48
48
  export type { InputProps, InputSize, InputVariant } from './Input';
49
49
  export { ListItem } from './ListItem';
50
50
  export type { ListItemProps, ListItemSize } from './ListItem';
51
- export { LoadingSpinner } from './LoadingSpinner';
52
- export type { LoadingSpinnerProps, LoadingSpinnerSize, LoadingSpinnerVariant } from './LoadingSpinner';
51
+ export { Spinner } from './Spinner';
52
+ export type { SpinnerProps, SpinnerSize, SpinnerVariant } from './Spinner';
53
53
  export { Modal } from './Modal';
54
54
  export type { ModalProps, ModalPresentation } from './Modal';
55
55
  export { NumberInput } from './NumberInput';
@@ -70,8 +70,8 @@ export { Select } from './Select';
70
70
  export type { SelectProps, SelectOption, SelectSize } from './Select';
71
71
  export { Stepper } from './Stepper';
72
72
  export type { StepperProps, StepperVariant, StepperStep, StepperTone } from './Stepper';
73
- export { Skeleton, SkeletonAvatar, SkeletonCard, SkeletonCircle, SkeletonContent, SkeletonListItem, SkeletonText } from './SkeletonLoader';
74
- export type { SkeletonProps, SkeletonAvatarProps, SkeletonCardProps, SkeletonCircleProps, SkeletonContentMode, SkeletonContentProps, SkeletonListItemProps, SkeletonTextProps, SkeletonVariant, SkeletonSpeed } from './SkeletonLoader';
73
+ export { Skeleton, SkeletonAvatar, SkeletonCard, SkeletonCircle, SkeletonContent, SkeletonListItem, SkeletonText } from './Skeleton';
74
+ export type { SkeletonProps, SkeletonAvatarProps, SkeletonCardProps, SkeletonCircleProps, SkeletonContentMode, SkeletonContentProps, SkeletonListItemProps, SkeletonTextProps, SkeletonVariant, SkeletonSpeed } from './Skeleton';
75
75
  export { Slider } from './Slider';
76
76
  export type { SliderProps, SliderTone, SliderSize } from './Slider';
77
77
  export { Swipeable } from './Swipeable';
@@ -1,24 +1,24 @@
1
1
  import React from 'react';
2
2
  import { Animated, View } from 'react-native';
3
3
  import type { StyleProp, ViewStyle } from 'react-native';
4
- export type HeaderVariant = 'default' | 'large' | 'compact';
5
- export type HeaderTitleAlignment = 'left' | 'center';
6
- export interface HeaderAction {
4
+ export type AppBarVariant = 'default' | 'large' | 'compact';
5
+ export type AppBarTitleAlignment = 'left' | 'center';
6
+ export interface AppBarAction {
7
7
  icon: React.ReactNode;
8
8
  onPress: () => void;
9
9
  accessibilityLabel?: string;
10
10
  testID?: string;
11
11
  }
12
- export interface HeaderRightAction extends HeaderAction {
12
+ export interface AppBarRightAction extends AppBarAction {
13
13
  badge?: number | string;
14
14
  }
15
- export interface HeaderProps {
15
+ export interface AppBarProps {
16
16
  title?: string;
17
17
  subtitle?: string;
18
- titleAlignment?: HeaderTitleAlignment;
19
- leftAction?: HeaderAction;
20
- rightActions?: HeaderRightAction[];
21
- variant?: HeaderVariant;
18
+ titleAlignment?: AppBarTitleAlignment;
19
+ leftAction?: AppBarAction;
20
+ rightActions?: AppBarRightAction[];
21
+ variant?: AppBarVariant;
22
22
  transparent?: boolean;
23
23
  /**
24
24
  * Optional ScrollView vertical offset (Animated.Value) used to drive the
@@ -30,7 +30,7 @@ export interface HeaderProps {
30
30
  style?: StyleProp<ViewStyle>;
31
31
  testID?: string;
32
32
  }
33
- declare const Header: React.ForwardRefExoticComponent<HeaderProps & React.RefAttributes<View>>;
34
- export { Header };
35
- export default Header;
36
- //# sourceMappingURL=Header.d.ts.map
33
+ declare const AppBar: React.ForwardRefExoticComponent<AppBarProps & React.RefAttributes<View>>;
34
+ export { AppBar };
35
+ export default AppBar;
36
+ //# sourceMappingURL=AppBar.d.ts.map