@ni/nimble-angular 30.9.9 → 30.11.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/package.json +2 -2
- package/styles/fonts.scss +2 -2
- package/styles/tokens.scss +2 -4
package/README.md
CHANGED
|
@@ -44,13 +44,13 @@ The steps to use components from Nimble Angular are similar to using components
|
|
|
44
44
|
4. Each application should import the Nimble fonts once in the root `src/styles.scss`. Nimble recommends using SCSS for capabilities such as build time property checking.
|
|
45
45
|
|
|
46
46
|
```scss
|
|
47
|
-
@
|
|
47
|
+
@use '@ni/nimble-angular/styles/fonts' as *;
|
|
48
48
|
```
|
|
49
49
|
|
|
50
50
|
5. 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).
|
|
51
51
|
|
|
52
52
|
```scss
|
|
53
|
-
@
|
|
53
|
+
@use '@ni/nimble-angular/styles/tokens' as *;
|
|
54
54
|
|
|
55
55
|
.my-element {
|
|
56
56
|
font-family: $ni-nimble-body-font-family;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ni/nimble-angular",
|
|
3
|
-
"version": "30.
|
|
3
|
+
"version": "30.11.0",
|
|
4
4
|
"description": "Angular components for the NI Nimble Design System",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -272,7 +272,7 @@
|
|
|
272
272
|
"@angular/forms": "^18.2.13",
|
|
273
273
|
"@angular/localize": "^18.2.13",
|
|
274
274
|
"@angular/router": "^18.2.13",
|
|
275
|
-
"@ni/nimble-components": "^34.
|
|
275
|
+
"@ni/nimble-components": "^34.8.0"
|
|
276
276
|
},
|
|
277
277
|
"dependencies": {
|
|
278
278
|
"tslib": "^2.2.0"
|
package/styles/fonts.scss
CHANGED
package/styles/tokens.scss
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
// Nimble Angular Tokens SCSS
|
|
2
|
-
//
|
|
3
|
-
// - Once per SCSS file that is leveraging the tokens (helpful for autocomplete features, etc)
|
|
4
|
-
// - Once globally in the application styles.scss (less noise per file)
|
|
2
|
+
// @use once per SCSS file that is leveraging the tokens (helpful for autocomplete features, etc)
|
|
5
3
|
|
|
6
|
-
@
|
|
4
|
+
@forward '@ni/nimble-components/dist/tokens';
|