@atlaskit/primitives 13.3.5 → 13.3.7
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 +14 -0
- package/constellation/xcss/usage.mdx +8 -0
- package/dist/cjs/compiled/components/anchor.js +3 -3
- package/dist/cjs/compiled/components/bleed.js +1 -1
- package/dist/cjs/compiled/components/box.js +2 -2
- package/dist/cjs/compiled/components/flex.js +1 -1
- package/dist/cjs/compiled/components/focusable.js +1 -1
- package/dist/cjs/compiled/components/grid.js +1 -1
- package/dist/cjs/compiled/components/inline.js +2 -2
- package/dist/cjs/compiled/components/pressable.js +3 -3
- package/dist/cjs/compiled/components/stack.js +1 -1
- package/dist/cjs/compiled/components/text.js +2 -2
- package/dist/cjs/compiled/responsive/hide.js +1 -1
- package/dist/cjs/compiled/responsive/show.js +1 -1
- package/dist/cjs/components/anchor.js +1 -1
- package/dist/cjs/components/pressable.js +1 -1
- package/dist/cjs/components/text.js +1 -1
- package/dist/es2019/compiled/components/anchor.js +3 -3
- package/dist/es2019/compiled/components/bleed.js +1 -1
- package/dist/es2019/compiled/components/box.js +2 -2
- package/dist/es2019/compiled/components/flex.js +1 -1
- package/dist/es2019/compiled/components/focusable.js +1 -1
- package/dist/es2019/compiled/components/grid.js +1 -1
- package/dist/es2019/compiled/components/inline.js +2 -2
- package/dist/es2019/compiled/components/pressable.js +3 -3
- package/dist/es2019/compiled/components/stack.js +1 -1
- package/dist/es2019/compiled/components/text.js +2 -2
- package/dist/es2019/compiled/responsive/hide.js +1 -1
- package/dist/es2019/compiled/responsive/show.js +1 -1
- package/dist/es2019/components/anchor.js +1 -1
- package/dist/es2019/components/pressable.js +1 -1
- package/dist/es2019/components/text.js +1 -1
- package/dist/esm/compiled/components/anchor.js +3 -3
- package/dist/esm/compiled/components/bleed.js +1 -1
- package/dist/esm/compiled/components/box.js +2 -2
- package/dist/esm/compiled/components/flex.js +1 -1
- package/dist/esm/compiled/components/focusable.js +1 -1
- package/dist/esm/compiled/components/grid.js +1 -1
- package/dist/esm/compiled/components/inline.js +2 -2
- package/dist/esm/compiled/components/pressable.js +3 -3
- package/dist/esm/compiled/components/stack.js +1 -1
- package/dist/esm/compiled/components/text.js +2 -2
- package/dist/esm/compiled/responsive/hide.js +1 -1
- package/dist/esm/compiled/responsive/show.js +1 -1
- package/dist/esm/components/anchor.js +1 -1
- package/dist/esm/components/pressable.js +1 -1
- package/dist/esm/components/text.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/primitives
|
|
2
2
|
|
|
3
|
+
## 13.3.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 13.3.6
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#99467](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99467)
|
|
14
|
+
[`118e81bbb4659`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/118e81bbb4659) -
|
|
15
|
+
Internal changes to typography.
|
|
16
|
+
|
|
3
17
|
## 13.3.5
|
|
4
18
|
|
|
5
19
|
### 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.
|
|
1
|
+
/* anchor.tsx generated by @compiled/babel-plugin v0.35.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: "
|
|
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.
|
|
73
|
+
packageVersion: "13.3.7",
|
|
74
74
|
analyticsData: analyticsContext,
|
|
75
75
|
actionSubject: 'link'
|
|
76
76
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* box.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* box.tsx generated by @compiled/babel-plugin v0.35.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
|
|
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
|
-
/* inline.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* inline.tsx generated by @compiled/babel-plugin v0.35.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: "
|
|
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.
|
|
1
|
+
/* pressable.tsx generated by @compiled/babel-plugin v0.35.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
|
|
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.
|
|
63
|
+
packageVersion: "13.3.7",
|
|
64
64
|
analyticsData: analyticsContext,
|
|
65
65
|
actionSubject: 'button'
|
|
66
66
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* text.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* text.tsx generated by @compiled/babel-plugin v0.35.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: "
|
|
49
|
+
truncation: "_1reo15vq _18m915vq _1e0ccj1k _sudp1e54",
|
|
50
50
|
breakAll: "_1nmz9jpi"
|
|
51
51
|
};
|
|
52
52
|
var fontSizeMap = {
|
|
@@ -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.
|
|
103
|
+
packageVersion: "13.3.7",
|
|
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.
|
|
98
|
+
packageVersion: "13.3.7",
|
|
99
99
|
analyticsData: analyticsContext,
|
|
100
100
|
actionSubject: 'button'
|
|
101
101
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* anchor.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* anchor.tsx generated by @compiled/babel-plugin v0.35.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: "
|
|
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.
|
|
58
|
+
packageVersion: "13.3.7",
|
|
59
59
|
analyticsData: analyticsContext,
|
|
60
60
|
actionSubject: 'link'
|
|
61
61
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* box.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* box.tsx generated by @compiled/babel-plugin v0.35.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
|
|
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
|
-
/* inline.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* inline.tsx generated by @compiled/babel-plugin v0.35.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: "
|
|
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.
|
|
1
|
+
/* pressable.tsx generated by @compiled/babel-plugin v0.35.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
|
|
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.
|
|
49
|
+
packageVersion: "13.3.7",
|
|
50
50
|
analyticsData: analyticsContext,
|
|
51
51
|
actionSubject: 'button'
|
|
52
52
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* text.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* text.tsx generated by @compiled/babel-plugin v0.35.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: "
|
|
39
|
+
truncation: "_1reo15vq _18m915vq _1e0ccj1k _sudp1e54",
|
|
40
40
|
breakAll: "_1nmz9jpi"
|
|
41
41
|
};
|
|
42
42
|
const fontSizeMap = {
|
|
@@ -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.
|
|
88
|
+
packageVersion: "13.3.7",
|
|
89
89
|
analyticsData: analyticsContext,
|
|
90
90
|
actionSubject: 'button'
|
|
91
91
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* anchor.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* anchor.tsx generated by @compiled/babel-plugin v0.35.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: "
|
|
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.
|
|
63
|
+
packageVersion: "13.3.7",
|
|
64
64
|
analyticsData: analyticsContext,
|
|
65
65
|
actionSubject: 'link'
|
|
66
66
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* box.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* box.tsx generated by @compiled/babel-plugin v0.35.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
|
|
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
|
-
/* focusable.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* focusable.tsx generated by @compiled/babel-plugin v0.35.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
|
-
/* inline.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* inline.tsx generated by @compiled/babel-plugin v0.35.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: "
|
|
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.
|
|
1
|
+
/* pressable.tsx generated by @compiled/babel-plugin v0.35.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
|
|
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.
|
|
53
|
+
packageVersion: "13.3.7",
|
|
54
54
|
analyticsData: analyticsContext,
|
|
55
55
|
actionSubject: 'button'
|
|
56
56
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* text.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* text.tsx generated by @compiled/babel-plugin v0.35.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: "
|
|
39
|
+
truncation: "_1reo15vq _18m915vq _1e0ccj1k _sudp1e54",
|
|
40
40
|
breakAll: "_1nmz9jpi"
|
|
41
41
|
};
|
|
42
42
|
var fontSizeMap = {
|
|
@@ -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.
|
|
97
|
+
packageVersion: "13.3.7",
|
|
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.
|
|
92
|
+
packageVersion: "13.3.7",
|
|
93
93
|
analyticsData: analyticsContext,
|
|
94
94
|
actionSubject: 'button'
|
|
95
95
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/primitives",
|
|
3
|
-
"version": "13.3.
|
|
3
|
+
"version": "13.3.7",
|
|
4
4
|
"description": "Primitives are token-backed low-level building blocks.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -125,12 +125,12 @@
|
|
|
125
125
|
},
|
|
126
126
|
"dependencies": {
|
|
127
127
|
"@atlaskit/analytics-next": "^10.2.0",
|
|
128
|
-
"@atlaskit/app-provider": "^1.
|
|
128
|
+
"@atlaskit/app-provider": "^1.5.0",
|
|
129
129
|
"@atlaskit/css": "^0.7.0",
|
|
130
130
|
"@atlaskit/ds-lib": "^3.3.0",
|
|
131
|
-
"@atlaskit/interaction-context": "^2.
|
|
131
|
+
"@atlaskit/interaction-context": "^2.4.0",
|
|
132
132
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
133
|
-
"@atlaskit/tokens": "^
|
|
133
|
+
"@atlaskit/tokens": "^3.0.0",
|
|
134
134
|
"@atlaskit/visually-hidden": "^1.5.0",
|
|
135
135
|
"@babel/runtime": "^7.0.0",
|
|
136
136
|
"@compiled/react": "^0.18.1",
|