@atlaskit/primitives 13.3.4 → 13.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.
Files changed (48) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/constellation/xcss/usage.mdx +8 -0
  3. package/dist/cjs/compiled/components/anchor.js +4 -4
  4. package/dist/cjs/compiled/components/bleed.js +1 -1
  5. package/dist/cjs/compiled/components/box.js +2 -2
  6. package/dist/cjs/compiled/components/flex.js +1 -1
  7. package/dist/cjs/compiled/components/focusable.js +1 -1
  8. package/dist/cjs/compiled/components/grid.js +1 -1
  9. package/dist/cjs/compiled/components/inline.js +2 -2
  10. package/dist/cjs/compiled/components/pressable.js +3 -3
  11. package/dist/cjs/compiled/components/stack.js +1 -1
  12. package/dist/cjs/compiled/components/text.js +2 -2
  13. package/dist/cjs/compiled/responsive/hide.js +1 -1
  14. package/dist/cjs/compiled/responsive/show.js +1 -1
  15. package/dist/cjs/components/anchor.js +1 -1
  16. package/dist/cjs/components/pressable.js +1 -1
  17. package/dist/cjs/components/text.js +1 -1
  18. package/dist/es2019/compiled/components/anchor.js +4 -4
  19. package/dist/es2019/compiled/components/bleed.js +1 -1
  20. package/dist/es2019/compiled/components/box.js +2 -2
  21. package/dist/es2019/compiled/components/flex.js +1 -1
  22. package/dist/es2019/compiled/components/focusable.js +1 -1
  23. package/dist/es2019/compiled/components/grid.js +1 -1
  24. package/dist/es2019/compiled/components/inline.js +2 -2
  25. package/dist/es2019/compiled/components/pressable.js +3 -3
  26. package/dist/es2019/compiled/components/stack.js +1 -1
  27. package/dist/es2019/compiled/components/text.js +2 -2
  28. package/dist/es2019/compiled/responsive/hide.js +1 -1
  29. package/dist/es2019/compiled/responsive/show.js +1 -1
  30. package/dist/es2019/components/anchor.js +1 -1
  31. package/dist/es2019/components/pressable.js +1 -1
  32. package/dist/es2019/components/text.js +1 -1
  33. package/dist/esm/compiled/components/anchor.js +4 -4
  34. package/dist/esm/compiled/components/bleed.js +1 -1
  35. package/dist/esm/compiled/components/box.js +2 -2
  36. package/dist/esm/compiled/components/flex.js +1 -1
  37. package/dist/esm/compiled/components/focusable.js +1 -1
  38. package/dist/esm/compiled/components/grid.js +1 -1
  39. package/dist/esm/compiled/components/inline.js +2 -2
  40. package/dist/esm/compiled/components/pressable.js +3 -3
  41. package/dist/esm/compiled/components/stack.js +1 -1
  42. package/dist/esm/compiled/components/text.js +2 -2
  43. package/dist/esm/compiled/responsive/hide.js +1 -1
  44. package/dist/esm/compiled/responsive/show.js +1 -1
  45. package/dist/esm/components/anchor.js +1 -1
  46. package/dist/esm/components/pressable.js +1 -1
  47. package/dist/esm/components/text.js +1 -1
  48. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @atlaskit/primitives
2
2
 
3
+ ## 13.3.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [#99467](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99467)
8
+ [`118e81bbb4659`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/118e81bbb4659) -
9
+ Internal changes to typography.
10
+
11
+ ## 13.3.5
12
+
13
+ ### Patch Changes
14
+
15
+ - [#180173](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/180173)
16
+ [`6be28a4ed15b1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6be28a4ed15b1) -
17
+ Fixing label text for compiled/anchor to be 1:1 with primitive as part of compiled migration
18
+
3
19
  ## 13.3.4
4
20
 
5
21
  ### Patch Changes
@@ -5,6 +5,14 @@ order: 0
5
5
  ---
6
6
 
7
7
  import { MediaQueriesTable } from '@af/design-system-docs-ui';
8
+ import SectionMessage from '@atlaskit/section-message';
9
+
10
+ <SectionMessage title="Caution" appearance="warning">
11
+ <p>
12
+ We are planning on deprecating XCSS. We recommend using{' '}
13
+ <a href="/components/css">@atlaskit/css</a> instead.{' '}
14
+ </p>
15
+ </SectionMessage>
8
16
 
9
17
  XCSS is an Atlassian Design System styling API that natively integrates with Atlassian's
10
18
  [design tokens](/tokens) and [primitives](/components/primitives/overview).
@@ -1,4 +1,4 @@
1
- /* anchor.tsx generated by @compiled/babel-plugin v0.32.2 */
1
+ /* anchor.tsx generated by @compiled/babel-plugin v0.33.0 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -28,7 +28,7 @@ var _excluded = ["href", "children", "onClick", "interactionName", "componentNam
28
28
  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); }
29
29
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof3(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; }
30
30
  var styles = {
31
- root: "_vchhusvi _4bfu18uv _1hms8stv _ajmmnqa1"
31
+ root: "_4bfu18uv _1hms8stv _ajmmnqa1 _vchhusvi"
32
32
  };
33
33
  var IS_EXTERNAL_LINK_REGEX = /^(?:(http|https):\/\/)/;
34
34
  var IS_NON_HTTP_BASED = /^(((mailto|tel|sms):)|(#))/;
@@ -70,7 +70,7 @@ var AnchorNoRef = function AnchorNoRef(_ref, ref) {
70
70
  action: 'clicked',
71
71
  componentName: componentName || 'Anchor',
72
72
  packageName: "@atlaskit/primitives",
73
- packageVersion: "13.3.4",
73
+ packageVersion: "13.3.6",
74
74
  analyticsData: analyticsContext,
75
75
  actionSubject: 'link'
76
76
  });
@@ -119,7 +119,7 @@ var AnchorNoRef = function AnchorNoRef(_ref, ref) {
119
119
  "data-is-router-link": testId ? isRouterLink ? 'true' : 'false' : undefined
120
120
  }), children, target === '_blank' && (children && !ariaLabel && !ariaLabelledBy || ariaLabelledBy) && /*#__PURE__*/React.createElement(_visuallyHidden.default, {
121
121
  id: opensNewWindowLabelId
122
- }, newWindowLabel));
122
+ }, ", ".concat(newWindowLabel)));
123
123
  };
124
124
 
125
125
  // Workarounds to support generic types with forwardRef
@@ -1,4 +1,4 @@
1
- /* bleed.tsx generated by @compiled/babel-plugin v0.32.2 */
1
+ /* bleed.tsx generated by @compiled/babel-plugin v0.33.0 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* box.tsx generated by @compiled/babel-plugin v0.32.2 */
1
+ /* box.tsx generated by @compiled/babel-plugin v0.33.0 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -346,7 +346,7 @@ var Box = exports.Box = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref)
346
346
  ref: ref
347
347
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- TODO: Support `xcss` in className pass-through
348
348
  ,
349
- className: (0, _runtime.ax)(["_vchhusvi _r06hglyw _19itglyw", backgroundColor && backgroundColorMap[backgroundColor], backgroundColor && isSurfaceToken(backgroundColor) && setSurfaceTokenMap[backgroundColor], paddingBlockStart && paddingBlockStartMap[paddingBlockStart], paddingBlockEnd && paddingBlockEndMap[paddingBlockEnd], paddingInlineStart && paddingInlineStartMap[paddingInlineStart], paddingInlineEnd && paddingInlineEndMap[paddingInlineEnd], xcss])
349
+ className: (0, _runtime.ax)(["_19itglyw _vchhusvi _r06hglyw", backgroundColor && backgroundColorMap[backgroundColor], backgroundColor && isSurfaceToken(backgroundColor) && setSurfaceTokenMap[backgroundColor], paddingBlockStart && paddingBlockStartMap[paddingBlockStart], paddingBlockEnd && paddingBlockEndMap[paddingBlockEnd], paddingInlineStart && paddingInlineStartMap[paddingInlineStart], paddingInlineEnd && paddingInlineEndMap[paddingInlineEnd], xcss])
350
350
  // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
351
351
  }, safeHtmlAttributes, {
352
352
  "data-testid": testId
@@ -1,4 +1,4 @@
1
- /* flex.tsx generated by @compiled/babel-plugin v0.32.2 */
1
+ /* flex.tsx generated by @compiled/babel-plugin v0.33.0 */
2
2
  "use strict";
3
3
 
4
4
  var _typeof = require("@babel/runtime/helpers/typeof");
@@ -1,4 +1,4 @@
1
- /* focusable.tsx generated by @compiled/babel-plugin v0.32.2 */
1
+ /* focusable.tsx generated by @compiled/babel-plugin v0.33.0 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* grid.tsx generated by @compiled/babel-plugin v0.32.2 */
1
+ /* grid.tsx generated by @compiled/babel-plugin v0.33.0 */
2
2
  "use strict";
3
3
 
4
4
  var _typeof = require("@babel/runtime/helpers/typeof");
@@ -1,4 +1,4 @@
1
- /* inline.tsx generated by @compiled/babel-plugin v0.32.2 */
1
+ /* inline.tsx generated by @compiled/babel-plugin v0.33.0 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -16,7 +16,7 @@ var _flex = _interopRequireDefault(require("./flex"));
16
16
  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); }
17
17
  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; }
18
18
  var styles = {
19
- separator: "_syazjjyb _1mouze3t _195g1i6y _lcxvglyw _uiztglyw",
19
+ separator: "_1mouze3t _195g1i6y _syazjjyb _lcxvglyw _uiztglyw",
20
20
  hug: "_16jlidpf",
21
21
  fill: "_1bsb1osq _16jlkb7n"
22
22
  };
@@ -1,4 +1,4 @@
1
- /* pressable.tsx generated by @compiled/babel-plugin v0.32.2 */
1
+ /* pressable.tsx generated by @compiled/babel-plugin v0.33.0 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -23,7 +23,7 @@ var _excluded = ["children", "isDisabled", "type", "onClick", "interactionName",
23
23
  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); }
24
24
  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; }
25
25
  var styles = {
26
- root: "_vchhusvi _r06hglyw _19itglyw _80omtlke",
26
+ root: "_19itglyw _vchhusvi _r06hglyw _80omtlke",
27
27
  disabled: "_80om13gf"
28
28
  };
29
29
 
@@ -60,7 +60,7 @@ var Pressable = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
60
60
  action: 'clicked',
61
61
  componentName: componentName || 'Pressable',
62
62
  packageName: "@atlaskit/primitives",
63
- packageVersion: "13.3.4",
63
+ packageVersion: "13.3.6",
64
64
  analyticsData: analyticsContext,
65
65
  actionSubject: 'button'
66
66
  });
@@ -1,4 +1,4 @@
1
- /* stack.tsx generated by @compiled/babel-plugin v0.32.2 */
1
+ /* stack.tsx generated by @compiled/babel-plugin v0.33.0 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* text.tsx generated by @compiled/babel-plugin v0.32.2 */
1
+ /* text.tsx generated by @compiled/babel-plugin v0.33.0 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -46,7 +46,7 @@ var styles = {
46
46
  'textAlign.center': "_y3gn1h6o",
47
47
  'textAlign.end': "_y3gnh9n0",
48
48
  'textAlign.start': "_y3gnv2br",
49
- truncation: "_1e0ccj1k _1reo15vq _18m915vq _sudp1e54",
49
+ truncation: "_1reo15vq _18m915vq _1e0ccj1k _sudp1e54",
50
50
  breakAll: "_1nmz9jpi"
51
51
  };
52
52
  var fontSizeMap = {
@@ -1,4 +1,4 @@
1
- /* hide.tsx generated by @compiled/babel-plugin v0.32.2 */
1
+ /* hide.tsx generated by @compiled/babel-plugin v0.33.0 */
2
2
  "use strict";
3
3
 
4
4
  var _typeof = require("@babel/runtime/helpers/typeof");
@@ -1,4 +1,4 @@
1
- /* show.tsx generated by @compiled/babel-plugin v0.32.2 */
1
+ /* show.tsx generated by @compiled/babel-plugin v0.33.0 */
2
2
  "use strict";
3
3
 
4
4
  var _typeof = require("@babel/runtime/helpers/typeof");
@@ -100,7 +100,7 @@ var AnchorNoRef = function AnchorNoRef(_ref, ref) {
100
100
  action: 'clicked',
101
101
  componentName: componentName || 'Anchor',
102
102
  packageName: "@atlaskit/primitives",
103
- packageVersion: "13.3.4",
103
+ packageVersion: "13.3.6",
104
104
  analyticsData: analyticsContext,
105
105
  actionSubject: 'link'
106
106
  });
@@ -95,7 +95,7 @@ var Pressable = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
95
95
  action: 'clicked',
96
96
  componentName: componentName || 'Pressable',
97
97
  packageName: "@atlaskit/primitives",
98
- packageVersion: "13.3.4",
98
+ packageVersion: "13.3.6",
99
99
  analyticsData: analyticsContext,
100
100
  actionSubject: 'button'
101
101
  });
@@ -28,7 +28,7 @@ var resetStyles = (0, _react2.css)({
28
28
  overflowWrap: 'anywhere'
29
29
  });
30
30
  var strongStyles = (0, _react2.css)({
31
- fontWeight: 'bold'
31
+ fontWeight: "var(--ds-font-weight-bold, 700)"
32
32
  });
33
33
  var emStyles = (0, _react2.css)({
34
34
  fontStyle: 'italic'
@@ -1,4 +1,4 @@
1
- /* anchor.tsx generated by @compiled/babel-plugin v0.32.2 */
1
+ /* anchor.tsx generated by @compiled/babel-plugin v0.33.0 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./anchor.compiled.css";
4
4
  import * as React from 'react';
@@ -14,7 +14,7 @@ import InteractionContext from '@atlaskit/interaction-context';
14
14
  import VisuallyHidden from '@atlaskit/visually-hidden';
15
15
  import Focusable from './focusable';
16
16
  const styles = {
17
- root: "_vchhusvi _4bfu18uv _1hms8stv _ajmmnqa1"
17
+ root: "_4bfu18uv _1hms8stv _ajmmnqa1 _vchhusvi"
18
18
  };
19
19
  const IS_EXTERNAL_LINK_REGEX = /^(?:(http|https):\/\/)/;
20
20
  const IS_NON_HTTP_BASED = /^(((mailto|tel|sms):)|(#))/;
@@ -55,7 +55,7 @@ const AnchorNoRef = ({
55
55
  action: 'clicked',
56
56
  componentName: componentName || 'Anchor',
57
57
  packageName: "@atlaskit/primitives",
58
- packageVersion: "13.3.4",
58
+ packageVersion: "13.3.6",
59
59
  analyticsData: analyticsContext,
60
60
  actionSubject: 'link'
61
61
  });
@@ -106,7 +106,7 @@ const AnchorNoRef = ({
106
106
  "data-is-router-link": testId ? isRouterLink ? 'true' : 'false' : undefined
107
107
  }), children, target === '_blank' && (children && !ariaLabel && !ariaLabelledBy || ariaLabelledBy) && /*#__PURE__*/React.createElement(VisuallyHidden, {
108
108
  id: opensNewWindowLabelId
109
- }, newWindowLabel));
109
+ }, `, ${newWindowLabel}`));
110
110
  };
111
111
 
112
112
  // Workarounds to support generic types with forwardRef
@@ -1,4 +1,4 @@
1
- /* bleed.tsx generated by @compiled/babel-plugin v0.32.2 */
1
+ /* bleed.tsx generated by @compiled/babel-plugin v0.33.0 */
2
2
  import "./bleed.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
@@ -1,4 +1,4 @@
1
- /* box.tsx generated by @compiled/babel-plugin v0.32.2 */
1
+ /* box.tsx generated by @compiled/babel-plugin v0.33.0 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./box.compiled.css";
4
4
  import * as React from 'react';
@@ -330,7 +330,7 @@ export const Box = /*#__PURE__*/forwardRef(({
330
330
  ref: ref
331
331
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- TODO: Support `xcss` in className pass-through
332
332
  ,
333
- className: ax(["_vchhusvi _r06hglyw _19itglyw", backgroundColor && backgroundColorMap[backgroundColor], backgroundColor && isSurfaceToken(backgroundColor) && setSurfaceTokenMap[backgroundColor], paddingBlockStart && paddingBlockStartMap[paddingBlockStart], paddingBlockEnd && paddingBlockEndMap[paddingBlockEnd], paddingInlineStart && paddingInlineStartMap[paddingInlineStart], paddingInlineEnd && paddingInlineEndMap[paddingInlineEnd], xcss])
333
+ className: ax(["_19itglyw _vchhusvi _r06hglyw", backgroundColor && backgroundColorMap[backgroundColor], backgroundColor && isSurfaceToken(backgroundColor) && setSurfaceTokenMap[backgroundColor], paddingBlockStart && paddingBlockStartMap[paddingBlockStart], paddingBlockEnd && paddingBlockEndMap[paddingBlockEnd], paddingInlineStart && paddingInlineStartMap[paddingInlineStart], paddingInlineEnd && paddingInlineEndMap[paddingInlineEnd], xcss])
334
334
  // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
335
335
  }, safeHtmlAttributes, {
336
336
  "data-testid": testId
@@ -1,4 +1,4 @@
1
- /* flex.tsx generated by @compiled/babel-plugin v0.32.2 */
1
+ /* flex.tsx generated by @compiled/babel-plugin v0.33.0 */
2
2
  import "./flex.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* focusable.tsx generated by @compiled/babel-plugin v0.32.2 */
1
+ /* focusable.tsx generated by @compiled/babel-plugin v0.33.0 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./focusable.compiled.css";
4
4
  import * as React from 'react';
@@ -1,4 +1,4 @@
1
- /* grid.tsx generated by @compiled/babel-plugin v0.32.2 */
1
+ /* grid.tsx generated by @compiled/babel-plugin v0.33.0 */
2
2
  import "./grid.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* inline.tsx generated by @compiled/babel-plugin v0.32.2 */
1
+ /* inline.tsx generated by @compiled/babel-plugin v0.33.0 */
2
2
  import "./inline.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -6,7 +6,7 @@ import { Children, forwardRef, Fragment, memo } from 'react';
6
6
  import { cx } from '@atlaskit/css';
7
7
  import Flex from './flex';
8
8
  const styles = {
9
- separator: "_syazjjyb _1mouze3t _195g1i6y _lcxvglyw _uiztglyw",
9
+ separator: "_1mouze3t _195g1i6y _syazjjyb _lcxvglyw _uiztglyw",
10
10
  hug: "_16jlidpf",
11
11
  fill: "_1bsb1osq _16jlkb7n"
12
12
  };
@@ -1,4 +1,4 @@
1
- /* pressable.tsx generated by @compiled/babel-plugin v0.32.2 */
1
+ /* pressable.tsx generated by @compiled/babel-plugin v0.33.0 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./pressable.compiled.css";
4
4
  import * as React from 'react';
@@ -10,7 +10,7 @@ import noop from '@atlaskit/ds-lib/noop';
10
10
  import InteractionContext from '@atlaskit/interaction-context';
11
11
  import Focusable from './focusable';
12
12
  const styles = {
13
- root: "_vchhusvi _r06hglyw _19itglyw _80omtlke",
13
+ root: "_19itglyw _vchhusvi _r06hglyw _80omtlke",
14
14
  disabled: "_80om13gf"
15
15
  };
16
16
 
@@ -46,7 +46,7 @@ const Pressable = /*#__PURE__*/forwardRef(({
46
46
  action: 'clicked',
47
47
  componentName: componentName || 'Pressable',
48
48
  packageName: "@atlaskit/primitives",
49
- packageVersion: "13.3.4",
49
+ packageVersion: "13.3.6",
50
50
  analyticsData: analyticsContext,
51
51
  actionSubject: 'button'
52
52
  });
@@ -1,4 +1,4 @@
1
- /* stack.tsx generated by @compiled/babel-plugin v0.32.2 */
1
+ /* stack.tsx generated by @compiled/babel-plugin v0.33.0 */
2
2
  import "./stack.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* text.tsx generated by @compiled/babel-plugin v0.32.2 */
1
+ /* text.tsx generated by @compiled/babel-plugin v0.33.0 */
2
2
  import "./text.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -36,7 +36,7 @@ const styles = {
36
36
  'textAlign.center': "_y3gn1h6o",
37
37
  'textAlign.end': "_y3gnh9n0",
38
38
  'textAlign.start': "_y3gnv2br",
39
- truncation: "_1e0ccj1k _1reo15vq _18m915vq _sudp1e54",
39
+ truncation: "_1reo15vq _18m915vq _1e0ccj1k _sudp1e54",
40
40
  breakAll: "_1nmz9jpi"
41
41
  };
42
42
  const fontSizeMap = {
@@ -1,4 +1,4 @@
1
- /* hide.tsx generated by @compiled/babel-plugin v0.32.2 */
1
+ /* hide.tsx generated by @compiled/babel-plugin v0.33.0 */
2
2
  import "./hide.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* show.tsx generated by @compiled/babel-plugin v0.32.2 */
1
+ /* show.tsx generated by @compiled/babel-plugin v0.33.0 */
2
2
  import "./show.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -90,7 +90,7 @@ const AnchorNoRef = ({
90
90
  action: 'clicked',
91
91
  componentName: componentName || 'Anchor',
92
92
  packageName: "@atlaskit/primitives",
93
- packageVersion: "13.3.4",
93
+ packageVersion: "13.3.6",
94
94
  analyticsData: analyticsContext,
95
95
  actionSubject: 'link'
96
96
  });
@@ -85,7 +85,7 @@ const Pressable = /*#__PURE__*/forwardRef(({
85
85
  action: 'clicked',
86
86
  componentName: componentName || 'Pressable',
87
87
  packageName: "@atlaskit/primitives",
88
- packageVersion: "13.3.4",
88
+ packageVersion: "13.3.6",
89
89
  analyticsData: analyticsContext,
90
90
  actionSubject: 'button'
91
91
  });
@@ -20,7 +20,7 @@ const resetStyles = css({
20
20
  overflowWrap: 'anywhere'
21
21
  });
22
22
  const strongStyles = css({
23
- fontWeight: 'bold'
23
+ fontWeight: "var(--ds-font-weight-bold, 700)"
24
24
  });
25
25
  const emStyles = css({
26
26
  fontStyle: 'italic'
@@ -1,4 +1,4 @@
1
- /* anchor.tsx generated by @compiled/babel-plugin v0.32.2 */
1
+ /* anchor.tsx generated by @compiled/babel-plugin v0.33.0 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import _typeof from "@babel/runtime/helpers/typeof";
4
4
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
@@ -18,7 +18,7 @@ import InteractionContext from '@atlaskit/interaction-context';
18
18
  import VisuallyHidden from '@atlaskit/visually-hidden';
19
19
  import Focusable from './focusable';
20
20
  var styles = {
21
- root: "_vchhusvi _4bfu18uv _1hms8stv _ajmmnqa1"
21
+ root: "_4bfu18uv _1hms8stv _ajmmnqa1 _vchhusvi"
22
22
  };
23
23
  var IS_EXTERNAL_LINK_REGEX = /^(?:(http|https):\/\/)/;
24
24
  var IS_NON_HTTP_BASED = /^(((mailto|tel|sms):)|(#))/;
@@ -60,7 +60,7 @@ var AnchorNoRef = function AnchorNoRef(_ref, ref) {
60
60
  action: 'clicked',
61
61
  componentName: componentName || 'Anchor',
62
62
  packageName: "@atlaskit/primitives",
63
- packageVersion: "13.3.4",
63
+ packageVersion: "13.3.6",
64
64
  analyticsData: analyticsContext,
65
65
  actionSubject: 'link'
66
66
  });
@@ -109,7 +109,7 @@ var AnchorNoRef = function AnchorNoRef(_ref, ref) {
109
109
  "data-is-router-link": testId ? isRouterLink ? 'true' : 'false' : undefined
110
110
  }), children, target === '_blank' && (children && !ariaLabel && !ariaLabelledBy || ariaLabelledBy) && /*#__PURE__*/React.createElement(VisuallyHidden, {
111
111
  id: opensNewWindowLabelId
112
- }, newWindowLabel));
112
+ }, ", ".concat(newWindowLabel)));
113
113
  };
114
114
 
115
115
  // Workarounds to support generic types with forwardRef
@@ -1,4 +1,4 @@
1
- /* bleed.tsx generated by @compiled/babel-plugin v0.32.2 */
1
+ /* bleed.tsx generated by @compiled/babel-plugin v0.33.0 */
2
2
  import "./bleed.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
@@ -1,4 +1,4 @@
1
- /* box.tsx generated by @compiled/babel-plugin v0.32.2 */
1
+ /* box.tsx generated by @compiled/babel-plugin v0.33.0 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
4
  var _excluded = ["as", "children", "backgroundColor", "padding", "paddingBlock", "paddingBlockStart", "paddingBlockEnd", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "style", "testId", "xcss"],
@@ -337,7 +337,7 @@ export var Box = /*#__PURE__*/forwardRef(function (_ref, ref) {
337
337
  ref: ref
338
338
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- TODO: Support `xcss` in className pass-through
339
339
  ,
340
- className: ax(["_vchhusvi _r06hglyw _19itglyw", backgroundColor && backgroundColorMap[backgroundColor], backgroundColor && isSurfaceToken(backgroundColor) && setSurfaceTokenMap[backgroundColor], paddingBlockStart && paddingBlockStartMap[paddingBlockStart], paddingBlockEnd && paddingBlockEndMap[paddingBlockEnd], paddingInlineStart && paddingInlineStartMap[paddingInlineStart], paddingInlineEnd && paddingInlineEndMap[paddingInlineEnd], xcss])
340
+ className: ax(["_19itglyw _vchhusvi _r06hglyw", backgroundColor && backgroundColorMap[backgroundColor], backgroundColor && isSurfaceToken(backgroundColor) && setSurfaceTokenMap[backgroundColor], paddingBlockStart && paddingBlockStartMap[paddingBlockStart], paddingBlockEnd && paddingBlockEndMap[paddingBlockEnd], paddingInlineStart && paddingInlineStartMap[paddingInlineStart], paddingInlineEnd && paddingInlineEndMap[paddingInlineEnd], xcss])
341
341
  // eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
342
342
  }, safeHtmlAttributes, {
343
343
  "data-testid": testId
@@ -1,4 +1,4 @@
1
- /* flex.tsx generated by @compiled/babel-plugin v0.32.2 */
1
+ /* flex.tsx generated by @compiled/babel-plugin v0.33.0 */
2
2
  import "./flex.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* focusable.tsx generated by @compiled/babel-plugin v0.32.2 */
1
+ /* focusable.tsx generated by @compiled/babel-plugin v0.33.0 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
4
4
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
@@ -1,4 +1,4 @@
1
- /* grid.tsx generated by @compiled/babel-plugin v0.32.2 */
1
+ /* grid.tsx generated by @compiled/babel-plugin v0.33.0 */
2
2
  import "./grid.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* inline.tsx generated by @compiled/babel-plugin v0.32.2 */
1
+ /* inline.tsx generated by @compiled/babel-plugin v0.33.0 */
2
2
  import "./inline.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -6,7 +6,7 @@ import { Children, forwardRef, Fragment, memo } from 'react';
6
6
  import { cx } from '@atlaskit/css';
7
7
  import Flex from './flex';
8
8
  var styles = {
9
- separator: "_syazjjyb _1mouze3t _195g1i6y _lcxvglyw _uiztglyw",
9
+ separator: "_1mouze3t _195g1i6y _syazjjyb _lcxvglyw _uiztglyw",
10
10
  hug: "_16jlidpf",
11
11
  fill: "_1bsb1osq _16jlkb7n"
12
12
  };
@@ -1,4 +1,4 @@
1
- /* pressable.tsx generated by @compiled/babel-plugin v0.32.2 */
1
+ /* pressable.tsx generated by @compiled/babel-plugin v0.33.0 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
4
  var _excluded = ["children", "isDisabled", "type", "onClick", "interactionName", "componentName", "analyticsContext", "style", "testId", "xcss"],
@@ -13,7 +13,7 @@ import noop from '@atlaskit/ds-lib/noop';
13
13
  import InteractionContext from '@atlaskit/interaction-context';
14
14
  import Focusable from './focusable';
15
15
  var styles = {
16
- root: "_vchhusvi _r06hglyw _19itglyw _80omtlke",
16
+ root: "_19itglyw _vchhusvi _r06hglyw _80omtlke",
17
17
  disabled: "_80om13gf"
18
18
  };
19
19
 
@@ -50,7 +50,7 @@ var Pressable = /*#__PURE__*/forwardRef(function (_ref, ref) {
50
50
  action: 'clicked',
51
51
  componentName: componentName || 'Pressable',
52
52
  packageName: "@atlaskit/primitives",
53
- packageVersion: "13.3.4",
53
+ packageVersion: "13.3.6",
54
54
  analyticsData: analyticsContext,
55
55
  actionSubject: 'button'
56
56
  });
@@ -1,4 +1,4 @@
1
- /* stack.tsx generated by @compiled/babel-plugin v0.32.2 */
1
+ /* stack.tsx generated by @compiled/babel-plugin v0.33.0 */
2
2
  import "./stack.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* text.tsx generated by @compiled/babel-plugin v0.32.2 */
1
+ /* text.tsx generated by @compiled/babel-plugin v0.33.0 */
2
2
  import "./text.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -36,7 +36,7 @@ var styles = {
36
36
  'textAlign.center': "_y3gn1h6o",
37
37
  'textAlign.end': "_y3gnh9n0",
38
38
  'textAlign.start': "_y3gnv2br",
39
- truncation: "_1e0ccj1k _1reo15vq _18m915vq _sudp1e54",
39
+ truncation: "_1reo15vq _18m915vq _1e0ccj1k _sudp1e54",
40
40
  breakAll: "_1nmz9jpi"
41
41
  };
42
42
  var fontSizeMap = {
@@ -1,4 +1,4 @@
1
- /* hide.tsx generated by @compiled/babel-plugin v0.32.2 */
1
+ /* hide.tsx generated by @compiled/babel-plugin v0.33.0 */
2
2
  import "./hide.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* show.tsx generated by @compiled/babel-plugin v0.32.2 */
1
+ /* show.tsx generated by @compiled/babel-plugin v0.33.0 */
2
2
  import "./show.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -94,7 +94,7 @@ var AnchorNoRef = function AnchorNoRef(_ref, ref) {
94
94
  action: 'clicked',
95
95
  componentName: componentName || 'Anchor',
96
96
  packageName: "@atlaskit/primitives",
97
- packageVersion: "13.3.4",
97
+ packageVersion: "13.3.6",
98
98
  analyticsData: analyticsContext,
99
99
  actionSubject: 'link'
100
100
  });
@@ -89,7 +89,7 @@ var Pressable = /*#__PURE__*/forwardRef(function (_ref, ref) {
89
89
  action: 'clicked',
90
90
  componentName: componentName || 'Pressable',
91
91
  packageName: "@atlaskit/primitives",
92
- packageVersion: "13.3.4",
92
+ packageVersion: "13.3.6",
93
93
  analyticsData: analyticsContext,
94
94
  actionSubject: 'button'
95
95
  });
@@ -20,7 +20,7 @@ var resetStyles = css({
20
20
  overflowWrap: 'anywhere'
21
21
  });
22
22
  var strongStyles = css({
23
- fontWeight: 'bold'
23
+ fontWeight: "var(--ds-font-weight-bold, 700)"
24
24
  });
25
25
  var emStyles = css({
26
26
  fontStyle: 'italic'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/primitives",
3
- "version": "13.3.4",
3
+ "version": "13.3.6",
4
4
  "description": "Primitives are token-backed low-level building blocks.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -128,9 +128,9 @@
128
128
  "@atlaskit/app-provider": "^1.4.0",
129
129
  "@atlaskit/css": "^0.7.0",
130
130
  "@atlaskit/ds-lib": "^3.3.0",
131
- "@atlaskit/interaction-context": "^2.2.0",
131
+ "@atlaskit/interaction-context": "^2.4.0",
132
132
  "@atlaskit/platform-feature-flags": "^0.3.0",
133
- "@atlaskit/tokens": "^2.4.0",
133
+ "@atlaskit/tokens": "^2.5.0",
134
134
  "@atlaskit/visually-hidden": "^1.5.0",
135
135
  "@babel/runtime": "^7.0.0",
136
136
  "@compiled/react": "^0.18.1",
@@ -148,7 +148,7 @@
148
148
  "@af/integration-testing": "*",
149
149
  "@af/visual-regression": "*",
150
150
  "@atlaskit/ssr": "*",
151
- "@atlaskit/toggle": "^13.4.0",
151
+ "@atlaskit/toggle": "^14.0.0",
152
152
  "@atlaskit/tooltip": "^19.0.0",
153
153
  "@atlaskit/visual-regression": "*",
154
154
  "@atlassian/codegen": "^0.1.0",