@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
|
@@ -2746,8 +2746,7 @@ body {
|
|
|
2746
2746
|
|
|
2747
2747
|
iOS navigation-controller motion: the pushed View slides in from the right
|
|
2748
2748
|
over the current one, which moves 30% left; a pop reverses it. Small and
|
|
2749
|
-
medium screens
|
|
2750
|
-
in place. --motion-duration-view is 0ms under prefers-reduced-motion. */
|
|
2749
|
+
medium screens; the large tier has its own, quieter motion below. --motion-duration-view is 0ms under prefers-reduced-motion. */
|
|
2751
2750
|
|
|
2752
2751
|
/* No direction, or the large tier: swap without the browser's default crossfade. */
|
|
2753
2752
|
::view-transition-old(.muka-view-exit),
|
|
@@ -2787,6 +2786,68 @@ body {
|
|
|
2787
2786
|
animation: muka-view-from-behind var(--motion-duration-view) var(--motion-easing-enter) both;
|
|
2788
2787
|
}
|
|
2789
2788
|
|
|
2789
|
+
/* The leaving View without an exit of its own (React drops it for a View
|
|
2790
|
+
that first appeared through a Suspense reveal) is in the root snapshot:
|
|
2791
|
+
move that instead, and hide the new root, which is only the page behind
|
|
2792
|
+
the entering View. On a pop the old root goes above the entering View. */
|
|
2793
|
+
:root[data-muka-nav][data-muka-nav-root]::view-transition-new(root) {
|
|
2794
|
+
animation: none;
|
|
2795
|
+
opacity: 0;
|
|
2796
|
+
}
|
|
2797
|
+
|
|
2798
|
+
:root[data-muka-nav='push'][data-muka-nav-root]::view-transition-old(root) {
|
|
2799
|
+
animation: muka-view-to-behind var(--motion-duration-view) var(--motion-easing-enter) both;
|
|
2800
|
+
}
|
|
2801
|
+
|
|
2802
|
+
:root[data-muka-nav='pop'][data-muka-nav-root]::view-transition-group(root) {
|
|
2803
|
+
z-index: 2;
|
|
2804
|
+
}
|
|
2805
|
+
|
|
2806
|
+
:root[data-muka-nav='pop'][data-muka-nav-root]::view-transition-old(root) {
|
|
2807
|
+
animation: muka-view-to-right var(--motion-duration-view) var(--motion-easing-enter) both;
|
|
2808
|
+
}
|
|
2809
|
+
|
|
2810
|
+
}
|
|
2811
|
+
|
|
2812
|
+
/* Large tier: the same direction, quietly. The sidebar and app bar stay put,
|
|
2813
|
+
so only a short fade with a 16px shift says deeper or back: the new View
|
|
2814
|
+
fades in from the side it comes from, the old one fades out the other way.
|
|
2815
|
+
A leaving View without an exit of its own (see above) just goes; moving the
|
|
2816
|
+
root snapshot here would move the sidebar with it. */
|
|
2817
|
+
@media (min-width: 1024px) {
|
|
2818
|
+
:root[data-muka-nav]::view-transition {
|
|
2819
|
+
pointer-events: none;
|
|
2820
|
+
}
|
|
2821
|
+
|
|
2822
|
+
:root[data-muka-nav='push']::view-transition-new(.muka-view-enter),
|
|
2823
|
+
:root[data-muka-nav='pop']::view-transition-new(.muka-view-enter) {
|
|
2824
|
+
animation: muka-view-shift-in var(--motion-duration-micro) var(--motion-easing-enter) both;
|
|
2825
|
+
}
|
|
2826
|
+
|
|
2827
|
+
:root[data-muka-nav='push']::view-transition-old(.muka-view-exit),
|
|
2828
|
+
:root[data-muka-nav='pop']::view-transition-old(.muka-view-exit) {
|
|
2829
|
+
animation: muka-view-shift-out var(--motion-duration-exit) var(--motion-easing-exit) both;
|
|
2830
|
+
}
|
|
2831
|
+
|
|
2832
|
+
:root[data-muka-nav='push']::view-transition-new(.muka-view-enter),
|
|
2833
|
+
:root[data-muka-nav='pop']::view-transition-old(.muka-view-exit) {
|
|
2834
|
+
--muka-view-shift: var(--spacing-4);
|
|
2835
|
+
}
|
|
2836
|
+
|
|
2837
|
+
:root[data-muka-nav='pop']::view-transition-new(.muka-view-enter),
|
|
2838
|
+
:root[data-muka-nav='push']::view-transition-old(.muka-view-exit) {
|
|
2839
|
+
--muka-view-shift: calc(-1 * var(--spacing-4));
|
|
2840
|
+
}
|
|
2841
|
+
}
|
|
2842
|
+
|
|
2843
|
+
@keyframes muka-view-shift-in {
|
|
2844
|
+
from { opacity: 0; transform: translateX(var(--muka-view-shift)); }
|
|
2845
|
+
to { opacity: 1; transform: translateX(0); }
|
|
2846
|
+
}
|
|
2847
|
+
|
|
2848
|
+
@keyframes muka-view-shift-out {
|
|
2849
|
+
from { opacity: 1; transform: translateX(0); }
|
|
2850
|
+
to { opacity: 0; transform: translateX(var(--muka-view-shift)); }
|
|
2790
2851
|
}
|
|
2791
2852
|
|
|
2792
2853
|
@keyframes muka-view-from-right {
|
|
@@ -4142,6 +4203,191 @@ body {
|
|
|
4142
4203
|
}
|
|
4143
4204
|
|
|
4144
4205
|
|
|
4206
|
+
/* Thumbnail */
|
|
4207
|
+
/* Thumbnail Component Styles - Using Muka Design Tokens */
|
|
4208
|
+
|
|
4209
|
+
.muka-thumbnail {
|
|
4210
|
+
position: relative;
|
|
4211
|
+
flex-shrink: 0;
|
|
4212
|
+
}
|
|
4213
|
+
|
|
4214
|
+
/* The frame carries the border, background and shape clip. Keeping it separate
|
|
4215
|
+
from the root lets the remove (×) button sit outside the clip (needed for the
|
|
4216
|
+
circular/ellipse shape, whose corners would otherwise clip the button). */
|
|
4217
|
+
.muka-thumbnail__frame {
|
|
4218
|
+
position: absolute;
|
|
4219
|
+
inset: 0;
|
|
4220
|
+
overflow: hidden;
|
|
4221
|
+
border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
|
|
4222
|
+
border-radius: var(--border-radius-lg);
|
|
4223
|
+
background-color: var(--color-surface-level1);
|
|
4224
|
+
}
|
|
4225
|
+
|
|
4226
|
+
/* ─── Shapes ──────────────────────────────────────────── */
|
|
4227
|
+
.muka-thumbnail--4-3 {
|
|
4228
|
+
width: 160px;
|
|
4229
|
+
height: 120px;
|
|
4230
|
+
}
|
|
4231
|
+
|
|
4232
|
+
.muka-thumbnail--1-1 {
|
|
4233
|
+
width: 120px;
|
|
4234
|
+
height: 120px;
|
|
4235
|
+
}
|
|
4236
|
+
|
|
4237
|
+
.muka-thumbnail--ellipse {
|
|
4238
|
+
width: 120px;
|
|
4239
|
+
height: 120px;
|
|
4240
|
+
}
|
|
4241
|
+
|
|
4242
|
+
/* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
|
|
4243
|
+
.muka-thumbnail--fluid {
|
|
4244
|
+
width: 100%;
|
|
4245
|
+
height: auto;
|
|
4246
|
+
aspect-ratio: 1 / 1;
|
|
4247
|
+
}
|
|
4248
|
+
|
|
4249
|
+
.muka-thumbnail--fluid.muka-thumbnail--4-3 {
|
|
4250
|
+
aspect-ratio: 4 / 3;
|
|
4251
|
+
}
|
|
4252
|
+
|
|
4253
|
+
.muka-thumbnail--ellipse .muka-thumbnail__frame {
|
|
4254
|
+
border-radius: var(--border-radius-full);
|
|
4255
|
+
}
|
|
4256
|
+
|
|
4257
|
+
/* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
|
|
4258
|
+
interactive hover zoom has a clean origin. */
|
|
4259
|
+
.muka-thumbnail__image {
|
|
4260
|
+
position: absolute;
|
|
4261
|
+
inset: 0;
|
|
4262
|
+
width: 100%;
|
|
4263
|
+
height: 100%;
|
|
4264
|
+
object-fit: cover;
|
|
4265
|
+
display: block;
|
|
4266
|
+
transform-origin: center;
|
|
4267
|
+
/* Micro-interaction: hover zoom eases out over the "micro" duration. */
|
|
4268
|
+
transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4269
|
+
}
|
|
4270
|
+
|
|
4271
|
+
/* ─── Interactive (click-to-enlarge) ──────────────────── */
|
|
4272
|
+
.muka-thumbnail__trigger {
|
|
4273
|
+
position: absolute;
|
|
4274
|
+
inset: 0;
|
|
4275
|
+
padding: 0;
|
|
4276
|
+
border: 0;
|
|
4277
|
+
background: none;
|
|
4278
|
+
cursor: pointer;
|
|
4279
|
+
overflow: hidden;
|
|
4280
|
+
}
|
|
4281
|
+
|
|
4282
|
+
.muka-thumbnail__trigger:focus-visible {
|
|
4283
|
+
outline: 2px solid var(--color-border-focus);
|
|
4284
|
+
outline-offset: -2px;
|
|
4285
|
+
}
|
|
4286
|
+
|
|
4287
|
+
/* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
|
|
4288
|
+
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
4289
|
+
transform: scale(1.05);
|
|
4290
|
+
}
|
|
4291
|
+
|
|
4292
|
+
/* ─── Loading overlay + progress donut ────────────────── */
|
|
4293
|
+
.muka-thumbnail__overlay {
|
|
4294
|
+
position: absolute;
|
|
4295
|
+
inset: 0;
|
|
4296
|
+
display: flex;
|
|
4297
|
+
align-items: center;
|
|
4298
|
+
justify-content: center;
|
|
4299
|
+
background-color: var(--dialog-color-backdrop);
|
|
4300
|
+
}
|
|
4301
|
+
|
|
4302
|
+
.muka-thumbnail__progress {
|
|
4303
|
+
width: 40px;
|
|
4304
|
+
height: 40px;
|
|
4305
|
+
}
|
|
4306
|
+
|
|
4307
|
+
/* ─── Error / corrupt state ───────────────────────────── */
|
|
4308
|
+
.muka-thumbnail--error .muka-thumbnail__frame {
|
|
4309
|
+
background-color: var(--alias-color-state-error-muted);
|
|
4310
|
+
border-color: var(--alias-color-state-error-default);
|
|
4311
|
+
}
|
|
4312
|
+
|
|
4313
|
+
.muka-thumbnail__error {
|
|
4314
|
+
position: absolute;
|
|
4315
|
+
inset: 0;
|
|
4316
|
+
display: flex;
|
|
4317
|
+
flex-direction: column;
|
|
4318
|
+
align-items: center;
|
|
4319
|
+
justify-content: center;
|
|
4320
|
+
gap: var(--spacing-2);
|
|
4321
|
+
padding: var(--spacing-3);
|
|
4322
|
+
text-align: center;
|
|
4323
|
+
}
|
|
4324
|
+
|
|
4325
|
+
.muka-thumbnail__error-icon {
|
|
4326
|
+
color: var(--alert-color-error-accent);
|
|
4327
|
+
}
|
|
4328
|
+
|
|
4329
|
+
.muka-thumbnail__caption {
|
|
4330
|
+
max-width: 100%;
|
|
4331
|
+
overflow: hidden;
|
|
4332
|
+
text-overflow: ellipsis;
|
|
4333
|
+
white-space: nowrap;
|
|
4334
|
+
color: var(--alert-color-error-accent);
|
|
4335
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
4336
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
4337
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
4338
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
4339
|
+
}
|
|
4340
|
+
|
|
4341
|
+
/* ─── Remove (×) button ───────────────────────────────── */
|
|
4342
|
+
.muka-thumbnail__remove {
|
|
4343
|
+
position: absolute;
|
|
4344
|
+
top: var(--spacing-2);
|
|
4345
|
+
right: var(--spacing-2);
|
|
4346
|
+
display: flex;
|
|
4347
|
+
align-items: center;
|
|
4348
|
+
justify-content: center;
|
|
4349
|
+
width: var(--size-2xl);
|
|
4350
|
+
height: var(--size-2xl);
|
|
4351
|
+
padding: 0;
|
|
4352
|
+
color: var(--button-color-tertiary-foreground-default);
|
|
4353
|
+
background-color: var(--button-color-tertiary-background-default);
|
|
4354
|
+
border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
|
|
4355
|
+
border-radius: var(--border-radius-lg);
|
|
4356
|
+
cursor: pointer;
|
|
4357
|
+
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
4358
|
+
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4359
|
+
}
|
|
4360
|
+
|
|
4361
|
+
.muka-thumbnail__remove:hover {
|
|
4362
|
+
color: var(--button-color-tertiary-foreground-hover);
|
|
4363
|
+
background-color: var(--button-color-tertiary-background-hover);
|
|
4364
|
+
border-color: var(--button-color-tertiary-border-hover);
|
|
4365
|
+
}
|
|
4366
|
+
|
|
4367
|
+
.muka-thumbnail__remove:active {
|
|
4368
|
+
color: var(--button-color-tertiary-foreground-pressed);
|
|
4369
|
+
background-color: var(--button-color-tertiary-background-pressed);
|
|
4370
|
+
border-color: var(--button-color-tertiary-border-pressed);
|
|
4371
|
+
}
|
|
4372
|
+
|
|
4373
|
+
.muka-thumbnail__remove:focus-visible {
|
|
4374
|
+
outline: 2px solid var(--color-border-focus);
|
|
4375
|
+
outline-offset: 2px;
|
|
4376
|
+
}
|
|
4377
|
+
|
|
4378
|
+
/* ─── Reduced motion ──────────────────────────────────── */
|
|
4379
|
+
@media (prefers-reduced-motion: reduce) {
|
|
4380
|
+
.muka-thumbnail__image,
|
|
4381
|
+
.muka-thumbnail__remove {
|
|
4382
|
+
transition: none;
|
|
4383
|
+
}
|
|
4384
|
+
|
|
4385
|
+
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
4386
|
+
transform: none;
|
|
4387
|
+
}
|
|
4388
|
+
}
|
|
4389
|
+
|
|
4390
|
+
|
|
4145
4391
|
/* Textarea */
|
|
4146
4392
|
/* Textarea Component Styles - Using Muka Design Tokens */
|
|
4147
4393
|
|
|
@@ -4388,208 +4634,23 @@ body {
|
|
|
4388
4634
|
}
|
|
4389
4635
|
|
|
4390
4636
|
|
|
4391
|
-
/*
|
|
4392
|
-
/*
|
|
4637
|
+
/* Tabs */
|
|
4638
|
+
/* Tabs Component Styles - Clean underline style tabs matching Figma */
|
|
4393
4639
|
|
|
4394
|
-
.muka-
|
|
4395
|
-
|
|
4396
|
-
flex-
|
|
4640
|
+
.muka-tabs {
|
|
4641
|
+
display: flex;
|
|
4642
|
+
flex-direction: column;
|
|
4397
4643
|
}
|
|
4398
4644
|
|
|
4399
|
-
/*
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
.muka-thumbnail__frame {
|
|
4403
|
-
position: absolute;
|
|
4404
|
-
inset: 0;
|
|
4405
|
-
overflow: hidden;
|
|
4406
|
-
border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
|
|
4407
|
-
border-radius: var(--border-radius-lg);
|
|
4408
|
-
background-color: var(--color-surface-level1);
|
|
4645
|
+
/* Alignment Variants */
|
|
4646
|
+
.muka-tabs--align-left .muka-tabs__list {
|
|
4647
|
+
justify-content: flex-start;
|
|
4409
4648
|
}
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
.muka-thumbnail--4-3 {
|
|
4413
|
-
width: 160px;
|
|
4414
|
-
height: 120px;
|
|
4649
|
+
.muka-tabs--align-center .muka-tabs__list {
|
|
4650
|
+
justify-content: center;
|
|
4415
4651
|
}
|
|
4416
|
-
|
|
4417
|
-
|
|
4418
|
-
width: 120px;
|
|
4419
|
-
height: 120px;
|
|
4420
|
-
}
|
|
4421
|
-
|
|
4422
|
-
.muka-thumbnail--ellipse {
|
|
4423
|
-
width: 120px;
|
|
4424
|
-
height: 120px;
|
|
4425
|
-
}
|
|
4426
|
-
|
|
4427
|
-
/* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
|
|
4428
|
-
.muka-thumbnail--fluid {
|
|
4429
|
-
width: 100%;
|
|
4430
|
-
height: auto;
|
|
4431
|
-
aspect-ratio: 1 / 1;
|
|
4432
|
-
}
|
|
4433
|
-
|
|
4434
|
-
.muka-thumbnail--fluid.muka-thumbnail--4-3 {
|
|
4435
|
-
aspect-ratio: 4 / 3;
|
|
4436
|
-
}
|
|
4437
|
-
|
|
4438
|
-
.muka-thumbnail--ellipse .muka-thumbnail__frame {
|
|
4439
|
-
border-radius: var(--border-radius-full);
|
|
4440
|
-
}
|
|
4441
|
-
|
|
4442
|
-
/* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
|
|
4443
|
-
interactive hover zoom has a clean origin. */
|
|
4444
|
-
.muka-thumbnail__image {
|
|
4445
|
-
position: absolute;
|
|
4446
|
-
inset: 0;
|
|
4447
|
-
width: 100%;
|
|
4448
|
-
height: 100%;
|
|
4449
|
-
object-fit: cover;
|
|
4450
|
-
display: block;
|
|
4451
|
-
transform-origin: center;
|
|
4452
|
-
/* Micro-interaction: hover zoom eases out over the "micro" duration. */
|
|
4453
|
-
transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4454
|
-
}
|
|
4455
|
-
|
|
4456
|
-
/* ─── Interactive (click-to-enlarge) ──────────────────── */
|
|
4457
|
-
.muka-thumbnail__trigger {
|
|
4458
|
-
position: absolute;
|
|
4459
|
-
inset: 0;
|
|
4460
|
-
padding: 0;
|
|
4461
|
-
border: 0;
|
|
4462
|
-
background: none;
|
|
4463
|
-
cursor: pointer;
|
|
4464
|
-
overflow: hidden;
|
|
4465
|
-
}
|
|
4466
|
-
|
|
4467
|
-
.muka-thumbnail__trigger:focus-visible {
|
|
4468
|
-
outline: 2px solid var(--color-border-focus);
|
|
4469
|
-
outline-offset: -2px;
|
|
4470
|
-
}
|
|
4471
|
-
|
|
4472
|
-
/* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
|
|
4473
|
-
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
4474
|
-
transform: scale(1.05);
|
|
4475
|
-
}
|
|
4476
|
-
|
|
4477
|
-
/* ─── Loading overlay + progress donut ────────────────── */
|
|
4478
|
-
.muka-thumbnail__overlay {
|
|
4479
|
-
position: absolute;
|
|
4480
|
-
inset: 0;
|
|
4481
|
-
display: flex;
|
|
4482
|
-
align-items: center;
|
|
4483
|
-
justify-content: center;
|
|
4484
|
-
background-color: var(--dialog-color-backdrop);
|
|
4485
|
-
}
|
|
4486
|
-
|
|
4487
|
-
.muka-thumbnail__progress {
|
|
4488
|
-
width: 40px;
|
|
4489
|
-
height: 40px;
|
|
4490
|
-
}
|
|
4491
|
-
|
|
4492
|
-
/* ─── Error / corrupt state ───────────────────────────── */
|
|
4493
|
-
.muka-thumbnail--error .muka-thumbnail__frame {
|
|
4494
|
-
background-color: var(--alias-color-state-error-muted);
|
|
4495
|
-
border-color: var(--alias-color-state-error-default);
|
|
4496
|
-
}
|
|
4497
|
-
|
|
4498
|
-
.muka-thumbnail__error {
|
|
4499
|
-
position: absolute;
|
|
4500
|
-
inset: 0;
|
|
4501
|
-
display: flex;
|
|
4502
|
-
flex-direction: column;
|
|
4503
|
-
align-items: center;
|
|
4504
|
-
justify-content: center;
|
|
4505
|
-
gap: var(--spacing-2);
|
|
4506
|
-
padding: var(--spacing-3);
|
|
4507
|
-
text-align: center;
|
|
4508
|
-
}
|
|
4509
|
-
|
|
4510
|
-
.muka-thumbnail__error-icon {
|
|
4511
|
-
color: var(--alert-color-error-accent);
|
|
4512
|
-
}
|
|
4513
|
-
|
|
4514
|
-
.muka-thumbnail__caption {
|
|
4515
|
-
max-width: 100%;
|
|
4516
|
-
overflow: hidden;
|
|
4517
|
-
text-overflow: ellipsis;
|
|
4518
|
-
white-space: nowrap;
|
|
4519
|
-
color: var(--alert-color-error-accent);
|
|
4520
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
4521
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
4522
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
4523
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
4524
|
-
}
|
|
4525
|
-
|
|
4526
|
-
/* ─── Remove (×) button ───────────────────────────────── */
|
|
4527
|
-
.muka-thumbnail__remove {
|
|
4528
|
-
position: absolute;
|
|
4529
|
-
top: var(--spacing-2);
|
|
4530
|
-
right: var(--spacing-2);
|
|
4531
|
-
display: flex;
|
|
4532
|
-
align-items: center;
|
|
4533
|
-
justify-content: center;
|
|
4534
|
-
width: var(--size-2xl);
|
|
4535
|
-
height: var(--size-2xl);
|
|
4536
|
-
padding: 0;
|
|
4537
|
-
color: var(--button-color-tertiary-foreground-default);
|
|
4538
|
-
background-color: var(--button-color-tertiary-background-default);
|
|
4539
|
-
border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
|
|
4540
|
-
border-radius: var(--border-radius-lg);
|
|
4541
|
-
cursor: pointer;
|
|
4542
|
-
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
4543
|
-
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4544
|
-
}
|
|
4545
|
-
|
|
4546
|
-
.muka-thumbnail__remove:hover {
|
|
4547
|
-
color: var(--button-color-tertiary-foreground-hover);
|
|
4548
|
-
background-color: var(--button-color-tertiary-background-hover);
|
|
4549
|
-
border-color: var(--button-color-tertiary-border-hover);
|
|
4550
|
-
}
|
|
4551
|
-
|
|
4552
|
-
.muka-thumbnail__remove:active {
|
|
4553
|
-
color: var(--button-color-tertiary-foreground-pressed);
|
|
4554
|
-
background-color: var(--button-color-tertiary-background-pressed);
|
|
4555
|
-
border-color: var(--button-color-tertiary-border-pressed);
|
|
4556
|
-
}
|
|
4557
|
-
|
|
4558
|
-
.muka-thumbnail__remove:focus-visible {
|
|
4559
|
-
outline: 2px solid var(--color-border-focus);
|
|
4560
|
-
outline-offset: 2px;
|
|
4561
|
-
}
|
|
4562
|
-
|
|
4563
|
-
/* ─── Reduced motion ──────────────────────────────────── */
|
|
4564
|
-
@media (prefers-reduced-motion: reduce) {
|
|
4565
|
-
.muka-thumbnail__image,
|
|
4566
|
-
.muka-thumbnail__remove {
|
|
4567
|
-
transition: none;
|
|
4568
|
-
}
|
|
4569
|
-
|
|
4570
|
-
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
4571
|
-
transform: none;
|
|
4572
|
-
}
|
|
4573
|
-
}
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
/* Tabs */
|
|
4577
|
-
/* Tabs Component Styles - Clean underline style tabs matching Figma */
|
|
4578
|
-
|
|
4579
|
-
.muka-tabs {
|
|
4580
|
-
display: flex;
|
|
4581
|
-
flex-direction: column;
|
|
4582
|
-
}
|
|
4583
|
-
|
|
4584
|
-
/* Alignment Variants */
|
|
4585
|
-
.muka-tabs--align-left .muka-tabs__list {
|
|
4586
|
-
justify-content: flex-start;
|
|
4587
|
-
}
|
|
4588
|
-
.muka-tabs--align-center .muka-tabs__list {
|
|
4589
|
-
justify-content: center;
|
|
4590
|
-
}
|
|
4591
|
-
.muka-tabs--align-fill .muka-tabs__list {
|
|
4592
|
-
justify-content: space-between;
|
|
4652
|
+
.muka-tabs--align-fill .muka-tabs__list {
|
|
4653
|
+
justify-content: space-between;
|
|
4593
4654
|
}
|
|
4594
4655
|
.muka-tabs--align-fill .muka-tabs__trigger {
|
|
4595
4656
|
flex: 1;
|
|
@@ -5438,55 +5499,205 @@ body {
|
|
|
5438
5499
|
}
|
|
5439
5500
|
|
|
5440
5501
|
|
|
5441
|
-
/*
|
|
5442
|
-
/*
|
|
5502
|
+
/* SocialSignInButton */
|
|
5503
|
+
/*
|
|
5504
|
+
* SocialSignInButton lockup colors are provider-mandated (Apple HIG /
|
|
5505
|
+
* Google Identity branding) and intentionally fixed across Muka brands —
|
|
5506
|
+
* same exception pattern as LicensePlateInput regulatory colors.
|
|
5507
|
+
*
|
|
5508
|
+
* Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
|
|
5509
|
+
* Google: https://developers.google.com/identity/branding-guidelines
|
|
5510
|
+
*/
|
|
5511
|
+
.muka-social-sign-in-button {
|
|
5512
|
+
--ssi-white: #ffffff;
|
|
5513
|
+
--ssi-black: #000000;
|
|
5514
|
+
--ssi-google-text-light: #1f1f1f;
|
|
5443
5515
|
|
|
5444
|
-
/* Wrapper */
|
|
5445
|
-
.muka-sms-otp-field {
|
|
5446
5516
|
display: inline-flex;
|
|
5447
|
-
|
|
5448
|
-
|
|
5449
|
-
}
|
|
5517
|
+
align-items: center;
|
|
5518
|
+
justify-content: center;
|
|
5450
5519
|
|
|
5451
|
-
/*
|
|
5452
|
-
|
|
5453
|
-
|
|
5520
|
+
/* Provider lockup type — matches Figma / HIG, not brand font tokens.
|
|
5521
|
+
* SF Pro Text is OS-provided on Apple platforms (not redistributable).
|
|
5522
|
+
* Google Sans is not freely shippable; Roboto is the closest system fallback. */
|
|
5523
|
+
font-family: inherit;
|
|
5524
|
+
font-weight: 600;
|
|
5525
|
+
text-decoration: none;
|
|
5526
|
+
white-space: nowrap;
|
|
5527
|
+
|
|
5528
|
+
border: 1px solid transparent;
|
|
5454
5529
|
cursor: pointer;
|
|
5530
|
+
user-select: none;
|
|
5531
|
+
transition: opacity 0.15s ease, filter 0.15s ease;
|
|
5532
|
+
|
|
5533
|
+
outline: none;
|
|
5534
|
+
position: relative;
|
|
5535
|
+
box-sizing: border-box;
|
|
5455
5536
|
}
|
|
5456
5537
|
|
|
5457
|
-
.muka-
|
|
5458
|
-
font-family:
|
|
5459
|
-
|
|
5460
|
-
font-
|
|
5461
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5538
|
+
.muka-social-sign-in-button--apple {
|
|
5539
|
+
font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
|
5540
|
+
Helvetica, Arial, sans-serif;
|
|
5541
|
+
font-weight: 600;
|
|
5462
5542
|
}
|
|
5463
5543
|
|
|
5464
|
-
.muka-
|
|
5465
|
-
font-family:
|
|
5466
|
-
font-weight:
|
|
5467
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
5468
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
5544
|
+
.muka-social-sign-in-button--google {
|
|
5545
|
+
font-family: 'Google Sans', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
5546
|
+
font-weight: 500;
|
|
5469
5547
|
}
|
|
5470
5548
|
|
|
5471
|
-
.muka-
|
|
5472
|
-
|
|
5473
|
-
|
|
5474
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
5475
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
5549
|
+
.muka-social-sign-in-button:focus-visible {
|
|
5550
|
+
outline: 2px solid var(--color-border-focus);
|
|
5551
|
+
outline-offset: 2px;
|
|
5476
5552
|
}
|
|
5477
5553
|
|
|
5478
|
-
|
|
5479
|
-
|
|
5554
|
+
/* Sizes — heights align with Button md/lg */
|
|
5555
|
+
.muka-social-sign-in-button--md {
|
|
5556
|
+
padding: 0 var(--button-padding-md-x);
|
|
5557
|
+
border-radius: var(--button-radius-md);
|
|
5558
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
5559
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5560
|
+
min-height: 40px;
|
|
5561
|
+
min-width: 240px;
|
|
5480
5562
|
}
|
|
5481
5563
|
|
|
5482
|
-
|
|
5483
|
-
|
|
5484
|
-
|
|
5485
|
-
|
|
5486
|
-
|
|
5487
|
-
|
|
5488
|
-
|
|
5489
|
-
|
|
5564
|
+
.muka-social-sign-in-button--md .muka-social-sign-in-button__label {
|
|
5565
|
+
padding: 0 var(--button-gap-md);
|
|
5566
|
+
}
|
|
5567
|
+
|
|
5568
|
+
.muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
|
|
5569
|
+
width: var(--button-icon-md);
|
|
5570
|
+
height: var(--button-icon-md);
|
|
5571
|
+
}
|
|
5572
|
+
|
|
5573
|
+
.muka-social-sign-in-button--lg {
|
|
5574
|
+
padding: 0 var(--button-padding-lg-x);
|
|
5575
|
+
border-radius: var(--button-radius-lg);
|
|
5576
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
5577
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
5578
|
+
min-height: 48px;
|
|
5579
|
+
min-width: 280px;
|
|
5580
|
+
}
|
|
5581
|
+
|
|
5582
|
+
.muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
|
|
5583
|
+
padding: 0 var(--button-gap-lg);
|
|
5584
|
+
}
|
|
5585
|
+
|
|
5586
|
+
.muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
|
|
5587
|
+
width: var(--button-icon-lg);
|
|
5588
|
+
height: var(--button-icon-lg);
|
|
5589
|
+
}
|
|
5590
|
+
|
|
5591
|
+
/* White lockup — for dark surfaces (Apple White with Outline) */
|
|
5592
|
+
.muka-social-sign-in-button--white {
|
|
5593
|
+
background-color: var(--ssi-white);
|
|
5594
|
+
color: var(--ssi-black);
|
|
5595
|
+
border-color: var(--ssi-black);
|
|
5596
|
+
}
|
|
5597
|
+
|
|
5598
|
+
.muka-social-sign-in-button--white.muka-social-sign-in-button--google {
|
|
5599
|
+
color: var(--ssi-google-text-light);
|
|
5600
|
+
}
|
|
5601
|
+
|
|
5602
|
+
/* Black lockup — for light surfaces */
|
|
5603
|
+
.muka-social-sign-in-button--black {
|
|
5604
|
+
background-color: var(--ssi-black);
|
|
5605
|
+
color: var(--ssi-white);
|
|
5606
|
+
border-color: transparent;
|
|
5607
|
+
}
|
|
5608
|
+
|
|
5609
|
+
/* Interaction — luminance/opacity only; no brand tint */
|
|
5610
|
+
.muka-social-sign-in-button:hover:not(:disabled) {
|
|
5611
|
+
filter: brightness(0.92);
|
|
5612
|
+
}
|
|
5613
|
+
|
|
5614
|
+
.muka-social-sign-in-button:active:not(:disabled) {
|
|
5615
|
+
filter: brightness(0.85);
|
|
5616
|
+
}
|
|
5617
|
+
|
|
5618
|
+
.muka-social-sign-in-button:disabled,
|
|
5619
|
+
.muka-social-sign-in-button--disabled {
|
|
5620
|
+
cursor: not-allowed;
|
|
5621
|
+
opacity: 0.4;
|
|
5622
|
+
pointer-events: none;
|
|
5623
|
+
filter: none;
|
|
5624
|
+
}
|
|
5625
|
+
|
|
5626
|
+
.muka-social-sign-in-button--full-width {
|
|
5627
|
+
width: 100%;
|
|
5628
|
+
min-width: 0;
|
|
5629
|
+
}
|
|
5630
|
+
|
|
5631
|
+
.muka-social-sign-in-button__icon {
|
|
5632
|
+
display: inline-flex;
|
|
5633
|
+
align-items: center;
|
|
5634
|
+
justify-content: center;
|
|
5635
|
+
flex-shrink: 0;
|
|
5636
|
+
}
|
|
5637
|
+
|
|
5638
|
+
.muka-social-sign-in-button__icon > *,
|
|
5639
|
+
.muka-social-sign-in-button__icon svg {
|
|
5640
|
+
width: auto;
|
|
5641
|
+
height: 100%;
|
|
5642
|
+
max-width: 100%;
|
|
5643
|
+
display: block;
|
|
5644
|
+
}
|
|
5645
|
+
|
|
5646
|
+
.muka-social-sign-in-button__label {
|
|
5647
|
+
display: inline-flex;
|
|
5648
|
+
align-items: center;
|
|
5649
|
+
}
|
|
5650
|
+
|
|
5651
|
+
|
|
5652
|
+
/* SmsOtpField */
|
|
5653
|
+
/* SmsOtpField Component Styles - Using Muka Design Tokens */
|
|
5654
|
+
|
|
5655
|
+
/* Wrapper */
|
|
5656
|
+
.muka-sms-otp-field {
|
|
5657
|
+
display: inline-flex;
|
|
5658
|
+
flex-direction: column;
|
|
5659
|
+
gap: var(--spacing-2);
|
|
5660
|
+
}
|
|
5661
|
+
|
|
5662
|
+
/* Label */
|
|
5663
|
+
.muka-sms-otp-field__label {
|
|
5664
|
+
color: var(--color-text-default-default);
|
|
5665
|
+
cursor: pointer;
|
|
5666
|
+
}
|
|
5667
|
+
|
|
5668
|
+
.muka-sms-otp-field__label--sm {
|
|
5669
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
5670
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
5671
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
5672
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5673
|
+
}
|
|
5674
|
+
|
|
5675
|
+
.muka-sms-otp-field__label--md {
|
|
5676
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
5677
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
5678
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
5679
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
5680
|
+
}
|
|
5681
|
+
|
|
5682
|
+
.muka-sms-otp-field__label--lg {
|
|
5683
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
5684
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
5685
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
5686
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
5687
|
+
}
|
|
5688
|
+
|
|
5689
|
+
.muka-sms-otp-field__required {
|
|
5690
|
+
color: var(--color-state-error-default);
|
|
5691
|
+
}
|
|
5692
|
+
|
|
5693
|
+
/* Hidden input for browser autofill */
|
|
5694
|
+
.muka-sms-otp-field__hidden-input {
|
|
5695
|
+
position: absolute;
|
|
5696
|
+
width: 1px;
|
|
5697
|
+
height: 1px;
|
|
5698
|
+
padding: 0;
|
|
5699
|
+
margin: -1px;
|
|
5700
|
+
overflow: hidden;
|
|
5490
5701
|
clip: rect(0, 0, 0, 0);
|
|
5491
5702
|
white-space: nowrap;
|
|
5492
5703
|
border: 0;
|
|
@@ -5630,228 +5841,78 @@ body {
|
|
|
5630
5841
|
}
|
|
5631
5842
|
|
|
5632
5843
|
|
|
5633
|
-
/*
|
|
5634
|
-
/*
|
|
5635
|
-
* SocialSignInButton lockup colors are provider-mandated (Apple HIG /
|
|
5636
|
-
* Google Identity branding) and intentionally fixed across Muka brands —
|
|
5637
|
-
* same exception pattern as LicensePlateInput regulatory colors.
|
|
5638
|
-
*
|
|
5639
|
-
* Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
|
|
5640
|
-
* Google: https://developers.google.com/identity/branding-guidelines
|
|
5641
|
-
*/
|
|
5642
|
-
.muka-social-sign-in-button {
|
|
5643
|
-
--ssi-white: #ffffff;
|
|
5644
|
-
--ssi-black: #000000;
|
|
5645
|
-
--ssi-google-text-light: #1f1f1f;
|
|
5646
|
-
|
|
5647
|
-
display: inline-flex;
|
|
5648
|
-
align-items: center;
|
|
5649
|
-
justify-content: center;
|
|
5650
|
-
|
|
5651
|
-
/* Provider lockup type — matches Figma / HIG, not brand font tokens.
|
|
5652
|
-
* SF Pro Text is OS-provided on Apple platforms (not redistributable).
|
|
5653
|
-
* Google Sans is not freely shippable; Roboto is the closest system fallback. */
|
|
5654
|
-
font-family: inherit;
|
|
5655
|
-
font-weight: 600;
|
|
5656
|
-
text-decoration: none;
|
|
5657
|
-
white-space: nowrap;
|
|
5844
|
+
/* Skeleton */
|
|
5845
|
+
/* Skeleton Component Styles */
|
|
5658
5846
|
|
|
5659
|
-
|
|
5660
|
-
|
|
5661
|
-
|
|
5662
|
-
|
|
5847
|
+
.muka-skeleton {
|
|
5848
|
+
background-color: var(--color-surface-level1);
|
|
5849
|
+
display: block;
|
|
5850
|
+
}
|
|
5663
5851
|
|
|
5664
|
-
|
|
5665
|
-
|
|
5666
|
-
|
|
5852
|
+
/* Variants */
|
|
5853
|
+
.muka-skeleton--text {
|
|
5854
|
+
height: 1em;
|
|
5855
|
+
border-radius: var(--radius-md);
|
|
5856
|
+
width: 100%;
|
|
5667
5857
|
}
|
|
5668
5858
|
|
|
5669
|
-
.muka-
|
|
5670
|
-
|
|
5671
|
-
|
|
5672
|
-
|
|
5859
|
+
.muka-skeleton--circular {
|
|
5860
|
+
width: 2.5rem;
|
|
5861
|
+
height: 2.5rem;
|
|
5862
|
+
border-radius: var(--radius-full);
|
|
5673
5863
|
}
|
|
5674
5864
|
|
|
5675
|
-
.muka-
|
|
5676
|
-
|
|
5677
|
-
|
|
5865
|
+
.muka-skeleton--rectangular {
|
|
5866
|
+
height: 7.5rem;
|
|
5867
|
+
border-radius: var(--radius-md);
|
|
5868
|
+
width: 100%;
|
|
5678
5869
|
}
|
|
5679
5870
|
|
|
5680
|
-
|
|
5681
|
-
|
|
5682
|
-
|
|
5871
|
+
/* Last line in multi-line text is shorter */
|
|
5872
|
+
.muka-skeleton--last-line {
|
|
5873
|
+
width: 80%;
|
|
5683
5874
|
}
|
|
5684
5875
|
|
|
5685
|
-
/*
|
|
5686
|
-
.muka-
|
|
5687
|
-
|
|
5688
|
-
|
|
5689
|
-
|
|
5690
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5691
|
-
min-height: 40px;
|
|
5692
|
-
min-width: 240px;
|
|
5876
|
+
/* Lines container */
|
|
5877
|
+
.muka-skeleton__lines {
|
|
5878
|
+
display: flex;
|
|
5879
|
+
flex-direction: column;
|
|
5880
|
+
gap: var(--spacing-2);
|
|
5693
5881
|
}
|
|
5694
5882
|
|
|
5695
|
-
|
|
5696
|
-
|
|
5883
|
+
/* Shimmer animation */
|
|
5884
|
+
@keyframes muka-skeleton-shimmer {
|
|
5885
|
+
0% {
|
|
5886
|
+
background-position: -200% 0;
|
|
5887
|
+
}
|
|
5888
|
+
100% {
|
|
5889
|
+
background-position: 200% 0;
|
|
5890
|
+
}
|
|
5697
5891
|
}
|
|
5698
5892
|
|
|
5699
|
-
.muka-
|
|
5700
|
-
|
|
5701
|
-
|
|
5893
|
+
.muka-skeleton--shimmer {
|
|
5894
|
+
background: linear-gradient(
|
|
5895
|
+
90deg,
|
|
5896
|
+
var(--color-surface-level1) 25%,
|
|
5897
|
+
var(--color-surface-level2) 50%,
|
|
5898
|
+
var(--color-surface-level1) 75%
|
|
5899
|
+
);
|
|
5900
|
+
background-size: 200% 100%;
|
|
5901
|
+
animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
|
|
5702
5902
|
}
|
|
5703
5903
|
|
|
5704
|
-
|
|
5705
|
-
|
|
5706
|
-
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
|
|
5710
|
-
|
|
5904
|
+
/* Pulse animation */
|
|
5905
|
+
@keyframes muka-skeleton-pulse {
|
|
5906
|
+
0%, 100% {
|
|
5907
|
+
opacity: 1;
|
|
5908
|
+
}
|
|
5909
|
+
50% {
|
|
5910
|
+
opacity: 0.4;
|
|
5911
|
+
}
|
|
5711
5912
|
}
|
|
5712
5913
|
|
|
5713
|
-
.muka-
|
|
5714
|
-
|
|
5715
|
-
}
|
|
5716
|
-
|
|
5717
|
-
.muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
|
|
5718
|
-
width: var(--button-icon-lg);
|
|
5719
|
-
height: var(--button-icon-lg);
|
|
5720
|
-
}
|
|
5721
|
-
|
|
5722
|
-
/* White lockup — for dark surfaces (Apple White with Outline) */
|
|
5723
|
-
.muka-social-sign-in-button--white {
|
|
5724
|
-
background-color: var(--ssi-white);
|
|
5725
|
-
color: var(--ssi-black);
|
|
5726
|
-
border-color: var(--ssi-black);
|
|
5727
|
-
}
|
|
5728
|
-
|
|
5729
|
-
.muka-social-sign-in-button--white.muka-social-sign-in-button--google {
|
|
5730
|
-
color: var(--ssi-google-text-light);
|
|
5731
|
-
}
|
|
5732
|
-
|
|
5733
|
-
/* Black lockup — for light surfaces */
|
|
5734
|
-
.muka-social-sign-in-button--black {
|
|
5735
|
-
background-color: var(--ssi-black);
|
|
5736
|
-
color: var(--ssi-white);
|
|
5737
|
-
border-color: transparent;
|
|
5738
|
-
}
|
|
5739
|
-
|
|
5740
|
-
/* Interaction — luminance/opacity only; no brand tint */
|
|
5741
|
-
.muka-social-sign-in-button:hover:not(:disabled) {
|
|
5742
|
-
filter: brightness(0.92);
|
|
5743
|
-
}
|
|
5744
|
-
|
|
5745
|
-
.muka-social-sign-in-button:active:not(:disabled) {
|
|
5746
|
-
filter: brightness(0.85);
|
|
5747
|
-
}
|
|
5748
|
-
|
|
5749
|
-
.muka-social-sign-in-button:disabled,
|
|
5750
|
-
.muka-social-sign-in-button--disabled {
|
|
5751
|
-
cursor: not-allowed;
|
|
5752
|
-
opacity: 0.4;
|
|
5753
|
-
pointer-events: none;
|
|
5754
|
-
filter: none;
|
|
5755
|
-
}
|
|
5756
|
-
|
|
5757
|
-
.muka-social-sign-in-button--full-width {
|
|
5758
|
-
width: 100%;
|
|
5759
|
-
min-width: 0;
|
|
5760
|
-
}
|
|
5761
|
-
|
|
5762
|
-
.muka-social-sign-in-button__icon {
|
|
5763
|
-
display: inline-flex;
|
|
5764
|
-
align-items: center;
|
|
5765
|
-
justify-content: center;
|
|
5766
|
-
flex-shrink: 0;
|
|
5767
|
-
}
|
|
5768
|
-
|
|
5769
|
-
.muka-social-sign-in-button__icon > *,
|
|
5770
|
-
.muka-social-sign-in-button__icon svg {
|
|
5771
|
-
width: auto;
|
|
5772
|
-
height: 100%;
|
|
5773
|
-
max-width: 100%;
|
|
5774
|
-
display: block;
|
|
5775
|
-
}
|
|
5776
|
-
|
|
5777
|
-
.muka-social-sign-in-button__label {
|
|
5778
|
-
display: inline-flex;
|
|
5779
|
-
align-items: center;
|
|
5780
|
-
}
|
|
5781
|
-
|
|
5782
|
-
|
|
5783
|
-
/* Skeleton */
|
|
5784
|
-
/* Skeleton Component Styles */
|
|
5785
|
-
|
|
5786
|
-
.muka-skeleton {
|
|
5787
|
-
background-color: var(--color-surface-level1);
|
|
5788
|
-
display: block;
|
|
5789
|
-
}
|
|
5790
|
-
|
|
5791
|
-
/* Variants */
|
|
5792
|
-
.muka-skeleton--text {
|
|
5793
|
-
height: 1em;
|
|
5794
|
-
border-radius: var(--radius-md);
|
|
5795
|
-
width: 100%;
|
|
5796
|
-
}
|
|
5797
|
-
|
|
5798
|
-
.muka-skeleton--circular {
|
|
5799
|
-
width: 2.5rem;
|
|
5800
|
-
height: 2.5rem;
|
|
5801
|
-
border-radius: var(--radius-full);
|
|
5802
|
-
}
|
|
5803
|
-
|
|
5804
|
-
.muka-skeleton--rectangular {
|
|
5805
|
-
height: 7.5rem;
|
|
5806
|
-
border-radius: var(--radius-md);
|
|
5807
|
-
width: 100%;
|
|
5808
|
-
}
|
|
5809
|
-
|
|
5810
|
-
/* Last line in multi-line text is shorter */
|
|
5811
|
-
.muka-skeleton--last-line {
|
|
5812
|
-
width: 80%;
|
|
5813
|
-
}
|
|
5814
|
-
|
|
5815
|
-
/* Lines container */
|
|
5816
|
-
.muka-skeleton__lines {
|
|
5817
|
-
display: flex;
|
|
5818
|
-
flex-direction: column;
|
|
5819
|
-
gap: var(--spacing-2);
|
|
5820
|
-
}
|
|
5821
|
-
|
|
5822
|
-
/* Shimmer animation */
|
|
5823
|
-
@keyframes muka-skeleton-shimmer {
|
|
5824
|
-
0% {
|
|
5825
|
-
background-position: -200% 0;
|
|
5826
|
-
}
|
|
5827
|
-
100% {
|
|
5828
|
-
background-position: 200% 0;
|
|
5829
|
-
}
|
|
5830
|
-
}
|
|
5831
|
-
|
|
5832
|
-
.muka-skeleton--shimmer {
|
|
5833
|
-
background: linear-gradient(
|
|
5834
|
-
90deg,
|
|
5835
|
-
var(--color-surface-level1) 25%,
|
|
5836
|
-
var(--color-surface-level2) 50%,
|
|
5837
|
-
var(--color-surface-level1) 75%
|
|
5838
|
-
);
|
|
5839
|
-
background-size: 200% 100%;
|
|
5840
|
-
animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
|
|
5841
|
-
}
|
|
5842
|
-
|
|
5843
|
-
/* Pulse animation */
|
|
5844
|
-
@keyframes muka-skeleton-pulse {
|
|
5845
|
-
0%, 100% {
|
|
5846
|
-
opacity: 1;
|
|
5847
|
-
}
|
|
5848
|
-
50% {
|
|
5849
|
-
opacity: 0.4;
|
|
5850
|
-
}
|
|
5851
|
-
}
|
|
5852
|
-
|
|
5853
|
-
.muka-skeleton--pulse {
|
|
5854
|
-
animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
|
|
5914
|
+
.muka-skeleton--pulse {
|
|
5915
|
+
animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
|
|
5855
5916
|
}
|
|
5856
5917
|
|
|
5857
5918
|
|
|
@@ -6000,88 +6061,6 @@ body {
|
|
|
6000
6061
|
}
|
|
6001
6062
|
|
|
6002
6063
|
|
|
6003
|
-
/* Sheet */
|
|
6004
|
-
/* Sheet Component Styles */
|
|
6005
|
-
|
|
6006
|
-
/* ─── Backdrop ────────────────────────────────────────── */
|
|
6007
|
-
|
|
6008
|
-
.muka-sheet__overlay {
|
|
6009
|
-
position: fixed;
|
|
6010
|
-
inset: 0;
|
|
6011
|
-
background-color: var(--color-surface-backdrop);
|
|
6012
|
-
-webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
6013
|
-
backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
6014
|
-
z-index: 50;
|
|
6015
|
-
}
|
|
6016
|
-
|
|
6017
|
-
/* ─── Surface ─────────────────────────────────────────── */
|
|
6018
|
-
|
|
6019
|
-
.muka-sheet {
|
|
6020
|
-
position: fixed;
|
|
6021
|
-
left: 0;
|
|
6022
|
-
right: 0;
|
|
6023
|
-
bottom: 0;
|
|
6024
|
-
z-index: 51;
|
|
6025
|
-
|
|
6026
|
-
display: flex;
|
|
6027
|
-
flex-direction: column;
|
|
6028
|
-
|
|
6029
|
-
max-height: 96dvh;
|
|
6030
|
-
|
|
6031
|
-
background-color: var(--color-surface-level3);
|
|
6032
|
-
border-top-left-radius: var(--radius-lg);
|
|
6033
|
-
border-top-right-radius: var(--radius-lg);
|
|
6034
|
-
box-shadow: var(--shadow-level5);
|
|
6035
|
-
|
|
6036
|
-
outline: none;
|
|
6037
|
-
}
|
|
6038
|
-
|
|
6039
|
-
/* Safe-area bottom inset for the iPhone home indicator. */
|
|
6040
|
-
.muka-sheet:not(.muka-sheet--no-safe-area) {
|
|
6041
|
-
padding-bottom: env(safe-area-inset-bottom);
|
|
6042
|
-
}
|
|
6043
|
-
|
|
6044
|
-
/* ─── Drag handle ─────────────────────────────────────── */
|
|
6045
|
-
|
|
6046
|
-
.muka-sheet__handle-container {
|
|
6047
|
-
display: flex;
|
|
6048
|
-
justify-content: center;
|
|
6049
|
-
flex-shrink: 0;
|
|
6050
|
-
padding: var(--spacing-3) 0;
|
|
6051
|
-
}
|
|
6052
|
-
|
|
6053
|
-
.muka-sheet__handle {
|
|
6054
|
-
width: var(--dialog-drag-handle-width);
|
|
6055
|
-
height: var(--dialog-drag-handle-height);
|
|
6056
|
-
background-color: var(--dialog-drag-handle-color);
|
|
6057
|
-
border-radius: var(--dialog-drag-handle-radius);
|
|
6058
|
-
}
|
|
6059
|
-
|
|
6060
|
-
/* ─── Body (scrollable) ───────────────────────────────── */
|
|
6061
|
-
|
|
6062
|
-
.muka-sheet__body {
|
|
6063
|
-
flex: 1 1 0%;
|
|
6064
|
-
min-height: 0;
|
|
6065
|
-
overflow-y: auto;
|
|
6066
|
-
-webkit-overflow-scrolling: touch;
|
|
6067
|
-
overscroll-behavior: contain;
|
|
6068
|
-
}
|
|
6069
|
-
|
|
6070
|
-
/* ─── Visually-hidden title (a11y) ────────────────────── */
|
|
6071
|
-
|
|
6072
|
-
.muka-sheet__sr-title {
|
|
6073
|
-
position: absolute;
|
|
6074
|
-
width: 1px;
|
|
6075
|
-
height: 1px;
|
|
6076
|
-
padding: 0;
|
|
6077
|
-
margin: -1px;
|
|
6078
|
-
overflow: hidden;
|
|
6079
|
-
clip: rect(0, 0, 0, 0);
|
|
6080
|
-
white-space: nowrap;
|
|
6081
|
-
border: 0;
|
|
6082
|
-
}
|
|
6083
|
-
|
|
6084
|
-
|
|
6085
6064
|
/* Select */
|
|
6086
6065
|
/* Select Component Styles - Aligned with Input for consistency */
|
|
6087
6066
|
|
|
@@ -6464,27 +6443,109 @@ body {
|
|
|
6464
6443
|
}
|
|
6465
6444
|
|
|
6466
6445
|
|
|
6467
|
-
/*
|
|
6468
|
-
/*
|
|
6446
|
+
/* Sheet */
|
|
6447
|
+
/* Sheet Component Styles */
|
|
6469
6448
|
|
|
6470
|
-
|
|
6471
|
-
box-sizing: border-box;
|
|
6472
|
-
}
|
|
6449
|
+
/* ─── Backdrop ────────────────────────────────────────── */
|
|
6473
6450
|
|
|
6474
|
-
.muka-
|
|
6475
|
-
|
|
6476
|
-
|
|
6451
|
+
.muka-sheet__overlay {
|
|
6452
|
+
position: fixed;
|
|
6453
|
+
inset: 0;
|
|
6454
|
+
background-color: var(--color-surface-backdrop);
|
|
6455
|
+
-webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
6456
|
+
backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
6457
|
+
z-index: 50;
|
|
6477
6458
|
}
|
|
6478
6459
|
|
|
6479
|
-
|
|
6480
|
-
padding-block: var(--section-padding-vertical-default);
|
|
6481
|
-
padding-inline: var(--section-padding-horizontal-default);
|
|
6482
|
-
}
|
|
6460
|
+
/* ─── Surface ─────────────────────────────────────────── */
|
|
6483
6461
|
|
|
6484
|
-
.muka-
|
|
6485
|
-
|
|
6486
|
-
|
|
6487
|
-
|
|
6462
|
+
.muka-sheet {
|
|
6463
|
+
position: fixed;
|
|
6464
|
+
left: 0;
|
|
6465
|
+
right: 0;
|
|
6466
|
+
bottom: 0;
|
|
6467
|
+
z-index: 51;
|
|
6468
|
+
|
|
6469
|
+
display: flex;
|
|
6470
|
+
flex-direction: column;
|
|
6471
|
+
|
|
6472
|
+
max-height: 96dvh;
|
|
6473
|
+
|
|
6474
|
+
background-color: var(--color-surface-level3);
|
|
6475
|
+
border-top-left-radius: var(--radius-lg);
|
|
6476
|
+
border-top-right-radius: var(--radius-lg);
|
|
6477
|
+
box-shadow: var(--shadow-level5);
|
|
6478
|
+
|
|
6479
|
+
outline: none;
|
|
6480
|
+
}
|
|
6481
|
+
|
|
6482
|
+
/* Safe-area bottom inset for the iPhone home indicator. */
|
|
6483
|
+
.muka-sheet:not(.muka-sheet--no-safe-area) {
|
|
6484
|
+
padding-bottom: env(safe-area-inset-bottom);
|
|
6485
|
+
}
|
|
6486
|
+
|
|
6487
|
+
/* ─── Drag handle ─────────────────────────────────────── */
|
|
6488
|
+
|
|
6489
|
+
.muka-sheet__handle-container {
|
|
6490
|
+
display: flex;
|
|
6491
|
+
justify-content: center;
|
|
6492
|
+
flex-shrink: 0;
|
|
6493
|
+
padding: var(--spacing-3) 0;
|
|
6494
|
+
}
|
|
6495
|
+
|
|
6496
|
+
.muka-sheet__handle {
|
|
6497
|
+
width: var(--dialog-drag-handle-width);
|
|
6498
|
+
height: var(--dialog-drag-handle-height);
|
|
6499
|
+
background-color: var(--dialog-drag-handle-color);
|
|
6500
|
+
border-radius: var(--dialog-drag-handle-radius);
|
|
6501
|
+
}
|
|
6502
|
+
|
|
6503
|
+
/* ─── Body (scrollable) ───────────────────────────────── */
|
|
6504
|
+
|
|
6505
|
+
.muka-sheet__body {
|
|
6506
|
+
flex: 1 1 0%;
|
|
6507
|
+
min-height: 0;
|
|
6508
|
+
overflow-y: auto;
|
|
6509
|
+
-webkit-overflow-scrolling: touch;
|
|
6510
|
+
overscroll-behavior: contain;
|
|
6511
|
+
}
|
|
6512
|
+
|
|
6513
|
+
/* ─── Visually-hidden title (a11y) ────────────────────── */
|
|
6514
|
+
|
|
6515
|
+
.muka-sheet__sr-title {
|
|
6516
|
+
position: absolute;
|
|
6517
|
+
width: 1px;
|
|
6518
|
+
height: 1px;
|
|
6519
|
+
padding: 0;
|
|
6520
|
+
margin: -1px;
|
|
6521
|
+
overflow: hidden;
|
|
6522
|
+
clip: rect(0, 0, 0, 0);
|
|
6523
|
+
white-space: nowrap;
|
|
6524
|
+
border: 0;
|
|
6525
|
+
}
|
|
6526
|
+
|
|
6527
|
+
|
|
6528
|
+
/* Section */
|
|
6529
|
+
/* Section Component - Layout tokens (section.padding) */
|
|
6530
|
+
|
|
6531
|
+
.muka-section {
|
|
6532
|
+
box-sizing: border-box;
|
|
6533
|
+
}
|
|
6534
|
+
|
|
6535
|
+
.muka-section--padding-compact {
|
|
6536
|
+
padding-block: var(--section-padding-vertical-compact);
|
|
6537
|
+
padding-inline: var(--section-padding-horizontal-compact);
|
|
6538
|
+
}
|
|
6539
|
+
|
|
6540
|
+
.muka-section--padding-default {
|
|
6541
|
+
padding-block: var(--section-padding-vertical-default);
|
|
6542
|
+
padding-inline: var(--section-padding-horizontal-default);
|
|
6543
|
+
}
|
|
6544
|
+
|
|
6545
|
+
.muka-section--padding-spacious {
|
|
6546
|
+
padding-block: var(--section-padding-vertical-spacious);
|
|
6547
|
+
padding-inline: var(--section-padding-horizontal-spacious);
|
|
6548
|
+
}
|
|
6488
6549
|
|
|
6489
6550
|
|
|
6490
6551
|
/* SearchInput */
|
|
@@ -7192,6 +7253,150 @@ body {
|
|
|
7192
7253
|
}
|
|
7193
7254
|
|
|
7194
7255
|
|
|
7256
|
+
/* Radio */
|
|
7257
|
+
/* Radio Component Styles - Using Muka Design Tokens */
|
|
7258
|
+
|
|
7259
|
+
/* Wrapper - clickable label container */
|
|
7260
|
+
.muka-radio {
|
|
7261
|
+
display: inline-flex;
|
|
7262
|
+
align-items: center;
|
|
7263
|
+
gap: var(--spacing-4);
|
|
7264
|
+
cursor: pointer;
|
|
7265
|
+
user-select: none;
|
|
7266
|
+
}
|
|
7267
|
+
|
|
7268
|
+
.muka-radio--disabled {
|
|
7269
|
+
cursor: not-allowed;
|
|
7270
|
+
opacity: 0.6;
|
|
7271
|
+
}
|
|
7272
|
+
|
|
7273
|
+
/* Control container */
|
|
7274
|
+
.muka-radio__control {
|
|
7275
|
+
position: relative;
|
|
7276
|
+
display: inline-flex;
|
|
7277
|
+
align-items: center;
|
|
7278
|
+
justify-content: center;
|
|
7279
|
+
flex-shrink: 0;
|
|
7280
|
+
}
|
|
7281
|
+
|
|
7282
|
+
/* Hidden native input */
|
|
7283
|
+
.muka-radio__input {
|
|
7284
|
+
position: absolute;
|
|
7285
|
+
width: 1px;
|
|
7286
|
+
height: 1px;
|
|
7287
|
+
padding: 0;
|
|
7288
|
+
margin: -1px;
|
|
7289
|
+
overflow: hidden;
|
|
7290
|
+
clip: rect(0, 0, 0, 0);
|
|
7291
|
+
white-space: nowrap;
|
|
7292
|
+
border: 0;
|
|
7293
|
+
}
|
|
7294
|
+
|
|
7295
|
+
/* Visual indicator (circle) */
|
|
7296
|
+
.muka-radio__indicator {
|
|
7297
|
+
display: flex;
|
|
7298
|
+
align-items: center;
|
|
7299
|
+
justify-content: center;
|
|
7300
|
+
width: var(--radio-size-default);
|
|
7301
|
+
height: var(--radio-size-default);
|
|
7302
|
+
border-radius: var(--border-radius-full);
|
|
7303
|
+
background-color: var(--radio-color-default-background);
|
|
7304
|
+
border: var(--border-width-regular) solid var(--radio-color-default-border);
|
|
7305
|
+
transition: all 0.15s ease;
|
|
7306
|
+
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
7307
|
+
}
|
|
7308
|
+
|
|
7309
|
+
/* Size variants */
|
|
7310
|
+
.muka-radio--sm .muka-radio__indicator {
|
|
7311
|
+
width: var(--radio-size-sm);
|
|
7312
|
+
height: var(--radio-size-sm);
|
|
7313
|
+
}
|
|
7314
|
+
|
|
7315
|
+
.muka-radio--lg .muka-radio__indicator {
|
|
7316
|
+
width: var(--radio-size-lg);
|
|
7317
|
+
height: var(--radio-size-lg);
|
|
7318
|
+
}
|
|
7319
|
+
|
|
7320
|
+
/* Inner dot (shown when checked) */
|
|
7321
|
+
.muka-radio__dot {
|
|
7322
|
+
width: var(--radio-dot-size-default);
|
|
7323
|
+
height: var(--radio-dot-size-default);
|
|
7324
|
+
border-radius: var(--border-radius-full);
|
|
7325
|
+
background-color: var(--radio-color-default-dot);
|
|
7326
|
+
transform: scale(0);
|
|
7327
|
+
transition: transform 0.15s ease;
|
|
7328
|
+
}
|
|
7329
|
+
|
|
7330
|
+
.muka-radio--sm .muka-radio__dot {
|
|
7331
|
+
width: var(--radio-dot-size-sm);
|
|
7332
|
+
height: var(--radio-dot-size-sm);
|
|
7333
|
+
}
|
|
7334
|
+
|
|
7335
|
+
.muka-radio--lg .muka-radio__dot {
|
|
7336
|
+
width: var(--radio-dot-size-lg);
|
|
7337
|
+
height: var(--radio-dot-size-lg);
|
|
7338
|
+
}
|
|
7339
|
+
|
|
7340
|
+
/* Hover state - removed per design */
|
|
7341
|
+
|
|
7342
|
+
/* Focus state */
|
|
7343
|
+
.muka-radio__input:focus-visible + .muka-radio__indicator {
|
|
7344
|
+
outline: 2px solid var(--color-border-focus);
|
|
7345
|
+
outline-offset: 2px;
|
|
7346
|
+
}
|
|
7347
|
+
|
|
7348
|
+
/* Checked state */
|
|
7349
|
+
.muka-radio__input:checked + .muka-radio__indicator {
|
|
7350
|
+
background-color: var(--radio-color-checked-background);
|
|
7351
|
+
border-width: var(--border-width-bold);
|
|
7352
|
+
border-color: var(--radio-color-checked-border);
|
|
7353
|
+
box-shadow: none;
|
|
7354
|
+
}
|
|
7355
|
+
|
|
7356
|
+
.muka-radio__input:checked + .muka-radio__indicator .muka-radio__dot {
|
|
7357
|
+
background-color: var(--radio-color-checked-dot);
|
|
7358
|
+
transform: scale(1);
|
|
7359
|
+
}
|
|
7360
|
+
|
|
7361
|
+
/* Disabled state */
|
|
7362
|
+
.muka-radio--disabled .muka-radio__indicator {
|
|
7363
|
+
background-color: var(--radio-color-disabled-background);
|
|
7364
|
+
border-color: var(--radio-color-disabled-border);
|
|
7365
|
+
box-shadow: none;
|
|
7366
|
+
}
|
|
7367
|
+
|
|
7368
|
+
.muka-radio__input:disabled:checked + .muka-radio__indicator .muka-radio__dot {
|
|
7369
|
+
background-color: var(--radio-color-disabled-dot);
|
|
7370
|
+
}
|
|
7371
|
+
|
|
7372
|
+
/* Label text */
|
|
7373
|
+
.muka-radio__label {
|
|
7374
|
+
font-family: var(--text-label-lg-regular-fontFamily);
|
|
7375
|
+
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
7376
|
+
font-size: var(--text-label-lg-regular-fontSize);
|
|
7377
|
+
line-height: var(--text-label-lg-regular-lineHeight);
|
|
7378
|
+
color: var(--color-text-default-default);
|
|
7379
|
+
}
|
|
7380
|
+
|
|
7381
|
+
.muka-radio--sm .muka-radio__label {
|
|
7382
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
7383
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
7384
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
7385
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
7386
|
+
}
|
|
7387
|
+
|
|
7388
|
+
.muka-radio--lg .muka-radio__label {
|
|
7389
|
+
font-family: var(--text-label-xl-regular-fontFamily);
|
|
7390
|
+
font-weight: var(--text-label-xl-regular-fontWeight);
|
|
7391
|
+
font-size: var(--text-label-xl-regular-fontSize);
|
|
7392
|
+
line-height: var(--text-label-xl-regular-lineHeight);
|
|
7393
|
+
}
|
|
7394
|
+
|
|
7395
|
+
.muka-radio--disabled .muka-radio__label {
|
|
7396
|
+
color: var(--color-text-subtle-default);
|
|
7397
|
+
}
|
|
7398
|
+
|
|
7399
|
+
|
|
7195
7400
|
/* PullToRefresh */
|
|
7196
7401
|
/* PullToRefresh Component Styles */
|
|
7197
7402
|
|
|
@@ -7803,170 +8008,26 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
7803
8008
|
}
|
|
7804
8009
|
|
|
7805
8010
|
|
|
7806
|
-
/*
|
|
7807
|
-
/*
|
|
8011
|
+
/* ProgressAccordeon */
|
|
8012
|
+
/* ProgressAccordeon Component Styles — Using Muka Design Tokens */
|
|
7808
8013
|
|
|
7809
|
-
/*
|
|
7810
|
-
.muka-
|
|
7811
|
-
|
|
7812
|
-
|
|
7813
|
-
|
|
7814
|
-
|
|
7815
|
-
|
|
8014
|
+
/* ─── Root ──────────────────────────────────────────────── */
|
|
8015
|
+
.muka-progress-accordeon {
|
|
8016
|
+
container-type: inline-size;
|
|
8017
|
+
display: flex;
|
|
8018
|
+
flex-direction: column;
|
|
8019
|
+
align-items: stretch;
|
|
8020
|
+
width: 100%;
|
|
8021
|
+
/* Top padding provides the vertical rhythm between stacked steps */
|
|
8022
|
+
padding-top: var(--spacing-8);
|
|
7816
8023
|
}
|
|
7817
8024
|
|
|
7818
|
-
|
|
7819
|
-
|
|
7820
|
-
|
|
7821
|
-
|
|
7822
|
-
|
|
7823
|
-
|
|
7824
|
-
.muka-radio__control {
|
|
7825
|
-
position: relative;
|
|
7826
|
-
display: inline-flex;
|
|
7827
|
-
align-items: center;
|
|
7828
|
-
justify-content: center;
|
|
7829
|
-
flex-shrink: 0;
|
|
7830
|
-
}
|
|
7831
|
-
|
|
7832
|
-
/* Hidden native input */
|
|
7833
|
-
.muka-radio__input {
|
|
7834
|
-
position: absolute;
|
|
7835
|
-
width: 1px;
|
|
7836
|
-
height: 1px;
|
|
7837
|
-
padding: 0;
|
|
7838
|
-
margin: -1px;
|
|
7839
|
-
overflow: hidden;
|
|
7840
|
-
clip: rect(0, 0, 0, 0);
|
|
7841
|
-
white-space: nowrap;
|
|
7842
|
-
border: 0;
|
|
7843
|
-
}
|
|
7844
|
-
|
|
7845
|
-
/* Visual indicator (circle) */
|
|
7846
|
-
.muka-radio__indicator {
|
|
7847
|
-
display: flex;
|
|
7848
|
-
align-items: center;
|
|
7849
|
-
justify-content: center;
|
|
7850
|
-
width: var(--radio-size-default);
|
|
7851
|
-
height: var(--radio-size-default);
|
|
7852
|
-
border-radius: var(--border-radius-full);
|
|
7853
|
-
background-color: var(--radio-color-default-background);
|
|
7854
|
-
border: var(--border-width-regular) solid var(--radio-color-default-border);
|
|
7855
|
-
transition: all 0.15s ease;
|
|
7856
|
-
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
7857
|
-
}
|
|
7858
|
-
|
|
7859
|
-
/* Size variants */
|
|
7860
|
-
.muka-radio--sm .muka-radio__indicator {
|
|
7861
|
-
width: var(--radio-size-sm);
|
|
7862
|
-
height: var(--radio-size-sm);
|
|
7863
|
-
}
|
|
7864
|
-
|
|
7865
|
-
.muka-radio--lg .muka-radio__indicator {
|
|
7866
|
-
width: var(--radio-size-lg);
|
|
7867
|
-
height: var(--radio-size-lg);
|
|
7868
|
-
}
|
|
7869
|
-
|
|
7870
|
-
/* Inner dot (shown when checked) */
|
|
7871
|
-
.muka-radio__dot {
|
|
7872
|
-
width: var(--radio-dot-size-default);
|
|
7873
|
-
height: var(--radio-dot-size-default);
|
|
7874
|
-
border-radius: var(--border-radius-full);
|
|
7875
|
-
background-color: var(--radio-color-default-dot);
|
|
7876
|
-
transform: scale(0);
|
|
7877
|
-
transition: transform 0.15s ease;
|
|
7878
|
-
}
|
|
7879
|
-
|
|
7880
|
-
.muka-radio--sm .muka-radio__dot {
|
|
7881
|
-
width: var(--radio-dot-size-sm);
|
|
7882
|
-
height: var(--radio-dot-size-sm);
|
|
7883
|
-
}
|
|
7884
|
-
|
|
7885
|
-
.muka-radio--lg .muka-radio__dot {
|
|
7886
|
-
width: var(--radio-dot-size-lg);
|
|
7887
|
-
height: var(--radio-dot-size-lg);
|
|
7888
|
-
}
|
|
7889
|
-
|
|
7890
|
-
/* Hover state - removed per design */
|
|
7891
|
-
|
|
7892
|
-
/* Focus state */
|
|
7893
|
-
.muka-radio__input:focus-visible + .muka-radio__indicator {
|
|
7894
|
-
outline: 2px solid var(--color-border-focus);
|
|
7895
|
-
outline-offset: 2px;
|
|
7896
|
-
}
|
|
7897
|
-
|
|
7898
|
-
/* Checked state */
|
|
7899
|
-
.muka-radio__input:checked + .muka-radio__indicator {
|
|
7900
|
-
background-color: var(--radio-color-checked-background);
|
|
7901
|
-
border-width: var(--border-width-bold);
|
|
7902
|
-
border-color: var(--radio-color-checked-border);
|
|
7903
|
-
box-shadow: none;
|
|
7904
|
-
}
|
|
7905
|
-
|
|
7906
|
-
.muka-radio__input:checked + .muka-radio__indicator .muka-radio__dot {
|
|
7907
|
-
background-color: var(--radio-color-checked-dot);
|
|
7908
|
-
transform: scale(1);
|
|
7909
|
-
}
|
|
7910
|
-
|
|
7911
|
-
/* Disabled state */
|
|
7912
|
-
.muka-radio--disabled .muka-radio__indicator {
|
|
7913
|
-
background-color: var(--radio-color-disabled-background);
|
|
7914
|
-
border-color: var(--radio-color-disabled-border);
|
|
7915
|
-
box-shadow: none;
|
|
7916
|
-
}
|
|
7917
|
-
|
|
7918
|
-
.muka-radio__input:disabled:checked + .muka-radio__indicator .muka-radio__dot {
|
|
7919
|
-
background-color: var(--radio-color-disabled-dot);
|
|
7920
|
-
}
|
|
7921
|
-
|
|
7922
|
-
/* Label text */
|
|
7923
|
-
.muka-radio__label {
|
|
7924
|
-
font-family: var(--text-label-lg-regular-fontFamily);
|
|
7925
|
-
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
7926
|
-
font-size: var(--text-label-lg-regular-fontSize);
|
|
7927
|
-
line-height: var(--text-label-lg-regular-lineHeight);
|
|
7928
|
-
color: var(--color-text-default-default);
|
|
7929
|
-
}
|
|
7930
|
-
|
|
7931
|
-
.muka-radio--sm .muka-radio__label {
|
|
7932
|
-
font-family: var(--text-label-md-regular-fontFamily);
|
|
7933
|
-
font-weight: var(--text-label-md-regular-fontWeight);
|
|
7934
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
7935
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
7936
|
-
}
|
|
7937
|
-
|
|
7938
|
-
.muka-radio--lg .muka-radio__label {
|
|
7939
|
-
font-family: var(--text-label-xl-regular-fontFamily);
|
|
7940
|
-
font-weight: var(--text-label-xl-regular-fontWeight);
|
|
7941
|
-
font-size: var(--text-label-xl-regular-fontSize);
|
|
7942
|
-
line-height: var(--text-label-xl-regular-lineHeight);
|
|
7943
|
-
}
|
|
7944
|
-
|
|
7945
|
-
.muka-radio--disabled .muka-radio__label {
|
|
7946
|
-
color: var(--color-text-subtle-default);
|
|
7947
|
-
}
|
|
7948
|
-
|
|
7949
|
-
|
|
7950
|
-
/* ProgressAccordeon */
|
|
7951
|
-
/* ProgressAccordeon Component Styles — Using Muka Design Tokens */
|
|
7952
|
-
|
|
7953
|
-
/* ─── Root ──────────────────────────────────────────────── */
|
|
7954
|
-
.muka-progress-accordeon {
|
|
7955
|
-
container-type: inline-size;
|
|
7956
|
-
display: flex;
|
|
7957
|
-
flex-direction: column;
|
|
7958
|
-
align-items: stretch;
|
|
7959
|
-
width: 100%;
|
|
7960
|
-
/* Top padding provides the vertical rhythm between stacked steps */
|
|
7961
|
-
padding-top: var(--spacing-8);
|
|
7962
|
-
}
|
|
7963
|
-
|
|
7964
|
-
/* Per-state gap: content-bearing steps are tighter, header-only steps looser */
|
|
7965
|
-
.muka-progress-accordeon--current,
|
|
7966
|
-
.muka-progress-accordeon--current.muka-progress-accordeon--expanded,
|
|
7967
|
-
.muka-progress-accordeon--past.muka-progress-accordeon--expanded,
|
|
7968
|
-
.muka-progress-accordeon--upcoming.muka-progress-accordeon--expanded {
|
|
7969
|
-
gap: var(--spacing-6);
|
|
8025
|
+
/* Per-state gap: content-bearing steps are tighter, header-only steps looser */
|
|
8026
|
+
.muka-progress-accordeon--current,
|
|
8027
|
+
.muka-progress-accordeon--current.muka-progress-accordeon--expanded,
|
|
8028
|
+
.muka-progress-accordeon--past.muka-progress-accordeon--expanded,
|
|
8029
|
+
.muka-progress-accordeon--upcoming.muka-progress-accordeon--expanded {
|
|
8030
|
+
gap: var(--spacing-6);
|
|
7970
8031
|
}
|
|
7971
8032
|
|
|
7972
8033
|
.muka-progress-accordeon--upcoming,
|
|
@@ -8377,194 +8438,80 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
8377
8438
|
}
|
|
8378
8439
|
|
|
8379
8440
|
|
|
8380
|
-
/*
|
|
8381
|
-
/*
|
|
8441
|
+
/* PriceTag */
|
|
8442
|
+
/* PriceTag Component Styles - Using Muka Design Tokens */
|
|
8382
8443
|
|
|
8383
|
-
.muka-
|
|
8384
|
-
display:
|
|
8385
|
-
|
|
8386
|
-
min-width: 0;
|
|
8387
|
-
align-items: center;
|
|
8388
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
8444
|
+
.muka-price-tag {
|
|
8445
|
+
display: flex;
|
|
8446
|
+
flex-shrink: 0;
|
|
8389
8447
|
}
|
|
8390
8448
|
|
|
8391
|
-
/*
|
|
8392
|
-
.muka-
|
|
8393
|
-
|
|
8449
|
+
/* Medium: stacked layout (price on top, unit below) */
|
|
8450
|
+
.muka-price-tag--md {
|
|
8451
|
+
flex-direction: column;
|
|
8452
|
+
align-items: flex-end;
|
|
8453
|
+
justify-content: center;
|
|
8394
8454
|
}
|
|
8395
8455
|
|
|
8396
|
-
|
|
8397
|
-
|
|
8456
|
+
/* Small: inline layout */
|
|
8457
|
+
.muka-price-tag--sm {
|
|
8458
|
+
flex-direction: row;
|
|
8459
|
+
align-items: center;
|
|
8460
|
+
gap: 3px;
|
|
8398
8461
|
}
|
|
8399
8462
|
|
|
8400
|
-
|
|
8401
|
-
|
|
8463
|
+
/* Amount row: currency + numbers */
|
|
8464
|
+
.muka-price-tag__amount {
|
|
8465
|
+
display: flex;
|
|
8466
|
+
align-items: flex-start;
|
|
8467
|
+
gap: var(--spacing-1);
|
|
8402
8468
|
}
|
|
8403
8469
|
|
|
8404
|
-
.muka-
|
|
8405
|
-
|
|
8470
|
+
.muka-price-tag--sm .muka-price-tag__amount {
|
|
8471
|
+
align-items: center;
|
|
8406
8472
|
}
|
|
8407
8473
|
|
|
8408
|
-
/*
|
|
8409
|
-
.muka-
|
|
8474
|
+
/* Numbers group: whole + decimal + cents */
|
|
8475
|
+
.muka-price-tag__numbers {
|
|
8410
8476
|
display: flex;
|
|
8411
|
-
|
|
8412
|
-
align-items: flex-start;
|
|
8413
|
-
min-width: 0;
|
|
8477
|
+
align-items: baseline;
|
|
8414
8478
|
}
|
|
8415
8479
|
|
|
8416
|
-
|
|
8417
|
-
max-width: 100%;
|
|
8418
|
-
overflow: hidden;
|
|
8419
|
-
text-overflow: ellipsis;
|
|
8420
|
-
white-space: nowrap;
|
|
8421
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
8422
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
8423
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
8424
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
8425
|
-
color: var(--color-text-default-default);
|
|
8426
|
-
}
|
|
8480
|
+
/* ─── Medium size typography ──────────────────────────── */
|
|
8427
8481
|
|
|
8428
|
-
.muka-
|
|
8429
|
-
font-family: var(--text-
|
|
8430
|
-
font-
|
|
8431
|
-
font-
|
|
8432
|
-
line-height: var(--text-
|
|
8482
|
+
.muka-price-tag--md .muka-price-tag__currency {
|
|
8483
|
+
font-family: var(--text-subheading-md-fontFamily);
|
|
8484
|
+
font-weight: var(--text-subheading-md-fontWeight);
|
|
8485
|
+
font-size: var(--text-subheading-md-fontSize);
|
|
8486
|
+
line-height: var(--text-label-2xl-bold-lineHeight);
|
|
8433
8487
|
color: var(--color-text-subtle-default);
|
|
8434
8488
|
}
|
|
8435
8489
|
|
|
8436
|
-
|
|
8437
|
-
|
|
8438
|
-
|
|
8439
|
-
|
|
8440
|
-
|
|
8441
|
-
|
|
8442
|
-
text-align: left;
|
|
8443
|
-
border-radius: var(--radius-md);
|
|
8444
|
-
transition: opacity 0.2s ease;
|
|
8445
|
-
}
|
|
8446
|
-
|
|
8447
|
-
.muka-profile-badge--clickable:hover {
|
|
8448
|
-
opacity: 0.9;
|
|
8490
|
+
.muka-price-tag--md .muka-price-tag__whole {
|
|
8491
|
+
font-family: var(--text-label-2xl-bold-fontFamily);
|
|
8492
|
+
font-weight: var(--text-label-2xl-bold-fontWeight);
|
|
8493
|
+
font-size: var(--text-label-2xl-bold-fontSize);
|
|
8494
|
+
line-height: var(--text-label-2xl-bold-lineHeight);
|
|
8495
|
+
color: var(--color-text-default-default);
|
|
8449
8496
|
}
|
|
8450
8497
|
|
|
8451
|
-
.muka-
|
|
8452
|
-
|
|
8498
|
+
.muka-price-tag--md .muka-price-tag__decimal,
|
|
8499
|
+
.muka-price-tag--md .muka-price-tag__cents {
|
|
8500
|
+
font-family: var(--text-label-md-bold-fontFamily);
|
|
8501
|
+
font-weight: var(--text-label-md-bold-fontWeight);
|
|
8502
|
+
font-size: var(--text-label-md-bold-fontSize);
|
|
8503
|
+
line-height: var(--text-label-md-bold-lineHeight);
|
|
8504
|
+
color: var(--color-text-default-default);
|
|
8453
8505
|
}
|
|
8454
8506
|
|
|
8455
|
-
|
|
8456
|
-
outline: 2px solid var(--color-border-focus);
|
|
8457
|
-
outline-offset: 2px;
|
|
8458
|
-
}
|
|
8507
|
+
/* ─── Small size typography ───────────────────────────── */
|
|
8459
8508
|
|
|
8460
|
-
|
|
8461
|
-
|
|
8462
|
-
|
|
8463
|
-
|
|
8464
|
-
|
|
8465
|
-
|
|
8466
|
-
* A clickable badge with a chevron is a pill (Figma Profile Badge, Bouwplan
|
|
8467
|
-
* header): 4px inset on the avatar side, 12px after the chevron. The border
|
|
8468
|
-
* is an inset shadow so it appears on hover and while the menu is open
|
|
8469
|
-
* without moving the content.
|
|
8470
|
-
*/
|
|
8471
|
-
.muka-profile-badge--clickable.muka-profile-badge--with-chevron {
|
|
8472
|
-
padding: var(--spacing-1) var(--spacing-3) var(--spacing-1) var(--spacing-1);
|
|
8473
|
-
border-radius: var(--radius-full);
|
|
8474
|
-
transition: box-shadow 0.2s ease;
|
|
8475
|
-
}
|
|
8476
|
-
|
|
8477
|
-
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
|
|
8478
|
-
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:active {
|
|
8479
|
-
opacity: 1;
|
|
8480
|
-
}
|
|
8481
|
-
|
|
8482
|
-
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
|
|
8483
|
-
.muka-profile-badge--clickable.muka-profile-badge--with-chevron[aria-expanded='true'],
|
|
8484
|
-
.muka-profile-badge--clickable.muka-profile-badge--with-chevron[data-state='open'] {
|
|
8485
|
-
box-shadow: inset 0 0 0 var(--border-width-regular) var(--button-color-ghost-border-hover);
|
|
8486
|
-
}
|
|
8487
|
-
|
|
8488
|
-
/* A badge without an avatar keeps the 12px start inset */
|
|
8489
|
-
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:not(:has(.muka-profile-badge__avatar)) {
|
|
8490
|
-
padding-left: var(--spacing-3);
|
|
8491
|
-
}
|
|
8492
|
-
|
|
8493
|
-
|
|
8494
|
-
/* PriceTag */
|
|
8495
|
-
/* PriceTag Component Styles - Using Muka Design Tokens */
|
|
8496
|
-
|
|
8497
|
-
.muka-price-tag {
|
|
8498
|
-
display: flex;
|
|
8499
|
-
flex-shrink: 0;
|
|
8500
|
-
}
|
|
8501
|
-
|
|
8502
|
-
/* Medium: stacked layout (price on top, unit below) */
|
|
8503
|
-
.muka-price-tag--md {
|
|
8504
|
-
flex-direction: column;
|
|
8505
|
-
align-items: flex-end;
|
|
8506
|
-
justify-content: center;
|
|
8507
|
-
}
|
|
8508
|
-
|
|
8509
|
-
/* Small: inline layout */
|
|
8510
|
-
.muka-price-tag--sm {
|
|
8511
|
-
flex-direction: row;
|
|
8512
|
-
align-items: center;
|
|
8513
|
-
gap: 3px;
|
|
8514
|
-
}
|
|
8515
|
-
|
|
8516
|
-
/* Amount row: currency + numbers */
|
|
8517
|
-
.muka-price-tag__amount {
|
|
8518
|
-
display: flex;
|
|
8519
|
-
align-items: flex-start;
|
|
8520
|
-
gap: var(--spacing-1);
|
|
8521
|
-
}
|
|
8522
|
-
|
|
8523
|
-
.muka-price-tag--sm .muka-price-tag__amount {
|
|
8524
|
-
align-items: center;
|
|
8525
|
-
}
|
|
8526
|
-
|
|
8527
|
-
/* Numbers group: whole + decimal + cents */
|
|
8528
|
-
.muka-price-tag__numbers {
|
|
8529
|
-
display: flex;
|
|
8530
|
-
align-items: baseline;
|
|
8531
|
-
}
|
|
8532
|
-
|
|
8533
|
-
/* ─── Medium size typography ──────────────────────────── */
|
|
8534
|
-
|
|
8535
|
-
.muka-price-tag--md .muka-price-tag__currency {
|
|
8536
|
-
font-family: var(--text-subheading-md-fontFamily);
|
|
8537
|
-
font-weight: var(--text-subheading-md-fontWeight);
|
|
8538
|
-
font-size: var(--text-subheading-md-fontSize);
|
|
8539
|
-
line-height: var(--text-label-2xl-bold-lineHeight);
|
|
8540
|
-
color: var(--color-text-subtle-default);
|
|
8541
|
-
}
|
|
8542
|
-
|
|
8543
|
-
.muka-price-tag--md .muka-price-tag__whole {
|
|
8544
|
-
font-family: var(--text-label-2xl-bold-fontFamily);
|
|
8545
|
-
font-weight: var(--text-label-2xl-bold-fontWeight);
|
|
8546
|
-
font-size: var(--text-label-2xl-bold-fontSize);
|
|
8547
|
-
line-height: var(--text-label-2xl-bold-lineHeight);
|
|
8548
|
-
color: var(--color-text-default-default);
|
|
8549
|
-
}
|
|
8550
|
-
|
|
8551
|
-
.muka-price-tag--md .muka-price-tag__decimal,
|
|
8552
|
-
.muka-price-tag--md .muka-price-tag__cents {
|
|
8553
|
-
font-family: var(--text-label-md-bold-fontFamily);
|
|
8554
|
-
font-weight: var(--text-label-md-bold-fontWeight);
|
|
8555
|
-
font-size: var(--text-label-md-bold-fontSize);
|
|
8556
|
-
line-height: var(--text-label-md-bold-lineHeight);
|
|
8557
|
-
color: var(--color-text-default-default);
|
|
8558
|
-
}
|
|
8559
|
-
|
|
8560
|
-
/* ─── Small size typography ───────────────────────────── */
|
|
8561
|
-
|
|
8562
|
-
.muka-price-tag--sm .muka-price-tag__currency {
|
|
8563
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
8564
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
8565
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
8566
|
-
line-height: var(--text-label-md-bold-lineHeight);
|
|
8567
|
-
color: var(--color-text-subtle-default);
|
|
8509
|
+
.muka-price-tag--sm .muka-price-tag__currency {
|
|
8510
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
8511
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
8512
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
8513
|
+
line-height: var(--text-label-md-bold-lineHeight);
|
|
8514
|
+
color: var(--color-text-subtle-default);
|
|
8568
8515
|
}
|
|
8569
8516
|
|
|
8570
8517
|
.muka-price-tag--sm .muka-price-tag__whole,
|
|
@@ -9016,140 +8963,117 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9016
8963
|
}
|
|
9017
8964
|
|
|
9018
8965
|
|
|
9019
|
-
/*
|
|
9020
|
-
/*
|
|
8966
|
+
/* ProfileBadge */
|
|
8967
|
+
/* ProfileBadge Component Styles - Using Muka Design Tokens */
|
|
9021
8968
|
|
|
9022
|
-
.muka-
|
|
8969
|
+
.muka-profile-badge {
|
|
8970
|
+
display: inline-flex;
|
|
8971
|
+
max-width: 100%;
|
|
8972
|
+
min-width: 0;
|
|
8973
|
+
align-items: center;
|
|
8974
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
8975
|
+
}
|
|
8976
|
+
|
|
8977
|
+
/* Size variants */
|
|
8978
|
+
.muka-profile-badge--lg {
|
|
8979
|
+
gap: var(--spacing-4); /* 16px */
|
|
8980
|
+
}
|
|
8981
|
+
|
|
8982
|
+
.muka-profile-badge--md {
|
|
8983
|
+
gap: var(--spacing-3); /* 12px */
|
|
8984
|
+
}
|
|
8985
|
+
|
|
8986
|
+
.muka-profile-badge--sm {
|
|
8987
|
+
gap: var(--spacing-2); /* 8px */
|
|
8988
|
+
}
|
|
8989
|
+
|
|
8990
|
+
.muka-profile-badge__avatar {
|
|
8991
|
+
flex-shrink: 0;
|
|
8992
|
+
}
|
|
8993
|
+
|
|
8994
|
+
/* Text stack */
|
|
8995
|
+
.muka-profile-badge__text {
|
|
9023
8996
|
display: flex;
|
|
9024
8997
|
flex-direction: column;
|
|
9025
8998
|
align-items: flex-start;
|
|
9026
|
-
|
|
9027
|
-
width: 100%;
|
|
8999
|
+
min-width: 0;
|
|
9028
9000
|
}
|
|
9029
9001
|
|
|
9030
|
-
|
|
9031
|
-
|
|
9032
|
-
position: absolute;
|
|
9033
|
-
width: 1px;
|
|
9034
|
-
height: 1px;
|
|
9035
|
-
padding: 0;
|
|
9036
|
-
margin: -1px;
|
|
9002
|
+
.muka-profile-badge__name {
|
|
9003
|
+
max-width: 100%;
|
|
9037
9004
|
overflow: hidden;
|
|
9038
|
-
|
|
9005
|
+
text-overflow: ellipsis;
|
|
9039
9006
|
white-space: nowrap;
|
|
9040
|
-
|
|
9007
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
9008
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
9009
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
9010
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
9011
|
+
color: var(--color-text-default-default);
|
|
9041
9012
|
}
|
|
9042
9013
|
|
|
9043
|
-
|
|
9044
|
-
|
|
9045
|
-
|
|
9014
|
+
.muka-profile-badge__email {
|
|
9015
|
+
font-family: var(--text-body-xs-regular-fontFamily);
|
|
9016
|
+
font-size: var(--text-body-xs-regular-fontSize);
|
|
9017
|
+
font-weight: var(--text-body-xs-regular-fontWeight);
|
|
9018
|
+
line-height: var(--text-body-xs-regular-lineHeight);
|
|
9019
|
+
color: var(--color-text-subtle-default);
|
|
9046
9020
|
}
|
|
9047
9021
|
|
|
9048
|
-
/*
|
|
9049
|
-
.muka-
|
|
9050
|
-
|
|
9051
|
-
|
|
9052
|
-
|
|
9053
|
-
width: 100%;
|
|
9054
|
-
margin: 0;
|
|
9022
|
+
/* Clickable state */
|
|
9023
|
+
.muka-profile-badge--clickable {
|
|
9024
|
+
cursor: pointer;
|
|
9025
|
+
border: none;
|
|
9026
|
+
background: none;
|
|
9055
9027
|
padding: 0;
|
|
9056
|
-
|
|
9028
|
+
text-align: left;
|
|
9029
|
+
border-radius: var(--radius-md);
|
|
9030
|
+
transition: opacity 0.2s ease;
|
|
9057
9031
|
}
|
|
9058
9032
|
|
|
9059
|
-
.muka-
|
|
9060
|
-
|
|
9061
|
-
padding: 0;
|
|
9033
|
+
.muka-profile-badge--clickable:hover {
|
|
9034
|
+
opacity: 0.9;
|
|
9062
9035
|
}
|
|
9063
9036
|
|
|
9064
|
-
|
|
9065
|
-
.
|
|
9066
|
-
display: flex;
|
|
9067
|
-
flex-direction: column;
|
|
9068
|
-
align-items: center;
|
|
9069
|
-
justify-content: center;
|
|
9070
|
-
gap: var(--spacing-4);
|
|
9071
|
-
width: 100%;
|
|
9072
|
-
padding: var(--card-padding-lg);
|
|
9073
|
-
background-color: var(--card-color-default-background);
|
|
9074
|
-
border: var(--border-width-regular, 1px) solid var(--card-color-default-border);
|
|
9075
|
-
border-radius: var(--border-radius-lg);
|
|
9076
|
-
cursor: pointer;
|
|
9077
|
-
text-align: center;
|
|
9078
|
-
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
9079
|
-
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
9037
|
+
.muka-profile-badge--clickable:active {
|
|
9038
|
+
opacity: 0.8;
|
|
9080
9039
|
}
|
|
9081
9040
|
|
|
9082
|
-
.muka-
|
|
9083
|
-
|
|
9084
|
-
|
|
9085
|
-
background-color: var(--color-surface-level1);
|
|
9041
|
+
.muka-profile-badge--clickable:focus-visible {
|
|
9042
|
+
outline: 2px solid var(--color-border-focus);
|
|
9043
|
+
outline-offset: 2px;
|
|
9086
9044
|
}
|
|
9087
9045
|
|
|
9088
|
-
|
|
9089
|
-
|
|
9090
|
-
|
|
9091
|
-
font-weight: var(--text-subheading-sm-fontWeight);
|
|
9092
|
-
line-height: var(--text-subheading-sm-lineHeight);
|
|
9093
|
-
color: var(--color-text-default-default);
|
|
9046
|
+
/* Trailing chevron: the badge opens a menu */
|
|
9047
|
+
.muka-profile-badge__chevron {
|
|
9048
|
+
flex-shrink: 0;
|
|
9094
9049
|
}
|
|
9095
9050
|
|
|
9096
9051
|
/*
|
|
9097
|
-
*
|
|
9098
|
-
*
|
|
9099
|
-
*
|
|
9100
|
-
*
|
|
9052
|
+
* A clickable badge with a chevron is a pill (Figma Profile Badge, Bouwplan
|
|
9053
|
+
* header): 4px inset on the avatar side, 12px after the chevron. The border
|
|
9054
|
+
* is an inset shadow so it appears on hover and while the menu is open
|
|
9055
|
+
* without moving the content.
|
|
9101
9056
|
*/
|
|
9102
|
-
|
|
9103
|
-
|
|
9104
|
-
|
|
9105
|
-
|
|
9106
|
-
background-color: transparent;
|
|
9107
|
-
border: none;
|
|
9108
|
-
border-radius: 0;
|
|
9109
|
-
cursor: default;
|
|
9110
|
-
}
|
|
9111
|
-
|
|
9112
|
-
.muka-photo-uploader__dropzone-text {
|
|
9113
|
-
display: none;
|
|
9114
|
-
}
|
|
9057
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron {
|
|
9058
|
+
padding: var(--spacing-1) var(--spacing-3) var(--spacing-1) var(--spacing-1);
|
|
9059
|
+
border-radius: var(--radius-full);
|
|
9060
|
+
transition: box-shadow 0.2s ease;
|
|
9115
9061
|
}
|
|
9116
9062
|
|
|
9117
|
-
|
|
9118
|
-
.muka-
|
|
9119
|
-
|
|
9120
|
-
opacity: 0.6;
|
|
9063
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
|
|
9064
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:active {
|
|
9065
|
+
opacity: 1;
|
|
9121
9066
|
}
|
|
9122
9067
|
|
|
9123
|
-
.muka-
|
|
9124
|
-
|
|
9125
|
-
|
|
9126
|
-
|
|
9127
|
-
|
|
9128
|
-
/* ─── Enlarged photo dialog ───────────────────────────── */
|
|
9129
|
-
.muka-photo-uploader__preview {
|
|
9130
|
-
display: flex;
|
|
9131
|
-
align-items: center;
|
|
9132
|
-
justify-content: center;
|
|
9133
|
-
width: 100%;
|
|
9134
|
-
height: 100%;
|
|
9135
|
-
}
|
|
9136
|
-
|
|
9137
|
-
/* Fits the dialog while preserving the photo's original aspect ratio. */
|
|
9138
|
-
.muka-photo-uploader__preview-image {
|
|
9139
|
-
display: block;
|
|
9140
|
-
max-width: 100%;
|
|
9141
|
-
max-height: 100%;
|
|
9142
|
-
width: auto;
|
|
9143
|
-
height: auto;
|
|
9144
|
-
object-fit: contain;
|
|
9145
|
-
border-radius: var(--border-radius-lg);
|
|
9068
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
|
|
9069
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron[aria-expanded='true'],
|
|
9070
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron[data-state='open'] {
|
|
9071
|
+
box-shadow: inset 0 0 0 var(--border-width-regular) var(--button-color-ghost-border-hover);
|
|
9146
9072
|
}
|
|
9147
9073
|
|
|
9148
|
-
/*
|
|
9149
|
-
|
|
9150
|
-
|
|
9151
|
-
transition: none;
|
|
9152
|
-
}
|
|
9074
|
+
/* A badge without an avatar keeps the 12px start inset */
|
|
9075
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:not(:has(.muka-profile-badge__avatar)) {
|
|
9076
|
+
padding-left: var(--spacing-3);
|
|
9153
9077
|
}
|
|
9154
9078
|
|
|
9155
9079
|
|
|
@@ -9250,33 +9174,140 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9250
9174
|
}
|
|
9251
9175
|
|
|
9252
9176
|
|
|
9253
|
-
/*
|
|
9254
|
-
/*
|
|
9177
|
+
/* PhotoUploader */
|
|
9178
|
+
/* PhotoUploader Component Styles - Using Muka Design Tokens */
|
|
9255
9179
|
|
|
9256
|
-
.muka-photo-
|
|
9180
|
+
.muka-photo-uploader {
|
|
9257
9181
|
display: flex;
|
|
9258
|
-
|
|
9182
|
+
flex-direction: column;
|
|
9183
|
+
align-items: flex-start;
|
|
9184
|
+
gap: var(--spacing-4);
|
|
9185
|
+
width: 100%;
|
|
9186
|
+
}
|
|
9187
|
+
|
|
9188
|
+
/* Visually-hidden native file input */
|
|
9189
|
+
.muka-photo-uploader__input {
|
|
9190
|
+
position: absolute;
|
|
9191
|
+
width: 1px;
|
|
9192
|
+
height: 1px;
|
|
9193
|
+
padding: 0;
|
|
9194
|
+
margin: -1px;
|
|
9195
|
+
overflow: hidden;
|
|
9196
|
+
clip: rect(0, 0, 0, 0);
|
|
9197
|
+
white-space: nowrap;
|
|
9198
|
+
border: 0;
|
|
9199
|
+
}
|
|
9200
|
+
|
|
9201
|
+
/* ─── Error feedback alert ────────────────────────────── */
|
|
9202
|
+
.muka-photo-uploader__alert {
|
|
9203
|
+
width: 100%;
|
|
9204
|
+
}
|
|
9205
|
+
|
|
9206
|
+
/* ─── Thumbnail grid ──────────────────────────────────── */
|
|
9207
|
+
.muka-photo-uploader__grid {
|
|
9208
|
+
display: flex;
|
|
9209
|
+
flex-wrap: wrap;
|
|
9259
9210
|
gap: var(--spacing-3);
|
|
9260
9211
|
width: 100%;
|
|
9261
|
-
|
|
9212
|
+
margin: 0;
|
|
9213
|
+
padding: 0;
|
|
9214
|
+
list-style: none;
|
|
9262
9215
|
}
|
|
9263
9216
|
|
|
9264
|
-
.muka-photo-
|
|
9217
|
+
.muka-photo-uploader__grid-item {
|
|
9218
|
+
margin: 0;
|
|
9219
|
+
padding: 0;
|
|
9220
|
+
}
|
|
9221
|
+
|
|
9222
|
+
/* ─── Drop zone card (button + "or drop here") ────────── */
|
|
9223
|
+
.muka-photo-uploader__dropzone {
|
|
9265
9224
|
display: flex;
|
|
9266
|
-
|
|
9267
|
-
|
|
9268
|
-
|
|
9269
|
-
|
|
9270
|
-
|
|
9271
|
-
|
|
9225
|
+
flex-direction: column;
|
|
9226
|
+
align-items: center;
|
|
9227
|
+
justify-content: center;
|
|
9228
|
+
gap: var(--spacing-4);
|
|
9229
|
+
width: 100%;
|
|
9230
|
+
padding: var(--card-padding-lg);
|
|
9231
|
+
background-color: var(--card-color-default-background);
|
|
9232
|
+
border: var(--border-width-regular, 1px) solid var(--card-color-default-border);
|
|
9233
|
+
border-radius: var(--border-radius-lg);
|
|
9234
|
+
cursor: pointer;
|
|
9235
|
+
text-align: center;
|
|
9236
|
+
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
9237
|
+
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
9272
9238
|
}
|
|
9273
9239
|
|
|
9274
|
-
.muka-photo-
|
|
9275
|
-
|
|
9240
|
+
.muka-photo-uploader__dropzone:hover,
|
|
9241
|
+
.muka-photo-uploader__dropzone--active {
|
|
9242
|
+
border-color: var(--color-border-focus);
|
|
9243
|
+
background-color: var(--color-surface-level1);
|
|
9276
9244
|
}
|
|
9277
9245
|
|
|
9278
|
-
.muka-photo-
|
|
9279
|
-
|
|
9246
|
+
.muka-photo-uploader__dropzone-text {
|
|
9247
|
+
font-family: var(--text-subheading-sm-fontFamily);
|
|
9248
|
+
font-size: var(--text-subheading-sm-fontSize);
|
|
9249
|
+
font-weight: var(--text-subheading-sm-fontWeight);
|
|
9250
|
+
line-height: var(--text-subheading-sm-lineHeight);
|
|
9251
|
+
color: var(--color-text-default-default);
|
|
9252
|
+
}
|
|
9253
|
+
|
|
9254
|
+
/*
|
|
9255
|
+
* Touch devices (phones, tablets without a mouse) have nothing to drag a file
|
|
9256
|
+
* from: the card and its "or drop here" hint go, and only the button stays.
|
|
9257
|
+
* Keyed on input capability, not width, so a narrow desktop window keeps
|
|
9258
|
+
* its drop zone.
|
|
9259
|
+
*/
|
|
9260
|
+
@media (hover: none) and (pointer: coarse) {
|
|
9261
|
+
.muka-photo-uploader__dropzone {
|
|
9262
|
+
align-items: flex-start;
|
|
9263
|
+
padding: 0;
|
|
9264
|
+
background-color: transparent;
|
|
9265
|
+
border: none;
|
|
9266
|
+
border-radius: 0;
|
|
9267
|
+
cursor: default;
|
|
9268
|
+
}
|
|
9269
|
+
|
|
9270
|
+
.muka-photo-uploader__dropzone-text {
|
|
9271
|
+
display: none;
|
|
9272
|
+
}
|
|
9273
|
+
}
|
|
9274
|
+
|
|
9275
|
+
/* ─── Disabled ────────────────────────────────────────── */
|
|
9276
|
+
.muka-photo-uploader--disabled .muka-photo-uploader__dropzone {
|
|
9277
|
+
cursor: not-allowed;
|
|
9278
|
+
opacity: 0.6;
|
|
9279
|
+
}
|
|
9280
|
+
|
|
9281
|
+
.muka-photo-uploader--disabled .muka-photo-uploader__dropzone:hover {
|
|
9282
|
+
border-color: var(--card-color-default-border);
|
|
9283
|
+
background-color: var(--card-color-default-background);
|
|
9284
|
+
}
|
|
9285
|
+
|
|
9286
|
+
/* ─── Enlarged photo dialog ───────────────────────────── */
|
|
9287
|
+
.muka-photo-uploader__preview {
|
|
9288
|
+
display: flex;
|
|
9289
|
+
align-items: center;
|
|
9290
|
+
justify-content: center;
|
|
9291
|
+
width: 100%;
|
|
9292
|
+
height: 100%;
|
|
9293
|
+
}
|
|
9294
|
+
|
|
9295
|
+
/* Fits the dialog while preserving the photo's original aspect ratio. */
|
|
9296
|
+
.muka-photo-uploader__preview-image {
|
|
9297
|
+
display: block;
|
|
9298
|
+
max-width: 100%;
|
|
9299
|
+
max-height: 100%;
|
|
9300
|
+
width: auto;
|
|
9301
|
+
height: auto;
|
|
9302
|
+
object-fit: contain;
|
|
9303
|
+
border-radius: var(--border-radius-lg);
|
|
9304
|
+
}
|
|
9305
|
+
|
|
9306
|
+
/* ─── Reduced motion ──────────────────────────────────── */
|
|
9307
|
+
@media (prefers-reduced-motion: reduce) {
|
|
9308
|
+
.muka-photo-uploader__dropzone {
|
|
9309
|
+
transition: none;
|
|
9310
|
+
}
|
|
9280
9311
|
}
|
|
9281
9312
|
|
|
9282
9313
|
|
|
@@ -9462,6 +9493,36 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9462
9493
|
}
|
|
9463
9494
|
|
|
9464
9495
|
|
|
9496
|
+
/* PhotoDraftStrip */
|
|
9497
|
+
/* PhotoDraftStrip Component Styles */
|
|
9498
|
+
|
|
9499
|
+
.muka-photo-draft-strip {
|
|
9500
|
+
display: flex;
|
|
9501
|
+
align-items: center;
|
|
9502
|
+
gap: var(--spacing-3);
|
|
9503
|
+
width: 100%;
|
|
9504
|
+
padding: var(--spacing-2) 0;
|
|
9505
|
+
}
|
|
9506
|
+
|
|
9507
|
+
.muka-photo-draft-strip__track {
|
|
9508
|
+
display: flex;
|
|
9509
|
+
gap: var(--spacing-2);
|
|
9510
|
+
flex: 1 1 auto;
|
|
9511
|
+
min-width: 0;
|
|
9512
|
+
overflow-x: auto;
|
|
9513
|
+
scroll-behavior: smooth;
|
|
9514
|
+
scrollbar-width: none;
|
|
9515
|
+
}
|
|
9516
|
+
|
|
9517
|
+
.muka-photo-draft-strip__track::-webkit-scrollbar {
|
|
9518
|
+
display: none;
|
|
9519
|
+
}
|
|
9520
|
+
|
|
9521
|
+
.muka-photo-draft-strip__item {
|
|
9522
|
+
flex: 0 0 auto;
|
|
9523
|
+
}
|
|
9524
|
+
|
|
9525
|
+
|
|
9465
9526
|
/* NumberInput */
|
|
9466
9527
|
/* NumberInput — reuses Input field styles (../Input/Input.css). */
|
|
9467
9528
|
/* Only the prefix/suffix affixes are NumberInput-specific. */
|
|
@@ -10236,44 +10297,237 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
10236
10297
|
}
|
|
10237
10298
|
|
|
10238
10299
|
|
|
10239
|
-
/*
|
|
10240
|
-
/*
|
|
10241
|
-
|
|
10242
|
-
|
|
10243
|
-
|
|
10244
|
-
|
|
10245
|
-
|
|
10246
|
-
|
|
10247
|
-
|
|
10248
|
-
|
|
10249
|
-
|
|
10250
|
-
/* Background - using semantic tokens */
|
|
10251
|
-
background-color: var(--color-surface-level3);
|
|
10252
|
-
|
|
10253
|
-
/* Typography */
|
|
10254
|
-
font-family: var(--alias-font-brand-family);
|
|
10255
|
-
|
|
10256
|
-
/* Border and spacing */
|
|
10257
|
-
border: none;
|
|
10258
|
-
position: relative;
|
|
10259
|
-
|
|
10260
|
-
/* Interaction - only apply if interactive */
|
|
10261
|
-
transition: background-color 0.2s ease, box-shadow 0.2s ease;
|
|
10262
|
-
}
|
|
10300
|
+
/* LicensePlateInput */
|
|
10301
|
+
/* LicensePlateInput — Dutch RDW-style plate input
|
|
10302
|
+
*
|
|
10303
|
+
* Plate body colors are regulatory (EU/NL) and intentionally fixed:
|
|
10304
|
+
* - Plate yellow: #F0CE3D
|
|
10305
|
+
* - EU strip blue: #003399
|
|
10306
|
+
* - EU stars yellow: #FFCC00
|
|
10307
|
+
* - Plate text: #1A1A1A
|
|
10308
|
+
*
|
|
10309
|
+
* All surrounding UI (label, helper, focus ring, error border) uses Muka tokens.
|
|
10310
|
+
*/
|
|
10263
10311
|
|
|
10264
|
-
|
|
10265
|
-
|
|
10266
|
-
|
|
10267
|
-
|
|
10312
|
+
.muka-license-plate-input {
|
|
10313
|
+
--plate-yellow: #f0ce3d;
|
|
10314
|
+
--plate-blue: #003399;
|
|
10315
|
+
--plate-text: #1a1a1a;
|
|
10316
|
+
--plate-stars: #ffcc00;
|
|
10268
10317
|
|
|
10269
|
-
|
|
10270
|
-
|
|
10271
|
-
|
|
10272
|
-
|
|
10273
|
-
|
|
10274
|
-
*/
|
|
10275
|
-
.muka-
|
|
10276
|
-
|
|
10318
|
+
display: inline-flex;
|
|
10319
|
+
flex-direction: column;
|
|
10320
|
+
gap: var(--spacing-2);
|
|
10321
|
+
}
|
|
10322
|
+
|
|
10323
|
+
/* Plate body */
|
|
10324
|
+
.muka-license-plate-input__plate {
|
|
10325
|
+
display: inline-flex;
|
|
10326
|
+
align-items: stretch;
|
|
10327
|
+
background-color: var(--plate-yellow);
|
|
10328
|
+
border-radius: var(--input-field-radius-md);
|
|
10329
|
+
cursor: text;
|
|
10330
|
+
position: relative;
|
|
10331
|
+
overflow: hidden;
|
|
10332
|
+
box-sizing: border-box;
|
|
10333
|
+
/* Subtle outline to lift the plate from light backgrounds */
|
|
10334
|
+
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
|
|
10335
|
+
/* Reserve space for the focus / error solid ring without shifting layout */
|
|
10336
|
+
outline: 3px solid transparent;
|
|
10337
|
+
outline-offset: 2px;
|
|
10338
|
+
transition: outline-color 0.15s ease, opacity 0.15s ease;
|
|
10339
|
+
}
|
|
10340
|
+
|
|
10341
|
+
/* Size variants — plate aspect echoes the real RDW plate (~5:1) */
|
|
10342
|
+
.muka-license-plate-input__plate--sm {
|
|
10343
|
+
height: 44px;
|
|
10344
|
+
min-width: 220px;
|
|
10345
|
+
border-radius: var(--input-field-radius-sm);
|
|
10346
|
+
}
|
|
10347
|
+
|
|
10348
|
+
.muka-license-plate-input__plate--md {
|
|
10349
|
+
height: 60px;
|
|
10350
|
+
min-width: 300px;
|
|
10351
|
+
border-radius: var(--input-field-radius-md);
|
|
10352
|
+
}
|
|
10353
|
+
|
|
10354
|
+
.muka-license-plate-input__plate--lg {
|
|
10355
|
+
height: 80px;
|
|
10356
|
+
min-width: 400px;
|
|
10357
|
+
border-radius: var(--input-field-radius-lg);
|
|
10358
|
+
}
|
|
10359
|
+
|
|
10360
|
+
/* Focus — solid outline ring */
|
|
10361
|
+
.muka-license-plate-input__plate--focused:not(.muka-license-plate-input__plate--disabled) {
|
|
10362
|
+
outline-color: var(--input-field-color-focus-border);
|
|
10363
|
+
}
|
|
10364
|
+
|
|
10365
|
+
/* Error — solid outline ring in error color */
|
|
10366
|
+
.muka-license-plate-input__plate--error:not(.muka-license-plate-input__plate--disabled) {
|
|
10367
|
+
outline-color: var(--input-field-color-error-border);
|
|
10368
|
+
}
|
|
10369
|
+
|
|
10370
|
+
/* Disabled */
|
|
10371
|
+
.muka-license-plate-input__plate--disabled {
|
|
10372
|
+
cursor: not-allowed;
|
|
10373
|
+
opacity: 0.55;
|
|
10374
|
+
}
|
|
10375
|
+
|
|
10376
|
+
/* EU strip */
|
|
10377
|
+
.muka-license-plate-input__eu-strip {
|
|
10378
|
+
display: inline-flex;
|
|
10379
|
+
flex-direction: column;
|
|
10380
|
+
align-items: center;
|
|
10381
|
+
justify-content: center;
|
|
10382
|
+
background-color: var(--plate-blue);
|
|
10383
|
+
color: #ffffff;
|
|
10384
|
+
flex-shrink: 0;
|
|
10385
|
+
padding: 0 0.4em;
|
|
10386
|
+
gap: 0.15em;
|
|
10387
|
+
/* Strip width scales with plate height for a consistent ratio */
|
|
10388
|
+
width: 14%;
|
|
10389
|
+
min-width: 36px;
|
|
10390
|
+
}
|
|
10391
|
+
|
|
10392
|
+
.muka-license-plate-input__eu-stars {
|
|
10393
|
+
width: 60%;
|
|
10394
|
+
max-width: 28px;
|
|
10395
|
+
aspect-ratio: 1 / 1;
|
|
10396
|
+
display: block;
|
|
10397
|
+
}
|
|
10398
|
+
|
|
10399
|
+
.muka-license-plate-input__plate--sm .muka-license-plate-input__eu-stars {
|
|
10400
|
+
max-width: 20px;
|
|
10401
|
+
}
|
|
10402
|
+
|
|
10403
|
+
.muka-license-plate-input__plate--lg .muka-license-plate-input__eu-stars {
|
|
10404
|
+
max-width: 36px;
|
|
10405
|
+
}
|
|
10406
|
+
|
|
10407
|
+
.muka-license-plate-input__country-code {
|
|
10408
|
+
font-family:
|
|
10409
|
+
'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
10410
|
+
font-weight: 700;
|
|
10411
|
+
letter-spacing: 0.04em;
|
|
10412
|
+
line-height: 1;
|
|
10413
|
+
color: #ffffff;
|
|
10414
|
+
}
|
|
10415
|
+
|
|
10416
|
+
.muka-license-plate-input__plate--sm .muka-license-plate-input__country-code {
|
|
10417
|
+
font-size: 10px;
|
|
10418
|
+
}
|
|
10419
|
+
|
|
10420
|
+
.muka-license-plate-input__plate--md .muka-license-plate-input__country-code {
|
|
10421
|
+
font-size: 13px;
|
|
10422
|
+
}
|
|
10423
|
+
|
|
10424
|
+
.muka-license-plate-input__plate--lg .muka-license-plate-input__country-code {
|
|
10425
|
+
font-size: 16px;
|
|
10426
|
+
}
|
|
10427
|
+
|
|
10428
|
+
/* Native input */
|
|
10429
|
+
.muka-license-plate-input__native {
|
|
10430
|
+
flex: 1;
|
|
10431
|
+
min-width: 0;
|
|
10432
|
+
border: none;
|
|
10433
|
+
outline: none;
|
|
10434
|
+
background: transparent;
|
|
10435
|
+
color: var(--plate-text);
|
|
10436
|
+
text-align: center;
|
|
10437
|
+
text-transform: uppercase;
|
|
10438
|
+
letter-spacing: 0.06em;
|
|
10439
|
+
/* Plate font — bold condensed sans is closest to the FE-Schrift look without
|
|
10440
|
+
shipping a custom font. JetBrains Mono is the system mono brand font. */
|
|
10441
|
+
font-family:
|
|
10442
|
+
'Arial Narrow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
10443
|
+
font-weight: 800;
|
|
10444
|
+
padding: 0 0.5em;
|
|
10445
|
+
width: 100%;
|
|
10446
|
+
caret-color: var(--plate-text);
|
|
10447
|
+
}
|
|
10448
|
+
|
|
10449
|
+
.muka-license-plate-input__plate--sm .muka-license-plate-input__native {
|
|
10450
|
+
font-size: 22px;
|
|
10451
|
+
}
|
|
10452
|
+
|
|
10453
|
+
.muka-license-plate-input__plate--md .muka-license-plate-input__native {
|
|
10454
|
+
font-size: 30px;
|
|
10455
|
+
}
|
|
10456
|
+
|
|
10457
|
+
.muka-license-plate-input__plate--lg .muka-license-plate-input__native {
|
|
10458
|
+
font-size: 42px;
|
|
10459
|
+
}
|
|
10460
|
+
|
|
10461
|
+
.muka-license-plate-input__native::placeholder {
|
|
10462
|
+
color: var(--plate-text);
|
|
10463
|
+
opacity: 0.55;
|
|
10464
|
+
font-weight: 700;
|
|
10465
|
+
letter-spacing: 0.08em;
|
|
10466
|
+
}
|
|
10467
|
+
|
|
10468
|
+
.muka-license-plate-input__plate--disabled .muka-license-plate-input__native {
|
|
10469
|
+
cursor: not-allowed;
|
|
10470
|
+
}
|
|
10471
|
+
|
|
10472
|
+
/* Helper text */
|
|
10473
|
+
.muka-license-plate-input__helper {
|
|
10474
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
10475
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
10476
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
10477
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
10478
|
+
color: var(--color-text-subtle-default);
|
|
10479
|
+
margin: 0;
|
|
10480
|
+
}
|
|
10481
|
+
|
|
10482
|
+
/* Error message */
|
|
10483
|
+
.muka-license-plate-input__error {
|
|
10484
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
10485
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
10486
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
10487
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
10488
|
+
color: var(--color-state-error-default);
|
|
10489
|
+
margin: 0;
|
|
10490
|
+
}
|
|
10491
|
+
|
|
10492
|
+
|
|
10493
|
+
/* ListItem */
|
|
10494
|
+
/* ListItem Component Styles - Using Muka Design Tokens */
|
|
10495
|
+
|
|
10496
|
+
/* Base list item styles */
|
|
10497
|
+
.muka-listitem {
|
|
10498
|
+
/* Layout */
|
|
10499
|
+
display: flex;
|
|
10500
|
+
align-items: flex-start;
|
|
10501
|
+
gap: var(--spacing-4);
|
|
10502
|
+
padding: var(--spacing-5) var(--spacing-4);
|
|
10503
|
+
|
|
10504
|
+
/* Background - using semantic tokens */
|
|
10505
|
+
background-color: var(--color-surface-level3);
|
|
10506
|
+
|
|
10507
|
+
/* Typography */
|
|
10508
|
+
font-family: var(--alias-font-brand-family);
|
|
10509
|
+
|
|
10510
|
+
/* Border and spacing */
|
|
10511
|
+
border: none;
|
|
10512
|
+
position: relative;
|
|
10513
|
+
|
|
10514
|
+
/* Interaction - only apply if interactive */
|
|
10515
|
+
transition: background-color 0.2s ease, box-shadow 0.2s ease;
|
|
10516
|
+
}
|
|
10517
|
+
|
|
10518
|
+
/* Interactive state */
|
|
10519
|
+
.muka-listitem--interactive {
|
|
10520
|
+
cursor: pointer;
|
|
10521
|
+
}
|
|
10522
|
+
|
|
10523
|
+
/*
|
|
10524
|
+
* surface.hover / surface.pressed are theme-adaptive translucent tints, so they
|
|
10525
|
+
* are layered on top of the item's base surface via an inset box-shadow overlay
|
|
10526
|
+
* rather than replacing background-color. This preserves the base level (level3,
|
|
10527
|
+
* or level2 when selected) and lets the tint read correctly on any surface.
|
|
10528
|
+
*/
|
|
10529
|
+
.muka-listitem--interactive:hover:not(:disabled):not(.muka-listitem--disabled) {
|
|
10530
|
+
box-shadow: inset 0 0 0 9999px var(--color-surface-hover);
|
|
10277
10531
|
}
|
|
10278
10532
|
|
|
10279
10533
|
.muka-listitem--interactive:active:not(:disabled):not(.muka-listitem--disabled),
|
|
@@ -10556,214 +10810,21 @@ li.muka-listitem {
|
|
|
10556
10810
|
}
|
|
10557
10811
|
|
|
10558
10812
|
|
|
10559
|
-
/*
|
|
10560
|
-
/*
|
|
10561
|
-
*
|
|
10562
|
-
* Plate body colors are regulatory (EU/NL) and intentionally fixed:
|
|
10563
|
-
* - Plate yellow: #F0CE3D
|
|
10564
|
-
* - EU strip blue: #003399
|
|
10565
|
-
* - EU stars yellow: #FFCC00
|
|
10566
|
-
* - Plate text: #1A1A1A
|
|
10567
|
-
*
|
|
10568
|
-
* All surrounding UI (label, helper, focus ring, error border) uses Muka tokens.
|
|
10569
|
-
*/
|
|
10570
|
-
|
|
10571
|
-
.muka-license-plate-input {
|
|
10572
|
-
--plate-yellow: #f0ce3d;
|
|
10573
|
-
--plate-blue: #003399;
|
|
10574
|
-
--plate-text: #1a1a1a;
|
|
10575
|
-
--plate-stars: #ffcc00;
|
|
10813
|
+
/* Label */
|
|
10814
|
+
/* Label Component Styles - Using Muka Design Tokens */
|
|
10576
10815
|
|
|
10816
|
+
.muka-label {
|
|
10577
10817
|
display: inline-flex;
|
|
10578
|
-
|
|
10579
|
-
|
|
10818
|
+
align-items: center;
|
|
10819
|
+
color: var(--color-text-default-default);
|
|
10820
|
+
cursor: pointer;
|
|
10580
10821
|
}
|
|
10581
10822
|
|
|
10582
|
-
|
|
10583
|
-
|
|
10584
|
-
|
|
10585
|
-
|
|
10586
|
-
|
|
10587
|
-
border-radius: var(--input-field-radius-md);
|
|
10588
|
-
cursor: text;
|
|
10589
|
-
position: relative;
|
|
10590
|
-
overflow: hidden;
|
|
10591
|
-
box-sizing: border-box;
|
|
10592
|
-
/* Subtle outline to lift the plate from light backgrounds */
|
|
10593
|
-
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
|
|
10594
|
-
/* Reserve space for the focus / error solid ring without shifting layout */
|
|
10595
|
-
outline: 3px solid transparent;
|
|
10596
|
-
outline-offset: 2px;
|
|
10597
|
-
transition: outline-color 0.15s ease, opacity 0.15s ease;
|
|
10598
|
-
}
|
|
10599
|
-
|
|
10600
|
-
/* Size variants — plate aspect echoes the real RDW plate (~5:1) */
|
|
10601
|
-
.muka-license-plate-input__plate--sm {
|
|
10602
|
-
height: 44px;
|
|
10603
|
-
min-width: 220px;
|
|
10604
|
-
border-radius: var(--input-field-radius-sm);
|
|
10605
|
-
}
|
|
10606
|
-
|
|
10607
|
-
.muka-license-plate-input__plate--md {
|
|
10608
|
-
height: 60px;
|
|
10609
|
-
min-width: 300px;
|
|
10610
|
-
border-radius: var(--input-field-radius-md);
|
|
10611
|
-
}
|
|
10612
|
-
|
|
10613
|
-
.muka-license-plate-input__plate--lg {
|
|
10614
|
-
height: 80px;
|
|
10615
|
-
min-width: 400px;
|
|
10616
|
-
border-radius: var(--input-field-radius-lg);
|
|
10617
|
-
}
|
|
10618
|
-
|
|
10619
|
-
/* Focus — solid outline ring */
|
|
10620
|
-
.muka-license-plate-input__plate--focused:not(.muka-license-plate-input__plate--disabled) {
|
|
10621
|
-
outline-color: var(--input-field-color-focus-border);
|
|
10622
|
-
}
|
|
10623
|
-
|
|
10624
|
-
/* Error — solid outline ring in error color */
|
|
10625
|
-
.muka-license-plate-input__plate--error:not(.muka-license-plate-input__plate--disabled) {
|
|
10626
|
-
outline-color: var(--input-field-color-error-border);
|
|
10627
|
-
}
|
|
10628
|
-
|
|
10629
|
-
/* Disabled */
|
|
10630
|
-
.muka-license-plate-input__plate--disabled {
|
|
10631
|
-
cursor: not-allowed;
|
|
10632
|
-
opacity: 0.55;
|
|
10633
|
-
}
|
|
10634
|
-
|
|
10635
|
-
/* EU strip */
|
|
10636
|
-
.muka-license-plate-input__eu-strip {
|
|
10637
|
-
display: inline-flex;
|
|
10638
|
-
flex-direction: column;
|
|
10639
|
-
align-items: center;
|
|
10640
|
-
justify-content: center;
|
|
10641
|
-
background-color: var(--plate-blue);
|
|
10642
|
-
color: #ffffff;
|
|
10643
|
-
flex-shrink: 0;
|
|
10644
|
-
padding: 0 0.4em;
|
|
10645
|
-
gap: 0.15em;
|
|
10646
|
-
/* Strip width scales with plate height for a consistent ratio */
|
|
10647
|
-
width: 14%;
|
|
10648
|
-
min-width: 36px;
|
|
10649
|
-
}
|
|
10650
|
-
|
|
10651
|
-
.muka-license-plate-input__eu-stars {
|
|
10652
|
-
width: 60%;
|
|
10653
|
-
max-width: 28px;
|
|
10654
|
-
aspect-ratio: 1 / 1;
|
|
10655
|
-
display: block;
|
|
10656
|
-
}
|
|
10657
|
-
|
|
10658
|
-
.muka-license-plate-input__plate--sm .muka-license-plate-input__eu-stars {
|
|
10659
|
-
max-width: 20px;
|
|
10660
|
-
}
|
|
10661
|
-
|
|
10662
|
-
.muka-license-plate-input__plate--lg .muka-license-plate-input__eu-stars {
|
|
10663
|
-
max-width: 36px;
|
|
10664
|
-
}
|
|
10665
|
-
|
|
10666
|
-
.muka-license-plate-input__country-code {
|
|
10667
|
-
font-family:
|
|
10668
|
-
'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
10669
|
-
font-weight: 700;
|
|
10670
|
-
letter-spacing: 0.04em;
|
|
10671
|
-
line-height: 1;
|
|
10672
|
-
color: #ffffff;
|
|
10673
|
-
}
|
|
10674
|
-
|
|
10675
|
-
.muka-license-plate-input__plate--sm .muka-license-plate-input__country-code {
|
|
10676
|
-
font-size: 10px;
|
|
10677
|
-
}
|
|
10678
|
-
|
|
10679
|
-
.muka-license-plate-input__plate--md .muka-license-plate-input__country-code {
|
|
10680
|
-
font-size: 13px;
|
|
10681
|
-
}
|
|
10682
|
-
|
|
10683
|
-
.muka-license-plate-input__plate--lg .muka-license-plate-input__country-code {
|
|
10684
|
-
font-size: 16px;
|
|
10685
|
-
}
|
|
10686
|
-
|
|
10687
|
-
/* Native input */
|
|
10688
|
-
.muka-license-plate-input__native {
|
|
10689
|
-
flex: 1;
|
|
10690
|
-
min-width: 0;
|
|
10691
|
-
border: none;
|
|
10692
|
-
outline: none;
|
|
10693
|
-
background: transparent;
|
|
10694
|
-
color: var(--plate-text);
|
|
10695
|
-
text-align: center;
|
|
10696
|
-
text-transform: uppercase;
|
|
10697
|
-
letter-spacing: 0.06em;
|
|
10698
|
-
/* Plate font — bold condensed sans is closest to the FE-Schrift look without
|
|
10699
|
-
shipping a custom font. JetBrains Mono is the system mono brand font. */
|
|
10700
|
-
font-family:
|
|
10701
|
-
'Arial Narrow', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
10702
|
-
font-weight: 800;
|
|
10703
|
-
padding: 0 0.5em;
|
|
10704
|
-
width: 100%;
|
|
10705
|
-
caret-color: var(--plate-text);
|
|
10706
|
-
}
|
|
10707
|
-
|
|
10708
|
-
.muka-license-plate-input__plate--sm .muka-license-plate-input__native {
|
|
10709
|
-
font-size: 22px;
|
|
10710
|
-
}
|
|
10711
|
-
|
|
10712
|
-
.muka-license-plate-input__plate--md .muka-license-plate-input__native {
|
|
10713
|
-
font-size: 30px;
|
|
10714
|
-
}
|
|
10715
|
-
|
|
10716
|
-
.muka-license-plate-input__plate--lg .muka-license-plate-input__native {
|
|
10717
|
-
font-size: 42px;
|
|
10718
|
-
}
|
|
10719
|
-
|
|
10720
|
-
.muka-license-plate-input__native::placeholder {
|
|
10721
|
-
color: var(--plate-text);
|
|
10722
|
-
opacity: 0.55;
|
|
10723
|
-
font-weight: 700;
|
|
10724
|
-
letter-spacing: 0.08em;
|
|
10725
|
-
}
|
|
10726
|
-
|
|
10727
|
-
.muka-license-plate-input__plate--disabled .muka-license-plate-input__native {
|
|
10728
|
-
cursor: not-allowed;
|
|
10729
|
-
}
|
|
10730
|
-
|
|
10731
|
-
/* Helper text */
|
|
10732
|
-
.muka-license-plate-input__helper {
|
|
10733
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
10734
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
10735
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
10736
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
10737
|
-
color: var(--color-text-subtle-default);
|
|
10738
|
-
margin: 0;
|
|
10739
|
-
}
|
|
10740
|
-
|
|
10741
|
-
/* Error message */
|
|
10742
|
-
.muka-license-plate-input__error {
|
|
10743
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
10744
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
10745
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
10746
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
10747
|
-
color: var(--color-state-error-default);
|
|
10748
|
-
margin: 0;
|
|
10749
|
-
}
|
|
10750
|
-
|
|
10751
|
-
|
|
10752
|
-
/* Label */
|
|
10753
|
-
/* Label Component Styles - Using Muka Design Tokens */
|
|
10754
|
-
|
|
10755
|
-
.muka-label {
|
|
10756
|
-
display: inline-flex;
|
|
10757
|
-
align-items: center;
|
|
10758
|
-
color: var(--color-text-default-default);
|
|
10759
|
-
cursor: pointer;
|
|
10760
|
-
}
|
|
10761
|
-
|
|
10762
|
-
.muka-label--sm {
|
|
10763
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
10764
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
10765
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
10766
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
10823
|
+
.muka-label--sm {
|
|
10824
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
10825
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
10826
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
10827
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
10767
10828
|
}
|
|
10768
10829
|
|
|
10769
10830
|
.muka-label--md {
|
|
@@ -11304,284 +11365,22 @@ li.muka-listitem {
|
|
|
11304
11365
|
|
|
11305
11366
|
|
|
11306
11367
|
/* Form */
|
|
11307
|
-
.muka-form {
|
|
11308
|
-
display: flex;
|
|
11309
|
-
flex-direction: column;
|
|
11310
|
-
width: 100%;
|
|
11311
|
-
}
|
|
11312
|
-
|
|
11313
|
-
.muka-form--gap-sm {
|
|
11314
|
-
gap: var(--size-sm);
|
|
11315
|
-
}
|
|
11316
|
-
|
|
11317
|
-
.muka-form--gap-md {
|
|
11318
|
-
gap: var(--size-md);
|
|
11319
|
-
}
|
|
11320
|
-
|
|
11321
|
-
.muka-form--gap-lg {
|
|
11322
|
-
gap: var(--size-lg);
|
|
11323
|
-
}
|
|
11324
|
-
|
|
11325
|
-
|
|
11326
|
-
/* FileUpload */
|
|
11327
|
-
/* FileUpload Component Styles */
|
|
11328
|
-
|
|
11329
|
-
.muka-fileupload-wrapper {
|
|
11330
|
-
display: flex;
|
|
11331
|
-
flex-direction: column;
|
|
11332
|
-
gap: var(--spacing-3);
|
|
11333
|
-
width: 100%;
|
|
11334
|
-
}
|
|
11335
|
-
|
|
11336
|
-
/* Dropzone */
|
|
11337
|
-
.muka-fileupload {
|
|
11338
|
-
display: flex;
|
|
11339
|
-
flex-direction: column;
|
|
11340
|
-
align-items: center;
|
|
11341
|
-
justify-content: center;
|
|
11342
|
-
gap: var(--fileupload-dropzone-gap);
|
|
11343
|
-
padding: var(--fileupload-dropzone-padding-md);
|
|
11344
|
-
background-color: var(--fileupload-dropzone-color-default-background);
|
|
11345
|
-
border: var(--fileupload-dropzone-border-width) dashed var(--fileupload-dropzone-color-default-border);
|
|
11346
|
-
border-radius: var(--fileupload-dropzone-radius);
|
|
11347
|
-
cursor: pointer;
|
|
11348
|
-
transition: background-color 0.2s ease, border-color 0.2s ease;
|
|
11349
|
-
text-align: center;
|
|
11350
|
-
min-height: 120px;
|
|
11351
|
-
}
|
|
11352
|
-
|
|
11353
|
-
.muka-fileupload:focus-visible {
|
|
11354
|
-
outline: 2px solid var(--color-border-focus);
|
|
11355
|
-
outline-offset: 2px;
|
|
11356
|
-
}
|
|
11357
|
-
|
|
11358
|
-
/* Size variants */
|
|
11359
|
-
.muka-fileupload--sm {
|
|
11360
|
-
padding: var(--fileupload-dropzone-padding-sm);
|
|
11361
|
-
min-height: 80px;
|
|
11362
|
-
}
|
|
11363
|
-
|
|
11364
|
-
.muka-fileupload--lg {
|
|
11365
|
-
padding: var(--fileupload-dropzone-padding-lg);
|
|
11366
|
-
min-height: 160px;
|
|
11367
|
-
}
|
|
11368
|
-
|
|
11369
|
-
/* Button variant */
|
|
11370
|
-
.muka-fileupload--button {
|
|
11371
|
-
flex-direction: row;
|
|
11372
|
-
min-height: auto;
|
|
11373
|
-
padding: var(--spacing-2) var(--spacing-3);
|
|
11374
|
-
border-style: solid;
|
|
11375
|
-
border-width: var(--border-width-regular);
|
|
11376
|
-
border-radius: var(--border-radius-md);
|
|
11377
|
-
}
|
|
11378
|
-
|
|
11379
|
-
/* Hover state */
|
|
11380
|
-
.muka-fileupload:hover:not(.muka-fileupload--disabled) {
|
|
11381
|
-
background-color: var(--fileupload-dropzone-color-hover-background);
|
|
11382
|
-
border-color: var(--fileupload-dropzone-color-hover-border);
|
|
11383
|
-
}
|
|
11384
|
-
|
|
11385
|
-
/* Active/drag state */
|
|
11386
|
-
.muka-fileupload--active:not(.muka-fileupload--disabled) {
|
|
11387
|
-
background-color: var(--fileupload-dropzone-color-active-background);
|
|
11388
|
-
border-color: var(--fileupload-dropzone-color-active-border);
|
|
11389
|
-
}
|
|
11390
|
-
|
|
11391
|
-
/* Disabled state */
|
|
11392
|
-
.muka-fileupload--disabled {
|
|
11393
|
-
background-color: var(--fileupload-dropzone-color-disabled-background);
|
|
11394
|
-
border-color: var(--fileupload-dropzone-color-disabled-border);
|
|
11395
|
-
cursor: not-allowed;
|
|
11396
|
-
opacity: 0.6;
|
|
11397
|
-
}
|
|
11398
|
-
|
|
11399
|
-
/* Hidden file input */
|
|
11400
|
-
.muka-fileupload__input {
|
|
11401
|
-
position: absolute;
|
|
11402
|
-
width: 1px;
|
|
11403
|
-
height: 1px;
|
|
11404
|
-
padding: 0;
|
|
11405
|
-
margin: -1px;
|
|
11406
|
-
overflow: hidden;
|
|
11407
|
-
clip: rect(0, 0, 0, 0);
|
|
11408
|
-
white-space: nowrap;
|
|
11409
|
-
border: 0;
|
|
11410
|
-
}
|
|
11411
|
-
|
|
11412
|
-
/* Content container */
|
|
11413
|
-
.muka-fileupload__content {
|
|
11414
|
-
display: flex;
|
|
11415
|
-
flex-direction: column;
|
|
11416
|
-
align-items: center;
|
|
11417
|
-
gap: var(--spacing-2);
|
|
11418
|
-
}
|
|
11419
|
-
|
|
11420
|
-
/* Upload icon */
|
|
11421
|
-
.muka-fileupload__icon {
|
|
11422
|
-
display: flex;
|
|
11423
|
-
align-items: center;
|
|
11424
|
-
justify-content: center;
|
|
11425
|
-
width: var(--size-3xl);
|
|
11426
|
-
height: var(--size-3xl);
|
|
11427
|
-
color: var(--fileupload-dropzone-color-default-foreground);
|
|
11428
|
-
}
|
|
11429
|
-
|
|
11430
|
-
.muka-fileupload__icon svg {
|
|
11431
|
-
width: 100%;
|
|
11432
|
-
height: 100%;
|
|
11433
|
-
}
|
|
11434
|
-
|
|
11435
|
-
.muka-fileupload--sm .muka-fileupload__icon {
|
|
11436
|
-
width: var(--size-2xl);
|
|
11437
|
-
height: var(--size-2xl);
|
|
11438
|
-
}
|
|
11439
|
-
|
|
11440
|
-
.muka-fileupload--lg .muka-fileupload__icon {
|
|
11441
|
-
width: var(--size-4xl);
|
|
11442
|
-
height: var(--size-4xl);
|
|
11443
|
-
}
|
|
11444
|
-
|
|
11445
|
-
/* Text */
|
|
11446
|
-
.muka-fileupload__text {
|
|
11447
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
11448
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
11449
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
11450
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
11451
|
-
color: var(--color-text-default-default);
|
|
11452
|
-
}
|
|
11453
|
-
|
|
11454
|
-
.muka-fileupload--sm .muka-fileupload__text {
|
|
11455
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
11456
|
-
}
|
|
11457
|
-
|
|
11458
|
-
/* Hint text */
|
|
11459
|
-
.muka-fileupload__hint {
|
|
11460
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
11461
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
11462
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
11463
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
11464
|
-
color: var(--fileupload-dropzone-color-default-foreground);
|
|
11465
|
-
}
|
|
11466
|
-
|
|
11467
|
-
/* File list */
|
|
11468
|
-
.muka-fileupload__list {
|
|
11469
|
-
display: flex;
|
|
11470
|
-
flex-direction: column;
|
|
11471
|
-
gap: var(--spacing-2);
|
|
11472
|
-
list-style: none;
|
|
11473
|
-
margin: 0;
|
|
11474
|
-
padding: 0;
|
|
11475
|
-
}
|
|
11476
|
-
|
|
11477
|
-
.muka-fileupload__list li {
|
|
11478
|
-
margin: 0;
|
|
11479
|
-
padding: 0;
|
|
11480
|
-
}
|
|
11481
|
-
|
|
11482
|
-
/* File item */
|
|
11483
|
-
.muka-fileupload-item {
|
|
11484
|
-
display: flex;
|
|
11485
|
-
align-items: center;
|
|
11486
|
-
gap: var(--fileupload-item-gap);
|
|
11487
|
-
padding: var(--fileupload-item-padding-y) var(--fileupload-item-padding-x);
|
|
11488
|
-
background-color: var(--fileupload-item-color-default-background);
|
|
11489
|
-
border-radius: var(--fileupload-item-radius);
|
|
11490
|
-
}
|
|
11491
|
-
|
|
11492
|
-
.muka-fileupload-item--error {
|
|
11493
|
-
background-color: var(--fileupload-item-color-error-background);
|
|
11494
|
-
}
|
|
11495
|
-
|
|
11496
|
-
.muka-fileupload-item--success {
|
|
11497
|
-
background-color: var(--fileupload-item-color-default-background);
|
|
11498
|
-
}
|
|
11499
|
-
|
|
11500
|
-
/* Preview/Icon container */
|
|
11501
|
-
.muka-fileupload-item__preview {
|
|
11502
|
-
display: flex;
|
|
11503
|
-
align-items: center;
|
|
11504
|
-
justify-content: center;
|
|
11505
|
-
flex-shrink: 0;
|
|
11506
|
-
width: var(--fileupload-preview-size);
|
|
11507
|
-
height: var(--fileupload-preview-size);
|
|
11508
|
-
border-radius: var(--fileupload-preview-radius);
|
|
11509
|
-
overflow: hidden;
|
|
11510
|
-
background-color: var(--color-surface-level1);
|
|
11511
|
-
}
|
|
11512
|
-
|
|
11513
|
-
.muka-fileupload-item__thumbnail {
|
|
11514
|
-
width: 100%;
|
|
11515
|
-
height: 100%;
|
|
11516
|
-
object-fit: cover;
|
|
11517
|
-
}
|
|
11518
|
-
|
|
11519
|
-
.muka-fileupload-item__icon {
|
|
11520
|
-
color: var(--color-text-subtle-default);
|
|
11521
|
-
}
|
|
11522
|
-
|
|
11523
|
-
/* File info */
|
|
11524
|
-
.muka-fileupload-item__info {
|
|
11525
|
-
flex: 1;
|
|
11526
|
-
min-width: 0;
|
|
11527
|
-
display: flex;
|
|
11528
|
-
flex-direction: column;
|
|
11529
|
-
gap: var(--spacing-1);
|
|
11530
|
-
}
|
|
11531
|
-
|
|
11532
|
-
.muka-fileupload-item__name {
|
|
11533
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
11534
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
11535
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
11536
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
11537
|
-
color: var(--fileupload-item-color-default-foreground);
|
|
11538
|
-
white-space: nowrap;
|
|
11539
|
-
overflow: hidden;
|
|
11540
|
-
text-overflow: ellipsis;
|
|
11541
|
-
}
|
|
11542
|
-
|
|
11543
|
-
.muka-fileupload-item--error .muka-fileupload-item__name {
|
|
11544
|
-
color: var(--fileupload-item-color-error-foreground);
|
|
11545
|
-
}
|
|
11546
|
-
|
|
11547
|
-
.muka-fileupload-item__meta {
|
|
11548
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
11549
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
11550
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
11551
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
11552
|
-
color: var(--color-text-subtle-default);
|
|
11553
|
-
}
|
|
11554
|
-
|
|
11555
|
-
.muka-fileupload-item__error {
|
|
11556
|
-
color: var(--fileupload-item-color-error-foreground);
|
|
11557
|
-
}
|
|
11558
|
-
|
|
11559
|
-
.muka-fileupload-item__progress {
|
|
11560
|
-
margin-top: var(--spacing-1);
|
|
11561
|
-
}
|
|
11562
|
-
|
|
11563
|
-
/* Actions */
|
|
11564
|
-
.muka-fileupload-item__actions {
|
|
11565
|
-
display: flex;
|
|
11566
|
-
align-items: center;
|
|
11567
|
-
gap: var(--spacing-2);
|
|
11568
|
-
flex-shrink: 0;
|
|
11569
|
-
}
|
|
11570
|
-
|
|
11571
|
-
.muka-fileupload-item__status-icon--success {
|
|
11572
|
-
color: var(--fileupload-item-color-success-foreground);
|
|
11368
|
+
.muka-form {
|
|
11369
|
+
display: flex;
|
|
11370
|
+
flex-direction: column;
|
|
11371
|
+
width: 100%;
|
|
11573
11372
|
}
|
|
11574
11373
|
|
|
11575
|
-
.muka-
|
|
11576
|
-
|
|
11374
|
+
.muka-form--gap-sm {
|
|
11375
|
+
gap: var(--size-sm);
|
|
11577
11376
|
}
|
|
11578
11377
|
|
|
11579
|
-
.muka-
|
|
11580
|
-
|
|
11378
|
+
.muka-form--gap-md {
|
|
11379
|
+
gap: var(--size-md);
|
|
11581
11380
|
}
|
|
11582
11381
|
|
|
11583
|
-
.muka-
|
|
11584
|
-
|
|
11382
|
+
.muka-form--gap-lg {
|
|
11383
|
+
gap: var(--size-lg);
|
|
11585
11384
|
}
|
|
11586
11385
|
|
|
11587
11386
|
|
|
@@ -11829,41 +11628,303 @@ li.muka-listitem {
|
|
|
11829
11628
|
line-height: var(--text-heading-md-lineHeight);
|
|
11830
11629
|
}
|
|
11831
11630
|
|
|
11832
|
-
/* Description */
|
|
11833
|
-
.muka-emptystate__description {
|
|
11834
|
-
color: var(--emptystate-description-color);
|
|
11835
|
-
margin: 0;
|
|
11631
|
+
/* Description */
|
|
11632
|
+
.muka-emptystate__description {
|
|
11633
|
+
color: var(--emptystate-description-color);
|
|
11634
|
+
margin: 0;
|
|
11635
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
11636
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
11637
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
11638
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
11639
|
+
}
|
|
11640
|
+
|
|
11641
|
+
.muka-emptystate--md .muka-emptystate__description {
|
|
11642
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
11643
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
11644
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
11645
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
11646
|
+
}
|
|
11647
|
+
|
|
11648
|
+
.muka-emptystate--lg .muka-emptystate__description {
|
|
11649
|
+
font-family: var(--text-body-lg-regular-fontFamily);
|
|
11650
|
+
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
11651
|
+
font-size: var(--text-body-lg-regular-fontSize);
|
|
11652
|
+
line-height: var(--text-body-lg-regular-lineHeight);
|
|
11653
|
+
}
|
|
11654
|
+
|
|
11655
|
+
/* Actions */
|
|
11656
|
+
.muka-emptystate__actions {
|
|
11657
|
+
display: flex;
|
|
11658
|
+
gap: var(--emptystate-actions-gap);
|
|
11659
|
+
margin-top: var(--emptystate-actions-marginTop);
|
|
11660
|
+
flex-wrap: wrap;
|
|
11661
|
+
justify-content: center;
|
|
11662
|
+
}
|
|
11663
|
+
|
|
11664
|
+
.muka-emptystate--left .muka-emptystate__actions {
|
|
11665
|
+
justify-content: flex-start;
|
|
11666
|
+
}
|
|
11667
|
+
|
|
11668
|
+
|
|
11669
|
+
/* FileUpload */
|
|
11670
|
+
/* FileUpload Component Styles */
|
|
11671
|
+
|
|
11672
|
+
.muka-fileupload-wrapper {
|
|
11673
|
+
display: flex;
|
|
11674
|
+
flex-direction: column;
|
|
11675
|
+
gap: var(--spacing-3);
|
|
11676
|
+
width: 100%;
|
|
11677
|
+
}
|
|
11678
|
+
|
|
11679
|
+
/* Dropzone */
|
|
11680
|
+
.muka-fileupload {
|
|
11681
|
+
display: flex;
|
|
11682
|
+
flex-direction: column;
|
|
11683
|
+
align-items: center;
|
|
11684
|
+
justify-content: center;
|
|
11685
|
+
gap: var(--fileupload-dropzone-gap);
|
|
11686
|
+
padding: var(--fileupload-dropzone-padding-md);
|
|
11687
|
+
background-color: var(--fileupload-dropzone-color-default-background);
|
|
11688
|
+
border: var(--fileupload-dropzone-border-width) dashed var(--fileupload-dropzone-color-default-border);
|
|
11689
|
+
border-radius: var(--fileupload-dropzone-radius);
|
|
11690
|
+
cursor: pointer;
|
|
11691
|
+
transition: background-color 0.2s ease, border-color 0.2s ease;
|
|
11692
|
+
text-align: center;
|
|
11693
|
+
min-height: 120px;
|
|
11694
|
+
}
|
|
11695
|
+
|
|
11696
|
+
.muka-fileupload:focus-visible {
|
|
11697
|
+
outline: 2px solid var(--color-border-focus);
|
|
11698
|
+
outline-offset: 2px;
|
|
11699
|
+
}
|
|
11700
|
+
|
|
11701
|
+
/* Size variants */
|
|
11702
|
+
.muka-fileupload--sm {
|
|
11703
|
+
padding: var(--fileupload-dropzone-padding-sm);
|
|
11704
|
+
min-height: 80px;
|
|
11705
|
+
}
|
|
11706
|
+
|
|
11707
|
+
.muka-fileupload--lg {
|
|
11708
|
+
padding: var(--fileupload-dropzone-padding-lg);
|
|
11709
|
+
min-height: 160px;
|
|
11710
|
+
}
|
|
11711
|
+
|
|
11712
|
+
/* Button variant */
|
|
11713
|
+
.muka-fileupload--button {
|
|
11714
|
+
flex-direction: row;
|
|
11715
|
+
min-height: auto;
|
|
11716
|
+
padding: var(--spacing-2) var(--spacing-3);
|
|
11717
|
+
border-style: solid;
|
|
11718
|
+
border-width: var(--border-width-regular);
|
|
11719
|
+
border-radius: var(--border-radius-md);
|
|
11720
|
+
}
|
|
11721
|
+
|
|
11722
|
+
/* Hover state */
|
|
11723
|
+
.muka-fileupload:hover:not(.muka-fileupload--disabled) {
|
|
11724
|
+
background-color: var(--fileupload-dropzone-color-hover-background);
|
|
11725
|
+
border-color: var(--fileupload-dropzone-color-hover-border);
|
|
11726
|
+
}
|
|
11727
|
+
|
|
11728
|
+
/* Active/drag state */
|
|
11729
|
+
.muka-fileupload--active:not(.muka-fileupload--disabled) {
|
|
11730
|
+
background-color: var(--fileupload-dropzone-color-active-background);
|
|
11731
|
+
border-color: var(--fileupload-dropzone-color-active-border);
|
|
11732
|
+
}
|
|
11733
|
+
|
|
11734
|
+
/* Disabled state */
|
|
11735
|
+
.muka-fileupload--disabled {
|
|
11736
|
+
background-color: var(--fileupload-dropzone-color-disabled-background);
|
|
11737
|
+
border-color: var(--fileupload-dropzone-color-disabled-border);
|
|
11738
|
+
cursor: not-allowed;
|
|
11739
|
+
opacity: 0.6;
|
|
11740
|
+
}
|
|
11741
|
+
|
|
11742
|
+
/* Hidden file input */
|
|
11743
|
+
.muka-fileupload__input {
|
|
11744
|
+
position: absolute;
|
|
11745
|
+
width: 1px;
|
|
11746
|
+
height: 1px;
|
|
11747
|
+
padding: 0;
|
|
11748
|
+
margin: -1px;
|
|
11749
|
+
overflow: hidden;
|
|
11750
|
+
clip: rect(0, 0, 0, 0);
|
|
11751
|
+
white-space: nowrap;
|
|
11752
|
+
border: 0;
|
|
11753
|
+
}
|
|
11754
|
+
|
|
11755
|
+
/* Content container */
|
|
11756
|
+
.muka-fileupload__content {
|
|
11757
|
+
display: flex;
|
|
11758
|
+
flex-direction: column;
|
|
11759
|
+
align-items: center;
|
|
11760
|
+
gap: var(--spacing-2);
|
|
11761
|
+
}
|
|
11762
|
+
|
|
11763
|
+
/* Upload icon */
|
|
11764
|
+
.muka-fileupload__icon {
|
|
11765
|
+
display: flex;
|
|
11766
|
+
align-items: center;
|
|
11767
|
+
justify-content: center;
|
|
11768
|
+
width: var(--size-3xl);
|
|
11769
|
+
height: var(--size-3xl);
|
|
11770
|
+
color: var(--fileupload-dropzone-color-default-foreground);
|
|
11771
|
+
}
|
|
11772
|
+
|
|
11773
|
+
.muka-fileupload__icon svg {
|
|
11774
|
+
width: 100%;
|
|
11775
|
+
height: 100%;
|
|
11776
|
+
}
|
|
11777
|
+
|
|
11778
|
+
.muka-fileupload--sm .muka-fileupload__icon {
|
|
11779
|
+
width: var(--size-2xl);
|
|
11780
|
+
height: var(--size-2xl);
|
|
11781
|
+
}
|
|
11782
|
+
|
|
11783
|
+
.muka-fileupload--lg .muka-fileupload__icon {
|
|
11784
|
+
width: var(--size-4xl);
|
|
11785
|
+
height: var(--size-4xl);
|
|
11786
|
+
}
|
|
11787
|
+
|
|
11788
|
+
/* Text */
|
|
11789
|
+
.muka-fileupload__text {
|
|
11790
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
11791
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
11792
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
11793
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
11794
|
+
color: var(--color-text-default-default);
|
|
11795
|
+
}
|
|
11796
|
+
|
|
11797
|
+
.muka-fileupload--sm .muka-fileupload__text {
|
|
11798
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
11799
|
+
}
|
|
11800
|
+
|
|
11801
|
+
/* Hint text */
|
|
11802
|
+
.muka-fileupload__hint {
|
|
11803
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
11804
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
11805
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
11806
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
11807
|
+
color: var(--fileupload-dropzone-color-default-foreground);
|
|
11808
|
+
}
|
|
11809
|
+
|
|
11810
|
+
/* File list */
|
|
11811
|
+
.muka-fileupload__list {
|
|
11812
|
+
display: flex;
|
|
11813
|
+
flex-direction: column;
|
|
11814
|
+
gap: var(--spacing-2);
|
|
11815
|
+
list-style: none;
|
|
11816
|
+
margin: 0;
|
|
11817
|
+
padding: 0;
|
|
11818
|
+
}
|
|
11819
|
+
|
|
11820
|
+
.muka-fileupload__list li {
|
|
11821
|
+
margin: 0;
|
|
11822
|
+
padding: 0;
|
|
11823
|
+
}
|
|
11824
|
+
|
|
11825
|
+
/* File item */
|
|
11826
|
+
.muka-fileupload-item {
|
|
11827
|
+
display: flex;
|
|
11828
|
+
align-items: center;
|
|
11829
|
+
gap: var(--fileupload-item-gap);
|
|
11830
|
+
padding: var(--fileupload-item-padding-y) var(--fileupload-item-padding-x);
|
|
11831
|
+
background-color: var(--fileupload-item-color-default-background);
|
|
11832
|
+
border-radius: var(--fileupload-item-radius);
|
|
11833
|
+
}
|
|
11834
|
+
|
|
11835
|
+
.muka-fileupload-item--error {
|
|
11836
|
+
background-color: var(--fileupload-item-color-error-background);
|
|
11837
|
+
}
|
|
11838
|
+
|
|
11839
|
+
.muka-fileupload-item--success {
|
|
11840
|
+
background-color: var(--fileupload-item-color-default-background);
|
|
11841
|
+
}
|
|
11842
|
+
|
|
11843
|
+
/* Preview/Icon container */
|
|
11844
|
+
.muka-fileupload-item__preview {
|
|
11845
|
+
display: flex;
|
|
11846
|
+
align-items: center;
|
|
11847
|
+
justify-content: center;
|
|
11848
|
+
flex-shrink: 0;
|
|
11849
|
+
width: var(--fileupload-preview-size);
|
|
11850
|
+
height: var(--fileupload-preview-size);
|
|
11851
|
+
border-radius: var(--fileupload-preview-radius);
|
|
11852
|
+
overflow: hidden;
|
|
11853
|
+
background-color: var(--color-surface-level1);
|
|
11854
|
+
}
|
|
11855
|
+
|
|
11856
|
+
.muka-fileupload-item__thumbnail {
|
|
11857
|
+
width: 100%;
|
|
11858
|
+
height: 100%;
|
|
11859
|
+
object-fit: cover;
|
|
11860
|
+
}
|
|
11861
|
+
|
|
11862
|
+
.muka-fileupload-item__icon {
|
|
11863
|
+
color: var(--color-text-subtle-default);
|
|
11864
|
+
}
|
|
11865
|
+
|
|
11866
|
+
/* File info */
|
|
11867
|
+
.muka-fileupload-item__info {
|
|
11868
|
+
flex: 1;
|
|
11869
|
+
min-width: 0;
|
|
11870
|
+
display: flex;
|
|
11871
|
+
flex-direction: column;
|
|
11872
|
+
gap: var(--spacing-1);
|
|
11873
|
+
}
|
|
11874
|
+
|
|
11875
|
+
.muka-fileupload-item__name {
|
|
11836
11876
|
font-family: var(--text-body-sm-regular-fontFamily);
|
|
11837
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
11838
11877
|
font-size: var(--text-body-sm-regular-fontSize);
|
|
11878
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
11839
11879
|
line-height: var(--text-body-sm-regular-lineHeight);
|
|
11880
|
+
color: var(--fileupload-item-color-default-foreground);
|
|
11881
|
+
white-space: nowrap;
|
|
11882
|
+
overflow: hidden;
|
|
11883
|
+
text-overflow: ellipsis;
|
|
11840
11884
|
}
|
|
11841
11885
|
|
|
11842
|
-
.muka-
|
|
11843
|
-
|
|
11844
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
11845
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
11846
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
11886
|
+
.muka-fileupload-item--error .muka-fileupload-item__name {
|
|
11887
|
+
color: var(--fileupload-item-color-error-foreground);
|
|
11847
11888
|
}
|
|
11848
11889
|
|
|
11849
|
-
.muka-
|
|
11850
|
-
font-family: var(--text-
|
|
11851
|
-
font-
|
|
11852
|
-
font-
|
|
11853
|
-
line-height: var(--text-
|
|
11890
|
+
.muka-fileupload-item__meta {
|
|
11891
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
11892
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
11893
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
11894
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
11895
|
+
color: var(--color-text-subtle-default);
|
|
11896
|
+
}
|
|
11897
|
+
|
|
11898
|
+
.muka-fileupload-item__error {
|
|
11899
|
+
color: var(--fileupload-item-color-error-foreground);
|
|
11900
|
+
}
|
|
11901
|
+
|
|
11902
|
+
.muka-fileupload-item__progress {
|
|
11903
|
+
margin-top: var(--spacing-1);
|
|
11854
11904
|
}
|
|
11855
11905
|
|
|
11856
11906
|
/* Actions */
|
|
11857
|
-
.muka-
|
|
11907
|
+
.muka-fileupload-item__actions {
|
|
11858
11908
|
display: flex;
|
|
11859
|
-
|
|
11860
|
-
|
|
11861
|
-
flex-
|
|
11862
|
-
justify-content: center;
|
|
11909
|
+
align-items: center;
|
|
11910
|
+
gap: var(--spacing-2);
|
|
11911
|
+
flex-shrink: 0;
|
|
11863
11912
|
}
|
|
11864
11913
|
|
|
11865
|
-
.muka-
|
|
11866
|
-
|
|
11914
|
+
.muka-fileupload-item__status-icon--success {
|
|
11915
|
+
color: var(--fileupload-item-color-success-foreground);
|
|
11916
|
+
}
|
|
11917
|
+
|
|
11918
|
+
.muka-fileupload-item__status-icon--error {
|
|
11919
|
+
color: var(--fileupload-item-color-error-foreground);
|
|
11920
|
+
}
|
|
11921
|
+
|
|
11922
|
+
.muka-fileupload-item__remove {
|
|
11923
|
+
opacity: 0.7;
|
|
11924
|
+
}
|
|
11925
|
+
|
|
11926
|
+
.muka-fileupload-item__remove:hover {
|
|
11927
|
+
opacity: 1;
|
|
11867
11928
|
}
|
|
11868
11929
|
|
|
11869
11930
|
|
|
@@ -15619,42 +15680,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15619
15680
|
}
|
|
15620
15681
|
|
|
15621
15682
|
|
|
15622
|
-
/* ChatChoiceCard */
|
|
15623
|
-
/* ChatChoiceCard — compact option rows (experimental) */
|
|
15624
|
-
.muka-chat-choice__list {
|
|
15625
|
-
display: flex;
|
|
15626
|
-
flex-direction: column;
|
|
15627
|
-
gap: var(--spacing-2);
|
|
15628
|
-
}
|
|
15629
|
-
|
|
15630
|
-
.muka-chat-choice__row {
|
|
15631
|
-
display: flex;
|
|
15632
|
-
align-items: center;
|
|
15633
|
-
min-height: var(--spacing-8);
|
|
15634
|
-
min-width: 0;
|
|
15635
|
-
}
|
|
15636
|
-
|
|
15637
|
-
.muka-chat-choice__row--other {
|
|
15638
|
-
gap: var(--spacing-2);
|
|
15639
|
-
}
|
|
15640
|
-
|
|
15641
|
-
/* The free-text option: the control, then the field filling the row. */
|
|
15642
|
-
.muka-chat-choice__row--other {
|
|
15643
|
-
flex-wrap: nowrap;
|
|
15644
|
-
}
|
|
15645
|
-
|
|
15646
|
-
.muka-chat-choice__row--other > .muka-radio,
|
|
15647
|
-
.muka-chat-choice__row--other > .muka-checkbox {
|
|
15648
|
-
flex: 0 0 auto;
|
|
15649
|
-
}
|
|
15650
|
-
|
|
15651
|
-
.muka-chat-choice__row--other > .muka-input {
|
|
15652
|
-
flex: 1 1 auto;
|
|
15653
|
-
width: auto;
|
|
15654
|
-
min-width: 0;
|
|
15655
|
-
}
|
|
15656
|
-
|
|
15657
|
-
|
|
15658
15683
|
/* ChatAttachmentChip */
|
|
15659
15684
|
/* ChatAttachmentChip Component Styles */
|
|
15660
15685
|
|
|
@@ -15721,93 +15746,239 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15721
15746
|
color: var(--color-text-subtle-default);
|
|
15722
15747
|
}
|
|
15723
15748
|
|
|
15724
|
-
.muka-chat-attachment-chip__text {
|
|
15725
|
-
display: flex;
|
|
15726
|
-
flex-direction: column;
|
|
15727
|
-
min-width: 0;
|
|
15728
|
-
flex: 1 1 auto;
|
|
15749
|
+
.muka-chat-attachment-chip__text {
|
|
15750
|
+
display: flex;
|
|
15751
|
+
flex-direction: column;
|
|
15752
|
+
min-width: 0;
|
|
15753
|
+
flex: 1 1 auto;
|
|
15754
|
+
}
|
|
15755
|
+
|
|
15756
|
+
.muka-chat-attachment-chip__name {
|
|
15757
|
+
color: var(--color-text-default-default);
|
|
15758
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15759
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15760
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
15761
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15762
|
+
white-space: nowrap;
|
|
15763
|
+
overflow: hidden;
|
|
15764
|
+
text-overflow: ellipsis;
|
|
15765
|
+
}
|
|
15766
|
+
|
|
15767
|
+
.muka-chat-attachment-chip__meta {
|
|
15768
|
+
color: var(--color-text-subtle-default);
|
|
15769
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15770
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15771
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
15772
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15773
|
+
white-space: nowrap;
|
|
15774
|
+
overflow: hidden;
|
|
15775
|
+
text-overflow: ellipsis;
|
|
15776
|
+
}
|
|
15777
|
+
|
|
15778
|
+
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
|
|
15779
|
+
color: var(--color-state-error-default, var(--color-text-default-default));
|
|
15780
|
+
}
|
|
15781
|
+
|
|
15782
|
+
/* ─── Remove button ────────────────────────────────────── */
|
|
15783
|
+
|
|
15784
|
+
.muka-chat-attachment-chip__remove {
|
|
15785
|
+
display: inline-flex;
|
|
15786
|
+
align-items: center;
|
|
15787
|
+
justify-content: center;
|
|
15788
|
+
width: 20px;
|
|
15789
|
+
height: 20px;
|
|
15790
|
+
border: none;
|
|
15791
|
+
background: none;
|
|
15792
|
+
padding: 0;
|
|
15793
|
+
border-radius: var(--radius-sm);
|
|
15794
|
+
cursor: pointer;
|
|
15795
|
+
color: var(--color-text-subtle-default);
|
|
15796
|
+
flex-shrink: 0;
|
|
15797
|
+
-webkit-tap-highlight-color: transparent;
|
|
15798
|
+
}
|
|
15799
|
+
|
|
15800
|
+
.muka-chat-attachment-chip__remove:hover:not(:disabled) {
|
|
15801
|
+
color: var(--color-text-default-default);
|
|
15802
|
+
background-color: var(--color-surface-level2);
|
|
15803
|
+
}
|
|
15804
|
+
|
|
15805
|
+
.muka-chat-attachment-chip__remove:focus-visible {
|
|
15806
|
+
outline: 2px solid var(--color-action-default);
|
|
15807
|
+
outline-offset: 2px;
|
|
15808
|
+
}
|
|
15809
|
+
|
|
15810
|
+
.muka-chat-attachment-chip__remove:disabled {
|
|
15811
|
+
cursor: not-allowed;
|
|
15812
|
+
opacity: 0.5;
|
|
15813
|
+
}
|
|
15814
|
+
|
|
15815
|
+
/* ─── Progress bar ─────────────────────────────────────── */
|
|
15816
|
+
|
|
15817
|
+
.muka-chat-attachment-chip__progress {
|
|
15818
|
+
position: absolute;
|
|
15819
|
+
left: 0;
|
|
15820
|
+
right: 0;
|
|
15821
|
+
bottom: 0;
|
|
15822
|
+
height: 2px;
|
|
15823
|
+
background-color: var(--color-surface-level2);
|
|
15824
|
+
overflow: hidden;
|
|
15825
|
+
}
|
|
15826
|
+
|
|
15827
|
+
.muka-chat-attachment-chip__progress-fill {
|
|
15828
|
+
display: block;
|
|
15829
|
+
height: 100%;
|
|
15830
|
+
background-color: var(--color-action-default);
|
|
15831
|
+
transition: width 0.16s ease;
|
|
15832
|
+
}
|
|
15833
|
+
|
|
15834
|
+
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
|
|
15835
|
+
background-color: var(--color-state-error-default, var(--color-text-default-default));
|
|
15836
|
+
}
|
|
15837
|
+
|
|
15838
|
+
|
|
15839
|
+
/* Card */
|
|
15840
|
+
/* Card Component Styles - Using Muka Design Tokens */
|
|
15841
|
+
|
|
15842
|
+
.muka-card {
|
|
15843
|
+
background-color: var(--card-color-default-background);
|
|
15844
|
+
color: var(--card-color-default-foreground);
|
|
15845
|
+
border: var(--border-width-regular) solid var(--card-color-default-border);
|
|
15846
|
+
box-shadow: var(--card-shadow-default);
|
|
15847
|
+
transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
15848
|
+
overflow: hidden;
|
|
15849
|
+
}
|
|
15850
|
+
|
|
15851
|
+
/* Padding variants */
|
|
15852
|
+
.muka-card--padding-none {
|
|
15853
|
+
padding: 0;
|
|
15854
|
+
}
|
|
15855
|
+
|
|
15856
|
+
.muka-card--padding-sm {
|
|
15857
|
+
padding: var(--card-padding-sm);
|
|
15858
|
+
}
|
|
15859
|
+
|
|
15860
|
+
.muka-card--padding-md {
|
|
15861
|
+
padding: var(--card-padding-md);
|
|
15862
|
+
}
|
|
15863
|
+
|
|
15864
|
+
.muka-card--padding-lg {
|
|
15865
|
+
padding: var(--card-padding-lg);
|
|
15866
|
+
}
|
|
15867
|
+
|
|
15868
|
+
/* Radius variants */
|
|
15869
|
+
.muka-card--radius-sm {
|
|
15870
|
+
border-radius: var(--card-radius-sm);
|
|
15871
|
+
}
|
|
15872
|
+
|
|
15873
|
+
.muka-card--radius-md {
|
|
15874
|
+
border-radius: var(--card-radius-md);
|
|
15875
|
+
}
|
|
15876
|
+
|
|
15877
|
+
.muka-card--radius-lg {
|
|
15878
|
+
border-radius: var(--card-radius-lg);
|
|
15879
|
+
}
|
|
15880
|
+
|
|
15881
|
+
/* Interactive variant */
|
|
15882
|
+
.muka-card--interactive {
|
|
15883
|
+
cursor: pointer;
|
|
15884
|
+
user-select: none;
|
|
15885
|
+
}
|
|
15886
|
+
|
|
15887
|
+
.muka-card--interactive:hover {
|
|
15888
|
+
background-color: var(--card-color-hover-background);
|
|
15889
|
+
border-color: var(--card-color-hover-border);
|
|
15890
|
+
box-shadow: var(--card-shadow-hover);
|
|
15891
|
+
}
|
|
15892
|
+
|
|
15893
|
+
.muka-card--interactive:active,
|
|
15894
|
+
.muka-card--interactive.muka-card--pressed {
|
|
15895
|
+
background-color: var(--card-color-pressed-background);
|
|
15896
|
+
border-color: var(--card-color-pressed-border);
|
|
15897
|
+
box-shadow: var(--card-shadow-pressed);
|
|
15898
|
+
}
|
|
15899
|
+
|
|
15900
|
+
.muka-card--interactive:focus-visible {
|
|
15901
|
+
outline: 2px solid var(--color-border-focus);
|
|
15902
|
+
outline-offset: 2px;
|
|
15903
|
+
}
|
|
15904
|
+
|
|
15905
|
+
/* Selected variant */
|
|
15906
|
+
.muka-card--selected {
|
|
15907
|
+
background-color: var(--card-color-selected-background);
|
|
15908
|
+
border-color: var(--card-color-selected-border);
|
|
15909
|
+
border-width: var(--border-width-bold);
|
|
15910
|
+
box-shadow: var(--card-shadow-selected);
|
|
15729
15911
|
}
|
|
15730
15912
|
|
|
15731
|
-
|
|
15732
|
-
|
|
15733
|
-
|
|
15734
|
-
|
|
15735
|
-
|
|
15736
|
-
|
|
15737
|
-
white-space: nowrap;
|
|
15738
|
-
overflow: hidden;
|
|
15739
|
-
text-overflow: ellipsis;
|
|
15913
|
+
/* Tone: sticky note (MUK-105) */
|
|
15914
|
+
.muka-card--tone-note {
|
|
15915
|
+
background-color: var(--card-color-note-background);
|
|
15916
|
+
color: var(--card-color-note-foreground);
|
|
15917
|
+
border-color: var(--card-color-note-border);
|
|
15918
|
+
box-shadow: var(--card-shadow-note);
|
|
15740
15919
|
}
|
|
15741
15920
|
|
|
15742
|
-
.muka-
|
|
15743
|
-
|
|
15744
|
-
|
|
15745
|
-
|
|
15746
|
-
|
|
15747
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15748
|
-
white-space: nowrap;
|
|
15749
|
-
overflow: hidden;
|
|
15750
|
-
text-overflow: ellipsis;
|
|
15921
|
+
.muka-card--tone-note.muka-card--interactive:hover,
|
|
15922
|
+
.muka-card--tone-note.muka-card--interactive:active,
|
|
15923
|
+
.muka-card--tone-note.muka-card--interactive.muka-card--pressed {
|
|
15924
|
+
background-color: var(--card-color-note-background);
|
|
15925
|
+
border-color: var(--card-color-note-border);
|
|
15751
15926
|
}
|
|
15752
15927
|
|
|
15753
|
-
.muka-
|
|
15754
|
-
|
|
15928
|
+
.muka-card--tilt-left {
|
|
15929
|
+
transform: rotate(-0.75deg);
|
|
15755
15930
|
}
|
|
15756
15931
|
|
|
15757
|
-
|
|
15758
|
-
|
|
15759
|
-
.muka-chat-attachment-chip__remove {
|
|
15760
|
-
display: inline-flex;
|
|
15761
|
-
align-items: center;
|
|
15762
|
-
justify-content: center;
|
|
15763
|
-
width: 20px;
|
|
15764
|
-
height: 20px;
|
|
15765
|
-
border: none;
|
|
15766
|
-
background: none;
|
|
15767
|
-
padding: 0;
|
|
15768
|
-
border-radius: var(--radius-sm);
|
|
15769
|
-
cursor: pointer;
|
|
15770
|
-
color: var(--color-text-subtle-default);
|
|
15771
|
-
flex-shrink: 0;
|
|
15772
|
-
-webkit-tap-highlight-color: transparent;
|
|
15932
|
+
.muka-card--tilt-right {
|
|
15933
|
+
transform: rotate(0.6deg);
|
|
15773
15934
|
}
|
|
15774
15935
|
|
|
15775
|
-
|
|
15776
|
-
|
|
15777
|
-
|
|
15936
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
15937
|
+
.muka-card--tilt-left,
|
|
15938
|
+
.muka-card--tilt-right {
|
|
15939
|
+
transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
15940
|
+
}
|
|
15778
15941
|
}
|
|
15779
15942
|
|
|
15780
|
-
.muka-
|
|
15781
|
-
|
|
15782
|
-
|
|
15943
|
+
.muka-card--interactive.muka-card--tilt-left:hover,
|
|
15944
|
+
.muka-card--interactive.muka-card--tilt-right:hover {
|
|
15945
|
+
transform: none;
|
|
15783
15946
|
}
|
|
15784
15947
|
|
|
15785
|
-
|
|
15786
|
-
|
|
15787
|
-
|
|
15948
|
+
/* Optional header (title + description) */
|
|
15949
|
+
.muka-card__header {
|
|
15950
|
+
margin-bottom: var(--spacing-4);
|
|
15788
15951
|
}
|
|
15789
15952
|
|
|
15790
|
-
|
|
15953
|
+
.muka-card__title {
|
|
15954
|
+
margin: 0;
|
|
15955
|
+
color: var(--color-text-default-default);
|
|
15956
|
+
font-family: var(--text-heading-xs-fontFamily);
|
|
15957
|
+
font-weight: var(--text-heading-xs-fontWeight);
|
|
15958
|
+
font-size: var(--text-heading-xs-fontSize);
|
|
15959
|
+
line-height: var(--text-heading-xs-lineHeight);
|
|
15960
|
+
letter-spacing: var(--text-heading-xs-letterSpacing);
|
|
15961
|
+
}
|
|
15791
15962
|
|
|
15792
|
-
.muka-
|
|
15793
|
-
|
|
15794
|
-
|
|
15795
|
-
|
|
15796
|
-
|
|
15797
|
-
|
|
15798
|
-
|
|
15799
|
-
overflow: hidden;
|
|
15963
|
+
.muka-card__description {
|
|
15964
|
+
margin: var(--spacing-1) 0 0;
|
|
15965
|
+
color: var(--color-text-subtle-default);
|
|
15966
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15967
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15968
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
15969
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15800
15970
|
}
|
|
15801
15971
|
|
|
15802
|
-
|
|
15803
|
-
|
|
15804
|
-
|
|
15805
|
-
background-color: var(--color-action-default);
|
|
15806
|
-
transition: width 0.16s ease;
|
|
15972
|
+
/* Hide divider on last list item inside card */
|
|
15973
|
+
.muka-card > .muka-listitem:last-child > .muka-listitem__divider {
|
|
15974
|
+
display: none;
|
|
15807
15975
|
}
|
|
15808
15976
|
|
|
15809
|
-
|
|
15810
|
-
|
|
15977
|
+
/* Disabled state */
|
|
15978
|
+
.muka-card--disabled {
|
|
15979
|
+
opacity: 0.5;
|
|
15980
|
+
cursor: not-allowed;
|
|
15981
|
+
pointer-events: none;
|
|
15811
15982
|
}
|
|
15812
15983
|
|
|
15813
15984
|
|
|
@@ -16094,220 +16265,74 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
16094
16265
|
width: 100%;
|
|
16095
16266
|
}
|
|
16096
16267
|
|
|
16097
|
-
/* Icons - forced to the Figma per-size dimension regardless of the icon passed */
|
|
16098
|
-
.muka-button__icon {
|
|
16099
|
-
display: inline-flex;
|
|
16100
|
-
align-items: center;
|
|
16101
|
-
justify-content: center;
|
|
16102
|
-
flex-shrink: 0;
|
|
16103
|
-
}
|
|
16104
|
-
|
|
16105
|
-
/* Make the icon content (raw <svg> or a nested Icon span) fill the wrapper.
|
|
16106
|
-
Scoped under .muka-button to outrank Icon.css's own `.muka-icon--{size}`
|
|
16107
|
-
rule, so the button's size wins even when the icon hardcodes its own size. */
|
|
16108
|
-
.muka-button .muka-button__icon > *,
|
|
16109
|
-
.muka-button .muka-button__icon svg {
|
|
16110
|
-
width: 100%;
|
|
16111
|
-
height: 100%;
|
|
16112
|
-
display: block;
|
|
16113
|
-
}
|
|
16114
|
-
|
|
16115
|
-
/* A Spinner in the icon slot keeps its own flex centring: as a block its
|
|
16116
|
-
circle sat at the top of the slot (4px high in an lg icon-only button). */
|
|
16117
|
-
.muka-button .muka-button__icon > .muka-spinner {
|
|
16118
|
-
display: flex;
|
|
16119
|
-
}
|
|
16120
|
-
|
|
16121
|
-
.muka-button--sm .muka-button__icon {
|
|
16122
|
-
width: var(--button-icon-sm);
|
|
16123
|
-
height: var(--button-icon-sm);
|
|
16124
|
-
}
|
|
16125
|
-
|
|
16126
|
-
.muka-button--md .muka-button__icon {
|
|
16127
|
-
width: var(--button-icon-md);
|
|
16128
|
-
height: var(--button-icon-md);
|
|
16129
|
-
}
|
|
16130
|
-
|
|
16131
|
-
.muka-button--lg .muka-button__icon {
|
|
16132
|
-
width: var(--button-icon-lg);
|
|
16133
|
-
height: var(--button-icon-lg);
|
|
16134
|
-
}
|
|
16135
|
-
|
|
16136
|
-
.muka-button--xl .muka-button__icon {
|
|
16137
|
-
width: var(--button-icon-xl);
|
|
16138
|
-
height: var(--button-icon-xl);
|
|
16139
|
-
}
|
|
16140
|
-
|
|
16141
|
-
.muka-button__label {
|
|
16142
|
-
display: inline-flex;
|
|
16143
|
-
align-items: center;
|
|
16144
|
-
}
|
|
16145
|
-
|
|
16146
|
-
/* Icon-only buttons - square, sized to the button height per size */
|
|
16147
|
-
.muka-button--icon-only {
|
|
16148
|
-
padding: 0;
|
|
16149
|
-
}
|
|
16150
|
-
|
|
16151
|
-
.muka-button--icon-only.muka-button--sm {
|
|
16152
|
-
width: 32px;
|
|
16153
|
-
}
|
|
16154
|
-
|
|
16155
|
-
.muka-button--icon-only.muka-button--md {
|
|
16156
|
-
width: 40px;
|
|
16157
|
-
}
|
|
16158
|
-
|
|
16159
|
-
.muka-button--icon-only.muka-button--lg {
|
|
16160
|
-
width: 48px;
|
|
16161
|
-
}
|
|
16162
|
-
|
|
16163
|
-
.muka-button--icon-only.muka-button--xl {
|
|
16164
|
-
width: 64px;
|
|
16165
|
-
}
|
|
16166
|
-
|
|
16167
|
-
|
|
16168
|
-
/* Card */
|
|
16169
|
-
/* Card Component Styles - Using Muka Design Tokens */
|
|
16170
|
-
|
|
16171
|
-
.muka-card {
|
|
16172
|
-
background-color: var(--card-color-default-background);
|
|
16173
|
-
color: var(--card-color-default-foreground);
|
|
16174
|
-
border: var(--border-width-regular) solid var(--card-color-default-border);
|
|
16175
|
-
box-shadow: var(--card-shadow-default);
|
|
16176
|
-
transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
16177
|
-
overflow: hidden;
|
|
16178
|
-
}
|
|
16179
|
-
|
|
16180
|
-
/* Padding variants */
|
|
16181
|
-
.muka-card--padding-none {
|
|
16182
|
-
padding: 0;
|
|
16183
|
-
}
|
|
16184
|
-
|
|
16185
|
-
.muka-card--padding-sm {
|
|
16186
|
-
padding: var(--card-padding-sm);
|
|
16187
|
-
}
|
|
16188
|
-
|
|
16189
|
-
.muka-card--padding-md {
|
|
16190
|
-
padding: var(--card-padding-md);
|
|
16191
|
-
}
|
|
16192
|
-
|
|
16193
|
-
.muka-card--padding-lg {
|
|
16194
|
-
padding: var(--card-padding-lg);
|
|
16195
|
-
}
|
|
16196
|
-
|
|
16197
|
-
/* Radius variants */
|
|
16198
|
-
.muka-card--radius-sm {
|
|
16199
|
-
border-radius: var(--card-radius-sm);
|
|
16200
|
-
}
|
|
16201
|
-
|
|
16202
|
-
.muka-card--radius-md {
|
|
16203
|
-
border-radius: var(--card-radius-md);
|
|
16204
|
-
}
|
|
16205
|
-
|
|
16206
|
-
.muka-card--radius-lg {
|
|
16207
|
-
border-radius: var(--card-radius-lg);
|
|
16208
|
-
}
|
|
16209
|
-
|
|
16210
|
-
/* Interactive variant */
|
|
16211
|
-
.muka-card--interactive {
|
|
16212
|
-
cursor: pointer;
|
|
16213
|
-
user-select: none;
|
|
16214
|
-
}
|
|
16215
|
-
|
|
16216
|
-
.muka-card--interactive:hover {
|
|
16217
|
-
background-color: var(--card-color-hover-background);
|
|
16218
|
-
border-color: var(--card-color-hover-border);
|
|
16219
|
-
box-shadow: var(--card-shadow-hover);
|
|
16220
|
-
}
|
|
16221
|
-
|
|
16222
|
-
.muka-card--interactive:active,
|
|
16223
|
-
.muka-card--interactive.muka-card--pressed {
|
|
16224
|
-
background-color: var(--card-color-pressed-background);
|
|
16225
|
-
border-color: var(--card-color-pressed-border);
|
|
16226
|
-
box-shadow: var(--card-shadow-pressed);
|
|
16227
|
-
}
|
|
16228
|
-
|
|
16229
|
-
.muka-card--interactive:focus-visible {
|
|
16230
|
-
outline: 2px solid var(--color-border-focus);
|
|
16231
|
-
outline-offset: 2px;
|
|
16268
|
+
/* Icons - forced to the Figma per-size dimension regardless of the icon passed */
|
|
16269
|
+
.muka-button__icon {
|
|
16270
|
+
display: inline-flex;
|
|
16271
|
+
align-items: center;
|
|
16272
|
+
justify-content: center;
|
|
16273
|
+
flex-shrink: 0;
|
|
16232
16274
|
}
|
|
16233
16275
|
|
|
16234
|
-
/*
|
|
16235
|
-
.muka-
|
|
16236
|
-
|
|
16237
|
-
|
|
16238
|
-
|
|
16239
|
-
|
|
16276
|
+
/* Make the icon content (raw <svg> or a nested Icon span) fill the wrapper.
|
|
16277
|
+
Scoped under .muka-button to outrank Icon.css's own `.muka-icon--{size}`
|
|
16278
|
+
rule, so the button's size wins even when the icon hardcodes its own size. */
|
|
16279
|
+
.muka-button .muka-button__icon > *,
|
|
16280
|
+
.muka-button .muka-button__icon svg {
|
|
16281
|
+
width: 100%;
|
|
16282
|
+
height: 100%;
|
|
16283
|
+
display: block;
|
|
16240
16284
|
}
|
|
16241
16285
|
|
|
16242
|
-
/*
|
|
16243
|
-
|
|
16244
|
-
|
|
16245
|
-
|
|
16246
|
-
border-color: var(--card-color-note-border);
|
|
16247
|
-
box-shadow: var(--card-shadow-note);
|
|
16286
|
+
/* A Spinner in the icon slot keeps its own flex centring: as a block its
|
|
16287
|
+
circle sat at the top of the slot (4px high in an lg icon-only button). */
|
|
16288
|
+
.muka-button .muka-button__icon > .muka-spinner {
|
|
16289
|
+
display: flex;
|
|
16248
16290
|
}
|
|
16249
16291
|
|
|
16250
|
-
.muka-
|
|
16251
|
-
|
|
16252
|
-
|
|
16253
|
-
background-color: var(--card-color-note-background);
|
|
16254
|
-
border-color: var(--card-color-note-border);
|
|
16292
|
+
.muka-button--sm .muka-button__icon {
|
|
16293
|
+
width: var(--button-icon-sm);
|
|
16294
|
+
height: var(--button-icon-sm);
|
|
16255
16295
|
}
|
|
16256
16296
|
|
|
16257
|
-
.muka-
|
|
16258
|
-
|
|
16297
|
+
.muka-button--md .muka-button__icon {
|
|
16298
|
+
width: var(--button-icon-md);
|
|
16299
|
+
height: var(--button-icon-md);
|
|
16259
16300
|
}
|
|
16260
16301
|
|
|
16261
|
-
.muka-
|
|
16262
|
-
|
|
16302
|
+
.muka-button--lg .muka-button__icon {
|
|
16303
|
+
width: var(--button-icon-lg);
|
|
16304
|
+
height: var(--button-icon-lg);
|
|
16263
16305
|
}
|
|
16264
16306
|
|
|
16265
|
-
|
|
16266
|
-
|
|
16267
|
-
|
|
16268
|
-
transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
16269
|
-
}
|
|
16307
|
+
.muka-button--xl .muka-button__icon {
|
|
16308
|
+
width: var(--button-icon-xl);
|
|
16309
|
+
height: var(--button-icon-xl);
|
|
16270
16310
|
}
|
|
16271
16311
|
|
|
16272
|
-
.muka-
|
|
16273
|
-
|
|
16274
|
-
|
|
16312
|
+
.muka-button__label {
|
|
16313
|
+
display: inline-flex;
|
|
16314
|
+
align-items: center;
|
|
16275
16315
|
}
|
|
16276
16316
|
|
|
16277
|
-
/*
|
|
16278
|
-
.muka-
|
|
16279
|
-
|
|
16317
|
+
/* Icon-only buttons - square, sized to the button height per size */
|
|
16318
|
+
.muka-button--icon-only {
|
|
16319
|
+
padding: 0;
|
|
16280
16320
|
}
|
|
16281
16321
|
|
|
16282
|
-
.muka-
|
|
16283
|
-
|
|
16284
|
-
color: var(--color-text-default-default);
|
|
16285
|
-
font-family: var(--text-heading-xs-fontFamily);
|
|
16286
|
-
font-weight: var(--text-heading-xs-fontWeight);
|
|
16287
|
-
font-size: var(--text-heading-xs-fontSize);
|
|
16288
|
-
line-height: var(--text-heading-xs-lineHeight);
|
|
16289
|
-
letter-spacing: var(--text-heading-xs-letterSpacing);
|
|
16322
|
+
.muka-button--icon-only.muka-button--sm {
|
|
16323
|
+
width: 32px;
|
|
16290
16324
|
}
|
|
16291
16325
|
|
|
16292
|
-
.muka-
|
|
16293
|
-
|
|
16294
|
-
color: var(--color-text-subtle-default);
|
|
16295
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
16296
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
16297
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
16298
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
16326
|
+
.muka-button--icon-only.muka-button--md {
|
|
16327
|
+
width: 40px;
|
|
16299
16328
|
}
|
|
16300
16329
|
|
|
16301
|
-
|
|
16302
|
-
|
|
16303
|
-
display: none;
|
|
16330
|
+
.muka-button--icon-only.muka-button--lg {
|
|
16331
|
+
width: 48px;
|
|
16304
16332
|
}
|
|
16305
16333
|
|
|
16306
|
-
|
|
16307
|
-
|
|
16308
|
-
opacity: 0.5;
|
|
16309
|
-
cursor: not-allowed;
|
|
16310
|
-
pointer-events: none;
|
|
16334
|
+
.muka-button--icon-only.muka-button--xl {
|
|
16335
|
+
width: 64px;
|
|
16311
16336
|
}
|
|
16312
16337
|
|
|
16313
16338
|
|
|
@@ -17797,215 +17822,73 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
17797
17822
|
.muka-alert--lg .muka-alert__title {
|
|
17798
17823
|
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
17799
17824
|
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
17800
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
17801
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
17802
|
-
}
|
|
17803
|
-
|
|
17804
|
-
.muka-alert__message {
|
|
17805
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
17806
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
17807
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
17808
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
17809
|
-
/* Beat ambient docs/page text colors (e.g. Storybook sbdocs) so variant
|
|
17810
|
-
foreground stays readable in light and dark themes. */
|
|
17811
|
-
color: inherit;
|
|
17812
|
-
}
|
|
17813
|
-
|
|
17814
|
-
.muka-alert .muka-alert__message,
|
|
17815
|
-
.muka-alert .muka-alert__message * {
|
|
17816
|
-
color: inherit;
|
|
17817
|
-
}
|
|
17818
|
-
|
|
17819
|
-
.muka-alert--lg .muka-alert__message {
|
|
17820
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
17821
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
17822
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
17823
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
17824
|
-
}
|
|
17825
|
-
|
|
17826
|
-
/* Action slot — TextLink (or similar) below the message, matching Figma */
|
|
17827
|
-
.muka-alert__action {
|
|
17828
|
-
display: flex;
|
|
17829
|
-
flex-direction: column;
|
|
17830
|
-
align-items: flex-start;
|
|
17831
|
-
padding-top: var(--spacing-1);
|
|
17832
|
-
}
|
|
17833
|
-
|
|
17834
|
-
/* Dismiss button - uses accent color per variant, aligned with icon row */
|
|
17835
|
-
.muka-alert__dismiss {
|
|
17836
|
-
display: flex;
|
|
17837
|
-
align-items: center;
|
|
17838
|
-
justify-content: center;
|
|
17839
|
-
flex-shrink: 0;
|
|
17840
|
-
align-self: flex-start;
|
|
17841
|
-
width: 24px;
|
|
17842
|
-
height: 24px;
|
|
17843
|
-
padding: 0;
|
|
17844
|
-
margin: 0 0 0 auto;
|
|
17845
|
-
border: none;
|
|
17846
|
-
background: transparent;
|
|
17847
|
-
cursor: pointer;
|
|
17848
|
-
border-radius: var(--border-radius-sm);
|
|
17849
|
-
transition: opacity 0.15s ease, background-color 0.15s ease;
|
|
17850
|
-
}
|
|
17851
|
-
|
|
17852
|
-
.muka-alert__dismiss:hover {
|
|
17853
|
-
opacity: 0.85;
|
|
17854
|
-
background-color: rgba(0, 0, 0, 0.05);
|
|
17855
|
-
}
|
|
17856
|
-
|
|
17857
|
-
.muka-alert__dismiss:focus-visible {
|
|
17858
|
-
outline: 2px solid var(--color-border-focus);
|
|
17859
|
-
outline-offset: 2px;
|
|
17860
|
-
}
|
|
17861
|
-
|
|
17862
|
-
.muka-alert__dismiss svg {
|
|
17863
|
-
width: 16px;
|
|
17864
|
-
height: 16px;
|
|
17865
|
-
}
|
|
17866
|
-
|
|
17867
|
-
|
|
17868
|
-
/* ActionSheet */
|
|
17869
|
-
/* ActionSheet Component Styles */
|
|
17870
|
-
|
|
17871
|
-
.muka-action-sheet__inner {
|
|
17872
|
-
display: flex;
|
|
17873
|
-
flex-direction: column;
|
|
17874
|
-
padding: 0 var(--spacing-4) var(--spacing-3) var(--spacing-4);
|
|
17875
|
-
gap: var(--spacing-3);
|
|
17876
|
-
}
|
|
17877
|
-
|
|
17878
|
-
/* ─── Header ──────────────────────────────────────────── */
|
|
17879
|
-
|
|
17880
|
-
.muka-action-sheet__header {
|
|
17881
|
-
display: flex;
|
|
17882
|
-
flex-direction: column;
|
|
17883
|
-
align-items: center;
|
|
17884
|
-
gap: var(--spacing-1);
|
|
17885
|
-
padding: var(--spacing-2) 0 var(--spacing-3);
|
|
17886
|
-
text-align: center;
|
|
17887
|
-
}
|
|
17888
|
-
|
|
17889
|
-
.muka-action-sheet__title {
|
|
17890
|
-
margin: 0;
|
|
17891
|
-
color: var(--color-text-default-default);
|
|
17892
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
17893
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
17894
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
17895
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
17896
|
-
}
|
|
17897
|
-
|
|
17898
|
-
.muka-action-sheet__description {
|
|
17899
|
-
margin: 0;
|
|
17900
|
-
color: var(--color-text-subtle-default);
|
|
17901
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
17902
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
17903
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
17904
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
17905
|
-
}
|
|
17906
|
-
|
|
17907
|
-
/* ─── Actions group ───────────────────────────────────── */
|
|
17908
|
-
|
|
17909
|
-
.muka-action-sheet__actions {
|
|
17910
|
-
display: flex;
|
|
17911
|
-
flex-direction: column;
|
|
17912
|
-
background-color: var(--color-surface-level1);
|
|
17913
|
-
border-radius: var(--radius-md);
|
|
17914
|
-
overflow: hidden;
|
|
17915
|
-
}
|
|
17916
|
-
|
|
17917
|
-
.muka-action-sheet__item {
|
|
17918
|
-
display: flex;
|
|
17919
|
-
align-items: center;
|
|
17920
|
-
gap: var(--spacing-3);
|
|
17921
|
-
padding: var(--spacing-3) var(--spacing-4);
|
|
17922
|
-
background: none;
|
|
17923
|
-
border: none;
|
|
17924
|
-
cursor: pointer;
|
|
17925
|
-
text-align: left;
|
|
17926
|
-
color: var(--color-text-default-default);
|
|
17927
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
17928
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
17929
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
17930
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
17931
|
-
-webkit-tap-highlight-color: transparent;
|
|
17932
|
-
transition: background-color 0.12s ease;
|
|
17933
|
-
}
|
|
17934
|
-
|
|
17935
|
-
.muka-action-sheet__item + .muka-action-sheet__item {
|
|
17936
|
-
border-top: var(--border-width-regular) solid var(--color-border-default);
|
|
17937
|
-
}
|
|
17938
|
-
|
|
17939
|
-
.muka-action-sheet__item:hover:not(:disabled) {
|
|
17940
|
-
background-color: var(--color-surface-level2);
|
|
17941
|
-
}
|
|
17942
|
-
|
|
17943
|
-
.muka-action-sheet__item:active:not(:disabled) {
|
|
17944
|
-
background-color: var(--color-surface-level3);
|
|
17945
|
-
}
|
|
17946
|
-
|
|
17947
|
-
.muka-action-sheet__item:focus-visible {
|
|
17948
|
-
outline: 2px solid var(--color-action-default);
|
|
17949
|
-
outline-offset: -2px;
|
|
17950
|
-
}
|
|
17951
|
-
|
|
17952
|
-
.muka-action-sheet__item--destructive {
|
|
17953
|
-
color: var(--color-state-error-default);
|
|
17825
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
17826
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
17954
17827
|
}
|
|
17955
17828
|
|
|
17956
|
-
.muka-
|
|
17957
|
-
|
|
17958
|
-
|
|
17959
|
-
|
|
17829
|
+
.muka-alert__message {
|
|
17830
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
17831
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
17832
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
17833
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
17834
|
+
/* Beat ambient docs/page text colors (e.g. Storybook sbdocs) so variant
|
|
17835
|
+
foreground stays readable in light and dark themes. */
|
|
17836
|
+
color: inherit;
|
|
17960
17837
|
}
|
|
17961
17838
|
|
|
17962
|
-
.muka-
|
|
17963
|
-
|
|
17964
|
-
|
|
17965
|
-
justify-content: center;
|
|
17966
|
-
width: 24px;
|
|
17967
|
-
height: 24px;
|
|
17968
|
-
flex-shrink: 0;
|
|
17839
|
+
.muka-alert .muka-alert__message,
|
|
17840
|
+
.muka-alert .muka-alert__message * {
|
|
17841
|
+
color: inherit;
|
|
17969
17842
|
}
|
|
17970
17843
|
|
|
17971
|
-
.muka-
|
|
17972
|
-
|
|
17973
|
-
|
|
17844
|
+
.muka-alert--lg .muka-alert__message {
|
|
17845
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
17846
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
17847
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
17848
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
17974
17849
|
}
|
|
17975
17850
|
|
|
17976
|
-
|
|
17977
|
-
|
|
17851
|
+
/* Action slot — TextLink (or similar) below the message, matching Figma */
|
|
17852
|
+
.muka-alert__action {
|
|
17853
|
+
display: flex;
|
|
17854
|
+
flex-direction: column;
|
|
17855
|
+
align-items: flex-start;
|
|
17856
|
+
padding-top: var(--spacing-1);
|
|
17978
17857
|
}
|
|
17979
17858
|
|
|
17980
|
-
/*
|
|
17981
|
-
|
|
17982
|
-
.muka-action-sheet__cancel {
|
|
17859
|
+
/* Dismiss button - uses accent color per variant, aligned with icon row */
|
|
17860
|
+
.muka-alert__dismiss {
|
|
17983
17861
|
display: flex;
|
|
17984
17862
|
align-items: center;
|
|
17985
17863
|
justify-content: center;
|
|
17986
|
-
|
|
17987
|
-
|
|
17864
|
+
flex-shrink: 0;
|
|
17865
|
+
align-self: flex-start;
|
|
17866
|
+
width: 24px;
|
|
17867
|
+
height: 24px;
|
|
17868
|
+
padding: 0;
|
|
17869
|
+
margin: 0 0 0 auto;
|
|
17988
17870
|
border: none;
|
|
17989
|
-
|
|
17871
|
+
background: transparent;
|
|
17990
17872
|
cursor: pointer;
|
|
17991
|
-
|
|
17992
|
-
|
|
17993
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
17994
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
17995
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
17996
|
-
-webkit-tap-highlight-color: transparent;
|
|
17997
|
-
transition: background-color 0.12s ease;
|
|
17873
|
+
border-radius: var(--border-radius-sm);
|
|
17874
|
+
transition: opacity 0.15s ease, background-color 0.15s ease;
|
|
17998
17875
|
}
|
|
17999
17876
|
|
|
18000
|
-
.muka-
|
|
18001
|
-
|
|
17877
|
+
.muka-alert__dismiss:hover {
|
|
17878
|
+
opacity: 0.85;
|
|
17879
|
+
background-color: rgba(0, 0, 0, 0.05);
|
|
18002
17880
|
}
|
|
18003
17881
|
|
|
18004
|
-
.muka-
|
|
18005
|
-
outline: 2px solid var(--color-
|
|
17882
|
+
.muka-alert__dismiss:focus-visible {
|
|
17883
|
+
outline: 2px solid var(--color-border-focus);
|
|
18006
17884
|
outline-offset: 2px;
|
|
18007
17885
|
}
|
|
18008
17886
|
|
|
17887
|
+
.muka-alert__dismiss svg {
|
|
17888
|
+
width: 16px;
|
|
17889
|
+
height: 16px;
|
|
17890
|
+
}
|
|
17891
|
+
|
|
18009
17892
|
|
|
18010
17893
|
/* AgentTaskList */
|
|
18011
17894
|
/* AgentTaskList Component Styles */
|
|
@@ -18176,6 +18059,148 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
18176
18059
|
}
|
|
18177
18060
|
|
|
18178
18061
|
|
|
18062
|
+
/* ActionSheet */
|
|
18063
|
+
/* ActionSheet Component Styles */
|
|
18064
|
+
|
|
18065
|
+
.muka-action-sheet__inner {
|
|
18066
|
+
display: flex;
|
|
18067
|
+
flex-direction: column;
|
|
18068
|
+
padding: 0 var(--spacing-4) var(--spacing-3) var(--spacing-4);
|
|
18069
|
+
gap: var(--spacing-3);
|
|
18070
|
+
}
|
|
18071
|
+
|
|
18072
|
+
/* ─── Header ──────────────────────────────────────────── */
|
|
18073
|
+
|
|
18074
|
+
.muka-action-sheet__header {
|
|
18075
|
+
display: flex;
|
|
18076
|
+
flex-direction: column;
|
|
18077
|
+
align-items: center;
|
|
18078
|
+
gap: var(--spacing-1);
|
|
18079
|
+
padding: var(--spacing-2) 0 var(--spacing-3);
|
|
18080
|
+
text-align: center;
|
|
18081
|
+
}
|
|
18082
|
+
|
|
18083
|
+
.muka-action-sheet__title {
|
|
18084
|
+
margin: 0;
|
|
18085
|
+
color: var(--color-text-default-default);
|
|
18086
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
18087
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
18088
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
18089
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
18090
|
+
}
|
|
18091
|
+
|
|
18092
|
+
.muka-action-sheet__description {
|
|
18093
|
+
margin: 0;
|
|
18094
|
+
color: var(--color-text-subtle-default);
|
|
18095
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
18096
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
18097
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
18098
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
18099
|
+
}
|
|
18100
|
+
|
|
18101
|
+
/* ─── Actions group ───────────────────────────────────── */
|
|
18102
|
+
|
|
18103
|
+
.muka-action-sheet__actions {
|
|
18104
|
+
display: flex;
|
|
18105
|
+
flex-direction: column;
|
|
18106
|
+
background-color: var(--color-surface-level1);
|
|
18107
|
+
border-radius: var(--radius-md);
|
|
18108
|
+
overflow: hidden;
|
|
18109
|
+
}
|
|
18110
|
+
|
|
18111
|
+
.muka-action-sheet__item {
|
|
18112
|
+
display: flex;
|
|
18113
|
+
align-items: center;
|
|
18114
|
+
gap: var(--spacing-3);
|
|
18115
|
+
padding: var(--spacing-3) var(--spacing-4);
|
|
18116
|
+
background: none;
|
|
18117
|
+
border: none;
|
|
18118
|
+
cursor: pointer;
|
|
18119
|
+
text-align: left;
|
|
18120
|
+
color: var(--color-text-default-default);
|
|
18121
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
18122
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
18123
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
18124
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
18125
|
+
-webkit-tap-highlight-color: transparent;
|
|
18126
|
+
transition: background-color 0.12s ease;
|
|
18127
|
+
}
|
|
18128
|
+
|
|
18129
|
+
.muka-action-sheet__item + .muka-action-sheet__item {
|
|
18130
|
+
border-top: var(--border-width-regular) solid var(--color-border-default);
|
|
18131
|
+
}
|
|
18132
|
+
|
|
18133
|
+
.muka-action-sheet__item:hover:not(:disabled) {
|
|
18134
|
+
background-color: var(--color-surface-level2);
|
|
18135
|
+
}
|
|
18136
|
+
|
|
18137
|
+
.muka-action-sheet__item:active:not(:disabled) {
|
|
18138
|
+
background-color: var(--color-surface-level3);
|
|
18139
|
+
}
|
|
18140
|
+
|
|
18141
|
+
.muka-action-sheet__item:focus-visible {
|
|
18142
|
+
outline: 2px solid var(--color-action-default);
|
|
18143
|
+
outline-offset: -2px;
|
|
18144
|
+
}
|
|
18145
|
+
|
|
18146
|
+
.muka-action-sheet__item--destructive {
|
|
18147
|
+
color: var(--color-state-error-default);
|
|
18148
|
+
}
|
|
18149
|
+
|
|
18150
|
+
.muka-action-sheet__item--disabled,
|
|
18151
|
+
.muka-action-sheet__item:disabled {
|
|
18152
|
+
opacity: 0.5;
|
|
18153
|
+
cursor: not-allowed;
|
|
18154
|
+
}
|
|
18155
|
+
|
|
18156
|
+
.muka-action-sheet__item-icon {
|
|
18157
|
+
display: inline-flex;
|
|
18158
|
+
align-items: center;
|
|
18159
|
+
justify-content: center;
|
|
18160
|
+
width: 24px;
|
|
18161
|
+
height: 24px;
|
|
18162
|
+
flex-shrink: 0;
|
|
18163
|
+
}
|
|
18164
|
+
|
|
18165
|
+
.muka-action-sheet__item-icon svg {
|
|
18166
|
+
width: 100%;
|
|
18167
|
+
height: 100%;
|
|
18168
|
+
}
|
|
18169
|
+
|
|
18170
|
+
.muka-action-sheet__item-label {
|
|
18171
|
+
flex: 1;
|
|
18172
|
+
}
|
|
18173
|
+
|
|
18174
|
+
/* ─── Cancel button (separate at bottom) ──────────────── */
|
|
18175
|
+
|
|
18176
|
+
.muka-action-sheet__cancel {
|
|
18177
|
+
display: flex;
|
|
18178
|
+
align-items: center;
|
|
18179
|
+
justify-content: center;
|
|
18180
|
+
padding: var(--spacing-3) var(--spacing-4);
|
|
18181
|
+
background-color: var(--color-surface-level1);
|
|
18182
|
+
border: none;
|
|
18183
|
+
border-radius: var(--radius-md);
|
|
18184
|
+
cursor: pointer;
|
|
18185
|
+
color: var(--color-text-default-default);
|
|
18186
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
18187
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
18188
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
18189
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
18190
|
+
-webkit-tap-highlight-color: transparent;
|
|
18191
|
+
transition: background-color 0.12s ease;
|
|
18192
|
+
}
|
|
18193
|
+
|
|
18194
|
+
.muka-action-sheet__cancel:hover {
|
|
18195
|
+
background-color: var(--color-surface-level2);
|
|
18196
|
+
}
|
|
18197
|
+
|
|
18198
|
+
.muka-action-sheet__cancel:focus-visible {
|
|
18199
|
+
outline: 2px solid var(--color-action-default);
|
|
18200
|
+
outline-offset: 2px;
|
|
18201
|
+
}
|
|
18202
|
+
|
|
18203
|
+
|
|
18179
18204
|
/* Accordion */
|
|
18180
18205
|
/* Accordion Component Styles */
|
|
18181
18206
|
|
|
@@ -18306,3 +18331,39 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
18306
18331
|
border-bottom: none;
|
|
18307
18332
|
}
|
|
18308
18333
|
|
|
18334
|
+
|
|
18335
|
+
/* ChatChoiceCard */
|
|
18336
|
+
/* ChatChoiceCard — compact option rows (experimental) */
|
|
18337
|
+
.muka-chat-choice__list {
|
|
18338
|
+
display: flex;
|
|
18339
|
+
flex-direction: column;
|
|
18340
|
+
gap: var(--spacing-2);
|
|
18341
|
+
}
|
|
18342
|
+
|
|
18343
|
+
.muka-chat-choice__row {
|
|
18344
|
+
display: flex;
|
|
18345
|
+
align-items: center;
|
|
18346
|
+
min-height: var(--spacing-8);
|
|
18347
|
+
min-width: 0;
|
|
18348
|
+
}
|
|
18349
|
+
|
|
18350
|
+
.muka-chat-choice__row--other {
|
|
18351
|
+
gap: var(--spacing-2);
|
|
18352
|
+
}
|
|
18353
|
+
|
|
18354
|
+
/* The free-text option: the control, then the field filling the row. */
|
|
18355
|
+
.muka-chat-choice__row--other {
|
|
18356
|
+
flex-wrap: nowrap;
|
|
18357
|
+
}
|
|
18358
|
+
|
|
18359
|
+
.muka-chat-choice__row--other > .muka-radio,
|
|
18360
|
+
.muka-chat-choice__row--other > .muka-checkbox {
|
|
18361
|
+
flex: 0 0 auto;
|
|
18362
|
+
}
|
|
18363
|
+
|
|
18364
|
+
.muka-chat-choice__row--other > .muka-input {
|
|
18365
|
+
flex: 1 1 auto;
|
|
18366
|
+
width: auto;
|
|
18367
|
+
min-width: 0;
|
|
18368
|
+
}
|
|
18369
|
+
|