@instructure/ui-navigation 8.13.1-snapshot.9 → 8.14.1-snapshot.15

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
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [8.14.0](https://github.com/instructure/instructure-ui/compare/v8.13.0...v8.14.0) (2021-12-16)
7
+
8
+ **Note:** Version bump only for package @instructure/ui-navigation
9
+
6
10
  # [8.13.0](https://github.com/instructure/instructure-ui/compare/v8.12.0...v8.13.0) (2021-12-01)
7
11
 
8
12
  **Note:** Version bump only for package @instructure/ui-navigation
@@ -1,4 +1,4 @@
1
- var _dec, _dec2, _class, _class2, _temp;
1
+ var _dec, _dec2, _dec3, _class, _class2, _temp;
2
2
 
3
3
  /*
4
4
  * The MIT License (MIT)
@@ -27,7 +27,7 @@ var _dec, _dec2, _class, _class2, _temp;
27
27
  /** @jsx jsx */
28
28
  import { Component, Children } from 'react';
29
29
  import { testable } from '@instructure/ui-testable';
30
- import { omitProps, safeCloneElement } from '@instructure/ui-react-utils';
30
+ import { deprecated, omitProps, safeCloneElement } from '@instructure/ui-react-utils';
31
31
  import { IconMoveStartLine } from '@instructure/ui-icons';
32
32
  import { ScreenReaderContent } from '@instructure/ui-a11y-content';
33
33
  import { withStyle, jsx } from '@instructure/emotion';
@@ -44,12 +44,12 @@ const navMinimized = _ref => {
44
44
  };
45
45
  /**
46
46
  ---
47
- category: components
47
+ category: components/deprecated
48
48
  ---
49
49
  **/
50
50
 
51
51
 
52
- let Navigation = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_temp = _class2 = class Navigation extends Component {
52
+ let Navigation = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec3 = deprecated('9.0.0', null, 'No one uses <Navigation>, so we will deprecate it.'), _dec(_class = _dec2(_class = _dec3(_class = (_temp = _class2 = class Navigation extends Component {
53
53
  constructor(props) {
54
54
  super();
55
55
  this.ref = null;
@@ -144,6 +144,6 @@ let Navigation = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2
144
144
  defaultMinimized: false,
145
145
  onMinimized: function (event, minimized) {},
146
146
  onClick: function (e) {}
147
- }, _class2.Item = NavigationItem, _temp)) || _class) || _class);
147
+ }, _class2.Item = NavigationItem, _temp)) || _class) || _class) || _class);
148
148
  export default Navigation;
149
149
  export { Navigation, NavigationItem };
@@ -18,6 +18,8 @@ var _react = require("react");
18
18
 
19
19
  var _testable = require("@instructure/ui-testable/lib/testable.js");
20
20
 
21
+ var _deprecated = require("@instructure/ui-react-utils/lib/deprecated.js");
22
+
21
23
  var _omitProps = require("@instructure/ui-react-utils/lib/omitProps.js");
22
24
 
23
25
  var _safeCloneElement = require("@instructure/ui-react-utils/lib/safeCloneElement.js");
@@ -36,7 +38,7 @@ var _theme = _interopRequireDefault(require("./theme"));
36
38
 
37
39
  var _props = require("./props");
38
40
 
39
- var _dec, _dec2, _class, _class2, _temp;
41
+ var _dec, _dec2, _dec3, _class, _class2, _temp;
40
42
 
41
43
  const navMinimized = _ref => {
42
44
  let minimized = _ref.minimized;
@@ -46,12 +48,12 @@ const navMinimized = _ref => {
46
48
  };
47
49
  /**
48
50
  ---
49
- category: components
51
+ category: components/deprecated
50
52
  ---
51
53
  **/
52
54
 
53
55
 
54
- let Navigation = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_temp = _class2 = class Navigation extends _react.Component {
56
+ let Navigation = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec3 = (0, _deprecated.deprecated)('9.0.0', null, 'No one uses <Navigation>, so we will deprecate it.'), _dec(_class = _dec2(_class = _dec3(_class = (_temp = _class2 = class Navigation extends _react.Component {
55
57
  constructor(props) {
56
58
  super();
57
59
  this.ref = null;
@@ -146,7 +148,7 @@ let Navigation = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default
146
148
  defaultMinimized: false,
147
149
  onMinimized: function (event, minimized) {},
148
150
  onClick: function (e) {}
149
- }, _class2.Item = _NavigationItem.NavigationItem, _temp)) || _class) || _class);
151
+ }, _class2.Item = _NavigationItem.NavigationItem, _temp)) || _class) || _class) || _class);
150
152
  exports.Navigation = Navigation;
151
153
  var _default = Navigation;
152
154
  exports.default = _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-navigation",
3
- "version": "8.13.1-snapshot.9+f32ba918e",
3
+ "version": "8.14.1-snapshot.15+b1ff4615e",
4
4
  "description": "Main and application level navigational components",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "type": "commonjs",
@@ -24,31 +24,31 @@
24
24
  },
25
25
  "license": "MIT",
26
26
  "devDependencies": {
27
- "@instructure/ui-babel-preset": "8.13.1-snapshot.9+f32ba918e",
28
- "@instructure/ui-color-utils": "8.13.1-snapshot.9+f32ba918e",
29
- "@instructure/ui-test-locator": "8.13.1-snapshot.9+f32ba918e",
30
- "@instructure/ui-test-utils": "8.13.1-snapshot.9+f32ba918e",
31
- "@instructure/ui-themes": "8.13.1-snapshot.9+f32ba918e"
27
+ "@instructure/ui-babel-preset": "8.14.1-snapshot.15+b1ff4615e",
28
+ "@instructure/ui-color-utils": "8.14.1-snapshot.15+b1ff4615e",
29
+ "@instructure/ui-test-locator": "8.14.1-snapshot.15+b1ff4615e",
30
+ "@instructure/ui-test-utils": "8.14.1-snapshot.15+b1ff4615e",
31
+ "@instructure/ui-themes": "8.14.1-snapshot.15+b1ff4615e"
32
32
  },
33
33
  "dependencies": {
34
34
  "@babel/runtime": "^7.13.10",
35
- "@instructure/console": "8.13.1-snapshot.9+f32ba918e",
36
- "@instructure/debounce": "8.13.1-snapshot.9+f32ba918e",
37
- "@instructure/emotion": "8.13.1-snapshot.9+f32ba918e",
38
- "@instructure/shared-types": "8.13.1-snapshot.9+f32ba918e",
39
- "@instructure/ui-a11y-content": "8.13.1-snapshot.9+f32ba918e",
40
- "@instructure/ui-a11y-utils": "8.13.1-snapshot.9+f32ba918e",
41
- "@instructure/ui-badge": "8.13.1-snapshot.9+f32ba918e",
42
- "@instructure/ui-dom-utils": "8.13.1-snapshot.9+f32ba918e",
43
- "@instructure/ui-focusable": "8.13.1-snapshot.9+f32ba918e",
44
- "@instructure/ui-icons": "8.13.1-snapshot.9+f32ba918e",
45
- "@instructure/ui-menu": "8.13.1-snapshot.9+f32ba918e",
46
- "@instructure/ui-prop-types": "8.13.1-snapshot.9+f32ba918e",
47
- "@instructure/ui-react-utils": "8.13.1-snapshot.9+f32ba918e",
48
- "@instructure/ui-testable": "8.13.1-snapshot.9+f32ba918e",
49
- "@instructure/ui-tooltip": "8.13.1-snapshot.9+f32ba918e",
50
- "@instructure/ui-utils": "8.13.1-snapshot.9+f32ba918e",
51
- "@instructure/ui-view": "8.13.1-snapshot.9+f32ba918e",
35
+ "@instructure/console": "8.14.1-snapshot.15+b1ff4615e",
36
+ "@instructure/debounce": "8.14.1-snapshot.15+b1ff4615e",
37
+ "@instructure/emotion": "8.14.1-snapshot.15+b1ff4615e",
38
+ "@instructure/shared-types": "8.14.1-snapshot.15+b1ff4615e",
39
+ "@instructure/ui-a11y-content": "8.14.1-snapshot.15+b1ff4615e",
40
+ "@instructure/ui-a11y-utils": "8.14.1-snapshot.15+b1ff4615e",
41
+ "@instructure/ui-badge": "8.14.1-snapshot.15+b1ff4615e",
42
+ "@instructure/ui-dom-utils": "8.14.1-snapshot.15+b1ff4615e",
43
+ "@instructure/ui-focusable": "8.14.1-snapshot.15+b1ff4615e",
44
+ "@instructure/ui-icons": "8.14.1-snapshot.15+b1ff4615e",
45
+ "@instructure/ui-menu": "8.14.1-snapshot.15+b1ff4615e",
46
+ "@instructure/ui-prop-types": "8.14.1-snapshot.15+b1ff4615e",
47
+ "@instructure/ui-react-utils": "8.14.1-snapshot.15+b1ff4615e",
48
+ "@instructure/ui-testable": "8.14.1-snapshot.15+b1ff4615e",
49
+ "@instructure/ui-tooltip": "8.14.1-snapshot.15+b1ff4615e",
50
+ "@instructure/ui-utils": "8.14.1-snapshot.15+b1ff4615e",
51
+ "@instructure/ui-view": "8.14.1-snapshot.15+b1ff4615e",
52
52
  "prop-types": "^15"
53
53
  },
54
54
  "peerDependencies": {
@@ -58,5 +58,5 @@
58
58
  "access": "public"
59
59
  },
60
60
  "sideEffects": false,
61
- "gitHead": "f32ba918e4d3ce76c6ee95c856584d00a9d80958"
61
+ "gitHead": "b1ff4615e6f67e7e53a3dc497bcfabe81bc47667"
62
62
  }
@@ -2,6 +2,10 @@
2
2
  describes: Navigation
3
3
  ---
4
4
 
5
+ **DEPRECATED:** This utility is deprecated since version **8.0** and will be permanently deleted in version 9.0.
6
+
7
+ ---
8
+
5
9
  A top-level `Navigation` component
6
10
 
7
11
  ```js
@@ -26,7 +26,11 @@ import { Component, Children, ReactElement } from 'react'
26
26
 
27
27
  import { testable } from '@instructure/ui-testable'
28
28
 
29
- import { omitProps, safeCloneElement } from '@instructure/ui-react-utils'
29
+ import {
30
+ deprecated,
31
+ omitProps,
32
+ safeCloneElement
33
+ } from '@instructure/ui-react-utils'
30
34
  import { IconMoveStartLine } from '@instructure/ui-icons'
31
35
  import { ScreenReaderContent } from '@instructure/ui-a11y-content'
32
36
  import { withStyle, jsx } from '@instructure/emotion'
@@ -43,11 +47,13 @@ const navMinimized = ({ minimized }) => ({ minimized: !minimized })
43
47
 
44
48
  /**
45
49
  ---
46
- category: components
50
+ category: components/deprecated
47
51
  ---
48
52
  **/
53
+
49
54
  @withStyle(generateStyle, generateComponentTheme)
50
55
  @testable()
56
+ @deprecated('9.0.0', null, 'No one uses <Navigation>, so we will deprecate it.')
51
57
  class Navigation extends Component<NavigationProps, NavigationState> {
52
58
  static readonly componentId = 'Navigation'
53
59
 
@@ -1,7 +1,33 @@
1
1
  {
2
2
  "extends": "../../tsconfig.build.json",
3
3
  "compilerOptions": {
4
- "outDir": "./types"
4
+ "outDir": "./types",
5
+ "rootDir": "./src",
6
+ "composite": true
5
7
  },
6
- "include": ["src/**/*"]
8
+ "include": ["src"],
9
+ "references": [
10
+ { "path": "../ui-babel-preset/tsconfig.build.json" },
11
+ { "path": "../ui-color-utils/tsconfig.build.json" },
12
+ { "path": "../ui-test-locator/tsconfig.build.json" },
13
+ { "path": "../ui-test-utils/tsconfig.build.json" },
14
+ { "path": "../ui-themes/tsconfig.build.json" },
15
+ { "path": "../console/tsconfig.build.json" },
16
+ { "path": "../debounce/tsconfig.build.json" },
17
+ { "path": "../emotion/tsconfig.build.json" },
18
+ { "path": "../shared-types/tsconfig.build.json" },
19
+ { "path": "../ui-a11y-content/tsconfig.build.json" },
20
+ { "path": "../ui-a11y-utils/tsconfig.build.json" },
21
+ { "path": "../ui-badge/tsconfig.build.json" },
22
+ { "path": "../ui-dom-utils/tsconfig.build.json" },
23
+ { "path": "../ui-focusable/tsconfig.build.json" },
24
+ { "path": "../ui-icons/tsconfig.build.json" },
25
+ { "path": "../ui-menu/tsconfig.build.json" },
26
+ { "path": "../ui-prop-types/tsconfig.build.json" },
27
+ { "path": "../ui-react-utils/tsconfig.build.json" },
28
+ { "path": "../ui-testable/tsconfig.build.json" },
29
+ { "path": "../ui-tooltip/tsconfig.build.json" },
30
+ { "path": "../ui-utils/tsconfig.build.json" },
31
+ { "path": "../ui-view/tsconfig.build.json" }
32
+ ]
7
33
  }