@tactics/toddle-styleguide 1.2.1 → 1.2.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 (236) hide show
  1. package/App.d.ts +0 -1
  2. package/App.tsx +15 -7
  3. package/index.d.ts +3 -2
  4. package/index.tsx +4 -2
  5. package/package.json +30 -26
  6. package/src/components/atoms/animated-wave/animated-wave.component.d.ts +0 -1
  7. package/src/components/atoms/backdrop/backdrop.component.d.ts +0 -1
  8. package/src/components/atoms/background-gradient/background-gradient.component.d.ts +0 -1
  9. package/src/components/atoms/background-gradient/background-gradient.preview.d.ts +0 -1
  10. package/src/components/atoms/calendar/__snapshots__/calendar.test.js.snap +234 -234
  11. package/src/components/atoms/calendar/calendar.component.d.ts +0 -1
  12. package/src/components/atoms/calendar/calendar.component.tsx +8 -6
  13. package/src/components/atoms/calendar/calendar.preview.d.ts +0 -1
  14. package/src/components/atoms/check-switch/check-switch.component.d.ts +0 -1
  15. package/src/components/atoms/check-switch/check-switch.preview.d.ts +0 -1
  16. package/src/components/atoms/footer/footer.preview.d.ts +0 -1
  17. package/src/components/atoms/footer/footer.preview.tsx +0 -3
  18. package/src/components/atoms/heading-components/all-caps-heading/all-caps-heading.component.d.ts +0 -1
  19. package/src/components/atoms/heading-components/heading1/heading1.component.d.ts +0 -1
  20. package/src/components/atoms/heading-components/heading2/heading2.component.d.ts +0 -1
  21. package/src/components/atoms/heading-components/heading3/heading3.component.d.ts +0 -1
  22. package/src/components/atoms/heading-components/heading4/heading4.component.d.ts +0 -1
  23. package/src/components/atoms/heading-components/headings.preview.d.ts +0 -1
  24. package/src/components/atoms/image-bubble/image-bubble.component.d.ts +0 -1
  25. package/src/components/atoms/image-bubble/image-bubble.preview.d.ts +0 -1
  26. package/src/components/atoms/increment-input/increment-input.component.d.ts +0 -1
  27. package/src/components/atoms/increment-input/increment-input.preview.d.ts +0 -1
  28. package/src/components/atoms/logo/logo.component.d.ts +0 -1
  29. package/src/components/atoms/logo/logo.preview.d.ts +0 -1
  30. package/src/components/atoms/paragraph-components/paragraph/paragraph.component.d.ts +0 -1
  31. package/src/components/atoms/paragraph-components/paragraph-components.preview.d.ts +0 -1
  32. package/src/components/atoms/paragraph-components/small-text/small-text.component.d.ts +0 -1
  33. package/src/components/atoms/paragraph-components/tiny-text/tiny-text.component.d.ts +0 -1
  34. package/src/components/atoms/split-container/split-container.preview.d.ts +0 -1
  35. package/src/components/atoms/static-wave/static-wave.component.d.ts +0 -1
  36. package/src/components/atoms/text-input/text-input.component.d.ts +0 -1
  37. package/src/components/atoms/text-input/text-input.preview.d.ts +0 -1
  38. package/src/components/molecules/avatar/avatar.component.d.ts +0 -1
  39. package/src/components/molecules/avatar/avatar.preview.d.ts +0 -1
  40. package/src/components/molecules/blocked-message/blocked-message.component.d.ts +0 -1
  41. package/src/components/molecules/blocked-message/blocked-message.preview.d.ts +0 -1
  42. package/src/components/molecules/button/button.component.d.ts +0 -1
  43. package/src/components/molecules/button/button.preview.d.ts +0 -1
  44. package/src/components/molecules/calendar-select/calendar-select.component.d.ts +2 -3
  45. package/src/components/molecules/calendar-select/calendar-select.component.tsx +4 -14
  46. package/src/components/molecules/calendar-select/calendar-select.preview.d.ts +0 -1
  47. package/src/components/molecules/calendar-select/calendar-select.preview.tsx +9 -22
  48. package/src/components/molecules/cancel-link/cancel-link.component.d.ts +0 -1
  49. package/src/components/molecules/cancel-link/cancel-link.preview.d.ts +0 -1
  50. package/src/components/molecules/checkbox/checkbox.component.d.ts +0 -1
  51. package/src/components/molecules/checkbox/checkbox.preview.d.ts +0 -1
  52. package/src/components/molecules/contact-role/contact-role.component.d.ts +0 -1
  53. package/src/components/molecules/contact-role/contact-role.preview.d.ts +0 -1
  54. package/src/components/molecules/date-input/date-input.component.d.ts +0 -1
  55. package/src/components/molecules/date-input/date-input.preview.d.ts +0 -1
  56. package/src/components/molecules/day/day.component.d.ts +0 -1
  57. package/src/components/molecules/default-select/default-select.component.d.ts +0 -1
  58. package/src/components/molecules/default-select/default-select.preview.d.ts +0 -1
  59. package/src/components/molecules/department_logo/department-logo.component.d.ts +0 -1
  60. package/src/components/molecules/department_logo/department-logo.preview.d.ts +0 -1
  61. package/src/components/molecules/failed-to-send/failed-bubble.component.d.ts +0 -1
  62. package/src/components/molecules/filter-range/filter-range.component.d.ts +0 -1
  63. package/src/components/molecules/filter-range/filter-range.preview.d.ts +0 -1
  64. package/src/components/molecules/filter-tab/filter-tab.component.d.ts +0 -1
  65. package/src/components/molecules/filter-tab/filter-tab.preview.d.ts +0 -1
  66. package/src/components/molecules/info/info.component.d.ts +0 -1
  67. package/src/components/molecules/info/info.preview.d.ts +0 -1
  68. package/src/components/molecules/language-button/language-button.component.d.ts +0 -1
  69. package/src/components/molecules/language-button/language-button.preview.d.ts +0 -1
  70. package/src/components/molecules/message-input/message-input.component.d.ts +0 -1
  71. package/src/components/molecules/message-input/message-input.preview.d.ts +0 -1
  72. package/src/components/molecules/more-info-button/more-info-button.component.d.ts +0 -1
  73. package/src/components/molecules/more-info-button/more-info-button.preview.d.ts +0 -1
  74. package/src/components/molecules/password-input/password-input.component.d.ts +0 -1
  75. package/src/components/molecules/password-input/password-input.preview.d.ts +0 -1
  76. package/src/components/molecules/pill/pill.component.d.ts +0 -1
  77. package/src/components/molecules/pill/pill.preview.d.ts +0 -1
  78. package/src/components/molecules/pressable-icon/pressable-icon.preview.d.ts +0 -1
  79. package/src/components/molecules/quick-filter/quick-filter.component.d.ts +0 -1
  80. package/src/components/molecules/quick-filter/quick-filter.preview.d.ts +0 -1
  81. package/src/components/molecules/search-input/search.component.d.ts +0 -1
  82. package/src/components/molecules/search-input/search.preview.d.ts +0 -1
  83. package/src/components/molecules/select-link/select-link.component.d.ts +0 -1
  84. package/src/components/molecules/select-link/select-link.preview.d.ts +0 -1
  85. package/src/components/molecules/select-list-item/select-list-item-preview.d.ts +0 -1
  86. package/src/components/molecules/select-picker/select-picker.component.d.ts +0 -1
  87. package/src/components/molecules/select-picker/select-picker.preview.d.ts +0 -1
  88. package/src/components/molecules/send-bubble/send-text-bubble.component.d.ts +0 -1
  89. package/src/components/molecules/snackbar/snackbar.component.d.ts +0 -1
  90. package/src/components/molecules/snackbar/snackbar.preview.d.ts +0 -1
  91. package/src/components/molecules/swipe/swipe.preview.d.ts +0 -1
  92. package/src/components/molecules/tag/tag.component.d.ts +0 -1
  93. package/src/components/molecules/tag/tag.preview.d.ts +0 -1
  94. package/src/components/molecules/time-picker/__snapshots__/time-picker.test.js.snap +2149 -0
  95. package/src/components/molecules/time-picker/time-picker.component.d.ts +8 -0
  96. package/src/components/molecules/time-picker/time-picker.component.tsx +65 -0
  97. package/src/components/molecules/time-picker/time-picker.preview.d.ts +1 -0
  98. package/src/components/molecules/time-picker/time-picker.preview.tsx +109 -0
  99. package/src/components/molecules/time-picker/time-picker.styles.d.ts +15 -0
  100. package/src/components/molecules/time-picker/time-picker.styles.js +19 -0
  101. package/src/components/molecules/time-picker/time-picker.test.js +18 -0
  102. package/src/components/molecules/time-tracker/time-tracker.component.d.ts +0 -1
  103. package/src/components/molecules/time-tracker/time-tracker.preview.d.ts +0 -1
  104. package/src/components/molecules/time-tracker/time-tracker.test.js +0 -1
  105. package/src/components/molecules/timeline/__snapshots__/timeline.test.js.snap +47 -39
  106. package/src/components/molecules/timeline/timeline.component.d.ts +2 -3
  107. package/src/components/molecules/timeline/timeline.component.tsx +27 -120
  108. package/src/components/molecules/timeline/timeline.preview.d.ts +0 -1
  109. package/src/components/molecules/timeline/timeline.preview.tsx +9 -20
  110. package/src/components/molecules/timeline/timeline.styles.d.ts +58 -40
  111. package/src/components/molecules/timeline/timeline.styles.js +24 -17
  112. package/src/components/molecules/timeline/timeline.test.js +3 -3
  113. package/src/components/molecules/timestamp/timestamp.component.d.ts +0 -1
  114. package/src/components/molecules/wave-background/wave.component.d.ts +0 -1
  115. package/src/components/molecules/wave-background/wave.preview.d.ts +0 -1
  116. package/src/components/molecules/wide-button/wide-button.component.d.ts +0 -1
  117. package/src/components/molecules/wide-button/wide-button.preview.d.ts +0 -1
  118. package/src/components/organisms/child-list-item/child-list-item.preview.d.ts +0 -1
  119. package/src/components/organisms/contact-item/contact-item.component.d.ts +0 -1
  120. package/src/components/organisms/contact-item/contact-item.preview.d.ts +0 -1
  121. package/src/components/organisms/day-select/day-select.component.d.ts +0 -1
  122. package/src/components/organisms/day-select/day-select.preview.d.ts +0 -1
  123. package/src/components/organisms/loading-indicator/container.component.d.ts +0 -1
  124. package/src/components/organisms/loading-indicator/dot.component.d.ts +0 -1
  125. package/src/components/organisms/loading-indicator/loading-indicator.component.d.ts +0 -1
  126. package/src/components/organisms/loading-indicator/loading-indicator.preview.d.ts +0 -1
  127. package/src/components/organisms/my-child-list-item/my-child-list-item.component.d.ts +0 -1
  128. package/src/components/organisms/my-child-list-item/my-child-list-item.preview.d.ts +0 -1
  129. package/src/components/organisms/person-info-card/person-info-card.component.d.ts +0 -1
  130. package/src/components/organisms/person-info-card/person-info-card.preview.d.ts +0 -1
  131. package/src/components/organisms/text-bubble/text-bubble.component.d.ts +0 -1
  132. package/src/components/organisms/text-bubble/text-bubble.preview.d.ts +0 -1
  133. package/src/components/templates/modal/components/fade-panel.component.d.ts +2 -1
  134. package/src/components/templates/modal/components/fade-panel.component.tsx +8 -2
  135. package/src/components/templates/modal/modal.component.d.ts +2 -1
  136. package/src/components/templates/modal/modal.component.tsx +4 -3
  137. package/src/components/templates/modal/modal.preview.d.ts +0 -1
  138. package/src/components/templates/modal/modal.styles.d.ts +3 -6
  139. package/src/components/templates/modal/modal.styles.js +3 -3
  140. package/src/components/templates/popover/components/modal/close/close.component.d.ts +0 -1
  141. package/src/components/templates/popover/components/modal/heading/heading.component.d.ts +0 -1
  142. package/src/components/templates/popover/components/modal/modal.component.tsx +0 -2
  143. package/src/components/templates/popover/popover.preview.d.ts +0 -1
  144. package/src/gradients/main/main.gradient.d.ts +0 -1
  145. package/src/icons/index.d.ts +0 -1
  146. package/src/icons/outline/calendar/calendar.icon.d.ts +0 -1
  147. package/src/icons/outline/chat/chat.icon.d.ts +0 -1
  148. package/src/icons/outline/chat-alt/chat-alt.icon.d.ts +0 -1
  149. package/src/icons/outline/check-circle/check-circle.icon.d.ts +0 -1
  150. package/src/icons/outline/chevron-left/chevron-left.icon.d.ts +0 -1
  151. package/src/icons/outline/chevron-right/chevron-right.icon.d.ts +0 -1
  152. package/src/icons/outline/clock/clock.icon.d.ts +0 -1
  153. package/src/icons/outline/cloud-download/cloud-download.icon.d.ts +0 -1
  154. package/src/icons/outline/currency-euro/currency-euro.icon.d.ts +0 -1
  155. package/src/icons/outline/document-text/document-text.icon.d.ts +0 -1
  156. package/src/icons/outline/exclamation/exclamation.icon.d.ts +0 -1
  157. package/src/icons/outline/exclamation-circle/exclamation-circle.icon.d.ts +0 -1
  158. package/src/icons/outline/eye/eye.icon.d.ts +0 -1
  159. package/src/icons/outline/eye-off/eye-off.icon.d.ts +0 -1
  160. package/src/icons/outline/filter/filter.icon.d.ts +0 -1
  161. package/src/icons/outline/information-circle/information-circle.icon.d.ts +0 -1
  162. package/src/icons/outline/logout/logout.icon.d.ts +0 -1
  163. package/src/icons/outline/mail/mail.icon.d.ts +0 -1
  164. package/src/icons/outline/mail-open/mail-open.icon.d.ts +0 -1
  165. package/src/icons/outline/menu/menu.icon.d.ts +0 -1
  166. package/src/icons/outline/minus-sm/minus-sm.icon.d.ts +0 -1
  167. package/src/icons/outline/office-building/office-building.icon.d.ts +0 -1
  168. package/src/icons/outline/outline-default.preview.d.ts +0 -1
  169. package/src/icons/outline/outline-grey.preview.d.ts +0 -1
  170. package/src/icons/outline/outline-white.preview.d.ts +0 -1
  171. package/src/icons/outline/outline.d.ts +0 -1
  172. package/src/icons/outline/paper-airplane/paper-airplane.icon.d.ts +0 -1
  173. package/src/icons/outline/paperclip/paperclip.icon.d.ts +0 -1
  174. package/src/icons/outline/pencil/pencil.icon.d.ts +0 -1
  175. package/src/icons/outline/phone/phone.icon.d.ts +0 -1
  176. package/src/icons/outline/plus/plus.icon.d.ts +0 -1
  177. package/src/icons/outline/plus-sm/plus-sm.icon.d.ts +0 -1
  178. package/src/icons/outline/qrcode/qrcode.icon.d.ts +0 -1
  179. package/src/icons/outline/refresh/refresh.icon.d.ts +0 -1
  180. package/src/icons/outline/search/search.icon.d.ts +0 -1
  181. package/src/icons/outline/selector/selector.icon.d.ts +0 -1
  182. package/src/icons/outline/sm-view-grid-add/sm-view-grid-add.icon.d.ts +0 -1
  183. package/src/icons/outline/status-online/status-online.icon.d.ts +0 -1
  184. package/src/icons/outline/thumb-up/thumb-up.icon.d.ts +0 -1
  185. package/src/icons/outline/trash/trash.icon.d.ts +0 -1
  186. package/src/icons/outline/user/user.icon.d.ts +0 -1
  187. package/src/icons/outline/user-group/user-group.icon.d.ts +0 -1
  188. package/src/icons/outline/users/users.icon.d.ts +0 -1
  189. package/src/icons/outline/xmark/xmark.icon.d.ts +0 -1
  190. package/src/icons/solid/calendar/calendar.icon.d.ts +0 -1
  191. package/src/icons/solid/chat/chat.icon.d.ts +0 -1
  192. package/src/icons/solid/chat-alt/chat-alt-solid.icon.d.ts +0 -1
  193. package/src/icons/solid/check-circle/check-circle.icon.d.ts +0 -1
  194. package/src/icons/solid/chevron-left/chevron-left.icon.d.ts +0 -1
  195. package/src/icons/solid/chevron-right/chevron-right.icon.d.ts +0 -1
  196. package/src/icons/solid/clock/clock-solid.icon.d.ts +0 -1
  197. package/src/icons/solid/cloud-download/cloud-download.icon.d.ts +0 -1
  198. package/src/icons/solid/currency-euro/currency-euro.icon.d.ts +0 -1
  199. package/src/icons/solid/document-text/document-text-solid.icon.d.ts +0 -1
  200. package/src/icons/solid/exclamation/exclamation.icon.d.ts +0 -1
  201. package/src/icons/solid/exclamation-circle/exclamation-circle.icon.d.ts +0 -1
  202. package/src/icons/solid/eye/eye.icon.d.ts +0 -1
  203. package/src/icons/solid/eye-off/eye-off.icon.d.ts +0 -1
  204. package/src/icons/solid/filter/filter.icon.d.ts +0 -1
  205. package/src/icons/solid/information-circle/information-circle-solid.icon.d.ts +0 -1
  206. package/src/icons/solid/logout/logout.icon.d.ts +0 -1
  207. package/src/icons/solid/mail/mail.icon.d.ts +0 -1
  208. package/src/icons/solid/mail-open/mail-open.icon.d.ts +0 -1
  209. package/src/icons/solid/menu/menu.icon.d.ts +0 -1
  210. package/src/icons/solid/minus-sm/minus-sm.icon.d.ts +0 -1
  211. package/src/icons/solid/office-building/office-building.icon.d.ts +0 -1
  212. package/src/icons/solid/paper-airplane/paper-airplane.icon.d.ts +0 -1
  213. package/src/icons/solid/paperclip/paperclip.icon.d.ts +0 -1
  214. package/src/icons/solid/pencil/pencil-solid.icon.d.ts +0 -1
  215. package/src/icons/solid/phone/phone-solid.icon.d.ts +0 -1
  216. package/src/icons/solid/plus/plus.icon.d.ts +0 -1
  217. package/src/icons/solid/plus-sm/plus-sm.icon.d.ts +0 -1
  218. package/src/icons/solid/qrcode/qrcode.icon.d.ts +0 -1
  219. package/src/icons/solid/refresh/refresh-solid.icon.d.ts +0 -1
  220. package/src/icons/solid/search/search.icon.d.ts +0 -1
  221. package/src/icons/solid/selector/selector.icon.d.ts +0 -1
  222. package/src/icons/solid/sm-view-grid-add/sm-view-grid-add.icon.d.ts +0 -1
  223. package/src/icons/solid/solid.d.ts +0 -1
  224. package/src/icons/solid/solid.preview.d.ts +0 -1
  225. package/src/icons/solid/status-online/status-online-solid.icon.d.ts +0 -1
  226. package/src/icons/solid/thumb-up/thumb-up.icon.d.ts +0 -1
  227. package/src/icons/solid/trash/trash-solid.icon.d.ts +0 -1
  228. package/src/icons/solid/user/user.icon.d.ts +0 -1
  229. package/src/icons/solid/user-group/user-group.icon.d.ts +0 -1
  230. package/src/icons/solid/users/users-solid.icon.d.ts +0 -1
  231. package/src/icons/solid/xmark/xmark.icon.d.ts +0 -1
  232. package/src/theme/provider/parent.theme.d.ts +4 -1
  233. package/src/theme/provider/parent.theme.ts +4 -1
  234. package/src/utilities/toddle-datetime/toddle-datetime.class.d.ts +2 -2
  235. package/src/utilities/toddle-datetime/toddle-datetime.class.tsx +2 -2
  236. package/src/utilities/toddle-datetime/toddle-datetime.preview.d.ts +0 -1
package/App.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import 'intl';
3
2
  import 'intl/locale-data/jsonp/en';
4
3
  declare function App(): JSX.Element;
package/App.tsx CHANGED
@@ -67,6 +67,7 @@ import {WaveBackgroundPreview} from './src/components/molecules/wave-background/
67
67
  import {ToddleDateTimePreview} from './src/utilities/toddle-datetime/toddle-datetime.preview';
68
68
  import {BackgroundGradientPreview} from './src/components/atoms/background-gradient/background-gradient.preview';
69
69
  import {PersonInfoCardPreview} from './src/components/organisms/person-info-card/person-info-card.preview';
70
+ import {TimePickerPreview} from './src/components/molecules/time-picker/time-picker.preview';
70
71
 
71
72
  const Stack = createNativeStackNavigator();
72
73
 
@@ -260,6 +261,10 @@ const HomeScreen = ({navigation}: {navigation: any}) => {
260
261
  title="Contact info card"
261
262
  onPress={() => navigation.push('person-info-card')}
262
263
  />
264
+ <ReactBtn
265
+ title="Time picker"
266
+ onPress={() => navigation.push('time-picker')}
267
+ />
263
268
  </ScrollView>
264
269
  );
265
270
  };
@@ -324,7 +329,9 @@ function App() {
324
329
  <Stack.Screen name="select-list-item">
325
330
  {() => <SelectListItemPreview />}
326
331
  </Stack.Screen>
327
- <Stack.Screen name="popover">{() => <PopoverPreview />}</Stack.Screen>
332
+ <Stack.Screen name="popover" options={{headerShown: false}}>
333
+ {() => <PopoverPreview />}
334
+ </Stack.Screen>
328
335
  <Stack.Screen name="filter tab">
329
336
  {() => <FilterTabPreview />}
330
337
  </Stack.Screen>
@@ -408,16 +415,14 @@ function App() {
408
415
  <Stack.Screen name="language-button">
409
416
  {() => <LanguageButtonPreview />}
410
417
  </Stack.Screen>
411
- <Stack.Screen name="modal" options={{headerShown: false}}>
412
- {() => <ModalPreview />}
413
- </Stack.Screen>
414
- <Stack.Screen name="wave" options={{headerShown: false}}>
418
+ <Stack.Screen name="modal">{() => <ModalPreview />}</Stack.Screen>
419
+ <Stack.Screen name="wave">
415
420
  {() => <WaveBackgroundPreview />}
416
421
  </Stack.Screen>
417
- <Stack.Screen name="loading-indicator" options={{headerShown: false}}>
422
+ <Stack.Screen name="loading-indicator">
418
423
  {() => <LoadingIndicatorPreview />}
419
424
  </Stack.Screen>
420
- <Stack.Screen name="toddle-datetime" options={{headerShown: false}}>
425
+ <Stack.Screen name="toddle-datetime">
421
426
  {() => <ToddleDateTimePreview />}
422
427
  </Stack.Screen>
423
428
  <Stack.Screen name="background-gradient">
@@ -426,6 +431,9 @@ function App() {
426
431
  <Stack.Screen name="person-info-card">
427
432
  {() => <PersonInfoCardPreview />}
428
433
  </Stack.Screen>
434
+ <Stack.Screen name="time-picker">
435
+ {() => <TimePickerPreview />}
436
+ </Stack.Screen>
429
437
  </Stack.Navigator>
430
438
  </NavigationContainer>
431
439
  </ThemeCtx.Provider>
package/index.d.ts CHANGED
@@ -32,7 +32,7 @@ import { Search } from './src/components/molecules/search-input/search.component
32
32
  import { BlockedMessage } from './src/components/molecules/blocked-message/blocked-message.component';
33
33
  import { DepartmentLogo } from './src/components/molecules/department_logo/department-logo.component';
34
34
  import { ContactRole } from './src/components/molecules/contact-role/contact-role.component';
35
- import { Timeline } from './src/components/molecules/timeline/timeline.component';
35
+ import { TimeLine } from './src/components/molecules/timeline/timeline.component';
36
36
  import { SelectPicker } from './src/components/molecules/select-picker/select-picker.component';
37
37
  import { CalendarSelect } from './src/components/molecules/calendar-select/calendar-select.component';
38
38
  import { DateInput } from './src/components/molecules/date-input/date-input.component';
@@ -52,6 +52,7 @@ import { LoadingIndicator } from './src/components/organisms/loading-indicator/l
52
52
  import { WaveBackground } from './src/components/molecules/wave-background/wave.component';
53
53
  import { BackgroundGradient } from './src/components/atoms/background-gradient/background-gradient.component';
54
54
  import { PersonInfoCard } from './src/components/organisms/person-info-card/person-info-card.component';
55
+ import { TimePicker } from './src/components/molecules/time-picker/time-picker.component';
55
56
  import { BubbleAlignment } from './src/types/bubble-alignment.enum';
56
57
  import { KeyBoardTypes } from './src/types/keyboard-types.enum';
57
58
  import { Size } from './src/types/size.enum';
@@ -61,4 +62,4 @@ import { ToddleDateTime } from './src/utilities/toddle-datetime/toddle-datetime.
61
62
  import { ThemeCtx } from './src/context/theme.context';
62
63
  import { Scale } from './src/theme/scale/index';
63
64
  import CreateResponsiveStyle from './src/theme/responsive/index';
64
- export { Initials, BubbleAlignment, KeyBoardTypes, Size, Scale, CreateResponsiveStyle, VisualState, ThemeCtx, ToddleDateTime, Avatar, Button, CancelLink, Check, Checkbox, ChildListItem, ContactItem, FilterTab, SplitContainer, ImageBubble, Info, Pill, Popover, PressableIcon, QuickFilter, Search, SelectListItem, Snackbar, Tag, TextBubble, TextInput, TimeTracker, WideButton, Icon, Calendar, IncrementInput, Swipe, Logo, DaySelect, BlockedMessage, DepartmentLogo, ContactRole, Timeline, SelectPicker, CalendarSelect, DateInput, FilterRange, Footer, DefaultSelect, PasswordInput, MessageInput, Heading1, Heading2, Heading3, Heading4, AllCapsHeading, Paragraph, SmallText, TinyText, SelectLink, MyChildListItem, MoreInfoButton, LanguageButton, Modal, LoadingIndicator, WaveBackground, BackgroundGradient, PersonInfoCard, };
65
+ export { Initials, BubbleAlignment, KeyBoardTypes, Size, Scale, CreateResponsiveStyle, VisualState, ThemeCtx, ToddleDateTime, Avatar, Button, CancelLink, Check, Checkbox, ChildListItem, ContactItem, FilterTab, SplitContainer, ImageBubble, Info, Pill, Popover, PressableIcon, QuickFilter, Search, SelectListItem, Snackbar, Tag, TextBubble, TextInput, TimeTracker, WideButton, Icon, Calendar, IncrementInput, Swipe, Logo, DaySelect, BlockedMessage, DepartmentLogo, ContactRole, TimeLine, SelectPicker, CalendarSelect, DateInput, FilterRange, Footer, DefaultSelect, PasswordInput, MessageInput, Heading1, Heading2, Heading3, Heading4, AllCapsHeading, Paragraph, SmallText, TinyText, SelectLink, MyChildListItem, MoreInfoButton, LanguageButton, Modal, LoadingIndicator, WaveBackground, BackgroundGradient, PersonInfoCard, TimePicker, };
package/index.tsx CHANGED
@@ -40,7 +40,7 @@ import {Search} from './src/components/molecules/search-input/search.component';
40
40
  import {BlockedMessage} from './src/components/molecules/blocked-message/blocked-message.component';
41
41
  import {DepartmentLogo} from './src/components/molecules/department_logo/department-logo.component';
42
42
  import {ContactRole} from './src/components/molecules/contact-role/contact-role.component';
43
- import {Timeline} from './src/components/molecules/timeline/timeline.component';
43
+ import {TimeLine} from './src/components/molecules/timeline/timeline.component';
44
44
  import {SelectPicker} from './src/components/molecules/select-picker/select-picker.component';
45
45
  import {CalendarSelect} from './src/components/molecules/calendar-select/calendar-select.component';
46
46
  import {DateInput} from './src/components/molecules/date-input/date-input.component';
@@ -70,6 +70,7 @@ import {LoadingIndicator} from './src/components/organisms/loading-indicator/loa
70
70
  import {WaveBackground} from './src/components/molecules/wave-background/wave.component';
71
71
  import {BackgroundGradient} from './src/components/atoms/background-gradient/background-gradient.component';
72
72
  import {PersonInfoCard} from './src/components/organisms/person-info-card/person-info-card.component';
73
+ import {TimePicker} from './src/components/molecules/time-picker/time-picker.component';
73
74
 
74
75
  // Exports of enums
75
76
  import {BubbleAlignment} from './src/types/bubble-alignment.enum';
@@ -134,7 +135,7 @@ export {
134
135
  BlockedMessage,
135
136
  DepartmentLogo,
136
137
  ContactRole,
137
- Timeline,
138
+ TimeLine,
138
139
  SelectPicker,
139
140
  CalendarSelect,
140
141
  DateInput,
@@ -160,4 +161,5 @@ export {
160
161
  WaveBackground,
161
162
  BackgroundGradient,
162
163
  PersonInfoCard,
164
+ TimePicker,
163
165
  };
package/package.json CHANGED
@@ -1,10 +1,12 @@
1
1
  {
2
2
  "name": "@tactics/toddle-styleguide",
3
- "version": "1.2.1",
3
+ "version": "1.2.3",
4
4
  "main": "index.tsx",
5
5
  "types": "index.d.ts",
6
6
  "prepublish": "tsc",
7
7
  "scripts": {
8
+ "expo": "./node_modules/.bin/tsc && ./node_modules/.bin/expo",
9
+ "start": "./node_modules/.bin/tsc && ./node_modules/.bin/expo start",
8
10
  "test": "./node_modules/.bin/jest",
9
11
  "format": "./node_modules/.bin/prettier --write src/.",
10
12
  "types": "./node_modules/.bin/tsc index.tsx --declaration --allowJs --emitDeclarationOnly --esModuleInterop --jsx react-native --skipLibCheck --target es5"
@@ -17,33 +19,34 @@
17
19
  "packageManager": "yarn@3.3.1",
18
20
  "dependencies": {
19
21
  "@callstack/react-theme-provider": "^3.0.8",
20
- "@expo/config-plugins": "~6.0.0",
21
- "@expo/webpack-config": "^18.0.1",
22
- "@miblanchard/react-native-slider": "^2.1.0",
22
+ "@expo/config-plugins": "~6.0.2",
23
+ "@expo/webpack-config": "^18.1.0",
24
+ "@miblanchard/react-native-slider": "^2.3.1",
23
25
  "@react-native-picker/picker": "2.4.8",
24
- "@react-navigation/bottom-tabs": "^6.4.0",
25
- "@react-navigation/drawer": "^6.5.0",
26
- "@react-navigation/native": "^6.0.13",
27
- "@react-navigation/native-stack": "^6.9.1",
28
- "@react-navigation/stack": "^6.3.3",
26
+ "@react-navigation/bottom-tabs": "^6.5.8",
27
+ "@react-navigation/drawer": "^6.6.3",
28
+ "@react-navigation/native": "^6.1.7",
29
+ "@react-navigation/native-stack": "^6.9.13",
30
+ "@react-navigation/stack": "^6.3.17",
29
31
  "@tactics/kinderopvang-branding": "1.0.3",
30
- "@testing-library/react-native": "^11.5.3",
31
- "@types/luxon": "^3.2.0",
32
+ "@testing-library/react-native": "^12.1.2",
33
+ "@types/luxon": "^3.3.0",
32
34
  "@types/xdate": "^0.8.32",
33
- "expo": "^48.0.0",
35
+ "expo": "^48.0.19",
34
36
  "expo-font": "~11.1.1",
37
+ "expo-haptics": "~12.2.1",
35
38
  "expo-linear-gradient": "~12.1.2",
36
39
  "expo-status-bar": "~1.4.4",
37
40
  "intl": "^1.2.5",
38
- "jsc-android": "^250230.2.1",
39
- "lottie-ios": "3.4.1",
41
+ "jsc-android": "^250231.0.0",
42
+ "lottie-ios": "4.2.0",
40
43
  "lottie-react-native": "5.1.4",
41
44
  "luxon": "^3.3.0",
42
45
  "react": "18.2.0",
43
46
  "react-dom": "18.2.0",
44
- "react-native": "0.71.6",
47
+ "react-native": "0.71.8",
45
48
  "react-native-calendar-strip": "^2.2.6",
46
- "react-native-calendars": "^1.1293.0",
49
+ "react-native-calendars": "^1.1299.0",
47
50
  "react-native-gesture-handler": "~2.9.0",
48
51
  "react-native-picker-select": "^8.0.4",
49
52
  "react-native-reanimated": "~2.14.4",
@@ -52,22 +55,23 @@
52
55
  "react-native-svg": "13.4.0",
53
56
  "react-native-swipe-gestures": "^1.0.5",
54
57
  "react-native-swiper": "^1.6.0",
55
- "react-native-web": "~0.18.7",
58
+ "react-native-web": "~0.18.10",
59
+ "react-native-wheel-picker-expo": "^0.5.4",
56
60
  "react-test-renderer": "^18.2.0"
57
61
  },
58
62
  "devDependencies": {
59
- "@babel/core": "^7.20.0",
60
- "@babel/preset-typescript": "^7.18.6",
61
- "@types/jest": "^29.2.1",
62
- "@types/luxon": "^3.2.0",
63
- "@types/node": "^18.11.7",
63
+ "@babel/core": "^7.22.5",
64
+ "@babel/preset-typescript": "^7.22.5",
65
+ "@types/jest": "^29.5.2",
66
+ "@types/luxon": "^3.3.0",
67
+ "@types/node": "^20.3.1",
64
68
  "@types/react": "~18.0.27",
65
69
  "@types/react-dom": "~18.0.10",
66
70
  "@types/react-test-renderer": "^18.0.0",
67
- "jest": "^29.2.2",
68
- "jest-expo": "^46.0.1",
69
- "prettier": "2.7.1",
70
- "ts-jest": "^29.0.3",
71
+ "jest": "^29.5.0",
72
+ "jest-expo": "^48.0.2",
73
+ "prettier": "2.8.8",
74
+ "ts-jest": "^29.1.0",
71
75
  "ts-node": "^10.9.1",
72
76
  "typescript": "^4.9.4"
73
77
  }
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const AnimatedWave: () => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type PopoverBackdropProps = {
3
2
  isVisible: boolean;
4
3
  };
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const BackgroundGradient: () => JSX.Element;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const BackgroundGradientPreview: ({}: {}) => JSX.Element;