@revikornmann/muka-ui 0.63.0 → 0.64.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/cli/templates/agents-block.md +3 -0
- package/dist/cjs/components/Chip/Chip.js +4 -1
- package/dist/cjs/components/Chip/Chip.js.map +1 -1
- package/dist/cjs/components/DataTable/DataTable.js +8 -2
- package/dist/cjs/components/DataTable/DataTable.js.map +1 -1
- package/dist/cjs/components/ListItem/ListItem.js +4 -1
- package/dist/cjs/components/ListItem/ListItem.js.map +1 -1
- package/dist/cjs/components/NavigationProvider/NavigationProvider.js +86 -0
- package/dist/cjs/components/NavigationProvider/NavigationProvider.js.map +1 -0
- package/dist/cjs/components/NavigationProvider/index.js +7 -0
- package/dist/cjs/components/NavigationProvider/index.js.map +1 -0
- package/dist/cjs/components/TextLink/TextLink.js +9 -1
- package/dist/cjs/components/TextLink/TextLink.js.map +1 -1
- package/dist/cjs/components/Tile/Tile.js +5 -1
- package/dist/cjs/components/Tile/Tile.js.map +1 -1
- package/dist/cjs/components/View/View.css +63 -2
- package/dist/cjs/components/View/View.js +2 -2
- package/dist/cjs/components/View/View.js.map +1 -1
- package/dist/cjs/components/View/viewNavigation.js +58 -9
- package/dist/cjs/components/View/viewNavigation.js.map +1 -1
- package/dist/cjs/components/index.js +6 -3
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/esm/components/Chip/Chip.js +4 -1
- package/dist/esm/components/Chip/Chip.js.map +1 -1
- package/dist/esm/components/DataTable/DataTable.js +8 -2
- package/dist/esm/components/DataTable/DataTable.js.map +1 -1
- package/dist/esm/components/ListItem/ListItem.js +4 -1
- package/dist/esm/components/ListItem/ListItem.js.map +1 -1
- package/dist/esm/components/NavigationProvider/NavigationProvider.js +81 -0
- package/dist/esm/components/NavigationProvider/NavigationProvider.js.map +1 -0
- package/dist/esm/components/NavigationProvider/index.js +2 -0
- package/dist/esm/components/NavigationProvider/index.js.map +1 -0
- package/dist/esm/components/TextLink/TextLink.js +9 -1
- package/dist/esm/components/TextLink/TextLink.js.map +1 -1
- package/dist/esm/components/Tile/Tile.js +5 -1
- package/dist/esm/components/Tile/Tile.js.map +1 -1
- package/dist/esm/components/View/View.css +63 -2
- package/dist/esm/components/View/View.js +2 -2
- package/dist/esm/components/View/View.js.map +1 -1
- package/dist/esm/components/View/viewNavigation.js +58 -9
- package/dist/esm/components/View/viewNavigation.js.map +1 -1
- package/dist/esm/components/index.js +1 -0
- package/dist/esm/components/index.js.map +1 -1
- package/dist/styles/components/View.css +63 -2
- package/dist/styles/index.css +2055 -1994
- package/dist/styles/muka-dark.css +2055 -1994
- package/dist/styles/muka-light.css +2055 -1994
- package/dist/styles/wireframe-dark.css +2055 -1994
- package/dist/styles/wireframe-light.css +2055 -1994
- package/dist/types/components/Chip/Chip.d.ts.map +1 -1
- package/dist/types/components/DataTable/DataTable.d.ts.map +1 -1
- package/dist/types/components/ListItem/ListItem.d.ts.map +1 -1
- package/dist/types/components/NavigationProvider/NavigationProvider.d.ts +40 -0
- package/dist/types/components/NavigationProvider/NavigationProvider.d.ts.map +1 -0
- package/dist/types/components/NavigationProvider/index.d.ts +2 -0
- package/dist/types/components/NavigationProvider/index.d.ts.map +1 -0
- package/dist/types/components/TextLink/TextLink.d.ts.map +1 -1
- package/dist/types/components/Tile/Tile.d.ts.map +1 -1
- package/dist/types/components/View/View.d.ts +8 -0
- package/dist/types/components/View/View.d.ts.map +1 -1
- package/dist/types/components/View/viewNavigation.d.ts +1 -1
- package/dist/types/components/View/viewNavigation.d.ts.map +1 -1
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/components/index.d.ts.map +1 -1
- package/docs/consumers/devices.md +36 -5
- package/package.json +1 -1
|
@@ -2681,8 +2681,7 @@ body {
|
|
|
2681
2681
|
|
|
2682
2682
|
iOS navigation-controller motion: the pushed View slides in from the right
|
|
2683
2683
|
over the current one, which moves 30% left; a pop reverses it. Small and
|
|
2684
|
-
medium screens
|
|
2685
|
-
in place. --motion-duration-view is 0ms under prefers-reduced-motion. */
|
|
2684
|
+
medium screens; the large tier has its own, quieter motion below. --motion-duration-view is 0ms under prefers-reduced-motion. */
|
|
2686
2685
|
|
|
2687
2686
|
/* No direction, or the large tier: swap without the browser's default crossfade. */
|
|
2688
2687
|
::view-transition-old(.muka-view-exit),
|
|
@@ -2722,6 +2721,68 @@ body {
|
|
|
2722
2721
|
animation: muka-view-from-behind var(--motion-duration-view) var(--motion-easing-enter) both;
|
|
2723
2722
|
}
|
|
2724
2723
|
|
|
2724
|
+
/* The leaving View without an exit of its own (React drops it for a View
|
|
2725
|
+
that first appeared through a Suspense reveal) is in the root snapshot:
|
|
2726
|
+
move that instead, and hide the new root, which is only the page behind
|
|
2727
|
+
the entering View. On a pop the old root goes above the entering View. */
|
|
2728
|
+
:root[data-muka-nav][data-muka-nav-root]::view-transition-new(root) {
|
|
2729
|
+
animation: none;
|
|
2730
|
+
opacity: 0;
|
|
2731
|
+
}
|
|
2732
|
+
|
|
2733
|
+
:root[data-muka-nav='push'][data-muka-nav-root]::view-transition-old(root) {
|
|
2734
|
+
animation: muka-view-to-behind var(--motion-duration-view) var(--motion-easing-enter) both;
|
|
2735
|
+
}
|
|
2736
|
+
|
|
2737
|
+
:root[data-muka-nav='pop'][data-muka-nav-root]::view-transition-group(root) {
|
|
2738
|
+
z-index: 2;
|
|
2739
|
+
}
|
|
2740
|
+
|
|
2741
|
+
:root[data-muka-nav='pop'][data-muka-nav-root]::view-transition-old(root) {
|
|
2742
|
+
animation: muka-view-to-right var(--motion-duration-view) var(--motion-easing-enter) both;
|
|
2743
|
+
}
|
|
2744
|
+
|
|
2745
|
+
}
|
|
2746
|
+
|
|
2747
|
+
/* Large tier: the same direction, quietly. The sidebar and app bar stay put,
|
|
2748
|
+
so only a short fade with a 16px shift says deeper or back: the new View
|
|
2749
|
+
fades in from the side it comes from, the old one fades out the other way.
|
|
2750
|
+
A leaving View without an exit of its own (see above) just goes; moving the
|
|
2751
|
+
root snapshot here would move the sidebar with it. */
|
|
2752
|
+
@media (min-width: 1024px) {
|
|
2753
|
+
:root[data-muka-nav]::view-transition {
|
|
2754
|
+
pointer-events: none;
|
|
2755
|
+
}
|
|
2756
|
+
|
|
2757
|
+
:root[data-muka-nav='push']::view-transition-new(.muka-view-enter),
|
|
2758
|
+
:root[data-muka-nav='pop']::view-transition-new(.muka-view-enter) {
|
|
2759
|
+
animation: muka-view-shift-in var(--motion-duration-micro) var(--motion-easing-enter) both;
|
|
2760
|
+
}
|
|
2761
|
+
|
|
2762
|
+
:root[data-muka-nav='push']::view-transition-old(.muka-view-exit),
|
|
2763
|
+
:root[data-muka-nav='pop']::view-transition-old(.muka-view-exit) {
|
|
2764
|
+
animation: muka-view-shift-out var(--motion-duration-exit) var(--motion-easing-exit) both;
|
|
2765
|
+
}
|
|
2766
|
+
|
|
2767
|
+
:root[data-muka-nav='push']::view-transition-new(.muka-view-enter),
|
|
2768
|
+
:root[data-muka-nav='pop']::view-transition-old(.muka-view-exit) {
|
|
2769
|
+
--muka-view-shift: var(--spacing-4);
|
|
2770
|
+
}
|
|
2771
|
+
|
|
2772
|
+
:root[data-muka-nav='pop']::view-transition-new(.muka-view-enter),
|
|
2773
|
+
:root[data-muka-nav='push']::view-transition-old(.muka-view-exit) {
|
|
2774
|
+
--muka-view-shift: calc(-1 * var(--spacing-4));
|
|
2775
|
+
}
|
|
2776
|
+
}
|
|
2777
|
+
|
|
2778
|
+
@keyframes muka-view-shift-in {
|
|
2779
|
+
from { opacity: 0; transform: translateX(var(--muka-view-shift)); }
|
|
2780
|
+
to { opacity: 1; transform: translateX(0); }
|
|
2781
|
+
}
|
|
2782
|
+
|
|
2783
|
+
@keyframes muka-view-shift-out {
|
|
2784
|
+
from { opacity: 1; transform: translateX(0); }
|
|
2785
|
+
to { opacity: 0; transform: translateX(var(--muka-view-shift)); }
|
|
2725
2786
|
}
|
|
2726
2787
|
|
|
2727
2788
|
@keyframes muka-view-from-right {
|
|
@@ -4077,6 +4138,191 @@ body {
|
|
|
4077
4138
|
}
|
|
4078
4139
|
|
|
4079
4140
|
|
|
4141
|
+
/* Thumbnail */
|
|
4142
|
+
/* Thumbnail Component Styles - Using Muka Design Tokens */
|
|
4143
|
+
|
|
4144
|
+
.muka-thumbnail {
|
|
4145
|
+
position: relative;
|
|
4146
|
+
flex-shrink: 0;
|
|
4147
|
+
}
|
|
4148
|
+
|
|
4149
|
+
/* The frame carries the border, background and shape clip. Keeping it separate
|
|
4150
|
+
from the root lets the remove (×) button sit outside the clip (needed for the
|
|
4151
|
+
circular/ellipse shape, whose corners would otherwise clip the button). */
|
|
4152
|
+
.muka-thumbnail__frame {
|
|
4153
|
+
position: absolute;
|
|
4154
|
+
inset: 0;
|
|
4155
|
+
overflow: hidden;
|
|
4156
|
+
border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
|
|
4157
|
+
border-radius: var(--border-radius-lg);
|
|
4158
|
+
background-color: var(--color-surface-level1);
|
|
4159
|
+
}
|
|
4160
|
+
|
|
4161
|
+
/* ─── Shapes ──────────────────────────────────────────── */
|
|
4162
|
+
.muka-thumbnail--4-3 {
|
|
4163
|
+
width: 160px;
|
|
4164
|
+
height: 120px;
|
|
4165
|
+
}
|
|
4166
|
+
|
|
4167
|
+
.muka-thumbnail--1-1 {
|
|
4168
|
+
width: 120px;
|
|
4169
|
+
height: 120px;
|
|
4170
|
+
}
|
|
4171
|
+
|
|
4172
|
+
.muka-thumbnail--ellipse {
|
|
4173
|
+
width: 120px;
|
|
4174
|
+
height: 120px;
|
|
4175
|
+
}
|
|
4176
|
+
|
|
4177
|
+
/* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
|
|
4178
|
+
.muka-thumbnail--fluid {
|
|
4179
|
+
width: 100%;
|
|
4180
|
+
height: auto;
|
|
4181
|
+
aspect-ratio: 1 / 1;
|
|
4182
|
+
}
|
|
4183
|
+
|
|
4184
|
+
.muka-thumbnail--fluid.muka-thumbnail--4-3 {
|
|
4185
|
+
aspect-ratio: 4 / 3;
|
|
4186
|
+
}
|
|
4187
|
+
|
|
4188
|
+
.muka-thumbnail--ellipse .muka-thumbnail__frame {
|
|
4189
|
+
border-radius: var(--border-radius-full);
|
|
4190
|
+
}
|
|
4191
|
+
|
|
4192
|
+
/* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
|
|
4193
|
+
interactive hover zoom has a clean origin. */
|
|
4194
|
+
.muka-thumbnail__image {
|
|
4195
|
+
position: absolute;
|
|
4196
|
+
inset: 0;
|
|
4197
|
+
width: 100%;
|
|
4198
|
+
height: 100%;
|
|
4199
|
+
object-fit: cover;
|
|
4200
|
+
display: block;
|
|
4201
|
+
transform-origin: center;
|
|
4202
|
+
/* Micro-interaction: hover zoom eases out over the "micro" duration. */
|
|
4203
|
+
transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4204
|
+
}
|
|
4205
|
+
|
|
4206
|
+
/* ─── Interactive (click-to-enlarge) ──────────────────── */
|
|
4207
|
+
.muka-thumbnail__trigger {
|
|
4208
|
+
position: absolute;
|
|
4209
|
+
inset: 0;
|
|
4210
|
+
padding: 0;
|
|
4211
|
+
border: 0;
|
|
4212
|
+
background: none;
|
|
4213
|
+
cursor: pointer;
|
|
4214
|
+
overflow: hidden;
|
|
4215
|
+
}
|
|
4216
|
+
|
|
4217
|
+
.muka-thumbnail__trigger:focus-visible {
|
|
4218
|
+
outline: 2px solid var(--color-border-focus);
|
|
4219
|
+
outline-offset: -2px;
|
|
4220
|
+
}
|
|
4221
|
+
|
|
4222
|
+
/* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
|
|
4223
|
+
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
4224
|
+
transform: scale(1.05);
|
|
4225
|
+
}
|
|
4226
|
+
|
|
4227
|
+
/* ─── Loading overlay + progress donut ────────────────── */
|
|
4228
|
+
.muka-thumbnail__overlay {
|
|
4229
|
+
position: absolute;
|
|
4230
|
+
inset: 0;
|
|
4231
|
+
display: flex;
|
|
4232
|
+
align-items: center;
|
|
4233
|
+
justify-content: center;
|
|
4234
|
+
background-color: var(--dialog-color-backdrop);
|
|
4235
|
+
}
|
|
4236
|
+
|
|
4237
|
+
.muka-thumbnail__progress {
|
|
4238
|
+
width: 40px;
|
|
4239
|
+
height: 40px;
|
|
4240
|
+
}
|
|
4241
|
+
|
|
4242
|
+
/* ─── Error / corrupt state ───────────────────────────── */
|
|
4243
|
+
.muka-thumbnail--error .muka-thumbnail__frame {
|
|
4244
|
+
background-color: var(--alias-color-state-error-muted);
|
|
4245
|
+
border-color: var(--alias-color-state-error-default);
|
|
4246
|
+
}
|
|
4247
|
+
|
|
4248
|
+
.muka-thumbnail__error {
|
|
4249
|
+
position: absolute;
|
|
4250
|
+
inset: 0;
|
|
4251
|
+
display: flex;
|
|
4252
|
+
flex-direction: column;
|
|
4253
|
+
align-items: center;
|
|
4254
|
+
justify-content: center;
|
|
4255
|
+
gap: var(--spacing-2);
|
|
4256
|
+
padding: var(--spacing-3);
|
|
4257
|
+
text-align: center;
|
|
4258
|
+
}
|
|
4259
|
+
|
|
4260
|
+
.muka-thumbnail__error-icon {
|
|
4261
|
+
color: var(--alert-color-error-accent);
|
|
4262
|
+
}
|
|
4263
|
+
|
|
4264
|
+
.muka-thumbnail__caption {
|
|
4265
|
+
max-width: 100%;
|
|
4266
|
+
overflow: hidden;
|
|
4267
|
+
text-overflow: ellipsis;
|
|
4268
|
+
white-space: nowrap;
|
|
4269
|
+
color: var(--alert-color-error-accent);
|
|
4270
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
4271
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
4272
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
4273
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
4274
|
+
}
|
|
4275
|
+
|
|
4276
|
+
/* ─── Remove (×) button ───────────────────────────────── */
|
|
4277
|
+
.muka-thumbnail__remove {
|
|
4278
|
+
position: absolute;
|
|
4279
|
+
top: var(--spacing-2);
|
|
4280
|
+
right: var(--spacing-2);
|
|
4281
|
+
display: flex;
|
|
4282
|
+
align-items: center;
|
|
4283
|
+
justify-content: center;
|
|
4284
|
+
width: var(--size-2xl);
|
|
4285
|
+
height: var(--size-2xl);
|
|
4286
|
+
padding: 0;
|
|
4287
|
+
color: var(--button-color-tertiary-foreground-default);
|
|
4288
|
+
background-color: var(--button-color-tertiary-background-default);
|
|
4289
|
+
border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
|
|
4290
|
+
border-radius: var(--border-radius-lg);
|
|
4291
|
+
cursor: pointer;
|
|
4292
|
+
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
4293
|
+
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4294
|
+
}
|
|
4295
|
+
|
|
4296
|
+
.muka-thumbnail__remove:hover {
|
|
4297
|
+
color: var(--button-color-tertiary-foreground-hover);
|
|
4298
|
+
background-color: var(--button-color-tertiary-background-hover);
|
|
4299
|
+
border-color: var(--button-color-tertiary-border-hover);
|
|
4300
|
+
}
|
|
4301
|
+
|
|
4302
|
+
.muka-thumbnail__remove:active {
|
|
4303
|
+
color: var(--button-color-tertiary-foreground-pressed);
|
|
4304
|
+
background-color: var(--button-color-tertiary-background-pressed);
|
|
4305
|
+
border-color: var(--button-color-tertiary-border-pressed);
|
|
4306
|
+
}
|
|
4307
|
+
|
|
4308
|
+
.muka-thumbnail__remove:focus-visible {
|
|
4309
|
+
outline: 2px solid var(--color-border-focus);
|
|
4310
|
+
outline-offset: 2px;
|
|
4311
|
+
}
|
|
4312
|
+
|
|
4313
|
+
/* ─── Reduced motion ──────────────────────────────────── */
|
|
4314
|
+
@media (prefers-reduced-motion: reduce) {
|
|
4315
|
+
.muka-thumbnail__image,
|
|
4316
|
+
.muka-thumbnail__remove {
|
|
4317
|
+
transition: none;
|
|
4318
|
+
}
|
|
4319
|
+
|
|
4320
|
+
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
4321
|
+
transform: none;
|
|
4322
|
+
}
|
|
4323
|
+
}
|
|
4324
|
+
|
|
4325
|
+
|
|
4080
4326
|
/* Textarea */
|
|
4081
4327
|
/* Textarea Component Styles - Using Muka Design Tokens */
|
|
4082
4328
|
|
|
@@ -4323,208 +4569,23 @@ body {
|
|
|
4323
4569
|
}
|
|
4324
4570
|
|
|
4325
4571
|
|
|
4326
|
-
/*
|
|
4327
|
-
/*
|
|
4572
|
+
/* Tabs */
|
|
4573
|
+
/* Tabs Component Styles - Clean underline style tabs matching Figma */
|
|
4328
4574
|
|
|
4329
|
-
.muka-
|
|
4330
|
-
|
|
4331
|
-
flex-
|
|
4575
|
+
.muka-tabs {
|
|
4576
|
+
display: flex;
|
|
4577
|
+
flex-direction: column;
|
|
4332
4578
|
}
|
|
4333
4579
|
|
|
4334
|
-
/*
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
.muka-thumbnail__frame {
|
|
4338
|
-
position: absolute;
|
|
4339
|
-
inset: 0;
|
|
4340
|
-
overflow: hidden;
|
|
4341
|
-
border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
|
|
4342
|
-
border-radius: var(--border-radius-lg);
|
|
4343
|
-
background-color: var(--color-surface-level1);
|
|
4580
|
+
/* Alignment Variants */
|
|
4581
|
+
.muka-tabs--align-left .muka-tabs__list {
|
|
4582
|
+
justify-content: flex-start;
|
|
4344
4583
|
}
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
.muka-thumbnail--4-3 {
|
|
4348
|
-
width: 160px;
|
|
4349
|
-
height: 120px;
|
|
4584
|
+
.muka-tabs--align-center .muka-tabs__list {
|
|
4585
|
+
justify-content: center;
|
|
4350
4586
|
}
|
|
4351
|
-
|
|
4352
|
-
|
|
4353
|
-
width: 120px;
|
|
4354
|
-
height: 120px;
|
|
4355
|
-
}
|
|
4356
|
-
|
|
4357
|
-
.muka-thumbnail--ellipse {
|
|
4358
|
-
width: 120px;
|
|
4359
|
-
height: 120px;
|
|
4360
|
-
}
|
|
4361
|
-
|
|
4362
|
-
/* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
|
|
4363
|
-
.muka-thumbnail--fluid {
|
|
4364
|
-
width: 100%;
|
|
4365
|
-
height: auto;
|
|
4366
|
-
aspect-ratio: 1 / 1;
|
|
4367
|
-
}
|
|
4368
|
-
|
|
4369
|
-
.muka-thumbnail--fluid.muka-thumbnail--4-3 {
|
|
4370
|
-
aspect-ratio: 4 / 3;
|
|
4371
|
-
}
|
|
4372
|
-
|
|
4373
|
-
.muka-thumbnail--ellipse .muka-thumbnail__frame {
|
|
4374
|
-
border-radius: var(--border-radius-full);
|
|
4375
|
-
}
|
|
4376
|
-
|
|
4377
|
-
/* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
|
|
4378
|
-
interactive hover zoom has a clean origin. */
|
|
4379
|
-
.muka-thumbnail__image {
|
|
4380
|
-
position: absolute;
|
|
4381
|
-
inset: 0;
|
|
4382
|
-
width: 100%;
|
|
4383
|
-
height: 100%;
|
|
4384
|
-
object-fit: cover;
|
|
4385
|
-
display: block;
|
|
4386
|
-
transform-origin: center;
|
|
4387
|
-
/* Micro-interaction: hover zoom eases out over the "micro" duration. */
|
|
4388
|
-
transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4389
|
-
}
|
|
4390
|
-
|
|
4391
|
-
/* ─── Interactive (click-to-enlarge) ──────────────────── */
|
|
4392
|
-
.muka-thumbnail__trigger {
|
|
4393
|
-
position: absolute;
|
|
4394
|
-
inset: 0;
|
|
4395
|
-
padding: 0;
|
|
4396
|
-
border: 0;
|
|
4397
|
-
background: none;
|
|
4398
|
-
cursor: pointer;
|
|
4399
|
-
overflow: hidden;
|
|
4400
|
-
}
|
|
4401
|
-
|
|
4402
|
-
.muka-thumbnail__trigger:focus-visible {
|
|
4403
|
-
outline: 2px solid var(--color-border-focus);
|
|
4404
|
-
outline-offset: -2px;
|
|
4405
|
-
}
|
|
4406
|
-
|
|
4407
|
-
/* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
|
|
4408
|
-
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
4409
|
-
transform: scale(1.05);
|
|
4410
|
-
}
|
|
4411
|
-
|
|
4412
|
-
/* ─── Loading overlay + progress donut ────────────────── */
|
|
4413
|
-
.muka-thumbnail__overlay {
|
|
4414
|
-
position: absolute;
|
|
4415
|
-
inset: 0;
|
|
4416
|
-
display: flex;
|
|
4417
|
-
align-items: center;
|
|
4418
|
-
justify-content: center;
|
|
4419
|
-
background-color: var(--dialog-color-backdrop);
|
|
4420
|
-
}
|
|
4421
|
-
|
|
4422
|
-
.muka-thumbnail__progress {
|
|
4423
|
-
width: 40px;
|
|
4424
|
-
height: 40px;
|
|
4425
|
-
}
|
|
4426
|
-
|
|
4427
|
-
/* ─── Error / corrupt state ───────────────────────────── */
|
|
4428
|
-
.muka-thumbnail--error .muka-thumbnail__frame {
|
|
4429
|
-
background-color: var(--alias-color-state-error-muted);
|
|
4430
|
-
border-color: var(--alias-color-state-error-default);
|
|
4431
|
-
}
|
|
4432
|
-
|
|
4433
|
-
.muka-thumbnail__error {
|
|
4434
|
-
position: absolute;
|
|
4435
|
-
inset: 0;
|
|
4436
|
-
display: flex;
|
|
4437
|
-
flex-direction: column;
|
|
4438
|
-
align-items: center;
|
|
4439
|
-
justify-content: center;
|
|
4440
|
-
gap: var(--spacing-2);
|
|
4441
|
-
padding: var(--spacing-3);
|
|
4442
|
-
text-align: center;
|
|
4443
|
-
}
|
|
4444
|
-
|
|
4445
|
-
.muka-thumbnail__error-icon {
|
|
4446
|
-
color: var(--alert-color-error-accent);
|
|
4447
|
-
}
|
|
4448
|
-
|
|
4449
|
-
.muka-thumbnail__caption {
|
|
4450
|
-
max-width: 100%;
|
|
4451
|
-
overflow: hidden;
|
|
4452
|
-
text-overflow: ellipsis;
|
|
4453
|
-
white-space: nowrap;
|
|
4454
|
-
color: var(--alert-color-error-accent);
|
|
4455
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
4456
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
4457
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
4458
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
4459
|
-
}
|
|
4460
|
-
|
|
4461
|
-
/* ─── Remove (×) button ───────────────────────────────── */
|
|
4462
|
-
.muka-thumbnail__remove {
|
|
4463
|
-
position: absolute;
|
|
4464
|
-
top: var(--spacing-2);
|
|
4465
|
-
right: var(--spacing-2);
|
|
4466
|
-
display: flex;
|
|
4467
|
-
align-items: center;
|
|
4468
|
-
justify-content: center;
|
|
4469
|
-
width: var(--size-2xl);
|
|
4470
|
-
height: var(--size-2xl);
|
|
4471
|
-
padding: 0;
|
|
4472
|
-
color: var(--button-color-tertiary-foreground-default);
|
|
4473
|
-
background-color: var(--button-color-tertiary-background-default);
|
|
4474
|
-
border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
|
|
4475
|
-
border-radius: var(--border-radius-lg);
|
|
4476
|
-
cursor: pointer;
|
|
4477
|
-
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
4478
|
-
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4479
|
-
}
|
|
4480
|
-
|
|
4481
|
-
.muka-thumbnail__remove:hover {
|
|
4482
|
-
color: var(--button-color-tertiary-foreground-hover);
|
|
4483
|
-
background-color: var(--button-color-tertiary-background-hover);
|
|
4484
|
-
border-color: var(--button-color-tertiary-border-hover);
|
|
4485
|
-
}
|
|
4486
|
-
|
|
4487
|
-
.muka-thumbnail__remove:active {
|
|
4488
|
-
color: var(--button-color-tertiary-foreground-pressed);
|
|
4489
|
-
background-color: var(--button-color-tertiary-background-pressed);
|
|
4490
|
-
border-color: var(--button-color-tertiary-border-pressed);
|
|
4491
|
-
}
|
|
4492
|
-
|
|
4493
|
-
.muka-thumbnail__remove:focus-visible {
|
|
4494
|
-
outline: 2px solid var(--color-border-focus);
|
|
4495
|
-
outline-offset: 2px;
|
|
4496
|
-
}
|
|
4497
|
-
|
|
4498
|
-
/* ─── Reduced motion ──────────────────────────────────── */
|
|
4499
|
-
@media (prefers-reduced-motion: reduce) {
|
|
4500
|
-
.muka-thumbnail__image,
|
|
4501
|
-
.muka-thumbnail__remove {
|
|
4502
|
-
transition: none;
|
|
4503
|
-
}
|
|
4504
|
-
|
|
4505
|
-
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
4506
|
-
transform: none;
|
|
4507
|
-
}
|
|
4508
|
-
}
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
/* Tabs */
|
|
4512
|
-
/* Tabs Component Styles - Clean underline style tabs matching Figma */
|
|
4513
|
-
|
|
4514
|
-
.muka-tabs {
|
|
4515
|
-
display: flex;
|
|
4516
|
-
flex-direction: column;
|
|
4517
|
-
}
|
|
4518
|
-
|
|
4519
|
-
/* Alignment Variants */
|
|
4520
|
-
.muka-tabs--align-left .muka-tabs__list {
|
|
4521
|
-
justify-content: flex-start;
|
|
4522
|
-
}
|
|
4523
|
-
.muka-tabs--align-center .muka-tabs__list {
|
|
4524
|
-
justify-content: center;
|
|
4525
|
-
}
|
|
4526
|
-
.muka-tabs--align-fill .muka-tabs__list {
|
|
4527
|
-
justify-content: space-between;
|
|
4587
|
+
.muka-tabs--align-fill .muka-tabs__list {
|
|
4588
|
+
justify-content: space-between;
|
|
4528
4589
|
}
|
|
4529
4590
|
.muka-tabs--align-fill .muka-tabs__trigger {
|
|
4530
4591
|
flex: 1;
|
|
@@ -5373,55 +5434,205 @@ body {
|
|
|
5373
5434
|
}
|
|
5374
5435
|
|
|
5375
5436
|
|
|
5376
|
-
/*
|
|
5377
|
-
/*
|
|
5437
|
+
/* SocialSignInButton */
|
|
5438
|
+
/*
|
|
5439
|
+
* SocialSignInButton lockup colors are provider-mandated (Apple HIG /
|
|
5440
|
+
* Google Identity branding) and intentionally fixed across Muka brands —
|
|
5441
|
+
* same exception pattern as LicensePlateInput regulatory colors.
|
|
5442
|
+
*
|
|
5443
|
+
* Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
|
|
5444
|
+
* Google: https://developers.google.com/identity/branding-guidelines
|
|
5445
|
+
*/
|
|
5446
|
+
.muka-social-sign-in-button {
|
|
5447
|
+
--ssi-white: #ffffff;
|
|
5448
|
+
--ssi-black: #000000;
|
|
5449
|
+
--ssi-google-text-light: #1f1f1f;
|
|
5378
5450
|
|
|
5379
|
-
/* Wrapper */
|
|
5380
|
-
.muka-sms-otp-field {
|
|
5381
5451
|
display: inline-flex;
|
|
5382
|
-
|
|
5383
|
-
|
|
5384
|
-
}
|
|
5452
|
+
align-items: center;
|
|
5453
|
+
justify-content: center;
|
|
5385
5454
|
|
|
5386
|
-
/*
|
|
5387
|
-
|
|
5388
|
-
|
|
5455
|
+
/* Provider lockup type — matches Figma / HIG, not brand font tokens.
|
|
5456
|
+
* SF Pro Text is OS-provided on Apple platforms (not redistributable).
|
|
5457
|
+
* Google Sans is not freely shippable; Roboto is the closest system fallback. */
|
|
5458
|
+
font-family: inherit;
|
|
5459
|
+
font-weight: 600;
|
|
5460
|
+
text-decoration: none;
|
|
5461
|
+
white-space: nowrap;
|
|
5462
|
+
|
|
5463
|
+
border: 1px solid transparent;
|
|
5389
5464
|
cursor: pointer;
|
|
5465
|
+
user-select: none;
|
|
5466
|
+
transition: opacity 0.15s ease, filter 0.15s ease;
|
|
5467
|
+
|
|
5468
|
+
outline: none;
|
|
5469
|
+
position: relative;
|
|
5470
|
+
box-sizing: border-box;
|
|
5390
5471
|
}
|
|
5391
5472
|
|
|
5392
|
-
.muka-
|
|
5393
|
-
font-family:
|
|
5394
|
-
|
|
5395
|
-
font-
|
|
5396
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5473
|
+
.muka-social-sign-in-button--apple {
|
|
5474
|
+
font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
|
5475
|
+
Helvetica, Arial, sans-serif;
|
|
5476
|
+
font-weight: 600;
|
|
5397
5477
|
}
|
|
5398
5478
|
|
|
5399
|
-
.muka-
|
|
5400
|
-
font-family:
|
|
5401
|
-
font-weight:
|
|
5402
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
5403
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
5479
|
+
.muka-social-sign-in-button--google {
|
|
5480
|
+
font-family: 'Google Sans', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
5481
|
+
font-weight: 500;
|
|
5404
5482
|
}
|
|
5405
5483
|
|
|
5406
|
-
.muka-
|
|
5407
|
-
|
|
5408
|
-
|
|
5409
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
5410
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
5484
|
+
.muka-social-sign-in-button:focus-visible {
|
|
5485
|
+
outline: 2px solid var(--color-border-focus);
|
|
5486
|
+
outline-offset: 2px;
|
|
5411
5487
|
}
|
|
5412
5488
|
|
|
5413
|
-
|
|
5414
|
-
|
|
5489
|
+
/* Sizes — heights align with Button md/lg */
|
|
5490
|
+
.muka-social-sign-in-button--md {
|
|
5491
|
+
padding: 0 var(--button-padding-md-x);
|
|
5492
|
+
border-radius: var(--button-radius-md);
|
|
5493
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
5494
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5495
|
+
min-height: 40px;
|
|
5496
|
+
min-width: 240px;
|
|
5415
5497
|
}
|
|
5416
5498
|
|
|
5417
|
-
|
|
5418
|
-
|
|
5419
|
-
|
|
5420
|
-
|
|
5421
|
-
|
|
5422
|
-
|
|
5423
|
-
|
|
5424
|
-
|
|
5499
|
+
.muka-social-sign-in-button--md .muka-social-sign-in-button__label {
|
|
5500
|
+
padding: 0 var(--button-gap-md);
|
|
5501
|
+
}
|
|
5502
|
+
|
|
5503
|
+
.muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
|
|
5504
|
+
width: var(--button-icon-md);
|
|
5505
|
+
height: var(--button-icon-md);
|
|
5506
|
+
}
|
|
5507
|
+
|
|
5508
|
+
.muka-social-sign-in-button--lg {
|
|
5509
|
+
padding: 0 var(--button-padding-lg-x);
|
|
5510
|
+
border-radius: var(--button-radius-lg);
|
|
5511
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
5512
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
5513
|
+
min-height: 48px;
|
|
5514
|
+
min-width: 280px;
|
|
5515
|
+
}
|
|
5516
|
+
|
|
5517
|
+
.muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
|
|
5518
|
+
padding: 0 var(--button-gap-lg);
|
|
5519
|
+
}
|
|
5520
|
+
|
|
5521
|
+
.muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
|
|
5522
|
+
width: var(--button-icon-lg);
|
|
5523
|
+
height: var(--button-icon-lg);
|
|
5524
|
+
}
|
|
5525
|
+
|
|
5526
|
+
/* White lockup — for dark surfaces (Apple White with Outline) */
|
|
5527
|
+
.muka-social-sign-in-button--white {
|
|
5528
|
+
background-color: var(--ssi-white);
|
|
5529
|
+
color: var(--ssi-black);
|
|
5530
|
+
border-color: var(--ssi-black);
|
|
5531
|
+
}
|
|
5532
|
+
|
|
5533
|
+
.muka-social-sign-in-button--white.muka-social-sign-in-button--google {
|
|
5534
|
+
color: var(--ssi-google-text-light);
|
|
5535
|
+
}
|
|
5536
|
+
|
|
5537
|
+
/* Black lockup — for light surfaces */
|
|
5538
|
+
.muka-social-sign-in-button--black {
|
|
5539
|
+
background-color: var(--ssi-black);
|
|
5540
|
+
color: var(--ssi-white);
|
|
5541
|
+
border-color: transparent;
|
|
5542
|
+
}
|
|
5543
|
+
|
|
5544
|
+
/* Interaction — luminance/opacity only; no brand tint */
|
|
5545
|
+
.muka-social-sign-in-button:hover:not(:disabled) {
|
|
5546
|
+
filter: brightness(0.92);
|
|
5547
|
+
}
|
|
5548
|
+
|
|
5549
|
+
.muka-social-sign-in-button:active:not(:disabled) {
|
|
5550
|
+
filter: brightness(0.85);
|
|
5551
|
+
}
|
|
5552
|
+
|
|
5553
|
+
.muka-social-sign-in-button:disabled,
|
|
5554
|
+
.muka-social-sign-in-button--disabled {
|
|
5555
|
+
cursor: not-allowed;
|
|
5556
|
+
opacity: 0.4;
|
|
5557
|
+
pointer-events: none;
|
|
5558
|
+
filter: none;
|
|
5559
|
+
}
|
|
5560
|
+
|
|
5561
|
+
.muka-social-sign-in-button--full-width {
|
|
5562
|
+
width: 100%;
|
|
5563
|
+
min-width: 0;
|
|
5564
|
+
}
|
|
5565
|
+
|
|
5566
|
+
.muka-social-sign-in-button__icon {
|
|
5567
|
+
display: inline-flex;
|
|
5568
|
+
align-items: center;
|
|
5569
|
+
justify-content: center;
|
|
5570
|
+
flex-shrink: 0;
|
|
5571
|
+
}
|
|
5572
|
+
|
|
5573
|
+
.muka-social-sign-in-button__icon > *,
|
|
5574
|
+
.muka-social-sign-in-button__icon svg {
|
|
5575
|
+
width: auto;
|
|
5576
|
+
height: 100%;
|
|
5577
|
+
max-width: 100%;
|
|
5578
|
+
display: block;
|
|
5579
|
+
}
|
|
5580
|
+
|
|
5581
|
+
.muka-social-sign-in-button__label {
|
|
5582
|
+
display: inline-flex;
|
|
5583
|
+
align-items: center;
|
|
5584
|
+
}
|
|
5585
|
+
|
|
5586
|
+
|
|
5587
|
+
/* SmsOtpField */
|
|
5588
|
+
/* SmsOtpField Component Styles - Using Muka Design Tokens */
|
|
5589
|
+
|
|
5590
|
+
/* Wrapper */
|
|
5591
|
+
.muka-sms-otp-field {
|
|
5592
|
+
display: inline-flex;
|
|
5593
|
+
flex-direction: column;
|
|
5594
|
+
gap: var(--spacing-2);
|
|
5595
|
+
}
|
|
5596
|
+
|
|
5597
|
+
/* Label */
|
|
5598
|
+
.muka-sms-otp-field__label {
|
|
5599
|
+
color: var(--color-text-default-default);
|
|
5600
|
+
cursor: pointer;
|
|
5601
|
+
}
|
|
5602
|
+
|
|
5603
|
+
.muka-sms-otp-field__label--sm {
|
|
5604
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
5605
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
5606
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
5607
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5608
|
+
}
|
|
5609
|
+
|
|
5610
|
+
.muka-sms-otp-field__label--md {
|
|
5611
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
5612
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
5613
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
5614
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
5615
|
+
}
|
|
5616
|
+
|
|
5617
|
+
.muka-sms-otp-field__label--lg {
|
|
5618
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
5619
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
5620
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
5621
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
5622
|
+
}
|
|
5623
|
+
|
|
5624
|
+
.muka-sms-otp-field__required {
|
|
5625
|
+
color: var(--color-state-error-default);
|
|
5626
|
+
}
|
|
5627
|
+
|
|
5628
|
+
/* Hidden input for browser autofill */
|
|
5629
|
+
.muka-sms-otp-field__hidden-input {
|
|
5630
|
+
position: absolute;
|
|
5631
|
+
width: 1px;
|
|
5632
|
+
height: 1px;
|
|
5633
|
+
padding: 0;
|
|
5634
|
+
margin: -1px;
|
|
5635
|
+
overflow: hidden;
|
|
5425
5636
|
clip: rect(0, 0, 0, 0);
|
|
5426
5637
|
white-space: nowrap;
|
|
5427
5638
|
border: 0;
|
|
@@ -5565,228 +5776,78 @@ body {
|
|
|
5565
5776
|
}
|
|
5566
5777
|
|
|
5567
5778
|
|
|
5568
|
-
/*
|
|
5569
|
-
/*
|
|
5570
|
-
* SocialSignInButton lockup colors are provider-mandated (Apple HIG /
|
|
5571
|
-
* Google Identity branding) and intentionally fixed across Muka brands —
|
|
5572
|
-
* same exception pattern as LicensePlateInput regulatory colors.
|
|
5573
|
-
*
|
|
5574
|
-
* Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
|
|
5575
|
-
* Google: https://developers.google.com/identity/branding-guidelines
|
|
5576
|
-
*/
|
|
5577
|
-
.muka-social-sign-in-button {
|
|
5578
|
-
--ssi-white: #ffffff;
|
|
5579
|
-
--ssi-black: #000000;
|
|
5580
|
-
--ssi-google-text-light: #1f1f1f;
|
|
5581
|
-
|
|
5582
|
-
display: inline-flex;
|
|
5583
|
-
align-items: center;
|
|
5584
|
-
justify-content: center;
|
|
5585
|
-
|
|
5586
|
-
/* Provider lockup type — matches Figma / HIG, not brand font tokens.
|
|
5587
|
-
* SF Pro Text is OS-provided on Apple platforms (not redistributable).
|
|
5588
|
-
* Google Sans is not freely shippable; Roboto is the closest system fallback. */
|
|
5589
|
-
font-family: inherit;
|
|
5590
|
-
font-weight: 600;
|
|
5591
|
-
text-decoration: none;
|
|
5592
|
-
white-space: nowrap;
|
|
5779
|
+
/* Skeleton */
|
|
5780
|
+
/* Skeleton Component Styles */
|
|
5593
5781
|
|
|
5594
|
-
|
|
5595
|
-
|
|
5596
|
-
|
|
5597
|
-
|
|
5782
|
+
.muka-skeleton {
|
|
5783
|
+
background-color: var(--color-surface-level1);
|
|
5784
|
+
display: block;
|
|
5785
|
+
}
|
|
5598
5786
|
|
|
5599
|
-
|
|
5600
|
-
|
|
5601
|
-
|
|
5787
|
+
/* Variants */
|
|
5788
|
+
.muka-skeleton--text {
|
|
5789
|
+
height: 1em;
|
|
5790
|
+
border-radius: var(--radius-md);
|
|
5791
|
+
width: 100%;
|
|
5602
5792
|
}
|
|
5603
5793
|
|
|
5604
|
-
.muka-
|
|
5605
|
-
|
|
5606
|
-
|
|
5607
|
-
|
|
5794
|
+
.muka-skeleton--circular {
|
|
5795
|
+
width: 2.5rem;
|
|
5796
|
+
height: 2.5rem;
|
|
5797
|
+
border-radius: var(--radius-full);
|
|
5608
5798
|
}
|
|
5609
5799
|
|
|
5610
|
-
.muka-
|
|
5611
|
-
|
|
5612
|
-
|
|
5800
|
+
.muka-skeleton--rectangular {
|
|
5801
|
+
height: 7.5rem;
|
|
5802
|
+
border-radius: var(--radius-md);
|
|
5803
|
+
width: 100%;
|
|
5613
5804
|
}
|
|
5614
5805
|
|
|
5615
|
-
|
|
5616
|
-
|
|
5617
|
-
|
|
5806
|
+
/* Last line in multi-line text is shorter */
|
|
5807
|
+
.muka-skeleton--last-line {
|
|
5808
|
+
width: 80%;
|
|
5618
5809
|
}
|
|
5619
5810
|
|
|
5620
|
-
/*
|
|
5621
|
-
.muka-
|
|
5622
|
-
|
|
5623
|
-
|
|
5624
|
-
|
|
5625
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5626
|
-
min-height: 40px;
|
|
5627
|
-
min-width: 240px;
|
|
5811
|
+
/* Lines container */
|
|
5812
|
+
.muka-skeleton__lines {
|
|
5813
|
+
display: flex;
|
|
5814
|
+
flex-direction: column;
|
|
5815
|
+
gap: var(--spacing-2);
|
|
5628
5816
|
}
|
|
5629
5817
|
|
|
5630
|
-
|
|
5631
|
-
|
|
5818
|
+
/* Shimmer animation */
|
|
5819
|
+
@keyframes muka-skeleton-shimmer {
|
|
5820
|
+
0% {
|
|
5821
|
+
background-position: -200% 0;
|
|
5822
|
+
}
|
|
5823
|
+
100% {
|
|
5824
|
+
background-position: 200% 0;
|
|
5825
|
+
}
|
|
5632
5826
|
}
|
|
5633
5827
|
|
|
5634
|
-
.muka-
|
|
5635
|
-
|
|
5636
|
-
|
|
5828
|
+
.muka-skeleton--shimmer {
|
|
5829
|
+
background: linear-gradient(
|
|
5830
|
+
90deg,
|
|
5831
|
+
var(--color-surface-level1) 25%,
|
|
5832
|
+
var(--color-surface-level2) 50%,
|
|
5833
|
+
var(--color-surface-level1) 75%
|
|
5834
|
+
);
|
|
5835
|
+
background-size: 200% 100%;
|
|
5836
|
+
animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
|
|
5637
5837
|
}
|
|
5638
5838
|
|
|
5639
|
-
|
|
5640
|
-
|
|
5641
|
-
|
|
5642
|
-
|
|
5643
|
-
|
|
5644
|
-
|
|
5645
|
-
|
|
5839
|
+
/* Pulse animation */
|
|
5840
|
+
@keyframes muka-skeleton-pulse {
|
|
5841
|
+
0%, 100% {
|
|
5842
|
+
opacity: 1;
|
|
5843
|
+
}
|
|
5844
|
+
50% {
|
|
5845
|
+
opacity: 0.4;
|
|
5846
|
+
}
|
|
5646
5847
|
}
|
|
5647
5848
|
|
|
5648
|
-
.muka-
|
|
5649
|
-
|
|
5650
|
-
}
|
|
5651
|
-
|
|
5652
|
-
.muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
|
|
5653
|
-
width: var(--button-icon-lg);
|
|
5654
|
-
height: var(--button-icon-lg);
|
|
5655
|
-
}
|
|
5656
|
-
|
|
5657
|
-
/* White lockup — for dark surfaces (Apple White with Outline) */
|
|
5658
|
-
.muka-social-sign-in-button--white {
|
|
5659
|
-
background-color: var(--ssi-white);
|
|
5660
|
-
color: var(--ssi-black);
|
|
5661
|
-
border-color: var(--ssi-black);
|
|
5662
|
-
}
|
|
5663
|
-
|
|
5664
|
-
.muka-social-sign-in-button--white.muka-social-sign-in-button--google {
|
|
5665
|
-
color: var(--ssi-google-text-light);
|
|
5666
|
-
}
|
|
5667
|
-
|
|
5668
|
-
/* Black lockup — for light surfaces */
|
|
5669
|
-
.muka-social-sign-in-button--black {
|
|
5670
|
-
background-color: var(--ssi-black);
|
|
5671
|
-
color: var(--ssi-white);
|
|
5672
|
-
border-color: transparent;
|
|
5673
|
-
}
|
|
5674
|
-
|
|
5675
|
-
/* Interaction — luminance/opacity only; no brand tint */
|
|
5676
|
-
.muka-social-sign-in-button:hover:not(:disabled) {
|
|
5677
|
-
filter: brightness(0.92);
|
|
5678
|
-
}
|
|
5679
|
-
|
|
5680
|
-
.muka-social-sign-in-button:active:not(:disabled) {
|
|
5681
|
-
filter: brightness(0.85);
|
|
5682
|
-
}
|
|
5683
|
-
|
|
5684
|
-
.muka-social-sign-in-button:disabled,
|
|
5685
|
-
.muka-social-sign-in-button--disabled {
|
|
5686
|
-
cursor: not-allowed;
|
|
5687
|
-
opacity: 0.4;
|
|
5688
|
-
pointer-events: none;
|
|
5689
|
-
filter: none;
|
|
5690
|
-
}
|
|
5691
|
-
|
|
5692
|
-
.muka-social-sign-in-button--full-width {
|
|
5693
|
-
width: 100%;
|
|
5694
|
-
min-width: 0;
|
|
5695
|
-
}
|
|
5696
|
-
|
|
5697
|
-
.muka-social-sign-in-button__icon {
|
|
5698
|
-
display: inline-flex;
|
|
5699
|
-
align-items: center;
|
|
5700
|
-
justify-content: center;
|
|
5701
|
-
flex-shrink: 0;
|
|
5702
|
-
}
|
|
5703
|
-
|
|
5704
|
-
.muka-social-sign-in-button__icon > *,
|
|
5705
|
-
.muka-social-sign-in-button__icon svg {
|
|
5706
|
-
width: auto;
|
|
5707
|
-
height: 100%;
|
|
5708
|
-
max-width: 100%;
|
|
5709
|
-
display: block;
|
|
5710
|
-
}
|
|
5711
|
-
|
|
5712
|
-
.muka-social-sign-in-button__label {
|
|
5713
|
-
display: inline-flex;
|
|
5714
|
-
align-items: center;
|
|
5715
|
-
}
|
|
5716
|
-
|
|
5717
|
-
|
|
5718
|
-
/* Skeleton */
|
|
5719
|
-
/* Skeleton Component Styles */
|
|
5720
|
-
|
|
5721
|
-
.muka-skeleton {
|
|
5722
|
-
background-color: var(--color-surface-level1);
|
|
5723
|
-
display: block;
|
|
5724
|
-
}
|
|
5725
|
-
|
|
5726
|
-
/* Variants */
|
|
5727
|
-
.muka-skeleton--text {
|
|
5728
|
-
height: 1em;
|
|
5729
|
-
border-radius: var(--radius-md);
|
|
5730
|
-
width: 100%;
|
|
5731
|
-
}
|
|
5732
|
-
|
|
5733
|
-
.muka-skeleton--circular {
|
|
5734
|
-
width: 2.5rem;
|
|
5735
|
-
height: 2.5rem;
|
|
5736
|
-
border-radius: var(--radius-full);
|
|
5737
|
-
}
|
|
5738
|
-
|
|
5739
|
-
.muka-skeleton--rectangular {
|
|
5740
|
-
height: 7.5rem;
|
|
5741
|
-
border-radius: var(--radius-md);
|
|
5742
|
-
width: 100%;
|
|
5743
|
-
}
|
|
5744
|
-
|
|
5745
|
-
/* Last line in multi-line text is shorter */
|
|
5746
|
-
.muka-skeleton--last-line {
|
|
5747
|
-
width: 80%;
|
|
5748
|
-
}
|
|
5749
|
-
|
|
5750
|
-
/* Lines container */
|
|
5751
|
-
.muka-skeleton__lines {
|
|
5752
|
-
display: flex;
|
|
5753
|
-
flex-direction: column;
|
|
5754
|
-
gap: var(--spacing-2);
|
|
5755
|
-
}
|
|
5756
|
-
|
|
5757
|
-
/* Shimmer animation */
|
|
5758
|
-
@keyframes muka-skeleton-shimmer {
|
|
5759
|
-
0% {
|
|
5760
|
-
background-position: -200% 0;
|
|
5761
|
-
}
|
|
5762
|
-
100% {
|
|
5763
|
-
background-position: 200% 0;
|
|
5764
|
-
}
|
|
5765
|
-
}
|
|
5766
|
-
|
|
5767
|
-
.muka-skeleton--shimmer {
|
|
5768
|
-
background: linear-gradient(
|
|
5769
|
-
90deg,
|
|
5770
|
-
var(--color-surface-level1) 25%,
|
|
5771
|
-
var(--color-surface-level2) 50%,
|
|
5772
|
-
var(--color-surface-level1) 75%
|
|
5773
|
-
);
|
|
5774
|
-
background-size: 200% 100%;
|
|
5775
|
-
animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
|
|
5776
|
-
}
|
|
5777
|
-
|
|
5778
|
-
/* Pulse animation */
|
|
5779
|
-
@keyframes muka-skeleton-pulse {
|
|
5780
|
-
0%, 100% {
|
|
5781
|
-
opacity: 1;
|
|
5782
|
-
}
|
|
5783
|
-
50% {
|
|
5784
|
-
opacity: 0.4;
|
|
5785
|
-
}
|
|
5786
|
-
}
|
|
5787
|
-
|
|
5788
|
-
.muka-skeleton--pulse {
|
|
5789
|
-
animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
|
|
5849
|
+
.muka-skeleton--pulse {
|
|
5850
|
+
animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
|
|
5790
5851
|
}
|
|
5791
5852
|
|
|
5792
5853
|
|
|
@@ -5935,88 +5996,6 @@ body {
|
|
|
5935
5996
|
}
|
|
5936
5997
|
|
|
5937
5998
|
|
|
5938
|
-
/* Sheet */
|
|
5939
|
-
/* Sheet Component Styles */
|
|
5940
|
-
|
|
5941
|
-
/* ─── Backdrop ────────────────────────────────────────── */
|
|
5942
|
-
|
|
5943
|
-
.muka-sheet__overlay {
|
|
5944
|
-
position: fixed;
|
|
5945
|
-
inset: 0;
|
|
5946
|
-
background-color: var(--color-surface-backdrop);
|
|
5947
|
-
-webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
5948
|
-
backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
5949
|
-
z-index: 50;
|
|
5950
|
-
}
|
|
5951
|
-
|
|
5952
|
-
/* ─── Surface ─────────────────────────────────────────── */
|
|
5953
|
-
|
|
5954
|
-
.muka-sheet {
|
|
5955
|
-
position: fixed;
|
|
5956
|
-
left: 0;
|
|
5957
|
-
right: 0;
|
|
5958
|
-
bottom: 0;
|
|
5959
|
-
z-index: 51;
|
|
5960
|
-
|
|
5961
|
-
display: flex;
|
|
5962
|
-
flex-direction: column;
|
|
5963
|
-
|
|
5964
|
-
max-height: 96dvh;
|
|
5965
|
-
|
|
5966
|
-
background-color: var(--color-surface-level3);
|
|
5967
|
-
border-top-left-radius: var(--radius-lg);
|
|
5968
|
-
border-top-right-radius: var(--radius-lg);
|
|
5969
|
-
box-shadow: var(--shadow-level5);
|
|
5970
|
-
|
|
5971
|
-
outline: none;
|
|
5972
|
-
}
|
|
5973
|
-
|
|
5974
|
-
/* Safe-area bottom inset for the iPhone home indicator. */
|
|
5975
|
-
.muka-sheet:not(.muka-sheet--no-safe-area) {
|
|
5976
|
-
padding-bottom: env(safe-area-inset-bottom);
|
|
5977
|
-
}
|
|
5978
|
-
|
|
5979
|
-
/* ─── Drag handle ─────────────────────────────────────── */
|
|
5980
|
-
|
|
5981
|
-
.muka-sheet__handle-container {
|
|
5982
|
-
display: flex;
|
|
5983
|
-
justify-content: center;
|
|
5984
|
-
flex-shrink: 0;
|
|
5985
|
-
padding: var(--spacing-3) 0;
|
|
5986
|
-
}
|
|
5987
|
-
|
|
5988
|
-
.muka-sheet__handle {
|
|
5989
|
-
width: var(--dialog-drag-handle-width);
|
|
5990
|
-
height: var(--dialog-drag-handle-height);
|
|
5991
|
-
background-color: var(--dialog-drag-handle-color);
|
|
5992
|
-
border-radius: var(--dialog-drag-handle-radius);
|
|
5993
|
-
}
|
|
5994
|
-
|
|
5995
|
-
/* ─── Body (scrollable) ───────────────────────────────── */
|
|
5996
|
-
|
|
5997
|
-
.muka-sheet__body {
|
|
5998
|
-
flex: 1 1 0%;
|
|
5999
|
-
min-height: 0;
|
|
6000
|
-
overflow-y: auto;
|
|
6001
|
-
-webkit-overflow-scrolling: touch;
|
|
6002
|
-
overscroll-behavior: contain;
|
|
6003
|
-
}
|
|
6004
|
-
|
|
6005
|
-
/* ─── Visually-hidden title (a11y) ────────────────────── */
|
|
6006
|
-
|
|
6007
|
-
.muka-sheet__sr-title {
|
|
6008
|
-
position: absolute;
|
|
6009
|
-
width: 1px;
|
|
6010
|
-
height: 1px;
|
|
6011
|
-
padding: 0;
|
|
6012
|
-
margin: -1px;
|
|
6013
|
-
overflow: hidden;
|
|
6014
|
-
clip: rect(0, 0, 0, 0);
|
|
6015
|
-
white-space: nowrap;
|
|
6016
|
-
border: 0;
|
|
6017
|
-
}
|
|
6018
|
-
|
|
6019
|
-
|
|
6020
5999
|
/* Select */
|
|
6021
6000
|
/* Select Component Styles - Aligned with Input for consistency */
|
|
6022
6001
|
|
|
@@ -6399,27 +6378,109 @@ body {
|
|
|
6399
6378
|
}
|
|
6400
6379
|
|
|
6401
6380
|
|
|
6402
|
-
/*
|
|
6403
|
-
/*
|
|
6381
|
+
/* Sheet */
|
|
6382
|
+
/* Sheet Component Styles */
|
|
6404
6383
|
|
|
6405
|
-
|
|
6406
|
-
box-sizing: border-box;
|
|
6407
|
-
}
|
|
6384
|
+
/* ─── Backdrop ────────────────────────────────────────── */
|
|
6408
6385
|
|
|
6409
|
-
.muka-
|
|
6410
|
-
|
|
6411
|
-
|
|
6386
|
+
.muka-sheet__overlay {
|
|
6387
|
+
position: fixed;
|
|
6388
|
+
inset: 0;
|
|
6389
|
+
background-color: var(--color-surface-backdrop);
|
|
6390
|
+
-webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
6391
|
+
backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
6392
|
+
z-index: 50;
|
|
6412
6393
|
}
|
|
6413
6394
|
|
|
6414
|
-
|
|
6415
|
-
padding-block: var(--section-padding-vertical-default);
|
|
6416
|
-
padding-inline: var(--section-padding-horizontal-default);
|
|
6417
|
-
}
|
|
6395
|
+
/* ─── Surface ─────────────────────────────────────────── */
|
|
6418
6396
|
|
|
6419
|
-
.muka-
|
|
6420
|
-
|
|
6421
|
-
|
|
6422
|
-
|
|
6397
|
+
.muka-sheet {
|
|
6398
|
+
position: fixed;
|
|
6399
|
+
left: 0;
|
|
6400
|
+
right: 0;
|
|
6401
|
+
bottom: 0;
|
|
6402
|
+
z-index: 51;
|
|
6403
|
+
|
|
6404
|
+
display: flex;
|
|
6405
|
+
flex-direction: column;
|
|
6406
|
+
|
|
6407
|
+
max-height: 96dvh;
|
|
6408
|
+
|
|
6409
|
+
background-color: var(--color-surface-level3);
|
|
6410
|
+
border-top-left-radius: var(--radius-lg);
|
|
6411
|
+
border-top-right-radius: var(--radius-lg);
|
|
6412
|
+
box-shadow: var(--shadow-level5);
|
|
6413
|
+
|
|
6414
|
+
outline: none;
|
|
6415
|
+
}
|
|
6416
|
+
|
|
6417
|
+
/* Safe-area bottom inset for the iPhone home indicator. */
|
|
6418
|
+
.muka-sheet:not(.muka-sheet--no-safe-area) {
|
|
6419
|
+
padding-bottom: env(safe-area-inset-bottom);
|
|
6420
|
+
}
|
|
6421
|
+
|
|
6422
|
+
/* ─── Drag handle ─────────────────────────────────────── */
|
|
6423
|
+
|
|
6424
|
+
.muka-sheet__handle-container {
|
|
6425
|
+
display: flex;
|
|
6426
|
+
justify-content: center;
|
|
6427
|
+
flex-shrink: 0;
|
|
6428
|
+
padding: var(--spacing-3) 0;
|
|
6429
|
+
}
|
|
6430
|
+
|
|
6431
|
+
.muka-sheet__handle {
|
|
6432
|
+
width: var(--dialog-drag-handle-width);
|
|
6433
|
+
height: var(--dialog-drag-handle-height);
|
|
6434
|
+
background-color: var(--dialog-drag-handle-color);
|
|
6435
|
+
border-radius: var(--dialog-drag-handle-radius);
|
|
6436
|
+
}
|
|
6437
|
+
|
|
6438
|
+
/* ─── Body (scrollable) ───────────────────────────────── */
|
|
6439
|
+
|
|
6440
|
+
.muka-sheet__body {
|
|
6441
|
+
flex: 1 1 0%;
|
|
6442
|
+
min-height: 0;
|
|
6443
|
+
overflow-y: auto;
|
|
6444
|
+
-webkit-overflow-scrolling: touch;
|
|
6445
|
+
overscroll-behavior: contain;
|
|
6446
|
+
}
|
|
6447
|
+
|
|
6448
|
+
/* ─── Visually-hidden title (a11y) ────────────────────── */
|
|
6449
|
+
|
|
6450
|
+
.muka-sheet__sr-title {
|
|
6451
|
+
position: absolute;
|
|
6452
|
+
width: 1px;
|
|
6453
|
+
height: 1px;
|
|
6454
|
+
padding: 0;
|
|
6455
|
+
margin: -1px;
|
|
6456
|
+
overflow: hidden;
|
|
6457
|
+
clip: rect(0, 0, 0, 0);
|
|
6458
|
+
white-space: nowrap;
|
|
6459
|
+
border: 0;
|
|
6460
|
+
}
|
|
6461
|
+
|
|
6462
|
+
|
|
6463
|
+
/* Section */
|
|
6464
|
+
/* Section Component - Layout tokens (section.padding) */
|
|
6465
|
+
|
|
6466
|
+
.muka-section {
|
|
6467
|
+
box-sizing: border-box;
|
|
6468
|
+
}
|
|
6469
|
+
|
|
6470
|
+
.muka-section--padding-compact {
|
|
6471
|
+
padding-block: var(--section-padding-vertical-compact);
|
|
6472
|
+
padding-inline: var(--section-padding-horizontal-compact);
|
|
6473
|
+
}
|
|
6474
|
+
|
|
6475
|
+
.muka-section--padding-default {
|
|
6476
|
+
padding-block: var(--section-padding-vertical-default);
|
|
6477
|
+
padding-inline: var(--section-padding-horizontal-default);
|
|
6478
|
+
}
|
|
6479
|
+
|
|
6480
|
+
.muka-section--padding-spacious {
|
|
6481
|
+
padding-block: var(--section-padding-vertical-spacious);
|
|
6482
|
+
padding-inline: var(--section-padding-horizontal-spacious);
|
|
6483
|
+
}
|
|
6423
6484
|
|
|
6424
6485
|
|
|
6425
6486
|
/* SearchInput */
|
|
@@ -7127,6 +7188,150 @@ body {
|
|
|
7127
7188
|
}
|
|
7128
7189
|
|
|
7129
7190
|
|
|
7191
|
+
/* Radio */
|
|
7192
|
+
/* Radio Component Styles - Using Muka Design Tokens */
|
|
7193
|
+
|
|
7194
|
+
/* Wrapper - clickable label container */
|
|
7195
|
+
.muka-radio {
|
|
7196
|
+
display: inline-flex;
|
|
7197
|
+
align-items: center;
|
|
7198
|
+
gap: var(--spacing-4);
|
|
7199
|
+
cursor: pointer;
|
|
7200
|
+
user-select: none;
|
|
7201
|
+
}
|
|
7202
|
+
|
|
7203
|
+
.muka-radio--disabled {
|
|
7204
|
+
cursor: not-allowed;
|
|
7205
|
+
opacity: 0.6;
|
|
7206
|
+
}
|
|
7207
|
+
|
|
7208
|
+
/* Control container */
|
|
7209
|
+
.muka-radio__control {
|
|
7210
|
+
position: relative;
|
|
7211
|
+
display: inline-flex;
|
|
7212
|
+
align-items: center;
|
|
7213
|
+
justify-content: center;
|
|
7214
|
+
flex-shrink: 0;
|
|
7215
|
+
}
|
|
7216
|
+
|
|
7217
|
+
/* Hidden native input */
|
|
7218
|
+
.muka-radio__input {
|
|
7219
|
+
position: absolute;
|
|
7220
|
+
width: 1px;
|
|
7221
|
+
height: 1px;
|
|
7222
|
+
padding: 0;
|
|
7223
|
+
margin: -1px;
|
|
7224
|
+
overflow: hidden;
|
|
7225
|
+
clip: rect(0, 0, 0, 0);
|
|
7226
|
+
white-space: nowrap;
|
|
7227
|
+
border: 0;
|
|
7228
|
+
}
|
|
7229
|
+
|
|
7230
|
+
/* Visual indicator (circle) */
|
|
7231
|
+
.muka-radio__indicator {
|
|
7232
|
+
display: flex;
|
|
7233
|
+
align-items: center;
|
|
7234
|
+
justify-content: center;
|
|
7235
|
+
width: var(--radio-size-default);
|
|
7236
|
+
height: var(--radio-size-default);
|
|
7237
|
+
border-radius: var(--border-radius-full);
|
|
7238
|
+
background-color: var(--radio-color-default-background);
|
|
7239
|
+
border: var(--border-width-regular) solid var(--radio-color-default-border);
|
|
7240
|
+
transition: all 0.15s ease;
|
|
7241
|
+
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
7242
|
+
}
|
|
7243
|
+
|
|
7244
|
+
/* Size variants */
|
|
7245
|
+
.muka-radio--sm .muka-radio__indicator {
|
|
7246
|
+
width: var(--radio-size-sm);
|
|
7247
|
+
height: var(--radio-size-sm);
|
|
7248
|
+
}
|
|
7249
|
+
|
|
7250
|
+
.muka-radio--lg .muka-radio__indicator {
|
|
7251
|
+
width: var(--radio-size-lg);
|
|
7252
|
+
height: var(--radio-size-lg);
|
|
7253
|
+
}
|
|
7254
|
+
|
|
7255
|
+
/* Inner dot (shown when checked) */
|
|
7256
|
+
.muka-radio__dot {
|
|
7257
|
+
width: var(--radio-dot-size-default);
|
|
7258
|
+
height: var(--radio-dot-size-default);
|
|
7259
|
+
border-radius: var(--border-radius-full);
|
|
7260
|
+
background-color: var(--radio-color-default-dot);
|
|
7261
|
+
transform: scale(0);
|
|
7262
|
+
transition: transform 0.15s ease;
|
|
7263
|
+
}
|
|
7264
|
+
|
|
7265
|
+
.muka-radio--sm .muka-radio__dot {
|
|
7266
|
+
width: var(--radio-dot-size-sm);
|
|
7267
|
+
height: var(--radio-dot-size-sm);
|
|
7268
|
+
}
|
|
7269
|
+
|
|
7270
|
+
.muka-radio--lg .muka-radio__dot {
|
|
7271
|
+
width: var(--radio-dot-size-lg);
|
|
7272
|
+
height: var(--radio-dot-size-lg);
|
|
7273
|
+
}
|
|
7274
|
+
|
|
7275
|
+
/* Hover state - removed per design */
|
|
7276
|
+
|
|
7277
|
+
/* Focus state */
|
|
7278
|
+
.muka-radio__input:focus-visible + .muka-radio__indicator {
|
|
7279
|
+
outline: 2px solid var(--color-border-focus);
|
|
7280
|
+
outline-offset: 2px;
|
|
7281
|
+
}
|
|
7282
|
+
|
|
7283
|
+
/* Checked state */
|
|
7284
|
+
.muka-radio__input:checked + .muka-radio__indicator {
|
|
7285
|
+
background-color: var(--radio-color-checked-background);
|
|
7286
|
+
border-width: var(--border-width-bold);
|
|
7287
|
+
border-color: var(--radio-color-checked-border);
|
|
7288
|
+
box-shadow: none;
|
|
7289
|
+
}
|
|
7290
|
+
|
|
7291
|
+
.muka-radio__input:checked + .muka-radio__indicator .muka-radio__dot {
|
|
7292
|
+
background-color: var(--radio-color-checked-dot);
|
|
7293
|
+
transform: scale(1);
|
|
7294
|
+
}
|
|
7295
|
+
|
|
7296
|
+
/* Disabled state */
|
|
7297
|
+
.muka-radio--disabled .muka-radio__indicator {
|
|
7298
|
+
background-color: var(--radio-color-disabled-background);
|
|
7299
|
+
border-color: var(--radio-color-disabled-border);
|
|
7300
|
+
box-shadow: none;
|
|
7301
|
+
}
|
|
7302
|
+
|
|
7303
|
+
.muka-radio__input:disabled:checked + .muka-radio__indicator .muka-radio__dot {
|
|
7304
|
+
background-color: var(--radio-color-disabled-dot);
|
|
7305
|
+
}
|
|
7306
|
+
|
|
7307
|
+
/* Label text */
|
|
7308
|
+
.muka-radio__label {
|
|
7309
|
+
font-family: var(--text-label-lg-regular-fontFamily);
|
|
7310
|
+
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
7311
|
+
font-size: var(--text-label-lg-regular-fontSize);
|
|
7312
|
+
line-height: var(--text-label-lg-regular-lineHeight);
|
|
7313
|
+
color: var(--color-text-default-default);
|
|
7314
|
+
}
|
|
7315
|
+
|
|
7316
|
+
.muka-radio--sm .muka-radio__label {
|
|
7317
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
7318
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
7319
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
7320
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
7321
|
+
}
|
|
7322
|
+
|
|
7323
|
+
.muka-radio--lg .muka-radio__label {
|
|
7324
|
+
font-family: var(--text-label-xl-regular-fontFamily);
|
|
7325
|
+
font-weight: var(--text-label-xl-regular-fontWeight);
|
|
7326
|
+
font-size: var(--text-label-xl-regular-fontSize);
|
|
7327
|
+
line-height: var(--text-label-xl-regular-lineHeight);
|
|
7328
|
+
}
|
|
7329
|
+
|
|
7330
|
+
.muka-radio--disabled .muka-radio__label {
|
|
7331
|
+
color: var(--color-text-subtle-default);
|
|
7332
|
+
}
|
|
7333
|
+
|
|
7334
|
+
|
|
7130
7335
|
/* PullToRefresh */
|
|
7131
7336
|
/* PullToRefresh Component Styles */
|
|
7132
7337
|
|
|
@@ -7738,170 +7943,26 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
7738
7943
|
}
|
|
7739
7944
|
|
|
7740
7945
|
|
|
7741
|
-
/*
|
|
7742
|
-
/*
|
|
7946
|
+
/* ProgressAccordeon */
|
|
7947
|
+
/* ProgressAccordeon Component Styles — Using Muka Design Tokens */
|
|
7743
7948
|
|
|
7744
|
-
/*
|
|
7745
|
-
.muka-
|
|
7746
|
-
|
|
7747
|
-
|
|
7748
|
-
|
|
7749
|
-
|
|
7750
|
-
|
|
7949
|
+
/* ─── Root ──────────────────────────────────────────────── */
|
|
7950
|
+
.muka-progress-accordeon {
|
|
7951
|
+
container-type: inline-size;
|
|
7952
|
+
display: flex;
|
|
7953
|
+
flex-direction: column;
|
|
7954
|
+
align-items: stretch;
|
|
7955
|
+
width: 100%;
|
|
7956
|
+
/* Top padding provides the vertical rhythm between stacked steps */
|
|
7957
|
+
padding-top: var(--spacing-8);
|
|
7751
7958
|
}
|
|
7752
7959
|
|
|
7753
|
-
|
|
7754
|
-
|
|
7755
|
-
|
|
7756
|
-
|
|
7757
|
-
|
|
7758
|
-
|
|
7759
|
-
.muka-radio__control {
|
|
7760
|
-
position: relative;
|
|
7761
|
-
display: inline-flex;
|
|
7762
|
-
align-items: center;
|
|
7763
|
-
justify-content: center;
|
|
7764
|
-
flex-shrink: 0;
|
|
7765
|
-
}
|
|
7766
|
-
|
|
7767
|
-
/* Hidden native input */
|
|
7768
|
-
.muka-radio__input {
|
|
7769
|
-
position: absolute;
|
|
7770
|
-
width: 1px;
|
|
7771
|
-
height: 1px;
|
|
7772
|
-
padding: 0;
|
|
7773
|
-
margin: -1px;
|
|
7774
|
-
overflow: hidden;
|
|
7775
|
-
clip: rect(0, 0, 0, 0);
|
|
7776
|
-
white-space: nowrap;
|
|
7777
|
-
border: 0;
|
|
7778
|
-
}
|
|
7779
|
-
|
|
7780
|
-
/* Visual indicator (circle) */
|
|
7781
|
-
.muka-radio__indicator {
|
|
7782
|
-
display: flex;
|
|
7783
|
-
align-items: center;
|
|
7784
|
-
justify-content: center;
|
|
7785
|
-
width: var(--radio-size-default);
|
|
7786
|
-
height: var(--radio-size-default);
|
|
7787
|
-
border-radius: var(--border-radius-full);
|
|
7788
|
-
background-color: var(--radio-color-default-background);
|
|
7789
|
-
border: var(--border-width-regular) solid var(--radio-color-default-border);
|
|
7790
|
-
transition: all 0.15s ease;
|
|
7791
|
-
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
7792
|
-
}
|
|
7793
|
-
|
|
7794
|
-
/* Size variants */
|
|
7795
|
-
.muka-radio--sm .muka-radio__indicator {
|
|
7796
|
-
width: var(--radio-size-sm);
|
|
7797
|
-
height: var(--radio-size-sm);
|
|
7798
|
-
}
|
|
7799
|
-
|
|
7800
|
-
.muka-radio--lg .muka-radio__indicator {
|
|
7801
|
-
width: var(--radio-size-lg);
|
|
7802
|
-
height: var(--radio-size-lg);
|
|
7803
|
-
}
|
|
7804
|
-
|
|
7805
|
-
/* Inner dot (shown when checked) */
|
|
7806
|
-
.muka-radio__dot {
|
|
7807
|
-
width: var(--radio-dot-size-default);
|
|
7808
|
-
height: var(--radio-dot-size-default);
|
|
7809
|
-
border-radius: var(--border-radius-full);
|
|
7810
|
-
background-color: var(--radio-color-default-dot);
|
|
7811
|
-
transform: scale(0);
|
|
7812
|
-
transition: transform 0.15s ease;
|
|
7813
|
-
}
|
|
7814
|
-
|
|
7815
|
-
.muka-radio--sm .muka-radio__dot {
|
|
7816
|
-
width: var(--radio-dot-size-sm);
|
|
7817
|
-
height: var(--radio-dot-size-sm);
|
|
7818
|
-
}
|
|
7819
|
-
|
|
7820
|
-
.muka-radio--lg .muka-radio__dot {
|
|
7821
|
-
width: var(--radio-dot-size-lg);
|
|
7822
|
-
height: var(--radio-dot-size-lg);
|
|
7823
|
-
}
|
|
7824
|
-
|
|
7825
|
-
/* Hover state - removed per design */
|
|
7826
|
-
|
|
7827
|
-
/* Focus state */
|
|
7828
|
-
.muka-radio__input:focus-visible + .muka-radio__indicator {
|
|
7829
|
-
outline: 2px solid var(--color-border-focus);
|
|
7830
|
-
outline-offset: 2px;
|
|
7831
|
-
}
|
|
7832
|
-
|
|
7833
|
-
/* Checked state */
|
|
7834
|
-
.muka-radio__input:checked + .muka-radio__indicator {
|
|
7835
|
-
background-color: var(--radio-color-checked-background);
|
|
7836
|
-
border-width: var(--border-width-bold);
|
|
7837
|
-
border-color: var(--radio-color-checked-border);
|
|
7838
|
-
box-shadow: none;
|
|
7839
|
-
}
|
|
7840
|
-
|
|
7841
|
-
.muka-radio__input:checked + .muka-radio__indicator .muka-radio__dot {
|
|
7842
|
-
background-color: var(--radio-color-checked-dot);
|
|
7843
|
-
transform: scale(1);
|
|
7844
|
-
}
|
|
7845
|
-
|
|
7846
|
-
/* Disabled state */
|
|
7847
|
-
.muka-radio--disabled .muka-radio__indicator {
|
|
7848
|
-
background-color: var(--radio-color-disabled-background);
|
|
7849
|
-
border-color: var(--radio-color-disabled-border);
|
|
7850
|
-
box-shadow: none;
|
|
7851
|
-
}
|
|
7852
|
-
|
|
7853
|
-
.muka-radio__input:disabled:checked + .muka-radio__indicator .muka-radio__dot {
|
|
7854
|
-
background-color: var(--radio-color-disabled-dot);
|
|
7855
|
-
}
|
|
7856
|
-
|
|
7857
|
-
/* Label text */
|
|
7858
|
-
.muka-radio__label {
|
|
7859
|
-
font-family: var(--text-label-lg-regular-fontFamily);
|
|
7860
|
-
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
7861
|
-
font-size: var(--text-label-lg-regular-fontSize);
|
|
7862
|
-
line-height: var(--text-label-lg-regular-lineHeight);
|
|
7863
|
-
color: var(--color-text-default-default);
|
|
7864
|
-
}
|
|
7865
|
-
|
|
7866
|
-
.muka-radio--sm .muka-radio__label {
|
|
7867
|
-
font-family: var(--text-label-md-regular-fontFamily);
|
|
7868
|
-
font-weight: var(--text-label-md-regular-fontWeight);
|
|
7869
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
7870
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
7871
|
-
}
|
|
7872
|
-
|
|
7873
|
-
.muka-radio--lg .muka-radio__label {
|
|
7874
|
-
font-family: var(--text-label-xl-regular-fontFamily);
|
|
7875
|
-
font-weight: var(--text-label-xl-regular-fontWeight);
|
|
7876
|
-
font-size: var(--text-label-xl-regular-fontSize);
|
|
7877
|
-
line-height: var(--text-label-xl-regular-lineHeight);
|
|
7878
|
-
}
|
|
7879
|
-
|
|
7880
|
-
.muka-radio--disabled .muka-radio__label {
|
|
7881
|
-
color: var(--color-text-subtle-default);
|
|
7882
|
-
}
|
|
7883
|
-
|
|
7884
|
-
|
|
7885
|
-
/* ProgressAccordeon */
|
|
7886
|
-
/* ProgressAccordeon Component Styles — Using Muka Design Tokens */
|
|
7887
|
-
|
|
7888
|
-
/* ─── Root ──────────────────────────────────────────────── */
|
|
7889
|
-
.muka-progress-accordeon {
|
|
7890
|
-
container-type: inline-size;
|
|
7891
|
-
display: flex;
|
|
7892
|
-
flex-direction: column;
|
|
7893
|
-
align-items: stretch;
|
|
7894
|
-
width: 100%;
|
|
7895
|
-
/* Top padding provides the vertical rhythm between stacked steps */
|
|
7896
|
-
padding-top: var(--spacing-8);
|
|
7897
|
-
}
|
|
7898
|
-
|
|
7899
|
-
/* Per-state gap: content-bearing steps are tighter, header-only steps looser */
|
|
7900
|
-
.muka-progress-accordeon--current,
|
|
7901
|
-
.muka-progress-accordeon--current.muka-progress-accordeon--expanded,
|
|
7902
|
-
.muka-progress-accordeon--past.muka-progress-accordeon--expanded,
|
|
7903
|
-
.muka-progress-accordeon--upcoming.muka-progress-accordeon--expanded {
|
|
7904
|
-
gap: var(--spacing-6);
|
|
7960
|
+
/* Per-state gap: content-bearing steps are tighter, header-only steps looser */
|
|
7961
|
+
.muka-progress-accordeon--current,
|
|
7962
|
+
.muka-progress-accordeon--current.muka-progress-accordeon--expanded,
|
|
7963
|
+
.muka-progress-accordeon--past.muka-progress-accordeon--expanded,
|
|
7964
|
+
.muka-progress-accordeon--upcoming.muka-progress-accordeon--expanded {
|
|
7965
|
+
gap: var(--spacing-6);
|
|
7905
7966
|
}
|
|
7906
7967
|
|
|
7907
7968
|
.muka-progress-accordeon--upcoming,
|
|
@@ -8312,194 +8373,80 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
8312
8373
|
}
|
|
8313
8374
|
|
|
8314
8375
|
|
|
8315
|
-
/*
|
|
8316
|
-
/*
|
|
8376
|
+
/* PriceTag */
|
|
8377
|
+
/* PriceTag Component Styles - Using Muka Design Tokens */
|
|
8317
8378
|
|
|
8318
|
-
.muka-
|
|
8319
|
-
display:
|
|
8320
|
-
|
|
8321
|
-
min-width: 0;
|
|
8322
|
-
align-items: center;
|
|
8323
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
8379
|
+
.muka-price-tag {
|
|
8380
|
+
display: flex;
|
|
8381
|
+
flex-shrink: 0;
|
|
8324
8382
|
}
|
|
8325
8383
|
|
|
8326
|
-
/*
|
|
8327
|
-
.muka-
|
|
8328
|
-
|
|
8384
|
+
/* Medium: stacked layout (price on top, unit below) */
|
|
8385
|
+
.muka-price-tag--md {
|
|
8386
|
+
flex-direction: column;
|
|
8387
|
+
align-items: flex-end;
|
|
8388
|
+
justify-content: center;
|
|
8329
8389
|
}
|
|
8330
8390
|
|
|
8331
|
-
|
|
8332
|
-
|
|
8391
|
+
/* Small: inline layout */
|
|
8392
|
+
.muka-price-tag--sm {
|
|
8393
|
+
flex-direction: row;
|
|
8394
|
+
align-items: center;
|
|
8395
|
+
gap: 3px;
|
|
8333
8396
|
}
|
|
8334
8397
|
|
|
8335
|
-
|
|
8336
|
-
|
|
8398
|
+
/* Amount row: currency + numbers */
|
|
8399
|
+
.muka-price-tag__amount {
|
|
8400
|
+
display: flex;
|
|
8401
|
+
align-items: flex-start;
|
|
8402
|
+
gap: var(--spacing-1);
|
|
8337
8403
|
}
|
|
8338
8404
|
|
|
8339
|
-
.muka-
|
|
8340
|
-
|
|
8405
|
+
.muka-price-tag--sm .muka-price-tag__amount {
|
|
8406
|
+
align-items: center;
|
|
8341
8407
|
}
|
|
8342
8408
|
|
|
8343
|
-
/*
|
|
8344
|
-
.muka-
|
|
8409
|
+
/* Numbers group: whole + decimal + cents */
|
|
8410
|
+
.muka-price-tag__numbers {
|
|
8345
8411
|
display: flex;
|
|
8346
|
-
|
|
8347
|
-
align-items: flex-start;
|
|
8348
|
-
min-width: 0;
|
|
8412
|
+
align-items: baseline;
|
|
8349
8413
|
}
|
|
8350
8414
|
|
|
8351
|
-
|
|
8352
|
-
max-width: 100%;
|
|
8353
|
-
overflow: hidden;
|
|
8354
|
-
text-overflow: ellipsis;
|
|
8355
|
-
white-space: nowrap;
|
|
8356
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
8357
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
8358
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
8359
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
8360
|
-
color: var(--color-text-default-default);
|
|
8361
|
-
}
|
|
8415
|
+
/* ─── Medium size typography ──────────────────────────── */
|
|
8362
8416
|
|
|
8363
|
-
.muka-
|
|
8364
|
-
font-family: var(--text-
|
|
8365
|
-
font-
|
|
8366
|
-
font-
|
|
8367
|
-
line-height: var(--text-
|
|
8417
|
+
.muka-price-tag--md .muka-price-tag__currency {
|
|
8418
|
+
font-family: var(--text-subheading-md-fontFamily);
|
|
8419
|
+
font-weight: var(--text-subheading-md-fontWeight);
|
|
8420
|
+
font-size: var(--text-subheading-md-fontSize);
|
|
8421
|
+
line-height: var(--text-label-2xl-bold-lineHeight);
|
|
8368
8422
|
color: var(--color-text-subtle-default);
|
|
8369
8423
|
}
|
|
8370
8424
|
|
|
8371
|
-
|
|
8372
|
-
|
|
8373
|
-
|
|
8374
|
-
|
|
8375
|
-
|
|
8376
|
-
|
|
8377
|
-
text-align: left;
|
|
8378
|
-
border-radius: var(--radius-md);
|
|
8379
|
-
transition: opacity 0.2s ease;
|
|
8380
|
-
}
|
|
8381
|
-
|
|
8382
|
-
.muka-profile-badge--clickable:hover {
|
|
8383
|
-
opacity: 0.9;
|
|
8425
|
+
.muka-price-tag--md .muka-price-tag__whole {
|
|
8426
|
+
font-family: var(--text-label-2xl-bold-fontFamily);
|
|
8427
|
+
font-weight: var(--text-label-2xl-bold-fontWeight);
|
|
8428
|
+
font-size: var(--text-label-2xl-bold-fontSize);
|
|
8429
|
+
line-height: var(--text-label-2xl-bold-lineHeight);
|
|
8430
|
+
color: var(--color-text-default-default);
|
|
8384
8431
|
}
|
|
8385
8432
|
|
|
8386
|
-
.muka-
|
|
8387
|
-
|
|
8433
|
+
.muka-price-tag--md .muka-price-tag__decimal,
|
|
8434
|
+
.muka-price-tag--md .muka-price-tag__cents {
|
|
8435
|
+
font-family: var(--text-label-md-bold-fontFamily);
|
|
8436
|
+
font-weight: var(--text-label-md-bold-fontWeight);
|
|
8437
|
+
font-size: var(--text-label-md-bold-fontSize);
|
|
8438
|
+
line-height: var(--text-label-md-bold-lineHeight);
|
|
8439
|
+
color: var(--color-text-default-default);
|
|
8388
8440
|
}
|
|
8389
8441
|
|
|
8390
|
-
|
|
8391
|
-
outline: 2px solid var(--color-border-focus);
|
|
8392
|
-
outline-offset: 2px;
|
|
8393
|
-
}
|
|
8442
|
+
/* ─── Small size typography ───────────────────────────── */
|
|
8394
8443
|
|
|
8395
|
-
|
|
8396
|
-
|
|
8397
|
-
|
|
8398
|
-
|
|
8399
|
-
|
|
8400
|
-
|
|
8401
|
-
* A clickable badge with a chevron is a pill (Figma Profile Badge, Bouwplan
|
|
8402
|
-
* header): 4px inset on the avatar side, 12px after the chevron. The border
|
|
8403
|
-
* is an inset shadow so it appears on hover and while the menu is open
|
|
8404
|
-
* without moving the content.
|
|
8405
|
-
*/
|
|
8406
|
-
.muka-profile-badge--clickable.muka-profile-badge--with-chevron {
|
|
8407
|
-
padding: var(--spacing-1) var(--spacing-3) var(--spacing-1) var(--spacing-1);
|
|
8408
|
-
border-radius: var(--radius-full);
|
|
8409
|
-
transition: box-shadow 0.2s ease;
|
|
8410
|
-
}
|
|
8411
|
-
|
|
8412
|
-
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
|
|
8413
|
-
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:active {
|
|
8414
|
-
opacity: 1;
|
|
8415
|
-
}
|
|
8416
|
-
|
|
8417
|
-
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
|
|
8418
|
-
.muka-profile-badge--clickable.muka-profile-badge--with-chevron[aria-expanded='true'],
|
|
8419
|
-
.muka-profile-badge--clickable.muka-profile-badge--with-chevron[data-state='open'] {
|
|
8420
|
-
box-shadow: inset 0 0 0 var(--border-width-regular) var(--button-color-ghost-border-hover);
|
|
8421
|
-
}
|
|
8422
|
-
|
|
8423
|
-
/* A badge without an avatar keeps the 12px start inset */
|
|
8424
|
-
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:not(:has(.muka-profile-badge__avatar)) {
|
|
8425
|
-
padding-left: var(--spacing-3);
|
|
8426
|
-
}
|
|
8427
|
-
|
|
8428
|
-
|
|
8429
|
-
/* PriceTag */
|
|
8430
|
-
/* PriceTag Component Styles - Using Muka Design Tokens */
|
|
8431
|
-
|
|
8432
|
-
.muka-price-tag {
|
|
8433
|
-
display: flex;
|
|
8434
|
-
flex-shrink: 0;
|
|
8435
|
-
}
|
|
8436
|
-
|
|
8437
|
-
/* Medium: stacked layout (price on top, unit below) */
|
|
8438
|
-
.muka-price-tag--md {
|
|
8439
|
-
flex-direction: column;
|
|
8440
|
-
align-items: flex-end;
|
|
8441
|
-
justify-content: center;
|
|
8442
|
-
}
|
|
8443
|
-
|
|
8444
|
-
/* Small: inline layout */
|
|
8445
|
-
.muka-price-tag--sm {
|
|
8446
|
-
flex-direction: row;
|
|
8447
|
-
align-items: center;
|
|
8448
|
-
gap: 3px;
|
|
8449
|
-
}
|
|
8450
|
-
|
|
8451
|
-
/* Amount row: currency + numbers */
|
|
8452
|
-
.muka-price-tag__amount {
|
|
8453
|
-
display: flex;
|
|
8454
|
-
align-items: flex-start;
|
|
8455
|
-
gap: var(--spacing-1);
|
|
8456
|
-
}
|
|
8457
|
-
|
|
8458
|
-
.muka-price-tag--sm .muka-price-tag__amount {
|
|
8459
|
-
align-items: center;
|
|
8460
|
-
}
|
|
8461
|
-
|
|
8462
|
-
/* Numbers group: whole + decimal + cents */
|
|
8463
|
-
.muka-price-tag__numbers {
|
|
8464
|
-
display: flex;
|
|
8465
|
-
align-items: baseline;
|
|
8466
|
-
}
|
|
8467
|
-
|
|
8468
|
-
/* ─── Medium size typography ──────────────────────────── */
|
|
8469
|
-
|
|
8470
|
-
.muka-price-tag--md .muka-price-tag__currency {
|
|
8471
|
-
font-family: var(--text-subheading-md-fontFamily);
|
|
8472
|
-
font-weight: var(--text-subheading-md-fontWeight);
|
|
8473
|
-
font-size: var(--text-subheading-md-fontSize);
|
|
8474
|
-
line-height: var(--text-label-2xl-bold-lineHeight);
|
|
8475
|
-
color: var(--color-text-subtle-default);
|
|
8476
|
-
}
|
|
8477
|
-
|
|
8478
|
-
.muka-price-tag--md .muka-price-tag__whole {
|
|
8479
|
-
font-family: var(--text-label-2xl-bold-fontFamily);
|
|
8480
|
-
font-weight: var(--text-label-2xl-bold-fontWeight);
|
|
8481
|
-
font-size: var(--text-label-2xl-bold-fontSize);
|
|
8482
|
-
line-height: var(--text-label-2xl-bold-lineHeight);
|
|
8483
|
-
color: var(--color-text-default-default);
|
|
8484
|
-
}
|
|
8485
|
-
|
|
8486
|
-
.muka-price-tag--md .muka-price-tag__decimal,
|
|
8487
|
-
.muka-price-tag--md .muka-price-tag__cents {
|
|
8488
|
-
font-family: var(--text-label-md-bold-fontFamily);
|
|
8489
|
-
font-weight: var(--text-label-md-bold-fontWeight);
|
|
8490
|
-
font-size: var(--text-label-md-bold-fontSize);
|
|
8491
|
-
line-height: var(--text-label-md-bold-lineHeight);
|
|
8492
|
-
color: var(--color-text-default-default);
|
|
8493
|
-
}
|
|
8494
|
-
|
|
8495
|
-
/* ─── Small size typography ───────────────────────────── */
|
|
8496
|
-
|
|
8497
|
-
.muka-price-tag--sm .muka-price-tag__currency {
|
|
8498
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
8499
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
8500
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
8501
|
-
line-height: var(--text-label-md-bold-lineHeight);
|
|
8502
|
-
color: var(--color-text-subtle-default);
|
|
8444
|
+
.muka-price-tag--sm .muka-price-tag__currency {
|
|
8445
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
8446
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
8447
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
8448
|
+
line-height: var(--text-label-md-bold-lineHeight);
|
|
8449
|
+
color: var(--color-text-subtle-default);
|
|
8503
8450
|
}
|
|
8504
8451
|
|
|
8505
8452
|
.muka-price-tag--sm .muka-price-tag__whole,
|
|
@@ -8951,140 +8898,117 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
8951
8898
|
}
|
|
8952
8899
|
|
|
8953
8900
|
|
|
8954
|
-
/*
|
|
8955
|
-
/*
|
|
8901
|
+
/* ProfileBadge */
|
|
8902
|
+
/* ProfileBadge Component Styles - Using Muka Design Tokens */
|
|
8956
8903
|
|
|
8957
|
-
.muka-
|
|
8904
|
+
.muka-profile-badge {
|
|
8905
|
+
display: inline-flex;
|
|
8906
|
+
max-width: 100%;
|
|
8907
|
+
min-width: 0;
|
|
8908
|
+
align-items: center;
|
|
8909
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
8910
|
+
}
|
|
8911
|
+
|
|
8912
|
+
/* Size variants */
|
|
8913
|
+
.muka-profile-badge--lg {
|
|
8914
|
+
gap: var(--spacing-4); /* 16px */
|
|
8915
|
+
}
|
|
8916
|
+
|
|
8917
|
+
.muka-profile-badge--md {
|
|
8918
|
+
gap: var(--spacing-3); /* 12px */
|
|
8919
|
+
}
|
|
8920
|
+
|
|
8921
|
+
.muka-profile-badge--sm {
|
|
8922
|
+
gap: var(--spacing-2); /* 8px */
|
|
8923
|
+
}
|
|
8924
|
+
|
|
8925
|
+
.muka-profile-badge__avatar {
|
|
8926
|
+
flex-shrink: 0;
|
|
8927
|
+
}
|
|
8928
|
+
|
|
8929
|
+
/* Text stack */
|
|
8930
|
+
.muka-profile-badge__text {
|
|
8958
8931
|
display: flex;
|
|
8959
8932
|
flex-direction: column;
|
|
8960
8933
|
align-items: flex-start;
|
|
8961
|
-
|
|
8962
|
-
width: 100%;
|
|
8934
|
+
min-width: 0;
|
|
8963
8935
|
}
|
|
8964
8936
|
|
|
8965
|
-
|
|
8966
|
-
|
|
8967
|
-
position: absolute;
|
|
8968
|
-
width: 1px;
|
|
8969
|
-
height: 1px;
|
|
8970
|
-
padding: 0;
|
|
8971
|
-
margin: -1px;
|
|
8937
|
+
.muka-profile-badge__name {
|
|
8938
|
+
max-width: 100%;
|
|
8972
8939
|
overflow: hidden;
|
|
8973
|
-
|
|
8940
|
+
text-overflow: ellipsis;
|
|
8974
8941
|
white-space: nowrap;
|
|
8975
|
-
|
|
8942
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
8943
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
8944
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
8945
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
8946
|
+
color: var(--color-text-default-default);
|
|
8976
8947
|
}
|
|
8977
8948
|
|
|
8978
|
-
|
|
8979
|
-
|
|
8980
|
-
|
|
8949
|
+
.muka-profile-badge__email {
|
|
8950
|
+
font-family: var(--text-body-xs-regular-fontFamily);
|
|
8951
|
+
font-size: var(--text-body-xs-regular-fontSize);
|
|
8952
|
+
font-weight: var(--text-body-xs-regular-fontWeight);
|
|
8953
|
+
line-height: var(--text-body-xs-regular-lineHeight);
|
|
8954
|
+
color: var(--color-text-subtle-default);
|
|
8981
8955
|
}
|
|
8982
8956
|
|
|
8983
|
-
/*
|
|
8984
|
-
.muka-
|
|
8985
|
-
|
|
8986
|
-
|
|
8987
|
-
|
|
8988
|
-
width: 100%;
|
|
8989
|
-
margin: 0;
|
|
8957
|
+
/* Clickable state */
|
|
8958
|
+
.muka-profile-badge--clickable {
|
|
8959
|
+
cursor: pointer;
|
|
8960
|
+
border: none;
|
|
8961
|
+
background: none;
|
|
8990
8962
|
padding: 0;
|
|
8991
|
-
|
|
8963
|
+
text-align: left;
|
|
8964
|
+
border-radius: var(--radius-md);
|
|
8965
|
+
transition: opacity 0.2s ease;
|
|
8992
8966
|
}
|
|
8993
8967
|
|
|
8994
|
-
.muka-
|
|
8995
|
-
|
|
8996
|
-
padding: 0;
|
|
8968
|
+
.muka-profile-badge--clickable:hover {
|
|
8969
|
+
opacity: 0.9;
|
|
8997
8970
|
}
|
|
8998
8971
|
|
|
8999
|
-
|
|
9000
|
-
.
|
|
9001
|
-
display: flex;
|
|
9002
|
-
flex-direction: column;
|
|
9003
|
-
align-items: center;
|
|
9004
|
-
justify-content: center;
|
|
9005
|
-
gap: var(--spacing-4);
|
|
9006
|
-
width: 100%;
|
|
9007
|
-
padding: var(--card-padding-lg);
|
|
9008
|
-
background-color: var(--card-color-default-background);
|
|
9009
|
-
border: var(--border-width-regular, 1px) solid var(--card-color-default-border);
|
|
9010
|
-
border-radius: var(--border-radius-lg);
|
|
9011
|
-
cursor: pointer;
|
|
9012
|
-
text-align: center;
|
|
9013
|
-
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
9014
|
-
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
8972
|
+
.muka-profile-badge--clickable:active {
|
|
8973
|
+
opacity: 0.8;
|
|
9015
8974
|
}
|
|
9016
8975
|
|
|
9017
|
-
.muka-
|
|
9018
|
-
|
|
9019
|
-
|
|
9020
|
-
background-color: var(--color-surface-level1);
|
|
8976
|
+
.muka-profile-badge--clickable:focus-visible {
|
|
8977
|
+
outline: 2px solid var(--color-border-focus);
|
|
8978
|
+
outline-offset: 2px;
|
|
9021
8979
|
}
|
|
9022
8980
|
|
|
9023
|
-
|
|
9024
|
-
|
|
9025
|
-
|
|
9026
|
-
font-weight: var(--text-subheading-sm-fontWeight);
|
|
9027
|
-
line-height: var(--text-subheading-sm-lineHeight);
|
|
9028
|
-
color: var(--color-text-default-default);
|
|
8981
|
+
/* Trailing chevron: the badge opens a menu */
|
|
8982
|
+
.muka-profile-badge__chevron {
|
|
8983
|
+
flex-shrink: 0;
|
|
9029
8984
|
}
|
|
9030
8985
|
|
|
9031
8986
|
/*
|
|
9032
|
-
*
|
|
9033
|
-
*
|
|
9034
|
-
*
|
|
9035
|
-
*
|
|
8987
|
+
* A clickable badge with a chevron is a pill (Figma Profile Badge, Bouwplan
|
|
8988
|
+
* header): 4px inset on the avatar side, 12px after the chevron. The border
|
|
8989
|
+
* is an inset shadow so it appears on hover and while the menu is open
|
|
8990
|
+
* without moving the content.
|
|
9036
8991
|
*/
|
|
9037
|
-
|
|
9038
|
-
|
|
9039
|
-
|
|
9040
|
-
|
|
9041
|
-
background-color: transparent;
|
|
9042
|
-
border: none;
|
|
9043
|
-
border-radius: 0;
|
|
9044
|
-
cursor: default;
|
|
9045
|
-
}
|
|
9046
|
-
|
|
9047
|
-
.muka-photo-uploader__dropzone-text {
|
|
9048
|
-
display: none;
|
|
9049
|
-
}
|
|
8992
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron {
|
|
8993
|
+
padding: var(--spacing-1) var(--spacing-3) var(--spacing-1) var(--spacing-1);
|
|
8994
|
+
border-radius: var(--radius-full);
|
|
8995
|
+
transition: box-shadow 0.2s ease;
|
|
9050
8996
|
}
|
|
9051
8997
|
|
|
9052
|
-
|
|
9053
|
-
.muka-
|
|
9054
|
-
|
|
9055
|
-
opacity: 0.6;
|
|
8998
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
|
|
8999
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:active {
|
|
9000
|
+
opacity: 1;
|
|
9056
9001
|
}
|
|
9057
9002
|
|
|
9058
|
-
.muka-
|
|
9059
|
-
|
|
9060
|
-
|
|
9061
|
-
|
|
9062
|
-
|
|
9063
|
-
/* ─── Enlarged photo dialog ───────────────────────────── */
|
|
9064
|
-
.muka-photo-uploader__preview {
|
|
9065
|
-
display: flex;
|
|
9066
|
-
align-items: center;
|
|
9067
|
-
justify-content: center;
|
|
9068
|
-
width: 100%;
|
|
9069
|
-
height: 100%;
|
|
9070
|
-
}
|
|
9071
|
-
|
|
9072
|
-
/* Fits the dialog while preserving the photo's original aspect ratio. */
|
|
9073
|
-
.muka-photo-uploader__preview-image {
|
|
9074
|
-
display: block;
|
|
9075
|
-
max-width: 100%;
|
|
9076
|
-
max-height: 100%;
|
|
9077
|
-
width: auto;
|
|
9078
|
-
height: auto;
|
|
9079
|
-
object-fit: contain;
|
|
9080
|
-
border-radius: var(--border-radius-lg);
|
|
9003
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
|
|
9004
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron[aria-expanded='true'],
|
|
9005
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron[data-state='open'] {
|
|
9006
|
+
box-shadow: inset 0 0 0 var(--border-width-regular) var(--button-color-ghost-border-hover);
|
|
9081
9007
|
}
|
|
9082
9008
|
|
|
9083
|
-
/*
|
|
9084
|
-
|
|
9085
|
-
|
|
9086
|
-
transition: none;
|
|
9087
|
-
}
|
|
9009
|
+
/* A badge without an avatar keeps the 12px start inset */
|
|
9010
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:not(:has(.muka-profile-badge__avatar)) {
|
|
9011
|
+
padding-left: var(--spacing-3);
|
|
9088
9012
|
}
|
|
9089
9013
|
|
|
9090
9014
|
|
|
@@ -9185,33 +9109,140 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9185
9109
|
}
|
|
9186
9110
|
|
|
9187
9111
|
|
|
9188
|
-
/*
|
|
9189
|
-
/*
|
|
9112
|
+
/* PhotoUploader */
|
|
9113
|
+
/* PhotoUploader Component Styles - Using Muka Design Tokens */
|
|
9190
9114
|
|
|
9191
|
-
.muka-photo-
|
|
9115
|
+
.muka-photo-uploader {
|
|
9192
9116
|
display: flex;
|
|
9193
|
-
|
|
9117
|
+
flex-direction: column;
|
|
9118
|
+
align-items: flex-start;
|
|
9119
|
+
gap: var(--spacing-4);
|
|
9120
|
+
width: 100%;
|
|
9121
|
+
}
|
|
9122
|
+
|
|
9123
|
+
/* Visually-hidden native file input */
|
|
9124
|
+
.muka-photo-uploader__input {
|
|
9125
|
+
position: absolute;
|
|
9126
|
+
width: 1px;
|
|
9127
|
+
height: 1px;
|
|
9128
|
+
padding: 0;
|
|
9129
|
+
margin: -1px;
|
|
9130
|
+
overflow: hidden;
|
|
9131
|
+
clip: rect(0, 0, 0, 0);
|
|
9132
|
+
white-space: nowrap;
|
|
9133
|
+
border: 0;
|
|
9134
|
+
}
|
|
9135
|
+
|
|
9136
|
+
/* ─── Error feedback alert ────────────────────────────── */
|
|
9137
|
+
.muka-photo-uploader__alert {
|
|
9138
|
+
width: 100%;
|
|
9139
|
+
}
|
|
9140
|
+
|
|
9141
|
+
/* ─── Thumbnail grid ──────────────────────────────────── */
|
|
9142
|
+
.muka-photo-uploader__grid {
|
|
9143
|
+
display: flex;
|
|
9144
|
+
flex-wrap: wrap;
|
|
9194
9145
|
gap: var(--spacing-3);
|
|
9195
9146
|
width: 100%;
|
|
9196
|
-
|
|
9147
|
+
margin: 0;
|
|
9148
|
+
padding: 0;
|
|
9149
|
+
list-style: none;
|
|
9197
9150
|
}
|
|
9198
9151
|
|
|
9199
|
-
.muka-photo-
|
|
9152
|
+
.muka-photo-uploader__grid-item {
|
|
9153
|
+
margin: 0;
|
|
9154
|
+
padding: 0;
|
|
9155
|
+
}
|
|
9156
|
+
|
|
9157
|
+
/* ─── Drop zone card (button + "or drop here") ────────── */
|
|
9158
|
+
.muka-photo-uploader__dropzone {
|
|
9200
9159
|
display: flex;
|
|
9201
|
-
|
|
9202
|
-
|
|
9203
|
-
|
|
9204
|
-
|
|
9205
|
-
|
|
9206
|
-
|
|
9160
|
+
flex-direction: column;
|
|
9161
|
+
align-items: center;
|
|
9162
|
+
justify-content: center;
|
|
9163
|
+
gap: var(--spacing-4);
|
|
9164
|
+
width: 100%;
|
|
9165
|
+
padding: var(--card-padding-lg);
|
|
9166
|
+
background-color: var(--card-color-default-background);
|
|
9167
|
+
border: var(--border-width-regular, 1px) solid var(--card-color-default-border);
|
|
9168
|
+
border-radius: var(--border-radius-lg);
|
|
9169
|
+
cursor: pointer;
|
|
9170
|
+
text-align: center;
|
|
9171
|
+
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
9172
|
+
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
9207
9173
|
}
|
|
9208
9174
|
|
|
9209
|
-
.muka-photo-
|
|
9210
|
-
|
|
9175
|
+
.muka-photo-uploader__dropzone:hover,
|
|
9176
|
+
.muka-photo-uploader__dropzone--active {
|
|
9177
|
+
border-color: var(--color-border-focus);
|
|
9178
|
+
background-color: var(--color-surface-level1);
|
|
9211
9179
|
}
|
|
9212
9180
|
|
|
9213
|
-
.muka-photo-
|
|
9214
|
-
|
|
9181
|
+
.muka-photo-uploader__dropzone-text {
|
|
9182
|
+
font-family: var(--text-subheading-sm-fontFamily);
|
|
9183
|
+
font-size: var(--text-subheading-sm-fontSize);
|
|
9184
|
+
font-weight: var(--text-subheading-sm-fontWeight);
|
|
9185
|
+
line-height: var(--text-subheading-sm-lineHeight);
|
|
9186
|
+
color: var(--color-text-default-default);
|
|
9187
|
+
}
|
|
9188
|
+
|
|
9189
|
+
/*
|
|
9190
|
+
* Touch devices (phones, tablets without a mouse) have nothing to drag a file
|
|
9191
|
+
* from: the card and its "or drop here" hint go, and only the button stays.
|
|
9192
|
+
* Keyed on input capability, not width, so a narrow desktop window keeps
|
|
9193
|
+
* its drop zone.
|
|
9194
|
+
*/
|
|
9195
|
+
@media (hover: none) and (pointer: coarse) {
|
|
9196
|
+
.muka-photo-uploader__dropzone {
|
|
9197
|
+
align-items: flex-start;
|
|
9198
|
+
padding: 0;
|
|
9199
|
+
background-color: transparent;
|
|
9200
|
+
border: none;
|
|
9201
|
+
border-radius: 0;
|
|
9202
|
+
cursor: default;
|
|
9203
|
+
}
|
|
9204
|
+
|
|
9205
|
+
.muka-photo-uploader__dropzone-text {
|
|
9206
|
+
display: none;
|
|
9207
|
+
}
|
|
9208
|
+
}
|
|
9209
|
+
|
|
9210
|
+
/* ─── Disabled ────────────────────────────────────────── */
|
|
9211
|
+
.muka-photo-uploader--disabled .muka-photo-uploader__dropzone {
|
|
9212
|
+
cursor: not-allowed;
|
|
9213
|
+
opacity: 0.6;
|
|
9214
|
+
}
|
|
9215
|
+
|
|
9216
|
+
.muka-photo-uploader--disabled .muka-photo-uploader__dropzone:hover {
|
|
9217
|
+
border-color: var(--card-color-default-border);
|
|
9218
|
+
background-color: var(--card-color-default-background);
|
|
9219
|
+
}
|
|
9220
|
+
|
|
9221
|
+
/* ─── Enlarged photo dialog ───────────────────────────── */
|
|
9222
|
+
.muka-photo-uploader__preview {
|
|
9223
|
+
display: flex;
|
|
9224
|
+
align-items: center;
|
|
9225
|
+
justify-content: center;
|
|
9226
|
+
width: 100%;
|
|
9227
|
+
height: 100%;
|
|
9228
|
+
}
|
|
9229
|
+
|
|
9230
|
+
/* Fits the dialog while preserving the photo's original aspect ratio. */
|
|
9231
|
+
.muka-photo-uploader__preview-image {
|
|
9232
|
+
display: block;
|
|
9233
|
+
max-width: 100%;
|
|
9234
|
+
max-height: 100%;
|
|
9235
|
+
width: auto;
|
|
9236
|
+
height: auto;
|
|
9237
|
+
object-fit: contain;
|
|
9238
|
+
border-radius: var(--border-radius-lg);
|
|
9239
|
+
}
|
|
9240
|
+
|
|
9241
|
+
/* ─── Reduced motion ──────────────────────────────────── */
|
|
9242
|
+
@media (prefers-reduced-motion: reduce) {
|
|
9243
|
+
.muka-photo-uploader__dropzone {
|
|
9244
|
+
transition: none;
|
|
9245
|
+
}
|
|
9215
9246
|
}
|
|
9216
9247
|
|
|
9217
9248
|
|
|
@@ -9397,6 +9428,36 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9397
9428
|
}
|
|
9398
9429
|
|
|
9399
9430
|
|
|
9431
|
+
/* PhotoDraftStrip */
|
|
9432
|
+
/* PhotoDraftStrip Component Styles */
|
|
9433
|
+
|
|
9434
|
+
.muka-photo-draft-strip {
|
|
9435
|
+
display: flex;
|
|
9436
|
+
align-items: center;
|
|
9437
|
+
gap: var(--spacing-3);
|
|
9438
|
+
width: 100%;
|
|
9439
|
+
padding: var(--spacing-2) 0;
|
|
9440
|
+
}
|
|
9441
|
+
|
|
9442
|
+
.muka-photo-draft-strip__track {
|
|
9443
|
+
display: flex;
|
|
9444
|
+
gap: var(--spacing-2);
|
|
9445
|
+
flex: 1 1 auto;
|
|
9446
|
+
min-width: 0;
|
|
9447
|
+
overflow-x: auto;
|
|
9448
|
+
scroll-behavior: smooth;
|
|
9449
|
+
scrollbar-width: none;
|
|
9450
|
+
}
|
|
9451
|
+
|
|
9452
|
+
.muka-photo-draft-strip__track::-webkit-scrollbar {
|
|
9453
|
+
display: none;
|
|
9454
|
+
}
|
|
9455
|
+
|
|
9456
|
+
.muka-photo-draft-strip__item {
|
|
9457
|
+
flex: 0 0 auto;
|
|
9458
|
+
}
|
|
9459
|
+
|
|
9460
|
+
|
|
9400
9461
|
/* NumberInput */
|
|
9401
9462
|
/* NumberInput — reuses Input field styles (../Input/Input.css). */
|
|
9402
9463
|
/* Only the prefix/suffix affixes are NumberInput-specific. */
|
|
@@ -10171,44 +10232,237 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
10171
10232
|
}
|
|
10172
10233
|
|
|
10173
10234
|
|
|
10174
|
-
/*
|
|
10175
|
-
/*
|
|
10176
|
-
|
|
10177
|
-
|
|
10178
|
-
|
|
10179
|
-
|
|
10180
|
-
|
|
10181
|
-
|
|
10182
|
-
|
|
10183
|
-
|
|
10184
|
-
|
|
10185
|
-
/* Background - using semantic tokens */
|
|
10186
|
-
background-color: var(--color-surface-level3);
|
|
10187
|
-
|
|
10188
|
-
/* Typography */
|
|
10189
|
-
font-family: var(--alias-font-brand-family);
|
|
10190
|
-
|
|
10191
|
-
/* Border and spacing */
|
|
10192
|
-
border: none;
|
|
10193
|
-
position: relative;
|
|
10194
|
-
|
|
10195
|
-
/* Interaction - only apply if interactive */
|
|
10196
|
-
transition: background-color 0.2s ease, box-shadow 0.2s ease;
|
|
10197
|
-
}
|
|
10235
|
+
/* LicensePlateInput */
|
|
10236
|
+
/* LicensePlateInput — Dutch RDW-style plate input
|
|
10237
|
+
*
|
|
10238
|
+
* Plate body colors are regulatory (EU/NL) and intentionally fixed:
|
|
10239
|
+
* - Plate yellow: #F0CE3D
|
|
10240
|
+
* - EU strip blue: #003399
|
|
10241
|
+
* - EU stars yellow: #FFCC00
|
|
10242
|
+
* - Plate text: #1A1A1A
|
|
10243
|
+
*
|
|
10244
|
+
* All surrounding UI (label, helper, focus ring, error border) uses Muka tokens.
|
|
10245
|
+
*/
|
|
10198
10246
|
|
|
10199
|
-
|
|
10200
|
-
|
|
10201
|
-
|
|
10202
|
-
|
|
10247
|
+
.muka-license-plate-input {
|
|
10248
|
+
--plate-yellow: #f0ce3d;
|
|
10249
|
+
--plate-blue: #003399;
|
|
10250
|
+
--plate-text: #1a1a1a;
|
|
10251
|
+
--plate-stars: #ffcc00;
|
|
10203
10252
|
|
|
10204
|
-
|
|
10205
|
-
|
|
10206
|
-
|
|
10207
|
-
|
|
10208
|
-
|
|
10209
|
-
*/
|
|
10210
|
-
.muka-
|
|
10211
|
-
|
|
10253
|
+
display: inline-flex;
|
|
10254
|
+
flex-direction: column;
|
|
10255
|
+
gap: var(--spacing-2);
|
|
10256
|
+
}
|
|
10257
|
+
|
|
10258
|
+
/* Plate body */
|
|
10259
|
+
.muka-license-plate-input__plate {
|
|
10260
|
+
display: inline-flex;
|
|
10261
|
+
align-items: stretch;
|
|
10262
|
+
background-color: var(--plate-yellow);
|
|
10263
|
+
border-radius: var(--input-field-radius-md);
|
|
10264
|
+
cursor: text;
|
|
10265
|
+
position: relative;
|
|
10266
|
+
overflow: hidden;
|
|
10267
|
+
box-sizing: border-box;
|
|
10268
|
+
/* Subtle outline to lift the plate from light backgrounds */
|
|
10269
|
+
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
|
|
10270
|
+
/* Reserve space for the focus / error solid ring without shifting layout */
|
|
10271
|
+
outline: 3px solid transparent;
|
|
10272
|
+
outline-offset: 2px;
|
|
10273
|
+
transition: outline-color 0.15s ease, opacity 0.15s ease;
|
|
10274
|
+
}
|
|
10275
|
+
|
|
10276
|
+
/* Size variants — plate aspect echoes the real RDW plate (~5:1) */
|
|
10277
|
+
.muka-license-plate-input__plate--sm {
|
|
10278
|
+
height: 44px;
|
|
10279
|
+
min-width: 220px;
|
|
10280
|
+
border-radius: var(--input-field-radius-sm);
|
|
10281
|
+
}
|
|
10282
|
+
|
|
10283
|
+
.muka-license-plate-input__plate--md {
|
|
10284
|
+
height: 60px;
|
|
10285
|
+
min-width: 300px;
|
|
10286
|
+
border-radius: var(--input-field-radius-md);
|
|
10287
|
+
}
|
|
10288
|
+
|
|
10289
|
+
.muka-license-plate-input__plate--lg {
|
|
10290
|
+
height: 80px;
|
|
10291
|
+
min-width: 400px;
|
|
10292
|
+
border-radius: var(--input-field-radius-lg);
|
|
10293
|
+
}
|
|
10294
|
+
|
|
10295
|
+
/* Focus — solid outline ring */
|
|
10296
|
+
.muka-license-plate-input__plate--focused:not(.muka-license-plate-input__plate--disabled) {
|
|
10297
|
+
outline-color: var(--input-field-color-focus-border);
|
|
10298
|
+
}
|
|
10299
|
+
|
|
10300
|
+
/* Error — solid outline ring in error color */
|
|
10301
|
+
.muka-license-plate-input__plate--error:not(.muka-license-plate-input__plate--disabled) {
|
|
10302
|
+
outline-color: var(--input-field-color-error-border);
|
|
10303
|
+
}
|
|
10304
|
+
|
|
10305
|
+
/* Disabled */
|
|
10306
|
+
.muka-license-plate-input__plate--disabled {
|
|
10307
|
+
cursor: not-allowed;
|
|
10308
|
+
opacity: 0.55;
|
|
10309
|
+
}
|
|
10310
|
+
|
|
10311
|
+
/* EU strip */
|
|
10312
|
+
.muka-license-plate-input__eu-strip {
|
|
10313
|
+
display: inline-flex;
|
|
10314
|
+
flex-direction: column;
|
|
10315
|
+
align-items: center;
|
|
10316
|
+
justify-content: center;
|
|
10317
|
+
background-color: var(--plate-blue);
|
|
10318
|
+
color: #ffffff;
|
|
10319
|
+
flex-shrink: 0;
|
|
10320
|
+
padding: 0 0.4em;
|
|
10321
|
+
gap: 0.15em;
|
|
10322
|
+
/* Strip width scales with plate height for a consistent ratio */
|
|
10323
|
+
width: 14%;
|
|
10324
|
+
min-width: 36px;
|
|
10325
|
+
}
|
|
10326
|
+
|
|
10327
|
+
.muka-license-plate-input__eu-stars {
|
|
10328
|
+
width: 60%;
|
|
10329
|
+
max-width: 28px;
|
|
10330
|
+
aspect-ratio: 1 / 1;
|
|
10331
|
+
display: block;
|
|
10332
|
+
}
|
|
10333
|
+
|
|
10334
|
+
.muka-license-plate-input__plate--sm .muka-license-plate-input__eu-stars {
|
|
10335
|
+
max-width: 20px;
|
|
10336
|
+
}
|
|
10337
|
+
|
|
10338
|
+
.muka-license-plate-input__plate--lg .muka-license-plate-input__eu-stars {
|
|
10339
|
+
max-width: 36px;
|
|
10340
|
+
}
|
|
10341
|
+
|
|
10342
|
+
.muka-license-plate-input__country-code {
|
|
10343
|
+
font-family:
|
|
10344
|
+
'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
10345
|
+
font-weight: 700;
|
|
10346
|
+
letter-spacing: 0.04em;
|
|
10347
|
+
line-height: 1;
|
|
10348
|
+
color: #ffffff;
|
|
10349
|
+
}
|
|
10350
|
+
|
|
10351
|
+
.muka-license-plate-input__plate--sm .muka-license-plate-input__country-code {
|
|
10352
|
+
font-size: 10px;
|
|
10353
|
+
}
|
|
10354
|
+
|
|
10355
|
+
.muka-license-plate-input__plate--md .muka-license-plate-input__country-code {
|
|
10356
|
+
font-size: 13px;
|
|
10357
|
+
}
|
|
10358
|
+
|
|
10359
|
+
.muka-license-plate-input__plate--lg .muka-license-plate-input__country-code {
|
|
10360
|
+
font-size: 16px;
|
|
10361
|
+
}
|
|
10362
|
+
|
|
10363
|
+
/* Native input */
|
|
10364
|
+
.muka-license-plate-input__native {
|
|
10365
|
+
flex: 1;
|
|
10366
|
+
min-width: 0;
|
|
10367
|
+
border: none;
|
|
10368
|
+
outline: none;
|
|
10369
|
+
background: transparent;
|
|
10370
|
+
color: var(--plate-text);
|
|
10371
|
+
text-align: center;
|
|
10372
|
+
text-transform: uppercase;
|
|
10373
|
+
letter-spacing: 0.06em;
|
|
10374
|
+
/* Plate font — bold condensed sans is closest to the FE-Schrift look without
|
|
10375
|
+
shipping a custom font. JetBrains Mono is the system mono brand font. */
|
|
10376
|
+
font-family:
|
|
10377
|
+
'Arial Narrow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
10378
|
+
font-weight: 800;
|
|
10379
|
+
padding: 0 0.5em;
|
|
10380
|
+
width: 100%;
|
|
10381
|
+
caret-color: var(--plate-text);
|
|
10382
|
+
}
|
|
10383
|
+
|
|
10384
|
+
.muka-license-plate-input__plate--sm .muka-license-plate-input__native {
|
|
10385
|
+
font-size: 22px;
|
|
10386
|
+
}
|
|
10387
|
+
|
|
10388
|
+
.muka-license-plate-input__plate--md .muka-license-plate-input__native {
|
|
10389
|
+
font-size: 30px;
|
|
10390
|
+
}
|
|
10391
|
+
|
|
10392
|
+
.muka-license-plate-input__plate--lg .muka-license-plate-input__native {
|
|
10393
|
+
font-size: 42px;
|
|
10394
|
+
}
|
|
10395
|
+
|
|
10396
|
+
.muka-license-plate-input__native::placeholder {
|
|
10397
|
+
color: var(--plate-text);
|
|
10398
|
+
opacity: 0.55;
|
|
10399
|
+
font-weight: 700;
|
|
10400
|
+
letter-spacing: 0.08em;
|
|
10401
|
+
}
|
|
10402
|
+
|
|
10403
|
+
.muka-license-plate-input__plate--disabled .muka-license-plate-input__native {
|
|
10404
|
+
cursor: not-allowed;
|
|
10405
|
+
}
|
|
10406
|
+
|
|
10407
|
+
/* Helper text */
|
|
10408
|
+
.muka-license-plate-input__helper {
|
|
10409
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
10410
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
10411
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
10412
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
10413
|
+
color: var(--color-text-subtle-default);
|
|
10414
|
+
margin: 0;
|
|
10415
|
+
}
|
|
10416
|
+
|
|
10417
|
+
/* Error message */
|
|
10418
|
+
.muka-license-plate-input__error {
|
|
10419
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
10420
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
10421
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
10422
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
10423
|
+
color: var(--color-state-error-default);
|
|
10424
|
+
margin: 0;
|
|
10425
|
+
}
|
|
10426
|
+
|
|
10427
|
+
|
|
10428
|
+
/* ListItem */
|
|
10429
|
+
/* ListItem Component Styles - Using Muka Design Tokens */
|
|
10430
|
+
|
|
10431
|
+
/* Base list item styles */
|
|
10432
|
+
.muka-listitem {
|
|
10433
|
+
/* Layout */
|
|
10434
|
+
display: flex;
|
|
10435
|
+
align-items: flex-start;
|
|
10436
|
+
gap: var(--spacing-4);
|
|
10437
|
+
padding: var(--spacing-5) var(--spacing-4);
|
|
10438
|
+
|
|
10439
|
+
/* Background - using semantic tokens */
|
|
10440
|
+
background-color: var(--color-surface-level3);
|
|
10441
|
+
|
|
10442
|
+
/* Typography */
|
|
10443
|
+
font-family: var(--alias-font-brand-family);
|
|
10444
|
+
|
|
10445
|
+
/* Border and spacing */
|
|
10446
|
+
border: none;
|
|
10447
|
+
position: relative;
|
|
10448
|
+
|
|
10449
|
+
/* Interaction - only apply if interactive */
|
|
10450
|
+
transition: background-color 0.2s ease, box-shadow 0.2s ease;
|
|
10451
|
+
}
|
|
10452
|
+
|
|
10453
|
+
/* Interactive state */
|
|
10454
|
+
.muka-listitem--interactive {
|
|
10455
|
+
cursor: pointer;
|
|
10456
|
+
}
|
|
10457
|
+
|
|
10458
|
+
/*
|
|
10459
|
+
* surface.hover / surface.pressed are theme-adaptive translucent tints, so they
|
|
10460
|
+
* are layered on top of the item's base surface via an inset box-shadow overlay
|
|
10461
|
+
* rather than replacing background-color. This preserves the base level (level3,
|
|
10462
|
+
* or level2 when selected) and lets the tint read correctly on any surface.
|
|
10463
|
+
*/
|
|
10464
|
+
.muka-listitem--interactive:hover:not(:disabled):not(.muka-listitem--disabled) {
|
|
10465
|
+
box-shadow: inset 0 0 0 9999px var(--color-surface-hover);
|
|
10212
10466
|
}
|
|
10213
10467
|
|
|
10214
10468
|
.muka-listitem--interactive:active:not(:disabled):not(.muka-listitem--disabled),
|
|
@@ -10491,214 +10745,21 @@ li.muka-listitem {
|
|
|
10491
10745
|
}
|
|
10492
10746
|
|
|
10493
10747
|
|
|
10494
|
-
/*
|
|
10495
|
-
/*
|
|
10496
|
-
*
|
|
10497
|
-
* Plate body colors are regulatory (EU/NL) and intentionally fixed:
|
|
10498
|
-
* - Plate yellow: #F0CE3D
|
|
10499
|
-
* - EU strip blue: #003399
|
|
10500
|
-
* - EU stars yellow: #FFCC00
|
|
10501
|
-
* - Plate text: #1A1A1A
|
|
10502
|
-
*
|
|
10503
|
-
* All surrounding UI (label, helper, focus ring, error border) uses Muka tokens.
|
|
10504
|
-
*/
|
|
10505
|
-
|
|
10506
|
-
.muka-license-plate-input {
|
|
10507
|
-
--plate-yellow: #f0ce3d;
|
|
10508
|
-
--plate-blue: #003399;
|
|
10509
|
-
--plate-text: #1a1a1a;
|
|
10510
|
-
--plate-stars: #ffcc00;
|
|
10748
|
+
/* Label */
|
|
10749
|
+
/* Label Component Styles - Using Muka Design Tokens */
|
|
10511
10750
|
|
|
10751
|
+
.muka-label {
|
|
10512
10752
|
display: inline-flex;
|
|
10513
|
-
|
|
10514
|
-
|
|
10753
|
+
align-items: center;
|
|
10754
|
+
color: var(--color-text-default-default);
|
|
10755
|
+
cursor: pointer;
|
|
10515
10756
|
}
|
|
10516
10757
|
|
|
10517
|
-
|
|
10518
|
-
|
|
10519
|
-
|
|
10520
|
-
|
|
10521
|
-
|
|
10522
|
-
border-radius: var(--input-field-radius-md);
|
|
10523
|
-
cursor: text;
|
|
10524
|
-
position: relative;
|
|
10525
|
-
overflow: hidden;
|
|
10526
|
-
box-sizing: border-box;
|
|
10527
|
-
/* Subtle outline to lift the plate from light backgrounds */
|
|
10528
|
-
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
|
|
10529
|
-
/* Reserve space for the focus / error solid ring without shifting layout */
|
|
10530
|
-
outline: 3px solid transparent;
|
|
10531
|
-
outline-offset: 2px;
|
|
10532
|
-
transition: outline-color 0.15s ease, opacity 0.15s ease;
|
|
10533
|
-
}
|
|
10534
|
-
|
|
10535
|
-
/* Size variants — plate aspect echoes the real RDW plate (~5:1) */
|
|
10536
|
-
.muka-license-plate-input__plate--sm {
|
|
10537
|
-
height: 44px;
|
|
10538
|
-
min-width: 220px;
|
|
10539
|
-
border-radius: var(--input-field-radius-sm);
|
|
10540
|
-
}
|
|
10541
|
-
|
|
10542
|
-
.muka-license-plate-input__plate--md {
|
|
10543
|
-
height: 60px;
|
|
10544
|
-
min-width: 300px;
|
|
10545
|
-
border-radius: var(--input-field-radius-md);
|
|
10546
|
-
}
|
|
10547
|
-
|
|
10548
|
-
.muka-license-plate-input__plate--lg {
|
|
10549
|
-
height: 80px;
|
|
10550
|
-
min-width: 400px;
|
|
10551
|
-
border-radius: var(--input-field-radius-lg);
|
|
10552
|
-
}
|
|
10553
|
-
|
|
10554
|
-
/* Focus — solid outline ring */
|
|
10555
|
-
.muka-license-plate-input__plate--focused:not(.muka-license-plate-input__plate--disabled) {
|
|
10556
|
-
outline-color: var(--input-field-color-focus-border);
|
|
10557
|
-
}
|
|
10558
|
-
|
|
10559
|
-
/* Error — solid outline ring in error color */
|
|
10560
|
-
.muka-license-plate-input__plate--error:not(.muka-license-plate-input__plate--disabled) {
|
|
10561
|
-
outline-color: var(--input-field-color-error-border);
|
|
10562
|
-
}
|
|
10563
|
-
|
|
10564
|
-
/* Disabled */
|
|
10565
|
-
.muka-license-plate-input__plate--disabled {
|
|
10566
|
-
cursor: not-allowed;
|
|
10567
|
-
opacity: 0.55;
|
|
10568
|
-
}
|
|
10569
|
-
|
|
10570
|
-
/* EU strip */
|
|
10571
|
-
.muka-license-plate-input__eu-strip {
|
|
10572
|
-
display: inline-flex;
|
|
10573
|
-
flex-direction: column;
|
|
10574
|
-
align-items: center;
|
|
10575
|
-
justify-content: center;
|
|
10576
|
-
background-color: var(--plate-blue);
|
|
10577
|
-
color: #ffffff;
|
|
10578
|
-
flex-shrink: 0;
|
|
10579
|
-
padding: 0 0.4em;
|
|
10580
|
-
gap: 0.15em;
|
|
10581
|
-
/* Strip width scales with plate height for a consistent ratio */
|
|
10582
|
-
width: 14%;
|
|
10583
|
-
min-width: 36px;
|
|
10584
|
-
}
|
|
10585
|
-
|
|
10586
|
-
.muka-license-plate-input__eu-stars {
|
|
10587
|
-
width: 60%;
|
|
10588
|
-
max-width: 28px;
|
|
10589
|
-
aspect-ratio: 1 / 1;
|
|
10590
|
-
display: block;
|
|
10591
|
-
}
|
|
10592
|
-
|
|
10593
|
-
.muka-license-plate-input__plate--sm .muka-license-plate-input__eu-stars {
|
|
10594
|
-
max-width: 20px;
|
|
10595
|
-
}
|
|
10596
|
-
|
|
10597
|
-
.muka-license-plate-input__plate--lg .muka-license-plate-input__eu-stars {
|
|
10598
|
-
max-width: 36px;
|
|
10599
|
-
}
|
|
10600
|
-
|
|
10601
|
-
.muka-license-plate-input__country-code {
|
|
10602
|
-
font-family:
|
|
10603
|
-
'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
10604
|
-
font-weight: 700;
|
|
10605
|
-
letter-spacing: 0.04em;
|
|
10606
|
-
line-height: 1;
|
|
10607
|
-
color: #ffffff;
|
|
10608
|
-
}
|
|
10609
|
-
|
|
10610
|
-
.muka-license-plate-input__plate--sm .muka-license-plate-input__country-code {
|
|
10611
|
-
font-size: 10px;
|
|
10612
|
-
}
|
|
10613
|
-
|
|
10614
|
-
.muka-license-plate-input__plate--md .muka-license-plate-input__country-code {
|
|
10615
|
-
font-size: 13px;
|
|
10616
|
-
}
|
|
10617
|
-
|
|
10618
|
-
.muka-license-plate-input__plate--lg .muka-license-plate-input__country-code {
|
|
10619
|
-
font-size: 16px;
|
|
10620
|
-
}
|
|
10621
|
-
|
|
10622
|
-
/* Native input */
|
|
10623
|
-
.muka-license-plate-input__native {
|
|
10624
|
-
flex: 1;
|
|
10625
|
-
min-width: 0;
|
|
10626
|
-
border: none;
|
|
10627
|
-
outline: none;
|
|
10628
|
-
background: transparent;
|
|
10629
|
-
color: var(--plate-text);
|
|
10630
|
-
text-align: center;
|
|
10631
|
-
text-transform: uppercase;
|
|
10632
|
-
letter-spacing: 0.06em;
|
|
10633
|
-
/* Plate font — bold condensed sans is closest to the FE-Schrift look without
|
|
10634
|
-
shipping a custom font. JetBrains Mono is the system mono brand font. */
|
|
10635
|
-
font-family:
|
|
10636
|
-
'Arial Narrow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
10637
|
-
font-weight: 800;
|
|
10638
|
-
padding: 0 0.5em;
|
|
10639
|
-
width: 100%;
|
|
10640
|
-
caret-color: var(--plate-text);
|
|
10641
|
-
}
|
|
10642
|
-
|
|
10643
|
-
.muka-license-plate-input__plate--sm .muka-license-plate-input__native {
|
|
10644
|
-
font-size: 22px;
|
|
10645
|
-
}
|
|
10646
|
-
|
|
10647
|
-
.muka-license-plate-input__plate--md .muka-license-plate-input__native {
|
|
10648
|
-
font-size: 30px;
|
|
10649
|
-
}
|
|
10650
|
-
|
|
10651
|
-
.muka-license-plate-input__plate--lg .muka-license-plate-input__native {
|
|
10652
|
-
font-size: 42px;
|
|
10653
|
-
}
|
|
10654
|
-
|
|
10655
|
-
.muka-license-plate-input__native::placeholder {
|
|
10656
|
-
color: var(--plate-text);
|
|
10657
|
-
opacity: 0.55;
|
|
10658
|
-
font-weight: 700;
|
|
10659
|
-
letter-spacing: 0.08em;
|
|
10660
|
-
}
|
|
10661
|
-
|
|
10662
|
-
.muka-license-plate-input__plate--disabled .muka-license-plate-input__native {
|
|
10663
|
-
cursor: not-allowed;
|
|
10664
|
-
}
|
|
10665
|
-
|
|
10666
|
-
/* Helper text */
|
|
10667
|
-
.muka-license-plate-input__helper {
|
|
10668
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
10669
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
10670
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
10671
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
10672
|
-
color: var(--color-text-subtle-default);
|
|
10673
|
-
margin: 0;
|
|
10674
|
-
}
|
|
10675
|
-
|
|
10676
|
-
/* Error message */
|
|
10677
|
-
.muka-license-plate-input__error {
|
|
10678
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
10679
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
10680
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
10681
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
10682
|
-
color: var(--color-state-error-default);
|
|
10683
|
-
margin: 0;
|
|
10684
|
-
}
|
|
10685
|
-
|
|
10686
|
-
|
|
10687
|
-
/* Label */
|
|
10688
|
-
/* Label Component Styles - Using Muka Design Tokens */
|
|
10689
|
-
|
|
10690
|
-
.muka-label {
|
|
10691
|
-
display: inline-flex;
|
|
10692
|
-
align-items: center;
|
|
10693
|
-
color: var(--color-text-default-default);
|
|
10694
|
-
cursor: pointer;
|
|
10695
|
-
}
|
|
10696
|
-
|
|
10697
|
-
.muka-label--sm {
|
|
10698
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
10699
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
10700
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
10701
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
10758
|
+
.muka-label--sm {
|
|
10759
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
10760
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
10761
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
10762
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
10702
10763
|
}
|
|
10703
10764
|
|
|
10704
10765
|
.muka-label--md {
|
|
@@ -11239,284 +11300,22 @@ li.muka-listitem {
|
|
|
11239
11300
|
|
|
11240
11301
|
|
|
11241
11302
|
/* Form */
|
|
11242
|
-
.muka-form {
|
|
11243
|
-
display: flex;
|
|
11244
|
-
flex-direction: column;
|
|
11245
|
-
width: 100%;
|
|
11246
|
-
}
|
|
11247
|
-
|
|
11248
|
-
.muka-form--gap-sm {
|
|
11249
|
-
gap: var(--size-sm);
|
|
11250
|
-
}
|
|
11251
|
-
|
|
11252
|
-
.muka-form--gap-md {
|
|
11253
|
-
gap: var(--size-md);
|
|
11254
|
-
}
|
|
11255
|
-
|
|
11256
|
-
.muka-form--gap-lg {
|
|
11257
|
-
gap: var(--size-lg);
|
|
11258
|
-
}
|
|
11259
|
-
|
|
11260
|
-
|
|
11261
|
-
/* FileUpload */
|
|
11262
|
-
/* FileUpload Component Styles */
|
|
11263
|
-
|
|
11264
|
-
.muka-fileupload-wrapper {
|
|
11265
|
-
display: flex;
|
|
11266
|
-
flex-direction: column;
|
|
11267
|
-
gap: var(--spacing-3);
|
|
11268
|
-
width: 100%;
|
|
11269
|
-
}
|
|
11270
|
-
|
|
11271
|
-
/* Dropzone */
|
|
11272
|
-
.muka-fileupload {
|
|
11273
|
-
display: flex;
|
|
11274
|
-
flex-direction: column;
|
|
11275
|
-
align-items: center;
|
|
11276
|
-
justify-content: center;
|
|
11277
|
-
gap: var(--fileupload-dropzone-gap);
|
|
11278
|
-
padding: var(--fileupload-dropzone-padding-md);
|
|
11279
|
-
background-color: var(--fileupload-dropzone-color-default-background);
|
|
11280
|
-
border: var(--fileupload-dropzone-border-width) dashed var(--fileupload-dropzone-color-default-border);
|
|
11281
|
-
border-radius: var(--fileupload-dropzone-radius);
|
|
11282
|
-
cursor: pointer;
|
|
11283
|
-
transition: background-color 0.2s ease, border-color 0.2s ease;
|
|
11284
|
-
text-align: center;
|
|
11285
|
-
min-height: 120px;
|
|
11286
|
-
}
|
|
11287
|
-
|
|
11288
|
-
.muka-fileupload:focus-visible {
|
|
11289
|
-
outline: 2px solid var(--color-border-focus);
|
|
11290
|
-
outline-offset: 2px;
|
|
11291
|
-
}
|
|
11292
|
-
|
|
11293
|
-
/* Size variants */
|
|
11294
|
-
.muka-fileupload--sm {
|
|
11295
|
-
padding: var(--fileupload-dropzone-padding-sm);
|
|
11296
|
-
min-height: 80px;
|
|
11297
|
-
}
|
|
11298
|
-
|
|
11299
|
-
.muka-fileupload--lg {
|
|
11300
|
-
padding: var(--fileupload-dropzone-padding-lg);
|
|
11301
|
-
min-height: 160px;
|
|
11302
|
-
}
|
|
11303
|
-
|
|
11304
|
-
/* Button variant */
|
|
11305
|
-
.muka-fileupload--button {
|
|
11306
|
-
flex-direction: row;
|
|
11307
|
-
min-height: auto;
|
|
11308
|
-
padding: var(--spacing-2) var(--spacing-3);
|
|
11309
|
-
border-style: solid;
|
|
11310
|
-
border-width: var(--border-width-regular);
|
|
11311
|
-
border-radius: var(--border-radius-md);
|
|
11312
|
-
}
|
|
11313
|
-
|
|
11314
|
-
/* Hover state */
|
|
11315
|
-
.muka-fileupload:hover:not(.muka-fileupload--disabled) {
|
|
11316
|
-
background-color: var(--fileupload-dropzone-color-hover-background);
|
|
11317
|
-
border-color: var(--fileupload-dropzone-color-hover-border);
|
|
11318
|
-
}
|
|
11319
|
-
|
|
11320
|
-
/* Active/drag state */
|
|
11321
|
-
.muka-fileupload--active:not(.muka-fileupload--disabled) {
|
|
11322
|
-
background-color: var(--fileupload-dropzone-color-active-background);
|
|
11323
|
-
border-color: var(--fileupload-dropzone-color-active-border);
|
|
11324
|
-
}
|
|
11325
|
-
|
|
11326
|
-
/* Disabled state */
|
|
11327
|
-
.muka-fileupload--disabled {
|
|
11328
|
-
background-color: var(--fileupload-dropzone-color-disabled-background);
|
|
11329
|
-
border-color: var(--fileupload-dropzone-color-disabled-border);
|
|
11330
|
-
cursor: not-allowed;
|
|
11331
|
-
opacity: 0.6;
|
|
11332
|
-
}
|
|
11333
|
-
|
|
11334
|
-
/* Hidden file input */
|
|
11335
|
-
.muka-fileupload__input {
|
|
11336
|
-
position: absolute;
|
|
11337
|
-
width: 1px;
|
|
11338
|
-
height: 1px;
|
|
11339
|
-
padding: 0;
|
|
11340
|
-
margin: -1px;
|
|
11341
|
-
overflow: hidden;
|
|
11342
|
-
clip: rect(0, 0, 0, 0);
|
|
11343
|
-
white-space: nowrap;
|
|
11344
|
-
border: 0;
|
|
11345
|
-
}
|
|
11346
|
-
|
|
11347
|
-
/* Content container */
|
|
11348
|
-
.muka-fileupload__content {
|
|
11349
|
-
display: flex;
|
|
11350
|
-
flex-direction: column;
|
|
11351
|
-
align-items: center;
|
|
11352
|
-
gap: var(--spacing-2);
|
|
11353
|
-
}
|
|
11354
|
-
|
|
11355
|
-
/* Upload icon */
|
|
11356
|
-
.muka-fileupload__icon {
|
|
11357
|
-
display: flex;
|
|
11358
|
-
align-items: center;
|
|
11359
|
-
justify-content: center;
|
|
11360
|
-
width: var(--size-3xl);
|
|
11361
|
-
height: var(--size-3xl);
|
|
11362
|
-
color: var(--fileupload-dropzone-color-default-foreground);
|
|
11363
|
-
}
|
|
11364
|
-
|
|
11365
|
-
.muka-fileupload__icon svg {
|
|
11366
|
-
width: 100%;
|
|
11367
|
-
height: 100%;
|
|
11368
|
-
}
|
|
11369
|
-
|
|
11370
|
-
.muka-fileupload--sm .muka-fileupload__icon {
|
|
11371
|
-
width: var(--size-2xl);
|
|
11372
|
-
height: var(--size-2xl);
|
|
11373
|
-
}
|
|
11374
|
-
|
|
11375
|
-
.muka-fileupload--lg .muka-fileupload__icon {
|
|
11376
|
-
width: var(--size-4xl);
|
|
11377
|
-
height: var(--size-4xl);
|
|
11378
|
-
}
|
|
11379
|
-
|
|
11380
|
-
/* Text */
|
|
11381
|
-
.muka-fileupload__text {
|
|
11382
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
11383
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
11384
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
11385
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
11386
|
-
color: var(--color-text-default-default);
|
|
11387
|
-
}
|
|
11388
|
-
|
|
11389
|
-
.muka-fileupload--sm .muka-fileupload__text {
|
|
11390
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
11391
|
-
}
|
|
11392
|
-
|
|
11393
|
-
/* Hint text */
|
|
11394
|
-
.muka-fileupload__hint {
|
|
11395
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
11396
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
11397
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
11398
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
11399
|
-
color: var(--fileupload-dropzone-color-default-foreground);
|
|
11400
|
-
}
|
|
11401
|
-
|
|
11402
|
-
/* File list */
|
|
11403
|
-
.muka-fileupload__list {
|
|
11404
|
-
display: flex;
|
|
11405
|
-
flex-direction: column;
|
|
11406
|
-
gap: var(--spacing-2);
|
|
11407
|
-
list-style: none;
|
|
11408
|
-
margin: 0;
|
|
11409
|
-
padding: 0;
|
|
11410
|
-
}
|
|
11411
|
-
|
|
11412
|
-
.muka-fileupload__list li {
|
|
11413
|
-
margin: 0;
|
|
11414
|
-
padding: 0;
|
|
11415
|
-
}
|
|
11416
|
-
|
|
11417
|
-
/* File item */
|
|
11418
|
-
.muka-fileupload-item {
|
|
11419
|
-
display: flex;
|
|
11420
|
-
align-items: center;
|
|
11421
|
-
gap: var(--fileupload-item-gap);
|
|
11422
|
-
padding: var(--fileupload-item-padding-y) var(--fileupload-item-padding-x);
|
|
11423
|
-
background-color: var(--fileupload-item-color-default-background);
|
|
11424
|
-
border-radius: var(--fileupload-item-radius);
|
|
11425
|
-
}
|
|
11426
|
-
|
|
11427
|
-
.muka-fileupload-item--error {
|
|
11428
|
-
background-color: var(--fileupload-item-color-error-background);
|
|
11429
|
-
}
|
|
11430
|
-
|
|
11431
|
-
.muka-fileupload-item--success {
|
|
11432
|
-
background-color: var(--fileupload-item-color-default-background);
|
|
11433
|
-
}
|
|
11434
|
-
|
|
11435
|
-
/* Preview/Icon container */
|
|
11436
|
-
.muka-fileupload-item__preview {
|
|
11437
|
-
display: flex;
|
|
11438
|
-
align-items: center;
|
|
11439
|
-
justify-content: center;
|
|
11440
|
-
flex-shrink: 0;
|
|
11441
|
-
width: var(--fileupload-preview-size);
|
|
11442
|
-
height: var(--fileupload-preview-size);
|
|
11443
|
-
border-radius: var(--fileupload-preview-radius);
|
|
11444
|
-
overflow: hidden;
|
|
11445
|
-
background-color: var(--color-surface-level1);
|
|
11446
|
-
}
|
|
11447
|
-
|
|
11448
|
-
.muka-fileupload-item__thumbnail {
|
|
11449
|
-
width: 100%;
|
|
11450
|
-
height: 100%;
|
|
11451
|
-
object-fit: cover;
|
|
11452
|
-
}
|
|
11453
|
-
|
|
11454
|
-
.muka-fileupload-item__icon {
|
|
11455
|
-
color: var(--color-text-subtle-default);
|
|
11456
|
-
}
|
|
11457
|
-
|
|
11458
|
-
/* File info */
|
|
11459
|
-
.muka-fileupload-item__info {
|
|
11460
|
-
flex: 1;
|
|
11461
|
-
min-width: 0;
|
|
11462
|
-
display: flex;
|
|
11463
|
-
flex-direction: column;
|
|
11464
|
-
gap: var(--spacing-1);
|
|
11465
|
-
}
|
|
11466
|
-
|
|
11467
|
-
.muka-fileupload-item__name {
|
|
11468
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
11469
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
11470
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
11471
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
11472
|
-
color: var(--fileupload-item-color-default-foreground);
|
|
11473
|
-
white-space: nowrap;
|
|
11474
|
-
overflow: hidden;
|
|
11475
|
-
text-overflow: ellipsis;
|
|
11476
|
-
}
|
|
11477
|
-
|
|
11478
|
-
.muka-fileupload-item--error .muka-fileupload-item__name {
|
|
11479
|
-
color: var(--fileupload-item-color-error-foreground);
|
|
11480
|
-
}
|
|
11481
|
-
|
|
11482
|
-
.muka-fileupload-item__meta {
|
|
11483
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
11484
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
11485
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
11486
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
11487
|
-
color: var(--color-text-subtle-default);
|
|
11488
|
-
}
|
|
11489
|
-
|
|
11490
|
-
.muka-fileupload-item__error {
|
|
11491
|
-
color: var(--fileupload-item-color-error-foreground);
|
|
11492
|
-
}
|
|
11493
|
-
|
|
11494
|
-
.muka-fileupload-item__progress {
|
|
11495
|
-
margin-top: var(--spacing-1);
|
|
11496
|
-
}
|
|
11497
|
-
|
|
11498
|
-
/* Actions */
|
|
11499
|
-
.muka-fileupload-item__actions {
|
|
11500
|
-
display: flex;
|
|
11501
|
-
align-items: center;
|
|
11502
|
-
gap: var(--spacing-2);
|
|
11503
|
-
flex-shrink: 0;
|
|
11504
|
-
}
|
|
11505
|
-
|
|
11506
|
-
.muka-fileupload-item__status-icon--success {
|
|
11507
|
-
color: var(--fileupload-item-color-success-foreground);
|
|
11303
|
+
.muka-form {
|
|
11304
|
+
display: flex;
|
|
11305
|
+
flex-direction: column;
|
|
11306
|
+
width: 100%;
|
|
11508
11307
|
}
|
|
11509
11308
|
|
|
11510
|
-
.muka-
|
|
11511
|
-
|
|
11309
|
+
.muka-form--gap-sm {
|
|
11310
|
+
gap: var(--size-sm);
|
|
11512
11311
|
}
|
|
11513
11312
|
|
|
11514
|
-
.muka-
|
|
11515
|
-
|
|
11313
|
+
.muka-form--gap-md {
|
|
11314
|
+
gap: var(--size-md);
|
|
11516
11315
|
}
|
|
11517
11316
|
|
|
11518
|
-
.muka-
|
|
11519
|
-
|
|
11317
|
+
.muka-form--gap-lg {
|
|
11318
|
+
gap: var(--size-lg);
|
|
11520
11319
|
}
|
|
11521
11320
|
|
|
11522
11321
|
|
|
@@ -11764,41 +11563,303 @@ li.muka-listitem {
|
|
|
11764
11563
|
line-height: var(--text-heading-md-lineHeight);
|
|
11765
11564
|
}
|
|
11766
11565
|
|
|
11767
|
-
/* Description */
|
|
11768
|
-
.muka-emptystate__description {
|
|
11769
|
-
color: var(--emptystate-description-color);
|
|
11770
|
-
margin: 0;
|
|
11566
|
+
/* Description */
|
|
11567
|
+
.muka-emptystate__description {
|
|
11568
|
+
color: var(--emptystate-description-color);
|
|
11569
|
+
margin: 0;
|
|
11570
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
11571
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
11572
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
11573
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
11574
|
+
}
|
|
11575
|
+
|
|
11576
|
+
.muka-emptystate--md .muka-emptystate__description {
|
|
11577
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
11578
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
11579
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
11580
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
11581
|
+
}
|
|
11582
|
+
|
|
11583
|
+
.muka-emptystate--lg .muka-emptystate__description {
|
|
11584
|
+
font-family: var(--text-body-lg-regular-fontFamily);
|
|
11585
|
+
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
11586
|
+
font-size: var(--text-body-lg-regular-fontSize);
|
|
11587
|
+
line-height: var(--text-body-lg-regular-lineHeight);
|
|
11588
|
+
}
|
|
11589
|
+
|
|
11590
|
+
/* Actions */
|
|
11591
|
+
.muka-emptystate__actions {
|
|
11592
|
+
display: flex;
|
|
11593
|
+
gap: var(--emptystate-actions-gap);
|
|
11594
|
+
margin-top: var(--emptystate-actions-marginTop);
|
|
11595
|
+
flex-wrap: wrap;
|
|
11596
|
+
justify-content: center;
|
|
11597
|
+
}
|
|
11598
|
+
|
|
11599
|
+
.muka-emptystate--left .muka-emptystate__actions {
|
|
11600
|
+
justify-content: flex-start;
|
|
11601
|
+
}
|
|
11602
|
+
|
|
11603
|
+
|
|
11604
|
+
/* FileUpload */
|
|
11605
|
+
/* FileUpload Component Styles */
|
|
11606
|
+
|
|
11607
|
+
.muka-fileupload-wrapper {
|
|
11608
|
+
display: flex;
|
|
11609
|
+
flex-direction: column;
|
|
11610
|
+
gap: var(--spacing-3);
|
|
11611
|
+
width: 100%;
|
|
11612
|
+
}
|
|
11613
|
+
|
|
11614
|
+
/* Dropzone */
|
|
11615
|
+
.muka-fileupload {
|
|
11616
|
+
display: flex;
|
|
11617
|
+
flex-direction: column;
|
|
11618
|
+
align-items: center;
|
|
11619
|
+
justify-content: center;
|
|
11620
|
+
gap: var(--fileupload-dropzone-gap);
|
|
11621
|
+
padding: var(--fileupload-dropzone-padding-md);
|
|
11622
|
+
background-color: var(--fileupload-dropzone-color-default-background);
|
|
11623
|
+
border: var(--fileupload-dropzone-border-width) dashed var(--fileupload-dropzone-color-default-border);
|
|
11624
|
+
border-radius: var(--fileupload-dropzone-radius);
|
|
11625
|
+
cursor: pointer;
|
|
11626
|
+
transition: background-color 0.2s ease, border-color 0.2s ease;
|
|
11627
|
+
text-align: center;
|
|
11628
|
+
min-height: 120px;
|
|
11629
|
+
}
|
|
11630
|
+
|
|
11631
|
+
.muka-fileupload:focus-visible {
|
|
11632
|
+
outline: 2px solid var(--color-border-focus);
|
|
11633
|
+
outline-offset: 2px;
|
|
11634
|
+
}
|
|
11635
|
+
|
|
11636
|
+
/* Size variants */
|
|
11637
|
+
.muka-fileupload--sm {
|
|
11638
|
+
padding: var(--fileupload-dropzone-padding-sm);
|
|
11639
|
+
min-height: 80px;
|
|
11640
|
+
}
|
|
11641
|
+
|
|
11642
|
+
.muka-fileupload--lg {
|
|
11643
|
+
padding: var(--fileupload-dropzone-padding-lg);
|
|
11644
|
+
min-height: 160px;
|
|
11645
|
+
}
|
|
11646
|
+
|
|
11647
|
+
/* Button variant */
|
|
11648
|
+
.muka-fileupload--button {
|
|
11649
|
+
flex-direction: row;
|
|
11650
|
+
min-height: auto;
|
|
11651
|
+
padding: var(--spacing-2) var(--spacing-3);
|
|
11652
|
+
border-style: solid;
|
|
11653
|
+
border-width: var(--border-width-regular);
|
|
11654
|
+
border-radius: var(--border-radius-md);
|
|
11655
|
+
}
|
|
11656
|
+
|
|
11657
|
+
/* Hover state */
|
|
11658
|
+
.muka-fileupload:hover:not(.muka-fileupload--disabled) {
|
|
11659
|
+
background-color: var(--fileupload-dropzone-color-hover-background);
|
|
11660
|
+
border-color: var(--fileupload-dropzone-color-hover-border);
|
|
11661
|
+
}
|
|
11662
|
+
|
|
11663
|
+
/* Active/drag state */
|
|
11664
|
+
.muka-fileupload--active:not(.muka-fileupload--disabled) {
|
|
11665
|
+
background-color: var(--fileupload-dropzone-color-active-background);
|
|
11666
|
+
border-color: var(--fileupload-dropzone-color-active-border);
|
|
11667
|
+
}
|
|
11668
|
+
|
|
11669
|
+
/* Disabled state */
|
|
11670
|
+
.muka-fileupload--disabled {
|
|
11671
|
+
background-color: var(--fileupload-dropzone-color-disabled-background);
|
|
11672
|
+
border-color: var(--fileupload-dropzone-color-disabled-border);
|
|
11673
|
+
cursor: not-allowed;
|
|
11674
|
+
opacity: 0.6;
|
|
11675
|
+
}
|
|
11676
|
+
|
|
11677
|
+
/* Hidden file input */
|
|
11678
|
+
.muka-fileupload__input {
|
|
11679
|
+
position: absolute;
|
|
11680
|
+
width: 1px;
|
|
11681
|
+
height: 1px;
|
|
11682
|
+
padding: 0;
|
|
11683
|
+
margin: -1px;
|
|
11684
|
+
overflow: hidden;
|
|
11685
|
+
clip: rect(0, 0, 0, 0);
|
|
11686
|
+
white-space: nowrap;
|
|
11687
|
+
border: 0;
|
|
11688
|
+
}
|
|
11689
|
+
|
|
11690
|
+
/* Content container */
|
|
11691
|
+
.muka-fileupload__content {
|
|
11692
|
+
display: flex;
|
|
11693
|
+
flex-direction: column;
|
|
11694
|
+
align-items: center;
|
|
11695
|
+
gap: var(--spacing-2);
|
|
11696
|
+
}
|
|
11697
|
+
|
|
11698
|
+
/* Upload icon */
|
|
11699
|
+
.muka-fileupload__icon {
|
|
11700
|
+
display: flex;
|
|
11701
|
+
align-items: center;
|
|
11702
|
+
justify-content: center;
|
|
11703
|
+
width: var(--size-3xl);
|
|
11704
|
+
height: var(--size-3xl);
|
|
11705
|
+
color: var(--fileupload-dropzone-color-default-foreground);
|
|
11706
|
+
}
|
|
11707
|
+
|
|
11708
|
+
.muka-fileupload__icon svg {
|
|
11709
|
+
width: 100%;
|
|
11710
|
+
height: 100%;
|
|
11711
|
+
}
|
|
11712
|
+
|
|
11713
|
+
.muka-fileupload--sm .muka-fileupload__icon {
|
|
11714
|
+
width: var(--size-2xl);
|
|
11715
|
+
height: var(--size-2xl);
|
|
11716
|
+
}
|
|
11717
|
+
|
|
11718
|
+
.muka-fileupload--lg .muka-fileupload__icon {
|
|
11719
|
+
width: var(--size-4xl);
|
|
11720
|
+
height: var(--size-4xl);
|
|
11721
|
+
}
|
|
11722
|
+
|
|
11723
|
+
/* Text */
|
|
11724
|
+
.muka-fileupload__text {
|
|
11725
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
11726
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
11727
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
11728
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
11729
|
+
color: var(--color-text-default-default);
|
|
11730
|
+
}
|
|
11731
|
+
|
|
11732
|
+
.muka-fileupload--sm .muka-fileupload__text {
|
|
11733
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
11734
|
+
}
|
|
11735
|
+
|
|
11736
|
+
/* Hint text */
|
|
11737
|
+
.muka-fileupload__hint {
|
|
11738
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
11739
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
11740
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
11741
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
11742
|
+
color: var(--fileupload-dropzone-color-default-foreground);
|
|
11743
|
+
}
|
|
11744
|
+
|
|
11745
|
+
/* File list */
|
|
11746
|
+
.muka-fileupload__list {
|
|
11747
|
+
display: flex;
|
|
11748
|
+
flex-direction: column;
|
|
11749
|
+
gap: var(--spacing-2);
|
|
11750
|
+
list-style: none;
|
|
11751
|
+
margin: 0;
|
|
11752
|
+
padding: 0;
|
|
11753
|
+
}
|
|
11754
|
+
|
|
11755
|
+
.muka-fileupload__list li {
|
|
11756
|
+
margin: 0;
|
|
11757
|
+
padding: 0;
|
|
11758
|
+
}
|
|
11759
|
+
|
|
11760
|
+
/* File item */
|
|
11761
|
+
.muka-fileupload-item {
|
|
11762
|
+
display: flex;
|
|
11763
|
+
align-items: center;
|
|
11764
|
+
gap: var(--fileupload-item-gap);
|
|
11765
|
+
padding: var(--fileupload-item-padding-y) var(--fileupload-item-padding-x);
|
|
11766
|
+
background-color: var(--fileupload-item-color-default-background);
|
|
11767
|
+
border-radius: var(--fileupload-item-radius);
|
|
11768
|
+
}
|
|
11769
|
+
|
|
11770
|
+
.muka-fileupload-item--error {
|
|
11771
|
+
background-color: var(--fileupload-item-color-error-background);
|
|
11772
|
+
}
|
|
11773
|
+
|
|
11774
|
+
.muka-fileupload-item--success {
|
|
11775
|
+
background-color: var(--fileupload-item-color-default-background);
|
|
11776
|
+
}
|
|
11777
|
+
|
|
11778
|
+
/* Preview/Icon container */
|
|
11779
|
+
.muka-fileupload-item__preview {
|
|
11780
|
+
display: flex;
|
|
11781
|
+
align-items: center;
|
|
11782
|
+
justify-content: center;
|
|
11783
|
+
flex-shrink: 0;
|
|
11784
|
+
width: var(--fileupload-preview-size);
|
|
11785
|
+
height: var(--fileupload-preview-size);
|
|
11786
|
+
border-radius: var(--fileupload-preview-radius);
|
|
11787
|
+
overflow: hidden;
|
|
11788
|
+
background-color: var(--color-surface-level1);
|
|
11789
|
+
}
|
|
11790
|
+
|
|
11791
|
+
.muka-fileupload-item__thumbnail {
|
|
11792
|
+
width: 100%;
|
|
11793
|
+
height: 100%;
|
|
11794
|
+
object-fit: cover;
|
|
11795
|
+
}
|
|
11796
|
+
|
|
11797
|
+
.muka-fileupload-item__icon {
|
|
11798
|
+
color: var(--color-text-subtle-default);
|
|
11799
|
+
}
|
|
11800
|
+
|
|
11801
|
+
/* File info */
|
|
11802
|
+
.muka-fileupload-item__info {
|
|
11803
|
+
flex: 1;
|
|
11804
|
+
min-width: 0;
|
|
11805
|
+
display: flex;
|
|
11806
|
+
flex-direction: column;
|
|
11807
|
+
gap: var(--spacing-1);
|
|
11808
|
+
}
|
|
11809
|
+
|
|
11810
|
+
.muka-fileupload-item__name {
|
|
11771
11811
|
font-family: var(--text-body-sm-regular-fontFamily);
|
|
11772
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
11773
11812
|
font-size: var(--text-body-sm-regular-fontSize);
|
|
11813
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
11774
11814
|
line-height: var(--text-body-sm-regular-lineHeight);
|
|
11815
|
+
color: var(--fileupload-item-color-default-foreground);
|
|
11816
|
+
white-space: nowrap;
|
|
11817
|
+
overflow: hidden;
|
|
11818
|
+
text-overflow: ellipsis;
|
|
11775
11819
|
}
|
|
11776
11820
|
|
|
11777
|
-
.muka-
|
|
11778
|
-
|
|
11779
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
11780
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
11781
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
11821
|
+
.muka-fileupload-item--error .muka-fileupload-item__name {
|
|
11822
|
+
color: var(--fileupload-item-color-error-foreground);
|
|
11782
11823
|
}
|
|
11783
11824
|
|
|
11784
|
-
.muka-
|
|
11785
|
-
font-family: var(--text-
|
|
11786
|
-
font-
|
|
11787
|
-
font-
|
|
11788
|
-
line-height: var(--text-
|
|
11825
|
+
.muka-fileupload-item__meta {
|
|
11826
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
11827
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
11828
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
11829
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
11830
|
+
color: var(--color-text-subtle-default);
|
|
11831
|
+
}
|
|
11832
|
+
|
|
11833
|
+
.muka-fileupload-item__error {
|
|
11834
|
+
color: var(--fileupload-item-color-error-foreground);
|
|
11835
|
+
}
|
|
11836
|
+
|
|
11837
|
+
.muka-fileupload-item__progress {
|
|
11838
|
+
margin-top: var(--spacing-1);
|
|
11789
11839
|
}
|
|
11790
11840
|
|
|
11791
11841
|
/* Actions */
|
|
11792
|
-
.muka-
|
|
11842
|
+
.muka-fileupload-item__actions {
|
|
11793
11843
|
display: flex;
|
|
11794
|
-
|
|
11795
|
-
|
|
11796
|
-
flex-
|
|
11797
|
-
justify-content: center;
|
|
11844
|
+
align-items: center;
|
|
11845
|
+
gap: var(--spacing-2);
|
|
11846
|
+
flex-shrink: 0;
|
|
11798
11847
|
}
|
|
11799
11848
|
|
|
11800
|
-
.muka-
|
|
11801
|
-
|
|
11849
|
+
.muka-fileupload-item__status-icon--success {
|
|
11850
|
+
color: var(--fileupload-item-color-success-foreground);
|
|
11851
|
+
}
|
|
11852
|
+
|
|
11853
|
+
.muka-fileupload-item__status-icon--error {
|
|
11854
|
+
color: var(--fileupload-item-color-error-foreground);
|
|
11855
|
+
}
|
|
11856
|
+
|
|
11857
|
+
.muka-fileupload-item__remove {
|
|
11858
|
+
opacity: 0.7;
|
|
11859
|
+
}
|
|
11860
|
+
|
|
11861
|
+
.muka-fileupload-item__remove:hover {
|
|
11862
|
+
opacity: 1;
|
|
11802
11863
|
}
|
|
11803
11864
|
|
|
11804
11865
|
|
|
@@ -15554,42 +15615,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15554
15615
|
}
|
|
15555
15616
|
|
|
15556
15617
|
|
|
15557
|
-
/* ChatChoiceCard */
|
|
15558
|
-
/* ChatChoiceCard — compact option rows (experimental) */
|
|
15559
|
-
.muka-chat-choice__list {
|
|
15560
|
-
display: flex;
|
|
15561
|
-
flex-direction: column;
|
|
15562
|
-
gap: var(--spacing-2);
|
|
15563
|
-
}
|
|
15564
|
-
|
|
15565
|
-
.muka-chat-choice__row {
|
|
15566
|
-
display: flex;
|
|
15567
|
-
align-items: center;
|
|
15568
|
-
min-height: var(--spacing-8);
|
|
15569
|
-
min-width: 0;
|
|
15570
|
-
}
|
|
15571
|
-
|
|
15572
|
-
.muka-chat-choice__row--other {
|
|
15573
|
-
gap: var(--spacing-2);
|
|
15574
|
-
}
|
|
15575
|
-
|
|
15576
|
-
/* The free-text option: the control, then the field filling the row. */
|
|
15577
|
-
.muka-chat-choice__row--other {
|
|
15578
|
-
flex-wrap: nowrap;
|
|
15579
|
-
}
|
|
15580
|
-
|
|
15581
|
-
.muka-chat-choice__row--other > .muka-radio,
|
|
15582
|
-
.muka-chat-choice__row--other > .muka-checkbox {
|
|
15583
|
-
flex: 0 0 auto;
|
|
15584
|
-
}
|
|
15585
|
-
|
|
15586
|
-
.muka-chat-choice__row--other > .muka-input {
|
|
15587
|
-
flex: 1 1 auto;
|
|
15588
|
-
width: auto;
|
|
15589
|
-
min-width: 0;
|
|
15590
|
-
}
|
|
15591
|
-
|
|
15592
|
-
|
|
15593
15618
|
/* ChatAttachmentChip */
|
|
15594
15619
|
/* ChatAttachmentChip Component Styles */
|
|
15595
15620
|
|
|
@@ -15656,93 +15681,239 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15656
15681
|
color: var(--color-text-subtle-default);
|
|
15657
15682
|
}
|
|
15658
15683
|
|
|
15659
|
-
.muka-chat-attachment-chip__text {
|
|
15660
|
-
display: flex;
|
|
15661
|
-
flex-direction: column;
|
|
15662
|
-
min-width: 0;
|
|
15663
|
-
flex: 1 1 auto;
|
|
15684
|
+
.muka-chat-attachment-chip__text {
|
|
15685
|
+
display: flex;
|
|
15686
|
+
flex-direction: column;
|
|
15687
|
+
min-width: 0;
|
|
15688
|
+
flex: 1 1 auto;
|
|
15689
|
+
}
|
|
15690
|
+
|
|
15691
|
+
.muka-chat-attachment-chip__name {
|
|
15692
|
+
color: var(--color-text-default-default);
|
|
15693
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15694
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15695
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
15696
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15697
|
+
white-space: nowrap;
|
|
15698
|
+
overflow: hidden;
|
|
15699
|
+
text-overflow: ellipsis;
|
|
15700
|
+
}
|
|
15701
|
+
|
|
15702
|
+
.muka-chat-attachment-chip__meta {
|
|
15703
|
+
color: var(--color-text-subtle-default);
|
|
15704
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15705
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15706
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
15707
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15708
|
+
white-space: nowrap;
|
|
15709
|
+
overflow: hidden;
|
|
15710
|
+
text-overflow: ellipsis;
|
|
15711
|
+
}
|
|
15712
|
+
|
|
15713
|
+
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
|
|
15714
|
+
color: var(--color-state-error-default, var(--color-text-default-default));
|
|
15715
|
+
}
|
|
15716
|
+
|
|
15717
|
+
/* ─── Remove button ────────────────────────────────────── */
|
|
15718
|
+
|
|
15719
|
+
.muka-chat-attachment-chip__remove {
|
|
15720
|
+
display: inline-flex;
|
|
15721
|
+
align-items: center;
|
|
15722
|
+
justify-content: center;
|
|
15723
|
+
width: 20px;
|
|
15724
|
+
height: 20px;
|
|
15725
|
+
border: none;
|
|
15726
|
+
background: none;
|
|
15727
|
+
padding: 0;
|
|
15728
|
+
border-radius: var(--radius-sm);
|
|
15729
|
+
cursor: pointer;
|
|
15730
|
+
color: var(--color-text-subtle-default);
|
|
15731
|
+
flex-shrink: 0;
|
|
15732
|
+
-webkit-tap-highlight-color: transparent;
|
|
15733
|
+
}
|
|
15734
|
+
|
|
15735
|
+
.muka-chat-attachment-chip__remove:hover:not(:disabled) {
|
|
15736
|
+
color: var(--color-text-default-default);
|
|
15737
|
+
background-color: var(--color-surface-level2);
|
|
15738
|
+
}
|
|
15739
|
+
|
|
15740
|
+
.muka-chat-attachment-chip__remove:focus-visible {
|
|
15741
|
+
outline: 2px solid var(--color-action-default);
|
|
15742
|
+
outline-offset: 2px;
|
|
15743
|
+
}
|
|
15744
|
+
|
|
15745
|
+
.muka-chat-attachment-chip__remove:disabled {
|
|
15746
|
+
cursor: not-allowed;
|
|
15747
|
+
opacity: 0.5;
|
|
15748
|
+
}
|
|
15749
|
+
|
|
15750
|
+
/* ─── Progress bar ─────────────────────────────────────── */
|
|
15751
|
+
|
|
15752
|
+
.muka-chat-attachment-chip__progress {
|
|
15753
|
+
position: absolute;
|
|
15754
|
+
left: 0;
|
|
15755
|
+
right: 0;
|
|
15756
|
+
bottom: 0;
|
|
15757
|
+
height: 2px;
|
|
15758
|
+
background-color: var(--color-surface-level2);
|
|
15759
|
+
overflow: hidden;
|
|
15760
|
+
}
|
|
15761
|
+
|
|
15762
|
+
.muka-chat-attachment-chip__progress-fill {
|
|
15763
|
+
display: block;
|
|
15764
|
+
height: 100%;
|
|
15765
|
+
background-color: var(--color-action-default);
|
|
15766
|
+
transition: width 0.16s ease;
|
|
15767
|
+
}
|
|
15768
|
+
|
|
15769
|
+
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
|
|
15770
|
+
background-color: var(--color-state-error-default, var(--color-text-default-default));
|
|
15771
|
+
}
|
|
15772
|
+
|
|
15773
|
+
|
|
15774
|
+
/* Card */
|
|
15775
|
+
/* Card Component Styles - Using Muka Design Tokens */
|
|
15776
|
+
|
|
15777
|
+
.muka-card {
|
|
15778
|
+
background-color: var(--card-color-default-background);
|
|
15779
|
+
color: var(--card-color-default-foreground);
|
|
15780
|
+
border: var(--border-width-regular) solid var(--card-color-default-border);
|
|
15781
|
+
box-shadow: var(--card-shadow-default);
|
|
15782
|
+
transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
15783
|
+
overflow: hidden;
|
|
15784
|
+
}
|
|
15785
|
+
|
|
15786
|
+
/* Padding variants */
|
|
15787
|
+
.muka-card--padding-none {
|
|
15788
|
+
padding: 0;
|
|
15789
|
+
}
|
|
15790
|
+
|
|
15791
|
+
.muka-card--padding-sm {
|
|
15792
|
+
padding: var(--card-padding-sm);
|
|
15793
|
+
}
|
|
15794
|
+
|
|
15795
|
+
.muka-card--padding-md {
|
|
15796
|
+
padding: var(--card-padding-md);
|
|
15797
|
+
}
|
|
15798
|
+
|
|
15799
|
+
.muka-card--padding-lg {
|
|
15800
|
+
padding: var(--card-padding-lg);
|
|
15801
|
+
}
|
|
15802
|
+
|
|
15803
|
+
/* Radius variants */
|
|
15804
|
+
.muka-card--radius-sm {
|
|
15805
|
+
border-radius: var(--card-radius-sm);
|
|
15806
|
+
}
|
|
15807
|
+
|
|
15808
|
+
.muka-card--radius-md {
|
|
15809
|
+
border-radius: var(--card-radius-md);
|
|
15810
|
+
}
|
|
15811
|
+
|
|
15812
|
+
.muka-card--radius-lg {
|
|
15813
|
+
border-radius: var(--card-radius-lg);
|
|
15814
|
+
}
|
|
15815
|
+
|
|
15816
|
+
/* Interactive variant */
|
|
15817
|
+
.muka-card--interactive {
|
|
15818
|
+
cursor: pointer;
|
|
15819
|
+
user-select: none;
|
|
15820
|
+
}
|
|
15821
|
+
|
|
15822
|
+
.muka-card--interactive:hover {
|
|
15823
|
+
background-color: var(--card-color-hover-background);
|
|
15824
|
+
border-color: var(--card-color-hover-border);
|
|
15825
|
+
box-shadow: var(--card-shadow-hover);
|
|
15826
|
+
}
|
|
15827
|
+
|
|
15828
|
+
.muka-card--interactive:active,
|
|
15829
|
+
.muka-card--interactive.muka-card--pressed {
|
|
15830
|
+
background-color: var(--card-color-pressed-background);
|
|
15831
|
+
border-color: var(--card-color-pressed-border);
|
|
15832
|
+
box-shadow: var(--card-shadow-pressed);
|
|
15833
|
+
}
|
|
15834
|
+
|
|
15835
|
+
.muka-card--interactive:focus-visible {
|
|
15836
|
+
outline: 2px solid var(--color-border-focus);
|
|
15837
|
+
outline-offset: 2px;
|
|
15838
|
+
}
|
|
15839
|
+
|
|
15840
|
+
/* Selected variant */
|
|
15841
|
+
.muka-card--selected {
|
|
15842
|
+
background-color: var(--card-color-selected-background);
|
|
15843
|
+
border-color: var(--card-color-selected-border);
|
|
15844
|
+
border-width: var(--border-width-bold);
|
|
15845
|
+
box-shadow: var(--card-shadow-selected);
|
|
15664
15846
|
}
|
|
15665
15847
|
|
|
15666
|
-
|
|
15667
|
-
|
|
15668
|
-
|
|
15669
|
-
|
|
15670
|
-
|
|
15671
|
-
|
|
15672
|
-
white-space: nowrap;
|
|
15673
|
-
overflow: hidden;
|
|
15674
|
-
text-overflow: ellipsis;
|
|
15848
|
+
/* Tone: sticky note (MUK-105) */
|
|
15849
|
+
.muka-card--tone-note {
|
|
15850
|
+
background-color: var(--card-color-note-background);
|
|
15851
|
+
color: var(--card-color-note-foreground);
|
|
15852
|
+
border-color: var(--card-color-note-border);
|
|
15853
|
+
box-shadow: var(--card-shadow-note);
|
|
15675
15854
|
}
|
|
15676
15855
|
|
|
15677
|
-
.muka-
|
|
15678
|
-
|
|
15679
|
-
|
|
15680
|
-
|
|
15681
|
-
|
|
15682
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15683
|
-
white-space: nowrap;
|
|
15684
|
-
overflow: hidden;
|
|
15685
|
-
text-overflow: ellipsis;
|
|
15856
|
+
.muka-card--tone-note.muka-card--interactive:hover,
|
|
15857
|
+
.muka-card--tone-note.muka-card--interactive:active,
|
|
15858
|
+
.muka-card--tone-note.muka-card--interactive.muka-card--pressed {
|
|
15859
|
+
background-color: var(--card-color-note-background);
|
|
15860
|
+
border-color: var(--card-color-note-border);
|
|
15686
15861
|
}
|
|
15687
15862
|
|
|
15688
|
-
.muka-
|
|
15689
|
-
|
|
15863
|
+
.muka-card--tilt-left {
|
|
15864
|
+
transform: rotate(-0.75deg);
|
|
15690
15865
|
}
|
|
15691
15866
|
|
|
15692
|
-
|
|
15693
|
-
|
|
15694
|
-
.muka-chat-attachment-chip__remove {
|
|
15695
|
-
display: inline-flex;
|
|
15696
|
-
align-items: center;
|
|
15697
|
-
justify-content: center;
|
|
15698
|
-
width: 20px;
|
|
15699
|
-
height: 20px;
|
|
15700
|
-
border: none;
|
|
15701
|
-
background: none;
|
|
15702
|
-
padding: 0;
|
|
15703
|
-
border-radius: var(--radius-sm);
|
|
15704
|
-
cursor: pointer;
|
|
15705
|
-
color: var(--color-text-subtle-default);
|
|
15706
|
-
flex-shrink: 0;
|
|
15707
|
-
-webkit-tap-highlight-color: transparent;
|
|
15867
|
+
.muka-card--tilt-right {
|
|
15868
|
+
transform: rotate(0.6deg);
|
|
15708
15869
|
}
|
|
15709
15870
|
|
|
15710
|
-
|
|
15711
|
-
|
|
15712
|
-
|
|
15871
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
15872
|
+
.muka-card--tilt-left,
|
|
15873
|
+
.muka-card--tilt-right {
|
|
15874
|
+
transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
15875
|
+
}
|
|
15713
15876
|
}
|
|
15714
15877
|
|
|
15715
|
-
.muka-
|
|
15716
|
-
|
|
15717
|
-
|
|
15878
|
+
.muka-card--interactive.muka-card--tilt-left:hover,
|
|
15879
|
+
.muka-card--interactive.muka-card--tilt-right:hover {
|
|
15880
|
+
transform: none;
|
|
15718
15881
|
}
|
|
15719
15882
|
|
|
15720
|
-
|
|
15721
|
-
|
|
15722
|
-
|
|
15883
|
+
/* Optional header (title + description) */
|
|
15884
|
+
.muka-card__header {
|
|
15885
|
+
margin-bottom: var(--spacing-4);
|
|
15723
15886
|
}
|
|
15724
15887
|
|
|
15725
|
-
|
|
15888
|
+
.muka-card__title {
|
|
15889
|
+
margin: 0;
|
|
15890
|
+
color: var(--color-text-default-default);
|
|
15891
|
+
font-family: var(--text-heading-xs-fontFamily);
|
|
15892
|
+
font-weight: var(--text-heading-xs-fontWeight);
|
|
15893
|
+
font-size: var(--text-heading-xs-fontSize);
|
|
15894
|
+
line-height: var(--text-heading-xs-lineHeight);
|
|
15895
|
+
letter-spacing: var(--text-heading-xs-letterSpacing);
|
|
15896
|
+
}
|
|
15726
15897
|
|
|
15727
|
-
.muka-
|
|
15728
|
-
|
|
15729
|
-
|
|
15730
|
-
|
|
15731
|
-
|
|
15732
|
-
|
|
15733
|
-
|
|
15734
|
-
overflow: hidden;
|
|
15898
|
+
.muka-card__description {
|
|
15899
|
+
margin: var(--spacing-1) 0 0;
|
|
15900
|
+
color: var(--color-text-subtle-default);
|
|
15901
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15902
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15903
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
15904
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15735
15905
|
}
|
|
15736
15906
|
|
|
15737
|
-
|
|
15738
|
-
|
|
15739
|
-
|
|
15740
|
-
background-color: var(--color-action-default);
|
|
15741
|
-
transition: width 0.16s ease;
|
|
15907
|
+
/* Hide divider on last list item inside card */
|
|
15908
|
+
.muka-card > .muka-listitem:last-child > .muka-listitem__divider {
|
|
15909
|
+
display: none;
|
|
15742
15910
|
}
|
|
15743
15911
|
|
|
15744
|
-
|
|
15745
|
-
|
|
15912
|
+
/* Disabled state */
|
|
15913
|
+
.muka-card--disabled {
|
|
15914
|
+
opacity: 0.5;
|
|
15915
|
+
cursor: not-allowed;
|
|
15916
|
+
pointer-events: none;
|
|
15746
15917
|
}
|
|
15747
15918
|
|
|
15748
15919
|
|
|
@@ -16029,220 +16200,74 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
16029
16200
|
width: 100%;
|
|
16030
16201
|
}
|
|
16031
16202
|
|
|
16032
|
-
/* Icons - forced to the Figma per-size dimension regardless of the icon passed */
|
|
16033
|
-
.muka-button__icon {
|
|
16034
|
-
display: inline-flex;
|
|
16035
|
-
align-items: center;
|
|
16036
|
-
justify-content: center;
|
|
16037
|
-
flex-shrink: 0;
|
|
16038
|
-
}
|
|
16039
|
-
|
|
16040
|
-
/* Make the icon content (raw <svg> or a nested Icon span) fill the wrapper.
|
|
16041
|
-
Scoped under .muka-button to outrank Icon.css's own `.muka-icon--{size}`
|
|
16042
|
-
rule, so the button's size wins even when the icon hardcodes its own size. */
|
|
16043
|
-
.muka-button .muka-button__icon > *,
|
|
16044
|
-
.muka-button .muka-button__icon svg {
|
|
16045
|
-
width: 100%;
|
|
16046
|
-
height: 100%;
|
|
16047
|
-
display: block;
|
|
16048
|
-
}
|
|
16049
|
-
|
|
16050
|
-
/* A Spinner in the icon slot keeps its own flex centring: as a block its
|
|
16051
|
-
circle sat at the top of the slot (4px high in an lg icon-only button). */
|
|
16052
|
-
.muka-button .muka-button__icon > .muka-spinner {
|
|
16053
|
-
display: flex;
|
|
16054
|
-
}
|
|
16055
|
-
|
|
16056
|
-
.muka-button--sm .muka-button__icon {
|
|
16057
|
-
width: var(--button-icon-sm);
|
|
16058
|
-
height: var(--button-icon-sm);
|
|
16059
|
-
}
|
|
16060
|
-
|
|
16061
|
-
.muka-button--md .muka-button__icon {
|
|
16062
|
-
width: var(--button-icon-md);
|
|
16063
|
-
height: var(--button-icon-md);
|
|
16064
|
-
}
|
|
16065
|
-
|
|
16066
|
-
.muka-button--lg .muka-button__icon {
|
|
16067
|
-
width: var(--button-icon-lg);
|
|
16068
|
-
height: var(--button-icon-lg);
|
|
16069
|
-
}
|
|
16070
|
-
|
|
16071
|
-
.muka-button--xl .muka-button__icon {
|
|
16072
|
-
width: var(--button-icon-xl);
|
|
16073
|
-
height: var(--button-icon-xl);
|
|
16074
|
-
}
|
|
16075
|
-
|
|
16076
|
-
.muka-button__label {
|
|
16077
|
-
display: inline-flex;
|
|
16078
|
-
align-items: center;
|
|
16079
|
-
}
|
|
16080
|
-
|
|
16081
|
-
/* Icon-only buttons - square, sized to the button height per size */
|
|
16082
|
-
.muka-button--icon-only {
|
|
16083
|
-
padding: 0;
|
|
16084
|
-
}
|
|
16085
|
-
|
|
16086
|
-
.muka-button--icon-only.muka-button--sm {
|
|
16087
|
-
width: 32px;
|
|
16088
|
-
}
|
|
16089
|
-
|
|
16090
|
-
.muka-button--icon-only.muka-button--md {
|
|
16091
|
-
width: 40px;
|
|
16092
|
-
}
|
|
16093
|
-
|
|
16094
|
-
.muka-button--icon-only.muka-button--lg {
|
|
16095
|
-
width: 48px;
|
|
16096
|
-
}
|
|
16097
|
-
|
|
16098
|
-
.muka-button--icon-only.muka-button--xl {
|
|
16099
|
-
width: 64px;
|
|
16100
|
-
}
|
|
16101
|
-
|
|
16102
|
-
|
|
16103
|
-
/* Card */
|
|
16104
|
-
/* Card Component Styles - Using Muka Design Tokens */
|
|
16105
|
-
|
|
16106
|
-
.muka-card {
|
|
16107
|
-
background-color: var(--card-color-default-background);
|
|
16108
|
-
color: var(--card-color-default-foreground);
|
|
16109
|
-
border: var(--border-width-regular) solid var(--card-color-default-border);
|
|
16110
|
-
box-shadow: var(--card-shadow-default);
|
|
16111
|
-
transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
16112
|
-
overflow: hidden;
|
|
16113
|
-
}
|
|
16114
|
-
|
|
16115
|
-
/* Padding variants */
|
|
16116
|
-
.muka-card--padding-none {
|
|
16117
|
-
padding: 0;
|
|
16118
|
-
}
|
|
16119
|
-
|
|
16120
|
-
.muka-card--padding-sm {
|
|
16121
|
-
padding: var(--card-padding-sm);
|
|
16122
|
-
}
|
|
16123
|
-
|
|
16124
|
-
.muka-card--padding-md {
|
|
16125
|
-
padding: var(--card-padding-md);
|
|
16126
|
-
}
|
|
16127
|
-
|
|
16128
|
-
.muka-card--padding-lg {
|
|
16129
|
-
padding: var(--card-padding-lg);
|
|
16130
|
-
}
|
|
16131
|
-
|
|
16132
|
-
/* Radius variants */
|
|
16133
|
-
.muka-card--radius-sm {
|
|
16134
|
-
border-radius: var(--card-radius-sm);
|
|
16135
|
-
}
|
|
16136
|
-
|
|
16137
|
-
.muka-card--radius-md {
|
|
16138
|
-
border-radius: var(--card-radius-md);
|
|
16139
|
-
}
|
|
16140
|
-
|
|
16141
|
-
.muka-card--radius-lg {
|
|
16142
|
-
border-radius: var(--card-radius-lg);
|
|
16143
|
-
}
|
|
16144
|
-
|
|
16145
|
-
/* Interactive variant */
|
|
16146
|
-
.muka-card--interactive {
|
|
16147
|
-
cursor: pointer;
|
|
16148
|
-
user-select: none;
|
|
16149
|
-
}
|
|
16150
|
-
|
|
16151
|
-
.muka-card--interactive:hover {
|
|
16152
|
-
background-color: var(--card-color-hover-background);
|
|
16153
|
-
border-color: var(--card-color-hover-border);
|
|
16154
|
-
box-shadow: var(--card-shadow-hover);
|
|
16155
|
-
}
|
|
16156
|
-
|
|
16157
|
-
.muka-card--interactive:active,
|
|
16158
|
-
.muka-card--interactive.muka-card--pressed {
|
|
16159
|
-
background-color: var(--card-color-pressed-background);
|
|
16160
|
-
border-color: var(--card-color-pressed-border);
|
|
16161
|
-
box-shadow: var(--card-shadow-pressed);
|
|
16162
|
-
}
|
|
16163
|
-
|
|
16164
|
-
.muka-card--interactive:focus-visible {
|
|
16165
|
-
outline: 2px solid var(--color-border-focus);
|
|
16166
|
-
outline-offset: 2px;
|
|
16203
|
+
/* Icons - forced to the Figma per-size dimension regardless of the icon passed */
|
|
16204
|
+
.muka-button__icon {
|
|
16205
|
+
display: inline-flex;
|
|
16206
|
+
align-items: center;
|
|
16207
|
+
justify-content: center;
|
|
16208
|
+
flex-shrink: 0;
|
|
16167
16209
|
}
|
|
16168
16210
|
|
|
16169
|
-
/*
|
|
16170
|
-
.muka-
|
|
16171
|
-
|
|
16172
|
-
|
|
16173
|
-
|
|
16174
|
-
|
|
16211
|
+
/* Make the icon content (raw <svg> or a nested Icon span) fill the wrapper.
|
|
16212
|
+
Scoped under .muka-button to outrank Icon.css's own `.muka-icon--{size}`
|
|
16213
|
+
rule, so the button's size wins even when the icon hardcodes its own size. */
|
|
16214
|
+
.muka-button .muka-button__icon > *,
|
|
16215
|
+
.muka-button .muka-button__icon svg {
|
|
16216
|
+
width: 100%;
|
|
16217
|
+
height: 100%;
|
|
16218
|
+
display: block;
|
|
16175
16219
|
}
|
|
16176
16220
|
|
|
16177
|
-
/*
|
|
16178
|
-
|
|
16179
|
-
|
|
16180
|
-
|
|
16181
|
-
border-color: var(--card-color-note-border);
|
|
16182
|
-
box-shadow: var(--card-shadow-note);
|
|
16221
|
+
/* A Spinner in the icon slot keeps its own flex centring: as a block its
|
|
16222
|
+
circle sat at the top of the slot (4px high in an lg icon-only button). */
|
|
16223
|
+
.muka-button .muka-button__icon > .muka-spinner {
|
|
16224
|
+
display: flex;
|
|
16183
16225
|
}
|
|
16184
16226
|
|
|
16185
|
-
.muka-
|
|
16186
|
-
|
|
16187
|
-
|
|
16188
|
-
background-color: var(--card-color-note-background);
|
|
16189
|
-
border-color: var(--card-color-note-border);
|
|
16227
|
+
.muka-button--sm .muka-button__icon {
|
|
16228
|
+
width: var(--button-icon-sm);
|
|
16229
|
+
height: var(--button-icon-sm);
|
|
16190
16230
|
}
|
|
16191
16231
|
|
|
16192
|
-
.muka-
|
|
16193
|
-
|
|
16232
|
+
.muka-button--md .muka-button__icon {
|
|
16233
|
+
width: var(--button-icon-md);
|
|
16234
|
+
height: var(--button-icon-md);
|
|
16194
16235
|
}
|
|
16195
16236
|
|
|
16196
|
-
.muka-
|
|
16197
|
-
|
|
16237
|
+
.muka-button--lg .muka-button__icon {
|
|
16238
|
+
width: var(--button-icon-lg);
|
|
16239
|
+
height: var(--button-icon-lg);
|
|
16198
16240
|
}
|
|
16199
16241
|
|
|
16200
|
-
|
|
16201
|
-
|
|
16202
|
-
|
|
16203
|
-
transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
16204
|
-
}
|
|
16242
|
+
.muka-button--xl .muka-button__icon {
|
|
16243
|
+
width: var(--button-icon-xl);
|
|
16244
|
+
height: var(--button-icon-xl);
|
|
16205
16245
|
}
|
|
16206
16246
|
|
|
16207
|
-
.muka-
|
|
16208
|
-
|
|
16209
|
-
|
|
16247
|
+
.muka-button__label {
|
|
16248
|
+
display: inline-flex;
|
|
16249
|
+
align-items: center;
|
|
16210
16250
|
}
|
|
16211
16251
|
|
|
16212
|
-
/*
|
|
16213
|
-
.muka-
|
|
16214
|
-
|
|
16252
|
+
/* Icon-only buttons - square, sized to the button height per size */
|
|
16253
|
+
.muka-button--icon-only {
|
|
16254
|
+
padding: 0;
|
|
16215
16255
|
}
|
|
16216
16256
|
|
|
16217
|
-
.muka-
|
|
16218
|
-
|
|
16219
|
-
color: var(--color-text-default-default);
|
|
16220
|
-
font-family: var(--text-heading-xs-fontFamily);
|
|
16221
|
-
font-weight: var(--text-heading-xs-fontWeight);
|
|
16222
|
-
font-size: var(--text-heading-xs-fontSize);
|
|
16223
|
-
line-height: var(--text-heading-xs-lineHeight);
|
|
16224
|
-
letter-spacing: var(--text-heading-xs-letterSpacing);
|
|
16257
|
+
.muka-button--icon-only.muka-button--sm {
|
|
16258
|
+
width: 32px;
|
|
16225
16259
|
}
|
|
16226
16260
|
|
|
16227
|
-
.muka-
|
|
16228
|
-
|
|
16229
|
-
color: var(--color-text-subtle-default);
|
|
16230
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
16231
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
16232
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
16233
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
16261
|
+
.muka-button--icon-only.muka-button--md {
|
|
16262
|
+
width: 40px;
|
|
16234
16263
|
}
|
|
16235
16264
|
|
|
16236
|
-
|
|
16237
|
-
|
|
16238
|
-
display: none;
|
|
16265
|
+
.muka-button--icon-only.muka-button--lg {
|
|
16266
|
+
width: 48px;
|
|
16239
16267
|
}
|
|
16240
16268
|
|
|
16241
|
-
|
|
16242
|
-
|
|
16243
|
-
opacity: 0.5;
|
|
16244
|
-
cursor: not-allowed;
|
|
16245
|
-
pointer-events: none;
|
|
16269
|
+
.muka-button--icon-only.muka-button--xl {
|
|
16270
|
+
width: 64px;
|
|
16246
16271
|
}
|
|
16247
16272
|
|
|
16248
16273
|
|
|
@@ -17732,215 +17757,73 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
17732
17757
|
.muka-alert--lg .muka-alert__title {
|
|
17733
17758
|
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
17734
17759
|
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
17735
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
17736
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
17737
|
-
}
|
|
17738
|
-
|
|
17739
|
-
.muka-alert__message {
|
|
17740
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
17741
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
17742
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
17743
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
17744
|
-
/* Beat ambient docs/page text colors (e.g. Storybook sbdocs) so variant
|
|
17745
|
-
foreground stays readable in light and dark themes. */
|
|
17746
|
-
color: inherit;
|
|
17747
|
-
}
|
|
17748
|
-
|
|
17749
|
-
.muka-alert .muka-alert__message,
|
|
17750
|
-
.muka-alert .muka-alert__message * {
|
|
17751
|
-
color: inherit;
|
|
17752
|
-
}
|
|
17753
|
-
|
|
17754
|
-
.muka-alert--lg .muka-alert__message {
|
|
17755
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
17756
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
17757
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
17758
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
17759
|
-
}
|
|
17760
|
-
|
|
17761
|
-
/* Action slot — TextLink (or similar) below the message, matching Figma */
|
|
17762
|
-
.muka-alert__action {
|
|
17763
|
-
display: flex;
|
|
17764
|
-
flex-direction: column;
|
|
17765
|
-
align-items: flex-start;
|
|
17766
|
-
padding-top: var(--spacing-1);
|
|
17767
|
-
}
|
|
17768
|
-
|
|
17769
|
-
/* Dismiss button - uses accent color per variant, aligned with icon row */
|
|
17770
|
-
.muka-alert__dismiss {
|
|
17771
|
-
display: flex;
|
|
17772
|
-
align-items: center;
|
|
17773
|
-
justify-content: center;
|
|
17774
|
-
flex-shrink: 0;
|
|
17775
|
-
align-self: flex-start;
|
|
17776
|
-
width: 24px;
|
|
17777
|
-
height: 24px;
|
|
17778
|
-
padding: 0;
|
|
17779
|
-
margin: 0 0 0 auto;
|
|
17780
|
-
border: none;
|
|
17781
|
-
background: transparent;
|
|
17782
|
-
cursor: pointer;
|
|
17783
|
-
border-radius: var(--border-radius-sm);
|
|
17784
|
-
transition: opacity 0.15s ease, background-color 0.15s ease;
|
|
17785
|
-
}
|
|
17786
|
-
|
|
17787
|
-
.muka-alert__dismiss:hover {
|
|
17788
|
-
opacity: 0.85;
|
|
17789
|
-
background-color: rgba(0, 0, 0, 0.05);
|
|
17790
|
-
}
|
|
17791
|
-
|
|
17792
|
-
.muka-alert__dismiss:focus-visible {
|
|
17793
|
-
outline: 2px solid var(--color-border-focus);
|
|
17794
|
-
outline-offset: 2px;
|
|
17795
|
-
}
|
|
17796
|
-
|
|
17797
|
-
.muka-alert__dismiss svg {
|
|
17798
|
-
width: 16px;
|
|
17799
|
-
height: 16px;
|
|
17800
|
-
}
|
|
17801
|
-
|
|
17802
|
-
|
|
17803
|
-
/* ActionSheet */
|
|
17804
|
-
/* ActionSheet Component Styles */
|
|
17805
|
-
|
|
17806
|
-
.muka-action-sheet__inner {
|
|
17807
|
-
display: flex;
|
|
17808
|
-
flex-direction: column;
|
|
17809
|
-
padding: 0 var(--spacing-4) var(--spacing-3) var(--spacing-4);
|
|
17810
|
-
gap: var(--spacing-3);
|
|
17811
|
-
}
|
|
17812
|
-
|
|
17813
|
-
/* ─── Header ──────────────────────────────────────────── */
|
|
17814
|
-
|
|
17815
|
-
.muka-action-sheet__header {
|
|
17816
|
-
display: flex;
|
|
17817
|
-
flex-direction: column;
|
|
17818
|
-
align-items: center;
|
|
17819
|
-
gap: var(--spacing-1);
|
|
17820
|
-
padding: var(--spacing-2) 0 var(--spacing-3);
|
|
17821
|
-
text-align: center;
|
|
17822
|
-
}
|
|
17823
|
-
|
|
17824
|
-
.muka-action-sheet__title {
|
|
17825
|
-
margin: 0;
|
|
17826
|
-
color: var(--color-text-default-default);
|
|
17827
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
17828
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
17829
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
17830
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
17831
|
-
}
|
|
17832
|
-
|
|
17833
|
-
.muka-action-sheet__description {
|
|
17834
|
-
margin: 0;
|
|
17835
|
-
color: var(--color-text-subtle-default);
|
|
17836
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
17837
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
17838
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
17839
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
17840
|
-
}
|
|
17841
|
-
|
|
17842
|
-
/* ─── Actions group ───────────────────────────────────── */
|
|
17843
|
-
|
|
17844
|
-
.muka-action-sheet__actions {
|
|
17845
|
-
display: flex;
|
|
17846
|
-
flex-direction: column;
|
|
17847
|
-
background-color: var(--color-surface-level1);
|
|
17848
|
-
border-radius: var(--radius-md);
|
|
17849
|
-
overflow: hidden;
|
|
17850
|
-
}
|
|
17851
|
-
|
|
17852
|
-
.muka-action-sheet__item {
|
|
17853
|
-
display: flex;
|
|
17854
|
-
align-items: center;
|
|
17855
|
-
gap: var(--spacing-3);
|
|
17856
|
-
padding: var(--spacing-3) var(--spacing-4);
|
|
17857
|
-
background: none;
|
|
17858
|
-
border: none;
|
|
17859
|
-
cursor: pointer;
|
|
17860
|
-
text-align: left;
|
|
17861
|
-
color: var(--color-text-default-default);
|
|
17862
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
17863
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
17864
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
17865
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
17866
|
-
-webkit-tap-highlight-color: transparent;
|
|
17867
|
-
transition: background-color 0.12s ease;
|
|
17868
|
-
}
|
|
17869
|
-
|
|
17870
|
-
.muka-action-sheet__item + .muka-action-sheet__item {
|
|
17871
|
-
border-top: var(--border-width-regular) solid var(--color-border-default);
|
|
17872
|
-
}
|
|
17873
|
-
|
|
17874
|
-
.muka-action-sheet__item:hover:not(:disabled) {
|
|
17875
|
-
background-color: var(--color-surface-level2);
|
|
17876
|
-
}
|
|
17877
|
-
|
|
17878
|
-
.muka-action-sheet__item:active:not(:disabled) {
|
|
17879
|
-
background-color: var(--color-surface-level3);
|
|
17880
|
-
}
|
|
17881
|
-
|
|
17882
|
-
.muka-action-sheet__item:focus-visible {
|
|
17883
|
-
outline: 2px solid var(--color-action-default);
|
|
17884
|
-
outline-offset: -2px;
|
|
17885
|
-
}
|
|
17886
|
-
|
|
17887
|
-
.muka-action-sheet__item--destructive {
|
|
17888
|
-
color: var(--color-state-error-default);
|
|
17760
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
17761
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
17889
17762
|
}
|
|
17890
17763
|
|
|
17891
|
-
.muka-
|
|
17892
|
-
|
|
17893
|
-
|
|
17894
|
-
|
|
17764
|
+
.muka-alert__message {
|
|
17765
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
17766
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
17767
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
17768
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
17769
|
+
/* Beat ambient docs/page text colors (e.g. Storybook sbdocs) so variant
|
|
17770
|
+
foreground stays readable in light and dark themes. */
|
|
17771
|
+
color: inherit;
|
|
17895
17772
|
}
|
|
17896
17773
|
|
|
17897
|
-
.muka-
|
|
17898
|
-
|
|
17899
|
-
|
|
17900
|
-
justify-content: center;
|
|
17901
|
-
width: 24px;
|
|
17902
|
-
height: 24px;
|
|
17903
|
-
flex-shrink: 0;
|
|
17774
|
+
.muka-alert .muka-alert__message,
|
|
17775
|
+
.muka-alert .muka-alert__message * {
|
|
17776
|
+
color: inherit;
|
|
17904
17777
|
}
|
|
17905
17778
|
|
|
17906
|
-
.muka-
|
|
17907
|
-
|
|
17908
|
-
|
|
17779
|
+
.muka-alert--lg .muka-alert__message {
|
|
17780
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
17781
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
17782
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
17783
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
17909
17784
|
}
|
|
17910
17785
|
|
|
17911
|
-
|
|
17912
|
-
|
|
17786
|
+
/* Action slot — TextLink (or similar) below the message, matching Figma */
|
|
17787
|
+
.muka-alert__action {
|
|
17788
|
+
display: flex;
|
|
17789
|
+
flex-direction: column;
|
|
17790
|
+
align-items: flex-start;
|
|
17791
|
+
padding-top: var(--spacing-1);
|
|
17913
17792
|
}
|
|
17914
17793
|
|
|
17915
|
-
/*
|
|
17916
|
-
|
|
17917
|
-
.muka-action-sheet__cancel {
|
|
17794
|
+
/* Dismiss button - uses accent color per variant, aligned with icon row */
|
|
17795
|
+
.muka-alert__dismiss {
|
|
17918
17796
|
display: flex;
|
|
17919
17797
|
align-items: center;
|
|
17920
17798
|
justify-content: center;
|
|
17921
|
-
|
|
17922
|
-
|
|
17799
|
+
flex-shrink: 0;
|
|
17800
|
+
align-self: flex-start;
|
|
17801
|
+
width: 24px;
|
|
17802
|
+
height: 24px;
|
|
17803
|
+
padding: 0;
|
|
17804
|
+
margin: 0 0 0 auto;
|
|
17923
17805
|
border: none;
|
|
17924
|
-
|
|
17806
|
+
background: transparent;
|
|
17925
17807
|
cursor: pointer;
|
|
17926
|
-
|
|
17927
|
-
|
|
17928
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
17929
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
17930
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
17931
|
-
-webkit-tap-highlight-color: transparent;
|
|
17932
|
-
transition: background-color 0.12s ease;
|
|
17808
|
+
border-radius: var(--border-radius-sm);
|
|
17809
|
+
transition: opacity 0.15s ease, background-color 0.15s ease;
|
|
17933
17810
|
}
|
|
17934
17811
|
|
|
17935
|
-
.muka-
|
|
17936
|
-
|
|
17812
|
+
.muka-alert__dismiss:hover {
|
|
17813
|
+
opacity: 0.85;
|
|
17814
|
+
background-color: rgba(0, 0, 0, 0.05);
|
|
17937
17815
|
}
|
|
17938
17816
|
|
|
17939
|
-
.muka-
|
|
17940
|
-
outline: 2px solid var(--color-
|
|
17817
|
+
.muka-alert__dismiss:focus-visible {
|
|
17818
|
+
outline: 2px solid var(--color-border-focus);
|
|
17941
17819
|
outline-offset: 2px;
|
|
17942
17820
|
}
|
|
17943
17821
|
|
|
17822
|
+
.muka-alert__dismiss svg {
|
|
17823
|
+
width: 16px;
|
|
17824
|
+
height: 16px;
|
|
17825
|
+
}
|
|
17826
|
+
|
|
17944
17827
|
|
|
17945
17828
|
/* AgentTaskList */
|
|
17946
17829
|
/* AgentTaskList Component Styles */
|
|
@@ -18111,6 +17994,148 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
18111
17994
|
}
|
|
18112
17995
|
|
|
18113
17996
|
|
|
17997
|
+
/* ActionSheet */
|
|
17998
|
+
/* ActionSheet Component Styles */
|
|
17999
|
+
|
|
18000
|
+
.muka-action-sheet__inner {
|
|
18001
|
+
display: flex;
|
|
18002
|
+
flex-direction: column;
|
|
18003
|
+
padding: 0 var(--spacing-4) var(--spacing-3) var(--spacing-4);
|
|
18004
|
+
gap: var(--spacing-3);
|
|
18005
|
+
}
|
|
18006
|
+
|
|
18007
|
+
/* ─── Header ──────────────────────────────────────────── */
|
|
18008
|
+
|
|
18009
|
+
.muka-action-sheet__header {
|
|
18010
|
+
display: flex;
|
|
18011
|
+
flex-direction: column;
|
|
18012
|
+
align-items: center;
|
|
18013
|
+
gap: var(--spacing-1);
|
|
18014
|
+
padding: var(--spacing-2) 0 var(--spacing-3);
|
|
18015
|
+
text-align: center;
|
|
18016
|
+
}
|
|
18017
|
+
|
|
18018
|
+
.muka-action-sheet__title {
|
|
18019
|
+
margin: 0;
|
|
18020
|
+
color: var(--color-text-default-default);
|
|
18021
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
18022
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
18023
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
18024
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
18025
|
+
}
|
|
18026
|
+
|
|
18027
|
+
.muka-action-sheet__description {
|
|
18028
|
+
margin: 0;
|
|
18029
|
+
color: var(--color-text-subtle-default);
|
|
18030
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
18031
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
18032
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
18033
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
18034
|
+
}
|
|
18035
|
+
|
|
18036
|
+
/* ─── Actions group ───────────────────────────────────── */
|
|
18037
|
+
|
|
18038
|
+
.muka-action-sheet__actions {
|
|
18039
|
+
display: flex;
|
|
18040
|
+
flex-direction: column;
|
|
18041
|
+
background-color: var(--color-surface-level1);
|
|
18042
|
+
border-radius: var(--radius-md);
|
|
18043
|
+
overflow: hidden;
|
|
18044
|
+
}
|
|
18045
|
+
|
|
18046
|
+
.muka-action-sheet__item {
|
|
18047
|
+
display: flex;
|
|
18048
|
+
align-items: center;
|
|
18049
|
+
gap: var(--spacing-3);
|
|
18050
|
+
padding: var(--spacing-3) var(--spacing-4);
|
|
18051
|
+
background: none;
|
|
18052
|
+
border: none;
|
|
18053
|
+
cursor: pointer;
|
|
18054
|
+
text-align: left;
|
|
18055
|
+
color: var(--color-text-default-default);
|
|
18056
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
18057
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
18058
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
18059
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
18060
|
+
-webkit-tap-highlight-color: transparent;
|
|
18061
|
+
transition: background-color 0.12s ease;
|
|
18062
|
+
}
|
|
18063
|
+
|
|
18064
|
+
.muka-action-sheet__item + .muka-action-sheet__item {
|
|
18065
|
+
border-top: var(--border-width-regular) solid var(--color-border-default);
|
|
18066
|
+
}
|
|
18067
|
+
|
|
18068
|
+
.muka-action-sheet__item:hover:not(:disabled) {
|
|
18069
|
+
background-color: var(--color-surface-level2);
|
|
18070
|
+
}
|
|
18071
|
+
|
|
18072
|
+
.muka-action-sheet__item:active:not(:disabled) {
|
|
18073
|
+
background-color: var(--color-surface-level3);
|
|
18074
|
+
}
|
|
18075
|
+
|
|
18076
|
+
.muka-action-sheet__item:focus-visible {
|
|
18077
|
+
outline: 2px solid var(--color-action-default);
|
|
18078
|
+
outline-offset: -2px;
|
|
18079
|
+
}
|
|
18080
|
+
|
|
18081
|
+
.muka-action-sheet__item--destructive {
|
|
18082
|
+
color: var(--color-state-error-default);
|
|
18083
|
+
}
|
|
18084
|
+
|
|
18085
|
+
.muka-action-sheet__item--disabled,
|
|
18086
|
+
.muka-action-sheet__item:disabled {
|
|
18087
|
+
opacity: 0.5;
|
|
18088
|
+
cursor: not-allowed;
|
|
18089
|
+
}
|
|
18090
|
+
|
|
18091
|
+
.muka-action-sheet__item-icon {
|
|
18092
|
+
display: inline-flex;
|
|
18093
|
+
align-items: center;
|
|
18094
|
+
justify-content: center;
|
|
18095
|
+
width: 24px;
|
|
18096
|
+
height: 24px;
|
|
18097
|
+
flex-shrink: 0;
|
|
18098
|
+
}
|
|
18099
|
+
|
|
18100
|
+
.muka-action-sheet__item-icon svg {
|
|
18101
|
+
width: 100%;
|
|
18102
|
+
height: 100%;
|
|
18103
|
+
}
|
|
18104
|
+
|
|
18105
|
+
.muka-action-sheet__item-label {
|
|
18106
|
+
flex: 1;
|
|
18107
|
+
}
|
|
18108
|
+
|
|
18109
|
+
/* ─── Cancel button (separate at bottom) ──────────────── */
|
|
18110
|
+
|
|
18111
|
+
.muka-action-sheet__cancel {
|
|
18112
|
+
display: flex;
|
|
18113
|
+
align-items: center;
|
|
18114
|
+
justify-content: center;
|
|
18115
|
+
padding: var(--spacing-3) var(--spacing-4);
|
|
18116
|
+
background-color: var(--color-surface-level1);
|
|
18117
|
+
border: none;
|
|
18118
|
+
border-radius: var(--radius-md);
|
|
18119
|
+
cursor: pointer;
|
|
18120
|
+
color: var(--color-text-default-default);
|
|
18121
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
18122
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
18123
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
18124
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
18125
|
+
-webkit-tap-highlight-color: transparent;
|
|
18126
|
+
transition: background-color 0.12s ease;
|
|
18127
|
+
}
|
|
18128
|
+
|
|
18129
|
+
.muka-action-sheet__cancel:hover {
|
|
18130
|
+
background-color: var(--color-surface-level2);
|
|
18131
|
+
}
|
|
18132
|
+
|
|
18133
|
+
.muka-action-sheet__cancel:focus-visible {
|
|
18134
|
+
outline: 2px solid var(--color-action-default);
|
|
18135
|
+
outline-offset: 2px;
|
|
18136
|
+
}
|
|
18137
|
+
|
|
18138
|
+
|
|
18114
18139
|
/* Accordion */
|
|
18115
18140
|
/* Accordion Component Styles */
|
|
18116
18141
|
|
|
@@ -18241,3 +18266,39 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
18241
18266
|
border-bottom: none;
|
|
18242
18267
|
}
|
|
18243
18268
|
|
|
18269
|
+
|
|
18270
|
+
/* ChatChoiceCard */
|
|
18271
|
+
/* ChatChoiceCard — compact option rows (experimental) */
|
|
18272
|
+
.muka-chat-choice__list {
|
|
18273
|
+
display: flex;
|
|
18274
|
+
flex-direction: column;
|
|
18275
|
+
gap: var(--spacing-2);
|
|
18276
|
+
}
|
|
18277
|
+
|
|
18278
|
+
.muka-chat-choice__row {
|
|
18279
|
+
display: flex;
|
|
18280
|
+
align-items: center;
|
|
18281
|
+
min-height: var(--spacing-8);
|
|
18282
|
+
min-width: 0;
|
|
18283
|
+
}
|
|
18284
|
+
|
|
18285
|
+
.muka-chat-choice__row--other {
|
|
18286
|
+
gap: var(--spacing-2);
|
|
18287
|
+
}
|
|
18288
|
+
|
|
18289
|
+
/* The free-text option: the control, then the field filling the row. */
|
|
18290
|
+
.muka-chat-choice__row--other {
|
|
18291
|
+
flex-wrap: nowrap;
|
|
18292
|
+
}
|
|
18293
|
+
|
|
18294
|
+
.muka-chat-choice__row--other > .muka-radio,
|
|
18295
|
+
.muka-chat-choice__row--other > .muka-checkbox {
|
|
18296
|
+
flex: 0 0 auto;
|
|
18297
|
+
}
|
|
18298
|
+
|
|
18299
|
+
.muka-chat-choice__row--other > .muka-input {
|
|
18300
|
+
flex: 1 1 auto;
|
|
18301
|
+
width: auto;
|
|
18302
|
+
min-width: 0;
|
|
18303
|
+
}
|
|
18304
|
+
|