@atlaskit/mobile-header 7.0.24 → 7.0.26

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,18 @@
1
1
  # @atlaskit/mobile-header
2
2
 
3
+ ## 7.0.26
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 7.0.25
10
+
11
+ ### Patch Changes
12
+
13
+ - [`7b2a6c98563cb`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7b2a6c98563cb) -
14
+ Icon entry point migration update
15
+
3
16
  ## 7.0.24
4
17
 
5
18
  ### Patch Changes
@@ -1,5 +1,5 @@
1
1
  {
2
- "extends": "../../../../tsconfig.entry-points.products.json",
2
+ "extends": "../../../../tsconfig.local-consumption.json",
3
3
  "compilerOptions": {
4
4
  "declaration": true,
5
5
  "target": "es5",
@@ -14,7 +14,7 @@ var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits
14
14
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
15
15
  var _react = _interopRequireWildcard(require("react"));
16
16
  var _button = _interopRequireDefault(require("@atlaskit/button"));
17
- var _menu = _interopRequireDefault(require("@atlaskit/icon/core/migration/menu"));
17
+ var _menu = _interopRequireDefault(require("@atlaskit/icon/core/menu"));
18
18
  var styles = _interopRequireWildcard(require("../styled"));
19
19
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
20
20
  function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
@@ -84,7 +84,6 @@ var MobileHeader = /*#__PURE__*/function (_PureComponent) {
84
84
  appearance: "subtle",
85
85
  iconBefore: /*#__PURE__*/_react.default.createElement(_menu.default, {
86
86
  label: menuIconLabel,
87
- LEGACY_size: "large",
88
87
  color: "currentColor",
89
88
  spacing: "spacious"
90
89
  }),
@@ -100,6 +100,6 @@ var PageHeading = exports.PageHeading = _styled.default.h1({
100
100
  flexGrow: 1,
101
101
  margin: 0,
102
102
  marginLeft: "var(--ds-space-100, 8px)",
103
- font: "var(--ds-font-heading-small, normal 600 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
103
+ font: "var(--ds-font-heading-small, normal 653 16px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
104
104
  alignSelf: 'center'
105
105
  });
@@ -1,7 +1,7 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  import React, { Fragment, PureComponent } from 'react';
3
3
  import Button from '@atlaskit/button';
4
- import MenuIcon from '@atlaskit/icon/core/migration/menu';
4
+ import MenuIcon from '@atlaskit/icon/core/menu';
5
5
  import * as styles from '../styled';
6
6
  class MobileHeader extends PureComponent {
7
7
  constructor(...args) {
@@ -57,7 +57,6 @@ class MobileHeader extends PureComponent {
57
57
  appearance: "subtle",
58
58
  iconBefore: /*#__PURE__*/React.createElement(MenuIcon, {
59
59
  label: menuIconLabel,
60
- LEGACY_size: "large",
61
60
  color: "currentColor",
62
61
  spacing: "spacious"
63
62
  }),
@@ -102,6 +102,6 @@ export const PageHeading = styled.h1({
102
102
  flexGrow: 1,
103
103
  margin: 0,
104
104
  marginLeft: "var(--ds-space-100, 8px)",
105
- font: "var(--ds-font-heading-small, normal 600 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
105
+ font: "var(--ds-font-heading-small, normal 653 16px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
106
106
  alignSelf: 'center'
107
107
  });
@@ -8,7 +8,7 @@ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstruct
8
8
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
9
9
  import React, { Fragment, PureComponent } from 'react';
10
10
  import Button from '@atlaskit/button';
11
- import MenuIcon from '@atlaskit/icon/core/migration/menu';
11
+ import MenuIcon from '@atlaskit/icon/core/menu';
12
12
  import * as styles from '../styled';
13
13
  var MobileHeader = /*#__PURE__*/function (_PureComponent) {
14
14
  function MobileHeader() {
@@ -75,7 +75,6 @@ var MobileHeader = /*#__PURE__*/function (_PureComponent) {
75
75
  appearance: "subtle",
76
76
  iconBefore: /*#__PURE__*/React.createElement(MenuIcon, {
77
77
  label: menuIconLabel,
78
- LEGACY_size: "large",
79
78
  color: "currentColor",
80
79
  spacing: "spacious"
81
80
  }),
@@ -94,6 +94,6 @@ export var PageHeading = styled.h1({
94
94
  flexGrow: 1,
95
95
  margin: 0,
96
96
  marginLeft: "var(--ds-space-100, 8px)",
97
- font: "var(--ds-font-heading-small, normal 600 16px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
97
+ font: "var(--ds-font-heading-small, normal 653 16px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
98
98
  alignSelf: 'center'
99
99
  });
package/docs/0-intro.tsx CHANGED
@@ -2,7 +2,7 @@ import React from 'react';
2
2
 
3
3
  import { AtlassianInternalWarning, code, Example, md, Props } from '@atlaskit/docs';
4
4
 
5
- export default md`
5
+ const _default_1: any = md`
6
6
  ${(<AtlassianInternalWarning />)}
7
7
 
8
8
  The Mobile Header is a way to render a header that hides the Navigation and Sidebar
@@ -28,3 +28,4 @@ export default md`
28
28
  />
29
29
  )}
30
30
  `;
31
+ export default _default_1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/mobile-header",
3
- "version": "7.0.24",
3
+ "version": "7.0.26",
4
4
  "description": "A React component rendering a mobile header",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -29,9 +29,9 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "@atlaskit/button": "^23.9.0",
32
- "@atlaskit/icon": "^29.3.0",
32
+ "@atlaskit/icon": "^29.4.0",
33
33
  "@atlaskit/theme": "^21.0.0",
34
- "@atlaskit/tokens": "^9.0.0",
34
+ "@atlaskit/tokens": "^10.0.0",
35
35
  "@babel/runtime": "^7.0.0",
36
36
  "@emotion/styled": "^11.0.0"
37
37
  },
@@ -40,6 +40,7 @@
40
40
  "react": "^18.2.0"
41
41
  },
42
42
  "devDependencies": {
43
+ "@atlassian/a11y-jest-testing": "^0.6.0",
43
44
  "@testing-library/react": "^16.3.0",
44
45
  "@testing-library/user-event": "^14.4.3",
45
46
  "react-dom": "^18.2.0",
@@ -1,23 +0,0 @@
1
- {
2
- "extends": "../tsconfig",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "paths": {}
7
- },
8
- "include": [
9
- "../src/**/*.ts",
10
- "../src/**/*.tsx"
11
- ],
12
- "exclude": [
13
- "../src/**/__tests__/*",
14
- "../src/**/*.test.*",
15
- "../src/**/test.*",
16
- "../src/**/examples.*",
17
- "../src/**/examples/*",
18
- "../src/**/examples/**/*",
19
- "../src/**/*.stories.*",
20
- "../src/**/stories/*",
21
- "../src/**/stories/**/*"
22
- ]
23
- }