@ovotech/element-native 4.0.0 → 4.0.1-canary-5d78799-250

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.
@@ -48,7 +48,7 @@ var StyledP = (0, styled_native_1.default)(P_1.P)(function (_a) {
48
48
  return "\n color: ".concat(inverted ? semantic.inverted.message.base : semantic.message.base, ";\n");
49
49
  });
50
50
  var ActionCard = function (_a) {
51
- var onPressCloseButton = _a.onPressCloseButton, onPressActionButton = _a.onPressActionButton, onPressIndicator = _a.onPressIndicator, onMount = _a.onMount, body = _a.body, title = _a.title, buttonTitle = _a.buttonTitle, ctaVariant = _a.ctaVariant, image = _a.image, testID = _a.testID, _b = _a.accessibilityLabel, accessibilityLabel = _b === void 0 ? 'image' : _b, _c = _a.inverted, inverted = _c === void 0 ? true : _c, _d = _a.inline, inline = _d === void 0 ? false : _d;
51
+ var onPressCloseButton = _a.onPressCloseButton, onPressActionButton = _a.onPressActionButton, onPressIndicator = _a.onPressIndicator, onMount = _a.onMount, body = _a.body, title = _a.title, buttonTitle = _a.buttonTitle, ctaVariant = _a.ctaVariant, image = _a.image, testID = _a.testID, _b = _a.accessibilityLabel, accessibilityLabel = _b === void 0 ? 'image' : _b, _c = _a.inverted, inverted = _c === void 0 ? false : _c, _d = _a.inline, inline = _d === void 0 ? false : _d;
52
52
  var _e = (0, react_1.useContext)(styled_native_1.ThemeContext), core = _e.core, semantic = _e.semantic;
53
53
  (0, react_1.useEffect)(function () {
54
54
  if (onMount) {
@@ -65,7 +65,7 @@ var ActionCard = function (_a) {
65
65
  paddingRight: image || !onPressCloseButton ? 0 : cardPadding,
66
66
  }, 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: {
67
67
  paddingRight: !image && !title && onPressCloseButton ? cardPadding : 0,
68
- }, 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, { inverted: inverted, inline: true, onPress: onPressActionButton, testID: "".concat(testID, "-button"), iconRight: "chevron-right-small", 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, children: buttonTitle }) }))) : null] })] }) }), image ? ((0, jsx_runtime_1.jsx)(masked_view_1.default, { style: {
68
+ }, 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: "chevron-right-small", 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: {
69
69
  flex: 1,
70
70
  flexDirection: 'row',
71
71
  height: '100%',
@@ -1,489 +1,7 @@
1
- import { Breakpoints } from '../../hooks';
2
- export declare const Card: import("styled-components").StyledComponent<typeof import("react-native").View, {
3
- core: {
4
- color: {
5
- brand: {
6
- midnight: string;
7
- midnightTint: string;
8
- forest: string;
9
- forestTint: string;
10
- ovo: string;
11
- ovoTint: string;
12
- leaf: string;
13
- leafTint: string;
14
- energised: string;
15
- energisedTint: string;
16
- offwhite: string;
17
- white: string;
18
- black: string;
19
- };
20
- neutral: {
21
- darkest: string;
22
- darker: string;
23
- dark: string;
24
- base: string;
25
- light: string;
26
- lighter: string;
27
- lightest: string;
28
- };
29
- red: {
30
- darkest: string;
31
- darker: string;
32
- dark: string;
33
- base: string;
34
- light: string;
35
- lighter: string;
36
- lightest: string;
37
- };
38
- orange: {
39
- darkest: string;
40
- darker: string;
41
- dark: string;
42
- base: string;
43
- light: string;
44
- lighter: string;
45
- lightest: string;
46
- };
47
- yellow: {
48
- darkest: string;
49
- darker: string;
50
- dark: string;
51
- base: string;
52
- light: string;
53
- lighter: string;
54
- lightest: string;
55
- };
56
- green: {
57
- darkest: string;
58
- darker: string;
59
- dark: string;
60
- base: string;
61
- light: string;
62
- lighter: string;
63
- lightest: string;
64
- };
65
- blue: {
66
- darkest: string;
67
- darker: string;
68
- dark: string;
69
- base: string;
70
- light: string;
71
- lighter: string;
72
- lightest: string;
73
- };
74
- };
75
- fontFamily: {
76
- mono: {
77
- native: string;
78
- web: string;
79
- };
80
- heading: {
81
- native: string;
82
- web: string;
83
- };
84
- body: {
85
- native: string;
86
- web: string;
87
- };
88
- bodyBold: {
89
- native: string;
90
- web: string;
91
- };
92
- };
93
- fontWeight: {
94
- book: number;
95
- bold: number;
96
- black: number;
97
- };
98
- fontSize: {
99
- heading1: {
100
- small: number;
101
- large: number;
102
- };
103
- heading2: {
104
- small: number;
105
- large: number;
106
- };
107
- heading3: {
108
- small: number;
109
- large: number;
110
- };
111
- heading4: {
112
- small: number;
113
- large: number;
114
- };
115
- lead: {
116
- small: number;
117
- large: number;
118
- };
119
- body: {
120
- small: number;
121
- large: number;
122
- };
123
- small: {
124
- small: number;
125
- large: number;
126
- };
127
- label: {
128
- small: number;
129
- large: number;
130
- };
131
- };
132
- letterSpacing: {
133
- base: number;
134
- compressed: number;
135
- extraCompressed: number;
136
- };
137
- lineHeight: {
138
- heading1: {
139
- small: number;
140
- large: number;
141
- };
142
- heading2: {
143
- small: number;
144
- large: number;
145
- };
146
- heading3: {
147
- small: number;
148
- large: number;
149
- };
150
- heading4: {
151
- small: number;
152
- large: number;
153
- };
154
- lead: {
155
- small: number;
156
- large: number;
157
- };
158
- body: {
159
- small: number;
160
- large: number;
161
- };
162
- small: {
163
- small: number;
164
- large: number;
165
- };
166
- label: {
167
- small: number;
168
- large: number;
169
- };
170
- };
171
- borderWidth: {
172
- small: number;
173
- medium: number;
174
- large: number;
175
- };
176
- breakpoint: {
177
- small: number;
178
- medium: number;
179
- large: number;
180
- };
181
- mediaQuery: {
182
- small: number;
183
- medium: number;
184
- large: number;
185
- };
186
- customMediaQuery: {
187
- 'small-and-up': number;
188
- 'medium-and-up': number;
189
- 'large-and-up': number;
190
- };
191
- opacity: {
192
- solid: number;
193
- translucent: number;
194
- transparent: number;
195
- };
196
- radius: {
197
- small: number;
198
- medium: number;
199
- large: number;
200
- max: number;
201
- };
202
- space: {
203
- '0': number;
204
- '1': number;
205
- '2': number;
206
- '3': number;
207
- '4': number;
208
- '5': number;
209
- '6': number;
210
- '7': number;
211
- '8': number;
212
- '9': number;
213
- '10': number;
214
- '11': number;
215
- '12': number;
216
- '13': number;
217
- '14': number;
218
- '15': number;
219
- };
220
- transition: {
221
- slow: number;
222
- medium: number;
223
- fast: number;
224
- };
225
- };
226
- semantic: {
227
- border: {
228
- graphic: string;
229
- differentiated: string;
230
- functional: string;
231
- };
232
- branded: {
233
- surface: string;
234
- message: string;
235
- heading: string;
236
- };
237
- neutral: {
238
- surface: string;
239
- message: string;
240
- surfaceEmphasis: string;
241
- messageOnEmphasis: string;
242
- border: string;
243
- };
244
- success: {
245
- surface: string;
246
- message: string;
247
- surfaceEmphasis: string;
248
- messageOnEmphasis: string;
249
- border: string;
250
- };
251
- warning: {
252
- surface: string;
253
- message: string;
254
- surfaceEmphasis: string;
255
- messageOnEmphasis: string;
256
- border: string;
257
- };
258
- error: {
259
- surface: string;
260
- message: string;
261
- surfaceEmphasis: string;
262
- messageOnEmphasis: string;
263
- border: string;
264
- };
265
- info: {
266
- surface: string;
267
- message: string;
268
- surfaceEmphasis: string;
269
- messageOnEmphasis: string;
270
- border: string;
271
- };
272
- data: {
273
- branded: {
274
- '1': string;
275
- '2': string;
276
- '3': string;
277
- '4': string;
278
- };
279
- electric: {
280
- '1': string;
281
- '2': string;
282
- '3': string;
283
- '4': string;
284
- };
285
- gas: {
286
- '1': string;
287
- '2': string;
288
- '3': string;
289
- '4': string;
290
- };
291
- };
292
- focus: {
293
- outline: string;
294
- hover: string;
295
- surface: string;
296
- };
297
- inverted: {
298
- surface: string;
299
- surfaceAlt: string;
300
- border: string;
301
- borderAlt: string;
302
- message: {
303
- branded: string;
304
- base: string;
305
- secondary: string;
306
- link: string;
307
- };
308
- };
309
- message: {
310
- base: string;
311
- secondary: string;
312
- link: string;
313
- error: string;
314
- branded: string;
315
- };
316
- surface: {
317
- base: string;
318
- cutout: string;
319
- elevated: string;
320
- };
321
- };
322
- component: {
323
- badge: {
324
- variants: {
325
- neutral: {
326
- background: string;
327
- foreground: string;
328
- };
329
- red: {
330
- background: string;
331
- foreground: string;
332
- };
333
- orange: {
334
- background: string;
335
- foreground: string;
336
- };
337
- yellow: {
338
- background: string;
339
- foreground: string;
340
- };
341
- green: {
342
- background: string;
343
- foreground: string;
344
- };
345
- blue: {
346
- background: string;
347
- foreground: string;
348
- };
349
- };
350
- };
351
- cta: {
352
- primary: {
353
- message: string;
354
- surface: string;
355
- messageHover: string;
356
- surfaceHover: string;
357
- messageFocused: string;
358
- surfaceFocused: string;
359
- outlineFocused: string;
360
- backgroundFocused: string;
361
- messageInverted: string;
362
- surfaceInverted: string;
363
- };
364
- secondary: {
365
- message: string;
366
- surface: string;
367
- messageHover: string;
368
- surfaceHover: string;
369
- messageFocused: string;
370
- surfaceFocused: string;
371
- outlineFocused: string;
372
- backgroundFocused: string;
373
- messageInverted: string;
374
- surfaceInverted: string;
375
- };
376
- destructive: {
377
- message: string;
378
- surface: string;
379
- messageHover: string;
380
- surfaceHover: string;
381
- messageFocused: string;
382
- surfaceFocused: string;
383
- outlineFocused: string;
384
- backgroundFocused: string;
385
- messageInverted: string;
386
- surfaceInverted: string;
387
- };
388
- };
389
- heading1: {
390
- fontFamily: string;
391
- fontWeight: number;
392
- lineHeight: {
393
- small: number;
394
- large: number;
395
- };
396
- fontSize: {
397
- small: number;
398
- large: number;
399
- };
400
- };
401
- heading2: {
402
- fontFamily: string;
403
- fontWeight: number;
404
- lineHeight: {
405
- small: number;
406
- large: number;
407
- };
408
- fontSize: {
409
- small: number;
410
- large: number;
411
- };
412
- };
413
- heading3: {
414
- fontFamily: string;
415
- fontWeight: number;
416
- lineHeight: {
417
- small: number;
418
- large: number;
419
- };
420
- fontSize: {
421
- small: number;
422
- large: number;
423
- };
424
- };
425
- heading4: {
426
- fontFamily: string;
427
- fontWeight: number;
428
- lineHeight: {
429
- small: number;
430
- large: number;
431
- };
432
- fontSize: {
433
- small: number;
434
- large: number;
435
- };
436
- };
437
- lead: {
438
- fontFamily: string;
439
- fontWeight: number;
440
- lineHeight: {
441
- small: number;
442
- large: number;
443
- };
444
- fontSize: {
445
- small: number;
446
- large: number;
447
- };
448
- };
449
- body: {
450
- fontFamily: string;
451
- fontWeight: number;
452
- lineHeight: {
453
- small: number;
454
- large: number;
455
- };
456
- fontSize: {
457
- small: number;
458
- large: number;
459
- };
460
- };
461
- small: {
462
- fontFamily: string;
463
- fontWeight: number;
464
- lineHeight: {
465
- small: number;
466
- large: number;
467
- };
468
- fontSize: {
469
- small: number;
470
- large: number;
471
- };
472
- };
473
- label: {
474
- fontFamily: string;
475
- fontWeight: number;
476
- lineHeight: {
477
- small: number;
478
- large: number;
479
- };
480
- fontSize: {
481
- small: number;
482
- large: number;
483
- };
484
- };
485
- };
486
- }, Breakpoints & {
487
- inline?: boolean | undefined;
488
- inverted?: boolean | undefined;
489
- }, never>;
1
+ import { ViewProps } from 'react-native';
2
+ type CardProps = ViewProps & {
3
+ inline?: boolean;
4
+ inverted?: boolean;
5
+ };
6
+ export declare const Card: ({ children, inline, inverted, ...rest }: CardProps) => JSX.Element;
7
+ export {};
@@ -1,14 +1,44 @@
1
1
  "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ var __rest = (this && this.__rest) || function (s, e) {
14
+ var t = {};
15
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
16
+ t[p] = s[p];
17
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
18
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
19
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
20
+ t[p[i]] = s[p[i]];
21
+ }
22
+ return t;
23
+ };
2
24
  var __importDefault = (this && this.__importDefault) || function (mod) {
3
25
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
26
  };
5
27
  Object.defineProperty(exports, "__esModule", { value: true });
6
28
  exports.Card = void 0;
29
+ var jsx_runtime_1 = require("react/jsx-runtime");
7
30
  var element_core_1 = require("@ovotech/element-core");
31
+ var hooks_1 = require("../../hooks");
8
32
  var styled_native_1 = __importDefault(require("../../styled.native"));
9
- exports.Card = styled_native_1.default.View(function (_a) {
10
- var _b = _a.theme, core = _b.core, semantic = _b.semantic, _c = _a.inline, inline = _c === void 0 ? false : _c, _d = _a.inverted, inverted = _d === void 0 ? false : _d, smallAndUp = _a.smallAndUp;
33
+ var CardWrapper = styled_native_1.default.View(function (_a) {
34
+ var _b = _a.theme, core = _b.core, semantic = _b.semantic, _c = _a.inline, inline = _c === void 0 ? false : _c, _d = _a.inverted, inverted = _d === void 0 ? false : _d, _e = _a.smallAndUp, smallAndUp = _e === void 0 ? false : _e;
11
35
  return "\n background: ".concat(inverted ? semantic.inverted.surface : semantic.surface.elevated, ";\n padding: ").concat(inline
12
36
  ? (0, element_core_1.numToPx)(core.space[smallAndUp ? 6 : 4])
13
37
  : (0, element_core_1.numToPx)(core.space[smallAndUp ? 9 : 6]), ";\n border-radius: ").concat(inline ? (0, element_core_1.numToPx)(core.radius.max) : 0, ";\n ");
14
38
  });
39
+ var Card = function (_a) {
40
+ var children = _a.children, inline = _a.inline, inverted = _a.inverted, rest = __rest(_a, ["children", "inline", "inverted"]);
41
+ var smallAndUp = (0, hooks_1.useBreakpoint)().smallAndUp;
42
+ return ((0, jsx_runtime_1.jsx)(CardWrapper, __assign({ inline: inline, inverted: inverted, smallAndUp: smallAndUp }, rest, { children: children })));
43
+ };
44
+ exports.Card = Card;
@@ -19,7 +19,7 @@ var StyledP = styled(P)(function (_a) {
19
19
  return "\n color: ".concat(inverted ? semantic.inverted.message.base : semantic.message.base, ";\n");
20
20
  });
21
21
  export var ActionCard = function (_a) {
22
- var onPressCloseButton = _a.onPressCloseButton, onPressActionButton = _a.onPressActionButton, onPressIndicator = _a.onPressIndicator, onMount = _a.onMount, body = _a.body, title = _a.title, buttonTitle = _a.buttonTitle, ctaVariant = _a.ctaVariant, image = _a.image, testID = _a.testID, _b = _a.accessibilityLabel, accessibilityLabel = _b === void 0 ? 'image' : _b, _c = _a.inverted, inverted = _c === void 0 ? true : _c, _d = _a.inline, inline = _d === void 0 ? false : _d;
22
+ var onPressCloseButton = _a.onPressCloseButton, onPressActionButton = _a.onPressActionButton, onPressIndicator = _a.onPressIndicator, onMount = _a.onMount, body = _a.body, title = _a.title, buttonTitle = _a.buttonTitle, ctaVariant = _a.ctaVariant, image = _a.image, testID = _a.testID, _b = _a.accessibilityLabel, accessibilityLabel = _b === void 0 ? 'image' : _b, _c = _a.inverted, inverted = _c === void 0 ? false : _c, _d = _a.inline, inline = _d === void 0 ? false : _d;
23
23
  var _e = useContext(ThemeContext), core = _e.core, semantic = _e.semantic;
24
24
  useEffect(function () {
25
25
  if (onMount) {
@@ -36,7 +36,7 @@ export var ActionCard = function (_a) {
36
36
  paddingRight: image || !onPressCloseButton ? 0 : cardPadding,
37
37
  }, testID: "".concat(testID, "-heading"), children: title }), _jsxs(View, { children: [typeof body === 'string' ? (_jsx(View, { style: {
38
38
  paddingRight: !image && !title && onPressCloseButton ? cardPadding : 0,
39
- }, children: _jsx(StyledP, { inverted: inverted, children: body }) })) : (body), buttonTitle && onPressActionButton && !onPressIndicator ? (!ctaVariant ? (_jsx(Margin, { top: 2, children: _jsx(Action, { inverted: inverted, inline: true, onPress: onPressActionButton, testID: "".concat(testID, "-button"), iconRight: "chevron-right-small", children: buttonTitle }) })) : (_jsx(Margin, { top: 4, children: _jsx(CTAButton, { onPress: onPressActionButton, testID: "".concat(testID, "-button"), variant: ctaVariant, children: buttonTitle }) }))) : null] })] }) }), image ? (_jsx(MaskedView, { style: {
39
+ }, children: _jsx(StyledP, { inverted: inverted, children: body }) })) : (body), buttonTitle && onPressActionButton && !onPressIndicator ? (!ctaVariant ? (_jsx(Margin, { top: 2, children: _jsx(Action, { inline: true, onPress: onPressActionButton, testID: "".concat(testID, "-button"), iconRight: "chevron-right-small", inverted: inverted, children: buttonTitle }) })) : (_jsx(Margin, { top: 4, children: _jsx(CTAButton, { onPress: onPressActionButton, testID: "".concat(testID, "-button"), variant: ctaVariant, inverted: inverted, children: buttonTitle }) }))) : null] })] }) }), image ? (_jsx(MaskedView, { style: {
40
40
  flex: 1,
41
41
  flexDirection: 'row',
42
42
  height: '100%',
@@ -1,8 +1,37 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __rest = (this && this.__rest) || function (s, e) {
13
+ var t = {};
14
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
15
+ t[p] = s[p];
16
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
17
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
18
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
19
+ t[p[i]] = s[p[i]];
20
+ }
21
+ return t;
22
+ };
23
+ import { jsx as _jsx } from "react/jsx-runtime";
1
24
  import { numToPx } from '@ovotech/element-core';
25
+ import { useBreakpoint } from '../../hooks';
2
26
  import styled from '../../styled.native';
3
- export var Card = styled.View(function (_a) {
4
- var _b = _a.theme, core = _b.core, semantic = _b.semantic, _c = _a.inline, inline = _c === void 0 ? false : _c, _d = _a.inverted, inverted = _d === void 0 ? false : _d, smallAndUp = _a.smallAndUp;
27
+ var CardWrapper = styled.View(function (_a) {
28
+ var _b = _a.theme, core = _b.core, semantic = _b.semantic, _c = _a.inline, inline = _c === void 0 ? false : _c, _d = _a.inverted, inverted = _d === void 0 ? false : _d, _e = _a.smallAndUp, smallAndUp = _e === void 0 ? false : _e;
5
29
  return "\n background: ".concat(inverted ? semantic.inverted.surface : semantic.surface.elevated, ";\n padding: ").concat(inline
6
30
  ? numToPx(core.space[smallAndUp ? 6 : 4])
7
31
  : numToPx(core.space[smallAndUp ? 9 : 6]), ";\n border-radius: ").concat(inline ? numToPx(core.radius.max) : 0, ";\n ");
8
32
  });
33
+ export var Card = function (_a) {
34
+ var children = _a.children, inline = _a.inline, inverted = _a.inverted, rest = __rest(_a, ["children", "inline", "inverted"]);
35
+ var smallAndUp = useBreakpoint().smallAndUp;
36
+ return (_jsx(CardWrapper, __assign({ inline: inline, inverted: inverted, smallAndUp: smallAndUp }, rest, { children: children })));
37
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ovotech/element-native",
3
- "version": "4.0.0",
3
+ "version": "4.0.1-canary-5d78799-250",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -14,10 +14,10 @@
14
14
  },
15
15
  "dependencies": {
16
16
  "@backpackapp-io/react-native-toast": "^0.10.0",
17
+ "@ovotech/element-core": "3.0.1-canary-5d78799-250",
17
18
  "deepmerge": "^4.2.2",
18
19
  "lodash.groupby": "^4.6.0",
19
- "react-native-reanimated-carousel": "^3.5.1",
20
- "@ovotech/element-core": "3.0.0"
20
+ "react-native-reanimated-carousel": "^3.5.1"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@babel/core": "^7.11.5",