@atlaskit/page 12.6.2 → 12.7.1

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,21 @@
1
1
  # @atlaskit/page
2
2
 
3
+ ## 12.7.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#114324](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/114324)
8
+ [`991ad9cd7e777`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/991ad9cd7e777) -
9
+ Update dependencies and remove unused exports.
10
+
11
+ ## 12.7.0
12
+
13
+ ### Minor Changes
14
+
15
+ - [#109060](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109060)
16
+ [`4660ec858a305`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4660ec858a305) -
17
+ Update `React` from v16 to v18
18
+
3
19
  ## 12.6.2
4
20
 
5
21
  ### Patch Changes
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.varGridSpacing = exports.varColumnsNum = exports.varColumnSpan = exports.spacingMapping = exports.defaultSpacing = exports.defaultMedium = exports.defaultLayout = exports.defaultGridSize = exports.defaultGridColumns = exports.defaultGridColumnWidth = exports.defaultBannerHeight = void 0;
7
- var defaultGridSize = exports.defaultGridSize = 8;
6
+ exports.varGridSpacing = exports.varColumnsNum = exports.varColumnSpan = exports.spacingMapping = exports.defaultSpacing = exports.defaultMedium = exports.defaultLayout = exports.defaultGridColumns = exports.defaultGridColumnWidth = exports.defaultBannerHeight = void 0;
7
+ var defaultGridSize = 8;
8
8
  var defaultGridColumns = exports.defaultGridColumns = 12;
9
9
  var defaultGridColumnWidth = exports.defaultGridColumnWidth = defaultGridSize * 10;
10
10
  var spacingMapping = exports.spacingMapping = {
@@ -1,4 +1,4 @@
1
- export const defaultGridSize = 8;
1
+ const defaultGridSize = 8;
2
2
  export const defaultGridColumns = 12;
3
3
  export const defaultGridColumnWidth = defaultGridSize * 10;
4
4
  export const spacingMapping = {
@@ -1,4 +1,4 @@
1
- export var defaultGridSize = 8;
1
+ var defaultGridSize = 8;
2
2
  export var defaultGridColumns = 12;
3
3
  export var defaultGridColumnWidth = defaultGridSize * 10;
4
4
  export var spacingMapping = {
@@ -1,4 +1,3 @@
1
- export declare const defaultGridSize = 8;
2
1
  export declare const defaultGridColumns = 12;
3
2
  export declare const defaultGridColumnWidth: number;
4
3
  export declare const spacingMapping: {
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { type GridSpacing } from './types';
3
- export type GridContextProps = {
3
+ type GridContextProps = {
4
4
  isRoot: boolean;
5
5
  isNested: boolean;
6
6
  spacing: GridSpacing;
@@ -15,3 +15,4 @@ export type GridContextProps = {
15
15
  * @internal
16
16
  */
17
17
  export declare const GridContext: import("react").Context<GridContextProps>;
18
+ export {};
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import type { GridProps } from './types';
3
3
  /**
4
4
  * __Grid__
@@ -7,5 +7,5 @@ import type { GridProps } from './types';
7
7
  *
8
8
  * - [Examples](https://atlaskit.atlassian.com/packages/design-system/page)
9
9
  */
10
- declare const GridWrapper: ({ spacing: spacingProp, columns: columnsProp, layout, testId, children, theme, }: GridProps) => JSX.Element;
10
+ declare const GridWrapper: ({ spacing: spacingProp, columns: columnsProp, layout, testId, children, theme, }: GridProps) => React.JSX.Element;
11
11
  export default GridWrapper;
@@ -1,4 +1,3 @@
1
- export declare const defaultGridSize = 8;
2
1
  export declare const defaultGridColumns = 12;
3
2
  export declare const defaultGridColumnWidth: number;
4
3
  export declare const spacingMapping: {
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { type GridSpacing } from './types';
3
- export type GridContextProps = {
3
+ type GridContextProps = {
4
4
  isRoot: boolean;
5
5
  isNested: boolean;
6
6
  spacing: GridSpacing;
@@ -15,3 +15,4 @@ export type GridContextProps = {
15
15
  * @internal
16
16
  */
17
17
  export declare const GridContext: import("react").Context<GridContextProps>;
18
+ export {};
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import type { GridProps } from './types';
3
3
  /**
4
4
  * __Grid__
@@ -7,5 +7,5 @@ import type { GridProps } from './types';
7
7
  *
8
8
  * - [Examples](https://atlaskit.atlassian.com/packages/design-system/page)
9
9
  */
10
- declare const GridWrapper: ({ spacing: spacingProp, columns: columnsProp, layout, testId, children, theme, }: GridProps) => JSX.Element;
10
+ declare const GridWrapper: ({ spacing: spacingProp, columns: columnsProp, layout, testId, children, theme, }: GridProps) => React.JSX.Element;
11
11
  export default GridWrapper;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/page",
3
- "version": "12.6.2",
3
+ "version": "12.7.1",
4
4
  "description": "A page layout organizes sections on a page using a grid and grid columns.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -60,12 +60,19 @@
60
60
  "devDependencies": {
61
61
  "@af/accessibility-testing": "*",
62
62
  "@af/integration-testing": "*",
63
- "@atlaskit/ds-lib": "^3.3.0",
63
+ "@atlaskit/banner": "^12.7.2",
64
+ "@atlaskit/code": "^15.7.1",
65
+ "@atlaskit/docs": "*",
66
+ "@atlaskit/ds-lib": "^3.5.0",
67
+ "@atlaskit/icon": "^23.9.0",
68
+ "@atlaskit/link": "^2.1.2",
69
+ "@atlaskit/primitives": "^13.5.0",
70
+ "@atlaskit/section-message": "*",
64
71
  "@atlaskit/ssr": "*",
72
+ "@atlaskit/tokens": "^3.3.1",
65
73
  "@atlaskit/visual-regression": "*",
66
- "@testing-library/react": "^12.1.5",
67
- "react-dom": "^16.8.0",
68
- "react-lorem-component": "^0.13.0",
74
+ "@testing-library/react": "^13.4.0",
75
+ "react-dom": "^18.2.0",
69
76
  "typescript": "~5.4.2"
70
77
  },
71
78
  "keywords": [