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