ni / nimble

The NI Nimble Design System
https://nimble.ni.dev
MIT License
32 stars 8 forks source link

Nimble theme for select Material 15+ components #1698

Closed fredvisser closed 6 months ago

fredvisser commented 10 months ago

๐Ÿ˜ฏ Problem to Solve

See related AzDO issue: Feature 2579998: Remove Angular Material 14 dependency from SystemLink apps

SystemLink continues to use a handful of Angular Material components that have been themed with the SystemLink Angular Theme (SLAT). With the upgrade to Angular 15, Material components were restructured so that the existing theme is broken. We are continuing to use the Material 14 components in our Angular 15 apps today, but this requires force installing the NPM dependencies, and breaks existing Renovate workflows.

We should theme the Angular Material (version 15) components that are still being used in SystemLink Enterprise to fix Renovate workflows, and to unblock the upgrade to Angular 16+.

๐Ÿ’ Proposed Solution

Create a new Angular theme package with 'nimble-like' styles for:

Search query used

Not needed / no longer used / can remove styles for:

Consider - enabled, disabled, readonly

๐Ÿ“‹ Tasks

rajsite commented 10 months ago

Possible approaches discussed at stand-up:

Create a supported alternates library

Create a Skyline only library

Migrate existing slat

Want to avoid

mollykreis commented 10 months ago

At least within SLE, I don't think we can avoid coordinating the update across all applications since SystemLinkShared has a dependency on Material. I think we'd need all apps to update to Material 15 + styling library at the same time.

fredvisser commented 10 months ago

@NIbokeefe - We should discuss using the Material Theme Builder to create a Material theme so that key components are compatible with Nimble.

msmithNI commented 7 months ago

On the SLE side, we've upgraded systemlink-angular-theme to support Angular Material 15 / MDC components, and updated SystemLinkShared for those updates. See AzDo feature for more info.

Currently we don't have plans to put anything on the Nimble side for Material component theming.