@ovotech/element-native 4.1.9 → 4.2.0-canary-265b0a7-290

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/dist/components/Accordion/styles.d.ts +240 -0
  2. package/dist/components/ActionCard/ActionCard.js +44 -45
  3. package/dist/components/ActionList/ActionList.js +1 -1
  4. package/dist/components/ActionList/styled.d.ts +560 -0
  5. package/dist/components/ActionList/styled.js +1 -1
  6. package/dist/components/Badge/Badge.d.ts +80 -0
  7. package/dist/components/CurrencyField/CurrencyField.d.ts +2 -2
  8. package/dist/components/CurrencyField/CurrencyField.js +1 -1
  9. package/dist/components/CurrencyInput/CurrencyInput.d.ts +2 -2
  10. package/dist/components/DataTable/styles.d.ts +1072 -32
  11. package/dist/components/DescriptionList/styled.d.ts +80 -0
  12. package/dist/components/Display0/Display0.d.ts +5 -0
  13. package/dist/components/Display0/Display0.js +73 -0
  14. package/dist/components/Display0/index.d.ts +1 -0
  15. package/dist/components/Display0/index.js +5 -0
  16. package/dist/components/Display1/Display1.d.ts +5 -0
  17. package/dist/components/Display1/Display1.js +73 -0
  18. package/dist/components/Display1/index.d.ts +1 -0
  19. package/dist/components/Display1/index.js +5 -0
  20. package/dist/components/Display2/Display2.d.ts +5 -0
  21. package/dist/components/Display2/Display2.js +73 -0
  22. package/dist/components/Display2/index.d.ts +1 -0
  23. package/dist/components/Display2/index.js +5 -0
  24. package/dist/components/Display3/Display3.d.ts +5 -0
  25. package/dist/components/Display3/Display3.js +73 -0
  26. package/dist/components/Display3/index.d.ts +1 -0
  27. package/dist/components/Display3/index.js +5 -0
  28. package/dist/components/Em/Em.d.ts +80 -0
  29. package/dist/components/EmailField/EmailField.d.ts +2 -2
  30. package/dist/components/EmailField/EmailField.js +1 -1
  31. package/dist/components/EmailInput/EmailInput.d.ts +2 -2
  32. package/dist/components/ErrorText/ErrorText.d.ts +80 -0
  33. package/dist/components/Grid/Col.d.ts +80 -0
  34. package/dist/components/Grid/Row.d.ts +80 -0
  35. package/dist/components/HintText/HintText.d.ts +80 -0
  36. package/dist/components/Input/Input.d.ts +2 -2
  37. package/dist/components/LabelText/LabelText.d.ts +80 -0
  38. package/dist/components/LineThrough/LineThrough.d.ts +80 -0
  39. package/dist/components/List/styled.d.ts +320 -0
  40. package/dist/components/Margin/Margin.d.ts +80 -0
  41. package/dist/components/NavHeader/NavHeader.styles.d.ts +744 -24
  42. package/dist/components/Notification/Notification.d.ts +160 -0
  43. package/dist/components/NumberField/NumberField.d.ts +2 -2
  44. package/dist/components/NumberInput/NumberInput.d.ts +2 -2
  45. package/dist/components/PasswordField/PasswordField.d.ts +2 -2
  46. package/dist/components/PasswordInput/PasswordInput.d.ts +2 -2
  47. package/dist/components/PasswordInput/PasswordInput.styled.d.ts +80 -0
  48. package/dist/components/PhoneField/PhoneField.d.ts +2 -2
  49. package/dist/components/PhoneInput/PhoneInput.d.ts +2 -2
  50. package/dist/components/SelectField/Select.d.ts +80 -0
  51. package/dist/components/SkeletonHeading/SkeletonHeading.js +1 -1
  52. package/dist/components/Small/Small.d.ts +80 -0
  53. package/dist/components/Strong/Strong.d.ts +80 -0
  54. package/dist/components/SubLabelText/SubLabelText.d.ts +80 -0
  55. package/dist/components/TextField/TextField.d.ts +2 -2
  56. package/dist/components/TextInput/TextInput.d.ts +2 -2
  57. package/dist/components/TextareaField/TextareaField.d.ts +2 -2
  58. package/dist/components/TextareaInput/TextareaInput.d.ts +2 -2
  59. package/dist/components/Toggle/styles.d.ts +320 -0
  60. package/dist/components/index.d.ts +4 -0
  61. package/dist/components/index.js +4 -0
  62. package/dist/esm/components/ActionCard/ActionCard.js +44 -45
  63. package/dist/esm/components/ActionList/ActionList.js +1 -1
  64. package/dist/esm/components/ActionList/styled.js +1 -1
  65. package/dist/esm/components/CurrencyField/CurrencyField.js +1 -1
  66. package/dist/esm/components/Display0/Display0.js +46 -0
  67. package/dist/esm/components/Display0/index.js +1 -0
  68. package/dist/esm/components/Display1/Display1.js +46 -0
  69. package/dist/esm/components/Display1/index.js +1 -0
  70. package/dist/esm/components/Display2/Display2.js +46 -0
  71. package/dist/esm/components/Display2/index.js +1 -0
  72. package/dist/esm/components/Display3/Display3.js +46 -0
  73. package/dist/esm/components/Display3/index.js +1 -0
  74. package/dist/esm/components/EmailField/EmailField.js +1 -1
  75. package/dist/esm/components/SkeletonHeading/SkeletonHeading.js +1 -1
  76. package/dist/esm/components/index.js +4 -0
  77. package/dist/providers/types.d.ts +1 -1
  78. package/dist/styled.native.d.ts +480 -0
  79. package/package.json +3 -3
@@ -44,7 +44,7 @@ var ActionList = function (_a) {
44
44
  };
45
45
  var ActionWrapper = forwardRef(function (_a, ref) {
46
46
  var children = _a.children, accessibilityRole = _a.accessibilityRole, _b = _a.activeOpacity, activeOpacity = _b === void 0 ? 0.75 : _b, fullWidth = _a.fullWidth, _c = _a.hasBorder, hasBorder = _c === void 0 ? false : _c, _d = _a.inverted, inverted = _d === void 0 ? false : _d, _e = _a.inline, inline = _e === void 0 ? false : _e, inList = _a.inList, onPress = _a.onPress, testID = _a.testID, rest = __rest(_a, ["children", "accessibilityRole", "activeOpacity", "fullWidth", "hasBorder", "inverted", "inline", "inList", "onPress", "testID"]);
47
- return (_jsx(StyledActionWrapper, __assign({ ref: ref, hasBorder: hasBorder, inverted: inverted, testID: testID }, rest, { children: _jsx(TouchableOpacity, { hitSlop: inline ? 24 : null, activeOpacity: activeOpacity, accessible: true, accessibilityRole: accessibilityRole, onPress: onPress, children: _jsx(StyledActionInner, { fullWidth: fullWidth, inList: inList, inline: inline, children: children }) }) })));
47
+ return (_jsx(StyledActionWrapper, __assign({ ref: ref, hasBorder: hasBorder, inverted: inverted, testID: testID }, rest, { children: _jsx(TouchableOpacity, { hitSlop: inline ? 14 : null, activeOpacity: activeOpacity, accessible: true, accessibilityRole: accessibilityRole, onPress: onPress, children: _jsx(StyledActionInner, { fullWidth: fullWidth, inList: inList, inline: inline, children: children }) }) })));
48
48
  });
49
49
  var Action = forwardRef(function (_a, ref) {
50
50
  var _b = _a.accessibilityRole, accessibilityRole = _b === void 0 ? 'link' : _b, children = _a.children, _c = _a.fullWidth, fullWidth = _c === void 0 ? false : _c, _d = _a.inverted, inverted = _d === void 0 ? false : _d, _e = _a.inline, inline = _e === void 0 ? false : _e, onPress = _a.onPress, testID = _a.testID, iconLeft = _a.iconLeft, iconRight = _a.iconRight, rest = __rest(_a, ["accessibilityRole", "children", "fullWidth", "inverted", "inline", "onPress", "testID", "iconLeft", "iconRight"]);
@@ -31,7 +31,7 @@ export var StyledActionText = styled.Text(function (_a) {
31
31
  export var StyledActionNodeWrapper = styled.View(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n display: flex;\n flex: 1;\n flex-direction: row;\n"], ["\n display: flex;\n flex: 1;\n flex-direction: row;\n"])));
32
32
  export var StyledRightIcon = styled(Icon)(function (_a) {
33
33
  var _b = _a.theme, core = _b.core, semantic = _b.semantic, inverted = _a.inverted;
34
- return css(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n color: ", ";\n margin-left: ", ";\n "], ["\n color: ", ";\n margin-left: ", ";\n "])), inverted ? semantic.inverted.message.base : semantic.message.base, numToPx(core.space[1]));
34
+ return css(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n color: ", ";\n margin-left: ", ";\n margin-top: 2px; /* compensation for the line-height of the text */\n "], ["\n color: ", ";\n margin-left: ", ";\n margin-top: 2px; /* compensation for the line-height of the text */\n "])), inverted ? semantic.inverted.message.base : semantic.message.base, numToPx(core.space[1]));
35
35
  });
36
36
  export var StyledLeftIcon = styled(Icon)(function (_a) {
37
37
  var _b = _a.theme, core = _b.core, semantic = _b.semantic, inverted = _a.inverted;
@@ -22,8 +22,8 @@ var __rest = (this && this.__rest) || function (s, e) {
22
22
  };
23
23
  import { jsx as _jsx } from "react/jsx-runtime";
24
24
  import { forwardRef } from 'react';
25
- import { Field } from '../Field';
26
25
  import { CurrencyInput } from '../CurrencyInput';
26
+ import { Field } from '../Field';
27
27
  export var CurrencyField = forwardRef(function (_a, ref) {
28
28
  var rest = __rest(_a, []);
29
29
  return (_jsx(Field, __assign({ affixWidth: 40 }, rest, { ref: ref, children: _jsx(CurrencyInput, {}) })));
@@ -0,0 +1,46 @@
1
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
+ return cooked;
4
+ };
5
+ var __assign = (this && this.__assign) || function () {
6
+ __assign = Object.assign || function(t) {
7
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
8
+ s = arguments[i];
9
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
10
+ t[p] = s[p];
11
+ }
12
+ return t;
13
+ };
14
+ return __assign.apply(this, arguments);
15
+ };
16
+ var __rest = (this && this.__rest) || function (s, e) {
17
+ var t = {};
18
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
19
+ t[p] = s[p];
20
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
21
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
22
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
23
+ t[p[i]] = s[p[i]];
24
+ }
25
+ return t;
26
+ };
27
+ import { jsx as _jsx } from "react/jsx-runtime";
28
+ import { pxToNumber, numToPx } from '@ovotech/element-core';
29
+ import { useBreakpoint } from '../../hooks';
30
+ import styled, { css } from '../../styled.native';
31
+ var calculateLetterSpacing = function (fontSize, letterSpacing) {
32
+ return numToPx(pxToNumber(fontSize) * letterSpacing);
33
+ };
34
+ var StyledDisplay0 = styled.Text(function (_a) {
35
+ var _b = _a.theme, core = _b.core, semantic = _b.semantic, component = _b.component, smallAndUp = _a.smallAndUp, inverted = _a.inverted;
36
+ var fontSize = component.display0.fontSize[smallAndUp ? 'large' : 'small'];
37
+ return css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n letter-spacing: ", ";\n color: ", ";\n "], ["\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n letter-spacing: ", ";\n color: ", ";\n "])), component.display0.fontFamily, numToPx(fontSize), numToPx(component.display0.lineHeight[smallAndUp ? 'large' : 'small']), calculateLetterSpacing(String(fontSize), core.letterSpacing.extraCompressed), inverted
38
+ ? semantic.inverted.message.link
39
+ : semantic.message.branded);
40
+ });
41
+ export var Display0 = function (_a) {
42
+ var _b = _a.accessibilityRole, accessibilityRole = _b === void 0 ? 'header' : _b, rest = __rest(_a, ["accessibilityRole"]);
43
+ var breakpoints = useBreakpoint();
44
+ return (_jsx(StyledDisplay0, __assign({ accessible: true, accessibilityRole: accessibilityRole }, breakpoints, rest)));
45
+ };
46
+ var templateObject_1;
@@ -0,0 +1 @@
1
+ export { Display0 } from './Display0';
@@ -0,0 +1,46 @@
1
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
+ return cooked;
4
+ };
5
+ var __assign = (this && this.__assign) || function () {
6
+ __assign = Object.assign || function(t) {
7
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
8
+ s = arguments[i];
9
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
10
+ t[p] = s[p];
11
+ }
12
+ return t;
13
+ };
14
+ return __assign.apply(this, arguments);
15
+ };
16
+ var __rest = (this && this.__rest) || function (s, e) {
17
+ var t = {};
18
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
19
+ t[p] = s[p];
20
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
21
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
22
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
23
+ t[p[i]] = s[p[i]];
24
+ }
25
+ return t;
26
+ };
27
+ import { jsx as _jsx } from "react/jsx-runtime";
28
+ import { pxToNumber, numToPx } from '@ovotech/element-core';
29
+ import { useBreakpoint } from '../../hooks';
30
+ import styled, { css } from '../../styled.native';
31
+ var calculateLetterSpacing = function (fontSize, letterSpacing) {
32
+ return numToPx(pxToNumber(fontSize) * letterSpacing);
33
+ };
34
+ var StyledDisplay1 = styled.Text(function (_a) {
35
+ var _b = _a.theme, core = _b.core, semantic = _b.semantic, component = _b.component, smallAndUp = _a.smallAndUp, inverted = _a.inverted;
36
+ var fontSize = component.display1.fontSize[smallAndUp ? 'large' : 'small'];
37
+ return css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n letter-spacing: ", ";\n color: ", ";\n "], ["\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n letter-spacing: ", ";\n color: ", ";\n "])), component.display1.fontFamily, numToPx(fontSize), numToPx(component.display1.lineHeight[smallAndUp ? 'large' : 'small']), calculateLetterSpacing(String(fontSize), core.letterSpacing.extraCompressed), inverted
38
+ ? semantic.inverted.message.link
39
+ : semantic.message.branded);
40
+ });
41
+ export var Display1 = function (_a) {
42
+ var _b = _a.accessibilityRole, accessibilityRole = _b === void 0 ? 'header' : _b, rest = __rest(_a, ["accessibilityRole"]);
43
+ var breakpoints = useBreakpoint();
44
+ return (_jsx(StyledDisplay1, __assign({ accessible: true, accessibilityRole: accessibilityRole }, breakpoints, rest)));
45
+ };
46
+ var templateObject_1;
@@ -0,0 +1 @@
1
+ export { Display1 } from './Display1';
@@ -0,0 +1,46 @@
1
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
+ return cooked;
4
+ };
5
+ var __assign = (this && this.__assign) || function () {
6
+ __assign = Object.assign || function(t) {
7
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
8
+ s = arguments[i];
9
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
10
+ t[p] = s[p];
11
+ }
12
+ return t;
13
+ };
14
+ return __assign.apply(this, arguments);
15
+ };
16
+ var __rest = (this && this.__rest) || function (s, e) {
17
+ var t = {};
18
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
19
+ t[p] = s[p];
20
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
21
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
22
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
23
+ t[p[i]] = s[p[i]];
24
+ }
25
+ return t;
26
+ };
27
+ import { jsx as _jsx } from "react/jsx-runtime";
28
+ import { pxToNumber, numToPx } from '@ovotech/element-core';
29
+ import { useBreakpoint } from '../../hooks';
30
+ import styled, { css } from '../../styled.native';
31
+ var calculateLetterSpacing = function (fontSize, letterSpacing) {
32
+ return numToPx(pxToNumber(fontSize) * letterSpacing);
33
+ };
34
+ var StyledDisplay2 = styled.Text(function (_a) {
35
+ var _b = _a.theme, core = _b.core, semantic = _b.semantic, component = _b.component, smallAndUp = _a.smallAndUp, inverted = _a.inverted;
36
+ var fontSize = component.display2.fontSize[smallAndUp ? 'large' : 'small'];
37
+ return css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n letter-spacing: ", ";\n color: ", ";\n "], ["\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n letter-spacing: ", ";\n color: ", ";\n "])), component.display2.fontFamily, numToPx(fontSize), numToPx(component.display2.lineHeight[smallAndUp ? 'large' : 'small']), calculateLetterSpacing(String(fontSize), core.letterSpacing.extraCompressed), inverted
38
+ ? semantic.inverted.message.link
39
+ : semantic.message.branded);
40
+ });
41
+ export var Display2 = function (_a) {
42
+ var _b = _a.accessibilityRole, accessibilityRole = _b === void 0 ? 'header' : _b, rest = __rest(_a, ["accessibilityRole"]);
43
+ var breakpoints = useBreakpoint();
44
+ return (_jsx(StyledDisplay2, __assign({ accessible: true, accessibilityRole: accessibilityRole }, breakpoints, rest)));
45
+ };
46
+ var templateObject_1;
@@ -0,0 +1 @@
1
+ export { Display2 } from './Display2';
@@ -0,0 +1,46 @@
1
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
2
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
3
+ return cooked;
4
+ };
5
+ var __assign = (this && this.__assign) || function () {
6
+ __assign = Object.assign || function(t) {
7
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
8
+ s = arguments[i];
9
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
10
+ t[p] = s[p];
11
+ }
12
+ return t;
13
+ };
14
+ return __assign.apply(this, arguments);
15
+ };
16
+ var __rest = (this && this.__rest) || function (s, e) {
17
+ var t = {};
18
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
19
+ t[p] = s[p];
20
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
21
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
22
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
23
+ t[p[i]] = s[p[i]];
24
+ }
25
+ return t;
26
+ };
27
+ import { jsx as _jsx } from "react/jsx-runtime";
28
+ import { pxToNumber, numToPx } from '@ovotech/element-core';
29
+ import { useBreakpoint } from '../../hooks';
30
+ import styled, { css } from '../../styled.native';
31
+ var calculateLetterSpacing = function (fontSize, letterSpacing) {
32
+ return numToPx(pxToNumber(fontSize) * letterSpacing);
33
+ };
34
+ var StyledDisplay3 = styled.Text(function (_a) {
35
+ var _b = _a.theme, core = _b.core, semantic = _b.semantic, component = _b.component, smallAndUp = _a.smallAndUp, inverted = _a.inverted;
36
+ var fontSize = component.display3.fontSize[smallAndUp ? 'large' : 'small'];
37
+ return css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n letter-spacing: ", ";\n color: ", ";\n "], ["\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n letter-spacing: ", ";\n color: ", ";\n "])), component.display3.fontFamily, numToPx(fontSize), numToPx(component.display3.lineHeight[smallAndUp ? 'large' : 'small']), calculateLetterSpacing(String(fontSize), core.letterSpacing.extraCompressed), inverted
38
+ ? semantic.inverted.message.link
39
+ : semantic.message.branded);
40
+ });
41
+ export var Display3 = function (_a) {
42
+ var _b = _a.accessibilityRole, accessibilityRole = _b === void 0 ? 'header' : _b, rest = __rest(_a, ["accessibilityRole"]);
43
+ var breakpoints = useBreakpoint();
44
+ return (_jsx(StyledDisplay3, __assign({ accessible: true, accessibilityRole: accessibilityRole }, breakpoints, rest)));
45
+ };
46
+ var templateObject_1;
@@ -0,0 +1 @@
1
+ export { Display3 } from './Display3';
@@ -22,8 +22,8 @@ var __rest = (this && this.__rest) || function (s, e) {
22
22
  };
23
23
  import { jsx as _jsx } from "react/jsx-runtime";
24
24
  import { forwardRef } from 'react';
25
- import { Field } from '../Field';
26
25
  import { EmailInput } from '../EmailInput';
26
+ import { Field } from '../Field';
27
27
  export var EmailField = forwardRef(function (_a, ref) {
28
28
  var rest = __rest(_a, []);
29
29
  return (_jsx(Field, __assign({}, rest, { ref: ref, children: _jsx(EmailInput, {}) })));
@@ -22,8 +22,8 @@ var __rest = (this && this.__rest) || function (s, e) {
22
22
  };
23
23
  import { jsx as _jsx } from "react/jsx-runtime";
24
24
  import styled from '../../styled.native';
25
- import { SkeletonAnimation } from '../SkeletonAnimation';
26
25
  import { Heading3 } from '../Heading3';
26
+ import { SkeletonAnimation } from '../SkeletonAnimation';
27
27
  var StyledSkeletonHeading = styled.View(function (_a) {
28
28
  var core = _a.theme.core, size = _a.size;
29
29
  return "\n background-color: ".concat(core.color.neutral.light, ";\n width: ").concat(size, ";\n ");
@@ -12,6 +12,10 @@ export * from './DataTable';
12
12
  export * from './DateField';
13
13
  export * from './DescriptionList';
14
14
  export * from './Disclosure';
15
+ export * from './Display0';
16
+ export * from './Display1';
17
+ export * from './Display2';
18
+ export * from './Display3';
15
19
  export * from './Divider';
16
20
  export * from './Em';
17
21
  export * from './EmailField';
@@ -1,5 +1,5 @@
1
1
  import { FunctionComponent } from 'react';
2
2
  import { SvgProps } from 'react-native-svg';
3
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
- export type IconNameExtended = IconName | string;
4
+ export type IconNameExtended = IconName | (string & {});
5
5
  export type IconsType = Record<string, FunctionComponent<SvgProps>>;