@ovotech/element-native 4.0.4 → 4.1.0-canary-9534c0a-267

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.
@@ -79,7 +79,7 @@ var SegmentedControls = function (_a) {
79
79
  }); }, [animatedX, animatedY, animatedWidth, animatedHeight]);
80
80
  return ((0, jsx_runtime_1.jsxs)(SegmentsContainer, __assign({ "$inline": inline, "$multipleRows": multipleRows }, rest, { children: [(0, jsx_runtime_1.jsx)(react_native_reanimated_1.default.View, { style: animatedBackgroundStyle }), segments.map(function (segment) {
81
81
  var _a;
82
- return ((0, jsx_runtime_1.jsx)(SegmentButton_1.SegmentButton, { isSelected: activeSegment.key === segment.key, label: segment.label, accessibilityLabel: segment.accessibilityLabel, onPress: function (x, y, width) {
82
+ return ((0, jsx_runtime_1.jsx)(SegmentButton_1.SegmentButton, { isSelected: activeSegment.key === segment.key, isLast: segments[segments.length - 1].key === segment.key, label: segment.label, accessibilityLabel: segment.accessibilityLabel, onPress: function (x, y, width) {
83
83
  setActiveSegment(segment);
84
84
  animatedX.value = (0, react_native_reanimated_1.withSpring)(x, springSettings);
85
85
  animatedY.value = (0, react_native_reanimated_1.withSpring)(y, springSettings);
@@ -1,4 +1,5 @@
1
1
  type SegmentButtonProps = {
2
+ isLast: boolean;
2
3
  isSelected: boolean;
3
4
  label: string;
4
5
  onPress: (x: number, y: number, width: number) => void;
@@ -9,5 +10,5 @@ type SegmentButtonProps = {
9
10
  size?: 'small' | 'large';
10
11
  testID?: string;
11
12
  };
12
- export declare const SegmentButton: ({ accessibilityLabel, inline, isSelected, label, multipleRows, onLayout, onPress, size, testID, }: SegmentButtonProps) => JSX.Element;
13
+ export declare const SegmentButton: ({ accessibilityLabel, inline, isLast, isSelected, label, multipleRows, onLayout, onPress, size, testID, }: SegmentButtonProps) => JSX.Element;
13
14
  export {};
@@ -35,7 +35,7 @@ var styled_native_1 = __importDefault(require("../../../styled.native"));
35
35
  var P_1 = require("../../P");
36
36
  var AnimatedP = react_native_reanimated_1.default.createAnimatedComponent(P_1.P);
37
37
  var SegmentButton = function (_a) {
38
- var accessibilityLabel = _a.accessibilityLabel, inline = _a.inline, isSelected = _a.isSelected, label = _a.label, multipleRows = _a.multipleRows, onLayout = _a.onLayout, onPress = _a.onPress, _b = _a.size, size = _b === void 0 ? 'large' : _b, testID = _a.testID;
38
+ var accessibilityLabel = _a.accessibilityLabel, inline = _a.inline, isLast = _a.isLast, isSelected = _a.isSelected, label = _a.label, multipleRows = _a.multipleRows, onLayout = _a.onLayout, onPress = _a.onPress, _b = _a.size, size = _b === void 0 ? 'large' : _b, testID = _a.testID;
39
39
  var xRef = (0, react_1.useRef)(0);
40
40
  var yRef = (0, react_1.useRef)(0);
41
41
  var widthRef = (0, react_1.useRef)(0);
@@ -57,12 +57,16 @@ var SegmentButton = function (_a) {
57
57
  (0, react_1.useEffect)(function () {
58
58
  fontWeightAnim.value = (0, react_native_reanimated_1.withTiming)(isSelected ? 1 : 0);
59
59
  }, [fontWeightAnim, isSelected]);
60
+ // strange discrepancy with the last segment not reaching the end of the container
61
+ var adjustLastSegmentWidth = function (width) {
62
+ return isLast && size === 'large' ? width + 2 : width;
63
+ };
60
64
  var handleLayout = function (event) {
61
65
  var _a = event.nativeEvent.layout, width = _a.width, height = _a.height, x = _a.x, y = _a.y;
62
66
  xRef.current = x;
63
67
  yRef.current = y;
64
68
  heightRef.current = height;
65
- widthRef.current = width;
69
+ widthRef.current = adjustLastSegmentWidth(width);
66
70
  onLayout(width, height, x, y);
67
71
  };
68
72
  var handlePress = function () {
@@ -71,9 +75,9 @@ var SegmentButton = function (_a) {
71
75
  // choices go on the second row. The only way I could get it to work
72
76
  // was to hardcode the denominator to 3 for the single row ones
73
77
  // and 1.1 for the multiple row ones.
74
- yRef.current - heightRef.current / (multipleRows ? 1.1 : 3), widthRef.current);
78
+ yRef.current - heightRef.current / (multipleRows ? 1.1 : 3), adjustLastSegmentWidth(widthRef.current));
75
79
  };
76
- return ((0, jsx_runtime_1.jsx)(react_native_1.Pressable, { onLayout: handleLayout, onPress: handlePress, accessible: true, accessibilityRole: "checkbox", accessibilityState: { selected: isSelected }, accessibilityLabel: accessibilityLabel, hitSlop: {
80
+ return ((0, jsx_runtime_1.jsx)(react_native_1.Pressable, { onLayout: handleLayout, onPress: handlePress, accessible: true, accessibilityRole: "checkbox", accessibilityState: { selected: isSelected }, accessibilityLabel: accessibilityLabel || label, hitSlop: {
77
81
  top: hitslopVal,
78
82
  bottom: hitslopVal,
79
83
  }, style: { flexGrow: inline || multipleRows ? undefined : 1 }, testID: testID, children: (0, jsx_runtime_1.jsxs)(SSegmentsWrapper, { "$isSelected": isSelected, "$size": size, children: [(0, jsx_runtime_1.jsx)(SSegmentText, { style: {
@@ -4,7 +4,7 @@ export type HorizontalPosition = 'left' | 'right';
4
4
  export declare const Toggle: import("react").ForwardRefExoticComponent<Omit<TouchableOpacityProps, "children"> & {
5
5
  label?: string | ReactNode;
6
6
  checked?: boolean | undefined;
7
+ inline?: boolean | undefined;
7
8
  hint?: ReactNode;
8
9
  labelPosition?: HorizontalPosition | undefined;
9
- onChange?: (() => void) | undefined;
10
10
  } & import("react").RefAttributes<TouchableOpacity>>;
@@ -46,11 +46,11 @@ var Input = function (_a) {
46
46
  }, checked: checked }) }) })));
47
47
  };
48
48
  exports.Toggle = (0, react_1.forwardRef)(function (_a, ref) {
49
- var label = _a.label, hint = _a.hint, _b = _a.checked, checked = _b === void 0 ? false : _b,
49
+ var
50
50
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
51
- _c = _a.activeOpacity,
51
+ _b = _a.activeOpacity,
52
52
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
53
- activeOpacity = _c === void 0 ? 0.8 : _c, testID = _a.testID, _d = _a.labelPosition, labelPosition = _d === void 0 ? 'left' : _d, rest = __rest(_a, ["label", "hint", "checked", "activeOpacity", "testID", "labelPosition"]);
53
+ activeOpacity = _b === void 0 ? 0.8 : _b, _c = _a.checked, checked = _c === void 0 ? false : _c, label = _a.label, hint = _a.hint, inline = _a.inline, _d = _a.labelPosition, labelPosition = _d === void 0 ? 'left' : _d, testID = _a.testID, rest = __rest(_a, ["activeOpacity", "checked", "label", "hint", "inline", "labelPosition", "testID"]);
54
54
  var hasLabel = label !== undefined;
55
- return ((0, jsx_runtime_1.jsxs)(styles_1.StyledWrapper, __assign({ ref: ref, accessibilityRole: "checkbox", activeOpacity: activeOpacity, accessibilityState: { checked: checked }, hitSlop: 10, hasLabel: hasLabel, labelPosition: labelPosition }, rest, { children: [hasLabel ? ((0, jsx_runtime_1.jsxs)(react_native_1.View, { style: { flexShrink: 1 }, children: [(0, jsx_runtime_1.jsx)(LabelText_1.LabelText, { children: label }), hint ? (0, jsx_runtime_1.jsx)(HintText_1.HintText, { children: hint }) : null] })) : null, (0, jsx_runtime_1.jsx)(Input, { checked: checked, testID: testID, labelPosition: hasLabel ? labelPosition : undefined })] })));
55
+ return ((0, jsx_runtime_1.jsxs)(styles_1.StyledWrapper, __assign({ ref: ref, accessibilityRole: "checkbox", activeOpacity: activeOpacity, accessibilityState: { checked: checked }, hitSlop: 10, hasLabel: hasLabel, labelPosition: labelPosition, inline: inline }, rest, { children: [hasLabel ? ((0, jsx_runtime_1.jsxs)(react_native_1.View, { style: { flexShrink: 1 }, children: [(0, jsx_runtime_1.jsx)(LabelText_1.LabelText, { children: label }), hint ? (0, jsx_runtime_1.jsx)(HintText_1.HintText, { children: hint }) : null] })) : null, (0, jsx_runtime_1.jsx)(Input, { checked: checked, testID: testID, labelPosition: hasLabel ? labelPosition : undefined })] })));
56
56
  });
@@ -487,6 +487,7 @@ export declare const StyledWrapper: import("styled-components").StyledComponent<
487
487
  }, {
488
488
  hasLabel?: boolean | undefined;
489
489
  labelPosition?: HorizontalPosition | undefined;
490
+ inline?: boolean | undefined;
490
491
  }, never>;
491
492
  export declare const StyledToggleInputWrapper: import("styled-components").StyledComponent<typeof import("react-native").View, {
492
493
  core: {
@@ -8,8 +8,8 @@ var element_core_1 = require("@ovotech/element-core");
8
8
  var react_native_1 = require("react-native");
9
9
  var styled_native_1 = __importDefault(require("../../styled.native"));
10
10
  exports.StyledWrapper = styled_native_1.default.TouchableOpacity(function (_a) {
11
- var core = _a.theme.core, hasLabel = _a.hasLabel, labelPosition = _a.labelPosition;
12
- return "\n width: ".concat(hasLabel ? '100%' : (0, element_core_1.numToPx)(core.space[11]), ";\n display: flex;\n flex-direction: row").concat(labelPosition === 'left' ? '' : '-reverse', ";\n justify-content: space-between;\n position: relative;\n ");
11
+ var core = _a.theme.core, hasLabel = _a.hasLabel, inline = _a.inline, labelPosition = _a.labelPosition;
12
+ return "\n width: ".concat(hasLabel ? (inline ? undefined : '100%') : (0, element_core_1.numToPx)(core.space[11]), ";\n display: flex;\n flex-direction: row").concat(labelPosition === 'left' ? '' : '-reverse', ";\n justify-content: space-between;\n position: relative;\n ");
13
13
  });
14
14
  exports.StyledToggleInputWrapper = styled_native_1.default.View(function (_a) {
15
15
  var core = _a.theme.core, labelPosition = _a.labelPosition;
@@ -53,7 +53,7 @@ export var SegmentedControls = function (_a) {
53
53
  }); }, [animatedX, animatedY, animatedWidth, animatedHeight]);
54
54
  return (_jsxs(SegmentsContainer, __assign({ "$inline": inline, "$multipleRows": multipleRows }, rest, { children: [_jsx(Animated.View, { style: animatedBackgroundStyle }), segments.map(function (segment) {
55
55
  var _a;
56
- return (_jsx(SegmentButton, { isSelected: activeSegment.key === segment.key, label: segment.label, accessibilityLabel: segment.accessibilityLabel, onPress: function (x, y, width) {
56
+ return (_jsx(SegmentButton, { isSelected: activeSegment.key === segment.key, isLast: segments[segments.length - 1].key === segment.key, label: segment.label, accessibilityLabel: segment.accessibilityLabel, onPress: function (x, y, width) {
57
57
  setActiveSegment(segment);
58
58
  animatedX.value = withSpring(x, springSettings);
59
59
  animatedY.value = withSpring(y, springSettings);
@@ -6,7 +6,7 @@ import styled from '../../../styled.native';
6
6
  import { P } from '../../P';
7
7
  var AnimatedP = Animated.createAnimatedComponent(P);
8
8
  export var SegmentButton = function (_a) {
9
- var accessibilityLabel = _a.accessibilityLabel, inline = _a.inline, isSelected = _a.isSelected, label = _a.label, multipleRows = _a.multipleRows, onLayout = _a.onLayout, onPress = _a.onPress, _b = _a.size, size = _b === void 0 ? 'large' : _b, testID = _a.testID;
9
+ var accessibilityLabel = _a.accessibilityLabel, inline = _a.inline, isLast = _a.isLast, isSelected = _a.isSelected, label = _a.label, multipleRows = _a.multipleRows, onLayout = _a.onLayout, onPress = _a.onPress, _b = _a.size, size = _b === void 0 ? 'large' : _b, testID = _a.testID;
10
10
  var xRef = useRef(0);
11
11
  var yRef = useRef(0);
12
12
  var widthRef = useRef(0);
@@ -28,12 +28,16 @@ export var SegmentButton = function (_a) {
28
28
  useEffect(function () {
29
29
  fontWeightAnim.value = withTiming(isSelected ? 1 : 0);
30
30
  }, [fontWeightAnim, isSelected]);
31
+ // strange discrepancy with the last segment not reaching the end of the container
32
+ var adjustLastSegmentWidth = function (width) {
33
+ return isLast && size === 'large' ? width + 2 : width;
34
+ };
31
35
  var handleLayout = function (event) {
32
36
  var _a = event.nativeEvent.layout, width = _a.width, height = _a.height, x = _a.x, y = _a.y;
33
37
  xRef.current = x;
34
38
  yRef.current = y;
35
39
  heightRef.current = height;
36
- widthRef.current = width;
40
+ widthRef.current = adjustLastSegmentWidth(width);
37
41
  onLayout(width, height, x, y);
38
42
  };
39
43
  var handlePress = function () {
@@ -42,9 +46,9 @@ export var SegmentButton = function (_a) {
42
46
  // choices go on the second row. The only way I could get it to work
43
47
  // was to hardcode the denominator to 3 for the single row ones
44
48
  // and 1.1 for the multiple row ones.
45
- yRef.current - heightRef.current / (multipleRows ? 1.1 : 3), widthRef.current);
49
+ yRef.current - heightRef.current / (multipleRows ? 1.1 : 3), adjustLastSegmentWidth(widthRef.current));
46
50
  };
47
- return (_jsx(Pressable, { onLayout: handleLayout, onPress: handlePress, accessible: true, accessibilityRole: "checkbox", accessibilityState: { selected: isSelected }, accessibilityLabel: accessibilityLabel, hitSlop: {
51
+ return (_jsx(Pressable, { onLayout: handleLayout, onPress: handlePress, accessible: true, accessibilityRole: "checkbox", accessibilityState: { selected: isSelected }, accessibilityLabel: accessibilityLabel || label, hitSlop: {
48
52
  top: hitslopVal,
49
53
  bottom: hitslopVal,
50
54
  }, style: { flexGrow: inline || multipleRows ? undefined : 1 }, testID: testID, children: _jsxs(SSegmentsWrapper, { "$isSelected": isSelected, "$size": size, children: [_jsx(SSegmentText, { style: {
@@ -43,11 +43,11 @@ var Input = function (_a) {
43
43
  }, checked: checked }) }) })));
44
44
  };
45
45
  export var Toggle = forwardRef(function (_a, ref) {
46
- var label = _a.label, hint = _a.hint, _b = _a.checked, checked = _b === void 0 ? false : _b,
46
+ var
47
47
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
48
- _c = _a.activeOpacity,
48
+ _b = _a.activeOpacity,
49
49
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
50
- activeOpacity = _c === void 0 ? 0.8 : _c, testID = _a.testID, _d = _a.labelPosition, labelPosition = _d === void 0 ? 'left' : _d, rest = __rest(_a, ["label", "hint", "checked", "activeOpacity", "testID", "labelPosition"]);
50
+ activeOpacity = _b === void 0 ? 0.8 : _b, _c = _a.checked, checked = _c === void 0 ? false : _c, label = _a.label, hint = _a.hint, inline = _a.inline, _d = _a.labelPosition, labelPosition = _d === void 0 ? 'left' : _d, testID = _a.testID, rest = __rest(_a, ["activeOpacity", "checked", "label", "hint", "inline", "labelPosition", "testID"]);
51
51
  var hasLabel = label !== undefined;
52
- return (_jsxs(StyledWrapper, __assign({ ref: ref, accessibilityRole: "checkbox", activeOpacity: activeOpacity, accessibilityState: { checked: checked }, hitSlop: 10, hasLabel: hasLabel, labelPosition: labelPosition }, rest, { children: [hasLabel ? (_jsxs(View, { style: { flexShrink: 1 }, children: [_jsx(LabelText, { children: label }), hint ? _jsx(HintText, { children: hint }) : null] })) : null, _jsx(Input, { checked: checked, testID: testID, labelPosition: hasLabel ? labelPosition : undefined })] })));
52
+ return (_jsxs(StyledWrapper, __assign({ ref: ref, accessibilityRole: "checkbox", activeOpacity: activeOpacity, accessibilityState: { checked: checked }, hitSlop: 10, hasLabel: hasLabel, labelPosition: labelPosition, inline: inline }, rest, { children: [hasLabel ? (_jsxs(View, { style: { flexShrink: 1 }, children: [_jsx(LabelText, { children: label }), hint ? _jsx(HintText, { children: hint }) : null] })) : null, _jsx(Input, { checked: checked, testID: testID, labelPosition: hasLabel ? labelPosition : undefined })] })));
53
53
  });
@@ -2,8 +2,8 @@ import { numToPx } from '@ovotech/element-core';
2
2
  import { Animated } from 'react-native';
3
3
  import styled from '../../styled.native';
4
4
  export var StyledWrapper = styled.TouchableOpacity(function (_a) {
5
- var core = _a.theme.core, hasLabel = _a.hasLabel, labelPosition = _a.labelPosition;
6
- return "\n width: ".concat(hasLabel ? '100%' : numToPx(core.space[11]), ";\n display: flex;\n flex-direction: row").concat(labelPosition === 'left' ? '' : '-reverse', ";\n justify-content: space-between;\n position: relative;\n ");
5
+ var core = _a.theme.core, hasLabel = _a.hasLabel, inline = _a.inline, labelPosition = _a.labelPosition;
6
+ return "\n width: ".concat(hasLabel ? (inline ? undefined : '100%') : numToPx(core.space[11]), ";\n display: flex;\n flex-direction: row").concat(labelPosition === 'left' ? '' : '-reverse', ";\n justify-content: space-between;\n position: relative;\n ");
7
7
  });
8
8
  export var StyledToggleInputWrapper = styled.View(function (_a) {
9
9
  var core = _a.theme.core, labelPosition = _a.labelPosition;
@@ -11,7 +11,7 @@ var __assign = (this && this.__assign) || function () {
11
11
  };
12
12
  import { jsx as _jsx } from "react/jsx-runtime";
13
13
  import { createContext, useContext } from 'react';
14
- import { Address, Advice, Archive, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, Award, Battery, CalBook, Cal, CaretArrowDown, CaretArrowLeft, CaretArrowRight, CaretArrowUp, ChartFilled, Chart, CheckCircle, Check, ChevronDown, ChevronLeftSmallFirst, ChevronLeftSmall, ChevronLeft, ChevronRightSmallLast, ChevronRightSmall, ChevronRight, ChevronUp, CloseCircle, Cross, Doc, Dollar, Download, EcoHome, Eco, Edit, ElectricCar, ElectricHome, Electricity, EnergyAdvice, Equals, Euro, Gas, GlobeAddress, HelpFilled, Help, Hide, HomeFilled, Home, HydroPower, Info, Link, Logo, MailOpen, Mail, Menu, MessageFilled, Message, Minus, Mobile, NewWindow, PaymentCardFilled, PaymentCard, Phone, Plus, Pound, Pricing, Search, Security, Show, SmartHome, SmartMeter, Solar, StarFilled, Star, Sun, Torch, Trees, Tune, UserFilled, User, Wallet, WarmHome, Warning, WebAddress, WindPower, } from './icons';
14
+ import { Address, Advice, Archive, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, Award, Battery, Cal, CalBook, CaretArrowDown, CaretArrowLeft, CaretArrowRight, CaretArrowUp, CaretDown, CaretLeft, CaretRight, CaretUp, Chart, ChartFilled, Check, CheckCircle, ChevronDown, ChevronLeft, ChevronLeftSmall, ChevronLeftSmallFirst, ChevronRight, ChevronRightSmall, ChevronRightSmallLast, ChevronUp, Circle, CloseCircle, Cross, Doc, Dollar, Download, EcoHome, Eco, Edit, ElectricCar, ElectricHome, Electricity, EnergyAdvice, Equals, Euro, Gas, GlobeAddress, Help, HelpFilled, Hide, Home, HomeFilled, HydroPower, Info, Link, Logo, Mail, MailOpen, Menu, Message, MessageFilled, Minus, Mobile, NewWindow, PaymentCard, PaymentCardFilled, Phone, Plus, Pound, Pricing, Search, Security, Shop, ShopFilled, Show, SmartHome, SmartMeter, Solar, Star, StarFilled, Sun, Torch, Trees, Tune, User, UserFilled, Wallet, WalletFilled, WarmHome, Warning, WebAddress, WindPower, } from './icons';
15
15
  var defaultIcons = {
16
16
  address: Address,
17
17
  advice: Advice,
@@ -28,6 +28,10 @@ var defaultIcons = {
28
28
  'caret-arrow-left': CaretArrowLeft,
29
29
  'caret-arrow-right': CaretArrowRight,
30
30
  'caret-arrow-up': CaretArrowUp,
31
+ 'caret-down': CaretDown,
32
+ 'caret-left': CaretLeft,
33
+ 'caret-right': CaretRight,
34
+ 'caret-up': CaretUp,
31
35
  'chart-filled': ChartFilled,
32
36
  chart: Chart,
33
37
  'check-circle': CheckCircle,
@@ -40,6 +44,7 @@ var defaultIcons = {
40
44
  'chevron-right-small': ChevronRightSmall,
41
45
  'chevron-right': ChevronRight,
42
46
  'chevron-up': ChevronUp,
47
+ circle: Circle,
43
48
  'close-circle': CloseCircle,
44
49
  cross: Cross,
45
50
  doc: Doc,
@@ -81,6 +86,8 @@ var defaultIcons = {
81
86
  pricing: Pricing,
82
87
  search: Search,
83
88
  security: Security,
89
+ 'shop-filled': ShopFilled,
90
+ shop: Shop,
84
91
  show: Show,
85
92
  'smart-home': SmartHome,
86
93
  'smart-meter': SmartMeter,
@@ -94,6 +101,7 @@ var defaultIcons = {
94
101
  'user-filled': UserFilled,
95
102
  user: User,
96
103
  wallet: Wallet,
104
+ 'wallet-filled': WalletFilled,
97
105
  'warm-home': WarmHome,
98
106
  warning: Warning,
99
107
  'web-address': WebAddress,
@@ -0,0 +1,14 @@
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
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
+ import Svg, { Path } from 'react-native-svg';
14
+ export var Shop = function (props) { return (_jsxs(Svg, __assign({ viewBox: "0 0 16 16" }, props, { children: [_jsx(Path, { fill: "currentColor", d: "M13.425 11.06 14.5 6.19h-1.8l-1.51-3.495-1.375.595 1.25 2.9h-6.19L6.19 3.3l-1.365-.62L3.23 6.19H1.505l1.5 6.81h9.19l-.4-1.5H4.21l-.84-3.81h9.265l-.84 3.81 1.63-.44Z" }), _jsx(Path, { fill: "currentColor", d: "M4.755 10.495h1.5V8.73H6.25l-1.495.4v1.365ZM7.255 10.495h1.5V8.73H8.75l-1.495.4v1.365ZM9.755 10.495h1.5V8.73h-.005l-1.495.4v1.365Z" })] }))); };
@@ -0,0 +1,14 @@
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
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
+ import Svg, { Path } from 'react-native-svg';
14
+ export var ShopFilled = function (props) { return (_jsxs(Svg, __assign({ viewBox: "0 0 16 16" }, props, { children: [_jsx(Path, { fill: "currentColor", d: "m13.39 11.122 1.13-4.857-1.8-.02-1.47-3.513-1.381.58 1.217 2.913-6.19-.07L6.244 3.28l-1.358-.636-1.635 3.492-1.725-.02 1.422 6.827 9.19.105-.383-1.505-7.585-.087-.796-3.819 9.264.106-.883 3.8 1.635-.421Z" }), _jsx(Path, { fill: "currentColor", d: "m12.636 7.742-9.264-.107.797 3.818 7.583.087.884-3.798Z" })] }))); };
@@ -7,24 +7,29 @@ export * from './ArrowRight';
7
7
  export * from './ArrowUp';
8
8
  export * from './Award';
9
9
  export * from './Battery';
10
- export * from './CalBook';
11
10
  export * from './Cal';
11
+ export * from './CalBook';
12
12
  export * from './CaretArrowDown';
13
13
  export * from './CaretArrowLeft';
14
14
  export * from './CaretArrowRight';
15
15
  export * from './CaretArrowUp';
16
- export * from './ChartFilled';
16
+ export * from './CaretDown';
17
+ export * from './CaretLeft';
18
+ export * from './CaretRight';
19
+ export * from './CaretUp';
17
20
  export * from './Chart';
18
- export * from './CheckCircle';
21
+ export * from './ChartFilled';
19
22
  export * from './Check';
23
+ export * from './CheckCircle';
20
24
  export * from './ChevronDown';
21
- export * from './ChevronLeftSmallFirst';
22
- export * from './ChevronLeftSmall';
23
25
  export * from './ChevronLeft';
24
- export * from './ChevronRightSmallLast';
25
- export * from './ChevronRightSmall';
26
+ export * from './ChevronLeftSmall';
27
+ export * from './ChevronLeftSmallFirst';
26
28
  export * from './ChevronRight';
29
+ export * from './ChevronRightSmall';
30
+ export * from './ChevronRightSmallLast';
27
31
  export * from './ChevronUp';
32
+ export * from './Circle';
28
33
  export * from './CloseCircle';
29
34
  export * from './Cross';
30
35
  export * from './Doc';
@@ -41,44 +46,47 @@ export * from './Equals';
41
46
  export * from './Euro';
42
47
  export * from './Gas';
43
48
  export * from './GlobeAddress';
44
- export * from './HelpFilled';
45
49
  export * from './Help';
50
+ export * from './HelpFilled';
46
51
  export * from './Hide';
47
- export * from './HomeFilled';
48
52
  export * from './Home';
53
+ export * from './HomeFilled';
49
54
  export * from './HydroPower';
50
55
  export * from './Info';
51
56
  export * from './Link';
52
57
  export * from './Logo';
53
- export * from './MailOpen';
54
58
  export * from './Mail';
59
+ export * from './MailOpen';
55
60
  export * from './Menu';
56
- export * from './MessageFilled';
57
61
  export * from './Message';
62
+ export * from './MessageFilled';
58
63
  export * from './Minus';
59
64
  export * from './Mobile';
60
65
  export * from './NewWindow';
61
- export * from './PaymentCardFilled';
62
66
  export * from './PaymentCard';
67
+ export * from './PaymentCardFilled';
63
68
  export * from './Phone';
64
69
  export * from './Plus';
65
70
  export * from './Pound';
66
71
  export * from './Pricing';
67
72
  export * from './Search';
68
73
  export * from './Security';
74
+ export * from './Shop';
75
+ export * from './ShopFilled';
69
76
  export * from './Show';
70
77
  export * from './SmartHome';
71
78
  export * from './SmartMeter';
72
79
  export * from './Solar';
73
- export * from './StarFilled';
74
80
  export * from './Star';
81
+ export * from './StarFilled';
75
82
  export * from './Sun';
76
83
  export * from './Torch';
77
84
  export * from './Trees';
78
85
  export * from './Tune';
79
- export * from './UserFilled';
80
86
  export * from './User';
87
+ export * from './UserFilled';
81
88
  export * from './Wallet';
89
+ export * from './WalletFilled';
82
90
  export * from './WarmHome';
83
91
  export * from './Warning';
84
92
  export * from './WebAddress';
@@ -31,6 +31,10 @@ var defaultIcons = {
31
31
  'caret-arrow-left': icons_1.CaretArrowLeft,
32
32
  'caret-arrow-right': icons_1.CaretArrowRight,
33
33
  'caret-arrow-up': icons_1.CaretArrowUp,
34
+ 'caret-down': icons_1.CaretDown,
35
+ 'caret-left': icons_1.CaretLeft,
36
+ 'caret-right': icons_1.CaretRight,
37
+ 'caret-up': icons_1.CaretUp,
34
38
  'chart-filled': icons_1.ChartFilled,
35
39
  chart: icons_1.Chart,
36
40
  'check-circle': icons_1.CheckCircle,
@@ -43,6 +47,7 @@ var defaultIcons = {
43
47
  'chevron-right-small': icons_1.ChevronRightSmall,
44
48
  'chevron-right': icons_1.ChevronRight,
45
49
  'chevron-up': icons_1.ChevronUp,
50
+ circle: icons_1.Circle,
46
51
  'close-circle': icons_1.CloseCircle,
47
52
  cross: icons_1.Cross,
48
53
  doc: icons_1.Doc,
@@ -84,6 +89,8 @@ var defaultIcons = {
84
89
  pricing: icons_1.Pricing,
85
90
  search: icons_1.Search,
86
91
  security: icons_1.Security,
92
+ 'shop-filled': icons_1.ShopFilled,
93
+ shop: icons_1.Shop,
87
94
  show: icons_1.Show,
88
95
  'smart-home': icons_1.SmartHome,
89
96
  'smart-meter': icons_1.SmartMeter,
@@ -97,6 +104,7 @@ var defaultIcons = {
97
104
  'user-filled': icons_1.UserFilled,
98
105
  user: icons_1.User,
99
106
  wallet: icons_1.Wallet,
107
+ 'wallet-filled': icons_1.WalletFilled,
100
108
  'warm-home': icons_1.WarmHome,
101
109
  warning: icons_1.Warning,
102
110
  'web-address': icons_1.WebAddress,
@@ -0,0 +1,2 @@
1
+ import { SvgProps } from 'react-native-svg';
2
+ export declare const Shop: (props: SvgProps) => JSX.Element;
@@ -0,0 +1,41 @@
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 __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
+ if (k2 === undefined) k2 = k;
15
+ var desc = Object.getOwnPropertyDescriptor(m, k);
16
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
17
+ desc = { enumerable: true, get: function() { return m[k]; } };
18
+ }
19
+ Object.defineProperty(o, k2, desc);
20
+ }) : (function(o, m, k, k2) {
21
+ if (k2 === undefined) k2 = k;
22
+ o[k2] = m[k];
23
+ }));
24
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
26
+ }) : function(o, v) {
27
+ o["default"] = v;
28
+ });
29
+ var __importStar = (this && this.__importStar) || function (mod) {
30
+ if (mod && mod.__esModule) return mod;
31
+ var result = {};
32
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
+ __setModuleDefault(result, mod);
34
+ return result;
35
+ };
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.Shop = void 0;
38
+ var jsx_runtime_1 = require("react/jsx-runtime");
39
+ var react_native_svg_1 = __importStar(require("react-native-svg"));
40
+ var Shop = function (props) { return ((0, jsx_runtime_1.jsxs)(react_native_svg_1.default, __assign({ viewBox: "0 0 16 16" }, props, { children: [(0, jsx_runtime_1.jsx)(react_native_svg_1.Path, { fill: "currentColor", d: "M13.425 11.06 14.5 6.19h-1.8l-1.51-3.495-1.375.595 1.25 2.9h-6.19L6.19 3.3l-1.365-.62L3.23 6.19H1.505l1.5 6.81h9.19l-.4-1.5H4.21l-.84-3.81h9.265l-.84 3.81 1.63-.44Z" }), (0, jsx_runtime_1.jsx)(react_native_svg_1.Path, { fill: "currentColor", d: "M4.755 10.495h1.5V8.73H6.25l-1.495.4v1.365ZM7.255 10.495h1.5V8.73H8.75l-1.495.4v1.365ZM9.755 10.495h1.5V8.73h-.005l-1.495.4v1.365Z" })] }))); };
41
+ exports.Shop = Shop;
@@ -0,0 +1,2 @@
1
+ import { SvgProps } from 'react-native-svg';
2
+ export declare const ShopFilled: (props: SvgProps) => JSX.Element;
@@ -0,0 +1,41 @@
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 __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
+ if (k2 === undefined) k2 = k;
15
+ var desc = Object.getOwnPropertyDescriptor(m, k);
16
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
17
+ desc = { enumerable: true, get: function() { return m[k]; } };
18
+ }
19
+ Object.defineProperty(o, k2, desc);
20
+ }) : (function(o, m, k, k2) {
21
+ if (k2 === undefined) k2 = k;
22
+ o[k2] = m[k];
23
+ }));
24
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
26
+ }) : function(o, v) {
27
+ o["default"] = v;
28
+ });
29
+ var __importStar = (this && this.__importStar) || function (mod) {
30
+ if (mod && mod.__esModule) return mod;
31
+ var result = {};
32
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
+ __setModuleDefault(result, mod);
34
+ return result;
35
+ };
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.ShopFilled = void 0;
38
+ var jsx_runtime_1 = require("react/jsx-runtime");
39
+ var react_native_svg_1 = __importStar(require("react-native-svg"));
40
+ var ShopFilled = function (props) { return ((0, jsx_runtime_1.jsxs)(react_native_svg_1.default, __assign({ viewBox: "0 0 16 16" }, props, { children: [(0, jsx_runtime_1.jsx)(react_native_svg_1.Path, { fill: "currentColor", d: "m13.39 11.122 1.13-4.857-1.8-.02-1.47-3.513-1.381.58 1.217 2.913-6.19-.07L6.244 3.28l-1.358-.636-1.635 3.492-1.725-.02 1.422 6.827 9.19.105-.383-1.505-7.585-.087-.796-3.819 9.264.106-.883 3.8 1.635-.421Z" }), (0, jsx_runtime_1.jsx)(react_native_svg_1.Path, { fill: "currentColor", d: "m12.636 7.742-9.264-.107.797 3.818 7.583.087.884-3.798Z" })] }))); };
41
+ exports.ShopFilled = ShopFilled;
@@ -7,24 +7,29 @@ export * from './ArrowRight';
7
7
  export * from './ArrowUp';
8
8
  export * from './Award';
9
9
  export * from './Battery';
10
- export * from './CalBook';
11
10
  export * from './Cal';
11
+ export * from './CalBook';
12
12
  export * from './CaretArrowDown';
13
13
  export * from './CaretArrowLeft';
14
14
  export * from './CaretArrowRight';
15
15
  export * from './CaretArrowUp';
16
- export * from './ChartFilled';
16
+ export * from './CaretDown';
17
+ export * from './CaretLeft';
18
+ export * from './CaretRight';
19
+ export * from './CaretUp';
17
20
  export * from './Chart';
18
- export * from './CheckCircle';
21
+ export * from './ChartFilled';
19
22
  export * from './Check';
23
+ export * from './CheckCircle';
20
24
  export * from './ChevronDown';
21
- export * from './ChevronLeftSmallFirst';
22
- export * from './ChevronLeftSmall';
23
25
  export * from './ChevronLeft';
24
- export * from './ChevronRightSmallLast';
25
- export * from './ChevronRightSmall';
26
+ export * from './ChevronLeftSmall';
27
+ export * from './ChevronLeftSmallFirst';
26
28
  export * from './ChevronRight';
29
+ export * from './ChevronRightSmall';
30
+ export * from './ChevronRightSmallLast';
27
31
  export * from './ChevronUp';
32
+ export * from './Circle';
28
33
  export * from './CloseCircle';
29
34
  export * from './Cross';
30
35
  export * from './Doc';
@@ -41,44 +46,47 @@ export * from './Equals';
41
46
  export * from './Euro';
42
47
  export * from './Gas';
43
48
  export * from './GlobeAddress';
44
- export * from './HelpFilled';
45
49
  export * from './Help';
50
+ export * from './HelpFilled';
46
51
  export * from './Hide';
47
- export * from './HomeFilled';
48
52
  export * from './Home';
53
+ export * from './HomeFilled';
49
54
  export * from './HydroPower';
50
55
  export * from './Info';
51
56
  export * from './Link';
52
57
  export * from './Logo';
53
- export * from './MailOpen';
54
58
  export * from './Mail';
59
+ export * from './MailOpen';
55
60
  export * from './Menu';
56
- export * from './MessageFilled';
57
61
  export * from './Message';
62
+ export * from './MessageFilled';
58
63
  export * from './Minus';
59
64
  export * from './Mobile';
60
65
  export * from './NewWindow';
61
- export * from './PaymentCardFilled';
62
66
  export * from './PaymentCard';
67
+ export * from './PaymentCardFilled';
63
68
  export * from './Phone';
64
69
  export * from './Plus';
65
70
  export * from './Pound';
66
71
  export * from './Pricing';
67
72
  export * from './Search';
68
73
  export * from './Security';
74
+ export * from './Shop';
75
+ export * from './ShopFilled';
69
76
  export * from './Show';
70
77
  export * from './SmartHome';
71
78
  export * from './SmartMeter';
72
79
  export * from './Solar';
73
- export * from './StarFilled';
74
80
  export * from './Star';
81
+ export * from './StarFilled';
75
82
  export * from './Sun';
76
83
  export * from './Torch';
77
84
  export * from './Trees';
78
85
  export * from './Tune';
79
- export * from './UserFilled';
80
86
  export * from './User';
87
+ export * from './UserFilled';
81
88
  export * from './Wallet';
89
+ export * from './WalletFilled';
82
90
  export * from './WarmHome';
83
91
  export * from './Warning';
84
92
  export * from './WebAddress';
@@ -23,24 +23,29 @@ __exportStar(require("./ArrowRight"), exports);
23
23
  __exportStar(require("./ArrowUp"), exports);
24
24
  __exportStar(require("./Award"), exports);
25
25
  __exportStar(require("./Battery"), exports);
26
- __exportStar(require("./CalBook"), exports);
27
26
  __exportStar(require("./Cal"), exports);
27
+ __exportStar(require("./CalBook"), exports);
28
28
  __exportStar(require("./CaretArrowDown"), exports);
29
29
  __exportStar(require("./CaretArrowLeft"), exports);
30
30
  __exportStar(require("./CaretArrowRight"), exports);
31
31
  __exportStar(require("./CaretArrowUp"), exports);
32
- __exportStar(require("./ChartFilled"), exports);
32
+ __exportStar(require("./CaretDown"), exports);
33
+ __exportStar(require("./CaretLeft"), exports);
34
+ __exportStar(require("./CaretRight"), exports);
35
+ __exportStar(require("./CaretUp"), exports);
33
36
  __exportStar(require("./Chart"), exports);
34
- __exportStar(require("./CheckCircle"), exports);
37
+ __exportStar(require("./ChartFilled"), exports);
35
38
  __exportStar(require("./Check"), exports);
39
+ __exportStar(require("./CheckCircle"), exports);
36
40
  __exportStar(require("./ChevronDown"), exports);
37
- __exportStar(require("./ChevronLeftSmallFirst"), exports);
38
- __exportStar(require("./ChevronLeftSmall"), exports);
39
41
  __exportStar(require("./ChevronLeft"), exports);
40
- __exportStar(require("./ChevronRightSmallLast"), exports);
41
- __exportStar(require("./ChevronRightSmall"), exports);
42
+ __exportStar(require("./ChevronLeftSmall"), exports);
43
+ __exportStar(require("./ChevronLeftSmallFirst"), exports);
42
44
  __exportStar(require("./ChevronRight"), exports);
45
+ __exportStar(require("./ChevronRightSmall"), exports);
46
+ __exportStar(require("./ChevronRightSmallLast"), exports);
43
47
  __exportStar(require("./ChevronUp"), exports);
48
+ __exportStar(require("./Circle"), exports);
44
49
  __exportStar(require("./CloseCircle"), exports);
45
50
  __exportStar(require("./Cross"), exports);
46
51
  __exportStar(require("./Doc"), exports);
@@ -57,44 +62,47 @@ __exportStar(require("./Equals"), exports);
57
62
  __exportStar(require("./Euro"), exports);
58
63
  __exportStar(require("./Gas"), exports);
59
64
  __exportStar(require("./GlobeAddress"), exports);
60
- __exportStar(require("./HelpFilled"), exports);
61
65
  __exportStar(require("./Help"), exports);
66
+ __exportStar(require("./HelpFilled"), exports);
62
67
  __exportStar(require("./Hide"), exports);
63
- __exportStar(require("./HomeFilled"), exports);
64
68
  __exportStar(require("./Home"), exports);
69
+ __exportStar(require("./HomeFilled"), exports);
65
70
  __exportStar(require("./HydroPower"), exports);
66
71
  __exportStar(require("./Info"), exports);
67
72
  __exportStar(require("./Link"), exports);
68
73
  __exportStar(require("./Logo"), exports);
69
- __exportStar(require("./MailOpen"), exports);
70
74
  __exportStar(require("./Mail"), exports);
75
+ __exportStar(require("./MailOpen"), exports);
71
76
  __exportStar(require("./Menu"), exports);
72
- __exportStar(require("./MessageFilled"), exports);
73
77
  __exportStar(require("./Message"), exports);
78
+ __exportStar(require("./MessageFilled"), exports);
74
79
  __exportStar(require("./Minus"), exports);
75
80
  __exportStar(require("./Mobile"), exports);
76
81
  __exportStar(require("./NewWindow"), exports);
77
- __exportStar(require("./PaymentCardFilled"), exports);
78
82
  __exportStar(require("./PaymentCard"), exports);
83
+ __exportStar(require("./PaymentCardFilled"), exports);
79
84
  __exportStar(require("./Phone"), exports);
80
85
  __exportStar(require("./Plus"), exports);
81
86
  __exportStar(require("./Pound"), exports);
82
87
  __exportStar(require("./Pricing"), exports);
83
88
  __exportStar(require("./Search"), exports);
84
89
  __exportStar(require("./Security"), exports);
90
+ __exportStar(require("./Shop"), exports);
91
+ __exportStar(require("./ShopFilled"), exports);
85
92
  __exportStar(require("./Show"), exports);
86
93
  __exportStar(require("./SmartHome"), exports);
87
94
  __exportStar(require("./SmartMeter"), exports);
88
95
  __exportStar(require("./Solar"), exports);
89
- __exportStar(require("./StarFilled"), exports);
90
96
  __exportStar(require("./Star"), exports);
97
+ __exportStar(require("./StarFilled"), exports);
91
98
  __exportStar(require("./Sun"), exports);
92
99
  __exportStar(require("./Torch"), exports);
93
100
  __exportStar(require("./Trees"), exports);
94
101
  __exportStar(require("./Tune"), exports);
95
- __exportStar(require("./UserFilled"), exports);
96
102
  __exportStar(require("./User"), exports);
103
+ __exportStar(require("./UserFilled"), exports);
97
104
  __exportStar(require("./Wallet"), exports);
105
+ __exportStar(require("./WalletFilled"), exports);
98
106
  __exportStar(require("./WarmHome"), exports);
99
107
  __exportStar(require("./Warning"), exports);
100
108
  __exportStar(require("./WebAddress"), exports);
@@ -1,5 +1,5 @@
1
1
  import { FunctionComponent } from 'react';
2
2
  import { SvgProps } from 'react-native-svg';
3
- export type IconName = 'address' | 'advice' | 'archive' | 'arrow-down' | 'arrow-left' | 'arrow-right' | 'arrow-up' | 'award' | 'battery' | 'cal-book' | 'cal' | 'caret-arrow-down' | 'caret-arrow-left' | 'caret-arrow-right' | 'caret-arrow-up' | 'chart-filled' | 'chart' | 'check-circle' | 'check' | 'chevron-down' | 'chevron-left-small-first' | 'chevron-left-small' | 'chevron-left' | 'chevron-right-small-last' | 'chevron-right-small' | 'chevron-right' | 'chevron-up' | 'close-circle' | 'cross' | 'doc' | 'dollar' | 'download' | 'eco-home' | 'eco' | 'edit' | 'electric-car' | 'electric-home' | 'electricity' | 'energy-advice' | 'equals' | 'euro' | 'gas' | 'globe-address' | 'help-filled' | 'help' | 'hide' | 'home-filled' | 'home' | 'hydro-power' | 'info' | 'link' | 'logo' | 'mail-open' | 'mail' | 'menu' | 'message-filled' | 'message' | 'minus' | 'mobile' | 'new-window' | 'payment-card-filled' | 'payment-card' | 'phone' | 'plus' | 'pound' | 'pricing' | 'search' | 'security' | 'show' | 'smart-home' | 'smart-meter' | 'solar' | 'star-filled' | 'star' | 'sun' | 'torch' | 'trees' | 'tune' | 'user-filled' | 'user' | 'wallet' | 'warm-home' | 'warning' | 'web-address' | 'wind-power';
3
+ export type IconName = 'address' | 'advice' | 'archive' | 'arrow-down' | 'arrow-left' | 'arrow-right' | 'arrow-up' | 'award' | 'battery' | 'cal-book' | 'cal' | 'caret-arrow-down' | 'caret-arrow-left' | 'caret-arrow-right' | 'caret-arrow-up' | 'caret-down' | 'caret-left' | 'caret-right' | 'caret-up' | 'chart-filled' | 'chart' | 'check-circle' | 'check' | 'chevron-down' | 'chevron-left-small-first' | 'chevron-left-small' | 'chevron-left' | 'chevron-right-small-last' | 'chevron-right-small' | 'chevron-right' | 'chevron-up' | 'circle' | 'close-circle' | 'cross' | 'doc' | 'dollar' | 'download' | 'eco-home' | 'eco' | 'edit' | 'electric-car' | 'electric-home' | 'electricity' | 'energy-advice' | 'equals' | 'euro' | 'gas' | 'globe-address' | 'help-filled' | 'help' | 'hide' | 'home-filled' | 'home' | 'hydro-power' | 'info' | 'link' | 'logo' | 'mail-open' | 'mail' | 'menu' | 'message-filled' | 'message' | 'minus' | 'mobile' | 'new-window' | 'payment-card-filled' | 'payment-card' | 'phone' | 'plus' | 'pound' | 'pricing' | 'search' | 'security' | 'shop-filled' | 'shop' | 'show' | 'smart-home' | 'smart-meter' | 'solar' | 'star-filled' | 'star' | 'sun' | 'torch' | 'trees' | 'tune' | 'user-filled' | 'user' | 'wallet' | 'warm-home' | 'warning' | 'web-address' | 'wind-power';
4
4
  export type IconNameExtended = IconName | string;
5
5
  export type IconsType = Record<string, FunctionComponent<SvgProps>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ovotech/element-native",
3
- "version": "4.0.4",
3
+ "version": "4.1.0-canary-9534c0a-267",
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-9534c0a-267",
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.1"
20
+ "react-native-reanimated-carousel": "^3.5.1"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@babel/core": "^7.11.5",