@pimolu/web-styles 0.1.0-beta.1 → 0.1.0-beta.3

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/pimolu.css CHANGED
@@ -2880,7 +2880,9 @@
2880
2880
  pointer-events: none;
2881
2881
  }
2882
2882
  .pimolu-select__listbox {
2883
+ box-sizing: border-box;
2883
2884
  overflow-y: auto;
2885
+ scroll-padding-block: 4px;
2884
2886
  margin: 0;
2885
2887
  padding: 4px;
2886
2888
  border: 1px solid var(--pimolu-border);
@@ -3631,6 +3633,7 @@
3631
3633
 
3632
3634
  /* src/slider.css */
3633
3635
  .pimolu-slider {
3636
+ --pimolu-slider-direction: var(--pimolu-slider-inherited-direction, to right);
3634
3637
  --pimolu-slider-track-height: 6px;
3635
3638
  --pimolu-slider-thumb-size: 18px;
3636
3639
  --pimolu-slider-gap: 8px;
@@ -3645,6 +3648,12 @@
3645
3648
  font-family: var(--pimolu-font-body, inherit);
3646
3649
  color: var(--pimolu-foreground, currentColor);
3647
3650
  }
3651
+ [dir=rtl] {
3652
+ --pimolu-slider-inherited-direction: to left;
3653
+ }
3654
+ [dir=ltr] {
3655
+ --pimolu-slider-inherited-direction: to right;
3656
+ }
3648
3657
  .pimolu-slider--sm {
3649
3658
  --pimolu-slider-track-height: 4px;
3650
3659
  --pimolu-slider-thumb-size: 14px;
@@ -3702,7 +3711,7 @@
3702
3711
  border-radius: 9999px;
3703
3712
  background:
3704
3713
  linear-gradient(
3705
- to right,
3714
+ var(--pimolu-slider-direction, to right),
3706
3715
  var(--pimolu-slider-tone) 0,
3707
3716
  var(--pimolu-slider-tone) var(--pimolu-slider-progress, 0%),
3708
3717
  var(--pimolu-slider-track) var(--pimolu-slider-progress, 0%),
@@ -3795,6 +3804,7 @@
3795
3804
 
3796
3805
  /* src/range-slider.css */
3797
3806
  .pimolu-range-slider {
3807
+ --pimolu-range-slider-direction: var(--pimolu-range-slider-inherited-direction, to right);
3798
3808
  --pimolu-range-slider-track-height: 6px;
3799
3809
  --pimolu-range-slider-thumb-size: 18px;
3800
3810
  --pimolu-range-slider-gap: 8px;
@@ -3808,6 +3818,12 @@
3808
3818
  font-family: var(--pimolu-font-body, inherit);
3809
3819
  color: var(--pimolu-foreground, currentColor);
3810
3820
  }
3821
+ [dir=rtl] {
3822
+ --pimolu-range-slider-inherited-direction: to left;
3823
+ }
3824
+ [dir=ltr] {
3825
+ --pimolu-range-slider-inherited-direction: to right;
3826
+ }
3811
3827
  .pimolu-range-slider--sm {
3812
3828
  --pimolu-range-slider-track-height: 4px;
3813
3829
  --pimolu-range-slider-thumb-size: 14px;
@@ -3863,7 +3879,7 @@
3863
3879
  pointer-events: none;
3864
3880
  background:
3865
3881
  linear-gradient(
3866
- to right,
3882
+ var(--pimolu-range-slider-direction, to right),
3867
3883
  var(--pimolu-range-slider-track) 0,
3868
3884
  var(--pimolu-range-slider-track) var(--pimolu-range-slider-start),
3869
3885
  var(--pimolu-range-slider-tone) var(--pimolu-range-slider-start),
@@ -4165,10 +4181,32 @@
4165
4181
  }
4166
4182
  .pimolu-circular-progress__value {
4167
4183
  position: absolute;
4168
- font-size: max(0.625rem, calc(var(--pimolu-circular-progress-diameter) * 0.26));
4184
+ font-size: max(0.625rem, calc(var(--pimolu-circular-progress-diameter) * 0.20));
4169
4185
  font-variant-numeric: tabular-nums;
4170
4186
  line-height: 1;
4171
4187
  color: var(--pimolu-muted-foreground, currentColor);
4188
+ max-width: 68%;
4189
+ overflow: hidden;
4190
+ text-overflow: ellipsis;
4191
+ white-space: nowrap;
4192
+ font-weight: 600;
4193
+ }
4194
+ .pimolu-circular-progress[data-empty=true] .pimolu-circular-progress__indicator {
4195
+ opacity: 0;
4196
+ }
4197
+ .pimolu-circular-progress--sm:has(.pimolu-circular-progress__value) {
4198
+ width: auto;
4199
+ gap: 8px;
4200
+ }
4201
+ .pimolu-circular-progress--sm .pimolu-circular-progress__svg {
4202
+ width: var(--pimolu-circular-progress-diameter);
4203
+ height: var(--pimolu-circular-progress-diameter);
4204
+ flex: none;
4205
+ }
4206
+ .pimolu-circular-progress--sm .pimolu-circular-progress__value {
4207
+ position: static;
4208
+ max-width: none;
4209
+ font-size: 0.75rem;
4172
4210
  }
4173
4211
  .pimolu-circular-progress--indeterminate .pimolu-circular-progress__svg {
4174
4212
  animation: pimolu-circular-progress-rotate 1.4s linear infinite;
@@ -5985,6 +6023,10 @@ button.pimolu-stepper__button:hover .pimolu-stepper__marker {
5985
6023
  align-items: center;
5986
6024
  gap: 8px;
5987
6025
  flex: none;
6026
+ max-width: 100%;
6027
+ min-width: 0;
6028
+ overflow: hidden;
6029
+ text-overflow: ellipsis;
5988
6030
  color: inherit;
5989
6031
  font-size: 0.9375rem;
5990
6032
  font-weight: 700;
@@ -6005,6 +6047,8 @@ button.pimolu-stepper__button:hover .pimolu-stepper__marker {
6005
6047
  min-width: 0;
6006
6048
  }
6007
6049
  .pimolu-navbar__item {
6050
+ box-sizing: border-box;
6051
+ min-height: 40px;
6008
6052
  display: inline-flex;
6009
6053
  align-items: center;
6010
6054
  gap: 6px;
@@ -6146,6 +6190,7 @@ button.pimolu-stepper__button:hover .pimolu-stepper__marker {
6146
6190
  box-sizing: border-box;
6147
6191
  width: 100%;
6148
6192
  white-space: normal;
6193
+ min-height: 44px;
6149
6194
  }
6150
6195
  .pimolu-navbar[data-collapsible=true][data-open=true] .pimolu-navbar__actions {
6151
6196
  display: flex;
@@ -6161,6 +6206,15 @@ button.pimolu-stepper__button:hover .pimolu-stepper__marker {
6161
6206
  padding: 10px 16px;
6162
6207
  }
6163
6208
  }
6209
+ @container pimolu-navbar (max-width: 700px) {
6210
+ .pimolu-navbar[data-collapsible=true] .pimolu-navbar__brand {
6211
+ max-width: calc(100% - 64px);
6212
+ }
6213
+ .pimolu-navbar__toggle {
6214
+ min-width: 44px;
6215
+ min-height: 44px;
6216
+ }
6217
+ }
6164
6218
  @media (forced-colors: active) {
6165
6219
  .pimolu-navbar {
6166
6220
  border-color: CanvasText;
@@ -6208,10 +6262,35 @@ button.pimolu-stepper__button:hover .pimolu-stepper__marker {
6208
6262
  padding: 12px 6px;
6209
6263
  gap: 16px;
6210
6264
  }
6211
- .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header,
6212
- .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__footer {
6265
+ .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header:not([data-has-collapsed-content]),
6266
+ .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__footer:not([data-has-collapsed-content]) {
6267
+ display: none;
6268
+ }
6269
+ .pimolu-sidebar__expanded {
6270
+ display: contents;
6271
+ }
6272
+ .pimolu-sidebar__compact {
6273
+ display: none;
6274
+ }
6275
+ .pimolu-sidebar[data-collapsed=true] .pimolu-sidebar__expanded {
6213
6276
  display: none;
6214
6277
  }
6278
+ .pimolu-sidebar[data-collapsed=true] .pimolu-sidebar__compact {
6279
+ display: flex;
6280
+ align-items: center;
6281
+ justify-content: center;
6282
+ }
6283
+ .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header[data-has-collapsed-content] {
6284
+ display: flex;
6285
+ justify-content: center;
6286
+ order: -2;
6287
+ padding: 0;
6288
+ }
6289
+ .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__footer[data-has-collapsed-content] {
6290
+ display: flex;
6291
+ justify-content: center;
6292
+ padding: 12px 0 0;
6293
+ }
6215
6294
  .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__content {
6216
6295
  flex: 1 1 auto;
6217
6296
  gap: 16px;
@@ -6246,8 +6325,8 @@ button.pimolu-stepper__button:hover .pimolu-stepper__marker {
6246
6325
  inset-inline-end: 12px;
6247
6326
  display: grid;
6248
6327
  place-items: center;
6249
- width: 36px;
6250
- height: 36px;
6328
+ width: 40px;
6329
+ height: 40px;
6251
6330
  z-index: 1;
6252
6331
  padding: 0;
6253
6332
  border: 1px solid var(--pimolu-border);
@@ -6273,7 +6352,8 @@ button.pimolu-stepper__button:hover .pimolu-stepper__marker {
6273
6352
  display: flex;
6274
6353
  align-items: center;
6275
6354
  gap: 10px;
6276
- padding: 8px 46px 16px 8px;
6355
+ padding-block: 8px 16px;
6356
+ padding-inline: 8px 52px;
6277
6357
  min-width: 0;
6278
6358
  }
6279
6359
  .pimolu-sidebar__content {
@@ -6304,11 +6384,12 @@ button.pimolu-stepper__button:hover .pimolu-stepper__marker {
6304
6384
  text-transform: uppercase;
6305
6385
  }
6306
6386
  .pimolu-sidebar__item {
6387
+ position: relative;
6307
6388
  display: flex;
6308
6389
  align-items: center;
6309
6390
  gap: 8px;
6310
6391
  box-sizing: border-box;
6311
- min-height: 34px;
6392
+ min-height: 40px;
6312
6393
  padding: 7px 8px;
6313
6394
  border-radius: var(--pimolu-radius-sm, 4px);
6314
6395
  color: var(--pimolu-muted-foreground);
@@ -6326,6 +6407,16 @@ button.pimolu-stepper__button:hover .pimolu-stepper__marker {
6326
6407
  .pimolu-sidebar__item[aria-current=page] {
6327
6408
  background: var(--pimolu-muted);
6328
6409
  color: var(--pimolu-foreground);
6410
+ font-weight: 600;
6411
+ }
6412
+ .pimolu-sidebar__item[aria-current=page]::before {
6413
+ content: "";
6414
+ position: absolute;
6415
+ inset-inline-start: 0;
6416
+ inset-block: 25%;
6417
+ width: 3px;
6418
+ border-radius: 999px;
6419
+ background: var(--pimolu-primary, currentColor);
6329
6420
  }
6330
6421
  .pimolu-sidebar__item[aria-disabled=true] {
6331
6422
  opacity: 0.5;
@@ -6358,6 +6449,34 @@ button.pimolu-stepper__button:hover .pimolu-stepper__marker {
6358
6449
  white-space: nowrap;
6359
6450
  }
6360
6451
  @media (max-width: 720px) {
6452
+ .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header .pimolu-sidebar__expanded {
6453
+ display: contents;
6454
+ }
6455
+ .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header .pimolu-sidebar__compact {
6456
+ display: none;
6457
+ }
6458
+ .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header[data-has-collapsed-content] {
6459
+ justify-content: flex-start;
6460
+ padding-inline: 8px 100px;
6461
+ }
6462
+ .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__footer[data-has-collapsed-content] {
6463
+ position: absolute;
6464
+ inset-inline-end: 64px;
6465
+ inset-block-start: 12px;
6466
+ margin: 0;
6467
+ padding: 0;
6468
+ border: 0;
6469
+ height: 40px;
6470
+ align-items: center;
6471
+ }
6472
+ .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header {
6473
+ display: flex;
6474
+ min-height: 40px;
6475
+ padding-block: 0;
6476
+ }
6477
+ .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__toggle {
6478
+ position: absolute;
6479
+ }
6361
6480
  .pimolu-sidebar[data-collapsed=true] {
6362
6481
  width: 100%;
6363
6482
  min-height: 60px;
@@ -9512,12 +9631,17 @@ button.pimolu-list__row:focus-visible {
9512
9631
  margin: 0;
9513
9632
  padding: 0;
9514
9633
  list-style: none;
9634
+ max-width: 100%;
9635
+ min-width: 0;
9515
9636
  }
9516
9637
  .pimolu-tags-input__tag {
9517
9638
  display: inline-flex;
9518
9639
  align-items: center;
9519
9640
  gap: 2px;
9520
9641
  max-width: 100%;
9642
+ margin: 0;
9643
+ box-sizing: border-box;
9644
+ min-height: 26px;
9521
9645
  padding: 2px 3px 2px 8px;
9522
9646
  background: var(--pimolu-muted, #f1f5f9);
9523
9647
  border: 1px solid color-mix(in srgb, var(--pimolu-border, #e2e8f0) 70%, transparent);
@@ -9563,7 +9687,7 @@ button.pimolu-list__row:focus-visible {
9563
9687
  cursor: not-allowed;
9564
9688
  }
9565
9689
  .pimolu-tags-input__input {
9566
- flex: 1;
9690
+ flex: 1 1 120px;
9567
9691
  box-sizing: border-box;
9568
9692
  min-width: 96px;
9569
9693
  height: 26px;
@@ -9614,6 +9738,7 @@ button.pimolu-list__row:focus-visible {
9614
9738
  height: 22px;
9615
9739
  }
9616
9740
  .pimolu-tags-input--sm .pimolu-tags-input__tag {
9741
+ min-height: 22px;
9617
9742
  padding-block: 1px;
9618
9743
  font-size: 0.75rem;
9619
9744
  }
@@ -9631,6 +9756,7 @@ button.pimolu-list__row:focus-visible {
9631
9756
  height: 30px;
9632
9757
  }
9633
9758
  .pimolu-tags-input--lg .pimolu-tags-input__tag {
9759
+ min-height: 30px;
9634
9760
  padding-block: 3px;
9635
9761
  font-size: 0.875rem;
9636
9762
  }
@@ -11969,6 +12095,15 @@ button.pimolu-list__row:focus-visible {
11969
12095
  width: 1.25rem;
11970
12096
  height: 1.25rem;
11971
12097
  }
12098
+ [dir=rtl] {
12099
+ --pimolu-carousel-arrow-direction: -1;
12100
+ }
12101
+ [dir=ltr] {
12102
+ --pimolu-carousel-arrow-direction: 1;
12103
+ }
12104
+ .pimolu-carousel__control svg {
12105
+ transform: scaleX(var(--pimolu-carousel-arrow-direction, 1));
12106
+ }
11972
12107
  .pimolu-carousel__footer {
11973
12108
  display: flex;
11974
12109
  align-items: center;
@@ -12289,11 +12424,13 @@ button.pimolu-list__row:focus-visible {
12289
12424
  /* src/dashboard-layout.css */
12290
12425
  .pimolu-dashboard-layout {
12291
12426
  --pimolu-dashboard-sidebar-width: 16rem;
12427
+ --pimolu-dashboard-sidebar-track: var(--pimolu-dashboard-sidebar-width);
12292
12428
  --pimolu-dashboard-aside-width: 20rem;
12293
12429
  display: grid;
12294
- grid-template-columns: var(--pimolu-dashboard-sidebar-width) minmax(0, 1fr);
12430
+ grid-template-columns: var(--pimolu-dashboard-sidebar-track) minmax(0, 1fr);
12295
12431
  grid-template-areas: "sidebar main";
12296
12432
  box-sizing: border-box;
12433
+ min-width: 0;
12297
12434
  min-height: 100dvh;
12298
12435
  background: var(--pimolu-background);
12299
12436
  color: var(--pimolu-foreground);
@@ -12304,28 +12441,21 @@ button.pimolu-list__row:focus-visible {
12304
12441
  grid-template-areas: "main";
12305
12442
  }
12306
12443
  .pimolu-dashboard-layout[data-aside=true] {
12307
- grid-template-columns: var(--pimolu-dashboard-sidebar-width) minmax(0, 1fr) var(--pimolu-dashboard-aside-width);
12444
+ grid-template-columns: var(--pimolu-dashboard-sidebar-track) minmax(0, 1fr) var(--pimolu-dashboard-aside-width);
12308
12445
  grid-template-areas: "sidebar main aside";
12309
12446
  }
12310
12447
  .pimolu-dashboard-layout[data-sidebar=false][data-aside=true] {
12311
12448
  grid-template-columns: minmax(0, 1fr) var(--pimolu-dashboard-aside-width);
12312
12449
  grid-template-areas: "main aside";
12313
12450
  }
12314
- .pimolu-dashboard-layout:has(.pimolu-sidebar[data-collapsed=true]) {
12315
- --pimolu-dashboard-sidebar-width: 3.75rem;
12316
- grid-template-columns: 3.75rem minmax(0, 1fr);
12451
+ .pimolu-dashboard-layout:has(> .pimolu-dashboard-layout__sidebar .pimolu-sidebar[data-collapsed=true]) {
12452
+ --pimolu-dashboard-sidebar-track: 3.75rem;
12317
12453
  }
12318
- .pimolu-dashboard-layout[data-aside=true]:has(.pimolu-sidebar[data-collapsed=true]) {
12319
- grid-template-columns: 3.75rem minmax(0, 1fr) var(--pimolu-dashboard-aside-width);
12320
- }
12321
- @container (max-width: 1100px) {
12454
+ @container (max-width: 900px) {
12322
12455
  .pimolu-dashboard-layout[data-aside=true] {
12323
- grid-template-columns: var(--pimolu-dashboard-sidebar-width) minmax(0, 1fr);
12456
+ grid-template-columns: var(--pimolu-dashboard-sidebar-track) minmax(0, 1fr);
12324
12457
  grid-template-areas: "sidebar main" "aside aside";
12325
12458
  }
12326
- .pimolu-dashboard-layout[data-aside=true]:has(.pimolu-sidebar[data-collapsed=true]) {
12327
- grid-template-columns: 3.75rem minmax(0, 1fr);
12328
- }
12329
12459
  .pimolu-dashboard-layout[data-sidebar=false][data-aside=true] {
12330
12460
  grid-template-columns: minmax(0, 1fr);
12331
12461
  grid-template-areas: "main" "aside";
@@ -12336,11 +12466,38 @@ button.pimolu-list__row:focus-visible {
12336
12466
  }
12337
12467
  }
12338
12468
  @container (max-width: 720px) {
12339
- .pimolu-dashboard-layout {
12469
+ .pimolu-dashboard-layout > .pimolu-dashboard-layout__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header {
12470
+ display: flex;
12471
+ min-height: 40px;
12472
+ padding-block: 0;
12473
+ }
12474
+ .pimolu-dashboard-layout > .pimolu-dashboard-layout__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__toggle {
12475
+ position: absolute;
12476
+ }
12477
+ .pimolu-dashboard-layout > .pimolu-dashboard-layout__sidebar,
12478
+ .pimolu-dashboard-layout[data-sticky-sidebar=true] > .pimolu-dashboard-layout__sidebar {
12479
+ position: static;
12480
+ max-height: none;
12481
+ overflow: visible;
12482
+ border-inline-end: 0;
12483
+ border-block-end: 1px solid var(--pimolu-border);
12484
+ }
12485
+ .pimolu-dashboard-layout > .pimolu-dashboard-layout__sidebar > .pimolu-sidebar {
12486
+ width: 100%;
12487
+ min-height: auto;
12488
+ border-inline-end: 0;
12489
+ }
12490
+ .pimolu-dashboard-layout__content,
12491
+ .pimolu-dashboard-layout__aside {
12492
+ padding: var(--pimolu-spacing-4, 16px);
12493
+ }
12494
+ .pimolu-dashboard-layout,
12495
+ .pimolu-dashboard-layout[data-aside],
12496
+ .pimolu-dashboard-layout[data-sidebar][data-aside] {
12340
12497
  grid-template-columns: minmax(0, 1fr);
12341
12498
  grid-template-areas: "sidebar" "main";
12342
12499
  }
12343
- .pimolu-dashboard-layout[data-aside=true] {
12500
+ .pimolu-dashboard-layout[data-sidebar][data-aside=true] {
12344
12501
  grid-template-areas: "sidebar" "main" "aside";
12345
12502
  }
12346
12503
  .pimolu-dashboard-layout[data-sidebar=false] {
@@ -12394,9 +12551,9 @@ button.pimolu-list__row:focus-visible {
12394
12551
  border-inline-start: var(--pimolu-control-border-width, 1px) solid var(--pimolu-border);
12395
12552
  background: var(--pimolu-surface);
12396
12553
  }
12397
- @media (max-width: 1100px) {
12554
+ @media (max-width: 900px) {
12398
12555
  .pimolu-dashboard-layout[data-aside=true] {
12399
- grid-template-columns: var(--pimolu-dashboard-sidebar-width) minmax(0, 1fr);
12556
+ grid-template-columns: var(--pimolu-dashboard-sidebar-track) minmax(0, 1fr);
12400
12557
  grid-template-areas: "sidebar main" "aside aside";
12401
12558
  }
12402
12559
  .pimolu-dashboard-layout[data-sidebar=false][data-aside=true] {
@@ -12408,23 +12565,43 @@ button.pimolu-list__row:focus-visible {
12408
12565
  border-block-start: 1px solid var(--pimolu-border);
12409
12566
  }
12410
12567
  }
12411
- @media (max-width: 860px) {
12412
- .pimolu-dashboard-layout {
12568
+ @media (max-width: 720px) {
12569
+ .pimolu-dashboard-layout > .pimolu-dashboard-layout__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header {
12570
+ display: flex;
12571
+ min-height: 40px;
12572
+ padding-block: 0;
12573
+ }
12574
+ .pimolu-dashboard-layout > .pimolu-dashboard-layout__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__toggle {
12575
+ position: absolute;
12576
+ }
12577
+ .pimolu-dashboard-layout[data-sticky-sidebar=true] > .pimolu-dashboard-layout__sidebar {
12578
+ position: static;
12579
+ max-height: none;
12580
+ overflow: visible;
12581
+ }
12582
+ .pimolu-dashboard-layout > .pimolu-dashboard-layout__sidebar > .pimolu-sidebar {
12583
+ width: 100%;
12584
+ min-height: auto;
12585
+ border-inline-end: 0;
12586
+ }
12587
+ .pimolu-dashboard-layout,
12588
+ .pimolu-dashboard-layout[data-aside],
12589
+ .pimolu-dashboard-layout[data-sidebar][data-aside] {
12413
12590
  grid-template-columns: minmax(0, 1fr);
12414
12591
  grid-template-areas: "sidebar" "main";
12415
12592
  }
12416
- .pimolu-dashboard-layout[data-aside=true] {
12593
+ .pimolu-dashboard-layout[data-sidebar][data-aside=true] {
12417
12594
  grid-template-areas: "sidebar" "main" "aside";
12418
12595
  }
12419
- .pimolu-dashboard-layout:has(.pimolu-sidebar[data-collapsed=true]),
12420
- .pimolu-dashboard-layout[data-aside=true]:has(.pimolu-sidebar[data-collapsed=true]) {
12596
+ .pimolu-dashboard-layout:has(> .pimolu-dashboard-layout__sidebar .pimolu-sidebar[data-collapsed=true]),
12597
+ .pimolu-dashboard-layout[data-aside=true]:has(> .pimolu-dashboard-layout__sidebar .pimolu-sidebar[data-collapsed=true]) {
12421
12598
  grid-template-columns: minmax(0, 1fr);
12422
12599
  }
12423
- .pimolu-dashboard-layout .pimolu-sidebar[data-collapsed=true] {
12600
+ .pimolu-dashboard-layout > .pimolu-dashboard-layout__sidebar .pimolu-sidebar[data-collapsed=true] {
12424
12601
  width: 100%;
12425
12602
  min-height: 60px;
12426
12603
  }
12427
- .pimolu-dashboard-layout .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__content {
12604
+ .pimolu-dashboard-layout > .pimolu-dashboard-layout__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__content {
12428
12605
  display: none;
12429
12606
  }
12430
12607
  .pimolu-dashboard-layout[data-sidebar=false] {
@@ -12454,18 +12631,40 @@ button.pimolu-list__row:focus-visible {
12454
12631
  }
12455
12632
  }
12456
12633
  @container (max-width: 720px) {
12457
- .pimolu-dashboard-layout:has(.pimolu-sidebar[data-collapsed=true]),
12458
- .pimolu-dashboard-layout[data-aside=true]:has(.pimolu-sidebar[data-collapsed=true]) {
12634
+ .pimolu-dashboard-layout:has(> .pimolu-dashboard-layout__sidebar .pimolu-sidebar[data-collapsed=true]),
12635
+ .pimolu-dashboard-layout[data-aside=true]:has(> .pimolu-dashboard-layout__sidebar .pimolu-sidebar[data-collapsed=true]) {
12459
12636
  grid-template-columns: minmax(0, 1fr);
12460
12637
  }
12461
- .pimolu-dashboard-layout .pimolu-sidebar[data-collapsed=true] {
12638
+ .pimolu-dashboard-layout > .pimolu-dashboard-layout__sidebar .pimolu-sidebar[data-collapsed=true] {
12462
12639
  width: 100%;
12463
12640
  min-height: 60px;
12464
12641
  }
12465
- .pimolu-dashboard-layout .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__content {
12642
+ .pimolu-dashboard-layout > .pimolu-dashboard-layout__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__content {
12466
12643
  display: none;
12467
12644
  }
12468
12645
  }
12646
+ @container (max-width: 720px) {
12647
+ .pimolu-dashboard-layout > .pimolu-dashboard-layout__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header .pimolu-sidebar__expanded {
12648
+ display: contents;
12649
+ }
12650
+ .pimolu-dashboard-layout > .pimolu-dashboard-layout__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header .pimolu-sidebar__compact {
12651
+ display: none;
12652
+ }
12653
+ .pimolu-dashboard-layout > .pimolu-dashboard-layout__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header[data-has-collapsed-content] {
12654
+ justify-content: flex-start;
12655
+ padding-inline: 8px 100px;
12656
+ }
12657
+ .pimolu-dashboard-layout > .pimolu-dashboard-layout__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__footer[data-has-collapsed-content] {
12658
+ position: absolute;
12659
+ inset-inline-end: 64px;
12660
+ inset-block-start: 12px;
12661
+ margin: 0;
12662
+ padding: 0;
12663
+ border: 0;
12664
+ height: 40px;
12665
+ align-items: center;
12666
+ }
12667
+ }
12469
12668
 
12470
12669
  /* src/data-grid.css */
12471
12670
  .pimolu-data-grid {
@@ -12883,6 +13082,16 @@ button.pimolu-list__row:focus-visible {
12883
13082
  .pimolu-tree-table__table {
12884
13083
  width: 100%;
12885
13084
  }
13085
+ .pimolu-tree-table__table > caption {
13086
+ caption-side: top;
13087
+ padding: 12px 16px;
13088
+ border-block-end: 1px solid var(--pimolu-border);
13089
+ background: var(--pimolu-surface, var(--pimolu-background));
13090
+ color: var(--pimolu-foreground);
13091
+ font-size: 0.8125rem;
13092
+ font-weight: 600;
13093
+ text-align: start;
13094
+ }
12886
13095
  .pimolu-tree-table__head,
12887
13096
  .pimolu-tree-table__cell {
12888
13097
  white-space: nowrap;
@@ -13023,10 +13232,13 @@ button.pimolu-list__row:focus-visible {
13023
13232
 
13024
13233
  /* src/chart.css */
13025
13234
  .pimolu-chart {
13235
+ position: relative;
13026
13236
  --pimolu-chart-axis: var(--pimolu-muted-foreground, #6b7280);
13027
13237
  --pimolu-chart-grid: var(--pimolu-border, rgba(0, 0, 0, 0.12));
13028
13238
  --pimolu-chart-surface: var(--pimolu-surface, #ffffff);
13029
13239
  --pimolu-chart-color: var(--pimolu-primary, #4f46e5);
13240
+ --pimolu-chart-area-fill: var(--pimolu-chart-color);
13241
+ --pimolu-chart-area-opacity: 0.16;
13030
13242
  --pimolu-chart-label-size: 13px;
13031
13243
  --pimolu-chart-axis-title-size: 13px;
13032
13244
  --pimolu-chart-value-size: 12px;
@@ -13044,6 +13256,56 @@ button.pimolu-list__row:focus-visible {
13044
13256
  position: relative;
13045
13257
  width: 100%;
13046
13258
  min-width: 0;
13259
+ border-radius: var(--pimolu-radius-md, 8px);
13260
+ touch-action: pan-y;
13261
+ }
13262
+ .pimolu-chart__canvas:focus-visible {
13263
+ outline: 2px solid var(--pimolu-focus-ring, var(--pimolu-primary, #4f46e5));
13264
+ outline-offset: 4px;
13265
+ }
13266
+ .pimolu-chart__cursor {
13267
+ position: absolute;
13268
+ inset-block: 5% 12%;
13269
+ border-inline-start: 1px dashed var(--pimolu-chart-axis);
13270
+ opacity: 0.65;
13271
+ pointer-events: none;
13272
+ }
13273
+ .pimolu-chart__tooltip {
13274
+ position: absolute;
13275
+ z-index: 2;
13276
+ inset-block-start: 8px;
13277
+ inset-inline-end: 8px;
13278
+ box-sizing: border-box;
13279
+ width: max-content;
13280
+ max-width: calc(100% - 16px);
13281
+ padding: 12px;
13282
+ border: 1px solid var(--pimolu-chart-grid);
13283
+ border-radius: var(--pimolu-radius-md, 8px);
13284
+ background: var(--pimolu-chart-surface);
13285
+ color: var(--pimolu-surface-foreground, var(--pimolu-foreground, #111827));
13286
+ box-shadow: var(--pimolu-shadow-raised, none);
13287
+ font-size: var(--pimolu-chart-legend-size);
13288
+ line-height: 1.5;
13289
+ overflow-wrap: anywhere;
13290
+ }
13291
+ .pimolu-chart__tooltip > strong {
13292
+ display: block;
13293
+ margin-block-end: 6px;
13294
+ }
13295
+ .pimolu-chart__tooltip-row {
13296
+ display: grid;
13297
+ grid-template-columns: 8px minmax(0, 1fr) auto;
13298
+ align-items: center;
13299
+ gap: 8px;
13300
+ }
13301
+ .pimolu-chart__tooltip-row b {
13302
+ font-variant-numeric: tabular-nums;
13303
+ text-align: end;
13304
+ }
13305
+ .pimolu-chart__tooltip-row .pimolu-chart__legend-swatch {
13306
+ width: 8px;
13307
+ height: 8px;
13308
+ border-radius: 50%;
13047
13309
  }
13048
13310
  .pimolu-chart__svg {
13049
13311
  display: block;
@@ -13057,6 +13319,8 @@ button.pimolu-list__row:focus-visible {
13057
13319
  stroke-width: 1;
13058
13320
  shape-rendering: crispEdges;
13059
13321
  vector-effect: non-scaling-stroke;
13322
+ stroke-dasharray: 3 5;
13323
+ opacity: 0.7;
13060
13324
  }
13061
13325
  .pimolu-chart__axis {
13062
13326
  stroke: var(--pimolu-chart-grid);
@@ -13098,12 +13362,13 @@ button.pimolu-list__row:focus-visible {
13098
13362
  stroke-width: 2.5;
13099
13363
  stroke-linecap: round;
13100
13364
  stroke-linejoin: round;
13365
+ vector-effect: non-scaling-stroke;
13101
13366
  stroke-dasharray: 1;
13102
13367
  animation: pimolu-chart-draw 650ms ease-out both;
13103
13368
  }
13104
13369
  .pimolu-chart__area {
13105
- fill: var( --pimolu-chart-color, var(--pimolu-primary, #4f46e5) );
13106
- fill-opacity: 0.16;
13370
+ fill: var(--pimolu-chart-area-fill, var(--pimolu-chart-color, var(--pimolu-primary, #4f46e5)));
13371
+ fill-opacity: var(--pimolu-chart-area-opacity, 0.16);
13107
13372
  stroke: none;
13108
13373
  animation: pimolu-chart-fade 420ms ease-out both;
13109
13374
  }
@@ -13126,6 +13391,36 @@ button.pimolu-list__row:focus-visible {
13126
13391
  .pimolu-chart__donut-track {
13127
13392
  stroke: var( --pimolu-muted, rgba(0, 0, 0, 0.08) );
13128
13393
  }
13394
+ .pimolu-chart--donut {
13395
+ flex-flow: row wrap;
13396
+ align-items: center;
13397
+ gap: 20px;
13398
+ }
13399
+ .pimolu-chart--donut .pimolu-chart__canvas {
13400
+ flex: 1 1 160px;
13401
+ max-width: 260px;
13402
+ margin-inline: auto;
13403
+ }
13404
+ .pimolu-chart--donut .pimolu-chart__legend {
13405
+ flex: 1 1 120px;
13406
+ flex-direction: column;
13407
+ gap: 12px;
13408
+ }
13409
+ .pimolu-chart--donut .pimolu-chart__legend-item {
13410
+ display: grid;
13411
+ grid-template-columns: 10px minmax(0, 1fr);
13412
+ }
13413
+ .pimolu-chart--donut .pimolu-chart__legend-value {
13414
+ grid-column: 2;
13415
+ font-variant-numeric: tabular-nums;
13416
+ }
13417
+ .pimolu-chart--donut .pimolu-chart__tooltip-row {
13418
+ grid-template-columns: 8px minmax(0, 1fr);
13419
+ }
13420
+ .pimolu-chart--donut .pimolu-chart__tooltip-row b {
13421
+ grid-column: 2;
13422
+ text-align: start;
13423
+ }
13129
13424
  .pimolu-chart__segment {
13130
13425
  stroke: var( --pimolu-chart-color, var(--pimolu-primary, #4f46e5) );
13131
13426
  transition: opacity 160ms ease;
@@ -13263,10 +13558,21 @@ button.pimolu-list__row:focus-visible {
13263
13558
  }
13264
13559
  }
13265
13560
  @media (forced-colors: active) {
13561
+ .pimolu-chart__tooltip {
13562
+ background: Canvas;
13563
+ color: CanvasText;
13564
+ border-color: CanvasText;
13565
+ }
13566
+ .pimolu-chart__cursor {
13567
+ border-color: CanvasText;
13568
+ }
13266
13569
  .pimolu-chart__bar,
13267
13570
  .pimolu-chart__area {
13268
13571
  fill: CanvasText;
13269
13572
  }
13573
+ .pimolu-chart__area {
13574
+ fill-opacity: 0.1;
13575
+ }
13270
13576
  .pimolu-chart__line,
13271
13577
  .pimolu-chart__segment {
13272
13578
  stroke: CanvasText;
@@ -15710,18 +16016,20 @@ button.pimolu-list__row:focus-visible {
15710
16016
  /* src/app-shell.css */
15711
16017
  .pimolu-app-shell {
15712
16018
  --pimolu-app-shell-sidebar-width: 16rem;
16019
+ --pimolu-app-shell-sidebar-track: var(--pimolu-app-shell-sidebar-width);
15713
16020
  --pimolu-app-shell-aside-width: 18rem;
15714
16021
  display: grid;
15715
- grid-template-columns: var(--pimolu-app-shell-sidebar-width) minmax(0, 1fr);
16022
+ grid-template-columns: var(--pimolu-app-shell-sidebar-track) minmax(0, 1fr);
15716
16023
  grid-template-areas: "header header" "sidebar main" "footer footer";
15717
16024
  box-sizing: border-box;
16025
+ min-width: 0;
15718
16026
  min-height: 100dvh;
15719
16027
  background: var(--pimolu-background);
15720
16028
  color: var(--pimolu-foreground);
15721
16029
  font-family: var(--pimolu-font-body, inherit);
15722
16030
  }
15723
16031
  .pimolu-app-shell[data-aside=true] {
15724
- grid-template-columns: var(--pimolu-app-shell-sidebar-width) minmax(0, 1fr) var(--pimolu-app-shell-aside-width);
16032
+ grid-template-columns: var(--pimolu-app-shell-sidebar-track) minmax(0, 1fr) var(--pimolu-app-shell-aside-width);
15725
16033
  grid-template-areas: "header header header" "sidebar main aside" "footer footer footer";
15726
16034
  }
15727
16035
  .pimolu-app-shell[data-sidebar=false] {
@@ -15732,21 +16040,14 @@ button.pimolu-list__row:focus-visible {
15732
16040
  grid-template-columns: minmax(0, 1fr) var(--pimolu-app-shell-aside-width);
15733
16041
  grid-template-areas: "header header" "main aside" "footer footer";
15734
16042
  }
15735
- .pimolu-app-shell:has(.pimolu-sidebar[data-collapsed=true]) {
15736
- --pimolu-app-shell-sidebar-width: 3.75rem;
15737
- grid-template-columns: 3.75rem minmax(0, 1fr);
15738
- }
15739
- .pimolu-app-shell[data-aside=true]:has(.pimolu-sidebar[data-collapsed=true]) {
15740
- grid-template-columns: 3.75rem minmax(0, 1fr) var(--pimolu-app-shell-aside-width);
16043
+ .pimolu-app-shell:has(> .pimolu-app-shell__sidebar .pimolu-sidebar[data-collapsed=true]) {
16044
+ --pimolu-app-shell-sidebar-track: 3.75rem;
15741
16045
  }
15742
- @container (max-width: 1100px) {
16046
+ @container (max-width: 900px) {
15743
16047
  .pimolu-app-shell[data-aside=true] {
15744
- grid-template-columns: var(--pimolu-app-shell-sidebar-width) minmax(0, 1fr);
16048
+ grid-template-columns: var(--pimolu-app-shell-sidebar-track) minmax(0, 1fr);
15745
16049
  grid-template-areas: "header header" "sidebar main" "aside aside" "footer footer";
15746
16050
  }
15747
- .pimolu-app-shell[data-aside=true]:has(.pimolu-sidebar[data-collapsed=true]) {
15748
- grid-template-columns: 3.75rem minmax(0, 1fr);
15749
- }
15750
16051
  .pimolu-app-shell[data-sidebar=false][data-aside=true] {
15751
16052
  grid-template-columns: minmax(0, 1fr);
15752
16053
  grid-template-areas: "header" "main" "aside" "footer";
@@ -15757,6 +16058,27 @@ button.pimolu-list__row:focus-visible {
15757
16058
  }
15758
16059
  }
15759
16060
  @container (max-width: 720px) {
16061
+ .pimolu-app-shell > .pimolu-app-shell__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header {
16062
+ display: flex;
16063
+ min-height: 40px;
16064
+ padding-block: 0;
16065
+ }
16066
+ .pimolu-app-shell > .pimolu-app-shell__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__toggle {
16067
+ position: absolute;
16068
+ }
16069
+ .pimolu-app-shell > .pimolu-app-shell__sidebar > .pimolu-sidebar {
16070
+ width: 100%;
16071
+ min-height: auto;
16072
+ border-inline-end: 0;
16073
+ }
16074
+ .pimolu-app-shell__sidebar {
16075
+ border-inline-end: 0;
16076
+ border-block-end: 1px solid var(--pimolu-border);
16077
+ }
16078
+ .pimolu-app-shell__main,
16079
+ .pimolu-app-shell__aside {
16080
+ padding: var(--pimolu-spacing-4, 16px);
16081
+ }
15760
16082
  .pimolu-app-shell,
15761
16083
  .pimolu-app-shell[data-aside=true],
15762
16084
  .pimolu-app-shell[data-sidebar=false],
@@ -15813,7 +16135,34 @@ button.pimolu-list__row:focus-visible {
15813
16135
  color: var(--pimolu-muted-foreground);
15814
16136
  font-size: 0.8125rem;
15815
16137
  }
15816
- @media (max-width: 960px) {
16138
+ @media (min-width: 721px) and (max-width: 900px) {
16139
+ .pimolu-app-shell[data-aside=true] {
16140
+ grid-template-columns: var(--pimolu-app-shell-sidebar-track) minmax(0, 1fr);
16141
+ grid-template-areas: "header header" "sidebar main" "aside aside" "footer footer";
16142
+ }
16143
+ .pimolu-app-shell[data-sidebar=false][data-aside=true] {
16144
+ grid-template-columns: minmax(0, 1fr);
16145
+ grid-template-areas: "header" "main" "aside" "footer";
16146
+ }
16147
+ .pimolu-app-shell__aside {
16148
+ border-inline-start: 0;
16149
+ border-block-start: 1px solid var(--pimolu-border);
16150
+ }
16151
+ }
16152
+ @media (max-width: 720px) {
16153
+ .pimolu-app-shell > .pimolu-app-shell__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header {
16154
+ display: flex;
16155
+ min-height: 40px;
16156
+ padding-block: 0;
16157
+ }
16158
+ .pimolu-app-shell > .pimolu-app-shell__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__toggle {
16159
+ position: absolute;
16160
+ }
16161
+ .pimolu-app-shell > .pimolu-app-shell__sidebar > .pimolu-sidebar {
16162
+ width: 100%;
16163
+ min-height: auto;
16164
+ border-inline-end: 0;
16165
+ }
15817
16166
  .pimolu-app-shell,
15818
16167
  .pimolu-app-shell[data-aside=true],
15819
16168
  .pimolu-app-shell[data-sidebar=false],
@@ -15821,15 +16170,15 @@ button.pimolu-list__row:focus-visible {
15821
16170
  grid-template-columns: minmax(0, 1fr);
15822
16171
  grid-template-areas: "header" "sidebar" "main" "aside" "footer";
15823
16172
  }
15824
- .pimolu-app-shell:has(.pimolu-sidebar[data-collapsed=true]),
15825
- .pimolu-app-shell[data-aside=true]:has(.pimolu-sidebar[data-collapsed=true]) {
16173
+ .pimolu-app-shell:has(> .pimolu-app-shell__sidebar .pimolu-sidebar[data-collapsed=true]),
16174
+ .pimolu-app-shell[data-aside=true]:has(> .pimolu-app-shell__sidebar .pimolu-sidebar[data-collapsed=true]) {
15826
16175
  grid-template-columns: minmax(0, 1fr);
15827
16176
  }
15828
- .pimolu-app-shell .pimolu-sidebar[data-collapsed=true] {
16177
+ .pimolu-app-shell > .pimolu-app-shell__sidebar .pimolu-sidebar[data-collapsed=true] {
15829
16178
  width: 100%;
15830
16179
  min-height: 60px;
15831
16180
  }
15832
- .pimolu-app-shell .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__content {
16181
+ .pimolu-app-shell > .pimolu-app-shell__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__content {
15833
16182
  display: none;
15834
16183
  }
15835
16184
  .pimolu-app-shell[data-sidebar=false] {
@@ -15867,18 +16216,40 @@ button.pimolu-list__row:focus-visible {
15867
16216
  }
15868
16217
  }
15869
16218
  @container (max-width: 720px) {
15870
- .pimolu-app-shell:has(.pimolu-sidebar[data-collapsed=true]),
15871
- .pimolu-app-shell[data-aside=true]:has(.pimolu-sidebar[data-collapsed=true]) {
16219
+ .pimolu-app-shell:has(> .pimolu-app-shell__sidebar .pimolu-sidebar[data-collapsed=true]),
16220
+ .pimolu-app-shell[data-aside=true]:has(> .pimolu-app-shell__sidebar .pimolu-sidebar[data-collapsed=true]) {
15872
16221
  grid-template-columns: minmax(0, 1fr);
15873
16222
  }
15874
- .pimolu-app-shell .pimolu-sidebar[data-collapsed=true] {
16223
+ .pimolu-app-shell > .pimolu-app-shell__sidebar .pimolu-sidebar[data-collapsed=true] {
15875
16224
  width: 100%;
15876
16225
  min-height: 60px;
15877
16226
  }
15878
- .pimolu-app-shell .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__content {
16227
+ .pimolu-app-shell > .pimolu-app-shell__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__content {
15879
16228
  display: none;
15880
16229
  }
15881
16230
  }
16231
+ @container (max-width: 720px) {
16232
+ .pimolu-app-shell > .pimolu-app-shell__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header .pimolu-sidebar__expanded {
16233
+ display: contents;
16234
+ }
16235
+ .pimolu-app-shell > .pimolu-app-shell__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header .pimolu-sidebar__compact {
16236
+ display: none;
16237
+ }
16238
+ .pimolu-app-shell > .pimolu-app-shell__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header[data-has-collapsed-content] {
16239
+ justify-content: flex-start;
16240
+ padding-inline: 8px 100px;
16241
+ }
16242
+ .pimolu-app-shell > .pimolu-app-shell__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__footer[data-has-collapsed-content] {
16243
+ position: absolute;
16244
+ inset-inline-end: 64px;
16245
+ inset-block-start: 12px;
16246
+ margin: 0;
16247
+ padding: 0;
16248
+ border: 0;
16249
+ height: 40px;
16250
+ align-items: center;
16251
+ }
16252
+ }
15882
16253
 
15883
16254
  /* src/menubar.css */
15884
16255
  .pimolu-menubar {
@@ -16812,11 +17183,12 @@ button.pimolu-list__row:focus-visible {
16812
17183
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pimolu-primary, #4f46e5) 35%, transparent);
16813
17184
  }
16814
17185
  .pimolu-kanban__column-header {
17186
+ position: relative;
16815
17187
  display: flex;
16816
17188
  align-items: flex-start;
16817
17189
  justify-content: space-between;
16818
17190
  gap: var(--pimolu-spacing-2, 8px);
16819
- padding: var(--pimolu-spacing-3, 12px);
17191
+ padding: var(--pimolu-spacing-4, 16px);
16820
17192
  border-bottom: 1px solid var(--pimolu-border, #e2e8f0);
16821
17193
  }
16822
17194
  .pimolu-kanban__column-title {
@@ -16832,7 +17204,30 @@ button.pimolu-list__row:focus-visible {
16832
17204
  letter-spacing: 0.01em;
16833
17205
  overflow-wrap: anywhere;
16834
17206
  }
17207
+ .pimolu-kanban__capacity {
17208
+ position: absolute;
17209
+ inset-inline: 16px;
17210
+ inset-block-end: -1px;
17211
+ height: 3px;
17212
+ overflow: hidden;
17213
+ border-radius: 999px;
17214
+ background: var(--pimolu-muted, #f1f5f9);
17215
+ }
17216
+ .pimolu-kanban__capacity > span {
17217
+ display: block;
17218
+ height: 100%;
17219
+ background: var(--pimolu-primary, #4f46e5);
17220
+ border-radius: inherit;
17221
+ }
17222
+ .pimolu-kanban__column--full .pimolu-kanban__capacity > span {
17223
+ background: var(--pimolu-warning, #d97706);
17224
+ }
16835
17225
  .pimolu-kanban__count {
17226
+ align-self: start;
17227
+ margin-block-start: 4px;
17228
+ padding: 2px 7px;
17229
+ border-radius: var(--pimolu-radius-full, 999px);
17230
+ background: var(--pimolu-muted, #f1f5f9);
16836
17231
  color: var( --pimolu-muted-foreground, var(--pimolu-foreground, currentColor) );
16837
17232
  font-size: var(--pimolu-font-size-xs, 12px);
16838
17233
  font-weight: 450;
@@ -16855,6 +17250,7 @@ button.pimolu-list__row:focus-visible {
16855
17250
  }
16856
17251
  .pimolu-kanban__item {
16857
17252
  min-width: 0;
17253
+ margin: 0;
16858
17254
  list-style: none;
16859
17255
  }
16860
17256
  .pimolu-kanban__empty {
@@ -16896,7 +17292,7 @@ button.pimolu-list__row:focus-visible {
16896
17292
  gap: var(--pimolu-spacing-2, 8px);
16897
17293
  box-sizing: border-box;
16898
17294
  min-width: 0;
16899
- padding: 10px var(--pimolu-spacing-3, 12px);
17295
+ padding: 14px var(--pimolu-spacing-4, 16px);
16900
17296
  border: var(--pimolu-control-border-width, 1px) solid var(--pimolu-border, #e2e8f0);
16901
17297
  border-radius: var(--pimolu-radius-md, 10px);
16902
17298
  background: var(--pimolu-background, #fff);
@@ -17798,9 +18194,11 @@ a.pimolu-chat__attachment-name:focus-visible {
17798
18194
  font-size: 0.8125rem;
17799
18195
  }
17800
18196
  .pimolu-scheduler__scroll {
18197
+ position: relative;
17801
18198
  width: 100%;
17802
18199
  min-width: 0;
17803
- overflow-x: auto;
18200
+ overflow: auto;
18201
+ border-radius: var(--pimolu-scheduler-radius);
17804
18202
  overscroll-behavior-x: contain;
17805
18203
  }
17806
18204
  .pimolu-scheduler__board {
@@ -17812,7 +18210,7 @@ a.pimolu-chat__attachment-name:focus-visible {
17812
18210
  background: var(--pimolu-scheduler-surface);
17813
18211
  border: 1px solid var(--pimolu-scheduler-border);
17814
18212
  border-radius: var(--pimolu-scheduler-radius);
17815
- overflow: hidden;
18213
+ overflow: clip;
17816
18214
  }
17817
18215
  .pimolu-scheduler__grid {
17818
18216
  display: flex;
@@ -17825,6 +18223,10 @@ a.pimolu-chat__attachment-name:focus-visible {
17825
18223
  grid-template-columns: var(--pimolu-scheduler-time-width) repeat(var(--pimolu-scheduler-day-count, 7), minmax(0, 1fr));
17826
18224
  }
17827
18225
  .pimolu-scheduler__header-row {
18226
+ position: sticky;
18227
+ top: 0;
18228
+ z-index: 5;
18229
+ background: var(--pimolu-scheduler-surface);
17828
18230
  height: var(--pimolu-scheduler-header-height);
17829
18231
  border-bottom: 1px solid var(--pimolu-scheduler-border);
17830
18232
  }
@@ -17949,6 +18351,7 @@ a.pimolu-chat__attachment-name:focus-visible {
17949
18351
  border-top: 1px solid var(--pimolu-scheduler-border);
17950
18352
  }
17951
18353
  .pimolu-scheduler__slot {
18354
+ scroll-margin-block-start: calc(var(--pimolu-scheduler-header-height) + 8px);
17952
18355
  display: block;
17953
18356
  box-sizing: border-box;
17954
18357
  width: 100%;
@@ -18025,6 +18428,16 @@ a.pimolu-chat__attachment-name:focus-visible {
18025
18428
  text-overflow: ellipsis;
18026
18429
  white-space: nowrap;
18027
18430
  }
18431
+ .pimolu-scheduler__event[data-compact=true] {
18432
+ padding: 1px 6px;
18433
+ justify-content: center;
18434
+ }
18435
+ .pimolu-scheduler__event[data-compact=true] .pimolu-scheduler__event-time {
18436
+ display: none;
18437
+ }
18438
+ .pimolu-scheduler__event[data-compact=true] .pimolu-scheduler__event-title {
18439
+ font-size: 0.6875rem;
18440
+ }
18028
18441
  .pimolu-scheduler__now {
18029
18442
  position: absolute;
18030
18443
  right: 0;
@@ -18282,9 +18695,13 @@ a.pimolu-chat__attachment-name:focus-visible {
18282
18695
  overflow: hidden;
18283
18696
  }
18284
18697
  .pimolu-gantt__task-button {
18285
- display: block;
18698
+ display: flex;
18699
+ align-items: center;
18700
+ justify-content: space-between;
18701
+ gap: 8px;
18286
18702
  box-sizing: border-box;
18287
18703
  max-width: 100%;
18704
+ width: 100%;
18288
18705
  padding: 3px 5px;
18289
18706
  margin-left: -5px;
18290
18707
  color: var(--pimolu-foreground, #0f172a);
@@ -18300,6 +18717,20 @@ a.pimolu-chat__attachment-name:focus-visible {
18300
18717
  cursor: pointer;
18301
18718
  overflow: hidden;
18302
18719
  }
18720
+ .pimolu-gantt__task-name {
18721
+ min-width: 0;
18722
+ overflow: hidden;
18723
+ text-overflow: ellipsis;
18724
+ }
18725
+ .pimolu-gantt__task-completion {
18726
+ flex: none;
18727
+ font-size: 0.6875rem;
18728
+ font-variant-numeric: tabular-nums;
18729
+ color: var(--pimolu-gantt-muted-foreground);
18730
+ background: var(--pimolu-gantt-muted);
18731
+ border-radius: var(--pimolu-radius-sm, 4px);
18732
+ padding: 2px 5px;
18733
+ }
18303
18734
  .pimolu-gantt__task-button:hover {
18304
18735
  background: var(--pimolu-gantt-muted);
18305
18736
  }
@@ -18907,6 +19338,9 @@ a.pimolu-chat__attachment-name:focus-visible {
18907
19338
 
18908
19339
  /* src/page-header.css */
18909
19340
  .pimolu-page-header {
19341
+ container-type: inline-size;
19342
+ --pimolu-page-header-title-size: clamp(1.75rem, 5cqi, 2.75rem);
19343
+ width: 100%;
18910
19344
  display: flex;
18911
19345
  flex-direction: column;
18912
19346
  gap: var(--pimolu-spacing-4, 16px);
@@ -18915,6 +19349,22 @@ a.pimolu-chat__attachment-name:focus-visible {
18915
19349
  color: var(--pimolu-foreground);
18916
19350
  font-family: var(--pimolu-font-body, inherit);
18917
19351
  }
19352
+ .pimolu-page-header[data-size=sm] {
19353
+ --pimolu-page-header-title-size: clamp(1.25rem, 4cqi, 1.75rem);
19354
+ gap: 12px;
19355
+ }
19356
+ .pimolu-page-header[data-size=sm] .pimolu-page-header__content {
19357
+ gap: 8px;
19358
+ }
19359
+ .pimolu-page-header[data-size=sm] .pimolu-page-header__description {
19360
+ font-size: 0.875rem;
19361
+ }
19362
+ .pimolu-page-header[data-size=lg] {
19363
+ --pimolu-page-header-title-size: clamp(2rem, 7cqi, 4rem);
19364
+ }
19365
+ .pimolu-page-header__actions {
19366
+ max-width: 100%;
19367
+ }
18918
19368
  .pimolu-page-header__breadcrumbs {
18919
19369
  display: flex;
18920
19370
  justify-content: flex-start;
@@ -18962,7 +19412,7 @@ a.pimolu-chat__attachment-name:focus-visible {
18962
19412
  margin: 0;
18963
19413
  color: var(--pimolu-foreground);
18964
19414
  font-family: var(--pimolu-font-heading, inherit);
18965
- font-size: clamp(1.75rem, 3.5vw, 2.75rem);
19415
+ font-size: var(--pimolu-page-header-title-size, clamp(1.75rem, 3.5vw, 2.75rem));
18966
19416
  font-weight: 700;
18967
19417
  line-height: 1.1;
18968
19418
  letter-spacing: -0.02em;
@@ -19006,9 +19456,14 @@ a.pimolu-chat__attachment-name:focus-visible {
19006
19456
  justify-content: center;
19007
19457
  }
19008
19458
  .pimolu-page-header--center .pimolu-page-header__body {
19459
+ width: 100%;
19460
+ flex-direction: column;
19461
+ align-items: center;
19009
19462
  justify-content: center;
19010
19463
  }
19011
19464
  .pimolu-page-header--center .pimolu-page-header__content {
19465
+ flex: none;
19466
+ width: 100%;
19012
19467
  align-items: center;
19013
19468
  margin-inline: auto;
19014
19469
  text-align: center;
@@ -19017,6 +19472,10 @@ a.pimolu-chat__attachment-name:focus-visible {
19017
19472
  .pimolu-page-header--center .pimolu-page-header__actions {
19018
19473
  justify-content: center;
19019
19474
  }
19475
+ .pimolu-page-header--center .pimolu-page-header__actions {
19476
+ flex: none;
19477
+ width: 100%;
19478
+ }
19020
19479
  @media (max-width: 640px) {
19021
19480
  .pimolu-page-header__body {
19022
19481
  align-items: flex-start;
@@ -19263,6 +19722,8 @@ a.pimolu-chat__attachment-name:focus-visible {
19263
19722
  font-family: var(--pimolu-font-body, inherit);
19264
19723
  }
19265
19724
  .pimolu-docs-layout__skip-link {
19725
+ opacity: 0;
19726
+ pointer-events: none;
19266
19727
  position: fixed;
19267
19728
  inset-block-start: var(--pimolu-spacing-3, 12px);
19268
19729
  inset-inline-start: var(--pimolu-spacing-3, 12px);
@@ -19280,6 +19741,8 @@ a.pimolu-chat__attachment-name:focus-visible {
19280
19741
  transition: transform 150ms ease;
19281
19742
  }
19282
19743
  .pimolu-docs-layout__skip-link:focus-visible {
19744
+ opacity: 1;
19745
+ pointer-events: auto;
19283
19746
  transform: translateY(0);
19284
19747
  outline: 2px solid var(--pimolu-focus-ring, var(--pimolu-primary));
19285
19748
  outline-offset: 2px;
@@ -19353,6 +19816,11 @@ a.pimolu-chat__attachment-name:focus-visible {
19353
19816
  scrollbar-gutter: stable;
19354
19817
  }
19355
19818
  @media (max-width: 1180px) {
19819
+ .pimolu-docs-layout[data-sticky=true][data-toc=true] > .pimolu-docs-layout__body > .pimolu-docs-layout__sidebar {
19820
+ position: static;
19821
+ max-height: none;
19822
+ overflow: visible;
19823
+ }
19356
19824
  .pimolu-docs-layout__body {
19357
19825
  grid-template-columns: var(--pimolu-docs-sidebar-width) minmax(0, 1fr);
19358
19826
  grid-template-areas: "sidebar main" "toc toc";
@@ -20926,7 +21394,9 @@ a.pimolu-chat__attachment-name:focus-visible {
20926
21394
  }
20927
21395
  .pimolu-input__wrapper:focus-within {
20928
21396
  border-color: var(--pimolu-input-tone);
20929
- box-shadow: 0 0 0 3px color-mix(in srgb, var(--pimolu-input-tone) 22%, transparent), var(--pimolu-input-elevation);
21397
+ box-shadow: var(--pimolu-input-elevation);
21398
+ outline: 3px solid color-mix(in srgb, var(--pimolu-input-tone) 22%, transparent);
21399
+ outline-offset: 0;
20930
21400
  }
20931
21401
  .pimolu-input--invalid {
20932
21402
  --pimolu-input-tone: var(--pimolu-danger, #dc2626);