@conductor-by-89soone/tokens 0.3.0 → 0.4.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.
package/dist/cli.js CHANGED
@@ -556,6 +556,11 @@ var shell = [
556
556
  component("topBar.titleText", ref("text.secondary"), "TopBar context title."),
557
557
  component("topBar.minHeight", value("68px"), "TopBar minimum height.")
558
558
  ];
559
+ var workbench = [
560
+ component("workbench.background", ref("surface.canvas"), "Flat workspace surface."),
561
+ component("workbench.compactPadding", ref("space.2"), "Opt-in compact table cell padding."),
562
+ component("workbench.listHeight", value("240px"), "Bounded combobox option viewport.")
563
+ ];
559
564
  var componentTokens = [
560
565
  ...button,
561
566
  ...card,
@@ -572,7 +577,8 @@ var componentTokens = [
572
577
  ...input,
573
578
  ...overlay,
574
579
  ...page,
575
- ...shell
580
+ ...shell,
581
+ ...workbench
576
582
  ];
577
583
 
578
584
  // src/palette.dark.ts
@@ -777,6 +777,11 @@ var shell = [
777
777
  component("topBar.titleText", ref("text.secondary"), "TopBar context title."),
778
778
  component("topBar.minHeight", value("68px"), "TopBar minimum height.")
779
779
  ];
780
+ var workbench = [
781
+ component("workbench.background", ref("surface.canvas"), "Flat workspace surface."),
782
+ component("workbench.compactPadding", ref("space.2"), "Opt-in compact table cell padding."),
783
+ component("workbench.listHeight", value("240px"), "Bounded combobox option viewport.")
784
+ ];
780
785
  var componentTokens = [
781
786
  ...button,
782
787
  ...card,
@@ -793,7 +798,8 @@ var componentTokens = [
793
798
  ...input,
794
799
  ...overlay,
795
800
  ...page,
796
- ...shell
801
+ ...shell,
802
+ ...workbench
797
803
  ];
798
804
 
799
805
  // src/palette.dark.ts
@@ -14,7 +14,7 @@
14
14
  "checks": 232,
15
15
  "passed": 232,
16
16
  "failed": 0,
17
- "excludedTokens": 229,
17
+ "excludedTokens": 232,
18
18
  "forbiddenPairs": 2
19
19
  },
20
20
  "results": [
@@ -4180,6 +4180,21 @@
4180
4180
  "key": "topBar.minHeight",
4181
4181
  "usage": "decorative",
4182
4182
  "reason": "TopBar minimum height."
4183
+ },
4184
+ {
4185
+ "key": "workbench.background",
4186
+ "usage": "decorative",
4187
+ "reason": "Flat workspace surface."
4188
+ },
4189
+ {
4190
+ "key": "workbench.compactPadding",
4191
+ "usage": "decorative",
4192
+ "reason": "Opt-in compact table cell padding."
4193
+ },
4194
+ {
4195
+ "key": "workbench.listHeight",
4196
+ "usage": "decorative",
4197
+ "reason": "Bounded combobox option viewport."
4183
4198
  }
4184
4199
  ],
4185
4200
  "forbidden": [
package/dist/index.js CHANGED
@@ -421,6 +421,11 @@ var tokens = {
421
421
  eyebrowText: "var(--cdt-top-bar-eyebrow-text)",
422
422
  titleText: "var(--cdt-top-bar-title-text)",
423
423
  minHeight: "var(--cdt-top-bar-min-height)"
424
+ },
425
+ workbench: {
426
+ background: "var(--cdt-workbench-background)",
427
+ compactPadding: "var(--cdt-workbench-compact-padding)",
428
+ listHeight: "var(--cdt-workbench-list-height)"
424
429
  }
425
430
  };
426
431
 
package/dist/tokens.css CHANGED
@@ -347,6 +347,10 @@
347
347
  --cdt-top-bar-eyebrow-text: #5f6d80;
348
348
  --cdt-top-bar-title-text: #c5cfdd;
349
349
  --cdt-top-bar-min-height: 68px;
350
+
351
+ --cdt-workbench-background: #0b101a;
352
+ --cdt-workbench-compact-padding: 8px;
353
+ --cdt-workbench-list-height: 240px;
350
354
  }
351
355
 
352
356
  :root[data-cdt-theme="light"] {
@@ -692,6 +696,10 @@
692
696
  --cdt-top-bar-eyebrow-text: #6b788c;
693
697
  --cdt-top-bar-title-text: #33415a;
694
698
  --cdt-top-bar-min-height: 68px;
699
+
700
+ --cdt-workbench-background: #eef1f6;
701
+ --cdt-workbench-compact-padding: 8px;
702
+ --cdt-workbench-list-height: 240px;
695
703
  }
696
704
 
697
705
  @media (prefers-color-scheme: light) {
@@ -1038,5 +1046,9 @@
1038
1046
  --cdt-top-bar-eyebrow-text: #6b788c;
1039
1047
  --cdt-top-bar-title-text: #33415a;
1040
1048
  --cdt-top-bar-min-height: 68px;
1049
+
1050
+ --cdt-workbench-background: #eef1f6;
1051
+ --cdt-workbench-compact-padding: 8px;
1052
+ --cdt-workbench-list-height: 240px;
1041
1053
  }
1042
1054
  }
package/dist/tokens.d.ts CHANGED
@@ -424,6 +424,11 @@ declare const tokens: {
424
424
  readonly titleText: "var(--cdt-top-bar-title-text)";
425
425
  readonly minHeight: "var(--cdt-top-bar-min-height)";
426
426
  };
427
+ readonly workbench: {
428
+ readonly background: "var(--cdt-workbench-background)";
429
+ readonly compactPadding: "var(--cdt-workbench-compact-padding)";
430
+ readonly listHeight: "var(--cdt-workbench-list-height)";
431
+ };
427
432
  };
428
433
  /** Shape of the token object, with every leaf narrowed to its own string literal. */
429
434
  type Tokens = typeof tokens;
package/dist/tokens.js CHANGED
@@ -417,6 +417,11 @@ var tokens = {
417
417
  eyebrowText: "var(--cdt-top-bar-eyebrow-text)",
418
418
  titleText: "var(--cdt-top-bar-title-text)",
419
419
  minHeight: "var(--cdt-top-bar-min-height)"
420
+ },
421
+ workbench: {
422
+ background: "var(--cdt-workbench-background)",
423
+ compactPadding: "var(--cdt-workbench-compact-padding)",
424
+ listHeight: "var(--cdt-workbench-list-height)"
420
425
  }
421
426
  };
422
427
 
package/dist/tokens.json CHANGED
@@ -3476,6 +3476,41 @@
3476
3476
  "dark": "68px",
3477
3477
  "light": "68px"
3478
3478
  }
3479
+ },
3480
+ {
3481
+ "key": "workbench.background",
3482
+ "cssName": "--cdt-workbench-background",
3483
+ "tier": "component",
3484
+ "usage": "decorative",
3485
+ "description": "Flat workspace surface.",
3486
+ "alias": "surface.canvas",
3487
+ "values": {
3488
+ "dark": "#0b101a",
3489
+ "light": "#eef1f6"
3490
+ }
3491
+ },
3492
+ {
3493
+ "key": "workbench.compactPadding",
3494
+ "cssName": "--cdt-workbench-compact-padding",
3495
+ "tier": "component",
3496
+ "usage": "decorative",
3497
+ "description": "Opt-in compact table cell padding.",
3498
+ "alias": "space.2",
3499
+ "values": {
3500
+ "dark": "8px",
3501
+ "light": "8px"
3502
+ }
3503
+ },
3504
+ {
3505
+ "key": "workbench.listHeight",
3506
+ "cssName": "--cdt-workbench-list-height",
3507
+ "tier": "component",
3508
+ "usage": "decorative",
3509
+ "description": "Bounded combobox option viewport.",
3510
+ "values": {
3511
+ "dark": "240px",
3512
+ "light": "240px"
3513
+ }
3479
3514
  }
3480
3515
  ]
3481
3516
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conductor-by-89soone/tokens",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Theme-aware design tokens and validation CLIs for Conductor.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://89sooner.github.io/design-system/",