@commercetools-uikit/label 15.2.4 → 15.3.0
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.
|
@@ -35,7 +35,7 @@ var Text__default = /*#__PURE__*/_interopDefault(Text);
|
|
|
35
35
|
|
|
36
36
|
var RequiredIndicator = function RequiredIndicator() {
|
|
37
37
|
return jsxRuntime.jsx("em", {
|
|
38
|
-
css: /*#__PURE__*/react.css("color:", designSystem.
|
|
38
|
+
css: /*#__PURE__*/react.css("color:", designSystem.designTokens.colorWarning, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:RequiredIndicator;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJlcXVpcmVkLWluZGljYXRvci50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS1kiLCJmaWxlIjoicmVxdWlyZWQtaW5kaWNhdG9yLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcbmltcG9ydCB7IGRlc2lnblRva2VucyB9IGZyb20gJ0Bjb21tZXJjZXRvb2xzLXVpa2l0L2Rlc2lnbi1zeXN0ZW0nO1xuXG5jb25zdCBSZXF1aXJlZEluZGljYXRvciA9ICgpID0+IChcbiAgPGVtXG4gICAgY3NzPXtjc3NgXG4gICAgICBjb2xvcjogJHtkZXNpZ25Ub2tlbnMuY29sb3JXYXJuaW5nfTtcbiAgICBgfVxuICA+XG4gICAgeycqJ31cbiAgPC9lbT5cbik7XG5SZXF1aXJlZEluZGljYXRvci5kaXNwbGF5TmFtZSA9ICdSZXF1aXJlZEluZGljYXRvcic7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5kaWNhdG9yO1xuIl19 */"),
|
|
39
39
|
children: '*'
|
|
40
40
|
});
|
|
41
41
|
};
|
|
@@ -77,7 +77,7 @@ Label.displayName = 'Label';
|
|
|
77
77
|
var Label$1 = Label;
|
|
78
78
|
|
|
79
79
|
// NOTE: This string will be replaced on build time with the package version.
|
|
80
|
-
var version = "15.
|
|
80
|
+
var version = "15.3.0";
|
|
81
81
|
|
|
82
82
|
exports["default"] = Label$1;
|
|
83
83
|
exports.version = version;
|
|
@@ -34,7 +34,7 @@ var Text__default = /*#__PURE__*/_interopDefault(Text);
|
|
|
34
34
|
|
|
35
35
|
var RequiredIndicator = function RequiredIndicator() {
|
|
36
36
|
return jsxRuntime.jsx("em", {
|
|
37
|
-
css: /*#__PURE__*/react.css("color:", designSystem.
|
|
37
|
+
css: /*#__PURE__*/react.css("color:", designSystem.designTokens.colorWarning, ";" + ("" ), "" ),
|
|
38
38
|
children: '*'
|
|
39
39
|
});
|
|
40
40
|
};
|
|
@@ -64,7 +64,7 @@ Label.displayName = 'Label';
|
|
|
64
64
|
var Label$1 = Label;
|
|
65
65
|
|
|
66
66
|
// NOTE: This string will be replaced on build time with the package version.
|
|
67
|
-
var version = "15.
|
|
67
|
+
var version = "15.3.0";
|
|
68
68
|
|
|
69
69
|
exports["default"] = Label$1;
|
|
70
70
|
exports.version = version;
|
|
@@ -13,12 +13,12 @@ import { FormattedMessage } from 'react-intl';
|
|
|
13
13
|
import { warning } from '@commercetools-uikit/utils';
|
|
14
14
|
import Text from '@commercetools-uikit/text';
|
|
15
15
|
import { css } from '@emotion/react';
|
|
16
|
-
import {
|
|
16
|
+
import { designTokens } from '@commercetools-uikit/design-system';
|
|
17
17
|
import { jsx, jsxs } from '@emotion/react/jsx-runtime';
|
|
18
18
|
|
|
19
19
|
var RequiredIndicator = function RequiredIndicator() {
|
|
20
20
|
return jsx("em", {
|
|
21
|
-
css: /*#__PURE__*/css("color:",
|
|
21
|
+
css: /*#__PURE__*/css("color:", designTokens.colorWarning, ";" + (process.env.NODE_ENV === "production" ? "" : ";label:RequiredIndicator;"), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJlcXVpcmVkLWluZGljYXRvci50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS1kiLCJmaWxlIjoicmVxdWlyZWQtaW5kaWNhdG9yLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcbmltcG9ydCB7IGRlc2lnblRva2VucyB9IGZyb20gJ0Bjb21tZXJjZXRvb2xzLXVpa2l0L2Rlc2lnbi1zeXN0ZW0nO1xuXG5jb25zdCBSZXF1aXJlZEluZGljYXRvciA9ICgpID0+IChcbiAgPGVtXG4gICAgY3NzPXtjc3NgXG4gICAgICBjb2xvcjogJHtkZXNpZ25Ub2tlbnMuY29sb3JXYXJuaW5nfTtcbiAgICBgfVxuICA+XG4gICAgeycqJ31cbiAgPC9lbT5cbik7XG5SZXF1aXJlZEluZGljYXRvci5kaXNwbGF5TmFtZSA9ICdSZXF1aXJlZEluZGljYXRvcic7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5kaWNhdG9yO1xuIl19 */"),
|
|
22
22
|
children: '*'
|
|
23
23
|
});
|
|
24
24
|
};
|
|
@@ -60,6 +60,6 @@ Label.displayName = 'Label';
|
|
|
60
60
|
var Label$1 = Label;
|
|
61
61
|
|
|
62
62
|
// NOTE: This string will be replaced on build time with the package version.
|
|
63
|
-
var version = "15.
|
|
63
|
+
var version = "15.3.0";
|
|
64
64
|
|
|
65
65
|
export { Label$1 as default, version };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-uikit/label",
|
|
3
3
|
"description": "The Label component represents the primitive label for a form field component.",
|
|
4
|
-
"version": "15.
|
|
4
|
+
"version": "15.3.0",
|
|
5
5
|
"bugs": "https://github.com/commercetools/ui-kit/issues",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@babel/runtime": "^7.19.0",
|
|
23
23
|
"@babel/runtime-corejs3": "^7.19.1",
|
|
24
|
-
"@commercetools-uikit/design-system": "15.
|
|
25
|
-
"@commercetools-uikit/text": "15.
|
|
26
|
-
"@commercetools-uikit/utils": "15.
|
|
24
|
+
"@commercetools-uikit/design-system": "15.3.0",
|
|
25
|
+
"@commercetools-uikit/text": "15.3.0",
|
|
26
|
+
"@commercetools-uikit/utils": "15.3.0",
|
|
27
27
|
"@emotion/react": "^11.4.0",
|
|
28
28
|
"@emotion/styled": "^11.3.0",
|
|
29
29
|
"prop-types": "15.8.1"
|