@ovotech/element-native 4.1.9 → 4.2.0-canary-7a84545-291

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 (79) hide show
  1. package/dist/components/Accordion/styles.d.ts +240 -0
  2. package/dist/components/ActionCard/ActionCard.js +44 -45
  3. package/dist/components/ActionList/ActionList.js +1 -1
  4. package/dist/components/ActionList/styled.d.ts +560 -0
  5. package/dist/components/ActionList/styled.js +1 -1
  6. package/dist/components/Badge/Badge.d.ts +80 -0
  7. package/dist/components/CurrencyField/CurrencyField.d.ts +2 -2
  8. package/dist/components/CurrencyField/CurrencyField.js +1 -1
  9. package/dist/components/CurrencyInput/CurrencyInput.d.ts +2 -2
  10. package/dist/components/DataTable/styles.d.ts +1072 -32
  11. package/dist/components/DescriptionList/styled.d.ts +80 -0
  12. package/dist/components/Display0/Display0.d.ts +5 -0
  13. package/dist/components/Display0/Display0.js +73 -0
  14. package/dist/components/Display0/index.d.ts +1 -0
  15. package/dist/components/Display0/index.js +5 -0
  16. package/dist/components/Display1/Display1.d.ts +5 -0
  17. package/dist/components/Display1/Display1.js +73 -0
  18. package/dist/components/Display1/index.d.ts +1 -0
  19. package/dist/components/Display1/index.js +5 -0
  20. package/dist/components/Display2/Display2.d.ts +5 -0
  21. package/dist/components/Display2/Display2.js +73 -0
  22. package/dist/components/Display2/index.d.ts +1 -0
  23. package/dist/components/Display2/index.js +5 -0
  24. package/dist/components/Display3/Display3.d.ts +5 -0
  25. package/dist/components/Display3/Display3.js +73 -0
  26. package/dist/components/Display3/index.d.ts +1 -0
  27. package/dist/components/Display3/index.js +5 -0
  28. package/dist/components/Em/Em.d.ts +80 -0
  29. package/dist/components/EmailField/EmailField.d.ts +2 -2
  30. package/dist/components/EmailField/EmailField.js +1 -1
  31. package/dist/components/EmailInput/EmailInput.d.ts +2 -2
  32. package/dist/components/ErrorText/ErrorText.d.ts +80 -0
  33. package/dist/components/Grid/Col.d.ts +80 -0
  34. package/dist/components/Grid/Row.d.ts +80 -0
  35. package/dist/components/HintText/HintText.d.ts +80 -0
  36. package/dist/components/Input/Input.d.ts +2 -2
  37. package/dist/components/LabelText/LabelText.d.ts +80 -0
  38. package/dist/components/LineThrough/LineThrough.d.ts +80 -0
  39. package/dist/components/List/styled.d.ts +320 -0
  40. package/dist/components/Margin/Margin.d.ts +80 -0
  41. package/dist/components/NavHeader/NavHeader.styles.d.ts +744 -24
  42. package/dist/components/Notification/Notification.d.ts +160 -0
  43. package/dist/components/NumberField/NumberField.d.ts +2 -2
  44. package/dist/components/NumberInput/NumberInput.d.ts +2 -2
  45. package/dist/components/PasswordField/PasswordField.d.ts +2 -2
  46. package/dist/components/PasswordInput/PasswordInput.d.ts +2 -2
  47. package/dist/components/PasswordInput/PasswordInput.styled.d.ts +80 -0
  48. package/dist/components/PhoneField/PhoneField.d.ts +2 -2
  49. package/dist/components/PhoneInput/PhoneInput.d.ts +2 -2
  50. package/dist/components/SelectField/Select.d.ts +80 -0
  51. package/dist/components/SkeletonHeading/SkeletonHeading.js +1 -1
  52. package/dist/components/Small/Small.d.ts +80 -0
  53. package/dist/components/Strong/Strong.d.ts +80 -0
  54. package/dist/components/SubLabelText/SubLabelText.d.ts +80 -0
  55. package/dist/components/TextField/TextField.d.ts +2 -2
  56. package/dist/components/TextInput/TextInput.d.ts +2 -2
  57. package/dist/components/TextareaField/TextareaField.d.ts +2 -2
  58. package/dist/components/TextareaInput/TextareaInput.d.ts +2 -2
  59. package/dist/components/Toggle/styles.d.ts +320 -0
  60. package/dist/components/index.d.ts +4 -0
  61. package/dist/components/index.js +4 -0
  62. package/dist/esm/components/ActionCard/ActionCard.js +44 -45
  63. package/dist/esm/components/ActionList/ActionList.js +1 -1
  64. package/dist/esm/components/ActionList/styled.js +1 -1
  65. package/dist/esm/components/CurrencyField/CurrencyField.js +1 -1
  66. package/dist/esm/components/Display0/Display0.js +46 -0
  67. package/dist/esm/components/Display0/index.js +1 -0
  68. package/dist/esm/components/Display1/Display1.js +46 -0
  69. package/dist/esm/components/Display1/index.js +1 -0
  70. package/dist/esm/components/Display2/Display2.js +46 -0
  71. package/dist/esm/components/Display2/index.js +1 -0
  72. package/dist/esm/components/Display3/Display3.js +46 -0
  73. package/dist/esm/components/Display3/index.js +1 -0
  74. package/dist/esm/components/EmailField/EmailField.js +1 -1
  75. package/dist/esm/components/SkeletonHeading/SkeletonHeading.js +1 -1
  76. package/dist/esm/components/index.js +4 -0
  77. package/dist/providers/types.d.ts +1 -1
  78. package/dist/styled.native.d.ts +480 -0
  79. package/package.json +3 -3
@@ -96,6 +96,22 @@ export declare const StyledAccordion: import("styled-components").StyledComponen
96
96
  black: number;
97
97
  };
98
98
  fontSize: {
99
+ display0: {
100
+ small: number;
101
+ large: number;
102
+ };
103
+ display1: {
104
+ small: number;
105
+ large: number;
106
+ };
107
+ display2: {
108
+ small: number;
109
+ large: number;
110
+ };
111
+ display3: {
112
+ small: number;
113
+ large: number;
114
+ };
99
115
  heading1: {
100
116
  small: number;
101
117
  large: number;
@@ -135,6 +151,22 @@ export declare const StyledAccordion: import("styled-components").StyledComponen
135
151
  extraCompressed: number;
136
152
  };
137
153
  lineHeight: {
154
+ display0: {
155
+ small: number;
156
+ large: number;
157
+ };
158
+ display1: {
159
+ small: number;
160
+ large: number;
161
+ };
162
+ display2: {
163
+ small: number;
164
+ large: number;
165
+ };
166
+ display3: {
167
+ small: number;
168
+ large: number;
169
+ };
138
170
  heading1: {
139
171
  small: number;
140
172
  large: number;
@@ -386,6 +418,54 @@ export declare const StyledAccordion: import("styled-components").StyledComponen
386
418
  surfaceInverted: string;
387
419
  };
388
420
  };
421
+ display0: {
422
+ fontFamily: string;
423
+ fontWeight: number;
424
+ lineHeight: {
425
+ small: number;
426
+ large: number;
427
+ };
428
+ fontSize: {
429
+ small: number;
430
+ large: number;
431
+ };
432
+ };
433
+ display1: {
434
+ fontFamily: string;
435
+ fontWeight: number;
436
+ lineHeight: {
437
+ small: number;
438
+ large: number;
439
+ };
440
+ fontSize: {
441
+ small: number;
442
+ large: number;
443
+ };
444
+ };
445
+ display2: {
446
+ fontFamily: string;
447
+ fontWeight: number;
448
+ lineHeight: {
449
+ small: number;
450
+ large: number;
451
+ };
452
+ fontSize: {
453
+ small: number;
454
+ large: number;
455
+ };
456
+ };
457
+ display3: {
458
+ fontFamily: string;
459
+ fontWeight: number;
460
+ lineHeight: {
461
+ small: number;
462
+ large: number;
463
+ };
464
+ fontSize: {
465
+ small: number;
466
+ large: number;
467
+ };
468
+ };
389
469
  heading1: {
390
470
  fontFamily: string;
391
471
  fontWeight: number;
@@ -585,6 +665,22 @@ export declare const StyledAccordionHeader: import("styled-components").StyledCo
585
665
  black: number;
586
666
  };
587
667
  fontSize: {
668
+ display0: {
669
+ small: number;
670
+ large: number;
671
+ };
672
+ display1: {
673
+ small: number;
674
+ large: number;
675
+ };
676
+ display2: {
677
+ small: number;
678
+ large: number;
679
+ };
680
+ display3: {
681
+ small: number;
682
+ large: number;
683
+ };
588
684
  heading1: {
589
685
  small: number;
590
686
  large: number;
@@ -624,6 +720,22 @@ export declare const StyledAccordionHeader: import("styled-components").StyledCo
624
720
  extraCompressed: number;
625
721
  };
626
722
  lineHeight: {
723
+ display0: {
724
+ small: number;
725
+ large: number;
726
+ };
727
+ display1: {
728
+ small: number;
729
+ large: number;
730
+ };
731
+ display2: {
732
+ small: number;
733
+ large: number;
734
+ };
735
+ display3: {
736
+ small: number;
737
+ large: number;
738
+ };
627
739
  heading1: {
628
740
  small: number;
629
741
  large: number;
@@ -875,6 +987,54 @@ export declare const StyledAccordionHeader: import("styled-components").StyledCo
875
987
  surfaceInverted: string;
876
988
  };
877
989
  };
990
+ display0: {
991
+ fontFamily: string;
992
+ fontWeight: number;
993
+ lineHeight: {
994
+ small: number;
995
+ large: number;
996
+ };
997
+ fontSize: {
998
+ small: number;
999
+ large: number;
1000
+ };
1001
+ };
1002
+ display1: {
1003
+ fontFamily: string;
1004
+ fontWeight: number;
1005
+ lineHeight: {
1006
+ small: number;
1007
+ large: number;
1008
+ };
1009
+ fontSize: {
1010
+ small: number;
1011
+ large: number;
1012
+ };
1013
+ };
1014
+ display2: {
1015
+ fontFamily: string;
1016
+ fontWeight: number;
1017
+ lineHeight: {
1018
+ small: number;
1019
+ large: number;
1020
+ };
1021
+ fontSize: {
1022
+ small: number;
1023
+ large: number;
1024
+ };
1025
+ };
1026
+ display3: {
1027
+ fontFamily: string;
1028
+ fontWeight: number;
1029
+ lineHeight: {
1030
+ small: number;
1031
+ large: number;
1032
+ };
1033
+ fontSize: {
1034
+ small: number;
1035
+ large: number;
1036
+ };
1037
+ };
878
1038
  heading1: {
879
1039
  fontFamily: string;
880
1040
  fontWeight: number;
@@ -1070,6 +1230,22 @@ export declare const StyledContainer: import("styled-components").StyledComponen
1070
1230
  black: number;
1071
1231
  };
1072
1232
  fontSize: {
1233
+ display0: {
1234
+ small: number;
1235
+ large: number;
1236
+ };
1237
+ display1: {
1238
+ small: number;
1239
+ large: number;
1240
+ };
1241
+ display2: {
1242
+ small: number;
1243
+ large: number;
1244
+ };
1245
+ display3: {
1246
+ small: number;
1247
+ large: number;
1248
+ };
1073
1249
  heading1: {
1074
1250
  small: number;
1075
1251
  large: number;
@@ -1109,6 +1285,22 @@ export declare const StyledContainer: import("styled-components").StyledComponen
1109
1285
  extraCompressed: number;
1110
1286
  };
1111
1287
  lineHeight: {
1288
+ display0: {
1289
+ small: number;
1290
+ large: number;
1291
+ };
1292
+ display1: {
1293
+ small: number;
1294
+ large: number;
1295
+ };
1296
+ display2: {
1297
+ small: number;
1298
+ large: number;
1299
+ };
1300
+ display3: {
1301
+ small: number;
1302
+ large: number;
1303
+ };
1112
1304
  heading1: {
1113
1305
  small: number;
1114
1306
  large: number;
@@ -1360,6 +1552,54 @@ export declare const StyledContainer: import("styled-components").StyledComponen
1360
1552
  surfaceInverted: string;
1361
1553
  };
1362
1554
  };
1555
+ display0: {
1556
+ fontFamily: string;
1557
+ fontWeight: number;
1558
+ lineHeight: {
1559
+ small: number;
1560
+ large: number;
1561
+ };
1562
+ fontSize: {
1563
+ small: number;
1564
+ large: number;
1565
+ };
1566
+ };
1567
+ display1: {
1568
+ fontFamily: string;
1569
+ fontWeight: number;
1570
+ lineHeight: {
1571
+ small: number;
1572
+ large: number;
1573
+ };
1574
+ fontSize: {
1575
+ small: number;
1576
+ large: number;
1577
+ };
1578
+ };
1579
+ display2: {
1580
+ fontFamily: string;
1581
+ fontWeight: number;
1582
+ lineHeight: {
1583
+ small: number;
1584
+ large: number;
1585
+ };
1586
+ fontSize: {
1587
+ small: number;
1588
+ large: number;
1589
+ };
1590
+ };
1591
+ display3: {
1592
+ fontFamily: string;
1593
+ fontWeight: number;
1594
+ lineHeight: {
1595
+ small: number;
1596
+ large: number;
1597
+ };
1598
+ fontSize: {
1599
+ small: number;
1600
+ large: number;
1601
+ };
1602
+ };
1363
1603
  heading1: {
1364
1604
  fontFamily: string;
1365
1605
  fontWeight: number;
@@ -35,7 +35,6 @@ var react_native_1 = require("react-native");
35
35
  var __1 = require("../");
36
36
  var styled_native_1 = __importStar(require("../../styled.native"));
37
37
  var P_1 = require("../P");
38
- var CloseIconShape_1 = require("./CloseIconShape");
39
38
  var IndicatorIconShape_1 = require("./IndicatorIconShape");
40
39
  var StyledCard = styled_native_1.default.Pressable(function (_a) {
41
40
  var _b = _a.theme, core = _b.core, semantic = _b.semantic, inline = _a.inline, inverted = _a.inverted, reducedBottomPadding = _a.reducedBottomPadding;
@@ -47,6 +46,10 @@ var StyledP = (0, styled_native_1.default)(P_1.P)(function (_a) {
47
46
  var semantic = _a.theme.semantic, inverted = _a.inverted;
48
47
  return "\n color: ".concat(inverted ? semantic.inverted.message.base : semantic.message.base, ";\n");
49
48
  });
49
+ var CloseIconWrapper = styled_native_1.default.View(function (_a) {
50
+ var _b = _a.theme, core = _b.core, semantic = _b.semantic;
51
+ return "\n padding: ".concat((0, element_core_1.numToPx)(core.space[2]), ";\n background-color: ").concat(semantic.surface.elevated, ";\n border-radius: ").concat((0, element_core_1.numToPx)(core.space[6]), ";\n");
52
+ });
50
53
  var ActionCard = function (_a) {
51
54
  var _b = _a.accessibilityLabel, accessibilityLabel = _b === void 0 ? 'image' : _b, _c = _a.actionIconName, actionIconName = _c === void 0 ? 'chevron-right-small' : _c, body = _a.body, buttonTitle = _a.buttonTitle, ctaVariant = _a.ctaVariant, image = _a.image, _d = _a.inline, inline = _d === void 0 ? false : _d, _e = _a.inverted, inverted = _e === void 0 ? false : _e, onMount = _a.onMount, onPressCloseButton = _a.onPressCloseButton, onPressActionButton = _a.onPressActionButton, onPressIndicator = _a.onPressIndicator, testID = _a.testID, title = _a.title;
52
55
  var _f = (0, react_1.useContext)(styled_native_1.ThemeContext), core = _f.core, semantic = _f.semantic;
@@ -63,50 +66,46 @@ var ActionCard = function (_a) {
63
66
  var Heading = inline ? __1.Heading3 : __1.Heading2;
64
67
  var cardPadding = core.space[inline ? 4 : 6];
65
68
  var negativeMarginAdjustment = -cardPadding;
66
- return ((0, jsx_runtime_1.jsx)(StyledCard, { onPress: cardAction, inline: inline, inverted: inverted, reducedBottomPadding: Boolean(buttonTitle && !ctaVariant), testID: "".concat(testID, "-card"), children: (0, jsx_runtime_1.jsxs)(react_native_1.View, { style: { flexDirection: 'row' }, children: [(0, jsx_runtime_1.jsx)(react_native_1.View, { style: { flex: 1 }, children: (0, jsx_runtime_1.jsxs)(__1.Stack, { spaceBetween: 2, children: [(0, jsx_runtime_1.jsx)(Heading, { style: {
67
- color: inverted
68
- ? semantic.inverted.message.link
69
- : semantic.message.branded,
70
- paddingRight: image || !onPressCloseButton ? 0 : cardPadding,
71
- }, testID: "".concat(testID, "-heading"), children: title }), (0, jsx_runtime_1.jsxs)(react_native_1.View, { children: [typeof body === 'string' ? ((0, jsx_runtime_1.jsx)(react_native_1.View, { style: {
72
- paddingRight: !image && !title && onPressCloseButton ? cardPadding : 0,
73
- }, children: (0, jsx_runtime_1.jsx)(StyledP, { inverted: inverted, children: body }) })) : (body), buttonTitle && onPressActionButton && !onPressIndicator ? (!ctaVariant ? ((0, jsx_runtime_1.jsx)(__1.Margin, { top: 2, children: (0, jsx_runtime_1.jsx)(__1.Action, { inline: true, onPress: onPressActionButton, testID: "".concat(testID, "-button"), iconRight: actionIconName, inverted: inverted, children: buttonTitle }) })) : ((0, jsx_runtime_1.jsx)(__1.Margin, { top: 4, children: (0, jsx_runtime_1.jsx)(__1.CTAButton, { onPress: onPressActionButton, testID: "".concat(testID, "-button"), variant: ctaVariant, inverted: inverted, children: buttonTitle }) }))) : null] })] }) }), image ? ((0, jsx_runtime_1.jsx)(masked_view_1.default, { style: {
74
- flex: 1,
75
- flexDirection: 'row',
76
- height: '100%',
77
- marginTop: negativeMarginAdjustment,
78
- marginRight: negativeMarginAdjustment,
79
- }, maskElement: (0, jsx_runtime_1.jsx)(react_native_1.View, { style: {
80
- width: '100%',
81
- height: 165,
82
- backgroundColor: 'olive',
83
- transform: [
84
- { rotate: '-16deg' },
85
- { translateX: 40 },
86
- { translateY: 25 },
87
- ],
88
- } }), children: (0, jsx_runtime_1.jsx)(react_native_1.Image, { resizeMode: "cover", source: image, style: {
89
- width: '100%',
90
- height: 200,
91
- position: 'absolute',
92
- top: 0,
93
- right: 0,
94
- }, accessible: true, accessibilityRole: "image", accessibilityLabel: accessibilityLabel }) })) : null, onPressIndicator ? ((0, jsx_runtime_1.jsxs)(react_native_1.Pressable, { style: {
95
- position: 'absolute',
96
- right: negativeMarginAdjustment,
97
- bottom: negativeMarginAdjustment,
98
- }, onPress: onPressIndicator, testID: "".concat(testID, "-indicator-button"), children: [(0, jsx_runtime_1.jsx)(IndicatorIconShape_1.IndicatorIconShape, {}), (0, jsx_runtime_1.jsx)(__1.Icon, { size: 14, style: {
69
+ return ((0, jsx_runtime_1.jsxs)(StyledCard, { onPress: cardAction, inline: inline, inverted: inverted, reducedBottomPadding: Boolean(buttonTitle && !ctaVariant), testID: "".concat(testID, "-card"), children: [(0, jsx_runtime_1.jsxs)(react_native_1.View, { style: { flexDirection: 'row' }, children: [(0, jsx_runtime_1.jsx)(react_native_1.View, { style: { flex: 1 }, children: (0, jsx_runtime_1.jsxs)(__1.Stack, { spaceBetween: 2, children: [(0, jsx_runtime_1.jsx)(Heading, { style: {
70
+ color: inverted
71
+ ? semantic.inverted.message.link
72
+ : semantic.message.branded,
73
+ paddingRight: image || !onPressCloseButton ? 0 : cardPadding,
74
+ }, testID: "".concat(testID, "-heading"), children: title }), (0, jsx_runtime_1.jsxs)(react_native_1.View, { children: [typeof body === 'string' ? ((0, jsx_runtime_1.jsx)(react_native_1.View, { style: {
75
+ paddingRight: !image && !title && onPressCloseButton ? cardPadding : 0,
76
+ }, children: (0, jsx_runtime_1.jsx)(StyledP, { inverted: inverted, children: body }) })) : (body), buttonTitle && onPressActionButton && !onPressIndicator ? (!ctaVariant ? ((0, jsx_runtime_1.jsx)(__1.Margin, { top: 2, children: (0, jsx_runtime_1.jsx)(__1.Action, { inline: true, onPress: onPressActionButton, testID: "".concat(testID, "-button"), iconRight: actionIconName, inverted: inverted, children: buttonTitle }) })) : ((0, jsx_runtime_1.jsx)(__1.Margin, { top: 4, children: (0, jsx_runtime_1.jsx)(__1.CTAButton, { onPress: onPressActionButton, testID: "".concat(testID, "-button"), variant: ctaVariant, inverted: inverted, children: buttonTitle }) }))) : null] })] }) }), image ? ((0, jsx_runtime_1.jsx)(masked_view_1.default, { style: {
77
+ flex: 1,
78
+ flexDirection: 'row',
79
+ height: '100%',
80
+ marginTop: negativeMarginAdjustment,
81
+ marginRight: negativeMarginAdjustment,
82
+ }, maskElement: (0, jsx_runtime_1.jsx)(react_native_1.View, { style: {
83
+ width: '100%',
84
+ height: 165,
85
+ backgroundColor: 'olive',
86
+ transform: [
87
+ { rotate: '-16deg' },
88
+ { translateX: 40 },
89
+ { translateY: 25 },
90
+ ],
91
+ } }), children: (0, jsx_runtime_1.jsx)(react_native_1.Image, { resizeMode: "cover", source: image, style: {
92
+ width: '100%',
93
+ height: 200,
99
94
  position: 'absolute',
100
- right: inline ? 8 : 6,
101
- bottom: 16,
102
- }, color: semantic.surface.elevated, name: "chevron-right", accessibilityLabel: "chevron-right" })] })) : null, onPressCloseButton && !onPressIndicator ? ((0, jsx_runtime_1.jsxs)(react_native_1.Pressable, { style: {
103
- position: 'absolute',
104
- right: negativeMarginAdjustment,
105
- top: negativeMarginAdjustment,
106
- }, onPress: onPressCloseButton, testID: "".concat(testID, "-close-button"), children: [(0, jsx_runtime_1.jsx)(CloseIconShape_1.CloseIconShape, {}), (0, jsx_runtime_1.jsx)(__1.Icon, { size: 14, style: {
107
- position: 'absolute',
108
- top: inline ? 14 : 12,
109
- right: inline ? 14 : 12,
110
- }, color: semantic.surface.elevated, name: "cross", accessibilityLabel: "close" })] })) : null] }) }));
95
+ top: 0,
96
+ right: 0,
97
+ }, accessible: true, accessibilityRole: "image", accessibilityLabel: accessibilityLabel }) })) : null, onPressIndicator ? ((0, jsx_runtime_1.jsxs)(react_native_1.Pressable, { style: {
98
+ position: 'absolute',
99
+ right: negativeMarginAdjustment,
100
+ bottom: negativeMarginAdjustment,
101
+ }, onPress: onPressIndicator, testID: "".concat(testID, "-indicator-button"), children: [(0, jsx_runtime_1.jsx)(IndicatorIconShape_1.IndicatorIconShape, {}), (0, jsx_runtime_1.jsx)(__1.Icon, { size: 14, style: {
102
+ position: 'absolute',
103
+ right: inline ? 8 : 6,
104
+ bottom: 16,
105
+ }, color: semantic.surface.elevated, name: "chevron-right", accessibilityLabel: "chevron-right" })] })) : null] }), onPressCloseButton && !onPressIndicator ? ((0, jsx_runtime_1.jsx)(react_native_1.Pressable, { style: {
106
+ position: 'absolute',
107
+ right: core.space[2],
108
+ top: core.space[2],
109
+ }, onPress: onPressCloseButton, testID: "".concat(testID, "-close-button"), children: (0, jsx_runtime_1.jsx)(CloseIconWrapper, { inverted: inverted, children: (0, jsx_runtime_1.jsx)(__1.Icon, { name: "cross", size: "16", color: semantic.message.base }) }) })) : null] }));
111
110
  };
112
111
  exports.ActionCard = ActionCard;
@@ -48,7 +48,7 @@ var ActionList = function (_a) {
48
48
  exports.ActionList = ActionList;
49
49
  var ActionWrapper = (0, react_1.forwardRef)(function (_a, ref) {
50
50
  var children = _a.children, accessibilityRole = _a.accessibilityRole, _b = _a.activeOpacity, activeOpacity = _b === void 0 ? 0.75 : _b, fullWidth = _a.fullWidth, _c = _a.hasBorder, hasBorder = _c === void 0 ? false : _c, _d = _a.inverted, inverted = _d === void 0 ? false : _d, _e = _a.inline, inline = _e === void 0 ? false : _e, inList = _a.inList, onPress = _a.onPress, testID = _a.testID, rest = __rest(_a, ["children", "accessibilityRole", "activeOpacity", "fullWidth", "hasBorder", "inverted", "inline", "inList", "onPress", "testID"]);
51
- return ((0, jsx_runtime_1.jsx)(styled_1.StyledActionWrapper, __assign({ ref: ref, hasBorder: hasBorder, inverted: inverted, testID: testID }, rest, { children: (0, jsx_runtime_1.jsx)(react_native_1.TouchableOpacity, { hitSlop: inline ? 24 : null, activeOpacity: activeOpacity, accessible: true, accessibilityRole: accessibilityRole, onPress: onPress, children: (0, jsx_runtime_1.jsx)(styled_1.StyledActionInner, { fullWidth: fullWidth, inList: inList, inline: inline, children: children }) }) })));
51
+ return ((0, jsx_runtime_1.jsx)(styled_1.StyledActionWrapper, __assign({ ref: ref, hasBorder: hasBorder, inverted: inverted, testID: testID }, rest, { children: (0, jsx_runtime_1.jsx)(react_native_1.TouchableOpacity, { hitSlop: inline ? 14 : null, activeOpacity: activeOpacity, accessible: true, accessibilityRole: accessibilityRole, onPress: onPress, children: (0, jsx_runtime_1.jsx)(styled_1.StyledActionInner, { fullWidth: fullWidth, inList: inList, inline: inline, children: children }) }) })));
52
52
  });
53
53
  var Action = (0, react_1.forwardRef)(function (_a, ref) {
54
54
  var _b = _a.accessibilityRole, accessibilityRole = _b === void 0 ? 'link' : _b, children = _a.children, _c = _a.fullWidth, fullWidth = _c === void 0 ? false : _c, _d = _a.inverted, inverted = _d === void 0 ? false : _d, _e = _a.inline, inline = _e === void 0 ? false : _e, onPress = _a.onPress, testID = _a.testID, iconLeft = _a.iconLeft, iconRight = _a.iconRight, rest = __rest(_a, ["accessibilityRole", "children", "fullWidth", "inverted", "inline", "onPress", "testID", "iconLeft", "iconRight"]);