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