@revikornmann/muka-ui 0.56.0 → 0.59.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/ListItem/ListItem.css +37 -0
- package/dist/cjs/components/ListItem/ListItem.js +2 -1
- package/dist/cjs/components/ListItem/ListItem.js.map +1 -1
- package/dist/cjs/components/Menu/Menu.css +33 -0
- package/dist/cjs/components/ProfileBadge/ProfileBadge.css +43 -0
- package/dist/cjs/components/ProfileBadge/ProfileBadge.js +7 -2
- package/dist/cjs/components/ProfileBadge/ProfileBadge.js.map +1 -1
- package/dist/cjs/components/SiteHeader/SiteHeader.css +38 -0
- package/dist/cjs/components/SiteHeader/SiteHeader.js +2 -1
- package/dist/cjs/components/SiteHeader/SiteHeader.js.map +1 -1
- package/dist/cjs/components/TopBar/TopBar.css +22 -28
- package/dist/cjs/components/TopBar/TopBar.js +21 -21
- package/dist/cjs/components/TopBar/TopBar.js.map +1 -1
- package/dist/cjs/components/View/View.js +2 -2
- package/dist/cjs/components/View/View.js.map +1 -1
- package/dist/esm/components/ListItem/ListItem.css +37 -0
- package/dist/esm/components/ListItem/ListItem.js +2 -1
- package/dist/esm/components/ListItem/ListItem.js.map +1 -1
- package/dist/esm/components/Menu/Menu.css +33 -0
- package/dist/esm/components/ProfileBadge/ProfileBadge.css +43 -0
- package/dist/esm/components/ProfileBadge/ProfileBadge.js +7 -2
- package/dist/esm/components/ProfileBadge/ProfileBadge.js.map +1 -1
- package/dist/esm/components/SiteHeader/SiteHeader.css +38 -0
- package/dist/esm/components/SiteHeader/SiteHeader.js +2 -1
- package/dist/esm/components/SiteHeader/SiteHeader.js.map +1 -1
- package/dist/esm/components/TopBar/TopBar.css +22 -28
- package/dist/esm/components/TopBar/TopBar.js +21 -21
- package/dist/esm/components/TopBar/TopBar.js.map +1 -1
- package/dist/esm/components/View/View.js +2 -2
- package/dist/esm/components/View/View.js.map +1 -1
- package/dist/styles/components/ListItem.css +37 -0
- package/dist/styles/components/Menu.css +33 -0
- package/dist/styles/components/ProfileBadge.css +43 -0
- package/dist/styles/components/SiteHeader.css +38 -0
- package/dist/styles/components/TopBar.css +22 -28
- package/dist/styles/index.css +1198 -1051
- package/dist/styles/muka-dark.css +1198 -1051
- package/dist/styles/muka-light.css +1198 -1051
- package/dist/styles/tokens-bouwplan-dark.css +3 -1
- package/dist/styles/tokens-bouwplan-light.css +3 -1
- package/dist/styles/tokens-fscl-dark.css +3 -1
- package/dist/styles/tokens-fscl-light.css +3 -1
- package/dist/styles/tokens-grip-dark.css +3 -1
- package/dist/styles/tokens-grip-light.css +3 -1
- package/dist/styles/tokens-muka-dark.css +3 -1
- package/dist/styles/tokens-muka-light.css +3 -1
- package/dist/styles/tokens-wireframe-dark.css +3 -1
- package/dist/styles/tokens-wireframe-light.css +3 -1
- package/dist/styles/wireframe-dark.css +1198 -1051
- package/dist/styles/wireframe-light.css +1198 -1051
- package/dist/types/components/ListItem/ListItem.d.ts +7 -0
- package/dist/types/components/ListItem/ListItem.d.ts.map +1 -1
- package/dist/types/components/ProfileBadge/ProfileBadge.d.ts +13 -1
- package/dist/types/components/ProfileBadge/ProfileBadge.d.ts.map +1 -1
- package/dist/types/components/SiteHeader/SiteHeader.d.ts +7 -0
- package/dist/types/components/SiteHeader/SiteHeader.d.ts.map +1 -1
- package/dist/types/components/TopBar/TopBar.d.ts +3 -9
- package/dist/types/components/TopBar/TopBar.d.ts.map +1 -1
- package/dist/types/components/View/View.d.ts +0 -6
- package/dist/types/components/View/View.d.ts.map +1 -1
- package/package.json +1 -1
- package/tokens/t4-components/topbar.json +15 -1
|
@@ -2206,8 +2206,9 @@ body {
|
|
|
2206
2206
|
--topbar-height-lg: 80px;
|
|
2207
2207
|
--topbar-padding-x-sm: 0.75rem;
|
|
2208
2208
|
--topbar-padding-x-md: 0.75rem;
|
|
2209
|
-
--topbar-padding-x-lg:
|
|
2209
|
+
--topbar-padding-x-lg: 1rem;
|
|
2210
2210
|
--topbar-title-max-width: 197px;
|
|
2211
|
+
--topbar-title-inset-lg: 0.5rem;
|
|
2211
2212
|
--topbar-icon-size-sm: 24px;
|
|
2212
2213
|
--topbar-icon-size-md: 32px;
|
|
2213
2214
|
--topbar-icon-size-lg: 32px;
|
|
@@ -2219,6 +2220,7 @@ body {
|
|
|
2219
2220
|
--topbar-drag-handle-color: #2b2b30;
|
|
2220
2221
|
--topbar-drag-handle-padding-y: 0.75rem;
|
|
2221
2222
|
--topbar-drag-handle-radius: 999rem;
|
|
2223
|
+
--topbar-gap-lg: 2rem;
|
|
2222
2224
|
--controlbar-color-background: #161618;
|
|
2223
2225
|
--controlbar-max-width-sm: 768px;
|
|
2224
2226
|
--controlbar-max-width-lg: 1024px;
|
|
@@ -2923,7 +2925,6 @@ body {
|
|
|
2923
2925
|
--tb-title-font-size: var(--text-heading-xs-fontSize);
|
|
2924
2926
|
--tb-title-line-height: var(--text-heading-xs-lineHeight);
|
|
2925
2927
|
--tb-title-letter-spacing: var(--text-heading-xs-letterSpacing);
|
|
2926
|
-
--tb-breadcrumb-display: none;
|
|
2927
2928
|
--tb-pad-y: 0;
|
|
2928
2929
|
}
|
|
2929
2930
|
|
|
@@ -2950,7 +2951,7 @@ body {
|
|
|
2950
2951
|
--tb-title-letter-spacing: var(--text-heading-md-letterSpacing);
|
|
2951
2952
|
}
|
|
2952
2953
|
|
|
2953
|
-
/* ─── Large tier: left-aligned title
|
|
2954
|
+
/* ─── Large tier: back button, then a left-aligned title ─── */
|
|
2954
2955
|
@media (min-width: 1024px) {
|
|
2955
2956
|
.muka-topbar:not([data-size]):not([data-max-size='md']) {
|
|
2956
2957
|
--tb-height: var(--topbar-height-lg);
|
|
@@ -2964,7 +2965,6 @@ body {
|
|
|
2964
2965
|
--tb-title-font-size: var(--text-heading-md-fontSize);
|
|
2965
2966
|
--tb-title-line-height: var(--text-heading-md-lineHeight);
|
|
2966
2967
|
--tb-title-letter-spacing: var(--text-heading-md-letterSpacing);
|
|
2967
|
-
--tb-breadcrumb-display: flex;
|
|
2968
2968
|
}
|
|
2969
2969
|
}
|
|
2970
2970
|
|
|
@@ -2980,7 +2980,6 @@ body {
|
|
|
2980
2980
|
--tb-title-font-size: var(--text-heading-md-fontSize);
|
|
2981
2981
|
--tb-title-line-height: var(--text-heading-md-lineHeight);
|
|
2982
2982
|
--tb-title-letter-spacing: var(--text-heading-md-letterSpacing);
|
|
2983
|
-
--tb-breadcrumb-display: flex;
|
|
2984
2983
|
}
|
|
2985
2984
|
|
|
2986
2985
|
/* Push content below the iOS notch / status bar. Opt out via disableSafeArea. */
|
|
@@ -3004,13 +3003,6 @@ body {
|
|
|
3004
3003
|
border-radius: var(--topbar-drag-handle-radius);
|
|
3005
3004
|
}
|
|
3006
3005
|
|
|
3007
|
-
/* ─── Breadcrumb (large tier, stacked above the title) ── */
|
|
3008
|
-
|
|
3009
|
-
.muka-topbar__breadcrumb {
|
|
3010
|
-
display: var(--tb-breadcrumb-display);
|
|
3011
|
-
align-items: center;
|
|
3012
|
-
}
|
|
3013
|
-
|
|
3014
3006
|
/* ─── Container (the bar itself) ──────────────────────── */
|
|
3015
3007
|
|
|
3016
3008
|
.muka-topbar__container {
|
|
@@ -3039,46 +3031,50 @@ body {
|
|
|
3039
3031
|
z-index: 1;
|
|
3040
3032
|
}
|
|
3041
3033
|
|
|
3042
|
-
/*
|
|
3043
|
-
@media (min-width: 1024px) {
|
|
3044
|
-
.muka-topbar:not([data-size]):not([data-max-size='md']):has(.muka-topbar__breadcrumb) .muka-topbar__leading {
|
|
3045
|
-
display: none;
|
|
3046
|
-
}
|
|
3047
|
-
}
|
|
3048
|
-
|
|
3049
|
-
.muka-topbar[data-size='lg']:has(.muka-topbar__breadcrumb) .muka-topbar__leading {
|
|
3050
|
-
display: none;
|
|
3051
|
-
}
|
|
3052
|
-
|
|
3053
|
-
/* ─── Heading (breadcrumb + title) ────────────────────── */
|
|
3034
|
+
/* ─── Heading (title) ─────────────────────────────────── */
|
|
3054
3035
|
|
|
3055
|
-
/* Base/sm/md: transparent wrapper so the title is the center grid item
|
|
3056
|
-
the breadcrumb stays hidden. */
|
|
3036
|
+
/* Base/sm/md: transparent wrapper so the title is the center grid item. */
|
|
3057
3037
|
.muka-topbar__heading {
|
|
3058
3038
|
display: contents;
|
|
3059
3039
|
}
|
|
3060
3040
|
|
|
3061
|
-
/* Large tier:
|
|
3041
|
+
/* Large tier: the heading takes the free width so a long title truncates
|
|
3042
|
+
before the trailing actions, and sits a fixed gap after the back button. */
|
|
3062
3043
|
@media (min-width: 1024px) {
|
|
3063
3044
|
.muka-topbar:not([data-size]):not([data-max-size='md']) .muka-topbar__heading {
|
|
3064
3045
|
display: flex;
|
|
3065
3046
|
flex-direction: column;
|
|
3066
3047
|
justify-content: center;
|
|
3067
|
-
gap: var(--spacing-1);
|
|
3068
3048
|
flex: 1 1 0%;
|
|
3069
3049
|
min-width: 0;
|
|
3070
3050
|
}
|
|
3051
|
+
|
|
3052
|
+
.muka-topbar:not([data-size]):not([data-max-size='md']) .muka-topbar__leading + .muka-topbar__heading {
|
|
3053
|
+
margin-left: var(--topbar-gap-lg);
|
|
3054
|
+
}
|
|
3055
|
+
|
|
3056
|
+
.muka-topbar:not([data-size]):not([data-max-size='md']) .muka-topbar__heading:first-child {
|
|
3057
|
+
padding-left: var(--topbar-title-inset-lg);
|
|
3058
|
+
}
|
|
3071
3059
|
}
|
|
3072
3060
|
|
|
3073
3061
|
.muka-topbar[data-size='lg'] .muka-topbar__heading {
|
|
3074
3062
|
display: flex;
|
|
3075
3063
|
flex-direction: column;
|
|
3076
3064
|
justify-content: center;
|
|
3077
|
-
gap: var(--spacing-1);
|
|
3078
3065
|
flex: 1 1 0%;
|
|
3079
3066
|
min-width: 0;
|
|
3080
3067
|
}
|
|
3081
3068
|
|
|
3069
|
+
.muka-topbar[data-size='lg'] .muka-topbar__leading + .muka-topbar__heading {
|
|
3070
|
+
margin-left: var(--topbar-gap-lg);
|
|
3071
|
+
}
|
|
3072
|
+
|
|
3073
|
+
/* No back button: the title sits a little further in than the bar padding. */
|
|
3074
|
+
.muka-topbar[data-size='lg'] .muka-topbar__heading:first-child {
|
|
3075
|
+
padding-left: var(--topbar-title-inset-lg);
|
|
3076
|
+
}
|
|
3077
|
+
|
|
3082
3078
|
/* ─── Title ───────────────────────────────────────────── */
|
|
3083
3079
|
|
|
3084
3080
|
.muka-topbar__title {
|
|
@@ -4065,191 +4061,6 @@ body {
|
|
|
4065
4061
|
}
|
|
4066
4062
|
|
|
4067
4063
|
|
|
4068
|
-
/* Thumbnail */
|
|
4069
|
-
/* Thumbnail Component Styles - Using Muka Design Tokens */
|
|
4070
|
-
|
|
4071
|
-
.muka-thumbnail {
|
|
4072
|
-
position: relative;
|
|
4073
|
-
flex-shrink: 0;
|
|
4074
|
-
}
|
|
4075
|
-
|
|
4076
|
-
/* The frame carries the border, background and shape clip. Keeping it separate
|
|
4077
|
-
from the root lets the remove (×) button sit outside the clip (needed for the
|
|
4078
|
-
circular/ellipse shape, whose corners would otherwise clip the button). */
|
|
4079
|
-
.muka-thumbnail__frame {
|
|
4080
|
-
position: absolute;
|
|
4081
|
-
inset: 0;
|
|
4082
|
-
overflow: hidden;
|
|
4083
|
-
border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
|
|
4084
|
-
border-radius: var(--border-radius-lg);
|
|
4085
|
-
background-color: var(--color-surface-level1);
|
|
4086
|
-
}
|
|
4087
|
-
|
|
4088
|
-
/* ─── Shapes ──────────────────────────────────────────── */
|
|
4089
|
-
.muka-thumbnail--4-3 {
|
|
4090
|
-
width: 160px;
|
|
4091
|
-
height: 120px;
|
|
4092
|
-
}
|
|
4093
|
-
|
|
4094
|
-
.muka-thumbnail--1-1 {
|
|
4095
|
-
width: 120px;
|
|
4096
|
-
height: 120px;
|
|
4097
|
-
}
|
|
4098
|
-
|
|
4099
|
-
.muka-thumbnail--ellipse {
|
|
4100
|
-
width: 120px;
|
|
4101
|
-
height: 120px;
|
|
4102
|
-
}
|
|
4103
|
-
|
|
4104
|
-
/* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
|
|
4105
|
-
.muka-thumbnail--fluid {
|
|
4106
|
-
width: 100%;
|
|
4107
|
-
height: auto;
|
|
4108
|
-
aspect-ratio: 1 / 1;
|
|
4109
|
-
}
|
|
4110
|
-
|
|
4111
|
-
.muka-thumbnail--fluid.muka-thumbnail--4-3 {
|
|
4112
|
-
aspect-ratio: 4 / 3;
|
|
4113
|
-
}
|
|
4114
|
-
|
|
4115
|
-
.muka-thumbnail--ellipse .muka-thumbnail__frame {
|
|
4116
|
-
border-radius: var(--border-radius-full);
|
|
4117
|
-
}
|
|
4118
|
-
|
|
4119
|
-
/* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
|
|
4120
|
-
interactive hover zoom has a clean origin. */
|
|
4121
|
-
.muka-thumbnail__image {
|
|
4122
|
-
position: absolute;
|
|
4123
|
-
inset: 0;
|
|
4124
|
-
width: 100%;
|
|
4125
|
-
height: 100%;
|
|
4126
|
-
object-fit: cover;
|
|
4127
|
-
display: block;
|
|
4128
|
-
transform-origin: center;
|
|
4129
|
-
/* Micro-interaction: hover zoom eases out over the "micro" duration. */
|
|
4130
|
-
transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4131
|
-
}
|
|
4132
|
-
|
|
4133
|
-
/* ─── Interactive (click-to-enlarge) ──────────────────── */
|
|
4134
|
-
.muka-thumbnail__trigger {
|
|
4135
|
-
position: absolute;
|
|
4136
|
-
inset: 0;
|
|
4137
|
-
padding: 0;
|
|
4138
|
-
border: 0;
|
|
4139
|
-
background: none;
|
|
4140
|
-
cursor: pointer;
|
|
4141
|
-
overflow: hidden;
|
|
4142
|
-
}
|
|
4143
|
-
|
|
4144
|
-
.muka-thumbnail__trigger:focus-visible {
|
|
4145
|
-
outline: 2px solid var(--color-border-focus);
|
|
4146
|
-
outline-offset: -2px;
|
|
4147
|
-
}
|
|
4148
|
-
|
|
4149
|
-
/* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
|
|
4150
|
-
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
4151
|
-
transform: scale(1.05);
|
|
4152
|
-
}
|
|
4153
|
-
|
|
4154
|
-
/* ─── Loading overlay + progress donut ────────────────── */
|
|
4155
|
-
.muka-thumbnail__overlay {
|
|
4156
|
-
position: absolute;
|
|
4157
|
-
inset: 0;
|
|
4158
|
-
display: flex;
|
|
4159
|
-
align-items: center;
|
|
4160
|
-
justify-content: center;
|
|
4161
|
-
background-color: var(--dialog-color-backdrop);
|
|
4162
|
-
}
|
|
4163
|
-
|
|
4164
|
-
.muka-thumbnail__progress {
|
|
4165
|
-
width: 40px;
|
|
4166
|
-
height: 40px;
|
|
4167
|
-
}
|
|
4168
|
-
|
|
4169
|
-
/* ─── Error / corrupt state ───────────────────────────── */
|
|
4170
|
-
.muka-thumbnail--error .muka-thumbnail__frame {
|
|
4171
|
-
background-color: var(--alias-color-state-error-muted);
|
|
4172
|
-
border-color: var(--alias-color-state-error-default);
|
|
4173
|
-
}
|
|
4174
|
-
|
|
4175
|
-
.muka-thumbnail__error {
|
|
4176
|
-
position: absolute;
|
|
4177
|
-
inset: 0;
|
|
4178
|
-
display: flex;
|
|
4179
|
-
flex-direction: column;
|
|
4180
|
-
align-items: center;
|
|
4181
|
-
justify-content: center;
|
|
4182
|
-
gap: var(--spacing-2);
|
|
4183
|
-
padding: var(--spacing-3);
|
|
4184
|
-
text-align: center;
|
|
4185
|
-
}
|
|
4186
|
-
|
|
4187
|
-
.muka-thumbnail__error-icon {
|
|
4188
|
-
color: var(--alert-color-error-accent);
|
|
4189
|
-
}
|
|
4190
|
-
|
|
4191
|
-
.muka-thumbnail__caption {
|
|
4192
|
-
max-width: 100%;
|
|
4193
|
-
overflow: hidden;
|
|
4194
|
-
text-overflow: ellipsis;
|
|
4195
|
-
white-space: nowrap;
|
|
4196
|
-
color: var(--alert-color-error-accent);
|
|
4197
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
4198
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
4199
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
4200
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
4201
|
-
}
|
|
4202
|
-
|
|
4203
|
-
/* ─── Remove (×) button ───────────────────────────────── */
|
|
4204
|
-
.muka-thumbnail__remove {
|
|
4205
|
-
position: absolute;
|
|
4206
|
-
top: var(--spacing-2);
|
|
4207
|
-
right: var(--spacing-2);
|
|
4208
|
-
display: flex;
|
|
4209
|
-
align-items: center;
|
|
4210
|
-
justify-content: center;
|
|
4211
|
-
width: var(--size-2xl);
|
|
4212
|
-
height: var(--size-2xl);
|
|
4213
|
-
padding: 0;
|
|
4214
|
-
color: var(--button-color-tertiary-foreground-default);
|
|
4215
|
-
background-color: var(--button-color-tertiary-background-default);
|
|
4216
|
-
border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
|
|
4217
|
-
border-radius: var(--border-radius-lg);
|
|
4218
|
-
cursor: pointer;
|
|
4219
|
-
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
4220
|
-
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4221
|
-
}
|
|
4222
|
-
|
|
4223
|
-
.muka-thumbnail__remove:hover {
|
|
4224
|
-
color: var(--button-color-tertiary-foreground-hover);
|
|
4225
|
-
background-color: var(--button-color-tertiary-background-hover);
|
|
4226
|
-
border-color: var(--button-color-tertiary-border-hover);
|
|
4227
|
-
}
|
|
4228
|
-
|
|
4229
|
-
.muka-thumbnail__remove:active {
|
|
4230
|
-
color: var(--button-color-tertiary-foreground-pressed);
|
|
4231
|
-
background-color: var(--button-color-tertiary-background-pressed);
|
|
4232
|
-
border-color: var(--button-color-tertiary-border-pressed);
|
|
4233
|
-
}
|
|
4234
|
-
|
|
4235
|
-
.muka-thumbnail__remove:focus-visible {
|
|
4236
|
-
outline: 2px solid var(--color-border-focus);
|
|
4237
|
-
outline-offset: 2px;
|
|
4238
|
-
}
|
|
4239
|
-
|
|
4240
|
-
/* ─── Reduced motion ──────────────────────────────────── */
|
|
4241
|
-
@media (prefers-reduced-motion: reduce) {
|
|
4242
|
-
.muka-thumbnail__image,
|
|
4243
|
-
.muka-thumbnail__remove {
|
|
4244
|
-
transition: none;
|
|
4245
|
-
}
|
|
4246
|
-
|
|
4247
|
-
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
4248
|
-
transform: none;
|
|
4249
|
-
}
|
|
4250
|
-
}
|
|
4251
|
-
|
|
4252
|
-
|
|
4253
4064
|
/* Textarea */
|
|
4254
4065
|
/* Textarea Component Styles - Using Muka Design Tokens */
|
|
4255
4066
|
|
|
@@ -4686,36 +4497,221 @@ body {
|
|
|
4686
4497
|
}
|
|
4687
4498
|
|
|
4688
4499
|
|
|
4689
|
-
/*
|
|
4690
|
-
/*
|
|
4500
|
+
/* Thumbnail */
|
|
4501
|
+
/* Thumbnail Component Styles - Using Muka Design Tokens */
|
|
4691
4502
|
|
|
4692
|
-
|
|
4693
|
-
|
|
4694
|
-
|
|
4503
|
+
.muka-thumbnail {
|
|
4504
|
+
position: relative;
|
|
4505
|
+
flex-shrink: 0;
|
|
4506
|
+
}
|
|
4695
4507
|
|
|
4696
|
-
.
|
|
4697
|
-
|
|
4698
|
-
|
|
4699
|
-
|
|
4700
|
-
|
|
4701
|
-
|
|
4702
|
-
|
|
4703
|
-
|
|
4704
|
-
border-
|
|
4705
|
-
|
|
4706
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
4707
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
4708
|
-
color: var(--color-text-default-default);
|
|
4508
|
+
/* The frame carries the border, background and shape clip. Keeping it separate
|
|
4509
|
+
from the root lets the remove (×) button sit outside the clip (needed for the
|
|
4510
|
+
circular/ellipse shape, whose corners would otherwise clip the button). */
|
|
4511
|
+
.muka-thumbnail__frame {
|
|
4512
|
+
position: absolute;
|
|
4513
|
+
inset: 0;
|
|
4514
|
+
overflow: hidden;
|
|
4515
|
+
border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
|
|
4516
|
+
border-radius: var(--border-radius-lg);
|
|
4517
|
+
background-color: var(--color-surface-level1);
|
|
4709
4518
|
}
|
|
4710
4519
|
|
|
4711
|
-
/*
|
|
4712
|
-
|
|
4713
|
-
|
|
4520
|
+
/* ─── Shapes ──────────────────────────────────────────── */
|
|
4521
|
+
.muka-thumbnail--4-3 {
|
|
4522
|
+
width: 160px;
|
|
4523
|
+
height: 120px;
|
|
4524
|
+
}
|
|
4714
4525
|
|
|
4715
|
-
.muka-
|
|
4716
|
-
|
|
4717
|
-
|
|
4718
|
-
|
|
4526
|
+
.muka-thumbnail--1-1 {
|
|
4527
|
+
width: 120px;
|
|
4528
|
+
height: 120px;
|
|
4529
|
+
}
|
|
4530
|
+
|
|
4531
|
+
.muka-thumbnail--ellipse {
|
|
4532
|
+
width: 120px;
|
|
4533
|
+
height: 120px;
|
|
4534
|
+
}
|
|
4535
|
+
|
|
4536
|
+
/* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
|
|
4537
|
+
.muka-thumbnail--fluid {
|
|
4538
|
+
width: 100%;
|
|
4539
|
+
height: auto;
|
|
4540
|
+
aspect-ratio: 1 / 1;
|
|
4541
|
+
}
|
|
4542
|
+
|
|
4543
|
+
.muka-thumbnail--fluid.muka-thumbnail--4-3 {
|
|
4544
|
+
aspect-ratio: 4 / 3;
|
|
4545
|
+
}
|
|
4546
|
+
|
|
4547
|
+
.muka-thumbnail--ellipse .muka-thumbnail__frame {
|
|
4548
|
+
border-radius: var(--border-radius-full);
|
|
4549
|
+
}
|
|
4550
|
+
|
|
4551
|
+
/* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
|
|
4552
|
+
interactive hover zoom has a clean origin. */
|
|
4553
|
+
.muka-thumbnail__image {
|
|
4554
|
+
position: absolute;
|
|
4555
|
+
inset: 0;
|
|
4556
|
+
width: 100%;
|
|
4557
|
+
height: 100%;
|
|
4558
|
+
object-fit: cover;
|
|
4559
|
+
display: block;
|
|
4560
|
+
transform-origin: center;
|
|
4561
|
+
/* Micro-interaction: hover zoom eases out over the "micro" duration. */
|
|
4562
|
+
transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4563
|
+
}
|
|
4564
|
+
|
|
4565
|
+
/* ─── Interactive (click-to-enlarge) ──────────────────── */
|
|
4566
|
+
.muka-thumbnail__trigger {
|
|
4567
|
+
position: absolute;
|
|
4568
|
+
inset: 0;
|
|
4569
|
+
padding: 0;
|
|
4570
|
+
border: 0;
|
|
4571
|
+
background: none;
|
|
4572
|
+
cursor: pointer;
|
|
4573
|
+
overflow: hidden;
|
|
4574
|
+
}
|
|
4575
|
+
|
|
4576
|
+
.muka-thumbnail__trigger:focus-visible {
|
|
4577
|
+
outline: 2px solid var(--color-border-focus);
|
|
4578
|
+
outline-offset: -2px;
|
|
4579
|
+
}
|
|
4580
|
+
|
|
4581
|
+
/* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
|
|
4582
|
+
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
4583
|
+
transform: scale(1.05);
|
|
4584
|
+
}
|
|
4585
|
+
|
|
4586
|
+
/* ─── Loading overlay + progress donut ────────────────── */
|
|
4587
|
+
.muka-thumbnail__overlay {
|
|
4588
|
+
position: absolute;
|
|
4589
|
+
inset: 0;
|
|
4590
|
+
display: flex;
|
|
4591
|
+
align-items: center;
|
|
4592
|
+
justify-content: center;
|
|
4593
|
+
background-color: var(--dialog-color-backdrop);
|
|
4594
|
+
}
|
|
4595
|
+
|
|
4596
|
+
.muka-thumbnail__progress {
|
|
4597
|
+
width: 40px;
|
|
4598
|
+
height: 40px;
|
|
4599
|
+
}
|
|
4600
|
+
|
|
4601
|
+
/* ─── Error / corrupt state ───────────────────────────── */
|
|
4602
|
+
.muka-thumbnail--error .muka-thumbnail__frame {
|
|
4603
|
+
background-color: var(--alias-color-state-error-muted);
|
|
4604
|
+
border-color: var(--alias-color-state-error-default);
|
|
4605
|
+
}
|
|
4606
|
+
|
|
4607
|
+
.muka-thumbnail__error {
|
|
4608
|
+
position: absolute;
|
|
4609
|
+
inset: 0;
|
|
4610
|
+
display: flex;
|
|
4611
|
+
flex-direction: column;
|
|
4612
|
+
align-items: center;
|
|
4613
|
+
justify-content: center;
|
|
4614
|
+
gap: var(--spacing-2);
|
|
4615
|
+
padding: var(--spacing-3);
|
|
4616
|
+
text-align: center;
|
|
4617
|
+
}
|
|
4618
|
+
|
|
4619
|
+
.muka-thumbnail__error-icon {
|
|
4620
|
+
color: var(--alert-color-error-accent);
|
|
4621
|
+
}
|
|
4622
|
+
|
|
4623
|
+
.muka-thumbnail__caption {
|
|
4624
|
+
max-width: 100%;
|
|
4625
|
+
overflow: hidden;
|
|
4626
|
+
text-overflow: ellipsis;
|
|
4627
|
+
white-space: nowrap;
|
|
4628
|
+
color: var(--alert-color-error-accent);
|
|
4629
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
4630
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
4631
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
4632
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
4633
|
+
}
|
|
4634
|
+
|
|
4635
|
+
/* ─── Remove (×) button ───────────────────────────────── */
|
|
4636
|
+
.muka-thumbnail__remove {
|
|
4637
|
+
position: absolute;
|
|
4638
|
+
top: var(--spacing-2);
|
|
4639
|
+
right: var(--spacing-2);
|
|
4640
|
+
display: flex;
|
|
4641
|
+
align-items: center;
|
|
4642
|
+
justify-content: center;
|
|
4643
|
+
width: var(--size-2xl);
|
|
4644
|
+
height: var(--size-2xl);
|
|
4645
|
+
padding: 0;
|
|
4646
|
+
color: var(--button-color-tertiary-foreground-default);
|
|
4647
|
+
background-color: var(--button-color-tertiary-background-default);
|
|
4648
|
+
border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
|
|
4649
|
+
border-radius: var(--border-radius-lg);
|
|
4650
|
+
cursor: pointer;
|
|
4651
|
+
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
4652
|
+
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4653
|
+
}
|
|
4654
|
+
|
|
4655
|
+
.muka-thumbnail__remove:hover {
|
|
4656
|
+
color: var(--button-color-tertiary-foreground-hover);
|
|
4657
|
+
background-color: var(--button-color-tertiary-background-hover);
|
|
4658
|
+
border-color: var(--button-color-tertiary-border-hover);
|
|
4659
|
+
}
|
|
4660
|
+
|
|
4661
|
+
.muka-thumbnail__remove:active {
|
|
4662
|
+
color: var(--button-color-tertiary-foreground-pressed);
|
|
4663
|
+
background-color: var(--button-color-tertiary-background-pressed);
|
|
4664
|
+
border-color: var(--button-color-tertiary-border-pressed);
|
|
4665
|
+
}
|
|
4666
|
+
|
|
4667
|
+
.muka-thumbnail__remove:focus-visible {
|
|
4668
|
+
outline: 2px solid var(--color-border-focus);
|
|
4669
|
+
outline-offset: 2px;
|
|
4670
|
+
}
|
|
4671
|
+
|
|
4672
|
+
/* ─── Reduced motion ──────────────────────────────────── */
|
|
4673
|
+
@media (prefers-reduced-motion: reduce) {
|
|
4674
|
+
.muka-thumbnail__image,
|
|
4675
|
+
.muka-thumbnail__remove {
|
|
4676
|
+
transition: none;
|
|
4677
|
+
}
|
|
4678
|
+
|
|
4679
|
+
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
4680
|
+
transform: none;
|
|
4681
|
+
}
|
|
4682
|
+
}
|
|
4683
|
+
|
|
4684
|
+
|
|
4685
|
+
/* TablePagination */
|
|
4686
|
+
/* TablePagination Component Styles - Using Muka Design Tokens */
|
|
4687
|
+
|
|
4688
|
+
/* ========================================
|
|
4689
|
+
PAGINATION CONTAINER
|
|
4690
|
+
======================================== */
|
|
4691
|
+
|
|
4692
|
+
.muka-table-pagination {
|
|
4693
|
+
display: flex;
|
|
4694
|
+
align-items: center;
|
|
4695
|
+
justify-content: space-between;
|
|
4696
|
+
flex-wrap: wrap;
|
|
4697
|
+
gap: var(--table-pagination-gap, var(--spacing-4));
|
|
4698
|
+
padding: var(--table-pagination-padding, var(--spacing-3));
|
|
4699
|
+
background-color: var(--table-pagination-background, var(--color-surface-level1));
|
|
4700
|
+
border-top: var(--border-width-regular) solid var(--table-pagination-border, var(--color-border-default));
|
|
4701
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
4702
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
4703
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
4704
|
+
color: var(--color-text-default-default);
|
|
4705
|
+
}
|
|
4706
|
+
|
|
4707
|
+
/* ========================================
|
|
4708
|
+
LEFT SECTION (Page Size & Range)
|
|
4709
|
+
======================================== */
|
|
4710
|
+
|
|
4711
|
+
.muka-table-pagination__left {
|
|
4712
|
+
display: flex;
|
|
4713
|
+
align-items: center;
|
|
4714
|
+
gap: var(--spacing-4);
|
|
4719
4715
|
}
|
|
4720
4716
|
|
|
4721
4717
|
.muka-table-pagination__page-size {
|
|
@@ -5090,164 +5086,56 @@ body {
|
|
|
5090
5086
|
}
|
|
5091
5087
|
|
|
5092
5088
|
|
|
5093
|
-
/*
|
|
5094
|
-
/*
|
|
5089
|
+
/* Spinner */
|
|
5090
|
+
/* Spinner Component Styles */
|
|
5095
5091
|
|
|
5096
|
-
.muka-
|
|
5097
|
-
|
|
5098
|
-
|
|
5099
|
-
|
|
5100
|
-
-
|
|
5101
|
-
|
|
5102
|
-
background-color: var(--color-surface-level3);
|
|
5092
|
+
.muka-spinner {
|
|
5093
|
+
display: inline-flex;
|
|
5094
|
+
align-items: center;
|
|
5095
|
+
justify-content: center;
|
|
5096
|
+
color: var(--color-text-default-default);
|
|
5097
|
+
line-height: 0;
|
|
5103
5098
|
}
|
|
5104
5099
|
|
|
5105
|
-
.muka-
|
|
5106
|
-
|
|
5100
|
+
.muka-spinner--subtle {
|
|
5101
|
+
color: var(--color-text-subtle-default);
|
|
5107
5102
|
}
|
|
5108
5103
|
|
|
5109
|
-
|
|
5104
|
+
.muka-spinner--inverse {
|
|
5105
|
+
color: var(--color-text-default-inverse);
|
|
5106
|
+
}
|
|
5110
5107
|
|
|
5111
|
-
.muka-
|
|
5112
|
-
|
|
5113
|
-
|
|
5114
|
-
|
|
5115
|
-
|
|
5108
|
+
.muka-spinner__circle {
|
|
5109
|
+
display: inline-block;
|
|
5110
|
+
border-radius: 50%;
|
|
5111
|
+
border-style: solid;
|
|
5112
|
+
border-color: currentColor;
|
|
5113
|
+
border-right-color: transparent;
|
|
5114
|
+
animation: muka-spinner-rotate 0.7s linear infinite;
|
|
5115
|
+
box-sizing: border-box;
|
|
5116
5116
|
}
|
|
5117
5117
|
|
|
5118
|
-
/* ───
|
|
5118
|
+
/* ─── Sizes ───────────────────────────────────────────── */
|
|
5119
5119
|
|
|
5120
|
-
.muka-
|
|
5121
|
-
|
|
5122
|
-
|
|
5123
|
-
|
|
5124
|
-
display: flex;
|
|
5125
|
-
align-items: stretch;
|
|
5126
|
-
z-index: 0;
|
|
5120
|
+
.muka-spinner--sm .muka-spinner__circle {
|
|
5121
|
+
width: 16px;
|
|
5122
|
+
height: 16px;
|
|
5123
|
+
border-width: 2px;
|
|
5127
5124
|
}
|
|
5128
5125
|
|
|
5129
|
-
.muka-
|
|
5130
|
-
|
|
5126
|
+
.muka-spinner--md .muka-spinner__circle {
|
|
5127
|
+
width: 20px;
|
|
5128
|
+
height: 20px;
|
|
5129
|
+
border-width: 2px;
|
|
5131
5130
|
}
|
|
5132
5131
|
|
|
5133
|
-
.muka-
|
|
5134
|
-
|
|
5132
|
+
.muka-spinner--lg .muka-spinner__circle {
|
|
5133
|
+
width: 24px;
|
|
5134
|
+
height: 24px;
|
|
5135
|
+
border-width: 3px;
|
|
5135
5136
|
}
|
|
5136
5137
|
|
|
5137
|
-
/* ───
|
|
5138
|
-
|
|
5139
|
-
.muka-swipe-actions__button {
|
|
5140
|
-
display: flex;
|
|
5141
|
-
flex-direction: column;
|
|
5142
|
-
align-items: center;
|
|
5143
|
-
justify-content: center;
|
|
5144
|
-
gap: var(--spacing-1);
|
|
5145
|
-
border: none;
|
|
5146
|
-
cursor: pointer;
|
|
5147
|
-
padding: var(--spacing-2);
|
|
5148
|
-
background-color: var(--color-surface-level2);
|
|
5149
|
-
color: var(--color-text-default-default);
|
|
5150
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
5151
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
5152
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
5153
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
5154
|
-
-webkit-tap-highlight-color: transparent;
|
|
5155
|
-
transition: filter 0.12s ease;
|
|
5156
|
-
}
|
|
5157
|
-
|
|
5158
|
-
.muka-swipe-actions__button:hover {
|
|
5159
|
-
filter: brightness(0.95);
|
|
5160
|
-
}
|
|
5161
|
-
|
|
5162
|
-
.muka-swipe-actions__button:focus-visible {
|
|
5163
|
-
outline: 2px solid var(--color-action-default);
|
|
5164
|
-
outline-offset: -2px;
|
|
5165
|
-
}
|
|
5166
|
-
|
|
5167
|
-
.muka-swipe-actions__button-icon {
|
|
5168
|
-
display: inline-flex;
|
|
5169
|
-
align-items: center;
|
|
5170
|
-
justify-content: center;
|
|
5171
|
-
}
|
|
5172
|
-
|
|
5173
|
-
/* ─── Color variants ───────────────────────────────────── */
|
|
5174
|
-
|
|
5175
|
-
.muka-swipe-actions__button--neutral {
|
|
5176
|
-
background-color: var(--color-surface-level2);
|
|
5177
|
-
color: var(--color-text-default-default);
|
|
5178
|
-
}
|
|
5179
|
-
|
|
5180
|
-
.muka-swipe-actions__button--primary {
|
|
5181
|
-
background-color: var(--color-action-default);
|
|
5182
|
-
color: var(--color-text-default-inverse);
|
|
5183
|
-
}
|
|
5184
|
-
|
|
5185
|
-
.muka-swipe-actions__button--success {
|
|
5186
|
-
background-color: var(--color-state-success-default);
|
|
5187
|
-
color: var(--color-text-default-inverse);
|
|
5188
|
-
}
|
|
5189
|
-
|
|
5190
|
-
.muka-swipe-actions__button--warning {
|
|
5191
|
-
background-color: var(--color-state-warning-default);
|
|
5192
|
-
color: var(--color-text-default-default);
|
|
5193
|
-
}
|
|
5194
|
-
|
|
5195
|
-
.muka-swipe-actions__button--destructive {
|
|
5196
|
-
background-color: var(--color-state-error-default);
|
|
5197
|
-
color: var(--color-text-default-inverse);
|
|
5198
|
-
}
|
|
5199
|
-
|
|
5200
|
-
|
|
5201
|
-
/* Spinner */
|
|
5202
|
-
/* Spinner Component Styles */
|
|
5203
|
-
|
|
5204
|
-
.muka-spinner {
|
|
5205
|
-
display: inline-flex;
|
|
5206
|
-
align-items: center;
|
|
5207
|
-
justify-content: center;
|
|
5208
|
-
color: var(--color-text-default-default);
|
|
5209
|
-
line-height: 0;
|
|
5210
|
-
}
|
|
5211
|
-
|
|
5212
|
-
.muka-spinner--subtle {
|
|
5213
|
-
color: var(--color-text-subtle-default);
|
|
5214
|
-
}
|
|
5215
|
-
|
|
5216
|
-
.muka-spinner--inverse {
|
|
5217
|
-
color: var(--color-text-default-inverse);
|
|
5218
|
-
}
|
|
5219
|
-
|
|
5220
|
-
.muka-spinner__circle {
|
|
5221
|
-
display: inline-block;
|
|
5222
|
-
border-radius: 50%;
|
|
5223
|
-
border-style: solid;
|
|
5224
|
-
border-color: currentColor;
|
|
5225
|
-
border-right-color: transparent;
|
|
5226
|
-
animation: muka-spinner-rotate 0.7s linear infinite;
|
|
5227
|
-
box-sizing: border-box;
|
|
5228
|
-
}
|
|
5229
|
-
|
|
5230
|
-
/* ─── Sizes ───────────────────────────────────────────── */
|
|
5231
|
-
|
|
5232
|
-
.muka-spinner--sm .muka-spinner__circle {
|
|
5233
|
-
width: 16px;
|
|
5234
|
-
height: 16px;
|
|
5235
|
-
border-width: 2px;
|
|
5236
|
-
}
|
|
5237
|
-
|
|
5238
|
-
.muka-spinner--md .muka-spinner__circle {
|
|
5239
|
-
width: 20px;
|
|
5240
|
-
height: 20px;
|
|
5241
|
-
border-width: 2px;
|
|
5242
|
-
}
|
|
5243
|
-
|
|
5244
|
-
.muka-spinner--lg .muka-spinner__circle {
|
|
5245
|
-
width: 24px;
|
|
5246
|
-
height: 24px;
|
|
5247
|
-
border-width: 3px;
|
|
5248
|
-
}
|
|
5249
|
-
|
|
5250
|
-
/* ─── Visually-hidden label ───────────────────────────── */
|
|
5138
|
+
/* ─── Visually-hidden label ───────────────────────────── */
|
|
5251
5139
|
|
|
5252
5140
|
.muka-spinner__sr-label {
|
|
5253
5141
|
position: absolute;
|
|
@@ -5884,6 +5772,126 @@ body {
|
|
|
5884
5772
|
}
|
|
5885
5773
|
}
|
|
5886
5774
|
|
|
5775
|
+
/*
|
|
5776
|
+
* layout="full" (Figma Public header, Bouwplan): the content spans the width,
|
|
5777
|
+
* the nav sits between brand and actions (space-between), and the inset grows
|
|
5778
|
+
* with the screen: 24/16 on small screens, 16/24 from 768px, 32 from 1536px.
|
|
5779
|
+
* Safe-area insets still win where they are larger.
|
|
5780
|
+
*/
|
|
5781
|
+
.muka-site-header--full .muka-site-header__inner {
|
|
5782
|
+
max-width: none;
|
|
5783
|
+
justify-content: space-between;
|
|
5784
|
+
}
|
|
5785
|
+
|
|
5786
|
+
.muka-site-header--full .muka-site-header__actions {
|
|
5787
|
+
margin-left: 0;
|
|
5788
|
+
}
|
|
5789
|
+
|
|
5790
|
+
@media (min-width: 768px) {
|
|
5791
|
+
.muka-site-header--full .muka-site-header__inner {
|
|
5792
|
+
padding-block: var(--spacing-4);
|
|
5793
|
+
padding-left: max(var(--spacing-6), env(safe-area-inset-left, 0px));
|
|
5794
|
+
padding-right: max(var(--spacing-6), env(safe-area-inset-right, 0px));
|
|
5795
|
+
}
|
|
5796
|
+
}
|
|
5797
|
+
|
|
5798
|
+
@media (min-width: 1536px) {
|
|
5799
|
+
.muka-site-header--full .muka-site-header__inner {
|
|
5800
|
+
padding-block: var(--spacing-8);
|
|
5801
|
+
padding-left: max(var(--spacing-8), env(safe-area-inset-left, 0px));
|
|
5802
|
+
padding-right: max(var(--spacing-8), env(safe-area-inset-right, 0px));
|
|
5803
|
+
}
|
|
5804
|
+
}
|
|
5805
|
+
|
|
5806
|
+
/* Small screens: no nav, so the actions take the end on their own. */
|
|
5807
|
+
@media (max-width: 767px) {
|
|
5808
|
+
.muka-site-header--full .muka-site-header__actions {
|
|
5809
|
+
margin-left: auto;
|
|
5810
|
+
}
|
|
5811
|
+
}
|
|
5812
|
+
|
|
5813
|
+
|
|
5814
|
+
/* Sheet */
|
|
5815
|
+
/* Sheet Component Styles */
|
|
5816
|
+
|
|
5817
|
+
/* ─── Backdrop ────────────────────────────────────────── */
|
|
5818
|
+
|
|
5819
|
+
.muka-sheet__overlay {
|
|
5820
|
+
position: fixed;
|
|
5821
|
+
inset: 0;
|
|
5822
|
+
background-color: var(--color-surface-backdrop);
|
|
5823
|
+
-webkit-backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
5824
|
+
backdrop-filter: blur(var(--effect-blur-backdrop));
|
|
5825
|
+
z-index: 50;
|
|
5826
|
+
}
|
|
5827
|
+
|
|
5828
|
+
/* ─── Surface ─────────────────────────────────────────── */
|
|
5829
|
+
|
|
5830
|
+
.muka-sheet {
|
|
5831
|
+
position: fixed;
|
|
5832
|
+
left: 0;
|
|
5833
|
+
right: 0;
|
|
5834
|
+
bottom: 0;
|
|
5835
|
+
z-index: 51;
|
|
5836
|
+
|
|
5837
|
+
display: flex;
|
|
5838
|
+
flex-direction: column;
|
|
5839
|
+
|
|
5840
|
+
max-height: 96dvh;
|
|
5841
|
+
|
|
5842
|
+
background-color: var(--color-surface-level3);
|
|
5843
|
+
border-top-left-radius: var(--radius-lg);
|
|
5844
|
+
border-top-right-radius: var(--radius-lg);
|
|
5845
|
+
box-shadow: var(--shadow-level5);
|
|
5846
|
+
|
|
5847
|
+
outline: none;
|
|
5848
|
+
}
|
|
5849
|
+
|
|
5850
|
+
/* Safe-area bottom inset for the iPhone home indicator. */
|
|
5851
|
+
.muka-sheet:not(.muka-sheet--no-safe-area) {
|
|
5852
|
+
padding-bottom: env(safe-area-inset-bottom);
|
|
5853
|
+
}
|
|
5854
|
+
|
|
5855
|
+
/* ─── Drag handle ─────────────────────────────────────── */
|
|
5856
|
+
|
|
5857
|
+
.muka-sheet__handle-container {
|
|
5858
|
+
display: flex;
|
|
5859
|
+
justify-content: center;
|
|
5860
|
+
flex-shrink: 0;
|
|
5861
|
+
padding: var(--spacing-3) 0;
|
|
5862
|
+
}
|
|
5863
|
+
|
|
5864
|
+
.muka-sheet__handle {
|
|
5865
|
+
width: var(--dialog-drag-handle-width);
|
|
5866
|
+
height: var(--dialog-drag-handle-height);
|
|
5867
|
+
background-color: var(--dialog-drag-handle-color);
|
|
5868
|
+
border-radius: var(--dialog-drag-handle-radius);
|
|
5869
|
+
}
|
|
5870
|
+
|
|
5871
|
+
/* ─── Body (scrollable) ───────────────────────────────── */
|
|
5872
|
+
|
|
5873
|
+
.muka-sheet__body {
|
|
5874
|
+
flex: 1 1 0%;
|
|
5875
|
+
min-height: 0;
|
|
5876
|
+
overflow-y: auto;
|
|
5877
|
+
-webkit-overflow-scrolling: touch;
|
|
5878
|
+
overscroll-behavior: contain;
|
|
5879
|
+
}
|
|
5880
|
+
|
|
5881
|
+
/* ─── Visually-hidden title (a11y) ────────────────────── */
|
|
5882
|
+
|
|
5883
|
+
.muka-sheet__sr-title {
|
|
5884
|
+
position: absolute;
|
|
5885
|
+
width: 1px;
|
|
5886
|
+
height: 1px;
|
|
5887
|
+
padding: 0;
|
|
5888
|
+
margin: -1px;
|
|
5889
|
+
overflow: hidden;
|
|
5890
|
+
clip: rect(0, 0, 0, 0);
|
|
5891
|
+
white-space: nowrap;
|
|
5892
|
+
border: 0;
|
|
5893
|
+
}
|
|
5894
|
+
|
|
5887
5895
|
|
|
5888
5896
|
/* Select */
|
|
5889
5897
|
/* Select Component Styles - Aligned with Input for consistency */
|
|
@@ -8185,6 +8193,8 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
8185
8193
|
|
|
8186
8194
|
.muka-profile-badge {
|
|
8187
8195
|
display: inline-flex;
|
|
8196
|
+
max-width: 100%;
|
|
8197
|
+
min-width: 0;
|
|
8188
8198
|
align-items: center;
|
|
8189
8199
|
font-family: var(--text-body-base-regular-fontFamily);
|
|
8190
8200
|
}
|
|
@@ -8198,6 +8208,10 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
8198
8208
|
gap: var(--spacing-3); /* 12px */
|
|
8199
8209
|
}
|
|
8200
8210
|
|
|
8211
|
+
.muka-profile-badge--sm {
|
|
8212
|
+
gap: var(--spacing-2); /* 8px */
|
|
8213
|
+
}
|
|
8214
|
+
|
|
8201
8215
|
.muka-profile-badge__avatar {
|
|
8202
8216
|
flex-shrink: 0;
|
|
8203
8217
|
}
|
|
@@ -8211,6 +8225,10 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
8211
8225
|
}
|
|
8212
8226
|
|
|
8213
8227
|
.muka-profile-badge__name {
|
|
8228
|
+
max-width: 100%;
|
|
8229
|
+
overflow: hidden;
|
|
8230
|
+
text-overflow: ellipsis;
|
|
8231
|
+
white-space: nowrap;
|
|
8214
8232
|
font-family: var(--text-body-base-regular-fontFamily);
|
|
8215
8233
|
font-size: var(--text-body-base-regular-fontSize);
|
|
8216
8234
|
font-weight: var(--text-body-base-regular-fontWeight);
|
|
@@ -8250,6 +8268,39 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
8250
8268
|
outline-offset: 2px;
|
|
8251
8269
|
}
|
|
8252
8270
|
|
|
8271
|
+
/* Trailing chevron: the badge opens a menu */
|
|
8272
|
+
.muka-profile-badge__chevron {
|
|
8273
|
+
flex-shrink: 0;
|
|
8274
|
+
}
|
|
8275
|
+
|
|
8276
|
+
/*
|
|
8277
|
+
* A clickable badge with a chevron is a pill (Figma Profile Badge, Bouwplan
|
|
8278
|
+
* header): 4px inset on the avatar side, 12px after the chevron. The border
|
|
8279
|
+
* is an inset shadow so it appears on hover and while the menu is open
|
|
8280
|
+
* without moving the content.
|
|
8281
|
+
*/
|
|
8282
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron {
|
|
8283
|
+
padding: var(--spacing-1) var(--spacing-3) var(--spacing-1) var(--spacing-1);
|
|
8284
|
+
border-radius: var(--radius-full);
|
|
8285
|
+
transition: box-shadow 0.2s ease;
|
|
8286
|
+
}
|
|
8287
|
+
|
|
8288
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
|
|
8289
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:active {
|
|
8290
|
+
opacity: 1;
|
|
8291
|
+
}
|
|
8292
|
+
|
|
8293
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:hover,
|
|
8294
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron[aria-expanded='true'],
|
|
8295
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron[data-state='open'] {
|
|
8296
|
+
box-shadow: inset 0 0 0 var(--border-width-regular) var(--button-color-ghost-border-hover);
|
|
8297
|
+
}
|
|
8298
|
+
|
|
8299
|
+
/* A badge without an avatar keeps the 12px start inset */
|
|
8300
|
+
.muka-profile-badge--clickable.muka-profile-badge--with-chevron:not(:has(.muka-profile-badge__avatar)) {
|
|
8301
|
+
padding-left: var(--spacing-3);
|
|
8302
|
+
}
|
|
8303
|
+
|
|
8253
8304
|
|
|
8254
8305
|
/* PriceTag */
|
|
8255
8306
|
/* PriceTag Component Styles - Using Muka Design Tokens */
|
|
@@ -9201,104 +9252,22 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9201
9252
|
}
|
|
9202
9253
|
|
|
9203
9254
|
|
|
9204
|
-
/*
|
|
9205
|
-
/*
|
|
9255
|
+
/* NumberInput */
|
|
9256
|
+
/* NumberInput — reuses Input field styles (../Input/Input.css). */
|
|
9257
|
+
/* Only the prefix/suffix affixes are NumberInput-specific. */
|
|
9206
9258
|
|
|
9207
|
-
|
|
9208
|
-
|
|
9209
|
-
|
|
9210
|
-
|
|
9211
|
-
|
|
9212
|
-
|
|
9213
|
-
-
|
|
9214
|
-
|
|
9215
|
-
|
|
9216
|
-
|
|
9217
|
-
|
|
9218
|
-
|
|
9219
|
-
|
|
9220
|
-
.muka-sheet {
|
|
9221
|
-
position: fixed;
|
|
9222
|
-
left: 0;
|
|
9223
|
-
right: 0;
|
|
9224
|
-
bottom: 0;
|
|
9225
|
-
z-index: 51;
|
|
9226
|
-
|
|
9227
|
-
display: flex;
|
|
9228
|
-
flex-direction: column;
|
|
9229
|
-
|
|
9230
|
-
max-height: 96dvh;
|
|
9231
|
-
|
|
9232
|
-
background-color: var(--color-surface-level3);
|
|
9233
|
-
border-top-left-radius: var(--radius-lg);
|
|
9234
|
-
border-top-right-radius: var(--radius-lg);
|
|
9235
|
-
box-shadow: var(--shadow-level5);
|
|
9236
|
-
|
|
9237
|
-
outline: none;
|
|
9238
|
-
}
|
|
9239
|
-
|
|
9240
|
-
/* Safe-area bottom inset for the iPhone home indicator. */
|
|
9241
|
-
.muka-sheet:not(.muka-sheet--no-safe-area) {
|
|
9242
|
-
padding-bottom: env(safe-area-inset-bottom);
|
|
9243
|
-
}
|
|
9244
|
-
|
|
9245
|
-
/* ─── Drag handle ─────────────────────────────────────── */
|
|
9246
|
-
|
|
9247
|
-
.muka-sheet__handle-container {
|
|
9248
|
-
display: flex;
|
|
9249
|
-
justify-content: center;
|
|
9250
|
-
flex-shrink: 0;
|
|
9251
|
-
padding: var(--spacing-3) 0;
|
|
9252
|
-
}
|
|
9253
|
-
|
|
9254
|
-
.muka-sheet__handle {
|
|
9255
|
-
width: var(--dialog-drag-handle-width);
|
|
9256
|
-
height: var(--dialog-drag-handle-height);
|
|
9257
|
-
background-color: var(--dialog-drag-handle-color);
|
|
9258
|
-
border-radius: var(--dialog-drag-handle-radius);
|
|
9259
|
-
}
|
|
9260
|
-
|
|
9261
|
-
/* ─── Body (scrollable) ───────────────────────────────── */
|
|
9262
|
-
|
|
9263
|
-
.muka-sheet__body {
|
|
9264
|
-
flex: 1 1 0%;
|
|
9265
|
-
min-height: 0;
|
|
9266
|
-
overflow-y: auto;
|
|
9267
|
-
-webkit-overflow-scrolling: touch;
|
|
9268
|
-
overscroll-behavior: contain;
|
|
9269
|
-
}
|
|
9270
|
-
|
|
9271
|
-
/* ─── Visually-hidden title (a11y) ────────────────────── */
|
|
9272
|
-
|
|
9273
|
-
.muka-sheet__sr-title {
|
|
9274
|
-
position: absolute;
|
|
9275
|
-
width: 1px;
|
|
9276
|
-
height: 1px;
|
|
9277
|
-
padding: 0;
|
|
9278
|
-
margin: -1px;
|
|
9279
|
-
overflow: hidden;
|
|
9280
|
-
clip: rect(0, 0, 0, 0);
|
|
9281
|
-
white-space: nowrap;
|
|
9282
|
-
border: 0;
|
|
9283
|
-
}
|
|
9284
|
-
|
|
9285
|
-
|
|
9286
|
-
/* NumberInput */
|
|
9287
|
-
/* NumberInput — reuses Input field styles (../Input/Input.css). */
|
|
9288
|
-
/* Only the prefix/suffix affixes are NumberInput-specific. */
|
|
9289
|
-
|
|
9290
|
-
.muka-numberinput__addon {
|
|
9291
|
-
display: inline-flex;
|
|
9292
|
-
align-items: center;
|
|
9293
|
-
flex: none;
|
|
9294
|
-
color: var(--color-text-subtle-default);
|
|
9295
|
-
font-family: var(--text-input-md-fontFamily);
|
|
9296
|
-
font-size: var(--text-input-md-fontSize);
|
|
9297
|
-
line-height: var(--text-input-md-lineHeight);
|
|
9298
|
-
user-select: none;
|
|
9299
|
-
pointer-events: none;
|
|
9300
|
-
white-space: nowrap;
|
|
9301
|
-
}
|
|
9259
|
+
.muka-numberinput__addon {
|
|
9260
|
+
display: inline-flex;
|
|
9261
|
+
align-items: center;
|
|
9262
|
+
flex: none;
|
|
9263
|
+
color: var(--color-text-subtle-default);
|
|
9264
|
+
font-family: var(--text-input-md-fontFamily);
|
|
9265
|
+
font-size: var(--text-input-md-fontSize);
|
|
9266
|
+
line-height: var(--text-input-md-lineHeight);
|
|
9267
|
+
user-select: none;
|
|
9268
|
+
pointer-events: none;
|
|
9269
|
+
white-space: nowrap;
|
|
9270
|
+
}
|
|
9302
9271
|
|
|
9303
9272
|
/* Hide the native number spinners — affixes/step API replace them. */
|
|
9304
9273
|
.muka-numberinput__field .muka-input__native::-webkit-outer-spin-button,
|
|
@@ -9837,6 +9806,39 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9837
9806
|
}
|
|
9838
9807
|
}
|
|
9839
9808
|
|
|
9809
|
+
/* ─── Items with an icon: compact ListItem rows ──────────────────────────── */
|
|
9810
|
+
|
|
9811
|
+
/*
|
|
9812
|
+
* A menu whose items carry an icon uses the compact ListItem layout (Figma
|
|
9813
|
+
* ListItem × Padding=Compact, the Bouwplan account menu): a 12px inset on the
|
|
9814
|
+
* list, rows with an 8px inset, a 32px icon slot holding a 20px icon, 12px
|
|
9815
|
+
* between icon and label. The icon takes
|
|
9816
|
+
* the menu's icon colour, so an `<Icon>` passed in doesn't need a colour or
|
|
9817
|
+
* a size of its own. Menus without icons keep their tighter rows.
|
|
9818
|
+
*/
|
|
9819
|
+
.muka-menu__viewport:has(.muka-menu__item-icon) {
|
|
9820
|
+
padding: var(--spacing-3);
|
|
9821
|
+
}
|
|
9822
|
+
|
|
9823
|
+
.muka-menu__item:has(> .muka-menu__item-icon) {
|
|
9824
|
+
gap: var(--spacing-3);
|
|
9825
|
+
padding-top: var(--spacing-2);
|
|
9826
|
+
padding-bottom: var(--spacing-2);
|
|
9827
|
+
padding-left: var(--spacing-2);
|
|
9828
|
+
}
|
|
9829
|
+
|
|
9830
|
+
.muka-menu__item-icon {
|
|
9831
|
+
min-width: var(--size-2xl);
|
|
9832
|
+
min-height: var(--size-2xl);
|
|
9833
|
+
}
|
|
9834
|
+
|
|
9835
|
+
.muka-menu__item-icon > .muka-icon,
|
|
9836
|
+
.muka-menu__item-icon > svg {
|
|
9837
|
+
width: var(--icon-size-sm);
|
|
9838
|
+
height: var(--icon-size-sm);
|
|
9839
|
+
color: inherit;
|
|
9840
|
+
}
|
|
9841
|
+
|
|
9840
9842
|
|
|
9841
9843
|
/* MediaViewer */
|
|
9842
9844
|
/* MediaViewer Component Styles - Using Muka Design Tokens */
|
|
@@ -10306,6 +10308,43 @@ li.muka-listitem {
|
|
|
10306
10308
|
display: none;
|
|
10307
10309
|
}
|
|
10308
10310
|
|
|
10311
|
+
/* ─── Compact padding ──────────────────────────────────── */
|
|
10312
|
+
|
|
10313
|
+
/*
|
|
10314
|
+
* Figma ListItem × Padding=Compact: an 8px inset, 12px between leading and
|
|
10315
|
+
* label, a 32px leading slot (a 20px icon centred, or a 32px avatar) and a
|
|
10316
|
+
* regular-weight label. Used in menus and short navigation lists.
|
|
10317
|
+
*/
|
|
10318
|
+
.muka-listitem--compact {
|
|
10319
|
+
align-items: center;
|
|
10320
|
+
gap: var(--spacing-3);
|
|
10321
|
+
padding: var(--spacing-2);
|
|
10322
|
+
}
|
|
10323
|
+
|
|
10324
|
+
.muka-listitem--compact .muka-listitem__leading {
|
|
10325
|
+
width: var(--size-2xl);
|
|
10326
|
+
height: var(--size-2xl);
|
|
10327
|
+
}
|
|
10328
|
+
|
|
10329
|
+
.muka-listitem--compact .muka-listitem__icon {
|
|
10330
|
+
width: var(--size-2xl);
|
|
10331
|
+
height: var(--size-2xl);
|
|
10332
|
+
}
|
|
10333
|
+
|
|
10334
|
+
.muka-listitem--compact .muka-listitem__image {
|
|
10335
|
+
width: var(--size-2xl);
|
|
10336
|
+
height: var(--size-2xl);
|
|
10337
|
+
border-radius: var(--radius-sm);
|
|
10338
|
+
}
|
|
10339
|
+
|
|
10340
|
+
.muka-listitem--compact .muka-listitem__label {
|
|
10341
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
10342
|
+
}
|
|
10343
|
+
|
|
10344
|
+
.muka-listitem--compact .muka-listitem__content {
|
|
10345
|
+
gap: var(--spacing-3);
|
|
10346
|
+
}
|
|
10347
|
+
|
|
10309
10348
|
|
|
10310
10349
|
/* LicensePlateInput */
|
|
10311
10350
|
/* LicensePlateInput — Dutch RDW-style plate input
|
|
@@ -11000,26 +11039,6 @@ li.muka-listitem {
|
|
|
11000
11039
|
}
|
|
11001
11040
|
|
|
11002
11041
|
|
|
11003
|
-
/* Form */
|
|
11004
|
-
.muka-form {
|
|
11005
|
-
display: flex;
|
|
11006
|
-
flex-direction: column;
|
|
11007
|
-
width: 100%;
|
|
11008
|
-
}
|
|
11009
|
-
|
|
11010
|
-
.muka-form--gap-sm {
|
|
11011
|
-
gap: var(--size-sm);
|
|
11012
|
-
}
|
|
11013
|
-
|
|
11014
|
-
.muka-form--gap-md {
|
|
11015
|
-
gap: var(--size-md);
|
|
11016
|
-
}
|
|
11017
|
-
|
|
11018
|
-
.muka-form--gap-lg {
|
|
11019
|
-
gap: var(--size-lg);
|
|
11020
|
-
}
|
|
11021
|
-
|
|
11022
|
-
|
|
11023
11042
|
/* Icon */
|
|
11024
11043
|
/* Icon Component Styles - Using Muka Design Tokens */
|
|
11025
11044
|
|
|
@@ -11074,6 +11093,26 @@ li.muka-listitem {
|
|
|
11074
11093
|
}
|
|
11075
11094
|
|
|
11076
11095
|
|
|
11096
|
+
/* Form */
|
|
11097
|
+
.muka-form {
|
|
11098
|
+
display: flex;
|
|
11099
|
+
flex-direction: column;
|
|
11100
|
+
width: 100%;
|
|
11101
|
+
}
|
|
11102
|
+
|
|
11103
|
+
.muka-form--gap-sm {
|
|
11104
|
+
gap: var(--size-sm);
|
|
11105
|
+
}
|
|
11106
|
+
|
|
11107
|
+
.muka-form--gap-md {
|
|
11108
|
+
gap: var(--size-md);
|
|
11109
|
+
}
|
|
11110
|
+
|
|
11111
|
+
.muka-form--gap-lg {
|
|
11112
|
+
gap: var(--size-lg);
|
|
11113
|
+
}
|
|
11114
|
+
|
|
11115
|
+
|
|
11077
11116
|
/* FileUpload */
|
|
11078
11117
|
/* FileUpload Component Styles */
|
|
11079
11118
|
|
|
@@ -14300,6 +14339,47 @@ button.muka-chip__trailing[aria-expanded='true'],
|
|
|
14300
14339
|
}
|
|
14301
14340
|
|
|
14302
14341
|
|
|
14342
|
+
/* ChatQuestionSeries */
|
|
14343
|
+
/* ChatQuestionSeries — step dots and the collapsed summary (experimental) */
|
|
14344
|
+
.muka-chat-series__dots {
|
|
14345
|
+
display: inline-flex;
|
|
14346
|
+
align-items: center;
|
|
14347
|
+
gap: var(--spacing-1);
|
|
14348
|
+
}
|
|
14349
|
+
|
|
14350
|
+
.muka-chat-series__dot {
|
|
14351
|
+
width: var(--spacing-1);
|
|
14352
|
+
height: var(--spacing-1);
|
|
14353
|
+
border-radius: var(--border-radius-full);
|
|
14354
|
+
background-color: var(--color-border-default);
|
|
14355
|
+
}
|
|
14356
|
+
|
|
14357
|
+
.muka-chat-series__dot--done {
|
|
14358
|
+
background-color: var(--color-text-subtle-default);
|
|
14359
|
+
}
|
|
14360
|
+
|
|
14361
|
+
.muka-chat-series__dot--current {
|
|
14362
|
+
width: var(--spacing-2);
|
|
14363
|
+
height: var(--spacing-2);
|
|
14364
|
+
background-color: var(--color-text-default-default);
|
|
14365
|
+
}
|
|
14366
|
+
|
|
14367
|
+
.muka-chat-series__summary {
|
|
14368
|
+
display: flex;
|
|
14369
|
+
flex-direction: column;
|
|
14370
|
+
gap: var(--spacing-2);
|
|
14371
|
+
}
|
|
14372
|
+
|
|
14373
|
+
.muka-chat-series__summary-row {
|
|
14374
|
+
display: flex;
|
|
14375
|
+
flex-direction: column;
|
|
14376
|
+
}
|
|
14377
|
+
|
|
14378
|
+
.muka-chat-series__summary-question {
|
|
14379
|
+
color: var(--color-text-subtle-default);
|
|
14380
|
+
}
|
|
14381
|
+
|
|
14382
|
+
|
|
14303
14383
|
/* ChatQuestionCard */
|
|
14304
14384
|
/*
|
|
14305
14385
|
* ChatQuestionCard — in-thread question widget (experimental).
|
|
@@ -14501,45 +14581,72 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
14501
14581
|
}
|
|
14502
14582
|
|
|
14503
14583
|
|
|
14504
|
-
/*
|
|
14505
|
-
/*
|
|
14506
|
-
.muka-chat-series__dots {
|
|
14507
|
-
display: inline-flex;
|
|
14508
|
-
align-items: center;
|
|
14509
|
-
gap: var(--spacing-1);
|
|
14510
|
-
}
|
|
14511
|
-
|
|
14512
|
-
.muka-chat-series__dot {
|
|
14513
|
-
width: var(--spacing-1);
|
|
14514
|
-
height: var(--spacing-1);
|
|
14515
|
-
border-radius: var(--border-radius-full);
|
|
14516
|
-
background-color: var(--color-border-default);
|
|
14517
|
-
}
|
|
14518
|
-
|
|
14519
|
-
.muka-chat-series__dot--done {
|
|
14520
|
-
background-color: var(--color-text-subtle-default);
|
|
14521
|
-
}
|
|
14522
|
-
|
|
14523
|
-
.muka-chat-series__dot--current {
|
|
14524
|
-
width: var(--spacing-2);
|
|
14525
|
-
height: var(--spacing-2);
|
|
14526
|
-
background-color: var(--color-text-default-default);
|
|
14527
|
-
}
|
|
14584
|
+
/* ChatMessageStack */
|
|
14585
|
+
/* ChatMessageStack Component Styles */
|
|
14528
14586
|
|
|
14529
|
-
.muka-chat-
|
|
14587
|
+
.muka-chat-message-stack {
|
|
14530
14588
|
display: flex;
|
|
14531
14589
|
flex-direction: column;
|
|
14532
|
-
gap: var(--
|
|
14590
|
+
gap: var(--chatbubble-stack-gap);
|
|
14591
|
+
width: 100%;
|
|
14592
|
+
max-width: 100%;
|
|
14533
14593
|
}
|
|
14534
14594
|
|
|
14535
|
-
.muka-chat-
|
|
14595
|
+
.muka-chat-message-stack__messages {
|
|
14536
14596
|
display: flex;
|
|
14537
14597
|
flex-direction: column;
|
|
14598
|
+
gap: var(--chatbubble-stack-gap);
|
|
14599
|
+
width: 100%;
|
|
14538
14600
|
}
|
|
14539
14601
|
|
|
14540
|
-
|
|
14541
|
-
|
|
14542
|
-
|
|
14602
|
+
/*
|
|
14603
|
+
* Reasoning sits above the stack, indented past the avatar rail so it lines up
|
|
14604
|
+
* with the bubbles rather than with the avatar (Figma 5379:47300).
|
|
14605
|
+
*/
|
|
14606
|
+
.muka-chat-message-stack__reasoning {
|
|
14607
|
+
min-width: 0;
|
|
14608
|
+
}
|
|
14609
|
+
|
|
14610
|
+
/* In-thread widgets after the messages share the reasoning's indent. */
|
|
14611
|
+
.muka-chat-message-stack__widgets {
|
|
14612
|
+
display: flex;
|
|
14613
|
+
flex-direction: column;
|
|
14614
|
+
gap: var(--chatbubble-stack-gap);
|
|
14615
|
+
min-width: 0;
|
|
14616
|
+
}
|
|
14617
|
+
|
|
14618
|
+
.muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
|
|
14619
|
+
.muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
|
|
14620
|
+
padding-left: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
|
|
14621
|
+
}
|
|
14622
|
+
|
|
14623
|
+
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
14624
|
+
.muka-chat-message-stack__widgets,
|
|
14625
|
+
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
14626
|
+
.muka-chat-message-stack__reasoning {
|
|
14627
|
+
padding-left: 0;
|
|
14628
|
+
padding-right: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
|
|
14629
|
+
}
|
|
14630
|
+
|
|
14631
|
+
/* Follow the message's compact rail and gap below the desktop breakpoint */
|
|
14632
|
+
@media (max-width: 1023px) {
|
|
14633
|
+
.muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
|
|
14634
|
+
.muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
|
|
14635
|
+
padding-left: calc(
|
|
14636
|
+
var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
|
|
14637
|
+
);
|
|
14638
|
+
}
|
|
14639
|
+
|
|
14640
|
+
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
14641
|
+
.muka-chat-message-stack__widgets,
|
|
14642
|
+
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
14643
|
+
.muka-chat-message-stack__reasoning {
|
|
14644
|
+
padding-left: 0;
|
|
14645
|
+
padding-right: calc(
|
|
14646
|
+
var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
|
|
14647
|
+
);
|
|
14648
|
+
}
|
|
14649
|
+
}
|
|
14543
14650
|
|
|
14544
14651
|
|
|
14545
14652
|
/* ChatMessageList */
|
|
@@ -15270,74 +15377,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15270
15377
|
}
|
|
15271
15378
|
|
|
15272
15379
|
|
|
15273
|
-
/* ChatMessageStack */
|
|
15274
|
-
/* ChatMessageStack Component Styles */
|
|
15275
|
-
|
|
15276
|
-
.muka-chat-message-stack {
|
|
15277
|
-
display: flex;
|
|
15278
|
-
flex-direction: column;
|
|
15279
|
-
gap: var(--chatbubble-stack-gap);
|
|
15280
|
-
width: 100%;
|
|
15281
|
-
max-width: 100%;
|
|
15282
|
-
}
|
|
15283
|
-
|
|
15284
|
-
.muka-chat-message-stack__messages {
|
|
15285
|
-
display: flex;
|
|
15286
|
-
flex-direction: column;
|
|
15287
|
-
gap: var(--chatbubble-stack-gap);
|
|
15288
|
-
width: 100%;
|
|
15289
|
-
}
|
|
15290
|
-
|
|
15291
|
-
/*
|
|
15292
|
-
* Reasoning sits above the stack, indented past the avatar rail so it lines up
|
|
15293
|
-
* with the bubbles rather than with the avatar (Figma 5379:47300).
|
|
15294
|
-
*/
|
|
15295
|
-
.muka-chat-message-stack__reasoning {
|
|
15296
|
-
min-width: 0;
|
|
15297
|
-
}
|
|
15298
|
-
|
|
15299
|
-
/* In-thread widgets after the messages share the reasoning's indent. */
|
|
15300
|
-
.muka-chat-message-stack__widgets {
|
|
15301
|
-
display: flex;
|
|
15302
|
-
flex-direction: column;
|
|
15303
|
-
gap: var(--chatbubble-stack-gap);
|
|
15304
|
-
min-width: 0;
|
|
15305
|
-
}
|
|
15306
|
-
|
|
15307
|
-
.muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
|
|
15308
|
-
.muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
|
|
15309
|
-
padding-left: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
|
|
15310
|
-
}
|
|
15311
|
-
|
|
15312
|
-
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
15313
|
-
.muka-chat-message-stack__widgets,
|
|
15314
|
-
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
15315
|
-
.muka-chat-message-stack__reasoning {
|
|
15316
|
-
padding-left: 0;
|
|
15317
|
-
padding-right: calc(var(--chatbubble-avatar-size) + var(--chatbubble-row-gap));
|
|
15318
|
-
}
|
|
15319
|
-
|
|
15320
|
-
/* Follow the message's compact rail and gap below the desktop breakpoint */
|
|
15321
|
-
@media (max-width: 1023px) {
|
|
15322
|
-
.muka-chat-message-stack--has-avatar .muka-chat-message-stack__widgets,
|
|
15323
|
-
.muka-chat-message-stack--has-avatar .muka-chat-message-stack__reasoning {
|
|
15324
|
-
padding-left: calc(
|
|
15325
|
-
var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
|
|
15326
|
-
);
|
|
15327
|
-
}
|
|
15328
|
-
|
|
15329
|
-
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
15330
|
-
.muka-chat-message-stack__widgets,
|
|
15331
|
-
.muka-chat-message-stack--own.muka-chat-message-stack--has-avatar
|
|
15332
|
-
.muka-chat-message-stack__reasoning {
|
|
15333
|
-
padding-left: 0;
|
|
15334
|
-
padding-right: calc(
|
|
15335
|
-
var(--chatbubble-avatar-size-compact) + var(--chatbubble-row-gap-compact)
|
|
15336
|
-
);
|
|
15337
|
-
}
|
|
15338
|
-
}
|
|
15339
|
-
|
|
15340
|
-
|
|
15341
15380
|
/* ChatChoiceCard */
|
|
15342
15381
|
/* ChatChoiceCard — compact option rows (experimental) */
|
|
15343
15382
|
.muka-chat-choice__list {
|
|
@@ -15374,105 +15413,261 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15374
15413
|
}
|
|
15375
15414
|
|
|
15376
15415
|
|
|
15377
|
-
/*
|
|
15378
|
-
/*
|
|
15416
|
+
/* ChatAttachmentChip */
|
|
15417
|
+
/* ChatAttachmentChip Component Styles */
|
|
15379
15418
|
|
|
15380
|
-
.muka-
|
|
15381
|
-
|
|
15382
|
-
|
|
15383
|
-
|
|
15384
|
-
|
|
15385
|
-
|
|
15419
|
+
.muka-chat-attachment-chip {
|
|
15420
|
+
position: relative;
|
|
15421
|
+
display: inline-flex;
|
|
15422
|
+
align-items: center;
|
|
15423
|
+
gap: var(--spacing-1);
|
|
15424
|
+
max-width: 240px;
|
|
15425
|
+
padding: var(--spacing-2) var(--spacing-3);
|
|
15426
|
+
background-color: var(--color-surface-level1);
|
|
15427
|
+
border: var(--border-width-regular) solid var(--color-border-default);
|
|
15428
|
+
border-radius: var(--radius-md);
|
|
15386
15429
|
overflow: hidden;
|
|
15387
15430
|
}
|
|
15388
15431
|
|
|
15389
|
-
|
|
15390
|
-
|
|
15391
|
-
padding: 0;
|
|
15392
|
-
}
|
|
15393
|
-
|
|
15394
|
-
.muka-card--padding-sm {
|
|
15395
|
-
padding: var(--card-padding-sm);
|
|
15396
|
-
}
|
|
15397
|
-
|
|
15398
|
-
.muka-card--padding-md {
|
|
15399
|
-
padding: var(--card-padding-md);
|
|
15432
|
+
.muka-chat-attachment-chip--uploading {
|
|
15433
|
+
padding-bottom: calc(var(--spacing-2) + 2px);
|
|
15400
15434
|
}
|
|
15401
15435
|
|
|
15402
|
-
.muka-
|
|
15403
|
-
|
|
15436
|
+
.muka-chat-attachment-chip--error {
|
|
15437
|
+
border-color: var(--color-state-error-default, var(--color-text-default-default));
|
|
15404
15438
|
}
|
|
15405
15439
|
|
|
15406
|
-
|
|
15407
|
-
.
|
|
15408
|
-
|
|
15440
|
+
.muka-chat-attachment-chip--disabled {
|
|
15441
|
+
opacity: 0.5;
|
|
15442
|
+
pointer-events: none;
|
|
15409
15443
|
}
|
|
15410
15444
|
|
|
15411
|
-
|
|
15412
|
-
border-radius: var(--card-radius-md);
|
|
15413
|
-
}
|
|
15445
|
+
/* ─── Body (icon + text) ───────────────────────────────── */
|
|
15414
15446
|
|
|
15415
|
-
.muka-
|
|
15416
|
-
|
|
15447
|
+
.muka-chat-attachment-chip__body {
|
|
15448
|
+
display: inline-flex;
|
|
15449
|
+
align-items: center;
|
|
15450
|
+
gap: var(--spacing-2);
|
|
15451
|
+
min-width: 0;
|
|
15452
|
+
flex: 1 1 auto;
|
|
15453
|
+
background: none;
|
|
15454
|
+
border: none;
|
|
15455
|
+
padding: 0;
|
|
15456
|
+
margin: 0;
|
|
15457
|
+
text-align: left;
|
|
15458
|
+
color: inherit;
|
|
15459
|
+
font: inherit;
|
|
15460
|
+
cursor: default;
|
|
15461
|
+
-webkit-tap-highlight-color: transparent;
|
|
15417
15462
|
}
|
|
15418
15463
|
|
|
15419
|
-
|
|
15420
|
-
.muka-card--interactive {
|
|
15464
|
+
.muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body {
|
|
15421
15465
|
cursor: pointer;
|
|
15422
|
-
user-select: none;
|
|
15423
|
-
}
|
|
15424
|
-
|
|
15425
|
-
.muka-card--interactive:hover {
|
|
15426
|
-
background-color: var(--card-color-hover-background);
|
|
15427
|
-
border-color: var(--card-color-hover-border);
|
|
15428
|
-
box-shadow: var(--card-shadow-hover);
|
|
15429
|
-
}
|
|
15430
|
-
|
|
15431
|
-
.muka-card--interactive:active,
|
|
15432
|
-
.muka-card--interactive.muka-card--pressed {
|
|
15433
|
-
background-color: var(--card-color-pressed-background);
|
|
15434
|
-
border-color: var(--card-color-pressed-border);
|
|
15435
|
-
box-shadow: var(--card-shadow-pressed);
|
|
15436
15466
|
}
|
|
15437
15467
|
|
|
15438
|
-
.muka-
|
|
15439
|
-
outline: 2px solid var(--color-
|
|
15468
|
+
.muka-chat-attachment-chip--interactive .muka-chat-attachment-chip__body:focus-visible {
|
|
15469
|
+
outline: 2px solid var(--color-action-default);
|
|
15440
15470
|
outline-offset: 2px;
|
|
15471
|
+
border-radius: var(--radius-sm);
|
|
15441
15472
|
}
|
|
15442
15473
|
|
|
15443
|
-
|
|
15444
|
-
|
|
15445
|
-
|
|
15446
|
-
|
|
15447
|
-
|
|
15448
|
-
|
|
15474
|
+
.muka-chat-attachment-chip__icon {
|
|
15475
|
+
display: inline-flex;
|
|
15476
|
+
align-items: center;
|
|
15477
|
+
justify-content: center;
|
|
15478
|
+
flex-shrink: 0;
|
|
15479
|
+
color: var(--color-text-subtle-default);
|
|
15449
15480
|
}
|
|
15450
15481
|
|
|
15451
|
-
|
|
15452
|
-
|
|
15453
|
-
|
|
15454
|
-
|
|
15455
|
-
|
|
15456
|
-
box-shadow: var(--card-shadow-note);
|
|
15482
|
+
.muka-chat-attachment-chip__text {
|
|
15483
|
+
display: flex;
|
|
15484
|
+
flex-direction: column;
|
|
15485
|
+
min-width: 0;
|
|
15486
|
+
flex: 1 1 auto;
|
|
15457
15487
|
}
|
|
15458
15488
|
|
|
15459
|
-
.muka-
|
|
15460
|
-
|
|
15461
|
-
|
|
15462
|
-
|
|
15463
|
-
|
|
15489
|
+
.muka-chat-attachment-chip__name {
|
|
15490
|
+
color: var(--color-text-default-default);
|
|
15491
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15492
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15493
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
15494
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15495
|
+
white-space: nowrap;
|
|
15496
|
+
overflow: hidden;
|
|
15497
|
+
text-overflow: ellipsis;
|
|
15464
15498
|
}
|
|
15465
15499
|
|
|
15466
|
-
.muka-
|
|
15467
|
-
|
|
15500
|
+
.muka-chat-attachment-chip__meta {
|
|
15501
|
+
color: var(--color-text-subtle-default);
|
|
15502
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15503
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15504
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
15505
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15506
|
+
white-space: nowrap;
|
|
15507
|
+
overflow: hidden;
|
|
15508
|
+
text-overflow: ellipsis;
|
|
15468
15509
|
}
|
|
15469
15510
|
|
|
15470
|
-
.muka-
|
|
15471
|
-
|
|
15511
|
+
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
|
|
15512
|
+
color: var(--color-state-error-default, var(--color-text-default-default));
|
|
15472
15513
|
}
|
|
15473
15514
|
|
|
15474
|
-
|
|
15475
|
-
|
|
15515
|
+
/* ─── Remove button ────────────────────────────────────── */
|
|
15516
|
+
|
|
15517
|
+
.muka-chat-attachment-chip__remove {
|
|
15518
|
+
display: inline-flex;
|
|
15519
|
+
align-items: center;
|
|
15520
|
+
justify-content: center;
|
|
15521
|
+
width: 20px;
|
|
15522
|
+
height: 20px;
|
|
15523
|
+
border: none;
|
|
15524
|
+
background: none;
|
|
15525
|
+
padding: 0;
|
|
15526
|
+
border-radius: var(--radius-sm);
|
|
15527
|
+
cursor: pointer;
|
|
15528
|
+
color: var(--color-text-subtle-default);
|
|
15529
|
+
flex-shrink: 0;
|
|
15530
|
+
-webkit-tap-highlight-color: transparent;
|
|
15531
|
+
}
|
|
15532
|
+
|
|
15533
|
+
.muka-chat-attachment-chip__remove:hover:not(:disabled) {
|
|
15534
|
+
color: var(--color-text-default-default);
|
|
15535
|
+
background-color: var(--color-surface-level2);
|
|
15536
|
+
}
|
|
15537
|
+
|
|
15538
|
+
.muka-chat-attachment-chip__remove:focus-visible {
|
|
15539
|
+
outline: 2px solid var(--color-action-default);
|
|
15540
|
+
outline-offset: 2px;
|
|
15541
|
+
}
|
|
15542
|
+
|
|
15543
|
+
.muka-chat-attachment-chip__remove:disabled {
|
|
15544
|
+
cursor: not-allowed;
|
|
15545
|
+
opacity: 0.5;
|
|
15546
|
+
}
|
|
15547
|
+
|
|
15548
|
+
/* ─── Progress bar ─────────────────────────────────────── */
|
|
15549
|
+
|
|
15550
|
+
.muka-chat-attachment-chip__progress {
|
|
15551
|
+
position: absolute;
|
|
15552
|
+
left: 0;
|
|
15553
|
+
right: 0;
|
|
15554
|
+
bottom: 0;
|
|
15555
|
+
height: 2px;
|
|
15556
|
+
background-color: var(--color-surface-level2);
|
|
15557
|
+
overflow: hidden;
|
|
15558
|
+
}
|
|
15559
|
+
|
|
15560
|
+
.muka-chat-attachment-chip__progress-fill {
|
|
15561
|
+
display: block;
|
|
15562
|
+
height: 100%;
|
|
15563
|
+
background-color: var(--color-action-default);
|
|
15564
|
+
transition: width 0.16s ease;
|
|
15565
|
+
}
|
|
15566
|
+
|
|
15567
|
+
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
|
|
15568
|
+
background-color: var(--color-state-error-default, var(--color-text-default-default));
|
|
15569
|
+
}
|
|
15570
|
+
|
|
15571
|
+
|
|
15572
|
+
/* Card */
|
|
15573
|
+
/* Card Component Styles - Using Muka Design Tokens */
|
|
15574
|
+
|
|
15575
|
+
.muka-card {
|
|
15576
|
+
background-color: var(--card-color-default-background);
|
|
15577
|
+
color: var(--card-color-default-foreground);
|
|
15578
|
+
border: var(--border-width-regular) solid var(--card-color-default-border);
|
|
15579
|
+
box-shadow: var(--card-shadow-default);
|
|
15580
|
+
transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
15581
|
+
overflow: hidden;
|
|
15582
|
+
}
|
|
15583
|
+
|
|
15584
|
+
/* Padding variants */
|
|
15585
|
+
.muka-card--padding-none {
|
|
15586
|
+
padding: 0;
|
|
15587
|
+
}
|
|
15588
|
+
|
|
15589
|
+
.muka-card--padding-sm {
|
|
15590
|
+
padding: var(--card-padding-sm);
|
|
15591
|
+
}
|
|
15592
|
+
|
|
15593
|
+
.muka-card--padding-md {
|
|
15594
|
+
padding: var(--card-padding-md);
|
|
15595
|
+
}
|
|
15596
|
+
|
|
15597
|
+
.muka-card--padding-lg {
|
|
15598
|
+
padding: var(--card-padding-lg);
|
|
15599
|
+
}
|
|
15600
|
+
|
|
15601
|
+
/* Radius variants */
|
|
15602
|
+
.muka-card--radius-sm {
|
|
15603
|
+
border-radius: var(--card-radius-sm);
|
|
15604
|
+
}
|
|
15605
|
+
|
|
15606
|
+
.muka-card--radius-md {
|
|
15607
|
+
border-radius: var(--card-radius-md);
|
|
15608
|
+
}
|
|
15609
|
+
|
|
15610
|
+
.muka-card--radius-lg {
|
|
15611
|
+
border-radius: var(--card-radius-lg);
|
|
15612
|
+
}
|
|
15613
|
+
|
|
15614
|
+
/* Interactive variant */
|
|
15615
|
+
.muka-card--interactive {
|
|
15616
|
+
cursor: pointer;
|
|
15617
|
+
user-select: none;
|
|
15618
|
+
}
|
|
15619
|
+
|
|
15620
|
+
.muka-card--interactive:hover {
|
|
15621
|
+
background-color: var(--card-color-hover-background);
|
|
15622
|
+
border-color: var(--card-color-hover-border);
|
|
15623
|
+
box-shadow: var(--card-shadow-hover);
|
|
15624
|
+
}
|
|
15625
|
+
|
|
15626
|
+
.muka-card--interactive:active,
|
|
15627
|
+
.muka-card--interactive.muka-card--pressed {
|
|
15628
|
+
background-color: var(--card-color-pressed-background);
|
|
15629
|
+
border-color: var(--card-color-pressed-border);
|
|
15630
|
+
box-shadow: var(--card-shadow-pressed);
|
|
15631
|
+
}
|
|
15632
|
+
|
|
15633
|
+
.muka-card--interactive:focus-visible {
|
|
15634
|
+
outline: 2px solid var(--color-border-focus);
|
|
15635
|
+
outline-offset: 2px;
|
|
15636
|
+
}
|
|
15637
|
+
|
|
15638
|
+
/* Selected variant */
|
|
15639
|
+
.muka-card--selected {
|
|
15640
|
+
background-color: var(--card-color-selected-background);
|
|
15641
|
+
border-color: var(--card-color-selected-border);
|
|
15642
|
+
border-width: var(--border-width-bold);
|
|
15643
|
+
box-shadow: var(--card-shadow-selected);
|
|
15644
|
+
}
|
|
15645
|
+
|
|
15646
|
+
/* Tone: sticky note (MUK-105) */
|
|
15647
|
+
.muka-card--tone-note {
|
|
15648
|
+
background-color: var(--card-color-note-background);
|
|
15649
|
+
color: var(--card-color-note-foreground);
|
|
15650
|
+
border-color: var(--card-color-note-border);
|
|
15651
|
+
box-shadow: var(--card-shadow-note);
|
|
15652
|
+
}
|
|
15653
|
+
|
|
15654
|
+
.muka-card--tone-note.muka-card--interactive:hover,
|
|
15655
|
+
.muka-card--tone-note.muka-card--interactive:active,
|
|
15656
|
+
.muka-card--tone-note.muka-card--interactive.muka-card--pressed {
|
|
15657
|
+
background-color: var(--card-color-note-background);
|
|
15658
|
+
border-color: var(--card-color-note-border);
|
|
15659
|
+
}
|
|
15660
|
+
|
|
15661
|
+
.muka-card--tilt-left {
|
|
15662
|
+
transform: rotate(-0.75deg);
|
|
15663
|
+
}
|
|
15664
|
+
|
|
15665
|
+
.muka-card--tilt-right {
|
|
15666
|
+
transform: rotate(0.6deg);
|
|
15667
|
+
}
|
|
15668
|
+
|
|
15669
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
15670
|
+
.muka-card--tilt-left,
|
|
15476
15671
|
.muka-card--tilt-right {
|
|
15477
15672
|
transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
15478
15673
|
}
|
|
@@ -16350,237 +16545,81 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
16350
16545
|
}
|
|
16351
16546
|
|
|
16352
16547
|
|
|
16353
|
-
/*
|
|
16354
|
-
/*
|
|
16548
|
+
/* BadgeNumber */
|
|
16549
|
+
/* BadgeNumber Component Styles - Using Muka Design Tokens */
|
|
16355
16550
|
|
|
16356
|
-
.muka-
|
|
16357
|
-
position: relative;
|
|
16551
|
+
.muka-badge-number {
|
|
16358
16552
|
display: inline-flex;
|
|
16359
16553
|
align-items: center;
|
|
16360
|
-
|
|
16361
|
-
|
|
16362
|
-
|
|
16363
|
-
|
|
16364
|
-
|
|
16365
|
-
border-radius: var(--radius-md);
|
|
16366
|
-
overflow: hidden;
|
|
16554
|
+
justify-content: center;
|
|
16555
|
+
border-radius: var(--border-radius-full);
|
|
16556
|
+
white-space: nowrap;
|
|
16557
|
+
user-select: none;
|
|
16558
|
+
box-sizing: border-box;
|
|
16367
16559
|
}
|
|
16368
16560
|
|
|
16369
|
-
|
|
16370
|
-
|
|
16561
|
+
/*
|
|
16562
|
+
* Sizes — fixed height, matching min-width (so a single digit renders as a
|
|
16563
|
+
* circle), horizontal padding, and bold label typography. Vertical centering
|
|
16564
|
+
* is handled by the fixed height + align-items: center.
|
|
16565
|
+
*/
|
|
16566
|
+
.muka-badge-number--2xs {
|
|
16567
|
+
height: var(--badge-number-size-2xs);
|
|
16568
|
+
min-width: var(--badge-number-size-2xs);
|
|
16569
|
+
padding: 0 var(--badge-number-padding-2xs);
|
|
16570
|
+
font-family: var(--text-label-xs-bold-fontFamily);
|
|
16571
|
+
font-weight: var(--text-label-xs-bold-fontWeight);
|
|
16572
|
+
font-size: var(--text-label-xs-bold-fontSize);
|
|
16573
|
+
line-height: var(--text-label-xs-bold-lineHeight);
|
|
16371
16574
|
}
|
|
16372
16575
|
|
|
16373
|
-
.muka-
|
|
16374
|
-
|
|
16576
|
+
.muka-badge-number--xs {
|
|
16577
|
+
height: var(--badge-number-size-xs);
|
|
16578
|
+
min-width: var(--badge-number-size-xs);
|
|
16579
|
+
padding: 0 var(--badge-number-padding-xs);
|
|
16580
|
+
font-family: var(--text-label-sm-bold-fontFamily);
|
|
16581
|
+
font-weight: var(--text-label-sm-bold-fontWeight);
|
|
16582
|
+
font-size: var(--text-label-sm-bold-fontSize);
|
|
16583
|
+
line-height: var(--text-label-sm-bold-lineHeight);
|
|
16375
16584
|
}
|
|
16376
16585
|
|
|
16377
|
-
.muka-
|
|
16378
|
-
|
|
16379
|
-
|
|
16586
|
+
.muka-badge-number--sm {
|
|
16587
|
+
height: var(--badge-number-size-sm);
|
|
16588
|
+
min-width: var(--badge-number-size-sm);
|
|
16589
|
+
padding: 0 var(--badge-number-padding-sm);
|
|
16590
|
+
font-family: var(--text-label-md-bold-fontFamily);
|
|
16591
|
+
font-weight: var(--text-label-md-bold-fontWeight);
|
|
16592
|
+
font-size: var(--text-label-md-bold-fontSize);
|
|
16593
|
+
line-height: var(--text-label-md-bold-lineHeight);
|
|
16380
16594
|
}
|
|
16381
16595
|
|
|
16382
|
-
|
|
16596
|
+
.muka-badge-number--md {
|
|
16597
|
+
height: var(--badge-number-size-md);
|
|
16598
|
+
min-width: var(--badge-number-size-md);
|
|
16599
|
+
padding: 0 var(--badge-number-padding-md);
|
|
16600
|
+
font-family: var(--text-label-lg-bold-fontFamily);
|
|
16601
|
+
font-weight: var(--text-label-lg-bold-fontWeight);
|
|
16602
|
+
font-size: var(--text-label-lg-bold-fontSize);
|
|
16603
|
+
line-height: var(--text-label-lg-bold-lineHeight);
|
|
16604
|
+
}
|
|
16383
16605
|
|
|
16384
|
-
.muka-
|
|
16385
|
-
|
|
16386
|
-
|
|
16387
|
-
|
|
16388
|
-
|
|
16389
|
-
|
|
16390
|
-
|
|
16391
|
-
|
|
16392
|
-
padding: 0;
|
|
16393
|
-
margin: 0;
|
|
16394
|
-
text-align: left;
|
|
16395
|
-
color: inherit;
|
|
16396
|
-
font: inherit;
|
|
16397
|
-
cursor: default;
|
|
16398
|
-
-webkit-tap-highlight-color: transparent;
|
|
16606
|
+
.muka-badge-number--lg {
|
|
16607
|
+
height: var(--badge-number-size-lg);
|
|
16608
|
+
min-width: var(--badge-number-size-lg);
|
|
16609
|
+
padding: 0 var(--badge-number-padding-lg);
|
|
16610
|
+
font-family: var(--text-label-2xl-bold-fontFamily);
|
|
16611
|
+
font-weight: var(--text-label-2xl-bold-fontWeight);
|
|
16612
|
+
font-size: var(--text-label-2xl-bold-fontSize);
|
|
16613
|
+
line-height: var(--text-label-2xl-bold-lineHeight);
|
|
16399
16614
|
}
|
|
16400
16615
|
|
|
16401
|
-
.muka-
|
|
16402
|
-
|
|
16403
|
-
|
|
16404
|
-
|
|
16405
|
-
|
|
16406
|
-
|
|
16407
|
-
|
|
16408
|
-
border-radius: var(--radius-sm);
|
|
16409
|
-
}
|
|
16410
|
-
|
|
16411
|
-
.muka-chat-attachment-chip__icon {
|
|
16412
|
-
display: inline-flex;
|
|
16413
|
-
align-items: center;
|
|
16414
|
-
justify-content: center;
|
|
16415
|
-
flex-shrink: 0;
|
|
16416
|
-
color: var(--color-text-subtle-default);
|
|
16417
|
-
}
|
|
16418
|
-
|
|
16419
|
-
.muka-chat-attachment-chip__text {
|
|
16420
|
-
display: flex;
|
|
16421
|
-
flex-direction: column;
|
|
16422
|
-
min-width: 0;
|
|
16423
|
-
flex: 1 1 auto;
|
|
16424
|
-
}
|
|
16425
|
-
|
|
16426
|
-
.muka-chat-attachment-chip__name {
|
|
16427
|
-
color: var(--color-text-default-default);
|
|
16428
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
16429
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
16430
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
16431
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
16432
|
-
white-space: nowrap;
|
|
16433
|
-
overflow: hidden;
|
|
16434
|
-
text-overflow: ellipsis;
|
|
16435
|
-
}
|
|
16436
|
-
|
|
16437
|
-
.muka-chat-attachment-chip__meta {
|
|
16438
|
-
color: var(--color-text-subtle-default);
|
|
16439
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
16440
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
16441
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
16442
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
16443
|
-
white-space: nowrap;
|
|
16444
|
-
overflow: hidden;
|
|
16445
|
-
text-overflow: ellipsis;
|
|
16446
|
-
}
|
|
16447
|
-
|
|
16448
|
-
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__meta {
|
|
16449
|
-
color: var(--color-state-error-default, var(--color-text-default-default));
|
|
16450
|
-
}
|
|
16451
|
-
|
|
16452
|
-
/* ─── Remove button ────────────────────────────────────── */
|
|
16453
|
-
|
|
16454
|
-
.muka-chat-attachment-chip__remove {
|
|
16455
|
-
display: inline-flex;
|
|
16456
|
-
align-items: center;
|
|
16457
|
-
justify-content: center;
|
|
16458
|
-
width: 20px;
|
|
16459
|
-
height: 20px;
|
|
16460
|
-
border: none;
|
|
16461
|
-
background: none;
|
|
16462
|
-
padding: 0;
|
|
16463
|
-
border-radius: var(--radius-sm);
|
|
16464
|
-
cursor: pointer;
|
|
16465
|
-
color: var(--color-text-subtle-default);
|
|
16466
|
-
flex-shrink: 0;
|
|
16467
|
-
-webkit-tap-highlight-color: transparent;
|
|
16468
|
-
}
|
|
16469
|
-
|
|
16470
|
-
.muka-chat-attachment-chip__remove:hover:not(:disabled) {
|
|
16471
|
-
color: var(--color-text-default-default);
|
|
16472
|
-
background-color: var(--color-surface-level2);
|
|
16473
|
-
}
|
|
16474
|
-
|
|
16475
|
-
.muka-chat-attachment-chip__remove:focus-visible {
|
|
16476
|
-
outline: 2px solid var(--color-action-default);
|
|
16477
|
-
outline-offset: 2px;
|
|
16478
|
-
}
|
|
16479
|
-
|
|
16480
|
-
.muka-chat-attachment-chip__remove:disabled {
|
|
16481
|
-
cursor: not-allowed;
|
|
16482
|
-
opacity: 0.5;
|
|
16483
|
-
}
|
|
16484
|
-
|
|
16485
|
-
/* ─── Progress bar ─────────────────────────────────────── */
|
|
16486
|
-
|
|
16487
|
-
.muka-chat-attachment-chip__progress {
|
|
16488
|
-
position: absolute;
|
|
16489
|
-
left: 0;
|
|
16490
|
-
right: 0;
|
|
16491
|
-
bottom: 0;
|
|
16492
|
-
height: 2px;
|
|
16493
|
-
background-color: var(--color-surface-level2);
|
|
16494
|
-
overflow: hidden;
|
|
16495
|
-
}
|
|
16496
|
-
|
|
16497
|
-
.muka-chat-attachment-chip__progress-fill {
|
|
16498
|
-
display: block;
|
|
16499
|
-
height: 100%;
|
|
16500
|
-
background-color: var(--color-action-default);
|
|
16501
|
-
transition: width 0.16s ease;
|
|
16502
|
-
}
|
|
16503
|
-
|
|
16504
|
-
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
|
|
16505
|
-
background-color: var(--color-state-error-default, var(--color-text-default-default));
|
|
16506
|
-
}
|
|
16507
|
-
|
|
16508
|
-
|
|
16509
|
-
/* BadgeNumber */
|
|
16510
|
-
/* BadgeNumber Component Styles - Using Muka Design Tokens */
|
|
16511
|
-
|
|
16512
|
-
.muka-badge-number {
|
|
16513
|
-
display: inline-flex;
|
|
16514
|
-
align-items: center;
|
|
16515
|
-
justify-content: center;
|
|
16516
|
-
border-radius: var(--border-radius-full);
|
|
16517
|
-
white-space: nowrap;
|
|
16518
|
-
user-select: none;
|
|
16519
|
-
box-sizing: border-box;
|
|
16520
|
-
}
|
|
16521
|
-
|
|
16522
|
-
/*
|
|
16523
|
-
* Sizes — fixed height, matching min-width (so a single digit renders as a
|
|
16524
|
-
* circle), horizontal padding, and bold label typography. Vertical centering
|
|
16525
|
-
* is handled by the fixed height + align-items: center.
|
|
16526
|
-
*/
|
|
16527
|
-
.muka-badge-number--2xs {
|
|
16528
|
-
height: var(--badge-number-size-2xs);
|
|
16529
|
-
min-width: var(--badge-number-size-2xs);
|
|
16530
|
-
padding: 0 var(--badge-number-padding-2xs);
|
|
16531
|
-
font-family: var(--text-label-xs-bold-fontFamily);
|
|
16532
|
-
font-weight: var(--text-label-xs-bold-fontWeight);
|
|
16533
|
-
font-size: var(--text-label-xs-bold-fontSize);
|
|
16534
|
-
line-height: var(--text-label-xs-bold-lineHeight);
|
|
16535
|
-
}
|
|
16536
|
-
|
|
16537
|
-
.muka-badge-number--xs {
|
|
16538
|
-
height: var(--badge-number-size-xs);
|
|
16539
|
-
min-width: var(--badge-number-size-xs);
|
|
16540
|
-
padding: 0 var(--badge-number-padding-xs);
|
|
16541
|
-
font-family: var(--text-label-sm-bold-fontFamily);
|
|
16542
|
-
font-weight: var(--text-label-sm-bold-fontWeight);
|
|
16543
|
-
font-size: var(--text-label-sm-bold-fontSize);
|
|
16544
|
-
line-height: var(--text-label-sm-bold-lineHeight);
|
|
16545
|
-
}
|
|
16546
|
-
|
|
16547
|
-
.muka-badge-number--sm {
|
|
16548
|
-
height: var(--badge-number-size-sm);
|
|
16549
|
-
min-width: var(--badge-number-size-sm);
|
|
16550
|
-
padding: 0 var(--badge-number-padding-sm);
|
|
16551
|
-
font-family: var(--text-label-md-bold-fontFamily);
|
|
16552
|
-
font-weight: var(--text-label-md-bold-fontWeight);
|
|
16553
|
-
font-size: var(--text-label-md-bold-fontSize);
|
|
16554
|
-
line-height: var(--text-label-md-bold-lineHeight);
|
|
16555
|
-
}
|
|
16556
|
-
|
|
16557
|
-
.muka-badge-number--md {
|
|
16558
|
-
height: var(--badge-number-size-md);
|
|
16559
|
-
min-width: var(--badge-number-size-md);
|
|
16560
|
-
padding: 0 var(--badge-number-padding-md);
|
|
16561
|
-
font-family: var(--text-label-lg-bold-fontFamily);
|
|
16562
|
-
font-weight: var(--text-label-lg-bold-fontWeight);
|
|
16563
|
-
font-size: var(--text-label-lg-bold-fontSize);
|
|
16564
|
-
line-height: var(--text-label-lg-bold-lineHeight);
|
|
16565
|
-
}
|
|
16566
|
-
|
|
16567
|
-
.muka-badge-number--lg {
|
|
16568
|
-
height: var(--badge-number-size-lg);
|
|
16569
|
-
min-width: var(--badge-number-size-lg);
|
|
16570
|
-
padding: 0 var(--badge-number-padding-lg);
|
|
16571
|
-
font-family: var(--text-label-2xl-bold-fontFamily);
|
|
16572
|
-
font-weight: var(--text-label-2xl-bold-fontWeight);
|
|
16573
|
-
font-size: var(--text-label-2xl-bold-fontSize);
|
|
16574
|
-
line-height: var(--text-label-2xl-bold-lineHeight);
|
|
16575
|
-
}
|
|
16576
|
-
|
|
16577
|
-
.muka-badge-number__label {
|
|
16578
|
-
/*
|
|
16579
|
-
* The badge sets a tight line-height for compact sizing, which would clip
|
|
16580
|
-
* glyph descenders; give the label a roomier line-height. Vertical centering
|
|
16581
|
-
* is unaffected because the badge height is fixed and content is centered.
|
|
16582
|
-
*/
|
|
16583
|
-
line-height: normal;
|
|
16616
|
+
.muka-badge-number__label {
|
|
16617
|
+
/*
|
|
16618
|
+
* The badge sets a tight line-height for compact sizing, which would clip
|
|
16619
|
+
* glyph descenders; give the label a roomier line-height. Vertical centering
|
|
16620
|
+
* is unaffected because the badge height is fixed and content is centered.
|
|
16621
|
+
*/
|
|
16622
|
+
line-height: normal;
|
|
16584
16623
|
}
|
|
16585
16624
|
|
|
16586
16625
|
/* Neutral variant */
|
|
@@ -17185,6 +17224,72 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
17185
17224
|
}
|
|
17186
17225
|
|
|
17187
17226
|
|
|
17227
|
+
/* Autocomplete */
|
|
17228
|
+
/* Autocomplete — Figma Input Autocomplete (Input field + single-line suggestion Menu).
|
|
17229
|
+
The field reuses the Input styles (.muka-input*); only the menu wiring lives here. */
|
|
17230
|
+
|
|
17231
|
+
.muka-autocomplete {
|
|
17232
|
+
min-width: 200px;
|
|
17233
|
+
}
|
|
17234
|
+
|
|
17235
|
+
/* Covers the field's outer edge so the menu matches its full width. The menu
|
|
17236
|
+
is only open while focused, when the field has the bold border. */
|
|
17237
|
+
.muka-autocomplete__menu-anchor {
|
|
17238
|
+
position: absolute;
|
|
17239
|
+
inset: calc(-1 * var(--border-width-bold));
|
|
17240
|
+
z-index: 0;
|
|
17241
|
+
margin: 0;
|
|
17242
|
+
padding: 0;
|
|
17243
|
+
border: none;
|
|
17244
|
+
background: transparent;
|
|
17245
|
+
pointer-events: none;
|
|
17246
|
+
opacity: 0;
|
|
17247
|
+
}
|
|
17248
|
+
|
|
17249
|
+
/* Keep the field content above the invisible anchor. */
|
|
17250
|
+
.muka-autocomplete__field > :not(.muka-autocomplete__menu-anchor) {
|
|
17251
|
+
position: relative;
|
|
17252
|
+
z-index: 1;
|
|
17253
|
+
}
|
|
17254
|
+
|
|
17255
|
+
/* Figma: the menu is as wide as the field (never below the menu min-width token). */
|
|
17256
|
+
.muka-autocomplete__menu {
|
|
17257
|
+
width: var(--radix-dropdown-menu-trigger-width);
|
|
17258
|
+
max-width: calc(100vw - 2rem);
|
|
17259
|
+
}
|
|
17260
|
+
|
|
17261
|
+
/* Suggestions are single-line; long labels truncate. */
|
|
17262
|
+
.muka-autocomplete__menu .muka-menu__item-label {
|
|
17263
|
+
overflow: hidden;
|
|
17264
|
+
text-overflow: ellipsis;
|
|
17265
|
+
}
|
|
17266
|
+
|
|
17267
|
+
/* Loading and empty rows: menu-row geometry, not selectable. */
|
|
17268
|
+
.muka-autocomplete__status {
|
|
17269
|
+
display: flex;
|
|
17270
|
+
align-items: center;
|
|
17271
|
+
gap: var(--menu-item-gap);
|
|
17272
|
+
min-height: var(--menu-item-height);
|
|
17273
|
+
padding: var(--menu-item-padding-y) var(--menu-item-padding-x);
|
|
17274
|
+
color: var(--color-text-subtle-default);
|
|
17275
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
17276
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
17277
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
17278
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
17279
|
+
}
|
|
17280
|
+
|
|
17281
|
+
.muka-autocomplete__footer {
|
|
17282
|
+
flex-shrink: 0;
|
|
17283
|
+
padding: var(--spacing-2) var(--spacing-3);
|
|
17284
|
+
border-top: var(--border-width-regular) solid var(--color-border-default);
|
|
17285
|
+
color: var(--color-text-subtle-default);
|
|
17286
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
17287
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
17288
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
17289
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
17290
|
+
}
|
|
17291
|
+
|
|
17292
|
+
|
|
17188
17293
|
/* AppShell */
|
|
17189
17294
|
/* AppShell Component Styles */
|
|
17190
17295
|
|
|
@@ -17307,74 +17412,8 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
17307
17412
|
}
|
|
17308
17413
|
|
|
17309
17414
|
|
|
17310
|
-
/*
|
|
17311
|
-
/*
|
|
17312
|
-
The field reuses the Input styles (.muka-input*); only the menu wiring lives here. */
|
|
17313
|
-
|
|
17314
|
-
.muka-autocomplete {
|
|
17315
|
-
min-width: 200px;
|
|
17316
|
-
}
|
|
17317
|
-
|
|
17318
|
-
/* Covers the field's outer edge so the menu matches its full width. The menu
|
|
17319
|
-
is only open while focused, when the field has the bold border. */
|
|
17320
|
-
.muka-autocomplete__menu-anchor {
|
|
17321
|
-
position: absolute;
|
|
17322
|
-
inset: calc(-1 * var(--border-width-bold));
|
|
17323
|
-
z-index: 0;
|
|
17324
|
-
margin: 0;
|
|
17325
|
-
padding: 0;
|
|
17326
|
-
border: none;
|
|
17327
|
-
background: transparent;
|
|
17328
|
-
pointer-events: none;
|
|
17329
|
-
opacity: 0;
|
|
17330
|
-
}
|
|
17331
|
-
|
|
17332
|
-
/* Keep the field content above the invisible anchor. */
|
|
17333
|
-
.muka-autocomplete__field > :not(.muka-autocomplete__menu-anchor) {
|
|
17334
|
-
position: relative;
|
|
17335
|
-
z-index: 1;
|
|
17336
|
-
}
|
|
17337
|
-
|
|
17338
|
-
/* Figma: the menu is as wide as the field (never below the menu min-width token). */
|
|
17339
|
-
.muka-autocomplete__menu {
|
|
17340
|
-
width: var(--radix-dropdown-menu-trigger-width);
|
|
17341
|
-
max-width: calc(100vw - 2rem);
|
|
17342
|
-
}
|
|
17343
|
-
|
|
17344
|
-
/* Suggestions are single-line; long labels truncate. */
|
|
17345
|
-
.muka-autocomplete__menu .muka-menu__item-label {
|
|
17346
|
-
overflow: hidden;
|
|
17347
|
-
text-overflow: ellipsis;
|
|
17348
|
-
}
|
|
17349
|
-
|
|
17350
|
-
/* Loading and empty rows: menu-row geometry, not selectable. */
|
|
17351
|
-
.muka-autocomplete__status {
|
|
17352
|
-
display: flex;
|
|
17353
|
-
align-items: center;
|
|
17354
|
-
gap: var(--menu-item-gap);
|
|
17355
|
-
min-height: var(--menu-item-height);
|
|
17356
|
-
padding: var(--menu-item-padding-y) var(--menu-item-padding-x);
|
|
17357
|
-
color: var(--color-text-subtle-default);
|
|
17358
|
-
font-family: var(--text-label-md-regular-fontFamily);
|
|
17359
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
17360
|
-
font-weight: var(--text-label-md-regular-fontWeight);
|
|
17361
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
17362
|
-
}
|
|
17363
|
-
|
|
17364
|
-
.muka-autocomplete__footer {
|
|
17365
|
-
flex-shrink: 0;
|
|
17366
|
-
padding: var(--spacing-2) var(--spacing-3);
|
|
17367
|
-
border-top: var(--border-width-regular) solid var(--color-border-default);
|
|
17368
|
-
color: var(--color-text-subtle-default);
|
|
17369
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
17370
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
17371
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
17372
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
17373
|
-
}
|
|
17374
|
-
|
|
17375
|
-
|
|
17376
|
-
/* Alert */
|
|
17377
|
-
/* Alert Component Styles - Using Muka Design Tokens */
|
|
17415
|
+
/* Alert */
|
|
17416
|
+
/* Alert Component Styles - Using Muka Design Tokens */
|
|
17378
17417
|
|
|
17379
17418
|
.muka-alert {
|
|
17380
17419
|
display: flex;
|
|
@@ -17753,6 +17792,148 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
17753
17792
|
}
|
|
17754
17793
|
|
|
17755
17794
|
|
|
17795
|
+
/* ActionSheet */
|
|
17796
|
+
/* ActionSheet Component Styles */
|
|
17797
|
+
|
|
17798
|
+
.muka-action-sheet__inner {
|
|
17799
|
+
display: flex;
|
|
17800
|
+
flex-direction: column;
|
|
17801
|
+
padding: 0 var(--spacing-4) var(--spacing-3) var(--spacing-4);
|
|
17802
|
+
gap: var(--spacing-3);
|
|
17803
|
+
}
|
|
17804
|
+
|
|
17805
|
+
/* ─── Header ──────────────────────────────────────────── */
|
|
17806
|
+
|
|
17807
|
+
.muka-action-sheet__header {
|
|
17808
|
+
display: flex;
|
|
17809
|
+
flex-direction: column;
|
|
17810
|
+
align-items: center;
|
|
17811
|
+
gap: var(--spacing-1);
|
|
17812
|
+
padding: var(--spacing-2) 0 var(--spacing-3);
|
|
17813
|
+
text-align: center;
|
|
17814
|
+
}
|
|
17815
|
+
|
|
17816
|
+
.muka-action-sheet__title {
|
|
17817
|
+
margin: 0;
|
|
17818
|
+
color: var(--color-text-default-default);
|
|
17819
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
17820
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
17821
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
17822
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
17823
|
+
}
|
|
17824
|
+
|
|
17825
|
+
.muka-action-sheet__description {
|
|
17826
|
+
margin: 0;
|
|
17827
|
+
color: var(--color-text-subtle-default);
|
|
17828
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
17829
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
17830
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
17831
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
17832
|
+
}
|
|
17833
|
+
|
|
17834
|
+
/* ─── Actions group ───────────────────────────────────── */
|
|
17835
|
+
|
|
17836
|
+
.muka-action-sheet__actions {
|
|
17837
|
+
display: flex;
|
|
17838
|
+
flex-direction: column;
|
|
17839
|
+
background-color: var(--color-surface-level1);
|
|
17840
|
+
border-radius: var(--radius-md);
|
|
17841
|
+
overflow: hidden;
|
|
17842
|
+
}
|
|
17843
|
+
|
|
17844
|
+
.muka-action-sheet__item {
|
|
17845
|
+
display: flex;
|
|
17846
|
+
align-items: center;
|
|
17847
|
+
gap: var(--spacing-3);
|
|
17848
|
+
padding: var(--spacing-3) var(--spacing-4);
|
|
17849
|
+
background: none;
|
|
17850
|
+
border: none;
|
|
17851
|
+
cursor: pointer;
|
|
17852
|
+
text-align: left;
|
|
17853
|
+
color: var(--color-text-default-default);
|
|
17854
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
17855
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
17856
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
17857
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
17858
|
+
-webkit-tap-highlight-color: transparent;
|
|
17859
|
+
transition: background-color 0.12s ease;
|
|
17860
|
+
}
|
|
17861
|
+
|
|
17862
|
+
.muka-action-sheet__item + .muka-action-sheet__item {
|
|
17863
|
+
border-top: var(--border-width-regular) solid var(--color-border-default);
|
|
17864
|
+
}
|
|
17865
|
+
|
|
17866
|
+
.muka-action-sheet__item:hover:not(:disabled) {
|
|
17867
|
+
background-color: var(--color-surface-level2);
|
|
17868
|
+
}
|
|
17869
|
+
|
|
17870
|
+
.muka-action-sheet__item:active:not(:disabled) {
|
|
17871
|
+
background-color: var(--color-surface-level3);
|
|
17872
|
+
}
|
|
17873
|
+
|
|
17874
|
+
.muka-action-sheet__item:focus-visible {
|
|
17875
|
+
outline: 2px solid var(--color-action-default);
|
|
17876
|
+
outline-offset: -2px;
|
|
17877
|
+
}
|
|
17878
|
+
|
|
17879
|
+
.muka-action-sheet__item--destructive {
|
|
17880
|
+
color: var(--color-state-error-default);
|
|
17881
|
+
}
|
|
17882
|
+
|
|
17883
|
+
.muka-action-sheet__item--disabled,
|
|
17884
|
+
.muka-action-sheet__item:disabled {
|
|
17885
|
+
opacity: 0.5;
|
|
17886
|
+
cursor: not-allowed;
|
|
17887
|
+
}
|
|
17888
|
+
|
|
17889
|
+
.muka-action-sheet__item-icon {
|
|
17890
|
+
display: inline-flex;
|
|
17891
|
+
align-items: center;
|
|
17892
|
+
justify-content: center;
|
|
17893
|
+
width: 24px;
|
|
17894
|
+
height: 24px;
|
|
17895
|
+
flex-shrink: 0;
|
|
17896
|
+
}
|
|
17897
|
+
|
|
17898
|
+
.muka-action-sheet__item-icon svg {
|
|
17899
|
+
width: 100%;
|
|
17900
|
+
height: 100%;
|
|
17901
|
+
}
|
|
17902
|
+
|
|
17903
|
+
.muka-action-sheet__item-label {
|
|
17904
|
+
flex: 1;
|
|
17905
|
+
}
|
|
17906
|
+
|
|
17907
|
+
/* ─── Cancel button (separate at bottom) ──────────────── */
|
|
17908
|
+
|
|
17909
|
+
.muka-action-sheet__cancel {
|
|
17910
|
+
display: flex;
|
|
17911
|
+
align-items: center;
|
|
17912
|
+
justify-content: center;
|
|
17913
|
+
padding: var(--spacing-3) var(--spacing-4);
|
|
17914
|
+
background-color: var(--color-surface-level1);
|
|
17915
|
+
border: none;
|
|
17916
|
+
border-radius: var(--radius-md);
|
|
17917
|
+
cursor: pointer;
|
|
17918
|
+
color: var(--color-text-default-default);
|
|
17919
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
17920
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
17921
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
17922
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
17923
|
+
-webkit-tap-highlight-color: transparent;
|
|
17924
|
+
transition: background-color 0.12s ease;
|
|
17925
|
+
}
|
|
17926
|
+
|
|
17927
|
+
.muka-action-sheet__cancel:hover {
|
|
17928
|
+
background-color: var(--color-surface-level2);
|
|
17929
|
+
}
|
|
17930
|
+
|
|
17931
|
+
.muka-action-sheet__cancel:focus-visible {
|
|
17932
|
+
outline: 2px solid var(--color-action-default);
|
|
17933
|
+
outline-offset: 2px;
|
|
17934
|
+
}
|
|
17935
|
+
|
|
17936
|
+
|
|
17756
17937
|
/* Accordion */
|
|
17757
17938
|
/* Accordion Component Styles */
|
|
17758
17939
|
|
|
@@ -17884,144 +18065,110 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
17884
18065
|
}
|
|
17885
18066
|
|
|
17886
18067
|
|
|
17887
|
-
/*
|
|
17888
|
-
/*
|
|
18068
|
+
/* SwipeActions */
|
|
18069
|
+
/* SwipeActions Component Styles */
|
|
17889
18070
|
|
|
17890
|
-
.muka-
|
|
17891
|
-
|
|
17892
|
-
|
|
17893
|
-
|
|
17894
|
-
|
|
18071
|
+
.muka-swipe-actions {
|
|
18072
|
+
position: relative;
|
|
18073
|
+
overflow: hidden;
|
|
18074
|
+
touch-action: pan-y;
|
|
18075
|
+
-webkit-user-select: none;
|
|
18076
|
+
user-select: none;
|
|
18077
|
+
background-color: var(--color-surface-level3);
|
|
17895
18078
|
}
|
|
17896
18079
|
|
|
17897
|
-
|
|
18080
|
+
.muka-swipe-actions--disabled {
|
|
18081
|
+
touch-action: auto;
|
|
18082
|
+
}
|
|
17898
18083
|
|
|
17899
|
-
|
|
18084
|
+
/* ─── Row that holds the actual content ────────────────── */
|
|
18085
|
+
|
|
18086
|
+
.muka-swipe-actions__row {
|
|
18087
|
+
position: relative;
|
|
18088
|
+
z-index: 1;
|
|
18089
|
+
background-color: inherit;
|
|
18090
|
+
will-change: transform;
|
|
18091
|
+
}
|
|
18092
|
+
|
|
18093
|
+
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
18094
|
+
|
|
18095
|
+
.muka-swipe-actions__panel {
|
|
18096
|
+
position: absolute;
|
|
18097
|
+
top: 0;
|
|
18098
|
+
bottom: 0;
|
|
17900
18099
|
display: flex;
|
|
17901
|
-
|
|
17902
|
-
|
|
17903
|
-
gap: var(--spacing-1);
|
|
17904
|
-
padding: var(--spacing-2) 0 var(--spacing-3);
|
|
17905
|
-
text-align: center;
|
|
18100
|
+
align-items: stretch;
|
|
18101
|
+
z-index: 0;
|
|
17906
18102
|
}
|
|
17907
18103
|
|
|
17908
|
-
.muka-
|
|
17909
|
-
|
|
17910
|
-
color: var(--color-text-default-default);
|
|
17911
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
17912
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
17913
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
17914
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
18104
|
+
.muka-swipe-actions__panel--left {
|
|
18105
|
+
left: 0;
|
|
17915
18106
|
}
|
|
17916
18107
|
|
|
17917
|
-
.muka-
|
|
17918
|
-
|
|
17919
|
-
color: var(--color-text-subtle-default);
|
|
17920
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
17921
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
17922
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
17923
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
18108
|
+
.muka-swipe-actions__panel--right {
|
|
18109
|
+
right: 0;
|
|
17924
18110
|
}
|
|
17925
18111
|
|
|
17926
|
-
/* ───
|
|
18112
|
+
/* ─── Single action button ─────────────────────────────── */
|
|
17927
18113
|
|
|
17928
|
-
.muka-
|
|
18114
|
+
.muka-swipe-actions__button {
|
|
17929
18115
|
display: flex;
|
|
17930
18116
|
flex-direction: column;
|
|
17931
|
-
background-color: var(--color-surface-level1);
|
|
17932
|
-
border-radius: var(--radius-md);
|
|
17933
|
-
overflow: hidden;
|
|
17934
|
-
}
|
|
17935
|
-
|
|
17936
|
-
.muka-action-sheet__item {
|
|
17937
|
-
display: flex;
|
|
17938
18117
|
align-items: center;
|
|
17939
|
-
|
|
17940
|
-
|
|
17941
|
-
background: none;
|
|
18118
|
+
justify-content: center;
|
|
18119
|
+
gap: var(--spacing-1);
|
|
17942
18120
|
border: none;
|
|
17943
18121
|
cursor: pointer;
|
|
17944
|
-
|
|
18122
|
+
padding: var(--spacing-2);
|
|
18123
|
+
background-color: var(--color-surface-level2);
|
|
17945
18124
|
color: var(--color-text-default-default);
|
|
17946
|
-
font-family: var(--text-
|
|
17947
|
-
font-weight: var(--text-
|
|
17948
|
-
font-size: var(--text-
|
|
17949
|
-
line-height: var(--text-
|
|
18125
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
18126
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
18127
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
18128
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
17950
18129
|
-webkit-tap-highlight-color: transparent;
|
|
17951
|
-
transition:
|
|
17952
|
-
}
|
|
17953
|
-
|
|
17954
|
-
.muka-action-sheet__item + .muka-action-sheet__item {
|
|
17955
|
-
border-top: var(--border-width-regular) solid var(--color-border-default);
|
|
17956
|
-
}
|
|
17957
|
-
|
|
17958
|
-
.muka-action-sheet__item:hover:not(:disabled) {
|
|
17959
|
-
background-color: var(--color-surface-level2);
|
|
18130
|
+
transition: filter 0.12s ease;
|
|
17960
18131
|
}
|
|
17961
18132
|
|
|
17962
|
-
.muka-
|
|
17963
|
-
|
|
18133
|
+
.muka-swipe-actions__button:hover {
|
|
18134
|
+
filter: brightness(0.95);
|
|
17964
18135
|
}
|
|
17965
18136
|
|
|
17966
|
-
.muka-
|
|
18137
|
+
.muka-swipe-actions__button:focus-visible {
|
|
17967
18138
|
outline: 2px solid var(--color-action-default);
|
|
17968
18139
|
outline-offset: -2px;
|
|
17969
18140
|
}
|
|
17970
18141
|
|
|
17971
|
-
.muka-
|
|
17972
|
-
color: var(--color-state-error-default);
|
|
17973
|
-
}
|
|
17974
|
-
|
|
17975
|
-
.muka-action-sheet__item--disabled,
|
|
17976
|
-
.muka-action-sheet__item:disabled {
|
|
17977
|
-
opacity: 0.5;
|
|
17978
|
-
cursor: not-allowed;
|
|
17979
|
-
}
|
|
17980
|
-
|
|
17981
|
-
.muka-action-sheet__item-icon {
|
|
18142
|
+
.muka-swipe-actions__button-icon {
|
|
17982
18143
|
display: inline-flex;
|
|
17983
18144
|
align-items: center;
|
|
17984
18145
|
justify-content: center;
|
|
17985
|
-
width: 24px;
|
|
17986
|
-
height: 24px;
|
|
17987
|
-
flex-shrink: 0;
|
|
17988
18146
|
}
|
|
17989
18147
|
|
|
17990
|
-
|
|
17991
|
-
width: 100%;
|
|
17992
|
-
height: 100%;
|
|
17993
|
-
}
|
|
18148
|
+
/* ─── Color variants ───────────────────────────────────── */
|
|
17994
18149
|
|
|
17995
|
-
.muka-
|
|
17996
|
-
|
|
18150
|
+
.muka-swipe-actions__button--neutral {
|
|
18151
|
+
background-color: var(--color-surface-level2);
|
|
18152
|
+
color: var(--color-text-default-default);
|
|
17997
18153
|
}
|
|
17998
18154
|
|
|
17999
|
-
|
|
18155
|
+
.muka-swipe-actions__button--primary {
|
|
18156
|
+
background-color: var(--color-action-default);
|
|
18157
|
+
color: var(--color-text-default-inverse);
|
|
18158
|
+
}
|
|
18000
18159
|
|
|
18001
|
-
.muka-
|
|
18002
|
-
|
|
18003
|
-
|
|
18004
|
-
justify-content: center;
|
|
18005
|
-
padding: var(--spacing-3) var(--spacing-4);
|
|
18006
|
-
background-color: var(--color-surface-level1);
|
|
18007
|
-
border: none;
|
|
18008
|
-
border-radius: var(--radius-md);
|
|
18009
|
-
cursor: pointer;
|
|
18010
|
-
color: var(--color-text-default-default);
|
|
18011
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
18012
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
18013
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
18014
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
18015
|
-
-webkit-tap-highlight-color: transparent;
|
|
18016
|
-
transition: background-color 0.12s ease;
|
|
18160
|
+
.muka-swipe-actions__button--success {
|
|
18161
|
+
background-color: var(--color-state-success-default);
|
|
18162
|
+
color: var(--color-text-default-inverse);
|
|
18017
18163
|
}
|
|
18018
18164
|
|
|
18019
|
-
.muka-
|
|
18020
|
-
background-color: var(--color-
|
|
18165
|
+
.muka-swipe-actions__button--warning {
|
|
18166
|
+
background-color: var(--color-state-warning-default);
|
|
18167
|
+
color: var(--color-text-default-default);
|
|
18021
18168
|
}
|
|
18022
18169
|
|
|
18023
|
-
.muka-
|
|
18024
|
-
|
|
18025
|
-
|
|
18170
|
+
.muka-swipe-actions__button--destructive {
|
|
18171
|
+
background-color: var(--color-state-error-default);
|
|
18172
|
+
color: var(--color-text-default-inverse);
|
|
18026
18173
|
}
|
|
18027
18174
|
|