@atlaskit/page 14.0.0 → 14.0.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 CHANGED
@@ -1,5 +1,20 @@
1
1
  # @atlaskit/page
2
2
 
3
+ ## 14.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`08170da1fbf62`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/08170da1fbf62) -
8
+ Migrate spacing prop usages on icons to Flex wrapper
9
+
10
+ ## 14.0.1
11
+
12
+ ### Patch Changes
13
+
14
+ - [#184487](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/184487)
15
+ [`68f58b418f244`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/68f58b418f244) -
16
+ Internal refactoring of visual regression tests.
17
+
3
18
  ## 14.0.0
4
19
 
5
20
  ### Major Changes
@@ -232,7 +247,6 @@
232
247
  - [#18619](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18619)
233
248
  [`b3ea181f8ed`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b3ea181f8ed) -
234
249
  Regressions in version `12.1.0` have been fixed:
235
-
236
250
  - Move to CSS `gap` has been reverted, as some use cases were not properly handled.
237
251
  - The `theme` prop has been re-introduced, mapping to the new props introduced in `12.1.0`.
238
252
 
@@ -369,7 +383,6 @@
369
383
 
370
384
  Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
371
385
  [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
372
-
373
386
  - @atlaskit/docs@8.3.2
374
387
  - @atlaskit/visual-regression@0.1.9
375
388
  - @atlaskit/banner@10.1.5
@@ -461,7 +474,6 @@
461
474
  - [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332):
462
475
 
463
476
  In this PR, we are:
464
-
465
477
  - Re-introducing dist build folders
466
478
  - Adding back cjs
467
479
  - Replacing es5 by cjs and es2015 by esm
@@ -490,7 +502,6 @@
490
502
  ## 11.0.0
491
503
 
492
504
  - [major][3af5a7e685](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3af5a7e685):
493
-
494
505
  - @atlaskit/page has been converted to Typescript. Typescript consumers will now get static type
495
506
  safety. Flow types are no longer provided. No API or behavioural changes.
496
507
 
@@ -505,13 +516,11 @@
505
516
  ## 10.0.1
506
517
 
507
518
  - [patch][7a68e88827](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7a68e88827):
508
-
509
519
  - Fixed aria-hidden attribute for banner container
510
520
 
511
521
  ## 10.0.0
512
522
 
513
523
  - [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
514
-
515
524
  - Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
516
525
  this package, please ensure you use at least this version of react and react-dom.
517
526
 
@@ -546,7 +555,6 @@
546
555
  ## 9.0.0
547
556
 
548
557
  - [major][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
549
-
550
558
  - Drop ES5 from all the flow modules
551
559
 
552
560
  ### Dropping CJS support in all @atlaskit packages
@@ -611,7 +619,6 @@
611
619
  ## 8.0.10
612
620
 
613
621
  - [patch][84e8015](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/84e8015):
614
-
615
622
  - Bump react-syntax-highlighter to 10.0.1
616
623
 
617
624
  ## 8.0.9
package/Grid/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/grid-wrapper.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <5.4": {
11
+ ">=4.5 <5.9": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/grid-wrapper.d.ts"
14
14
  ]
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/grid-column.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <5.4": {
11
+ ">=4.5 <5.9": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/grid-column.d.ts"
14
14
  ]
package/Page/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/page.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <5.4": {
11
+ ">=4.5 <5.9": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/page.d.ts"
14
14
  ]
@@ -1,4 +1,4 @@
1
- /* grid-column.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* grid-column.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
package/dist/cjs/grid.js CHANGED
@@ -1,4 +1,4 @@
1
- /* grid.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* grid.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
package/dist/cjs/page.js CHANGED
@@ -1,4 +1,4 @@
1
- /* page.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* page.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  "use strict";
3
3
 
4
4
  var _typeof = require("@babel/runtime/helpers/typeof");
@@ -1,4 +1,4 @@
1
- /* grid-column.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* grid-column.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import "./grid-column.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* grid.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* grid.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import "./grid.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* page.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* page.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import "./page.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,4 +1,4 @@
1
- /* grid-column.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* grid-column.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import "./grid-column.compiled.css";
4
4
  import * as React from 'react';
package/dist/esm/grid.js CHANGED
@@ -1,4 +1,4 @@
1
- /* grid.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* grid.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import "./grid.compiled.css";
4
4
  import * as React from 'react';
package/dist/esm/page.js CHANGED
@@ -1,4 +1,4 @@
1
- /* page.tsx generated by @compiled/babel-plugin v0.36.1 */
1
+ /* page.tsx generated by @compiled/babel-plugin v0.39.1 */
2
2
  import "./page.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -1,11 +1,10 @@
1
- /// <reference types="react" />
2
1
  import type { GridColumnProps } from './types';
3
2
  /**
4
3
  * __Grid column context__
5
4
  *
6
5
  * @internal
7
6
  */
8
- export declare const GridColumnContext: import("react").Context<{
7
+ export declare const GridColumnContext: import('react').Context<{
9
8
  medium: number;
10
9
  }>;
11
10
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type GridSpacing } from './types';
3
2
  type GridContextProps = {
4
3
  isRoot: boolean;
@@ -14,5 +13,5 @@ type GridContextProps = {
14
13
  *
15
14
  * @internal
16
15
  */
17
- export declare const GridContext: import("react").Context<GridContextProps>;
16
+ export declare const GridContext: import('react').Context<GridContextProps>;
18
17
  export {};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { GridProps } from './types';
3
2
  /**
4
3
  * __Grid__
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { PageProps } from './types';
3
2
  /**
4
3
  * __Page__
@@ -1,11 +1,10 @@
1
- /// <reference types="react" />
2
1
  import type { GridColumnProps } from './types';
3
2
  /**
4
3
  * __Grid column context__
5
4
  *
6
5
  * @internal
7
6
  */
8
- export declare const GridColumnContext: import("react").Context<{
7
+ export declare const GridColumnContext: import('react').Context<{
9
8
  medium: number;
10
9
  }>;
11
10
  /**
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { type GridSpacing } from './types';
3
2
  type GridContextProps = {
4
3
  isRoot: boolean;
@@ -14,5 +13,5 @@ type GridContextProps = {
14
13
  *
15
14
  * @internal
16
15
  */
17
- export declare const GridContext: import("react").Context<GridContextProps>;
16
+ export declare const GridContext: import('react').Context<GridContextProps>;
18
17
  export {};
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { GridProps } from './types';
3
2
  /**
4
3
  * __Grid__
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { PageProps } from './types';
3
2
  /**
4
3
  * __Page__
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/page",
3
- "version": "14.0.0",
3
+ "version": "14.0.2",
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/"
@@ -42,16 +42,9 @@
42
42
  }
43
43
  }
44
44
  },
45
- "af:exports": {
46
- "./types": "./src/types.tsx",
47
- ".": "./src/index.tsx",
48
- "./Grid": "./src/grid-wrapper.tsx",
49
- "./GridColumn": "./src/grid-column.tsx",
50
- "./Page": "./src/page.tsx"
51
- },
52
45
  "dependencies": {
53
46
  "@babel/runtime": "^7.0.0",
54
- "@compiled/react": "^0.18.3"
47
+ "@compiled/react": "^0.20.0"
55
48
  },
56
49
  "peerDependencies": {
57
50
  "react": "^18.2.0"
@@ -59,20 +52,18 @@
59
52
  "devDependencies": {
60
53
  "@af/accessibility-testing": "workspace:^",
61
54
  "@af/integration-testing": "workspace:^",
55
+ "@af/visual-regression": "workspace:^",
62
56
  "@atlaskit/banner": "^14.0.0",
63
- "@atlaskit/code": "^17.2.0",
64
- "@atlaskit/docs": "^11.0.0",
65
- "@atlaskit/ds-lib": "^4.0.0",
66
- "@atlaskit/icon": "^27.2.0",
67
- "@atlaskit/link": "^3.2.0",
68
- "@atlaskit/primitives": "^14.10.0",
69
- "@atlaskit/section-message": "^8.2.0",
70
- "@atlaskit/tokens": "^5.4.0",
71
- "@atlaskit/visual-regression": "workspace:^",
72
- "@atlassian/ssr-tests": "^0.2.0",
73
- "@testing-library/react": "^13.4.0",
74
- "react-dom": "^18.2.0",
75
- "typescript": "~5.4.2"
57
+ "@atlaskit/code": "^17.4.0",
58
+ "@atlaskit/docs": "^11.7.0",
59
+ "@atlaskit/icon": "^33.1.0",
60
+ "@atlaskit/link": "^3.3.0",
61
+ "@atlaskit/primitives": "^18.1.0",
62
+ "@atlaskit/section-message": "^8.12.0",
63
+ "@atlaskit/tokens": "^11.4.0",
64
+ "@atlassian/ssr-tests": "workspace:^",
65
+ "@testing-library/react": "^16.3.0",
66
+ "react-dom": "^18.2.0"
76
67
  },
77
68
  "keywords": [
78
69
  "atlaskit",
@@ -8,7 +8,7 @@
8
8
  ],
9
9
  "types": "../dist/types/types.d.ts",
10
10
  "typesVersions": {
11
- ">=4.5 <5.4": {
11
+ ">=4.5 <5.9": {
12
12
  "*": [
13
13
  "../dist/types-ts4.5/types.d.ts"
14
14
  ]