@ni/nimble-tokens 6.15.0 → 6.15.1

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 CHANGED
@@ -5,7 +5,6 @@
5
5
  # Nimble Tokens
6
6
 
7
7
  [![NPM Version](https://img.shields.io/npm/v/@ni/nimble-tokens.svg)](https://www.npmjs.com/package/@ni/nimble-tokens)
8
- [![Nuget Version](https://img.shields.io/nuget/v/NimbleTokens.svg)](https://www.nuget.org/packages/NimbleTokens)
9
8
 
10
9
  NI base design tokens. Design tokens are primitive elements of component style like color, typography, and spacing. **These should generally not be consumed directly by applications**. See below for guidance.
11
10
 
@@ -60,16 +59,9 @@ In your application JavaScript or TypeScript code, import the token strings you
60
59
  import { White } from '@ni/nimble-tokens/dist/styledictionary/js/tokens';
61
60
  ```
62
61
 
63
- #### Other formats
64
-
65
- Tokens values are also available as:
66
- - [C# strings](/packages/nimble-tokens/dist/styledictionary/csharp/colors.cs)
67
- - [XAML resources](/packages/nimble-tokens/dist/styledictionary/xaml/colors.xaml)
68
-
69
62
  #### Icons
70
63
 
71
- Icons are included in the `nimble-tokens` package, but (like tokens) icons should primarily consumed through framework-specific components. If your desktop application requires icons as `.ico` files, ask a Nimble team member for a copy of the `NimbleTokens.x.x.xx.nupkg` file.
72
-
64
+ Icons are included in the `nimble-tokens` package, but (like tokens) icons should primarily consumed through framework-specific components.
73
65
 
74
66
  #### Font Faces
75
67
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 06 Jun 2024 17:16:12 GMT
3
+ * Generated on Mon, 08 Jul 2024 20:22:42 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 06 Jun 2024 17:16:12 GMT
3
+ * Generated on Mon, 08 Jul 2024 20:22:42 GMT
4
4
  */
5
5
 
6
6
  export const SlLegacyBlue : string;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 06 Jun 2024 17:16:12 GMT
3
+ * Generated on Mon, 08 Jul 2024 20:22:42 GMT
4
4
  */
5
5
 
6
6
  export const SlLegacyBlue = "#009ff5";
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Thu, 06 Jun 2024 17:16:12 GMT
3
+ // Generated on Mon, 08 Jul 2024 20:22:42 GMT
4
4
 
5
5
  $ni-nimble-base-sl-legacy-blue: #009ff5;
6
6
  $ni-nimble-base-information-100-dark-ui: #a46eff;
package/package.json CHANGED
@@ -1,23 +1,18 @@
1
1
  {
2
2
  "name": "@ni/nimble-tokens",
3
- "version": "6.15.0",
3
+ "version": "6.15.1",
4
4
  "description": "Design tokens for the NI Nimble Design System",
5
5
  "scripts": {
6
- "build": "npm run build:svg-to-ts && npm run build:ts && npm run build:svg-to-ico && npm run build:generate-font-scss && npm run build:style-dictionary",
6
+ "build": "npm run build:svg-to-ts && npm run build:ts && npm run build:generate-font-scss && npm run build:style-dictionary",
7
7
  "build:svg-to-ts": "svg-to-ts-constants --config build/svg-to-ts-config.js",
8
- "build:svg-to-ico": "node build/svg-to-ico.js",
9
8
  "build:generate-font-scss": "node build/generate-font-scss.js",
10
9
  "build:style-dictionary": "cd source/styledictionary && node build.js",
11
10
  "build:ts": "tsc -p ./tsconfig.json",
12
11
  "build:ts:watch": "tsc -p ./tsconfig.json -w",
13
12
  "format": "eslint . --fix",
14
13
  "lint": "eslint .",
15
- "pack": "npm run pack:npm && npm run pack:nuget",
16
- "pack:npm": "npm pack",
17
- "pack:nuget": "cross-env-shell dotnet pack ./NimbleTokens --configuration Release -p:PackageVersion=$npm_package_version",
18
- "invoke-publish": "npm run invoke-publish:setup && npm run invoke-publish:nuget && npm publish",
19
- "invoke-publish:setup": "rimraf --glob \"NimbleTokens/bin/Release/*.nupkg\" && npm run pack",
20
- "invoke-publish:nuget": "cross-env-shell dotnet nuget push \"NimbleTokens/bin/Release/*.nupkg\" -k $NUGET_SECRET_TOKEN -s \"https://api.nuget.org/v3/index.json\""
14
+ "pack": "npm pack",
15
+ "invoke-publish": "npm publish"
21
16
  },
22
17
  "repository": {
23
18
  "type": "git",
@@ -35,16 +30,9 @@
35
30
  },
36
31
  "homepage": "https://github.com/ni/nimble#readme",
37
32
  "devDependencies": {
38
- "@microsoft/fast-colors": "^5.3.1",
39
- "@ni/eslint-config-javascript": "^4.2.0",
40
- "cross-env": "^7.0.3",
41
- "glob": "^10.3.10",
42
- "lodash": "^4.17.21",
43
- "rimraf": "^5.0.5",
44
- "sharp": "^0.33.2",
33
+ "@ni-private/eslint-config-nimble": "*",
45
34
  "style-dictionary": "^3.9.2",
46
35
  "svg-to-ts": "^12.0.0",
47
- "to-ico": "^1.1.5",
48
36
  "typescript": "~5.1.6"
49
37
  },
50
38
  "files": [