@tactics/toddle-styleguide 2.0.4 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (238) hide show
  1. package/App.tsx +0 -12
  2. package/app.json +1 -0
  3. package/babel.config.js +14 -1
  4. package/index.d.ts +1 -5
  5. package/index.tsx +0 -8
  6. package/metro.config.js +11 -0
  7. package/package.json +1 -1
  8. package/src/components/atoms/backdrop/backdrop.component.d.ts +4 -7
  9. package/src/components/atoms/calendar/calendar.component.d.ts +6 -11
  10. package/src/components/atoms/check-switch/check-switch.component.d.ts +3 -6
  11. package/src/components/atoms/count/count.component.d.ts +3 -6
  12. package/src/components/atoms/footer/footer.component.d.ts +3 -9
  13. package/src/components/atoms/footer/footer.component.tsx +5 -7
  14. package/src/components/atoms/footer/footer.preview.tsx +0 -17
  15. package/src/components/atoms/heading-components/all-caps-heading/all-caps-heading.component.d.ts +2 -10
  16. package/src/components/atoms/heading-components/heading1/heading1.component.d.ts +2 -10
  17. package/src/components/atoms/heading-components/heading2/heading2.component.d.ts +2 -10
  18. package/src/components/atoms/heading-components/heading3/heading3.component.d.ts +2 -10
  19. package/src/components/atoms/heading-components/heading4/heading4.component.d.ts +2 -10
  20. package/src/components/atoms/heading-components/index.d.ts +6 -6
  21. package/src/components/atoms/image-bubble/image-bubble.component.d.ts +6 -9
  22. package/src/components/atoms/increment-input/increment-input.component.d.ts +4 -8
  23. package/src/components/atoms/line/line.component.d.ts +4 -8
  24. package/src/components/atoms/logo/logo.component.d.ts +4 -4
  25. package/src/components/atoms/paragraph-components/index.d.ts +4 -4
  26. package/src/components/atoms/paragraph-components/paragraph/paragraph.component.d.ts +2 -10
  27. package/src/components/atoms/paragraph-components/small-text/small-text.component.d.ts +2 -10
  28. package/src/components/atoms/paragraph-components/tiny-text/tiny-text.component.d.ts +2 -10
  29. package/src/components/atoms/quick-message/quick-message.component.d.ts +5 -10
  30. package/src/components/atoms/split-container/split-container.component.d.ts +4 -7
  31. package/src/components/atoms/static-wave/static-wave.component.d.ts +6 -11
  32. package/src/components/atoms/text-input/text-input.component.d.ts +6 -10
  33. package/src/components/atoms/text-input/text-input.preview.d.ts +1 -1
  34. package/src/components/molecules/amount/amount.component.d.ts +8 -15
  35. package/src/components/molecules/avatar/avatar.component.d.ts +12 -20
  36. package/src/components/molecules/bare-time-picker/bare-time-picker.component.d.ts +5 -10
  37. package/src/components/molecules/bare-time-picker/bare-time-picker.component.native.tsx +78 -0
  38. package/src/components/molecules/bare-time-picker/bare-time-picker.component.tsx +16 -42
  39. package/src/components/molecules/bare-time-picker/bare-time-picker.styles.d.ts +12 -6
  40. package/src/components/molecules/bare-time-picker/bare-time-picker.styles.js +6 -0
  41. package/src/components/molecules/blocked-message/blocked-message.component.d.ts +2 -4
  42. package/src/components/molecules/button/button.component.d.ts +11 -20
  43. package/src/components/molecules/calendar-select/calendar-select.component.d.ts +7 -12
  44. package/src/components/molecules/cancel-link/cancel-link.component.d.ts +4 -7
  45. package/src/components/molecules/checkbox/checkbox.component.d.ts +5 -9
  46. package/src/components/molecules/contact-role/contact-role.component.d.ts +3 -6
  47. package/src/components/molecules/context-label/context-label.component.d.ts +4 -7
  48. package/src/components/molecules/date-input/date-input.component.d.ts +4 -7
  49. package/src/components/molecules/default-select/default-select.component.d.ts +3 -6
  50. package/src/components/molecules/department_logo/department-logo.component.d.ts +3 -5
  51. package/src/components/molecules/failed-to-send/failed-bubble.component.d.ts +6 -11
  52. package/src/components/molecules/filter-range/filter-range.component.d.ts +7 -14
  53. package/src/components/molecules/filter-tab/filter-tab.component.d.ts +7 -11
  54. package/src/components/molecules/info/info.component.d.ts +5 -9
  55. package/src/components/molecules/inline-error/inline-error.component.d.ts +3 -3
  56. package/src/components/molecules/inline-notice/inline-notice.component.d.ts +3 -3
  57. package/src/components/molecules/language-button/language-button.component.d.ts +4 -8
  58. package/src/components/molecules/message-input/message-input.component.d.ts +6 -10
  59. package/src/components/molecules/more-info-button/more-info-button.component.d.ts +4 -8
  60. package/src/components/molecules/password-input/password-input.component.d.ts +5 -9
  61. package/src/components/molecules/pill/pill.component.d.ts +5 -5
  62. package/src/components/molecules/pressable-icon/pressable-icon.component.d.ts +5 -10
  63. package/src/components/molecules/quick-filter/quick-filter.component.d.ts +9 -16
  64. package/src/components/molecules/search-input/search.component.d.ts +7 -12
  65. package/src/components/molecules/search-input/search.preview.d.ts +1 -1
  66. package/src/components/molecules/select-link/select-link.component.d.ts +4 -7
  67. package/src/components/molecules/select-list-item/select-list-item.component.d.ts +9 -16
  68. package/src/components/molecules/select-picker/select-picker.component.d.ts +8 -13
  69. package/src/components/molecules/selectable-list-item/selectable-list-item.component.d.ts +8 -15
  70. package/src/components/molecules/send-bubble/send-text-bubble.component.d.ts +7 -13
  71. package/src/components/molecules/snackbar/snackbar.component.d.ts +5 -8
  72. package/src/components/molecules/swipe/swipe.component.d.ts +5 -8
  73. package/src/components/molecules/swipe/swipe.component.native.tsx +78 -0
  74. package/src/components/molecules/swipe/swipe.component.tsx +5 -63
  75. package/src/components/molecules/tag/tag.component.d.ts +6 -11
  76. package/src/components/molecules/time-picker/time-picker.component.d.ts +5 -10
  77. package/src/components/molecules/time-tracker/time-tracker.component.d.ts +6 -10
  78. package/src/components/molecules/timeline/timeline.component.d.ts +3 -6
  79. package/src/components/molecules/timestamp/timestamp.component.d.ts +4 -7
  80. package/src/components/molecules/wave-background/wave.component.d.ts +2 -7
  81. package/src/components/molecules/wide-button/wide-button.component.d.ts +6 -11
  82. package/src/components/organisms/child-list-item/child-list-item.component.d.ts +20 -38
  83. package/src/components/organisms/child-list-item/components/child-list-tag.component.d.ts +3 -6
  84. package/src/components/organisms/contact-item/contact-item.component.d.ts +6 -11
  85. package/src/components/organisms/journal-entry/components/entry-type-indicator/entry-type-indicator.component.d.ts +3 -6
  86. package/src/components/organisms/journal-entry/components/journal-entry-type/journal-entry-type.component.d.ts +7 -13
  87. package/src/components/organisms/journal-entry/journal-entry.component.d.ts +16 -30
  88. package/src/components/organisms/loading-indicator/animation-style.animate.d.ts +3 -13
  89. package/src/components/organisms/loading-indicator/dot.component.d.ts +3 -3
  90. package/src/components/organisms/loading-indicator/loading-indicator.component.d.ts +2 -9
  91. package/src/components/organisms/my-child-list-item/my-child-list-item.component.d.ts +9 -16
  92. package/src/components/organisms/person-info-card/person-info-card.component.d.ts +10 -18
  93. package/src/components/organisms/text-bubble/text-bubble.component.d.ts +12 -21
  94. package/src/components/organisms/timetable-edit/timetable-edit.component.d.ts +13 -25
  95. package/src/components/organisms/timetable-editor/components/timetable-edit-wrapper.d.ts +8 -14
  96. package/src/components/organisms/timetable-editor/timetable-editor-staff.component.d.ts +4 -7
  97. package/src/components/organisms/timetable-editor/timetable-editor.component.d.ts +4 -7
  98. package/src/components/templates/modal/components/fade-panel.component.d.ts +7 -14
  99. package/src/components/templates/modal/modal.component.d.ts +6 -12
  100. package/src/components/templates/popover/components/foreground/foreground.component.d.ts +4 -6
  101. package/src/components/templates/popover/components/modal/close/close.component.d.ts +4 -4
  102. package/src/components/templates/popover/components/modal/heading/heading.component.d.ts +4 -7
  103. package/src/components/templates/popover/components/modal/modal.component.d.ts +9 -17
  104. package/src/components/templates/popover/components/modal/scroll-content/scroll-content.component.d.ts +3 -5
  105. package/src/components/templates/popover/popover.component.d.ts +8 -15
  106. package/src/components/templates/popover-action/popover-action.component.tsx +1 -0
  107. package/src/context/loading-dots.context.d.ts +6 -9
  108. package/src/context/theme.context.d.ts +65 -65
  109. package/src/gradients/main/main.gradient.d.ts +2 -4
  110. package/src/icons/index.d.ts +2 -7
  111. package/src/icons/outline/calendar/calendar.icon.d.ts +2 -5
  112. package/src/icons/outline/chat/chat.icon.d.ts +2 -5
  113. package/src/icons/outline/chat-alt/chat-alt.icon.d.ts +2 -5
  114. package/src/icons/outline/check-circle/check-circle.icon.d.ts +2 -5
  115. package/src/icons/outline/chevron-left/chevron-left.icon.d.ts +2 -5
  116. package/src/icons/outline/chevron-right/chevron-right.icon.d.ts +2 -5
  117. package/src/icons/outline/clock/clock.icon.d.ts +2 -5
  118. package/src/icons/outline/cloud-download/cloud-download.icon.d.ts +2 -5
  119. package/src/icons/outline/currency-euro/currency-euro.icon.d.ts +2 -5
  120. package/src/icons/outline/document-text/document-text.icon.d.ts +2 -5
  121. package/src/icons/outline/exclamation/exclamation.icon.d.ts +2 -5
  122. package/src/icons/outline/exclamation-circle/exclamation-circle.icon.d.ts +2 -5
  123. package/src/icons/outline/eye/eye.icon.d.ts +2 -5
  124. package/src/icons/outline/eye-off/eye-off.icon.d.ts +2 -5
  125. package/src/icons/outline/filter/filter.icon.d.ts +2 -5
  126. package/src/icons/outline/information-circle/information-circle.icon.d.ts +2 -5
  127. package/src/icons/outline/logout/logout.icon.d.ts +2 -5
  128. package/src/icons/outline/mail/mail.icon.d.ts +2 -5
  129. package/src/icons/outline/mail-open/mail-open.icon.d.ts +2 -5
  130. package/src/icons/outline/menu/menu.icon.d.ts +2 -5
  131. package/src/icons/outline/minus-sm/minus-sm.icon.d.ts +2 -5
  132. package/src/icons/outline/office-building/office-building.icon.d.ts +2 -5
  133. package/src/icons/outline/outline.d.ts +2 -6
  134. package/src/icons/outline/paper-airplane/paper-airplane.icon.d.ts +2 -5
  135. package/src/icons/outline/paperclip/paperclip.icon.d.ts +2 -5
  136. package/src/icons/outline/pencil/pencil.icon.d.ts +2 -5
  137. package/src/icons/outline/phone/phone.icon.d.ts +2 -5
  138. package/src/icons/outline/photograph/photograph.icon.d.ts +2 -5
  139. package/src/icons/outline/plus/plus.icon.d.ts +2 -5
  140. package/src/icons/outline/plus-sm/plus-sm.icon.d.ts +2 -5
  141. package/src/icons/outline/qrcode/qrcode.icon.d.ts +2 -5
  142. package/src/icons/outline/refresh/refresh.icon.d.ts +2 -5
  143. package/src/icons/outline/search/search.icon.d.ts +2 -5
  144. package/src/icons/outline/selector/selector.icon.d.ts +2 -5
  145. package/src/icons/outline/share/share.icon.d.ts +2 -5
  146. package/src/icons/outline/sm-view-grid-add/sm-view-grid-add.icon.d.ts +2 -5
  147. package/src/icons/outline/status-online/status-online.icon.d.ts +2 -5
  148. package/src/icons/outline/thumb-up/thumb-up.icon.d.ts +2 -5
  149. package/src/icons/outline/trash/trash.icon.d.ts +2 -5
  150. package/src/icons/outline/user/user.icon.d.ts +2 -5
  151. package/src/icons/outline/user-group/user-group.icon.d.ts +2 -5
  152. package/src/icons/outline/users/users.icon.d.ts +2 -5
  153. package/src/icons/outline/xmark/xmark.icon.d.ts +2 -5
  154. package/src/icons/solid/calendar/calendar.icon.d.ts +2 -5
  155. package/src/icons/solid/chat/chat.icon.d.ts +2 -5
  156. package/src/icons/solid/chat-alt/chat-alt-solid.icon.d.ts +2 -5
  157. package/src/icons/solid/check-circle/check-circle.icon.d.ts +2 -5
  158. package/src/icons/solid/chevron-left/chevron-left.icon.d.ts +2 -5
  159. package/src/icons/solid/chevron-right/chevron-right.icon.d.ts +2 -5
  160. package/src/icons/solid/clock/clock-solid.icon.d.ts +2 -5
  161. package/src/icons/solid/cloud-download/cloud-download.icon.d.ts +2 -5
  162. package/src/icons/solid/currency-euro/currency-euro.icon.d.ts +2 -5
  163. package/src/icons/solid/document-text/document-text-solid.icon.d.ts +2 -5
  164. package/src/icons/solid/exclamation/exclamation.icon.d.ts +2 -5
  165. package/src/icons/solid/exclamation-circle/exclamation-circle.icon.d.ts +2 -5
  166. package/src/icons/solid/eye/eye.icon.d.ts +2 -5
  167. package/src/icons/solid/eye-off/eye-off.icon.d.ts +2 -5
  168. package/src/icons/solid/filter/filter.icon.d.ts +2 -5
  169. package/src/icons/solid/information-circle/information-circle-solid.icon.d.ts +2 -5
  170. package/src/icons/solid/logout/logout.icon.d.ts +2 -5
  171. package/src/icons/solid/mail/mail.icon.d.ts +2 -5
  172. package/src/icons/solid/mail-open/mail-open.icon.d.ts +2 -5
  173. package/src/icons/solid/menu/menu.icon.d.ts +2 -5
  174. package/src/icons/solid/minus-sm/minus-sm.icon.d.ts +2 -5
  175. package/src/icons/solid/office-building/office-building.icon.d.ts +2 -5
  176. package/src/icons/solid/paper-airplane/paper-airplane.icon.d.ts +2 -5
  177. package/src/icons/solid/paperclip/paperclip.icon.d.ts +2 -5
  178. package/src/icons/solid/pencil/pencil-solid.icon.d.ts +2 -5
  179. package/src/icons/solid/phone/phone-solid.icon.d.ts +2 -5
  180. package/src/icons/solid/photograph/photograph-solid.icon.d.ts +2 -5
  181. package/src/icons/solid/plus/plus.icon.d.ts +2 -5
  182. package/src/icons/solid/plus-sm/plus-sm.icon.d.ts +2 -5
  183. package/src/icons/solid/qrcode/qrcode.icon.d.ts +2 -5
  184. package/src/icons/solid/refresh/refresh-solid.icon.d.ts +2 -5
  185. package/src/icons/solid/search/search.icon.d.ts +2 -5
  186. package/src/icons/solid/selector/selector.icon.d.ts +2 -5
  187. package/src/icons/solid/share/share.icon.d.ts +2 -5
  188. package/src/icons/solid/sm-view-grid-add/sm-view-grid-add.icon.d.ts +2 -5
  189. package/src/icons/solid/solid.d.ts +2 -6
  190. package/src/icons/solid/status-online/status-online-solid.icon.d.ts +2 -5
  191. package/src/icons/solid/thumb-up/thumb-up.icon.d.ts +2 -5
  192. package/src/icons/solid/trash/trash-solid.icon.d.ts +2 -5
  193. package/src/icons/solid/user/user.icon.d.ts +2 -5
  194. package/src/icons/solid/user-group/user-group.icon.d.ts +2 -5
  195. package/src/icons/solid/users/users-solid.icon.d.ts +2 -5
  196. package/src/icons/solid/xmark/xmark.icon.d.ts +2 -5
  197. package/src/interfaces/icon.interface.d.ts +5 -5
  198. package/src/models/hex-color.model.d.ts +4 -4
  199. package/src/models/initials.model.d.ts +5 -5
  200. package/src/models/time-slot-record.d.ts +11 -11
  201. package/src/models/time-slot-sequence.d.ts +13 -15
  202. package/src/theme/font/font.d.ts +70 -70
  203. package/src/theme/font/index.d.ts +3 -3
  204. package/src/theme/provider/index.d.ts +3 -3
  205. package/src/theme/provider/parent.theme.d.ts +63 -63
  206. package/src/theme/provider/staff-member.theme.d.ts +63 -63
  207. package/src/theme/responsive/index.d.ts +2 -5
  208. package/src/theme/scale/index.d.ts +10 -10
  209. package/src/types/bubble-alignment.enum.d.ts +2 -2
  210. package/src/types/icontype.type.d.ts +1 -43
  211. package/src/types/keyboard-types.enum.d.ts +7 -7
  212. package/src/types/loading-dots.type.d.ts +6 -6
  213. package/src/types/size.enum.d.ts +3 -3
  214. package/src/types/state.enum.d.ts +4 -4
  215. package/src/types/text-properties.type.d.ts +8 -8
  216. package/src/types/timetable-edit.enum.d.ts +3 -3
  217. package/src/types/visual-state.enum.d.ts +5 -5
  218. package/src/utilities/color-handler/color-handler.d.ts +4 -12
  219. package/src/utilities/toddle-datetime/interfaces/duration.interface.d.ts +18 -18
  220. package/src/utilities/toddle-datetime/interfaces/toddle-datetime.interface.d.ts +16 -16
  221. package/src/utilities/toddle-datetime/toddle-datetime.class.d.ts +46 -103
  222. package/src/utilities/toddle-datetime/types/duration.type.d.ts +1 -1
  223. package/src/utilities/toddle-datetime/types/toddle-datetime.type.d.ts +2 -11
  224. package/tsconfig.json +2 -1
  225. package/src/components/organisms/day-select/day-select.component.d.ts +0 -13
  226. package/src/components/organisms/day-select/day-select.component.tsx +0 -122
  227. package/src/components/organisms/day-select/day-select.preview.d.ts +0 -2
  228. package/src/components/organisms/day-select/day-select.preview.tsx +0 -23
  229. package/src/components/organisms/day-select/day-select.styles.d.ts +0 -18
  230. package/src/components/organisms/day-select/day-select.styles.js +0 -22
  231. package/src/components/organisms/tab-view/__snapshots__/tab-view.test.js.snap +0 -421
  232. package/src/components/organisms/tab-view/tab-view.component.d.ts +0 -16
  233. package/src/components/organisms/tab-view/tab-view.component.tsx +0 -49
  234. package/src/components/organisms/tab-view/tab-view.preview.d.ts +0 -2
  235. package/src/components/organisms/tab-view/tab-view.preview.tsx +0 -37
  236. package/src/components/organisms/tab-view/tab-view.styles.d.ts +0 -10
  237. package/src/components/organisms/tab-view/tab-view.styles.js +0 -14
  238. package/src/components/organisms/tab-view/tab-view.test.js +0 -37
package/App.tsx CHANGED
@@ -42,7 +42,6 @@ import {ChildListItemPreview} from './src/components/organisms/child-list-item/c
42
42
  import {TimeLinePreview} from './src/components/molecules/timeline/timeline.preview';
43
43
  import {SelectPickerPreview} from './src/components/molecules/select-picker/select-picker.preview';
44
44
  import {FilterRangePreview} from './src/components/molecules/filter-range/filter-range.preview';
45
- import {DaySelectPreview} from './src/components/organisms/day-select/day-select.preview';
46
45
  import {IncrementInputPreview} from './src/components/atoms/increment-input/increment-input.preview';
47
46
  import {SwipePreview} from './src/components/molecules/swipe/swipe.preview';
48
47
  import {LogoPreview} from './src/components/atoms/logo/logo.preview';
@@ -68,9 +67,7 @@ import {ToddleDateTimePreview} from './src/utilities/toddle-datetime/toddle-date
68
67
  import {BackgroundGradientPreview} from './src/components/atoms/background-gradient/background-gradient.preview';
69
68
  import {PersonInfoCardPreview} from './src/components/organisms/person-info-card/person-info-card.preview';
70
69
  import {TimePickerPreview} from './src/components/molecules/time-picker/time-picker.preview';
71
- import {PopOverActionPreview} from './src/components/templates/popover-action/popover-action.preview';
72
70
  import {QuickMessagePreview} from './src/components/atoms/quick-message/quick-message.preview';
73
- import {TabViewPreview} from './src/components/organisms/tab-view/tab-view.preview';
74
71
  import {LinePreview} from './src/components/atoms/line/line.preview';
75
72
  import {JournalEntryPreview} from './src/components/organisms/journal-entry/journal-entry.preview';
76
73
  import { ContextLabelPreview } from './src/components/molecules/context-label/context-label.preview';
@@ -384,9 +381,6 @@ function App() {
384
381
  <Stack.Screen name="date-input">
385
382
  {() => <DateInputPreview />}
386
383
  </Stack.Screen>
387
- <Stack.Screen name="day-select">
388
- {() => <DaySelectPreview />}
389
- </Stack.Screen>
390
384
  <Stack.Screen name="default-select">
391
385
  {() => <DefaultSelectPreview />}
392
386
  </Stack.Screen>
@@ -458,9 +452,6 @@ function App() {
458
452
  <Stack.Screen name="popover" options={{headerShown: false}}>
459
453
  {() => <PopoverPreview />}
460
454
  </Stack.Screen>
461
- <Stack.Screen name="popover-action" options={{headerShown: false}}>
462
- {() => <PopOverActionPreview />}
463
- </Stack.Screen>
464
455
  <Stack.Screen name="pressable-icon">
465
456
  {() => <PressableIconPreview />}
466
457
  </Stack.Screen>
@@ -487,9 +478,6 @@ function App() {
487
478
  {() => <SplitContainerPreview />}
488
479
  </Stack.Screen>
489
480
  <Stack.Screen name="swiper">{() => <SwipePreview />}</Stack.Screen>
490
- <Stack.Screen name="tab-view">
491
- {() => <TabViewPreview />}
492
- </Stack.Screen>
493
481
  <Stack.Screen name="tag">{() => <TagPreview />}</Stack.Screen>
494
482
  <Stack.Screen name="textBubble">
495
483
  {() => <TextBubblePreview />}
package/app.json CHANGED
@@ -27,6 +27,7 @@
27
27
  }
28
28
  },
29
29
  "web": {
30
+ "bundler": "metro",
30
31
  "favicon": "./assets/favicon.png"
31
32
  }
32
33
  }
package/babel.config.js CHANGED
@@ -1,7 +1,20 @@
1
1
  module.exports = function (api) {
2
2
  api.cache(true);
3
+ const disableImportExportTransform = true;
3
4
  return {
4
- presets: ['babel-preset-expo'],
5
+ presets: [
6
+ [
7
+ 'babel-preset-expo',
8
+ {
9
+ native: {
10
+ disableImportExportTransform,
11
+ },
12
+ web: {
13
+ disableImportExportTransform,
14
+ },
15
+ },
16
+ ],
17
+ ],
5
18
  plugins: ['react-native-reanimated/plugin'],
6
19
  };
7
20
  };
package/index.d.ts CHANGED
@@ -25,9 +25,7 @@ import { WideButton } from './src/components/molecules/wide-button/wide-button.c
25
25
  import { Icon } from './src/icons';
26
26
  import { Calendar } from './src/components/atoms/calendar/calendar.component';
27
27
  import { IncrementInput } from './src/components/atoms/increment-input/increment-input.component';
28
- import { Swipe } from './src/components/molecules/swipe/swipe.component';
29
28
  import { Logo } from './src/components/atoms/logo/logo.component';
30
- import { DaySelect } from './src/components/organisms/day-select/day-select.component';
31
29
  import { Search } from './src/components/molecules/search-input/search.component';
32
30
  import { BlockedMessage } from './src/components/molecules/blocked-message/blocked-message.component';
33
31
  import { DepartmentLogo } from './src/components/molecules/department_logo/department-logo.component';
@@ -53,9 +51,7 @@ import { WaveBackground } from './src/components/molecules/wave-background/wave.
53
51
  import { BackgroundGradient } from './src/components/atoms/background-gradient/background-gradient.component';
54
52
  import { PersonInfoCard } from './src/components/organisms/person-info-card/person-info-card.component';
55
53
  import { TimePicker } from './src/components/molecules/time-picker/time-picker.component';
56
- import { PopOverAction } from './src/components/templates/popover-action/popover-action.component';
57
54
  import { QuickMessage } from './src/components/atoms/quick-message/quick-message.component';
58
- import { TabView } from './src/components/organisms/tab-view/tab-view.component';
59
55
  import { Line } from './src/components/atoms/line/line.component';
60
56
  import { JournalEntry } from './src/components/organisms/journal-entry/journal-entry.component';
61
57
  import { TimetableEdit } from './src/components/organisms/timetable-edit/timetable-edit.component';
@@ -78,4 +74,4 @@ import { ToddleDateTime } from './src/utilities/toddle-datetime/toddle-datetime.
78
74
  import { ThemeCtx } from './src/context/theme.context';
79
75
  import { Scale } from './src/theme/scale/index';
80
76
  import CreateResponsiveStyle from './src/theme/responsive/index';
81
- export { AllCapsHeading, Avatar, BackgroundGradient, BlockedMessage, Button, Calendar, CalendarSelect, CancelLink, Check, Checkbox, ChildListItem, ContactItem, ContactRole, DateInput, DaySelect, DefaultSelect, DepartmentLogo, FilterRange, FilterTab, Footer, Heading1, Heading2, Heading3, Heading4, Icon, ImageBubble, IncrementInput, Info, JournalEntry, LanguageButton, Line, LoadingIndicator, Logo, MessageInput, Modal, MoreInfoButton, MyChildListItem, Paragraph, PasswordInput, PersonInfoCard, Pill, Popover, PopOverAction, PressableIcon, QuickFilter, QuickMessage, Search, SelectLink, SelectListItem, SelectPicker, SmallText, Snackbar, SplitContainer, Swipe, TabView, Tag, TextBubble, TextInput, TimeLine, TimePicker, TimeTracker, TinyText, WaveBackground, WideButton, BubbleAlignment, Initials, KeyBoardTypes, Size, ThemeCtx, ToddleDateTime, VisualState, CreateResponsiveStyle, Scale, TimetableEdit, ContextLabel, Count, Amount, TimetableEditor, TimetableEditorStaff, TimeSlotRecord, TimeSlotSequence, InlineError, InlineNotice, SelectableListItem };
77
+ export { AllCapsHeading, Avatar, BackgroundGradient, BlockedMessage, Button, Calendar, CalendarSelect, CancelLink, Check, Checkbox, ChildListItem, ContactItem, ContactRole, DateInput, DefaultSelect, DepartmentLogo, FilterRange, FilterTab, Footer, Heading1, Heading2, Heading3, Heading4, Icon, ImageBubble, IncrementInput, Info, JournalEntry, LanguageButton, Line, LoadingIndicator, Logo, MessageInput, Modal, MoreInfoButton, MyChildListItem, Paragraph, PasswordInput, PersonInfoCard, Pill, Popover, PressableIcon, QuickFilter, QuickMessage, Search, SelectLink, SelectListItem, SelectPicker, SmallText, Snackbar, SplitContainer, Tag, TextBubble, TextInput, TimeLine, TimePicker, TimeTracker, TinyText, WaveBackground, WideButton, BubbleAlignment, Initials, KeyBoardTypes, Size, ThemeCtx, ToddleDateTime, VisualState, CreateResponsiveStyle, Scale, TimetableEdit, ContextLabel, Count, Amount, TimetableEditor, TimetableEditorStaff, TimeSlotRecord, TimeSlotSequence, InlineError, InlineNotice, SelectableListItem };
package/index.tsx CHANGED
@@ -33,9 +33,7 @@ import {WideButton} from './src/components/molecules/wide-button/wide-button.com
33
33
  import {Icon} from './src/icons';
34
34
  import {Calendar} from './src/components/atoms/calendar/calendar.component';
35
35
  import {IncrementInput} from './src/components/atoms/increment-input/increment-input.component';
36
- import {Swipe} from './src/components/molecules/swipe/swipe.component';
37
36
  import {Logo} from './src/components/atoms/logo/logo.component';
38
- import {DaySelect} from './src/components/organisms/day-select/day-select.component';
39
37
  import {Search} from './src/components/molecules/search-input/search.component';
40
38
  import {BlockedMessage} from './src/components/molecules/blocked-message/blocked-message.component';
41
39
  import {DepartmentLogo} from './src/components/molecules/department_logo/department-logo.component';
@@ -71,9 +69,7 @@ import {WaveBackground} from './src/components/molecules/wave-background/wave.co
71
69
  import {BackgroundGradient} from './src/components/atoms/background-gradient/background-gradient.component';
72
70
  import {PersonInfoCard} from './src/components/organisms/person-info-card/person-info-card.component';
73
71
  import {TimePicker} from './src/components/molecules/time-picker/time-picker.component';
74
- import {PopOverAction} from './src/components/templates/popover-action/popover-action.component';
75
72
  import {QuickMessage} from './src/components/atoms/quick-message/quick-message.component';
76
- import {TabView} from './src/components/organisms/tab-view/tab-view.component';
77
73
  import {Line} from './src/components/atoms/line/line.component';
78
74
  import {JournalEntry} from './src/components/organisms/journal-entry/journal-entry.component';
79
75
  import {TimetableEdit} from './src/components/organisms/timetable-edit/timetable-edit.component';
@@ -124,7 +120,6 @@ export {
124
120
  ContactItem,
125
121
  ContactRole,
126
122
  DateInput,
127
- DaySelect,
128
123
  DefaultSelect,
129
124
  DepartmentLogo,
130
125
  FilterRange,
@@ -152,7 +147,6 @@ export {
152
147
  PersonInfoCard,
153
148
  Pill,
154
149
  Popover,
155
- PopOverAction,
156
150
  PressableIcon,
157
151
  QuickFilter,
158
152
  QuickMessage,
@@ -163,8 +157,6 @@ export {
163
157
  SmallText,
164
158
  Snackbar,
165
159
  SplitContainer,
166
- Swipe,
167
- TabView,
168
160
  Tag,
169
161
  TextBubble,
170
162
  TextInput,
@@ -0,0 +1,11 @@
1
+ const { getDefaultConfig } = require('expo/metro-config');
2
+
3
+ const config = getDefaultConfig(__dirname);
4
+
5
+ config.transformer.getTransformOptions = async () => ({
6
+ transform: {
7
+ experimentalImportSupport: true,
8
+ },
9
+ });
10
+
11
+ module.exports = config;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tactics/toddle-styleguide",
3
- "version": "2.0.4",
3
+ "version": "3.0.0",
4
4
  "main": "index.tsx",
5
5
  "types": "index.d.ts",
6
6
  "prepublish": "tsc",
@@ -1,10 +1,7 @@
1
1
  import * as React from 'react';
2
2
  type PopoverBackdropProps = {
3
- isVisible: boolean;
4
- touchBackDrop?: (value: boolean) => void;
3
+ isVisible: boolean;
4
+ touchBackDrop?: (value: boolean) => void;
5
5
  };
6
- declare const Backdrop: ({
7
- isVisible,
8
- touchBackDrop,
9
- }: PopoverBackdropProps) => React.JSX.Element;
10
- export {Backdrop as Backdrop};
6
+ declare const Backdrop: ({ isVisible, touchBackDrop }: PopoverBackdropProps) => React.JSX.Element;
7
+ export { Backdrop as Backdrop };
@@ -1,15 +1,10 @@
1
1
  import React from 'react';
2
- import {ToddleDateTime} from '../../../utilities/toddle-datetime/toddle-datetime.class';
2
+ import { ToddleDateTime } from '../../../utilities/toddle-datetime/toddle-datetime.class';
3
3
  type CalendarProps = {
4
- onDayPress: (day: ToddleDateTime) => void;
5
- selected: ToddleDateTime;
6
- minDate?: string;
7
- maxDate?: string;
4
+ onDayPress: (day: ToddleDateTime) => void;
5
+ selected: ToddleDateTime;
6
+ minDate?: string;
7
+ maxDate?: string;
8
8
  };
9
- export declare const Calendar: ({
10
- onDayPress,
11
- selected,
12
- minDate,
13
- maxDate,
14
- }: CalendarProps) => React.JSX.Element;
9
+ export declare const Calendar: ({ onDayPress, selected, minDate, maxDate, }: CalendarProps) => React.JSX.Element;
15
10
  export {};
@@ -1,10 +1,7 @@
1
1
  import * as React from 'react';
2
2
  type CheckProps = {
3
- value: boolean;
4
- onToggle: () => void;
3
+ value: boolean;
4
+ onToggle: () => void;
5
5
  };
6
- export declare const Check: ({
7
- value,
8
- onToggle,
9
- }: CheckProps) => React.JSX.Element;
6
+ export declare const Check: ({ value, onToggle }: CheckProps) => React.JSX.Element;
10
7
  export {};
@@ -1,10 +1,7 @@
1
1
  import React from 'react';
2
2
  interface CountProps {
3
- count: number;
4
- disabled?: boolean;
3
+ count: number;
4
+ disabled?: boolean;
5
5
  }
6
- export declare const Count: ({
7
- count,
8
- disabled,
9
- }: CountProps) => React.JSX.Element;
6
+ export declare const Count: ({ count, disabled }: CountProps) => React.JSX.Element;
10
7
  export {};
@@ -1,12 +1,6 @@
1
1
  import React from 'react';
2
- import {ViewStyle} from 'react-native';
3
- import {AnimateStyle} from 'react-native-reanimated';
4
2
  type FooterProps = {
5
- children: React.ReactNode;
6
- animatedStyle?: AnimateStyle<ViewStyle>;
3
+ children: React.ReactNode;
7
4
  };
8
- declare const Footer: ({
9
- children,
10
- animatedStyle,
11
- }: FooterProps) => React.JSX.Element;
12
- export {Footer as Footer};
5
+ declare const Footer: ({ children }: FooterProps) => React.JSX.Element;
6
+ export { Footer as Footer };
@@ -1,29 +1,27 @@
1
1
  import React from 'react';
2
2
  import {useContext} from 'react';
3
- import {ViewStyle} from 'react-native';
3
+ import {View} from 'react-native';
4
4
 
5
5
  import {ThemeCtx} from '../../../context/theme.context';
6
6
  import {Stylesheet} from './footer.styles';
7
- import Animated, {AnimateStyle} from 'react-native-reanimated';
8
7
  import {useSafeAreaInsets} from 'react-native-safe-area-context';
9
8
 
10
9
  type FooterProps = {
11
10
  children: React.ReactNode;
12
- animatedStyle?: AnimateStyle<ViewStyle>;
13
11
  };
14
12
 
15
- const Footer = ({children, animatedStyle}: FooterProps) => {
13
+ const Footer = ({children}: FooterProps) => {
16
14
  const context = useContext(ThemeCtx);
17
15
  const insets = useSafeAreaInsets();
18
16
  const styles = Stylesheet(context, insets);
19
17
 
20
18
  return (
21
- <Animated.View
22
- style={[styles.container, animatedStyle]}
19
+ <View
20
+ style={styles.container}
23
21
  testID="footer-container"
24
22
  >
25
23
  {children}
26
- </Animated.View>
24
+ </View>
27
25
  );
28
26
  };
29
27
 
@@ -1,8 +1,5 @@
1
1
  import React from 'react';
2
2
  import {Footer} from './footer.component';
3
- import {SplitContainer} from '../split-container/split-container.component';
4
- import {SelectLink} from '../../molecules/select-link/select-link.component';
5
- import {Button} from '../../molecules/button/button.component';
6
3
  import {Icon} from '../../../icons/index';
7
4
  import {Pressable, View} from 'react-native';
8
5
 
@@ -10,20 +7,6 @@ export const FooterPreview = ({}: {}) => {
10
7
  return (
11
8
  <View style={{flex: 1, justifyContent: 'flex-end'}}>
12
9
  <Footer>
13
- {/*<SplitContainer*/}
14
- {/* element1={*/}
15
- {/* <SelectLink*/}
16
- {/* label={'Selecteer alle'}*/}
17
- {/* onPress={() => console.log('selecteer alle')}*/}
18
- {/* />*/}
19
- {/* }*/}
20
- {/* element2={*/}
21
- {/* <Button*/}
22
- {/* label="Kies actie"*/}
23
- {/* onPress={() => console.log('element 2 pressed')}*/}
24
- {/* />*/}
25
- {/* }*/}
26
- {/*/>*/}
27
10
  <Pressable
28
11
  style={{
29
12
  width: 42,
@@ -1,11 +1,3 @@
1
1
  import React from 'react';
2
- import {TextProperties} from '../../../../types/text-properties.type';
3
- export declare const AllCapsHeading: ({
4
- bold,
5
- children,
6
- textColor,
7
- textAlign,
8
- numberOfLines,
9
- ellipsizeMode,
10
- addStyle,
11
- }: TextProperties) => React.JSX.Element;
2
+ import { TextProperties } from '../../../../types/text-properties.type';
3
+ export declare const AllCapsHeading: ({ bold, children, textColor, textAlign, numberOfLines, ellipsizeMode, addStyle, }: TextProperties) => React.JSX.Element;
@@ -1,11 +1,3 @@
1
1
  import React from 'react';
2
- import {TextProperties} from '../../../../types/text-properties.type';
3
- export declare const Heading1: ({
4
- bold,
5
- children,
6
- textColor,
7
- textAlign,
8
- addStyle,
9
- ellipsizeMode,
10
- numberOfLines,
11
- }: TextProperties) => React.JSX.Element;
2
+ import { TextProperties } from '../../../../types/text-properties.type';
3
+ export declare const Heading1: ({ bold, children, textColor, textAlign, addStyle, ellipsizeMode, numberOfLines, }: TextProperties) => React.JSX.Element;
@@ -1,11 +1,3 @@
1
1
  import React from 'react';
2
- import {TextProperties} from '../../../../types/text-properties.type';
3
- export declare const Heading2: ({
4
- bold,
5
- children,
6
- textColor,
7
- textAlign,
8
- numberOfLines,
9
- ellipsizeMode,
10
- addStyle,
11
- }: TextProperties) => React.JSX.Element;
2
+ import { TextProperties } from '../../../../types/text-properties.type';
3
+ export declare const Heading2: ({ bold, children, textColor, textAlign, numberOfLines, ellipsizeMode, addStyle, }: TextProperties) => React.JSX.Element;
@@ -1,11 +1,3 @@
1
1
  import React from 'react';
2
- import {TextProperties} from '../../../../types/text-properties.type';
3
- export declare const Heading3: ({
4
- bold,
5
- children,
6
- textColor,
7
- textAlign,
8
- addStyle,
9
- numberOfLines,
10
- ellipsizeMode,
11
- }: TextProperties) => React.JSX.Element;
2
+ import { TextProperties } from '../../../../types/text-properties.type';
3
+ export declare const Heading3: ({ bold, children, textColor, textAlign, addStyle, numberOfLines, ellipsizeMode, }: TextProperties) => React.JSX.Element;
@@ -1,11 +1,3 @@
1
1
  import React from 'react';
2
- import {TextProperties} from '../../../../types/text-properties.type';
3
- export declare const Heading4: ({
4
- bold,
5
- children,
6
- textColor,
7
- textAlign,
8
- addStyle,
9
- numberOfLines,
10
- ellipsizeMode,
11
- }: TextProperties) => React.JSX.Element;
2
+ import { TextProperties } from '../../../../types/text-properties.type';
3
+ export declare const Heading4: ({ bold, children, textColor, textAlign, addStyle, numberOfLines, ellipsizeMode, }: TextProperties) => React.JSX.Element;
@@ -1,6 +1,6 @@
1
- import {Heading1} from './heading1/heading1.component';
2
- import {Heading2} from './heading2/heading2.component';
3
- import {Heading3} from './heading3/heading3.component';
4
- import {Heading4} from './heading4/heading4.component';
5
- import {AllCapsHeading} from './all-caps-heading/all-caps-heading.component';
6
- export {AllCapsHeading, Heading1, Heading2, Heading3, Heading4};
1
+ import { Heading1 } from './heading1/heading1.component';
2
+ import { Heading2 } from './heading2/heading2.component';
3
+ import { Heading3 } from './heading3/heading3.component';
4
+ import { Heading4 } from './heading4/heading4.component';
5
+ import { AllCapsHeading } from './all-caps-heading/all-caps-heading.component';
6
+ export { AllCapsHeading, Heading1, Heading2, Heading3, Heading4 };
@@ -1,12 +1,9 @@
1
1
  import * as React from 'react';
2
- import {ImageSourcePropType} from 'react-native';
3
- import {BubbleAlignment} from '../../../types/bubble-alignment.enum';
2
+ import { ImageSourcePropType } from 'react-native';
3
+ import { BubbleAlignment } from '../../../types/bubble-alignment.enum';
4
4
  type ImageBubbleProps = {
5
- source: ImageSourcePropType;
6
- bubbleAlignment: BubbleAlignment;
5
+ source: ImageSourcePropType;
6
+ bubbleAlignment: BubbleAlignment;
7
7
  };
8
- declare const ImageBubble: ({
9
- source,
10
- bubbleAlignment,
11
- }: ImageBubbleProps) => React.JSX.Element;
12
- export {ImageBubble as ImageBubble};
8
+ declare const ImageBubble: ({ source, bubbleAlignment }: ImageBubbleProps) => React.JSX.Element;
9
+ export { ImageBubble as ImageBubble };
@@ -1,12 +1,8 @@
1
1
  import React from 'react';
2
2
  type IncrementInputProps = {
3
- value: number;
4
- maxValue?: number;
5
- onPress: (number: number) => void;
3
+ value: number;
4
+ maxValue?: number;
5
+ onPress: (number: number) => void;
6
6
  };
7
- export declare const IncrementInput: ({
8
- value,
9
- onPress,
10
- maxValue,
11
- }: IncrementInputProps) => React.JSX.Element;
7
+ export declare const IncrementInput: ({ value, onPress, maxValue, }: IncrementInputProps) => React.JSX.Element;
12
8
  export {};
@@ -1,13 +1,9 @@
1
1
  import * as React from 'react';
2
2
  type Orientation = 'horizontal' | 'vertical';
3
3
  interface LineProps {
4
- color?: string;
5
- thickness?: number;
6
- orientation?: Orientation;
4
+ color?: string;
5
+ thickness?: number;
6
+ orientation?: Orientation;
7
7
  }
8
- export declare const Line: ({
9
- color,
10
- thickness,
11
- orientation,
12
- }: LineProps) => React.JSX.Element;
8
+ export declare const Line: ({ color, thickness, orientation, }: LineProps) => React.JSX.Element;
13
9
  export {};
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  type logoProps = {
3
- colorIsWhite?: boolean;
4
- big?: boolean;
3
+ colorIsWhite?: boolean;
4
+ big?: boolean;
5
5
  };
6
- declare const Logo: ({colorIsWhite, big}: logoProps) => React.JSX.Element;
7
- export {Logo as Logo};
6
+ declare const Logo: ({ colorIsWhite, big }: logoProps) => React.JSX.Element;
7
+ export { Logo as Logo };
@@ -1,4 +1,4 @@
1
- import {Paragraph} from './paragraph/paragraph.component';
2
- import {SmallText} from './small-text/small-text.component';
3
- import {TinyText} from './tiny-text/tiny-text.component';
4
- export {Paragraph, SmallText, TinyText};
1
+ import { Paragraph } from './paragraph/paragraph.component';
2
+ import { SmallText } from './small-text/small-text.component';
3
+ import { TinyText } from './tiny-text/tiny-text.component';
4
+ export { Paragraph, SmallText, TinyText };
@@ -1,11 +1,3 @@
1
1
  import React from 'react';
2
- import {TextProperties} from '../../../../types/text-properties.type';
3
- export declare const Paragraph: ({
4
- bold,
5
- children,
6
- textColor,
7
- textAlign,
8
- addStyle,
9
- numberOfLines,
10
- ellipsizeMode,
11
- }: TextProperties) => React.JSX.Element;
2
+ import { TextProperties } from '../../../../types/text-properties.type';
3
+ export declare const Paragraph: ({ bold, children, textColor, textAlign, addStyle, numberOfLines, ellipsizeMode, }: TextProperties) => React.JSX.Element;
@@ -1,11 +1,3 @@
1
1
  import React from 'react';
2
- import {TextProperties} from '../../../../types/text-properties.type';
3
- export declare const SmallText: ({
4
- bold,
5
- textColor,
6
- textAlign,
7
- children,
8
- addStyle,
9
- ellipsizeMode,
10
- numberOfLines,
11
- }: TextProperties) => React.JSX.Element;
2
+ import { TextProperties } from '../../../../types/text-properties.type';
3
+ export declare const SmallText: ({ bold, textColor, textAlign, children, addStyle, ellipsizeMode, numberOfLines, }: TextProperties) => React.JSX.Element;
@@ -1,11 +1,3 @@
1
1
  import React from 'react';
2
- import {TextProperties} from '../../../../types/text-properties.type';
3
- export declare const TinyText: ({
4
- bold,
5
- children,
6
- textColor,
7
- textAlign,
8
- addStyle,
9
- numberOfLines,
10
- ellipsizeMode,
11
- }: TextProperties) => React.JSX.Element;
2
+ import { TextProperties } from '../../../../types/text-properties.type';
3
+ export declare const TinyText: ({ bold, children, textColor, textAlign, addStyle, numberOfLines, ellipsizeMode, }: TextProperties) => React.JSX.Element;
@@ -1,14 +1,9 @@
1
- import {PressableProps} from 'react-native';
1
+ import { PressableProps } from 'react-native';
2
2
  import React from 'react';
3
3
  interface QuickMessageProps extends PressableProps {
4
- message: string;
5
- setMessage: (value: string) => void;
6
- selectedMessage: boolean;
4
+ message: string;
5
+ setMessage: (value: string) => void;
6
+ selectedMessage: boolean;
7
7
  }
8
- export declare const QuickMessage: ({
9
- message,
10
- setMessage,
11
- selectedMessage,
12
- ...props
13
- }: QuickMessageProps) => React.JSX.Element;
8
+ export declare const QuickMessage: ({ message, setMessage, selectedMessage, ...props }: QuickMessageProps) => React.JSX.Element;
14
9
  export {};
@@ -1,10 +1,7 @@
1
1
  import * as React from 'react';
2
2
  type splitContainerProps = {
3
- element1: React.ReactNode;
4
- element2?: React.ReactNode;
3
+ element1: React.ReactNode;
4
+ element2?: React.ReactNode;
5
5
  };
6
- declare const SplitContainer: ({
7
- element1,
8
- element2,
9
- }: splitContainerProps) => React.JSX.Element;
10
- export {SplitContainer as SplitContainer};
6
+ declare const SplitContainer: ({ element1, element2 }: splitContainerProps) => React.JSX.Element;
7
+ export { SplitContainer as SplitContainer };
@@ -1,14 +1,9 @@
1
1
  import React from 'react';
2
- import {ViewStyle} from 'react-native';
2
+ import { ViewStyle } from 'react-native';
3
3
  export type WaveProps = {
4
- customStyle?: ViewStyle;
5
- customWavePath?: string;
6
- heightSvgContainer?: number;
7
- positionTop?: number;
4
+ customStyle?: ViewStyle;
5
+ customWavePath?: string;
6
+ heightSvgContainer?: number;
7
+ positionTop?: number;
8
8
  };
9
- export declare const StaticWave: ({
10
- customStyle,
11
- customWavePath,
12
- heightSvgContainer,
13
- positionTop,
14
- }: WaveProps) => React.JSX.Element;
9
+ export declare const StaticWave: ({ customStyle, customWavePath, heightSvgContainer, positionTop, }: WaveProps) => React.JSX.Element;
@@ -1,13 +1,9 @@
1
1
  import * as React from 'react';
2
- import {TextInputProps as NativeTextInputProps} from 'react-native';
3
- import {KeyBoardTypes} from '../../../types/keyboard-types.enum';
2
+ import { TextInputProps as NativeTextInputProps } from 'react-native';
3
+ import { KeyBoardTypes } from '../../../types/keyboard-types.enum';
4
4
  interface TextInputProps extends NativeTextInputProps {
5
- keyboardType: KeyBoardTypes;
6
- border?: boolean;
5
+ keyboardType: KeyBoardTypes;
6
+ border?: boolean;
7
7
  }
8
- declare const TextInput: ({
9
- keyboardType,
10
- border,
11
- ...props
12
- }: TextInputProps) => React.JSX.Element;
13
- export {TextInput as TextInput};
8
+ declare const TextInput: ({ keyboardType, border, ...props }: TextInputProps) => React.JSX.Element;
9
+ export { TextInput as TextInput };
@@ -1,2 +1,2 @@
1
1
  import React from 'react';
2
- export declare const TextInputPreview: ({}: {}) => React.JSX.Element;
2
+ export declare const TextInputPreview: ({}?: {}) => React.JSX.Element;