@commercetools-uikit/field-label 15.15.0 → 16.0.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.
@@ -1,2 +1,3 @@
1
1
  export * from "./declarations/src/index";
2
2
  export { default } from "./declarations/src/index";
3
+ //# sourceMappingURL=commercetools-uikit-field-label.cjs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"commercetools-uikit-field-label.cjs.d.ts","sourceRoot":"","sources":["./declarations/src/index.d.ts"],"names":[],"mappings":"AAAA"}
@@ -39,7 +39,7 @@ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringif
39
39
  The implementation is tightly coupled to how we currently wrap
40
40
  those props, so if we change that, we will need to adjust this as well.
41
41
  */
42
- var LabelRowWrapper = /*#__PURE__*/_styled__default["default"]("div", process.env.NODE_ENV === "production" ? {
42
+ const LabelRowWrapper = /*#__PURE__*/_styled__default["default"]("div", process.env.NODE_ENV === "production" ? {
43
43
  target: "erir8oc0"
44
44
  } : {
45
45
  target: "erir8oc0",
@@ -56,9 +56,9 @@ var _ref = process.env.NODE_ENV === "production" ? {
56
56
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
57
57
  };
58
58
 
59
- var FieldLabel = function FieldLabel(props) {
60
- var _useTheme = designSystem.useTheme(),
61
- theme = _useTheme.theme;
59
+ const FieldLabel = props => {
60
+ const _useTheme = designSystem.useTheme(),
61
+ theme = _useTheme.theme;
62
62
 
63
63
  if (props.hintIcon) {
64
64
  process.env.NODE_ENV !== "production" ? utils.warning(props.hintIcon.props.size === undefined, 'ui-kit/FieldLabel: setting `hintIcon` size is not supported.') : void 0;
@@ -137,7 +137,7 @@ FieldLabel.defaultProps = {
137
137
  var FieldLabel$1 = FieldLabel;
138
138
 
139
139
  // NOTE: This string will be replaced on build time with the package version.
140
- var version = "15.15.0";
140
+ var version = "16.0.0";
141
141
 
142
142
  exports["default"] = FieldLabel$1;
143
143
  exports.version = version;
@@ -36,7 +36,7 @@ var Label__default = /*#__PURE__*/_interopDefault(Label);
36
36
  The implementation is tightly coupled to how we currently wrap
37
37
  those props, so if we change that, we will need to adjust this as well.
38
38
  */
39
- var LabelRowWrapper = /*#__PURE__*/_styled__default["default"]("div", {
39
+ const LabelRowWrapper = /*#__PURE__*/_styled__default["default"]("div", {
40
40
  target: "erir8oc0"
41
41
  } )("& [data-key='field-label-hint-wrapper'],& [data-key='field-label-description-wrapper']{margin-top:", designSystem.designTokens.spacing10, "!important;}& [data-key='field-label-hint-wrapper']:empty,& [data-key='field-label-description-wrapper']:empty{margin-top:0!important;}" + ("" ));
42
42
 
@@ -45,9 +45,9 @@ var _ref = {
45
45
  styles: "display:flex;justify-content:flex-end"
46
46
  } ;
47
47
 
48
- var FieldLabel = function FieldLabel(props) {
49
- var _useTheme = designSystem.useTheme(),
50
- theme = _useTheme.theme;
48
+ const FieldLabel = props => {
49
+ const _useTheme = designSystem.useTheme(),
50
+ theme = _useTheme.theme;
51
51
 
52
52
  if (props.hintIcon) ;
53
53
 
@@ -111,7 +111,7 @@ FieldLabel.defaultProps = {
111
111
  var FieldLabel$1 = FieldLabel;
112
112
 
113
113
  // NOTE: This string will be replaced on build time with the package version.
114
- var version = "15.15.0";
114
+ var version = "16.0.0";
115
115
 
116
116
  exports["default"] = FieldLabel$1;
117
117
  exports.version = version;
@@ -25,7 +25,7 @@ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringif
25
25
  The implementation is tightly coupled to how we currently wrap
26
26
  those props, so if we change that, we will need to adjust this as well.
27
27
  */
28
- var LabelRowWrapper = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
28
+ const LabelRowWrapper = /*#__PURE__*/_styled("div", process.env.NODE_ENV === "production" ? {
29
29
  target: "erir8oc0"
30
30
  } : {
31
31
  target: "erir8oc0",
@@ -42,9 +42,9 @@ var _ref = process.env.NODE_ENV === "production" ? {
42
42
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
43
43
  };
44
44
 
45
- var FieldLabel = function FieldLabel(props) {
46
- var _useTheme = useTheme(),
47
- theme = _useTheme.theme;
45
+ const FieldLabel = props => {
46
+ const _useTheme = useTheme(),
47
+ theme = _useTheme.theme;
48
48
 
49
49
  if (props.hintIcon) {
50
50
  process.env.NODE_ENV !== "production" ? warning(props.hintIcon.props.size === undefined, 'ui-kit/FieldLabel: setting `hintIcon` size is not supported.') : void 0;
@@ -123,6 +123,6 @@ FieldLabel.defaultProps = {
123
123
  var FieldLabel$1 = FieldLabel;
124
124
 
125
125
  // NOTE: This string will be replaced on build time with the package version.
126
- var version = "15.15.0";
126
+ var version = "16.0.0";
127
127
 
128
128
  export { FieldLabel$1 as default, version };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@commercetools-uikit/field-label",
3
3
  "description": "The FieldLabel component represents the label for a field in a form.",
4
- "version": "15.15.0",
4
+ "version": "16.0.0",
5
5
  "bugs": "https://github.com/commercetools/ui-kit/issues",
6
6
  "repository": {
7
7
  "type": "git",
@@ -21,19 +21,19 @@
21
21
  "dependencies": {
22
22
  "@babel/runtime": "^7.20.13",
23
23
  "@babel/runtime-corejs3": "^7.20.13",
24
- "@commercetools-uikit/constraints": "15.15.0",
25
- "@commercetools-uikit/design-system": "15.15.0",
26
- "@commercetools-uikit/icon-button": "15.15.0",
27
- "@commercetools-uikit/icons": "15.15.0",
28
- "@commercetools-uikit/label": "15.15.0",
29
- "@commercetools-uikit/spacings-inline": "15.15.0",
30
- "@commercetools-uikit/spacings-stack": "15.15.0",
31
- "@commercetools-uikit/text": "15.15.0",
32
- "@commercetools-uikit/utils": "15.15.0",
24
+ "@commercetools-uikit/constraints": "16.0.0",
25
+ "@commercetools-uikit/design-system": "16.0.0",
26
+ "@commercetools-uikit/icon-button": "16.0.0",
27
+ "@commercetools-uikit/icons": "16.0.0",
28
+ "@commercetools-uikit/label": "16.0.0",
29
+ "@commercetools-uikit/spacings-inline": "16.0.0",
30
+ "@commercetools-uikit/spacings-stack": "16.0.0",
31
+ "@commercetools-uikit/text": "16.0.0",
32
+ "@commercetools-uikit/utils": "16.0.0",
33
33
  "@emotion/react": "^11.10.5",
34
34
  "@emotion/styled": "^11.10.5",
35
35
  "prop-types": "15.8.1",
36
- "react-intl": "^5.25.1"
36
+ "react-intl": "^6.3.2"
37
37
  },
38
38
  "devDependencies": {
39
39
  "react": "17.0.2"