@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 +2 -2
- package/dist/all-components-bundle.js +5 -0
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +1 -1
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/table/components/row/index.js +5 -0
- package/dist/esm/table/components/row/index.js.map +1 -1
- package/dist/fonts.scss +1 -1
- package/dist/tokens.scss +2 -1
- package/package.json +1 -1
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
|
-
@
|
|
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
|
-
@
|
|
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 */
|