@revikornmann/muka-ui 0.55.0 → 0.57.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.
- package/dist/cjs/components/ListItem/ListItem.css +37 -0
- package/dist/cjs/components/ListItem/ListItem.js +2 -1
- package/dist/cjs/components/ListItem/ListItem.js.map +1 -1
- package/dist/cjs/components/Page/Page.css +22 -2
- package/dist/cjs/components/Page/Page.js +5 -2
- package/dist/cjs/components/Page/Page.js.map +1 -1
- package/dist/cjs/components/ProfileBadge/ProfileBadge.css +37 -0
- package/dist/cjs/components/ProfileBadge/ProfileBadge.js +7 -2
- package/dist/cjs/components/ProfileBadge/ProfileBadge.js.map +1 -1
- package/dist/esm/components/ListItem/ListItem.css +37 -0
- package/dist/esm/components/ListItem/ListItem.js +2 -1
- package/dist/esm/components/ListItem/ListItem.js.map +1 -1
- package/dist/esm/components/Page/Page.css +22 -2
- package/dist/esm/components/Page/Page.js +5 -2
- package/dist/esm/components/Page/Page.js.map +1 -1
- package/dist/esm/components/ProfileBadge/ProfileBadge.css +37 -0
- package/dist/esm/components/ProfileBadge/ProfileBadge.js +7 -2
- package/dist/esm/components/ProfileBadge/ProfileBadge.js.map +1 -1
- package/dist/styles/components/ListItem.css +37 -0
- package/dist/styles/components/Page.css +22 -2
- package/dist/styles/components/ProfileBadge.css +37 -0
- package/dist/styles/index.css +318 -224
- package/dist/styles/muka-dark.css +318 -224
- package/dist/styles/muka-light.css +318 -224
- package/dist/styles/wireframe-dark.css +318 -224
- package/dist/styles/wireframe-light.css +318 -224
- package/dist/types/components/ListItem/ListItem.d.ts +7 -0
- package/dist/types/components/ListItem/ListItem.d.ts.map +1 -1
- package/dist/types/components/Page/Page.d.ts +11 -0
- package/dist/types/components/Page/Page.d.ts.map +1 -1
- package/dist/types/components/ProfileBadge/ProfileBadge.d.ts +13 -1
- package/dist/types/components/ProfileBadge/ProfileBadge.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/styles/index.css
CHANGED
|
@@ -2574,6 +2574,38 @@ body {
|
|
|
2574
2574
|
}
|
|
2575
2575
|
|
|
2576
2576
|
|
|
2577
|
+
/* VoiceMessage */
|
|
2578
|
+
/* VoiceMessage Component Styles */
|
|
2579
|
+
|
|
2580
|
+
.muka-voice-message {
|
|
2581
|
+
display: flex;
|
|
2582
|
+
align-items: center;
|
|
2583
|
+
gap: var(--spacing-3);
|
|
2584
|
+
width: 100%;
|
|
2585
|
+
min-width: min(16rem, 60vw);
|
|
2586
|
+
}
|
|
2587
|
+
|
|
2588
|
+
.muka-voice-message__wave {
|
|
2589
|
+
flex: 1 1 auto;
|
|
2590
|
+
min-width: 0;
|
|
2591
|
+
}
|
|
2592
|
+
|
|
2593
|
+
.muka-voice-message__time {
|
|
2594
|
+
flex: 0 0 auto;
|
|
2595
|
+
white-space: nowrap;
|
|
2596
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
2597
|
+
line-height: var(--text-label-sm-leading);
|
|
2598
|
+
font-variant-numeric: tabular-nums;
|
|
2599
|
+
color: var(--color-text-subtle-default);
|
|
2600
|
+
}
|
|
2601
|
+
|
|
2602
|
+
/* On the tinted own bubble the surface is the action color, so the timer flips
|
|
2603
|
+
* to the inverse text token for contrast. */
|
|
2604
|
+
.muka-voice-message--own .muka-voice-message__time {
|
|
2605
|
+
color: var(--color-text-default-inverse);
|
|
2606
|
+
}
|
|
2607
|
+
|
|
2608
|
+
|
|
2577
2609
|
/* View */
|
|
2578
2610
|
/* View Component Styles */
|
|
2579
2611
|
|
|
@@ -2788,38 +2820,6 @@ body {
|
|
|
2788
2820
|
}
|
|
2789
2821
|
|
|
2790
2822
|
|
|
2791
|
-
/* VoiceMessage */
|
|
2792
|
-
/* VoiceMessage Component Styles */
|
|
2793
|
-
|
|
2794
|
-
.muka-voice-message {
|
|
2795
|
-
display: flex;
|
|
2796
|
-
align-items: center;
|
|
2797
|
-
gap: var(--spacing-3);
|
|
2798
|
-
width: 100%;
|
|
2799
|
-
min-width: min(16rem, 60vw);
|
|
2800
|
-
}
|
|
2801
|
-
|
|
2802
|
-
.muka-voice-message__wave {
|
|
2803
|
-
flex: 1 1 auto;
|
|
2804
|
-
min-width: 0;
|
|
2805
|
-
}
|
|
2806
|
-
|
|
2807
|
-
.muka-voice-message__time {
|
|
2808
|
-
flex: 0 0 auto;
|
|
2809
|
-
white-space: nowrap;
|
|
2810
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
2811
|
-
line-height: var(--text-label-sm-leading);
|
|
2812
|
-
font-variant-numeric: tabular-nums;
|
|
2813
|
-
color: var(--color-text-subtle-default);
|
|
2814
|
-
}
|
|
2815
|
-
|
|
2816
|
-
/* On the tinted own bubble the surface is the action color, so the timer flips
|
|
2817
|
-
* to the inverse text token for contrast. */
|
|
2818
|
-
.muka-voice-message--own .muka-voice-message__time {
|
|
2819
|
-
color: var(--color-text-default-inverse);
|
|
2820
|
-
}
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
2823
|
/* TypingIndicator */
|
|
2824
2824
|
/* TypingIndicator Component Styles */
|
|
2825
2825
|
|
|
@@ -4251,88 +4251,6 @@ body {
|
|
|
4251
4251
|
}
|
|
4252
4252
|
|
|
4253
4253
|
|
|
4254
|
-
/* TextLink */
|
|
4255
|
-
/* TextLink Component Styles - Using Muka Design Tokens */
|
|
4256
|
-
|
|
4257
|
-
.muka-text-link {
|
|
4258
|
-
display: inline;
|
|
4259
|
-
cursor: pointer;
|
|
4260
|
-
text-decoration: underline;
|
|
4261
|
-
/* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
|
|
4262
|
-
text-underline-offset: 0.2em;
|
|
4263
|
-
text-decoration-thickness: from-font;
|
|
4264
|
-
/* Rounds the focus ring's corners; the link itself has no visible box. */
|
|
4265
|
-
border-radius: var(--border-radius-sm);
|
|
4266
|
-
transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
|
|
4267
|
-
}
|
|
4268
|
-
|
|
4269
|
-
/* ─── Sizes ───────────────────────────────────────────────
|
|
4270
|
-
Mirrors the body text scale so a link matches the copy it sits in. */
|
|
4271
|
-
.muka-text-link--sm {
|
|
4272
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
4273
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
4274
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
4275
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
4276
|
-
}
|
|
4277
|
-
|
|
4278
|
-
.muka-text-link--base {
|
|
4279
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
4280
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
4281
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
4282
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
4283
|
-
}
|
|
4284
|
-
|
|
4285
|
-
.muka-text-link--lg {
|
|
4286
|
-
font-family: var(--text-body-lg-regular-fontFamily);
|
|
4287
|
-
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
4288
|
-
font-size: var(--text-body-lg-regular-fontSize);
|
|
4289
|
-
line-height: var(--text-body-lg-regular-lineHeight);
|
|
4290
|
-
}
|
|
4291
|
-
|
|
4292
|
-
/* ─── Variant: default (accent) ───────────────────────────
|
|
4293
|
-
Visited repeats the default colour on purpose: the design treats visited and
|
|
4294
|
-
default the same, and pinning it stops the browser's purple from showing. */
|
|
4295
|
-
.muka-text-link--default,
|
|
4296
|
-
.muka-text-link--default:visited {
|
|
4297
|
-
color: var(--color-text-action-default);
|
|
4298
|
-
}
|
|
4299
|
-
|
|
4300
|
-
.muka-text-link--default:hover,
|
|
4301
|
-
.muka-text-link--default:focus-visible {
|
|
4302
|
-
color: var(--color-text-action-hover);
|
|
4303
|
-
}
|
|
4304
|
-
|
|
4305
|
-
.muka-text-link--default:active {
|
|
4306
|
-
color: var(--color-text-action-pressed);
|
|
4307
|
-
}
|
|
4308
|
-
|
|
4309
|
-
/* ─── Variant: subtle (neutral) ───────────────────────────
|
|
4310
|
-
Hover, focus and pressed all darken to the default text colour. */
|
|
4311
|
-
.muka-text-link--subtle,
|
|
4312
|
-
.muka-text-link--subtle:visited {
|
|
4313
|
-
color: var(--color-text-subtle-default);
|
|
4314
|
-
}
|
|
4315
|
-
|
|
4316
|
-
.muka-text-link--subtle:hover,
|
|
4317
|
-
.muka-text-link--subtle:focus-visible,
|
|
4318
|
-
.muka-text-link--subtle:active {
|
|
4319
|
-
color: var(--color-text-default-default);
|
|
4320
|
-
}
|
|
4321
|
-
|
|
4322
|
-
/* ─── Focus ───────────────────────────────────────────────
|
|
4323
|
-
Same ring as every other focusable Muka component. */
|
|
4324
|
-
.muka-text-link:focus-visible {
|
|
4325
|
-
outline: 2px solid var(--color-border-focus);
|
|
4326
|
-
outline-offset: 2px;
|
|
4327
|
-
}
|
|
4328
|
-
|
|
4329
|
-
@media (prefers-reduced-motion: reduce) {
|
|
4330
|
-
.muka-text-link {
|
|
4331
|
-
transition: none;
|
|
4332
|
-
}
|
|
4333
|
-
}
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
4254
|
/* Textarea */
|
|
4337
4255
|
/* Textarea Component Styles - Using Muka Design Tokens */
|
|
4338
4256
|
|
|
@@ -4687,6 +4605,88 @@ body {
|
|
|
4687
4605
|
}
|
|
4688
4606
|
|
|
4689
4607
|
|
|
4608
|
+
/* TextLink */
|
|
4609
|
+
/* TextLink Component Styles - Using Muka Design Tokens */
|
|
4610
|
+
|
|
4611
|
+
.muka-text-link {
|
|
4612
|
+
display: inline;
|
|
4613
|
+
cursor: pointer;
|
|
4614
|
+
text-decoration: underline;
|
|
4615
|
+
/* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
|
|
4616
|
+
text-underline-offset: 0.2em;
|
|
4617
|
+
text-decoration-thickness: from-font;
|
|
4618
|
+
/* Rounds the focus ring's corners; the link itself has no visible box. */
|
|
4619
|
+
border-radius: var(--border-radius-sm);
|
|
4620
|
+
transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
|
|
4621
|
+
}
|
|
4622
|
+
|
|
4623
|
+
/* ─── Sizes ───────────────────────────────────────────────
|
|
4624
|
+
Mirrors the body text scale so a link matches the copy it sits in. */
|
|
4625
|
+
.muka-text-link--sm {
|
|
4626
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
4627
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
4628
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
4629
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
4630
|
+
}
|
|
4631
|
+
|
|
4632
|
+
.muka-text-link--base {
|
|
4633
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
4634
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
4635
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
4636
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
4637
|
+
}
|
|
4638
|
+
|
|
4639
|
+
.muka-text-link--lg {
|
|
4640
|
+
font-family: var(--text-body-lg-regular-fontFamily);
|
|
4641
|
+
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
4642
|
+
font-size: var(--text-body-lg-regular-fontSize);
|
|
4643
|
+
line-height: var(--text-body-lg-regular-lineHeight);
|
|
4644
|
+
}
|
|
4645
|
+
|
|
4646
|
+
/* ─── Variant: default (accent) ───────────────────────────
|
|
4647
|
+
Visited repeats the default colour on purpose: the design treats visited and
|
|
4648
|
+
default the same, and pinning it stops the browser's purple from showing. */
|
|
4649
|
+
.muka-text-link--default,
|
|
4650
|
+
.muka-text-link--default:visited {
|
|
4651
|
+
color: var(--color-text-action-default);
|
|
4652
|
+
}
|
|
4653
|
+
|
|
4654
|
+
.muka-text-link--default:hover,
|
|
4655
|
+
.muka-text-link--default:focus-visible {
|
|
4656
|
+
color: var(--color-text-action-hover);
|
|
4657
|
+
}
|
|
4658
|
+
|
|
4659
|
+
.muka-text-link--default:active {
|
|
4660
|
+
color: var(--color-text-action-pressed);
|
|
4661
|
+
}
|
|
4662
|
+
|
|
4663
|
+
/* ─── Variant: subtle (neutral) ───────────────────────────
|
|
4664
|
+
Hover, focus and pressed all darken to the default text colour. */
|
|
4665
|
+
.muka-text-link--subtle,
|
|
4666
|
+
.muka-text-link--subtle:visited {
|
|
4667
|
+
color: var(--color-text-subtle-default);
|
|
4668
|
+
}
|
|
4669
|
+
|
|
4670
|
+
.muka-text-link--subtle:hover,
|
|
4671
|
+
.muka-text-link--subtle:focus-visible,
|
|
4672
|
+
.muka-text-link--subtle:active {
|
|
4673
|
+
color: var(--color-text-default-default);
|
|
4674
|
+
}
|
|
4675
|
+
|
|
4676
|
+
/* ─── Focus ───────────────────────────────────────────────
|
|
4677
|
+
Same ring as every other focusable Muka component. */
|
|
4678
|
+
.muka-text-link:focus-visible {
|
|
4679
|
+
outline: 2px solid var(--color-border-focus);
|
|
4680
|
+
outline-offset: 2px;
|
|
4681
|
+
}
|
|
4682
|
+
|
|
4683
|
+
@media (prefers-reduced-motion: reduce) {
|
|
4684
|
+
.muka-text-link {
|
|
4685
|
+
transition: none;
|
|
4686
|
+
}
|
|
4687
|
+
}
|
|
4688
|
+
|
|
4689
|
+
|
|
4690
4690
|
/* TablePagination */
|
|
4691
4691
|
/* TablePagination Component Styles - Using Muka Design Tokens */
|
|
4692
4692
|
|
|
@@ -5091,114 +5091,6 @@ body {
|
|
|
5091
5091
|
}
|
|
5092
5092
|
|
|
5093
5093
|
|
|
5094
|
-
/* SwipeActions */
|
|
5095
|
-
/* SwipeActions Component Styles */
|
|
5096
|
-
|
|
5097
|
-
.muka-swipe-actions {
|
|
5098
|
-
position: relative;
|
|
5099
|
-
overflow: hidden;
|
|
5100
|
-
touch-action: pan-y;
|
|
5101
|
-
-webkit-user-select: none;
|
|
5102
|
-
user-select: none;
|
|
5103
|
-
background-color: var(--color-surface-level3);
|
|
5104
|
-
}
|
|
5105
|
-
|
|
5106
|
-
.muka-swipe-actions--disabled {
|
|
5107
|
-
touch-action: auto;
|
|
5108
|
-
}
|
|
5109
|
-
|
|
5110
|
-
/* ─── Row that holds the actual content ────────────────── */
|
|
5111
|
-
|
|
5112
|
-
.muka-swipe-actions__row {
|
|
5113
|
-
position: relative;
|
|
5114
|
-
z-index: 1;
|
|
5115
|
-
background-color: inherit;
|
|
5116
|
-
will-change: transform;
|
|
5117
|
-
}
|
|
5118
|
-
|
|
5119
|
-
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
5120
|
-
|
|
5121
|
-
.muka-swipe-actions__panel {
|
|
5122
|
-
position: absolute;
|
|
5123
|
-
top: 0;
|
|
5124
|
-
bottom: 0;
|
|
5125
|
-
display: flex;
|
|
5126
|
-
align-items: stretch;
|
|
5127
|
-
z-index: 0;
|
|
5128
|
-
}
|
|
5129
|
-
|
|
5130
|
-
.muka-swipe-actions__panel--left {
|
|
5131
|
-
left: 0;
|
|
5132
|
-
}
|
|
5133
|
-
|
|
5134
|
-
.muka-swipe-actions__panel--right {
|
|
5135
|
-
right: 0;
|
|
5136
|
-
}
|
|
5137
|
-
|
|
5138
|
-
/* ─── Single action button ─────────────────────────────── */
|
|
5139
|
-
|
|
5140
|
-
.muka-swipe-actions__button {
|
|
5141
|
-
display: flex;
|
|
5142
|
-
flex-direction: column;
|
|
5143
|
-
align-items: center;
|
|
5144
|
-
justify-content: center;
|
|
5145
|
-
gap: var(--spacing-1);
|
|
5146
|
-
border: none;
|
|
5147
|
-
cursor: pointer;
|
|
5148
|
-
padding: var(--spacing-2);
|
|
5149
|
-
background-color: var(--color-surface-level2);
|
|
5150
|
-
color: var(--color-text-default-default);
|
|
5151
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
5152
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
5153
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
5154
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5155
|
-
-webkit-tap-highlight-color: transparent;
|
|
5156
|
-
transition: filter 0.12s ease;
|
|
5157
|
-
}
|
|
5158
|
-
|
|
5159
|
-
.muka-swipe-actions__button:hover {
|
|
5160
|
-
filter: brightness(0.95);
|
|
5161
|
-
}
|
|
5162
|
-
|
|
5163
|
-
.muka-swipe-actions__button:focus-visible {
|
|
5164
|
-
outline: 2px solid var(--color-action-default);
|
|
5165
|
-
outline-offset: -2px;
|
|
5166
|
-
}
|
|
5167
|
-
|
|
5168
|
-
.muka-swipe-actions__button-icon {
|
|
5169
|
-
display: inline-flex;
|
|
5170
|
-
align-items: center;
|
|
5171
|
-
justify-content: center;
|
|
5172
|
-
}
|
|
5173
|
-
|
|
5174
|
-
/* ─── Color variants ───────────────────────────────────── */
|
|
5175
|
-
|
|
5176
|
-
.muka-swipe-actions__button--neutral {
|
|
5177
|
-
background-color: var(--color-surface-level2);
|
|
5178
|
-
color: var(--color-text-default-default);
|
|
5179
|
-
}
|
|
5180
|
-
|
|
5181
|
-
.muka-swipe-actions__button--primary {
|
|
5182
|
-
background-color: var(--color-action-default);
|
|
5183
|
-
color: var(--color-text-default-inverse);
|
|
5184
|
-
}
|
|
5185
|
-
|
|
5186
|
-
.muka-swipe-actions__button--success {
|
|
5187
|
-
background-color: var(--color-state-success-default);
|
|
5188
|
-
color: var(--color-text-default-inverse);
|
|
5189
|
-
}
|
|
5190
|
-
|
|
5191
|
-
.muka-swipe-actions__button--warning {
|
|
5192
|
-
background-color: var(--color-state-warning-default);
|
|
5193
|
-
color: var(--color-text-default-default);
|
|
5194
|
-
}
|
|
5195
|
-
|
|
5196
|
-
.muka-swipe-actions__button--destructive {
|
|
5197
|
-
background-color: var(--color-state-error-default);
|
|
5198
|
-
color: var(--color-text-default-inverse);
|
|
5199
|
-
}
|
|
5200
|
-
|
|
5201
|
-
|
|
5202
5094
|
/* Spinner */
|
|
5203
5095
|
/* Spinner Component Styles */
|
|
5204
5096
|
|
|
@@ -8281,6 +8173,10 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
8281
8173
|
gap: var(--spacing-3); /* 12px */
|
|
8282
8174
|
}
|
|
8283
8175
|
|
|
8176
|
+
.muka-profile-badge--sm {
|
|
8177
|
+
gap: var(--spacing-2); /* 8px */
|
|
8178
|
+
}
|
|
8179
|
+
|
|
8284
8180
|
.muka-profile-badge__avatar {
|
|
8285
8181
|
flex-shrink: 0;
|
|
8286
8182
|
}
|
|
@@ -8333,6 +8229,39 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
8333
8229
|
outline-offset: 2px;
|
|
8334
8230
|
}
|
|
8335
8231
|
|
|
8232
|
+
/* Trailing chevron: the badge opens a menu */
|
|
8233
|
+
.muka-profile-badge__chevron {
|
|
8234
|
+
flex-shrink: 0;
|
|
8235
|
+
}
|
|
8236
|
+
|
|
8237
|
+
/*
|
|
8238
|
+
* A clickable badge with a chevron is a pill (Figma Profile Badge, Bouwplan
|
|
8239
|
+
* header): 4px inset on the avatar side, 12px after the chevron. The border
|
|
8240
|
+
* is an inset shadow so it appears on hover and while the menu is open
|
|
8241
|
+
* without moving the content.
|
|
8242
|
+
*/
|
|
8243
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron {
|
|
8244
|
+
padding: var(--spacing-1) var(--spacing-3) var(--spacing-1) var(--spacing-1);
|
|
8245
|
+
border-radius: var(--radius-full);
|
|
8246
|
+
transition: box-shadow 0.2s ease;
|
|
8247
|
+
}
|
|
8248
|
+
|
|
8249
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
|
|
8250
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:active {
|
|
8251
|
+
opacity: 1;
|
|
8252
|
+
}
|
|
8253
|
+
|
|
8254
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
|
|
8255
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron[aria-expanded='true'],
|
|
8256
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron[data-state='open'] {
|
|
8257
|
+
box-shadow: inset 0 0 0 var(--border-width-regular) var(--button-color-ghost-border-hover);
|
|
8258
|
+
}
|
|
8259
|
+
|
|
8260
|
+
/* A badge without an avatar keeps the 12px start inset */
|
|
8261
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:not(:has(.muka-profile-badge__avatar)) {
|
|
8262
|
+
padding-left: var(--spacing-3);
|
|
8263
|
+
}
|
|
8264
|
+
|
|
8336
8265
|
|
|
8337
8266
|
/* PriceTag */
|
|
8338
8267
|
/* PriceTag Component Styles - Using Muka Design Tokens */
|
|
@@ -9258,8 +9187,28 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9258
9187
|
background-color: var(--color-surface-level3);
|
|
9259
9188
|
}
|
|
9260
9189
|
|
|
9261
|
-
/*
|
|
9262
|
-
|
|
9190
|
+
/*
|
|
9191
|
+
* Actions stick to the bottom edge while the document scrolls, and come to
|
|
9192
|
+
* rest after the content (above a footer). A BottomBar inside clears the home
|
|
9193
|
+
* indicator; this wrapper clears a landscape notch.
|
|
9194
|
+
*/
|
|
9195
|
+
.muka-page__actions {
|
|
9196
|
+
position: sticky;
|
|
9197
|
+
bottom: 0;
|
|
9198
|
+
z-index: 10;
|
|
9199
|
+
flex-shrink: 0;
|
|
9200
|
+
padding-left: env(safe-area-inset-left, 0px);
|
|
9201
|
+
padding-right: env(safe-area-inset-right, 0px);
|
|
9202
|
+
background-color: var(--muka-page-background);
|
|
9203
|
+
}
|
|
9204
|
+
|
|
9205
|
+
/* With a footer, the footer clears the home indicator, not the bar above it. */
|
|
9206
|
+
.muka-page:has(> .muka-page__footer) > .muka-page__actions .muka-bottombar {
|
|
9207
|
+
padding-bottom: 0;
|
|
9208
|
+
}
|
|
9209
|
+
|
|
9210
|
+
/* Without a footer or actions, the content is last and clears the home indicator. */
|
|
9211
|
+
.muka-page:not(:has(> .muka-page__footer)):not(:has(> .muka-page__actions)) > .muka-page__main {
|
|
9263
9212
|
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
9264
9213
|
}
|
|
9265
9214
|
|
|
@@ -10287,6 +10236,43 @@ li.muka-listitem {
|
|
|
10287
10236
|
display: none;
|
|
10288
10237
|
}
|
|
10289
10238
|
|
|
10239
|
+
/* ─── Compact padding ──────────────────────────────────── */
|
|
10240
|
+
|
|
10241
|
+
/*
|
|
10242
|
+
* Figma ListItem × Padding=Compact: an 8px inset, 12px between leading and
|
|
10243
|
+
* label, a 32px leading slot (a 20px icon centred, or a 32px avatar) and a
|
|
10244
|
+
* regular-weight label. Used in menus and short navigation lists.
|
|
10245
|
+
*/
|
|
10246
|
+
.muka-listitem--compact {
|
|
10247
|
+
align-items: center;
|
|
10248
|
+
gap: var(--spacing-3);
|
|
10249
|
+
padding: var(--spacing-2);
|
|
10250
|
+
}
|
|
10251
|
+
|
|
10252
|
+
.muka-listitem--compact .muka-listitem__leading {
|
|
10253
|
+
width: var(--size-2xl);
|
|
10254
|
+
height: var(--size-2xl);
|
|
10255
|
+
}
|
|
10256
|
+
|
|
10257
|
+
.muka-listitem--compact .muka-listitem__icon {
|
|
10258
|
+
width: var(--size-2xl);
|
|
10259
|
+
height: var(--size-2xl);
|
|
10260
|
+
}
|
|
10261
|
+
|
|
10262
|
+
.muka-listitem--compact .muka-listitem__image {
|
|
10263
|
+
width: var(--size-2xl);
|
|
10264
|
+
height: var(--size-2xl);
|
|
10265
|
+
border-radius: var(--radius-sm);
|
|
10266
|
+
}
|
|
10267
|
+
|
|
10268
|
+
.muka-listitem--compact .muka-listitem__label {
|
|
10269
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
10270
|
+
}
|
|
10271
|
+
|
|
10272
|
+
.muka-listitem--compact .muka-listitem__content {
|
|
10273
|
+
gap: var(--spacing-3);
|
|
10274
|
+
}
|
|
10275
|
+
|
|
10290
10276
|
|
|
10291
10277
|
/* LicensePlateInput */
|
|
10292
10278
|
/* LicensePlateInput — Dutch RDW-style plate input
|
|
@@ -18006,3 +17992,111 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
18006
17992
|
border-bottom: none;
|
|
18007
17993
|
}
|
|
18008
17994
|
|
|
17995
|
+
|
|
17996
|
+
/* SwipeActions */
|
|
17997
|
+
/* SwipeActions Component Styles */
|
|
17998
|
+
|
|
17999
|
+
.muka-swipe-actions {
|
|
18000
|
+
position: relative;
|
|
18001
|
+
overflow: hidden;
|
|
18002
|
+
touch-action: pan-y;
|
|
18003
|
+
-webkit-user-select: none;
|
|
18004
|
+
user-select: none;
|
|
18005
|
+
background-color: var(--color-surface-level3);
|
|
18006
|
+
}
|
|
18007
|
+
|
|
18008
|
+
.muka-swipe-actions--disabled {
|
|
18009
|
+
touch-action: auto;
|
|
18010
|
+
}
|
|
18011
|
+
|
|
18012
|
+
/* ─── Row that holds the actual content ────────────────── */
|
|
18013
|
+
|
|
18014
|
+
.muka-swipe-actions__row {
|
|
18015
|
+
position: relative;
|
|
18016
|
+
z-index: 1;
|
|
18017
|
+
background-color: inherit;
|
|
18018
|
+
will-change: transform;
|
|
18019
|
+
}
|
|
18020
|
+
|
|
18021
|
+
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
18022
|
+
|
|
18023
|
+
.muka-swipe-actions__panel {
|
|
18024
|
+
position: absolute;
|
|
18025
|
+
top: 0;
|
|
18026
|
+
bottom: 0;
|
|
18027
|
+
display: flex;
|
|
18028
|
+
align-items: stretch;
|
|
18029
|
+
z-index: 0;
|
|
18030
|
+
}
|
|
18031
|
+
|
|
18032
|
+
.muka-swipe-actions__panel--left {
|
|
18033
|
+
left: 0;
|
|
18034
|
+
}
|
|
18035
|
+
|
|
18036
|
+
.muka-swipe-actions__panel--right {
|
|
18037
|
+
right: 0;
|
|
18038
|
+
}
|
|
18039
|
+
|
|
18040
|
+
/* ─── Single action button ─────────────────────────────── */
|
|
18041
|
+
|
|
18042
|
+
.muka-swipe-actions__button {
|
|
18043
|
+
display: flex;
|
|
18044
|
+
flex-direction: column;
|
|
18045
|
+
align-items: center;
|
|
18046
|
+
justify-content: center;
|
|
18047
|
+
gap: var(--spacing-1);
|
|
18048
|
+
border: none;
|
|
18049
|
+
cursor: pointer;
|
|
18050
|
+
padding: var(--spacing-2);
|
|
18051
|
+
background-color: var(--color-surface-level2);
|
|
18052
|
+
color: var(--color-text-default-default);
|
|
18053
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
18054
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
18055
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
18056
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
18057
|
+
-webkit-tap-highlight-color: transparent;
|
|
18058
|
+
transition: filter 0.12s ease;
|
|
18059
|
+
}
|
|
18060
|
+
|
|
18061
|
+
.muka-swipe-actions__button:hover {
|
|
18062
|
+
filter: brightness(0.95);
|
|
18063
|
+
}
|
|
18064
|
+
|
|
18065
|
+
.muka-swipe-actions__button:focus-visible {
|
|
18066
|
+
outline: 2px solid var(--color-action-default);
|
|
18067
|
+
outline-offset: -2px;
|
|
18068
|
+
}
|
|
18069
|
+
|
|
18070
|
+
.muka-swipe-actions__button-icon {
|
|
18071
|
+
display: inline-flex;
|
|
18072
|
+
align-items: center;
|
|
18073
|
+
justify-content: center;
|
|
18074
|
+
}
|
|
18075
|
+
|
|
18076
|
+
/* ─── Color variants ───────────────────────────────────── */
|
|
18077
|
+
|
|
18078
|
+
.muka-swipe-actions__button--neutral {
|
|
18079
|
+
background-color: var(--color-surface-level2);
|
|
18080
|
+
color: var(--color-text-default-default);
|
|
18081
|
+
}
|
|
18082
|
+
|
|
18083
|
+
.muka-swipe-actions__button--primary {
|
|
18084
|
+
background-color: var(--color-action-default);
|
|
18085
|
+
color: var(--color-text-default-inverse);
|
|
18086
|
+
}
|
|
18087
|
+
|
|
18088
|
+
.muka-swipe-actions__button--success {
|
|
18089
|
+
background-color: var(--color-state-success-default);
|
|
18090
|
+
color: var(--color-text-default-inverse);
|
|
18091
|
+
}
|
|
18092
|
+
|
|
18093
|
+
.muka-swipe-actions__button--warning {
|
|
18094
|
+
background-color: var(--color-state-warning-default);
|
|
18095
|
+
color: var(--color-text-default-default);
|
|
18096
|
+
}
|
|
18097
|
+
|
|
18098
|
+
.muka-swipe-actions__button--destructive {
|
|
18099
|
+
background-color: var(--color-state-error-default);
|
|
18100
|
+
color: var(--color-text-default-inverse);
|
|
18101
|
+
}
|
|
18102
|
+
|