@phcdevworks/spectre-tokens 3.2.0 → 3.3.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.
@@ -448,6 +448,22 @@
448
448
  "focusBorder": {
449
449
  "$value": "{colors.info.500}",
450
450
  "$type": "color"
451
+ },
452
+ "borderInvalid": {
453
+ "$value": "{colors.error.500}",
454
+ "$type": "color"
455
+ },
456
+ "bgInvalid": {
457
+ "$value": "{colors.error.50}",
458
+ "$type": "color"
459
+ },
460
+ "borderSuccess": {
461
+ "$value": "{colors.success.500}",
462
+ "$type": "color"
463
+ },
464
+ "bgSuccess": {
465
+ "$value": "{colors.success.50}",
466
+ "$type": "color"
451
467
  }
452
468
  },
453
469
  "textarea": {
@@ -478,6 +494,22 @@
478
494
  "focusBorder": {
479
495
  "$value": "{colors.info.500}",
480
496
  "$type": "color"
497
+ },
498
+ "borderInvalid": {
499
+ "$value": "{colors.error.500}",
500
+ "$type": "color"
501
+ },
502
+ "bgInvalid": {
503
+ "$value": "{colors.error.50}",
504
+ "$type": "color"
505
+ },
506
+ "borderSuccess": {
507
+ "$value": "{colors.success.500}",
508
+ "$type": "color"
509
+ },
510
+ "bgSuccess": {
511
+ "$value": "{colors.success.50}",
512
+ "$type": "color"
481
513
  }
482
514
  },
483
515
  "fieldset": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phcdevworks/spectre-tokens",
3
- "version": "3.2.0",
3
+ "version": "3.3.0",
4
4
  "description": "@phcdevworks/spectre-tokens is the design-token package of the Spectre system for downstream Spectre packages and compatible applications.",
5
5
  "keywords": [
6
6
  "phcdevworks",
@@ -37,7 +37,7 @@
37
37
  "node": "^22.12.0 || >=24.0.0"
38
38
  },
39
39
  "type": "module",
40
- "packageManager": "npm@11.17.0",
40
+ "packageManager": "npm@11.18.0",
41
41
  "main": "./dist/index.cjs",
42
42
  "module": "./dist/index.js",
43
43
  "types": "./dist/index.d.ts",
@@ -65,6 +65,7 @@
65
65
  "build:design": "tsx scripts/build-dtcg.ts",
66
66
  "check:manifest": "tsx scripts/check-contract-manifest.ts",
67
67
  "check:docs": "tsx scripts/check-doc-contract.ts",
68
+ "check:version-sync": "npm run check:docs",
68
69
  "check:dist": "tsx scripts/check-dist-sync.ts",
69
70
  "check:structure": "tsx scripts/assert-core-tokens.ts",
70
71
  "check:locked": "tsx scripts/check-locked-color-contracts.ts",
@@ -96,17 +97,17 @@
96
97
  "devDependencies": {
97
98
  "@phcdevworks/spectre-manifest": "^1.0.0",
98
99
  "@types/node": "^26.0.1",
99
- "@typescript-eslint/eslint-plugin": "^8.62.0",
100
- "@typescript-eslint/parser": "^8.62.0",
100
+ "@typescript-eslint/eslint-plugin": "^8.62.1",
101
+ "@typescript-eslint/parser": "^8.62.1",
101
102
  "colord": "^2.9.3",
102
- "eslint": "^10.5.0",
103
+ "eslint": "^10.6.0",
103
104
  "jiti": "^2.7.0",
104
- "prettier": "^3.8.4",
105
+ "prettier": "^3.9.4",
105
106
  "ts-node": "^10.9.2",
106
107
  "tsup": "^8.5.1",
107
108
  "tsx": "^4.22.4",
108
109
  "typescript": "^6.0.3",
109
- "typescript-eslint": "^8.62.0",
110
+ "typescript-eslint": "^8.62.1",
110
111
  "vitest": "^4.1.9"
111
112
  },
112
113
  "overrides": {
@@ -509,6 +509,24 @@
509
509
  },
510
510
  "focusBorder": {
511
511
  "value": "{colors.info.500}"
512
+ },
513
+ "borderInvalid": {
514
+ "value": "{colors.error.500}"
515
+ },
516
+ "bgInvalid": {
517
+ "value": "{colors.error.50}",
518
+ "metadata": {
519
+ "pair": "component.select.text"
520
+ }
521
+ },
522
+ "borderSuccess": {
523
+ "value": "{colors.success.500}"
524
+ },
525
+ "bgSuccess": {
526
+ "value": "{colors.success.50}",
527
+ "metadata": {
528
+ "pair": "component.select.text"
529
+ }
512
530
  }
513
531
  },
514
532
  "textarea": {
@@ -541,6 +559,24 @@
541
559
  },
542
560
  "focusBorder": {
543
561
  "value": "{colors.info.500}"
562
+ },
563
+ "borderInvalid": {
564
+ "value": "{colors.error.500}"
565
+ },
566
+ "bgInvalid": {
567
+ "value": "{colors.error.50}",
568
+ "metadata": {
569
+ "pair": "component.textarea.text"
570
+ }
571
+ },
572
+ "borderSuccess": {
573
+ "value": "{colors.success.500}"
574
+ },
575
+ "bgSuccess": {
576
+ "value": "{colors.success.50}",
577
+ "metadata": {
578
+ "pair": "component.textarea.text"
579
+ }
544
580
  }
545
581
  },
546
582
  "fieldset": {