@atlaskit/primitives 17.0.0 → 17.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 CHANGED
@@ -1,5 +1,12 @@
1
1
  # @atlaskit/primitives
2
2
 
3
+ ## 17.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`f9c6c17de4114`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f9c6c17de4114) -
8
+ Cleaning up platform_migrate_to_native_box and removing codegen Box
9
+
3
10
  ## 17.0.0
4
11
 
5
12
  ### Major Changes
@@ -82,6 +82,12 @@ Object.defineProperty(exports, "Text", {
82
82
  return _text.default;
83
83
  }
84
84
  });
85
+ Object.defineProperty(exports, "UNSAFE_SurfaceContext", {
86
+ enumerable: true,
87
+ get: function get() {
88
+ return _surfaceProvider.SurfaceContext;
89
+ }
90
+ });
85
91
  Object.defineProperty(exports, "UNSAFE_useMediaQuery", {
86
92
  enumerable: true,
87
93
  get: function get() {
@@ -11,4 +11,4 @@ export { default as Anchor } from './components/anchor';
11
11
  export { media, UNSAFE_useMediaQuery, Show, Hide } from './responsive';
12
12
  export { default as Focusable } from './components/focusable';
13
13
  // TODO: This is still not figured out from before…
14
- export { useSurface as UNSAFE_useSurface } from '../utils/surface-provider';
14
+ export { useSurface as UNSAFE_useSurface, SurfaceContext as UNSAFE_SurfaceContext } from '../utils/surface-provider';
@@ -11,4 +11,4 @@ export { default as Anchor } from './components/anchor';
11
11
  export { media, UNSAFE_useMediaQuery, Show, Hide } from './responsive';
12
12
  export { default as Focusable } from './components/focusable';
13
13
  // TODO: This is still not figured out from before…
14
- export { useSurface as UNSAFE_useSurface } from '../utils/surface-provider';
14
+ export { useSurface as UNSAFE_useSurface, SurfaceContext as UNSAFE_SurfaceContext } from '../utils/surface-provider';
@@ -11,6 +11,6 @@ export { default as Anchor, type AnchorProps } from './components/anchor';
11
11
  export { media, type Breakpoint, type MediaQuery, UNSAFE_useMediaQuery, Show, Hide, } from './responsive';
12
12
  export { default as Focusable } from './components/focusable';
13
13
  export type { FocusableProps } from './components/focusable';
14
- export { useSurface as UNSAFE_useSurface } from '../utils/surface-provider';
14
+ export { useSurface as UNSAFE_useSurface, SurfaceContext as UNSAFE_SurfaceContext } from '../utils/surface-provider';
15
15
  export type { BackgroundColorToken as BackgroundColor } from '../utils/types';
16
16
  export type { PositiveSpaceToken as Space, TextColor } from './components/types';
@@ -11,6 +11,6 @@ export { default as Anchor, type AnchorProps } from './components/anchor';
11
11
  export { media, type Breakpoint, type MediaQuery, UNSAFE_useMediaQuery, Show, Hide, } from './responsive';
12
12
  export { default as Focusable } from './components/focusable';
13
13
  export type { FocusableProps } from './components/focusable';
14
- export { useSurface as UNSAFE_useSurface } from '../utils/surface-provider';
14
+ export { useSurface as UNSAFE_useSurface, SurfaceContext as UNSAFE_SurfaceContext } from '../utils/surface-provider';
15
15
  export type { BackgroundColorToken as BackgroundColor } from '../utils/types';
16
16
  export type { PositiveSpaceToken as Space, TextColor } from './components/types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/primitives",
3
- "version": "17.0.0",
3
+ "version": "17.1.0",
4
4
  "description": "Primitives are token-backed low-level building blocks.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -133,11 +133,11 @@
133
133
  },
134
134
  "dependencies": {
135
135
  "@atlaskit/analytics-next": "^11.1.0",
136
- "@atlaskit/app-provider": "^3.2.0",
136
+ "@atlaskit/app-provider": "^3.3.0",
137
137
  "@atlaskit/css": "^0.19.0",
138
138
  "@atlaskit/ds-lib": "^5.3.0",
139
139
  "@atlaskit/interaction-context": "^3.1.0",
140
- "@atlaskit/tokens": "^9.0.0",
140
+ "@atlaskit/tokens": "^9.1.0",
141
141
  "@atlaskit/visually-hidden": "^3.0.0",
142
142
  "@babel/runtime": "^7.0.0",
143
143
  "@compiled/react": "^0.18.6",
@@ -154,32 +154,31 @@
154
154
  "@af/formatting": "workspace:^",
155
155
  "@af/integration-testing": "workspace:^",
156
156
  "@af/visual-regression": "workspace:^",
157
- "@atlaskit/avatar": "^25.6.0",
157
+ "@atlaskit/avatar": "^25.7.0",
158
158
  "@atlaskit/button": "^23.9.0",
159
- "@atlaskit/checkbox": "^17.2.0",
159
+ "@atlaskit/checkbox": "^17.3.0",
160
160
  "@atlaskit/code": "^17.4.0",
161
161
  "@atlaskit/docs": "^11.2.0",
162
- "@atlaskit/dropdown-menu": "^16.3.0",
163
- "@atlaskit/flag": "^17.7.0",
164
- "@atlaskit/form": "^15.1.0",
162
+ "@atlaskit/dropdown-menu": "^16.4.0",
163
+ "@atlaskit/flag": "^17.8.0",
164
+ "@atlaskit/form": "^15.3.0",
165
165
  "@atlaskit/heading": "^5.2.0",
166
- "@atlaskit/icon": "^29.3.0",
166
+ "@atlaskit/icon": "^29.4.0",
167
167
  "@atlaskit/icon-object": "^7.4.0",
168
168
  "@atlaskit/image": "^3.0.0",
169
- "@atlaskit/link": "^3.2.0",
170
- "@atlaskit/logo": "^19.9.0",
171
- "@atlaskit/lozenge": "^13.2.0",
169
+ "@atlaskit/link": "^3.3.0",
170
+ "@atlaskit/logo": "^19.10.0",
171
+ "@atlaskit/lozenge": "^13.3.0",
172
172
  "@atlaskit/motion": "^5.3.0",
173
173
  "@atlaskit/range": "^9.3.0",
174
- "@atlaskit/section-message": "^8.11.0",
174
+ "@atlaskit/section-message": "^8.12.0",
175
175
  "@atlaskit/textfield": "^8.2.0",
176
176
  "@atlaskit/toggle": "^15.2.0",
177
- "@atlaskit/tooltip": "^20.11.0",
177
+ "@atlaskit/tooltip": "^20.14.0",
178
178
  "@atlassian/analytics-bridge": "^0.7.0",
179
179
  "@atlassian/codegen": "^0.1.0",
180
180
  "@atlassian/ssr-tests": "workspace:^",
181
- "@testing-library/react": "^13.4.0",
182
- "@testing-library/react-hooks": "^8.0.1",
181
+ "@testing-library/react": "^16.3.0",
183
182
  "@testing-library/user-event": "^14.4.3",
184
183
  "csstype": "^3.1.0",
185
184
  "jscodeshift": "^17.0.0",