@revikornmann/muka-ui 0.30.0 → 0.32.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.
@@ -4618,192 +4618,6 @@ body {
4618
4618
  }
4619
4619
 
4620
4620
 
4621
- /* SwipeActions */
4622
- /* SwipeActions Component Styles */
4623
-
4624
- .muka-swipe-actions {
4625
- position: relative;
4626
- overflow: hidden;
4627
- touch-action: pan-y;
4628
- -webkit-user-select: none;
4629
- user-select: none;
4630
- background-color: var(--color-surface-level3);
4631
- }
4632
-
4633
- .muka-swipe-actions--disabled {
4634
- touch-action: auto;
4635
- }
4636
-
4637
- /* ─── Row that holds the actual content ────────────────── */
4638
-
4639
- .muka-swipe-actions__row {
4640
- position: relative;
4641
- z-index: 1;
4642
- background-color: inherit;
4643
- will-change: transform;
4644
- }
4645
-
4646
- /* ─── Action panels — sit beneath the row ──────────────── */
4647
-
4648
- .muka-swipe-actions__panel {
4649
- position: absolute;
4650
- top: 0;
4651
- bottom: 0;
4652
- display: flex;
4653
- align-items: stretch;
4654
- z-index: 0;
4655
- }
4656
-
4657
- .muka-swipe-actions__panel--left {
4658
- left: 0;
4659
- }
4660
-
4661
- .muka-swipe-actions__panel--right {
4662
- right: 0;
4663
- }
4664
-
4665
- /* ─── Single action button ─────────────────────────────── */
4666
-
4667
- .muka-swipe-actions__button {
4668
- display: flex;
4669
- flex-direction: column;
4670
- align-items: center;
4671
- justify-content: center;
4672
- gap: var(--spacing-1);
4673
- border: none;
4674
- cursor: pointer;
4675
- padding: var(--spacing-2);
4676
- background-color: var(--color-surface-level2);
4677
- color: var(--color-text-default-default);
4678
- font-family: var(--text-label-sm-semibold-fontFamily);
4679
- font-weight: var(--text-label-sm-semibold-fontWeight);
4680
- font-size: var(--text-label-sm-semibold-fontSize);
4681
- line-height: var(--text-label-sm-semibold-lineHeight);
4682
- -webkit-tap-highlight-color: transparent;
4683
- transition: filter 0.12s ease;
4684
- }
4685
-
4686
- .muka-swipe-actions__button:hover {
4687
- filter: brightness(0.95);
4688
- }
4689
-
4690
- .muka-swipe-actions__button:focus-visible {
4691
- outline: 2px solid var(--color-action-default);
4692
- outline-offset: -2px;
4693
- }
4694
-
4695
- .muka-swipe-actions__button-icon {
4696
- display: inline-flex;
4697
- align-items: center;
4698
- justify-content: center;
4699
- }
4700
-
4701
- /* ─── Color variants ───────────────────────────────────── */
4702
-
4703
- .muka-swipe-actions__button--neutral {
4704
- background-color: var(--color-surface-level2);
4705
- color: var(--color-text-default-default);
4706
- }
4707
-
4708
- .muka-swipe-actions__button--primary {
4709
- background-color: var(--color-action-default);
4710
- color: var(--color-text-default-inverse);
4711
- }
4712
-
4713
- .muka-swipe-actions__button--success {
4714
- background-color: var(--color-state-success-default);
4715
- color: var(--color-text-default-inverse);
4716
- }
4717
-
4718
- .muka-swipe-actions__button--warning {
4719
- background-color: var(--color-state-warning-default);
4720
- color: var(--color-text-default-default);
4721
- }
4722
-
4723
- .muka-swipe-actions__button--destructive {
4724
- background-color: var(--color-state-error-default);
4725
- color: var(--color-text-default-inverse);
4726
- }
4727
-
4728
-
4729
- /* Spinner */
4730
- /* Spinner Component Styles */
4731
-
4732
- .muka-spinner {
4733
- display: inline-flex;
4734
- align-items: center;
4735
- justify-content: center;
4736
- color: var(--color-text-default-default);
4737
- line-height: 0;
4738
- }
4739
-
4740
- .muka-spinner--subtle {
4741
- color: var(--color-text-subtle-default);
4742
- }
4743
-
4744
- .muka-spinner--inverse {
4745
- color: var(--color-text-default-inverse);
4746
- }
4747
-
4748
- .muka-spinner__circle {
4749
- display: inline-block;
4750
- border-radius: 50%;
4751
- border-style: solid;
4752
- border-color: currentColor;
4753
- border-right-color: transparent;
4754
- animation: muka-spinner-rotate 0.7s linear infinite;
4755
- box-sizing: border-box;
4756
- }
4757
-
4758
- /* ─── Sizes ───────────────────────────────────────────── */
4759
-
4760
- .muka-spinner--sm .muka-spinner__circle {
4761
- width: 16px;
4762
- height: 16px;
4763
- border-width: 2px;
4764
- }
4765
-
4766
- .muka-spinner--md .muka-spinner__circle {
4767
- width: 20px;
4768
- height: 20px;
4769
- border-width: 2px;
4770
- }
4771
-
4772
- .muka-spinner--lg .muka-spinner__circle {
4773
- width: 24px;
4774
- height: 24px;
4775
- border-width: 3px;
4776
- }
4777
-
4778
- /* ─── Visually-hidden label ───────────────────────────── */
4779
-
4780
- .muka-spinner__sr-label {
4781
- position: absolute;
4782
- width: 1px;
4783
- height: 1px;
4784
- padding: 0;
4785
- margin: -1px;
4786
- overflow: hidden;
4787
- clip: rect(0, 0, 0, 0);
4788
- white-space: nowrap;
4789
- border: 0;
4790
- }
4791
-
4792
- /* ─── Reduced motion ──────────────────────────────────── */
4793
-
4794
- @keyframes muka-spinner-rotate {
4795
- to {
4796
- transform: rotate(360deg);
4797
- }
4798
- }
4799
-
4800
- @media (prefers-reduced-motion: reduce) {
4801
- .muka-spinner__circle {
4802
- animation-duration: 2.5s;
4803
- }
4804
- }
4805
-
4806
-
4807
4621
  /* SpecList */
4808
4622
  /* SpecList Component Styles */
4809
4623
 
@@ -6699,6 +6513,22 @@ body {
6699
6513
  padding-bottom: var(--spacing-7);
6700
6514
  }
6701
6515
 
6516
+ /* Scrollable: the root scrolls sideways when the steps don't fit. The inline
6517
+ padding leaves room for the first and last labels, which hang past their
6518
+ indicators; the scrollbar stays hidden (touch and trackpad still scroll). */
6519
+ .muka-progress-tracker--scrollable {
6520
+ overflow-x: auto;
6521
+ overflow-y: hidden;
6522
+ -webkit-overflow-scrolling: touch;
6523
+ scrollbar-width: none;
6524
+ padding-inline: var(--spacing-12);
6525
+ box-sizing: border-box;
6526
+ }
6527
+
6528
+ .muka-progress-tracker--scrollable::-webkit-scrollbar {
6529
+ display: none;
6530
+ }
6531
+
6702
6532
  /* ─── Track (layered container) ─────────────────────────── */
6703
6533
  .muka-progress-tracker--horizontal .muka-progress-tracker__track {
6704
6534
  position: relative;
@@ -7380,46 +7210,218 @@ body {
7380
7210
  }
7381
7211
 
7382
7212
 
7383
- /* ProfileBadge */
7384
- /* ProfileBadge Component Styles - Using Muka Design Tokens */
7213
+ /* Progress */
7214
+ /* Progress Component Styles - Using Muka Design Tokens */
7385
7215
 
7386
- .muka-profile-badge {
7387
- display: inline-flex;
7216
+ /* ========================================
7217
+ BAR VARIANT
7218
+ ======================================== */
7219
+
7220
+ .muka-progress--bar {
7221
+ display: flex;
7388
7222
  align-items: center;
7389
- font-family: var(--text-body-base-regular-fontFamily);
7223
+ gap: var(--spacing-2);
7224
+ width: 100%;
7390
7225
  }
7391
7226
 
7392
- /* Size variants */
7393
- .muka-profile-badge--lg {
7394
- gap: var(--spacing-4); /* 16px */
7227
+ .muka-progress--bar .muka-progress__track {
7228
+ flex: 1;
7229
+ background-color: var(--color-surface-level1);
7230
+ border-radius: var(--border-radius-full);
7231
+ overflow: hidden;
7395
7232
  }
7396
7233
 
7397
- .muka-profile-badge--md {
7398
- gap: var(--spacing-3); /* 12px */
7234
+ .muka-progress--bar.muka-progress--sm .muka-progress__track {
7235
+ height: var(--progress-size-bar-height-sm);
7399
7236
  }
7400
7237
 
7401
- .muka-profile-badge__avatar {
7402
- flex-shrink: 0;
7238
+ .muka-progress--bar.muka-progress--md .muka-progress__track {
7239
+ height: var(--progress-size-bar-height-md);
7403
7240
  }
7404
7241
 
7405
- /* Text stack */
7406
- .muka-profile-badge__text {
7407
- display: flex;
7408
- flex-direction: column;
7409
- align-items: flex-start;
7410
- min-width: 0;
7242
+ .muka-progress--bar.muka-progress--lg .muka-progress__track {
7243
+ height: var(--progress-size-bar-height-lg);
7411
7244
  }
7412
7245
 
7413
- .muka-profile-badge__name {
7414
- font-family: var(--text-body-base-regular-fontFamily);
7415
- font-size: var(--text-body-base-regular-fontSize);
7416
- font-weight: var(--text-body-base-regular-fontWeight);
7417
- line-height: var(--text-body-base-regular-lineHeight);
7246
+ .muka-progress--bar .muka-progress__fill {
7247
+ height: 100%;
7248
+ background-color: var(--color-action-default);
7249
+ border-radius: var(--border-radius-full);
7250
+ transition: width 0.3s ease;
7251
+ }
7252
+
7253
+ .muka-progress--bar .muka-progress__label {
7254
+ flex-shrink: 0;
7255
+ font-family: var(--text-label-sm-semibold-fontFamily);
7256
+ font-weight: var(--text-label-sm-semibold-fontWeight);
7257
+ font-size: var(--text-label-sm-semibold-fontSize);
7258
+ line-height: var(--text-label-sm-semibold-lineHeight);
7418
7259
  color: var(--color-text-default-default);
7260
+ min-width: 3ch;
7261
+ text-align: right;
7419
7262
  }
7420
7263
 
7421
- .muka-profile-badge__email {
7422
- font-family: var(--text-body-xs-regular-fontFamily);
7264
+ /* Indeterminate animation for bar */
7265
+ .muka-progress--bar.muka-progress--indeterminate .muka-progress__fill {
7266
+ width: 40%;
7267
+ animation: muka-progress-bar-indeterminate 1.5s ease-in-out infinite;
7268
+ }
7269
+
7270
+ @keyframes muka-progress-bar-indeterminate {
7271
+ 0% {
7272
+ transform: translateX(-100%);
7273
+ }
7274
+ 100% {
7275
+ transform: translateX(250%);
7276
+ }
7277
+ }
7278
+
7279
+ /* ========================================
7280
+ CIRCLE VARIANT
7281
+ ======================================== */
7282
+
7283
+ .muka-progress--circle {
7284
+ position: relative;
7285
+ display: inline-flex;
7286
+ align-items: center;
7287
+ justify-content: center;
7288
+ }
7289
+
7290
+ .muka-progress--circle.muka-progress--sm {
7291
+ width: var(--progress-size-circle-diameter-sm);
7292
+ height: var(--progress-size-circle-diameter-sm);
7293
+ }
7294
+
7295
+ .muka-progress--circle.muka-progress--md {
7296
+ width: var(--progress-size-circle-diameter-md);
7297
+ height: var(--progress-size-circle-diameter-md);
7298
+ }
7299
+
7300
+ .muka-progress--circle.muka-progress--lg {
7301
+ width: var(--progress-size-circle-diameter-lg);
7302
+ height: var(--progress-size-circle-diameter-lg);
7303
+ }
7304
+
7305
+ .muka-progress__circle {
7306
+ width: 100%;
7307
+ height: 100%;
7308
+ transform: rotate(-90deg);
7309
+ }
7310
+
7311
+ .muka-progress--circle .muka-progress__track {
7312
+ fill: none;
7313
+ stroke: var(--color-surface-level1);
7314
+ }
7315
+
7316
+ .muka-progress--circle.muka-progress--sm .muka-progress__track,
7317
+ .muka-progress--circle.muka-progress--sm .muka-progress__fill {
7318
+ stroke-width: var(--progress-size-circle-strokeWidth-sm);
7319
+ }
7320
+
7321
+ .muka-progress--circle.muka-progress--md .muka-progress__track,
7322
+ .muka-progress--circle.muka-progress--md .muka-progress__fill {
7323
+ stroke-width: var(--progress-size-circle-strokeWidth-md);
7324
+ }
7325
+
7326
+ .muka-progress--circle.muka-progress--lg .muka-progress__track,
7327
+ .muka-progress--circle.muka-progress--lg .muka-progress__fill {
7328
+ stroke-width: var(--progress-size-circle-strokeWidth-lg);
7329
+ }
7330
+
7331
+ .muka-progress--circle .muka-progress__fill {
7332
+ fill: none;
7333
+ stroke: var(--color-action-default);
7334
+ stroke-linecap: round;
7335
+ transition: stroke-dashoffset 0.3s ease;
7336
+ }
7337
+
7338
+ .muka-progress--circle .muka-progress__label {
7339
+ position: absolute;
7340
+ font-family: var(--text-label-sm-semibold-fontFamily);
7341
+ font-weight: var(--text-label-sm-semibold-fontWeight);
7342
+ color: var(--color-text-default-default);
7343
+ }
7344
+
7345
+ .muka-progress--circle.muka-progress--sm .muka-progress__label {
7346
+ font-size: var(--text-label-sm-semibold-fontSize);
7347
+ }
7348
+
7349
+ .muka-progress--circle.muka-progress--md .muka-progress__label {
7350
+ font-size: var(--text-label-md-semibold-fontSize);
7351
+ }
7352
+
7353
+ .muka-progress--circle.muka-progress--lg .muka-progress__label {
7354
+ font-size: var(--text-label-lg-semibold-fontSize);
7355
+ }
7356
+
7357
+ /* Indeterminate animation for circle */
7358
+ .muka-progress--circle.muka-progress--indeterminate .muka-progress__circle {
7359
+ animation: muka-progress-circle-rotate 2s linear infinite;
7360
+ }
7361
+
7362
+ .muka-progress--circle.muka-progress--indeterminate .muka-progress__fill {
7363
+ animation: muka-progress-circle-dash 1.5s ease-in-out infinite;
7364
+ }
7365
+
7366
+ @keyframes muka-progress-circle-rotate {
7367
+ 100% {
7368
+ transform: rotate(270deg);
7369
+ }
7370
+ }
7371
+
7372
+ @keyframes muka-progress-circle-dash {
7373
+ 0% {
7374
+ stroke-dashoffset: 220;
7375
+ }
7376
+ 50% {
7377
+ stroke-dashoffset: 70;
7378
+ }
7379
+ 100% {
7380
+ stroke-dashoffset: 220;
7381
+ }
7382
+ }
7383
+
7384
+
7385
+ /* ProfileBadge */
7386
+ /* ProfileBadge Component Styles - Using Muka Design Tokens */
7387
+
7388
+ .muka-profile-badge {
7389
+ display: inline-flex;
7390
+ align-items: center;
7391
+ font-family: var(--text-body-base-regular-fontFamily);
7392
+ }
7393
+
7394
+ /* Size variants */
7395
+ .muka-profile-badge--lg {
7396
+ gap: var(--spacing-4); /* 16px */
7397
+ }
7398
+
7399
+ .muka-profile-badge--md {
7400
+ gap: var(--spacing-3); /* 12px */
7401
+ }
7402
+
7403
+ .muka-profile-badge__avatar {
7404
+ flex-shrink: 0;
7405
+ }
7406
+
7407
+ /* Text stack */
7408
+ .muka-profile-badge__text {
7409
+ display: flex;
7410
+ flex-direction: column;
7411
+ align-items: flex-start;
7412
+ min-width: 0;
7413
+ }
7414
+
7415
+ .muka-profile-badge__name {
7416
+ font-family: var(--text-body-base-regular-fontFamily);
7417
+ font-size: var(--text-body-base-regular-fontSize);
7418
+ font-weight: var(--text-body-base-regular-fontWeight);
7419
+ line-height: var(--text-body-base-regular-lineHeight);
7420
+ color: var(--color-text-default-default);
7421
+ }
7422
+
7423
+ .muka-profile-badge__email {
7424
+ font-family: var(--text-body-xs-regular-fontFamily);
7423
7425
  font-size: var(--text-body-xs-regular-fontSize);
7424
7426
  font-weight: var(--text-body-xs-regular-fontWeight);
7425
7427
  line-height: var(--text-body-xs-regular-lineHeight);
@@ -7579,235 +7581,63 @@ body {
7579
7581
  }
7580
7582
 
7581
7583
 
7582
- /* Progress */
7583
- /* Progress Component Styles - Using Muka Design Tokens */
7584
-
7585
- /* ========================================
7586
- BAR VARIANT
7587
- ======================================== */
7584
+ /* PieChart */
7585
+ /* PieChart Component Styles - Using Muka Design Tokens */
7588
7586
 
7589
- .muka-progress--bar {
7590
- display: flex;
7587
+ .muka-piechart {
7588
+ display: inline-flex;
7591
7589
  align-items: center;
7592
- gap: var(--spacing-2);
7593
- width: 100%;
7590
+ gap: var(--spacing-4);
7594
7591
  }
7595
7592
 
7596
- .muka-progress--bar .muka-progress__track {
7597
- flex: 1;
7598
- background-color: var(--color-surface-level1);
7599
- border-radius: var(--border-radius-full);
7600
- overflow: hidden;
7593
+ /* Legend layout */
7594
+ .muka-piechart--legend-right {
7595
+ flex-direction: row;
7601
7596
  }
7602
7597
 
7603
- .muka-progress--bar.muka-progress--sm .muka-progress__track {
7604
- height: var(--progress-size-bar-height-sm);
7598
+ .muka-piechart--legend-bottom {
7599
+ flex-direction: column;
7605
7600
  }
7606
7601
 
7607
- .muka-progress--bar.muka-progress--md .muka-progress__track {
7608
- height: var(--progress-size-bar-height-md);
7609
- }
7602
+ /* ========================================
7603
+ CHART
7604
+ ======================================== */
7610
7605
 
7611
- .muka-progress--bar.muka-progress--lg .muka-progress__track {
7612
- height: var(--progress-size-bar-height-lg);
7606
+ .muka-piechart__chart {
7607
+ position: relative;
7608
+ flex-shrink: 0;
7613
7609
  }
7614
7610
 
7615
- .muka-progress--bar .muka-progress__fill {
7616
- height: 100%;
7617
- background-color: var(--color-action-default);
7618
- border-radius: var(--border-radius-full);
7619
- transition: width 0.3s ease;
7611
+ .muka-piechart__chart--sm {
7612
+ width: var(--piechart-size-diameter-sm);
7613
+ height: var(--piechart-size-diameter-sm);
7620
7614
  }
7621
7615
 
7622
- .muka-progress--bar .muka-progress__label {
7623
- flex-shrink: 0;
7624
- font-family: var(--text-label-sm-semibold-fontFamily);
7625
- font-weight: var(--text-label-sm-semibold-fontWeight);
7626
- font-size: var(--text-label-sm-semibold-fontSize);
7627
- line-height: var(--text-label-sm-semibold-lineHeight);
7628
- color: var(--color-text-default-default);
7629
- min-width: 3ch;
7630
- text-align: right;
7616
+ .muka-piechart__chart--md {
7617
+ width: var(--piechart-size-diameter-md);
7618
+ height: var(--piechart-size-diameter-md);
7631
7619
  }
7632
7620
 
7633
- /* Indeterminate animation for bar */
7634
- .muka-progress--bar.muka-progress--indeterminate .muka-progress__fill {
7635
- width: 40%;
7636
- animation: muka-progress-bar-indeterminate 1.5s ease-in-out infinite;
7621
+ .muka-piechart__chart--lg {
7622
+ width: var(--piechart-size-diameter-lg);
7623
+ height: var(--piechart-size-diameter-lg);
7637
7624
  }
7638
7625
 
7639
- @keyframes muka-progress-bar-indeterminate {
7640
- 0% {
7641
- transform: translateX(-100%);
7642
- }
7643
- 100% {
7644
- transform: translateX(250%);
7645
- }
7626
+ .muka-piechart__svg {
7627
+ display: block;
7628
+ width: 100%;
7629
+ height: 100%;
7630
+ /* Start slices at 12 o'clock instead of 3 o'clock */
7631
+ transform: rotate(-90deg);
7646
7632
  }
7647
7633
 
7648
- /* ========================================
7649
- CIRCLE VARIANT
7650
- ======================================== */
7651
-
7652
- .muka-progress--circle {
7653
- position: relative;
7654
- display: inline-flex;
7655
- align-items: center;
7656
- justify-content: center;
7634
+ .muka-piechart__track {
7635
+ fill: none;
7636
+ stroke: var(--piechart-color-track);
7657
7637
  }
7658
7638
 
7659
- .muka-progress--circle.muka-progress--sm {
7660
- width: var(--progress-size-circle-diameter-sm);
7661
- height: var(--progress-size-circle-diameter-sm);
7662
- }
7663
-
7664
- .muka-progress--circle.muka-progress--md {
7665
- width: var(--progress-size-circle-diameter-md);
7666
- height: var(--progress-size-circle-diameter-md);
7667
- }
7668
-
7669
- .muka-progress--circle.muka-progress--lg {
7670
- width: var(--progress-size-circle-diameter-lg);
7671
- height: var(--progress-size-circle-diameter-lg);
7672
- }
7673
-
7674
- .muka-progress__circle {
7675
- width: 100%;
7676
- height: 100%;
7677
- transform: rotate(-90deg);
7678
- }
7679
-
7680
- .muka-progress--circle .muka-progress__track {
7681
- fill: none;
7682
- stroke: var(--color-surface-level1);
7683
- }
7684
-
7685
- .muka-progress--circle.muka-progress--sm .muka-progress__track,
7686
- .muka-progress--circle.muka-progress--sm .muka-progress__fill {
7687
- stroke-width: var(--progress-size-circle-strokeWidth-sm);
7688
- }
7689
-
7690
- .muka-progress--circle.muka-progress--md .muka-progress__track,
7691
- .muka-progress--circle.muka-progress--md .muka-progress__fill {
7692
- stroke-width: var(--progress-size-circle-strokeWidth-md);
7693
- }
7694
-
7695
- .muka-progress--circle.muka-progress--lg .muka-progress__track,
7696
- .muka-progress--circle.muka-progress--lg .muka-progress__fill {
7697
- stroke-width: var(--progress-size-circle-strokeWidth-lg);
7698
- }
7699
-
7700
- .muka-progress--circle .muka-progress__fill {
7701
- fill: none;
7702
- stroke: var(--color-action-default);
7703
- stroke-linecap: round;
7704
- transition: stroke-dashoffset 0.3s ease;
7705
- }
7706
-
7707
- .muka-progress--circle .muka-progress__label {
7708
- position: absolute;
7709
- font-family: var(--text-label-sm-semibold-fontFamily);
7710
- font-weight: var(--text-label-sm-semibold-fontWeight);
7711
- color: var(--color-text-default-default);
7712
- }
7713
-
7714
- .muka-progress--circle.muka-progress--sm .muka-progress__label {
7715
- font-size: var(--text-label-sm-semibold-fontSize);
7716
- }
7717
-
7718
- .muka-progress--circle.muka-progress--md .muka-progress__label {
7719
- font-size: var(--text-label-md-semibold-fontSize);
7720
- }
7721
-
7722
- .muka-progress--circle.muka-progress--lg .muka-progress__label {
7723
- font-size: var(--text-label-lg-semibold-fontSize);
7724
- }
7725
-
7726
- /* Indeterminate animation for circle */
7727
- .muka-progress--circle.muka-progress--indeterminate .muka-progress__circle {
7728
- animation: muka-progress-circle-rotate 2s linear infinite;
7729
- }
7730
-
7731
- .muka-progress--circle.muka-progress--indeterminate .muka-progress__fill {
7732
- animation: muka-progress-circle-dash 1.5s ease-in-out infinite;
7733
- }
7734
-
7735
- @keyframes muka-progress-circle-rotate {
7736
- 100% {
7737
- transform: rotate(270deg);
7738
- }
7739
- }
7740
-
7741
- @keyframes muka-progress-circle-dash {
7742
- 0% {
7743
- stroke-dashoffset: 220;
7744
- }
7745
- 50% {
7746
- stroke-dashoffset: 70;
7747
- }
7748
- 100% {
7749
- stroke-dashoffset: 220;
7750
- }
7751
- }
7752
-
7753
-
7754
- /* PieChart */
7755
- /* PieChart Component Styles - Using Muka Design Tokens */
7756
-
7757
- .muka-piechart {
7758
- display: inline-flex;
7759
- align-items: center;
7760
- gap: var(--spacing-4);
7761
- }
7762
-
7763
- /* Legend layout */
7764
- .muka-piechart--legend-right {
7765
- flex-direction: row;
7766
- }
7767
-
7768
- .muka-piechart--legend-bottom {
7769
- flex-direction: column;
7770
- }
7771
-
7772
- /* ========================================
7773
- CHART
7774
- ======================================== */
7775
-
7776
- .muka-piechart__chart {
7777
- position: relative;
7778
- flex-shrink: 0;
7779
- }
7780
-
7781
- .muka-piechart__chart--sm {
7782
- width: var(--piechart-size-diameter-sm);
7783
- height: var(--piechart-size-diameter-sm);
7784
- }
7785
-
7786
- .muka-piechart__chart--md {
7787
- width: var(--piechart-size-diameter-md);
7788
- height: var(--piechart-size-diameter-md);
7789
- }
7790
-
7791
- .muka-piechart__chart--lg {
7792
- width: var(--piechart-size-diameter-lg);
7793
- height: var(--piechart-size-diameter-lg);
7794
- }
7795
-
7796
- .muka-piechart__svg {
7797
- display: block;
7798
- width: 100%;
7799
- height: 100%;
7800
- /* Start slices at 12 o'clock instead of 3 o'clock */
7801
- transform: rotate(-90deg);
7802
- }
7803
-
7804
- .muka-piechart__track {
7805
- fill: none;
7806
- stroke: var(--piechart-color-track);
7807
- }
7808
-
7809
- .muka-piechart__segment {
7810
- fill: none;
7639
+ .muka-piechart__segment {
7640
+ fill: none;
7811
7641
  }
7812
7642
 
7813
7643
  /* ========================================
@@ -8633,75 +8463,261 @@ body {
8633
8463
  }
8634
8464
 
8635
8465
 
8636
- /* ListItem */
8637
- /* ListItem Component Styles - Using Muka Design Tokens */
8466
+ /* MediaViewer */
8467
+ /* MediaViewer Component Styles - Using Muka Design Tokens */
8638
8468
 
8639
- /* Base list item styles */
8640
- .muka-listitem {
8641
- /* Layout */
8642
- display: flex;
8643
- align-items: flex-start;
8644
- gap: var(--spacing-4);
8645
- padding: var(--spacing-5) var(--spacing-4);
8646
-
8647
- /* Background - using semantic tokens */
8648
- background-color: var(--color-surface-level3);
8649
-
8650
- /* Typography */
8651
- font-family: var(--alias-font-brand-family);
8652
-
8653
- /* Border and spacing */
8469
+ /* ─── Native dialog: full viewport ────────────────────── */
8470
+ .muka-media-viewer {
8471
+ position: fixed;
8472
+ inset: 0;
8473
+ width: 100%;
8474
+ height: 100%;
8475
+ max-width: none;
8476
+ max-height: none;
8477
+ margin: 0;
8478
+ padding: 0;
8654
8479
  border: none;
8655
- position: relative;
8656
-
8657
- /* Interaction - only apply if interactive */
8658
- transition: background-color 0.2s ease, box-shadow 0.2s ease;
8659
- }
8660
-
8661
- /* Interactive state */
8662
- .muka-listitem--interactive {
8663
- cursor: pointer;
8664
- }
8665
-
8666
- /*
8667
- * surface.hover / surface.pressed are theme-adaptive translucent tints, so they
8668
- * are layered on top of the item's base surface via an inset box-shadow overlay
8669
- * rather than replacing background-color. This preserves the base level (level3,
8670
- * or level2 when selected) and lets the tint read correctly on any surface.
8671
- */
8672
- .muka-listitem--interactive:hover:not(:disabled):not(.muka-listitem--disabled) {
8673
- box-shadow: inset 0 0 0 9999px var(--color-surface-hover);
8480
+ display: flex;
8481
+ flex-direction: column;
8482
+ overflow: hidden;
8483
+ overscroll-behavior: contain;
8484
+ color: var(--color-text-default-default);
8485
+ background-color: var(--color-black-alpha-12);
8486
+ animation: muka-media-viewer-in var(--motion-duration-component) var(--motion-easing-enter);
8674
8487
  }
8675
8488
 
8676
- .muka-listitem--interactive:active:not(:disabled):not(.muka-listitem--disabled),
8677
- .muka-listitem--interactive.muka-listitem--pressed:not(:disabled):not(.muka-listitem--disabled) {
8678
- box-shadow: inset 0 0 0 9999px var(--color-surface-pressed);
8489
+ .muka-media-viewer:not([open]) {
8490
+ display: none;
8679
8491
  }
8680
8492
 
8681
- /* Focus styles for accessibility */
8682
- .muka-listitem:focus-visible {
8683
- outline: 2px solid var(--color-border-focus);
8684
- outline-offset: -2px;
8493
+ .muka-media-viewer::backdrop {
8494
+ background-color: var(--color-black-alpha-12);
8685
8495
  }
8686
8496
 
8687
- /* Disabled state */
8688
- .muka-listitem--disabled {
8689
- opacity: 0.5;
8690
- cursor: not-allowed;
8691
- pointer-events: none;
8497
+ @keyframes muka-media-viewer-in {
8498
+ from {
8499
+ opacity: 0;
8500
+ }
8501
+ to {
8502
+ opacity: 1;
8503
+ }
8692
8504
  }
8693
8505
 
8694
- .muka-listitem--disabled:hover {
8506
+ /* ─── Chrome: TopBar and footer sit on a surface ──────── */
8507
+ .muka-media-viewer__topbar {
8508
+ flex-shrink: 0;
8695
8509
  background-color: var(--color-surface-level3);
8696
8510
  }
8697
8511
 
8698
- /* Selected state */
8699
- .muka-listitem--selected {
8700
- background-color: var(--color-surface-level2);
8512
+ .muka-media-viewer__live {
8513
+ position: absolute;
8514
+ width: 1px;
8515
+ height: 1px;
8516
+ padding: 0;
8517
+ margin: -1px;
8518
+ overflow: hidden;
8519
+ clip: rect(0, 0, 0, 0);
8520
+ white-space: nowrap;
8521
+ border: 0;
8701
8522
  }
8702
8523
 
8703
- .muka-listitem--selected:hover {
8704
- box-shadow: inset 0 0 0 9999px var(--color-surface-hover);
8524
+ /* ─── Stage: the dark area the images slide across ────── */
8525
+ .muka-media-viewer__stage {
8526
+ position: relative;
8527
+ flex: 1 1 auto;
8528
+ min-height: 0;
8529
+ overflow: hidden;
8530
+ /* Gestures are handled in JS: no browser panning or pinch on the stage. */
8531
+ touch-action: none;
8532
+ user-select: none;
8533
+ -webkit-user-select: none;
8534
+ }
8535
+
8536
+ .muka-media-viewer__slide {
8537
+ position: absolute;
8538
+ inset: 0;
8539
+ display: flex;
8540
+ align-items: center;
8541
+ justify-content: center;
8542
+ padding: var(--spacing-4);
8543
+ transition: transform var(--motion-duration-component) var(--motion-easing-default);
8544
+ will-change: transform;
8545
+ }
8546
+
8547
+ /* While a finger drags, the image follows it without easing. */
8548
+ .muka-media-viewer--dragging .muka-media-viewer__slide {
8549
+ transition: none;
8550
+ }
8551
+
8552
+ .muka-media-viewer__image {
8553
+ display: block;
8554
+ max-width: 100%;
8555
+ max-height: 100%;
8556
+ object-fit: contain;
8557
+ /* The image takes touches, so a long press opens the OS menu (save, share,
8558
+ copy). The swipe still works: pointer events bubble to the stage, and a
8559
+ long press doesn't move far enough to start a drag. */
8560
+ -webkit-touch-callout: default;
8561
+ }
8562
+
8563
+ /* ─── Previous / next: devices that can hover ─────────── */
8564
+ .muka-media-viewer__nav {
8565
+ position: absolute;
8566
+ top: 50%;
8567
+ display: none;
8568
+ transform: translateY(-50%);
8569
+ opacity: 0;
8570
+ transition: opacity var(--motion-duration-micro) var(--motion-easing-enter);
8571
+ }
8572
+
8573
+ .muka-media-viewer__nav--previous {
8574
+ left: var(--spacing-4);
8575
+ }
8576
+
8577
+ .muka-media-viewer__nav--next {
8578
+ right: var(--spacing-4);
8579
+ }
8580
+
8581
+ @media (hover: hover) and (pointer: fine) {
8582
+ .muka-media-viewer__nav {
8583
+ display: block;
8584
+ }
8585
+
8586
+ .muka-media-viewer__stage:hover .muka-media-viewer__nav,
8587
+ .muka-media-viewer__nav:focus-within {
8588
+ opacity: 1;
8589
+ }
8590
+ }
8591
+
8592
+ /* ─── Footer: caption, meta and actions ───────────────── */
8593
+ .muka-media-viewer__footer {
8594
+ flex-shrink: 0;
8595
+ display: flex;
8596
+ flex-direction: column;
8597
+ gap: var(--spacing-3);
8598
+ padding: var(--spacing-4);
8599
+ padding-bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom, 0px));
8600
+ background-color: var(--color-surface-level3);
8601
+ }
8602
+
8603
+ .muka-media-viewer__details {
8604
+ display: flex;
8605
+ align-items: flex-start;
8606
+ justify-content: space-between;
8607
+ gap: var(--spacing-3);
8608
+ }
8609
+
8610
+ .muka-media-viewer__caption {
8611
+ min-width: 0;
8612
+ color: var(--color-text-subtle-default);
8613
+ font-family: var(--text-body-sm-regular-fontFamily);
8614
+ font-size: var(--text-body-sm-regular-fontSize);
8615
+ font-weight: var(--text-body-sm-regular-fontWeight);
8616
+ line-height: var(--text-body-sm-regular-lineHeight);
8617
+ overflow-wrap: anywhere;
8618
+ }
8619
+
8620
+ .muka-media-viewer__meta {
8621
+ flex-shrink: 0;
8622
+ }
8623
+
8624
+ .muka-media-viewer__actions {
8625
+ display: flex;
8626
+ flex-wrap: wrap;
8627
+ gap: var(--spacing-2);
8628
+ }
8629
+
8630
+ /* Mobile: actions stack full width, like Dialog footers. */
8631
+ @media (max-width: 1023px) {
8632
+ .muka-media-viewer__actions {
8633
+ flex-direction: column;
8634
+ }
8635
+
8636
+ .muka-media-viewer__actions > * {
8637
+ width: 100%;
8638
+ }
8639
+ }
8640
+
8641
+ /* ─── Reduced motion ──────────────────────────────────── */
8642
+ @media (prefers-reduced-motion: reduce) {
8643
+ .muka-media-viewer,
8644
+ .muka-media-viewer__slide,
8645
+ .muka-media-viewer__nav {
8646
+ animation: none;
8647
+ transition: none;
8648
+ }
8649
+ }
8650
+
8651
+
8652
+ /* ListItem */
8653
+ /* ListItem Component Styles - Using Muka Design Tokens */
8654
+
8655
+ /* Base list item styles */
8656
+ .muka-listitem {
8657
+ /* Layout */
8658
+ display: flex;
8659
+ align-items: flex-start;
8660
+ gap: var(--spacing-4);
8661
+ padding: var(--spacing-5) var(--spacing-4);
8662
+
8663
+ /* Background - using semantic tokens */
8664
+ background-color: var(--color-surface-level3);
8665
+
8666
+ /* Typography */
8667
+ font-family: var(--alias-font-brand-family);
8668
+
8669
+ /* Border and spacing */
8670
+ border: none;
8671
+ position: relative;
8672
+
8673
+ /* Interaction - only apply if interactive */
8674
+ transition: background-color 0.2s ease, box-shadow 0.2s ease;
8675
+ }
8676
+
8677
+ /* Interactive state */
8678
+ .muka-listitem--interactive {
8679
+ cursor: pointer;
8680
+ }
8681
+
8682
+ /*
8683
+ * surface.hover / surface.pressed are theme-adaptive translucent tints, so they
8684
+ * are layered on top of the item's base surface via an inset box-shadow overlay
8685
+ * rather than replacing background-color. This preserves the base level (level3,
8686
+ * or level2 when selected) and lets the tint read correctly on any surface.
8687
+ */
8688
+ .muka-listitem--interactive:hover:not(:disabled):not(.muka-listitem--disabled) {
8689
+ box-shadow: inset 0 0 0 9999px var(--color-surface-hover);
8690
+ }
8691
+
8692
+ .muka-listitem--interactive:active:not(:disabled):not(.muka-listitem--disabled),
8693
+ .muka-listitem--interactive.muka-listitem--pressed:not(:disabled):not(.muka-listitem--disabled) {
8694
+ box-shadow: inset 0 0 0 9999px var(--color-surface-pressed);
8695
+ }
8696
+
8697
+ /* Focus styles for accessibility */
8698
+ .muka-listitem:focus-visible {
8699
+ outline: 2px solid var(--color-border-focus);
8700
+ outline-offset: -2px;
8701
+ }
8702
+
8703
+ /* Disabled state */
8704
+ .muka-listitem--disabled {
8705
+ opacity: 0.5;
8706
+ cursor: not-allowed;
8707
+ pointer-events: none;
8708
+ }
8709
+
8710
+ .muka-listitem--disabled:hover {
8711
+ background-color: var(--color-surface-level3);
8712
+ }
8713
+
8714
+ /* Selected state */
8715
+ .muka-listitem--selected {
8716
+ background-color: var(--color-surface-level2);
8717
+ }
8718
+
8719
+ .muka-listitem--selected:hover {
8720
+ box-shadow: inset 0 0 0 9999px var(--color-surface-hover);
8705
8721
  }
8706
8722
 
8707
8723
  /* No divider modifier */
@@ -8827,189 +8843,196 @@ li.muka-listitem {
8827
8843
  }
8828
8844
 
8829
8845
 
8830
- /* MediaViewer */
8831
- /* MediaViewer Component Styles - Using Muka Design Tokens */
8846
+ /* LicensePlateInput */
8847
+ /* LicensePlateInput — Dutch RDW-style plate input
8848
+ *
8849
+ * Plate body colors are regulatory (EU/NL) and intentionally fixed:
8850
+ * - Plate yellow: #F0CE3D
8851
+ * - EU strip blue: #003399
8852
+ * - EU stars yellow: #FFCC00
8853
+ * - Plate text: #1A1A1A
8854
+ *
8855
+ * All surrounding UI (label, helper, focus ring, error border) uses Muka tokens.
8856
+ */
8832
8857
 
8833
- /* ─── Native dialog: full viewport ────────────────────── */
8834
- .muka-media-viewer {
8835
- position: fixed;
8836
- inset: 0;
8837
- width: 100%;
8838
- height: 100%;
8839
- max-width: none;
8840
- max-height: none;
8841
- margin: 0;
8842
- padding: 0;
8843
- border: none;
8844
- display: flex;
8858
+ .muka-license-plate-input {
8859
+ --plate-yellow: #f0ce3d;
8860
+ --plate-blue: #003399;
8861
+ --plate-text: #1a1a1a;
8862
+ --plate-stars: #ffcc00;
8863
+
8864
+ display: inline-flex;
8845
8865
  flex-direction: column;
8866
+ gap: var(--spacing-2);
8867
+ }
8868
+
8869
+ /* Plate body */
8870
+ .muka-license-plate-input__plate {
8871
+ display: inline-flex;
8872
+ align-items: stretch;
8873
+ background-color: var(--plate-yellow);
8874
+ border-radius: var(--input-field-radius-md);
8875
+ cursor: text;
8876
+ position: relative;
8846
8877
  overflow: hidden;
8847
- overscroll-behavior: contain;
8848
- color: var(--color-text-default-default);
8849
- background-color: var(--color-black-alpha-12);
8850
- animation: muka-media-viewer-in var(--motion-duration-component) var(--motion-easing-enter);
8878
+ box-sizing: border-box;
8879
+ /* Subtle outline to lift the plate from light backgrounds */
8880
+ box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
8881
+ /* Reserve space for the focus / error solid ring without shifting layout */
8882
+ outline: 3px solid transparent;
8883
+ outline-offset: 2px;
8884
+ transition: outline-color 0.15s ease, opacity 0.15s ease;
8851
8885
  }
8852
8886
 
8853
- .muka-media-viewer:not([open]) {
8854
- display: none;
8887
+ /* Size variants — plate aspect echoes the real RDW plate (~5:1) */
8888
+ .muka-license-plate-input__plate--sm {
8889
+ height: 44px;
8890
+ min-width: 220px;
8891
+ border-radius: var(--input-field-radius-sm);
8855
8892
  }
8856
8893
 
8857
- .muka-media-viewer::backdrop {
8858
- background-color: var(--color-black-alpha-12);
8894
+ .muka-license-plate-input__plate--md {
8895
+ height: 60px;
8896
+ min-width: 300px;
8897
+ border-radius: var(--input-field-radius-md);
8859
8898
  }
8860
8899
 
8861
- @keyframes muka-media-viewer-in {
8862
- from {
8863
- opacity: 0;
8864
- }
8865
- to {
8866
- opacity: 1;
8867
- }
8900
+ .muka-license-plate-input__plate--lg {
8901
+ height: 80px;
8902
+ min-width: 400px;
8903
+ border-radius: var(--input-field-radius-lg);
8868
8904
  }
8869
8905
 
8870
- /* ─── Chrome: TopBar and footer sit on a surface ──────── */
8871
- .muka-media-viewer__topbar {
8872
- flex-shrink: 0;
8873
- background-color: var(--color-surface-level3);
8906
+ /* Focus — solid outline ring */
8907
+ .muka-license-plate-input__plate--focused:not(.muka-license-plate-input__plate--disabled) {
8908
+ outline-color: var(--input-field-color-focus-border);
8874
8909
  }
8875
8910
 
8876
- .muka-media-viewer__live {
8877
- position: absolute;
8878
- width: 1px;
8879
- height: 1px;
8880
- padding: 0;
8881
- margin: -1px;
8882
- overflow: hidden;
8883
- clip: rect(0, 0, 0, 0);
8884
- white-space: nowrap;
8885
- border: 0;
8911
+ /* Error — solid outline ring in error color */
8912
+ .muka-license-plate-input__plate--error:not(.muka-license-plate-input__plate--disabled) {
8913
+ outline-color: var(--input-field-color-error-border);
8886
8914
  }
8887
8915
 
8888
- /* ─── Stage: the dark area the images slide across ────── */
8889
- .muka-media-viewer__stage {
8890
- position: relative;
8891
- flex: 1 1 auto;
8892
- min-height: 0;
8893
- overflow: hidden;
8894
- /* Gestures are handled in JS: no browser panning or pinch on the stage. */
8895
- touch-action: none;
8896
- user-select: none;
8897
- -webkit-user-select: none;
8916
+ /* Disabled */
8917
+ .muka-license-plate-input__plate--disabled {
8918
+ cursor: not-allowed;
8919
+ opacity: 0.55;
8898
8920
  }
8899
8921
 
8900
- .muka-media-viewer__slide {
8901
- position: absolute;
8902
- inset: 0;
8903
- display: flex;
8922
+ /* EU strip */
8923
+ .muka-license-plate-input__eu-strip {
8924
+ display: inline-flex;
8925
+ flex-direction: column;
8904
8926
  align-items: center;
8905
8927
  justify-content: center;
8906
- padding: var(--spacing-4);
8907
- transition: transform var(--motion-duration-component) var(--motion-easing-default);
8908
- will-change: transform;
8928
+ background-color: var(--plate-blue);
8929
+ color: #ffffff;
8930
+ flex-shrink: 0;
8931
+ padding: 0 0.4em;
8932
+ gap: 0.15em;
8933
+ /* Strip width scales with plate height for a consistent ratio */
8934
+ width: 14%;
8935
+ min-width: 36px;
8909
8936
  }
8910
8937
 
8911
- /* While a finger drags, the image follows it without easing. */
8912
- .muka-media-viewer--dragging .muka-media-viewer__slide {
8913
- transition: none;
8938
+ .muka-license-plate-input__eu-stars {
8939
+ width: 60%;
8940
+ max-width: 28px;
8941
+ aspect-ratio: 1 / 1;
8942
+ display: block;
8914
8943
  }
8915
8944
 
8916
- .muka-media-viewer__image {
8917
- display: block;
8918
- max-width: 100%;
8919
- max-height: 100%;
8920
- object-fit: contain;
8921
- /* The image takes touches, so a long press opens the OS menu (save, share,
8922
- copy). The swipe still works: pointer events bubble to the stage, and a
8923
- long press doesn't move far enough to start a drag. */
8924
- -webkit-touch-callout: default;
8945
+ .muka-license-plate-input__plate--sm .muka-license-plate-input__eu-stars {
8946
+ max-width: 20px;
8925
8947
  }
8926
8948
 
8927
- /* ─── Previous / next: devices that can hover ─────────── */
8928
- .muka-media-viewer__nav {
8929
- position: absolute;
8930
- top: 50%;
8931
- display: none;
8932
- transform: translateY(-50%);
8933
- opacity: 0;
8934
- transition: opacity var(--motion-duration-micro) var(--motion-easing-enter);
8949
+ .muka-license-plate-input__plate--lg .muka-license-plate-input__eu-stars {
8950
+ max-width: 36px;
8935
8951
  }
8936
8952
 
8937
- .muka-media-viewer__nav--previous {
8938
- left: var(--spacing-4);
8953
+ .muka-license-plate-input__country-code {
8954
+ font-family:
8955
+ 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
8956
+ font-weight: 700;
8957
+ letter-spacing: 0.04em;
8958
+ line-height: 1;
8959
+ color: #ffffff;
8939
8960
  }
8940
8961
 
8941
- .muka-media-viewer__nav--next {
8942
- right: var(--spacing-4);
8962
+ .muka-license-plate-input__plate--sm .muka-license-plate-input__country-code {
8963
+ font-size: 10px;
8943
8964
  }
8944
8965
 
8945
- @media (hover: hover) and (pointer: fine) {
8946
- .muka-media-viewer__nav {
8947
- display: block;
8948
- }
8966
+ .muka-license-plate-input__plate--md .muka-license-plate-input__country-code {
8967
+ font-size: 13px;
8968
+ }
8949
8969
 
8950
- .muka-media-viewer__stage:hover .muka-media-viewer__nav,
8951
- .muka-media-viewer__nav:focus-within {
8952
- opacity: 1;
8953
- }
8970
+ .muka-license-plate-input__plate--lg .muka-license-plate-input__country-code {
8971
+ font-size: 16px;
8954
8972
  }
8955
8973
 
8956
- /* ─── Footer: caption, meta and actions ───────────────── */
8957
- .muka-media-viewer__footer {
8958
- flex-shrink: 0;
8959
- display: flex;
8960
- flex-direction: column;
8961
- gap: var(--spacing-3);
8962
- padding: var(--spacing-4);
8963
- padding-bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom, 0px));
8964
- background-color: var(--color-surface-level3);
8974
+ /* Native input */
8975
+ .muka-license-plate-input__native {
8976
+ flex: 1;
8977
+ min-width: 0;
8978
+ border: none;
8979
+ outline: none;
8980
+ background: transparent;
8981
+ color: var(--plate-text);
8982
+ text-align: center;
8983
+ text-transform: uppercase;
8984
+ letter-spacing: 0.06em;
8985
+ /* Plate font — bold condensed sans is closest to the FE-Schrift look without
8986
+ shipping a custom font. JetBrains Mono is the system mono brand font. */
8987
+ font-family:
8988
+ 'Arial Narrow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
8989
+ font-weight: 800;
8990
+ padding: 0 0.5em;
8991
+ width: 100%;
8992
+ caret-color: var(--plate-text);
8965
8993
  }
8966
8994
 
8967
- .muka-media-viewer__details {
8968
- display: flex;
8969
- align-items: flex-start;
8970
- justify-content: space-between;
8971
- gap: var(--spacing-3);
8995
+ .muka-license-plate-input__plate--sm .muka-license-plate-input__native {
8996
+ font-size: 22px;
8972
8997
  }
8973
8998
 
8974
- .muka-media-viewer__caption {
8975
- min-width: 0;
8976
- color: var(--color-text-subtle-default);
8977
- font-family: var(--text-body-sm-regular-fontFamily);
8978
- font-size: var(--text-body-sm-regular-fontSize);
8979
- font-weight: var(--text-body-sm-regular-fontWeight);
8980
- line-height: var(--text-body-sm-regular-lineHeight);
8981
- overflow-wrap: anywhere;
8999
+ .muka-license-plate-input__plate--md .muka-license-plate-input__native {
9000
+ font-size: 30px;
8982
9001
  }
8983
9002
 
8984
- .muka-media-viewer__meta {
8985
- flex-shrink: 0;
9003
+ .muka-license-plate-input__plate--lg .muka-license-plate-input__native {
9004
+ font-size: 42px;
8986
9005
  }
8987
9006
 
8988
- .muka-media-viewer__actions {
8989
- display: flex;
8990
- flex-wrap: wrap;
8991
- gap: var(--spacing-2);
9007
+ .muka-license-plate-input__native::placeholder {
9008
+ color: var(--plate-text);
9009
+ opacity: 0.55;
9010
+ font-weight: 700;
9011
+ letter-spacing: 0.08em;
8992
9012
  }
8993
9013
 
8994
- /* Mobile: actions stack full width, like Dialog footers. */
8995
- @media (max-width: 1023px) {
8996
- .muka-media-viewer__actions {
8997
- flex-direction: column;
8998
- }
9014
+ .muka-license-plate-input__plate--disabled .muka-license-plate-input__native {
9015
+ cursor: not-allowed;
9016
+ }
8999
9017
 
9000
- .muka-media-viewer__actions > * {
9001
- width: 100%;
9002
- }
9018
+ /* Helper text */
9019
+ .muka-license-plate-input__helper {
9020
+ font-family: var(--text-label-sm-regular-fontFamily);
9021
+ font-weight: var(--text-label-sm-regular-fontWeight);
9022
+ font-size: var(--text-label-sm-regular-fontSize);
9023
+ line-height: var(--text-label-sm-regular-lineHeight);
9024
+ color: var(--color-text-subtle-default);
9025
+ margin: 0;
9003
9026
  }
9004
9027
 
9005
- /* ─── Reduced motion ──────────────────────────────────── */
9006
- @media (prefers-reduced-motion: reduce) {
9007
- .muka-media-viewer,
9008
- .muka-media-viewer__slide,
9009
- .muka-media-viewer__nav {
9010
- animation: none;
9011
- transition: none;
9012
- }
9028
+ /* Error message */
9029
+ .muka-license-plate-input__error {
9030
+ font-family: var(--text-label-sm-regular-fontFamily);
9031
+ font-weight: var(--text-label-sm-regular-fontWeight);
9032
+ font-size: var(--text-label-sm-regular-fontSize);
9033
+ line-height: var(--text-label-sm-regular-lineHeight);
9034
+ color: var(--color-state-error-default);
9035
+ margin: 0;
9013
9036
  }
9014
9037
 
9015
9038
 
@@ -9232,199 +9255,6 @@ li.muka-listitem {
9232
9255
  }
9233
9256
 
9234
9257
 
9235
- /* LicensePlateInput */
9236
- /* LicensePlateInput — Dutch RDW-style plate input
9237
- *
9238
- * Plate body colors are regulatory (EU/NL) and intentionally fixed:
9239
- * - Plate yellow: #F0CE3D
9240
- * - EU strip blue: #003399
9241
- * - EU stars yellow: #FFCC00
9242
- * - Plate text: #1A1A1A
9243
- *
9244
- * All surrounding UI (label, helper, focus ring, error border) uses Muka tokens.
9245
- */
9246
-
9247
- .muka-license-plate-input {
9248
- --plate-yellow: #f0ce3d;
9249
- --plate-blue: #003399;
9250
- --plate-text: #1a1a1a;
9251
- --plate-stars: #ffcc00;
9252
-
9253
- display: inline-flex;
9254
- flex-direction: column;
9255
- gap: var(--spacing-2);
9256
- }
9257
-
9258
- /* Plate body */
9259
- .muka-license-plate-input__plate {
9260
- display: inline-flex;
9261
- align-items: stretch;
9262
- background-color: var(--plate-yellow);
9263
- border-radius: var(--input-field-radius-md);
9264
- cursor: text;
9265
- position: relative;
9266
- overflow: hidden;
9267
- box-sizing: border-box;
9268
- /* Subtle outline to lift the plate from light backgrounds */
9269
- box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
9270
- /* Reserve space for the focus / error solid ring without shifting layout */
9271
- outline: 3px solid transparent;
9272
- outline-offset: 2px;
9273
- transition: outline-color 0.15s ease, opacity 0.15s ease;
9274
- }
9275
-
9276
- /* Size variants — plate aspect echoes the real RDW plate (~5:1) */
9277
- .muka-license-plate-input__plate--sm {
9278
- height: 44px;
9279
- min-width: 220px;
9280
- border-radius: var(--input-field-radius-sm);
9281
- }
9282
-
9283
- .muka-license-plate-input__plate--md {
9284
- height: 60px;
9285
- min-width: 300px;
9286
- border-radius: var(--input-field-radius-md);
9287
- }
9288
-
9289
- .muka-license-plate-input__plate--lg {
9290
- height: 80px;
9291
- min-width: 400px;
9292
- border-radius: var(--input-field-radius-lg);
9293
- }
9294
-
9295
- /* Focus — solid outline ring */
9296
- .muka-license-plate-input__plate--focused:not(.muka-license-plate-input__plate--disabled) {
9297
- outline-color: var(--input-field-color-focus-border);
9298
- }
9299
-
9300
- /* Error — solid outline ring in error color */
9301
- .muka-license-plate-input__plate--error:not(.muka-license-plate-input__plate--disabled) {
9302
- outline-color: var(--input-field-color-error-border);
9303
- }
9304
-
9305
- /* Disabled */
9306
- .muka-license-plate-input__plate--disabled {
9307
- cursor: not-allowed;
9308
- opacity: 0.55;
9309
- }
9310
-
9311
- /* EU strip */
9312
- .muka-license-plate-input__eu-strip {
9313
- display: inline-flex;
9314
- flex-direction: column;
9315
- align-items: center;
9316
- justify-content: center;
9317
- background-color: var(--plate-blue);
9318
- color: #ffffff;
9319
- flex-shrink: 0;
9320
- padding: 0 0.4em;
9321
- gap: 0.15em;
9322
- /* Strip width scales with plate height for a consistent ratio */
9323
- width: 14%;
9324
- min-width: 36px;
9325
- }
9326
-
9327
- .muka-license-plate-input__eu-stars {
9328
- width: 60%;
9329
- max-width: 28px;
9330
- aspect-ratio: 1 / 1;
9331
- display: block;
9332
- }
9333
-
9334
- .muka-license-plate-input__plate--sm .muka-license-plate-input__eu-stars {
9335
- max-width: 20px;
9336
- }
9337
-
9338
- .muka-license-plate-input__plate--lg .muka-license-plate-input__eu-stars {
9339
- max-width: 36px;
9340
- }
9341
-
9342
- .muka-license-plate-input__country-code {
9343
- font-family:
9344
- 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
9345
- font-weight: 700;
9346
- letter-spacing: 0.04em;
9347
- line-height: 1;
9348
- color: #ffffff;
9349
- }
9350
-
9351
- .muka-license-plate-input__plate--sm .muka-license-plate-input__country-code {
9352
- font-size: 10px;
9353
- }
9354
-
9355
- .muka-license-plate-input__plate--md .muka-license-plate-input__country-code {
9356
- font-size: 13px;
9357
- }
9358
-
9359
- .muka-license-plate-input__plate--lg .muka-license-plate-input__country-code {
9360
- font-size: 16px;
9361
- }
9362
-
9363
- /* Native input */
9364
- .muka-license-plate-input__native {
9365
- flex: 1;
9366
- min-width: 0;
9367
- border: none;
9368
- outline: none;
9369
- background: transparent;
9370
- color: var(--plate-text);
9371
- text-align: center;
9372
- text-transform: uppercase;
9373
- letter-spacing: 0.06em;
9374
- /* Plate font — bold condensed sans is closest to the FE-Schrift look without
9375
- shipping a custom font. JetBrains Mono is the system mono brand font. */
9376
- font-family:
9377
- 'Arial Narrow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
9378
- font-weight: 800;
9379
- padding: 0 0.5em;
9380
- width: 100%;
9381
- caret-color: var(--plate-text);
9382
- }
9383
-
9384
- .muka-license-plate-input__plate--sm .muka-license-plate-input__native {
9385
- font-size: 22px;
9386
- }
9387
-
9388
- .muka-license-plate-input__plate--md .muka-license-plate-input__native {
9389
- font-size: 30px;
9390
- }
9391
-
9392
- .muka-license-plate-input__plate--lg .muka-license-plate-input__native {
9393
- font-size: 42px;
9394
- }
9395
-
9396
- .muka-license-plate-input__native::placeholder {
9397
- color: var(--plate-text);
9398
- opacity: 0.55;
9399
- font-weight: 700;
9400
- letter-spacing: 0.08em;
9401
- }
9402
-
9403
- .muka-license-plate-input__plate--disabled .muka-license-plate-input__native {
9404
- cursor: not-allowed;
9405
- }
9406
-
9407
- /* Helper text */
9408
- .muka-license-plate-input__helper {
9409
- font-family: var(--text-label-sm-regular-fontFamily);
9410
- font-weight: var(--text-label-sm-regular-fontWeight);
9411
- font-size: var(--text-label-sm-regular-fontSize);
9412
- line-height: var(--text-label-sm-regular-lineHeight);
9413
- color: var(--color-text-subtle-default);
9414
- margin: 0;
9415
- }
9416
-
9417
- /* Error message */
9418
- .muka-license-plate-input__error {
9419
- font-family: var(--text-label-sm-regular-fontFamily);
9420
- font-weight: var(--text-label-sm-regular-fontWeight);
9421
- font-size: var(--text-label-sm-regular-fontSize);
9422
- line-height: var(--text-label-sm-regular-lineHeight);
9423
- color: var(--color-state-error-default);
9424
- margin: 0;
9425
- }
9426
-
9427
-
9428
9258
  /* Input */
9429
9259
  /* Input Component Styles - Using Muka Design Tokens */
9430
9260
 
@@ -9674,35 +9504,89 @@ li.muka-listitem {
9674
9504
  color: var(--input-field-color-disabled-foreground);
9675
9505
  }
9676
9506
 
9677
- .muka-input__icon svg {
9678
- width: 100%;
9679
- height: 100%;
9507
+ .muka-input__icon svg {
9508
+ width: 100%;
9509
+ height: 100%;
9510
+ }
9511
+
9512
+ .muka-input__native::-webkit-search-cancel-button,
9513
+ .muka-input__native::-webkit-search-decoration {
9514
+ -webkit-appearance: none;
9515
+ appearance: none;
9516
+ }
9517
+
9518
+ /* Helper text */
9519
+ .muka-input__helper {
9520
+ font-family: var(--text-label-sm-regular-fontFamily);
9521
+ font-weight: var(--text-label-sm-regular-fontWeight);
9522
+ font-size: var(--text-label-sm-regular-fontSize);
9523
+ line-height: var(--text-label-sm-regular-lineHeight);
9524
+ color: var(--color-text-subtle-default);
9525
+ margin: 0;
9526
+ }
9527
+
9528
+ /* Error message */
9529
+ .muka-input__error {
9530
+ font-family: var(--text-label-sm-regular-fontFamily);
9531
+ font-weight: var(--text-label-sm-regular-fontWeight);
9532
+ font-size: var(--text-label-sm-regular-fontSize);
9533
+ line-height: var(--text-label-sm-regular-lineHeight);
9534
+ color: var(--color-state-error-default);
9535
+ margin: 0;
9536
+ }
9537
+
9538
+
9539
+ /* Icon */
9540
+ /* Icon Component Styles - Using Muka Design Tokens */
9541
+
9542
+ .muka-icon {
9543
+ display: inline-flex;
9544
+ align-items: center;
9545
+ justify-content: center;
9546
+ flex-shrink: 0;
9547
+ color: var(--color-icon-default-default, currentColor);
9548
+ }
9549
+
9550
+ /* Icons inside buttons should inherit from button's foreground color */
9551
+ .muka-button .muka-icon {
9552
+ color: inherit;
9553
+ }
9554
+
9555
+ .muka-icon--subtle {
9556
+ color: var(--color-icon-subtle-default);
9557
+ }
9558
+
9559
+ .muka-icon--muted {
9560
+ color: var(--color-icon-muted-default);
9561
+ }
9562
+
9563
+ .muka-icon--inverse {
9564
+ color: var(--color-icon-default-inverse);
9565
+ }
9566
+
9567
+ .muka-icon--xs {
9568
+ width: var(--icon-size-xs);
9569
+ height: var(--icon-size-xs);
9570
+ }
9571
+
9572
+ .muka-icon--sm {
9573
+ width: var(--icon-size-sm);
9574
+ height: var(--icon-size-sm);
9680
9575
  }
9681
9576
 
9682
- .muka-input__native::-webkit-search-cancel-button,
9683
- .muka-input__native::-webkit-search-decoration {
9684
- -webkit-appearance: none;
9685
- appearance: none;
9577
+ .muka-icon--md {
9578
+ width: var(--icon-size-default);
9579
+ height: var(--icon-size-default);
9686
9580
  }
9687
9581
 
9688
- /* Helper text */
9689
- .muka-input__helper {
9690
- font-family: var(--text-label-sm-regular-fontFamily);
9691
- font-weight: var(--text-label-sm-regular-fontWeight);
9692
- font-size: var(--text-label-sm-regular-fontSize);
9693
- line-height: var(--text-label-sm-regular-lineHeight);
9694
- color: var(--color-text-subtle-default);
9695
- margin: 0;
9582
+ .muka-icon--lg {
9583
+ width: var(--icon-size-lg);
9584
+ height: var(--icon-size-lg);
9696
9585
  }
9697
9586
 
9698
- /* Error message */
9699
- .muka-input__error {
9700
- font-family: var(--text-label-sm-regular-fontFamily);
9701
- font-weight: var(--text-label-sm-regular-fontWeight);
9702
- font-size: var(--text-label-sm-regular-fontSize);
9703
- line-height: var(--text-label-sm-regular-lineHeight);
9704
- color: var(--color-state-error-default);
9705
- margin: 0;
9587
+ .muka-icon svg {
9588
+ width: 100%;
9589
+ height: 100%;
9706
9590
  }
9707
9591
 
9708
9592
 
@@ -9988,60 +9872,6 @@ li.muka-listitem {
9988
9872
  }
9989
9873
 
9990
9874
 
9991
- /* Icon */
9992
- /* Icon Component Styles - Using Muka Design Tokens */
9993
-
9994
- .muka-icon {
9995
- display: inline-flex;
9996
- align-items: center;
9997
- justify-content: center;
9998
- flex-shrink: 0;
9999
- color: var(--color-icon-default-default, currentColor);
10000
- }
10001
-
10002
- /* Icons inside buttons should inherit from button's foreground color */
10003
- .muka-button .muka-icon {
10004
- color: inherit;
10005
- }
10006
-
10007
- .muka-icon--subtle {
10008
- color: var(--color-icon-subtle-default);
10009
- }
10010
-
10011
- .muka-icon--muted {
10012
- color: var(--color-icon-muted-default);
10013
- }
10014
-
10015
- .muka-icon--inverse {
10016
- color: var(--color-icon-default-inverse);
10017
- }
10018
-
10019
- .muka-icon--xs {
10020
- width: var(--icon-size-xs);
10021
- height: var(--icon-size-xs);
10022
- }
10023
-
10024
- .muka-icon--sm {
10025
- width: var(--icon-size-sm);
10026
- height: var(--icon-size-sm);
10027
- }
10028
-
10029
- .muka-icon--md {
10030
- width: var(--icon-size-default);
10031
- height: var(--icon-size-default);
10032
- }
10033
-
10034
- .muka-icon--lg {
10035
- width: var(--icon-size-lg);
10036
- height: var(--icon-size-lg);
10037
- }
10038
-
10039
- .muka-icon svg {
10040
- width: 100%;
10041
- height: 100%;
10042
- }
10043
-
10044
-
10045
9875
  /* FAB */
10046
9876
  /* FAB (Floating Action Button) Component Styles */
10047
9877
 
@@ -10324,6 +10154,28 @@ li.muka-listitem {
10324
10154
  }
10325
10155
 
10326
10156
 
10157
+ /* EmojiPicker */
10158
+ /* EmojiPicker Component Styles */
10159
+
10160
+ .muka-emoji-picker {
10161
+ display: grid;
10162
+ grid-template-columns: repeat(8, 1fr);
10163
+ gap: var(--spacing-1);
10164
+ padding: var(--spacing-2);
10165
+ max-height: 12rem;
10166
+ overflow-y: auto;
10167
+ background: var(--color-surface-level2);
10168
+ border: var(--border-width-regular, 1px) solid var(--color-border-default);
10169
+ border-radius: var(--radius-lg);
10170
+ box-shadow: var(--menu-content-shadow, 0 4px 12px rgba(0, 0, 0, 0.12));
10171
+ }
10172
+
10173
+ .muka-emoji-picker__glyph {
10174
+ font-size: 1.25rem;
10175
+ line-height: 1;
10176
+ }
10177
+
10178
+
10327
10179
  /* DropdownSelect */
10328
10180
  /* DropdownSelect — Figma Dropdown Menu form field (Menu + chips) */
10329
10181
 
@@ -10552,28 +10404,6 @@ li.muka-listitem {
10552
10404
  }
10553
10405
 
10554
10406
 
10555
- /* EmojiPicker */
10556
- /* EmojiPicker Component Styles */
10557
-
10558
- .muka-emoji-picker {
10559
- display: grid;
10560
- grid-template-columns: repeat(8, 1fr);
10561
- gap: var(--spacing-1);
10562
- padding: var(--spacing-2);
10563
- max-height: 12rem;
10564
- overflow-y: auto;
10565
- background: var(--color-surface-level2);
10566
- border: var(--border-width-regular, 1px) solid var(--color-border-default);
10567
- border-radius: var(--radius-lg);
10568
- box-shadow: var(--menu-content-shadow, 0 4px 12px rgba(0, 0, 0, 0.12));
10569
- }
10570
-
10571
- .muka-emoji-picker__glyph {
10572
- font-size: 1.25rem;
10573
- line-height: 1;
10574
- }
10575
-
10576
-
10577
10407
  /* Drawer */
10578
10408
  /* Drawer Component Styles */
10579
10409
 
@@ -12313,13 +12143,16 @@ li.muka-listitem {
12313
12143
  }
12314
12144
 
12315
12145
  /* Tighter trailing padding when the dismiss button is present */
12316
- .muka-chip--sm.muka-chip--dismissible {
12146
+ .muka-chip--sm.muka-chip--dismissible,
12147
+ .muka-chip--sm.muka-chip--expandable {
12317
12148
  padding-right: var(--chip-padding-trailing-sm);
12318
12149
  }
12319
- .muka-chip--md.muka-chip--dismissible {
12150
+ .muka-chip--md.muka-chip--dismissible,
12151
+ .muka-chip--md.muka-chip--expandable {
12320
12152
  padding-right: var(--chip-padding-trailing-md);
12321
12153
  }
12322
- .muka-chip--lg.muka-chip--dismissible {
12154
+ .muka-chip--lg.muka-chip--dismissible,
12155
+ .muka-chip--lg.muka-chip--expandable {
12323
12156
  padding-right: var(--chip-padding-trailing-lg);
12324
12157
  }
12325
12158
 
@@ -12367,8 +12200,9 @@ li.muka-listitem {
12367
12200
  line-height: normal;
12368
12201
  }
12369
12202
 
12370
- /* Dismiss button — circular hit area. Figma circle sizes: sm 20, md 24, lg 32 */
12371
- .muka-chip__remove {
12203
+ /* Trailing button (dismiss or expand) — circular. Figma circle sizes: sm 20, md 24, lg 32 */
12204
+ .muka-chip__remove,
12205
+ .muka-chip__expand {
12372
12206
  display: inline-flex;
12373
12207
  align-items: center;
12374
12208
  justify-content: center;
@@ -12381,15 +12215,18 @@ li.muka-listitem {
12381
12215
  transition: background-color 0.15s ease, color 0.15s ease;
12382
12216
  }
12383
12217
 
12384
- .muka-chip--sm .muka-chip__remove {
12218
+ .muka-chip--sm .muka-chip__remove,
12219
+ .muka-chip--sm .muka-chip__expand {
12385
12220
  width: var(--icon-size-sm);
12386
12221
  height: var(--icon-size-sm);
12387
12222
  }
12388
- .muka-chip--md .muka-chip__remove {
12223
+ .muka-chip--md .muka-chip__remove,
12224
+ .muka-chip--md .muka-chip__expand {
12389
12225
  width: var(--icon-size-default);
12390
12226
  height: var(--icon-size-default);
12391
12227
  }
12392
- .muka-chip--lg .muka-chip__remove {
12228
+ .muka-chip--lg .muka-chip__remove,
12229
+ .muka-chip--lg .muka-chip__expand {
12393
12230
  width: var(--icon-size-lg);
12394
12231
  height: var(--icon-size-lg);
12395
12232
  }
@@ -12399,72 +12236,117 @@ li.muka-listitem {
12399
12236
  outline-offset: 2px;
12400
12237
  }
12401
12238
 
12239
+ /*
12240
+ * Expandable chip (Figma "Chip/Trailing Expand"): the whole chip is one button,
12241
+ * typically a menu trigger. Hovering or pressing anywhere on it drives the
12242
+ * chevron's hover / pressed steps; an open menu (aria-expanded) shows pressed,
12243
+ * like Button's open state.
12244
+ */
12245
+ .muka-chip--expandable {
12246
+ margin: 0;
12247
+ text-align: inherit;
12248
+ cursor: pointer;
12249
+ }
12250
+
12251
+ .muka-chip--expandable:focus-visible {
12252
+ outline: 2px solid var(--color-border-focus);
12253
+ outline-offset: 2px;
12254
+ }
12255
+
12256
+ .muka-chip--expandable:disabled {
12257
+ cursor: not-allowed;
12258
+ }
12259
+
12260
+ .muka-chip__expand {
12261
+ pointer-events: none;
12262
+ }
12263
+
12402
12264
  /*
12403
12265
  * Dismiss button colors — state-tinted per chip variant, with default / hover /
12404
12266
  * pressed steps. Values come from T4 chip.dismiss.* tokens, which reference the
12405
12267
  * brand-specific alias state-surface ramp. The ✕ (.muka-icon) inherits `color`.
12406
12268
  */
12407
- .muka-chip--default .muka-chip__remove {
12269
+ .muka-chip--default .muka-chip__remove,
12270
+ .muka-chip--default .muka-chip__expand {
12408
12271
  background-color: var(--chip-dismiss-default-background-default);
12409
12272
  color: var(--chip-dismiss-default-foreground-default);
12410
12273
  }
12411
- .muka-chip--default .muka-chip__remove:hover {
12274
+ .muka-chip--default .muka-chip__remove:hover,
12275
+ .muka-chip--default.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
12412
12276
  background-color: var(--chip-dismiss-default-background-hover);
12413
12277
  color: var(--chip-dismiss-default-foreground-hover);
12414
12278
  }
12415
- .muka-chip--default .muka-chip__remove:active {
12279
+ .muka-chip--default .muka-chip__remove:active,
12280
+ .muka-chip--default.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
12281
+ .muka-chip--default.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
12416
12282
  background-color: var(--chip-dismiss-default-background-pressed);
12417
12283
  color: var(--chip-dismiss-default-foreground-pressed);
12418
12284
  }
12419
12285
 
12420
- .muka-chip--success .muka-chip__remove {
12286
+ .muka-chip--success .muka-chip__remove,
12287
+ .muka-chip--success .muka-chip__expand {
12421
12288
  background-color: var(--chip-dismiss-success-background-default);
12422
12289
  color: var(--chip-dismiss-success-foreground-default);
12423
12290
  }
12424
- .muka-chip--success .muka-chip__remove:hover {
12291
+ .muka-chip--success .muka-chip__remove:hover,
12292
+ .muka-chip--success.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
12425
12293
  background-color: var(--chip-dismiss-success-background-hover);
12426
12294
  color: var(--chip-dismiss-success-foreground-hover);
12427
12295
  }
12428
- .muka-chip--success .muka-chip__remove:active {
12296
+ .muka-chip--success .muka-chip__remove:active,
12297
+ .muka-chip--success.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
12298
+ .muka-chip--success.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
12429
12299
  background-color: var(--chip-dismiss-success-background-pressed);
12430
12300
  color: var(--chip-dismiss-success-foreground-pressed);
12431
12301
  }
12432
12302
 
12433
- .muka-chip--warning .muka-chip__remove {
12303
+ .muka-chip--warning .muka-chip__remove,
12304
+ .muka-chip--warning .muka-chip__expand {
12434
12305
  background-color: var(--chip-dismiss-warning-background-default);
12435
12306
  color: var(--chip-dismiss-warning-foreground-default);
12436
12307
  }
12437
- .muka-chip--warning .muka-chip__remove:hover {
12308
+ .muka-chip--warning .muka-chip__remove:hover,
12309
+ .muka-chip--warning.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
12438
12310
  background-color: var(--chip-dismiss-warning-background-hover);
12439
12311
  color: var(--chip-dismiss-warning-foreground-hover);
12440
12312
  }
12441
- .muka-chip--warning .muka-chip__remove:active {
12313
+ .muka-chip--warning .muka-chip__remove:active,
12314
+ .muka-chip--warning.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
12315
+ .muka-chip--warning.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
12442
12316
  background-color: var(--chip-dismiss-warning-background-pressed);
12443
12317
  color: var(--chip-dismiss-warning-foreground-pressed);
12444
12318
  }
12445
12319
 
12446
- .muka-chip--error .muka-chip__remove {
12320
+ .muka-chip--error .muka-chip__remove,
12321
+ .muka-chip--error .muka-chip__expand {
12447
12322
  background-color: var(--chip-dismiss-error-background-default);
12448
12323
  color: var(--chip-dismiss-error-foreground-default);
12449
12324
  }
12450
- .muka-chip--error .muka-chip__remove:hover {
12325
+ .muka-chip--error .muka-chip__remove:hover,
12326
+ .muka-chip--error.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
12451
12327
  background-color: var(--chip-dismiss-error-background-hover);
12452
12328
  color: var(--chip-dismiss-error-foreground-hover);
12453
12329
  }
12454
- .muka-chip--error .muka-chip__remove:active {
12330
+ .muka-chip--error .muka-chip__remove:active,
12331
+ .muka-chip--error.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
12332
+ .muka-chip--error.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
12455
12333
  background-color: var(--chip-dismiss-error-background-pressed);
12456
12334
  color: var(--chip-dismiss-error-foreground-pressed);
12457
12335
  }
12458
12336
 
12459
- .muka-chip--info .muka-chip__remove {
12337
+ .muka-chip--info .muka-chip__remove,
12338
+ .muka-chip--info .muka-chip__expand {
12460
12339
  background-color: var(--chip-dismiss-info-background-default);
12461
12340
  color: var(--chip-dismiss-info-foreground-default);
12462
12341
  }
12463
- .muka-chip--info .muka-chip__remove:hover {
12342
+ .muka-chip--info .muka-chip__remove:hover,
12343
+ .muka-chip--info.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
12464
12344
  background-color: var(--chip-dismiss-info-background-hover);
12465
12345
  color: var(--chip-dismiss-info-foreground-hover);
12466
12346
  }
12467
- .muka-chip--info .muka-chip__remove:active {
12347
+ .muka-chip--info .muka-chip__remove:active,
12348
+ .muka-chip--info.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
12349
+ .muka-chip--info.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
12468
12350
  background-color: var(--chip-dismiss-info-background-pressed);
12469
12351
  color: var(--chip-dismiss-info-foreground-pressed);
12470
12352
  }
@@ -14653,19 +14535,127 @@ button.muka-chat-photo-grid__tile:focus-visible {
14653
14535
  padding: 0;
14654
14536
  }
14655
14537
 
14656
- .muka-bottombar--desktop-topnav.muka-bottombar--floating .muka-bottombar__content {
14657
- background-color: transparent;
14658
- border-radius: 0;
14659
- box-shadow: none;
14660
- }
14538
+ .muka-bottombar--desktop-topnav.muka-bottombar--floating .muka-bottombar__content {
14539
+ background-color: transparent;
14540
+ border-radius: 0;
14541
+ box-shadow: none;
14542
+ }
14543
+ }
14544
+
14545
+ /* ─── Print ────────────────────────────────────────────── */
14546
+
14547
+ @media print {
14548
+ .muka-bottombar {
14549
+ display: none;
14550
+ }
14551
+ }
14552
+
14553
+
14554
+ /* BadgeNumber */
14555
+ /* BadgeNumber Component Styles - Using Muka Design Tokens */
14556
+
14557
+ .muka-badge-number {
14558
+ display: inline-flex;
14559
+ align-items: center;
14560
+ justify-content: center;
14561
+ border-radius: var(--border-radius-full);
14562
+ white-space: nowrap;
14563
+ user-select: none;
14564
+ box-sizing: border-box;
14565
+ }
14566
+
14567
+ /*
14568
+ * Sizes — fixed height, matching min-width (so a single digit renders as a
14569
+ * circle), horizontal padding, and bold label typography. Vertical centering
14570
+ * is handled by the fixed height + align-items: center.
14571
+ */
14572
+ .muka-badge-number--2xs {
14573
+ height: var(--badge-number-size-2xs);
14574
+ min-width: var(--badge-number-size-2xs);
14575
+ padding: 0 var(--badge-number-padding-2xs);
14576
+ font-family: var(--text-label-xs-bold-fontFamily);
14577
+ font-weight: var(--text-label-xs-bold-fontWeight);
14578
+ font-size: var(--text-label-xs-bold-fontSize);
14579
+ line-height: var(--text-label-xs-bold-lineHeight);
14580
+ }
14581
+
14582
+ .muka-badge-number--xs {
14583
+ height: var(--badge-number-size-xs);
14584
+ min-width: var(--badge-number-size-xs);
14585
+ padding: 0 var(--badge-number-padding-xs);
14586
+ font-family: var(--text-label-sm-bold-fontFamily);
14587
+ font-weight: var(--text-label-sm-bold-fontWeight);
14588
+ font-size: var(--text-label-sm-bold-fontSize);
14589
+ line-height: var(--text-label-sm-bold-lineHeight);
14590
+ }
14591
+
14592
+ .muka-badge-number--sm {
14593
+ height: var(--badge-number-size-sm);
14594
+ min-width: var(--badge-number-size-sm);
14595
+ padding: 0 var(--badge-number-padding-sm);
14596
+ font-family: var(--text-label-md-bold-fontFamily);
14597
+ font-weight: var(--text-label-md-bold-fontWeight);
14598
+ font-size: var(--text-label-md-bold-fontSize);
14599
+ line-height: var(--text-label-md-bold-lineHeight);
14600
+ }
14601
+
14602
+ .muka-badge-number--md {
14603
+ height: var(--badge-number-size-md);
14604
+ min-width: var(--badge-number-size-md);
14605
+ padding: 0 var(--badge-number-padding-md);
14606
+ font-family: var(--text-label-lg-bold-fontFamily);
14607
+ font-weight: var(--text-label-lg-bold-fontWeight);
14608
+ font-size: var(--text-label-lg-bold-fontSize);
14609
+ line-height: var(--text-label-lg-bold-lineHeight);
14610
+ }
14611
+
14612
+ .muka-badge-number--lg {
14613
+ height: var(--badge-number-size-lg);
14614
+ min-width: var(--badge-number-size-lg);
14615
+ padding: 0 var(--badge-number-padding-lg);
14616
+ font-family: var(--text-label-2xl-bold-fontFamily);
14617
+ font-weight: var(--text-label-2xl-bold-fontWeight);
14618
+ font-size: var(--text-label-2xl-bold-fontSize);
14619
+ line-height: var(--text-label-2xl-bold-lineHeight);
14620
+ }
14621
+
14622
+ .muka-badge-number__label {
14623
+ /*
14624
+ * The badge sets a tight line-height for compact sizing, which would clip
14625
+ * glyph descenders; give the label a roomier line-height. Vertical centering
14626
+ * is unaffected because the badge height is fixed and content is centered.
14627
+ */
14628
+ line-height: normal;
14629
+ }
14630
+
14631
+ /* Neutral variant */
14632
+ .muka-badge-number--neutral {
14633
+ background-color: var(--color-surface-level1);
14634
+ color: var(--color-text-default-default);
14635
+ }
14636
+
14637
+ /* Info variant */
14638
+ .muka-badge-number--info {
14639
+ background-color: var(--color-state-info-contrast);
14640
+ color: var(--color-text-default-inverse);
14641
+ }
14642
+
14643
+ /* Success variant */
14644
+ .muka-badge-number--success {
14645
+ background-color: var(--color-state-success-contrast);
14646
+ color: var(--color-text-default-inverse);
14661
14647
  }
14662
14648
 
14663
- /* ─── Print ────────────────────────────────────────────── */
14649
+ /* Warning variant */
14650
+ .muka-badge-number--warning {
14651
+ background-color: var(--color-state-warning-contrast);
14652
+ color: var(--color-text-default-inverse);
14653
+ }
14664
14654
 
14665
- @media print {
14666
- .muka-bottombar {
14667
- display: none;
14668
- }
14655
+ /* Error variant */
14656
+ .muka-badge-number--error {
14657
+ background-color: var(--color-state-error-contrast);
14658
+ color: var(--color-text-default-inverse);
14669
14659
  }
14670
14660
 
14671
14661
 
@@ -16047,110 +16037,188 @@ button.muka-chat-photo-grid__tile:focus-visible {
16047
16037
  }
16048
16038
 
16049
16039
 
16050
- /* BadgeNumber */
16051
- /* BadgeNumber Component Styles - Using Muka Design Tokens */
16040
+ /* SwipeActions */
16041
+ /* SwipeActions Component Styles */
16052
16042
 
16053
- .muka-badge-number {
16054
- display: inline-flex;
16055
- align-items: center;
16056
- justify-content: center;
16057
- border-radius: var(--border-radius-full);
16058
- white-space: nowrap;
16043
+ .muka-swipe-actions {
16044
+ position: relative;
16045
+ overflow: hidden;
16046
+ touch-action: pan-y;
16047
+ -webkit-user-select: none;
16059
16048
  user-select: none;
16060
- box-sizing: border-box;
16049
+ background-color: var(--color-surface-level3);
16061
16050
  }
16062
16051
 
16063
- /*
16064
- * Sizes — fixed height, matching min-width (so a single digit renders as a
16065
- * circle), horizontal padding, and bold label typography. Vertical centering
16066
- * is handled by the fixed height + align-items: center.
16067
- */
16068
- .muka-badge-number--2xs {
16069
- height: var(--badge-number-size-2xs);
16070
- min-width: var(--badge-number-size-2xs);
16071
- padding: 0 var(--badge-number-padding-2xs);
16072
- font-family: var(--text-label-xs-bold-fontFamily);
16073
- font-weight: var(--text-label-xs-bold-fontWeight);
16074
- font-size: var(--text-label-xs-bold-fontSize);
16075
- line-height: var(--text-label-xs-bold-lineHeight);
16052
+ .muka-swipe-actions--disabled {
16053
+ touch-action: auto;
16076
16054
  }
16077
16055
 
16078
- .muka-badge-number--xs {
16079
- height: var(--badge-number-size-xs);
16080
- min-width: var(--badge-number-size-xs);
16081
- padding: 0 var(--badge-number-padding-xs);
16082
- font-family: var(--text-label-sm-bold-fontFamily);
16083
- font-weight: var(--text-label-sm-bold-fontWeight);
16084
- font-size: var(--text-label-sm-bold-fontSize);
16085
- line-height: var(--text-label-sm-bold-lineHeight);
16056
+ /* ─── Row that holds the actual content ────────────────── */
16057
+
16058
+ .muka-swipe-actions__row {
16059
+ position: relative;
16060
+ z-index: 1;
16061
+ background-color: inherit;
16062
+ will-change: transform;
16086
16063
  }
16087
16064
 
16088
- .muka-badge-number--sm {
16089
- height: var(--badge-number-size-sm);
16090
- min-width: var(--badge-number-size-sm);
16091
- padding: 0 var(--badge-number-padding-sm);
16092
- font-family: var(--text-label-md-bold-fontFamily);
16093
- font-weight: var(--text-label-md-bold-fontWeight);
16094
- font-size: var(--text-label-md-bold-fontSize);
16095
- line-height: var(--text-label-md-bold-lineHeight);
16065
+ /* ─── Action panels — sit beneath the row ──────────────── */
16066
+
16067
+ .muka-swipe-actions__panel {
16068
+ position: absolute;
16069
+ top: 0;
16070
+ bottom: 0;
16071
+ display: flex;
16072
+ align-items: stretch;
16073
+ z-index: 0;
16096
16074
  }
16097
16075
 
16098
- .muka-badge-number--md {
16099
- height: var(--badge-number-size-md);
16100
- min-width: var(--badge-number-size-md);
16101
- padding: 0 var(--badge-number-padding-md);
16102
- font-family: var(--text-label-lg-bold-fontFamily);
16103
- font-weight: var(--text-label-lg-bold-fontWeight);
16104
- font-size: var(--text-label-lg-bold-fontSize);
16105
- line-height: var(--text-label-lg-bold-lineHeight);
16076
+ .muka-swipe-actions__panel--left {
16077
+ left: 0;
16106
16078
  }
16107
16079
 
16108
- .muka-badge-number--lg {
16109
- height: var(--badge-number-size-lg);
16110
- min-width: var(--badge-number-size-lg);
16111
- padding: 0 var(--badge-number-padding-lg);
16112
- font-family: var(--text-label-2xl-bold-fontFamily);
16113
- font-weight: var(--text-label-2xl-bold-fontWeight);
16114
- font-size: var(--text-label-2xl-bold-fontSize);
16115
- line-height: var(--text-label-2xl-bold-lineHeight);
16080
+ .muka-swipe-actions__panel--right {
16081
+ right: 0;
16116
16082
  }
16117
16083
 
16118
- .muka-badge-number__label {
16119
- /*
16120
- * The badge sets a tight line-height for compact sizing, which would clip
16121
- * glyph descenders; give the label a roomier line-height. Vertical centering
16122
- * is unaffected because the badge height is fixed and content is centered.
16123
- */
16124
- line-height: normal;
16084
+ /* ─── Single action button ─────────────────────────────── */
16085
+
16086
+ .muka-swipe-actions__button {
16087
+ display: flex;
16088
+ flex-direction: column;
16089
+ align-items: center;
16090
+ justify-content: center;
16091
+ gap: var(--spacing-1);
16092
+ border: none;
16093
+ cursor: pointer;
16094
+ padding: var(--spacing-2);
16095
+ background-color: var(--color-surface-level2);
16096
+ color: var(--color-text-default-default);
16097
+ font-family: var(--text-label-sm-semibold-fontFamily);
16098
+ font-weight: var(--text-label-sm-semibold-fontWeight);
16099
+ font-size: var(--text-label-sm-semibold-fontSize);
16100
+ line-height: var(--text-label-sm-semibold-lineHeight);
16101
+ -webkit-tap-highlight-color: transparent;
16102
+ transition: filter 0.12s ease;
16125
16103
  }
16126
16104
 
16127
- /* Neutral variant */
16128
- .muka-badge-number--neutral {
16129
- background-color: var(--color-surface-level1);
16105
+ .muka-swipe-actions__button:hover {
16106
+ filter: brightness(0.95);
16107
+ }
16108
+
16109
+ .muka-swipe-actions__button:focus-visible {
16110
+ outline: 2px solid var(--color-action-default);
16111
+ outline-offset: -2px;
16112
+ }
16113
+
16114
+ .muka-swipe-actions__button-icon {
16115
+ display: inline-flex;
16116
+ align-items: center;
16117
+ justify-content: center;
16118
+ }
16119
+
16120
+ /* ─── Color variants ───────────────────────────────────── */
16121
+
16122
+ .muka-swipe-actions__button--neutral {
16123
+ background-color: var(--color-surface-level2);
16130
16124
  color: var(--color-text-default-default);
16131
16125
  }
16132
16126
 
16133
- /* Info variant */
16134
- .muka-badge-number--info {
16135
- background-color: var(--color-state-info-contrast);
16127
+ .muka-swipe-actions__button--primary {
16128
+ background-color: var(--color-action-default);
16136
16129
  color: var(--color-text-default-inverse);
16137
16130
  }
16138
16131
 
16139
- /* Success variant */
16140
- .muka-badge-number--success {
16141
- background-color: var(--color-state-success-contrast);
16132
+ .muka-swipe-actions__button--success {
16133
+ background-color: var(--color-state-success-default);
16142
16134
  color: var(--color-text-default-inverse);
16143
16135
  }
16144
16136
 
16145
- /* Warning variant */
16146
- .muka-badge-number--warning {
16147
- background-color: var(--color-state-warning-contrast);
16137
+ .muka-swipe-actions__button--warning {
16138
+ background-color: var(--color-state-warning-default);
16139
+ color: var(--color-text-default-default);
16140
+ }
16141
+
16142
+ .muka-swipe-actions__button--destructive {
16143
+ background-color: var(--color-state-error-default);
16148
16144
  color: var(--color-text-default-inverse);
16149
16145
  }
16150
16146
 
16151
- /* Error variant */
16152
- .muka-badge-number--error {
16153
- background-color: var(--color-state-error-contrast);
16147
+
16148
+ /* Spinner */
16149
+ /* Spinner Component Styles */
16150
+
16151
+ .muka-spinner {
16152
+ display: inline-flex;
16153
+ align-items: center;
16154
+ justify-content: center;
16155
+ color: var(--color-text-default-default);
16156
+ line-height: 0;
16157
+ }
16158
+
16159
+ .muka-spinner--subtle {
16160
+ color: var(--color-text-subtle-default);
16161
+ }
16162
+
16163
+ .muka-spinner--inverse {
16154
16164
  color: var(--color-text-default-inverse);
16155
16165
  }
16156
16166
 
16167
+ .muka-spinner__circle {
16168
+ display: inline-block;
16169
+ border-radius: 50%;
16170
+ border-style: solid;
16171
+ border-color: currentColor;
16172
+ border-right-color: transparent;
16173
+ animation: muka-spinner-rotate 0.7s linear infinite;
16174
+ box-sizing: border-box;
16175
+ }
16176
+
16177
+ /* ─── Sizes ───────────────────────────────────────────── */
16178
+
16179
+ .muka-spinner--sm .muka-spinner__circle {
16180
+ width: 16px;
16181
+ height: 16px;
16182
+ border-width: 2px;
16183
+ }
16184
+
16185
+ .muka-spinner--md .muka-spinner__circle {
16186
+ width: 20px;
16187
+ height: 20px;
16188
+ border-width: 2px;
16189
+ }
16190
+
16191
+ .muka-spinner--lg .muka-spinner__circle {
16192
+ width: 24px;
16193
+ height: 24px;
16194
+ border-width: 3px;
16195
+ }
16196
+
16197
+ /* ─── Visually-hidden label ───────────────────────────── */
16198
+
16199
+ .muka-spinner__sr-label {
16200
+ position: absolute;
16201
+ width: 1px;
16202
+ height: 1px;
16203
+ padding: 0;
16204
+ margin: -1px;
16205
+ overflow: hidden;
16206
+ clip: rect(0, 0, 0, 0);
16207
+ white-space: nowrap;
16208
+ border: 0;
16209
+ }
16210
+
16211
+ /* ─── Reduced motion ──────────────────────────────────── */
16212
+
16213
+ @keyframes muka-spinner-rotate {
16214
+ to {
16215
+ transform: rotate(360deg);
16216
+ }
16217
+ }
16218
+
16219
+ @media (prefers-reduced-motion: reduce) {
16220
+ .muka-spinner__circle {
16221
+ animation-duration: 2.5s;
16222
+ }
16223
+ }
16224
+