@fusion.dev/helix-styles 0.144.0 → 0.146.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/base.css CHANGED
@@ -355,6 +355,22 @@ helix-button-group:not([variant="spaced"]) > [data-button]:not(:last-child) {
355
355
  border-start-end-radius: 0;
356
356
  border-end-end-radius: 0;
357
357
  }
358
+ helix-button-group:not([variant="spaced"], [orientation="vertical"]) > button:not(:first-child) {
359
+ border-start-start-radius: 0;
360
+ border-end-start-radius: 0;
361
+ }
362
+ helix-button-group:not([variant="spaced"], [orientation="vertical"]) > button:not(:last-child) {
363
+ border-start-end-radius: 0;
364
+ border-end-end-radius: 0;
365
+ }
366
+ helix-button-group[orientation="vertical"]:not([variant="spaced"]) > button:not(:first-child) {
367
+ border-start-start-radius: 0;
368
+ border-start-end-radius: 0;
369
+ }
370
+ helix-button-group[orientation="vertical"]:not([variant="spaced"]) > button:not(:last-child) {
371
+ border-end-start-radius: 0;
372
+ border-end-end-radius: 0;
373
+ }
358
374
  [data-button="ghost"] {
359
375
  background-color: var(--button-background-color, transparent);
360
376
  border-color: transparent;
@@ -443,7 +459,7 @@ helix-toggle::part(item) {
443
459
  block-size: var(--_toggle-height, auto);
444
460
  border: none;
445
461
  border-radius: var(--_toggle-radius, var(--helix-radii-sm));
446
- color: var(--helix-color-foreground-muted);
462
+ color: var(--toggle-item-color, var(--helix-color-foreground-muted));
447
463
  cursor: pointer;
448
464
  display: inline-flex;
449
465
  flex: 1 1 auto;
@@ -451,7 +467,7 @@ helix-toggle::part(item) {
451
467
  font-size: var(--helix-text-sm);
452
468
  font-weight: var(--helix-weight-medium);
453
469
  justify-content: center;
454
- padding-inline: var(--helix-space-sm);
470
+ padding-inline: var(--toggle-item-padding-inline, var(--helix-space-sm));
455
471
  text-decoration: none;
456
472
  background-color: transparent;
457
473
  transition:
@@ -468,7 +484,10 @@ helix-toggle-group helix-toggle::part(item):hover {
468
484
  }
469
485
  helix-toggle:state(selected)::part(item) {
470
486
  background-color: transparent;
471
- color: var(--helix-color-foreground);
487
+ color: var(--toggle-item-color-selected, var(--helix-color-foreground));
488
+ }
489
+ helix-toggle:state(pressed)::part(item) {
490
+ color: var(--toggle-item-color-selected, var(--helix-color-foreground));
472
491
  }
473
492
  helix-toggle[disabled]::part(item) {
474
493
  cursor: not-allowed;
@@ -482,13 +501,13 @@ helix-toggle[disabled]::part(item) {
482
501
  font-family: var(--helix-font-sans);
483
502
  block-size: 100%;
484
503
  min-block-size: var(--helix-size-control-sm);
485
- border-radius: var(--helix-radii-sm);
486
- color: var(--helix-color-foreground-muted);
504
+ border-radius: var(--navigation-item-radius, var(--helix-radii-sm));
505
+ color: var(--navigation-item-color, var(--helix-color-foreground-muted));
487
506
  display: inline-flex;
488
- font-size: var(--helix-text-sm);
489
- font-weight: var(--helix-weight-medium);
507
+ font-size: var(--navigation-item-font-size, var(--helix-text-sm));
508
+ font-weight: var(--navigation-item-font-weight, var(--helix-weight-medium));
490
509
  justify-content: center;
491
- padding-inline: var(--helix-space-sm);
510
+ padding-inline: var(--navigation-item-padding-inline, var(--helix-space-sm));
492
511
  text-decoration: none;
493
512
  transition:
494
513
  background-color var(--helix-duration-fast) var(--helix-easing-standard),
@@ -499,8 +518,11 @@ helix-toggle[disabled]::part(item) {
499
518
  justify-content: start;
500
519
  }
501
520
  :where([data-navigation-item], helix-navigation a):hover {
502
- background-color: color-mix(in oklab, var(--helix-color-foreground) 5%, transparent);
503
- color: var(--helix-color-foreground);
521
+ background-color: var(
522
+ --navigation-item-hover-background-color,
523
+ color-mix(in oklab, var(--helix-color-foreground) 5%, transparent)
524
+ );
525
+ color: var(--navigation-item-hover-color, var(--helix-color-foreground));
504
526
  }
505
527
  [data-dock] {
506
528
  --_dock-inset: var(--helix-space-lg);
@@ -614,8 +636,8 @@ helix-toggle[disabled]::part(item) {
614
636
  white-space: normal;
615
637
  }
616
638
  :where([data-navigation-item], helix-navigation a)[aria-current="page"] {
617
- color: var(--helix-color-foreground);
618
- font-weight: var(--helix-weight-semibold);
639
+ color: var(--navigation-item-current-color, var(--helix-color-foreground));
640
+ font-weight: var(--navigation-item-current-font-weight, var(--helix-weight-semibold));
619
641
  }
620
642
  :where([data-navigation-item], helix-navigation a) {
621
643
  position: relative;
@@ -885,8 +907,7 @@ helix-toast:not([data-color-mode]) {
885
907
  color-mix(in oklab, var(--helix-color-primary) 32%, transparent)
886
908
  );
887
909
  }
888
- [data-hidden-visually],
889
- helix-skip-link:not(:focus-within) {
910
+ [data-hidden-visually] {
890
911
  block-size: 1px;
891
912
  border: var(--helix-space-none);
892
913
  clip-path: inset(50%);
package/dist/elements.css CHANGED
@@ -82,6 +82,7 @@ helix-map-terrain:not(:defined),
82
82
  helix-megamenu:not(:defined),
83
83
  helix-menu:not(:defined),
84
84
  helix-menu-item:not(:defined),
85
+ helix-menu-section:not(:defined),
85
86
  helix-meter:not(:defined),
86
87
  helix-navigation:not(:defined),
87
88
  helix-notification:not(:defined),
@@ -139,6 +140,7 @@ helix-textarea:not(:defined),
139
140
  helix-time-input:not(:defined),
140
141
  helix-time-picker:not(:defined),
141
142
  helix-timeline:not(:defined),
143
+ helix-timeline-group:not(:defined),
142
144
  helix-timeline-item:not(:defined),
143
145
  helix-toast:not(:defined),
144
146
  helix-toast-item:not(:defined),
@@ -242,6 +244,7 @@ helix-map-terrain[align],
242
244
  helix-megamenu[align],
243
245
  helix-menu[align],
244
246
  helix-menu-item[align],
247
+ helix-menu-section[align],
245
248
  helix-meter[align],
246
249
  helix-navigation[align],
247
250
  helix-notification[align],
@@ -299,6 +302,7 @@ helix-textarea[align],
299
302
  helix-time-input[align],
300
303
  helix-time-picker[align],
301
304
  helix-timeline[align],
305
+ helix-timeline-group[align],
302
306
  helix-timeline-item[align],
303
307
  helix-toast[align],
304
308
  helix-toast-item[align],
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.144.0",
4
+ "version": "0.146.0",
5
5
  "license": "MIT",
6
6
  "author": "Ross Sheppard <ross.sheppard@fusion.dev>",
7
7
  "repository": {