@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 +16 -0
- package/dist/cjs/constants.js +2 -2
- package/dist/es2019/constants.js +1 -1
- package/dist/esm/constants.js +1 -1
- package/dist/types/constants.d.ts +0 -1
- package/dist/types/grid-context.d.ts +2 -1
- package/dist/types/grid-wrapper.d.ts +2 -2
- package/dist/types-ts4.5/constants.d.ts +0 -1
- package/dist/types-ts4.5/grid-context.d.ts +2 -1
- package/dist/types-ts4.5/grid-wrapper.d.ts +2 -2
- package/package.json +12 -5
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
|
package/dist/cjs/constants.js
CHANGED
|
@@ -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.
|
|
7
|
-
var defaultGridSize =
|
|
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 = {
|
package/dist/es2019/constants.js
CHANGED
package/dist/esm/constants.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { type GridSpacing } from './types';
|
|
3
|
-
|
|
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
|
-
|
|
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,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { type GridSpacing } from './types';
|
|
3
|
-
|
|
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
|
-
|
|
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.
|
|
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/
|
|
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": "^
|
|
67
|
-
"react-dom": "^
|
|
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": [
|