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