@revikornmann/muka-ui 0.32.0 → 0.33.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/Button/Button.css +6 -0
- package/dist/cjs/components/ChatComposer/ChatComposer.css +22 -0
- package/dist/cjs/components/ChatComposer/ChatComposer.js +23 -6
- package/dist/cjs/components/ChatComposer/ChatComposer.js.map +1 -1
- package/dist/cjs/components/VoiceRecorder/useVoiceRecorder.js +14 -0
- package/dist/cjs/components/VoiceRecorder/useVoiceRecorder.js.map +1 -1
- package/dist/esm/components/Button/Button.css +6 -0
- package/dist/esm/components/ChatComposer/ChatComposer.css +22 -0
- package/dist/esm/components/ChatComposer/ChatComposer.js +23 -6
- package/dist/esm/components/ChatComposer/ChatComposer.js.map +1 -1
- package/dist/esm/components/VoiceRecorder/useVoiceRecorder.js +14 -0
- package/dist/esm/components/VoiceRecorder/useVoiceRecorder.js.map +1 -1
- package/dist/styles/base.css +10 -7
- package/dist/styles/components/Button.css +6 -0
- package/dist/styles/components/ChatComposer.css +22 -0
- package/dist/styles/index.css +1043 -1012
- package/dist/styles/muka-dark.css +1043 -1012
- package/dist/styles/muka-light.css +1043 -1012
- package/dist/styles/wireframe-dark.css +1049 -1018
- package/dist/styles/wireframe-light.css +1049 -1018
- package/dist/types/components/ChatComposer/ChatComposer.d.ts +25 -2
- package/dist/types/components/ChatComposer/ChatComposer.d.ts.map +1 -1
- package/dist/types/components/VoiceRecorder/useVoiceRecorder.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -57,19 +57,22 @@
|
|
|
57
57
|
--spacing-4: 1rem;
|
|
58
58
|
--spacing-5: 1.25rem;
|
|
59
59
|
|
|
60
|
-
--button-padding-sm-x: 0.
|
|
60
|
+
--button-padding-sm-x: 0.75rem;
|
|
61
61
|
--button-padding-sm-y: 0.5rem;
|
|
62
62
|
--button-padding-md-x: 0.75rem;
|
|
63
63
|
--button-padding-md-y: 0.75rem;
|
|
64
64
|
--button-padding-lg-x: 1rem;
|
|
65
65
|
--button-padding-lg-y: 1rem;
|
|
66
66
|
|
|
67
|
-
/* Border radius fallbacks
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
--
|
|
72
|
-
|
|
67
|
+
/* Border radius fallbacks. Shape and spacing match the brand tokens (every
|
|
68
|
+
brand but wireframe, which draws square buttons), so a page whose theme
|
|
69
|
+
tokens load late or out of order keeps the real geometry. Colours and
|
|
70
|
+
fonts above stay deliberately neutral. */
|
|
71
|
+
--radius-md: 0.375rem;
|
|
72
|
+
|
|
73
|
+
--button-radius-sm: 0.75rem;
|
|
74
|
+
--button-radius-md: 0.75rem;
|
|
75
|
+
--button-radius-lg: 0.75rem;
|
|
73
76
|
|
|
74
77
|
/* Typography fallbacks */
|
|
75
78
|
--text-label-sm-fontSize: 0.875rem;
|
|
@@ -2673,78 +2676,6 @@ body {
|
|
|
2673
2676
|
}
|
|
2674
2677
|
|
|
2675
2678
|
|
|
2676
|
-
/* TypingIndicator */
|
|
2677
|
-
/* TypingIndicator Component Styles */
|
|
2678
|
-
|
|
2679
|
-
.muka-typing-indicator {
|
|
2680
|
-
display: inline-flex;
|
|
2681
|
-
align-items: center;
|
|
2682
|
-
gap: var(--spacing-1);
|
|
2683
|
-
padding: var(--spacing-2) var(--spacing-3);
|
|
2684
|
-
}
|
|
2685
|
-
|
|
2686
|
-
.muka-typing-indicator__dot {
|
|
2687
|
-
display: inline-block;
|
|
2688
|
-
border-radius: 50%;
|
|
2689
|
-
background-color: var(--color-text-subtle-default);
|
|
2690
|
-
animation: muka-typing-bounce 1.2s ease-in-out infinite;
|
|
2691
|
-
}
|
|
2692
|
-
|
|
2693
|
-
.muka-typing-indicator--sm .muka-typing-indicator__dot {
|
|
2694
|
-
width: 4px;
|
|
2695
|
-
height: 4px;
|
|
2696
|
-
}
|
|
2697
|
-
|
|
2698
|
-
.muka-typing-indicator--md .muka-typing-indicator__dot {
|
|
2699
|
-
width: 6px;
|
|
2700
|
-
height: 6px;
|
|
2701
|
-
}
|
|
2702
|
-
|
|
2703
|
-
.muka-typing-indicator__dot:nth-child(1) {
|
|
2704
|
-
animation-delay: 0s;
|
|
2705
|
-
}
|
|
2706
|
-
.muka-typing-indicator__dot:nth-child(2) {
|
|
2707
|
-
animation-delay: 0.16s;
|
|
2708
|
-
}
|
|
2709
|
-
.muka-typing-indicator__dot:nth-child(3) {
|
|
2710
|
-
animation-delay: 0.32s;
|
|
2711
|
-
}
|
|
2712
|
-
|
|
2713
|
-
@keyframes muka-typing-bounce {
|
|
2714
|
-
0%, 80%, 100% {
|
|
2715
|
-
transform: translateY(0);
|
|
2716
|
-
opacity: 0.4;
|
|
2717
|
-
}
|
|
2718
|
-
40% {
|
|
2719
|
-
transform: translateY(-3px);
|
|
2720
|
-
opacity: 1;
|
|
2721
|
-
}
|
|
2722
|
-
}
|
|
2723
|
-
|
|
2724
|
-
@media (prefers-reduced-motion: reduce) {
|
|
2725
|
-
.muka-typing-indicator__dot {
|
|
2726
|
-
animation: muka-typing-fade 1.4s ease-in-out infinite;
|
|
2727
|
-
transform: none !important;
|
|
2728
|
-
}
|
|
2729
|
-
@keyframes muka-typing-fade {
|
|
2730
|
-
0%, 100% { opacity: 0.4; }
|
|
2731
|
-
50% { opacity: 1; }
|
|
2732
|
-
}
|
|
2733
|
-
}
|
|
2734
|
-
|
|
2735
|
-
.muka-typing-indicator__sr-label {
|
|
2736
|
-
position: absolute;
|
|
2737
|
-
width: 1px;
|
|
2738
|
-
height: 1px;
|
|
2739
|
-
padding: 0;
|
|
2740
|
-
margin: -1px;
|
|
2741
|
-
overflow: hidden;
|
|
2742
|
-
clip: rect(0, 0, 0, 0);
|
|
2743
|
-
white-space: nowrap;
|
|
2744
|
-
border: 0;
|
|
2745
|
-
}
|
|
2746
|
-
|
|
2747
|
-
|
|
2748
2679
|
/* TopBar */
|
|
2749
2680
|
/* ControlBar Component Styles */
|
|
2750
2681
|
|
|
@@ -2895,6 +2826,78 @@ body {
|
|
|
2895
2826
|
}
|
|
2896
2827
|
|
|
2897
2828
|
|
|
2829
|
+
/* TypingIndicator */
|
|
2830
|
+
/* TypingIndicator Component Styles */
|
|
2831
|
+
|
|
2832
|
+
.muka-typing-indicator {
|
|
2833
|
+
display: inline-flex;
|
|
2834
|
+
align-items: center;
|
|
2835
|
+
gap: var(--spacing-1);
|
|
2836
|
+
padding: var(--spacing-2) var(--spacing-3);
|
|
2837
|
+
}
|
|
2838
|
+
|
|
2839
|
+
.muka-typing-indicator__dot {
|
|
2840
|
+
display: inline-block;
|
|
2841
|
+
border-radius: 50%;
|
|
2842
|
+
background-color: var(--color-text-subtle-default);
|
|
2843
|
+
animation: muka-typing-bounce 1.2s ease-in-out infinite;
|
|
2844
|
+
}
|
|
2845
|
+
|
|
2846
|
+
.muka-typing-indicator--sm .muka-typing-indicator__dot {
|
|
2847
|
+
width: 4px;
|
|
2848
|
+
height: 4px;
|
|
2849
|
+
}
|
|
2850
|
+
|
|
2851
|
+
.muka-typing-indicator--md .muka-typing-indicator__dot {
|
|
2852
|
+
width: 6px;
|
|
2853
|
+
height: 6px;
|
|
2854
|
+
}
|
|
2855
|
+
|
|
2856
|
+
.muka-typing-indicator__dot:nth-child(1) {
|
|
2857
|
+
animation-delay: 0s;
|
|
2858
|
+
}
|
|
2859
|
+
.muka-typing-indicator__dot:nth-child(2) {
|
|
2860
|
+
animation-delay: 0.16s;
|
|
2861
|
+
}
|
|
2862
|
+
.muka-typing-indicator__dot:nth-child(3) {
|
|
2863
|
+
animation-delay: 0.32s;
|
|
2864
|
+
}
|
|
2865
|
+
|
|
2866
|
+
@keyframes muka-typing-bounce {
|
|
2867
|
+
0%, 80%, 100% {
|
|
2868
|
+
transform: translateY(0);
|
|
2869
|
+
opacity: 0.4;
|
|
2870
|
+
}
|
|
2871
|
+
40% {
|
|
2872
|
+
transform: translateY(-3px);
|
|
2873
|
+
opacity: 1;
|
|
2874
|
+
}
|
|
2875
|
+
}
|
|
2876
|
+
|
|
2877
|
+
@media (prefers-reduced-motion: reduce) {
|
|
2878
|
+
.muka-typing-indicator__dot {
|
|
2879
|
+
animation: muka-typing-fade 1.4s ease-in-out infinite;
|
|
2880
|
+
transform: none !important;
|
|
2881
|
+
}
|
|
2882
|
+
@keyframes muka-typing-fade {
|
|
2883
|
+
0%, 100% { opacity: 0.4; }
|
|
2884
|
+
50% { opacity: 1; }
|
|
2885
|
+
}
|
|
2886
|
+
}
|
|
2887
|
+
|
|
2888
|
+
.muka-typing-indicator__sr-label {
|
|
2889
|
+
position: absolute;
|
|
2890
|
+
width: 1px;
|
|
2891
|
+
height: 1px;
|
|
2892
|
+
padding: 0;
|
|
2893
|
+
margin: -1px;
|
|
2894
|
+
overflow: hidden;
|
|
2895
|
+
clip: rect(0, 0, 0, 0);
|
|
2896
|
+
white-space: nowrap;
|
|
2897
|
+
border: 0;
|
|
2898
|
+
}
|
|
2899
|
+
|
|
2900
|
+
|
|
2898
2901
|
/* Tooltip */
|
|
2899
2902
|
/* Tooltip Component Styles */
|
|
2900
2903
|
|
|
@@ -4618,82 +4621,268 @@ body {
|
|
|
4618
4621
|
}
|
|
4619
4622
|
|
|
4620
4623
|
|
|
4621
|
-
/*
|
|
4622
|
-
/*
|
|
4624
|
+
/* SwipeActions */
|
|
4625
|
+
/* SwipeActions Component Styles */
|
|
4623
4626
|
|
|
4624
|
-
.muka-
|
|
4625
|
-
|
|
4626
|
-
|
|
4627
|
+
.muka-swipe-actions {
|
|
4628
|
+
position: relative;
|
|
4629
|
+
overflow: hidden;
|
|
4630
|
+
touch-action: pan-y;
|
|
4631
|
+
-webkit-user-select: none;
|
|
4632
|
+
user-select: none;
|
|
4633
|
+
background-color: var(--color-surface-level3);
|
|
4627
4634
|
}
|
|
4628
4635
|
|
|
4629
|
-
|
|
4630
|
-
|
|
4631
|
-
.muka-spec-row {
|
|
4632
|
-
display: flex;
|
|
4633
|
-
align-items: flex-start;
|
|
4634
|
-
gap: var(--spacing-3);
|
|
4635
|
-
padding-bottom: var(--spacing-3);
|
|
4636
|
+
.muka-swipe-actions--disabled {
|
|
4637
|
+
touch-action: auto;
|
|
4636
4638
|
}
|
|
4637
4639
|
|
|
4638
|
-
/* ───
|
|
4640
|
+
/* ─── Row that holds the actual content ────────────────── */
|
|
4639
4641
|
|
|
4640
|
-
.muka-
|
|
4641
|
-
|
|
4642
|
-
|
|
4643
|
-
color:
|
|
4644
|
-
|
|
4645
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
4646
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
4647
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
4648
|
-
overflow: hidden;
|
|
4649
|
-
text-overflow: ellipsis;
|
|
4650
|
-
white-space: nowrap;
|
|
4642
|
+
.muka-swipe-actions__row {
|
|
4643
|
+
position: relative;
|
|
4644
|
+
z-index: 1;
|
|
4645
|
+
background-color: inherit;
|
|
4646
|
+
will-change: transform;
|
|
4651
4647
|
}
|
|
4652
4648
|
|
|
4653
|
-
/* ───
|
|
4649
|
+
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
4654
4650
|
|
|
4655
|
-
.muka-
|
|
4656
|
-
|
|
4657
|
-
|
|
4658
|
-
|
|
4651
|
+
.muka-swipe-actions__panel {
|
|
4652
|
+
position: absolute;
|
|
4653
|
+
top: 0;
|
|
4654
|
+
bottom: 0;
|
|
4659
4655
|
display: flex;
|
|
4660
|
-
|
|
4661
|
-
|
|
4656
|
+
align-items: stretch;
|
|
4657
|
+
z-index: 0;
|
|
4662
4658
|
}
|
|
4663
4659
|
|
|
4664
|
-
.muka-
|
|
4665
|
-
|
|
4666
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
4667
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
4668
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
4660
|
+
.muka-swipe-actions__panel--left {
|
|
4661
|
+
left: 0;
|
|
4669
4662
|
}
|
|
4670
4663
|
|
|
4671
|
-
.muka-
|
|
4672
|
-
|
|
4673
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
4674
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
4675
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
4676
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
4664
|
+
.muka-swipe-actions__panel--right {
|
|
4665
|
+
right: 0;
|
|
4677
4666
|
}
|
|
4678
4667
|
|
|
4679
|
-
/* ───
|
|
4668
|
+
/* ─── Single action button ─────────────────────────────── */
|
|
4680
4669
|
|
|
4681
|
-
.muka-
|
|
4682
|
-
|
|
4670
|
+
.muka-swipe-actions__button {
|
|
4671
|
+
display: flex;
|
|
4672
|
+
flex-direction: column;
|
|
4673
|
+
align-items: center;
|
|
4674
|
+
justify-content: center;
|
|
4675
|
+
gap: var(--spacing-1);
|
|
4676
|
+
border: none;
|
|
4677
|
+
cursor: pointer;
|
|
4678
|
+
padding: var(--spacing-2);
|
|
4679
|
+
background-color: var(--color-surface-level2);
|
|
4680
|
+
color: var(--color-text-default-default);
|
|
4681
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
4682
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
4683
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
4684
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
4685
|
+
-webkit-tap-highlight-color: transparent;
|
|
4686
|
+
transition: filter 0.12s ease;
|
|
4683
4687
|
}
|
|
4684
4688
|
|
|
4685
|
-
.muka-
|
|
4686
|
-
|
|
4689
|
+
.muka-swipe-actions__button:hover {
|
|
4690
|
+
filter: brightness(0.95);
|
|
4687
4691
|
}
|
|
4688
4692
|
|
|
4689
|
-
.muka-
|
|
4690
|
-
|
|
4693
|
+
.muka-swipe-actions__button:focus-visible {
|
|
4694
|
+
outline: 2px solid var(--color-action-default);
|
|
4695
|
+
outline-offset: -2px;
|
|
4691
4696
|
}
|
|
4692
4697
|
|
|
4693
|
-
|
|
4698
|
+
.muka-swipe-actions__button-icon {
|
|
4699
|
+
display: inline-flex;
|
|
4700
|
+
align-items: center;
|
|
4701
|
+
justify-content: center;
|
|
4702
|
+
}
|
|
4694
4703
|
|
|
4695
|
-
|
|
4696
|
-
|
|
4704
|
+
/* ─── Color variants ───────────────────────────────────── */
|
|
4705
|
+
|
|
4706
|
+
.muka-swipe-actions__button--neutral {
|
|
4707
|
+
background-color: var(--color-surface-level2);
|
|
4708
|
+
color: var(--color-text-default-default);
|
|
4709
|
+
}
|
|
4710
|
+
|
|
4711
|
+
.muka-swipe-actions__button--primary {
|
|
4712
|
+
background-color: var(--color-action-default);
|
|
4713
|
+
color: var(--color-text-default-inverse);
|
|
4714
|
+
}
|
|
4715
|
+
|
|
4716
|
+
.muka-swipe-actions__button--success {
|
|
4717
|
+
background-color: var(--color-state-success-default);
|
|
4718
|
+
color: var(--color-text-default-inverse);
|
|
4719
|
+
}
|
|
4720
|
+
|
|
4721
|
+
.muka-swipe-actions__button--warning {
|
|
4722
|
+
background-color: var(--color-state-warning-default);
|
|
4723
|
+
color: var(--color-text-default-default);
|
|
4724
|
+
}
|
|
4725
|
+
|
|
4726
|
+
.muka-swipe-actions__button--destructive {
|
|
4727
|
+
background-color: var(--color-state-error-default);
|
|
4728
|
+
color: var(--color-text-default-inverse);
|
|
4729
|
+
}
|
|
4730
|
+
|
|
4731
|
+
|
|
4732
|
+
/* Spinner */
|
|
4733
|
+
/* Spinner Component Styles */
|
|
4734
|
+
|
|
4735
|
+
.muka-spinner {
|
|
4736
|
+
display: inline-flex;
|
|
4737
|
+
align-items: center;
|
|
4738
|
+
justify-content: center;
|
|
4739
|
+
color: var(--color-text-default-default);
|
|
4740
|
+
line-height: 0;
|
|
4741
|
+
}
|
|
4742
|
+
|
|
4743
|
+
.muka-spinner--subtle {
|
|
4744
|
+
color: var(--color-text-subtle-default);
|
|
4745
|
+
}
|
|
4746
|
+
|
|
4747
|
+
.muka-spinner--inverse {
|
|
4748
|
+
color: var(--color-text-default-inverse);
|
|
4749
|
+
}
|
|
4750
|
+
|
|
4751
|
+
.muka-spinner__circle {
|
|
4752
|
+
display: inline-block;
|
|
4753
|
+
border-radius: 50%;
|
|
4754
|
+
border-style: solid;
|
|
4755
|
+
border-color: currentColor;
|
|
4756
|
+
border-right-color: transparent;
|
|
4757
|
+
animation: muka-spinner-rotate 0.7s linear infinite;
|
|
4758
|
+
box-sizing: border-box;
|
|
4759
|
+
}
|
|
4760
|
+
|
|
4761
|
+
/* ─── Sizes ───────────────────────────────────────────── */
|
|
4762
|
+
|
|
4763
|
+
.muka-spinner--sm .muka-spinner__circle {
|
|
4764
|
+
width: 16px;
|
|
4765
|
+
height: 16px;
|
|
4766
|
+
border-width: 2px;
|
|
4767
|
+
}
|
|
4768
|
+
|
|
4769
|
+
.muka-spinner--md .muka-spinner__circle {
|
|
4770
|
+
width: 20px;
|
|
4771
|
+
height: 20px;
|
|
4772
|
+
border-width: 2px;
|
|
4773
|
+
}
|
|
4774
|
+
|
|
4775
|
+
.muka-spinner--lg .muka-spinner__circle {
|
|
4776
|
+
width: 24px;
|
|
4777
|
+
height: 24px;
|
|
4778
|
+
border-width: 3px;
|
|
4779
|
+
}
|
|
4780
|
+
|
|
4781
|
+
/* ─── Visually-hidden label ───────────────────────────── */
|
|
4782
|
+
|
|
4783
|
+
.muka-spinner__sr-label {
|
|
4784
|
+
position: absolute;
|
|
4785
|
+
width: 1px;
|
|
4786
|
+
height: 1px;
|
|
4787
|
+
padding: 0;
|
|
4788
|
+
margin: -1px;
|
|
4789
|
+
overflow: hidden;
|
|
4790
|
+
clip: rect(0, 0, 0, 0);
|
|
4791
|
+
white-space: nowrap;
|
|
4792
|
+
border: 0;
|
|
4793
|
+
}
|
|
4794
|
+
|
|
4795
|
+
/* ─── Reduced motion ──────────────────────────────────── */
|
|
4796
|
+
|
|
4797
|
+
@keyframes muka-spinner-rotate {
|
|
4798
|
+
to {
|
|
4799
|
+
transform: rotate(360deg);
|
|
4800
|
+
}
|
|
4801
|
+
}
|
|
4802
|
+
|
|
4803
|
+
@media (prefers-reduced-motion: reduce) {
|
|
4804
|
+
.muka-spinner__circle {
|
|
4805
|
+
animation-duration: 2.5s;
|
|
4806
|
+
}
|
|
4807
|
+
}
|
|
4808
|
+
|
|
4809
|
+
|
|
4810
|
+
/* SpecList */
|
|
4811
|
+
/* SpecList Component Styles */
|
|
4812
|
+
|
|
4813
|
+
.muka-spec-list {
|
|
4814
|
+
margin: 0;
|
|
4815
|
+
padding: 0;
|
|
4816
|
+
}
|
|
4817
|
+
|
|
4818
|
+
/* ─── Row ─────────────────────────────────────────────── */
|
|
4819
|
+
|
|
4820
|
+
.muka-spec-row {
|
|
4821
|
+
display: flex;
|
|
4822
|
+
align-items: flex-start;
|
|
4823
|
+
gap: var(--spacing-3);
|
|
4824
|
+
padding-bottom: var(--spacing-3);
|
|
4825
|
+
}
|
|
4826
|
+
|
|
4827
|
+
/* ─── Label ───────────────────────────────────────────── */
|
|
4828
|
+
|
|
4829
|
+
.muka-spec-row__label {
|
|
4830
|
+
flex: 0 0 auto;
|
|
4831
|
+
margin: 0;
|
|
4832
|
+
color: var(--color-text-subtle-default);
|
|
4833
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
4834
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
4835
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
4836
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
4837
|
+
overflow: hidden;
|
|
4838
|
+
text-overflow: ellipsis;
|
|
4839
|
+
white-space: nowrap;
|
|
4840
|
+
}
|
|
4841
|
+
|
|
4842
|
+
/* ─── Value ───────────────────────────────────────────── */
|
|
4843
|
+
|
|
4844
|
+
.muka-spec-row__value {
|
|
4845
|
+
flex: 1 1 0;
|
|
4846
|
+
min-width: 0;
|
|
4847
|
+
margin: 0;
|
|
4848
|
+
display: flex;
|
|
4849
|
+
flex-direction: column;
|
|
4850
|
+
color: var(--color-text-default-default);
|
|
4851
|
+
}
|
|
4852
|
+
|
|
4853
|
+
.muka-spec-row__value-text {
|
|
4854
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
4855
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
4856
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
4857
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
4858
|
+
}
|
|
4859
|
+
|
|
4860
|
+
.muka-spec-row__hint {
|
|
4861
|
+
color: var(--color-text-subtle-default);
|
|
4862
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
4863
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
4864
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
4865
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
4866
|
+
}
|
|
4867
|
+
|
|
4868
|
+
/* ─── Label width (horizontal stacking) ───────────────── */
|
|
4869
|
+
|
|
4870
|
+
.muka-spec-list--label-small .muka-spec-row__label {
|
|
4871
|
+
width: 80px;
|
|
4872
|
+
}
|
|
4873
|
+
|
|
4874
|
+
.muka-spec-list--label-medium .muka-spec-row__label {
|
|
4875
|
+
width: 120px;
|
|
4876
|
+
}
|
|
4877
|
+
|
|
4878
|
+
.muka-spec-list--label-large .muka-spec-row__label {
|
|
4879
|
+
width: 160px;
|
|
4880
|
+
}
|
|
4881
|
+
|
|
4882
|
+
/* ─── Vertical stacking ───────────────────────────────── */
|
|
4883
|
+
|
|
4884
|
+
.muka-spec-list--vertical .muka-spec-row {
|
|
4885
|
+
flex-direction: column;
|
|
4697
4886
|
gap: var(--spacing-1);
|
|
4698
4887
|
}
|
|
4699
4888
|
|
|
@@ -5045,118 +5234,43 @@ body {
|
|
|
5045
5234
|
}
|
|
5046
5235
|
|
|
5047
5236
|
|
|
5048
|
-
/*
|
|
5049
|
-
/*
|
|
5050
|
-
|
|
5051
|
-
.muka-skeleton {
|
|
5052
|
-
background-color: var(--color-surface-level1);
|
|
5053
|
-
display: block;
|
|
5054
|
-
}
|
|
5237
|
+
/* Sheet */
|
|
5238
|
+
/* Sheet Component Styles */
|
|
5055
5239
|
|
|
5056
|
-
/*
|
|
5057
|
-
.muka-skeleton--text {
|
|
5058
|
-
height: 1em;
|
|
5059
|
-
border-radius: var(--radius-md);
|
|
5060
|
-
width: 100%;
|
|
5061
|
-
}
|
|
5240
|
+
/* ─── Backdrop ────────────────────────────────────────── */
|
|
5062
5241
|
|
|
5063
|
-
.muka-
|
|
5064
|
-
|
|
5065
|
-
|
|
5066
|
-
|
|
5242
|
+
.muka-sheet__overlay {
|
|
5243
|
+
position: fixed;
|
|
5244
|
+
inset: 0;
|
|
5245
|
+
background-color: var(--color-surface-backdrop);
|
|
5246
|
+
z-index: 50;
|
|
5067
5247
|
}
|
|
5068
5248
|
|
|
5069
|
-
|
|
5070
|
-
height: 7.5rem;
|
|
5071
|
-
border-radius: var(--radius-md);
|
|
5072
|
-
width: 100%;
|
|
5073
|
-
}
|
|
5249
|
+
/* ─── Surface ─────────────────────────────────────────── */
|
|
5074
5250
|
|
|
5075
|
-
|
|
5076
|
-
|
|
5077
|
-
|
|
5078
|
-
|
|
5251
|
+
.muka-sheet {
|
|
5252
|
+
position: fixed;
|
|
5253
|
+
left: 0;
|
|
5254
|
+
right: 0;
|
|
5255
|
+
bottom: 0;
|
|
5256
|
+
z-index: 51;
|
|
5079
5257
|
|
|
5080
|
-
/* Lines container */
|
|
5081
|
-
.muka-skeleton__lines {
|
|
5082
5258
|
display: flex;
|
|
5083
5259
|
flex-direction: column;
|
|
5084
|
-
gap: var(--spacing-2);
|
|
5085
|
-
}
|
|
5086
5260
|
|
|
5087
|
-
|
|
5088
|
-
|
|
5089
|
-
|
|
5090
|
-
|
|
5091
|
-
|
|
5092
|
-
|
|
5093
|
-
|
|
5094
|
-
|
|
5261
|
+
max-height: 96dvh;
|
|
5262
|
+
|
|
5263
|
+
background-color: var(--color-surface-level3);
|
|
5264
|
+
border-top-left-radius: var(--radius-lg);
|
|
5265
|
+
border-top-right-radius: var(--radius-lg);
|
|
5266
|
+
box-shadow: var(--shadow-level5);
|
|
5267
|
+
|
|
5268
|
+
outline: none;
|
|
5095
5269
|
}
|
|
5096
5270
|
|
|
5097
|
-
|
|
5098
|
-
|
|
5099
|
-
|
|
5100
|
-
var(--color-surface-level1) 25%,
|
|
5101
|
-
var(--color-surface-level2) 50%,
|
|
5102
|
-
var(--color-surface-level1) 75%
|
|
5103
|
-
);
|
|
5104
|
-
background-size: 200% 100%;
|
|
5105
|
-
animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
|
|
5106
|
-
}
|
|
5107
|
-
|
|
5108
|
-
/* Pulse animation */
|
|
5109
|
-
@keyframes muka-skeleton-pulse {
|
|
5110
|
-
0%, 100% {
|
|
5111
|
-
opacity: 1;
|
|
5112
|
-
}
|
|
5113
|
-
50% {
|
|
5114
|
-
opacity: 0.4;
|
|
5115
|
-
}
|
|
5116
|
-
}
|
|
5117
|
-
|
|
5118
|
-
.muka-skeleton--pulse {
|
|
5119
|
-
animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
|
|
5120
|
-
}
|
|
5121
|
-
|
|
5122
|
-
|
|
5123
|
-
/* Sheet */
|
|
5124
|
-
/* Sheet Component Styles */
|
|
5125
|
-
|
|
5126
|
-
/* ─── Backdrop ────────────────────────────────────────── */
|
|
5127
|
-
|
|
5128
|
-
.muka-sheet__overlay {
|
|
5129
|
-
position: fixed;
|
|
5130
|
-
inset: 0;
|
|
5131
|
-
background-color: var(--color-surface-backdrop);
|
|
5132
|
-
z-index: 50;
|
|
5133
|
-
}
|
|
5134
|
-
|
|
5135
|
-
/* ─── Surface ─────────────────────────────────────────── */
|
|
5136
|
-
|
|
5137
|
-
.muka-sheet {
|
|
5138
|
-
position: fixed;
|
|
5139
|
-
left: 0;
|
|
5140
|
-
right: 0;
|
|
5141
|
-
bottom: 0;
|
|
5142
|
-
z-index: 51;
|
|
5143
|
-
|
|
5144
|
-
display: flex;
|
|
5145
|
-
flex-direction: column;
|
|
5146
|
-
|
|
5147
|
-
max-height: 96dvh;
|
|
5148
|
-
|
|
5149
|
-
background-color: var(--color-surface-level3);
|
|
5150
|
-
border-top-left-radius: var(--radius-lg);
|
|
5151
|
-
border-top-right-radius: var(--radius-lg);
|
|
5152
|
-
box-shadow: var(--shadow-level5);
|
|
5153
|
-
|
|
5154
|
-
outline: none;
|
|
5155
|
-
}
|
|
5156
|
-
|
|
5157
|
-
/* Safe-area bottom inset for the iPhone home indicator. */
|
|
5158
|
-
.muka-sheet:not(.muka-sheet--no-safe-area) {
|
|
5159
|
-
padding-bottom: env(safe-area-inset-bottom);
|
|
5271
|
+
/* Safe-area bottom inset for the iPhone home indicator. */
|
|
5272
|
+
.muka-sheet:not(.muka-sheet--no-safe-area) {
|
|
5273
|
+
padding-bottom: env(safe-area-inset-bottom);
|
|
5160
5274
|
}
|
|
5161
5275
|
|
|
5162
5276
|
/* ─── Drag handle ─────────────────────────────────────── */
|
|
@@ -5200,6 +5314,81 @@ body {
|
|
|
5200
5314
|
}
|
|
5201
5315
|
|
|
5202
5316
|
|
|
5317
|
+
/* Skeleton */
|
|
5318
|
+
/* Skeleton Component Styles */
|
|
5319
|
+
|
|
5320
|
+
.muka-skeleton {
|
|
5321
|
+
background-color: var(--color-surface-level1);
|
|
5322
|
+
display: block;
|
|
5323
|
+
}
|
|
5324
|
+
|
|
5325
|
+
/* Variants */
|
|
5326
|
+
.muka-skeleton--text {
|
|
5327
|
+
height: 1em;
|
|
5328
|
+
border-radius: var(--radius-md);
|
|
5329
|
+
width: 100%;
|
|
5330
|
+
}
|
|
5331
|
+
|
|
5332
|
+
.muka-skeleton--circular {
|
|
5333
|
+
width: 2.5rem;
|
|
5334
|
+
height: 2.5rem;
|
|
5335
|
+
border-radius: var(--radius-full);
|
|
5336
|
+
}
|
|
5337
|
+
|
|
5338
|
+
.muka-skeleton--rectangular {
|
|
5339
|
+
height: 7.5rem;
|
|
5340
|
+
border-radius: var(--radius-md);
|
|
5341
|
+
width: 100%;
|
|
5342
|
+
}
|
|
5343
|
+
|
|
5344
|
+
/* Last line in multi-line text is shorter */
|
|
5345
|
+
.muka-skeleton--last-line {
|
|
5346
|
+
width: 80%;
|
|
5347
|
+
}
|
|
5348
|
+
|
|
5349
|
+
/* Lines container */
|
|
5350
|
+
.muka-skeleton__lines {
|
|
5351
|
+
display: flex;
|
|
5352
|
+
flex-direction: column;
|
|
5353
|
+
gap: var(--spacing-2);
|
|
5354
|
+
}
|
|
5355
|
+
|
|
5356
|
+
/* Shimmer animation */
|
|
5357
|
+
@keyframes muka-skeleton-shimmer {
|
|
5358
|
+
0% {
|
|
5359
|
+
background-position: -200% 0;
|
|
5360
|
+
}
|
|
5361
|
+
100% {
|
|
5362
|
+
background-position: 200% 0;
|
|
5363
|
+
}
|
|
5364
|
+
}
|
|
5365
|
+
|
|
5366
|
+
.muka-skeleton--shimmer {
|
|
5367
|
+
background: linear-gradient(
|
|
5368
|
+
90deg,
|
|
5369
|
+
var(--color-surface-level1) 25%,
|
|
5370
|
+
var(--color-surface-level2) 50%,
|
|
5371
|
+
var(--color-surface-level1) 75%
|
|
5372
|
+
);
|
|
5373
|
+
background-size: 200% 100%;
|
|
5374
|
+
animation: muka-skeleton-shimmer 1.5s ease-in-out infinite;
|
|
5375
|
+
}
|
|
5376
|
+
|
|
5377
|
+
/* Pulse animation */
|
|
5378
|
+
@keyframes muka-skeleton-pulse {
|
|
5379
|
+
0%, 100% {
|
|
5380
|
+
opacity: 1;
|
|
5381
|
+
}
|
|
5382
|
+
50% {
|
|
5383
|
+
opacity: 0.4;
|
|
5384
|
+
}
|
|
5385
|
+
}
|
|
5386
|
+
|
|
5387
|
+
.muka-skeleton--pulse {
|
|
5388
|
+
animation: muka-skeleton-pulse 1.5s ease-in-out infinite;
|
|
5389
|
+
}
|
|
5390
|
+
|
|
5391
|
+
|
|
5203
5392
|
/* Select */
|
|
5204
5393
|
/* Select Component Styles - Aligned with Input for consistency */
|
|
5205
5394
|
|
|
@@ -7956,608 +8145,101 @@ body {
|
|
|
7956
8145
|
}
|
|
7957
8146
|
|
|
7958
8147
|
|
|
7959
|
-
/*
|
|
7960
|
-
/*
|
|
7961
|
-
|
|
7962
|
-
/* ─── Wrapper ────────────────────────────────────────── */
|
|
8148
|
+
/* MediaViewer */
|
|
8149
|
+
/* MediaViewer Component Styles - Using Muka Design Tokens */
|
|
7963
8150
|
|
|
7964
|
-
|
|
7965
|
-
|
|
7966
|
-
|
|
8151
|
+
/* ─── Native dialog: full viewport ────────────────────── */
|
|
8152
|
+
.muka-media-viewer {
|
|
8153
|
+
position: fixed;
|
|
8154
|
+
inset: 0;
|
|
8155
|
+
width: 100%;
|
|
8156
|
+
height: 100%;
|
|
8157
|
+
max-width: none;
|
|
8158
|
+
max-height: none;
|
|
8159
|
+
margin: 0;
|
|
8160
|
+
padding: 0;
|
|
8161
|
+
border: none;
|
|
8162
|
+
display: flex;
|
|
8163
|
+
flex-direction: column;
|
|
7967
8164
|
overflow: hidden;
|
|
8165
|
+
overscroll-behavior: contain;
|
|
8166
|
+
color: var(--color-text-default-default);
|
|
8167
|
+
background-color: var(--color-black-alpha-12);
|
|
8168
|
+
animation: muka-media-viewer-in var(--motion-duration-component) var(--motion-easing-enter);
|
|
7968
8169
|
}
|
|
7969
8170
|
|
|
7970
|
-
|
|
7971
|
-
|
|
7972
|
-
pointer-events: none;
|
|
8171
|
+
.muka-media-viewer:not([open]) {
|
|
8172
|
+
display: none;
|
|
7973
8173
|
}
|
|
7974
8174
|
|
|
7975
|
-
|
|
7976
|
-
|
|
7977
|
-
.muka-nav-transition--active .muka-nav-transition__view {
|
|
7978
|
-
position: absolute;
|
|
7979
|
-
inset: 0;
|
|
8175
|
+
.muka-media-viewer::backdrop {
|
|
8176
|
+
background-color: var(--color-black-alpha-12);
|
|
7980
8177
|
}
|
|
7981
8178
|
|
|
7982
|
-
|
|
7983
|
-
|
|
7984
|
-
|
|
7985
|
-
|
|
7986
|
-
|
|
7987
|
-
|
|
7988
|
-
|
|
8179
|
+
@keyframes muka-media-viewer-in {
|
|
8180
|
+
from {
|
|
8181
|
+
opacity: 0;
|
|
8182
|
+
}
|
|
8183
|
+
to {
|
|
8184
|
+
opacity: 1;
|
|
8185
|
+
}
|
|
8186
|
+
}
|
|
7989
8187
|
|
|
7990
|
-
/* ───
|
|
8188
|
+
/* ─── Chrome: TopBar and footer sit on a surface ──────── */
|
|
8189
|
+
.muka-media-viewer__topbar {
|
|
8190
|
+
flex-shrink: 0;
|
|
8191
|
+
background-color: var(--color-surface-level3);
|
|
8192
|
+
}
|
|
7991
8193
|
|
|
7992
|
-
.muka-
|
|
7993
|
-
|
|
7994
|
-
|
|
7995
|
-
|
|
7996
|
-
max-height: var(--menu-content-max-height);
|
|
7997
|
-
overflow: hidden;
|
|
7998
|
-
background-color: var(--menu-content-color-background);
|
|
7999
|
-
border: var(--menu-content-border-width) solid var(--menu-content-color-border);
|
|
8000
|
-
border-radius: var(--menu-content-border-radius);
|
|
8001
|
-
box-shadow: var(--menu-content-shadow);
|
|
8194
|
+
.muka-media-viewer__live {
|
|
8195
|
+
position: absolute;
|
|
8196
|
+
width: 1px;
|
|
8197
|
+
height: 1px;
|
|
8002
8198
|
padding: 0;
|
|
8003
|
-
|
|
8004
|
-
|
|
8005
|
-
|
|
8006
|
-
|
|
8007
|
-
|
|
8199
|
+
margin: -1px;
|
|
8200
|
+
overflow: hidden;
|
|
8201
|
+
clip: rect(0, 0, 0, 0);
|
|
8202
|
+
white-space: nowrap;
|
|
8203
|
+
border: 0;
|
|
8008
8204
|
}
|
|
8009
8205
|
|
|
8010
|
-
|
|
8011
|
-
|
|
8206
|
+
/* ─── Stage: the dark area the images slide across ────── */
|
|
8207
|
+
.muka-media-viewer__stage {
|
|
8208
|
+
position: relative;
|
|
8012
8209
|
flex: 1 1 auto;
|
|
8013
8210
|
min-height: 0;
|
|
8014
|
-
|
|
8015
|
-
|
|
8211
|
+
overflow: hidden;
|
|
8212
|
+
/* Gestures are handled in JS: no browser panning or pinch on the stage. */
|
|
8213
|
+
touch-action: none;
|
|
8214
|
+
user-select: none;
|
|
8215
|
+
-webkit-user-select: none;
|
|
8016
8216
|
}
|
|
8017
8217
|
|
|
8018
|
-
.muka-
|
|
8019
|
-
|
|
8020
|
-
|
|
8021
|
-
|
|
8022
|
-
|
|
8023
|
-
|
|
8218
|
+
.muka-media-viewer__slide {
|
|
8219
|
+
position: absolute;
|
|
8220
|
+
inset: 0;
|
|
8221
|
+
display: flex;
|
|
8222
|
+
align-items: center;
|
|
8223
|
+
justify-content: center;
|
|
8224
|
+
padding: var(--spacing-4);
|
|
8225
|
+
transition: transform var(--motion-duration-component) var(--motion-easing-default);
|
|
8226
|
+
will-change: transform;
|
|
8024
8227
|
}
|
|
8025
8228
|
|
|
8026
|
-
|
|
8027
|
-
|
|
8028
|
-
|
|
8229
|
+
/* While a finger drags, the image follows it without easing. */
|
|
8230
|
+
.muka-media-viewer--dragging .muka-media-viewer__slide {
|
|
8231
|
+
transition: none;
|
|
8029
8232
|
}
|
|
8030
8233
|
|
|
8031
|
-
.muka-
|
|
8032
|
-
display:
|
|
8033
|
-
|
|
8034
|
-
|
|
8035
|
-
|
|
8036
|
-
|
|
8037
|
-
.
|
|
8038
|
-
|
|
8039
|
-
|
|
8040
|
-
flex-shrink: 0;
|
|
8041
|
-
/* Figma dropdown filter header: 48px, 8px inset, 32px icon slots. */
|
|
8042
|
-
height: var(--input-field-height-lg, 3rem);
|
|
8043
|
-
padding: 0 var(--spacing-2);
|
|
8044
|
-
border-bottom: var(--border-width-regular) solid var(--color-border-default);
|
|
8045
|
-
}
|
|
8046
|
-
|
|
8047
|
-
.muka-menu__search--sm {
|
|
8048
|
-
height: calc(var(--size-xl, 1.5rem) + var(--spacing-2) * 2);
|
|
8049
|
-
}
|
|
8050
|
-
|
|
8051
|
-
.muka-menu__search-icon,
|
|
8052
|
-
.muka-menu__search-clear {
|
|
8053
|
-
display: flex;
|
|
8054
|
-
align-items: center;
|
|
8055
|
-
justify-content: center;
|
|
8056
|
-
flex-shrink: 0;
|
|
8057
|
-
width: var(--size-2xl, 2rem);
|
|
8058
|
-
height: var(--size-2xl, 2rem);
|
|
8059
|
-
color: var(--color-text-subtle-default);
|
|
8060
|
-
}
|
|
8061
|
-
|
|
8062
|
-
.muka-menu__search-icon .muka-icon,
|
|
8063
|
-
.muka-menu__search-clear .muka-icon,
|
|
8064
|
-
.muka-menu__search-clear:hover,
|
|
8065
|
-
.muka-menu__search-clear:hover .muka-icon {
|
|
8066
|
-
color: var(--color-text-subtle-default);
|
|
8067
|
-
}
|
|
8068
|
-
|
|
8069
|
-
.muka-menu__search--sm .muka-menu__search-icon,
|
|
8070
|
-
.muka-menu__search--sm .muka-menu__search-clear {
|
|
8071
|
-
width: var(--size-xl, 1.5rem);
|
|
8072
|
-
height: var(--size-xl, 1.5rem);
|
|
8073
|
-
}
|
|
8074
|
-
|
|
8075
|
-
.muka-menu__search-input {
|
|
8076
|
-
flex: 1 1 auto;
|
|
8077
|
-
min-width: 0;
|
|
8078
|
-
border: none;
|
|
8079
|
-
outline: none;
|
|
8080
|
-
background: transparent;
|
|
8081
|
-
padding: 0 var(--spacing-1);
|
|
8082
|
-
font-family: var(--text-input-md-fontFamily);
|
|
8083
|
-
font-size: var(--text-input-md-fontSize);
|
|
8084
|
-
font-weight: var(--text-input-md-fontWeight);
|
|
8085
|
-
line-height: var(--text-input-md-lineHeight);
|
|
8086
|
-
color: var(--color-text-default-default);
|
|
8087
|
-
}
|
|
8088
|
-
|
|
8089
|
-
.muka-menu__search--sm .muka-menu__search-input {
|
|
8090
|
-
font-family: var(--text-input-sm-fontFamily);
|
|
8091
|
-
font-size: var(--text-input-sm-fontSize);
|
|
8092
|
-
font-weight: var(--text-input-sm-fontWeight);
|
|
8093
|
-
line-height: var(--text-input-sm-lineHeight);
|
|
8094
|
-
}
|
|
8095
|
-
|
|
8096
|
-
.muka-menu__search-input::placeholder {
|
|
8097
|
-
color: var(--color-text-subtle-default);
|
|
8098
|
-
}
|
|
8099
|
-
|
|
8100
|
-
.muka-menu__search-input::-webkit-search-cancel-button,
|
|
8101
|
-
.muka-menu__search-input::-webkit-search-decoration {
|
|
8102
|
-
-webkit-appearance: none;
|
|
8103
|
-
appearance: none;
|
|
8104
|
-
}
|
|
8105
|
-
|
|
8106
|
-
.muka-menu__empty {
|
|
8107
|
-
display: flex;
|
|
8108
|
-
align-items: center;
|
|
8109
|
-
min-height: var(--menu-item-height);
|
|
8110
|
-
padding: var(--menu-item-padding-y) var(--menu-item-padding-x);
|
|
8111
|
-
color: var(--color-text-subtle-default);
|
|
8112
|
-
font-family: var(--text-input-md-fontFamily);
|
|
8113
|
-
font-size: var(--text-input-md-fontSize);
|
|
8114
|
-
font-weight: var(--text-input-md-fontWeight);
|
|
8115
|
-
line-height: var(--text-input-md-lineHeight);
|
|
8116
|
-
pointer-events: none;
|
|
8117
|
-
user-select: none;
|
|
8118
|
-
}
|
|
8119
|
-
|
|
8120
|
-
.muka-menu__search-clear {
|
|
8121
|
-
padding: 0;
|
|
8122
|
-
border: none;
|
|
8123
|
-
background: transparent;
|
|
8124
|
-
cursor: pointer;
|
|
8125
|
-
}
|
|
8126
|
-
|
|
8127
|
-
.muka-menu__match {
|
|
8128
|
-
font-weight: var(--text-label-md-bold-fontWeight);
|
|
8129
|
-
}
|
|
8130
|
-
|
|
8131
|
-
.muka-menu__content--scrollbar {
|
|
8132
|
-
height: var(--menu-content-scroll-height, 20.625rem);
|
|
8133
|
-
max-height: var(--menu-content-scroll-height, 20.625rem);
|
|
8134
|
-
}
|
|
8135
|
-
|
|
8136
|
-
.muka-menu__content[data-state='open'] {
|
|
8137
|
-
animation-name: muka-menu-fade-in;
|
|
8138
|
-
}
|
|
8139
|
-
|
|
8140
|
-
.muka-menu__content[data-state='closed'] {
|
|
8141
|
-
animation-name: muka-menu-fade-out;
|
|
8142
|
-
}
|
|
8143
|
-
|
|
8144
|
-
.muka-menu__content[data-side='top'] {
|
|
8145
|
-
animation-name: muka-menu-slide-down;
|
|
8146
|
-
}
|
|
8147
|
-
|
|
8148
|
-
.muka-menu__content[data-side='bottom'] {
|
|
8149
|
-
animation-name: muka-menu-slide-up;
|
|
8150
|
-
}
|
|
8151
|
-
|
|
8152
|
-
.muka-menu__content[data-side='left'] {
|
|
8153
|
-
animation-name: muka-menu-slide-right;
|
|
8154
|
-
}
|
|
8155
|
-
|
|
8156
|
-
.muka-menu__content[data-side='right'] {
|
|
8157
|
-
animation-name: muka-menu-slide-left;
|
|
8158
|
-
}
|
|
8159
|
-
|
|
8160
|
-
/* ─── Menu Item ──────────────────────────────────────────────────────────── */
|
|
8161
|
-
|
|
8162
|
-
.muka-menu__item {
|
|
8163
|
-
position: relative;
|
|
8164
|
-
display: flex;
|
|
8165
|
-
align-items: center;
|
|
8166
|
-
gap: var(--menu-item-gap);
|
|
8167
|
-
min-height: var(--menu-item-height);
|
|
8168
|
-
/* Right gutter always reserved for floating trailers (enter / check). */
|
|
8169
|
-
padding: var(--menu-item-padding-y) var(--menu-item-padding-right) var(--menu-item-padding-y)
|
|
8170
|
-
var(--menu-item-padding-x);
|
|
8171
|
-
border-radius: var(--menu-item-border-radius);
|
|
8172
|
-
cursor: pointer;
|
|
8173
|
-
user-select: none;
|
|
8174
|
-
outline: none;
|
|
8175
|
-
font-family: var(--text-label-md-regular-fontFamily);
|
|
8176
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
8177
|
-
font-weight: var(--text-label-md-regular-fontWeight);
|
|
8178
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
8179
|
-
color: var(--menu-item-color-default-foreground);
|
|
8180
|
-
background-color: var(--menu-item-color-default-background);
|
|
8181
|
-
transition: background-color 100ms ease, color 100ms ease;
|
|
8182
|
-
white-space: nowrap;
|
|
8183
|
-
}
|
|
8184
|
-
|
|
8185
|
-
.muka-menu__item:hover,
|
|
8186
|
-
.muka-menu__item[data-highlighted] {
|
|
8187
|
-
background-color: var(--menu-item-color-hover-background);
|
|
8188
|
-
color: var(--menu-item-color-hover-foreground);
|
|
8189
|
-
}
|
|
8190
|
-
|
|
8191
|
-
.muka-menu__item:focus,
|
|
8192
|
-
.muka-menu__item[data-highlighted]:focus {
|
|
8193
|
-
background-color: var(--menu-item-color-focus-background);
|
|
8194
|
-
color: var(--menu-item-color-focus-foreground);
|
|
8195
|
-
}
|
|
8196
|
-
|
|
8197
|
-
/* Disabled */
|
|
8198
|
-
.muka-menu__item--disabled,
|
|
8199
|
-
.muka-menu__item[data-disabled] {
|
|
8200
|
-
color: var(--menu-item-color-disabled-foreground);
|
|
8201
|
-
background-color: var(--menu-item-color-disabled-background);
|
|
8202
|
-
cursor: not-allowed;
|
|
8203
|
-
pointer-events: none;
|
|
8204
|
-
}
|
|
8205
|
-
|
|
8206
|
-
.muka-menu__item--disabled .muka-menu__item-icon,
|
|
8207
|
-
.muka-menu__item[data-disabled] .muka-menu__item-icon {
|
|
8208
|
-
color: var(--menu-item-color-disabled-icon);
|
|
8209
|
-
}
|
|
8210
|
-
|
|
8211
|
-
/* Destructive */
|
|
8212
|
-
.muka-menu__item--destructive {
|
|
8213
|
-
color: var(--menu-item-color-destructive-default-foreground);
|
|
8214
|
-
}
|
|
8215
|
-
|
|
8216
|
-
.muka-menu__item--destructive .muka-menu__item-icon {
|
|
8217
|
-
color: var(--menu-item-color-destructive-default-icon);
|
|
8218
|
-
}
|
|
8219
|
-
|
|
8220
|
-
.muka-menu__item--destructive:hover,
|
|
8221
|
-
.muka-menu__item--destructive[data-highlighted] {
|
|
8222
|
-
background-color: var(--menu-item-color-destructive-hover-background);
|
|
8223
|
-
color: var(--menu-item-color-destructive-hover-foreground);
|
|
8224
|
-
}
|
|
8225
|
-
|
|
8226
|
-
.muka-menu__item--destructive:hover .muka-menu__item-icon,
|
|
8227
|
-
.muka-menu__item--destructive[data-highlighted] .muka-menu__item-icon {
|
|
8228
|
-
color: var(--menu-item-color-destructive-hover-icon);
|
|
8229
|
-
}
|
|
8230
|
-
|
|
8231
|
-
/* ─── Item Parts ─────────────────────────────────────────────────────────── */
|
|
8232
|
-
|
|
8233
|
-
.muka-menu__item-icon {
|
|
8234
|
-
display: flex;
|
|
8235
|
-
align-items: center;
|
|
8236
|
-
justify-content: center;
|
|
8237
|
-
flex-shrink: 0;
|
|
8238
|
-
color: var(--menu-item-color-default-icon);
|
|
8239
|
-
transition: color 100ms ease;
|
|
8240
|
-
}
|
|
8241
|
-
|
|
8242
|
-
.muka-menu__item:hover .muka-menu__item-icon,
|
|
8243
|
-
.muka-menu__item[data-highlighted] .muka-menu__item-icon {
|
|
8244
|
-
color: var(--menu-item-color-hover-icon);
|
|
8245
|
-
}
|
|
8246
|
-
|
|
8247
|
-
.muka-menu__item-label {
|
|
8248
|
-
flex: 1 1 auto;
|
|
8249
|
-
min-width: 0;
|
|
8250
|
-
white-space: nowrap;
|
|
8251
|
-
}
|
|
8252
|
-
|
|
8253
|
-
/* Shortcut trailers replace icons and sit with an 8px right inset. */
|
|
8254
|
-
.muka-menu__item--has-shortcut {
|
|
8255
|
-
padding-right: var(--spacing-2);
|
|
8256
|
-
}
|
|
8257
|
-
|
|
8258
|
-
.muka-menu__item-shortcut {
|
|
8259
|
-
flex-shrink: 0;
|
|
8260
|
-
margin-left: auto;
|
|
8261
|
-
padding-left: var(--menu-item-gap);
|
|
8262
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
8263
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
8264
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
8265
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
8266
|
-
color: var(--color-text-muted-default);
|
|
8267
|
-
white-space: nowrap;
|
|
8268
|
-
}
|
|
8269
|
-
|
|
8270
|
-
.muka-menu__item-hint {
|
|
8271
|
-
/* Figma: trailer sits with 8px margin top / right / bottom; 24px glyph centered inside. */
|
|
8272
|
-
position: absolute;
|
|
8273
|
-
top: var(--spacing-2);
|
|
8274
|
-
right: var(--spacing-2);
|
|
8275
|
-
bottom: var(--spacing-2);
|
|
8276
|
-
display: none;
|
|
8277
|
-
align-items: center;
|
|
8278
|
-
justify-content: center;
|
|
8279
|
-
width: var(--icon-size-default, 1.5rem);
|
|
8280
|
-
color: var(--color-text-muted-default);
|
|
8281
|
-
pointer-events: none;
|
|
8282
|
-
}
|
|
8283
|
-
|
|
8284
|
-
.muka-menu__item--hint-enter[data-highlighted] .muka-menu__item-hint {
|
|
8285
|
-
display: flex;
|
|
8286
|
-
}
|
|
8287
|
-
|
|
8288
|
-
.muka-menu__item-chevron {
|
|
8289
|
-
position: absolute;
|
|
8290
|
-
top: var(--spacing-2);
|
|
8291
|
-
right: var(--spacing-2);
|
|
8292
|
-
bottom: var(--spacing-2);
|
|
8293
|
-
display: flex;
|
|
8294
|
-
align-items: center;
|
|
8295
|
-
justify-content: center;
|
|
8296
|
-
width: var(--icon-size-default, 1.5rem);
|
|
8297
|
-
color: var(--menu-shortcut-color);
|
|
8298
|
-
}
|
|
8299
|
-
|
|
8300
|
-
/* ─── Indicator (Checkbox/Radio) ─────────────────────────────────────────── */
|
|
8301
|
-
|
|
8302
|
-
.muka-menu__item-indicator {
|
|
8303
|
-
display: flex;
|
|
8304
|
-
align-items: center;
|
|
8305
|
-
justify-content: center;
|
|
8306
|
-
width: var(--menu-checkbox-indicator-size);
|
|
8307
|
-
height: var(--menu-checkbox-indicator-size);
|
|
8308
|
-
flex-shrink: 0;
|
|
8309
|
-
color: var(--menu-checkbox-indicator-color);
|
|
8310
|
-
}
|
|
8311
|
-
|
|
8312
|
-
.muka-menu__item--checkbox,
|
|
8313
|
-
.muka-menu__item--radio {
|
|
8314
|
-
padding-left: var(--menu-item-padding-x);
|
|
8315
|
-
}
|
|
8316
|
-
|
|
8317
|
-
.muka-menu__item--checkbox-trailing,
|
|
8318
|
-
.muka-menu__item--radio-check {
|
|
8319
|
-
/* Same reserved right gutter as default items — trailing indicator floats. */
|
|
8320
|
-
padding-right: var(--menu-item-padding-right);
|
|
8321
|
-
}
|
|
8322
|
-
|
|
8323
|
-
.muka-menu__item--radio-check[data-state='checked'] {
|
|
8324
|
-
background-color: var(--menu-item-color-selected-background);
|
|
8325
|
-
}
|
|
8326
|
-
|
|
8327
|
-
.muka-menu__item-indicator--trailing {
|
|
8328
|
-
/* Match enter-hint trailer: 8px inset, 24px box (override leading indicator size). */
|
|
8329
|
-
position: absolute;
|
|
8330
|
-
top: var(--spacing-2);
|
|
8331
|
-
right: var(--spacing-2);
|
|
8332
|
-
bottom: var(--spacing-2);
|
|
8333
|
-
display: flex;
|
|
8334
|
-
align-items: center;
|
|
8335
|
-
justify-content: center;
|
|
8336
|
-
width: var(--icon-size-default, 1.5rem);
|
|
8337
|
-
height: auto;
|
|
8338
|
-
max-height: none;
|
|
8339
|
-
transform: none;
|
|
8340
|
-
color: var(--color-text-subtle-default);
|
|
8341
|
-
}
|
|
8342
|
-
|
|
8343
|
-
.muka-menu__item-indicator--trailing > [data-state] {
|
|
8344
|
-
display: flex;
|
|
8345
|
-
align-items: center;
|
|
8346
|
-
justify-content: center;
|
|
8347
|
-
width: 100%;
|
|
8348
|
-
height: 100%;
|
|
8349
|
-
}
|
|
8350
|
-
|
|
8351
|
-
.muka-menu__radio-dot {
|
|
8352
|
-
width: 8px;
|
|
8353
|
-
height: 8px;
|
|
8354
|
-
border-radius: 50%;
|
|
8355
|
-
background-color: var(--menu-radio-indicator-color);
|
|
8356
|
-
}
|
|
8357
|
-
|
|
8358
|
-
/* ─── Separator ──────────────────────────────────────────────────────────── */
|
|
8359
|
-
|
|
8360
|
-
.muka-menu__separator {
|
|
8361
|
-
height: var(--menu-separator-height);
|
|
8362
|
-
margin: var(--menu-separator-margin-y) 0;
|
|
8363
|
-
background-color: var(--menu-separator-color);
|
|
8364
|
-
}
|
|
8365
|
-
|
|
8366
|
-
/* ─── Group ──────────────────────────────────────────────────────────────── */
|
|
8367
|
-
|
|
8368
|
-
.muka-menu__group {
|
|
8369
|
-
/* No additional styles needed - just a container */
|
|
8370
|
-
}
|
|
8371
|
-
|
|
8372
|
-
.muka-menu__group-label {
|
|
8373
|
-
padding: var(--menu-group-label-padding-y) var(--menu-group-label-padding-x);
|
|
8374
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
8375
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
8376
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
8377
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
8378
|
-
color: var(--menu-group-label-color);
|
|
8379
|
-
text-transform: uppercase;
|
|
8380
|
-
letter-spacing: 0.05em;
|
|
8381
|
-
}
|
|
8382
|
-
|
|
8383
|
-
/* ─── Radio Group ────────────────────────────────────────────────────────── */
|
|
8384
|
-
|
|
8385
|
-
.muka-menu__radio-group {
|
|
8386
|
-
/* No additional styles needed - just a container */
|
|
8387
|
-
}
|
|
8388
|
-
|
|
8389
|
-
/* ─── Context Menu Trigger ───────────────────────────────────────────────── */
|
|
8390
|
-
|
|
8391
|
-
.muka-context-menu__trigger {
|
|
8392
|
-
/* Allow the trigger to be styled by the parent */
|
|
8393
|
-
}
|
|
8394
|
-
|
|
8395
|
-
.muka-context-menu__trigger:focus-visible {
|
|
8396
|
-
outline: var(--contextmenu-trigger-outline-width) solid var(--contextmenu-trigger-outline-color);
|
|
8397
|
-
outline-offset: var(--contextmenu-trigger-outline-offset);
|
|
8398
|
-
border-radius: var(--border-radius-sm);
|
|
8399
|
-
}
|
|
8400
|
-
|
|
8401
|
-
/* ─── Animations ─────────────────────────────────────────────────────────── */
|
|
8402
|
-
|
|
8403
|
-
@keyframes muka-menu-fade-in {
|
|
8404
|
-
from {
|
|
8405
|
-
opacity: 0;
|
|
8406
|
-
}
|
|
8407
|
-
to {
|
|
8408
|
-
opacity: 1;
|
|
8409
|
-
}
|
|
8410
|
-
}
|
|
8411
|
-
|
|
8412
|
-
@keyframes muka-menu-fade-out {
|
|
8413
|
-
from {
|
|
8414
|
-
opacity: 1;
|
|
8415
|
-
}
|
|
8416
|
-
to {
|
|
8417
|
-
opacity: 0;
|
|
8418
|
-
}
|
|
8419
|
-
}
|
|
8420
|
-
|
|
8421
|
-
@keyframes muka-menu-slide-up {
|
|
8422
|
-
from {
|
|
8423
|
-
opacity: 0;
|
|
8424
|
-
transform: translateY(4px);
|
|
8425
|
-
}
|
|
8426
|
-
to {
|
|
8427
|
-
opacity: 1;
|
|
8428
|
-
transform: translateY(0);
|
|
8429
|
-
}
|
|
8430
|
-
}
|
|
8431
|
-
|
|
8432
|
-
@keyframes muka-menu-slide-down {
|
|
8433
|
-
from {
|
|
8434
|
-
opacity: 0;
|
|
8435
|
-
transform: translateY(-4px);
|
|
8436
|
-
}
|
|
8437
|
-
to {
|
|
8438
|
-
opacity: 1;
|
|
8439
|
-
transform: translateY(0);
|
|
8440
|
-
}
|
|
8441
|
-
}
|
|
8442
|
-
|
|
8443
|
-
@keyframes muka-menu-slide-left {
|
|
8444
|
-
from {
|
|
8445
|
-
opacity: 0;
|
|
8446
|
-
transform: translateX(4px);
|
|
8447
|
-
}
|
|
8448
|
-
to {
|
|
8449
|
-
opacity: 1;
|
|
8450
|
-
transform: translateX(0);
|
|
8451
|
-
}
|
|
8452
|
-
}
|
|
8453
|
-
|
|
8454
|
-
@keyframes muka-menu-slide-right {
|
|
8455
|
-
from {
|
|
8456
|
-
opacity: 0;
|
|
8457
|
-
transform: translateX(-4px);
|
|
8458
|
-
}
|
|
8459
|
-
to {
|
|
8460
|
-
opacity: 1;
|
|
8461
|
-
transform: translateX(0);
|
|
8462
|
-
}
|
|
8463
|
-
}
|
|
8464
|
-
|
|
8465
|
-
|
|
8466
|
-
/* MediaViewer */
|
|
8467
|
-
/* MediaViewer Component Styles - Using Muka Design Tokens */
|
|
8468
|
-
|
|
8469
|
-
/* ─── Native dialog: full viewport ────────────────────── */
|
|
8470
|
-
.muka-media-viewer {
|
|
8471
|
-
position: fixed;
|
|
8472
|
-
inset: 0;
|
|
8473
|
-
width: 100%;
|
|
8474
|
-
height: 100%;
|
|
8475
|
-
max-width: none;
|
|
8476
|
-
max-height: none;
|
|
8477
|
-
margin: 0;
|
|
8478
|
-
padding: 0;
|
|
8479
|
-
border: none;
|
|
8480
|
-
display: flex;
|
|
8481
|
-
flex-direction: column;
|
|
8482
|
-
overflow: hidden;
|
|
8483
|
-
overscroll-behavior: contain;
|
|
8484
|
-
color: var(--color-text-default-default);
|
|
8485
|
-
background-color: var(--color-black-alpha-12);
|
|
8486
|
-
animation: muka-media-viewer-in var(--motion-duration-component) var(--motion-easing-enter);
|
|
8487
|
-
}
|
|
8488
|
-
|
|
8489
|
-
.muka-media-viewer:not([open]) {
|
|
8490
|
-
display: none;
|
|
8491
|
-
}
|
|
8492
|
-
|
|
8493
|
-
.muka-media-viewer::backdrop {
|
|
8494
|
-
background-color: var(--color-black-alpha-12);
|
|
8495
|
-
}
|
|
8496
|
-
|
|
8497
|
-
@keyframes muka-media-viewer-in {
|
|
8498
|
-
from {
|
|
8499
|
-
opacity: 0;
|
|
8500
|
-
}
|
|
8501
|
-
to {
|
|
8502
|
-
opacity: 1;
|
|
8503
|
-
}
|
|
8504
|
-
}
|
|
8505
|
-
|
|
8506
|
-
/* ─── Chrome: TopBar and footer sit on a surface ──────── */
|
|
8507
|
-
.muka-media-viewer__topbar {
|
|
8508
|
-
flex-shrink: 0;
|
|
8509
|
-
background-color: var(--color-surface-level3);
|
|
8510
|
-
}
|
|
8511
|
-
|
|
8512
|
-
.muka-media-viewer__live {
|
|
8513
|
-
position: absolute;
|
|
8514
|
-
width: 1px;
|
|
8515
|
-
height: 1px;
|
|
8516
|
-
padding: 0;
|
|
8517
|
-
margin: -1px;
|
|
8518
|
-
overflow: hidden;
|
|
8519
|
-
clip: rect(0, 0, 0, 0);
|
|
8520
|
-
white-space: nowrap;
|
|
8521
|
-
border: 0;
|
|
8522
|
-
}
|
|
8523
|
-
|
|
8524
|
-
/* ─── Stage: the dark area the images slide across ────── */
|
|
8525
|
-
.muka-media-viewer__stage {
|
|
8526
|
-
position: relative;
|
|
8527
|
-
flex: 1 1 auto;
|
|
8528
|
-
min-height: 0;
|
|
8529
|
-
overflow: hidden;
|
|
8530
|
-
/* Gestures are handled in JS: no browser panning or pinch on the stage. */
|
|
8531
|
-
touch-action: none;
|
|
8532
|
-
user-select: none;
|
|
8533
|
-
-webkit-user-select: none;
|
|
8534
|
-
}
|
|
8535
|
-
|
|
8536
|
-
.muka-media-viewer__slide {
|
|
8537
|
-
position: absolute;
|
|
8538
|
-
inset: 0;
|
|
8539
|
-
display: flex;
|
|
8540
|
-
align-items: center;
|
|
8541
|
-
justify-content: center;
|
|
8542
|
-
padding: var(--spacing-4);
|
|
8543
|
-
transition: transform var(--motion-duration-component) var(--motion-easing-default);
|
|
8544
|
-
will-change: transform;
|
|
8545
|
-
}
|
|
8546
|
-
|
|
8547
|
-
/* While a finger drags, the image follows it without easing. */
|
|
8548
|
-
.muka-media-viewer--dragging .muka-media-viewer__slide {
|
|
8549
|
-
transition: none;
|
|
8550
|
-
}
|
|
8551
|
-
|
|
8552
|
-
.muka-media-viewer__image {
|
|
8553
|
-
display: block;
|
|
8554
|
-
max-width: 100%;
|
|
8555
|
-
max-height: 100%;
|
|
8556
|
-
object-fit: contain;
|
|
8557
|
-
/* The image takes touches, so a long press opens the OS menu (save, share,
|
|
8558
|
-
copy). The swipe still works: pointer events bubble to the stage, and a
|
|
8559
|
-
long press doesn't move far enough to start a drag. */
|
|
8560
|
-
-webkit-touch-callout: default;
|
|
8234
|
+
.muka-media-viewer__image {
|
|
8235
|
+
display: block;
|
|
8236
|
+
max-width: 100%;
|
|
8237
|
+
max-height: 100%;
|
|
8238
|
+
object-fit: contain;
|
|
8239
|
+
/* The image takes touches, so a long press opens the OS menu (save, share,
|
|
8240
|
+
copy). The swipe still works: pointer events bubble to the stage, and a
|
|
8241
|
+
long press doesn't move far enough to start a drag. */
|
|
8242
|
+
-webkit-touch-callout: default;
|
|
8561
8243
|
}
|
|
8562
8244
|
|
|
8563
8245
|
/* ─── Previous / next: devices that can hover ─────────── */
|
|
@@ -13287,6 +12969,16 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
13287
12969
|
gap: var(--spacing-3);
|
|
13288
12970
|
}
|
|
13289
12971
|
|
|
12972
|
+
/*
|
|
12973
|
+
* Buttons beside the field keep their square size (`.muka-button--icon-only`
|
|
12974
|
+
* width). Only the field or recording bar flexes, so a wide waveform or a
|
|
12975
|
+
* long text can never squeeze them.
|
|
12976
|
+
*/
|
|
12977
|
+
.muka-chat-composer__row > .muka-button,
|
|
12978
|
+
.muka-chat-composer__options-input > .muka-button {
|
|
12979
|
+
flex-shrink: 0;
|
|
12980
|
+
}
|
|
12981
|
+
|
|
13290
12982
|
/* ─── Text field ───────────────────────────────────────── */
|
|
13291
12983
|
|
|
13292
12984
|
.muka-chat-composer__field {
|
|
@@ -13344,6 +13036,16 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
13344
13036
|
color: var(--color-text-subtle-default);
|
|
13345
13037
|
}
|
|
13346
13038
|
|
|
13039
|
+
/* Transcribing: the field is back but inert (Input disabled tokens). */
|
|
13040
|
+
.muka-chat-composer__field--disabled {
|
|
13041
|
+
border-color: var(--input-field-color-disabled-border);
|
|
13042
|
+
background-color: var(--input-field-color-disabled-background);
|
|
13043
|
+
}
|
|
13044
|
+
|
|
13045
|
+
.muka-chat-composer__field--disabled .muka-chat-composer__input::placeholder {
|
|
13046
|
+
color: var(--input-field-color-disabled-foreground);
|
|
13047
|
+
}
|
|
13048
|
+
|
|
13347
13049
|
/* Keep the in-field emoji button flush to the bottom-right as the field grows */
|
|
13348
13050
|
.muka-chat-composer__emoji {
|
|
13349
13051
|
flex-shrink: 0;
|
|
@@ -13362,6 +13064,8 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
13362
13064
|
border: var(--border-width-regular) solid var(--card-color-default-border);
|
|
13363
13065
|
border-radius: var(--radius-lg);
|
|
13364
13066
|
background-color: var(--card-color-default-background);
|
|
13067
|
+
/* A waveform wider than the space left is clipped, never laid over pause. */
|
|
13068
|
+
overflow: hidden;
|
|
13365
13069
|
}
|
|
13366
13070
|
|
|
13367
13071
|
/* ─── Staged attachments strip ─────────────────────────── */
|
|
@@ -14074,6 +13778,12 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
14074
13778
|
display: block;
|
|
14075
13779
|
}
|
|
14076
13780
|
|
|
13781
|
+
/* A Spinner in the icon slot keeps its own flex centring: as a block its
|
|
13782
|
+
circle sat at the top of the slot (4px high in an lg icon-only button). */
|
|
13783
|
+
.muka-button .muka-button__icon > .muka-spinner {
|
|
13784
|
+
display: flex;
|
|
13785
|
+
}
|
|
13786
|
+
|
|
14077
13787
|
.muka-button--sm .muka-button__icon {
|
|
14078
13788
|
width: var(--button-icon-sm);
|
|
14079
13789
|
height: var(--button-icon-sm);
|
|
@@ -15905,320 +15615,641 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15905
15615
|
outline-offset: 2px;
|
|
15906
15616
|
}
|
|
15907
15617
|
|
|
15908
|
-
|
|
15909
|
-
/* Accordion */
|
|
15910
|
-
/* Accordion Component Styles */
|
|
15911
|
-
|
|
15912
|
-
.muka-accordion {
|
|
15913
|
-
width: 100%;
|
|
15618
|
+
|
|
15619
|
+
/* Accordion */
|
|
15620
|
+
/* Accordion Component Styles */
|
|
15621
|
+
|
|
15622
|
+
.muka-accordion {
|
|
15623
|
+
width: 100%;
|
|
15624
|
+
}
|
|
15625
|
+
|
|
15626
|
+
/* Item */
|
|
15627
|
+
.muka-accordion__item {
|
|
15628
|
+
border-bottom: var(--border-width-regular) solid var(--color-border-default);
|
|
15629
|
+
}
|
|
15630
|
+
|
|
15631
|
+
.muka-accordion__item:last-child {
|
|
15632
|
+
border-bottom: none;
|
|
15633
|
+
}
|
|
15634
|
+
|
|
15635
|
+
/* Header reset */
|
|
15636
|
+
.muka-accordion__header {
|
|
15637
|
+
margin: 0;
|
|
15638
|
+
}
|
|
15639
|
+
|
|
15640
|
+
/* Trigger */
|
|
15641
|
+
.muka-accordion__trigger {
|
|
15642
|
+
display: flex;
|
|
15643
|
+
align-items: center;
|
|
15644
|
+
justify-content: space-between;
|
|
15645
|
+
width: 100%;
|
|
15646
|
+
padding: var(--spacing-4);
|
|
15647
|
+
background: none;
|
|
15648
|
+
border: none;
|
|
15649
|
+
cursor: pointer;
|
|
15650
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
15651
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
15652
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
15653
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
15654
|
+
color: var(--color-text-default-default);
|
|
15655
|
+
text-align: left;
|
|
15656
|
+
gap: var(--spacing-3);
|
|
15657
|
+
transition: background-color 0.15s ease;
|
|
15658
|
+
}
|
|
15659
|
+
|
|
15660
|
+
.muka-accordion__trigger:hover {
|
|
15661
|
+
background-color: var(--color-surface-level1);
|
|
15662
|
+
}
|
|
15663
|
+
|
|
15664
|
+
.muka-accordion__trigger[data-disabled] {
|
|
15665
|
+
cursor: not-allowed;
|
|
15666
|
+
opacity: 0.4;
|
|
15667
|
+
}
|
|
15668
|
+
|
|
15669
|
+
.muka-accordion__trigger-text {
|
|
15670
|
+
flex: 1;
|
|
15671
|
+
}
|
|
15672
|
+
|
|
15673
|
+
/* Chevron rotation */
|
|
15674
|
+
.muka-accordion__chevron {
|
|
15675
|
+
display: inline-flex;
|
|
15676
|
+
align-items: center;
|
|
15677
|
+
color: var(--color-text-subtle-default);
|
|
15678
|
+
transition: transform 200ms ease;
|
|
15679
|
+
}
|
|
15680
|
+
|
|
15681
|
+
.muka-accordion__trigger[data-state='open'] .muka-accordion__chevron {
|
|
15682
|
+
transform: rotate(180deg);
|
|
15683
|
+
}
|
|
15684
|
+
|
|
15685
|
+
/* Content */
|
|
15686
|
+
.muka-accordion__content {
|
|
15687
|
+
overflow: hidden;
|
|
15688
|
+
}
|
|
15689
|
+
|
|
15690
|
+
.muka-accordion__content[data-state='open'] {
|
|
15691
|
+
animation: muka-accordion-slideDown 200ms ease;
|
|
15692
|
+
}
|
|
15693
|
+
|
|
15694
|
+
.muka-accordion__content[data-state='closed'] {
|
|
15695
|
+
animation: muka-accordion-slideUp 200ms ease;
|
|
15696
|
+
}
|
|
15697
|
+
|
|
15698
|
+
@keyframes muka-accordion-slideDown {
|
|
15699
|
+
from {
|
|
15700
|
+
height: 0;
|
|
15701
|
+
}
|
|
15702
|
+
to {
|
|
15703
|
+
height: var(--radix-accordion-content-height);
|
|
15704
|
+
}
|
|
15705
|
+
}
|
|
15706
|
+
|
|
15707
|
+
@keyframes muka-accordion-slideUp {
|
|
15708
|
+
from {
|
|
15709
|
+
height: var(--radix-accordion-content-height);
|
|
15710
|
+
}
|
|
15711
|
+
to {
|
|
15712
|
+
height: 0;
|
|
15713
|
+
}
|
|
15714
|
+
}
|
|
15715
|
+
|
|
15716
|
+
.muka-accordion__content-inner {
|
|
15717
|
+
padding: 0 var(--spacing-4) var(--spacing-5);
|
|
15718
|
+
color: var(--color-text-default-default);
|
|
15719
|
+
}
|
|
15720
|
+
|
|
15721
|
+
/* ─── Variant: flush ────────────────────────────────────────────────────── */
|
|
15722
|
+
|
|
15723
|
+
.muka-accordion--flush .muka-accordion__trigger {
|
|
15724
|
+
padding-left: 0;
|
|
15725
|
+
padding-right: 0;
|
|
15726
|
+
}
|
|
15727
|
+
|
|
15728
|
+
.muka-accordion--flush .muka-accordion__content-inner {
|
|
15729
|
+
padding-left: 0;
|
|
15730
|
+
padding-right: 0;
|
|
15731
|
+
}
|
|
15732
|
+
|
|
15733
|
+
/* ─── Variant: contained ────────────────────────────────────────────────── */
|
|
15734
|
+
|
|
15735
|
+
.muka-accordion--contained {
|
|
15736
|
+
border: var(--border-width-regular) solid var(--color-border-default);
|
|
15737
|
+
border-radius: var(--radius-md);
|
|
15738
|
+
overflow: hidden;
|
|
15739
|
+
}
|
|
15740
|
+
|
|
15741
|
+
.muka-accordion--contained .muka-accordion__item {
|
|
15742
|
+
background-color: var(--color-surface-level3);
|
|
15743
|
+
}
|
|
15744
|
+
|
|
15745
|
+
.muka-accordion--contained .muka-accordion__item:last-child {
|
|
15746
|
+
border-bottom: none;
|
|
15747
|
+
}
|
|
15748
|
+
|
|
15749
|
+
|
|
15750
|
+
/* Menu */
|
|
15751
|
+
/* Menu Component Styles */
|
|
15752
|
+
|
|
15753
|
+
/* ─── Content Container ──────────────────────────────────────────────────── */
|
|
15754
|
+
|
|
15755
|
+
.muka-menu__content {
|
|
15756
|
+
display: flex;
|
|
15757
|
+
flex-direction: column;
|
|
15758
|
+
min-width: var(--menu-content-min-width);
|
|
15759
|
+
max-height: var(--menu-content-max-height);
|
|
15760
|
+
overflow: hidden;
|
|
15761
|
+
background-color: var(--menu-content-color-background);
|
|
15762
|
+
border: var(--menu-content-border-width) solid var(--menu-content-color-border);
|
|
15763
|
+
border-radius: var(--menu-content-border-radius);
|
|
15764
|
+
box-shadow: var(--menu-content-shadow);
|
|
15765
|
+
padding: 0;
|
|
15766
|
+
z-index: 50;
|
|
15767
|
+
|
|
15768
|
+
/* Animation */
|
|
15769
|
+
animation-duration: 150ms;
|
|
15770
|
+
animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
|
|
15771
|
+
}
|
|
15772
|
+
|
|
15773
|
+
.muka-menu__body {
|
|
15774
|
+
display: flex;
|
|
15775
|
+
flex: 1 1 auto;
|
|
15776
|
+
min-height: 0;
|
|
15777
|
+
align-items: stretch;
|
|
15778
|
+
width: 100%;
|
|
15779
|
+
}
|
|
15780
|
+
|
|
15781
|
+
.muka-menu__viewport {
|
|
15782
|
+
flex: 1 1 auto;
|
|
15783
|
+
min-width: 0;
|
|
15784
|
+
min-height: 0;
|
|
15785
|
+
overflow-y: auto;
|
|
15786
|
+
padding: var(--menu-content-padding);
|
|
15787
|
+
}
|
|
15788
|
+
|
|
15789
|
+
.muka-menu__content--scrollbar .muka-menu__viewport {
|
|
15790
|
+
/* Custom scrollbar owns the chrome; hide native track */
|
|
15791
|
+
scrollbar-width: none;
|
|
15792
|
+
}
|
|
15793
|
+
|
|
15794
|
+
.muka-menu__content--scrollbar .muka-menu__viewport::-webkit-scrollbar {
|
|
15795
|
+
display: none;
|
|
15796
|
+
}
|
|
15797
|
+
|
|
15798
|
+
/* ─── Search header ──────────────────────────────────────────────────────── */
|
|
15799
|
+
|
|
15800
|
+
.muka-menu__search {
|
|
15801
|
+
display: flex;
|
|
15802
|
+
align-items: center;
|
|
15803
|
+
flex-shrink: 0;
|
|
15804
|
+
/* Figma dropdown filter header: 48px, 8px inset, 32px icon slots. */
|
|
15805
|
+
height: var(--input-field-height-lg, 3rem);
|
|
15806
|
+
padding: 0 var(--spacing-2);
|
|
15807
|
+
border-bottom: var(--border-width-regular) solid var(--color-border-default);
|
|
15808
|
+
}
|
|
15809
|
+
|
|
15810
|
+
.muka-menu__search--sm {
|
|
15811
|
+
height: calc(var(--size-xl, 1.5rem) + var(--spacing-2) * 2);
|
|
15812
|
+
}
|
|
15813
|
+
|
|
15814
|
+
.muka-menu__search-icon,
|
|
15815
|
+
.muka-menu__search-clear {
|
|
15816
|
+
display: flex;
|
|
15817
|
+
align-items: center;
|
|
15818
|
+
justify-content: center;
|
|
15819
|
+
flex-shrink: 0;
|
|
15820
|
+
width: var(--size-2xl, 2rem);
|
|
15821
|
+
height: var(--size-2xl, 2rem);
|
|
15822
|
+
color: var(--color-text-subtle-default);
|
|
15823
|
+
}
|
|
15824
|
+
|
|
15825
|
+
.muka-menu__search-icon .muka-icon,
|
|
15826
|
+
.muka-menu__search-clear .muka-icon,
|
|
15827
|
+
.muka-menu__search-clear:hover,
|
|
15828
|
+
.muka-menu__search-clear:hover .muka-icon {
|
|
15829
|
+
color: var(--color-text-subtle-default);
|
|
15830
|
+
}
|
|
15831
|
+
|
|
15832
|
+
.muka-menu__search--sm .muka-menu__search-icon,
|
|
15833
|
+
.muka-menu__search--sm .muka-menu__search-clear {
|
|
15834
|
+
width: var(--size-xl, 1.5rem);
|
|
15835
|
+
height: var(--size-xl, 1.5rem);
|
|
15836
|
+
}
|
|
15837
|
+
|
|
15838
|
+
.muka-menu__search-input {
|
|
15839
|
+
flex: 1 1 auto;
|
|
15840
|
+
min-width: 0;
|
|
15841
|
+
border: none;
|
|
15842
|
+
outline: none;
|
|
15843
|
+
background: transparent;
|
|
15844
|
+
padding: 0 var(--spacing-1);
|
|
15845
|
+
font-family: var(--text-input-md-fontFamily);
|
|
15846
|
+
font-size: var(--text-input-md-fontSize);
|
|
15847
|
+
font-weight: var(--text-input-md-fontWeight);
|
|
15848
|
+
line-height: var(--text-input-md-lineHeight);
|
|
15849
|
+
color: var(--color-text-default-default);
|
|
15914
15850
|
}
|
|
15915
15851
|
|
|
15916
|
-
|
|
15917
|
-
|
|
15918
|
-
|
|
15852
|
+
.muka-menu__search--sm .muka-menu__search-input {
|
|
15853
|
+
font-family: var(--text-input-sm-fontFamily);
|
|
15854
|
+
font-size: var(--text-input-sm-fontSize);
|
|
15855
|
+
font-weight: var(--text-input-sm-fontWeight);
|
|
15856
|
+
line-height: var(--text-input-sm-lineHeight);
|
|
15919
15857
|
}
|
|
15920
15858
|
|
|
15921
|
-
.muka-
|
|
15922
|
-
|
|
15859
|
+
.muka-menu__search-input::placeholder {
|
|
15860
|
+
color: var(--color-text-subtle-default);
|
|
15923
15861
|
}
|
|
15924
15862
|
|
|
15925
|
-
|
|
15926
|
-
.muka-
|
|
15927
|
-
|
|
15863
|
+
.muka-menu__search-input::-webkit-search-cancel-button,
|
|
15864
|
+
.muka-menu__search-input::-webkit-search-decoration {
|
|
15865
|
+
-webkit-appearance: none;
|
|
15866
|
+
appearance: none;
|
|
15928
15867
|
}
|
|
15929
15868
|
|
|
15930
|
-
|
|
15931
|
-
.muka-accordion__trigger {
|
|
15869
|
+
.muka-menu__empty {
|
|
15932
15870
|
display: flex;
|
|
15933
15871
|
align-items: center;
|
|
15934
|
-
|
|
15935
|
-
|
|
15936
|
-
|
|
15937
|
-
|
|
15872
|
+
min-height: var(--menu-item-height);
|
|
15873
|
+
padding: var(--menu-item-padding-y) var(--menu-item-padding-x);
|
|
15874
|
+
color: var(--color-text-subtle-default);
|
|
15875
|
+
font-family: var(--text-input-md-fontFamily);
|
|
15876
|
+
font-size: var(--text-input-md-fontSize);
|
|
15877
|
+
font-weight: var(--text-input-md-fontWeight);
|
|
15878
|
+
line-height: var(--text-input-md-lineHeight);
|
|
15879
|
+
pointer-events: none;
|
|
15880
|
+
user-select: none;
|
|
15881
|
+
}
|
|
15882
|
+
|
|
15883
|
+
.muka-menu__search-clear {
|
|
15884
|
+
padding: 0;
|
|
15938
15885
|
border: none;
|
|
15886
|
+
background: transparent;
|
|
15939
15887
|
cursor: pointer;
|
|
15940
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
15941
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
15942
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
15943
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
15944
|
-
color: var(--color-text-default-default);
|
|
15945
|
-
text-align: left;
|
|
15946
|
-
gap: var(--spacing-3);
|
|
15947
|
-
transition: background-color 0.15s ease;
|
|
15948
15888
|
}
|
|
15949
15889
|
|
|
15950
|
-
.muka-
|
|
15951
|
-
|
|
15890
|
+
.muka-menu__match {
|
|
15891
|
+
font-weight: var(--text-label-md-bold-fontWeight);
|
|
15952
15892
|
}
|
|
15953
15893
|
|
|
15954
|
-
.muka-
|
|
15955
|
-
|
|
15956
|
-
|
|
15894
|
+
.muka-menu__content--scrollbar {
|
|
15895
|
+
height: var(--menu-content-scroll-height, 20.625rem);
|
|
15896
|
+
max-height: var(--menu-content-scroll-height, 20.625rem);
|
|
15957
15897
|
}
|
|
15958
15898
|
|
|
15959
|
-
.muka-
|
|
15960
|
-
|
|
15899
|
+
.muka-menu__content[data-state='open'] {
|
|
15900
|
+
animation-name: muka-menu-fade-in;
|
|
15961
15901
|
}
|
|
15962
15902
|
|
|
15963
|
-
|
|
15964
|
-
|
|
15965
|
-
display: inline-flex;
|
|
15966
|
-
align-items: center;
|
|
15967
|
-
color: var(--color-text-subtle-default);
|
|
15968
|
-
transition: transform 200ms ease;
|
|
15903
|
+
.muka-menu__content[data-state='closed'] {
|
|
15904
|
+
animation-name: muka-menu-fade-out;
|
|
15969
15905
|
}
|
|
15970
15906
|
|
|
15971
|
-
.muka-
|
|
15972
|
-
|
|
15907
|
+
.muka-menu__content[data-side='top'] {
|
|
15908
|
+
animation-name: muka-menu-slide-down;
|
|
15973
15909
|
}
|
|
15974
15910
|
|
|
15975
|
-
|
|
15976
|
-
|
|
15977
|
-
overflow: hidden;
|
|
15911
|
+
.muka-menu__content[data-side='bottom'] {
|
|
15912
|
+
animation-name: muka-menu-slide-up;
|
|
15978
15913
|
}
|
|
15979
15914
|
|
|
15980
|
-
.muka-
|
|
15981
|
-
animation: muka-
|
|
15915
|
+
.muka-menu__content[data-side='left'] {
|
|
15916
|
+
animation-name: muka-menu-slide-right;
|
|
15982
15917
|
}
|
|
15983
15918
|
|
|
15984
|
-
.muka-
|
|
15985
|
-
animation: muka-
|
|
15919
|
+
.muka-menu__content[data-side='right'] {
|
|
15920
|
+
animation-name: muka-menu-slide-left;
|
|
15986
15921
|
}
|
|
15987
15922
|
|
|
15988
|
-
|
|
15989
|
-
from {
|
|
15990
|
-
height: 0;
|
|
15991
|
-
}
|
|
15992
|
-
to {
|
|
15993
|
-
height: var(--radix-accordion-content-height);
|
|
15994
|
-
}
|
|
15995
|
-
}
|
|
15923
|
+
/* ─── Menu Item ──────────────────────────────────────────────────────────── */
|
|
15996
15924
|
|
|
15997
|
-
|
|
15998
|
-
|
|
15999
|
-
|
|
16000
|
-
|
|
16001
|
-
|
|
16002
|
-
|
|
16003
|
-
|
|
15925
|
+
.muka-menu__item {
|
|
15926
|
+
position: relative;
|
|
15927
|
+
display: flex;
|
|
15928
|
+
align-items: center;
|
|
15929
|
+
gap: var(--menu-item-gap);
|
|
15930
|
+
min-height: var(--menu-item-height);
|
|
15931
|
+
/* Right gutter always reserved for floating trailers (enter / check). */
|
|
15932
|
+
padding: var(--menu-item-padding-y) var(--menu-item-padding-right) var(--menu-item-padding-y)
|
|
15933
|
+
var(--menu-item-padding-x);
|
|
15934
|
+
border-radius: var(--menu-item-border-radius);
|
|
15935
|
+
cursor: pointer;
|
|
15936
|
+
user-select: none;
|
|
15937
|
+
outline: none;
|
|
15938
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
15939
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
15940
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
15941
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
15942
|
+
color: var(--menu-item-color-default-foreground);
|
|
15943
|
+
background-color: var(--menu-item-color-default-background);
|
|
15944
|
+
transition: background-color 100ms ease, color 100ms ease;
|
|
15945
|
+
white-space: nowrap;
|
|
16004
15946
|
}
|
|
16005
15947
|
|
|
16006
|
-
.muka-
|
|
16007
|
-
|
|
16008
|
-
color: var(--color-
|
|
15948
|
+
.muka-menu__item:hover,
|
|
15949
|
+
.muka-menu__item[data-highlighted] {
|
|
15950
|
+
background-color: var(--menu-item-color-hover-background);
|
|
15951
|
+
color: var(--menu-item-color-hover-foreground);
|
|
16009
15952
|
}
|
|
16010
15953
|
|
|
16011
|
-
|
|
16012
|
-
|
|
16013
|
-
|
|
16014
|
-
|
|
16015
|
-
padding-right: 0;
|
|
15954
|
+
.muka-menu__item:focus,
|
|
15955
|
+
.muka-menu__item[data-highlighted]:focus {
|
|
15956
|
+
background-color: var(--menu-item-color-focus-background);
|
|
15957
|
+
color: var(--menu-item-color-focus-foreground);
|
|
16016
15958
|
}
|
|
16017
15959
|
|
|
16018
|
-
|
|
16019
|
-
|
|
16020
|
-
|
|
15960
|
+
/* Disabled */
|
|
15961
|
+
.muka-menu__item--disabled,
|
|
15962
|
+
.muka-menu__item[data-disabled] {
|
|
15963
|
+
color: var(--menu-item-color-disabled-foreground);
|
|
15964
|
+
background-color: var(--menu-item-color-disabled-background);
|
|
15965
|
+
cursor: not-allowed;
|
|
15966
|
+
pointer-events: none;
|
|
16021
15967
|
}
|
|
16022
15968
|
|
|
16023
|
-
|
|
15969
|
+
.muka-menu__item--disabled .muka-menu__item-icon,
|
|
15970
|
+
.muka-menu__item[data-disabled] .muka-menu__item-icon {
|
|
15971
|
+
color: var(--menu-item-color-disabled-icon);
|
|
15972
|
+
}
|
|
16024
15973
|
|
|
16025
|
-
|
|
16026
|
-
|
|
16027
|
-
|
|
16028
|
-
overflow: hidden;
|
|
15974
|
+
/* Destructive */
|
|
15975
|
+
.muka-menu__item--destructive {
|
|
15976
|
+
color: var(--menu-item-color-destructive-default-foreground);
|
|
16029
15977
|
}
|
|
16030
15978
|
|
|
16031
|
-
.muka-
|
|
16032
|
-
|
|
15979
|
+
.muka-menu__item--destructive .muka-menu__item-icon {
|
|
15980
|
+
color: var(--menu-item-color-destructive-default-icon);
|
|
16033
15981
|
}
|
|
16034
15982
|
|
|
16035
|
-
.muka-
|
|
16036
|
-
|
|
15983
|
+
.muka-menu__item--destructive:hover,
|
|
15984
|
+
.muka-menu__item--destructive[data-highlighted] {
|
|
15985
|
+
background-color: var(--menu-item-color-destructive-hover-background);
|
|
15986
|
+
color: var(--menu-item-color-destructive-hover-foreground);
|
|
16037
15987
|
}
|
|
16038
15988
|
|
|
15989
|
+
.muka-menu__item--destructive:hover .muka-menu__item-icon,
|
|
15990
|
+
.muka-menu__item--destructive[data-highlighted] .muka-menu__item-icon {
|
|
15991
|
+
color: var(--menu-item-color-destructive-hover-icon);
|
|
15992
|
+
}
|
|
16039
15993
|
|
|
16040
|
-
/*
|
|
16041
|
-
/* SwipeActions Component Styles */
|
|
15994
|
+
/* ─── Item Parts ─────────────────────────────────────────────────────────── */
|
|
16042
15995
|
|
|
16043
|
-
.muka-
|
|
16044
|
-
|
|
16045
|
-
|
|
16046
|
-
|
|
16047
|
-
-
|
|
16048
|
-
|
|
16049
|
-
|
|
15996
|
+
.muka-menu__item-icon {
|
|
15997
|
+
display: flex;
|
|
15998
|
+
align-items: center;
|
|
15999
|
+
justify-content: center;
|
|
16000
|
+
flex-shrink: 0;
|
|
16001
|
+
color: var(--menu-item-color-default-icon);
|
|
16002
|
+
transition: color 100ms ease;
|
|
16050
16003
|
}
|
|
16051
16004
|
|
|
16052
|
-
.muka-
|
|
16053
|
-
|
|
16005
|
+
.muka-menu__item:hover .muka-menu__item-icon,
|
|
16006
|
+
.muka-menu__item[data-highlighted] .muka-menu__item-icon {
|
|
16007
|
+
color: var(--menu-item-color-hover-icon);
|
|
16054
16008
|
}
|
|
16055
16009
|
|
|
16056
|
-
|
|
16010
|
+
.muka-menu__item-label {
|
|
16011
|
+
flex: 1 1 auto;
|
|
16012
|
+
min-width: 0;
|
|
16013
|
+
white-space: nowrap;
|
|
16014
|
+
}
|
|
16057
16015
|
|
|
16058
|
-
.
|
|
16059
|
-
|
|
16060
|
-
|
|
16061
|
-
background-color: inherit;
|
|
16062
|
-
will-change: transform;
|
|
16016
|
+
/* Shortcut trailers replace icons and sit with an 8px right inset. */
|
|
16017
|
+
.muka-menu__item--has-shortcut {
|
|
16018
|
+
padding-right: var(--spacing-2);
|
|
16063
16019
|
}
|
|
16064
16020
|
|
|
16065
|
-
|
|
16021
|
+
.muka-menu__item-shortcut {
|
|
16022
|
+
flex-shrink: 0;
|
|
16023
|
+
margin-left: auto;
|
|
16024
|
+
padding-left: var(--menu-item-gap);
|
|
16025
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
16026
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
16027
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
16028
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
16029
|
+
color: var(--color-text-muted-default);
|
|
16030
|
+
white-space: nowrap;
|
|
16031
|
+
}
|
|
16066
16032
|
|
|
16067
|
-
.muka-
|
|
16033
|
+
.muka-menu__item-hint {
|
|
16034
|
+
/* Figma: trailer sits with 8px margin top / right / bottom; 24px glyph centered inside. */
|
|
16068
16035
|
position: absolute;
|
|
16069
|
-
top:
|
|
16070
|
-
|
|
16071
|
-
|
|
16072
|
-
|
|
16073
|
-
|
|
16036
|
+
top: var(--spacing-2);
|
|
16037
|
+
right: var(--spacing-2);
|
|
16038
|
+
bottom: var(--spacing-2);
|
|
16039
|
+
display: none;
|
|
16040
|
+
align-items: center;
|
|
16041
|
+
justify-content: center;
|
|
16042
|
+
width: var(--icon-size-default, 1.5rem);
|
|
16043
|
+
color: var(--color-text-muted-default);
|
|
16044
|
+
pointer-events: none;
|
|
16074
16045
|
}
|
|
16075
16046
|
|
|
16076
|
-
.muka-
|
|
16077
|
-
|
|
16047
|
+
.muka-menu__item--hint-enter[data-highlighted] .muka-menu__item-hint {
|
|
16048
|
+
display: flex;
|
|
16078
16049
|
}
|
|
16079
16050
|
|
|
16080
|
-
.muka-
|
|
16081
|
-
|
|
16051
|
+
.muka-menu__item-chevron {
|
|
16052
|
+
position: absolute;
|
|
16053
|
+
top: var(--spacing-2);
|
|
16054
|
+
right: var(--spacing-2);
|
|
16055
|
+
bottom: var(--spacing-2);
|
|
16056
|
+
display: flex;
|
|
16057
|
+
align-items: center;
|
|
16058
|
+
justify-content: center;
|
|
16059
|
+
width: var(--icon-size-default, 1.5rem);
|
|
16060
|
+
color: var(--menu-shortcut-color);
|
|
16082
16061
|
}
|
|
16083
16062
|
|
|
16084
|
-
/* ───
|
|
16063
|
+
/* ─── Indicator (Checkbox/Radio) ─────────────────────────────────────────── */
|
|
16085
16064
|
|
|
16086
|
-
.muka-
|
|
16065
|
+
.muka-menu__item-indicator {
|
|
16087
16066
|
display: flex;
|
|
16088
|
-
flex-direction: column;
|
|
16089
16067
|
align-items: center;
|
|
16090
16068
|
justify-content: center;
|
|
16091
|
-
|
|
16092
|
-
|
|
16093
|
-
|
|
16094
|
-
|
|
16095
|
-
background-color: var(--color-surface-level2);
|
|
16096
|
-
color: var(--color-text-default-default);
|
|
16097
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
16098
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
16099
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
16100
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
16101
|
-
-webkit-tap-highlight-color: transparent;
|
|
16102
|
-
transition: filter 0.12s ease;
|
|
16069
|
+
width: var(--menu-checkbox-indicator-size);
|
|
16070
|
+
height: var(--menu-checkbox-indicator-size);
|
|
16071
|
+
flex-shrink: 0;
|
|
16072
|
+
color: var(--menu-checkbox-indicator-color);
|
|
16103
16073
|
}
|
|
16104
16074
|
|
|
16105
|
-
.muka-
|
|
16106
|
-
|
|
16075
|
+
.muka-menu__item--checkbox,
|
|
16076
|
+
.muka-menu__item--radio {
|
|
16077
|
+
padding-left: var(--menu-item-padding-x);
|
|
16107
16078
|
}
|
|
16108
16079
|
|
|
16109
|
-
.muka-
|
|
16110
|
-
|
|
16111
|
-
|
|
16080
|
+
.muka-menu__item--checkbox-trailing,
|
|
16081
|
+
.muka-menu__item--radio-check {
|
|
16082
|
+
/* Same reserved right gutter as default items — trailing indicator floats. */
|
|
16083
|
+
padding-right: var(--menu-item-padding-right);
|
|
16112
16084
|
}
|
|
16113
16085
|
|
|
16114
|
-
.muka-
|
|
16115
|
-
|
|
16086
|
+
.muka-menu__item--radio-check[data-state='checked'] {
|
|
16087
|
+
background-color: var(--menu-item-color-selected-background);
|
|
16088
|
+
}
|
|
16089
|
+
|
|
16090
|
+
.muka-menu__item-indicator--trailing {
|
|
16091
|
+
/* Match enter-hint trailer: 8px inset, 24px box (override leading indicator size). */
|
|
16092
|
+
position: absolute;
|
|
16093
|
+
top: var(--spacing-2);
|
|
16094
|
+
right: var(--spacing-2);
|
|
16095
|
+
bottom: var(--spacing-2);
|
|
16096
|
+
display: flex;
|
|
16116
16097
|
align-items: center;
|
|
16117
16098
|
justify-content: center;
|
|
16099
|
+
width: var(--icon-size-default, 1.5rem);
|
|
16100
|
+
height: auto;
|
|
16101
|
+
max-height: none;
|
|
16102
|
+
transform: none;
|
|
16103
|
+
color: var(--color-text-subtle-default);
|
|
16118
16104
|
}
|
|
16119
16105
|
|
|
16120
|
-
|
|
16121
|
-
|
|
16122
|
-
|
|
16123
|
-
|
|
16124
|
-
|
|
16106
|
+
.muka-menu__item-indicator--trailing > [data-state] {
|
|
16107
|
+
display: flex;
|
|
16108
|
+
align-items: center;
|
|
16109
|
+
justify-content: center;
|
|
16110
|
+
width: 100%;
|
|
16111
|
+
height: 100%;
|
|
16125
16112
|
}
|
|
16126
16113
|
|
|
16127
|
-
.muka-
|
|
16128
|
-
|
|
16129
|
-
|
|
16114
|
+
.muka-menu__radio-dot {
|
|
16115
|
+
width: 8px;
|
|
16116
|
+
height: 8px;
|
|
16117
|
+
border-radius: 50%;
|
|
16118
|
+
background-color: var(--menu-radio-indicator-color);
|
|
16130
16119
|
}
|
|
16131
16120
|
|
|
16132
|
-
|
|
16133
|
-
|
|
16134
|
-
|
|
16121
|
+
/* ─── Separator ──────────────────────────────────────────────────────────── */
|
|
16122
|
+
|
|
16123
|
+
.muka-menu__separator {
|
|
16124
|
+
height: var(--menu-separator-height);
|
|
16125
|
+
margin: var(--menu-separator-margin-y) 0;
|
|
16126
|
+
background-color: var(--menu-separator-color);
|
|
16135
16127
|
}
|
|
16136
16128
|
|
|
16137
|
-
|
|
16138
|
-
|
|
16139
|
-
|
|
16129
|
+
/* ─── Group ──────────────────────────────────────────────────────────────── */
|
|
16130
|
+
|
|
16131
|
+
.muka-menu__group {
|
|
16132
|
+
/* No additional styles needed - just a container */
|
|
16140
16133
|
}
|
|
16141
16134
|
|
|
16142
|
-
.muka-
|
|
16143
|
-
|
|
16144
|
-
|
|
16135
|
+
.muka-menu__group-label {
|
|
16136
|
+
padding: var(--menu-group-label-padding-y) var(--menu-group-label-padding-x);
|
|
16137
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
16138
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
16139
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
16140
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
16141
|
+
color: var(--menu-group-label-color);
|
|
16142
|
+
text-transform: uppercase;
|
|
16143
|
+
letter-spacing: 0.05em;
|
|
16145
16144
|
}
|
|
16146
16145
|
|
|
16146
|
+
/* ─── Radio Group ────────────────────────────────────────────────────────── */
|
|
16147
16147
|
|
|
16148
|
-
|
|
16149
|
-
/*
|
|
16148
|
+
.muka-menu__radio-group {
|
|
16149
|
+
/* No additional styles needed - just a container */
|
|
16150
|
+
}
|
|
16150
16151
|
|
|
16151
|
-
|
|
16152
|
-
|
|
16153
|
-
|
|
16154
|
-
|
|
16155
|
-
color: var(--color-text-default-default);
|
|
16156
|
-
line-height: 0;
|
|
16152
|
+
/* ─── Context Menu Trigger ───────────────────────────────────────────────── */
|
|
16153
|
+
|
|
16154
|
+
.muka-context-menu__trigger {
|
|
16155
|
+
/* Allow the trigger to be styled by the parent */
|
|
16157
16156
|
}
|
|
16158
16157
|
|
|
16159
|
-
.muka-
|
|
16160
|
-
|
|
16158
|
+
.muka-context-menu__trigger:focus-visible {
|
|
16159
|
+
outline: var(--contextmenu-trigger-outline-width) solid var(--contextmenu-trigger-outline-color);
|
|
16160
|
+
outline-offset: var(--contextmenu-trigger-outline-offset);
|
|
16161
|
+
border-radius: var(--border-radius-sm);
|
|
16161
16162
|
}
|
|
16162
16163
|
|
|
16163
|
-
|
|
16164
|
-
|
|
16164
|
+
/* ─── Animations ─────────────────────────────────────────────────────────── */
|
|
16165
|
+
|
|
16166
|
+
@keyframes muka-menu-fade-in {
|
|
16167
|
+
from {
|
|
16168
|
+
opacity: 0;
|
|
16169
|
+
}
|
|
16170
|
+
to {
|
|
16171
|
+
opacity: 1;
|
|
16172
|
+
}
|
|
16165
16173
|
}
|
|
16166
16174
|
|
|
16167
|
-
|
|
16168
|
-
|
|
16169
|
-
|
|
16170
|
-
|
|
16171
|
-
|
|
16172
|
-
|
|
16173
|
-
|
|
16174
|
-
box-sizing: border-box;
|
|
16175
|
+
@keyframes muka-menu-fade-out {
|
|
16176
|
+
from {
|
|
16177
|
+
opacity: 1;
|
|
16178
|
+
}
|
|
16179
|
+
to {
|
|
16180
|
+
opacity: 0;
|
|
16181
|
+
}
|
|
16175
16182
|
}
|
|
16176
16183
|
|
|
16177
|
-
|
|
16184
|
+
@keyframes muka-menu-slide-up {
|
|
16185
|
+
from {
|
|
16186
|
+
opacity: 0;
|
|
16187
|
+
transform: translateY(4px);
|
|
16188
|
+
}
|
|
16189
|
+
to {
|
|
16190
|
+
opacity: 1;
|
|
16191
|
+
transform: translateY(0);
|
|
16192
|
+
}
|
|
16193
|
+
}
|
|
16178
16194
|
|
|
16179
|
-
|
|
16180
|
-
|
|
16181
|
-
|
|
16182
|
-
|
|
16195
|
+
@keyframes muka-menu-slide-down {
|
|
16196
|
+
from {
|
|
16197
|
+
opacity: 0;
|
|
16198
|
+
transform: translateY(-4px);
|
|
16199
|
+
}
|
|
16200
|
+
to {
|
|
16201
|
+
opacity: 1;
|
|
16202
|
+
transform: translateY(0);
|
|
16203
|
+
}
|
|
16183
16204
|
}
|
|
16184
16205
|
|
|
16185
|
-
|
|
16186
|
-
|
|
16187
|
-
|
|
16188
|
-
|
|
16206
|
+
@keyframes muka-menu-slide-left {
|
|
16207
|
+
from {
|
|
16208
|
+
opacity: 0;
|
|
16209
|
+
transform: translateX(4px);
|
|
16210
|
+
}
|
|
16211
|
+
to {
|
|
16212
|
+
opacity: 1;
|
|
16213
|
+
transform: translateX(0);
|
|
16214
|
+
}
|
|
16189
16215
|
}
|
|
16190
16216
|
|
|
16191
|
-
|
|
16192
|
-
|
|
16193
|
-
|
|
16194
|
-
|
|
16217
|
+
@keyframes muka-menu-slide-right {
|
|
16218
|
+
from {
|
|
16219
|
+
opacity: 0;
|
|
16220
|
+
transform: translateX(-4px);
|
|
16221
|
+
}
|
|
16222
|
+
to {
|
|
16223
|
+
opacity: 1;
|
|
16224
|
+
transform: translateX(0);
|
|
16225
|
+
}
|
|
16195
16226
|
}
|
|
16196
16227
|
|
|
16197
|
-
/* ─── Visually-hidden label ───────────────────────────── */
|
|
16198
16228
|
|
|
16199
|
-
|
|
16200
|
-
|
|
16201
|
-
|
|
16202
|
-
|
|
16203
|
-
|
|
16204
|
-
|
|
16229
|
+
/* NavigationTransition */
|
|
16230
|
+
/* NavigationTransition Component Styles */
|
|
16231
|
+
|
|
16232
|
+
/* ─── Wrapper ────────────────────────────────────────── */
|
|
16233
|
+
|
|
16234
|
+
.muka-nav-transition {
|
|
16235
|
+
position: relative;
|
|
16236
|
+
height: 100vh;
|
|
16205
16237
|
overflow: hidden;
|
|
16206
|
-
clip: rect(0, 0, 0, 0);
|
|
16207
|
-
white-space: nowrap;
|
|
16208
|
-
border: 0;
|
|
16209
16238
|
}
|
|
16210
16239
|
|
|
16211
|
-
/*
|
|
16212
|
-
|
|
16213
|
-
|
|
16214
|
-
to {
|
|
16215
|
-
transform: rotate(360deg);
|
|
16216
|
-
}
|
|
16240
|
+
/* Disable interaction during animation */
|
|
16241
|
+
.muka-nav-transition--active {
|
|
16242
|
+
pointer-events: none;
|
|
16217
16243
|
}
|
|
16218
16244
|
|
|
16219
|
-
|
|
16220
|
-
|
|
16221
|
-
|
|
16222
|
-
|
|
16245
|
+
/* ─── View slots ─────────────────────────────────────── */
|
|
16246
|
+
|
|
16247
|
+
.muka-nav-transition--active .muka-nav-transition__view {
|
|
16248
|
+
position: absolute;
|
|
16249
|
+
inset: 0;
|
|
16223
16250
|
}
|
|
16224
16251
|
|
|
16252
|
+
/* Z-index layering */
|
|
16253
|
+
.muka-nav-transition__view--bottom { z-index: 1; }
|
|
16254
|
+
.muka-nav-transition__view--top { z-index: 2; }
|
|
16255
|
+
|