@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
|
@@ -3708,6 +3708,191 @@ body {
|
|
|
3708
3708
|
}
|
|
3709
3709
|
|
|
3710
3710
|
|
|
3711
|
+
/* Thumbnail */
|
|
3712
|
+
/* Thumbnail Component Styles - Using Muka Design Tokens */
|
|
3713
|
+
|
|
3714
|
+
.muka-thumbnail {
|
|
3715
|
+
position: relative;
|
|
3716
|
+
flex-shrink: 0;
|
|
3717
|
+
}
|
|
3718
|
+
|
|
3719
|
+
/* The frame carries the border, background and shape clip. Keeping it separate
|
|
3720
|
+
from the root lets the remove (×) button sit outside the clip (needed for the
|
|
3721
|
+
circular/ellipse shape, whose corners would otherwise clip the button). */
|
|
3722
|
+
.muka-thumbnail__frame {
|
|
3723
|
+
position: absolute;
|
|
3724
|
+
inset: 0;
|
|
3725
|
+
overflow: hidden;
|
|
3726
|
+
border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
|
|
3727
|
+
border-radius: var(--border-radius-lg);
|
|
3728
|
+
background-color: var(--color-surface-level1);
|
|
3729
|
+
}
|
|
3730
|
+
|
|
3731
|
+
/* ─── Shapes ──────────────────────────────────────────── */
|
|
3732
|
+
.muka-thumbnail--4-3 {
|
|
3733
|
+
width: 160px;
|
|
3734
|
+
height: 120px;
|
|
3735
|
+
}
|
|
3736
|
+
|
|
3737
|
+
.muka-thumbnail--1-1 {
|
|
3738
|
+
width: 120px;
|
|
3739
|
+
height: 120px;
|
|
3740
|
+
}
|
|
3741
|
+
|
|
3742
|
+
.muka-thumbnail--ellipse {
|
|
3743
|
+
width: 120px;
|
|
3744
|
+
height: 120px;
|
|
3745
|
+
}
|
|
3746
|
+
|
|
3747
|
+
/* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
|
|
3748
|
+
.muka-thumbnail--fluid {
|
|
3749
|
+
width: 100%;
|
|
3750
|
+
height: auto;
|
|
3751
|
+
aspect-ratio: 1 / 1;
|
|
3752
|
+
}
|
|
3753
|
+
|
|
3754
|
+
.muka-thumbnail--fluid.muka-thumbnail--4-3 {
|
|
3755
|
+
aspect-ratio: 4 / 3;
|
|
3756
|
+
}
|
|
3757
|
+
|
|
3758
|
+
.muka-thumbnail--ellipse .muka-thumbnail__frame {
|
|
3759
|
+
border-radius: var(--border-radius-full);
|
|
3760
|
+
}
|
|
3761
|
+
|
|
3762
|
+
/* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
|
|
3763
|
+
interactive hover zoom has a clean origin. */
|
|
3764
|
+
.muka-thumbnail__image {
|
|
3765
|
+
position: absolute;
|
|
3766
|
+
inset: 0;
|
|
3767
|
+
width: 100%;
|
|
3768
|
+
height: 100%;
|
|
3769
|
+
object-fit: cover;
|
|
3770
|
+
display: block;
|
|
3771
|
+
transform-origin: center;
|
|
3772
|
+
/* Micro-interaction: hover zoom eases out over the "micro" duration. */
|
|
3773
|
+
transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
|
|
3774
|
+
}
|
|
3775
|
+
|
|
3776
|
+
/* ─── Interactive (click-to-enlarge) ──────────────────── */
|
|
3777
|
+
.muka-thumbnail__trigger {
|
|
3778
|
+
position: absolute;
|
|
3779
|
+
inset: 0;
|
|
3780
|
+
padding: 0;
|
|
3781
|
+
border: 0;
|
|
3782
|
+
background: none;
|
|
3783
|
+
cursor: pointer;
|
|
3784
|
+
overflow: hidden;
|
|
3785
|
+
}
|
|
3786
|
+
|
|
3787
|
+
.muka-thumbnail__trigger:focus-visible {
|
|
3788
|
+
outline: 2px solid var(--color-border-focus);
|
|
3789
|
+
outline-offset: -2px;
|
|
3790
|
+
}
|
|
3791
|
+
|
|
3792
|
+
/* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
|
|
3793
|
+
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
3794
|
+
transform: scale(1.05);
|
|
3795
|
+
}
|
|
3796
|
+
|
|
3797
|
+
/* ─── Loading overlay + progress donut ────────────────── */
|
|
3798
|
+
.muka-thumbnail__overlay {
|
|
3799
|
+
position: absolute;
|
|
3800
|
+
inset: 0;
|
|
3801
|
+
display: flex;
|
|
3802
|
+
align-items: center;
|
|
3803
|
+
justify-content: center;
|
|
3804
|
+
background-color: var(--dialog-color-backdrop);
|
|
3805
|
+
}
|
|
3806
|
+
|
|
3807
|
+
.muka-thumbnail__progress {
|
|
3808
|
+
width: 40px;
|
|
3809
|
+
height: 40px;
|
|
3810
|
+
}
|
|
3811
|
+
|
|
3812
|
+
/* ─── Error / corrupt state ───────────────────────────── */
|
|
3813
|
+
.muka-thumbnail--error .muka-thumbnail__frame {
|
|
3814
|
+
background-color: var(--alias-color-state-error-muted);
|
|
3815
|
+
border-color: var(--alias-color-state-error-default);
|
|
3816
|
+
}
|
|
3817
|
+
|
|
3818
|
+
.muka-thumbnail__error {
|
|
3819
|
+
position: absolute;
|
|
3820
|
+
inset: 0;
|
|
3821
|
+
display: flex;
|
|
3822
|
+
flex-direction: column;
|
|
3823
|
+
align-items: center;
|
|
3824
|
+
justify-content: center;
|
|
3825
|
+
gap: var(--spacing-2);
|
|
3826
|
+
padding: var(--spacing-3);
|
|
3827
|
+
text-align: center;
|
|
3828
|
+
}
|
|
3829
|
+
|
|
3830
|
+
.muka-thumbnail__error-icon {
|
|
3831
|
+
color: var(--alert-color-error-accent);
|
|
3832
|
+
}
|
|
3833
|
+
|
|
3834
|
+
.muka-thumbnail__caption {
|
|
3835
|
+
max-width: 100%;
|
|
3836
|
+
overflow: hidden;
|
|
3837
|
+
text-overflow: ellipsis;
|
|
3838
|
+
white-space: nowrap;
|
|
3839
|
+
color: var(--alert-color-error-accent);
|
|
3840
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
3841
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
3842
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
3843
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
3844
|
+
}
|
|
3845
|
+
|
|
3846
|
+
/* ─── Remove (×) button ───────────────────────────────── */
|
|
3847
|
+
.muka-thumbnail__remove {
|
|
3848
|
+
position: absolute;
|
|
3849
|
+
top: var(--spacing-2);
|
|
3850
|
+
right: var(--spacing-2);
|
|
3851
|
+
display: flex;
|
|
3852
|
+
align-items: center;
|
|
3853
|
+
justify-content: center;
|
|
3854
|
+
width: var(--size-2xl);
|
|
3855
|
+
height: var(--size-2xl);
|
|
3856
|
+
padding: 0;
|
|
3857
|
+
color: var(--button-color-tertiary-foreground-default);
|
|
3858
|
+
background-color: var(--button-color-tertiary-background-default);
|
|
3859
|
+
border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
|
|
3860
|
+
border-radius: var(--border-radius-lg);
|
|
3861
|
+
cursor: pointer;
|
|
3862
|
+
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
3863
|
+
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
3864
|
+
}
|
|
3865
|
+
|
|
3866
|
+
.muka-thumbnail__remove:hover {
|
|
3867
|
+
color: var(--button-color-tertiary-foreground-hover);
|
|
3868
|
+
background-color: var(--button-color-tertiary-background-hover);
|
|
3869
|
+
border-color: var(--button-color-tertiary-border-hover);
|
|
3870
|
+
}
|
|
3871
|
+
|
|
3872
|
+
.muka-thumbnail__remove:active {
|
|
3873
|
+
color: var(--button-color-tertiary-foreground-pressed);
|
|
3874
|
+
background-color: var(--button-color-tertiary-background-pressed);
|
|
3875
|
+
border-color: var(--button-color-tertiary-border-pressed);
|
|
3876
|
+
}
|
|
3877
|
+
|
|
3878
|
+
.muka-thumbnail__remove:focus-visible {
|
|
3879
|
+
outline: 2px solid var(--color-border-focus);
|
|
3880
|
+
outline-offset: 2px;
|
|
3881
|
+
}
|
|
3882
|
+
|
|
3883
|
+
/* ─── Reduced motion ──────────────────────────────────── */
|
|
3884
|
+
@media (prefers-reduced-motion: reduce) {
|
|
3885
|
+
.muka-thumbnail__image,
|
|
3886
|
+
.muka-thumbnail__remove {
|
|
3887
|
+
transition: none;
|
|
3888
|
+
}
|
|
3889
|
+
|
|
3890
|
+
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
3891
|
+
transform: none;
|
|
3892
|
+
}
|
|
3893
|
+
}
|
|
3894
|
+
|
|
3895
|
+
|
|
3711
3896
|
/* Textarea */
|
|
3712
3897
|
/* Textarea Component Styles - Using Muka Design Tokens */
|
|
3713
3898
|
|
|
@@ -4120,214 +4305,29 @@ body {
|
|
|
4120
4305
|
}
|
|
4121
4306
|
/* Remove flex: 1 behavior for Fill tabs on mobile so they map correctly */
|
|
4122
4307
|
.muka-tabs--align-fill .muka-tabs__trigger {
|
|
4123
|
-
flex: 0 0 auto;
|
|
4124
|
-
}
|
|
4125
|
-
}
|
|
4126
|
-
|
|
4127
|
-
/* Tab Panel — content area */
|
|
4128
|
-
.muka-tabs__panel {
|
|
4129
|
-
background-color: var(--tabs-panel-background);
|
|
4130
|
-
/* border-top: var(--border-width-regular) solid var(--tabs-panel-border); removed in favor of the new tablist border */
|
|
4131
|
-
border-bottom: var(--border-width-regular) solid var(--tabs-panel-border);
|
|
4132
|
-
padding: var(--spacing-4);
|
|
4133
|
-
position: relative;
|
|
4134
|
-
z-index: 1;
|
|
4135
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
4136
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
4137
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
4138
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
4139
|
-
}
|
|
4140
|
-
|
|
4141
|
-
.muka-tabs__panel:focus-visible {
|
|
4142
|
-
outline: 2px solid var(--color-border-focus);
|
|
4143
|
-
outline-offset: 2px;
|
|
4144
|
-
}
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
/* Thumbnail */
|
|
4148
|
-
/* Thumbnail Component Styles - Using Muka Design Tokens */
|
|
4149
|
-
|
|
4150
|
-
.muka-thumbnail {
|
|
4151
|
-
position: relative;
|
|
4152
|
-
flex-shrink: 0;
|
|
4153
|
-
}
|
|
4154
|
-
|
|
4155
|
-
/* The frame carries the border, background and shape clip. Keeping it separate
|
|
4156
|
-
from the root lets the remove (×) button sit outside the clip (needed for the
|
|
4157
|
-
circular/ellipse shape, whose corners would otherwise clip the button). */
|
|
4158
|
-
.muka-thumbnail__frame {
|
|
4159
|
-
position: absolute;
|
|
4160
|
-
inset: 0;
|
|
4161
|
-
overflow: hidden;
|
|
4162
|
-
border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
|
|
4163
|
-
border-radius: var(--border-radius-lg);
|
|
4164
|
-
background-color: var(--color-surface-level1);
|
|
4165
|
-
}
|
|
4166
|
-
|
|
4167
|
-
/* ─── Shapes ──────────────────────────────────────────── */
|
|
4168
|
-
.muka-thumbnail--4-3 {
|
|
4169
|
-
width: 160px;
|
|
4170
|
-
height: 120px;
|
|
4171
|
-
}
|
|
4172
|
-
|
|
4173
|
-
.muka-thumbnail--1-1 {
|
|
4174
|
-
width: 120px;
|
|
4175
|
-
height: 120px;
|
|
4176
|
-
}
|
|
4177
|
-
|
|
4178
|
-
.muka-thumbnail--ellipse {
|
|
4179
|
-
width: 120px;
|
|
4180
|
-
height: 120px;
|
|
4181
|
-
}
|
|
4182
|
-
|
|
4183
|
-
/* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
|
|
4184
|
-
.muka-thumbnail--fluid {
|
|
4185
|
-
width: 100%;
|
|
4186
|
-
height: auto;
|
|
4187
|
-
aspect-ratio: 1 / 1;
|
|
4188
|
-
}
|
|
4189
|
-
|
|
4190
|
-
.muka-thumbnail--fluid.muka-thumbnail--4-3 {
|
|
4191
|
-
aspect-ratio: 4 / 3;
|
|
4192
|
-
}
|
|
4193
|
-
|
|
4194
|
-
.muka-thumbnail--ellipse .muka-thumbnail__frame {
|
|
4195
|
-
border-radius: var(--border-radius-full);
|
|
4196
|
-
}
|
|
4197
|
-
|
|
4198
|
-
/* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
|
|
4199
|
-
interactive hover zoom has a clean origin. */
|
|
4200
|
-
.muka-thumbnail__image {
|
|
4201
|
-
position: absolute;
|
|
4202
|
-
inset: 0;
|
|
4203
|
-
width: 100%;
|
|
4204
|
-
height: 100%;
|
|
4205
|
-
object-fit: cover;
|
|
4206
|
-
display: block;
|
|
4207
|
-
transform-origin: center;
|
|
4208
|
-
/* Micro-interaction: hover zoom eases out over the "micro" duration. */
|
|
4209
|
-
transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4210
|
-
}
|
|
4211
|
-
|
|
4212
|
-
/* ─── Interactive (click-to-enlarge) ──────────────────── */
|
|
4213
|
-
.muka-thumbnail__trigger {
|
|
4214
|
-
position: absolute;
|
|
4215
|
-
inset: 0;
|
|
4216
|
-
padding: 0;
|
|
4217
|
-
border: 0;
|
|
4218
|
-
background: none;
|
|
4219
|
-
cursor: pointer;
|
|
4220
|
-
overflow: hidden;
|
|
4221
|
-
}
|
|
4222
|
-
|
|
4223
|
-
.muka-thumbnail__trigger:focus-visible {
|
|
4224
|
-
outline: 2px solid var(--color-border-focus);
|
|
4225
|
-
outline-offset: -2px;
|
|
4226
|
-
}
|
|
4227
|
-
|
|
4228
|
-
/* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
|
|
4229
|
-
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
4230
|
-
transform: scale(1.05);
|
|
4231
|
-
}
|
|
4232
|
-
|
|
4233
|
-
/* ─── Loading overlay + progress donut ────────────────── */
|
|
4234
|
-
.muka-thumbnail__overlay {
|
|
4235
|
-
position: absolute;
|
|
4236
|
-
inset: 0;
|
|
4237
|
-
display: flex;
|
|
4238
|
-
align-items: center;
|
|
4239
|
-
justify-content: center;
|
|
4240
|
-
background-color: var(--dialog-color-backdrop);
|
|
4241
|
-
}
|
|
4242
|
-
|
|
4243
|
-
.muka-thumbnail__progress {
|
|
4244
|
-
width: 40px;
|
|
4245
|
-
height: 40px;
|
|
4246
|
-
}
|
|
4247
|
-
|
|
4248
|
-
/* ─── Error / corrupt state ───────────────────────────── */
|
|
4249
|
-
.muka-thumbnail--error .muka-thumbnail__frame {
|
|
4250
|
-
background-color: var(--alias-color-state-error-muted);
|
|
4251
|
-
border-color: var(--alias-color-state-error-default);
|
|
4252
|
-
}
|
|
4253
|
-
|
|
4254
|
-
.muka-thumbnail__error {
|
|
4255
|
-
position: absolute;
|
|
4256
|
-
inset: 0;
|
|
4257
|
-
display: flex;
|
|
4258
|
-
flex-direction: column;
|
|
4259
|
-
align-items: center;
|
|
4260
|
-
justify-content: center;
|
|
4261
|
-
gap: var(--spacing-2);
|
|
4262
|
-
padding: var(--spacing-3);
|
|
4263
|
-
text-align: center;
|
|
4264
|
-
}
|
|
4265
|
-
|
|
4266
|
-
.muka-thumbnail__error-icon {
|
|
4267
|
-
color: var(--alert-color-error-accent);
|
|
4268
|
-
}
|
|
4269
|
-
|
|
4270
|
-
.muka-thumbnail__caption {
|
|
4271
|
-
max-width: 100%;
|
|
4272
|
-
overflow: hidden;
|
|
4273
|
-
text-overflow: ellipsis;
|
|
4274
|
-
white-space: nowrap;
|
|
4275
|
-
color: var(--alert-color-error-accent);
|
|
4276
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
4277
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
4278
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
4279
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
4280
|
-
}
|
|
4281
|
-
|
|
4282
|
-
/* ─── Remove (×) button ───────────────────────────────── */
|
|
4283
|
-
.muka-thumbnail__remove {
|
|
4284
|
-
position: absolute;
|
|
4285
|
-
top: var(--spacing-2);
|
|
4286
|
-
right: var(--spacing-2);
|
|
4287
|
-
display: flex;
|
|
4288
|
-
align-items: center;
|
|
4289
|
-
justify-content: center;
|
|
4290
|
-
width: var(--size-2xl);
|
|
4291
|
-
height: var(--size-2xl);
|
|
4292
|
-
padding: 0;
|
|
4293
|
-
color: var(--button-color-tertiary-foreground-default);
|
|
4294
|
-
background-color: var(--button-color-tertiary-background-default);
|
|
4295
|
-
border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
|
|
4296
|
-
border-radius: var(--border-radius-lg);
|
|
4297
|
-
cursor: pointer;
|
|
4298
|
-
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
4299
|
-
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4300
|
-
}
|
|
4301
|
-
|
|
4302
|
-
.muka-thumbnail__remove:hover {
|
|
4303
|
-
color: var(--button-color-tertiary-foreground-hover);
|
|
4304
|
-
background-color: var(--button-color-tertiary-background-hover);
|
|
4305
|
-
border-color: var(--button-color-tertiary-border-hover);
|
|
4308
|
+
flex: 0 0 auto;
|
|
4309
|
+
}
|
|
4306
4310
|
}
|
|
4307
4311
|
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
background-color: var(--
|
|
4311
|
-
border-
|
|
4312
|
+
/* Tab Panel — content area */
|
|
4313
|
+
.muka-tabs__panel {
|
|
4314
|
+
background-color: var(--tabs-panel-background);
|
|
4315
|
+
/* border-top: var(--border-width-regular) solid var(--tabs-panel-border); removed in favor of the new tablist border */
|
|
4316
|
+
border-bottom: var(--border-width-regular) solid var(--tabs-panel-border);
|
|
4317
|
+
padding: var(--spacing-4);
|
|
4318
|
+
position: relative;
|
|
4319
|
+
z-index: 1;
|
|
4320
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
4321
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
4322
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
4323
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
4312
4324
|
}
|
|
4313
4325
|
|
|
4314
|
-
.muka-
|
|
4326
|
+
.muka-tabs__panel:focus-visible {
|
|
4315
4327
|
outline: 2px solid var(--color-border-focus);
|
|
4316
4328
|
outline-offset: 2px;
|
|
4317
4329
|
}
|
|
4318
4330
|
|
|
4319
|
-
/* ─── Reduced motion ──────────────────────────────────── */
|
|
4320
|
-
@media (prefers-reduced-motion: reduce) {
|
|
4321
|
-
.muka-thumbnail__image,
|
|
4322
|
-
.muka-thumbnail__remove {
|
|
4323
|
-
transition: none;
|
|
4324
|
-
}
|
|
4325
|
-
|
|
4326
|
-
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
4327
|
-
transform: none;
|
|
4328
|
-
}
|
|
4329
|
-
}
|
|
4330
|
-
|
|
4331
4331
|
|
|
4332
4332
|
/* Table */
|
|
4333
4333
|
/* Table Component Styles - Using Muka Design Tokens */
|
|
@@ -4733,6 +4733,114 @@ body {
|
|
|
4733
4733
|
}
|
|
4734
4734
|
|
|
4735
4735
|
|
|
4736
|
+
/* SwipeActions */
|
|
4737
|
+
/* SwipeActions Component Styles */
|
|
4738
|
+
|
|
4739
|
+
.muka-swipe-actions {
|
|
4740
|
+
position: relative;
|
|
4741
|
+
overflow: hidden;
|
|
4742
|
+
touch-action: pan-y;
|
|
4743
|
+
-webkit-user-select: none;
|
|
4744
|
+
user-select: none;
|
|
4745
|
+
background-color: var(--color-surface-level3);
|
|
4746
|
+
}
|
|
4747
|
+
|
|
4748
|
+
.muka-swipe-actions--disabled {
|
|
4749
|
+
touch-action: auto;
|
|
4750
|
+
}
|
|
4751
|
+
|
|
4752
|
+
/* ─── Row that holds the actual content ────────────────── */
|
|
4753
|
+
|
|
4754
|
+
.muka-swipe-actions__row {
|
|
4755
|
+
position: relative;
|
|
4756
|
+
z-index: 1;
|
|
4757
|
+
background-color: inherit;
|
|
4758
|
+
will-change: transform;
|
|
4759
|
+
}
|
|
4760
|
+
|
|
4761
|
+
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
4762
|
+
|
|
4763
|
+
.muka-swipe-actions__panel {
|
|
4764
|
+
position: absolute;
|
|
4765
|
+
top: 0;
|
|
4766
|
+
bottom: 0;
|
|
4767
|
+
display: flex;
|
|
4768
|
+
align-items: stretch;
|
|
4769
|
+
z-index: 0;
|
|
4770
|
+
}
|
|
4771
|
+
|
|
4772
|
+
.muka-swipe-actions__panel--left {
|
|
4773
|
+
left: 0;
|
|
4774
|
+
}
|
|
4775
|
+
|
|
4776
|
+
.muka-swipe-actions__panel--right {
|
|
4777
|
+
right: 0;
|
|
4778
|
+
}
|
|
4779
|
+
|
|
4780
|
+
/* ─── Single action button ─────────────────────────────── */
|
|
4781
|
+
|
|
4782
|
+
.muka-swipe-actions__button {
|
|
4783
|
+
display: flex;
|
|
4784
|
+
flex-direction: column;
|
|
4785
|
+
align-items: center;
|
|
4786
|
+
justify-content: center;
|
|
4787
|
+
gap: var(--spacing-1);
|
|
4788
|
+
border: none;
|
|
4789
|
+
cursor: pointer;
|
|
4790
|
+
padding: var(--spacing-2);
|
|
4791
|
+
background-color: var(--color-surface-level2);
|
|
4792
|
+
color: var(--color-text-default-default);
|
|
4793
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
4794
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
4795
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
4796
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
4797
|
+
-webkit-tap-highlight-color: transparent;
|
|
4798
|
+
transition: filter 0.12s ease;
|
|
4799
|
+
}
|
|
4800
|
+
|
|
4801
|
+
.muka-swipe-actions__button:hover {
|
|
4802
|
+
filter: brightness(0.95);
|
|
4803
|
+
}
|
|
4804
|
+
|
|
4805
|
+
.muka-swipe-actions__button:focus-visible {
|
|
4806
|
+
outline: 2px solid var(--color-action-default);
|
|
4807
|
+
outline-offset: -2px;
|
|
4808
|
+
}
|
|
4809
|
+
|
|
4810
|
+
.muka-swipe-actions__button-icon {
|
|
4811
|
+
display: inline-flex;
|
|
4812
|
+
align-items: center;
|
|
4813
|
+
justify-content: center;
|
|
4814
|
+
}
|
|
4815
|
+
|
|
4816
|
+
/* ─── Color variants ───────────────────────────────────── */
|
|
4817
|
+
|
|
4818
|
+
.muka-swipe-actions__button--neutral {
|
|
4819
|
+
background-color: var(--color-surface-level2);
|
|
4820
|
+
color: var(--color-text-default-default);
|
|
4821
|
+
}
|
|
4822
|
+
|
|
4823
|
+
.muka-swipe-actions__button--primary {
|
|
4824
|
+
background-color: var(--color-action-default);
|
|
4825
|
+
color: var(--color-text-default-inverse);
|
|
4826
|
+
}
|
|
4827
|
+
|
|
4828
|
+
.muka-swipe-actions__button--success {
|
|
4829
|
+
background-color: var(--color-state-success-default);
|
|
4830
|
+
color: var(--color-text-default-inverse);
|
|
4831
|
+
}
|
|
4832
|
+
|
|
4833
|
+
.muka-swipe-actions__button--warning {
|
|
4834
|
+
background-color: var(--color-state-warning-default);
|
|
4835
|
+
color: var(--color-text-default-default);
|
|
4836
|
+
}
|
|
4837
|
+
|
|
4838
|
+
.muka-swipe-actions__button--destructive {
|
|
4839
|
+
background-color: var(--color-state-error-default);
|
|
4840
|
+
color: var(--color-text-default-inverse);
|
|
4841
|
+
}
|
|
4842
|
+
|
|
4843
|
+
|
|
4736
4844
|
/* Spinner */
|
|
4737
4845
|
/* Spinner Component Styles */
|
|
4738
4846
|
|
|
@@ -8357,145 +8465,29 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
8357
8465
|
flex-direction: column;
|
|
8358
8466
|
gap: var(--spacing-1);
|
|
8359
8467
|
}
|
|
8360
|
-
|
|
8361
|
-
.muka-piechart__legend-item {
|
|
8362
|
-
display: flex;
|
|
8363
|
-
align-items: center;
|
|
8364
|
-
gap: var(--spacing-2);
|
|
8365
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
8366
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
8367
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
8368
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
8369
|
-
color: var(--color-text-default-default);
|
|
8370
|
-
}
|
|
8371
|
-
|
|
8372
|
-
.muka-piechart__swatch {
|
|
8373
|
-
flex-shrink: 0;
|
|
8374
|
-
width: var(--spacing-3);
|
|
8375
|
-
height: var(--spacing-3);
|
|
8376
|
-
border-radius: var(--border-radius-sm);
|
|
8377
|
-
}
|
|
8378
|
-
|
|
8379
|
-
.muka-piechart__legend-value {
|
|
8380
|
-
margin-left: auto;
|
|
8381
|
-
padding-left: var(--spacing-2);
|
|
8382
|
-
color: var(--color-text-subtle-default);
|
|
8383
|
-
}
|
|
8384
|
-
|
|
8385
|
-
|
|
8386
|
-
/* PhotoUploader */
|
|
8387
|
-
/* PhotoUploader Component Styles - Using Muka Design Tokens */
|
|
8388
|
-
|
|
8389
|
-
.muka-photo-uploader {
|
|
8390
|
-
display: flex;
|
|
8391
|
-
flex-direction: column;
|
|
8392
|
-
align-items: flex-start;
|
|
8393
|
-
gap: var(--spacing-4);
|
|
8394
|
-
width: 100%;
|
|
8395
|
-
}
|
|
8396
|
-
|
|
8397
|
-
/* Visually-hidden native file input */
|
|
8398
|
-
.muka-photo-uploader__input {
|
|
8399
|
-
position: absolute;
|
|
8400
|
-
width: 1px;
|
|
8401
|
-
height: 1px;
|
|
8402
|
-
padding: 0;
|
|
8403
|
-
margin: -1px;
|
|
8404
|
-
overflow: hidden;
|
|
8405
|
-
clip: rect(0, 0, 0, 0);
|
|
8406
|
-
white-space: nowrap;
|
|
8407
|
-
border: 0;
|
|
8408
|
-
}
|
|
8409
|
-
|
|
8410
|
-
/* ─── Error feedback alert ────────────────────────────── */
|
|
8411
|
-
.muka-photo-uploader__alert {
|
|
8412
|
-
width: 100%;
|
|
8413
|
-
}
|
|
8414
|
-
|
|
8415
|
-
/* ─── Thumbnail grid ──────────────────────────────────── */
|
|
8416
|
-
.muka-photo-uploader__grid {
|
|
8417
|
-
display: flex;
|
|
8418
|
-
flex-wrap: wrap;
|
|
8419
|
-
gap: var(--spacing-3);
|
|
8420
|
-
width: 100%;
|
|
8421
|
-
margin: 0;
|
|
8422
|
-
padding: 0;
|
|
8423
|
-
list-style: none;
|
|
8424
|
-
}
|
|
8425
|
-
|
|
8426
|
-
.muka-photo-uploader__grid-item {
|
|
8427
|
-
margin: 0;
|
|
8428
|
-
padding: 0;
|
|
8429
|
-
}
|
|
8430
|
-
|
|
8431
|
-
/* ─── Drop zone card (button + "or drop here") ────────── */
|
|
8432
|
-
.muka-photo-uploader__dropzone {
|
|
8433
|
-
display: flex;
|
|
8434
|
-
flex-direction: column;
|
|
8435
|
-
align-items: center;
|
|
8436
|
-
justify-content: center;
|
|
8437
|
-
gap: var(--spacing-4);
|
|
8438
|
-
width: 100%;
|
|
8439
|
-
padding: var(--card-padding-lg);
|
|
8440
|
-
background-color: var(--card-color-default-background);
|
|
8441
|
-
border: var(--border-width-regular, 1px) solid var(--card-color-default-border);
|
|
8442
|
-
border-radius: var(--border-radius-lg);
|
|
8443
|
-
cursor: pointer;
|
|
8444
|
-
text-align: center;
|
|
8445
|
-
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
8446
|
-
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
8447
|
-
}
|
|
8448
|
-
|
|
8449
|
-
.muka-photo-uploader__dropzone:hover,
|
|
8450
|
-
.muka-photo-uploader__dropzone--active {
|
|
8451
|
-
border-color: var(--color-border-focus);
|
|
8452
|
-
background-color: var(--color-surface-level1);
|
|
8453
|
-
}
|
|
8454
|
-
|
|
8455
|
-
.muka-photo-uploader__dropzone-text {
|
|
8456
|
-
font-family: var(--text-subheading-sm-fontFamily);
|
|
8457
|
-
font-size: var(--text-subheading-sm-fontSize);
|
|
8458
|
-
font-weight: var(--text-subheading-sm-fontWeight);
|
|
8459
|
-
line-height: var(--text-subheading-sm-lineHeight);
|
|
8460
|
-
color: var(--color-text-default-default);
|
|
8461
|
-
}
|
|
8462
|
-
|
|
8463
|
-
/* ─── Disabled ────────────────────────────────────────── */
|
|
8464
|
-
.muka-photo-uploader--disabled .muka-photo-uploader__dropzone {
|
|
8465
|
-
cursor: not-allowed;
|
|
8466
|
-
opacity: 0.6;
|
|
8467
|
-
}
|
|
8468
|
-
|
|
8469
|
-
.muka-photo-uploader--disabled .muka-photo-uploader__dropzone:hover {
|
|
8470
|
-
border-color: var(--card-color-default-border);
|
|
8471
|
-
background-color: var(--card-color-default-background);
|
|
8472
|
-
}
|
|
8473
|
-
|
|
8474
|
-
/* ─── Enlarged photo dialog ───────────────────────────── */
|
|
8475
|
-
.muka-photo-uploader__preview {
|
|
8468
|
+
|
|
8469
|
+
.muka-piechart__legend-item {
|
|
8476
8470
|
display: flex;
|
|
8477
8471
|
align-items: center;
|
|
8478
|
-
|
|
8479
|
-
|
|
8480
|
-
|
|
8472
|
+
gap: var(--spacing-2);
|
|
8473
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
8474
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
8475
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
8476
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
8477
|
+
color: var(--color-text-default-default);
|
|
8481
8478
|
}
|
|
8482
8479
|
|
|
8483
|
-
|
|
8484
|
-
|
|
8485
|
-
|
|
8486
|
-
|
|
8487
|
-
|
|
8488
|
-
width: auto;
|
|
8489
|
-
height: auto;
|
|
8490
|
-
object-fit: contain;
|
|
8491
|
-
border-radius: var(--border-radius-lg);
|
|
8480
|
+
.muka-piechart__swatch {
|
|
8481
|
+
flex-shrink: 0;
|
|
8482
|
+
width: var(--spacing-3);
|
|
8483
|
+
height: var(--spacing-3);
|
|
8484
|
+
border-radius: var(--border-radius-sm);
|
|
8492
8485
|
}
|
|
8493
8486
|
|
|
8494
|
-
|
|
8495
|
-
|
|
8496
|
-
|
|
8497
|
-
|
|
8498
|
-
}
|
|
8487
|
+
.muka-piechart__legend-value {
|
|
8488
|
+
margin-left: auto;
|
|
8489
|
+
padding-left: var(--spacing-2);
|
|
8490
|
+
color: var(--color-text-subtle-default);
|
|
8499
8491
|
}
|
|
8500
8492
|
|
|
8501
8493
|
|
|
@@ -9168,6 +9160,122 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9168
9160
|
}
|
|
9169
9161
|
|
|
9170
9162
|
|
|
9163
|
+
/* PhotoUploader */
|
|
9164
|
+
/* PhotoUploader Component Styles - Using Muka Design Tokens */
|
|
9165
|
+
|
|
9166
|
+
.muka-photo-uploader {
|
|
9167
|
+
display: flex;
|
|
9168
|
+
flex-direction: column;
|
|
9169
|
+
align-items: flex-start;
|
|
9170
|
+
gap: var(--spacing-4);
|
|
9171
|
+
width: 100%;
|
|
9172
|
+
}
|
|
9173
|
+
|
|
9174
|
+
/* Visually-hidden native file input */
|
|
9175
|
+
.muka-photo-uploader__input {
|
|
9176
|
+
position: absolute;
|
|
9177
|
+
width: 1px;
|
|
9178
|
+
height: 1px;
|
|
9179
|
+
padding: 0;
|
|
9180
|
+
margin: -1px;
|
|
9181
|
+
overflow: hidden;
|
|
9182
|
+
clip: rect(0, 0, 0, 0);
|
|
9183
|
+
white-space: nowrap;
|
|
9184
|
+
border: 0;
|
|
9185
|
+
}
|
|
9186
|
+
|
|
9187
|
+
/* ─── Error feedback alert ────────────────────────────── */
|
|
9188
|
+
.muka-photo-uploader__alert {
|
|
9189
|
+
width: 100%;
|
|
9190
|
+
}
|
|
9191
|
+
|
|
9192
|
+
/* ─── Thumbnail grid ──────────────────────────────────── */
|
|
9193
|
+
.muka-photo-uploader__grid {
|
|
9194
|
+
display: flex;
|
|
9195
|
+
flex-wrap: wrap;
|
|
9196
|
+
gap: var(--spacing-3);
|
|
9197
|
+
width: 100%;
|
|
9198
|
+
margin: 0;
|
|
9199
|
+
padding: 0;
|
|
9200
|
+
list-style: none;
|
|
9201
|
+
}
|
|
9202
|
+
|
|
9203
|
+
.muka-photo-uploader__grid-item {
|
|
9204
|
+
margin: 0;
|
|
9205
|
+
padding: 0;
|
|
9206
|
+
}
|
|
9207
|
+
|
|
9208
|
+
/* ─── Drop zone card (button + "or drop here") ────────── */
|
|
9209
|
+
.muka-photo-uploader__dropzone {
|
|
9210
|
+
display: flex;
|
|
9211
|
+
flex-direction: column;
|
|
9212
|
+
align-items: center;
|
|
9213
|
+
justify-content: center;
|
|
9214
|
+
gap: var(--spacing-4);
|
|
9215
|
+
width: 100%;
|
|
9216
|
+
padding: var(--card-padding-lg);
|
|
9217
|
+
background-color: var(--card-color-default-background);
|
|
9218
|
+
border: var(--border-width-regular, 1px) solid var(--card-color-default-border);
|
|
9219
|
+
border-radius: var(--border-radius-lg);
|
|
9220
|
+
cursor: pointer;
|
|
9221
|
+
text-align: center;
|
|
9222
|
+
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
9223
|
+
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
9224
|
+
}
|
|
9225
|
+
|
|
9226
|
+
.muka-photo-uploader__dropzone:hover,
|
|
9227
|
+
.muka-photo-uploader__dropzone--active {
|
|
9228
|
+
border-color: var(--color-border-focus);
|
|
9229
|
+
background-color: var(--color-surface-level1);
|
|
9230
|
+
}
|
|
9231
|
+
|
|
9232
|
+
.muka-photo-uploader__dropzone-text {
|
|
9233
|
+
font-family: var(--text-subheading-sm-fontFamily);
|
|
9234
|
+
font-size: var(--text-subheading-sm-fontSize);
|
|
9235
|
+
font-weight: var(--text-subheading-sm-fontWeight);
|
|
9236
|
+
line-height: var(--text-subheading-sm-lineHeight);
|
|
9237
|
+
color: var(--color-text-default-default);
|
|
9238
|
+
}
|
|
9239
|
+
|
|
9240
|
+
/* ─── Disabled ────────────────────────────────────────── */
|
|
9241
|
+
.muka-photo-uploader--disabled .muka-photo-uploader__dropzone {
|
|
9242
|
+
cursor: not-allowed;
|
|
9243
|
+
opacity: 0.6;
|
|
9244
|
+
}
|
|
9245
|
+
|
|
9246
|
+
.muka-photo-uploader--disabled .muka-photo-uploader__dropzone:hover {
|
|
9247
|
+
border-color: var(--card-color-default-border);
|
|
9248
|
+
background-color: var(--card-color-default-background);
|
|
9249
|
+
}
|
|
9250
|
+
|
|
9251
|
+
/* ─── Enlarged photo dialog ───────────────────────────── */
|
|
9252
|
+
.muka-photo-uploader__preview {
|
|
9253
|
+
display: flex;
|
|
9254
|
+
align-items: center;
|
|
9255
|
+
justify-content: center;
|
|
9256
|
+
width: 100%;
|
|
9257
|
+
height: 100%;
|
|
9258
|
+
}
|
|
9259
|
+
|
|
9260
|
+
/* Fits the dialog while preserving the photo's original aspect ratio. */
|
|
9261
|
+
.muka-photo-uploader__preview-image {
|
|
9262
|
+
display: block;
|
|
9263
|
+
max-width: 100%;
|
|
9264
|
+
max-height: 100%;
|
|
9265
|
+
width: auto;
|
|
9266
|
+
height: auto;
|
|
9267
|
+
object-fit: contain;
|
|
9268
|
+
border-radius: var(--border-radius-lg);
|
|
9269
|
+
}
|
|
9270
|
+
|
|
9271
|
+
/* ─── Reduced motion ──────────────────────────────────── */
|
|
9272
|
+
@media (prefers-reduced-motion: reduce) {
|
|
9273
|
+
.muka-photo-uploader__dropzone {
|
|
9274
|
+
transition: none;
|
|
9275
|
+
}
|
|
9276
|
+
}
|
|
9277
|
+
|
|
9278
|
+
|
|
9171
9279
|
/* MediaViewer */
|
|
9172
9280
|
/* MediaViewer Component Styles - Using Muka Design Tokens */
|
|
9173
9281
|
|
|
@@ -10241,60 +10349,6 @@ li.muka-listitem {
|
|
|
10241
10349
|
}
|
|
10242
10350
|
|
|
10243
10351
|
|
|
10244
|
-
/* Icon */
|
|
10245
|
-
/* Icon Component Styles - Using Muka Design Tokens */
|
|
10246
|
-
|
|
10247
|
-
.muka-icon {
|
|
10248
|
-
display: inline-flex;
|
|
10249
|
-
align-items: center;
|
|
10250
|
-
justify-content: center;
|
|
10251
|
-
flex-shrink: 0;
|
|
10252
|
-
color: var(--color-icon-default-default, currentColor);
|
|
10253
|
-
}
|
|
10254
|
-
|
|
10255
|
-
/* Icons inside buttons should inherit from button's foreground color */
|
|
10256
|
-
.muka-button .muka-icon {
|
|
10257
|
-
color: inherit;
|
|
10258
|
-
}
|
|
10259
|
-
|
|
10260
|
-
.muka-icon--subtle {
|
|
10261
|
-
color: var(--color-icon-subtle-default);
|
|
10262
|
-
}
|
|
10263
|
-
|
|
10264
|
-
.muka-icon--muted {
|
|
10265
|
-
color: var(--color-icon-muted-default);
|
|
10266
|
-
}
|
|
10267
|
-
|
|
10268
|
-
.muka-icon--inverse {
|
|
10269
|
-
color: var(--color-icon-default-inverse);
|
|
10270
|
-
}
|
|
10271
|
-
|
|
10272
|
-
.muka-icon--xs {
|
|
10273
|
-
width: var(--icon-size-xs);
|
|
10274
|
-
height: var(--icon-size-xs);
|
|
10275
|
-
}
|
|
10276
|
-
|
|
10277
|
-
.muka-icon--sm {
|
|
10278
|
-
width: var(--icon-size-sm);
|
|
10279
|
-
height: var(--icon-size-sm);
|
|
10280
|
-
}
|
|
10281
|
-
|
|
10282
|
-
.muka-icon--md {
|
|
10283
|
-
width: var(--icon-size-default);
|
|
10284
|
-
height: var(--icon-size-default);
|
|
10285
|
-
}
|
|
10286
|
-
|
|
10287
|
-
.muka-icon--lg {
|
|
10288
|
-
width: var(--icon-size-lg);
|
|
10289
|
-
height: var(--icon-size-lg);
|
|
10290
|
-
}
|
|
10291
|
-
|
|
10292
|
-
.muka-icon svg {
|
|
10293
|
-
width: 100%;
|
|
10294
|
-
height: 100%;
|
|
10295
|
-
}
|
|
10296
|
-
|
|
10297
|
-
|
|
10298
10352
|
/* Form */
|
|
10299
10353
|
.muka-form {
|
|
10300
10354
|
display: flex;
|
|
@@ -10699,22 +10753,76 @@ li.muka-listitem {
|
|
|
10699
10753
|
transform: translateX(-50%);
|
|
10700
10754
|
}
|
|
10701
10755
|
|
|
10702
|
-
.muka-fab--bottom-center:active {
|
|
10703
|
-
transform: translateX(-50%) scale(0.96);
|
|
10756
|
+
.muka-fab--bottom-center:active {
|
|
10757
|
+
transform: translateX(-50%) scale(0.96);
|
|
10758
|
+
}
|
|
10759
|
+
|
|
10760
|
+
/* Add the iOS home-indicator inset to the bottom offset. */
|
|
10761
|
+
.muka-fab:not(.muka-fab--no-safe-area) {
|
|
10762
|
+
bottom: calc(var(--spacing-4) + env(safe-area-inset-bottom));
|
|
10763
|
+
}
|
|
10764
|
+
|
|
10765
|
+
/* Lateral safe-area for landscape iPhone with notch. */
|
|
10766
|
+
.muka-fab--bottom-right:not(.muka-fab--no-safe-area) {
|
|
10767
|
+
right: max(var(--spacing-4), env(safe-area-inset-right));
|
|
10768
|
+
}
|
|
10769
|
+
|
|
10770
|
+
.muka-fab--bottom-left:not(.muka-fab--no-safe-area) {
|
|
10771
|
+
left: max(var(--spacing-4), env(safe-area-inset-left));
|
|
10772
|
+
}
|
|
10773
|
+
|
|
10774
|
+
|
|
10775
|
+
/* Icon */
|
|
10776
|
+
/* Icon Component Styles - Using Muka Design Tokens */
|
|
10777
|
+
|
|
10778
|
+
.muka-icon {
|
|
10779
|
+
display: inline-flex;
|
|
10780
|
+
align-items: center;
|
|
10781
|
+
justify-content: center;
|
|
10782
|
+
flex-shrink: 0;
|
|
10783
|
+
color: var(--color-icon-default-default, currentColor);
|
|
10784
|
+
}
|
|
10785
|
+
|
|
10786
|
+
/* Icons inside buttons should inherit from button's foreground color */
|
|
10787
|
+
.muka-button .muka-icon {
|
|
10788
|
+
color: inherit;
|
|
10789
|
+
}
|
|
10790
|
+
|
|
10791
|
+
.muka-icon--subtle {
|
|
10792
|
+
color: var(--color-icon-subtle-default);
|
|
10793
|
+
}
|
|
10794
|
+
|
|
10795
|
+
.muka-icon--muted {
|
|
10796
|
+
color: var(--color-icon-muted-default);
|
|
10797
|
+
}
|
|
10798
|
+
|
|
10799
|
+
.muka-icon--inverse {
|
|
10800
|
+
color: var(--color-icon-default-inverse);
|
|
10801
|
+
}
|
|
10802
|
+
|
|
10803
|
+
.muka-icon--xs {
|
|
10804
|
+
width: var(--icon-size-xs);
|
|
10805
|
+
height: var(--icon-size-xs);
|
|
10806
|
+
}
|
|
10807
|
+
|
|
10808
|
+
.muka-icon--sm {
|
|
10809
|
+
width: var(--icon-size-sm);
|
|
10810
|
+
height: var(--icon-size-sm);
|
|
10704
10811
|
}
|
|
10705
10812
|
|
|
10706
|
-
|
|
10707
|
-
|
|
10708
|
-
|
|
10813
|
+
.muka-icon--md {
|
|
10814
|
+
width: var(--icon-size-default);
|
|
10815
|
+
height: var(--icon-size-default);
|
|
10709
10816
|
}
|
|
10710
10817
|
|
|
10711
|
-
|
|
10712
|
-
|
|
10713
|
-
|
|
10818
|
+
.muka-icon--lg {
|
|
10819
|
+
width: var(--icon-size-lg);
|
|
10820
|
+
height: var(--icon-size-lg);
|
|
10714
10821
|
}
|
|
10715
10822
|
|
|
10716
|
-
.muka-
|
|
10717
|
-
|
|
10823
|
+
.muka-icon svg {
|
|
10824
|
+
width: 100%;
|
|
10825
|
+
height: 100%;
|
|
10718
10826
|
}
|
|
10719
10827
|
|
|
10720
10828
|
|
|
@@ -12709,6 +12817,15 @@ li.muka-listitem {
|
|
|
12709
12817
|
}
|
|
12710
12818
|
|
|
12711
12819
|
|
|
12820
|
+
/* ChipSelectGroup */
|
|
12821
|
+
/* ChipSelectGroup — wrapping row of selectable chips (experimental) */
|
|
12822
|
+
.muka-chip-select-group {
|
|
12823
|
+
display: flex;
|
|
12824
|
+
flex-wrap: wrap;
|
|
12825
|
+
gap: var(--spacing-2);
|
|
12826
|
+
}
|
|
12827
|
+
|
|
12828
|
+
|
|
12712
12829
|
/* Chip */
|
|
12713
12830
|
/* Chip Component Styles - Using Muka Design Tokens (Figma: Chip, Chip/Trailing) */
|
|
12714
12831
|
|
|
@@ -13402,6 +13519,126 @@ button.muka-chip__trailing[aria-expanded='true'],
|
|
|
13402
13519
|
}
|
|
13403
13520
|
|
|
13404
13521
|
|
|
13522
|
+
/* ChatQuestionSeries */
|
|
13523
|
+
/* ChatQuestionSeries — step dots and the collapsed summary (experimental) */
|
|
13524
|
+
.muka-chat-series__dots {
|
|
13525
|
+
display: inline-flex;
|
|
13526
|
+
align-items: center;
|
|
13527
|
+
gap: var(--spacing-1);
|
|
13528
|
+
}
|
|
13529
|
+
|
|
13530
|
+
.muka-chat-series__dot {
|
|
13531
|
+
width: var(--spacing-1);
|
|
13532
|
+
height: var(--spacing-1);
|
|
13533
|
+
border-radius: var(--border-radius-full);
|
|
13534
|
+
background-color: var(--color-border-default);
|
|
13535
|
+
}
|
|
13536
|
+
|
|
13537
|
+
.muka-chat-series__dot--done {
|
|
13538
|
+
background-color: var(--color-text-subtle-default);
|
|
13539
|
+
}
|
|
13540
|
+
|
|
13541
|
+
.muka-chat-series__dot--current {
|
|
13542
|
+
width: var(--spacing-2);
|
|
13543
|
+
height: var(--spacing-2);
|
|
13544
|
+
background-color: var(--color-text-default-default);
|
|
13545
|
+
}
|
|
13546
|
+
|
|
13547
|
+
.muka-chat-series__summary {
|
|
13548
|
+
display: flex;
|
|
13549
|
+
flex-direction: column;
|
|
13550
|
+
gap: var(--spacing-2);
|
|
13551
|
+
}
|
|
13552
|
+
|
|
13553
|
+
.muka-chat-series__summary-row {
|
|
13554
|
+
display: flex;
|
|
13555
|
+
flex-direction: column;
|
|
13556
|
+
}
|
|
13557
|
+
|
|
13558
|
+
.muka-chat-series__summary-question {
|
|
13559
|
+
color: var(--color-text-subtle-default);
|
|
13560
|
+
}
|
|
13561
|
+
|
|
13562
|
+
|
|
13563
|
+
/* ChatQuestionCard */
|
|
13564
|
+
/*
|
|
13565
|
+
* ChatQuestionCard — in-thread question widget (experimental).
|
|
13566
|
+
* Inspired by the Agentic UX "Gather search criteria" cards: question on top,
|
|
13567
|
+
* compact controls, a footer only once there is something to submit.
|
|
13568
|
+
*/
|
|
13569
|
+
.muka-chat-question-card {
|
|
13570
|
+
width: 100%;
|
|
13571
|
+
max-width: 100%;
|
|
13572
|
+
min-width: 0;
|
|
13573
|
+
}
|
|
13574
|
+
|
|
13575
|
+
.muka-chat-question-card__card {
|
|
13576
|
+
width: 100%;
|
|
13577
|
+
overflow: hidden;
|
|
13578
|
+
}
|
|
13579
|
+
|
|
13580
|
+
.muka-chat-question-card__content {
|
|
13581
|
+
display: flex;
|
|
13582
|
+
flex-direction: column;
|
|
13583
|
+
gap: var(--spacing-3);
|
|
13584
|
+
padding: var(--spacing-4);
|
|
13585
|
+
min-width: 0;
|
|
13586
|
+
}
|
|
13587
|
+
|
|
13588
|
+
.muka-chat-question-card__question {
|
|
13589
|
+
margin: 0;
|
|
13590
|
+
color: var(--color-text-default-default);
|
|
13591
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
13592
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
13593
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
13594
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
13595
|
+
}
|
|
13596
|
+
|
|
13597
|
+
.muka-chat-question-card--answered .muka-chat-question-card__question {
|
|
13598
|
+
color: var(--color-text-subtle-default);
|
|
13599
|
+
}
|
|
13600
|
+
|
|
13601
|
+
.muka-chat-question-card__answer {
|
|
13602
|
+
display: flex;
|
|
13603
|
+
align-items: flex-start;
|
|
13604
|
+
gap: var(--spacing-2);
|
|
13605
|
+
margin: 0;
|
|
13606
|
+
color: var(--color-text-default-default);
|
|
13607
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
13608
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
13609
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
13610
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
13611
|
+
}
|
|
13612
|
+
|
|
13613
|
+
.muka-chat-question-card__answer-icon {
|
|
13614
|
+
display: inline-flex;
|
|
13615
|
+
flex-shrink: 0;
|
|
13616
|
+
color: var(--color-text-action-default);
|
|
13617
|
+
}
|
|
13618
|
+
|
|
13619
|
+
.muka-chat-question-card__footer {
|
|
13620
|
+
display: flex;
|
|
13621
|
+
align-items: center;
|
|
13622
|
+
justify-content: space-between;
|
|
13623
|
+
gap: var(--spacing-3);
|
|
13624
|
+
padding: var(--spacing-3) var(--spacing-4);
|
|
13625
|
+
border-top: var(--border-width-regular) solid var(--color-border-muted);
|
|
13626
|
+
}
|
|
13627
|
+
|
|
13628
|
+
.muka-chat-question-card__footer-start {
|
|
13629
|
+
display: flex;
|
|
13630
|
+
align-items: center;
|
|
13631
|
+
min-width: 0;
|
|
13632
|
+
}
|
|
13633
|
+
|
|
13634
|
+
.muka-chat-question-card__footer-actions {
|
|
13635
|
+
display: flex;
|
|
13636
|
+
align-items: center;
|
|
13637
|
+
gap: var(--spacing-2);
|
|
13638
|
+
margin-inline-start: auto;
|
|
13639
|
+
}
|
|
13640
|
+
|
|
13641
|
+
|
|
13405
13642
|
/* ChatPhotoGrid */
|
|
13406
13643
|
/* ChatPhotoGrid Component Styles */
|
|
13407
13644
|
|
|
@@ -14063,6 +14300,14 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
14063
14300
|
flex-shrink: 0;
|
|
14064
14301
|
}
|
|
14065
14302
|
|
|
14303
|
+
/* Touch devices have emoji on their keyboard: no button there, unless the app
|
|
14304
|
+
keeps it with `emojiOnTouch`. */
|
|
14305
|
+
@media (pointer: coarse) {
|
|
14306
|
+
.muka-chat-composer__emoji:not(.muka-chat-composer__emoji--on-touch) {
|
|
14307
|
+
display: none;
|
|
14308
|
+
}
|
|
14309
|
+
}
|
|
14310
|
+
|
|
14066
14311
|
/* ─── Recording bar ────────────────────────────────────── */
|
|
14067
14312
|
|
|
14068
14313
|
.muka-chat-composer__recording {
|
|
@@ -14236,6 +14481,42 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
14236
14481
|
}
|
|
14237
14482
|
|
|
14238
14483
|
|
|
14484
|
+
/* ChatChoiceCard */
|
|
14485
|
+
/* ChatChoiceCard — compact option rows (experimental) */
|
|
14486
|
+
.muka-chat-choice__list {
|
|
14487
|
+
display: flex;
|
|
14488
|
+
flex-direction: column;
|
|
14489
|
+
gap: var(--spacing-2);
|
|
14490
|
+
}
|
|
14491
|
+
|
|
14492
|
+
.muka-chat-choice__row {
|
|
14493
|
+
display: flex;
|
|
14494
|
+
align-items: center;
|
|
14495
|
+
min-height: var(--spacing-8);
|
|
14496
|
+
min-width: 0;
|
|
14497
|
+
}
|
|
14498
|
+
|
|
14499
|
+
.muka-chat-choice__row--other {
|
|
14500
|
+
gap: var(--spacing-2);
|
|
14501
|
+
}
|
|
14502
|
+
|
|
14503
|
+
/* The free-text option: the control, then the field filling the row. */
|
|
14504
|
+
.muka-chat-choice__row--other {
|
|
14505
|
+
flex-wrap: nowrap;
|
|
14506
|
+
}
|
|
14507
|
+
|
|
14508
|
+
.muka-chat-choice__row--other > .muka-radio,
|
|
14509
|
+
.muka-chat-choice__row--other > .muka-checkbox {
|
|
14510
|
+
flex: 0 0 auto;
|
|
14511
|
+
}
|
|
14512
|
+
|
|
14513
|
+
.muka-chat-choice__row--other > .muka-input {
|
|
14514
|
+
flex: 1 1 auto;
|
|
14515
|
+
width: auto;
|
|
14516
|
+
min-width: 0;
|
|
14517
|
+
}
|
|
14518
|
+
|
|
14519
|
+
|
|
14239
14520
|
/* ChatAttachmentChip */
|
|
14240
14521
|
/* ChatAttachmentChip Component Styles */
|
|
14241
14522
|
|
|
@@ -16841,111 +17122,3 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
16841
17122
|
border-bottom: none;
|
|
16842
17123
|
}
|
|
16843
17124
|
|
|
16844
|
-
|
|
16845
|
-
/* SwipeActions */
|
|
16846
|
-
/* SwipeActions Component Styles */
|
|
16847
|
-
|
|
16848
|
-
.muka-swipe-actions {
|
|
16849
|
-
position: relative;
|
|
16850
|
-
overflow: hidden;
|
|
16851
|
-
touch-action: pan-y;
|
|
16852
|
-
-webkit-user-select: none;
|
|
16853
|
-
user-select: none;
|
|
16854
|
-
background-color: var(--color-surface-level3);
|
|
16855
|
-
}
|
|
16856
|
-
|
|
16857
|
-
.muka-swipe-actions--disabled {
|
|
16858
|
-
touch-action: auto;
|
|
16859
|
-
}
|
|
16860
|
-
|
|
16861
|
-
/* ─── Row that holds the actual content ────────────────── */
|
|
16862
|
-
|
|
16863
|
-
.muka-swipe-actions__row {
|
|
16864
|
-
position: relative;
|
|
16865
|
-
z-index: 1;
|
|
16866
|
-
background-color: inherit;
|
|
16867
|
-
will-change: transform;
|
|
16868
|
-
}
|
|
16869
|
-
|
|
16870
|
-
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
16871
|
-
|
|
16872
|
-
.muka-swipe-actions__panel {
|
|
16873
|
-
position: absolute;
|
|
16874
|
-
top: 0;
|
|
16875
|
-
bottom: 0;
|
|
16876
|
-
display: flex;
|
|
16877
|
-
align-items: stretch;
|
|
16878
|
-
z-index: 0;
|
|
16879
|
-
}
|
|
16880
|
-
|
|
16881
|
-
.muka-swipe-actions__panel--left {
|
|
16882
|
-
left: 0;
|
|
16883
|
-
}
|
|
16884
|
-
|
|
16885
|
-
.muka-swipe-actions__panel--right {
|
|
16886
|
-
right: 0;
|
|
16887
|
-
}
|
|
16888
|
-
|
|
16889
|
-
/* ─── Single action button ─────────────────────────────── */
|
|
16890
|
-
|
|
16891
|
-
.muka-swipe-actions__button {
|
|
16892
|
-
display: flex;
|
|
16893
|
-
flex-direction: column;
|
|
16894
|
-
align-items: center;
|
|
16895
|
-
justify-content: center;
|
|
16896
|
-
gap: var(--spacing-1);
|
|
16897
|
-
border: none;
|
|
16898
|
-
cursor: pointer;
|
|
16899
|
-
padding: var(--spacing-2);
|
|
16900
|
-
background-color: var(--color-surface-level2);
|
|
16901
|
-
color: var(--color-text-default-default);
|
|
16902
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
16903
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
16904
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
16905
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
16906
|
-
-webkit-tap-highlight-color: transparent;
|
|
16907
|
-
transition: filter 0.12s ease;
|
|
16908
|
-
}
|
|
16909
|
-
|
|
16910
|
-
.muka-swipe-actions__button:hover {
|
|
16911
|
-
filter: brightness(0.95);
|
|
16912
|
-
}
|
|
16913
|
-
|
|
16914
|
-
.muka-swipe-actions__button:focus-visible {
|
|
16915
|
-
outline: 2px solid var(--color-action-default);
|
|
16916
|
-
outline-offset: -2px;
|
|
16917
|
-
}
|
|
16918
|
-
|
|
16919
|
-
.muka-swipe-actions__button-icon {
|
|
16920
|
-
display: inline-flex;
|
|
16921
|
-
align-items: center;
|
|
16922
|
-
justify-content: center;
|
|
16923
|
-
}
|
|
16924
|
-
|
|
16925
|
-
/* ─── Color variants ───────────────────────────────────── */
|
|
16926
|
-
|
|
16927
|
-
.muka-swipe-actions__button--neutral {
|
|
16928
|
-
background-color: var(--color-surface-level2);
|
|
16929
|
-
color: var(--color-text-default-default);
|
|
16930
|
-
}
|
|
16931
|
-
|
|
16932
|
-
.muka-swipe-actions__button--primary {
|
|
16933
|
-
background-color: var(--color-action-default);
|
|
16934
|
-
color: var(--color-text-default-inverse);
|
|
16935
|
-
}
|
|
16936
|
-
|
|
16937
|
-
.muka-swipe-actions__button--success {
|
|
16938
|
-
background-color: var(--color-state-success-default);
|
|
16939
|
-
color: var(--color-text-default-inverse);
|
|
16940
|
-
}
|
|
16941
|
-
|
|
16942
|
-
.muka-swipe-actions__button--warning {
|
|
16943
|
-
background-color: var(--color-state-warning-default);
|
|
16944
|
-
color: var(--color-text-default-default);
|
|
16945
|
-
}
|
|
16946
|
-
|
|
16947
|
-
.muka-swipe-actions__button--destructive {
|
|
16948
|
-
background-color: var(--color-state-error-default);
|
|
16949
|
-
color: var(--color-text-default-inverse);
|
|
16950
|
-
}
|
|
16951
|
-
|