diff --git a/packages/angular-workspace/angular.json b/packages/angular-workspace/angular.json index f1bb589116..7f6f3a4218 100644 --- a/packages/angular-workspace/angular.json +++ b/packages/angular-workspace/angular.json @@ -150,7 +150,11 @@ } ], "buildOptimizer": true, - "optimization": true, + "optimization": { + "styles": { + "inlineCritical": false + } + }, "sourceMap": true }, "development": { diff --git a/packages/angular-workspace/example-client-app/src/app/customapp/customapp.component.html b/packages/angular-workspace/example-client-app/src/app/customapp/customapp.component.html index 0012056b01..b7985148d5 100644 --- a/packages/angular-workspace/example-client-app/src/app/customapp/customapp.component.html +++ b/packages/angular-workspace/example-client-app/src/app/customapp/customapp.component.html @@ -1,7 +1,10 @@
-

Explore the components below to see the Nimble components in action. See the Nimble - component docs for additional usage details.

+

+ Explore the components below to see the Nimble components in action. See the Nimble + component docs for additional usage details. + Navigate to the parent page. +

Anchor
diff --git a/packages/blazor-workspace/Examples/Demo.Client/wwwroot/index.html b/packages/blazor-workspace/Examples/Demo.Client/wwwroot/index.html index 8e912f7278..39a8be38d7 100644 --- a/packages/blazor-workspace/Examples/Demo.Client/wwwroot/index.html +++ b/packages/blazor-workspace/Examples/Demo.Client/wwwroot/index.html @@ -6,6 +6,7 @@ Blazor All Components Demo - Nimble Design System - NI + diff --git a/packages/blazor-workspace/Examples/Demo.Shared/Pages/ComponentsDemo.razor b/packages/blazor-workspace/Examples/Demo.Shared/Pages/ComponentsDemo.razor index c9a5932b31..88f7c21332 100644 --- a/packages/blazor-workspace/Examples/Demo.Shared/Pages/ComponentsDemo.razor +++ b/packages/blazor-workspace/Examples/Demo.Shared/Pages/ComponentsDemo.razor @@ -1,4 +1,5 @@ @page "/" +@page "/index.html" @namespace Demo.Shared.Pages @inherits LayoutComponentBase @@ -7,6 +8,7 @@ Explore the components below to see the Nimble components in action. See the Nimble component docs for additional usage details. + Navigate to the parent page.

diff --git a/packages/nimble-components/CHANGELOG.json b/packages/nimble-components/CHANGELOG.json index 9716e2f3fb..93bd173233 100644 --- a/packages/nimble-components/CHANGELOG.json +++ b/packages/nimble-components/CHANGELOG.json @@ -1,6 +1,21 @@ { "name": "@ni/nimble-components", "entries": [ + { + "date": "Wed, 11 Dec 2024 14:25:17 GMT", + "version": "32.9.1", + "tag": "@ni/nimble-components_v32.9.1", + "comments": { + "none": [ + { + "author": "20542556+mollykreis@users.noreply.github.com", + "package": "@ni/nimble-components", + "commit": "175279322e7fab0932a68a3d0cefb4da9819a7af", + "comment": "Disable failing tests in Firefox" + } + ] + } + }, { "date": "Tue, 10 Dec 2024 20:15:57 GMT", "version": "32.9.1", diff --git a/packages/nimble-components/src/rich-text/models/tests/markdown-serializer.spec.ts b/packages/nimble-components/src/rich-text/models/tests/markdown-serializer.spec.ts index bac3489a91..aa2680fa6d 100644 --- a/packages/nimble-components/src/rich-text/models/tests/markdown-serializer.spec.ts +++ b/packages/nimble-components/src/rich-text/models/tests/markdown-serializer.spec.ts @@ -337,7 +337,8 @@ Plain text 3`); `); }); - it('Mention node', async () => { + // Firefox skipped, see https://github.com/ni/nimble/issues/2488 + it('Mention node #SkipFirefox', async () => { await appendUserMentionConfiguration(element, [ { key: 'user:1', displayName: 'username1' } ]); @@ -347,7 +348,8 @@ Plain text 3`); expect(element.getMarkdown()).toEqual(' '); }); - it('Multiple Mention node of same type', async () => { + // Firefox skipped, see https://github.com/ni/nimble/issues/2488 + it('Multiple Mention node of same type #SkipFirefox', async () => { await appendUserMentionConfiguration(element, [ { key: 'user:1', displayName: 'username1' }, { key: 'user:2', displayName: 'username2' } diff --git a/packages/nimble-components/src/table-column/duration-text/tests/table-column-duration-text.spec.ts b/packages/nimble-components/src/table-column/duration-text/tests/table-column-duration-text.spec.ts index 540a6e9235..bac0d350e9 100644 --- a/packages/nimble-components/src/table-column/duration-text/tests/table-column-duration-text.spec.ts +++ b/packages/nimble-components/src/table-column/duration-text/tests/table-column-duration-text.spec.ts @@ -142,7 +142,8 @@ describe('TableColumnDurationText', () => { expect(tablePageObject.getCellTitle(0, 0)).toEqual(''); }); - it('removes title on mouseout of cell', async () => { + // Firefox skipped, see https://github.com/ni/nimble/issues/2490 + it('removes title on mouseout of cell #SkipFirefox', async () => { table.style.width = '100px'; await table.setData([{ field: 8607022000 }]); await waitForUpdatesAsync(); @@ -161,7 +162,8 @@ describe('TableColumnDurationText', () => { ); }); - it('updates displayed date when lang token changes', async () => { + // Firefox skipped, see https://github.com/ni/nimble/issues/2490 + it('updates displayed date when lang token changes #SkipFirefox', async () => { await table.setData([{ field: 8607022000 }]); await waitForUpdatesAsync(); expect(tablePageObject.getRenderedCellTextContent(0, 0)).toBe( diff --git a/packages/nimble-components/src/table/tests/table.spec.ts b/packages/nimble-components/src/table/tests/table.spec.ts index f70939ba18..82aadfc841 100644 --- a/packages/nimble-components/src/table/tests/table.spec.ts +++ b/packages/nimble-components/src/table/tests/table.spec.ts @@ -2620,7 +2620,8 @@ describe('Table', () => { await waitForUpdatesAsync(); } - it('maintains scroll position if data does not change', async () => { + // Firefox skipped, see https://github.com/ni/nimble/issues/2491 + it('maintains scroll position if data does not change #SkipFirefox', async () => { await setDataAndScrollToBottom(largeData200); const scrollTopBeforeDisconnect = element.viewport.scrollTop; const firstRenderedRowBeforeDisconnect = getFirstRenderedRowDataIndex(largeData200); @@ -2634,7 +2635,8 @@ describe('Table', () => { ); }); - it('updates scroll position if data length is reduced while not attached', async () => { + // Firefox skipped, see https://github.com/ni/nimble/issues/2491 + it('updates scroll position if data length is reduced while not attached #SkipFirefox', async () => { await setDataAndScrollToBottom(largeData400); const scrollTopBeforeDisconnect = element.viewport.scrollTop; const firstRenderedRowBeforeDisconnect = getFirstRenderedRowDataIndex(largeData400); @@ -2689,7 +2691,8 @@ describe('Table', () => { ); }); - it('adjusts the number of rendered rows when the table height decreases while not attached', async () => { + // Firefox skipped, see https://github.com/ni/nimble/issues/2491 + it('adjusts the number of rendered rows when the table height decreases while not attached #SkipFirefox', async () => { element.style.height = '500px'; await element.setData(largeData200); await waitForUpdatesAsync(); diff --git a/packages/performance/src/index.html b/packages/performance/src/index.html index b9bbae9c45..9488cf8d5c 100644 --- a/packages/performance/src/index.html +++ b/packages/performance/src/index.html @@ -12,5 +12,6 @@

Performance tests

+ Navigate to the parent page. diff --git a/packages/performance/src/wafer-map/index.html b/packages/performance/src/wafer-map/index.html index 96bfc7272a..c379ffc54d 100644 --- a/packages/performance/src/wafer-map/index.html +++ b/packages/performance/src/wafer-map/index.html @@ -9,6 +9,7 @@ +

Navigate to the parent page.

See devtools performance timing for results.

Loading...

diff --git a/packages/site/landing/index.html b/packages/site/landing/index.html index bec4d92c0b..d15fe9242c 100644 --- a/packages/site/landing/index.html +++ b/packages/site/landing/index.html @@ -25,7 +25,7 @@
- +
Blazor Logo
Blazor Demo
diff --git a/packages/site/package.json b/packages/site/package.json index 8da9c94acc..63246a37c0 100644 --- a/packages/site/package.json +++ b/packages/site/package.json @@ -6,7 +6,7 @@ "scripts": { "build": "npm run build:landing && npm run build:eleventy", "build:eleventy": "eleventy", - "build:landing": "tsc && vite build landing", + "build:landing": "tsc && vite --config ./vite.config.js build landing", "pack": "npm pack", "lint": "eslint .", "start:eleventy": "eleventy --serve", diff --git a/packages/site/vite.config.js b/packages/site/vite.config.js new file mode 100644 index 0000000000..ab2d3d1181 --- /dev/null +++ b/packages/site/vite.config.js @@ -0,0 +1,7 @@ +// eslint-disable-next-line import/no-extraneous-dependencies +import { defineConfig } from 'vite'; + +// eslint-disable-next-line import/no-default-export +export default defineConfig({ + base: './' +}); diff --git a/packages/storybook/src/docs/nimble-intro.mdx b/packages/storybook/src/docs/nimble-intro.mdx index b7c44300b0..de1e323da8 100644 --- a/packages/storybook/src/docs/nimble-intro.mdx +++ b/packages/storybook/src/docs/nimble-intro.mdx @@ -22,11 +22,11 @@ documentation on using or contributing to the component libraries. To add or update component design documentation, refer to the [documentation guide](https://github.com/ni/nimble/tree/main/packages/storybook/CONTRIBUTING.md). -See the
example Angular app -or example Blazor app -using the components! +{/* prettier-ignore */} +

See the example Angular app or example Blazor app using the components!

-See the component performance tests. +{/* prettier-ignore */} +

See the component performance tests. Navigate to the parent page.

## How to use this site?