@fusion.dev/helix-styles 0.184.0 → 0.186.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/elements.css CHANGED
@@ -59,6 +59,7 @@ helix-icon:not(:defined),
59
59
  helix-icon-button:not(:defined),
60
60
  helix-image:not(:defined),
61
61
  helix-input:not(:defined),
62
+ helix-isometric-heatmap:not(:defined),
62
63
  helix-kbd:not(:defined),
63
64
  helix-legend:not(:defined),
64
65
  helix-lightbox:not(:defined),
@@ -225,6 +226,7 @@ helix-icon[align],
225
226
  helix-icon-button[align],
226
227
  helix-image[align],
227
228
  helix-input[align],
229
+ helix-isometric-heatmap[align],
228
230
  helix-kbd[align],
229
231
  helix-legend[align],
230
232
  helix-lightbox[align],
@@ -343,37 +345,96 @@ helix-data-table:not(:defined):has(> helix-table-row) {
343
345
  overflow-x: auto;
344
346
  }
345
347
  helix-data-table:not(:defined) {
346
- --data-table-template: repeat(var(--_data-table-count, 1), minmax(max-content, 1fr));
348
+ --data-table-template: var(--_data-table-lead,) repeat(var(--_table-count, 1), minmax(max-content, 1fr));
347
349
  }
348
- helix-data-table:not(:defined):has(> helix-table-column:nth-of-type(1):last-of-type) {
349
- --_data-table-count: 1;
350
+ :is(helix-data-table, helix-table):not(:defined):has(> helix-table-column:nth-of-type(1):last-of-type) {
351
+ --_table-count: 1;
350
352
  }
351
- helix-data-table:not(:defined):has(> helix-table-column:nth-of-type(2):last-of-type) {
352
- --_data-table-count: 2;
353
+ :is(helix-data-table, helix-table):not(:defined):has(> helix-table-column:nth-of-type(2):last-of-type) {
354
+ --_table-count: 2;
353
355
  }
354
- helix-data-table:not(:defined):has(> helix-table-column:nth-of-type(3):last-of-type) {
355
- --_data-table-count: 3;
356
+ :is(helix-data-table, helix-table):not(:defined):has(> helix-table-column:nth-of-type(3):last-of-type) {
357
+ --_table-count: 3;
356
358
  }
357
- helix-data-table:not(:defined):has(> helix-table-column:nth-of-type(4):last-of-type) {
358
- --_data-table-count: 4;
359
+ :is(helix-data-table, helix-table):not(:defined):has(> helix-table-column:nth-of-type(4):last-of-type) {
360
+ --_table-count: 4;
359
361
  }
360
- helix-data-table:not(:defined):has(> helix-table-column:nth-of-type(5):last-of-type) {
361
- --_data-table-count: 5;
362
+ :is(helix-data-table, helix-table):not(:defined):has(> helix-table-column:nth-of-type(5):last-of-type) {
363
+ --_table-count: 5;
362
364
  }
363
- helix-data-table:not(:defined):has(> helix-table-column:nth-of-type(6):last-of-type) {
364
- --_data-table-count: 6;
365
+ :is(helix-data-table, helix-table):not(:defined):has(> helix-table-column:nth-of-type(6):last-of-type) {
366
+ --_table-count: 6;
365
367
  }
366
- helix-data-table:not(:defined):has(> helix-table-column:nth-of-type(7):last-of-type) {
367
- --_data-table-count: 7;
368
+ :is(helix-data-table, helix-table):not(:defined):has(> helix-table-column:nth-of-type(7):last-of-type) {
369
+ --_table-count: 7;
368
370
  }
369
- helix-data-table:not(:defined):has(> helix-table-column:nth-of-type(8):last-of-type) {
370
- --_data-table-count: 8;
371
+ :is(helix-data-table, helix-table):not(:defined):has(> helix-table-column:nth-of-type(8):last-of-type) {
372
+ --_table-count: 8;
371
373
  }
372
- helix-data-table:not(:defined):has(> helix-table-column:nth-of-type(9):last-of-type) {
373
- --_data-table-count: 9;
374
+ :is(helix-data-table, helix-table):not(:defined):has(> helix-table-column:nth-of-type(9):last-of-type) {
375
+ --_table-count: 9;
374
376
  }
375
- helix-data-table:not(:defined):has(> helix-table-column:nth-of-type(10):last-of-type) {
376
- --_data-table-count: 10;
377
+ :is(helix-data-table, helix-table):not(:defined):has(> helix-table-column:nth-of-type(10):last-of-type) {
378
+ --_table-count: 10;
379
+ }
380
+ @supports (grid-template-columns: attr(columns type(*))) {
381
+ helix-data-table:not(:defined)[columns] {
382
+ --data-table-template: var(--_data-table-lead,) attr(columns type(*));
383
+ }
384
+ }
385
+ helix-data-table:not(:defined):is([selectable], [reorderable-rows]:not([child-field])) {
386
+ --_data-table-lead: max-content;
387
+ }
388
+ helix-data-table:not(:defined)[selectable][reorderable-rows]:not([child-field]) {
389
+ --_data-table-lead: calc(1em + 2 * var(--data-table-padding-inline, var(--helix-space-sm)))
390
+ calc(var(--checkbox-size, var(--helix-size-checkbox)) + 2 * var(--data-table-padding-inline, var(--helix-space-sm)));
391
+ }
392
+ helix-data-table:not(:defined):has(> helix-table-row):is([selectable], [reorderable-rows]:not([child-field]))::before,
393
+ helix-data-table:is([selectable], [reorderable-rows]:not([child-field])) > helix-table-row:not([hidden])::before {
394
+ border-block-end: var(--helix-border-thin) solid
395
+ var(--data-table-rule-color, var(--helix-color-border));
396
+ content: '';
397
+ grid-column: 1;
398
+ }
399
+ helix-data-table:is([selectable], [reorderable-rows]:not([child-field])) > helix-table-row:last-of-type::before {
400
+ border-block-end-color: transparent;
401
+ }
402
+ helix-data-table:where([selectable], [reorderable-rows]:not([child-field])) > helix-table-row:not([hidden])::before {
403
+ block-size: 1em;
404
+ box-sizing: content-box;
405
+ inline-size: 1em;
406
+ padding-block: var(--data-table-padding-block, var(--helix-space-sm));
407
+ padding-inline: var(--data-table-padding-inline, var(--helix-space-sm));
408
+ }
409
+ helix-data-table[selectable] > helix-table-row:not([hidden])::before {
410
+ block-size: var(--checkbox-size, var(--helix-size-checkbox));
411
+ inline-size: var(--checkbox-size, var(--helix-size-checkbox));
412
+ }
413
+ helix-data-table:not(:defined):has(> helix-table-row)[selectable][reorderable-rows]:not([child-field])::before,
414
+ helix-data-table[selectable][reorderable-rows]:not([child-field]) > helix-table-row:not([hidden])::before {
415
+ grid-column: 1 / span 2;
416
+ inline-size: auto;
417
+ }
418
+ helix-table:not(:defined):has(> helix-table-column) {
419
+ --table-template: var(--_table-lead,) repeat(var(--_table-count, 1), minmax(max-content, 1fr));
420
+ }
421
+ helix-table:not(:defined)[reorderable] {
422
+ --_table-lead: calc(var(--helix-space-2xs) + 1em + var(--helix-space-sm));
423
+ }
424
+ helix-table:not(:defined)[selectable] {
425
+ --_table-lead: calc(var(--checkbox-size, var(--helix-size-checkbox)) + var(--helix-space-md));
426
+ }
427
+ helix-table:not(:defined)[reorderable][selectable] {
428
+ --_table-lead: calc(var(--helix-space-2xs) + 1em + var(--helix-space-sm))
429
+ calc(var(--checkbox-size, var(--helix-size-checkbox)) + var(--helix-space-md));
430
+ }
431
+ helix-table:not(:defined):is([reorderable], [selectable]) > helix-table-row:not([hidden])::before {
432
+ border-block-end: var(--helix-border-thin) solid var(--helix-color-border);
433
+ content: '';
434
+ grid-column: 1;
435
+ }
436
+ helix-table:not(:defined)[reorderable][selectable] > helix-table-row:not([hidden])::before {
437
+ grid-column: 1 / span 2;
377
438
  }
378
439
  helix-data-table:not(:defined):has(> helix-table-row) > helix-table-column:not([hidden]) {
379
440
  align-items: center;
@@ -434,10 +495,12 @@ helix-data-table:has(> helix-table-column:nth-of-type(9)[text-align="end"]) > he
434
495
  helix-data-table:has(> helix-table-column:nth-of-type(10)[text-align="end"]) > helix-table-row > :nth-child(10) {
435
496
  text-align: end;
436
497
  }
437
- helix-data-table:defined:is([selectable], [reorderable-rows]) > helix-table-row > :first-child {
498
+ helix-data-table:not(:defined):has(> helix-table-row):is([selectable], [reorderable-rows]:not([child-field])) > helix-table-column:first-of-type,
499
+ helix-data-table:is([selectable], [reorderable-rows]:not([child-field])) > helix-table-row > :first-child {
438
500
  grid-column-start: 2;
439
501
  }
440
- helix-data-table:defined[selectable][reorderable-rows] > helix-table-row > :first-child {
502
+ helix-data-table:not(:defined):has(> helix-table-row)[selectable][reorderable-rows]:not([child-field]) > helix-table-column:first-of-type,
503
+ helix-data-table[selectable][reorderable-rows]:not([child-field]) > helix-table-row > :first-child {
441
504
  grid-column-start: 3;
442
505
  }
443
506
  helix-data-table:not(:defined):has(> helix-table-row) > [slot="toolbar"] {
@@ -456,6 +519,17 @@ helix-data-table:not(:defined):has(> helix-table-row) > [slot="footer"] {
456
519
  helix-data-table:not(:defined):has(> helix-table-row):has(> [slot="footer"])::part(footer) {
457
520
  padding-block-start: 0;
458
521
  }
522
+ helix-data-table:not(:defined):has(> helix-table-row):is([page-size]:not([page-size="0"]), [paginated]):not(:has(> [slot="footer"]))::after {
523
+ block-size: var(--pagination-size, var(--helix-size-control-tight));
524
+ content: '';
525
+ grid-column: 1 / -1;
526
+ margin-block-start: var(--data-table-footer-gap, var(--helix-space-sm));
527
+ order: 1;
528
+ }
529
+ helix-data-table:not(:defined):has(> helix-table-row):is([page-size]:not([page-size="0"]), [paginated]) > [slot="footer"] {
530
+ align-content: center;
531
+ min-block-size: var(--pagination-size, var(--helix-size-control-tight));
532
+ }
459
533
  helix-data-table:not(:defined):has(> helix-table-row) > :is([slot="empty"], [slot="error"], [slot="loading"]) {
460
534
  display: none;
461
535
  }
@@ -122,7 +122,7 @@
122
122
  --_helix-size-18: 1.125rem;
123
123
  --_helix-size-24: 1.5rem;
124
124
  --_helix-size-32: 2rem;
125
- --_helix-size-44: 2.75rem;
125
+ --_helix-size-42: 2.625rem;
126
126
  --_helix-ms-120: 120ms;
127
127
  --_helix-ms-200: 200ms;
128
128
  --_helix-ms-320: 320ms;
package/dist/tokens.css CHANGED
@@ -453,7 +453,7 @@
453
453
  --helix-text-lg: var(--_helix-size-18);
454
454
  --helix-text-xl: var(--_helix-size-24);
455
455
  --helix-text-2xl: var(--_helix-size-32);
456
- --helix-text-3xl: var(--_helix-size-44);
456
+ --helix-text-3xl: var(--_helix-size-42);
457
457
  --helix-weight-regular: 400;
458
458
  --helix-weight-medium: 500;
459
459
  --helix-weight-semibold: 600;
package/dist/tokens.json CHANGED
@@ -583,7 +583,7 @@
583
583
  {
584
584
  "category": "text",
585
585
  "name": "--helix-text-3xl",
586
- "value": "var(--_helix-size-44)"
586
+ "value": "var(--_helix-size-42)"
587
587
  },
588
588
  {
589
589
  "category": "weight",
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.184.0",
4
+ "version": "0.186.0",
5
5
  "license": "MIT",
6
6
  "author": "Ross Sheppard <ross.sheppard@fusion.dev>",
7
7
  "repository": {