@ni/nimble-components 34.6.5 → 34.8.2
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/fonts.scss +1 -1
- package/dist/tokens.scss +2 -1
- package/package.json +4 -5
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;
|
package/dist/fonts.scss
CHANGED
package/dist/tokens.scss
CHANGED
|
@@ -3,7 +3,8 @@
|
|
|
3
3
|
// Requires using a <nimble-theme-provider> in the page.
|
|
4
4
|
// For more information see https://github.com/ni/nimble/tree/main/packages/nimble-components#theming
|
|
5
5
|
|
|
6
|
-
@
|
|
6
|
+
@forward 'tokens-internal';
|
|
7
|
+
@use 'tokens-internal' as *;
|
|
7
8
|
|
|
8
9
|
/// DEPRECATED: *-partial tokens are used with rgba() to set color transparency in component stylesheets
|
|
9
10
|
$ni-nimble-action-rgb-partial-color: var($ni-nimble-internal-action-rgb-partial-color);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ni/nimble-components",
|
|
3
|
-
"version": "34.
|
|
3
|
+
"version": "34.8.2",
|
|
4
4
|
"description": "Styled web components for the NI Nimble Design System",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "npm run generate-icons && npm run generate-workers && npm run build-components && npm run bundle-components && npm run generate-scss",
|
|
@@ -45,8 +45,7 @@
|
|
|
45
45
|
},
|
|
46
46
|
"repository": {
|
|
47
47
|
"type": "git",
|
|
48
|
-
"url": "git+https://github.com/ni/nimble.git"
|
|
49
|
-
"directory": "packages/nimble-components"
|
|
48
|
+
"url": "git+https://github.com/ni/nimble.git"
|
|
50
49
|
},
|
|
51
50
|
"publishConfig": {
|
|
52
51
|
"access": "public"
|
|
@@ -64,7 +63,7 @@
|
|
|
64
63
|
"@ni/fast-element": "^10.0.0",
|
|
65
64
|
"@ni/fast-foundation": "^10.1.2",
|
|
66
65
|
"@ni/fast-web-utilities": "^10.0.0",
|
|
67
|
-
"@ni/nimble-tokens": "^8.13.
|
|
66
|
+
"@ni/nimble-tokens": "^8.13.4",
|
|
68
67
|
"@tanstack/table-core": "^8.19.3",
|
|
69
68
|
"@tanstack/virtual-core": "^3.10.6",
|
|
70
69
|
"@tiptap/core": "^3.10.1",
|
|
@@ -103,7 +102,7 @@
|
|
|
103
102
|
"devDependencies": {
|
|
104
103
|
"@ni-private/eslint-config-nimble": "*",
|
|
105
104
|
"@ni-private/jasmine-extensions": "^0.0.1",
|
|
106
|
-
"@ni/jasmine-parameterized": "^1.0.
|
|
105
|
+
"@ni/jasmine-parameterized": "^1.0.5",
|
|
107
106
|
"@rollup/plugin-commonjs": "^29.0.0",
|
|
108
107
|
"@rollup/plugin-node-resolve": "^16.0.0",
|
|
109
108
|
"@rollup/plugin-replace": "^6.0.0",
|