@instructure/ui-navigation 8.38.1-snapshot-6 → 8.38.1-snapshot-7

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,7 +3,7 @@
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.38.1-snapshot-6](https://github.com/instructure/instructure-ui/compare/v8.38.0...v8.38.1-snapshot-6) (2023-05-23)
6
+ ## [8.38.1-snapshot-7](https://github.com/instructure/instructure-ui/compare/v8.38.0...v8.38.1-snapshot-7) (2023-06-05)
7
7
 
8
8
  **Note:** Version bump only for package @instructure/ui-navigation
9
9
 
@@ -1,4 +1,4 @@
1
- var _dec, _dec2, _dec3, _class, _class2;
1
+ var _dec, _dec2, _class, _class2;
2
2
  /*
3
3
  * The MIT License (MIT)
4
4
  *
@@ -25,7 +25,7 @@ var _dec, _dec2, _dec3, _class, _class2;
25
25
  /** @jsx jsx */
26
26
  import React, { Component, Children } from 'react';
27
27
  import { testable } from '@instructure/ui-testable';
28
- import { deprecated, omitProps, safeCloneElement } from '@instructure/ui-react-utils';
28
+ import { omitProps, safeCloneElement } from '@instructure/ui-react-utils';
29
29
  import { IconMoveStartLine } from '@instructure/ui-icons';
30
30
  import { ScreenReaderContent } from '@instructure/ui-a11y-content';
31
31
  import { withStyle, jsx } from '@instructure/emotion';
@@ -42,11 +42,11 @@ const navMinimized = _ref => {
42
42
 
43
43
  /**
44
44
  ---
45
- category: components/deprecated
45
+ category: components
46
46
  ---
47
47
  @tsProps
48
48
  **/
49
- 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 = (_class2 = class Navigation extends Component {
49
+ let Navigation = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = testable(), _dec(_class = _dec2(_class = (_class2 = class Navigation extends Component {
50
50
  constructor(props) {
51
51
  super(props);
52
52
  this.ref = null;
@@ -127,6 +127,6 @@ let Navigation = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2
127
127
  defaultMinimized: false,
128
128
  // TODO we should investigate later if it used or not
129
129
  onClick: function (_e) {}
130
- }, _class2.Item = NavigationItem, _class2)) || _class) || _class) || _class);
130
+ }, _class2.Item = NavigationItem, _class2)) || _class) || _class);
131
131
  export default Navigation;
132
132
  export { Navigation, NavigationItem };
@@ -15,7 +15,6 @@ Object.defineProperty(exports, "NavigationItem", {
15
15
  exports.default = void 0;
16
16
  var _react = _interopRequireWildcard(require("react"));
17
17
  var _testable = require("@instructure/ui-testable/lib/testable.js");
18
- var _deprecated = require("@instructure/ui-react-utils/lib/deprecated.js");
19
18
  var _omitProps = require("@instructure/ui-react-utils/lib/omitProps.js");
20
19
  var _safeCloneElement = require("@instructure/ui-react-utils/lib/safeCloneElement.js");
21
20
  var _IconMoveStartLine = require("@instructure/ui-icons/lib/IconMoveStartLine.js");
@@ -25,7 +24,7 @@ var _NavigationItem = require("./NavigationItem");
25
24
  var _styles = _interopRequireDefault(require("./styles"));
26
25
  var _theme = _interopRequireDefault(require("./theme"));
27
26
  var _props = require("./props");
28
- var _dec, _dec2, _dec3, _class, _class2;
27
+ var _dec, _dec2, _class, _class2;
29
28
  /*
30
29
  * The MIT License (MIT)
31
30
  *
@@ -59,11 +58,11 @@ const navMinimized = _ref => {
59
58
 
60
59
  /**
61
60
  ---
62
- category: components/deprecated
61
+ category: components
63
62
  ---
64
63
  @tsProps
65
64
  **/
66
- 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 = (_class2 = class Navigation extends _react.Component {
65
+ let Navigation = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec2 = (0, _testable.testable)(), _dec(_class = _dec2(_class = (_class2 = class Navigation extends _react.Component {
67
66
  constructor(props) {
68
67
  super(props);
69
68
  this.ref = null;
@@ -144,7 +143,7 @@ let Navigation = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default
144
143
  defaultMinimized: false,
145
144
  // TODO we should investigate later if it used or not
146
145
  onClick: function (_e) {}
147
- }, _class2.Item = _NavigationItem.NavigationItem, _class2)) || _class) || _class) || _class);
146
+ }, _class2.Item = _NavigationItem.NavigationItem, _class2)) || _class) || _class);
148
147
  exports.Navigation = Navigation;
149
148
  var _default = Navigation;
150
149
  exports.default = _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-navigation",
3
- "version": "8.38.1-snapshot-6",
3
+ "version": "8.38.1-snapshot-7",
4
4
  "description": "Main and application level navigational components",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -23,32 +23,32 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "devDependencies": {
26
- "@instructure/ui-babel-preset": "8.38.1-snapshot-6",
27
- "@instructure/ui-color-utils": "8.38.1-snapshot-6",
28
- "@instructure/ui-test-locator": "8.38.1-snapshot-6",
29
- "@instructure/ui-test-utils": "8.38.1-snapshot-6",
30
- "@instructure/ui-themes": "8.38.1-snapshot-6"
26
+ "@instructure/ui-babel-preset": "8.38.1-snapshot-7",
27
+ "@instructure/ui-color-utils": "8.38.1-snapshot-7",
28
+ "@instructure/ui-test-locator": "8.38.1-snapshot-7",
29
+ "@instructure/ui-test-utils": "8.38.1-snapshot-7",
30
+ "@instructure/ui-themes": "8.38.1-snapshot-7"
31
31
  },
32
32
  "dependencies": {
33
33
  "@babel/runtime": "^7.21.0",
34
- "@instructure/console": "8.38.1-snapshot-6",
35
- "@instructure/debounce": "8.38.1-snapshot-6",
36
- "@instructure/emotion": "8.38.1-snapshot-6",
37
- "@instructure/shared-types": "8.38.1-snapshot-6",
38
- "@instructure/ui-a11y-content": "8.38.1-snapshot-6",
39
- "@instructure/ui-a11y-utils": "8.38.1-snapshot-6",
40
- "@instructure/ui-badge": "8.38.1-snapshot-6",
41
- "@instructure/ui-dom-utils": "8.38.1-snapshot-6",
42
- "@instructure/ui-focusable": "8.38.1-snapshot-6",
43
- "@instructure/ui-icons": "8.38.1-snapshot-6",
44
- "@instructure/ui-menu": "8.38.1-snapshot-6",
45
- "@instructure/ui-prop-types": "8.38.1-snapshot-6",
46
- "@instructure/ui-react-utils": "8.38.1-snapshot-6",
47
- "@instructure/ui-testable": "8.38.1-snapshot-6",
48
- "@instructure/ui-tooltip": "8.38.1-snapshot-6",
49
- "@instructure/ui-truncate-list": "8.38.1-snapshot-6",
50
- "@instructure/ui-utils": "8.38.1-snapshot-6",
51
- "@instructure/ui-view": "8.38.1-snapshot-6",
34
+ "@instructure/console": "8.38.1-snapshot-7",
35
+ "@instructure/debounce": "8.38.1-snapshot-7",
36
+ "@instructure/emotion": "8.38.1-snapshot-7",
37
+ "@instructure/shared-types": "8.38.1-snapshot-7",
38
+ "@instructure/ui-a11y-content": "8.38.1-snapshot-7",
39
+ "@instructure/ui-a11y-utils": "8.38.1-snapshot-7",
40
+ "@instructure/ui-badge": "8.38.1-snapshot-7",
41
+ "@instructure/ui-dom-utils": "8.38.1-snapshot-7",
42
+ "@instructure/ui-focusable": "8.38.1-snapshot-7",
43
+ "@instructure/ui-icons": "8.38.1-snapshot-7",
44
+ "@instructure/ui-menu": "8.38.1-snapshot-7",
45
+ "@instructure/ui-prop-types": "8.38.1-snapshot-7",
46
+ "@instructure/ui-react-utils": "8.38.1-snapshot-7",
47
+ "@instructure/ui-testable": "8.38.1-snapshot-7",
48
+ "@instructure/ui-tooltip": "8.38.1-snapshot-7",
49
+ "@instructure/ui-truncate-list": "8.38.1-snapshot-7",
50
+ "@instructure/ui-utils": "8.38.1-snapshot-7",
51
+ "@instructure/ui-view": "8.38.1-snapshot-7",
52
52
  "prop-types": "^15.8.1"
53
53
  },
54
54
  "peerDependencies": {
@@ -2,11 +2,9 @@
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.
5
+ A top-level `Navigation` component.
6
6
 
7
- ---
8
-
9
- A top-level `Navigation` component
7
+ > Note that this component is experimental and its API might change significantly in the future.
10
8
 
11
9
  ```js
12
10
  ---
@@ -26,11 +26,7 @@ import React, { Component, Children, ReactElement } from 'react'
26
26
 
27
27
  import { testable } from '@instructure/ui-testable'
28
28
 
29
- import {
30
- deprecated,
31
- omitProps,
32
- safeCloneElement
33
- } from '@instructure/ui-react-utils'
29
+ import { omitProps, safeCloneElement } from '@instructure/ui-react-utils'
34
30
  import { IconMoveStartLine } from '@instructure/ui-icons'
35
31
  import { ScreenReaderContent } from '@instructure/ui-a11y-content'
36
32
  import { withStyle, jsx } from '@instructure/emotion'
@@ -48,14 +44,13 @@ const navMinimized = ({ minimized }: { minimized: boolean }) => ({
48
44
 
49
45
  /**
50
46
  ---
51
- category: components/deprecated
47
+ category: components
52
48
  ---
53
49
  @tsProps
54
50
  **/
55
51
 
56
52
  @withStyle(generateStyle, generateComponentTheme)
57
53
  @testable()
58
- @deprecated('9.0.0', null, 'No one uses <Navigation>, so we will deprecate it.')
59
54
  class Navigation extends Component<NavigationProps, NavigationState> {
60
55
  static readonly componentId = 'Navigation'
61
56