@utilitywarehouse/hearth-react-native 0.8.2 → 0.9.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 (102) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/.turbo/turbo-lint.log +1 -1
  3. package/CHANGELOG.md +8 -0
  4. package/build/components/Banner/Banner.js +25 -6
  5. package/build/components/Banner/Banner.props.d.ts +2 -2
  6. package/build/components/BottomSheet/BottomSheetHandle.js +8 -0
  7. package/build/components/Menu/Menu.context.d.ts +5 -0
  8. package/build/components/Menu/Menu.context.js +9 -0
  9. package/build/components/Menu/Menu.d.ts +4 -0
  10. package/build/components/Menu/Menu.js +25 -0
  11. package/build/components/Menu/Menu.props.d.ts +21 -0
  12. package/build/components/Menu/Menu.props.js +1 -0
  13. package/build/components/Menu/MenuItem.d.ts +18 -0
  14. package/build/components/Menu/MenuItem.js +115 -0
  15. package/build/components/Menu/MenuItem.props.d.ts +27 -0
  16. package/build/components/Menu/MenuItem.props.js +1 -0
  17. package/build/components/Menu/MenuTrigger.d.ts +9 -0
  18. package/build/components/Menu/MenuTrigger.js +11 -0
  19. package/build/components/Menu/MenuTrigger.props.d.ts +12 -0
  20. package/build/components/Menu/MenuTrigger.props.js +1 -0
  21. package/build/components/Menu/index.d.ts +7 -0
  22. package/build/components/Menu/index.js +4 -0
  23. package/build/components/Modal/Modal.d.ts +1 -1
  24. package/build/components/Modal/Modal.js +32 -30
  25. package/build/components/Modal/Modal.props.d.ts +1 -0
  26. package/build/components/Modal/Modal.web.d.ts +1 -1
  27. package/build/components/Modal/Modal.web.js +25 -25
  28. package/build/components/index.d.ts +1 -0
  29. package/build/components/index.js +1 -0
  30. package/build/tokens/components/dark/index.d.ts +3 -1
  31. package/build/tokens/components/dark/index.js +3 -1
  32. package/build/tokens/components/dark/input.d.ts +3 -0
  33. package/build/tokens/components/dark/input.js +3 -0
  34. package/build/tokens/components/dark/modal.d.ts +7 -4
  35. package/build/tokens/components/dark/modal.js +7 -4
  36. package/build/tokens/components/dark/rating.d.ts +8 -0
  37. package/build/tokens/components/dark/rating.js +7 -0
  38. package/build/tokens/components/dark/table.d.ts +0 -3
  39. package/build/tokens/components/dark/table.js +0 -3
  40. package/build/tokens/components/dark/time-picker.d.ts +29 -0
  41. package/build/tokens/components/dark/time-picker.js +28 -0
  42. package/build/tokens/components/dark/timeline.d.ts +27 -0
  43. package/build/tokens/components/dark/timeline.js +26 -0
  44. package/build/tokens/components/light/index.d.ts +3 -1
  45. package/build/tokens/components/light/index.js +3 -1
  46. package/build/tokens/components/light/input.d.ts +3 -0
  47. package/build/tokens/components/light/input.js +3 -0
  48. package/build/tokens/components/light/modal.d.ts +7 -4
  49. package/build/tokens/components/light/modal.js +7 -4
  50. package/build/tokens/components/light/rating.d.ts +8 -0
  51. package/build/tokens/components/light/rating.js +7 -0
  52. package/build/tokens/components/light/table.d.ts +0 -3
  53. package/build/tokens/components/light/table.js +0 -3
  54. package/build/tokens/components/light/time-picker.d.ts +29 -0
  55. package/build/tokens/components/light/time-picker.js +28 -0
  56. package/build/tokens/components/light/timeline.d.ts +27 -0
  57. package/build/tokens/components/light/timeline.js +26 -0
  58. package/docs/components/AllComponents.web.tsx +33 -0
  59. package/docs/components/BackToTopButton.tsx +1 -1
  60. package/package.json +2 -2
  61. package/src/components/Banner/Banner.docs.mdx +19 -10
  62. package/src/components/Banner/Banner.props.ts +2 -2
  63. package/src/components/Banner/Banner.stories.tsx +1 -4
  64. package/src/components/Banner/Banner.tsx +47 -7
  65. package/src/components/BottomSheet/BottomSheetHandle.tsx +12 -0
  66. package/src/components/DatePickerInput/DatePickerInput.docs.mdx +1 -1
  67. package/src/components/Menu/Menu.context.ts +15 -0
  68. package/src/components/Menu/Menu.docs.mdx +158 -0
  69. package/src/components/Menu/Menu.props.ts +24 -0
  70. package/src/components/Menu/Menu.stories.tsx +292 -0
  71. package/src/components/Menu/Menu.tsx +54 -0
  72. package/src/components/Menu/MenuItem.props.ts +29 -0
  73. package/src/components/Menu/MenuItem.tsx +145 -0
  74. package/src/components/Menu/MenuTrigger.props.ts +14 -0
  75. package/src/components/Menu/MenuTrigger.tsx +20 -0
  76. package/src/components/Menu/index.ts +7 -0
  77. package/src/components/Modal/Modal.docs.mdx +34 -5
  78. package/src/components/Modal/Modal.props.ts +1 -0
  79. package/src/components/Modal/Modal.stories.tsx +46 -0
  80. package/src/components/Modal/Modal.tsx +37 -33
  81. package/src/components/Modal/Modal.web.tsx +27 -27
  82. package/src/components/index.ts +1 -0
  83. package/src/tokens/components/dark/index.ts +3 -1
  84. package/src/tokens/components/dark/input.ts +3 -0
  85. package/src/tokens/components/dark/modal.ts +7 -4
  86. package/src/tokens/components/dark/rating.ts +8 -0
  87. package/src/tokens/components/dark/table.ts +0 -3
  88. package/src/tokens/components/dark/time-picker.ts +29 -0
  89. package/src/tokens/components/dark/timeline.ts +27 -0
  90. package/src/tokens/components/light/index.ts +3 -1
  91. package/src/tokens/components/light/input.ts +3 -0
  92. package/src/tokens/components/light/modal.ts +7 -4
  93. package/src/tokens/components/light/rating.ts +8 -0
  94. package/src/tokens/components/light/table.ts +0 -3
  95. package/src/tokens/components/light/time-picker.ts +29 -0
  96. package/src/tokens/components/light/timeline.ts +27 -0
  97. package/build/tokens/components/dark/dialog.d.ts +0 -25
  98. package/build/tokens/components/dark/dialog.js +0 -24
  99. package/build/tokens/components/light/dialog.d.ts +0 -25
  100. package/build/tokens/components/light/dialog.js +0 -24
  101. package/src/tokens/components/dark/dialog.ts +0 -25
  102. package/src/tokens/components/light/dialog.ts +0 -25
@@ -12,7 +12,7 @@ import { Button } from '../Button';
12
12
  import { Heading } from '../Heading';
13
13
  import { Spinner } from '../Spinner';
14
14
  import { UnstyledIconButton } from '../UnstyledIconButton';
15
- const Modal = ({ ref, children, heading, description, showCloseButton = true, primaryButtonText, secondaryButtonText, onPressPrimaryButton, onPressCloseButton, onPressSecondaryButton, closeOnPrimaryButtonPress = true, closeOnSecondaryButtonPress = true, loading, image, primaryButtonProps, secondaryButtonProps, closeButtonProps, fullscreen = false, ...props }) => {
15
+ const Modal = ({ ref, children, heading, description, showCloseButton = true, primaryButtonText, secondaryButtonText, onPressPrimaryButton, onPressCloseButton, onPressSecondaryButton, closeOnPrimaryButtonPress = true, closeOnSecondaryButtonPress = true, loading, image, primaryButtonProps, secondaryButtonProps, closeButtonProps, inNavModal = false, ...props }) => {
16
16
  const bottomSheetModalRef = useRef(null);
17
17
  const viewRef = useRef(null);
18
18
  const scrollViewRef = useRef(null);
@@ -20,7 +20,7 @@ const Modal = ({ ref, children, heading, description, showCloseButton = true, pr
20
20
  const backgroundOpacity = useSharedValue(0);
21
21
  const pretendContentTranslateY = useSharedValue(20);
22
22
  const triggerCloseAnimation = useCallback(() => {
23
- if (Platform.OS === 'android' && fullscreen) {
23
+ if (Platform.OS === 'android' && inNavModal) {
24
24
  pretendContentTranslateY.value = withTiming(20, {
25
25
  duration: 50,
26
26
  easing: Easing.in(Easing.quad),
@@ -30,14 +30,14 @@ const Modal = ({ ref, children, heading, description, showCloseButton = true, pr
30
30
  easing: Easing.in(Easing.quad),
31
31
  });
32
32
  }
33
- }, [Platform.OS, fullscreen, pretendContentTranslateY, backgroundOpacity]);
33
+ }, [Platform.OS, inNavModal, pretendContentTranslateY, backgroundOpacity]);
34
34
  useImperativeHandle(ref, () => ({
35
35
  ...bottomSheetModalRef.current,
36
36
  triggerCloseAnimation,
37
37
  }));
38
- // Trigger animations on render for fullscreen Android modal
38
+ // Trigger animations on render for inNavModal Android modal
39
39
  useEffect(() => {
40
- if (Platform.OS === 'android' && fullscreen) {
40
+ if (Platform.OS === 'android' && inNavModal) {
41
41
  backgroundOpacity.value = withDelay(300, withTiming(1, {
42
42
  duration: 200,
43
43
  easing: Easing.out(Easing.quad),
@@ -47,11 +47,11 @@ const Modal = ({ ref, children, heading, description, showCloseButton = true, pr
47
47
  easing: Easing.out(Easing.quad),
48
48
  }));
49
49
  }
50
- }, [fullscreen, backgroundOpacity, pretendContentTranslateY]);
50
+ }, [inNavModal, backgroundOpacity, pretendContentTranslateY]);
51
51
  const animatedBackgroundStyle = useAnimatedStyle(() => ({
52
52
  backgroundColor: hexWithOpacity(theme.components.overlay.backgroundColor, backgroundOpacity.value * (theme.components.overlay.opacity / 100)),
53
53
  }));
54
- const animatedFullscreenStyle = useAnimatedStyle(() => ({
54
+ const animatedInNavModalStyle = useAnimatedStyle(() => ({
55
55
  backgroundColor: hexWithOpacity(theme.components.overlay.backgroundColor, backgroundOpacity.value * (theme.components.overlay.opacity / 100)),
56
56
  }));
57
57
  const animatedPretendContentStyle = useAnimatedStyle(() => ({
@@ -98,20 +98,20 @@ const Modal = ({ ref, children, heading, description, showCloseButton = true, pr
98
98
  }
99
99
  };
100
100
  const content = (_jsx(_Fragment, { children: loading ? (_jsxs(View, { style: styles.loadingContainer, accessible: Platform.OS === 'android' ? true : undefined, accessibilityLabel: Platform.OS === 'android' ? 'Loading' : undefined, screenReaderFocusable: true, ref: viewRef, children: [_jsx(Spinner, { size: "lg" }), _jsx(Heading, { size: "lg", textAlign: "center", children: "Loading..." })] })) : (_jsxs(View, { style: styles.container, accessible: Platform.OS === 'android' ? true : undefined, accessibilityLabel: Platform.OS === 'android' ? 'Modal content' : undefined, screenReaderFocusable: true, ref: viewRef, children: [_jsxs(View, { style: styles.header, children: [_jsxs(View, { style: styles.headerTextContent, children: [heading && !image ? (_jsx(Heading, { size: "lg", accessible: true, children: heading })) : null, description && !image ? _jsx(BodyText, { accessible: true, children: description }) : null] }), showCloseButton ? (_jsx(UnstyledIconButton, { icon: CloseMediumIcon, onPress: handleCloseButtonPress, accessibilityLabel: "Close modal", ...closeButtonProps })) : null] }), image ? (_jsxs(View, { style: styles.imageContainer, children: [_jsx(Image, { style: styles.image, ...image }), _jsxs(View, { style: styles.textContent, children: [heading ? (_jsx(Heading, { size: "lg", textAlign: "center", accessible: true, children: heading })) : null, description ? (_jsx(BodyText, { textAlign: "center", accessible: true, children: description })) : null] })] })) : null, children, _jsxs(View, { style: styles.footer, children: [onPressPrimaryButton && primaryButtonText ? (_jsx(Button, { onPress: handlePrimaryButtonPress, text: primaryButtonText, ...primaryButtonProps, variant: primaryButtonProps?.variant ?? 'solid', colorScheme: primaryButtonProps?.colorScheme ?? 'highlight' })) : null, onPressSecondaryButton && secondaryButtonText ? (_jsx(Button, { onPress: handleSecondaryButtonPress, text: secondaryButtonText, ...secondaryButtonProps, variant: secondaryButtonProps?.variant ?? 'outline', colorScheme: secondaryButtonProps?.colorScheme ?? 'functional' })) : null] })] })) }));
101
- return fullscreen ? (_jsxs(View, { style: { flex: 1, backgroundColor: theme.color.background.primary }, children: [Platform.OS === 'android' ? (_jsx(Animated.View, { style: [styles.androidContainer, animatedBackgroundStyle], children: _jsx(Animated.View, { style: [styles.pretendContent, animatedPretendContentStyle] }) })) : null, _jsx(Animated.View, { style: [styles.fullscreenContainer, Platform.OS === 'android' && animatedFullscreenStyle], children: _jsx(View, { style: styles.fullscreenContent, children: content }) })] })) : (_jsx(BottomSheetModal, { ref: bottomSheetModalRef, enableDynamicSizing: true, snapPoints: image ? ['90%'] : props.snapPoints, showHandle: typeof loading !== 'undefined' && loading ? false : props.showHandle, accessible: false, ...props, onChange: handleChange, children: _jsx(BottomSheetScrollView, { contentContainerStyle: styles.container, ref: scrollViewRef, children: content }) }));
101
+ return inNavModal ? (_jsxs(View, { style: { flex: 1, backgroundColor: theme.color.background.primary }, children: [Platform.OS === 'android' ? (_jsx(Animated.View, { style: [styles.androidContainer, animatedBackgroundStyle], children: _jsx(Animated.View, { style: [styles.pretendContent, animatedPretendContentStyle] }) })) : null, _jsx(Animated.View, { style: [styles.inNavModalContainer, Platform.OS === 'android' && animatedInNavModalStyle], children: _jsx(View, { style: styles.inNavModalContent, children: content }) })] })) : (_jsx(BottomSheetModal, { ref: bottomSheetModalRef, enableDynamicSizing: true, snapPoints: image ? ['90%'] : props.snapPoints, showHandle: typeof loading !== 'undefined' && loading ? false : props.showHandle, accessible: false, ...props, onChange: handleChange, children: _jsx(BottomSheetScrollView, { contentContainerStyle: styles.container, ref: scrollViewRef, children: content }) }));
102
102
  };
103
103
  const styles = StyleSheet.create((theme, rt) => ({
104
104
  container: {
105
105
  flex: 1,
106
- gap: theme.components.dialog.gap,
106
+ gap: theme.components.modal.gap,
107
107
  },
108
108
  header: {
109
109
  flexDirection: 'row',
110
- gap: theme.components.dialog.gap,
110
+ gap: theme.components.modal.gap,
111
111
  },
112
112
  headerTextContent: {
113
113
  flex: 1,
114
- gap: theme.components.dialog.content.gap,
114
+ gap: theme.components.modal.content.gap,
115
115
  },
116
116
  image: {
117
117
  width: 260,
@@ -123,40 +123,40 @@ const styles = StyleSheet.create((theme, rt) => ({
123
123
  flex: 1,
124
124
  },
125
125
  textContent: {
126
- gap: theme.components.dialog.content.gap,
126
+ gap: theme.components.modal.content.gap,
127
127
  },
128
128
  loadingContainer: {
129
129
  flex: 1,
130
130
  alignItems: 'center',
131
131
  justifyContent: 'center',
132
132
  minHeight: 140,
133
- gap: theme.components.dialog.content.gap,
133
+ gap: theme.components.modal.content.gap,
134
134
  },
135
135
  footer: {
136
- gap: theme.components.dialog.action.gap,
136
+ gap: theme.components.modal.action.gap,
137
137
  },
138
- fullscreenContainer: {
138
+ inNavModalContainer: {
139
139
  flex: 1,
140
140
  ...(Platform.OS === 'ios' ? { backgroundColor: theme.components.overlay.backgroundColor } : {}),
141
141
  },
142
- fullscreenContent: {
142
+ inNavModalContent: {
143
143
  flex: 1,
144
- borderTopLeftRadius: theme.components.dialog.borderRadius,
145
- borderTopRightRadius: theme.components.dialog.borderRadius,
144
+ borderTopLeftRadius: theme.components.modal.borderRadius,
145
+ borderTopRightRadius: theme.components.modal.borderRadius,
146
146
  backgroundColor: theme.color.surface.neutral.strong,
147
- gap: theme.components.dialog.gap,
148
- padding: theme.components.dialog.padding,
149
- paddingBottom: theme.components.dialog.padding + rt.insets.bottom,
147
+ gap: theme.components.modal.gap,
148
+ padding: theme.components.modal.padding,
149
+ paddingBottom: theme.components.modal.padding + rt.insets.bottom,
150
150
  },
151
151
  androidContainer: {
152
152
  height: rt.insets.top + 18,
153
- paddingLeft: theme.components.dialog.padding,
154
- paddingRight: theme.components.dialog.padding,
153
+ paddingLeft: theme.components.modal.padding,
154
+ paddingRight: theme.components.modal.padding,
155
155
  justifyContent: 'flex-end',
156
156
  },
157
157
  pretendContent: {
158
- borderTopLeftRadius: theme.components.dialog.borderRadius,
159
- borderTopRightRadius: theme.components.dialog.borderRadius,
158
+ borderTopLeftRadius: theme.components.modal.borderRadius,
159
+ borderTopRightRadius: theme.components.modal.borderRadius,
160
160
  height: 12,
161
161
  backgroundColor: theme.components.parts.modalStack.backgroundColorCardTop,
162
162
  },
@@ -35,6 +35,7 @@ export * from './Input';
35
35
  export * from './Label';
36
36
  export * from './Link';
37
37
  export * from './List';
38
+ export * from './Menu';
38
39
  export * from './Modal';
39
40
  export * from './ProgressStepper';
40
41
  export * from './Radio';
@@ -36,6 +36,7 @@ export * from './Input';
36
36
  export * from './Label';
37
37
  export * from './Link';
38
38
  export * from './List';
39
+ export * from './Menu';
39
40
  export * from './Modal';
40
41
  export * from './ProgressStepper';
41
42
  export * from './Radio';
@@ -17,7 +17,6 @@ export { default as carouselControl } from './carousel-control';
17
17
  export { default as checkbox } from './checkbox';
18
18
  export { default as datePicker } from './date-picker';
19
19
  export { default as descriptionList } from './description-list';
20
- export { default as dialog } from './dialog';
21
20
  export { default as divider } from './divider';
22
21
  export { default as drawer } from './drawer';
23
22
  export { default as expandableCard } from './expandable-card';
@@ -40,6 +39,7 @@ export { default as pill } from './pill';
40
39
  export { default as progressBar } from './progress-bar';
41
40
  export { default as progressStepper } from './progress-stepper';
42
41
  export { default as radio } from './radio';
42
+ export { default as rating } from './rating';
43
43
  export { default as sectionHeader } from './section-header';
44
44
  export { default as segmentedControl } from './segmented-control';
45
45
  export { default as select } from './select';
@@ -48,6 +48,8 @@ export { default as spinner } from './spinner';
48
48
  export { default as switch } from './switch';
49
49
  export { default as table } from './table';
50
50
  export { default as tabs } from './tabs';
51
+ export { default as timePicker } from './time-picker';
52
+ export { default as timeline } from './timeline';
51
53
  export { default as toast } from './toast';
52
54
  export { default as toggleButton } from './toggle-button';
53
55
  export { default as tooltip } from './tooltip';
@@ -17,7 +17,6 @@ export { default as carouselControl } from './carousel-control';
17
17
  export { default as checkbox } from './checkbox';
18
18
  export { default as datePicker } from './date-picker';
19
19
  export { default as descriptionList } from './description-list';
20
- export { default as dialog } from './dialog';
21
20
  export { default as divider } from './divider';
22
21
  export { default as drawer } from './drawer';
23
22
  export { default as expandableCard } from './expandable-card';
@@ -40,6 +39,7 @@ export { default as pill } from './pill';
40
39
  export { default as progressBar } from './progress-bar';
41
40
  export { default as progressStepper } from './progress-stepper';
42
41
  export { default as radio } from './radio';
42
+ export { default as rating } from './rating';
43
43
  export { default as sectionHeader } from './section-header';
44
44
  export { default as segmentedControl } from './segmented-control';
45
45
  export { default as select } from './select';
@@ -48,6 +48,8 @@ export { default as spinner } from './spinner';
48
48
  export { default as switch } from './switch';
49
49
  export { default as table } from './table';
50
50
  export { default as tabs } from './tabs';
51
+ export { default as timePicker } from './time-picker';
52
+ export { default as timeline } from './timeline';
51
53
  export { default as toast } from './toast';
52
54
  export { default as toggleButton } from './toggle-button';
53
55
  export { default as tooltip } from './tooltip';
@@ -21,6 +21,9 @@ declare const _default: {
21
21
  readonly minWidth: 152;
22
22
  readonly paddingHorizontal: 16;
23
23
  readonly paddingVertical: 12;
24
+ readonly stepper: {
25
+ readonly gap: 4;
26
+ };
24
27
  readonly textArea: {
25
28
  readonly height: 96;
26
29
  };
@@ -21,6 +21,9 @@ export default {
21
21
  minWidth: 152,
22
22
  paddingHorizontal: 16,
23
23
  paddingVertical: 12,
24
+ stepper: {
25
+ gap: 4,
26
+ },
24
27
  textArea: {
25
28
  height: 96,
26
29
  },
@@ -10,17 +10,20 @@ declare const _default: {
10
10
  readonly gap: 12;
11
11
  };
12
12
  readonly gap: 24;
13
- readonly padding: 48;
13
+ readonly heading: {
14
+ readonly gap: 24;
15
+ };
16
+ readonly illustration: {
17
+ readonly padding: 48;
18
+ };
19
+ readonly padding: 24;
14
20
  readonly mobile: {
15
- readonly padding: 16;
16
21
  readonly width: 360;
17
22
  };
18
23
  readonly tablet: {
19
- readonly padding: 48;
20
24
  readonly width: 504;
21
25
  };
22
26
  readonly desktop: {
23
- readonly padding: 48;
24
27
  readonly width: 680;
25
28
  };
26
29
  };
@@ -10,17 +10,20 @@ export default {
10
10
  gap: 12,
11
11
  },
12
12
  gap: 24,
13
- padding: 48,
13
+ heading: {
14
+ gap: 24,
15
+ },
16
+ illustration: {
17
+ padding: 48,
18
+ },
19
+ padding: 24,
14
20
  mobile: {
15
- padding: 16,
16
21
  width: 360,
17
22
  },
18
23
  tablet: {
19
- padding: 48,
20
24
  width: 504,
21
25
  },
22
26
  desktop: {
23
- padding: 48,
24
27
  width: 680,
25
28
  },
26
29
  };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+ declare const _default: {
5
+ readonly borderWidth: 2;
6
+ readonly gap: 4;
7
+ };
8
+ export default _default;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+ export default {
5
+ borderWidth: 2,
6
+ gap: 4,
7
+ };
@@ -13,9 +13,6 @@ declare const _default: {
13
13
  readonly headerCell: {
14
14
  readonly borderWidth: 2;
15
15
  readonly gap: 8;
16
- readonly neutral: {
17
- readonly backgroundColor: "#30302c";
18
- };
19
16
  readonly paddingHorizontal: 12;
20
17
  readonly paddingVertical: 16;
21
18
  };
@@ -13,9 +13,6 @@ export default {
13
13
  headerCell: {
14
14
  borderWidth: 2,
15
15
  gap: 8,
16
- neutral: {
17
- backgroundColor: '#30302c',
18
- },
19
16
  paddingHorizontal: 12,
20
17
  paddingVertical: 16,
21
18
  },
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+ declare const _default: {
5
+ readonly gap: 6;
6
+ readonly gapContainer: 4;
7
+ readonly minWidth: 288;
8
+ readonly paddingHorizontal: 16;
9
+ readonly paddingVertical: 12;
10
+ readonly time: {
11
+ readonly columnGap: 4;
12
+ readonly content: {
13
+ readonly gap: 8;
14
+ readonly item: {
15
+ readonly gap: 2;
16
+ };
17
+ };
18
+ readonly footer: {
19
+ readonly gap: 8;
20
+ };
21
+ readonly gap: 16;
22
+ readonly item: {
23
+ readonly height: 40;
24
+ readonly width: 64;
25
+ };
26
+ readonly rowGap: 2;
27
+ };
28
+ };
29
+ export default _default;
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+ export default {
5
+ gap: 6,
6
+ gapContainer: 4,
7
+ minWidth: 288,
8
+ paddingHorizontal: 16,
9
+ paddingVertical: 12,
10
+ time: {
11
+ columnGap: 4,
12
+ content: {
13
+ gap: 8,
14
+ item: {
15
+ gap: 2,
16
+ },
17
+ },
18
+ footer: {
19
+ gap: 8,
20
+ },
21
+ gap: 16,
22
+ item: {
23
+ height: 40,
24
+ width: 64,
25
+ },
26
+ rowGap: 2,
27
+ },
28
+ };
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+ declare const _default: {
5
+ readonly bar: {
6
+ readonly width: 2;
7
+ };
8
+ readonly content: {
9
+ readonly gap: 8;
10
+ readonly paddingBottom: 24;
11
+ readonly paddingTop: 2;
12
+ };
13
+ readonly gap: 12;
14
+ readonly progress: {
15
+ readonly circle: {
16
+ readonly height: 24;
17
+ readonly width: 24;
18
+ };
19
+ };
20
+ readonly static: {
21
+ readonly circle: {
22
+ readonly height: 12;
23
+ readonly width: 12;
24
+ };
25
+ };
26
+ };
27
+ export default _default;
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+ export default {
5
+ bar: {
6
+ width: 2,
7
+ },
8
+ content: {
9
+ gap: 8,
10
+ paddingBottom: 24,
11
+ paddingTop: 2,
12
+ },
13
+ gap: 12,
14
+ progress: {
15
+ circle: {
16
+ height: 24,
17
+ width: 24,
18
+ },
19
+ },
20
+ static: {
21
+ circle: {
22
+ height: 12,
23
+ width: 12,
24
+ },
25
+ },
26
+ };
@@ -17,7 +17,6 @@ export { default as carouselControl } from './carousel-control';
17
17
  export { default as checkbox } from './checkbox';
18
18
  export { default as datePicker } from './date-picker';
19
19
  export { default as descriptionList } from './description-list';
20
- export { default as dialog } from './dialog';
21
20
  export { default as divider } from './divider';
22
21
  export { default as drawer } from './drawer';
23
22
  export { default as expandableCard } from './expandable-card';
@@ -40,6 +39,7 @@ export { default as pill } from './pill';
40
39
  export { default as progressBar } from './progress-bar';
41
40
  export { default as progressStepper } from './progress-stepper';
42
41
  export { default as radio } from './radio';
42
+ export { default as rating } from './rating';
43
43
  export { default as sectionHeader } from './section-header';
44
44
  export { default as segmentedControl } from './segmented-control';
45
45
  export { default as select } from './select';
@@ -48,6 +48,8 @@ export { default as spinner } from './spinner';
48
48
  export { default as switch } from './switch';
49
49
  export { default as table } from './table';
50
50
  export { default as tabs } from './tabs';
51
+ export { default as timePicker } from './time-picker';
52
+ export { default as timeline } from './timeline';
51
53
  export { default as toast } from './toast';
52
54
  export { default as toggleButton } from './toggle-button';
53
55
  export { default as tooltip } from './tooltip';
@@ -17,7 +17,6 @@ export { default as carouselControl } from './carousel-control';
17
17
  export { default as checkbox } from './checkbox';
18
18
  export { default as datePicker } from './date-picker';
19
19
  export { default as descriptionList } from './description-list';
20
- export { default as dialog } from './dialog';
21
20
  export { default as divider } from './divider';
22
21
  export { default as drawer } from './drawer';
23
22
  export { default as expandableCard } from './expandable-card';
@@ -40,6 +39,7 @@ export { default as pill } from './pill';
40
39
  export { default as progressBar } from './progress-bar';
41
40
  export { default as progressStepper } from './progress-stepper';
42
41
  export { default as radio } from './radio';
42
+ export { default as rating } from './rating';
43
43
  export { default as sectionHeader } from './section-header';
44
44
  export { default as segmentedControl } from './segmented-control';
45
45
  export { default as select } from './select';
@@ -48,6 +48,8 @@ export { default as spinner } from './spinner';
48
48
  export { default as switch } from './switch';
49
49
  export { default as table } from './table';
50
50
  export { default as tabs } from './tabs';
51
+ export { default as timePicker } from './time-picker';
52
+ export { default as timeline } from './timeline';
51
53
  export { default as toast } from './toast';
52
54
  export { default as toggleButton } from './toggle-button';
53
55
  export { default as tooltip } from './tooltip';
@@ -21,6 +21,9 @@ declare const _default: {
21
21
  readonly minWidth: 120;
22
22
  readonly paddingHorizontal: 16;
23
23
  readonly paddingVertical: 12;
24
+ readonly stepper: {
25
+ readonly gap: 4;
26
+ };
24
27
  readonly textArea: {
25
28
  readonly height: 96;
26
29
  };
@@ -21,6 +21,9 @@ export default {
21
21
  minWidth: 120,
22
22
  paddingHorizontal: 16,
23
23
  paddingVertical: 12,
24
+ stepper: {
25
+ gap: 4,
26
+ },
24
27
  textArea: {
25
28
  height: 96,
26
29
  },
@@ -10,17 +10,20 @@ declare const _default: {
10
10
  readonly gap: 12;
11
11
  };
12
12
  readonly gap: 24;
13
- readonly padding: 16;
13
+ readonly heading: {
14
+ readonly gap: 24;
15
+ };
16
+ readonly illustration: {
17
+ readonly padding: 48;
18
+ };
19
+ readonly padding: 24;
14
20
  readonly mobile: {
15
- readonly padding: 16;
16
21
  readonly width: 360;
17
22
  };
18
23
  readonly tablet: {
19
- readonly padding: 48;
20
24
  readonly width: 504;
21
25
  };
22
26
  readonly desktop: {
23
- readonly padding: 48;
24
27
  readonly width: 680;
25
28
  };
26
29
  };
@@ -10,17 +10,20 @@ export default {
10
10
  gap: 12,
11
11
  },
12
12
  gap: 24,
13
- padding: 16,
13
+ heading: {
14
+ gap: 24,
15
+ },
16
+ illustration: {
17
+ padding: 48,
18
+ },
19
+ padding: 24,
14
20
  mobile: {
15
- padding: 16,
16
21
  width: 360,
17
22
  },
18
23
  tablet: {
19
- padding: 48,
20
24
  width: 504,
21
25
  },
22
26
  desktop: {
23
- padding: 48,
24
27
  width: 680,
25
28
  },
26
29
  };
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+ declare const _default: {
5
+ readonly borderWidth: 2;
6
+ readonly gap: 4;
7
+ };
8
+ export default _default;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+ export default {
5
+ borderWidth: 2,
6
+ gap: 4,
7
+ };
@@ -13,9 +13,6 @@ declare const _default: {
13
13
  readonly headerCell: {
14
14
  readonly borderWidth: 2;
15
15
  readonly gap: 8;
16
- readonly neutral: {
17
- readonly backgroundColor: "#f1efe4";
18
- };
19
16
  readonly paddingHorizontal: 12;
20
17
  readonly paddingVertical: 16;
21
18
  };
@@ -13,9 +13,6 @@ export default {
13
13
  headerCell: {
14
14
  borderWidth: 2,
15
15
  gap: 8,
16
- neutral: {
17
- backgroundColor: '#f1efe4',
18
- },
19
16
  paddingHorizontal: 12,
20
17
  paddingVertical: 16,
21
18
  },
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+ declare const _default: {
5
+ readonly gap: 6;
6
+ readonly gapContainer: 4;
7
+ readonly minWidth: 288;
8
+ readonly paddingHorizontal: 16;
9
+ readonly paddingVertical: 12;
10
+ readonly time: {
11
+ readonly columnGap: 4;
12
+ readonly content: {
13
+ readonly gap: 8;
14
+ readonly item: {
15
+ readonly gap: 2;
16
+ };
17
+ };
18
+ readonly footer: {
19
+ readonly gap: 8;
20
+ };
21
+ readonly gap: 16;
22
+ readonly item: {
23
+ readonly height: 40;
24
+ readonly width: 64;
25
+ };
26
+ readonly rowGap: 2;
27
+ };
28
+ };
29
+ export default _default;
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Do not edit directly, this file was auto-generated.
3
+ */
4
+ export default {
5
+ gap: 6,
6
+ gapContainer: 4,
7
+ minWidth: 288,
8
+ paddingHorizontal: 16,
9
+ paddingVertical: 12,
10
+ time: {
11
+ columnGap: 4,
12
+ content: {
13
+ gap: 8,
14
+ item: {
15
+ gap: 2,
16
+ },
17
+ },
18
+ footer: {
19
+ gap: 8,
20
+ },
21
+ gap: 16,
22
+ item: {
23
+ height: 40,
24
+ width: 64,
25
+ },
26
+ rowGap: 2,
27
+ },
28
+ };