diff --git a/package-lock.json b/package-lock.json index 6920575908..a7fbae78cf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -28037,7 +28037,7 @@ }, "packages/angular-workspace/nimble-angular": { "name": "@ni/nimble-angular", - "version": "28.4.2", + "version": "28.4.4", "license": "MIT", "dependencies": { "tslib": "^2.2.0" @@ -28048,12 +28048,12 @@ "@angular/forms": "^17.3.12", "@angular/localize": "^17.3.12", "@angular/router": "^17.3.12", - "@ni/nimble-components": "^32.5.2" + "@ni/nimble-components": "^32.6.0" } }, "packages/angular-workspace/spright-angular": { "name": "@ni/spright-angular", - "version": "5.1.18", + "version": "5.1.20", "license": "MIT", "dependencies": { "tslib": "^2.2.0" @@ -28061,7 +28061,7 @@ "peerDependencies": { "@angular/common": "^17.3.12", "@angular/core": "^17.3.12", - "@ni/spright-components": "^4.1.18" + "@ni/spright-components": "^4.1.20" } }, "packages/blazor-workspace": { @@ -28082,10 +28082,10 @@ }, "packages/blazor-workspace/NimbleBlazor": { "name": "@ni/nimble-blazor", - "version": "18.4.2", + "version": "18.4.4", "license": "MIT", "peerDependencies": { - "@ni/nimble-components": "^32.5.2", + "@ni/nimble-components": "^32.6.0", "@ni/nimble-tokens": "^8.4.0", "cross-env": "^7.0.3", "rimraf": "^6.0.0" @@ -28156,10 +28156,10 @@ }, "packages/blazor-workspace/SprightBlazor": { "name": "@ni/spright-blazor", - "version": "2.1.18", + "version": "2.1.20", "license": "MIT", "peerDependencies": { - "@ni/spright-components": "^4.1.18", + "@ni/spright-components": "^4.1.20", "cross-env": "^7.0.3", "rimraf": "^6.0.0" } @@ -28193,7 +28193,7 @@ }, "packages/nimble-components": { "name": "@ni/nimble-components", - "version": "32.5.2", + "version": "32.6.0", "license": "MIT", "dependencies": { "@microsoft/fast-colors": "^5.3.1", @@ -28312,12 +28312,12 @@ }, "packages/spright-components": { "name": "@ni/spright-components", - "version": "4.1.18", + "version": "4.1.20", "license": "MIT", "dependencies": { "@microsoft/fast-element": "1.13.0", "@microsoft/fast-foundation": "2.49.6", - "@ni/nimble-components": "^32.5.2", + "@ni/nimble-components": "^32.6.0", "tslib": "^2.2.0" }, "devDependencies": { diff --git a/packages/angular-workspace/nimble-angular/CHANGELOG.json b/packages/angular-workspace/nimble-angular/CHANGELOG.json index 9595a73427..892836c2d4 100644 --- a/packages/angular-workspace/nimble-angular/CHANGELOG.json +++ b/packages/angular-workspace/nimble-angular/CHANGELOG.json @@ -1,6 +1,36 @@ { "name": "@ni/nimble-angular", "entries": [ + { + "date": "Tue, 29 Oct 2024 18:50:54 GMT", + "version": "28.4.4", + "tag": "@ni/nimble-angular_v28.4.4", + "comments": { + "patch": [ + { + "author": "beachball", + "package": "@ni/nimble-angular", + "comment": "Bump @ni/nimble-components to v32.6.0", + "commit": "not available" + } + ] + } + }, + { + "date": "Tue, 29 Oct 2024 16:39:58 GMT", + "version": "28.4.3", + "tag": "@ni/nimble-angular_v28.4.3", + "comments": { + "patch": [ + { + "author": "beachball", + "package": "@ni/nimble-angular", + "comment": "Bump @ni/nimble-components to v32.5.3", + "commit": "not available" + } + ] + } + }, { "date": "Mon, 28 Oct 2024 21:38:16 GMT", "version": "28.4.2", diff --git a/packages/angular-workspace/nimble-angular/CHANGELOG.md b/packages/angular-workspace/nimble-angular/CHANGELOG.md index 46859b4065..1c2cec9ec9 100644 --- a/packages/angular-workspace/nimble-angular/CHANGELOG.md +++ b/packages/angular-workspace/nimble-angular/CHANGELOG.md @@ -1,9 +1,25 @@ # Change Log - @ni/nimble-angular - + +## 28.4.4 + +Tue, 29 Oct 2024 18:50:54 GMT + +### Patches + +- Bump @ni/nimble-components to v32.6.0 + +## 28.4.3 + +Tue, 29 Oct 2024 16:39:58 GMT + +### Patches + +- Bump @ni/nimble-components to v32.5.3 + ## 28.4.2 Mon, 28 Oct 2024 21:38:16 GMT diff --git a/packages/angular-workspace/nimble-angular/package.json b/packages/angular-workspace/nimble-angular/package.json index fdf3adbdf6..a41ac29fd5 100644 --- a/packages/angular-workspace/nimble-angular/package.json +++ b/packages/angular-workspace/nimble-angular/package.json @@ -1,6 +1,6 @@ { "name": "@ni/nimble-angular", - "version": "28.4.2", + "version": "28.4.4", "description": "Angular components for the NI Nimble Design System", "scripts": { "invoke-publish": "npm run invoke-publish:setup && cd ../dist/nimble-angular && npm publish", @@ -32,7 +32,7 @@ "@angular/forms": "^17.3.12", "@angular/localize": "^17.3.12", "@angular/router": "^17.3.12", - "@ni/nimble-components": "^32.5.2" + "@ni/nimble-components": "^32.6.0" }, "dependencies": { "tslib": "^2.2.0" diff --git a/packages/angular-workspace/spright-angular/CHANGELOG.json b/packages/angular-workspace/spright-angular/CHANGELOG.json index 4b703a1d18..9778761862 100644 --- a/packages/angular-workspace/spright-angular/CHANGELOG.json +++ b/packages/angular-workspace/spright-angular/CHANGELOG.json @@ -1,6 +1,36 @@ { "name": "@ni/spright-angular", "entries": [ + { + "date": "Tue, 29 Oct 2024 18:50:54 GMT", + "version": "5.1.20", + "tag": "@ni/spright-angular_v5.1.20", + "comments": { + "patch": [ + { + "author": "beachball", + "package": "@ni/spright-angular", + "comment": "Bump @ni/spright-components to v4.1.20", + "commit": "not available" + } + ] + } + }, + { + "date": "Tue, 29 Oct 2024 16:39:58 GMT", + "version": "5.1.19", + "tag": "@ni/spright-angular_v5.1.19", + "comments": { + "patch": [ + { + "author": "beachball", + "package": "@ni/spright-angular", + "comment": "Bump @ni/spright-components to v4.1.19", + "commit": "not available" + } + ] + } + }, { "date": "Mon, 28 Oct 2024 21:38:16 GMT", "version": "5.1.18", diff --git a/packages/angular-workspace/spright-angular/CHANGELOG.md b/packages/angular-workspace/spright-angular/CHANGELOG.md index 455dd6ac07..809a5d5396 100644 --- a/packages/angular-workspace/spright-angular/CHANGELOG.md +++ b/packages/angular-workspace/spright-angular/CHANGELOG.md @@ -1,9 +1,25 @@ # Change Log - @ni/spright-angular - + +## 5.1.20 + +Tue, 29 Oct 2024 18:50:54 GMT + +### Patches + +- Bump @ni/spright-components to v4.1.20 + +## 5.1.19 + +Tue, 29 Oct 2024 16:39:58 GMT + +### Patches + +- Bump @ni/spright-components to v4.1.19 + ## 5.1.18 Mon, 28 Oct 2024 21:38:16 GMT diff --git a/packages/angular-workspace/spright-angular/package.json b/packages/angular-workspace/spright-angular/package.json index 58e8986bae..764373233b 100644 --- a/packages/angular-workspace/spright-angular/package.json +++ b/packages/angular-workspace/spright-angular/package.json @@ -1,6 +1,6 @@ { "name": "@ni/spright-angular", - "version": "5.1.18", + "version": "5.1.20", "description": "Angular components for NI Spright", "scripts": { "invoke-publish": "npm run invoke-publish:setup && cd ../dist/spright-angular && npm publish", @@ -24,7 +24,7 @@ "peerDependencies": { "@angular/common": "^17.3.12", "@angular/core": "^17.3.12", - "@ni/spright-components": "^4.1.18" + "@ni/spright-components": "^4.1.20" }, "dependencies": { "tslib": "^2.2.0" diff --git a/packages/blazor-workspace/NimbleBlazor/CHANGELOG.json b/packages/blazor-workspace/NimbleBlazor/CHANGELOG.json index 7af40ca669..c99d5d096b 100644 --- a/packages/blazor-workspace/NimbleBlazor/CHANGELOG.json +++ b/packages/blazor-workspace/NimbleBlazor/CHANGELOG.json @@ -1,6 +1,36 @@ { "name": "@ni/nimble-blazor", "entries": [ + { + "date": "Tue, 29 Oct 2024 18:50:54 GMT", + "version": "18.4.4", + "tag": "@ni/nimble-blazor_v18.4.4", + "comments": { + "patch": [ + { + "author": "beachball", + "package": "@ni/nimble-blazor", + "comment": "Bump @ni/nimble-components to v32.6.0", + "commit": "not available" + } + ] + } + }, + { + "date": "Tue, 29 Oct 2024 16:39:58 GMT", + "version": "18.4.3", + "tag": "@ni/nimble-blazor_v18.4.3", + "comments": { + "patch": [ + { + "author": "beachball", + "package": "@ni/nimble-blazor", + "comment": "Bump @ni/nimble-components to v32.5.3", + "commit": "not available" + } + ] + } + }, { "date": "Mon, 28 Oct 2024 21:38:16 GMT", "version": "18.4.2", diff --git a/packages/blazor-workspace/NimbleBlazor/CHANGELOG.md b/packages/blazor-workspace/NimbleBlazor/CHANGELOG.md index de8d5983c4..b64fe0e64b 100644 --- a/packages/blazor-workspace/NimbleBlazor/CHANGELOG.md +++ b/packages/blazor-workspace/NimbleBlazor/CHANGELOG.md @@ -1,9 +1,25 @@ # Change Log - @ni/nimble-blazor - + +## 18.4.4 + +Tue, 29 Oct 2024 18:50:54 GMT + +### Patches + +- Bump @ni/nimble-components to v32.6.0 + +## 18.4.3 + +Tue, 29 Oct 2024 16:39:58 GMT + +### Patches + +- Bump @ni/nimble-components to v32.5.3 + ## 18.4.2 Mon, 28 Oct 2024 21:38:16 GMT diff --git a/packages/blazor-workspace/NimbleBlazor/package.json b/packages/blazor-workspace/NimbleBlazor/package.json index 0c2cdddb07..87073cc9cf 100644 --- a/packages/blazor-workspace/NimbleBlazor/package.json +++ b/packages/blazor-workspace/NimbleBlazor/package.json @@ -1,6 +1,6 @@ { "name": "@ni/nimble-blazor", - "version": "18.4.2", + "version": "18.4.4", "description": "Blazor components for the NI Nimble Design System", "scripts": { "pack": "cross-env-shell dotnet pack -c Release -p:PackageVersion=$npm_package_version --output ../dist", @@ -25,7 +25,7 @@ "!*" ], "peerDependencies": { - "@ni/nimble-components": "^32.5.2", + "@ni/nimble-components": "^32.6.0", "@ni/nimble-tokens": "^8.4.0", "cross-env": "^7.0.3", "rimraf": "^6.0.0" diff --git a/packages/blazor-workspace/SprightBlazor/CHANGELOG.json b/packages/blazor-workspace/SprightBlazor/CHANGELOG.json index f8925740c4..04ae2cb1e6 100644 --- a/packages/blazor-workspace/SprightBlazor/CHANGELOG.json +++ b/packages/blazor-workspace/SprightBlazor/CHANGELOG.json @@ -1,6 +1,36 @@ { "name": "@ni/spright-blazor", "entries": [ + { + "date": "Tue, 29 Oct 2024 18:50:54 GMT", + "version": "2.1.20", + "tag": "@ni/spright-blazor_v2.1.20", + "comments": { + "patch": [ + { + "author": "beachball", + "package": "@ni/spright-blazor", + "comment": "Bump @ni/spright-components to v4.1.20", + "commit": "not available" + } + ] + } + }, + { + "date": "Tue, 29 Oct 2024 16:39:58 GMT", + "version": "2.1.19", + "tag": "@ni/spright-blazor_v2.1.19", + "comments": { + "patch": [ + { + "author": "beachball", + "package": "@ni/spright-blazor", + "comment": "Bump @ni/spright-components to v4.1.19", + "commit": "not available" + } + ] + } + }, { "date": "Mon, 28 Oct 2024 21:38:16 GMT", "version": "2.1.18", diff --git a/packages/blazor-workspace/SprightBlazor/CHANGELOG.md b/packages/blazor-workspace/SprightBlazor/CHANGELOG.md index bf70008c43..4c382825e7 100644 --- a/packages/blazor-workspace/SprightBlazor/CHANGELOG.md +++ b/packages/blazor-workspace/SprightBlazor/CHANGELOG.md @@ -1,9 +1,25 @@ # Change Log - @ni/spright-blazor - + +## 2.1.20 + +Tue, 29 Oct 2024 18:50:54 GMT + +### Patches + +- Bump @ni/spright-components to v4.1.20 + +## 2.1.19 + +Tue, 29 Oct 2024 16:39:58 GMT + +### Patches + +- Bump @ni/spright-components to v4.1.19 + ## 2.1.18 Mon, 28 Oct 2024 21:38:16 GMT diff --git a/packages/blazor-workspace/SprightBlazor/package.json b/packages/blazor-workspace/SprightBlazor/package.json index 4c11ae8e30..1048345694 100644 --- a/packages/blazor-workspace/SprightBlazor/package.json +++ b/packages/blazor-workspace/SprightBlazor/package.json @@ -1,6 +1,6 @@ { "name": "@ni/spright-blazor", - "version": "2.1.18", + "version": "2.1.20", "description": "Blazor components for Spright", "scripts": { "pack": "cross-env-shell dotnet pack -c Release -p:PackageVersion=$npm_package_version --output ../dist", @@ -25,7 +25,7 @@ "!*" ], "peerDependencies": { - "@ni/spright-components": "^4.1.18", + "@ni/spright-components": "^4.1.20", "cross-env": "^7.0.3", "rimraf": "^6.0.0" } diff --git a/packages/nimble-components/CHANGELOG.json b/packages/nimble-components/CHANGELOG.json index 0e1f96388a..c139243c49 100644 --- a/packages/nimble-components/CHANGELOG.json +++ b/packages/nimble-components/CHANGELOG.json @@ -1,6 +1,36 @@ { "name": "@ni/nimble-components", "entries": [ + { + "date": "Tue, 29 Oct 2024 18:50:54 GMT", + "version": "32.6.0", + "tag": "@ni/nimble-components_v32.6.0", + "comments": { + "minor": [ + { + "author": "7282195+m-akinc@users.noreply.github.com", + "package": "@ni/nimble-components", + "commit": "42ed262d11e4c28f298ae87513861cc71a82a1a4", + "comment": "Add a table page object function to get an icon's severity" + } + ] + } + }, + { + "date": "Tue, 29 Oct 2024 16:39:58 GMT", + "version": "32.5.3", + "tag": "@ni/nimble-components_v32.5.3", + "comments": { + "patch": [ + { + "author": "26874831+atmgrifter00@users.noreply.github.com", + "package": "@ni/nimble-components", + "commit": "fae0aeeedc8d2d64dc778cb9f88eb307e286b2ba", + "comment": "Fix issue with tab panel not sizing to height of tabs component." + } + ] + } + }, { "date": "Mon, 28 Oct 2024 21:38:16 GMT", "version": "32.5.2", diff --git a/packages/nimble-components/CHANGELOG.md b/packages/nimble-components/CHANGELOG.md index 1b2f970095..4f659f3ab8 100644 --- a/packages/nimble-components/CHANGELOG.md +++ b/packages/nimble-components/CHANGELOG.md @@ -1,9 +1,25 @@ # Change Log - @ni/nimble-components - + +## 32.6.0 + +Tue, 29 Oct 2024 18:50:54 GMT + +### Minor changes + +- Add a table page object function to get an icon's severity ([ni/nimble@42ed262](https://github.com/ni/nimble/commit/42ed262d11e4c28f298ae87513861cc71a82a1a4)) + +## 32.5.3 + +Tue, 29 Oct 2024 16:39:58 GMT + +### Patches + +- Fix issue with tab panel not sizing to height of tabs component. ([ni/nimble@fae0aee](https://github.com/ni/nimble/commit/fae0aeeedc8d2d64dc778cb9f88eb307e286b2ba)) + ## 32.5.2 Mon, 28 Oct 2024 21:38:16 GMT diff --git a/packages/nimble-components/package.json b/packages/nimble-components/package.json index cefaca0bb8..5bbb098f18 100644 --- a/packages/nimble-components/package.json +++ b/packages/nimble-components/package.json @@ -1,6 +1,6 @@ { "name": "@ni/nimble-components", - "version": "32.5.2", + "version": "32.6.0", "description": "Styled web components for the NI Nimble Design System", "scripts": { "build": "npm run generate-icons && npm run generate-workers && npm run build-components && npm run bundle-components && npm run generate-scss", diff --git a/packages/nimble-components/src/patterns/tabs/styles.ts b/packages/nimble-components/src/patterns/tabs/styles.ts index f77de85841..c38325156d 100644 --- a/packages/nimble-components/src/patterns/tabs/styles.ts +++ b/packages/nimble-components/src/patterns/tabs/styles.ts @@ -36,4 +36,8 @@ export const styles = css` [part='end'] { flex: 1; } + + [part='tabpanel'] { + flex: 1; + } `; diff --git a/packages/nimble-components/src/table/testing/table.pageobject.ts b/packages/nimble-components/src/table/testing/table.pageobject.ts index 8cc66039e1..5ef0628d33 100644 --- a/packages/nimble-components/src/table/testing/table.pageobject.ts +++ b/packages/nimble-components/src/table/testing/table.pageobject.ts @@ -18,6 +18,7 @@ import { Anchor, anchorTag } from '../../anchor'; import { tableGroupRowTag, type TableGroupRow } from '../components/group-row'; import type { Button } from '../../button'; import { Icon } from '../../icon-base'; +import type { IconSeverity } from '../../icon-base/types'; import { Spinner, spinnerTag } from '../../spinner'; import { borderHoverColor } from '../../theme-provider/design-tokens'; @@ -207,6 +208,19 @@ export class TablePageObject { return iconOrSpinner.tagName.toLocaleLowerCase(); } + public getRenderedMappingColumnCellIconSeverity( + rowIndex: number, + columnIndex: number + ): IconSeverity { + const iconOrSpinner = this.getRenderedMappingColumnIconOrSpinner( + this.getRenderedCellView(rowIndex, columnIndex) + ); + if (iconOrSpinner instanceof Icon) { + return iconOrSpinner.severity; + } + throw new Error('Cell does not contain an icon'); + } + public getRenderedGroupHeaderTextContent(groupRowIndex: number): string { return ( this.getGroupRowHeaderView( diff --git a/packages/spright-components/CHANGELOG.json b/packages/spright-components/CHANGELOG.json index 913ca7e388..ea3a4e67ad 100644 --- a/packages/spright-components/CHANGELOG.json +++ b/packages/spright-components/CHANGELOG.json @@ -1,6 +1,36 @@ { "name": "@ni/spright-components", "entries": [ + { + "date": "Tue, 29 Oct 2024 18:50:54 GMT", + "version": "4.1.20", + "tag": "@ni/spright-components_v4.1.20", + "comments": { + "patch": [ + { + "author": "beachball", + "package": "@ni/spright-components", + "comment": "Bump @ni/nimble-components to v32.6.0", + "commit": "not available" + } + ] + } + }, + { + "date": "Tue, 29 Oct 2024 16:39:58 GMT", + "version": "4.1.19", + "tag": "@ni/spright-components_v4.1.19", + "comments": { + "patch": [ + { + "author": "beachball", + "package": "@ni/spright-components", + "comment": "Bump @ni/nimble-components to v32.5.3", + "commit": "not available" + } + ] + } + }, { "date": "Mon, 28 Oct 2024 21:38:16 GMT", "version": "4.1.18", diff --git a/packages/spright-components/CHANGELOG.md b/packages/spright-components/CHANGELOG.md index ec1c3078db..f8a6a5f9e0 100644 --- a/packages/spright-components/CHANGELOG.md +++ b/packages/spright-components/CHANGELOG.md @@ -1,9 +1,25 @@ # Change Log - @ni/spright-components - + +## 4.1.20 + +Tue, 29 Oct 2024 18:50:54 GMT + +### Patches + +- Bump @ni/nimble-components to v32.6.0 + +## 4.1.19 + +Tue, 29 Oct 2024 16:39:58 GMT + +### Patches + +- Bump @ni/nimble-components to v32.5.3 + ## 4.1.18 Mon, 28 Oct 2024 21:38:16 GMT diff --git a/packages/spright-components/package.json b/packages/spright-components/package.json index 5e90795999..277035bd78 100644 --- a/packages/spright-components/package.json +++ b/packages/spright-components/package.json @@ -1,6 +1,6 @@ { "name": "@ni/spright-components", - "version": "4.1.18", + "version": "4.1.20", "description": "NI Spright Components", "scripts": { "build": "npm run build-components && npm run bundle-components", @@ -50,7 +50,7 @@ "dependencies": { "@microsoft/fast-element": "1.13.0", "@microsoft/fast-foundation": "2.49.6", - "@ni/nimble-components": "^32.5.2", + "@ni/nimble-components": "^32.6.0", "tslib": "^2.2.0" }, "devDependencies": { diff --git a/packages/storybook/src/nimble/tabs/tabs-matrix.stories.ts b/packages/storybook/src/nimble/tabs/tabs-matrix.stories.ts index 47038c88f2..466f6d9e4c 100644 --- a/packages/storybook/src/nimble/tabs/tabs-matrix.stories.ts +++ b/packages/storybook/src/nimble/tabs/tabs-matrix.stories.ts @@ -89,3 +89,12 @@ export const panelOverflow: StoryFn = createStory(html` <${tabPanelTag} style="width: 450px;">${loremIpsum} `); + +export const panelSizeToContent: StoryFn = createStory(html` + <${tabsTag} style="width: 400px; height: 400px"> + <${tabTag}>Tab One + <${tabPanelTag} style="width: 400px; height: 100%;"> +
+ + +`);