@ovotech/element-native 0.0.2 → 2.0.0-beta.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 (223) hide show
  1. package/dist/components/Accordion/Accordion.d.ts +5 -22
  2. package/dist/components/Accordion/Accordion.js +99 -65
  3. package/dist/components/Accordion/Group.d.ts +3 -0
  4. package/dist/components/Accordion/Group.js +41 -0
  5. package/dist/components/Accordion/Icon.d.ts +4 -0
  6. package/dist/components/Accordion/Icon.js +68 -0
  7. package/dist/components/Accordion/hooks.d.ts +6 -0
  8. package/dist/components/Accordion/hooks.js +43 -0
  9. package/dist/components/Accordion/index.d.ts +4 -1
  10. package/dist/components/Accordion/index.js +5 -2
  11. package/dist/components/Accordion/styles.d.ts +46 -0
  12. package/dist/components/Accordion/styles.js +52 -0
  13. package/dist/components/Accordion/types.d.ts +20 -0
  14. package/dist/components/Accordion/types.js +2 -0
  15. package/dist/components/Badge/Badge.d.ts +0 -1
  16. package/dist/components/Badge/Badge.js +3 -5
  17. package/dist/components/CTAButton/CTAButton.d.ts +2 -2
  18. package/dist/components/CTAButton/CTAButton.js +1 -1
  19. package/dist/components/CTALink/CTALink.js +1 -21
  20. package/dist/components/Card/Card.js +6 -5
  21. package/dist/components/Checkbox/Checkbox.js +10 -6
  22. package/dist/components/DataTable/DataTable.js +40 -42
  23. package/dist/components/DateField/DateField.js +3 -3
  24. package/dist/components/Disclosure/Disclosure.js +4 -15
  25. package/dist/components/ErrorText/ErrorText.js +1 -1
  26. package/dist/components/Field/Field.js +3 -3
  27. package/dist/components/FormGroup/FormGroup.js +3 -31
  28. package/dist/components/Heading/Heading.js +4 -17
  29. package/dist/components/HintText/HintText.js +1 -1
  30. package/dist/components/Icon/Icon.d.ts +1 -1
  31. package/dist/components/Icon/Icon.js +1 -1
  32. package/dist/components/Input/CurrencyInput.d.ts +2 -2
  33. package/dist/components/Input/EmailInput.d.ts +2 -2
  34. package/dist/components/Input/Input.d.ts +1 -1
  35. package/dist/components/Input/NumberInput.d.ts +2 -2
  36. package/dist/components/Input/PasswordInput.d.ts +2 -2
  37. package/dist/components/Input/TelInput.d.ts +2 -2
  38. package/dist/components/Input/TextInput.d.ts +2 -2
  39. package/dist/components/Input/TextareaInput.d.ts +2 -2
  40. package/dist/components/LabelText/LabelText.js +1 -1
  41. package/dist/components/List/List.d.ts +3 -1
  42. package/dist/components/List/List.js +18 -13
  43. package/dist/components/Margin/Margin.d.ts +1 -1
  44. package/dist/components/Margin/Margin.js +3 -1
  45. package/dist/components/NavHeader/NavHeader.d.ts +15 -0
  46. package/dist/components/NavHeader/NavHeader.js +93 -0
  47. package/dist/components/NavHeader/index.d.ts +1 -0
  48. package/dist/components/NavHeader/index.js +5 -0
  49. package/dist/components/Notification/Notification.d.ts +10 -0
  50. package/dist/components/Notification/Notification.js +50 -17
  51. package/dist/components/Radio/Radio.js +10 -6
  52. package/dist/components/Tabs/Tab.js +2 -2
  53. package/dist/components/Tabs/TabList.d.ts +1 -1
  54. package/dist/components/Tabs/TabList.js +2 -1
  55. package/dist/components/Tabs/Tabs.d.ts +1 -1
  56. package/dist/components/Tabs/Tabs.js +5 -3
  57. package/dist/components/Text/Text.js +3 -3
  58. package/dist/components/TextField/CurrencyField.d.ts +2 -2
  59. package/dist/components/TextField/EmailField.d.ts +2 -2
  60. package/dist/components/TextField/NumberField.d.ts +2 -2
  61. package/dist/components/TextField/PasswordField.d.ts +2 -2
  62. package/dist/components/TextField/TelField.d.ts +2 -2
  63. package/dist/components/TextField/TextField.d.ts +2 -2
  64. package/dist/components/TextField/TextareaField.d.ts +2 -2
  65. package/dist/components/index.d.ts +1 -0
  66. package/dist/components/index.js +1 -0
  67. package/dist/esm/components/Accordion/Accordion.js +98 -65
  68. package/dist/esm/components/Accordion/Group.js +14 -0
  69. package/dist/esm/components/Accordion/Icon.js +38 -0
  70. package/dist/esm/components/Accordion/hooks.js +16 -0
  71. package/dist/esm/components/Accordion/index.js +3 -1
  72. package/dist/esm/components/Accordion/styles.js +49 -0
  73. package/dist/esm/components/Accordion/types.js +1 -0
  74. package/dist/esm/components/Badge/Badge.js +3 -5
  75. package/dist/esm/components/CTAButton/CTAButton.js +1 -1
  76. package/dist/esm/components/CTALink/CTALink.js +1 -21
  77. package/dist/esm/components/Card/Card.js +6 -5
  78. package/dist/esm/components/Checkbox/Checkbox.js +10 -6
  79. package/dist/esm/components/DataTable/DataTable.js +40 -42
  80. package/dist/esm/components/DateField/DateField.js +3 -3
  81. package/dist/esm/components/Disclosure/Disclosure.js +4 -15
  82. package/dist/esm/components/ErrorText/ErrorText.js +1 -1
  83. package/dist/esm/components/Field/Field.js +3 -3
  84. package/dist/esm/components/FormGroup/FormGroup.js +3 -8
  85. package/dist/esm/components/Heading/Heading.js +4 -17
  86. package/dist/esm/components/HintText/HintText.js +1 -1
  87. package/dist/esm/components/Icon/Icon.js +1 -1
  88. package/dist/esm/components/LabelText/LabelText.js +1 -1
  89. package/dist/esm/components/List/List.js +18 -13
  90. package/dist/esm/components/Margin/Margin.js +3 -1
  91. package/dist/esm/components/NavHeader/NavHeader.js +63 -0
  92. package/dist/esm/components/NavHeader/index.js +1 -0
  93. package/dist/esm/components/Notification/Notification.js +49 -16
  94. package/dist/esm/components/Radio/Radio.js +10 -6
  95. package/dist/esm/components/Tabs/Tab.js +2 -2
  96. package/dist/esm/components/Tabs/TabList.js +2 -1
  97. package/dist/esm/components/Tabs/Tabs.js +5 -3
  98. package/dist/esm/components/Text/Text.js +3 -3
  99. package/dist/esm/components/index.js +1 -0
  100. package/dist/esm/providers/IconsProvider.js +28 -8
  101. package/dist/esm/providers/icons/ArrowDown.js +15 -0
  102. package/dist/esm/providers/icons/ArrowLeft.js +15 -0
  103. package/dist/esm/providers/icons/ArrowRight.js +15 -0
  104. package/dist/esm/providers/icons/ArrowUp.js +15 -0
  105. package/dist/esm/providers/icons/CaretDown.js +1 -1
  106. package/dist/esm/providers/icons/CaretLeft.js +15 -0
  107. package/dist/esm/providers/icons/CaretRight.js +1 -1
  108. package/dist/esm/providers/icons/CaretUp.js +15 -0
  109. package/dist/esm/providers/icons/Chart.js +15 -0
  110. package/dist/esm/providers/icons/Check.js +2 -2
  111. package/dist/esm/providers/icons/ChevronDown.js +2 -2
  112. package/dist/esm/providers/icons/ChevronLeft.js +1 -1
  113. package/dist/esm/providers/icons/ChevronLeftSmall.js +15 -0
  114. package/dist/esm/providers/icons/ChevronLeftSmallFirst.js +15 -0
  115. package/dist/esm/providers/icons/ChevronRight.js +1 -1
  116. package/dist/esm/providers/icons/ChevronRightSmall.js +15 -0
  117. package/dist/esm/providers/icons/ChevronRightSmallLast.js +15 -0
  118. package/dist/esm/providers/icons/ChevronUp.js +2 -2
  119. package/dist/esm/providers/icons/Cross.js +1 -1
  120. package/dist/esm/providers/icons/Dollar.js +2 -3
  121. package/dist/esm/providers/icons/Download.js +1 -1
  122. package/dist/esm/providers/icons/Electricity.js +2 -3
  123. package/dist/esm/providers/icons/Euro.js +2 -3
  124. package/dist/esm/providers/icons/Gas.js +3 -3
  125. package/dist/esm/providers/icons/Help.js +15 -0
  126. package/dist/esm/providers/icons/Hide.js +15 -0
  127. package/dist/esm/providers/icons/HidePassword.js +15 -0
  128. package/dist/esm/providers/icons/Home.js +15 -0
  129. package/dist/esm/providers/icons/Info.js +15 -0
  130. package/dist/esm/providers/icons/Link.js +2 -2
  131. package/dist/esm/providers/icons/Logo.js +15 -0
  132. package/dist/esm/providers/icons/Minus.js +1 -1
  133. package/dist/esm/providers/icons/NewWindow.js +1 -2
  134. package/dist/esm/providers/icons/Payment.js +15 -0
  135. package/dist/esm/providers/icons/PaymentCard.js +15 -0
  136. package/dist/esm/providers/icons/Plus.js +1 -1
  137. package/dist/esm/providers/icons/Pound.js +2 -3
  138. package/dist/esm/providers/icons/Search.js +15 -0
  139. package/dist/esm/providers/icons/Show.js +15 -0
  140. package/dist/esm/providers/icons/ShowPassword.js +15 -0
  141. package/dist/esm/providers/icons/Usage.js +15 -0
  142. package/dist/esm/providers/icons/User.js +15 -0
  143. package/dist/esm/providers/icons/index.js +21 -1
  144. package/dist/esm/theme/create-theme.js +189 -112
  145. package/dist/providers/IconsProvider.js +27 -7
  146. package/dist/providers/icons/ArrowDown.d.ts +2 -0
  147. package/dist/providers/icons/ArrowDown.js +22 -0
  148. package/dist/providers/icons/ArrowLeft.d.ts +2 -0
  149. package/dist/providers/icons/ArrowLeft.js +22 -0
  150. package/dist/providers/icons/ArrowRight.d.ts +2 -0
  151. package/dist/providers/icons/ArrowRight.js +22 -0
  152. package/dist/providers/icons/ArrowUp.d.ts +2 -0
  153. package/dist/providers/icons/ArrowUp.js +22 -0
  154. package/dist/providers/icons/CaretDown.js +1 -1
  155. package/dist/providers/icons/CaretLeft.d.ts +2 -0
  156. package/dist/providers/icons/CaretLeft.js +22 -0
  157. package/dist/providers/icons/CaretRight.js +1 -1
  158. package/dist/providers/icons/CaretUp.d.ts +2 -0
  159. package/dist/providers/icons/CaretUp.js +22 -0
  160. package/dist/providers/icons/Chart.d.ts +2 -0
  161. package/dist/providers/icons/Chart.js +22 -0
  162. package/dist/providers/icons/Check.js +2 -2
  163. package/dist/providers/icons/ChevronDown.js +2 -2
  164. package/dist/providers/icons/ChevronLeft.js +1 -1
  165. package/dist/providers/icons/ChevronLeftSmall.d.ts +2 -0
  166. package/dist/providers/icons/ChevronLeftSmall.js +22 -0
  167. package/dist/providers/icons/ChevronLeftSmallFirst.d.ts +2 -0
  168. package/dist/providers/icons/ChevronLeftSmallFirst.js +22 -0
  169. package/dist/providers/icons/ChevronRight.js +1 -1
  170. package/dist/providers/icons/ChevronRightSmall.d.ts +2 -0
  171. package/dist/providers/icons/ChevronRightSmall.js +22 -0
  172. package/dist/providers/icons/ChevronRightSmallLast.d.ts +2 -0
  173. package/dist/providers/icons/ChevronRightSmallLast.js +22 -0
  174. package/dist/providers/icons/ChevronUp.js +2 -2
  175. package/dist/providers/icons/Cross.js +1 -1
  176. package/dist/providers/icons/Dollar.d.ts +1 -2
  177. package/dist/providers/icons/Dollar.js +1 -1
  178. package/dist/providers/icons/Download.js +1 -1
  179. package/dist/providers/icons/Electricity.d.ts +1 -2
  180. package/dist/providers/icons/Electricity.js +1 -1
  181. package/dist/providers/icons/Euro.d.ts +1 -2
  182. package/dist/providers/icons/Euro.js +1 -1
  183. package/dist/providers/icons/Gas.d.ts +1 -2
  184. package/dist/providers/icons/Gas.js +2 -1
  185. package/dist/providers/icons/Help.d.ts +2 -0
  186. package/dist/providers/icons/Help.js +22 -0
  187. package/dist/providers/icons/Hide.d.ts +2 -0
  188. package/dist/providers/icons/Hide.js +22 -0
  189. package/dist/providers/icons/HidePassword.d.ts +2 -0
  190. package/dist/providers/icons/HidePassword.js +22 -0
  191. package/dist/providers/icons/Home.d.ts +2 -0
  192. package/dist/providers/icons/Home.js +22 -0
  193. package/dist/providers/icons/Info.d.ts +2 -0
  194. package/dist/providers/icons/Info.js +22 -0
  195. package/dist/providers/icons/Link.js +2 -2
  196. package/dist/providers/icons/Logo.d.ts +2 -0
  197. package/dist/providers/icons/Logo.js +22 -0
  198. package/dist/providers/icons/Minus.js +1 -1
  199. package/dist/providers/icons/NewWindow.js +1 -2
  200. package/dist/providers/icons/Payment.d.ts +2 -0
  201. package/dist/providers/icons/Payment.js +22 -0
  202. package/dist/providers/icons/PaymentCard.d.ts +2 -0
  203. package/dist/providers/icons/PaymentCard.js +22 -0
  204. package/dist/providers/icons/Plus.js +1 -1
  205. package/dist/providers/icons/Pound.d.ts +1 -2
  206. package/dist/providers/icons/Pound.js +1 -1
  207. package/dist/providers/icons/Search.d.ts +2 -0
  208. package/dist/providers/icons/Search.js +22 -0
  209. package/dist/providers/icons/Show.d.ts +2 -0
  210. package/dist/providers/icons/Show.js +22 -0
  211. package/dist/providers/icons/ShowPassword.d.ts +2 -0
  212. package/dist/providers/icons/ShowPassword.js +22 -0
  213. package/dist/providers/icons/Usage.d.ts +2 -0
  214. package/dist/providers/icons/Usage.js +22 -0
  215. package/dist/providers/icons/User.d.ts +2 -0
  216. package/dist/providers/icons/User.js +22 -0
  217. package/dist/providers/icons/index.d.ts +21 -1
  218. package/dist/providers/icons/index.js +21 -1
  219. package/dist/providers/types.d.ts +1 -1
  220. package/dist/theme/create-theme.d.ts +1 -1
  221. package/dist/theme/create-theme.js +189 -112
  222. package/dist/theme/theme.d.ts +35 -25
  223. package/package.json +18 -15
@@ -9,32 +9,35 @@ declare type Shadow = {
9
9
  radius: string;
10
10
  elevation: number;
11
11
  };
12
+ declare type FontNames = 'body' | 'small' | 'label' | 'level1' | 'level2' | 'level3' | 'level4' | 'lead';
12
13
  export declare type Theme = {
13
14
  space: Record<1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12, string>;
14
- colors: Record<'primary' | 'primaryAlt' | 'primaryContrast' | 'primaryMuted' | 'error' | 'errorAlt' | 'errorContrast' | 'errorMuted' | 'info' | 'infoAlt' | 'infoContrast' | 'infoMuted' | 'warning' | 'warningAlt' | 'warningContrast' | 'warningMuted' | 'success' | 'successAlt' | 'successContrast' | 'successMuted' | 'focus' | 'body' | 'heading' | 'border' | 'borderMuted' | 'canvas' | 'canvasMuted', string>;
15
- fonts: Record<'display' | 'body' | 'monospace', string>;
15
+ colors: Record<'primary' | 'primaryAlt' | 'primaryContrast' | 'primaryMuted' | 'error' | 'errorAlt' | 'errorContrast' | 'errorMuted' | 'info' | 'infoAlt' | 'infoContrast' | 'infoMuted' | 'warning' | 'warningAlt' | 'warningContrast' | 'warningMuted' | 'success' | 'successAlt' | 'successContrast' | 'successMuted' | 'focus' | 'focusMuted' | 'body' | 'heading' | 'border' | 'borderMuted' | 'canvas' | 'canvasMuted' | 'mission' | 'missionMuted' | 'missionAlt' | 'missionContrast', string> & {
16
+ brand: Record<string, Record<string, string>>;
17
+ };
18
+ fonts: Record<'body' | 'bold' | 'heading', string>;
16
19
  lineHeights: Record<'standard', number>;
17
20
  fontSizes: string[];
18
- responsiveFontSizes: Record<'body' | 'small' | 'level1' | 'level2' | 'level3' | 'level4', string[]>;
21
+ responsiveFontSizes: Record<FontNames, string[]>;
22
+ responsiveLineHeights: Record<FontNames, string[]>;
19
23
  breakpoints: Record<'small' | 'medium' | 'large', number>;
20
- radii: Record<'standard', string>;
24
+ radii: Record<'small' | 'medium' | 'large', string>;
21
25
  shadows: Record<'standard', Shadow>;
22
26
  borderWidths: Record<'standard' | 'heavy' | 'heavier', string>;
23
- fontWeights: Record<'normal' | 'bold' | 'semiBold', number>;
27
+ fontWeights: Record<'normal' | 'bold' | 'semiBold' | 'heading', number>;
24
28
  badge: {
25
29
  fontWeight: number;
30
+ fontFamily: string;
26
31
  lineHeight: number;
27
- paddingVertical: string;
28
32
  paddingHorizontal: string;
29
33
  borderRadius: string;
30
- borderWidth: string;
31
34
  fontSize: string[];
32
35
  variants: Record<BadgeVariantName, BadgeVariant>;
33
36
  };
34
37
  cta: {
35
38
  fontSize: string[];
36
39
  fontWeight: number;
37
- font: string;
40
+ fontFamily: string;
38
41
  lineHeight: number;
39
42
  paddingVertical: string;
40
43
  paddingHorizontal: string;
@@ -46,19 +49,22 @@ export declare type Theme = {
46
49
  };
47
50
  text: {
48
51
  fontFamily: string;
49
- lineHeight: number;
50
52
  fontWeight: number;
53
+ lineHeight: number;
51
54
  color: string;
52
55
  p: {
53
56
  fontSize: string[];
57
+ lineHeight: string[];
54
58
  marginTop: string[];
55
59
  marginBottom: string[];
56
60
  };
57
61
  small: {
58
62
  fontSize: string[];
63
+ lineHeight: string[];
59
64
  };
60
65
  strong: {
61
66
  fontWeight: number;
67
+ fontFamily: string;
62
68
  };
63
69
  };
64
70
  list: {
@@ -73,6 +79,7 @@ export declare type Theme = {
73
79
  };
74
80
  descriptionTerm: {
75
81
  fontWeight: number | string;
82
+ fontFamily: string;
76
83
  color: string;
77
84
  marginTop: string[];
78
85
  marginBottom: string[];
@@ -84,29 +91,32 @@ export declare type Theme = {
84
91
  };
85
92
  heading: {
86
93
  fontFamily: string;
87
- lineHeight: number;
88
94
  fontWeight: number;
89
95
  color: string;
90
96
  heading1: {
91
97
  fontSize: string[];
98
+ lineHeight: string[];
92
99
  marginTop: string[];
93
100
  marginBottom: string[];
94
101
  fontWeight?: number;
95
102
  };
96
103
  heading2: {
97
104
  fontSize: string[];
105
+ lineHeight: string[];
98
106
  marginTop: string[];
99
107
  marginBottom: string[];
100
108
  fontWeight?: number;
101
109
  };
102
110
  heading3: {
103
111
  fontSize: string[];
112
+ lineHeight: string[];
104
113
  marginTop: string[];
105
114
  marginBottom: string[];
106
115
  fontWeight?: number;
107
116
  };
108
117
  heading4: {
109
118
  fontSize: string[];
119
+ lineHeight: string[];
110
120
  marginTop: string[];
111
121
  marginBottom: string[];
112
122
  fontWeight?: number;
@@ -117,7 +127,8 @@ export declare type Theme = {
117
127
  borderWidth: string;
118
128
  borderColor: string;
119
129
  background: string;
120
- padding: string[];
130
+ paddingX: string[];
131
+ paddingY: string[];
121
132
  variants: Record<NotificationVariantName, NotificationVariant>;
122
133
  dismiss: {
123
134
  icon: IconName;
@@ -136,6 +147,7 @@ export declare type Theme = {
136
147
  borderColor: string;
137
148
  background: string;
138
149
  dotColor: string;
150
+ checkedBackground: string;
139
151
  errorColor: string;
140
152
  };
141
153
  checkbox: {
@@ -148,6 +160,7 @@ export declare type Theme = {
148
160
  borderColor: string;
149
161
  borderRadius: string;
150
162
  background: string;
163
+ checkedBackground: string;
151
164
  checkColor: string;
152
165
  errorColor: string;
153
166
  };
@@ -184,6 +197,7 @@ export declare type Theme = {
184
197
  gap: string;
185
198
  error: {
186
199
  fontWeight: number;
200
+ fontFamily: string;
187
201
  color: string;
188
202
  };
189
203
  hint: {
@@ -192,6 +206,7 @@ export declare type Theme = {
192
206
  };
193
207
  label: {
194
208
  fontWeight: number;
209
+ fontFamily: string;
195
210
  color: string;
196
211
  };
197
212
  subLabel: {
@@ -210,18 +225,11 @@ export declare type Theme = {
210
225
  background: string;
211
226
  borderWidth: string;
212
227
  borderColor: string;
213
- borderRadius: string;
214
- shadow: Shadow;
215
228
  padding: string[];
216
229
  };
217
230
  disclosure: {
218
231
  iconGap: string[];
219
232
  panelGap: string[];
220
- lineIndent: {
221
- borderRadius: string;
222
- width: string;
223
- backgroundColor: string;
224
- };
225
233
  };
226
234
  grid: {
227
235
  maxWidth: string;
@@ -231,25 +239,25 @@ export declare type Theme = {
231
239
  borderWidth: string;
232
240
  borderRadius: string;
233
241
  borderColor: string;
242
+ responsivePadding: {
243
+ vertical: [string, string];
244
+ horizontal: [string, string];
245
+ };
234
246
  tableHeader: {
235
247
  color: string;
236
248
  backgroundColor: string;
237
249
  borderWidth: string;
238
250
  borderColor: string;
239
251
  fontWeight: number;
252
+ fontFamily: string;
240
253
  };
241
254
  tableCaption: {
242
255
  color: string;
243
256
  fontWeight: number;
244
- paddingVertical: string;
245
- paddingHorizontal: string;
257
+ fontFamily: string;
246
258
  };
247
259
  tableCell: {
248
260
  color: string;
249
- borderWidth: string;
250
- borderColor: string;
251
- paddingVertical: string;
252
- paddingHorizontal: string;
253
261
  };
254
262
  tableRow: {
255
263
  backgroundColor: string;
@@ -271,12 +279,14 @@ export declare type Theme = {
271
279
  fontFamily: string;
272
280
  lineHeight: number;
273
281
  borderTopWidth: string;
282
+ borderBottomWidth: string;
283
+ borderColor: string;
274
284
  paddingVertical: string[];
275
285
  paddingHorizontal: string[];
276
286
  active: {
277
287
  backgroundColor: string;
278
288
  foregroundColor: string;
279
- borderTopColor: string;
289
+ borderColor: string;
280
290
  };
281
291
  inactive: {
282
292
  backgroundColor: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ovotech/element-native",
3
- "version": "0.0.2",
3
+ "version": "2.0.0-beta.0",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -13,46 +13,49 @@
13
13
  "url": "@ovotech/element"
14
14
  },
15
15
  "devDependencies": {
16
- "@babel/core": "^7.0.0",
16
+ "@babel/core": "^7.11.5",
17
17
  "@storybook/react-native": "^5.3.25",
18
- "@testing-library/dom": "^5.0.0",
19
- "@testing-library/react": "^9.5.0",
20
- "@testing-library/react-native": "^6.0.0",
21
- "@testing-library/user-event": "^10.3.2",
18
+ "@testing-library/dom": "^8.20.0",
19
+ "@testing-library/react": "^13.4.0",
20
+ "@testing-library/react-native": "^11.5.2",
21
+ "@testing-library/user-event": "^14.4.3",
22
22
  "@types/jest": "^25.1.4",
23
23
  "@types/react": "18.0.24",
24
24
  "@types/react-native": "^0.70.6",
25
25
  "@types/react-router-dom": "^5.1.5",
26
26
  "@types/styled-components": "^5.1.3",
27
27
  "@types/styled-components-react-native": "^5.1.1",
28
- "babel-jest": "^25.2.4",
28
+ "babel-jest": "^28.1.1",
29
29
  "babel-plugin-require-context-hook": "^1.0.0",
30
- "jest": "^25.1.0",
30
+ "jest": "^28.1.1",
31
31
  "jest-styled-components": "^7.0.3",
32
- "metro-react-native-babel-preset": "^0.59.0",
32
+ "metro-react-native-babel-preset": "^0.75.0",
33
33
  "react": "18.2.0",
34
34
  "react-is": "^16.13.0",
35
35
  "react-native": "0.70.4",
36
+ "react-native-reanimated": "^2.10.0",
36
37
  "react-native-svg": "9.2.4",
37
38
  "react-router-dom": "^5.1.2",
38
- "react-test-renderer": "16.9.0",
39
+ "react-test-renderer": "^18.2.0",
39
40
  "styled-components": "^5.1.3",
40
- "ts-jest": "^25.2.1",
41
+ "ts-jest": "^28.0.5",
41
42
  "ts-loader": "^6.2.1",
42
43
  "typescript": "^4.8.4"
43
44
  },
44
45
  "peerDependencies": {
45
46
  "react": "^16.9.0 || ^17.0.0",
46
47
  "react-native": "^0.63.3",
47
- "react-native-svg": "^9.2.4",
48
+ "react-native-reanimated": "^2.10.0",
49
+ "react-native-svg": "^13.5.0",
48
50
  "styled-components": "^5.1.3"
49
51
  },
50
52
  "dependencies": {
51
- "deepmerge": "^4.2.2",
52
- "react-uid": "^2.3.0"
53
+ "deepmerge": "^4.2.2"
53
54
  },
54
55
  "scripts": {
55
56
  "build": "tsc && tsc --module ES6 --outDir dist/esm --declaration false",
56
- "test": "jest --maxWorkers 4"
57
+ "quickbuild": "tsc --module ES6 --outDir dist/esm --declaration false",
58
+ "test": "jest --maxWorkers 4",
59
+ "typecheck": "tsc --noEmit"
57
60
  }
58
61
  }