@revikornmann/muka-ui 0.61.0 → 0.63.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 +7 -0
- package/dist/cjs/components/ChatComposer/ChatComposer.css +23 -0
- package/dist/cjs/components/ChatComposer/ChatComposer.js +87 -4
- package/dist/cjs/components/ChatComposer/ChatComposer.js.map +1 -1
- package/dist/cjs/components/ChatComposer/index.js.map +1 -1
- package/dist/cjs/components/ChatMessage/ChatMessage.css +9 -0
- package/dist/cjs/components/FileUpload/FileUpload.js +5 -1
- package/dist/cjs/components/FileUpload/FileUpload.js.map +1 -1
- package/dist/cjs/components/FileUpload/FileUploadItem.js +16 -2
- package/dist/cjs/components/FileUpload/FileUploadItem.js.map +1 -1
- package/dist/cjs/components/View/View.css +80 -0
- package/dist/cjs/components/View/View.js +54 -6
- package/dist/cjs/components/View/View.js.map +1 -1
- package/dist/cjs/components/View/viewNavigation.js +131 -0
- package/dist/cjs/components/View/viewNavigation.js.map +1 -0
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/esm/components/ChatComposer/ChatComposer.css +23 -0
- package/dist/esm/components/ChatComposer/ChatComposer.js +87 -4
- package/dist/esm/components/ChatComposer/ChatComposer.js.map +1 -1
- package/dist/esm/components/ChatComposer/index.js.map +1 -1
- package/dist/esm/components/ChatMessage/ChatMessage.css +9 -0
- package/dist/esm/components/FileUpload/FileUpload.js +5 -1
- package/dist/esm/components/FileUpload/FileUpload.js.map +1 -1
- package/dist/esm/components/FileUpload/FileUploadItem.js +16 -2
- package/dist/esm/components/FileUpload/FileUploadItem.js.map +1 -1
- package/dist/esm/components/View/View.css +80 -0
- package/dist/esm/components/View/View.js +21 -3
- package/dist/esm/components/View/View.js.map +1 -1
- package/dist/esm/components/View/viewNavigation.js +126 -0
- package/dist/esm/components/View/viewNavigation.js.map +1 -0
- package/dist/esm/components/index.js.map +1 -1
- package/dist/styles/components/ChatComposer.css +23 -0
- package/dist/styles/components/ChatMessage.css +9 -0
- package/dist/styles/components/View.css +80 -0
- package/dist/styles/index.css +1662 -1549
- package/dist/styles/muka-dark.css +1662 -1549
- package/dist/styles/muka-light.css +1662 -1549
- package/dist/styles/tokens-bouwplan-dark.css +1 -0
- package/dist/styles/tokens-bouwplan-light.css +1 -0
- package/dist/styles/tokens-fscl-dark.css +1 -0
- package/dist/styles/tokens-fscl-light.css +1 -0
- package/dist/styles/tokens-grip-dark.css +1 -0
- package/dist/styles/tokens-grip-light.css +1 -0
- package/dist/styles/tokens-muka-dark.css +1 -0
- package/dist/styles/tokens-muka-light.css +1 -0
- package/dist/styles/tokens-wireframe-dark.css +1 -0
- package/dist/styles/tokens-wireframe-light.css +1 -0
- package/dist/styles/wireframe-dark.css +1662 -1549
- package/dist/styles/wireframe-light.css +1662 -1549
- package/dist/types/components/ChatComposer/ChatComposer.d.ts +27 -0
- package/dist/types/components/ChatComposer/ChatComposer.d.ts.map +1 -1
- package/dist/types/components/ChatComposer/index.d.ts +1 -1
- package/dist/types/components/ChatComposer/index.d.ts.map +1 -1
- package/dist/types/components/FileUpload/FileUpload.d.ts +16 -2
- package/dist/types/components/FileUpload/FileUpload.d.ts.map +1 -1
- package/dist/types/components/FileUpload/FileUploadItem.d.ts +18 -2
- package/dist/types/components/FileUpload/FileUploadItem.d.ts.map +1 -1
- package/dist/types/components/View/View.d.ts +9 -2
- package/dist/types/components/View/View.d.ts.map +1 -1
- package/dist/types/components/View/viewNavigation.d.ts +46 -0
- package/dist/types/components/View/viewNavigation.d.ts.map +1 -0
- package/dist/types/components/index.d.ts +1 -1
- package/dist/types/components/index.d.ts.map +1 -1
- package/docs/consumers/devices.md +45 -0
- package/package.json +1 -1
- package/tokens/t4-components/chatbubble.json +4 -0
|
@@ -1734,6 +1734,7 @@ body {
|
|
|
1734
1734
|
--chatbubble-embed-color-agent-border: #fbe577;
|
|
1735
1735
|
--chatbubble-embed-color-agent-foreground: #202020;
|
|
1736
1736
|
--chatbubble-action-stack-gap: 0.75rem;
|
|
1737
|
+
--chatbubble-action-stack-offset: 1rem;
|
|
1737
1738
|
--chatphotogrid-gap: 0.25rem;
|
|
1738
1739
|
--chatphotogrid-radius: 0px;
|
|
1739
1740
|
--chatphotogrid-color-placeholder: #e8e8e8;
|
|
@@ -2663,6 +2664,86 @@ body {
|
|
|
2663
2664
|
display: none;
|
|
2664
2665
|
}
|
|
2665
2666
|
|
|
2667
|
+
/* ─── Loading state ───────────────────────────────────── */
|
|
2668
|
+
|
|
2669
|
+
.muka-view__loading {
|
|
2670
|
+
display: flex;
|
|
2671
|
+
flex-direction: column;
|
|
2672
|
+
gap: var(--spacing-3);
|
|
2673
|
+
padding: var(--spacing-4);
|
|
2674
|
+
}
|
|
2675
|
+
|
|
2676
|
+
/* ─── Navigation motion (push / pop) ──────────────────────
|
|
2677
|
+
React wraps each View in <ViewTransition enter="muka-view-enter"
|
|
2678
|
+
exit="muka-view-exit">; viewNavigation.ts writes the direction to
|
|
2679
|
+
<html data-muka-nav> during the commit. Without the attribute (a tab switch,
|
|
2680
|
+
a loading View replaced by its content) nothing slides.
|
|
2681
|
+
|
|
2682
|
+
iOS navigation-controller motion: the pushed View slides in from the right
|
|
2683
|
+
over the current one, which moves 30% left; a pop reverses it. Small and
|
|
2684
|
+
medium screens only — at the large tier the sidebar stays put and views swap
|
|
2685
|
+
in place. --motion-duration-view is 0ms under prefers-reduced-motion. */
|
|
2686
|
+
|
|
2687
|
+
/* No direction, or the large tier: swap without the browser's default crossfade. */
|
|
2688
|
+
::view-transition-old(.muka-view-exit),
|
|
2689
|
+
::view-transition-new(.muka-view-enter) {
|
|
2690
|
+
animation: none;
|
|
2691
|
+
}
|
|
2692
|
+
|
|
2693
|
+
@media (max-width: 1023px) {
|
|
2694
|
+
/* Taps during the slide reach the new View instead of being swallowed. */
|
|
2695
|
+
:root[data-muka-nav]::view-transition {
|
|
2696
|
+
pointer-events: none;
|
|
2697
|
+
}
|
|
2698
|
+
|
|
2699
|
+
:root[data-muka-nav='push']::view-transition-group(.muka-view-enter),
|
|
2700
|
+
:root[data-muka-nav='pop']::view-transition-group(.muka-view-exit) {
|
|
2701
|
+
z-index: 2;
|
|
2702
|
+
}
|
|
2703
|
+
|
|
2704
|
+
:root[data-muka-nav='push']::view-transition-group(.muka-view-exit),
|
|
2705
|
+
:root[data-muka-nav='pop']::view-transition-group(.muka-view-enter) {
|
|
2706
|
+
z-index: 1;
|
|
2707
|
+
}
|
|
2708
|
+
|
|
2709
|
+
:root[data-muka-nav='push']::view-transition-new(.muka-view-enter) {
|
|
2710
|
+
animation: muka-view-from-right var(--motion-duration-view) var(--motion-easing-enter) both;
|
|
2711
|
+
}
|
|
2712
|
+
|
|
2713
|
+
:root[data-muka-nav='push']::view-transition-old(.muka-view-exit) {
|
|
2714
|
+
animation: muka-view-to-behind var(--motion-duration-view) var(--motion-easing-enter) both;
|
|
2715
|
+
}
|
|
2716
|
+
|
|
2717
|
+
:root[data-muka-nav='pop']::view-transition-old(.muka-view-exit) {
|
|
2718
|
+
animation: muka-view-to-right var(--motion-duration-view) var(--motion-easing-enter) both;
|
|
2719
|
+
}
|
|
2720
|
+
|
|
2721
|
+
:root[data-muka-nav='pop']::view-transition-new(.muka-view-enter) {
|
|
2722
|
+
animation: muka-view-from-behind var(--motion-duration-view) var(--motion-easing-enter) both;
|
|
2723
|
+
}
|
|
2724
|
+
|
|
2725
|
+
}
|
|
2726
|
+
|
|
2727
|
+
@keyframes muka-view-from-right {
|
|
2728
|
+
from { transform: translateX(100%); }
|
|
2729
|
+
to { transform: translateX(0); }
|
|
2730
|
+
}
|
|
2731
|
+
|
|
2732
|
+
@keyframes muka-view-to-right {
|
|
2733
|
+
from { transform: translateX(0); }
|
|
2734
|
+
to { transform: translateX(100%); }
|
|
2735
|
+
}
|
|
2736
|
+
|
|
2737
|
+
@keyframes muka-view-to-behind {
|
|
2738
|
+
from { transform: translateX(0); }
|
|
2739
|
+
to { transform: translateX(-30%); }
|
|
2740
|
+
}
|
|
2741
|
+
|
|
2742
|
+
@keyframes muka-view-from-behind {
|
|
2743
|
+
from { transform: translateX(-30%); }
|
|
2744
|
+
to { transform: translateX(0); }
|
|
2745
|
+
}
|
|
2746
|
+
|
|
2666
2747
|
|
|
2667
2748
|
/* Typography */
|
|
2668
2749
|
.muka-typography-catalog {
|
|
@@ -3996,191 +4077,6 @@ body {
|
|
|
3996
4077
|
}
|
|
3997
4078
|
|
|
3998
4079
|
|
|
3999
|
-
/* Thumbnail */
|
|
4000
|
-
/* Thumbnail Component Styles - Using Muka Design Tokens */
|
|
4001
|
-
|
|
4002
|
-
.muka-thumbnail {
|
|
4003
|
-
position: relative;
|
|
4004
|
-
flex-shrink: 0;
|
|
4005
|
-
}
|
|
4006
|
-
|
|
4007
|
-
/* The frame carries the border, background and shape clip. Keeping it separate
|
|
4008
|
-
from the root lets the remove (×) button sit outside the clip (needed for the
|
|
4009
|
-
circular/ellipse shape, whose corners would otherwise clip the button). */
|
|
4010
|
-
.muka-thumbnail__frame {
|
|
4011
|
-
position: absolute;
|
|
4012
|
-
inset: 0;
|
|
4013
|
-
overflow: hidden;
|
|
4014
|
-
border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
|
|
4015
|
-
border-radius: var(--border-radius-lg);
|
|
4016
|
-
background-color: var(--color-surface-level1);
|
|
4017
|
-
}
|
|
4018
|
-
|
|
4019
|
-
/* ─── Shapes ──────────────────────────────────────────── */
|
|
4020
|
-
.muka-thumbnail--4-3 {
|
|
4021
|
-
width: 160px;
|
|
4022
|
-
height: 120px;
|
|
4023
|
-
}
|
|
4024
|
-
|
|
4025
|
-
.muka-thumbnail--1-1 {
|
|
4026
|
-
width: 120px;
|
|
4027
|
-
height: 120px;
|
|
4028
|
-
}
|
|
4029
|
-
|
|
4030
|
-
.muka-thumbnail--ellipse {
|
|
4031
|
-
width: 120px;
|
|
4032
|
-
height: 120px;
|
|
4033
|
-
}
|
|
4034
|
-
|
|
4035
|
-
/* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
|
|
4036
|
-
.muka-thumbnail--fluid {
|
|
4037
|
-
width: 100%;
|
|
4038
|
-
height: auto;
|
|
4039
|
-
aspect-ratio: 1 / 1;
|
|
4040
|
-
}
|
|
4041
|
-
|
|
4042
|
-
.muka-thumbnail--fluid.muka-thumbnail--4-3 {
|
|
4043
|
-
aspect-ratio: 4 / 3;
|
|
4044
|
-
}
|
|
4045
|
-
|
|
4046
|
-
.muka-thumbnail--ellipse .muka-thumbnail__frame {
|
|
4047
|
-
border-radius: var(--border-radius-full);
|
|
4048
|
-
}
|
|
4049
|
-
|
|
4050
|
-
/* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
|
|
4051
|
-
interactive hover zoom has a clean origin. */
|
|
4052
|
-
.muka-thumbnail__image {
|
|
4053
|
-
position: absolute;
|
|
4054
|
-
inset: 0;
|
|
4055
|
-
width: 100%;
|
|
4056
|
-
height: 100%;
|
|
4057
|
-
object-fit: cover;
|
|
4058
|
-
display: block;
|
|
4059
|
-
transform-origin: center;
|
|
4060
|
-
/* Micro-interaction: hover zoom eases out over the "micro" duration. */
|
|
4061
|
-
transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4062
|
-
}
|
|
4063
|
-
|
|
4064
|
-
/* ─── Interactive (click-to-enlarge) ──────────────────── */
|
|
4065
|
-
.muka-thumbnail__trigger {
|
|
4066
|
-
position: absolute;
|
|
4067
|
-
inset: 0;
|
|
4068
|
-
padding: 0;
|
|
4069
|
-
border: 0;
|
|
4070
|
-
background: none;
|
|
4071
|
-
cursor: pointer;
|
|
4072
|
-
overflow: hidden;
|
|
4073
|
-
}
|
|
4074
|
-
|
|
4075
|
-
.muka-thumbnail__trigger:focus-visible {
|
|
4076
|
-
outline: 2px solid var(--color-border-focus);
|
|
4077
|
-
outline-offset: -2px;
|
|
4078
|
-
}
|
|
4079
|
-
|
|
4080
|
-
/* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
|
|
4081
|
-
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
4082
|
-
transform: scale(1.05);
|
|
4083
|
-
}
|
|
4084
|
-
|
|
4085
|
-
/* ─── Loading overlay + progress donut ────────────────── */
|
|
4086
|
-
.muka-thumbnail__overlay {
|
|
4087
|
-
position: absolute;
|
|
4088
|
-
inset: 0;
|
|
4089
|
-
display: flex;
|
|
4090
|
-
align-items: center;
|
|
4091
|
-
justify-content: center;
|
|
4092
|
-
background-color: var(--dialog-color-backdrop);
|
|
4093
|
-
}
|
|
4094
|
-
|
|
4095
|
-
.muka-thumbnail__progress {
|
|
4096
|
-
width: 40px;
|
|
4097
|
-
height: 40px;
|
|
4098
|
-
}
|
|
4099
|
-
|
|
4100
|
-
/* ─── Error / corrupt state ───────────────────────────── */
|
|
4101
|
-
.muka-thumbnail--error .muka-thumbnail__frame {
|
|
4102
|
-
background-color: var(--alias-color-state-error-muted);
|
|
4103
|
-
border-color: var(--alias-color-state-error-default);
|
|
4104
|
-
}
|
|
4105
|
-
|
|
4106
|
-
.muka-thumbnail__error {
|
|
4107
|
-
position: absolute;
|
|
4108
|
-
inset: 0;
|
|
4109
|
-
display: flex;
|
|
4110
|
-
flex-direction: column;
|
|
4111
|
-
align-items: center;
|
|
4112
|
-
justify-content: center;
|
|
4113
|
-
gap: var(--spacing-2);
|
|
4114
|
-
padding: var(--spacing-3);
|
|
4115
|
-
text-align: center;
|
|
4116
|
-
}
|
|
4117
|
-
|
|
4118
|
-
.muka-thumbnail__error-icon {
|
|
4119
|
-
color: var(--alert-color-error-accent);
|
|
4120
|
-
}
|
|
4121
|
-
|
|
4122
|
-
.muka-thumbnail__caption {
|
|
4123
|
-
max-width: 100%;
|
|
4124
|
-
overflow: hidden;
|
|
4125
|
-
text-overflow: ellipsis;
|
|
4126
|
-
white-space: nowrap;
|
|
4127
|
-
color: var(--alert-color-error-accent);
|
|
4128
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
4129
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
4130
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
4131
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
4132
|
-
}
|
|
4133
|
-
|
|
4134
|
-
/* ─── Remove (×) button ───────────────────────────────── */
|
|
4135
|
-
.muka-thumbnail__remove {
|
|
4136
|
-
position: absolute;
|
|
4137
|
-
top: var(--spacing-2);
|
|
4138
|
-
right: var(--spacing-2);
|
|
4139
|
-
display: flex;
|
|
4140
|
-
align-items: center;
|
|
4141
|
-
justify-content: center;
|
|
4142
|
-
width: var(--size-2xl);
|
|
4143
|
-
height: var(--size-2xl);
|
|
4144
|
-
padding: 0;
|
|
4145
|
-
color: var(--button-color-tertiary-foreground-default);
|
|
4146
|
-
background-color: var(--button-color-tertiary-background-default);
|
|
4147
|
-
border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
|
|
4148
|
-
border-radius: var(--border-radius-lg);
|
|
4149
|
-
cursor: pointer;
|
|
4150
|
-
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
4151
|
-
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4152
|
-
}
|
|
4153
|
-
|
|
4154
|
-
.muka-thumbnail__remove:hover {
|
|
4155
|
-
color: var(--button-color-tertiary-foreground-hover);
|
|
4156
|
-
background-color: var(--button-color-tertiary-background-hover);
|
|
4157
|
-
border-color: var(--button-color-tertiary-border-hover);
|
|
4158
|
-
}
|
|
4159
|
-
|
|
4160
|
-
.muka-thumbnail__remove:active {
|
|
4161
|
-
color: var(--button-color-tertiary-foreground-pressed);
|
|
4162
|
-
background-color: var(--button-color-tertiary-background-pressed);
|
|
4163
|
-
border-color: var(--button-color-tertiary-border-pressed);
|
|
4164
|
-
}
|
|
4165
|
-
|
|
4166
|
-
.muka-thumbnail__remove:focus-visible {
|
|
4167
|
-
outline: 2px solid var(--color-border-focus);
|
|
4168
|
-
outline-offset: 2px;
|
|
4169
|
-
}
|
|
4170
|
-
|
|
4171
|
-
/* ─── Reduced motion ──────────────────────────────────── */
|
|
4172
|
-
@media (prefers-reduced-motion: reduce) {
|
|
4173
|
-
.muka-thumbnail__image,
|
|
4174
|
-
.muka-thumbnail__remove {
|
|
4175
|
-
transition: none;
|
|
4176
|
-
}
|
|
4177
|
-
|
|
4178
|
-
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
4179
|
-
transform: none;
|
|
4180
|
-
}
|
|
4181
|
-
}
|
|
4182
|
-
|
|
4183
|
-
|
|
4184
4080
|
/* Textarea */
|
|
4185
4081
|
/* Textarea Component Styles - Using Muka Design Tokens */
|
|
4186
4082
|
|
|
@@ -4427,31 +4323,216 @@ body {
|
|
|
4427
4323
|
}
|
|
4428
4324
|
|
|
4429
4325
|
|
|
4430
|
-
/*
|
|
4431
|
-
/*
|
|
4326
|
+
/* Thumbnail */
|
|
4327
|
+
/* Thumbnail Component Styles - Using Muka Design Tokens */
|
|
4432
4328
|
|
|
4433
|
-
.muka-
|
|
4434
|
-
|
|
4435
|
-
flex-
|
|
4329
|
+
.muka-thumbnail {
|
|
4330
|
+
position: relative;
|
|
4331
|
+
flex-shrink: 0;
|
|
4436
4332
|
}
|
|
4437
4333
|
|
|
4438
|
-
/*
|
|
4439
|
-
|
|
4440
|
-
|
|
4441
|
-
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
|
|
4448
|
-
.muka-tabs--align-fill .muka-tabs__trigger {
|
|
4449
|
-
flex: 1;
|
|
4334
|
+
/* The frame carries the border, background and shape clip. Keeping it separate
|
|
4335
|
+
from the root lets the remove (×) button sit outside the clip (needed for the
|
|
4336
|
+
circular/ellipse shape, whose corners would otherwise clip the button). */
|
|
4337
|
+
.muka-thumbnail__frame {
|
|
4338
|
+
position: absolute;
|
|
4339
|
+
inset: 0;
|
|
4340
|
+
overflow: hidden;
|
|
4341
|
+
border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
|
|
4342
|
+
border-radius: var(--border-radius-lg);
|
|
4343
|
+
background-color: var(--color-surface-level1);
|
|
4450
4344
|
}
|
|
4451
4345
|
|
|
4452
|
-
/*
|
|
4453
|
-
.muka-
|
|
4454
|
-
|
|
4346
|
+
/* ─── Shapes ──────────────────────────────────────────── */
|
|
4347
|
+
.muka-thumbnail--4-3 {
|
|
4348
|
+
width: 160px;
|
|
4349
|
+
height: 120px;
|
|
4350
|
+
}
|
|
4351
|
+
|
|
4352
|
+
.muka-thumbnail--1-1 {
|
|
4353
|
+
width: 120px;
|
|
4354
|
+
height: 120px;
|
|
4355
|
+
}
|
|
4356
|
+
|
|
4357
|
+
.muka-thumbnail--ellipse {
|
|
4358
|
+
width: 120px;
|
|
4359
|
+
height: 120px;
|
|
4360
|
+
}
|
|
4361
|
+
|
|
4362
|
+
/* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
|
|
4363
|
+
.muka-thumbnail--fluid {
|
|
4364
|
+
width: 100%;
|
|
4365
|
+
height: auto;
|
|
4366
|
+
aspect-ratio: 1 / 1;
|
|
4367
|
+
}
|
|
4368
|
+
|
|
4369
|
+
.muka-thumbnail--fluid.muka-thumbnail--4-3 {
|
|
4370
|
+
aspect-ratio: 4 / 3;
|
|
4371
|
+
}
|
|
4372
|
+
|
|
4373
|
+
.muka-thumbnail--ellipse .muka-thumbnail__frame {
|
|
4374
|
+
border-radius: var(--border-radius-full);
|
|
4375
|
+
}
|
|
4376
|
+
|
|
4377
|
+
/* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
|
|
4378
|
+
interactive hover zoom has a clean origin. */
|
|
4379
|
+
.muka-thumbnail__image {
|
|
4380
|
+
position: absolute;
|
|
4381
|
+
inset: 0;
|
|
4382
|
+
width: 100%;
|
|
4383
|
+
height: 100%;
|
|
4384
|
+
object-fit: cover;
|
|
4385
|
+
display: block;
|
|
4386
|
+
transform-origin: center;
|
|
4387
|
+
/* Micro-interaction: hover zoom eases out over the "micro" duration. */
|
|
4388
|
+
transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4389
|
+
}
|
|
4390
|
+
|
|
4391
|
+
/* ─── Interactive (click-to-enlarge) ──────────────────── */
|
|
4392
|
+
.muka-thumbnail__trigger {
|
|
4393
|
+
position: absolute;
|
|
4394
|
+
inset: 0;
|
|
4395
|
+
padding: 0;
|
|
4396
|
+
border: 0;
|
|
4397
|
+
background: none;
|
|
4398
|
+
cursor: pointer;
|
|
4399
|
+
overflow: hidden;
|
|
4400
|
+
}
|
|
4401
|
+
|
|
4402
|
+
.muka-thumbnail__trigger:focus-visible {
|
|
4403
|
+
outline: 2px solid var(--color-border-focus);
|
|
4404
|
+
outline-offset: -2px;
|
|
4405
|
+
}
|
|
4406
|
+
|
|
4407
|
+
/* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
|
|
4408
|
+
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
4409
|
+
transform: scale(1.05);
|
|
4410
|
+
}
|
|
4411
|
+
|
|
4412
|
+
/* ─── Loading overlay + progress donut ────────────────── */
|
|
4413
|
+
.muka-thumbnail__overlay {
|
|
4414
|
+
position: absolute;
|
|
4415
|
+
inset: 0;
|
|
4416
|
+
display: flex;
|
|
4417
|
+
align-items: center;
|
|
4418
|
+
justify-content: center;
|
|
4419
|
+
background-color: var(--dialog-color-backdrop);
|
|
4420
|
+
}
|
|
4421
|
+
|
|
4422
|
+
.muka-thumbnail__progress {
|
|
4423
|
+
width: 40px;
|
|
4424
|
+
height: 40px;
|
|
4425
|
+
}
|
|
4426
|
+
|
|
4427
|
+
/* ─── Error / corrupt state ───────────────────────────── */
|
|
4428
|
+
.muka-thumbnail--error .muka-thumbnail__frame {
|
|
4429
|
+
background-color: var(--alias-color-state-error-muted);
|
|
4430
|
+
border-color: var(--alias-color-state-error-default);
|
|
4431
|
+
}
|
|
4432
|
+
|
|
4433
|
+
.muka-thumbnail__error {
|
|
4434
|
+
position: absolute;
|
|
4435
|
+
inset: 0;
|
|
4436
|
+
display: flex;
|
|
4437
|
+
flex-direction: column;
|
|
4438
|
+
align-items: center;
|
|
4439
|
+
justify-content: center;
|
|
4440
|
+
gap: var(--spacing-2);
|
|
4441
|
+
padding: var(--spacing-3);
|
|
4442
|
+
text-align: center;
|
|
4443
|
+
}
|
|
4444
|
+
|
|
4445
|
+
.muka-thumbnail__error-icon {
|
|
4446
|
+
color: var(--alert-color-error-accent);
|
|
4447
|
+
}
|
|
4448
|
+
|
|
4449
|
+
.muka-thumbnail__caption {
|
|
4450
|
+
max-width: 100%;
|
|
4451
|
+
overflow: hidden;
|
|
4452
|
+
text-overflow: ellipsis;
|
|
4453
|
+
white-space: nowrap;
|
|
4454
|
+
color: var(--alert-color-error-accent);
|
|
4455
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
4456
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
4457
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
4458
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
4459
|
+
}
|
|
4460
|
+
|
|
4461
|
+
/* ─── Remove (×) button ───────────────────────────────── */
|
|
4462
|
+
.muka-thumbnail__remove {
|
|
4463
|
+
position: absolute;
|
|
4464
|
+
top: var(--spacing-2);
|
|
4465
|
+
right: var(--spacing-2);
|
|
4466
|
+
display: flex;
|
|
4467
|
+
align-items: center;
|
|
4468
|
+
justify-content: center;
|
|
4469
|
+
width: var(--size-2xl);
|
|
4470
|
+
height: var(--size-2xl);
|
|
4471
|
+
padding: 0;
|
|
4472
|
+
color: var(--button-color-tertiary-foreground-default);
|
|
4473
|
+
background-color: var(--button-color-tertiary-background-default);
|
|
4474
|
+
border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
|
|
4475
|
+
border-radius: var(--border-radius-lg);
|
|
4476
|
+
cursor: pointer;
|
|
4477
|
+
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
4478
|
+
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4479
|
+
}
|
|
4480
|
+
|
|
4481
|
+
.muka-thumbnail__remove:hover {
|
|
4482
|
+
color: var(--button-color-tertiary-foreground-hover);
|
|
4483
|
+
background-color: var(--button-color-tertiary-background-hover);
|
|
4484
|
+
border-color: var(--button-color-tertiary-border-hover);
|
|
4485
|
+
}
|
|
4486
|
+
|
|
4487
|
+
.muka-thumbnail__remove:active {
|
|
4488
|
+
color: var(--button-color-tertiary-foreground-pressed);
|
|
4489
|
+
background-color: var(--button-color-tertiary-background-pressed);
|
|
4490
|
+
border-color: var(--button-color-tertiary-border-pressed);
|
|
4491
|
+
}
|
|
4492
|
+
|
|
4493
|
+
.muka-thumbnail__remove:focus-visible {
|
|
4494
|
+
outline: 2px solid var(--color-border-focus);
|
|
4495
|
+
outline-offset: 2px;
|
|
4496
|
+
}
|
|
4497
|
+
|
|
4498
|
+
/* ─── Reduced motion ──────────────────────────────────── */
|
|
4499
|
+
@media (prefers-reduced-motion: reduce) {
|
|
4500
|
+
.muka-thumbnail__image,
|
|
4501
|
+
.muka-thumbnail__remove {
|
|
4502
|
+
transition: none;
|
|
4503
|
+
}
|
|
4504
|
+
|
|
4505
|
+
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
4506
|
+
transform: none;
|
|
4507
|
+
}
|
|
4508
|
+
}
|
|
4509
|
+
|
|
4510
|
+
|
|
4511
|
+
/* Tabs */
|
|
4512
|
+
/* Tabs Component Styles - Clean underline style tabs matching Figma */
|
|
4513
|
+
|
|
4514
|
+
.muka-tabs {
|
|
4515
|
+
display: flex;
|
|
4516
|
+
flex-direction: column;
|
|
4517
|
+
}
|
|
4518
|
+
|
|
4519
|
+
/* Alignment Variants */
|
|
4520
|
+
.muka-tabs--align-left .muka-tabs__list {
|
|
4521
|
+
justify-content: flex-start;
|
|
4522
|
+
}
|
|
4523
|
+
.muka-tabs--align-center .muka-tabs__list {
|
|
4524
|
+
justify-content: center;
|
|
4525
|
+
}
|
|
4526
|
+
.muka-tabs--align-fill .muka-tabs__list {
|
|
4527
|
+
justify-content: space-between;
|
|
4528
|
+
}
|
|
4529
|
+
.muka-tabs--align-fill .muka-tabs__trigger {
|
|
4530
|
+
flex: 1;
|
|
4531
|
+
}
|
|
4532
|
+
|
|
4533
|
+
/* Tab List — strip container */
|
|
4534
|
+
.muka-tabs__list {
|
|
4535
|
+
display: flex;
|
|
4455
4536
|
align-items: center;
|
|
4456
4537
|
position: relative;
|
|
4457
4538
|
z-index: 2;
|
|
@@ -5292,191 +5373,41 @@ body {
|
|
|
5292
5373
|
}
|
|
5293
5374
|
|
|
5294
5375
|
|
|
5295
|
-
/*
|
|
5296
|
-
/*
|
|
5297
|
-
* SocialSignInButton lockup colors are provider-mandated (Apple HIG /
|
|
5298
|
-
* Google Identity branding) and intentionally fixed across Muka brands —
|
|
5299
|
-
* same exception pattern as LicensePlateInput regulatory colors.
|
|
5300
|
-
*
|
|
5301
|
-
* Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
|
|
5302
|
-
* Google: https://developers.google.com/identity/branding-guidelines
|
|
5303
|
-
*/
|
|
5304
|
-
.muka-social-sign-in-button {
|
|
5305
|
-
--ssi-white: #ffffff;
|
|
5306
|
-
--ssi-black: #000000;
|
|
5307
|
-
--ssi-google-text-light: #1f1f1f;
|
|
5376
|
+
/* SmsOtpField */
|
|
5377
|
+
/* SmsOtpField Component Styles - Using Muka Design Tokens */
|
|
5308
5378
|
|
|
5379
|
+
/* Wrapper */
|
|
5380
|
+
.muka-sms-otp-field {
|
|
5309
5381
|
display: inline-flex;
|
|
5310
|
-
|
|
5311
|
-
|
|
5312
|
-
|
|
5313
|
-
/* Provider lockup type — matches Figma / HIG, not brand font tokens.
|
|
5314
|
-
* SF Pro Text is OS-provided on Apple platforms (not redistributable).
|
|
5315
|
-
* Google Sans is not freely shippable; Roboto is the closest system fallback. */
|
|
5316
|
-
font-family: inherit;
|
|
5317
|
-
font-weight: 600;
|
|
5318
|
-
text-decoration: none;
|
|
5319
|
-
white-space: nowrap;
|
|
5382
|
+
flex-direction: column;
|
|
5383
|
+
gap: var(--spacing-2);
|
|
5384
|
+
}
|
|
5320
5385
|
|
|
5321
|
-
|
|
5386
|
+
/* Label */
|
|
5387
|
+
.muka-sms-otp-field__label {
|
|
5388
|
+
color: var(--color-text-default-default);
|
|
5322
5389
|
cursor: pointer;
|
|
5323
|
-
user-select: none;
|
|
5324
|
-
transition: opacity 0.15s ease, filter 0.15s ease;
|
|
5325
|
-
|
|
5326
|
-
outline: none;
|
|
5327
|
-
position: relative;
|
|
5328
|
-
box-sizing: border-box;
|
|
5329
5390
|
}
|
|
5330
5391
|
|
|
5331
|
-
.muka-
|
|
5332
|
-
font-family:
|
|
5333
|
-
|
|
5334
|
-
font-
|
|
5392
|
+
.muka-sms-otp-field__label--sm {
|
|
5393
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
5394
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
5395
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
5396
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5335
5397
|
}
|
|
5336
5398
|
|
|
5337
|
-
.muka-
|
|
5338
|
-
font-family:
|
|
5339
|
-
font-weight:
|
|
5399
|
+
.muka-sms-otp-field__label--md {
|
|
5400
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
5401
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
5402
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
5403
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
5340
5404
|
}
|
|
5341
5405
|
|
|
5342
|
-
.muka-
|
|
5343
|
-
|
|
5344
|
-
|
|
5345
|
-
|
|
5346
|
-
|
|
5347
|
-
/* Sizes — heights align with Button md/lg */
|
|
5348
|
-
.muka-social-sign-in-button--md {
|
|
5349
|
-
padding: 0 var(--button-padding-md-x);
|
|
5350
|
-
border-radius: var(--button-radius-md);
|
|
5351
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
5352
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5353
|
-
min-height: 40px;
|
|
5354
|
-
min-width: 240px;
|
|
5355
|
-
}
|
|
5356
|
-
|
|
5357
|
-
.muka-social-sign-in-button--md .muka-social-sign-in-button__label {
|
|
5358
|
-
padding: 0 var(--button-gap-md);
|
|
5359
|
-
}
|
|
5360
|
-
|
|
5361
|
-
.muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
|
|
5362
|
-
width: var(--button-icon-md);
|
|
5363
|
-
height: var(--button-icon-md);
|
|
5364
|
-
}
|
|
5365
|
-
|
|
5366
|
-
.muka-social-sign-in-button--lg {
|
|
5367
|
-
padding: 0 var(--button-padding-lg-x);
|
|
5368
|
-
border-radius: var(--button-radius-lg);
|
|
5369
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
5370
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
5371
|
-
min-height: 48px;
|
|
5372
|
-
min-width: 280px;
|
|
5373
|
-
}
|
|
5374
|
-
|
|
5375
|
-
.muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
|
|
5376
|
-
padding: 0 var(--button-gap-lg);
|
|
5377
|
-
}
|
|
5378
|
-
|
|
5379
|
-
.muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
|
|
5380
|
-
width: var(--button-icon-lg);
|
|
5381
|
-
height: var(--button-icon-lg);
|
|
5382
|
-
}
|
|
5383
|
-
|
|
5384
|
-
/* White lockup — for dark surfaces (Apple White with Outline) */
|
|
5385
|
-
.muka-social-sign-in-button--white {
|
|
5386
|
-
background-color: var(--ssi-white);
|
|
5387
|
-
color: var(--ssi-black);
|
|
5388
|
-
border-color: var(--ssi-black);
|
|
5389
|
-
}
|
|
5390
|
-
|
|
5391
|
-
.muka-social-sign-in-button--white.muka-social-sign-in-button--google {
|
|
5392
|
-
color: var(--ssi-google-text-light);
|
|
5393
|
-
}
|
|
5394
|
-
|
|
5395
|
-
/* Black lockup — for light surfaces */
|
|
5396
|
-
.muka-social-sign-in-button--black {
|
|
5397
|
-
background-color: var(--ssi-black);
|
|
5398
|
-
color: var(--ssi-white);
|
|
5399
|
-
border-color: transparent;
|
|
5400
|
-
}
|
|
5401
|
-
|
|
5402
|
-
/* Interaction — luminance/opacity only; no brand tint */
|
|
5403
|
-
.muka-social-sign-in-button:hover:not(:disabled) {
|
|
5404
|
-
filter: brightness(0.92);
|
|
5405
|
-
}
|
|
5406
|
-
|
|
5407
|
-
.muka-social-sign-in-button:active:not(:disabled) {
|
|
5408
|
-
filter: brightness(0.85);
|
|
5409
|
-
}
|
|
5410
|
-
|
|
5411
|
-
.muka-social-sign-in-button:disabled,
|
|
5412
|
-
.muka-social-sign-in-button--disabled {
|
|
5413
|
-
cursor: not-allowed;
|
|
5414
|
-
opacity: 0.4;
|
|
5415
|
-
pointer-events: none;
|
|
5416
|
-
filter: none;
|
|
5417
|
-
}
|
|
5418
|
-
|
|
5419
|
-
.muka-social-sign-in-button--full-width {
|
|
5420
|
-
width: 100%;
|
|
5421
|
-
min-width: 0;
|
|
5422
|
-
}
|
|
5423
|
-
|
|
5424
|
-
.muka-social-sign-in-button__icon {
|
|
5425
|
-
display: inline-flex;
|
|
5426
|
-
align-items: center;
|
|
5427
|
-
justify-content: center;
|
|
5428
|
-
flex-shrink: 0;
|
|
5429
|
-
}
|
|
5430
|
-
|
|
5431
|
-
.muka-social-sign-in-button__icon > *,
|
|
5432
|
-
.muka-social-sign-in-button__icon svg {
|
|
5433
|
-
width: auto;
|
|
5434
|
-
height: 100%;
|
|
5435
|
-
max-width: 100%;
|
|
5436
|
-
display: block;
|
|
5437
|
-
}
|
|
5438
|
-
|
|
5439
|
-
.muka-social-sign-in-button__label {
|
|
5440
|
-
display: inline-flex;
|
|
5441
|
-
align-items: center;
|
|
5442
|
-
}
|
|
5443
|
-
|
|
5444
|
-
|
|
5445
|
-
/* SmsOtpField */
|
|
5446
|
-
/* SmsOtpField Component Styles - Using Muka Design Tokens */
|
|
5447
|
-
|
|
5448
|
-
/* Wrapper */
|
|
5449
|
-
.muka-sms-otp-field {
|
|
5450
|
-
display: inline-flex;
|
|
5451
|
-
flex-direction: column;
|
|
5452
|
-
gap: var(--spacing-2);
|
|
5453
|
-
}
|
|
5454
|
-
|
|
5455
|
-
/* Label */
|
|
5456
|
-
.muka-sms-otp-field__label {
|
|
5457
|
-
color: var(--color-text-default-default);
|
|
5458
|
-
cursor: pointer;
|
|
5459
|
-
}
|
|
5460
|
-
|
|
5461
|
-
.muka-sms-otp-field__label--sm {
|
|
5462
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
5463
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
5464
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
5465
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5466
|
-
}
|
|
5467
|
-
|
|
5468
|
-
.muka-sms-otp-field__label--md {
|
|
5469
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
5470
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
5471
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
5472
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
5473
|
-
}
|
|
5474
|
-
|
|
5475
|
-
.muka-sms-otp-field__label--lg {
|
|
5476
|
-
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
5477
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
5478
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
5479
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
5406
|
+
.muka-sms-otp-field__label--lg {
|
|
5407
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
5408
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
5409
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
5410
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
5480
5411
|
}
|
|
5481
5412
|
|
|
5482
5413
|
.muka-sms-otp-field__required {
|
|
@@ -5634,6 +5565,156 @@ body {
|
|
|
5634
5565
|
}
|
|
5635
5566
|
|
|
5636
5567
|
|
|
5568
|
+
/* SocialSignInButton */
|
|
5569
|
+
/*
|
|
5570
|
+
* SocialSignInButton lockup colors are provider-mandated (Apple HIG /
|
|
5571
|
+
* Google Identity branding) and intentionally fixed across Muka brands —
|
|
5572
|
+
* same exception pattern as LicensePlateInput regulatory colors.
|
|
5573
|
+
*
|
|
5574
|
+
* Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
|
|
5575
|
+
* Google: https://developers.google.com/identity/branding-guidelines
|
|
5576
|
+
*/
|
|
5577
|
+
.muka-social-sign-in-button {
|
|
5578
|
+
--ssi-white: #ffffff;
|
|
5579
|
+
--ssi-black: #000000;
|
|
5580
|
+
--ssi-google-text-light: #1f1f1f;
|
|
5581
|
+
|
|
5582
|
+
display: inline-flex;
|
|
5583
|
+
align-items: center;
|
|
5584
|
+
justify-content: center;
|
|
5585
|
+
|
|
5586
|
+
/* Provider lockup type — matches Figma / HIG, not brand font tokens.
|
|
5587
|
+
* SF Pro Text is OS-provided on Apple platforms (not redistributable).
|
|
5588
|
+
* Google Sans is not freely shippable; Roboto is the closest system fallback. */
|
|
5589
|
+
font-family: inherit;
|
|
5590
|
+
font-weight: 600;
|
|
5591
|
+
text-decoration: none;
|
|
5592
|
+
white-space: nowrap;
|
|
5593
|
+
|
|
5594
|
+
border: 1px solid transparent;
|
|
5595
|
+
cursor: pointer;
|
|
5596
|
+
user-select: none;
|
|
5597
|
+
transition: opacity 0.15s ease, filter 0.15s ease;
|
|
5598
|
+
|
|
5599
|
+
outline: none;
|
|
5600
|
+
position: relative;
|
|
5601
|
+
box-sizing: border-box;
|
|
5602
|
+
}
|
|
5603
|
+
|
|
5604
|
+
.muka-social-sign-in-button--apple {
|
|
5605
|
+
font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
|
5606
|
+
Helvetica, Arial, sans-serif;
|
|
5607
|
+
font-weight: 600;
|
|
5608
|
+
}
|
|
5609
|
+
|
|
5610
|
+
.muka-social-sign-in-button--google {
|
|
5611
|
+
font-family: 'Google Sans', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
5612
|
+
font-weight: 500;
|
|
5613
|
+
}
|
|
5614
|
+
|
|
5615
|
+
.muka-social-sign-in-button:focus-visible {
|
|
5616
|
+
outline: 2px solid var(--color-border-focus);
|
|
5617
|
+
outline-offset: 2px;
|
|
5618
|
+
}
|
|
5619
|
+
|
|
5620
|
+
/* Sizes — heights align with Button md/lg */
|
|
5621
|
+
.muka-social-sign-in-button--md {
|
|
5622
|
+
padding: 0 var(--button-padding-md-x);
|
|
5623
|
+
border-radius: var(--button-radius-md);
|
|
5624
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
5625
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5626
|
+
min-height: 40px;
|
|
5627
|
+
min-width: 240px;
|
|
5628
|
+
}
|
|
5629
|
+
|
|
5630
|
+
.muka-social-sign-in-button--md .muka-social-sign-in-button__label {
|
|
5631
|
+
padding: 0 var(--button-gap-md);
|
|
5632
|
+
}
|
|
5633
|
+
|
|
5634
|
+
.muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
|
|
5635
|
+
width: var(--button-icon-md);
|
|
5636
|
+
height: var(--button-icon-md);
|
|
5637
|
+
}
|
|
5638
|
+
|
|
5639
|
+
.muka-social-sign-in-button--lg {
|
|
5640
|
+
padding: 0 var(--button-padding-lg-x);
|
|
5641
|
+
border-radius: var(--button-radius-lg);
|
|
5642
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
5643
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
5644
|
+
min-height: 48px;
|
|
5645
|
+
min-width: 280px;
|
|
5646
|
+
}
|
|
5647
|
+
|
|
5648
|
+
.muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
|
|
5649
|
+
padding: 0 var(--button-gap-lg);
|
|
5650
|
+
}
|
|
5651
|
+
|
|
5652
|
+
.muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
|
|
5653
|
+
width: var(--button-icon-lg);
|
|
5654
|
+
height: var(--button-icon-lg);
|
|
5655
|
+
}
|
|
5656
|
+
|
|
5657
|
+
/* White lockup — for dark surfaces (Apple White with Outline) */
|
|
5658
|
+
.muka-social-sign-in-button--white {
|
|
5659
|
+
background-color: var(--ssi-white);
|
|
5660
|
+
color: var(--ssi-black);
|
|
5661
|
+
border-color: var(--ssi-black);
|
|
5662
|
+
}
|
|
5663
|
+
|
|
5664
|
+
.muka-social-sign-in-button--white.muka-social-sign-in-button--google {
|
|
5665
|
+
color: var(--ssi-google-text-light);
|
|
5666
|
+
}
|
|
5667
|
+
|
|
5668
|
+
/* Black lockup — for light surfaces */
|
|
5669
|
+
.muka-social-sign-in-button--black {
|
|
5670
|
+
background-color: var(--ssi-black);
|
|
5671
|
+
color: var(--ssi-white);
|
|
5672
|
+
border-color: transparent;
|
|
5673
|
+
}
|
|
5674
|
+
|
|
5675
|
+
/* Interaction — luminance/opacity only; no brand tint */
|
|
5676
|
+
.muka-social-sign-in-button:hover:not(:disabled) {
|
|
5677
|
+
filter: brightness(0.92);
|
|
5678
|
+
}
|
|
5679
|
+
|
|
5680
|
+
.muka-social-sign-in-button:active:not(:disabled) {
|
|
5681
|
+
filter: brightness(0.85);
|
|
5682
|
+
}
|
|
5683
|
+
|
|
5684
|
+
.muka-social-sign-in-button:disabled,
|
|
5685
|
+
.muka-social-sign-in-button--disabled {
|
|
5686
|
+
cursor: not-allowed;
|
|
5687
|
+
opacity: 0.4;
|
|
5688
|
+
pointer-events: none;
|
|
5689
|
+
filter: none;
|
|
5690
|
+
}
|
|
5691
|
+
|
|
5692
|
+
.muka-social-sign-in-button--full-width {
|
|
5693
|
+
width: 100%;
|
|
5694
|
+
min-width: 0;
|
|
5695
|
+
}
|
|
5696
|
+
|
|
5697
|
+
.muka-social-sign-in-button__icon {
|
|
5698
|
+
display: inline-flex;
|
|
5699
|
+
align-items: center;
|
|
5700
|
+
justify-content: center;
|
|
5701
|
+
flex-shrink: 0;
|
|
5702
|
+
}
|
|
5703
|
+
|
|
5704
|
+
.muka-social-sign-in-button__icon > *,
|
|
5705
|
+
.muka-social-sign-in-button__icon svg {
|
|
5706
|
+
width: auto;
|
|
5707
|
+
height: 100%;
|
|
5708
|
+
max-width: 100%;
|
|
5709
|
+
display: block;
|
|
5710
|
+
}
|
|
5711
|
+
|
|
5712
|
+
.muka-social-sign-in-button__label {
|
|
5713
|
+
display: inline-flex;
|
|
5714
|
+
align-items: center;
|
|
5715
|
+
}
|
|
5716
|
+
|
|
5717
|
+
|
|
5637
5718
|
/* Skeleton */
|
|
5638
5719
|
/* Skeleton Component Styles */
|
|
5639
5720
|
|
|
@@ -6488,75 +6569,25 @@ body {
|
|
|
6488
6569
|
.muka-search-input__cancel {
|
|
6489
6570
|
flex-shrink: 0;
|
|
6490
6571
|
background: none;
|
|
6491
|
-
border: none;
|
|
6492
|
-
padding: var(--spacing-1) var(--spacing-2);
|
|
6493
|
-
cursor: pointer;
|
|
6494
|
-
color: var(--color-action-default);
|
|
6495
|
-
font-family: var(--text-label-md-regular-fontFamily);
|
|
6496
|
-
font-weight: var(--text-label-md-regular-fontWeight);
|
|
6497
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
6498
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
6499
|
-
-webkit-tap-highlight-color: transparent;
|
|
6500
|
-
}
|
|
6501
|
-
|
|
6502
|
-
.muka-search-input__cancel:hover {
|
|
6503
|
-
color: var(--color-action-hover);
|
|
6504
|
-
}
|
|
6505
|
-
|
|
6506
|
-
.muka-search-input__cancel:focus-visible {
|
|
6507
|
-
outline: 2px solid var(--color-action-default);
|
|
6508
|
-
outline-offset: 2px;
|
|
6509
|
-
border-radius: var(--radius-sm);
|
|
6510
|
-
}
|
|
6511
|
-
|
|
6512
|
-
|
|
6513
|
-
/* RecordingBar */
|
|
6514
|
-
/* RecordingBar Component Styles */
|
|
6515
|
-
|
|
6516
|
-
.muka-recording-bar {
|
|
6517
|
-
display: flex;
|
|
6518
|
-
align-items: center;
|
|
6519
|
-
gap: var(--spacing-3);
|
|
6520
|
-
width: 100%;
|
|
6521
|
-
min-width: 0;
|
|
6522
|
-
}
|
|
6523
|
-
|
|
6524
|
-
.muka-recording-bar__dot {
|
|
6525
|
-
flex: 0 0 auto;
|
|
6526
|
-
width: 0.625rem;
|
|
6527
|
-
height: 0.625rem;
|
|
6528
|
-
border-radius: var(--radius-full, 9999px);
|
|
6529
|
-
background: var(--alert-color-error-accent, var(--color-text-default-default));
|
|
6530
|
-
animation: muka-recording-bar-pulse 1s ease-in-out infinite;
|
|
6531
|
-
}
|
|
6532
|
-
|
|
6533
|
-
.muka-recording-bar__time {
|
|
6534
|
-
flex: 0 0 auto;
|
|
6535
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
6536
|
-
line-height: var(--text-label-sm-leading);
|
|
6537
|
-
font-variant-numeric: tabular-nums;
|
|
6538
|
-
color: var(--color-text-default-default);
|
|
6539
|
-
}
|
|
6540
|
-
|
|
6541
|
-
.muka-recording-bar__wave {
|
|
6542
|
-
flex: 1 1 auto;
|
|
6543
|
-
min-width: 0;
|
|
6572
|
+
border: none;
|
|
6573
|
+
padding: var(--spacing-1) var(--spacing-2);
|
|
6574
|
+
cursor: pointer;
|
|
6575
|
+
color: var(--color-action-default);
|
|
6576
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
6577
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
6578
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
6579
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
6580
|
+
-webkit-tap-highlight-color: transparent;
|
|
6544
6581
|
}
|
|
6545
6582
|
|
|
6546
|
-
|
|
6547
|
-
|
|
6548
|
-
100% {
|
|
6549
|
-
opacity: 1;
|
|
6550
|
-
}
|
|
6551
|
-
50% {
|
|
6552
|
-
opacity: 0.3;
|
|
6553
|
-
}
|
|
6583
|
+
.muka-search-input__cancel:hover {
|
|
6584
|
+
color: var(--color-action-hover);
|
|
6554
6585
|
}
|
|
6555
6586
|
|
|
6556
|
-
|
|
6557
|
-
|
|
6558
|
-
|
|
6559
|
-
|
|
6587
|
+
.muka-search-input__cancel:focus-visible {
|
|
6588
|
+
outline: 2px solid var(--color-action-default);
|
|
6589
|
+
outline-offset: 2px;
|
|
6590
|
+
border-radius: var(--radius-sm);
|
|
6560
6591
|
}
|
|
6561
6592
|
|
|
6562
6593
|
|
|
@@ -6687,6 +6718,56 @@ body {
|
|
|
6687
6718
|
}
|
|
6688
6719
|
|
|
6689
6720
|
|
|
6721
|
+
/* RecordingBar */
|
|
6722
|
+
/* RecordingBar Component Styles */
|
|
6723
|
+
|
|
6724
|
+
.muka-recording-bar {
|
|
6725
|
+
display: flex;
|
|
6726
|
+
align-items: center;
|
|
6727
|
+
gap: var(--spacing-3);
|
|
6728
|
+
width: 100%;
|
|
6729
|
+
min-width: 0;
|
|
6730
|
+
}
|
|
6731
|
+
|
|
6732
|
+
.muka-recording-bar__dot {
|
|
6733
|
+
flex: 0 0 auto;
|
|
6734
|
+
width: 0.625rem;
|
|
6735
|
+
height: 0.625rem;
|
|
6736
|
+
border-radius: var(--radius-full, 9999px);
|
|
6737
|
+
background: var(--alert-color-error-accent, var(--color-text-default-default));
|
|
6738
|
+
animation: muka-recording-bar-pulse 1s ease-in-out infinite;
|
|
6739
|
+
}
|
|
6740
|
+
|
|
6741
|
+
.muka-recording-bar__time {
|
|
6742
|
+
flex: 0 0 auto;
|
|
6743
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
6744
|
+
line-height: var(--text-label-sm-leading);
|
|
6745
|
+
font-variant-numeric: tabular-nums;
|
|
6746
|
+
color: var(--color-text-default-default);
|
|
6747
|
+
}
|
|
6748
|
+
|
|
6749
|
+
.muka-recording-bar__wave {
|
|
6750
|
+
flex: 1 1 auto;
|
|
6751
|
+
min-width: 0;
|
|
6752
|
+
}
|
|
6753
|
+
|
|
6754
|
+
@keyframes muka-recording-bar-pulse {
|
|
6755
|
+
0%,
|
|
6756
|
+
100% {
|
|
6757
|
+
opacity: 1;
|
|
6758
|
+
}
|
|
6759
|
+
50% {
|
|
6760
|
+
opacity: 0.3;
|
|
6761
|
+
}
|
|
6762
|
+
}
|
|
6763
|
+
|
|
6764
|
+
@media (prefers-reduced-motion: reduce) {
|
|
6765
|
+
.muka-recording-bar__dot {
|
|
6766
|
+
animation: none;
|
|
6767
|
+
}
|
|
6768
|
+
}
|
|
6769
|
+
|
|
6770
|
+
|
|
6690
6771
|
/* RangeSlider */
|
|
6691
6772
|
/* RangeSlider Component Styles - Using Muka Design Tokens */
|
|
6692
6773
|
|
|
@@ -6808,242 +6889,98 @@ body {
|
|
|
6808
6889
|
);
|
|
6809
6890
|
}
|
|
6810
6891
|
|
|
6811
|
-
.muka-range-slider__input:focus {
|
|
6812
|
-
outline: none;
|
|
6813
|
-
}
|
|
6814
|
-
|
|
6815
|
-
/* WebKit / Blink track */
|
|
6816
|
-
.muka-range-slider__input::-webkit-slider-runnable-track {
|
|
6817
|
-
height: var(--muka-range-track-h);
|
|
6818
|
-
border-radius: var(--border-radius-full);
|
|
6819
|
-
background-image: var(--muka-range-track-fill);
|
|
6820
|
-
border: 1px solid var(--color-border-contrast);
|
|
6821
|
-
box-shadow: var(--shadow-sunken);
|
|
6822
|
-
}
|
|
6823
|
-
|
|
6824
|
-
/* Firefox track + progress */
|
|
6825
|
-
.muka-range-slider__input::-moz-range-track {
|
|
6826
|
-
height: var(--muka-range-track-h);
|
|
6827
|
-
border-radius: var(--border-radius-full);
|
|
6828
|
-
background: var(--color-surface-sunken);
|
|
6829
|
-
border: 1px solid var(--color-border-contrast);
|
|
6830
|
-
box-shadow: var(--shadow-sunken);
|
|
6831
|
-
}
|
|
6832
|
-
.muka-range-slider__input::-moz-range-progress {
|
|
6833
|
-
height: var(--muka-range-track-h);
|
|
6834
|
-
border-radius: var(--border-radius-full);
|
|
6835
|
-
background: var(--color-action-default);
|
|
6836
|
-
}
|
|
6837
|
-
|
|
6838
|
-
/* WebKit / Blink thumb (vertically centred over the track) */
|
|
6839
|
-
.muka-range-slider__input::-webkit-slider-thumb {
|
|
6840
|
-
-webkit-appearance: none;
|
|
6841
|
-
appearance: none;
|
|
6842
|
-
width: var(--muka-range-thumb);
|
|
6843
|
-
height: var(--muka-range-thumb);
|
|
6844
|
-
margin-top: calc((var(--muka-range-track-h) - var(--muka-range-thumb)) / 2);
|
|
6845
|
-
border-radius: var(--border-radius-full);
|
|
6846
|
-
border: 1px solid var(--color-border-contrast);
|
|
6847
|
-
box-shadow: var(--shadow-level2);
|
|
6848
|
-
background-color: var(--color-surface-level1);
|
|
6849
|
-
background-image:
|
|
6850
|
-
linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color)),
|
|
6851
|
-
linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color));
|
|
6852
|
-
background-repeat: no-repeat;
|
|
6853
|
-
background-size: var(--muka-range-grip-w) var(--muka-range-grip-h), var(--muka-range-grip-w) var(--muka-range-grip-h);
|
|
6854
|
-
background-position:
|
|
6855
|
-
calc(50% - var(--muka-range-grip-gap)) center,
|
|
6856
|
-
calc(50% + var(--muka-range-grip-gap)) center;
|
|
6857
|
-
transition: box-shadow 0.15s ease, background-color 0.15s ease;
|
|
6858
|
-
}
|
|
6859
|
-
|
|
6860
|
-
/* Firefox thumb */
|
|
6861
|
-
.muka-range-slider__input::-moz-range-thumb {
|
|
6862
|
-
width: var(--muka-range-thumb);
|
|
6863
|
-
height: var(--muka-range-thumb);
|
|
6864
|
-
border-radius: var(--border-radius-full);
|
|
6865
|
-
border: 1px solid var(--color-border-contrast);
|
|
6866
|
-
box-shadow: var(--shadow-level2);
|
|
6867
|
-
background-color: var(--color-surface-level1);
|
|
6868
|
-
background-image:
|
|
6869
|
-
linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color)),
|
|
6870
|
-
linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color));
|
|
6871
|
-
background-repeat: no-repeat;
|
|
6872
|
-
background-size: var(--muka-range-grip-w) var(--muka-range-grip-h), var(--muka-range-grip-w) var(--muka-range-grip-h);
|
|
6873
|
-
background-position:
|
|
6874
|
-
calc(50% - var(--muka-range-grip-gap)) center,
|
|
6875
|
-
calc(50% + var(--muka-range-grip-gap)) center;
|
|
6876
|
-
transition: box-shadow 0.15s ease, background-color 0.15s ease;
|
|
6877
|
-
}
|
|
6878
|
-
|
|
6879
|
-
/* Hover */
|
|
6880
|
-
.muka-range-slider__input:hover::-webkit-slider-thumb {
|
|
6881
|
-
background-color: var(--color-surface-level1);
|
|
6882
|
-
box-shadow: var(--shadow-level3);
|
|
6883
|
-
}
|
|
6884
|
-
.muka-range-slider__input:hover::-moz-range-thumb {
|
|
6885
|
-
background-color: var(--color-surface-level1);
|
|
6886
|
-
box-shadow: var(--shadow-level3);
|
|
6887
|
-
}
|
|
6888
|
-
|
|
6889
|
-
/* Focus ring */
|
|
6890
|
-
.muka-range-slider__input:focus-visible::-webkit-slider-thumb {
|
|
6891
|
-
box-shadow: var(--shadow-level2), 0 0 0 3px var(--color-border-focus);
|
|
6892
|
-
}
|
|
6893
|
-
.muka-range-slider__input:focus-visible::-moz-range-thumb {
|
|
6894
|
-
box-shadow: var(--shadow-level2), 0 0 0 3px var(--color-border-focus);
|
|
6895
|
-
}
|
|
6896
|
-
|
|
6897
|
-
/* Disabled */
|
|
6898
|
-
.muka-range-slider--disabled {
|
|
6899
|
-
opacity: 0.5;
|
|
6900
|
-
}
|
|
6901
|
-
.muka-range-slider--disabled .muka-range-slider__input {
|
|
6902
|
-
cursor: not-allowed;
|
|
6903
|
-
}
|
|
6904
|
-
|
|
6905
|
-
|
|
6906
|
-
/* Radio */
|
|
6907
|
-
/* Radio Component Styles - Using Muka Design Tokens */
|
|
6908
|
-
|
|
6909
|
-
/* Wrapper - clickable label container */
|
|
6910
|
-
.muka-radio {
|
|
6911
|
-
display: inline-flex;
|
|
6912
|
-
align-items: center;
|
|
6913
|
-
gap: var(--spacing-4);
|
|
6914
|
-
cursor: pointer;
|
|
6915
|
-
user-select: none;
|
|
6916
|
-
}
|
|
6917
|
-
|
|
6918
|
-
.muka-radio--disabled {
|
|
6919
|
-
cursor: not-allowed;
|
|
6920
|
-
opacity: 0.6;
|
|
6921
|
-
}
|
|
6922
|
-
|
|
6923
|
-
/* Control container */
|
|
6924
|
-
.muka-radio__control {
|
|
6925
|
-
position: relative;
|
|
6926
|
-
display: inline-flex;
|
|
6927
|
-
align-items: center;
|
|
6928
|
-
justify-content: center;
|
|
6929
|
-
flex-shrink: 0;
|
|
6930
|
-
}
|
|
6931
|
-
|
|
6932
|
-
/* Hidden native input */
|
|
6933
|
-
.muka-radio__input {
|
|
6934
|
-
position: absolute;
|
|
6935
|
-
width: 1px;
|
|
6936
|
-
height: 1px;
|
|
6937
|
-
padding: 0;
|
|
6938
|
-
margin: -1px;
|
|
6939
|
-
overflow: hidden;
|
|
6940
|
-
clip: rect(0, 0, 0, 0);
|
|
6941
|
-
white-space: nowrap;
|
|
6942
|
-
border: 0;
|
|
6943
|
-
}
|
|
6944
|
-
|
|
6945
|
-
/* Visual indicator (circle) */
|
|
6946
|
-
.muka-radio__indicator {
|
|
6947
|
-
display: flex;
|
|
6948
|
-
align-items: center;
|
|
6949
|
-
justify-content: center;
|
|
6950
|
-
width: var(--radio-size-default);
|
|
6951
|
-
height: var(--radio-size-default);
|
|
6952
|
-
border-radius: var(--border-radius-full);
|
|
6953
|
-
background-color: var(--radio-color-default-background);
|
|
6954
|
-
border: var(--border-width-regular) solid var(--radio-color-default-border);
|
|
6955
|
-
transition: all 0.15s ease;
|
|
6956
|
-
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
6957
|
-
}
|
|
6958
|
-
|
|
6959
|
-
/* Size variants */
|
|
6960
|
-
.muka-radio--sm .muka-radio__indicator {
|
|
6961
|
-
width: var(--radio-size-sm);
|
|
6962
|
-
height: var(--radio-size-sm);
|
|
6963
|
-
}
|
|
6964
|
-
|
|
6965
|
-
.muka-radio--lg .muka-radio__indicator {
|
|
6966
|
-
width: var(--radio-size-lg);
|
|
6967
|
-
height: var(--radio-size-lg);
|
|
6968
|
-
}
|
|
6969
|
-
|
|
6970
|
-
/* Inner dot (shown when checked) */
|
|
6971
|
-
.muka-radio__dot {
|
|
6972
|
-
width: var(--radio-dot-size-default);
|
|
6973
|
-
height: var(--radio-dot-size-default);
|
|
6974
|
-
border-radius: var(--border-radius-full);
|
|
6975
|
-
background-color: var(--radio-color-default-dot);
|
|
6976
|
-
transform: scale(0);
|
|
6977
|
-
transition: transform 0.15s ease;
|
|
6978
|
-
}
|
|
6979
|
-
|
|
6980
|
-
.muka-radio--sm .muka-radio__dot {
|
|
6981
|
-
width: var(--radio-dot-size-sm);
|
|
6982
|
-
height: var(--radio-dot-size-sm);
|
|
6983
|
-
}
|
|
6984
|
-
|
|
6985
|
-
.muka-radio--lg .muka-radio__dot {
|
|
6986
|
-
width: var(--radio-dot-size-lg);
|
|
6987
|
-
height: var(--radio-dot-size-lg);
|
|
6988
|
-
}
|
|
6989
|
-
|
|
6990
|
-
/* Hover state - removed per design */
|
|
6991
|
-
|
|
6992
|
-
/* Focus state */
|
|
6993
|
-
.muka-radio__input:focus-visible + .muka-radio__indicator {
|
|
6994
|
-
outline: 2px solid var(--color-border-focus);
|
|
6995
|
-
outline-offset: 2px;
|
|
6892
|
+
.muka-range-slider__input:focus {
|
|
6893
|
+
outline: none;
|
|
6996
6894
|
}
|
|
6997
6895
|
|
|
6998
|
-
/*
|
|
6999
|
-
.muka-
|
|
7000
|
-
|
|
7001
|
-
border-
|
|
7002
|
-
|
|
7003
|
-
|
|
6896
|
+
/* WebKit / Blink track */
|
|
6897
|
+
.muka-range-slider__input::-webkit-slider-runnable-track {
|
|
6898
|
+
height: var(--muka-range-track-h);
|
|
6899
|
+
border-radius: var(--border-radius-full);
|
|
6900
|
+
background-image: var(--muka-range-track-fill);
|
|
6901
|
+
border: 1px solid var(--color-border-contrast);
|
|
6902
|
+
box-shadow: var(--shadow-sunken);
|
|
7004
6903
|
}
|
|
7005
6904
|
|
|
7006
|
-
|
|
7007
|
-
|
|
7008
|
-
|
|
6905
|
+
/* Firefox track + progress */
|
|
6906
|
+
.muka-range-slider__input::-moz-range-track {
|
|
6907
|
+
height: var(--muka-range-track-h);
|
|
6908
|
+
border-radius: var(--border-radius-full);
|
|
6909
|
+
background: var(--color-surface-sunken);
|
|
6910
|
+
border: 1px solid var(--color-border-contrast);
|
|
6911
|
+
box-shadow: var(--shadow-sunken);
|
|
7009
6912
|
}
|
|
7010
|
-
|
|
7011
|
-
|
|
7012
|
-
|
|
7013
|
-
background
|
|
7014
|
-
border-color: var(--radio-color-disabled-border);
|
|
7015
|
-
box-shadow: none;
|
|
6913
|
+
.muka-range-slider__input::-moz-range-progress {
|
|
6914
|
+
height: var(--muka-range-track-h);
|
|
6915
|
+
border-radius: var(--border-radius-full);
|
|
6916
|
+
background: var(--color-action-default);
|
|
7016
6917
|
}
|
|
7017
6918
|
|
|
7018
|
-
|
|
7019
|
-
|
|
6919
|
+
/* WebKit / Blink thumb (vertically centred over the track) */
|
|
6920
|
+
.muka-range-slider__input::-webkit-slider-thumb {
|
|
6921
|
+
-webkit-appearance: none;
|
|
6922
|
+
appearance: none;
|
|
6923
|
+
width: var(--muka-range-thumb);
|
|
6924
|
+
height: var(--muka-range-thumb);
|
|
6925
|
+
margin-top: calc((var(--muka-range-track-h) - var(--muka-range-thumb)) / 2);
|
|
6926
|
+
border-radius: var(--border-radius-full);
|
|
6927
|
+
border: 1px solid var(--color-border-contrast);
|
|
6928
|
+
box-shadow: var(--shadow-level2);
|
|
6929
|
+
background-color: var(--color-surface-level1);
|
|
6930
|
+
background-image:
|
|
6931
|
+
linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color)),
|
|
6932
|
+
linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color));
|
|
6933
|
+
background-repeat: no-repeat;
|
|
6934
|
+
background-size: var(--muka-range-grip-w) var(--muka-range-grip-h), var(--muka-range-grip-w) var(--muka-range-grip-h);
|
|
6935
|
+
background-position:
|
|
6936
|
+
calc(50% - var(--muka-range-grip-gap)) center,
|
|
6937
|
+
calc(50% + var(--muka-range-grip-gap)) center;
|
|
6938
|
+
transition: box-shadow 0.15s ease, background-color 0.15s ease;
|
|
7020
6939
|
}
|
|
7021
6940
|
|
|
7022
|
-
/*
|
|
7023
|
-
.muka-
|
|
7024
|
-
|
|
7025
|
-
|
|
7026
|
-
|
|
7027
|
-
|
|
7028
|
-
|
|
6941
|
+
/* Firefox thumb */
|
|
6942
|
+
.muka-range-slider__input::-moz-range-thumb {
|
|
6943
|
+
width: var(--muka-range-thumb);
|
|
6944
|
+
height: var(--muka-range-thumb);
|
|
6945
|
+
border-radius: var(--border-radius-full);
|
|
6946
|
+
border: 1px solid var(--color-border-contrast);
|
|
6947
|
+
box-shadow: var(--shadow-level2);
|
|
6948
|
+
background-color: var(--color-surface-level1);
|
|
6949
|
+
background-image:
|
|
6950
|
+
linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color)),
|
|
6951
|
+
linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color));
|
|
6952
|
+
background-repeat: no-repeat;
|
|
6953
|
+
background-size: var(--muka-range-grip-w) var(--muka-range-grip-h), var(--muka-range-grip-w) var(--muka-range-grip-h);
|
|
6954
|
+
background-position:
|
|
6955
|
+
calc(50% - var(--muka-range-grip-gap)) center,
|
|
6956
|
+
calc(50% + var(--muka-range-grip-gap)) center;
|
|
6957
|
+
transition: box-shadow 0.15s ease, background-color 0.15s ease;
|
|
7029
6958
|
}
|
|
7030
6959
|
|
|
7031
|
-
|
|
7032
|
-
|
|
7033
|
-
|
|
7034
|
-
|
|
7035
|
-
|
|
6960
|
+
/* Hover */
|
|
6961
|
+
.muka-range-slider__input:hover::-webkit-slider-thumb {
|
|
6962
|
+
background-color: var(--color-surface-level1);
|
|
6963
|
+
box-shadow: var(--shadow-level3);
|
|
6964
|
+
}
|
|
6965
|
+
.muka-range-slider__input:hover::-moz-range-thumb {
|
|
6966
|
+
background-color: var(--color-surface-level1);
|
|
6967
|
+
box-shadow: var(--shadow-level3);
|
|
7036
6968
|
}
|
|
7037
6969
|
|
|
7038
|
-
|
|
7039
|
-
|
|
7040
|
-
|
|
7041
|
-
|
|
7042
|
-
|
|
6970
|
+
/* Focus ring */
|
|
6971
|
+
.muka-range-slider__input:focus-visible::-webkit-slider-thumb {
|
|
6972
|
+
box-shadow: var(--shadow-level2), 0 0 0 3px var(--color-border-focus);
|
|
6973
|
+
}
|
|
6974
|
+
.muka-range-slider__input:focus-visible::-moz-range-thumb {
|
|
6975
|
+
box-shadow: var(--shadow-level2), 0 0 0 3px var(--color-border-focus);
|
|
7043
6976
|
}
|
|
7044
6977
|
|
|
7045
|
-
|
|
7046
|
-
|
|
6978
|
+
/* Disabled */
|
|
6979
|
+
.muka-range-slider--disabled {
|
|
6980
|
+
opacity: 0.5;
|
|
6981
|
+
}
|
|
6982
|
+
.muka-range-slider--disabled .muka-range-slider__input {
|
|
6983
|
+
cursor: not-allowed;
|
|
7047
6984
|
}
|
|
7048
6985
|
|
|
7049
6986
|
|
|
@@ -7788,16 +7725,160 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
7788
7725
|
line-height: var(--text-body-base-regular-lineHeight);
|
|
7789
7726
|
}
|
|
7790
7727
|
|
|
7791
|
-
.muka-progress-tracker__tab--selected .muka-progress-tracker__label {
|
|
7792
|
-
font-family: var(--text-body-base-bold-fontFamily);
|
|
7793
|
-
font-weight: var(--text-body-base-bold-fontWeight);
|
|
7728
|
+
.muka-progress-tracker__tab--selected .muka-progress-tracker__label {
|
|
7729
|
+
font-family: var(--text-body-base-bold-fontFamily);
|
|
7730
|
+
font-weight: var(--text-body-base-bold-fontWeight);
|
|
7731
|
+
}
|
|
7732
|
+
|
|
7733
|
+
.muka-progress-tracker--tabs .muka-progress-tracker__indicator--upcoming .muka-progress-tracker__number {
|
|
7734
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
7735
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
7736
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
7737
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
7738
|
+
}
|
|
7739
|
+
|
|
7740
|
+
|
|
7741
|
+
/* Radio */
|
|
7742
|
+
/* Radio Component Styles - Using Muka Design Tokens */
|
|
7743
|
+
|
|
7744
|
+
/* Wrapper - clickable label container */
|
|
7745
|
+
.muka-radio {
|
|
7746
|
+
display: inline-flex;
|
|
7747
|
+
align-items: center;
|
|
7748
|
+
gap: var(--spacing-4);
|
|
7749
|
+
cursor: pointer;
|
|
7750
|
+
user-select: none;
|
|
7751
|
+
}
|
|
7752
|
+
|
|
7753
|
+
.muka-radio--disabled {
|
|
7754
|
+
cursor: not-allowed;
|
|
7755
|
+
opacity: 0.6;
|
|
7756
|
+
}
|
|
7757
|
+
|
|
7758
|
+
/* Control container */
|
|
7759
|
+
.muka-radio__control {
|
|
7760
|
+
position: relative;
|
|
7761
|
+
display: inline-flex;
|
|
7762
|
+
align-items: center;
|
|
7763
|
+
justify-content: center;
|
|
7764
|
+
flex-shrink: 0;
|
|
7765
|
+
}
|
|
7766
|
+
|
|
7767
|
+
/* Hidden native input */
|
|
7768
|
+
.muka-radio__input {
|
|
7769
|
+
position: absolute;
|
|
7770
|
+
width: 1px;
|
|
7771
|
+
height: 1px;
|
|
7772
|
+
padding: 0;
|
|
7773
|
+
margin: -1px;
|
|
7774
|
+
overflow: hidden;
|
|
7775
|
+
clip: rect(0, 0, 0, 0);
|
|
7776
|
+
white-space: nowrap;
|
|
7777
|
+
border: 0;
|
|
7778
|
+
}
|
|
7779
|
+
|
|
7780
|
+
/* Visual indicator (circle) */
|
|
7781
|
+
.muka-radio__indicator {
|
|
7782
|
+
display: flex;
|
|
7783
|
+
align-items: center;
|
|
7784
|
+
justify-content: center;
|
|
7785
|
+
width: var(--radio-size-default);
|
|
7786
|
+
height: var(--radio-size-default);
|
|
7787
|
+
border-radius: var(--border-radius-full);
|
|
7788
|
+
background-color: var(--radio-color-default-background);
|
|
7789
|
+
border: var(--border-width-regular) solid var(--radio-color-default-border);
|
|
7790
|
+
transition: all 0.15s ease;
|
|
7791
|
+
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
7792
|
+
}
|
|
7793
|
+
|
|
7794
|
+
/* Size variants */
|
|
7795
|
+
.muka-radio--sm .muka-radio__indicator {
|
|
7796
|
+
width: var(--radio-size-sm);
|
|
7797
|
+
height: var(--radio-size-sm);
|
|
7798
|
+
}
|
|
7799
|
+
|
|
7800
|
+
.muka-radio--lg .muka-radio__indicator {
|
|
7801
|
+
width: var(--radio-size-lg);
|
|
7802
|
+
height: var(--radio-size-lg);
|
|
7803
|
+
}
|
|
7804
|
+
|
|
7805
|
+
/* Inner dot (shown when checked) */
|
|
7806
|
+
.muka-radio__dot {
|
|
7807
|
+
width: var(--radio-dot-size-default);
|
|
7808
|
+
height: var(--radio-dot-size-default);
|
|
7809
|
+
border-radius: var(--border-radius-full);
|
|
7810
|
+
background-color: var(--radio-color-default-dot);
|
|
7811
|
+
transform: scale(0);
|
|
7812
|
+
transition: transform 0.15s ease;
|
|
7813
|
+
}
|
|
7814
|
+
|
|
7815
|
+
.muka-radio--sm .muka-radio__dot {
|
|
7816
|
+
width: var(--radio-dot-size-sm);
|
|
7817
|
+
height: var(--radio-dot-size-sm);
|
|
7818
|
+
}
|
|
7819
|
+
|
|
7820
|
+
.muka-radio--lg .muka-radio__dot {
|
|
7821
|
+
width: var(--radio-dot-size-lg);
|
|
7822
|
+
height: var(--radio-dot-size-lg);
|
|
7823
|
+
}
|
|
7824
|
+
|
|
7825
|
+
/* Hover state - removed per design */
|
|
7826
|
+
|
|
7827
|
+
/* Focus state */
|
|
7828
|
+
.muka-radio__input:focus-visible + .muka-radio__indicator {
|
|
7829
|
+
outline: 2px solid var(--color-border-focus);
|
|
7830
|
+
outline-offset: 2px;
|
|
7831
|
+
}
|
|
7832
|
+
|
|
7833
|
+
/* Checked state */
|
|
7834
|
+
.muka-radio__input:checked + .muka-radio__indicator {
|
|
7835
|
+
background-color: var(--radio-color-checked-background);
|
|
7836
|
+
border-width: var(--border-width-bold);
|
|
7837
|
+
border-color: var(--radio-color-checked-border);
|
|
7838
|
+
box-shadow: none;
|
|
7839
|
+
}
|
|
7840
|
+
|
|
7841
|
+
.muka-radio__input:checked + .muka-radio__indicator .muka-radio__dot {
|
|
7842
|
+
background-color: var(--radio-color-checked-dot);
|
|
7843
|
+
transform: scale(1);
|
|
7844
|
+
}
|
|
7845
|
+
|
|
7846
|
+
/* Disabled state */
|
|
7847
|
+
.muka-radio--disabled .muka-radio__indicator {
|
|
7848
|
+
background-color: var(--radio-color-disabled-background);
|
|
7849
|
+
border-color: var(--radio-color-disabled-border);
|
|
7850
|
+
box-shadow: none;
|
|
7851
|
+
}
|
|
7852
|
+
|
|
7853
|
+
.muka-radio__input:disabled:checked + .muka-radio__indicator .muka-radio__dot {
|
|
7854
|
+
background-color: var(--radio-color-disabled-dot);
|
|
7855
|
+
}
|
|
7856
|
+
|
|
7857
|
+
/* Label text */
|
|
7858
|
+
.muka-radio__label {
|
|
7859
|
+
font-family: var(--text-label-lg-regular-fontFamily);
|
|
7860
|
+
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
7861
|
+
font-size: var(--text-label-lg-regular-fontSize);
|
|
7862
|
+
line-height: var(--text-label-lg-regular-lineHeight);
|
|
7863
|
+
color: var(--color-text-default-default);
|
|
7864
|
+
}
|
|
7865
|
+
|
|
7866
|
+
.muka-radio--sm .muka-radio__label {
|
|
7867
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
7868
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
7869
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
7870
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
7794
7871
|
}
|
|
7795
7872
|
|
|
7796
|
-
.muka-
|
|
7797
|
-
font-family: var(--text-label-
|
|
7798
|
-
font-weight: var(--text-label-
|
|
7799
|
-
font-size: var(--text-label-
|
|
7800
|
-
line-height: var(--text-label-
|
|
7873
|
+
.muka-radio--lg .muka-radio__label {
|
|
7874
|
+
font-family: var(--text-label-xl-regular-fontFamily);
|
|
7875
|
+
font-weight: var(--text-label-xl-regular-fontWeight);
|
|
7876
|
+
font-size: var(--text-label-xl-regular-fontSize);
|
|
7877
|
+
line-height: var(--text-label-xl-regular-lineHeight);
|
|
7878
|
+
}
|
|
7879
|
+
|
|
7880
|
+
.muka-radio--disabled .muka-radio__label {
|
|
7881
|
+
color: var(--color-text-subtle-default);
|
|
7801
7882
|
}
|
|
7802
7883
|
|
|
7803
7884
|
|
|
@@ -8345,37 +8426,6 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
8345
8426
|
}
|
|
8346
8427
|
|
|
8347
8428
|
|
|
8348
|
-
/* Popover */
|
|
8349
|
-
/* Popover Component Styles */
|
|
8350
|
-
|
|
8351
|
-
.muka-popover__content {
|
|
8352
|
-
background-color: var(--color-surface-level3);
|
|
8353
|
-
border: var(--border-width-regular) solid var(--color-border-default);
|
|
8354
|
-
border-radius: var(--radius-md);
|
|
8355
|
-
padding: var(--spacing-4);
|
|
8356
|
-
box-shadow: var(--shadow-level3);
|
|
8357
|
-
max-width: 20rem;
|
|
8358
|
-
z-index: 50;
|
|
8359
|
-
animation: muka-popover-fade-in 150ms ease;
|
|
8360
|
-
}
|
|
8361
|
-
|
|
8362
|
-
@keyframes muka-popover-fade-in {
|
|
8363
|
-
from {
|
|
8364
|
-
opacity: 0;
|
|
8365
|
-
transform: scale(0.96);
|
|
8366
|
-
}
|
|
8367
|
-
to {
|
|
8368
|
-
opacity: 1;
|
|
8369
|
-
transform: scale(1);
|
|
8370
|
-
}
|
|
8371
|
-
}
|
|
8372
|
-
|
|
8373
|
-
/* Arrow */
|
|
8374
|
-
.muka-popover__arrow {
|
|
8375
|
-
fill: var(--color-surface-level3);
|
|
8376
|
-
}
|
|
8377
|
-
|
|
8378
|
-
|
|
8379
8429
|
/* PriceTag */
|
|
8380
8430
|
/* PriceTag Component Styles - Using Muka Design Tokens */
|
|
8381
8431
|
|
|
@@ -8473,6 +8523,37 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
8473
8523
|
}
|
|
8474
8524
|
|
|
8475
8525
|
|
|
8526
|
+
/* Popover */
|
|
8527
|
+
/* Popover Component Styles */
|
|
8528
|
+
|
|
8529
|
+
.muka-popover__content {
|
|
8530
|
+
background-color: var(--color-surface-level3);
|
|
8531
|
+
border: var(--border-width-regular) solid var(--color-border-default);
|
|
8532
|
+
border-radius: var(--radius-md);
|
|
8533
|
+
padding: var(--spacing-4);
|
|
8534
|
+
box-shadow: var(--shadow-level3);
|
|
8535
|
+
max-width: 20rem;
|
|
8536
|
+
z-index: 50;
|
|
8537
|
+
animation: muka-popover-fade-in 150ms ease;
|
|
8538
|
+
}
|
|
8539
|
+
|
|
8540
|
+
@keyframes muka-popover-fade-in {
|
|
8541
|
+
from {
|
|
8542
|
+
opacity: 0;
|
|
8543
|
+
transform: scale(0.96);
|
|
8544
|
+
}
|
|
8545
|
+
to {
|
|
8546
|
+
opacity: 1;
|
|
8547
|
+
transform: scale(1);
|
|
8548
|
+
}
|
|
8549
|
+
}
|
|
8550
|
+
|
|
8551
|
+
/* Arrow */
|
|
8552
|
+
.muka-popover__arrow {
|
|
8553
|
+
fill: var(--color-surface-level3);
|
|
8554
|
+
}
|
|
8555
|
+
|
|
8556
|
+
|
|
8476
8557
|
/* PlanningGantt */
|
|
8477
8558
|
/* PlanningGantt (MUK-105) — one week per page, never scrolls horizontally. */
|
|
8478
8559
|
|
|
@@ -13973,108 +14054,266 @@ button.muka-chip__trailing[aria-expanded='true'],
|
|
|
13973
14054
|
cursor: pointer;
|
|
13974
14055
|
}
|
|
13975
14056
|
|
|
13976
|
-
.muka-chip--expandable:focus-visible {
|
|
13977
|
-
outline: 2px solid var(--color-border-focus);
|
|
13978
|
-
outline-offset: 2px;
|
|
14057
|
+
.muka-chip--expandable:focus-visible {
|
|
14058
|
+
outline: 2px solid var(--color-border-focus);
|
|
14059
|
+
outline-offset: 2px;
|
|
14060
|
+
}
|
|
14061
|
+
|
|
14062
|
+
.muka-chip--expandable:disabled {
|
|
14063
|
+
cursor: not-allowed;
|
|
14064
|
+
}
|
|
14065
|
+
|
|
14066
|
+
.muka-chip--expandable .muka-chip__trailing {
|
|
14067
|
+
pointer-events: none;
|
|
14068
|
+
}
|
|
14069
|
+
|
|
14070
|
+
/* Variants: body fill, foreground, and the trailing button's colour steps */
|
|
14071
|
+
.muka-chip--default {
|
|
14072
|
+
background-color: var(--chip-neutral-background-default);
|
|
14073
|
+
color: var(--color-text-default-default);
|
|
14074
|
+
--_chip-tr-bg: var(--chip-trailing-default-background-default);
|
|
14075
|
+
--_chip-tr-bg-hover: var(--chip-trailing-default-background-hover);
|
|
14076
|
+
--_chip-tr-bg-pressed: var(--chip-trailing-default-background-pressed);
|
|
14077
|
+
--_chip-tr-fg: var(--chip-trailing-default-foreground-default);
|
|
14078
|
+
--_chip-tr-fg-hover: var(--chip-trailing-default-foreground-hover);
|
|
14079
|
+
--_chip-tr-fg-pressed: var(--chip-trailing-default-foreground-pressed);
|
|
14080
|
+
}
|
|
14081
|
+
|
|
14082
|
+
.muka-chip--success {
|
|
14083
|
+
background-color: var(--color-state-success-background);
|
|
14084
|
+
color: var(--color-state-success-contrast);
|
|
14085
|
+
--_chip-tr-bg: var(--chip-trailing-success-background-default);
|
|
14086
|
+
--_chip-tr-bg-hover: var(--chip-trailing-success-background-hover);
|
|
14087
|
+
--_chip-tr-bg-pressed: var(--chip-trailing-success-background-pressed);
|
|
14088
|
+
--_chip-tr-fg: var(--chip-trailing-success-foreground-default);
|
|
14089
|
+
--_chip-tr-fg-hover: var(--chip-trailing-success-foreground-hover);
|
|
14090
|
+
--_chip-tr-fg-pressed: var(--chip-trailing-success-foreground-pressed);
|
|
14091
|
+
}
|
|
14092
|
+
|
|
14093
|
+
.muka-chip--warning {
|
|
14094
|
+
background-color: var(--color-state-warning-background);
|
|
14095
|
+
color: var(--color-state-warning-contrast);
|
|
14096
|
+
--_chip-tr-bg: var(--chip-trailing-warning-background-default);
|
|
14097
|
+
--_chip-tr-bg-hover: var(--chip-trailing-warning-background-hover);
|
|
14098
|
+
--_chip-tr-bg-pressed: var(--chip-trailing-warning-background-pressed);
|
|
14099
|
+
--_chip-tr-fg: var(--chip-trailing-warning-foreground-default);
|
|
14100
|
+
--_chip-tr-fg-hover: var(--chip-trailing-warning-foreground-hover);
|
|
14101
|
+
--_chip-tr-fg-pressed: var(--chip-trailing-warning-foreground-pressed);
|
|
14102
|
+
}
|
|
14103
|
+
|
|
14104
|
+
.muka-chip--error {
|
|
14105
|
+
background-color: var(--color-state-error-background);
|
|
14106
|
+
color: var(--color-state-error-contrast);
|
|
14107
|
+
--_chip-tr-bg: var(--chip-trailing-error-background-default);
|
|
14108
|
+
--_chip-tr-bg-hover: var(--chip-trailing-error-background-hover);
|
|
14109
|
+
--_chip-tr-bg-pressed: var(--chip-trailing-error-background-pressed);
|
|
14110
|
+
--_chip-tr-fg: var(--chip-trailing-error-foreground-default);
|
|
14111
|
+
--_chip-tr-fg-hover: var(--chip-trailing-error-foreground-hover);
|
|
14112
|
+
--_chip-tr-fg-pressed: var(--chip-trailing-error-foreground-pressed);
|
|
14113
|
+
}
|
|
14114
|
+
|
|
14115
|
+
.muka-chip--info {
|
|
14116
|
+
background-color: var(--color-state-info-background);
|
|
14117
|
+
color: var(--color-state-info-contrast);
|
|
14118
|
+
--_chip-tr-bg: var(--chip-trailing-info-background-default);
|
|
14119
|
+
--_chip-tr-bg-hover: var(--chip-trailing-info-background-hover);
|
|
14120
|
+
--_chip-tr-bg-pressed: var(--chip-trailing-info-background-pressed);
|
|
14121
|
+
--_chip-tr-fg: var(--chip-trailing-info-foreground-default);
|
|
14122
|
+
--_chip-tr-fg-hover: var(--chip-trailing-info-foreground-hover);
|
|
14123
|
+
--_chip-tr-fg-pressed: var(--chip-trailing-info-foreground-pressed);
|
|
14124
|
+
}
|
|
14125
|
+
|
|
14126
|
+
/* Ghost: no fill, subtle label; the trailing circle is outlined at rest (Figma Chip/Trailing Ghost) */
|
|
14127
|
+
.muka-chip--ghost {
|
|
14128
|
+
background-color: var(--chip-ghost-background-default);
|
|
14129
|
+
color: var(--chip-ghost-foreground-default);
|
|
14130
|
+
--_chip-tr-border: var(--chip-trailing-ghost-border-default);
|
|
14131
|
+
--_chip-tr-bg: var(--chip-trailing-ghost-background-default);
|
|
14132
|
+
--_chip-tr-bg-hover: var(--chip-trailing-ghost-background-hover);
|
|
14133
|
+
--_chip-tr-bg-pressed: var(--chip-trailing-ghost-background-pressed);
|
|
14134
|
+
--_chip-tr-fg: var(--chip-trailing-ghost-foreground-default);
|
|
14135
|
+
--_chip-tr-fg-hover: var(--chip-trailing-ghost-foreground-hover);
|
|
14136
|
+
--_chip-tr-fg-pressed: var(--chip-trailing-ghost-foreground-pressed);
|
|
14137
|
+
}
|
|
14138
|
+
|
|
14139
|
+
/*
|
|
14140
|
+
* Body hover (Figma Chip State=Hover) — only on chips whose body does
|
|
14141
|
+
* something: the whole-chip button, or a label link/button (hovering just the
|
|
14142
|
+
* label, not the trailing button, which has its own states). A static chip
|
|
14143
|
+
* doesn't hover.
|
|
14144
|
+
*/
|
|
14145
|
+
.muka-chip--default.muka-chip--expandable:is(:hover, :focus-visible, [aria-expanded='true']):not(:disabled),
|
|
14146
|
+
.muka-chip--default.muka-chip--has-label-action:has(> .muka-chip__label-action:is(:hover, :focus-visible)) {
|
|
14147
|
+
background-color: var(--chip-neutral-background-hover);
|
|
14148
|
+
}
|
|
14149
|
+
|
|
14150
|
+
.muka-chip--ghost.muka-chip--expandable:is(:hover, :focus-visible, [aria-expanded='true']):not(:disabled),
|
|
14151
|
+
.muka-chip--ghost.muka-chip--has-label-action:has(> .muka-chip__label-action:is(:hover, :focus-visible)) {
|
|
14152
|
+
background-color: var(--chip-ghost-background-hover);
|
|
14153
|
+
color: var(--chip-ghost-foreground-hover);
|
|
14154
|
+
}
|
|
14155
|
+
|
|
14156
|
+
/* Icons (leading + trailing) inherit their slot's foreground color */
|
|
14157
|
+
.muka-chip .muka-icon {
|
|
14158
|
+
color: inherit;
|
|
14159
|
+
}
|
|
14160
|
+
|
|
14161
|
+
|
|
14162
|
+
/* CheckboxTile */
|
|
14163
|
+
/* CheckboxTile Component Styles - Using Muka Design Tokens */
|
|
14164
|
+
|
|
14165
|
+
/* Base tile styles - horizontal */
|
|
14166
|
+
.muka-checkbox-tile {
|
|
14167
|
+
display: flex;
|
|
14168
|
+
align-items: center;
|
|
14169
|
+
gap: var(--spacing-4);
|
|
14170
|
+
padding: var(--spacing-4);
|
|
14171
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
14172
|
+
border-radius: var(--input-field-radius-lg);
|
|
14173
|
+
background-color: var(--color-surface-level3);
|
|
14174
|
+
cursor: pointer;
|
|
14175
|
+
transition: border-color 0.15s ease, border-width 0.15s ease;
|
|
14176
|
+
overflow: hidden;
|
|
14177
|
+
box-sizing: border-box;
|
|
14178
|
+
}
|
|
14179
|
+
|
|
14180
|
+
.muka-checkbox-tile--disabled {
|
|
14181
|
+
cursor: not-allowed;
|
|
14182
|
+
opacity: 0.6;
|
|
14183
|
+
}
|
|
14184
|
+
|
|
14185
|
+
/* Selected state */
|
|
14186
|
+
.muka-checkbox-tile[data-checked] {
|
|
14187
|
+
border-width: var(--border-width-bold);
|
|
14188
|
+
border-color: var(--color-action-default);
|
|
14189
|
+
}
|
|
14190
|
+
|
|
14191
|
+
/* Vertical layout */
|
|
14192
|
+
.muka-checkbox-tile--vertical {
|
|
14193
|
+
flex-direction: column;
|
|
14194
|
+
align-items: center;
|
|
14195
|
+
gap: var(--spacing-2);
|
|
14196
|
+
position: relative;
|
|
14197
|
+
width: 160px;
|
|
14198
|
+
}
|
|
14199
|
+
|
|
14200
|
+
/* Checkbox container */
|
|
14201
|
+
.muka-checkbox-tile__checkbox {
|
|
14202
|
+
flex-shrink: 0;
|
|
14203
|
+
}
|
|
14204
|
+
|
|
14205
|
+
/* Corner-positioned checkbox for vertical */
|
|
14206
|
+
.muka-checkbox-tile__checkbox--corner {
|
|
14207
|
+
position: absolute;
|
|
14208
|
+
top: var(--spacing-4);
|
|
14209
|
+
left: var(--spacing-4);
|
|
14210
|
+
}
|
|
14211
|
+
|
|
14212
|
+
/* Adjust corner position when selected (border is thicker) */
|
|
14213
|
+
.muka-checkbox-tile[data-checked] .muka-checkbox-tile__checkbox--corner {
|
|
14214
|
+
top: calc(var(--spacing-4) - 1px);
|
|
14215
|
+
left: calc(var(--spacing-4) - 1px);
|
|
14216
|
+
}
|
|
14217
|
+
|
|
14218
|
+
/* Icon */
|
|
14219
|
+
.muka-checkbox-tile__icon {
|
|
14220
|
+
display: flex;
|
|
14221
|
+
align-items: center;
|
|
14222
|
+
justify-content: center;
|
|
14223
|
+
flex-shrink: 0;
|
|
14224
|
+
width: var(--icon-size-default);
|
|
14225
|
+
height: var(--icon-size-default);
|
|
14226
|
+
color: var(--color-text-default-default);
|
|
14227
|
+
}
|
|
14228
|
+
|
|
14229
|
+
.muka-checkbox-tile__icon svg {
|
|
14230
|
+
width: 100%;
|
|
14231
|
+
height: 100%;
|
|
13979
14232
|
}
|
|
13980
14233
|
|
|
13981
|
-
|
|
13982
|
-
|
|
14234
|
+
/* Image */
|
|
14235
|
+
.muka-checkbox-tile__image {
|
|
14236
|
+
flex-shrink: 0;
|
|
14237
|
+
overflow: hidden;
|
|
14238
|
+
border-radius: var(--border-radius-sm);
|
|
13983
14239
|
}
|
|
13984
14240
|
|
|
13985
|
-
.muka-
|
|
13986
|
-
|
|
14241
|
+
.muka-checkbox-tile__image img {
|
|
14242
|
+
display: block;
|
|
14243
|
+
width: 100%;
|
|
14244
|
+
height: 100%;
|
|
14245
|
+
object-fit: cover;
|
|
13987
14246
|
}
|
|
13988
14247
|
|
|
13989
|
-
/*
|
|
13990
|
-
.muka-
|
|
13991
|
-
|
|
13992
|
-
|
|
13993
|
-
--_chip-tr-bg: var(--chip-trailing-default-background-default);
|
|
13994
|
-
--_chip-tr-bg-hover: var(--chip-trailing-default-background-hover);
|
|
13995
|
-
--_chip-tr-bg-pressed: var(--chip-trailing-default-background-pressed);
|
|
13996
|
-
--_chip-tr-fg: var(--chip-trailing-default-foreground-default);
|
|
13997
|
-
--_chip-tr-fg-hover: var(--chip-trailing-default-foreground-hover);
|
|
13998
|
-
--_chip-tr-fg-pressed: var(--chip-trailing-default-foreground-pressed);
|
|
14248
|
+
/* Horizontal image sizing */
|
|
14249
|
+
.muka-checkbox-tile__image--horizontal {
|
|
14250
|
+
width: 40px;
|
|
14251
|
+
height: 40px;
|
|
13999
14252
|
}
|
|
14000
14253
|
|
|
14001
|
-
|
|
14002
|
-
|
|
14003
|
-
|
|
14004
|
-
|
|
14005
|
-
--_chip-tr-bg-hover: var(--chip-trailing-success-background-hover);
|
|
14006
|
-
--_chip-tr-bg-pressed: var(--chip-trailing-success-background-pressed);
|
|
14007
|
-
--_chip-tr-fg: var(--chip-trailing-success-foreground-default);
|
|
14008
|
-
--_chip-tr-fg-hover: var(--chip-trailing-success-foreground-hover);
|
|
14009
|
-
--_chip-tr-fg-pressed: var(--chip-trailing-success-foreground-pressed);
|
|
14254
|
+
/* Vertical image sizing */
|
|
14255
|
+
.muka-checkbox-tile--vertical .muka-checkbox-tile__image {
|
|
14256
|
+
width: 100%;
|
|
14257
|
+
aspect-ratio: 4/3;
|
|
14010
14258
|
}
|
|
14011
14259
|
|
|
14012
|
-
|
|
14013
|
-
|
|
14014
|
-
|
|
14015
|
-
|
|
14016
|
-
|
|
14017
|
-
|
|
14018
|
-
|
|
14019
|
-
--_chip-tr-fg-hover: var(--chip-trailing-warning-foreground-hover);
|
|
14020
|
-
--_chip-tr-fg-pressed: var(--chip-trailing-warning-foreground-pressed);
|
|
14260
|
+
/* Content container */
|
|
14261
|
+
.muka-checkbox-tile__content {
|
|
14262
|
+
display: flex;
|
|
14263
|
+
flex-direction: column;
|
|
14264
|
+
flex: 1;
|
|
14265
|
+
min-width: 0;
|
|
14266
|
+
gap: var(--spacing-2);
|
|
14021
14267
|
}
|
|
14022
14268
|
|
|
14023
|
-
.muka-
|
|
14024
|
-
|
|
14025
|
-
|
|
14026
|
-
|
|
14027
|
-
--_chip-tr-bg-hover: var(--chip-trailing-error-background-hover);
|
|
14028
|
-
--_chip-tr-bg-pressed: var(--chip-trailing-error-background-pressed);
|
|
14029
|
-
--_chip-tr-fg: var(--chip-trailing-error-foreground-default);
|
|
14030
|
-
--_chip-tr-fg-hover: var(--chip-trailing-error-foreground-hover);
|
|
14031
|
-
--_chip-tr-fg-pressed: var(--chip-trailing-error-foreground-pressed);
|
|
14269
|
+
.muka-checkbox-tile__content-inner {
|
|
14270
|
+
display: flex;
|
|
14271
|
+
flex-direction: column;
|
|
14272
|
+
gap: var(--spacing-1);
|
|
14032
14273
|
}
|
|
14033
14274
|
|
|
14034
|
-
|
|
14035
|
-
|
|
14036
|
-
|
|
14037
|
-
--_chip-tr-bg: var(--chip-trailing-info-background-default);
|
|
14038
|
-
--_chip-tr-bg-hover: var(--chip-trailing-info-background-hover);
|
|
14039
|
-
--_chip-tr-bg-pressed: var(--chip-trailing-info-background-pressed);
|
|
14040
|
-
--_chip-tr-fg: var(--chip-trailing-info-foreground-default);
|
|
14041
|
-
--_chip-tr-fg-hover: var(--chip-trailing-info-foreground-hover);
|
|
14042
|
-
--_chip-tr-fg-pressed: var(--chip-trailing-info-foreground-pressed);
|
|
14275
|
+
/* Chip slot (replaces badge; use Chip component) */
|
|
14276
|
+
.muka-checkbox-tile__chip {
|
|
14277
|
+
flex-shrink: 0;
|
|
14043
14278
|
}
|
|
14044
14279
|
|
|
14045
|
-
|
|
14046
|
-
|
|
14047
|
-
background-color: var(--chip-ghost-background-default);
|
|
14048
|
-
color: var(--chip-ghost-foreground-default);
|
|
14049
|
-
--_chip-tr-border: var(--chip-trailing-ghost-border-default);
|
|
14050
|
-
--_chip-tr-bg: var(--chip-trailing-ghost-background-default);
|
|
14051
|
-
--_chip-tr-bg-hover: var(--chip-trailing-ghost-background-hover);
|
|
14052
|
-
--_chip-tr-bg-pressed: var(--chip-trailing-ghost-background-pressed);
|
|
14053
|
-
--_chip-tr-fg: var(--chip-trailing-ghost-foreground-default);
|
|
14054
|
-
--_chip-tr-fg-hover: var(--chip-trailing-ghost-foreground-hover);
|
|
14055
|
-
--_chip-tr-fg-pressed: var(--chip-trailing-ghost-foreground-pressed);
|
|
14280
|
+
.muka-checkbox-tile__chip--vertical {
|
|
14281
|
+
margin-top: var(--spacing-1);
|
|
14056
14282
|
}
|
|
14057
14283
|
|
|
14058
|
-
/*
|
|
14059
|
-
|
|
14060
|
-
|
|
14061
|
-
|
|
14062
|
-
|
|
14063
|
-
|
|
14064
|
-
|
|
14065
|
-
.muka-chip--default.muka-chip--has-label-action:has(> .muka-chip__label-action:is(:hover, :focus-visible)) {
|
|
14066
|
-
background-color: var(--chip-neutral-background-hover);
|
|
14284
|
+
/* Label */
|
|
14285
|
+
.muka-checkbox-tile__label {
|
|
14286
|
+
font-family: var(--text-body-lg-regular-fontFamily);
|
|
14287
|
+
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
14288
|
+
font-size: var(--text-body-lg-regular-fontSize);
|
|
14289
|
+
line-height: var(--text-body-lg-regular-lineHeight);
|
|
14290
|
+
color: var(--color-text-default-default);
|
|
14067
14291
|
}
|
|
14068
14292
|
|
|
14069
|
-
.muka-
|
|
14070
|
-
|
|
14071
|
-
|
|
14072
|
-
|
|
14293
|
+
.muka-checkbox-tile__label--bold {
|
|
14294
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
14295
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
14296
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
14297
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
14073
14298
|
}
|
|
14074
14299
|
|
|
14075
|
-
|
|
14076
|
-
|
|
14077
|
-
|
|
14300
|
+
.muka-checkbox-tile__label--center {
|
|
14301
|
+
text-align: center;
|
|
14302
|
+
}
|
|
14303
|
+
|
|
14304
|
+
/* Caption */
|
|
14305
|
+
.muka-checkbox-tile__caption {
|
|
14306
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
14307
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
14308
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
14309
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
14310
|
+
color: var(--color-text-subtle-default);
|
|
14311
|
+
}
|
|
14312
|
+
|
|
14313
|
+
/* Disabled states */
|
|
14314
|
+
.muka-checkbox-tile--disabled .muka-checkbox-tile__label,
|
|
14315
|
+
.muka-checkbox-tile--disabled .muka-checkbox-tile__icon {
|
|
14316
|
+
color: var(--color-text-subtle-default);
|
|
14078
14317
|
}
|
|
14079
14318
|
|
|
14080
14319
|
|
|
@@ -14365,161 +14604,125 @@ button.muka-chip__trailing[aria-expanded='true'],
|
|
|
14365
14604
|
}
|
|
14366
14605
|
|
|
14367
14606
|
|
|
14368
|
-
/*
|
|
14369
|
-
/*
|
|
14607
|
+
/* ChatPhotoGrid */
|
|
14608
|
+
/* ChatPhotoGrid Component Styles */
|
|
14370
14609
|
|
|
14371
|
-
/*
|
|
14372
|
-
|
|
14373
|
-
|
|
14374
|
-
|
|
14375
|
-
|
|
14376
|
-
|
|
14377
|
-
|
|
14378
|
-
|
|
14379
|
-
|
|
14380
|
-
cursor: pointer;
|
|
14381
|
-
transition: border-color 0.15s ease, border-width 0.15s ease;
|
|
14610
|
+
/*
|
|
14611
|
+
* The grid clips to its own radius and the tiles stay square, so only the four
|
|
14612
|
+
* outer corners round — matching the Figma "Wrapper" frame (5225:1394).
|
|
14613
|
+
*/
|
|
14614
|
+
.muka-chat-photo-grid {
|
|
14615
|
+
display: grid;
|
|
14616
|
+
gap: var(--chatphotogrid-gap);
|
|
14617
|
+
width: 100%;
|
|
14618
|
+
min-width: 0;
|
|
14382
14619
|
overflow: hidden;
|
|
14383
|
-
|
|
14384
|
-
}
|
|
14385
|
-
|
|
14386
|
-
.muka-checkbox-tile--disabled {
|
|
14387
|
-
cursor: not-allowed;
|
|
14388
|
-
opacity: 0.6;
|
|
14620
|
+
border-radius: var(--chatphotogrid-radius);
|
|
14389
14621
|
}
|
|
14390
14622
|
|
|
14391
|
-
/*
|
|
14392
|
-
.muka-checkbox-tile[data-checked] {
|
|
14393
|
-
border-width: var(--border-width-bold);
|
|
14394
|
-
border-color: var(--color-action-default);
|
|
14395
|
-
}
|
|
14623
|
+
/* ─── Tiles ────────────────────────────────────────────── */
|
|
14396
14624
|
|
|
14397
|
-
|
|
14398
|
-
.muka-checkbox-tile--vertical {
|
|
14399
|
-
flex-direction: column;
|
|
14400
|
-
align-items: center;
|
|
14401
|
-
gap: var(--spacing-2);
|
|
14625
|
+
.muka-chat-photo-grid__tile {
|
|
14402
14626
|
position: relative;
|
|
14403
|
-
|
|
14404
|
-
|
|
14405
|
-
|
|
14406
|
-
|
|
14407
|
-
|
|
14408
|
-
|
|
14409
|
-
|
|
14410
|
-
|
|
14411
|
-
/* Corner-positioned checkbox for vertical */
|
|
14412
|
-
.muka-checkbox-tile__checkbox--corner {
|
|
14413
|
-
position: absolute;
|
|
14414
|
-
top: var(--spacing-4);
|
|
14415
|
-
left: var(--spacing-4);
|
|
14627
|
+
display: block;
|
|
14628
|
+
overflow: hidden;
|
|
14629
|
+
min-width: 0;
|
|
14630
|
+
padding: 0;
|
|
14631
|
+
margin: 0;
|
|
14632
|
+
border: none;
|
|
14633
|
+
background-color: var(--chatphotogrid-color-placeholder);
|
|
14634
|
+
aspect-ratio: 1 / 1;
|
|
14416
14635
|
}
|
|
14417
14636
|
|
|
14418
|
-
|
|
14419
|
-
|
|
14420
|
-
|
|
14421
|
-
left: calc(var(--spacing-4) - 1px);
|
|
14637
|
+
button.muka-chat-photo-grid__tile {
|
|
14638
|
+
cursor: pointer;
|
|
14639
|
+
appearance: none;
|
|
14422
14640
|
}
|
|
14423
14641
|
|
|
14424
|
-
|
|
14425
|
-
|
|
14426
|
-
|
|
14427
|
-
|
|
14428
|
-
justify-content: center;
|
|
14429
|
-
flex-shrink: 0;
|
|
14430
|
-
width: var(--icon-size-default);
|
|
14431
|
-
height: var(--icon-size-default);
|
|
14432
|
-
color: var(--color-text-default-default);
|
|
14642
|
+
button.muka-chat-photo-grid__tile:focus-visible {
|
|
14643
|
+
outline: var(--border-width-bold) solid var(--color-border-focus);
|
|
14644
|
+
/* Inset, so the grid's overflow clip cannot cut the ring off on corner tiles */
|
|
14645
|
+
outline-offset: calc(-1 * var(--border-width-bold));
|
|
14433
14646
|
}
|
|
14434
14647
|
|
|
14435
|
-
.muka-
|
|
14648
|
+
.muka-chat-photo-grid__image {
|
|
14649
|
+
display: block;
|
|
14436
14650
|
width: 100%;
|
|
14437
14651
|
height: 100%;
|
|
14652
|
+
object-fit: cover;
|
|
14438
14653
|
}
|
|
14439
14654
|
|
|
14440
|
-
/*
|
|
14441
|
-
.muka-checkbox-tile__image {
|
|
14442
|
-
flex-shrink: 0;
|
|
14443
|
-
overflow: hidden;
|
|
14444
|
-
border-radius: var(--border-radius-sm);
|
|
14445
|
-
}
|
|
14655
|
+
/* ─── Overflow tile ────────────────────────────────────── */
|
|
14446
14656
|
|
|
14447
|
-
.muka-
|
|
14448
|
-
|
|
14449
|
-
|
|
14450
|
-
|
|
14451
|
-
|
|
14657
|
+
.muka-chat-photo-grid__overflow {
|
|
14658
|
+
position: absolute;
|
|
14659
|
+
inset: 0;
|
|
14660
|
+
display: flex;
|
|
14661
|
+
align-items: center;
|
|
14662
|
+
justify-content: center;
|
|
14663
|
+
background-color: var(--chatphotogrid-color-overflow-background);
|
|
14664
|
+
color: var(--chatphotogrid-color-overflow-foreground);
|
|
14665
|
+
font-family: var(--text-body-2xl-regular-fontFamily);
|
|
14666
|
+
font-weight: var(--text-body-2xl-regular-fontWeight);
|
|
14667
|
+
font-size: var(--text-body-2xl-regular-fontSize);
|
|
14668
|
+
line-height: var(--text-body-2xl-regular-lineHeight);
|
|
14452
14669
|
}
|
|
14453
14670
|
|
|
14454
|
-
/*
|
|
14455
|
-
|
|
14456
|
-
|
|
14457
|
-
|
|
14671
|
+
/* ─── Layouts ──────────────────────────────────────────── */
|
|
14672
|
+
|
|
14673
|
+
.muka-chat-photo-grid--1 {
|
|
14674
|
+
grid-template-columns: 1fr;
|
|
14458
14675
|
}
|
|
14459
14676
|
|
|
14460
|
-
|
|
14461
|
-
|
|
14462
|
-
width: 100%;
|
|
14463
|
-
aspect-ratio: 4/3;
|
|
14677
|
+
.muka-chat-photo-grid--landscape .muka-chat-photo-grid__tile {
|
|
14678
|
+
aspect-ratio: 4 / 3;
|
|
14464
14679
|
}
|
|
14465
14680
|
|
|
14466
|
-
|
|
14467
|
-
|
|
14468
|
-
display: flex;
|
|
14469
|
-
flex-direction: column;
|
|
14470
|
-
flex: 1;
|
|
14471
|
-
min-width: 0;
|
|
14472
|
-
gap: var(--spacing-2);
|
|
14681
|
+
.muka-chat-photo-grid--portrait .muka-chat-photo-grid__tile {
|
|
14682
|
+
aspect-ratio: 3 / 4;
|
|
14473
14683
|
}
|
|
14474
14684
|
|
|
14475
|
-
.muka-
|
|
14476
|
-
|
|
14477
|
-
flex-direction: column;
|
|
14478
|
-
gap: var(--spacing-1);
|
|
14685
|
+
.muka-chat-photo-grid--2 {
|
|
14686
|
+
grid-template-columns: repeat(2, 1fr);
|
|
14479
14687
|
}
|
|
14480
14688
|
|
|
14481
|
-
|
|
14482
|
-
|
|
14483
|
-
flex-shrink: 0;
|
|
14689
|
+
.muka-chat-photo-grid--3 {
|
|
14690
|
+
grid-template-columns: repeat(3, 1fr);
|
|
14484
14691
|
}
|
|
14485
14692
|
|
|
14486
|
-
.muka-
|
|
14487
|
-
|
|
14693
|
+
.muka-chat-photo-grid--4 {
|
|
14694
|
+
grid-template-columns: repeat(2, 1fr);
|
|
14488
14695
|
}
|
|
14489
14696
|
|
|
14490
|
-
/*
|
|
14491
|
-
.muka-
|
|
14492
|
-
|
|
14493
|
-
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
14494
|
-
font-size: var(--text-body-lg-regular-fontSize);
|
|
14495
|
-
line-height: var(--text-body-lg-regular-lineHeight);
|
|
14496
|
-
color: var(--color-text-default-default);
|
|
14697
|
+
/* 5 photos: a 2-up row above a 3-up row, on a shared 6-column track */
|
|
14698
|
+
.muka-chat-photo-grid--5 {
|
|
14699
|
+
grid-template-columns: repeat(6, 1fr);
|
|
14497
14700
|
}
|
|
14498
14701
|
|
|
14499
|
-
.muka-
|
|
14500
|
-
|
|
14501
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
14502
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
14503
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
14702
|
+
.muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(-n + 2) {
|
|
14703
|
+
grid-column: span 3;
|
|
14504
14704
|
}
|
|
14505
14705
|
|
|
14506
|
-
.muka-
|
|
14507
|
-
|
|
14706
|
+
.muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(n + 3) {
|
|
14707
|
+
grid-column: span 2;
|
|
14508
14708
|
}
|
|
14509
14709
|
|
|
14510
|
-
|
|
14511
|
-
.muka-
|
|
14512
|
-
|
|
14513
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
14514
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
14515
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
14516
|
-
color: var(--color-text-subtle-default);
|
|
14710
|
+
.muka-chat-photo-grid--6,
|
|
14711
|
+
.muka-chat-photo-grid--overflow {
|
|
14712
|
+
grid-template-columns: repeat(3, 1fr);
|
|
14517
14713
|
}
|
|
14518
14714
|
|
|
14519
|
-
/*
|
|
14520
|
-
|
|
14521
|
-
|
|
14522
|
-
|
|
14715
|
+
/* ─── Print ────────────────────────────────────────────── */
|
|
14716
|
+
|
|
14717
|
+
@media print {
|
|
14718
|
+
.muka-chat-photo-grid {
|
|
14719
|
+
break-inside: avoid;
|
|
14720
|
+
}
|
|
14721
|
+
|
|
14722
|
+
.muka-chat-photo-grid__image {
|
|
14723
|
+
print-color-adjust: exact;
|
|
14724
|
+
-webkit-print-color-adjust: exact;
|
|
14725
|
+
}
|
|
14523
14726
|
}
|
|
14524
14727
|
|
|
14525
14728
|
|
|
@@ -14870,6 +15073,15 @@ button.muka-chip__trailing[aria-expanded='true'],
|
|
|
14870
15073
|
gap: var(--chatbubble-action-stack-gap);
|
|
14871
15074
|
}
|
|
14872
15075
|
|
|
15076
|
+
/*
|
|
15077
|
+
* Buttons below text (or an embed) sit a full offset away from it, not the
|
|
15078
|
+
* body's tight block gap: the margin tops the gap up to the offset.
|
|
15079
|
+
*/
|
|
15080
|
+
.muka-chat-message__message:not(:empty) + .muka-chat-message__action-stack,
|
|
15081
|
+
.muka-chat-message__embed + .muka-chat-message__action-stack {
|
|
15082
|
+
margin-top: calc(var(--chatbubble-action-stack-offset) - var(--chatbubble-gap));
|
|
15083
|
+
}
|
|
15084
|
+
|
|
14873
15085
|
/* ─── Inset timestamp ──────────────────────────────────── */
|
|
14874
15086
|
|
|
14875
15087
|
/*
|
|
@@ -14890,210 +15102,88 @@ button.muka-chip__trailing[aria-expanded='true'],
|
|
|
14890
15102
|
* Pinned to the corner rather than stacked below the message, so a one-line
|
|
14891
15103
|
* message stays one line tall. The message reserves the width it needs.
|
|
14892
15104
|
*/
|
|
14893
|
-
.muka-chat-message__timestamp--inset {
|
|
14894
|
-
position: absolute;
|
|
14895
|
-
right: var(--spacing-2);
|
|
14896
|
-
bottom: var(--spacing-1);
|
|
14897
|
-
}
|
|
14898
|
-
|
|
14899
|
-
/*
|
|
14900
|
-
* When the last block in the body is media, an embed or an action stack (not
|
|
14901
|
-
* trailing text), it runs the full width, so reserve a line below for the inset
|
|
14902
|
-
* timestamp. A message that ends in text clears the corner inline instead (see
|
|
14903
|
-
* `__message` padding-right above), so it needs no extra bottom space.
|
|
14904
|
-
*/
|
|
14905
|
-
.muka-chat-message--has-timestamp.muka-chat-message--trailing-block .muka-chat-message__body {
|
|
14906
|
-
padding-bottom: var(--text-body-xs-regular-lineHeight);
|
|
14907
|
-
}
|
|
14908
|
-
|
|
14909
|
-
/* ─── Menu affordance ──────────────────────────────────── */
|
|
14910
|
-
|
|
14911
|
-
/*
|
|
14912
|
-
* Hidden at rest. Revealed on hover on pointer devices, on keyboard focus
|
|
14913
|
-
* everywhere, and pinned while its menu is open. On touch the equivalent
|
|
14914
|
-
* affordance is a long-press on the bubble, which opens an ActionSheet.
|
|
14915
|
-
*/
|
|
14916
|
-
.muka-chat-message__menu {
|
|
14917
|
-
position: absolute;
|
|
14918
|
-
top: var(--spacing-1);
|
|
14919
|
-
right: var(--spacing-1);
|
|
14920
|
-
opacity: 0;
|
|
14921
|
-
pointer-events: none;
|
|
14922
|
-
}
|
|
14923
|
-
|
|
14924
|
-
.muka-chat-message__menu:focus-within,
|
|
14925
|
-
.muka-chat-message--menu-open .muka-chat-message__menu {
|
|
14926
|
-
opacity: 1;
|
|
14927
|
-
pointer-events: auto;
|
|
14928
|
-
}
|
|
14929
|
-
|
|
14930
|
-
@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
|
|
14931
|
-
.muka-chat-message__bubble:hover .muka-chat-message__menu {
|
|
14932
|
-
opacity: 1;
|
|
14933
|
-
pointer-events: auto;
|
|
14934
|
-
}
|
|
14935
|
-
}
|
|
14936
|
-
|
|
14937
|
-
/* Suppress iOS Safari's own callout so the long-press sheet can take over */
|
|
14938
|
-
@media (pointer: coarse) {
|
|
14939
|
-
.muka-chat-message--has-menu .muka-chat-message__bubble {
|
|
14940
|
-
-webkit-touch-callout: none;
|
|
14941
|
-
}
|
|
14942
|
-
}
|
|
14943
|
-
|
|
14944
|
-
/* ─── Print ────────────────────────────────────────────── */
|
|
14945
|
-
|
|
14946
|
-
@media print {
|
|
14947
|
-
.muka-chat-message__bubble {
|
|
14948
|
-
box-shadow: none;
|
|
14949
|
-
break-inside: avoid;
|
|
14950
|
-
print-color-adjust: exact;
|
|
14951
|
-
-webkit-print-color-adjust: exact;
|
|
14952
|
-
}
|
|
14953
|
-
|
|
14954
|
-
.muka-chat-message__embed {
|
|
14955
|
-
break-inside: avoid;
|
|
14956
|
-
print-color-adjust: exact;
|
|
14957
|
-
-webkit-print-color-adjust: exact;
|
|
14958
|
-
}
|
|
14959
|
-
|
|
14960
|
-
.muka-chat-message__menu,
|
|
14961
|
-
.muka-chat-message__embed-copy,
|
|
14962
|
-
.muka-chat-message__action-stack {
|
|
14963
|
-
display: none;
|
|
14964
|
-
}
|
|
14965
|
-
}
|
|
14966
|
-
|
|
14967
|
-
/* ─── Muted (a message from another context) ──────────────
|
|
14968
|
-
* The bubble drops its fill and keeps a hairline, so it recedes next to the
|
|
14969
|
-
* current conversation; the text keeps full contrast. */
|
|
14970
|
-
|
|
14971
|
-
.muka-chat-message--muted .muka-chat-message__bubble {
|
|
14972
|
-
background-color: transparent;
|
|
14973
|
-
border-color: var(--chatbubble-color-peer-border);
|
|
14974
|
-
color: var(--color-text-default-default);
|
|
14975
|
-
}
|
|
14976
|
-
|
|
14977
|
-
|
|
14978
|
-
/* ChatPhotoGrid */
|
|
14979
|
-
/* ChatPhotoGrid Component Styles */
|
|
14980
|
-
|
|
14981
|
-
/*
|
|
14982
|
-
* The grid clips to its own radius and the tiles stay square, so only the four
|
|
14983
|
-
* outer corners round — matching the Figma "Wrapper" frame (5225:1394).
|
|
14984
|
-
*/
|
|
14985
|
-
.muka-chat-photo-grid {
|
|
14986
|
-
display: grid;
|
|
14987
|
-
gap: var(--chatphotogrid-gap);
|
|
14988
|
-
width: 100%;
|
|
14989
|
-
min-width: 0;
|
|
14990
|
-
overflow: hidden;
|
|
14991
|
-
border-radius: var(--chatphotogrid-radius);
|
|
14992
|
-
}
|
|
14993
|
-
|
|
14994
|
-
/* ─── Tiles ────────────────────────────────────────────── */
|
|
14995
|
-
|
|
14996
|
-
.muka-chat-photo-grid__tile {
|
|
14997
|
-
position: relative;
|
|
14998
|
-
display: block;
|
|
14999
|
-
overflow: hidden;
|
|
15000
|
-
min-width: 0;
|
|
15001
|
-
padding: 0;
|
|
15002
|
-
margin: 0;
|
|
15003
|
-
border: none;
|
|
15004
|
-
background-color: var(--chatphotogrid-color-placeholder);
|
|
15005
|
-
aspect-ratio: 1 / 1;
|
|
15006
|
-
}
|
|
15007
|
-
|
|
15008
|
-
button.muka-chat-photo-grid__tile {
|
|
15009
|
-
cursor: pointer;
|
|
15010
|
-
appearance: none;
|
|
15011
|
-
}
|
|
15012
|
-
|
|
15013
|
-
button.muka-chat-photo-grid__tile:focus-visible {
|
|
15014
|
-
outline: var(--border-width-bold) solid var(--color-border-focus);
|
|
15015
|
-
/* Inset, so the grid's overflow clip cannot cut the ring off on corner tiles */
|
|
15016
|
-
outline-offset: calc(-1 * var(--border-width-bold));
|
|
15017
|
-
}
|
|
15018
|
-
|
|
15019
|
-
.muka-chat-photo-grid__image {
|
|
15020
|
-
display: block;
|
|
15021
|
-
width: 100%;
|
|
15022
|
-
height: 100%;
|
|
15023
|
-
object-fit: cover;
|
|
15024
|
-
}
|
|
15025
|
-
|
|
15026
|
-
/* ─── Overflow tile ────────────────────────────────────── */
|
|
15027
|
-
|
|
15028
|
-
.muka-chat-photo-grid__overflow {
|
|
15029
|
-
position: absolute;
|
|
15030
|
-
inset: 0;
|
|
15031
|
-
display: flex;
|
|
15032
|
-
align-items: center;
|
|
15033
|
-
justify-content: center;
|
|
15034
|
-
background-color: var(--chatphotogrid-color-overflow-background);
|
|
15035
|
-
color: var(--chatphotogrid-color-overflow-foreground);
|
|
15036
|
-
font-family: var(--text-body-2xl-regular-fontFamily);
|
|
15037
|
-
font-weight: var(--text-body-2xl-regular-fontWeight);
|
|
15038
|
-
font-size: var(--text-body-2xl-regular-fontSize);
|
|
15039
|
-
line-height: var(--text-body-2xl-regular-lineHeight);
|
|
15040
|
-
}
|
|
15041
|
-
|
|
15042
|
-
/* ─── Layouts ──────────────────────────────────────────── */
|
|
15043
|
-
|
|
15044
|
-
.muka-chat-photo-grid--1 {
|
|
15045
|
-
grid-template-columns: 1fr;
|
|
15046
|
-
}
|
|
15047
|
-
|
|
15048
|
-
.muka-chat-photo-grid--landscape .muka-chat-photo-grid__tile {
|
|
15049
|
-
aspect-ratio: 4 / 3;
|
|
15050
|
-
}
|
|
15051
|
-
|
|
15052
|
-
.muka-chat-photo-grid--portrait .muka-chat-photo-grid__tile {
|
|
15053
|
-
aspect-ratio: 3 / 4;
|
|
15054
|
-
}
|
|
15055
|
-
|
|
15056
|
-
.muka-chat-photo-grid--2 {
|
|
15057
|
-
grid-template-columns: repeat(2, 1fr);
|
|
15105
|
+
.muka-chat-message__timestamp--inset {
|
|
15106
|
+
position: absolute;
|
|
15107
|
+
right: var(--spacing-2);
|
|
15108
|
+
bottom: var(--spacing-1);
|
|
15058
15109
|
}
|
|
15059
15110
|
|
|
15060
|
-
|
|
15061
|
-
|
|
15111
|
+
/*
|
|
15112
|
+
* When the last block in the body is media, an embed or an action stack (not
|
|
15113
|
+
* trailing text), it runs the full width, so reserve a line below for the inset
|
|
15114
|
+
* timestamp. A message that ends in text clears the corner inline instead (see
|
|
15115
|
+
* `__message` padding-right above), so it needs no extra bottom space.
|
|
15116
|
+
*/
|
|
15117
|
+
.muka-chat-message--has-timestamp.muka-chat-message--trailing-block .muka-chat-message__body {
|
|
15118
|
+
padding-bottom: var(--text-body-xs-regular-lineHeight);
|
|
15062
15119
|
}
|
|
15063
15120
|
|
|
15064
|
-
|
|
15065
|
-
grid-template-columns: repeat(2, 1fr);
|
|
15066
|
-
}
|
|
15121
|
+
/* ─── Menu affordance ──────────────────────────────────── */
|
|
15067
15122
|
|
|
15068
|
-
/*
|
|
15069
|
-
.
|
|
15070
|
-
|
|
15123
|
+
/*
|
|
15124
|
+
* Hidden at rest. Revealed on hover on pointer devices, on keyboard focus
|
|
15125
|
+
* everywhere, and pinned while its menu is open. On touch the equivalent
|
|
15126
|
+
* affordance is a long-press on the bubble, which opens an ActionSheet.
|
|
15127
|
+
*/
|
|
15128
|
+
.muka-chat-message__menu {
|
|
15129
|
+
position: absolute;
|
|
15130
|
+
top: var(--spacing-1);
|
|
15131
|
+
right: var(--spacing-1);
|
|
15132
|
+
opacity: 0;
|
|
15133
|
+
pointer-events: none;
|
|
15071
15134
|
}
|
|
15072
15135
|
|
|
15073
|
-
.muka-chat-
|
|
15074
|
-
|
|
15136
|
+
.muka-chat-message__menu:focus-within,
|
|
15137
|
+
.muka-chat-message--menu-open .muka-chat-message__menu {
|
|
15138
|
+
opacity: 1;
|
|
15139
|
+
pointer-events: auto;
|
|
15075
15140
|
}
|
|
15076
15141
|
|
|
15077
|
-
|
|
15078
|
-
|
|
15142
|
+
@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
|
|
15143
|
+
.muka-chat-message__bubble:hover .muka-chat-message__menu {
|
|
15144
|
+
opacity: 1;
|
|
15145
|
+
pointer-events: auto;
|
|
15146
|
+
}
|
|
15079
15147
|
}
|
|
15080
15148
|
|
|
15081
|
-
|
|
15082
|
-
|
|
15083
|
-
|
|
15149
|
+
/* Suppress iOS Safari's own callout so the long-press sheet can take over */
|
|
15150
|
+
@media (pointer: coarse) {
|
|
15151
|
+
.muka-chat-message--has-menu .muka-chat-message__bubble {
|
|
15152
|
+
-webkit-touch-callout: none;
|
|
15153
|
+
}
|
|
15084
15154
|
}
|
|
15085
15155
|
|
|
15086
15156
|
/* ─── Print ────────────────────────────────────────────── */
|
|
15087
15157
|
|
|
15088
15158
|
@media print {
|
|
15089
|
-
.muka-chat-
|
|
15159
|
+
.muka-chat-message__bubble {
|
|
15160
|
+
box-shadow: none;
|
|
15090
15161
|
break-inside: avoid;
|
|
15162
|
+
print-color-adjust: exact;
|
|
15163
|
+
-webkit-print-color-adjust: exact;
|
|
15091
15164
|
}
|
|
15092
15165
|
|
|
15093
|
-
.muka-chat-
|
|
15166
|
+
.muka-chat-message__embed {
|
|
15167
|
+
break-inside: avoid;
|
|
15094
15168
|
print-color-adjust: exact;
|
|
15095
15169
|
-webkit-print-color-adjust: exact;
|
|
15096
15170
|
}
|
|
15171
|
+
|
|
15172
|
+
.muka-chat-message__menu,
|
|
15173
|
+
.muka-chat-message__embed-copy,
|
|
15174
|
+
.muka-chat-message__action-stack {
|
|
15175
|
+
display: none;
|
|
15176
|
+
}
|
|
15177
|
+
}
|
|
15178
|
+
|
|
15179
|
+
/* ─── Muted (a message from another context) ──────────────
|
|
15180
|
+
* The bubble drops its fill and keeps a hairline, so it recedes next to the
|
|
15181
|
+
* current conversation; the text keeps full contrast. */
|
|
15182
|
+
|
|
15183
|
+
.muka-chat-message--muted .muka-chat-message__bubble {
|
|
15184
|
+
background-color: transparent;
|
|
15185
|
+
border-color: var(--chatbubble-color-peer-border);
|
|
15186
|
+
color: var(--color-text-default-default);
|
|
15097
15187
|
}
|
|
15098
15188
|
|
|
15099
15189
|
|
|
@@ -15188,6 +15278,29 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15188
15278
|
flex-shrink: 0;
|
|
15189
15279
|
}
|
|
15190
15280
|
|
|
15281
|
+
/* ─── Suggestions ──────────────────────────────────────── */
|
|
15282
|
+
|
|
15283
|
+
/*
|
|
15284
|
+
* Suggestions for the typed text sit in the composer, just above the field:
|
|
15285
|
+
* the menu surface and rows (Menu.css), in flow rather than a floating
|
|
15286
|
+
* popover, so they stay above the mobile keyboard.
|
|
15287
|
+
*/
|
|
15288
|
+
.muka-chat-composer__suggestions {
|
|
15289
|
+
width: 100%;
|
|
15290
|
+
min-width: 0;
|
|
15291
|
+
box-sizing: border-box;
|
|
15292
|
+
animation: none;
|
|
15293
|
+
}
|
|
15294
|
+
|
|
15295
|
+
/* One line per label, the match included; long labels truncate. */
|
|
15296
|
+
.muka-chat-composer__suggestion-text {
|
|
15297
|
+
display: block;
|
|
15298
|
+
min-width: 0;
|
|
15299
|
+
overflow: hidden;
|
|
15300
|
+
text-overflow: ellipsis;
|
|
15301
|
+
white-space: nowrap;
|
|
15302
|
+
}
|
|
15303
|
+
|
|
15191
15304
|
/* ─── Text field ───────────────────────────────────────── */
|
|
15192
15305
|
|
|
15193
15306
|
.muka-chat-composer__field {
|
|
@@ -15521,261 +15634,115 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15521
15634
|
text-align: left;
|
|
15522
15635
|
color: inherit;
|
|
15523
15636
|
font: inherit;
|
|
15524
|
-
cursor: default;
|
|
15525
|
-
-webkit-tap-highlight-color: transparent;
|
|
15526
|
-
}
|
|
15527
|
-
|
|
15528
|
-
.muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
|
|
15529
|
-
cursor: pointer;
|
|
15530
|
-
}
|
|
15531
|
-
|
|
15532
|
-
.muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
|
|
15533
|
-
outline: 2px solid var(--color-action-default);
|
|
15534
|
-
outline-offset: 2px;
|
|
15535
|
-
border-radius: var(--radius-sm);
|
|
15536
|
-
}
|
|
15537
|
-
|
|
15538
|
-
.muka-chat-attachment-chip__icon {
|
|
15539
|
-
display: inline-flex;
|
|
15540
|
-
align-items: center;
|
|
15541
|
-
justify-content: center;
|
|
15542
|
-
flex-shrink: 0;
|
|
15543
|
-
color: var(--color-text-subtle-default);
|
|
15544
|
-
}
|
|
15545
|
-
|
|
15546
|
-
.muka-chat-attachment-chip__text {
|
|
15547
|
-
display: flex;
|
|
15548
|
-
flex-direction: column;
|
|
15549
|
-
min-width: 0;
|
|
15550
|
-
flex: 1 1 auto;
|
|
15551
|
-
}
|
|
15552
|
-
|
|
15553
|
-
.muka-chat-attachment-chip__name {
|
|
15554
|
-
color: var(--color-text-default-default);
|
|
15555
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15556
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15557
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
15558
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15559
|
-
white-space: nowrap;
|
|
15560
|
-
overflow: hidden;
|
|
15561
|
-
text-overflow: ellipsis;
|
|
15562
|
-
}
|
|
15563
|
-
|
|
15564
|
-
.muka-chat-attachment-chip__meta {
|
|
15565
|
-
color: var(--color-text-subtle-default);
|
|
15566
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15567
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15568
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
15569
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15570
|
-
white-space: nowrap;
|
|
15571
|
-
overflow: hidden;
|
|
15572
|
-
text-overflow: ellipsis;
|
|
15573
|
-
}
|
|
15574
|
-
|
|
15575
|
-
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
|
|
15576
|
-
color: var(--color-state-error-default, var(--color-text-default-default));
|
|
15577
|
-
}
|
|
15578
|
-
|
|
15579
|
-
/* ─── Remove button ────────────────────────────────────── */
|
|
15580
|
-
|
|
15581
|
-
.muka-chat-attachment-chip__remove {
|
|
15582
|
-
display: inline-flex;
|
|
15583
|
-
align-items: center;
|
|
15584
|
-
justify-content: center;
|
|
15585
|
-
width: 20px;
|
|
15586
|
-
height: 20px;
|
|
15587
|
-
border: none;
|
|
15588
|
-
background: none;
|
|
15589
|
-
padding: 0;
|
|
15590
|
-
border-radius: var(--radius-sm);
|
|
15591
|
-
cursor: pointer;
|
|
15592
|
-
color: var(--color-text-subtle-default);
|
|
15593
|
-
flex-shrink: 0;
|
|
15594
|
-
-webkit-tap-highlight-color: transparent;
|
|
15595
|
-
}
|
|
15596
|
-
|
|
15597
|
-
.muka-chat-attachment-chip__remove:hover:not(:disabled) {
|
|
15598
|
-
color: var(--color-text-default-default);
|
|
15599
|
-
background-color: var(--color-surface-level2);
|
|
15600
|
-
}
|
|
15601
|
-
|
|
15602
|
-
.muka-chat-attachment-chip__remove:focus-visible {
|
|
15603
|
-
outline: 2px solid var(--color-action-default);
|
|
15604
|
-
outline-offset: 2px;
|
|
15605
|
-
}
|
|
15606
|
-
|
|
15607
|
-
.muka-chat-attachment-chip__remove:disabled {
|
|
15608
|
-
cursor: not-allowed;
|
|
15609
|
-
opacity: 0.5;
|
|
15610
|
-
}
|
|
15611
|
-
|
|
15612
|
-
/* ─── Progress bar ─────────────────────────────────────── */
|
|
15613
|
-
|
|
15614
|
-
.muka-chat-attachment-chip__progress {
|
|
15615
|
-
position: absolute;
|
|
15616
|
-
left: 0;
|
|
15617
|
-
right: 0;
|
|
15618
|
-
bottom: 0;
|
|
15619
|
-
height: 2px;
|
|
15620
|
-
background-color: var(--color-surface-level2);
|
|
15621
|
-
overflow: hidden;
|
|
15622
|
-
}
|
|
15623
|
-
|
|
15624
|
-
.muka-chat-attachment-chip__progress-fill {
|
|
15625
|
-
display: block;
|
|
15626
|
-
height: 100%;
|
|
15627
|
-
background-color: var(--color-action-default);
|
|
15628
|
-
transition: width 0.16s ease;
|
|
15629
|
-
}
|
|
15630
|
-
|
|
15631
|
-
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
|
|
15632
|
-
background-color: var(--color-state-error-default, var(--color-text-default-default));
|
|
15633
|
-
}
|
|
15634
|
-
|
|
15635
|
-
|
|
15636
|
-
/* Card */
|
|
15637
|
-
/* Card Component Styles - Using Muka Design Tokens */
|
|
15638
|
-
|
|
15639
|
-
.muka-card {
|
|
15640
|
-
background-color: var(--card-color-default-background);
|
|
15641
|
-
color: var(--card-color-default-foreground);
|
|
15642
|
-
border: var(--border-width-regular) solid var(--card-color-default-border);
|
|
15643
|
-
box-shadow: var(--card-shadow-default);
|
|
15644
|
-
transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
15645
|
-
overflow: hidden;
|
|
15646
|
-
}
|
|
15647
|
-
|
|
15648
|
-
/* Padding variants */
|
|
15649
|
-
.muka-card--padding-none {
|
|
15650
|
-
padding: 0;
|
|
15651
|
-
}
|
|
15652
|
-
|
|
15653
|
-
.muka-card--padding-sm {
|
|
15654
|
-
padding: var(--card-padding-sm);
|
|
15655
|
-
}
|
|
15656
|
-
|
|
15657
|
-
.muka-card--padding-md {
|
|
15658
|
-
padding: var(--card-padding-md);
|
|
15659
|
-
}
|
|
15660
|
-
|
|
15661
|
-
.muka-card--padding-lg {
|
|
15662
|
-
padding: var(--card-padding-lg);
|
|
15663
|
-
}
|
|
15664
|
-
|
|
15665
|
-
/* Radius variants */
|
|
15666
|
-
.muka-card--radius-sm {
|
|
15667
|
-
border-radius: var(--card-radius-sm);
|
|
15668
|
-
}
|
|
15669
|
-
|
|
15670
|
-
.muka-card--radius-md {
|
|
15671
|
-
border-radius: var(--card-radius-md);
|
|
15672
|
-
}
|
|
15673
|
-
|
|
15674
|
-
.muka-card--radius-lg {
|
|
15675
|
-
border-radius: var(--card-radius-lg);
|
|
15676
|
-
}
|
|
15677
|
-
|
|
15678
|
-
/* Interactive variant */
|
|
15679
|
-
.muka-card--interactive {
|
|
15680
|
-
cursor: pointer;
|
|
15681
|
-
user-select: none;
|
|
15682
|
-
}
|
|
15683
|
-
|
|
15684
|
-
.muka-card--interactive:hover {
|
|
15685
|
-
background-color: var(--card-color-hover-background);
|
|
15686
|
-
border-color: var(--card-color-hover-border);
|
|
15687
|
-
box-shadow: var(--card-shadow-hover);
|
|
15637
|
+
cursor: default;
|
|
15638
|
+
-webkit-tap-highlight-color: transparent;
|
|
15688
15639
|
}
|
|
15689
15640
|
|
|
15690
|
-
.muka-
|
|
15691
|
-
|
|
15692
|
-
background-color: var(--card-color-pressed-background);
|
|
15693
|
-
border-color: var(--card-color-pressed-border);
|
|
15694
|
-
box-shadow: var(--card-shadow-pressed);
|
|
15641
|
+
.muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
|
|
15642
|
+
cursor: pointer;
|
|
15695
15643
|
}
|
|
15696
15644
|
|
|
15697
|
-
.muka-
|
|
15698
|
-
outline: 2px solid var(--color-
|
|
15645
|
+
.muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
|
|
15646
|
+
outline: 2px solid var(--color-action-default);
|
|
15699
15647
|
outline-offset: 2px;
|
|
15648
|
+
border-radius: var(--radius-sm);
|
|
15700
15649
|
}
|
|
15701
15650
|
|
|
15702
|
-
|
|
15703
|
-
|
|
15704
|
-
|
|
15705
|
-
|
|
15706
|
-
|
|
15707
|
-
|
|
15651
|
+
.muka-chat-attachment-chip__icon {
|
|
15652
|
+
display: inline-flex;
|
|
15653
|
+
align-items: center;
|
|
15654
|
+
justify-content: center;
|
|
15655
|
+
flex-shrink: 0;
|
|
15656
|
+
color: var(--color-text-subtle-default);
|
|
15708
15657
|
}
|
|
15709
15658
|
|
|
15710
|
-
|
|
15711
|
-
|
|
15712
|
-
|
|
15713
|
-
|
|
15714
|
-
|
|
15715
|
-
box-shadow: var(--card-shadow-note);
|
|
15659
|
+
.muka-chat-attachment-chip__text {
|
|
15660
|
+
display: flex;
|
|
15661
|
+
flex-direction: column;
|
|
15662
|
+
min-width: 0;
|
|
15663
|
+
flex: 1 1 auto;
|
|
15716
15664
|
}
|
|
15717
15665
|
|
|
15718
|
-
.muka-
|
|
15719
|
-
|
|
15720
|
-
|
|
15721
|
-
|
|
15722
|
-
|
|
15666
|
+
.muka-chat-attachment-chip__name {
|
|
15667
|
+
color: var(--color-text-default-default);
|
|
15668
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15669
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15670
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
15671
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15672
|
+
white-space: nowrap;
|
|
15673
|
+
overflow: hidden;
|
|
15674
|
+
text-overflow: ellipsis;
|
|
15723
15675
|
}
|
|
15724
15676
|
|
|
15725
|
-
.muka-
|
|
15726
|
-
|
|
15677
|
+
.muka-chat-attachment-chip__meta {
|
|
15678
|
+
color: var(--color-text-subtle-default);
|
|
15679
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15680
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15681
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
15682
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15683
|
+
white-space: nowrap;
|
|
15684
|
+
overflow: hidden;
|
|
15685
|
+
text-overflow: ellipsis;
|
|
15727
15686
|
}
|
|
15728
15687
|
|
|
15729
|
-
.muka-
|
|
15730
|
-
|
|
15688
|
+
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
|
|
15689
|
+
color: var(--color-state-error-default, var(--color-text-default-default));
|
|
15731
15690
|
}
|
|
15732
15691
|
|
|
15733
|
-
|
|
15734
|
-
|
|
15735
|
-
|
|
15736
|
-
|
|
15737
|
-
|
|
15692
|
+
/* ─── Remove button ────────────────────────────────────── */
|
|
15693
|
+
|
|
15694
|
+
.muka-chat-attachment-chip__remove {
|
|
15695
|
+
display: inline-flex;
|
|
15696
|
+
align-items: center;
|
|
15697
|
+
justify-content: center;
|
|
15698
|
+
width: 20px;
|
|
15699
|
+
height: 20px;
|
|
15700
|
+
border: none;
|
|
15701
|
+
background: none;
|
|
15702
|
+
padding: 0;
|
|
15703
|
+
border-radius: var(--radius-sm);
|
|
15704
|
+
cursor: pointer;
|
|
15705
|
+
color: var(--color-text-subtle-default);
|
|
15706
|
+
flex-shrink: 0;
|
|
15707
|
+
-webkit-tap-highlight-color: transparent;
|
|
15738
15708
|
}
|
|
15739
15709
|
|
|
15740
|
-
.muka-
|
|
15741
|
-
|
|
15742
|
-
|
|
15710
|
+
.muka-chat-attachment-chip__remove:hover:not(:disabled) {
|
|
15711
|
+
color: var(--color-text-default-default);
|
|
15712
|
+
background-color: var(--color-surface-level2);
|
|
15743
15713
|
}
|
|
15744
15714
|
|
|
15745
|
-
|
|
15746
|
-
|
|
15747
|
-
|
|
15715
|
+
.muka-chat-attachment-chip__remove:focus-visible {
|
|
15716
|
+
outline: 2px solid var(--color-action-default);
|
|
15717
|
+
outline-offset: 2px;
|
|
15748
15718
|
}
|
|
15749
15719
|
|
|
15750
|
-
.muka-
|
|
15751
|
-
|
|
15752
|
-
|
|
15753
|
-
font-family: var(--text-heading-xs-fontFamily);
|
|
15754
|
-
font-weight: var(--text-heading-xs-fontWeight);
|
|
15755
|
-
font-size: var(--text-heading-xs-fontSize);
|
|
15756
|
-
line-height: var(--text-heading-xs-lineHeight);
|
|
15757
|
-
letter-spacing: var(--text-heading-xs-letterSpacing);
|
|
15720
|
+
.muka-chat-attachment-chip__remove:disabled {
|
|
15721
|
+
cursor: not-allowed;
|
|
15722
|
+
opacity: 0.5;
|
|
15758
15723
|
}
|
|
15759
15724
|
|
|
15760
|
-
|
|
15761
|
-
|
|
15762
|
-
|
|
15763
|
-
|
|
15764
|
-
|
|
15765
|
-
|
|
15766
|
-
|
|
15725
|
+
/* ─── Progress bar ─────────────────────────────────────── */
|
|
15726
|
+
|
|
15727
|
+
.muka-chat-attachment-chip__progress {
|
|
15728
|
+
position: absolute;
|
|
15729
|
+
left: 0;
|
|
15730
|
+
right: 0;
|
|
15731
|
+
bottom: 0;
|
|
15732
|
+
height: 2px;
|
|
15733
|
+
background-color: var(--color-surface-level2);
|
|
15734
|
+
overflow: hidden;
|
|
15767
15735
|
}
|
|
15768
15736
|
|
|
15769
|
-
|
|
15770
|
-
|
|
15771
|
-
|
|
15737
|
+
.muka-chat-attachment-chip__progress-fill {
|
|
15738
|
+
display: block;
|
|
15739
|
+
height: 100%;
|
|
15740
|
+
background-color: var(--color-action-default);
|
|
15741
|
+
transition: width 0.16s ease;
|
|
15772
15742
|
}
|
|
15773
15743
|
|
|
15774
|
-
|
|
15775
|
-
|
|
15776
|
-
opacity: 0.5;
|
|
15777
|
-
cursor: not-allowed;
|
|
15778
|
-
pointer-events: none;
|
|
15744
|
+
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
|
|
15745
|
+
background-color: var(--color-state-error-default, var(--color-text-default-default));
|
|
15779
15746
|
}
|
|
15780
15747
|
|
|
15781
15748
|
|
|
@@ -16080,56 +16047,202 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
16080
16047
|
display: block;
|
|
16081
16048
|
}
|
|
16082
16049
|
|
|
16083
|
-
/* A Spinner in the icon slot keeps its own flex centring: as a block its
|
|
16084
|
-
circle sat at the top of the slot (4px high in an lg icon-only button). */
|
|
16085
|
-
.muka-button .muka-button__icon > .muka-spinner {
|
|
16086
|
-
display: flex;
|
|
16050
|
+
/* A Spinner in the icon slot keeps its own flex centring: as a block its
|
|
16051
|
+
circle sat at the top of the slot (4px high in an lg icon-only button). */
|
|
16052
|
+
.muka-button .muka-button__icon > .muka-spinner {
|
|
16053
|
+
display: flex;
|
|
16054
|
+
}
|
|
16055
|
+
|
|
16056
|
+
.muka-button--sm .muka-button__icon {
|
|
16057
|
+
width: var(--button-icon-sm);
|
|
16058
|
+
height: var(--button-icon-sm);
|
|
16059
|
+
}
|
|
16060
|
+
|
|
16061
|
+
.muka-button--md .muka-button__icon {
|
|
16062
|
+
width: var(--button-icon-md);
|
|
16063
|
+
height: var(--button-icon-md);
|
|
16064
|
+
}
|
|
16065
|
+
|
|
16066
|
+
.muka-button--lg .muka-button__icon {
|
|
16067
|
+
width: var(--button-icon-lg);
|
|
16068
|
+
height: var(--button-icon-lg);
|
|
16069
|
+
}
|
|
16070
|
+
|
|
16071
|
+
.muka-button--xl .muka-button__icon {
|
|
16072
|
+
width: var(--button-icon-xl);
|
|
16073
|
+
height: var(--button-icon-xl);
|
|
16074
|
+
}
|
|
16075
|
+
|
|
16076
|
+
.muka-button__label {
|
|
16077
|
+
display: inline-flex;
|
|
16078
|
+
align-items: center;
|
|
16079
|
+
}
|
|
16080
|
+
|
|
16081
|
+
/* Icon-only buttons - square, sized to the button height per size */
|
|
16082
|
+
.muka-button--icon-only {
|
|
16083
|
+
padding: 0;
|
|
16084
|
+
}
|
|
16085
|
+
|
|
16086
|
+
.muka-button--icon-only.muka-button--sm {
|
|
16087
|
+
width: 32px;
|
|
16088
|
+
}
|
|
16089
|
+
|
|
16090
|
+
.muka-button--icon-only.muka-button--md {
|
|
16091
|
+
width: 40px;
|
|
16092
|
+
}
|
|
16093
|
+
|
|
16094
|
+
.muka-button--icon-only.muka-button--lg {
|
|
16095
|
+
width: 48px;
|
|
16096
|
+
}
|
|
16097
|
+
|
|
16098
|
+
.muka-button--icon-only.muka-button--xl {
|
|
16099
|
+
width: 64px;
|
|
16100
|
+
}
|
|
16101
|
+
|
|
16102
|
+
|
|
16103
|
+
/* Card */
|
|
16104
|
+
/* Card Component Styles - Using Muka Design Tokens */
|
|
16105
|
+
|
|
16106
|
+
.muka-card {
|
|
16107
|
+
background-color: var(--card-color-default-background);
|
|
16108
|
+
color: var(--card-color-default-foreground);
|
|
16109
|
+
border: var(--border-width-regular) solid var(--card-color-default-border);
|
|
16110
|
+
box-shadow: var(--card-shadow-default);
|
|
16111
|
+
transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
16112
|
+
overflow: hidden;
|
|
16113
|
+
}
|
|
16114
|
+
|
|
16115
|
+
/* Padding variants */
|
|
16116
|
+
.muka-card--padding-none {
|
|
16117
|
+
padding: 0;
|
|
16118
|
+
}
|
|
16119
|
+
|
|
16120
|
+
.muka-card--padding-sm {
|
|
16121
|
+
padding: var(--card-padding-sm);
|
|
16122
|
+
}
|
|
16123
|
+
|
|
16124
|
+
.muka-card--padding-md {
|
|
16125
|
+
padding: var(--card-padding-md);
|
|
16126
|
+
}
|
|
16127
|
+
|
|
16128
|
+
.muka-card--padding-lg {
|
|
16129
|
+
padding: var(--card-padding-lg);
|
|
16130
|
+
}
|
|
16131
|
+
|
|
16132
|
+
/* Radius variants */
|
|
16133
|
+
.muka-card--radius-sm {
|
|
16134
|
+
border-radius: var(--card-radius-sm);
|
|
16135
|
+
}
|
|
16136
|
+
|
|
16137
|
+
.muka-card--radius-md {
|
|
16138
|
+
border-radius: var(--card-radius-md);
|
|
16139
|
+
}
|
|
16140
|
+
|
|
16141
|
+
.muka-card--radius-lg {
|
|
16142
|
+
border-radius: var(--card-radius-lg);
|
|
16143
|
+
}
|
|
16144
|
+
|
|
16145
|
+
/* Interactive variant */
|
|
16146
|
+
.muka-card--interactive {
|
|
16147
|
+
cursor: pointer;
|
|
16148
|
+
user-select: none;
|
|
16149
|
+
}
|
|
16150
|
+
|
|
16151
|
+
.muka-card--interactive:hover {
|
|
16152
|
+
background-color: var(--card-color-hover-background);
|
|
16153
|
+
border-color: var(--card-color-hover-border);
|
|
16154
|
+
box-shadow: var(--card-shadow-hover);
|
|
16155
|
+
}
|
|
16156
|
+
|
|
16157
|
+
.muka-card--interactive:active,
|
|
16158
|
+
.muka-card--interactive.muka-card--pressed {
|
|
16159
|
+
background-color: var(--card-color-pressed-background);
|
|
16160
|
+
border-color: var(--card-color-pressed-border);
|
|
16161
|
+
box-shadow: var(--card-shadow-pressed);
|
|
16162
|
+
}
|
|
16163
|
+
|
|
16164
|
+
.muka-card--interactive:focus-visible {
|
|
16165
|
+
outline: 2px solid var(--color-border-focus);
|
|
16166
|
+
outline-offset: 2px;
|
|
16087
16167
|
}
|
|
16088
16168
|
|
|
16089
|
-
|
|
16090
|
-
|
|
16091
|
-
|
|
16169
|
+
/* Selected variant */
|
|
16170
|
+
.muka-card--selected {
|
|
16171
|
+
background-color: var(--card-color-selected-background);
|
|
16172
|
+
border-color: var(--card-color-selected-border);
|
|
16173
|
+
border-width: var(--border-width-bold);
|
|
16174
|
+
box-shadow: var(--card-shadow-selected);
|
|
16092
16175
|
}
|
|
16093
16176
|
|
|
16094
|
-
|
|
16095
|
-
|
|
16096
|
-
|
|
16177
|
+
/* Tone: sticky note (MUK-105) */
|
|
16178
|
+
.muka-card--tone-note {
|
|
16179
|
+
background-color: var(--card-color-note-background);
|
|
16180
|
+
color: var(--card-color-note-foreground);
|
|
16181
|
+
border-color: var(--card-color-note-border);
|
|
16182
|
+
box-shadow: var(--card-shadow-note);
|
|
16097
16183
|
}
|
|
16098
16184
|
|
|
16099
|
-
.muka-
|
|
16100
|
-
|
|
16101
|
-
|
|
16185
|
+
.muka-card--tone-note.muka-card--interactive:hover,
|
|
16186
|
+
.muka-card--tone-note.muka-card--interactive:active,
|
|
16187
|
+
.muka-card--tone-note.muka-card--interactive.muka-card--pressed {
|
|
16188
|
+
background-color: var(--card-color-note-background);
|
|
16189
|
+
border-color: var(--card-color-note-border);
|
|
16102
16190
|
}
|
|
16103
16191
|
|
|
16104
|
-
.muka-
|
|
16105
|
-
|
|
16106
|
-
height: var(--button-icon-xl);
|
|
16192
|
+
.muka-card--tilt-left {
|
|
16193
|
+
transform: rotate(-0.75deg);
|
|
16107
16194
|
}
|
|
16108
16195
|
|
|
16109
|
-
.muka-
|
|
16110
|
-
|
|
16111
|
-
align-items: center;
|
|
16196
|
+
.muka-card--tilt-right {
|
|
16197
|
+
transform: rotate(0.6deg);
|
|
16112
16198
|
}
|
|
16113
16199
|
|
|
16114
|
-
|
|
16115
|
-
.muka-
|
|
16116
|
-
|
|
16200
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
16201
|
+
.muka-card--tilt-left,
|
|
16202
|
+
.muka-card--tilt-right {
|
|
16203
|
+
transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
16204
|
+
}
|
|
16117
16205
|
}
|
|
16118
16206
|
|
|
16119
|
-
.muka-
|
|
16120
|
-
|
|
16207
|
+
.muka-card--interactive.muka-card--tilt-left:hover,
|
|
16208
|
+
.muka-card--interactive.muka-card--tilt-right:hover {
|
|
16209
|
+
transform: none;
|
|
16121
16210
|
}
|
|
16122
16211
|
|
|
16123
|
-
|
|
16124
|
-
|
|
16212
|
+
/* Optional header (title + description) */
|
|
16213
|
+
.muka-card__header {
|
|
16214
|
+
margin-bottom: var(--spacing-4);
|
|
16125
16215
|
}
|
|
16126
16216
|
|
|
16127
|
-
.muka-
|
|
16128
|
-
|
|
16217
|
+
.muka-card__title {
|
|
16218
|
+
margin: 0;
|
|
16219
|
+
color: var(--color-text-default-default);
|
|
16220
|
+
font-family: var(--text-heading-xs-fontFamily);
|
|
16221
|
+
font-weight: var(--text-heading-xs-fontWeight);
|
|
16222
|
+
font-size: var(--text-heading-xs-fontSize);
|
|
16223
|
+
line-height: var(--text-heading-xs-lineHeight);
|
|
16224
|
+
letter-spacing: var(--text-heading-xs-letterSpacing);
|
|
16129
16225
|
}
|
|
16130
16226
|
|
|
16131
|
-
.muka-
|
|
16132
|
-
|
|
16227
|
+
.muka-card__description {
|
|
16228
|
+
margin: var(--spacing-1) 0 0;
|
|
16229
|
+
color: var(--color-text-subtle-default);
|
|
16230
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
16231
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
16232
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
16233
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
16234
|
+
}
|
|
16235
|
+
|
|
16236
|
+
/* Hide divider on last list item inside card */
|
|
16237
|
+
.muka-card > .muka-listitem:last-child > .muka-listitem__divider {
|
|
16238
|
+
display: none;
|
|
16239
|
+
}
|
|
16240
|
+
|
|
16241
|
+
/* Disabled state */
|
|
16242
|
+
.muka-card--disabled {
|
|
16243
|
+
opacity: 0.5;
|
|
16244
|
+
cursor: not-allowed;
|
|
16245
|
+
pointer-events: none;
|
|
16133
16246
|
}
|
|
16134
16247
|
|
|
16135
16248
|
|
|
@@ -17588,104 +17701,246 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
17588
17701
|
height: 100%;
|
|
17589
17702
|
}
|
|
17590
17703
|
|
|
17591
|
-
/* The leading icon and the dismiss (×) icon inherit the variant accent set on
|
|
17592
|
-
their container, overriding the Icon component's default color. */
|
|
17593
|
-
.muka-alert__icon .muka-icon,
|
|
17594
|
-
.muka-alert__dismiss .muka-icon {
|
|
17595
|
-
color: inherit;
|
|
17704
|
+
/* The leading icon and the dismiss (×) icon inherit the variant accent set on
|
|
17705
|
+
their container, overriding the Icon component's default color. */
|
|
17706
|
+
.muka-alert__icon .muka-icon,
|
|
17707
|
+
.muka-alert__dismiss .muka-icon {
|
|
17708
|
+
color: inherit;
|
|
17709
|
+
}
|
|
17710
|
+
|
|
17711
|
+
/* Content */
|
|
17712
|
+
.muka-alert__content {
|
|
17713
|
+
flex: 1;
|
|
17714
|
+
min-width: 0;
|
|
17715
|
+
}
|
|
17716
|
+
|
|
17717
|
+
.muka-alert__title {
|
|
17718
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
17719
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
17720
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
17721
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
17722
|
+
margin-bottom: var(--spacing-1);
|
|
17723
|
+
}
|
|
17724
|
+
|
|
17725
|
+
.muka-alert--sm .muka-alert__title {
|
|
17726
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
17727
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
17728
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
17729
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
17730
|
+
}
|
|
17731
|
+
|
|
17732
|
+
.muka-alert--lg .muka-alert__title {
|
|
17733
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
17734
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
17735
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
17736
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
17737
|
+
}
|
|
17738
|
+
|
|
17739
|
+
.muka-alert__message {
|
|
17740
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
17741
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
17742
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
17743
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
17744
|
+
/* Beat ambient docs/page text colors (e.g. Storybook sbdocs) so variant
|
|
17745
|
+
foreground stays readable in light and dark themes. */
|
|
17746
|
+
color: inherit;
|
|
17747
|
+
}
|
|
17748
|
+
|
|
17749
|
+
.muka-alert .muka-alert__message,
|
|
17750
|
+
.muka-alert .muka-alert__message * {
|
|
17751
|
+
color: inherit;
|
|
17752
|
+
}
|
|
17753
|
+
|
|
17754
|
+
.muka-alert--lg .muka-alert__message {
|
|
17755
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
17756
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
17757
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
17758
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
17759
|
+
}
|
|
17760
|
+
|
|
17761
|
+
/* Action slot — TextLink (or similar) below the message, matching Figma */
|
|
17762
|
+
.muka-alert__action {
|
|
17763
|
+
display: flex;
|
|
17764
|
+
flex-direction: column;
|
|
17765
|
+
align-items: flex-start;
|
|
17766
|
+
padding-top: var(--spacing-1);
|
|
17767
|
+
}
|
|
17768
|
+
|
|
17769
|
+
/* Dismiss button - uses accent color per variant, aligned with icon row */
|
|
17770
|
+
.muka-alert__dismiss {
|
|
17771
|
+
display: flex;
|
|
17772
|
+
align-items: center;
|
|
17773
|
+
justify-content: center;
|
|
17774
|
+
flex-shrink: 0;
|
|
17775
|
+
align-self: flex-start;
|
|
17776
|
+
width: 24px;
|
|
17777
|
+
height: 24px;
|
|
17778
|
+
padding: 0;
|
|
17779
|
+
margin: 0 0 0 auto;
|
|
17780
|
+
border: none;
|
|
17781
|
+
background: transparent;
|
|
17782
|
+
cursor: pointer;
|
|
17783
|
+
border-radius: var(--border-radius-sm);
|
|
17784
|
+
transition: opacity 0.15s ease, background-color 0.15s ease;
|
|
17785
|
+
}
|
|
17786
|
+
|
|
17787
|
+
.muka-alert__dismiss:hover {
|
|
17788
|
+
opacity: 0.85;
|
|
17789
|
+
background-color: rgba(0, 0, 0, 0.05);
|
|
17790
|
+
}
|
|
17791
|
+
|
|
17792
|
+
.muka-alert__dismiss:focus-visible {
|
|
17793
|
+
outline: 2px solid var(--color-border-focus);
|
|
17794
|
+
outline-offset: 2px;
|
|
17795
|
+
}
|
|
17796
|
+
|
|
17797
|
+
.muka-alert__dismiss svg {
|
|
17798
|
+
width: 16px;
|
|
17799
|
+
height: 16px;
|
|
17800
|
+
}
|
|
17801
|
+
|
|
17802
|
+
|
|
17803
|
+
/* ActionSheet */
|
|
17804
|
+
/* ActionSheet Component Styles */
|
|
17805
|
+
|
|
17806
|
+
.muka-action-sheet__inner {
|
|
17807
|
+
display: flex;
|
|
17808
|
+
flex-direction: column;
|
|
17809
|
+
padding: 0 var(--spacing-4) var(--spacing-3) var(--spacing-4);
|
|
17810
|
+
gap: var(--spacing-3);
|
|
17811
|
+
}
|
|
17812
|
+
|
|
17813
|
+
/* ─── Header ──────────────────────────────────────────── */
|
|
17814
|
+
|
|
17815
|
+
.muka-action-sheet__header {
|
|
17816
|
+
display: flex;
|
|
17817
|
+
flex-direction: column;
|
|
17818
|
+
align-items: center;
|
|
17819
|
+
gap: var(--spacing-1);
|
|
17820
|
+
padding: var(--spacing-2) 0 var(--spacing-3);
|
|
17821
|
+
text-align: center;
|
|
17822
|
+
}
|
|
17823
|
+
|
|
17824
|
+
.muka-action-sheet__title {
|
|
17825
|
+
margin: 0;
|
|
17826
|
+
color: var(--color-text-default-default);
|
|
17827
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
17828
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
17829
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
17830
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
17831
|
+
}
|
|
17832
|
+
|
|
17833
|
+
.muka-action-sheet__description {
|
|
17834
|
+
margin: 0;
|
|
17835
|
+
color: var(--color-text-subtle-default);
|
|
17836
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
17837
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
17838
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
17839
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
17840
|
+
}
|
|
17841
|
+
|
|
17842
|
+
/* ─── Actions group ───────────────────────────────────── */
|
|
17843
|
+
|
|
17844
|
+
.muka-action-sheet__actions {
|
|
17845
|
+
display: flex;
|
|
17846
|
+
flex-direction: column;
|
|
17847
|
+
background-color: var(--color-surface-level1);
|
|
17848
|
+
border-radius: var(--radius-md);
|
|
17849
|
+
overflow: hidden;
|
|
17850
|
+
}
|
|
17851
|
+
|
|
17852
|
+
.muka-action-sheet__item {
|
|
17853
|
+
display: flex;
|
|
17854
|
+
align-items: center;
|
|
17855
|
+
gap: var(--spacing-3);
|
|
17856
|
+
padding: var(--spacing-3) var(--spacing-4);
|
|
17857
|
+
background: none;
|
|
17858
|
+
border: none;
|
|
17859
|
+
cursor: pointer;
|
|
17860
|
+
text-align: left;
|
|
17861
|
+
color: var(--color-text-default-default);
|
|
17862
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
17863
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
17864
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
17865
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
17866
|
+
-webkit-tap-highlight-color: transparent;
|
|
17867
|
+
transition: background-color 0.12s ease;
|
|
17868
|
+
}
|
|
17869
|
+
|
|
17870
|
+
.muka-action-sheet__item + .muka-action-sheet__item {
|
|
17871
|
+
border-top: var(--border-width-regular) solid var(--color-border-default);
|
|
17596
17872
|
}
|
|
17597
17873
|
|
|
17598
|
-
|
|
17599
|
-
|
|
17600
|
-
flex: 1;
|
|
17601
|
-
min-width: 0;
|
|
17874
|
+
.muka-action-sheet__item:hover:not(:disabled) {
|
|
17875
|
+
background-color: var(--color-surface-level2);
|
|
17602
17876
|
}
|
|
17603
17877
|
|
|
17604
|
-
.muka-
|
|
17605
|
-
|
|
17606
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
17607
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
17608
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
17609
|
-
margin-bottom: var(--spacing-1);
|
|
17878
|
+
.muka-action-sheet__item:active:not(:disabled) {
|
|
17879
|
+
background-color: var(--color-surface-level3);
|
|
17610
17880
|
}
|
|
17611
17881
|
|
|
17612
|
-
.muka-
|
|
17613
|
-
|
|
17614
|
-
|
|
17615
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
17616
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
17882
|
+
.muka-action-sheet__item:focus-visible {
|
|
17883
|
+
outline: 2px solid var(--color-action-default);
|
|
17884
|
+
outline-offset: -2px;
|
|
17617
17885
|
}
|
|
17618
17886
|
|
|
17619
|
-
.muka-
|
|
17620
|
-
|
|
17621
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
17622
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
17623
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
17887
|
+
.muka-action-sheet__item--destructive {
|
|
17888
|
+
color: var(--color-state-error-default);
|
|
17624
17889
|
}
|
|
17625
17890
|
|
|
17626
|
-
.muka-
|
|
17627
|
-
|
|
17628
|
-
|
|
17629
|
-
|
|
17630
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
17631
|
-
/* Beat ambient docs/page text colors (e.g. Storybook sbdocs) so variant
|
|
17632
|
-
foreground stays readable in light and dark themes. */
|
|
17633
|
-
color: inherit;
|
|
17891
|
+
.muka-action-sheet__item--disabled,
|
|
17892
|
+
.muka-action-sheet__item:disabled {
|
|
17893
|
+
opacity: 0.5;
|
|
17894
|
+
cursor: not-allowed;
|
|
17634
17895
|
}
|
|
17635
17896
|
|
|
17636
|
-
.muka-
|
|
17637
|
-
|
|
17638
|
-
|
|
17897
|
+
.muka-action-sheet__item-icon {
|
|
17898
|
+
display: inline-flex;
|
|
17899
|
+
align-items: center;
|
|
17900
|
+
justify-content: center;
|
|
17901
|
+
width: 24px;
|
|
17902
|
+
height: 24px;
|
|
17903
|
+
flex-shrink: 0;
|
|
17639
17904
|
}
|
|
17640
17905
|
|
|
17641
|
-
.muka-
|
|
17642
|
-
|
|
17643
|
-
|
|
17644
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
17645
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
17906
|
+
.muka-action-sheet__item-icon svg {
|
|
17907
|
+
width: 100%;
|
|
17908
|
+
height: 100%;
|
|
17646
17909
|
}
|
|
17647
17910
|
|
|
17648
|
-
|
|
17649
|
-
|
|
17650
|
-
display: flex;
|
|
17651
|
-
flex-direction: column;
|
|
17652
|
-
align-items: flex-start;
|
|
17653
|
-
padding-top: var(--spacing-1);
|
|
17911
|
+
.muka-action-sheet__item-label {
|
|
17912
|
+
flex: 1;
|
|
17654
17913
|
}
|
|
17655
17914
|
|
|
17656
|
-
/*
|
|
17657
|
-
|
|
17915
|
+
/* ─── Cancel button (separate at bottom) ──────────────── */
|
|
17916
|
+
|
|
17917
|
+
.muka-action-sheet__cancel {
|
|
17658
17918
|
display: flex;
|
|
17659
17919
|
align-items: center;
|
|
17660
17920
|
justify-content: center;
|
|
17661
|
-
|
|
17662
|
-
|
|
17663
|
-
width: 24px;
|
|
17664
|
-
height: 24px;
|
|
17665
|
-
padding: 0;
|
|
17666
|
-
margin: 0 0 0 auto;
|
|
17921
|
+
padding: var(--spacing-3) var(--spacing-4);
|
|
17922
|
+
background-color: var(--color-surface-level1);
|
|
17667
17923
|
border: none;
|
|
17668
|
-
|
|
17924
|
+
border-radius: var(--radius-md);
|
|
17669
17925
|
cursor: pointer;
|
|
17670
|
-
|
|
17671
|
-
|
|
17926
|
+
color: var(--color-text-default-default);
|
|
17927
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
17928
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
17929
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
17930
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
17931
|
+
-webkit-tap-highlight-color: transparent;
|
|
17932
|
+
transition: background-color 0.12s ease;
|
|
17672
17933
|
}
|
|
17673
17934
|
|
|
17674
|
-
.muka-
|
|
17675
|
-
|
|
17676
|
-
background-color: rgba(0, 0, 0, 0.05);
|
|
17935
|
+
.muka-action-sheet__cancel:hover {
|
|
17936
|
+
background-color: var(--color-surface-level2);
|
|
17677
17937
|
}
|
|
17678
17938
|
|
|
17679
|
-
.muka-
|
|
17680
|
-
outline: 2px solid var(--color-
|
|
17939
|
+
.muka-action-sheet__cancel:focus-visible {
|
|
17940
|
+
outline: 2px solid var(--color-action-default);
|
|
17681
17941
|
outline-offset: 2px;
|
|
17682
17942
|
}
|
|
17683
17943
|
|
|
17684
|
-
.muka-alert__dismiss svg {
|
|
17685
|
-
width: 16px;
|
|
17686
|
-
height: 16px;
|
|
17687
|
-
}
|
|
17688
|
-
|
|
17689
17944
|
|
|
17690
17945
|
/* AgentTaskList */
|
|
17691
17946
|
/* AgentTaskList Component Styles */
|
|
@@ -17856,148 +18111,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
17856
18111
|
}
|
|
17857
18112
|
|
|
17858
18113
|
|
|
17859
|
-
/* ActionSheet */
|
|
17860
|
-
/* ActionSheet Component Styles */
|
|
17861
|
-
|
|
17862
|
-
.muka-action-sheet__inner {
|
|
17863
|
-
display: flex;
|
|
17864
|
-
flex-direction: column;
|
|
17865
|
-
padding: 0 var(--spacing-4) var(--spacing-3) var(--spacing-4);
|
|
17866
|
-
gap: var(--spacing-3);
|
|
17867
|
-
}
|
|
17868
|
-
|
|
17869
|
-
/* ─── Header ──────────────────────────────────────────── */
|
|
17870
|
-
|
|
17871
|
-
.muka-action-sheet__header {
|
|
17872
|
-
display: flex;
|
|
17873
|
-
flex-direction: column;
|
|
17874
|
-
align-items: center;
|
|
17875
|
-
gap: var(--spacing-1);
|
|
17876
|
-
padding: var(--spacing-2) 0 var(--spacing-3);
|
|
17877
|
-
text-align: center;
|
|
17878
|
-
}
|
|
17879
|
-
|
|
17880
|
-
.muka-action-sheet__title {
|
|
17881
|
-
margin: 0;
|
|
17882
|
-
color: var(--color-text-default-default);
|
|
17883
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
17884
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
17885
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
17886
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
17887
|
-
}
|
|
17888
|
-
|
|
17889
|
-
.muka-action-sheet__description {
|
|
17890
|
-
margin: 0;
|
|
17891
|
-
color: var(--color-text-subtle-default);
|
|
17892
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
17893
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
17894
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
17895
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
17896
|
-
}
|
|
17897
|
-
|
|
17898
|
-
/* ─── Actions group ───────────────────────────────────── */
|
|
17899
|
-
|
|
17900
|
-
.muka-action-sheet__actions {
|
|
17901
|
-
display: flex;
|
|
17902
|
-
flex-direction: column;
|
|
17903
|
-
background-color: var(--color-surface-level1);
|
|
17904
|
-
border-radius: var(--radius-md);
|
|
17905
|
-
overflow: hidden;
|
|
17906
|
-
}
|
|
17907
|
-
|
|
17908
|
-
.muka-action-sheet__item {
|
|
17909
|
-
display: flex;
|
|
17910
|
-
align-items: center;
|
|
17911
|
-
gap: var(--spacing-3);
|
|
17912
|
-
padding: var(--spacing-3) var(--spacing-4);
|
|
17913
|
-
background: none;
|
|
17914
|
-
border: none;
|
|
17915
|
-
cursor: pointer;
|
|
17916
|
-
text-align: left;
|
|
17917
|
-
color: var(--color-text-default-default);
|
|
17918
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
17919
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
17920
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
17921
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
17922
|
-
-webkit-tap-highlight-color: transparent;
|
|
17923
|
-
transition: background-color 0.12s ease;
|
|
17924
|
-
}
|
|
17925
|
-
|
|
17926
|
-
.muka-action-sheet__item + .muka-action-sheet__item {
|
|
17927
|
-
border-top: var(--border-width-regular) solid var(--color-border-default);
|
|
17928
|
-
}
|
|
17929
|
-
|
|
17930
|
-
.muka-action-sheet__item:hover:not(:disabled) {
|
|
17931
|
-
background-color: var(--color-surface-level2);
|
|
17932
|
-
}
|
|
17933
|
-
|
|
17934
|
-
.muka-action-sheet__item:active:not(:disabled) {
|
|
17935
|
-
background-color: var(--color-surface-level3);
|
|
17936
|
-
}
|
|
17937
|
-
|
|
17938
|
-
.muka-action-sheet__item:focus-visible {
|
|
17939
|
-
outline: 2px solid var(--color-action-default);
|
|
17940
|
-
outline-offset: -2px;
|
|
17941
|
-
}
|
|
17942
|
-
|
|
17943
|
-
.muka-action-sheet__item--destructive {
|
|
17944
|
-
color: var(--color-state-error-default);
|
|
17945
|
-
}
|
|
17946
|
-
|
|
17947
|
-
.muka-action-sheet__item--disabled,
|
|
17948
|
-
.muka-action-sheet__item:disabled {
|
|
17949
|
-
opacity: 0.5;
|
|
17950
|
-
cursor: not-allowed;
|
|
17951
|
-
}
|
|
17952
|
-
|
|
17953
|
-
.muka-action-sheet__item-icon {
|
|
17954
|
-
display: inline-flex;
|
|
17955
|
-
align-items: center;
|
|
17956
|
-
justify-content: center;
|
|
17957
|
-
width: 24px;
|
|
17958
|
-
height: 24px;
|
|
17959
|
-
flex-shrink: 0;
|
|
17960
|
-
}
|
|
17961
|
-
|
|
17962
|
-
.muka-action-sheet__item-icon svg {
|
|
17963
|
-
width: 100%;
|
|
17964
|
-
height: 100%;
|
|
17965
|
-
}
|
|
17966
|
-
|
|
17967
|
-
.muka-action-sheet__item-label {
|
|
17968
|
-
flex: 1;
|
|
17969
|
-
}
|
|
17970
|
-
|
|
17971
|
-
/* ─── Cancel button (separate at bottom) ──────────────── */
|
|
17972
|
-
|
|
17973
|
-
.muka-action-sheet__cancel {
|
|
17974
|
-
display: flex;
|
|
17975
|
-
align-items: center;
|
|
17976
|
-
justify-content: center;
|
|
17977
|
-
padding: var(--spacing-3) var(--spacing-4);
|
|
17978
|
-
background-color: var(--color-surface-level1);
|
|
17979
|
-
border: none;
|
|
17980
|
-
border-radius: var(--radius-md);
|
|
17981
|
-
cursor: pointer;
|
|
17982
|
-
color: var(--color-text-default-default);
|
|
17983
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
17984
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
17985
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
17986
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
17987
|
-
-webkit-tap-highlight-color: transparent;
|
|
17988
|
-
transition: background-color 0.12s ease;
|
|
17989
|
-
}
|
|
17990
|
-
|
|
17991
|
-
.muka-action-sheet__cancel:hover {
|
|
17992
|
-
background-color: var(--color-surface-level2);
|
|
17993
|
-
}
|
|
17994
|
-
|
|
17995
|
-
.muka-action-sheet__cancel:focus-visible {
|
|
17996
|
-
outline: 2px solid var(--color-action-default);
|
|
17997
|
-
outline-offset: 2px;
|
|
17998
|
-
}
|
|
17999
|
-
|
|
18000
|
-
|
|
18001
18114
|
/* Accordion */
|
|
18002
18115
|
/* Accordion Component Styles */
|
|
18003
18116
|
|