@revikornmann/muka-ui 0.52.0 → 0.53.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 (38) hide show
  1. package/dist/cjs/components/Menu/Menu.css +18 -0
  2. package/dist/cjs/components/Menu/Menu.js +3 -2
  3. package/dist/cjs/components/Menu/Menu.js.map +1 -1
  4. package/dist/cjs/components/TopBar/TopBar.css +68 -0
  5. package/dist/cjs/components/TopBar/TopBar.js +11 -2
  6. package/dist/cjs/components/TopBar/TopBar.js.map +1 -1
  7. package/dist/cjs/components/TopBar/index.js.map +1 -1
  8. package/dist/cjs/components/View/View.js +2 -2
  9. package/dist/cjs/components/View/View.js.map +1 -1
  10. package/dist/cjs/components/index.js.map +1 -1
  11. package/dist/esm/components/Menu/Menu.css +18 -0
  12. package/dist/esm/components/Menu/Menu.js +3 -2
  13. package/dist/esm/components/Menu/Menu.js.map +1 -1
  14. package/dist/esm/components/TopBar/TopBar.css +68 -0
  15. package/dist/esm/components/TopBar/TopBar.js +11 -2
  16. package/dist/esm/components/TopBar/TopBar.js.map +1 -1
  17. package/dist/esm/components/TopBar/index.js.map +1 -1
  18. package/dist/esm/components/View/View.js +2 -2
  19. package/dist/esm/components/View/View.js.map +1 -1
  20. package/dist/esm/components/index.js.map +1 -1
  21. package/dist/styles/components/Menu.css +18 -0
  22. package/dist/styles/components/TopBar.css +68 -0
  23. package/dist/styles/index.css +909 -823
  24. package/dist/styles/muka-dark.css +909 -823
  25. package/dist/styles/muka-light.css +909 -823
  26. package/dist/styles/wireframe-dark.css +909 -823
  27. package/dist/styles/wireframe-light.css +909 -823
  28. package/dist/types/components/Menu/Menu.d.ts +5 -0
  29. package/dist/types/components/Menu/Menu.d.ts.map +1 -1
  30. package/dist/types/components/TopBar/TopBar.d.ts +36 -0
  31. package/dist/types/components/TopBar/TopBar.d.ts.map +1 -1
  32. package/dist/types/components/TopBar/index.d.ts +1 -1
  33. package/dist/types/components/TopBar/index.d.ts.map +1 -1
  34. package/dist/types/components/View/View.d.ts +11 -0
  35. package/dist/types/components/View/View.d.ts.map +1 -1
  36. package/dist/types/components/index.d.ts +1 -1
  37. package/dist/types/components/index.d.ts.map +1 -1
  38. package/package.json +1 -1
@@ -2911,6 +2911,7 @@ body {
2911
2911
  of overlapping it. */
2912
2912
  --tb-container-display: grid;
2913
2913
  --tb-title-align: center;
2914
+ --tb-title-justify: center;
2914
2915
  --tb-title-font-family: var(--text-heading-xs-fontFamily);
2915
2916
  --tb-title-font-weight: var(--text-heading-xs-fontWeight);
2916
2917
  --tb-title-font-size: var(--text-heading-xs-fontSize);
@@ -2951,6 +2952,7 @@ body {
2951
2952
  --tb-pad-y: var(--spacing-4);
2952
2953
  --tb-container-display: flex;
2953
2954
  --tb-title-align: left;
2955
+ --tb-title-justify: start;
2954
2956
  --tb-title-font-family: var(--text-heading-md-fontFamily);
2955
2957
  --tb-title-font-weight: var(--text-heading-md-fontWeight);
2956
2958
  --tb-title-font-size: var(--text-heading-md-fontSize);
@@ -2966,6 +2968,7 @@ body {
2966
2968
  --tb-pad-y: var(--spacing-4);
2967
2969
  --tb-container-display: flex;
2968
2970
  --tb-title-align: left;
2971
+ --tb-title-justify: start;
2969
2972
  --tb-title-font-family: var(--text-heading-md-fontFamily);
2970
2973
  --tb-title-font-weight: var(--text-heading-md-fontWeight);
2971
2974
  --tb-title-font-size: var(--text-heading-md-fontSize);
@@ -3088,6 +3091,71 @@ body {
3088
3091
  margin: 0;
3089
3092
  }
3090
3093
 
3094
+ /* ─── Title with a subtitle ─────────────────────────────
3095
+ The block takes the title's grid cell and stacks the title over a subdued
3096
+ line (subtitle), aligned like the title: centred, start in the large tier. */
3097
+
3098
+ .muka-topbar__title-block {
3099
+ grid-column: 2;
3100
+ display: flex;
3101
+ flex-direction: column;
3102
+ align-items: var(--tb-title-justify);
3103
+ min-width: 0;
3104
+ }
3105
+
3106
+ .muka-topbar__title-block > .muka-topbar__title {
3107
+ max-width: 100%;
3108
+ }
3109
+
3110
+ .muka-topbar__subtitle {
3111
+ max-width: 100%;
3112
+ overflow: hidden;
3113
+ text-overflow: ellipsis;
3114
+ white-space: nowrap;
3115
+ text-align: var(--tb-title-align);
3116
+ font-family: var(--text-body-sm-regular-fontFamily);
3117
+ font-weight: var(--text-body-sm-regular-fontWeight);
3118
+ font-size: var(--text-body-sm-regular-fontSize);
3119
+ line-height: var(--text-body-sm-regular-lineHeight);
3120
+ color: var(--color-text-subtle-default);
3121
+ }
3122
+
3123
+ /* ─── Title as a button (titleTrailing) ──────────────────
3124
+ Same type as the text title, with a trailing glyph; sized to its content so
3125
+ only the title is the hit area, centred (start in the large tier). */
3126
+
3127
+ .muka-topbar__title--button {
3128
+ display: inline-flex;
3129
+ align-items: center;
3130
+ gap: var(--spacing-1);
3131
+ justify-self: var(--tb-title-justify);
3132
+ align-self: var(--tb-title-justify);
3133
+ max-width: 100%;
3134
+ padding: 0;
3135
+ border: 0;
3136
+ background: none;
3137
+ cursor: pointer;
3138
+ border-radius: var(--radius-sm);
3139
+ }
3140
+
3141
+ .muka-topbar__title-text {
3142
+ min-width: 0;
3143
+ overflow: hidden;
3144
+ text-overflow: ellipsis;
3145
+ white-space: nowrap;
3146
+ }
3147
+
3148
+ .muka-topbar__title-glyph {
3149
+ display: inline-flex;
3150
+ flex-shrink: 0;
3151
+ color: var(--color-text-subtle-default);
3152
+ }
3153
+
3154
+ .muka-topbar__title--button:focus-visible {
3155
+ outline: 2px solid var(--color-border-focus);
3156
+ outline-offset: 2px;
3157
+ }
3158
+
3091
3159
  /* ─── Trailing slot ───────────────────────────────────── */
3092
3160
 
3093
3161
  .muka-topbar__trailing {
@@ -4994,6 +5062,114 @@ body {
4994
5062
  }
4995
5063
 
4996
5064
 
5065
+ /* SwipeActions */
5066
+ /* SwipeActions Component Styles */
5067
+
5068
+ .muka-swipe-actions {
5069
+ position: relative;
5070
+ overflow: hidden;
5071
+ touch-action: pan-y;
5072
+ -webkit-user-select: none;
5073
+ user-select: none;
5074
+ background-color: var(--color-surface-level3);
5075
+ }
5076
+
5077
+ .muka-swipe-actions--disabled {
5078
+ touch-action: auto;
5079
+ }
5080
+
5081
+ /* ─── Row that holds the actual content ────────────────── */
5082
+
5083
+ .muka-swipe-actions__row {
5084
+ position: relative;
5085
+ z-index: 1;
5086
+ background-color: inherit;
5087
+ will-change: transform;
5088
+ }
5089
+
5090
+ /* ─── Action panels — sit beneath the row ──────────────── */
5091
+
5092
+ .muka-swipe-actions__panel {
5093
+ position: absolute;
5094
+ top: 0;
5095
+ bottom: 0;
5096
+ display: flex;
5097
+ align-items: stretch;
5098
+ z-index: 0;
5099
+ }
5100
+
5101
+ .muka-swipe-actions__panel--left {
5102
+ left: 0;
5103
+ }
5104
+
5105
+ .muka-swipe-actions__panel--right {
5106
+ right: 0;
5107
+ }
5108
+
5109
+ /* ─── Single action button ─────────────────────────────── */
5110
+
5111
+ .muka-swipe-actions__button {
5112
+ display: flex;
5113
+ flex-direction: column;
5114
+ align-items: center;
5115
+ justify-content: center;
5116
+ gap: var(--spacing-1);
5117
+ border: none;
5118
+ cursor: pointer;
5119
+ padding: var(--spacing-2);
5120
+ background-color: var(--color-surface-level2);
5121
+ color: var(--color-text-default-default);
5122
+ font-family: var(--text-label-sm-semibold-fontFamily);
5123
+ font-weight: var(--text-label-sm-semibold-fontWeight);
5124
+ font-size: var(--text-label-sm-semibold-fontSize);
5125
+ line-height: var(--text-label-sm-semibold-lineHeight);
5126
+ -webkit-tap-highlight-color: transparent;
5127
+ transition: filter 0.12s ease;
5128
+ }
5129
+
5130
+ .muka-swipe-actions__button:hover {
5131
+ filter: brightness(0.95);
5132
+ }
5133
+
5134
+ .muka-swipe-actions__button:focus-visible {
5135
+ outline: 2px solid var(--color-action-default);
5136
+ outline-offset: -2px;
5137
+ }
5138
+
5139
+ .muka-swipe-actions__button-icon {
5140
+ display: inline-flex;
5141
+ align-items: center;
5142
+ justify-content: center;
5143
+ }
5144
+
5145
+ /* ─── Color variants ───────────────────────────────────── */
5146
+
5147
+ .muka-swipe-actions__button--neutral {
5148
+ background-color: var(--color-surface-level2);
5149
+ color: var(--color-text-default-default);
5150
+ }
5151
+
5152
+ .muka-swipe-actions__button--primary {
5153
+ background-color: var(--color-action-default);
5154
+ color: var(--color-text-default-inverse);
5155
+ }
5156
+
5157
+ .muka-swipe-actions__button--success {
5158
+ background-color: var(--color-state-success-default);
5159
+ color: var(--color-text-default-inverse);
5160
+ }
5161
+
5162
+ .muka-swipe-actions__button--warning {
5163
+ background-color: var(--color-state-warning-default);
5164
+ color: var(--color-text-default-default);
5165
+ }
5166
+
5167
+ .muka-swipe-actions__button--destructive {
5168
+ background-color: var(--color-state-error-default);
5169
+ color: var(--color-text-default-inverse);
5170
+ }
5171
+
5172
+
4997
5173
  /* Spinner */
4998
5174
  /* Spinner Component Styles */
4999
5175
 
@@ -5157,195 +5333,45 @@ body {
5157
5333
  }
5158
5334
 
5159
5335
 
5160
- /* SocialSignInButton */
5161
- /*
5162
- * SocialSignInButton lockup colors are provider-mandated (Apple HIG /
5163
- * Google Identity branding) and intentionally fixed across Muka brands —
5164
- * same exception pattern as LicensePlateInput regulatory colors.
5165
- *
5166
- * Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
5167
- * Google: https://developers.google.com/identity/branding-guidelines
5168
- */
5169
- .muka-social-sign-in-button {
5170
- --ssi-white: #ffffff;
5171
- --ssi-black: #000000;
5172
- --ssi-google-text-light: #1f1f1f;
5336
+ /* SmsOtpField */
5337
+ /* SmsOtpField Component Styles - Using Muka Design Tokens */
5173
5338
 
5339
+ /* Wrapper */
5340
+ .muka-sms-otp-field {
5174
5341
  display: inline-flex;
5175
- align-items: center;
5176
- justify-content: center;
5177
-
5178
- /* Provider lockup type — matches Figma / HIG, not brand font tokens.
5179
- * SF Pro Text is OS-provided on Apple platforms (not redistributable).
5180
- * Google Sans is not freely shippable; Roboto is the closest system fallback. */
5181
- font-family: inherit;
5182
- font-weight: 600;
5183
- text-decoration: none;
5184
- white-space: nowrap;
5185
-
5186
- border: 1px solid transparent;
5187
- cursor: pointer;
5188
- user-select: none;
5189
- transition: opacity 0.15s ease, filter 0.15s ease;
5190
-
5191
- outline: none;
5192
- position: relative;
5193
- box-sizing: border-box;
5194
- }
5195
-
5196
- .muka-social-sign-in-button--apple {
5197
- font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
5198
- Helvetica, Arial, sans-serif;
5199
- font-weight: 600;
5200
- }
5201
-
5202
- .muka-social-sign-in-button--google {
5203
- font-family: 'Google Sans', Roboto, 'Helvetica Neue', Arial, sans-serif;
5204
- font-weight: 500;
5342
+ flex-direction: column;
5343
+ gap: var(--spacing-2);
5205
5344
  }
5206
5345
 
5207
- .muka-social-sign-in-button:focus-visible {
5208
- outline: 2px solid var(--color-border-focus);
5209
- outline-offset: 2px;
5346
+ /* Label */
5347
+ .muka-sms-otp-field__label {
5348
+ color: var(--color-text-default-default);
5349
+ cursor: pointer;
5210
5350
  }
5211
5351
 
5212
- /* Sizes — heights align with Button md/lg */
5213
- .muka-social-sign-in-button--md {
5214
- padding: 0 var(--button-padding-md-x);
5215
- border-radius: var(--button-radius-md);
5352
+ .muka-sms-otp-field__label--sm {
5353
+ font-family: var(--text-label-sm-semibold-fontFamily);
5354
+ font-weight: var(--text-label-sm-semibold-fontWeight);
5216
5355
  font-size: var(--text-label-sm-semibold-fontSize);
5217
5356
  line-height: var(--text-label-sm-semibold-lineHeight);
5218
- min-height: 40px;
5219
- min-width: 240px;
5220
- }
5221
-
5222
- .muka-social-sign-in-button--md .muka-social-sign-in-button__label {
5223
- padding: 0 var(--button-gap-md);
5224
5357
  }
5225
5358
 
5226
- .muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
5227
- width: var(--button-icon-md);
5228
- height: var(--button-icon-md);
5359
+ .muka-sms-otp-field__label--md {
5360
+ font-family: var(--text-label-md-semibold-fontFamily);
5361
+ font-weight: var(--text-label-md-semibold-fontWeight);
5362
+ font-size: var(--text-label-md-semibold-fontSize);
5363
+ line-height: var(--text-label-md-semibold-lineHeight);
5229
5364
  }
5230
5365
 
5231
- .muka-social-sign-in-button--lg {
5232
- padding: 0 var(--button-padding-lg-x);
5233
- border-radius: var(--button-radius-lg);
5366
+ .muka-sms-otp-field__label--lg {
5367
+ font-family: var(--text-label-lg-semibold-fontFamily);
5368
+ font-weight: var(--text-label-lg-semibold-fontWeight);
5234
5369
  font-size: var(--text-label-lg-semibold-fontSize);
5235
5370
  line-height: var(--text-label-lg-semibold-lineHeight);
5236
- min-height: 48px;
5237
- min-width: 280px;
5238
- }
5239
-
5240
- .muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
5241
- padding: 0 var(--button-gap-lg);
5242
5371
  }
5243
5372
 
5244
- .muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
5245
- width: var(--button-icon-lg);
5246
- height: var(--button-icon-lg);
5247
- }
5248
-
5249
- /* White lockup — for dark surfaces (Apple White with Outline) */
5250
- .muka-social-sign-in-button--white {
5251
- background-color: var(--ssi-white);
5252
- color: var(--ssi-black);
5253
- border-color: var(--ssi-black);
5254
- }
5255
-
5256
- .muka-social-sign-in-button--white.muka-social-sign-in-button--google {
5257
- color: var(--ssi-google-text-light);
5258
- }
5259
-
5260
- /* Black lockup — for light surfaces */
5261
- .muka-social-sign-in-button--black {
5262
- background-color: var(--ssi-black);
5263
- color: var(--ssi-white);
5264
- border-color: transparent;
5265
- }
5266
-
5267
- /* Interaction — luminance/opacity only; no brand tint */
5268
- .muka-social-sign-in-button:hover:not(:disabled) {
5269
- filter: brightness(0.92);
5270
- }
5271
-
5272
- .muka-social-sign-in-button:active:not(:disabled) {
5273
- filter: brightness(0.85);
5274
- }
5275
-
5276
- .muka-social-sign-in-button:disabled,
5277
- .muka-social-sign-in-button--disabled {
5278
- cursor: not-allowed;
5279
- opacity: 0.4;
5280
- pointer-events: none;
5281
- filter: none;
5282
- }
5283
-
5284
- .muka-social-sign-in-button--full-width {
5285
- width: 100%;
5286
- min-width: 0;
5287
- }
5288
-
5289
- .muka-social-sign-in-button__icon {
5290
- display: inline-flex;
5291
- align-items: center;
5292
- justify-content: center;
5293
- flex-shrink: 0;
5294
- }
5295
-
5296
- .muka-social-sign-in-button__icon > *,
5297
- .muka-social-sign-in-button__icon svg {
5298
- width: auto;
5299
- height: 100%;
5300
- max-width: 100%;
5301
- display: block;
5302
- }
5303
-
5304
- .muka-social-sign-in-button__label {
5305
- display: inline-flex;
5306
- align-items: center;
5307
- }
5308
-
5309
-
5310
- /* SmsOtpField */
5311
- /* SmsOtpField Component Styles - Using Muka Design Tokens */
5312
-
5313
- /* Wrapper */
5314
- .muka-sms-otp-field {
5315
- display: inline-flex;
5316
- flex-direction: column;
5317
- gap: var(--spacing-2);
5318
- }
5319
-
5320
- /* Label */
5321
- .muka-sms-otp-field__label {
5322
- color: var(--color-text-default-default);
5323
- cursor: pointer;
5324
- }
5325
-
5326
- .muka-sms-otp-field__label--sm {
5327
- font-family: var(--text-label-sm-semibold-fontFamily);
5328
- font-weight: var(--text-label-sm-semibold-fontWeight);
5329
- font-size: var(--text-label-sm-semibold-fontSize);
5330
- line-height: var(--text-label-sm-semibold-lineHeight);
5331
- }
5332
-
5333
- .muka-sms-otp-field__label--md {
5334
- font-family: var(--text-label-md-semibold-fontFamily);
5335
- font-weight: var(--text-label-md-semibold-fontWeight);
5336
- font-size: var(--text-label-md-semibold-fontSize);
5337
- line-height: var(--text-label-md-semibold-lineHeight);
5338
- }
5339
-
5340
- .muka-sms-otp-field__label--lg {
5341
- font-family: var(--text-label-lg-semibold-fontFamily);
5342
- font-weight: var(--text-label-lg-semibold-fontWeight);
5343
- font-size: var(--text-label-lg-semibold-fontSize);
5344
- line-height: var(--text-label-lg-semibold-lineHeight);
5345
- }
5346
-
5347
- .muka-sms-otp-field__required {
5348
- color: var(--color-state-error-default);
5373
+ .muka-sms-otp-field__required {
5374
+ color: var(--color-state-error-default);
5349
5375
  }
5350
5376
 
5351
5377
  /* Hidden input for browser autofill */
@@ -5574,6 +5600,156 @@ body {
5574
5600
  }
5575
5601
 
5576
5602
 
5603
+ /* SocialSignInButton */
5604
+ /*
5605
+ * SocialSignInButton lockup colors are provider-mandated (Apple HIG /
5606
+ * Google Identity branding) and intentionally fixed across Muka brands —
5607
+ * same exception pattern as LicensePlateInput regulatory colors.
5608
+ *
5609
+ * Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
5610
+ * Google: https://developers.google.com/identity/branding-guidelines
5611
+ */
5612
+ .muka-social-sign-in-button {
5613
+ --ssi-white: #ffffff;
5614
+ --ssi-black: #000000;
5615
+ --ssi-google-text-light: #1f1f1f;
5616
+
5617
+ display: inline-flex;
5618
+ align-items: center;
5619
+ justify-content: center;
5620
+
5621
+ /* Provider lockup type — matches Figma / HIG, not brand font tokens.
5622
+ * SF Pro Text is OS-provided on Apple platforms (not redistributable).
5623
+ * Google Sans is not freely shippable; Roboto is the closest system fallback. */
5624
+ font-family: inherit;
5625
+ font-weight: 600;
5626
+ text-decoration: none;
5627
+ white-space: nowrap;
5628
+
5629
+ border: 1px solid transparent;
5630
+ cursor: pointer;
5631
+ user-select: none;
5632
+ transition: opacity 0.15s ease, filter 0.15s ease;
5633
+
5634
+ outline: none;
5635
+ position: relative;
5636
+ box-sizing: border-box;
5637
+ }
5638
+
5639
+ .muka-social-sign-in-button--apple {
5640
+ font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
5641
+ Helvetica, Arial, sans-serif;
5642
+ font-weight: 600;
5643
+ }
5644
+
5645
+ .muka-social-sign-in-button--google {
5646
+ font-family: 'Google Sans', Roboto, 'Helvetica Neue', Arial, sans-serif;
5647
+ font-weight: 500;
5648
+ }
5649
+
5650
+ .muka-social-sign-in-button:focus-visible {
5651
+ outline: 2px solid var(--color-border-focus);
5652
+ outline-offset: 2px;
5653
+ }
5654
+
5655
+ /* Sizes — heights align with Button md/lg */
5656
+ .muka-social-sign-in-button--md {
5657
+ padding: 0 var(--button-padding-md-x);
5658
+ border-radius: var(--button-radius-md);
5659
+ font-size: var(--text-label-sm-semibold-fontSize);
5660
+ line-height: var(--text-label-sm-semibold-lineHeight);
5661
+ min-height: 40px;
5662
+ min-width: 240px;
5663
+ }
5664
+
5665
+ .muka-social-sign-in-button--md .muka-social-sign-in-button__label {
5666
+ padding: 0 var(--button-gap-md);
5667
+ }
5668
+
5669
+ .muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
5670
+ width: var(--button-icon-md);
5671
+ height: var(--button-icon-md);
5672
+ }
5673
+
5674
+ .muka-social-sign-in-button--lg {
5675
+ padding: 0 var(--button-padding-lg-x);
5676
+ border-radius: var(--button-radius-lg);
5677
+ font-size: var(--text-label-lg-semibold-fontSize);
5678
+ line-height: var(--text-label-lg-semibold-lineHeight);
5679
+ min-height: 48px;
5680
+ min-width: 280px;
5681
+ }
5682
+
5683
+ .muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
5684
+ padding: 0 var(--button-gap-lg);
5685
+ }
5686
+
5687
+ .muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
5688
+ width: var(--button-icon-lg);
5689
+ height: var(--button-icon-lg);
5690
+ }
5691
+
5692
+ /* White lockup — for dark surfaces (Apple White with Outline) */
5693
+ .muka-social-sign-in-button--white {
5694
+ background-color: var(--ssi-white);
5695
+ color: var(--ssi-black);
5696
+ border-color: var(--ssi-black);
5697
+ }
5698
+
5699
+ .muka-social-sign-in-button--white.muka-social-sign-in-button--google {
5700
+ color: var(--ssi-google-text-light);
5701
+ }
5702
+
5703
+ /* Black lockup — for light surfaces */
5704
+ .muka-social-sign-in-button--black {
5705
+ background-color: var(--ssi-black);
5706
+ color: var(--ssi-white);
5707
+ border-color: transparent;
5708
+ }
5709
+
5710
+ /* Interaction — luminance/opacity only; no brand tint */
5711
+ .muka-social-sign-in-button:hover:not(:disabled) {
5712
+ filter: brightness(0.92);
5713
+ }
5714
+
5715
+ .muka-social-sign-in-button:active:not(:disabled) {
5716
+ filter: brightness(0.85);
5717
+ }
5718
+
5719
+ .muka-social-sign-in-button:disabled,
5720
+ .muka-social-sign-in-button--disabled {
5721
+ cursor: not-allowed;
5722
+ opacity: 0.4;
5723
+ pointer-events: none;
5724
+ filter: none;
5725
+ }
5726
+
5727
+ .muka-social-sign-in-button--full-width {
5728
+ width: 100%;
5729
+ min-width: 0;
5730
+ }
5731
+
5732
+ .muka-social-sign-in-button__icon {
5733
+ display: inline-flex;
5734
+ align-items: center;
5735
+ justify-content: center;
5736
+ flex-shrink: 0;
5737
+ }
5738
+
5739
+ .muka-social-sign-in-button__icon > *,
5740
+ .muka-social-sign-in-button__icon svg {
5741
+ width: auto;
5742
+ height: 100%;
5743
+ max-width: 100%;
5744
+ display: block;
5745
+ }
5746
+
5747
+ .muka-social-sign-in-button__label {
5748
+ display: inline-flex;
5749
+ align-items: center;
5750
+ }
5751
+
5752
+
5577
5753
  /* SiteHeader */
5578
5754
  /* SiteHeader Component Styles */
5579
5755
 
@@ -5748,18 +5924,206 @@ body {
5748
5924
  overscroll-behavior: contain;
5749
5925
  }
5750
5926
 
5751
- /* ─── Visually-hidden title (a11y) ────────────────────── */
5927
+ /* ─── Visually-hidden title (a11y) ────────────────────── */
5928
+
5929
+ .muka-sheet__sr-title {
5930
+ position: absolute;
5931
+ width: 1px;
5932
+ height: 1px;
5933
+ padding: 0;
5934
+ margin: -1px;
5935
+ overflow: hidden;
5936
+ clip: rect(0, 0, 0, 0);
5937
+ white-space: nowrap;
5938
+ border: 0;
5939
+ }
5940
+
5941
+
5942
+ /* SegmentGroup */
5943
+ /* SegmentGroup Component Styles - Using Muka Design Tokens */
5944
+
5945
+ /* Container */
5946
+ .muka-segmentgroup {
5947
+ display: inline-flex;
5948
+ align-items: center;
5949
+ gap: 0;
5950
+ padding: var(--segmentgroup-container-padding);
5951
+ background-color: var(--segmentgroup-container-background);
5952
+ border-radius: var(--segmentgroup-container-radius);
5953
+ position: relative;
5954
+ transition: background-color 0.2s ease, box-shadow 0.2s ease;
5955
+ }
5956
+
5957
+ /* Inset shadow on container */
5958
+ .muka-segmentgroup::after {
5959
+ content: '';
5960
+ position: absolute;
5961
+ inset: 0;
5962
+ border-radius: inherit;
5963
+ box-shadow: var(--segmentgroup-container-shadow);
5964
+ pointer-events: none;
5965
+ }
5966
+
5967
+ /* Full width variant */
5968
+ .muka-segmentgroup--full-width {
5969
+ width: 100%;
5970
+ }
5971
+
5972
+ .muka-segmentgroup--full-width .muka-segmentgroup__segment {
5973
+ flex: 1;
5974
+ }
5975
+
5976
+ /* Pill */
5977
+ .muka-segmentgroup__pill {
5978
+ position: absolute;
5979
+ top: var(--segmentgroup-container-padding);
5980
+ bottom: var(--segmentgroup-container-padding);
5981
+ left: 0;
5982
+ margin: 0;
5983
+ background-color: var(--segmentgroup-segment-color-selected-background);
5984
+ box-shadow: var(--segmentgroup-segment-shadow-selected);
5985
+ transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
5986
+ z-index: 0;
5987
+ pointer-events: none;
5988
+ }
5989
+
5990
+ /* Segment button */
5991
+ .muka-segmentgroup__segment {
5992
+ display: inline-flex;
5993
+ align-items: center;
5994
+ justify-content: center;
5995
+ gap: var(--segmentgroup-segment-gap);
5996
+ border: none;
5997
+ background-color: var(--segmentgroup-segment-color-unselected-background);
5998
+ color: var(--segmentgroup-segment-color-unselected-foreground);
5999
+ border-radius: var(--segmentgroup-segment-radius);
6000
+ cursor: pointer;
6001
+ transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
6002
+ position: relative;
6003
+ outline: none;
6004
+ box-shadow: var(--segmentgroup-segment-shadow-unselected);
6005
+ font-family: var(--alias-font-plain-family);
6006
+ font-weight: var(--segmentgroup-segment-fontWeight);
6007
+ z-index: 1; /* Keep above pill */
6008
+ }
6009
+
6010
+ /* Size variants */
6011
+ .muka-segmentgroup--sm {
6012
+ border-radius: var(--border-radius-xl, 16px);
6013
+ }
6014
+ .muka-segmentgroup--sm .muka-segmentgroup__segment,
6015
+ .muka-segmentgroup--sm .muka-segmentgroup__pill {
6016
+ border-radius: var(--border-radius-xl, 16px);
6017
+ }
6018
+ .muka-segmentgroup--sm .muka-segmentgroup__segment {
6019
+ padding: var(--segmentgroup-segment-padding-sm-y) var(--segmentgroup-segment-padding-sm-x);
6020
+ height: var(--segmentgroup-segment-height-sm);
6021
+ font-size: var(--text-label-sm-fontSize);
6022
+ line-height: var(--text-label-sm-lineHeight);
6023
+ }
6024
+
6025
+ .muka-segmentgroup--md {
6026
+ border-radius: var(--border-radius-xl, 16px);
6027
+ }
6028
+ .muka-segmentgroup--md .muka-segmentgroup__segment,
6029
+ .muka-segmentgroup--md .muka-segmentgroup__pill {
6030
+ border-radius: var(--border-radius-xl, 16px);
6031
+ }
6032
+ .muka-segmentgroup--md .muka-segmentgroup__segment {
6033
+ padding: var(--segmentgroup-segment-padding-md-y) var(--segmentgroup-segment-padding-md-x);
6034
+ font-size: var(--text-label-md-fontSize);
6035
+ line-height: var(--text-label-md-lineHeight);
6036
+ }
6037
+
6038
+ .muka-segmentgroup--lg {
6039
+ border-radius: var(--border-radius-full, 9999px);
6040
+ }
6041
+ .muka-segmentgroup--lg .muka-segmentgroup__segment,
6042
+ .muka-segmentgroup--lg .muka-segmentgroup__pill {
6043
+ border-radius: var(--border-radius-full, 9999px);
6044
+ }
6045
+ .muka-segmentgroup--lg .muka-segmentgroup__segment {
6046
+ padding: var(--segmentgroup-segment-padding-lg-y) var(--segmentgroup-segment-padding-lg-x);
6047
+ height: 40px;
6048
+ font-size: var(--text-label-lg-fontSize);
6049
+ line-height: var(--text-label-lg-lineHeight);
6050
+ }
6051
+
6052
+ /* Icon-only variants */
6053
+ .muka-segmentgroup--icon-only {
6054
+ gap: var(--spacing-1, 4px);
6055
+ }
6056
+
6057
+ .muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__segment {
6058
+ width: 24px;
6059
+ height: 24px;
6060
+ padding: 0;
6061
+ }
6062
+ .muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__icon svg {
6063
+ width: 16px;
6064
+ height: 16px;
6065
+ }
6066
+
6067
+ .muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__segment {
6068
+ width: 32px;
6069
+ height: 32px;
6070
+ padding: 0;
6071
+ }
6072
+ .muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__icon svg {
6073
+ width: 20px;
6074
+ height: 20px;
6075
+ }
6076
+
6077
+ .muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__segment {
6078
+ width: 40px;
6079
+ height: 40px;
6080
+ padding: 0;
6081
+ }
6082
+ .muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__icon svg {
6083
+ width: 24px;
6084
+ height: 24px;
6085
+ }
6086
+
6087
+ /* Icon */
6088
+ .muka-segmentgroup__icon {
6089
+ display: inline-flex;
6090
+ align-items: center;
6091
+ justify-content: center;
6092
+ }
6093
+
6094
+ /* Selected state */
6095
+ .muka-segmentgroup__segment--selected {
6096
+ background-color: transparent;
6097
+ box-shadow: none;
6098
+ color: var(--segmentgroup-segment-color-selected-foreground);
6099
+ z-index: 2; /* Highlight pill when focused is tested below */
6100
+ }
6101
+
6102
+ /* Hover state (only for unselected) */
6103
+ .muka-segmentgroup__segment:not(.muka-segmentgroup__segment--selected):not(:disabled):hover {
6104
+ color: var(--segmentgroup-segment-color-hover-foreground);
6105
+ }
6106
+
6107
+ /* Focus visible */
6108
+ .muka-segmentgroup__segment:focus-visible {
6109
+ outline: 2px solid var(--color-border-focus);
6110
+ outline-offset: 2px;
6111
+ z-index: 2;
6112
+ }
6113
+
6114
+ /* Disabled state */
6115
+ .muka-segmentgroup__segment--disabled,
6116
+ .muka-segmentgroup__segment:disabled {
6117
+ cursor: not-allowed;
6118
+ opacity: 0.5;
6119
+ }
5752
6120
 
5753
- .muka-sheet__sr-title {
5754
- position: absolute;
5755
- width: 1px;
5756
- height: 1px;
5757
- padding: 0;
5758
- margin: -1px;
5759
- overflow: hidden;
5760
- clip: rect(0, 0, 0, 0);
6121
+ /* Label */
6122
+ .muka-segmentgroup__label {
6123
+ display: inline-flex;
6124
+ align-items: center;
5761
6125
  white-space: nowrap;
5762
- border: 0;
6126
+ user-select: none;
5763
6127
  }
5764
6128
 
5765
6129
 
@@ -5957,194 +6321,6 @@ body {
5957
6321
  }
5958
6322
 
5959
6323
 
5960
- /* SegmentGroup */
5961
- /* SegmentGroup Component Styles - Using Muka Design Tokens */
5962
-
5963
- /* Container */
5964
- .muka-segmentgroup {
5965
- display: inline-flex;
5966
- align-items: center;
5967
- gap: 0;
5968
- padding: var(--segmentgroup-container-padding);
5969
- background-color: var(--segmentgroup-container-background);
5970
- border-radius: var(--segmentgroup-container-radius);
5971
- position: relative;
5972
- transition: background-color 0.2s ease, box-shadow 0.2s ease;
5973
- }
5974
-
5975
- /* Inset shadow on container */
5976
- .muka-segmentgroup::after {
5977
- content: '';
5978
- position: absolute;
5979
- inset: 0;
5980
- border-radius: inherit;
5981
- box-shadow: var(--segmentgroup-container-shadow);
5982
- pointer-events: none;
5983
- }
5984
-
5985
- /* Full width variant */
5986
- .muka-segmentgroup--full-width {
5987
- width: 100%;
5988
- }
5989
-
5990
- .muka-segmentgroup--full-width .muka-segmentgroup__segment {
5991
- flex: 1;
5992
- }
5993
-
5994
- /* Pill */
5995
- .muka-segmentgroup__pill {
5996
- position: absolute;
5997
- top: var(--segmentgroup-container-padding);
5998
- bottom: var(--segmentgroup-container-padding);
5999
- left: 0;
6000
- margin: 0;
6001
- background-color: var(--segmentgroup-segment-color-selected-background);
6002
- box-shadow: var(--segmentgroup-segment-shadow-selected);
6003
- transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
6004
- z-index: 0;
6005
- pointer-events: none;
6006
- }
6007
-
6008
- /* Segment button */
6009
- .muka-segmentgroup__segment {
6010
- display: inline-flex;
6011
- align-items: center;
6012
- justify-content: center;
6013
- gap: var(--segmentgroup-segment-gap);
6014
- border: none;
6015
- background-color: var(--segmentgroup-segment-color-unselected-background);
6016
- color: var(--segmentgroup-segment-color-unselected-foreground);
6017
- border-radius: var(--segmentgroup-segment-radius);
6018
- cursor: pointer;
6019
- transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
6020
- position: relative;
6021
- outline: none;
6022
- box-shadow: var(--segmentgroup-segment-shadow-unselected);
6023
- font-family: var(--alias-font-plain-family);
6024
- font-weight: var(--segmentgroup-segment-fontWeight);
6025
- z-index: 1; /* Keep above pill */
6026
- }
6027
-
6028
- /* Size variants */
6029
- .muka-segmentgroup--sm {
6030
- border-radius: var(--border-radius-xl, 16px);
6031
- }
6032
- .muka-segmentgroup--sm .muka-segmentgroup__segment,
6033
- .muka-segmentgroup--sm .muka-segmentgroup__pill {
6034
- border-radius: var(--border-radius-xl, 16px);
6035
- }
6036
- .muka-segmentgroup--sm .muka-segmentgroup__segment {
6037
- padding: var(--segmentgroup-segment-padding-sm-y) var(--segmentgroup-segment-padding-sm-x);
6038
- height: var(--segmentgroup-segment-height-sm);
6039
- font-size: var(--text-label-sm-fontSize);
6040
- line-height: var(--text-label-sm-lineHeight);
6041
- }
6042
-
6043
- .muka-segmentgroup--md {
6044
- border-radius: var(--border-radius-xl, 16px);
6045
- }
6046
- .muka-segmentgroup--md .muka-segmentgroup__segment,
6047
- .muka-segmentgroup--md .muka-segmentgroup__pill {
6048
- border-radius: var(--border-radius-xl, 16px);
6049
- }
6050
- .muka-segmentgroup--md .muka-segmentgroup__segment {
6051
- padding: var(--segmentgroup-segment-padding-md-y) var(--segmentgroup-segment-padding-md-x);
6052
- font-size: var(--text-label-md-fontSize);
6053
- line-height: var(--text-label-md-lineHeight);
6054
- }
6055
-
6056
- .muka-segmentgroup--lg {
6057
- border-radius: var(--border-radius-full, 9999px);
6058
- }
6059
- .muka-segmentgroup--lg .muka-segmentgroup__segment,
6060
- .muka-segmentgroup--lg .muka-segmentgroup__pill {
6061
- border-radius: var(--border-radius-full, 9999px);
6062
- }
6063
- .muka-segmentgroup--lg .muka-segmentgroup__segment {
6064
- padding: var(--segmentgroup-segment-padding-lg-y) var(--segmentgroup-segment-padding-lg-x);
6065
- height: 40px;
6066
- font-size: var(--text-label-lg-fontSize);
6067
- line-height: var(--text-label-lg-lineHeight);
6068
- }
6069
-
6070
- /* Icon-only variants */
6071
- .muka-segmentgroup--icon-only {
6072
- gap: var(--spacing-1, 4px);
6073
- }
6074
-
6075
- .muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__segment {
6076
- width: 24px;
6077
- height: 24px;
6078
- padding: 0;
6079
- }
6080
- .muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__icon svg {
6081
- width: 16px;
6082
- height: 16px;
6083
- }
6084
-
6085
- .muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__segment {
6086
- width: 32px;
6087
- height: 32px;
6088
- padding: 0;
6089
- }
6090
- .muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__icon svg {
6091
- width: 20px;
6092
- height: 20px;
6093
- }
6094
-
6095
- .muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__segment {
6096
- width: 40px;
6097
- height: 40px;
6098
- padding: 0;
6099
- }
6100
- .muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__icon svg {
6101
- width: 24px;
6102
- height: 24px;
6103
- }
6104
-
6105
- /* Icon */
6106
- .muka-segmentgroup__icon {
6107
- display: inline-flex;
6108
- align-items: center;
6109
- justify-content: center;
6110
- }
6111
-
6112
- /* Selected state */
6113
- .muka-segmentgroup__segment--selected {
6114
- background-color: transparent;
6115
- box-shadow: none;
6116
- color: var(--segmentgroup-segment-color-selected-foreground);
6117
- z-index: 2; /* Highlight pill when focused is tested below */
6118
- }
6119
-
6120
- /* Hover state (only for unselected) */
6121
- .muka-segmentgroup__segment:not(.muka-segmentgroup__segment--selected):not(:disabled):hover {
6122
- color: var(--segmentgroup-segment-color-hover-foreground);
6123
- }
6124
-
6125
- /* Focus visible */
6126
- .muka-segmentgroup__segment:focus-visible {
6127
- outline: 2px solid var(--color-border-focus);
6128
- outline-offset: 2px;
6129
- z-index: 2;
6130
- }
6131
-
6132
- /* Disabled state */
6133
- .muka-segmentgroup__segment--disabled,
6134
- .muka-segmentgroup__segment:disabled {
6135
- cursor: not-allowed;
6136
- opacity: 0.5;
6137
- }
6138
-
6139
- /* Label */
6140
- .muka-segmentgroup__label {
6141
- display: inline-flex;
6142
- align-items: center;
6143
- white-space: nowrap;
6144
- user-select: none;
6145
- }
6146
-
6147
-
6148
6324
  /* Section */
6149
6325
  /* Section Component - Layout tokens (section.padding) */
6150
6326
 
@@ -7006,61 +7182,14 @@ body {
7006
7182
  }
7007
7183
 
7008
7184
  .muka-radio--lg .muka-radio__label {
7009
- font-family: var(--text-label-xl-regular-fontFamily);
7010
- font-weight: var(--text-label-xl-regular-fontWeight);
7011
- font-size: var(--text-label-xl-regular-fontSize);
7012
- line-height: var(--text-label-xl-regular-lineHeight);
7013
- }
7014
-
7015
- .muka-radio--disabled .muka-radio__label {
7016
- color: var(--color-text-subtle-default);
7017
- }
7018
-
7019
-
7020
- /* PullToRefresh */
7021
- /* PullToRefresh Component Styles */
7022
-
7023
- .muka-pull-to-refresh {
7024
- position: relative;
7025
- display: flex;
7026
- flex-direction: column;
7027
- width: 100%;
7028
- height: 100%;
7029
- overflow: hidden;
7030
- }
7031
-
7032
- .muka-pull-to-refresh__indicator {
7033
- position: absolute;
7034
- top: 0;
7035
- left: 0;
7036
- right: 0;
7037
- display: flex;
7038
- align-items: flex-end;
7039
- justify-content: center;
7040
- padding-bottom: var(--spacing-2);
7041
- color: var(--color-text-subtle-default);
7042
- overflow: hidden;
7043
- pointer-events: none;
7044
- z-index: 1;
7045
- }
7046
-
7047
- .muka-pull-to-refresh__chevron {
7048
- display: inline-flex;
7049
- align-items: center;
7050
- justify-content: center;
7051
- transition: transform 0.16s ease;
7185
+ font-family: var(--text-label-xl-regular-fontFamily);
7186
+ font-weight: var(--text-label-xl-regular-fontWeight);
7187
+ font-size: var(--text-label-xl-regular-fontSize);
7188
+ line-height: var(--text-label-xl-regular-lineHeight);
7052
7189
  }
7053
7190
 
7054
- .muka-pull-to-refresh__scroller {
7055
- flex: 1 1 auto;
7056
- min-height: 0;
7057
- width: 100%;
7058
- overflow-x: clip;
7059
- overflow-y: auto;
7060
- -webkit-overflow-scrolling: touch;
7061
- overscroll-behavior-y: contain;
7062
- touch-action: pan-y;
7063
- will-change: transform;
7191
+ .muka-radio--disabled .muka-radio__label {
7192
+ color: var(--color-text-subtle-default);
7064
7193
  }
7065
7194
 
7066
7195
 
@@ -7886,6 +8015,53 @@ button.muka-progress-tracker__tab:focus-visible {
7886
8015
  }
7887
8016
 
7888
8017
 
8018
+ /* PullToRefresh */
8019
+ /* PullToRefresh Component Styles */
8020
+
8021
+ .muka-pull-to-refresh {
8022
+ position: relative;
8023
+ display: flex;
8024
+ flex-direction: column;
8025
+ width: 100%;
8026
+ height: 100%;
8027
+ overflow: hidden;
8028
+ }
8029
+
8030
+ .muka-pull-to-refresh__indicator {
8031
+ position: absolute;
8032
+ top: 0;
8033
+ left: 0;
8034
+ right: 0;
8035
+ display: flex;
8036
+ align-items: flex-end;
8037
+ justify-content: center;
8038
+ padding-bottom: var(--spacing-2);
8039
+ color: var(--color-text-subtle-default);
8040
+ overflow: hidden;
8041
+ pointer-events: none;
8042
+ z-index: 1;
8043
+ }
8044
+
8045
+ .muka-pull-to-refresh__chevron {
8046
+ display: inline-flex;
8047
+ align-items: center;
8048
+ justify-content: center;
8049
+ transition: transform 0.16s ease;
8050
+ }
8051
+
8052
+ .muka-pull-to-refresh__scroller {
8053
+ flex: 1 1 auto;
8054
+ min-height: 0;
8055
+ width: 100%;
8056
+ overflow-x: clip;
8057
+ overflow-y: auto;
8058
+ -webkit-overflow-scrolling: touch;
8059
+ overscroll-behavior-y: contain;
8060
+ touch-action: pan-y;
8061
+ will-change: transform;
8062
+ }
8063
+
8064
+
7889
8065
  /* Progress */
7890
8066
  /* Progress Component Styles - Using Muka Design Tokens */
7891
8067
 
@@ -9383,6 +9559,24 @@ button.muka-progress-tracker__tab:focus-visible {
9383
9559
  white-space: nowrap;
9384
9560
  }
9385
9561
 
9562
+ /* A second line under the label (description): label above, subdued below. */
9563
+ .muka-menu__item--has-description .muka-menu__item-label {
9564
+ display: flex;
9565
+ flex-direction: column;
9566
+ overflow: hidden;
9567
+ }
9568
+
9569
+ .muka-menu__item-description {
9570
+ overflow: hidden;
9571
+ text-overflow: ellipsis;
9572
+ white-space: nowrap;
9573
+ font-family: var(--text-body-sm-regular-fontFamily);
9574
+ font-weight: var(--text-body-sm-regular-fontWeight);
9575
+ font-size: var(--text-body-sm-regular-fontSize);
9576
+ line-height: var(--text-body-sm-regular-lineHeight);
9577
+ color: var(--color-text-subtle-default);
9578
+ }
9579
+
9386
9580
  /* Shortcut trailers replace icons and sit with an 8px right inset. */
9387
9581
  .muka-menu__item--has-shortcut {
9388
9582
  padding-right: var(--spacing-2);
@@ -10909,259 +11103,118 @@ li.muka-listitem {
10909
11103
  flex-direction: column;
10910
11104
  gap: var(--spacing-2);
10911
11105
  list-style: none;
10912
- margin: 0;
10913
- padding: 0;
10914
- }
10915
-
10916
- .muka-fileupload__list li {
10917
- margin: 0;
10918
- padding: 0;
10919
- }
10920
-
10921
- /* File item */
10922
- .muka-fileupload-item {
10923
- display: flex;
10924
- align-items: center;
10925
- gap: var(--fileupload-item-gap);
10926
- padding: var(--fileupload-item-padding-y) var(--fileupload-item-padding-x);
10927
- background-color: var(--fileupload-item-color-default-background);
10928
- border-radius: var(--fileupload-item-radius);
10929
- }
10930
-
10931
- .muka-fileupload-item--error {
10932
- background-color: var(--fileupload-item-color-error-background);
10933
- }
10934
-
10935
- .muka-fileupload-item--success {
10936
- background-color: var(--fileupload-item-color-default-background);
10937
- }
10938
-
10939
- /* Preview/Icon container */
10940
- .muka-fileupload-item__preview {
10941
- display: flex;
10942
- align-items: center;
10943
- justify-content: center;
10944
- flex-shrink: 0;
10945
- width: var(--fileupload-preview-size);
10946
- height: var(--fileupload-preview-size);
10947
- border-radius: var(--fileupload-preview-radius);
10948
- overflow: hidden;
10949
- background-color: var(--color-surface-level1);
10950
- }
10951
-
10952
- .muka-fileupload-item__thumbnail {
10953
- width: 100%;
10954
- height: 100%;
10955
- object-fit: cover;
10956
- }
10957
-
10958
- .muka-fileupload-item__icon {
10959
- color: var(--color-text-subtle-default);
10960
- }
10961
-
10962
- /* File info */
10963
- .muka-fileupload-item__info {
10964
- flex: 1;
10965
- min-width: 0;
10966
- display: flex;
10967
- flex-direction: column;
10968
- gap: var(--spacing-1);
10969
- }
10970
-
10971
- .muka-fileupload-item__name {
10972
- font-family: var(--text-body-sm-regular-fontFamily);
10973
- font-size: var(--text-body-sm-regular-fontSize);
10974
- font-weight: var(--text-body-sm-regular-fontWeight);
10975
- line-height: var(--text-body-sm-regular-lineHeight);
10976
- color: var(--fileupload-item-color-default-foreground);
10977
- white-space: nowrap;
10978
- overflow: hidden;
10979
- text-overflow: ellipsis;
10980
- }
10981
-
10982
- .muka-fileupload-item--error .muka-fileupload-item__name {
10983
- color: var(--fileupload-item-color-error-foreground);
10984
- }
10985
-
10986
- .muka-fileupload-item__meta {
10987
- font-family: var(--text-label-sm-regular-fontFamily);
10988
- font-size: var(--text-label-sm-regular-fontSize);
10989
- font-weight: var(--text-label-sm-regular-fontWeight);
10990
- line-height: var(--text-label-sm-regular-lineHeight);
10991
- color: var(--color-text-subtle-default);
10992
- }
10993
-
10994
- .muka-fileupload-item__error {
10995
- color: var(--fileupload-item-color-error-foreground);
10996
- }
10997
-
10998
- .muka-fileupload-item__progress {
10999
- margin-top: var(--spacing-1);
11000
- }
11001
-
11002
- /* Actions */
11003
- .muka-fileupload-item__actions {
11004
- display: flex;
11005
- align-items: center;
11006
- gap: var(--spacing-2);
11007
- flex-shrink: 0;
11008
- }
11009
-
11010
- .muka-fileupload-item__status-icon--success {
11011
- color: var(--fileupload-item-color-success-foreground);
11012
- }
11013
-
11014
- .muka-fileupload-item__status-icon--error {
11015
- color: var(--fileupload-item-color-error-foreground);
11016
- }
11017
-
11018
- .muka-fileupload-item__remove {
11019
- opacity: 0.7;
11020
- }
11021
-
11022
- .muka-fileupload-item__remove:hover {
11023
- opacity: 1;
11024
- }
11025
-
11026
-
11027
- /* FAB */
11028
- /* FAB (Floating Action Button) Component Styles */
11029
-
11030
- .muka-fab {
11031
- position: fixed;
11032
- z-index: 40;
11033
-
11034
- display: inline-flex;
11035
- align-items: center;
11036
- justify-content: center;
11037
- gap: var(--spacing-2);
11038
-
11039
- border: none;
11040
- cursor: pointer;
11041
- font-family: inherit;
11042
- box-shadow: var(--shadow-level4);
11043
-
11044
- transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
11045
- -webkit-tap-highlight-color: transparent;
11046
- }
11047
-
11048
- .muka-fab:active {
11049
- transform: scale(0.96);
11050
- box-shadow: var(--shadow-level3);
11051
- }
11052
-
11053
- .muka-fab:focus-visible {
11054
- outline: 2px solid var(--color-action-default);
11055
- outline-offset: 2px;
11056
- }
11057
-
11058
- .muka-fab:disabled {
11059
- opacity: 0.5;
11060
- cursor: not-allowed;
11061
- box-shadow: none;
11062
- }
11063
-
11064
- /* ─── Variants ────────────────────────────────────────── */
11065
-
11066
- .muka-fab--primary {
11067
- background-color: var(--color-action-default);
11068
- color: var(--color-text-default-inverse);
11069
- }
11070
-
11071
- .muka-fab--primary:hover:not(:disabled) {
11072
- background-color: var(--color-action-hover);
11073
- }
11074
-
11075
- .muka-fab--secondary {
11076
- background-color: var(--color-surface-level3);
11077
- color: var(--color-text-default-default);
11078
- }
11079
-
11080
- .muka-fab--secondary:hover:not(:disabled) {
11081
- background-color: var(--color-surface-level2);
11082
- }
11083
-
11084
- /* ─── Sizes (circular by default) ─────────────────────── */
11085
-
11086
- .muka-fab--md {
11087
- width: 56px;
11088
- height: 56px;
11089
- border-radius: 50%;
11106
+ margin: 0;
11107
+ padding: 0;
11090
11108
  }
11091
11109
 
11092
- .muka-fab--lg {
11093
- width: 64px;
11094
- height: 64px;
11095
- border-radius: 50%;
11110
+ .muka-fileupload__list li {
11111
+ margin: 0;
11112
+ padding: 0;
11096
11113
  }
11097
11114
 
11098
- /* ─── Extended (pill shape with label) ────────────────── */
11115
+ /* File item */
11116
+ .muka-fileupload-item {
11117
+ display: flex;
11118
+ align-items: center;
11119
+ gap: var(--fileupload-item-gap);
11120
+ padding: var(--fileupload-item-padding-y) var(--fileupload-item-padding-x);
11121
+ background-color: var(--fileupload-item-color-default-background);
11122
+ border-radius: var(--fileupload-item-radius);
11123
+ }
11099
11124
 
11100
- .muka-fab--extended {
11101
- width: auto;
11102
- height: auto;
11103
- padding: var(--spacing-3) var(--spacing-4);
11104
- border-radius: var(--radius-full);
11125
+ .muka-fileupload-item--error {
11126
+ background-color: var(--fileupload-item-color-error-background);
11105
11127
  }
11106
11128
 
11107
- .muka-fab--extended.muka-fab--lg {
11108
- padding: var(--spacing-4) var(--spacing-5);
11129
+ .muka-fileupload-item--success {
11130
+ background-color: var(--fileupload-item-color-default-background);
11109
11131
  }
11110
11132
 
11111
- .muka-fab__icon {
11112
- display: inline-flex;
11133
+ /* Preview/Icon container */
11134
+ .muka-fileupload-item__preview {
11135
+ display: flex;
11113
11136
  align-items: center;
11114
11137
  justify-content: center;
11115
- width: 24px;
11116
- height: 24px;
11138
+ flex-shrink: 0;
11139
+ width: var(--fileupload-preview-size);
11140
+ height: var(--fileupload-preview-size);
11141
+ border-radius: var(--fileupload-preview-radius);
11142
+ overflow: hidden;
11143
+ background-color: var(--color-surface-level1);
11117
11144
  }
11118
11145
 
11119
- .muka-fab__icon svg {
11146
+ .muka-fileupload-item__thumbnail {
11120
11147
  width: 100%;
11121
11148
  height: 100%;
11149
+ object-fit: cover;
11122
11150
  }
11123
11151
 
11124
- .muka-fab__label {
11125
- font-family: var(--text-label-md-semibold-fontFamily);
11126
- font-weight: var(--text-label-md-semibold-fontWeight);
11127
- font-size: var(--text-label-md-semibold-fontSize);
11128
- line-height: var(--text-label-md-semibold-lineHeight);
11152
+ .muka-fileupload-item__icon {
11153
+ color: var(--color-text-subtle-default);
11129
11154
  }
11130
11155
 
11131
- /* ─── Positioning ─────────────────────────────────────── */
11156
+ /* File info */
11157
+ .muka-fileupload-item__info {
11158
+ flex: 1;
11159
+ min-width: 0;
11160
+ display: flex;
11161
+ flex-direction: column;
11162
+ gap: var(--spacing-1);
11163
+ }
11132
11164
 
11133
- .muka-fab--bottom-right {
11134
- right: var(--spacing-4);
11135
- bottom: var(--spacing-4);
11165
+ .muka-fileupload-item__name {
11166
+ font-family: var(--text-body-sm-regular-fontFamily);
11167
+ font-size: var(--text-body-sm-regular-fontSize);
11168
+ font-weight: var(--text-body-sm-regular-fontWeight);
11169
+ line-height: var(--text-body-sm-regular-lineHeight);
11170
+ color: var(--fileupload-item-color-default-foreground);
11171
+ white-space: nowrap;
11172
+ overflow: hidden;
11173
+ text-overflow: ellipsis;
11136
11174
  }
11137
11175
 
11138
- .muka-fab--bottom-left {
11139
- left: var(--spacing-4);
11140
- bottom: var(--spacing-4);
11176
+ .muka-fileupload-item--error .muka-fileupload-item__name {
11177
+ color: var(--fileupload-item-color-error-foreground);
11141
11178
  }
11142
11179
 
11143
- .muka-fab--bottom-center {
11144
- left: 50%;
11145
- bottom: var(--spacing-4);
11146
- transform: translateX(-50%);
11180
+ .muka-fileupload-item__meta {
11181
+ font-family: var(--text-label-sm-regular-fontFamily);
11182
+ font-size: var(--text-label-sm-regular-fontSize);
11183
+ font-weight: var(--text-label-sm-regular-fontWeight);
11184
+ line-height: var(--text-label-sm-regular-lineHeight);
11185
+ color: var(--color-text-subtle-default);
11147
11186
  }
11148
11187
 
11149
- .muka-fab--bottom-center:active {
11150
- transform: translateX(-50%) scale(0.96);
11188
+ .muka-fileupload-item__error {
11189
+ color: var(--fileupload-item-color-error-foreground);
11151
11190
  }
11152
11191
 
11153
- /* Add the iOS home-indicator inset to the bottom offset. */
11154
- .muka-fab:not(.muka-fab--no-safe-area) {
11155
- bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom));
11192
+ .muka-fileupload-item__progress {
11193
+ margin-top: var(--spacing-1);
11156
11194
  }
11157
11195
 
11158
- /* Lateral safe-area for landscape iPhone with notch. */
11159
- .muka-fab--bottom-right:not(.muka-fab--no-safe-area) {
11160
- right: max(var(--spacing-4), env(safe-area-inset-right));
11196
+ /* Actions */
11197
+ .muka-fileupload-item__actions {
11198
+ display: flex;
11199
+ align-items: center;
11200
+ gap: var(--spacing-2);
11201
+ flex-shrink: 0;
11161
11202
  }
11162
11203
 
11163
- .muka-fab--bottom-left:not(.muka-fab--no-safe-area) {
11164
- left: max(var(--spacing-4), env(safe-area-inset-left));
11204
+ .muka-fileupload-item__status-icon--success {
11205
+ color: var(--fileupload-item-color-success-foreground);
11206
+ }
11207
+
11208
+ .muka-fileupload-item__status-icon--error {
11209
+ color: var(--fileupload-item-color-error-foreground);
11210
+ }
11211
+
11212
+ .muka-fileupload-item__remove {
11213
+ opacity: 0.7;
11214
+ }
11215
+
11216
+ .muka-fileupload-item__remove:hover {
11217
+ opacity: 1;
11165
11218
  }
11166
11219
 
11167
11220
 
@@ -11551,8 +11604,149 @@ li.muka-listitem {
11551
11604
  line-height: var(--text-label-sm-regular-lineHeight);
11552
11605
  }
11553
11606
 
11554
- .muka-dropdown-select__menu {
11555
- /* Uses Menu min-width (280px); grows with long labels; left-aligned to the field. */
11607
+ .muka-dropdown-select__menu {
11608
+ /* Uses Menu min-width (280px); grows with long labels; left-aligned to the field. */
11609
+ }
11610
+
11611
+
11612
+ /* FAB */
11613
+ /* FAB (Floating Action Button) Component Styles */
11614
+
11615
+ .muka-fab {
11616
+ position: fixed;
11617
+ z-index: 40;
11618
+
11619
+ display: inline-flex;
11620
+ align-items: center;
11621
+ justify-content: center;
11622
+ gap: var(--spacing-2);
11623
+
11624
+ border: none;
11625
+ cursor: pointer;
11626
+ font-family: inherit;
11627
+ box-shadow: var(--shadow-level4);
11628
+
11629
+ transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
11630
+ -webkit-tap-highlight-color: transparent;
11631
+ }
11632
+
11633
+ .muka-fab:active {
11634
+ transform: scale(0.96);
11635
+ box-shadow: var(--shadow-level3);
11636
+ }
11637
+
11638
+ .muka-fab:focus-visible {
11639
+ outline: 2px solid var(--color-action-default);
11640
+ outline-offset: 2px;
11641
+ }
11642
+
11643
+ .muka-fab:disabled {
11644
+ opacity: 0.5;
11645
+ cursor: not-allowed;
11646
+ box-shadow: none;
11647
+ }
11648
+
11649
+ /* ─── Variants ────────────────────────────────────────── */
11650
+
11651
+ .muka-fab--primary {
11652
+ background-color: var(--color-action-default);
11653
+ color: var(--color-text-default-inverse);
11654
+ }
11655
+
11656
+ .muka-fab--primary:hover:not(:disabled) {
11657
+ background-color: var(--color-action-hover);
11658
+ }
11659
+
11660
+ .muka-fab--secondary {
11661
+ background-color: var(--color-surface-level3);
11662
+ color: var(--color-text-default-default);
11663
+ }
11664
+
11665
+ .muka-fab--secondary:hover:not(:disabled) {
11666
+ background-color: var(--color-surface-level2);
11667
+ }
11668
+
11669
+ /* ─── Sizes (circular by default) ─────────────────────── */
11670
+
11671
+ .muka-fab--md {
11672
+ width: 56px;
11673
+ height: 56px;
11674
+ border-radius: 50%;
11675
+ }
11676
+
11677
+ .muka-fab--lg {
11678
+ width: 64px;
11679
+ height: 64px;
11680
+ border-radius: 50%;
11681
+ }
11682
+
11683
+ /* ─── Extended (pill shape with label) ────────────────── */
11684
+
11685
+ .muka-fab--extended {
11686
+ width: auto;
11687
+ height: auto;
11688
+ padding: var(--spacing-3) var(--spacing-4);
11689
+ border-radius: var(--radius-full);
11690
+ }
11691
+
11692
+ .muka-fab--extended.muka-fab--lg {
11693
+ padding: var(--spacing-4) var(--spacing-5);
11694
+ }
11695
+
11696
+ .muka-fab__icon {
11697
+ display: inline-flex;
11698
+ align-items: center;
11699
+ justify-content: center;
11700
+ width: 24px;
11701
+ height: 24px;
11702
+ }
11703
+
11704
+ .muka-fab__icon svg {
11705
+ width: 100%;
11706
+ height: 100%;
11707
+ }
11708
+
11709
+ .muka-fab__label {
11710
+ font-family: var(--text-label-md-semibold-fontFamily);
11711
+ font-weight: var(--text-label-md-semibold-fontWeight);
11712
+ font-size: var(--text-label-md-semibold-fontSize);
11713
+ line-height: var(--text-label-md-semibold-lineHeight);
11714
+ }
11715
+
11716
+ /* ─── Positioning ─────────────────────────────────────── */
11717
+
11718
+ .muka-fab--bottom-right {
11719
+ right: var(--spacing-4);
11720
+ bottom: var(--spacing-4);
11721
+ }
11722
+
11723
+ .muka-fab--bottom-left {
11724
+ left: var(--spacing-4);
11725
+ bottom: var(--spacing-4);
11726
+ }
11727
+
11728
+ .muka-fab--bottom-center {
11729
+ left: 50%;
11730
+ bottom: var(--spacing-4);
11731
+ transform: translateX(-50%);
11732
+ }
11733
+
11734
+ .muka-fab--bottom-center:active {
11735
+ transform: translateX(-50%) scale(0.96);
11736
+ }
11737
+
11738
+ /* Add the iOS home-indicator inset to the bottom offset. */
11739
+ .muka-fab:not(.muka-fab--no-safe-area) {
11740
+ bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom));
11741
+ }
11742
+
11743
+ /* Lateral safe-area for landscape iPhone with notch. */
11744
+ .muka-fab--bottom-right:not(.muka-fab--no-safe-area) {
11745
+ right: max(var(--spacing-4), env(safe-area-inset-right));
11746
+ }
11747
+
11748
+ .muka-fab--bottom-left:not(.muka-fab--no-safe-area) {
11749
+ left: max(var(--spacing-4), env(safe-area-inset-left));
11556
11750
  }
11557
11751
 
11558
11752
 
@@ -14203,74 +14397,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
14203
14397
  }
14204
14398
 
14205
14399
 
14206
- /* ChatMessageStack */
14207
- /* ChatMessageStack Component Styles */
14208
-
14209
- .muka-chat-message-stack {
14210
- display: flex;
14211
- flex-direction: column;
14212
- gap: var(--chatbubble-stack-gap);
14213
- width: 100%;
14214
- max-width: 100%;
14215
- }
14216
-
14217
- .muka-chat-message-stack__messages {
14218
- display: flex;
14219
- flex-direction: column;
14220
- gap: var(--chatbubble-stack-gap);
14221
- width: 100%;
14222
- }
14223
-
14224
- /*
14225
- * Reasoning sits above the stack, indented past the avatar rail so it lines up
14226
- * with the bubbles rather than with the avatar (Figma 5379:47300).
14227
- */
14228
- .muka-chat-message-stack__reasoning {
14229
- min-width: 0;
14230
- }
14231
-
14232
- /* In-thread widgets after the messages share the reasoning's indent. */
14233
- .muka-chat-message-stack__widgets {
14234
- display: flex;
14235
- flex-direction: column;
14236
- gap: var(--chatbubble-stack-gap);
14237
- min-width: 0;
14238
- }
14239
-
14240
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14241
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14242
- padding-left: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14243
- }
14244
-
14245
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14246
- .muka-chat-message-stack__widgets,
14247
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14248
- .muka-chat-message-stack__reasoning {
14249
- padding-left: 0;
14250
- padding-right: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14251
- }
14252
-
14253
- /* Follow the message's compact rail and gap below the desktop breakpoint */
14254
- @media (max-width: 1023px) {
14255
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14256
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14257
- padding-left: calc(
14258
- var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14259
- );
14260
- }
14261
-
14262
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14263
- .muka-chat-message-stack__widgets,
14264
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14265
- .muka-chat-message-stack__reasoning {
14266
- padding-left: 0;
14267
- padding-right: calc(
14268
- var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14269
- );
14270
- }
14271
- }
14272
-
14273
-
14274
14400
  /* ChatMessageList */
14275
14401
  /* ChatMessageList Component Styles */
14276
14402
 
@@ -14645,6 +14771,74 @@ button.muka-chat-photo-grid__tile:focus-visible {
14645
14771
  }
14646
14772
 
14647
14773
 
14774
+ /* ChatMessageStack */
14775
+ /* ChatMessageStack Component Styles */
14776
+
14777
+ .muka-chat-message-stack {
14778
+ display: flex;
14779
+ flex-direction: column;
14780
+ gap: var(--chatbubble-stack-gap);
14781
+ width: 100%;
14782
+ max-width: 100%;
14783
+ }
14784
+
14785
+ .muka-chat-message-stack__messages {
14786
+ display: flex;
14787
+ flex-direction: column;
14788
+ gap: var(--chatbubble-stack-gap);
14789
+ width: 100%;
14790
+ }
14791
+
14792
+ /*
14793
+ * Reasoning sits above the stack, indented past the avatar rail so it lines up
14794
+ * with the bubbles rather than with the avatar (Figma 5379:47300).
14795
+ */
14796
+ .muka-chat-message-stack__reasoning {
14797
+ min-width: 0;
14798
+ }
14799
+
14800
+ /* In-thread widgets after the messages share the reasoning's indent. */
14801
+ .muka-chat-message-stack__widgets {
14802
+ display: flex;
14803
+ flex-direction: column;
14804
+ gap: var(--chatbubble-stack-gap);
14805
+ min-width: 0;
14806
+ }
14807
+
14808
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14809
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14810
+ padding-left: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14811
+ }
14812
+
14813
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14814
+ .muka-chat-message-stack__widgets,
14815
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14816
+ .muka-chat-message-stack__reasoning {
14817
+ padding-left: 0;
14818
+ padding-right: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14819
+ }
14820
+
14821
+ /* Follow the message's compact rail and gap below the desktop breakpoint */
14822
+ @media (max-width: 1023px) {
14823
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14824
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14825
+ padding-left: calc(
14826
+ var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14827
+ );
14828
+ }
14829
+
14830
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14831
+ .muka-chat-message-stack__widgets,
14832
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14833
+ .muka-chat-message-stack__reasoning {
14834
+ padding-left: 0;
14835
+ padding-right: calc(
14836
+ var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14837
+ );
14838
+ }
14839
+ }
14840
+
14841
+
14648
14842
  /* ChatComposer */
14649
14843
  /* ChatComposer Component Styles */
14650
14844
 
@@ -17624,111 +17818,3 @@ button.muka-chat-photo-grid__tile:focus-visible {
17624
17818
  border-bottom: none;
17625
17819
  }
17626
17820
 
17627
-
17628
- /* SwipeActions */
17629
- /* SwipeActions Component Styles */
17630
-
17631
- .muka-swipe-actions {
17632
- position: relative;
17633
- overflow: hidden;
17634
- touch-action: pan-y;
17635
- -webkit-user-select: none;
17636
- user-select: none;
17637
- background-color: var(--color-surface-level3);
17638
- }
17639
-
17640
- .muka-swipe-actions--disabled {
17641
- touch-action: auto;
17642
- }
17643
-
17644
- /* ─── Row that holds the actual content ────────────────── */
17645
-
17646
- .muka-swipe-actions__row {
17647
- position: relative;
17648
- z-index: 1;
17649
- background-color: inherit;
17650
- will-change: transform;
17651
- }
17652
-
17653
- /* ─── Action panels — sit beneath the row ──────────────── */
17654
-
17655
- .muka-swipe-actions__panel {
17656
- position: absolute;
17657
- top: 0;
17658
- bottom: 0;
17659
- display: flex;
17660
- align-items: stretch;
17661
- z-index: 0;
17662
- }
17663
-
17664
- .muka-swipe-actions__panel--left {
17665
- left: 0;
17666
- }
17667
-
17668
- .muka-swipe-actions__panel--right {
17669
- right: 0;
17670
- }
17671
-
17672
- /* ─── Single action button ─────────────────────────────── */
17673
-
17674
- .muka-swipe-actions__button {
17675
- display: flex;
17676
- flex-direction: column;
17677
- align-items: center;
17678
- justify-content: center;
17679
- gap: var(--spacing-1);
17680
- border: none;
17681
- cursor: pointer;
17682
- padding: var(--spacing-2);
17683
- background-color: var(--color-surface-level2);
17684
- color: var(--color-text-default-default);
17685
- font-family: var(--text-label-sm-semibold-fontFamily);
17686
- font-weight: var(--text-label-sm-semibold-fontWeight);
17687
- font-size: var(--text-label-sm-semibold-fontSize);
17688
- line-height: var(--text-label-sm-semibold-lineHeight);
17689
- -webkit-tap-highlight-color: transparent;
17690
- transition: filter 0.12s ease;
17691
- }
17692
-
17693
- .muka-swipe-actions__button:hover {
17694
- filter: brightness(0.95);
17695
- }
17696
-
17697
- .muka-swipe-actions__button:focus-visible {
17698
- outline: 2px solid var(--color-action-default);
17699
- outline-offset: -2px;
17700
- }
17701
-
17702
- .muka-swipe-actions__button-icon {
17703
- display: inline-flex;
17704
- align-items: center;
17705
- justify-content: center;
17706
- }
17707
-
17708
- /* ─── Color variants ───────────────────────────────────── */
17709
-
17710
- .muka-swipe-actions__button--neutral {
17711
- background-color: var(--color-surface-level2);
17712
- color: var(--color-text-default-default);
17713
- }
17714
-
17715
- .muka-swipe-actions__button--primary {
17716
- background-color: var(--color-action-default);
17717
- color: var(--color-text-default-inverse);
17718
- }
17719
-
17720
- .muka-swipe-actions__button--success {
17721
- background-color: var(--color-state-success-default);
17722
- color: var(--color-text-default-inverse);
17723
- }
17724
-
17725
- .muka-swipe-actions__button--warning {
17726
- background-color: var(--color-state-warning-default);
17727
- color: var(--color-text-default-default);
17728
- }
17729
-
17730
- .muka-swipe-actions__button--destructive {
17731
- background-color: var(--color-state-error-default);
17732
- color: var(--color-text-default-inverse);
17733
- }
17734
-