@utilitywarehouse/hearth-react-native 0.4.2 → 0.6.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.
Files changed (207) hide show
  1. package/.storybook/main.ts +21 -1
  2. package/.turbo/turbo-build.log +1 -1
  3. package/.turbo/turbo-lint.log +1 -1
  4. package/CHANGELOG.md +52 -0
  5. package/build/components/Alert/AlertTitle.js +6 -6
  6. package/build/components/Badge/Badge.js +3 -3
  7. package/build/components/Badge/Badge.props.d.ts +1 -0
  8. package/build/components/Button/ButtonRoot.js +4 -0
  9. package/build/components/Button/ButtonText.js +2 -2
  10. package/build/components/Card/CardRoot.js +1 -1
  11. package/build/components/Carousel/Carousel.context.d.ts +4 -0
  12. package/build/components/Carousel/Carousel.context.js +4 -0
  13. package/build/components/Carousel/Carousel.d.ts +6 -0
  14. package/build/components/Carousel/Carousel.js +278 -0
  15. package/build/components/Carousel/Carousel.props.d.ts +65 -0
  16. package/build/components/Carousel/Carousel.props.js +1 -0
  17. package/build/components/Carousel/CarouselControlItem.d.ts +24 -0
  18. package/build/components/Carousel/CarouselControlItem.js +64 -0
  19. package/build/components/Carousel/CarouselControls.d.ts +4 -0
  20. package/build/components/Carousel/CarouselControls.js +74 -0
  21. package/build/components/Carousel/CarouselItem.d.ts +6 -0
  22. package/build/components/Carousel/CarouselItem.js +38 -0
  23. package/build/components/Carousel/index.d.ts +5 -0
  24. package/build/components/Carousel/index.js +5 -0
  25. package/build/components/Container/Container.d.ts +6 -0
  26. package/build/components/Container/Container.js +40 -0
  27. package/build/components/Container/Container.props.d.ts +85 -0
  28. package/build/components/Container/Container.props.js +1 -0
  29. package/build/components/Container/index.d.ts +2 -0
  30. package/build/components/Container/index.js +1 -0
  31. package/build/components/DescriptionList/DescriptionList.d.ts +1 -1
  32. package/build/components/DescriptionList/DescriptionList.js +2 -2
  33. package/build/components/DescriptionList/DescriptionList.props.d.ts +1 -8
  34. package/build/components/DescriptionList/DescriptionListItem.d.ts +1 -1
  35. package/build/components/DescriptionList/DescriptionListItem.js +4 -3
  36. package/build/components/DescriptionList/DescriptionListItem.props.d.ts +3 -8
  37. package/build/components/IndicatorIconButton/IndicatorIconButton.d.ts +6 -0
  38. package/build/components/IndicatorIconButton/IndicatorIconButton.js +26 -0
  39. package/build/components/IndicatorIconButton/IndicatorIconButton.props.d.ts +8 -0
  40. package/build/components/IndicatorIconButton/IndicatorIconButton.props.js +1 -0
  41. package/build/components/IndicatorIconButton/index.d.ts +2 -0
  42. package/build/components/IndicatorIconButton/index.js +1 -0
  43. package/build/components/Link/LinkText.js +3 -3
  44. package/build/components/List/List.context.d.ts +0 -2
  45. package/build/components/List/List.d.ts +1 -1
  46. package/build/components/List/List.js +5 -5
  47. package/build/components/List/List.props.d.ts +1 -9
  48. package/build/components/List/ListAction/ListAction.d.ts +18 -0
  49. package/build/components/List/ListAction/ListAction.js +103 -0
  50. package/build/components/List/ListAction/ListAction.props.d.ts +8 -0
  51. package/build/components/List/ListAction/ListAction.props.js +1 -0
  52. package/build/components/List/ListAction/ListActionContent.d.ts +6 -0
  53. package/build/components/List/ListAction/ListActionContent.js +14 -0
  54. package/build/components/List/ListAction/ListActionText.d.ts +6 -0
  55. package/build/components/List/ListAction/ListActionText.js +7 -0
  56. package/build/components/List/ListAction/ListActionTrailingContent.d.ts +6 -0
  57. package/build/components/List/ListAction/ListActionTrailingContent.js +5 -0
  58. package/build/components/List/ListAction/ListActionTrailingIcon.d.ts +9 -0
  59. package/build/components/List/ListAction/ListActionTrailingIcon.js +18 -0
  60. package/build/components/List/ListAction/index.d.ts +6 -0
  61. package/build/components/List/ListAction/index.js +5 -0
  62. package/build/components/List/ListItem/ListItem.context.d.ts +1 -1
  63. package/build/components/List/ListItem/ListItem.props.d.ts +9 -5
  64. package/build/components/List/ListItem/ListItemRoot.d.ts +1 -1
  65. package/build/components/List/ListItem/ListItemRoot.js +10 -12
  66. package/build/components/List/ListItem/index.d.ts +4 -4
  67. package/build/components/List/ListItem/index.js +3 -3
  68. package/build/components/List/index.d.ts +1 -0
  69. package/build/components/List/index.js +1 -0
  70. package/build/components/ProgressStepper/ProgressStep.d.ts +10 -0
  71. package/build/components/ProgressStepper/ProgressStep.js +100 -0
  72. package/build/components/ProgressStepper/ProgressStepper.d.ts +6 -0
  73. package/build/components/ProgressStepper/ProgressStepper.js +22 -0
  74. package/build/components/ProgressStepper/ProgressStepper.props.d.ts +22 -0
  75. package/build/components/ProgressStepper/ProgressStepper.props.js +1 -0
  76. package/build/components/ProgressStepper/ProgressStepperRoot.d.ts +6 -0
  77. package/build/components/ProgressStepper/ProgressStepperRoot.js +16 -0
  78. package/build/components/ProgressStepper/index.d.ts +3 -0
  79. package/build/components/ProgressStepper/index.js +2 -0
  80. package/build/components/SectionHeader/SectionHeader.d.ts +1 -1
  81. package/build/components/SectionHeader/SectionHeader.js +6 -3
  82. package/build/components/SectionHeader/SectionHeader.props.d.ts +9 -16
  83. package/build/components/SectionHeader/SectionHeaderTrailingContent.d.ts +6 -0
  84. package/build/components/SectionHeader/SectionHeaderTrailingContent.js +13 -0
  85. package/build/components/SectionHeader/index.d.ts +1 -0
  86. package/build/components/SectionHeader/index.js +1 -0
  87. package/build/components/Tabs/Tab.js +2 -2
  88. package/build/components/ThemedImage/ThemedImage.d.ts +12 -0
  89. package/build/components/ThemedImage/ThemedImage.js +27 -0
  90. package/build/components/ThemedImage/ThemedImage.props.d.ts +13 -0
  91. package/build/components/ThemedImage/ThemedImage.props.js +1 -0
  92. package/build/components/ThemedImage/index.d.ts +2 -0
  93. package/build/components/ThemedImage/index.js +1 -0
  94. package/build/components/ToggleButton/ToggleButtonText.js +2 -2
  95. package/build/components/UnstyledIconButton/UnstyledIconButton.props.d.ts +4 -1
  96. package/build/components/index.d.ts +5 -0
  97. package/build/components/index.js +5 -0
  98. package/build/core/themes.d.ts +12 -24
  99. package/build/hooks/useStyleProps.js +1 -1
  100. package/build/tokens/components/dark/button.d.ts +1 -1
  101. package/build/tokens/components/dark/button.js +1 -1
  102. package/build/tokens/components/dark/dialog.d.ts +1 -0
  103. package/build/tokens/components/dark/dialog.js +1 -0
  104. package/build/tokens/components/dark/illustrations.d.ts +1 -0
  105. package/build/tokens/components/dark/illustrations.js +1 -0
  106. package/build/tokens/components/dark/toast.d.ts +4 -1
  107. package/build/tokens/components/dark/toast.js +4 -1
  108. package/build/tokens/components/light/button.d.ts +1 -1
  109. package/build/tokens/components/light/button.js +1 -1
  110. package/build/tokens/components/light/dialog.d.ts +1 -0
  111. package/build/tokens/components/light/dialog.js +1 -0
  112. package/build/tokens/components/light/illustrations.d.ts +1 -0
  113. package/build/tokens/components/light/illustrations.js +1 -0
  114. package/build/tokens/components/light/toast.d.ts +4 -1
  115. package/build/tokens/components/light/toast.js +4 -1
  116. package/build/tokens/layout.d.ts +6 -12
  117. package/build/tokens/layout.js +3 -6
  118. package/docs/components/AllComponents.web.tsx +122 -5
  119. package/docs/components/BadgeList.tsx +20 -56
  120. package/docs/components/SwitchList.tsx +4 -8
  121. package/docs/getting-started.mdx +30 -14
  122. package/docs/introduction.mdx +1 -1
  123. package/docs/layout-components.docs.mdx +30 -0
  124. package/package.json +6 -4
  125. package/src/components/Alert/AlertTitle.tsx +7 -7
  126. package/src/components/Badge/Badge.props.ts +1 -0
  127. package/src/components/Badge/Badge.tsx +3 -2
  128. package/src/components/Button/ButtonRoot.tsx +4 -0
  129. package/src/components/Button/ButtonText.tsx +3 -3
  130. package/src/components/Card/CardRoot.tsx +2 -0
  131. package/src/components/Carousel/Carousel.context.tsx +8 -0
  132. package/src/components/Carousel/Carousel.docs.mdx +389 -0
  133. package/src/components/Carousel/Carousel.props.ts +89 -0
  134. package/src/components/Carousel/Carousel.stories.tsx +317 -0
  135. package/src/components/Carousel/Carousel.tsx +444 -0
  136. package/src/components/Carousel/CarouselControlItem.tsx +87 -0
  137. package/src/components/Carousel/CarouselControls.tsx +150 -0
  138. package/src/components/Carousel/CarouselItem.tsx +68 -0
  139. package/src/components/Carousel/index.ts +6 -0
  140. package/src/components/Container/Container.docs.mdx +168 -0
  141. package/src/components/Container/Container.props.ts +89 -0
  142. package/src/components/Container/Container.stories.tsx +274 -0
  143. package/src/components/Container/Container.tsx +52 -0
  144. package/src/components/Container/index.tsx +2 -0
  145. package/src/components/DescriptionList/DescriptionList.docs.mdx +24 -27
  146. package/src/components/DescriptionList/DescriptionList.props.ts +1 -8
  147. package/src/components/DescriptionList/DescriptionList.stories.tsx +13 -19
  148. package/src/components/DescriptionList/DescriptionList.tsx +2 -14
  149. package/src/components/DescriptionList/DescriptionListItem.props.ts +3 -8
  150. package/src/components/DescriptionList/DescriptionListItem.tsx +13 -21
  151. package/src/components/IndicatorIconButton/IndicatorIconButton.docs.mdx +85 -0
  152. package/src/components/IndicatorIconButton/IndicatorIconButton.props.ts +12 -0
  153. package/src/components/IndicatorIconButton/IndicatorIconButton.stories.tsx +142 -0
  154. package/src/components/IndicatorIconButton/IndicatorIconButton.tsx +36 -0
  155. package/src/components/IndicatorIconButton/index.tsx +2 -0
  156. package/src/components/Link/LinkText.tsx +4 -4
  157. package/src/components/List/List.context.ts +0 -1
  158. package/src/components/List/List.docs.mdx +376 -179
  159. package/src/components/List/List.props.ts +1 -9
  160. package/src/components/List/List.stories.tsx +289 -38
  161. package/src/components/List/List.tsx +5 -26
  162. package/src/components/List/ListAction/ListAction.props.ts +10 -0
  163. package/src/components/List/ListAction/ListAction.tsx +133 -0
  164. package/src/components/List/ListAction/ListActionContent.tsx +21 -0
  165. package/src/components/List/ListAction/ListActionText.tsx +14 -0
  166. package/src/components/List/ListAction/ListActionTrailingContent.tsx +9 -0
  167. package/src/components/List/ListAction/ListActionTrailingIcon.tsx +32 -0
  168. package/src/components/List/ListAction/index.ts +6 -0
  169. package/src/components/List/ListItem/ListItem.context.ts +1 -1
  170. package/src/components/List/ListItem/ListItem.props.ts +9 -5
  171. package/src/components/List/ListItem/ListItemRoot.tsx +18 -14
  172. package/src/components/List/ListItem/index.ts +4 -4
  173. package/src/components/List/index.ts +1 -0
  174. package/src/components/ProgressStepper/ProgressStep.tsx +134 -0
  175. package/src/components/ProgressStepper/ProgressStepper.docs.mdx +87 -0
  176. package/src/components/ProgressStepper/ProgressStepper.props.ts +27 -0
  177. package/src/components/ProgressStepper/ProgressStepper.stories.tsx +108 -0
  178. package/src/components/ProgressStepper/ProgressStepper.tsx +26 -0
  179. package/src/components/ProgressStepper/ProgressStepperRoot.tsx +32 -0
  180. package/src/components/ProgressStepper/index.ts +3 -0
  181. package/src/components/SectionHeader/SectionHeader.props.ts +9 -16
  182. package/src/components/SectionHeader/SectionHeader.stories.tsx +28 -18
  183. package/src/components/SectionHeader/SectionHeader.tsx +18 -19
  184. package/src/components/SectionHeader/SectionHeaderTrailingContent.tsx +20 -0
  185. package/src/components/SectionHeader/Sectionheader.docs.mdx +9 -24
  186. package/src/components/SectionHeader/index.ts +1 -0
  187. package/src/components/Switch/Switch.docs.mdx +0 -4
  188. package/src/components/Tabs/Tab.tsx +4 -2
  189. package/src/components/ThemedImage/ThemedImage.docs.mdx +208 -0
  190. package/src/components/ThemedImage/ThemedImage.props.ts +15 -0
  191. package/src/components/ThemedImage/ThemedImage.stories.tsx +175 -0
  192. package/src/components/ThemedImage/ThemedImage.tsx +34 -0
  193. package/src/components/ThemedImage/index.tsx +2 -0
  194. package/src/components/ToggleButton/ToggleButtonText.tsx +3 -3
  195. package/src/components/UnstyledIconButton/UnstyledIconButton.props.ts +2 -1
  196. package/src/components/index.ts +5 -0
  197. package/src/hooks/useStyleProps.ts +1 -1
  198. package/src/tokens/components/dark/button.ts +1 -1
  199. package/src/tokens/components/dark/dialog.ts +1 -0
  200. package/src/tokens/components/dark/illustrations.ts +1 -0
  201. package/src/tokens/components/dark/toast.ts +4 -1
  202. package/src/tokens/components/light/button.ts +1 -1
  203. package/src/tokens/components/light/dialog.ts +1 -0
  204. package/src/tokens/components/light/illustrations.ts +1 -0
  205. package/src/tokens/components/light/toast.ts +4 -1
  206. package/src/tokens/layout.ts +3 -6
  207. package/src/vite-env.d.ts +6 -0
@@ -1,5 +1,6 @@
1
- import { ComponentType, Ref } from 'react';
2
- import type { ViewProps, View } from 'react-native';
1
+ import { Ref } from 'react';
2
+ import type { View, ViewProps } from 'react-native';
3
+ import BadgeProps from '../Badge/Badge.props';
3
4
  interface SectionHeaderBaseProps extends Omit<ViewProps, 'children'> {
4
5
  ref?: Ref<View>;
5
6
  }
@@ -7,25 +8,17 @@ export interface SectionHeaderWithChildren extends SectionHeaderBaseProps {
7
8
  children: ViewProps['children'];
8
9
  heading?: never;
9
10
  helperText?: never;
10
- linkText?: never;
11
- linkHref?: never;
12
- linkOnPress?: never;
13
- linkTarget?: never;
14
- linkIcon?: never;
15
- linkIconPosition?: never;
16
- linkShowIcon?: never;
11
+ trailingContent?: never;
12
+ badge?: never;
13
+ invalidText?: never;
17
14
  }
18
15
  export interface SectionHeaderWithoutChildren extends SectionHeaderBaseProps {
19
16
  children?: never;
20
17
  heading: string;
21
18
  helperText?: string;
22
- linkText?: string;
23
- linkHref?: string;
24
- linkOnPress?: () => void;
25
- linkTarget?: '_blank' | '_self' | '_parent' | '_top';
26
- linkIcon?: ComponentType;
27
- linkIconPosition?: 'left' | 'right';
28
- linkShowIcon?: boolean;
19
+ trailingContent?: React.ReactNode;
20
+ badge?: BadgeProps;
21
+ invalidText?: string;
29
22
  }
30
23
  type SectionHeaderProps = SectionHeaderWithChildren | SectionHeaderWithoutChildren;
31
24
  export default SectionHeaderProps;
@@ -0,0 +1,6 @@
1
+ import { type ViewProps } from 'react-native';
2
+ declare const SectionHeaderTrailingContent: {
3
+ ({ children, ...props }: ViewProps): import("react/jsx-runtime").JSX.Element;
4
+ displayName: string;
5
+ };
6
+ export default SectionHeaderTrailingContent;
@@ -0,0 +1,13 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { View } from 'react-native';
3
+ import { StyleSheet } from 'react-native-unistyles';
4
+ const SectionHeaderTrailingContent = ({ children, ...props }) => {
5
+ return (_jsx(View, { ...props, style: [styles.container, props.style], children: children }));
6
+ };
7
+ SectionHeaderTrailingContent.displayName = 'SectionHeaderTrailingContent';
8
+ const styles = StyleSheet.create({
9
+ container: {
10
+ alignSelf: 'flex-start',
11
+ },
12
+ });
13
+ export default SectionHeaderTrailingContent;
@@ -2,3 +2,4 @@ export { default as SectionHeader } from './SectionHeader';
2
2
  export { default as SectionHeaderHeading } from './SectionHeaderHeading';
3
3
  export { default as SectionHeaderHelperText } from './SectionHeaderHelperText';
4
4
  export { default as SectionHeaderTextContent } from './SectionHeaderTextContent';
5
+ export { default as SectionHeaderTrailingContent } from './SectionHeaderTrailingContent';
@@ -2,3 +2,4 @@ export { default as SectionHeader } from './SectionHeader';
2
2
  export { default as SectionHeaderHeading } from './SectionHeaderHeading';
3
3
  export { default as SectionHeaderHelperText } from './SectionHeaderHelperText';
4
4
  export { default as SectionHeaderTextContent } from './SectionHeaderTextContent';
5
+ export { default as SectionHeaderTrailingContent } from './SectionHeaderTrailingContent';
@@ -2,10 +2,10 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useCallback, useRef } from 'react';
3
3
  import { Platform, Pressable, View } from 'react-native';
4
4
  import { StyleSheet } from 'react-native-unistyles';
5
- import { DetailText } from '../DetailText';
6
5
  import { Icon } from '../Icon';
7
6
  import { useTabsContext } from './Tabs.context';
8
7
  import { createPressable } from '@gluestack-ui/pressable';
8
+ import { BodyText } from '../BodyText';
9
9
  const Tab = ({ value, children, icon, disabled, style, states, ...props }) => {
10
10
  const { value: active, select, size, disabled: allDisabled, registerTabLayout, } = useTabsContext();
11
11
  const { active: pressed } = states || { active: false };
@@ -23,7 +23,7 @@ const Tab = ({ value, children, icon, disabled, style, states, ...props }) => {
23
23
  }, [value, registerTabLayout]);
24
24
  return (_jsx(Pressable, { ref: ref, accessibilityRole: "tab", accessibilityState: { selected: isActive, disabled: !!(disabled || allDisabled) }, onPress: handlePress, onLayout: handleLayout, style: [styles.tab, style], ...(Platform.OS === 'web'
25
25
  ? { id: `tab-${value}`, 'aria-controls': `tabpanel-${value}` }
26
- : null), ...props, children: _jsxs(View, { style: styles.content, children: [icon ? _jsx(Icon, { as: icon }) : null, _jsx(DetailText, { size: size, children: children })] }) }));
26
+ : null), ...props, children: _jsxs(View, { style: styles.content, children: [icon ? _jsx(Icon, { as: icon }) : null, _jsx(BodyText, { size: size, weight: "semibold", children: children })] }) }));
27
27
  };
28
28
  Tab.displayName = 'Tab';
29
29
  const styles = StyleSheet.create(theme => ({
@@ -0,0 +1,12 @@
1
+ import type ThemedImageProps from './ThemedImage.props';
2
+ /**
3
+ * ThemedImage component that displays different images or components based on the current theme
4
+ * @param light - Image source or SVG component to display in light mode
5
+ * @param dark - Image source or SVG component to display in dark mode
6
+ * @param ...rest - All other Image props including width/height for SVG components
7
+ */
8
+ declare const ThemedImage: {
9
+ ({ light, dark, ...props }: ThemedImageProps): import("react/jsx-runtime").JSX.Element;
10
+ displayName: string;
11
+ };
12
+ export default ThemedImage;
@@ -0,0 +1,27 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { isValidElement } from 'react';
3
+ import { Image } from 'react-native';
4
+ import useColorMode from '../../hooks/useColorMode';
5
+ /**
6
+ * ThemedImage component that displays different images or components based on the current theme
7
+ * @param light - Image source or SVG component to display in light mode
8
+ * @param dark - Image source or SVG component to display in dark mode
9
+ * @param ...rest - All other Image props including width/height for SVG components
10
+ */
11
+ const ThemedImage = ({ light, dark, ...props }) => {
12
+ const [colorMode] = useColorMode();
13
+ const source = colorMode === 'light' ? light : dark;
14
+ // If the source is a React element (like an SVG component), render it directly
15
+ if (isValidElement(source)) {
16
+ return source;
17
+ }
18
+ // If the source is a component type (function/class), instantiate it with props
19
+ if (typeof source === 'function') {
20
+ const Source = source;
21
+ return _jsx(Source, { ...props });
22
+ }
23
+ // Otherwise, render as a regular Image with the source
24
+ return _jsx(Image, { source: source, ...props });
25
+ };
26
+ ThemedImage.displayName = 'ThemedImage';
27
+ export default ThemedImage;
@@ -0,0 +1,13 @@
1
+ import type { ComponentType, ReactElement } from 'react';
2
+ import type { ImageProps, ImageSourcePropType } from 'react-native';
3
+ interface ThemedImageProps extends Omit<ImageProps, 'source'> {
4
+ /**
5
+ * Image source or component to display in light mode
6
+ */
7
+ light: ImageSourcePropType | ReactElement | ComponentType<any>;
8
+ /**
9
+ * Image source or component to display in dark mode
10
+ */
11
+ dark: ImageSourcePropType | ReactElement | ComponentType<any>;
12
+ }
13
+ export default ThemedImageProps;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ export { default as ThemedImage } from './ThemedImage';
2
+ export type { default as ThemedImageProps } from './ThemedImage.props';
@@ -0,0 +1 @@
1
+ export { default as ThemedImage } from './ThemedImage';
@@ -1,9 +1,9 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { StyleSheet } from 'react-native-unistyles';
3
- import { DetailText } from '../DetailText';
3
+ import { BodyText } from '../BodyText';
4
4
  const ToggleButtonText = ({ children, toggled, ...props }) => {
5
5
  styles.useVariants({ toggled });
6
- return (_jsx(DetailText, { size: "md", ...props, style: [styles.text, props.style], children: children }));
6
+ return (_jsx(BodyText, { size: "md", weight: "semibold", ...props, style: [styles.text, props.style], children: children }));
7
7
  };
8
8
  ToggleButtonText.displayName = 'ToggleButtonText';
9
9
  const styles = StyleSheet.create(theme => ({
@@ -1,5 +1,6 @@
1
1
  import type { ComponentType } from 'react';
2
2
  import type { PressableProps, ViewProps } from 'react-native';
3
+ import { ColorValue } from '../../types';
3
4
  export type UnstyledIconButtonProps = {
4
5
  disabled?: boolean;
5
6
  pressed?: boolean;
@@ -8,5 +9,7 @@ export type UnstyledIconButtonProps = {
8
9
  size?: 'sm' | 'md';
9
10
  inverted?: boolean;
10
11
  children?: React.ReactNode;
11
- iconStyle?: ViewProps['style'];
12
+ iconStyle?: ViewProps['style'] & {
13
+ color?: ColorValue;
14
+ };
12
15
  } & PressableProps;
@@ -6,8 +6,10 @@ export * from './BottomSheet';
6
6
  export * from './Box';
7
7
  export * from './Button';
8
8
  export * from './Card';
9
+ export * from './Carousel';
9
10
  export * from './Center';
10
11
  export * from './Checkbox';
12
+ export * from './Container';
11
13
  export * from './CurrencyInput';
12
14
  export * from './DatePicker';
13
15
  export * from './DatePickerInput';
@@ -23,12 +25,14 @@ export * from './HTMLElements';
23
25
  export * from './Icon';
24
26
  export * from './IconButton';
25
27
  export * from './IconContainer';
28
+ export * from './IndicatorIconButton';
26
29
  export * from './InlineLink';
27
30
  export * from './Input';
28
31
  export * from './Label';
29
32
  export * from './Link';
30
33
  export * from './List';
31
34
  export * from './Modal';
35
+ export * from './ProgressStepper';
32
36
  export * from './Radio';
33
37
  export * from './RadioCard';
34
38
  export * from './SectionHeader';
@@ -38,6 +42,7 @@ export * from './Spinner';
38
42
  export * from './Switch';
39
43
  export * from './Tabs';
40
44
  export * from './Textarea';
45
+ export * from './ThemedImage';
41
46
  export * from './ToggleButtonCard';
42
47
  export { FlatList, Image, KeyboardAvoidingView, ScrollView, SectionList, StatusBar, View, } from 'react-native';
43
48
  export { Pressable } from 'react-native';
@@ -7,8 +7,10 @@ export * from './BottomSheet';
7
7
  export * from './Box';
8
8
  export * from './Button';
9
9
  export * from './Card';
10
+ export * from './Carousel';
10
11
  export * from './Center';
11
12
  export * from './Checkbox';
13
+ export * from './Container';
12
14
  export * from './CurrencyInput';
13
15
  export * from './DatePicker';
14
16
  export * from './DatePickerInput';
@@ -24,12 +26,14 @@ export * from './HTMLElements';
24
26
  export * from './Icon';
25
27
  export * from './IconButton';
26
28
  export * from './IconContainer';
29
+ export * from './IndicatorIconButton';
27
30
  export * from './InlineLink';
28
31
  export * from './Input';
29
32
  export * from './Label';
30
33
  export * from './Link';
31
34
  export * from './List';
32
35
  export * from './Modal';
36
+ export * from './ProgressStepper';
33
37
  export * from './Radio';
34
38
  export * from './RadioCard';
35
39
  export * from './SectionHeader';
@@ -39,6 +43,7 @@ export * from './Spinner';
39
43
  export * from './Switch';
40
44
  export * from './Tabs';
41
45
  export * from './Textarea';
46
+ export * from './ThemedImage';
42
47
  export * from './ToggleButtonCard';
43
48
  export { FlatList, Image, KeyboardAvoidingView, ScrollView, SectionList, StatusBar, View, } from 'react-native';
44
49
  export { Pressable } from 'react-native';
@@ -464,8 +464,8 @@ export declare const lightTheme: {
464
464
  readonly minWidth: 320;
465
465
  };
466
466
  readonly container: {
467
+ readonly margin: 16;
467
468
  readonly paddingBottom: 32;
468
- readonly paddingHorizontal: 16;
469
469
  readonly paddingTop: 24;
470
470
  readonly width: 360;
471
471
  };
@@ -474,7 +474,6 @@ export declare const lightTheme: {
474
474
  readonly columnWidth: 64;
475
475
  readonly gridSize: 8;
476
476
  readonly gutter: 16;
477
- readonly margin: 16;
478
477
  };
479
478
  readonly spacing: {
480
479
  readonly '2xl': 28;
@@ -493,8 +492,8 @@ export declare const lightTheme: {
493
492
  readonly minWidth: 740;
494
493
  };
495
494
  readonly container: {
495
+ readonly margin: 32;
496
496
  readonly paddingBottom: 32;
497
- readonly paddingHorizontal: 32;
498
497
  readonly paddingTop: 24;
499
498
  readonly width: 744;
500
499
  };
@@ -503,7 +502,6 @@ export declare const lightTheme: {
503
502
  readonly columnWidth: 64;
504
503
  readonly gridSize: 8;
505
504
  readonly gutter: 24;
506
- readonly margin: 32;
507
505
  };
508
506
  readonly spacing: {
509
507
  readonly '2xl': 28;
@@ -522,8 +520,8 @@ export declare const lightTheme: {
522
520
  readonly minWidth: 992;
523
521
  };
524
522
  readonly container: {
523
+ readonly margin: 32;
525
524
  readonly paddingBottom: 48;
526
- readonly paddingHorizontal: 32;
527
525
  readonly paddingTop: 32;
528
526
  readonly width: 1096;
529
527
  };
@@ -532,7 +530,6 @@ export declare const lightTheme: {
532
530
  readonly columnWidth: 64;
533
531
  readonly gridSize: 8;
534
532
  readonly gutter: 24;
535
- readonly margin: 32;
536
533
  };
537
534
  readonly spacing: {
538
535
  readonly '2xl': 40;
@@ -1814,8 +1811,8 @@ export declare const darkTheme: {
1814
1811
  readonly minWidth: 320;
1815
1812
  };
1816
1813
  readonly container: {
1814
+ readonly margin: 16;
1817
1815
  readonly paddingBottom: 32;
1818
- readonly paddingHorizontal: 16;
1819
1816
  readonly paddingTop: 24;
1820
1817
  readonly width: 360;
1821
1818
  };
@@ -1824,7 +1821,6 @@ export declare const darkTheme: {
1824
1821
  readonly columnWidth: 64;
1825
1822
  readonly gridSize: 8;
1826
1823
  readonly gutter: 16;
1827
- readonly margin: 16;
1828
1824
  };
1829
1825
  readonly spacing: {
1830
1826
  readonly '2xl': 28;
@@ -1843,8 +1839,8 @@ export declare const darkTheme: {
1843
1839
  readonly minWidth: 740;
1844
1840
  };
1845
1841
  readonly container: {
1842
+ readonly margin: 32;
1846
1843
  readonly paddingBottom: 32;
1847
- readonly paddingHorizontal: 32;
1848
1844
  readonly paddingTop: 24;
1849
1845
  readonly width: 744;
1850
1846
  };
@@ -1853,7 +1849,6 @@ export declare const darkTheme: {
1853
1849
  readonly columnWidth: 64;
1854
1850
  readonly gridSize: 8;
1855
1851
  readonly gutter: 24;
1856
- readonly margin: 32;
1857
1852
  };
1858
1853
  readonly spacing: {
1859
1854
  readonly '2xl': 28;
@@ -1872,8 +1867,8 @@ export declare const darkTheme: {
1872
1867
  readonly minWidth: 992;
1873
1868
  };
1874
1869
  readonly container: {
1870
+ readonly margin: 32;
1875
1871
  readonly paddingBottom: 48;
1876
- readonly paddingHorizontal: 32;
1877
1872
  readonly paddingTop: 32;
1878
1873
  readonly width: 1096;
1879
1874
  };
@@ -1882,7 +1877,6 @@ export declare const darkTheme: {
1882
1877
  readonly columnWidth: 64;
1883
1878
  readonly gridSize: 8;
1884
1879
  readonly gutter: 24;
1885
- readonly margin: 32;
1886
1880
  };
1887
1881
  readonly spacing: {
1888
1882
  readonly '2xl': 40;
@@ -3176,8 +3170,8 @@ export declare const themes: {
3176
3170
  readonly minWidth: 320;
3177
3171
  };
3178
3172
  readonly container: {
3173
+ readonly margin: 16;
3179
3174
  readonly paddingBottom: 32;
3180
- readonly paddingHorizontal: 16;
3181
3175
  readonly paddingTop: 24;
3182
3176
  readonly width: 360;
3183
3177
  };
@@ -3186,7 +3180,6 @@ export declare const themes: {
3186
3180
  readonly columnWidth: 64;
3187
3181
  readonly gridSize: 8;
3188
3182
  readonly gutter: 16;
3189
- readonly margin: 16;
3190
3183
  };
3191
3184
  readonly spacing: {
3192
3185
  readonly '2xl': 28;
@@ -3205,8 +3198,8 @@ export declare const themes: {
3205
3198
  readonly minWidth: 740;
3206
3199
  };
3207
3200
  readonly container: {
3201
+ readonly margin: 32;
3208
3202
  readonly paddingBottom: 32;
3209
- readonly paddingHorizontal: 32;
3210
3203
  readonly paddingTop: 24;
3211
3204
  readonly width: 744;
3212
3205
  };
@@ -3215,7 +3208,6 @@ export declare const themes: {
3215
3208
  readonly columnWidth: 64;
3216
3209
  readonly gridSize: 8;
3217
3210
  readonly gutter: 24;
3218
- readonly margin: 32;
3219
3211
  };
3220
3212
  readonly spacing: {
3221
3213
  readonly '2xl': 28;
@@ -3234,8 +3226,8 @@ export declare const themes: {
3234
3226
  readonly minWidth: 992;
3235
3227
  };
3236
3228
  readonly container: {
3229
+ readonly margin: 32;
3237
3230
  readonly paddingBottom: 48;
3238
- readonly paddingHorizontal: 32;
3239
3231
  readonly paddingTop: 32;
3240
3232
  readonly width: 1096;
3241
3233
  };
@@ -3244,7 +3236,6 @@ export declare const themes: {
3244
3236
  readonly columnWidth: 64;
3245
3237
  readonly gridSize: 8;
3246
3238
  readonly gutter: 24;
3247
- readonly margin: 32;
3248
3239
  };
3249
3240
  readonly spacing: {
3250
3241
  readonly '2xl': 40;
@@ -4526,8 +4517,8 @@ export declare const themes: {
4526
4517
  readonly minWidth: 320;
4527
4518
  };
4528
4519
  readonly container: {
4520
+ readonly margin: 16;
4529
4521
  readonly paddingBottom: 32;
4530
- readonly paddingHorizontal: 16;
4531
4522
  readonly paddingTop: 24;
4532
4523
  readonly width: 360;
4533
4524
  };
@@ -4536,7 +4527,6 @@ export declare const themes: {
4536
4527
  readonly columnWidth: 64;
4537
4528
  readonly gridSize: 8;
4538
4529
  readonly gutter: 16;
4539
- readonly margin: 16;
4540
4530
  };
4541
4531
  readonly spacing: {
4542
4532
  readonly '2xl': 28;
@@ -4555,8 +4545,8 @@ export declare const themes: {
4555
4545
  readonly minWidth: 740;
4556
4546
  };
4557
4547
  readonly container: {
4548
+ readonly margin: 32;
4558
4549
  readonly paddingBottom: 32;
4559
- readonly paddingHorizontal: 32;
4560
4550
  readonly paddingTop: 24;
4561
4551
  readonly width: 744;
4562
4552
  };
@@ -4565,7 +4555,6 @@ export declare const themes: {
4565
4555
  readonly columnWidth: 64;
4566
4556
  readonly gridSize: 8;
4567
4557
  readonly gutter: 24;
4568
- readonly margin: 32;
4569
4558
  };
4570
4559
  readonly spacing: {
4571
4560
  readonly '2xl': 28;
@@ -4584,8 +4573,8 @@ export declare const themes: {
4584
4573
  readonly minWidth: 992;
4585
4574
  };
4586
4575
  readonly container: {
4576
+ readonly margin: 32;
4587
4577
  readonly paddingBottom: 48;
4588
- readonly paddingHorizontal: 32;
4589
4578
  readonly paddingTop: 32;
4590
4579
  readonly width: 1096;
4591
4580
  };
@@ -4594,7 +4583,6 @@ export declare const themes: {
4594
4583
  readonly columnWidth: 64;
4595
4584
  readonly gridSize: 8;
4596
4585
  readonly gutter: 24;
4597
- readonly margin: 32;
4598
4586
  };
4599
4587
  readonly spacing: {
4600
4588
  readonly '2xl': 40;
@@ -1,6 +1,6 @@
1
1
  import { useMemo } from 'react';
2
- import useTheme from './useTheme';
3
2
  import { propStyleMapping, resolveThemeValue, themeStyleMapping, viewStyleProps } from '../utils';
3
+ import useTheme from './useTheme';
4
4
  /**
5
5
  * Hook to process utility style props and resolve theme values
6
6
  * @param props Component props to process
@@ -9,7 +9,7 @@ declare const _default: {
9
9
  readonly paddingHorizontal: 16;
10
10
  readonly paddingVertical: 12;
11
11
  };
12
- readonly minWidth: 80;
12
+ readonly minWidth: 30;
13
13
  readonly shadowColor: "#101010";
14
14
  readonly sm: {
15
15
  readonly paddingHorizontal: 16;
@@ -9,7 +9,7 @@ export default {
9
9
  paddingHorizontal: 16,
10
10
  paddingVertical: 12,
11
11
  },
12
- minWidth: 80,
12
+ minWidth: 30,
13
13
  shadowColor: '#101010',
14
14
  sm: {
15
15
  paddingHorizontal: 16,
@@ -8,6 +8,7 @@ declare const _default: {
8
8
  readonly borderRadius: 16;
9
9
  readonly content: {
10
10
  readonly gap: 12;
11
+ readonly paddingBottom: 12;
11
12
  };
12
13
  readonly gap: 24;
13
14
  readonly padding: 24;
@@ -8,6 +8,7 @@ export default {
8
8
  borderRadius: 16,
9
9
  content: {
10
10
  gap: 12,
11
+ paddingBottom: 12,
11
12
  },
12
13
  gap: 24,
13
14
  padding: 24,
@@ -2,6 +2,7 @@
2
2
  * Do not edit directly, this file was auto-generated.
3
3
  */
4
4
  declare const _default: {
5
+ readonly colorMode: "dark";
5
6
  readonly mode: "dark";
6
7
  };
7
8
  export default _default;
@@ -2,5 +2,6 @@
2
2
  * Do not edit directly, this file was auto-generated.
3
3
  */
4
4
  export default {
5
+ colorMode: 'dark',
5
6
  mode: 'dark',
6
7
  };
@@ -4,7 +4,10 @@
4
4
  declare const _default: {
5
5
  readonly backgroundColor: "#3f3f3f";
6
6
  readonly borderRadius: 8;
7
- readonly gapHorizontal: 8;
7
+ readonly gapHorizontal: 16;
8
8
  readonly padding: 14;
9
+ readonly stack: {
10
+ readonly gapHorizontal: 8;
11
+ };
9
12
  };
10
13
  export default _default;
@@ -4,6 +4,9 @@
4
4
  export default {
5
5
  backgroundColor: '#3f3f3f',
6
6
  borderRadius: 8,
7
- gapHorizontal: 8,
7
+ gapHorizontal: 16,
8
8
  padding: 14,
9
+ stack: {
10
+ gapHorizontal: 8,
11
+ },
9
12
  };
@@ -9,7 +9,7 @@ declare const _default: {
9
9
  readonly paddingHorizontal: 16;
10
10
  readonly paddingVertical: 12;
11
11
  };
12
- readonly minWidth: 80;
12
+ readonly minWidth: 30;
13
13
  readonly shadowColor: "#101010";
14
14
  readonly sm: {
15
15
  readonly paddingHorizontal: 16;
@@ -9,7 +9,7 @@ export default {
9
9
  paddingHorizontal: 16,
10
10
  paddingVertical: 12,
11
11
  },
12
- minWidth: 80,
12
+ minWidth: 30,
13
13
  shadowColor: '#101010',
14
14
  sm: {
15
15
  paddingHorizontal: 16,
@@ -8,6 +8,7 @@ declare const _default: {
8
8
  readonly borderRadius: 16;
9
9
  readonly content: {
10
10
  readonly gap: 12;
11
+ readonly paddingBottom: 12;
11
12
  };
12
13
  readonly gap: 24;
13
14
  readonly padding: 24;
@@ -8,6 +8,7 @@ export default {
8
8
  borderRadius: 16,
9
9
  content: {
10
10
  gap: 12,
11
+ paddingBottom: 12,
11
12
  },
12
13
  gap: 24,
13
14
  padding: 24,
@@ -2,6 +2,7 @@
2
2
  * Do not edit directly, this file was auto-generated.
3
3
  */
4
4
  declare const _default: {
5
+ readonly colorMode: "light";
5
6
  readonly mode: "light";
6
7
  };
7
8
  export default _default;
@@ -2,5 +2,6 @@
2
2
  * Do not edit directly, this file was auto-generated.
3
3
  */
4
4
  export default {
5
+ colorMode: 'light',
5
6
  mode: 'light',
6
7
  };
@@ -4,7 +4,10 @@
4
4
  declare const _default: {
5
5
  readonly backgroundColor: "#101010";
6
6
  readonly borderRadius: 8;
7
- readonly gapHorizontal: 8;
7
+ readonly gapHorizontal: 16;
8
8
  readonly padding: 14;
9
+ readonly stack: {
10
+ readonly gapHorizontal: 8;
11
+ };
9
12
  };
10
13
  export default _default;
@@ -4,6 +4,9 @@
4
4
  export default {
5
5
  backgroundColor: '#101010',
6
6
  borderRadius: 8,
7
- gapHorizontal: 8,
7
+ gapHorizontal: 16,
8
8
  padding: 14,
9
+ stack: {
10
+ gapHorizontal: 8,
11
+ },
9
12
  };