@ovotech/element-native 3.2.1-canary-8e2c261-119 → 3.2.1

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.
@@ -50,7 +50,7 @@ var StyledCheckboxInputWrapper = styled_native_1.default.View(function (_a) {
50
50
  var StyledCheckboxInput = styled_native_1.default.View(function (_a) {
51
51
  var _b = _a.theme, core = _b.core, semantic = _b.semantic, invalid = _a.invalid, checked = _a.checked;
52
52
  return "\n width: ".concat(core.space[6], ";\n height: ").concat(core.space[6], ";\n border: ").concat(core.borderWidth.small, " solid;\n margin-top: 10px;\n border-radius: ").concat(core.radius.small, ";\n border-color: ").concat(invalid
53
- ? semantic.message.error
53
+ ? semantic.error.border
54
54
  : checked
55
55
  ? core.color.blue.dark
56
56
  : semantic.border.functional, ";\n background: ").concat(checked ? core.color.blue.lightest : 'transparent', ";\n ");
@@ -37,7 +37,7 @@ var StyledErrorText = styled_native_1.default.Text(function (_a) {
37
37
  : core.fontSize.body.small;
38
38
  return (0, styled_native_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-family: ", ";\n line-height: ", ";\n font-size: ", ";\n color: ", ";\n "], ["\n font-family: ", ";\n line-height: ", ";\n font-size: ", ";\n color: ", ";\n "])), core.fontFamily.body.native, smallAndUp
39
39
  ? core.lineHeight.body.large
40
- : core.lineHeight.body.small, fontSize, semantic.message.error);
40
+ : core.lineHeight.body.small, fontSize, semantic.error.message);
41
41
  });
42
42
  var ErrorText = (0, utils_1.styledComponentWithBreakpoints)(StyledErrorText);
43
43
  exports.ErrorText = ErrorText;
@@ -44,7 +44,7 @@ var StyledCheckboxInputWrapper = styled.View(function (_a) {
44
44
  var StyledCheckboxInput = styled.View(function (_a) {
45
45
  var _b = _a.theme, core = _b.core, semantic = _b.semantic, invalid = _a.invalid, checked = _a.checked;
46
46
  return "\n width: ".concat(core.space[6], ";\n height: ").concat(core.space[6], ";\n border: ").concat(core.borderWidth.small, " solid;\n margin-top: 10px;\n border-radius: ").concat(core.radius.small, ";\n border-color: ").concat(invalid
47
- ? semantic.message.error
47
+ ? semantic.error.border
48
48
  : checked
49
49
  ? core.color.blue.dark
50
50
  : semantic.border.functional, ";\n background: ").concat(checked ? core.color.blue.lightest : 'transparent', ";\n ");
@@ -11,7 +11,7 @@ var StyledErrorText = styled.Text(function (_a) {
11
11
  : core.fontSize.body.small;
12
12
  return css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-family: ", ";\n line-height: ", ";\n font-size: ", ";\n color: ", ";\n "], ["\n font-family: ", ";\n line-height: ", ";\n font-size: ", ";\n color: ", ";\n "])), core.fontFamily.body.native, smallAndUp
13
13
  ? core.lineHeight.body.large
14
- : core.lineHeight.body.small, fontSize, semantic.message.error);
14
+ : core.lineHeight.body.small, fontSize, semantic.error.message);
15
15
  });
16
16
  var ErrorText = styledComponentWithBreakpoints(StyledErrorText);
17
17
  export { ErrorText };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ovotech/element-native",
3
- "version": "3.2.1-canary-8e2c261-119",
3
+ "version": "3.2.1",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -13,7 +13,7 @@
13
13
  "url": "@ovotech/element"
14
14
  },
15
15
  "dependencies": {
16
- "@ovotech/element-core": "^2.0.1-canary-8e2c261-119",
16
+ "@ovotech/element-core": "^2.0.1",
17
17
  "deepmerge": "^4.2.2",
18
18
  "lodash.groupby": "^4.6.0"
19
19
  },