@ovotech/element-native 4.0.2 → 4.0.3-canary-a852513-261
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.
- package/dist/components/ActionCard/ActionCard.js +6 -1
- package/dist/components/Disclosure/Disclosure.js +1 -1
- package/dist/components/FilterSelect/FilterSelect.js +1 -1
- package/dist/components/NavHeader/IconButton.js +4 -3
- package/dist/components/NavHeader/NavHeader.js +8 -6
- package/dist/components/NavHeader/NavHeader.styles.d.ts +5 -2
- package/dist/components/NavHeader/NavHeader.styles.js +16 -11
- package/dist/components/SegmentedControls/SegmentedControls.d.ts +16 -0
- package/dist/components/SegmentedControls/SegmentedControls.js +105 -0
- package/dist/components/SegmentedControls/components/SegmentButton.d.ts +13 -0
- package/dist/components/SegmentedControls/components/SegmentButton.js +94 -0
- package/dist/components/SegmentedControls/index.d.ts +2 -0
- package/dist/components/SegmentedControls/index.js +5 -0
- package/dist/components/TextLink/TextLink.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -0
- package/dist/esm/components/ActionCard/ActionCard.js +6 -1
- package/dist/esm/components/Disclosure/Disclosure.js +1 -1
- package/dist/esm/components/FilterSelect/FilterSelect.js +1 -1
- package/dist/esm/components/NavHeader/IconButton.js +3 -2
- package/dist/esm/components/NavHeader/NavHeader.js +8 -6
- package/dist/esm/components/NavHeader/NavHeader.styles.js +16 -11
- package/dist/esm/components/SegmentedControls/SegmentedControls.js +78 -0
- package/dist/esm/components/SegmentedControls/components/SegmentButton.js +64 -0
- package/dist/esm/components/SegmentedControls/index.js +2 -0
- package/dist/esm/components/TextLink/TextLink.js +1 -1
- package/dist/esm/components/index.js +1 -0
- package/dist/esm/providers/IconsProvider.js +22 -24
- package/dist/esm/providers/icons/CaretArrowDown.js +14 -0
- package/dist/esm/providers/icons/CaretArrowLeft.js +14 -0
- package/dist/esm/providers/icons/CaretArrowRight.js +14 -0
- package/dist/esm/providers/icons/CaretArrowUp.js +14 -0
- package/dist/esm/providers/icons/Chart.js +1 -1
- package/dist/esm/providers/icons/ChartFilled.js +1 -1
- package/dist/esm/providers/icons/Gas.js +1 -1
- package/dist/esm/providers/icons/HomeFilled.js +1 -1
- package/dist/esm/providers/icons/Logo.js +2 -2
- package/dist/esm/providers/icons/MessageFilled.js +1 -1
- package/dist/esm/providers/icons/Show.js +1 -1
- package/dist/esm/providers/icons/StarFilled.js +1 -1
- package/dist/esm/providers/icons/Trees.js +1 -1
- package/dist/esm/providers/icons/User.js +1 -1
- package/dist/esm/providers/icons/UserFilled.js +1 -1
- package/dist/esm/providers/icons/index.js +19 -21
- package/dist/providers/IconsProvider.js +21 -23
- package/dist/providers/icons/CaretArrowDown.d.ts +2 -0
- package/dist/providers/icons/CaretArrowDown.js +41 -0
- package/dist/providers/icons/CaretArrowLeft.d.ts +2 -0
- package/dist/providers/icons/CaretArrowLeft.js +41 -0
- package/dist/providers/icons/CaretArrowRight.d.ts +2 -0
- package/dist/providers/icons/CaretArrowRight.js +41 -0
- package/dist/providers/icons/CaretArrowUp.d.ts +2 -0
- package/dist/providers/icons/CaretArrowUp.js +41 -0
- package/dist/providers/icons/Chart.js +1 -1
- package/dist/providers/icons/ChartFilled.js +1 -1
- package/dist/providers/icons/Gas.js +1 -1
- package/dist/providers/icons/HomeFilled.js +1 -1
- package/dist/providers/icons/Logo.js +25 -2
- package/dist/providers/icons/MessageFilled.js +1 -1
- package/dist/providers/icons/Show.js +1 -1
- package/dist/providers/icons/StarFilled.js +1 -1
- package/dist/providers/icons/Trees.js +1 -1
- package/dist/providers/icons/User.js +1 -1
- package/dist/providers/icons/UserFilled.js +1 -1
- package/dist/providers/icons/index.d.ts +19 -21
- package/dist/providers/icons/index.js +19 -21
- package/dist/providers/types.d.ts +1 -1
- package/package.json +3 -3
|
@@ -12,33 +12,38 @@ export var NavWrapper = styled(Animated.View)(function (_a) {
|
|
|
12
12
|
? css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n border-bottom-width: ", ";\n border-bottom-style: solid;\n border-bottom-color: ", ";\n "], ["\n border-bottom-width: ", ";\n border-bottom-style: solid;\n border-bottom-color: ", ";\n "])), numToPx(core.borderWidth.small), semantic.border.differentiated) : '');
|
|
13
13
|
});
|
|
14
14
|
export var NavContainer = styled.View(function (_a) {
|
|
15
|
-
var core = _a.theme.core, topOffset = _a.topOffset;
|
|
16
|
-
return css(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n position: absolute;\n\n /* NavWrapper zIndex + 1 so it is always on top of the wrapper */\n z-index: ", ";\n width:
|
|
15
|
+
var core = _a.theme.core, topOffset = _a.topOffset, titleVisible = _a.titleVisible;
|
|
16
|
+
return css(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n position: absolute;\n\n /* NavWrapper zIndex + 1 so it is always on top of the wrapper */\n z-index: ", ";\n width: ", ";\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n flex-wrap: wrap;\n padding-top: ", ";\n padding-bottom: ", ";\n padding-left: ", ";\n padding-right: ", ";\n "], ["\n position: absolute;\n\n /* NavWrapper zIndex + 1 so it is always on top of the wrapper */\n z-index: ", ";\n width: ", ";\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n flex-wrap: wrap;\n padding-top: ", ";\n padding-bottom: ", ";\n padding-left: ", ";\n padding-right: ", ";\n "])), Z_INDEX + 1, titleVisible ? '100%' : '50%', topOffset
|
|
17
|
+
? topOffset
|
|
18
|
+
: numToPx(core.space[titleVisible ? 2 : 4]), numToPx(core.space[titleVisible ? 2 : 4]), numToPx(core.space[4]), numToPx(core.space[4]));
|
|
17
19
|
});
|
|
18
20
|
export var ExpandedTitle = styled(Animated.Text)(function (_a) {
|
|
19
|
-
var _b = _a.theme, core = _b.core, semantic = _b.semantic, hasBackButton = _a.hasBackButton, fullWidth = _a.fullWidth;
|
|
20
|
-
return css(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n width: ", ";\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n "], ["\n width: ", ";\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n "])), fullWidth ? '100%' : '65%', core.fontFamily.heading.native, numToPx(core.fontSize.heading1[hasBackButton ? 'small' : 'large']), numToPx(hasBackButton ? core.lineHeight.heading1.small : core.space[13]), semantic.message.branded);
|
|
21
|
+
var _b = _a.theme, core = _b.core, semantic = _b.semantic, hasBackButton = _a.hasBackButton, fullWidth = _a.fullWidth, titleVisible = _a.titleVisible;
|
|
22
|
+
return css(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n width: ", ";\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n ", ";\n "], ["\n width: ", ";\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n ", ";\n "])), fullWidth ? '100%' : '65%', core.fontFamily.heading.native, numToPx(core.fontSize.heading1[hasBackButton ? 'small' : 'large']), numToPx(hasBackButton ? core.lineHeight.heading1.small : core.space[13]), semantic.message.branded, !titleVisible && 'height: 0;');
|
|
23
|
+
});
|
|
24
|
+
export var CollapsedTitleWrapper = styled(Animated.View)(function (_a) {
|
|
25
|
+
var titleVisible = _a.titleVisible;
|
|
26
|
+
return "\n width: ".concat(titleVisible ? '33.3%' : '0', ";\n align-items: center;\n justify-content: center;\n");
|
|
21
27
|
});
|
|
22
|
-
export var CollapsedTitleWrapper = styled(Animated.View)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n width: 33.3%;\n align-items: center;\n justify-content: center;\n"], ["\n width: 33.3%;\n align-items: center;\n justify-content: center;\n"])));
|
|
23
28
|
export var CollapsedTitle = styled(Animated.Text)(function (_a) {
|
|
24
29
|
var _b = _a.theme, core = _b.core, semantic = _b.semantic;
|
|
25
|
-
return css(
|
|
30
|
+
return css(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n "], ["\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n color: ", ";\n "])), core.fontFamily.heading.native, numToPx(core.fontSize.heading4.small), numToPx(core.lineHeight.heading4.small), semantic.message.branded);
|
|
26
31
|
});
|
|
27
|
-
export var IconButtonWrapper = styled.View(
|
|
32
|
+
export var IconButtonWrapper = styled.View(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n width: 33.3%;\n flex-direction: row;\n justify-content: flex-end;\n"], ["\n width: 33.3%;\n flex-direction: row;\n justify-content: flex-end;\n"])));
|
|
28
33
|
var iconButtonSharedStyles = css(function (_a) {
|
|
29
34
|
var semantic = _a.theme.semantic;
|
|
30
35
|
return "\n border-radius: 100px;\n background-color: ".concat(semantic.inverted.surface, ";\n align-items: center;\n justify-content: center;\n");
|
|
31
36
|
});
|
|
32
|
-
export var StyledIconButtonS = styled(Animated.View)(
|
|
37
|
+
export var StyledIconButtonS = styled(Animated.View)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n width: 28px;\n height: 28px;\n opacity: ", ";\n ", ";\n"], ["\n width: 28px;\n height: 28px;\n opacity: ", ";\n ", ";\n"])), function (_a) {
|
|
33
38
|
var $pressed = _a.$pressed;
|
|
34
39
|
return ($pressed ? 0.8 : 1);
|
|
35
40
|
}, iconButtonSharedStyles);
|
|
36
|
-
export var StyledIconButtonL = styled(Animated.View)(
|
|
41
|
+
export var StyledIconButtonL = styled(Animated.View)(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n width: 36px;\n height: 36px;\n opacity: ", ";\n ", ";\n"], ["\n width: 36px;\n height: 36px;\n opacity: ", ";\n ", ";\n"])), function (_a) {
|
|
37
42
|
var $pressed = _a.$pressed;
|
|
38
43
|
return ($pressed ? 0.8 : 1);
|
|
39
44
|
}, iconButtonSharedStyles);
|
|
40
45
|
export var ActionWrapper = styled.View(function (_a) {
|
|
41
46
|
var core = _a.theme.core, collapsed = _a.collapsed;
|
|
42
|
-
return css(
|
|
47
|
+
return css(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n margin-bottom: ", ";\n "], ["\n margin-bottom: ", ";\n "])), collapsed ? '0' : numToPx(core.space[2]));
|
|
43
48
|
});
|
|
44
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9
|
|
49
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9;
|
|
@@ -0,0 +1,78 @@
|
|
|
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, jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
|
+
import Animated, { useAnimatedStyle, useSharedValue, withSpring, } from 'react-native-reanimated';
|
|
25
|
+
import styled, { useTheme } from '../../styled.native';
|
|
26
|
+
import { SegmentButton } from './components/SegmentButton';
|
|
27
|
+
/* These settings were found to be nice and fast whilst maintaining spring */
|
|
28
|
+
var springSettings = {
|
|
29
|
+
damping: 25,
|
|
30
|
+
mass: 0.25,
|
|
31
|
+
};
|
|
32
|
+
export var SegmentedControls = function (_a) {
|
|
33
|
+
var activeSegment = _a.activeSegment, setActiveSegment = _a.setActiveSegment, segments = _a.segments, _b = _a.inline, inline = _b === void 0 ? false : _b, multipleRows = _a.multipleRows, _c = _a.size, size = _c === void 0 ? 'large' : _c, rest = __rest(_a, ["activeSegment", "setActiveSegment", "segments", "inline", "multipleRows", "size"]);
|
|
34
|
+
var animatedX = useSharedValue(0);
|
|
35
|
+
var animatedY = useSharedValue(0);
|
|
36
|
+
var animatedHeight = useSharedValue(0);
|
|
37
|
+
var animatedWidth = useSharedValue(0);
|
|
38
|
+
var theme = useTheme();
|
|
39
|
+
var animatedBackgroundStyle = useAnimatedStyle(function () { return ({
|
|
40
|
+
transform: [
|
|
41
|
+
{
|
|
42
|
+
translateX: animatedX.value,
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
translateY: animatedY.value + theme.core.space[size === 'small' ? 1 : 2],
|
|
46
|
+
} /* accounting for margin from top & bottom */,
|
|
47
|
+
],
|
|
48
|
+
width: animatedWidth.value,
|
|
49
|
+
height: animatedHeight.value,
|
|
50
|
+
position: 'absolute',
|
|
51
|
+
borderRadius: theme.core.radius.max,
|
|
52
|
+
backgroundColor: theme.semantic.surface.elevated,
|
|
53
|
+
}); }, [animatedX, animatedY, animatedWidth, animatedHeight]);
|
|
54
|
+
return (_jsxs(SegmentsContainer, __assign({ "$inline": inline, "$multipleRows": multipleRows }, rest, { children: [_jsx(Animated.View, { style: animatedBackgroundStyle }), segments.map(function (segment) {
|
|
55
|
+
var _a;
|
|
56
|
+
return (_jsx(SegmentButton, { isSelected: activeSegment.key === segment.key, label: segment.label, accessibilityLabel: segment.accessibilityLabel, onPress: function (x, y, width) {
|
|
57
|
+
setActiveSegment(segment);
|
|
58
|
+
animatedX.value = withSpring(x, springSettings);
|
|
59
|
+
animatedY.value = withSpring(y, springSettings);
|
|
60
|
+
animatedWidth.value = width;
|
|
61
|
+
}, onLayout: function (width, height, x, y) {
|
|
62
|
+
if (activeSegment.key === segment.key) {
|
|
63
|
+
animatedX.value = x;
|
|
64
|
+
// (adrian.pop) - I couldn't figure out how to make the positioning work once the
|
|
65
|
+
// choices go on the second row. The only way I could get it to work
|
|
66
|
+
// was to hardcode the denominator to 3 for the single row ones
|
|
67
|
+
// and 1.1 for the multiple row ones.
|
|
68
|
+
animatedY.value = y - height / (multipleRows ? 1.1 : 3);
|
|
69
|
+
animatedHeight.value = height;
|
|
70
|
+
animatedWidth.value = width;
|
|
71
|
+
}
|
|
72
|
+
}, multipleRows: multipleRows, size: size, inline: inline, testID: "".concat((_a = rest.testID) !== null && _a !== void 0 ? _a : 'segment', "-").concat(segment.key) }, segment.key));
|
|
73
|
+
})] })));
|
|
74
|
+
};
|
|
75
|
+
var SegmentsContainer = styled.View(function (_a) {
|
|
76
|
+
var _b = _a.theme, core = _b.core, semantic = _b.semantic, $inline = _a.$inline, $multipleRows = _a.$multipleRows;
|
|
77
|
+
return "\n flex-direction: row;\n flex-wrap: ".concat($multipleRows ? '' : 'no-', "wrap;\n justify-content: ").concat($multipleRows ? 'space-between' : 'space-apart', ";\n align-items: center;\n gap: ").concat($inline ? 0 : core.space[1], "px;\n width: ").concat($inline ? 'auto' : '100%', ";\n align-self: ").concat($inline ? 'flex-start' : 'stretch', ";\n padding: ").concat(core.space[1], "px;\n background-color: ").concat(semantic.surface.cutout, ";\n border-radius: ").concat(core.radius.max, "px;\n");
|
|
78
|
+
});
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useEffect, useRef } from 'react';
|
|
3
|
+
import { Pressable } from 'react-native';
|
|
4
|
+
import Animated, { useAnimatedStyle, useSharedValue, withTiming, } from 'react-native-reanimated';
|
|
5
|
+
import styled from '../../../styled.native';
|
|
6
|
+
import { P } from '../../P';
|
|
7
|
+
var AnimatedP = Animated.createAnimatedComponent(P);
|
|
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;
|
|
10
|
+
var xRef = useRef(0);
|
|
11
|
+
var yRef = useRef(0);
|
|
12
|
+
var widthRef = useRef(0);
|
|
13
|
+
var heightRef = useRef(0);
|
|
14
|
+
var hitslopVal = size === 'small' ? 8 : 4;
|
|
15
|
+
var fontWeightAnim = useSharedValue(isSelected ? 1 : 0);
|
|
16
|
+
var animatedStyleNormal = useAnimatedStyle(function () {
|
|
17
|
+
return {
|
|
18
|
+
opacity: 1 - fontWeightAnim.value,
|
|
19
|
+
position: 'absolute',
|
|
20
|
+
};
|
|
21
|
+
}, [fontWeightAnim]);
|
|
22
|
+
var animatedStyleBold = useAnimatedStyle(function () {
|
|
23
|
+
return {
|
|
24
|
+
opacity: fontWeightAnim.value,
|
|
25
|
+
position: 'absolute',
|
|
26
|
+
};
|
|
27
|
+
}, [fontWeightAnim]);
|
|
28
|
+
useEffect(function () {
|
|
29
|
+
fontWeightAnim.value = withTiming(isSelected ? 1 : 0);
|
|
30
|
+
}, [fontWeightAnim, isSelected]);
|
|
31
|
+
var handleLayout = function (event) {
|
|
32
|
+
var _a = event.nativeEvent.layout, width = _a.width, height = _a.height, x = _a.x, y = _a.y;
|
|
33
|
+
xRef.current = x;
|
|
34
|
+
yRef.current = y;
|
|
35
|
+
heightRef.current = height;
|
|
36
|
+
widthRef.current = width;
|
|
37
|
+
onLayout(width, height, x, y);
|
|
38
|
+
};
|
|
39
|
+
var handlePress = function () {
|
|
40
|
+
onPress(xRef.current,
|
|
41
|
+
// (adrian.pop) - I couldn't figure out how to make the positioning work once the
|
|
42
|
+
// choices go on the second row. The only way I could get it to work
|
|
43
|
+
// was to hardcode the denominator to 3 for the single row ones
|
|
44
|
+
// and 1.1 for the multiple row ones.
|
|
45
|
+
yRef.current - heightRef.current / (multipleRows ? 1.1 : 3), widthRef.current);
|
|
46
|
+
};
|
|
47
|
+
return (_jsx(Pressable, { onLayout: handleLayout, onPress: handlePress, accessible: true, accessibilityRole: "checkbox", accessibilityState: { selected: isSelected }, accessibilityLabel: accessibilityLabel, hitSlop: {
|
|
48
|
+
top: hitslopVal,
|
|
49
|
+
bottom: hitslopVal,
|
|
50
|
+
}, style: { flexGrow: inline || multipleRows ? undefined : 1 }, testID: testID, children: _jsxs(SSegmentsWrapper, { "$isSelected": isSelected, "$size": size, children: [_jsx(SSegmentText, { style: {
|
|
51
|
+
opacity: 0,
|
|
52
|
+
fontWeight: '900',
|
|
53
|
+
}, "$isSelected": false, children: label }), _jsx(SSegmentText, { style: animatedStyleNormal, "$isSelected": false, numberOfLines: 1, adjustsFontSizeToFit: true, children: label }), _jsx(SSegmentText, { style: animatedStyleBold, "$isSelected": true, numberOfLines: 1, adjustsFontSizeToFit: true, children: label })] }) }));
|
|
54
|
+
};
|
|
55
|
+
var SSegmentsWrapper = styled.View(function (_a) {
|
|
56
|
+
var theme = _a.theme, $size = _a.$size;
|
|
57
|
+
return "\n padding: ".concat($size === 'small' ? 0 : 6, "px ").concat(theme.core.space[$size === 'small' ? 3 : 4], "px;\n align-items: center;\n justify-content: center;\n");
|
|
58
|
+
});
|
|
59
|
+
var SSegmentText = styled(AnimatedP)(function (_a) {
|
|
60
|
+
var $isSelected = _a.$isSelected, theme = _a.theme;
|
|
61
|
+
return "\n font-family: ".concat($isSelected
|
|
62
|
+
? theme.core.fontFamily.bodyBold.native
|
|
63
|
+
: theme.core.fontFamily.body.native, ";\n color: ").concat(theme.semantic.message.base, ";\n ");
|
|
64
|
+
});
|
|
@@ -36,7 +36,7 @@ var StyledText = styled.Text(function (_a) {
|
|
|
36
36
|
});
|
|
37
37
|
var StyledIcon = styled(Icon)(function (_a) {
|
|
38
38
|
var semantic = _a.theme.semantic;
|
|
39
|
-
return css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n
|
|
39
|
+
return css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n color: ", ";\n "], ["\n color: ", ";\n "])), semantic.message.branded);
|
|
40
40
|
});
|
|
41
41
|
var TextLink = forwardRef(function (_a, ref) {
|
|
42
42
|
var children = _a.children, _b = _a.opensInNewWindow, opensInNewWindow = _b === void 0 ? false : _b, accessibilityLabel = _a.accessibilityLabel, rest = __rest(_a, ["children", "opensInNewWindow", "accessibilityLabel"]);
|
|
@@ -40,6 +40,7 @@ export * from './PasswordInput';
|
|
|
40
40
|
export * from './PhoneField';
|
|
41
41
|
export * from './PhoneInput';
|
|
42
42
|
export * from './Radio';
|
|
43
|
+
export * from './SegmentedControls';
|
|
43
44
|
export * from './SelectField';
|
|
44
45
|
export * from './SkeletonCircle';
|
|
45
46
|
export * from './SkeletonCTA';
|
|
@@ -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, Cal,
|
|
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';
|
|
15
15
|
var defaultIcons = {
|
|
16
16
|
address: Address,
|
|
17
17
|
advice: Advice,
|
|
@@ -22,32 +22,31 @@ var defaultIcons = {
|
|
|
22
22
|
'arrow-up': ArrowUp,
|
|
23
23
|
award: Award,
|
|
24
24
|
battery: Battery,
|
|
25
|
-
cal: Cal,
|
|
26
25
|
'cal-book': CalBook,
|
|
27
|
-
|
|
28
|
-
'caret-
|
|
29
|
-
'caret-
|
|
30
|
-
'caret-
|
|
31
|
-
|
|
26
|
+
cal: Cal,
|
|
27
|
+
'caret-arrow-down': CaretArrowDown,
|
|
28
|
+
'caret-arrow-left': CaretArrowLeft,
|
|
29
|
+
'caret-arrow-right': CaretArrowRight,
|
|
30
|
+
'caret-arrow-up': CaretArrowUp,
|
|
32
31
|
'chart-filled': ChartFilled,
|
|
33
|
-
|
|
32
|
+
chart: Chart,
|
|
34
33
|
'check-circle': CheckCircle,
|
|
35
|
-
|
|
36
|
-
'chevron-
|
|
34
|
+
check: Check,
|
|
35
|
+
'chevron-down': ChevronDown,
|
|
37
36
|
'chevron-left-small-first': ChevronLeftSmallFirst,
|
|
38
|
-
'chevron-
|
|
39
|
-
'chevron-
|
|
37
|
+
'chevron-left-small': ChevronLeftSmall,
|
|
38
|
+
'chevron-left': ChevronLeft,
|
|
40
39
|
'chevron-right-small-last': ChevronRightSmallLast,
|
|
40
|
+
'chevron-right-small': ChevronRightSmall,
|
|
41
|
+
'chevron-right': ChevronRight,
|
|
41
42
|
'chevron-up': ChevronUp,
|
|
42
|
-
'chevron-down': ChevronDown,
|
|
43
|
-
circle: Circle,
|
|
44
43
|
'close-circle': CloseCircle,
|
|
45
44
|
cross: Cross,
|
|
46
45
|
doc: Doc,
|
|
47
46
|
dollar: Dollar,
|
|
48
47
|
download: Download,
|
|
49
|
-
eco: Eco,
|
|
50
48
|
'eco-home': EcoHome,
|
|
49
|
+
eco: Eco,
|
|
51
50
|
edit: Edit,
|
|
52
51
|
'electric-car': ElectricCar,
|
|
53
52
|
'electric-home': ElectricHome,
|
|
@@ -57,25 +56,25 @@ var defaultIcons = {
|
|
|
57
56
|
euro: Euro,
|
|
58
57
|
gas: Gas,
|
|
59
58
|
'globe-address': GlobeAddress,
|
|
60
|
-
help: Help,
|
|
61
59
|
'help-filled': HelpFilled,
|
|
60
|
+
help: Help,
|
|
62
61
|
hide: Hide,
|
|
63
|
-
home: Home,
|
|
64
62
|
'home-filled': HomeFilled,
|
|
63
|
+
home: Home,
|
|
65
64
|
'hydro-power': HydroPower,
|
|
66
65
|
info: Info,
|
|
67
|
-
'new-window': NewWindow,
|
|
68
66
|
link: Link,
|
|
69
67
|
logo: Logo,
|
|
70
|
-
mail: Mail,
|
|
71
68
|
'mail-open': MailOpen,
|
|
69
|
+
mail: Mail,
|
|
72
70
|
menu: Menu,
|
|
73
|
-
message: Message,
|
|
74
71
|
'message-filled': MessageFilled,
|
|
72
|
+
message: Message,
|
|
75
73
|
minus: Minus,
|
|
76
74
|
mobile: Mobile,
|
|
77
|
-
'
|
|
75
|
+
'new-window': NewWindow,
|
|
78
76
|
'payment-card-filled': PaymentCardFilled,
|
|
77
|
+
'payment-card': PaymentCard,
|
|
79
78
|
phone: Phone,
|
|
80
79
|
plus: Plus,
|
|
81
80
|
pound: Pound,
|
|
@@ -86,16 +85,15 @@ var defaultIcons = {
|
|
|
86
85
|
'smart-home': SmartHome,
|
|
87
86
|
'smart-meter': SmartMeter,
|
|
88
87
|
solar: Solar,
|
|
89
|
-
star: Star,
|
|
90
88
|
'star-filled': StarFilled,
|
|
89
|
+
star: Star,
|
|
91
90
|
sun: Sun,
|
|
92
91
|
torch: Torch,
|
|
93
92
|
trees: Trees,
|
|
94
93
|
tune: Tune,
|
|
95
|
-
user: User,
|
|
96
94
|
'user-filled': UserFilled,
|
|
95
|
+
user: User,
|
|
97
96
|
wallet: Wallet,
|
|
98
|
-
'wallet-filled': WalletFilled,
|
|
99
97
|
'warm-home': WarmHome,
|
|
100
98
|
warning: Warning,
|
|
101
99
|
'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 } from "react/jsx-runtime";
|
|
13
|
+
import Svg, { Path } from 'react-native-svg';
|
|
14
|
+
export var CaretArrowDown = function (props) { return (_jsx(Svg, __assign({ viewBox: "0 0 16 16" }, props, { children: _jsx(Path, { fill: "currentColor", d: "m8 11.5-5-5h10l-5 5Z" }) }))); };
|
|
@@ -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 } from "react/jsx-runtime";
|
|
13
|
+
import Svg, { Path } from 'react-native-svg';
|
|
14
|
+
export var CaretArrowLeft = function (props) { return (_jsx(Svg, __assign({ viewBox: "0 0 16 16" }, props, { children: _jsx(Path, { fill: "currentColor", d: "m4.5 8 5-5v10l-5-5Z" }) }))); };
|
|
@@ -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 } from "react/jsx-runtime";
|
|
13
|
+
import Svg, { Path } from 'react-native-svg';
|
|
14
|
+
export var CaretArrowRight = function (props) { return (_jsx(Svg, __assign({ viewBox: "0 0 16 16" }, props, { children: _jsx(Path, { fill: "currentColor", d: "m11.5 8-5 5V3l5 5Z" }) }))); };
|
|
@@ -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 } from "react/jsx-runtime";
|
|
13
|
+
import Svg, { Path } from 'react-native-svg';
|
|
14
|
+
export var CaretArrowUp = function (props) { return (_jsx(Svg, __assign({ viewBox: "0 0 16 16" }, props, { children: _jsx(Path, { fill: "currentColor", d: "m8 4.5 5 5H3l5-5Z" }) }))); };
|
|
@@ -11,4 +11,4 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
import Svg, { Path } from 'react-native-svg';
|
|
14
|
-
export var Chart = function (props) { return (_jsx(Svg, __assign({ viewBox: "0 0 16 16" }, props, { children: _jsx(Path, { fill: "currentColor", fillRule: "evenodd", d: "M3 13h11.099l.401 1.496v.004h-13V1.902L3 1.
|
|
14
|
+
export var Chart = function (props) { return (_jsx(Svg, __assign({ viewBox: "0 0 16 16" }, props, { children: _jsx(Path, { fill: "currentColor", fillRule: "evenodd", d: "M3 13h11.099l.401 1.496v.004h-13V1.902L3 1.501V13Zm4.989-9.585 1.5-.401v9.072h-1.5v-8.67ZM6.026 5.506l-1.5.402v6.177h1.5V5.506Zm5.425 2.92 1.5-.402v4.062h-1.5v-3.66Z", clipRule: "evenodd" }) }))); };
|
|
@@ -11,4 +11,4 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
import Svg, { Path } from 'react-native-svg';
|
|
14
|
-
export var ChartFilled = function (props) { return (_jsx(Svg, __assign({ viewBox: "0 0
|
|
14
|
+
export var ChartFilled = function (props) { return (_jsx(Svg, __assign({ viewBox: "0 0 16 16" }, props, { children: _jsx(Path, { fill: "currentColor", d: "M1.5 1.5v13h13v-13h-13Zm3.775 10.585h-1.5V5.91l1.5-.4v6.58-.005Zm3.46 0h-1.5v-8.67l1.5-.4v9.07Zm3.46 0h-1.5v-3.66l1.5-.4v4.06Z" }) }))); };
|
|
@@ -11,4 +11,4 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
import Svg, { Path } from 'react-native-svg';
|
|
14
|
-
export var Gas = function (props) { return (_jsx(Svg, __assign({ viewBox: "0 0 16 16" }, props, { children: _jsx(Path, { fill: "currentColor", d: "M13.047 9.242c-.376-2.493-3.
|
|
14
|
+
export var Gas = function (props) { return (_jsx(Svg, __assign({ viewBox: "0 0 16 16" }, props, { children: _jsx(Path, { fill: "currentColor", d: "M13.047 9.242c-.376-2.493-3.573-5.79-3.573-5.79l-.796.86L7.933 1.5s-4.527 4.756-5 7.922c-.34 2.272.982 5.077 4.999 5.078 4.713 0 5.452-3.026 5.115-5.258ZM6.99 12.677c-.416-.272-.473-.572-.473-.83 0-.393.368-.998.983-1.619.146-.147.293-.283.433-.405.129.113.264.237.399.372.636.634 1.016 1.252 1.016 1.652 0 .258-.056.557-.472.83-.376.246-.823.322-.943.322-.121 0-.568-.076-.943-.322Zm4.563-1.801c-.087.447-.26.824-.514 1.12a2.104 2.104 0 0 1-.214.213c.016-.115.024-.236.024-.361 0-2.021-2.916-3.916-2.916-3.916s-2.915 1.894-2.915 3.915l.001.087c-.503-.59-.729-1.444-.602-2.29.153-1.029.997-2.607 2.374-4.445.143-.19.285-.375.424-.551l.013.048.699 2.636L9.44 5.696c.16.198.328.413.497.641.934 1.259 1.512 2.371 1.627 3.13.075.497.07.985-.012 1.41v-.001Z" }) }))); };
|
|
@@ -11,4 +11,4 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
import Svg, { Path } from 'react-native-svg';
|
|
14
|
-
export var HomeFilled = function (props) { return (_jsx(Svg, __assign({ viewBox: "0 0
|
|
14
|
+
export var HomeFilled = function (props) { return (_jsx(Svg, __assign({ viewBox: "0 0 16 16" }, props, { children: _jsx(Path, { fill: "currentColor", d: "M14.5 14.5V5L8 1.5 1.5 5v9.5H7v-5h2v5h5.5Z" }) }))); };
|
|
@@ -10,5 +10,5 @@ var __assign = (this && this.__assign) || function () {
|
|
|
10
10
|
return __assign.apply(this, arguments);
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
-
import { Path
|
|
14
|
-
export var Logo = function (props) { return (_jsx(Svg, __assign({ viewBox: "0 0 48 48"
|
|
13
|
+
import Svg, { Path } from 'react-native-svg';
|
|
14
|
+
export var Logo = function (props) { return (_jsx(Svg, __assign({ viewBox: "0 0 48 48" }, props, { children: _jsx(Path, { fill: "currentColor", d: "M14.316 16.104c-1.837-1.34-4.186-2.084-6.733-2.084-2.262 0-4.364.589-6.1 1.66L0 10.143 37.861 0l3.767 14.063a12.37 12.37 0 0 0-1.054-.045c-2.562 0-4.924.752-6.771 2.109l.697-1.803h-7.311l-2.562 8.771c-.278.95-.565 1.982-.565 1.982l-.557-1.982-2.56-8.77h-7.316l.687 1.779Zm22.654 8.023c0-2.05 1.382-3.76 3.606-3.76 1.711 0 2.919 1.013 3.387 2.414l.127.472c.058.28.092.57.092.873 0 2.2-1.484 3.71-3.606 3.71s-3.606-1.51-3.606-3.71Zm-25.781 0c0-2.05-1.384-3.76-3.606-3.76-2.224 0-3.61 1.71-3.61 3.76 0 2.2 1.489 3.71 3.61 3.71 2.122 0 3.606-1.51 3.606-3.71Zm18.866 1.69c.835 5.104 5.232 8.101 10.521 8.101 2.209 0 4.265-.52 5.972-1.5l1.456 5.44L10.143 48 6.357 33.865c.401.036.814.055 1.226.055 5.27 0 9.659-2.98 10.515-8.057l3 7.753h5.934l3.023-7.8Z" }) }))); };
|
|
@@ -11,4 +11,4 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
import Svg, { Path } from 'react-native-svg';
|
|
14
|
-
export var MessageFilled = function (props) { return (_jsx(Svg, __assign({ viewBox: "0 0
|
|
14
|
+
export var MessageFilled = function (props) { return (_jsx(Svg, __assign({ viewBox: "0 0 16 16" }, props, { children: _jsx(Path, { fill: "currentColor", fillRule: "evenodd", d: "M14.5 13 13 11.523l1.5 1.479h-9l-4 1.498V3h13v10Z", clipRule: "evenodd" }) }))); };
|
|
@@ -11,4 +11,4 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
import Svg, { Path } from 'react-native-svg';
|
|
14
|
-
export var Show = function (props) { return (_jsx(Svg, __assign({ viewBox: "0 0 16 16" }, props, { children: _jsx(Path, { fill: "currentColor", fillRule: "evenodd", d: "M1 8c1.815-2.435 4.28-3.94 7-3.94 2.72 0 5.185 1.505 7 3.94-1.815 2.435-4.28 3.94-7 3.94-2.72 0-5.185-1.505-7-3.94Zm1.95-.005c1.47 1.585 3.23 2.44 5.05 2.44 1.815 0 3.58-.86 5.05-2.44C11.58 6.41 9.815 5.555 8 5.555s-3.58.86-5.05 2.44ZM8 10a2 2 0 1 1-.001-3.
|
|
14
|
+
export var Show = function (props) { return (_jsx(Svg, __assign({ viewBox: "0 0 16 16" }, props, { children: _jsx(Path, { fill: "currentColor", fillRule: "evenodd", d: "M1 8c1.815-2.435 4.28-3.94 7-3.94 2.72 0 5.185 1.505 7 3.94-1.815 2.435-4.28 3.94-7 3.94-2.72 0-5.185-1.505-7-3.94Zm1.95-.005c1.47 1.585 3.23 2.44 5.05 2.44 1.815 0 3.58-.86 5.05-2.44C11.58 6.41 9.815 5.555 8 5.555s-3.58.86-5.05 2.44ZM8 10a2 2 0 1 1-.001-3.999A2 2 0 0 1 8 10Zm0-1.5c.275 0 .5-.225.5-.5s-.225-.5-.5-.5-.5.225-.5.5.225.5.5.5Z", clipRule: "evenodd" }) }))); };
|
|
@@ -11,4 +11,4 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
import Svg, { Path } from 'react-native-svg';
|
|
14
|
-
export var StarFilled = function (props) { return (_jsx(Svg, __assign({ viewBox: "0 0 16 16" }, props, { children: _jsx(Path, { fill: "currentColor", d: "M8 1.
|
|
14
|
+
export var StarFilled = function (props) { return (_jsx(Svg, __assign({ viewBox: "0 0 16 16" }, props, { children: _jsx(Path, { fill: "currentColor", d: "M8 1.948v.001l2.089 3.722 4.41 1.255-3.118 2.72.799 4.38L8 12.085l-4.18 1.943.798-4.38L1.5 6.924l4.41-1.253L8 1.95h-.001H8Z" }) }))); };
|
|
@@ -11,4 +11,4 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
import Svg, { Path } from 'react-native-svg';
|
|
14
|
-
export var Trees = function (props) { return (_jsx(Svg, __assign({ viewBox: "0 0 16 16" }, props, { children: _jsx(Path, { fill: "currentColor", fillRule: "evenodd", d: "M9.755 2.7a3.093 3.093 0 0 1 3.043 2.542 3.093 3.093 0 0 1-2.047 5.785V14.5h-1.5v-2.877a3.093 3.093 0 0 1-2.565-5.456A3.093 3.093 0 0 1 9.755 2.7Zm1.218 6.836A1.595 1.595 0 0 0 13 8.003c0-.604-.336-1.149-.877-1.422l-.669-.337-.133-.737A1.589 1.589 0 0 0 9.755 4.2a1.595 1.595 0 0 0-1.58 1.787l.1.838-.664.522A1.585 1.585 0 0 0 7 8.599a1.595 1.595 0 0 0 2.25 1.453V7.89l1.5-.402v1.984l.223.063Zm-6.264.422.218-.18a3.71 3.71 0 0 0 1.472 1.945v2.788h-1.5v-2.96a2.543 2.543 0 0 1-2.424-4.397 2.543 2.543 0 0 1 3.662-2.582 3.689 3.689 0 0 0-.225 1.19l-.003.196-.135.
|
|
14
|
+
export var Trees = function (props) { return (_jsx(Svg, __assign({ viewBox: "0 0 16 16" }, props, { children: _jsx(Path, { fill: "currentColor", fillRule: "evenodd", d: "M9.755 2.7a3.093 3.093 0 0 1 3.043 2.542 3.093 3.093 0 0 1-2.047 5.785V14.5h-1.5v-2.877a3.093 3.093 0 0 1-2.565-5.456A3.093 3.093 0 0 1 9.755 2.7Zm1.218 6.836A1.595 1.595 0 0 0 13 8.003c0-.604-.336-1.149-.877-1.422l-.669-.337-.133-.737A1.589 1.589 0 0 0 9.755 4.2a1.595 1.595 0 0 0-1.58 1.787l.1.838-.664.522A1.585 1.585 0 0 0 7 8.599a1.595 1.595 0 0 0 2.25 1.453V7.89l1.5-.402v1.984l.223.063Zm-6.264.422.218-.18a3.71 3.71 0 0 0 1.472 1.945v2.788h-1.5v-2.96a2.543 2.543 0 0 1-2.424-4.397 2.543 2.543 0 0 1 3.662-2.582 3.689 3.689 0 0 0-.225 1.19l-.003.196-.135.14a.922.922 0 0 0-.011.012l-.011.012a1.043 1.043 0 0 0-1.788.851l.101.838-.664.521a1.045 1.045 0 1 0 1.308 1.626Z", clipRule: "evenodd" }) }))); };
|
|
@@ -11,4 +11,4 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
import Svg, { Path } from 'react-native-svg';
|
|
14
|
-
export var User = function (props) { return (_jsx(Svg, __assign({ viewBox: "0 0 16 16" }, props, { children: _jsx(Path, { fill: "currentColor", fillRule: "evenodd", d: "M11.255 4.756a3.255 3.255 0 1 1-6.51 0 3.255 3.255 0 0 1 6.51 0Zm-1.5 0C9.755 3.786 8.968 3 8 3c-.968 0-1.755.
|
|
14
|
+
export var User = function (props) { return (_jsx(Svg, __assign({ viewBox: "0 0 16 16" }, props, { children: _jsx(Path, { fill: "currentColor", fillRule: "evenodd", d: "M11.255 4.756a3.255 3.255 0 1 1-6.51 0 3.255 3.255 0 0 1 6.51 0Zm-1.5 0C9.755 3.786 8.968 3 8 3c-.968 0-1.755.788-1.755 1.755 0 .968.787 1.756 1.755 1.756.968 0 1.755-.788 1.755-1.756ZM14.5 9.979v2.619l-1.5.401v-1.865L8 9.813l-5 1.321V13h9.999l.402 1.5H1.5V9.979L8 8.262l6.5 1.717Z", clipRule: "evenodd" }) }))); };
|
|
@@ -11,4 +11,4 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
import Svg, { Path } from 'react-native-svg';
|
|
14
|
-
export var UserFilled = function (props) { return (_jsx(Svg, __assign({ viewBox: "0 0
|
|
14
|
+
export var UserFilled = function (props) { return (_jsx(Svg, __assign({ viewBox: "0 0 16 16" }, props, { children: _jsx(Path, { fill: "currentColor", fillRule: "evenodd", d: "M11.255 4.756a3.255 3.255 0 1 1-6.51 0 3.255 3.255 0 0 1 6.51 0ZM14.5 14.5V9.979L8 8.262 1.5 9.979V14.5h13Zm0 0L12.999 13H3h10v-.001l1.5 1.501Z", clipRule: "evenodd" }) }))); };
|
|
@@ -7,32 +7,31 @@ export * from './ArrowRight';
|
|
|
7
7
|
export * from './ArrowUp';
|
|
8
8
|
export * from './Award';
|
|
9
9
|
export * from './Battery';
|
|
10
|
-
export * from './Cal';
|
|
11
10
|
export * from './CalBook';
|
|
12
|
-
export * from './
|
|
13
|
-
export * from './
|
|
14
|
-
export * from './
|
|
15
|
-
export * from './
|
|
16
|
-
export * from './
|
|
11
|
+
export * from './Cal';
|
|
12
|
+
export * from './CaretArrowDown';
|
|
13
|
+
export * from './CaretArrowLeft';
|
|
14
|
+
export * from './CaretArrowRight';
|
|
15
|
+
export * from './CaretArrowUp';
|
|
17
16
|
export * from './ChartFilled';
|
|
18
|
-
export * from './
|
|
17
|
+
export * from './Chart';
|
|
19
18
|
export * from './CheckCircle';
|
|
19
|
+
export * from './Check';
|
|
20
20
|
export * from './ChevronDown';
|
|
21
|
-
export * from './ChevronLeft';
|
|
22
|
-
export * from './ChevronLeftSmall';
|
|
23
21
|
export * from './ChevronLeftSmallFirst';
|
|
24
|
-
export * from './
|
|
25
|
-
export * from './
|
|
22
|
+
export * from './ChevronLeftSmall';
|
|
23
|
+
export * from './ChevronLeft';
|
|
26
24
|
export * from './ChevronRightSmallLast';
|
|
25
|
+
export * from './ChevronRightSmall';
|
|
26
|
+
export * from './ChevronRight';
|
|
27
27
|
export * from './ChevronUp';
|
|
28
|
-
export * from './Circle';
|
|
29
28
|
export * from './CloseCircle';
|
|
30
29
|
export * from './Cross';
|
|
31
30
|
export * from './Doc';
|
|
32
31
|
export * from './Dollar';
|
|
33
32
|
export * from './Download';
|
|
34
|
-
export * from './Eco';
|
|
35
33
|
export * from './EcoHome';
|
|
34
|
+
export * from './Eco';
|
|
36
35
|
export * from './Edit';
|
|
37
36
|
export * from './ElectricCar';
|
|
38
37
|
export * from './ElectricHome';
|
|
@@ -42,25 +41,25 @@ export * from './Equals';
|
|
|
42
41
|
export * from './Euro';
|
|
43
42
|
export * from './Gas';
|
|
44
43
|
export * from './GlobeAddress';
|
|
45
|
-
export * from './Help';
|
|
46
44
|
export * from './HelpFilled';
|
|
45
|
+
export * from './Help';
|
|
47
46
|
export * from './Hide';
|
|
48
|
-
export * from './Home';
|
|
49
47
|
export * from './HomeFilled';
|
|
48
|
+
export * from './Home';
|
|
50
49
|
export * from './HydroPower';
|
|
51
50
|
export * from './Info';
|
|
52
51
|
export * from './Link';
|
|
53
52
|
export * from './Logo';
|
|
54
|
-
export * from './Mail';
|
|
55
53
|
export * from './MailOpen';
|
|
54
|
+
export * from './Mail';
|
|
56
55
|
export * from './Menu';
|
|
57
|
-
export * from './Message';
|
|
58
56
|
export * from './MessageFilled';
|
|
57
|
+
export * from './Message';
|
|
59
58
|
export * from './Minus';
|
|
60
59
|
export * from './Mobile';
|
|
61
60
|
export * from './NewWindow';
|
|
62
|
-
export * from './PaymentCard';
|
|
63
61
|
export * from './PaymentCardFilled';
|
|
62
|
+
export * from './PaymentCard';
|
|
64
63
|
export * from './Phone';
|
|
65
64
|
export * from './Plus';
|
|
66
65
|
export * from './Pound';
|
|
@@ -71,16 +70,15 @@ export * from './Show';
|
|
|
71
70
|
export * from './SmartHome';
|
|
72
71
|
export * from './SmartMeter';
|
|
73
72
|
export * from './Solar';
|
|
74
|
-
export * from './Star';
|
|
75
73
|
export * from './StarFilled';
|
|
74
|
+
export * from './Star';
|
|
76
75
|
export * from './Sun';
|
|
77
76
|
export * from './Torch';
|
|
78
77
|
export * from './Trees';
|
|
79
78
|
export * from './Tune';
|
|
80
|
-
export * from './User';
|
|
81
79
|
export * from './UserFilled';
|
|
80
|
+
export * from './User';
|
|
82
81
|
export * from './Wallet';
|
|
83
|
-
export * from './WalletFilled';
|
|
84
82
|
export * from './WarmHome';
|
|
85
83
|
export * from './Warning';
|
|
86
84
|
export * from './WebAddress';
|