@revikornmann/muka-ui 0.27.1 → 0.27.2
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/Avatar/Avatar.css +15 -4
- package/dist/cjs/components/Avatar/AvatarGroup.js +4 -2
- package/dist/cjs/components/Avatar/AvatarGroup.js.map +1 -1
- package/dist/cjs/components/Tabs/Tabs.js +6 -3
- package/dist/cjs/components/Tabs/Tabs.js.map +1 -1
- package/dist/esm/components/Avatar/Avatar.css +15 -4
- package/dist/esm/components/Avatar/AvatarGroup.js +4 -2
- package/dist/esm/components/Avatar/AvatarGroup.js.map +1 -1
- package/dist/esm/components/Tabs/Tabs.js +6 -3
- package/dist/esm/components/Tabs/Tabs.js.map +1 -1
- package/dist/styles/components/Avatar.css +15 -4
- package/dist/styles/index.css +397 -385
- package/dist/styles/muka-dark.css +397 -385
- package/dist/styles/muka-light.css +397 -385
- package/dist/styles/tokens-bouwplan-dark.css +7 -6
- package/dist/styles/tokens-bouwplan-light.css +7 -6
- package/dist/styles/tokens-fscl-dark.css +7 -6
- package/dist/styles/tokens-fscl-light.css +7 -6
- package/dist/styles/tokens-grip-dark.css +7 -6
- package/dist/styles/tokens-grip-light.css +7 -6
- package/dist/styles/tokens-muka-dark.css +7 -6
- package/dist/styles/tokens-muka-light.css +7 -6
- package/dist/styles/tokens-wireframe-dark.css +7 -6
- package/dist/styles/tokens-wireframe-light.css +7 -6
- package/dist/styles/wireframe-dark.css +397 -385
- package/dist/styles/wireframe-light.css +397 -385
- package/dist/types/components/Avatar/AvatarGroup.d.ts +8 -0
- package/dist/types/components/Avatar/AvatarGroup.d.ts.map +1 -1
- package/dist/types/components/Tabs/Tabs.d.ts.map +1 -1
- package/package.json +1 -1
- package/tokens/t4-components/avatar.json +13 -7
|
@@ -2047,15 +2047,16 @@ body {
|
|
|
2047
2047
|
--avatar-status-size-xl: 1.5rem;
|
|
2048
2048
|
--avatar-group-ring-width: 0.125rem;
|
|
2049
2049
|
--avatar-group-ring-color: #fcfcfc;
|
|
2050
|
-
--avatar-group-overlap-tight-
|
|
2051
|
-
--avatar-group-overlap-tight-2xs: 1.
|
|
2050
|
+
--avatar-group-overlap-tight-xs: 1.75rem;
|
|
2051
|
+
--avatar-group-overlap-tight-2xs: 1.5rem;
|
|
2052
2052
|
--avatar-group-overlap-tight-3xs: 1rem;
|
|
2053
|
-
--avatar-group-overlap-compact-
|
|
2054
|
-
--avatar-group-overlap-compact-2xs:
|
|
2055
|
-
--avatar-group-overlap-compact-3xs: 0.
|
|
2056
|
-
--avatar-group-overlap-spacious-
|
|
2053
|
+
--avatar-group-overlap-compact-xs: 1.5rem;
|
|
2054
|
+
--avatar-group-overlap-compact-2xs: 1.125rem;
|
|
2055
|
+
--avatar-group-overlap-compact-3xs: 0.875rem;
|
|
2056
|
+
--avatar-group-overlap-spacious-xs: 1rem;
|
|
2057
2057
|
--avatar-group-overlap-spacious-2xs: 0.75rem;
|
|
2058
2058
|
--avatar-group-overlap-spacious-3xs: 0.5rem;
|
|
2059
|
+
--avatar-group-badge-offset: 0.25rem;
|
|
2059
2060
|
--toast-color-info-background: #202020;
|
|
2060
2061
|
--toast-color-info-foreground: #fcfcfc;
|
|
2061
2062
|
--toast-color-info-accent: #edf6ff;
|
|
@@ -4597,114 +4598,6 @@ body {
|
|
|
4597
4598
|
}
|
|
4598
4599
|
|
|
4599
4600
|
|
|
4600
|
-
/* SwipeActions */
|
|
4601
|
-
/* SwipeActions Component Styles */
|
|
4602
|
-
|
|
4603
|
-
.muka-swipe-actions {
|
|
4604
|
-
position: relative;
|
|
4605
|
-
overflow: hidden;
|
|
4606
|
-
touch-action: pan-y;
|
|
4607
|
-
-webkit-user-select: none;
|
|
4608
|
-
user-select: none;
|
|
4609
|
-
background-color: var(--color-surface-level3);
|
|
4610
|
-
}
|
|
4611
|
-
|
|
4612
|
-
.muka-swipe-actions--disabled {
|
|
4613
|
-
touch-action: auto;
|
|
4614
|
-
}
|
|
4615
|
-
|
|
4616
|
-
/* ─── Row that holds the actual content ────────────────── */
|
|
4617
|
-
|
|
4618
|
-
.muka-swipe-actions__row {
|
|
4619
|
-
position: relative;
|
|
4620
|
-
z-index: 1;
|
|
4621
|
-
background-color: inherit;
|
|
4622
|
-
will-change: transform;
|
|
4623
|
-
}
|
|
4624
|
-
|
|
4625
|
-
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
4626
|
-
|
|
4627
|
-
.muka-swipe-actions__panel {
|
|
4628
|
-
position: absolute;
|
|
4629
|
-
top: 0;
|
|
4630
|
-
bottom: 0;
|
|
4631
|
-
display: flex;
|
|
4632
|
-
align-items: stretch;
|
|
4633
|
-
z-index: 0;
|
|
4634
|
-
}
|
|
4635
|
-
|
|
4636
|
-
.muka-swipe-actions__panel--left {
|
|
4637
|
-
left: 0;
|
|
4638
|
-
}
|
|
4639
|
-
|
|
4640
|
-
.muka-swipe-actions__panel--right {
|
|
4641
|
-
right: 0;
|
|
4642
|
-
}
|
|
4643
|
-
|
|
4644
|
-
/* ─── Single action button ─────────────────────────────── */
|
|
4645
|
-
|
|
4646
|
-
.muka-swipe-actions__button {
|
|
4647
|
-
display: flex;
|
|
4648
|
-
flex-direction: column;
|
|
4649
|
-
align-items: center;
|
|
4650
|
-
justify-content: center;
|
|
4651
|
-
gap: var(--spacing-1);
|
|
4652
|
-
border: none;
|
|
4653
|
-
cursor: pointer;
|
|
4654
|
-
padding: var(--spacing-2);
|
|
4655
|
-
background-color: var(--color-surface-level2);
|
|
4656
|
-
color: var(--color-text-default-default);
|
|
4657
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
4658
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
4659
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
4660
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
4661
|
-
-webkit-tap-highlight-color: transparent;
|
|
4662
|
-
transition: filter 0.12s ease;
|
|
4663
|
-
}
|
|
4664
|
-
|
|
4665
|
-
.muka-swipe-actions__button:hover {
|
|
4666
|
-
filter: brightness(0.95);
|
|
4667
|
-
}
|
|
4668
|
-
|
|
4669
|
-
.muka-swipe-actions__button:focus-visible {
|
|
4670
|
-
outline: 2px solid var(--color-action-default);
|
|
4671
|
-
outline-offset: -2px;
|
|
4672
|
-
}
|
|
4673
|
-
|
|
4674
|
-
.muka-swipe-actions__button-icon {
|
|
4675
|
-
display: inline-flex;
|
|
4676
|
-
align-items: center;
|
|
4677
|
-
justify-content: center;
|
|
4678
|
-
}
|
|
4679
|
-
|
|
4680
|
-
/* ─── Color variants ───────────────────────────────────── */
|
|
4681
|
-
|
|
4682
|
-
.muka-swipe-actions__button--neutral {
|
|
4683
|
-
background-color: var(--color-surface-level2);
|
|
4684
|
-
color: var(--color-text-default-default);
|
|
4685
|
-
}
|
|
4686
|
-
|
|
4687
|
-
.muka-swipe-actions__button--primary {
|
|
4688
|
-
background-color: var(--color-action-default);
|
|
4689
|
-
color: var(--color-text-default-inverse);
|
|
4690
|
-
}
|
|
4691
|
-
|
|
4692
|
-
.muka-swipe-actions__button--success {
|
|
4693
|
-
background-color: var(--color-state-success-default);
|
|
4694
|
-
color: var(--color-text-default-inverse);
|
|
4695
|
-
}
|
|
4696
|
-
|
|
4697
|
-
.muka-swipe-actions__button--warning {
|
|
4698
|
-
background-color: var(--color-state-warning-default);
|
|
4699
|
-
color: var(--color-text-default-default);
|
|
4700
|
-
}
|
|
4701
|
-
|
|
4702
|
-
.muka-swipe-actions__button--destructive {
|
|
4703
|
-
background-color: var(--color-state-error-default);
|
|
4704
|
-
color: var(--color-text-default-inverse);
|
|
4705
|
-
}
|
|
4706
|
-
|
|
4707
|
-
|
|
4708
4601
|
/* Spinner */
|
|
4709
4602
|
/* Spinner Component Styles */
|
|
4710
4603
|
|
|
@@ -4868,6 +4761,114 @@ body {
|
|
|
4868
4761
|
}
|
|
4869
4762
|
|
|
4870
4763
|
|
|
4764
|
+
/* SwipeActions */
|
|
4765
|
+
/* SwipeActions Component Styles */
|
|
4766
|
+
|
|
4767
|
+
.muka-swipe-actions {
|
|
4768
|
+
position: relative;
|
|
4769
|
+
overflow: hidden;
|
|
4770
|
+
touch-action: pan-y;
|
|
4771
|
+
-webkit-user-select: none;
|
|
4772
|
+
user-select: none;
|
|
4773
|
+
background-color: var(--color-surface-level3);
|
|
4774
|
+
}
|
|
4775
|
+
|
|
4776
|
+
.muka-swipe-actions--disabled {
|
|
4777
|
+
touch-action: auto;
|
|
4778
|
+
}
|
|
4779
|
+
|
|
4780
|
+
/* ─── Row that holds the actual content ────────────────── */
|
|
4781
|
+
|
|
4782
|
+
.muka-swipe-actions__row {
|
|
4783
|
+
position: relative;
|
|
4784
|
+
z-index: 1;
|
|
4785
|
+
background-color: inherit;
|
|
4786
|
+
will-change: transform;
|
|
4787
|
+
}
|
|
4788
|
+
|
|
4789
|
+
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
4790
|
+
|
|
4791
|
+
.muka-swipe-actions__panel {
|
|
4792
|
+
position: absolute;
|
|
4793
|
+
top: 0;
|
|
4794
|
+
bottom: 0;
|
|
4795
|
+
display: flex;
|
|
4796
|
+
align-items: stretch;
|
|
4797
|
+
z-index: 0;
|
|
4798
|
+
}
|
|
4799
|
+
|
|
4800
|
+
.muka-swipe-actions__panel--left {
|
|
4801
|
+
left: 0;
|
|
4802
|
+
}
|
|
4803
|
+
|
|
4804
|
+
.muka-swipe-actions__panel--right {
|
|
4805
|
+
right: 0;
|
|
4806
|
+
}
|
|
4807
|
+
|
|
4808
|
+
/* ─── Single action button ─────────────────────────────── */
|
|
4809
|
+
|
|
4810
|
+
.muka-swipe-actions__button {
|
|
4811
|
+
display: flex;
|
|
4812
|
+
flex-direction: column;
|
|
4813
|
+
align-items: center;
|
|
4814
|
+
justify-content: center;
|
|
4815
|
+
gap: var(--spacing-1);
|
|
4816
|
+
border: none;
|
|
4817
|
+
cursor: pointer;
|
|
4818
|
+
padding: var(--spacing-2);
|
|
4819
|
+
background-color: var(--color-surface-level2);
|
|
4820
|
+
color: var(--color-text-default-default);
|
|
4821
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
4822
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
4823
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
4824
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
4825
|
+
-webkit-tap-highlight-color: transparent;
|
|
4826
|
+
transition: filter 0.12s ease;
|
|
4827
|
+
}
|
|
4828
|
+
|
|
4829
|
+
.muka-swipe-actions__button:hover {
|
|
4830
|
+
filter: brightness(0.95);
|
|
4831
|
+
}
|
|
4832
|
+
|
|
4833
|
+
.muka-swipe-actions__button:focus-visible {
|
|
4834
|
+
outline: 2px solid var(--color-action-default);
|
|
4835
|
+
outline-offset: -2px;
|
|
4836
|
+
}
|
|
4837
|
+
|
|
4838
|
+
.muka-swipe-actions__button-icon {
|
|
4839
|
+
display: inline-flex;
|
|
4840
|
+
align-items: center;
|
|
4841
|
+
justify-content: center;
|
|
4842
|
+
}
|
|
4843
|
+
|
|
4844
|
+
/* ─── Color variants ───────────────────────────────────── */
|
|
4845
|
+
|
|
4846
|
+
.muka-swipe-actions__button--neutral {
|
|
4847
|
+
background-color: var(--color-surface-level2);
|
|
4848
|
+
color: var(--color-text-default-default);
|
|
4849
|
+
}
|
|
4850
|
+
|
|
4851
|
+
.muka-swipe-actions__button--primary {
|
|
4852
|
+
background-color: var(--color-action-default);
|
|
4853
|
+
color: var(--color-text-default-inverse);
|
|
4854
|
+
}
|
|
4855
|
+
|
|
4856
|
+
.muka-swipe-actions__button--success {
|
|
4857
|
+
background-color: var(--color-state-success-default);
|
|
4858
|
+
color: var(--color-text-default-inverse);
|
|
4859
|
+
}
|
|
4860
|
+
|
|
4861
|
+
.muka-swipe-actions__button--warning {
|
|
4862
|
+
background-color: var(--color-state-warning-default);
|
|
4863
|
+
color: var(--color-text-default-default);
|
|
4864
|
+
}
|
|
4865
|
+
|
|
4866
|
+
.muka-swipe-actions__button--destructive {
|
|
4867
|
+
background-color: var(--color-state-error-default);
|
|
4868
|
+
color: var(--color-text-default-inverse);
|
|
4869
|
+
}
|
|
4870
|
+
|
|
4871
|
+
|
|
4871
4872
|
/* SocialSignInButton */
|
|
4872
4873
|
/*
|
|
4873
4874
|
* SocialSignInButton lockup colors are provider-mandated (Apple HIG /
|
|
@@ -10788,38 +10789,6 @@ li.muka-listitem {
|
|
|
10788
10789
|
}
|
|
10789
10790
|
|
|
10790
10791
|
|
|
10791
|
-
/* DatePicker */
|
|
10792
|
-
/* DatePicker — compact native date field. */
|
|
10793
|
-
/* Field/label/helper styling is inherited from ../Input/Input.css. */
|
|
10794
|
-
|
|
10795
|
-
/* Adopt the field typography on the native date input. */
|
|
10796
|
-
.muka-datepicker__field .muka-input__native {
|
|
10797
|
-
font-family: var(--text-input-md-fontFamily);
|
|
10798
|
-
font-size: var(--text-input-md-fontSize);
|
|
10799
|
-
line-height: var(--text-input-md-lineHeight);
|
|
10800
|
-
}
|
|
10801
|
-
|
|
10802
|
-
.muka-datepicker__field--sm .muka-input__native {
|
|
10803
|
-
font-family: var(--text-input-sm-fontFamily);
|
|
10804
|
-
font-size: var(--text-input-sm-fontSize);
|
|
10805
|
-
line-height: var(--text-input-sm-lineHeight);
|
|
10806
|
-
}
|
|
10807
|
-
|
|
10808
|
-
/* Tint the browser calendar indicator to match the field foreground. */
|
|
10809
|
-
.muka-datepicker__field .muka-input__native::-webkit-calendar-picker-indicator {
|
|
10810
|
-
cursor: pointer;
|
|
10811
|
-
opacity: 0.6;
|
|
10812
|
-
}
|
|
10813
|
-
|
|
10814
|
-
.muka-datepicker__field .muka-input__native::-webkit-calendar-picker-indicator:hover {
|
|
10815
|
-
opacity: 1;
|
|
10816
|
-
}
|
|
10817
|
-
|
|
10818
|
-
.muka-datepicker__field .muka-input__native:disabled {
|
|
10819
|
-
cursor: not-allowed;
|
|
10820
|
-
}
|
|
10821
|
-
|
|
10822
|
-
|
|
10823
10792
|
/* Dialog */
|
|
10824
10793
|
/* Dialog Component Styles */
|
|
10825
10794
|
|
|
@@ -11088,12 +11057,44 @@ li.muka-listitem {
|
|
|
11088
11057
|
}
|
|
11089
11058
|
|
|
11090
11059
|
|
|
11091
|
-
/*
|
|
11092
|
-
/*
|
|
11060
|
+
/* DatePicker */
|
|
11061
|
+
/* DatePicker — compact native date field. */
|
|
11062
|
+
/* Field/label/helper styling is inherited from ../Input/Input.css. */
|
|
11093
11063
|
|
|
11094
|
-
.
|
|
11095
|
-
|
|
11096
|
-
|
|
11064
|
+
/* Adopt the field typography on the native date input. */
|
|
11065
|
+
.muka-datepicker__field .muka-input__native {
|
|
11066
|
+
font-family: var(--text-input-md-fontFamily);
|
|
11067
|
+
font-size: var(--text-input-md-fontSize);
|
|
11068
|
+
line-height: var(--text-input-md-lineHeight);
|
|
11069
|
+
}
|
|
11070
|
+
|
|
11071
|
+
.muka-datepicker__field--sm .muka-input__native {
|
|
11072
|
+
font-family: var(--text-input-sm-fontFamily);
|
|
11073
|
+
font-size: var(--text-input-sm-fontSize);
|
|
11074
|
+
line-height: var(--text-input-sm-lineHeight);
|
|
11075
|
+
}
|
|
11076
|
+
|
|
11077
|
+
/* Tint the browser calendar indicator to match the field foreground. */
|
|
11078
|
+
.muka-datepicker__field .muka-input__native::-webkit-calendar-picker-indicator {
|
|
11079
|
+
cursor: pointer;
|
|
11080
|
+
opacity: 0.6;
|
|
11081
|
+
}
|
|
11082
|
+
|
|
11083
|
+
.muka-datepicker__field .muka-input__native::-webkit-calendar-picker-indicator:hover {
|
|
11084
|
+
opacity: 1;
|
|
11085
|
+
}
|
|
11086
|
+
|
|
11087
|
+
.muka-datepicker__field .muka-input__native:disabled {
|
|
11088
|
+
cursor: not-allowed;
|
|
11089
|
+
}
|
|
11090
|
+
|
|
11091
|
+
|
|
11092
|
+
/* DataTable */
|
|
11093
|
+
/* DataTable Component Styles - Using Muka Design Tokens */
|
|
11094
|
+
|
|
11095
|
+
.muka-data-table-wrapper {
|
|
11096
|
+
width: 100%;
|
|
11097
|
+
overflow-x: auto;
|
|
11097
11098
|
-webkit-overflow-scrolling: touch;
|
|
11098
11099
|
}
|
|
11099
11100
|
|
|
@@ -12405,128 +12406,6 @@ li.muka-listitem {
|
|
|
12405
12406
|
}
|
|
12406
12407
|
|
|
12407
12408
|
|
|
12408
|
-
/* ChatPhotoGrid */
|
|
12409
|
-
/* ChatPhotoGrid Component Styles */
|
|
12410
|
-
|
|
12411
|
-
/*
|
|
12412
|
-
* The grid clips to its own radius and the tiles stay square, so only the four
|
|
12413
|
-
* outer corners round — matching the Figma "Wrapper" frame (5225:1394).
|
|
12414
|
-
*/
|
|
12415
|
-
.muka-chat-photo-grid {
|
|
12416
|
-
display: grid;
|
|
12417
|
-
gap: var(--chatphotogrid-gap);
|
|
12418
|
-
width: 100%;
|
|
12419
|
-
min-width: 0;
|
|
12420
|
-
overflow: hidden;
|
|
12421
|
-
border-radius: var(--chatphotogrid-radius);
|
|
12422
|
-
}
|
|
12423
|
-
|
|
12424
|
-
/* ─── Tiles ────────────────────────────────────────────── */
|
|
12425
|
-
|
|
12426
|
-
.muka-chat-photo-grid__tile {
|
|
12427
|
-
position: relative;
|
|
12428
|
-
display: block;
|
|
12429
|
-
overflow: hidden;
|
|
12430
|
-
min-width: 0;
|
|
12431
|
-
padding: 0;
|
|
12432
|
-
margin: 0;
|
|
12433
|
-
border: none;
|
|
12434
|
-
background-color: var(--chatphotogrid-color-placeholder);
|
|
12435
|
-
aspect-ratio: 1 / 1;
|
|
12436
|
-
}
|
|
12437
|
-
|
|
12438
|
-
button.muka-chat-photo-grid__tile {
|
|
12439
|
-
cursor: pointer;
|
|
12440
|
-
appearance: none;
|
|
12441
|
-
}
|
|
12442
|
-
|
|
12443
|
-
button.muka-chat-photo-grid__tile:focus-visible {
|
|
12444
|
-
outline: var(--border-width-bold) solid var(--color-border-focus);
|
|
12445
|
-
/* Inset, so the grid's overflow clip cannot cut the ring off on corner tiles */
|
|
12446
|
-
outline-offset: calc(-1 * var(--border-width-bold));
|
|
12447
|
-
}
|
|
12448
|
-
|
|
12449
|
-
.muka-chat-photo-grid__image {
|
|
12450
|
-
display: block;
|
|
12451
|
-
width: 100%;
|
|
12452
|
-
height: 100%;
|
|
12453
|
-
object-fit: cover;
|
|
12454
|
-
}
|
|
12455
|
-
|
|
12456
|
-
/* ─── Overflow tile ────────────────────────────────────── */
|
|
12457
|
-
|
|
12458
|
-
.muka-chat-photo-grid__overflow {
|
|
12459
|
-
position: absolute;
|
|
12460
|
-
inset: 0;
|
|
12461
|
-
display: flex;
|
|
12462
|
-
align-items: center;
|
|
12463
|
-
justify-content: center;
|
|
12464
|
-
background-color: var(--chatphotogrid-color-overflow-background);
|
|
12465
|
-
color: var(--chatphotogrid-color-overflow-foreground);
|
|
12466
|
-
font-family: var(--text-body-2xl-regular-fontFamily);
|
|
12467
|
-
font-weight: var(--text-body-2xl-regular-fontWeight);
|
|
12468
|
-
font-size: var(--text-body-2xl-regular-fontSize);
|
|
12469
|
-
line-height: var(--text-body-2xl-regular-lineHeight);
|
|
12470
|
-
}
|
|
12471
|
-
|
|
12472
|
-
/* ─── Layouts ──────────────────────────────────────────── */
|
|
12473
|
-
|
|
12474
|
-
.muka-chat-photo-grid--1 {
|
|
12475
|
-
grid-template-columns: 1fr;
|
|
12476
|
-
}
|
|
12477
|
-
|
|
12478
|
-
.muka-chat-photo-grid--landscape .muka-chat-photo-grid__tile {
|
|
12479
|
-
aspect-ratio: 4 / 3;
|
|
12480
|
-
}
|
|
12481
|
-
|
|
12482
|
-
.muka-chat-photo-grid--portrait .muka-chat-photo-grid__tile {
|
|
12483
|
-
aspect-ratio: 3 / 4;
|
|
12484
|
-
}
|
|
12485
|
-
|
|
12486
|
-
.muka-chat-photo-grid--2 {
|
|
12487
|
-
grid-template-columns: repeat(2, 1fr);
|
|
12488
|
-
}
|
|
12489
|
-
|
|
12490
|
-
.muka-chat-photo-grid--3 {
|
|
12491
|
-
grid-template-columns: repeat(3, 1fr);
|
|
12492
|
-
}
|
|
12493
|
-
|
|
12494
|
-
.muka-chat-photo-grid--4 {
|
|
12495
|
-
grid-template-columns: repeat(2, 1fr);
|
|
12496
|
-
}
|
|
12497
|
-
|
|
12498
|
-
/* 5 photos: a 2-up row above a 3-up row, on a shared 6-column track */
|
|
12499
|
-
.muka-chat-photo-grid--5 {
|
|
12500
|
-
grid-template-columns: repeat(6, 1fr);
|
|
12501
|
-
}
|
|
12502
|
-
|
|
12503
|
-
.muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(-n + 2) {
|
|
12504
|
-
grid-column: span 3;
|
|
12505
|
-
}
|
|
12506
|
-
|
|
12507
|
-
.muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(n + 3) {
|
|
12508
|
-
grid-column: span 2;
|
|
12509
|
-
}
|
|
12510
|
-
|
|
12511
|
-
.muka-chat-photo-grid--6,
|
|
12512
|
-
.muka-chat-photo-grid--overflow {
|
|
12513
|
-
grid-template-columns: repeat(3, 1fr);
|
|
12514
|
-
}
|
|
12515
|
-
|
|
12516
|
-
/* ─── Print ────────────────────────────────────────────── */
|
|
12517
|
-
|
|
12518
|
-
@media print {
|
|
12519
|
-
.muka-chat-photo-grid {
|
|
12520
|
-
break-inside: avoid;
|
|
12521
|
-
}
|
|
12522
|
-
|
|
12523
|
-
.muka-chat-photo-grid__image {
|
|
12524
|
-
print-color-adjust: exact;
|
|
12525
|
-
-webkit-print-color-adjust: exact;
|
|
12526
|
-
}
|
|
12527
|
-
}
|
|
12528
|
-
|
|
12529
|
-
|
|
12530
12409
|
/* Checkbox */
|
|
12531
12410
|
/* Checkbox Component Styles - Using Muka Design Tokens */
|
|
12532
12411
|
|
|
@@ -12694,6 +12573,128 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
12694
12573
|
}
|
|
12695
12574
|
|
|
12696
12575
|
|
|
12576
|
+
/* ChatPhotoGrid */
|
|
12577
|
+
/* ChatPhotoGrid Component Styles */
|
|
12578
|
+
|
|
12579
|
+
/*
|
|
12580
|
+
* The grid clips to its own radius and the tiles stay square, so only the four
|
|
12581
|
+
* outer corners round — matching the Figma "Wrapper" frame (5225:1394).
|
|
12582
|
+
*/
|
|
12583
|
+
.muka-chat-photo-grid {
|
|
12584
|
+
display: grid;
|
|
12585
|
+
gap: var(--chatphotogrid-gap);
|
|
12586
|
+
width: 100%;
|
|
12587
|
+
min-width: 0;
|
|
12588
|
+
overflow: hidden;
|
|
12589
|
+
border-radius: var(--chatphotogrid-radius);
|
|
12590
|
+
}
|
|
12591
|
+
|
|
12592
|
+
/* ─── Tiles ────────────────────────────────────────────── */
|
|
12593
|
+
|
|
12594
|
+
.muka-chat-photo-grid__tile {
|
|
12595
|
+
position: relative;
|
|
12596
|
+
display: block;
|
|
12597
|
+
overflow: hidden;
|
|
12598
|
+
min-width: 0;
|
|
12599
|
+
padding: 0;
|
|
12600
|
+
margin: 0;
|
|
12601
|
+
border: none;
|
|
12602
|
+
background-color: var(--chatphotogrid-color-placeholder);
|
|
12603
|
+
aspect-ratio: 1 / 1;
|
|
12604
|
+
}
|
|
12605
|
+
|
|
12606
|
+
button.muka-chat-photo-grid__tile {
|
|
12607
|
+
cursor: pointer;
|
|
12608
|
+
appearance: none;
|
|
12609
|
+
}
|
|
12610
|
+
|
|
12611
|
+
button.muka-chat-photo-grid__tile:focus-visible {
|
|
12612
|
+
outline: var(--border-width-bold) solid var(--color-border-focus);
|
|
12613
|
+
/* Inset, so the grid's overflow clip cannot cut the ring off on corner tiles */
|
|
12614
|
+
outline-offset: calc(-1 * var(--border-width-bold));
|
|
12615
|
+
}
|
|
12616
|
+
|
|
12617
|
+
.muka-chat-photo-grid__image {
|
|
12618
|
+
display: block;
|
|
12619
|
+
width: 100%;
|
|
12620
|
+
height: 100%;
|
|
12621
|
+
object-fit: cover;
|
|
12622
|
+
}
|
|
12623
|
+
|
|
12624
|
+
/* ─── Overflow tile ────────────────────────────────────── */
|
|
12625
|
+
|
|
12626
|
+
.muka-chat-photo-grid__overflow {
|
|
12627
|
+
position: absolute;
|
|
12628
|
+
inset: 0;
|
|
12629
|
+
display: flex;
|
|
12630
|
+
align-items: center;
|
|
12631
|
+
justify-content: center;
|
|
12632
|
+
background-color: var(--chatphotogrid-color-overflow-background);
|
|
12633
|
+
color: var(--chatphotogrid-color-overflow-foreground);
|
|
12634
|
+
font-family: var(--text-body-2xl-regular-fontFamily);
|
|
12635
|
+
font-weight: var(--text-body-2xl-regular-fontWeight);
|
|
12636
|
+
font-size: var(--text-body-2xl-regular-fontSize);
|
|
12637
|
+
line-height: var(--text-body-2xl-regular-lineHeight);
|
|
12638
|
+
}
|
|
12639
|
+
|
|
12640
|
+
/* ─── Layouts ──────────────────────────────────────────── */
|
|
12641
|
+
|
|
12642
|
+
.muka-chat-photo-grid--1 {
|
|
12643
|
+
grid-template-columns: 1fr;
|
|
12644
|
+
}
|
|
12645
|
+
|
|
12646
|
+
.muka-chat-photo-grid--landscape .muka-chat-photo-grid__tile {
|
|
12647
|
+
aspect-ratio: 4 / 3;
|
|
12648
|
+
}
|
|
12649
|
+
|
|
12650
|
+
.muka-chat-photo-grid--portrait .muka-chat-photo-grid__tile {
|
|
12651
|
+
aspect-ratio: 3 / 4;
|
|
12652
|
+
}
|
|
12653
|
+
|
|
12654
|
+
.muka-chat-photo-grid--2 {
|
|
12655
|
+
grid-template-columns: repeat(2, 1fr);
|
|
12656
|
+
}
|
|
12657
|
+
|
|
12658
|
+
.muka-chat-photo-grid--3 {
|
|
12659
|
+
grid-template-columns: repeat(3, 1fr);
|
|
12660
|
+
}
|
|
12661
|
+
|
|
12662
|
+
.muka-chat-photo-grid--4 {
|
|
12663
|
+
grid-template-columns: repeat(2, 1fr);
|
|
12664
|
+
}
|
|
12665
|
+
|
|
12666
|
+
/* 5 photos: a 2-up row above a 3-up row, on a shared 6-column track */
|
|
12667
|
+
.muka-chat-photo-grid--5 {
|
|
12668
|
+
grid-template-columns: repeat(6, 1fr);
|
|
12669
|
+
}
|
|
12670
|
+
|
|
12671
|
+
.muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(-n + 2) {
|
|
12672
|
+
grid-column: span 3;
|
|
12673
|
+
}
|
|
12674
|
+
|
|
12675
|
+
.muka-chat-photo-grid--5 .muka-chat-photo-grid__tile:nth-child(n + 3) {
|
|
12676
|
+
grid-column: span 2;
|
|
12677
|
+
}
|
|
12678
|
+
|
|
12679
|
+
.muka-chat-photo-grid--6,
|
|
12680
|
+
.muka-chat-photo-grid--overflow {
|
|
12681
|
+
grid-template-columns: repeat(3, 1fr);
|
|
12682
|
+
}
|
|
12683
|
+
|
|
12684
|
+
/* ─── Print ────────────────────────────────────────────── */
|
|
12685
|
+
|
|
12686
|
+
@media print {
|
|
12687
|
+
.muka-chat-photo-grid {
|
|
12688
|
+
break-inside: avoid;
|
|
12689
|
+
}
|
|
12690
|
+
|
|
12691
|
+
.muka-chat-photo-grid__image {
|
|
12692
|
+
print-color-adjust: exact;
|
|
12693
|
+
-webkit-print-color-adjust: exact;
|
|
12694
|
+
}
|
|
12695
|
+
}
|
|
12696
|
+
|
|
12697
|
+
|
|
12697
12698
|
/* ChatMessageStack */
|
|
12698
12699
|
/* ChatMessageStack Component Styles */
|
|
12699
12700
|
|
|
@@ -13979,114 +13980,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
13979
13980
|
}
|
|
13980
13981
|
|
|
13981
13982
|
|
|
13982
|
-
/* BadgeNumber */
|
|
13983
|
-
/* BadgeNumber Component Styles - Using Muka Design Tokens */
|
|
13984
|
-
|
|
13985
|
-
.muka-badge-number {
|
|
13986
|
-
display: inline-flex;
|
|
13987
|
-
align-items: center;
|
|
13988
|
-
justify-content: center;
|
|
13989
|
-
border-radius: var(--border-radius-full);
|
|
13990
|
-
white-space: nowrap;
|
|
13991
|
-
user-select: none;
|
|
13992
|
-
box-sizing: border-box;
|
|
13993
|
-
}
|
|
13994
|
-
|
|
13995
|
-
/*
|
|
13996
|
-
* Sizes — fixed height, matching min-width (so a single digit renders as a
|
|
13997
|
-
* circle), horizontal padding, and bold label typography. Vertical centering
|
|
13998
|
-
* is handled by the fixed height + align-items: center.
|
|
13999
|
-
*/
|
|
14000
|
-
.muka-badge-number--2xs {
|
|
14001
|
-
height: var(--badge-number-size-2xs);
|
|
14002
|
-
min-width: var(--badge-number-size-2xs);
|
|
14003
|
-
padding: 0 var(--badge-number-padding-2xs);
|
|
14004
|
-
font-family: var(--text-label-xs-bold-fontFamily);
|
|
14005
|
-
font-weight: var(--text-label-xs-bold-fontWeight);
|
|
14006
|
-
font-size: var(--text-label-xs-bold-fontSize);
|
|
14007
|
-
line-height: var(--text-label-xs-bold-lineHeight);
|
|
14008
|
-
}
|
|
14009
|
-
|
|
14010
|
-
.muka-badge-number--xs {
|
|
14011
|
-
height: var(--badge-number-size-xs);
|
|
14012
|
-
min-width: var(--badge-number-size-xs);
|
|
14013
|
-
padding: 0 var(--badge-number-padding-xs);
|
|
14014
|
-
font-family: var(--text-label-sm-bold-fontFamily);
|
|
14015
|
-
font-weight: var(--text-label-sm-bold-fontWeight);
|
|
14016
|
-
font-size: var(--text-label-sm-bold-fontSize);
|
|
14017
|
-
line-height: var(--text-label-sm-bold-lineHeight);
|
|
14018
|
-
}
|
|
14019
|
-
|
|
14020
|
-
.muka-badge-number--sm {
|
|
14021
|
-
height: var(--badge-number-size-sm);
|
|
14022
|
-
min-width: var(--badge-number-size-sm);
|
|
14023
|
-
padding: 0 var(--badge-number-padding-sm);
|
|
14024
|
-
font-family: var(--text-label-md-bold-fontFamily);
|
|
14025
|
-
font-weight: var(--text-label-md-bold-fontWeight);
|
|
14026
|
-
font-size: var(--text-label-md-bold-fontSize);
|
|
14027
|
-
line-height: var(--text-label-md-bold-lineHeight);
|
|
14028
|
-
}
|
|
14029
|
-
|
|
14030
|
-
.muka-badge-number--md {
|
|
14031
|
-
height: var(--badge-number-size-md);
|
|
14032
|
-
min-width: var(--badge-number-size-md);
|
|
14033
|
-
padding: 0 var(--badge-number-padding-md);
|
|
14034
|
-
font-family: var(--text-label-lg-bold-fontFamily);
|
|
14035
|
-
font-weight: var(--text-label-lg-bold-fontWeight);
|
|
14036
|
-
font-size: var(--text-label-lg-bold-fontSize);
|
|
14037
|
-
line-height: var(--text-label-lg-bold-lineHeight);
|
|
14038
|
-
}
|
|
14039
|
-
|
|
14040
|
-
.muka-badge-number--lg {
|
|
14041
|
-
height: var(--badge-number-size-lg);
|
|
14042
|
-
min-width: var(--badge-number-size-lg);
|
|
14043
|
-
padding: 0 var(--badge-number-padding-lg);
|
|
14044
|
-
font-family: var(--text-label-2xl-bold-fontFamily);
|
|
14045
|
-
font-weight: var(--text-label-2xl-bold-fontWeight);
|
|
14046
|
-
font-size: var(--text-label-2xl-bold-fontSize);
|
|
14047
|
-
line-height: var(--text-label-2xl-bold-lineHeight);
|
|
14048
|
-
}
|
|
14049
|
-
|
|
14050
|
-
.muka-badge-number__label {
|
|
14051
|
-
/*
|
|
14052
|
-
* The badge sets a tight line-height for compact sizing, which would clip
|
|
14053
|
-
* glyph descenders; give the label a roomier line-height. Vertical centering
|
|
14054
|
-
* is unaffected because the badge height is fixed and content is centered.
|
|
14055
|
-
*/
|
|
14056
|
-
line-height: normal;
|
|
14057
|
-
}
|
|
14058
|
-
|
|
14059
|
-
/* Neutral variant */
|
|
14060
|
-
.muka-badge-number--neutral {
|
|
14061
|
-
background-color: var(--color-surface-level1);
|
|
14062
|
-
color: var(--color-text-default-default);
|
|
14063
|
-
}
|
|
14064
|
-
|
|
14065
|
-
/* Info variant */
|
|
14066
|
-
.muka-badge-number--info {
|
|
14067
|
-
background-color: var(--color-state-info-contrast);
|
|
14068
|
-
color: var(--color-text-default-inverse);
|
|
14069
|
-
}
|
|
14070
|
-
|
|
14071
|
-
/* Success variant */
|
|
14072
|
-
.muka-badge-number--success {
|
|
14073
|
-
background-color: var(--color-state-success-contrast);
|
|
14074
|
-
color: var(--color-text-default-inverse);
|
|
14075
|
-
}
|
|
14076
|
-
|
|
14077
|
-
/* Warning variant */
|
|
14078
|
-
.muka-badge-number--warning {
|
|
14079
|
-
background-color: var(--color-state-warning-contrast);
|
|
14080
|
-
color: var(--color-text-default-inverse);
|
|
14081
|
-
}
|
|
14082
|
-
|
|
14083
|
-
/* Error variant */
|
|
14084
|
-
.muka-badge-number--error {
|
|
14085
|
-
background-color: var(--color-state-error-contrast);
|
|
14086
|
-
color: var(--color-text-default-inverse);
|
|
14087
|
-
}
|
|
14088
|
-
|
|
14089
|
-
|
|
14090
13983
|
/* BottomBar */
|
|
14091
13984
|
/* BottomBar Component Styles */
|
|
14092
13985
|
|
|
@@ -14403,6 +14296,114 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
14403
14296
|
}
|
|
14404
14297
|
|
|
14405
14298
|
|
|
14299
|
+
/* BadgeNumber */
|
|
14300
|
+
/* BadgeNumber Component Styles - Using Muka Design Tokens */
|
|
14301
|
+
|
|
14302
|
+
.muka-badge-number {
|
|
14303
|
+
display: inline-flex;
|
|
14304
|
+
align-items: center;
|
|
14305
|
+
justify-content: center;
|
|
14306
|
+
border-radius: var(--border-radius-full);
|
|
14307
|
+
white-space: nowrap;
|
|
14308
|
+
user-select: none;
|
|
14309
|
+
box-sizing: border-box;
|
|
14310
|
+
}
|
|
14311
|
+
|
|
14312
|
+
/*
|
|
14313
|
+
* Sizes — fixed height, matching min-width (so a single digit renders as a
|
|
14314
|
+
* circle), horizontal padding, and bold label typography. Vertical centering
|
|
14315
|
+
* is handled by the fixed height + align-items: center.
|
|
14316
|
+
*/
|
|
14317
|
+
.muka-badge-number--2xs {
|
|
14318
|
+
height: var(--badge-number-size-2xs);
|
|
14319
|
+
min-width: var(--badge-number-size-2xs);
|
|
14320
|
+
padding: 0 var(--badge-number-padding-2xs);
|
|
14321
|
+
font-family: var(--text-label-xs-bold-fontFamily);
|
|
14322
|
+
font-weight: var(--text-label-xs-bold-fontWeight);
|
|
14323
|
+
font-size: var(--text-label-xs-bold-fontSize);
|
|
14324
|
+
line-height: var(--text-label-xs-bold-lineHeight);
|
|
14325
|
+
}
|
|
14326
|
+
|
|
14327
|
+
.muka-badge-number--xs {
|
|
14328
|
+
height: var(--badge-number-size-xs);
|
|
14329
|
+
min-width: var(--badge-number-size-xs);
|
|
14330
|
+
padding: 0 var(--badge-number-padding-xs);
|
|
14331
|
+
font-family: var(--text-label-sm-bold-fontFamily);
|
|
14332
|
+
font-weight: var(--text-label-sm-bold-fontWeight);
|
|
14333
|
+
font-size: var(--text-label-sm-bold-fontSize);
|
|
14334
|
+
line-height: var(--text-label-sm-bold-lineHeight);
|
|
14335
|
+
}
|
|
14336
|
+
|
|
14337
|
+
.muka-badge-number--sm {
|
|
14338
|
+
height: var(--badge-number-size-sm);
|
|
14339
|
+
min-width: var(--badge-number-size-sm);
|
|
14340
|
+
padding: 0 var(--badge-number-padding-sm);
|
|
14341
|
+
font-family: var(--text-label-md-bold-fontFamily);
|
|
14342
|
+
font-weight: var(--text-label-md-bold-fontWeight);
|
|
14343
|
+
font-size: var(--text-label-md-bold-fontSize);
|
|
14344
|
+
line-height: var(--text-label-md-bold-lineHeight);
|
|
14345
|
+
}
|
|
14346
|
+
|
|
14347
|
+
.muka-badge-number--md {
|
|
14348
|
+
height: var(--badge-number-size-md);
|
|
14349
|
+
min-width: var(--badge-number-size-md);
|
|
14350
|
+
padding: 0 var(--badge-number-padding-md);
|
|
14351
|
+
font-family: var(--text-label-lg-bold-fontFamily);
|
|
14352
|
+
font-weight: var(--text-label-lg-bold-fontWeight);
|
|
14353
|
+
font-size: var(--text-label-lg-bold-fontSize);
|
|
14354
|
+
line-height: var(--text-label-lg-bold-lineHeight);
|
|
14355
|
+
}
|
|
14356
|
+
|
|
14357
|
+
.muka-badge-number--lg {
|
|
14358
|
+
height: var(--badge-number-size-lg);
|
|
14359
|
+
min-width: var(--badge-number-size-lg);
|
|
14360
|
+
padding: 0 var(--badge-number-padding-lg);
|
|
14361
|
+
font-family: var(--text-label-2xl-bold-fontFamily);
|
|
14362
|
+
font-weight: var(--text-label-2xl-bold-fontWeight);
|
|
14363
|
+
font-size: var(--text-label-2xl-bold-fontSize);
|
|
14364
|
+
line-height: var(--text-label-2xl-bold-lineHeight);
|
|
14365
|
+
}
|
|
14366
|
+
|
|
14367
|
+
.muka-badge-number__label {
|
|
14368
|
+
/*
|
|
14369
|
+
* The badge sets a tight line-height for compact sizing, which would clip
|
|
14370
|
+
* glyph descenders; give the label a roomier line-height. Vertical centering
|
|
14371
|
+
* is unaffected because the badge height is fixed and content is centered.
|
|
14372
|
+
*/
|
|
14373
|
+
line-height: normal;
|
|
14374
|
+
}
|
|
14375
|
+
|
|
14376
|
+
/* Neutral variant */
|
|
14377
|
+
.muka-badge-number--neutral {
|
|
14378
|
+
background-color: var(--color-surface-level1);
|
|
14379
|
+
color: var(--color-text-default-default);
|
|
14380
|
+
}
|
|
14381
|
+
|
|
14382
|
+
/* Info variant */
|
|
14383
|
+
.muka-badge-number--info {
|
|
14384
|
+
background-color: var(--color-state-info-contrast);
|
|
14385
|
+
color: var(--color-text-default-inverse);
|
|
14386
|
+
}
|
|
14387
|
+
|
|
14388
|
+
/* Success variant */
|
|
14389
|
+
.muka-badge-number--success {
|
|
14390
|
+
background-color: var(--color-state-success-contrast);
|
|
14391
|
+
color: var(--color-text-default-inverse);
|
|
14392
|
+
}
|
|
14393
|
+
|
|
14394
|
+
/* Warning variant */
|
|
14395
|
+
.muka-badge-number--warning {
|
|
14396
|
+
background-color: var(--color-state-warning-contrast);
|
|
14397
|
+
color: var(--color-text-default-inverse);
|
|
14398
|
+
}
|
|
14399
|
+
|
|
14400
|
+
/* Error variant */
|
|
14401
|
+
.muka-badge-number--error {
|
|
14402
|
+
background-color: var(--color-state-error-contrast);
|
|
14403
|
+
color: var(--color-text-default-inverse);
|
|
14404
|
+
}
|
|
14405
|
+
|
|
14406
|
+
|
|
14406
14407
|
/* Badge */
|
|
14407
14408
|
/* Badge Component Styles - Using Muka Design Tokens */
|
|
14408
14409
|
|
|
@@ -14846,9 +14847,12 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
14846
14847
|
|
|
14847
14848
|
/* Avatar Group (Figma "Avatar Stack") */
|
|
14848
14849
|
.muka-avatar-group {
|
|
14850
|
+
position: relative;
|
|
14849
14851
|
display: inline-flex;
|
|
14850
14852
|
align-items: center;
|
|
14851
14853
|
flex-direction: row;
|
|
14854
|
+
/* Never stretch to a grid cell or column, so the badge stays on the last avatar */
|
|
14855
|
+
width: fit-content;
|
|
14852
14856
|
}
|
|
14853
14857
|
|
|
14854
14858
|
/* Later avatars sit on top of earlier ones (DOM order); a hovered one comes to the front */
|
|
@@ -14868,7 +14872,7 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
14868
14872
|
box-shadow: 0 0 0 var(--avatar-group-ring-width) var(--avatar-group-ring-color);
|
|
14869
14873
|
}
|
|
14870
14874
|
|
|
14871
|
-
/* Overlap. Figma specifies exact values for
|
|
14875
|
+
/* Overlap. Figma specifies exact values for 40 / 32 / 24px avatars (xs / 2xs / 3xs);
|
|
14872
14876
|
other sizes use the same proportions: tight 2/3, compact 1/2, spacious 1/3. */
|
|
14873
14877
|
.muka-avatar-group--4xs { --muka-avatar-group-size: var(--avatar-size-4xs); }
|
|
14874
14878
|
.muka-avatar-group--3xs { --muka-avatar-group-size: var(--avatar-size-3xs); }
|
|
@@ -14883,13 +14887,13 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
14883
14887
|
.muka-avatar-group--compact { --muka-avatar-group-overlap: calc(var(--muka-avatar-group-size) / 2); }
|
|
14884
14888
|
.muka-avatar-group--spacious { --muka-avatar-group-overlap: calc(var(--muka-avatar-group-size) / 3); }
|
|
14885
14889
|
|
|
14886
|
-
.muka-avatar-group--tight.muka-avatar-group--
|
|
14890
|
+
.muka-avatar-group--tight.muka-avatar-group--xs { --muka-avatar-group-overlap: var(--avatar-group-overlap-tight-xs); }
|
|
14887
14891
|
.muka-avatar-group--tight.muka-avatar-group--2xs { --muka-avatar-group-overlap: var(--avatar-group-overlap-tight-2xs); }
|
|
14888
14892
|
.muka-avatar-group--tight.muka-avatar-group--3xs { --muka-avatar-group-overlap: var(--avatar-group-overlap-tight-3xs); }
|
|
14889
|
-
.muka-avatar-group--compact.muka-avatar-group--
|
|
14893
|
+
.muka-avatar-group--compact.muka-avatar-group--xs { --muka-avatar-group-overlap: var(--avatar-group-overlap-compact-xs); }
|
|
14890
14894
|
.muka-avatar-group--compact.muka-avatar-group--2xs { --muka-avatar-group-overlap: var(--avatar-group-overlap-compact-2xs); }
|
|
14891
14895
|
.muka-avatar-group--compact.muka-avatar-group--3xs { --muka-avatar-group-overlap: var(--avatar-group-overlap-compact-3xs); }
|
|
14892
|
-
.muka-avatar-group--spacious.muka-avatar-group--
|
|
14896
|
+
.muka-avatar-group--spacious.muka-avatar-group--xs { --muka-avatar-group-overlap: var(--avatar-group-overlap-spacious-xs); }
|
|
14893
14897
|
.muka-avatar-group--spacious.muka-avatar-group--2xs { --muka-avatar-group-overlap: var(--avatar-group-overlap-spacious-2xs); }
|
|
14894
14898
|
.muka-avatar-group--spacious.muka-avatar-group--3xs { --muka-avatar-group-overlap: var(--avatar-group-overlap-spacious-3xs); }
|
|
14895
14899
|
|
|
@@ -14897,6 +14901,14 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
14897
14901
|
margin-left: calc(-1 * var(--muka-avatar-group-overlap));
|
|
14898
14902
|
}
|
|
14899
14903
|
|
|
14904
|
+
/* Badge: a BadgeNumber on the top-right corner of the stack, above every avatar */
|
|
14905
|
+
.muka-avatar-group__badge {
|
|
14906
|
+
position: absolute;
|
|
14907
|
+
top: calc(-1 * var(--avatar-group-badge-offset));
|
|
14908
|
+
right: calc(-1 * var(--avatar-group-badge-offset));
|
|
14909
|
+
z-index: 20;
|
|
14910
|
+
}
|
|
14911
|
+
|
|
14900
14912
|
/* Overflow avatar styling */
|
|
14901
14913
|
.muka-avatar--overflow {
|
|
14902
14914
|
background-color: var(--avatar-color-background-default);
|