@fusion.dev/helix-styles 0.215.0 → 0.215.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.
package/dist/elements.css CHANGED
@@ -458,6 +458,75 @@ helix-table:not(:defined):is([reorderable], [selectable]) > helix-table-row:not(
458
458
  helix-table:not(:defined)[reorderable][selectable] > helix-table-row:not([hidden])::before {
459
459
  grid-column: 1 / span 2;
460
460
  }
461
+ helix-table:not(:defined) {
462
+ display: grid;
463
+ grid-template-columns: var(--table-columns, var(--table-template, minmax(0, 1fr)));
464
+ overflow-x: auto;
465
+ }
466
+ @supports (grid-template-columns: attr(columns type(*))) {
467
+ helix-table:not(:defined)[columns] {
468
+ --table-template: var(--_table-lead,) attr(columns type(*));
469
+ }
470
+ }
471
+ helix-table:not(:defined) > [slot="heading"] {
472
+ grid-column: 1 / -1;
473
+ order: -1;
474
+ }
475
+ @layer {
476
+ helix-table:not(:defined) > [slot="heading"] {
477
+ display: block;
478
+ font-family: var(--helix-font-sans);
479
+ font-size: var(--table-title-text, var(--helix-text-md));
480
+ font-weight: var(--helix-weight-semibold);
481
+ margin-block: var(--helix-space-none) var(--table-title-gap, var(--helix-space-sm));
482
+ }
483
+ }
484
+ helix-table:not(:defined) > helix-table-column,
485
+ helix-table:not(:defined) > helix-table-row > helix-table-cell {
486
+ align-items: center;
487
+ border-block-end: var(--helix-border-thin) solid var(--helix-color-border);
488
+ box-sizing: border-box;
489
+ display: flex;
490
+ font-size: var(--helix-text-sm);
491
+ min-inline-size: 0;
492
+ padding-inline: var(--helix-space-none) var(--helix-space-md);
493
+ }
494
+ helix-table:not(:defined) > helix-table-column {
495
+ font-family: var(--helix-font-sans);
496
+ font-weight: var(--helix-weight-semibold);
497
+ min-block-size: var(--helix-size-control-loose);
498
+ }
499
+ helix-table:not(:defined) > helix-table-column::part(column) {
500
+ border: none;
501
+ min-block-size: 0;
502
+ padding: 0;
503
+ }
504
+ helix-table:not(:defined) > helix-table-row > helix-table-cell {
505
+ min-block-size: var(--helix-size-control);
506
+ overflow-wrap: anywhere;
507
+ padding-block: var(--helix-space-xs);
508
+ }
509
+ helix-table:not(:defined) > helix-table-row > helix-table-cell[header] {
510
+ font-weight: var(--helix-weight-medium);
511
+ }
512
+ helix-table:not(:defined) > helix-table-row:not([hidden]) {
513
+ display: contents;
514
+ }
515
+ helix-table:not(:defined):is([reorderable], [selectable])::before {
516
+ border-block-end: var(--helix-border-thin) solid var(--helix-color-border);
517
+ content: '';
518
+ grid-column: 1;
519
+ }
520
+ helix-table:not(:defined)[reorderable][selectable]::before {
521
+ grid-column: 1 / span 2;
522
+ }
523
+ helix-table:not(:defined) > :is([slot="empty"], [slot="error"], [slot="loading"]) {
524
+ display: none;
525
+ }
526
+ helix-table:not(:defined)[windowed] {
527
+ block-size: var(--table-block-size, 24em);
528
+ overflow-y: auto;
529
+ }
461
530
  helix-data-table:not(:defined):has(> helix-table-row) > helix-table-column:not([hidden]) {
462
531
  align-items: center;
463
532
  border-block-end: var(--helix-border-thin) solid
package/dist/tokens.css CHANGED
@@ -16,6 +16,9 @@
16
16
  );
17
17
  color-scheme: light dark;
18
18
  }
19
+ [data-color-mode]:not(helix-card, helix-canvas-node) {
20
+ --_heading-ink: initial;
21
+ }
19
22
  [data-color-mode="light"] {
20
23
  --_helix-mode: light;
21
24
  --_helix-mode-inverted: dark;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fusion.dev/helix-styles",
3
3
  "description": "Design tokens and base layer. Pure CSS, no JavaScript.",
4
- "version": "0.215.0",
4
+ "version": "0.215.2",
5
5
  "license": "MIT",
6
6
  "author": "Ross Sheppard <ross.sheppard@fusion.dev>",
7
7
  "repository": {