@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
@@ -2846,6 +2846,7 @@ body {
2846
2846
  of overlapping it. */
2847
2847
  --tb-container-display: grid;
2848
2848
  --tb-title-align: center;
2849
+ --tb-title-justify: center;
2849
2850
  --tb-title-font-family: var(--text-heading-xs-fontFamily);
2850
2851
  --tb-title-font-weight: var(--text-heading-xs-fontWeight);
2851
2852
  --tb-title-font-size: var(--text-heading-xs-fontSize);
@@ -2886,6 +2887,7 @@ body {
2886
2887
  --tb-pad-y: var(--spacing-4);
2887
2888
  --tb-container-display: flex;
2888
2889
  --tb-title-align: left;
2890
+ --tb-title-justify: start;
2889
2891
  --tb-title-font-family: var(--text-heading-md-fontFamily);
2890
2892
  --tb-title-font-weight: var(--text-heading-md-fontWeight);
2891
2893
  --tb-title-font-size: var(--text-heading-md-fontSize);
@@ -2901,6 +2903,7 @@ body {
2901
2903
  --tb-pad-y: var(--spacing-4);
2902
2904
  --tb-container-display: flex;
2903
2905
  --tb-title-align: left;
2906
+ --tb-title-justify: start;
2904
2907
  --tb-title-font-family: var(--text-heading-md-fontFamily);
2905
2908
  --tb-title-font-weight: var(--text-heading-md-fontWeight);
2906
2909
  --tb-title-font-size: var(--text-heading-md-fontSize);
@@ -3023,6 +3026,71 @@ body {
3023
3026
  margin: 0;
3024
3027
  }
3025
3028
 
3029
+ /* ─── Title with a subtitle ─────────────────────────────
3030
+ The block takes the title's grid cell and stacks the title over a subdued
3031
+ line (subtitle), aligned like the title: centred, start in the large tier. */
3032
+
3033
+ .muka-topbar__title-block {
3034
+ grid-column: 2;
3035
+ display: flex;
3036
+ flex-direction: column;
3037
+ align-items: var(--tb-title-justify);
3038
+ min-width: 0;
3039
+ }
3040
+
3041
+ .muka-topbar__title-block > .muka-topbar__title {
3042
+ max-width: 100%;
3043
+ }
3044
+
3045
+ .muka-topbar__subtitle {
3046
+ max-width: 100%;
3047
+ overflow: hidden;
3048
+ text-overflow: ellipsis;
3049
+ white-space: nowrap;
3050
+ text-align: var(--tb-title-align);
3051
+ font-family: var(--text-body-sm-regular-fontFamily);
3052
+ font-weight: var(--text-body-sm-regular-fontWeight);
3053
+ font-size: var(--text-body-sm-regular-fontSize);
3054
+ line-height: var(--text-body-sm-regular-lineHeight);
3055
+ color: var(--color-text-subtle-default);
3056
+ }
3057
+
3058
+ /* ─── Title as a button (titleTrailing) ──────────────────
3059
+ Same type as the text title, with a trailing glyph; sized to its content so
3060
+ only the title is the hit area, centred (start in the large tier). */
3061
+
3062
+ .muka-topbar__title--button {
3063
+ display: inline-flex;
3064
+ align-items: center;
3065
+ gap: var(--spacing-1);
3066
+ justify-self: var(--tb-title-justify);
3067
+ align-self: var(--tb-title-justify);
3068
+ max-width: 100%;
3069
+ padding: 0;
3070
+ border: 0;
3071
+ background: none;
3072
+ cursor: pointer;
3073
+ border-radius: var(--radius-sm);
3074
+ }
3075
+
3076
+ .muka-topbar__title-text {
3077
+ min-width: 0;
3078
+ overflow: hidden;
3079
+ text-overflow: ellipsis;
3080
+ white-space: nowrap;
3081
+ }
3082
+
3083
+ .muka-topbar__title-glyph {
3084
+ display: inline-flex;
3085
+ flex-shrink: 0;
3086
+ color: var(--color-text-subtle-default);
3087
+ }
3088
+
3089
+ .muka-topbar__title--button:focus-visible {
3090
+ outline: 2px solid var(--color-border-focus);
3091
+ outline-offset: 2px;
3092
+ }
3093
+
3026
3094
  /* ─── Trailing slot ───────────────────────────────────── */
3027
3095
 
3028
3096
  .muka-topbar__trailing {
@@ -4929,6 +4997,114 @@ body {
4929
4997
  }
4930
4998
 
4931
4999
 
5000
+ /* SwipeActions */
5001
+ /* SwipeActions Component Styles */
5002
+
5003
+ .muka-swipe-actions {
5004
+ position: relative;
5005
+ overflow: hidden;
5006
+ touch-action: pan-y;
5007
+ -webkit-user-select: none;
5008
+ user-select: none;
5009
+ background-color: var(--color-surface-level3);
5010
+ }
5011
+
5012
+ .muka-swipe-actions--disabled {
5013
+ touch-action: auto;
5014
+ }
5015
+
5016
+ /* ─── Row that holds the actual content ────────────────── */
5017
+
5018
+ .muka-swipe-actions__row {
5019
+ position: relative;
5020
+ z-index: 1;
5021
+ background-color: inherit;
5022
+ will-change: transform;
5023
+ }
5024
+
5025
+ /* ─── Action panels — sit beneath the row ──────────────── */
5026
+
5027
+ .muka-swipe-actions__panel {
5028
+ position: absolute;
5029
+ top: 0;
5030
+ bottom: 0;
5031
+ display: flex;
5032
+ align-items: stretch;
5033
+ z-index: 0;
5034
+ }
5035
+
5036
+ .muka-swipe-actions__panel--left {
5037
+ left: 0;
5038
+ }
5039
+
5040
+ .muka-swipe-actions__panel--right {
5041
+ right: 0;
5042
+ }
5043
+
5044
+ /* ─── Single action button ─────────────────────────────── */
5045
+
5046
+ .muka-swipe-actions__button {
5047
+ display: flex;
5048
+ flex-direction: column;
5049
+ align-items: center;
5050
+ justify-content: center;
5051
+ gap: var(--spacing-1);
5052
+ border: none;
5053
+ cursor: pointer;
5054
+ padding: var(--spacing-2);
5055
+ background-color: var(--color-surface-level2);
5056
+ color: var(--color-text-default-default);
5057
+ font-family: var(--text-label-sm-semibold-fontFamily);
5058
+ font-weight: var(--text-label-sm-semibold-fontWeight);
5059
+ font-size: var(--text-label-sm-semibold-fontSize);
5060
+ line-height: var(--text-label-sm-semibold-lineHeight);
5061
+ -webkit-tap-highlight-color: transparent;
5062
+ transition: filter 0.12s ease;
5063
+ }
5064
+
5065
+ .muka-swipe-actions__button:hover {
5066
+ filter: brightness(0.95);
5067
+ }
5068
+
5069
+ .muka-swipe-actions__button:focus-visible {
5070
+ outline: 2px solid var(--color-action-default);
5071
+ outline-offset: -2px;
5072
+ }
5073
+
5074
+ .muka-swipe-actions__button-icon {
5075
+ display: inline-flex;
5076
+ align-items: center;
5077
+ justify-content: center;
5078
+ }
5079
+
5080
+ /* ─── Color variants ───────────────────────────────────── */
5081
+
5082
+ .muka-swipe-actions__button--neutral {
5083
+ background-color: var(--color-surface-level2);
5084
+ color: var(--color-text-default-default);
5085
+ }
5086
+
5087
+ .muka-swipe-actions__button--primary {
5088
+ background-color: var(--color-action-default);
5089
+ color: var(--color-text-default-inverse);
5090
+ }
5091
+
5092
+ .muka-swipe-actions__button--success {
5093
+ background-color: var(--color-state-success-default);
5094
+ color: var(--color-text-default-inverse);
5095
+ }
5096
+
5097
+ .muka-swipe-actions__button--warning {
5098
+ background-color: var(--color-state-warning-default);
5099
+ color: var(--color-text-default-default);
5100
+ }
5101
+
5102
+ .muka-swipe-actions__button--destructive {
5103
+ background-color: var(--color-state-error-default);
5104
+ color: var(--color-text-default-inverse);
5105
+ }
5106
+
5107
+
4932
5108
  /* Spinner */
4933
5109
  /* Spinner Component Styles */
4934
5110
 
@@ -5092,195 +5268,45 @@ body {
5092
5268
  }
5093
5269
 
5094
5270
 
5095
- /* SocialSignInButton */
5096
- /*
5097
- * SocialSignInButton lockup colors are provider-mandated (Apple HIG /
5098
- * Google Identity branding) and intentionally fixed across Muka brands —
5099
- * same exception pattern as LicensePlateInput regulatory colors.
5100
- *
5101
- * Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
5102
- * Google: https://developers.google.com/identity/branding-guidelines
5103
- */
5104
- .muka-social-sign-in-button {
5105
- --ssi-white: #ffffff;
5106
- --ssi-black: #000000;
5107
- --ssi-google-text-light: #1f1f1f;
5271
+ /* SmsOtpField */
5272
+ /* SmsOtpField Component Styles - Using Muka Design Tokens */
5108
5273
 
5274
+ /* Wrapper */
5275
+ .muka-sms-otp-field {
5109
5276
  display: inline-flex;
5110
- align-items: center;
5111
- justify-content: center;
5112
-
5113
- /* Provider lockup type — matches Figma / HIG, not brand font tokens.
5114
- * SF Pro Text is OS-provided on Apple platforms (not redistributable).
5115
- * Google Sans is not freely shippable; Roboto is the closest system fallback. */
5116
- font-family: inherit;
5117
- font-weight: 600;
5118
- text-decoration: none;
5119
- white-space: nowrap;
5120
-
5121
- border: 1px solid transparent;
5122
- cursor: pointer;
5123
- user-select: none;
5124
- transition: opacity 0.15s ease, filter 0.15s ease;
5125
-
5126
- outline: none;
5127
- position: relative;
5128
- box-sizing: border-box;
5129
- }
5130
-
5131
- .muka-social-sign-in-button--apple {
5132
- font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
5133
- Helvetica, Arial, sans-serif;
5134
- font-weight: 600;
5135
- }
5136
-
5137
- .muka-social-sign-in-button--google {
5138
- font-family: 'Google Sans', Roboto, 'Helvetica Neue', Arial, sans-serif;
5139
- font-weight: 500;
5277
+ flex-direction: column;
5278
+ gap: var(--spacing-2);
5140
5279
  }
5141
5280
 
5142
- .muka-social-sign-in-button:focus-visible {
5143
- outline: 2px solid var(--color-border-focus);
5144
- outline-offset: 2px;
5281
+ /* Label */
5282
+ .muka-sms-otp-field__label {
5283
+ color: var(--color-text-default-default);
5284
+ cursor: pointer;
5145
5285
  }
5146
5286
 
5147
- /* Sizes — heights align with Button md/lg */
5148
- .muka-social-sign-in-button--md {
5149
- padding: 0 var(--button-padding-md-x);
5150
- border-radius: var(--button-radius-md);
5287
+ .muka-sms-otp-field__label--sm {
5288
+ font-family: var(--text-label-sm-semibold-fontFamily);
5289
+ font-weight: var(--text-label-sm-semibold-fontWeight);
5151
5290
  font-size: var(--text-label-sm-semibold-fontSize);
5152
5291
  line-height: var(--text-label-sm-semibold-lineHeight);
5153
- min-height: 40px;
5154
- min-width: 240px;
5155
- }
5156
-
5157
- .muka-social-sign-in-button--md .muka-social-sign-in-button__label {
5158
- padding: 0 var(--button-gap-md);
5159
5292
  }
5160
5293
 
5161
- .muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
5162
- width: var(--button-icon-md);
5163
- height: var(--button-icon-md);
5294
+ .muka-sms-otp-field__label--md {
5295
+ font-family: var(--text-label-md-semibold-fontFamily);
5296
+ font-weight: var(--text-label-md-semibold-fontWeight);
5297
+ font-size: var(--text-label-md-semibold-fontSize);
5298
+ line-height: var(--text-label-md-semibold-lineHeight);
5164
5299
  }
5165
5300
 
5166
- .muka-social-sign-in-button--lg {
5167
- padding: 0 var(--button-padding-lg-x);
5168
- border-radius: var(--button-radius-lg);
5301
+ .muka-sms-otp-field__label--lg {
5302
+ font-family: var(--text-label-lg-semibold-fontFamily);
5303
+ font-weight: var(--text-label-lg-semibold-fontWeight);
5169
5304
  font-size: var(--text-label-lg-semibold-fontSize);
5170
5305
  line-height: var(--text-label-lg-semibold-lineHeight);
5171
- min-height: 48px;
5172
- min-width: 280px;
5173
- }
5174
-
5175
- .muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
5176
- padding: 0 var(--button-gap-lg);
5177
5306
  }
5178
5307
 
5179
- .muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
5180
- width: var(--button-icon-lg);
5181
- height: var(--button-icon-lg);
5182
- }
5183
-
5184
- /* White lockup — for dark surfaces (Apple White with Outline) */
5185
- .muka-social-sign-in-button--white {
5186
- background-color: var(--ssi-white);
5187
- color: var(--ssi-black);
5188
- border-color: var(--ssi-black);
5189
- }
5190
-
5191
- .muka-social-sign-in-button--white.muka-social-sign-in-button--google {
5192
- color: var(--ssi-google-text-light);
5193
- }
5194
-
5195
- /* Black lockup — for light surfaces */
5196
- .muka-social-sign-in-button--black {
5197
- background-color: var(--ssi-black);
5198
- color: var(--ssi-white);
5199
- border-color: transparent;
5200
- }
5201
-
5202
- /* Interaction — luminance/opacity only; no brand tint */
5203
- .muka-social-sign-in-button:hover:not(:disabled) {
5204
- filter: brightness(0.92);
5205
- }
5206
-
5207
- .muka-social-sign-in-button:active:not(:disabled) {
5208
- filter: brightness(0.85);
5209
- }
5210
-
5211
- .muka-social-sign-in-button:disabled,
5212
- .muka-social-sign-in-button--disabled {
5213
- cursor: not-allowed;
5214
- opacity: 0.4;
5215
- pointer-events: none;
5216
- filter: none;
5217
- }
5218
-
5219
- .muka-social-sign-in-button--full-width {
5220
- width: 100%;
5221
- min-width: 0;
5222
- }
5223
-
5224
- .muka-social-sign-in-button__icon {
5225
- display: inline-flex;
5226
- align-items: center;
5227
- justify-content: center;
5228
- flex-shrink: 0;
5229
- }
5230
-
5231
- .muka-social-sign-in-button__icon > *,
5232
- .muka-social-sign-in-button__icon svg {
5233
- width: auto;
5234
- height: 100%;
5235
- max-width: 100%;
5236
- display: block;
5237
- }
5238
-
5239
- .muka-social-sign-in-button__label {
5240
- display: inline-flex;
5241
- align-items: center;
5242
- }
5243
-
5244
-
5245
- /* SmsOtpField */
5246
- /* SmsOtpField Component Styles - Using Muka Design Tokens */
5247
-
5248
- /* Wrapper */
5249
- .muka-sms-otp-field {
5250
- display: inline-flex;
5251
- flex-direction: column;
5252
- gap: var(--spacing-2);
5253
- }
5254
-
5255
- /* Label */
5256
- .muka-sms-otp-field__label {
5257
- color: var(--color-text-default-default);
5258
- cursor: pointer;
5259
- }
5260
-
5261
- .muka-sms-otp-field__label--sm {
5262
- font-family: var(--text-label-sm-semibold-fontFamily);
5263
- font-weight: var(--text-label-sm-semibold-fontWeight);
5264
- font-size: var(--text-label-sm-semibold-fontSize);
5265
- line-height: var(--text-label-sm-semibold-lineHeight);
5266
- }
5267
-
5268
- .muka-sms-otp-field__label--md {
5269
- font-family: var(--text-label-md-semibold-fontFamily);
5270
- font-weight: var(--text-label-md-semibold-fontWeight);
5271
- font-size: var(--text-label-md-semibold-fontSize);
5272
- line-height: var(--text-label-md-semibold-lineHeight);
5273
- }
5274
-
5275
- .muka-sms-otp-field__label--lg {
5276
- font-family: var(--text-label-lg-semibold-fontFamily);
5277
- font-weight: var(--text-label-lg-semibold-fontWeight);
5278
- font-size: var(--text-label-lg-semibold-fontSize);
5279
- line-height: var(--text-label-lg-semibold-lineHeight);
5280
- }
5281
-
5282
- .muka-sms-otp-field__required {
5283
- color: var(--color-state-error-default);
5308
+ .muka-sms-otp-field__required {
5309
+ color: var(--color-state-error-default);
5284
5310
  }
5285
5311
 
5286
5312
  /* Hidden input for browser autofill */
@@ -5509,6 +5535,156 @@ body {
5509
5535
  }
5510
5536
 
5511
5537
 
5538
+ /* SocialSignInButton */
5539
+ /*
5540
+ * SocialSignInButton lockup colors are provider-mandated (Apple HIG /
5541
+ * Google Identity branding) and intentionally fixed across Muka brands —
5542
+ * same exception pattern as LicensePlateInput regulatory colors.
5543
+ *
5544
+ * Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
5545
+ * Google: https://developers.google.com/identity/branding-guidelines
5546
+ */
5547
+ .muka-social-sign-in-button {
5548
+ --ssi-white: #ffffff;
5549
+ --ssi-black: #000000;
5550
+ --ssi-google-text-light: #1f1f1f;
5551
+
5552
+ display: inline-flex;
5553
+ align-items: center;
5554
+ justify-content: center;
5555
+
5556
+ /* Provider lockup type — matches Figma / HIG, not brand font tokens.
5557
+ * SF Pro Text is OS-provided on Apple platforms (not redistributable).
5558
+ * Google Sans is not freely shippable; Roboto is the closest system fallback. */
5559
+ font-family: inherit;
5560
+ font-weight: 600;
5561
+ text-decoration: none;
5562
+ white-space: nowrap;
5563
+
5564
+ border: 1px solid transparent;
5565
+ cursor: pointer;
5566
+ user-select: none;
5567
+ transition: opacity 0.15s ease, filter 0.15s ease;
5568
+
5569
+ outline: none;
5570
+ position: relative;
5571
+ box-sizing: border-box;
5572
+ }
5573
+
5574
+ .muka-social-sign-in-button--apple {
5575
+ font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
5576
+ Helvetica, Arial, sans-serif;
5577
+ font-weight: 600;
5578
+ }
5579
+
5580
+ .muka-social-sign-in-button--google {
5581
+ font-family: 'Google Sans', Roboto, 'Helvetica Neue', Arial, sans-serif;
5582
+ font-weight: 500;
5583
+ }
5584
+
5585
+ .muka-social-sign-in-button:focus-visible {
5586
+ outline: 2px solid var(--color-border-focus);
5587
+ outline-offset: 2px;
5588
+ }
5589
+
5590
+ /* Sizes — heights align with Button md/lg */
5591
+ .muka-social-sign-in-button--md {
5592
+ padding: 0 var(--button-padding-md-x);
5593
+ border-radius: var(--button-radius-md);
5594
+ font-size: var(--text-label-sm-semibold-fontSize);
5595
+ line-height: var(--text-label-sm-semibold-lineHeight);
5596
+ min-height: 40px;
5597
+ min-width: 240px;
5598
+ }
5599
+
5600
+ .muka-social-sign-in-button--md .muka-social-sign-in-button__label {
5601
+ padding: 0 var(--button-gap-md);
5602
+ }
5603
+
5604
+ .muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
5605
+ width: var(--button-icon-md);
5606
+ height: var(--button-icon-md);
5607
+ }
5608
+
5609
+ .muka-social-sign-in-button--lg {
5610
+ padding: 0 var(--button-padding-lg-x);
5611
+ border-radius: var(--button-radius-lg);
5612
+ font-size: var(--text-label-lg-semibold-fontSize);
5613
+ line-height: var(--text-label-lg-semibold-lineHeight);
5614
+ min-height: 48px;
5615
+ min-width: 280px;
5616
+ }
5617
+
5618
+ .muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
5619
+ padding: 0 var(--button-gap-lg);
5620
+ }
5621
+
5622
+ .muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
5623
+ width: var(--button-icon-lg);
5624
+ height: var(--button-icon-lg);
5625
+ }
5626
+
5627
+ /* White lockup — for dark surfaces (Apple White with Outline) */
5628
+ .muka-social-sign-in-button--white {
5629
+ background-color: var(--ssi-white);
5630
+ color: var(--ssi-black);
5631
+ border-color: var(--ssi-black);
5632
+ }
5633
+
5634
+ .muka-social-sign-in-button--white.muka-social-sign-in-button--google {
5635
+ color: var(--ssi-google-text-light);
5636
+ }
5637
+
5638
+ /* Black lockup — for light surfaces */
5639
+ .muka-social-sign-in-button--black {
5640
+ background-color: var(--ssi-black);
5641
+ color: var(--ssi-white);
5642
+ border-color: transparent;
5643
+ }
5644
+
5645
+ /* Interaction — luminance/opacity only; no brand tint */
5646
+ .muka-social-sign-in-button:hover:not(:disabled) {
5647
+ filter: brightness(0.92);
5648
+ }
5649
+
5650
+ .muka-social-sign-in-button:active:not(:disabled) {
5651
+ filter: brightness(0.85);
5652
+ }
5653
+
5654
+ .muka-social-sign-in-button:disabled,
5655
+ .muka-social-sign-in-button--disabled {
5656
+ cursor: not-allowed;
5657
+ opacity: 0.4;
5658
+ pointer-events: none;
5659
+ filter: none;
5660
+ }
5661
+
5662
+ .muka-social-sign-in-button--full-width {
5663
+ width: 100%;
5664
+ min-width: 0;
5665
+ }
5666
+
5667
+ .muka-social-sign-in-button__icon {
5668
+ display: inline-flex;
5669
+ align-items: center;
5670
+ justify-content: center;
5671
+ flex-shrink: 0;
5672
+ }
5673
+
5674
+ .muka-social-sign-in-button__icon > *,
5675
+ .muka-social-sign-in-button__icon svg {
5676
+ width: auto;
5677
+ height: 100%;
5678
+ max-width: 100%;
5679
+ display: block;
5680
+ }
5681
+
5682
+ .muka-social-sign-in-button__label {
5683
+ display: inline-flex;
5684
+ align-items: center;
5685
+ }
5686
+
5687
+
5512
5688
  /* SiteHeader */
5513
5689
  /* SiteHeader Component Styles */
5514
5690
 
@@ -5683,18 +5859,206 @@ body {
5683
5859
  overscroll-behavior: contain;
5684
5860
  }
5685
5861
 
5686
- /* ─── Visually-hidden title (a11y) ────────────────────── */
5862
+ /* ─── Visually-hidden title (a11y) ────────────────────── */
5863
+
5864
+ .muka-sheet__sr-title {
5865
+ position: absolute;
5866
+ width: 1px;
5867
+ height: 1px;
5868
+ padding: 0;
5869
+ margin: -1px;
5870
+ overflow: hidden;
5871
+ clip: rect(0, 0, 0, 0);
5872
+ white-space: nowrap;
5873
+ border: 0;
5874
+ }
5875
+
5876
+
5877
+ /* SegmentGroup */
5878
+ /* SegmentGroup Component Styles - Using Muka Design Tokens */
5879
+
5880
+ /* Container */
5881
+ .muka-segmentgroup {
5882
+ display: inline-flex;
5883
+ align-items: center;
5884
+ gap: 0;
5885
+ padding: var(--segmentgroup-container-padding);
5886
+ background-color: var(--segmentgroup-container-background);
5887
+ border-radius: var(--segmentgroup-container-radius);
5888
+ position: relative;
5889
+ transition: background-color 0.2s ease, box-shadow 0.2s ease;
5890
+ }
5891
+
5892
+ /* Inset shadow on container */
5893
+ .muka-segmentgroup::after {
5894
+ content: '';
5895
+ position: absolute;
5896
+ inset: 0;
5897
+ border-radius: inherit;
5898
+ box-shadow: var(--segmentgroup-container-shadow);
5899
+ pointer-events: none;
5900
+ }
5901
+
5902
+ /* Full width variant */
5903
+ .muka-segmentgroup--full-width {
5904
+ width: 100%;
5905
+ }
5906
+
5907
+ .muka-segmentgroup--full-width .muka-segmentgroup__segment {
5908
+ flex: 1;
5909
+ }
5910
+
5911
+ /* Pill */
5912
+ .muka-segmentgroup__pill {
5913
+ position: absolute;
5914
+ top: var(--segmentgroup-container-padding);
5915
+ bottom: var(--segmentgroup-container-padding);
5916
+ left: 0;
5917
+ margin: 0;
5918
+ background-color: var(--segmentgroup-segment-color-selected-background);
5919
+ box-shadow: var(--segmentgroup-segment-shadow-selected);
5920
+ transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
5921
+ z-index: 0;
5922
+ pointer-events: none;
5923
+ }
5924
+
5925
+ /* Segment button */
5926
+ .muka-segmentgroup__segment {
5927
+ display: inline-flex;
5928
+ align-items: center;
5929
+ justify-content: center;
5930
+ gap: var(--segmentgroup-segment-gap);
5931
+ border: none;
5932
+ background-color: var(--segmentgroup-segment-color-unselected-background);
5933
+ color: var(--segmentgroup-segment-color-unselected-foreground);
5934
+ border-radius: var(--segmentgroup-segment-radius);
5935
+ cursor: pointer;
5936
+ transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
5937
+ position: relative;
5938
+ outline: none;
5939
+ box-shadow: var(--segmentgroup-segment-shadow-unselected);
5940
+ font-family: var(--alias-font-plain-family);
5941
+ font-weight: var(--segmentgroup-segment-fontWeight);
5942
+ z-index: 1; /* Keep above pill */
5943
+ }
5944
+
5945
+ /* Size variants */
5946
+ .muka-segmentgroup--sm {
5947
+ border-radius: var(--border-radius-xl, 16px);
5948
+ }
5949
+ .muka-segmentgroup--sm .muka-segmentgroup__segment,
5950
+ .muka-segmentgroup--sm .muka-segmentgroup__pill {
5951
+ border-radius: var(--border-radius-xl, 16px);
5952
+ }
5953
+ .muka-segmentgroup--sm .muka-segmentgroup__segment {
5954
+ padding: var(--segmentgroup-segment-padding-sm-y) var(--segmentgroup-segment-padding-sm-x);
5955
+ height: var(--segmentgroup-segment-height-sm);
5956
+ font-size: var(--text-label-sm-fontSize);
5957
+ line-height: var(--text-label-sm-lineHeight);
5958
+ }
5959
+
5960
+ .muka-segmentgroup--md {
5961
+ border-radius: var(--border-radius-xl, 16px);
5962
+ }
5963
+ .muka-segmentgroup--md .muka-segmentgroup__segment,
5964
+ .muka-segmentgroup--md .muka-segmentgroup__pill {
5965
+ border-radius: var(--border-radius-xl, 16px);
5966
+ }
5967
+ .muka-segmentgroup--md .muka-segmentgroup__segment {
5968
+ padding: var(--segmentgroup-segment-padding-md-y) var(--segmentgroup-segment-padding-md-x);
5969
+ font-size: var(--text-label-md-fontSize);
5970
+ line-height: var(--text-label-md-lineHeight);
5971
+ }
5972
+
5973
+ .muka-segmentgroup--lg {
5974
+ border-radius: var(--border-radius-full, 9999px);
5975
+ }
5976
+ .muka-segmentgroup--lg .muka-segmentgroup__segment,
5977
+ .muka-segmentgroup--lg .muka-segmentgroup__pill {
5978
+ border-radius: var(--border-radius-full, 9999px);
5979
+ }
5980
+ .muka-segmentgroup--lg .muka-segmentgroup__segment {
5981
+ padding: var(--segmentgroup-segment-padding-lg-y) var(--segmentgroup-segment-padding-lg-x);
5982
+ height: 40px;
5983
+ font-size: var(--text-label-lg-fontSize);
5984
+ line-height: var(--text-label-lg-lineHeight);
5985
+ }
5986
+
5987
+ /* Icon-only variants */
5988
+ .muka-segmentgroup--icon-only {
5989
+ gap: var(--spacing-1, 4px);
5990
+ }
5991
+
5992
+ .muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__segment {
5993
+ width: 24px;
5994
+ height: 24px;
5995
+ padding: 0;
5996
+ }
5997
+ .muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__icon svg {
5998
+ width: 16px;
5999
+ height: 16px;
6000
+ }
6001
+
6002
+ .muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__segment {
6003
+ width: 32px;
6004
+ height: 32px;
6005
+ padding: 0;
6006
+ }
6007
+ .muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__icon svg {
6008
+ width: 20px;
6009
+ height: 20px;
6010
+ }
6011
+
6012
+ .muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__segment {
6013
+ width: 40px;
6014
+ height: 40px;
6015
+ padding: 0;
6016
+ }
6017
+ .muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__icon svg {
6018
+ width: 24px;
6019
+ height: 24px;
6020
+ }
6021
+
6022
+ /* Icon */
6023
+ .muka-segmentgroup__icon {
6024
+ display: inline-flex;
6025
+ align-items: center;
6026
+ justify-content: center;
6027
+ }
6028
+
6029
+ /* Selected state */
6030
+ .muka-segmentgroup__segment--selected {
6031
+ background-color: transparent;
6032
+ box-shadow: none;
6033
+ color: var(--segmentgroup-segment-color-selected-foreground);
6034
+ z-index: 2; /* Highlight pill when focused is tested below */
6035
+ }
6036
+
6037
+ /* Hover state (only for unselected) */
6038
+ .muka-segmentgroup__segment:not(.muka-segmentgroup__segment--selected):not(:disabled):hover {
6039
+ color: var(--segmentgroup-segment-color-hover-foreground);
6040
+ }
6041
+
6042
+ /* Focus visible */
6043
+ .muka-segmentgroup__segment:focus-visible {
6044
+ outline: 2px solid var(--color-border-focus);
6045
+ outline-offset: 2px;
6046
+ z-index: 2;
6047
+ }
6048
+
6049
+ /* Disabled state */
6050
+ .muka-segmentgroup__segment--disabled,
6051
+ .muka-segmentgroup__segment:disabled {
6052
+ cursor: not-allowed;
6053
+ opacity: 0.5;
6054
+ }
5687
6055
 
5688
- .muka-sheet__sr-title {
5689
- position: absolute;
5690
- width: 1px;
5691
- height: 1px;
5692
- padding: 0;
5693
- margin: -1px;
5694
- overflow: hidden;
5695
- clip: rect(0, 0, 0, 0);
6056
+ /* Label */
6057
+ .muka-segmentgroup__label {
6058
+ display: inline-flex;
6059
+ align-items: center;
5696
6060
  white-space: nowrap;
5697
- border: 0;
6061
+ user-select: none;
5698
6062
  }
5699
6063
 
5700
6064
 
@@ -5892,194 +6256,6 @@ body {
5892
6256
  }
5893
6257
 
5894
6258
 
5895
- /* SegmentGroup */
5896
- /* SegmentGroup Component Styles - Using Muka Design Tokens */
5897
-
5898
- /* Container */
5899
- .muka-segmentgroup {
5900
- display: inline-flex;
5901
- align-items: center;
5902
- gap: 0;
5903
- padding: var(--segmentgroup-container-padding);
5904
- background-color: var(--segmentgroup-container-background);
5905
- border-radius: var(--segmentgroup-container-radius);
5906
- position: relative;
5907
- transition: background-color 0.2s ease, box-shadow 0.2s ease;
5908
- }
5909
-
5910
- /* Inset shadow on container */
5911
- .muka-segmentgroup::after {
5912
- content: '';
5913
- position: absolute;
5914
- inset: 0;
5915
- border-radius: inherit;
5916
- box-shadow: var(--segmentgroup-container-shadow);
5917
- pointer-events: none;
5918
- }
5919
-
5920
- /* Full width variant */
5921
- .muka-segmentgroup--full-width {
5922
- width: 100%;
5923
- }
5924
-
5925
- .muka-segmentgroup--full-width .muka-segmentgroup__segment {
5926
- flex: 1;
5927
- }
5928
-
5929
- /* Pill */
5930
- .muka-segmentgroup__pill {
5931
- position: absolute;
5932
- top: var(--segmentgroup-container-padding);
5933
- bottom: var(--segmentgroup-container-padding);
5934
- left: 0;
5935
- margin: 0;
5936
- background-color: var(--segmentgroup-segment-color-selected-background);
5937
- box-shadow: var(--segmentgroup-segment-shadow-selected);
5938
- transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
5939
- z-index: 0;
5940
- pointer-events: none;
5941
- }
5942
-
5943
- /* Segment button */
5944
- .muka-segmentgroup__segment {
5945
- display: inline-flex;
5946
- align-items: center;
5947
- justify-content: center;
5948
- gap: var(--segmentgroup-segment-gap);
5949
- border: none;
5950
- background-color: var(--segmentgroup-segment-color-unselected-background);
5951
- color: var(--segmentgroup-segment-color-unselected-foreground);
5952
- border-radius: var(--segmentgroup-segment-radius);
5953
- cursor: pointer;
5954
- transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
5955
- position: relative;
5956
- outline: none;
5957
- box-shadow: var(--segmentgroup-segment-shadow-unselected);
5958
- font-family: var(--alias-font-plain-family);
5959
- font-weight: var(--segmentgroup-segment-fontWeight);
5960
- z-index: 1; /* Keep above pill */
5961
- }
5962
-
5963
- /* Size variants */
5964
- .muka-segmentgroup--sm {
5965
- border-radius: var(--border-radius-xl, 16px);
5966
- }
5967
- .muka-segmentgroup--sm .muka-segmentgroup__segment,
5968
- .muka-segmentgroup--sm .muka-segmentgroup__pill {
5969
- border-radius: var(--border-radius-xl, 16px);
5970
- }
5971
- .muka-segmentgroup--sm .muka-segmentgroup__segment {
5972
- padding: var(--segmentgroup-segment-padding-sm-y) var(--segmentgroup-segment-padding-sm-x);
5973
- height: var(--segmentgroup-segment-height-sm);
5974
- font-size: var(--text-label-sm-fontSize);
5975
- line-height: var(--text-label-sm-lineHeight);
5976
- }
5977
-
5978
- .muka-segmentgroup--md {
5979
- border-radius: var(--border-radius-xl, 16px);
5980
- }
5981
- .muka-segmentgroup--md .muka-segmentgroup__segment,
5982
- .muka-segmentgroup--md .muka-segmentgroup__pill {
5983
- border-radius: var(--border-radius-xl, 16px);
5984
- }
5985
- .muka-segmentgroup--md .muka-segmentgroup__segment {
5986
- padding: var(--segmentgroup-segment-padding-md-y) var(--segmentgroup-segment-padding-md-x);
5987
- font-size: var(--text-label-md-fontSize);
5988
- line-height: var(--text-label-md-lineHeight);
5989
- }
5990
-
5991
- .muka-segmentgroup--lg {
5992
- border-radius: var(--border-radius-full, 9999px);
5993
- }
5994
- .muka-segmentgroup--lg .muka-segmentgroup__segment,
5995
- .muka-segmentgroup--lg .muka-segmentgroup__pill {
5996
- border-radius: var(--border-radius-full, 9999px);
5997
- }
5998
- .muka-segmentgroup--lg .muka-segmentgroup__segment {
5999
- padding: var(--segmentgroup-segment-padding-lg-y) var(--segmentgroup-segment-padding-lg-x);
6000
- height: 40px;
6001
- font-size: var(--text-label-lg-fontSize);
6002
- line-height: var(--text-label-lg-lineHeight);
6003
- }
6004
-
6005
- /* Icon-only variants */
6006
- .muka-segmentgroup--icon-only {
6007
- gap: var(--spacing-1, 4px);
6008
- }
6009
-
6010
- .muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__segment {
6011
- width: 24px;
6012
- height: 24px;
6013
- padding: 0;
6014
- }
6015
- .muka-segmentgroup--icon-only.muka-segmentgroup--sm .muka-segmentgroup__icon svg {
6016
- width: 16px;
6017
- height: 16px;
6018
- }
6019
-
6020
- .muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__segment {
6021
- width: 32px;
6022
- height: 32px;
6023
- padding: 0;
6024
- }
6025
- .muka-segmentgroup--icon-only.muka-segmentgroup--md .muka-segmentgroup__icon svg {
6026
- width: 20px;
6027
- height: 20px;
6028
- }
6029
-
6030
- .muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__segment {
6031
- width: 40px;
6032
- height: 40px;
6033
- padding: 0;
6034
- }
6035
- .muka-segmentgroup--icon-only.muka-segmentgroup--lg .muka-segmentgroup__icon svg {
6036
- width: 24px;
6037
- height: 24px;
6038
- }
6039
-
6040
- /* Icon */
6041
- .muka-segmentgroup__icon {
6042
- display: inline-flex;
6043
- align-items: center;
6044
- justify-content: center;
6045
- }
6046
-
6047
- /* Selected state */
6048
- .muka-segmentgroup__segment--selected {
6049
- background-color: transparent;
6050
- box-shadow: none;
6051
- color: var(--segmentgroup-segment-color-selected-foreground);
6052
- z-index: 2; /* Highlight pill when focused is tested below */
6053
- }
6054
-
6055
- /* Hover state (only for unselected) */
6056
- .muka-segmentgroup__segment:not(.muka-segmentgroup__segment--selected):not(:disabled):hover {
6057
- color: var(--segmentgroup-segment-color-hover-foreground);
6058
- }
6059
-
6060
- /* Focus visible */
6061
- .muka-segmentgroup__segment:focus-visible {
6062
- outline: 2px solid var(--color-border-focus);
6063
- outline-offset: 2px;
6064
- z-index: 2;
6065
- }
6066
-
6067
- /* Disabled state */
6068
- .muka-segmentgroup__segment--disabled,
6069
- .muka-segmentgroup__segment:disabled {
6070
- cursor: not-allowed;
6071
- opacity: 0.5;
6072
- }
6073
-
6074
- /* Label */
6075
- .muka-segmentgroup__label {
6076
- display: inline-flex;
6077
- align-items: center;
6078
- white-space: nowrap;
6079
- user-select: none;
6080
- }
6081
-
6082
-
6083
6259
  /* Section */
6084
6260
  /* Section Component - Layout tokens (section.padding) */
6085
6261
 
@@ -6941,61 +7117,14 @@ body {
6941
7117
  }
6942
7118
 
6943
7119
  .muka-radio--lg .muka-radio__label {
6944
- font-family: var(--text-label-xl-regular-fontFamily);
6945
- font-weight: var(--text-label-xl-regular-fontWeight);
6946
- font-size: var(--text-label-xl-regular-fontSize);
6947
- line-height: var(--text-label-xl-regular-lineHeight);
6948
- }
6949
-
6950
- .muka-radio--disabled .muka-radio__label {
6951
- color: var(--color-text-subtle-default);
6952
- }
6953
-
6954
-
6955
- /* PullToRefresh */
6956
- /* PullToRefresh Component Styles */
6957
-
6958
- .muka-pull-to-refresh {
6959
- position: relative;
6960
- display: flex;
6961
- flex-direction: column;
6962
- width: 100%;
6963
- height: 100%;
6964
- overflow: hidden;
6965
- }
6966
-
6967
- .muka-pull-to-refresh__indicator {
6968
- position: absolute;
6969
- top: 0;
6970
- left: 0;
6971
- right: 0;
6972
- display: flex;
6973
- align-items: flex-end;
6974
- justify-content: center;
6975
- padding-bottom: var(--spacing-2);
6976
- color: var(--color-text-subtle-default);
6977
- overflow: hidden;
6978
- pointer-events: none;
6979
- z-index: 1;
6980
- }
6981
-
6982
- .muka-pull-to-refresh__chevron {
6983
- display: inline-flex;
6984
- align-items: center;
6985
- justify-content: center;
6986
- transition: transform 0.16s ease;
7120
+ font-family: var(--text-label-xl-regular-fontFamily);
7121
+ font-weight: var(--text-label-xl-regular-fontWeight);
7122
+ font-size: var(--text-label-xl-regular-fontSize);
7123
+ line-height: var(--text-label-xl-regular-lineHeight);
6987
7124
  }
6988
7125
 
6989
- .muka-pull-to-refresh__scroller {
6990
- flex: 1 1 auto;
6991
- min-height: 0;
6992
- width: 100%;
6993
- overflow-x: clip;
6994
- overflow-y: auto;
6995
- -webkit-overflow-scrolling: touch;
6996
- overscroll-behavior-y: contain;
6997
- touch-action: pan-y;
6998
- will-change: transform;
7126
+ .muka-radio--disabled .muka-radio__label {
7127
+ color: var(--color-text-subtle-default);
6999
7128
  }
7000
7129
 
7001
7130
 
@@ -7821,6 +7950,53 @@ button.muka-progress-tracker__tab:focus-visible {
7821
7950
  }
7822
7951
 
7823
7952
 
7953
+ /* PullToRefresh */
7954
+ /* PullToRefresh Component Styles */
7955
+
7956
+ .muka-pull-to-refresh {
7957
+ position: relative;
7958
+ display: flex;
7959
+ flex-direction: column;
7960
+ width: 100%;
7961
+ height: 100%;
7962
+ overflow: hidden;
7963
+ }
7964
+
7965
+ .muka-pull-to-refresh__indicator {
7966
+ position: absolute;
7967
+ top: 0;
7968
+ left: 0;
7969
+ right: 0;
7970
+ display: flex;
7971
+ align-items: flex-end;
7972
+ justify-content: center;
7973
+ padding-bottom: var(--spacing-2);
7974
+ color: var(--color-text-subtle-default);
7975
+ overflow: hidden;
7976
+ pointer-events: none;
7977
+ z-index: 1;
7978
+ }
7979
+
7980
+ .muka-pull-to-refresh__chevron {
7981
+ display: inline-flex;
7982
+ align-items: center;
7983
+ justify-content: center;
7984
+ transition: transform 0.16s ease;
7985
+ }
7986
+
7987
+ .muka-pull-to-refresh__scroller {
7988
+ flex: 1 1 auto;
7989
+ min-height: 0;
7990
+ width: 100%;
7991
+ overflow-x: clip;
7992
+ overflow-y: auto;
7993
+ -webkit-overflow-scrolling: touch;
7994
+ overscroll-behavior-y: contain;
7995
+ touch-action: pan-y;
7996
+ will-change: transform;
7997
+ }
7998
+
7999
+
7824
8000
  /* Progress */
7825
8001
  /* Progress Component Styles - Using Muka Design Tokens */
7826
8002
 
@@ -9318,6 +9494,24 @@ button.muka-progress-tracker__tab:focus-visible {
9318
9494
  white-space: nowrap;
9319
9495
  }
9320
9496
 
9497
+ /* A second line under the label (description): label above, subdued below. */
9498
+ .muka-menu__item--has-description .muka-menu__item-label {
9499
+ display: flex;
9500
+ flex-direction: column;
9501
+ overflow: hidden;
9502
+ }
9503
+
9504
+ .muka-menu__item-description {
9505
+ overflow: hidden;
9506
+ text-overflow: ellipsis;
9507
+ white-space: nowrap;
9508
+ font-family: var(--text-body-sm-regular-fontFamily);
9509
+ font-weight: var(--text-body-sm-regular-fontWeight);
9510
+ font-size: var(--text-body-sm-regular-fontSize);
9511
+ line-height: var(--text-body-sm-regular-lineHeight);
9512
+ color: var(--color-text-subtle-default);
9513
+ }
9514
+
9321
9515
  /* Shortcut trailers replace icons and sit with an 8px right inset. */
9322
9516
  .muka-menu__item--has-shortcut {
9323
9517
  padding-right: var(--spacing-2);
@@ -10844,259 +11038,118 @@ li.muka-listitem {
10844
11038
  flex-direction: column;
10845
11039
  gap: var(--spacing-2);
10846
11040
  list-style: none;
10847
- margin: 0;
10848
- padding: 0;
10849
- }
10850
-
10851
- .muka-fileupload__list li {
10852
- margin: 0;
10853
- padding: 0;
10854
- }
10855
-
10856
- /* File item */
10857
- .muka-fileupload-item {
10858
- display: flex;
10859
- align-items: center;
10860
- gap: var(--fileupload-item-gap);
10861
- padding: var(--fileupload-item-padding-y) var(--fileupload-item-padding-x);
10862
- background-color: var(--fileupload-item-color-default-background);
10863
- border-radius: var(--fileupload-item-radius);
10864
- }
10865
-
10866
- .muka-fileupload-item--error {
10867
- background-color: var(--fileupload-item-color-error-background);
10868
- }
10869
-
10870
- .muka-fileupload-item--success {
10871
- background-color: var(--fileupload-item-color-default-background);
10872
- }
10873
-
10874
- /* Preview/Icon container */
10875
- .muka-fileupload-item__preview {
10876
- display: flex;
10877
- align-items: center;
10878
- justify-content: center;
10879
- flex-shrink: 0;
10880
- width: var(--fileupload-preview-size);
10881
- height: var(--fileupload-preview-size);
10882
- border-radius: var(--fileupload-preview-radius);
10883
- overflow: hidden;
10884
- background-color: var(--color-surface-level1);
10885
- }
10886
-
10887
- .muka-fileupload-item__thumbnail {
10888
- width: 100%;
10889
- height: 100%;
10890
- object-fit: cover;
10891
- }
10892
-
10893
- .muka-fileupload-item__icon {
10894
- color: var(--color-text-subtle-default);
10895
- }
10896
-
10897
- /* File info */
10898
- .muka-fileupload-item__info {
10899
- flex: 1;
10900
- min-width: 0;
10901
- display: flex;
10902
- flex-direction: column;
10903
- gap: var(--spacing-1);
10904
- }
10905
-
10906
- .muka-fileupload-item__name {
10907
- font-family: var(--text-body-sm-regular-fontFamily);
10908
- font-size: var(--text-body-sm-regular-fontSize);
10909
- font-weight: var(--text-body-sm-regular-fontWeight);
10910
- line-height: var(--text-body-sm-regular-lineHeight);
10911
- color: var(--fileupload-item-color-default-foreground);
10912
- white-space: nowrap;
10913
- overflow: hidden;
10914
- text-overflow: ellipsis;
10915
- }
10916
-
10917
- .muka-fileupload-item--error .muka-fileupload-item__name {
10918
- color: var(--fileupload-item-color-error-foreground);
10919
- }
10920
-
10921
- .muka-fileupload-item__meta {
10922
- font-family: var(--text-label-sm-regular-fontFamily);
10923
- font-size: var(--text-label-sm-regular-fontSize);
10924
- font-weight: var(--text-label-sm-regular-fontWeight);
10925
- line-height: var(--text-label-sm-regular-lineHeight);
10926
- color: var(--color-text-subtle-default);
10927
- }
10928
-
10929
- .muka-fileupload-item__error {
10930
- color: var(--fileupload-item-color-error-foreground);
10931
- }
10932
-
10933
- .muka-fileupload-item__progress {
10934
- margin-top: var(--spacing-1);
10935
- }
10936
-
10937
- /* Actions */
10938
- .muka-fileupload-item__actions {
10939
- display: flex;
10940
- align-items: center;
10941
- gap: var(--spacing-2);
10942
- flex-shrink: 0;
10943
- }
10944
-
10945
- .muka-fileupload-item__status-icon--success {
10946
- color: var(--fileupload-item-color-success-foreground);
10947
- }
10948
-
10949
- .muka-fileupload-item__status-icon--error {
10950
- color: var(--fileupload-item-color-error-foreground);
10951
- }
10952
-
10953
- .muka-fileupload-item__remove {
10954
- opacity: 0.7;
10955
- }
10956
-
10957
- .muka-fileupload-item__remove:hover {
10958
- opacity: 1;
10959
- }
10960
-
10961
-
10962
- /* FAB */
10963
- /* FAB (Floating Action Button) Component Styles */
10964
-
10965
- .muka-fab {
10966
- position: fixed;
10967
- z-index: 40;
10968
-
10969
- display: inline-flex;
10970
- align-items: center;
10971
- justify-content: center;
10972
- gap: var(--spacing-2);
10973
-
10974
- border: none;
10975
- cursor: pointer;
10976
- font-family: inherit;
10977
- box-shadow: var(--shadow-level4);
10978
-
10979
- transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
10980
- -webkit-tap-highlight-color: transparent;
10981
- }
10982
-
10983
- .muka-fab:active {
10984
- transform: scale(0.96);
10985
- box-shadow: var(--shadow-level3);
10986
- }
10987
-
10988
- .muka-fab:focus-visible {
10989
- outline: 2px solid var(--color-action-default);
10990
- outline-offset: 2px;
10991
- }
10992
-
10993
- .muka-fab:disabled {
10994
- opacity: 0.5;
10995
- cursor: not-allowed;
10996
- box-shadow: none;
10997
- }
10998
-
10999
- /* ─── Variants ────────────────────────────────────────── */
11000
-
11001
- .muka-fab--primary {
11002
- background-color: var(--color-action-default);
11003
- color: var(--color-text-default-inverse);
11004
- }
11005
-
11006
- .muka-fab--primary:hover:not(:disabled) {
11007
- background-color: var(--color-action-hover);
11008
- }
11009
-
11010
- .muka-fab--secondary {
11011
- background-color: var(--color-surface-level3);
11012
- color: var(--color-text-default-default);
11013
- }
11014
-
11015
- .muka-fab--secondary:hover:not(:disabled) {
11016
- background-color: var(--color-surface-level2);
11017
- }
11018
-
11019
- /* ─── Sizes (circular by default) ─────────────────────── */
11020
-
11021
- .muka-fab--md {
11022
- width: 56px;
11023
- height: 56px;
11024
- border-radius: 50%;
11041
+ margin: 0;
11042
+ padding: 0;
11025
11043
  }
11026
11044
 
11027
- .muka-fab--lg {
11028
- width: 64px;
11029
- height: 64px;
11030
- border-radius: 50%;
11045
+ .muka-fileupload__list li {
11046
+ margin: 0;
11047
+ padding: 0;
11031
11048
  }
11032
11049
 
11033
- /* ─── Extended (pill shape with label) ────────────────── */
11050
+ /* File item */
11051
+ .muka-fileupload-item {
11052
+ display: flex;
11053
+ align-items: center;
11054
+ gap: var(--fileupload-item-gap);
11055
+ padding: var(--fileupload-item-padding-y) var(--fileupload-item-padding-x);
11056
+ background-color: var(--fileupload-item-color-default-background);
11057
+ border-radius: var(--fileupload-item-radius);
11058
+ }
11034
11059
 
11035
- .muka-fab--extended {
11036
- width: auto;
11037
- height: auto;
11038
- padding: var(--spacing-3) var(--spacing-4);
11039
- border-radius: var(--radius-full);
11060
+ .muka-fileupload-item--error {
11061
+ background-color: var(--fileupload-item-color-error-background);
11040
11062
  }
11041
11063
 
11042
- .muka-fab--extended.muka-fab--lg {
11043
- padding: var(--spacing-4) var(--spacing-5);
11064
+ .muka-fileupload-item--success {
11065
+ background-color: var(--fileupload-item-color-default-background);
11044
11066
  }
11045
11067
 
11046
- .muka-fab__icon {
11047
- display: inline-flex;
11068
+ /* Preview/Icon container */
11069
+ .muka-fileupload-item__preview {
11070
+ display: flex;
11048
11071
  align-items: center;
11049
11072
  justify-content: center;
11050
- width: 24px;
11051
- height: 24px;
11073
+ flex-shrink: 0;
11074
+ width: var(--fileupload-preview-size);
11075
+ height: var(--fileupload-preview-size);
11076
+ border-radius: var(--fileupload-preview-radius);
11077
+ overflow: hidden;
11078
+ background-color: var(--color-surface-level1);
11052
11079
  }
11053
11080
 
11054
- .muka-fab__icon svg {
11081
+ .muka-fileupload-item__thumbnail {
11055
11082
  width: 100%;
11056
11083
  height: 100%;
11084
+ object-fit: cover;
11057
11085
  }
11058
11086
 
11059
- .muka-fab__label {
11060
- font-family: var(--text-label-md-semibold-fontFamily);
11061
- font-weight: var(--text-label-md-semibold-fontWeight);
11062
- font-size: var(--text-label-md-semibold-fontSize);
11063
- line-height: var(--text-label-md-semibold-lineHeight);
11087
+ .muka-fileupload-item__icon {
11088
+ color: var(--color-text-subtle-default);
11064
11089
  }
11065
11090
 
11066
- /* ─── Positioning ─────────────────────────────────────── */
11091
+ /* File info */
11092
+ .muka-fileupload-item__info {
11093
+ flex: 1;
11094
+ min-width: 0;
11095
+ display: flex;
11096
+ flex-direction: column;
11097
+ gap: var(--spacing-1);
11098
+ }
11067
11099
 
11068
- .muka-fab--bottom-right {
11069
- right: var(--spacing-4);
11070
- bottom: var(--spacing-4);
11100
+ .muka-fileupload-item__name {
11101
+ font-family: var(--text-body-sm-regular-fontFamily);
11102
+ font-size: var(--text-body-sm-regular-fontSize);
11103
+ font-weight: var(--text-body-sm-regular-fontWeight);
11104
+ line-height: var(--text-body-sm-regular-lineHeight);
11105
+ color: var(--fileupload-item-color-default-foreground);
11106
+ white-space: nowrap;
11107
+ overflow: hidden;
11108
+ text-overflow: ellipsis;
11071
11109
  }
11072
11110
 
11073
- .muka-fab--bottom-left {
11074
- left: var(--spacing-4);
11075
- bottom: var(--spacing-4);
11111
+ .muka-fileupload-item--error .muka-fileupload-item__name {
11112
+ color: var(--fileupload-item-color-error-foreground);
11076
11113
  }
11077
11114
 
11078
- .muka-fab--bottom-center {
11079
- left: 50%;
11080
- bottom: var(--spacing-4);
11081
- transform: translateX(-50%);
11115
+ .muka-fileupload-item__meta {
11116
+ font-family: var(--text-label-sm-regular-fontFamily);
11117
+ font-size: var(--text-label-sm-regular-fontSize);
11118
+ font-weight: var(--text-label-sm-regular-fontWeight);
11119
+ line-height: var(--text-label-sm-regular-lineHeight);
11120
+ color: var(--color-text-subtle-default);
11082
11121
  }
11083
11122
 
11084
- .muka-fab--bottom-center:active {
11085
- transform: translateX(-50%) scale(0.96);
11123
+ .muka-fileupload-item__error {
11124
+ color: var(--fileupload-item-color-error-foreground);
11086
11125
  }
11087
11126
 
11088
- /* Add the iOS home-indicator inset to the bottom offset. */
11089
- .muka-fab:not(.muka-fab--no-safe-area) {
11090
- bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom));
11127
+ .muka-fileupload-item__progress {
11128
+ margin-top: var(--spacing-1);
11091
11129
  }
11092
11130
 
11093
- /* Lateral safe-area for landscape iPhone with notch. */
11094
- .muka-fab--bottom-right:not(.muka-fab--no-safe-area) {
11095
- right: max(var(--spacing-4), env(safe-area-inset-right));
11131
+ /* Actions */
11132
+ .muka-fileupload-item__actions {
11133
+ display: flex;
11134
+ align-items: center;
11135
+ gap: var(--spacing-2);
11136
+ flex-shrink: 0;
11096
11137
  }
11097
11138
 
11098
- .muka-fab--bottom-left:not(.muka-fab--no-safe-area) {
11099
- left: max(var(--spacing-4), env(safe-area-inset-left));
11139
+ .muka-fileupload-item__status-icon--success {
11140
+ color: var(--fileupload-item-color-success-foreground);
11141
+ }
11142
+
11143
+ .muka-fileupload-item__status-icon--error {
11144
+ color: var(--fileupload-item-color-error-foreground);
11145
+ }
11146
+
11147
+ .muka-fileupload-item__remove {
11148
+ opacity: 0.7;
11149
+ }
11150
+
11151
+ .muka-fileupload-item__remove:hover {
11152
+ opacity: 1;
11100
11153
  }
11101
11154
 
11102
11155
 
@@ -11486,8 +11539,149 @@ li.muka-listitem {
11486
11539
  line-height: var(--text-label-sm-regular-lineHeight);
11487
11540
  }
11488
11541
 
11489
- .muka-dropdown-select__menu {
11490
- /* Uses Menu min-width (280px); grows with long labels; left-aligned to the field. */
11542
+ .muka-dropdown-select__menu {
11543
+ /* Uses Menu min-width (280px); grows with long labels; left-aligned to the field. */
11544
+ }
11545
+
11546
+
11547
+ /* FAB */
11548
+ /* FAB (Floating Action Button) Component Styles */
11549
+
11550
+ .muka-fab {
11551
+ position: fixed;
11552
+ z-index: 40;
11553
+
11554
+ display: inline-flex;
11555
+ align-items: center;
11556
+ justify-content: center;
11557
+ gap: var(--spacing-2);
11558
+
11559
+ border: none;
11560
+ cursor: pointer;
11561
+ font-family: inherit;
11562
+ box-shadow: var(--shadow-level4);
11563
+
11564
+ transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
11565
+ -webkit-tap-highlight-color: transparent;
11566
+ }
11567
+
11568
+ .muka-fab:active {
11569
+ transform: scale(0.96);
11570
+ box-shadow: var(--shadow-level3);
11571
+ }
11572
+
11573
+ .muka-fab:focus-visible {
11574
+ outline: 2px solid var(--color-action-default);
11575
+ outline-offset: 2px;
11576
+ }
11577
+
11578
+ .muka-fab:disabled {
11579
+ opacity: 0.5;
11580
+ cursor: not-allowed;
11581
+ box-shadow: none;
11582
+ }
11583
+
11584
+ /* ─── Variants ────────────────────────────────────────── */
11585
+
11586
+ .muka-fab--primary {
11587
+ background-color: var(--color-action-default);
11588
+ color: var(--color-text-default-inverse);
11589
+ }
11590
+
11591
+ .muka-fab--primary:hover:not(:disabled) {
11592
+ background-color: var(--color-action-hover);
11593
+ }
11594
+
11595
+ .muka-fab--secondary {
11596
+ background-color: var(--color-surface-level3);
11597
+ color: var(--color-text-default-default);
11598
+ }
11599
+
11600
+ .muka-fab--secondary:hover:not(:disabled) {
11601
+ background-color: var(--color-surface-level2);
11602
+ }
11603
+
11604
+ /* ─── Sizes (circular by default) ─────────────────────── */
11605
+
11606
+ .muka-fab--md {
11607
+ width: 56px;
11608
+ height: 56px;
11609
+ border-radius: 50%;
11610
+ }
11611
+
11612
+ .muka-fab--lg {
11613
+ width: 64px;
11614
+ height: 64px;
11615
+ border-radius: 50%;
11616
+ }
11617
+
11618
+ /* ─── Extended (pill shape with label) ────────────────── */
11619
+
11620
+ .muka-fab--extended {
11621
+ width: auto;
11622
+ height: auto;
11623
+ padding: var(--spacing-3) var(--spacing-4);
11624
+ border-radius: var(--radius-full);
11625
+ }
11626
+
11627
+ .muka-fab--extended.muka-fab--lg {
11628
+ padding: var(--spacing-4) var(--spacing-5);
11629
+ }
11630
+
11631
+ .muka-fab__icon {
11632
+ display: inline-flex;
11633
+ align-items: center;
11634
+ justify-content: center;
11635
+ width: 24px;
11636
+ height: 24px;
11637
+ }
11638
+
11639
+ .muka-fab__icon svg {
11640
+ width: 100%;
11641
+ height: 100%;
11642
+ }
11643
+
11644
+ .muka-fab__label {
11645
+ font-family: var(--text-label-md-semibold-fontFamily);
11646
+ font-weight: var(--text-label-md-semibold-fontWeight);
11647
+ font-size: var(--text-label-md-semibold-fontSize);
11648
+ line-height: var(--text-label-md-semibold-lineHeight);
11649
+ }
11650
+
11651
+ /* ─── Positioning ─────────────────────────────────────── */
11652
+
11653
+ .muka-fab--bottom-right {
11654
+ right: var(--spacing-4);
11655
+ bottom: var(--spacing-4);
11656
+ }
11657
+
11658
+ .muka-fab--bottom-left {
11659
+ left: var(--spacing-4);
11660
+ bottom: var(--spacing-4);
11661
+ }
11662
+
11663
+ .muka-fab--bottom-center {
11664
+ left: 50%;
11665
+ bottom: var(--spacing-4);
11666
+ transform: translateX(-50%);
11667
+ }
11668
+
11669
+ .muka-fab--bottom-center:active {
11670
+ transform: translateX(-50%) scale(0.96);
11671
+ }
11672
+
11673
+ /* Add the iOS home-indicator inset to the bottom offset. */
11674
+ .muka-fab:not(.muka-fab--no-safe-area) {
11675
+ bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom));
11676
+ }
11677
+
11678
+ /* Lateral safe-area for landscape iPhone with notch. */
11679
+ .muka-fab--bottom-right:not(.muka-fab--no-safe-area) {
11680
+ right: max(var(--spacing-4), env(safe-area-inset-right));
11681
+ }
11682
+
11683
+ .muka-fab--bottom-left:not(.muka-fab--no-safe-area) {
11684
+ left: max(var(--spacing-4), env(safe-area-inset-left));
11491
11685
  }
11492
11686
 
11493
11687
 
@@ -14138,74 +14332,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
14138
14332
  }
14139
14333
 
14140
14334
 
14141
- /* ChatMessageStack */
14142
- /* ChatMessageStack Component Styles */
14143
-
14144
- .muka-chat-message-stack {
14145
- display: flex;
14146
- flex-direction: column;
14147
- gap: var(--chatbubble-stack-gap);
14148
- width: 100%;
14149
- max-width: 100%;
14150
- }
14151
-
14152
- .muka-chat-message-stack__messages {
14153
- display: flex;
14154
- flex-direction: column;
14155
- gap: var(--chatbubble-stack-gap);
14156
- width: 100%;
14157
- }
14158
-
14159
- /*
14160
- * Reasoning sits above the stack, indented past the avatar rail so it lines up
14161
- * with the bubbles rather than with the avatar (Figma 5379:47300).
14162
- */
14163
- .muka-chat-message-stack__reasoning {
14164
- min-width: 0;
14165
- }
14166
-
14167
- /* In-thread widgets after the messages share the reasoning's indent. */
14168
- .muka-chat-message-stack__widgets {
14169
- display: flex;
14170
- flex-direction: column;
14171
- gap: var(--chatbubble-stack-gap);
14172
- min-width: 0;
14173
- }
14174
-
14175
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14176
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14177
- padding-left: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14178
- }
14179
-
14180
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14181
- .muka-chat-message-stack__widgets,
14182
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14183
- .muka-chat-message-stack__reasoning {
14184
- padding-left: 0;
14185
- padding-right: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14186
- }
14187
-
14188
- /* Follow the message's compact rail and gap below the desktop breakpoint */
14189
- @media (max-width: 1023px) {
14190
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14191
- .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14192
- padding-left: calc(
14193
- var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14194
- );
14195
- }
14196
-
14197
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14198
- .muka-chat-message-stack__widgets,
14199
- .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14200
- .muka-chat-message-stack__reasoning {
14201
- padding-left: 0;
14202
- padding-right: calc(
14203
- var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14204
- );
14205
- }
14206
- }
14207
-
14208
-
14209
14335
  /* ChatMessageList */
14210
14336
  /* ChatMessageList Component Styles */
14211
14337
 
@@ -14580,6 +14706,74 @@ button.muka-chat-photo-grid__tile:focus-visible {
14580
14706
  }
14581
14707
 
14582
14708
 
14709
+ /* ChatMessageStack */
14710
+ /* ChatMessageStack Component Styles */
14711
+
14712
+ .muka-chat-message-stack {
14713
+ display: flex;
14714
+ flex-direction: column;
14715
+ gap: var(--chatbubble-stack-gap);
14716
+ width: 100%;
14717
+ max-width: 100%;
14718
+ }
14719
+
14720
+ .muka-chat-message-stack__messages {
14721
+ display: flex;
14722
+ flex-direction: column;
14723
+ gap: var(--chatbubble-stack-gap);
14724
+ width: 100%;
14725
+ }
14726
+
14727
+ /*
14728
+ * Reasoning sits above the stack, indented past the avatar rail so it lines up
14729
+ * with the bubbles rather than with the avatar (Figma 5379:47300).
14730
+ */
14731
+ .muka-chat-message-stack__reasoning {
14732
+ min-width: 0;
14733
+ }
14734
+
14735
+ /* In-thread widgets after the messages share the reasoning's indent. */
14736
+ .muka-chat-message-stack__widgets {
14737
+ display: flex;
14738
+ flex-direction: column;
14739
+ gap: var(--chatbubble-stack-gap);
14740
+ min-width: 0;
14741
+ }
14742
+
14743
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14744
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14745
+ padding-left: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14746
+ }
14747
+
14748
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14749
+ .muka-chat-message-stack__widgets,
14750
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14751
+ .muka-chat-message-stack__reasoning {
14752
+ padding-left: 0;
14753
+ padding-right: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
14754
+ }
14755
+
14756
+ /* Follow the message's compact rail and gap below the desktop breakpoint */
14757
+ @media (max-width: 1023px) {
14758
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
14759
+ .muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
14760
+ padding-left: calc(
14761
+ var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14762
+ );
14763
+ }
14764
+
14765
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14766
+ .muka-chat-message-stack__widgets,
14767
+ .muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
14768
+ .muka-chat-message-stack__reasoning {
14769
+ padding-left: 0;
14770
+ padding-right: calc(
14771
+ var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
14772
+ );
14773
+ }
14774
+ }
14775
+
14776
+
14583
14777
  /* ChatComposer */
14584
14778
  /* ChatComposer Component Styles */
14585
14779
 
@@ -17559,111 +17753,3 @@ button.muka-chat-photo-grid__tile:focus-visible {
17559
17753
  border-bottom: none;
17560
17754
  }
17561
17755
 
17562
-
17563
- /* SwipeActions */
17564
- /* SwipeActions Component Styles */
17565
-
17566
- .muka-swipe-actions {
17567
- position: relative;
17568
- overflow: hidden;
17569
- touch-action: pan-y;
17570
- -webkit-user-select: none;
17571
- user-select: none;
17572
- background-color: var(--color-surface-level3);
17573
- }
17574
-
17575
- .muka-swipe-actions--disabled {
17576
- touch-action: auto;
17577
- }
17578
-
17579
- /* ─── Row that holds the actual content ────────────────── */
17580
-
17581
- .muka-swipe-actions__row {
17582
- position: relative;
17583
- z-index: 1;
17584
- background-color: inherit;
17585
- will-change: transform;
17586
- }
17587
-
17588
- /* ─── Action panels — sit beneath the row ──────────────── */
17589
-
17590
- .muka-swipe-actions__panel {
17591
- position: absolute;
17592
- top: 0;
17593
- bottom: 0;
17594
- display: flex;
17595
- align-items: stretch;
17596
- z-index: 0;
17597
- }
17598
-
17599
- .muka-swipe-actions__panel--left {
17600
- left: 0;
17601
- }
17602
-
17603
- .muka-swipe-actions__panel--right {
17604
- right: 0;
17605
- }
17606
-
17607
- /* ─── Single action button ─────────────────────────────── */
17608
-
17609
- .muka-swipe-actions__button {
17610
- display: flex;
17611
- flex-direction: column;
17612
- align-items: center;
17613
- justify-content: center;
17614
- gap: var(--spacing-1);
17615
- border: none;
17616
- cursor: pointer;
17617
- padding: var(--spacing-2);
17618
- background-color: var(--color-surface-level2);
17619
- color: var(--color-text-default-default);
17620
- font-family: var(--text-label-sm-semibold-fontFamily);
17621
- font-weight: var(--text-label-sm-semibold-fontWeight);
17622
- font-size: var(--text-label-sm-semibold-fontSize);
17623
- line-height: var(--text-label-sm-semibold-lineHeight);
17624
- -webkit-tap-highlight-color: transparent;
17625
- transition: filter 0.12s ease;
17626
- }
17627
-
17628
- .muka-swipe-actions__button:hover {
17629
- filter: brightness(0.95);
17630
- }
17631
-
17632
- .muka-swipe-actions__button:focus-visible {
17633
- outline: 2px solid var(--color-action-default);
17634
- outline-offset: -2px;
17635
- }
17636
-
17637
- .muka-swipe-actions__button-icon {
17638
- display: inline-flex;
17639
- align-items: center;
17640
- justify-content: center;
17641
- }
17642
-
17643
- /* ─── Color variants ───────────────────────────────────── */
17644
-
17645
- .muka-swipe-actions__button--neutral {
17646
- background-color: var(--color-surface-level2);
17647
- color: var(--color-text-default-default);
17648
- }
17649
-
17650
- .muka-swipe-actions__button--primary {
17651
- background-color: var(--color-action-default);
17652
- color: var(--color-text-default-inverse);
17653
- }
17654
-
17655
- .muka-swipe-actions__button--success {
17656
- background-color: var(--color-state-success-default);
17657
- color: var(--color-text-default-inverse);
17658
- }
17659
-
17660
- .muka-swipe-actions__button--warning {
17661
- background-color: var(--color-state-warning-default);
17662
- color: var(--color-text-default-default);
17663
- }
17664
-
17665
- .muka-swipe-actions__button--destructive {
17666
- background-color: var(--color-state-error-default);
17667
- color: var(--color-text-default-inverse);
17668
- }
17669
-