@ni/nimble-tokens 8.0.0 → 8.0.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.
@@ -1,6 +1,5 @@
1
1
  /**
2
- * Do not edit directly
3
- * Generated on Fri, 02 Aug 2024 22:00:00 GMT
2
+ * Do not edit directly, this file was auto-generated.
4
3
  */
5
4
 
6
5
  :root {
@@ -141,12 +140,12 @@
141
140
  --ni-nimble-base-title-1-size: 19px;
142
141
  --ni-nimble-base-link-color-ui-size: 14px;
143
142
  --ni-nimble-base-link-dark-ui-size: 14px;
144
- --ni-nimble-base-headline-2-size: 29.100000381469727px;
143
+ --ni-nimble-base-headline-2-size: 29.1px;
145
144
  --ni-nimble-base-placeholder-size: 14px;
146
145
  --ni-nimble-base-tooltip-caption-size: 11px;
147
146
  --ni-nimble-base-body-emphasized-size: 14px;
148
147
  --ni-nimble-base-body-emphasized-2-size: 16px;
149
- --ni-nimble-base-subtitle-1-size: 12.800000190734863px;
148
+ --ni-nimble-base-subtitle-1-size: 12.8px;
150
149
  --ni-nimble-base-title-3-size: 25px;
151
150
  --ni-nimble-base-subtitle-2-size: 16px;
152
151
  --ni-nimble-base-link-light-ui-size: 14px;
@@ -159,7 +158,7 @@
159
158
  --ni-nimble-base-error-light-ui-size: 11px;
160
159
  --ni-nimble-base-error-dark-ui-size: 11px;
161
160
  --ni-nimble-base-link-selection-100-light-ui-size: 14px;
162
- --ni-nimble-base-grid-header-size: 12.800000190734863px;
161
+ --ni-nimble-base-grid-header-size: 12.8px;
163
162
  --ni-nimble-base-group-label-expander-size: 14px;
164
163
  --ni-nimble-base-body-line-height: 18px;
165
164
  --ni-nimble-base-body-2-line-height: 16px;
@@ -1,6 +1,5 @@
1
1
  /**
2
- * Do not edit directly
3
- * Generated on Fri, 02 Aug 2024 22:00:00 GMT
2
+ * Do not edit directly, this file was auto-generated.
4
3
  */
5
4
 
6
5
  export const SlLegacyBlue : string;
@@ -1,6 +1,5 @@
1
1
  /**
2
- * Do not edit directly
3
- * Generated on Fri, 02 Aug 2024 22:00:00 GMT
2
+ * Do not edit directly, this file was auto-generated.
4
3
  */
5
4
 
6
5
  export const SlLegacyBlue = "#009ff5";
@@ -140,12 +139,12 @@ export const ButtonLabel1Size = "14px";
140
139
  export const Title1Size = "19px";
141
140
  export const LinkColorUiSize = "14px";
142
141
  export const LinkDarkUiSize = "14px";
143
- export const Headline2Size = "29.100000381469727px";
142
+ export const Headline2Size = "29.1px";
144
143
  export const PlaceholderSize = "14px";
145
144
  export const TooltipCaptionSize = "11px";
146
145
  export const BodyEmphasizedSize = "14px";
147
146
  export const BodyEmphasized2Size = "16px";
148
- export const Subtitle1Size = "12.800000190734863px";
147
+ export const Subtitle1Size = "12.8px";
149
148
  export const Title3Size = "25px";
150
149
  export const Subtitle2Size = "16px";
151
150
  export const LinkLightUiSize = "14px";
@@ -158,7 +157,7 @@ export const LinkVisitedLightUiSize = "14px";
158
157
  export const ErrorLightUiSize = "11px";
159
158
  export const ErrorDarkUiSize = "11px";
160
159
  export const LinkSelection100LightUiSize = "14px";
161
- export const GridHeaderSize = "12.800000190734863px";
160
+ export const GridHeaderSize = "12.8px";
162
161
  export const GroupLabelExpanderSize = "14px";
163
162
  export const BodyLineHeight = "18px";
164
163
  export const Body2LineHeight = "16px";
@@ -1,6 +1,5 @@
1
1
 
2
- // Do not edit directly
3
- // Generated on Fri, 02 Aug 2024 22:00:00 GMT
2
+ // Do not edit directly, this file was auto-generated.
4
3
 
5
4
  $ni-nimble-base-sl-legacy-blue: #009ff5;
6
5
  $ni-nimble-base-information-100-dark-ui: #a46eff;
@@ -139,12 +138,12 @@ $ni-nimble-base-button-label-1-size: 14px;
139
138
  $ni-nimble-base-title-1-size: 19px;
140
139
  $ni-nimble-base-link-color-ui-size: 14px;
141
140
  $ni-nimble-base-link-dark-ui-size: 14px;
142
- $ni-nimble-base-headline-2-size: 29.100000381469727px;
141
+ $ni-nimble-base-headline-2-size: 29.1px;
143
142
  $ni-nimble-base-placeholder-size: 14px;
144
143
  $ni-nimble-base-tooltip-caption-size: 11px;
145
144
  $ni-nimble-base-body-emphasized-size: 14px;
146
145
  $ni-nimble-base-body-emphasized-2-size: 16px;
147
- $ni-nimble-base-subtitle-1-size: 12.800000190734863px;
146
+ $ni-nimble-base-subtitle-1-size: 12.8px;
148
147
  $ni-nimble-base-title-3-size: 25px;
149
148
  $ni-nimble-base-subtitle-2-size: 16px;
150
149
  $ni-nimble-base-link-light-ui-size: 14px;
@@ -157,7 +156,7 @@ $ni-nimble-base-link-visited-light-ui-size: 14px;
157
156
  $ni-nimble-base-error-light-ui-size: 11px;
158
157
  $ni-nimble-base-error-dark-ui-size: 11px;
159
158
  $ni-nimble-base-link-selection-100-light-ui-size: 14px;
160
- $ni-nimble-base-grid-header-size: 12.800000190734863px;
159
+ $ni-nimble-base-grid-header-size: 12.8px;
161
160
  $ni-nimble-base-group-label-expander-size: 14px;
162
161
  $ni-nimble-base-body-line-height: 18px;
163
162
  $ni-nimble-base-body-2-line-height: 16px;
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@ni/nimble-tokens",
3
- "version": "8.0.0",
3
+ "version": "8.0.2",
4
4
  "description": "Design tokens for the NI Nimble Design System",
5
5
  "scripts": {
6
6
  "build": "npm run build:svg-to-ts && npm run build:ts && npm run build:generate-font-scss && npm run build:style-dictionary",
7
- "build:svg-to-ts": "svg-to-ts-constants --config build/svg-to-ts-config.js",
8
- "build:generate-font-scss": "node build/generate-font-scss.js",
7
+ "build:svg-to-ts": "svg-to-ts-constants --config ./svg-to-ts-config.json",
8
+ "build:generate-font-scss": "node build/generate-font-scss.cjs",
9
9
  "build:style-dictionary": "cd source/styledictionary && node build.js",
10
10
  "build:ts": "tsc -p ./tsconfig.json",
11
11
  "build:ts:watch": "tsc -p ./tsconfig.json -w",
@@ -14,6 +14,7 @@
14
14
  "pack": "npm pack",
15
15
  "invoke-publish": "npm publish"
16
16
  },
17
+ "type": "module",
17
18
  "repository": {
18
19
  "type": "git",
19
20
  "url": "git+https://github.com/ni/nimble.git"
@@ -31,7 +32,7 @@
31
32
  "homepage": "https://github.com/ni/nimble#readme",
32
33
  "devDependencies": {
33
34
  "@ni-private/eslint-config-nimble": "*",
34
- "style-dictionary": "^3.9.2",
35
+ "style-dictionary": "^4.0.0",
35
36
  "svg-to-ts": "^12.0.0",
36
37
  "typescript": "~5.4.5"
37
38
  },