@ni/nimble-components 34.6.3 → 34.8.0

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/README.md CHANGED
@@ -83,7 +83,7 @@ The theming system is composed of:
83
83
  2. Include one import in your styles for the Nimble fonts. Nimble recommends using SCSS for capabilities such as build-time property checking.
84
84
 
85
85
  ```scss
86
- @import '@ni/nimble-components/dist/fonts';
86
+ @use '@ni/nimble-components/dist/fonts' as *;
87
87
  ```
88
88
 
89
89
  3. As needed, add Nimble components as descendants of the theme provider and they will inherit the theme.
@@ -91,7 +91,7 @@ The theming system is composed of:
91
91
  4. As needed, import the theme-aware design tokens in each SCSS file that will leverage the tokens for other parts of your application (for colors, fonts, etc).
92
92
 
93
93
  ```scss
94
- @import '@ni/nimble-components/dist/tokens';
94
+ @use '@ni/nimble-components/dist/tokens' as *;
95
95
 
96
96
  .my-element {
97
97
  font-family: $ni-nimble-body-font-family;
@@ -70080,6 +70080,11 @@ focus outline in that case.
70080
70080
  /** @internal */
70081
70081
  onCellActionMenuToggle(event, column) {
70082
70082
  this.menuOpen = event.detail.newState;
70083
+ // Workaround for Firefox issue when action menus opened on different rows
70084
+ // See: https://github.com/ni/nimble/issues/2744
70085
+ if (!event.detail.newState) {
70086
+ this.currentActionMenuColumn = undefined;
70087
+ }
70083
70088
  this.emitActionMenuToggleEvent('row-action-menu-toggle', event.detail, column);
70084
70089
  }
70085
70090
  /** @internal */