@ni/nimble-tokens 1.0.0-beta.31 → 1.0.0-beta.35
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 +21 -21
- package/assets-fonts/README.md +9 -0
- package/assets-fonts/Roboto-Regular.ttf +0 -0
- package/assets-fonts/Roboto-Regular.woff2 +0 -0
- package/assets-fonts/Roboto.LICENSE.txt +202 -0
- package/assets-fonts/SourceSansPro-Regular.woff2 +0 -0
- package/assets-fonts/SourceSansPro.LICENSE.txt +93 -0
- package/assets-fonts/SpaceMono-Regular.woff2 +0 -0
- package/assets-fonts/SpaceMono.LICENSE.txt +93 -0
- package/dist/styledictionary/css/variables.css +100 -99
- package/dist/styledictionary/js/tokens.d.ts +97 -96
- package/dist/styledictionary/js/tokens.js +97 -96
- package/dist/styledictionary/properties/colors.json +93 -93
- package/dist/styledictionary/properties/custom.json +11 -11
- package/dist/styledictionary/properties/fonts.json +232 -227
- package/dist/styledictionary/properties/sizes.json +2 -2
- package/dist/styledictionary/scss/variables.scss +50 -50
- package/dist-icons-esm/nimble-icons-inline.d.ts +594 -594
- package/dist-icons-esm/nimble-icons-inline.js +589 -589
- package/package.json +45 -43
- package/source/fonts.css +26 -0
- package/source/source-sans-pro-font-face.css +0 -5
- package/source/space-mono-font-face.css +0 -5
package/package.json
CHANGED
|
@@ -1,43 +1,45 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@ni/nimble-tokens",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
4
|
-
"description": "Design tokens for the NI Nimble Design System",
|
|
5
|
-
"scripts": {
|
|
6
|
-
"build": "npm run build:svg-to-ts && npm run build:ts",
|
|
7
|
-
"build:svg-to-ts": "svg-to-ts --config source/build/svg-to-ts-config.js",
|
|
8
|
-
"build:ts": "tsc -p ./tsconfig.json",
|
|
9
|
-
"build:ts:watch": "tsc -p ./tsconfig.json -w",
|
|
10
|
-
"pack
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"
|
|
37
|
-
"dist/styledictionary/
|
|
38
|
-
"dist/styledictionary/
|
|
39
|
-
"dist
|
|
40
|
-
"dist
|
|
41
|
-
"
|
|
42
|
-
|
|
43
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@ni/nimble-tokens",
|
|
3
|
+
"version": "1.0.0-beta.35",
|
|
4
|
+
"description": "Design tokens for the NI Nimble Design System",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"build": "npm run build:svg-to-ts && npm run build:ts",
|
|
7
|
+
"build:svg-to-ts": "svg-to-ts --config source/build/svg-to-ts-config.js",
|
|
8
|
+
"build:ts": "tsc -p ./tsconfig.json",
|
|
9
|
+
"build:ts:watch": "tsc -p ./tsconfig.json -w",
|
|
10
|
+
"pack": "npm pack",
|
|
11
|
+
"pack:nuget": "cross-env-shell dotnet pack ./source/NimbleTokens --configuration Release -p:PackageVersion=$npm_package_version",
|
|
12
|
+
"invoke-publish": "npm publish",
|
|
13
|
+
"lint": "eslint ."
|
|
14
|
+
},
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "git+https://github.com/ni/nimble.git"
|
|
18
|
+
},
|
|
19
|
+
"author": {
|
|
20
|
+
"name": "National Instruments"
|
|
21
|
+
},
|
|
22
|
+
"license": "UNLICENSED",
|
|
23
|
+
"bugs": {
|
|
24
|
+
"url": "https://github.com/ni/nimble/issues"
|
|
25
|
+
},
|
|
26
|
+
"homepage": "https://github.com/ni/nimble#readme",
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"@ni/eslint-config-javascript": "^3.0.0",
|
|
29
|
+
"cross-env": "^7.0.3",
|
|
30
|
+
"hex-rgb": "^4.0.0",
|
|
31
|
+
"style-dictionary": "^3.0.3",
|
|
32
|
+
"svg-to-ts": "^6.0.1",
|
|
33
|
+
"typescript": "^4.3.2"
|
|
34
|
+
},
|
|
35
|
+
"files": [
|
|
36
|
+
"assets-fonts/**",
|
|
37
|
+
"dist/styledictionary/css/**",
|
|
38
|
+
"dist/styledictionary/js/**",
|
|
39
|
+
"dist/styledictionary/properties/**",
|
|
40
|
+
"dist/styledictionary/scss/**",
|
|
41
|
+
"dist-icons/**",
|
|
42
|
+
"dist-icons-esm/**",
|
|
43
|
+
"source/*.css"
|
|
44
|
+
]
|
|
45
|
+
}
|
package/source/fonts.css
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: 'Roboto';
|
|
3
|
+
font-style: normal;
|
|
4
|
+
font-weight: 400;
|
|
5
|
+
src: url('../assets-fonts/Roboto-Regular.woff2') format('woff2'),
|
|
6
|
+
url('../assets-fonts/Roboto-Regular.ttf') format('truetype');
|
|
7
|
+
font-display: swap;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
@font-face {
|
|
11
|
+
font-family: 'Source Sans Pro';
|
|
12
|
+
font-style: normal;
|
|
13
|
+
font-weight: 400;
|
|
14
|
+
src: url('../assets-fonts/SourceSansPro-Regular.woff2') format('woff2'),
|
|
15
|
+
url('../assets-fonts/SourceSansPro-Regular.ttf') format('truetype');
|
|
16
|
+
font-display: swap;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@font-face {
|
|
20
|
+
font-family: 'Space Mono';
|
|
21
|
+
font-style: normal;
|
|
22
|
+
font-weight: 400;
|
|
23
|
+
src: url('../assets-fonts/SpaceMono-Regular.woff2') format('woff2'),
|
|
24
|
+
url('../assets-fonts/SpaceMono-Regular.ttf') format('truetype');
|
|
25
|
+
font-display: swap;
|
|
26
|
+
}
|