@revikornmann/muka-ui 0.36.0 → 0.37.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.
Files changed (85) hide show
  1. package/cli/bin/muka-ui.js +18 -0
  2. package/cli/commands/check.js +174 -0
  3. package/cli/commands/init.js +8 -20
  4. package/cli/commands/install-skill.js +37 -26
  5. package/cli/commands/sync.js +90 -0
  6. package/cli/lib/agents-block.js +139 -0
  7. package/cli/lib/skills.js +182 -0
  8. package/cli/templates/{AGENTS.md → agents-block.md} +53 -16
  9. package/dist/cjs/components/Dialog/Dialog.css +10 -0
  10. package/dist/cjs/components/Dialog/Dialog.js +58 -48
  11. package/dist/cjs/components/Dialog/Dialog.js.map +1 -1
  12. package/dist/cjs/components/Dialog/index.js +5 -1
  13. package/dist/cjs/components/Dialog/index.js.map +1 -1
  14. package/dist/cjs/components/Drawer/Drawer.css +4 -24
  15. package/dist/cjs/components/Drawer/Drawer.js +20 -10
  16. package/dist/cjs/components/Drawer/Drawer.js.map +1 -1
  17. package/dist/cjs/components/NumberInput/NumberInput.js +88 -3
  18. package/dist/cjs/components/NumberInput/NumberInput.js.map +1 -1
  19. package/dist/cjs/components/Toggle/Toggle.js +2 -2
  20. package/dist/cjs/components/Toggle/Toggle.js.map +1 -1
  21. package/dist/cjs/components/TopBar/TopBar.css +11 -10
  22. package/dist/cjs/components/TopBar/TopBar.js +33 -3
  23. package/dist/cjs/components/TopBar/TopBar.js.map +1 -1
  24. package/dist/cjs/components/View/View.js +11 -12
  25. package/dist/cjs/components/View/View.js.map +1 -1
  26. package/dist/cjs/components/index.js +6 -3
  27. package/dist/cjs/components/index.js.map +1 -1
  28. package/dist/cjs/utils/useDismissGuard.js +85 -0
  29. package/dist/cjs/utils/useDismissGuard.js.map +1 -0
  30. package/dist/esm/components/Dialog/Dialog.css +10 -0
  31. package/dist/esm/components/Dialog/Dialog.js +57 -49
  32. package/dist/esm/components/Dialog/Dialog.js.map +1 -1
  33. package/dist/esm/components/Dialog/index.js +2 -1
  34. package/dist/esm/components/Dialog/index.js.map +1 -1
  35. package/dist/esm/components/Drawer/Drawer.css +4 -24
  36. package/dist/esm/components/Drawer/Drawer.js +21 -11
  37. package/dist/esm/components/Drawer/Drawer.js.map +1 -1
  38. package/dist/esm/components/NumberInput/NumberInput.js +88 -3
  39. package/dist/esm/components/NumberInput/NumberInput.js.map +1 -1
  40. package/dist/esm/components/Toggle/Toggle.js +2 -2
  41. package/dist/esm/components/Toggle/Toggle.js.map +1 -1
  42. package/dist/esm/components/TopBar/TopBar.css +11 -10
  43. package/dist/esm/components/TopBar/TopBar.js +30 -3
  44. package/dist/esm/components/TopBar/TopBar.js.map +1 -1
  45. package/dist/esm/components/View/View.js +11 -12
  46. package/dist/esm/components/View/View.js.map +1 -1
  47. package/dist/esm/components/index.js +1 -1
  48. package/dist/esm/components/index.js.map +1 -1
  49. package/dist/esm/utils/useDismissGuard.js +79 -0
  50. package/dist/esm/utils/useDismissGuard.js.map +1 -0
  51. package/dist/styles/components/Dialog.css +10 -0
  52. package/dist/styles/components/Drawer.css +4 -24
  53. package/dist/styles/index.css +383 -393
  54. package/dist/styles/muka-dark.css +383 -393
  55. package/dist/styles/muka-light.css +383 -393
  56. package/dist/styles/wireframe-dark.css +383 -393
  57. package/dist/styles/wireframe-light.css +383 -393
  58. package/dist/types/components/Dialog/Dialog.d.ts +51 -11
  59. package/dist/types/components/Dialog/Dialog.d.ts.map +1 -1
  60. package/dist/types/components/Dialog/index.d.ts +2 -1
  61. package/dist/types/components/Dialog/index.d.ts.map +1 -1
  62. package/dist/types/components/Drawer/Drawer.d.ts +35 -5
  63. package/dist/types/components/Drawer/Drawer.d.ts.map +1 -1
  64. package/dist/types/components/NumberInput/NumberInput.d.ts +9 -0
  65. package/dist/types/components/NumberInput/NumberInput.d.ts.map +1 -1
  66. package/dist/types/components/Toggle/Toggle.d.ts +6 -0
  67. package/dist/types/components/Toggle/Toggle.d.ts.map +1 -1
  68. package/dist/types/components/TopBar/TopBar.d.ts +12 -1
  69. package/dist/types/components/TopBar/TopBar.d.ts.map +1 -1
  70. package/dist/types/components/View/View.d.ts +4 -3
  71. package/dist/types/components/View/View.d.ts.map +1 -1
  72. package/dist/types/components/index.d.ts +1 -1
  73. package/dist/types/components/index.d.ts.map +1 -1
  74. package/dist/types/utils/useDismissGuard.d.ts +68 -0
  75. package/dist/types/utils/useDismissGuard.d.ts.map +1 -0
  76. package/docs/consumers/README.md +6 -2
  77. package/docs/consumers/dialogs.md +102 -0
  78. package/docs/consumers/setup-instructions.md +55 -9
  79. package/docs/consumers/skills.md +29 -13
  80. package/eslint/index.js +284 -0
  81. package/package.json +14 -2
  82. package/skills/setup-muka/SKILL.md +59 -7
  83. package/templates/muka-check.yml +45 -0
  84. package/templates/update-muka.yml +17 -4
  85. package/cli/templates/CLAUDE.md +0 -15
@@ -10401,6 +10401,147 @@ li.muka-listitem {
10401
10401
  }
10402
10402
 
10403
10403
 
10404
+ /* EmptyState */
10405
+ /* EmptyState Component Styles - Using Muka Design Tokens */
10406
+
10407
+ .muka-emptystate {
10408
+ display: flex;
10409
+ flex-direction: column;
10410
+ align-items: center;
10411
+ justify-content: center;
10412
+ gap: var(--emptystate-container-gap);
10413
+ max-width: var(--emptystate-container-maxWidth);
10414
+ margin: 0 auto;
10415
+ text-align: center;
10416
+ }
10417
+
10418
+ /* Alignment variants */
10419
+ .muka-emptystate--left {
10420
+ align-items: flex-start;
10421
+ text-align: left;
10422
+ }
10423
+
10424
+ /* Size variants */
10425
+ .muka-emptystate--sm {
10426
+ padding: var(--emptystate-container-padding-sm);
10427
+ }
10428
+
10429
+ .muka-emptystate--md {
10430
+ padding: var(--emptystate-container-padding-md);
10431
+ }
10432
+
10433
+ .muka-emptystate--lg {
10434
+ padding: var(--emptystate-container-padding-lg);
10435
+ }
10436
+
10437
+ /* Visual (icon or illustration) */
10438
+ .muka-emptystate__visual {
10439
+ display: flex;
10440
+ align-items: center;
10441
+ justify-content: center;
10442
+ color: var(--emptystate-icon-color);
10443
+ flex-shrink: 0;
10444
+ }
10445
+
10446
+ .muka-emptystate--sm .muka-emptystate__visual {
10447
+ width: var(--emptystate-icon-size-sm);
10448
+ height: var(--emptystate-icon-size-sm);
10449
+ }
10450
+
10451
+ .muka-emptystate--md .muka-emptystate__visual {
10452
+ width: var(--emptystate-icon-size-md);
10453
+ height: var(--emptystate-icon-size-md);
10454
+ }
10455
+
10456
+ .muka-emptystate--lg .muka-emptystate__visual {
10457
+ width: var(--emptystate-icon-size-lg);
10458
+ height: var(--emptystate-icon-size-lg);
10459
+ }
10460
+
10461
+ .muka-emptystate__visual svg {
10462
+ width: 100%;
10463
+ height: 100%;
10464
+ }
10465
+
10466
+ .muka-emptystate__visual img {
10467
+ width: 100%;
10468
+ height: 100%;
10469
+ object-fit: contain;
10470
+ }
10471
+
10472
+ /* Content */
10473
+ .muka-emptystate__content {
10474
+ display: flex;
10475
+ flex-direction: column;
10476
+ gap: var(--spacing-2);
10477
+ }
10478
+
10479
+ .muka-emptystate--left .muka-emptystate__content {
10480
+ align-items: flex-start;
10481
+ }
10482
+
10483
+ /* Title */
10484
+ .muka-emptystate__title {
10485
+ color: var(--emptystate-title-color);
10486
+ margin: 0;
10487
+ font-family: var(--text-heading-sm-fontFamily);
10488
+ font-weight: var(--text-heading-sm-fontWeight);
10489
+ font-size: var(--text-heading-sm-fontSize);
10490
+ line-height: var(--text-heading-sm-lineHeight);
10491
+ }
10492
+
10493
+ .muka-emptystate--sm .muka-emptystate__title {
10494
+ font-family: var(--text-label-lg-semibold-fontFamily);
10495
+ font-weight: var(--text-label-lg-semibold-fontWeight);
10496
+ font-size: var(--text-label-lg-semibold-fontSize);
10497
+ line-height: var(--text-label-lg-semibold-lineHeight);
10498
+ }
10499
+
10500
+ .muka-emptystate--lg .muka-emptystate__title {
10501
+ font-family: var(--text-heading-md-fontFamily);
10502
+ font-weight: var(--text-heading-md-fontWeight);
10503
+ font-size: var(--text-heading-md-fontSize);
10504
+ line-height: var(--text-heading-md-lineHeight);
10505
+ }
10506
+
10507
+ /* Description */
10508
+ .muka-emptystate__description {
10509
+ color: var(--emptystate-description-color);
10510
+ margin: 0;
10511
+ font-family: var(--text-body-sm-regular-fontFamily);
10512
+ font-weight: var(--text-body-sm-regular-fontWeight);
10513
+ font-size: var(--text-body-sm-regular-fontSize);
10514
+ line-height: var(--text-body-sm-regular-lineHeight);
10515
+ }
10516
+
10517
+ .muka-emptystate--md .muka-emptystate__description {
10518
+ font-family: var(--text-body-base-regular-fontFamily);
10519
+ font-weight: var(--text-body-base-regular-fontWeight);
10520
+ font-size: var(--text-body-base-regular-fontSize);
10521
+ line-height: var(--text-body-base-regular-lineHeight);
10522
+ }
10523
+
10524
+ .muka-emptystate--lg .muka-emptystate__description {
10525
+ font-family: var(--text-body-lg-regular-fontFamily);
10526
+ font-weight: var(--text-body-lg-regular-fontWeight);
10527
+ font-size: var(--text-body-lg-regular-fontSize);
10528
+ line-height: var(--text-body-lg-regular-lineHeight);
10529
+ }
10530
+
10531
+ /* Actions */
10532
+ .muka-emptystate__actions {
10533
+ display: flex;
10534
+ gap: var(--emptystate-actions-gap);
10535
+ margin-top: var(--emptystate-actions-marginTop);
10536
+ flex-wrap: wrap;
10537
+ justify-content: center;
10538
+ }
10539
+
10540
+ .muka-emptystate--left .muka-emptystate__actions {
10541
+ justify-content: flex-start;
10542
+ }
10543
+
10544
+
10404
10545
  /* EmojiPicker */
10405
10546
  /* EmojiPicker Component Styles */
10406
10547
 
@@ -10651,147 +10792,6 @@ li.muka-listitem {
10651
10792
  }
10652
10793
 
10653
10794
 
10654
- /* EmptyState */
10655
- /* EmptyState Component Styles - Using Muka Design Tokens */
10656
-
10657
- .muka-emptystate {
10658
- display: flex;
10659
- flex-direction: column;
10660
- align-items: center;
10661
- justify-content: center;
10662
- gap: var(--emptystate-container-gap);
10663
- max-width: var(--emptystate-container-maxWidth);
10664
- margin: 0 auto;
10665
- text-align: center;
10666
- }
10667
-
10668
- /* Alignment variants */
10669
- .muka-emptystate--left {
10670
- align-items: flex-start;
10671
- text-align: left;
10672
- }
10673
-
10674
- /* Size variants */
10675
- .muka-emptystate--sm {
10676
- padding: var(--emptystate-container-padding-sm);
10677
- }
10678
-
10679
- .muka-emptystate--md {
10680
- padding: var(--emptystate-container-padding-md);
10681
- }
10682
-
10683
- .muka-emptystate--lg {
10684
- padding: var(--emptystate-container-padding-lg);
10685
- }
10686
-
10687
- /* Visual (icon or illustration) */
10688
- .muka-emptystate__visual {
10689
- display: flex;
10690
- align-items: center;
10691
- justify-content: center;
10692
- color: var(--emptystate-icon-color);
10693
- flex-shrink: 0;
10694
- }
10695
-
10696
- .muka-emptystate--sm .muka-emptystate__visual {
10697
- width: var(--emptystate-icon-size-sm);
10698
- height: var(--emptystate-icon-size-sm);
10699
- }
10700
-
10701
- .muka-emptystate--md .muka-emptystate__visual {
10702
- width: var(--emptystate-icon-size-md);
10703
- height: var(--emptystate-icon-size-md);
10704
- }
10705
-
10706
- .muka-emptystate--lg .muka-emptystate__visual {
10707
- width: var(--emptystate-icon-size-lg);
10708
- height: var(--emptystate-icon-size-lg);
10709
- }
10710
-
10711
- .muka-emptystate__visual svg {
10712
- width: 100%;
10713
- height: 100%;
10714
- }
10715
-
10716
- .muka-emptystate__visual img {
10717
- width: 100%;
10718
- height: 100%;
10719
- object-fit: contain;
10720
- }
10721
-
10722
- /* Content */
10723
- .muka-emptystate__content {
10724
- display: flex;
10725
- flex-direction: column;
10726
- gap: var(--spacing-2);
10727
- }
10728
-
10729
- .muka-emptystate--left .muka-emptystate__content {
10730
- align-items: flex-start;
10731
- }
10732
-
10733
- /* Title */
10734
- .muka-emptystate__title {
10735
- color: var(--emptystate-title-color);
10736
- margin: 0;
10737
- font-family: var(--text-heading-sm-fontFamily);
10738
- font-weight: var(--text-heading-sm-fontWeight);
10739
- font-size: var(--text-heading-sm-fontSize);
10740
- line-height: var(--text-heading-sm-lineHeight);
10741
- }
10742
-
10743
- .muka-emptystate--sm .muka-emptystate__title {
10744
- font-family: var(--text-label-lg-semibold-fontFamily);
10745
- font-weight: var(--text-label-lg-semibold-fontWeight);
10746
- font-size: var(--text-label-lg-semibold-fontSize);
10747
- line-height: var(--text-label-lg-semibold-lineHeight);
10748
- }
10749
-
10750
- .muka-emptystate--lg .muka-emptystate__title {
10751
- font-family: var(--text-heading-md-fontFamily);
10752
- font-weight: var(--text-heading-md-fontWeight);
10753
- font-size: var(--text-heading-md-fontSize);
10754
- line-height: var(--text-heading-md-lineHeight);
10755
- }
10756
-
10757
- /* Description */
10758
- .muka-emptystate__description {
10759
- color: var(--emptystate-description-color);
10760
- margin: 0;
10761
- font-family: var(--text-body-sm-regular-fontFamily);
10762
- font-weight: var(--text-body-sm-regular-fontWeight);
10763
- font-size: var(--text-body-sm-regular-fontSize);
10764
- line-height: var(--text-body-sm-regular-lineHeight);
10765
- }
10766
-
10767
- .muka-emptystate--md .muka-emptystate__description {
10768
- font-family: var(--text-body-base-regular-fontFamily);
10769
- font-weight: var(--text-body-base-regular-fontWeight);
10770
- font-size: var(--text-body-base-regular-fontSize);
10771
- line-height: var(--text-body-base-regular-lineHeight);
10772
- }
10773
-
10774
- .muka-emptystate--lg .muka-emptystate__description {
10775
- font-family: var(--text-body-lg-regular-fontFamily);
10776
- font-weight: var(--text-body-lg-regular-fontWeight);
10777
- font-size: var(--text-body-lg-regular-fontSize);
10778
- line-height: var(--text-body-lg-regular-lineHeight);
10779
- }
10780
-
10781
- /* Actions */
10782
- .muka-emptystate__actions {
10783
- display: flex;
10784
- gap: var(--emptystate-actions-gap);
10785
- margin-top: var(--emptystate-actions-marginTop);
10786
- flex-wrap: wrap;
10787
- justify-content: center;
10788
- }
10789
-
10790
- .muka-emptystate--left .muka-emptystate__actions {
10791
- justify-content: flex-start;
10792
- }
10793
-
10794
-
10795
10795
  /* Drawer */
10796
10796
  /* Drawer Component Styles */
10797
10797
 
@@ -10906,30 +10906,10 @@ li.muka-listitem {
10906
10906
  max-height: 100vh;
10907
10907
  }
10908
10908
 
10909
- /* Header */
10910
- .muka-drawer__header {
10911
- display: flex;
10912
- align-items: center;
10913
- gap: var(--spacing-3);
10914
- padding: var(--spacing-4);
10915
- border-bottom: var(--border-width-regular) solid var(--color-border-default);
10916
- flex-shrink: 0;
10917
- }
10918
-
10919
- .muka-drawer__title {
10920
- flex: 1;
10921
- margin: 0;
10922
- font-family: var(--text-label-lg-semibold-fontFamily);
10923
- font-weight: var(--text-label-lg-semibold-fontWeight);
10924
- font-size: var(--text-label-lg-semibold-fontSize);
10925
- line-height: var(--text-label-lg-semibold-lineHeight);
10926
- color: var(--color-text-default-default);
10927
- }
10928
-
10929
- .muka-drawer__leading,
10930
- .muka-drawer__trailing {
10931
- display: flex;
10932
- align-items: center;
10909
+ /* Header: the shared TopBar, raised above the scrolling body like in Dialog */
10910
+ .muka-drawer .muka-topbar {
10911
+ position: relative;
10912
+ z-index: 1;
10933
10913
  flex-shrink: 0;
10934
10914
  }
10935
10915
 
@@ -11524,6 +11504,16 @@ li.muka-listitem {
11524
11504
  box-shadow: var(--shadow-level2);
11525
11505
  }
11526
11506
 
11507
+ /* ─── Discard confirmation ────────────────────────────── */
11508
+
11509
+ .muka-dialog__discard-message {
11510
+ margin: 0;
11511
+ color: var(--color-text-subtle-default);
11512
+ font-family: var(--text-body-base-regular-fontFamily);
11513
+ font-size: var(--text-body-base-regular-fontSize);
11514
+ line-height: var(--text-body-base-regular-lineHeight);
11515
+ }
11516
+
11527
11517
 
11528
11518
  /* DatePicker */
11529
11519
  /* DatePicker — compact native date field. */
@@ -12383,248 +12373,90 @@ li.muka-listitem {
12383
12373
  padding: calc(var(--spacing-2) - 1px);
12384
12374
  }
12385
12375
 
12386
- .muka-combobox__field--error:not(.muka-combobox__field--disabled) {
12387
- border-color: var(--color-state-error-contrast);
12388
- }
12389
-
12390
- .muka-combobox__field--disabled {
12391
- opacity: 0.5;
12392
- cursor: not-allowed;
12393
- }
12394
-
12395
- .muka-combobox__field--multiline {
12396
- align-items: flex-start;
12397
- min-height: 7rem;
12398
- }
12399
-
12400
- .muka-combobox__chips {
12401
- display: flex;
12402
- flex: 1 1 auto;
12403
- flex-wrap: wrap;
12404
- gap: var(--spacing-2);
12405
- align-items: center;
12406
- min-width: 0;
12407
- width: 100%;
12408
- position: relative;
12409
- z-index: 1;
12410
- }
12411
-
12412
- .muka-combobox__input {
12413
- flex: 1 1 5rem;
12414
- min-width: 5rem;
12415
- min-height: 2rem;
12416
- margin: 0;
12417
- padding: 0 var(--spacing-1);
12418
- border: none;
12419
- outline: none;
12420
- background: transparent;
12421
- color: var(--input-field-color-default-foreground);
12422
- caret-color: var(--input-field-color-default-foreground);
12423
- font-family: var(--text-label-md-regular-fontFamily);
12424
- font-size: var(--text-label-md-regular-fontSize);
12425
- font-weight: var(--text-label-md-regular-fontWeight);
12426
- line-height: var(--text-label-md-regular-lineHeight);
12427
- }
12428
-
12429
- .muka-combobox__input::placeholder {
12430
- color: var(--color-text-subtle-default);
12431
- }
12432
-
12433
- .muka-combobox__helper {
12434
- margin: 0;
12435
- color: var(--color-text-subtle-default);
12436
- font-family: var(--text-label-sm-regular-fontFamily);
12437
- font-size: var(--text-label-sm-regular-fontSize);
12438
- font-weight: var(--text-label-sm-regular-fontWeight);
12439
- line-height: var(--text-label-sm-regular-lineHeight);
12440
- }
12441
-
12442
- .muka-combobox__error {
12443
- margin: 0;
12444
- color: var(--color-state-error-default);
12445
- font-family: var(--text-label-sm-regular-fontFamily);
12446
- font-size: var(--text-label-sm-regular-fontSize);
12447
- font-weight: var(--text-label-sm-regular-fontWeight);
12448
- line-height: var(--text-label-sm-regular-lineHeight);
12449
- }
12450
-
12451
- .muka-combobox__menu-anchor {
12452
- position: absolute;
12453
- inset: 0;
12454
- z-index: 0;
12455
- width: 100%;
12456
- height: 100%;
12457
- margin: 0;
12458
- padding: 0;
12459
- border: none;
12460
- background: transparent;
12461
- pointer-events: none;
12462
- opacity: 0;
12463
- }
12464
-
12465
- .muka-combobox__menu {
12466
- /* Prefer Menu token min-width (280px); may exceed the field when left-aligned. */
12467
- min-width: var(--menu-content-min-width);
12468
- width: max-content;
12469
- max-width: min(100vw - 2rem, 24rem);
12470
- }
12471
-
12472
-
12473
- /* CheckboxTile */
12474
- /* CheckboxTile Component Styles - Using Muka Design Tokens */
12475
-
12476
- /* Base tile styles - horizontal */
12477
- .muka-checkbox-tile {
12478
- display: flex;
12479
- align-items: center;
12480
- gap: var(--spacing-4);
12481
- padding: var(--spacing-4);
12482
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
12483
- border-radius: var(--input-field-radius-lg);
12484
- background-color: var(--color-surface-level3);
12485
- cursor: pointer;
12486
- transition: border-color 0.15s ease, border-width 0.15s ease;
12487
- overflow: hidden;
12488
- box-sizing: border-box;
12489
- }
12490
-
12491
- .muka-checkbox-tile--disabled {
12492
- cursor: not-allowed;
12493
- opacity: 0.6;
12494
- }
12495
-
12496
- /* Selected state */
12497
- .muka-checkbox-tile[data-checked] {
12498
- border-width: var(--border-width-bold);
12499
- border-color: var(--color-action-default);
12500
- }
12501
-
12502
- /* Vertical layout */
12503
- .muka-checkbox-tile--vertical {
12504
- flex-direction: column;
12505
- align-items: center;
12506
- gap: var(--spacing-2);
12507
- position: relative;
12508
- width: 160px;
12509
- }
12510
-
12511
- /* Checkbox container */
12512
- .muka-checkbox-tile__checkbox {
12513
- flex-shrink: 0;
12514
- }
12515
-
12516
- /* Corner-positioned checkbox for vertical */
12517
- .muka-checkbox-tile__checkbox--corner {
12518
- position: absolute;
12519
- top: var(--spacing-4);
12520
- left: var(--spacing-4);
12521
- }
12522
-
12523
- /* Adjust corner position when selected (border is thicker) */
12524
- .muka-checkbox-tile[data-checked] .muka-checkbox-tile__checkbox--corner {
12525
- top: calc(var(--spacing-4) - 1px);
12526
- left: calc(var(--spacing-4) - 1px);
12527
- }
12528
-
12529
- /* Icon */
12530
- .muka-checkbox-tile__icon {
12531
- display: flex;
12532
- align-items: center;
12533
- justify-content: center;
12534
- flex-shrink: 0;
12535
- width: var(--icon-size-default);
12536
- height: var(--icon-size-default);
12537
- color: var(--color-text-default-default);
12538
- }
12539
-
12540
- .muka-checkbox-tile__icon svg {
12541
- width: 100%;
12542
- height: 100%;
12543
- }
12544
-
12545
- /* Image */
12546
- .muka-checkbox-tile__image {
12547
- flex-shrink: 0;
12548
- overflow: hidden;
12549
- border-radius: var(--border-radius-sm);
12550
- }
12551
-
12552
- .muka-checkbox-tile__image img {
12553
- display: block;
12554
- width: 100%;
12555
- height: 100%;
12556
- object-fit: cover;
12557
- }
12558
-
12559
- /* Horizontal image sizing */
12560
- .muka-checkbox-tile__image--horizontal {
12561
- width: 40px;
12562
- height: 40px;
12563
- }
12564
-
12565
- /* Vertical image sizing */
12566
- .muka-checkbox-tile--vertical .muka-checkbox-tile__image {
12567
- width: 100%;
12568
- aspect-ratio: 4/3;
12569
- }
12570
-
12571
- /* Content container */
12572
- .muka-checkbox-tile__content {
12573
- display: flex;
12574
- flex-direction: column;
12575
- flex: 1;
12576
- min-width: 0;
12577
- gap: var(--spacing-2);
12578
- }
12579
-
12580
- .muka-checkbox-tile__content-inner {
12581
- display: flex;
12582
- flex-direction: column;
12583
- gap: var(--spacing-1);
12584
- }
12585
-
12586
- /* Chip slot (replaces badge; use Chip component) */
12587
- .muka-checkbox-tile__chip {
12588
- flex-shrink: 0;
12376
+ .muka-combobox__field--error:not(.muka-combobox__field--disabled) {
12377
+ border-color: var(--color-state-error-contrast);
12589
12378
  }
12590
12379
 
12591
- .muka-checkbox-tile__chip--vertical {
12592
- margin-top: var(--spacing-1);
12380
+ .muka-combobox__field--disabled {
12381
+ opacity: 0.5;
12382
+ cursor: not-allowed;
12593
12383
  }
12594
12384
 
12595
- /* Label */
12596
- .muka-checkbox-tile__label {
12597
- font-family: var(--text-body-lg-regular-fontFamily);
12598
- font-weight: var(--text-body-lg-regular-fontWeight);
12599
- font-size: var(--text-body-lg-regular-fontSize);
12600
- line-height: var(--text-body-lg-regular-lineHeight);
12601
- color: var(--color-text-default-default);
12385
+ .muka-combobox__field--multiline {
12386
+ align-items: flex-start;
12387
+ min-height: 7rem;
12602
12388
  }
12603
12389
 
12604
- .muka-checkbox-tile__label--bold {
12605
- font-family: var(--text-label-lg-semibold-fontFamily);
12606
- font-weight: var(--text-label-lg-semibold-fontWeight);
12607
- font-size: var(--text-label-lg-semibold-fontSize);
12608
- line-height: var(--text-label-lg-semibold-lineHeight);
12390
+ .muka-combobox__chips {
12391
+ display: flex;
12392
+ flex: 1 1 auto;
12393
+ flex-wrap: wrap;
12394
+ gap: var(--spacing-2);
12395
+ align-items: center;
12396
+ min-width: 0;
12397
+ width: 100%;
12398
+ position: relative;
12399
+ z-index: 1;
12609
12400
  }
12610
12401
 
12611
- .muka-checkbox-tile__label--center {
12612
- text-align: center;
12402
+ .muka-combobox__input {
12403
+ flex: 1 1 5rem;
12404
+ min-width: 5rem;
12405
+ min-height: 2rem;
12406
+ margin: 0;
12407
+ padding: 0 var(--spacing-1);
12408
+ border: none;
12409
+ outline: none;
12410
+ background: transparent;
12411
+ color: var(--input-field-color-default-foreground);
12412
+ caret-color: var(--input-field-color-default-foreground);
12413
+ font-family: var(--text-label-md-regular-fontFamily);
12414
+ font-size: var(--text-label-md-regular-fontSize);
12415
+ font-weight: var(--text-label-md-regular-fontWeight);
12416
+ line-height: var(--text-label-md-regular-lineHeight);
12613
12417
  }
12614
12418
 
12615
- /* Caption */
12616
- .muka-checkbox-tile__caption {
12617
- font-family: var(--text-body-base-regular-fontFamily);
12618
- font-weight: var(--text-body-base-regular-fontWeight);
12619
- font-size: var(--text-body-base-regular-fontSize);
12620
- line-height: var(--text-body-base-regular-lineHeight);
12419
+ .muka-combobox__input::placeholder {
12621
12420
  color: var(--color-text-subtle-default);
12622
12421
  }
12623
12422
 
12624
- /* Disabled states */
12625
- .muka-checkbox-tile--disabled .muka-checkbox-tile__label,
12626
- .muka-checkbox-tile--disabled .muka-checkbox-tile__icon {
12423
+ .muka-combobox__helper {
12424
+ margin: 0;
12627
12425
  color: var(--color-text-subtle-default);
12426
+ font-family: var(--text-label-sm-regular-fontFamily);
12427
+ font-size: var(--text-label-sm-regular-fontSize);
12428
+ font-weight: var(--text-label-sm-regular-fontWeight);
12429
+ line-height: var(--text-label-sm-regular-lineHeight);
12430
+ }
12431
+
12432
+ .muka-combobox__error {
12433
+ margin: 0;
12434
+ color: var(--color-state-error-default);
12435
+ font-family: var(--text-label-sm-regular-fontFamily);
12436
+ font-size: var(--text-label-sm-regular-fontSize);
12437
+ font-weight: var(--text-label-sm-regular-fontWeight);
12438
+ line-height: var(--text-label-sm-regular-lineHeight);
12439
+ }
12440
+
12441
+ .muka-combobox__menu-anchor {
12442
+ position: absolute;
12443
+ inset: 0;
12444
+ z-index: 0;
12445
+ width: 100%;
12446
+ height: 100%;
12447
+ margin: 0;
12448
+ padding: 0;
12449
+ border: none;
12450
+ background: transparent;
12451
+ pointer-events: none;
12452
+ opacity: 0;
12453
+ }
12454
+
12455
+ .muka-combobox__menu {
12456
+ /* Prefer Menu token min-width (280px); may exceed the field when left-aligned. */
12457
+ min-width: var(--menu-content-min-width);
12458
+ width: max-content;
12459
+ max-width: min(100vw - 2rem, 24rem);
12628
12460
  }
12629
12461
 
12630
12462
 
@@ -12929,6 +12761,164 @@ li.muka-listitem {
12929
12761
  }
12930
12762
 
12931
12763
 
12764
+ /* CheckboxTile */
12765
+ /* CheckboxTile Component Styles - Using Muka Design Tokens */
12766
+
12767
+ /* Base tile styles - horizontal */
12768
+ .muka-checkbox-tile {
12769
+ display: flex;
12770
+ align-items: center;
12771
+ gap: var(--spacing-4);
12772
+ padding: var(--spacing-4);
12773
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
12774
+ border-radius: var(--input-field-radius-lg);
12775
+ background-color: var(--color-surface-level3);
12776
+ cursor: pointer;
12777
+ transition: border-color 0.15s ease, border-width 0.15s ease;
12778
+ overflow: hidden;
12779
+ box-sizing: border-box;
12780
+ }
12781
+
12782
+ .muka-checkbox-tile--disabled {
12783
+ cursor: not-allowed;
12784
+ opacity: 0.6;
12785
+ }
12786
+
12787
+ /* Selected state */
12788
+ .muka-checkbox-tile[data-checked] {
12789
+ border-width: var(--border-width-bold);
12790
+ border-color: var(--color-action-default);
12791
+ }
12792
+
12793
+ /* Vertical layout */
12794
+ .muka-checkbox-tile--vertical {
12795
+ flex-direction: column;
12796
+ align-items: center;
12797
+ gap: var(--spacing-2);
12798
+ position: relative;
12799
+ width: 160px;
12800
+ }
12801
+
12802
+ /* Checkbox container */
12803
+ .muka-checkbox-tile__checkbox {
12804
+ flex-shrink: 0;
12805
+ }
12806
+
12807
+ /* Corner-positioned checkbox for vertical */
12808
+ .muka-checkbox-tile__checkbox--corner {
12809
+ position: absolute;
12810
+ top: var(--spacing-4);
12811
+ left: var(--spacing-4);
12812
+ }
12813
+
12814
+ /* Adjust corner position when selected (border is thicker) */
12815
+ .muka-checkbox-tile[data-checked] .muka-checkbox-tile__checkbox--corner {
12816
+ top: calc(var(--spacing-4) - 1px);
12817
+ left: calc(var(--spacing-4) - 1px);
12818
+ }
12819
+
12820
+ /* Icon */
12821
+ .muka-checkbox-tile__icon {
12822
+ display: flex;
12823
+ align-items: center;
12824
+ justify-content: center;
12825
+ flex-shrink: 0;
12826
+ width: var(--icon-size-default);
12827
+ height: var(--icon-size-default);
12828
+ color: var(--color-text-default-default);
12829
+ }
12830
+
12831
+ .muka-checkbox-tile__icon svg {
12832
+ width: 100%;
12833
+ height: 100%;
12834
+ }
12835
+
12836
+ /* Image */
12837
+ .muka-checkbox-tile__image {
12838
+ flex-shrink: 0;
12839
+ overflow: hidden;
12840
+ border-radius: var(--border-radius-sm);
12841
+ }
12842
+
12843
+ .muka-checkbox-tile__image img {
12844
+ display: block;
12845
+ width: 100%;
12846
+ height: 100%;
12847
+ object-fit: cover;
12848
+ }
12849
+
12850
+ /* Horizontal image sizing */
12851
+ .muka-checkbox-tile__image--horizontal {
12852
+ width: 40px;
12853
+ height: 40px;
12854
+ }
12855
+
12856
+ /* Vertical image sizing */
12857
+ .muka-checkbox-tile--vertical .muka-checkbox-tile__image {
12858
+ width: 100%;
12859
+ aspect-ratio: 4/3;
12860
+ }
12861
+
12862
+ /* Content container */
12863
+ .muka-checkbox-tile__content {
12864
+ display: flex;
12865
+ flex-direction: column;
12866
+ flex: 1;
12867
+ min-width: 0;
12868
+ gap: var(--spacing-2);
12869
+ }
12870
+
12871
+ .muka-checkbox-tile__content-inner {
12872
+ display: flex;
12873
+ flex-direction: column;
12874
+ gap: var(--spacing-1);
12875
+ }
12876
+
12877
+ /* Chip slot (replaces badge; use Chip component) */
12878
+ .muka-checkbox-tile__chip {
12879
+ flex-shrink: 0;
12880
+ }
12881
+
12882
+ .muka-checkbox-tile__chip--vertical {
12883
+ margin-top: var(--spacing-1);
12884
+ }
12885
+
12886
+ /* Label */
12887
+ .muka-checkbox-tile__label {
12888
+ font-family: var(--text-body-lg-regular-fontFamily);
12889
+ font-weight: var(--text-body-lg-regular-fontWeight);
12890
+ font-size: var(--text-body-lg-regular-fontSize);
12891
+ line-height: var(--text-body-lg-regular-lineHeight);
12892
+ color: var(--color-text-default-default);
12893
+ }
12894
+
12895
+ .muka-checkbox-tile__label--bold {
12896
+ font-family: var(--text-label-lg-semibold-fontFamily);
12897
+ font-weight: var(--text-label-lg-semibold-fontWeight);
12898
+ font-size: var(--text-label-lg-semibold-fontSize);
12899
+ line-height: var(--text-label-lg-semibold-lineHeight);
12900
+ }
12901
+
12902
+ .muka-checkbox-tile__label--center {
12903
+ text-align: center;
12904
+ }
12905
+
12906
+ /* Caption */
12907
+ .muka-checkbox-tile__caption {
12908
+ font-family: var(--text-body-base-regular-fontFamily);
12909
+ font-weight: var(--text-body-base-regular-fontWeight);
12910
+ font-size: var(--text-body-base-regular-fontSize);
12911
+ line-height: var(--text-body-base-regular-lineHeight);
12912
+ color: var(--color-text-subtle-default);
12913
+ }
12914
+
12915
+ /* Disabled states */
12916
+ .muka-checkbox-tile--disabled .muka-checkbox-tile__label,
12917
+ .muka-checkbox-tile--disabled .muka-checkbox-tile__icon {
12918
+ color: var(--color-text-subtle-default);
12919
+ }
12920
+
12921
+
12932
12922
  /* Checkbox */
12933
12923
  /* Checkbox Component Styles - Using Muka Design Tokens */
12934
12924