@revikornmann/muka-ui 0.45.2 → 0.47.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/ChatChoiceCard/ChatChoiceCard.css +33 -0
- package/dist/cjs/components/ChatChoiceCard/ChatChoiceCard.js +47 -0
- package/dist/cjs/components/ChatChoiceCard/ChatChoiceCard.js.map +1 -0
- package/dist/cjs/components/ChatChoiceCard/ChoiceOptions.js +39 -0
- package/dist/cjs/components/ChatChoiceCard/ChoiceOptions.js.map +1 -0
- package/dist/cjs/components/ChatChoiceCard/index.js +11 -0
- package/dist/cjs/components/ChatChoiceCard/index.js.map +1 -0
- package/dist/cjs/components/ChatComposer/ChatComposer.css +8 -0
- package/dist/cjs/components/ChatComposer/ChatComposer.js +2 -2
- package/dist/cjs/components/ChatComposer/ChatComposer.js.map +1 -1
- package/dist/cjs/components/ChatQuestionCard/ChatQuestionCard.css +76 -0
- package/dist/cjs/components/ChatQuestionCard/ChatQuestionCard.js +36 -0
- package/dist/cjs/components/ChatQuestionCard/ChatQuestionCard.js.map +1 -0
- package/dist/cjs/components/ChatQuestionCard/index.js +11 -0
- package/dist/cjs/components/ChatQuestionCard/index.js.map +1 -0
- package/dist/cjs/components/ChatQuestionSeries/ChatQuestionSeries.css +38 -0
- package/dist/cjs/components/ChatQuestionSeries/ChatQuestionSeries.js +93 -0
- package/dist/cjs/components/ChatQuestionSeries/ChatQuestionSeries.js.map +1 -0
- package/dist/cjs/components/ChatQuestionSeries/index.js +11 -0
- package/dist/cjs/components/ChatQuestionSeries/index.js.map +1 -0
- package/dist/cjs/components/Chip/Chip.js +14 -6
- package/dist/cjs/components/Chip/Chip.js.map +1 -1
- package/dist/cjs/components/ChipSelectGroup/ChipSelectGroup.css +6 -0
- package/dist/cjs/components/ChipSelectGroup/ChipSelectGroup.js +38 -0
- package/dist/cjs/components/ChipSelectGroup/ChipSelectGroup.js.map +1 -0
- package/dist/cjs/components/ChipSelectGroup/index.js +11 -0
- package/dist/cjs/components/ChipSelectGroup/index.js.map +1 -0
- package/dist/cjs/components/index.js +10 -1
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/esm/components/ChatChoiceCard/ChatChoiceCard.css +33 -0
- package/dist/esm/components/ChatChoiceCard/ChatChoiceCard.js +41 -0
- package/dist/esm/components/ChatChoiceCard/ChatChoiceCard.js.map +1 -0
- package/dist/esm/components/ChatChoiceCard/ChoiceOptions.js +32 -0
- package/dist/esm/components/ChatChoiceCard/ChoiceOptions.js.map +1 -0
- package/dist/esm/components/ChatChoiceCard/index.js +3 -0
- package/dist/esm/components/ChatChoiceCard/index.js.map +1 -0
- package/dist/esm/components/ChatComposer/ChatComposer.css +8 -0
- package/dist/esm/components/ChatComposer/ChatComposer.js +2 -2
- package/dist/esm/components/ChatComposer/ChatComposer.js.map +1 -1
- package/dist/esm/components/ChatQuestionCard/ChatQuestionCard.css +76 -0
- package/dist/esm/components/ChatQuestionCard/ChatQuestionCard.js +30 -0
- package/dist/esm/components/ChatQuestionCard/ChatQuestionCard.js.map +1 -0
- package/dist/esm/components/ChatQuestionCard/index.js +3 -0
- package/dist/esm/components/ChatQuestionCard/index.js.map +1 -0
- package/dist/esm/components/ChatQuestionSeries/ChatQuestionSeries.css +38 -0
- package/dist/esm/components/ChatQuestionSeries/ChatQuestionSeries.js +87 -0
- package/dist/esm/components/ChatQuestionSeries/ChatQuestionSeries.js.map +1 -0
- package/dist/esm/components/ChatQuestionSeries/index.js +3 -0
- package/dist/esm/components/ChatQuestionSeries/index.js.map +1 -0
- package/dist/esm/components/Chip/Chip.js +14 -6
- package/dist/esm/components/Chip/Chip.js.map +1 -1
- package/dist/esm/components/ChipSelectGroup/ChipSelectGroup.css +6 -0
- package/dist/esm/components/ChipSelectGroup/ChipSelectGroup.js +32 -0
- package/dist/esm/components/ChipSelectGroup/ChipSelectGroup.js.map +1 -0
- package/dist/esm/components/ChipSelectGroup/index.js +3 -0
- package/dist/esm/components/ChipSelectGroup/index.js.map +1 -0
- package/dist/esm/components/index.js +5 -0
- package/dist/esm/components/index.js.map +1 -1
- package/dist/styles/components/ChatChoiceCard.css +33 -0
- package/dist/styles/components/ChatComposer.css +8 -0
- package/dist/styles/components/ChatQuestionCard.css +76 -0
- package/dist/styles/components/ChatQuestionSeries.css +38 -0
- package/dist/styles/components/ChipSelectGroup.css +6 -0
- package/dist/styles/index.css +678 -505
- package/dist/styles/muka-dark.css +678 -505
- package/dist/styles/muka-light.css +678 -505
- package/dist/styles/wireframe-dark.css +678 -505
- package/dist/styles/wireframe-light.css +678 -505
- package/dist/types/components/ChatChoiceCard/ChatChoiceCard.d.ts +46 -0
- package/dist/types/components/ChatChoiceCard/ChatChoiceCard.d.ts.map +1 -0
- package/dist/types/components/ChatChoiceCard/ChoiceOptions.d.ts +25 -0
- package/dist/types/components/ChatChoiceCard/ChoiceOptions.d.ts.map +1 -0
- package/dist/types/components/ChatChoiceCard/index.d.ts +3 -0
- package/dist/types/components/ChatChoiceCard/index.d.ts.map +1 -0
- package/dist/types/components/ChatComposer/ChatComposer.d.ts +7 -1
- package/dist/types/components/ChatComposer/ChatComposer.d.ts.map +1 -1
- package/dist/types/components/ChatQuestionCard/ChatQuestionCard.d.ts +35 -0
- package/dist/types/components/ChatQuestionCard/ChatQuestionCard.d.ts.map +1 -0
- package/dist/types/components/ChatQuestionCard/index.d.ts +3 -0
- package/dist/types/components/ChatQuestionCard/index.d.ts.map +1 -0
- package/dist/types/components/ChatQuestionSeries/ChatQuestionSeries.d.ts +47 -0
- package/dist/types/components/ChatQuestionSeries/ChatQuestionSeries.d.ts.map +1 -0
- package/dist/types/components/ChatQuestionSeries/index.d.ts +3 -0
- package/dist/types/components/ChatQuestionSeries/index.d.ts.map +1 -0
- package/dist/types/components/Chip/Chip.d.ts +7 -0
- package/dist/types/components/Chip/Chip.d.ts.map +1 -1
- package/dist/types/components/ChipSelectGroup/ChipSelectGroup.d.ts +34 -0
- package/dist/types/components/ChipSelectGroup/ChipSelectGroup.d.ts.map +1 -0
- package/dist/types/components/ChipSelectGroup/index.d.ts +3 -0
- package/dist/types/components/ChipSelectGroup/index.d.ts.map +1 -0
- package/dist/types/components/index.d.ts +4 -0
- package/dist/types/components/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -3773,6 +3773,191 @@ body {
|
|
|
3773
3773
|
}
|
|
3774
3774
|
|
|
3775
3775
|
|
|
3776
|
+
/* Thumbnail */
|
|
3777
|
+
/* Thumbnail Component Styles - Using Muka Design Tokens */
|
|
3778
|
+
|
|
3779
|
+
.muka-thumbnail {
|
|
3780
|
+
position: relative;
|
|
3781
|
+
flex-shrink: 0;
|
|
3782
|
+
}
|
|
3783
|
+
|
|
3784
|
+
/* The frame carries the border, background and shape clip. Keeping it separate
|
|
3785
|
+
from the root lets the remove (×) button sit outside the clip (needed for the
|
|
3786
|
+
circular/ellipse shape, whose corners would otherwise clip the button). */
|
|
3787
|
+
.muka-thumbnail__frame {
|
|
3788
|
+
position: absolute;
|
|
3789
|
+
inset: 0;
|
|
3790
|
+
overflow: hidden;
|
|
3791
|
+
border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
|
|
3792
|
+
border-radius: var(--border-radius-lg);
|
|
3793
|
+
background-color: var(--color-surface-level1);
|
|
3794
|
+
}
|
|
3795
|
+
|
|
3796
|
+
/* ─── Shapes ──────────────────────────────────────────── */
|
|
3797
|
+
.muka-thumbnail--4-3 {
|
|
3798
|
+
width: 160px;
|
|
3799
|
+
height: 120px;
|
|
3800
|
+
}
|
|
3801
|
+
|
|
3802
|
+
.muka-thumbnail--1-1 {
|
|
3803
|
+
width: 120px;
|
|
3804
|
+
height: 120px;
|
|
3805
|
+
}
|
|
3806
|
+
|
|
3807
|
+
.muka-thumbnail--ellipse {
|
|
3808
|
+
width: 120px;
|
|
3809
|
+
height: 120px;
|
|
3810
|
+
}
|
|
3811
|
+
|
|
3812
|
+
/* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
|
|
3813
|
+
.muka-thumbnail--fluid {
|
|
3814
|
+
width: 100%;
|
|
3815
|
+
height: auto;
|
|
3816
|
+
aspect-ratio: 1 / 1;
|
|
3817
|
+
}
|
|
3818
|
+
|
|
3819
|
+
.muka-thumbnail--fluid.muka-thumbnail--4-3 {
|
|
3820
|
+
aspect-ratio: 4 / 3;
|
|
3821
|
+
}
|
|
3822
|
+
|
|
3823
|
+
.muka-thumbnail--ellipse .muka-thumbnail__frame {
|
|
3824
|
+
border-radius: var(--border-radius-full);
|
|
3825
|
+
}
|
|
3826
|
+
|
|
3827
|
+
/* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
|
|
3828
|
+
interactive hover zoom has a clean origin. */
|
|
3829
|
+
.muka-thumbnail__image {
|
|
3830
|
+
position: absolute;
|
|
3831
|
+
inset: 0;
|
|
3832
|
+
width: 100%;
|
|
3833
|
+
height: 100%;
|
|
3834
|
+
object-fit: cover;
|
|
3835
|
+
display: block;
|
|
3836
|
+
transform-origin: center;
|
|
3837
|
+
/* Micro-interaction: hover zoom eases out over the "micro" duration. */
|
|
3838
|
+
transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
|
|
3839
|
+
}
|
|
3840
|
+
|
|
3841
|
+
/* ─── Interactive (click-to-enlarge) ──────────────────── */
|
|
3842
|
+
.muka-thumbnail__trigger {
|
|
3843
|
+
position: absolute;
|
|
3844
|
+
inset: 0;
|
|
3845
|
+
padding: 0;
|
|
3846
|
+
border: 0;
|
|
3847
|
+
background: none;
|
|
3848
|
+
cursor: pointer;
|
|
3849
|
+
overflow: hidden;
|
|
3850
|
+
}
|
|
3851
|
+
|
|
3852
|
+
.muka-thumbnail__trigger:focus-visible {
|
|
3853
|
+
outline: 2px solid var(--color-border-focus);
|
|
3854
|
+
outline-offset: -2px;
|
|
3855
|
+
}
|
|
3856
|
+
|
|
3857
|
+
/* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
|
|
3858
|
+
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
3859
|
+
transform: scale(1.05);
|
|
3860
|
+
}
|
|
3861
|
+
|
|
3862
|
+
/* ─── Loading overlay + progress donut ────────────────── */
|
|
3863
|
+
.muka-thumbnail__overlay {
|
|
3864
|
+
position: absolute;
|
|
3865
|
+
inset: 0;
|
|
3866
|
+
display: flex;
|
|
3867
|
+
align-items: center;
|
|
3868
|
+
justify-content: center;
|
|
3869
|
+
background-color: var(--dialog-color-backdrop);
|
|
3870
|
+
}
|
|
3871
|
+
|
|
3872
|
+
.muka-thumbnail__progress {
|
|
3873
|
+
width: 40px;
|
|
3874
|
+
height: 40px;
|
|
3875
|
+
}
|
|
3876
|
+
|
|
3877
|
+
/* ─── Error / corrupt state ───────────────────────────── */
|
|
3878
|
+
.muka-thumbnail--error .muka-thumbnail__frame {
|
|
3879
|
+
background-color: var(--alias-color-state-error-muted);
|
|
3880
|
+
border-color: var(--alias-color-state-error-default);
|
|
3881
|
+
}
|
|
3882
|
+
|
|
3883
|
+
.muka-thumbnail__error {
|
|
3884
|
+
position: absolute;
|
|
3885
|
+
inset: 0;
|
|
3886
|
+
display: flex;
|
|
3887
|
+
flex-direction: column;
|
|
3888
|
+
align-items: center;
|
|
3889
|
+
justify-content: center;
|
|
3890
|
+
gap: var(--spacing-2);
|
|
3891
|
+
padding: var(--spacing-3);
|
|
3892
|
+
text-align: center;
|
|
3893
|
+
}
|
|
3894
|
+
|
|
3895
|
+
.muka-thumbnail__error-icon {
|
|
3896
|
+
color: var(--alert-color-error-accent);
|
|
3897
|
+
}
|
|
3898
|
+
|
|
3899
|
+
.muka-thumbnail__caption {
|
|
3900
|
+
max-width: 100%;
|
|
3901
|
+
overflow: hidden;
|
|
3902
|
+
text-overflow: ellipsis;
|
|
3903
|
+
white-space: nowrap;
|
|
3904
|
+
color: var(--alert-color-error-accent);
|
|
3905
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
3906
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
3907
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
3908
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
3909
|
+
}
|
|
3910
|
+
|
|
3911
|
+
/* ─── Remove (×) button ───────────────────────────────── */
|
|
3912
|
+
.muka-thumbnail__remove {
|
|
3913
|
+
position: absolute;
|
|
3914
|
+
top: var(--spacing-2);
|
|
3915
|
+
right: var(--spacing-2);
|
|
3916
|
+
display: flex;
|
|
3917
|
+
align-items: center;
|
|
3918
|
+
justify-content: center;
|
|
3919
|
+
width: var(--size-2xl);
|
|
3920
|
+
height: var(--size-2xl);
|
|
3921
|
+
padding: 0;
|
|
3922
|
+
color: var(--button-color-tertiary-foreground-default);
|
|
3923
|
+
background-color: var(--button-color-tertiary-background-default);
|
|
3924
|
+
border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
|
|
3925
|
+
border-radius: var(--border-radius-lg);
|
|
3926
|
+
cursor: pointer;
|
|
3927
|
+
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
3928
|
+
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
3929
|
+
}
|
|
3930
|
+
|
|
3931
|
+
.muka-thumbnail__remove:hover {
|
|
3932
|
+
color: var(--button-color-tertiary-foreground-hover);
|
|
3933
|
+
background-color: var(--button-color-tertiary-background-hover);
|
|
3934
|
+
border-color: var(--button-color-tertiary-border-hover);
|
|
3935
|
+
}
|
|
3936
|
+
|
|
3937
|
+
.muka-thumbnail__remove:active {
|
|
3938
|
+
color: var(--button-color-tertiary-foreground-pressed);
|
|
3939
|
+
background-color: var(--button-color-tertiary-background-pressed);
|
|
3940
|
+
border-color: var(--button-color-tertiary-border-pressed);
|
|
3941
|
+
}
|
|
3942
|
+
|
|
3943
|
+
.muka-thumbnail__remove:focus-visible {
|
|
3944
|
+
outline: 2px solid var(--color-border-focus);
|
|
3945
|
+
outline-offset: 2px;
|
|
3946
|
+
}
|
|
3947
|
+
|
|
3948
|
+
/* ─── Reduced motion ──────────────────────────────────── */
|
|
3949
|
+
@media (prefers-reduced-motion: reduce) {
|
|
3950
|
+
.muka-thumbnail__image,
|
|
3951
|
+
.muka-thumbnail__remove {
|
|
3952
|
+
transition: none;
|
|
3953
|
+
}
|
|
3954
|
+
|
|
3955
|
+
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
3956
|
+
transform: none;
|
|
3957
|
+
}
|
|
3958
|
+
}
|
|
3959
|
+
|
|
3960
|
+
|
|
3776
3961
|
/* Textarea */
|
|
3777
3962
|
/* Textarea Component Styles - Using Muka Design Tokens */
|
|
3778
3963
|
|
|
@@ -4185,214 +4370,29 @@ body {
|
|
|
4185
4370
|
}
|
|
4186
4371
|
/* Remove flex: 1 behavior for Fill tabs on mobile so they map correctly */
|
|
4187
4372
|
.muka-tabs--align-fill .muka-tabs__trigger {
|
|
4188
|
-
flex: 0 0 auto;
|
|
4189
|
-
}
|
|
4190
|
-
}
|
|
4191
|
-
|
|
4192
|
-
/* Tab Panel — content area */
|
|
4193
|
-
.muka-tabs__panel {
|
|
4194
|
-
background-color: var(--tabs-panel-background);
|
|
4195
|
-
/* border-top: var(--border-width-regular) solid var(--tabs-panel-border); removed in favor of the new tablist border */
|
|
4196
|
-
border-bottom: var(--border-width-regular) solid var(--tabs-panel-border);
|
|
4197
|
-
padding: var(--spacing-4);
|
|
4198
|
-
position: relative;
|
|
4199
|
-
z-index: 1;
|
|
4200
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
4201
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
4202
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
4203
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
4204
|
-
}
|
|
4205
|
-
|
|
4206
|
-
.muka-tabs__panel:focus-visible {
|
|
4207
|
-
outline: 2px solid var(--color-border-focus);
|
|
4208
|
-
outline-offset: 2px;
|
|
4209
|
-
}
|
|
4210
|
-
|
|
4211
|
-
|
|
4212
|
-
/* Thumbnail */
|
|
4213
|
-
/* Thumbnail Component Styles - Using Muka Design Tokens */
|
|
4214
|
-
|
|
4215
|
-
.muka-thumbnail {
|
|
4216
|
-
position: relative;
|
|
4217
|
-
flex-shrink: 0;
|
|
4218
|
-
}
|
|
4219
|
-
|
|
4220
|
-
/* The frame carries the border, background and shape clip. Keeping it separate
|
|
4221
|
-
from the root lets the remove (×) button sit outside the clip (needed for the
|
|
4222
|
-
circular/ellipse shape, whose corners would otherwise clip the button). */
|
|
4223
|
-
.muka-thumbnail__frame {
|
|
4224
|
-
position: absolute;
|
|
4225
|
-
inset: 0;
|
|
4226
|
-
overflow: hidden;
|
|
4227
|
-
border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
|
|
4228
|
-
border-radius: var(--border-radius-lg);
|
|
4229
|
-
background-color: var(--color-surface-level1);
|
|
4230
|
-
}
|
|
4231
|
-
|
|
4232
|
-
/* ─── Shapes ──────────────────────────────────────────── */
|
|
4233
|
-
.muka-thumbnail--4-3 {
|
|
4234
|
-
width: 160px;
|
|
4235
|
-
height: 120px;
|
|
4236
|
-
}
|
|
4237
|
-
|
|
4238
|
-
.muka-thumbnail--1-1 {
|
|
4239
|
-
width: 120px;
|
|
4240
|
-
height: 120px;
|
|
4241
|
-
}
|
|
4242
|
-
|
|
4243
|
-
.muka-thumbnail--ellipse {
|
|
4244
|
-
width: 120px;
|
|
4245
|
-
height: 120px;
|
|
4246
|
-
}
|
|
4247
|
-
|
|
4248
|
-
/* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
|
|
4249
|
-
.muka-thumbnail--fluid {
|
|
4250
|
-
width: 100%;
|
|
4251
|
-
height: auto;
|
|
4252
|
-
aspect-ratio: 1 / 1;
|
|
4253
|
-
}
|
|
4254
|
-
|
|
4255
|
-
.muka-thumbnail--fluid.muka-thumbnail--4-3 {
|
|
4256
|
-
aspect-ratio: 4 / 3;
|
|
4257
|
-
}
|
|
4258
|
-
|
|
4259
|
-
.muka-thumbnail--ellipse .muka-thumbnail__frame {
|
|
4260
|
-
border-radius: var(--border-radius-full);
|
|
4261
|
-
}
|
|
4262
|
-
|
|
4263
|
-
/* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
|
|
4264
|
-
interactive hover zoom has a clean origin. */
|
|
4265
|
-
.muka-thumbnail__image {
|
|
4266
|
-
position: absolute;
|
|
4267
|
-
inset: 0;
|
|
4268
|
-
width: 100%;
|
|
4269
|
-
height: 100%;
|
|
4270
|
-
object-fit: cover;
|
|
4271
|
-
display: block;
|
|
4272
|
-
transform-origin: center;
|
|
4273
|
-
/* Micro-interaction: hover zoom eases out over the "micro" duration. */
|
|
4274
|
-
transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4275
|
-
}
|
|
4276
|
-
|
|
4277
|
-
/* ─── Interactive (click-to-enlarge) ──────────────────── */
|
|
4278
|
-
.muka-thumbnail__trigger {
|
|
4279
|
-
position: absolute;
|
|
4280
|
-
inset: 0;
|
|
4281
|
-
padding: 0;
|
|
4282
|
-
border: 0;
|
|
4283
|
-
background: none;
|
|
4284
|
-
cursor: pointer;
|
|
4285
|
-
overflow: hidden;
|
|
4286
|
-
}
|
|
4287
|
-
|
|
4288
|
-
.muka-thumbnail__trigger:focus-visible {
|
|
4289
|
-
outline: 2px solid var(--color-border-focus);
|
|
4290
|
-
outline-offset: -2px;
|
|
4291
|
-
}
|
|
4292
|
-
|
|
4293
|
-
/* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
|
|
4294
|
-
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
4295
|
-
transform: scale(1.05);
|
|
4296
|
-
}
|
|
4297
|
-
|
|
4298
|
-
/* ─── Loading overlay + progress donut ────────────────── */
|
|
4299
|
-
.muka-thumbnail__overlay {
|
|
4300
|
-
position: absolute;
|
|
4301
|
-
inset: 0;
|
|
4302
|
-
display: flex;
|
|
4303
|
-
align-items: center;
|
|
4304
|
-
justify-content: center;
|
|
4305
|
-
background-color: var(--dialog-color-backdrop);
|
|
4306
|
-
}
|
|
4307
|
-
|
|
4308
|
-
.muka-thumbnail__progress {
|
|
4309
|
-
width: 40px;
|
|
4310
|
-
height: 40px;
|
|
4311
|
-
}
|
|
4312
|
-
|
|
4313
|
-
/* ─── Error / corrupt state ───────────────────────────── */
|
|
4314
|
-
.muka-thumbnail--error .muka-thumbnail__frame {
|
|
4315
|
-
background-color: var(--alias-color-state-error-muted);
|
|
4316
|
-
border-color: var(--alias-color-state-error-default);
|
|
4317
|
-
}
|
|
4318
|
-
|
|
4319
|
-
.muka-thumbnail__error {
|
|
4320
|
-
position: absolute;
|
|
4321
|
-
inset: 0;
|
|
4322
|
-
display: flex;
|
|
4323
|
-
flex-direction: column;
|
|
4324
|
-
align-items: center;
|
|
4325
|
-
justify-content: center;
|
|
4326
|
-
gap: var(--spacing-2);
|
|
4327
|
-
padding: var(--spacing-3);
|
|
4328
|
-
text-align: center;
|
|
4329
|
-
}
|
|
4330
|
-
|
|
4331
|
-
.muka-thumbnail__error-icon {
|
|
4332
|
-
color: var(--alert-color-error-accent);
|
|
4333
|
-
}
|
|
4334
|
-
|
|
4335
|
-
.muka-thumbnail__caption {
|
|
4336
|
-
max-width: 100%;
|
|
4337
|
-
overflow: hidden;
|
|
4338
|
-
text-overflow: ellipsis;
|
|
4339
|
-
white-space: nowrap;
|
|
4340
|
-
color: var(--alert-color-error-accent);
|
|
4341
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
4342
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
4343
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
4344
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
4345
|
-
}
|
|
4346
|
-
|
|
4347
|
-
/* ─── Remove (×) button ───────────────────────────────── */
|
|
4348
|
-
.muka-thumbnail__remove {
|
|
4349
|
-
position: absolute;
|
|
4350
|
-
top: var(--spacing-2);
|
|
4351
|
-
right: var(--spacing-2);
|
|
4352
|
-
display: flex;
|
|
4353
|
-
align-items: center;
|
|
4354
|
-
justify-content: center;
|
|
4355
|
-
width: var(--size-2xl);
|
|
4356
|
-
height: var(--size-2xl);
|
|
4357
|
-
padding: 0;
|
|
4358
|
-
color: var(--button-color-tertiary-foreground-default);
|
|
4359
|
-
background-color: var(--button-color-tertiary-background-default);
|
|
4360
|
-
border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
|
|
4361
|
-
border-radius: var(--border-radius-lg);
|
|
4362
|
-
cursor: pointer;
|
|
4363
|
-
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
4364
|
-
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4365
|
-
}
|
|
4366
|
-
|
|
4367
|
-
.muka-thumbnail__remove:hover {
|
|
4368
|
-
color: var(--button-color-tertiary-foreground-hover);
|
|
4369
|
-
background-color: var(--button-color-tertiary-background-hover);
|
|
4370
|
-
border-color: var(--button-color-tertiary-border-hover);
|
|
4373
|
+
flex: 0 0 auto;
|
|
4374
|
+
}
|
|
4371
4375
|
}
|
|
4372
4376
|
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
background-color: var(--
|
|
4376
|
-
border-
|
|
4377
|
+
/* Tab Panel — content area */
|
|
4378
|
+
.muka-tabs__panel {
|
|
4379
|
+
background-color: var(--tabs-panel-background);
|
|
4380
|
+
/* border-top: var(--border-width-regular) solid var(--tabs-panel-border); removed in favor of the new tablist border */
|
|
4381
|
+
border-bottom: var(--border-width-regular) solid var(--tabs-panel-border);
|
|
4382
|
+
padding: var(--spacing-4);
|
|
4383
|
+
position: relative;
|
|
4384
|
+
z-index: 1;
|
|
4385
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
4386
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
4387
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
4388
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
4377
4389
|
}
|
|
4378
4390
|
|
|
4379
|
-
.muka-
|
|
4391
|
+
.muka-tabs__panel:focus-visible {
|
|
4380
4392
|
outline: 2px solid var(--color-border-focus);
|
|
4381
4393
|
outline-offset: 2px;
|
|
4382
4394
|
}
|
|
4383
4395
|
|
|
4384
|
-
/* ─── Reduced motion ──────────────────────────────────── */
|
|
4385
|
-
@media (prefers-reduced-motion: reduce) {
|
|
4386
|
-
.muka-thumbnail__image,
|
|
4387
|
-
.muka-thumbnail__remove {
|
|
4388
|
-
transition: none;
|
|
4389
|
-
}
|
|
4390
|
-
|
|
4391
|
-
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
4392
|
-
transform: none;
|
|
4393
|
-
}
|
|
4394
|
-
}
|
|
4395
|
-
|
|
4396
4396
|
|
|
4397
4397
|
/* Table */
|
|
4398
4398
|
/* Table Component Styles - Using Muka Design Tokens */
|
|
@@ -4798,6 +4798,114 @@ body {
|
|
|
4798
4798
|
}
|
|
4799
4799
|
|
|
4800
4800
|
|
|
4801
|
+
/* SwipeActions */
|
|
4802
|
+
/* SwipeActions Component Styles */
|
|
4803
|
+
|
|
4804
|
+
.muka-swipe-actions {
|
|
4805
|
+
position: relative;
|
|
4806
|
+
overflow: hidden;
|
|
4807
|
+
touch-action: pan-y;
|
|
4808
|
+
-webkit-user-select: none;
|
|
4809
|
+
user-select: none;
|
|
4810
|
+
background-color: var(--color-surface-level3);
|
|
4811
|
+
}
|
|
4812
|
+
|
|
4813
|
+
.muka-swipe-actions--disabled {
|
|
4814
|
+
touch-action: auto;
|
|
4815
|
+
}
|
|
4816
|
+
|
|
4817
|
+
/* ─── Row that holds the actual content ────────────────── */
|
|
4818
|
+
|
|
4819
|
+
.muka-swipe-actions__row {
|
|
4820
|
+
position: relative;
|
|
4821
|
+
z-index: 1;
|
|
4822
|
+
background-color: inherit;
|
|
4823
|
+
will-change: transform;
|
|
4824
|
+
}
|
|
4825
|
+
|
|
4826
|
+
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
4827
|
+
|
|
4828
|
+
.muka-swipe-actions__panel {
|
|
4829
|
+
position: absolute;
|
|
4830
|
+
top: 0;
|
|
4831
|
+
bottom: 0;
|
|
4832
|
+
display: flex;
|
|
4833
|
+
align-items: stretch;
|
|
4834
|
+
z-index: 0;
|
|
4835
|
+
}
|
|
4836
|
+
|
|
4837
|
+
.muka-swipe-actions__panel--left {
|
|
4838
|
+
left: 0;
|
|
4839
|
+
}
|
|
4840
|
+
|
|
4841
|
+
.muka-swipe-actions__panel--right {
|
|
4842
|
+
right: 0;
|
|
4843
|
+
}
|
|
4844
|
+
|
|
4845
|
+
/* ─── Single action button ─────────────────────────────── */
|
|
4846
|
+
|
|
4847
|
+
.muka-swipe-actions__button {
|
|
4848
|
+
display: flex;
|
|
4849
|
+
flex-direction: column;
|
|
4850
|
+
align-items: center;
|
|
4851
|
+
justify-content: center;
|
|
4852
|
+
gap: var(--spacing-1);
|
|
4853
|
+
border: none;
|
|
4854
|
+
cursor: pointer;
|
|
4855
|
+
padding: var(--spacing-2);
|
|
4856
|
+
background-color: var(--color-surface-level2);
|
|
4857
|
+
color: var(--color-text-default-default);
|
|
4858
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
4859
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
4860
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
4861
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
4862
|
+
-webkit-tap-highlight-color: transparent;
|
|
4863
|
+
transition: filter 0.12s ease;
|
|
4864
|
+
}
|
|
4865
|
+
|
|
4866
|
+
.muka-swipe-actions__button:hover {
|
|
4867
|
+
filter: brightness(0.95);
|
|
4868
|
+
}
|
|
4869
|
+
|
|
4870
|
+
.muka-swipe-actions__button:focus-visible {
|
|
4871
|
+
outline: 2px solid var(--color-action-default);
|
|
4872
|
+
outline-offset: -2px;
|
|
4873
|
+
}
|
|
4874
|
+
|
|
4875
|
+
.muka-swipe-actions__button-icon {
|
|
4876
|
+
display: inline-flex;
|
|
4877
|
+
align-items: center;
|
|
4878
|
+
justify-content: center;
|
|
4879
|
+
}
|
|
4880
|
+
|
|
4881
|
+
/* ─── Color variants ───────────────────────────────────── */
|
|
4882
|
+
|
|
4883
|
+
.muka-swipe-actions__button--neutral {
|
|
4884
|
+
background-color: var(--color-surface-level2);
|
|
4885
|
+
color: var(--color-text-default-default);
|
|
4886
|
+
}
|
|
4887
|
+
|
|
4888
|
+
.muka-swipe-actions__button--primary {
|
|
4889
|
+
background-color: var(--color-action-default);
|
|
4890
|
+
color: var(--color-text-default-inverse);
|
|
4891
|
+
}
|
|
4892
|
+
|
|
4893
|
+
.muka-swipe-actions__button--success {
|
|
4894
|
+
background-color: var(--color-state-success-default);
|
|
4895
|
+
color: var(--color-text-default-inverse);
|
|
4896
|
+
}
|
|
4897
|
+
|
|
4898
|
+
.muka-swipe-actions__button--warning {
|
|
4899
|
+
background-color: var(--color-state-warning-default);
|
|
4900
|
+
color: var(--color-text-default-default);
|
|
4901
|
+
}
|
|
4902
|
+
|
|
4903
|
+
.muka-swipe-actions__button--destructive {
|
|
4904
|
+
background-color: var(--color-state-error-default);
|
|
4905
|
+
color: var(--color-text-default-inverse);
|
|
4906
|
+
}
|
|
4907
|
+
|
|
4908
|
+
|
|
4801
4909
|
/* Spinner */
|
|
4802
4910
|
/* Spinner Component Styles */
|
|
4803
4911
|
|
|
@@ -8422,145 +8530,29 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
8422
8530
|
flex-direction: column;
|
|
8423
8531
|
gap: var(--spacing-1);
|
|
8424
8532
|
}
|
|
8425
|
-
|
|
8426
|
-
.muka-piechart__legend-item {
|
|
8427
|
-
display: flex;
|
|
8428
|
-
align-items: center;
|
|
8429
|
-
gap: var(--spacing-2);
|
|
8430
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
8431
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
8432
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
8433
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
8434
|
-
color: var(--color-text-default-default);
|
|
8435
|
-
}
|
|
8436
|
-
|
|
8437
|
-
.muka-piechart__swatch {
|
|
8438
|
-
flex-shrink: 0;
|
|
8439
|
-
width: var(--spacing-3);
|
|
8440
|
-
height: var(--spacing-3);
|
|
8441
|
-
border-radius: var(--border-radius-sm);
|
|
8442
|
-
}
|
|
8443
|
-
|
|
8444
|
-
.muka-piechart__legend-value {
|
|
8445
|
-
margin-left: auto;
|
|
8446
|
-
padding-left: var(--spacing-2);
|
|
8447
|
-
color: var(--color-text-subtle-default);
|
|
8448
|
-
}
|
|
8449
|
-
|
|
8450
|
-
|
|
8451
|
-
/* PhotoUploader */
|
|
8452
|
-
/* PhotoUploader Component Styles - Using Muka Design Tokens */
|
|
8453
|
-
|
|
8454
|
-
.muka-photo-uploader {
|
|
8455
|
-
display: flex;
|
|
8456
|
-
flex-direction: column;
|
|
8457
|
-
align-items: flex-start;
|
|
8458
|
-
gap: var(--spacing-4);
|
|
8459
|
-
width: 100%;
|
|
8460
|
-
}
|
|
8461
|
-
|
|
8462
|
-
/* Visually-hidden native file input */
|
|
8463
|
-
.muka-photo-uploader__input {
|
|
8464
|
-
position: absolute;
|
|
8465
|
-
width: 1px;
|
|
8466
|
-
height: 1px;
|
|
8467
|
-
padding: 0;
|
|
8468
|
-
margin: -1px;
|
|
8469
|
-
overflow: hidden;
|
|
8470
|
-
clip: rect(0, 0, 0, 0);
|
|
8471
|
-
white-space: nowrap;
|
|
8472
|
-
border: 0;
|
|
8473
|
-
}
|
|
8474
|
-
|
|
8475
|
-
/* ─── Error feedback alert ────────────────────────────── */
|
|
8476
|
-
.muka-photo-uploader__alert {
|
|
8477
|
-
width: 100%;
|
|
8478
|
-
}
|
|
8479
|
-
|
|
8480
|
-
/* ─── Thumbnail grid ──────────────────────────────────── */
|
|
8481
|
-
.muka-photo-uploader__grid {
|
|
8482
|
-
display: flex;
|
|
8483
|
-
flex-wrap: wrap;
|
|
8484
|
-
gap: var(--spacing-3);
|
|
8485
|
-
width: 100%;
|
|
8486
|
-
margin: 0;
|
|
8487
|
-
padding: 0;
|
|
8488
|
-
list-style: none;
|
|
8489
|
-
}
|
|
8490
|
-
|
|
8491
|
-
.muka-photo-uploader__grid-item {
|
|
8492
|
-
margin: 0;
|
|
8493
|
-
padding: 0;
|
|
8494
|
-
}
|
|
8495
|
-
|
|
8496
|
-
/* ─── Drop zone card (button + "or drop here") ────────── */
|
|
8497
|
-
.muka-photo-uploader__dropzone {
|
|
8498
|
-
display: flex;
|
|
8499
|
-
flex-direction: column;
|
|
8500
|
-
align-items: center;
|
|
8501
|
-
justify-content: center;
|
|
8502
|
-
gap: var(--spacing-4);
|
|
8503
|
-
width: 100%;
|
|
8504
|
-
padding: var(--card-padding-lg);
|
|
8505
|
-
background-color: var(--card-color-default-background);
|
|
8506
|
-
border: var(--border-width-regular, 1px) solid var(--card-color-default-border);
|
|
8507
|
-
border-radius: var(--border-radius-lg);
|
|
8508
|
-
cursor: pointer;
|
|
8509
|
-
text-align: center;
|
|
8510
|
-
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
8511
|
-
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
8512
|
-
}
|
|
8513
|
-
|
|
8514
|
-
.muka-photo-uploader__dropzone:hover,
|
|
8515
|
-
.muka-photo-uploader__dropzone--active {
|
|
8516
|
-
border-color: var(--color-border-focus);
|
|
8517
|
-
background-color: var(--color-surface-level1);
|
|
8518
|
-
}
|
|
8519
|
-
|
|
8520
|
-
.muka-photo-uploader__dropzone-text {
|
|
8521
|
-
font-family: var(--text-subheading-sm-fontFamily);
|
|
8522
|
-
font-size: var(--text-subheading-sm-fontSize);
|
|
8523
|
-
font-weight: var(--text-subheading-sm-fontWeight);
|
|
8524
|
-
line-height: var(--text-subheading-sm-lineHeight);
|
|
8525
|
-
color: var(--color-text-default-default);
|
|
8526
|
-
}
|
|
8527
|
-
|
|
8528
|
-
/* ─── Disabled ────────────────────────────────────────── */
|
|
8529
|
-
.muka-photo-uploader--disabled .muka-photo-uploader__dropzone {
|
|
8530
|
-
cursor: not-allowed;
|
|
8531
|
-
opacity: 0.6;
|
|
8532
|
-
}
|
|
8533
|
-
|
|
8534
|
-
.muka-photo-uploader--disabled .muka-photo-uploader__dropzone:hover {
|
|
8535
|
-
border-color: var(--card-color-default-border);
|
|
8536
|
-
background-color: var(--card-color-default-background);
|
|
8537
|
-
}
|
|
8538
|
-
|
|
8539
|
-
/* ─── Enlarged photo dialog ───────────────────────────── */
|
|
8540
|
-
.muka-photo-uploader__preview {
|
|
8533
|
+
|
|
8534
|
+
.muka-piechart__legend-item {
|
|
8541
8535
|
display: flex;
|
|
8542
8536
|
align-items: center;
|
|
8543
|
-
|
|
8544
|
-
|
|
8545
|
-
|
|
8537
|
+
gap: var(--spacing-2);
|
|
8538
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
8539
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
8540
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
8541
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
8542
|
+
color: var(--color-text-default-default);
|
|
8546
8543
|
}
|
|
8547
8544
|
|
|
8548
|
-
|
|
8549
|
-
|
|
8550
|
-
|
|
8551
|
-
|
|
8552
|
-
|
|
8553
|
-
width: auto;
|
|
8554
|
-
height: auto;
|
|
8555
|
-
object-fit: contain;
|
|
8556
|
-
border-radius: var(--border-radius-lg);
|
|
8545
|
+
.muka-piechart__swatch {
|
|
8546
|
+
flex-shrink: 0;
|
|
8547
|
+
width: var(--spacing-3);
|
|
8548
|
+
height: var(--spacing-3);
|
|
8549
|
+
border-radius: var(--border-radius-sm);
|
|
8557
8550
|
}
|
|
8558
8551
|
|
|
8559
|
-
|
|
8560
|
-
|
|
8561
|
-
|
|
8562
|
-
|
|
8563
|
-
}
|
|
8552
|
+
.muka-piechart__legend-value {
|
|
8553
|
+
margin-left: auto;
|
|
8554
|
+
padding-left: var(--spacing-2);
|
|
8555
|
+
color: var(--color-text-subtle-default);
|
|
8564
8556
|
}
|
|
8565
8557
|
|
|
8566
8558
|
|
|
@@ -9233,6 +9225,122 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9233
9225
|
}
|
|
9234
9226
|
|
|
9235
9227
|
|
|
9228
|
+
/* PhotoUploader */
|
|
9229
|
+
/* PhotoUploader Component Styles - Using Muka Design Tokens */
|
|
9230
|
+
|
|
9231
|
+
.muka-photo-uploader {
|
|
9232
|
+
display: flex;
|
|
9233
|
+
flex-direction: column;
|
|
9234
|
+
align-items: flex-start;
|
|
9235
|
+
gap: var(--spacing-4);
|
|
9236
|
+
width: 100%;
|
|
9237
|
+
}
|
|
9238
|
+
|
|
9239
|
+
/* Visually-hidden native file input */
|
|
9240
|
+
.muka-photo-uploader__input {
|
|
9241
|
+
position: absolute;
|
|
9242
|
+
width: 1px;
|
|
9243
|
+
height: 1px;
|
|
9244
|
+
padding: 0;
|
|
9245
|
+
margin: -1px;
|
|
9246
|
+
overflow: hidden;
|
|
9247
|
+
clip: rect(0, 0, 0, 0);
|
|
9248
|
+
white-space: nowrap;
|
|
9249
|
+
border: 0;
|
|
9250
|
+
}
|
|
9251
|
+
|
|
9252
|
+
/* ─── Error feedback alert ────────────────────────────── */
|
|
9253
|
+
.muka-photo-uploader__alert {
|
|
9254
|
+
width: 100%;
|
|
9255
|
+
}
|
|
9256
|
+
|
|
9257
|
+
/* ─── Thumbnail grid ──────────────────────────────────── */
|
|
9258
|
+
.muka-photo-uploader__grid {
|
|
9259
|
+
display: flex;
|
|
9260
|
+
flex-wrap: wrap;
|
|
9261
|
+
gap: var(--spacing-3);
|
|
9262
|
+
width: 100%;
|
|
9263
|
+
margin: 0;
|
|
9264
|
+
padding: 0;
|
|
9265
|
+
list-style: none;
|
|
9266
|
+
}
|
|
9267
|
+
|
|
9268
|
+
.muka-photo-uploader__grid-item {
|
|
9269
|
+
margin: 0;
|
|
9270
|
+
padding: 0;
|
|
9271
|
+
}
|
|
9272
|
+
|
|
9273
|
+
/* ─── Drop zone card (button + "or drop here") ────────── */
|
|
9274
|
+
.muka-photo-uploader__dropzone {
|
|
9275
|
+
display: flex;
|
|
9276
|
+
flex-direction: column;
|
|
9277
|
+
align-items: center;
|
|
9278
|
+
justify-content: center;
|
|
9279
|
+
gap: var(--spacing-4);
|
|
9280
|
+
width: 100%;
|
|
9281
|
+
padding: var(--card-padding-lg);
|
|
9282
|
+
background-color: var(--card-color-default-background);
|
|
9283
|
+
border: var(--border-width-regular, 1px) solid var(--card-color-default-border);
|
|
9284
|
+
border-radius: var(--border-radius-lg);
|
|
9285
|
+
cursor: pointer;
|
|
9286
|
+
text-align: center;
|
|
9287
|
+
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
9288
|
+
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
9289
|
+
}
|
|
9290
|
+
|
|
9291
|
+
.muka-photo-uploader__dropzone:hover,
|
|
9292
|
+
.muka-photo-uploader__dropzone--active {
|
|
9293
|
+
border-color: var(--color-border-focus);
|
|
9294
|
+
background-color: var(--color-surface-level1);
|
|
9295
|
+
}
|
|
9296
|
+
|
|
9297
|
+
.muka-photo-uploader__dropzone-text {
|
|
9298
|
+
font-family: var(--text-subheading-sm-fontFamily);
|
|
9299
|
+
font-size: var(--text-subheading-sm-fontSize);
|
|
9300
|
+
font-weight: var(--text-subheading-sm-fontWeight);
|
|
9301
|
+
line-height: var(--text-subheading-sm-lineHeight);
|
|
9302
|
+
color: var(--color-text-default-default);
|
|
9303
|
+
}
|
|
9304
|
+
|
|
9305
|
+
/* ─── Disabled ────────────────────────────────────────── */
|
|
9306
|
+
.muka-photo-uploader--disabled .muka-photo-uploader__dropzone {
|
|
9307
|
+
cursor: not-allowed;
|
|
9308
|
+
opacity: 0.6;
|
|
9309
|
+
}
|
|
9310
|
+
|
|
9311
|
+
.muka-photo-uploader--disabled .muka-photo-uploader__dropzone:hover {
|
|
9312
|
+
border-color: var(--card-color-default-border);
|
|
9313
|
+
background-color: var(--card-color-default-background);
|
|
9314
|
+
}
|
|
9315
|
+
|
|
9316
|
+
/* ─── Enlarged photo dialog ───────────────────────────── */
|
|
9317
|
+
.muka-photo-uploader__preview {
|
|
9318
|
+
display: flex;
|
|
9319
|
+
align-items: center;
|
|
9320
|
+
justify-content: center;
|
|
9321
|
+
width: 100%;
|
|
9322
|
+
height: 100%;
|
|
9323
|
+
}
|
|
9324
|
+
|
|
9325
|
+
/* Fits the dialog while preserving the photo's original aspect ratio. */
|
|
9326
|
+
.muka-photo-uploader__preview-image {
|
|
9327
|
+
display: block;
|
|
9328
|
+
max-width: 100%;
|
|
9329
|
+
max-height: 100%;
|
|
9330
|
+
width: auto;
|
|
9331
|
+
height: auto;
|
|
9332
|
+
object-fit: contain;
|
|
9333
|
+
border-radius: var(--border-radius-lg);
|
|
9334
|
+
}
|
|
9335
|
+
|
|
9336
|
+
/* ─── Reduced motion ──────────────────────────────────── */
|
|
9337
|
+
@media (prefers-reduced-motion: reduce) {
|
|
9338
|
+
.muka-photo-uploader__dropzone {
|
|
9339
|
+
transition: none;
|
|
9340
|
+
}
|
|
9341
|
+
}
|
|
9342
|
+
|
|
9343
|
+
|
|
9236
9344
|
/* MediaViewer */
|
|
9237
9345
|
/* MediaViewer Component Styles - Using Muka Design Tokens */
|
|
9238
9346
|
|
|
@@ -10306,60 +10414,6 @@ li.muka-listitem {
|
|
|
10306
10414
|
}
|
|
10307
10415
|
|
|
10308
10416
|
|
|
10309
|
-
/* Icon */
|
|
10310
|
-
/* Icon Component Styles - Using Muka Design Tokens */
|
|
10311
|
-
|
|
10312
|
-
.muka-icon {
|
|
10313
|
-
display: inline-flex;
|
|
10314
|
-
align-items: center;
|
|
10315
|
-
justify-content: center;
|
|
10316
|
-
flex-shrink: 0;
|
|
10317
|
-
color: var(--color-icon-default-default, currentColor);
|
|
10318
|
-
}
|
|
10319
|
-
|
|
10320
|
-
/* Icons inside buttons should inherit from button's foreground color */
|
|
10321
|
-
.muka-button .muka-icon {
|
|
10322
|
-
color: inherit;
|
|
10323
|
-
}
|
|
10324
|
-
|
|
10325
|
-
.muka-icon--subtle {
|
|
10326
|
-
color: var(--color-icon-subtle-default);
|
|
10327
|
-
}
|
|
10328
|
-
|
|
10329
|
-
.muka-icon--muted {
|
|
10330
|
-
color: var(--color-icon-muted-default);
|
|
10331
|
-
}
|
|
10332
|
-
|
|
10333
|
-
.muka-icon--inverse {
|
|
10334
|
-
color: var(--color-icon-default-inverse);
|
|
10335
|
-
}
|
|
10336
|
-
|
|
10337
|
-
.muka-icon--xs {
|
|
10338
|
-
width: var(--icon-size-xs);
|
|
10339
|
-
height: var(--icon-size-xs);
|
|
10340
|
-
}
|
|
10341
|
-
|
|
10342
|
-
.muka-icon--sm {
|
|
10343
|
-
width: var(--icon-size-sm);
|
|
10344
|
-
height: var(--icon-size-sm);
|
|
10345
|
-
}
|
|
10346
|
-
|
|
10347
|
-
.muka-icon--md {
|
|
10348
|
-
width: var(--icon-size-default);
|
|
10349
|
-
height: var(--icon-size-default);
|
|
10350
|
-
}
|
|
10351
|
-
|
|
10352
|
-
.muka-icon--lg {
|
|
10353
|
-
width: var(--icon-size-lg);
|
|
10354
|
-
height: var(--icon-size-lg);
|
|
10355
|
-
}
|
|
10356
|
-
|
|
10357
|
-
.muka-icon svg {
|
|
10358
|
-
width: 100%;
|
|
10359
|
-
height: 100%;
|
|
10360
|
-
}
|
|
10361
|
-
|
|
10362
|
-
|
|
10363
10417
|
/* Form */
|
|
10364
10418
|
.muka-form {
|
|
10365
10419
|
display: flex;
|
|
@@ -10764,22 +10818,76 @@ li.muka-listitem {
|
|
|
10764
10818
|
transform: translateX(-50%);
|
|
10765
10819
|
}
|
|
10766
10820
|
|
|
10767
|
-
.muka-fab--bottom-center:active {
|
|
10768
|
-
transform: translateX(-50%) scale(0.96);
|
|
10821
|
+
.muka-fab--bottom-center:active {
|
|
10822
|
+
transform: translateX(-50%) scale(0.96);
|
|
10823
|
+
}
|
|
10824
|
+
|
|
10825
|
+
/* Add the iOS home-indicator inset to the bottom offset. */
|
|
10826
|
+
.muka-fab:not(.muka-fab--no-safe-area) {
|
|
10827
|
+
bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom));
|
|
10828
|
+
}
|
|
10829
|
+
|
|
10830
|
+
/* Lateral safe-area for landscape iPhone with notch. */
|
|
10831
|
+
.muka-fab--bottom-right:not(.muka-fab--no-safe-area) {
|
|
10832
|
+
right: max(var(--spacing-4), env(safe-area-inset-right));
|
|
10833
|
+
}
|
|
10834
|
+
|
|
10835
|
+
.muka-fab--bottom-left:not(.muka-fab--no-safe-area) {
|
|
10836
|
+
left: max(var(--spacing-4), env(safe-area-inset-left));
|
|
10837
|
+
}
|
|
10838
|
+
|
|
10839
|
+
|
|
10840
|
+
/* Icon */
|
|
10841
|
+
/* Icon Component Styles - Using Muka Design Tokens */
|
|
10842
|
+
|
|
10843
|
+
.muka-icon {
|
|
10844
|
+
display: inline-flex;
|
|
10845
|
+
align-items: center;
|
|
10846
|
+
justify-content: center;
|
|
10847
|
+
flex-shrink: 0;
|
|
10848
|
+
color: var(--color-icon-default-default, currentColor);
|
|
10849
|
+
}
|
|
10850
|
+
|
|
10851
|
+
/* Icons inside buttons should inherit from button's foreground color */
|
|
10852
|
+
.muka-button .muka-icon {
|
|
10853
|
+
color: inherit;
|
|
10854
|
+
}
|
|
10855
|
+
|
|
10856
|
+
.muka-icon--subtle {
|
|
10857
|
+
color: var(--color-icon-subtle-default);
|
|
10858
|
+
}
|
|
10859
|
+
|
|
10860
|
+
.muka-icon--muted {
|
|
10861
|
+
color: var(--color-icon-muted-default);
|
|
10862
|
+
}
|
|
10863
|
+
|
|
10864
|
+
.muka-icon--inverse {
|
|
10865
|
+
color: var(--color-icon-default-inverse);
|
|
10866
|
+
}
|
|
10867
|
+
|
|
10868
|
+
.muka-icon--xs {
|
|
10869
|
+
width: var(--icon-size-xs);
|
|
10870
|
+
height: var(--icon-size-xs);
|
|
10871
|
+
}
|
|
10872
|
+
|
|
10873
|
+
.muka-icon--sm {
|
|
10874
|
+
width: var(--icon-size-sm);
|
|
10875
|
+
height: var(--icon-size-sm);
|
|
10769
10876
|
}
|
|
10770
10877
|
|
|
10771
|
-
|
|
10772
|
-
|
|
10773
|
-
|
|
10878
|
+
.muka-icon--md {
|
|
10879
|
+
width: var(--icon-size-default);
|
|
10880
|
+
height: var(--icon-size-default);
|
|
10774
10881
|
}
|
|
10775
10882
|
|
|
10776
|
-
|
|
10777
|
-
|
|
10778
|
-
|
|
10883
|
+
.muka-icon--lg {
|
|
10884
|
+
width: var(--icon-size-lg);
|
|
10885
|
+
height: var(--icon-size-lg);
|
|
10779
10886
|
}
|
|
10780
10887
|
|
|
10781
|
-
.muka-
|
|
10782
|
-
|
|
10888
|
+
.muka-icon svg {
|
|
10889
|
+
width: 100%;
|
|
10890
|
+
height: 100%;
|
|
10783
10891
|
}
|
|
10784
10892
|
|
|
10785
10893
|
|
|
@@ -12774,6 +12882,15 @@ li.muka-listitem {
|
|
|
12774
12882
|
}
|
|
12775
12883
|
|
|
12776
12884
|
|
|
12885
|
+
/* ChipSelectGroup */
|
|
12886
|
+
/* ChipSelectGroup — wrapping row of selectable chips (experimental) */
|
|
12887
|
+
.muka-chip-select-group {
|
|
12888
|
+
display: flex;
|
|
12889
|
+
flex-wrap: wrap;
|
|
12890
|
+
gap: var(--spacing-2);
|
|
12891
|
+
}
|
|
12892
|
+
|
|
12893
|
+
|
|
12777
12894
|
/* Chip */
|
|
12778
12895
|
/* Chip Component Styles - Using Muka Design Tokens (Figma: Chip, Chip/Trailing) */
|
|
12779
12896
|
|
|
@@ -13467,6 +13584,126 @@ button.muka-chip__trailing[aria-expanded='true'],
|
|
|
13467
13584
|
}
|
|
13468
13585
|
|
|
13469
13586
|
|
|
13587
|
+
/* ChatQuestionSeries */
|
|
13588
|
+
/* ChatQuestionSeries — step dots and the collapsed summary (experimental) */
|
|
13589
|
+
.muka-chat-series__dots {
|
|
13590
|
+
display: inline-flex;
|
|
13591
|
+
align-items: center;
|
|
13592
|
+
gap: var(--spacing-1);
|
|
13593
|
+
}
|
|
13594
|
+
|
|
13595
|
+
.muka-chat-series__dot {
|
|
13596
|
+
width: var(--spacing-1);
|
|
13597
|
+
height: var(--spacing-1);
|
|
13598
|
+
border-radius: var(--border-radius-full);
|
|
13599
|
+
background-color: var(--color-border-default);
|
|
13600
|
+
}
|
|
13601
|
+
|
|
13602
|
+
.muka-chat-series__dot--done {
|
|
13603
|
+
background-color: var(--color-text-subtle-default);
|
|
13604
|
+
}
|
|
13605
|
+
|
|
13606
|
+
.muka-chat-series__dot--current {
|
|
13607
|
+
width: var(--spacing-2);
|
|
13608
|
+
height: var(--spacing-2);
|
|
13609
|
+
background-color: var(--color-text-default-default);
|
|
13610
|
+
}
|
|
13611
|
+
|
|
13612
|
+
.muka-chat-series__summary {
|
|
13613
|
+
display: flex;
|
|
13614
|
+
flex-direction: column;
|
|
13615
|
+
gap: var(--spacing-2);
|
|
13616
|
+
}
|
|
13617
|
+
|
|
13618
|
+
.muka-chat-series__summary-row {
|
|
13619
|
+
display: flex;
|
|
13620
|
+
flex-direction: column;
|
|
13621
|
+
}
|
|
13622
|
+
|
|
13623
|
+
.muka-chat-series__summary-question {
|
|
13624
|
+
color: var(--color-text-subtle-default);
|
|
13625
|
+
}
|
|
13626
|
+
|
|
13627
|
+
|
|
13628
|
+
/* ChatQuestionCard */
|
|
13629
|
+
/*
|
|
13630
|
+
* ChatQuestionCard — in-thread question widget (experimental).
|
|
13631
|
+
* Inspired by the Agentic UX "Gather search criteria" cards: question on top,
|
|
13632
|
+
* compact controls, a footer only once there is something to submit.
|
|
13633
|
+
*/
|
|
13634
|
+
.muka-chat-question-card {
|
|
13635
|
+
width: 100%;
|
|
13636
|
+
max-width: 100%;
|
|
13637
|
+
min-width: 0;
|
|
13638
|
+
}
|
|
13639
|
+
|
|
13640
|
+
.muka-chat-question-card__card {
|
|
13641
|
+
width: 100%;
|
|
13642
|
+
overflow: hidden;
|
|
13643
|
+
}
|
|
13644
|
+
|
|
13645
|
+
.muka-chat-question-card__content {
|
|
13646
|
+
display: flex;
|
|
13647
|
+
flex-direction: column;
|
|
13648
|
+
gap: var(--spacing-3);
|
|
13649
|
+
padding: var(--spacing-4);
|
|
13650
|
+
min-width: 0;
|
|
13651
|
+
}
|
|
13652
|
+
|
|
13653
|
+
.muka-chat-question-card__question {
|
|
13654
|
+
margin: 0;
|
|
13655
|
+
color: var(--color-text-default-default);
|
|
13656
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
13657
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
13658
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
13659
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
13660
|
+
}
|
|
13661
|
+
|
|
13662
|
+
.muka-chat-question-card--answered .muka-chat-question-card__question {
|
|
13663
|
+
color: var(--color-text-subtle-default);
|
|
13664
|
+
}
|
|
13665
|
+
|
|
13666
|
+
.muka-chat-question-card__answer {
|
|
13667
|
+
display: flex;
|
|
13668
|
+
align-items: flex-start;
|
|
13669
|
+
gap: var(--spacing-2);
|
|
13670
|
+
margin: 0;
|
|
13671
|
+
color: var(--color-text-default-default);
|
|
13672
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
13673
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
13674
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
13675
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
13676
|
+
}
|
|
13677
|
+
|
|
13678
|
+
.muka-chat-question-card__answer-icon {
|
|
13679
|
+
display: inline-flex;
|
|
13680
|
+
flex-shrink: 0;
|
|
13681
|
+
color: var(--color-text-action-default);
|
|
13682
|
+
}
|
|
13683
|
+
|
|
13684
|
+
.muka-chat-question-card__footer {
|
|
13685
|
+
display: flex;
|
|
13686
|
+
align-items: center;
|
|
13687
|
+
justify-content: space-between;
|
|
13688
|
+
gap: var(--spacing-3);
|
|
13689
|
+
padding: var(--spacing-3) var(--spacing-4);
|
|
13690
|
+
border-top: var(--border-width-regular) solid var(--color-border-muted);
|
|
13691
|
+
}
|
|
13692
|
+
|
|
13693
|
+
.muka-chat-question-card__footer-start {
|
|
13694
|
+
display: flex;
|
|
13695
|
+
align-items: center;
|
|
13696
|
+
min-width: 0;
|
|
13697
|
+
}
|
|
13698
|
+
|
|
13699
|
+
.muka-chat-question-card__footer-actions {
|
|
13700
|
+
display: flex;
|
|
13701
|
+
align-items: center;
|
|
13702
|
+
gap: var(--spacing-2);
|
|
13703
|
+
margin-inline-start: auto;
|
|
13704
|
+
}
|
|
13705
|
+
|
|
13706
|
+
|
|
13470
13707
|
/* ChatPhotoGrid */
|
|
13471
13708
|
/* ChatPhotoGrid Component Styles */
|
|
13472
13709
|
|
|
@@ -14128,6 +14365,14 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
14128
14365
|
flex-shrink: 0;
|
|
14129
14366
|
}
|
|
14130
14367
|
|
|
14368
|
+
/* Touch devices have emoji on their keyboard: no button there, unless the app
|
|
14369
|
+
keeps it with `emojiOnTouch`. */
|
|
14370
|
+
@media (pointer: coarse) {
|
|
14371
|
+
.muka-chat-composer__emoji:not(.muka-chat-composer__emoji--on-touch) {
|
|
14372
|
+
display: none;
|
|
14373
|
+
}
|
|
14374
|
+
}
|
|
14375
|
+
|
|
14131
14376
|
/* ─── Recording bar ────────────────────────────────────── */
|
|
14132
14377
|
|
|
14133
14378
|
.muka-chat-composer__recording {
|
|
@@ -14301,6 +14546,42 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
14301
14546
|
}
|
|
14302
14547
|
|
|
14303
14548
|
|
|
14549
|
+
/* ChatChoiceCard */
|
|
14550
|
+
/* ChatChoiceCard — compact option rows (experimental) */
|
|
14551
|
+
.muka-chat-choice__list {
|
|
14552
|
+
display: flex;
|
|
14553
|
+
flex-direction: column;
|
|
14554
|
+
gap: var(--spacing-2);
|
|
14555
|
+
}
|
|
14556
|
+
|
|
14557
|
+
.muka-chat-choice__row {
|
|
14558
|
+
display: flex;
|
|
14559
|
+
align-items: center;
|
|
14560
|
+
min-height: var(--spacing-8);
|
|
14561
|
+
min-width: 0;
|
|
14562
|
+
}
|
|
14563
|
+
|
|
14564
|
+
.muka-chat-choice__row--other {
|
|
14565
|
+
gap: var(--spacing-2);
|
|
14566
|
+
}
|
|
14567
|
+
|
|
14568
|
+
/* The free-text option: the control, then the field filling the row. */
|
|
14569
|
+
.muka-chat-choice__row--other {
|
|
14570
|
+
flex-wrap: nowrap;
|
|
14571
|
+
}
|
|
14572
|
+
|
|
14573
|
+
.muka-chat-choice__row--other > .muka-radio,
|
|
14574
|
+
.muka-chat-choice__row--other > .muka-checkbox {
|
|
14575
|
+
flex: 0 0 auto;
|
|
14576
|
+
}
|
|
14577
|
+
|
|
14578
|
+
.muka-chat-choice__row--other > .muka-input {
|
|
14579
|
+
flex: 1 1 auto;
|
|
14580
|
+
width: auto;
|
|
14581
|
+
min-width: 0;
|
|
14582
|
+
}
|
|
14583
|
+
|
|
14584
|
+
|
|
14304
14585
|
/* ChatAttachmentChip */
|
|
14305
14586
|
/* ChatAttachmentChip Component Styles */
|
|
14306
14587
|
|
|
@@ -16906,111 +17187,3 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
16906
17187
|
border-bottom: none;
|
|
16907
17188
|
}
|
|
16908
17189
|
|
|
16909
|
-
|
|
16910
|
-
/* SwipeActions */
|
|
16911
|
-
/* SwipeActions Component Styles */
|
|
16912
|
-
|
|
16913
|
-
.muka-swipe-actions {
|
|
16914
|
-
position: relative;
|
|
16915
|
-
overflow: hidden;
|
|
16916
|
-
touch-action: pan-y;
|
|
16917
|
-
-webkit-user-select: none;
|
|
16918
|
-
user-select: none;
|
|
16919
|
-
background-color: var(--color-surface-level3);
|
|
16920
|
-
}
|
|
16921
|
-
|
|
16922
|
-
.muka-swipe-actions--disabled {
|
|
16923
|
-
touch-action: auto;
|
|
16924
|
-
}
|
|
16925
|
-
|
|
16926
|
-
/* ─── Row that holds the actual content ────────────────── */
|
|
16927
|
-
|
|
16928
|
-
.muka-swipe-actions__row {
|
|
16929
|
-
position: relative;
|
|
16930
|
-
z-index: 1;
|
|
16931
|
-
background-color: inherit;
|
|
16932
|
-
will-change: transform;
|
|
16933
|
-
}
|
|
16934
|
-
|
|
16935
|
-
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
16936
|
-
|
|
16937
|
-
.muka-swipe-actions__panel {
|
|
16938
|
-
position: absolute;
|
|
16939
|
-
top: 0;
|
|
16940
|
-
bottom: 0;
|
|
16941
|
-
display: flex;
|
|
16942
|
-
align-items: stretch;
|
|
16943
|
-
z-index: 0;
|
|
16944
|
-
}
|
|
16945
|
-
|
|
16946
|
-
.muka-swipe-actions__panel--left {
|
|
16947
|
-
left: 0;
|
|
16948
|
-
}
|
|
16949
|
-
|
|
16950
|
-
.muka-swipe-actions__panel--right {
|
|
16951
|
-
right: 0;
|
|
16952
|
-
}
|
|
16953
|
-
|
|
16954
|
-
/* ─── Single action button ─────────────────────────────── */
|
|
16955
|
-
|
|
16956
|
-
.muka-swipe-actions__button {
|
|
16957
|
-
display: flex;
|
|
16958
|
-
flex-direction: column;
|
|
16959
|
-
align-items: center;
|
|
16960
|
-
justify-content: center;
|
|
16961
|
-
gap: var(--spacing-1);
|
|
16962
|
-
border: none;
|
|
16963
|
-
cursor: pointer;
|
|
16964
|
-
padding: var(--spacing-2);
|
|
16965
|
-
background-color: var(--color-surface-level2);
|
|
16966
|
-
color: var(--color-text-default-default);
|
|
16967
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
16968
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
16969
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
16970
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
16971
|
-
-webkit-tap-highlight-color: transparent;
|
|
16972
|
-
transition: filter 0.12s ease;
|
|
16973
|
-
}
|
|
16974
|
-
|
|
16975
|
-
.muka-swipe-actions__button:hover {
|
|
16976
|
-
filter: brightness(0.95);
|
|
16977
|
-
}
|
|
16978
|
-
|
|
16979
|
-
.muka-swipe-actions__button:focus-visible {
|
|
16980
|
-
outline: 2px solid var(--color-action-default);
|
|
16981
|
-
outline-offset: -2px;
|
|
16982
|
-
}
|
|
16983
|
-
|
|
16984
|
-
.muka-swipe-actions__button-icon {
|
|
16985
|
-
display: inline-flex;
|
|
16986
|
-
align-items: center;
|
|
16987
|
-
justify-content: center;
|
|
16988
|
-
}
|
|
16989
|
-
|
|
16990
|
-
/* ─── Color variants ───────────────────────────────────── */
|
|
16991
|
-
|
|
16992
|
-
.muka-swipe-actions__button--neutral {
|
|
16993
|
-
background-color: var(--color-surface-level2);
|
|
16994
|
-
color: var(--color-text-default-default);
|
|
16995
|
-
}
|
|
16996
|
-
|
|
16997
|
-
.muka-swipe-actions__button--primary {
|
|
16998
|
-
background-color: var(--color-action-default);
|
|
16999
|
-
color: var(--color-text-default-inverse);
|
|
17000
|
-
}
|
|
17001
|
-
|
|
17002
|
-
.muka-swipe-actions__button--success {
|
|
17003
|
-
background-color: var(--color-state-success-default);
|
|
17004
|
-
color: var(--color-text-default-inverse);
|
|
17005
|
-
}
|
|
17006
|
-
|
|
17007
|
-
.muka-swipe-actions__button--warning {
|
|
17008
|
-
background-color: var(--color-state-warning-default);
|
|
17009
|
-
color: var(--color-text-default-default);
|
|
17010
|
-
}
|
|
17011
|
-
|
|
17012
|
-
.muka-swipe-actions__button--destructive {
|
|
17013
|
-
background-color: var(--color-state-error-default);
|
|
17014
|
-
color: var(--color-text-default-inverse);
|
|
17015
|
-
}
|
|
17016
|
-
|