@dhis2-ui/label 8.7.0 → 8.7.2

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.
@@ -9,6 +9,8 @@ var _style = _interopRequireDefault(require("styled-jsx/style"));
9
9
 
10
10
  var _required = require("@dhis2-ui/required");
11
11
 
12
+ var _uiConstants = require("@dhis2/ui-constants");
13
+
12
14
  var _classnames = _interopRequireDefault(require("classnames"));
13
15
 
14
16
  var _propTypes = _interopRequireDefault(require("prop-types"));
@@ -17,8 +19,8 @@ var _react = _interopRequireDefault(require("react"));
17
19
 
18
20
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
19
21
 
20
- const styles = ["label.jsx-2718078600{display:block;box-sizing:border-box;font-size:14px;line-height:24px;padding:0;}", ".disabled.jsx-2718078600{cursor:not-allowed;}"];
21
- styles.__hash = "2718078600";
22
+ const styles = ["label.jsx-2904627559{display:block;box-sizing:border-box;font-size:14px;line-height:19px;color:".concat(_uiConstants.colors.grey900, ";padding:0;}"), ".disabled.jsx-2904627559{cursor:not-allowed;}"];
23
+ styles.__hash = "2904627559";
22
24
 
23
25
  const constructClassName = _ref => {
24
26
  let {
package/build/es/label.js CHANGED
@@ -1,10 +1,11 @@
1
1
  import _JSXStyle from "styled-jsx/style";
2
2
  import { Required } from '@dhis2-ui/required';
3
+ import { colors } from '@dhis2/ui-constants';
3
4
  import cx from 'classnames';
4
5
  import PropTypes from 'prop-types';
5
6
  import React from 'react';
6
- const styles = ["label.jsx-2718078600{display:block;box-sizing:border-box;font-size:14px;line-height:24px;padding:0;}", ".disabled.jsx-2718078600{cursor:not-allowed;}"];
7
- styles.__hash = "2718078600";
7
+ const styles = ["label.jsx-2904627559{display:block;box-sizing:border-box;font-size:14px;line-height:19px;color:".concat(colors.grey900, ";padding:0;}"), ".disabled.jsx-2904627559{cursor:not-allowed;}"];
8
+ styles.__hash = "2904627559";
8
9
 
9
10
  const constructClassName = _ref => {
10
11
  let {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhis2-ui/label",
3
- "version": "8.7.0",
3
+ "version": "8.7.2",
4
4
  "description": "UI Label",
5
5
  "repository": {
6
6
  "type": "git",
@@ -32,8 +32,8 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@dhis2/prop-types": "^3.1.2",
35
- "@dhis2-ui/required": "8.7.0",
36
- "@dhis2/ui-constants": "8.7.0",
35
+ "@dhis2-ui/required": "8.7.2",
36
+ "@dhis2/ui-constants": "8.7.2",
37
37
  "classnames": "^2.3.1",
38
38
  "prop-types": "^15.7.2"
39
39
  },