@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.
@@ -4651,192 +4651,6 @@ body {
4651
4651
  }
4652
4652
 
4653
4653
 
4654
- /* SwipeActions */
4655
- /* SwipeActions Component Styles */
4656
-
4657
- .muka-swipe-actions {
4658
- position: relative;
4659
- overflow: hidden;
4660
- touch-action: pan-y;
4661
- -webkit-user-select: none;
4662
- user-select: none;
4663
- background-color: var(--color-surface-level3);
4664
- }
4665
-
4666
- .muka-swipe-actions--disabled {
4667
- touch-action: auto;
4668
- }
4669
-
4670
- /* ─── Row that holds the actual content ────────────────── */
4671
-
4672
- .muka-swipe-actions__row {
4673
- position: relative;
4674
- z-index: 1;
4675
- background-color: inherit;
4676
- will-change: transform;
4677
- }
4678
-
4679
- /* ─── Action panels — sit beneath the row ──────────────── */
4680
-
4681
- .muka-swipe-actions__panel {
4682
- position: absolute;
4683
- top: 0;
4684
- bottom: 0;
4685
- display: flex;
4686
- align-items: stretch;
4687
- z-index: 0;
4688
- }
4689
-
4690
- .muka-swipe-actions__panel--left {
4691
- left: 0;
4692
- }
4693
-
4694
- .muka-swipe-actions__panel--right {
4695
- right: 0;
4696
- }
4697
-
4698
- /* ─── Single action button ─────────────────────────────── */
4699
-
4700
- .muka-swipe-actions__button {
4701
- display: flex;
4702
- flex-direction: column;
4703
- align-items: center;
4704
- justify-content: center;
4705
- gap: var(--spacing-1);
4706
- border: none;
4707
- cursor: pointer;
4708
- padding: var(--spacing-2);
4709
- background-color: var(--color-surface-level2);
4710
- color: var(--color-text-default-default);
4711
- font-family: var(--text-label-sm-semibold-fontFamily);
4712
- font-weight: var(--text-label-sm-semibold-fontWeight);
4713
- font-size: var(--text-label-sm-semibold-fontSize);
4714
- line-height: var(--text-label-sm-semibold-lineHeight);
4715
- -webkit-tap-highlight-color: transparent;
4716
- transition: filter 0.12s ease;
4717
- }
4718
-
4719
- .muka-swipe-actions__button:hover {
4720
- filter: brightness(0.95);
4721
- }
4722
-
4723
- .muka-swipe-actions__button:focus-visible {
4724
- outline: 2px solid var(--color-action-default);
4725
- outline-offset: -2px;
4726
- }
4727
-
4728
- .muka-swipe-actions__button-icon {
4729
- display: inline-flex;
4730
- align-items: center;
4731
- justify-content: center;
4732
- }
4733
-
4734
- /* ─── Color variants ───────────────────────────────────── */
4735
-
4736
- .muka-swipe-actions__button--neutral {
4737
- background-color: var(--color-surface-level2);
4738
- color: var(--color-text-default-default);
4739
- }
4740
-
4741
- .muka-swipe-actions__button--primary {
4742
- background-color: var(--color-action-default);
4743
- color: var(--color-text-default-inverse);
4744
- }
4745
-
4746
- .muka-swipe-actions__button--success {
4747
- background-color: var(--color-state-success-default);
4748
- color: var(--color-text-default-inverse);
4749
- }
4750
-
4751
- .muka-swipe-actions__button--warning {
4752
- background-color: var(--color-state-warning-default);
4753
- color: var(--color-text-default-default);
4754
- }
4755
-
4756
- .muka-swipe-actions__button--destructive {
4757
- background-color: var(--color-state-error-default);
4758
- color: var(--color-text-default-inverse);
4759
- }
4760
-
4761
-
4762
- /* Spinner */
4763
- /* Spinner Component Styles */
4764
-
4765
- .muka-spinner {
4766
- display: inline-flex;
4767
- align-items: center;
4768
- justify-content: center;
4769
- color: var(--color-text-default-default);
4770
- line-height: 0;
4771
- }
4772
-
4773
- .muka-spinner--subtle {
4774
- color: var(--color-text-subtle-default);
4775
- }
4776
-
4777
- .muka-spinner--inverse {
4778
- color: var(--color-text-default-inverse);
4779
- }
4780
-
4781
- .muka-spinner__circle {
4782
- display: inline-block;
4783
- border-radius: 50%;
4784
- border-style: solid;
4785
- border-color: currentColor;
4786
- border-right-color: transparent;
4787
- animation: muka-spinner-rotate 0.7s linear infinite;
4788
- box-sizing: border-box;
4789
- }
4790
-
4791
- /* ─── Sizes ───────────────────────────────────────────── */
4792
-
4793
- .muka-spinner--sm .muka-spinner__circle {
4794
- width: 16px;
4795
- height: 16px;
4796
- border-width: 2px;
4797
- }
4798
-
4799
- .muka-spinner--md .muka-spinner__circle {
4800
- width: 20px;
4801
- height: 20px;
4802
- border-width: 2px;
4803
- }
4804
-
4805
- .muka-spinner--lg .muka-spinner__circle {
4806
- width: 24px;
4807
- height: 24px;
4808
- border-width: 3px;
4809
- }
4810
-
4811
- /* ─── Visually-hidden label ───────────────────────────── */
4812
-
4813
- .muka-spinner__sr-label {
4814
- position: absolute;
4815
- width: 1px;
4816
- height: 1px;
4817
- padding: 0;
4818
- margin: -1px;
4819
- overflow: hidden;
4820
- clip: rect(0, 0, 0, 0);
4821
- white-space: nowrap;
4822
- border: 0;
4823
- }
4824
-
4825
- /* ─── Reduced motion ──────────────────────────────────── */
4826
-
4827
- @keyframes muka-spinner-rotate {
4828
- to {
4829
- transform: rotate(360deg);
4830
- }
4831
- }
4832
-
4833
- @media (prefers-reduced-motion: reduce) {
4834
- .muka-spinner__circle {
4835
- animation-duration: 2.5s;
4836
- }
4837
- }
4838
-
4839
-
4840
4654
  /* SpecList */
4841
4655
  /* SpecList Component Styles */
4842
4656
 
@@ -6732,6 +6546,22 @@ body {
6732
6546
  padding-bottom: var(--spacing-7);
6733
6547
  }
6734
6548
 
6549
+ /* Scrollable: the root scrolls sideways when the steps don't fit. The inline
6550
+ padding leaves room for the first and last labels, which hang past their
6551
+ indicators; the scrollbar stays hidden (touch and trackpad still scroll). */
6552
+ .muka-progress-tracker--scrollable {
6553
+ overflow-x: auto;
6554
+ overflow-y: hidden;
6555
+ -webkit-overflow-scrolling: touch;
6556
+ scrollbar-width: none;
6557
+ padding-inline: var(--spacing-12);
6558
+ box-sizing: border-box;
6559
+ }
6560
+
6561
+ .muka-progress-tracker--scrollable::-webkit-scrollbar {
6562
+ display: none;
6563
+ }
6564
+
6735
6565
  /* ─── Track (layered container) ─────────────────────────── */
6736
6566
  .muka-progress-tracker--horizontal .muka-progress-tracker__track {
6737
6567
  position: relative;
@@ -7413,46 +7243,218 @@ body {
7413
7243
  }
7414
7244
 
7415
7245
 
7416
- /* ProfileBadge */
7417
- /* ProfileBadge Component Styles - Using Muka Design Tokens */
7246
+ /* Progress */
7247
+ /* Progress Component Styles - Using Muka Design Tokens */
7418
7248
 
7419
- .muka-profile-badge {
7420
- display: inline-flex;
7249
+ /* ========================================
7250
+ BAR VARIANT
7251
+ ======================================== */
7252
+
7253
+ .muka-progress--bar {
7254
+ display: flex;
7421
7255
  align-items: center;
7422
- font-family: var(--text-body-base-regular-fontFamily);
7256
+ gap: var(--spacing-2);
7257
+ width: 100%;
7423
7258
  }
7424
7259
 
7425
- /* Size variants */
7426
- .muka-profile-badge--lg {
7427
- gap: var(--spacing-4); /* 16px */
7260
+ .muka-progress--bar .muka-progress__track {
7261
+ flex: 1;
7262
+ background-color: var(--color-surface-level1);
7263
+ border-radius: var(--border-radius-full);
7264
+ overflow: hidden;
7428
7265
  }
7429
7266
 
7430
- .muka-profile-badge--md {
7431
- gap: var(--spacing-3); /* 12px */
7267
+ .muka-progress--bar.muka-progress--sm .muka-progress__track {
7268
+ height: var(--progress-size-bar-height-sm);
7432
7269
  }
7433
7270
 
7434
- .muka-profile-badge__avatar {
7435
- flex-shrink: 0;
7271
+ .muka-progress--bar.muka-progress--md .muka-progress__track {
7272
+ height: var(--progress-size-bar-height-md);
7436
7273
  }
7437
7274
 
7438
- /* Text stack */
7439
- .muka-profile-badge__text {
7440
- display: flex;
7441
- flex-direction: column;
7442
- align-items: flex-start;
7443
- min-width: 0;
7275
+ .muka-progress--bar.muka-progress--lg .muka-progress__track {
7276
+ height: var(--progress-size-bar-height-lg);
7444
7277
  }
7445
7278
 
7446
- .muka-profile-badge__name {
7447
- font-family: var(--text-body-base-regular-fontFamily);
7448
- font-size: var(--text-body-base-regular-fontSize);
7449
- font-weight: var(--text-body-base-regular-fontWeight);
7450
- line-height: var(--text-body-base-regular-lineHeight);
7279
+ .muka-progress--bar .muka-progress__fill {
7280
+ height: 100%;
7281
+ background-color: var(--color-action-default);
7282
+ border-radius: var(--border-radius-full);
7283
+ transition: width 0.3s ease;
7284
+ }
7285
+
7286
+ .muka-progress--bar .muka-progress__label {
7287
+ flex-shrink: 0;
7288
+ font-family: var(--text-label-sm-semibold-fontFamily);
7289
+ font-weight: var(--text-label-sm-semibold-fontWeight);
7290
+ font-size: var(--text-label-sm-semibold-fontSize);
7291
+ line-height: var(--text-label-sm-semibold-lineHeight);
7451
7292
  color: var(--color-text-default-default);
7293
+ min-width: 3ch;
7294
+ text-align: right;
7452
7295
  }
7453
7296
 
7454
- .muka-profile-badge__email {
7455
- font-family: var(--text-body-xs-regular-fontFamily);
7297
+ /* Indeterminate animation for bar */
7298
+ .muka-progress--bar.muka-progress--indeterminate .muka-progress__fill {
7299
+ width: 40%;
7300
+ animation: muka-progress-bar-indeterminate 1.5s ease-in-out infinite;
7301
+ }
7302
+
7303
+ @keyframes muka-progress-bar-indeterminate {
7304
+ 0% {
7305
+ transform: translateX(-100%);
7306
+ }
7307
+ 100% {
7308
+ transform: translateX(250%);
7309
+ }
7310
+ }
7311
+
7312
+ /* ========================================
7313
+ CIRCLE VARIANT
7314
+ ======================================== */
7315
+
7316
+ .muka-progress--circle {
7317
+ position: relative;
7318
+ display: inline-flex;
7319
+ align-items: center;
7320
+ justify-content: center;
7321
+ }
7322
+
7323
+ .muka-progress--circle.muka-progress--sm {
7324
+ width: var(--progress-size-circle-diameter-sm);
7325
+ height: var(--progress-size-circle-diameter-sm);
7326
+ }
7327
+
7328
+ .muka-progress--circle.muka-progress--md {
7329
+ width: var(--progress-size-circle-diameter-md);
7330
+ height: var(--progress-size-circle-diameter-md);
7331
+ }
7332
+
7333
+ .muka-progress--circle.muka-progress--lg {
7334
+ width: var(--progress-size-circle-diameter-lg);
7335
+ height: var(--progress-size-circle-diameter-lg);
7336
+ }
7337
+
7338
+ .muka-progress__circle {
7339
+ width: 100%;
7340
+ height: 100%;
7341
+ transform: rotate(-90deg);
7342
+ }
7343
+
7344
+ .muka-progress--circle .muka-progress__track {
7345
+ fill: none;
7346
+ stroke: var(--color-surface-level1);
7347
+ }
7348
+
7349
+ .muka-progress--circle.muka-progress--sm .muka-progress__track,
7350
+ .muka-progress--circle.muka-progress--sm .muka-progress__fill {
7351
+ stroke-width: var(--progress-size-circle-strokeWidth-sm);
7352
+ }
7353
+
7354
+ .muka-progress--circle.muka-progress--md .muka-progress__track,
7355
+ .muka-progress--circle.muka-progress--md .muka-progress__fill {
7356
+ stroke-width: var(--progress-size-circle-strokeWidth-md);
7357
+ }
7358
+
7359
+ .muka-progress--circle.muka-progress--lg .muka-progress__track,
7360
+ .muka-progress--circle.muka-progress--lg .muka-progress__fill {
7361
+ stroke-width: var(--progress-size-circle-strokeWidth-lg);
7362
+ }
7363
+
7364
+ .muka-progress--circle .muka-progress__fill {
7365
+ fill: none;
7366
+ stroke: var(--color-action-default);
7367
+ stroke-linecap: round;
7368
+ transition: stroke-dashoffset 0.3s ease;
7369
+ }
7370
+
7371
+ .muka-progress--circle .muka-progress__label {
7372
+ position: absolute;
7373
+ font-family: var(--text-label-sm-semibold-fontFamily);
7374
+ font-weight: var(--text-label-sm-semibold-fontWeight);
7375
+ color: var(--color-text-default-default);
7376
+ }
7377
+
7378
+ .muka-progress--circle.muka-progress--sm .muka-progress__label {
7379
+ font-size: var(--text-label-sm-semibold-fontSize);
7380
+ }
7381
+
7382
+ .muka-progress--circle.muka-progress--md .muka-progress__label {
7383
+ font-size: var(--text-label-md-semibold-fontSize);
7384
+ }
7385
+
7386
+ .muka-progress--circle.muka-progress--lg .muka-progress__label {
7387
+ font-size: var(--text-label-lg-semibold-fontSize);
7388
+ }
7389
+
7390
+ /* Indeterminate animation for circle */
7391
+ .muka-progress--circle.muka-progress--indeterminate .muka-progress__circle {
7392
+ animation: muka-progress-circle-rotate 2s linear infinite;
7393
+ }
7394
+
7395
+ .muka-progress--circle.muka-progress--indeterminate .muka-progress__fill {
7396
+ animation: muka-progress-circle-dash 1.5s ease-in-out infinite;
7397
+ }
7398
+
7399
+ @keyframes muka-progress-circle-rotate {
7400
+ 100% {
7401
+ transform: rotate(270deg);
7402
+ }
7403
+ }
7404
+
7405
+ @keyframes muka-progress-circle-dash {
7406
+ 0% {
7407
+ stroke-dashoffset: 220;
7408
+ }
7409
+ 50% {
7410
+ stroke-dashoffset: 70;
7411
+ }
7412
+ 100% {
7413
+ stroke-dashoffset: 220;
7414
+ }
7415
+ }
7416
+
7417
+
7418
+ /* ProfileBadge */
7419
+ /* ProfileBadge Component Styles - Using Muka Design Tokens */
7420
+
7421
+ .muka-profile-badge {
7422
+ display: inline-flex;
7423
+ align-items: center;
7424
+ font-family: var(--text-body-base-regular-fontFamily);
7425
+ }
7426
+
7427
+ /* Size variants */
7428
+ .muka-profile-badge--lg {
7429
+ gap: var(--spacing-4); /* 16px */
7430
+ }
7431
+
7432
+ .muka-profile-badge--md {
7433
+ gap: var(--spacing-3); /* 12px */
7434
+ }
7435
+
7436
+ .muka-profile-badge__avatar {
7437
+ flex-shrink: 0;
7438
+ }
7439
+
7440
+ /* Text stack */
7441
+ .muka-profile-badge__text {
7442
+ display: flex;
7443
+ flex-direction: column;
7444
+ align-items: flex-start;
7445
+ min-width: 0;
7446
+ }
7447
+
7448
+ .muka-profile-badge__name {
7449
+ font-family: var(--text-body-base-regular-fontFamily);
7450
+ font-size: var(--text-body-base-regular-fontSize);
7451
+ font-weight: var(--text-body-base-regular-fontWeight);
7452
+ line-height: var(--text-body-base-regular-lineHeight);
7453
+ color: var(--color-text-default-default);
7454
+ }
7455
+
7456
+ .muka-profile-badge__email {
7457
+ font-family: var(--text-body-xs-regular-fontFamily);
7456
7458
  font-size: var(--text-body-xs-regular-fontSize);
7457
7459
  font-weight: var(--text-body-xs-regular-fontWeight);
7458
7460
  line-height: var(--text-body-xs-regular-lineHeight);
@@ -7612,235 +7614,63 @@ body {
7612
7614
  }
7613
7615
 
7614
7616
 
7615
- /* Progress */
7616
- /* Progress Component Styles - Using Muka Design Tokens */
7617
-
7618
- /* ========================================
7619
- BAR VARIANT
7620
- ======================================== */
7617
+ /* PieChart */
7618
+ /* PieChart Component Styles - Using Muka Design Tokens */
7621
7619
 
7622
- .muka-progress--bar {
7623
- display: flex;
7620
+ .muka-piechart {
7621
+ display: inline-flex;
7624
7622
  align-items: center;
7625
- gap: var(--spacing-2);
7626
- width: 100%;
7623
+ gap: var(--spacing-4);
7627
7624
  }
7628
7625
 
7629
- .muka-progress--bar .muka-progress__track {
7630
- flex: 1;
7631
- background-color: var(--color-surface-level1);
7632
- border-radius: var(--border-radius-full);
7633
- overflow: hidden;
7626
+ /* Legend layout */
7627
+ .muka-piechart--legend-right {
7628
+ flex-direction: row;
7634
7629
  }
7635
7630
 
7636
- .muka-progress--bar.muka-progress--sm .muka-progress__track {
7637
- height: var(--progress-size-bar-height-sm);
7631
+ .muka-piechart--legend-bottom {
7632
+ flex-direction: column;
7638
7633
  }
7639
7634
 
7640
- .muka-progress--bar.muka-progress--md .muka-progress__track {
7641
- height: var(--progress-size-bar-height-md);
7642
- }
7635
+ /* ========================================
7636
+ CHART
7637
+ ======================================== */
7643
7638
 
7644
- .muka-progress--bar.muka-progress--lg .muka-progress__track {
7645
- height: var(--progress-size-bar-height-lg);
7639
+ .muka-piechart__chart {
7640
+ position: relative;
7641
+ flex-shrink: 0;
7646
7642
  }
7647
7643
 
7648
- .muka-progress--bar .muka-progress__fill {
7649
- height: 100%;
7650
- background-color: var(--color-action-default);
7651
- border-radius: var(--border-radius-full);
7652
- transition: width 0.3s ease;
7644
+ .muka-piechart__chart--sm {
7645
+ width: var(--piechart-size-diameter-sm);
7646
+ height: var(--piechart-size-diameter-sm);
7653
7647
  }
7654
7648
 
7655
- .muka-progress--bar .muka-progress__label {
7656
- flex-shrink: 0;
7657
- font-family: var(--text-label-sm-semibold-fontFamily);
7658
- font-weight: var(--text-label-sm-semibold-fontWeight);
7659
- font-size: var(--text-label-sm-semibold-fontSize);
7660
- line-height: var(--text-label-sm-semibold-lineHeight);
7661
- color: var(--color-text-default-default);
7662
- min-width: 3ch;
7663
- text-align: right;
7649
+ .muka-piechart__chart--md {
7650
+ width: var(--piechart-size-diameter-md);
7651
+ height: var(--piechart-size-diameter-md);
7664
7652
  }
7665
7653
 
7666
- /* Indeterminate animation for bar */
7667
- .muka-progress--bar.muka-progress--indeterminate .muka-progress__fill {
7668
- width: 40%;
7669
- animation: muka-progress-bar-indeterminate 1.5s ease-in-out infinite;
7654
+ .muka-piechart__chart--lg {
7655
+ width: var(--piechart-size-diameter-lg);
7656
+ height: var(--piechart-size-diameter-lg);
7670
7657
  }
7671
7658
 
7672
- @keyframes muka-progress-bar-indeterminate {
7673
- 0% {
7674
- transform: translateX(-100%);
7675
- }
7676
- 100% {
7677
- transform: translateX(250%);
7678
- }
7659
+ .muka-piechart__svg {
7660
+ display: block;
7661
+ width: 100%;
7662
+ height: 100%;
7663
+ /* Start slices at 12 o'clock instead of 3 o'clock */
7664
+ transform: rotate(-90deg);
7679
7665
  }
7680
7666
 
7681
- /* ========================================
7682
- CIRCLE VARIANT
7683
- ======================================== */
7684
-
7685
- .muka-progress--circle {
7686
- position: relative;
7687
- display: inline-flex;
7688
- align-items: center;
7689
- justify-content: center;
7667
+ .muka-piechart__track {
7668
+ fill: none;
7669
+ stroke: var(--piechart-color-track);
7690
7670
  }
7691
7671
 
7692
- .muka-progress--circle.muka-progress--sm {
7693
- width: var(--progress-size-circle-diameter-sm);
7694
- height: var(--progress-size-circle-diameter-sm);
7695
- }
7696
-
7697
- .muka-progress--circle.muka-progress--md {
7698
- width: var(--progress-size-circle-diameter-md);
7699
- height: var(--progress-size-circle-diameter-md);
7700
- }
7701
-
7702
- .muka-progress--circle.muka-progress--lg {
7703
- width: var(--progress-size-circle-diameter-lg);
7704
- height: var(--progress-size-circle-diameter-lg);
7705
- }
7706
-
7707
- .muka-progress__circle {
7708
- width: 100%;
7709
- height: 100%;
7710
- transform: rotate(-90deg);
7711
- }
7712
-
7713
- .muka-progress--circle .muka-progress__track {
7714
- fill: none;
7715
- stroke: var(--color-surface-level1);
7716
- }
7717
-
7718
- .muka-progress--circle.muka-progress--sm .muka-progress__track,
7719
- .muka-progress--circle.muka-progress--sm .muka-progress__fill {
7720
- stroke-width: var(--progress-size-circle-strokeWidth-sm);
7721
- }
7722
-
7723
- .muka-progress--circle.muka-progress--md .muka-progress__track,
7724
- .muka-progress--circle.muka-progress--md .muka-progress__fill {
7725
- stroke-width: var(--progress-size-circle-strokeWidth-md);
7726
- }
7727
-
7728
- .muka-progress--circle.muka-progress--lg .muka-progress__track,
7729
- .muka-progress--circle.muka-progress--lg .muka-progress__fill {
7730
- stroke-width: var(--progress-size-circle-strokeWidth-lg);
7731
- }
7732
-
7733
- .muka-progress--circle .muka-progress__fill {
7734
- fill: none;
7735
- stroke: var(--color-action-default);
7736
- stroke-linecap: round;
7737
- transition: stroke-dashoffset 0.3s ease;
7738
- }
7739
-
7740
- .muka-progress--circle .muka-progress__label {
7741
- position: absolute;
7742
- font-family: var(--text-label-sm-semibold-fontFamily);
7743
- font-weight: var(--text-label-sm-semibold-fontWeight);
7744
- color: var(--color-text-default-default);
7745
- }
7746
-
7747
- .muka-progress--circle.muka-progress--sm .muka-progress__label {
7748
- font-size: var(--text-label-sm-semibold-fontSize);
7749
- }
7750
-
7751
- .muka-progress--circle.muka-progress--md .muka-progress__label {
7752
- font-size: var(--text-label-md-semibold-fontSize);
7753
- }
7754
-
7755
- .muka-progress--circle.muka-progress--lg .muka-progress__label {
7756
- font-size: var(--text-label-lg-semibold-fontSize);
7757
- }
7758
-
7759
- /* Indeterminate animation for circle */
7760
- .muka-progress--circle.muka-progress--indeterminate .muka-progress__circle {
7761
- animation: muka-progress-circle-rotate 2s linear infinite;
7762
- }
7763
-
7764
- .muka-progress--circle.muka-progress--indeterminate .muka-progress__fill {
7765
- animation: muka-progress-circle-dash 1.5s ease-in-out infinite;
7766
- }
7767
-
7768
- @keyframes muka-progress-circle-rotate {
7769
- 100% {
7770
- transform: rotate(270deg);
7771
- }
7772
- }
7773
-
7774
- @keyframes muka-progress-circle-dash {
7775
- 0% {
7776
- stroke-dashoffset: 220;
7777
- }
7778
- 50% {
7779
- stroke-dashoffset: 70;
7780
- }
7781
- 100% {
7782
- stroke-dashoffset: 220;
7783
- }
7784
- }
7785
-
7786
-
7787
- /* PieChart */
7788
- /* PieChart Component Styles - Using Muka Design Tokens */
7789
-
7790
- .muka-piechart {
7791
- display: inline-flex;
7792
- align-items: center;
7793
- gap: var(--spacing-4);
7794
- }
7795
-
7796
- /* Legend layout */
7797
- .muka-piechart--legend-right {
7798
- flex-direction: row;
7799
- }
7800
-
7801
- .muka-piechart--legend-bottom {
7802
- flex-direction: column;
7803
- }
7804
-
7805
- /* ========================================
7806
- CHART
7807
- ======================================== */
7808
-
7809
- .muka-piechart__chart {
7810
- position: relative;
7811
- flex-shrink: 0;
7812
- }
7813
-
7814
- .muka-piechart__chart--sm {
7815
- width: var(--piechart-size-diameter-sm);
7816
- height: var(--piechart-size-diameter-sm);
7817
- }
7818
-
7819
- .muka-piechart__chart--md {
7820
- width: var(--piechart-size-diameter-md);
7821
- height: var(--piechart-size-diameter-md);
7822
- }
7823
-
7824
- .muka-piechart__chart--lg {
7825
- width: var(--piechart-size-diameter-lg);
7826
- height: var(--piechart-size-diameter-lg);
7827
- }
7828
-
7829
- .muka-piechart__svg {
7830
- display: block;
7831
- width: 100%;
7832
- height: 100%;
7833
- /* Start slices at 12 o'clock instead of 3 o'clock */
7834
- transform: rotate(-90deg);
7835
- }
7836
-
7837
- .muka-piechart__track {
7838
- fill: none;
7839
- stroke: var(--piechart-color-track);
7840
- }
7841
-
7842
- .muka-piechart__segment {
7843
- fill: none;
7672
+ .muka-piechart__segment {
7673
+ fill: none;
7844
7674
  }
7845
7675
 
7846
7676
  /* ========================================
@@ -8666,75 +8496,261 @@ body {
8666
8496
  }
8667
8497
 
8668
8498
 
8669
- /* ListItem */
8670
- /* ListItem Component Styles - Using Muka Design Tokens */
8499
+ /* MediaViewer */
8500
+ /* MediaViewer Component Styles - Using Muka Design Tokens */
8671
8501
 
8672
- /* Base list item styles */
8673
- .muka-listitem {
8674
- /* Layout */
8675
- display: flex;
8676
- align-items: flex-start;
8677
- gap: var(--spacing-4);
8678
- padding: var(--spacing-5) var(--spacing-4);
8679
-
8680
- /* Background - using semantic tokens */
8681
- background-color: var(--color-surface-level3);
8682
-
8683
- /* Typography */
8684
- font-family: var(--alias-font-brand-family);
8685
-
8686
- /* Border and spacing */
8502
+ /* ─── Native dialog: full viewport ────────────────────── */
8503
+ .muka-media-viewer {
8504
+ position: fixed;
8505
+ inset: 0;
8506
+ width: 100%;
8507
+ height: 100%;
8508
+ max-width: none;
8509
+ max-height: none;
8510
+ margin: 0;
8511
+ padding: 0;
8687
8512
  border: none;
8688
- position: relative;
8689
-
8690
- /* Interaction - only apply if interactive */
8691
- transition: background-color 0.2s ease, box-shadow 0.2s ease;
8692
- }
8693
-
8694
- /* Interactive state */
8695
- .muka-listitem--interactive {
8696
- cursor: pointer;
8697
- }
8698
-
8699
- /*
8700
- * surface.hover / surface.pressed are theme-adaptive translucent tints, so they
8701
- * are layered on top of the item's base surface via an inset box-shadow overlay
8702
- * rather than replacing background-color. This preserves the base level (level3,
8703
- * or level2 when selected) and lets the tint read correctly on any surface.
8704
- */
8705
- .muka-listitem--interactive:hover:not(:disabled):not(.muka-listitem--disabled) {
8706
- box-shadow: inset 0 0 0 9999px var(--color-surface-hover);
8513
+ display: flex;
8514
+ flex-direction: column;
8515
+ overflow: hidden;
8516
+ overscroll-behavior: contain;
8517
+ color: var(--color-text-default-default);
8518
+ background-color: var(--color-black-alpha-12);
8519
+ animation: muka-media-viewer-in var(--motion-duration-component) var(--motion-easing-enter);
8707
8520
  }
8708
8521
 
8709
- .muka-listitem--interactive:active:not(:disabled):not(.muka-listitem--disabled),
8710
- .muka-listitem--interactive.muka-listitem--pressed:not(:disabled):not(.muka-listitem--disabled) {
8711
- box-shadow: inset 0 0 0 9999px var(--color-surface-pressed);
8522
+ .muka-media-viewer:not([open]) {
8523
+ display: none;
8712
8524
  }
8713
8525
 
8714
- /* Focus styles for accessibility */
8715
- .muka-listitem:focus-visible {
8716
- outline: 2px solid var(--color-border-focus);
8717
- outline-offset: -2px;
8526
+ .muka-media-viewer::backdrop {
8527
+ background-color: var(--color-black-alpha-12);
8718
8528
  }
8719
8529
 
8720
- /* Disabled state */
8721
- .muka-listitem--disabled {
8722
- opacity: 0.5;
8723
- cursor: not-allowed;
8724
- pointer-events: none;
8530
+ @keyframes muka-media-viewer-in {
8531
+ from {
8532
+ opacity: 0;
8533
+ }
8534
+ to {
8535
+ opacity: 1;
8536
+ }
8725
8537
  }
8726
8538
 
8727
- .muka-listitem--disabled:hover {
8539
+ /* ─── Chrome: TopBar and footer sit on a surface ──────── */
8540
+ .muka-media-viewer__topbar {
8541
+ flex-shrink: 0;
8728
8542
  background-color: var(--color-surface-level3);
8729
8543
  }
8730
8544
 
8731
- /* Selected state */
8732
- .muka-listitem--selected {
8733
- background-color: var(--color-surface-level2);
8545
+ .muka-media-viewer__live {
8546
+ position: absolute;
8547
+ width: 1px;
8548
+ height: 1px;
8549
+ padding: 0;
8550
+ margin: -1px;
8551
+ overflow: hidden;
8552
+ clip: rect(0, 0, 0, 0);
8553
+ white-space: nowrap;
8554
+ border: 0;
8734
8555
  }
8735
8556
 
8736
- .muka-listitem--selected:hover {
8737
- box-shadow: inset 0 0 0 9999px var(--color-surface-hover);
8557
+ /* ─── Stage: the dark area the images slide across ────── */
8558
+ .muka-media-viewer__stage {
8559
+ position: relative;
8560
+ flex: 1 1 auto;
8561
+ min-height: 0;
8562
+ overflow: hidden;
8563
+ /* Gestures are handled in JS: no browser panning or pinch on the stage. */
8564
+ touch-action: none;
8565
+ user-select: none;
8566
+ -webkit-user-select: none;
8567
+ }
8568
+
8569
+ .muka-media-viewer__slide {
8570
+ position: absolute;
8571
+ inset: 0;
8572
+ display: flex;
8573
+ align-items: center;
8574
+ justify-content: center;
8575
+ padding: var(--spacing-4);
8576
+ transition: transform var(--motion-duration-component) var(--motion-easing-default);
8577
+ will-change: transform;
8578
+ }
8579
+
8580
+ /* While a finger drags, the image follows it without easing. */
8581
+ .muka-media-viewer--dragging .muka-media-viewer__slide {
8582
+ transition: none;
8583
+ }
8584
+
8585
+ .muka-media-viewer__image {
8586
+ display: block;
8587
+ max-width: 100%;
8588
+ max-height: 100%;
8589
+ object-fit: contain;
8590
+ /* The image takes touches, so a long press opens the OS menu (save, share,
8591
+ copy). The swipe still works: pointer events bubble to the stage, and a
8592
+ long press doesn't move far enough to start a drag. */
8593
+ -webkit-touch-callout: default;
8594
+ }
8595
+
8596
+ /* ─── Previous / next: devices that can hover ─────────── */
8597
+ .muka-media-viewer__nav {
8598
+ position: absolute;
8599
+ top: 50%;
8600
+ display: none;
8601
+ transform: translateY(-50%);
8602
+ opacity: 0;
8603
+ transition: opacity var(--motion-duration-micro) var(--motion-easing-enter);
8604
+ }
8605
+
8606
+ .muka-media-viewer__nav--previous {
8607
+ left: var(--spacing-4);
8608
+ }
8609
+
8610
+ .muka-media-viewer__nav--next {
8611
+ right: var(--spacing-4);
8612
+ }
8613
+
8614
+ @media (hover: hover) and (pointer: fine) {
8615
+ .muka-media-viewer__nav {
8616
+ display: block;
8617
+ }
8618
+
8619
+ .muka-media-viewer__stage:hover .muka-media-viewer__nav,
8620
+ .muka-media-viewer__nav:focus-within {
8621
+ opacity: 1;
8622
+ }
8623
+ }
8624
+
8625
+ /* ─── Footer: caption, meta and actions ───────────────── */
8626
+ .muka-media-viewer__footer {
8627
+ flex-shrink: 0;
8628
+ display: flex;
8629
+ flex-direction: column;
8630
+ gap: var(--spacing-3);
8631
+ padding: var(--spacing-4);
8632
+ padding-bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom, 0px));
8633
+ background-color: var(--color-surface-level3);
8634
+ }
8635
+
8636
+ .muka-media-viewer__details {
8637
+ display: flex;
8638
+ align-items: flex-start;
8639
+ justify-content: space-between;
8640
+ gap: var(--spacing-3);
8641
+ }
8642
+
8643
+ .muka-media-viewer__caption {
8644
+ min-width: 0;
8645
+ color: var(--color-text-subtle-default);
8646
+ font-family: var(--text-body-sm-regular-fontFamily);
8647
+ font-size: var(--text-body-sm-regular-fontSize);
8648
+ font-weight: var(--text-body-sm-regular-fontWeight);
8649
+ line-height: var(--text-body-sm-regular-lineHeight);
8650
+ overflow-wrap: anywhere;
8651
+ }
8652
+
8653
+ .muka-media-viewer__meta {
8654
+ flex-shrink: 0;
8655
+ }
8656
+
8657
+ .muka-media-viewer__actions {
8658
+ display: flex;
8659
+ flex-wrap: wrap;
8660
+ gap: var(--spacing-2);
8661
+ }
8662
+
8663
+ /* Mobile: actions stack full width, like Dialog footers. */
8664
+ @media (max-width: 1023px) {
8665
+ .muka-media-viewer__actions {
8666
+ flex-direction: column;
8667
+ }
8668
+
8669
+ .muka-media-viewer__actions > * {
8670
+ width: 100%;
8671
+ }
8672
+ }
8673
+
8674
+ /* ─── Reduced motion ──────────────────────────────────── */
8675
+ @media (prefers-reduced-motion: reduce) {
8676
+ .muka-media-viewer,
8677
+ .muka-media-viewer__slide,
8678
+ .muka-media-viewer__nav {
8679
+ animation: none;
8680
+ transition: none;
8681
+ }
8682
+ }
8683
+
8684
+
8685
+ /* ListItem */
8686
+ /* ListItem Component Styles - Using Muka Design Tokens */
8687
+
8688
+ /* Base list item styles */
8689
+ .muka-listitem {
8690
+ /* Layout */
8691
+ display: flex;
8692
+ align-items: flex-start;
8693
+ gap: var(--spacing-4);
8694
+ padding: var(--spacing-5) var(--spacing-4);
8695
+
8696
+ /* Background - using semantic tokens */
8697
+ background-color: var(--color-surface-level3);
8698
+
8699
+ /* Typography */
8700
+ font-family: var(--alias-font-brand-family);
8701
+
8702
+ /* Border and spacing */
8703
+ border: none;
8704
+ position: relative;
8705
+
8706
+ /* Interaction - only apply if interactive */
8707
+ transition: background-color 0.2s ease, box-shadow 0.2s ease;
8708
+ }
8709
+
8710
+ /* Interactive state */
8711
+ .muka-listitem--interactive {
8712
+ cursor: pointer;
8713
+ }
8714
+
8715
+ /*
8716
+ * surface.hover / surface.pressed are theme-adaptive translucent tints, so they
8717
+ * are layered on top of the item's base surface via an inset box-shadow overlay
8718
+ * rather than replacing background-color. This preserves the base level (level3,
8719
+ * or level2 when selected) and lets the tint read correctly on any surface.
8720
+ */
8721
+ .muka-listitem--interactive:hover:not(:disabled):not(.muka-listitem--disabled) {
8722
+ box-shadow: inset 0 0 0 9999px var(--color-surface-hover);
8723
+ }
8724
+
8725
+ .muka-listitem--interactive:active:not(:disabled):not(.muka-listitem--disabled),
8726
+ .muka-listitem--interactive.muka-listitem--pressed:not(:disabled):not(.muka-listitem--disabled) {
8727
+ box-shadow: inset 0 0 0 9999px var(--color-surface-pressed);
8728
+ }
8729
+
8730
+ /* Focus styles for accessibility */
8731
+ .muka-listitem:focus-visible {
8732
+ outline: 2px solid var(--color-border-focus);
8733
+ outline-offset: -2px;
8734
+ }
8735
+
8736
+ /* Disabled state */
8737
+ .muka-listitem--disabled {
8738
+ opacity: 0.5;
8739
+ cursor: not-allowed;
8740
+ pointer-events: none;
8741
+ }
8742
+
8743
+ .muka-listitem--disabled:hover {
8744
+ background-color: var(--color-surface-level3);
8745
+ }
8746
+
8747
+ /* Selected state */
8748
+ .muka-listitem--selected {
8749
+ background-color: var(--color-surface-level2);
8750
+ }
8751
+
8752
+ .muka-listitem--selected:hover {
8753
+ box-shadow: inset 0 0 0 9999px var(--color-surface-hover);
8738
8754
  }
8739
8755
 
8740
8756
  /* No divider modifier */
@@ -8860,189 +8876,196 @@ li.muka-listitem {
8860
8876
  }
8861
8877
 
8862
8878
 
8863
- /* MediaViewer */
8864
- /* MediaViewer Component Styles - Using Muka Design Tokens */
8879
+ /* LicensePlateInput */
8880
+ /* LicensePlateInput — Dutch RDW-style plate input
8881
+ *
8882
+ * Plate body colors are regulatory (EU/NL) and intentionally fixed:
8883
+ * - Plate yellow: #F0CE3D
8884
+ * - EU strip blue: #003399
8885
+ * - EU stars yellow: #FFCC00
8886
+ * - Plate text: #1A1A1A
8887
+ *
8888
+ * All surrounding UI (label, helper, focus ring, error border) uses Muka tokens.
8889
+ */
8865
8890
 
8866
- /* ─── Native dialog: full viewport ────────────────────── */
8867
- .muka-media-viewer {
8868
- position: fixed;
8869
- inset: 0;
8870
- width: 100%;
8871
- height: 100%;
8872
- max-width: none;
8873
- max-height: none;
8874
- margin: 0;
8875
- padding: 0;
8876
- border: none;
8877
- display: flex;
8891
+ .muka-license-plate-input {
8892
+ --plate-yellow: #f0ce3d;
8893
+ --plate-blue: #003399;
8894
+ --plate-text: #1a1a1a;
8895
+ --plate-stars: #ffcc00;
8896
+
8897
+ display: inline-flex;
8878
8898
  flex-direction: column;
8899
+ gap: var(--spacing-2);
8900
+ }
8901
+
8902
+ /* Plate body */
8903
+ .muka-license-plate-input__plate {
8904
+ display: inline-flex;
8905
+ align-items: stretch;
8906
+ background-color: var(--plate-yellow);
8907
+ border-radius: var(--input-field-radius-md);
8908
+ cursor: text;
8909
+ position: relative;
8879
8910
  overflow: hidden;
8880
- overscroll-behavior: contain;
8881
- color: var(--color-text-default-default);
8882
- background-color: var(--color-black-alpha-12);
8883
- animation: muka-media-viewer-in var(--motion-duration-component) var(--motion-easing-enter);
8911
+ box-sizing: border-box;
8912
+ /* Subtle outline to lift the plate from light backgrounds */
8913
+ box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
8914
+ /* Reserve space for the focus / error solid ring without shifting layout */
8915
+ outline: 3px solid transparent;
8916
+ outline-offset: 2px;
8917
+ transition: outline-color 0.15s ease, opacity 0.15s ease;
8884
8918
  }
8885
8919
 
8886
- .muka-media-viewer:not([open]) {
8887
- display: none;
8920
+ /* Size variants — plate aspect echoes the real RDW plate (~5:1) */
8921
+ .muka-license-plate-input__plate--sm {
8922
+ height: 44px;
8923
+ min-width: 220px;
8924
+ border-radius: var(--input-field-radius-sm);
8888
8925
  }
8889
8926
 
8890
- .muka-media-viewer::backdrop {
8891
- background-color: var(--color-black-alpha-12);
8927
+ .muka-license-plate-input__plate--md {
8928
+ height: 60px;
8929
+ min-width: 300px;
8930
+ border-radius: var(--input-field-radius-md);
8892
8931
  }
8893
8932
 
8894
- @keyframes muka-media-viewer-in {
8895
- from {
8896
- opacity: 0;
8897
- }
8898
- to {
8899
- opacity: 1;
8900
- }
8933
+ .muka-license-plate-input__plate--lg {
8934
+ height: 80px;
8935
+ min-width: 400px;
8936
+ border-radius: var(--input-field-radius-lg);
8901
8937
  }
8902
8938
 
8903
- /* ─── Chrome: TopBar and footer sit on a surface ──────── */
8904
- .muka-media-viewer__topbar {
8905
- flex-shrink: 0;
8906
- background-color: var(--color-surface-level3);
8939
+ /* Focus — solid outline ring */
8940
+ .muka-license-plate-input__plate--focused:not(.muka-license-plate-input__plate--disabled) {
8941
+ outline-color: var(--input-field-color-focus-border);
8907
8942
  }
8908
8943
 
8909
- .muka-media-viewer__live {
8910
- position: absolute;
8911
- width: 1px;
8912
- height: 1px;
8913
- padding: 0;
8914
- margin: -1px;
8915
- overflow: hidden;
8916
- clip: rect(0, 0, 0, 0);
8917
- white-space: nowrap;
8918
- border: 0;
8944
+ /* Error — solid outline ring in error color */
8945
+ .muka-license-plate-input__plate--error:not(.muka-license-plate-input__plate--disabled) {
8946
+ outline-color: var(--input-field-color-error-border);
8919
8947
  }
8920
8948
 
8921
- /* ─── Stage: the dark area the images slide across ────── */
8922
- .muka-media-viewer__stage {
8923
- position: relative;
8924
- flex: 1 1 auto;
8925
- min-height: 0;
8926
- overflow: hidden;
8927
- /* Gestures are handled in JS: no browser panning or pinch on the stage. */
8928
- touch-action: none;
8929
- user-select: none;
8930
- -webkit-user-select: none;
8949
+ /* Disabled */
8950
+ .muka-license-plate-input__plate--disabled {
8951
+ cursor: not-allowed;
8952
+ opacity: 0.55;
8931
8953
  }
8932
8954
 
8933
- .muka-media-viewer__slide {
8934
- position: absolute;
8935
- inset: 0;
8936
- display: flex;
8955
+ /* EU strip */
8956
+ .muka-license-plate-input__eu-strip {
8957
+ display: inline-flex;
8958
+ flex-direction: column;
8937
8959
  align-items: center;
8938
8960
  justify-content: center;
8939
- padding: var(--spacing-4);
8940
- transition: transform var(--motion-duration-component) var(--motion-easing-default);
8941
- will-change: transform;
8961
+ background-color: var(--plate-blue);
8962
+ color: #ffffff;
8963
+ flex-shrink: 0;
8964
+ padding: 0 0.4em;
8965
+ gap: 0.15em;
8966
+ /* Strip width scales with plate height for a consistent ratio */
8967
+ width: 14%;
8968
+ min-width: 36px;
8942
8969
  }
8943
8970
 
8944
- /* While a finger drags, the image follows it without easing. */
8945
- .muka-media-viewer--dragging .muka-media-viewer__slide {
8946
- transition: none;
8971
+ .muka-license-plate-input__eu-stars {
8972
+ width: 60%;
8973
+ max-width: 28px;
8974
+ aspect-ratio: 1 / 1;
8975
+ display: block;
8947
8976
  }
8948
8977
 
8949
- .muka-media-viewer__image {
8950
- display: block;
8951
- max-width: 100%;
8952
- max-height: 100%;
8953
- object-fit: contain;
8954
- /* The image takes touches, so a long press opens the OS menu (save, share,
8955
- copy). The swipe still works: pointer events bubble to the stage, and a
8956
- long press doesn't move far enough to start a drag. */
8957
- -webkit-touch-callout: default;
8978
+ .muka-license-plate-input__plate--sm .muka-license-plate-input__eu-stars {
8979
+ max-width: 20px;
8958
8980
  }
8959
8981
 
8960
- /* ─── Previous / next: devices that can hover ─────────── */
8961
- .muka-media-viewer__nav {
8962
- position: absolute;
8963
- top: 50%;
8964
- display: none;
8965
- transform: translateY(-50%);
8966
- opacity: 0;
8967
- transition: opacity var(--motion-duration-micro) var(--motion-easing-enter);
8982
+ .muka-license-plate-input__plate--lg .muka-license-plate-input__eu-stars {
8983
+ max-width: 36px;
8968
8984
  }
8969
8985
 
8970
- .muka-media-viewer__nav--previous {
8971
- left: var(--spacing-4);
8986
+ .muka-license-plate-input__country-code {
8987
+ font-family:
8988
+ 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
8989
+ font-weight: 700;
8990
+ letter-spacing: 0.04em;
8991
+ line-height: 1;
8992
+ color: #ffffff;
8972
8993
  }
8973
8994
 
8974
- .muka-media-viewer__nav--next {
8975
- right: var(--spacing-4);
8995
+ .muka-license-plate-input__plate--sm .muka-license-plate-input__country-code {
8996
+ font-size: 10px;
8976
8997
  }
8977
8998
 
8978
- @media (hover: hover) and (pointer: fine) {
8979
- .muka-media-viewer__nav {
8980
- display: block;
8981
- }
8999
+ .muka-license-plate-input__plate--md .muka-license-plate-input__country-code {
9000
+ font-size: 13px;
9001
+ }
8982
9002
 
8983
- .muka-media-viewer__stage:hover .muka-media-viewer__nav,
8984
- .muka-media-viewer__nav:focus-within {
8985
- opacity: 1;
8986
- }
9003
+ .muka-license-plate-input__plate--lg .muka-license-plate-input__country-code {
9004
+ font-size: 16px;
8987
9005
  }
8988
9006
 
8989
- /* ─── Footer: caption, meta and actions ───────────────── */
8990
- .muka-media-viewer__footer {
8991
- flex-shrink: 0;
8992
- display: flex;
8993
- flex-direction: column;
8994
- gap: var(--spacing-3);
8995
- padding: var(--spacing-4);
8996
- padding-bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom, 0px));
8997
- background-color: var(--color-surface-level3);
9007
+ /* Native input */
9008
+ .muka-license-plate-input__native {
9009
+ flex: 1;
9010
+ min-width: 0;
9011
+ border: none;
9012
+ outline: none;
9013
+ background: transparent;
9014
+ color: var(--plate-text);
9015
+ text-align: center;
9016
+ text-transform: uppercase;
9017
+ letter-spacing: 0.06em;
9018
+ /* Plate font — bold condensed sans is closest to the FE-Schrift look without
9019
+ shipping a custom font. JetBrains Mono is the system mono brand font. */
9020
+ font-family:
9021
+ 'Arial Narrow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
9022
+ font-weight: 800;
9023
+ padding: 0 0.5em;
9024
+ width: 100%;
9025
+ caret-color: var(--plate-text);
8998
9026
  }
8999
9027
 
9000
- .muka-media-viewer__details {
9001
- display: flex;
9002
- align-items: flex-start;
9003
- justify-content: space-between;
9004
- gap: var(--spacing-3);
9028
+ .muka-license-plate-input__plate--sm .muka-license-plate-input__native {
9029
+ font-size: 22px;
9005
9030
  }
9006
9031
 
9007
- .muka-media-viewer__caption {
9008
- min-width: 0;
9009
- color: var(--color-text-subtle-default);
9010
- font-family: var(--text-body-sm-regular-fontFamily);
9011
- font-size: var(--text-body-sm-regular-fontSize);
9012
- font-weight: var(--text-body-sm-regular-fontWeight);
9013
- line-height: var(--text-body-sm-regular-lineHeight);
9014
- overflow-wrap: anywhere;
9032
+ .muka-license-plate-input__plate--md .muka-license-plate-input__native {
9033
+ font-size: 30px;
9015
9034
  }
9016
9035
 
9017
- .muka-media-viewer__meta {
9018
- flex-shrink: 0;
9036
+ .muka-license-plate-input__plate--lg .muka-license-plate-input__native {
9037
+ font-size: 42px;
9019
9038
  }
9020
9039
 
9021
- .muka-media-viewer__actions {
9022
- display: flex;
9023
- flex-wrap: wrap;
9024
- gap: var(--spacing-2);
9040
+ .muka-license-plate-input__native::placeholder {
9041
+ color: var(--plate-text);
9042
+ opacity: 0.55;
9043
+ font-weight: 700;
9044
+ letter-spacing: 0.08em;
9025
9045
  }
9026
9046
 
9027
- /* Mobile: actions stack full width, like Dialog footers. */
9028
- @media (max-width: 1023px) {
9029
- .muka-media-viewer__actions {
9030
- flex-direction: column;
9031
- }
9047
+ .muka-license-plate-input__plate--disabled .muka-license-plate-input__native {
9048
+ cursor: not-allowed;
9049
+ }
9032
9050
 
9033
- .muka-media-viewer__actions > * {
9034
- width: 100%;
9035
- }
9051
+ /* Helper text */
9052
+ .muka-license-plate-input__helper {
9053
+ font-family: var(--text-label-sm-regular-fontFamily);
9054
+ font-weight: var(--text-label-sm-regular-fontWeight);
9055
+ font-size: var(--text-label-sm-regular-fontSize);
9056
+ line-height: var(--text-label-sm-regular-lineHeight);
9057
+ color: var(--color-text-subtle-default);
9058
+ margin: 0;
9036
9059
  }
9037
9060
 
9038
- /* ─── Reduced motion ──────────────────────────────────── */
9039
- @media (prefers-reduced-motion: reduce) {
9040
- .muka-media-viewer,
9041
- .muka-media-viewer__slide,
9042
- .muka-media-viewer__nav {
9043
- animation: none;
9044
- transition: none;
9045
- }
9061
+ /* Error message */
9062
+ .muka-license-plate-input__error {
9063
+ font-family: var(--text-label-sm-regular-fontFamily);
9064
+ font-weight: var(--text-label-sm-regular-fontWeight);
9065
+ font-size: var(--text-label-sm-regular-fontSize);
9066
+ line-height: var(--text-label-sm-regular-lineHeight);
9067
+ color: var(--color-state-error-default);
9068
+ margin: 0;
9046
9069
  }
9047
9070
 
9048
9071
 
@@ -9265,199 +9288,6 @@ li.muka-listitem {
9265
9288
  }
9266
9289
 
9267
9290
 
9268
- /* LicensePlateInput */
9269
- /* LicensePlateInput — Dutch RDW-style plate input
9270
- *
9271
- * Plate body colors are regulatory (EU/NL) and intentionally fixed:
9272
- * - Plate yellow: #F0CE3D
9273
- * - EU strip blue: #003399
9274
- * - EU stars yellow: #FFCC00
9275
- * - Plate text: #1A1A1A
9276
- *
9277
- * All surrounding UI (label, helper, focus ring, error border) uses Muka tokens.
9278
- */
9279
-
9280
- .muka-license-plate-input {
9281
- --plate-yellow: #f0ce3d;
9282
- --plate-blue: #003399;
9283
- --plate-text: #1a1a1a;
9284
- --plate-stars: #ffcc00;
9285
-
9286
- display: inline-flex;
9287
- flex-direction: column;
9288
- gap: var(--spacing-2);
9289
- }
9290
-
9291
- /* Plate body */
9292
- .muka-license-plate-input__plate {
9293
- display: inline-flex;
9294
- align-items: stretch;
9295
- background-color: var(--plate-yellow);
9296
- border-radius: var(--input-field-radius-md);
9297
- cursor: text;
9298
- position: relative;
9299
- overflow: hidden;
9300
- box-sizing: border-box;
9301
- /* Subtle outline to lift the plate from light backgrounds */
9302
- box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
9303
- /* Reserve space for the focus / error solid ring without shifting layout */
9304
- outline: 3px solid transparent;
9305
- outline-offset: 2px;
9306
- transition: outline-color 0.15s ease, opacity 0.15s ease;
9307
- }
9308
-
9309
- /* Size variants — plate aspect echoes the real RDW plate (~5:1) */
9310
- .muka-license-plate-input__plate--sm {
9311
- height: 44px;
9312
- min-width: 220px;
9313
- border-radius: var(--input-field-radius-sm);
9314
- }
9315
-
9316
- .muka-license-plate-input__plate--md {
9317
- height: 60px;
9318
- min-width: 300px;
9319
- border-radius: var(--input-field-radius-md);
9320
- }
9321
-
9322
- .muka-license-plate-input__plate--lg {
9323
- height: 80px;
9324
- min-width: 400px;
9325
- border-radius: var(--input-field-radius-lg);
9326
- }
9327
-
9328
- /* Focus — solid outline ring */
9329
- .muka-license-plate-input__plate--focused:not(.muka-license-plate-input__plate--disabled) {
9330
- outline-color: var(--input-field-color-focus-border);
9331
- }
9332
-
9333
- /* Error — solid outline ring in error color */
9334
- .muka-license-plate-input__plate--error:not(.muka-license-plate-input__plate--disabled) {
9335
- outline-color: var(--input-field-color-error-border);
9336
- }
9337
-
9338
- /* Disabled */
9339
- .muka-license-plate-input__plate--disabled {
9340
- cursor: not-allowed;
9341
- opacity: 0.55;
9342
- }
9343
-
9344
- /* EU strip */
9345
- .muka-license-plate-input__eu-strip {
9346
- display: inline-flex;
9347
- flex-direction: column;
9348
- align-items: center;
9349
- justify-content: center;
9350
- background-color: var(--plate-blue);
9351
- color: #ffffff;
9352
- flex-shrink: 0;
9353
- padding: 0 0.4em;
9354
- gap: 0.15em;
9355
- /* Strip width scales with plate height for a consistent ratio */
9356
- width: 14%;
9357
- min-width: 36px;
9358
- }
9359
-
9360
- .muka-license-plate-input__eu-stars {
9361
- width: 60%;
9362
- max-width: 28px;
9363
- aspect-ratio: 1 / 1;
9364
- display: block;
9365
- }
9366
-
9367
- .muka-license-plate-input__plate--sm .muka-license-plate-input__eu-stars {
9368
- max-width: 20px;
9369
- }
9370
-
9371
- .muka-license-plate-input__plate--lg .muka-license-plate-input__eu-stars {
9372
- max-width: 36px;
9373
- }
9374
-
9375
- .muka-license-plate-input__country-code {
9376
- font-family:
9377
- 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
9378
- font-weight: 700;
9379
- letter-spacing: 0.04em;
9380
- line-height: 1;
9381
- color: #ffffff;
9382
- }
9383
-
9384
- .muka-license-plate-input__plate--sm .muka-license-plate-input__country-code {
9385
- font-size: 10px;
9386
- }
9387
-
9388
- .muka-license-plate-input__plate--md .muka-license-plate-input__country-code {
9389
- font-size: 13px;
9390
- }
9391
-
9392
- .muka-license-plate-input__plate--lg .muka-license-plate-input__country-code {
9393
- font-size: 16px;
9394
- }
9395
-
9396
- /* Native input */
9397
- .muka-license-plate-input__native {
9398
- flex: 1;
9399
- min-width: 0;
9400
- border: none;
9401
- outline: none;
9402
- background: transparent;
9403
- color: var(--plate-text);
9404
- text-align: center;
9405
- text-transform: uppercase;
9406
- letter-spacing: 0.06em;
9407
- /* Plate font — bold condensed sans is closest to the FE-Schrift look without
9408
- shipping a custom font. JetBrains Mono is the system mono brand font. */
9409
- font-family:
9410
- 'Arial Narrow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
9411
- font-weight: 800;
9412
- padding: 0 0.5em;
9413
- width: 100%;
9414
- caret-color: var(--plate-text);
9415
- }
9416
-
9417
- .muka-license-plate-input__plate--sm .muka-license-plate-input__native {
9418
- font-size: 22px;
9419
- }
9420
-
9421
- .muka-license-plate-input__plate--md .muka-license-plate-input__native {
9422
- font-size: 30px;
9423
- }
9424
-
9425
- .muka-license-plate-input__plate--lg .muka-license-plate-input__native {
9426
- font-size: 42px;
9427
- }
9428
-
9429
- .muka-license-plate-input__native::placeholder {
9430
- color: var(--plate-text);
9431
- opacity: 0.55;
9432
- font-weight: 700;
9433
- letter-spacing: 0.08em;
9434
- }
9435
-
9436
- .muka-license-plate-input__plate--disabled .muka-license-plate-input__native {
9437
- cursor: not-allowed;
9438
- }
9439
-
9440
- /* Helper text */
9441
- .muka-license-plate-input__helper {
9442
- font-family: var(--text-label-sm-regular-fontFamily);
9443
- font-weight: var(--text-label-sm-regular-fontWeight);
9444
- font-size: var(--text-label-sm-regular-fontSize);
9445
- line-height: var(--text-label-sm-regular-lineHeight);
9446
- color: var(--color-text-subtle-default);
9447
- margin: 0;
9448
- }
9449
-
9450
- /* Error message */
9451
- .muka-license-plate-input__error {
9452
- font-family: var(--text-label-sm-regular-fontFamily);
9453
- font-weight: var(--text-label-sm-regular-fontWeight);
9454
- font-size: var(--text-label-sm-regular-fontSize);
9455
- line-height: var(--text-label-sm-regular-lineHeight);
9456
- color: var(--color-state-error-default);
9457
- margin: 0;
9458
- }
9459
-
9460
-
9461
9291
  /* Input */
9462
9292
  /* Input Component Styles - Using Muka Design Tokens */
9463
9293
 
@@ -9707,35 +9537,89 @@ li.muka-listitem {
9707
9537
  color: var(--input-field-color-disabled-foreground);
9708
9538
  }
9709
9539
 
9710
- .muka-input__icon svg {
9711
- width: 100%;
9712
- height: 100%;
9540
+ .muka-input__icon svg {
9541
+ width: 100%;
9542
+ height: 100%;
9543
+ }
9544
+
9545
+ .muka-input__native::-webkit-search-cancel-button,
9546
+ .muka-input__native::-webkit-search-decoration {
9547
+ -webkit-appearance: none;
9548
+ appearance: none;
9549
+ }
9550
+
9551
+ /* Helper text */
9552
+ .muka-input__helper {
9553
+ font-family: var(--text-label-sm-regular-fontFamily);
9554
+ font-weight: var(--text-label-sm-regular-fontWeight);
9555
+ font-size: var(--text-label-sm-regular-fontSize);
9556
+ line-height: var(--text-label-sm-regular-lineHeight);
9557
+ color: var(--color-text-subtle-default);
9558
+ margin: 0;
9559
+ }
9560
+
9561
+ /* Error message */
9562
+ .muka-input__error {
9563
+ font-family: var(--text-label-sm-regular-fontFamily);
9564
+ font-weight: var(--text-label-sm-regular-fontWeight);
9565
+ font-size: var(--text-label-sm-regular-fontSize);
9566
+ line-height: var(--text-label-sm-regular-lineHeight);
9567
+ color: var(--color-state-error-default);
9568
+ margin: 0;
9569
+ }
9570
+
9571
+
9572
+ /* Icon */
9573
+ /* Icon Component Styles - Using Muka Design Tokens */
9574
+
9575
+ .muka-icon {
9576
+ display: inline-flex;
9577
+ align-items: center;
9578
+ justify-content: center;
9579
+ flex-shrink: 0;
9580
+ color: var(--color-icon-default-default, currentColor);
9581
+ }
9582
+
9583
+ /* Icons inside buttons should inherit from button's foreground color */
9584
+ .muka-button .muka-icon {
9585
+ color: inherit;
9586
+ }
9587
+
9588
+ .muka-icon--subtle {
9589
+ color: var(--color-icon-subtle-default);
9590
+ }
9591
+
9592
+ .muka-icon--muted {
9593
+ color: var(--color-icon-muted-default);
9594
+ }
9595
+
9596
+ .muka-icon--inverse {
9597
+ color: var(--color-icon-default-inverse);
9598
+ }
9599
+
9600
+ .muka-icon--xs {
9601
+ width: var(--icon-size-xs);
9602
+ height: var(--icon-size-xs);
9603
+ }
9604
+
9605
+ .muka-icon--sm {
9606
+ width: var(--icon-size-sm);
9607
+ height: var(--icon-size-sm);
9713
9608
  }
9714
9609
 
9715
- .muka-input__native::-webkit-search-cancel-button,
9716
- .muka-input__native::-webkit-search-decoration {
9717
- -webkit-appearance: none;
9718
- appearance: none;
9610
+ .muka-icon--md {
9611
+ width: var(--icon-size-default);
9612
+ height: var(--icon-size-default);
9719
9613
  }
9720
9614
 
9721
- /* Helper text */
9722
- .muka-input__helper {
9723
- font-family: var(--text-label-sm-regular-fontFamily);
9724
- font-weight: var(--text-label-sm-regular-fontWeight);
9725
- font-size: var(--text-label-sm-regular-fontSize);
9726
- line-height: var(--text-label-sm-regular-lineHeight);
9727
- color: var(--color-text-subtle-default);
9728
- margin: 0;
9615
+ .muka-icon--lg {
9616
+ width: var(--icon-size-lg);
9617
+ height: var(--icon-size-lg);
9729
9618
  }
9730
9619
 
9731
- /* Error message */
9732
- .muka-input__error {
9733
- font-family: var(--text-label-sm-regular-fontFamily);
9734
- font-weight: var(--text-label-sm-regular-fontWeight);
9735
- font-size: var(--text-label-sm-regular-fontSize);
9736
- line-height: var(--text-label-sm-regular-lineHeight);
9737
- color: var(--color-state-error-default);
9738
- margin: 0;
9620
+ .muka-icon svg {
9621
+ width: 100%;
9622
+ height: 100%;
9739
9623
  }
9740
9624
 
9741
9625
 
@@ -10021,60 +9905,6 @@ li.muka-listitem {
10021
9905
  }
10022
9906
 
10023
9907
 
10024
- /* Icon */
10025
- /* Icon Component Styles - Using Muka Design Tokens */
10026
-
10027
- .muka-icon {
10028
- display: inline-flex;
10029
- align-items: center;
10030
- justify-content: center;
10031
- flex-shrink: 0;
10032
- color: var(--color-icon-default-default, currentColor);
10033
- }
10034
-
10035
- /* Icons inside buttons should inherit from button's foreground color */
10036
- .muka-button .muka-icon {
10037
- color: inherit;
10038
- }
10039
-
10040
- .muka-icon--subtle {
10041
- color: var(--color-icon-subtle-default);
10042
- }
10043
-
10044
- .muka-icon--muted {
10045
- color: var(--color-icon-muted-default);
10046
- }
10047
-
10048
- .muka-icon--inverse {
10049
- color: var(--color-icon-default-inverse);
10050
- }
10051
-
10052
- .muka-icon--xs {
10053
- width: var(--icon-size-xs);
10054
- height: var(--icon-size-xs);
10055
- }
10056
-
10057
- .muka-icon--sm {
10058
- width: var(--icon-size-sm);
10059
- height: var(--icon-size-sm);
10060
- }
10061
-
10062
- .muka-icon--md {
10063
- width: var(--icon-size-default);
10064
- height: var(--icon-size-default);
10065
- }
10066
-
10067
- .muka-icon--lg {
10068
- width: var(--icon-size-lg);
10069
- height: var(--icon-size-lg);
10070
- }
10071
-
10072
- .muka-icon svg {
10073
- width: 100%;
10074
- height: 100%;
10075
- }
10076
-
10077
-
10078
9908
  /* FAB */
10079
9909
  /* FAB (Floating Action Button) Component Styles */
10080
9910
 
@@ -10357,6 +10187,28 @@ li.muka-listitem {
10357
10187
  }
10358
10188
 
10359
10189
 
10190
+ /* EmojiPicker */
10191
+ /* EmojiPicker Component Styles */
10192
+
10193
+ .muka-emoji-picker {
10194
+ display: grid;
10195
+ grid-template-columns: repeat(8, 1fr);
10196
+ gap: var(--spacing-1);
10197
+ padding: var(--spacing-2);
10198
+ max-height: 12rem;
10199
+ overflow-y: auto;
10200
+ background: var(--color-surface-level2);
10201
+ border: var(--border-width-regular, 1px) solid var(--color-border-default);
10202
+ border-radius: var(--radius-lg);
10203
+ box-shadow: var(--menu-content-shadow, 0 4px 12px rgba(0, 0, 0, 0.12));
10204
+ }
10205
+
10206
+ .muka-emoji-picker__glyph {
10207
+ font-size: 1.25rem;
10208
+ line-height: 1;
10209
+ }
10210
+
10211
+
10360
10212
  /* DropdownSelect */
10361
10213
  /* DropdownSelect — Figma Dropdown Menu form field (Menu + chips) */
10362
10214
 
@@ -10585,28 +10437,6 @@ li.muka-listitem {
10585
10437
  }
10586
10438
 
10587
10439
 
10588
- /* EmojiPicker */
10589
- /* EmojiPicker Component Styles */
10590
-
10591
- .muka-emoji-picker {
10592
- display: grid;
10593
- grid-template-columns: repeat(8, 1fr);
10594
- gap: var(--spacing-1);
10595
- padding: var(--spacing-2);
10596
- max-height: 12rem;
10597
- overflow-y: auto;
10598
- background: var(--color-surface-level2);
10599
- border: var(--border-width-regular, 1px) solid var(--color-border-default);
10600
- border-radius: var(--radius-lg);
10601
- box-shadow: var(--menu-content-shadow, 0 4px 12px rgba(0, 0, 0, 0.12));
10602
- }
10603
-
10604
- .muka-emoji-picker__glyph {
10605
- font-size: 1.25rem;
10606
- line-height: 1;
10607
- }
10608
-
10609
-
10610
10440
  /* Drawer */
10611
10441
  /* Drawer Component Styles */
10612
10442
 
@@ -12346,13 +12176,16 @@ li.muka-listitem {
12346
12176
  }
12347
12177
 
12348
12178
  /* Tighter trailing padding when the dismiss button is present */
12349
- .muka-chip--sm.muka-chip--dismissible {
12179
+ .muka-chip--sm.muka-chip--dismissible,
12180
+ .muka-chip--sm.muka-chip--expandable {
12350
12181
  padding-right: var(--chip-padding-trailing-sm);
12351
12182
  }
12352
- .muka-chip--md.muka-chip--dismissible {
12183
+ .muka-chip--md.muka-chip--dismissible,
12184
+ .muka-chip--md.muka-chip--expandable {
12353
12185
  padding-right: var(--chip-padding-trailing-md);
12354
12186
  }
12355
- .muka-chip--lg.muka-chip--dismissible {
12187
+ .muka-chip--lg.muka-chip--dismissible,
12188
+ .muka-chip--lg.muka-chip--expandable {
12356
12189
  padding-right: var(--chip-padding-trailing-lg);
12357
12190
  }
12358
12191
 
@@ -12400,8 +12233,9 @@ li.muka-listitem {
12400
12233
  line-height: normal;
12401
12234
  }
12402
12235
 
12403
- /* Dismiss button — circular hit area. Figma circle sizes: sm 20, md 24, lg 32 */
12404
- .muka-chip__remove {
12236
+ /* Trailing button (dismiss or expand) — circular. Figma circle sizes: sm 20, md 24, lg 32 */
12237
+ .muka-chip__remove,
12238
+ .muka-chip__expand {
12405
12239
  display: inline-flex;
12406
12240
  align-items: center;
12407
12241
  justify-content: center;
@@ -12414,15 +12248,18 @@ li.muka-listitem {
12414
12248
  transition: background-color 0.15s ease, color 0.15s ease;
12415
12249
  }
12416
12250
 
12417
- .muka-chip--sm .muka-chip__remove {
12251
+ .muka-chip--sm .muka-chip__remove,
12252
+ .muka-chip--sm .muka-chip__expand {
12418
12253
  width: var(--icon-size-sm);
12419
12254
  height: var(--icon-size-sm);
12420
12255
  }
12421
- .muka-chip--md .muka-chip__remove {
12256
+ .muka-chip--md .muka-chip__remove,
12257
+ .muka-chip--md .muka-chip__expand {
12422
12258
  width: var(--icon-size-default);
12423
12259
  height: var(--icon-size-default);
12424
12260
  }
12425
- .muka-chip--lg .muka-chip__remove {
12261
+ .muka-chip--lg .muka-chip__remove,
12262
+ .muka-chip--lg .muka-chip__expand {
12426
12263
  width: var(--icon-size-lg);
12427
12264
  height: var(--icon-size-lg);
12428
12265
  }
@@ -12432,72 +12269,117 @@ li.muka-listitem {
12432
12269
  outline-offset: 2px;
12433
12270
  }
12434
12271
 
12272
+ /*
12273
+ * Expandable chip (Figma "Chip/Trailing Expand"): the whole chip is one button,
12274
+ * typically a menu trigger. Hovering or pressing anywhere on it drives the
12275
+ * chevron's hover / pressed steps; an open menu (aria-expanded) shows pressed,
12276
+ * like Button's open state.
12277
+ */
12278
+ .muka-chip--expandable {
12279
+ margin: 0;
12280
+ text-align: inherit;
12281
+ cursor: pointer;
12282
+ }
12283
+
12284
+ .muka-chip--expandable:focus-visible {
12285
+ outline: 2px solid var(--color-border-focus);
12286
+ outline-offset: 2px;
12287
+ }
12288
+
12289
+ .muka-chip--expandable:disabled {
12290
+ cursor: not-allowed;
12291
+ }
12292
+
12293
+ .muka-chip__expand {
12294
+ pointer-events: none;
12295
+ }
12296
+
12435
12297
  /*
12436
12298
  * Dismiss button colors — state-tinted per chip variant, with default / hover /
12437
12299
  * pressed steps. Values come from T4 chip.dismiss.* tokens, which reference the
12438
12300
  * brand-specific alias state-surface ramp. The ✕ (.muka-icon) inherits `color`.
12439
12301
  */
12440
- .muka-chip--default .muka-chip__remove {
12302
+ .muka-chip--default .muka-chip__remove,
12303
+ .muka-chip--default .muka-chip__expand {
12441
12304
  background-color: var(--chip-dismiss-default-background-default);
12442
12305
  color: var(--chip-dismiss-default-foreground-default);
12443
12306
  }
12444
- .muka-chip--default .muka-chip__remove:hover {
12307
+ .muka-chip--default .muka-chip__remove:hover,
12308
+ .muka-chip--default.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
12445
12309
  background-color: var(--chip-dismiss-default-background-hover);
12446
12310
  color: var(--chip-dismiss-default-foreground-hover);
12447
12311
  }
12448
- .muka-chip--default .muka-chip__remove:active {
12312
+ .muka-chip--default .muka-chip__remove:active,
12313
+ .muka-chip--default.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
12314
+ .muka-chip--default.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
12449
12315
  background-color: var(--chip-dismiss-default-background-pressed);
12450
12316
  color: var(--chip-dismiss-default-foreground-pressed);
12451
12317
  }
12452
12318
 
12453
- .muka-chip--success .muka-chip__remove {
12319
+ .muka-chip--success .muka-chip__remove,
12320
+ .muka-chip--success .muka-chip__expand {
12454
12321
  background-color: var(--chip-dismiss-success-background-default);
12455
12322
  color: var(--chip-dismiss-success-foreground-default);
12456
12323
  }
12457
- .muka-chip--success .muka-chip__remove:hover {
12324
+ .muka-chip--success .muka-chip__remove:hover,
12325
+ .muka-chip--success.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
12458
12326
  background-color: var(--chip-dismiss-success-background-hover);
12459
12327
  color: var(--chip-dismiss-success-foreground-hover);
12460
12328
  }
12461
- .muka-chip--success .muka-chip__remove:active {
12329
+ .muka-chip--success .muka-chip__remove:active,
12330
+ .muka-chip--success.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
12331
+ .muka-chip--success.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
12462
12332
  background-color: var(--chip-dismiss-success-background-pressed);
12463
12333
  color: var(--chip-dismiss-success-foreground-pressed);
12464
12334
  }
12465
12335
 
12466
- .muka-chip--warning .muka-chip__remove {
12336
+ .muka-chip--warning .muka-chip__remove,
12337
+ .muka-chip--warning .muka-chip__expand {
12467
12338
  background-color: var(--chip-dismiss-warning-background-default);
12468
12339
  color: var(--chip-dismiss-warning-foreground-default);
12469
12340
  }
12470
- .muka-chip--warning .muka-chip__remove:hover {
12341
+ .muka-chip--warning .muka-chip__remove:hover,
12342
+ .muka-chip--warning.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
12471
12343
  background-color: var(--chip-dismiss-warning-background-hover);
12472
12344
  color: var(--chip-dismiss-warning-foreground-hover);
12473
12345
  }
12474
- .muka-chip--warning .muka-chip__remove:active {
12346
+ .muka-chip--warning .muka-chip__remove:active,
12347
+ .muka-chip--warning.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
12348
+ .muka-chip--warning.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
12475
12349
  background-color: var(--chip-dismiss-warning-background-pressed);
12476
12350
  color: var(--chip-dismiss-warning-foreground-pressed);
12477
12351
  }
12478
12352
 
12479
- .muka-chip--error .muka-chip__remove {
12353
+ .muka-chip--error .muka-chip__remove,
12354
+ .muka-chip--error .muka-chip__expand {
12480
12355
  background-color: var(--chip-dismiss-error-background-default);
12481
12356
  color: var(--chip-dismiss-error-foreground-default);
12482
12357
  }
12483
- .muka-chip--error .muka-chip__remove:hover {
12358
+ .muka-chip--error .muka-chip__remove:hover,
12359
+ .muka-chip--error.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
12484
12360
  background-color: var(--chip-dismiss-error-background-hover);
12485
12361
  color: var(--chip-dismiss-error-foreground-hover);
12486
12362
  }
12487
- .muka-chip--error .muka-chip__remove:active {
12363
+ .muka-chip--error .muka-chip__remove:active,
12364
+ .muka-chip--error.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
12365
+ .muka-chip--error.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
12488
12366
  background-color: var(--chip-dismiss-error-background-pressed);
12489
12367
  color: var(--chip-dismiss-error-foreground-pressed);
12490
12368
  }
12491
12369
 
12492
- .muka-chip--info .muka-chip__remove {
12370
+ .muka-chip--info .muka-chip__remove,
12371
+ .muka-chip--info .muka-chip__expand {
12493
12372
  background-color: var(--chip-dismiss-info-background-default);
12494
12373
  color: var(--chip-dismiss-info-foreground-default);
12495
12374
  }
12496
- .muka-chip--info .muka-chip__remove:hover {
12375
+ .muka-chip--info .muka-chip__remove:hover,
12376
+ .muka-chip--info.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
12497
12377
  background-color: var(--chip-dismiss-info-background-hover);
12498
12378
  color: var(--chip-dismiss-info-foreground-hover);
12499
12379
  }
12500
- .muka-chip--info .muka-chip__remove:active {
12380
+ .muka-chip--info .muka-chip__remove:active,
12381
+ .muka-chip--info.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
12382
+ .muka-chip--info.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
12501
12383
  background-color: var(--chip-dismiss-info-background-pressed);
12502
12384
  color: var(--chip-dismiss-info-foreground-pressed);
12503
12385
  }
@@ -14686,19 +14568,127 @@ button.muka-chat-photo-grid__tile:focus-visible {
14686
14568
  padding: 0;
14687
14569
  }
14688
14570
 
14689
- .muka-bottombar--desktop-topnav.muka-bottombar--floating .muka-bottombar__content {
14690
- background-color: transparent;
14691
- border-radius: 0;
14692
- box-shadow: none;
14693
- }
14571
+ .muka-bottombar--desktop-topnav.muka-bottombar--floating .muka-bottombar__content {
14572
+ background-color: transparent;
14573
+ border-radius: 0;
14574
+ box-shadow: none;
14575
+ }
14576
+ }
14577
+
14578
+ /* ─── Print ────────────────────────────────────────────── */
14579
+
14580
+ @media print {
14581
+ .muka-bottombar {
14582
+ display: none;
14583
+ }
14584
+ }
14585
+
14586
+
14587
+ /* BadgeNumber */
14588
+ /* BadgeNumber Component Styles - Using Muka Design Tokens */
14589
+
14590
+ .muka-badge-number {
14591
+ display: inline-flex;
14592
+ align-items: center;
14593
+ justify-content: center;
14594
+ border-radius: var(--border-radius-full);
14595
+ white-space: nowrap;
14596
+ user-select: none;
14597
+ box-sizing: border-box;
14598
+ }
14599
+
14600
+ /*
14601
+ * Sizes — fixed height, matching min-width (so a single digit renders as a
14602
+ * circle), horizontal padding, and bold label typography. Vertical centering
14603
+ * is handled by the fixed height + align-items: center.
14604
+ */
14605
+ .muka-badge-number--2xs {
14606
+ height: var(--badge-number-size-2xs);
14607
+ min-width: var(--badge-number-size-2xs);
14608
+ padding: 0 var(--badge-number-padding-2xs);
14609
+ font-family: var(--text-label-xs-bold-fontFamily);
14610
+ font-weight: var(--text-label-xs-bold-fontWeight);
14611
+ font-size: var(--text-label-xs-bold-fontSize);
14612
+ line-height: var(--text-label-xs-bold-lineHeight);
14613
+ }
14614
+
14615
+ .muka-badge-number--xs {
14616
+ height: var(--badge-number-size-xs);
14617
+ min-width: var(--badge-number-size-xs);
14618
+ padding: 0 var(--badge-number-padding-xs);
14619
+ font-family: var(--text-label-sm-bold-fontFamily);
14620
+ font-weight: var(--text-label-sm-bold-fontWeight);
14621
+ font-size: var(--text-label-sm-bold-fontSize);
14622
+ line-height: var(--text-label-sm-bold-lineHeight);
14623
+ }
14624
+
14625
+ .muka-badge-number--sm {
14626
+ height: var(--badge-number-size-sm);
14627
+ min-width: var(--badge-number-size-sm);
14628
+ padding: 0 var(--badge-number-padding-sm);
14629
+ font-family: var(--text-label-md-bold-fontFamily);
14630
+ font-weight: var(--text-label-md-bold-fontWeight);
14631
+ font-size: var(--text-label-md-bold-fontSize);
14632
+ line-height: var(--text-label-md-bold-lineHeight);
14633
+ }
14634
+
14635
+ .muka-badge-number--md {
14636
+ height: var(--badge-number-size-md);
14637
+ min-width: var(--badge-number-size-md);
14638
+ padding: 0 var(--badge-number-padding-md);
14639
+ font-family: var(--text-label-lg-bold-fontFamily);
14640
+ font-weight: var(--text-label-lg-bold-fontWeight);
14641
+ font-size: var(--text-label-lg-bold-fontSize);
14642
+ line-height: var(--text-label-lg-bold-lineHeight);
14643
+ }
14644
+
14645
+ .muka-badge-number--lg {
14646
+ height: var(--badge-number-size-lg);
14647
+ min-width: var(--badge-number-size-lg);
14648
+ padding: 0 var(--badge-number-padding-lg);
14649
+ font-family: var(--text-label-2xl-bold-fontFamily);
14650
+ font-weight: var(--text-label-2xl-bold-fontWeight);
14651
+ font-size: var(--text-label-2xl-bold-fontSize);
14652
+ line-height: var(--text-label-2xl-bold-lineHeight);
14653
+ }
14654
+
14655
+ .muka-badge-number__label {
14656
+ /*
14657
+ * The badge sets a tight line-height for compact sizing, which would clip
14658
+ * glyph descenders; give the label a roomier line-height. Vertical centering
14659
+ * is unaffected because the badge height is fixed and content is centered.
14660
+ */
14661
+ line-height: normal;
14662
+ }
14663
+
14664
+ /* Neutral variant */
14665
+ .muka-badge-number--neutral {
14666
+ background-color: var(--color-surface-level1);
14667
+ color: var(--color-text-default-default);
14668
+ }
14669
+
14670
+ /* Info variant */
14671
+ .muka-badge-number--info {
14672
+ background-color: var(--color-state-info-contrast);
14673
+ color: var(--color-text-default-inverse);
14674
+ }
14675
+
14676
+ /* Success variant */
14677
+ .muka-badge-number--success {
14678
+ background-color: var(--color-state-success-contrast);
14679
+ color: var(--color-text-default-inverse);
14694
14680
  }
14695
14681
 
14696
- /* ─── Print ────────────────────────────────────────────── */
14682
+ /* Warning variant */
14683
+ .muka-badge-number--warning {
14684
+ background-color: var(--color-state-warning-contrast);
14685
+ color: var(--color-text-default-inverse);
14686
+ }
14697
14687
 
14698
- @media print {
14699
- .muka-bottombar {
14700
- display: none;
14701
- }
14688
+ /* Error variant */
14689
+ .muka-badge-number--error {
14690
+ background-color: var(--color-state-error-contrast);
14691
+ color: var(--color-text-default-inverse);
14702
14692
  }
14703
14693
 
14704
14694
 
@@ -16080,110 +16070,188 @@ button.muka-chat-photo-grid__tile:focus-visible {
16080
16070
  }
16081
16071
 
16082
16072
 
16083
- /* BadgeNumber */
16084
- /* BadgeNumber Component Styles - Using Muka Design Tokens */
16073
+ /* SwipeActions */
16074
+ /* SwipeActions Component Styles */
16085
16075
 
16086
- .muka-badge-number {
16087
- display: inline-flex;
16088
- align-items: center;
16089
- justify-content: center;
16090
- border-radius: var(--border-radius-full);
16091
- white-space: nowrap;
16076
+ .muka-swipe-actions {
16077
+ position: relative;
16078
+ overflow: hidden;
16079
+ touch-action: pan-y;
16080
+ -webkit-user-select: none;
16092
16081
  user-select: none;
16093
- box-sizing: border-box;
16082
+ background-color: var(--color-surface-level3);
16094
16083
  }
16095
16084
 
16096
- /*
16097
- * Sizes — fixed height, matching min-width (so a single digit renders as a
16098
- * circle), horizontal padding, and bold label typography. Vertical centering
16099
- * is handled by the fixed height + align-items: center.
16100
- */
16101
- .muka-badge-number--2xs {
16102
- height: var(--badge-number-size-2xs);
16103
- min-width: var(--badge-number-size-2xs);
16104
- padding: 0 var(--badge-number-padding-2xs);
16105
- font-family: var(--text-label-xs-bold-fontFamily);
16106
- font-weight: var(--text-label-xs-bold-fontWeight);
16107
- font-size: var(--text-label-xs-bold-fontSize);
16108
- line-height: var(--text-label-xs-bold-lineHeight);
16085
+ .muka-swipe-actions--disabled {
16086
+ touch-action: auto;
16109
16087
  }
16110
16088
 
16111
- .muka-badge-number--xs {
16112
- height: var(--badge-number-size-xs);
16113
- min-width: var(--badge-number-size-xs);
16114
- padding: 0 var(--badge-number-padding-xs);
16115
- font-family: var(--text-label-sm-bold-fontFamily);
16116
- font-weight: var(--text-label-sm-bold-fontWeight);
16117
- font-size: var(--text-label-sm-bold-fontSize);
16118
- line-height: var(--text-label-sm-bold-lineHeight);
16089
+ /* ─── Row that holds the actual content ────────────────── */
16090
+
16091
+ .muka-swipe-actions__row {
16092
+ position: relative;
16093
+ z-index: 1;
16094
+ background-color: inherit;
16095
+ will-change: transform;
16119
16096
  }
16120
16097
 
16121
- .muka-badge-number--sm {
16122
- height: var(--badge-number-size-sm);
16123
- min-width: var(--badge-number-size-sm);
16124
- padding: 0 var(--badge-number-padding-sm);
16125
- font-family: var(--text-label-md-bold-fontFamily);
16126
- font-weight: var(--text-label-md-bold-fontWeight);
16127
- font-size: var(--text-label-md-bold-fontSize);
16128
- line-height: var(--text-label-md-bold-lineHeight);
16098
+ /* ─── Action panels — sit beneath the row ──────────────── */
16099
+
16100
+ .muka-swipe-actions__panel {
16101
+ position: absolute;
16102
+ top: 0;
16103
+ bottom: 0;
16104
+ display: flex;
16105
+ align-items: stretch;
16106
+ z-index: 0;
16129
16107
  }
16130
16108
 
16131
- .muka-badge-number--md {
16132
- height: var(--badge-number-size-md);
16133
- min-width: var(--badge-number-size-md);
16134
- padding: 0 var(--badge-number-padding-md);
16135
- font-family: var(--text-label-lg-bold-fontFamily);
16136
- font-weight: var(--text-label-lg-bold-fontWeight);
16137
- font-size: var(--text-label-lg-bold-fontSize);
16138
- line-height: var(--text-label-lg-bold-lineHeight);
16109
+ .muka-swipe-actions__panel--left {
16110
+ left: 0;
16139
16111
  }
16140
16112
 
16141
- .muka-badge-number--lg {
16142
- height: var(--badge-number-size-lg);
16143
- min-width: var(--badge-number-size-lg);
16144
- padding: 0 var(--badge-number-padding-lg);
16145
- font-family: var(--text-label-2xl-bold-fontFamily);
16146
- font-weight: var(--text-label-2xl-bold-fontWeight);
16147
- font-size: var(--text-label-2xl-bold-fontSize);
16148
- line-height: var(--text-label-2xl-bold-lineHeight);
16113
+ .muka-swipe-actions__panel--right {
16114
+ right: 0;
16149
16115
  }
16150
16116
 
16151
- .muka-badge-number__label {
16152
- /*
16153
- * The badge sets a tight line-height for compact sizing, which would clip
16154
- * glyph descenders; give the label a roomier line-height. Vertical centering
16155
- * is unaffected because the badge height is fixed and content is centered.
16156
- */
16157
- line-height: normal;
16117
+ /* ─── Single action button ─────────────────────────────── */
16118
+
16119
+ .muka-swipe-actions__button {
16120
+ display: flex;
16121
+ flex-direction: column;
16122
+ align-items: center;
16123
+ justify-content: center;
16124
+ gap: var(--spacing-1);
16125
+ border: none;
16126
+ cursor: pointer;
16127
+ padding: var(--spacing-2);
16128
+ background-color: var(--color-surface-level2);
16129
+ color: var(--color-text-default-default);
16130
+ font-family: var(--text-label-sm-semibold-fontFamily);
16131
+ font-weight: var(--text-label-sm-semibold-fontWeight);
16132
+ font-size: var(--text-label-sm-semibold-fontSize);
16133
+ line-height: var(--text-label-sm-semibold-lineHeight);
16134
+ -webkit-tap-highlight-color: transparent;
16135
+ transition: filter 0.12s ease;
16158
16136
  }
16159
16137
 
16160
- /* Neutral variant */
16161
- .muka-badge-number--neutral {
16162
- background-color: var(--color-surface-level1);
16138
+ .muka-swipe-actions__button:hover {
16139
+ filter: brightness(0.95);
16140
+ }
16141
+
16142
+ .muka-swipe-actions__button:focus-visible {
16143
+ outline: 2px solid var(--color-action-default);
16144
+ outline-offset: -2px;
16145
+ }
16146
+
16147
+ .muka-swipe-actions__button-icon {
16148
+ display: inline-flex;
16149
+ align-items: center;
16150
+ justify-content: center;
16151
+ }
16152
+
16153
+ /* ─── Color variants ───────────────────────────────────── */
16154
+
16155
+ .muka-swipe-actions__button--neutral {
16156
+ background-color: var(--color-surface-level2);
16163
16157
  color: var(--color-text-default-default);
16164
16158
  }
16165
16159
 
16166
- /* Info variant */
16167
- .muka-badge-number--info {
16168
- background-color: var(--color-state-info-contrast);
16160
+ .muka-swipe-actions__button--primary {
16161
+ background-color: var(--color-action-default);
16169
16162
  color: var(--color-text-default-inverse);
16170
16163
  }
16171
16164
 
16172
- /* Success variant */
16173
- .muka-badge-number--success {
16174
- background-color: var(--color-state-success-contrast);
16165
+ .muka-swipe-actions__button--success {
16166
+ background-color: var(--color-state-success-default);
16175
16167
  color: var(--color-text-default-inverse);
16176
16168
  }
16177
16169
 
16178
- /* Warning variant */
16179
- .muka-badge-number--warning {
16180
- background-color: var(--color-state-warning-contrast);
16170
+ .muka-swipe-actions__button--warning {
16171
+ background-color: var(--color-state-warning-default);
16172
+ color: var(--color-text-default-default);
16173
+ }
16174
+
16175
+ .muka-swipe-actions__button--destructive {
16176
+ background-color: var(--color-state-error-default);
16181
16177
  color: var(--color-text-default-inverse);
16182
16178
  }
16183
16179
 
16184
- /* Error variant */
16185
- .muka-badge-number--error {
16186
- background-color: var(--color-state-error-contrast);
16180
+
16181
+ /* Spinner */
16182
+ /* Spinner Component Styles */
16183
+
16184
+ .muka-spinner {
16185
+ display: inline-flex;
16186
+ align-items: center;
16187
+ justify-content: center;
16188
+ color: var(--color-text-default-default);
16189
+ line-height: 0;
16190
+ }
16191
+
16192
+ .muka-spinner--subtle {
16193
+ color: var(--color-text-subtle-default);
16194
+ }
16195
+
16196
+ .muka-spinner--inverse {
16187
16197
  color: var(--color-text-default-inverse);
16188
16198
  }
16189
16199
 
16200
+ .muka-spinner__circle {
16201
+ display: inline-block;
16202
+ border-radius: 50%;
16203
+ border-style: solid;
16204
+ border-color: currentColor;
16205
+ border-right-color: transparent;
16206
+ animation: muka-spinner-rotate 0.7s linear infinite;
16207
+ box-sizing: border-box;
16208
+ }
16209
+
16210
+ /* ─── Sizes ───────────────────────────────────────────── */
16211
+
16212
+ .muka-spinner--sm .muka-spinner__circle {
16213
+ width: 16px;
16214
+ height: 16px;
16215
+ border-width: 2px;
16216
+ }
16217
+
16218
+ .muka-spinner--md .muka-spinner__circle {
16219
+ width: 20px;
16220
+ height: 20px;
16221
+ border-width: 2px;
16222
+ }
16223
+
16224
+ .muka-spinner--lg .muka-spinner__circle {
16225
+ width: 24px;
16226
+ height: 24px;
16227
+ border-width: 3px;
16228
+ }
16229
+
16230
+ /* ─── Visually-hidden label ───────────────────────────── */
16231
+
16232
+ .muka-spinner__sr-label {
16233
+ position: absolute;
16234
+ width: 1px;
16235
+ height: 1px;
16236
+ padding: 0;
16237
+ margin: -1px;
16238
+ overflow: hidden;
16239
+ clip: rect(0, 0, 0, 0);
16240
+ white-space: nowrap;
16241
+ border: 0;
16242
+ }
16243
+
16244
+ /* ─── Reduced motion ──────────────────────────────────── */
16245
+
16246
+ @keyframes muka-spinner-rotate {
16247
+ to {
16248
+ transform: rotate(360deg);
16249
+ }
16250
+ }
16251
+
16252
+ @media (prefers-reduced-motion: reduce) {
16253
+ .muka-spinner__circle {
16254
+ animation-duration: 2.5s;
16255
+ }
16256
+ }
16257
+