@atlaskit/page-layout 3.11.2 → 3.11.3

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,11 @@
1
1
  # @atlaskit/page-layout
2
2
 
3
+ ## 3.11.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 3.11.2
4
10
 
5
11
  ### Patch Changes
@@ -112,24 +112,27 @@ var SkipLinkWrapper = exports.SkipLinkWrapper = function SkipLinkWrapper(_ref) {
112
112
  };
113
113
  var emptyLabelOverride = !!(skipLinksLabel !== null && skipLinksLabel !== void 0 && skipLinksLabel.match(/^\s+$/));
114
114
  var label = skipLinksLabel || _constants.DEFAULT_I18N_PROPS_SKIP_LINKS;
115
- return (0, _react.jsx)("div", {
116
- onFocus: attachEscHandler,
117
- onBlur: removeEscHandler,
118
- css: [skipLinkStyles, prefersReducedMotionStyles],
119
- "data-skip-link-wrapper": true
120
- }, emptyLabelOverride ? null : (0, _react.jsx)("p", {
121
- css: skipLinkHeadingStyles
122
- }, label), (0, _react.jsx)("ol", {
123
- css: skipLinkListStyles
124
- }, sortSkipLinks(skipLinksData).map(function (_ref2) {
125
- var id = _ref2.id,
126
- skipLinkTitle = _ref2.skipLinkTitle;
127
- return (0, _react.jsx)(SkipLink, {
128
- key: id,
129
- href: "#".concat(id),
130
- isFocusable: true
131
- }, skipLinkTitle);
132
- })));
115
+ return (
116
+ // eslint-disable-next-line jsx-a11y/no-static-element-interactions
117
+ (0, _react.jsx)("div", {
118
+ onFocus: attachEscHandler,
119
+ onBlur: removeEscHandler,
120
+ css: [skipLinkStyles, prefersReducedMotionStyles],
121
+ "data-skip-link-wrapper": true
122
+ }, emptyLabelOverride ? null : (0, _react.jsx)("p", {
123
+ css: skipLinkHeadingStyles
124
+ }, label), (0, _react.jsx)("ol", {
125
+ css: skipLinkListStyles
126
+ }, sortSkipLinks(skipLinksData).map(function (_ref2) {
127
+ var id = _ref2.id,
128
+ skipLinkTitle = _ref2.skipLinkTitle;
129
+ return (0, _react.jsx)(SkipLink, {
130
+ key: id,
131
+ href: "#".concat(id),
132
+ isFocusable: true
133
+ }, skipLinkTitle);
134
+ })))
135
+ );
133
136
  };
134
137
  var handleBlur = function handleBlur(event) {
135
138
  // @ts-ignore
@@ -96,23 +96,26 @@ export const SkipLinkWrapper = ({
96
96
  const removeEscHandler = () => window.removeEventListener('keydown', escapeHandler, false);
97
97
  const emptyLabelOverride = !!(skipLinksLabel !== null && skipLinksLabel !== void 0 && skipLinksLabel.match(/^\s+$/));
98
98
  const label = skipLinksLabel || DEFAULT_I18N_PROPS_SKIP_LINKS;
99
- return jsx("div", {
100
- onFocus: attachEscHandler,
101
- onBlur: removeEscHandler,
102
- css: [skipLinkStyles, prefersReducedMotionStyles],
103
- "data-skip-link-wrapper": true
104
- }, emptyLabelOverride ? null : jsx("p", {
105
- css: skipLinkHeadingStyles
106
- }, label), jsx("ol", {
107
- css: skipLinkListStyles
108
- }, sortSkipLinks(skipLinksData).map(({
109
- id,
110
- skipLinkTitle
111
- }) => jsx(SkipLink, {
112
- key: id,
113
- href: `#${id}`,
114
- isFocusable: true
115
- }, skipLinkTitle))));
99
+ return (
100
+ // eslint-disable-next-line jsx-a11y/no-static-element-interactions
101
+ jsx("div", {
102
+ onFocus: attachEscHandler,
103
+ onBlur: removeEscHandler,
104
+ css: [skipLinkStyles, prefersReducedMotionStyles],
105
+ "data-skip-link-wrapper": true
106
+ }, emptyLabelOverride ? null : jsx("p", {
107
+ css: skipLinkHeadingStyles
108
+ }, label), jsx("ol", {
109
+ css: skipLinkListStyles
110
+ }, sortSkipLinks(skipLinksData).map(({
111
+ id,
112
+ skipLinkTitle
113
+ }) => jsx(SkipLink, {
114
+ key: id,
115
+ href: `#${id}`,
116
+ isFocusable: true
117
+ }, skipLinkTitle))))
118
+ );
116
119
  };
117
120
  const handleBlur = event => {
118
121
  // @ts-ignore
@@ -109,24 +109,27 @@ export var SkipLinkWrapper = function SkipLinkWrapper(_ref) {
109
109
  };
110
110
  var emptyLabelOverride = !!(skipLinksLabel !== null && skipLinksLabel !== void 0 && skipLinksLabel.match(/^\s+$/));
111
111
  var label = skipLinksLabel || DEFAULT_I18N_PROPS_SKIP_LINKS;
112
- return jsx("div", {
113
- onFocus: attachEscHandler,
114
- onBlur: removeEscHandler,
115
- css: [skipLinkStyles, prefersReducedMotionStyles],
116
- "data-skip-link-wrapper": true
117
- }, emptyLabelOverride ? null : jsx("p", {
118
- css: skipLinkHeadingStyles
119
- }, label), jsx("ol", {
120
- css: skipLinkListStyles
121
- }, sortSkipLinks(skipLinksData).map(function (_ref2) {
122
- var id = _ref2.id,
123
- skipLinkTitle = _ref2.skipLinkTitle;
124
- return jsx(SkipLink, {
125
- key: id,
126
- href: "#".concat(id),
127
- isFocusable: true
128
- }, skipLinkTitle);
129
- })));
112
+ return (
113
+ // eslint-disable-next-line jsx-a11y/no-static-element-interactions
114
+ jsx("div", {
115
+ onFocus: attachEscHandler,
116
+ onBlur: removeEscHandler,
117
+ css: [skipLinkStyles, prefersReducedMotionStyles],
118
+ "data-skip-link-wrapper": true
119
+ }, emptyLabelOverride ? null : jsx("p", {
120
+ css: skipLinkHeadingStyles
121
+ }, label), jsx("ol", {
122
+ css: skipLinkListStyles
123
+ }, sortSkipLinks(skipLinksData).map(function (_ref2) {
124
+ var id = _ref2.id,
125
+ skipLinkTitle = _ref2.skipLinkTitle;
126
+ return jsx(SkipLink, {
127
+ key: id,
128
+ href: "#".concat(id),
129
+ isFocusable: true
130
+ }, skipLinkTitle);
131
+ })))
132
+ );
130
133
  };
131
134
  var handleBlur = function handleBlur(event) {
132
135
  // @ts-ignore
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/page-layout",
3
- "version": "3.11.2",
3
+ "version": "3.11.3",
4
4
  "description": "A collection of components which let you compose an application's page layout.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -31,19 +31,23 @@
31
31
  "team": "Design System Team",
32
32
  "website": {
33
33
  "name": "Page layout",
34
- "category": "Components"
34
+ "category": "Layout and structure",
35
+ "status": {
36
+ "type": "intent-to-deprecate",
37
+ "description": "We are in the process of building a new page layout component: [@atlassian/navigation-system](https://staging.atlassian.design/components/navigation-system/page-layout/examples) (For Atlassian employees only at this stage)"
38
+ }
35
39
  },
36
40
  "runReact18": true
37
41
  },
38
42
  "homepage": "https://atlassian.design/components/page-layout/",
39
43
  "dependencies": {
40
- "@atlaskit/ds-lib": "^3.2.0",
41
- "@atlaskit/icon": "^22.24.0",
44
+ "@atlaskit/ds-lib": "^3.3.0",
45
+ "@atlaskit/icon": "^23.0.0",
42
46
  "@atlaskit/link": "^1.2.0",
43
47
  "@atlaskit/motion": "^1.9.0",
44
- "@atlaskit/primitives": "^13.2.0",
48
+ "@atlaskit/primitives": "^13.3.0",
45
49
  "@atlaskit/theme": "^14.0.0",
46
- "@atlaskit/tokens": "^2.2.0",
50
+ "@atlaskit/tokens": "^2.4.0",
47
51
  "@babel/runtime": "^7.0.0",
48
52
  "@emotion/react": "^11.7.1",
49
53
  "bind-event-listener": "^3.0.0",
@@ -59,11 +63,11 @@
59
63
  "@atlaskit/atlassian-navigation": "^4.9.0",
60
64
  "@atlaskit/atlassian-notifications": "^0.5.0",
61
65
  "@atlaskit/drawer": "^9.2.0",
62
- "@atlaskit/logo": "^14.3.0",
66
+ "@atlaskit/logo": "^15.0.0",
63
67
  "@atlaskit/menu": "^2.13.0",
64
68
  "@atlaskit/notification-indicator": "^9.4.0",
65
69
  "@atlaskit/notification-log-client": "^6.1.0",
66
- "@atlaskit/popup": "^1.29.0",
70
+ "@atlaskit/popup": "^1.30.0",
67
71
  "@atlaskit/side-navigation": "^3.6.0",
68
72
  "@atlaskit/ssr": "*",
69
73
  "@atlaskit/toggle": "^13.4.0",