@atlaskit/primitives 12.2.0 → 12.2.2
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 +15 -0
- package/dist/cjs/components/anchor.js +1 -1
- package/dist/cjs/components/pressable.js +1 -1
- package/dist/cjs/index.js +6 -0
- package/dist/es2019/components/anchor.js +1 -1
- package/dist/es2019/components/pressable.js +1 -1
- package/dist/es2019/index.js +1 -1
- package/dist/esm/components/anchor.js +1 -1
- package/dist/esm/components/pressable.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/primitives
|
|
2
2
|
|
|
3
|
+
## 12.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#146405](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/146405)
|
|
8
|
+
[`a92a52978058c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a92a52978058c) -
|
|
9
|
+
Exports a temporary UNSAFE_SurfaceContext export that may be removed in a future minor version to
|
|
10
|
+
decouple Compiled migrations from Primitives
|
|
11
|
+
|
|
12
|
+
## 12.2.1
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 12.2.0
|
|
4
19
|
|
|
5
20
|
### Minor Changes
|
|
@@ -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: "12.2.
|
|
103
|
+
packageVersion: "12.2.2",
|
|
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: "12.2.
|
|
98
|
+
packageVersion: "12.2.2",
|
|
99
99
|
analyticsData: analyticsContext,
|
|
100
100
|
actionSubject: 'button'
|
|
101
101
|
});
|
package/dist/cjs/index.js
CHANGED
|
@@ -70,6 +70,12 @@ Object.defineProperty(exports, "UNSAFE_BREAKPOINTS_CONFIG", {
|
|
|
70
70
|
return _responsive.UNSAFE_BREAKPOINTS_CONFIG;
|
|
71
71
|
}
|
|
72
72
|
});
|
|
73
|
+
Object.defineProperty(exports, "UNSAFE_SurfaceContext", {
|
|
74
|
+
enumerable: true,
|
|
75
|
+
get: function get() {
|
|
76
|
+
return _surfaceProvider.SurfaceContext;
|
|
77
|
+
}
|
|
78
|
+
});
|
|
73
79
|
Object.defineProperty(exports, "UNSAFE_inverseColorMap", {
|
|
74
80
|
enumerable: true,
|
|
75
81
|
get: function get() {
|
|
@@ -85,7 +85,7 @@ const Pressable = /*#__PURE__*/forwardRef(({
|
|
|
85
85
|
action: 'clicked',
|
|
86
86
|
componentName: componentName || 'Pressable',
|
|
87
87
|
packageName: "@atlaskit/primitives",
|
|
88
|
-
packageVersion: "12.2.
|
|
88
|
+
packageVersion: "12.2.2",
|
|
89
89
|
analyticsData: analyticsContext,
|
|
90
90
|
actionSubject: 'button'
|
|
91
91
|
});
|
package/dist/es2019/index.js
CHANGED
|
@@ -13,5 +13,5 @@ export {
|
|
|
13
13
|
*/
|
|
14
14
|
default as UNSAFE_ANCHOR, default as Anchor } from './components/anchor';
|
|
15
15
|
export { media, UNSAFE_media, UNSAFE_BREAKPOINTS_CONFIG } from './responsive';
|
|
16
|
-
export { useSurface as UNSAFE_useSurface } from './components/internal/surface-provider';
|
|
16
|
+
export { useSurface as UNSAFE_useSurface, SurfaceContext as UNSAFE_SurfaceContext } from './components/internal/surface-provider';
|
|
17
17
|
export { inverseColorMap as UNSAFE_inverseColorMap } from './xcss/style-maps.partial';
|
|
@@ -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: "12.2.
|
|
97
|
+
packageVersion: "12.2.2",
|
|
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: "12.2.
|
|
92
|
+
packageVersion: "12.2.2",
|
|
93
93
|
analyticsData: analyticsContext,
|
|
94
94
|
actionSubject: 'button'
|
|
95
95
|
});
|
package/dist/esm/index.js
CHANGED
|
@@ -13,5 +13,5 @@ export {
|
|
|
13
13
|
*/
|
|
14
14
|
default as UNSAFE_ANCHOR, default as Anchor } from './components/anchor';
|
|
15
15
|
export { media, UNSAFE_media, UNSAFE_BREAKPOINTS_CONFIG } from './responsive';
|
|
16
|
-
export { useSurface as UNSAFE_useSurface } from './components/internal/surface-provider';
|
|
16
|
+
export { useSurface as UNSAFE_useSurface, SurfaceContext as UNSAFE_SurfaceContext } from './components/internal/surface-provider';
|
|
17
17
|
export { inverseColorMap as UNSAFE_inverseColorMap } from './xcss/style-maps.partial';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -29,5 +29,5 @@ export type {
|
|
|
29
29
|
AnchorProps as UNSAFE_AnchorProps, AnchorProps, } from './components/anchor';
|
|
30
30
|
export { media, UNSAFE_media, UNSAFE_BREAKPOINTS_CONFIG } from './responsive';
|
|
31
31
|
export type { Breakpoint, MediaQuery } from './responsive';
|
|
32
|
-
export { useSurface as UNSAFE_useSurface } from './components/internal/surface-provider';
|
|
32
|
+
export { useSurface as UNSAFE_useSurface, SurfaceContext as UNSAFE_SurfaceContext, } from './components/internal/surface-provider';
|
|
33
33
|
export { inverseColorMap as UNSAFE_inverseColorMap } from './xcss/style-maps.partial';
|
|
@@ -29,5 +29,5 @@ export type {
|
|
|
29
29
|
AnchorProps as UNSAFE_AnchorProps, AnchorProps, } from './components/anchor';
|
|
30
30
|
export { media, UNSAFE_media, UNSAFE_BREAKPOINTS_CONFIG } from './responsive';
|
|
31
31
|
export type { Breakpoint, MediaQuery } from './responsive';
|
|
32
|
-
export { useSurface as UNSAFE_useSurface } from './components/internal/surface-provider';
|
|
32
|
+
export { useSurface as UNSAFE_useSurface, SurfaceContext as UNSAFE_SurfaceContext, } from './components/internal/surface-provider';
|
|
33
33
|
export { inverseColorMap as UNSAFE_inverseColorMap } from './xcss/style-maps.partial';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/primitives",
|
|
3
|
-
"version": "12.2.
|
|
3
|
+
"version": "12.2.2",
|
|
4
4
|
"description": "Primitives are token-backed low-level building blocks.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
"@atlaskit/css": "^0.5.0",
|
|
118
118
|
"@atlaskit/ds-lib": "^2.6.0",
|
|
119
119
|
"@atlaskit/interaction-context": "^2.1.0",
|
|
120
|
-
"@atlaskit/tokens": "^
|
|
120
|
+
"@atlaskit/tokens": "^2.0.0",
|
|
121
121
|
"@atlaskit/visually-hidden": "^1.5.0",
|
|
122
122
|
"@babel/runtime": "^7.0.0",
|
|
123
123
|
"@emotion/react": "^11.7.1",
|