@hero-design/rn 7.22.0 → 7.22.2

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 (42) hide show
  1. package/.turbo/turbo-build.log +2 -2
  2. package/es/index.js +62 -62
  3. package/lib/index.js +61 -61
  4. package/package.json +4 -4
  5. package/src/components/BottomSheet/StyledBottomSheet.tsx +10 -0
  6. package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +326 -292
  7. package/src/components/BottomSheet/index.tsx +46 -26
  8. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +4 -18
  9. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +180 -177
  10. package/src/components/List/StyledBasicListItem.tsx +1 -0
  11. package/src/components/List/__tests__/BasicListItem.spec.tsx +37 -13
  12. package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +162 -1
  13. package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +6 -2
  14. package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +2 -2
  15. package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +3 -1
  16. package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +4 -1
  17. package/src/components/RichTextEditor/RichTextEditor.tsx +1 -3
  18. package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +8 -36
  19. package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +2 -1
  20. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +17 -5
  21. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +4712 -4669
  22. package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +2 -1
  23. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +16 -4
  24. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +4285 -4242
  25. package/src/components/TextInput/StyledTextInput.tsx +11 -16
  26. package/src/components/TextInput/__tests__/StyledTextInput.spec.tsx +3 -3
  27. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +18 -36
  28. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +55 -237
  29. package/src/components/TextInput/index.tsx +27 -27
  30. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +4 -18
  31. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +180 -177
  32. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +4 -2
  33. package/src/theme/components/list.ts +5 -2
  34. package/src/theme/global/colors/swag.ts +1 -0
  35. package/src/theme/global/colors/types.ts +1 -0
  36. package/types/components/BottomSheet/StyledBottomSheet.d.ts +8 -2
  37. package/types/components/BottomSheet/index.d.ts +6 -1
  38. package/types/components/TextInput/StyledTextInput.d.ts +3 -9
  39. package/types/components/TextInput/index.d.ts +4 -4
  40. package/types/theme/components/list.d.ts +1 -0
  41. package/types/theme/global/colors/types.d.ts +1 -0
  42. package/types/theme/global/index.d.ts +1 -0
@@ -26,12 +26,16 @@ exports[`TimePickerAndroid renders correctly 1`] = `
26
26
  style={
27
27
  Array [
28
28
  Object {
29
+ "borderColor": "#001f23",
30
+ "borderRadius": 8,
31
+ "borderWidth": 1,
29
32
  "marginVertical": 8,
30
33
  "width": "100%",
31
34
  },
32
35
  undefined,
33
36
  ]
34
37
  }
38
+ themeVariant="filled"
35
39
  >
36
40
  <View
37
41
  style={
@@ -45,24 +49,6 @@ exports[`TimePickerAndroid renders correctly 1`] = `
45
49
  ]
46
50
  }
47
51
  >
48
- <View
49
- style={
50
- Array [
51
- Object {
52
- "borderColor": "#001f23",
53
- "borderRadius": 8,
54
- "borderWidth": 1,
55
- "bottom": 0,
56
- "left": 0,
57
- "position": "absolute",
58
- "right": 0,
59
- "top": 0,
60
- },
61
- undefined,
62
- ]
63
- }
64
- themeVariant="filled"
65
- />
66
52
  <View
67
53
  pointerEvents="none"
68
54
  style={
@@ -26,12 +26,16 @@ exports[`TimePickerIOS renders correctly 1`] = `
26
26
  style={
27
27
  Array [
28
28
  Object {
29
+ "borderColor": "#001f23",
30
+ "borderRadius": 8,
31
+ "borderWidth": 1,
29
32
  "marginVertical": 8,
30
33
  "width": "100%",
31
34
  },
32
35
  undefined,
33
36
  ]
34
37
  }
38
+ themeVariant="filled"
35
39
  >
36
40
  <View
37
41
  style={
@@ -45,24 +49,6 @@ exports[`TimePickerIOS renders correctly 1`] = `
45
49
  ]
46
50
  }
47
51
  >
48
- <View
49
- style={
50
- Array [
51
- Object {
52
- "borderColor": "#001f23",
53
- "borderRadius": 8,
54
- "borderWidth": 1,
55
- "bottom": 0,
56
- "left": 0,
57
- "position": "absolute",
58
- "right": 0,
59
- "top": 0,
60
- },
61
- undefined,
62
- ]
63
- }
64
- themeVariant="filled"
65
- />
66
52
  <View
67
53
  pointerEvents="none"
68
54
  style={
@@ -277,166 +263,146 @@ exports[`TimePickerIOS renders correctly 1`] = `
277
263
  }
278
264
  }
279
265
  />
280
- <RCTSafeAreaView
281
- collapsable={false}
282
- emulateUnlessSupported={true}
283
- nativeID="animatedComponent"
266
+ <View
284
267
  onLayout={[Function]}
285
268
  style={
286
- Object {
287
- "backgroundColor": "#ffffff",
288
- "borderTopLeftRadius": 16,
289
- "borderTopRightRadius": 16,
290
- "elevation": 10,
291
- "maxHeight": "94%",
292
- "shadowColor": "#001f23",
293
- "shadowOffset": Object {
294
- "height": 3,
295
- "width": 0,
296
- },
297
- "shadowOpacity": 0.27,
298
- "shadowRadius": 4.65,
299
- "transform": Array [
300
- Object {
301
- "scaleY": 0,
302
- },
269
+ Array [
270
+ Array [
303
271
  Object {
304
- "translateY": 0,
272
+ "flex": 1,
273
+ "flexDirection": "column-reverse",
305
274
  },
275
+ undefined,
306
276
  ],
307
- "width": "100%",
308
- }
277
+ Object {
278
+ "paddingBottom": 0,
279
+ },
280
+ ]
309
281
  }
310
282
  >
311
- <View
283
+ <RCTSafeAreaView
284
+ collapsable={false}
285
+ emulateUnlessSupported={true}
286
+ nativeID="animatedComponent"
312
287
  style={
313
- Array [
314
- Object {
315
- "flexDirection": "row",
316
- "paddingHorizontal": 16,
317
- "paddingVertical": 8,
288
+ Object {
289
+ "backgroundColor": "#ffffff",
290
+ "borderTopLeftRadius": 16,
291
+ "borderTopRightRadius": 16,
292
+ "elevation": 10,
293
+ "maxHeight": "94%",
294
+ "shadowColor": "#001f23",
295
+ "shadowOffset": Object {
296
+ "height": 3,
297
+ "width": 0,
318
298
  },
319
- undefined,
320
- ]
299
+ "shadowOpacity": 0.27,
300
+ "shadowRadius": 4.65,
301
+ "transform": Array [
302
+ Object {
303
+ "scaleY": 1,
304
+ },
305
+ Object {
306
+ "translateY": 0,
307
+ },
308
+ ],
309
+ "width": "100%",
310
+ }
321
311
  }
322
312
  >
323
313
  <View
324
314
  style={
325
315
  Array [
326
316
  Object {
327
- "flex": 1,
328
- "justifyContent": "center",
317
+ "flexDirection": "row",
318
+ "paddingHorizontal": 16,
319
+ "paddingVertical": 8,
329
320
  },
330
321
  undefined,
331
322
  ]
332
323
  }
333
324
  >
334
- <Text
325
+ <View
335
326
  style={
336
327
  Array [
337
328
  Object {
338
- "color": "#001f23",
339
- "fontFamily": "BeVietnamPro-SemiBold",
340
- "fontSize": 16,
341
- "letterSpacing": 0.48,
342
- "lineHeight": 24,
329
+ "flex": 1,
330
+ "justifyContent": "center",
343
331
  },
344
332
  undefined,
345
333
  ]
346
334
  }
347
- themeFontSize="large"
348
- themeFontWeight="semi-bold"
349
- themeIntent="body"
350
- >
351
- Break time
352
- </Text>
353
- </View>
354
- <View
355
- style={
356
- Array [
357
- Object {
358
- "alignItems": "center",
359
- "height": 48,
360
- "justifyContent": "center",
361
- "marginLeft": 12,
362
- "width": 48,
363
- },
364
- undefined,
365
- ]
366
- }
367
- >
368
- <View
369
- accessible={true}
370
- collapsable={false}
371
- focusable={true}
372
- nativeID="animatedComponent"
373
- onClick={[Function]}
374
- onResponderGrant={[Function]}
375
- onResponderMove={[Function]}
376
- onResponderRelease={[Function]}
377
- onResponderTerminate={[Function]}
378
- onResponderTerminationRequest={[Function]}
379
- onStartShouldSetResponder={[Function]}
380
- style={
381
- Object {
382
- "opacity": 1,
383
- }
384
- }
385
- testID="bottom-sheet-close-icon"
386
335
  >
387
- <HeroIcon
388
- name="cancel"
336
+ <Text
389
337
  style={
390
338
  Array [
391
339
  Object {
392
340
  "color": "#001f23",
393
- "fontSize": 20,
341
+ "fontFamily": "BeVietnamPro-SemiBold",
342
+ "fontSize": 16,
343
+ "letterSpacing": 0.48,
344
+ "lineHeight": 24,
394
345
  },
395
346
  undefined,
396
347
  ]
397
348
  }
398
- themeIntent="text"
399
- themeSize="small"
400
- />
349
+ themeFontSize="large"
350
+ themeFontWeight="semi-bold"
351
+ themeIntent="body"
352
+ >
353
+ Break time
354
+ </Text>
401
355
  </View>
402
- </View>
403
- </View>
404
- <View
405
- style={
406
- Array [
407
- Object {
408
- "borderBottomColor": "#e8e9ea",
409
- "borderBottomWidth": 1,
410
- "maxWidth": "100%",
411
- },
412
- undefined,
413
- ]
414
- }
415
- />
416
- <View
417
- style={
418
- Array [
419
- Object {
420
- "height": 176,
421
- },
422
- undefined,
423
- ]
424
- }
425
- >
426
- <Picker
427
- display="spinner"
428
- mode="time"
429
- onChange={[Function]}
430
- style={
431
- Object {
432
- "flex": 1,
356
+ <View
357
+ style={
358
+ Array [
359
+ Object {
360
+ "alignItems": "center",
361
+ "height": 48,
362
+ "justifyContent": "center",
363
+ "marginLeft": 12,
364
+ "width": 48,
365
+ },
366
+ undefined,
367
+ ]
433
368
  }
434
- }
435
- testID="timePickerIOS"
436
- value={1995-12-17T03:24:00.000Z}
437
- />
438
- </View>
439
- <View>
369
+ >
370
+ <View
371
+ accessible={true}
372
+ collapsable={false}
373
+ focusable={true}
374
+ nativeID="animatedComponent"
375
+ onClick={[Function]}
376
+ onResponderGrant={[Function]}
377
+ onResponderMove={[Function]}
378
+ onResponderRelease={[Function]}
379
+ onResponderTerminate={[Function]}
380
+ onResponderTerminationRequest={[Function]}
381
+ onStartShouldSetResponder={[Function]}
382
+ style={
383
+ Object {
384
+ "opacity": 1,
385
+ }
386
+ }
387
+ testID="bottom-sheet-close-icon"
388
+ >
389
+ <HeroIcon
390
+ name="cancel"
391
+ style={
392
+ Array [
393
+ Object {
394
+ "color": "#001f23",
395
+ "fontSize": 20,
396
+ },
397
+ undefined,
398
+ ]
399
+ }
400
+ themeIntent="text"
401
+ themeSize="small"
402
+ />
403
+ </View>
404
+ </View>
405
+ </View>
440
406
  <View
441
407
  style={
442
408
  Array [
@@ -453,58 +419,95 @@ exports[`TimePickerIOS renders correctly 1`] = `
453
419
  style={
454
420
  Array [
455
421
  Object {
456
- "alignItems": "center",
457
- "flexDirection": "row",
458
- "justifyContent": "flex-end",
459
- "minHeight": 64,
460
- "paddingHorizontal": 12,
461
- "paddingVertical": 8,
422
+ "height": 176,
462
423
  },
463
424
  undefined,
464
425
  ]
465
426
  }
466
427
  >
467
- <View
468
- accessible={true}
469
- collapsable={false}
470
- focusable={true}
471
- nativeID="animatedComponent"
472
- onClick={[Function]}
473
- onResponderGrant={[Function]}
474
- onResponderMove={[Function]}
475
- onResponderRelease={[Function]}
476
- onResponderTerminate={[Function]}
477
- onResponderTerminationRequest={[Function]}
478
- onStartShouldSetResponder={[Function]}
428
+ <Picker
429
+ display="spinner"
430
+ mode="time"
431
+ onChange={[Function]}
479
432
  style={
480
433
  Object {
481
- "opacity": 1,
434
+ "flex": 1,
482
435
  }
483
436
  }
437
+ testID="timePickerIOS"
438
+ value={1995-12-17T03:24:00.000Z}
439
+ />
440
+ </View>
441
+ <View>
442
+ <View
443
+ style={
444
+ Array [
445
+ Object {
446
+ "borderBottomColor": "#e8e9ea",
447
+ "borderBottomWidth": 1,
448
+ "maxWidth": "100%",
449
+ },
450
+ undefined,
451
+ ]
452
+ }
453
+ />
454
+ <View
455
+ style={
456
+ Array [
457
+ Object {
458
+ "alignItems": "center",
459
+ "flexDirection": "row",
460
+ "justifyContent": "flex-end",
461
+ "minHeight": 64,
462
+ "paddingHorizontal": 12,
463
+ "paddingVertical": 8,
464
+ },
465
+ undefined,
466
+ ]
467
+ }
484
468
  >
485
- <Text
469
+ <View
470
+ accessible={true}
471
+ collapsable={false}
472
+ focusable={true}
473
+ nativeID="animatedComponent"
474
+ onClick={[Function]}
475
+ onResponderGrant={[Function]}
476
+ onResponderMove={[Function]}
477
+ onResponderRelease={[Function]}
478
+ onResponderTerminate={[Function]}
479
+ onResponderTerminationRequest={[Function]}
480
+ onStartShouldSetResponder={[Function]}
486
481
  style={
487
- Array [
488
- Object {
489
- "color": "#8505a2",
490
- "fontFamily": "BeVietnamPro-SemiBold",
491
- "fontSize": 16,
492
- "letterSpacing": 0.48,
493
- "lineHeight": 24,
494
- },
495
- undefined,
496
- ]
482
+ Object {
483
+ "opacity": 1,
484
+ }
497
485
  }
498
- themeFontSize="large"
499
- themeFontWeight="semi-bold"
500
- themeIntent="primary"
501
486
  >
502
- Confirm
503
- </Text>
487
+ <Text
488
+ style={
489
+ Array [
490
+ Object {
491
+ "color": "#8505a2",
492
+ "fontFamily": "BeVietnamPro-SemiBold",
493
+ "fontSize": 16,
494
+ "letterSpacing": 0.48,
495
+ "lineHeight": 24,
496
+ },
497
+ undefined,
498
+ ]
499
+ }
500
+ themeFontSize="large"
501
+ themeFontWeight="semi-bold"
502
+ themeIntent="primary"
503
+ >
504
+ Confirm
505
+ </Text>
506
+ </View>
504
507
  </View>
505
508
  </View>
506
- </View>
507
- </RCTSafeAreaView>
509
+ </RCTSafeAreaView>
510
+ </View>
508
511
  </View>
509
512
  </View>
510
513
  </View>
@@ -424,8 +424,8 @@ Object {
424
424
  },
425
425
  "list": Object {
426
426
  "colors": Object {
427
- "checkedListItemContainerBackground": "#f3e6f6",
428
- "highlightedListItemContainerBackground": "#f3e6f6",
427
+ "checkedListItemContainerBackground": "#ECE8EF",
428
+ "highlightedListItemContainerBackground": "#ECE8EF",
429
429
  "leadingStatus": Object {
430
430
  "archived": "#bfc1c5",
431
431
  "danger": "#e3602a",
@@ -441,6 +441,7 @@ Object {
441
441
  "enabled": 1,
442
442
  },
443
443
  "radii": Object {
444
+ "basicItem": 4,
444
445
  "card": 8,
445
446
  "cardShadow": 4,
446
447
  "leadingStatus": 999,
@@ -914,6 +915,7 @@ Object {
914
915
  "__alpha__globalPrimary": "#001f23",
915
916
  "__alpha__globalSecondary1": "#4d6265",
916
917
  "__alpha__globalSecondary4": "#e6e9e9",
918
+ "__alpha__lightHighlightedSurface": "#ECE8EF",
917
919
  "__alpha__primary1": "#401960",
918
920
  "__alpha__primary2": "#c38cee",
919
921
  "__alpha__secondary1": "#795e90",
@@ -2,8 +2,10 @@ import type { GlobalTheme } from '../global';
2
2
 
3
3
  const getListTheme = (theme: GlobalTheme) => {
4
4
  const colors = {
5
- checkedListItemContainerBackground: theme.colors.primaryBackground,
6
- highlightedListItemContainerBackground: theme.colors.primaryBackground,
5
+ checkedListItemContainerBackground:
6
+ theme.colors.__alpha__lightHighlightedSurface,
7
+ highlightedListItemContainerBackground:
8
+ theme.colors.__alpha__lightHighlightedSurface,
7
9
  listItemContainerBackground: theme.colors.platformBackground,
8
10
  leadingStatus: {
9
11
  danger: theme.colors.dangerMediumLight,
@@ -23,6 +25,7 @@ const getListTheme = (theme: GlobalTheme) => {
23
25
 
24
26
  const radii = {
25
27
  card: theme.radii.medium,
28
+ basicItem: theme.radii.base,
26
29
  cardShadow: theme.radii.base,
27
30
  leadingStatus: theme.radii.rounded,
28
31
  };
@@ -73,6 +73,7 @@ const swagSystemPalette: SystemPalette = {
73
73
  __alpha__secondary2: swagPalette.scarletGumLight50,
74
74
  __alpha__secondary3: swagPalette.scarletGumLight80,
75
75
  __alpha__secondary4: swagPalette.scarletGumLight90,
76
+ __alpha__lightHighlightedSurface: '#ECE8EF',
76
77
  };
77
78
 
78
79
  export default swagSystemPalette;
@@ -67,4 +67,5 @@ export type SystemPalette = {
67
67
  __alpha__secondary2: string;
68
68
  __alpha__secondary3: string;
69
69
  __alpha__secondary4: string;
70
+ __alpha__lightHighlightedSurface: string;
70
71
  };
@@ -1,4 +1,4 @@
1
- import { Animated, SafeAreaView, View } from 'react-native';
1
+ import { Animated, KeyboardAvoidingView, KeyboardAvoidingViewProps, SafeAreaView, View } from 'react-native';
2
2
  import type { ViewProps } from 'react-native';
3
3
  declare const StyledWrapper: import("@emotion/native").StyledComponent<ViewProps & {
4
4
  theme?: import("@emotion/react").Theme;
@@ -6,6 +6,12 @@ declare const StyledWrapper: import("@emotion/native").StyledComponent<ViewProps
6
6
  }, {}, {
7
7
  ref?: import("react").Ref<View>;
8
8
  }>;
9
+ declare const StyledKeyboardAvoidingView: import("@emotion/native").StyledComponent<KeyboardAvoidingViewProps & {
10
+ theme?: import("@emotion/react").Theme;
11
+ as?: import("react").ElementType<any>;
12
+ }, {}, {
13
+ ref?: import("react").Ref<KeyboardAvoidingView>;
14
+ }>;
9
15
  declare const StyledBottomSheet: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<SafeAreaView>> & {
10
16
  children?: import("react").ReactNode;
11
17
  } & {
@@ -42,4 +48,4 @@ declare const StyledIconWrapper: import("@emotion/native").StyledComponent<ViewP
42
48
  }, {}, {
43
49
  ref?: import("react").Ref<View>;
44
50
  }>;
45
- export { StyledWrapper, StyledHeaderWrapper, StyledHeader, StyledFooter, StyledIconWrapper, StyledBottomSheet, StyledBackdrop, };
51
+ export { StyledWrapper, StyledHeaderWrapper, StyledHeader, StyledFooter, StyledIconWrapper, StyledBottomSheet, StyledBackdrop, StyledKeyboardAvoidingView, };
@@ -1,3 +1,4 @@
1
+ import { KeyboardAvoidingViewProps } from 'react-native';
1
2
  import type { ReactElement, ReactNode } from 'react';
2
3
  import type { StyleProp, ViewStyle } from 'react-native';
3
4
  interface BottomSheetProps {
@@ -54,6 +55,10 @@ interface BottomSheetProps {
54
55
  * Testing id of the component.
55
56
  */
56
57
  testID?: string;
58
+ /**
59
+ * keyboardAvoidingView's props
60
+ * */
61
+ keyboardAvoidingViewProps?: KeyboardAvoidingViewProps;
57
62
  }
58
- declare const BottomSheet: ({ open, header, footer, children, onAnimationEnd, onOpen, onRequestClose, onDismiss, showCloseButton, hasBackdrop, showDivider, style, testID, }: BottomSheetProps) => JSX.Element;
63
+ declare const BottomSheet: ({ open, header, footer, children, onAnimationEnd, onOpen, onRequestClose, onDismiss, showCloseButton, hasBackdrop, showDivider, style, testID, keyboardAvoidingViewProps, }: BottomSheetProps) => JSX.Element;
59
64
  export default BottomSheet;
@@ -3,6 +3,8 @@ export declare type Variant = 'default' | 'filled' | 'focused' | 'disabled' | 'r
3
3
  declare const StyledContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
4
4
  theme?: import("@emotion/react").Theme;
5
5
  as?: import("react").ElementType<any>;
6
+ } & {
7
+ themeVariant: Variant;
6
8
  }, {}, {
7
9
  ref?: import("react").Ref<View>;
8
10
  }>;
@@ -68,14 +70,6 @@ declare const StyledTextInput: import("@emotion/native").StyledComponent<import(
68
70
  }, {}, {
69
71
  ref?: import("react").Ref<TextInput>;
70
72
  }>;
71
- declare const StyledBorderBackDrop: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
72
- theme?: import("@emotion/react").Theme;
73
- as?: import("react").ElementType<any>;
74
- } & {
75
- themeVariant: Variant;
76
- }, {}, {
77
- ref?: import("react").Ref<View>;
78
- }>;
79
73
  declare const StyledTextInputContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
80
74
  theme?: import("@emotion/react").Theme;
81
75
  as?: import("react").ElementType<any>;
@@ -100,4 +94,4 @@ declare const StyledErrorAndMaxLengthContainer: import("@emotion/native").Styled
100
94
  }, {}, {
101
95
  ref?: import("react").Ref<View>;
102
96
  }>;
103
- export { StyledTextInputContainer, StyledLabel, StyledLabelContainer, StyledAsteriskLabel, StyledAsteriskLabelInsideTextInput, StyledTextInput, StyledError, StyledMaxLengthMessage, StyledLabelInsideTextInput, StyledContainer, StyledErrorContainer, StyledHelperText, StyledTextInputAndLabelContainer, StyledLabelContainerInsideTextInput, StyledErrorAndHelpTextContainer, StyledBorderBackDrop, StyledErrorAndMaxLengthContainer, };
97
+ export { StyledTextInputContainer, StyledLabel, StyledLabelContainer, StyledAsteriskLabel, StyledAsteriskLabelInsideTextInput, StyledTextInput, StyledError, StyledMaxLengthMessage, StyledLabelInsideTextInput, StyledContainer, StyledErrorContainer, StyledHelperText, StyledTextInputAndLabelContainer, StyledLabelContainerInsideTextInput, StyledErrorAndHelpTextContainer, StyledErrorAndMaxLengthContainer, };
@@ -1,7 +1,7 @@
1
- import React from "react";
2
- import type { TextInputProps as NativeTextInputProps, StyleProp, ViewStyle, TextStyle } from "react-native";
3
- import type { Variant } from "./StyledTextInput";
4
- import type { IconName } from "../Icon";
1
+ import React from 'react';
2
+ import type { TextInputProps as NativeTextInputProps, StyleProp, ViewStyle, TextStyle } from 'react-native';
3
+ import type { Variant } from './StyledTextInput';
4
+ import type { IconName } from '../Icon';
5
5
  export interface TextInputProps extends NativeTextInputProps {
6
6
  /**
7
7
  * Field label.
@@ -20,6 +20,7 @@ declare const getListTheme: (theme: GlobalTheme) => {
20
20
  };
21
21
  radii: {
22
22
  card: number;
23
+ basicItem: number;
23
24
  cardShadow: number;
24
25
  leadingStatus: number;
25
26
  };
@@ -61,4 +61,5 @@ export declare type SystemPalette = {
61
61
  __alpha__secondary2: string;
62
62
  __alpha__secondary3: string;
63
63
  __alpha__secondary4: string;
64
+ __alpha__lightHighlightedSurface: string;
64
65
  };
@@ -67,6 +67,7 @@ declare const getGlobalTheme: (scale: Scale, systemPalette: SystemPalette) => {
67
67
  __alpha__secondary2: string;
68
68
  __alpha__secondary3: string;
69
69
  __alpha__secondary4: string;
70
+ __alpha__lightHighlightedSurface: string;
70
71
  };
71
72
  fonts: import("./typography").Fonts;
72
73
  fontSizes: import("./typography").FontSizes;