@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
@@ -3061,6 +3061,28 @@ body {
3061
3061
  color: var(--color-text-subtle-default);
3062
3062
  }
3063
3063
 
3064
+ /* ─── Title with a leading avatar (titleLeading) ─────────
3065
+ The row takes the title's grid cell: the avatar, then the title (block). */
3066
+
3067
+ .muka-topbar__title-row {
3068
+ grid-column: 2;
3069
+ display: flex;
3070
+ align-items: center;
3071
+ justify-content: var(--tb-title-justify);
3072
+ gap: var(--spacing-2);
3073
+ min-width: 0;
3074
+ }
3075
+
3076
+ .muka-topbar__title-row > .muka-topbar__title,
3077
+ .muka-topbar__title-row > .muka-topbar__title-block {
3078
+ min-width: 0;
3079
+ }
3080
+
3081
+ .muka-topbar__title-leading {
3082
+ display: inline-flex;
3083
+ flex-shrink: 0;
3084
+ }
3085
+
3064
3086
  /* ─── Title as a button (titleTrailing) ──────────────────
3065
3087
  Same type as the text title, with a trailing glyph; sized to its content so
3066
3088
  only the title is the hit area, centred (start in the large tier). */
@@ -5798,88 +5820,6 @@ body {
5798
5820
  }
5799
5821
 
5800
5822
 
5801
- /* Sheet */
5802
- /* Sheet Component Styles */
5803
-
5804
- /* ─── Backdrop ────────────────────────────────────────── */
5805
-
5806
- .muka-sheet__overlay {
5807
- position: fixed;
5808
- inset: 0;
5809
- background-color: var(--color-surface-backdrop);
5810
- -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
5811
- backdrop-filter: blur(var(--effect-blur-backdrop));
5812
- z-index: 50;
5813
- }
5814
-
5815
- /* ─── Surface ─────────────────────────────────────────── */
5816
-
5817
- .muka-sheet {
5818
- position: fixed;
5819
- left: 0;
5820
- right: 0;
5821
- bottom: 0;
5822
- z-index: 51;
5823
-
5824
- display: flex;
5825
- flex-direction: column;
5826
-
5827
- max-height: 96dvh;
5828
-
5829
- background-color: var(--color-surface-level3);
5830
- border-top-left-radius: var(--radius-lg);
5831
- border-top-right-radius: var(--radius-lg);
5832
- box-shadow: var(--shadow-level5);
5833
-
5834
- outline: none;
5835
- }
5836
-
5837
- /* Safe-area bottom inset for the iPhone home indicator. */
5838
- .muka-sheet:not(.muka-sheet--no-safe-area) {
5839
- padding-bottom: env(safe-area-inset-bottom);
5840
- }
5841
-
5842
- /* ─── Drag handle ─────────────────────────────────────── */
5843
-
5844
- .muka-sheet__handle-container {
5845
- display: flex;
5846
- justify-content: center;
5847
- flex-shrink: 0;
5848
- padding: var(--spacing-3) 0;
5849
- }
5850
-
5851
- .muka-sheet__handle {
5852
- width: var(--dialog-drag-handle-width);
5853
- height: var(--dialog-drag-handle-height);
5854
- background-color: var(--dialog-drag-handle-color);
5855
- border-radius: var(--dialog-drag-handle-radius);
5856
- }
5857
-
5858
- /* ─── Body (scrollable) ───────────────────────────────── */
5859
-
5860
- .muka-sheet__body {
5861
- flex: 1 1 0%;
5862
- min-height: 0;
5863
- overflow-y: auto;
5864
- -webkit-overflow-scrolling: touch;
5865
- overscroll-behavior: contain;
5866
- }
5867
-
5868
- /* ─── Visually-hidden title (a11y) ────────────────────── */
5869
-
5870
- .muka-sheet__sr-title {
5871
- position: absolute;
5872
- width: 1px;
5873
- height: 1px;
5874
- padding: 0;
5875
- margin: -1px;
5876
- overflow: hidden;
5877
- clip: rect(0, 0, 0, 0);
5878
- white-space: nowrap;
5879
- border: 0;
5880
- }
5881
-
5882
-
5883
5823
  /* Select */
5884
5824
  /* Select Component Styles - Aligned with Input for consistency */
5885
5825
 
@@ -9170,12 +9110,144 @@ button.muka-progress-tracker__tab:focus-visible {
9170
9110
  background-color: var(--color-surface-level3);
9171
9111
  }
9172
9112
 
9173
- /* Without a footer, the content is last and clears the home indicator. */
9174
- .muka-page:not(:has(> .muka-page__footer)) > .muka-page__main {
9113
+ /*
9114
+ * Actions stick to the bottom edge while the document scrolls, and come to
9115
+ * rest after the content (above a footer). A BottomBar inside clears the home
9116
+ * indicator; this wrapper clears a landscape notch.
9117
+ */
9118
+ .muka-page__actions {
9119
+ position: sticky;
9120
+ bottom: 0;
9121
+ z-index: 10;
9122
+ flex-shrink: 0;
9123
+ padding-left: env(safe-area-inset-left, 0px);
9124
+ padding-right: env(safe-area-inset-right, 0px);
9125
+ background-color: var(--muka-page-background);
9126
+ }
9127
+
9128
+ /* With a footer, the footer clears the home indicator, not the bar above it. */
9129
+ .muka-page:has(> .muka-page__footer) > .muka-page__actions .muka-bottombar {
9130
+ padding-bottom: 0;
9131
+ }
9132
+
9133
+ /* Without a footer or actions, the content is last and clears the home indicator. */
9134
+ .muka-page:not(:has(> .muka-page__footer)):not(:has(> .muka-page__actions)) > .muka-page__main {
9175
9135
  padding-bottom: env(safe-area-inset-bottom, 0px);
9176
9136
  }
9177
9137
 
9178
9138
 
9139
+ /* Sheet */
9140
+ /* Sheet Component Styles */
9141
+
9142
+ /* ─── Backdrop ────────────────────────────────────────── */
9143
+
9144
+ .muka-sheet__overlay {
9145
+ position: fixed;
9146
+ inset: 0;
9147
+ background-color: var(--color-surface-backdrop);
9148
+ -webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
9149
+ backdrop-filter: blur(var(--effect-blur-backdrop));
9150
+ z-index: 50;
9151
+ }
9152
+
9153
+ /* ─── Surface ─────────────────────────────────────────── */
9154
+
9155
+ .muka-sheet {
9156
+ position: fixed;
9157
+ left: 0;
9158
+ right: 0;
9159
+ bottom: 0;
9160
+ z-index: 51;
9161
+
9162
+ display: flex;
9163
+ flex-direction: column;
9164
+
9165
+ max-height: 96dvh;
9166
+
9167
+ background-color: var(--color-surface-level3);
9168
+ border-top-left-radius: var(--radius-lg);
9169
+ border-top-right-radius: var(--radius-lg);
9170
+ box-shadow: var(--shadow-level5);
9171
+
9172
+ outline: none;
9173
+ }
9174
+
9175
+ /* Safe-area bottom inset for the iPhone home indicator. */
9176
+ .muka-sheet:not(.muka-sheet--no-safe-area) {
9177
+ padding-bottom: env(safe-area-inset-bottom);
9178
+ }
9179
+
9180
+ /* ─── Drag handle ─────────────────────────────────────── */
9181
+
9182
+ .muka-sheet__handle-container {
9183
+ display: flex;
9184
+ justify-content: center;
9185
+ flex-shrink: 0;
9186
+ padding: var(--spacing-3) 0;
9187
+ }
9188
+
9189
+ .muka-sheet__handle {
9190
+ width: var(--dialog-drag-handle-width);
9191
+ height: var(--dialog-drag-handle-height);
9192
+ background-color: var(--dialog-drag-handle-color);
9193
+ border-radius: var(--dialog-drag-handle-radius);
9194
+ }
9195
+
9196
+ /* ─── Body (scrollable) ───────────────────────────────── */
9197
+
9198
+ .muka-sheet__body {
9199
+ flex: 1 1 0%;
9200
+ min-height: 0;
9201
+ overflow-y: auto;
9202
+ -webkit-overflow-scrolling: touch;
9203
+ overscroll-behavior: contain;
9204
+ }
9205
+
9206
+ /* ─── Visually-hidden title (a11y) ────────────────────── */
9207
+
9208
+ .muka-sheet__sr-title {
9209
+ position: absolute;
9210
+ width: 1px;
9211
+ height: 1px;
9212
+ padding: 0;
9213
+ margin: -1px;
9214
+ overflow: hidden;
9215
+ clip: rect(0, 0, 0, 0);
9216
+ white-space: nowrap;
9217
+ border: 0;
9218
+ }
9219
+
9220
+
9221
+ /* NumberInput */
9222
+ /* NumberInput — reuses Input field styles (../Input/Input.css). */
9223
+ /* Only the prefix/suffix affixes are NumberInput-specific. */
9224
+
9225
+ .muka-numberinput__addon {
9226
+ display: inline-flex;
9227
+ align-items: center;
9228
+ flex: none;
9229
+ color: var(--color-text-subtle-default);
9230
+ font-family: var(--text-input-md-fontFamily);
9231
+ font-size: var(--text-input-md-fontSize);
9232
+ line-height: var(--text-input-md-lineHeight);
9233
+ user-select: none;
9234
+ pointer-events: none;
9235
+ white-space: nowrap;
9236
+ }
9237
+
9238
+ /* Hide the native number spinners — affixes/step API replace them. */
9239
+ .muka-numberinput__field .muka-input__native::-webkit-outer-spin-button,
9240
+ .muka-numberinput__field .muka-input__native::-webkit-inner-spin-button {
9241
+ -webkit-appearance: none;
9242
+ margin: 0;
9243
+ }
9244
+
9245
+ .muka-numberinput__field .muka-input__native {
9246
+ -moz-appearance: textfield;
9247
+ appearance: textfield;
9248
+ }
9249
+
9250
+
9179
9251
  /* NavigationTransition */
9180
9252
  /* NavigationTransition Component Styles */
9181
9253
 
@@ -9701,36 +9773,6 @@ button.muka-progress-tracker__tab:focus-visible {
9701
9773
  }
9702
9774
 
9703
9775
 
9704
- /* NumberInput */
9705
- /* NumberInput — reuses Input field styles (../Input/Input.css). */
9706
- /* Only the prefix/suffix affixes are NumberInput-specific. */
9707
-
9708
- .muka-numberinput__addon {
9709
- display: inline-flex;
9710
- align-items: center;
9711
- flex: none;
9712
- color: var(--color-text-subtle-default);
9713
- font-family: var(--text-input-md-fontFamily);
9714
- font-size: var(--text-input-md-fontSize);
9715
- line-height: var(--text-input-md-lineHeight);
9716
- user-select: none;
9717
- pointer-events: none;
9718
- white-space: nowrap;
9719
- }
9720
-
9721
- /* Hide the native number spinners — affixes/step API replace them. */
9722
- .muka-numberinput__field .muka-input__native::-webkit-outer-spin-button,
9723
- .muka-numberinput__field .muka-input__native::-webkit-inner-spin-button {
9724
- -webkit-appearance: none;
9725
- margin: 0;
9726
- }
9727
-
9728
- .muka-numberinput__field .muka-input__native {
9729
- -moz-appearance: textfield;
9730
- appearance: textfield;
9731
- }
9732
-
9733
-
9734
9776
  /* MediaViewer */
9735
9777
  /* MediaViewer Component Styles - Using Muka Design Tokens */
9736
9778
 
@@ -10125,50 +10167,78 @@ a.muka-listitem {
10125
10167
  width: 100%;
10126
10168
  }
10127
10169
 
10128
- /* List item specific styles */
10129
- li.muka-listitem {
10130
- list-style: none;
10131
- }
10170
+ /* A row rendered as a link reads as a row, not as link text */
10171
+ a.muka-listitem {
10172
+ color: inherit;
10173
+ text-decoration: none;
10174
+ }
10175
+
10176
+ /* List item specific styles */
10177
+ li.muka-listitem {
10178
+ list-style: none;
10179
+ }
10132
10180
 
10181
+ /* ─── Tone ─────────────────────────────────────────────── */
10133
10182
 
10134
- /* Label */
10135
- /* Label Component Styles - Using Muka Design Tokens */
10183
+ .muka-listitem--tone-info,
10184
+ .muka-listitem-group--tone-info {
10185
+ background-color: var(--color-state-info-background);
10186
+ }
10136
10187
 
10137
- .muka-label {
10138
- display: inline-flex;
10188
+ .muka-listitem--tone-warning,
10189
+ .muka-listitem-group--tone-warning {
10190
+ background-color: var(--color-state-warning-background);
10191
+ }
10192
+
10193
+ /* ─── Actions beside the row ───────────────────────────── */
10194
+
10195
+ /*
10196
+ * With `actions`, the row (the click target) and the actions are siblings in a
10197
+ * group. The group carries the surface, the tone and the divider; the row
10198
+ * fills the space and the actions sit at the end.
10199
+ */
10200
+ .muka-listitem-group {
10201
+ display: flex;
10139
10202
  align-items: center;
10140
- color: var(--color-text-default-default);
10141
- cursor: pointer;
10203
+ position: relative;
10204
+ background-color: var(--color-surface-level3);
10205
+ list-style: none;
10142
10206
  }
10143
10207
 
10144
- .muka-label--sm {
10145
- font-family: var(--text-label-sm-semibold-fontFamily);
10146
- font-weight: var(--text-label-sm-semibold-fontWeight);
10147
- font-size: var(--text-label-sm-semibold-fontSize);
10148
- line-height: var(--text-label-sm-semibold-lineHeight);
10208
+ .muka-listitem-group--selected {
10209
+ background-color: var(--color-surface-level2);
10149
10210
  }
10150
10211
 
10151
- .muka-label--md {
10152
- font-family: var(--text-label-md-semibold-fontFamily);
10153
- font-weight: var(--text-label-md-semibold-fontWeight);
10154
- font-size: var(--text-label-md-semibold-fontSize);
10155
- line-height: var(--text-label-md-semibold-lineHeight);
10212
+ .muka-listitem-group--disabled {
10213
+ opacity: 0.5;
10156
10214
  }
10157
10215
 
10158
- .muka-label--lg {
10159
- font-family: var(--text-label-lg-semibold-fontFamily);
10160
- font-weight: var(--text-label-lg-semibold-fontWeight);
10161
- font-size: var(--text-label-lg-semibold-fontSize);
10162
- line-height: var(--text-label-lg-semibold-lineHeight);
10216
+ .muka-listitem-group--disabled .muka-listitem--disabled {
10217
+ /* The group already dims; don't dim the row twice */
10218
+ opacity: 1;
10163
10219
  }
10164
10220
 
10165
- .muka-label--disabled {
10166
- color: var(--color-text-subtle-default);
10167
- cursor: not-allowed;
10221
+ .muka-listitem--with-actions {
10222
+ flex: 1;
10223
+ min-width: 0;
10224
+ padding-right: var(--spacing-2);
10225
+ background-color: transparent;
10168
10226
  }
10169
10227
 
10170
- .muka-label__required {
10171
- color: var(--color-state-error-default);
10228
+ .muka-listitem--with-actions.muka-listitem--selected {
10229
+ background-color: transparent;
10230
+ }
10231
+
10232
+ .muka-listitem__actions {
10233
+ display: flex;
10234
+ align-items: center;
10235
+ gap: var(--spacing-2);
10236
+ flex-shrink: 0;
10237
+ padding-right: var(--spacing-4);
10238
+ }
10239
+
10240
+ .muka-listitem-group--no-divider .muka-listitem__divider {
10241
+ display: none;
10172
10242
  }
10173
10243
 
10174
10244
 
@@ -10365,6 +10435,47 @@ li.muka-listitem {
10365
10435
  }
10366
10436
 
10367
10437
 
10438
+ /* Label */
10439
+ /* Label Component Styles - Using Muka Design Tokens */
10440
+
10441
+ .muka-label {
10442
+ display: inline-flex;
10443
+ align-items: center;
10444
+ color: var(--color-text-default-default);
10445
+ cursor: pointer;
10446
+ }
10447
+
10448
+ .muka-label--sm {
10449
+ font-family: var(--text-label-sm-semibold-fontFamily);
10450
+ font-weight: var(--text-label-sm-semibold-fontWeight);
10451
+ font-size: var(--text-label-sm-semibold-fontSize);
10452
+ line-height: var(--text-label-sm-semibold-lineHeight);
10453
+ }
10454
+
10455
+ .muka-label--md {
10456
+ font-family: var(--text-label-md-semibold-fontFamily);
10457
+ font-weight: var(--text-label-md-semibold-fontWeight);
10458
+ font-size: var(--text-label-md-semibold-fontSize);
10459
+ line-height: var(--text-label-md-semibold-lineHeight);
10460
+ }
10461
+
10462
+ .muka-label--lg {
10463
+ font-family: var(--text-label-lg-semibold-fontFamily);
10464
+ font-weight: var(--text-label-lg-semibold-fontWeight);
10465
+ font-size: var(--text-label-lg-semibold-fontSize);
10466
+ line-height: var(--text-label-lg-semibold-lineHeight);
10467
+ }
10468
+
10469
+ .muka-label--disabled {
10470
+ color: var(--color-text-subtle-default);
10471
+ cursor: not-allowed;
10472
+ }
10473
+
10474
+ .muka-label__required {
10475
+ color: var(--color-state-error-default);
10476
+ }
10477
+
10478
+
10368
10479
  /* InputCounter */
10369
10480
  /* InputCounter — numeric field + joined decrement/increment buttons.
10370
10481
  Label, helper and error text reuse Input.css (../Input/Input.css).
@@ -12207,6 +12318,33 @@ li.muka-listitem {
12207
12318
  background-color: var(--separator-color-contrast);
12208
12319
  }
12209
12320
 
12321
+ /* ─── With a label in the middle ───────────────────────── */
12322
+
12323
+ .muka-divider-labelled {
12324
+ display: flex;
12325
+ align-items: center;
12326
+ gap: var(--spacing-3);
12327
+ width: 100%;
12328
+ }
12329
+
12330
+ .muka-divider-labelled > .muka-divider {
12331
+ flex: 1 1 0%;
12332
+ width: auto;
12333
+ }
12334
+
12335
+ .muka-divider-labelled__label {
12336
+ flex-shrink: 0;
12337
+ max-width: 70%;
12338
+ overflow: hidden;
12339
+ text-overflow: ellipsis;
12340
+ white-space: nowrap;
12341
+ color: var(--color-text-default-default);
12342
+ font-family: var(--text-label-sm-regular-fontFamily);
12343
+ font-weight: var(--text-label-sm-regular-fontWeight);
12344
+ font-size: var(--text-label-sm-regular-fontSize);
12345
+ line-height: var(--text-label-sm-leading);
12346
+ }
12347
+
12210
12348
 
12211
12349
  /* Dialog */
12212
12350
  /* Dialog Component Styles */
@@ -14097,47 +14235,6 @@ button.muka-chip__trailing[aria-expanded='true'],
14097
14235
  }
14098
14236
 
14099
14237
 
14100
- /* ChatQuestionSeries */
14101
- /* ChatQuestionSeries — step dots and the collapsed summary (experimental) */
14102
- .muka-chat-series__dots {
14103
- display: inline-flex;
14104
- align-items: center;
14105
- gap: var(--spacing-1);
14106
- }
14107
-
14108
- .muka-chat-series__dot {
14109
- width: var(--spacing-1);
14110
- height: var(--spacing-1);
14111
- border-radius: var(--border-radius-full);
14112
- background-color: var(--color-border-default);
14113
- }
14114
-
14115
- .muka-chat-series__dot--done {
14116
- background-color: var(--color-text-subtle-default);
14117
- }
14118
-
14119
- .muka-chat-series__dot--current {
14120
- width: var(--spacing-2);
14121
- height: var(--spacing-2);
14122
- background-color: var(--color-text-default-default);
14123
- }
14124
-
14125
- .muka-chat-series__summary {
14126
- display: flex;
14127
- flex-direction: column;
14128
- gap: var(--spacing-2);
14129
- }
14130
-
14131
- .muka-chat-series__summary-row {
14132
- display: flex;
14133
- flex-direction: column;
14134
- }
14135
-
14136
- .muka-chat-series__summary-question {
14137
- color: var(--color-text-subtle-default);
14138
- }
14139
-
14140
-
14141
14238
  /* ChatQuestionCard */
14142
14239
  /*
14143
14240
  * ChatQuestionCard — in-thread question widget (experimental).
@@ -14339,71 +14436,44 @@ button.muka-chat-photo-grid__tile:focus-visible {
14339
14436
  }
14340
14437
 
14341
14438
 
14342
- /* ChatMessageStack */
14343
- /* ChatMessageStack Component Styles */
14439
+ /* ChatQuestionSeries */
14440
+ /* ChatQuestionSeries — step dots and the collapsed summary (experimental) */
14441
+ .muka-chat-series__dots {
14442
+ display: inline-flex;
14443
+ align-items: center;
14444
+ gap: var(--spacing-1);
14445
+ }
14344
14446
 
14345
- .muka-chat-message-stack {
14346
- display: flex;
14347
- flex-direction: column;
14348
- gap: var(--chatbubble-stack-gap);
14349
- width: 100%;
14350
- max-width: 100%;
14447
+ .muka-chat-series__dot {
14448
+ width: var(--spacing-1);
14449
+ height: var(--spacing-1);
14450
+ border-radius: var(--border-radius-full);
14451
+ background-color: var(--color-border-default);
14351
14452
  }
14352
14453
 
14353
- .muka-chat-message-stack__messages {
14354
- display: flex;
14355
- flex-direction: column;
14356
- gap: var(--chatbubble-stack-gap);
14357
- width: 100%;
14454
+ .muka-chat-series__dot--done {
14455
+ background-color: var(--color-text-subtle-default);
14358
14456
  }
14359
14457
 
14360
- /*
14361
- * Reasoning sits above the stack, indented past the avatar rail so it lines up
14362
- * with the bubbles rather than with the avatar (Figma 5379:47300).
14363
- */
14364
- .muka-chat-message-stack__reasoning {
14365
- min-width: 0;
14458
+ .muka-chat-series__dot--current {
14459
+ width: var(--spacing-2);
14460
+ height: var(--spacing-2);
14461
+ background-color: var(--color-text-default-default);
14366
14462
  }
14367
14463
 
14368
- /* In-thread widgets after the messages share the reasoning's indent. */
14369
- .muka-chat-message-stack__widgets {
14464
+ .muka-chat-series__summary {
14370
14465
  display: flex;
14371
14466
  flex-direction: column;
14372
- gap: var(--chatbubble-stack-gap);
14373
- min-width: 0;
14374
- }
14375
-
14376
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14377
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14378
- padding-left: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14467
+ gap: var(--spacing-2);
14379
14468
  }
14380
14469
 
14381
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14382
- .muka-chat-message-stack__widgets,
14383
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14384
- .muka-chat-message-stack__reasoning {
14385
- padding-left: 0;
14386
- padding-right: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14470
+ .muka-chat-series__summary-row {
14471
+ display: flex;
14472
+ flex-direction: column;
14387
14473
  }
14388
14474
 
14389
- /* Follow the message's compact rail and gap below the desktop breakpoint */
14390
- @media (max-width: 1023px) {
14391
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14392
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14393
- padding-left: calc(
14394
- var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14395
- );
14396
- }
14397
-
14398
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14399
- .muka-chat-message-stack__widgets,
14400
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14401
- .muka-chat-message-stack__reasoning {
14402
- padding-left: 0;
14403
- padding-right: calc(
14404
- var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14405
- );
14406
- }
14475
+ .muka-chat-series__summary-question {
14476
+ color: var(--color-text-subtle-default);
14407
14477
  }
14408
14478
 
14409
14479
 
@@ -14780,14 +14850,76 @@ button.muka-chat-photo-grid__tile:focus-visible {
14780
14850
  }
14781
14851
  }
14782
14852
 
14853
+ /* ─── Muted (a message from another context) ──────────────
14854
+ * The bubble drops its fill and keeps a hairline, so it recedes next to the
14855
+ * current conversation; the text keeps full contrast. */
14783
14856
 
14784
- /* ChatComposer */
14785
- /* ChatComposer Component Styles */
14857
+ .muka-chat-message--muted .muka-chat-message__bubble {
14858
+ background-color: transparent;
14859
+ border-color: var(--chatbubble-color-peer-border);
14860
+ color: var(--color-text-default-default);
14861
+ }
14786
14862
 
14787
- /*
14788
- * The composer is a bare, fill-width row: no padding, background, border or
14789
- * max-width of its own (Figma 5243:14141). Whatever hosts it owns the
14790
- * container — see BottomBar's `chat` variant.
14863
+
14864
+ /* ChatEvent */
14865
+ /* ChatEvent: a line in a chat that isn't a message from a person */
14866
+
14867
+ .muka-chat-event {
14868
+ display: flex;
14869
+ flex-direction: column;
14870
+ align-items: center;
14871
+ gap: var(--spacing-2);
14872
+ width: 100%;
14873
+ padding: 0 var(--spacing-4);
14874
+ box-sizing: border-box;
14875
+ text-align: center;
14876
+ }
14877
+
14878
+ .muka-chat-event__text {
14879
+ margin: 0;
14880
+ max-width: var(--chatbubble-max-width);
14881
+ /* Default text, not subtle: subtle reaches only ~3:1 on the chat surfaces,
14882
+ and this is body text. Size and centring set it apart from messages. */
14883
+ color: var(--color-text-default-default);
14884
+ font-family: var(--text-body-sm-regular-fontFamily);
14885
+ font-weight: var(--text-body-sm-regular-fontWeight);
14886
+ font-size: var(--text-body-sm-regular-fontSize);
14887
+ line-height: var(--text-body-sm-regular-lineHeight);
14888
+ }
14889
+
14890
+ .muka-chat-event__timestamp {
14891
+ white-space: nowrap;
14892
+ }
14893
+
14894
+ .muka-chat-event__media {
14895
+ display: flex;
14896
+ flex-wrap: wrap;
14897
+ justify-content: center;
14898
+ gap: var(--spacing-2);
14899
+ }
14900
+
14901
+ /* Day divider: a small pill */
14902
+ .muka-chat-event__pill {
14903
+ display: inline-flex;
14904
+ align-items: center;
14905
+ padding: var(--spacing-1) var(--spacing-3);
14906
+ border-radius: var(--radius-full);
14907
+ background-color: var(--color-surface-level2);
14908
+ color: var(--color-text-default-default);
14909
+ font-family: var(--text-label-sm-regular-fontFamily);
14910
+ font-weight: var(--text-label-sm-regular-fontWeight);
14911
+ font-size: var(--text-label-sm-regular-fontSize);
14912
+ line-height: var(--text-label-sm-leading);
14913
+ }
14914
+
14915
+
14916
+ /* ChatComposer */
14917
+ /* ChatComposer Component Styles */
14918
+
14919
+ /*
14920
+ * The composer is a bare, fill-width row: no padding, background, border or
14921
+ * max-width of its own (Figma 5243:14141). Whatever hosts it owns the
14922
+ * container — see BottomBar's `chat` variant.
14791
14923
  */
14792
14924
  .muka-chat-composer {
14793
14925
  display: flex;
@@ -15073,6 +15205,74 @@ button.muka-chat-photo-grid__tile:focus-visible {
15073
15205
  }
15074
15206
 
15075
15207
 
15208
+ /* ChatMessageStack */
15209
+ /* ChatMessageStack Component Styles */
15210
+
15211
+ .muka-chat-message-stack {
15212
+ display: flex;
15213
+ flex-direction: column;
15214
+ gap: var(--chatbubble-stack-gap);
15215
+ width: 100%;
15216
+ max-width: 100%;
15217
+ }
15218
+
15219
+ .muka-chat-message-stack__messages {
15220
+ display: flex;
15221
+ flex-direction: column;
15222
+ gap: var(--chatbubble-stack-gap);
15223
+ width: 100%;
15224
+ }
15225
+
15226
+ /*
15227
+ * Reasoning sits above the stack, indented past the avatar rail so it lines up
15228
+ * with the bubbles rather than with the avatar (Figma 5379:47300).
15229
+ */
15230
+ .muka-chat-message-stack__reasoning {
15231
+ min-width: 0;
15232
+ }
15233
+
15234
+ /* In-thread widgets after the messages share the reasoning's indent. */
15235
+ .muka-chat-message-stack__widgets {
15236
+ display: flex;
15237
+ flex-direction: column;
15238
+ gap: var(--chatbubble-stack-gap);
15239
+ min-width: 0;
15240
+ }
15241
+
15242
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
15243
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
15244
+ padding-left: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
15245
+ }
15246
+
15247
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
15248
+ .muka-chat-message-stack__widgets,
15249
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
15250
+ .muka-chat-message-stack__reasoning {
15251
+ padding-left: 0;
15252
+ padding-right: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
15253
+ }
15254
+
15255
+ /* Follow the message's compact rail and gap below the desktop breakpoint */
15256
+ @media (max-width: 1023px) {
15257
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
15258
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
15259
+ padding-left: calc(
15260
+ var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
15261
+ );
15262
+ }
15263
+
15264
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
15265
+ .muka-chat-message-stack__widgets,
15266
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
15267
+ .muka-chat-message-stack__reasoning {
15268
+ padding-left: 0;
15269
+ padding-right: calc(
15270
+ var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
15271
+ );
15272
+ }
15273
+ }
15274
+
15275
+
15076
15276
  /* ChatChoiceCard */
15077
15277
  /* ChatChoiceCard — compact option rows (experimental) */
15078
15278
  .muka-chat-choice__list {
@@ -15109,254 +15309,98 @@ button.muka-chat-photo-grid__tile:focus-visible {
15109
15309
  }
15110
15310
 
15111
15311
 
15112
- /* ChatAttachmentChip */
15113
- /* ChatAttachmentChip Component Styles */
15312
+ /* Card */
15313
+ /* Card Component Styles - Using Muka Design Tokens */
15114
15314
 
15115
- .muka-chat-attachment-chip {
15116
- position: relative;
15117
- display: inline-flex;
15118
- align-items: center;
15119
- gap: var(--spacing-1);
15120
- max-width: 240px;
15121
- padding: var(--spacing-2) var(--spacing-3);
15122
- background-color: var(--color-surface-level1);
15123
- border: var(--border-width-regular) solid var(--color-border-default);
15124
- border-radius: var(--radius-md);
15315
+ .muka-card {
15316
+ background-color: var(--card-color-default-background);
15317
+ color: var(--card-color-default-foreground);
15318
+ border: var(--border-width-regular) solid var(--card-color-default-border);
15319
+ box-shadow: var(--card-shadow-default);
15320
+ transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
15125
15321
  overflow: hidden;
15126
15322
  }
15127
15323
 
15128
- .muka-chat-attachment-chip--uploading {
15129
- padding-bottom: calc(var(--spacing-2) + 2px);
15324
+ /* Padding variants */
15325
+ .muka-card--padding-none {
15326
+ padding: 0;
15130
15327
  }
15131
15328
 
15132
- .muka-chat-attachment-chip--error {
15133
- border-color: var(--color-state-error-default, var(--color-text-default-default));
15329
+ .muka-card--padding-sm {
15330
+ padding: var(--card-padding-sm);
15134
15331
  }
15135
15332
 
15136
- .muka-chat-attachment-chip--disabled {
15137
- opacity: 0.5;
15138
- pointer-events: none;
15333
+ .muka-card--padding-md {
15334
+ padding: var(--card-padding-md);
15139
15335
  }
15140
15336
 
15141
- /* ─── Body (icon + text) ───────────────────────────────── */
15337
+ .muka-card--padding-lg {
15338
+ padding: var(--card-padding-lg);
15339
+ }
15142
15340
 
15143
- .muka-chat-attachment-chip__body {
15144
- display: inline-flex;
15145
- align-items: center;
15146
- gap: var(--spacing-2);
15147
- min-width: 0;
15148
- flex: 1 1 auto;
15149
- background: none;
15150
- border: none;
15151
- padding: 0;
15152
- margin: 0;
15153
- text-align: left;
15154
- color: inherit;
15155
- font: inherit;
15156
- cursor: default;
15157
- -webkit-tap-highlight-color: transparent;
15341
+ /* Radius variants */
15342
+ .muka-card--radius-sm {
15343
+ border-radius: var(--card-radius-sm);
15158
15344
  }
15159
15345
 
15160
- .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
15346
+ .muka-card--radius-md {
15347
+ border-radius: var(--card-radius-md);
15348
+ }
15349
+
15350
+ .muka-card--radius-lg {
15351
+ border-radius: var(--card-radius-lg);
15352
+ }
15353
+
15354
+ /* Interactive variant */
15355
+ .muka-card--interactive {
15161
15356
  cursor: pointer;
15357
+ user-select: none;
15162
15358
  }
15163
15359
 
15164
- .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
15165
- outline: 2px solid var(--color-action-default);
15166
- outline-offset: 2px;
15167
- border-radius: var(--radius-sm);
15360
+ .muka-card--interactive:hover {
15361
+ background-color: var(--card-color-hover-background);
15362
+ border-color: var(--card-color-hover-border);
15363
+ box-shadow: var(--card-shadow-hover);
15168
15364
  }
15169
15365
 
15170
- .muka-chat-attachment-chip__icon {
15171
- display: inline-flex;
15172
- align-items: center;
15173
- justify-content: center;
15174
- flex-shrink: 0;
15175
- color: var(--color-text-subtle-default);
15366
+ .muka-card--interactive:active,
15367
+ .muka-card--interactive.muka-card--pressed {
15368
+ background-color: var(--card-color-pressed-background);
15369
+ border-color: var(--card-color-pressed-border);
15370
+ box-shadow: var(--card-shadow-pressed);
15176
15371
  }
15177
15372
 
15178
- .muka-chat-attachment-chip__text {
15179
- display: flex;
15180
- flex-direction: column;
15181
- min-width: 0;
15182
- flex: 1 1 auto;
15373
+ .muka-card--interactive:focus-visible {
15374
+ outline: 2px solid var(--color-border-focus);
15375
+ outline-offset: 2px;
15183
15376
  }
15184
15377
 
15185
- .muka-chat-attachment-chip__name {
15186
- color: var(--color-text-default-default);
15187
- font-family: var(--text-body-sm-regular-fontFamily);
15188
- font-weight: var(--text-body-sm-regular-fontWeight);
15189
- font-size: var(--text-body-sm-regular-fontSize);
15190
- line-height: var(--text-body-sm-regular-lineHeight);
15191
- white-space: nowrap;
15192
- overflow: hidden;
15193
- text-overflow: ellipsis;
15378
+ /* Selected variant */
15379
+ .muka-card--selected {
15380
+ background-color: var(--card-color-selected-background);
15381
+ border-color: var(--card-color-selected-border);
15382
+ border-width: var(--border-width-bold);
15383
+ box-shadow: var(--card-shadow-selected);
15194
15384
  }
15195
15385
 
15196
- .muka-chat-attachment-chip__meta {
15197
- color: var(--color-text-subtle-default);
15198
- font-family: var(--text-body-sm-regular-fontFamily);
15199
- font-weight: var(--text-body-sm-regular-fontWeight);
15200
- font-size: var(--text-body-sm-regular-fontSize);
15201
- line-height: var(--text-body-sm-regular-lineHeight);
15202
- white-space: nowrap;
15203
- overflow: hidden;
15204
- text-overflow: ellipsis;
15386
+ /* Tone: sticky note (MUK-105) */
15387
+ .muka-card--tone-note {
15388
+ background-color: var(--card-color-note-background);
15389
+ color: var(--card-color-note-foreground);
15390
+ border-color: var(--card-color-note-border);
15391
+ box-shadow: var(--card-shadow-note);
15205
15392
  }
15206
15393
 
15207
- .muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
15208
- color: var(--color-state-error-default, var(--color-text-default-default));
15394
+ .muka-card--tone-note.muka-card--interactive:hover,
15395
+ .muka-card--tone-note.muka-card--interactive:active,
15396
+ .muka-card--tone-note.muka-card--interactive.muka-card--pressed {
15397
+ background-color: var(--card-color-note-background);
15398
+ border-color: var(--card-color-note-border);
15209
15399
  }
15210
15400
 
15211
- /* ─── Remove button ────────────────────────────────────── */
15212
-
15213
- .muka-chat-attachment-chip__remove {
15214
- display: inline-flex;
15215
- align-items: center;
15216
- justify-content: center;
15217
- width: 20px;
15218
- height: 20px;
15219
- border: none;
15220
- background: none;
15221
- padding: 0;
15222
- border-radius: var(--radius-sm);
15223
- cursor: pointer;
15224
- color: var(--color-text-subtle-default);
15225
- flex-shrink: 0;
15226
- -webkit-tap-highlight-color: transparent;
15227
- }
15228
-
15229
- .muka-chat-attachment-chip__remove:hover:not(:disabled) {
15230
- color: var(--color-text-default-default);
15231
- background-color: var(--color-surface-level2);
15232
- }
15233
-
15234
- .muka-chat-attachment-chip__remove:focus-visible {
15235
- outline: 2px solid var(--color-action-default);
15236
- outline-offset: 2px;
15237
- }
15238
-
15239
- .muka-chat-attachment-chip__remove:disabled {
15240
- cursor: not-allowed;
15241
- opacity: 0.5;
15242
- }
15243
-
15244
- /* ─── Progress bar ─────────────────────────────────────── */
15245
-
15246
- .muka-chat-attachment-chip__progress {
15247
- position: absolute;
15248
- left: 0;
15249
- right: 0;
15250
- bottom: 0;
15251
- height: 2px;
15252
- background-color: var(--color-surface-level2);
15253
- overflow: hidden;
15254
- }
15255
-
15256
- .muka-chat-attachment-chip__progress-fill {
15257
- display: block;
15258
- height: 100%;
15259
- background-color: var(--color-action-default);
15260
- transition: width 0.16s ease;
15261
- }
15262
-
15263
- .muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
15264
- background-color: var(--color-state-error-default, var(--color-text-default-default));
15265
- }
15266
-
15267
-
15268
- /* Card */
15269
- /* Card Component Styles - Using Muka Design Tokens */
15270
-
15271
- .muka-card {
15272
- background-color: var(--card-color-default-background);
15273
- color: var(--card-color-default-foreground);
15274
- border: var(--border-width-regular) solid var(--card-color-default-border);
15275
- box-shadow: var(--card-shadow-default);
15276
- transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
15277
- overflow: hidden;
15278
- }
15279
-
15280
- /* Padding variants */
15281
- .muka-card--padding-none {
15282
- padding: 0;
15283
- }
15284
-
15285
- .muka-card--padding-sm {
15286
- padding: var(--card-padding-sm);
15287
- }
15288
-
15289
- .muka-card--padding-md {
15290
- padding: var(--card-padding-md);
15291
- }
15292
-
15293
- .muka-card--padding-lg {
15294
- padding: var(--card-padding-lg);
15295
- }
15296
-
15297
- /* Radius variants */
15298
- .muka-card--radius-sm {
15299
- border-radius: var(--card-radius-sm);
15300
- }
15301
-
15302
- .muka-card--radius-md {
15303
- border-radius: var(--card-radius-md);
15304
- }
15305
-
15306
- .muka-card--radius-lg {
15307
- border-radius: var(--card-radius-lg);
15308
- }
15309
-
15310
- /* Interactive variant */
15311
- .muka-card--interactive {
15312
- cursor: pointer;
15313
- user-select: none;
15314
- }
15315
-
15316
- .muka-card--interactive:hover {
15317
- background-color: var(--card-color-hover-background);
15318
- border-color: var(--card-color-hover-border);
15319
- box-shadow: var(--card-shadow-hover);
15320
- }
15321
-
15322
- .muka-card--interactive:active,
15323
- .muka-card--interactive.muka-card--pressed {
15324
- background-color: var(--card-color-pressed-background);
15325
- border-color: var(--card-color-pressed-border);
15326
- box-shadow: var(--card-shadow-pressed);
15327
- }
15328
-
15329
- .muka-card--interactive:focus-visible {
15330
- outline: 2px solid var(--color-border-focus);
15331
- outline-offset: 2px;
15332
- }
15333
-
15334
- /* Selected variant */
15335
- .muka-card--selected {
15336
- background-color: var(--card-color-selected-background);
15337
- border-color: var(--card-color-selected-border);
15338
- border-width: var(--border-width-bold);
15339
- box-shadow: var(--card-shadow-selected);
15340
- }
15341
-
15342
- /* Tone: sticky note (MUK-105) */
15343
- .muka-card--tone-note {
15344
- background-color: var(--card-color-note-background);
15345
- color: var(--card-color-note-foreground);
15346
- border-color: var(--card-color-note-border);
15347
- box-shadow: var(--card-shadow-note);
15348
- }
15349
-
15350
- .muka-card--tone-note.muka-card--interactive:hover,
15351
- .muka-card--tone-note.muka-card--interactive:active,
15352
- .muka-card--tone-note.muka-card--interactive.muka-card--pressed {
15353
- background-color: var(--card-color-note-background);
15354
- border-color: var(--card-color-note-border);
15355
- }
15356
-
15357
- .muka-card--tilt-left {
15358
- transform: rotate(-0.75deg);
15359
- }
15401
+ .muka-card--tilt-left {
15402
+ transform: rotate(-0.75deg);
15403
+ }
15360
15404
 
15361
15405
  .muka-card--tilt-right {
15362
15406
  transform: rotate(0.6deg);
@@ -16241,90 +16285,246 @@ button.muka-chat-photo-grid__tile:focus-visible {
16241
16285
  }
16242
16286
 
16243
16287
 
16244
- /* BadgeNumber */
16245
- /* BadgeNumber Component Styles - Using Muka Design Tokens */
16288
+ /* ChatAttachmentChip */
16289
+ /* ChatAttachmentChip Component Styles */
16246
16290
 
16247
- .muka-badge-number {
16291
+ .muka-chat-attachment-chip {
16292
+ position: relative;
16248
16293
  display: inline-flex;
16249
16294
  align-items: center;
16250
- justify-content: center;
16251
- border-radius: var(--border-radius-full);
16252
- white-space: nowrap;
16253
- user-select: none;
16254
- box-sizing: border-box;
16295
+ gap: var(--spacing-1);
16296
+ max-width: 240px;
16297
+ padding: var(--spacing-2) var(--spacing-3);
16298
+ background-color: var(--color-surface-level1);
16299
+ border: var(--border-width-regular) solid var(--color-border-default);
16300
+ border-radius: var(--radius-md);
16301
+ overflow: hidden;
16255
16302
  }
16256
16303
 
16257
- /*
16258
- * Sizes — fixed height, matching min-width (so a single digit renders as a
16259
- * circle), horizontal padding, and bold label typography. Vertical centering
16260
- * is handled by the fixed height + align-items: center.
16261
- */
16262
- .muka-badge-number--2xs {
16263
- height: var(--badge-number-size-2xs);
16264
- min-width: var(--badge-number-size-2xs);
16265
- padding: 0 var(--badge-number-padding-2xs);
16266
- font-family: var(--text-label-xs-bold-fontFamily);
16267
- font-weight: var(--text-label-xs-bold-fontWeight);
16268
- font-size: var(--text-label-xs-bold-fontSize);
16269
- line-height: var(--text-label-xs-bold-lineHeight);
16304
+ .muka-chat-attachment-chip--uploading {
16305
+ padding-bottom: calc(var(--spacing-2) + 2px);
16270
16306
  }
16271
16307
 
16272
- .muka-badge-number--xs {
16273
- height: var(--badge-number-size-xs);
16274
- min-width: var(--badge-number-size-xs);
16275
- padding: 0 var(--badge-number-padding-xs);
16276
- font-family: var(--text-label-sm-bold-fontFamily);
16277
- font-weight: var(--text-label-sm-bold-fontWeight);
16278
- font-size: var(--text-label-sm-bold-fontSize);
16279
- line-height: var(--text-label-sm-bold-lineHeight);
16308
+ .muka-chat-attachment-chip--error {
16309
+ border-color: var(--color-state-error-default, var(--color-text-default-default));
16280
16310
  }
16281
16311
 
16282
- .muka-badge-number--sm {
16283
- height: var(--badge-number-size-sm);
16284
- min-width: var(--badge-number-size-sm);
16285
- padding: 0 var(--badge-number-padding-sm);
16286
- font-family: var(--text-label-md-bold-fontFamily);
16287
- font-weight: var(--text-label-md-bold-fontWeight);
16288
- font-size: var(--text-label-md-bold-fontSize);
16289
- line-height: var(--text-label-md-bold-lineHeight);
16312
+ .muka-chat-attachment-chip--disabled {
16313
+ opacity: 0.5;
16314
+ pointer-events: none;
16290
16315
  }
16291
16316
 
16292
- .muka-badge-number--md {
16293
- height: var(--badge-number-size-md);
16294
- min-width: var(--badge-number-size-md);
16295
- padding: 0 var(--badge-number-padding-md);
16296
- font-family: var(--text-label-lg-bold-fontFamily);
16297
- font-weight: var(--text-label-lg-bold-fontWeight);
16298
- font-size: var(--text-label-lg-bold-fontSize);
16299
- line-height: var(--text-label-lg-bold-lineHeight);
16317
+ /* ─── Body (icon + text) ───────────────────────────────── */
16318
+
16319
+ .muka-chat-attachment-chip__body {
16320
+ display: inline-flex;
16321
+ align-items: center;
16322
+ gap: var(--spacing-2);
16323
+ min-width: 0;
16324
+ flex: 1 1 auto;
16325
+ background: none;
16326
+ border: none;
16327
+ padding: 0;
16328
+ margin: 0;
16329
+ text-align: left;
16330
+ color: inherit;
16331
+ font: inherit;
16332
+ cursor: default;
16333
+ -webkit-tap-highlight-color: transparent;
16300
16334
  }
16301
16335
 
16302
- .muka-badge-number--lg {
16303
- height: var(--badge-number-size-lg);
16304
- min-width: var(--badge-number-size-lg);
16305
- padding: 0 var(--badge-number-padding-lg);
16306
- font-family: var(--text-label-2xl-bold-fontFamily);
16307
- font-weight: var(--text-label-2xl-bold-fontWeight);
16308
- font-size: var(--text-label-2xl-bold-fontSize);
16309
- line-height: var(--text-label-2xl-bold-lineHeight);
16336
+ .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
16337
+ cursor: pointer;
16310
16338
  }
16311
16339
 
16312
- .muka-badge-number__label {
16313
- /*
16314
- * The badge sets a tight line-height for compact sizing, which would clip
16315
- * glyph descenders; give the label a roomier line-height. Vertical centering
16316
- * is unaffected because the badge height is fixed and content is centered.
16317
- */
16318
- line-height: normal;
16340
+ .muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
16341
+ outline: 2px solid var(--color-action-default);
16342
+ outline-offset: 2px;
16343
+ border-radius: var(--radius-sm);
16319
16344
  }
16320
16345
 
16321
- /* Neutral variant */
16322
- .muka-badge-number--neutral {
16323
- background-color: var(--color-surface-level1);
16324
- color: var(--color-text-default-default);
16346
+ .muka-chat-attachment-chip__icon {
16347
+ display: inline-flex;
16348
+ align-items: center;
16349
+ justify-content: center;
16350
+ flex-shrink: 0;
16351
+ color: var(--color-text-subtle-default);
16325
16352
  }
16326
16353
 
16327
- /* Info variant */
16354
+ .muka-chat-attachment-chip__text {
16355
+ display: flex;
16356
+ flex-direction: column;
16357
+ min-width: 0;
16358
+ flex: 1 1 auto;
16359
+ }
16360
+
16361
+ .muka-chat-attachment-chip__name {
16362
+ color: var(--color-text-default-default);
16363
+ font-family: var(--text-body-sm-regular-fontFamily);
16364
+ font-weight: var(--text-body-sm-regular-fontWeight);
16365
+ font-size: var(--text-body-sm-regular-fontSize);
16366
+ line-height: var(--text-body-sm-regular-lineHeight);
16367
+ white-space: nowrap;
16368
+ overflow: hidden;
16369
+ text-overflow: ellipsis;
16370
+ }
16371
+
16372
+ .muka-chat-attachment-chip__meta {
16373
+ color: var(--color-text-subtle-default);
16374
+ font-family: var(--text-body-sm-regular-fontFamily);
16375
+ font-weight: var(--text-body-sm-regular-fontWeight);
16376
+ font-size: var(--text-body-sm-regular-fontSize);
16377
+ line-height: var(--text-body-sm-regular-lineHeight);
16378
+ white-space: nowrap;
16379
+ overflow: hidden;
16380
+ text-overflow: ellipsis;
16381
+ }
16382
+
16383
+ .muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
16384
+ color: var(--color-state-error-default, var(--color-text-default-default));
16385
+ }
16386
+
16387
+ /* ─── Remove button ────────────────────────────────────── */
16388
+
16389
+ .muka-chat-attachment-chip__remove {
16390
+ display: inline-flex;
16391
+ align-items: center;
16392
+ justify-content: center;
16393
+ width: 20px;
16394
+ height: 20px;
16395
+ border: none;
16396
+ background: none;
16397
+ padding: 0;
16398
+ border-radius: var(--radius-sm);
16399
+ cursor: pointer;
16400
+ color: var(--color-text-subtle-default);
16401
+ flex-shrink: 0;
16402
+ -webkit-tap-highlight-color: transparent;
16403
+ }
16404
+
16405
+ .muka-chat-attachment-chip__remove:hover:not(:disabled) {
16406
+ color: var(--color-text-default-default);
16407
+ background-color: var(--color-surface-level2);
16408
+ }
16409
+
16410
+ .muka-chat-attachment-chip__remove:focus-visible {
16411
+ outline: 2px solid var(--color-action-default);
16412
+ outline-offset: 2px;
16413
+ }
16414
+
16415
+ .muka-chat-attachment-chip__remove:disabled {
16416
+ cursor: not-allowed;
16417
+ opacity: 0.5;
16418
+ }
16419
+
16420
+ /* ─── Progress bar ─────────────────────────────────────── */
16421
+
16422
+ .muka-chat-attachment-chip__progress {
16423
+ position: absolute;
16424
+ left: 0;
16425
+ right: 0;
16426
+ bottom: 0;
16427
+ height: 2px;
16428
+ background-color: var(--color-surface-level2);
16429
+ overflow: hidden;
16430
+ }
16431
+
16432
+ .muka-chat-attachment-chip__progress-fill {
16433
+ display: block;
16434
+ height: 100%;
16435
+ background-color: var(--color-action-default);
16436
+ transition: width 0.16s ease;
16437
+ }
16438
+
16439
+ .muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
16440
+ background-color: var(--color-state-error-default, var(--color-text-default-default));
16441
+ }
16442
+
16443
+
16444
+ /* BadgeNumber */
16445
+ /* BadgeNumber Component Styles - Using Muka Design Tokens */
16446
+
16447
+ .muka-badge-number {
16448
+ display: inline-flex;
16449
+ align-items: center;
16450
+ justify-content: center;
16451
+ border-radius: var(--border-radius-full);
16452
+ white-space: nowrap;
16453
+ user-select: none;
16454
+ box-sizing: border-box;
16455
+ }
16456
+
16457
+ /*
16458
+ * Sizes — fixed height, matching min-width (so a single digit renders as a
16459
+ * circle), horizontal padding, and bold label typography. Vertical centering
16460
+ * is handled by the fixed height + align-items: center.
16461
+ */
16462
+ .muka-badge-number--2xs {
16463
+ height: var(--badge-number-size-2xs);
16464
+ min-width: var(--badge-number-size-2xs);
16465
+ padding: 0 var(--badge-number-padding-2xs);
16466
+ font-family: var(--text-label-xs-bold-fontFamily);
16467
+ font-weight: var(--text-label-xs-bold-fontWeight);
16468
+ font-size: var(--text-label-xs-bold-fontSize);
16469
+ line-height: var(--text-label-xs-bold-lineHeight);
16470
+ }
16471
+
16472
+ .muka-badge-number--xs {
16473
+ height: var(--badge-number-size-xs);
16474
+ min-width: var(--badge-number-size-xs);
16475
+ padding: 0 var(--badge-number-padding-xs);
16476
+ font-family: var(--text-label-sm-bold-fontFamily);
16477
+ font-weight: var(--text-label-sm-bold-fontWeight);
16478
+ font-size: var(--text-label-sm-bold-fontSize);
16479
+ line-height: var(--text-label-sm-bold-lineHeight);
16480
+ }
16481
+
16482
+ .muka-badge-number--sm {
16483
+ height: var(--badge-number-size-sm);
16484
+ min-width: var(--badge-number-size-sm);
16485
+ padding: 0 var(--badge-number-padding-sm);
16486
+ font-family: var(--text-label-md-bold-fontFamily);
16487
+ font-weight: var(--text-label-md-bold-fontWeight);
16488
+ font-size: var(--text-label-md-bold-fontSize);
16489
+ line-height: var(--text-label-md-bold-lineHeight);
16490
+ }
16491
+
16492
+ .muka-badge-number--md {
16493
+ height: var(--badge-number-size-md);
16494
+ min-width: var(--badge-number-size-md);
16495
+ padding: 0 var(--badge-number-padding-md);
16496
+ font-family: var(--text-label-lg-bold-fontFamily);
16497
+ font-weight: var(--text-label-lg-bold-fontWeight);
16498
+ font-size: var(--text-label-lg-bold-fontSize);
16499
+ line-height: var(--text-label-lg-bold-lineHeight);
16500
+ }
16501
+
16502
+ .muka-badge-number--lg {
16503
+ height: var(--badge-number-size-lg);
16504
+ min-width: var(--badge-number-size-lg);
16505
+ padding: 0 var(--badge-number-padding-lg);
16506
+ font-family: var(--text-label-2xl-bold-fontFamily);
16507
+ font-weight: var(--text-label-2xl-bold-fontWeight);
16508
+ font-size: var(--text-label-2xl-bold-fontSize);
16509
+ line-height: var(--text-label-2xl-bold-lineHeight);
16510
+ }
16511
+
16512
+ .muka-badge-number__label {
16513
+ /*
16514
+ * The badge sets a tight line-height for compact sizing, which would clip
16515
+ * glyph descenders; give the label a roomier line-height. Vertical centering
16516
+ * is unaffected because the badge height is fixed and content is centered.
16517
+ */
16518
+ line-height: normal;
16519
+ }
16520
+
16521
+ /* Neutral variant */
16522
+ .muka-badge-number--neutral {
16523
+ background-color: var(--color-surface-level1);
16524
+ color: var(--color-text-default-default);
16525
+ }
16526
+
16527
+ /* Info variant */
16328
16528
  .muka-badge-number--info {
16329
16529
  background-color: var(--color-state-info-contrast);
16330
16530
  color: var(--color-text-default-inverse);
@@ -16920,72 +17120,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
16920
17120
  }
16921
17121
 
16922
17122
 
16923
- /* Autocomplete */
16924
- /* Autocomplete — Figma Input Autocomplete (Input field + single-line suggestion Menu).
16925
- The field reuses the Input styles (.muka-input*); only the menu wiring lives here. */
16926
-
16927
- .muka-autocomplete {
16928
- min-width: 200px;
16929
- }
16930
-
16931
- /* Covers the field's outer edge so the menu matches its full width. The menu
16932
- is only open while focused, when the field has the bold border. */
16933
- .muka-autocomplete__menu-anchor {
16934
- position: absolute;
16935
- inset: calc(-1 * var(--border-width-bold));
16936
- z-index: 0;
16937
- margin: 0;
16938
- padding: 0;
16939
- border: none;
16940
- background: transparent;
16941
- pointer-events: none;
16942
- opacity: 0;
16943
- }
16944
-
16945
- /* Keep the field content above the invisible anchor. */
16946
- .muka-autocomplete__field > :not(.muka-autocomplete__menu-anchor) {
16947
- position: relative;
16948
- z-index: 1;
16949
- }
16950
-
16951
- /* Figma: the menu is as wide as the field (never below the menu min-width token). */
16952
- .muka-autocomplete__menu {
16953
- width: var(--radix-dropdown-menu-trigger-width);
16954
- max-width: calc(100vw - 2rem);
16955
- }
16956
-
16957
- /* Suggestions are single-line; long labels truncate. */
16958
- .muka-autocomplete__menu .muka-menu__item-label {
16959
- overflow: hidden;
16960
- text-overflow: ellipsis;
16961
- }
16962
-
16963
- /* Loading and empty rows: menu-row geometry, not selectable. */
16964
- .muka-autocomplete__status {
16965
- display: flex;
16966
- align-items: center;
16967
- gap: var(--menu-item-gap);
16968
- min-height: var(--menu-item-height);
16969
- padding: var(--menu-item-padding-y) var(--menu-item-padding-x);
16970
- color: var(--color-text-subtle-default);
16971
- font-family: var(--text-label-md-regular-fontFamily);
16972
- font-size: var(--text-label-md-regular-fontSize);
16973
- font-weight: var(--text-label-md-regular-fontWeight);
16974
- line-height: var(--text-label-md-regular-lineHeight);
16975
- }
16976
-
16977
- .muka-autocomplete__footer {
16978
- flex-shrink: 0;
16979
- padding: var(--spacing-2) var(--spacing-3);
16980
- border-top: var(--border-width-regular) solid var(--color-border-default);
16981
- color: var(--color-text-subtle-default);
16982
- font-family: var(--text-label-sm-regular-fontFamily);
16983
- font-size: var(--text-label-sm-regular-fontSize);
16984
- font-weight: var(--text-label-sm-regular-fontWeight);
16985
- line-height: var(--text-label-sm-regular-lineHeight);
16986
- }
16987
-
16988
-
16989
17123
  /* AppShell */
16990
17124
  /* AppShell Component Styles */
16991
17125
 
@@ -17108,20 +17242,86 @@ button.muka-chat-photo-grid__tile:focus-visible {
17108
17242
  }
17109
17243
 
17110
17244
 
17111
- /* Alert */
17112
- /* Alert Component Styles - Using Muka Design Tokens */
17245
+ /* Autocomplete */
17246
+ /* Autocomplete — Figma Input Autocomplete (Input field + single-line suggestion Menu).
17247
+ The field reuses the Input styles (.muka-input*); only the menu wiring lives here. */
17113
17248
 
17114
- .muka-alert {
17115
- display: flex;
17116
- align-items: flex-start;
17117
- border-radius: var(--alert-radius);
17118
- border: none;
17119
- gap: var(--alert-gap);
17120
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
17249
+ .muka-autocomplete {
17250
+ min-width: 200px;
17121
17251
  }
17122
17252
 
17123
- /* Size variants */
17124
- .muka-alert--sm {
17253
+ /* Covers the field's outer edge so the menu matches its full width. The menu
17254
+ is only open while focused, when the field has the bold border. */
17255
+ .muka-autocomplete__menu-anchor {
17256
+ position: absolute;
17257
+ inset: calc(-1 * var(--border-width-bold));
17258
+ z-index: 0;
17259
+ margin: 0;
17260
+ padding: 0;
17261
+ border: none;
17262
+ background: transparent;
17263
+ pointer-events: none;
17264
+ opacity: 0;
17265
+ }
17266
+
17267
+ /* Keep the field content above the invisible anchor. */
17268
+ .muka-autocomplete__field > :not(.muka-autocomplete__menu-anchor) {
17269
+ position: relative;
17270
+ z-index: 1;
17271
+ }
17272
+
17273
+ /* Figma: the menu is as wide as the field (never below the menu min-width token). */
17274
+ .muka-autocomplete__menu {
17275
+ width: var(--radix-dropdown-menu-trigger-width);
17276
+ max-width: calc(100vw - 2rem);
17277
+ }
17278
+
17279
+ /* Suggestions are single-line; long labels truncate. */
17280
+ .muka-autocomplete__menu .muka-menu__item-label {
17281
+ overflow: hidden;
17282
+ text-overflow: ellipsis;
17283
+ }
17284
+
17285
+ /* Loading and empty rows: menu-row geometry, not selectable. */
17286
+ .muka-autocomplete__status {
17287
+ display: flex;
17288
+ align-items: center;
17289
+ gap: var(--menu-item-gap);
17290
+ min-height: var(--menu-item-height);
17291
+ padding: var(--menu-item-padding-y) var(--menu-item-padding-x);
17292
+ color: var(--color-text-subtle-default);
17293
+ font-family: var(--text-label-md-regular-fontFamily);
17294
+ font-size: var(--text-label-md-regular-fontSize);
17295
+ font-weight: var(--text-label-md-regular-fontWeight);
17296
+ line-height: var(--text-label-md-regular-lineHeight);
17297
+ }
17298
+
17299
+ .muka-autocomplete__footer {
17300
+ flex-shrink: 0;
17301
+ padding: var(--spacing-2) var(--spacing-3);
17302
+ border-top: var(--border-width-regular) solid var(--color-border-default);
17303
+ color: var(--color-text-subtle-default);
17304
+ font-family: var(--text-label-sm-regular-fontFamily);
17305
+ font-size: var(--text-label-sm-regular-fontSize);
17306
+ font-weight: var(--text-label-sm-regular-fontWeight);
17307
+ line-height: var(--text-label-sm-regular-lineHeight);
17308
+ }
17309
+
17310
+
17311
+ /* Alert */
17312
+ /* Alert Component Styles - Using Muka Design Tokens */
17313
+
17314
+ .muka-alert {
17315
+ display: flex;
17316
+ align-items: flex-start;
17317
+ border-radius: var(--alert-radius);
17318
+ border: none;
17319
+ gap: var(--alert-gap);
17320
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
17321
+ }
17322
+
17323
+ /* Size variants */
17324
+ .muka-alert--sm {
17125
17325
  padding: var(--alert-padding-sm-y) var(--alert-padding-sm-x);
17126
17326
  }
17127
17327
 
@@ -17488,6 +17688,137 @@ button.muka-chat-photo-grid__tile:focus-visible {
17488
17688
  }
17489
17689
 
17490
17690
 
17691
+ /* Accordion */
17692
+ /* Accordion Component Styles */
17693
+
17694
+ .muka-accordion {
17695
+ width: 100%;
17696
+ }
17697
+
17698
+ /* Item */
17699
+ .muka-accordion__item {
17700
+ border-bottom: var(--border-width-regular) solid var(--color-border-default);
17701
+ }
17702
+
17703
+ .muka-accordion__item:last-child {
17704
+ border-bottom: none;
17705
+ }
17706
+
17707
+ /* Header reset */
17708
+ .muka-accordion__header {
17709
+ margin: 0;
17710
+ }
17711
+
17712
+ /* Trigger */
17713
+ .muka-accordion__trigger {
17714
+ display: flex;
17715
+ align-items: center;
17716
+ justify-content: space-between;
17717
+ width: 100%;
17718
+ padding: var(--spacing-4);
17719
+ background: none;
17720
+ border: none;
17721
+ cursor: pointer;
17722
+ font-family: var(--text-label-md-semibold-fontFamily);
17723
+ font-weight: var(--text-label-md-semibold-fontWeight);
17724
+ font-size: var(--text-label-md-semibold-fontSize);
17725
+ line-height: var(--text-label-md-semibold-lineHeight);
17726
+ color: var(--color-text-default-default);
17727
+ text-align: left;
17728
+ gap: var(--spacing-3);
17729
+ transition: background-color 0.15s ease;
17730
+ }
17731
+
17732
+ .muka-accordion__trigger:hover {
17733
+ background-color: var(--color-surface-level1);
17734
+ }
17735
+
17736
+ .muka-accordion__trigger[data-disabled] {
17737
+ cursor: not-allowed;
17738
+ opacity: 0.4;
17739
+ }
17740
+
17741
+ .muka-accordion__trigger-text {
17742
+ flex: 1;
17743
+ }
17744
+
17745
+ /* Chevron rotation */
17746
+ .muka-accordion__chevron {
17747
+ display: inline-flex;
17748
+ align-items: center;
17749
+ color: var(--color-text-subtle-default);
17750
+ transition: transform 200ms ease;
17751
+ }
17752
+
17753
+ .muka-accordion__trigger[data-state='open'] .muka-accordion__chevron {
17754
+ transform: rotate(180deg);
17755
+ }
17756
+
17757
+ /* Content */
17758
+ .muka-accordion__content {
17759
+ overflow: hidden;
17760
+ }
17761
+
17762
+ .muka-accordion__content[data-state='open'] {
17763
+ animation: muka-accordion-slideDown 200ms ease;
17764
+ }
17765
+
17766
+ .muka-accordion__content[data-state='closed'] {
17767
+ animation: muka-accordion-slideUp 200ms ease;
17768
+ }
17769
+
17770
+ @keyframes muka-accordion-slideDown {
17771
+ from {
17772
+ height: 0;
17773
+ }
17774
+ to {
17775
+ height: var(--radix-accordion-content-height);
17776
+ }
17777
+ }
17778
+
17779
+ @keyframes muka-accordion-slideUp {
17780
+ from {
17781
+ height: var(--radix-accordion-content-height);
17782
+ }
17783
+ to {
17784
+ height: 0;
17785
+ }
17786
+ }
17787
+
17788
+ .muka-accordion__content-inner {
17789
+ padding: 0 var(--spacing-4) var(--spacing-5);
17790
+ color: var(--color-text-default-default);
17791
+ }
17792
+
17793
+ /* ─── Variant: flush ────────────────────────────────────────────────────── */
17794
+
17795
+ .muka-accordion--flush .muka-accordion__trigger {
17796
+ padding-left: 0;
17797
+ padding-right: 0;
17798
+ }
17799
+
17800
+ .muka-accordion--flush .muka-accordion__content-inner {
17801
+ padding-left: 0;
17802
+ padding-right: 0;
17803
+ }
17804
+
17805
+ /* ─── Variant: contained ────────────────────────────────────────────────── */
17806
+
17807
+ .muka-accordion--contained {
17808
+ border: var(--border-width-regular) solid var(--color-border-default);
17809
+ border-radius: var(--radius-md);
17810
+ overflow: hidden;
17811
+ }
17812
+
17813
+ .muka-accordion--contained .muka-accordion__item {
17814
+ background-color: var(--color-surface-level3);
17815
+ }
17816
+
17817
+ .muka-accordion--contained .muka-accordion__item:last-child {
17818
+ border-bottom: none;
17819
+ }
17820
+
17821
+
17491
17822
  /* ActionSheet */
17492
17823
  /* ActionSheet Component Styles */
17493
17824
 
@@ -17629,134 +17960,3 @@ button.muka-chat-photo-grid__tile:focus-visible {
17629
17960
  outline-offset: 2px;
17630
17961
  }
17631
17962
 
17632
-
17633
- /* Accordion */
17634
- /* Accordion Component Styles */
17635
-
17636
- .muka-accordion {
17637
- width: 100%;
17638
- }
17639
-
17640
- /* Item */
17641
- .muka-accordion__item {
17642
- border-bottom: var(--border-width-regular) solid var(--color-border-default);
17643
- }
17644
-
17645
- .muka-accordion__item:last-child {
17646
- border-bottom: none;
17647
- }
17648
-
17649
- /* Header reset */
17650
- .muka-accordion__header {
17651
- margin: 0;
17652
- }
17653
-
17654
- /* Trigger */
17655
- .muka-accordion__trigger {
17656
- display: flex;
17657
- align-items: center;
17658
- justify-content: space-between;
17659
- width: 100%;
17660
- padding: var(--spacing-4);
17661
- background: none;
17662
- border: none;
17663
- cursor: pointer;
17664
- font-family: var(--text-label-md-semibold-fontFamily);
17665
- font-weight: var(--text-label-md-semibold-fontWeight);
17666
- font-size: var(--text-label-md-semibold-fontSize);
17667
- line-height: var(--text-label-md-semibold-lineHeight);
17668
- color: var(--color-text-default-default);
17669
- text-align: left;
17670
- gap: var(--spacing-3);
17671
- transition: background-color 0.15s ease;
17672
- }
17673
-
17674
- .muka-accordion__trigger:hover {
17675
- background-color: var(--color-surface-level1);
17676
- }
17677
-
17678
- .muka-accordion__trigger[data-disabled] {
17679
- cursor: not-allowed;
17680
- opacity: 0.4;
17681
- }
17682
-
17683
- .muka-accordion__trigger-text {
17684
- flex: 1;
17685
- }
17686
-
17687
- /* Chevron rotation */
17688
- .muka-accordion__chevron {
17689
- display: inline-flex;
17690
- align-items: center;
17691
- color: var(--color-text-subtle-default);
17692
- transition: transform 200ms ease;
17693
- }
17694
-
17695
- .muka-accordion__trigger[data-state='open'] .muka-accordion__chevron {
17696
- transform: rotate(180deg);
17697
- }
17698
-
17699
- /* Content */
17700
- .muka-accordion__content {
17701
- overflow: hidden;
17702
- }
17703
-
17704
- .muka-accordion__content[data-state='open'] {
17705
- animation: muka-accordion-slideDown 200ms ease;
17706
- }
17707
-
17708
- .muka-accordion__content[data-state='closed'] {
17709
- animation: muka-accordion-slideUp 200ms ease;
17710
- }
17711
-
17712
- @keyframes muka-accordion-slideDown {
17713
- from {
17714
- height: 0;
17715
- }
17716
- to {
17717
- height: var(--radix-accordion-content-height);
17718
- }
17719
- }
17720
-
17721
- @keyframes muka-accordion-slideUp {
17722
- from {
17723
- height: var(--radix-accordion-content-height);
17724
- }
17725
- to {
17726
- height: 0;
17727
- }
17728
- }
17729
-
17730
- .muka-accordion__content-inner {
17731
- padding: 0 var(--spacing-4) var(--spacing-5);
17732
- color: var(--color-text-default-default);
17733
- }
17734
-
17735
- /* ─── Variant: flush ────────────────────────────────────────────────────── */
17736
-
17737
- .muka-accordion--flush .muka-accordion__trigger {
17738
- padding-left: 0;
17739
- padding-right: 0;
17740
- }
17741
-
17742
- .muka-accordion--flush .muka-accordion__content-inner {
17743
- padding-left: 0;
17744
- padding-right: 0;
17745
- }
17746
-
17747
- /* ─── Variant: contained ────────────────────────────────────────────────── */
17748
-
17749
- .muka-accordion--contained {
17750
- border: var(--border-width-regular) solid var(--color-border-default);
17751
- border-radius: var(--radius-md);
17752
- overflow: hidden;
17753
- }
17754
-
17755
- .muka-accordion--contained .muka-accordion__item {
17756
- background-color: var(--color-surface-level3);
17757
- }
17758
-
17759
- .muka-accordion--contained .muka-accordion__item:last-child {
17760
- border-bottom: none;
17761
- }
17762
-