@instructure/ui-navigation 8.26.4-snapshot-17 → 8.27.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,17 +3,23 @@
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.26.4-snapshot-17](https://github.com/instructure/instructure-ui/compare/v8.26.3...v8.26.4-snapshot-17) (2022-07-25)
6
+ ## [8.27.1-snapshot-7](https://github.com/instructure/instructure-ui/compare/v8.27.0...v8.27.1-snapshot-7) (2022-08-15)
7
7
 
8
8
 
9
9
  ### Features
10
10
 
11
- * support React 18 ([0a2bf0c](https://github.com/instructure/instructure-ui/commit/0a2bf0cdd4d8bcec6e42a7ccf28a787e4a35bc40))
11
+ * **ui-tray:** add `position` theme variable to Tray ([375ed68](https://github.com/instructure/instructure-ui/commit/375ed68a6c38c241d45d3a13f5bb757ed68b9ab2))
12
12
 
13
13
 
14
14
 
15
15
 
16
16
 
17
+ # [8.27.0](https://github.com/instructure/instructure-ui/compare/v8.26.3...v8.27.0) (2022-07-25)
18
+
19
+ ### Features
20
+
21
+ - support React 18 ([0a2bf0c](https://github.com/instructure/instructure-ui/commit/0a2bf0cdd4d8bcec6e42a7ccf28a787e4a35bc40))
22
+
17
23
  ## [8.26.3](https://github.com/instructure/instructure-ui/compare/v8.26.2...v8.26.3) (2022-07-14)
18
24
 
19
25
  **Note:** Version bump only for package @instructure/ui-navigation
@@ -67,7 +67,6 @@ let AppNav = (_dec = withStyle(generateStyle, generateComponentTheme), _dec2 = t
67
67
  navWidth = _getBoundingClientRec.width;
68
68
 
69
69
  const itemWidths = Array.from(this._list.getElementsByTagName('li')).map(item => {
70
- // Todo: if item's type isn't `unknown`, can remove `Element`
71
70
  const _getBoundingClientRec2 = getBoundingClientRect(item),
72
71
  width = _getBoundingClientRec2.width;
73
72
 
@@ -65,7 +65,6 @@ let AppNav = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _
65
65
  navWidth = _getBoundingClientRec.width;
66
66
 
67
67
  const itemWidths = Array.from(this._list.getElementsByTagName('li')).map(item => {
68
- // Todo: if item's type isn't `unknown`, can remove `Element`
69
68
  const _getBoundingClientRec2 = (0, _getBoundingClientRect.getBoundingClientRect)(item),
70
69
  width = _getBoundingClientRec2.width;
71
70
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-navigation",
3
- "version": "8.26.4-snapshot-17",
3
+ "version": "8.27.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,31 +23,31 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "devDependencies": {
26
- "@instructure/ui-babel-preset": "8.26.4-snapshot-17",
27
- "@instructure/ui-color-utils": "8.26.4-snapshot-17",
28
- "@instructure/ui-test-locator": "8.26.4-snapshot-17",
29
- "@instructure/ui-test-utils": "8.26.4-snapshot-17",
30
- "@instructure/ui-themes": "8.26.4-snapshot-17"
26
+ "@instructure/ui-babel-preset": "8.27.1-snapshot-7",
27
+ "@instructure/ui-color-utils": "8.27.1-snapshot-7",
28
+ "@instructure/ui-test-locator": "8.27.1-snapshot-7",
29
+ "@instructure/ui-test-utils": "8.27.1-snapshot-7",
30
+ "@instructure/ui-themes": "8.27.1-snapshot-7"
31
31
  },
32
32
  "dependencies": {
33
33
  "@babel/runtime": "^7.13.10",
34
- "@instructure/console": "8.26.4-snapshot-17",
35
- "@instructure/debounce": "8.26.4-snapshot-17",
36
- "@instructure/emotion": "8.26.4-snapshot-17",
37
- "@instructure/shared-types": "8.26.4-snapshot-17",
38
- "@instructure/ui-a11y-content": "8.26.4-snapshot-17",
39
- "@instructure/ui-a11y-utils": "8.26.4-snapshot-17",
40
- "@instructure/ui-badge": "8.26.4-snapshot-17",
41
- "@instructure/ui-dom-utils": "8.26.4-snapshot-17",
42
- "@instructure/ui-focusable": "8.26.4-snapshot-17",
43
- "@instructure/ui-icons": "8.26.4-snapshot-17",
44
- "@instructure/ui-menu": "8.26.4-snapshot-17",
45
- "@instructure/ui-prop-types": "8.26.4-snapshot-17",
46
- "@instructure/ui-react-utils": "8.26.4-snapshot-17",
47
- "@instructure/ui-testable": "8.26.4-snapshot-17",
48
- "@instructure/ui-tooltip": "8.26.4-snapshot-17",
49
- "@instructure/ui-utils": "8.26.4-snapshot-17",
50
- "@instructure/ui-view": "8.26.4-snapshot-17",
34
+ "@instructure/console": "8.27.1-snapshot-7",
35
+ "@instructure/debounce": "8.27.1-snapshot-7",
36
+ "@instructure/emotion": "8.27.1-snapshot-7",
37
+ "@instructure/shared-types": "8.27.1-snapshot-7",
38
+ "@instructure/ui-a11y-content": "8.27.1-snapshot-7",
39
+ "@instructure/ui-a11y-utils": "8.27.1-snapshot-7",
40
+ "@instructure/ui-badge": "8.27.1-snapshot-7",
41
+ "@instructure/ui-dom-utils": "8.27.1-snapshot-7",
42
+ "@instructure/ui-focusable": "8.27.1-snapshot-7",
43
+ "@instructure/ui-icons": "8.27.1-snapshot-7",
44
+ "@instructure/ui-menu": "8.27.1-snapshot-7",
45
+ "@instructure/ui-prop-types": "8.27.1-snapshot-7",
46
+ "@instructure/ui-react-utils": "8.27.1-snapshot-7",
47
+ "@instructure/ui-testable": "8.27.1-snapshot-7",
48
+ "@instructure/ui-tooltip": "8.27.1-snapshot-7",
49
+ "@instructure/ui-utils": "8.27.1-snapshot-7",
50
+ "@instructure/ui-view": "8.27.1-snapshot-7",
51
51
  "prop-types": "^15"
52
52
  },
53
53
  "peerDependencies": {
@@ -123,8 +123,7 @@ class AppNav extends Component<AppNavProps> {
123
123
 
124
124
  const itemWidths = Array.from(this._list.getElementsByTagName('li')).map(
125
125
  (item) => {
126
- // Todo: if item's type isn't `unknown`, can remove `Element`
127
- const { width } = getBoundingClientRect(item as Element)
126
+ const { width } = getBoundingClientRect(item)
128
127
  return width
129
128
  }
130
129
  )