@hero-design/rn 8.32.0 → 8.33.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 (35) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/es/index.js +165 -55
  3. package/lib/index.js +165 -55
  4. package/package.json +5 -5
  5. package/src/components/Button/LoadingIndicator/StyledLoadingIndicator.tsx +2 -1
  6. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +10 -10
  7. package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +6 -6
  8. package/src/components/FAB/ActionGroup/ActionItem.tsx +39 -14
  9. package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +982 -819
  10. package/src/components/FAB/ActionGroup/__tests__/index.spec.tsx +4 -11
  11. package/src/components/FAB/ActionGroup/index.tsx +119 -93
  12. package/src/components/FAB/AnimatedFABIcon.tsx +3 -5
  13. package/src/components/FAB/FAB.tsx +108 -28
  14. package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +27 -9
  15. package/src/components/FAB/__tests__/index.spec.tsx +22 -2
  16. package/src/components/Select/MultiSelect/Option.tsx +3 -0
  17. package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -0
  18. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +5 -0
  19. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +1166 -0
  20. package/src/components/Select/MultiSelect/__tests__/index.spec.tsx +29 -9
  21. package/src/components/Select/MultiSelect/index.tsx +1 -1
  22. package/src/components/Typography/Text/index.tsx +19 -12
  23. package/src/components/Typography/index.tsx +3 -0
  24. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +1 -0
  25. package/src/theme/components/button.ts +1 -0
  26. package/src/types.ts +4 -0
  27. package/testUtils/setup.tsx +2 -0
  28. package/types/components/FAB/ActionGroup/ActionItem.d.ts +4 -2
  29. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +1 -1
  30. package/types/components/FAB/ActionGroup/index.d.ts +8 -2
  31. package/types/components/FAB/FAB.d.ts +8 -2
  32. package/types/components/FAB/index.d.ts +3 -2
  33. package/types/components/Typography/index.d.ts +3 -0
  34. package/types/theme/components/button.d.ts +1 -0
  35. package/types/types.d.ts +3 -1
@@ -2261,6 +2261,7 @@ Array [
2261
2261
  },
2262
2262
  ]
2263
2263
  }
2264
+ testID="selected-icon-Monday"
2264
2265
  themeIntent="primary"
2265
2266
  themeSize="small"
2266
2267
  />
@@ -2416,6 +2417,7 @@ Array [
2416
2417
  },
2417
2418
  ]
2418
2419
  }
2420
+ testID="selected-icon-Tuesday"
2419
2421
  themeIntent="primary"
2420
2422
  themeSize="small"
2421
2423
  />
@@ -4357,6 +4359,7 @@ Array [
4357
4359
  },
4358
4360
  ]
4359
4361
  }
4362
+ testID="selected-icon-B1"
4360
4363
  themeIntent="primary"
4361
4364
  themeSize="small"
4362
4365
  />
@@ -4502,6 +4505,7 @@ Array [
4502
4505
  },
4503
4506
  ]
4504
4507
  }
4508
+ testID="selected-icon-B2"
4505
4509
  themeIntent="primary"
4506
4510
  themeSize="small"
4507
4511
  />
@@ -4646,3 +4650,1165 @@ Array [
4646
4650
  </Modal>,
4647
4651
  ]
4648
4652
  `;
4653
+
4654
+ exports[`rendering renders correctly when receives sections 2`] = `
4655
+ Array [
4656
+ <View
4657
+ pointerEvents="auto"
4658
+ >
4659
+ <View
4660
+ accessible={true}
4661
+ collapsable={false}
4662
+ focusable={true}
4663
+ onClick={[Function]}
4664
+ onResponderGrant={[Function]}
4665
+ onResponderMove={[Function]}
4666
+ onResponderRelease={[Function]}
4667
+ onResponderTerminate={[Function]}
4668
+ onResponderTerminationRequest={[Function]}
4669
+ onStartShouldSetResponder={[Function]}
4670
+ style={
4671
+ Object {
4672
+ "opacity": 1,
4673
+ }
4674
+ }
4675
+ >
4676
+ <View
4677
+ pointerEvents="none"
4678
+ >
4679
+ <View
4680
+ pointerEvents="auto"
4681
+ style={
4682
+ Array [
4683
+ Object {
4684
+ "marginTop": 8,
4685
+ "width": "100%",
4686
+ },
4687
+ undefined,
4688
+ ]
4689
+ }
4690
+ >
4691
+ <View
4692
+ style={
4693
+ Array [
4694
+ Object {
4695
+ "alignItems": "center",
4696
+ "backgroundColor": "#ffffff",
4697
+ "borderRadius": 8,
4698
+ "flexDirection": "row",
4699
+ "padding": 16,
4700
+ },
4701
+ undefined,
4702
+ ]
4703
+ }
4704
+ >
4705
+ <View
4706
+ style={
4707
+ Array [
4708
+ Object {
4709
+ "borderColor": "#001f23",
4710
+ "borderRadius": 8,
4711
+ "borderWidth": 1,
4712
+ "bottom": 0,
4713
+ "left": 0,
4714
+ "position": "absolute",
4715
+ "right": 0,
4716
+ "top": 0,
4717
+ },
4718
+ Array [
4719
+ Object {
4720
+ "backgroundColor": "#ffffff",
4721
+ },
4722
+ undefined,
4723
+ ],
4724
+ ]
4725
+ }
4726
+ testID="text-input-border"
4727
+ themeFocused={false}
4728
+ themeState="filled"
4729
+ />
4730
+ <View
4731
+ pointerEvents="none"
4732
+ style={
4733
+ Array [
4734
+ Object {
4735
+ "backgroundColor": "#ffffff",
4736
+ "flexDirection": "row",
4737
+ "left": 16,
4738
+ "paddingHorizontal": 4,
4739
+ "position": "absolute",
4740
+ "top": -4,
4741
+ "zIndex": 1,
4742
+ },
4743
+ Object {
4744
+ "backgroundColor": "#ffffff",
4745
+ },
4746
+ ]
4747
+ }
4748
+ testID="label-container"
4749
+ >
4750
+ <Text
4751
+ allowFontScaling={false}
4752
+ style={
4753
+ Array [
4754
+ Object {
4755
+ "color": "#001f23",
4756
+ "fontFamily": "BeVietnamPro-Regular",
4757
+ "fontSize": 14,
4758
+ "letterSpacing": 0.42,
4759
+ "lineHeight": 22,
4760
+ },
4761
+ Array [
4762
+ Object {
4763
+ "color": "#001f23",
4764
+ "fontSize": 12,
4765
+ "lineHeight": 12,
4766
+ },
4767
+ Object {
4768
+ "backgroundColor": "#ffffff",
4769
+ },
4770
+ ],
4771
+ ]
4772
+ }
4773
+ testID="input-label"
4774
+ themeFontSize="medium"
4775
+ themeFontWeight="regular"
4776
+ themeIntent="body"
4777
+ themeState="filled"
4778
+ themeTypeface="neutral"
4779
+ >
4780
+ Allow notifications
4781
+ </Text>
4782
+ </View>
4783
+ <View
4784
+ style={
4785
+ Array [
4786
+ Object {
4787
+ "alignItems": "center",
4788
+ "alignSelf": "stretch",
4789
+ "flexDirection": "row",
4790
+ "flexGrow": 2,
4791
+ "flexShrink": 1,
4792
+ },
4793
+ undefined,
4794
+ ]
4795
+ }
4796
+ >
4797
+ <TextInput
4798
+ accessibilityState={
4799
+ Object {
4800
+ "disabled": false,
4801
+ }
4802
+ }
4803
+ allowFontScaling={false}
4804
+ editable={true}
4805
+ multiline={true}
4806
+ onBlur={[Function]}
4807
+ onChangeText={[Function]}
4808
+ onFocus={[Function]}
4809
+ placeholder=" "
4810
+ pointerEvents="none"
4811
+ style={
4812
+ Array [
4813
+ Object {
4814
+ "alignSelf": "stretch",
4815
+ "flexGrow": 2,
4816
+ "fontFamily": "BeVietnamPro-Regular",
4817
+ "fontSize": 16,
4818
+ "height": undefined,
4819
+ "marginHorizontal": 8,
4820
+ "maxHeight": 144,
4821
+ "paddingVertical": 0,
4822
+ "textAlignVertical": "center",
4823
+ },
4824
+ Object {
4825
+ "backgroundColor": "#ffffff",
4826
+ "color": "#001f23",
4827
+ },
4828
+ ]
4829
+ }
4830
+ testID="text-input"
4831
+ themeVariant="text"
4832
+ value="A1"
4833
+ />
4834
+ </View>
4835
+ <HeroIcon
4836
+ name="arrow-down"
4837
+ style={
4838
+ Array [
4839
+ Object {
4840
+ "color": "#001f23",
4841
+ "fontSize": 24,
4842
+ },
4843
+ undefined,
4844
+ ]
4845
+ }
4846
+ testID="input-suffix"
4847
+ themeIntent="text"
4848
+ themeSize="medium"
4849
+ />
4850
+ </View>
4851
+ <View
4852
+ style={
4853
+ Array [
4854
+ Object {
4855
+ "minHeight": 16,
4856
+ "paddingLeft": 16,
4857
+ },
4858
+ undefined,
4859
+ ]
4860
+ }
4861
+ >
4862
+ <View
4863
+ style={
4864
+ Array [
4865
+ Object {
4866
+ "flexDirection": "row",
4867
+ "justifyContent": "space-between",
4868
+ },
4869
+ undefined,
4870
+ ]
4871
+ }
4872
+ />
4873
+ </View>
4874
+ </View>
4875
+ </View>
4876
+ </View>
4877
+ </View>,
4878
+ <Modal
4879
+ hardwareAccelerated={false}
4880
+ onRequestClose={[Function]}
4881
+ transparent={true}
4882
+ visible={true}
4883
+ >
4884
+ <View
4885
+ pointerEvents="box-none"
4886
+ style={
4887
+ Array [
4888
+ Object {
4889
+ "bottom": 0,
4890
+ "flexDirection": "column-reverse",
4891
+ "left": 0,
4892
+ "position": "absolute",
4893
+ "right": 0,
4894
+ "top": 0,
4895
+ },
4896
+ undefined,
4897
+ ]
4898
+ }
4899
+ >
4900
+ <View
4901
+ onLayout={[Function]}
4902
+ style={
4903
+ Array [
4904
+ Array [
4905
+ Object {
4906
+ "flex": 1,
4907
+ "flexDirection": "column-reverse",
4908
+ },
4909
+ undefined,
4910
+ ],
4911
+ Object {
4912
+ "paddingBottom": 0,
4913
+ },
4914
+ ]
4915
+ }
4916
+ >
4917
+ <View
4918
+ accessible={true}
4919
+ collapsable={false}
4920
+ focusable={true}
4921
+ onBlur={[Function]}
4922
+ onClick={[Function]}
4923
+ onFocus={[Function]}
4924
+ onResponderGrant={[Function]}
4925
+ onResponderMove={[Function]}
4926
+ onResponderRelease={[Function]}
4927
+ onResponderTerminate={[Function]}
4928
+ onResponderTerminationRequest={[Function]}
4929
+ onStartShouldSetResponder={[Function]}
4930
+ style={
4931
+ Object {
4932
+ "backgroundColor": "#000000",
4933
+ "bottom": 0,
4934
+ "left": 0,
4935
+ "opacity": 0.48,
4936
+ "position": "absolute",
4937
+ "right": 0,
4938
+ "top": 0,
4939
+ }
4940
+ }
4941
+ />
4942
+ <RCTSafeAreaView
4943
+ collapsable={false}
4944
+ emulateUnlessSupported={true}
4945
+ style={
4946
+ Object {
4947
+ "backgroundColor": "#ffffff",
4948
+ "borderTopLeftRadius": 16,
4949
+ "borderTopRightRadius": 16,
4950
+ "elevation": 10,
4951
+ "maxHeight": "94%",
4952
+ "paddingBottom": 0,
4953
+ "shadowColor": "#001f23",
4954
+ "shadowOffset": Object {
4955
+ "height": 3,
4956
+ "width": 0,
4957
+ },
4958
+ "shadowOpacity": 0.4,
4959
+ "shadowRadius": 16,
4960
+ "transform": Array [
4961
+ Object {
4962
+ "scaleY": 1,
4963
+ },
4964
+ Object {
4965
+ "translateY": 0,
4966
+ },
4967
+ ],
4968
+ "width": "100%",
4969
+ }
4970
+ }
4971
+ >
4972
+ <View
4973
+ style={
4974
+ Array [
4975
+ Object {
4976
+ "flexDirection": "row",
4977
+ "paddingHorizontal": 16,
4978
+ "paddingVertical": 8,
4979
+ },
4980
+ undefined,
4981
+ ]
4982
+ }
4983
+ >
4984
+ <View
4985
+ style={
4986
+ Array [
4987
+ Object {
4988
+ "flex": 1,
4989
+ "justifyContent": "center",
4990
+ },
4991
+ undefined,
4992
+ ]
4993
+ }
4994
+ >
4995
+ <Text
4996
+ allowFontScaling={false}
4997
+ style={
4998
+ Array [
4999
+ Object {
5000
+ "color": "#001f23",
5001
+ "fontFamily": "BeVietnamPro-SemiBold",
5002
+ "fontSize": 16,
5003
+ "letterSpacing": 0.48,
5004
+ "lineHeight": 24,
5005
+ },
5006
+ undefined,
5007
+ ]
5008
+ }
5009
+ themeFontSize="large"
5010
+ themeFontWeight="semi-bold"
5011
+ themeIntent="body"
5012
+ themeTypeface="neutral"
5013
+ >
5014
+ Allow notifications
5015
+ </Text>
5016
+ </View>
5017
+ <View
5018
+ style={
5019
+ Array [
5020
+ Object {
5021
+ "alignItems": "center",
5022
+ "height": 48,
5023
+ "justifyContent": "center",
5024
+ "marginLeft": 12,
5025
+ "width": 48,
5026
+ },
5027
+ undefined,
5028
+ ]
5029
+ }
5030
+ >
5031
+ <View
5032
+ accessible={true}
5033
+ collapsable={false}
5034
+ focusable={true}
5035
+ onClick={[Function]}
5036
+ onResponderGrant={[Function]}
5037
+ onResponderMove={[Function]}
5038
+ onResponderRelease={[Function]}
5039
+ onResponderTerminate={[Function]}
5040
+ onResponderTerminationRequest={[Function]}
5041
+ onStartShouldSetResponder={[Function]}
5042
+ style={
5043
+ Object {
5044
+ "opacity": 1,
5045
+ }
5046
+ }
5047
+ testID="bottom-sheet-close-icon"
5048
+ >
5049
+ <HeroIcon
5050
+ name="cancel"
5051
+ style={
5052
+ Array [
5053
+ Object {
5054
+ "color": "#001f23",
5055
+ "fontSize": 16,
5056
+ },
5057
+ undefined,
5058
+ ]
5059
+ }
5060
+ themeIntent="text"
5061
+ themeSize="xsmall"
5062
+ />
5063
+ </View>
5064
+ </View>
5065
+ </View>
5066
+ <RCTScrollView
5067
+ ListFooterComponent={null}
5068
+ data={
5069
+ Array [
5070
+ Object {
5071
+ "category": "A",
5072
+ "data": Array [
5073
+ Object {
5074
+ "text": "A1",
5075
+ "value": "a1",
5076
+ },
5077
+ ],
5078
+ },
5079
+ Object {
5080
+ "category": "B",
5081
+ "data": Array [
5082
+ Object {
5083
+ "text": "B1",
5084
+ "value": "b1",
5085
+ },
5086
+ Object {
5087
+ "text": "B2",
5088
+ "value": "b2",
5089
+ },
5090
+ ],
5091
+ },
5092
+ ]
5093
+ }
5094
+ getItem={[Function]}
5095
+ getItemCount={[Function]}
5096
+ keyExtractor={[Function]}
5097
+ onContentSizeChange={[Function]}
5098
+ onEndReached={[Function]}
5099
+ onEndReachedThreshold={0.1}
5100
+ onLayout={[Function]}
5101
+ onMomentumScrollBegin={[Function]}
5102
+ onMomentumScrollEnd={[Function]}
5103
+ onScroll={[Function]}
5104
+ onScrollBeginDrag={[Function]}
5105
+ onScrollEndDrag={[Function]}
5106
+ onScrollToIndexFailed={[Function]}
5107
+ renderItem={[Function]}
5108
+ scrollEventThrottle={50}
5109
+ stickyHeaderIndices={
5110
+ Array [
5111
+ 0,
5112
+ 3,
5113
+ ]
5114
+ }
5115
+ style={
5116
+ Array [
5117
+ Object {
5118
+ "paddingHorizontal": 12,
5119
+ },
5120
+ Object {},
5121
+ ]
5122
+ }
5123
+ >
5124
+ <View>
5125
+ <View
5126
+ onLayout={[Function]}
5127
+ style={null}
5128
+ >
5129
+ <View
5130
+ style={
5131
+ Array [
5132
+ Object {
5133
+ "alignContent": "center",
5134
+ "backgroundColor": "#f6f6f7",
5135
+ "display": "flex",
5136
+ "flexDirection": "row",
5137
+ "justifyContent": "space-between",
5138
+ "marginBottom": 16,
5139
+ "paddingHorizontal": 16,
5140
+ "paddingVertical": 8,
5141
+ },
5142
+ Object {
5143
+ "marginBottom": 0,
5144
+ },
5145
+ ]
5146
+ }
5147
+ >
5148
+ <View
5149
+ style={
5150
+ Array [
5151
+ Object {
5152
+ "display": "flex",
5153
+ "flexDirection": "row",
5154
+ },
5155
+ undefined,
5156
+ ]
5157
+ }
5158
+ >
5159
+ <View
5160
+ style={
5161
+ Array [
5162
+ Object {
5163
+ "marginRight": 8,
5164
+ },
5165
+ undefined,
5166
+ ]
5167
+ }
5168
+ />
5169
+ <Text
5170
+ allowFontScaling={false}
5171
+ style={
5172
+ Array [
5173
+ Object {
5174
+ "color": "#001f23",
5175
+ "fontFamily": "BeVietnamPro-Regular",
5176
+ "fontSize": 16,
5177
+ "letterSpacing": 0.48,
5178
+ "lineHeight": 24,
5179
+ },
5180
+ undefined,
5181
+ ]
5182
+ }
5183
+ themeFontSize="large"
5184
+ themeFontWeight="regular"
5185
+ themeIntent="body"
5186
+ themeTypeface="neutral"
5187
+ >
5188
+ A
5189
+ </Text>
5190
+ </View>
5191
+ </View>
5192
+ </View>
5193
+ <View
5194
+ onLayout={[Function]}
5195
+ style={null}
5196
+ >
5197
+ <View>
5198
+ <View
5199
+ highlighted={false}
5200
+ section={
5201
+ Object {
5202
+ "category": "A",
5203
+ "data": Array [
5204
+ Object {
5205
+ "text": "A1",
5206
+ "value": "a1",
5207
+ },
5208
+ ],
5209
+ }
5210
+ }
5211
+ style={
5212
+ Array [
5213
+ Object {
5214
+ "marginTop": 12,
5215
+ },
5216
+ undefined,
5217
+ ]
5218
+ }
5219
+ trailingItem={
5220
+ Object {
5221
+ "text": "A1",
5222
+ "value": "a1",
5223
+ }
5224
+ }
5225
+ trailingSection={
5226
+ Object {
5227
+ "category": "B",
5228
+ "data": Array [
5229
+ Object {
5230
+ "text": "B1",
5231
+ "value": "b1",
5232
+ },
5233
+ Object {
5234
+ "text": "B2",
5235
+ "value": "b2",
5236
+ },
5237
+ ],
5238
+ }
5239
+ }
5240
+ />
5241
+ <View
5242
+ accessibilityState={
5243
+ Object {
5244
+ "disabled": false,
5245
+ }
5246
+ }
5247
+ accessible={true}
5248
+ focusable={true}
5249
+ onClick={[Function]}
5250
+ onResponderGrant={[Function]}
5251
+ onResponderMove={[Function]}
5252
+ onResponderRelease={[Function]}
5253
+ onResponderTerminate={[Function]}
5254
+ onResponderTerminationRequest={[Function]}
5255
+ onStartShouldSetResponder={[Function]}
5256
+ style={
5257
+ Array [
5258
+ Object {
5259
+ "alignItems": "center",
5260
+ "backgroundColor": "#ece8ef",
5261
+ "borderRadius": 4,
5262
+ "flexDirection": "row",
5263
+ "opacity": 1,
5264
+ "padding": 16,
5265
+ },
5266
+ undefined,
5267
+ ]
5268
+ }
5269
+ >
5270
+ <View
5271
+ style={
5272
+ Array [
5273
+ Object {
5274
+ "flex": 1,
5275
+ },
5276
+ undefined,
5277
+ ]
5278
+ }
5279
+ >
5280
+ <Text
5281
+ allowFontScaling={false}
5282
+ style={
5283
+ Array [
5284
+ Object {
5285
+ "color": "#001f23",
5286
+ "fontFamily": "BeVietnamPro-Regular",
5287
+ "fontSize": 16,
5288
+ "letterSpacing": 0.48,
5289
+ "lineHeight": 24,
5290
+ },
5291
+ undefined,
5292
+ ]
5293
+ }
5294
+ themeFontSize="large"
5295
+ themeFontWeight="regular"
5296
+ themeIntent="body"
5297
+ themeTypeface="neutral"
5298
+ >
5299
+ A1
5300
+ </Text>
5301
+ </View>
5302
+ <View
5303
+ style={
5304
+ Array [
5305
+ Object {
5306
+ "marginLeft": 8,
5307
+ },
5308
+ undefined,
5309
+ ]
5310
+ }
5311
+ >
5312
+ <HeroIcon
5313
+ name="checkmark"
5314
+ style={
5315
+ Array [
5316
+ Object {
5317
+ "color": "#401960",
5318
+ "fontSize": 20,
5319
+ },
5320
+ Object {
5321
+ "marginRight": 12,
5322
+ },
5323
+ ]
5324
+ }
5325
+ testID="selected-icon-A1"
5326
+ themeIntent="primary"
5327
+ themeSize="small"
5328
+ />
5329
+ </View>
5330
+ </View>
5331
+ <View
5332
+ highlighted={false}
5333
+ leadingItem={
5334
+ Object {
5335
+ "text": "A1",
5336
+ "value": "a1",
5337
+ }
5338
+ }
5339
+ section={
5340
+ Object {
5341
+ "category": "A",
5342
+ "data": Array [
5343
+ Object {
5344
+ "text": "A1",
5345
+ "value": "a1",
5346
+ },
5347
+ ],
5348
+ }
5349
+ }
5350
+ style={
5351
+ Array [
5352
+ Object {
5353
+ "marginTop": 12,
5354
+ },
5355
+ undefined,
5356
+ ]
5357
+ }
5358
+ trailingSection={
5359
+ Object {
5360
+ "category": "B",
5361
+ "data": Array [
5362
+ Object {
5363
+ "text": "B1",
5364
+ "value": "b1",
5365
+ },
5366
+ Object {
5367
+ "text": "B2",
5368
+ "value": "b2",
5369
+ },
5370
+ ],
5371
+ }
5372
+ }
5373
+ />
5374
+ </View>
5375
+ </View>
5376
+ <View
5377
+ onLayout={[Function]}
5378
+ style={null}
5379
+ />
5380
+ <View
5381
+ onLayout={[Function]}
5382
+ style={null}
5383
+ >
5384
+ <View
5385
+ style={
5386
+ Array [
5387
+ Object {
5388
+ "alignContent": "center",
5389
+ "backgroundColor": "#f6f6f7",
5390
+ "display": "flex",
5391
+ "flexDirection": "row",
5392
+ "justifyContent": "space-between",
5393
+ "marginBottom": 16,
5394
+ "paddingHorizontal": 16,
5395
+ "paddingVertical": 8,
5396
+ },
5397
+ Object {
5398
+ "marginBottom": 0,
5399
+ },
5400
+ ]
5401
+ }
5402
+ >
5403
+ <View
5404
+ style={
5405
+ Array [
5406
+ Object {
5407
+ "display": "flex",
5408
+ "flexDirection": "row",
5409
+ },
5410
+ undefined,
5411
+ ]
5412
+ }
5413
+ >
5414
+ <View
5415
+ style={
5416
+ Array [
5417
+ Object {
5418
+ "marginRight": 8,
5419
+ },
5420
+ undefined,
5421
+ ]
5422
+ }
5423
+ />
5424
+ <Text
5425
+ allowFontScaling={false}
5426
+ style={
5427
+ Array [
5428
+ Object {
5429
+ "color": "#001f23",
5430
+ "fontFamily": "BeVietnamPro-Regular",
5431
+ "fontSize": 16,
5432
+ "letterSpacing": 0.48,
5433
+ "lineHeight": 24,
5434
+ },
5435
+ undefined,
5436
+ ]
5437
+ }
5438
+ themeFontSize="large"
5439
+ themeFontWeight="regular"
5440
+ themeIntent="body"
5441
+ themeTypeface="neutral"
5442
+ >
5443
+ B
5444
+ </Text>
5445
+ </View>
5446
+ </View>
5447
+ </View>
5448
+ <View
5449
+ onLayout={[Function]}
5450
+ style={null}
5451
+ >
5452
+ <View>
5453
+ <View
5454
+ highlighted={false}
5455
+ leadingSection={
5456
+ Object {
5457
+ "category": "A",
5458
+ "data": Array [
5459
+ Object {
5460
+ "text": "A1",
5461
+ "value": "a1",
5462
+ },
5463
+ ],
5464
+ }
5465
+ }
5466
+ section={
5467
+ Object {
5468
+ "category": "B",
5469
+ "data": Array [
5470
+ Object {
5471
+ "text": "B1",
5472
+ "value": "b1",
5473
+ },
5474
+ Object {
5475
+ "text": "B2",
5476
+ "value": "b2",
5477
+ },
5478
+ ],
5479
+ }
5480
+ }
5481
+ style={
5482
+ Array [
5483
+ Object {
5484
+ "marginTop": 12,
5485
+ },
5486
+ undefined,
5487
+ ]
5488
+ }
5489
+ trailingItem={
5490
+ Object {
5491
+ "text": "B1",
5492
+ "value": "b1",
5493
+ }
5494
+ }
5495
+ />
5496
+ <View
5497
+ accessibilityState={
5498
+ Object {
5499
+ "disabled": false,
5500
+ }
5501
+ }
5502
+ accessible={true}
5503
+ focusable={true}
5504
+ onClick={[Function]}
5505
+ onResponderGrant={[Function]}
5506
+ onResponderMove={[Function]}
5507
+ onResponderRelease={[Function]}
5508
+ onResponderTerminate={[Function]}
5509
+ onResponderTerminationRequest={[Function]}
5510
+ onStartShouldSetResponder={[Function]}
5511
+ style={
5512
+ Array [
5513
+ Object {
5514
+ "alignItems": "center",
5515
+ "backgroundColor": "#ffffff",
5516
+ "borderRadius": 4,
5517
+ "flexDirection": "row",
5518
+ "opacity": 1,
5519
+ "padding": 16,
5520
+ },
5521
+ undefined,
5522
+ ]
5523
+ }
5524
+ >
5525
+ <View
5526
+ style={
5527
+ Array [
5528
+ Object {
5529
+ "flex": 1,
5530
+ },
5531
+ undefined,
5532
+ ]
5533
+ }
5534
+ >
5535
+ <Text
5536
+ allowFontScaling={false}
5537
+ style={
5538
+ Array [
5539
+ Object {
5540
+ "color": "#001f23",
5541
+ "fontFamily": "BeVietnamPro-Regular",
5542
+ "fontSize": 16,
5543
+ "letterSpacing": 0.48,
5544
+ "lineHeight": 24,
5545
+ },
5546
+ undefined,
5547
+ ]
5548
+ }
5549
+ themeFontSize="large"
5550
+ themeFontWeight="regular"
5551
+ themeIntent="body"
5552
+ themeTypeface="neutral"
5553
+ >
5554
+ B1
5555
+ </Text>
5556
+ </View>
5557
+ </View>
5558
+ <View
5559
+ highlighted={false}
5560
+ leadingItem={
5561
+ Object {
5562
+ "text": "B1",
5563
+ "value": "b1",
5564
+ }
5565
+ }
5566
+ leadingSection={
5567
+ Object {
5568
+ "category": "A",
5569
+ "data": Array [
5570
+ Object {
5571
+ "text": "A1",
5572
+ "value": "a1",
5573
+ },
5574
+ ],
5575
+ }
5576
+ }
5577
+ section={
5578
+ Object {
5579
+ "category": "B",
5580
+ "data": Array [
5581
+ Object {
5582
+ "text": "B1",
5583
+ "value": "b1",
5584
+ },
5585
+ Object {
5586
+ "text": "B2",
5587
+ "value": "b2",
5588
+ },
5589
+ ],
5590
+ }
5591
+ }
5592
+ style={
5593
+ Array [
5594
+ Object {
5595
+ "marginTop": 4,
5596
+ },
5597
+ undefined,
5598
+ ]
5599
+ }
5600
+ trailingItem={
5601
+ Object {
5602
+ "text": "B2",
5603
+ "value": "b2",
5604
+ }
5605
+ }
5606
+ />
5607
+ </View>
5608
+ </View>
5609
+ <View
5610
+ onLayout={[Function]}
5611
+ style={null}
5612
+ >
5613
+ <View>
5614
+ <View
5615
+ accessibilityState={
5616
+ Object {
5617
+ "disabled": false,
5618
+ }
5619
+ }
5620
+ accessible={true}
5621
+ focusable={true}
5622
+ onClick={[Function]}
5623
+ onResponderGrant={[Function]}
5624
+ onResponderMove={[Function]}
5625
+ onResponderRelease={[Function]}
5626
+ onResponderTerminate={[Function]}
5627
+ onResponderTerminationRequest={[Function]}
5628
+ onStartShouldSetResponder={[Function]}
5629
+ style={
5630
+ Array [
5631
+ Object {
5632
+ "alignItems": "center",
5633
+ "backgroundColor": "#ffffff",
5634
+ "borderRadius": 4,
5635
+ "flexDirection": "row",
5636
+ "opacity": 1,
5637
+ "padding": 16,
5638
+ },
5639
+ undefined,
5640
+ ]
5641
+ }
5642
+ >
5643
+ <View
5644
+ style={
5645
+ Array [
5646
+ Object {
5647
+ "flex": 1,
5648
+ },
5649
+ undefined,
5650
+ ]
5651
+ }
5652
+ >
5653
+ <Text
5654
+ allowFontScaling={false}
5655
+ style={
5656
+ Array [
5657
+ Object {
5658
+ "color": "#001f23",
5659
+ "fontFamily": "BeVietnamPro-Regular",
5660
+ "fontSize": 16,
5661
+ "letterSpacing": 0.48,
5662
+ "lineHeight": 24,
5663
+ },
5664
+ undefined,
5665
+ ]
5666
+ }
5667
+ themeFontSize="large"
5668
+ themeFontWeight="regular"
5669
+ themeIntent="body"
5670
+ themeTypeface="neutral"
5671
+ >
5672
+ B2
5673
+ </Text>
5674
+ </View>
5675
+ </View>
5676
+ <View
5677
+ highlighted={false}
5678
+ leadingItem={
5679
+ Object {
5680
+ "text": "B2",
5681
+ "value": "b2",
5682
+ }
5683
+ }
5684
+ leadingSection={
5685
+ Object {
5686
+ "category": "A",
5687
+ "data": Array [
5688
+ Object {
5689
+ "text": "A1",
5690
+ "value": "a1",
5691
+ },
5692
+ ],
5693
+ }
5694
+ }
5695
+ section={
5696
+ Object {
5697
+ "category": "B",
5698
+ "data": Array [
5699
+ Object {
5700
+ "text": "B1",
5701
+ "value": "b1",
5702
+ },
5703
+ Object {
5704
+ "text": "B2",
5705
+ "value": "b2",
5706
+ },
5707
+ ],
5708
+ }
5709
+ }
5710
+ style={
5711
+ Array [
5712
+ Object {
5713
+ "marginTop": 12,
5714
+ },
5715
+ undefined,
5716
+ ]
5717
+ }
5718
+ />
5719
+ </View>
5720
+ </View>
5721
+ <View
5722
+ onLayout={[Function]}
5723
+ style={null}
5724
+ />
5725
+ </View>
5726
+ </RCTScrollView>
5727
+ <View>
5728
+ <View
5729
+ style={
5730
+ Array [
5731
+ Object {
5732
+ "alignItems": "center",
5733
+ "flexDirection": "row",
5734
+ "justifyContent": "flex-end",
5735
+ "paddingHorizontal": 12,
5736
+ "paddingVertical": 2,
5737
+ },
5738
+ undefined,
5739
+ ]
5740
+ }
5741
+ >
5742
+ <View
5743
+ accessibilityState={
5744
+ Object {
5745
+ "disabled": false,
5746
+ }
5747
+ }
5748
+ accessible={true}
5749
+ focusable={true}
5750
+ onClick={[Function]}
5751
+ onResponderGrant={[Function]}
5752
+ onResponderMove={[Function]}
5753
+ onResponderRelease={[Function]}
5754
+ onResponderTerminate={[Function]}
5755
+ onResponderTerminationRequest={[Function]}
5756
+ onStartShouldSetResponder={[Function]}
5757
+ style={
5758
+ Array [
5759
+ Object {
5760
+ "alignItems": "center",
5761
+ "backgroundColor": "transparent",
5762
+ "borderRadius": 4,
5763
+ "borderWidth": 0,
5764
+ "flexDirection": "row",
5765
+ "justifyContent": "center",
5766
+ "padding": 12,
5767
+ },
5768
+ undefined,
5769
+ ]
5770
+ }
5771
+ >
5772
+ <Text
5773
+ allowFontScaling={false}
5774
+ disabled={false}
5775
+ ellipsizeMode="tail"
5776
+ numberOfLines={1}
5777
+ style={
5778
+ Array [
5779
+ Object {
5780
+ "color": "#001f23",
5781
+ "fontFamily": "BeVietnamPro-Regular",
5782
+ "fontSize": 14,
5783
+ "letterSpacing": 0.42,
5784
+ "lineHeight": 22,
5785
+ },
5786
+ Array [
5787
+ Object {
5788
+ "color": "#401960",
5789
+ "flexShrink": 1,
5790
+ "fontFamily": "BeVietnamPro-SemiBold",
5791
+ "fontSize": 16,
5792
+ "textAlign": "center",
5793
+ },
5794
+ undefined,
5795
+ ],
5796
+ ]
5797
+ }
5798
+ themeFontSize="medium"
5799
+ themeFontWeight="regular"
5800
+ themeIntent="body"
5801
+ themeTypeface="neutral"
5802
+ themeVariant="text-primary"
5803
+ >
5804
+ Confirm
5805
+ </Text>
5806
+ </View>
5807
+ </View>
5808
+ </View>
5809
+ </RCTSafeAreaView>
5810
+ </View>
5811
+ </View>
5812
+ </Modal>,
5813
+ ]
5814
+ `;