@hashicorp/design-system-components 2.3.0 → 2.3.1
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,13 @@
|
|
|
1
1
|
# @hashicorp/design-system-components
|
|
2
2
|
|
|
3
|
+
## 2.3.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1338](https://github.com/hashicorp/design-system/pull/1338) [`2bc23fd20`](https://github.com/hashicorp/design-system/commit/2bc23fd20bafdedda65126f606c345ea5eb6fa1e) Thanks [@didoo](https://github.com/didoo)! - `SideNav` - Fix issue with links being clickable even if not visible
|
|
8
|
+
|
|
9
|
+
- [#1339](https://github.com/hashicorp/design-system/pull/1339) [`ea8edb9bf`](https://github.com/hashicorp/design-system/commit/ea8edb9bf0567b5dc97ded9efbfeb5c6f27f52d5) Thanks [@didoo](https://github.com/didoo)! - `SideNav` - Updated CSS declaration that was causing an horizontal scrollbar to appear in some conditions
|
|
10
|
+
|
|
3
11
|
## 2.3.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
}}
|
|
5
5
|
|
|
6
6
|
<Portal @target={{if @targetName @targetName "hds-side-nav-portal-target"}}>
|
|
7
|
-
<div class="hds-side-nav__content-panel" ...attributes>
|
|
7
|
+
<div class="hds-side-nav__content-panel hds-side-nav-hide-when-minimized" ...attributes>
|
|
8
8
|
<Hds::SideNav::List aria-label={{@ariaLabel}} as |ListElements|>
|
|
9
9
|
{{yield ListElements}}
|
|
10
10
|
</Hds::SideNav::List>
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
@multiple={{true}}
|
|
9
9
|
@onChange={{this.panelsChanged}}
|
|
10
10
|
@name={{if @targetName @targetName "hds-side-nav-portal-target"}}
|
|
11
|
-
class="hds-side-nav__content-panels
|
|
11
|
+
class="hds-side-nav__content-panels"
|
|
12
12
|
{{did-update this.didUpdateSubnav this.numSubnavs}}
|
|
13
13
|
/>
|
|
14
14
|
</div>
|
|
@@ -167,6 +167,10 @@
|
|
|
167
167
|
padding:
|
|
168
168
|
var(--token-side-nav-wrapper-padding-vertical)
|
|
169
169
|
var(--token-side-nav-wrapper-padding-horizontal);
|
|
170
|
+
// this is necessary, otherwise when the sidenav is minimized an horizontal scrollbar may appear
|
|
171
|
+
// (if there are words longer than the width of the available space for the list "item" content)
|
|
172
|
+
overflow-x: hidden;
|
|
173
|
+
// we want the content to vertically scroll if needed
|
|
170
174
|
overflow-y: auto;
|
|
171
175
|
}
|
|
172
176
|
|