@revikornmann/muka-ui 0.50.1 → 0.52.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/BadgeNumber/BadgeNumber.css +8 -0
- package/dist/cjs/components/BadgeNumber/BadgeNumber.js +3 -3
- package/dist/cjs/components/BadgeNumber/BadgeNumber.js.map +1 -1
- package/dist/cjs/components/BottomBar/BottomBar.css +10 -0
- package/dist/cjs/components/BottomBar/BottomBar.js +4 -2
- package/dist/cjs/components/BottomBar/BottomBar.js.map +1 -1
- package/dist/cjs/components/DocumentViewer/DocumentCanvas.js +11 -9
- package/dist/cjs/components/DocumentViewer/DocumentCanvas.js.map +1 -1
- package/dist/cjs/components/DocumentViewer/DocumentThumbnails.js +5 -3
- package/dist/cjs/components/DocumentViewer/DocumentThumbnails.js.map +1 -1
- package/dist/cjs/components/DocumentViewer/DocumentToolbar.js +4 -2
- package/dist/cjs/components/DocumentViewer/DocumentToolbar.js.map +1 -1
- package/dist/cjs/components/DocumentViewer/DocumentViewer.js +4 -2
- package/dist/cjs/components/DocumentViewer/DocumentViewer.js.map +1 -1
- package/dist/cjs/components/DocumentViewer/index.js.map +1 -1
- package/dist/cjs/components/DocumentViewer/labels.js +43 -0
- package/dist/cjs/components/DocumentViewer/labels.js.map +1 -0
- package/dist/cjs/components/FileUpload/FileUpload.js +32 -21
- package/dist/cjs/components/FileUpload/FileUpload.js.map +1 -1
- package/dist/cjs/components/FileUpload/FileUploadItem.js +12 -11
- package/dist/cjs/components/FileUpload/FileUploadItem.js.map +1 -1
- package/dist/cjs/components/FileUpload/index.js.map +1 -1
- package/dist/cjs/components/ListItem/ListItem.css +19 -0
- package/dist/cjs/components/ListItem/ListItem.js +3 -3
- package/dist/cjs/components/ListItem/ListItem.js.map +1 -1
- package/dist/cjs/components/PhotoUploader/PhotoUploader.js +65 -13
- package/dist/cjs/components/PhotoUploader/PhotoUploader.js.map +1 -1
- package/dist/cjs/components/PhotoUploader/index.js.map +1 -1
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/cjs/utils/formatBytes.js +13 -0
- package/dist/cjs/utils/formatBytes.js.map +1 -0
- package/dist/esm/components/BadgeNumber/BadgeNumber.css +8 -0
- package/dist/esm/components/BadgeNumber/BadgeNumber.js +3 -3
- package/dist/esm/components/BadgeNumber/BadgeNumber.js.map +1 -1
- package/dist/esm/components/BottomBar/BottomBar.css +10 -0
- package/dist/esm/components/BottomBar/BottomBar.js +4 -2
- package/dist/esm/components/BottomBar/BottomBar.js.map +1 -1
- package/dist/esm/components/DocumentViewer/DocumentCanvas.js +12 -10
- package/dist/esm/components/DocumentViewer/DocumentCanvas.js.map +1 -1
- package/dist/esm/components/DocumentViewer/DocumentThumbnails.js +6 -4
- package/dist/esm/components/DocumentViewer/DocumentThumbnails.js.map +1 -1
- package/dist/esm/components/DocumentViewer/DocumentToolbar.js +5 -3
- package/dist/esm/components/DocumentViewer/DocumentToolbar.js.map +1 -1
- package/dist/esm/components/DocumentViewer/DocumentViewer.js +5 -3
- package/dist/esm/components/DocumentViewer/DocumentViewer.js.map +1 -1
- package/dist/esm/components/DocumentViewer/index.js.map +1 -1
- package/dist/esm/components/DocumentViewer/labels.js +39 -0
- package/dist/esm/components/DocumentViewer/labels.js.map +1 -0
- package/dist/esm/components/FileUpload/FileUpload.js +34 -23
- package/dist/esm/components/FileUpload/FileUpload.js.map +1 -1
- package/dist/esm/components/FileUpload/FileUploadItem.js +11 -10
- package/dist/esm/components/FileUpload/FileUploadItem.js.map +1 -1
- package/dist/esm/components/FileUpload/index.js.map +1 -1
- package/dist/esm/components/ListItem/ListItem.css +19 -0
- package/dist/esm/components/ListItem/ListItem.js +3 -3
- package/dist/esm/components/ListItem/ListItem.js.map +1 -1
- package/dist/esm/components/PhotoUploader/PhotoUploader.js +66 -14
- package/dist/esm/components/PhotoUploader/PhotoUploader.js.map +1 -1
- package/dist/esm/components/PhotoUploader/index.js.map +1 -1
- package/dist/esm/components/index.js +1 -1
- package/dist/esm/components/index.js.map +1 -1
- package/dist/esm/utils/formatBytes.js +10 -0
- package/dist/esm/utils/formatBytes.js.map +1 -0
- package/dist/styles/components/BadgeNumber.css +8 -0
- package/dist/styles/components/BottomBar.css +10 -0
- package/dist/styles/components/ListItem.css +19 -0
- package/dist/styles/index.css +912 -875
- package/dist/styles/muka-dark.css +912 -875
- package/dist/styles/muka-light.css +912 -875
- package/dist/styles/wireframe-dark.css +912 -875
- package/dist/styles/wireframe-light.css +912 -875
- package/dist/types/components/BadgeNumber/BadgeNumber.d.ts +7 -1
- package/dist/types/components/BadgeNumber/BadgeNumber.d.ts.map +1 -1
- package/dist/types/components/BottomBar/BottomBar.d.ts +7 -0
- package/dist/types/components/BottomBar/BottomBar.d.ts.map +1 -1
- package/dist/types/components/DocumentViewer/DocumentCanvas.d.ts +3 -0
- package/dist/types/components/DocumentViewer/DocumentCanvas.d.ts.map +1 -1
- package/dist/types/components/DocumentViewer/DocumentThumbnails.d.ts +3 -0
- package/dist/types/components/DocumentViewer/DocumentThumbnails.d.ts.map +1 -1
- package/dist/types/components/DocumentViewer/DocumentToolbar.d.ts +3 -0
- package/dist/types/components/DocumentViewer/DocumentToolbar.d.ts.map +1 -1
- package/dist/types/components/DocumentViewer/DocumentViewer.d.ts +3 -0
- package/dist/types/components/DocumentViewer/DocumentViewer.d.ts.map +1 -1
- package/dist/types/components/DocumentViewer/index.d.ts +1 -0
- package/dist/types/components/DocumentViewer/index.d.ts.map +1 -1
- package/dist/types/components/DocumentViewer/labels.d.ts +57 -0
- package/dist/types/components/DocumentViewer/labels.d.ts.map +1 -0
- package/dist/types/components/FileUpload/FileUpload.d.ts +46 -6
- package/dist/types/components/FileUpload/FileUpload.d.ts.map +1 -1
- package/dist/types/components/FileUpload/FileUploadItem.d.ts +19 -0
- package/dist/types/components/FileUpload/FileUploadItem.d.ts.map +1 -1
- package/dist/types/components/FileUpload/index.d.ts +1 -1
- package/dist/types/components/FileUpload/index.d.ts.map +1 -1
- package/dist/types/components/ListItem/ListItem.d.ts +8 -1
- package/dist/types/components/ListItem/ListItem.d.ts.map +1 -1
- package/dist/types/components/PhotoUploader/PhotoUploader.d.ts +55 -9
- package/dist/types/components/PhotoUploader/PhotoUploader.d.ts.map +1 -1
- package/dist/types/components/PhotoUploader/index.d.ts +1 -1
- package/dist/types/components/PhotoUploader/index.d.ts.map +1 -1
- package/dist/types/components/index.d.ts +3 -3
- package/dist/types/components/index.d.ts.map +1 -1
- package/dist/types/utils/formatBytes.d.ts +3 -0
- package/dist/types/utils/formatBytes.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/styles/index.css
CHANGED
|
@@ -3609,795 +3609,795 @@ body {
|
|
|
3609
3609
|
}
|
|
3610
3610
|
|
|
3611
3611
|
|
|
3612
|
-
/*
|
|
3613
|
-
/*
|
|
3612
|
+
/* Tile */
|
|
3613
|
+
/* Tile Component Styles - Using Muka Design Tokens */
|
|
3614
3614
|
|
|
3615
|
-
|
|
3616
|
-
position: relative;
|
|
3617
|
-
flex-shrink: 0;
|
|
3618
|
-
}
|
|
3615
|
+
/* ─── Base ────────────────────────────────────────────── */
|
|
3619
3616
|
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
.muka-thumbnail__frame {
|
|
3624
|
-
position: absolute;
|
|
3625
|
-
inset: 0;
|
|
3626
|
-
overflow: hidden;
|
|
3627
|
-
border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
|
|
3628
|
-
border-radius: var(--border-radius-lg);
|
|
3629
|
-
background-color: var(--color-surface-level1);
|
|
3617
|
+
.muka-tile {
|
|
3618
|
+
display: flex;
|
|
3619
|
+
color: var(--color-text-default-default);
|
|
3630
3620
|
}
|
|
3631
3621
|
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
height: 120px;
|
|
3622
|
+
.muka-tile--interactive {
|
|
3623
|
+
cursor: pointer;
|
|
3624
|
+
user-select: none;
|
|
3636
3625
|
}
|
|
3637
3626
|
|
|
3638
|
-
.muka-
|
|
3639
|
-
|
|
3640
|
-
|
|
3627
|
+
.muka-tile--interactive:focus-visible {
|
|
3628
|
+
outline: 2px solid var(--color-border-focus);
|
|
3629
|
+
outline-offset: 2px;
|
|
3630
|
+
border-radius: var(--border-radius-lg);
|
|
3641
3631
|
}
|
|
3642
3632
|
|
|
3643
|
-
|
|
3644
|
-
width: 120px;
|
|
3645
|
-
height: 120px;
|
|
3646
|
-
}
|
|
3633
|
+
/* ─── Image position variants ─────────────────────────── */
|
|
3647
3634
|
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
width: 100%;
|
|
3651
|
-
height: auto;
|
|
3652
|
-
aspect-ratio: 1 / 1;
|
|
3635
|
+
.muka-tile--image-top {
|
|
3636
|
+
flex-direction: column;
|
|
3653
3637
|
}
|
|
3654
3638
|
|
|
3655
|
-
.muka-
|
|
3656
|
-
|
|
3639
|
+
.muka-tile--image-left {
|
|
3640
|
+
flex-direction: row;
|
|
3657
3641
|
}
|
|
3658
3642
|
|
|
3659
|
-
.muka-
|
|
3660
|
-
|
|
3643
|
+
.muka-tile--image-right {
|
|
3644
|
+
flex-direction: row;
|
|
3661
3645
|
}
|
|
3662
3646
|
|
|
3663
|
-
/*
|
|
3664
|
-
interactive hover zoom has a clean origin. */
|
|
3665
|
-
.muka-thumbnail__image {
|
|
3666
|
-
position: absolute;
|
|
3667
|
-
inset: 0;
|
|
3668
|
-
width: 100%;
|
|
3669
|
-
height: 100%;
|
|
3670
|
-
object-fit: cover;
|
|
3671
|
-
display: block;
|
|
3672
|
-
transform-origin: center;
|
|
3673
|
-
/* Micro-interaction: hover zoom eases out over the "micro" duration. */
|
|
3674
|
-
transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
|
|
3675
|
-
}
|
|
3647
|
+
/* ─── Gap by size (top) ───────────────────────────────── */
|
|
3676
3648
|
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
position: absolute;
|
|
3680
|
-
inset: 0;
|
|
3681
|
-
padding: 0;
|
|
3682
|
-
border: 0;
|
|
3683
|
-
background: none;
|
|
3684
|
-
cursor: pointer;
|
|
3685
|
-
overflow: hidden;
|
|
3649
|
+
.muka-tile--image-top.muka-tile--lg {
|
|
3650
|
+
gap: var(--spacing-6);
|
|
3686
3651
|
}
|
|
3687
3652
|
|
|
3688
|
-
.muka-
|
|
3689
|
-
|
|
3690
|
-
|
|
3653
|
+
.muka-tile--image-top.muka-tile--md {
|
|
3654
|
+
gap: var(--spacing-6);
|
|
3655
|
+
width: 320px;
|
|
3691
3656
|
}
|
|
3692
3657
|
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3658
|
+
.muka-tile--image-top.muka-tile--sm {
|
|
3659
|
+
gap: var(--spacing-4);
|
|
3660
|
+
min-width: 120px;
|
|
3696
3661
|
}
|
|
3697
3662
|
|
|
3698
|
-
/* ───
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3663
|
+
/* ─── Gap by size (left/right) ────────────────────────── */
|
|
3664
|
+
|
|
3665
|
+
.muka-tile--image-left.muka-tile--lg,
|
|
3666
|
+
.muka-tile--image-right.muka-tile--lg {
|
|
3667
|
+
gap: var(--spacing-6);
|
|
3703
3668
|
align-items: center;
|
|
3704
|
-
justify-content: center;
|
|
3705
|
-
background-color: var(--dialog-color-backdrop);
|
|
3706
3669
|
}
|
|
3707
3670
|
|
|
3708
|
-
.muka-
|
|
3709
|
-
|
|
3710
|
-
|
|
3671
|
+
.muka-tile--image-left.muka-tile--md,
|
|
3672
|
+
.muka-tile--image-right.muka-tile--md {
|
|
3673
|
+
gap: var(--spacing-6);
|
|
3674
|
+
align-items: center;
|
|
3711
3675
|
}
|
|
3712
3676
|
|
|
3713
|
-
|
|
3714
|
-
.muka-
|
|
3715
|
-
|
|
3716
|
-
|
|
3677
|
+
.muka-tile--image-left.muka-tile--sm,
|
|
3678
|
+
.muka-tile--image-right.muka-tile--sm {
|
|
3679
|
+
gap: var(--spacing-4);
|
|
3680
|
+
align-items: flex-start;
|
|
3717
3681
|
}
|
|
3718
3682
|
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3683
|
+
/* ─── Photos container ────────────────────────────────── */
|
|
3684
|
+
|
|
3685
|
+
.muka-tile__photos {
|
|
3686
|
+
position: relative;
|
|
3687
|
+
flex-shrink: 0;
|
|
3688
|
+
overflow: hidden;
|
|
3722
3689
|
display: flex;
|
|
3723
3690
|
flex-direction: column;
|
|
3724
|
-
|
|
3725
|
-
justify-content: center;
|
|
3726
|
-
gap: var(--spacing-2);
|
|
3727
|
-
padding: var(--spacing-3);
|
|
3728
|
-
text-align: center;
|
|
3691
|
+
isolation: isolate;
|
|
3729
3692
|
}
|
|
3730
3693
|
|
|
3731
|
-
|
|
3732
|
-
|
|
3694
|
+
/* Photos border radius by size */
|
|
3695
|
+
.muka-tile--lg .muka-tile__photos,
|
|
3696
|
+
.muka-tile--md .muka-tile__photos {
|
|
3697
|
+
border-radius: var(--border-radius-lg);
|
|
3733
3698
|
}
|
|
3734
3699
|
|
|
3735
|
-
.muka-
|
|
3736
|
-
|
|
3737
|
-
overflow: hidden;
|
|
3738
|
-
text-overflow: ellipsis;
|
|
3739
|
-
white-space: nowrap;
|
|
3740
|
-
color: var(--alert-color-error-accent);
|
|
3741
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
3742
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
3743
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
3744
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
3700
|
+
.muka-tile--sm .muka-tile__photos {
|
|
3701
|
+
border-radius: var(--border-radius-md);
|
|
3745
3702
|
}
|
|
3746
3703
|
|
|
3747
|
-
/*
|
|
3748
|
-
.muka-
|
|
3749
|
-
|
|
3750
|
-
top: var(--spacing-2);
|
|
3751
|
-
right: var(--spacing-2);
|
|
3752
|
-
display: flex;
|
|
3753
|
-
align-items: center;
|
|
3754
|
-
justify-content: center;
|
|
3755
|
-
width: var(--size-2xl);
|
|
3756
|
-
height: var(--size-2xl);
|
|
3757
|
-
padding: 0;
|
|
3758
|
-
color: var(--button-color-tertiary-foreground-default);
|
|
3759
|
-
background-color: var(--button-color-tertiary-background-default);
|
|
3760
|
-
border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
|
|
3761
|
-
border-radius: var(--border-radius-lg);
|
|
3762
|
-
cursor: pointer;
|
|
3763
|
-
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
3764
|
-
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
3704
|
+
/* Photos sizing: top layout */
|
|
3705
|
+
.muka-tile--image-top .muka-tile__photos {
|
|
3706
|
+
width: 100%;
|
|
3765
3707
|
}
|
|
3766
3708
|
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3709
|
+
/* Photos sizing: left/right large */
|
|
3710
|
+
.muka-tile--image-left.muka-tile--lg .muka-tile__photos,
|
|
3711
|
+
.muka-tile--image-right.muka-tile--lg .muka-tile__photos {
|
|
3712
|
+
width: 520px;
|
|
3771
3713
|
}
|
|
3772
3714
|
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3715
|
+
/* Photos sizing: left/right medium */
|
|
3716
|
+
.muka-tile--image-left.muka-tile--md .muka-tile__photos,
|
|
3717
|
+
.muka-tile--image-right.muka-tile--md .muka-tile__photos {
|
|
3718
|
+
width: 320px;
|
|
3777
3719
|
}
|
|
3778
3720
|
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
|
|
3721
|
+
/* Photos sizing: left/right small (single 80x80 thumbnail) */
|
|
3722
|
+
.muka-tile--image-left.muka-tile--sm .muka-tile__photos,
|
|
3723
|
+
.muka-tile--image-right.muka-tile--sm .muka-tile__photos {
|
|
3724
|
+
width: 80px;
|
|
3725
|
+
align-self: stretch;
|
|
3782
3726
|
}
|
|
3783
3727
|
|
|
3784
|
-
/* ───
|
|
3785
|
-
@media (prefers-reduced-motion: reduce) {
|
|
3786
|
-
.muka-thumbnail__image,
|
|
3787
|
-
.muka-thumbnail__remove {
|
|
3788
|
-
transition: none;
|
|
3789
|
-
}
|
|
3728
|
+
/* ─── Main photo ──────────────────────────────────────── */
|
|
3790
3729
|
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
|
|
3730
|
+
.muka-tile__photo-main {
|
|
3731
|
+
position: relative;
|
|
3732
|
+
width: 100%;
|
|
3733
|
+
overflow: hidden;
|
|
3734
|
+
flex-shrink: 0;
|
|
3794
3735
|
}
|
|
3795
3736
|
|
|
3737
|
+
/* 16:9 aspect for lg and md */
|
|
3738
|
+
.muka-tile--lg .muka-tile__photo-main,
|
|
3739
|
+
.muka-tile--md .muka-tile__photo-main {
|
|
3740
|
+
aspect-ratio: 1280 / 720;
|
|
3741
|
+
}
|
|
3796
3742
|
|
|
3797
|
-
/*
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
.muka-textarea {
|
|
3801
|
-
display: inline-flex;
|
|
3802
|
-
flex-direction: column;
|
|
3803
|
-
gap: var(--spacing-2);
|
|
3743
|
+
/* 1:1 aspect for top + sm */
|
|
3744
|
+
.muka-tile--image-top.muka-tile--sm .muka-tile__photo-main {
|
|
3745
|
+
aspect-ratio: 1 / 1;
|
|
3804
3746
|
}
|
|
3805
3747
|
|
|
3806
|
-
/*
|
|
3807
|
-
.muka-
|
|
3808
|
-
|
|
3809
|
-
|
|
3748
|
+
/* Fixed size for left/right + sm */
|
|
3749
|
+
.muka-tile--image-left.muka-tile--sm .muka-tile__photo-main,
|
|
3750
|
+
.muka-tile--image-right.muka-tile--sm .muka-tile__photo-main {
|
|
3751
|
+
width: 80px;
|
|
3752
|
+
height: 80px;
|
|
3753
|
+
aspect-ratio: auto;
|
|
3810
3754
|
}
|
|
3811
3755
|
|
|
3812
|
-
.muka-
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3756
|
+
.muka-tile__photo-main img {
|
|
3757
|
+
width: 100%;
|
|
3758
|
+
height: 100%;
|
|
3759
|
+
object-fit: cover;
|
|
3760
|
+
display: block;
|
|
3817
3761
|
}
|
|
3818
3762
|
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3763
|
+
/* ─── Favourite overlay ───────────────────────────────── */
|
|
3764
|
+
|
|
3765
|
+
.muka-tile__favourite {
|
|
3766
|
+
position: absolute;
|
|
3767
|
+
z-index: 3;
|
|
3824
3768
|
}
|
|
3825
3769
|
|
|
3826
|
-
.muka-
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
3770
|
+
.muka-tile--lg .muka-tile__favourite,
|
|
3771
|
+
.muka-tile--md .muka-tile__favourite {
|
|
3772
|
+
top: var(--spacing-4);
|
|
3773
|
+
right: var(--spacing-4);
|
|
3831
3774
|
}
|
|
3832
3775
|
|
|
3833
|
-
.muka-
|
|
3834
|
-
|
|
3776
|
+
.muka-tile--image-top.muka-tile--sm .muka-tile__favourite {
|
|
3777
|
+
top: var(--spacing-1);
|
|
3778
|
+
right: var(--spacing-1);
|
|
3835
3779
|
}
|
|
3836
3780
|
|
|
3837
|
-
/*
|
|
3838
|
-
|
|
3781
|
+
/* ─── Thumbnails ──────────────────────────────────────── */
|
|
3782
|
+
|
|
3783
|
+
.muka-tile__thumbnails {
|
|
3839
3784
|
display: flex;
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
|
|
3843
|
-
|
|
3844
|
-
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
3845
|
-
box-sizing: border-box;
|
|
3785
|
+
gap: 2px;
|
|
3786
|
+
overflow: hidden;
|
|
3787
|
+
flex-shrink: 0;
|
|
3788
|
+
height: 80px;
|
|
3846
3789
|
}
|
|
3847
3790
|
|
|
3848
|
-
.muka-
|
|
3849
|
-
|
|
3850
|
-
|
|
3791
|
+
.muka-tile__thumbnail {
|
|
3792
|
+
width: 80px;
|
|
3793
|
+
height: 80px;
|
|
3794
|
+
flex-shrink: 0;
|
|
3795
|
+
overflow: hidden;
|
|
3851
3796
|
}
|
|
3852
3797
|
|
|
3853
|
-
.muka-
|
|
3854
|
-
|
|
3855
|
-
|
|
3798
|
+
.muka-tile__thumbnail img {
|
|
3799
|
+
width: 100%;
|
|
3800
|
+
height: 100%;
|
|
3801
|
+
object-fit: cover;
|
|
3802
|
+
display: block;
|
|
3856
3803
|
}
|
|
3857
3804
|
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
|
|
3805
|
+
/* Gap between main photo and thumbnails */
|
|
3806
|
+
.muka-tile__photos > .muka-tile__photo-main + .muka-tile__thumbnails {
|
|
3807
|
+
margin-top: 2px;
|
|
3861
3808
|
}
|
|
3862
3809
|
|
|
3863
|
-
/*
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
|
|
3810
|
+
/* ─── Content section ─────────────────────────────────── */
|
|
3811
|
+
|
|
3812
|
+
.muka-tile__content {
|
|
3813
|
+
display: flex;
|
|
3814
|
+
flex-direction: column;
|
|
3815
|
+
flex: 1;
|
|
3816
|
+
min-width: 0;
|
|
3869
3817
|
}
|
|
3870
3818
|
|
|
3871
|
-
/*
|
|
3872
|
-
.muka-
|
|
3873
|
-
|
|
3874
|
-
|
|
3875
|
-
background-color: var(--input-field-color-error-background);
|
|
3876
|
-
padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
|
|
3819
|
+
/* Top layout: content has horizontal padding */
|
|
3820
|
+
.muka-tile--image-top.muka-tile--lg .muka-tile__content {
|
|
3821
|
+
padding: 0 var(--spacing-3);
|
|
3822
|
+
gap: var(--spacing-1);
|
|
3877
3823
|
}
|
|
3878
3824
|
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
|
|
3882
|
-
border-color: var(--input-field-color-disabled-border);
|
|
3883
|
-
cursor: not-allowed;
|
|
3825
|
+
.muka-tile--image-top.muka-tile--md .muka-tile__content {
|
|
3826
|
+
padding: 0 var(--spacing-3);
|
|
3827
|
+
gap: var(--spacing-2);
|
|
3884
3828
|
}
|
|
3885
3829
|
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
flex: 1;
|
|
3889
|
-
border: none;
|
|
3890
|
-
outline: none;
|
|
3891
|
-
background: transparent;
|
|
3892
|
-
color: var(--input-field-color-default-foreground);
|
|
3893
|
-
font-family: var(--text-input-md-fontFamily);
|
|
3894
|
-
font-weight: var(--text-input-md-fontWeight);
|
|
3895
|
-
font-size: var(--text-input-md-fontSize);
|
|
3896
|
-
line-height: var(--text-input-md-lineHeight);
|
|
3897
|
-
padding: 0;
|
|
3898
|
-
width: 100%;
|
|
3899
|
-
min-width: 0;
|
|
3830
|
+
.muka-tile--image-top.muka-tile--sm .muka-tile__content {
|
|
3831
|
+
gap: var(--spacing-2);
|
|
3900
3832
|
}
|
|
3901
3833
|
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
line-height: var(--text-input-sm-lineHeight);
|
|
3834
|
+
/* Left/right layout: content grows to fill space */
|
|
3835
|
+
.muka-tile--image-left .muka-tile__content,
|
|
3836
|
+
.muka-tile--image-right .muka-tile__content {
|
|
3837
|
+
gap: var(--spacing-3);
|
|
3907
3838
|
}
|
|
3908
3839
|
|
|
3909
|
-
.muka-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
font-size: var(--text-input-lg-fontSize);
|
|
3913
|
-
line-height: var(--text-input-lg-lineHeight);
|
|
3840
|
+
.muka-tile--image-left.muka-tile--lg .muka-tile__content,
|
|
3841
|
+
.muka-tile--image-right.muka-tile--lg .muka-tile__content {
|
|
3842
|
+
padding: 0 var(--spacing-3);
|
|
3914
3843
|
}
|
|
3915
3844
|
|
|
3916
|
-
.muka-
|
|
3917
|
-
|
|
3845
|
+
.muka-tile--image-left.muka-tile--md .muka-tile__content,
|
|
3846
|
+
.muka-tile--image-right.muka-tile--md .muka-tile__content {
|
|
3847
|
+
padding: var(--spacing-2) var(--spacing-3);
|
|
3918
3848
|
}
|
|
3919
3849
|
|
|
3920
|
-
.muka-
|
|
3921
|
-
|
|
3922
|
-
|
|
3850
|
+
.muka-tile--image-left.muka-tile--sm .muka-tile__content,
|
|
3851
|
+
.muka-tile--image-right.muka-tile--sm .muka-tile__content {
|
|
3852
|
+
gap: var(--spacing-2);
|
|
3923
3853
|
}
|
|
3924
3854
|
|
|
3925
|
-
/*
|
|
3926
|
-
|
|
3855
|
+
/* ─── Header (heading row + price) ────────────────────── */
|
|
3856
|
+
|
|
3857
|
+
.muka-tile__header {
|
|
3927
3858
|
display: flex;
|
|
3928
|
-
justify-content: space-between;
|
|
3929
3859
|
align-items: flex-start;
|
|
3930
|
-
gap: var(--spacing-
|
|
3860
|
+
gap: var(--spacing-4);
|
|
3931
3861
|
}
|
|
3932
3862
|
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
color: var(--color-text-subtle-default);
|
|
3939
|
-
margin: 0;
|
|
3863
|
+
/* Small horizontal: row with text and action */
|
|
3864
|
+
.muka-tile--sm:not(.muka-tile--image-top) .muka-tile__header {
|
|
3865
|
+
gap: var(--spacing-2);
|
|
3866
|
+
align-items: center;
|
|
3867
|
+
padding-top: var(--spacing-1);
|
|
3940
3868
|
}
|
|
3941
3869
|
|
|
3942
|
-
|
|
3943
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
3944
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
3945
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
3946
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
3947
|
-
color: var(--color-state-error-default);
|
|
3948
|
-
margin: 0;
|
|
3949
|
-
}
|
|
3870
|
+
/* ─── Text group ──────────────────────────────────────── */
|
|
3950
3871
|
|
|
3951
|
-
.muka-
|
|
3952
|
-
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
margin-left: auto;
|
|
3872
|
+
.muka-tile__text {
|
|
3873
|
+
display: flex;
|
|
3874
|
+
flex-direction: column;
|
|
3875
|
+
flex: 1;
|
|
3876
|
+
min-width: 0;
|
|
3877
|
+
gap: var(--spacing-2);
|
|
3958
3878
|
}
|
|
3959
3879
|
|
|
3880
|
+
/* ─── Heading typography ──────────────────────────────── */
|
|
3960
3881
|
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
.muka-text-link {
|
|
3965
|
-
display: inline;
|
|
3966
|
-
cursor: pointer;
|
|
3967
|
-
text-decoration: underline;
|
|
3968
|
-
/* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
|
|
3969
|
-
text-underline-offset: 0.2em;
|
|
3970
|
-
text-decoration-thickness: from-font;
|
|
3971
|
-
/* Rounds the focus ring's corners; the link itself has no visible box. */
|
|
3972
|
-
border-radius: var(--border-radius-sm);
|
|
3973
|
-
transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
|
|
3882
|
+
.muka-tile__heading {
|
|
3883
|
+
margin: 0;
|
|
3974
3884
|
}
|
|
3975
3885
|
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
font-
|
|
3980
|
-
|
|
3981
|
-
|
|
3982
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
3886
|
+
.muka-tile--lg .muka-tile__heading {
|
|
3887
|
+
font-family: var(--text-label-2xl-semibold-fontFamily);
|
|
3888
|
+
font-weight: var(--text-label-2xl-semibold-fontWeight);
|
|
3889
|
+
font-size: var(--text-label-2xl-semibold-fontSize);
|
|
3890
|
+
line-height: var(--text-label-2xl-semibold-lineHeight);
|
|
3891
|
+
color: var(--color-text-default-default);
|
|
3983
3892
|
}
|
|
3984
3893
|
|
|
3985
|
-
.muka-
|
|
3986
|
-
font-family: var(--text-
|
|
3987
|
-
font-weight: var(--text-
|
|
3988
|
-
font-size: var(--text-
|
|
3989
|
-
line-height: var(--text-
|
|
3894
|
+
.muka-tile--md .muka-tile__heading {
|
|
3895
|
+
font-family: var(--text-label-xl-semibold-fontFamily);
|
|
3896
|
+
font-weight: var(--text-label-xl-semibold-fontWeight);
|
|
3897
|
+
font-size: var(--text-label-xl-semibold-fontSize);
|
|
3898
|
+
line-height: var(--text-label-xl-semibold-lineHeight);
|
|
3899
|
+
color: var(--color-text-default-default);
|
|
3990
3900
|
}
|
|
3991
3901
|
|
|
3992
|
-
.muka-
|
|
3993
|
-
font-family: var(--text-
|
|
3994
|
-
font-weight: var(--text-
|
|
3995
|
-
font-size: var(--text-
|
|
3996
|
-
line-height: var(--text-
|
|
3902
|
+
.muka-tile--sm .muka-tile__heading {
|
|
3903
|
+
font-family: var(--text-label-lg-bold-fontFamily);
|
|
3904
|
+
font-weight: var(--text-label-lg-bold-fontWeight);
|
|
3905
|
+
font-size: var(--text-label-lg-bold-fontSize);
|
|
3906
|
+
line-height: var(--text-label-lg-bold-lineHeight);
|
|
3907
|
+
color: var(--color-text-default-default);
|
|
3997
3908
|
}
|
|
3998
3909
|
|
|
3999
|
-
/* ───
|
|
4000
|
-
Visited repeats the default colour on purpose: the design treats visited and
|
|
4001
|
-
default the same, and pinning it stops the browser's purple from showing. */
|
|
4002
|
-
.muka-text-link--default,
|
|
4003
|
-
.muka-text-link--default:visited {
|
|
4004
|
-
color: var(--color-text-action-default);
|
|
4005
|
-
}
|
|
3910
|
+
/* ─── Subheading typography ───────────────────────────── */
|
|
4006
3911
|
|
|
4007
|
-
.muka-
|
|
4008
|
-
|
|
4009
|
-
color: var(--color-text-
|
|
3912
|
+
.muka-tile__subheading {
|
|
3913
|
+
margin: 0;
|
|
3914
|
+
color: var(--color-text-subtle-default);
|
|
4010
3915
|
}
|
|
4011
3916
|
|
|
4012
|
-
.muka-
|
|
4013
|
-
|
|
3917
|
+
.muka-tile--lg .muka-tile__subheading {
|
|
3918
|
+
font-family: var(--text-subheading-md-fontFamily);
|
|
3919
|
+
font-weight: var(--text-subheading-md-fontWeight);
|
|
3920
|
+
font-size: var(--text-subheading-md-fontSize);
|
|
3921
|
+
line-height: var(--text-subheading-md-lineHeight);
|
|
4014
3922
|
}
|
|
4015
3923
|
|
|
4016
|
-
|
|
4017
|
-
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
|
|
3924
|
+
.muka-tile--md .muka-tile__subheading,
|
|
3925
|
+
.muka-tile--sm .muka-tile__subheading {
|
|
3926
|
+
font-family: var(--text-subheading-sm-fontFamily);
|
|
3927
|
+
font-weight: var(--text-subheading-sm-fontWeight);
|
|
3928
|
+
font-size: var(--text-subheading-sm-fontSize);
|
|
3929
|
+
line-height: var(--text-subheading-sm-lineHeight);
|
|
4021
3930
|
}
|
|
4022
3931
|
|
|
4023
|
-
|
|
4024
|
-
|
|
4025
|
-
.muka-
|
|
3932
|
+
/* ─── Description typography ──────────────────────────── */
|
|
3933
|
+
|
|
3934
|
+
.muka-tile__description {
|
|
3935
|
+
margin: 0;
|
|
4026
3936
|
color: var(--color-text-default-default);
|
|
4027
3937
|
}
|
|
4028
3938
|
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
|
|
3939
|
+
.muka-tile--lg .muka-tile__description {
|
|
3940
|
+
font-family: var(--text-body-lg-regular-fontFamily);
|
|
3941
|
+
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
3942
|
+
font-size: var(--text-body-lg-regular-fontSize);
|
|
3943
|
+
line-height: var(--text-body-lg-regular-lineHeight);
|
|
4034
3944
|
}
|
|
4035
3945
|
|
|
4036
|
-
|
|
4037
|
-
|
|
4038
|
-
|
|
4039
|
-
|
|
3946
|
+
.muka-tile--md .muka-tile__description,
|
|
3947
|
+
.muka-tile--sm .muka-tile__description {
|
|
3948
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
3949
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
3950
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
3951
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
4040
3952
|
}
|
|
4041
3953
|
|
|
3954
|
+
/* Description overflow for medium */
|
|
3955
|
+
.muka-tile--md .muka-tile__description {
|
|
3956
|
+
overflow: hidden;
|
|
3957
|
+
text-overflow: ellipsis;
|
|
3958
|
+
}
|
|
4042
3959
|
|
|
4043
|
-
/*
|
|
4044
|
-
/* Tile Component Styles - Using Muka Design Tokens */
|
|
4045
|
-
|
|
4046
|
-
/* ─── Base ────────────────────────────────────────────── */
|
|
3960
|
+
/* ─── Price slot ──────────────────────────────────────── */
|
|
4047
3961
|
|
|
4048
|
-
.muka-
|
|
4049
|
-
|
|
4050
|
-
color: var(--color-text-default-default);
|
|
3962
|
+
.muka-tile__price {
|
|
3963
|
+
flex-shrink: 0;
|
|
4051
3964
|
}
|
|
4052
3965
|
|
|
4053
|
-
|
|
4054
|
-
cursor: pointer;
|
|
4055
|
-
user-select: none;
|
|
4056
|
-
}
|
|
3966
|
+
/* ─── Action slot ─────────────────────────────────────── */
|
|
4057
3967
|
|
|
4058
|
-
.muka-
|
|
4059
|
-
|
|
4060
|
-
outline-offset: 2px;
|
|
4061
|
-
border-radius: var(--border-radius-lg);
|
|
3968
|
+
.muka-tile__action {
|
|
3969
|
+
flex-shrink: 0;
|
|
4062
3970
|
}
|
|
4063
3971
|
|
|
4064
|
-
/* ─── Image position variants ─────────────────────────── */
|
|
4065
3972
|
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
}
|
|
3973
|
+
/* Thumbnail */
|
|
3974
|
+
/* Thumbnail Component Styles - Using Muka Design Tokens */
|
|
4069
3975
|
|
|
4070
|
-
.muka-
|
|
4071
|
-
|
|
3976
|
+
.muka-thumbnail {
|
|
3977
|
+
position: relative;
|
|
3978
|
+
flex-shrink: 0;
|
|
4072
3979
|
}
|
|
4073
3980
|
|
|
4074
|
-
.
|
|
4075
|
-
|
|
3981
|
+
/* The frame carries the border, background and shape clip. Keeping it separate
|
|
3982
|
+
from the root lets the remove (×) button sit outside the clip (needed for the
|
|
3983
|
+
circular/ellipse shape, whose corners would otherwise clip the button). */
|
|
3984
|
+
.muka-thumbnail__frame {
|
|
3985
|
+
position: absolute;
|
|
3986
|
+
inset: 0;
|
|
3987
|
+
overflow: hidden;
|
|
3988
|
+
border: var(--border-width-regular, 1px) solid var(--color-black-alpha-3);
|
|
3989
|
+
border-radius: var(--border-radius-lg);
|
|
3990
|
+
background-color: var(--color-surface-level1);
|
|
4076
3991
|
}
|
|
4077
3992
|
|
|
4078
|
-
/* ───
|
|
4079
|
-
|
|
4080
|
-
|
|
4081
|
-
|
|
3993
|
+
/* ─── Shapes ──────────────────────────────────────────── */
|
|
3994
|
+
.muka-thumbnail--4-3 {
|
|
3995
|
+
width: 160px;
|
|
3996
|
+
height: 120px;
|
|
4082
3997
|
}
|
|
4083
3998
|
|
|
4084
|
-
.muka-
|
|
4085
|
-
|
|
4086
|
-
|
|
3999
|
+
.muka-thumbnail--1-1 {
|
|
4000
|
+
width: 120px;
|
|
4001
|
+
height: 120px;
|
|
4087
4002
|
}
|
|
4088
4003
|
|
|
4089
|
-
.muka-
|
|
4090
|
-
|
|
4091
|
-
|
|
4004
|
+
.muka-thumbnail--ellipse {
|
|
4005
|
+
width: 120px;
|
|
4006
|
+
height: 120px;
|
|
4092
4007
|
}
|
|
4093
4008
|
|
|
4094
|
-
/*
|
|
4095
|
-
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
|
|
4099
|
-
align-items: center;
|
|
4009
|
+
/* Fluid: fill the parent's width; the shape sets the height via aspect-ratio. */
|
|
4010
|
+
.muka-thumbnail--fluid {
|
|
4011
|
+
width: 100%;
|
|
4012
|
+
height: auto;
|
|
4013
|
+
aspect-ratio: 1 / 1;
|
|
4100
4014
|
}
|
|
4101
4015
|
|
|
4102
|
-
.muka-
|
|
4103
|
-
|
|
4104
|
-
gap: var(--spacing-6);
|
|
4105
|
-
align-items: center;
|
|
4016
|
+
.muka-thumbnail--fluid.muka-thumbnail--4-3 {
|
|
4017
|
+
aspect-ratio: 4 / 3;
|
|
4106
4018
|
}
|
|
4107
4019
|
|
|
4108
|
-
.muka-
|
|
4109
|
-
|
|
4110
|
-
gap: var(--spacing-4);
|
|
4111
|
-
align-items: flex-start;
|
|
4020
|
+
.muka-thumbnail--ellipse .muka-thumbnail__frame {
|
|
4021
|
+
border-radius: var(--border-radius-full);
|
|
4112
4022
|
}
|
|
4113
4023
|
|
|
4114
|
-
/*
|
|
4024
|
+
/* Image fills the frame, cropped to cover. Sits at scale(1) by default so the
|
|
4025
|
+
interactive hover zoom has a clean origin. */
|
|
4026
|
+
.muka-thumbnail__image {
|
|
4027
|
+
position: absolute;
|
|
4028
|
+
inset: 0;
|
|
4029
|
+
width: 100%;
|
|
4030
|
+
height: 100%;
|
|
4031
|
+
object-fit: cover;
|
|
4032
|
+
display: block;
|
|
4033
|
+
transform-origin: center;
|
|
4034
|
+
/* Micro-interaction: hover zoom eases out over the "micro" duration. */
|
|
4035
|
+
transition: transform var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4036
|
+
}
|
|
4115
4037
|
|
|
4116
|
-
|
|
4117
|
-
|
|
4118
|
-
|
|
4038
|
+
/* ─── Interactive (click-to-enlarge) ──────────────────── */
|
|
4039
|
+
.muka-thumbnail__trigger {
|
|
4040
|
+
position: absolute;
|
|
4041
|
+
inset: 0;
|
|
4042
|
+
padding: 0;
|
|
4043
|
+
border: 0;
|
|
4044
|
+
background: none;
|
|
4045
|
+
cursor: pointer;
|
|
4119
4046
|
overflow: hidden;
|
|
4120
|
-
display: flex;
|
|
4121
|
-
flex-direction: column;
|
|
4122
|
-
isolation: isolate;
|
|
4123
4047
|
}
|
|
4124
4048
|
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
border-radius: var(--border-radius-lg);
|
|
4049
|
+
.muka-thumbnail__trigger:focus-visible {
|
|
4050
|
+
outline: 2px solid var(--color-border-focus);
|
|
4051
|
+
outline-offset: -2px;
|
|
4129
4052
|
}
|
|
4130
4053
|
|
|
4131
|
-
|
|
4132
|
-
|
|
4054
|
+
/* On hover the image scales up ~8px (160px → 168px) with an ease-out feel. */
|
|
4055
|
+
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
4056
|
+
transform: scale(1.05);
|
|
4133
4057
|
}
|
|
4134
4058
|
|
|
4135
|
-
/*
|
|
4136
|
-
.muka-
|
|
4137
|
-
|
|
4059
|
+
/* ─── Loading overlay + progress donut ────────────────── */
|
|
4060
|
+
.muka-thumbnail__overlay {
|
|
4061
|
+
position: absolute;
|
|
4062
|
+
inset: 0;
|
|
4063
|
+
display: flex;
|
|
4064
|
+
align-items: center;
|
|
4065
|
+
justify-content: center;
|
|
4066
|
+
background-color: var(--dialog-color-backdrop);
|
|
4138
4067
|
}
|
|
4139
4068
|
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
width: 520px;
|
|
4069
|
+
.muka-thumbnail__progress {
|
|
4070
|
+
width: 40px;
|
|
4071
|
+
height: 40px;
|
|
4144
4072
|
}
|
|
4145
4073
|
|
|
4146
|
-
/*
|
|
4147
|
-
.muka-
|
|
4148
|
-
|
|
4149
|
-
|
|
4074
|
+
/* ─── Error / corrupt state ───────────────────────────── */
|
|
4075
|
+
.muka-thumbnail--error .muka-thumbnail__frame {
|
|
4076
|
+
background-color: var(--alias-color-state-error-muted);
|
|
4077
|
+
border-color: var(--alias-color-state-error-default);
|
|
4150
4078
|
}
|
|
4151
4079
|
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
|
|
4080
|
+
.muka-thumbnail__error {
|
|
4081
|
+
position: absolute;
|
|
4082
|
+
inset: 0;
|
|
4083
|
+
display: flex;
|
|
4084
|
+
flex-direction: column;
|
|
4085
|
+
align-items: center;
|
|
4086
|
+
justify-content: center;
|
|
4087
|
+
gap: var(--spacing-2);
|
|
4088
|
+
padding: var(--spacing-3);
|
|
4089
|
+
text-align: center;
|
|
4157
4090
|
}
|
|
4158
4091
|
|
|
4159
|
-
|
|
4160
|
-
|
|
4161
|
-
.muka-tile__photo-main {
|
|
4162
|
-
position: relative;
|
|
4163
|
-
width: 100%;
|
|
4164
|
-
overflow: hidden;
|
|
4165
|
-
flex-shrink: 0;
|
|
4092
|
+
.muka-thumbnail__error-icon {
|
|
4093
|
+
color: var(--alert-color-error-accent);
|
|
4166
4094
|
}
|
|
4167
4095
|
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
|
|
4096
|
+
.muka-thumbnail__caption {
|
|
4097
|
+
max-width: 100%;
|
|
4098
|
+
overflow: hidden;
|
|
4099
|
+
text-overflow: ellipsis;
|
|
4100
|
+
white-space: nowrap;
|
|
4101
|
+
color: var(--alert-color-error-accent);
|
|
4102
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
4103
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
4104
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
4105
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
4172
4106
|
}
|
|
4173
4107
|
|
|
4174
|
-
/*
|
|
4175
|
-
.muka-
|
|
4176
|
-
|
|
4108
|
+
/* ─── Remove (×) button ───────────────────────────────── */
|
|
4109
|
+
.muka-thumbnail__remove {
|
|
4110
|
+
position: absolute;
|
|
4111
|
+
top: var(--spacing-2);
|
|
4112
|
+
right: var(--spacing-2);
|
|
4113
|
+
display: flex;
|
|
4114
|
+
align-items: center;
|
|
4115
|
+
justify-content: center;
|
|
4116
|
+
width: var(--size-2xl);
|
|
4117
|
+
height: var(--size-2xl);
|
|
4118
|
+
padding: 0;
|
|
4119
|
+
color: var(--button-color-tertiary-foreground-default);
|
|
4120
|
+
background-color: var(--button-color-tertiary-background-default);
|
|
4121
|
+
border: var(--border-width-regular, 1px) solid var(--button-color-tertiary-border-default);
|
|
4122
|
+
border-radius: var(--border-radius-lg);
|
|
4123
|
+
cursor: pointer;
|
|
4124
|
+
transition: background-color var(--motion-duration-micro) var(--motion-easing-enter),
|
|
4125
|
+
border-color var(--motion-duration-micro) var(--motion-easing-enter);
|
|
4177
4126
|
}
|
|
4178
4127
|
|
|
4179
|
-
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
height: 80px;
|
|
4184
|
-
aspect-ratio: auto;
|
|
4128
|
+
.muka-thumbnail__remove:hover {
|
|
4129
|
+
color: var(--button-color-tertiary-foreground-hover);
|
|
4130
|
+
background-color: var(--button-color-tertiary-background-hover);
|
|
4131
|
+
border-color: var(--button-color-tertiary-border-hover);
|
|
4185
4132
|
}
|
|
4186
4133
|
|
|
4187
|
-
.muka-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
display: block;
|
|
4134
|
+
.muka-thumbnail__remove:active {
|
|
4135
|
+
color: var(--button-color-tertiary-foreground-pressed);
|
|
4136
|
+
background-color: var(--button-color-tertiary-background-pressed);
|
|
4137
|
+
border-color: var(--button-color-tertiary-border-pressed);
|
|
4192
4138
|
}
|
|
4193
4139
|
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
position: absolute;
|
|
4198
|
-
z-index: 3;
|
|
4140
|
+
.muka-thumbnail__remove:focus-visible {
|
|
4141
|
+
outline: 2px solid var(--color-border-focus);
|
|
4142
|
+
outline-offset: 2px;
|
|
4199
4143
|
}
|
|
4200
4144
|
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
|
|
4145
|
+
/* ─── Reduced motion ──────────────────────────────────── */
|
|
4146
|
+
@media (prefers-reduced-motion: reduce) {
|
|
4147
|
+
.muka-thumbnail__image,
|
|
4148
|
+
.muka-thumbnail__remove {
|
|
4149
|
+
transition: none;
|
|
4150
|
+
}
|
|
4206
4151
|
|
|
4207
|
-
.muka-
|
|
4208
|
-
|
|
4209
|
-
|
|
4152
|
+
.muka-thumbnail--interactive:hover .muka-thumbnail__image {
|
|
4153
|
+
transform: none;
|
|
4154
|
+
}
|
|
4210
4155
|
}
|
|
4211
4156
|
|
|
4212
|
-
/* ─── Thumbnails ──────────────────────────────────────── */
|
|
4213
4157
|
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
gap: 2px;
|
|
4217
|
-
overflow: hidden;
|
|
4218
|
-
flex-shrink: 0;
|
|
4219
|
-
height: 80px;
|
|
4220
|
-
}
|
|
4158
|
+
/* Textarea */
|
|
4159
|
+
/* Textarea Component Styles - Using Muka Design Tokens */
|
|
4221
4160
|
|
|
4222
|
-
.muka-
|
|
4223
|
-
|
|
4224
|
-
|
|
4225
|
-
|
|
4226
|
-
overflow: hidden;
|
|
4161
|
+
.muka-textarea {
|
|
4162
|
+
display: inline-flex;
|
|
4163
|
+
flex-direction: column;
|
|
4164
|
+
gap: var(--spacing-2);
|
|
4227
4165
|
}
|
|
4228
4166
|
|
|
4229
|
-
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
display: block;
|
|
4167
|
+
/* Label */
|
|
4168
|
+
.muka-textarea__label {
|
|
4169
|
+
color: var(--color-text-default-default);
|
|
4170
|
+
cursor: pointer;
|
|
4234
4171
|
}
|
|
4235
4172
|
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
4173
|
+
.muka-textarea__label--sm {
|
|
4174
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
4175
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
4176
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
4177
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
4239
4178
|
}
|
|
4240
4179
|
|
|
4241
|
-
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
-
flex: 1;
|
|
4247
|
-
min-width: 0;
|
|
4180
|
+
.muka-textarea__label--md {
|
|
4181
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
4182
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
4183
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
4184
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
4248
4185
|
}
|
|
4249
4186
|
|
|
4250
|
-
|
|
4251
|
-
|
|
4252
|
-
|
|
4253
|
-
|
|
4187
|
+
.muka-textarea__label--lg {
|
|
4188
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
4189
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
4190
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
4191
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
4254
4192
|
}
|
|
4255
4193
|
|
|
4256
|
-
.muka-
|
|
4257
|
-
|
|
4258
|
-
gap: var(--spacing-2);
|
|
4194
|
+
.muka-textarea__required {
|
|
4195
|
+
color: var(--color-state-error-default);
|
|
4259
4196
|
}
|
|
4260
4197
|
|
|
4261
|
-
|
|
4262
|
-
|
|
4198
|
+
/* Field container */
|
|
4199
|
+
.muka-textarea__field {
|
|
4200
|
+
display: flex;
|
|
4201
|
+
background-color: var(--input-field-color-default-background);
|
|
4202
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
4203
|
+
border-radius: var(--input-field-radius-md);
|
|
4204
|
+
padding: var(--input-field-padding-y) var(--input-field-padding-x);
|
|
4205
|
+
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
4206
|
+
box-sizing: border-box;
|
|
4263
4207
|
}
|
|
4264
4208
|
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
|
|
4268
|
-
gap: var(--spacing-3);
|
|
4209
|
+
.muka-textarea__field--sm {
|
|
4210
|
+
min-height: var(--input-textarea-height-sm);
|
|
4211
|
+
border-radius: var(--input-field-radius-sm);
|
|
4269
4212
|
}
|
|
4270
4213
|
|
|
4271
|
-
.muka-
|
|
4272
|
-
|
|
4273
|
-
|
|
4214
|
+
.muka-textarea__field--md {
|
|
4215
|
+
min-height: var(--input-textarea-height-default);
|
|
4216
|
+
border-radius: var(--input-field-radius-md);
|
|
4274
4217
|
}
|
|
4275
4218
|
|
|
4276
|
-
.muka-
|
|
4277
|
-
|
|
4278
|
-
|
|
4219
|
+
.muka-textarea__field--lg {
|
|
4220
|
+
min-height: var(--input-textarea-height-lg);
|
|
4221
|
+
border-radius: var(--input-field-radius-lg);
|
|
4279
4222
|
}
|
|
4280
4223
|
|
|
4281
|
-
|
|
4282
|
-
.muka-
|
|
4283
|
-
|
|
4224
|
+
/* Focus state */
|
|
4225
|
+
.muka-textarea__field--focused:not(.muka-textarea__field--disabled) {
|
|
4226
|
+
border-width: var(--border-width-bold);
|
|
4227
|
+
border-color: var(--input-field-color-focus-border);
|
|
4228
|
+
background-color: var(--input-field-color-focus-background);
|
|
4229
|
+
padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
|
|
4284
4230
|
}
|
|
4285
4231
|
|
|
4286
|
-
/*
|
|
4287
|
-
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
|
|
4291
|
-
|
|
4232
|
+
/* Error state */
|
|
4233
|
+
.muka-textarea__field--error:not(.muka-textarea__field--disabled) {
|
|
4234
|
+
border-width: var(--border-width-bold);
|
|
4235
|
+
border-color: var(--input-field-color-error-border);
|
|
4236
|
+
background-color: var(--input-field-color-error-background);
|
|
4237
|
+
padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
|
|
4292
4238
|
}
|
|
4293
4239
|
|
|
4294
|
-
/*
|
|
4295
|
-
.muka-
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4240
|
+
/* Disabled state */
|
|
4241
|
+
.muka-textarea__field--disabled {
|
|
4242
|
+
background-color: var(--input-field-color-disabled-background);
|
|
4243
|
+
border-color: var(--input-field-color-disabled-border);
|
|
4244
|
+
cursor: not-allowed;
|
|
4299
4245
|
}
|
|
4300
4246
|
|
|
4301
|
-
/*
|
|
4302
|
-
|
|
4303
|
-
.muka-tile__text {
|
|
4304
|
-
display: flex;
|
|
4305
|
-
flex-direction: column;
|
|
4247
|
+
/* Native textarea */
|
|
4248
|
+
.muka-textarea__native {
|
|
4306
4249
|
flex: 1;
|
|
4250
|
+
border: none;
|
|
4251
|
+
outline: none;
|
|
4252
|
+
background: transparent;
|
|
4253
|
+
color: var(--input-field-color-default-foreground);
|
|
4254
|
+
font-family: var(--text-input-md-fontFamily);
|
|
4255
|
+
font-weight: var(--text-input-md-fontWeight);
|
|
4256
|
+
font-size: var(--text-input-md-fontSize);
|
|
4257
|
+
line-height: var(--text-input-md-lineHeight);
|
|
4258
|
+
padding: 0;
|
|
4259
|
+
width: 100%;
|
|
4307
4260
|
min-width: 0;
|
|
4308
|
-
gap: var(--spacing-2);
|
|
4309
4261
|
}
|
|
4310
4262
|
|
|
4311
|
-
|
|
4263
|
+
.muka-textarea__field--sm .muka-textarea__native {
|
|
4264
|
+
font-family: var(--text-input-sm-fontFamily);
|
|
4265
|
+
font-weight: var(--text-input-sm-fontWeight);
|
|
4266
|
+
font-size: var(--text-input-sm-fontSize);
|
|
4267
|
+
line-height: var(--text-input-sm-lineHeight);
|
|
4268
|
+
}
|
|
4312
4269
|
|
|
4313
|
-
.muka-
|
|
4314
|
-
|
|
4270
|
+
.muka-textarea__field--lg .muka-textarea__native {
|
|
4271
|
+
font-family: var(--text-input-lg-fontFamily);
|
|
4272
|
+
font-weight: var(--text-input-lg-fontWeight);
|
|
4273
|
+
font-size: var(--text-input-lg-fontSize);
|
|
4274
|
+
line-height: var(--text-input-lg-lineHeight);
|
|
4315
4275
|
}
|
|
4316
4276
|
|
|
4317
|
-
.muka-
|
|
4318
|
-
|
|
4319
|
-
font-weight: var(--text-label-2xl-semibold-fontWeight);
|
|
4320
|
-
font-size: var(--text-label-2xl-semibold-fontSize);
|
|
4321
|
-
line-height: var(--text-label-2xl-semibold-lineHeight);
|
|
4322
|
-
color: var(--color-text-default-default);
|
|
4277
|
+
.muka-textarea__native::placeholder {
|
|
4278
|
+
color: var(--color-text-subtle-default);
|
|
4323
4279
|
}
|
|
4324
4280
|
|
|
4325
|
-
.muka-
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
font-size: var(--text-label-xl-semibold-fontSize);
|
|
4329
|
-
line-height: var(--text-label-xl-semibold-lineHeight);
|
|
4330
|
-
color: var(--color-text-default-default);
|
|
4281
|
+
.muka-textarea__field--disabled .muka-textarea__native {
|
|
4282
|
+
color: var(--input-field-color-disabled-foreground);
|
|
4283
|
+
cursor: not-allowed;
|
|
4331
4284
|
}
|
|
4332
4285
|
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
4286
|
+
/* Footer (helper/error + count) */
|
|
4287
|
+
.muka-textarea__footer {
|
|
4288
|
+
display: flex;
|
|
4289
|
+
justify-content: space-between;
|
|
4290
|
+
align-items: flex-start;
|
|
4291
|
+
gap: var(--spacing-2);
|
|
4339
4292
|
}
|
|
4340
4293
|
|
|
4341
|
-
|
|
4294
|
+
.muka-textarea__helper {
|
|
4295
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
4296
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
4297
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
4298
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
4299
|
+
color: var(--color-text-subtle-default);
|
|
4300
|
+
margin: 0;
|
|
4301
|
+
}
|
|
4342
4302
|
|
|
4343
|
-
.muka-
|
|
4303
|
+
.muka-textarea__error {
|
|
4304
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
4305
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
4306
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
4307
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
4308
|
+
color: var(--color-state-error-default);
|
|
4344
4309
|
margin: 0;
|
|
4345
|
-
color: var(--color-text-subtle-default);
|
|
4346
4310
|
}
|
|
4347
4311
|
|
|
4348
|
-
.muka-
|
|
4349
|
-
font-family: var(--text-
|
|
4350
|
-
font-weight: var(--text-
|
|
4351
|
-
font-size: var(--text-
|
|
4352
|
-
line-height: var(--text-
|
|
4312
|
+
.muka-textarea__count {
|
|
4313
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
4314
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
4315
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
4316
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
4317
|
+
color: var(--color-text-subtle-default);
|
|
4318
|
+
margin-left: auto;
|
|
4353
4319
|
}
|
|
4354
4320
|
|
|
4355
|
-
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
|
|
4321
|
+
|
|
4322
|
+
/* TextLink */
|
|
4323
|
+
/* TextLink Component Styles - Using Muka Design Tokens */
|
|
4324
|
+
|
|
4325
|
+
.muka-text-link {
|
|
4326
|
+
display: inline;
|
|
4327
|
+
cursor: pointer;
|
|
4328
|
+
text-decoration: underline;
|
|
4329
|
+
/* Nudge the rule clear of descenders; the Figma underline sits off baseline. */
|
|
4330
|
+
text-underline-offset: 0.2em;
|
|
4331
|
+
text-decoration-thickness: from-font;
|
|
4332
|
+
/* Rounds the focus ring's corners; the link itself has no visible box. */
|
|
4333
|
+
border-radius: var(--border-radius-sm);
|
|
4334
|
+
transition: color var(--motion-duration-micro, 0.15s) var(--motion-easing-enter, ease);
|
|
4361
4335
|
}
|
|
4362
4336
|
|
|
4363
|
-
/* ───
|
|
4337
|
+
/* ─── Sizes ───────────────────────────────────────────────
|
|
4338
|
+
Mirrors the body text scale so a link matches the copy it sits in. */
|
|
4339
|
+
.muka-text-link--sm {
|
|
4340
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
4341
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
4342
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
4343
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
4344
|
+
}
|
|
4364
4345
|
|
|
4365
|
-
.muka-
|
|
4366
|
-
|
|
4367
|
-
|
|
4346
|
+
.muka-text-link--base {
|
|
4347
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
4348
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
4349
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
4350
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
4368
4351
|
}
|
|
4369
4352
|
|
|
4370
|
-
.muka-
|
|
4353
|
+
.muka-text-link--lg {
|
|
4371
4354
|
font-family: var(--text-body-lg-regular-fontFamily);
|
|
4372
4355
|
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
4373
4356
|
font-size: var(--text-body-lg-regular-fontSize);
|
|
4374
4357
|
line-height: var(--text-body-lg-regular-lineHeight);
|
|
4375
4358
|
}
|
|
4376
4359
|
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4360
|
+
/* ─── Variant: default (accent) ───────────────────────────
|
|
4361
|
+
Visited repeats the default colour on purpose: the design treats visited and
|
|
4362
|
+
default the same, and pinning it stops the browser's purple from showing. */
|
|
4363
|
+
.muka-text-link--default,
|
|
4364
|
+
.muka-text-link--default:visited {
|
|
4365
|
+
color: var(--color-text-action-default);
|
|
4383
4366
|
}
|
|
4384
4367
|
|
|
4385
|
-
|
|
4386
|
-
.muka-
|
|
4387
|
-
|
|
4388
|
-
text-overflow: ellipsis;
|
|
4368
|
+
.muka-text-link--default:hover,
|
|
4369
|
+
.muka-text-link--default:focus-visible {
|
|
4370
|
+
color: var(--color-text-action-hover);
|
|
4389
4371
|
}
|
|
4390
4372
|
|
|
4391
|
-
|
|
4373
|
+
.muka-text-link--default:active {
|
|
4374
|
+
color: var(--color-text-action-pressed);
|
|
4375
|
+
}
|
|
4392
4376
|
|
|
4393
|
-
|
|
4394
|
-
|
|
4377
|
+
/* ─── Variant: subtle (neutral) ───────────────────────────
|
|
4378
|
+
Hover, focus and pressed all darken to the default text colour. */
|
|
4379
|
+
.muka-text-link--subtle,
|
|
4380
|
+
.muka-text-link--subtle:visited {
|
|
4381
|
+
color: var(--color-text-subtle-default);
|
|
4395
4382
|
}
|
|
4396
4383
|
|
|
4397
|
-
|
|
4384
|
+
.muka-text-link--subtle:hover,
|
|
4385
|
+
.muka-text-link--subtle:focus-visible,
|
|
4386
|
+
.muka-text-link--subtle:active {
|
|
4387
|
+
color: var(--color-text-default-default);
|
|
4388
|
+
}
|
|
4398
4389
|
|
|
4399
|
-
|
|
4400
|
-
|
|
4390
|
+
/* ─── Focus ───────────────────────────────────────────────
|
|
4391
|
+
Same ring as every other focusable Muka component. */
|
|
4392
|
+
.muka-text-link:focus-visible {
|
|
4393
|
+
outline: 2px solid var(--color-border-focus);
|
|
4394
|
+
outline-offset: 2px;
|
|
4395
|
+
}
|
|
4396
|
+
|
|
4397
|
+
@media (prefers-reduced-motion: reduce) {
|
|
4398
|
+
.muka-text-link {
|
|
4399
|
+
transition: none;
|
|
4400
|
+
}
|
|
4401
4401
|
}
|
|
4402
4402
|
|
|
4403
4403
|
|
|
@@ -6731,114 +6731,6 @@ body {
|
|
|
6731
6731
|
}
|
|
6732
6732
|
|
|
6733
6733
|
|
|
6734
|
-
/* SwipeActions */
|
|
6735
|
-
/* SwipeActions Component Styles */
|
|
6736
|
-
|
|
6737
|
-
.muka-swipe-actions {
|
|
6738
|
-
position: relative;
|
|
6739
|
-
overflow: hidden;
|
|
6740
|
-
touch-action: pan-y;
|
|
6741
|
-
-webkit-user-select: none;
|
|
6742
|
-
user-select: none;
|
|
6743
|
-
background-color: var(--color-surface-level3);
|
|
6744
|
-
}
|
|
6745
|
-
|
|
6746
|
-
.muka-swipe-actions--disabled {
|
|
6747
|
-
touch-action: auto;
|
|
6748
|
-
}
|
|
6749
|
-
|
|
6750
|
-
/* ─── Row that holds the actual content ────────────────── */
|
|
6751
|
-
|
|
6752
|
-
.muka-swipe-actions__row {
|
|
6753
|
-
position: relative;
|
|
6754
|
-
z-index: 1;
|
|
6755
|
-
background-color: inherit;
|
|
6756
|
-
will-change: transform;
|
|
6757
|
-
}
|
|
6758
|
-
|
|
6759
|
-
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
6760
|
-
|
|
6761
|
-
.muka-swipe-actions__panel {
|
|
6762
|
-
position: absolute;
|
|
6763
|
-
top: 0;
|
|
6764
|
-
bottom: 0;
|
|
6765
|
-
display: flex;
|
|
6766
|
-
align-items: stretch;
|
|
6767
|
-
z-index: 0;
|
|
6768
|
-
}
|
|
6769
|
-
|
|
6770
|
-
.muka-swipe-actions__panel--left {
|
|
6771
|
-
left: 0;
|
|
6772
|
-
}
|
|
6773
|
-
|
|
6774
|
-
.muka-swipe-actions__panel--right {
|
|
6775
|
-
right: 0;
|
|
6776
|
-
}
|
|
6777
|
-
|
|
6778
|
-
/* ─── Single action button ─────────────────────────────── */
|
|
6779
|
-
|
|
6780
|
-
.muka-swipe-actions__button {
|
|
6781
|
-
display: flex;
|
|
6782
|
-
flex-direction: column;
|
|
6783
|
-
align-items: center;
|
|
6784
|
-
justify-content: center;
|
|
6785
|
-
gap: var(--spacing-1);
|
|
6786
|
-
border: none;
|
|
6787
|
-
cursor: pointer;
|
|
6788
|
-
padding: var(--spacing-2);
|
|
6789
|
-
background-color: var(--color-surface-level2);
|
|
6790
|
-
color: var(--color-text-default-default);
|
|
6791
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
6792
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
6793
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
6794
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
6795
|
-
-webkit-tap-highlight-color: transparent;
|
|
6796
|
-
transition: filter 0.12s ease;
|
|
6797
|
-
}
|
|
6798
|
-
|
|
6799
|
-
.muka-swipe-actions__button:hover {
|
|
6800
|
-
filter: brightness(0.95);
|
|
6801
|
-
}
|
|
6802
|
-
|
|
6803
|
-
.muka-swipe-actions__button:focus-visible {
|
|
6804
|
-
outline: 2px solid var(--color-action-default);
|
|
6805
|
-
outline-offset: -2px;
|
|
6806
|
-
}
|
|
6807
|
-
|
|
6808
|
-
.muka-swipe-actions__button-icon {
|
|
6809
|
-
display: inline-flex;
|
|
6810
|
-
align-items: center;
|
|
6811
|
-
justify-content: center;
|
|
6812
|
-
}
|
|
6813
|
-
|
|
6814
|
-
/* ─── Color variants ───────────────────────────────────── */
|
|
6815
|
-
|
|
6816
|
-
.muka-swipe-actions__button--neutral {
|
|
6817
|
-
background-color: var(--color-surface-level2);
|
|
6818
|
-
color: var(--color-text-default-default);
|
|
6819
|
-
}
|
|
6820
|
-
|
|
6821
|
-
.muka-swipe-actions__button--primary {
|
|
6822
|
-
background-color: var(--color-action-default);
|
|
6823
|
-
color: var(--color-text-default-inverse);
|
|
6824
|
-
}
|
|
6825
|
-
|
|
6826
|
-
.muka-swipe-actions__button--success {
|
|
6827
|
-
background-color: var(--color-state-success-default);
|
|
6828
|
-
color: var(--color-text-default-inverse);
|
|
6829
|
-
}
|
|
6830
|
-
|
|
6831
|
-
.muka-swipe-actions__button--warning {
|
|
6832
|
-
background-color: var(--color-state-warning-default);
|
|
6833
|
-
color: var(--color-text-default-default);
|
|
6834
|
-
}
|
|
6835
|
-
|
|
6836
|
-
.muka-swipe-actions__button--destructive {
|
|
6837
|
-
background-color: var(--color-state-error-default);
|
|
6838
|
-
color: var(--color-text-default-inverse);
|
|
6839
|
-
}
|
|
6840
|
-
|
|
6841
|
-
|
|
6842
6734
|
/* RadioTile */
|
|
6843
6735
|
/* RadioTile Component Styles - Using Muka Design Tokens */
|
|
6844
6736
|
|
|
@@ -9070,41 +8962,101 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9070
8962
|
opacity: 0.4;
|
|
9071
8963
|
}
|
|
9072
8964
|
|
|
9073
|
-
/* Size variants */
|
|
9074
|
-
.muka-pagination--sm .muka-pagination__button {
|
|
9075
|
-
min-width: var(--size-2xl);
|
|
9076
|
-
height: var(--size-2xl);
|
|
9077
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
8965
|
+
/* Size variants */
|
|
8966
|
+
.muka-pagination--sm .muka-pagination__button {
|
|
8967
|
+
min-width: var(--size-2xl);
|
|
8968
|
+
height: var(--size-2xl);
|
|
8969
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
8970
|
+
}
|
|
8971
|
+
|
|
8972
|
+
.muka-pagination--sm .muka-pagination__ellipsis {
|
|
8973
|
+
min-width: var(--size-2xl);
|
|
8974
|
+
height: var(--size-2xl);
|
|
8975
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
8976
|
+
}
|
|
8977
|
+
|
|
8978
|
+
.muka-pagination--md .muka-pagination__button {
|
|
8979
|
+
min-width: var(--size-3xl);
|
|
8980
|
+
height: var(--size-3xl);
|
|
8981
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
8982
|
+
}
|
|
8983
|
+
|
|
8984
|
+
.muka-pagination--md .muka-pagination__ellipsis {
|
|
8985
|
+
min-width: var(--size-3xl);
|
|
8986
|
+
height: var(--size-3xl);
|
|
8987
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
8988
|
+
}
|
|
8989
|
+
|
|
8990
|
+
.muka-pagination--lg .muka-pagination__button {
|
|
8991
|
+
min-width: var(--size-4xl);
|
|
8992
|
+
height: var(--size-4xl);
|
|
8993
|
+
font-size: var(--text-label-lg-regular-fontSize);
|
|
8994
|
+
}
|
|
8995
|
+
|
|
8996
|
+
.muka-pagination--lg .muka-pagination__ellipsis {
|
|
8997
|
+
min-width: var(--size-4xl);
|
|
8998
|
+
height: var(--size-4xl);
|
|
8999
|
+
font-size: var(--text-label-lg-regular-fontSize);
|
|
9000
|
+
}
|
|
9001
|
+
|
|
9002
|
+
|
|
9003
|
+
/* Page */
|
|
9004
|
+
/* Page Component Styles */
|
|
9005
|
+
|
|
9006
|
+
/*
|
|
9007
|
+
* Shell for document-scrolling pages (marketing, sign-in, legal). Safe areas:
|
|
9008
|
+
* env(safe-area-inset-*) is 0 outside notched devices, so the padding below
|
|
9009
|
+
* only appears in an app running edge to edge (viewport-fit=cover).
|
|
9010
|
+
*
|
|
9011
|
+
* `--muka-page-background` is the page colour. SiteHeader reads it, so a
|
|
9012
|
+
* header and its status-bar scrim match the page without configuration.
|
|
9013
|
+
*/
|
|
9014
|
+
.muka-page {
|
|
9015
|
+
--muka-page-background: var(--color-surface-level3);
|
|
9016
|
+
display: flex;
|
|
9017
|
+
flex-direction: column;
|
|
9018
|
+
min-height: 100vh;
|
|
9019
|
+
min-height: 100dvh;
|
|
9020
|
+
background-color: var(--muka-page-background);
|
|
9021
|
+
}
|
|
9022
|
+
|
|
9023
|
+
.muka-page--surface-2 {
|
|
9024
|
+
--muka-page-background: var(--color-surface-level2);
|
|
9025
|
+
}
|
|
9026
|
+
|
|
9027
|
+
/* Overscroll (rubber band) shows the document background: keep it the page's. */
|
|
9028
|
+
:root:has(.muka-page--surface-2) body {
|
|
9029
|
+
background-color: var(--color-surface-level2);
|
|
9078
9030
|
}
|
|
9079
9031
|
|
|
9080
|
-
.muka-
|
|
9081
|
-
|
|
9082
|
-
|
|
9083
|
-
|
|
9032
|
+
.muka-page__main {
|
|
9033
|
+
flex: 1 0 auto;
|
|
9034
|
+
display: flex;
|
|
9035
|
+
flex-direction: column;
|
|
9036
|
+
/* Landscape: clear the notch. */
|
|
9037
|
+
padding-left: env(safe-area-inset-left, 0px);
|
|
9038
|
+
padding-right: env(safe-area-inset-right, 0px);
|
|
9084
9039
|
}
|
|
9085
9040
|
|
|
9086
|
-
.muka-
|
|
9087
|
-
|
|
9088
|
-
|
|
9089
|
-
|
|
9041
|
+
.muka-page__footer {
|
|
9042
|
+
flex-shrink: 0;
|
|
9043
|
+
padding-left: env(safe-area-inset-left, 0px);
|
|
9044
|
+
padding-right: env(safe-area-inset-right, 0px);
|
|
9045
|
+
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
9090
9046
|
}
|
|
9091
9047
|
|
|
9092
|
-
|
|
9093
|
-
|
|
9094
|
-
|
|
9095
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
9048
|
+
/* A footer with its own colour: the colour runs under the home indicator. */
|
|
9049
|
+
.muka-page__footer--surface-2 {
|
|
9050
|
+
background-color: var(--color-surface-level2);
|
|
9096
9051
|
}
|
|
9097
9052
|
|
|
9098
|
-
.muka-
|
|
9099
|
-
|
|
9100
|
-
height: var(--size-4xl);
|
|
9101
|
-
font-size: var(--text-label-lg-regular-fontSize);
|
|
9053
|
+
.muka-page__footer--surface-3 {
|
|
9054
|
+
background-color: var(--color-surface-level3);
|
|
9102
9055
|
}
|
|
9103
9056
|
|
|
9104
|
-
|
|
9105
|
-
|
|
9106
|
-
|
|
9107
|
-
font-size: var(--text-label-lg-regular-fontSize);
|
|
9057
|
+
/* Without a footer, the content is last and clears the home indicator. */
|
|
9058
|
+
.muka-page:not(:has(> .muka-page__footer)) > .muka-page__main {
|
|
9059
|
+
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
9108
9060
|
}
|
|
9109
9061
|
|
|
9110
9062
|
|
|
@@ -9991,6 +9943,25 @@ button.muka-progress-tracker__tab:focus-visible {
|
|
|
9991
9943
|
white-space: nowrap;
|
|
9992
9944
|
}
|
|
9993
9945
|
|
|
9946
|
+
/*
|
|
9947
|
+
* Trailing content: time, BadgeNumber, a dot. Stacks vertically (a time above
|
|
9948
|
+
* a badge, as in a chat inbox), aligned to the end, and never shrinks the label
|
|
9949
|
+
* below it: the label ellipsises instead.
|
|
9950
|
+
*/
|
|
9951
|
+
.muka-listitem__trailing {
|
|
9952
|
+
display: flex;
|
|
9953
|
+
flex-direction: column;
|
|
9954
|
+
align-items: flex-end;
|
|
9955
|
+
justify-content: center;
|
|
9956
|
+
gap: var(--spacing-1);
|
|
9957
|
+
flex-shrink: 0;
|
|
9958
|
+
font-family: var(--alias-font-plain-family);
|
|
9959
|
+
font-size: var(--text-body-sm-fontSize);
|
|
9960
|
+
line-height: var(--text-body-sm-lineHeight);
|
|
9961
|
+
color: var(--color-text-subtle-default);
|
|
9962
|
+
white-space: nowrap;
|
|
9963
|
+
}
|
|
9964
|
+
|
|
9994
9965
|
/* Trailing chevron */
|
|
9995
9966
|
.muka-listitem__chevron {
|
|
9996
9967
|
display: inline-flex;
|
|
@@ -10259,66 +10230,6 @@ li.muka-listitem {
|
|
|
10259
10230
|
}
|
|
10260
10231
|
|
|
10261
10232
|
|
|
10262
|
-
/* Page */
|
|
10263
|
-
/* Page Component Styles */
|
|
10264
|
-
|
|
10265
|
-
/*
|
|
10266
|
-
* Shell for document-scrolling pages (marketing, sign-in, legal). Safe areas:
|
|
10267
|
-
* env(safe-area-inset-*) is 0 outside notched devices, so the padding below
|
|
10268
|
-
* only appears in an app running edge to edge (viewport-fit=cover).
|
|
10269
|
-
*
|
|
10270
|
-
* `--muka-page-background` is the page colour. SiteHeader reads it, so a
|
|
10271
|
-
* header and its status-bar scrim match the page without configuration.
|
|
10272
|
-
*/
|
|
10273
|
-
.muka-page {
|
|
10274
|
-
--muka-page-background: var(--color-surface-level3);
|
|
10275
|
-
display: flex;
|
|
10276
|
-
flex-direction: column;
|
|
10277
|
-
min-height: 100vh;
|
|
10278
|
-
min-height: 100dvh;
|
|
10279
|
-
background-color: var(--muka-page-background);
|
|
10280
|
-
}
|
|
10281
|
-
|
|
10282
|
-
.muka-page--surface-2 {
|
|
10283
|
-
--muka-page-background: var(--color-surface-level2);
|
|
10284
|
-
}
|
|
10285
|
-
|
|
10286
|
-
/* Overscroll (rubber band) shows the document background: keep it the page's. */
|
|
10287
|
-
:root:has(.muka-page--surface-2) body {
|
|
10288
|
-
background-color: var(--color-surface-level2);
|
|
10289
|
-
}
|
|
10290
|
-
|
|
10291
|
-
.muka-page__main {
|
|
10292
|
-
flex: 1 0 auto;
|
|
10293
|
-
display: flex;
|
|
10294
|
-
flex-direction: column;
|
|
10295
|
-
/* Landscape: clear the notch. */
|
|
10296
|
-
padding-left: env(safe-area-inset-left, 0px);
|
|
10297
|
-
padding-right: env(safe-area-inset-right, 0px);
|
|
10298
|
-
}
|
|
10299
|
-
|
|
10300
|
-
.muka-page__footer {
|
|
10301
|
-
flex-shrink: 0;
|
|
10302
|
-
padding-left: env(safe-area-inset-left, 0px);
|
|
10303
|
-
padding-right: env(safe-area-inset-right, 0px);
|
|
10304
|
-
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
10305
|
-
}
|
|
10306
|
-
|
|
10307
|
-
/* A footer with its own colour: the colour runs under the home indicator. */
|
|
10308
|
-
.muka-page__footer--surface-2 {
|
|
10309
|
-
background-color: var(--color-surface-level2);
|
|
10310
|
-
}
|
|
10311
|
-
|
|
10312
|
-
.muka-page__footer--surface-3 {
|
|
10313
|
-
background-color: var(--color-surface-level3);
|
|
10314
|
-
}
|
|
10315
|
-
|
|
10316
|
-
/* Without a footer, the content is last and clears the home indicator. */
|
|
10317
|
-
.muka-page:not(:has(> .muka-page__footer)) > .muka-page__main {
|
|
10318
|
-
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
10319
|
-
}
|
|
10320
|
-
|
|
10321
|
-
|
|
10322
10233
|
/* InputCounter */
|
|
10323
10234
|
/* InputCounter — numeric field + joined decrement/increment buttons.
|
|
10324
10235
|
Label, helper and error text reuse Input.css (../Input/Input.css).
|
|
@@ -15180,42 +15091,188 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15180
15091
|
-webkit-tap-highlight-color: transparent;
|
|
15181
15092
|
}
|
|
15182
15093
|
|
|
15183
|
-
.muka-chat-attachment-chip__remove:hover:not(:disabled) {
|
|
15184
|
-
color: var(--color-text-default-default);
|
|
15185
|
-
background-color: var(--color-surface-level2);
|
|
15094
|
+
.muka-chat-attachment-chip__remove:hover:not(:disabled) {
|
|
15095
|
+
color: var(--color-text-default-default);
|
|
15096
|
+
background-color: var(--color-surface-level2);
|
|
15097
|
+
}
|
|
15098
|
+
|
|
15099
|
+
.muka-chat-attachment-chip__remove:focus-visible {
|
|
15100
|
+
outline: 2px solid var(--color-action-default);
|
|
15101
|
+
outline-offset: 2px;
|
|
15102
|
+
}
|
|
15103
|
+
|
|
15104
|
+
.muka-chat-attachment-chip__remove:disabled {
|
|
15105
|
+
cursor: not-allowed;
|
|
15106
|
+
opacity: 0.5;
|
|
15107
|
+
}
|
|
15108
|
+
|
|
15109
|
+
/* ─── Progress bar ─────────────────────────────────────── */
|
|
15110
|
+
|
|
15111
|
+
.muka-chat-attachment-chip__progress {
|
|
15112
|
+
position: absolute;
|
|
15113
|
+
left: 0;
|
|
15114
|
+
right: 0;
|
|
15115
|
+
bottom: 0;
|
|
15116
|
+
height: 2px;
|
|
15117
|
+
background-color: var(--color-surface-level2);
|
|
15118
|
+
overflow: hidden;
|
|
15119
|
+
}
|
|
15120
|
+
|
|
15121
|
+
.muka-chat-attachment-chip__progress-fill {
|
|
15122
|
+
display: block;
|
|
15123
|
+
height: 100%;
|
|
15124
|
+
background-color: var(--color-action-default);
|
|
15125
|
+
transition: width 0.16s ease;
|
|
15126
|
+
}
|
|
15127
|
+
|
|
15128
|
+
.muka-chat-attachment-chip--error .muka-chat-attachment-chip__progress-fill {
|
|
15129
|
+
background-color: var(--color-state-error-default, var(--color-text-default-default));
|
|
15130
|
+
}
|
|
15131
|
+
|
|
15132
|
+
|
|
15133
|
+
/* Card */
|
|
15134
|
+
/* Card Component Styles - Using Muka Design Tokens */
|
|
15135
|
+
|
|
15136
|
+
.muka-card {
|
|
15137
|
+
background-color: var(--card-color-default-background);
|
|
15138
|
+
color: var(--card-color-default-foreground);
|
|
15139
|
+
border: var(--border-width-regular) solid var(--card-color-default-border);
|
|
15140
|
+
box-shadow: var(--card-shadow-default);
|
|
15141
|
+
transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
15142
|
+
overflow: hidden;
|
|
15143
|
+
}
|
|
15144
|
+
|
|
15145
|
+
/* Padding variants */
|
|
15146
|
+
.muka-card--padding-none {
|
|
15147
|
+
padding: 0;
|
|
15148
|
+
}
|
|
15149
|
+
|
|
15150
|
+
.muka-card--padding-sm {
|
|
15151
|
+
padding: var(--card-padding-sm);
|
|
15152
|
+
}
|
|
15153
|
+
|
|
15154
|
+
.muka-card--padding-md {
|
|
15155
|
+
padding: var(--card-padding-md);
|
|
15156
|
+
}
|
|
15157
|
+
|
|
15158
|
+
.muka-card--padding-lg {
|
|
15159
|
+
padding: var(--card-padding-lg);
|
|
15160
|
+
}
|
|
15161
|
+
|
|
15162
|
+
/* Radius variants */
|
|
15163
|
+
.muka-card--radius-sm {
|
|
15164
|
+
border-radius: var(--card-radius-sm);
|
|
15165
|
+
}
|
|
15166
|
+
|
|
15167
|
+
.muka-card--radius-md {
|
|
15168
|
+
border-radius: var(--card-radius-md);
|
|
15169
|
+
}
|
|
15170
|
+
|
|
15171
|
+
.muka-card--radius-lg {
|
|
15172
|
+
border-radius: var(--card-radius-lg);
|
|
15173
|
+
}
|
|
15174
|
+
|
|
15175
|
+
/* Interactive variant */
|
|
15176
|
+
.muka-card--interactive {
|
|
15177
|
+
cursor: pointer;
|
|
15178
|
+
user-select: none;
|
|
15179
|
+
}
|
|
15180
|
+
|
|
15181
|
+
.muka-card--interactive:hover {
|
|
15182
|
+
background-color: var(--card-color-hover-background);
|
|
15183
|
+
border-color: var(--card-color-hover-border);
|
|
15184
|
+
box-shadow: var(--card-shadow-hover);
|
|
15185
|
+
}
|
|
15186
|
+
|
|
15187
|
+
.muka-card--interactive:active,
|
|
15188
|
+
.muka-card--interactive.muka-card--pressed {
|
|
15189
|
+
background-color: var(--card-color-pressed-background);
|
|
15190
|
+
border-color: var(--card-color-pressed-border);
|
|
15191
|
+
box-shadow: var(--card-shadow-pressed);
|
|
15192
|
+
}
|
|
15193
|
+
|
|
15194
|
+
.muka-card--interactive:focus-visible {
|
|
15195
|
+
outline: 2px solid var(--color-border-focus);
|
|
15196
|
+
outline-offset: 2px;
|
|
15197
|
+
}
|
|
15198
|
+
|
|
15199
|
+
/* Selected variant */
|
|
15200
|
+
.muka-card--selected {
|
|
15201
|
+
background-color: var(--card-color-selected-background);
|
|
15202
|
+
border-color: var(--card-color-selected-border);
|
|
15203
|
+
border-width: var(--border-width-bold);
|
|
15204
|
+
box-shadow: var(--card-shadow-selected);
|
|
15205
|
+
}
|
|
15206
|
+
|
|
15207
|
+
/* Tone: sticky note (MUK-105) */
|
|
15208
|
+
.muka-card--tone-note {
|
|
15209
|
+
background-color: var(--card-color-note-background);
|
|
15210
|
+
color: var(--card-color-note-foreground);
|
|
15211
|
+
border-color: var(--card-color-note-border);
|
|
15212
|
+
box-shadow: var(--card-shadow-note);
|
|
15213
|
+
}
|
|
15214
|
+
|
|
15215
|
+
.muka-card--tone-note.muka-card--interactive:hover,
|
|
15216
|
+
.muka-card--tone-note.muka-card--interactive:active,
|
|
15217
|
+
.muka-card--tone-note.muka-card--interactive.muka-card--pressed {
|
|
15218
|
+
background-color: var(--card-color-note-background);
|
|
15219
|
+
border-color: var(--card-color-note-border);
|
|
15220
|
+
}
|
|
15221
|
+
|
|
15222
|
+
.muka-card--tilt-left {
|
|
15223
|
+
transform: rotate(-0.75deg);
|
|
15224
|
+
}
|
|
15225
|
+
|
|
15226
|
+
.muka-card--tilt-right {
|
|
15227
|
+
transform: rotate(0.6deg);
|
|
15186
15228
|
}
|
|
15187
15229
|
|
|
15188
|
-
|
|
15189
|
-
|
|
15190
|
-
|
|
15230
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
15231
|
+
.muka-card--tilt-left,
|
|
15232
|
+
.muka-card--tilt-right {
|
|
15233
|
+
transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
15234
|
+
}
|
|
15191
15235
|
}
|
|
15192
15236
|
|
|
15193
|
-
.muka-
|
|
15194
|
-
|
|
15195
|
-
|
|
15237
|
+
.muka-card--interactive.muka-card--tilt-left:hover,
|
|
15238
|
+
.muka-card--interactive.muka-card--tilt-right:hover {
|
|
15239
|
+
transform: none;
|
|
15196
15240
|
}
|
|
15197
15241
|
|
|
15198
|
-
/*
|
|
15242
|
+
/* Optional header (title + description) */
|
|
15243
|
+
.muka-card__header {
|
|
15244
|
+
margin-bottom: var(--spacing-4);
|
|
15245
|
+
}
|
|
15199
15246
|
|
|
15200
|
-
.muka-
|
|
15201
|
-
|
|
15202
|
-
|
|
15203
|
-
|
|
15204
|
-
|
|
15205
|
-
|
|
15206
|
-
|
|
15207
|
-
|
|
15247
|
+
.muka-card__title {
|
|
15248
|
+
margin: 0;
|
|
15249
|
+
color: var(--color-text-default-default);
|
|
15250
|
+
font-family: var(--text-heading-xs-fontFamily);
|
|
15251
|
+
font-weight: var(--text-heading-xs-fontWeight);
|
|
15252
|
+
font-size: var(--text-heading-xs-fontSize);
|
|
15253
|
+
line-height: var(--text-heading-xs-lineHeight);
|
|
15254
|
+
letter-spacing: var(--text-heading-xs-letterSpacing);
|
|
15208
15255
|
}
|
|
15209
15256
|
|
|
15210
|
-
.muka-
|
|
15211
|
-
|
|
15212
|
-
|
|
15213
|
-
|
|
15214
|
-
|
|
15257
|
+
.muka-card__description {
|
|
15258
|
+
margin: var(--spacing-1) 0 0;
|
|
15259
|
+
color: var(--color-text-subtle-default);
|
|
15260
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
15261
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
15262
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
15263
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
15215
15264
|
}
|
|
15216
15265
|
|
|
15217
|
-
|
|
15218
|
-
|
|
15266
|
+
/* Hide divider on last list item inside card */
|
|
15267
|
+
.muka-card > .muka-listitem:last-child > .muka-listitem__divider {
|
|
15268
|
+
display: none;
|
|
15269
|
+
}
|
|
15270
|
+
|
|
15271
|
+
/* Disabled state */
|
|
15272
|
+
.muka-card--disabled {
|
|
15273
|
+
opacity: 0.5;
|
|
15274
|
+
cursor: not-allowed;
|
|
15275
|
+
pointer-events: none;
|
|
15219
15276
|
}
|
|
15220
15277
|
|
|
15221
15278
|
|
|
@@ -15848,6 +15905,7 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15848
15905
|
}
|
|
15849
15906
|
|
|
15850
15907
|
.muka-bottombar__tab-icon {
|
|
15908
|
+
position: relative;
|
|
15851
15909
|
display: flex;
|
|
15852
15910
|
align-items: center;
|
|
15853
15911
|
justify-content: center;
|
|
@@ -15860,6 +15918,15 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15860
15918
|
height: 100%;
|
|
15861
15919
|
}
|
|
15862
15920
|
|
|
15921
|
+
/* A count on the icon's top-right corner (unread messages). */
|
|
15922
|
+
.muka-bottombar__tab-badge {
|
|
15923
|
+
position: absolute;
|
|
15924
|
+
top: calc(-1 * var(--spacing-1));
|
|
15925
|
+
left: 60%;
|
|
15926
|
+
display: flex;
|
|
15927
|
+
pointer-events: none;
|
|
15928
|
+
}
|
|
15929
|
+
|
|
15863
15930
|
.muka-bottombar__tab-label {
|
|
15864
15931
|
font-family: var(--text-label-sm-regular-fontFamily);
|
|
15865
15932
|
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
@@ -16146,6 +16213,14 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
16146
16213
|
color: var(--color-text-default-inverse);
|
|
16147
16214
|
}
|
|
16148
16215
|
|
|
16216
|
+
/* Dot: something new, without a count */
|
|
16217
|
+
.muka-badge-number--dot {
|
|
16218
|
+
width: var(--spacing-2);
|
|
16219
|
+
height: var(--spacing-2);
|
|
16220
|
+
min-width: 0;
|
|
16221
|
+
padding: 0;
|
|
16222
|
+
}
|
|
16223
|
+
|
|
16149
16224
|
|
|
16150
16225
|
/* Badge */
|
|
16151
16226
|
/* Badge Component Styles - Using Muka Design Tokens */
|
|
@@ -17551,148 +17626,110 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
17551
17626
|
}
|
|
17552
17627
|
|
|
17553
17628
|
|
|
17554
|
-
/*
|
|
17555
|
-
/*
|
|
17629
|
+
/* SwipeActions */
|
|
17630
|
+
/* SwipeActions Component Styles */
|
|
17556
17631
|
|
|
17557
|
-
.muka-
|
|
17558
|
-
|
|
17559
|
-
color: var(--card-color-default-foreground);
|
|
17560
|
-
border: var(--border-width-regular) solid var(--card-color-default-border);
|
|
17561
|
-
box-shadow: var(--card-shadow-default);
|
|
17562
|
-
transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
17632
|
+
.muka-swipe-actions {
|
|
17633
|
+
position: relative;
|
|
17563
17634
|
overflow: hidden;
|
|
17635
|
+
touch-action: pan-y;
|
|
17636
|
+
-webkit-user-select: none;
|
|
17637
|
+
user-select: none;
|
|
17638
|
+
background-color: var(--color-surface-level3);
|
|
17564
17639
|
}
|
|
17565
17640
|
|
|
17566
|
-
|
|
17567
|
-
|
|
17568
|
-
padding: 0;
|
|
17569
|
-
}
|
|
17570
|
-
|
|
17571
|
-
.muka-card--padding-sm {
|
|
17572
|
-
padding: var(--card-padding-sm);
|
|
17573
|
-
}
|
|
17574
|
-
|
|
17575
|
-
.muka-card--padding-md {
|
|
17576
|
-
padding: var(--card-padding-md);
|
|
17577
|
-
}
|
|
17578
|
-
|
|
17579
|
-
.muka-card--padding-lg {
|
|
17580
|
-
padding: var(--card-padding-lg);
|
|
17641
|
+
.muka-swipe-actions--disabled {
|
|
17642
|
+
touch-action: auto;
|
|
17581
17643
|
}
|
|
17582
17644
|
|
|
17583
|
-
/*
|
|
17584
|
-
.muka-card--radius-sm {
|
|
17585
|
-
border-radius: var(--card-radius-sm);
|
|
17586
|
-
}
|
|
17645
|
+
/* ─── Row that holds the actual content ────────────────── */
|
|
17587
17646
|
|
|
17588
|
-
.muka-
|
|
17589
|
-
|
|
17647
|
+
.muka-swipe-actions__row {
|
|
17648
|
+
position: relative;
|
|
17649
|
+
z-index: 1;
|
|
17650
|
+
background-color: inherit;
|
|
17651
|
+
will-change: transform;
|
|
17590
17652
|
}
|
|
17591
17653
|
|
|
17592
|
-
|
|
17593
|
-
border-radius: var(--card-radius-lg);
|
|
17594
|
-
}
|
|
17654
|
+
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
17595
17655
|
|
|
17596
|
-
|
|
17597
|
-
|
|
17598
|
-
|
|
17599
|
-
|
|
17656
|
+
.muka-swipe-actions__panel {
|
|
17657
|
+
position: absolute;
|
|
17658
|
+
top: 0;
|
|
17659
|
+
bottom: 0;
|
|
17660
|
+
display: flex;
|
|
17661
|
+
align-items: stretch;
|
|
17662
|
+
z-index: 0;
|
|
17600
17663
|
}
|
|
17601
17664
|
|
|
17602
|
-
.muka-
|
|
17603
|
-
|
|
17604
|
-
border-color: var(--card-color-hover-border);
|
|
17605
|
-
box-shadow: var(--card-shadow-hover);
|
|
17665
|
+
.muka-swipe-actions__panel--left {
|
|
17666
|
+
left: 0;
|
|
17606
17667
|
}
|
|
17607
17668
|
|
|
17608
|
-
.muka-
|
|
17609
|
-
|
|
17610
|
-
background-color: var(--card-color-pressed-background);
|
|
17611
|
-
border-color: var(--card-color-pressed-border);
|
|
17612
|
-
box-shadow: var(--card-shadow-pressed);
|
|
17669
|
+
.muka-swipe-actions__panel--right {
|
|
17670
|
+
right: 0;
|
|
17613
17671
|
}
|
|
17614
17672
|
|
|
17615
|
-
|
|
17616
|
-
outline: 2px solid var(--color-border-focus);
|
|
17617
|
-
outline-offset: 2px;
|
|
17618
|
-
}
|
|
17673
|
+
/* ─── Single action button ─────────────────────────────── */
|
|
17619
17674
|
|
|
17620
|
-
|
|
17621
|
-
|
|
17622
|
-
|
|
17623
|
-
|
|
17624
|
-
|
|
17625
|
-
|
|
17675
|
+
.muka-swipe-actions__button {
|
|
17676
|
+
display: flex;
|
|
17677
|
+
flex-direction: column;
|
|
17678
|
+
align-items: center;
|
|
17679
|
+
justify-content: center;
|
|
17680
|
+
gap: var(--spacing-1);
|
|
17681
|
+
border: none;
|
|
17682
|
+
cursor: pointer;
|
|
17683
|
+
padding: var(--spacing-2);
|
|
17684
|
+
background-color: var(--color-surface-level2);
|
|
17685
|
+
color: var(--color-text-default-default);
|
|
17686
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
17687
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
17688
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
17689
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
17690
|
+
-webkit-tap-highlight-color: transparent;
|
|
17691
|
+
transition: filter 0.12s ease;
|
|
17626
17692
|
}
|
|
17627
17693
|
|
|
17628
|
-
|
|
17629
|
-
.
|
|
17630
|
-
background-color: var(--card-color-note-background);
|
|
17631
|
-
color: var(--card-color-note-foreground);
|
|
17632
|
-
border-color: var(--card-color-note-border);
|
|
17633
|
-
box-shadow: var(--card-shadow-note);
|
|
17694
|
+
.muka-swipe-actions__button:hover {
|
|
17695
|
+
filter: brightness(0.95);
|
|
17634
17696
|
}
|
|
17635
17697
|
|
|
17636
|
-
.muka-
|
|
17637
|
-
|
|
17638
|
-
|
|
17639
|
-
background-color: var(--card-color-note-background);
|
|
17640
|
-
border-color: var(--card-color-note-border);
|
|
17698
|
+
.muka-swipe-actions__button:focus-visible {
|
|
17699
|
+
outline: 2px solid var(--color-action-default);
|
|
17700
|
+
outline-offset: -2px;
|
|
17641
17701
|
}
|
|
17642
17702
|
|
|
17643
|
-
.muka-
|
|
17644
|
-
|
|
17703
|
+
.muka-swipe-actions__button-icon {
|
|
17704
|
+
display: inline-flex;
|
|
17705
|
+
align-items: center;
|
|
17706
|
+
justify-content: center;
|
|
17645
17707
|
}
|
|
17646
17708
|
|
|
17647
|
-
|
|
17648
|
-
transform: rotate(0.6deg);
|
|
17649
|
-
}
|
|
17709
|
+
/* ─── Color variants ───────────────────────────────────── */
|
|
17650
17710
|
|
|
17651
|
-
|
|
17652
|
-
|
|
17653
|
-
|
|
17654
|
-
transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
17655
|
-
}
|
|
17711
|
+
.muka-swipe-actions__button--neutral {
|
|
17712
|
+
background-color: var(--color-surface-level2);
|
|
17713
|
+
color: var(--color-text-default-default);
|
|
17656
17714
|
}
|
|
17657
17715
|
|
|
17658
|
-
.muka-
|
|
17659
|
-
|
|
17660
|
-
|
|
17716
|
+
.muka-swipe-actions__button--primary {
|
|
17717
|
+
background-color: var(--color-action-default);
|
|
17718
|
+
color: var(--color-text-default-inverse);
|
|
17661
17719
|
}
|
|
17662
17720
|
|
|
17663
|
-
|
|
17664
|
-
|
|
17665
|
-
|
|
17721
|
+
.muka-swipe-actions__button--success {
|
|
17722
|
+
background-color: var(--color-state-success-default);
|
|
17723
|
+
color: var(--color-text-default-inverse);
|
|
17666
17724
|
}
|
|
17667
17725
|
|
|
17668
|
-
.muka-
|
|
17669
|
-
|
|
17726
|
+
.muka-swipe-actions__button--warning {
|
|
17727
|
+
background-color: var(--color-state-warning-default);
|
|
17670
17728
|
color: var(--color-text-default-default);
|
|
17671
|
-
font-family: var(--text-heading-xs-fontFamily);
|
|
17672
|
-
font-weight: var(--text-heading-xs-fontWeight);
|
|
17673
|
-
font-size: var(--text-heading-xs-fontSize);
|
|
17674
|
-
line-height: var(--text-heading-xs-lineHeight);
|
|
17675
|
-
letter-spacing: var(--text-heading-xs-letterSpacing);
|
|
17676
|
-
}
|
|
17677
|
-
|
|
17678
|
-
.muka-card__description {
|
|
17679
|
-
margin: var(--spacing-1) 0 0;
|
|
17680
|
-
color: var(--color-text-subtle-default);
|
|
17681
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
17682
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
17683
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
17684
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
17685
|
-
}
|
|
17686
|
-
|
|
17687
|
-
/* Hide divider on last list item inside card */
|
|
17688
|
-
.muka-card > .muka-listitem:last-child > .muka-listitem__divider {
|
|
17689
|
-
display: none;
|
|
17690
17729
|
}
|
|
17691
17730
|
|
|
17692
|
-
|
|
17693
|
-
|
|
17694
|
-
|
|
17695
|
-
cursor: not-allowed;
|
|
17696
|
-
pointer-events: none;
|
|
17731
|
+
.muka-swipe-actions__button--destructive {
|
|
17732
|
+
background-color: var(--color-state-error-default);
|
|
17733
|
+
color: var(--color-text-default-inverse);
|
|
17697
17734
|
}
|
|
17698
17735
|
|