@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
@@ -5908,133 +5908,6 @@ body {
5908
5908
  }
5909
5909
 
5910
5910
 
5911
- /* Scrollbar */
5912
- /* Scrollbar — Figma menu scrollbar (32px rail, chevrons, grip thumb) */
5913
-
5914
- .muka-scrollbar {
5915
- display: flex;
5916
- flex-shrink: 0;
5917
- border-left: var(--border-width-regular) solid var(--color-border-default);
5918
- background-color: var(--color-surface-level3);
5919
- user-select: none;
5920
- }
5921
-
5922
- .muka-scrollbar--vertical {
5923
- flex-direction: column;
5924
- width: var(--size-2xl, 32px);
5925
- align-self: stretch;
5926
- }
5927
-
5928
- .muka-scrollbar--horizontal {
5929
- flex-direction: row;
5930
- height: var(--size-2xl, 32px);
5931
- width: 100%;
5932
- border-left: none;
5933
- border-top: var(--border-width-regular) solid var(--color-border-default);
5934
- }
5935
-
5936
- .muka-scrollbar__button {
5937
- display: flex;
5938
- align-items: center;
5939
- justify-content: center;
5940
- flex-shrink: 0;
5941
- width: 100%;
5942
- height: var(--size-2xl, 32px);
5943
- padding: 0;
5944
- border: none;
5945
- background-color: var(--button-color-tertiary-background-default, var(--color-surface-level3));
5946
- color: var(--color-text-default-default);
5947
- cursor: pointer;
5948
- }
5949
-
5950
- .muka-scrollbar--horizontal .muka-scrollbar__button {
5951
- width: var(--size-2xl, 32px);
5952
- height: 100%;
5953
- }
5954
-
5955
- .muka-scrollbar__button:hover {
5956
- background-color: var(--color-surface-hover);
5957
- }
5958
-
5959
- .muka-scrollbar__divider {
5960
- flex-shrink: 0;
5961
- width: 100%;
5962
- height: 1px;
5963
- background-color: var(--color-border-default);
5964
- }
5965
-
5966
- .muka-scrollbar--horizontal .muka-scrollbar__divider {
5967
- width: 1px;
5968
- height: 100%;
5969
- }
5970
-
5971
- .muka-scrollbar__track {
5972
- position: relative;
5973
- display: flex;
5974
- flex-direction: column;
5975
- flex: 1 1 auto;
5976
- min-height: 0;
5977
- width: 100%;
5978
- }
5979
-
5980
- .muka-scrollbar--horizontal .muka-scrollbar__track {
5981
- flex-direction: row;
5982
- min-width: 0;
5983
- height: 100%;
5984
- }
5985
-
5986
- .muka-scrollbar__thumb {
5987
- position: absolute;
5988
- left: 0;
5989
- top: 0;
5990
- z-index: 1;
5991
- display: flex;
5992
- align-items: center;
5993
- justify-content: center;
5994
- width: 100%;
5995
- /* Figma: scrollbar thumb fill = surface/level3 */
5996
- background-color: var(--color-surface-level3);
5997
- cursor: grab;
5998
- touch-action: none;
5999
- }
6000
-
6001
- .muka-scrollbar--horizontal .muka-scrollbar__thumb {
6002
- left: 0;
6003
- top: 0;
6004
- width: auto;
6005
- height: 100%;
6006
- margin-left: 0;
6007
- margin-top: 0;
6008
- }
6009
-
6010
- .muka-scrollbar__thumb:active {
6011
- cursor: grabbing;
6012
- }
6013
-
6014
- .muka-scrollbar__grip {
6015
- display: flex;
6016
- flex-direction: column;
6017
- gap: 2px;
6018
- width: 14px;
6019
- }
6020
-
6021
- .muka-scrollbar__grip::before,
6022
- .muka-scrollbar__grip::after {
6023
- content: '';
6024
- display: block;
6025
- width: 100%;
6026
- height: 2px;
6027
- border-radius: var(--border-radius-md);
6028
- background-color: var(--color-text-subtle-default);
6029
- }
6030
-
6031
- .muka-scrollbar__spacer {
6032
- flex: 1 1 auto;
6033
- min-height: 0;
6034
- background-color: var(--color-surface-level2);
6035
- }
6036
-
6037
-
6038
5911
  /* SearchInput */
6039
5912
  /* SearchInput Component Styles */
6040
5913
 
@@ -6204,6 +6077,133 @@ body {
6204
6077
  }
6205
6078
 
6206
6079
 
6080
+ /* Scrollbar */
6081
+ /* Scrollbar — Figma menu scrollbar (32px rail, chevrons, grip thumb) */
6082
+
6083
+ .muka-scrollbar {
6084
+ display: flex;
6085
+ flex-shrink: 0;
6086
+ border-left: var(--border-width-regular) solid var(--color-border-default);
6087
+ background-color: var(--color-surface-level3);
6088
+ user-select: none;
6089
+ }
6090
+
6091
+ .muka-scrollbar--vertical {
6092
+ flex-direction: column;
6093
+ width: var(--size-2xl, 32px);
6094
+ align-self: stretch;
6095
+ }
6096
+
6097
+ .muka-scrollbar--horizontal {
6098
+ flex-direction: row;
6099
+ height: var(--size-2xl, 32px);
6100
+ width: 100%;
6101
+ border-left: none;
6102
+ border-top: var(--border-width-regular) solid var(--color-border-default);
6103
+ }
6104
+
6105
+ .muka-scrollbar__button {
6106
+ display: flex;
6107
+ align-items: center;
6108
+ justify-content: center;
6109
+ flex-shrink: 0;
6110
+ width: 100%;
6111
+ height: var(--size-2xl, 32px);
6112
+ padding: 0;
6113
+ border: none;
6114
+ background-color: var(--button-color-tertiary-background-default, var(--color-surface-level3));
6115
+ color: var(--color-text-default-default);
6116
+ cursor: pointer;
6117
+ }
6118
+
6119
+ .muka-scrollbar--horizontal .muka-scrollbar__button {
6120
+ width: var(--size-2xl, 32px);
6121
+ height: 100%;
6122
+ }
6123
+
6124
+ .muka-scrollbar__button:hover {
6125
+ background-color: var(--color-surface-hover);
6126
+ }
6127
+
6128
+ .muka-scrollbar__divider {
6129
+ flex-shrink: 0;
6130
+ width: 100%;
6131
+ height: 1px;
6132
+ background-color: var(--color-border-default);
6133
+ }
6134
+
6135
+ .muka-scrollbar--horizontal .muka-scrollbar__divider {
6136
+ width: 1px;
6137
+ height: 100%;
6138
+ }
6139
+
6140
+ .muka-scrollbar__track {
6141
+ position: relative;
6142
+ display: flex;
6143
+ flex-direction: column;
6144
+ flex: 1 1 auto;
6145
+ min-height: 0;
6146
+ width: 100%;
6147
+ }
6148
+
6149
+ .muka-scrollbar--horizontal .muka-scrollbar__track {
6150
+ flex-direction: row;
6151
+ min-width: 0;
6152
+ height: 100%;
6153
+ }
6154
+
6155
+ .muka-scrollbar__thumb {
6156
+ position: absolute;
6157
+ left: 0;
6158
+ top: 0;
6159
+ z-index: 1;
6160
+ display: flex;
6161
+ align-items: center;
6162
+ justify-content: center;
6163
+ width: 100%;
6164
+ /* Figma: scrollbar thumb fill = surface/level3 */
6165
+ background-color: var(--color-surface-level3);
6166
+ cursor: grab;
6167
+ touch-action: none;
6168
+ }
6169
+
6170
+ .muka-scrollbar--horizontal .muka-scrollbar__thumb {
6171
+ left: 0;
6172
+ top: 0;
6173
+ width: auto;
6174
+ height: 100%;
6175
+ margin-left: 0;
6176
+ margin-top: 0;
6177
+ }
6178
+
6179
+ .muka-scrollbar__thumb:active {
6180
+ cursor: grabbing;
6181
+ }
6182
+
6183
+ .muka-scrollbar__grip {
6184
+ display: flex;
6185
+ flex-direction: column;
6186
+ gap: 2px;
6187
+ width: 14px;
6188
+ }
6189
+
6190
+ .muka-scrollbar__grip::before,
6191
+ .muka-scrollbar__grip::after {
6192
+ content: '';
6193
+ display: block;
6194
+ width: 100%;
6195
+ height: 2px;
6196
+ border-radius: var(--border-radius-md);
6197
+ background-color: var(--color-text-subtle-default);
6198
+ }
6199
+
6200
+ .muka-scrollbar__spacer {
6201
+ flex: 1 1 auto;
6202
+ min-height: 0;
6203
+ background-color: var(--color-surface-level2);
6204
+ }
6205
+
6206
+
6207
6207
  /* RecordingBar */
6208
6208
  /* RecordingBar Component Styles */
6209
6209
 
@@ -8491,122 +8491,6 @@ button.muka-progress-tracker__tab:focus-visible {
8491
8491
  }
8492
8492
 
8493
8493
 
8494
- /* PhotoUploader */
8495
- /* PhotoUploader Component Styles - Using Muka Design Tokens */
8496
-
8497
- .muka-photo-uploader {
8498
- display: flex;
8499
- flex-direction: column;
8500
- align-items: flex-start;
8501
- gap: var(--spacing-4);
8502
- width: 100%;
8503
- }
8504
-
8505
- /* Visually-hidden native file input */
8506
- .muka-photo-uploader__input {
8507
- position: absolute;
8508
- width: 1px;
8509
- height: 1px;
8510
- padding: 0;
8511
- margin: -1px;
8512
- overflow: hidden;
8513
- clip: rect(0, 0, 0, 0);
8514
- white-space: nowrap;
8515
- border: 0;
8516
- }
8517
-
8518
- /* ─── Error feedback alert ────────────────────────────── */
8519
- .muka-photo-uploader__alert {
8520
- width: 100%;
8521
- }
8522
-
8523
- /* ─── Thumbnail grid ──────────────────────────────────── */
8524
- .muka-photo-uploader__grid {
8525
- display: flex;
8526
- flex-wrap: wrap;
8527
- gap: var(--spacing-3);
8528
- width: 100%;
8529
- margin: 0;
8530
- padding: 0;
8531
- list-style: none;
8532
- }
8533
-
8534
- .muka-photo-uploader__grid-item {
8535
- margin: 0;
8536
- padding: 0;
8537
- }
8538
-
8539
- /* ─── Drop zone card (button + "or drop here") ────────── */
8540
- .muka-photo-uploader__dropzone {
8541
- display: flex;
8542
- flex-direction: column;
8543
- align-items: center;
8544
- justify-content: center;
8545
- gap: var(--spacing-4);
8546
- width: 100%;
8547
- padding: var(--card-padding-lg);
8548
- background-color: var(--card-color-default-background);
8549
- border: var(--border-width-regular, 1px) solid var(--card-color-default-border);
8550
- border-radius: var(--border-radius-lg);
8551
- cursor: pointer;
8552
- text-align: center;
8553
- transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
8554
- border-color var(--motion-duration-micro) var(--motion-easing-enter);
8555
- }
8556
-
8557
- .muka-photo-uploader__dropzone:hover,
8558
- .muka-photo-uploader__dropzone--active {
8559
- border-color: var(--color-border-focus);
8560
- background-color: var(--color-surface-level1);
8561
- }
8562
-
8563
- .muka-photo-uploader__dropzone-text {
8564
- font-family: var(--text-subheading-sm-fontFamily);
8565
- font-size: var(--text-subheading-sm-fontSize);
8566
- font-weight: var(--text-subheading-sm-fontWeight);
8567
- line-height: var(--text-subheading-sm-lineHeight);
8568
- color: var(--color-text-default-default);
8569
- }
8570
-
8571
- /* ─── Disabled ────────────────────────────────────────── */
8572
- .muka-photo-uploader--disabled .muka-photo-uploader__dropzone {
8573
- cursor: not-allowed;
8574
- opacity: 0.6;
8575
- }
8576
-
8577
- .muka-photo-uploader--disabled .muka-photo-uploader__dropzone:hover {
8578
- border-color: var(--card-color-default-border);
8579
- background-color: var(--card-color-default-background);
8580
- }
8581
-
8582
- /* ─── Enlarged photo dialog ───────────────────────────── */
8583
- .muka-photo-uploader__preview {
8584
- display: flex;
8585
- align-items: center;
8586
- justify-content: center;
8587
- width: 100%;
8588
- height: 100%;
8589
- }
8590
-
8591
- /* Fits the dialog while preserving the photo's original aspect ratio. */
8592
- .muka-photo-uploader__preview-image {
8593
- display: block;
8594
- max-width: 100%;
8595
- max-height: 100%;
8596
- width: auto;
8597
- height: auto;
8598
- object-fit: contain;
8599
- border-radius: var(--border-radius-lg);
8600
- }
8601
-
8602
- /* ─── Reduced motion ──────────────────────────────────── */
8603
- @media (prefers-reduced-motion: reduce) {
8604
- .muka-photo-uploader__dropzone {
8605
- transition: none;
8606
- }
8607
- }
8608
-
8609
-
8610
8494
  /* PhotoDraftStrip */
8611
8495
  /* PhotoDraftStrip Component Styles */
8612
8496
 
@@ -9276,6 +9160,122 @@ button.muka-progress-tracker__tab:focus-visible {
9276
9160
  }
9277
9161
 
9278
9162
 
9163
+ /* PhotoUploader */
9164
+ /* PhotoUploader Component Styles - Using Muka Design Tokens */
9165
+
9166
+ .muka-photo-uploader {
9167
+ display: flex;
9168
+ flex-direction: column;
9169
+ align-items: flex-start;
9170
+ gap: var(--spacing-4);
9171
+ width: 100%;
9172
+ }
9173
+
9174
+ /* Visually-hidden native file input */
9175
+ .muka-photo-uploader__input {
9176
+ position: absolute;
9177
+ width: 1px;
9178
+ height: 1px;
9179
+ padding: 0;
9180
+ margin: -1px;
9181
+ overflow: hidden;
9182
+ clip: rect(0, 0, 0, 0);
9183
+ white-space: nowrap;
9184
+ border: 0;
9185
+ }
9186
+
9187
+ /* ─── Error feedback alert ────────────────────────────── */
9188
+ .muka-photo-uploader__alert {
9189
+ width: 100%;
9190
+ }
9191
+
9192
+ /* ─── Thumbnail grid ──────────────────────────────────── */
9193
+ .muka-photo-uploader__grid {
9194
+ display: flex;
9195
+ flex-wrap: wrap;
9196
+ gap: var(--spacing-3);
9197
+ width: 100%;
9198
+ margin: 0;
9199
+ padding: 0;
9200
+ list-style: none;
9201
+ }
9202
+
9203
+ .muka-photo-uploader__grid-item {
9204
+ margin: 0;
9205
+ padding: 0;
9206
+ }
9207
+
9208
+ /* ─── Drop zone card (button + "or drop here") ────────── */
9209
+ .muka-photo-uploader__dropzone {
9210
+ display: flex;
9211
+ flex-direction: column;
9212
+ align-items: center;
9213
+ justify-content: center;
9214
+ gap: var(--spacing-4);
9215
+ width: 100%;
9216
+ padding: var(--card-padding-lg);
9217
+ background-color: var(--card-color-default-background);
9218
+ border: var(--border-width-regular, 1px) solid var(--card-color-default-border);
9219
+ border-radius: var(--border-radius-lg);
9220
+ cursor: pointer;
9221
+ text-align: center;
9222
+ transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
9223
+ border-color var(--motion-duration-micro) var(--motion-easing-enter);
9224
+ }
9225
+
9226
+ .muka-photo-uploader__dropzone:hover,
9227
+ .muka-photo-uploader__dropzone--active {
9228
+ border-color: var(--color-border-focus);
9229
+ background-color: var(--color-surface-level1);
9230
+ }
9231
+
9232
+ .muka-photo-uploader__dropzone-text {
9233
+ font-family: var(--text-subheading-sm-fontFamily);
9234
+ font-size: var(--text-subheading-sm-fontSize);
9235
+ font-weight: var(--text-subheading-sm-fontWeight);
9236
+ line-height: var(--text-subheading-sm-lineHeight);
9237
+ color: var(--color-text-default-default);
9238
+ }
9239
+
9240
+ /* ─── Disabled ────────────────────────────────────────── */
9241
+ .muka-photo-uploader--disabled .muka-photo-uploader__dropzone {
9242
+ cursor: not-allowed;
9243
+ opacity: 0.6;
9244
+ }
9245
+
9246
+ .muka-photo-uploader--disabled .muka-photo-uploader__dropzone:hover {
9247
+ border-color: var(--card-color-default-border);
9248
+ background-color: var(--card-color-default-background);
9249
+ }
9250
+
9251
+ /* ─── Enlarged photo dialog ───────────────────────────── */
9252
+ .muka-photo-uploader__preview {
9253
+ display: flex;
9254
+ align-items: center;
9255
+ justify-content: center;
9256
+ width: 100%;
9257
+ height: 100%;
9258
+ }
9259
+
9260
+ /* Fits the dialog while preserving the photo's original aspect ratio. */
9261
+ .muka-photo-uploader__preview-image {
9262
+ display: block;
9263
+ max-width: 100%;
9264
+ max-height: 100%;
9265
+ width: auto;
9266
+ height: auto;
9267
+ object-fit: contain;
9268
+ border-radius: var(--border-radius-lg);
9269
+ }
9270
+
9271
+ /* ─── Reduced motion ──────────────────────────────────── */
9272
+ @media (prefers-reduced-motion: reduce) {
9273
+ .muka-photo-uploader__dropzone {
9274
+ transition: none;
9275
+ }
9276
+ }
9277
+
9278
+
9279
9279
  /* MediaViewer */
9280
9280
  /* MediaViewer Component Styles - Using Muka Design Tokens */
9281
9281
 
@@ -10349,77 +10349,23 @@ li.muka-listitem {
10349
10349
  }
10350
10350
 
10351
10351
 
10352
- /* Icon */
10353
- /* Icon Component Styles - Using Muka Design Tokens */
10352
+ /* Form */
10353
+ .muka-form {
10354
+ display: flex;
10355
+ flex-direction: column;
10356
+ width: 100%;
10357
+ }
10354
10358
 
10355
- .muka-icon {
10356
- display: inline-flex;
10357
- align-items: center;
10358
- justify-content: center;
10359
- flex-shrink: 0;
10360
- color: var(--color-icon-default-default, currentColor);
10359
+ .muka-form--gap-sm {
10360
+ gap: var(--size-sm);
10361
10361
  }
10362
10362
 
10363
- /* Icons inside buttons should inherit from button's foreground color */
10364
- .muka-button .muka-icon {
10365
- color: inherit;
10363
+ .muka-form--gap-md {
10364
+ gap: var(--size-md);
10366
10365
  }
10367
10366
 
10368
- .muka-icon--subtle {
10369
- color: var(--color-icon-subtle-default);
10370
- }
10371
-
10372
- .muka-icon--muted {
10373
- color: var(--color-icon-muted-default);
10374
- }
10375
-
10376
- .muka-icon--inverse {
10377
- color: var(--color-icon-default-inverse);
10378
- }
10379
-
10380
- .muka-icon--xs {
10381
- width: var(--icon-size-xs);
10382
- height: var(--icon-size-xs);
10383
- }
10384
-
10385
- .muka-icon--sm {
10386
- width: var(--icon-size-sm);
10387
- height: var(--icon-size-sm);
10388
- }
10389
-
10390
- .muka-icon--md {
10391
- width: var(--icon-size-default);
10392
- height: var(--icon-size-default);
10393
- }
10394
-
10395
- .muka-icon--lg {
10396
- width: var(--icon-size-lg);
10397
- height: var(--icon-size-lg);
10398
- }
10399
-
10400
- .muka-icon svg {
10401
- width: 100%;
10402
- height: 100%;
10403
- }
10404
-
10405
-
10406
- /* Form */
10407
- .muka-form {
10408
- display: flex;
10409
- flex-direction: column;
10410
- width: 100%;
10411
- }
10412
-
10413
- .muka-form--gap-sm {
10414
- gap: var(--size-sm);
10415
- }
10416
-
10417
- .muka-form--gap-md {
10418
- gap: var(--size-md);
10419
- }
10420
-
10421
- .muka-form--gap-lg {
10422
- gap: var(--size-lg);
10367
+ .muka-form--gap-lg {
10368
+ gap: var(--size-lg);
10423
10369
  }
10424
10370
 
10425
10371
 
@@ -10826,6 +10772,60 @@ li.muka-listitem {
10826
10772
  }
10827
10773
 
10828
10774
 
10775
+ /* Icon */
10776
+ /* Icon Component Styles - Using Muka Design Tokens */
10777
+
10778
+ .muka-icon {
10779
+ display: inline-flex;
10780
+ align-items: center;
10781
+ justify-content: center;
10782
+ flex-shrink: 0;
10783
+ color: var(--color-icon-default-default, currentColor);
10784
+ }
10785
+
10786
+ /* Icons inside buttons should inherit from button's foreground color */
10787
+ .muka-button .muka-icon {
10788
+ color: inherit;
10789
+ }
10790
+
10791
+ .muka-icon--subtle {
10792
+ color: var(--color-icon-subtle-default);
10793
+ }
10794
+
10795
+ .muka-icon--muted {
10796
+ color: var(--color-icon-muted-default);
10797
+ }
10798
+
10799
+ .muka-icon--inverse {
10800
+ color: var(--color-icon-default-inverse);
10801
+ }
10802
+
10803
+ .muka-icon--xs {
10804
+ width: var(--icon-size-xs);
10805
+ height: var(--icon-size-xs);
10806
+ }
10807
+
10808
+ .muka-icon--sm {
10809
+ width: var(--icon-size-sm);
10810
+ height: var(--icon-size-sm);
10811
+ }
10812
+
10813
+ .muka-icon--md {
10814
+ width: var(--icon-size-default);
10815
+ height: var(--icon-size-default);
10816
+ }
10817
+
10818
+ .muka-icon--lg {
10819
+ width: var(--icon-size-lg);
10820
+ height: var(--icon-size-lg);
10821
+ }
10822
+
10823
+ .muka-icon svg {
10824
+ width: 100%;
10825
+ height: 100%;
10826
+ }
10827
+
10828
+
10829
10829
  /* EmptyState */
10830
10830
  /* EmptyState Component Styles - Using Muka Design Tokens */
10831
10831
 
@@ -12817,6 +12817,15 @@ li.muka-listitem {
12817
12817
  }
12818
12818
 
12819
12819
 
12820
+ /* ChipSelectGroup */
12821
+ /* ChipSelectGroup — wrapping row of selectable chips (experimental) */
12822
+ .muka-chip-select-group {
12823
+ display: flex;
12824
+ flex-wrap: wrap;
12825
+ gap: var(--spacing-2);
12826
+ }
12827
+
12828
+
12820
12829
  /* Chip */
12821
12830
  /* Chip Component Styles - Using Muka Design Tokens (Figma: Chip, Chip/Trailing) */
12822
12831
 
@@ -13510,6 +13519,126 @@ button.muka-chip__trailing[aria-expanded='true'],
13510
13519
  }
13511
13520
 
13512
13521
 
13522
+ /* ChatQuestionSeries */
13523
+ /* ChatQuestionSeries — step dots and the collapsed summary (experimental) */
13524
+ .muka-chat-series__dots {
13525
+ display: inline-flex;
13526
+ align-items: center;
13527
+ gap: var(--spacing-1);
13528
+ }
13529
+
13530
+ .muka-chat-series__dot {
13531
+ width: var(--spacing-1);
13532
+ height: var(--spacing-1);
13533
+ border-radius: var(--border-radius-full);
13534
+ background-color: var(--color-border-default);
13535
+ }
13536
+
13537
+ .muka-chat-series__dot--done {
13538
+ background-color: var(--color-text-subtle-default);
13539
+ }
13540
+
13541
+ .muka-chat-series__dot--current {
13542
+ width: var(--spacing-2);
13543
+ height: var(--spacing-2);
13544
+ background-color: var(--color-text-default-default);
13545
+ }
13546
+
13547
+ .muka-chat-series__summary {
13548
+ display: flex;
13549
+ flex-direction: column;
13550
+ gap: var(--spacing-2);
13551
+ }
13552
+
13553
+ .muka-chat-series__summary-row {
13554
+ display: flex;
13555
+ flex-direction: column;
13556
+ }
13557
+
13558
+ .muka-chat-series__summary-question {
13559
+ color: var(--color-text-subtle-default);
13560
+ }
13561
+
13562
+
13563
+ /* ChatQuestionCard */
13564
+ /*
13565
+ * ChatQuestionCard — in-thread question widget (experimental).
13566
+ * Inspired by the Agentic UX "Gather search criteria" cards: question on top,
13567
+ * compact controls, a footer only once there is something to submit.
13568
+ */
13569
+ .muka-chat-question-card {
13570
+ width: 100%;
13571
+ max-width: 100%;
13572
+ min-width: 0;
13573
+ }
13574
+
13575
+ .muka-chat-question-card__card {
13576
+ width: 100%;
13577
+ overflow: hidden;
13578
+ }
13579
+
13580
+ .muka-chat-question-card__content {
13581
+ display: flex;
13582
+ flex-direction: column;
13583
+ gap: var(--spacing-3);
13584
+ padding: var(--spacing-4);
13585
+ min-width: 0;
13586
+ }
13587
+
13588
+ .muka-chat-question-card__question {
13589
+ margin: 0;
13590
+ color: var(--color-text-default-default);
13591
+ font-family: var(--text-label-md-semibold-fontFamily);
13592
+ font-weight: var(--text-label-md-semibold-fontWeight);
13593
+ font-size: var(--text-label-md-semibold-fontSize);
13594
+ line-height: var(--text-label-md-semibold-lineHeight);
13595
+ }
13596
+
13597
+ .muka-chat-question-card--answered .muka-chat-question-card__question {
13598
+ color: var(--color-text-subtle-default);
13599
+ }
13600
+
13601
+ .muka-chat-question-card__answer {
13602
+ display: flex;
13603
+ align-items: flex-start;
13604
+ gap: var(--spacing-2);
13605
+ margin: 0;
13606
+ color: var(--color-text-default-default);
13607
+ font-family: var(--text-label-md-regular-fontFamily);
13608
+ font-weight: var(--text-label-md-regular-fontWeight);
13609
+ font-size: var(--text-label-md-regular-fontSize);
13610
+ line-height: var(--text-label-md-regular-lineHeight);
13611
+ }
13612
+
13613
+ .muka-chat-question-card__answer-icon {
13614
+ display: inline-flex;
13615
+ flex-shrink: 0;
13616
+ color: var(--color-text-action-default);
13617
+ }
13618
+
13619
+ .muka-chat-question-card__footer {
13620
+ display: flex;
13621
+ align-items: center;
13622
+ justify-content: space-between;
13623
+ gap: var(--spacing-3);
13624
+ padding: var(--spacing-3) var(--spacing-4);
13625
+ border-top: var(--border-width-regular) solid var(--color-border-muted);
13626
+ }
13627
+
13628
+ .muka-chat-question-card__footer-start {
13629
+ display: flex;
13630
+ align-items: center;
13631
+ min-width: 0;
13632
+ }
13633
+
13634
+ .muka-chat-question-card__footer-actions {
13635
+ display: flex;
13636
+ align-items: center;
13637
+ gap: var(--spacing-2);
13638
+ margin-inline-start: auto;
13639
+ }
13640
+
13641
+
13513
13642
  /* ChatPhotoGrid */
13514
13643
  /* ChatPhotoGrid Component Styles */
13515
13644
 
@@ -14352,6 +14481,42 @@ button.muka-chat-photo-grid__tile:focus-visible {
14352
14481
  }
14353
14482
 
14354
14483
 
14484
+ /* ChatChoiceCard */
14485
+ /* ChatChoiceCard — compact option rows (experimental) */
14486
+ .muka-chat-choice__list {
14487
+ display: flex;
14488
+ flex-direction: column;
14489
+ gap: var(--spacing-2);
14490
+ }
14491
+
14492
+ .muka-chat-choice__row {
14493
+ display: flex;
14494
+ align-items: center;
14495
+ min-height: var(--spacing-8);
14496
+ min-width: 0;
14497
+ }
14498
+
14499
+ .muka-chat-choice__row--other {
14500
+ gap: var(--spacing-2);
14501
+ }
14502
+
14503
+ /* The free-text option: the control, then the field filling the row. */
14504
+ .muka-chat-choice__row--other {
14505
+ flex-wrap: nowrap;
14506
+ }
14507
+
14508
+ .muka-chat-choice__row--other > .muka-radio,
14509
+ .muka-chat-choice__row--other > .muka-checkbox {
14510
+ flex: 0 0 auto;
14511
+ }
14512
+
14513
+ .muka-chat-choice__row--other > .muka-input {
14514
+ flex: 1 1 auto;
14515
+ width: auto;
14516
+ min-width: 0;
14517
+ }
14518
+
14519
+
14355
14520
  /* ChatAttachmentChip */
14356
14521
  /* ChatAttachmentChip Component Styles */
14357
14522
 
@@ -16305,28 +16470,239 @@ button.muka-chat-photo-grid__tile:focus-visible {
16305
16470
  }
16306
16471
 
16307
16472
 
16308
- /* AgentTaskList */
16309
- /* AgentTaskList Component Styles */
16473
+ /* Alert */
16474
+ /* Alert Component Styles - Using Muka Design Tokens */
16310
16475
 
16311
- .muka-agent-task-list {
16476
+ .muka-alert {
16312
16477
  display: flex;
16313
- flex-direction: column;
16314
- gap: var(--spacing-2);
16315
- width: 100%;
16316
- padding: 0 var(--spacing-2);
16478
+ align-items: flex-start;
16479
+ border-radius: var(--alert-radius);
16480
+ border: none;
16481
+ gap: var(--alert-gap);
16482
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
16317
16483
  }
16318
16484
 
16319
- /* ─── Header ───────────────────────────────────────────── */
16485
+ /* Size variants */
16486
+ .muka-alert--sm {
16487
+ padding: var(--alert-padding-sm-y) var(--alert-padding-sm-x);
16488
+ }
16320
16489
 
16321
- .muka-agent-task-list__header {
16322
- display: inline-flex;
16323
- align-items: center;
16324
- gap: var(--spacing-3);
16325
- background: none;
16326
- border: none;
16327
- padding: 0;
16328
- margin: 0;
16329
- cursor: pointer;
16490
+ .muka-alert--md {
16491
+ padding: var(--alert-padding-md-y) var(--alert-padding-md-x);
16492
+ }
16493
+
16494
+ .muka-alert--lg {
16495
+ padding: var(--alert-padding-lg-y) var(--alert-padding-lg-x);
16496
+ }
16497
+
16498
+ /* Variant: Info */
16499
+ .muka-alert--info {
16500
+ background-color: var(--alert-color-info-background);
16501
+ color: var(--alert-color-info-foreground);
16502
+ }
16503
+
16504
+ .muka-alert--info .muka-alert__icon {
16505
+ color: var(--alert-color-info-accent);
16506
+ }
16507
+
16508
+ .muka-alert--info .muka-alert__title {
16509
+ color: var(--alert-color-info-accent);
16510
+ }
16511
+
16512
+ .muka-alert--info .muka-alert__dismiss {
16513
+ color: var(--alert-color-info-accent);
16514
+ }
16515
+
16516
+ /* Variant: Success */
16517
+ .muka-alert--success {
16518
+ background-color: var(--alert-color-success-background);
16519
+ color: var(--alert-color-success-foreground);
16520
+ }
16521
+
16522
+ .muka-alert--success .muka-alert__icon {
16523
+ color: var(--alert-color-success-accent);
16524
+ }
16525
+
16526
+ .muka-alert--success .muka-alert__title {
16527
+ color: var(--alert-color-success-accent);
16528
+ }
16529
+
16530
+ .muka-alert--success .muka-alert__dismiss {
16531
+ color: var(--alert-color-success-accent);
16532
+ }
16533
+
16534
+ /* Variant: Warning */
16535
+ .muka-alert--warning {
16536
+ background-color: var(--alert-color-warning-background);
16537
+ color: var(--alert-color-warning-foreground);
16538
+ }
16539
+
16540
+ .muka-alert--warning .muka-alert__icon {
16541
+ color: var(--alert-color-warning-accent);
16542
+ }
16543
+
16544
+ .muka-alert--warning .muka-alert__title {
16545
+ color: var(--alert-color-warning-accent);
16546
+ }
16547
+
16548
+ .muka-alert--warning .muka-alert__dismiss {
16549
+ color: var(--alert-color-warning-accent);
16550
+ }
16551
+
16552
+ /* Variant: Error */
16553
+ .muka-alert--error {
16554
+ background-color: var(--alert-color-error-background);
16555
+ color: var(--alert-color-error-foreground);
16556
+ }
16557
+
16558
+ .muka-alert--error .muka-alert__icon {
16559
+ color: var(--alert-color-error-accent);
16560
+ }
16561
+
16562
+ .muka-alert--error .muka-alert__title {
16563
+ color: var(--alert-color-error-accent);
16564
+ }
16565
+
16566
+ .muka-alert--error .muka-alert__dismiss {
16567
+ color: var(--alert-color-error-accent);
16568
+ }
16569
+
16570
+ /* Icon */
16571
+ .muka-alert__icon {
16572
+ display: flex;
16573
+ align-items: center;
16574
+ justify-content: center;
16575
+ flex-shrink: 0;
16576
+ width: var(--alert-icon-size);
16577
+ height: var(--alert-icon-size);
16578
+ }
16579
+
16580
+ .muka-alert__icon svg {
16581
+ width: 100%;
16582
+ height: 100%;
16583
+ }
16584
+
16585
+ /* The leading icon and the dismiss (×) icon inherit the variant accent set on
16586
+ their container, overriding the Icon component's default color. */
16587
+ .muka-alert__icon .muka-icon,
16588
+ .muka-alert__dismiss .muka-icon {
16589
+ color: inherit;
16590
+ }
16591
+
16592
+ /* Content */
16593
+ .muka-alert__content {
16594
+ flex: 1;
16595
+ min-width: 0;
16596
+ }
16597
+
16598
+ .muka-alert__title {
16599
+ font-family: var(--text-label-md-semibold-fontFamily);
16600
+ font-weight: var(--text-label-md-semibold-fontWeight);
16601
+ font-size: var(--text-label-md-semibold-fontSize);
16602
+ line-height: var(--text-label-md-semibold-lineHeight);
16603
+ margin-bottom: var(--spacing-1);
16604
+ }
16605
+
16606
+ .muka-alert--sm .muka-alert__title {
16607
+ font-family: var(--text-label-sm-semibold-fontFamily);
16608
+ font-weight: var(--text-label-sm-semibold-fontWeight);
16609
+ font-size: var(--text-label-sm-semibold-fontSize);
16610
+ line-height: var(--text-label-sm-semibold-lineHeight);
16611
+ }
16612
+
16613
+ .muka-alert--lg .muka-alert__title {
16614
+ font-family: var(--text-label-lg-semibold-fontFamily);
16615
+ font-weight: var(--text-label-lg-semibold-fontWeight);
16616
+ font-size: var(--text-label-lg-semibold-fontSize);
16617
+ line-height: var(--text-label-lg-semibold-lineHeight);
16618
+ }
16619
+
16620
+ .muka-alert__message {
16621
+ font-family: var(--text-body-sm-regular-fontFamily);
16622
+ font-weight: var(--text-body-sm-regular-fontWeight);
16623
+ font-size: var(--text-body-sm-regular-fontSize);
16624
+ line-height: var(--text-body-sm-regular-lineHeight);
16625
+ /* Beat ambient docs/page text colors (e.g. Storybook sbdocs) so variant
16626
+ foreground stays readable in light and dark themes. */
16627
+ color: inherit;
16628
+ }
16629
+
16630
+ .muka-alert .muka-alert__message,
16631
+ .muka-alert .muka-alert__message * {
16632
+ color: inherit;
16633
+ }
16634
+
16635
+ .muka-alert--lg .muka-alert__message {
16636
+ font-family: var(--text-body-base-regular-fontFamily);
16637
+ font-weight: var(--text-body-base-regular-fontWeight);
16638
+ font-size: var(--text-body-base-regular-fontSize);
16639
+ line-height: var(--text-body-base-regular-lineHeight);
16640
+ }
16641
+
16642
+ /* Action slot — TextLink (or similar) below the message, matching Figma */
16643
+ .muka-alert__action {
16644
+ display: flex;
16645
+ flex-direction: column;
16646
+ align-items: flex-start;
16647
+ padding-top: var(--spacing-1);
16648
+ }
16649
+
16650
+ /* Dismiss button - uses accent color per variant, aligned with icon row */
16651
+ .muka-alert__dismiss {
16652
+ display: flex;
16653
+ align-items: center;
16654
+ justify-content: center;
16655
+ flex-shrink: 0;
16656
+ align-self: flex-start;
16657
+ width: 24px;
16658
+ height: 24px;
16659
+ padding: 0;
16660
+ margin: 0 0 0 auto;
16661
+ border: none;
16662
+ background: transparent;
16663
+ cursor: pointer;
16664
+ border-radius: var(--border-radius-sm);
16665
+ transition: opacity 0.15s ease, background-color 0.15s ease;
16666
+ }
16667
+
16668
+ .muka-alert__dismiss:hover {
16669
+ opacity: 0.85;
16670
+ background-color: rgba(0, 0, 0, 0.05);
16671
+ }
16672
+
16673
+ .muka-alert__dismiss:focus-visible {
16674
+ outline: 2px solid var(--color-border-focus);
16675
+ outline-offset: 2px;
16676
+ }
16677
+
16678
+ .muka-alert__dismiss svg {
16679
+ width: 16px;
16680
+ height: 16px;
16681
+ }
16682
+
16683
+
16684
+ /* AgentTaskList */
16685
+ /* AgentTaskList Component Styles */
16686
+
16687
+ .muka-agent-task-list {
16688
+ display: flex;
16689
+ flex-direction: column;
16690
+ gap: var(--spacing-2);
16691
+ width: 100%;
16692
+ padding: 0 var(--spacing-2);
16693
+ }
16694
+
16695
+ /* ─── Header ───────────────────────────────────────────── */
16696
+
16697
+ .muka-agent-task-list__header {
16698
+ display: inline-flex;
16699
+ align-items: center;
16700
+ gap: var(--spacing-3);
16701
+ background: none;
16702
+ border: none;
16703
+ padding: 0;
16704
+ margin: 0;
16705
+ cursor: pointer;
16330
16706
  color: var(--color-text-subtle-default);
16331
16707
  font-family: var(--text-body-sm-regular-fontFamily);
16332
16708
  font-weight: var(--text-body-sm-regular-fontWeight);
@@ -16616,217 +16992,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
16616
16992
  }
16617
16993
 
16618
16994
 
16619
- /* Alert */
16620
- /* Alert Component Styles - Using Muka Design Tokens */
16621
-
16622
- .muka-alert {
16623
- display: flex;
16624
- align-items: flex-start;
16625
- border-radius: var(--alert-radius);
16626
- border: none;
16627
- gap: var(--alert-gap);
16628
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
16629
- }
16630
-
16631
- /* Size variants */
16632
- .muka-alert--sm {
16633
- padding: var(--alert-padding-sm-y) var(--alert-padding-sm-x);
16634
- }
16635
-
16636
- .muka-alert--md {
16637
- padding: var(--alert-padding-md-y) var(--alert-padding-md-x);
16638
- }
16639
-
16640
- .muka-alert--lg {
16641
- padding: var(--alert-padding-lg-y) var(--alert-padding-lg-x);
16642
- }
16643
-
16644
- /* Variant: Info */
16645
- .muka-alert--info {
16646
- background-color: var(--alert-color-info-background);
16647
- color: var(--alert-color-info-foreground);
16648
- }
16649
-
16650
- .muka-alert--info .muka-alert__icon {
16651
- color: var(--alert-color-info-accent);
16652
- }
16653
-
16654
- .muka-alert--info .muka-alert__title {
16655
- color: var(--alert-color-info-accent);
16656
- }
16657
-
16658
- .muka-alert--info .muka-alert__dismiss {
16659
- color: var(--alert-color-info-accent);
16660
- }
16661
-
16662
- /* Variant: Success */
16663
- .muka-alert--success {
16664
- background-color: var(--alert-color-success-background);
16665
- color: var(--alert-color-success-foreground);
16666
- }
16667
-
16668
- .muka-alert--success .muka-alert__icon {
16669
- color: var(--alert-color-success-accent);
16670
- }
16671
-
16672
- .muka-alert--success .muka-alert__title {
16673
- color: var(--alert-color-success-accent);
16674
- }
16675
-
16676
- .muka-alert--success .muka-alert__dismiss {
16677
- color: var(--alert-color-success-accent);
16678
- }
16679
-
16680
- /* Variant: Warning */
16681
- .muka-alert--warning {
16682
- background-color: var(--alert-color-warning-background);
16683
- color: var(--alert-color-warning-foreground);
16684
- }
16685
-
16686
- .muka-alert--warning .muka-alert__icon {
16687
- color: var(--alert-color-warning-accent);
16688
- }
16689
-
16690
- .muka-alert--warning .muka-alert__title {
16691
- color: var(--alert-color-warning-accent);
16692
- }
16693
-
16694
- .muka-alert--warning .muka-alert__dismiss {
16695
- color: var(--alert-color-warning-accent);
16696
- }
16697
-
16698
- /* Variant: Error */
16699
- .muka-alert--error {
16700
- background-color: var(--alert-color-error-background);
16701
- color: var(--alert-color-error-foreground);
16702
- }
16703
-
16704
- .muka-alert--error .muka-alert__icon {
16705
- color: var(--alert-color-error-accent);
16706
- }
16707
-
16708
- .muka-alert--error .muka-alert__title {
16709
- color: var(--alert-color-error-accent);
16710
- }
16711
-
16712
- .muka-alert--error .muka-alert__dismiss {
16713
- color: var(--alert-color-error-accent);
16714
- }
16715
-
16716
- /* Icon */
16717
- .muka-alert__icon {
16718
- display: flex;
16719
- align-items: center;
16720
- justify-content: center;
16721
- flex-shrink: 0;
16722
- width: var(--alert-icon-size);
16723
- height: var(--alert-icon-size);
16724
- }
16725
-
16726
- .muka-alert__icon svg {
16727
- width: 100%;
16728
- height: 100%;
16729
- }
16730
-
16731
- /* The leading icon and the dismiss (×) icon inherit the variant accent set on
16732
- their container, overriding the Icon component's default color. */
16733
- .muka-alert__icon .muka-icon,
16734
- .muka-alert__dismiss .muka-icon {
16735
- color: inherit;
16736
- }
16737
-
16738
- /* Content */
16739
- .muka-alert__content {
16740
- flex: 1;
16741
- min-width: 0;
16742
- }
16743
-
16744
- .muka-alert__title {
16745
- font-family: var(--text-label-md-semibold-fontFamily);
16746
- font-weight: var(--text-label-md-semibold-fontWeight);
16747
- font-size: var(--text-label-md-semibold-fontSize);
16748
- line-height: var(--text-label-md-semibold-lineHeight);
16749
- margin-bottom: var(--spacing-1);
16750
- }
16751
-
16752
- .muka-alert--sm .muka-alert__title {
16753
- font-family: var(--text-label-sm-semibold-fontFamily);
16754
- font-weight: var(--text-label-sm-semibold-fontWeight);
16755
- font-size: var(--text-label-sm-semibold-fontSize);
16756
- line-height: var(--text-label-sm-semibold-lineHeight);
16757
- }
16758
-
16759
- .muka-alert--lg .muka-alert__title {
16760
- font-family: var(--text-label-lg-semibold-fontFamily);
16761
- font-weight: var(--text-label-lg-semibold-fontWeight);
16762
- font-size: var(--text-label-lg-semibold-fontSize);
16763
- line-height: var(--text-label-lg-semibold-lineHeight);
16764
- }
16765
-
16766
- .muka-alert__message {
16767
- font-family: var(--text-body-sm-regular-fontFamily);
16768
- font-weight: var(--text-body-sm-regular-fontWeight);
16769
- font-size: var(--text-body-sm-regular-fontSize);
16770
- line-height: var(--text-body-sm-regular-lineHeight);
16771
- /* Beat ambient docs/page text colors (e.g. Storybook sbdocs) so variant
16772
- foreground stays readable in light and dark themes. */
16773
- color: inherit;
16774
- }
16775
-
16776
- .muka-alert .muka-alert__message,
16777
- .muka-alert .muka-alert__message * {
16778
- color: inherit;
16779
- }
16780
-
16781
- .muka-alert--lg .muka-alert__message {
16782
- font-family: var(--text-body-base-regular-fontFamily);
16783
- font-weight: var(--text-body-base-regular-fontWeight);
16784
- font-size: var(--text-body-base-regular-fontSize);
16785
- line-height: var(--text-body-base-regular-lineHeight);
16786
- }
16787
-
16788
- /* Action slot — TextLink (or similar) below the message, matching Figma */
16789
- .muka-alert__action {
16790
- display: flex;
16791
- flex-direction: column;
16792
- align-items: flex-start;
16793
- padding-top: var(--spacing-1);
16794
- }
16795
-
16796
- /* Dismiss button - uses accent color per variant, aligned with icon row */
16797
- .muka-alert__dismiss {
16798
- display: flex;
16799
- align-items: center;
16800
- justify-content: center;
16801
- flex-shrink: 0;
16802
- align-self: flex-start;
16803
- width: 24px;
16804
- height: 24px;
16805
- padding: 0;
16806
- margin: 0 0 0 auto;
16807
- border: none;
16808
- background: transparent;
16809
- cursor: pointer;
16810
- border-radius: var(--border-radius-sm);
16811
- transition: opacity 0.15s ease, background-color 0.15s ease;
16812
- }
16813
-
16814
- .muka-alert__dismiss:hover {
16815
- opacity: 0.85;
16816
- background-color: rgba(0, 0, 0, 0.05);
16817
- }
16818
-
16819
- .muka-alert__dismiss:focus-visible {
16820
- outline: 2px solid var(--color-border-focus);
16821
- outline-offset: 2px;
16822
- }
16823
-
16824
- .muka-alert__dismiss svg {
16825
- width: 16px;
16826
- height: 16px;
16827
- }
16828
-
16829
-
16830
16995
  /* Accordion */
16831
16996
  /* Accordion Component Styles */
16832
16997