@instructure/ui-side-nav-bar 8.48.3 → 8.48.4-snapshot-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 +11 -0
- package/es/SideNavBar/SideNavBarItem/styles.js +2 -1
- package/es/SideNavBar/SideNavBarItem/theme.js +0 -1
- package/lib/SideNavBar/SideNavBarItem/styles.js +2 -1
- package/lib/SideNavBar/SideNavBarItem/theme.js +0 -1
- package/package.json +24 -24
- package/src/SideNavBar/SideNavBarItem/styles.ts +2 -1
- package/src/SideNavBar/SideNavBarItem/theme.ts +0 -1
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/SideNavBar/SideNavBarItem/styles.d.ts.map +1 -1
- package/types/SideNavBar/SideNavBarItem/theme.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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.48.4-snapshot-3](https://github.com/instructure/instructure-ui/compare/v8.48.3...v8.48.4-snapshot-3) (2023-11-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **ui-side-nav-bar:** change hover bahaviour of SideNavBar ([924f6b3](https://github.com/instructure/instructure-ui/commit/924f6b32ac78cb138545ffcfea151f693fcbe8d0))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [8.48.3](https://github.com/instructure/instructure-ui/compare/v8.48.2...v8.48.3) (2023-11-23)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @instructure/ui-side-nav-bar
|
|
@@ -71,7 +71,8 @@ const generateStyle = (componentTheme, props) => {
|
|
|
71
71
|
backgroundColor: componentTheme.hoverBackgroundColor
|
|
72
72
|
},
|
|
73
73
|
'&:hover': {
|
|
74
|
-
|
|
74
|
+
transition: 'background-color .3s',
|
|
75
|
+
backgroundColor: 'rgba(0, 0, 0, 0.2)',
|
|
75
76
|
color: componentTheme.fontColor,
|
|
76
77
|
textDecoration: componentTheme.linkTextDecoration
|
|
77
78
|
},
|
|
@@ -36,7 +36,6 @@ const generateComponentTheme = theme => {
|
|
|
36
36
|
canvas: {
|
|
37
37
|
fontColor: theme['ic-brand-global-nav-menu-item__text-color'],
|
|
38
38
|
iconColor: theme['ic-brand-global-nav-ic-icon-svg-fill'],
|
|
39
|
-
backgroundColor: theme['ic-brand-global-nav-bgd'],
|
|
40
39
|
hoverBackgroundColor: theme['ic-global-nav-link-hover'],
|
|
41
40
|
selectedFontColor: theme['ic-brand-global-nav-menu-item__text-color--active'],
|
|
42
41
|
selectedIconColor: theme['ic-brand-global-nav-ic-icon-svg-fill--active']
|
|
@@ -77,7 +77,8 @@ const generateStyle = (componentTheme, props) => {
|
|
|
77
77
|
backgroundColor: componentTheme.hoverBackgroundColor
|
|
78
78
|
},
|
|
79
79
|
'&:hover': {
|
|
80
|
-
|
|
80
|
+
transition: 'background-color .3s',
|
|
81
|
+
backgroundColor: 'rgba(0, 0, 0, 0.2)',
|
|
81
82
|
color: componentTheme.fontColor,
|
|
82
83
|
textDecoration: componentTheme.linkTextDecoration
|
|
83
84
|
},
|
|
@@ -42,7 +42,6 @@ const generateComponentTheme = theme => {
|
|
|
42
42
|
canvas: {
|
|
43
43
|
fontColor: theme['ic-brand-global-nav-menu-item__text-color'],
|
|
44
44
|
iconColor: theme['ic-brand-global-nav-ic-icon-svg-fill'],
|
|
45
|
-
backgroundColor: theme['ic-brand-global-nav-bgd'],
|
|
46
45
|
hoverBackgroundColor: theme['ic-global-nav-link-hover'],
|
|
47
46
|
selectedFontColor: theme['ic-brand-global-nav-menu-item__text-color--active'],
|
|
48
47
|
selectedIconColor: theme['ic-brand-global-nav-ic-icon-svg-fill--active']
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-side-nav-bar",
|
|
3
|
-
"version": "8.48.3",
|
|
3
|
+
"version": "8.48.4-snapshot-3",
|
|
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.48.3",
|
|
27
|
-
"@instructure/ui-color-utils": "8.48.3",
|
|
28
|
-
"@instructure/ui-test-locator": "8.48.3",
|
|
29
|
-
"@instructure/ui-test-utils": "8.48.3",
|
|
30
|
-
"@instructure/ui-themes": "8.48.3"
|
|
26
|
+
"@instructure/ui-babel-preset": "8.48.4-snapshot-3",
|
|
27
|
+
"@instructure/ui-color-utils": "8.48.4-snapshot-3",
|
|
28
|
+
"@instructure/ui-test-locator": "8.48.4-snapshot-3",
|
|
29
|
+
"@instructure/ui-test-utils": "8.48.4-snapshot-3",
|
|
30
|
+
"@instructure/ui-themes": "8.48.4-snapshot-3"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@babel/runtime": "^7.23.2",
|
|
34
|
-
"@instructure/console": "8.48.3",
|
|
35
|
-
"@instructure/debounce": "8.48.3",
|
|
36
|
-
"@instructure/emotion": "8.48.3",
|
|
37
|
-
"@instructure/shared-types": "8.48.3",
|
|
38
|
-
"@instructure/ui-a11y-content": "8.48.3",
|
|
39
|
-
"@instructure/ui-a11y-utils": "8.48.3",
|
|
40
|
-
"@instructure/ui-badge": "8.48.3",
|
|
41
|
-
"@instructure/ui-dom-utils": "8.48.3",
|
|
42
|
-
"@instructure/ui-focusable": "8.48.3",
|
|
43
|
-
"@instructure/ui-icons": "8.48.3",
|
|
44
|
-
"@instructure/ui-menu": "8.48.3",
|
|
45
|
-
"@instructure/ui-prop-types": "8.48.3",
|
|
46
|
-
"@instructure/ui-react-utils": "8.48.3",
|
|
47
|
-
"@instructure/ui-testable": "8.48.3",
|
|
48
|
-
"@instructure/ui-tooltip": "8.48.3",
|
|
49
|
-
"@instructure/ui-truncate-list": "8.48.3",
|
|
50
|
-
"@instructure/ui-utils": "8.48.3",
|
|
51
|
-
"@instructure/ui-view": "8.48.3",
|
|
34
|
+
"@instructure/console": "8.48.4-snapshot-3",
|
|
35
|
+
"@instructure/debounce": "8.48.4-snapshot-3",
|
|
36
|
+
"@instructure/emotion": "8.48.4-snapshot-3",
|
|
37
|
+
"@instructure/shared-types": "8.48.4-snapshot-3",
|
|
38
|
+
"@instructure/ui-a11y-content": "8.48.4-snapshot-3",
|
|
39
|
+
"@instructure/ui-a11y-utils": "8.48.4-snapshot-3",
|
|
40
|
+
"@instructure/ui-badge": "8.48.4-snapshot-3",
|
|
41
|
+
"@instructure/ui-dom-utils": "8.48.4-snapshot-3",
|
|
42
|
+
"@instructure/ui-focusable": "8.48.4-snapshot-3",
|
|
43
|
+
"@instructure/ui-icons": "8.48.4-snapshot-3",
|
|
44
|
+
"@instructure/ui-menu": "8.48.4-snapshot-3",
|
|
45
|
+
"@instructure/ui-prop-types": "8.48.4-snapshot-3",
|
|
46
|
+
"@instructure/ui-react-utils": "8.48.4-snapshot-3",
|
|
47
|
+
"@instructure/ui-testable": "8.48.4-snapshot-3",
|
|
48
|
+
"@instructure/ui-tooltip": "8.48.4-snapshot-3",
|
|
49
|
+
"@instructure/ui-truncate-list": "8.48.4-snapshot-3",
|
|
50
|
+
"@instructure/ui-utils": "8.48.4-snapshot-3",
|
|
51
|
+
"@instructure/ui-view": "8.48.4-snapshot-3",
|
|
52
52
|
"prop-types": "^15.8.1"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
@@ -80,7 +80,8 @@ const generateStyle = (
|
|
|
80
80
|
backgroundColor: componentTheme.hoverBackgroundColor
|
|
81
81
|
},
|
|
82
82
|
'&:hover': {
|
|
83
|
-
|
|
83
|
+
transition: 'background-color .3s',
|
|
84
|
+
backgroundColor: 'rgba(0, 0, 0, 0.2)',
|
|
84
85
|
color: componentTheme.fontColor,
|
|
85
86
|
textDecoration: componentTheme.linkTextDecoration
|
|
86
87
|
},
|
|
@@ -37,7 +37,6 @@ const generateComponentTheme = (theme: Theme): SideNavBarItemTheme => {
|
|
|
37
37
|
canvas: {
|
|
38
38
|
fontColor: theme['ic-brand-global-nav-menu-item__text-color'],
|
|
39
39
|
iconColor: theme['ic-brand-global-nav-ic-icon-svg-fill'],
|
|
40
|
-
backgroundColor: theme['ic-brand-global-nav-bgd'],
|
|
41
40
|
hoverBackgroundColor: theme['ic-global-nav-link-hover'],
|
|
42
41
|
selectedFontColor:
|
|
43
42
|
theme['ic-brand-global-nav-menu-item__text-color--active'],
|