@tactics/toddle-styleguide 1.2.3 → 1.2.4

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 (31) hide show
  1. package/App.tsx +195 -192
  2. package/package.json +1 -1
  3. package/src/components/atoms/calendar/__snapshots__/calendar.test.js.snap +1821 -641
  4. package/src/components/molecules/avatar/__snapshots__/avatar.test.js.snap +70 -62
  5. package/src/components/molecules/avatar/avatar.component.d.ts +2 -1
  6. package/src/components/molecules/avatar/avatar.component.tsx +22 -11
  7. package/src/components/molecules/avatar/avatar.preview.tsx +58 -44
  8. package/src/components/molecules/avatar/avatar.styles.d.ts +54 -15
  9. package/src/components/molecules/avatar/avatar.styles.js +33 -5
  10. package/src/components/molecules/date-input/date-input.preview.tsx +25 -23
  11. package/src/components/molecules/time-picker/__snapshots__/time-picker.test.js.snap +1868 -1776
  12. package/src/components/molecules/time-picker/time-picker.component.tsx +49 -23
  13. package/src/components/molecules/time-picker/time-picker.preview.tsx +5 -4
  14. package/src/components/molecules/time-picker/time-picker.styles.d.ts +16 -4
  15. package/src/components/molecules/time-picker/time-picker.styles.js +18 -6
  16. package/src/components/organisms/child-list-item/__snapshots__/child-list-item.test.js.snap +174 -162
  17. package/src/components/organisms/contact-item/__snapshots__/contact-item.test.js.snap +70 -127
  18. package/src/components/organisms/contact-item/contact-item.component.tsx +10 -9
  19. package/src/components/organisms/my-child-list-item/__snapshots__/my-child-list-item.test.js.snap +97 -89
  20. package/src/components/organisms/person-info-card/__snapshots__/person-info-card.test.js.snap +233 -209
  21. package/src/components/templates/popover/components/modal/modal.component.tsx +0 -1
  22. package/src/components/templates/popover/components/modal/modal.styles.d.ts +2 -1
  23. package/src/components/templates/popover/components/modal/modal.styles.js +2 -2
  24. package/src/components/templates/popover/popover.component.tsx +27 -14
  25. package/src/components/templates/popover/popover.preview.tsx +63 -97
  26. package/src/components/templates/popover/popover.styles.d.ts +1 -1
  27. package/src/components/templates/popover/popover.styles.js +3 -1
  28. package/src/utilities/toddle-datetime/toddle-datetime.class.d.ts +1 -0
  29. package/src/utilities/toddle-datetime/toddle-datetime.class.tsx +7 -0
  30. package/src/utilities/toddle-datetime/toddle-datetime.preview.tsx +15 -1
  31. package/src/utilities/toddle-datetime/toddle-datetime.test.js +10 -0
package/App.tsx CHANGED
@@ -83,187 +83,190 @@ const HomeScreen = ({navigation}: {navigation: any}) => {
83
83
  }}
84
84
  >
85
85
  <ReactBtn title="Avatar" onPress={() => navigation.push('avatar')} />
86
- <ReactBtn title="Button" onPress={() => navigation.push('button')} />
87
- <ReactBtn title="Pill" onPress={() => navigation.push('pill')} />
88
- <ReactBtn title="Snackbar" onPress={() => navigation.push('snackbar')} />
89
86
  <ReactBtn
90
- title="textInputs"
91
- onPress={() => navigation.push('textInputs')}
87
+ title="Blocked message"
88
+ onPress={() => navigation.push('blocked-message')}
92
89
  />
90
+ <ReactBtn title="Button" onPress={() => navigation.push('button')} />
91
+ <ReactBtn title="Calendar" onPress={() => navigation.push('calendar')} />
93
92
  <ReactBtn
94
- title="textBubble"
95
- onPress={() => navigation.push('textBubble')}
93
+ title="Calendar Select"
94
+ onPress={() => navigation.push('calendar-select')}
96
95
  />
97
96
  <ReactBtn
98
- title="ImageBubble"
99
- onPress={() => navigation.push('image-bubble')}
97
+ title="Cancel Link"
98
+ onPress={() => navigation.push('cancel-link')}
100
99
  />
100
+ <ReactBtn title="Checkbox" onPress={() => navigation.push('checkbox')} />
101
101
  <ReactBtn
102
- title="Pressable Icon"
103
- onPress={() => navigation.push('pressable-icon')}
102
+ title="Check Switch"
103
+ onPress={() => navigation.push('check-switch')}
104
104
  />
105
105
  <ReactBtn
106
- title="Select-list-item"
107
- onPress={() => navigation.push('select-list-item')}
106
+ title="Child List Item"
107
+ onPress={() => navigation.push('child-list-item')}
108
108
  />
109
109
  <ReactBtn
110
- title="Cancel link"
111
- onPress={() => navigation.push('cancel-link')}
110
+ title="Contact Info Card"
111
+ onPress={() => navigation.push('person-info-card')}
112
112
  />
113
113
  <ReactBtn
114
- title="ContactItem"
114
+ title="Contact Item"
115
115
  onPress={() => navigation.push('contact-item')}
116
116
  />
117
117
  <ReactBtn
118
- title="Check switch"
119
- onPress={() => navigation.push('check-switch')}
120
- />
121
- <ReactBtn
122
- title="Info component"
123
- onPress={() => navigation.push('info')}
118
+ title="Contact Role"
119
+ onPress={() => navigation.push('contact-role')}
124
120
  />
125
121
  <ReactBtn
126
- title="Wide Button"
127
- onPress={() => navigation.push('wide-button')}
122
+ title="Date Input"
123
+ onPress={() => navigation.push('date-input')}
128
124
  />
129
125
  <ReactBtn
130
- title="Icons Default"
131
- onPress={() => navigation.push('icons default')}
126
+ title="Day Select"
127
+ onPress={() => navigation.push('day-select')}
132
128
  />
133
129
  <ReactBtn
134
- title="Icons grey"
135
- onPress={() => navigation.push('icons grey')}
130
+ title="Default Select"
131
+ onPress={() => navigation.push('default-select')}
136
132
  />
137
133
  <ReactBtn
138
- title="Icons White"
139
- onPress={() => navigation.push('icons white')}
134
+ title="Department Logo"
135
+ onPress={() => navigation.push('department-logo')}
140
136
  />
141
137
  <ReactBtn
142
- title="Icons Solid"
143
- onPress={() => navigation.push('icons solid')}
138
+ title="Filter Range"
139
+ onPress={() => navigation.push('filter-range')}
144
140
  />
145
- <ReactBtn title="Checkbox" onPress={() => navigation.push('checkbox')} />
146
141
  <ReactBtn
147
- title="TimeTracker"
148
- onPress={() => navigation.push('time-tracker')}
142
+ title="Filter Tab"
143
+ onPress={() => navigation.push('filter-tab')}
149
144
  />
150
- <ReactBtn title="Tag" onPress={() => navigation.push('tag')} />
145
+ <ReactBtn title="Footer" onPress={() => navigation.push('footer')} />
151
146
  <ReactBtn
152
- title="split-container"
153
- onPress={() => navigation.push('split-container')}
147
+ title="Gradient Background"
148
+ onPress={() => navigation.push('background-gradient')}
154
149
  />
150
+ <ReactBtn title="Headings" onPress={() => navigation.push('headings')} />
155
151
  <ReactBtn
156
- title="Select Picker"
157
- onPress={() => navigation.push('select-picker')}
152
+ title="Icons Default"
153
+ onPress={() => navigation.push('icons default')}
158
154
  />
159
- <ReactBtn title="Popover" onPress={() => navigation.push('popover')} />
160
155
  <ReactBtn
161
- title="Filter Tab"
162
- onPress={() => navigation.push('filter tab')}
156
+ title="Icons Grey"
157
+ onPress={() => navigation.push('icons grey')}
163
158
  />
164
159
  <ReactBtn
165
- title="Child list item"
166
- onPress={() => navigation.push('child-list-item')}
160
+ title="Icons Solid"
161
+ onPress={() => navigation.push('icons solid')}
167
162
  />
168
- <ReactBtn title="Timeline" onPress={() => navigation.push('timeline')} />
169
163
  <ReactBtn
170
- title="Filter range"
171
- onPress={() => navigation.push('filter-range')}
164
+ title="Icons White"
165
+ onPress={() => navigation.push('icons white')}
172
166
  />
173
- <ReactBtn title="Calendar" onPress={() => navigation.push('calendar')} />
174
167
  <ReactBtn
175
- title="quickFilter"
176
- onPress={() => navigation.push('quick-filter')}
168
+ title="Image Bubble"
169
+ onPress={() => navigation.push('image-bubble')}
177
170
  />
178
171
  <ReactBtn
179
172
  title="Increment input"
180
173
  onPress={() => navigation.push('increment-input')}
181
174
  />
182
- <ReactBtn title="swiper" onPress={() => navigation.push('swiper')} />
183
- <ReactBtn title="logo" onPress={() => navigation.push('logo')} />
184
175
  <ReactBtn
185
- title="Date input"
186
- onPress={() => navigation.push('date-input')}
176
+ title="Info Component"
177
+ onPress={() => navigation.push('info')}
187
178
  />
188
179
  <ReactBtn
189
- title="daySelect"
190
- onPress={() => navigation.push('day-select')}
180
+ title="Language Button"
181
+ onPress={() => navigation.push('language-button')}
191
182
  />
192
- <ReactBtn title="search" onPress={() => navigation.push('search')} />
193
183
  <ReactBtn
194
- title="Blocked message"
195
- onPress={() => navigation.push('blocked-message')}
184
+ title="Loading Indicator"
185
+ onPress={() => navigation.push('loading-indicator')}
196
186
  />
187
+ <ReactBtn title="Logo" onPress={() => navigation.push('logo')} />
197
188
  <ReactBtn
198
- title="departmentLogo"
199
- onPress={() => navigation.push('departmentLogo')}
189
+ title="Message Input"
190
+ onPress={() => navigation.push('message-input')}
200
191
  />
192
+ <ReactBtn title="Modal" onPress={() => navigation.push('modal')} />
201
193
  <ReactBtn
202
- title="Contact role"
203
- onPress={() => navigation.push('contact-role')}
194
+ title="More Info Button"
195
+ onPress={() => navigation.push('more-info-button')}
204
196
  />
205
197
  <ReactBtn
206
- title="calendarSelect"
207
- onPress={() => navigation.push('calendar-select')}
198
+ title="My Child List Item"
199
+ onPress={() => navigation.push('my-child-list-item')}
208
200
  />
209
- <ReactBtn title="footer" onPress={() => navigation.push('footer')} />
210
201
  <ReactBtn
211
- title="Default select"
212
- onPress={() => navigation.push('default-select')}
202
+ title="Paragraphs"
203
+ onPress={() => navigation.push('paragraphs')}
213
204
  />
214
205
  <ReactBtn
215
- title="Password Input Field"
206
+ title="Password Input"
216
207
  onPress={() => navigation.push('password-input')}
217
208
  />
209
+ <ReactBtn title="Pill" onPress={() => navigation.push('pill')} />
210
+ <ReactBtn title="Popover" onPress={() => navigation.push('popover')} />
218
211
  <ReactBtn
219
- title="Message input"
220
- onPress={() => navigation.push('message-input')}
212
+ title="Pressable Icon"
213
+ onPress={() => navigation.push('pressable-icon')}
221
214
  />
222
- <ReactBtn title="Headings" onPress={() => navigation.push('headings')} />
223
215
  <ReactBtn
224
- title="Paragraphs"
225
- onPress={() => navigation.push('paragraphs')}
216
+ title="Quick Filter"
217
+ onPress={() => navigation.push('quick-filter')}
226
218
  />
227
219
  <ReactBtn
228
- title="My child list item"
229
- onPress={() => navigation.push('my-child-list-item')}
220
+ title="Search Input"
221
+ onPress={() => navigation.push('search')}
230
222
  />
231
223
  <ReactBtn
232
- title="Select link"
224
+ title="Select Link"
233
225
  onPress={() => navigation.push('select-link')}
234
226
  />
235
227
  <ReactBtn
236
- title="More info button"
237
- onPress={() => navigation.push('more-info-button')}
228
+ title="Select List Item"
229
+ onPress={() => navigation.push('select-list-item')}
238
230
  />
239
231
  <ReactBtn
240
- title="Language button"
241
- onPress={() => navigation.push('language-button')}
232
+ title="Select Picker"
233
+ onPress={() => navigation.push('select-picker')}
242
234
  />
243
- <ReactBtn title="Modal" onPress={() => navigation.push('modal')} />
235
+ <ReactBtn title="Snackbar" onPress={() => navigation.push('snackbar')} />
244
236
  <ReactBtn
245
- title="Loading indicator"
246
- onPress={() => navigation.push('loading-indicator')}
237
+ title="Split Container"
238
+ onPress={() => navigation.push('split-container')}
247
239
  />
240
+ <ReactBtn title="Swiper" onPress={() => navigation.push('swiper')} />
241
+ <ReactBtn title="Tag" onPress={() => navigation.push('tag')} />
248
242
  <ReactBtn
249
- title="Wave background"
250
- onPress={() => navigation.push('wave')}
243
+ title="Text Bubble"
244
+ onPress={() => navigation.push('textBubble')}
251
245
  />
252
246
  <ReactBtn
253
- title="Toddle DateTime"
254
- onPress={() => navigation.push('toddle-datetime')}
247
+ title="Text Inputs"
248
+ onPress={() => navigation.push('textInputs')}
255
249
  />
256
250
  <ReactBtn
257
- title="Gradient background"
258
- onPress={() => navigation.push('background-gradient')}
251
+ title="Time Picker"
252
+ onPress={() => navigation.push('time-picker')}
259
253
  />
260
254
  <ReactBtn
261
- title="Contact info card"
262
- onPress={() => navigation.push('person-info-card')}
255
+ title="Time Tracker"
256
+ onPress={() => navigation.push('time-tracker')}
263
257
  />
258
+ <ReactBtn title="Timeline" onPress={() => navigation.push('timeline')} />
264
259
  <ReactBtn
265
- title="Time picker"
266
- onPress={() => navigation.push('time-picker')}
260
+ title="Toddle DateTime"
261
+ onPress={() => navigation.push('toddle-datetime')}
262
+ />
263
+ <ReactBtn
264
+ title="Wave Background"
265
+ onPress={() => navigation.push('wave')}
266
+ />
267
+ <ReactBtn
268
+ title="Wide Button"
269
+ onPress={() => navigation.push('wide-button')}
267
270
  />
268
271
  </ScrollView>
269
272
  );
@@ -284,156 +287,156 @@ function App() {
284
287
  {(props) => <HomeScreen {...props} />}
285
288
  </Stack.Screen>
286
289
  <Stack.Screen name="avatar">{() => <AvatarPreview />}</Stack.Screen>
287
- <Stack.Screen name="button">{() => <ButtonPreview />}</Stack.Screen>
288
- <Stack.Screen name="pill">{() => <PillPreview />}</Stack.Screen>
289
- <Stack.Screen name="snackbar">
290
- {() => <SnackbarPreview />}
291
- </Stack.Screen>
292
- <Stack.Screen name="textInputs">
293
- {() => <TextInputPreview />}
290
+ <Stack.Screen name="background-gradient">
291
+ {() => <BackgroundGradientPreview />}
294
292
  </Stack.Screen>
295
- <Stack.Screen name="textBubble">
296
- {() => <TextBubblePreview />}
293
+ <Stack.Screen name="blocked-message">
294
+ {() => <BlockedMessagePreview />}
297
295
  </Stack.Screen>
298
- <Stack.Screen name="image-bubble">
299
- {() => <ImageBubblePreview />}
296
+ <Stack.Screen name="button">{() => <ButtonPreview />}</Stack.Screen>
297
+ <Stack.Screen name="calendar">
298
+ {() => <CalendarPreview />}
300
299
  </Stack.Screen>
301
- <Stack.Screen name="pressable-icon">
302
- {() => <PressableIconPreview />}
300
+ <Stack.Screen name="calendar-select">
301
+ {() => <CalendarSelectPreview />}
303
302
  </Stack.Screen>
304
303
  <Stack.Screen name="cancel-link">
305
304
  {() => <CancelLinkPreview />}
306
305
  </Stack.Screen>
307
- <Stack.Screen name="contact-item">
308
- {() => <ContactItemPreview />}
309
- </Stack.Screen>
310
- <Stack.Screen name="wide-button">
311
- {() => <WideButtonPreview />}
306
+ <Stack.Screen name="checkbox">
307
+ {() => <CheckboxPreview />}
312
308
  </Stack.Screen>
313
- <Stack.Screen name="info">{() => <InfoPreview />}</Stack.Screen>
314
309
  <Stack.Screen name="check-switch">
315
310
  {() => <CheckPreview />}
316
311
  </Stack.Screen>
317
- <Stack.Screen name="icons default">
318
- {() => <IconOutlineDefaultPreview />}
319
- </Stack.Screen>
320
- <Stack.Screen name="icons grey">
321
- {() => <IconOutlineGreyPreview />}
322
- </Stack.Screen>
323
- <Stack.Screen name="icons white">
324
- {() => <IconOutlineWhitePreview />}
325
- </Stack.Screen>
326
- <Stack.Screen name="icons solid">
327
- {() => <IconSolidPreview />}
312
+ <Stack.Screen name="child-list-item">
313
+ {() => <ChildListItemPreview />}
328
314
  </Stack.Screen>
329
- <Stack.Screen name="select-list-item">
330
- {() => <SelectListItemPreview />}
315
+ <Stack.Screen name="contact-item">
316
+ {() => <ContactItemPreview />}
331
317
  </Stack.Screen>
332
- <Stack.Screen name="popover" options={{headerShown: false}}>
333
- {() => <PopoverPreview />}
318
+ <Stack.Screen name="contact-role">
319
+ {() => <ContactRolePreview />}
334
320
  </Stack.Screen>
335
- <Stack.Screen name="filter tab">
336
- {() => <FilterTabPreview />}
321
+ <Stack.Screen name="date-input">
322
+ {() => <DateInputPreview />}
337
323
  </Stack.Screen>
338
- <Stack.Screen name="checkbox">
339
- {() => <CheckboxPreview />}
324
+ <Stack.Screen name="day-select">
325
+ {() => <DaySelectPreview />}
340
326
  </Stack.Screen>
341
- <Stack.Screen name="time-tracker">
342
- {() => <TimeTrackerPreview />}
327
+ <Stack.Screen name="default-select">
328
+ {() => <DefaultSelectPreview />}
343
329
  </Stack.Screen>
344
- <Stack.Screen name="tag">{() => <TagPreview />}</Stack.Screen>
345
- <Stack.Screen name="split-container">
346
- {() => <SplitContainerPreview />}
330
+ <Stack.Screen name="department-logo">
331
+ {() => <DepartmentLogoPreview />}
347
332
  </Stack.Screen>
348
- <Stack.Screen name="select-picker">
349
- {() => <SelectPickerPreview />}
333
+ <Stack.Screen name="filter-tab">
334
+ {() => <FilterTabPreview />}
350
335
  </Stack.Screen>
351
- <Stack.Screen name="calendar">
352
- {() => <CalendarPreview />}
336
+ <Stack.Screen name="filter-range">
337
+ {() => <FilterRangePreview />}
353
338
  </Stack.Screen>
354
- <Stack.Screen name="quick-filter">
355
- {() => <QuickFilterPreview />}
339
+ <Stack.Screen name="footer">{() => <FooterPreview />}</Stack.Screen>
340
+ <Stack.Screen name="headings">
341
+ {() => <HeadingsPreview />}
356
342
  </Stack.Screen>
357
- <Stack.Screen name="date-input">
358
- {() => <DateInputPreview />}
343
+ <Stack.Screen name="icons default">
344
+ {() => <IconOutlineDefaultPreview />}
359
345
  </Stack.Screen>
360
- <Stack.Screen name="child-list-item">
361
- {() => <ChildListItemPreview />}
346
+ <Stack.Screen name="icons grey">
347
+ {() => <IconOutlineGreyPreview />}
362
348
  </Stack.Screen>
363
- <Stack.Screen name="timeline">
364
- {() => <TimeLinePreview />}
349
+ <Stack.Screen name="icons solid">
350
+ {() => <IconSolidPreview />}
365
351
  </Stack.Screen>
366
- <Stack.Screen name="filter-range">
367
- {() => <FilterRangePreview />}
352
+ <Stack.Screen name="icons white">
353
+ {() => <IconOutlineWhitePreview />}
368
354
  </Stack.Screen>
369
- <Stack.Screen name="day-select">
370
- {() => <DaySelectPreview />}
355
+ <Stack.Screen name="image-bubble">
356
+ {() => <ImageBubblePreview />}
371
357
  </Stack.Screen>
372
358
  <Stack.Screen name="increment-input">
373
359
  {() => <IncrementInputPreview />}
374
360
  </Stack.Screen>
375
- <Stack.Screen name="swiper">{() => <SwipePreview />}</Stack.Screen>
361
+ <Stack.Screen name="info">{() => <InfoPreview />}</Stack.Screen>
362
+ <Stack.Screen name="language-button">
363
+ {() => <LanguageButtonPreview />}
364
+ </Stack.Screen>
365
+ <Stack.Screen name="loading-indicator">
366
+ {() => <LoadingIndicatorPreview />}
367
+ </Stack.Screen>
376
368
  <Stack.Screen name="logo">{() => <LogoPreview />}</Stack.Screen>
377
- <Stack.Screen name="contact-role">
378
- {() => <ContactRolePreview />}
369
+ <Stack.Screen name="message-input">
370
+ {() => <MessageInputPreview />}
379
371
  </Stack.Screen>
380
- <Stack.Screen name="search">{() => <SearchPreview />}</Stack.Screen>
381
- <Stack.Screen name="blocked-message">
382
- {() => <BlockedMessagePreview />}
372
+ <Stack.Screen name="modal">{() => <ModalPreview />}</Stack.Screen>
373
+ <Stack.Screen name="more-info-button">
374
+ {() => <MoreInfoButtonPreview />}
383
375
  </Stack.Screen>
384
- <Stack.Screen name="departmentLogo">
385
- {() => <DepartmentLogoPreview />}
376
+ <Stack.Screen name="my-child-list-item">
377
+ {() => <MyChildListItemPreview />}
386
378
  </Stack.Screen>
387
- <Stack.Screen name="calendar-select">
388
- {() => <CalendarSelectPreview />}
379
+ <Stack.Screen name="paragraphs">
380
+ {() => <ParagraphComponentsPreview />}
389
381
  </Stack.Screen>
390
382
  <Stack.Screen name="password-input">
391
383
  {() => <PasswordInputPreview />}
392
384
  </Stack.Screen>
393
- <Stack.Screen name="footer">{() => <FooterPreview />}</Stack.Screen>
394
- <Stack.Screen name="default-select">
395
- {() => <DefaultSelectPreview />}
396
- </Stack.Screen>
397
- <Stack.Screen name="message-input">
398
- {() => <MessageInputPreview />}
385
+ <Stack.Screen name="person-info-card">
386
+ {() => <PersonInfoCardPreview />}
399
387
  </Stack.Screen>
400
- <Stack.Screen name="headings">
401
- {() => <HeadingsPreview />}
388
+ <Stack.Screen name="pill">{() => <PillPreview />}</Stack.Screen>
389
+ <Stack.Screen name="popover" options={{headerShown: false}}>
390
+ {() => <PopoverPreview />}
402
391
  </Stack.Screen>
403
- <Stack.Screen name="paragraphs">
404
- {() => <ParagraphComponentsPreview />}
392
+ <Stack.Screen name="pressable-icon">
393
+ {() => <PressableIconPreview />}
405
394
  </Stack.Screen>
406
- <Stack.Screen name="my-child-list-item">
407
- {() => <MyChildListItemPreview />}
395
+ <Stack.Screen name="quick-filter">
396
+ {() => <QuickFilterPreview />}
408
397
  </Stack.Screen>
398
+ <Stack.Screen name="search">{() => <SearchPreview />}</Stack.Screen>
409
399
  <Stack.Screen name="select-link">
410
400
  {() => <SelectLinkPreview />}
411
401
  </Stack.Screen>
412
- <Stack.Screen name="more-info-button">
413
- {() => <MoreInfoButtonPreview />}
414
- </Stack.Screen>
415
- <Stack.Screen name="language-button">
416
- {() => <LanguageButtonPreview />}
402
+ <Stack.Screen name="select-list-item">
403
+ {() => <SelectListItemPreview />}
417
404
  </Stack.Screen>
418
- <Stack.Screen name="modal">{() => <ModalPreview />}</Stack.Screen>
419
- <Stack.Screen name="wave">
420
- {() => <WaveBackgroundPreview />}
405
+ <Stack.Screen name="select-picker">
406
+ {() => <SelectPickerPreview />}
421
407
  </Stack.Screen>
422
- <Stack.Screen name="loading-indicator">
423
- {() => <LoadingIndicatorPreview />}
408
+ <Stack.Screen name="snackbar">
409
+ {() => <SnackbarPreview />}
424
410
  </Stack.Screen>
425
- <Stack.Screen name="toddle-datetime">
426
- {() => <ToddleDateTimePreview />}
411
+ <Stack.Screen name="split-container">
412
+ {() => <SplitContainerPreview />}
427
413
  </Stack.Screen>
428
- <Stack.Screen name="background-gradient">
429
- {() => <BackgroundGradientPreview />}
414
+ <Stack.Screen name="swiper">{() => <SwipePreview />}</Stack.Screen>
415
+ <Stack.Screen name="tag">{() => <TagPreview />}</Stack.Screen>
416
+ <Stack.Screen name="textBubble">
417
+ {() => <TextBubblePreview />}
430
418
  </Stack.Screen>
431
- <Stack.Screen name="person-info-card">
432
- {() => <PersonInfoCardPreview />}
419
+ <Stack.Screen name="textInputs">
420
+ {() => <TextInputPreview />}
433
421
  </Stack.Screen>
434
422
  <Stack.Screen name="time-picker">
435
423
  {() => <TimePickerPreview />}
436
424
  </Stack.Screen>
425
+ <Stack.Screen name="time-tracker">
426
+ {() => <TimeTrackerPreview />}
427
+ </Stack.Screen>
428
+ <Stack.Screen name="timeline">
429
+ {() => <TimeLinePreview />}
430
+ </Stack.Screen>
431
+ <Stack.Screen name="toddle-datetime">
432
+ {() => <ToddleDateTimePreview />}
433
+ </Stack.Screen>
434
+ <Stack.Screen name="wave">
435
+ {() => <WaveBackgroundPreview />}
436
+ </Stack.Screen>
437
+ <Stack.Screen name="wide-button">
438
+ {() => <WideButtonPreview />}
439
+ </Stack.Screen>
437
440
  </Stack.Navigator>
438
441
  </NavigationContainer>
439
442
  </ThemeCtx.Provider>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tactics/toddle-styleguide",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "main": "index.tsx",
5
5
  "types": "index.d.ts",
6
6
  "prepublish": "tsc",