@atlaskit/lozenge 11.12.3 → 11.12.5

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,19 @@
1
1
  # @atlaskit/lozenge
2
2
 
3
+ ## 11.12.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 11.12.4
10
+
11
+ ### Patch Changes
12
+
13
+ - [#98226](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98226)
14
+ [`9c961c3cbcc7f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9c961c3cbcc7f) -
15
+ Internal changes to typography.
16
+
3
17
  ## 11.12.3
4
18
 
5
19
  ### Patch Changes
@@ -106,10 +106,12 @@ var styles = {
106
106
  }
107
107
  };
108
108
  var textStyles = (0, _react2.css)({
109
- fontFamily: 'ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
109
+ fontFamily: "var(--ds-font-family-body, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
110
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
110
111
  fontSize: '11px',
111
112
  fontStyle: 'normal',
112
113
  fontWeight: "var(--ds-font-weight-bold, 700)",
114
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
113
115
  lineHeight: '16px',
114
116
  overflow: 'hidden',
115
117
  textOverflow: 'ellipsis',
@@ -22,6 +22,7 @@
22
22
  ._bfhksm61{background-color:var(--ds-background-neutral-subtle,#00000000)}
23
23
  ._bfhkxmjf{background-color:#f9c84e}
24
24
  ._bozg1b66{padding-inline-start:var(--ds-space-050,4px)}
25
+ ._ect41sbm{font-family:var(--ds-font-family-body,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
25
26
  ._ect41vq6{font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif}
26
27
  ._k48pmoej{font-weight:var(--ds-font-weight-bold,700)}
27
28
  ._kqswpfqs{position:static}
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.32.2 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.35.0 */
2
2
  "use strict";
3
3
 
4
4
  var _typeof = require("@babel/runtime/helpers/typeof");
@@ -15,7 +15,7 @@ var _compiled = require("@atlaskit/primitives/compiled");
15
15
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
16
16
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
17
17
  var stylesOld = {
18
- container: "_1e0c116y _2rkoglpi _1kz6184x _kqswpfqs _1reo15vq _18m915vq _18zr1b66 _vchhusvi",
18
+ container: "_2rkoglpi _1reo15vq _18m915vq _18zr1b66 _1e0c116y _1kz6184x _kqswpfqs _vchhusvi",
19
19
  'text.bold.default': "_syaz15cr",
20
20
  'text.bold.inprogress': "_syaz15cr",
21
21
  'text.bold.moved': "_syazal3n",
@@ -32,7 +32,7 @@ var stylesOld = {
32
32
 
33
33
  // NOTE: This is isolated to avoid breaking the bounded `stylesOld` interface as they do not fall within the Design System.
34
34
  var stylesOldUnbounded = {
35
- text: "_ect41vq6 _1wyb1skh _zg8l4jg8 _k48pmoej _vwz47vkz _1reo15vq _18m915vq _1bto1l2s _1p1dangw _o5721q9c"
35
+ text: "_1reo15vq _18m915vq _ect41vq6 _1wyb1skh _zg8l4jg8 _k48pmoej _vwz47vkz _1bto1l2s _1p1dangw _o5721q9c"
36
36
  };
37
37
  var backgroundColorsOld = {
38
38
  bold: {
@@ -58,8 +58,8 @@ var backgroundColorsOld = {
58
58
  * these styles from the visual refresh are not in the Design System.
59
59
  */
60
60
  var stylesNew = {
61
- container: "_1e0c116y _vchhusvi _kqswpfqs _1kz6184x _2rko1l7b _1reo15vq _18m915vq _bozg1b66 _y4ti1b66",
62
- text: "_ect41vq6 _1wyb1skh _zg8l4jg8 _k48pmoej _vwz47vkz _1reo15vq _18m915vq _1bto1l2s _1p1dangw _o5721q9c",
61
+ container: "_2rko1l7b _1reo15vq _18m915vq _1e0c116y _vchhusvi _kqswpfqs _1kz6184x _bozg1b66 _y4ti1b66",
62
+ text: "_1reo15vq _18m915vq _ect41sbm _1wyb1skh _zg8l4jg8 _k48pmoej _vwz47vkz _1bto1l2s _1p1dangw _o5721q9c",
63
63
  'bg.bold.default': "_bfhk1fkg",
64
64
  'bg.bold.inprogress': "_bfhk1ymo",
65
65
  'bg.bold.moved': "_bfhkxmjf",
@@ -99,10 +99,12 @@ const styles = {
99
99
  }
100
100
  };
101
101
  const textStyles = css({
102
- fontFamily: 'ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
102
+ fontFamily: "var(--ds-font-family-body, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
103
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
103
104
  fontSize: '11px',
104
105
  fontStyle: 'normal',
105
106
  fontWeight: "var(--ds-font-weight-bold, 700)",
107
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
106
108
  lineHeight: '16px',
107
109
  overflow: 'hidden',
108
110
  textOverflow: 'ellipsis',
@@ -22,6 +22,7 @@
22
22
  ._bfhksm61{background-color:var(--ds-background-neutral-subtle,#00000000)}
23
23
  ._bfhkxmjf{background-color:#f9c84e}
24
24
  ._bozg1b66{padding-inline-start:var(--ds-space-050,4px)}
25
+ ._ect41sbm{font-family:var(--ds-font-family-body,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
25
26
  ._ect41vq6{font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif}
26
27
  ._k48pmoej{font-weight:var(--ds-font-weight-bold,700)}
27
28
  ._kqswpfqs{position:static}
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.32.2 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.35.0 */
2
2
  import "./index.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -6,7 +6,7 @@ import { memo, useMemo } from 'react';
6
6
  import { fg } from '@atlaskit/platform-feature-flags';
7
7
  import { Box } from '@atlaskit/primitives/compiled';
8
8
  const stylesOld = {
9
- container: "_1e0c116y _2rkoglpi _1kz6184x _kqswpfqs _1reo15vq _18m915vq _18zr1b66 _vchhusvi",
9
+ container: "_2rkoglpi _1reo15vq _18m915vq _18zr1b66 _1e0c116y _1kz6184x _kqswpfqs _vchhusvi",
10
10
  'text.bold.default': "_syaz15cr",
11
11
  'text.bold.inprogress': "_syaz15cr",
12
12
  'text.bold.moved': "_syazal3n",
@@ -23,7 +23,7 @@ const stylesOld = {
23
23
 
24
24
  // NOTE: This is isolated to avoid breaking the bounded `stylesOld` interface as they do not fall within the Design System.
25
25
  const stylesOldUnbounded = {
26
- text: "_ect41vq6 _1wyb1skh _zg8l4jg8 _k48pmoej _vwz47vkz _1reo15vq _18m915vq _1bto1l2s _1p1dangw _o5721q9c"
26
+ text: "_1reo15vq _18m915vq _ect41vq6 _1wyb1skh _zg8l4jg8 _k48pmoej _vwz47vkz _1bto1l2s _1p1dangw _o5721q9c"
27
27
  };
28
28
  const backgroundColorsOld = {
29
29
  bold: {
@@ -49,8 +49,8 @@ const backgroundColorsOld = {
49
49
  * these styles from the visual refresh are not in the Design System.
50
50
  */
51
51
  const stylesNew = {
52
- container: "_1e0c116y _vchhusvi _kqswpfqs _1kz6184x _2rko1l7b _1reo15vq _18m915vq _bozg1b66 _y4ti1b66",
53
- text: "_ect41vq6 _1wyb1skh _zg8l4jg8 _k48pmoej _vwz47vkz _1reo15vq _18m915vq _1bto1l2s _1p1dangw _o5721q9c",
52
+ container: "_2rko1l7b _1reo15vq _18m915vq _1e0c116y _vchhusvi _kqswpfqs _1kz6184x _bozg1b66 _y4ti1b66",
53
+ text: "_1reo15vq _18m915vq _ect41sbm _1wyb1skh _zg8l4jg8 _k48pmoej _vwz47vkz _1bto1l2s _1p1dangw _o5721q9c",
54
54
  'bg.bold.default': "_bfhk1fkg",
55
55
  'bg.bold.inprogress': "_bfhk1ymo",
56
56
  'bg.bold.moved': "_bfhkxmjf",
@@ -99,10 +99,12 @@ var styles = {
99
99
  }
100
100
  };
101
101
  var textStyles = css({
102
- fontFamily: 'ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, system-ui, "Helvetica Neue", sans-serif',
102
+ fontFamily: "var(--ds-font-family-body, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
103
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
103
104
  fontSize: '11px',
104
105
  fontStyle: 'normal',
105
106
  fontWeight: "var(--ds-font-weight-bold, 700)",
107
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
106
108
  lineHeight: '16px',
107
109
  overflow: 'hidden',
108
110
  textOverflow: 'ellipsis',
@@ -22,6 +22,7 @@
22
22
  ._bfhksm61{background-color:var(--ds-background-neutral-subtle,#00000000)}
23
23
  ._bfhkxmjf{background-color:#f9c84e}
24
24
  ._bozg1b66{padding-inline-start:var(--ds-space-050,4px)}
25
+ ._ect41sbm{font-family:var(--ds-font-family-body,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif)}
25
26
  ._ect41vq6{font-family:ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,system-ui,"Helvetica Neue",sans-serif}
26
27
  ._k48pmoej{font-weight:var(--ds-font-weight-bold,700)}
27
28
  ._kqswpfqs{position:static}
@@ -1,4 +1,4 @@
1
- /* index.tsx generated by @compiled/babel-plugin v0.32.2 */
1
+ /* index.tsx generated by @compiled/babel-plugin v0.35.0 */
2
2
  import "./index.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -6,7 +6,7 @@ import { memo, useMemo } from 'react';
6
6
  import { fg } from '@atlaskit/platform-feature-flags';
7
7
  import { Box } from '@atlaskit/primitives/compiled';
8
8
  var stylesOld = {
9
- container: "_1e0c116y _2rkoglpi _1kz6184x _kqswpfqs _1reo15vq _18m915vq _18zr1b66 _vchhusvi",
9
+ container: "_2rkoglpi _1reo15vq _18m915vq _18zr1b66 _1e0c116y _1kz6184x _kqswpfqs _vchhusvi",
10
10
  'text.bold.default': "_syaz15cr",
11
11
  'text.bold.inprogress': "_syaz15cr",
12
12
  'text.bold.moved': "_syazal3n",
@@ -23,7 +23,7 @@ var stylesOld = {
23
23
 
24
24
  // NOTE: This is isolated to avoid breaking the bounded `stylesOld` interface as they do not fall within the Design System.
25
25
  var stylesOldUnbounded = {
26
- text: "_ect41vq6 _1wyb1skh _zg8l4jg8 _k48pmoej _vwz47vkz _1reo15vq _18m915vq _1bto1l2s _1p1dangw _o5721q9c"
26
+ text: "_1reo15vq _18m915vq _ect41vq6 _1wyb1skh _zg8l4jg8 _k48pmoej _vwz47vkz _1bto1l2s _1p1dangw _o5721q9c"
27
27
  };
28
28
  var backgroundColorsOld = {
29
29
  bold: {
@@ -49,8 +49,8 @@ var backgroundColorsOld = {
49
49
  * these styles from the visual refresh are not in the Design System.
50
50
  */
51
51
  var stylesNew = {
52
- container: "_1e0c116y _vchhusvi _kqswpfqs _1kz6184x _2rko1l7b _1reo15vq _18m915vq _bozg1b66 _y4ti1b66",
53
- text: "_ect41vq6 _1wyb1skh _zg8l4jg8 _k48pmoej _vwz47vkz _1reo15vq _18m915vq _1bto1l2s _1p1dangw _o5721q9c",
52
+ container: "_2rko1l7b _1reo15vq _18m915vq _1e0c116y _vchhusvi _kqswpfqs _1kz6184x _bozg1b66 _y4ti1b66",
53
+ text: "_1reo15vq _18m915vq _ect41sbm _1wyb1skh _zg8l4jg8 _k48pmoej _vwz47vkz _1bto1l2s _1p1dangw _o5721q9c",
54
54
  'bg.bold.default': "_bfhk1fkg",
55
55
  'bg.bold.inprogress': "_bfhk1ymo",
56
56
  'bg.bold.moved': "_bfhkxmjf",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/lozenge",
3
- "version": "11.12.3",
3
+ "version": "11.12.5",
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/"
@@ -43,7 +43,7 @@
43
43
  "@atlaskit/platform-feature-flags": "^0.3.0",
44
44
  "@atlaskit/primitives": "^13.3.0",
45
45
  "@atlaskit/theme": "^14.0.0",
46
- "@atlaskit/tokens": "^2.4.0",
46
+ "@atlaskit/tokens": "^3.0.0",
47
47
  "@babel/runtime": "^7.0.0",
48
48
  "@compiled/react": "^0.18.1",
49
49
  "@emotion/react": "^11.7.1"