@revikornmann/muka-ui 0.46.0 → 0.47.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 (84) hide show
  1. package/dist/cjs/components/ChatChoiceCard/ChatChoiceCard.css +33 -0
  2. package/dist/cjs/components/ChatChoiceCard/ChatChoiceCard.js +47 -0
  3. package/dist/cjs/components/ChatChoiceCard/ChatChoiceCard.js.map +1 -0
  4. package/dist/cjs/components/ChatChoiceCard/ChoiceOptions.js +39 -0
  5. package/dist/cjs/components/ChatChoiceCard/ChoiceOptions.js.map +1 -0
  6. package/dist/cjs/components/ChatChoiceCard/index.js +11 -0
  7. package/dist/cjs/components/ChatChoiceCard/index.js.map +1 -0
  8. package/dist/cjs/components/ChatQuestionCard/ChatQuestionCard.css +76 -0
  9. package/dist/cjs/components/ChatQuestionCard/ChatQuestionCard.js +36 -0
  10. package/dist/cjs/components/ChatQuestionCard/ChatQuestionCard.js.map +1 -0
  11. package/dist/cjs/components/ChatQuestionCard/index.js +11 -0
  12. package/dist/cjs/components/ChatQuestionCard/index.js.map +1 -0
  13. package/dist/cjs/components/ChatQuestionSeries/ChatQuestionSeries.css +38 -0
  14. package/dist/cjs/components/ChatQuestionSeries/ChatQuestionSeries.js +93 -0
  15. package/dist/cjs/components/ChatQuestionSeries/ChatQuestionSeries.js.map +1 -0
  16. package/dist/cjs/components/ChatQuestionSeries/index.js +11 -0
  17. package/dist/cjs/components/ChatQuestionSeries/index.js.map +1 -0
  18. package/dist/cjs/components/Chip/Chip.js +14 -6
  19. package/dist/cjs/components/Chip/Chip.js.map +1 -1
  20. package/dist/cjs/components/ChipSelectGroup/ChipSelectGroup.css +6 -0
  21. package/dist/cjs/components/ChipSelectGroup/ChipSelectGroup.js +38 -0
  22. package/dist/cjs/components/ChipSelectGroup/ChipSelectGroup.js.map +1 -0
  23. package/dist/cjs/components/ChipSelectGroup/index.js +11 -0
  24. package/dist/cjs/components/ChipSelectGroup/index.js.map +1 -0
  25. package/dist/cjs/components/index.js +10 -1
  26. package/dist/cjs/components/index.js.map +1 -1
  27. package/dist/esm/components/ChatChoiceCard/ChatChoiceCard.css +33 -0
  28. package/dist/esm/components/ChatChoiceCard/ChatChoiceCard.js +41 -0
  29. package/dist/esm/components/ChatChoiceCard/ChatChoiceCard.js.map +1 -0
  30. package/dist/esm/components/ChatChoiceCard/ChoiceOptions.js +32 -0
  31. package/dist/esm/components/ChatChoiceCard/ChoiceOptions.js.map +1 -0
  32. package/dist/esm/components/ChatChoiceCard/index.js +3 -0
  33. package/dist/esm/components/ChatChoiceCard/index.js.map +1 -0
  34. package/dist/esm/components/ChatQuestionCard/ChatQuestionCard.css +76 -0
  35. package/dist/esm/components/ChatQuestionCard/ChatQuestionCard.js +30 -0
  36. package/dist/esm/components/ChatQuestionCard/ChatQuestionCard.js.map +1 -0
  37. package/dist/esm/components/ChatQuestionCard/index.js +3 -0
  38. package/dist/esm/components/ChatQuestionCard/index.js.map +1 -0
  39. package/dist/esm/components/ChatQuestionSeries/ChatQuestionSeries.css +38 -0
  40. package/dist/esm/components/ChatQuestionSeries/ChatQuestionSeries.js +87 -0
  41. package/dist/esm/components/ChatQuestionSeries/ChatQuestionSeries.js.map +1 -0
  42. package/dist/esm/components/ChatQuestionSeries/index.js +3 -0
  43. package/dist/esm/components/ChatQuestionSeries/index.js.map +1 -0
  44. package/dist/esm/components/Chip/Chip.js +14 -6
  45. package/dist/esm/components/Chip/Chip.js.map +1 -1
  46. package/dist/esm/components/ChipSelectGroup/ChipSelectGroup.css +6 -0
  47. package/dist/esm/components/ChipSelectGroup/ChipSelectGroup.js +32 -0
  48. package/dist/esm/components/ChipSelectGroup/ChipSelectGroup.js.map +1 -0
  49. package/dist/esm/components/ChipSelectGroup/index.js +3 -0
  50. package/dist/esm/components/ChipSelectGroup/index.js.map +1 -0
  51. package/dist/esm/components/index.js +5 -0
  52. package/dist/esm/components/index.js.map +1 -1
  53. package/dist/styles/components/ChatChoiceCard.css +33 -0
  54. package/dist/styles/components/ChatQuestionCard.css +76 -0
  55. package/dist/styles/components/ChatQuestionSeries.css +38 -0
  56. package/dist/styles/components/ChipSelectGroup.css +6 -0
  57. package/dist/styles/index.css +702 -537
  58. package/dist/styles/muka-dark.css +702 -537
  59. package/dist/styles/muka-light.css +702 -537
  60. package/dist/styles/wireframe-dark.css +702 -537
  61. package/dist/styles/wireframe-light.css +702 -537
  62. package/dist/types/components/ChatChoiceCard/ChatChoiceCard.d.ts +46 -0
  63. package/dist/types/components/ChatChoiceCard/ChatChoiceCard.d.ts.map +1 -0
  64. package/dist/types/components/ChatChoiceCard/ChoiceOptions.d.ts +25 -0
  65. package/dist/types/components/ChatChoiceCard/ChoiceOptions.d.ts.map +1 -0
  66. package/dist/types/components/ChatChoiceCard/index.d.ts +3 -0
  67. package/dist/types/components/ChatChoiceCard/index.d.ts.map +1 -0
  68. package/dist/types/components/ChatQuestionCard/ChatQuestionCard.d.ts +35 -0
  69. package/dist/types/components/ChatQuestionCard/ChatQuestionCard.d.ts.map +1 -0
  70. package/dist/types/components/ChatQuestionCard/index.d.ts +3 -0
  71. package/dist/types/components/ChatQuestionCard/index.d.ts.map +1 -0
  72. package/dist/types/components/ChatQuestionSeries/ChatQuestionSeries.d.ts +47 -0
  73. package/dist/types/components/ChatQuestionSeries/ChatQuestionSeries.d.ts.map +1 -0
  74. package/dist/types/components/ChatQuestionSeries/index.d.ts +3 -0
  75. package/dist/types/components/ChatQuestionSeries/index.d.ts.map +1 -0
  76. package/dist/types/components/Chip/Chip.d.ts +7 -0
  77. package/dist/types/components/Chip/Chip.d.ts.map +1 -1
  78. package/dist/types/components/ChipSelectGroup/ChipSelectGroup.d.ts +34 -0
  79. package/dist/types/components/ChipSelectGroup/ChipSelectGroup.d.ts.map +1 -0
  80. package/dist/types/components/ChipSelectGroup/index.d.ts +3 -0
  81. package/dist/types/components/ChipSelectGroup/index.d.ts.map +1 -0
  82. package/dist/types/components/index.d.ts +4 -0
  83. package/dist/types/components/index.d.ts.map +1 -1
  84. package/package.json +1 -1
@@ -5973,133 +5973,6 @@ body {
5973
5973
  }
5974
5974
 
5975
5975
 
5976
- /* Scrollbar */
5977
- /* Scrollbar — Figma menu scrollbar (32px rail, chevrons, grip thumb) */
5978
-
5979
- .muka-scrollbar {
5980
- display: flex;
5981
- flex-shrink: 0;
5982
- border-left: var(--border-width-regular) solid var(--color-border-default);
5983
- background-color: var(--color-surface-level3);
5984
- user-select: none;
5985
- }
5986
-
5987
- .muka-scrollbar--vertical {
5988
- flex-direction: column;
5989
- width: var(--size-2xl, 32px);
5990
- align-self: stretch;
5991
- }
5992
-
5993
- .muka-scrollbar--horizontal {
5994
- flex-direction: row;
5995
- height: var(--size-2xl, 32px);
5996
- width: 100%;
5997
- border-left: none;
5998
- border-top: var(--border-width-regular) solid var(--color-border-default);
5999
- }
6000
-
6001
- .muka-scrollbar__button {
6002
- display: flex;
6003
- align-items: center;
6004
- justify-content: center;
6005
- flex-shrink: 0;
6006
- width: 100%;
6007
- height: var(--size-2xl, 32px);
6008
- padding: 0;
6009
- border: none;
6010
- background-color: var(--button-color-tertiary-background-default, var(--color-surface-level3));
6011
- color: var(--color-text-default-default);
6012
- cursor: pointer;
6013
- }
6014
-
6015
- .muka-scrollbar--horizontal .muka-scrollbar__button {
6016
- width: var(--size-2xl, 32px);
6017
- height: 100%;
6018
- }
6019
-
6020
- .muka-scrollbar__button:hover {
6021
- background-color: var(--color-surface-hover);
6022
- }
6023
-
6024
- .muka-scrollbar__divider {
6025
- flex-shrink: 0;
6026
- width: 100%;
6027
- height: 1px;
6028
- background-color: var(--color-border-default);
6029
- }
6030
-
6031
- .muka-scrollbar--horizontal .muka-scrollbar__divider {
6032
- width: 1px;
6033
- height: 100%;
6034
- }
6035
-
6036
- .muka-scrollbar__track {
6037
- position: relative;
6038
- display: flex;
6039
- flex-direction: column;
6040
- flex: 1 1 auto;
6041
- min-height: 0;
6042
- width: 100%;
6043
- }
6044
-
6045
- .muka-scrollbar--horizontal .muka-scrollbar__track {
6046
- flex-direction: row;
6047
- min-width: 0;
6048
- height: 100%;
6049
- }
6050
-
6051
- .muka-scrollbar__thumb {
6052
- position: absolute;
6053
- left: 0;
6054
- top: 0;
6055
- z-index: 1;
6056
- display: flex;
6057
- align-items: center;
6058
- justify-content: center;
6059
- width: 100%;
6060
- /* Figma: scrollbar thumb fill = surface/level3 */
6061
- background-color: var(--color-surface-level3);
6062
- cursor: grab;
6063
- touch-action: none;
6064
- }
6065
-
6066
- .muka-scrollbar--horizontal .muka-scrollbar__thumb {
6067
- left: 0;
6068
- top: 0;
6069
- width: auto;
6070
- height: 100%;
6071
- margin-left: 0;
6072
- margin-top: 0;
6073
- }
6074
-
6075
- .muka-scrollbar__thumb:active {
6076
- cursor: grabbing;
6077
- }
6078
-
6079
- .muka-scrollbar__grip {
6080
- display: flex;
6081
- flex-direction: column;
6082
- gap: 2px;
6083
- width: 14px;
6084
- }
6085
-
6086
- .muka-scrollbar__grip::before,
6087
- .muka-scrollbar__grip::after {
6088
- content: '';
6089
- display: block;
6090
- width: 100%;
6091
- height: 2px;
6092
- border-radius: var(--border-radius-md);
6093
- background-color: var(--color-text-subtle-default);
6094
- }
6095
-
6096
- .muka-scrollbar__spacer {
6097
- flex: 1 1 auto;
6098
- min-height: 0;
6099
- background-color: var(--color-surface-level2);
6100
- }
6101
-
6102
-
6103
5976
  /* SearchInput */
6104
5977
  /* SearchInput Component Styles */
6105
5978
 
@@ -6269,6 +6142,133 @@ body {
6269
6142
  }
6270
6143
 
6271
6144
 
6145
+ /* Scrollbar */
6146
+ /* Scrollbar — Figma menu scrollbar (32px rail, chevrons, grip thumb) */
6147
+
6148
+ .muka-scrollbar {
6149
+ display: flex;
6150
+ flex-shrink: 0;
6151
+ border-left: var(--border-width-regular) solid var(--color-border-default);
6152
+ background-color: var(--color-surface-level3);
6153
+ user-select: none;
6154
+ }
6155
+
6156
+ .muka-scrollbar--vertical {
6157
+ flex-direction: column;
6158
+ width: var(--size-2xl, 32px);
6159
+ align-self: stretch;
6160
+ }
6161
+
6162
+ .muka-scrollbar--horizontal {
6163
+ flex-direction: row;
6164
+ height: var(--size-2xl, 32px);
6165
+ width: 100%;
6166
+ border-left: none;
6167
+ border-top: var(--border-width-regular) solid var(--color-border-default);
6168
+ }
6169
+
6170
+ .muka-scrollbar__button {
6171
+ display: flex;
6172
+ align-items: center;
6173
+ justify-content: center;
6174
+ flex-shrink: 0;
6175
+ width: 100%;
6176
+ height: var(--size-2xl, 32px);
6177
+ padding: 0;
6178
+ border: none;
6179
+ background-color: var(--button-color-tertiary-background-default, var(--color-surface-level3));
6180
+ color: var(--color-text-default-default);
6181
+ cursor: pointer;
6182
+ }
6183
+
6184
+ .muka-scrollbar--horizontal .muka-scrollbar__button {
6185
+ width: var(--size-2xl, 32px);
6186
+ height: 100%;
6187
+ }
6188
+
6189
+ .muka-scrollbar__button:hover {
6190
+ background-color: var(--color-surface-hover);
6191
+ }
6192
+
6193
+ .muka-scrollbar__divider {
6194
+ flex-shrink: 0;
6195
+ width: 100%;
6196
+ height: 1px;
6197
+ background-color: var(--color-border-default);
6198
+ }
6199
+
6200
+ .muka-scrollbar--horizontal .muka-scrollbar__divider {
6201
+ width: 1px;
6202
+ height: 100%;
6203
+ }
6204
+
6205
+ .muka-scrollbar__track {
6206
+ position: relative;
6207
+ display: flex;
6208
+ flex-direction: column;
6209
+ flex: 1 1 auto;
6210
+ min-height: 0;
6211
+ width: 100%;
6212
+ }
6213
+
6214
+ .muka-scrollbar--horizontal .muka-scrollbar__track {
6215
+ flex-direction: row;
6216
+ min-width: 0;
6217
+ height: 100%;
6218
+ }
6219
+
6220
+ .muka-scrollbar__thumb {
6221
+ position: absolute;
6222
+ left: 0;
6223
+ top: 0;
6224
+ z-index: 1;
6225
+ display: flex;
6226
+ align-items: center;
6227
+ justify-content: center;
6228
+ width: 100%;
6229
+ /* Figma: scrollbar thumb fill = surface/level3 */
6230
+ background-color: var(--color-surface-level3);
6231
+ cursor: grab;
6232
+ touch-action: none;
6233
+ }
6234
+
6235
+ .muka-scrollbar--horizontal .muka-scrollbar__thumb {
6236
+ left: 0;
6237
+ top: 0;
6238
+ width: auto;
6239
+ height: 100%;
6240
+ margin-left: 0;
6241
+ margin-top: 0;
6242
+ }
6243
+
6244
+ .muka-scrollbar__thumb:active {
6245
+ cursor: grabbing;
6246
+ }
6247
+
6248
+ .muka-scrollbar__grip {
6249
+ display: flex;
6250
+ flex-direction: column;
6251
+ gap: 2px;
6252
+ width: 14px;
6253
+ }
6254
+
6255
+ .muka-scrollbar__grip::before,
6256
+ .muka-scrollbar__grip::after {
6257
+ content: '';
6258
+ display: block;
6259
+ width: 100%;
6260
+ height: 2px;
6261
+ border-radius: var(--border-radius-md);
6262
+ background-color: var(--color-text-subtle-default);
6263
+ }
6264
+
6265
+ .muka-scrollbar__spacer {
6266
+ flex: 1 1 auto;
6267
+ min-height: 0;
6268
+ background-color: var(--color-surface-level2);
6269
+ }
6270
+
6271
+
6272
6272
  /* RecordingBar */
6273
6273
  /* RecordingBar Component Styles */
6274
6274
 
@@ -8556,122 +8556,6 @@ button.muka-progress-tracker__tab:focus-visible {
8556
8556
  }
8557
8557
 
8558
8558
 
8559
- /* PhotoUploader */
8560
- /* PhotoUploader Component Styles - Using Muka Design Tokens */
8561
-
8562
- .muka-photo-uploader {
8563
- display: flex;
8564
- flex-direction: column;
8565
- align-items: flex-start;
8566
- gap: var(--spacing-4);
8567
- width: 100%;
8568
- }
8569
-
8570
- /* Visually-hidden native file input */
8571
- .muka-photo-uploader__input {
8572
- position: absolute;
8573
- width: 1px;
8574
- height: 1px;
8575
- padding: 0;
8576
- margin: -1px;
8577
- overflow: hidden;
8578
- clip: rect(0, 0, 0, 0);
8579
- white-space: nowrap;
8580
- border: 0;
8581
- }
8582
-
8583
- /* ─── Error feedback alert ────────────────────────────── */
8584
- .muka-photo-uploader__alert {
8585
- width: 100%;
8586
- }
8587
-
8588
- /* ─── Thumbnail grid ──────────────────────────────────── */
8589
- .muka-photo-uploader__grid {
8590
- display: flex;
8591
- flex-wrap: wrap;
8592
- gap: var(--spacing-3);
8593
- width: 100%;
8594
- margin: 0;
8595
- padding: 0;
8596
- list-style: none;
8597
- }
8598
-
8599
- .muka-photo-uploader__grid-item {
8600
- margin: 0;
8601
- padding: 0;
8602
- }
8603
-
8604
- /* ─── Drop zone card (button + "or drop here") ────────── */
8605
- .muka-photo-uploader__dropzone {
8606
- display: flex;
8607
- flex-direction: column;
8608
- align-items: center;
8609
- justify-content: center;
8610
- gap: var(--spacing-4);
8611
- width: 100%;
8612
- padding: var(--card-padding-lg);
8613
- background-color: var(--card-color-default-background);
8614
- border: var(--border-width-regular, 1px) solid var(--card-color-default-border);
8615
- border-radius: var(--border-radius-lg);
8616
- cursor: pointer;
8617
- text-align: center;
8618
- transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
8619
- border-color var(--motion-duration-micro) var(--motion-easing-enter);
8620
- }
8621
-
8622
- .muka-photo-uploader__dropzone:hover,
8623
- .muka-photo-uploader__dropzone--active {
8624
- border-color: var(--color-border-focus);
8625
- background-color: var(--color-surface-level1);
8626
- }
8627
-
8628
- .muka-photo-uploader__dropzone-text {
8629
- font-family: var(--text-subheading-sm-fontFamily);
8630
- font-size: var(--text-subheading-sm-fontSize);
8631
- font-weight: var(--text-subheading-sm-fontWeight);
8632
- line-height: var(--text-subheading-sm-lineHeight);
8633
- color: var(--color-text-default-default);
8634
- }
8635
-
8636
- /* ─── Disabled ────────────────────────────────────────── */
8637
- .muka-photo-uploader--disabled .muka-photo-uploader__dropzone {
8638
- cursor: not-allowed;
8639
- opacity: 0.6;
8640
- }
8641
-
8642
- .muka-photo-uploader--disabled .muka-photo-uploader__dropzone:hover {
8643
- border-color: var(--card-color-default-border);
8644
- background-color: var(--card-color-default-background);
8645
- }
8646
-
8647
- /* ─── Enlarged photo dialog ───────────────────────────── */
8648
- .muka-photo-uploader__preview {
8649
- display: flex;
8650
- align-items: center;
8651
- justify-content: center;
8652
- width: 100%;
8653
- height: 100%;
8654
- }
8655
-
8656
- /* Fits the dialog while preserving the photo's original aspect ratio. */
8657
- .muka-photo-uploader__preview-image {
8658
- display: block;
8659
- max-width: 100%;
8660
- max-height: 100%;
8661
- width: auto;
8662
- height: auto;
8663
- object-fit: contain;
8664
- border-radius: var(--border-radius-lg);
8665
- }
8666
-
8667
- /* ─── Reduced motion ──────────────────────────────────── */
8668
- @media (prefers-reduced-motion: reduce) {
8669
- .muka-photo-uploader__dropzone {
8670
- transition: none;
8671
- }
8672
- }
8673
-
8674
-
8675
8559
  /* PhotoDraftStrip */
8676
8560
  /* PhotoDraftStrip Component Styles */
8677
8561
 
@@ -9341,6 +9225,122 @@ button.muka-progress-tracker__tab:focus-visible {
9341
9225
  }
9342
9226
 
9343
9227
 
9228
+ /* PhotoUploader */
9229
+ /* PhotoUploader Component Styles - Using Muka Design Tokens */
9230
+
9231
+ .muka-photo-uploader {
9232
+ display: flex;
9233
+ flex-direction: column;
9234
+ align-items: flex-start;
9235
+ gap: var(--spacing-4);
9236
+ width: 100%;
9237
+ }
9238
+
9239
+ /* Visually-hidden native file input */
9240
+ .muka-photo-uploader__input {
9241
+ position: absolute;
9242
+ width: 1px;
9243
+ height: 1px;
9244
+ padding: 0;
9245
+ margin: -1px;
9246
+ overflow: hidden;
9247
+ clip: rect(0, 0, 0, 0);
9248
+ white-space: nowrap;
9249
+ border: 0;
9250
+ }
9251
+
9252
+ /* ─── Error feedback alert ────────────────────────────── */
9253
+ .muka-photo-uploader__alert {
9254
+ width: 100%;
9255
+ }
9256
+
9257
+ /* ─── Thumbnail grid ──────────────────────────────────── */
9258
+ .muka-photo-uploader__grid {
9259
+ display: flex;
9260
+ flex-wrap: wrap;
9261
+ gap: var(--spacing-3);
9262
+ width: 100%;
9263
+ margin: 0;
9264
+ padding: 0;
9265
+ list-style: none;
9266
+ }
9267
+
9268
+ .muka-photo-uploader__grid-item {
9269
+ margin: 0;
9270
+ padding: 0;
9271
+ }
9272
+
9273
+ /* ─── Drop zone card (button + "or drop here") ────────── */
9274
+ .muka-photo-uploader__dropzone {
9275
+ display: flex;
9276
+ flex-direction: column;
9277
+ align-items: center;
9278
+ justify-content: center;
9279
+ gap: var(--spacing-4);
9280
+ width: 100%;
9281
+ padding: var(--card-padding-lg);
9282
+ background-color: var(--card-color-default-background);
9283
+ border: var(--border-width-regular, 1px) solid var(--card-color-default-border);
9284
+ border-radius: var(--border-radius-lg);
9285
+ cursor: pointer;
9286
+ text-align: center;
9287
+ transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
9288
+ border-color var(--motion-duration-micro) var(--motion-easing-enter);
9289
+ }
9290
+
9291
+ .muka-photo-uploader__dropzone:hover,
9292
+ .muka-photo-uploader__dropzone--active {
9293
+ border-color: var(--color-border-focus);
9294
+ background-color: var(--color-surface-level1);
9295
+ }
9296
+
9297
+ .muka-photo-uploader__dropzone-text {
9298
+ font-family: var(--text-subheading-sm-fontFamily);
9299
+ font-size: var(--text-subheading-sm-fontSize);
9300
+ font-weight: var(--text-subheading-sm-fontWeight);
9301
+ line-height: var(--text-subheading-sm-lineHeight);
9302
+ color: var(--color-text-default-default);
9303
+ }
9304
+
9305
+ /* ─── Disabled ────────────────────────────────────────── */
9306
+ .muka-photo-uploader--disabled .muka-photo-uploader__dropzone {
9307
+ cursor: not-allowed;
9308
+ opacity: 0.6;
9309
+ }
9310
+
9311
+ .muka-photo-uploader--disabled .muka-photo-uploader__dropzone:hover {
9312
+ border-color: var(--card-color-default-border);
9313
+ background-color: var(--card-color-default-background);
9314
+ }
9315
+
9316
+ /* ─── Enlarged photo dialog ───────────────────────────── */
9317
+ .muka-photo-uploader__preview {
9318
+ display: flex;
9319
+ align-items: center;
9320
+ justify-content: center;
9321
+ width: 100%;
9322
+ height: 100%;
9323
+ }
9324
+
9325
+ /* Fits the dialog while preserving the photo's original aspect ratio. */
9326
+ .muka-photo-uploader__preview-image {
9327
+ display: block;
9328
+ max-width: 100%;
9329
+ max-height: 100%;
9330
+ width: auto;
9331
+ height: auto;
9332
+ object-fit: contain;
9333
+ border-radius: var(--border-radius-lg);
9334
+ }
9335
+
9336
+ /* ─── Reduced motion ──────────────────────────────────── */
9337
+ @media (prefers-reduced-motion: reduce) {
9338
+ .muka-photo-uploader__dropzone {
9339
+ transition: none;
9340
+ }
9341
+ }
9342
+
9343
+
9344
9344
  /* MediaViewer */
9345
9345
  /* MediaViewer Component Styles - Using Muka Design Tokens */
9346
9346
 
@@ -10414,77 +10414,23 @@ li.muka-listitem {
10414
10414
  }
10415
10415
 
10416
10416
 
10417
- /* Icon */
10418
- /* Icon Component Styles - Using Muka Design Tokens */
10417
+ /* Form */
10418
+ .muka-form {
10419
+ display: flex;
10420
+ flex-direction: column;
10421
+ width: 100%;
10422
+ }
10419
10423
 
10420
- .muka-icon {
10421
- display: inline-flex;
10422
- align-items: center;
10423
- justify-content: center;
10424
- flex-shrink: 0;
10425
- color: var(--color-icon-default-default, currentColor);
10424
+ .muka-form--gap-sm {
10425
+ gap: var(--size-sm);
10426
10426
  }
10427
10427
 
10428
- /* Icons inside buttons should inherit from button's foreground color */
10429
- .muka-button .muka-icon {
10430
- color: inherit;
10428
+ .muka-form--gap-md {
10429
+ gap: var(--size-md);
10431
10430
  }
10432
10431
 
10433
- .muka-icon--subtle {
10434
- color: var(--color-icon-subtle-default);
10435
- }
10436
-
10437
- .muka-icon--muted {
10438
- color: var(--color-icon-muted-default);
10439
- }
10440
-
10441
- .muka-icon--inverse {
10442
- color: var(--color-icon-default-inverse);
10443
- }
10444
-
10445
- .muka-icon--xs {
10446
- width: var(--icon-size-xs);
10447
- height: var(--icon-size-xs);
10448
- }
10449
-
10450
- .muka-icon--sm {
10451
- width: var(--icon-size-sm);
10452
- height: var(--icon-size-sm);
10453
- }
10454
-
10455
- .muka-icon--md {
10456
- width: var(--icon-size-default);
10457
- height: var(--icon-size-default);
10458
- }
10459
-
10460
- .muka-icon--lg {
10461
- width: var(--icon-size-lg);
10462
- height: var(--icon-size-lg);
10463
- }
10464
-
10465
- .muka-icon svg {
10466
- width: 100%;
10467
- height: 100%;
10468
- }
10469
-
10470
-
10471
- /* Form */
10472
- .muka-form {
10473
- display: flex;
10474
- flex-direction: column;
10475
- width: 100%;
10476
- }
10477
-
10478
- .muka-form--gap-sm {
10479
- gap: var(--size-sm);
10480
- }
10481
-
10482
- .muka-form--gap-md {
10483
- gap: var(--size-md);
10484
- }
10485
-
10486
- .muka-form--gap-lg {
10487
- gap: var(--size-lg);
10432
+ .muka-form--gap-lg {
10433
+ gap: var(--size-lg);
10488
10434
  }
10489
10435
 
10490
10436
 
@@ -10891,6 +10837,60 @@ li.muka-listitem {
10891
10837
  }
10892
10838
 
10893
10839
 
10840
+ /* Icon */
10841
+ /* Icon Component Styles - Using Muka Design Tokens */
10842
+
10843
+ .muka-icon {
10844
+ display: inline-flex;
10845
+ align-items: center;
10846
+ justify-content: center;
10847
+ flex-shrink: 0;
10848
+ color: var(--color-icon-default-default, currentColor);
10849
+ }
10850
+
10851
+ /* Icons inside buttons should inherit from button's foreground color */
10852
+ .muka-button .muka-icon {
10853
+ color: inherit;
10854
+ }
10855
+
10856
+ .muka-icon--subtle {
10857
+ color: var(--color-icon-subtle-default);
10858
+ }
10859
+
10860
+ .muka-icon--muted {
10861
+ color: var(--color-icon-muted-default);
10862
+ }
10863
+
10864
+ .muka-icon--inverse {
10865
+ color: var(--color-icon-default-inverse);
10866
+ }
10867
+
10868
+ .muka-icon--xs {
10869
+ width: var(--icon-size-xs);
10870
+ height: var(--icon-size-xs);
10871
+ }
10872
+
10873
+ .muka-icon--sm {
10874
+ width: var(--icon-size-sm);
10875
+ height: var(--icon-size-sm);
10876
+ }
10877
+
10878
+ .muka-icon--md {
10879
+ width: var(--icon-size-default);
10880
+ height: var(--icon-size-default);
10881
+ }
10882
+
10883
+ .muka-icon--lg {
10884
+ width: var(--icon-size-lg);
10885
+ height: var(--icon-size-lg);
10886
+ }
10887
+
10888
+ .muka-icon svg {
10889
+ width: 100%;
10890
+ height: 100%;
10891
+ }
10892
+
10893
+
10894
10894
  /* EmptyState */
10895
10895
  /* EmptyState Component Styles - Using Muka Design Tokens */
10896
10896
 
@@ -12882,6 +12882,15 @@ li.muka-listitem {
12882
12882
  }
12883
12883
 
12884
12884
 
12885
+ /* ChipSelectGroup */
12886
+ /* ChipSelectGroup — wrapping row of selectable chips (experimental) */
12887
+ .muka-chip-select-group {
12888
+ display: flex;
12889
+ flex-wrap: wrap;
12890
+ gap: var(--spacing-2);
12891
+ }
12892
+
12893
+
12885
12894
  /* Chip */
12886
12895
  /* Chip Component Styles - Using Muka Design Tokens (Figma: Chip, Chip/Trailing) */
12887
12896
 
@@ -13575,6 +13584,126 @@ button.muka-chip__trailing[aria-expanded='true'],
13575
13584
  }
13576
13585
 
13577
13586
 
13587
+ /* ChatQuestionSeries */
13588
+ /* ChatQuestionSeries — step dots and the collapsed summary (experimental) */
13589
+ .muka-chat-series__dots {
13590
+ display: inline-flex;
13591
+ align-items: center;
13592
+ gap: var(--spacing-1);
13593
+ }
13594
+
13595
+ .muka-chat-series__dot {
13596
+ width: var(--spacing-1);
13597
+ height: var(--spacing-1);
13598
+ border-radius: var(--border-radius-full);
13599
+ background-color: var(--color-border-default);
13600
+ }
13601
+
13602
+ .muka-chat-series__dot--done {
13603
+ background-color: var(--color-text-subtle-default);
13604
+ }
13605
+
13606
+ .muka-chat-series__dot--current {
13607
+ width: var(--spacing-2);
13608
+ height: var(--spacing-2);
13609
+ background-color: var(--color-text-default-default);
13610
+ }
13611
+
13612
+ .muka-chat-series__summary {
13613
+ display: flex;
13614
+ flex-direction: column;
13615
+ gap: var(--spacing-2);
13616
+ }
13617
+
13618
+ .muka-chat-series__summary-row {
13619
+ display: flex;
13620
+ flex-direction: column;
13621
+ }
13622
+
13623
+ .muka-chat-series__summary-question {
13624
+ color: var(--color-text-subtle-default);
13625
+ }
13626
+
13627
+
13628
+ /* ChatQuestionCard */
13629
+ /*
13630
+ * ChatQuestionCard — in-thread question widget (experimental).
13631
+ * Inspired by the Agentic UX "Gather search criteria" cards: question on top,
13632
+ * compact controls, a footer only once there is something to submit.
13633
+ */
13634
+ .muka-chat-question-card {
13635
+ width: 100%;
13636
+ max-width: 100%;
13637
+ min-width: 0;
13638
+ }
13639
+
13640
+ .muka-chat-question-card__card {
13641
+ width: 100%;
13642
+ overflow: hidden;
13643
+ }
13644
+
13645
+ .muka-chat-question-card__content {
13646
+ display: flex;
13647
+ flex-direction: column;
13648
+ gap: var(--spacing-3);
13649
+ padding: var(--spacing-4);
13650
+ min-width: 0;
13651
+ }
13652
+
13653
+ .muka-chat-question-card__question {
13654
+ margin: 0;
13655
+ color: var(--color-text-default-default);
13656
+ font-family: var(--text-label-md-semibold-fontFamily);
13657
+ font-weight: var(--text-label-md-semibold-fontWeight);
13658
+ font-size: var(--text-label-md-semibold-fontSize);
13659
+ line-height: var(--text-label-md-semibold-lineHeight);
13660
+ }
13661
+
13662
+ .muka-chat-question-card--answered .muka-chat-question-card__question {
13663
+ color: var(--color-text-subtle-default);
13664
+ }
13665
+
13666
+ .muka-chat-question-card__answer {
13667
+ display: flex;
13668
+ align-items: flex-start;
13669
+ gap: var(--spacing-2);
13670
+ margin: 0;
13671
+ color: var(--color-text-default-default);
13672
+ font-family: var(--text-label-md-regular-fontFamily);
13673
+ font-weight: var(--text-label-md-regular-fontWeight);
13674
+ font-size: var(--text-label-md-regular-fontSize);
13675
+ line-height: var(--text-label-md-regular-lineHeight);
13676
+ }
13677
+
13678
+ .muka-chat-question-card__answer-icon {
13679
+ display: inline-flex;
13680
+ flex-shrink: 0;
13681
+ color: var(--color-text-action-default);
13682
+ }
13683
+
13684
+ .muka-chat-question-card__footer {
13685
+ display: flex;
13686
+ align-items: center;
13687
+ justify-content: space-between;
13688
+ gap: var(--spacing-3);
13689
+ padding: var(--spacing-3) var(--spacing-4);
13690
+ border-top: var(--border-width-regular) solid var(--color-border-muted);
13691
+ }
13692
+
13693
+ .muka-chat-question-card__footer-start {
13694
+ display: flex;
13695
+ align-items: center;
13696
+ min-width: 0;
13697
+ }
13698
+
13699
+ .muka-chat-question-card__footer-actions {
13700
+ display: flex;
13701
+ align-items: center;
13702
+ gap: var(--spacing-2);
13703
+ margin-inline-start: auto;
13704
+ }
13705
+
13706
+
13578
13707
  /* ChatPhotoGrid */
13579
13708
  /* ChatPhotoGrid Component Styles */
13580
13709
 
@@ -14417,6 +14546,42 @@ button.muka-chat-photo-grid__tile:focus-visible {
14417
14546
  }
14418
14547
 
14419
14548
 
14549
+ /* ChatChoiceCard */
14550
+ /* ChatChoiceCard — compact option rows (experimental) */
14551
+ .muka-chat-choice__list {
14552
+ display: flex;
14553
+ flex-direction: column;
14554
+ gap: var(--spacing-2);
14555
+ }
14556
+
14557
+ .muka-chat-choice__row {
14558
+ display: flex;
14559
+ align-items: center;
14560
+ min-height: var(--spacing-8);
14561
+ min-width: 0;
14562
+ }
14563
+
14564
+ .muka-chat-choice__row--other {
14565
+ gap: var(--spacing-2);
14566
+ }
14567
+
14568
+ /* The free-text option: the control, then the field filling the row. */
14569
+ .muka-chat-choice__row--other {
14570
+ flex-wrap: nowrap;
14571
+ }
14572
+
14573
+ .muka-chat-choice__row--other > .muka-radio,
14574
+ .muka-chat-choice__row--other > .muka-checkbox {
14575
+ flex: 0 0 auto;
14576
+ }
14577
+
14578
+ .muka-chat-choice__row--other > .muka-input {
14579
+ flex: 1 1 auto;
14580
+ width: auto;
14581
+ min-width: 0;
14582
+ }
14583
+
14584
+
14420
14585
  /* ChatAttachmentChip */
14421
14586
  /* ChatAttachmentChip Component Styles */
14422
14587
 
@@ -16370,28 +16535,239 @@ button.muka-chat-photo-grid__tile:focus-visible {
16370
16535
  }
16371
16536
 
16372
16537
 
16373
- /* AgentTaskList */
16374
- /* AgentTaskList Component Styles */
16538
+ /* Alert */
16539
+ /* Alert Component Styles - Using Muka Design Tokens */
16375
16540
 
16376
- .muka-agent-task-list {
16541
+ .muka-alert {
16377
16542
  display: flex;
16378
- flex-direction: column;
16379
- gap: var(--spacing-2);
16380
- width: 100%;
16381
- padding: 0 var(--spacing-2);
16543
+ align-items: flex-start;
16544
+ border-radius: var(--alert-radius);
16545
+ border: none;
16546
+ gap: var(--alert-gap);
16547
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
16382
16548
  }
16383
16549
 
16384
- /* ─── Header ───────────────────────────────────────────── */
16550
+ /* Size variants */
16551
+ .muka-alert--sm {
16552
+ padding: var(--alert-padding-sm-y) var(--alert-padding-sm-x);
16553
+ }
16385
16554
 
16386
- .muka-agent-task-list__header {
16387
- display: inline-flex;
16388
- align-items: center;
16389
- gap: var(--spacing-3);
16390
- background: none;
16391
- border: none;
16392
- padding: 0;
16393
- margin: 0;
16394
- cursor: pointer;
16555
+ .muka-alert--md {
16556
+ padding: var(--alert-padding-md-y) var(--alert-padding-md-x);
16557
+ }
16558
+
16559
+ .muka-alert--lg {
16560
+ padding: var(--alert-padding-lg-y) var(--alert-padding-lg-x);
16561
+ }
16562
+
16563
+ /* Variant: Info */
16564
+ .muka-alert--info {
16565
+ background-color: var(--alert-color-info-background);
16566
+ color: var(--alert-color-info-foreground);
16567
+ }
16568
+
16569
+ .muka-alert--info .muka-alert__icon {
16570
+ color: var(--alert-color-info-accent);
16571
+ }
16572
+
16573
+ .muka-alert--info .muka-alert__title {
16574
+ color: var(--alert-color-info-accent);
16575
+ }
16576
+
16577
+ .muka-alert--info .muka-alert__dismiss {
16578
+ color: var(--alert-color-info-accent);
16579
+ }
16580
+
16581
+ /* Variant: Success */
16582
+ .muka-alert--success {
16583
+ background-color: var(--alert-color-success-background);
16584
+ color: var(--alert-color-success-foreground);
16585
+ }
16586
+
16587
+ .muka-alert--success .muka-alert__icon {
16588
+ color: var(--alert-color-success-accent);
16589
+ }
16590
+
16591
+ .muka-alert--success .muka-alert__title {
16592
+ color: var(--alert-color-success-accent);
16593
+ }
16594
+
16595
+ .muka-alert--success .muka-alert__dismiss {
16596
+ color: var(--alert-color-success-accent);
16597
+ }
16598
+
16599
+ /* Variant: Warning */
16600
+ .muka-alert--warning {
16601
+ background-color: var(--alert-color-warning-background);
16602
+ color: var(--alert-color-warning-foreground);
16603
+ }
16604
+
16605
+ .muka-alert--warning .muka-alert__icon {
16606
+ color: var(--alert-color-warning-accent);
16607
+ }
16608
+
16609
+ .muka-alert--warning .muka-alert__title {
16610
+ color: var(--alert-color-warning-accent);
16611
+ }
16612
+
16613
+ .muka-alert--warning .muka-alert__dismiss {
16614
+ color: var(--alert-color-warning-accent);
16615
+ }
16616
+
16617
+ /* Variant: Error */
16618
+ .muka-alert--error {
16619
+ background-color: var(--alert-color-error-background);
16620
+ color: var(--alert-color-error-foreground);
16621
+ }
16622
+
16623
+ .muka-alert--error .muka-alert__icon {
16624
+ color: var(--alert-color-error-accent);
16625
+ }
16626
+
16627
+ .muka-alert--error .muka-alert__title {
16628
+ color: var(--alert-color-error-accent);
16629
+ }
16630
+
16631
+ .muka-alert--error .muka-alert__dismiss {
16632
+ color: var(--alert-color-error-accent);
16633
+ }
16634
+
16635
+ /* Icon */
16636
+ .muka-alert__icon {
16637
+ display: flex;
16638
+ align-items: center;
16639
+ justify-content: center;
16640
+ flex-shrink: 0;
16641
+ width: var(--alert-icon-size);
16642
+ height: var(--alert-icon-size);
16643
+ }
16644
+
16645
+ .muka-alert__icon svg {
16646
+ width: 100%;
16647
+ height: 100%;
16648
+ }
16649
+
16650
+ /* The leading icon and the dismiss (×) icon inherit the variant accent set on
16651
+ their container, overriding the Icon component's default color. */
16652
+ .muka-alert__icon .muka-icon,
16653
+ .muka-alert__dismiss .muka-icon {
16654
+ color: inherit;
16655
+ }
16656
+
16657
+ /* Content */
16658
+ .muka-alert__content {
16659
+ flex: 1;
16660
+ min-width: 0;
16661
+ }
16662
+
16663
+ .muka-alert__title {
16664
+ font-family: var(--text-label-md-semibold-fontFamily);
16665
+ font-weight: var(--text-label-md-semibold-fontWeight);
16666
+ font-size: var(--text-label-md-semibold-fontSize);
16667
+ line-height: var(--text-label-md-semibold-lineHeight);
16668
+ margin-bottom: var(--spacing-1);
16669
+ }
16670
+
16671
+ .muka-alert--sm .muka-alert__title {
16672
+ font-family: var(--text-label-sm-semibold-fontFamily);
16673
+ font-weight: var(--text-label-sm-semibold-fontWeight);
16674
+ font-size: var(--text-label-sm-semibold-fontSize);
16675
+ line-height: var(--text-label-sm-semibold-lineHeight);
16676
+ }
16677
+
16678
+ .muka-alert--lg .muka-alert__title {
16679
+ font-family: var(--text-label-lg-semibold-fontFamily);
16680
+ font-weight: var(--text-label-lg-semibold-fontWeight);
16681
+ font-size: var(--text-label-lg-semibold-fontSize);
16682
+ line-height: var(--text-label-lg-semibold-lineHeight);
16683
+ }
16684
+
16685
+ .muka-alert__message {
16686
+ font-family: var(--text-body-sm-regular-fontFamily);
16687
+ font-weight: var(--text-body-sm-regular-fontWeight);
16688
+ font-size: var(--text-body-sm-regular-fontSize);
16689
+ line-height: var(--text-body-sm-regular-lineHeight);
16690
+ /* Beat ambient docs/page text colors (e.g. Storybook sbdocs) so variant
16691
+ foreground stays readable in light and dark themes. */
16692
+ color: inherit;
16693
+ }
16694
+
16695
+ .muka-alert .muka-alert__message,
16696
+ .muka-alert .muka-alert__message * {
16697
+ color: inherit;
16698
+ }
16699
+
16700
+ .muka-alert--lg .muka-alert__message {
16701
+ font-family: var(--text-body-base-regular-fontFamily);
16702
+ font-weight: var(--text-body-base-regular-fontWeight);
16703
+ font-size: var(--text-body-base-regular-fontSize);
16704
+ line-height: var(--text-body-base-regular-lineHeight);
16705
+ }
16706
+
16707
+ /* Action slot — TextLink (or similar) below the message, matching Figma */
16708
+ .muka-alert__action {
16709
+ display: flex;
16710
+ flex-direction: column;
16711
+ align-items: flex-start;
16712
+ padding-top: var(--spacing-1);
16713
+ }
16714
+
16715
+ /* Dismiss button - uses accent color per variant, aligned with icon row */
16716
+ .muka-alert__dismiss {
16717
+ display: flex;
16718
+ align-items: center;
16719
+ justify-content: center;
16720
+ flex-shrink: 0;
16721
+ align-self: flex-start;
16722
+ width: 24px;
16723
+ height: 24px;
16724
+ padding: 0;
16725
+ margin: 0 0 0 auto;
16726
+ border: none;
16727
+ background: transparent;
16728
+ cursor: pointer;
16729
+ border-radius: var(--border-radius-sm);
16730
+ transition: opacity 0.15s ease, background-color 0.15s ease;
16731
+ }
16732
+
16733
+ .muka-alert__dismiss:hover {
16734
+ opacity: 0.85;
16735
+ background-color: rgba(0, 0, 0, 0.05);
16736
+ }
16737
+
16738
+ .muka-alert__dismiss:focus-visible {
16739
+ outline: 2px solid var(--color-border-focus);
16740
+ outline-offset: 2px;
16741
+ }
16742
+
16743
+ .muka-alert__dismiss svg {
16744
+ width: 16px;
16745
+ height: 16px;
16746
+ }
16747
+
16748
+
16749
+ /* AgentTaskList */
16750
+ /* AgentTaskList Component Styles */
16751
+
16752
+ .muka-agent-task-list {
16753
+ display: flex;
16754
+ flex-direction: column;
16755
+ gap: var(--spacing-2);
16756
+ width: 100%;
16757
+ padding: 0 var(--spacing-2);
16758
+ }
16759
+
16760
+ /* ─── Header ───────────────────────────────────────────── */
16761
+
16762
+ .muka-agent-task-list__header {
16763
+ display: inline-flex;
16764
+ align-items: center;
16765
+ gap: var(--spacing-3);
16766
+ background: none;
16767
+ border: none;
16768
+ padding: 0;
16769
+ margin: 0;
16770
+ cursor: pointer;
16395
16771
  color: var(--color-text-subtle-default);
16396
16772
  font-family: var(--text-body-sm-regular-fontFamily);
16397
16773
  font-weight: var(--text-body-sm-regular-fontWeight);
@@ -16681,217 +17057,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
16681
17057
  }
16682
17058
 
16683
17059
 
16684
- /* Alert */
16685
- /* Alert Component Styles - Using Muka Design Tokens */
16686
-
16687
- .muka-alert {
16688
- display: flex;
16689
- align-items: flex-start;
16690
- border-radius: var(--alert-radius);
16691
- border: none;
16692
- gap: var(--alert-gap);
16693
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
16694
- }
16695
-
16696
- /* Size variants */
16697
- .muka-alert--sm {
16698
- padding: var(--alert-padding-sm-y) var(--alert-padding-sm-x);
16699
- }
16700
-
16701
- .muka-alert--md {
16702
- padding: var(--alert-padding-md-y) var(--alert-padding-md-x);
16703
- }
16704
-
16705
- .muka-alert--lg {
16706
- padding: var(--alert-padding-lg-y) var(--alert-padding-lg-x);
16707
- }
16708
-
16709
- /* Variant: Info */
16710
- .muka-alert--info {
16711
- background-color: var(--alert-color-info-background);
16712
- color: var(--alert-color-info-foreground);
16713
- }
16714
-
16715
- .muka-alert--info .muka-alert__icon {
16716
- color: var(--alert-color-info-accent);
16717
- }
16718
-
16719
- .muka-alert--info .muka-alert__title {
16720
- color: var(--alert-color-info-accent);
16721
- }
16722
-
16723
- .muka-alert--info .muka-alert__dismiss {
16724
- color: var(--alert-color-info-accent);
16725
- }
16726
-
16727
- /* Variant: Success */
16728
- .muka-alert--success {
16729
- background-color: var(--alert-color-success-background);
16730
- color: var(--alert-color-success-foreground);
16731
- }
16732
-
16733
- .muka-alert--success .muka-alert__icon {
16734
- color: var(--alert-color-success-accent);
16735
- }
16736
-
16737
- .muka-alert--success .muka-alert__title {
16738
- color: var(--alert-color-success-accent);
16739
- }
16740
-
16741
- .muka-alert--success .muka-alert__dismiss {
16742
- color: var(--alert-color-success-accent);
16743
- }
16744
-
16745
- /* Variant: Warning */
16746
- .muka-alert--warning {
16747
- background-color: var(--alert-color-warning-background);
16748
- color: var(--alert-color-warning-foreground);
16749
- }
16750
-
16751
- .muka-alert--warning .muka-alert__icon {
16752
- color: var(--alert-color-warning-accent);
16753
- }
16754
-
16755
- .muka-alert--warning .muka-alert__title {
16756
- color: var(--alert-color-warning-accent);
16757
- }
16758
-
16759
- .muka-alert--warning .muka-alert__dismiss {
16760
- color: var(--alert-color-warning-accent);
16761
- }
16762
-
16763
- /* Variant: Error */
16764
- .muka-alert--error {
16765
- background-color: var(--alert-color-error-background);
16766
- color: var(--alert-color-error-foreground);
16767
- }
16768
-
16769
- .muka-alert--error .muka-alert__icon {
16770
- color: var(--alert-color-error-accent);
16771
- }
16772
-
16773
- .muka-alert--error .muka-alert__title {
16774
- color: var(--alert-color-error-accent);
16775
- }
16776
-
16777
- .muka-alert--error .muka-alert__dismiss {
16778
- color: var(--alert-color-error-accent);
16779
- }
16780
-
16781
- /* Icon */
16782
- .muka-alert__icon {
16783
- display: flex;
16784
- align-items: center;
16785
- justify-content: center;
16786
- flex-shrink: 0;
16787
- width: var(--alert-icon-size);
16788
- height: var(--alert-icon-size);
16789
- }
16790
-
16791
- .muka-alert__icon svg {
16792
- width: 100%;
16793
- height: 100%;
16794
- }
16795
-
16796
- /* The leading icon and the dismiss (×) icon inherit the variant accent set on
16797
- their container, overriding the Icon component's default color. */
16798
- .muka-alert__icon .muka-icon,
16799
- .muka-alert__dismiss .muka-icon {
16800
- color: inherit;
16801
- }
16802
-
16803
- /* Content */
16804
- .muka-alert__content {
16805
- flex: 1;
16806
- min-width: 0;
16807
- }
16808
-
16809
- .muka-alert__title {
16810
- font-family: var(--text-label-md-semibold-fontFamily);
16811
- font-weight: var(--text-label-md-semibold-fontWeight);
16812
- font-size: var(--text-label-md-semibold-fontSize);
16813
- line-height: var(--text-label-md-semibold-lineHeight);
16814
- margin-bottom: var(--spacing-1);
16815
- }
16816
-
16817
- .muka-alert--sm .muka-alert__title {
16818
- font-family: var(--text-label-sm-semibold-fontFamily);
16819
- font-weight: var(--text-label-sm-semibold-fontWeight);
16820
- font-size: var(--text-label-sm-semibold-fontSize);
16821
- line-height: var(--text-label-sm-semibold-lineHeight);
16822
- }
16823
-
16824
- .muka-alert--lg .muka-alert__title {
16825
- font-family: var(--text-label-lg-semibold-fontFamily);
16826
- font-weight: var(--text-label-lg-semibold-fontWeight);
16827
- font-size: var(--text-label-lg-semibold-fontSize);
16828
- line-height: var(--text-label-lg-semibold-lineHeight);
16829
- }
16830
-
16831
- .muka-alert__message {
16832
- font-family: var(--text-body-sm-regular-fontFamily);
16833
- font-weight: var(--text-body-sm-regular-fontWeight);
16834
- font-size: var(--text-body-sm-regular-fontSize);
16835
- line-height: var(--text-body-sm-regular-lineHeight);
16836
- /* Beat ambient docs/page text colors (e.g. Storybook sbdocs) so variant
16837
- foreground stays readable in light and dark themes. */
16838
- color: inherit;
16839
- }
16840
-
16841
- .muka-alert .muka-alert__message,
16842
- .muka-alert .muka-alert__message * {
16843
- color: inherit;
16844
- }
16845
-
16846
- .muka-alert--lg .muka-alert__message {
16847
- font-family: var(--text-body-base-regular-fontFamily);
16848
- font-weight: var(--text-body-base-regular-fontWeight);
16849
- font-size: var(--text-body-base-regular-fontSize);
16850
- line-height: var(--text-body-base-regular-lineHeight);
16851
- }
16852
-
16853
- /* Action slot — TextLink (or similar) below the message, matching Figma */
16854
- .muka-alert__action {
16855
- display: flex;
16856
- flex-direction: column;
16857
- align-items: flex-start;
16858
- padding-top: var(--spacing-1);
16859
- }
16860
-
16861
- /* Dismiss button - uses accent color per variant, aligned with icon row */
16862
- .muka-alert__dismiss {
16863
- display: flex;
16864
- align-items: center;
16865
- justify-content: center;
16866
- flex-shrink: 0;
16867
- align-self: flex-start;
16868
- width: 24px;
16869
- height: 24px;
16870
- padding: 0;
16871
- margin: 0 0 0 auto;
16872
- border: none;
16873
- background: transparent;
16874
- cursor: pointer;
16875
- border-radius: var(--border-radius-sm);
16876
- transition: opacity 0.15s ease, background-color 0.15s ease;
16877
- }
16878
-
16879
- .muka-alert__dismiss:hover {
16880
- opacity: 0.85;
16881
- background-color: rgba(0, 0, 0, 0.05);
16882
- }
16883
-
16884
- .muka-alert__dismiss:focus-visible {
16885
- outline: 2px solid var(--color-border-focus);
16886
- outline-offset: 2px;
16887
- }
16888
-
16889
- .muka-alert__dismiss svg {
16890
- width: 16px;
16891
- height: 16px;
16892
- }
16893
-
16894
-
16895
17060
  /* Accordion */
16896
17061
  /* Accordion Component Styles */
16897
17062