@atlaskit/lozenge 11.3.5 → 11.3.6

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @atlaskit/lozenge
2
2
 
3
+ ## 11.3.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [`eadbf13d8c0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eadbf13d8c0) - Updated usages of `Text`, `Box`, `Stack`, and `Inline` primitives to reflect their updated APIs. There are no visual or behaviour changes.
8
+ - Updated dependencies
9
+
3
10
  ## 11.3.5
4
11
 
5
12
  ### Patch Changes
@@ -53,7 +53,7 @@ var Lozenge = /*#__PURE__*/(0, _react.memo)(function (_ref) {
53
53
  display: "inlineFlex",
54
54
  backgroundColor: backgroundColors[appearanceStyle][appearanceType],
55
55
  borderRadius: "normal",
56
- paddingInline: "scale.050",
56
+ paddingInline: "space.050",
57
57
  position: "static",
58
58
  testId: testId,
59
59
  overflow: "hidden",
@@ -62,9 +62,9 @@ var Lozenge = /*#__PURE__*/(0, _react.memo)(function (_ref) {
62
62
  maxWidth: maxWidthIsPc ? maxWidth : '100%'
63
63
  }
64
64
  }, /*#__PURE__*/_react.default.createElement(_text.default, {
65
- fontSize: "11px",
66
- fontWeight: "700",
67
- lineHeight: "16px",
65
+ fontSize: "size.050",
66
+ fontWeight: "bold",
67
+ lineHeight: "lineHeight.100",
68
68
  textTransform: "uppercase",
69
69
  color: textColors[appearanceStyle][appearanceType],
70
70
  shouldTruncate: true,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/lozenge",
3
- "version": "11.3.5",
3
+ "version": "11.3.6",
4
4
  "sideEffects": false
5
5
  }
@@ -33,7 +33,7 @@ const Lozenge = /*#__PURE__*/memo(({
33
33
  display: "inlineFlex",
34
34
  backgroundColor: backgroundColors[appearanceStyle][appearanceType],
35
35
  borderRadius: "normal",
36
- paddingInline: "scale.050",
36
+ paddingInline: "space.050",
37
37
  position: "static",
38
38
  testId: testId,
39
39
  overflow: "hidden",
@@ -42,9 +42,9 @@ const Lozenge = /*#__PURE__*/memo(({
42
42
  maxWidth: maxWidthIsPc ? maxWidth : '100%'
43
43
  }
44
44
  }, /*#__PURE__*/React.createElement(Text, {
45
- fontSize: "11px",
46
- fontWeight: "700",
47
- lineHeight: "16px",
45
+ fontSize: "size.050",
46
+ fontWeight: "bold",
47
+ lineHeight: "lineHeight.100",
48
48
  textTransform: "uppercase",
49
49
  color: textColors[appearanceStyle][appearanceType],
50
50
  shouldTruncate: true,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/lozenge",
3
- "version": "11.3.5",
3
+ "version": "11.3.6",
4
4
  "sideEffects": false
5
5
  }
@@ -35,7 +35,7 @@ var Lozenge = /*#__PURE__*/memo(function (_ref) {
35
35
  display: "inlineFlex",
36
36
  backgroundColor: backgroundColors[appearanceStyle][appearanceType],
37
37
  borderRadius: "normal",
38
- paddingInline: "scale.050",
38
+ paddingInline: "space.050",
39
39
  position: "static",
40
40
  testId: testId,
41
41
  overflow: "hidden",
@@ -44,9 +44,9 @@ var Lozenge = /*#__PURE__*/memo(function (_ref) {
44
44
  maxWidth: maxWidthIsPc ? maxWidth : '100%'
45
45
  }
46
46
  }, /*#__PURE__*/React.createElement(Text, {
47
- fontSize: "11px",
48
- fontWeight: "700",
49
- lineHeight: "16px",
47
+ fontSize: "size.050",
48
+ fontWeight: "bold",
49
+ lineHeight: "lineHeight.100",
50
50
  textTransform: "uppercase",
51
51
  color: textColors[appearanceStyle][appearanceType],
52
52
  shouldTruncate: true,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/lozenge",
3
- "version": "11.3.5",
3
+ "version": "11.3.6",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/lozenge",
3
- "version": "11.3.5",
3
+ "version": "11.3.6",
4
4
  "description": "A lozenge is a visual indicator used to highlight an item's status for quick recognition.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -26,7 +26,7 @@
26
26
  },
27
27
  "dependencies": {
28
28
  "@atlaskit/codemod-utils": "^4.1.0",
29
- "@atlaskit/ds-explorations": "^1.6.0",
29
+ "@atlaskit/ds-explorations": "^2.0.0",
30
30
  "@atlaskit/theme": "^12.2.0",
31
31
  "@atlaskit/tokens": "^0.13.0",
32
32
  "@babel/runtime": "^7.0.0"
package/report.api.md CHANGED
@@ -8,6 +8,7 @@
8
8
  ### Table of contents
9
9
 
10
10
  - [Main Entry Types](#main-entry-types)
11
+ - [Peer Dependencies](#peer-dependencies)
11
12
 
12
13
  ### Main Entry Types
13
14
 
@@ -54,3 +55,15 @@ export type ThemeAppearance =
54
55
  ```
55
56
 
56
57
  <!--SECTION END: Main Entry Types-->
58
+
59
+ ### Peer Dependencies
60
+
61
+ <!--SECTION START: Peer Dependencies-->
62
+
63
+ ```json
64
+ {
65
+ "react": "^16.8.0"
66
+ }
67
+ ```
68
+
69
+ <!--SECTION END: Peer Dependencies-->