@hero-design/rn 8.27.1 → 8.27.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 (45) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/es/index.js +44 -76
  3. package/lib/index.js +44 -76
  4. package/package.json +5 -5
  5. package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +4 -0
  6. package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +6 -0
  7. package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +6 -6
  8. package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +4 -4
  9. package/src/components/Collapse/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
  10. package/src/components/Collapse/index.tsx +25 -4
  11. package/src/components/DatePicker/DatePickerIOS.tsx +19 -1
  12. package/src/components/DatePicker/__tests__/DatePickerIOS.spec.tsx +25 -1
  13. package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +9 -9
  14. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +3 -3
  15. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +3 -3
  16. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +3 -3
  17. package/src/components/FAB/ActionGroup/StyledActionGroup.tsx +3 -17
  18. package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +1065 -557
  19. package/src/components/FAB/ActionGroup/__tests__/index.spec.tsx +15 -9
  20. package/src/components/FAB/ActionGroup/index.tsx +35 -97
  21. package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +2 -2
  22. package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +3 -3
  23. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +14 -14
  24. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +14 -14
  25. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +3 -3
  26. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +1 -1
  27. package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +1 -1
  28. package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
  29. package/src/components/Tag/StyledTag.tsx +1 -0
  30. package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +19 -10
  31. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +1 -1
  32. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +24 -24
  33. package/src/components/TextInput/index.tsx +1 -1
  34. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +4 -4
  35. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +4 -4
  36. package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +2 -2
  37. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +10 -8
  38. package/src/theme/components/fab.ts +0 -1
  39. package/src/theme/components/tag.ts +5 -2
  40. package/src/theme/global/typography.ts +2 -2
  41. package/types/components/Collapse/index.d.ts +1 -1
  42. package/types/components/DatePicker/DatePickerIOS.d.ts +1 -0
  43. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +1 -7
  44. package/types/theme/components/fab.d.ts +0 -1
  45. package/types/theme/components/tag.d.ts +3 -0
@@ -10,7 +10,7 @@ exports[`Tag renders correctly when variant is filled and intent is danger 1`] =
10
10
  "borderRadius": 4,
11
11
  "borderWidth": 1,
12
12
  "paddingHorizontal": 8,
13
- "paddingVertical": 2,
13
+ "paddingVertical": 4,
14
14
  },
15
15
  undefined,
16
16
  ]
@@ -35,6 +35,7 @@ exports[`Tag renders correctly when variant is filled and intent is danger 1`] =
35
35
  "fontFamily": "BeVietnamPro-SemiBold",
36
36
  "fontSize": 12,
37
37
  "includeFontPadding": false,
38
+ "lineHeight": 16,
38
39
  "textAlign": "center",
39
40
  "textAlignVertical": "center",
40
41
  },
@@ -63,7 +64,7 @@ exports[`Tag renders correctly when variant is filled and intent is info 1`] = `
63
64
  "borderRadius": 4,
64
65
  "borderWidth": 1,
65
66
  "paddingHorizontal": 8,
66
- "paddingVertical": 2,
67
+ "paddingVertical": 4,
67
68
  },
68
69
  undefined,
69
70
  ]
@@ -88,6 +89,7 @@ exports[`Tag renders correctly when variant is filled and intent is info 1`] = `
88
89
  "fontFamily": "BeVietnamPro-SemiBold",
89
90
  "fontSize": 12,
90
91
  "includeFontPadding": false,
92
+ "lineHeight": 16,
91
93
  "textAlign": "center",
92
94
  "textAlignVertical": "center",
93
95
  },
@@ -116,7 +118,7 @@ exports[`Tag renders correctly when variant is filled and intent is primary 1`]
116
118
  "borderRadius": 4,
117
119
  "borderWidth": 1,
118
120
  "paddingHorizontal": 8,
119
- "paddingVertical": 2,
121
+ "paddingVertical": 4,
120
122
  },
121
123
  undefined,
122
124
  ]
@@ -141,6 +143,7 @@ exports[`Tag renders correctly when variant is filled and intent is primary 1`]
141
143
  "fontFamily": "BeVietnamPro-SemiBold",
142
144
  "fontSize": 12,
143
145
  "includeFontPadding": false,
146
+ "lineHeight": 16,
144
147
  "textAlign": "center",
145
148
  "textAlignVertical": "center",
146
149
  },
@@ -169,7 +172,7 @@ exports[`Tag renders correctly when variant is filled and intent is warning 1`]
169
172
  "borderRadius": 4,
170
173
  "borderWidth": 1,
171
174
  "paddingHorizontal": 8,
172
- "paddingVertical": 2,
175
+ "paddingVertical": 4,
173
176
  },
174
177
  undefined,
175
178
  ]
@@ -194,6 +197,7 @@ exports[`Tag renders correctly when variant is filled and intent is warning 1`]
194
197
  "fontFamily": "BeVietnamPro-SemiBold",
195
198
  "fontSize": 12,
196
199
  "includeFontPadding": false,
200
+ "lineHeight": 16,
197
201
  "textAlign": "center",
198
202
  "textAlignVertical": "center",
199
203
  },
@@ -222,7 +226,7 @@ exports[`Tag renders correctly when variant is outlined and intent is danger 1`]
222
226
  "borderRadius": 4,
223
227
  "borderWidth": 1,
224
228
  "paddingHorizontal": 8,
225
- "paddingVertical": 2,
229
+ "paddingVertical": 4,
226
230
  },
227
231
  undefined,
228
232
  ]
@@ -247,6 +251,7 @@ exports[`Tag renders correctly when variant is outlined and intent is danger 1`]
247
251
  "fontFamily": "BeVietnamPro-SemiBold",
248
252
  "fontSize": 12,
249
253
  "includeFontPadding": false,
254
+ "lineHeight": 16,
250
255
  "textAlign": "center",
251
256
  "textAlignVertical": "center",
252
257
  },
@@ -275,7 +280,7 @@ exports[`Tag renders correctly when variant is outlined and intent is info 1`] =
275
280
  "borderRadius": 4,
276
281
  "borderWidth": 1,
277
282
  "paddingHorizontal": 8,
278
- "paddingVertical": 2,
283
+ "paddingVertical": 4,
279
284
  },
280
285
  undefined,
281
286
  ]
@@ -300,6 +305,7 @@ exports[`Tag renders correctly when variant is outlined and intent is info 1`] =
300
305
  "fontFamily": "BeVietnamPro-SemiBold",
301
306
  "fontSize": 12,
302
307
  "includeFontPadding": false,
308
+ "lineHeight": 16,
303
309
  "textAlign": "center",
304
310
  "textAlignVertical": "center",
305
311
  },
@@ -328,7 +334,7 @@ exports[`Tag renders correctly when variant is outlined and intent is primary 1`
328
334
  "borderRadius": 4,
329
335
  "borderWidth": 1,
330
336
  "paddingHorizontal": 8,
331
- "paddingVertical": 2,
337
+ "paddingVertical": 4,
332
338
  },
333
339
  undefined,
334
340
  ]
@@ -353,6 +359,7 @@ exports[`Tag renders correctly when variant is outlined and intent is primary 1`
353
359
  "fontFamily": "BeVietnamPro-SemiBold",
354
360
  "fontSize": 12,
355
361
  "includeFontPadding": false,
362
+ "lineHeight": 16,
356
363
  "textAlign": "center",
357
364
  "textAlignVertical": "center",
358
365
  },
@@ -381,7 +388,7 @@ exports[`Tag renders correctly when variant is outlined and intent is success 1`
381
388
  "borderRadius": 4,
382
389
  "borderWidth": 1,
383
390
  "paddingHorizontal": 8,
384
- "paddingVertical": 2,
391
+ "paddingVertical": 4,
385
392
  },
386
393
  undefined,
387
394
  ]
@@ -406,6 +413,7 @@ exports[`Tag renders correctly when variant is outlined and intent is success 1`
406
413
  "fontFamily": "BeVietnamPro-SemiBold",
407
414
  "fontSize": 12,
408
415
  "includeFontPadding": false,
416
+ "lineHeight": 16,
409
417
  "textAlign": "center",
410
418
  "textAlignVertical": "center",
411
419
  },
@@ -434,7 +442,7 @@ exports[`Tag renders correctly when variant is outlined and intent is warning 1`
434
442
  "borderRadius": 4,
435
443
  "borderWidth": 1,
436
444
  "paddingHorizontal": 8,
437
- "paddingVertical": 2,
445
+ "paddingVertical": 4,
438
446
  },
439
447
  undefined,
440
448
  ]
@@ -459,6 +467,7 @@ exports[`Tag renders correctly when variant is outlined and intent is warning 1`
459
467
  "fontFamily": "BeVietnamPro-SemiBold",
460
468
  "fontSize": 12,
461
469
  "includeFontPadding": false,
470
+ "lineHeight": 16,
462
471
  "textAlign": "center",
463
472
  "textAlignVertical": "center",
464
473
  },
@@ -487,7 +496,7 @@ exports[`Tag renders correctly with custom content 1`] = `
487
496
  "borderRadius": 4,
488
497
  "borderWidth": 1,
489
498
  "paddingHorizontal": 8,
490
- "paddingVertical": 2,
499
+ "paddingVertical": 4,
491
500
  },
492
501
  undefined,
493
502
  ]
@@ -170,7 +170,7 @@ exports[`LabelContainer renders correctly 1`] = `
170
170
  "left": 16,
171
171
  "paddingHorizontal": 4,
172
172
  "position": "absolute",
173
- "top": -5,
173
+ "top": -4,
174
174
  "zIndex": 1,
175
175
  },
176
176
  undefined,
@@ -62,7 +62,7 @@ exports[`TextInput backgroundColor renders correctly 1`] = `
62
62
  "left": 16,
63
63
  "paddingHorizontal": 4,
64
64
  "position": "absolute",
65
- "top": -5,
65
+ "top": -4,
66
66
  "zIndex": 1,
67
67
  },
68
68
  Object {
@@ -259,7 +259,7 @@ exports[`TextInput backgroundColor renders correctly 1`] = `
259
259
  "fontFamily": "BeVietnamPro-Regular",
260
260
  "fontSize": 12,
261
261
  "letterSpacing": 0.36,
262
- "lineHeight": 20,
262
+ "lineHeight": 16,
263
263
  },
264
264
  Array [
265
265
  Object {
@@ -352,7 +352,7 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
352
352
  "left": 16,
353
353
  "paddingHorizontal": 4,
354
354
  "position": "absolute",
355
- "top": -5,
355
+ "top": -4,
356
356
  "zIndex": 1,
357
357
  },
358
358
  Object {
@@ -548,7 +548,7 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
548
548
  "fontFamily": "BeVietnamPro-Regular",
549
549
  "fontSize": 12,
550
550
  "letterSpacing": 0.36,
551
- "lineHeight": 20,
551
+ "lineHeight": 16,
552
552
  },
553
553
  Array [
554
554
  Object {
@@ -641,7 +641,7 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
641
641
  "left": 16,
642
642
  "paddingHorizontal": 4,
643
643
  "position": "absolute",
644
- "top": -5,
644
+ "top": -4,
645
645
  "zIndex": 1,
646
646
  },
647
647
  Object {
@@ -838,7 +838,7 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
838
838
  "fontFamily": "BeVietnamPro-Regular",
839
839
  "fontSize": 12,
840
840
  "letterSpacing": 0.36,
841
- "lineHeight": 20,
841
+ "lineHeight": 16,
842
842
  },
843
843
  Array [
844
844
  Object {
@@ -932,7 +932,7 @@ exports[`TextInput disabled renders correctly 1`] = `
932
932
  "left": 16,
933
933
  "paddingHorizontal": 4,
934
934
  "position": "absolute",
935
- "top": -5,
935
+ "top": -4,
936
936
  "zIndex": 1,
937
937
  },
938
938
  Object {
@@ -1427,7 +1427,7 @@ exports[`TextInput filled renders correctly 1`] = `
1427
1427
  "left": 16,
1428
1428
  "paddingHorizontal": 4,
1429
1429
  "position": "absolute",
1430
- "top": -5,
1430
+ "top": -4,
1431
1431
  "zIndex": 1,
1432
1432
  },
1433
1433
  Object {
@@ -1541,14 +1541,14 @@ exports[`TextInput filled renders correctly 1`] = `
1541
1541
  Array [
1542
1542
  Object {
1543
1543
  "color": "#001f23",
1544
- "fontSize": 16,
1544
+ "fontSize": 24,
1545
1545
  },
1546
1546
  undefined,
1547
1547
  ]
1548
1548
  }
1549
1549
  testID="input-suffix"
1550
1550
  themeIntent="text"
1551
- themeSize="xsmall"
1551
+ themeSize="medium"
1552
1552
  />
1553
1553
  </View>
1554
1554
  <View
@@ -2006,14 +2006,14 @@ exports[`TextInput idle renders correctly 1`] = `
2006
2006
  Array [
2007
2007
  Object {
2008
2008
  "color": "#001f23",
2009
- "fontSize": 16,
2009
+ "fontSize": 24,
2010
2010
  },
2011
2011
  undefined,
2012
2012
  ]
2013
2013
  }
2014
2014
  testID="input-suffix"
2015
2015
  themeIntent="text"
2016
- themeSize="xsmall"
2016
+ themeSize="medium"
2017
2017
  />
2018
2018
  </View>
2019
2019
  <View
@@ -2418,14 +2418,14 @@ exports[`TextInput loading renders correctly 1`] = `
2418
2418
  Array [
2419
2419
  Object {
2420
2420
  "color": "#001f23",
2421
- "fontSize": 16,
2421
+ "fontSize": 24,
2422
2422
  },
2423
2423
  undefined,
2424
2424
  ]
2425
2425
  }
2426
2426
  testID="input-suffix"
2427
2427
  themeIntent="text"
2428
- themeSize="xsmall"
2428
+ themeSize="medium"
2429
2429
  />
2430
2430
  </View>
2431
2431
  </View>
@@ -2517,7 +2517,7 @@ exports[`TextInput max length renders correctly 1`] = `
2517
2517
  "left": 16,
2518
2518
  "paddingHorizontal": 4,
2519
2519
  "position": "absolute",
2520
- "top": -5,
2520
+ "top": -4,
2521
2521
  "zIndex": 1,
2522
2522
  },
2523
2523
  Object {
@@ -2732,7 +2732,7 @@ exports[`TextInput max length renders correctly 1`] = `
2732
2732
  "fontFamily": "BeVietnamPro-Regular",
2733
2733
  "fontSize": 12,
2734
2734
  "letterSpacing": 0.36,
2735
- "lineHeight": 20,
2735
+ "lineHeight": 16,
2736
2736
  },
2737
2737
  Array [
2738
2738
  Object {
@@ -2825,7 +2825,7 @@ exports[`TextInput max length renders correctly with hide character count 1`] =
2825
2825
  "left": 16,
2826
2826
  "paddingHorizontal": 4,
2827
2827
  "position": "absolute",
2828
- "top": -5,
2828
+ "top": -4,
2829
2829
  "zIndex": 1,
2830
2830
  },
2831
2831
  Object {
@@ -3349,7 +3349,7 @@ exports[`TextInput readonly renders correctly 1`] = `
3349
3349
  "left": 16,
3350
3350
  "paddingHorizontal": 4,
3351
3351
  "position": "absolute",
3352
- "top": -5,
3352
+ "top": -4,
3353
3353
  "zIndex": 1,
3354
3354
  },
3355
3355
  Object {
@@ -3492,14 +3492,14 @@ exports[`TextInput readonly renders correctly 1`] = `
3492
3492
  Array [
3493
3493
  Object {
3494
3494
  "color": "#001f23",
3495
- "fontSize": 16,
3495
+ "fontSize": 24,
3496
3496
  },
3497
3497
  undefined,
3498
3498
  ]
3499
3499
  }
3500
3500
  testID="input-suffix"
3501
3501
  themeIntent="text"
3502
- themeSize="xsmall"
3502
+ themeSize="medium"
3503
3503
  />
3504
3504
  </View>
3505
3505
  <View
@@ -3590,7 +3590,7 @@ exports[`TextInput ref ref methods work correctly 1`] = `
3590
3590
  "left": 16,
3591
3591
  "paddingHorizontal": 4,
3592
3592
  "position": "absolute",
3593
- "top": -5,
3593
+ "top": -4,
3594
3594
  "zIndex": 1,
3595
3595
  },
3596
3596
  Object {
@@ -3913,14 +3913,14 @@ exports[`TextInput required renders correctly 1`] = `
3913
3913
  Array [
3914
3914
  Object {
3915
3915
  "color": "#001f23",
3916
- "fontSize": 16,
3916
+ "fontSize": 24,
3917
3917
  },
3918
3918
  undefined,
3919
3919
  ]
3920
3920
  }
3921
3921
  testID="input-suffix"
3922
3922
  themeIntent="text"
3923
- themeSize="xsmall"
3923
+ themeSize="medium"
3924
3924
  />
3925
3925
  </View>
3926
3926
  <View
@@ -4011,7 +4011,7 @@ exports[`TextInput variants renders textarea variant correctly 1`] = `
4011
4011
  "left": 16,
4012
4012
  "paddingHorizontal": 4,
4013
4013
  "position": "absolute",
4014
- "top": -5,
4014
+ "top": -4,
4015
4015
  "zIndex": 1,
4016
4016
  },
4017
4017
  Object {
@@ -373,7 +373,7 @@ const TextInput = forwardRef<TextInputHandles, TextInputProps>(
373
373
  testID="input-suffix"
374
374
  icon={actualSuffix}
375
375
  spin={actualSuffix === 'loading'}
376
- size="xsmall"
376
+ size="medium"
377
377
  />
378
378
  ) : (
379
379
  suffix
@@ -88,7 +88,7 @@ exports[`TimePickerAndroid renders correct with hide suffix 1`] = `
88
88
  "left": 16,
89
89
  "paddingHorizontal": 4,
90
90
  "position": "absolute",
91
- "top": -5,
91
+ "top": -4,
92
92
  "zIndex": 1,
93
93
  },
94
94
  Object {
@@ -325,7 +325,7 @@ exports[`TimePickerAndroid renders correctly 1`] = `
325
325
  "left": 16,
326
326
  "paddingHorizontal": 4,
327
327
  "position": "absolute",
328
- "top": -5,
328
+ "top": -4,
329
329
  "zIndex": 1,
330
330
  },
331
331
  Object {
@@ -424,14 +424,14 @@ exports[`TimePickerAndroid renders correctly 1`] = `
424
424
  Array [
425
425
  Object {
426
426
  "color": "#001f23",
427
- "fontSize": 16,
427
+ "fontSize": 24,
428
428
  },
429
429
  undefined,
430
430
  ]
431
431
  }
432
432
  testID="input-suffix"
433
433
  themeIntent="text"
434
- themeSize="xsmall"
434
+ themeSize="medium"
435
435
  />
436
436
  </View>
437
437
  <View
@@ -88,7 +88,7 @@ exports[`TimePickerIOS renders correct with hide suffix 1`] = `
88
88
  "left": 16,
89
89
  "paddingHorizontal": 4,
90
90
  "position": "absolute",
91
- "top": -5,
91
+ "top": -4,
92
92
  "zIndex": 1,
93
93
  },
94
94
  Object {
@@ -325,7 +325,7 @@ exports[`TimePickerIOS renders correctly 1`] = `
325
325
  "left": 16,
326
326
  "paddingHorizontal": 4,
327
327
  "position": "absolute",
328
- "top": -5,
328
+ "top": -4,
329
329
  "zIndex": 1,
330
330
  },
331
331
  Object {
@@ -424,14 +424,14 @@ exports[`TimePickerIOS renders correctly 1`] = `
424
424
  Array [
425
425
  Object {
426
426
  "color": "#001f23",
427
- "fontSize": 16,
427
+ "fontSize": 24,
428
428
  },
429
429
  undefined,
430
430
  ]
431
431
  }
432
432
  testID="input-suffix"
433
433
  themeIntent="text"
434
- themeSize="xsmall"
434
+ themeSize="medium"
435
435
  />
436
436
  </View>
437
437
  <View
@@ -285,7 +285,7 @@ exports[`StyledText has small fontSize style 1`] = `
285
285
  "fontFamily": "BeVietnamPro-Regular",
286
286
  "fontSize": 12,
287
287
  "letterSpacing": 0.36,
288
- "lineHeight": 20,
288
+ "lineHeight": 16,
289
289
  },
290
290
  undefined,
291
291
  ]
@@ -400,7 +400,7 @@ exports[`StyledText has xsmall fontSize style 1`] = `
400
400
  "fontFamily": "BeVietnamPro-Regular",
401
401
  "fontSize": 10,
402
402
  "letterSpacing": 0.3,
403
- "lineHeight": 18,
403
+ "lineHeight": 14,
404
404
  },
405
405
  undefined,
406
406
  ]
@@ -123,7 +123,7 @@ Object {
123
123
  "default": "BeVietnamPro-SemiBold",
124
124
  },
125
125
  "lineHeights": Object {
126
- "default": 20,
126
+ "default": 16,
127
127
  },
128
128
  "sizes": Object {
129
129
  "height": 20,
@@ -512,7 +512,6 @@ Object {
512
512
  "containerPadding": 20,
513
513
  "headerTextMarginBottom": 24,
514
514
  "headerTextMarginRight": 24,
515
- "internalFABMarginBottom": 24,
516
515
  "titleMarginHorizontal": 8,
517
516
  },
518
517
  },
@@ -921,12 +920,15 @@ Object {
921
920
  "fonts": Object {
922
921
  "default": "BeVietnamPro-SemiBold",
923
922
  },
923
+ "lineHeights": Object {
924
+ "default": 16,
925
+ },
924
926
  "radii": Object {
925
927
  "default": 4,
926
928
  },
927
929
  "space": Object {
928
930
  "horizontalPadding": 8,
929
- "verticalPadding": 2,
931
+ "verticalPadding": 4,
930
932
  },
931
933
  },
932
934
  "textInput": Object {
@@ -1010,7 +1012,7 @@ Object {
1010
1012
  "labelInsideTextInputMarginTop": -2,
1011
1013
  "labelLeft": 16,
1012
1014
  "labelPaddingBottom": 8,
1013
- "labelTop": -5,
1015
+ "labelTop": -4,
1014
1016
  "maxLengthLabelMarginLeft": 4,
1015
1017
  },
1016
1018
  },
@@ -1129,9 +1131,9 @@ Object {
1129
1131
  "7xlarge": 50,
1130
1132
  "large": 24,
1131
1133
  "medium": 22,
1132
- "small": 20,
1134
+ "small": 16,
1133
1135
  "xlarge": 26,
1134
- "xsmall": 18,
1136
+ "xsmall": 14,
1135
1137
  "xxxlarge": 32,
1136
1138
  "xxxxlarge": 36,
1137
1139
  "xxxxxlarge": 40,
@@ -1216,9 +1218,9 @@ Object {
1216
1218
  "7xlarge": 50,
1217
1219
  "large": 24,
1218
1220
  "medium": 22,
1219
- "small": 20,
1221
+ "small": 16,
1220
1222
  "xlarge": 26,
1221
- "xsmall": 18,
1223
+ "xsmall": 14,
1222
1224
  "xxlarge": 28,
1223
1225
  "xxxlarge": 32,
1224
1226
  "xxxxlarge": 36,
@@ -58,7 +58,6 @@ const getFABTheme = (theme: GlobalTheme) => {
58
58
  headerTextMarginBottom: theme.space.large,
59
59
  containerPadding: theme.space.large - theme.space.xsmall,
60
60
  titleMarginHorizontal: theme.space.small,
61
- internalFABMarginBottom: theme.space.large,
62
61
  };
63
62
 
64
63
  const radii = {
@@ -28,17 +28,20 @@ const getTagTheme = (theme: GlobalTheme) => {
28
28
  const fontSizes = {
29
29
  default: theme.fontSizes.small,
30
30
  };
31
+ const lineHeights = {
32
+ default: theme.lineHeights.small,
33
+ };
31
34
 
32
35
  const space = {
33
36
  horizontalPadding: theme.space.small,
34
- verticalPadding: theme.space.xxsmall,
37
+ verticalPadding: theme.space.xsmall,
35
38
  };
36
39
 
37
40
  const radii = {
38
41
  default: theme.radii.base,
39
42
  };
40
43
 
41
- return { borderWidths, colors, fonts, fontSizes, space, radii };
44
+ return { borderWidths, colors, fonts, fontSizes, space, radii, lineHeights };
42
45
  };
43
46
 
44
47
  export default getTagTheme;
@@ -88,8 +88,8 @@ const getLineHeights = (fontSizes: FontSizes): LineHeights => {
88
88
  xlarge: fontSizes.xlarge + additionalSpace,
89
89
  large: fontSizes.large + additionalSpace,
90
90
  medium: fontSizes.medium + additionalSpace,
91
- small: fontSizes.small + additionalSpace,
92
- xsmall: fontSizes.xsmall + additionalSpace,
91
+ small: fontSizes.small + additionalSpace / 2,
92
+ xsmall: fontSizes.xsmall + additionalSpace / 2,
93
93
  };
94
94
  };
95
95
 
@@ -15,5 +15,5 @@ export interface CollapseProps extends ViewProps {
15
15
  */
16
16
  testID?: string;
17
17
  }
18
- declare const Collapse: ({ open, children, testID, style }: CollapseProps) => JSX.Element;
18
+ declare const Collapse: ({ open, children, testID, style, onLayout, }: CollapseProps) => JSX.Element;
19
19
  export default Collapse;
@@ -1,3 +1,4 @@
1
1
  import type { DatePickerProps } from './types';
2
+ export declare const getInitialDateValue: (value: Date, minDate?: Date | undefined, maxDate?: Date | undefined) => Date;
2
3
  declare const DatePickerIOS: ({ value, minDate, maxDate, label, placeholder, onChange, confirmLabel, displayFormat, disabled, required, error, helpText, style, testID, }: Omit<DatePickerProps, 'variant'>) => JSX.Element;
3
4
  export default DatePickerIOS;
@@ -28,10 +28,4 @@ declare const StyledHeaderText: import("@emotion/native").StyledComponent<TextPr
28
28
  theme?: import("@emotion/react").Theme | undefined;
29
29
  as?: import("react").ElementType<any> | undefined;
30
30
  }, {}, {}>;
31
- declare const StyledModalView: import("@emotion/native").StyledComponent<ViewProps & {
32
- theme?: import("@emotion/react").Theme | undefined;
33
- as?: import("react").ElementType<any> | undefined;
34
- }, {}, {
35
- ref?: import("react").Ref<View> | undefined;
36
- }>;
37
- export { StyledHeaderText, StyledBackdrop, StyledContainer, StyledActionGroupContainer, StyledFAB, StyledModalView, };
31
+ export { StyledHeaderText, StyledBackdrop, StyledContainer, StyledActionGroupContainer, StyledFAB, };
@@ -57,7 +57,6 @@ declare const getFABTheme: (theme: GlobalTheme) => {
57
57
  headerTextMarginBottom: number;
58
58
  containerPadding: number;
59
59
  titleMarginHorizontal: number;
60
- internalFABMarginBottom: number;
61
60
  };
62
61
  };
63
62
  export default getFABTheme;
@@ -31,5 +31,8 @@ declare const getTagTheme: (theme: GlobalTheme) => {
31
31
  radii: {
32
32
  default: number;
33
33
  };
34
+ lineHeights: {
35
+ default: number;
36
+ };
34
37
  };
35
38
  export default getTagTheme;