@atlaskit/primitives 13.0.0 → 13.1.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.
- package/CHANGELOG.md +8 -0
- package/anchor/package.json +3 -1
- package/box/package.json +3 -1
- package/compiled/package.json +3 -1
- package/dist/cjs/compiled/components/anchor.js +1 -1
- package/dist/cjs/compiled/components/pressable.js +1 -1
- package/dist/cjs/components/anchor.js +1 -1
- package/dist/cjs/components/pressable.js +1 -1
- package/dist/es2019/compiled/components/anchor.js +1 -1
- package/dist/es2019/compiled/components/pressable.js +1 -1
- package/dist/es2019/components/anchor.js +1 -1
- package/dist/es2019/components/pressable.js +1 -1
- package/dist/esm/compiled/components/anchor.js +1 -1
- package/dist/esm/compiled/components/pressable.js +1 -1
- package/dist/esm/components/anchor.js +1 -1
- package/dist/esm/components/pressable.js +1 -1
- package/inline/package.json +3 -1
- package/package.json +5 -3
- package/pressable/package.json +3 -1
- package/responsive/package.json +3 -1
- package/stack/package.json +3 -1
- package/text/package.json +3 -1
- package/.eslintrc.js +0 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/primitives
|
|
2
2
|
|
|
3
|
+
## 13.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#161694](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/161694)
|
|
8
|
+
[`22f69cdefebd9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/22f69cdefebd9) -
|
|
9
|
+
Add compiled.css sideEffect to @atlaskit/primitives to hint and fix bundlers to load these styles
|
|
10
|
+
|
|
3
11
|
## 13.0.0
|
|
4
12
|
|
|
5
13
|
### Major Changes
|
package/anchor/package.json
CHANGED
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
"main": "../dist/cjs/components/anchor.js",
|
|
4
4
|
"module": "../dist/esm/components/anchor.js",
|
|
5
5
|
"module:es2019": "../dist/es2019/components/anchor.js",
|
|
6
|
-
"sideEffects":
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
7
9
|
"types": "../dist/types/components/anchor.d.ts",
|
|
8
10
|
"typesVersions": {
|
|
9
11
|
">=4.5 <5.4": {
|
package/box/package.json
CHANGED
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
"main": "../dist/cjs/components/box.js",
|
|
4
4
|
"module": "../dist/esm/components/box.js",
|
|
5
5
|
"module:es2019": "../dist/es2019/components/box.js",
|
|
6
|
-
"sideEffects":
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
7
9
|
"types": "../dist/types/components/box.d.ts",
|
|
8
10
|
"typesVersions": {
|
|
9
11
|
">=4.5 <5.4": {
|
package/compiled/package.json
CHANGED
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
"main": "../dist/cjs/compiled/index.js",
|
|
4
4
|
"module": "../dist/esm/compiled/index.js",
|
|
5
5
|
"module:es2019": "../dist/es2019/compiled/index.js",
|
|
6
|
-
"sideEffects":
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
7
9
|
"types": "../dist/types/compiled/index.d.ts",
|
|
8
10
|
"typesVersions": {
|
|
9
11
|
">=4.5 <5.4": {
|
|
@@ -69,7 +69,7 @@ var AnchorNoRef = function AnchorNoRef(_ref, ref) {
|
|
|
69
69
|
action: 'clicked',
|
|
70
70
|
componentName: componentName || 'Anchor',
|
|
71
71
|
packageName: "@atlaskit/primitives",
|
|
72
|
-
packageVersion: "13.
|
|
72
|
+
packageVersion: "13.1.0",
|
|
73
73
|
analyticsData: analyticsContext,
|
|
74
74
|
actionSubject: 'link'
|
|
75
75
|
});
|
|
@@ -59,7 +59,7 @@ var Pressable = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
59
59
|
action: 'clicked',
|
|
60
60
|
componentName: componentName || 'Pressable',
|
|
61
61
|
packageName: "@atlaskit/primitives",
|
|
62
|
-
packageVersion: "13.
|
|
62
|
+
packageVersion: "13.1.0",
|
|
63
63
|
analyticsData: analyticsContext,
|
|
64
64
|
actionSubject: 'button'
|
|
65
65
|
});
|
|
@@ -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.
|
|
103
|
+
packageVersion: "13.1.0",
|
|
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.
|
|
98
|
+
packageVersion: "13.1.0",
|
|
99
99
|
analyticsData: analyticsContext,
|
|
100
100
|
actionSubject: 'button'
|
|
101
101
|
});
|
|
@@ -45,7 +45,7 @@ const Pressable = /*#__PURE__*/forwardRef(({
|
|
|
45
45
|
action: 'clicked',
|
|
46
46
|
componentName: componentName || 'Pressable',
|
|
47
47
|
packageName: "@atlaskit/primitives",
|
|
48
|
-
packageVersion: "13.
|
|
48
|
+
packageVersion: "13.1.0",
|
|
49
49
|
analyticsData: analyticsContext,
|
|
50
50
|
actionSubject: 'button'
|
|
51
51
|
});
|
|
@@ -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.
|
|
88
|
+
packageVersion: "13.1.0",
|
|
89
89
|
analyticsData: analyticsContext,
|
|
90
90
|
actionSubject: 'button'
|
|
91
91
|
});
|
|
@@ -59,7 +59,7 @@ var AnchorNoRef = function AnchorNoRef(_ref, ref) {
|
|
|
59
59
|
action: 'clicked',
|
|
60
60
|
componentName: componentName || 'Anchor',
|
|
61
61
|
packageName: "@atlaskit/primitives",
|
|
62
|
-
packageVersion: "13.
|
|
62
|
+
packageVersion: "13.1.0",
|
|
63
63
|
analyticsData: analyticsContext,
|
|
64
64
|
actionSubject: 'link'
|
|
65
65
|
});
|
|
@@ -49,7 +49,7 @@ var Pressable = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
49
49
|
action: 'clicked',
|
|
50
50
|
componentName: componentName || 'Pressable',
|
|
51
51
|
packageName: "@atlaskit/primitives",
|
|
52
|
-
packageVersion: "13.
|
|
52
|
+
packageVersion: "13.1.0",
|
|
53
53
|
analyticsData: analyticsContext,
|
|
54
54
|
actionSubject: 'button'
|
|
55
55
|
});
|
|
@@ -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.
|
|
97
|
+
packageVersion: "13.1.0",
|
|
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.
|
|
92
|
+
packageVersion: "13.1.0",
|
|
93
93
|
analyticsData: analyticsContext,
|
|
94
94
|
actionSubject: 'button'
|
|
95
95
|
});
|
package/inline/package.json
CHANGED
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
"main": "../dist/cjs/components/inline.js",
|
|
4
4
|
"module": "../dist/esm/components/inline.js",
|
|
5
5
|
"module:es2019": "../dist/es2019/components/inline.js",
|
|
6
|
-
"sideEffects":
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
7
9
|
"types": "../dist/types/components/inline.d.ts",
|
|
8
10
|
"typesVersions": {
|
|
9
11
|
">=4.5 <5.4": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/primitives",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.1.0",
|
|
4
4
|
"description": "Primitives are token-backed low-level building blocks.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -12,7 +12,9 @@
|
|
|
12
12
|
"module": "dist/esm/index.js",
|
|
13
13
|
"module:es2019": "dist/es2019/index.js",
|
|
14
14
|
"types": "dist/types/index.d.ts",
|
|
15
|
-
"sideEffects":
|
|
15
|
+
"sideEffects": [
|
|
16
|
+
"**/*.compiled.css"
|
|
17
|
+
],
|
|
16
18
|
"atlaskit:src": "src/index.tsx",
|
|
17
19
|
"atlassian": {
|
|
18
20
|
"team": "Design System Team",
|
|
@@ -117,7 +119,7 @@
|
|
|
117
119
|
"@atlaskit/css": "^0.6.0",
|
|
118
120
|
"@atlaskit/ds-lib": "^3.1.0",
|
|
119
121
|
"@atlaskit/interaction-context": "^2.1.0",
|
|
120
|
-
"@atlaskit/tokens": "^2.
|
|
122
|
+
"@atlaskit/tokens": "^2.2.0",
|
|
121
123
|
"@atlaskit/visually-hidden": "^1.5.0",
|
|
122
124
|
"@babel/runtime": "^7.0.0",
|
|
123
125
|
"@compiled/react": "^0.18.1",
|
package/pressable/package.json
CHANGED
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
"main": "../dist/cjs/components/pressable.js",
|
|
4
4
|
"module": "../dist/esm/components/pressable.js",
|
|
5
5
|
"module:es2019": "../dist/es2019/components/pressable.js",
|
|
6
|
-
"sideEffects":
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
7
9
|
"types": "../dist/types/components/pressable.d.ts",
|
|
8
10
|
"typesVersions": {
|
|
9
11
|
">=4.5 <5.4": {
|
package/responsive/package.json
CHANGED
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
"main": "../dist/cjs/responsive/index.js",
|
|
4
4
|
"module": "../dist/esm/responsive/index.js",
|
|
5
5
|
"module:es2019": "../dist/es2019/responsive/index.js",
|
|
6
|
-
"sideEffects":
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
7
9
|
"types": "../dist/types/responsive/index.d.ts",
|
|
8
10
|
"typesVersions": {
|
|
9
11
|
">=4.5 <5.4": {
|
package/stack/package.json
CHANGED
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
"main": "../dist/cjs/components/stack.js",
|
|
4
4
|
"module": "../dist/esm/components/stack.js",
|
|
5
5
|
"module:es2019": "../dist/es2019/components/stack.js",
|
|
6
|
-
"sideEffects":
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
7
9
|
"types": "../dist/types/components/stack.d.ts",
|
|
8
10
|
"typesVersions": {
|
|
9
11
|
">=4.5 <5.4": {
|
package/text/package.json
CHANGED
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
"main": "../dist/cjs/components/text.js",
|
|
4
4
|
"module": "../dist/esm/components/text.js",
|
|
5
5
|
"module:es2019": "../dist/es2019/components/text.js",
|
|
6
|
-
"sideEffects":
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
7
9
|
"types": "../dist/types/components/text.d.ts",
|
|
8
10
|
"typesVersions": {
|
|
9
11
|
">=4.5 <5.4": {
|
package/.eslintrc.js
DELETED