@abgov/design-tokens 1.7.0 → 1.8.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.
@@ -0,0 +1,42 @@
1
+ {
2
+ "linear-progress-height": {
3
+ "value": "{space.2xs}",
4
+ "type": "sizing",
5
+ "description": "4px - Height of the progress bar track"
6
+ },
7
+ "linear-progress-border-radius": {
8
+ "value": "{borderRadius.m}",
9
+ "type": "borderRadius",
10
+ "description": "8px - Border radius of progress bar and indicator"
11
+ },
12
+ "linear-progress-color-track": {
13
+ "value": "{color.greyscale.200}",
14
+ "type": "color",
15
+ "description": "Background color of the progress bar track"
16
+ },
17
+ "linear-progress-color-indicator": {
18
+ "value": "{color.info.default}",
19
+ "type": "color",
20
+ "description": "Color of the progress indicator (both determinate and indeterminate)"
21
+ },
22
+ "linear-progress-percentage-gap": {
23
+ "value": "{space.xs}",
24
+ "type": "spacing",
25
+ "description": "8px - Gap between the progress bar and percentage text"
26
+ },
27
+ "linear-progress-percentage-color": {
28
+ "value": "{color.text.secondary}",
29
+ "type": "color",
30
+ "description": "Color of the percentage text"
31
+ },
32
+ "linear-progress-percentage-text": {
33
+ "value": "{typography.body.xs}",
34
+ "type": "other",
35
+ "description": "Typography for the percentage text (14px/20px)"
36
+ },
37
+ "linear-progress-percentage-width": {
38
+ "value": "4ch",
39
+ "type": "sizing",
40
+ "description": "Fixed width for percentage text to prevent layout shift"
41
+ }
42
+ }
package/dist/tokens.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 23 Apr 2025 19:26:57 GMT
3
+ * Generated on Tue, 02 Dec 2025 21:56:43 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -147,6 +147,7 @@
147
147
  --goa-circular-progress-color-background: rgba(255, 255, 255, 0.9);
148
148
  --goa-popover-shadow: drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.25));
149
149
  --goa-modal-shadow: 6px 6px 6px 6px rgba(0,0,0,0.16);
150
+ --goa-linear-progress-percentage-width: 4ch;
150
151
  --goa-text-input-transition: box-shadow 0.05s ease-in;
151
152
  --goa-app-header-nav-color-bg-link-item-in-menu: transparent;
152
153
  --goa-app-header-nav-color-bg-link-item-focus: transparent;
@@ -337,6 +338,11 @@
337
338
  --goa-microsite-header-color-bg: var(--goa-color-greyscale-100);
338
339
  --goa-microsite-header-beta-badge-color: var(--goa-color-brand-default);
339
340
  --goa-microsite-header-alpha-badge-color: var(--goa-color-warning-default);
341
+ --goa-linear-progress-percentage-gap: var(--goa-space-xs);
342
+ --goa-linear-progress-color-indicator: var(--goa-color-info-default);
343
+ --goa-linear-progress-color-track: var(--goa-color-greyscale-200);
344
+ --goa-linear-progress-border-radius: var(--goa-border-radius-m);
345
+ --goa-linear-progress-height: var(--goa-space-2xs);
340
346
  --goa-text-input-color-icon: var(--goa-color-greyscale-black);
341
347
  --goa-text-input-size-icon: var(--goa-icon-size-4);
342
348
  --goa-text-input-space-btw-icon-text: var(--goa-space-xs);
@@ -692,6 +698,8 @@
692
698
  --goa-microsite-header-color-version-number: var(--goa-color-text-secondary);
693
699
  --goa-microsite-header-beta-badge-color-text: var(--goa-color-text-light);
694
700
  --goa-microsite-header-alpha-badge-color-text: var(--goa-color-text-default);
701
+ --goa-linear-progress-percentage-text: var(--goa-typography-body-xs);
702
+ --goa-linear-progress-percentage-color: var(--goa-color-text-secondary);
695
703
  --goa-text-input-typography: var(--goa-typography-body-m);
696
704
  --goa-text-input-padding: 7px var(--goa-text-input-padding-lr) 9px;
697
705
  --goa-text-input-lt-content-color-text: var(--goa-color-text-default);
package/dist/tokens.scss CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Wed, 23 Apr 2025 19:26:57 GMT
3
+ // Generated on Tue, 02 Dec 2025 21:56:43 GMT
4
4
 
5
5
  $goa-accordion-color-bg-heading: #f1f1f1;
6
6
  $goa-accordion-color-bg-content: #ffffff;
@@ -452,6 +452,14 @@ $goa-text-input-size-icon: 1.5rem;
452
452
  $goa-text-input-color-icon: #333333;
453
453
  $goa-text-input-transition: box-shadow 0.05s ease-in;
454
454
  $goa-text-input-typography: 400 1.125rem/1.75rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;
455
+ $goa-linear-progress-height: 0.25rem;
456
+ $goa-linear-progress-border-radius: 0.25rem;
457
+ $goa-linear-progress-color-track: #dcdcdc;
458
+ $goa-linear-progress-color-indicator: #004a8f;
459
+ $goa-linear-progress-percentage-gap: 0.5rem;
460
+ $goa-linear-progress-percentage-color: #666666;
461
+ $goa-linear-progress-percentage-text: 400 0.875rem/1.25rem acumin-pro-semi-condensed, helvetica-neue, arial, sans-serif;
462
+ $goa-linear-progress-percentage-width: 4ch;
455
463
  $goa-microsite-header-alpha-badge-color: #f9ce2d;
456
464
  $goa-microsite-header-alpha-badge-color-text: #333333;
457
465
  $goa-microsite-header-beta-badge-color: #0081a2;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/design-tokens",
3
- "version": "1.7.0",
3
+ "version": "1.8.0",
4
4
  "main": "./index.js",
5
5
  "repository": {
6
6
  "type": "git",
@@ -15,13 +15,11 @@
15
15
  "design-tokens"
16
16
  ],
17
17
  "devDependencies": {
18
+ "style-dictionary": "^3.7.1",
18
19
  "jest": "^29.2.1",
19
20
  "rimraf": "^3.0.2",
20
21
  "semantic-release": "^24.2.3"
21
22
  },
22
- "dependencies": {
23
- "style-dictionary": "^3.7.1"
24
- },
25
23
  "scripts": {
26
24
  "build": "node index.js",
27
25
  "test": "jest && rimraf ./tmp",