@revikornmann/muka-ui 0.43.0 → 0.44.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/build/manifest.json +10 -0
- package/dist/cjs/components/Breadcrumb/Breadcrumb.css +26 -82
- package/dist/cjs/components/Breadcrumb/Breadcrumb.js +17 -18
- package/dist/cjs/components/Breadcrumb/Breadcrumb.js.map +1 -1
- package/dist/cjs/components/Breadcrumb/BreadcrumbContextMenu.js +38 -0
- package/dist/cjs/components/Breadcrumb/BreadcrumbContextMenu.js.map +1 -0
- package/dist/cjs/components/Breadcrumb/index.js.map +1 -1
- package/dist/cjs/components/Chip/Chip.css +185 -136
- package/dist/cjs/components/Chip/Chip.js +50 -12
- package/dist/cjs/components/Chip/Chip.js.map +1 -1
- package/dist/cjs/components/Chip/index.js.map +1 -1
- package/dist/cjs/components/Combobox/Combobox.js +1 -1
- package/dist/cjs/components/Combobox/Combobox.js.map +1 -1
- package/dist/cjs/components/DropdownSelect/DropdownSelect.js +1 -1
- package/dist/cjs/components/DropdownSelect/DropdownSelect.js.map +1 -1
- package/dist/cjs/components/index.js +2 -4
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/esm/components/Breadcrumb/Breadcrumb.css +26 -82
- package/dist/esm/components/Breadcrumb/Breadcrumb.js +17 -18
- package/dist/esm/components/Breadcrumb/Breadcrumb.js.map +1 -1
- package/dist/esm/components/Breadcrumb/BreadcrumbContextMenu.js +34 -0
- package/dist/esm/components/Breadcrumb/BreadcrumbContextMenu.js.map +1 -0
- package/dist/esm/components/Breadcrumb/index.js +1 -1
- package/dist/esm/components/Breadcrumb/index.js.map +1 -1
- package/dist/esm/components/Chip/Chip.css +185 -136
- package/dist/esm/components/Chip/Chip.js +50 -12
- package/dist/esm/components/Chip/Chip.js.map +1 -1
- package/dist/esm/components/Chip/index.js.map +1 -1
- package/dist/esm/components/Combobox/Combobox.js +1 -1
- package/dist/esm/components/Combobox/Combobox.js.map +1 -1
- package/dist/esm/components/DropdownSelect/DropdownSelect.js +1 -1
- package/dist/esm/components/DropdownSelect/DropdownSelect.js.map +1 -1
- package/dist/esm/components/index.js +1 -2
- package/dist/esm/components/index.js.map +1 -1
- package/dist/styles/components/Breadcrumb.css +26 -82
- package/dist/styles/components/Chip.css +185 -136
- package/dist/styles/index.css +533 -641
- package/dist/styles/muka-dark.css +533 -641
- package/dist/styles/muka-light.css +533 -641
- package/dist/styles/tokens-bouwplan-dark.css +51 -32
- package/dist/styles/tokens-bouwplan-light.css +51 -32
- package/dist/styles/tokens-fscl-dark.css +51 -32
- package/dist/styles/tokens-fscl-light.css +51 -32
- package/dist/styles/tokens-grip-dark.css +51 -32
- package/dist/styles/tokens-grip-light.css +51 -32
- package/dist/styles/tokens-muka-dark.css +51 -32
- package/dist/styles/tokens-muka-light.css +51 -32
- package/dist/styles/tokens-wireframe-dark.css +51 -32
- package/dist/styles/tokens-wireframe-light.css +51 -32
- package/dist/styles/wireframe-dark.css +533 -641
- package/dist/styles/wireframe-light.css +533 -641
- package/dist/types/components/Breadcrumb/Breadcrumb.d.ts +18 -25
- package/dist/types/components/Breadcrumb/Breadcrumb.d.ts.map +1 -1
- package/dist/types/components/Breadcrumb/BreadcrumbContextMenu.d.ts +41 -0
- package/dist/types/components/Breadcrumb/BreadcrumbContextMenu.d.ts.map +1 -0
- package/dist/types/components/Breadcrumb/index.d.ts +1 -1
- package/dist/types/components/Breadcrumb/index.d.ts.map +1 -1
- package/dist/types/components/Chip/Chip.d.ts +66 -14
- package/dist/types/components/Chip/Chip.d.ts.map +1 -1
- package/dist/types/components/Chip/index.d.ts +1 -1
- package/dist/types/components/Chip/index.d.ts.map +1 -1
- package/dist/types/components/index.d.ts +2 -3
- package/dist/types/components/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/tokens/t4-components/breadcrumb.json +28 -0
- package/tokens/t4-components/chip.json +85 -1
- package/tokens/t4-components/emptystate.json +2 -2
- package/dist/cjs/components/ContextSelect/ContextSelect.css +0 -117
- package/dist/cjs/components/ContextSelect/ContextSelect.js +0 -49
- package/dist/cjs/components/ContextSelect/ContextSelect.js.map +0 -1
- package/dist/cjs/components/ContextSelect/index.js +0 -11
- package/dist/cjs/components/ContextSelect/index.js.map +0 -1
- package/dist/esm/components/ContextSelect/ContextSelect.css +0 -117
- package/dist/esm/components/ContextSelect/ContextSelect.js +0 -45
- package/dist/esm/components/ContextSelect/ContextSelect.js.map +0 -1
- package/dist/esm/components/ContextSelect/index.js +0 -3
- package/dist/esm/components/ContextSelect/index.js.map +0 -1
- package/dist/styles/components/ContextSelect.css +0 -117
- package/dist/types/components/ContextSelect/ContextSelect.d.ts +0 -68
- package/dist/types/components/ContextSelect/ContextSelect.d.ts.map +0 -1
- package/dist/types/components/ContextSelect/index.d.ts +0 -3
- package/dist/types/components/ContextSelect/index.d.ts.map +0 -1
package/dist/styles/index.css
CHANGED
|
@@ -1832,36 +1832,55 @@ body {
|
|
|
1832
1832
|
--chip-padding-trailing-sm: 2px;
|
|
1833
1833
|
--chip-padding-trailing-md: 0.25rem;
|
|
1834
1834
|
--chip-padding-trailing-lg: 0.25rem;
|
|
1835
|
-
--chip-
|
|
1836
|
-
--chip-
|
|
1837
|
-
--chip-
|
|
1838
|
-
--chip-
|
|
1839
|
-
--chip-
|
|
1840
|
-
--chip-
|
|
1841
|
-
--chip-
|
|
1842
|
-
--chip-
|
|
1843
|
-
--chip-
|
|
1844
|
-
--chip-
|
|
1845
|
-
--chip-
|
|
1846
|
-
--chip-
|
|
1847
|
-
--chip-
|
|
1848
|
-
--chip-
|
|
1849
|
-
--chip-
|
|
1850
|
-
--chip-
|
|
1851
|
-
--chip-
|
|
1852
|
-
--chip-
|
|
1853
|
-
--chip-
|
|
1854
|
-
--chip-
|
|
1855
|
-
--chip-
|
|
1856
|
-
--chip-
|
|
1857
|
-
--chip-
|
|
1858
|
-
--chip-
|
|
1859
|
-
--chip-
|
|
1860
|
-
--chip-
|
|
1861
|
-
--chip-
|
|
1862
|
-
--chip-
|
|
1863
|
-
--chip-
|
|
1864
|
-
--chip-
|
|
1835
|
+
--chip-padding-labelEnd-sm: 0.75rem;
|
|
1836
|
+
--chip-padding-labelEnd-md: 1rem;
|
|
1837
|
+
--chip-padding-labelEnd-lg: 1.25rem;
|
|
1838
|
+
--chip-neutral-background-default: #f2eff3;
|
|
1839
|
+
--chip-neutral-background-hover: #eae7ec;
|
|
1840
|
+
--chip-ghost-background-default: transparent;
|
|
1841
|
+
--chip-ghost-background-hover: rgba(43, 0, 85, 0.024);
|
|
1842
|
+
--chip-ghost-foreground-default: #8e8c99;
|
|
1843
|
+
--chip-ghost-foreground-hover: #211f26;
|
|
1844
|
+
--chip-trailing-default-background-default: #f2eff3;
|
|
1845
|
+
--chip-trailing-default-background-hover: #eae7ec;
|
|
1846
|
+
--chip-trailing-default-background-pressed: #e3dfe6;
|
|
1847
|
+
--chip-trailing-default-foreground-default: #65636d;
|
|
1848
|
+
--chip-trailing-default-foreground-hover: #65636d;
|
|
1849
|
+
--chip-trailing-default-foreground-pressed: #65636d;
|
|
1850
|
+
--chip-trailing-success-background-default: #ddf9f2;
|
|
1851
|
+
--chip-trailing-success-background-hover: #c8f4e9;
|
|
1852
|
+
--chip-trailing-success-background-pressed: #b3ecde;
|
|
1853
|
+
--chip-trailing-success-foreground-default: #16433c;
|
|
1854
|
+
--chip-trailing-success-foreground-hover: #16433c;
|
|
1855
|
+
--chip-trailing-success-foreground-pressed: #16433c;
|
|
1856
|
+
--chip-trailing-warning-background-default: #fff7c2;
|
|
1857
|
+
--chip-trailing-warning-background-hover: #ffee9c;
|
|
1858
|
+
--chip-trailing-warning-background-pressed: #fbe577;
|
|
1859
|
+
--chip-trailing-warning-foreground-default: #ab6400;
|
|
1860
|
+
--chip-trailing-warning-foreground-hover: #ab6400;
|
|
1861
|
+
--chip-trailing-warning-foreground-pressed: #ab6400;
|
|
1862
|
+
--chip-trailing-error-background-default: #ffefef;
|
|
1863
|
+
--chip-trailing-error-background-hover: #ffe5e5;
|
|
1864
|
+
--chip-trailing-error-background-pressed: #fdd8d8;
|
|
1865
|
+
--chip-trailing-error-foreground-default: #cd2b31;
|
|
1866
|
+
--chip-trailing-error-foreground-hover: #cd2b31;
|
|
1867
|
+
--chip-trailing-error-foreground-pressed: #cd2b31;
|
|
1868
|
+
--chip-trailing-info-background-default: #edf2fe;
|
|
1869
|
+
--chip-trailing-info-background-hover: #e1e9ff;
|
|
1870
|
+
--chip-trailing-info-background-pressed: #d2deff;
|
|
1871
|
+
--chip-trailing-info-foreground-default: #3a5ccc;
|
|
1872
|
+
--chip-trailing-info-foreground-hover: #3a5ccc;
|
|
1873
|
+
--chip-trailing-info-foreground-pressed: #3a5ccc;
|
|
1874
|
+
--chip-trailing-ghost-border-default: #eae7ec;
|
|
1875
|
+
--chip-trailing-ghost-background-default: transparent;
|
|
1876
|
+
--chip-trailing-ghost-background-hover: #fdfcfd;
|
|
1877
|
+
--chip-trailing-ghost-background-pressed: #e3dfe6;
|
|
1878
|
+
--chip-trailing-ghost-foreground-default: #8e8c99;
|
|
1879
|
+
--chip-trailing-ghost-foreground-hover: #65636d;
|
|
1880
|
+
--chip-trailing-ghost-foreground-pressed: #65636d;
|
|
1881
|
+
--breadcrumb-gap-separator: 0.25rem;
|
|
1882
|
+
--breadcrumb-separator-color: #d0cdd7;
|
|
1883
|
+
--breadcrumb-truncate-current-minWidth: 8rem;
|
|
1865
1884
|
--checkbox-size-sm: 1.25rem;
|
|
1866
1885
|
--checkbox-size-default: 1.5rem;
|
|
1867
1886
|
--checkbox-size-lg: 2rem;
|
|
@@ -2290,13 +2309,13 @@ body {
|
|
|
2290
2309
|
--emptystate-container-padding-md: 2rem;
|
|
2291
2310
|
--emptystate-container-padding-lg: 3rem;
|
|
2292
2311
|
--emptystate-container-gap: 1rem;
|
|
2293
|
-
--emptystate-container-maxWidth:
|
|
2312
|
+
--emptystate-container-maxWidth: 40rem;
|
|
2294
2313
|
--emptystate-icon-size-sm: 2rem;
|
|
2295
2314
|
--emptystate-icon-size-md: 3rem;
|
|
2296
2315
|
--emptystate-icon-size-lg: 4rem;
|
|
2297
2316
|
--emptystate-icon-color: #d0cdd7;
|
|
2298
2317
|
--emptystate-title-color: #211f26;
|
|
2299
|
-
--emptystate-description-color: #
|
|
2318
|
+
--emptystate-description-color: #211f26;
|
|
2300
2319
|
--emptystate-actions-gap: 0.75rem;
|
|
2301
2320
|
--emptystate-actions-marginTop: 1rem;
|
|
2302
2321
|
--documentviewer-container-background: #fdfcfd;
|
|
@@ -4747,114 +4766,6 @@ body {
|
|
|
4747
4766
|
}
|
|
4748
4767
|
|
|
4749
4768
|
|
|
4750
|
-
/* SwipeActions */
|
|
4751
|
-
/* SwipeActions Component Styles */
|
|
4752
|
-
|
|
4753
|
-
.muka-swipe-actions {
|
|
4754
|
-
position: relative;
|
|
4755
|
-
overflow: hidden;
|
|
4756
|
-
touch-action: pan-y;
|
|
4757
|
-
-webkit-user-select: none;
|
|
4758
|
-
user-select: none;
|
|
4759
|
-
background-color: var(--color-surface-level3);
|
|
4760
|
-
}
|
|
4761
|
-
|
|
4762
|
-
.muka-swipe-actions--disabled {
|
|
4763
|
-
touch-action: auto;
|
|
4764
|
-
}
|
|
4765
|
-
|
|
4766
|
-
/* ─── Row that holds the actual content ────────────────── */
|
|
4767
|
-
|
|
4768
|
-
.muka-swipe-actions__row {
|
|
4769
|
-
position: relative;
|
|
4770
|
-
z-index: 1;
|
|
4771
|
-
background-color: inherit;
|
|
4772
|
-
will-change: transform;
|
|
4773
|
-
}
|
|
4774
|
-
|
|
4775
|
-
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
4776
|
-
|
|
4777
|
-
.muka-swipe-actions__panel {
|
|
4778
|
-
position: absolute;
|
|
4779
|
-
top: 0;
|
|
4780
|
-
bottom: 0;
|
|
4781
|
-
display: flex;
|
|
4782
|
-
align-items: stretch;
|
|
4783
|
-
z-index: 0;
|
|
4784
|
-
}
|
|
4785
|
-
|
|
4786
|
-
.muka-swipe-actions__panel--left {
|
|
4787
|
-
left: 0;
|
|
4788
|
-
}
|
|
4789
|
-
|
|
4790
|
-
.muka-swipe-actions__panel--right {
|
|
4791
|
-
right: 0;
|
|
4792
|
-
}
|
|
4793
|
-
|
|
4794
|
-
/* ─── Single action button ─────────────────────────────── */
|
|
4795
|
-
|
|
4796
|
-
.muka-swipe-actions__button {
|
|
4797
|
-
display: flex;
|
|
4798
|
-
flex-direction: column;
|
|
4799
|
-
align-items: center;
|
|
4800
|
-
justify-content: center;
|
|
4801
|
-
gap: var(--spacing-1);
|
|
4802
|
-
border: none;
|
|
4803
|
-
cursor: pointer;
|
|
4804
|
-
padding: var(--spacing-2);
|
|
4805
|
-
background-color: var(--color-surface-level2);
|
|
4806
|
-
color: var(--color-text-default-default);
|
|
4807
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
4808
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
4809
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
4810
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
4811
|
-
-webkit-tap-highlight-color: transparent;
|
|
4812
|
-
transition: filter 0.12s ease;
|
|
4813
|
-
}
|
|
4814
|
-
|
|
4815
|
-
.muka-swipe-actions__button:hover {
|
|
4816
|
-
filter: brightness(0.95);
|
|
4817
|
-
}
|
|
4818
|
-
|
|
4819
|
-
.muka-swipe-actions__button:focus-visible {
|
|
4820
|
-
outline: 2px solid var(--color-action-default);
|
|
4821
|
-
outline-offset: -2px;
|
|
4822
|
-
}
|
|
4823
|
-
|
|
4824
|
-
.muka-swipe-actions__button-icon {
|
|
4825
|
-
display: inline-flex;
|
|
4826
|
-
align-items: center;
|
|
4827
|
-
justify-content: center;
|
|
4828
|
-
}
|
|
4829
|
-
|
|
4830
|
-
/* ─── Color variants ───────────────────────────────────── */
|
|
4831
|
-
|
|
4832
|
-
.muka-swipe-actions__button--neutral {
|
|
4833
|
-
background-color: var(--color-surface-level2);
|
|
4834
|
-
color: var(--color-text-default-default);
|
|
4835
|
-
}
|
|
4836
|
-
|
|
4837
|
-
.muka-swipe-actions__button--primary {
|
|
4838
|
-
background-color: var(--color-action-default);
|
|
4839
|
-
color: var(--color-text-default-inverse);
|
|
4840
|
-
}
|
|
4841
|
-
|
|
4842
|
-
.muka-swipe-actions__button--success {
|
|
4843
|
-
background-color: var(--color-state-success-default);
|
|
4844
|
-
color: var(--color-text-default-inverse);
|
|
4845
|
-
}
|
|
4846
|
-
|
|
4847
|
-
.muka-swipe-actions__button--warning {
|
|
4848
|
-
background-color: var(--color-state-warning-default);
|
|
4849
|
-
color: var(--color-text-default-default);
|
|
4850
|
-
}
|
|
4851
|
-
|
|
4852
|
-
.muka-swipe-actions__button--destructive {
|
|
4853
|
-
background-color: var(--color-state-error-default);
|
|
4854
|
-
color: var(--color-text-default-inverse);
|
|
4855
|
-
}
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
4769
|
/* Spinner */
|
|
4859
4770
|
/* Spinner Component Styles */
|
|
4860
4771
|
|
|
@@ -12607,126 +12518,6 @@ li.muka-listitem {
|
|
|
12607
12518
|
}
|
|
12608
12519
|
|
|
12609
12520
|
|
|
12610
|
-
/* ContextSelect */
|
|
12611
|
-
/* ContextSelect — split label (navigate) + chevron menu button (switch)
|
|
12612
|
-
*
|
|
12613
|
-
* Figma (5623:8651 / 5631:9344):
|
|
12614
|
-
* - Root: gap spacing/1 (4px) between label group and chevron
|
|
12615
|
-
* - Label group: gap spacing/2 (8px) icon↔label, pl spacing/2 (8px)
|
|
12616
|
-
* - Icons: 16px (icon.size.xs)
|
|
12617
|
-
*/
|
|
12618
|
-
|
|
12619
|
-
.muka-context-select {
|
|
12620
|
-
display: inline-flex;
|
|
12621
|
-
position: relative;
|
|
12622
|
-
align-items: flex-start;
|
|
12623
|
-
gap: var(--spacing-1, 4px);
|
|
12624
|
-
}
|
|
12625
|
-
|
|
12626
|
-
.muka-context-select__label-group {
|
|
12627
|
-
display: inline-flex;
|
|
12628
|
-
align-items: center;
|
|
12629
|
-
gap: var(--spacing-2, 8px);
|
|
12630
|
-
height: var(--size-2xl, 32px);
|
|
12631
|
-
padding-left: var(--spacing-2, 8px);
|
|
12632
|
-
padding-right: 0;
|
|
12633
|
-
border-radius: var(--border-radius-lg);
|
|
12634
|
-
color: var(--color-text-default-default);
|
|
12635
|
-
text-decoration: none;
|
|
12636
|
-
border: none;
|
|
12637
|
-
background: transparent;
|
|
12638
|
-
font: inherit;
|
|
12639
|
-
cursor: default;
|
|
12640
|
-
}
|
|
12641
|
-
|
|
12642
|
-
.muka-context-select__label-group--link,
|
|
12643
|
-
.muka-context-select__label-group--button {
|
|
12644
|
-
cursor: pointer;
|
|
12645
|
-
}
|
|
12646
|
-
|
|
12647
|
-
.muka-context-select__label-group--link:hover .muka-context-select__label,
|
|
12648
|
-
.muka-context-select__label-group--button:hover .muka-context-select__label,
|
|
12649
|
-
.muka-context-select__label-group--link:focus-visible .muka-context-select__label,
|
|
12650
|
-
.muka-context-select__label-group--button:focus-visible .muka-context-select__label {
|
|
12651
|
-
text-decoration: underline;
|
|
12652
|
-
text-underline-offset: 2px;
|
|
12653
|
-
}
|
|
12654
|
-
|
|
12655
|
-
.muka-context-select__label-group--link:focus-visible,
|
|
12656
|
-
.muka-context-select__label-group--button:focus-visible {
|
|
12657
|
-
outline: 2px solid var(--color-border-focus);
|
|
12658
|
-
outline-offset: 2px;
|
|
12659
|
-
}
|
|
12660
|
-
|
|
12661
|
-
.muka-context-select__label-group--button:disabled,
|
|
12662
|
-
.muka-context-select__label-group--link[aria-disabled='true'] {
|
|
12663
|
-
cursor: not-allowed;
|
|
12664
|
-
opacity: 0.5;
|
|
12665
|
-
pointer-events: none;
|
|
12666
|
-
}
|
|
12667
|
-
|
|
12668
|
-
.muka-context-select__icon {
|
|
12669
|
-
display: inline-flex;
|
|
12670
|
-
flex-shrink: 0;
|
|
12671
|
-
align-items: center;
|
|
12672
|
-
justify-content: center;
|
|
12673
|
-
width: var(--icon-size-xs, 16px);
|
|
12674
|
-
height: var(--icon-size-xs, 16px);
|
|
12675
|
-
color: var(--color-text-default-default);
|
|
12676
|
-
}
|
|
12677
|
-
|
|
12678
|
-
.muka-context-select__icon .muka-icon {
|
|
12679
|
-
width: var(--icon-size-xs, 16px);
|
|
12680
|
-
height: var(--icon-size-xs, 16px);
|
|
12681
|
-
}
|
|
12682
|
-
|
|
12683
|
-
.muka-context-select__label {
|
|
12684
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
12685
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
12686
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
12687
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
12688
|
-
white-space: nowrap;
|
|
12689
|
-
}
|
|
12690
|
-
|
|
12691
|
-
.muka-context-select__menu-button {
|
|
12692
|
-
position: relative;
|
|
12693
|
-
display: inline-flex;
|
|
12694
|
-
flex-shrink: 0;
|
|
12695
|
-
align-items: center;
|
|
12696
|
-
justify-content: center;
|
|
12697
|
-
width: var(--size-2xl, 32px);
|
|
12698
|
-
height: var(--size-2xl, 32px);
|
|
12699
|
-
margin: 0;
|
|
12700
|
-
padding: 0;
|
|
12701
|
-
border: none;
|
|
12702
|
-
border-radius: var(--border-radius-lg);
|
|
12703
|
-
background: transparent;
|
|
12704
|
-
color: var(--color-text-default-default);
|
|
12705
|
-
cursor: pointer;
|
|
12706
|
-
}
|
|
12707
|
-
|
|
12708
|
-
.muka-context-select__menu-button:hover,
|
|
12709
|
-
.muka-context-select__menu-button:focus-visible,
|
|
12710
|
-
.muka-context-select__menu-button[data-state='open'],
|
|
12711
|
-
.muka-context-select--expanded .muka-context-select__menu-button {
|
|
12712
|
-
border: var(--border-width-regular) solid var(--color-border-default);
|
|
12713
|
-
}
|
|
12714
|
-
|
|
12715
|
-
.muka-context-select__menu-button:focus-visible {
|
|
12716
|
-
outline: 2px solid var(--color-border-focus);
|
|
12717
|
-
outline-offset: 2px;
|
|
12718
|
-
}
|
|
12719
|
-
|
|
12720
|
-
.muka-context-select__menu-button:disabled {
|
|
12721
|
-
cursor: not-allowed;
|
|
12722
|
-
opacity: 0.5;
|
|
12723
|
-
}
|
|
12724
|
-
|
|
12725
|
-
.muka-context-select__content {
|
|
12726
|
-
min-width: 17.5rem;
|
|
12727
|
-
}
|
|
12728
|
-
|
|
12729
|
-
|
|
12730
12521
|
/* Container */
|
|
12731
12522
|
/* Container Component - Layout tokens (container.max-width, container.gap) */
|
|
12732
12523
|
|
|
@@ -12952,28 +12743,37 @@ li.muka-listitem {
|
|
|
12952
12743
|
|
|
12953
12744
|
|
|
12954
12745
|
/* Chip */
|
|
12955
|
-
/* Chip Component Styles - Using Muka Design Tokens (Figma: Chip) */
|
|
12746
|
+
/* Chip Component Styles - Using Muka Design Tokens (Figma: Chip, Chip/Trailing) */
|
|
12956
12747
|
|
|
12748
|
+
/*
|
|
12749
|
+
* Internal custom properties (not public API):
|
|
12750
|
+
* --_chip-gap / --_chip-pad-start / --_chip-pad-end spacing per size and slot
|
|
12751
|
+
* --_chip-tr-* trailing button colours per variant
|
|
12752
|
+
*/
|
|
12957
12753
|
.muka-chip {
|
|
12958
12754
|
display: inline-flex;
|
|
12959
12755
|
align-items: center;
|
|
12756
|
+
gap: var(--_chip-gap);
|
|
12757
|
+
padding: 0 var(--_chip-pad-end) 0 var(--_chip-pad-start);
|
|
12960
12758
|
border-radius: var(--border-radius-full);
|
|
12961
12759
|
white-space: nowrap;
|
|
12962
12760
|
user-select: none;
|
|
12963
12761
|
border: var(--border-width-regular) solid transparent;
|
|
12964
12762
|
box-sizing: border-box;
|
|
12763
|
+
max-width: 100%;
|
|
12965
12764
|
}
|
|
12966
12765
|
|
|
12967
12766
|
/*
|
|
12968
|
-
* Sizes
|
|
12969
|
-
*
|
|
12970
|
-
*
|
|
12971
|
-
*
|
|
12767
|
+
* Sizes: height, gap, type, and label-edge padding. The side that carries an
|
|
12768
|
+
* adornment gets its own padding: leading icon → chip.padding.leading, and the
|
|
12769
|
+
* right edge after a leading icon → chip.padding.labelEnd (Figma lg: 20). A
|
|
12770
|
+
* trailing button → chip.padding.trailing, which wins (declared later).
|
|
12972
12771
|
*/
|
|
12973
12772
|
.muka-chip--sm {
|
|
12974
12773
|
height: var(--chip-size-height-sm);
|
|
12975
|
-
gap: var(--chip-gap-sm);
|
|
12976
|
-
|
|
12774
|
+
--_chip-gap: var(--chip-gap-sm);
|
|
12775
|
+
--_chip-pad-start: var(--chip-padding-label-sm);
|
|
12776
|
+
--_chip-pad-end: var(--chip-padding-label-sm);
|
|
12977
12777
|
font-family: var(--text-label-sm-regular-fontFamily);
|
|
12978
12778
|
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
12979
12779
|
font-size: var(--text-label-sm-regular-fontSize);
|
|
@@ -12982,8 +12782,9 @@ li.muka-listitem {
|
|
|
12982
12782
|
|
|
12983
12783
|
.muka-chip--md {
|
|
12984
12784
|
height: var(--chip-size-height-md);
|
|
12985
|
-
gap: var(--chip-gap-md);
|
|
12986
|
-
|
|
12785
|
+
--_chip-gap: var(--chip-gap-md);
|
|
12786
|
+
--_chip-pad-start: var(--chip-padding-label-md);
|
|
12787
|
+
--_chip-pad-end: var(--chip-padding-label-md);
|
|
12987
12788
|
font-family: var(--text-label-md-regular-fontFamily);
|
|
12988
12789
|
font-weight: var(--text-label-md-regular-fontWeight);
|
|
12989
12790
|
font-size: var(--text-label-md-regular-fontSize);
|
|
@@ -12992,37 +12793,36 @@ li.muka-listitem {
|
|
|
12992
12793
|
|
|
12993
12794
|
.muka-chip--lg {
|
|
12994
12795
|
height: var(--chip-size-height-lg);
|
|
12995
|
-
gap: var(--chip-gap-lg);
|
|
12996
|
-
|
|
12796
|
+
--_chip-gap: var(--chip-gap-lg);
|
|
12797
|
+
--_chip-pad-start: var(--chip-padding-label-lg);
|
|
12798
|
+
--_chip-pad-end: var(--chip-padding-label-lg);
|
|
12997
12799
|
font-family: var(--text-label-lg-regular-fontFamily);
|
|
12998
12800
|
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
12999
12801
|
font-size: var(--text-label-lg-regular-fontSize);
|
|
13000
12802
|
line-height: var(--text-label-lg-regular-lineHeight);
|
|
13001
12803
|
}
|
|
13002
12804
|
|
|
13003
|
-
/* Tighter leading padding when a leading icon is present */
|
|
13004
12805
|
.muka-chip--sm.muka-chip--has-icon {
|
|
13005
|
-
|
|
12806
|
+
--_chip-pad-start: var(--chip-padding-leading-sm);
|
|
12807
|
+
--_chip-pad-end: var(--chip-padding-labelEnd-sm);
|
|
13006
12808
|
}
|
|
13007
12809
|
.muka-chip--md.muka-chip--has-icon {
|
|
13008
|
-
|
|
12810
|
+
--_chip-pad-start: var(--chip-padding-leading-md);
|
|
12811
|
+
--_chip-pad-end: var(--chip-padding-labelEnd-md);
|
|
13009
12812
|
}
|
|
13010
12813
|
.muka-chip--lg.muka-chip--has-icon {
|
|
13011
|
-
|
|
12814
|
+
--_chip-pad-start: var(--chip-padding-leading-lg);
|
|
12815
|
+
--_chip-pad-end: var(--chip-padding-labelEnd-lg);
|
|
13012
12816
|
}
|
|
13013
12817
|
|
|
13014
|
-
|
|
13015
|
-
|
|
13016
|
-
.muka-chip--sm.muka-chip--expandable {
|
|
13017
|
-
padding-right: var(--chip-padding-trailing-sm);
|
|
12818
|
+
.muka-chip--sm.muka-chip--has-trailing {
|
|
12819
|
+
--_chip-pad-end: var(--chip-padding-trailing-sm);
|
|
13018
12820
|
}
|
|
13019
|
-
.muka-chip--md.muka-chip--
|
|
13020
|
-
|
|
13021
|
-
padding-right: var(--chip-padding-trailing-md);
|
|
12821
|
+
.muka-chip--md.muka-chip--has-trailing {
|
|
12822
|
+
--_chip-pad-end: var(--chip-padding-trailing-md);
|
|
13022
12823
|
}
|
|
13023
|
-
.muka-chip--lg.muka-chip--
|
|
13024
|
-
|
|
13025
|
-
padding-right: var(--chip-padding-trailing-lg);
|
|
12824
|
+
.muka-chip--lg.muka-chip--has-trailing {
|
|
12825
|
+
--_chip-pad-end: var(--chip-padding-trailing-lg);
|
|
13026
12826
|
}
|
|
13027
12827
|
|
|
13028
12828
|
/* Leading icon slot — Figma icon sizes: sm 16, md 20, lg 24 */
|
|
@@ -13069,47 +12869,117 @@ li.muka-listitem {
|
|
|
13069
12869
|
line-height: normal;
|
|
13070
12870
|
}
|
|
13071
12871
|
|
|
13072
|
-
/*
|
|
13073
|
-
.
|
|
13074
|
-
|
|
12872
|
+
/*
|
|
12873
|
+
* Label as a link or button (`href` / `onLabelClick`). It takes over the
|
|
12874
|
+
* chip's start padding (and end padding when there is no trailing button), so
|
|
12875
|
+
* the whole body up to the trailing button is its hit area.
|
|
12876
|
+
*/
|
|
12877
|
+
.muka-chip__label-action,
|
|
12878
|
+
.muka-chip__label-group {
|
|
12879
|
+
display: inline-flex;
|
|
12880
|
+
align-items: center;
|
|
12881
|
+
gap: var(--_chip-gap);
|
|
12882
|
+
min-width: 0;
|
|
12883
|
+
}
|
|
12884
|
+
|
|
12885
|
+
.muka-chip__label-action {
|
|
12886
|
+
align-self: stretch;
|
|
12887
|
+
margin: 0;
|
|
12888
|
+
margin-left: calc(-1 * var(--_chip-pad-start));
|
|
12889
|
+
padding: 0 0 0 var(--_chip-pad-start);
|
|
12890
|
+
border: none;
|
|
12891
|
+
border-radius: var(--border-radius-full);
|
|
12892
|
+
background: none;
|
|
12893
|
+
color: inherit;
|
|
12894
|
+
font: inherit;
|
|
12895
|
+
text-decoration: none;
|
|
12896
|
+
text-align: inherit;
|
|
12897
|
+
cursor: pointer;
|
|
12898
|
+
}
|
|
12899
|
+
|
|
12900
|
+
.muka-chip--has-label-action:not(.muka-chip--has-trailing) .muka-chip__label-action {
|
|
12901
|
+
margin-right: calc(-1 * var(--_chip-pad-end));
|
|
12902
|
+
padding-right: var(--_chip-pad-end);
|
|
12903
|
+
}
|
|
12904
|
+
|
|
12905
|
+
.muka-chip__label-action:focus-visible {
|
|
12906
|
+
outline: 2px solid var(--color-border-focus);
|
|
12907
|
+
outline-offset: 2px;
|
|
12908
|
+
}
|
|
12909
|
+
|
|
12910
|
+
/* Trailing button (dismiss / expand / switch) — circular. Figma sizes: sm 20, md 24, lg 32 */
|
|
12911
|
+
.muka-chip__trailing {
|
|
12912
|
+
position: relative;
|
|
13075
12913
|
display: inline-flex;
|
|
13076
12914
|
align-items: center;
|
|
13077
12915
|
justify-content: center;
|
|
13078
12916
|
flex-shrink: 0;
|
|
13079
12917
|
padding: 0;
|
|
13080
12918
|
margin: 0;
|
|
13081
|
-
border:
|
|
12919
|
+
border: var(--border-width-regular) solid var(--_chip-tr-border, transparent);
|
|
13082
12920
|
border-radius: var(--border-radius-full);
|
|
12921
|
+
box-sizing: border-box;
|
|
12922
|
+
background-color: var(--_chip-tr-bg);
|
|
12923
|
+
color: var(--_chip-tr-fg);
|
|
13083
12924
|
cursor: pointer;
|
|
13084
|
-
transition: background-color 0.15s ease, color 0.15s ease;
|
|
12925
|
+
transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
|
|
13085
12926
|
}
|
|
13086
12927
|
|
|
13087
|
-
.muka-chip--sm .muka-
|
|
13088
|
-
.muka-chip--sm .muka-chip__expand {
|
|
12928
|
+
.muka-chip--sm .muka-chip__trailing {
|
|
13089
12929
|
width: var(--icon-size-sm);
|
|
13090
12930
|
height: var(--icon-size-sm);
|
|
13091
12931
|
}
|
|
13092
|
-
.muka-chip--md .muka-
|
|
13093
|
-
.muka-chip--md .muka-chip__expand {
|
|
12932
|
+
.muka-chip--md .muka-chip__trailing {
|
|
13094
12933
|
width: var(--icon-size-default);
|
|
13095
12934
|
height: var(--icon-size-default);
|
|
13096
12935
|
}
|
|
13097
|
-
.muka-chip--lg .muka-
|
|
13098
|
-
.muka-chip--lg .muka-chip__expand {
|
|
12936
|
+
.muka-chip--lg .muka-chip__trailing {
|
|
13099
12937
|
width: var(--icon-size-lg);
|
|
13100
12938
|
height: var(--icon-size-lg);
|
|
13101
12939
|
}
|
|
13102
12940
|
|
|
13103
|
-
.
|
|
13104
|
-
|
|
12941
|
+
/* A touch target of at least the sm chip height (24px, WCAG 2.5.8) around the 20px circle */
|
|
12942
|
+
button.muka-chip__trailing::before {
|
|
12943
|
+
content: '';
|
|
12944
|
+
position: absolute;
|
|
12945
|
+
top: 50%;
|
|
12946
|
+
left: 50%;
|
|
12947
|
+
width: max(100%, var(--chip-size-height-sm));
|
|
12948
|
+
height: max(100%, var(--chip-size-height-sm));
|
|
12949
|
+
transform: translate(-50%, -50%);
|
|
12950
|
+
}
|
|
12951
|
+
|
|
12952
|
+
button.muka-chip__trailing:focus-visible {
|
|
12953
|
+
outline: 2px solid var(--color-border-focus);
|
|
13105
12954
|
outline-offset: 2px;
|
|
13106
12955
|
}
|
|
13107
12956
|
|
|
12957
|
+
button.muka-chip__trailing:disabled {
|
|
12958
|
+
cursor: not-allowed;
|
|
12959
|
+
opacity: 0.5;
|
|
12960
|
+
}
|
|
12961
|
+
|
|
12962
|
+
/* Trailing button states: its own hover / pressed, or the whole chip's when the chip is one button */
|
|
12963
|
+
button.muka-chip__trailing:hover:not(:disabled),
|
|
12964
|
+
.muka-chip--expandable:hover:not(:disabled) .muka-chip__trailing {
|
|
12965
|
+
border-color: var(--_chip-tr-border-hover, transparent);
|
|
12966
|
+
background-color: var(--_chip-tr-bg-hover);
|
|
12967
|
+
color: var(--_chip-tr-fg-hover);
|
|
12968
|
+
}
|
|
12969
|
+
|
|
12970
|
+
button.muka-chip__trailing:active:not(:disabled),
|
|
12971
|
+
button.muka-chip__trailing[aria-expanded='true'],
|
|
12972
|
+
.muka-chip--expandable:active:not(:disabled) .muka-chip__trailing,
|
|
12973
|
+
.muka-chip--expandable[aria-expanded='true'] .muka-chip__trailing {
|
|
12974
|
+
border-color: var(--_chip-tr-border-hover, transparent);
|
|
12975
|
+
background-color: var(--_chip-tr-bg-pressed);
|
|
12976
|
+
color: var(--_chip-tr-fg-pressed);
|
|
12977
|
+
}
|
|
12978
|
+
|
|
13108
12979
|
/*
|
|
13109
|
-
*
|
|
13110
|
-
* typically a menu trigger.
|
|
13111
|
-
*
|
|
13112
|
-
* like Button's open state.
|
|
12980
|
+
* Whole-chip button (`trailing="expand" | "switch"`, Figma "Chip/Trailing
|
|
12981
|
+
* Expand"): typically a menu trigger. An open menu (aria-expanded) shows the
|
|
12982
|
+
* trailing button pressed, like Button's open state.
|
|
13113
12983
|
*/
|
|
13114
12984
|
.muka-chip--expandable {
|
|
13115
12985
|
margin: 0;
|
|
@@ -13126,127 +12996,97 @@ li.muka-listitem {
|
|
|
13126
12996
|
cursor: not-allowed;
|
|
13127
12997
|
}
|
|
13128
12998
|
|
|
13129
|
-
.muka-
|
|
12999
|
+
.muka-chip--expandable .muka-chip__trailing {
|
|
13130
13000
|
pointer-events: none;
|
|
13131
13001
|
}
|
|
13132
13002
|
|
|
13133
|
-
/*
|
|
13134
|
-
* Dismiss button colors — state-tinted per chip variant, with default / hover /
|
|
13135
|
-
* pressed steps. Values come from T4 chip.dismiss.* tokens, which reference the
|
|
13136
|
-
* brand-specific alias state-surface ramp. The ✕ (.muka-icon) inherits `color`.
|
|
13137
|
-
*/
|
|
13138
|
-
.muka-chip--default .muka-chip__remove,
|
|
13139
|
-
.muka-chip--default .muka-chip__expand {
|
|
13140
|
-
background-color: var(--chip-dismiss-default-background-default);
|
|
13141
|
-
color: var(--chip-dismiss-default-foreground-default);
|
|
13142
|
-
}
|
|
13143
|
-
.muka-chip--default .muka-chip__remove:hover,
|
|
13144
|
-
.muka-chip--default.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
|
|
13145
|
-
background-color: var(--chip-dismiss-default-background-hover);
|
|
13146
|
-
color: var(--chip-dismiss-default-foreground-hover);
|
|
13147
|
-
}
|
|
13148
|
-
.muka-chip--default .muka-chip__remove:active,
|
|
13149
|
-
.muka-chip--default.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
|
|
13150
|
-
.muka-chip--default.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
|
|
13151
|
-
background-color: var(--chip-dismiss-default-background-pressed);
|
|
13152
|
-
color: var(--chip-dismiss-default-foreground-pressed);
|
|
13153
|
-
}
|
|
13154
|
-
|
|
13155
|
-
.muka-chip--success .muka-chip__remove,
|
|
13156
|
-
.muka-chip--success .muka-chip__expand {
|
|
13157
|
-
background-color: var(--chip-dismiss-success-background-default);
|
|
13158
|
-
color: var(--chip-dismiss-success-foreground-default);
|
|
13159
|
-
}
|
|
13160
|
-
.muka-chip--success .muka-chip__remove:hover,
|
|
13161
|
-
.muka-chip--success.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
|
|
13162
|
-
background-color: var(--chip-dismiss-success-background-hover);
|
|
13163
|
-
color: var(--chip-dismiss-success-foreground-hover);
|
|
13164
|
-
}
|
|
13165
|
-
.muka-chip--success .muka-chip__remove:active,
|
|
13166
|
-
.muka-chip--success.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
|
|
13167
|
-
.muka-chip--success.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
|
|
13168
|
-
background-color: var(--chip-dismiss-success-background-pressed);
|
|
13169
|
-
color: var(--chip-dismiss-success-foreground-pressed);
|
|
13170
|
-
}
|
|
13171
|
-
|
|
13172
|
-
.muka-chip--warning .muka-chip__remove,
|
|
13173
|
-
.muka-chip--warning .muka-chip__expand {
|
|
13174
|
-
background-color: var(--chip-dismiss-warning-background-default);
|
|
13175
|
-
color: var(--chip-dismiss-warning-foreground-default);
|
|
13176
|
-
}
|
|
13177
|
-
.muka-chip--warning .muka-chip__remove:hover,
|
|
13178
|
-
.muka-chip--warning.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
|
|
13179
|
-
background-color: var(--chip-dismiss-warning-background-hover);
|
|
13180
|
-
color: var(--chip-dismiss-warning-foreground-hover);
|
|
13181
|
-
}
|
|
13182
|
-
.muka-chip--warning .muka-chip__remove:active,
|
|
13183
|
-
.muka-chip--warning.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
|
|
13184
|
-
.muka-chip--warning.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
|
|
13185
|
-
background-color: var(--chip-dismiss-warning-background-pressed);
|
|
13186
|
-
color: var(--chip-dismiss-warning-foreground-pressed);
|
|
13187
|
-
}
|
|
13188
|
-
|
|
13189
|
-
.muka-chip--error .muka-chip__remove,
|
|
13190
|
-
.muka-chip--error .muka-chip__expand {
|
|
13191
|
-
background-color: var(--chip-dismiss-error-background-default);
|
|
13192
|
-
color: var(--chip-dismiss-error-foreground-default);
|
|
13193
|
-
}
|
|
13194
|
-
.muka-chip--error .muka-chip__remove:hover,
|
|
13195
|
-
.muka-chip--error.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
|
|
13196
|
-
background-color: var(--chip-dismiss-error-background-hover);
|
|
13197
|
-
color: var(--chip-dismiss-error-foreground-hover);
|
|
13198
|
-
}
|
|
13199
|
-
.muka-chip--error .muka-chip__remove:active,
|
|
13200
|
-
.muka-chip--error.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
|
|
13201
|
-
.muka-chip--error.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
|
|
13202
|
-
background-color: var(--chip-dismiss-error-background-pressed);
|
|
13203
|
-
color: var(--chip-dismiss-error-foreground-pressed);
|
|
13204
|
-
}
|
|
13205
|
-
|
|
13206
|
-
.muka-chip--info .muka-chip__remove,
|
|
13207
|
-
.muka-chip--info .muka-chip__expand {
|
|
13208
|
-
background-color: var(--chip-dismiss-info-background-default);
|
|
13209
|
-
color: var(--chip-dismiss-info-foreground-default);
|
|
13210
|
-
}
|
|
13211
|
-
.muka-chip--info .muka-chip__remove:hover,
|
|
13212
|
-
.muka-chip--info.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
|
|
13213
|
-
background-color: var(--chip-dismiss-info-background-hover);
|
|
13214
|
-
color: var(--chip-dismiss-info-foreground-hover);
|
|
13215
|
-
}
|
|
13216
|
-
.muka-chip--info .muka-chip__remove:active,
|
|
13217
|
-
.muka-chip--info.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
|
|
13218
|
-
.muka-chip--info.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
|
|
13219
|
-
background-color: var(--chip-dismiss-info-background-pressed);
|
|
13220
|
-
color: var(--chip-dismiss-info-foreground-pressed);
|
|
13221
|
-
}
|
|
13222
|
-
|
|
13223
|
-
/* Variants (solid fill) — icons inherit these foreground colors (see below) */
|
|
13003
|
+
/* Variants: body fill, foreground, and the trailing button's colour steps */
|
|
13224
13004
|
.muka-chip--default {
|
|
13225
|
-
background-color: var(--
|
|
13005
|
+
background-color: var(--chip-neutral-background-default);
|
|
13226
13006
|
color: var(--color-text-default-default);
|
|
13007
|
+
--_chip-tr-bg: var(--chip-trailing-default-background-default);
|
|
13008
|
+
--_chip-tr-bg-hover: var(--chip-trailing-default-background-hover);
|
|
13009
|
+
--_chip-tr-bg-pressed: var(--chip-trailing-default-background-pressed);
|
|
13010
|
+
--_chip-tr-fg: var(--chip-trailing-default-foreground-default);
|
|
13011
|
+
--_chip-tr-fg-hover: var(--chip-trailing-default-foreground-hover);
|
|
13012
|
+
--_chip-tr-fg-pressed: var(--chip-trailing-default-foreground-pressed);
|
|
13227
13013
|
}
|
|
13228
13014
|
|
|
13229
13015
|
.muka-chip--success {
|
|
13230
13016
|
background-color: var(--color-state-success-background);
|
|
13231
13017
|
color: var(--color-state-success-contrast);
|
|
13018
|
+
--_chip-tr-bg: var(--chip-trailing-success-background-default);
|
|
13019
|
+
--_chip-tr-bg-hover: var(--chip-trailing-success-background-hover);
|
|
13020
|
+
--_chip-tr-bg-pressed: var(--chip-trailing-success-background-pressed);
|
|
13021
|
+
--_chip-tr-fg: var(--chip-trailing-success-foreground-default);
|
|
13022
|
+
--_chip-tr-fg-hover: var(--chip-trailing-success-foreground-hover);
|
|
13023
|
+
--_chip-tr-fg-pressed: var(--chip-trailing-success-foreground-pressed);
|
|
13232
13024
|
}
|
|
13233
13025
|
|
|
13234
13026
|
.muka-chip--warning {
|
|
13235
13027
|
background-color: var(--color-state-warning-background);
|
|
13236
13028
|
color: var(--color-state-warning-contrast);
|
|
13029
|
+
--_chip-tr-bg: var(--chip-trailing-warning-background-default);
|
|
13030
|
+
--_chip-tr-bg-hover: var(--chip-trailing-warning-background-hover);
|
|
13031
|
+
--_chip-tr-bg-pressed: var(--chip-trailing-warning-background-pressed);
|
|
13032
|
+
--_chip-tr-fg: var(--chip-trailing-warning-foreground-default);
|
|
13033
|
+
--_chip-tr-fg-hover: var(--chip-trailing-warning-foreground-hover);
|
|
13034
|
+
--_chip-tr-fg-pressed: var(--chip-trailing-warning-foreground-pressed);
|
|
13237
13035
|
}
|
|
13238
13036
|
|
|
13239
13037
|
.muka-chip--error {
|
|
13240
13038
|
background-color: var(--color-state-error-background);
|
|
13241
13039
|
color: var(--color-state-error-contrast);
|
|
13040
|
+
--_chip-tr-bg: var(--chip-trailing-error-background-default);
|
|
13041
|
+
--_chip-tr-bg-hover: var(--chip-trailing-error-background-hover);
|
|
13042
|
+
--_chip-tr-bg-pressed: var(--chip-trailing-error-background-pressed);
|
|
13043
|
+
--_chip-tr-fg: var(--chip-trailing-error-foreground-default);
|
|
13044
|
+
--_chip-tr-fg-hover: var(--chip-trailing-error-foreground-hover);
|
|
13045
|
+
--_chip-tr-fg-pressed: var(--chip-trailing-error-foreground-pressed);
|
|
13242
13046
|
}
|
|
13243
13047
|
|
|
13244
13048
|
.muka-chip--info {
|
|
13245
13049
|
background-color: var(--color-state-info-background);
|
|
13246
13050
|
color: var(--color-state-info-contrast);
|
|
13051
|
+
--_chip-tr-bg: var(--chip-trailing-info-background-default);
|
|
13052
|
+
--_chip-tr-bg-hover: var(--chip-trailing-info-background-hover);
|
|
13053
|
+
--_chip-tr-bg-pressed: var(--chip-trailing-info-background-pressed);
|
|
13054
|
+
--_chip-tr-fg: var(--chip-trailing-info-foreground-default);
|
|
13055
|
+
--_chip-tr-fg-hover: var(--chip-trailing-info-foreground-hover);
|
|
13056
|
+
--_chip-tr-fg-pressed: var(--chip-trailing-info-foreground-pressed);
|
|
13057
|
+
}
|
|
13058
|
+
|
|
13059
|
+
/* Ghost: no fill, subtle label; the trailing circle is outlined at rest (Figma Chip/Trailing Ghost) */
|
|
13060
|
+
.muka-chip--ghost {
|
|
13061
|
+
background-color: var(--chip-ghost-background-default);
|
|
13062
|
+
color: var(--chip-ghost-foreground-default);
|
|
13063
|
+
--_chip-tr-border: var(--chip-trailing-ghost-border-default);
|
|
13064
|
+
--_chip-tr-bg: var(--chip-trailing-ghost-background-default);
|
|
13065
|
+
--_chip-tr-bg-hover: var(--chip-trailing-ghost-background-hover);
|
|
13066
|
+
--_chip-tr-bg-pressed: var(--chip-trailing-ghost-background-pressed);
|
|
13067
|
+
--_chip-tr-fg: var(--chip-trailing-ghost-foreground-default);
|
|
13068
|
+
--_chip-tr-fg-hover: var(--chip-trailing-ghost-foreground-hover);
|
|
13069
|
+
--_chip-tr-fg-pressed: var(--chip-trailing-ghost-foreground-pressed);
|
|
13070
|
+
}
|
|
13071
|
+
|
|
13072
|
+
/*
|
|
13073
|
+
* Body hover (Figma Chip State=Hover) — only on chips whose body does
|
|
13074
|
+
* something: the whole-chip button, or a label link/button (hovering just the
|
|
13075
|
+
* label, not the trailing button, which has its own states). A static chip
|
|
13076
|
+
* doesn't hover.
|
|
13077
|
+
*/
|
|
13078
|
+
.muka-chip--default.muka-chip--expandable:is(:hover, :focus-visible, [aria-expanded='true']):not(:disabled),
|
|
13079
|
+
.muka-chip--default.muka-chip--has-label-action:has(> .muka-chip__label-action:is(:hover, :focus-visible)) {
|
|
13080
|
+
background-color: var(--chip-neutral-background-hover);
|
|
13247
13081
|
}
|
|
13248
13082
|
|
|
13249
|
-
|
|
13083
|
+
.muka-chip--ghost.muka-chip--expandable:is(:hover, :focus-visible, [aria-expanded='true']):not(:disabled),
|
|
13084
|
+
.muka-chip--ghost.muka-chip--has-label-action:has(> .muka-chip__label-action:is(:hover, :focus-visible)) {
|
|
13085
|
+
background-color: var(--chip-ghost-background-hover);
|
|
13086
|
+
color: var(--chip-ghost-foreground-hover);
|
|
13087
|
+
}
|
|
13088
|
+
|
|
13089
|
+
/* Icons (leading + trailing) inherit their slot's foreground color */
|
|
13250
13090
|
.muka-chip .muka-icon {
|
|
13251
13091
|
color: inherit;
|
|
13252
13092
|
}
|
|
@@ -15054,7 +14894,12 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15054
14894
|
|
|
15055
14895
|
|
|
15056
14896
|
/* Breadcrumb */
|
|
15057
|
-
/* Breadcrumb Component Styles
|
|
14897
|
+
/* Breadcrumb Component Styles (Figma: Breadcrumb 6770:12446)
|
|
14898
|
+
*
|
|
14899
|
+
* Every level is a ghost Chip (Chip.css); this file only lays them out,
|
|
14900
|
+
* with the same gap (breadcrumb.gap.separator, 4px) on either side of the
|
|
14901
|
+
* separator.
|
|
14902
|
+
*/
|
|
15058
14903
|
|
|
15059
14904
|
.muka-breadcrumb__list {
|
|
15060
14905
|
display: flex;
|
|
@@ -15063,88 +14908,23 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15063
14908
|
list-style: none;
|
|
15064
14909
|
margin: 0;
|
|
15065
14910
|
padding: 0;
|
|
15066
|
-
gap: var(--
|
|
14911
|
+
gap: var(--breadcrumb-gap-separator);
|
|
15067
14912
|
}
|
|
15068
14913
|
|
|
15069
14914
|
.muka-breadcrumb__item {
|
|
15070
14915
|
display: inline-flex;
|
|
15071
14916
|
align-items: center;
|
|
15072
|
-
gap: var(--
|
|
14917
|
+
gap: var(--breadcrumb-gap-separator);
|
|
14918
|
+
min-width: 0;
|
|
15073
14919
|
}
|
|
15074
14920
|
|
|
15075
|
-
.muka-
|
|
15076
|
-
|
|
14921
|
+
.muka-breadcrumb__separator,
|
|
14922
|
+
.muka-breadcrumb__ellipsis {
|
|
14923
|
+
color: var(--breadcrumb-separator-color);
|
|
14924
|
+
user-select: none;
|
|
15077
14925
|
}
|
|
15078
14926
|
|
|
15079
|
-
|
|
15080
|
-
display: inline-flex;
|
|
15081
|
-
align-items: center;
|
|
15082
|
-
color: var(--color-text-subtle-default);
|
|
15083
|
-
}
|
|
15084
|
-
|
|
15085
|
-
.muka-breadcrumb__icon .muka-icon {
|
|
15086
|
-
color: inherit;
|
|
15087
|
-
}
|
|
15088
|
-
|
|
15089
|
-
.muka-breadcrumb__item:has(.muka-breadcrumb__current) .muka-breadcrumb__icon {
|
|
15090
|
-
color: var(--color-text-default-default);
|
|
15091
|
-
}
|
|
15092
|
-
|
|
15093
|
-
.muka-breadcrumb__item:has(.muka-breadcrumb__link:hover) .muka-breadcrumb__icon {
|
|
15094
|
-
color: var(--color-text-action-default);
|
|
15095
|
-
}
|
|
15096
|
-
|
|
15097
|
-
/* Link styles */
|
|
15098
|
-
.muka-breadcrumb__link {
|
|
15099
|
-
color: var(--color-text-subtle-default);
|
|
15100
|
-
text-decoration: none;
|
|
15101
|
-
border: none;
|
|
15102
|
-
background: none;
|
|
15103
|
-
padding-inline: var(--spacing-2);
|
|
15104
|
-
padding-block: 0;
|
|
15105
|
-
cursor: pointer;
|
|
15106
|
-
font: inherit;
|
|
15107
|
-
transition: color 0.15s ease;
|
|
15108
|
-
}
|
|
15109
|
-
|
|
15110
|
-
.muka-breadcrumb__link:hover {
|
|
15111
|
-
color: var(--color-text-action-default);
|
|
15112
|
-
text-decoration: underline;
|
|
15113
|
-
}
|
|
15114
|
-
|
|
15115
|
-
/* Tighter gap after leading icon */
|
|
15116
|
-
.muka-breadcrumb__item:has(.muka-breadcrumb__icon) .muka-breadcrumb__link,
|
|
15117
|
-
.muka-breadcrumb__item:has(.muka-breadcrumb__icon) .muka-breadcrumb__current {
|
|
15118
|
-
padding-left: var(--spacing-1);
|
|
15119
|
-
}
|
|
15120
|
-
|
|
15121
|
-
/* Current page (last item, no context switcher) */
|
|
15122
|
-
.muka-breadcrumb__current {
|
|
15123
|
-
color: var(--color-text-default-default);
|
|
15124
|
-
font-weight: 600;
|
|
15125
|
-
padding-inline: var(--spacing-2);
|
|
15126
|
-
}
|
|
15127
|
-
|
|
15128
|
-
/* Separator */
|
|
15129
|
-
.muka-breadcrumb__separator {
|
|
15130
|
-
color: var(--color-text-subtle-default);
|
|
15131
|
-
user-select: none;
|
|
15132
|
-
}
|
|
15133
|
-
|
|
15134
|
-
.muka-breadcrumb__item--context {
|
|
15135
|
-
gap: 0;
|
|
15136
|
-
}
|
|
15137
|
-
|
|
15138
|
-
.muka-breadcrumb__list:has(.muka-breadcrumb__item--context) {
|
|
15139
|
-
gap: 0;
|
|
15140
|
-
}
|
|
15141
|
-
|
|
15142
|
-
.muka-breadcrumb__item--context .muka-breadcrumb__separator {
|
|
15143
|
-
margin: 0;
|
|
15144
|
-
padding-inline: var(--spacing-1, 4px);
|
|
15145
|
-
}
|
|
15146
|
-
|
|
15147
|
-
/* Size variants */
|
|
14927
|
+
/* Size variants: separator and ellipsis type (the chips size themselves) */
|
|
15148
14928
|
.muka-breadcrumb--sm {
|
|
15149
14929
|
font-family: var(--text-label-sm-regular-fontFamily);
|
|
15150
14930
|
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
@@ -15166,7 +14946,15 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15166
14946
|
line-height: var(--text-label-lg-regular-lineHeight);
|
|
15167
14947
|
}
|
|
15168
14948
|
|
|
15169
|
-
|
|
14949
|
+
.muka-breadcrumb__menu {
|
|
14950
|
+
min-width: 17.5rem;
|
|
14951
|
+
}
|
|
14952
|
+
|
|
14953
|
+
/*
|
|
14954
|
+
* Truncate: one line. The current page shortens first, down to
|
|
14955
|
+
* breadcrumb.truncate.current.minWidth (or the full width, if that is less);
|
|
14956
|
+
* after that the earlier levels shorten too, each with an ellipsis.
|
|
14957
|
+
*/
|
|
15170
14958
|
.muka-breadcrumb--truncate {
|
|
15171
14959
|
min-width: 0;
|
|
15172
14960
|
overflow: hidden;
|
|
@@ -15178,20 +14966,16 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15178
14966
|
}
|
|
15179
14967
|
|
|
15180
14968
|
.muka-breadcrumb--truncate .muka-breadcrumb__item {
|
|
15181
|
-
flex
|
|
14969
|
+
flex: 0 1 auto;
|
|
15182
14970
|
}
|
|
15183
14971
|
|
|
15184
14972
|
.muka-breadcrumb--truncate .muka-breadcrumb__item:last-child {
|
|
15185
|
-
flex-shrink:
|
|
15186
|
-
min-width:
|
|
15187
|
-
overflow: hidden;
|
|
14973
|
+
flex-shrink: 1000;
|
|
14974
|
+
min-width: min(var(--breadcrumb-truncate-current-minWidth), 100%);
|
|
15188
14975
|
}
|
|
15189
14976
|
|
|
15190
|
-
.muka-breadcrumb--truncate .muka-
|
|
14977
|
+
.muka-breadcrumb--truncate .muka-breadcrumb__chip {
|
|
15191
14978
|
min-width: 0;
|
|
15192
|
-
overflow: hidden;
|
|
15193
|
-
text-overflow: ellipsis;
|
|
15194
|
-
white-space: nowrap;
|
|
15195
14979
|
}
|
|
15196
14980
|
|
|
15197
14981
|
|
|
@@ -15886,72 +15670,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15886
15670
|
}
|
|
15887
15671
|
|
|
15888
15672
|
|
|
15889
|
-
/* Autocomplete */
|
|
15890
|
-
/* Autocomplete — Figma Input Autocomplete (Input field + single-line suggestion Menu).
|
|
15891
|
-
The field reuses the Input styles (.muka-input*); only the menu wiring lives here. */
|
|
15892
|
-
|
|
15893
|
-
.muka-autocomplete {
|
|
15894
|
-
min-width: 200px;
|
|
15895
|
-
}
|
|
15896
|
-
|
|
15897
|
-
/* Covers the field's outer edge so the menu matches its full width. The menu
|
|
15898
|
-
is only open while focused, when the field has the bold border. */
|
|
15899
|
-
.muka-autocomplete__menu-anchor {
|
|
15900
|
-
position: absolute;
|
|
15901
|
-
inset: calc(-1 * var(--border-width-bold));
|
|
15902
|
-
z-index: 0;
|
|
15903
|
-
margin: 0;
|
|
15904
|
-
padding: 0;
|
|
15905
|
-
border: none;
|
|
15906
|
-
background: transparent;
|
|
15907
|
-
pointer-events: none;
|
|
15908
|
-
opacity: 0;
|
|
15909
|
-
}
|
|
15910
|
-
|
|
15911
|
-
/* Keep the field content above the invisible anchor. */
|
|
15912
|
-
.muka-autocomplete__field > :not(.muka-autocomplete__menu-anchor) {
|
|
15913
|
-
position: relative;
|
|
15914
|
-
z-index: 1;
|
|
15915
|
-
}
|
|
15916
|
-
|
|
15917
|
-
/* Figma: the menu is as wide as the field (never below the menu min-width token). */
|
|
15918
|
-
.muka-autocomplete__menu {
|
|
15919
|
-
width: var(--radix-dropdown-menu-trigger-width);
|
|
15920
|
-
max-width: calc(100vw - 2rem);
|
|
15921
|
-
}
|
|
15922
|
-
|
|
15923
|
-
/* Suggestions are single-line; long labels truncate. */
|
|
15924
|
-
.muka-autocomplete__menu .muka-menu__item-label {
|
|
15925
|
-
overflow: hidden;
|
|
15926
|
-
text-overflow: ellipsis;
|
|
15927
|
-
}
|
|
15928
|
-
|
|
15929
|
-
/* Loading and empty rows: menu-row geometry, not selectable. */
|
|
15930
|
-
.muka-autocomplete__status {
|
|
15931
|
-
display: flex;
|
|
15932
|
-
align-items: center;
|
|
15933
|
-
gap: var(--menu-item-gap);
|
|
15934
|
-
min-height: var(--menu-item-height);
|
|
15935
|
-
padding: var(--menu-item-padding-y) var(--menu-item-padding-x);
|
|
15936
|
-
color: var(--color-text-subtle-default);
|
|
15937
|
-
font-family: var(--text-label-md-regular-fontFamily);
|
|
15938
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
15939
|
-
font-weight: var(--text-label-md-regular-fontWeight);
|
|
15940
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
15941
|
-
}
|
|
15942
|
-
|
|
15943
|
-
.muka-autocomplete__footer {
|
|
15944
|
-
flex-shrink: 0;
|
|
15945
|
-
padding: var(--spacing-2) var(--spacing-3);
|
|
15946
|
-
border-top: var(--border-width-regular) solid var(--color-border-default);
|
|
15947
|
-
color: var(--color-text-subtle-default);
|
|
15948
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
15949
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
15950
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
15951
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
15952
|
-
}
|
|
15953
|
-
|
|
15954
|
-
|
|
15955
15673
|
/* Avatar */
|
|
15956
15674
|
/* Avatar Component Styles - Using Muka Design Tokens */
|
|
15957
15675
|
|
|
@@ -16304,6 +16022,168 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
16304
16022
|
}
|
|
16305
16023
|
|
|
16306
16024
|
|
|
16025
|
+
/* Autocomplete */
|
|
16026
|
+
/* Autocomplete — Figma Input Autocomplete (Input field + single-line suggestion Menu).
|
|
16027
|
+
The field reuses the Input styles (.muka-input*); only the menu wiring lives here. */
|
|
16028
|
+
|
|
16029
|
+
.muka-autocomplete {
|
|
16030
|
+
min-width: 200px;
|
|
16031
|
+
}
|
|
16032
|
+
|
|
16033
|
+
/* Covers the field's outer edge so the menu matches its full width. The menu
|
|
16034
|
+
is only open while focused, when the field has the bold border. */
|
|
16035
|
+
.muka-autocomplete__menu-anchor {
|
|
16036
|
+
position: absolute;
|
|
16037
|
+
inset: calc(-1 * var(--border-width-bold));
|
|
16038
|
+
z-index: 0;
|
|
16039
|
+
margin: 0;
|
|
16040
|
+
padding: 0;
|
|
16041
|
+
border: none;
|
|
16042
|
+
background: transparent;
|
|
16043
|
+
pointer-events: none;
|
|
16044
|
+
opacity: 0;
|
|
16045
|
+
}
|
|
16046
|
+
|
|
16047
|
+
/* Keep the field content above the invisible anchor. */
|
|
16048
|
+
.muka-autocomplete__field > :not(.muka-autocomplete__menu-anchor) {
|
|
16049
|
+
position: relative;
|
|
16050
|
+
z-index: 1;
|
|
16051
|
+
}
|
|
16052
|
+
|
|
16053
|
+
/* Figma: the menu is as wide as the field (never below the menu min-width token). */
|
|
16054
|
+
.muka-autocomplete__menu {
|
|
16055
|
+
width: var(--radix-dropdown-menu-trigger-width);
|
|
16056
|
+
max-width: calc(100vw - 2rem);
|
|
16057
|
+
}
|
|
16058
|
+
|
|
16059
|
+
/* Suggestions are single-line; long labels truncate. */
|
|
16060
|
+
.muka-autocomplete__menu .muka-menu__item-label {
|
|
16061
|
+
overflow: hidden;
|
|
16062
|
+
text-overflow: ellipsis;
|
|
16063
|
+
}
|
|
16064
|
+
|
|
16065
|
+
/* Loading and empty rows: menu-row geometry, not selectable. */
|
|
16066
|
+
.muka-autocomplete__status {
|
|
16067
|
+
display: flex;
|
|
16068
|
+
align-items: center;
|
|
16069
|
+
gap: var(--menu-item-gap);
|
|
16070
|
+
min-height: var(--menu-item-height);
|
|
16071
|
+
padding: var(--menu-item-padding-y) var(--menu-item-padding-x);
|
|
16072
|
+
color: var(--color-text-subtle-default);
|
|
16073
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
16074
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
16075
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
16076
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
16077
|
+
}
|
|
16078
|
+
|
|
16079
|
+
.muka-autocomplete__footer {
|
|
16080
|
+
flex-shrink: 0;
|
|
16081
|
+
padding: var(--spacing-2) var(--spacing-3);
|
|
16082
|
+
border-top: var(--border-width-regular) solid var(--color-border-default);
|
|
16083
|
+
color: var(--color-text-subtle-default);
|
|
16084
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
16085
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
16086
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
16087
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
16088
|
+
}
|
|
16089
|
+
|
|
16090
|
+
|
|
16091
|
+
/* AppShell */
|
|
16092
|
+
/* AppShell Component Styles */
|
|
16093
|
+
|
|
16094
|
+
/*
|
|
16095
|
+
* Layout wrapper for a persistent left navigation rail + main view area, with an
|
|
16096
|
+
* optional full-width top app bar. The rail itself is styled by the BottomBar
|
|
16097
|
+
* `desktopAs="sidebar"` rules (fixed 240px left rail at ≥1024px); AppShell shows/
|
|
16098
|
+
* hides the sidebar + app-bar slots and offsets the main area to match. Both
|
|
16099
|
+
* appear at the large tier — responsively (no `size`, scoped with
|
|
16100
|
+
* `:not([data-size])`) or forced via `[data-size="lg"]`.
|
|
16101
|
+
*/
|
|
16102
|
+
.muka-app-shell {
|
|
16103
|
+
position: relative;
|
|
16104
|
+
/* Reserved width for the rail; matches BottomBar's desktop-sidebar width. */
|
|
16105
|
+
--app-shell-sidebar-width: 240px;
|
|
16106
|
+
/* Height of the optional top app bar. */
|
|
16107
|
+
--app-shell-appbar-height: 64px;
|
|
16108
|
+
}
|
|
16109
|
+
|
|
16110
|
+
/* Sidebar slot: hidden below the large tier (per-view nav handles small/medium). */
|
|
16111
|
+
.muka-app-shell__sidebar {
|
|
16112
|
+
display: none;
|
|
16113
|
+
}
|
|
16114
|
+
|
|
16115
|
+
.muka-app-shell__main {
|
|
16116
|
+
min-height: 100dvh;
|
|
16117
|
+
}
|
|
16118
|
+
|
|
16119
|
+
/*
|
|
16120
|
+
* App bar: full-width top strip. Intrinsic styling lives here (harmless while
|
|
16121
|
+
* hidden); it is revealed only at the large tier. Sits above the sidebar rail.
|
|
16122
|
+
*/
|
|
16123
|
+
.muka-app-shell__appbar {
|
|
16124
|
+
display: none;
|
|
16125
|
+
align-items: center;
|
|
16126
|
+
justify-content: space-between;
|
|
16127
|
+
gap: var(--spacing-4);
|
|
16128
|
+
position: fixed;
|
|
16129
|
+
top: 0;
|
|
16130
|
+
left: 0;
|
|
16131
|
+
right: 0;
|
|
16132
|
+
height: var(--app-shell-appbar-height);
|
|
16133
|
+
padding-inline: var(--spacing-4);
|
|
16134
|
+
background-color: var(--color-surface-level3);
|
|
16135
|
+
border-bottom: var(--border-width-regular) solid var(--color-border-default);
|
|
16136
|
+
z-index: 11; /* above the sidebar rail (z-index 10) */
|
|
16137
|
+
}
|
|
16138
|
+
|
|
16139
|
+
/* ─── Large tier (responsive) ─── */
|
|
16140
|
+
@media (min-width: 1024px) {
|
|
16141
|
+
.muka-app-shell:not([data-size]) .muka-app-shell__sidebar {
|
|
16142
|
+
display: block;
|
|
16143
|
+
}
|
|
16144
|
+
.muka-app-shell:not([data-size]) .muka-app-shell__main {
|
|
16145
|
+
padding-left: var(--app-shell-sidebar-width);
|
|
16146
|
+
}
|
|
16147
|
+
.muka-app-shell:not([data-size]) .muka-app-shell__appbar {
|
|
16148
|
+
display: flex;
|
|
16149
|
+
}
|
|
16150
|
+
/* When an app bar is present, drop the rail + content below it so nothing overlaps. */
|
|
16151
|
+
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-app-shell__main {
|
|
16152
|
+
padding-top: var(--app-shell-appbar-height);
|
|
16153
|
+
}
|
|
16154
|
+
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar {
|
|
16155
|
+
top: var(--app-shell-appbar-height);
|
|
16156
|
+
height: calc(100vh - var(--app-shell-appbar-height));
|
|
16157
|
+
}
|
|
16158
|
+
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-view,
|
|
16159
|
+
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-nav-transition {
|
|
16160
|
+
height: calc(100dvh - var(--app-shell-appbar-height));
|
|
16161
|
+
}
|
|
16162
|
+
}
|
|
16163
|
+
|
|
16164
|
+
/* ─── Large tier (forced via size="lg") ─── */
|
|
16165
|
+
.muka-app-shell[data-size='lg'] .muka-app-shell__sidebar {
|
|
16166
|
+
display: block;
|
|
16167
|
+
}
|
|
16168
|
+
.muka-app-shell[data-size='lg'] .muka-app-shell__main {
|
|
16169
|
+
padding-left: var(--app-shell-sidebar-width);
|
|
16170
|
+
}
|
|
16171
|
+
.muka-app-shell[data-size='lg'] .muka-app-shell__appbar {
|
|
16172
|
+
display: flex;
|
|
16173
|
+
}
|
|
16174
|
+
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-app-shell__main {
|
|
16175
|
+
padding-top: var(--app-shell-appbar-height);
|
|
16176
|
+
}
|
|
16177
|
+
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar {
|
|
16178
|
+
top: var(--app-shell-appbar-height);
|
|
16179
|
+
height: calc(100vh - var(--app-shell-appbar-height));
|
|
16180
|
+
}
|
|
16181
|
+
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-view,
|
|
16182
|
+
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-nav-transition {
|
|
16183
|
+
height: calc(100dvh - var(--app-shell-appbar-height));
|
|
16184
|
+
}
|
|
16185
|
+
|
|
16186
|
+
|
|
16307
16187
|
/* Alert */
|
|
16308
16188
|
/* Alert Component Styles - Using Muka Design Tokens */
|
|
16309
16189
|
|
|
@@ -16515,102 +16395,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
16515
16395
|
}
|
|
16516
16396
|
|
|
16517
16397
|
|
|
16518
|
-
/* AppShell */
|
|
16519
|
-
/* AppShell Component Styles */
|
|
16520
|
-
|
|
16521
|
-
/*
|
|
16522
|
-
* Layout wrapper for a persistent left navigation rail + main view area, with an
|
|
16523
|
-
* optional full-width top app bar. The rail itself is styled by the BottomBar
|
|
16524
|
-
* `desktopAs="sidebar"` rules (fixed 240px left rail at ≥1024px); AppShell shows/
|
|
16525
|
-
* hides the sidebar + app-bar slots and offsets the main area to match. Both
|
|
16526
|
-
* appear at the large tier — responsively (no `size`, scoped with
|
|
16527
|
-
* `:not([data-size])`) or forced via `[data-size="lg"]`.
|
|
16528
|
-
*/
|
|
16529
|
-
.muka-app-shell {
|
|
16530
|
-
position: relative;
|
|
16531
|
-
/* Reserved width for the rail; matches BottomBar's desktop-sidebar width. */
|
|
16532
|
-
--app-shell-sidebar-width: 240px;
|
|
16533
|
-
/* Height of the optional top app bar. */
|
|
16534
|
-
--app-shell-appbar-height: 64px;
|
|
16535
|
-
}
|
|
16536
|
-
|
|
16537
|
-
/* Sidebar slot: hidden below the large tier (per-view nav handles small/medium). */
|
|
16538
|
-
.muka-app-shell__sidebar {
|
|
16539
|
-
display: none;
|
|
16540
|
-
}
|
|
16541
|
-
|
|
16542
|
-
.muka-app-shell__main {
|
|
16543
|
-
min-height: 100dvh;
|
|
16544
|
-
}
|
|
16545
|
-
|
|
16546
|
-
/*
|
|
16547
|
-
* App bar: full-width top strip. Intrinsic styling lives here (harmless while
|
|
16548
|
-
* hidden); it is revealed only at the large tier. Sits above the sidebar rail.
|
|
16549
|
-
*/
|
|
16550
|
-
.muka-app-shell__appbar {
|
|
16551
|
-
display: none;
|
|
16552
|
-
align-items: center;
|
|
16553
|
-
justify-content: space-between;
|
|
16554
|
-
gap: var(--spacing-4);
|
|
16555
|
-
position: fixed;
|
|
16556
|
-
top: 0;
|
|
16557
|
-
left: 0;
|
|
16558
|
-
right: 0;
|
|
16559
|
-
height: var(--app-shell-appbar-height);
|
|
16560
|
-
padding-inline: var(--spacing-4);
|
|
16561
|
-
background-color: var(--color-surface-level3);
|
|
16562
|
-
border-bottom: var(--border-width-regular) solid var(--color-border-default);
|
|
16563
|
-
z-index: 11; /* above the sidebar rail (z-index 10) */
|
|
16564
|
-
}
|
|
16565
|
-
|
|
16566
|
-
/* ─── Large tier (responsive) ─── */
|
|
16567
|
-
@media (min-width: 1024px) {
|
|
16568
|
-
.muka-app-shell:not([data-size]) .muka-app-shell__sidebar {
|
|
16569
|
-
display: block;
|
|
16570
|
-
}
|
|
16571
|
-
.muka-app-shell:not([data-size]) .muka-app-shell__main {
|
|
16572
|
-
padding-left: var(--app-shell-sidebar-width);
|
|
16573
|
-
}
|
|
16574
|
-
.muka-app-shell:not([data-size]) .muka-app-shell__appbar {
|
|
16575
|
-
display: flex;
|
|
16576
|
-
}
|
|
16577
|
-
/* When an app bar is present, drop the rail + content below it so nothing overlaps. */
|
|
16578
|
-
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-app-shell__main {
|
|
16579
|
-
padding-top: var(--app-shell-appbar-height);
|
|
16580
|
-
}
|
|
16581
|
-
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar {
|
|
16582
|
-
top: var(--app-shell-appbar-height);
|
|
16583
|
-
height: calc(100vh - var(--app-shell-appbar-height));
|
|
16584
|
-
}
|
|
16585
|
-
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-view,
|
|
16586
|
-
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-nav-transition {
|
|
16587
|
-
height: calc(100dvh - var(--app-shell-appbar-height));
|
|
16588
|
-
}
|
|
16589
|
-
}
|
|
16590
|
-
|
|
16591
|
-
/* ─── Large tier (forced via size="lg") ─── */
|
|
16592
|
-
.muka-app-shell[data-size='lg'] .muka-app-shell__sidebar {
|
|
16593
|
-
display: block;
|
|
16594
|
-
}
|
|
16595
|
-
.muka-app-shell[data-size='lg'] .muka-app-shell__main {
|
|
16596
|
-
padding-left: var(--app-shell-sidebar-width);
|
|
16597
|
-
}
|
|
16598
|
-
.muka-app-shell[data-size='lg'] .muka-app-shell__appbar {
|
|
16599
|
-
display: flex;
|
|
16600
|
-
}
|
|
16601
|
-
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-app-shell__main {
|
|
16602
|
-
padding-top: var(--app-shell-appbar-height);
|
|
16603
|
-
}
|
|
16604
|
-
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar {
|
|
16605
|
-
top: var(--app-shell-appbar-height);
|
|
16606
|
-
height: calc(100vh - var(--app-shell-appbar-height));
|
|
16607
|
-
}
|
|
16608
|
-
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-view,
|
|
16609
|
-
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-nav-transition {
|
|
16610
|
-
height: calc(100dvh - var(--app-shell-appbar-height));
|
|
16611
|
-
}
|
|
16612
|
-
|
|
16613
|
-
|
|
16614
16398
|
/* AgentTaskList */
|
|
16615
16399
|
/* AgentTaskList Component Styles */
|
|
16616
16400
|
|
|
@@ -17052,3 +16836,111 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
17052
16836
|
border-bottom: none;
|
|
17053
16837
|
}
|
|
17054
16838
|
|
|
16839
|
+
|
|
16840
|
+
/* SwipeActions */
|
|
16841
|
+
/* SwipeActions Component Styles */
|
|
16842
|
+
|
|
16843
|
+
.muka-swipe-actions {
|
|
16844
|
+
position: relative;
|
|
16845
|
+
overflow: hidden;
|
|
16846
|
+
touch-action: pan-y;
|
|
16847
|
+
-webkit-user-select: none;
|
|
16848
|
+
user-select: none;
|
|
16849
|
+
background-color: var(--color-surface-level3);
|
|
16850
|
+
}
|
|
16851
|
+
|
|
16852
|
+
.muka-swipe-actions--disabled {
|
|
16853
|
+
touch-action: auto;
|
|
16854
|
+
}
|
|
16855
|
+
|
|
16856
|
+
/* ─── Row that holds the actual content ────────────────── */
|
|
16857
|
+
|
|
16858
|
+
.muka-swipe-actions__row {
|
|
16859
|
+
position: relative;
|
|
16860
|
+
z-index: 1;
|
|
16861
|
+
background-color: inherit;
|
|
16862
|
+
will-change: transform;
|
|
16863
|
+
}
|
|
16864
|
+
|
|
16865
|
+
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
16866
|
+
|
|
16867
|
+
.muka-swipe-actions__panel {
|
|
16868
|
+
position: absolute;
|
|
16869
|
+
top: 0;
|
|
16870
|
+
bottom: 0;
|
|
16871
|
+
display: flex;
|
|
16872
|
+
align-items: stretch;
|
|
16873
|
+
z-index: 0;
|
|
16874
|
+
}
|
|
16875
|
+
|
|
16876
|
+
.muka-swipe-actions__panel--left {
|
|
16877
|
+
left: 0;
|
|
16878
|
+
}
|
|
16879
|
+
|
|
16880
|
+
.muka-swipe-actions__panel--right {
|
|
16881
|
+
right: 0;
|
|
16882
|
+
}
|
|
16883
|
+
|
|
16884
|
+
/* ─── Single action button ─────────────────────────────── */
|
|
16885
|
+
|
|
16886
|
+
.muka-swipe-actions__button {
|
|
16887
|
+
display: flex;
|
|
16888
|
+
flex-direction: column;
|
|
16889
|
+
align-items: center;
|
|
16890
|
+
justify-content: center;
|
|
16891
|
+
gap: var(--spacing-1);
|
|
16892
|
+
border: none;
|
|
16893
|
+
cursor: pointer;
|
|
16894
|
+
padding: var(--spacing-2);
|
|
16895
|
+
background-color: var(--color-surface-level2);
|
|
16896
|
+
color: var(--color-text-default-default);
|
|
16897
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
16898
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
16899
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
16900
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
16901
|
+
-webkit-tap-highlight-color: transparent;
|
|
16902
|
+
transition: filter 0.12s ease;
|
|
16903
|
+
}
|
|
16904
|
+
|
|
16905
|
+
.muka-swipe-actions__button:hover {
|
|
16906
|
+
filter: brightness(0.95);
|
|
16907
|
+
}
|
|
16908
|
+
|
|
16909
|
+
.muka-swipe-actions__button:focus-visible {
|
|
16910
|
+
outline: 2px solid var(--color-action-default);
|
|
16911
|
+
outline-offset: -2px;
|
|
16912
|
+
}
|
|
16913
|
+
|
|
16914
|
+
.muka-swipe-actions__button-icon {
|
|
16915
|
+
display: inline-flex;
|
|
16916
|
+
align-items: center;
|
|
16917
|
+
justify-content: center;
|
|
16918
|
+
}
|
|
16919
|
+
|
|
16920
|
+
/* ─── Color variants ───────────────────────────────────── */
|
|
16921
|
+
|
|
16922
|
+
.muka-swipe-actions__button--neutral {
|
|
16923
|
+
background-color: var(--color-surface-level2);
|
|
16924
|
+
color: var(--color-text-default-default);
|
|
16925
|
+
}
|
|
16926
|
+
|
|
16927
|
+
.muka-swipe-actions__button--primary {
|
|
16928
|
+
background-color: var(--color-action-default);
|
|
16929
|
+
color: var(--color-text-default-inverse);
|
|
16930
|
+
}
|
|
16931
|
+
|
|
16932
|
+
.muka-swipe-actions__button--success {
|
|
16933
|
+
background-color: var(--color-state-success-default);
|
|
16934
|
+
color: var(--color-text-default-inverse);
|
|
16935
|
+
}
|
|
16936
|
+
|
|
16937
|
+
.muka-swipe-actions__button--warning {
|
|
16938
|
+
background-color: var(--color-state-warning-default);
|
|
16939
|
+
color: var(--color-text-default-default);
|
|
16940
|
+
}
|
|
16941
|
+
|
|
16942
|
+
.muka-swipe-actions__button--destructive {
|
|
16943
|
+
background-color: var(--color-state-error-default);
|
|
16944
|
+
color: var(--color-text-default-inverse);
|
|
16945
|
+
}
|
|
16946
|
+
|