@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
@@ -10369,6 +10369,147 @@ li.muka-listitem {
10369
10369
  }
10370
10370
 
10371
10371
 
10372
+ /* EmptyState */
10373
+ /* EmptyState Component Styles - Using Muka Design Tokens */
10374
+
10375
+ .muka-emptystate {
10376
+ display: flex;
10377
+ flex-direction: column;
10378
+ align-items: center;
10379
+ justify-content: center;
10380
+ gap: var(--emptystate-container-gap);
10381
+ max-width: var(--emptystate-container-maxWidth);
10382
+ margin: 0 auto;
10383
+ text-align: center;
10384
+ }
10385
+
10386
+ /* Alignment variants */
10387
+ .muka-emptystate--left {
10388
+ align-items: flex-start;
10389
+ text-align: left;
10390
+ }
10391
+
10392
+ /* Size variants */
10393
+ .muka-emptystate--sm {
10394
+ padding: var(--emptystate-container-padding-sm);
10395
+ }
10396
+
10397
+ .muka-emptystate--md {
10398
+ padding: var(--emptystate-container-padding-md);
10399
+ }
10400
+
10401
+ .muka-emptystate--lg {
10402
+ padding: var(--emptystate-container-padding-lg);
10403
+ }
10404
+
10405
+ /* Visual (icon or illustration) */
10406
+ .muka-emptystate__visual {
10407
+ display: flex;
10408
+ align-items: center;
10409
+ justify-content: center;
10410
+ color: var(--emptystate-icon-color);
10411
+ flex-shrink: 0;
10412
+ }
10413
+
10414
+ .muka-emptystate--sm .muka-emptystate__visual {
10415
+ width: var(--emptystate-icon-size-sm);
10416
+ height: var(--emptystate-icon-size-sm);
10417
+ }
10418
+
10419
+ .muka-emptystate--md .muka-emptystate__visual {
10420
+ width: var(--emptystate-icon-size-md);
10421
+ height: var(--emptystate-icon-size-md);
10422
+ }
10423
+
10424
+ .muka-emptystate--lg .muka-emptystate__visual {
10425
+ width: var(--emptystate-icon-size-lg);
10426
+ height: var(--emptystate-icon-size-lg);
10427
+ }
10428
+
10429
+ .muka-emptystate__visual svg {
10430
+ width: 100%;
10431
+ height: 100%;
10432
+ }
10433
+
10434
+ .muka-emptystate__visual img {
10435
+ width: 100%;
10436
+ height: 100%;
10437
+ object-fit: contain;
10438
+ }
10439
+
10440
+ /* Content */
10441
+ .muka-emptystate__content {
10442
+ display: flex;
10443
+ flex-direction: column;
10444
+ gap: var(--spacing-2);
10445
+ }
10446
+
10447
+ .muka-emptystate--left .muka-emptystate__content {
10448
+ align-items: flex-start;
10449
+ }
10450
+
10451
+ /* Title */
10452
+ .muka-emptystate__title {
10453
+ color: var(--emptystate-title-color);
10454
+ margin: 0;
10455
+ font-family: var(--text-heading-sm-fontFamily);
10456
+ font-weight: var(--text-heading-sm-fontWeight);
10457
+ font-size: var(--text-heading-sm-fontSize);
10458
+ line-height: var(--text-heading-sm-lineHeight);
10459
+ }
10460
+
10461
+ .muka-emptystate--sm .muka-emptystate__title {
10462
+ font-family: var(--text-label-lg-semibold-fontFamily);
10463
+ font-weight: var(--text-label-lg-semibold-fontWeight);
10464
+ font-size: var(--text-label-lg-semibold-fontSize);
10465
+ line-height: var(--text-label-lg-semibold-lineHeight);
10466
+ }
10467
+
10468
+ .muka-emptystate--lg .muka-emptystate__title {
10469
+ font-family: var(--text-heading-md-fontFamily);
10470
+ font-weight: var(--text-heading-md-fontWeight);
10471
+ font-size: var(--text-heading-md-fontSize);
10472
+ line-height: var(--text-heading-md-lineHeight);
10473
+ }
10474
+
10475
+ /* Description */
10476
+ .muka-emptystate__description {
10477
+ color: var(--emptystate-description-color);
10478
+ margin: 0;
10479
+ font-family: var(--text-body-sm-regular-fontFamily);
10480
+ font-weight: var(--text-body-sm-regular-fontWeight);
10481
+ font-size: var(--text-body-sm-regular-fontSize);
10482
+ line-height: var(--text-body-sm-regular-lineHeight);
10483
+ }
10484
+
10485
+ .muka-emptystate--md .muka-emptystate__description {
10486
+ font-family: var(--text-body-base-regular-fontFamily);
10487
+ font-weight: var(--text-body-base-regular-fontWeight);
10488
+ font-size: var(--text-body-base-regular-fontSize);
10489
+ line-height: var(--text-body-base-regular-lineHeight);
10490
+ }
10491
+
10492
+ .muka-emptystate--lg .muka-emptystate__description {
10493
+ font-family: var(--text-body-lg-regular-fontFamily);
10494
+ font-weight: var(--text-body-lg-regular-fontWeight);
10495
+ font-size: var(--text-body-lg-regular-fontSize);
10496
+ line-height: var(--text-body-lg-regular-lineHeight);
10497
+ }
10498
+
10499
+ /* Actions */
10500
+ .muka-emptystate__actions {
10501
+ display: flex;
10502
+ gap: var(--emptystate-actions-gap);
10503
+ margin-top: var(--emptystate-actions-marginTop);
10504
+ flex-wrap: wrap;
10505
+ justify-content: center;
10506
+ }
10507
+
10508
+ .muka-emptystate--left .muka-emptystate__actions {
10509
+ justify-content: flex-start;
10510
+ }
10511
+
10512
+
10372
10513
  /* EmojiPicker */
10373
10514
  /* EmojiPicker Component Styles */
10374
10515
 
@@ -10619,147 +10760,6 @@ li.muka-listitem {
10619
10760
  }
10620
10761
 
10621
10762
 
10622
- /* EmptyState */
10623
- /* EmptyState Component Styles - Using Muka Design Tokens */
10624
-
10625
- .muka-emptystate {
10626
- display: flex;
10627
- flex-direction: column;
10628
- align-items: center;
10629
- justify-content: center;
10630
- gap: var(--emptystate-container-gap);
10631
- max-width: var(--emptystate-container-maxWidth);
10632
- margin: 0 auto;
10633
- text-align: center;
10634
- }
10635
-
10636
- /* Alignment variants */
10637
- .muka-emptystate--left {
10638
- align-items: flex-start;
10639
- text-align: left;
10640
- }
10641
-
10642
- /* Size variants */
10643
- .muka-emptystate--sm {
10644
- padding: var(--emptystate-container-padding-sm);
10645
- }
10646
-
10647
- .muka-emptystate--md {
10648
- padding: var(--emptystate-container-padding-md);
10649
- }
10650
-
10651
- .muka-emptystate--lg {
10652
- padding: var(--emptystate-container-padding-lg);
10653
- }
10654
-
10655
- /* Visual (icon or illustration) */
10656
- .muka-emptystate__visual {
10657
- display: flex;
10658
- align-items: center;
10659
- justify-content: center;
10660
- color: var(--emptystate-icon-color);
10661
- flex-shrink: 0;
10662
- }
10663
-
10664
- .muka-emptystate--sm .muka-emptystate__visual {
10665
- width: var(--emptystate-icon-size-sm);
10666
- height: var(--emptystate-icon-size-sm);
10667
- }
10668
-
10669
- .muka-emptystate--md .muka-emptystate__visual {
10670
- width: var(--emptystate-icon-size-md);
10671
- height: var(--emptystate-icon-size-md);
10672
- }
10673
-
10674
- .muka-emptystate--lg .muka-emptystate__visual {
10675
- width: var(--emptystate-icon-size-lg);
10676
- height: var(--emptystate-icon-size-lg);
10677
- }
10678
-
10679
- .muka-emptystate__visual svg {
10680
- width: 100%;
10681
- height: 100%;
10682
- }
10683
-
10684
- .muka-emptystate__visual img {
10685
- width: 100%;
10686
- height: 100%;
10687
- object-fit: contain;
10688
- }
10689
-
10690
- /* Content */
10691
- .muka-emptystate__content {
10692
- display: flex;
10693
- flex-direction: column;
10694
- gap: var(--spacing-2);
10695
- }
10696
-
10697
- .muka-emptystate--left .muka-emptystate__content {
10698
- align-items: flex-start;
10699
- }
10700
-
10701
- /* Title */
10702
- .muka-emptystate__title {
10703
- color: var(--emptystate-title-color);
10704
- margin: 0;
10705
- font-family: var(--text-heading-sm-fontFamily);
10706
- font-weight: var(--text-heading-sm-fontWeight);
10707
- font-size: var(--text-heading-sm-fontSize);
10708
- line-height: var(--text-heading-sm-lineHeight);
10709
- }
10710
-
10711
- .muka-emptystate--sm .muka-emptystate__title {
10712
- font-family: var(--text-label-lg-semibold-fontFamily);
10713
- font-weight: var(--text-label-lg-semibold-fontWeight);
10714
- font-size: var(--text-label-lg-semibold-fontSize);
10715
- line-height: var(--text-label-lg-semibold-lineHeight);
10716
- }
10717
-
10718
- .muka-emptystate--lg .muka-emptystate__title {
10719
- font-family: var(--text-heading-md-fontFamily);
10720
- font-weight: var(--text-heading-md-fontWeight);
10721
- font-size: var(--text-heading-md-fontSize);
10722
- line-height: var(--text-heading-md-lineHeight);
10723
- }
10724
-
10725
- /* Description */
10726
- .muka-emptystate__description {
10727
- color: var(--emptystate-description-color);
10728
- margin: 0;
10729
- font-family: var(--text-body-sm-regular-fontFamily);
10730
- font-weight: var(--text-body-sm-regular-fontWeight);
10731
- font-size: var(--text-body-sm-regular-fontSize);
10732
- line-height: var(--text-body-sm-regular-lineHeight);
10733
- }
10734
-
10735
- .muka-emptystate--md .muka-emptystate__description {
10736
- font-family: var(--text-body-base-regular-fontFamily);
10737
- font-weight: var(--text-body-base-regular-fontWeight);
10738
- font-size: var(--text-body-base-regular-fontSize);
10739
- line-height: var(--text-body-base-regular-lineHeight);
10740
- }
10741
-
10742
- .muka-emptystate--lg .muka-emptystate__description {
10743
- font-family: var(--text-body-lg-regular-fontFamily);
10744
- font-weight: var(--text-body-lg-regular-fontWeight);
10745
- font-size: var(--text-body-lg-regular-fontSize);
10746
- line-height: var(--text-body-lg-regular-lineHeight);
10747
- }
10748
-
10749
- /* Actions */
10750
- .muka-emptystate__actions {
10751
- display: flex;
10752
- gap: var(--emptystate-actions-gap);
10753
- margin-top: var(--emptystate-actions-marginTop);
10754
- flex-wrap: wrap;
10755
- justify-content: center;
10756
- }
10757
-
10758
- .muka-emptystate--left .muka-emptystate__actions {
10759
- justify-content: flex-start;
10760
- }
10761
-
10762
-
10763
10763
  /* Drawer */
10764
10764
  /* Drawer Component Styles */
10765
10765
 
@@ -10874,30 +10874,10 @@ li.muka-listitem {
10874
10874
  max-height: 100vh;
10875
10875
  }
10876
10876
 
10877
- /* Header */
10878
- .muka-drawer__header {
10879
- display: flex;
10880
- align-items: center;
10881
- gap: var(--spacing-3);
10882
- padding: var(--spacing-4);
10883
- border-bottom: var(--border-width-regular) solid var(--color-border-default);
10884
- flex-shrink: 0;
10885
- }
10886
-
10887
- .muka-drawer__title {
10888
- flex: 1;
10889
- margin: 0;
10890
- font-family: var(--text-label-lg-semibold-fontFamily);
10891
- font-weight: var(--text-label-lg-semibold-fontWeight);
10892
- font-size: var(--text-label-lg-semibold-fontSize);
10893
- line-height: var(--text-label-lg-semibold-lineHeight);
10894
- color: var(--color-text-default-default);
10895
- }
10896
-
10897
- .muka-drawer__leading,
10898
- .muka-drawer__trailing {
10899
- display: flex;
10900
- align-items: center;
10877
+ /* Header: the shared TopBar, raised above the scrolling body like in Dialog */
10878
+ .muka-drawer .muka-topbar {
10879
+ position: relative;
10880
+ z-index: 1;
10901
10881
  flex-shrink: 0;
10902
10882
  }
10903
10883
 
@@ -11492,6 +11472,16 @@ li.muka-listitem {
11492
11472
  box-shadow: var(--shadow-level2);
11493
11473
  }
11494
11474
 
11475
+ /* ─── Discard confirmation ────────────────────────────── */
11476
+
11477
+ .muka-dialog__discard-message {
11478
+ margin: 0;
11479
+ color: var(--color-text-subtle-default);
11480
+ font-family: var(--text-body-base-regular-fontFamily);
11481
+ font-size: var(--text-body-base-regular-fontSize);
11482
+ line-height: var(--text-body-base-regular-lineHeight);
11483
+ }
11484
+
11495
11485
 
11496
11486
  /* DatePicker */
11497
11487
  /* DatePicker — compact native date field. */
@@ -12351,248 +12341,90 @@ li.muka-listitem {
12351
12341
  padding: calc(var(--spacing-2) - 1px);
12352
12342
  }
12353
12343
 
12354
- .muka-combobox__field--error:not(.muka-combobox__field--disabled) {
12355
- border-color: var(--color-state-error-contrast);
12356
- }
12357
-
12358
- .muka-combobox__field--disabled {
12359
- opacity: 0.5;
12360
- cursor: not-allowed;
12361
- }
12362
-
12363
- .muka-combobox__field--multiline {
12364
- align-items: flex-start;
12365
- min-height: 7rem;
12366
- }
12367
-
12368
- .muka-combobox__chips {
12369
- display: flex;
12370
- flex: 1 1 auto;
12371
- flex-wrap: wrap;
12372
- gap: var(--spacing-2);
12373
- align-items: center;
12374
- min-width: 0;
12375
- width: 100%;
12376
- position: relative;
12377
- z-index: 1;
12378
- }
12379
-
12380
- .muka-combobox__input {
12381
- flex: 1 1 5rem;
12382
- min-width: 5rem;
12383
- min-height: 2rem;
12384
- margin: 0;
12385
- padding: 0 var(--spacing-1);
12386
- border: none;
12387
- outline: none;
12388
- background: transparent;
12389
- color: var(--input-field-color-default-foreground);
12390
- caret-color: var(--input-field-color-default-foreground);
12391
- font-family: var(--text-label-md-regular-fontFamily);
12392
- font-size: var(--text-label-md-regular-fontSize);
12393
- font-weight: var(--text-label-md-regular-fontWeight);
12394
- line-height: var(--text-label-md-regular-lineHeight);
12395
- }
12396
-
12397
- .muka-combobox__input::placeholder {
12398
- color: var(--color-text-subtle-default);
12399
- }
12400
-
12401
- .muka-combobox__helper {
12402
- margin: 0;
12403
- color: var(--color-text-subtle-default);
12404
- font-family: var(--text-label-sm-regular-fontFamily);
12405
- font-size: var(--text-label-sm-regular-fontSize);
12406
- font-weight: var(--text-label-sm-regular-fontWeight);
12407
- line-height: var(--text-label-sm-regular-lineHeight);
12408
- }
12409
-
12410
- .muka-combobox__error {
12411
- margin: 0;
12412
- color: var(--color-state-error-default);
12413
- font-family: var(--text-label-sm-regular-fontFamily);
12414
- font-size: var(--text-label-sm-regular-fontSize);
12415
- font-weight: var(--text-label-sm-regular-fontWeight);
12416
- line-height: var(--text-label-sm-regular-lineHeight);
12417
- }
12418
-
12419
- .muka-combobox__menu-anchor {
12420
- position: absolute;
12421
- inset: 0;
12422
- z-index: 0;
12423
- width: 100%;
12424
- height: 100%;
12425
- margin: 0;
12426
- padding: 0;
12427
- border: none;
12428
- background: transparent;
12429
- pointer-events: none;
12430
- opacity: 0;
12431
- }
12432
-
12433
- .muka-combobox__menu {
12434
- /* Prefer Menu token min-width (280px); may exceed the field when left-aligned. */
12435
- min-width: var(--menu-content-min-width);
12436
- width: max-content;
12437
- max-width: min(100vw - 2rem, 24rem);
12438
- }
12439
-
12440
-
12441
- /* CheckboxTile */
12442
- /* CheckboxTile Component Styles - Using Muka Design Tokens */
12443
-
12444
- /* Base tile styles - horizontal */
12445
- .muka-checkbox-tile {
12446
- display: flex;
12447
- align-items: center;
12448
- gap: var(--spacing-4);
12449
- padding: var(--spacing-4);
12450
- border: var(--border-width-regular) solid var(--input-field-color-default-border);
12451
- border-radius: var(--input-field-radius-lg);
12452
- background-color: var(--color-surface-level3);
12453
- cursor: pointer;
12454
- transition: border-color 0.15s ease, border-width 0.15s ease;
12455
- overflow: hidden;
12456
- box-sizing: border-box;
12457
- }
12458
-
12459
- .muka-checkbox-tile--disabled {
12460
- cursor: not-allowed;
12461
- opacity: 0.6;
12462
- }
12463
-
12464
- /* Selected state */
12465
- .muka-checkbox-tile[data-checked] {
12466
- border-width: var(--border-width-bold);
12467
- border-color: var(--color-action-default);
12468
- }
12469
-
12470
- /* Vertical layout */
12471
- .muka-checkbox-tile--vertical {
12472
- flex-direction: column;
12473
- align-items: center;
12474
- gap: var(--spacing-2);
12475
- position: relative;
12476
- width: 160px;
12477
- }
12478
-
12479
- /* Checkbox container */
12480
- .muka-checkbox-tile__checkbox {
12481
- flex-shrink: 0;
12482
- }
12483
-
12484
- /* Corner-positioned checkbox for vertical */
12485
- .muka-checkbox-tile__checkbox--corner {
12486
- position: absolute;
12487
- top: var(--spacing-4);
12488
- left: var(--spacing-4);
12489
- }
12490
-
12491
- /* Adjust corner position when selected (border is thicker) */
12492
- .muka-checkbox-tile[data-checked] .muka-checkbox-tile__checkbox--corner {
12493
- top: calc(var(--spacing-4) - 1px);
12494
- left: calc(var(--spacing-4) - 1px);
12495
- }
12496
-
12497
- /* Icon */
12498
- .muka-checkbox-tile__icon {
12499
- display: flex;
12500
- align-items: center;
12501
- justify-content: center;
12502
- flex-shrink: 0;
12503
- width: var(--icon-size-default);
12504
- height: var(--icon-size-default);
12505
- color: var(--color-text-default-default);
12506
- }
12507
-
12508
- .muka-checkbox-tile__icon svg {
12509
- width: 100%;
12510
- height: 100%;
12511
- }
12512
-
12513
- /* Image */
12514
- .muka-checkbox-tile__image {
12515
- flex-shrink: 0;
12516
- overflow: hidden;
12517
- border-radius: var(--border-radius-sm);
12518
- }
12519
-
12520
- .muka-checkbox-tile__image img {
12521
- display: block;
12522
- width: 100%;
12523
- height: 100%;
12524
- object-fit: cover;
12525
- }
12526
-
12527
- /* Horizontal image sizing */
12528
- .muka-checkbox-tile__image--horizontal {
12529
- width: 40px;
12530
- height: 40px;
12531
- }
12532
-
12533
- /* Vertical image sizing */
12534
- .muka-checkbox-tile--vertical .muka-checkbox-tile__image {
12535
- width: 100%;
12536
- aspect-ratio: 4/3;
12537
- }
12538
-
12539
- /* Content container */
12540
- .muka-checkbox-tile__content {
12541
- display: flex;
12542
- flex-direction: column;
12543
- flex: 1;
12544
- min-width: 0;
12545
- gap: var(--spacing-2);
12546
- }
12547
-
12548
- .muka-checkbox-tile__content-inner {
12549
- display: flex;
12550
- flex-direction: column;
12551
- gap: var(--spacing-1);
12552
- }
12553
-
12554
- /* Chip slot (replaces badge; use Chip component) */
12555
- .muka-checkbox-tile__chip {
12556
- flex-shrink: 0;
12344
+ .muka-combobox__field--error:not(.muka-combobox__field--disabled) {
12345
+ border-color: var(--color-state-error-contrast);
12557
12346
  }
12558
12347
 
12559
- .muka-checkbox-tile__chip--vertical {
12560
- margin-top: var(--spacing-1);
12348
+ .muka-combobox__field--disabled {
12349
+ opacity: 0.5;
12350
+ cursor: not-allowed;
12561
12351
  }
12562
12352
 
12563
- /* Label */
12564
- .muka-checkbox-tile__label {
12565
- font-family: var(--text-body-lg-regular-fontFamily);
12566
- font-weight: var(--text-body-lg-regular-fontWeight);
12567
- font-size: var(--text-body-lg-regular-fontSize);
12568
- line-height: var(--text-body-lg-regular-lineHeight);
12569
- color: var(--color-text-default-default);
12353
+ .muka-combobox__field--multiline {
12354
+ align-items: flex-start;
12355
+ min-height: 7rem;
12570
12356
  }
12571
12357
 
12572
- .muka-checkbox-tile__label--bold {
12573
- font-family: var(--text-label-lg-semibold-fontFamily);
12574
- font-weight: var(--text-label-lg-semibold-fontWeight);
12575
- font-size: var(--text-label-lg-semibold-fontSize);
12576
- line-height: var(--text-label-lg-semibold-lineHeight);
12358
+ .muka-combobox__chips {
12359
+ display: flex;
12360
+ flex: 1 1 auto;
12361
+ flex-wrap: wrap;
12362
+ gap: var(--spacing-2);
12363
+ align-items: center;
12364
+ min-width: 0;
12365
+ width: 100%;
12366
+ position: relative;
12367
+ z-index: 1;
12577
12368
  }
12578
12369
 
12579
- .muka-checkbox-tile__label--center {
12580
- text-align: center;
12370
+ .muka-combobox__input {
12371
+ flex: 1 1 5rem;
12372
+ min-width: 5rem;
12373
+ min-height: 2rem;
12374
+ margin: 0;
12375
+ padding: 0 var(--spacing-1);
12376
+ border: none;
12377
+ outline: none;
12378
+ background: transparent;
12379
+ color: var(--input-field-color-default-foreground);
12380
+ caret-color: var(--input-field-color-default-foreground);
12381
+ font-family: var(--text-label-md-regular-fontFamily);
12382
+ font-size: var(--text-label-md-regular-fontSize);
12383
+ font-weight: var(--text-label-md-regular-fontWeight);
12384
+ line-height: var(--text-label-md-regular-lineHeight);
12581
12385
  }
12582
12386
 
12583
- /* Caption */
12584
- .muka-checkbox-tile__caption {
12585
- font-family: var(--text-body-base-regular-fontFamily);
12586
- font-weight: var(--text-body-base-regular-fontWeight);
12587
- font-size: var(--text-body-base-regular-fontSize);
12588
- line-height: var(--text-body-base-regular-lineHeight);
12387
+ .muka-combobox__input::placeholder {
12589
12388
  color: var(--color-text-subtle-default);
12590
12389
  }
12591
12390
 
12592
- /* Disabled states */
12593
- .muka-checkbox-tile--disabled .muka-checkbox-tile__label,
12594
- .muka-checkbox-tile--disabled .muka-checkbox-tile__icon {
12391
+ .muka-combobox__helper {
12392
+ margin: 0;
12595
12393
  color: var(--color-text-subtle-default);
12394
+ font-family: var(--text-label-sm-regular-fontFamily);
12395
+ font-size: var(--text-label-sm-regular-fontSize);
12396
+ font-weight: var(--text-label-sm-regular-fontWeight);
12397
+ line-height: var(--text-label-sm-regular-lineHeight);
12398
+ }
12399
+
12400
+ .muka-combobox__error {
12401
+ margin: 0;
12402
+ color: var(--color-state-error-default);
12403
+ font-family: var(--text-label-sm-regular-fontFamily);
12404
+ font-size: var(--text-label-sm-regular-fontSize);
12405
+ font-weight: var(--text-label-sm-regular-fontWeight);
12406
+ line-height: var(--text-label-sm-regular-lineHeight);
12407
+ }
12408
+
12409
+ .muka-combobox__menu-anchor {
12410
+ position: absolute;
12411
+ inset: 0;
12412
+ z-index: 0;
12413
+ width: 100%;
12414
+ height: 100%;
12415
+ margin: 0;
12416
+ padding: 0;
12417
+ border: none;
12418
+ background: transparent;
12419
+ pointer-events: none;
12420
+ opacity: 0;
12421
+ }
12422
+
12423
+ .muka-combobox__menu {
12424
+ /* Prefer Menu token min-width (280px); may exceed the field when left-aligned. */
12425
+ min-width: var(--menu-content-min-width);
12426
+ width: max-content;
12427
+ max-width: min(100vw - 2rem, 24rem);
12596
12428
  }
12597
12429
 
12598
12430
 
@@ -12897,6 +12729,164 @@ li.muka-listitem {
12897
12729
  }
12898
12730
 
12899
12731
 
12732
+ /* CheckboxTile */
12733
+ /* CheckboxTile Component Styles - Using Muka Design Tokens */
12734
+
12735
+ /* Base tile styles - horizontal */
12736
+ .muka-checkbox-tile {
12737
+ display: flex;
12738
+ align-items: center;
12739
+ gap: var(--spacing-4);
12740
+ padding: var(--spacing-4);
12741
+ border: var(--border-width-regular) solid var(--input-field-color-default-border);
12742
+ border-radius: var(--input-field-radius-lg);
12743
+ background-color: var(--color-surface-level3);
12744
+ cursor: pointer;
12745
+ transition: border-color 0.15s ease, border-width 0.15s ease;
12746
+ overflow: hidden;
12747
+ box-sizing: border-box;
12748
+ }
12749
+
12750
+ .muka-checkbox-tile--disabled {
12751
+ cursor: not-allowed;
12752
+ opacity: 0.6;
12753
+ }
12754
+
12755
+ /* Selected state */
12756
+ .muka-checkbox-tile[data-checked] {
12757
+ border-width: var(--border-width-bold);
12758
+ border-color: var(--color-action-default);
12759
+ }
12760
+
12761
+ /* Vertical layout */
12762
+ .muka-checkbox-tile--vertical {
12763
+ flex-direction: column;
12764
+ align-items: center;
12765
+ gap: var(--spacing-2);
12766
+ position: relative;
12767
+ width: 160px;
12768
+ }
12769
+
12770
+ /* Checkbox container */
12771
+ .muka-checkbox-tile__checkbox {
12772
+ flex-shrink: 0;
12773
+ }
12774
+
12775
+ /* Corner-positioned checkbox for vertical */
12776
+ .muka-checkbox-tile__checkbox--corner {
12777
+ position: absolute;
12778
+ top: var(--spacing-4);
12779
+ left: var(--spacing-4);
12780
+ }
12781
+
12782
+ /* Adjust corner position when selected (border is thicker) */
12783
+ .muka-checkbox-tile[data-checked] .muka-checkbox-tile__checkbox--corner {
12784
+ top: calc(var(--spacing-4) - 1px);
12785
+ left: calc(var(--spacing-4) - 1px);
12786
+ }
12787
+
12788
+ /* Icon */
12789
+ .muka-checkbox-tile__icon {
12790
+ display: flex;
12791
+ align-items: center;
12792
+ justify-content: center;
12793
+ flex-shrink: 0;
12794
+ width: var(--icon-size-default);
12795
+ height: var(--icon-size-default);
12796
+ color: var(--color-text-default-default);
12797
+ }
12798
+
12799
+ .muka-checkbox-tile__icon svg {
12800
+ width: 100%;
12801
+ height: 100%;
12802
+ }
12803
+
12804
+ /* Image */
12805
+ .muka-checkbox-tile__image {
12806
+ flex-shrink: 0;
12807
+ overflow: hidden;
12808
+ border-radius: var(--border-radius-sm);
12809
+ }
12810
+
12811
+ .muka-checkbox-tile__image img {
12812
+ display: block;
12813
+ width: 100%;
12814
+ height: 100%;
12815
+ object-fit: cover;
12816
+ }
12817
+
12818
+ /* Horizontal image sizing */
12819
+ .muka-checkbox-tile__image--horizontal {
12820
+ width: 40px;
12821
+ height: 40px;
12822
+ }
12823
+
12824
+ /* Vertical image sizing */
12825
+ .muka-checkbox-tile--vertical .muka-checkbox-tile__image {
12826
+ width: 100%;
12827
+ aspect-ratio: 4/3;
12828
+ }
12829
+
12830
+ /* Content container */
12831
+ .muka-checkbox-tile__content {
12832
+ display: flex;
12833
+ flex-direction: column;
12834
+ flex: 1;
12835
+ min-width: 0;
12836
+ gap: var(--spacing-2);
12837
+ }
12838
+
12839
+ .muka-checkbox-tile__content-inner {
12840
+ display: flex;
12841
+ flex-direction: column;
12842
+ gap: var(--spacing-1);
12843
+ }
12844
+
12845
+ /* Chip slot (replaces badge; use Chip component) */
12846
+ .muka-checkbox-tile__chip {
12847
+ flex-shrink: 0;
12848
+ }
12849
+
12850
+ .muka-checkbox-tile__chip--vertical {
12851
+ margin-top: var(--spacing-1);
12852
+ }
12853
+
12854
+ /* Label */
12855
+ .muka-checkbox-tile__label {
12856
+ font-family: var(--text-body-lg-regular-fontFamily);
12857
+ font-weight: var(--text-body-lg-regular-fontWeight);
12858
+ font-size: var(--text-body-lg-regular-fontSize);
12859
+ line-height: var(--text-body-lg-regular-lineHeight);
12860
+ color: var(--color-text-default-default);
12861
+ }
12862
+
12863
+ .muka-checkbox-tile__label--bold {
12864
+ font-family: var(--text-label-lg-semibold-fontFamily);
12865
+ font-weight: var(--text-label-lg-semibold-fontWeight);
12866
+ font-size: var(--text-label-lg-semibold-fontSize);
12867
+ line-height: var(--text-label-lg-semibold-lineHeight);
12868
+ }
12869
+
12870
+ .muka-checkbox-tile__label--center {
12871
+ text-align: center;
12872
+ }
12873
+
12874
+ /* Caption */
12875
+ .muka-checkbox-tile__caption {
12876
+ font-family: var(--text-body-base-regular-fontFamily);
12877
+ font-weight: var(--text-body-base-regular-fontWeight);
12878
+ font-size: var(--text-body-base-regular-fontSize);
12879
+ line-height: var(--text-body-base-regular-lineHeight);
12880
+ color: var(--color-text-subtle-default);
12881
+ }
12882
+
12883
+ /* Disabled states */
12884
+ .muka-checkbox-tile--disabled .muka-checkbox-tile__label,
12885
+ .muka-checkbox-tile--disabled .muka-checkbox-tile__icon {
12886
+ color: var(--color-text-subtle-default);
12887
+ }
12888
+
12889
+
12900
12890
  /* Checkbox */
12901
12891
  /* Checkbox Component Styles - Using Muka Design Tokens */
12902
12892