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