@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
package/dist/styles/index.css
CHANGED
|
@@ -1800,6 +1800,7 @@ body {
|
|
|
1800
1800
|
--chatbubble-embed-color-agent-border: #fbe577;
|
|
1801
1801
|
--chatbubble-embed-color-agent-foreground: #211f26;
|
|
1802
1802
|
--chatbubble-action-stack-gap: 0.75rem;
|
|
1803
|
+
--chatbubble-action-stack-offset: 1rem;
|
|
1803
1804
|
--chatphotogrid-gap: 0.25rem;
|
|
1804
1805
|
--chatphotogrid-radius: 0.375rem;
|
|
1805
1806
|
--chatphotogrid-color-placeholder: #f2eff3;
|
|
@@ -2729,6 +2730,86 @@ body {
|
|
|
2729
2730
|
display: none;
|
|
2730
2731
|
}
|
|
2731
2732
|
|
|
2733
|
+
/* ─── Loading state ───────────────────────────────────── */
|
|
2734
|
+
|
|
2735
|
+
.muka-view__loading {
|
|
2736
|
+
display: flex;
|
|
2737
|
+
flex-direction: column;
|
|
2738
|
+
gap: var(--spacing-3);
|
|
2739
|
+
padding: var(--spacing-4);
|
|
2740
|
+
}
|
|
2741
|
+
|
|
2742
|
+
/* ─── Navigation motion (push / pop) ──────────────────────
|
|
2743
|
+
React wraps each View in <ViewTransition enter="muka-view-enter"
|
|
2744
|
+
exit="muka-view-exit">; viewNavigation.ts writes the direction to
|
|
2745
|
+
<html data-muka-nav> during the commit. Without the attribute (a tab switch,
|
|
2746
|
+
a loading View replaced by its content) nothing slides.
|
|
2747
|
+
|
|
2748
|
+
iOS navigation-controller motion: the pushed View slides in from the right
|
|
2749
|
+
over the current one, which moves 30% left; a pop reverses it. Small and
|
|
2750
|
+
medium screens only — at the large tier the sidebar stays put and views swap
|
|
2751
|
+
in place. --motion-duration-view is 0ms under prefers-reduced-motion. */
|
|
2752
|
+
|
|
2753
|
+
/* No direction, or the large tier: swap without the browser's default crossfade. */
|
|
2754
|
+
::view-transition-old(.muka-view-exit),
|
|
2755
|
+
::view-transition-new(.muka-view-enter) {
|
|
2756
|
+
animation: none;
|
|
2757
|
+
}
|
|
2758
|
+
|
|
2759
|
+
@media (max-width: 1023px) {
|
|
2760
|
+
/* Taps during the slide reach the new View instead of being swallowed. */
|
|
2761
|
+
:root[data-muka-nav]::view-transition {
|
|
2762
|
+
pointer-events: none;
|
|
2763
|
+
}
|
|
2764
|
+
|
|
2765
|
+
:root[data-muka-nav='push']::view-transition-group(.muka-view-enter),
|
|
2766
|
+
:root[data-muka-nav='pop']::view-transition-group(.muka-view-exit) {
|
|
2767
|
+
z-index: 2;
|
|
2768
|
+
}
|
|
2769
|
+
|
|
2770
|
+
:root[data-muka-nav='push']::view-transition-group(.muka-view-exit),
|
|
2771
|
+
:root[data-muka-nav='pop']::view-transition-group(.muka-view-enter) {
|
|
2772
|
+
z-index: 1;
|
|
2773
|
+
}
|
|
2774
|
+
|
|
2775
|
+
:root[data-muka-nav='push']::view-transition-new(.muka-view-enter) {
|
|
2776
|
+
animation: muka-view-from-right var(--motion-duration-view) var(--motion-easing-enter) both;
|
|
2777
|
+
}
|
|
2778
|
+
|
|
2779
|
+
:root[data-muka-nav='push']::view-transition-old(.muka-view-exit) {
|
|
2780
|
+
animation: muka-view-to-behind var(--motion-duration-view) var(--motion-easing-enter) both;
|
|
2781
|
+
}
|
|
2782
|
+
|
|
2783
|
+
:root[data-muka-nav='pop']::view-transition-old(.muka-view-exit) {
|
|
2784
|
+
animation: muka-view-to-right var(--motion-duration-view) var(--motion-easing-enter) both;
|
|
2785
|
+
}
|
|
2786
|
+
|
|
2787
|
+
:root[data-muka-nav='pop']::view-transition-new(.muka-view-enter) {
|
|
2788
|
+
animation: muka-view-from-behind var(--motion-duration-view) var(--motion-easing-enter) both;
|
|
2789
|
+
}
|
|
2790
|
+
|
|
2791
|
+
}
|
|
2792
|
+
|
|
2793
|
+
@keyframes muka-view-from-right {
|
|
2794
|
+
from { transform: translateX(100%); }
|
|
2795
|
+
to { transform: translateX(0); }
|
|
2796
|
+
}
|
|
2797
|
+
|
|
2798
|
+
@keyframes muka-view-to-right {
|
|
2799
|
+
from { transform: translateX(0); }
|
|
2800
|
+
to { transform: translateX(100%); }
|
|
2801
|
+
}
|
|
2802
|
+
|
|
2803
|
+
@keyframes muka-view-to-behind {
|
|
2804
|
+
from { transform: translateX(0); }
|
|
2805
|
+
to { transform: translateX(-30%); }
|
|
2806
|
+
}
|
|
2807
|
+
|
|
2808
|
+
@keyframes muka-view-from-behind {
|
|
2809
|
+
from { transform: translateX(-30%); }
|
|
2810
|
+
to { transform: translateX(0); }
|
|
2811
|
+
}
|
|
2812
|
+
|
|
2732
2813
|
|
|
2733
2814
|
/* Typography */
|
|
2734
2815
|
.muka-typography-catalog {
|
|
@@ -4062,191 +4143,6 @@ body {
|
|
|
4062
4143
|
}
|
|
4063
4144
|
|
|
4064
4145
|
|
|
4065
|
-
/* Thumbnail */
|
|
4066
|
-
/* Thumbnail Component Styles - Using Muka Design Tokens */
|
|
4067
|
-
|
|
4068
|
-
.muka-thumbnail {
|
|
4069
|
-
position: relative;
|
|
4070
|
-
flex-shrink: 0;
|
|
4071
|
-
}
|
|
4072
|
-
|
|
4073
|
-
/* The frame carries the border, background and shape clip. Keeping it separate
|
|
4074
|
-
from the root lets the remove (×) button sit outside the clip (needed for the
|
|
4075
|
-
circular/ellipse shape, whose corners would otherwise clip the button). */
|
|
4076
|
-
.muka-thumbnail__frame {
|
|
4077
|
-
position: absolute;
|
|
4078
|
-
inset: 0;
|
|
4079
|
-
overflow: hidden;
|
|
4080
|
-
border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
|
|
4081
|
-
border-radius: var(--border-radius-lg);
|
|
4082
|
-
background-color: var(--color-surface-level1);
|
|
4083
|
-
}
|
|
4084
|
-
|
|
4085
|
-
/* ─── Shapes ──────────────────────────────────────────── */
|
|
4086
|
-
.muka-thumbnail--4-3 {
|
|
4087
|
-
width: 160px;
|
|
4088
|
-
height: 120px;
|
|
4089
|
-
}
|
|
4090
|
-
|
|
4091
|
-
.muka-thumbnail--1-1 {
|
|
4092
|
-
width: 120px;
|
|
4093
|
-
height: 120px;
|
|
4094
|
-
}
|
|
4095
|
-
|
|
4096
|
-
.muka-thumbnail--ellipse {
|
|
4097
|
-
width: 120px;
|
|
4098
|
-
height: 120px;
|
|
4099
|
-
}
|
|
4100
|
-
|
|
4101
|
-
/* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
|
|
4102
|
-
.muka-thumbnail--fluid {
|
|
4103
|
-
width: 100%;
|
|
4104
|
-
height: auto;
|
|
4105
|
-
aspect-ratio: 1 / 1;
|
|
4106
|
-
}
|
|
4107
|
-
|
|
4108
|
-
.muka-thumbnail--fluid.muka-thumbnail--4-3 {
|
|
4109
|
-
aspect-ratio: 4 / 3;
|
|
4110
|
-
}
|
|
4111
|
-
|
|
4112
|
-
.muka-thumbnail--ellipse .muka-thumbnail__frame {
|
|
4113
|
-
border-radius: var(--border-radius-full);
|
|
4114
|
-
}
|
|
4115
|
-
|
|
4116
|
-
/* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
|
|
4117
|
-
interactive hover zoom has a clean origin. */
|
|
4118
|
-
.muka-thumbnail__image {
|
|
4119
|
-
position: absolute;
|
|
4120
|
-
inset: 0;
|
|
4121
|
-
width: 100%;
|
|
4122
|
-
height: 100%;
|
|
4123
|
-
object-fit: cover;
|
|
4124
|
-
display: block;
|
|
4125
|
-
transform-origin: center;
|
|
4126
|
-
/* Micro-interaction: hover zoom eases out over the "micro" duration. */
|
|
4127
|
-
transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4128
|
-
}
|
|
4129
|
-
|
|
4130
|
-
/* ─── Interactive (click-to-enlarge) ──────────────────── */
|
|
4131
|
-
.muka-thumbnail__trigger {
|
|
4132
|
-
position: absolute;
|
|
4133
|
-
inset: 0;
|
|
4134
|
-
padding: 0;
|
|
4135
|
-
border: 0;
|
|
4136
|
-
background: none;
|
|
4137
|
-
cursor: pointer;
|
|
4138
|
-
overflow: hidden;
|
|
4139
|
-
}
|
|
4140
|
-
|
|
4141
|
-
.muka-thumbnail__trigger:focus-visible {
|
|
4142
|
-
outline: 2px solid var(--color-border-focus);
|
|
4143
|
-
outline-offset: -2px;
|
|
4144
|
-
}
|
|
4145
|
-
|
|
4146
|
-
/* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
|
|
4147
|
-
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
4148
|
-
transform: scale(1.05);
|
|
4149
|
-
}
|
|
4150
|
-
|
|
4151
|
-
/* ─── Loading overlay + progress donut ────────────────── */
|
|
4152
|
-
.muka-thumbnail__overlay {
|
|
4153
|
-
position: absolute;
|
|
4154
|
-
inset: 0;
|
|
4155
|
-
display: flex;
|
|
4156
|
-
align-items: center;
|
|
4157
|
-
justify-content: center;
|
|
4158
|
-
background-color: var(--dialog-color-backdrop);
|
|
4159
|
-
}
|
|
4160
|
-
|
|
4161
|
-
.muka-thumbnail__progress {
|
|
4162
|
-
width: 40px;
|
|
4163
|
-
height: 40px;
|
|
4164
|
-
}
|
|
4165
|
-
|
|
4166
|
-
/* ─── Error / corrupt state ───────────────────────────── */
|
|
4167
|
-
.muka-thumbnail--error .muka-thumbnail__frame {
|
|
4168
|
-
background-color: var(--alias-color-state-error-muted);
|
|
4169
|
-
border-color: var(--alias-color-state-error-default);
|
|
4170
|
-
}
|
|
4171
|
-
|
|
4172
|
-
.muka-thumbnail__error {
|
|
4173
|
-
position: absolute;
|
|
4174
|
-
inset: 0;
|
|
4175
|
-
display: flex;
|
|
4176
|
-
flex-direction: column;
|
|
4177
|
-
align-items: center;
|
|
4178
|
-
justify-content: center;
|
|
4179
|
-
gap: var(--spacing-2);
|
|
4180
|
-
padding: var(--spacing-3);
|
|
4181
|
-
text-align: center;
|
|
4182
|
-
}
|
|
4183
|
-
|
|
4184
|
-
.muka-thumbnail__error-icon {
|
|
4185
|
-
color: var(--alert-color-error-accent);
|
|
4186
|
-
}
|
|
4187
|
-
|
|
4188
|
-
.muka-thumbnail__caption {
|
|
4189
|
-
max-width: 100%;
|
|
4190
|
-
overflow: hidden;
|
|
4191
|
-
text-overflow: ellipsis;
|
|
4192
|
-
white-space: nowrap;
|
|
4193
|
-
color: var(--alert-color-error-accent);
|
|
4194
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
4195
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
4196
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
4197
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
4198
|
-
}
|
|
4199
|
-
|
|
4200
|
-
/* ─── Remove (×) button ───────────────────────────────── */
|
|
4201
|
-
.muka-thumbnail__remove {
|
|
4202
|
-
position: absolute;
|
|
4203
|
-
top: var(--spacing-2);
|
|
4204
|
-
right: var(--spacing-2);
|
|
4205
|
-
display: flex;
|
|
4206
|
-
align-items: center;
|
|
4207
|
-
justify-content: center;
|
|
4208
|
-
width: var(--size-2xl);
|
|
4209
|
-
height: var(--size-2xl);
|
|
4210
|
-
padding: 0;
|
|
4211
|
-
color: var(--button-color-tertiary-foreground-default);
|
|
4212
|
-
background-color: var(--button-color-tertiary-background-default);
|
|
4213
|
-
border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
|
|
4214
|
-
border-radius: var(--border-radius-lg);
|
|
4215
|
-
cursor: pointer;
|
|
4216
|
-
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
4217
|
-
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4218
|
-
}
|
|
4219
|
-
|
|
4220
|
-
.muka-thumbnail__remove:hover {
|
|
4221
|
-
color: var(--button-color-tertiary-foreground-hover);
|
|
4222
|
-
background-color: var(--button-color-tertiary-background-hover);
|
|
4223
|
-
border-color: var(--button-color-tertiary-border-hover);
|
|
4224
|
-
}
|
|
4225
|
-
|
|
4226
|
-
.muka-thumbnail__remove:active {
|
|
4227
|
-
color: var(--button-color-tertiary-foreground-pressed);
|
|
4228
|
-
background-color: var(--button-color-tertiary-background-pressed);
|
|
4229
|
-
border-color: var(--button-color-tertiary-border-pressed);
|
|
4230
|
-
}
|
|
4231
|
-
|
|
4232
|
-
.muka-thumbnail__remove:focus-visible {
|
|
4233
|
-
outline: 2px solid var(--color-border-focus);
|
|
4234
|
-
outline-offset: 2px;
|
|
4235
|
-
}
|
|
4236
|
-
|
|
4237
|
-
/* ─── Reduced motion ──────────────────────────────────── */
|
|
4238
|
-
@media (prefers-reduced-motion: reduce) {
|
|
4239
|
-
.muka-thumbnail__image,
|
|
4240
|
-
.muka-thumbnail__remove {
|
|
4241
|
-
transition: none;
|
|
4242
|
-
}
|
|
4243
|
-
|
|
4244
|
-
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
4245
|
-
transform: none;
|
|
4246
|
-
}
|
|
4247
|
-
}
|
|
4248
|
-
|
|
4249
|
-
|
|
4250
4146
|
/* Textarea */
|
|
4251
4147
|
/* Textarea Component Styles - Using Muka Design Tokens */
|
|
4252
4148
|
|
|
@@ -4493,31 +4389,216 @@ body {
|
|
|
4493
4389
|
}
|
|
4494
4390
|
|
|
4495
4391
|
|
|
4496
|
-
/*
|
|
4497
|
-
/*
|
|
4392
|
+
/* Thumbnail */
|
|
4393
|
+
/* Thumbnail Component Styles - Using Muka Design Tokens */
|
|
4498
4394
|
|
|
4499
|
-
.muka-
|
|
4500
|
-
|
|
4501
|
-
flex-
|
|
4395
|
+
.muka-thumbnail {
|
|
4396
|
+
position: relative;
|
|
4397
|
+
flex-shrink: 0;
|
|
4502
4398
|
}
|
|
4503
4399
|
|
|
4504
|
-
/*
|
|
4505
|
-
|
|
4506
|
-
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
|
|
4513
|
-
|
|
4514
|
-
.muka-tabs--align-fill .muka-tabs__trigger {
|
|
4515
|
-
flex: 1;
|
|
4400
|
+
/* The frame carries the border, background and shape clip. Keeping it separate
|
|
4401
|
+
from the root lets the remove (×) button sit outside the clip (needed for the
|
|
4402
|
+
circular/ellipse shape, whose corners would otherwise clip the button). */
|
|
4403
|
+
.muka-thumbnail__frame {
|
|
4404
|
+
position: absolute;
|
|
4405
|
+
inset: 0;
|
|
4406
|
+
overflow: hidden;
|
|
4407
|
+
border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
|
|
4408
|
+
border-radius: var(--border-radius-lg);
|
|
4409
|
+
background-color: var(--color-surface-level1);
|
|
4516
4410
|
}
|
|
4517
4411
|
|
|
4518
|
-
/*
|
|
4519
|
-
.muka-
|
|
4520
|
-
|
|
4412
|
+
/* ─── Shapes ──────────────────────────────────────────── */
|
|
4413
|
+
.muka-thumbnail--4-3 {
|
|
4414
|
+
width: 160px;
|
|
4415
|
+
height: 120px;
|
|
4416
|
+
}
|
|
4417
|
+
|
|
4418
|
+
.muka-thumbnail--1-1 {
|
|
4419
|
+
width: 120px;
|
|
4420
|
+
height: 120px;
|
|
4421
|
+
}
|
|
4422
|
+
|
|
4423
|
+
.muka-thumbnail--ellipse {
|
|
4424
|
+
width: 120px;
|
|
4425
|
+
height: 120px;
|
|
4426
|
+
}
|
|
4427
|
+
|
|
4428
|
+
/* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
|
|
4429
|
+
.muka-thumbnail--fluid {
|
|
4430
|
+
width: 100%;
|
|
4431
|
+
height: auto;
|
|
4432
|
+
aspect-ratio: 1 / 1;
|
|
4433
|
+
}
|
|
4434
|
+
|
|
4435
|
+
.muka-thumbnail--fluid.muka-thumbnail--4-3 {
|
|
4436
|
+
aspect-ratio: 4 / 3;
|
|
4437
|
+
}
|
|
4438
|
+
|
|
4439
|
+
.muka-thumbnail--ellipse .muka-thumbnail__frame {
|
|
4440
|
+
border-radius: var(--border-radius-full);
|
|
4441
|
+
}
|
|
4442
|
+
|
|
4443
|
+
/* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
|
|
4444
|
+
interactive hover zoom has a clean origin. */
|
|
4445
|
+
.muka-thumbnail__image {
|
|
4446
|
+
position: absolute;
|
|
4447
|
+
inset: 0;
|
|
4448
|
+
width: 100%;
|
|
4449
|
+
height: 100%;
|
|
4450
|
+
object-fit: cover;
|
|
4451
|
+
display: block;
|
|
4452
|
+
transform-origin: center;
|
|
4453
|
+
/* Micro-interaction: hover zoom eases out over the "micro" duration. */
|
|
4454
|
+
transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4455
|
+
}
|
|
4456
|
+
|
|
4457
|
+
/* ─── Interactive (click-to-enlarge) ──────────────────── */
|
|
4458
|
+
.muka-thumbnail__trigger {
|
|
4459
|
+
position: absolute;
|
|
4460
|
+
inset: 0;
|
|
4461
|
+
padding: 0;
|
|
4462
|
+
border: 0;
|
|
4463
|
+
background: none;
|
|
4464
|
+
cursor: pointer;
|
|
4465
|
+
overflow: hidden;
|
|
4466
|
+
}
|
|
4467
|
+
|
|
4468
|
+
.muka-thumbnail__trigger:focus-visible {
|
|
4469
|
+
outline: 2px solid var(--color-border-focus);
|
|
4470
|
+
outline-offset: -2px;
|
|
4471
|
+
}
|
|
4472
|
+
|
|
4473
|
+
/* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
|
|
4474
|
+
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
4475
|
+
transform: scale(1.05);
|
|
4476
|
+
}
|
|
4477
|
+
|
|
4478
|
+
/* ─── Loading overlay + progress donut ────────────────── */
|
|
4479
|
+
.muka-thumbnail__overlay {
|
|
4480
|
+
position: absolute;
|
|
4481
|
+
inset: 0;
|
|
4482
|
+
display: flex;
|
|
4483
|
+
align-items: center;
|
|
4484
|
+
justify-content: center;
|
|
4485
|
+
background-color: var(--dialog-color-backdrop);
|
|
4486
|
+
}
|
|
4487
|
+
|
|
4488
|
+
.muka-thumbnail__progress {
|
|
4489
|
+
width: 40px;
|
|
4490
|
+
height: 40px;
|
|
4491
|
+
}
|
|
4492
|
+
|
|
4493
|
+
/* ─── Error / corrupt state ───────────────────────────── */
|
|
4494
|
+
.muka-thumbnail--error .muka-thumbnail__frame {
|
|
4495
|
+
background-color: var(--alias-color-state-error-muted);
|
|
4496
|
+
border-color: var(--alias-color-state-error-default);
|
|
4497
|
+
}
|
|
4498
|
+
|
|
4499
|
+
.muka-thumbnail__error {
|
|
4500
|
+
position: absolute;
|
|
4501
|
+
inset: 0;
|
|
4502
|
+
display: flex;
|
|
4503
|
+
flex-direction: column;
|
|
4504
|
+
align-items: center;
|
|
4505
|
+
justify-content: center;
|
|
4506
|
+
gap: var(--spacing-2);
|
|
4507
|
+
padding: var(--spacing-3);
|
|
4508
|
+
text-align: center;
|
|
4509
|
+
}
|
|
4510
|
+
|
|
4511
|
+
.muka-thumbnail__error-icon {
|
|
4512
|
+
color: var(--alert-color-error-accent);
|
|
4513
|
+
}
|
|
4514
|
+
|
|
4515
|
+
.muka-thumbnail__caption {
|
|
4516
|
+
max-width: 100%;
|
|
4517
|
+
overflow: hidden;
|
|
4518
|
+
text-overflow: ellipsis;
|
|
4519
|
+
white-space: nowrap;
|
|
4520
|
+
color: var(--alert-color-error-accent);
|
|
4521
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
4522
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
4523
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
4524
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
4525
|
+
}
|
|
4526
|
+
|
|
4527
|
+
/* ─── Remove (×) button ───────────────────────────────── */
|
|
4528
|
+
.muka-thumbnail__remove {
|
|
4529
|
+
position: absolute;
|
|
4530
|
+
top: var(--spacing-2);
|
|
4531
|
+
right: var(--spacing-2);
|
|
4532
|
+
display: flex;
|
|
4533
|
+
align-items: center;
|
|
4534
|
+
justify-content: center;
|
|
4535
|
+
width: var(--size-2xl);
|
|
4536
|
+
height: var(--size-2xl);
|
|
4537
|
+
padding: 0;
|
|
4538
|
+
color: var(--button-color-tertiary-foreground-default);
|
|
4539
|
+
background-color: var(--button-color-tertiary-background-default);
|
|
4540
|
+
border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
|
|
4541
|
+
border-radius: var(--border-radius-lg);
|
|
4542
|
+
cursor: pointer;
|
|
4543
|
+
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
4544
|
+
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4545
|
+
}
|
|
4546
|
+
|
|
4547
|
+
.muka-thumbnail__remove:hover {
|
|
4548
|
+
color: var(--button-color-tertiary-foreground-hover);
|
|
4549
|
+
background-color: var(--button-color-tertiary-background-hover);
|
|
4550
|
+
border-color: var(--button-color-tertiary-border-hover);
|
|
4551
|
+
}
|
|
4552
|
+
|
|
4553
|
+
.muka-thumbnail__remove:active {
|
|
4554
|
+
color: var(--button-color-tertiary-foreground-pressed);
|
|
4555
|
+
background-color: var(--button-color-tertiary-background-pressed);
|
|
4556
|
+
border-color: var(--button-color-tertiary-border-pressed);
|
|
4557
|
+
}
|
|
4558
|
+
|
|
4559
|
+
.muka-thumbnail__remove:focus-visible {
|
|
4560
|
+
outline: 2px solid var(--color-border-focus);
|
|
4561
|
+
outline-offset: 2px;
|
|
4562
|
+
}
|
|
4563
|
+
|
|
4564
|
+
/* ─── Reduced motion ──────────────────────────────────── */
|
|
4565
|
+
@media (prefers-reduced-motion: reduce) {
|
|
4566
|
+
.muka-thumbnail__image,
|
|
4567
|
+
.muka-thumbnail__remove {
|
|
4568
|
+
transition: none;
|
|
4569
|
+
}
|
|
4570
|
+
|
|
4571
|
+
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
4572
|
+
transform: none;
|
|
4573
|
+
}
|
|
4574
|
+
}
|
|
4575
|
+
|
|
4576
|
+
|
|
4577
|
+
/* Tabs */
|
|
4578
|
+
/* Tabs Component Styles - Clean underline style tabs matching Figma */
|
|
4579
|
+
|
|
4580
|
+
.muka-tabs {
|
|
4581
|
+
display: flex;
|
|
4582
|
+
flex-direction: column;
|
|
4583
|
+
}
|
|
4584
|
+
|
|
4585
|
+
/* Alignment Variants */
|
|
4586
|
+
.muka-tabs--align-left .muka-tabs__list {
|
|
4587
|
+
justify-content: flex-start;
|
|
4588
|
+
}
|
|
4589
|
+
.muka-tabs--align-center .muka-tabs__list {
|
|
4590
|
+
justify-content: center;
|
|
4591
|
+
}
|
|
4592
|
+
.muka-tabs--align-fill .muka-tabs__list {
|
|
4593
|
+
justify-content: space-between;
|
|
4594
|
+
}
|
|
4595
|
+
.muka-tabs--align-fill .muka-tabs__trigger {
|
|
4596
|
+
flex: 1;
|
|
4597
|
+
}
|
|
4598
|
+
|
|
4599
|
+
/* Tab List — strip container */
|
|
4600
|
+
.muka-tabs__list {
|
|
4601
|
+
display: flex;
|
|
4521
4602
|
align-items: center;
|
|
4522
4603
|
position: relative;
|
|
4523
4604
|
z-index: 2;
|
|
@@ -5358,191 +5439,41 @@ body {
|
|
|
5358
5439
|
}
|
|
5359
5440
|
|
|
5360
5441
|
|
|
5361
|
-
/*
|
|
5362
|
-
/*
|
|
5363
|
-
* SocialSignInButton lockup colors are provider-mandated (Apple HIG /
|
|
5364
|
-
* Google Identity branding) and intentionally fixed across Muka brands —
|
|
5365
|
-
* same exception pattern as LicensePlateInput regulatory colors.
|
|
5366
|
-
*
|
|
5367
|
-
* Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
|
|
5368
|
-
* Google: https://developers.google.com/identity/branding-guidelines
|
|
5369
|
-
*/
|
|
5370
|
-
.muka-social-sign-in-button {
|
|
5371
|
-
--ssi-white: #ffffff;
|
|
5372
|
-
--ssi-black: #000000;
|
|
5373
|
-
--ssi-google-text-light: #1f1f1f;
|
|
5442
|
+
/* SmsOtpField */
|
|
5443
|
+
/* SmsOtpField Component Styles - Using Muka Design Tokens */
|
|
5374
5444
|
|
|
5445
|
+
/* Wrapper */
|
|
5446
|
+
.muka-sms-otp-field {
|
|
5375
5447
|
display: inline-flex;
|
|
5376
|
-
|
|
5377
|
-
|
|
5378
|
-
|
|
5379
|
-
/* Provider lockup type — matches Figma / HIG, not brand font tokens.
|
|
5380
|
-
* SF Pro Text is OS-provided on Apple platforms (not redistributable).
|
|
5381
|
-
* Google Sans is not freely shippable; Roboto is the closest system fallback. */
|
|
5382
|
-
font-family: inherit;
|
|
5383
|
-
font-weight: 600;
|
|
5384
|
-
text-decoration: none;
|
|
5385
|
-
white-space: nowrap;
|
|
5448
|
+
flex-direction: column;
|
|
5449
|
+
gap: var(--spacing-2);
|
|
5450
|
+
}
|
|
5386
5451
|
|
|
5387
|
-
|
|
5452
|
+
/* Label */
|
|
5453
|
+
.muka-sms-otp-field__label {
|
|
5454
|
+
color: var(--color-text-default-default);
|
|
5388
5455
|
cursor: pointer;
|
|
5389
|
-
user-select: none;
|
|
5390
|
-
transition: opacity 0.15s ease, filter 0.15s ease;
|
|
5391
|
-
|
|
5392
|
-
outline: none;
|
|
5393
|
-
position: relative;
|
|
5394
|
-
box-sizing: border-box;
|
|
5395
5456
|
}
|
|
5396
5457
|
|
|
5397
|
-
.muka-
|
|
5398
|
-
font-family:
|
|
5399
|
-
|
|
5400
|
-
font-
|
|
5458
|
+
.muka-sms-otp-field__label--sm {
|
|
5459
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
5460
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
5461
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
5462
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5401
5463
|
}
|
|
5402
5464
|
|
|
5403
|
-
.muka-
|
|
5404
|
-
font-family:
|
|
5405
|
-
font-weight:
|
|
5465
|
+
.muka-sms-otp-field__label--md {
|
|
5466
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
5467
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
5468
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
5469
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
5406
5470
|
}
|
|
5407
5471
|
|
|
5408
|
-
.muka-
|
|
5409
|
-
|
|
5410
|
-
|
|
5411
|
-
|
|
5412
|
-
|
|
5413
|
-
/* Sizes — heights align with Button md/lg */
|
|
5414
|
-
.muka-social-sign-in-button--md {
|
|
5415
|
-
padding: 0 var(--button-padding-md-x);
|
|
5416
|
-
border-radius: var(--button-radius-md);
|
|
5417
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
5418
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5419
|
-
min-height: 40px;
|
|
5420
|
-
min-width: 240px;
|
|
5421
|
-
}
|
|
5422
|
-
|
|
5423
|
-
.muka-social-sign-in-button--md .muka-social-sign-in-button__label {
|
|
5424
|
-
padding: 0 var(--button-gap-md);
|
|
5425
|
-
}
|
|
5426
|
-
|
|
5427
|
-
.muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
|
|
5428
|
-
width: var(--button-icon-md);
|
|
5429
|
-
height: var(--button-icon-md);
|
|
5430
|
-
}
|
|
5431
|
-
|
|
5432
|
-
.muka-social-sign-in-button--lg {
|
|
5433
|
-
padding: 0 var(--button-padding-lg-x);
|
|
5434
|
-
border-radius: var(--button-radius-lg);
|
|
5435
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
5436
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
5437
|
-
min-height: 48px;
|
|
5438
|
-
min-width: 280px;
|
|
5439
|
-
}
|
|
5440
|
-
|
|
5441
|
-
.muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
|
|
5442
|
-
padding: 0 var(--button-gap-lg);
|
|
5443
|
-
}
|
|
5444
|
-
|
|
5445
|
-
.muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
|
|
5446
|
-
width: var(--button-icon-lg);
|
|
5447
|
-
height: var(--button-icon-lg);
|
|
5448
|
-
}
|
|
5449
|
-
|
|
5450
|
-
/* White lockup — for dark surfaces (Apple White with Outline) */
|
|
5451
|
-
.muka-social-sign-in-button--white {
|
|
5452
|
-
background-color: var(--ssi-white);
|
|
5453
|
-
color: var(--ssi-black);
|
|
5454
|
-
border-color: var(--ssi-black);
|
|
5455
|
-
}
|
|
5456
|
-
|
|
5457
|
-
.muka-social-sign-in-button--white.muka-social-sign-in-button--google {
|
|
5458
|
-
color: var(--ssi-google-text-light);
|
|
5459
|
-
}
|
|
5460
|
-
|
|
5461
|
-
/* Black lockup — for light surfaces */
|
|
5462
|
-
.muka-social-sign-in-button--black {
|
|
5463
|
-
background-color: var(--ssi-black);
|
|
5464
|
-
color: var(--ssi-white);
|
|
5465
|
-
border-color: transparent;
|
|
5466
|
-
}
|
|
5467
|
-
|
|
5468
|
-
/* Interaction — luminance/opacity only; no brand tint */
|
|
5469
|
-
.muka-social-sign-in-button:hover:not(:disabled) {
|
|
5470
|
-
filter: brightness(0.92);
|
|
5471
|
-
}
|
|
5472
|
-
|
|
5473
|
-
.muka-social-sign-in-button:active:not(:disabled) {
|
|
5474
|
-
filter: brightness(0.85);
|
|
5475
|
-
}
|
|
5476
|
-
|
|
5477
|
-
.muka-social-sign-in-button:disabled,
|
|
5478
|
-
.muka-social-sign-in-button--disabled {
|
|
5479
|
-
cursor: not-allowed;
|
|
5480
|
-
opacity: 0.4;
|
|
5481
|
-
pointer-events: none;
|
|
5482
|
-
filter: none;
|
|
5483
|
-
}
|
|
5484
|
-
|
|
5485
|
-
.muka-social-sign-in-button--full-width {
|
|
5486
|
-
width: 100%;
|
|
5487
|
-
min-width: 0;
|
|
5488
|
-
}
|
|
5489
|
-
|
|
5490
|
-
.muka-social-sign-in-button__icon {
|
|
5491
|
-
display: inline-flex;
|
|
5492
|
-
align-items: center;
|
|
5493
|
-
justify-content: center;
|
|
5494
|
-
flex-shrink: 0;
|
|
5495
|
-
}
|
|
5496
|
-
|
|
5497
|
-
.muka-social-sign-in-button__icon > *,
|
|
5498
|
-
.muka-social-sign-in-button__icon svg {
|
|
5499
|
-
width: auto;
|
|
5500
|
-
height: 100%;
|
|
5501
|
-
max-width: 100%;
|
|
5502
|
-
display: block;
|
|
5503
|
-
}
|
|
5504
|
-
|
|
5505
|
-
.muka-social-sign-in-button__label {
|
|
5506
|
-
display: inline-flex;
|
|
5507
|
-
align-items: center;
|
|
5508
|
-
}
|
|
5509
|
-
|
|
5510
|
-
|
|
5511
|
-
/* SmsOtpField */
|
|
5512
|
-
/* SmsOtpField Component Styles - Using Muka Design Tokens */
|
|
5513
|
-
|
|
5514
|
-
/* Wrapper */
|
|
5515
|
-
.muka-sms-otp-field {
|
|
5516
|
-
display: inline-flex;
|
|
5517
|
-
flex-direction: column;
|
|
5518
|
-
gap: var(--spacing-2);
|
|
5519
|
-
}
|
|
5520
|
-
|
|
5521
|
-
/* Label */
|
|
5522
|
-
.muka-sms-otp-field__label {
|
|
5523
|
-
color: var(--color-text-default-default);
|
|
5524
|
-
cursor: pointer;
|
|
5525
|
-
}
|
|
5526
|
-
|
|
5527
|
-
.muka-sms-otp-field__label--sm {
|
|
5528
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
5529
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
5530
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
5531
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5532
|
-
}
|
|
5533
|
-
|
|
5534
|
-
.muka-sms-otp-field__label--md {
|
|
5535
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
5536
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
5537
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
5538
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
5539
|
-
}
|
|
5540
|
-
|
|
5541
|
-
.muka-sms-otp-field__label--lg {
|
|
5542
|
-
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
5543
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
5544
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
5545
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
5472
|
+
.muka-sms-otp-field__label--lg {
|
|
5473
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
5474
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
5475
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
5476
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
5546
5477
|
}
|
|
5547
5478
|
|
|
5548
5479
|
.muka-sms-otp-field__required {
|
|
@@ -5700,6 +5631,156 @@ body {
|
|
|
5700
5631
|
}
|
|
5701
5632
|
|
|
5702
5633
|
|
|
5634
|
+
/* SocialSignInButton */
|
|
5635
|
+
/*
|
|
5636
|
+
* SocialSignInButton lockup colors are provider-mandated (Apple HIG /
|
|
5637
|
+
* Google Identity branding) and intentionally fixed across Muka brands —
|
|
5638
|
+
* same exception pattern as LicensePlateInput regulatory colors.
|
|
5639
|
+
*
|
|
5640
|
+
* Apple: https://developer.apple.com/design/human-interface-guidelines/sign-in-with-apple
|
|
5641
|
+
* Google: https://developers.google.com/identity/branding-guidelines
|
|
5642
|
+
*/
|
|
5643
|
+
.muka-social-sign-in-button {
|
|
5644
|
+
--ssi-white: #ffffff;
|
|
5645
|
+
--ssi-black: #000000;
|
|
5646
|
+
--ssi-google-text-light: #1f1f1f;
|
|
5647
|
+
|
|
5648
|
+
display: inline-flex;
|
|
5649
|
+
align-items: center;
|
|
5650
|
+
justify-content: center;
|
|
5651
|
+
|
|
5652
|
+
/* Provider lockup type — matches Figma / HIG, not brand font tokens.
|
|
5653
|
+
* SF Pro Text is OS-provided on Apple platforms (not redistributable).
|
|
5654
|
+
* Google Sans is not freely shippable; Roboto is the closest system fallback. */
|
|
5655
|
+
font-family: inherit;
|
|
5656
|
+
font-weight: 600;
|
|
5657
|
+
text-decoration: none;
|
|
5658
|
+
white-space: nowrap;
|
|
5659
|
+
|
|
5660
|
+
border: 1px solid transparent;
|
|
5661
|
+
cursor: pointer;
|
|
5662
|
+
user-select: none;
|
|
5663
|
+
transition: opacity 0.15s ease, filter 0.15s ease;
|
|
5664
|
+
|
|
5665
|
+
outline: none;
|
|
5666
|
+
position: relative;
|
|
5667
|
+
box-sizing: border-box;
|
|
5668
|
+
}
|
|
5669
|
+
|
|
5670
|
+
.muka-social-sign-in-button--apple {
|
|
5671
|
+
font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
|
5672
|
+
Helvetica, Arial, sans-serif;
|
|
5673
|
+
font-weight: 600;
|
|
5674
|
+
}
|
|
5675
|
+
|
|
5676
|
+
.muka-social-sign-in-button--google {
|
|
5677
|
+
font-family: 'Google Sans', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
5678
|
+
font-weight: 500;
|
|
5679
|
+
}
|
|
5680
|
+
|
|
5681
|
+
.muka-social-sign-in-button:focus-visible {
|
|
5682
|
+
outline: 2px solid var(--color-border-focus);
|
|
5683
|
+
outline-offset: 2px;
|
|
5684
|
+
}
|
|
5685
|
+
|
|
5686
|
+
/* Sizes — heights align with Button md/lg */
|
|
5687
|
+
.muka-social-sign-in-button--md {
|
|
5688
|
+
padding: 0 var(--button-padding-md-x);
|
|
5689
|
+
border-radius: var(--button-radius-md);
|
|
5690
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
5691
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5692
|
+
min-height: 40px;
|
|
5693
|
+
min-width: 240px;
|
|
5694
|
+
}
|
|
5695
|
+
|
|
5696
|
+
.muka-social-sign-in-button--md .muka-social-sign-in-button__label {
|
|
5697
|
+
padding: 0 var(--button-gap-md);
|
|
5698
|
+
}
|
|
5699
|
+
|
|
5700
|
+
.muka-social-sign-in-button--md .muka-social-sign-in-button__icon {
|
|
5701
|
+
width: var(--button-icon-md);
|
|
5702
|
+
height: var(--button-icon-md);
|
|
5703
|
+
}
|
|
5704
|
+
|
|
5705
|
+
.muka-social-sign-in-button--lg {
|
|
5706
|
+
padding: 0 var(--button-padding-lg-x);
|
|
5707
|
+
border-radius: var(--button-radius-lg);
|
|
5708
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
5709
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
5710
|
+
min-height: 48px;
|
|
5711
|
+
min-width: 280px;
|
|
5712
|
+
}
|
|
5713
|
+
|
|
5714
|
+
.muka-social-sign-in-button--lg .muka-social-sign-in-button__label {
|
|
5715
|
+
padding: 0 var(--button-gap-lg);
|
|
5716
|
+
}
|
|
5717
|
+
|
|
5718
|
+
.muka-social-sign-in-button--lg .muka-social-sign-in-button__icon {
|
|
5719
|
+
width: var(--button-icon-lg);
|
|
5720
|
+
height: var(--button-icon-lg);
|
|
5721
|
+
}
|
|
5722
|
+
|
|
5723
|
+
/* White lockup — for dark surfaces (Apple White with Outline) */
|
|
5724
|
+
.muka-social-sign-in-button--white {
|
|
5725
|
+
background-color: var(--ssi-white);
|
|
5726
|
+
color: var(--ssi-black);
|
|
5727
|
+
border-color: var(--ssi-black);
|
|
5728
|
+
}
|
|
5729
|
+
|
|
5730
|
+
.muka-social-sign-in-button--white.muka-social-sign-in-button--google {
|
|
5731
|
+
color: var(--ssi-google-text-light);
|
|
5732
|
+
}
|
|
5733
|
+
|
|
5734
|
+
/* Black lockup — for light surfaces */
|
|
5735
|
+
.muka-social-sign-in-button--black {
|
|
5736
|
+
background-color: var(--ssi-black);
|
|
5737
|
+
color: var(--ssi-white);
|
|
5738
|
+
border-color: transparent;
|
|
5739
|
+
}
|
|
5740
|
+
|
|
5741
|
+
/* Interaction — luminance/opacity only; no brand tint */
|
|
5742
|
+
.muka-social-sign-in-button:hover:not(:disabled) {
|
|
5743
|
+
filter: brightness(0.92);
|
|
5744
|
+
}
|
|
5745
|
+
|
|
5746
|
+
.muka-social-sign-in-button:active:not(:disabled) {
|
|
5747
|
+
filter: brightness(0.85);
|
|
5748
|
+
}
|
|
5749
|
+
|
|
5750
|
+
.muka-social-sign-in-button:disabled,
|
|
5751
|
+
.muka-social-sign-in-button--disabled {
|
|
5752
|
+
cursor: not-allowed;
|
|
5753
|
+
opacity: 0.4;
|
|
5754
|
+
pointer-events: none;
|
|
5755
|
+
filter: none;
|
|
5756
|
+
}
|
|
5757
|
+
|
|
5758
|
+
.muka-social-sign-in-button--full-width {
|
|
5759
|
+
width: 100%;
|
|
5760
|
+
min-width: 0;
|
|
5761
|
+
}
|
|
5762
|
+
|
|
5763
|
+
.muka-social-sign-in-button__icon {
|
|
5764
|
+
display: inline-flex;
|
|
5765
|
+
align-items: center;
|
|
5766
|
+
justify-content: center;
|
|
5767
|
+
flex-shrink: 0;
|
|
5768
|
+
}
|
|
5769
|
+
|
|
5770
|
+
.muka-social-sign-in-button__icon > *,
|
|
5771
|
+
.muka-social-sign-in-button__icon svg {
|
|
5772
|
+
width: auto;
|
|
5773
|
+
height: 100%;
|
|
5774
|
+
max-width: 100%;
|
|
5775
|
+
display: block;
|
|
5776
|
+
}
|
|
5777
|
+
|
|
5778
|
+
.muka-social-sign-in-button__label {
|
|
5779
|
+
display: inline-flex;
|
|
5780
|
+
align-items: center;
|
|
5781
|
+
}
|
|
5782
|
+
|
|
5783
|
+
|
|
5703
5784
|
/* Skeleton */
|
|
5704
5785
|
/* Skeleton Component Styles */
|
|
5705
5786
|
|
|
@@ -6554,75 +6635,25 @@ body {
|
|
|
6554
6635
|
.muka-search-input__cancel {
|
|
6555
6636
|
flex-shrink: 0;
|
|
6556
6637
|
background: none;
|
|
6557
|
-
border: none;
|
|
6558
|
-
padding: var(--spacing-1) var(--spacing-2);
|
|
6559
|
-
cursor: pointer;
|
|
6560
|
-
color: var(--color-action-default);
|
|
6561
|
-
font-family: var(--text-label-md-regular-fontFamily);
|
|
6562
|
-
font-weight: var(--text-label-md-regular-fontWeight);
|
|
6563
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
6564
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
6565
|
-
-webkit-tap-highlight-color: transparent;
|
|
6566
|
-
}
|
|
6567
|
-
|
|
6568
|
-
.muka-search-input__cancel:hover {
|
|
6569
|
-
color: var(--color-action-hover);
|
|
6570
|
-
}
|
|
6571
|
-
|
|
6572
|
-
.muka-search-input__cancel:focus-visible {
|
|
6573
|
-
outline: 2px solid var(--color-action-default);
|
|
6574
|
-
outline-offset: 2px;
|
|
6575
|
-
border-radius: var(--radius-sm);
|
|
6576
|
-
}
|
|
6577
|
-
|
|
6578
|
-
|
|
6579
|
-
/* RecordingBar */
|
|
6580
|
-
/* RecordingBar Component Styles */
|
|
6581
|
-
|
|
6582
|
-
.muka-recording-bar {
|
|
6583
|
-
display: flex;
|
|
6584
|
-
align-items: center;
|
|
6585
|
-
gap: var(--spacing-3);
|
|
6586
|
-
width: 100%;
|
|
6587
|
-
min-width: 0;
|
|
6588
|
-
}
|
|
6589
|
-
|
|
6590
|
-
.muka-recording-bar__dot {
|
|
6591
|
-
flex: 0 0 auto;
|
|
6592
|
-
width: 0.625rem;
|
|
6593
|
-
height: 0.625rem;
|
|
6594
|
-
border-radius: var(--radius-full, 9999px);
|
|
6595
|
-
background: var(--alert-color-error-accent, var(--color-text-default-default));
|
|
6596
|
-
animation: muka-recording-bar-pulse 1s ease-in-out infinite;
|
|
6597
|
-
}
|
|
6598
|
-
|
|
6599
|
-
.muka-recording-bar__time {
|
|
6600
|
-
flex: 0 0 auto;
|
|
6601
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
6602
|
-
line-height: var(--text-label-sm-leading);
|
|
6603
|
-
font-variant-numeric: tabular-nums;
|
|
6604
|
-
color: var(--color-text-default-default);
|
|
6605
|
-
}
|
|
6606
|
-
|
|
6607
|
-
.muka-recording-bar__wave {
|
|
6608
|
-
flex: 1 1 auto;
|
|
6609
|
-
min-width: 0;
|
|
6638
|
+
border: none;
|
|
6639
|
+
padding: var(--spacing-1) var(--spacing-2);
|
|
6640
|
+
cursor: pointer;
|
|
6641
|
+
color: var(--color-action-default);
|
|
6642
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
6643
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
6644
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
6645
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
6646
|
+
-webkit-tap-highlight-color: transparent;
|
|
6610
6647
|
}
|
|
6611
6648
|
|
|
6612
|
-
|
|
6613
|
-
|
|
6614
|
-
100% {
|
|
6615
|
-
opacity: 1;
|
|
6616
|
-
}
|
|
6617
|
-
50% {
|
|
6618
|
-
opacity: 0.3;
|
|
6619
|
-
}
|
|
6649
|
+
.muka-search-input__cancel:hover {
|
|
6650
|
+
color: var(--color-action-hover);
|
|
6620
6651
|
}
|
|
6621
6652
|
|
|
6622
|
-
|
|
6623
|
-
|
|
6624
|
-
|
|
6625
|
-
|
|
6653
|
+
.muka-search-input__cancel:focus-visible {
|
|
6654
|
+
outline: 2px solid var(--color-action-default);
|
|
6655
|
+
outline-offset: 2px;
|
|
6656
|
+
border-radius: var(--radius-sm);
|
|
6626
6657
|
}
|
|
6627
6658
|
|
|
6628
6659
|
|
|
@@ -6753,6 +6784,56 @@ body {
|
|
|
6753
6784
|
}
|
|
6754
6785
|
|
|
6755
6786
|
|
|
6787
|
+
/* RecordingBar */
|
|
6788
|
+
/* RecordingBar Component Styles */
|
|
6789
|
+
|
|
6790
|
+
.muka-recording-bar {
|
|
6791
|
+
display: flex;
|
|
6792
|
+
align-items: center;
|
|
6793
|
+
gap: var(--spacing-3);
|
|
6794
|
+
width: 100%;
|
|
6795
|
+
min-width: 0;
|
|
6796
|
+
}
|
|
6797
|
+
|
|
6798
|
+
.muka-recording-bar__dot {
|
|
6799
|
+
flex: 0 0 auto;
|
|
6800
|
+
width: 0.625rem;
|
|
6801
|
+
height: 0.625rem;
|
|
6802
|
+
border-radius: var(--radius-full, 9999px);
|
|
6803
|
+
background: var(--alert-color-error-accent, var(--color-text-default-default));
|
|
6804
|
+
animation: muka-recording-bar-pulse 1s ease-in-out infinite;
|
|
6805
|
+
}
|
|
6806
|
+
|
|
6807
|
+
.muka-recording-bar__time {
|
|
6808
|
+
flex: 0 0 auto;
|
|
6809
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
6810
|
+
line-height: var(--text-label-sm-leading);
|
|
6811
|
+
font-variant-numeric: tabular-nums;
|
|
6812
|
+
color: var(--color-text-default-default);
|
|
6813
|
+
}
|
|
6814
|
+
|
|
6815
|
+
.muka-recording-bar__wave {
|
|
6816
|
+
flex: 1 1 auto;
|
|
6817
|
+
min-width: 0;
|
|
6818
|
+
}
|
|
6819
|
+
|
|
6820
|
+
@keyframes muka-recording-bar-pulse {
|
|
6821
|
+
0%,
|
|
6822
|
+
100% {
|
|
6823
|
+
opacity: 1;
|
|
6824
|
+
}
|
|
6825
|
+
50% {
|
|
6826
|
+
opacity: 0.3;
|
|
6827
|
+
}
|
|
6828
|
+
}
|
|
6829
|
+
|
|
6830
|
+
@media (prefers-reduced-motion: reduce) {
|
|
6831
|
+
.muka-recording-bar__dot {
|
|
6832
|
+
animation: none;
|
|
6833
|
+
}
|
|
6834
|
+
}
|
|
6835
|
+
|
|
6836
|
+
|
|
6756
6837
|
/* RangeSlider */
|
|
6757
6838
|
/* RangeSlider Component Styles - Using Muka Design Tokens */
|
|
6758
6839
|
|
|
@@ -6874,242 +6955,98 @@ body {
|
|
|
6874
6955
|
);
|
|
6875
6956
|
}
|
|
6876
6957
|
|
|
6877
|
-
.muka-range-slider__input:focus {
|
|
6878
|
-
outline: none;
|
|
6879
|
-
}
|
|
6880
|
-
|
|
6881
|
-
/* WebKit / Blink track */
|
|
6882
|
-
.muka-range-slider__input::-webkit-slider-runnable-track {
|
|
6883
|
-
height: var(--muka-range-track-h);
|
|
6884
|
-
border-radius: var(--border-radius-full);
|
|
6885
|
-
background-image: var(--muka-range-track-fill);
|
|
6886
|
-
border: 1px solid var(--color-border-contrast);
|
|
6887
|
-
box-shadow: var(--shadow-sunken);
|
|
6888
|
-
}
|
|
6889
|
-
|
|
6890
|
-
/* Firefox track + progress */
|
|
6891
|
-
.muka-range-slider__input::-moz-range-track {
|
|
6892
|
-
height: var(--muka-range-track-h);
|
|
6893
|
-
border-radius: var(--border-radius-full);
|
|
6894
|
-
background: var(--color-surface-sunken);
|
|
6895
|
-
border: 1px solid var(--color-border-contrast);
|
|
6896
|
-
box-shadow: var(--shadow-sunken);
|
|
6897
|
-
}
|
|
6898
|
-
.muka-range-slider__input::-moz-range-progress {
|
|
6899
|
-
height: var(--muka-range-track-h);
|
|
6900
|
-
border-radius: var(--border-radius-full);
|
|
6901
|
-
background: var(--color-action-default);
|
|
6902
|
-
}
|
|
6903
|
-
|
|
6904
|
-
/* WebKit / Blink thumb (vertically centred over the track) */
|
|
6905
|
-
.muka-range-slider__input::-webkit-slider-thumb {
|
|
6906
|
-
-webkit-appearance: none;
|
|
6907
|
-
appearance: none;
|
|
6908
|
-
width: var(--muka-range-thumb);
|
|
6909
|
-
height: var(--muka-range-thumb);
|
|
6910
|
-
margin-top: calc((var(--muka-range-track-h) - var(--muka-range-thumb)) / 2);
|
|
6911
|
-
border-radius: var(--border-radius-full);
|
|
6912
|
-
border: 1px solid var(--color-border-contrast);
|
|
6913
|
-
box-shadow: var(--shadow-level2);
|
|
6914
|
-
background-color: var(--color-surface-level1);
|
|
6915
|
-
background-image:
|
|
6916
|
-
linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color)),
|
|
6917
|
-
linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color));
|
|
6918
|
-
background-repeat: no-repeat;
|
|
6919
|
-
background-size: var(--muka-range-grip-w) var(--muka-range-grip-h), var(--muka-range-grip-w) var(--muka-range-grip-h);
|
|
6920
|
-
background-position:
|
|
6921
|
-
calc(50% - var(--muka-range-grip-gap)) center,
|
|
6922
|
-
calc(50% + var(--muka-range-grip-gap)) center;
|
|
6923
|
-
transition: box-shadow 0.15s ease, background-color 0.15s ease;
|
|
6924
|
-
}
|
|
6925
|
-
|
|
6926
|
-
/* Firefox thumb */
|
|
6927
|
-
.muka-range-slider__input::-moz-range-thumb {
|
|
6928
|
-
width: var(--muka-range-thumb);
|
|
6929
|
-
height: var(--muka-range-thumb);
|
|
6930
|
-
border-radius: var(--border-radius-full);
|
|
6931
|
-
border: 1px solid var(--color-border-contrast);
|
|
6932
|
-
box-shadow: var(--shadow-level2);
|
|
6933
|
-
background-color: var(--color-surface-level1);
|
|
6934
|
-
background-image:
|
|
6935
|
-
linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color)),
|
|
6936
|
-
linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color));
|
|
6937
|
-
background-repeat: no-repeat;
|
|
6938
|
-
background-size: var(--muka-range-grip-w) var(--muka-range-grip-h), var(--muka-range-grip-w) var(--muka-range-grip-h);
|
|
6939
|
-
background-position:
|
|
6940
|
-
calc(50% - var(--muka-range-grip-gap)) center,
|
|
6941
|
-
calc(50% + var(--muka-range-grip-gap)) center;
|
|
6942
|
-
transition: box-shadow 0.15s ease, background-color 0.15s ease;
|
|
6943
|
-
}
|
|
6944
|
-
|
|
6945
|
-
/* Hover */
|
|
6946
|
-
.muka-range-slider__input:hover::-webkit-slider-thumb {
|
|
6947
|
-
background-color: var(--color-surface-level1);
|
|
6948
|
-
box-shadow: var(--shadow-level3);
|
|
6949
|
-
}
|
|
6950
|
-
.muka-range-slider__input:hover::-moz-range-thumb {
|
|
6951
|
-
background-color: var(--color-surface-level1);
|
|
6952
|
-
box-shadow: var(--shadow-level3);
|
|
6953
|
-
}
|
|
6954
|
-
|
|
6955
|
-
/* Focus ring */
|
|
6956
|
-
.muka-range-slider__input:focus-visible::-webkit-slider-thumb {
|
|
6957
|
-
box-shadow: var(--shadow-level2), 0 0 0 3px var(--color-border-focus);
|
|
6958
|
-
}
|
|
6959
|
-
.muka-range-slider__input:focus-visible::-moz-range-thumb {
|
|
6960
|
-
box-shadow: var(--shadow-level2), 0 0 0 3px var(--color-border-focus);
|
|
6961
|
-
}
|
|
6962
|
-
|
|
6963
|
-
/* Disabled */
|
|
6964
|
-
.muka-range-slider--disabled {
|
|
6965
|
-
opacity: 0.5;
|
|
6966
|
-
}
|
|
6967
|
-
.muka-range-slider--disabled .muka-range-slider__input {
|
|
6968
|
-
cursor: not-allowed;
|
|
6969
|
-
}
|
|
6970
|
-
|
|
6971
|
-
|
|
6972
|
-
/* Radio */
|
|
6973
|
-
/* Radio Component Styles - Using Muka Design Tokens */
|
|
6974
|
-
|
|
6975
|
-
/* Wrapper - clickable label container */
|
|
6976
|
-
.muka-radio {
|
|
6977
|
-
display: inline-flex;
|
|
6978
|
-
align-items: center;
|
|
6979
|
-
gap: var(--spacing-4);
|
|
6980
|
-
cursor: pointer;
|
|
6981
|
-
user-select: none;
|
|
6982
|
-
}
|
|
6983
|
-
|
|
6984
|
-
.muka-radio--disabled {
|
|
6985
|
-
cursor: not-allowed;
|
|
6986
|
-
opacity: 0.6;
|
|
6987
|
-
}
|
|
6988
|
-
|
|
6989
|
-
/* Control container */
|
|
6990
|
-
.muka-radio__control {
|
|
6991
|
-
position: relative;
|
|
6992
|
-
display: inline-flex;
|
|
6993
|
-
align-items: center;
|
|
6994
|
-
justify-content: center;
|
|
6995
|
-
flex-shrink: 0;
|
|
6996
|
-
}
|
|
6997
|
-
|
|
6998
|
-
/* Hidden native input */
|
|
6999
|
-
.muka-radio__input {
|
|
7000
|
-
position: absolute;
|
|
7001
|
-
width: 1px;
|
|
7002
|
-
height: 1px;
|
|
7003
|
-
padding: 0;
|
|
7004
|
-
margin: -1px;
|
|
7005
|
-
overflow: hidden;
|
|
7006
|
-
clip: rect(0, 0, 0, 0);
|
|
7007
|
-
white-space: nowrap;
|
|
7008
|
-
border: 0;
|
|
7009
|
-
}
|
|
7010
|
-
|
|
7011
|
-
/* Visual indicator (circle) */
|
|
7012
|
-
.muka-radio__indicator {
|
|
7013
|
-
display: flex;
|
|
7014
|
-
align-items: center;
|
|
7015
|
-
justify-content: center;
|
|
7016
|
-
width: var(--radio-size-default);
|
|
7017
|
-
height: var(--radio-size-default);
|
|
7018
|
-
border-radius: var(--border-radius-full);
|
|
7019
|
-
background-color: var(--radio-color-default-background);
|
|
7020
|
-
border: var(--border-width-regular) solid var(--radio-color-default-border);
|
|
7021
|
-
transition: all 0.15s ease;
|
|
7022
|
-
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
7023
|
-
}
|
|
7024
|
-
|
|
7025
|
-
/* Size variants */
|
|
7026
|
-
.muka-radio--sm .muka-radio__indicator {
|
|
7027
|
-
width: var(--radio-size-sm);
|
|
7028
|
-
height: var(--radio-size-sm);
|
|
7029
|
-
}
|
|
7030
|
-
|
|
7031
|
-
.muka-radio--lg .muka-radio__indicator {
|
|
7032
|
-
width: var(--radio-size-lg);
|
|
7033
|
-
height: var(--radio-size-lg);
|
|
7034
|
-
}
|
|
7035
|
-
|
|
7036
|
-
/* Inner dot (shown when checked) */
|
|
7037
|
-
.muka-radio__dot {
|
|
7038
|
-
width: var(--radio-dot-size-default);
|
|
7039
|
-
height: var(--radio-dot-size-default);
|
|
7040
|
-
border-radius: var(--border-radius-full);
|
|
7041
|
-
background-color: var(--radio-color-default-dot);
|
|
7042
|
-
transform: scale(0);
|
|
7043
|
-
transition: transform 0.15s ease;
|
|
7044
|
-
}
|
|
7045
|
-
|
|
7046
|
-
.muka-radio--sm .muka-radio__dot {
|
|
7047
|
-
width: var(--radio-dot-size-sm);
|
|
7048
|
-
height: var(--radio-dot-size-sm);
|
|
7049
|
-
}
|
|
7050
|
-
|
|
7051
|
-
.muka-radio--lg .muka-radio__dot {
|
|
7052
|
-
width: var(--radio-dot-size-lg);
|
|
7053
|
-
height: var(--radio-dot-size-lg);
|
|
7054
|
-
}
|
|
7055
|
-
|
|
7056
|
-
/* Hover state - removed per design */
|
|
7057
|
-
|
|
7058
|
-
/* Focus state */
|
|
7059
|
-
.muka-radio__input:focus-visible + .muka-radio__indicator {
|
|
7060
|
-
outline: 2px solid var(--color-border-focus);
|
|
7061
|
-
outline-offset: 2px;
|
|
6958
|
+
.muka-range-slider__input:focus {
|
|
6959
|
+
outline: none;
|
|
7062
6960
|
}
|
|
7063
6961
|
|
|
7064
|
-
/*
|
|
7065
|
-
.muka-
|
|
7066
|
-
|
|
7067
|
-
border-
|
|
7068
|
-
|
|
7069
|
-
|
|
6962
|
+
/* WebKit / Blink track */
|
|
6963
|
+
.muka-range-slider__input::-webkit-slider-runnable-track {
|
|
6964
|
+
height: var(--muka-range-track-h);
|
|
6965
|
+
border-radius: var(--border-radius-full);
|
|
6966
|
+
background-image: var(--muka-range-track-fill);
|
|
6967
|
+
border: 1px solid var(--color-border-contrast);
|
|
6968
|
+
box-shadow: var(--shadow-sunken);
|
|
7070
6969
|
}
|
|
7071
6970
|
|
|
7072
|
-
|
|
7073
|
-
|
|
7074
|
-
|
|
6971
|
+
/* Firefox track + progress */
|
|
6972
|
+
.muka-range-slider__input::-moz-range-track {
|
|
6973
|
+
height: var(--muka-range-track-h);
|
|
6974
|
+
border-radius: var(--border-radius-full);
|
|
6975
|
+
background: var(--color-surface-sunken);
|
|
6976
|
+
border: 1px solid var(--color-border-contrast);
|
|
6977
|
+
box-shadow: var(--shadow-sunken);
|
|
7075
6978
|
}
|
|
7076
|
-
|
|
7077
|
-
|
|
7078
|
-
|
|
7079
|
-
background
|
|
7080
|
-
border-color: var(--radio-color-disabled-border);
|
|
7081
|
-
box-shadow: none;
|
|
6979
|
+
.muka-range-slider__input::-moz-range-progress {
|
|
6980
|
+
height: var(--muka-range-track-h);
|
|
6981
|
+
border-radius: var(--border-radius-full);
|
|
6982
|
+
background: var(--color-action-default);
|
|
7082
6983
|
}
|
|
7083
6984
|
|
|
7084
|
-
|
|
7085
|
-
|
|
6985
|
+
/* WebKit / Blink thumb (vertically centred over the track) */
|
|
6986
|
+
.muka-range-slider__input::-webkit-slider-thumb {
|
|
6987
|
+
-webkit-appearance: none;
|
|
6988
|
+
appearance: none;
|
|
6989
|
+
width: var(--muka-range-thumb);
|
|
6990
|
+
height: var(--muka-range-thumb);
|
|
6991
|
+
margin-top: calc((var(--muka-range-track-h) - var(--muka-range-thumb)) / 2);
|
|
6992
|
+
border-radius: var(--border-radius-full);
|
|
6993
|
+
border: 1px solid var(--color-border-contrast);
|
|
6994
|
+
box-shadow: var(--shadow-level2);
|
|
6995
|
+
background-color: var(--color-surface-level1);
|
|
6996
|
+
background-image:
|
|
6997
|
+
linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color)),
|
|
6998
|
+
linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color));
|
|
6999
|
+
background-repeat: no-repeat;
|
|
7000
|
+
background-size: var(--muka-range-grip-w) var(--muka-range-grip-h), var(--muka-range-grip-w) var(--muka-range-grip-h);
|
|
7001
|
+
background-position:
|
|
7002
|
+
calc(50% - var(--muka-range-grip-gap)) center,
|
|
7003
|
+
calc(50% + var(--muka-range-grip-gap)) center;
|
|
7004
|
+
transition: box-shadow 0.15s ease, background-color 0.15s ease;
|
|
7086
7005
|
}
|
|
7087
7006
|
|
|
7088
|
-
/*
|
|
7089
|
-
.muka-
|
|
7090
|
-
|
|
7091
|
-
|
|
7092
|
-
|
|
7093
|
-
|
|
7094
|
-
|
|
7007
|
+
/* Firefox thumb */
|
|
7008
|
+
.muka-range-slider__input::-moz-range-thumb {
|
|
7009
|
+
width: var(--muka-range-thumb);
|
|
7010
|
+
height: var(--muka-range-thumb);
|
|
7011
|
+
border-radius: var(--border-radius-full);
|
|
7012
|
+
border: 1px solid var(--color-border-contrast);
|
|
7013
|
+
box-shadow: var(--shadow-level2);
|
|
7014
|
+
background-color: var(--color-surface-level1);
|
|
7015
|
+
background-image:
|
|
7016
|
+
linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color)),
|
|
7017
|
+
linear-gradient(var(--muka-range-grip-color), var(--muka-range-grip-color));
|
|
7018
|
+
background-repeat: no-repeat;
|
|
7019
|
+
background-size: var(--muka-range-grip-w) var(--muka-range-grip-h), var(--muka-range-grip-w) var(--muka-range-grip-h);
|
|
7020
|
+
background-position:
|
|
7021
|
+
calc(50% - var(--muka-range-grip-gap)) center,
|
|
7022
|
+
calc(50% + var(--muka-range-grip-gap)) center;
|
|
7023
|
+
transition: box-shadow 0.15s ease, background-color 0.15s ease;
|
|
7095
7024
|
}
|
|
7096
7025
|
|
|
7097
|
-
|
|
7098
|
-
|
|
7099
|
-
|
|
7100
|
-
|
|
7101
|
-
|
|
7026
|
+
/* Hover */
|
|
7027
|
+
.muka-range-slider__input:hover::-webkit-slider-thumb {
|
|
7028
|
+
background-color: var(--color-surface-level1);
|
|
7029
|
+
box-shadow: var(--shadow-level3);
|
|
7030
|
+
}
|
|
7031
|
+
.muka-range-slider__input:hover::-moz-range-thumb {
|
|
7032
|
+
background-color: var(--color-surface-level1);
|
|
7033
|
+
box-shadow: var(--shadow-level3);
|
|
7102
7034
|
}
|
|
7103
7035
|
|
|
7104
|
-
|
|
7105
|
-
|
|
7106
|
-
|
|
7107
|
-
|
|
7108
|
-
|
|
7036
|
+
/* Focus ring */
|
|
7037
|
+
.muka-range-slider__input:focus-visible::-webkit-slider-thumb {
|
|
7038
|
+
box-shadow: var(--shadow-level2), 0 0 0 3px var(--color-border-focus);
|
|
7039
|
+
}
|
|
7040
|
+
.muka-range-slider__input:focus-visible::-moz-range-thumb {
|
|
7041
|
+
box-shadow: var(--shadow-level2), 0 0 0 3px var(--color-border-focus);
|
|
7109
7042
|
}
|
|
7110
7043
|
|
|
7111
|
-
|
|
7112
|
-
|
|
7044
|
+
/* Disabled */
|
|
7045
|
+
.muka-range-slider--disabled {
|
|
7046
|
+
opacity: 0.5;
|
|
7047
|
+
}
|
|
7048
|
+
.muka-range-slider--disabled .muka-range-slider__input {
|
|
7049
|
+
cursor: not-allowed;
|
|
7113
7050
|
}
|
|
7114
7051
|
|
|
7115
7052
|
|
|
@@ -7854,16 +7791,160 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
7854
7791
|
line-height: var(--text-body-base-regular-lineHeight);
|
|
7855
7792
|
}
|
|
7856
7793
|
|
|
7857
|
-
.muka-progress-tracker__tab--selected .muka-progress-tracker__label {
|
|
7858
|
-
font-family: var(--text-body-base-bold-fontFamily);
|
|
7859
|
-
font-weight: var(--text-body-base-bold-fontWeight);
|
|
7794
|
+
.muka-progress-tracker__tab--selected .muka-progress-tracker__label {
|
|
7795
|
+
font-family: var(--text-body-base-bold-fontFamily);
|
|
7796
|
+
font-weight: var(--text-body-base-bold-fontWeight);
|
|
7797
|
+
}
|
|
7798
|
+
|
|
7799
|
+
.muka-progress-tracker--tabs .muka-progress-tracker__indicator--upcoming .muka-progress-tracker__number {
|
|
7800
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
7801
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
7802
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
7803
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
7804
|
+
}
|
|
7805
|
+
|
|
7806
|
+
|
|
7807
|
+
/* Radio */
|
|
7808
|
+
/* Radio Component Styles - Using Muka Design Tokens */
|
|
7809
|
+
|
|
7810
|
+
/* Wrapper - clickable label container */
|
|
7811
|
+
.muka-radio {
|
|
7812
|
+
display: inline-flex;
|
|
7813
|
+
align-items: center;
|
|
7814
|
+
gap: var(--spacing-4);
|
|
7815
|
+
cursor: pointer;
|
|
7816
|
+
user-select: none;
|
|
7817
|
+
}
|
|
7818
|
+
|
|
7819
|
+
.muka-radio--disabled {
|
|
7820
|
+
cursor: not-allowed;
|
|
7821
|
+
opacity: 0.6;
|
|
7822
|
+
}
|
|
7823
|
+
|
|
7824
|
+
/* Control container */
|
|
7825
|
+
.muka-radio__control {
|
|
7826
|
+
position: relative;
|
|
7827
|
+
display: inline-flex;
|
|
7828
|
+
align-items: center;
|
|
7829
|
+
justify-content: center;
|
|
7830
|
+
flex-shrink: 0;
|
|
7831
|
+
}
|
|
7832
|
+
|
|
7833
|
+
/* Hidden native input */
|
|
7834
|
+
.muka-radio__input {
|
|
7835
|
+
position: absolute;
|
|
7836
|
+
width: 1px;
|
|
7837
|
+
height: 1px;
|
|
7838
|
+
padding: 0;
|
|
7839
|
+
margin: -1px;
|
|
7840
|
+
overflow: hidden;
|
|
7841
|
+
clip: rect(0, 0, 0, 0);
|
|
7842
|
+
white-space: nowrap;
|
|
7843
|
+
border: 0;
|
|
7844
|
+
}
|
|
7845
|
+
|
|
7846
|
+
/* Visual indicator (circle) */
|
|
7847
|
+
.muka-radio__indicator {
|
|
7848
|
+
display: flex;
|
|
7849
|
+
align-items: center;
|
|
7850
|
+
justify-content: center;
|
|
7851
|
+
width: var(--radio-size-default);
|
|
7852
|
+
height: var(--radio-size-default);
|
|
7853
|
+
border-radius: var(--border-radius-full);
|
|
7854
|
+
background-color: var(--radio-color-default-background);
|
|
7855
|
+
border: var(--border-width-regular) solid var(--radio-color-default-border);
|
|
7856
|
+
transition: all 0.15s ease;
|
|
7857
|
+
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.15);
|
|
7858
|
+
}
|
|
7859
|
+
|
|
7860
|
+
/* Size variants */
|
|
7861
|
+
.muka-radio--sm .muka-radio__indicator {
|
|
7862
|
+
width: var(--radio-size-sm);
|
|
7863
|
+
height: var(--radio-size-sm);
|
|
7864
|
+
}
|
|
7865
|
+
|
|
7866
|
+
.muka-radio--lg .muka-radio__indicator {
|
|
7867
|
+
width: var(--radio-size-lg);
|
|
7868
|
+
height: var(--radio-size-lg);
|
|
7869
|
+
}
|
|
7870
|
+
|
|
7871
|
+
/* Inner dot (shown when checked) */
|
|
7872
|
+
.muka-radio__dot {
|
|
7873
|
+
width: var(--radio-dot-size-default);
|
|
7874
|
+
height: var(--radio-dot-size-default);
|
|
7875
|
+
border-radius: var(--border-radius-full);
|
|
7876
|
+
background-color: var(--radio-color-default-dot);
|
|
7877
|
+
transform: scale(0);
|
|
7878
|
+
transition: transform 0.15s ease;
|
|
7879
|
+
}
|
|
7880
|
+
|
|
7881
|
+
.muka-radio--sm .muka-radio__dot {
|
|
7882
|
+
width: var(--radio-dot-size-sm);
|
|
7883
|
+
height: var(--radio-dot-size-sm);
|
|
7884
|
+
}
|
|
7885
|
+
|
|
7886
|
+
.muka-radio--lg .muka-radio__dot {
|
|
7887
|
+
width: var(--radio-dot-size-lg);
|
|
7888
|
+
height: var(--radio-dot-size-lg);
|
|
7889
|
+
}
|
|
7890
|
+
|
|
7891
|
+
/* Hover state - removed per design */
|
|
7892
|
+
|
|
7893
|
+
/* Focus state */
|
|
7894
|
+
.muka-radio__input:focus-visible + .muka-radio__indicator {
|
|
7895
|
+
outline: 2px solid var(--color-border-focus);
|
|
7896
|
+
outline-offset: 2px;
|
|
7897
|
+
}
|
|
7898
|
+
|
|
7899
|
+
/* Checked state */
|
|
7900
|
+
.muka-radio__input:checked + .muka-radio__indicator {
|
|
7901
|
+
background-color: var(--radio-color-checked-background);
|
|
7902
|
+
border-width: var(--border-width-bold);
|
|
7903
|
+
border-color: var(--radio-color-checked-border);
|
|
7904
|
+
box-shadow: none;
|
|
7905
|
+
}
|
|
7906
|
+
|
|
7907
|
+
.muka-radio__input:checked + .muka-radio__indicator .muka-radio__dot {
|
|
7908
|
+
background-color: var(--radio-color-checked-dot);
|
|
7909
|
+
transform: scale(1);
|
|
7910
|
+
}
|
|
7911
|
+
|
|
7912
|
+
/* Disabled state */
|
|
7913
|
+
.muka-radio--disabled .muka-radio__indicator {
|
|
7914
|
+
background-color: var(--radio-color-disabled-background);
|
|
7915
|
+
border-color: var(--radio-color-disabled-border);
|
|
7916
|
+
box-shadow: none;
|
|
7917
|
+
}
|
|
7918
|
+
|
|
7919
|
+
.muka-radio__input:disabled:checked + .muka-radio__indicator .muka-radio__dot {
|
|
7920
|
+
background-color: var(--radio-color-disabled-dot);
|
|
7921
|
+
}
|
|
7922
|
+
|
|
7923
|
+
/* Label text */
|
|
7924
|
+
.muka-radio__label {
|
|
7925
|
+
font-family: var(--text-label-lg-regular-fontFamily);
|
|
7926
|
+
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
7927
|
+
font-size: var(--text-label-lg-regular-fontSize);
|
|
7928
|
+
line-height: var(--text-label-lg-regular-lineHeight);
|
|
7929
|
+
color: var(--color-text-default-default);
|
|
7930
|
+
}
|
|
7931
|
+
|
|
7932
|
+
.muka-radio--sm .muka-radio__label {
|
|
7933
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
7934
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
7935
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
7936
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
7860
7937
|
}
|
|
7861
7938
|
|
|
7862
|
-
.muka-
|
|
7863
|
-
font-family: var(--text-label-
|
|
7864
|
-
font-weight: var(--text-label-
|
|
7865
|
-
font-size: var(--text-label-
|
|
7866
|
-
line-height: var(--text-label-
|
|
7939
|
+
.muka-radio--lg .muka-radio__label {
|
|
7940
|
+
font-family: var(--text-label-xl-regular-fontFamily);
|
|
7941
|
+
font-weight: var(--text-label-xl-regular-fontWeight);
|
|
7942
|
+
font-size: var(--text-label-xl-regular-fontSize);
|
|
7943
|
+
line-height: var(--text-label-xl-regular-lineHeight);
|
|
7944
|
+
}
|
|
7945
|
+
|
|
7946
|
+
.muka-radio--disabled .muka-radio__label {
|
|
7947
|
+
color: var(--color-text-subtle-default);
|
|
7867
7948
|
}
|
|
7868
7949
|
|
|
7869
7950
|
|
|
@@ -8411,37 +8492,6 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
8411
8492
|
}
|
|
8412
8493
|
|
|
8413
8494
|
|
|
8414
|
-
/* Popover */
|
|
8415
|
-
/* Popover Component Styles */
|
|
8416
|
-
|
|
8417
|
-
.muka-popover__content {
|
|
8418
|
-
background-color: var(--color-surface-level3);
|
|
8419
|
-
border: var(--border-width-regular) solid var(--color-border-default);
|
|
8420
|
-
border-radius: var(--radius-md);
|
|
8421
|
-
padding: var(--spacing-4);
|
|
8422
|
-
box-shadow: var(--shadow-level3);
|
|
8423
|
-
max-width: 20rem;
|
|
8424
|
-
z-index: 50;
|
|
8425
|
-
animation: muka-popover-fade-in 150ms ease;
|
|
8426
|
-
}
|
|
8427
|
-
|
|
8428
|
-
@keyframes muka-popover-fade-in {
|
|
8429
|
-
from {
|
|
8430
|
-
opacity: 0;
|
|
8431
|
-
transform: scale(0.96);
|
|
8432
|
-
}
|
|
8433
|
-
to {
|
|
8434
|
-
opacity: 1;
|
|
8435
|
-
transform: scale(1);
|
|
8436
|
-
}
|
|
8437
|
-
}
|
|
8438
|
-
|
|
8439
|
-
/* Arrow */
|
|
8440
|
-
.muka-popover__arrow {
|
|
8441
|
-
fill: var(--color-surface-level3);
|
|
8442
|
-
}
|
|
8443
|
-
|
|
8444
|
-
|
|
8445
8495
|
/* PriceTag */
|
|
8446
8496
|
/* PriceTag Component Styles - Using Muka Design Tokens */
|
|
8447
8497
|
|
|
@@ -8539,6 +8589,37 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
8539
8589
|
}
|
|
8540
8590
|
|
|
8541
8591
|
|
|
8592
|
+
/* Popover */
|
|
8593
|
+
/* Popover Component Styles */
|
|
8594
|
+
|
|
8595
|
+
.muka-popover__content {
|
|
8596
|
+
background-color: var(--color-surface-level3);
|
|
8597
|
+
border: var(--border-width-regular) solid var(--color-border-default);
|
|
8598
|
+
border-radius: var(--radius-md);
|
|
8599
|
+
padding: var(--spacing-4);
|
|
8600
|
+
box-shadow: var(--shadow-level3);
|
|
8601
|
+
max-width: 20rem;
|
|
8602
|
+
z-index: 50;
|
|
8603
|
+
animation: muka-popover-fade-in 150ms ease;
|
|
8604
|
+
}
|
|
8605
|
+
|
|
8606
|
+
@keyframes muka-popover-fade-in {
|
|
8607
|
+
from {
|
|
8608
|
+
opacity: 0;
|
|
8609
|
+
transform: scale(0.96);
|
|
8610
|
+
}
|
|
8611
|
+
to {
|
|
8612
|
+
opacity: 1;
|
|
8613
|
+
transform: scale(1);
|
|
8614
|
+
}
|
|
8615
|
+
}
|
|
8616
|
+
|
|
8617
|
+
/* Arrow */
|
|
8618
|
+
.muka-popover__arrow {
|
|
8619
|
+
fill: var(--color-surface-level3);
|
|
8620
|
+
}
|
|
8621
|
+
|
|
8622
|
+
|
|
8542
8623
|
/* PlanningGantt */
|
|
8543
8624
|
/* PlanningGantt (MUK-105) — one week per page, never scrolls horizontally. */
|
|
8544
8625
|
|
|
@@ -14039,108 +14120,266 @@ button.muka-chip__trailing[aria-expanded='true'],
|
|
|
14039
14120
|
cursor: pointer;
|
|
14040
14121
|
}
|
|
14041
14122
|
|
|
14042
|
-
.muka-chip--expandable:focus-visible {
|
|
14043
|
-
outline: 2px solid var(--color-border-focus);
|
|
14044
|
-
outline-offset: 2px;
|
|
14123
|
+
.muka-chip--expandable:focus-visible {
|
|
14124
|
+
outline: 2px solid var(--color-border-focus);
|
|
14125
|
+
outline-offset: 2px;
|
|
14126
|
+
}
|
|
14127
|
+
|
|
14128
|
+
.muka-chip--expandable:disabled {
|
|
14129
|
+
cursor: not-allowed;
|
|
14130
|
+
}
|
|
14131
|
+
|
|
14132
|
+
.muka-chip--expandable .muka-chip__trailing {
|
|
14133
|
+
pointer-events: none;
|
|
14134
|
+
}
|
|
14135
|
+
|
|
14136
|
+
/* Variants: body fill, foreground, and the trailing button's colour steps */
|
|
14137
|
+
.muka-chip--default {
|
|
14138
|
+
background-color: var(--chip-neutral-background-default);
|
|
14139
|
+
color: var(--color-text-default-default);
|
|
14140
|
+
--_chip-tr-bg: var(--chip-trailing-default-background-default);
|
|
14141
|
+
--_chip-tr-bg-hover: var(--chip-trailing-default-background-hover);
|
|
14142
|
+
--_chip-tr-bg-pressed: var(--chip-trailing-default-background-pressed);
|
|
14143
|
+
--_chip-tr-fg: var(--chip-trailing-default-foreground-default);
|
|
14144
|
+
--_chip-tr-fg-hover: var(--chip-trailing-default-foreground-hover);
|
|
14145
|
+
--_chip-tr-fg-pressed: var(--chip-trailing-default-foreground-pressed);
|
|
14146
|
+
}
|
|
14147
|
+
|
|
14148
|
+
.muka-chip--success {
|
|
14149
|
+
background-color: var(--color-state-success-background);
|
|
14150
|
+
color: var(--color-state-success-contrast);
|
|
14151
|
+
--_chip-tr-bg: var(--chip-trailing-success-background-default);
|
|
14152
|
+
--_chip-tr-bg-hover: var(--chip-trailing-success-background-hover);
|
|
14153
|
+
--_chip-tr-bg-pressed: var(--chip-trailing-success-background-pressed);
|
|
14154
|
+
--_chip-tr-fg: var(--chip-trailing-success-foreground-default);
|
|
14155
|
+
--_chip-tr-fg-hover: var(--chip-trailing-success-foreground-hover);
|
|
14156
|
+
--_chip-tr-fg-pressed: var(--chip-trailing-success-foreground-pressed);
|
|
14157
|
+
}
|
|
14158
|
+
|
|
14159
|
+
.muka-chip--warning {
|
|
14160
|
+
background-color: var(--color-state-warning-background);
|
|
14161
|
+
color: var(--color-state-warning-contrast);
|
|
14162
|
+
--_chip-tr-bg: var(--chip-trailing-warning-background-default);
|
|
14163
|
+
--_chip-tr-bg-hover: var(--chip-trailing-warning-background-hover);
|
|
14164
|
+
--_chip-tr-bg-pressed: var(--chip-trailing-warning-background-pressed);
|
|
14165
|
+
--_chip-tr-fg: var(--chip-trailing-warning-foreground-default);
|
|
14166
|
+
--_chip-tr-fg-hover: var(--chip-trailing-warning-foreground-hover);
|
|
14167
|
+
--_chip-tr-fg-pressed: var(--chip-trailing-warning-foreground-pressed);
|
|
14168
|
+
}
|
|
14169
|
+
|
|
14170
|
+
.muka-chip--error {
|
|
14171
|
+
background-color: var(--color-state-error-background);
|
|
14172
|
+
color: var(--color-state-error-contrast);
|
|
14173
|
+
--_chip-tr-bg: var(--chip-trailing-error-background-default);
|
|
14174
|
+
--_chip-tr-bg-hover: var(--chip-trailing-error-background-hover);
|
|
14175
|
+
--_chip-tr-bg-pressed: var(--chip-trailing-error-background-pressed);
|
|
14176
|
+
--_chip-tr-fg: var(--chip-trailing-error-foreground-default);
|
|
14177
|
+
--_chip-tr-fg-hover: var(--chip-trailing-error-foreground-hover);
|
|
14178
|
+
--_chip-tr-fg-pressed: var(--chip-trailing-error-foreground-pressed);
|
|
14179
|
+
}
|
|
14180
|
+
|
|
14181
|
+
.muka-chip--info {
|
|
14182
|
+
background-color: var(--color-state-info-background);
|
|
14183
|
+
color: var(--color-state-info-contrast);
|
|
14184
|
+
--_chip-tr-bg: var(--chip-trailing-info-background-default);
|
|
14185
|
+
--_chip-tr-bg-hover: var(--chip-trailing-info-background-hover);
|
|
14186
|
+
--_chip-tr-bg-pressed: var(--chip-trailing-info-background-pressed);
|
|
14187
|
+
--_chip-tr-fg: var(--chip-trailing-info-foreground-default);
|
|
14188
|
+
--_chip-tr-fg-hover: var(--chip-trailing-info-foreground-hover);
|
|
14189
|
+
--_chip-tr-fg-pressed: var(--chip-trailing-info-foreground-pressed);
|
|
14190
|
+
}
|
|
14191
|
+
|
|
14192
|
+
/* Ghost: no fill, subtle label; the trailing circle is outlined at rest (Figma Chip/Trailing Ghost) */
|
|
14193
|
+
.muka-chip--ghost {
|
|
14194
|
+
background-color: var(--chip-ghost-background-default);
|
|
14195
|
+
color: var(--chip-ghost-foreground-default);
|
|
14196
|
+
--_chip-tr-border: var(--chip-trailing-ghost-border-default);
|
|
14197
|
+
--_chip-tr-bg: var(--chip-trailing-ghost-background-default);
|
|
14198
|
+
--_chip-tr-bg-hover: var(--chip-trailing-ghost-background-hover);
|
|
14199
|
+
--_chip-tr-bg-pressed: var(--chip-trailing-ghost-background-pressed);
|
|
14200
|
+
--_chip-tr-fg: var(--chip-trailing-ghost-foreground-default);
|
|
14201
|
+
--_chip-tr-fg-hover: var(--chip-trailing-ghost-foreground-hover);
|
|
14202
|
+
--_chip-tr-fg-pressed: var(--chip-trailing-ghost-foreground-pressed);
|
|
14203
|
+
}
|
|
14204
|
+
|
|
14205
|
+
/*
|
|
14206
|
+
* Body hover (Figma Chip State=Hover) — only on chips whose body does
|
|
14207
|
+
* something: the whole-chip button, or a label link/button (hovering just the
|
|
14208
|
+
* label, not the trailing button, which has its own states). A static chip
|
|
14209
|
+
* doesn't hover.
|
|
14210
|
+
*/
|
|
14211
|
+
.muka-chip--default.muka-chip--expandable:is(:hover, :focus-visible, [aria-expanded='true']):not(:disabled),
|
|
14212
|
+
.muka-chip--default.muka-chip--has-label-action:has(> .muka-chip__label-action:is(:hover, :focus-visible)) {
|
|
14213
|
+
background-color: var(--chip-neutral-background-hover);
|
|
14214
|
+
}
|
|
14215
|
+
|
|
14216
|
+
.muka-chip--ghost.muka-chip--expandable:is(:hover, :focus-visible, [aria-expanded='true']):not(:disabled),
|
|
14217
|
+
.muka-chip--ghost.muka-chip--has-label-action:has(> .muka-chip__label-action:is(:hover, :focus-visible)) {
|
|
14218
|
+
background-color: var(--chip-ghost-background-hover);
|
|
14219
|
+
color: var(--chip-ghost-foreground-hover);
|
|
14220
|
+
}
|
|
14221
|
+
|
|
14222
|
+
/* Icons (leading + trailing) inherit their slot's foreground color */
|
|
14223
|
+
.muka-chip .muka-icon {
|
|
14224
|
+
color: inherit;
|
|
14225
|
+
}
|
|
14226
|
+
|
|
14227
|
+
|
|
14228
|
+
/* CheckboxTile */
|
|
14229
|
+
/* CheckboxTile Component Styles - Using Muka Design Tokens */
|
|
14230
|
+
|
|
14231
|
+
/* Base tile styles - horizontal */
|
|
14232
|
+
.muka-checkbox-tile {
|
|
14233
|
+
display: flex;
|
|
14234
|
+
align-items: center;
|
|
14235
|
+
gap: var(--spacing-4);
|
|
14236
|
+
padding: var(--spacing-4);
|
|
14237
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
14238
|
+
border-radius: var(--input-field-radius-lg);
|
|
14239
|
+
background-color: var(--color-surface-level3);
|
|
14240
|
+
cursor: pointer;
|
|
14241
|
+
transition: border-color 0.15s ease, border-width 0.15s ease;
|
|
14242
|
+
overflow: hidden;
|
|
14243
|
+
box-sizing: border-box;
|
|
14244
|
+
}
|
|
14245
|
+
|
|
14246
|
+
.muka-checkbox-tile--disabled {
|
|
14247
|
+
cursor: not-allowed;
|
|
14248
|
+
opacity: 0.6;
|
|
14249
|
+
}
|
|
14250
|
+
|
|
14251
|
+
/* Selected state */
|
|
14252
|
+
.muka-checkbox-tile[data-checked] {
|
|
14253
|
+
border-width: var(--border-width-bold);
|
|
14254
|
+
border-color: var(--color-action-default);
|
|
14255
|
+
}
|
|
14256
|
+
|
|
14257
|
+
/* Vertical layout */
|
|
14258
|
+
.muka-checkbox-tile--vertical {
|
|
14259
|
+
flex-direction: column;
|
|
14260
|
+
align-items: center;
|
|
14261
|
+
gap: var(--spacing-2);
|
|
14262
|
+
position: relative;
|
|
14263
|
+
width: 160px;
|
|
14264
|
+
}
|
|
14265
|
+
|
|
14266
|
+
/* Checkbox container */
|
|
14267
|
+
.muka-checkbox-tile__checkbox {
|
|
14268
|
+
flex-shrink: 0;
|
|
14269
|
+
}
|
|
14270
|
+
|
|
14271
|
+
/* Corner-positioned checkbox for vertical */
|
|
14272
|
+
.muka-checkbox-tile__checkbox--corner {
|
|
14273
|
+
position: absolute;
|
|
14274
|
+
top: var(--spacing-4);
|
|
14275
|
+
left: var(--spacing-4);
|
|
14276
|
+
}
|
|
14277
|
+
|
|
14278
|
+
/* Adjust corner position when selected (border is thicker) */
|
|
14279
|
+
.muka-checkbox-tile[data-checked] .muka-checkbox-tile__checkbox--corner {
|
|
14280
|
+
top: calc(var(--spacing-4) - 1px);
|
|
14281
|
+
left: calc(var(--spacing-4) - 1px);
|
|
14282
|
+
}
|
|
14283
|
+
|
|
14284
|
+
/* Icon */
|
|
14285
|
+
.muka-checkbox-tile__icon {
|
|
14286
|
+
display: flex;
|
|
14287
|
+
align-items: center;
|
|
14288
|
+
justify-content: center;
|
|
14289
|
+
flex-shrink: 0;
|
|
14290
|
+
width: var(--icon-size-default);
|
|
14291
|
+
height: var(--icon-size-default);
|
|
14292
|
+
color: var(--color-text-default-default);
|
|
14293
|
+
}
|
|
14294
|
+
|
|
14295
|
+
.muka-checkbox-tile__icon svg {
|
|
14296
|
+
width: 100%;
|
|
14297
|
+
height: 100%;
|
|
14045
14298
|
}
|
|
14046
14299
|
|
|
14047
|
-
|
|
14048
|
-
|
|
14300
|
+
/* Image */
|
|
14301
|
+
.muka-checkbox-tile__image {
|
|
14302
|
+
flex-shrink: 0;
|
|
14303
|
+
overflow: hidden;
|
|
14304
|
+
border-radius: var(--border-radius-sm);
|
|
14049
14305
|
}
|
|
14050
14306
|
|
|
14051
|
-
.muka-
|
|
14052
|
-
|
|
14307
|
+
.muka-checkbox-tile__image img {
|
|
14308
|
+
display: block;
|
|
14309
|
+
width: 100%;
|
|
14310
|
+
height: 100%;
|
|
14311
|
+
object-fit: cover;
|
|
14053
14312
|
}
|
|
14054
14313
|
|
|
14055
|
-
/*
|
|
14056
|
-
.muka-
|
|
14057
|
-
|
|
14058
|
-
|
|
14059
|
-
--_chip-tr-bg: var(--chip-trailing-default-background-default);
|
|
14060
|
-
--_chip-tr-bg-hover: var(--chip-trailing-default-background-hover);
|
|
14061
|
-
--_chip-tr-bg-pressed: var(--chip-trailing-default-background-pressed);
|
|
14062
|
-
--_chip-tr-fg: var(--chip-trailing-default-foreground-default);
|
|
14063
|
-
--_chip-tr-fg-hover: var(--chip-trailing-default-foreground-hover);
|
|
14064
|
-
--_chip-tr-fg-pressed: var(--chip-trailing-default-foreground-pressed);
|
|
14314
|
+
/* Horizontal image sizing */
|
|
14315
|
+
.muka-checkbox-tile__image--horizontal {
|
|
14316
|
+
width: 40px;
|
|
14317
|
+
height: 40px;
|
|
14065
14318
|
}
|
|
14066
14319
|
|
|
14067
|
-
|
|
14068
|
-
|
|
14069
|
-
|
|
14070
|
-
|
|
14071
|
-
--_chip-tr-bg-hover: var(--chip-trailing-success-background-hover);
|
|
14072
|
-
--_chip-tr-bg-pressed: var(--chip-trailing-success-background-pressed);
|
|
14073
|
-
--_chip-tr-fg: var(--chip-trailing-success-foreground-default);
|
|
14074
|
-
--_chip-tr-fg-hover: var(--chip-trailing-success-foreground-hover);
|
|
14075
|
-
--_chip-tr-fg-pressed: var(--chip-trailing-success-foreground-pressed);
|
|
14320
|
+
/* Vertical image sizing */
|
|
14321
|
+
.muka-checkbox-tile--vertical .muka-checkbox-tile__image {
|
|
14322
|
+
width: 100%;
|
|
14323
|
+
aspect-ratio: 4/3;
|
|
14076
14324
|
}
|
|
14077
14325
|
|
|
14078
|
-
|
|
14079
|
-
|
|
14080
|
-
|
|
14081
|
-
|
|
14082
|
-
|
|
14083
|
-
|
|
14084
|
-
|
|
14085
|
-
--_chip-tr-fg-hover: var(--chip-trailing-warning-foreground-hover);
|
|
14086
|
-
--_chip-tr-fg-pressed: var(--chip-trailing-warning-foreground-pressed);
|
|
14326
|
+
/* Content container */
|
|
14327
|
+
.muka-checkbox-tile__content {
|
|
14328
|
+
display: flex;
|
|
14329
|
+
flex-direction: column;
|
|
14330
|
+
flex: 1;
|
|
14331
|
+
min-width: 0;
|
|
14332
|
+
gap: var(--spacing-2);
|
|
14087
14333
|
}
|
|
14088
14334
|
|
|
14089
|
-
.muka-
|
|
14090
|
-
|
|
14091
|
-
|
|
14092
|
-
|
|
14093
|
-
--_chip-tr-bg-hover: var(--chip-trailing-error-background-hover);
|
|
14094
|
-
--_chip-tr-bg-pressed: var(--chip-trailing-error-background-pressed);
|
|
14095
|
-
--_chip-tr-fg: var(--chip-trailing-error-foreground-default);
|
|
14096
|
-
--_chip-tr-fg-hover: var(--chip-trailing-error-foreground-hover);
|
|
14097
|
-
--_chip-tr-fg-pressed: var(--chip-trailing-error-foreground-pressed);
|
|
14335
|
+
.muka-checkbox-tile__content-inner {
|
|
14336
|
+
display: flex;
|
|
14337
|
+
flex-direction: column;
|
|
14338
|
+
gap: var(--spacing-1);
|
|
14098
14339
|
}
|
|
14099
14340
|
|
|
14100
|
-
|
|
14101
|
-
|
|
14102
|
-
|
|
14103
|
-
--_chip-tr-bg: var(--chip-trailing-info-background-default);
|
|
14104
|
-
--_chip-tr-bg-hover: var(--chip-trailing-info-background-hover);
|
|
14105
|
-
--_chip-tr-bg-pressed: var(--chip-trailing-info-background-pressed);
|
|
14106
|
-
--_chip-tr-fg: var(--chip-trailing-info-foreground-default);
|
|
14107
|
-
--_chip-tr-fg-hover: var(--chip-trailing-info-foreground-hover);
|
|
14108
|
-
--_chip-tr-fg-pressed: var(--chip-trailing-info-foreground-pressed);
|
|
14341
|
+
/* Chip slot (replaces badge; use Chip component) */
|
|
14342
|
+
.muka-checkbox-tile__chip {
|
|
14343
|
+
flex-shrink: 0;
|
|
14109
14344
|
}
|
|
14110
14345
|
|
|
14111
|
-
|
|
14112
|
-
|
|
14113
|
-
background-color: var(--chip-ghost-background-default);
|
|
14114
|
-
color: var(--chip-ghost-foreground-default);
|
|
14115
|
-
--_chip-tr-border: var(--chip-trailing-ghost-border-default);
|
|
14116
|
-
--_chip-tr-bg: var(--chip-trailing-ghost-background-default);
|
|
14117
|
-
--_chip-tr-bg-hover: var(--chip-trailing-ghost-background-hover);
|
|
14118
|
-
--_chip-tr-bg-pressed: var(--chip-trailing-ghost-background-pressed);
|
|
14119
|
-
--_chip-tr-fg: var(--chip-trailing-ghost-foreground-default);
|
|
14120
|
-
--_chip-tr-fg-hover: var(--chip-trailing-ghost-foreground-hover);
|
|
14121
|
-
--_chip-tr-fg-pressed: var(--chip-trailing-ghost-foreground-pressed);
|
|
14346
|
+
.muka-checkbox-tile__chip--vertical {
|
|
14347
|
+
margin-top: var(--spacing-1);
|
|
14122
14348
|
}
|
|
14123
14349
|
|
|
14124
|
-
/*
|
|
14125
|
-
|
|
14126
|
-
|
|
14127
|
-
|
|
14128
|
-
|
|
14129
|
-
|
|
14130
|
-
|
|
14131
|
-
.muka-chip--default.muka-chip--has-label-action:has(> .muka-chip__label-action:is(:hover, :focus-visible)) {
|
|
14132
|
-
background-color: var(--chip-neutral-background-hover);
|
|
14350
|
+
/* Label */
|
|
14351
|
+
.muka-checkbox-tile__label {
|
|
14352
|
+
font-family: var(--text-body-lg-regular-fontFamily);
|
|
14353
|
+
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
14354
|
+
font-size: var(--text-body-lg-regular-fontSize);
|
|
14355
|
+
line-height: var(--text-body-lg-regular-lineHeight);
|
|
14356
|
+
color: var(--color-text-default-default);
|
|
14133
14357
|
}
|
|
14134
14358
|
|
|
14135
|
-
.muka-
|
|
14136
|
-
|
|
14137
|
-
|
|
14138
|
-
|
|
14359
|
+
.muka-checkbox-tile__label--bold {
|
|
14360
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
14361
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
14362
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
14363
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
14139
14364
|
}
|
|
14140
14365
|
|
|
14141
|
-
|
|
14142
|
-
|
|
14143
|
-
|
|
14366
|
+
.muka-checkbox-tile__label--center {
|
|
14367
|
+
text-align: center;
|
|
14368
|
+
}
|
|
14369
|
+
|
|
14370
|
+
/* Caption */
|
|
14371
|
+
.muka-checkbox-tile__caption {
|
|
14372
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
14373
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
14374
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
14375
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
14376
|
+
color: var(--color-text-subtle-default);
|
|
14377
|
+
}
|
|
14378
|
+
|
|
14379
|
+
/* Disabled states */
|
|
14380
|
+
.muka-checkbox-tile--disabled .muka-checkbox-tile__label,
|
|
14381
|
+
.muka-checkbox-tile--disabled .muka-checkbox-tile__icon {
|
|
14382
|
+
color: var(--color-text-subtle-default);
|
|
14144
14383
|
}
|
|
14145
14384
|
|
|
14146
14385
|
|
|
@@ -14431,161 +14670,125 @@ button.muka-chip__trailing[aria-expanded='true'],
|
|
|
14431
14670
|
}
|
|
14432
14671
|
|
|
14433
14672
|
|
|
14434
|
-
/*
|
|
14435
|
-
/*
|
|
14673
|
+
/* ChatPhotoGrid */
|
|
14674
|
+
/* ChatPhotoGrid Component Styles */
|
|
14436
14675
|
|
|
14437
|
-
/*
|
|
14438
|
-
|
|
14439
|
-
|
|
14440
|
-
|
|
14441
|
-
|
|
14442
|
-
|
|
14443
|
-
|
|
14444
|
-
|
|
14445
|
-
|
|
14446
|
-
cursor: pointer;
|
|
14447
|
-
transition: border-color 0.15s ease, border-width 0.15s ease;
|
|
14676
|
+
/*
|
|
14677
|
+
* The grid clips to its own radius and the tiles stay square, so only the four
|
|
14678
|
+
* outer corners round — matching the Figma "Wrapper" frame (5225:1394).
|
|
14679
|
+
*/
|
|
14680
|
+
.muka-chat-photo-grid {
|
|
14681
|
+
display: grid;
|
|
14682
|
+
gap: var(--chatphotogrid-gap);
|
|
14683
|
+
width: 100%;
|
|
14684
|
+
min-width: 0;
|
|
14448
14685
|
overflow: hidden;
|
|
14449
|
-
|
|
14450
|
-
}
|
|
14451
|
-
|
|
14452
|
-
.muka-checkbox-tile--disabled {
|
|
14453
|
-
cursor: not-allowed;
|
|
14454
|
-
opacity: 0.6;
|
|
14686
|
+
border-radius: var(--chatphotogrid-radius);
|
|
14455
14687
|
}
|
|
14456
14688
|
|
|
14457
|
-
/*
|
|
14458
|
-
.muka-checkbox-tile[data-checked] {
|
|
14459
|
-
border-width: var(--border-width-bold);
|
|
14460
|
-
border-color: var(--color-action-default);
|
|
14461
|
-
}
|
|
14689
|
+
/* ─── Tiles ────────────────────────────────────────────── */
|
|
14462
14690
|
|
|
14463
|
-
|
|
14464
|
-
.muka-checkbox-tile--vertical {
|
|
14465
|
-
flex-direction: column;
|
|
14466
|
-
align-items: center;
|
|
14467
|
-
gap: var(--spacing-2);
|
|
14691
|
+
.muka-chat-photo-grid__tile {
|
|
14468
14692
|
position: relative;
|
|
14469
|
-
|
|
14470
|
-
|
|
14471
|
-
|
|
14472
|
-
|
|
14473
|
-
|
|
14474
|
-
|
|
14475
|
-
|
|
14476
|
-
|
|
14477
|
-
/* Corner-positioned checkbox for vertical */
|
|
14478
|
-
.muka-checkbox-tile__checkbox--corner {
|
|
14479
|
-
position: absolute;
|
|
14480
|
-
top: var(--spacing-4);
|
|
14481
|
-
left: var(--spacing-4);
|
|
14693
|
+
display: block;
|
|
14694
|
+
overflow: hidden;
|
|
14695
|
+
min-width: 0;
|
|
14696
|
+
padding: 0;
|
|
14697
|
+
margin: 0;
|
|
14698
|
+
border: none;
|
|
14699
|
+
background-color: var(--chatphotogrid-color-placeholder);
|
|
14700
|
+
aspect-ratio: 1 / 1;
|
|
14482
14701
|
}
|
|
14483
14702
|
|
|
14484
|
-
|
|
14485
|
-
|
|
14486
|
-
|
|
14487
|
-
left: calc(var(--spacing-4) - 1px);
|
|
14703
|
+
button.muka-chat-photo-grid__tile {
|
|
14704
|
+
cursor: pointer;
|
|
14705
|
+
appearance: none;
|
|
14488
14706
|
}
|
|
14489
14707
|
|
|
14490
|
-
|
|
14491
|
-
|
|
14492
|
-
|
|
14493
|
-
|
|
14494
|
-
justify-content: center;
|
|
14495
|
-
flex-shrink: 0;
|
|
14496
|
-
width: var(--icon-size-default);
|
|
14497
|
-
height: var(--icon-size-default);
|
|
14498
|
-
color: var(--color-text-default-default);
|
|
14708
|
+
button.muka-chat-photo-grid__tile:focus-visible {
|
|
14709
|
+
outline: var(--border-width-bold) solid var(--color-border-focus);
|
|
14710
|
+
/* Inset, so the grid's overflow clip cannot cut the ring off on corner tiles */
|
|
14711
|
+
outline-offset: calc(-1 * var(--border-width-bold));
|
|
14499
14712
|
}
|
|
14500
14713
|
|
|
14501
|
-
.muka-
|
|
14714
|
+
.muka-chat-photo-grid__image {
|
|
14715
|
+
display: block;
|
|
14502
14716
|
width: 100%;
|
|
14503
14717
|
height: 100%;
|
|
14718
|
+
object-fit: cover;
|
|
14504
14719
|
}
|
|
14505
14720
|
|
|
14506
|
-
/*
|
|
14507
|
-
.muka-checkbox-tile__image {
|
|
14508
|
-
flex-shrink: 0;
|
|
14509
|
-
overflow: hidden;
|
|
14510
|
-
border-radius: var(--border-radius-sm);
|
|
14511
|
-
}
|
|
14721
|
+
/* ─── Overflow tile ────────────────────────────────────── */
|
|
14512
14722
|
|
|
14513
|
-
.muka-
|
|
14514
|
-
|
|
14515
|
-
|
|
14516
|
-
|
|
14517
|
-
|
|
14723
|
+
.muka-chat-photo-grid__overflow {
|
|
14724
|
+
position: absolute;
|
|
14725
|
+
inset: 0;
|
|
14726
|
+
display: flex;
|
|
14727
|
+
align-items: center;
|
|
14728
|
+
justify-content: center;
|
|
14729
|
+
background-color: var(--chatphotogrid-color-overflow-background);
|
|
14730
|
+
color: var(--chatphotogrid-color-overflow-foreground);
|
|
14731
|
+
font-family: var(--text-body-2xl-regular-fontFamily);
|
|
14732
|
+
font-weight: var(--text-body-2xl-regular-fontWeight);
|
|
14733
|
+
font-size: var(--text-body-2xl-regular-fontSize);
|
|
14734
|
+
line-height: var(--text-body-2xl-regular-lineHeight);
|
|
14518
14735
|
}
|
|
14519
14736
|
|
|
14520
|
-
/*
|
|
14521
|
-
|
|
14522
|
-
|
|
14523
|
-
|
|
14737
|
+
/* ─── Layouts ──────────────────────────────────────────── */
|
|
14738
|
+
|
|
14739
|
+
.muka-chat-photo-grid--1 {
|
|
14740
|
+
grid-template-columns: 1fr;
|
|
14524
14741
|
}
|
|
14525
14742
|
|
|
14526
|
-
|
|
14527
|
-
|
|
14528
|
-
width: 100%;
|
|
14529
|
-
aspect-ratio: 4/3;
|
|
14743
|
+
.muka-chat-photo-grid--landscape .muka-chat-photo-grid__tile {
|
|
14744
|
+
aspect-ratio: 4 / 3;
|
|
14530
14745
|
}
|
|
14531
14746
|
|
|
14532
|
-
|
|
14533
|
-
|
|
14534
|
-
display: flex;
|
|
14535
|
-
flex-direction: column;
|
|
14536
|
-
flex: 1;
|
|
14537
|
-
min-width: 0;
|
|
14538
|
-
gap: var(--spacing-2);
|
|
14747
|
+
.muka-chat-photo-grid--portrait .muka-chat-photo-grid__tile {
|
|
14748
|
+
aspect-ratio: 3 / 4;
|
|
14539
14749
|
}
|
|
14540
14750
|
|
|
14541
|
-
.muka-
|
|
14542
|
-
|
|
14543
|
-
flex-direction: column;
|
|
14544
|
-
gap: var(--spacing-1);
|
|
14751
|
+
.muka-chat-photo-grid--2 {
|
|
14752
|
+
grid-template-columns: repeat(2, 1fr);
|
|
14545
14753
|
}
|
|
14546
14754
|
|
|
14547
|
-
|
|
14548
|
-
|
|
14549
|
-
flex-shrink: 0;
|
|
14755
|
+
.muka-chat-photo-grid--3 {
|
|
14756
|
+
grid-template-columns: repeat(3, 1fr);
|
|
14550
14757
|
}
|
|
14551
14758
|
|
|
14552
|
-
.muka-
|
|
14553
|
-
|
|
14759
|
+
.muka-chat-photo-grid--4 {
|
|
14760
|
+
grid-template-columns: repeat(2, 1fr);
|
|
14554
14761
|
}
|
|
14555
14762
|
|
|
14556
|
-
/*
|
|
14557
|
-
.muka-
|
|
14558
|
-
|
|
14559
|
-
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
14560
|
-
font-size: var(--text-body-lg-regular-fontSize);
|
|
14561
|
-
line-height: var(--text-body-lg-regular-lineHeight);
|
|
14562
|
-
color: var(--color-text-default-default);
|
|
14763
|
+
/* 5 photos: a 2-up row above a 3-up row, on a shared 6-column track */
|
|
14764
|
+
.muka-chat-photo-grid--5 {
|
|
14765
|
+
grid-template-columns: repeat(6, 1fr);
|
|
14563
14766
|
}
|
|
14564
14767
|
|
|
14565
|
-
.muka-
|
|
14566
|
-
|
|
14567
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
14568
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
14569
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
14768
|
+
.muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(-n + 2) {
|
|
14769
|
+
grid-column: span 3;
|
|
14570
14770
|
}
|
|
14571
14771
|
|
|
14572
|
-
.muka-
|
|
14573
|
-
|
|
14772
|
+
.muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(n + 3) {
|
|
14773
|
+
grid-column: span 2;
|
|
14574
14774
|
}
|
|
14575
14775
|
|
|
14576
|
-
|
|
14577
|
-
.muka-
|
|
14578
|
-
|
|
14579
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
14580
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
14581
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
14582
|
-
color: var(--color-text-subtle-default);
|
|
14776
|
+
.muka-chat-photo-grid--6,
|
|
14777
|
+
.muka-chat-photo-grid--overflow {
|
|
14778
|
+
grid-template-columns: repeat(3, 1fr);
|
|
14583
14779
|
}
|
|
14584
14780
|
|
|
14585
|
-
/*
|
|
14586
|
-
|
|
14587
|
-
|
|
14588
|
-
|
|
14781
|
+
/* ─── Print ────────────────────────────────────────────── */
|
|
14782
|
+
|
|
14783
|
+
@media print {
|
|
14784
|
+
.muka-chat-photo-grid {
|
|
14785
|
+
break-inside: avoid;
|
|
14786
|
+
}
|
|
14787
|
+
|
|
14788
|
+
.muka-chat-photo-grid__image {
|
|
14789
|
+
print-color-adjust: exact;
|
|
14790
|
+
-webkit-print-color-adjust: exact;
|
|
14791
|
+
}
|
|
14589
14792
|
}
|
|
14590
14793
|
|
|
14591
14794
|
|
|
@@ -14936,6 +15139,15 @@ button.muka-chip__trailing[aria-expanded='true'],
|
|
|
14936
15139
|
gap: var(--chatbubble-action-stack-gap);
|
|
14937
15140
|
}
|
|
14938
15141
|
|
|
15142
|
+
/*
|
|
15143
|
+
* Buttons below text (or an embed) sit a full offset away from it, not the
|
|
15144
|
+
* body's tight block gap: the margin tops the gap up to the offset.
|
|
15145
|
+
*/
|
|
15146
|
+
.muka-chat-message__message:not(:empty) + .muka-chat-message__action-stack,
|
|
15147
|
+
.muka-chat-message__embed + .muka-chat-message__action-stack {
|
|
15148
|
+
margin-top: calc(var(--chatbubble-action-stack-offset) - var(--chatbubble-gap));
|
|
15149
|
+
}
|
|
15150
|
+
|
|
14939
15151
|
/* ─── Inset timestamp ──────────────────────────────────── */
|
|
14940
15152
|
|
|
14941
15153
|
/*
|
|
@@ -14956,210 +15168,88 @@ button.muka-chip__trailing[aria-expanded='true'],
|
|
|
14956
15168
|
* Pinned to the corner rather than stacked below the message, so a one-line
|
|
14957
15169
|
* message stays one line tall. The message reserves the width it needs.
|
|
14958
15170
|
*/
|
|
14959
|
-
.muka-chat-message__timestamp--inset {
|
|
14960
|
-
position: absolute;
|
|
14961
|
-
right: var(--spacing-2);
|
|
14962
|
-
bottom: var(--spacing-1);
|
|
14963
|
-
}
|
|
14964
|
-
|
|
14965
|
-
/*
|
|
14966
|
-
* When the last block in the body is media, an embed or an action stack (not
|
|
14967
|
-
* trailing text), it runs the full width, so reserve a line below for the inset
|
|
14968
|
-
* timestamp. A message that ends in text clears the corner inline instead (see
|
|
14969
|
-
* `__message` padding-right above), so it needs no extra bottom space.
|
|
14970
|
-
*/
|
|
14971
|
-
.muka-chat-message--has-timestamp.muka-chat-message--trailing-block .muka-chat-message__body {
|
|
14972
|
-
padding-bottom: var(--text-body-xs-regular-lineHeight);
|
|
14973
|
-
}
|
|
14974
|
-
|
|
14975
|
-
/* ─── Menu affordance ──────────────────────────────────── */
|
|
14976
|
-
|
|
14977
|
-
/*
|
|
14978
|
-
* Hidden at rest. Revealed on hover on pointer devices, on keyboard focus
|
|
14979
|
-
* everywhere, and pinned while its menu is open. On touch the equivalent
|
|
14980
|
-
* affordance is a long-press on the bubble, which opens an ActionSheet.
|
|
14981
|
-
*/
|
|
14982
|
-
.muka-chat-message__menu {
|
|
14983
|
-
position: absolute;
|
|
14984
|
-
top: var(--spacing-1);
|
|
14985
|
-
right: var(--spacing-1);
|
|
14986
|
-
opacity: 0;
|
|
14987
|
-
pointer-events: none;
|
|
14988
|
-
}
|
|
14989
|
-
|
|
14990
|
-
.muka-chat-message__menu:focus-within,
|
|
14991
|
-
.muka-chat-message--menu-open .muka-chat-message__menu {
|
|
14992
|
-
opacity: 1;
|
|
14993
|
-
pointer-events: auto;
|
|
14994
|
-
}
|
|
14995
|
-
|
|
14996
|
-
@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
|
|
14997
|
-
.muka-chat-message__bubble:hover .muka-chat-message__menu {
|
|
14998
|
-
opacity: 1;
|
|
14999
|
-
pointer-events: auto;
|
|
15000
|
-
}
|
|
15001
|
-
}
|
|
15002
|
-
|
|
15003
|
-
/* Suppress iOS Safari's own callout so the long-press sheet can take over */
|
|
15004
|
-
@media (pointer: coarse) {
|
|
15005
|
-
.muka-chat-message--has-menu .muka-chat-message__bubble {
|
|
15006
|
-
-webkit-touch-callout: none;
|
|
15007
|
-
}
|
|
15008
|
-
}
|
|
15009
|
-
|
|
15010
|
-
/* ─── Print ────────────────────────────────────────────── */
|
|
15011
|
-
|
|
15012
|
-
@media print {
|
|
15013
|
-
.muka-chat-message__bubble {
|
|
15014
|
-
box-shadow: none;
|
|
15015
|
-
break-inside: avoid;
|
|
15016
|
-
print-color-adjust: exact;
|
|
15017
|
-
-webkit-print-color-adjust: exact;
|
|
15018
|
-
}
|
|
15019
|
-
|
|
15020
|
-
.muka-chat-message__embed {
|
|
15021
|
-
break-inside: avoid;
|
|
15022
|
-
print-color-adjust: exact;
|
|
15023
|
-
-webkit-print-color-adjust: exact;
|
|
15024
|
-
}
|
|
15025
|
-
|
|
15026
|
-
.muka-chat-message__menu,
|
|
15027
|
-
.muka-chat-message__embed-copy,
|
|
15028
|
-
.muka-chat-message__action-stack {
|
|
15029
|
-
display: none;
|
|
15030
|
-
}
|
|
15031
|
-
}
|
|
15032
|
-
|
|
15033
|
-
/* ─── Muted (a message from another context) ──────────────
|
|
15034
|
-
* The bubble drops its fill and keeps a hairline, so it recedes next to the
|
|
15035
|
-
* current conversation; the text keeps full contrast. */
|
|
15036
|
-
|
|
15037
|
-
.muka-chat-message--muted .muka-chat-message__bubble {
|
|
15038
|
-
background-color: transparent;
|
|
15039
|
-
border-color: var(--chatbubble-color-peer-border);
|
|
15040
|
-
color: var(--color-text-default-default);
|
|
15041
|
-
}
|
|
15042
|
-
|
|
15043
|
-
|
|
15044
|
-
/* ChatPhotoGrid */
|
|
15045
|
-
/* ChatPhotoGrid Component Styles */
|
|
15046
|
-
|
|
15047
|
-
/*
|
|
15048
|
-
* The grid clips to its own radius and the tiles stay square, so only the four
|
|
15049
|
-
* outer corners round — matching the Figma "Wrapper" frame (5225:1394).
|
|
15050
|
-
*/
|
|
15051
|
-
.muka-chat-photo-grid {
|
|
15052
|
-
display: grid;
|
|
15053
|
-
gap: var(--chatphotogrid-gap);
|
|
15054
|
-
width: 100%;
|
|
15055
|
-
min-width: 0;
|
|
15056
|
-
overflow: hidden;
|
|
15057
|
-
border-radius: var(--chatphotogrid-radius);
|
|
15058
|
-
}
|
|
15059
|
-
|
|
15060
|
-
/* ─── Tiles ────────────────────────────────────────────── */
|
|
15061
|
-
|
|
15062
|
-
.muka-chat-photo-grid__tile {
|
|
15063
|
-
position: relative;
|
|
15064
|
-
display: block;
|
|
15065
|
-
overflow: hidden;
|
|
15066
|
-
min-width: 0;
|
|
15067
|
-
padding: 0;
|
|
15068
|
-
margin: 0;
|
|
15069
|
-
border: none;
|
|
15070
|
-
background-color: var(--chatphotogrid-color-placeholder);
|
|
15071
|
-
aspect-ratio: 1 / 1;
|
|
15072
|
-
}
|
|
15073
|
-
|
|
15074
|
-
button.muka-chat-photo-grid__tile {
|
|
15075
|
-
cursor: pointer;
|
|
15076
|
-
appearance: none;
|
|
15077
|
-
}
|
|
15078
|
-
|
|
15079
|
-
button.muka-chat-photo-grid__tile:focus-visible {
|
|
15080
|
-
outline: var(--border-width-bold) solid var(--color-border-focus);
|
|
15081
|
-
/* Inset, so the grid's overflow clip cannot cut the ring off on corner tiles */
|
|
15082
|
-
outline-offset: calc(-1 * var(--border-width-bold));
|
|
15083
|
-
}
|
|
15084
|
-
|
|
15085
|
-
.muka-chat-photo-grid__image {
|
|
15086
|
-
display: block;
|
|
15087
|
-
width: 100%;
|
|
15088
|
-
height: 100%;
|
|
15089
|
-
object-fit: cover;
|
|
15090
|
-
}
|
|
15091
|
-
|
|
15092
|
-
/* ─── Overflow tile ────────────────────────────────────── */
|
|
15093
|
-
|
|
15094
|
-
.muka-chat-photo-grid__overflow {
|
|
15095
|
-
position: absolute;
|
|
15096
|
-
inset: 0;
|
|
15097
|
-
display: flex;
|
|
15098
|
-
align-items: center;
|
|
15099
|
-
justify-content: center;
|
|
15100
|
-
background-color: var(--chatphotogrid-color-overflow-background);
|
|
15101
|
-
color: var(--chatphotogrid-color-overflow-foreground);
|
|
15102
|
-
font-family: var(--text-body-2xl-regular-fontFamily);
|
|
15103
|
-
font-weight: var(--text-body-2xl-regular-fontWeight);
|
|
15104
|
-
font-size: var(--text-body-2xl-regular-fontSize);
|
|
15105
|
-
line-height: var(--text-body-2xl-regular-lineHeight);
|
|
15106
|
-
}
|
|
15107
|
-
|
|
15108
|
-
/* ─── Layouts ──────────────────────────────────────────── */
|
|
15109
|
-
|
|
15110
|
-
.muka-chat-photo-grid--1 {
|
|
15111
|
-
grid-template-columns: 1fr;
|
|
15112
|
-
}
|
|
15113
|
-
|
|
15114
|
-
.muka-chat-photo-grid--landscape .muka-chat-photo-grid__tile {
|
|
15115
|
-
aspect-ratio: 4 / 3;
|
|
15116
|
-
}
|
|
15117
|
-
|
|
15118
|
-
.muka-chat-photo-grid--portrait .muka-chat-photo-grid__tile {
|
|
15119
|
-
aspect-ratio: 3 / 4;
|
|
15120
|
-
}
|
|
15121
|
-
|
|
15122
|
-
.muka-chat-photo-grid--2 {
|
|
15123
|
-
grid-template-columns: repeat(2, 1fr);
|
|
15171
|
+
.muka-chat-message__timestamp--inset {
|
|
15172
|
+
position: absolute;
|
|
15173
|
+
right: var(--spacing-2);
|
|
15174
|
+
bottom: var(--spacing-1);
|
|
15124
15175
|
}
|
|
15125
15176
|
|
|
15126
|
-
|
|
15127
|
-
|
|
15177
|
+
/*
|
|
15178
|
+
* When the last block in the body is media, an embed or an action stack (not
|
|
15179
|
+
* trailing text), it runs the full width, so reserve a line below for the inset
|
|
15180
|
+
* timestamp. A message that ends in text clears the corner inline instead (see
|
|
15181
|
+
* `__message` padding-right above), so it needs no extra bottom space.
|
|
15182
|
+
*/
|
|
15183
|
+
.muka-chat-message--has-timestamp.muka-chat-message--trailing-block .muka-chat-message__body {
|
|
15184
|
+
padding-bottom: var(--text-body-xs-regular-lineHeight);
|
|
15128
15185
|
}
|
|
15129
15186
|
|
|
15130
|
-
|
|
15131
|
-
grid-template-columns: repeat(2, 1fr);
|
|
15132
|
-
}
|
|
15187
|
+
/* ─── Menu affordance ──────────────────────────────────── */
|
|
15133
15188
|
|
|
15134
|
-
/*
|
|
15135
|
-
.
|
|
15136
|
-
|
|
15189
|
+
/*
|
|
15190
|
+
* Hidden at rest. Revealed on hover on pointer devices, on keyboard focus
|
|
15191
|
+
* everywhere, and pinned while its menu is open. On touch the equivalent
|
|
15192
|
+
* affordance is a long-press on the bubble, which opens an ActionSheet.
|
|
15193
|
+
*/
|
|
15194
|
+
.muka-chat-message__menu {
|
|
15195
|
+
position: absolute;
|
|
15196
|
+
top: var(--spacing-1);
|
|
15197
|
+
right: var(--spacing-1);
|
|
15198
|
+
opacity: 0;
|
|
15199
|
+
pointer-events: none;
|
|
15137
15200
|
}
|
|
15138
15201
|
|
|
15139
|
-
.muka-chat-
|
|
15140
|
-
|
|
15202
|
+
.muka-chat-message__menu:focus-within,
|
|
15203
|
+
.muka-chat-message--menu-open .muka-chat-message__menu {
|
|
15204
|
+
opacity: 1;
|
|
15205
|
+
pointer-events: auto;
|
|
15141
15206
|
}
|
|
15142
15207
|
|
|
15143
|
-
|
|
15144
|
-
|
|
15208
|
+
@media (hover: hover) and (pointer: fine) and (min-width: 1024px) {
|
|
15209
|
+
.muka-chat-message__bubble:hover .muka-chat-message__menu {
|
|
15210
|
+
opacity: 1;
|
|
15211
|
+
pointer-events: auto;
|
|
15212
|
+
}
|
|
15145
15213
|
}
|
|
15146
15214
|
|
|
15147
|
-
|
|
15148
|
-
|
|
15149
|
-
|
|
15215
|
+
/* Suppress iOS Safari's own callout so the long-press sheet can take over */
|
|
15216
|
+
@media (pointer: coarse) {
|
|
15217
|
+
.muka-chat-message--has-menu .muka-chat-message__bubble {
|
|
15218
|
+
-webkit-touch-callout: none;
|
|
15219
|
+
}
|
|
15150
15220
|
}
|
|
15151
15221
|
|
|
15152
15222
|
/* ─── Print ────────────────────────────────────────────── */
|
|
15153
15223
|
|
|
15154
15224
|
@media print {
|
|
15155
|
-
.muka-chat-
|
|
15225
|
+
.muka-chat-message__bubble {
|
|
15226
|
+
box-shadow: none;
|
|
15156
15227
|
break-inside: avoid;
|
|
15228
|
+
print-color-adjust: exact;
|
|
15229
|
+
-webkit-print-color-adjust: exact;
|
|
15157
15230
|
}
|
|
15158
15231
|
|
|
15159
|
-
.muka-chat-
|
|
15232
|
+
.muka-chat-message__embed {
|
|
15233
|
+
break-inside: avoid;
|
|
15160
15234
|
print-color-adjust: exact;
|
|
15161
15235
|
-webkit-print-color-adjust: exact;
|
|
15162
15236
|
}
|
|
15237
|
+
|
|
15238
|
+
.muka-chat-message__menu,
|
|
15239
|
+
.muka-chat-message__embed-copy,
|
|
15240
|
+
.muka-chat-message__action-stack {
|
|
15241
|
+
display: none;
|
|
15242
|
+
}
|
|
15243
|
+
}
|
|
15244
|
+
|
|
15245
|
+
/* ─── Muted (a message from another context) ──────────────
|
|
15246
|
+
* The bubble drops its fill and keeps a hairline, so it recedes next to the
|
|
15247
|
+
* current conversation; the text keeps full contrast. */
|
|
15248
|
+
|
|
15249
|
+
.muka-chat-message--muted .muka-chat-message__bubble {
|
|
15250
|
+
background-color: transparent;
|
|
15251
|
+
border-color: var(--chatbubble-color-peer-border);
|
|
15252
|
+
color: var(--color-text-default-default);
|
|
15163
15253
|
}
|
|
15164
15254
|
|
|
15165
15255
|
|
|
@@ -15254,6 +15344,29 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15254
15344
|
flex-shrink: 0;
|
|
15255
15345
|
}
|
|
15256
15346
|
|
|
15347
|
+
/* ─── Suggestions ──────────────────────────────────────── */
|
|
15348
|
+
|
|
15349
|
+
/*
|
|
15350
|
+
* Suggestions for the typed text sit in the composer, just above the field:
|
|
15351
|
+
* the menu surface and rows (Menu.css), in flow rather than a floating
|
|
15352
|
+
* popover, so they stay above the mobile keyboard.
|
|
15353
|
+
*/
|
|
15354
|
+
.muka-chat-composer__suggestions {
|
|
15355
|
+
width: 100%;
|
|
15356
|
+
min-width: 0;
|
|
15357
|
+
box-sizing: border-box;
|
|
15358
|
+
animation: none;
|
|
15359
|
+
}
|
|
15360
|
+
|
|
15361
|
+
/* One line per label, the match included; long labels truncate. */
|
|
15362
|
+
.muka-chat-composer__suggestion-text {
|
|
15363
|
+
display: block;
|
|
15364
|
+
min-width: 0;
|
|
15365
|
+
overflow: hidden;
|
|
15366
|
+
text-overflow: ellipsis;
|
|
15367
|
+
white-space: nowrap;
|
|
15368
|
+
}
|
|
15369
|
+
|
|
15257
15370
|
/* ─── Text field ───────────────────────────────────────── */
|
|
15258
15371
|
|
|
15259
15372
|
.muka-chat-composer__field {
|
|
@@ -15587,261 +15700,115 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15587
15700
|
text-align: left;
|
|
15588
15701
|
color: inherit;
|
|
15589
15702
|
font: inherit;
|
|
15590
|
-
cursor: default;
|
|
15591
|
-
-webkit-tap-highlight-color: transparent;
|
|
15592
|
-
}
|
|
15593
|
-
|
|
15594
|
-
.muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
|
|
15595
|
-
cursor: pointer;
|
|
15596
|
-
}
|
|
15597
|
-
|
|
15598
|
-
.muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
|
|
15599
|
-
outline: 2px solid var(--color-action-default);
|
|
15600
|
-
outline-offset: 2px;
|
|
15601
|
-
border-radius: var(--radius-sm);
|
|
15602
|
-
}
|
|
15603
|
-
|
|
15604
|
-
.muka-chat-attachment-chip__icon {
|
|
15605
|
-
display: inline-flex;
|
|
15606
|
-
align-items: center;
|
|
15607
|
-
justify-content: center;
|
|
15608
|
-
flex-shrink: 0;
|
|
15609
|
-
color: var(--color-text-subtle-default);
|
|
15610
|
-
}
|
|
15611
|
-
|
|
15612
|
-
.muka-chat-attachment-chip__text {
|
|
15613
|
-
display: flex;
|
|
15614
|
-
flex-direction: column;
|
|
15615
|
-
min-width: 0;
|
|
15616
|
-
flex: 1 1 auto;
|
|
15617
|
-
}
|
|
15618
|
-
|
|
15619
|
-
.muka-chat-attachment-chip__name {
|
|
15620
|
-
color: var(--color-text-default-default);
|
|
15621
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15622
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15623
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
15624
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15625
|
-
white-space: nowrap;
|
|
15626
|
-
overflow: hidden;
|
|
15627
|
-
text-overflow: ellipsis;
|
|
15628
|
-
}
|
|
15629
|
-
|
|
15630
|
-
.muka-chat-attachment-chip__meta {
|
|
15631
|
-
color: var(--color-text-subtle-default);
|
|
15632
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15633
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15634
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
15635
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15636
|
-
white-space: nowrap;
|
|
15637
|
-
overflow: hidden;
|
|
15638
|
-
text-overflow: ellipsis;
|
|
15639
|
-
}
|
|
15640
|
-
|
|
15641
|
-
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
|
|
15642
|
-
color: var(--color-state-error-default, var(--color-text-default-default));
|
|
15643
|
-
}
|
|
15644
|
-
|
|
15645
|
-
/* ─── Remove button ────────────────────────────────────── */
|
|
15646
|
-
|
|
15647
|
-
.muka-chat-attachment-chip__remove {
|
|
15648
|
-
display: inline-flex;
|
|
15649
|
-
align-items: center;
|
|
15650
|
-
justify-content: center;
|
|
15651
|
-
width: 20px;
|
|
15652
|
-
height: 20px;
|
|
15653
|
-
border: none;
|
|
15654
|
-
background: none;
|
|
15655
|
-
padding: 0;
|
|
15656
|
-
border-radius: var(--radius-sm);
|
|
15657
|
-
cursor: pointer;
|
|
15658
|
-
color: var(--color-text-subtle-default);
|
|
15659
|
-
flex-shrink: 0;
|
|
15660
|
-
-webkit-tap-highlight-color: transparent;
|
|
15661
|
-
}
|
|
15662
|
-
|
|
15663
|
-
.muka-chat-attachment-chip__remove:hover:not(:disabled) {
|
|
15664
|
-
color: var(--color-text-default-default);
|
|
15665
|
-
background-color: var(--color-surface-level2);
|
|
15666
|
-
}
|
|
15667
|
-
|
|
15668
|
-
.muka-chat-attachment-chip__remove:focus-visible {
|
|
15669
|
-
outline: 2px solid var(--color-action-default);
|
|
15670
|
-
outline-offset: 2px;
|
|
15671
|
-
}
|
|
15672
|
-
|
|
15673
|
-
.muka-chat-attachment-chip__remove:disabled {
|
|
15674
|
-
cursor: not-allowed;
|
|
15675
|
-
opacity: 0.5;
|
|
15676
|
-
}
|
|
15677
|
-
|
|
15678
|
-
/* ─── Progress bar ─────────────────────────────────────── */
|
|
15679
|
-
|
|
15680
|
-
.muka-chat-attachment-chip__progress {
|
|
15681
|
-
position: absolute;
|
|
15682
|
-
left: 0;
|
|
15683
|
-
right: 0;
|
|
15684
|
-
bottom: 0;
|
|
15685
|
-
height: 2px;
|
|
15686
|
-
background-color: var(--color-surface-level2);
|
|
15687
|
-
overflow: hidden;
|
|
15688
|
-
}
|
|
15689
|
-
|
|
15690
|
-
.muka-chat-attachment-chip__progress-fill {
|
|
15691
|
-
display: block;
|
|
15692
|
-
height: 100%;
|
|
15693
|
-
background-color: var(--color-action-default);
|
|
15694
|
-
transition: width 0.16s ease;
|
|
15695
|
-
}
|
|
15696
|
-
|
|
15697
|
-
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
|
|
15698
|
-
background-color: var(--color-state-error-default, var(--color-text-default-default));
|
|
15699
|
-
}
|
|
15700
|
-
|
|
15701
|
-
|
|
15702
|
-
/* Card */
|
|
15703
|
-
/* Card Component Styles - Using Muka Design Tokens */
|
|
15704
|
-
|
|
15705
|
-
.muka-card {
|
|
15706
|
-
background-color: var(--card-color-default-background);
|
|
15707
|
-
color: var(--card-color-default-foreground);
|
|
15708
|
-
border: var(--border-width-regular) solid var(--card-color-default-border);
|
|
15709
|
-
box-shadow: var(--card-shadow-default);
|
|
15710
|
-
transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
15711
|
-
overflow: hidden;
|
|
15712
|
-
}
|
|
15713
|
-
|
|
15714
|
-
/* Padding variants */
|
|
15715
|
-
.muka-card--padding-none {
|
|
15716
|
-
padding: 0;
|
|
15717
|
-
}
|
|
15718
|
-
|
|
15719
|
-
.muka-card--padding-sm {
|
|
15720
|
-
padding: var(--card-padding-sm);
|
|
15721
|
-
}
|
|
15722
|
-
|
|
15723
|
-
.muka-card--padding-md {
|
|
15724
|
-
padding: var(--card-padding-md);
|
|
15725
|
-
}
|
|
15726
|
-
|
|
15727
|
-
.muka-card--padding-lg {
|
|
15728
|
-
padding: var(--card-padding-lg);
|
|
15729
|
-
}
|
|
15730
|
-
|
|
15731
|
-
/* Radius variants */
|
|
15732
|
-
.muka-card--radius-sm {
|
|
15733
|
-
border-radius: var(--card-radius-sm);
|
|
15734
|
-
}
|
|
15735
|
-
|
|
15736
|
-
.muka-card--radius-md {
|
|
15737
|
-
border-radius: var(--card-radius-md);
|
|
15738
|
-
}
|
|
15739
|
-
|
|
15740
|
-
.muka-card--radius-lg {
|
|
15741
|
-
border-radius: var(--card-radius-lg);
|
|
15742
|
-
}
|
|
15743
|
-
|
|
15744
|
-
/* Interactive variant */
|
|
15745
|
-
.muka-card--interactive {
|
|
15746
|
-
cursor: pointer;
|
|
15747
|
-
user-select: none;
|
|
15748
|
-
}
|
|
15749
|
-
|
|
15750
|
-
.muka-card--interactive:hover {
|
|
15751
|
-
background-color: var(--card-color-hover-background);
|
|
15752
|
-
border-color: var(--card-color-hover-border);
|
|
15753
|
-
box-shadow: var(--card-shadow-hover);
|
|
15703
|
+
cursor: default;
|
|
15704
|
+
-webkit-tap-highlight-color: transparent;
|
|
15754
15705
|
}
|
|
15755
15706
|
|
|
15756
|
-
.muka-
|
|
15757
|
-
|
|
15758
|
-
background-color: var(--card-color-pressed-background);
|
|
15759
|
-
border-color: var(--card-color-pressed-border);
|
|
15760
|
-
box-shadow: var(--card-shadow-pressed);
|
|
15707
|
+
.muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
|
|
15708
|
+
cursor: pointer;
|
|
15761
15709
|
}
|
|
15762
15710
|
|
|
15763
|
-
.muka-
|
|
15764
|
-
outline: 2px solid var(--color-
|
|
15711
|
+
.muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
|
|
15712
|
+
outline: 2px solid var(--color-action-default);
|
|
15765
15713
|
outline-offset: 2px;
|
|
15714
|
+
border-radius: var(--radius-sm);
|
|
15766
15715
|
}
|
|
15767
15716
|
|
|
15768
|
-
|
|
15769
|
-
|
|
15770
|
-
|
|
15771
|
-
|
|
15772
|
-
|
|
15773
|
-
|
|
15717
|
+
.muka-chat-attachment-chip__icon {
|
|
15718
|
+
display: inline-flex;
|
|
15719
|
+
align-items: center;
|
|
15720
|
+
justify-content: center;
|
|
15721
|
+
flex-shrink: 0;
|
|
15722
|
+
color: var(--color-text-subtle-default);
|
|
15774
15723
|
}
|
|
15775
15724
|
|
|
15776
|
-
|
|
15777
|
-
|
|
15778
|
-
|
|
15779
|
-
|
|
15780
|
-
|
|
15781
|
-
box-shadow: var(--card-shadow-note);
|
|
15725
|
+
.muka-chat-attachment-chip__text {
|
|
15726
|
+
display: flex;
|
|
15727
|
+
flex-direction: column;
|
|
15728
|
+
min-width: 0;
|
|
15729
|
+
flex: 1 1 auto;
|
|
15782
15730
|
}
|
|
15783
15731
|
|
|
15784
|
-
.muka-
|
|
15785
|
-
|
|
15786
|
-
|
|
15787
|
-
|
|
15788
|
-
|
|
15732
|
+
.muka-chat-attachment-chip__name {
|
|
15733
|
+
color: var(--color-text-default-default);
|
|
15734
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15735
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15736
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
15737
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15738
|
+
white-space: nowrap;
|
|
15739
|
+
overflow: hidden;
|
|
15740
|
+
text-overflow: ellipsis;
|
|
15789
15741
|
}
|
|
15790
15742
|
|
|
15791
|
-
.muka-
|
|
15792
|
-
|
|
15743
|
+
.muka-chat-attachment-chip__meta {
|
|
15744
|
+
color: var(--color-text-subtle-default);
|
|
15745
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15746
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15747
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
15748
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15749
|
+
white-space: nowrap;
|
|
15750
|
+
overflow: hidden;
|
|
15751
|
+
text-overflow: ellipsis;
|
|
15793
15752
|
}
|
|
15794
15753
|
|
|
15795
|
-
.muka-
|
|
15796
|
-
|
|
15754
|
+
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
|
|
15755
|
+
color: var(--color-state-error-default, var(--color-text-default-default));
|
|
15797
15756
|
}
|
|
15798
15757
|
|
|
15799
|
-
|
|
15800
|
-
|
|
15801
|
-
|
|
15802
|
-
|
|
15803
|
-
|
|
15758
|
+
/* ─── Remove button ────────────────────────────────────── */
|
|
15759
|
+
|
|
15760
|
+
.muka-chat-attachment-chip__remove {
|
|
15761
|
+
display: inline-flex;
|
|
15762
|
+
align-items: center;
|
|
15763
|
+
justify-content: center;
|
|
15764
|
+
width: 20px;
|
|
15765
|
+
height: 20px;
|
|
15766
|
+
border: none;
|
|
15767
|
+
background: none;
|
|
15768
|
+
padding: 0;
|
|
15769
|
+
border-radius: var(--radius-sm);
|
|
15770
|
+
cursor: pointer;
|
|
15771
|
+
color: var(--color-text-subtle-default);
|
|
15772
|
+
flex-shrink: 0;
|
|
15773
|
+
-webkit-tap-highlight-color: transparent;
|
|
15804
15774
|
}
|
|
15805
15775
|
|
|
15806
|
-
.muka-
|
|
15807
|
-
|
|
15808
|
-
|
|
15776
|
+
.muka-chat-attachment-chip__remove:hover:not(:disabled) {
|
|
15777
|
+
color: var(--color-text-default-default);
|
|
15778
|
+
background-color: var(--color-surface-level2);
|
|
15809
15779
|
}
|
|
15810
15780
|
|
|
15811
|
-
|
|
15812
|
-
|
|
15813
|
-
|
|
15781
|
+
.muka-chat-attachment-chip__remove:focus-visible {
|
|
15782
|
+
outline: 2px solid var(--color-action-default);
|
|
15783
|
+
outline-offset: 2px;
|
|
15814
15784
|
}
|
|
15815
15785
|
|
|
15816
|
-
.muka-
|
|
15817
|
-
|
|
15818
|
-
|
|
15819
|
-
font-family: var(--text-heading-xs-fontFamily);
|
|
15820
|
-
font-weight: var(--text-heading-xs-fontWeight);
|
|
15821
|
-
font-size: var(--text-heading-xs-fontSize);
|
|
15822
|
-
line-height: var(--text-heading-xs-lineHeight);
|
|
15823
|
-
letter-spacing: var(--text-heading-xs-letterSpacing);
|
|
15786
|
+
.muka-chat-attachment-chip__remove:disabled {
|
|
15787
|
+
cursor: not-allowed;
|
|
15788
|
+
opacity: 0.5;
|
|
15824
15789
|
}
|
|
15825
15790
|
|
|
15826
|
-
|
|
15827
|
-
|
|
15828
|
-
|
|
15829
|
-
|
|
15830
|
-
|
|
15831
|
-
|
|
15832
|
-
|
|
15791
|
+
/* ─── Progress bar ─────────────────────────────────────── */
|
|
15792
|
+
|
|
15793
|
+
.muka-chat-attachment-chip__progress {
|
|
15794
|
+
position: absolute;
|
|
15795
|
+
left: 0;
|
|
15796
|
+
right: 0;
|
|
15797
|
+
bottom: 0;
|
|
15798
|
+
height: 2px;
|
|
15799
|
+
background-color: var(--color-surface-level2);
|
|
15800
|
+
overflow: hidden;
|
|
15833
15801
|
}
|
|
15834
15802
|
|
|
15835
|
-
|
|
15836
|
-
|
|
15837
|
-
|
|
15803
|
+
.muka-chat-attachment-chip__progress-fill {
|
|
15804
|
+
display: block;
|
|
15805
|
+
height: 100%;
|
|
15806
|
+
background-color: var(--color-action-default);
|
|
15807
|
+
transition: width 0.16s ease;
|
|
15838
15808
|
}
|
|
15839
15809
|
|
|
15840
|
-
|
|
15841
|
-
|
|
15842
|
-
opacity: 0.5;
|
|
15843
|
-
cursor: not-allowed;
|
|
15844
|
-
pointer-events: none;
|
|
15810
|
+
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
|
|
15811
|
+
background-color: var(--color-state-error-default, var(--color-text-default-default));
|
|
15845
15812
|
}
|
|
15846
15813
|
|
|
15847
15814
|
|
|
@@ -16146,56 +16113,202 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
16146
16113
|
display: block;
|
|
16147
16114
|
}
|
|
16148
16115
|
|
|
16149
|
-
/* A Spinner in the icon slot keeps its own flex centring: as a block its
|
|
16150
|
-
circle sat at the top of the slot (4px high in an lg icon-only button). */
|
|
16151
|
-
.muka-button .muka-button__icon > .muka-spinner {
|
|
16152
|
-
display: flex;
|
|
16116
|
+
/* A Spinner in the icon slot keeps its own flex centring: as a block its
|
|
16117
|
+
circle sat at the top of the slot (4px high in an lg icon-only button). */
|
|
16118
|
+
.muka-button .muka-button__icon > .muka-spinner {
|
|
16119
|
+
display: flex;
|
|
16120
|
+
}
|
|
16121
|
+
|
|
16122
|
+
.muka-button--sm .muka-button__icon {
|
|
16123
|
+
width: var(--button-icon-sm);
|
|
16124
|
+
height: var(--button-icon-sm);
|
|
16125
|
+
}
|
|
16126
|
+
|
|
16127
|
+
.muka-button--md .muka-button__icon {
|
|
16128
|
+
width: var(--button-icon-md);
|
|
16129
|
+
height: var(--button-icon-md);
|
|
16130
|
+
}
|
|
16131
|
+
|
|
16132
|
+
.muka-button--lg .muka-button__icon {
|
|
16133
|
+
width: var(--button-icon-lg);
|
|
16134
|
+
height: var(--button-icon-lg);
|
|
16135
|
+
}
|
|
16136
|
+
|
|
16137
|
+
.muka-button--xl .muka-button__icon {
|
|
16138
|
+
width: var(--button-icon-xl);
|
|
16139
|
+
height: var(--button-icon-xl);
|
|
16140
|
+
}
|
|
16141
|
+
|
|
16142
|
+
.muka-button__label {
|
|
16143
|
+
display: inline-flex;
|
|
16144
|
+
align-items: center;
|
|
16145
|
+
}
|
|
16146
|
+
|
|
16147
|
+
/* Icon-only buttons - square, sized to the button height per size */
|
|
16148
|
+
.muka-button--icon-only {
|
|
16149
|
+
padding: 0;
|
|
16150
|
+
}
|
|
16151
|
+
|
|
16152
|
+
.muka-button--icon-only.muka-button--sm {
|
|
16153
|
+
width: 32px;
|
|
16154
|
+
}
|
|
16155
|
+
|
|
16156
|
+
.muka-button--icon-only.muka-button--md {
|
|
16157
|
+
width: 40px;
|
|
16158
|
+
}
|
|
16159
|
+
|
|
16160
|
+
.muka-button--icon-only.muka-button--lg {
|
|
16161
|
+
width: 48px;
|
|
16162
|
+
}
|
|
16163
|
+
|
|
16164
|
+
.muka-button--icon-only.muka-button--xl {
|
|
16165
|
+
width: 64px;
|
|
16166
|
+
}
|
|
16167
|
+
|
|
16168
|
+
|
|
16169
|
+
/* Card */
|
|
16170
|
+
/* Card Component Styles - Using Muka Design Tokens */
|
|
16171
|
+
|
|
16172
|
+
.muka-card {
|
|
16173
|
+
background-color: var(--card-color-default-background);
|
|
16174
|
+
color: var(--card-color-default-foreground);
|
|
16175
|
+
border: var(--border-width-regular) solid var(--card-color-default-border);
|
|
16176
|
+
box-shadow: var(--card-shadow-default);
|
|
16177
|
+
transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
16178
|
+
overflow: hidden;
|
|
16179
|
+
}
|
|
16180
|
+
|
|
16181
|
+
/* Padding variants */
|
|
16182
|
+
.muka-card--padding-none {
|
|
16183
|
+
padding: 0;
|
|
16184
|
+
}
|
|
16185
|
+
|
|
16186
|
+
.muka-card--padding-sm {
|
|
16187
|
+
padding: var(--card-padding-sm);
|
|
16188
|
+
}
|
|
16189
|
+
|
|
16190
|
+
.muka-card--padding-md {
|
|
16191
|
+
padding: var(--card-padding-md);
|
|
16192
|
+
}
|
|
16193
|
+
|
|
16194
|
+
.muka-card--padding-lg {
|
|
16195
|
+
padding: var(--card-padding-lg);
|
|
16196
|
+
}
|
|
16197
|
+
|
|
16198
|
+
/* Radius variants */
|
|
16199
|
+
.muka-card--radius-sm {
|
|
16200
|
+
border-radius: var(--card-radius-sm);
|
|
16201
|
+
}
|
|
16202
|
+
|
|
16203
|
+
.muka-card--radius-md {
|
|
16204
|
+
border-radius: var(--card-radius-md);
|
|
16205
|
+
}
|
|
16206
|
+
|
|
16207
|
+
.muka-card--radius-lg {
|
|
16208
|
+
border-radius: var(--card-radius-lg);
|
|
16209
|
+
}
|
|
16210
|
+
|
|
16211
|
+
/* Interactive variant */
|
|
16212
|
+
.muka-card--interactive {
|
|
16213
|
+
cursor: pointer;
|
|
16214
|
+
user-select: none;
|
|
16215
|
+
}
|
|
16216
|
+
|
|
16217
|
+
.muka-card--interactive:hover {
|
|
16218
|
+
background-color: var(--card-color-hover-background);
|
|
16219
|
+
border-color: var(--card-color-hover-border);
|
|
16220
|
+
box-shadow: var(--card-shadow-hover);
|
|
16221
|
+
}
|
|
16222
|
+
|
|
16223
|
+
.muka-card--interactive:active,
|
|
16224
|
+
.muka-card--interactive.muka-card--pressed {
|
|
16225
|
+
background-color: var(--card-color-pressed-background);
|
|
16226
|
+
border-color: var(--card-color-pressed-border);
|
|
16227
|
+
box-shadow: var(--card-shadow-pressed);
|
|
16228
|
+
}
|
|
16229
|
+
|
|
16230
|
+
.muka-card--interactive:focus-visible {
|
|
16231
|
+
outline: 2px solid var(--color-border-focus);
|
|
16232
|
+
outline-offset: 2px;
|
|
16153
16233
|
}
|
|
16154
16234
|
|
|
16155
|
-
|
|
16156
|
-
|
|
16157
|
-
|
|
16235
|
+
/* Selected variant */
|
|
16236
|
+
.muka-card--selected {
|
|
16237
|
+
background-color: var(--card-color-selected-background);
|
|
16238
|
+
border-color: var(--card-color-selected-border);
|
|
16239
|
+
border-width: var(--border-width-bold);
|
|
16240
|
+
box-shadow: var(--card-shadow-selected);
|
|
16158
16241
|
}
|
|
16159
16242
|
|
|
16160
|
-
|
|
16161
|
-
|
|
16162
|
-
|
|
16243
|
+
/* Tone: sticky note (MUK-105) */
|
|
16244
|
+
.muka-card--tone-note {
|
|
16245
|
+
background-color: var(--card-color-note-background);
|
|
16246
|
+
color: var(--card-color-note-foreground);
|
|
16247
|
+
border-color: var(--card-color-note-border);
|
|
16248
|
+
box-shadow: var(--card-shadow-note);
|
|
16163
16249
|
}
|
|
16164
16250
|
|
|
16165
|
-
.muka-
|
|
16166
|
-
|
|
16167
|
-
|
|
16251
|
+
.muka-card--tone-note.muka-card--interactive:hover,
|
|
16252
|
+
.muka-card--tone-note.muka-card--interactive:active,
|
|
16253
|
+
.muka-card--tone-note.muka-card--interactive.muka-card--pressed {
|
|
16254
|
+
background-color: var(--card-color-note-background);
|
|
16255
|
+
border-color: var(--card-color-note-border);
|
|
16168
16256
|
}
|
|
16169
16257
|
|
|
16170
|
-
.muka-
|
|
16171
|
-
|
|
16172
|
-
height: var(--button-icon-xl);
|
|
16258
|
+
.muka-card--tilt-left {
|
|
16259
|
+
transform: rotate(-0.75deg);
|
|
16173
16260
|
}
|
|
16174
16261
|
|
|
16175
|
-
.muka-
|
|
16176
|
-
|
|
16177
|
-
align-items: center;
|
|
16262
|
+
.muka-card--tilt-right {
|
|
16263
|
+
transform: rotate(0.6deg);
|
|
16178
16264
|
}
|
|
16179
16265
|
|
|
16180
|
-
|
|
16181
|
-
.muka-
|
|
16182
|
-
|
|
16266
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
16267
|
+
.muka-card--tilt-left,
|
|
16268
|
+
.muka-card--tilt-right {
|
|
16269
|
+
transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
16270
|
+
}
|
|
16183
16271
|
}
|
|
16184
16272
|
|
|
16185
|
-
.muka-
|
|
16186
|
-
|
|
16273
|
+
.muka-card--interactive.muka-card--tilt-left:hover,
|
|
16274
|
+
.muka-card--interactive.muka-card--tilt-right:hover {
|
|
16275
|
+
transform: none;
|
|
16187
16276
|
}
|
|
16188
16277
|
|
|
16189
|
-
|
|
16190
|
-
|
|
16278
|
+
/* Optional header (title + description) */
|
|
16279
|
+
.muka-card__header {
|
|
16280
|
+
margin-bottom: var(--spacing-4);
|
|
16191
16281
|
}
|
|
16192
16282
|
|
|
16193
|
-
.muka-
|
|
16194
|
-
|
|
16283
|
+
.muka-card__title {
|
|
16284
|
+
margin: 0;
|
|
16285
|
+
color: var(--color-text-default-default);
|
|
16286
|
+
font-family: var(--text-heading-xs-fontFamily);
|
|
16287
|
+
font-weight: var(--text-heading-xs-fontWeight);
|
|
16288
|
+
font-size: var(--text-heading-xs-fontSize);
|
|
16289
|
+
line-height: var(--text-heading-xs-lineHeight);
|
|
16290
|
+
letter-spacing: var(--text-heading-xs-letterSpacing);
|
|
16195
16291
|
}
|
|
16196
16292
|
|
|
16197
|
-
.muka-
|
|
16198
|
-
|
|
16293
|
+
.muka-card__description {
|
|
16294
|
+
margin: var(--spacing-1) 0 0;
|
|
16295
|
+
color: var(--color-text-subtle-default);
|
|
16296
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
16297
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
16298
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
16299
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
16300
|
+
}
|
|
16301
|
+
|
|
16302
|
+
/* Hide divider on last list item inside card */
|
|
16303
|
+
.muka-card > .muka-listitem:last-child > .muka-listitem__divider {
|
|
16304
|
+
display: none;
|
|
16305
|
+
}
|
|
16306
|
+
|
|
16307
|
+
/* Disabled state */
|
|
16308
|
+
.muka-card--disabled {
|
|
16309
|
+
opacity: 0.5;
|
|
16310
|
+
cursor: not-allowed;
|
|
16311
|
+
pointer-events: none;
|
|
16199
16312
|
}
|
|
16200
16313
|
|
|
16201
16314
|
|
|
@@ -17654,104 +17767,246 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
17654
17767
|
height: 100%;
|
|
17655
17768
|
}
|
|
17656
17769
|
|
|
17657
|
-
/* The leading icon and the dismiss (×) icon inherit the variant accent set on
|
|
17658
|
-
their container, overriding the Icon component's default color. */
|
|
17659
|
-
.muka-alert__icon .muka-icon,
|
|
17660
|
-
.muka-alert__dismiss .muka-icon {
|
|
17661
|
-
color: inherit;
|
|
17770
|
+
/* The leading icon and the dismiss (×) icon inherit the variant accent set on
|
|
17771
|
+
their container, overriding the Icon component's default color. */
|
|
17772
|
+
.muka-alert__icon .muka-icon,
|
|
17773
|
+
.muka-alert__dismiss .muka-icon {
|
|
17774
|
+
color: inherit;
|
|
17775
|
+
}
|
|
17776
|
+
|
|
17777
|
+
/* Content */
|
|
17778
|
+
.muka-alert__content {
|
|
17779
|
+
flex: 1;
|
|
17780
|
+
min-width: 0;
|
|
17781
|
+
}
|
|
17782
|
+
|
|
17783
|
+
.muka-alert__title {
|
|
17784
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
17785
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
17786
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
17787
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
17788
|
+
margin-bottom: var(--spacing-1);
|
|
17789
|
+
}
|
|
17790
|
+
|
|
17791
|
+
.muka-alert--sm .muka-alert__title {
|
|
17792
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
17793
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
17794
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
17795
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
17796
|
+
}
|
|
17797
|
+
|
|
17798
|
+
.muka-alert--lg .muka-alert__title {
|
|
17799
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
17800
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
17801
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
17802
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
17803
|
+
}
|
|
17804
|
+
|
|
17805
|
+
.muka-alert__message {
|
|
17806
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
17807
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
17808
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
17809
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
17810
|
+
/* Beat ambient docs/page text colors (e.g. Storybook sbdocs) so variant
|
|
17811
|
+
foreground stays readable in light and dark themes. */
|
|
17812
|
+
color: inherit;
|
|
17813
|
+
}
|
|
17814
|
+
|
|
17815
|
+
.muka-alert .muka-alert__message,
|
|
17816
|
+
.muka-alert .muka-alert__message * {
|
|
17817
|
+
color: inherit;
|
|
17818
|
+
}
|
|
17819
|
+
|
|
17820
|
+
.muka-alert--lg .muka-alert__message {
|
|
17821
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
17822
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
17823
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
17824
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
17825
|
+
}
|
|
17826
|
+
|
|
17827
|
+
/* Action slot — TextLink (or similar) below the message, matching Figma */
|
|
17828
|
+
.muka-alert__action {
|
|
17829
|
+
display: flex;
|
|
17830
|
+
flex-direction: column;
|
|
17831
|
+
align-items: flex-start;
|
|
17832
|
+
padding-top: var(--spacing-1);
|
|
17833
|
+
}
|
|
17834
|
+
|
|
17835
|
+
/* Dismiss button - uses accent color per variant, aligned with icon row */
|
|
17836
|
+
.muka-alert__dismiss {
|
|
17837
|
+
display: flex;
|
|
17838
|
+
align-items: center;
|
|
17839
|
+
justify-content: center;
|
|
17840
|
+
flex-shrink: 0;
|
|
17841
|
+
align-self: flex-start;
|
|
17842
|
+
width: 24px;
|
|
17843
|
+
height: 24px;
|
|
17844
|
+
padding: 0;
|
|
17845
|
+
margin: 0 0 0 auto;
|
|
17846
|
+
border: none;
|
|
17847
|
+
background: transparent;
|
|
17848
|
+
cursor: pointer;
|
|
17849
|
+
border-radius: var(--border-radius-sm);
|
|
17850
|
+
transition: opacity 0.15s ease, background-color 0.15s ease;
|
|
17851
|
+
}
|
|
17852
|
+
|
|
17853
|
+
.muka-alert__dismiss:hover {
|
|
17854
|
+
opacity: 0.85;
|
|
17855
|
+
background-color: rgba(0, 0, 0, 0.05);
|
|
17856
|
+
}
|
|
17857
|
+
|
|
17858
|
+
.muka-alert__dismiss:focus-visible {
|
|
17859
|
+
outline: 2px solid var(--color-border-focus);
|
|
17860
|
+
outline-offset: 2px;
|
|
17861
|
+
}
|
|
17862
|
+
|
|
17863
|
+
.muka-alert__dismiss svg {
|
|
17864
|
+
width: 16px;
|
|
17865
|
+
height: 16px;
|
|
17866
|
+
}
|
|
17867
|
+
|
|
17868
|
+
|
|
17869
|
+
/* ActionSheet */
|
|
17870
|
+
/* ActionSheet Component Styles */
|
|
17871
|
+
|
|
17872
|
+
.muka-action-sheet__inner {
|
|
17873
|
+
display: flex;
|
|
17874
|
+
flex-direction: column;
|
|
17875
|
+
padding: 0 var(--spacing-4) var(--spacing-3) var(--spacing-4);
|
|
17876
|
+
gap: var(--spacing-3);
|
|
17877
|
+
}
|
|
17878
|
+
|
|
17879
|
+
/* ─── Header ──────────────────────────────────────────── */
|
|
17880
|
+
|
|
17881
|
+
.muka-action-sheet__header {
|
|
17882
|
+
display: flex;
|
|
17883
|
+
flex-direction: column;
|
|
17884
|
+
align-items: center;
|
|
17885
|
+
gap: var(--spacing-1);
|
|
17886
|
+
padding: var(--spacing-2) 0 var(--spacing-3);
|
|
17887
|
+
text-align: center;
|
|
17888
|
+
}
|
|
17889
|
+
|
|
17890
|
+
.muka-action-sheet__title {
|
|
17891
|
+
margin: 0;
|
|
17892
|
+
color: var(--color-text-default-default);
|
|
17893
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
17894
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
17895
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
17896
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
17897
|
+
}
|
|
17898
|
+
|
|
17899
|
+
.muka-action-sheet__description {
|
|
17900
|
+
margin: 0;
|
|
17901
|
+
color: var(--color-text-subtle-default);
|
|
17902
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
17903
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
17904
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
17905
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
17906
|
+
}
|
|
17907
|
+
|
|
17908
|
+
/* ─── Actions group ───────────────────────────────────── */
|
|
17909
|
+
|
|
17910
|
+
.muka-action-sheet__actions {
|
|
17911
|
+
display: flex;
|
|
17912
|
+
flex-direction: column;
|
|
17913
|
+
background-color: var(--color-surface-level1);
|
|
17914
|
+
border-radius: var(--radius-md);
|
|
17915
|
+
overflow: hidden;
|
|
17916
|
+
}
|
|
17917
|
+
|
|
17918
|
+
.muka-action-sheet__item {
|
|
17919
|
+
display: flex;
|
|
17920
|
+
align-items: center;
|
|
17921
|
+
gap: var(--spacing-3);
|
|
17922
|
+
padding: var(--spacing-3) var(--spacing-4);
|
|
17923
|
+
background: none;
|
|
17924
|
+
border: none;
|
|
17925
|
+
cursor: pointer;
|
|
17926
|
+
text-align: left;
|
|
17927
|
+
color: var(--color-text-default-default);
|
|
17928
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
17929
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
17930
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
17931
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
17932
|
+
-webkit-tap-highlight-color: transparent;
|
|
17933
|
+
transition: background-color 0.12s ease;
|
|
17934
|
+
}
|
|
17935
|
+
|
|
17936
|
+
.muka-action-sheet__item + .muka-action-sheet__item {
|
|
17937
|
+
border-top: var(--border-width-regular) solid var(--color-border-default);
|
|
17662
17938
|
}
|
|
17663
17939
|
|
|
17664
|
-
|
|
17665
|
-
|
|
17666
|
-
flex: 1;
|
|
17667
|
-
min-width: 0;
|
|
17940
|
+
.muka-action-sheet__item:hover:not(:disabled) {
|
|
17941
|
+
background-color: var(--color-surface-level2);
|
|
17668
17942
|
}
|
|
17669
17943
|
|
|
17670
|
-
.muka-
|
|
17671
|
-
|
|
17672
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
17673
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
17674
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
17675
|
-
margin-bottom: var(--spacing-1);
|
|
17944
|
+
.muka-action-sheet__item:active:not(:disabled) {
|
|
17945
|
+
background-color: var(--color-surface-level3);
|
|
17676
17946
|
}
|
|
17677
17947
|
|
|
17678
|
-
.muka-
|
|
17679
|
-
|
|
17680
|
-
|
|
17681
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
17682
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
17948
|
+
.muka-action-sheet__item:focus-visible {
|
|
17949
|
+
outline: 2px solid var(--color-action-default);
|
|
17950
|
+
outline-offset: -2px;
|
|
17683
17951
|
}
|
|
17684
17952
|
|
|
17685
|
-
.muka-
|
|
17686
|
-
|
|
17687
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
17688
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
17689
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
17953
|
+
.muka-action-sheet__item--destructive {
|
|
17954
|
+
color: var(--color-state-error-default);
|
|
17690
17955
|
}
|
|
17691
17956
|
|
|
17692
|
-
.muka-
|
|
17693
|
-
|
|
17694
|
-
|
|
17695
|
-
|
|
17696
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
17697
|
-
/* Beat ambient docs/page text colors (e.g. Storybook sbdocs) so variant
|
|
17698
|
-
foreground stays readable in light and dark themes. */
|
|
17699
|
-
color: inherit;
|
|
17957
|
+
.muka-action-sheet__item--disabled,
|
|
17958
|
+
.muka-action-sheet__item:disabled {
|
|
17959
|
+
opacity: 0.5;
|
|
17960
|
+
cursor: not-allowed;
|
|
17700
17961
|
}
|
|
17701
17962
|
|
|
17702
|
-
.muka-
|
|
17703
|
-
|
|
17704
|
-
|
|
17963
|
+
.muka-action-sheet__item-icon {
|
|
17964
|
+
display: inline-flex;
|
|
17965
|
+
align-items: center;
|
|
17966
|
+
justify-content: center;
|
|
17967
|
+
width: 24px;
|
|
17968
|
+
height: 24px;
|
|
17969
|
+
flex-shrink: 0;
|
|
17705
17970
|
}
|
|
17706
17971
|
|
|
17707
|
-
.muka-
|
|
17708
|
-
|
|
17709
|
-
|
|
17710
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
17711
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
17972
|
+
.muka-action-sheet__item-icon svg {
|
|
17973
|
+
width: 100%;
|
|
17974
|
+
height: 100%;
|
|
17712
17975
|
}
|
|
17713
17976
|
|
|
17714
|
-
|
|
17715
|
-
|
|
17716
|
-
display: flex;
|
|
17717
|
-
flex-direction: column;
|
|
17718
|
-
align-items: flex-start;
|
|
17719
|
-
padding-top: var(--spacing-1);
|
|
17977
|
+
.muka-action-sheet__item-label {
|
|
17978
|
+
flex: 1;
|
|
17720
17979
|
}
|
|
17721
17980
|
|
|
17722
|
-
/*
|
|
17723
|
-
|
|
17981
|
+
/* ─── Cancel button (separate at bottom) ──────────────── */
|
|
17982
|
+
|
|
17983
|
+
.muka-action-sheet__cancel {
|
|
17724
17984
|
display: flex;
|
|
17725
17985
|
align-items: center;
|
|
17726
17986
|
justify-content: center;
|
|
17727
|
-
|
|
17728
|
-
|
|
17729
|
-
width: 24px;
|
|
17730
|
-
height: 24px;
|
|
17731
|
-
padding: 0;
|
|
17732
|
-
margin: 0 0 0 auto;
|
|
17987
|
+
padding: var(--spacing-3) var(--spacing-4);
|
|
17988
|
+
background-color: var(--color-surface-level1);
|
|
17733
17989
|
border: none;
|
|
17734
|
-
|
|
17990
|
+
border-radius: var(--radius-md);
|
|
17735
17991
|
cursor: pointer;
|
|
17736
|
-
|
|
17737
|
-
|
|
17992
|
+
color: var(--color-text-default-default);
|
|
17993
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
17994
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
17995
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
17996
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
17997
|
+
-webkit-tap-highlight-color: transparent;
|
|
17998
|
+
transition: background-color 0.12s ease;
|
|
17738
17999
|
}
|
|
17739
18000
|
|
|
17740
|
-
.muka-
|
|
17741
|
-
|
|
17742
|
-
background-color: rgba(0, 0, 0, 0.05);
|
|
18001
|
+
.muka-action-sheet__cancel:hover {
|
|
18002
|
+
background-color: var(--color-surface-level2);
|
|
17743
18003
|
}
|
|
17744
18004
|
|
|
17745
|
-
.muka-
|
|
17746
|
-
outline: 2px solid var(--color-
|
|
18005
|
+
.muka-action-sheet__cancel:focus-visible {
|
|
18006
|
+
outline: 2px solid var(--color-action-default);
|
|
17747
18007
|
outline-offset: 2px;
|
|
17748
18008
|
}
|
|
17749
18009
|
|
|
17750
|
-
.muka-alert__dismiss svg {
|
|
17751
|
-
width: 16px;
|
|
17752
|
-
height: 16px;
|
|
17753
|
-
}
|
|
17754
|
-
|
|
17755
18010
|
|
|
17756
18011
|
/* AgentTaskList */
|
|
17757
18012
|
/* AgentTaskList Component Styles */
|
|
@@ -17922,148 +18177,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
17922
18177
|
}
|
|
17923
18178
|
|
|
17924
18179
|
|
|
17925
|
-
/* ActionSheet */
|
|
17926
|
-
/* ActionSheet Component Styles */
|
|
17927
|
-
|
|
17928
|
-
.muka-action-sheet__inner {
|
|
17929
|
-
display: flex;
|
|
17930
|
-
flex-direction: column;
|
|
17931
|
-
padding: 0 var(--spacing-4) var(--spacing-3) var(--spacing-4);
|
|
17932
|
-
gap: var(--spacing-3);
|
|
17933
|
-
}
|
|
17934
|
-
|
|
17935
|
-
/* ─── Header ──────────────────────────────────────────── */
|
|
17936
|
-
|
|
17937
|
-
.muka-action-sheet__header {
|
|
17938
|
-
display: flex;
|
|
17939
|
-
flex-direction: column;
|
|
17940
|
-
align-items: center;
|
|
17941
|
-
gap: var(--spacing-1);
|
|
17942
|
-
padding: var(--spacing-2) 0 var(--spacing-3);
|
|
17943
|
-
text-align: center;
|
|
17944
|
-
}
|
|
17945
|
-
|
|
17946
|
-
.muka-action-sheet__title {
|
|
17947
|
-
margin: 0;
|
|
17948
|
-
color: var(--color-text-default-default);
|
|
17949
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
17950
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
17951
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
17952
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
17953
|
-
}
|
|
17954
|
-
|
|
17955
|
-
.muka-action-sheet__description {
|
|
17956
|
-
margin: 0;
|
|
17957
|
-
color: var(--color-text-subtle-default);
|
|
17958
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
17959
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
17960
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
17961
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
17962
|
-
}
|
|
17963
|
-
|
|
17964
|
-
/* ─── Actions group ───────────────────────────────────── */
|
|
17965
|
-
|
|
17966
|
-
.muka-action-sheet__actions {
|
|
17967
|
-
display: flex;
|
|
17968
|
-
flex-direction: column;
|
|
17969
|
-
background-color: var(--color-surface-level1);
|
|
17970
|
-
border-radius: var(--radius-md);
|
|
17971
|
-
overflow: hidden;
|
|
17972
|
-
}
|
|
17973
|
-
|
|
17974
|
-
.muka-action-sheet__item {
|
|
17975
|
-
display: flex;
|
|
17976
|
-
align-items: center;
|
|
17977
|
-
gap: var(--spacing-3);
|
|
17978
|
-
padding: var(--spacing-3) var(--spacing-4);
|
|
17979
|
-
background: none;
|
|
17980
|
-
border: none;
|
|
17981
|
-
cursor: pointer;
|
|
17982
|
-
text-align: left;
|
|
17983
|
-
color: var(--color-text-default-default);
|
|
17984
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
17985
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
17986
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
17987
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
17988
|
-
-webkit-tap-highlight-color: transparent;
|
|
17989
|
-
transition: background-color 0.12s ease;
|
|
17990
|
-
}
|
|
17991
|
-
|
|
17992
|
-
.muka-action-sheet__item + .muka-action-sheet__item {
|
|
17993
|
-
border-top: var(--border-width-regular) solid var(--color-border-default);
|
|
17994
|
-
}
|
|
17995
|
-
|
|
17996
|
-
.muka-action-sheet__item:hover:not(:disabled) {
|
|
17997
|
-
background-color: var(--color-surface-level2);
|
|
17998
|
-
}
|
|
17999
|
-
|
|
18000
|
-
.muka-action-sheet__item:active:not(:disabled) {
|
|
18001
|
-
background-color: var(--color-surface-level3);
|
|
18002
|
-
}
|
|
18003
|
-
|
|
18004
|
-
.muka-action-sheet__item:focus-visible {
|
|
18005
|
-
outline: 2px solid var(--color-action-default);
|
|
18006
|
-
outline-offset: -2px;
|
|
18007
|
-
}
|
|
18008
|
-
|
|
18009
|
-
.muka-action-sheet__item--destructive {
|
|
18010
|
-
color: var(--color-state-error-default);
|
|
18011
|
-
}
|
|
18012
|
-
|
|
18013
|
-
.muka-action-sheet__item--disabled,
|
|
18014
|
-
.muka-action-sheet__item:disabled {
|
|
18015
|
-
opacity: 0.5;
|
|
18016
|
-
cursor: not-allowed;
|
|
18017
|
-
}
|
|
18018
|
-
|
|
18019
|
-
.muka-action-sheet__item-icon {
|
|
18020
|
-
display: inline-flex;
|
|
18021
|
-
align-items: center;
|
|
18022
|
-
justify-content: center;
|
|
18023
|
-
width: 24px;
|
|
18024
|
-
height: 24px;
|
|
18025
|
-
flex-shrink: 0;
|
|
18026
|
-
}
|
|
18027
|
-
|
|
18028
|
-
.muka-action-sheet__item-icon svg {
|
|
18029
|
-
width: 100%;
|
|
18030
|
-
height: 100%;
|
|
18031
|
-
}
|
|
18032
|
-
|
|
18033
|
-
.muka-action-sheet__item-label {
|
|
18034
|
-
flex: 1;
|
|
18035
|
-
}
|
|
18036
|
-
|
|
18037
|
-
/* ─── Cancel button (separate at bottom) ──────────────── */
|
|
18038
|
-
|
|
18039
|
-
.muka-action-sheet__cancel {
|
|
18040
|
-
display: flex;
|
|
18041
|
-
align-items: center;
|
|
18042
|
-
justify-content: center;
|
|
18043
|
-
padding: var(--spacing-3) var(--spacing-4);
|
|
18044
|
-
background-color: var(--color-surface-level1);
|
|
18045
|
-
border: none;
|
|
18046
|
-
border-radius: var(--radius-md);
|
|
18047
|
-
cursor: pointer;
|
|
18048
|
-
color: var(--color-text-default-default);
|
|
18049
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
18050
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
18051
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
18052
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
18053
|
-
-webkit-tap-highlight-color: transparent;
|
|
18054
|
-
transition: background-color 0.12s ease;
|
|
18055
|
-
}
|
|
18056
|
-
|
|
18057
|
-
.muka-action-sheet__cancel:hover {
|
|
18058
|
-
background-color: var(--color-surface-level2);
|
|
18059
|
-
}
|
|
18060
|
-
|
|
18061
|
-
.muka-action-sheet__cancel:focus-visible {
|
|
18062
|
-
outline: 2px solid var(--color-action-default);
|
|
18063
|
-
outline-offset: 2px;
|
|
18064
|
-
}
|
|
18065
|
-
|
|
18066
|
-
|
|
18067
18180
|
/* Accordion */
|
|
18068
18181
|
/* Accordion Component Styles */
|
|
18069
18182
|
|