@revikornmann/muka-ui 0.54.0 → 0.56.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/ChatEvent/ChatEvent.css +49 -0
  2. package/dist/cjs/components/ChatEvent/ChatEvent.js +23 -0
  3. package/dist/cjs/components/ChatEvent/ChatEvent.js.map +1 -0
  4. package/dist/cjs/components/ChatEvent/index.js +6 -0
  5. package/dist/cjs/components/ChatEvent/index.js.map +1 -0
  6. package/dist/cjs/components/ChatMessage/ChatMessage.css +10 -0
  7. package/dist/cjs/components/ChatMessage/ChatMessage.js +5 -3
  8. package/dist/cjs/components/ChatMessage/ChatMessage.js.map +1 -1
  9. package/dist/cjs/components/ChatMessageStack/ChatMessageStack.js +5 -2
  10. package/dist/cjs/components/ChatMessageStack/ChatMessageStack.js.map +1 -1
  11. package/dist/cjs/components/Divider/Divider.css +27 -0
  12. package/dist/cjs/components/Divider/Divider.js +5 -1
  13. package/dist/cjs/components/Divider/Divider.js.map +1 -1
  14. package/dist/cjs/components/ListItem/ListItem.css +69 -0
  15. package/dist/cjs/components/ListItem/ListItem.js +25 -6
  16. package/dist/cjs/components/ListItem/ListItem.js.map +1 -1
  17. package/dist/cjs/components/Page/Page.css +22 -2
  18. package/dist/cjs/components/Page/Page.js +5 -2
  19. package/dist/cjs/components/Page/Page.js.map +1 -1
  20. package/dist/cjs/components/TopBar/TopBar.css +22 -0
  21. package/dist/cjs/components/TopBar/TopBar.js +16 -7
  22. package/dist/cjs/components/TopBar/TopBar.js.map +1 -1
  23. package/dist/cjs/components/View/View.js +2 -2
  24. package/dist/cjs/components/View/View.js.map +1 -1
  25. package/dist/cjs/components/index.js +3 -1
  26. package/dist/cjs/components/index.js.map +1 -1
  27. package/dist/esm/components/ChatEvent/ChatEvent.css +49 -0
  28. package/dist/esm/components/ChatEvent/ChatEvent.js +19 -0
  29. package/dist/esm/components/ChatEvent/ChatEvent.js.map +1 -0
  30. package/dist/esm/components/ChatEvent/index.js +2 -0
  31. package/dist/esm/components/ChatEvent/index.js.map +1 -0
  32. package/dist/esm/components/ChatMessage/ChatMessage.css +10 -0
  33. package/dist/esm/components/ChatMessage/ChatMessage.js +5 -3
  34. package/dist/esm/components/ChatMessage/ChatMessage.js.map +1 -1
  35. package/dist/esm/components/ChatMessageStack/ChatMessageStack.js +5 -2
  36. package/dist/esm/components/ChatMessageStack/ChatMessageStack.js.map +1 -1
  37. package/dist/esm/components/Divider/Divider.css +27 -0
  38. package/dist/esm/components/Divider/Divider.js +6 -2
  39. package/dist/esm/components/Divider/Divider.js.map +1 -1
  40. package/dist/esm/components/ListItem/ListItem.css +69 -0
  41. package/dist/esm/components/ListItem/ListItem.js +25 -6
  42. package/dist/esm/components/ListItem/ListItem.js.map +1 -1
  43. package/dist/esm/components/Page/Page.css +22 -2
  44. package/dist/esm/components/Page/Page.js +5 -2
  45. package/dist/esm/components/Page/Page.js.map +1 -1
  46. package/dist/esm/components/TopBar/TopBar.css +22 -0
  47. package/dist/esm/components/TopBar/TopBar.js +16 -7
  48. package/dist/esm/components/TopBar/TopBar.js.map +1 -1
  49. package/dist/esm/components/View/View.js +2 -2
  50. package/dist/esm/components/View/View.js.map +1 -1
  51. package/dist/esm/components/index.js +1 -0
  52. package/dist/esm/components/index.js.map +1 -1
  53. package/dist/styles/components/ChatEvent.css +49 -0
  54. package/dist/styles/components/ChatMessage.css +10 -0
  55. package/dist/styles/components/Divider.css +27 -0
  56. package/dist/styles/components/ListItem.css +69 -0
  57. package/dist/styles/components/Page.css +22 -2
  58. package/dist/styles/components/TopBar.css +22 -0
  59. package/dist/styles/index.css +936 -736
  60. package/dist/styles/muka-dark.css +936 -736
  61. package/dist/styles/muka-light.css +936 -736
  62. package/dist/styles/wireframe-dark.css +936 -736
  63. package/dist/styles/wireframe-light.css +936 -736
  64. package/dist/types/components/ChatEvent/ChatEvent.d.ts +33 -0
  65. package/dist/types/components/ChatEvent/ChatEvent.d.ts.map +1 -0
  66. package/dist/types/components/ChatEvent/index.d.ts +2 -0
  67. package/dist/types/components/ChatEvent/index.d.ts.map +1 -0
  68. package/dist/types/components/ChatMessage/ChatMessage.d.ts +8 -3
  69. package/dist/types/components/ChatMessage/ChatMessage.d.ts.map +1 -1
  70. package/dist/types/components/ChatMessageStack/ChatMessageStack.d.ts +4 -2
  71. package/dist/types/components/ChatMessageStack/ChatMessageStack.d.ts.map +1 -1
  72. package/dist/types/components/Divider/Divider.d.ts +6 -0
  73. package/dist/types/components/Divider/Divider.d.ts.map +1 -1
  74. package/dist/types/components/ListItem/ListItem.d.ts +17 -3
  75. package/dist/types/components/ListItem/ListItem.d.ts.map +1 -1
  76. package/dist/types/components/Page/Page.d.ts +11 -0
  77. package/dist/types/components/Page/Page.d.ts.map +1 -1
  78. package/dist/types/components/TopBar/TopBar.d.ts +6 -0
  79. package/dist/types/components/TopBar/TopBar.d.ts.map +1 -1
  80. package/dist/types/components/View/View.d.ts +2 -0
  81. package/dist/types/components/View/View.d.ts.map +1 -1
  82. package/dist/types/components/index.d.ts +1 -0
  83. package/dist/types/components/index.d.ts.map +1 -1
  84. package/package.json +1 -1
@@ -3126,6 +3126,28 @@ body {
3126
3126
  color: var(--color-text-subtle-default);
3127
3127
  }
3128
3128
 
3129
+ /* ─── Title with a leading avatar (titleLeading) ─────────
3130
+ The row takes the title's grid cell: the avatar, then the title (block). */
3131
+
3132
+ .muka-topbar__title-row {
3133
+ grid-column: 2;
3134
+ display: flex;
3135
+ align-items: center;
3136
+ justify-content: var(--tb-title-justify);
3137
+ gap: var(--spacing-2);
3138
+ min-width: 0;
3139
+ }
3140
+
3141
+ .muka-topbar__title-row > .muka-topbar__title,
3142
+ .muka-topbar__title-row > .muka-topbar__title-block {
3143
+ min-width: 0;
3144
+ }
3145
+
3146
+ .muka-topbar__title-leading {
3147
+ display: inline-flex;
3148
+ flex-shrink: 0;
3149
+ }
3150
+
3129
3151
  /* ─── Title as a button (titleTrailing) ──────────────────
3130
3152
  Same type as the text title, with a trailing glyph; sized to its content so
3131
3153
  only the title is the hit area, centred (start in the large tier). */
@@ -5863,88 +5885,6 @@ body {
5863
5885
  }
5864
5886
 
5865
5887
 
5866
- /* Sheet */
5867
- /* Sheet Component Styles */
5868
-
5869
- /* ─── Backdrop ────────────────────────────────────────── */
5870
-
5871
- .muka-sheet__overlay {
5872
- position: fixed;
5873
- inset: 0;
5874
- background-color: var(--color-surface-backdrop);
5875
- -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
5876
- backdrop-filter: blur(var(--effect-blur-backdrop));
5877
- z-index: 50;
5878
- }
5879
-
5880
- /* ─── Surface ─────────────────────────────────────────── */
5881
-
5882
- .muka-sheet {
5883
- position: fixed;
5884
- left: 0;
5885
- right: 0;
5886
- bottom: 0;
5887
- z-index: 51;
5888
-
5889
- display: flex;
5890
- flex-direction: column;
5891
-
5892
- max-height: 96dvh;
5893
-
5894
- background-color: var(--color-surface-level3);
5895
- border-top-left-radius: var(--radius-lg);
5896
- border-top-right-radius: var(--radius-lg);
5897
- box-shadow: var(--shadow-level5);
5898
-
5899
- outline: none;
5900
- }
5901
-
5902
- /* Safe-area bottom inset for the iPhone home indicator. */
5903
- .muka-sheet:not(.muka-sheet--no-safe-area) {
5904
- padding-bottom: env(safe-area-inset-bottom);
5905
- }
5906
-
5907
- /* ─── Drag handle ─────────────────────────────────────── */
5908
-
5909
- .muka-sheet__handle-container {
5910
- display: flex;
5911
- justify-content: center;
5912
- flex-shrink: 0;
5913
- padding: var(--spacing-3) 0;
5914
- }
5915
-
5916
- .muka-sheet__handle {
5917
- width: var(--dialog-drag-handle-width);
5918
- height: var(--dialog-drag-handle-height);
5919
- background-color: var(--dialog-drag-handle-color);
5920
- border-radius: var(--dialog-drag-handle-radius);
5921
- }
5922
-
5923
- /* ─── Body (scrollable) ───────────────────────────────── */
5924
-
5925
- .muka-sheet__body {
5926
- flex: 1 1 0%;
5927
- min-height: 0;
5928
- overflow-y: auto;
5929
- -webkit-overflow-scrolling: touch;
5930
- overscroll-behavior: contain;
5931
- }
5932
-
5933
- /* ─── Visually-hidden title (a11y) ────────────────────── */
5934
-
5935
- .muka-sheet__sr-title {
5936
- position: absolute;
5937
- width: 1px;
5938
- height: 1px;
5939
- padding: 0;
5940
- margin: -1px;
5941
- overflow: hidden;
5942
- clip: rect(0, 0, 0, 0);
5943
- white-space: nowrap;
5944
- border: 0;
5945
- }
5946
-
5947
-
5948
5888
  /* Select */
5949
5889
  /* Select Component Styles - Aligned with Input for consistency */
5950
5890
 
@@ -9235,12 +9175,144 @@ button.muka-progress-tracker__tab:focus-visible {
9235
9175
  background-color: var(--color-surface-level3);
9236
9176
  }
9237
9177
 
9238
- /* Without a footer, the content is last and clears the home indicator. */
9239
- .muka-page:not(:has(> .muka-page__footer)) > .muka-page__main {
9178
+ /*
9179
+ * Actions stick to the bottom edge while the document scrolls, and come to
9180
+ * rest after the content (above a footer). A BottomBar inside clears the home
9181
+ * indicator; this wrapper clears a landscape notch.
9182
+ */
9183
+ .muka-page__actions {
9184
+ position: sticky;
9185
+ bottom: 0;
9186
+ z-index: 10;
9187
+ flex-shrink: 0;
9188
+ padding-left: env(safe-area-inset-left, 0px);
9189
+ padding-right: env(safe-area-inset-right, 0px);
9190
+ background-color: var(--muka-page-background);
9191
+ }
9192
+
9193
+ /* With a footer, the footer clears the home indicator, not the bar above it. */
9194
+ .muka-page:has(> .muka-page__footer) > .muka-page__actions .muka-bottombar {
9195
+ padding-bottom: 0;
9196
+ }
9197
+
9198
+ /* Without a footer or actions, the content is last and clears the home indicator. */
9199
+ .muka-page:not(:has(> .muka-page__footer)):not(:has(> .muka-page__actions)) > .muka-page__main {
9240
9200
  padding-bottom: env(safe-area-inset-bottom, 0px);
9241
9201
  }
9242
9202
 
9243
9203
 
9204
+ /* Sheet */
9205
+ /* Sheet Component Styles */
9206
+
9207
+ /* ─── Backdrop ────────────────────────────────────────── */
9208
+
9209
+ .muka-sheet__overlay {
9210
+ position: fixed;
9211
+ inset: 0;
9212
+ background-color: var(--color-surface-backdrop);
9213
+ -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
9214
+ backdrop-filter: blur(var(--effect-blur-backdrop));
9215
+ z-index: 50;
9216
+ }
9217
+
9218
+ /* ─── Surface ─────────────────────────────────────────── */
9219
+
9220
+ .muka-sheet {
9221
+ position: fixed;
9222
+ left: 0;
9223
+ right: 0;
9224
+ bottom: 0;
9225
+ z-index: 51;
9226
+
9227
+ display: flex;
9228
+ flex-direction: column;
9229
+
9230
+ max-height: 96dvh;
9231
+
9232
+ background-color: var(--color-surface-level3);
9233
+ border-top-left-radius: var(--radius-lg);
9234
+ border-top-right-radius: var(--radius-lg);
9235
+ box-shadow: var(--shadow-level5);
9236
+
9237
+ outline: none;
9238
+ }
9239
+
9240
+ /* Safe-area bottom inset for the iPhone home indicator. */
9241
+ .muka-sheet:not(.muka-sheet--no-safe-area) {
9242
+ padding-bottom: env(safe-area-inset-bottom);
9243
+ }
9244
+
9245
+ /* ─── Drag handle ─────────────────────────────────────── */
9246
+
9247
+ .muka-sheet__handle-container {
9248
+ display: flex;
9249
+ justify-content: center;
9250
+ flex-shrink: 0;
9251
+ padding: var(--spacing-3) 0;
9252
+ }
9253
+
9254
+ .muka-sheet__handle {
9255
+ width: var(--dialog-drag-handle-width);
9256
+ height: var(--dialog-drag-handle-height);
9257
+ background-color: var(--dialog-drag-handle-color);
9258
+ border-radius: var(--dialog-drag-handle-radius);
9259
+ }
9260
+
9261
+ /* ─── Body (scrollable) ───────────────────────────────── */
9262
+
9263
+ .muka-sheet__body {
9264
+ flex: 1 1 0%;
9265
+ min-height: 0;
9266
+ overflow-y: auto;
9267
+ -webkit-overflow-scrolling: touch;
9268
+ overscroll-behavior: contain;
9269
+ }
9270
+
9271
+ /* ─── Visually-hidden title (a11y) ────────────────────── */
9272
+
9273
+ .muka-sheet__sr-title {
9274
+ position: absolute;
9275
+ width: 1px;
9276
+ height: 1px;
9277
+ padding: 0;
9278
+ margin: -1px;
9279
+ overflow: hidden;
9280
+ clip: rect(0, 0, 0, 0);
9281
+ white-space: nowrap;
9282
+ border: 0;
9283
+ }
9284
+
9285
+
9286
+ /* NumberInput */
9287
+ /* NumberInput — reuses Input field styles (../Input/Input.css). */
9288
+ /* Only the prefix/suffix affixes are NumberInput-specific. */
9289
+
9290
+ .muka-numberinput__addon {
9291
+ display: inline-flex;
9292
+ align-items: center;
9293
+ flex: none;
9294
+ color: var(--color-text-subtle-default);
9295
+ font-family: var(--text-input-md-fontFamily);
9296
+ font-size: var(--text-input-md-fontSize);
9297
+ line-height: var(--text-input-md-lineHeight);
9298
+ user-select: none;
9299
+ pointer-events: none;
9300
+ white-space: nowrap;
9301
+ }
9302
+
9303
+ /* Hide the native number spinners — affixes/step API replace them. */
9304
+ .muka-numberinput__field .muka-input__native::-webkit-outer-spin-button,
9305
+ .muka-numberinput__field .muka-input__native::-webkit-inner-spin-button {
9306
+ -webkit-appearance: none;
9307
+ margin: 0;
9308
+ }
9309
+
9310
+ .muka-numberinput__field .muka-input__native {
9311
+ -moz-appearance: textfield;
9312
+ appearance: textfield;
9313
+ }
9314
+
9315
+
9244
9316
  /* NavigationTransition */
9245
9317
  /* NavigationTransition Component Styles */
9246
9318
 
@@ -9766,36 +9838,6 @@ button.muka-progress-tracker__tab:focus-visible {
9766
9838
  }
9767
9839
 
9768
9840
 
9769
- /* NumberInput */
9770
- /* NumberInput — reuses Input field styles (../Input/Input.css). */
9771
- /* Only the prefix/suffix affixes are NumberInput-specific. */
9772
-
9773
- .muka-numberinput__addon {
9774
- display: inline-flex;
9775
- align-items: center;
9776
- flex: none;
9777
- color: var(--color-text-subtle-default);
9778
- font-family: var(--text-input-md-fontFamily);
9779
- font-size: var(--text-input-md-fontSize);
9780
- line-height: var(--text-input-md-lineHeight);
9781
- user-select: none;
9782
- pointer-events: none;
9783
- white-space: nowrap;
9784
- }
9785
-
9786
- /* Hide the native number spinners — affixes/step API replace them. */
9787
- .muka-numberinput__field .muka-input__native::-webkit-outer-spin-button,
9788
- .muka-numberinput__field .muka-input__native::-webkit-inner-spin-button {
9789
- -webkit-appearance: none;
9790
- margin: 0;
9791
- }
9792
-
9793
- .muka-numberinput__field .muka-input__native {
9794
- -moz-appearance: textfield;
9795
- appearance: textfield;
9796
- }
9797
-
9798
-
9799
9841
  /* MediaViewer */
9800
9842
  /* MediaViewer Component Styles - Using Muka Design Tokens */
9801
9843
 
@@ -10190,50 +10232,78 @@ a.muka-listitem {
10190
10232
  width: 100%;
10191
10233
  }
10192
10234
 
10193
- /* List item specific styles */
10194
- li.muka-listitem {
10195
- list-style: none;
10196
- }
10235
+ /* A row rendered as a link reads as a row, not as link text */
10236
+ a.muka-listitem {
10237
+ color: inherit;
10238
+ text-decoration: none;
10239
+ }
10240
+
10241
+ /* List item specific styles */
10242
+ li.muka-listitem {
10243
+ list-style: none;
10244
+ }
10197
10245
 
10246
+ /* ─── Tone ─────────────────────────────────────────────── */
10198
10247
 
10199
- /* Label */
10200
- /* Label Component Styles - Using Muka Design Tokens */
10248
+ .muka-listitem--tone-info,
10249
+ .muka-listitem-group--tone-info {
10250
+ background-color: var(--color-state-info-background);
10251
+ }
10201
10252
 
10202
- .muka-label {
10203
- display: inline-flex;
10253
+ .muka-listitem--tone-warning,
10254
+ .muka-listitem-group--tone-warning {
10255
+ background-color: var(--color-state-warning-background);
10256
+ }
10257
+
10258
+ /* ─── Actions beside the row ───────────────────────────── */
10259
+
10260
+ /*
10261
+ * With `actions`, the row (the click target) and the actions are siblings in a
10262
+ * group. The group carries the surface, the tone and the divider; the row
10263
+ * fills the space and the actions sit at the end.
10264
+ */
10265
+ .muka-listitem-group {
10266
+ display: flex;
10204
10267
  align-items: center;
10205
- color: var(--color-text-default-default);
10206
- cursor: pointer;
10268
+ position: relative;
10269
+ background-color: var(--color-surface-level3);
10270
+ list-style: none;
10207
10271
  }
10208
10272
 
10209
- .muka-label--sm {
10210
- font-family: var(--text-label-sm-semibold-fontFamily);
10211
- font-weight: var(--text-label-sm-semibold-fontWeight);
10212
- font-size: var(--text-label-sm-semibold-fontSize);
10213
- line-height: var(--text-label-sm-semibold-lineHeight);
10273
+ .muka-listitem-group--selected {
10274
+ background-color: var(--color-surface-level2);
10214
10275
  }
10215
10276
 
10216
- .muka-label--md {
10217
- font-family: var(--text-label-md-semibold-fontFamily);
10218
- font-weight: var(--text-label-md-semibold-fontWeight);
10219
- font-size: var(--text-label-md-semibold-fontSize);
10220
- line-height: var(--text-label-md-semibold-lineHeight);
10277
+ .muka-listitem-group--disabled {
10278
+ opacity: 0.5;
10221
10279
  }
10222
10280
 
10223
- .muka-label--lg {
10224
- font-family: var(--text-label-lg-semibold-fontFamily);
10225
- font-weight: var(--text-label-lg-semibold-fontWeight);
10226
- font-size: var(--text-label-lg-semibold-fontSize);
10227
- line-height: var(--text-label-lg-semibold-lineHeight);
10281
+ .muka-listitem-group--disabled .muka-listitem--disabled {
10282
+ /* The group already dims; don't dim the row twice */
10283
+ opacity: 1;
10228
10284
  }
10229
10285
 
10230
- .muka-label--disabled {
10231
- color: var(--color-text-subtle-default);
10232
- cursor: not-allowed;
10286
+ .muka-listitem--with-actions {
10287
+ flex: 1;
10288
+ min-width: 0;
10289
+ padding-right: var(--spacing-2);
10290
+ background-color: transparent;
10233
10291
  }
10234
10292
 
10235
- .muka-label__required {
10236
- color: var(--color-state-error-default);
10293
+ .muka-listitem--with-actions.muka-listitem--selected {
10294
+ background-color: transparent;
10295
+ }
10296
+
10297
+ .muka-listitem__actions {
10298
+ display: flex;
10299
+ align-items: center;
10300
+ gap: var(--spacing-2);
10301
+ flex-shrink: 0;
10302
+ padding-right: var(--spacing-4);
10303
+ }
10304
+
10305
+ .muka-listitem-group--no-divider .muka-listitem__divider {
10306
+ display: none;
10237
10307
  }
10238
10308
 
10239
10309
 
@@ -10430,6 +10500,47 @@ li.muka-listitem {
10430
10500
  }
10431
10501
 
10432
10502
 
10503
+ /* Label */
10504
+ /* Label Component Styles - Using Muka Design Tokens */
10505
+
10506
+ .muka-label {
10507
+ display: inline-flex;
10508
+ align-items: center;
10509
+ color: var(--color-text-default-default);
10510
+ cursor: pointer;
10511
+ }
10512
+
10513
+ .muka-label--sm {
10514
+ font-family: var(--text-label-sm-semibold-fontFamily);
10515
+ font-weight: var(--text-label-sm-semibold-fontWeight);
10516
+ font-size: var(--text-label-sm-semibold-fontSize);
10517
+ line-height: var(--text-label-sm-semibold-lineHeight);
10518
+ }
10519
+
10520
+ .muka-label--md {
10521
+ font-family: var(--text-label-md-semibold-fontFamily);
10522
+ font-weight: var(--text-label-md-semibold-fontWeight);
10523
+ font-size: var(--text-label-md-semibold-fontSize);
10524
+ line-height: var(--text-label-md-semibold-lineHeight);
10525
+ }
10526
+
10527
+ .muka-label--lg {
10528
+ font-family: var(--text-label-lg-semibold-fontFamily);
10529
+ font-weight: var(--text-label-lg-semibold-fontWeight);
10530
+ font-size: var(--text-label-lg-semibold-fontSize);
10531
+ line-height: var(--text-label-lg-semibold-lineHeight);
10532
+ }
10533
+
10534
+ .muka-label--disabled {
10535
+ color: var(--color-text-subtle-default);
10536
+ cursor: not-allowed;
10537
+ }
10538
+
10539
+ .muka-label__required {
10540
+ color: var(--color-state-error-default);
10541
+ }
10542
+
10543
+
10433
10544
  /* InputCounter */
10434
10545
  /* InputCounter — numeric field + joined decrement/increment buttons.
10435
10546
  Label, helper and error text reuse Input.css (../Input/Input.css).
@@ -12272,6 +12383,33 @@ li.muka-listitem {
12272
12383
  background-color: var(--separator-color-contrast);
12273
12384
  }
12274
12385
 
12386
+ /* ─── With a label in the middle ───────────────────────── */
12387
+
12388
+ .muka-divider-labelled {
12389
+ display: flex;
12390
+ align-items: center;
12391
+ gap: var(--spacing-3);
12392
+ width: 100%;
12393
+ }
12394
+
12395
+ .muka-divider-labelled > .muka-divider {
12396
+ flex: 1 1 0%;
12397
+ width: auto;
12398
+ }
12399
+
12400
+ .muka-divider-labelled__label {
12401
+ flex-shrink: 0;
12402
+ max-width: 70%;
12403
+ overflow: hidden;
12404
+ text-overflow: ellipsis;
12405
+ white-space: nowrap;
12406
+ color: var(--color-text-default-default);
12407
+ font-family: var(--text-label-sm-regular-fontFamily);
12408
+ font-weight: var(--text-label-sm-regular-fontWeight);
12409
+ font-size: var(--text-label-sm-regular-fontSize);
12410
+ line-height: var(--text-label-sm-leading);
12411
+ }
12412
+
12275
12413
 
12276
12414
  /* Dialog */
12277
12415
  /* Dialog Component Styles */
@@ -14162,47 +14300,6 @@ button.muka-chip__trailing[aria-expanded='true'],
14162
14300
  }
14163
14301
 
14164
14302
 
14165
- /* ChatQuestionSeries */
14166
- /* ChatQuestionSeries — step dots and the collapsed summary (experimental) */
14167
- .muka-chat-series__dots {
14168
- display: inline-flex;
14169
- align-items: center;
14170
- gap: var(--spacing-1);
14171
- }
14172
-
14173
- .muka-chat-series__dot {
14174
- width: var(--spacing-1);
14175
- height: var(--spacing-1);
14176
- border-radius: var(--border-radius-full);
14177
- background-color: var(--color-border-default);
14178
- }
14179
-
14180
- .muka-chat-series__dot--done {
14181
- background-color: var(--color-text-subtle-default);
14182
- }
14183
-
14184
- .muka-chat-series__dot--current {
14185
- width: var(--spacing-2);
14186
- height: var(--spacing-2);
14187
- background-color: var(--color-text-default-default);
14188
- }
14189
-
14190
- .muka-chat-series__summary {
14191
- display: flex;
14192
- flex-direction: column;
14193
- gap: var(--spacing-2);
14194
- }
14195
-
14196
- .muka-chat-series__summary-row {
14197
- display: flex;
14198
- flex-direction: column;
14199
- }
14200
-
14201
- .muka-chat-series__summary-question {
14202
- color: var(--color-text-subtle-default);
14203
- }
14204
-
14205
-
14206
14303
  /* ChatQuestionCard */
14207
14304
  /*
14208
14305
  * ChatQuestionCard — in-thread question widget (experimental).
@@ -14404,71 +14501,44 @@ button.muka-chat-photo-grid__tile:focus-visible {
14404
14501
  }
14405
14502
 
14406
14503
 
14407
- /* ChatMessageStack */
14408
- /* ChatMessageStack Component Styles */
14504
+ /* ChatQuestionSeries */
14505
+ /* ChatQuestionSeries — step dots and the collapsed summary (experimental) */
14506
+ .muka-chat-series__dots {
14507
+ display: inline-flex;
14508
+ align-items: center;
14509
+ gap: var(--spacing-1);
14510
+ }
14409
14511
 
14410
- .muka-chat-message-stack {
14411
- display: flex;
14412
- flex-direction: column;
14413
- gap: var(--chatbubble-stack-gap);
14414
- width: 100%;
14415
- max-width: 100%;
14512
+ .muka-chat-series__dot {
14513
+ width: var(--spacing-1);
14514
+ height: var(--spacing-1);
14515
+ border-radius: var(--border-radius-full);
14516
+ background-color: var(--color-border-default);
14416
14517
  }
14417
14518
 
14418
- .muka-chat-message-stack__messages {
14419
- display: flex;
14420
- flex-direction: column;
14421
- gap: var(--chatbubble-stack-gap);
14422
- width: 100%;
14519
+ .muka-chat-series__dot--done {
14520
+ background-color: var(--color-text-subtle-default);
14423
14521
  }
14424
14522
 
14425
- /*
14426
- * Reasoning sits above the stack, indented past the avatar rail so it lines up
14427
- * with the bubbles rather than with the avatar (Figma 5379:47300).
14428
- */
14429
- .muka-chat-message-stack__reasoning {
14430
- min-width: 0;
14523
+ .muka-chat-series__dot--current {
14524
+ width: var(--spacing-2);
14525
+ height: var(--spacing-2);
14526
+ background-color: var(--color-text-default-default);
14431
14527
  }
14432
14528
 
14433
- /* In-thread widgets after the messages share the reasoning's indent. */
14434
- .muka-chat-message-stack__widgets {
14529
+ .muka-chat-series__summary {
14435
14530
  display: flex;
14436
14531
  flex-direction: column;
14437
- gap: var(--chatbubble-stack-gap);
14438
- min-width: 0;
14439
- }
14440
-
14441
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14442
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14443
- padding-left: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14532
+ gap: var(--spacing-2);
14444
14533
  }
14445
14534
 
14446
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14447
- .muka-chat-message-stack__widgets,
14448
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14449
- .muka-chat-message-stack__reasoning {
14450
- padding-left: 0;
14451
- padding-right: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14535
+ .muka-chat-series__summary-row {
14536
+ display: flex;
14537
+ flex-direction: column;
14452
14538
  }
14453
14539
 
14454
- /* Follow the message's compact rail and gap below the desktop breakpoint */
14455
- @media (max-width: 1023px) {
14456
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14457
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14458
- padding-left: calc(
14459
- var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14460
- );
14461
- }
14462
-
14463
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14464
- .muka-chat-message-stack__widgets,
14465
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14466
- .muka-chat-message-stack__reasoning {
14467
- padding-left: 0;
14468
- padding-right: calc(
14469
- var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14470
- );
14471
- }
14540
+ .muka-chat-series__summary-question {
14541
+ color: var(--color-text-subtle-default);
14472
14542
  }
14473
14543
 
14474
14544
 
@@ -14845,14 +14915,76 @@ button.muka-chat-photo-grid__tile:focus-visible {
14845
14915
  }
14846
14916
  }
14847
14917
 
14918
+ /* ─── Muted (a message from another context) ──────────────
14919
+ * The bubble drops its fill and keeps a hairline, so it recedes next to the
14920
+ * current conversation; the text keeps full contrast. */
14848
14921
 
14849
- /* ChatComposer */
14850
- /* ChatComposer Component Styles */
14922
+ .muka-chat-message--muted .muka-chat-message__bubble {
14923
+ background-color: transparent;
14924
+ border-color: var(--chatbubble-color-peer-border);
14925
+ color: var(--color-text-default-default);
14926
+ }
14851
14927
 
14852
- /*
14853
- * The composer is a bare, fill-width row: no padding, background, border or
14854
- * max-width of its own (Figma 5243:14141). Whatever hosts it owns the
14855
- * container — see BottomBar's `chat` variant.
14928
+
14929
+ /* ChatEvent */
14930
+ /* ChatEvent: a line in a chat that isn't a message from a person */
14931
+
14932
+ .muka-chat-event {
14933
+ display: flex;
14934
+ flex-direction: column;
14935
+ align-items: center;
14936
+ gap: var(--spacing-2);
14937
+ width: 100%;
14938
+ padding: 0 var(--spacing-4);
14939
+ box-sizing: border-box;
14940
+ text-align: center;
14941
+ }
14942
+
14943
+ .muka-chat-event__text {
14944
+ margin: 0;
14945
+ max-width: var(--chatbubble-max-width);
14946
+ /* Default text, not subtle: subtle reaches only ~3:1 on the chat surfaces,
14947
+ and this is body text. Size and centring set it apart from messages. */
14948
+ color: var(--color-text-default-default);
14949
+ font-family: var(--text-body-sm-regular-fontFamily);
14950
+ font-weight: var(--text-body-sm-regular-fontWeight);
14951
+ font-size: var(--text-body-sm-regular-fontSize);
14952
+ line-height: var(--text-body-sm-regular-lineHeight);
14953
+ }
14954
+
14955
+ .muka-chat-event__timestamp {
14956
+ white-space: nowrap;
14957
+ }
14958
+
14959
+ .muka-chat-event__media {
14960
+ display: flex;
14961
+ flex-wrap: wrap;
14962
+ justify-content: center;
14963
+ gap: var(--spacing-2);
14964
+ }
14965
+
14966
+ /* Day divider: a small pill */
14967
+ .muka-chat-event__pill {
14968
+ display: inline-flex;
14969
+ align-items: center;
14970
+ padding: var(--spacing-1) var(--spacing-3);
14971
+ border-radius: var(--radius-full);
14972
+ background-color: var(--color-surface-level2);
14973
+ color: var(--color-text-default-default);
14974
+ font-family: var(--text-label-sm-regular-fontFamily);
14975
+ font-weight: var(--text-label-sm-regular-fontWeight);
14976
+ font-size: var(--text-label-sm-regular-fontSize);
14977
+ line-height: var(--text-label-sm-leading);
14978
+ }
14979
+
14980
+
14981
+ /* ChatComposer */
14982
+ /* ChatComposer Component Styles */
14983
+
14984
+ /*
14985
+ * The composer is a bare, fill-width row: no padding, background, border or
14986
+ * max-width of its own (Figma 5243:14141). Whatever hosts it owns the
14987
+ * container — see BottomBar's `chat` variant.
14856
14988
  */
14857
14989
  .muka-chat-composer {
14858
14990
  display: flex;
@@ -15138,6 +15270,74 @@ button.muka-chat-photo-grid__tile:focus-visible {
15138
15270
  }
15139
15271
 
15140
15272
 
15273
+ /* ChatMessageStack */
15274
+ /* ChatMessageStack Component Styles */
15275
+
15276
+ .muka-chat-message-stack {
15277
+ display: flex;
15278
+ flex-direction: column;
15279
+ gap: var(--chatbubble-stack-gap);
15280
+ width: 100%;
15281
+ max-width: 100%;
15282
+ }
15283
+
15284
+ .muka-chat-message-stack__messages {
15285
+ display: flex;
15286
+ flex-direction: column;
15287
+ gap: var(--chatbubble-stack-gap);
15288
+ width: 100%;
15289
+ }
15290
+
15291
+ /*
15292
+ * Reasoning sits above the stack, indented past the avatar rail so it lines up
15293
+ * with the bubbles rather than with the avatar (Figma 5379:47300).
15294
+ */
15295
+ .muka-chat-message-stack__reasoning {
15296
+ min-width: 0;
15297
+ }
15298
+
15299
+ /* In-thread widgets after the messages share the reasoning's indent. */
15300
+ .muka-chat-message-stack__widgets {
15301
+ display: flex;
15302
+ flex-direction: column;
15303
+ gap: var(--chatbubble-stack-gap);
15304
+ min-width: 0;
15305
+ }
15306
+
15307
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
15308
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
15309
+ padding-left: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
15310
+ }
15311
+
15312
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
15313
+ .muka-chat-message-stack__widgets,
15314
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
15315
+ .muka-chat-message-stack__reasoning {
15316
+ padding-left: 0;
15317
+ padding-right: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
15318
+ }
15319
+
15320
+ /* Follow the message's compact rail and gap below the desktop breakpoint */
15321
+ @media (max-width: 1023px) {
15322
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
15323
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
15324
+ padding-left: calc(
15325
+ var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
15326
+ );
15327
+ }
15328
+
15329
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
15330
+ .muka-chat-message-stack__widgets,
15331
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
15332
+ .muka-chat-message-stack__reasoning {
15333
+ padding-left: 0;
15334
+ padding-right: calc(
15335
+ var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
15336
+ );
15337
+ }
15338
+ }
15339
+
15340
+
15141
15341
  /* ChatChoiceCard */
15142
15342
  /* ChatChoiceCard — compact option rows (experimental) */
15143
15343
  .muka-chat-choice__list {
@@ -15174,254 +15374,98 @@ button.muka-chat-photo-grid__tile:focus-visible {
15174
15374
  }
15175
15375
 
15176
15376
 
15177
- /* ChatAttachmentChip */
15178
- /* ChatAttachmentChip Component Styles */
15377
+ /* Card */
15378
+ /* Card Component Styles - Using Muka Design Tokens */
15179
15379
 
15180
- .muka-chat-attachment-chip {
15181
- position: relative;
15182
- display: inline-flex;
15183
- align-items: center;
15184
- gap: var(--spacing-1);
15185
- max-width: 240px;
15186
- padding: var(--spacing-2) var(--spacing-3);
15187
- background-color: var(--color-surface-level1);
15188
- border: var(--border-width-regular) solid var(--color-border-default);
15189
- border-radius: var(--radius-md);
15380
+ .muka-card {
15381
+ background-color: var(--card-color-default-background);
15382
+ color: var(--card-color-default-foreground);
15383
+ border: var(--border-width-regular) solid var(--card-color-default-border);
15384
+ box-shadow: var(--card-shadow-default);
15385
+ transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
15190
15386
  overflow: hidden;
15191
15387
  }
15192
15388
 
15193
- .muka-chat-attachment-chip--uploading {
15194
- padding-bottom: calc(var(--spacing-2) + 2px);
15389
+ /* Padding variants */
15390
+ .muka-card--padding-none {
15391
+ padding: 0;
15195
15392
  }
15196
15393
 
15197
- .muka-chat-attachment-chip--error {
15198
- border-color: var(--color-state-error-default, var(--color-text-default-default));
15394
+ .muka-card--padding-sm {
15395
+ padding: var(--card-padding-sm);
15199
15396
  }
15200
15397
 
15201
- .muka-chat-attachment-chip--disabled {
15202
- opacity: 0.5;
15203
- pointer-events: none;
15398
+ .muka-card--padding-md {
15399
+ padding: var(--card-padding-md);
15204
15400
  }
15205
15401
 
15206
- /* ─── Body (icon + text) ───────────────────────────────── */
15402
+ .muka-card--padding-lg {
15403
+ padding: var(--card-padding-lg);
15404
+ }
15207
15405
 
15208
- .muka-chat-attachment-chip__body {
15209
- display: inline-flex;
15210
- align-items: center;
15211
- gap: var(--spacing-2);
15212
- min-width: 0;
15213
- flex: 1 1 auto;
15214
- background: none;
15215
- border: none;
15216
- padding: 0;
15217
- margin: 0;
15218
- text-align: left;
15219
- color: inherit;
15220
- font: inherit;
15221
- cursor: default;
15222
- -webkit-tap-highlight-color: transparent;
15406
+ /* Radius variants */
15407
+ .muka-card--radius-sm {
15408
+ border-radius: var(--card-radius-sm);
15223
15409
  }
15224
15410
 
15225
- .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
15411
+ .muka-card--radius-md {
15412
+ border-radius: var(--card-radius-md);
15413
+ }
15414
+
15415
+ .muka-card--radius-lg {
15416
+ border-radius: var(--card-radius-lg);
15417
+ }
15418
+
15419
+ /* Interactive variant */
15420
+ .muka-card--interactive {
15226
15421
  cursor: pointer;
15422
+ user-select: none;
15227
15423
  }
15228
15424
 
15229
- .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
15230
- outline: 2px solid var(--color-action-default);
15231
- outline-offset: 2px;
15232
- border-radius: var(--radius-sm);
15425
+ .muka-card--interactive:hover {
15426
+ background-color: var(--card-color-hover-background);
15427
+ border-color: var(--card-color-hover-border);
15428
+ box-shadow: var(--card-shadow-hover);
15233
15429
  }
15234
15430
 
15235
- .muka-chat-attachment-chip__icon {
15236
- display: inline-flex;
15237
- align-items: center;
15238
- justify-content: center;
15239
- flex-shrink: 0;
15240
- color: var(--color-text-subtle-default);
15431
+ .muka-card--interactive:active,
15432
+ .muka-card--interactive.muka-card--pressed {
15433
+ background-color: var(--card-color-pressed-background);
15434
+ border-color: var(--card-color-pressed-border);
15435
+ box-shadow: var(--card-shadow-pressed);
15241
15436
  }
15242
15437
 
15243
- .muka-chat-attachment-chip__text {
15244
- display: flex;
15245
- flex-direction: column;
15246
- min-width: 0;
15247
- flex: 1 1 auto;
15438
+ .muka-card--interactive:focus-visible {
15439
+ outline: 2px solid var(--color-border-focus);
15440
+ outline-offset: 2px;
15248
15441
  }
15249
15442
 
15250
- .muka-chat-attachment-chip__name {
15251
- color: var(--color-text-default-default);
15252
- font-family: var(--text-body-sm-regular-fontFamily);
15253
- font-weight: var(--text-body-sm-regular-fontWeight);
15254
- font-size: var(--text-body-sm-regular-fontSize);
15255
- line-height: var(--text-body-sm-regular-lineHeight);
15256
- white-space: nowrap;
15257
- overflow: hidden;
15258
- text-overflow: ellipsis;
15443
+ /* Selected variant */
15444
+ .muka-card--selected {
15445
+ background-color: var(--card-color-selected-background);
15446
+ border-color: var(--card-color-selected-border);
15447
+ border-width: var(--border-width-bold);
15448
+ box-shadow: var(--card-shadow-selected);
15259
15449
  }
15260
15450
 
15261
- .muka-chat-attachment-chip__meta {
15262
- color: var(--color-text-subtle-default);
15263
- font-family: var(--text-body-sm-regular-fontFamily);
15264
- font-weight: var(--text-body-sm-regular-fontWeight);
15265
- font-size: var(--text-body-sm-regular-fontSize);
15266
- line-height: var(--text-body-sm-regular-lineHeight);
15267
- white-space: nowrap;
15268
- overflow: hidden;
15269
- text-overflow: ellipsis;
15451
+ /* Tone: sticky note (MUK-105) */
15452
+ .muka-card--tone-note {
15453
+ background-color: var(--card-color-note-background);
15454
+ color: var(--card-color-note-foreground);
15455
+ border-color: var(--card-color-note-border);
15456
+ box-shadow: var(--card-shadow-note);
15270
15457
  }
15271
15458
 
15272
- .muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
15273
- color: var(--color-state-error-default, var(--color-text-default-default));
15459
+ .muka-card--tone-note.muka-card--interactive:hover,
15460
+ .muka-card--tone-note.muka-card--interactive:active,
15461
+ .muka-card--tone-note.muka-card--interactive.muka-card--pressed {
15462
+ background-color: var(--card-color-note-background);
15463
+ border-color: var(--card-color-note-border);
15274
15464
  }
15275
15465
 
15276
- /* ─── Remove button ────────────────────────────────────── */
15277
-
15278
- .muka-chat-attachment-chip__remove {
15279
- display: inline-flex;
15280
- align-items: center;
15281
- justify-content: center;
15282
- width: 20px;
15283
- height: 20px;
15284
- border: none;
15285
- background: none;
15286
- padding: 0;
15287
- border-radius: var(--radius-sm);
15288
- cursor: pointer;
15289
- color: var(--color-text-subtle-default);
15290
- flex-shrink: 0;
15291
- -webkit-tap-highlight-color: transparent;
15292
- }
15293
-
15294
- .muka-chat-attachment-chip__remove:hover:not(:disabled) {
15295
- color: var(--color-text-default-default);
15296
- background-color: var(--color-surface-level2);
15297
- }
15298
-
15299
- .muka-chat-attachment-chip__remove:focus-visible {
15300
- outline: 2px solid var(--color-action-default);
15301
- outline-offset: 2px;
15302
- }
15303
-
15304
- .muka-chat-attachment-chip__remove:disabled {
15305
- cursor: not-allowed;
15306
- opacity: 0.5;
15307
- }
15308
-
15309
- /* ─── Progress bar ─────────────────────────────────────── */
15310
-
15311
- .muka-chat-attachment-chip__progress {
15312
- position: absolute;
15313
- left: 0;
15314
- right: 0;
15315
- bottom: 0;
15316
- height: 2px;
15317
- background-color: var(--color-surface-level2);
15318
- overflow: hidden;
15319
- }
15320
-
15321
- .muka-chat-attachment-chip__progress-fill {
15322
- display: block;
15323
- height: 100%;
15324
- background-color: var(--color-action-default);
15325
- transition: width 0.16s ease;
15326
- }
15327
-
15328
- .muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
15329
- background-color: var(--color-state-error-default, var(--color-text-default-default));
15330
- }
15331
-
15332
-
15333
- /* Card */
15334
- /* Card Component Styles - Using Muka Design Tokens */
15335
-
15336
- .muka-card {
15337
- background-color: var(--card-color-default-background);
15338
- color: var(--card-color-default-foreground);
15339
- border: var(--border-width-regular) solid var(--card-color-default-border);
15340
- box-shadow: var(--card-shadow-default);
15341
- transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
15342
- overflow: hidden;
15343
- }
15344
-
15345
- /* Padding variants */
15346
- .muka-card--padding-none {
15347
- padding: 0;
15348
- }
15349
-
15350
- .muka-card--padding-sm {
15351
- padding: var(--card-padding-sm);
15352
- }
15353
-
15354
- .muka-card--padding-md {
15355
- padding: var(--card-padding-md);
15356
- }
15357
-
15358
- .muka-card--padding-lg {
15359
- padding: var(--card-padding-lg);
15360
- }
15361
-
15362
- /* Radius variants */
15363
- .muka-card--radius-sm {
15364
- border-radius: var(--card-radius-sm);
15365
- }
15366
-
15367
- .muka-card--radius-md {
15368
- border-radius: var(--card-radius-md);
15369
- }
15370
-
15371
- .muka-card--radius-lg {
15372
- border-radius: var(--card-radius-lg);
15373
- }
15374
-
15375
- /* Interactive variant */
15376
- .muka-card--interactive {
15377
- cursor: pointer;
15378
- user-select: none;
15379
- }
15380
-
15381
- .muka-card--interactive:hover {
15382
- background-color: var(--card-color-hover-background);
15383
- border-color: var(--card-color-hover-border);
15384
- box-shadow: var(--card-shadow-hover);
15385
- }
15386
-
15387
- .muka-card--interactive:active,
15388
- .muka-card--interactive.muka-card--pressed {
15389
- background-color: var(--card-color-pressed-background);
15390
- border-color: var(--card-color-pressed-border);
15391
- box-shadow: var(--card-shadow-pressed);
15392
- }
15393
-
15394
- .muka-card--interactive:focus-visible {
15395
- outline: 2px solid var(--color-border-focus);
15396
- outline-offset: 2px;
15397
- }
15398
-
15399
- /* Selected variant */
15400
- .muka-card--selected {
15401
- background-color: var(--card-color-selected-background);
15402
- border-color: var(--card-color-selected-border);
15403
- border-width: var(--border-width-bold);
15404
- box-shadow: var(--card-shadow-selected);
15405
- }
15406
-
15407
- /* Tone: sticky note (MUK-105) */
15408
- .muka-card--tone-note {
15409
- background-color: var(--card-color-note-background);
15410
- color: var(--card-color-note-foreground);
15411
- border-color: var(--card-color-note-border);
15412
- box-shadow: var(--card-shadow-note);
15413
- }
15414
-
15415
- .muka-card--tone-note.muka-card--interactive:hover,
15416
- .muka-card--tone-note.muka-card--interactive:active,
15417
- .muka-card--tone-note.muka-card--interactive.muka-card--pressed {
15418
- background-color: var(--card-color-note-background);
15419
- border-color: var(--card-color-note-border);
15420
- }
15421
-
15422
- .muka-card--tilt-left {
15423
- transform: rotate(-0.75deg);
15424
- }
15466
+ .muka-card--tilt-left {
15467
+ transform: rotate(-0.75deg);
15468
+ }
15425
15469
 
15426
15470
  .muka-card--tilt-right {
15427
15471
  transform: rotate(0.6deg);
@@ -16306,90 +16350,246 @@ button.muka-chat-photo-grid__tile:focus-visible {
16306
16350
  }
16307
16351
 
16308
16352
 
16309
- /* BadgeNumber */
16310
- /* BadgeNumber Component Styles - Using Muka Design Tokens */
16353
+ /* ChatAttachmentChip */
16354
+ /* ChatAttachmentChip Component Styles */
16311
16355
 
16312
- .muka-badge-number {
16356
+ .muka-chat-attachment-chip {
16357
+ position: relative;
16313
16358
  display: inline-flex;
16314
16359
  align-items: center;
16315
- justify-content: center;
16316
- border-radius: var(--border-radius-full);
16317
- white-space: nowrap;
16318
- user-select: none;
16319
- box-sizing: border-box;
16360
+ gap: var(--spacing-1);
16361
+ max-width: 240px;
16362
+ padding: var(--spacing-2) var(--spacing-3);
16363
+ background-color: var(--color-surface-level1);
16364
+ border: var(--border-width-regular) solid var(--color-border-default);
16365
+ border-radius: var(--radius-md);
16366
+ overflow: hidden;
16320
16367
  }
16321
16368
 
16322
- /*
16323
- * Sizes — fixed height, matching min-width (so a single digit renders as a
16324
- * circle), horizontal padding, and bold label typography. Vertical centering
16325
- * is handled by the fixed height + align-items: center.
16326
- */
16327
- .muka-badge-number--2xs {
16328
- height: var(--badge-number-size-2xs);
16329
- min-width: var(--badge-number-size-2xs);
16330
- padding: 0 var(--badge-number-padding-2xs);
16331
- font-family: var(--text-label-xs-bold-fontFamily);
16332
- font-weight: var(--text-label-xs-bold-fontWeight);
16333
- font-size: var(--text-label-xs-bold-fontSize);
16334
- line-height: var(--text-label-xs-bold-lineHeight);
16369
+ .muka-chat-attachment-chip--uploading {
16370
+ padding-bottom: calc(var(--spacing-2) + 2px);
16335
16371
  }
16336
16372
 
16337
- .muka-badge-number--xs {
16338
- height: var(--badge-number-size-xs);
16339
- min-width: var(--badge-number-size-xs);
16340
- padding: 0 var(--badge-number-padding-xs);
16341
- font-family: var(--text-label-sm-bold-fontFamily);
16342
- font-weight: var(--text-label-sm-bold-fontWeight);
16343
- font-size: var(--text-label-sm-bold-fontSize);
16344
- line-height: var(--text-label-sm-bold-lineHeight);
16373
+ .muka-chat-attachment-chip--error {
16374
+ border-color: var(--color-state-error-default, var(--color-text-default-default));
16345
16375
  }
16346
16376
 
16347
- .muka-badge-number--sm {
16348
- height: var(--badge-number-size-sm);
16349
- min-width: var(--badge-number-size-sm);
16350
- padding: 0 var(--badge-number-padding-sm);
16351
- font-family: var(--text-label-md-bold-fontFamily);
16352
- font-weight: var(--text-label-md-bold-fontWeight);
16353
- font-size: var(--text-label-md-bold-fontSize);
16354
- line-height: var(--text-label-md-bold-lineHeight);
16377
+ .muka-chat-attachment-chip--disabled {
16378
+ opacity: 0.5;
16379
+ pointer-events: none;
16355
16380
  }
16356
16381
 
16357
- .muka-badge-number--md {
16358
- height: var(--badge-number-size-md);
16359
- min-width: var(--badge-number-size-md);
16360
- padding: 0 var(--badge-number-padding-md);
16361
- font-family: var(--text-label-lg-bold-fontFamily);
16362
- font-weight: var(--text-label-lg-bold-fontWeight);
16363
- font-size: var(--text-label-lg-bold-fontSize);
16364
- line-height: var(--text-label-lg-bold-lineHeight);
16382
+ /* ─── Body (icon + text) ───────────────────────────────── */
16383
+
16384
+ .muka-chat-attachment-chip__body {
16385
+ display: inline-flex;
16386
+ align-items: center;
16387
+ gap: var(--spacing-2);
16388
+ min-width: 0;
16389
+ flex: 1 1 auto;
16390
+ background: none;
16391
+ border: none;
16392
+ padding: 0;
16393
+ margin: 0;
16394
+ text-align: left;
16395
+ color: inherit;
16396
+ font: inherit;
16397
+ cursor: default;
16398
+ -webkit-tap-highlight-color: transparent;
16365
16399
  }
16366
16400
 
16367
- .muka-badge-number--lg {
16368
- height: var(--badge-number-size-lg);
16369
- min-width: var(--badge-number-size-lg);
16370
- padding: 0 var(--badge-number-padding-lg);
16371
- font-family: var(--text-label-2xl-bold-fontFamily);
16372
- font-weight: var(--text-label-2xl-bold-fontWeight);
16373
- font-size: var(--text-label-2xl-bold-fontSize);
16374
- line-height: var(--text-label-2xl-bold-lineHeight);
16401
+ .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
16402
+ cursor: pointer;
16375
16403
  }
16376
16404
 
16377
- .muka-badge-number__label {
16378
- /*
16379
- * The badge sets a tight line-height for compact sizing, which would clip
16380
- * glyph descenders; give the label a roomier line-height. Vertical centering
16381
- * is unaffected because the badge height is fixed and content is centered.
16382
- */
16383
- line-height: normal;
16405
+ .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
16406
+ outline: 2px solid var(--color-action-default);
16407
+ outline-offset: 2px;
16408
+ border-radius: var(--radius-sm);
16384
16409
  }
16385
16410
 
16386
- /* Neutral variant */
16387
- .muka-badge-number--neutral {
16388
- background-color: var(--color-surface-level1);
16389
- color: var(--color-text-default-default);
16411
+ .muka-chat-attachment-chip__icon {
16412
+ display: inline-flex;
16413
+ align-items: center;
16414
+ justify-content: center;
16415
+ flex-shrink: 0;
16416
+ color: var(--color-text-subtle-default);
16390
16417
  }
16391
16418
 
16392
- /* Info variant */
16419
+ .muka-chat-attachment-chip__text {
16420
+ display: flex;
16421
+ flex-direction: column;
16422
+ min-width: 0;
16423
+ flex: 1 1 auto;
16424
+ }
16425
+
16426
+ .muka-chat-attachment-chip__name {
16427
+ color: var(--color-text-default-default);
16428
+ font-family: var(--text-body-sm-regular-fontFamily);
16429
+ font-weight: var(--text-body-sm-regular-fontWeight);
16430
+ font-size: var(--text-body-sm-regular-fontSize);
16431
+ line-height: var(--text-body-sm-regular-lineHeight);
16432
+ white-space: nowrap;
16433
+ overflow: hidden;
16434
+ text-overflow: ellipsis;
16435
+ }
16436
+
16437
+ .muka-chat-attachment-chip__meta {
16438
+ color: var(--color-text-subtle-default);
16439
+ font-family: var(--text-body-sm-regular-fontFamily);
16440
+ font-weight: var(--text-body-sm-regular-fontWeight);
16441
+ font-size: var(--text-body-sm-regular-fontSize);
16442
+ line-height: var(--text-body-sm-regular-lineHeight);
16443
+ white-space: nowrap;
16444
+ overflow: hidden;
16445
+ text-overflow: ellipsis;
16446
+ }
16447
+
16448
+ .muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
16449
+ color: var(--color-state-error-default, var(--color-text-default-default));
16450
+ }
16451
+
16452
+ /* ─── Remove button ────────────────────────────────────── */
16453
+
16454
+ .muka-chat-attachment-chip__remove {
16455
+ display: inline-flex;
16456
+ align-items: center;
16457
+ justify-content: center;
16458
+ width: 20px;
16459
+ height: 20px;
16460
+ border: none;
16461
+ background: none;
16462
+ padding: 0;
16463
+ border-radius: var(--radius-sm);
16464
+ cursor: pointer;
16465
+ color: var(--color-text-subtle-default);
16466
+ flex-shrink: 0;
16467
+ -webkit-tap-highlight-color: transparent;
16468
+ }
16469
+
16470
+ .muka-chat-attachment-chip__remove:hover:not(:disabled) {
16471
+ color: var(--color-text-default-default);
16472
+ background-color: var(--color-surface-level2);
16473
+ }
16474
+
16475
+ .muka-chat-attachment-chip__remove:focus-visible {
16476
+ outline: 2px solid var(--color-action-default);
16477
+ outline-offset: 2px;
16478
+ }
16479
+
16480
+ .muka-chat-attachment-chip__remove:disabled {
16481
+ cursor: not-allowed;
16482
+ opacity: 0.5;
16483
+ }
16484
+
16485
+ /* ─── Progress bar ─────────────────────────────────────── */
16486
+
16487
+ .muka-chat-attachment-chip__progress {
16488
+ position: absolute;
16489
+ left: 0;
16490
+ right: 0;
16491
+ bottom: 0;
16492
+ height: 2px;
16493
+ background-color: var(--color-surface-level2);
16494
+ overflow: hidden;
16495
+ }
16496
+
16497
+ .muka-chat-attachment-chip__progress-fill {
16498
+ display: block;
16499
+ height: 100%;
16500
+ background-color: var(--color-action-default);
16501
+ transition: width 0.16s ease;
16502
+ }
16503
+
16504
+ .muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
16505
+ background-color: var(--color-state-error-default, var(--color-text-default-default));
16506
+ }
16507
+
16508
+
16509
+ /* BadgeNumber */
16510
+ /* BadgeNumber Component Styles - Using Muka Design Tokens */
16511
+
16512
+ .muka-badge-number {
16513
+ display: inline-flex;
16514
+ align-items: center;
16515
+ justify-content: center;
16516
+ border-radius: var(--border-radius-full);
16517
+ white-space: nowrap;
16518
+ user-select: none;
16519
+ box-sizing: border-box;
16520
+ }
16521
+
16522
+ /*
16523
+ * Sizes — fixed height, matching min-width (so a single digit renders as a
16524
+ * circle), horizontal padding, and bold label typography. Vertical centering
16525
+ * is handled by the fixed height + align-items: center.
16526
+ */
16527
+ .muka-badge-number--2xs {
16528
+ height: var(--badge-number-size-2xs);
16529
+ min-width: var(--badge-number-size-2xs);
16530
+ padding: 0 var(--badge-number-padding-2xs);
16531
+ font-family: var(--text-label-xs-bold-fontFamily);
16532
+ font-weight: var(--text-label-xs-bold-fontWeight);
16533
+ font-size: var(--text-label-xs-bold-fontSize);
16534
+ line-height: var(--text-label-xs-bold-lineHeight);
16535
+ }
16536
+
16537
+ .muka-badge-number--xs {
16538
+ height: var(--badge-number-size-xs);
16539
+ min-width: var(--badge-number-size-xs);
16540
+ padding: 0 var(--badge-number-padding-xs);
16541
+ font-family: var(--text-label-sm-bold-fontFamily);
16542
+ font-weight: var(--text-label-sm-bold-fontWeight);
16543
+ font-size: var(--text-label-sm-bold-fontSize);
16544
+ line-height: var(--text-label-sm-bold-lineHeight);
16545
+ }
16546
+
16547
+ .muka-badge-number--sm {
16548
+ height: var(--badge-number-size-sm);
16549
+ min-width: var(--badge-number-size-sm);
16550
+ padding: 0 var(--badge-number-padding-sm);
16551
+ font-family: var(--text-label-md-bold-fontFamily);
16552
+ font-weight: var(--text-label-md-bold-fontWeight);
16553
+ font-size: var(--text-label-md-bold-fontSize);
16554
+ line-height: var(--text-label-md-bold-lineHeight);
16555
+ }
16556
+
16557
+ .muka-badge-number--md {
16558
+ height: var(--badge-number-size-md);
16559
+ min-width: var(--badge-number-size-md);
16560
+ padding: 0 var(--badge-number-padding-md);
16561
+ font-family: var(--text-label-lg-bold-fontFamily);
16562
+ font-weight: var(--text-label-lg-bold-fontWeight);
16563
+ font-size: var(--text-label-lg-bold-fontSize);
16564
+ line-height: var(--text-label-lg-bold-lineHeight);
16565
+ }
16566
+
16567
+ .muka-badge-number--lg {
16568
+ height: var(--badge-number-size-lg);
16569
+ min-width: var(--badge-number-size-lg);
16570
+ padding: 0 var(--badge-number-padding-lg);
16571
+ font-family: var(--text-label-2xl-bold-fontFamily);
16572
+ font-weight: var(--text-label-2xl-bold-fontWeight);
16573
+ font-size: var(--text-label-2xl-bold-fontSize);
16574
+ line-height: var(--text-label-2xl-bold-lineHeight);
16575
+ }
16576
+
16577
+ .muka-badge-number__label {
16578
+ /*
16579
+ * The badge sets a tight line-height for compact sizing, which would clip
16580
+ * glyph descenders; give the label a roomier line-height. Vertical centering
16581
+ * is unaffected because the badge height is fixed and content is centered.
16582
+ */
16583
+ line-height: normal;
16584
+ }
16585
+
16586
+ /* Neutral variant */
16587
+ .muka-badge-number--neutral {
16588
+ background-color: var(--color-surface-level1);
16589
+ color: var(--color-text-default-default);
16590
+ }
16591
+
16592
+ /* Info variant */
16393
16593
  .muka-badge-number--info {
16394
16594
  background-color: var(--color-state-info-contrast);
16395
16595
  color: var(--color-text-default-inverse);
@@ -16985,72 +17185,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
16985
17185
  }
16986
17186
 
16987
17187
 
16988
- /* Autocomplete */
16989
- /* Autocomplete — Figma Input Autocomplete (Input field + single-line suggestion Menu).
16990
- The field reuses the Input styles (.muka-input*); only the menu wiring lives here. */
16991
-
16992
- .muka-autocomplete {
16993
- min-width: 200px;
16994
- }
16995
-
16996
- /* Covers the field's outer edge so the menu matches its full width. The menu
16997
- is only open while focused, when the field has the bold border. */
16998
- .muka-autocomplete__menu-anchor {
16999
- position: absolute;
17000
- inset: calc(-1 * var(--border-width-bold));
17001
- z-index: 0;
17002
- margin: 0;
17003
- padding: 0;
17004
- border: none;
17005
- background: transparent;
17006
- pointer-events: none;
17007
- opacity: 0;
17008
- }
17009
-
17010
- /* Keep the field content above the invisible anchor. */
17011
- .muka-autocomplete__field > :not(.muka-autocomplete__menu-anchor) {
17012
- position: relative;
17013
- z-index: 1;
17014
- }
17015
-
17016
- /* Figma: the menu is as wide as the field (never below the menu min-width token). */
17017
- .muka-autocomplete__menu {
17018
- width: var(--radix-dropdown-menu-trigger-width);
17019
- max-width: calc(100vw - 2rem);
17020
- }
17021
-
17022
- /* Suggestions are single-line; long labels truncate. */
17023
- .muka-autocomplete__menu .muka-menu__item-label {
17024
- overflow: hidden;
17025
- text-overflow: ellipsis;
17026
- }
17027
-
17028
- /* Loading and empty rows: menu-row geometry, not selectable. */
17029
- .muka-autocomplete__status {
17030
- display: flex;
17031
- align-items: center;
17032
- gap: var(--menu-item-gap);
17033
- min-height: var(--menu-item-height);
17034
- padding: var(--menu-item-padding-y) var(--menu-item-padding-x);
17035
- color: var(--color-text-subtle-default);
17036
- font-family: var(--text-label-md-regular-fontFamily);
17037
- font-size: var(--text-label-md-regular-fontSize);
17038
- font-weight: var(--text-label-md-regular-fontWeight);
17039
- line-height: var(--text-label-md-regular-lineHeight);
17040
- }
17041
-
17042
- .muka-autocomplete__footer {
17043
- flex-shrink: 0;
17044
- padding: var(--spacing-2) var(--spacing-3);
17045
- border-top: var(--border-width-regular) solid var(--color-border-default);
17046
- color: var(--color-text-subtle-default);
17047
- font-family: var(--text-label-sm-regular-fontFamily);
17048
- font-size: var(--text-label-sm-regular-fontSize);
17049
- font-weight: var(--text-label-sm-regular-fontWeight);
17050
- line-height: var(--text-label-sm-regular-lineHeight);
17051
- }
17052
-
17053
-
17054
17188
  /* AppShell */
17055
17189
  /* AppShell Component Styles */
17056
17190
 
@@ -17173,20 +17307,86 @@ button.muka-chat-photo-grid__tile:focus-visible {
17173
17307
  }
17174
17308
 
17175
17309
 
17176
- /* Alert */
17177
- /* Alert Component Styles - Using Muka Design Tokens */
17310
+ /* Autocomplete */
17311
+ /* Autocomplete — Figma Input Autocomplete (Input field + single-line suggestion Menu).
17312
+ The field reuses the Input styles (.muka-input*); only the menu wiring lives here. */
17178
17313
 
17179
- .muka-alert {
17180
- display: flex;
17181
- align-items: flex-start;
17182
- border-radius: var(--alert-radius);
17183
- border: none;
17184
- gap: var(--alert-gap);
17185
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
17314
+ .muka-autocomplete {
17315
+ min-width: 200px;
17186
17316
  }
17187
17317
 
17188
- /* Size variants */
17189
- .muka-alert--sm {
17318
+ /* Covers the field's outer edge so the menu matches its full width. The menu
17319
+ is only open while focused, when the field has the bold border. */
17320
+ .muka-autocomplete__menu-anchor {
17321
+ position: absolute;
17322
+ inset: calc(-1 * var(--border-width-bold));
17323
+ z-index: 0;
17324
+ margin: 0;
17325
+ padding: 0;
17326
+ border: none;
17327
+ background: transparent;
17328
+ pointer-events: none;
17329
+ opacity: 0;
17330
+ }
17331
+
17332
+ /* Keep the field content above the invisible anchor. */
17333
+ .muka-autocomplete__field > :not(.muka-autocomplete__menu-anchor) {
17334
+ position: relative;
17335
+ z-index: 1;
17336
+ }
17337
+
17338
+ /* Figma: the menu is as wide as the field (never below the menu min-width token). */
17339
+ .muka-autocomplete__menu {
17340
+ width: var(--radix-dropdown-menu-trigger-width);
17341
+ max-width: calc(100vw - 2rem);
17342
+ }
17343
+
17344
+ /* Suggestions are single-line; long labels truncate. */
17345
+ .muka-autocomplete__menu .muka-menu__item-label {
17346
+ overflow: hidden;
17347
+ text-overflow: ellipsis;
17348
+ }
17349
+
17350
+ /* Loading and empty rows: menu-row geometry, not selectable. */
17351
+ .muka-autocomplete__status {
17352
+ display: flex;
17353
+ align-items: center;
17354
+ gap: var(--menu-item-gap);
17355
+ min-height: var(--menu-item-height);
17356
+ padding: var(--menu-item-padding-y) var(--menu-item-padding-x);
17357
+ color: var(--color-text-subtle-default);
17358
+ font-family: var(--text-label-md-regular-fontFamily);
17359
+ font-size: var(--text-label-md-regular-fontSize);
17360
+ font-weight: var(--text-label-md-regular-fontWeight);
17361
+ line-height: var(--text-label-md-regular-lineHeight);
17362
+ }
17363
+
17364
+ .muka-autocomplete__footer {
17365
+ flex-shrink: 0;
17366
+ padding: var(--spacing-2) var(--spacing-3);
17367
+ border-top: var(--border-width-regular) solid var(--color-border-default);
17368
+ color: var(--color-text-subtle-default);
17369
+ font-family: var(--text-label-sm-regular-fontFamily);
17370
+ font-size: var(--text-label-sm-regular-fontSize);
17371
+ font-weight: var(--text-label-sm-regular-fontWeight);
17372
+ line-height: var(--text-label-sm-regular-lineHeight);
17373
+ }
17374
+
17375
+
17376
+ /* Alert */
17377
+ /* Alert Component Styles - Using Muka Design Tokens */
17378
+
17379
+ .muka-alert {
17380
+ display: flex;
17381
+ align-items: flex-start;
17382
+ border-radius: var(--alert-radius);
17383
+ border: none;
17384
+ gap: var(--alert-gap);
17385
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
17386
+ }
17387
+
17388
+ /* Size variants */
17389
+ .muka-alert--sm {
17190
17390
  padding: var(--alert-padding-sm-y) var(--alert-padding-sm-x);
17191
17391
  }
17192
17392
 
@@ -17553,6 +17753,137 @@ button.muka-chat-photo-grid__tile:focus-visible {
17553
17753
  }
17554
17754
 
17555
17755
 
17756
+ /* Accordion */
17757
+ /* Accordion Component Styles */
17758
+
17759
+ .muka-accordion {
17760
+ width: 100%;
17761
+ }
17762
+
17763
+ /* Item */
17764
+ .muka-accordion__item {
17765
+ border-bottom: var(--border-width-regular) solid var(--color-border-default);
17766
+ }
17767
+
17768
+ .muka-accordion__item:last-child {
17769
+ border-bottom: none;
17770
+ }
17771
+
17772
+ /* Header reset */
17773
+ .muka-accordion__header {
17774
+ margin: 0;
17775
+ }
17776
+
17777
+ /* Trigger */
17778
+ .muka-accordion__trigger {
17779
+ display: flex;
17780
+ align-items: center;
17781
+ justify-content: space-between;
17782
+ width: 100%;
17783
+ padding: var(--spacing-4);
17784
+ background: none;
17785
+ border: none;
17786
+ cursor: pointer;
17787
+ font-family: var(--text-label-md-semibold-fontFamily);
17788
+ font-weight: var(--text-label-md-semibold-fontWeight);
17789
+ font-size: var(--text-label-md-semibold-fontSize);
17790
+ line-height: var(--text-label-md-semibold-lineHeight);
17791
+ color: var(--color-text-default-default);
17792
+ text-align: left;
17793
+ gap: var(--spacing-3);
17794
+ transition: background-color 0.15s ease;
17795
+ }
17796
+
17797
+ .muka-accordion__trigger:hover {
17798
+ background-color: var(--color-surface-level1);
17799
+ }
17800
+
17801
+ .muka-accordion__trigger[data-disabled] {
17802
+ cursor: not-allowed;
17803
+ opacity: 0.4;
17804
+ }
17805
+
17806
+ .muka-accordion__trigger-text {
17807
+ flex: 1;
17808
+ }
17809
+
17810
+ /* Chevron rotation */
17811
+ .muka-accordion__chevron {
17812
+ display: inline-flex;
17813
+ align-items: center;
17814
+ color: var(--color-text-subtle-default);
17815
+ transition: transform 200ms ease;
17816
+ }
17817
+
17818
+ .muka-accordion__trigger[data-state='open'] .muka-accordion__chevron {
17819
+ transform: rotate(180deg);
17820
+ }
17821
+
17822
+ /* Content */
17823
+ .muka-accordion__content {
17824
+ overflow: hidden;
17825
+ }
17826
+
17827
+ .muka-accordion__content[data-state='open'] {
17828
+ animation: muka-accordion-slideDown 200ms ease;
17829
+ }
17830
+
17831
+ .muka-accordion__content[data-state='closed'] {
17832
+ animation: muka-accordion-slideUp 200ms ease;
17833
+ }
17834
+
17835
+ @keyframes muka-accordion-slideDown {
17836
+ from {
17837
+ height: 0;
17838
+ }
17839
+ to {
17840
+ height: var(--radix-accordion-content-height);
17841
+ }
17842
+ }
17843
+
17844
+ @keyframes muka-accordion-slideUp {
17845
+ from {
17846
+ height: var(--radix-accordion-content-height);
17847
+ }
17848
+ to {
17849
+ height: 0;
17850
+ }
17851
+ }
17852
+
17853
+ .muka-accordion__content-inner {
17854
+ padding: 0 var(--spacing-4) var(--spacing-5);
17855
+ color: var(--color-text-default-default);
17856
+ }
17857
+
17858
+ /* ─── Variant: flush ────────────────────────────────────────────────────── */
17859
+
17860
+ .muka-accordion--flush .muka-accordion__trigger {
17861
+ padding-left: 0;
17862
+ padding-right: 0;
17863
+ }
17864
+
17865
+ .muka-accordion--flush .muka-accordion__content-inner {
17866
+ padding-left: 0;
17867
+ padding-right: 0;
17868
+ }
17869
+
17870
+ /* ─── Variant: contained ────────────────────────────────────────────────── */
17871
+
17872
+ .muka-accordion--contained {
17873
+ border: var(--border-width-regular) solid var(--color-border-default);
17874
+ border-radius: var(--radius-md);
17875
+ overflow: hidden;
17876
+ }
17877
+
17878
+ .muka-accordion--contained .muka-accordion__item {
17879
+ background-color: var(--color-surface-level3);
17880
+ }
17881
+
17882
+ .muka-accordion--contained .muka-accordion__item:last-child {
17883
+ border-bottom: none;
17884
+ }
17885
+
17886
+
17556
17887
  /* ActionSheet */
17557
17888
  /* ActionSheet Component Styles */
17558
17889
 
@@ -17694,134 +18025,3 @@ button.muka-chat-photo-grid__tile:focus-visible {
17694
18025
  outline-offset: 2px;
17695
18026
  }
17696
18027
 
17697
-
17698
- /* Accordion */
17699
- /* Accordion Component Styles */
17700
-
17701
- .muka-accordion {
17702
- width: 100%;
17703
- }
17704
-
17705
- /* Item */
17706
- .muka-accordion__item {
17707
- border-bottom: var(--border-width-regular) solid var(--color-border-default);
17708
- }
17709
-
17710
- .muka-accordion__item:last-child {
17711
- border-bottom: none;
17712
- }
17713
-
17714
- /* Header reset */
17715
- .muka-accordion__header {
17716
- margin: 0;
17717
- }
17718
-
17719
- /* Trigger */
17720
- .muka-accordion__trigger {
17721
- display: flex;
17722
- align-items: center;
17723
- justify-content: space-between;
17724
- width: 100%;
17725
- padding: var(--spacing-4);
17726
- background: none;
17727
- border: none;
17728
- cursor: pointer;
17729
- font-family: var(--text-label-md-semibold-fontFamily);
17730
- font-weight: var(--text-label-md-semibold-fontWeight);
17731
- font-size: var(--text-label-md-semibold-fontSize);
17732
- line-height: var(--text-label-md-semibold-lineHeight);
17733
- color: var(--color-text-default-default);
17734
- text-align: left;
17735
- gap: var(--spacing-3);
17736
- transition: background-color 0.15s ease;
17737
- }
17738
-
17739
- .muka-accordion__trigger:hover {
17740
- background-color: var(--color-surface-level1);
17741
- }
17742
-
17743
- .muka-accordion__trigger[data-disabled] {
17744
- cursor: not-allowed;
17745
- opacity: 0.4;
17746
- }
17747
-
17748
- .muka-accordion__trigger-text {
17749
- flex: 1;
17750
- }
17751
-
17752
- /* Chevron rotation */
17753
- .muka-accordion__chevron {
17754
- display: inline-flex;
17755
- align-items: center;
17756
- color: var(--color-text-subtle-default);
17757
- transition: transform 200ms ease;
17758
- }
17759
-
17760
- .muka-accordion__trigger[data-state='open'] .muka-accordion__chevron {
17761
- transform: rotate(180deg);
17762
- }
17763
-
17764
- /* Content */
17765
- .muka-accordion__content {
17766
- overflow: hidden;
17767
- }
17768
-
17769
- .muka-accordion__content[data-state='open'] {
17770
- animation: muka-accordion-slideDown 200ms ease;
17771
- }
17772
-
17773
- .muka-accordion__content[data-state='closed'] {
17774
- animation: muka-accordion-slideUp 200ms ease;
17775
- }
17776
-
17777
- @keyframes muka-accordion-slideDown {
17778
- from {
17779
- height: 0;
17780
- }
17781
- to {
17782
- height: var(--radix-accordion-content-height);
17783
- }
17784
- }
17785
-
17786
- @keyframes muka-accordion-slideUp {
17787
- from {
17788
- height: var(--radix-accordion-content-height);
17789
- }
17790
- to {
17791
- height: 0;
17792
- }
17793
- }
17794
-
17795
- .muka-accordion__content-inner {
17796
- padding: 0 var(--spacing-4) var(--spacing-5);
17797
- color: var(--color-text-default-default);
17798
- }
17799
-
17800
- /* ─── Variant: flush ────────────────────────────────────────────────────── */
17801
-
17802
- .muka-accordion--flush .muka-accordion__trigger {
17803
- padding-left: 0;
17804
- padding-right: 0;
17805
- }
17806
-
17807
- .muka-accordion--flush .muka-accordion__content-inner {
17808
- padding-left: 0;
17809
- padding-right: 0;
17810
- }
17811
-
17812
- /* ─── Variant: contained ────────────────────────────────────────────────── */
17813
-
17814
- .muka-accordion--contained {
17815
- border: var(--border-width-regular) solid var(--color-border-default);
17816
- border-radius: var(--radius-md);
17817
- overflow: hidden;
17818
- }
17819
-
17820
- .muka-accordion--contained .muka-accordion__item {
17821
- background-color: var(--color-surface-level3);
17822
- }
17823
-
17824
- .muka-accordion--contained .muka-accordion__item:last-child {
17825
- border-bottom: none;
17826
- }
17827
-