@hero-design/rn 8.1.0 → 8.2.1

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 (80) hide show
  1. package/.turbo/turbo-build.log +9 -9
  2. package/es/index.js +4179 -4058
  3. package/jest.config.js +1 -1
  4. package/lib/index.js +4179 -4058
  5. package/package.json +11 -12
  6. package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +0 -8
  7. package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +0 -12
  8. package/src/components/Alert/StyledAlert.tsx +4 -2
  9. package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +120 -5
  10. package/src/components/Alert/__tests__/index.spec.tsx +14 -0
  11. package/src/components/Alert/index.tsx +13 -3
  12. package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +0 -2
  13. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +5 -1
  14. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +45 -9
  15. package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +0 -1
  16. package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +16 -2
  17. package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +0 -6
  18. package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +0 -2
  19. package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +1 -278
  20. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +0 -70
  21. package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +0 -2
  22. package/src/components/Button/__tests__/__snapshots__/IconButton.spec.tsx.snap +0 -1
  23. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +5 -10
  24. package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +0 -5
  25. package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +0 -3
  26. package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +30 -6
  27. package/src/components/Collapse/__tests__/__snapshots__/StyledCollapse.spec.tsx.snap +0 -1
  28. package/src/components/Collapse/__tests__/__snapshots__/index.spec.tsx.snap +0 -2
  29. package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +20 -4
  30. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +7 -0
  31. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +14 -4
  32. package/src/components/Drawer/DragableDrawer/__tests__/__snapshots__/index.spec.tsx.snap +0 -1
  33. package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +0 -6
  34. package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +0 -14
  35. package/src/components/FAB/__tests__/__snapshots__/AnimatedFABIcon.spec.tsx.snap +0 -2
  36. package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +0 -1
  37. package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +0 -1
  38. package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +10 -2
  39. package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +30 -7
  40. package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +0 -4
  41. package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +0 -4
  42. package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
  43. package/src/components/PinInput/index.tsx +1 -0
  44. package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +0 -11
  45. package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +10 -2
  46. package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +15 -3
  47. package/src/components/RichTextEditor/__tests__/__snapshots__/EditorToolbar.spec.tsx.snap +0 -7
  48. package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +2 -0
  49. package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +5 -1
  50. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +60 -19
  51. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +539 -3057
  52. package/src/components/Select/MultiSelect/__tests__/index.spec.tsx +7 -2
  53. package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +5 -1
  54. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +60 -19
  55. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +491 -2745
  56. package/src/components/Select/SingleSelect/__tests__/index.spec.tsx +1 -1
  57. package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +0 -7
  58. package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +0 -28
  59. package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +0 -7
  60. package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +0 -3
  61. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +0 -3
  62. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +0 -1
  63. package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +0 -1
  64. package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +0 -2
  65. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +0 -11
  66. package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +0 -2
  67. package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +0 -4
  68. package/src/components/TextInput/StyledTextInput.tsx +2 -0
  69. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +6 -0
  70. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +19 -1
  71. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +13 -1
  72. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +20 -5
  73. package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +0 -13
  74. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +30 -6
  75. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +30 -6
  76. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +4 -0
  77. package/src/theme/components/textInput.ts +6 -1
  78. package/types/components/Alert/StyledAlert.d.ts +1 -0
  79. package/types/components/Alert/index.d.ts +5 -1
  80. package/types/theme/components/textInput.d.ts +4 -0
@@ -163,6 +163,7 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
163
163
  "alignSelf": "stretch",
164
164
  "flexGrow": 2,
165
165
  "fontSize": 14,
166
+ "lineHeight": 18,
166
167
  "marginHorizontal": 8,
167
168
  "paddingVertical": 0,
168
169
  "textAlignVertical": "center",
@@ -424,6 +425,7 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
424
425
  "alignSelf": "stretch",
425
426
  "flexGrow": 2,
426
427
  "fontSize": 14,
428
+ "lineHeight": 18,
427
429
  "marginHorizontal": 8,
428
430
  "paddingVertical": 0,
429
431
  "textAlignVertical": "center",
@@ -670,6 +672,7 @@ exports[`TextInput disabled renders correctly 1`] = `
670
672
  "alignSelf": "stretch",
671
673
  "flexGrow": 2,
672
674
  "fontSize": 14,
675
+ "lineHeight": 18,
673
676
  "marginHorizontal": 8,
674
677
  "paddingVertical": 0,
675
678
  "textAlignVertical": "center",
@@ -843,6 +846,7 @@ exports[`TextInput error renders correctly 1`] = `
843
846
  "alignItems": "center",
844
847
  "color": "#001f23",
845
848
  "fontSize": 14,
849
+ "lineHeight": 18,
846
850
  "textAlignVertical": "center",
847
851
  },
848
852
  undefined,
@@ -876,6 +880,7 @@ exports[`TextInput error renders correctly 1`] = `
876
880
  "alignSelf": "stretch",
877
881
  "flexGrow": 2,
878
882
  "fontSize": 14,
883
+ "lineHeight": 18,
879
884
  "marginHorizontal": 8,
880
885
  "paddingVertical": 0,
881
886
  "textAlignVertical": "center",
@@ -1108,6 +1113,7 @@ exports[`TextInput filled renders correctly 1`] = `
1108
1113
  "alignSelf": "stretch",
1109
1114
  "flexGrow": 2,
1110
1115
  "fontSize": 14,
1116
+ "lineHeight": 18,
1111
1117
  "marginHorizontal": 8,
1112
1118
  "paddingVertical": 0,
1113
1119
  "textAlignVertical": "center",
@@ -1296,6 +1302,7 @@ exports[`TextInput helper text renders correctly 1`] = `
1296
1302
  "alignItems": "center",
1297
1303
  "color": "#001f23",
1298
1304
  "fontSize": 14,
1305
+ "lineHeight": 18,
1299
1306
  "textAlignVertical": "center",
1300
1307
  },
1301
1308
  undefined,
@@ -1329,6 +1336,7 @@ exports[`TextInput helper text renders correctly 1`] = `
1329
1336
  "alignSelf": "stretch",
1330
1337
  "flexGrow": 2,
1331
1338
  "fontSize": 14,
1339
+ "lineHeight": 18,
1332
1340
  "marginHorizontal": 8,
1333
1341
  "paddingVertical": 0,
1334
1342
  "textAlignVertical": "center",
@@ -1502,6 +1510,7 @@ exports[`TextInput idle renders correctly 1`] = `
1502
1510
  "alignItems": "center",
1503
1511
  "color": "#001f23",
1504
1512
  "fontSize": 14,
1513
+ "lineHeight": 18,
1505
1514
  "textAlignVertical": "center",
1506
1515
  },
1507
1516
  undefined,
@@ -1535,6 +1544,7 @@ exports[`TextInput idle renders correctly 1`] = `
1535
1544
  "alignSelf": "stretch",
1536
1545
  "flexGrow": 2,
1537
1546
  "fontSize": 14,
1547
+ "lineHeight": 18,
1538
1548
  "marginHorizontal": 8,
1539
1549
  "paddingVertical": 0,
1540
1550
  "textAlignVertical": "center",
@@ -1722,6 +1732,7 @@ exports[`TextInput idle with suffix and prefix are React Element renders correct
1722
1732
  "alignItems": "center",
1723
1733
  "color": "#001f23",
1724
1734
  "fontSize": 14,
1735
+ "lineHeight": 18,
1725
1736
  "textAlignVertical": "center",
1726
1737
  },
1727
1738
  undefined,
@@ -1755,6 +1766,7 @@ exports[`TextInput idle with suffix and prefix are React Element renders correct
1755
1766
  "alignSelf": "stretch",
1756
1767
  "flexGrow": 2,
1757
1768
  "fontSize": 14,
1769
+ "lineHeight": 18,
1758
1770
  "marginHorizontal": 8,
1759
1771
  "paddingVertical": 0,
1760
1772
  "textAlignVertical": "center",
@@ -1900,6 +1912,7 @@ exports[`TextInput loading renders correctly 1`] = `
1900
1912
  "alignSelf": "stretch",
1901
1913
  "flexGrow": 2,
1902
1914
  "fontSize": 14,
1915
+ "lineHeight": 18,
1903
1916
  "marginHorizontal": 8,
1904
1917
  "paddingVertical": 0,
1905
1918
  "textAlignVertical": "center",
@@ -1914,7 +1927,6 @@ exports[`TextInput loading renders correctly 1`] = `
1914
1927
  </View>
1915
1928
  <View
1916
1929
  collapsable={false}
1917
- nativeID="animatedComponent"
1918
1930
  style={
1919
1931
  Object {
1920
1932
  "transform": Array [
@@ -2115,6 +2127,7 @@ exports[`TextInput max length renders correctly 1`] = `
2115
2127
  "alignSelf": "stretch",
2116
2128
  "flexGrow": 2,
2117
2129
  "fontSize": 14,
2130
+ "lineHeight": 18,
2118
2131
  "marginHorizontal": 8,
2119
2132
  "paddingVertical": 0,
2120
2133
  "textAlignVertical": "center",
@@ -2381,6 +2394,7 @@ exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
2381
2394
  "alignItems": "center",
2382
2395
  "color": "#001f23",
2383
2396
  "fontSize": 14,
2397
+ "lineHeight": 18,
2384
2398
  "textAlignVertical": "center",
2385
2399
  },
2386
2400
  undefined,
@@ -2414,6 +2428,7 @@ exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
2414
2428
  "alignSelf": "stretch",
2415
2429
  "flexGrow": 2,
2416
2430
  "fontSize": 14,
2431
+ "lineHeight": 18,
2417
2432
  "marginHorizontal": 8,
2418
2433
  "paddingVertical": 0,
2419
2434
  "textAlignVertical": "center",
@@ -2638,6 +2653,7 @@ exports[`TextInput readonly renders correctly 1`] = `
2638
2653
  "alignSelf": "stretch",
2639
2654
  "flexGrow": 2,
2640
2655
  "fontSize": 14,
2656
+ "lineHeight": 18,
2641
2657
  "marginHorizontal": 8,
2642
2658
  "paddingVertical": 0,
2643
2659
  "textAlignVertical": "center",
@@ -2826,6 +2842,7 @@ exports[`TextInput required renders correctly 1`] = `
2826
2842
  "alignItems": "center",
2827
2843
  "color": "#001f23",
2828
2844
  "fontSize": 14,
2845
+ "lineHeight": 18,
2829
2846
  "textAlignVertical": "center",
2830
2847
  },
2831
2848
  undefined,
@@ -2859,6 +2876,7 @@ exports[`TextInput required renders correctly 1`] = `
2859
2876
  "alignSelf": "stretch",
2860
2877
  "flexGrow": 2,
2861
2878
  "fontSize": 14,
2879
+ "lineHeight": 18,
2862
2880
  "marginHorizontal": 8,
2863
2881
  "paddingVertical": 0,
2864
2882
  "textAlignVertical": "center",
@@ -2,10 +2,14 @@
2
2
 
3
3
  exports[`TimePickerAndroid renders correct with hide suffix 1`] = `
4
4
  <View
5
+ accessibilityState={
6
+ Object {
7
+ "disabled": false,
8
+ }
9
+ }
5
10
  accessible={true}
6
11
  collapsable={false}
7
12
  focusable={true}
8
- nativeID="animatedComponent"
9
13
  onClick={[Function]}
10
14
  onResponderGrant={[Function]}
11
15
  onResponderMove={[Function]}
@@ -142,6 +146,7 @@ exports[`TimePickerAndroid renders correct with hide suffix 1`] = `
142
146
  "alignSelf": "stretch",
143
147
  "flexGrow": 2,
144
148
  "fontSize": 14,
149
+ "lineHeight": 18,
145
150
  "marginHorizontal": 8,
146
151
  "paddingVertical": 0,
147
152
  "textAlignVertical": "center",
@@ -210,7 +215,13 @@ exports[`TimePickerAndroid renders correct with hide suffix 1`] = `
210
215
 
211
216
  exports[`TimePickerAndroid renders correctly 1`] = `
212
217
  <View
218
+ accessibilityState={
219
+ Object {
220
+ "disabled": false,
221
+ }
222
+ }
213
223
  accessible={true}
224
+ collapsable={false}
214
225
  focusable={true}
215
226
  onClick={[Function]}
216
227
  onResponderGrant={[Function]}
@@ -348,6 +359,7 @@ exports[`TimePickerAndroid renders correctly 1`] = `
348
359
  "alignSelf": "stretch",
349
360
  "flexGrow": 2,
350
361
  "fontSize": 14,
362
+ "lineHeight": 18,
351
363
  "marginHorizontal": 8,
352
364
  "paddingVertical": 0,
353
365
  "textAlignVertical": "center",
@@ -2,10 +2,14 @@
2
2
 
3
3
  exports[`TimePickerIOS renders correct with hide suffix 1`] = `
4
4
  <View
5
+ accessibilityState={
6
+ Object {
7
+ "disabled": false,
8
+ }
9
+ }
5
10
  accessible={true}
6
11
  collapsable={false}
7
12
  focusable={true}
8
- nativeID="animatedComponent"
9
13
  onClick={[Function]}
10
14
  onResponderGrant={[Function]}
11
15
  onResponderMove={[Function]}
@@ -142,6 +146,7 @@ exports[`TimePickerIOS renders correct with hide suffix 1`] = `
142
146
  "alignSelf": "stretch",
143
147
  "flexGrow": 2,
144
148
  "fontSize": 14,
149
+ "lineHeight": 18,
145
150
  "marginHorizontal": 8,
146
151
  "paddingVertical": 0,
147
152
  "textAlignVertical": "center",
@@ -210,7 +215,13 @@ exports[`TimePickerIOS renders correct with hide suffix 1`] = `
210
215
 
211
216
  exports[`TimePickerIOS renders correctly 1`] = `
212
217
  <View
218
+ accessibilityState={
219
+ Object {
220
+ "disabled": false,
221
+ }
222
+ }
213
223
  accessible={true}
224
+ collapsable={false}
214
225
  focusable={true}
215
226
  onClick={[Function]}
216
227
  onResponderGrant={[Function]}
@@ -348,6 +359,7 @@ exports[`TimePickerIOS renders correctly 1`] = `
348
359
  "alignSelf": "stretch",
349
360
  "flexGrow": 2,
350
361
  "fontSize": 14,
362
+ "lineHeight": 18,
351
363
  "marginHorizontal": 8,
352
364
  "paddingVertical": 0,
353
365
  "textAlignVertical": "center",
@@ -405,6 +417,7 @@ exports[`TimePickerIOS renders correctly 1`] = `
405
417
  animationType="none"
406
418
  hardwareAccelerated={false}
407
419
  identifier={0}
420
+ onDismiss={[Function]}
408
421
  onRequestClose={[Function]}
409
422
  onStartShouldSetResponder={[Function]}
410
423
  presentationStyle="overFullScreen"
@@ -414,6 +427,7 @@ exports[`TimePickerIOS renders correctly 1`] = `
414
427
  }
415
428
  }
416
429
  transparent={true}
430
+ visible={true}
417
431
  >
418
432
  <View
419
433
  collapsable={false}
@@ -484,7 +498,6 @@ exports[`TimePickerIOS renders correctly 1`] = `
484
498
  accessible={true}
485
499
  collapsable={false}
486
500
  focusable={true}
487
- nativeID="animatedComponent"
488
501
  onBlur={[Function]}
489
502
  onClick={[Function]}
490
503
  onFocus={[Function]}
@@ -509,7 +522,6 @@ exports[`TimePickerIOS renders correctly 1`] = `
509
522
  <RCTSafeAreaView
510
523
  collapsable={false}
511
524
  emulateUnlessSupported={true}
512
- nativeID="animatedComponent"
513
525
  style={
514
526
  Object {
515
527
  "backgroundColor": "#ffffff",
@@ -598,7 +610,6 @@ exports[`TimePickerIOS renders correctly 1`] = `
598
610
  accessible={true}
599
611
  collapsable={false}
600
612
  focusable={true}
601
- nativeID="animatedComponent"
602
613
  onClick={[Function]}
603
614
  onResponderGrant={[Function]}
604
615
  onResponderMove={[Function]}
@@ -693,10 +704,14 @@ exports[`TimePickerIOS renders correctly 1`] = `
693
704
  }
694
705
  >
695
706
  <View
707
+ accessibilityState={
708
+ Object {
709
+ "disabled": false,
710
+ }
711
+ }
696
712
  accessible={true}
697
713
  collapsable={false}
698
714
  focusable={true}
699
- nativeID="animatedComponent"
700
715
  onClick={[Function]}
701
716
  onResponderGrant={[Function]}
702
717
  onResponderMove={[Function]}
@@ -3,7 +3,6 @@
3
3
  exports[`Toast Icon render custom icon correctly 1`] = `
4
4
  <View
5
5
  collapsable={false}
6
- nativeID="animatedComponent"
7
6
  style={
8
7
  Object {
9
8
  "backgroundColor": "#b5c3fd",
@@ -110,7 +109,6 @@ exports[`Toast Icon render custom icon correctly 1`] = `
110
109
  exports[`Toast renders correctly when intent is error 1`] = `
111
110
  <View
112
111
  collapsable={false}
113
- nativeID="animatedComponent"
114
112
  style={
115
113
  Object {
116
114
  "backgroundColor": "#f46363",
@@ -215,7 +213,6 @@ exports[`Toast renders correctly when intent is error 1`] = `
215
213
  accessible={true}
216
214
  collapsable={false}
217
215
  focusable={true}
218
- nativeID="animatedComponent"
219
216
  onClick={[Function]}
220
217
  onResponderGrant={[Function]}
221
218
  onResponderMove={[Function]}
@@ -259,7 +256,6 @@ exports[`Toast renders correctly when intent is error 1`] = `
259
256
  exports[`Toast renders correctly when intent is info 1`] = `
260
257
  <View
261
258
  collapsable={false}
262
- nativeID="animatedComponent"
263
259
  style={
264
260
  Object {
265
261
  "backgroundColor": "#b5c3fd",
@@ -364,7 +360,6 @@ exports[`Toast renders correctly when intent is info 1`] = `
364
360
  accessible={true}
365
361
  collapsable={false}
366
362
  focusable={true}
367
- nativeID="animatedComponent"
368
363
  onClick={[Function]}
369
364
  onResponderGrant={[Function]}
370
365
  onResponderMove={[Function]}
@@ -408,7 +403,6 @@ exports[`Toast renders correctly when intent is info 1`] = `
408
403
  exports[`Toast renders correctly when intent is notification 1`] = `
409
404
  <View
410
405
  collapsable={false}
411
- nativeID="animatedComponent"
412
406
  style={
413
407
  Object {
414
408
  "backgroundColor": "#ffffff",
@@ -486,7 +480,6 @@ exports[`Toast renders correctly when intent is notification 1`] = `
486
480
  accessible={true}
487
481
  collapsable={false}
488
482
  focusable={true}
489
- nativeID="animatedComponent"
490
483
  onClick={[Function]}
491
484
  onResponderGrant={[Function]}
492
485
  onResponderMove={[Function]}
@@ -530,7 +523,6 @@ exports[`Toast renders correctly when intent is notification 1`] = `
530
523
  exports[`Toast renders correctly when intent is snackbar 1`] = `
531
524
  <View
532
525
  collapsable={false}
533
- nativeID="animatedComponent"
534
526
  style={
535
527
  Object {
536
528
  "backgroundColor": "#001f23",
@@ -608,7 +600,6 @@ exports[`Toast renders correctly when intent is snackbar 1`] = `
608
600
  accessible={true}
609
601
  collapsable={false}
610
602
  focusable={true}
611
- nativeID="animatedComponent"
612
603
  onClick={[Function]}
613
604
  onResponderGrant={[Function]}
614
605
  onResponderMove={[Function]}
@@ -652,7 +643,6 @@ exports[`Toast renders correctly when intent is snackbar 1`] = `
652
643
  exports[`Toast renders correctly when intent is success 1`] = `
653
644
  <View
654
645
  collapsable={false}
655
- nativeID="animatedComponent"
656
646
  style={
657
647
  Object {
658
648
  "backgroundColor": "#5ace7d",
@@ -757,7 +747,6 @@ exports[`Toast renders correctly when intent is success 1`] = `
757
747
  accessible={true}
758
748
  collapsable={false}
759
749
  focusable={true}
760
- nativeID="animatedComponent"
761
750
  onClick={[Function]}
762
751
  onResponderGrant={[Function]}
763
752
  onResponderMove={[Function]}
@@ -801,7 +790,6 @@ exports[`Toast renders correctly when intent is success 1`] = `
801
790
  exports[`Toast renders correctly when intent is warning 1`] = `
802
791
  <View
803
792
  collapsable={false}
804
- nativeID="animatedComponent"
805
793
  style={
806
794
  Object {
807
795
  "backgroundColor": "#ffbe71",
@@ -906,7 +894,6 @@ exports[`Toast renders correctly when intent is warning 1`] = `
906
894
  accessible={true}
907
895
  collapsable={false}
908
896
  focusable={true}
909
- nativeID="animatedComponent"
910
897
  onClick={[Function]}
911
898
  onResponderGrant={[Function]}
912
899
  onResponderMove={[Function]}
@@ -16,10 +16,14 @@ exports[`ToolbarGroup renders correctly with when align is center 1`] = `
16
16
  }
17
17
  >
18
18
  <View
19
+ accessibilityState={
20
+ Object {
21
+ "disabled": false,
22
+ }
23
+ }
19
24
  accessible={true}
20
25
  collapsable={false}
21
26
  focusable={true}
22
- nativeID="animatedComponent"
23
27
  onClick={[Function]}
24
28
  onResponderGrant={[Function]}
25
29
  onResponderMove={[Function]}
@@ -73,10 +77,14 @@ exports[`ToolbarGroup renders correctly with when align is center 1`] = `
73
77
  </Text>
74
78
  </View>
75
79
  <View
80
+ accessibilityState={
81
+ Object {
82
+ "disabled": false,
83
+ }
84
+ }
76
85
  accessible={true}
77
86
  collapsable={false}
78
87
  focusable={true}
79
- nativeID="animatedComponent"
80
88
  onClick={[Function]}
81
89
  onResponderGrant={[Function]}
82
90
  onResponderMove={[Function]}
@@ -148,10 +156,14 @@ exports[`ToolbarGroup renders correctly with when align is left 1`] = `
148
156
  }
149
157
  >
150
158
  <View
159
+ accessibilityState={
160
+ Object {
161
+ "disabled": false,
162
+ }
163
+ }
151
164
  accessible={true}
152
165
  collapsable={false}
153
166
  focusable={true}
154
- nativeID="animatedComponent"
155
167
  onClick={[Function]}
156
168
  onResponderGrant={[Function]}
157
169
  onResponderMove={[Function]}
@@ -205,10 +217,14 @@ exports[`ToolbarGroup renders correctly with when align is left 1`] = `
205
217
  </Text>
206
218
  </View>
207
219
  <View
220
+ accessibilityState={
221
+ Object {
222
+ "disabled": false,
223
+ }
224
+ }
208
225
  accessible={true}
209
226
  collapsable={false}
210
227
  focusable={true}
211
- nativeID="animatedComponent"
212
228
  onClick={[Function]}
213
229
  onResponderGrant={[Function]}
214
230
  onResponderMove={[Function]}
@@ -280,10 +296,14 @@ exports[`ToolbarGroup renders correctly with when align is right 1`] = `
280
296
  }
281
297
  >
282
298
  <View
299
+ accessibilityState={
300
+ Object {
301
+ "disabled": false,
302
+ }
303
+ }
283
304
  accessible={true}
284
305
  collapsable={false}
285
306
  focusable={true}
286
- nativeID="animatedComponent"
287
307
  onClick={[Function]}
288
308
  onResponderGrant={[Function]}
289
309
  onResponderMove={[Function]}
@@ -337,10 +357,14 @@ exports[`ToolbarGroup renders correctly with when align is right 1`] = `
337
357
  </Text>
338
358
  </View>
339
359
  <View
360
+ accessibilityState={
361
+ Object {
362
+ "disabled": false,
363
+ }
364
+ }
340
365
  accessible={true}
341
366
  collapsable={false}
342
367
  focusable={true}
343
- nativeID="animatedComponent"
344
368
  onClick={[Function]}
345
369
  onResponderGrant={[Function]}
346
370
  onResponderMove={[Function]}
@@ -2,10 +2,14 @@
2
2
 
3
3
  exports[`ToolbarItems renders correctly when disabled 1`] = `
4
4
  <View
5
+ accessibilityState={
6
+ Object {
7
+ "disabled": true,
8
+ }
9
+ }
5
10
  accessible={true}
6
11
  collapsable={false}
7
12
  focusable={true}
8
- nativeID="animatedComponent"
9
13
  onClick={[Function]}
10
14
  onResponderGrant={[Function]}
11
15
  onResponderMove={[Function]}
@@ -62,10 +66,14 @@ exports[`ToolbarItems renders correctly when disabled 1`] = `
62
66
 
63
67
  exports[`ToolbarItems renders correctly when intent is danger 1`] = `
64
68
  <View
69
+ accessibilityState={
70
+ Object {
71
+ "disabled": false,
72
+ }
73
+ }
65
74
  accessible={true}
66
75
  collapsable={false}
67
76
  focusable={true}
68
- nativeID="animatedComponent"
69
77
  onClick={[Function]}
70
78
  onResponderGrant={[Function]}
71
79
  onResponderMove={[Function]}
@@ -122,10 +130,14 @@ exports[`ToolbarItems renders correctly when intent is danger 1`] = `
122
130
 
123
131
  exports[`ToolbarItems renders correctly when intent is info 1`] = `
124
132
  <View
133
+ accessibilityState={
134
+ Object {
135
+ "disabled": false,
136
+ }
137
+ }
125
138
  accessible={true}
126
139
  collapsable={false}
127
140
  focusable={true}
128
- nativeID="animatedComponent"
129
141
  onClick={[Function]}
130
142
  onResponderGrant={[Function]}
131
143
  onResponderMove={[Function]}
@@ -182,10 +194,14 @@ exports[`ToolbarItems renders correctly when intent is info 1`] = `
182
194
 
183
195
  exports[`ToolbarItems renders correctly when intent is primary 1`] = `
184
196
  <View
197
+ accessibilityState={
198
+ Object {
199
+ "disabled": false,
200
+ }
201
+ }
185
202
  accessible={true}
186
203
  collapsable={false}
187
204
  focusable={true}
188
- nativeID="animatedComponent"
189
205
  onClick={[Function]}
190
206
  onResponderGrant={[Function]}
191
207
  onResponderMove={[Function]}
@@ -242,10 +258,14 @@ exports[`ToolbarItems renders correctly when intent is primary 1`] = `
242
258
 
243
259
  exports[`ToolbarItems renders correctly when intent is success 1`] = `
244
260
  <View
261
+ accessibilityState={
262
+ Object {
263
+ "disabled": false,
264
+ }
265
+ }
245
266
  accessible={true}
246
267
  collapsable={false}
247
268
  focusable={true}
248
- nativeID="animatedComponent"
249
269
  onClick={[Function]}
250
270
  onResponderGrant={[Function]}
251
271
  onResponderMove={[Function]}
@@ -302,10 +322,14 @@ exports[`ToolbarItems renders correctly when intent is success 1`] = `
302
322
 
303
323
  exports[`ToolbarItems renders correctly when intent is warning 1`] = `
304
324
  <View
325
+ accessibilityState={
326
+ Object {
327
+ "disabled": false,
328
+ }
329
+ }
305
330
  accessible={true}
306
331
  collapsable={false}
307
332
  focusable={true}
308
- nativeID="animatedComponent"
309
333
  onClick={[Function]}
310
334
  onResponderGrant={[Function]}
311
335
  onResponderMove={[Function]}
@@ -803,6 +803,10 @@ Object {
803
803
  "maxLength": 12,
804
804
  "text": 14,
805
805
  },
806
+ "lineHeights": Object {
807
+ "labelInsideTextInput": 18,
808
+ "text": 18,
809
+ },
806
810
  "radii": Object {
807
811
  "container": 8,
808
812
  },
@@ -64,6 +64,11 @@ const getTextInputTheme = (theme: GlobalTheme) => {
64
64
  asteriskLabel: theme.fontSizes.medium,
65
65
  };
66
66
 
67
+ const lineHeights = {
68
+ text: theme.lineHeights.xsmall,
69
+ labelInsideTextInput: theme.lineHeights.xsmall,
70
+ };
71
+
67
72
  const borderWidths = {
68
73
  container: {
69
74
  normal: theme.borderWidths.base,
@@ -75,7 +80,7 @@ const getTextInputTheme = (theme: GlobalTheme) => {
75
80
  container: theme.radii.medium,
76
81
  };
77
82
 
78
- return { colors, space, fontSizes, borderWidths, radii };
83
+ return { colors, space, fontSizes, borderWidths, radii, lineHeights };
79
84
  };
80
85
 
81
86
  export default getTextInputTheme;
@@ -4,6 +4,7 @@ declare const Container: import("@emotion/native").StyledComponent<ViewProps & {
4
4
  theme?: import("@emotion/react").Theme | undefined;
5
5
  as?: import("react").ElementType<any> | undefined;
6
6
  } & {
7
+ themeVariant: 'rounded' | 'unrounded';
7
8
  themeIntent: 'success' | 'info' | 'warning' | 'error' | 'notification';
8
9
  }, {}, {
9
10
  ref?: import("react").Ref<View> | undefined;
@@ -25,6 +25,10 @@ interface AlertProps {
25
25
  * Closing callback. When onClose is available, an X button will be rendered on the right side of alert. The callback will be called when user clicks on X button.
26
26
  */
27
27
  onClose?: () => void;
28
+ /**
29
+ * Alert variant.
30
+ */
31
+ variant?: 'unrounded' | 'rounded';
28
32
  /**
29
33
  * Addtional style.
30
34
  */
@@ -34,5 +38,5 @@ interface AlertProps {
34
38
  */
35
39
  testID?: string;
36
40
  }
37
- declare const Alert: ({ content, icon, title, intent, onClose, style, testID, }: AlertProps) => JSX.Element;
41
+ declare const Alert: ({ content, icon, title, intent, onClose, variant, style, testID, }: AlertProps) => JSX.Element;
38
42
  export default Alert;
@@ -69,5 +69,9 @@ declare const getTextInputTheme: (theme: GlobalTheme) => {
69
69
  radii: {
70
70
  container: number;
71
71
  };
72
+ lineHeights: {
73
+ text: number;
74
+ labelInsideTextInput: number;
75
+ };
72
76
  };
73
77
  export default getTextInputTheme;