@pimolu/web-styles 0.1.0-beta.1 → 0.1.0-beta.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/pimolu.css CHANGED
@@ -4165,10 +4165,32 @@
4165
4165
  }
4166
4166
  .pimolu-circular-progress__value {
4167
4167
  position: absolute;
4168
- font-size: max(0.625rem, calc(var(--pimolu-circular-progress-diameter) * 0.26));
4168
+ font-size: max(0.625rem, calc(var(--pimolu-circular-progress-diameter) * 0.20));
4169
4169
  font-variant-numeric: tabular-nums;
4170
4170
  line-height: 1;
4171
4171
  color: var(--pimolu-muted-foreground, currentColor);
4172
+ max-width: 68%;
4173
+ overflow: hidden;
4174
+ text-overflow: ellipsis;
4175
+ white-space: nowrap;
4176
+ font-weight: 600;
4177
+ }
4178
+ .pimolu-circular-progress[data-empty=true] .pimolu-circular-progress__indicator {
4179
+ opacity: 0;
4180
+ }
4181
+ .pimolu-circular-progress--sm:has(.pimolu-circular-progress__value) {
4182
+ width: auto;
4183
+ gap: 8px;
4184
+ }
4185
+ .pimolu-circular-progress--sm .pimolu-circular-progress__svg {
4186
+ width: var(--pimolu-circular-progress-diameter);
4187
+ height: var(--pimolu-circular-progress-diameter);
4188
+ flex: none;
4189
+ }
4190
+ .pimolu-circular-progress--sm .pimolu-circular-progress__value {
4191
+ position: static;
4192
+ max-width: none;
4193
+ font-size: 0.75rem;
4172
4194
  }
4173
4195
  .pimolu-circular-progress--indeterminate .pimolu-circular-progress__svg {
4174
4196
  animation: pimolu-circular-progress-rotate 1.4s linear infinite;
@@ -5985,6 +6007,10 @@ button.pimolu-stepper__button:hover .pimolu-stepper__marker {
5985
6007
  align-items: center;
5986
6008
  gap: 8px;
5987
6009
  flex: none;
6010
+ max-width: 100%;
6011
+ min-width: 0;
6012
+ overflow: hidden;
6013
+ text-overflow: ellipsis;
5988
6014
  color: inherit;
5989
6015
  font-size: 0.9375rem;
5990
6016
  font-weight: 700;
@@ -6005,6 +6031,8 @@ button.pimolu-stepper__button:hover .pimolu-stepper__marker {
6005
6031
  min-width: 0;
6006
6032
  }
6007
6033
  .pimolu-navbar__item {
6034
+ box-sizing: border-box;
6035
+ min-height: 40px;
6008
6036
  display: inline-flex;
6009
6037
  align-items: center;
6010
6038
  gap: 6px;
@@ -6146,6 +6174,7 @@ button.pimolu-stepper__button:hover .pimolu-stepper__marker {
6146
6174
  box-sizing: border-box;
6147
6175
  width: 100%;
6148
6176
  white-space: normal;
6177
+ min-height: 44px;
6149
6178
  }
6150
6179
  .pimolu-navbar[data-collapsible=true][data-open=true] .pimolu-navbar__actions {
6151
6180
  display: flex;
@@ -6161,6 +6190,15 @@ button.pimolu-stepper__button:hover .pimolu-stepper__marker {
6161
6190
  padding: 10px 16px;
6162
6191
  }
6163
6192
  }
6193
+ @container pimolu-navbar (max-width: 700px) {
6194
+ .pimolu-navbar[data-collapsible=true] .pimolu-navbar__brand {
6195
+ max-width: calc(100% - 64px);
6196
+ }
6197
+ .pimolu-navbar__toggle {
6198
+ min-width: 44px;
6199
+ min-height: 44px;
6200
+ }
6201
+ }
6164
6202
  @media (forced-colors: active) {
6165
6203
  .pimolu-navbar {
6166
6204
  border-color: CanvasText;
@@ -6246,8 +6284,8 @@ button.pimolu-stepper__button:hover .pimolu-stepper__marker {
6246
6284
  inset-inline-end: 12px;
6247
6285
  display: grid;
6248
6286
  place-items: center;
6249
- width: 36px;
6250
- height: 36px;
6287
+ width: 40px;
6288
+ height: 40px;
6251
6289
  z-index: 1;
6252
6290
  padding: 0;
6253
6291
  border: 1px solid var(--pimolu-border);
@@ -6273,7 +6311,8 @@ button.pimolu-stepper__button:hover .pimolu-stepper__marker {
6273
6311
  display: flex;
6274
6312
  align-items: center;
6275
6313
  gap: 10px;
6276
- padding: 8px 46px 16px 8px;
6314
+ padding-block: 8px 16px;
6315
+ padding-inline: 8px 52px;
6277
6316
  min-width: 0;
6278
6317
  }
6279
6318
  .pimolu-sidebar__content {
@@ -6304,11 +6343,12 @@ button.pimolu-stepper__button:hover .pimolu-stepper__marker {
6304
6343
  text-transform: uppercase;
6305
6344
  }
6306
6345
  .pimolu-sidebar__item {
6346
+ position: relative;
6307
6347
  display: flex;
6308
6348
  align-items: center;
6309
6349
  gap: 8px;
6310
6350
  box-sizing: border-box;
6311
- min-height: 34px;
6351
+ min-height: 40px;
6312
6352
  padding: 7px 8px;
6313
6353
  border-radius: var(--pimolu-radius-sm, 4px);
6314
6354
  color: var(--pimolu-muted-foreground);
@@ -6326,6 +6366,16 @@ button.pimolu-stepper__button:hover .pimolu-stepper__marker {
6326
6366
  .pimolu-sidebar__item[aria-current=page] {
6327
6367
  background: var(--pimolu-muted);
6328
6368
  color: var(--pimolu-foreground);
6369
+ font-weight: 600;
6370
+ }
6371
+ .pimolu-sidebar__item[aria-current=page]::before {
6372
+ content: "";
6373
+ position: absolute;
6374
+ inset-inline-start: 0;
6375
+ inset-block: 25%;
6376
+ width: 3px;
6377
+ border-radius: 999px;
6378
+ background: var(--pimolu-primary, currentColor);
6329
6379
  }
6330
6380
  .pimolu-sidebar__item[aria-disabled=true] {
6331
6381
  opacity: 0.5;
@@ -6358,6 +6408,14 @@ button.pimolu-stepper__button:hover .pimolu-stepper__marker {
6358
6408
  white-space: nowrap;
6359
6409
  }
6360
6410
  @media (max-width: 720px) {
6411
+ .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header {
6412
+ display: flex;
6413
+ min-height: 40px;
6414
+ padding-block: 0;
6415
+ }
6416
+ .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__toggle {
6417
+ position: absolute;
6418
+ }
6361
6419
  .pimolu-sidebar[data-collapsed=true] {
6362
6420
  width: 100%;
6363
6421
  min-height: 60px;
@@ -9512,12 +9570,17 @@ button.pimolu-list__row:focus-visible {
9512
9570
  margin: 0;
9513
9571
  padding: 0;
9514
9572
  list-style: none;
9573
+ max-width: 100%;
9574
+ min-width: 0;
9515
9575
  }
9516
9576
  .pimolu-tags-input__tag {
9517
9577
  display: inline-flex;
9518
9578
  align-items: center;
9519
9579
  gap: 2px;
9520
9580
  max-width: 100%;
9581
+ margin: 0;
9582
+ box-sizing: border-box;
9583
+ min-height: 26px;
9521
9584
  padding: 2px 3px 2px 8px;
9522
9585
  background: var(--pimolu-muted, #f1f5f9);
9523
9586
  border: 1px solid color-mix(in srgb, var(--pimolu-border, #e2e8f0) 70%, transparent);
@@ -9563,7 +9626,7 @@ button.pimolu-list__row:focus-visible {
9563
9626
  cursor: not-allowed;
9564
9627
  }
9565
9628
  .pimolu-tags-input__input {
9566
- flex: 1;
9629
+ flex: 1 1 120px;
9567
9630
  box-sizing: border-box;
9568
9631
  min-width: 96px;
9569
9632
  height: 26px;
@@ -9614,6 +9677,7 @@ button.pimolu-list__row:focus-visible {
9614
9677
  height: 22px;
9615
9678
  }
9616
9679
  .pimolu-tags-input--sm .pimolu-tags-input__tag {
9680
+ min-height: 22px;
9617
9681
  padding-block: 1px;
9618
9682
  font-size: 0.75rem;
9619
9683
  }
@@ -9631,6 +9695,7 @@ button.pimolu-list__row:focus-visible {
9631
9695
  height: 30px;
9632
9696
  }
9633
9697
  .pimolu-tags-input--lg .pimolu-tags-input__tag {
9698
+ min-height: 30px;
9634
9699
  padding-block: 3px;
9635
9700
  font-size: 0.875rem;
9636
9701
  }
@@ -12289,11 +12354,13 @@ button.pimolu-list__row:focus-visible {
12289
12354
  /* src/dashboard-layout.css */
12290
12355
  .pimolu-dashboard-layout {
12291
12356
  --pimolu-dashboard-sidebar-width: 16rem;
12357
+ --pimolu-dashboard-sidebar-track: var(--pimolu-dashboard-sidebar-width);
12292
12358
  --pimolu-dashboard-aside-width: 20rem;
12293
12359
  display: grid;
12294
- grid-template-columns: var(--pimolu-dashboard-sidebar-width) minmax(0, 1fr);
12360
+ grid-template-columns: var(--pimolu-dashboard-sidebar-track) minmax(0, 1fr);
12295
12361
  grid-template-areas: "sidebar main";
12296
12362
  box-sizing: border-box;
12363
+ min-width: 0;
12297
12364
  min-height: 100dvh;
12298
12365
  background: var(--pimolu-background);
12299
12366
  color: var(--pimolu-foreground);
@@ -12304,28 +12371,21 @@ button.pimolu-list__row:focus-visible {
12304
12371
  grid-template-areas: "main";
12305
12372
  }
12306
12373
  .pimolu-dashboard-layout[data-aside=true] {
12307
- grid-template-columns: var(--pimolu-dashboard-sidebar-width) minmax(0, 1fr) var(--pimolu-dashboard-aside-width);
12374
+ grid-template-columns: var(--pimolu-dashboard-sidebar-track) minmax(0, 1fr) var(--pimolu-dashboard-aside-width);
12308
12375
  grid-template-areas: "sidebar main aside";
12309
12376
  }
12310
12377
  .pimolu-dashboard-layout[data-sidebar=false][data-aside=true] {
12311
12378
  grid-template-columns: minmax(0, 1fr) var(--pimolu-dashboard-aside-width);
12312
12379
  grid-template-areas: "main aside";
12313
12380
  }
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);
12317
- }
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);
12381
+ .pimolu-dashboard-layout:has(> .pimolu-dashboard-layout__sidebar .pimolu-sidebar[data-collapsed=true]) {
12382
+ --pimolu-dashboard-sidebar-track: 3.75rem;
12320
12383
  }
12321
12384
  @container (max-width: 1100px) {
12322
12385
  .pimolu-dashboard-layout[data-aside=true] {
12323
- grid-template-columns: var(--pimolu-dashboard-sidebar-width) minmax(0, 1fr);
12386
+ grid-template-columns: var(--pimolu-dashboard-sidebar-track) minmax(0, 1fr);
12324
12387
  grid-template-areas: "sidebar main" "aside aside";
12325
12388
  }
12326
- .pimolu-dashboard-layout[data-aside=true]:has(.pimolu-sidebar[data-collapsed=true]) {
12327
- grid-template-columns: 3.75rem minmax(0, 1fr);
12328
- }
12329
12389
  .pimolu-dashboard-layout[data-sidebar=false][data-aside=true] {
12330
12390
  grid-template-columns: minmax(0, 1fr);
12331
12391
  grid-template-areas: "main" "aside";
@@ -12336,7 +12396,34 @@ button.pimolu-list__row:focus-visible {
12336
12396
  }
12337
12397
  }
12338
12398
  @container (max-width: 720px) {
12339
- .pimolu-dashboard-layout {
12399
+ .pimolu-dashboard-layout > .pimolu-dashboard-layout__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header {
12400
+ display: flex;
12401
+ min-height: 40px;
12402
+ padding-block: 0;
12403
+ }
12404
+ .pimolu-dashboard-layout > .pimolu-dashboard-layout__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__toggle {
12405
+ position: absolute;
12406
+ }
12407
+ .pimolu-dashboard-layout > .pimolu-dashboard-layout__sidebar,
12408
+ .pimolu-dashboard-layout[data-sticky-sidebar=true] > .pimolu-dashboard-layout__sidebar {
12409
+ position: static;
12410
+ max-height: none;
12411
+ overflow: visible;
12412
+ border-inline-end: 0;
12413
+ border-block-end: 1px solid var(--pimolu-border);
12414
+ }
12415
+ .pimolu-dashboard-layout > .pimolu-dashboard-layout__sidebar > .pimolu-sidebar {
12416
+ width: 100%;
12417
+ min-height: auto;
12418
+ border-inline-end: 0;
12419
+ }
12420
+ .pimolu-dashboard-layout__content,
12421
+ .pimolu-dashboard-layout__aside {
12422
+ padding: var(--pimolu-spacing-4, 16px);
12423
+ }
12424
+ .pimolu-dashboard-layout,
12425
+ .pimolu-dashboard-layout[data-aside],
12426
+ .pimolu-dashboard-layout[data-sidebar][data-aside] {
12340
12427
  grid-template-columns: minmax(0, 1fr);
12341
12428
  grid-template-areas: "sidebar" "main";
12342
12429
  }
@@ -12396,7 +12483,7 @@ button.pimolu-list__row:focus-visible {
12396
12483
  }
12397
12484
  @media (max-width: 1100px) {
12398
12485
  .pimolu-dashboard-layout[data-aside=true] {
12399
- grid-template-columns: var(--pimolu-dashboard-sidebar-width) minmax(0, 1fr);
12486
+ grid-template-columns: var(--pimolu-dashboard-sidebar-track) minmax(0, 1fr);
12400
12487
  grid-template-areas: "sidebar main" "aside aside";
12401
12488
  }
12402
12489
  .pimolu-dashboard-layout[data-sidebar=false][data-aside=true] {
@@ -12409,22 +12496,42 @@ button.pimolu-list__row:focus-visible {
12409
12496
  }
12410
12497
  }
12411
12498
  @media (max-width: 860px) {
12412
- .pimolu-dashboard-layout {
12499
+ .pimolu-dashboard-layout > .pimolu-dashboard-layout__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header {
12500
+ display: flex;
12501
+ min-height: 40px;
12502
+ padding-block: 0;
12503
+ }
12504
+ .pimolu-dashboard-layout > .pimolu-dashboard-layout__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__toggle {
12505
+ position: absolute;
12506
+ }
12507
+ .pimolu-dashboard-layout[data-sticky-sidebar=true] > .pimolu-dashboard-layout__sidebar {
12508
+ position: static;
12509
+ max-height: none;
12510
+ overflow: visible;
12511
+ }
12512
+ .pimolu-dashboard-layout > .pimolu-dashboard-layout__sidebar > .pimolu-sidebar {
12513
+ width: 100%;
12514
+ min-height: auto;
12515
+ border-inline-end: 0;
12516
+ }
12517
+ .pimolu-dashboard-layout,
12518
+ .pimolu-dashboard-layout[data-aside],
12519
+ .pimolu-dashboard-layout[data-sidebar][data-aside] {
12413
12520
  grid-template-columns: minmax(0, 1fr);
12414
12521
  grid-template-areas: "sidebar" "main";
12415
12522
  }
12416
12523
  .pimolu-dashboard-layout[data-aside=true] {
12417
12524
  grid-template-areas: "sidebar" "main" "aside";
12418
12525
  }
12419
- .pimolu-dashboard-layout:has(.pimolu-sidebar[data-collapsed=true]),
12420
- .pimolu-dashboard-layout[data-aside=true]:has(.pimolu-sidebar[data-collapsed=true]) {
12526
+ .pimolu-dashboard-layout:has(> .pimolu-dashboard-layout__sidebar .pimolu-sidebar[data-collapsed=true]),
12527
+ .pimolu-dashboard-layout[data-aside=true]:has(> .pimolu-dashboard-layout__sidebar .pimolu-sidebar[data-collapsed=true]) {
12421
12528
  grid-template-columns: minmax(0, 1fr);
12422
12529
  }
12423
- .pimolu-dashboard-layout .pimolu-sidebar[data-collapsed=true] {
12530
+ .pimolu-dashboard-layout > .pimolu-dashboard-layout__sidebar .pimolu-sidebar[data-collapsed=true] {
12424
12531
  width: 100%;
12425
12532
  min-height: 60px;
12426
12533
  }
12427
- .pimolu-dashboard-layout .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__content {
12534
+ .pimolu-dashboard-layout > .pimolu-dashboard-layout__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__content {
12428
12535
  display: none;
12429
12536
  }
12430
12537
  .pimolu-dashboard-layout[data-sidebar=false] {
@@ -12454,15 +12561,15 @@ button.pimolu-list__row:focus-visible {
12454
12561
  }
12455
12562
  }
12456
12563
  @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]) {
12564
+ .pimolu-dashboard-layout:has(> .pimolu-dashboard-layout__sidebar .pimolu-sidebar[data-collapsed=true]),
12565
+ .pimolu-dashboard-layout[data-aside=true]:has(> .pimolu-dashboard-layout__sidebar .pimolu-sidebar[data-collapsed=true]) {
12459
12566
  grid-template-columns: minmax(0, 1fr);
12460
12567
  }
12461
- .pimolu-dashboard-layout .pimolu-sidebar[data-collapsed=true] {
12568
+ .pimolu-dashboard-layout > .pimolu-dashboard-layout__sidebar .pimolu-sidebar[data-collapsed=true] {
12462
12569
  width: 100%;
12463
12570
  min-height: 60px;
12464
12571
  }
12465
- .pimolu-dashboard-layout .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__content {
12572
+ .pimolu-dashboard-layout > .pimolu-dashboard-layout__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__content {
12466
12573
  display: none;
12467
12574
  }
12468
12575
  }
@@ -12883,6 +12990,16 @@ button.pimolu-list__row:focus-visible {
12883
12990
  .pimolu-tree-table__table {
12884
12991
  width: 100%;
12885
12992
  }
12993
+ .pimolu-tree-table__table > caption {
12994
+ caption-side: top;
12995
+ padding: 12px 16px;
12996
+ border-block-end: 1px solid var(--pimolu-border);
12997
+ background: var(--pimolu-surface, var(--pimolu-background));
12998
+ color: var(--pimolu-foreground);
12999
+ font-size: 0.8125rem;
13000
+ font-weight: 600;
13001
+ text-align: start;
13002
+ }
12886
13003
  .pimolu-tree-table__head,
12887
13004
  .pimolu-tree-table__cell {
12888
13005
  white-space: nowrap;
@@ -13023,10 +13140,13 @@ button.pimolu-list__row:focus-visible {
13023
13140
 
13024
13141
  /* src/chart.css */
13025
13142
  .pimolu-chart {
13143
+ position: relative;
13026
13144
  --pimolu-chart-axis: var(--pimolu-muted-foreground, #6b7280);
13027
13145
  --pimolu-chart-grid: var(--pimolu-border, rgba(0, 0, 0, 0.12));
13028
13146
  --pimolu-chart-surface: var(--pimolu-surface, #ffffff);
13029
13147
  --pimolu-chart-color: var(--pimolu-primary, #4f46e5);
13148
+ --pimolu-chart-area-fill: var(--pimolu-chart-color);
13149
+ --pimolu-chart-area-opacity: 0.16;
13030
13150
  --pimolu-chart-label-size: 13px;
13031
13151
  --pimolu-chart-axis-title-size: 13px;
13032
13152
  --pimolu-chart-value-size: 12px;
@@ -13044,6 +13164,56 @@ button.pimolu-list__row:focus-visible {
13044
13164
  position: relative;
13045
13165
  width: 100%;
13046
13166
  min-width: 0;
13167
+ border-radius: var(--pimolu-radius-md, 8px);
13168
+ touch-action: pan-y;
13169
+ }
13170
+ .pimolu-chart__canvas:focus-visible {
13171
+ outline: 2px solid var(--pimolu-focus-ring, var(--pimolu-primary, #4f46e5));
13172
+ outline-offset: 4px;
13173
+ }
13174
+ .pimolu-chart__cursor {
13175
+ position: absolute;
13176
+ inset-block: 5% 12%;
13177
+ border-inline-start: 1px dashed var(--pimolu-chart-axis);
13178
+ opacity: 0.65;
13179
+ pointer-events: none;
13180
+ }
13181
+ .pimolu-chart__tooltip {
13182
+ position: absolute;
13183
+ z-index: 2;
13184
+ inset-block-start: 8px;
13185
+ inset-inline-end: 8px;
13186
+ box-sizing: border-box;
13187
+ width: max-content;
13188
+ max-width: calc(100% - 16px);
13189
+ padding: 12px;
13190
+ border: 1px solid var(--pimolu-chart-grid);
13191
+ border-radius: var(--pimolu-radius-md, 8px);
13192
+ background: var(--pimolu-chart-surface);
13193
+ color: var(--pimolu-surface-foreground, var(--pimolu-foreground, #111827));
13194
+ box-shadow: var(--pimolu-shadow-raised, none);
13195
+ font-size: var(--pimolu-chart-legend-size);
13196
+ line-height: 1.5;
13197
+ overflow-wrap: anywhere;
13198
+ }
13199
+ .pimolu-chart__tooltip > strong {
13200
+ display: block;
13201
+ margin-block-end: 6px;
13202
+ }
13203
+ .pimolu-chart__tooltip-row {
13204
+ display: grid;
13205
+ grid-template-columns: 8px minmax(0, 1fr) auto;
13206
+ align-items: center;
13207
+ gap: 8px;
13208
+ }
13209
+ .pimolu-chart__tooltip-row b {
13210
+ font-variant-numeric: tabular-nums;
13211
+ text-align: end;
13212
+ }
13213
+ .pimolu-chart__tooltip-row .pimolu-chart__legend-swatch {
13214
+ width: 8px;
13215
+ height: 8px;
13216
+ border-radius: 50%;
13047
13217
  }
13048
13218
  .pimolu-chart__svg {
13049
13219
  display: block;
@@ -13057,6 +13227,8 @@ button.pimolu-list__row:focus-visible {
13057
13227
  stroke-width: 1;
13058
13228
  shape-rendering: crispEdges;
13059
13229
  vector-effect: non-scaling-stroke;
13230
+ stroke-dasharray: 3 5;
13231
+ opacity: 0.7;
13060
13232
  }
13061
13233
  .pimolu-chart__axis {
13062
13234
  stroke: var(--pimolu-chart-grid);
@@ -13098,12 +13270,13 @@ button.pimolu-list__row:focus-visible {
13098
13270
  stroke-width: 2.5;
13099
13271
  stroke-linecap: round;
13100
13272
  stroke-linejoin: round;
13273
+ vector-effect: non-scaling-stroke;
13101
13274
  stroke-dasharray: 1;
13102
13275
  animation: pimolu-chart-draw 650ms ease-out both;
13103
13276
  }
13104
13277
  .pimolu-chart__area {
13105
- fill: var( --pimolu-chart-color, var(--pimolu-primary, #4f46e5) );
13106
- fill-opacity: 0.16;
13278
+ fill: var(--pimolu-chart-area-fill, var(--pimolu-chart-color, var(--pimolu-primary, #4f46e5)));
13279
+ fill-opacity: var(--pimolu-chart-area-opacity, 0.16);
13107
13280
  stroke: none;
13108
13281
  animation: pimolu-chart-fade 420ms ease-out both;
13109
13282
  }
@@ -13126,6 +13299,36 @@ button.pimolu-list__row:focus-visible {
13126
13299
  .pimolu-chart__donut-track {
13127
13300
  stroke: var( --pimolu-muted, rgba(0, 0, 0, 0.08) );
13128
13301
  }
13302
+ .pimolu-chart--donut {
13303
+ flex-flow: row wrap;
13304
+ align-items: center;
13305
+ gap: 20px;
13306
+ }
13307
+ .pimolu-chart--donut .pimolu-chart__canvas {
13308
+ flex: 1 1 160px;
13309
+ max-width: 260px;
13310
+ margin-inline: auto;
13311
+ }
13312
+ .pimolu-chart--donut .pimolu-chart__legend {
13313
+ flex: 1 1 120px;
13314
+ flex-direction: column;
13315
+ gap: 12px;
13316
+ }
13317
+ .pimolu-chart--donut .pimolu-chart__legend-item {
13318
+ display: grid;
13319
+ grid-template-columns: 10px minmax(0, 1fr);
13320
+ }
13321
+ .pimolu-chart--donut .pimolu-chart__legend-value {
13322
+ grid-column: 2;
13323
+ font-variant-numeric: tabular-nums;
13324
+ }
13325
+ .pimolu-chart--donut .pimolu-chart__tooltip-row {
13326
+ grid-template-columns: 8px minmax(0, 1fr);
13327
+ }
13328
+ .pimolu-chart--donut .pimolu-chart__tooltip-row b {
13329
+ grid-column: 2;
13330
+ text-align: start;
13331
+ }
13129
13332
  .pimolu-chart__segment {
13130
13333
  stroke: var( --pimolu-chart-color, var(--pimolu-primary, #4f46e5) );
13131
13334
  transition: opacity 160ms ease;
@@ -13263,10 +13466,21 @@ button.pimolu-list__row:focus-visible {
13263
13466
  }
13264
13467
  }
13265
13468
  @media (forced-colors: active) {
13469
+ .pimolu-chart__tooltip {
13470
+ background: Canvas;
13471
+ color: CanvasText;
13472
+ border-color: CanvasText;
13473
+ }
13474
+ .pimolu-chart__cursor {
13475
+ border-color: CanvasText;
13476
+ }
13266
13477
  .pimolu-chart__bar,
13267
13478
  .pimolu-chart__area {
13268
13479
  fill: CanvasText;
13269
13480
  }
13481
+ .pimolu-chart__area {
13482
+ fill-opacity: 0.1;
13483
+ }
13270
13484
  .pimolu-chart__line,
13271
13485
  .pimolu-chart__segment {
13272
13486
  stroke: CanvasText;
@@ -15710,18 +15924,20 @@ button.pimolu-list__row:focus-visible {
15710
15924
  /* src/app-shell.css */
15711
15925
  .pimolu-app-shell {
15712
15926
  --pimolu-app-shell-sidebar-width: 16rem;
15927
+ --pimolu-app-shell-sidebar-track: var(--pimolu-app-shell-sidebar-width);
15713
15928
  --pimolu-app-shell-aside-width: 18rem;
15714
15929
  display: grid;
15715
- grid-template-columns: var(--pimolu-app-shell-sidebar-width) minmax(0, 1fr);
15930
+ grid-template-columns: var(--pimolu-app-shell-sidebar-track) minmax(0, 1fr);
15716
15931
  grid-template-areas: "header header" "sidebar main" "footer footer";
15717
15932
  box-sizing: border-box;
15933
+ min-width: 0;
15718
15934
  min-height: 100dvh;
15719
15935
  background: var(--pimolu-background);
15720
15936
  color: var(--pimolu-foreground);
15721
15937
  font-family: var(--pimolu-font-body, inherit);
15722
15938
  }
15723
15939
  .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);
15940
+ grid-template-columns: var(--pimolu-app-shell-sidebar-track) minmax(0, 1fr) var(--pimolu-app-shell-aside-width);
15725
15941
  grid-template-areas: "header header header" "sidebar main aside" "footer footer footer";
15726
15942
  }
15727
15943
  .pimolu-app-shell[data-sidebar=false] {
@@ -15732,21 +15948,14 @@ button.pimolu-list__row:focus-visible {
15732
15948
  grid-template-columns: minmax(0, 1fr) var(--pimolu-app-shell-aside-width);
15733
15949
  grid-template-areas: "header header" "main aside" "footer footer";
15734
15950
  }
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);
15951
+ .pimolu-app-shell:has(> .pimolu-app-shell__sidebar .pimolu-sidebar[data-collapsed=true]) {
15952
+ --pimolu-app-shell-sidebar-track: 3.75rem;
15741
15953
  }
15742
15954
  @container (max-width: 1100px) {
15743
15955
  .pimolu-app-shell[data-aside=true] {
15744
- grid-template-columns: var(--pimolu-app-shell-sidebar-width) minmax(0, 1fr);
15956
+ grid-template-columns: var(--pimolu-app-shell-sidebar-track) minmax(0, 1fr);
15745
15957
  grid-template-areas: "header header" "sidebar main" "aside aside" "footer footer";
15746
15958
  }
15747
- .pimolu-app-shell[data-aside=true]:has(.pimolu-sidebar[data-collapsed=true]) {
15748
- grid-template-columns: 3.75rem minmax(0, 1fr);
15749
- }
15750
15959
  .pimolu-app-shell[data-sidebar=false][data-aside=true] {
15751
15960
  grid-template-columns: minmax(0, 1fr);
15752
15961
  grid-template-areas: "header" "main" "aside" "footer";
@@ -15757,6 +15966,27 @@ button.pimolu-list__row:focus-visible {
15757
15966
  }
15758
15967
  }
15759
15968
  @container (max-width: 720px) {
15969
+ .pimolu-app-shell > .pimolu-app-shell__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header {
15970
+ display: flex;
15971
+ min-height: 40px;
15972
+ padding-block: 0;
15973
+ }
15974
+ .pimolu-app-shell > .pimolu-app-shell__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__toggle {
15975
+ position: absolute;
15976
+ }
15977
+ .pimolu-app-shell > .pimolu-app-shell__sidebar > .pimolu-sidebar {
15978
+ width: 100%;
15979
+ min-height: auto;
15980
+ border-inline-end: 0;
15981
+ }
15982
+ .pimolu-app-shell__sidebar {
15983
+ border-inline-end: 0;
15984
+ border-block-end: 1px solid var(--pimolu-border);
15985
+ }
15986
+ .pimolu-app-shell__main,
15987
+ .pimolu-app-shell__aside {
15988
+ padding: var(--pimolu-spacing-4, 16px);
15989
+ }
15760
15990
  .pimolu-app-shell,
15761
15991
  .pimolu-app-shell[data-aside=true],
15762
15992
  .pimolu-app-shell[data-sidebar=false],
@@ -15814,6 +16044,19 @@ button.pimolu-list__row:focus-visible {
15814
16044
  font-size: 0.8125rem;
15815
16045
  }
15816
16046
  @media (max-width: 960px) {
16047
+ .pimolu-app-shell > .pimolu-app-shell__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__header {
16048
+ display: flex;
16049
+ min-height: 40px;
16050
+ padding-block: 0;
16051
+ }
16052
+ .pimolu-app-shell > .pimolu-app-shell__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__toggle {
16053
+ position: absolute;
16054
+ }
16055
+ .pimolu-app-shell > .pimolu-app-shell__sidebar > .pimolu-sidebar {
16056
+ width: 100%;
16057
+ min-height: auto;
16058
+ border-inline-end: 0;
16059
+ }
15817
16060
  .pimolu-app-shell,
15818
16061
  .pimolu-app-shell[data-aside=true],
15819
16062
  .pimolu-app-shell[data-sidebar=false],
@@ -15821,15 +16064,15 @@ button.pimolu-list__row:focus-visible {
15821
16064
  grid-template-columns: minmax(0, 1fr);
15822
16065
  grid-template-areas: "header" "sidebar" "main" "aside" "footer";
15823
16066
  }
15824
- .pimolu-app-shell:has(.pimolu-sidebar[data-collapsed=true]),
15825
- .pimolu-app-shell[data-aside=true]:has(.pimolu-sidebar[data-collapsed=true]) {
16067
+ .pimolu-app-shell:has(> .pimolu-app-shell__sidebar .pimolu-sidebar[data-collapsed=true]),
16068
+ .pimolu-app-shell[data-aside=true]:has(> .pimolu-app-shell__sidebar .pimolu-sidebar[data-collapsed=true]) {
15826
16069
  grid-template-columns: minmax(0, 1fr);
15827
16070
  }
15828
- .pimolu-app-shell .pimolu-sidebar[data-collapsed=true] {
16071
+ .pimolu-app-shell > .pimolu-app-shell__sidebar .pimolu-sidebar[data-collapsed=true] {
15829
16072
  width: 100%;
15830
16073
  min-height: 60px;
15831
16074
  }
15832
- .pimolu-app-shell .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__content {
16075
+ .pimolu-app-shell > .pimolu-app-shell__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__content {
15833
16076
  display: none;
15834
16077
  }
15835
16078
  .pimolu-app-shell[data-sidebar=false] {
@@ -15867,15 +16110,15 @@ button.pimolu-list__row:focus-visible {
15867
16110
  }
15868
16111
  }
15869
16112
  @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]) {
16113
+ .pimolu-app-shell:has(> .pimolu-app-shell__sidebar .pimolu-sidebar[data-collapsed=true]),
16114
+ .pimolu-app-shell[data-aside=true]:has(> .pimolu-app-shell__sidebar .pimolu-sidebar[data-collapsed=true]) {
15872
16115
  grid-template-columns: minmax(0, 1fr);
15873
16116
  }
15874
- .pimolu-app-shell .pimolu-sidebar[data-collapsed=true] {
16117
+ .pimolu-app-shell > .pimolu-app-shell__sidebar .pimolu-sidebar[data-collapsed=true] {
15875
16118
  width: 100%;
15876
16119
  min-height: 60px;
15877
16120
  }
15878
- .pimolu-app-shell .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__content {
16121
+ .pimolu-app-shell > .pimolu-app-shell__sidebar .pimolu-sidebar[data-collapsed=true] > .pimolu-sidebar__content {
15879
16122
  display: none;
15880
16123
  }
15881
16124
  }
@@ -16812,11 +17055,12 @@ button.pimolu-list__row:focus-visible {
16812
17055
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--pimolu-primary, #4f46e5) 35%, transparent);
16813
17056
  }
16814
17057
  .pimolu-kanban__column-header {
17058
+ position: relative;
16815
17059
  display: flex;
16816
17060
  align-items: flex-start;
16817
17061
  justify-content: space-between;
16818
17062
  gap: var(--pimolu-spacing-2, 8px);
16819
- padding: var(--pimolu-spacing-3, 12px);
17063
+ padding: var(--pimolu-spacing-4, 16px);
16820
17064
  border-bottom: 1px solid var(--pimolu-border, #e2e8f0);
16821
17065
  }
16822
17066
  .pimolu-kanban__column-title {
@@ -16832,7 +17076,30 @@ button.pimolu-list__row:focus-visible {
16832
17076
  letter-spacing: 0.01em;
16833
17077
  overflow-wrap: anywhere;
16834
17078
  }
17079
+ .pimolu-kanban__capacity {
17080
+ position: absolute;
17081
+ inset-inline: 16px;
17082
+ inset-block-end: -1px;
17083
+ height: 3px;
17084
+ overflow: hidden;
17085
+ border-radius: 999px;
17086
+ background: var(--pimolu-muted, #f1f5f9);
17087
+ }
17088
+ .pimolu-kanban__capacity > span {
17089
+ display: block;
17090
+ height: 100%;
17091
+ background: var(--pimolu-primary, #4f46e5);
17092
+ border-radius: inherit;
17093
+ }
17094
+ .pimolu-kanban__column--full .pimolu-kanban__capacity > span {
17095
+ background: var(--pimolu-warning, #d97706);
17096
+ }
16835
17097
  .pimolu-kanban__count {
17098
+ align-self: start;
17099
+ margin-block-start: 4px;
17100
+ padding: 2px 7px;
17101
+ border-radius: var(--pimolu-radius-full, 999px);
17102
+ background: var(--pimolu-muted, #f1f5f9);
16836
17103
  color: var( --pimolu-muted-foreground, var(--pimolu-foreground, currentColor) );
16837
17104
  font-size: var(--pimolu-font-size-xs, 12px);
16838
17105
  font-weight: 450;
@@ -16855,6 +17122,7 @@ button.pimolu-list__row:focus-visible {
16855
17122
  }
16856
17123
  .pimolu-kanban__item {
16857
17124
  min-width: 0;
17125
+ margin: 0;
16858
17126
  list-style: none;
16859
17127
  }
16860
17128
  .pimolu-kanban__empty {
@@ -16896,7 +17164,7 @@ button.pimolu-list__row:focus-visible {
16896
17164
  gap: var(--pimolu-spacing-2, 8px);
16897
17165
  box-sizing: border-box;
16898
17166
  min-width: 0;
16899
- padding: 10px var(--pimolu-spacing-3, 12px);
17167
+ padding: 14px var(--pimolu-spacing-4, 16px);
16900
17168
  border: var(--pimolu-control-border-width, 1px) solid var(--pimolu-border, #e2e8f0);
16901
17169
  border-radius: var(--pimolu-radius-md, 10px);
16902
17170
  background: var(--pimolu-background, #fff);
@@ -17798,9 +18066,11 @@ a.pimolu-chat__attachment-name:focus-visible {
17798
18066
  font-size: 0.8125rem;
17799
18067
  }
17800
18068
  .pimolu-scheduler__scroll {
18069
+ position: relative;
17801
18070
  width: 100%;
17802
18071
  min-width: 0;
17803
- overflow-x: auto;
18072
+ overflow: auto;
18073
+ border-radius: var(--pimolu-scheduler-radius);
17804
18074
  overscroll-behavior-x: contain;
17805
18075
  }
17806
18076
  .pimolu-scheduler__board {
@@ -17812,7 +18082,7 @@ a.pimolu-chat__attachment-name:focus-visible {
17812
18082
  background: var(--pimolu-scheduler-surface);
17813
18083
  border: 1px solid var(--pimolu-scheduler-border);
17814
18084
  border-radius: var(--pimolu-scheduler-radius);
17815
- overflow: hidden;
18085
+ overflow: clip;
17816
18086
  }
17817
18087
  .pimolu-scheduler__grid {
17818
18088
  display: flex;
@@ -17825,6 +18095,10 @@ a.pimolu-chat__attachment-name:focus-visible {
17825
18095
  grid-template-columns: var(--pimolu-scheduler-time-width) repeat(var(--pimolu-scheduler-day-count, 7), minmax(0, 1fr));
17826
18096
  }
17827
18097
  .pimolu-scheduler__header-row {
18098
+ position: sticky;
18099
+ top: 0;
18100
+ z-index: 5;
18101
+ background: var(--pimolu-scheduler-surface);
17828
18102
  height: var(--pimolu-scheduler-header-height);
17829
18103
  border-bottom: 1px solid var(--pimolu-scheduler-border);
17830
18104
  }
@@ -17949,6 +18223,7 @@ a.pimolu-chat__attachment-name:focus-visible {
17949
18223
  border-top: 1px solid var(--pimolu-scheduler-border);
17950
18224
  }
17951
18225
  .pimolu-scheduler__slot {
18226
+ scroll-margin-block-start: calc(var(--pimolu-scheduler-header-height) + 8px);
17952
18227
  display: block;
17953
18228
  box-sizing: border-box;
17954
18229
  width: 100%;
@@ -18025,6 +18300,16 @@ a.pimolu-chat__attachment-name:focus-visible {
18025
18300
  text-overflow: ellipsis;
18026
18301
  white-space: nowrap;
18027
18302
  }
18303
+ .pimolu-scheduler__event[data-compact=true] {
18304
+ padding: 1px 6px;
18305
+ justify-content: center;
18306
+ }
18307
+ .pimolu-scheduler__event[data-compact=true] .pimolu-scheduler__event-time {
18308
+ display: none;
18309
+ }
18310
+ .pimolu-scheduler__event[data-compact=true] .pimolu-scheduler__event-title {
18311
+ font-size: 0.6875rem;
18312
+ }
18028
18313
  .pimolu-scheduler__now {
18029
18314
  position: absolute;
18030
18315
  right: 0;
@@ -18282,9 +18567,13 @@ a.pimolu-chat__attachment-name:focus-visible {
18282
18567
  overflow: hidden;
18283
18568
  }
18284
18569
  .pimolu-gantt__task-button {
18285
- display: block;
18570
+ display: flex;
18571
+ align-items: center;
18572
+ justify-content: space-between;
18573
+ gap: 8px;
18286
18574
  box-sizing: border-box;
18287
18575
  max-width: 100%;
18576
+ width: 100%;
18288
18577
  padding: 3px 5px;
18289
18578
  margin-left: -5px;
18290
18579
  color: var(--pimolu-foreground, #0f172a);
@@ -18300,6 +18589,20 @@ a.pimolu-chat__attachment-name:focus-visible {
18300
18589
  cursor: pointer;
18301
18590
  overflow: hidden;
18302
18591
  }
18592
+ .pimolu-gantt__task-name {
18593
+ min-width: 0;
18594
+ overflow: hidden;
18595
+ text-overflow: ellipsis;
18596
+ }
18597
+ .pimolu-gantt__task-completion {
18598
+ flex: none;
18599
+ font-size: 0.6875rem;
18600
+ font-variant-numeric: tabular-nums;
18601
+ color: var(--pimolu-gantt-muted-foreground);
18602
+ background: var(--pimolu-gantt-muted);
18603
+ border-radius: var(--pimolu-radius-sm, 4px);
18604
+ padding: 2px 5px;
18605
+ }
18303
18606
  .pimolu-gantt__task-button:hover {
18304
18607
  background: var(--pimolu-gantt-muted);
18305
18608
  }
@@ -18907,6 +19210,9 @@ a.pimolu-chat__attachment-name:focus-visible {
18907
19210
 
18908
19211
  /* src/page-header.css */
18909
19212
  .pimolu-page-header {
19213
+ container-type: inline-size;
19214
+ --pimolu-page-header-title-size: clamp(1.75rem, 5cqi, 2.75rem);
19215
+ width: 100%;
18910
19216
  display: flex;
18911
19217
  flex-direction: column;
18912
19218
  gap: var(--pimolu-spacing-4, 16px);
@@ -18915,6 +19221,22 @@ a.pimolu-chat__attachment-name:focus-visible {
18915
19221
  color: var(--pimolu-foreground);
18916
19222
  font-family: var(--pimolu-font-body, inherit);
18917
19223
  }
19224
+ .pimolu-page-header[data-size=sm] {
19225
+ --pimolu-page-header-title-size: clamp(1.25rem, 4cqi, 1.75rem);
19226
+ gap: 12px;
19227
+ }
19228
+ .pimolu-page-header[data-size=sm] .pimolu-page-header__content {
19229
+ gap: 8px;
19230
+ }
19231
+ .pimolu-page-header[data-size=sm] .pimolu-page-header__description {
19232
+ font-size: 0.875rem;
19233
+ }
19234
+ .pimolu-page-header[data-size=lg] {
19235
+ --pimolu-page-header-title-size: clamp(2rem, 7cqi, 4rem);
19236
+ }
19237
+ .pimolu-page-header__actions {
19238
+ max-width: 100%;
19239
+ }
18918
19240
  .pimolu-page-header__breadcrumbs {
18919
19241
  display: flex;
18920
19242
  justify-content: flex-start;
@@ -18962,7 +19284,7 @@ a.pimolu-chat__attachment-name:focus-visible {
18962
19284
  margin: 0;
18963
19285
  color: var(--pimolu-foreground);
18964
19286
  font-family: var(--pimolu-font-heading, inherit);
18965
- font-size: clamp(1.75rem, 3.5vw, 2.75rem);
19287
+ font-size: var(--pimolu-page-header-title-size, clamp(1.75rem, 3.5vw, 2.75rem));
18966
19288
  font-weight: 700;
18967
19289
  line-height: 1.1;
18968
19290
  letter-spacing: -0.02em;
@@ -19263,6 +19585,8 @@ a.pimolu-chat__attachment-name:focus-visible {
19263
19585
  font-family: var(--pimolu-font-body, inherit);
19264
19586
  }
19265
19587
  .pimolu-docs-layout__skip-link {
19588
+ opacity: 0;
19589
+ pointer-events: none;
19266
19590
  position: fixed;
19267
19591
  inset-block-start: var(--pimolu-spacing-3, 12px);
19268
19592
  inset-inline-start: var(--pimolu-spacing-3, 12px);
@@ -19280,6 +19604,8 @@ a.pimolu-chat__attachment-name:focus-visible {
19280
19604
  transition: transform 150ms ease;
19281
19605
  }
19282
19606
  .pimolu-docs-layout__skip-link:focus-visible {
19607
+ opacity: 1;
19608
+ pointer-events: auto;
19283
19609
  transform: translateY(0);
19284
19610
  outline: 2px solid var(--pimolu-focus-ring, var(--pimolu-primary));
19285
19611
  outline-offset: 2px;
@@ -19353,6 +19679,11 @@ a.pimolu-chat__attachment-name:focus-visible {
19353
19679
  scrollbar-gutter: stable;
19354
19680
  }
19355
19681
  @media (max-width: 1180px) {
19682
+ .pimolu-docs-layout[data-sticky=true][data-toc=true] > .pimolu-docs-layout__body > .pimolu-docs-layout__sidebar {
19683
+ position: static;
19684
+ max-height: none;
19685
+ overflow: visible;
19686
+ }
19356
19687
  .pimolu-docs-layout__body {
19357
19688
  grid-template-columns: var(--pimolu-docs-sidebar-width) minmax(0, 1fr);
19358
19689
  grid-template-areas: "sidebar main" "toc toc";