@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
|
@@ -1799,36 +1799,55 @@ body {
|
|
|
1799
1799
|
--chip-padding-trailing-sm: 2px;
|
|
1800
1800
|
--chip-padding-trailing-md: 0.25rem;
|
|
1801
1801
|
--chip-padding-trailing-lg: 0.25rem;
|
|
1802
|
-
--chip-
|
|
1803
|
-
--chip-
|
|
1804
|
-
--chip-
|
|
1805
|
-
--chip-
|
|
1806
|
-
--chip-
|
|
1807
|
-
--chip-
|
|
1808
|
-
--chip-
|
|
1809
|
-
--chip-
|
|
1810
|
-
--chip-
|
|
1811
|
-
--chip-
|
|
1812
|
-
--chip-
|
|
1813
|
-
--chip-
|
|
1814
|
-
--chip-
|
|
1815
|
-
--chip-
|
|
1816
|
-
--chip-
|
|
1817
|
-
--chip-
|
|
1818
|
-
--chip-
|
|
1819
|
-
--chip-
|
|
1820
|
-
--chip-
|
|
1821
|
-
--chip-
|
|
1822
|
-
--chip-
|
|
1823
|
-
--chip-
|
|
1824
|
-
--chip-
|
|
1825
|
-
--chip-
|
|
1826
|
-
--chip-
|
|
1827
|
-
--chip-
|
|
1828
|
-
--chip-
|
|
1829
|
-
--chip-
|
|
1830
|
-
--chip-
|
|
1831
|
-
--chip-
|
|
1802
|
+
--chip-padding-labelEnd-sm: 0.75rem;
|
|
1803
|
+
--chip-padding-labelEnd-md: 1rem;
|
|
1804
|
+
--chip-padding-labelEnd-lg: 1.25rem;
|
|
1805
|
+
--chip-neutral-background-default: #e8e8e8;
|
|
1806
|
+
--chip-neutral-background-hover: #e0e0e0;
|
|
1807
|
+
--chip-ghost-background-default: transparent;
|
|
1808
|
+
--chip-ghost-background-hover: rgba(0, 0, 0, 0.024);
|
|
1809
|
+
--chip-ghost-foreground-default: #838383;
|
|
1810
|
+
--chip-ghost-foreground-hover: #202020;
|
|
1811
|
+
--chip-trailing-default-background-default: #f0f0f0;
|
|
1812
|
+
--chip-trailing-default-background-hover: #e8e8e8;
|
|
1813
|
+
--chip-trailing-default-background-pressed: #e0e0e0;
|
|
1814
|
+
--chip-trailing-default-foreground-default: #646464;
|
|
1815
|
+
--chip-trailing-default-foreground-hover: #646464;
|
|
1816
|
+
--chip-trailing-default-foreground-pressed: #646464;
|
|
1817
|
+
--chip-trailing-success-background-default: #e9f6ec;
|
|
1818
|
+
--chip-trailing-success-background-hover: #ddf3df;
|
|
1819
|
+
--chip-trailing-success-background-pressed: #ccebd1;
|
|
1820
|
+
--chip-trailing-success-foreground-default: #18794e;
|
|
1821
|
+
--chip-trailing-success-foreground-hover: #18794e;
|
|
1822
|
+
--chip-trailing-success-foreground-pressed: #18794e;
|
|
1823
|
+
--chip-trailing-warning-background-default: #fff7c2;
|
|
1824
|
+
--chip-trailing-warning-background-hover: #ffee9c;
|
|
1825
|
+
--chip-trailing-warning-background-pressed: #fbe577;
|
|
1826
|
+
--chip-trailing-warning-foreground-default: #ab6400;
|
|
1827
|
+
--chip-trailing-warning-foreground-hover: #ab6400;
|
|
1828
|
+
--chip-trailing-warning-foreground-pressed: #ab6400;
|
|
1829
|
+
--chip-trailing-error-background-default: #ffefef;
|
|
1830
|
+
--chip-trailing-error-background-hover: #ffe5e5;
|
|
1831
|
+
--chip-trailing-error-background-pressed: #fdd8d8;
|
|
1832
|
+
--chip-trailing-error-foreground-default: #cd2b31;
|
|
1833
|
+
--chip-trailing-error-foreground-hover: #cd2b31;
|
|
1834
|
+
--chip-trailing-error-foreground-pressed: #cd2b31;
|
|
1835
|
+
--chip-trailing-info-background-default: #edf6ff;
|
|
1836
|
+
--chip-trailing-info-background-hover: #e1f0ff;
|
|
1837
|
+
--chip-trailing-info-background-pressed: #cee7fe;
|
|
1838
|
+
--chip-trailing-info-foreground-default: #0d74ce;
|
|
1839
|
+
--chip-trailing-info-foreground-hover: #0d74ce;
|
|
1840
|
+
--chip-trailing-info-foreground-pressed: #0d74ce;
|
|
1841
|
+
--chip-trailing-ghost-border-default: #e0e0e0;
|
|
1842
|
+
--chip-trailing-ghost-background-default: transparent;
|
|
1843
|
+
--chip-trailing-ghost-background-hover: #fcfcfc;
|
|
1844
|
+
--chip-trailing-ghost-background-pressed: #e0e0e0;
|
|
1845
|
+
--chip-trailing-ghost-foreground-default: #838383;
|
|
1846
|
+
--chip-trailing-ghost-foreground-hover: #646464;
|
|
1847
|
+
--chip-trailing-ghost-foreground-pressed: #646464;
|
|
1848
|
+
--breadcrumb-gap-separator: 0.25rem;
|
|
1849
|
+
--breadcrumb-separator-color: #bbbbbb;
|
|
1850
|
+
--breadcrumb-truncate-current-minWidth: 8rem;
|
|
1832
1851
|
--checkbox-size-sm: 1.25rem;
|
|
1833
1852
|
--checkbox-size-default: 1.5rem;
|
|
1834
1853
|
--checkbox-size-lg: 2rem;
|
|
@@ -2257,13 +2276,13 @@ body {
|
|
|
2257
2276
|
--emptystate-container-padding-md: 2rem;
|
|
2258
2277
|
--emptystate-container-padding-lg: 3rem;
|
|
2259
2278
|
--emptystate-container-gap: 1rem;
|
|
2260
|
-
--emptystate-container-maxWidth:
|
|
2279
|
+
--emptystate-container-maxWidth: 40rem;
|
|
2261
2280
|
--emptystate-icon-size-sm: 2rem;
|
|
2262
2281
|
--emptystate-icon-size-md: 3rem;
|
|
2263
2282
|
--emptystate-icon-size-lg: 4rem;
|
|
2264
2283
|
--emptystate-icon-color: #bbbbbb;
|
|
2265
2284
|
--emptystate-title-color: #202020;
|
|
2266
|
-
--emptystate-description-color: #
|
|
2285
|
+
--emptystate-description-color: #202020;
|
|
2267
2286
|
--emptystate-actions-gap: 0.75rem;
|
|
2268
2287
|
--emptystate-actions-marginTop: 1rem;
|
|
2269
2288
|
--documentviewer-container-background: #fcfcfc;
|
|
@@ -4714,114 +4733,6 @@ body {
|
|
|
4714
4733
|
}
|
|
4715
4734
|
|
|
4716
4735
|
|
|
4717
|
-
/* SwipeActions */
|
|
4718
|
-
/* SwipeActions Component Styles */
|
|
4719
|
-
|
|
4720
|
-
.muka-swipe-actions {
|
|
4721
|
-
position: relative;
|
|
4722
|
-
overflow: hidden;
|
|
4723
|
-
touch-action: pan-y;
|
|
4724
|
-
-webkit-user-select: none;
|
|
4725
|
-
user-select: none;
|
|
4726
|
-
background-color: var(--color-surface-level3);
|
|
4727
|
-
}
|
|
4728
|
-
|
|
4729
|
-
.muka-swipe-actions--disabled {
|
|
4730
|
-
touch-action: auto;
|
|
4731
|
-
}
|
|
4732
|
-
|
|
4733
|
-
/* ─── Row that holds the actual content ────────────────── */
|
|
4734
|
-
|
|
4735
|
-
.muka-swipe-actions__row {
|
|
4736
|
-
position: relative;
|
|
4737
|
-
z-index: 1;
|
|
4738
|
-
background-color: inherit;
|
|
4739
|
-
will-change: transform;
|
|
4740
|
-
}
|
|
4741
|
-
|
|
4742
|
-
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
4743
|
-
|
|
4744
|
-
.muka-swipe-actions__panel {
|
|
4745
|
-
position: absolute;
|
|
4746
|
-
top: 0;
|
|
4747
|
-
bottom: 0;
|
|
4748
|
-
display: flex;
|
|
4749
|
-
align-items: stretch;
|
|
4750
|
-
z-index: 0;
|
|
4751
|
-
}
|
|
4752
|
-
|
|
4753
|
-
.muka-swipe-actions__panel--left {
|
|
4754
|
-
left: 0;
|
|
4755
|
-
}
|
|
4756
|
-
|
|
4757
|
-
.muka-swipe-actions__panel--right {
|
|
4758
|
-
right: 0;
|
|
4759
|
-
}
|
|
4760
|
-
|
|
4761
|
-
/* ─── Single action button ─────────────────────────────── */
|
|
4762
|
-
|
|
4763
|
-
.muka-swipe-actions__button {
|
|
4764
|
-
display: flex;
|
|
4765
|
-
flex-direction: column;
|
|
4766
|
-
align-items: center;
|
|
4767
|
-
justify-content: center;
|
|
4768
|
-
gap: var(--spacing-1);
|
|
4769
|
-
border: none;
|
|
4770
|
-
cursor: pointer;
|
|
4771
|
-
padding: var(--spacing-2);
|
|
4772
|
-
background-color: var(--color-surface-level2);
|
|
4773
|
-
color: var(--color-text-default-default);
|
|
4774
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
4775
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
4776
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
4777
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
4778
|
-
-webkit-tap-highlight-color: transparent;
|
|
4779
|
-
transition: filter 0.12s ease;
|
|
4780
|
-
}
|
|
4781
|
-
|
|
4782
|
-
.muka-swipe-actions__button:hover {
|
|
4783
|
-
filter: brightness(0.95);
|
|
4784
|
-
}
|
|
4785
|
-
|
|
4786
|
-
.muka-swipe-actions__button:focus-visible {
|
|
4787
|
-
outline: 2px solid var(--color-action-default);
|
|
4788
|
-
outline-offset: -2px;
|
|
4789
|
-
}
|
|
4790
|
-
|
|
4791
|
-
.muka-swipe-actions__button-icon {
|
|
4792
|
-
display: inline-flex;
|
|
4793
|
-
align-items: center;
|
|
4794
|
-
justify-content: center;
|
|
4795
|
-
}
|
|
4796
|
-
|
|
4797
|
-
/* ─── Color variants ───────────────────────────────────── */
|
|
4798
|
-
|
|
4799
|
-
.muka-swipe-actions__button--neutral {
|
|
4800
|
-
background-color: var(--color-surface-level2);
|
|
4801
|
-
color: var(--color-text-default-default);
|
|
4802
|
-
}
|
|
4803
|
-
|
|
4804
|
-
.muka-swipe-actions__button--primary {
|
|
4805
|
-
background-color: var(--color-action-default);
|
|
4806
|
-
color: var(--color-text-default-inverse);
|
|
4807
|
-
}
|
|
4808
|
-
|
|
4809
|
-
.muka-swipe-actions__button--success {
|
|
4810
|
-
background-color: var(--color-state-success-default);
|
|
4811
|
-
color: var(--color-text-default-inverse);
|
|
4812
|
-
}
|
|
4813
|
-
|
|
4814
|
-
.muka-swipe-actions__button--warning {
|
|
4815
|
-
background-color: var(--color-state-warning-default);
|
|
4816
|
-
color: var(--color-text-default-default);
|
|
4817
|
-
}
|
|
4818
|
-
|
|
4819
|
-
.muka-swipe-actions__button--destructive {
|
|
4820
|
-
background-color: var(--color-state-error-default);
|
|
4821
|
-
color: var(--color-text-default-inverse);
|
|
4822
|
-
}
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
4736
|
/* Spinner */
|
|
4826
4737
|
/* Spinner Component Styles */
|
|
4827
4738
|
|
|
@@ -12574,126 +12485,6 @@ li.muka-listitem {
|
|
|
12574
12485
|
}
|
|
12575
12486
|
|
|
12576
12487
|
|
|
12577
|
-
/* ContextSelect */
|
|
12578
|
-
/* ContextSelect — split label (navigate) + chevron menu button (switch)
|
|
12579
|
-
*
|
|
12580
|
-
* Figma (5623:8651 / 5631:9344):
|
|
12581
|
-
* - Root: gap spacing/1 (4px) between label group and chevron
|
|
12582
|
-
* - Label group: gap spacing/2 (8px) icon↔label, pl spacing/2 (8px)
|
|
12583
|
-
* - Icons: 16px (icon.size.xs)
|
|
12584
|
-
*/
|
|
12585
|
-
|
|
12586
|
-
.muka-context-select {
|
|
12587
|
-
display: inline-flex;
|
|
12588
|
-
position: relative;
|
|
12589
|
-
align-items: flex-start;
|
|
12590
|
-
gap: var(--spacing-1, 4px);
|
|
12591
|
-
}
|
|
12592
|
-
|
|
12593
|
-
.muka-context-select__label-group {
|
|
12594
|
-
display: inline-flex;
|
|
12595
|
-
align-items: center;
|
|
12596
|
-
gap: var(--spacing-2, 8px);
|
|
12597
|
-
height: var(--size-2xl, 32px);
|
|
12598
|
-
padding-left: var(--spacing-2, 8px);
|
|
12599
|
-
padding-right: 0;
|
|
12600
|
-
border-radius: var(--border-radius-lg);
|
|
12601
|
-
color: var(--color-text-default-default);
|
|
12602
|
-
text-decoration: none;
|
|
12603
|
-
border: none;
|
|
12604
|
-
background: transparent;
|
|
12605
|
-
font: inherit;
|
|
12606
|
-
cursor: default;
|
|
12607
|
-
}
|
|
12608
|
-
|
|
12609
|
-
.muka-context-select__label-group--link,
|
|
12610
|
-
.muka-context-select__label-group--button {
|
|
12611
|
-
cursor: pointer;
|
|
12612
|
-
}
|
|
12613
|
-
|
|
12614
|
-
.muka-context-select__label-group--link:hover .muka-context-select__label,
|
|
12615
|
-
.muka-context-select__label-group--button:hover .muka-context-select__label,
|
|
12616
|
-
.muka-context-select__label-group--link:focus-visible .muka-context-select__label,
|
|
12617
|
-
.muka-context-select__label-group--button:focus-visible .muka-context-select__label {
|
|
12618
|
-
text-decoration: underline;
|
|
12619
|
-
text-underline-offset: 2px;
|
|
12620
|
-
}
|
|
12621
|
-
|
|
12622
|
-
.muka-context-select__label-group--link:focus-visible,
|
|
12623
|
-
.muka-context-select__label-group--button:focus-visible {
|
|
12624
|
-
outline: 2px solid var(--color-border-focus);
|
|
12625
|
-
outline-offset: 2px;
|
|
12626
|
-
}
|
|
12627
|
-
|
|
12628
|
-
.muka-context-select__label-group--button:disabled,
|
|
12629
|
-
.muka-context-select__label-group--link[aria-disabled='true'] {
|
|
12630
|
-
cursor: not-allowed;
|
|
12631
|
-
opacity: 0.5;
|
|
12632
|
-
pointer-events: none;
|
|
12633
|
-
}
|
|
12634
|
-
|
|
12635
|
-
.muka-context-select__icon {
|
|
12636
|
-
display: inline-flex;
|
|
12637
|
-
flex-shrink: 0;
|
|
12638
|
-
align-items: center;
|
|
12639
|
-
justify-content: center;
|
|
12640
|
-
width: var(--icon-size-xs, 16px);
|
|
12641
|
-
height: var(--icon-size-xs, 16px);
|
|
12642
|
-
color: var(--color-text-default-default);
|
|
12643
|
-
}
|
|
12644
|
-
|
|
12645
|
-
.muka-context-select__icon .muka-icon {
|
|
12646
|
-
width: var(--icon-size-xs, 16px);
|
|
12647
|
-
height: var(--icon-size-xs, 16px);
|
|
12648
|
-
}
|
|
12649
|
-
|
|
12650
|
-
.muka-context-select__label {
|
|
12651
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
12652
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
12653
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
12654
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
12655
|
-
white-space: nowrap;
|
|
12656
|
-
}
|
|
12657
|
-
|
|
12658
|
-
.muka-context-select__menu-button {
|
|
12659
|
-
position: relative;
|
|
12660
|
-
display: inline-flex;
|
|
12661
|
-
flex-shrink: 0;
|
|
12662
|
-
align-items: center;
|
|
12663
|
-
justify-content: center;
|
|
12664
|
-
width: var(--size-2xl, 32px);
|
|
12665
|
-
height: var(--size-2xl, 32px);
|
|
12666
|
-
margin: 0;
|
|
12667
|
-
padding: 0;
|
|
12668
|
-
border: none;
|
|
12669
|
-
border-radius: var(--border-radius-lg);
|
|
12670
|
-
background: transparent;
|
|
12671
|
-
color: var(--color-text-default-default);
|
|
12672
|
-
cursor: pointer;
|
|
12673
|
-
}
|
|
12674
|
-
|
|
12675
|
-
.muka-context-select__menu-button:hover,
|
|
12676
|
-
.muka-context-select__menu-button:focus-visible,
|
|
12677
|
-
.muka-context-select__menu-button[data-state='open'],
|
|
12678
|
-
.muka-context-select--expanded .muka-context-select__menu-button {
|
|
12679
|
-
border: var(--border-width-regular) solid var(--color-border-default);
|
|
12680
|
-
}
|
|
12681
|
-
|
|
12682
|
-
.muka-context-select__menu-button:focus-visible {
|
|
12683
|
-
outline: 2px solid var(--color-border-focus);
|
|
12684
|
-
outline-offset: 2px;
|
|
12685
|
-
}
|
|
12686
|
-
|
|
12687
|
-
.muka-context-select__menu-button:disabled {
|
|
12688
|
-
cursor: not-allowed;
|
|
12689
|
-
opacity: 0.5;
|
|
12690
|
-
}
|
|
12691
|
-
|
|
12692
|
-
.muka-context-select__content {
|
|
12693
|
-
min-width: 17.5rem;
|
|
12694
|
-
}
|
|
12695
|
-
|
|
12696
|
-
|
|
12697
12488
|
/* Container */
|
|
12698
12489
|
/* Container Component - Layout tokens (container.max-width, container.gap) */
|
|
12699
12490
|
|
|
@@ -12919,28 +12710,37 @@ li.muka-listitem {
|
|
|
12919
12710
|
|
|
12920
12711
|
|
|
12921
12712
|
/* Chip */
|
|
12922
|
-
/* Chip Component Styles - Using Muka Design Tokens (Figma: Chip) */
|
|
12713
|
+
/* Chip Component Styles - Using Muka Design Tokens (Figma: Chip, Chip/Trailing) */
|
|
12923
12714
|
|
|
12715
|
+
/*
|
|
12716
|
+
* Internal custom properties (not public API):
|
|
12717
|
+
* --_chip-gap / --_chip-pad-start / --_chip-pad-end spacing per size and slot
|
|
12718
|
+
* --_chip-tr-* trailing button colours per variant
|
|
12719
|
+
*/
|
|
12924
12720
|
.muka-chip {
|
|
12925
12721
|
display: inline-flex;
|
|
12926
12722
|
align-items: center;
|
|
12723
|
+
gap: var(--_chip-gap);
|
|
12724
|
+
padding: 0 var(--_chip-pad-end) 0 var(--_chip-pad-start);
|
|
12927
12725
|
border-radius: var(--border-radius-full);
|
|
12928
12726
|
white-space: nowrap;
|
|
12929
12727
|
user-select: none;
|
|
12930
12728
|
border: var(--border-width-regular) solid transparent;
|
|
12931
12729
|
box-sizing: border-box;
|
|
12730
|
+
max-width: 100%;
|
|
12932
12731
|
}
|
|
12933
12732
|
|
|
12934
12733
|
/*
|
|
12935
|
-
* Sizes
|
|
12936
|
-
*
|
|
12937
|
-
*
|
|
12938
|
-
*
|
|
12734
|
+
* Sizes: height, gap, type, and label-edge padding. The side that carries an
|
|
12735
|
+
* adornment gets its own padding: leading icon → chip.padding.leading, and the
|
|
12736
|
+
* right edge after a leading icon → chip.padding.labelEnd (Figma lg: 20). A
|
|
12737
|
+
* trailing button → chip.padding.trailing, which wins (declared later).
|
|
12939
12738
|
*/
|
|
12940
12739
|
.muka-chip--sm {
|
|
12941
12740
|
height: var(--chip-size-height-sm);
|
|
12942
|
-
gap: var(--chip-gap-sm);
|
|
12943
|
-
|
|
12741
|
+
--_chip-gap: var(--chip-gap-sm);
|
|
12742
|
+
--_chip-pad-start: var(--chip-padding-label-sm);
|
|
12743
|
+
--_chip-pad-end: var(--chip-padding-label-sm);
|
|
12944
12744
|
font-family: var(--text-label-sm-regular-fontFamily);
|
|
12945
12745
|
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
12946
12746
|
font-size: var(--text-label-sm-regular-fontSize);
|
|
@@ -12949,8 +12749,9 @@ li.muka-listitem {
|
|
|
12949
12749
|
|
|
12950
12750
|
.muka-chip--md {
|
|
12951
12751
|
height: var(--chip-size-height-md);
|
|
12952
|
-
gap: var(--chip-gap-md);
|
|
12953
|
-
|
|
12752
|
+
--_chip-gap: var(--chip-gap-md);
|
|
12753
|
+
--_chip-pad-start: var(--chip-padding-label-md);
|
|
12754
|
+
--_chip-pad-end: var(--chip-padding-label-md);
|
|
12954
12755
|
font-family: var(--text-label-md-regular-fontFamily);
|
|
12955
12756
|
font-weight: var(--text-label-md-regular-fontWeight);
|
|
12956
12757
|
font-size: var(--text-label-md-regular-fontSize);
|
|
@@ -12959,37 +12760,36 @@ li.muka-listitem {
|
|
|
12959
12760
|
|
|
12960
12761
|
.muka-chip--lg {
|
|
12961
12762
|
height: var(--chip-size-height-lg);
|
|
12962
|
-
gap: var(--chip-gap-lg);
|
|
12963
|
-
|
|
12763
|
+
--_chip-gap: var(--chip-gap-lg);
|
|
12764
|
+
--_chip-pad-start: var(--chip-padding-label-lg);
|
|
12765
|
+
--_chip-pad-end: var(--chip-padding-label-lg);
|
|
12964
12766
|
font-family: var(--text-label-lg-regular-fontFamily);
|
|
12965
12767
|
font-weight: var(--text-label-lg-regular-fontWeight);
|
|
12966
12768
|
font-size: var(--text-label-lg-regular-fontSize);
|
|
12967
12769
|
line-height: var(--text-label-lg-regular-lineHeight);
|
|
12968
12770
|
}
|
|
12969
12771
|
|
|
12970
|
-
/* Tighter leading padding when a leading icon is present */
|
|
12971
12772
|
.muka-chip--sm.muka-chip--has-icon {
|
|
12972
|
-
|
|
12773
|
+
--_chip-pad-start: var(--chip-padding-leading-sm);
|
|
12774
|
+
--_chip-pad-end: var(--chip-padding-labelEnd-sm);
|
|
12973
12775
|
}
|
|
12974
12776
|
.muka-chip--md.muka-chip--has-icon {
|
|
12975
|
-
|
|
12777
|
+
--_chip-pad-start: var(--chip-padding-leading-md);
|
|
12778
|
+
--_chip-pad-end: var(--chip-padding-labelEnd-md);
|
|
12976
12779
|
}
|
|
12977
12780
|
.muka-chip--lg.muka-chip--has-icon {
|
|
12978
|
-
|
|
12781
|
+
--_chip-pad-start: var(--chip-padding-leading-lg);
|
|
12782
|
+
--_chip-pad-end: var(--chip-padding-labelEnd-lg);
|
|
12979
12783
|
}
|
|
12980
12784
|
|
|
12981
|
-
|
|
12982
|
-
|
|
12983
|
-
.muka-chip--sm.muka-chip--expandable {
|
|
12984
|
-
padding-right: var(--chip-padding-trailing-sm);
|
|
12785
|
+
.muka-chip--sm.muka-chip--has-trailing {
|
|
12786
|
+
--_chip-pad-end: var(--chip-padding-trailing-sm);
|
|
12985
12787
|
}
|
|
12986
|
-
.muka-chip--md.muka-chip--
|
|
12987
|
-
|
|
12988
|
-
padding-right: var(--chip-padding-trailing-md);
|
|
12788
|
+
.muka-chip--md.muka-chip--has-trailing {
|
|
12789
|
+
--_chip-pad-end: var(--chip-padding-trailing-md);
|
|
12989
12790
|
}
|
|
12990
|
-
.muka-chip--lg.muka-chip--
|
|
12991
|
-
|
|
12992
|
-
padding-right: var(--chip-padding-trailing-lg);
|
|
12791
|
+
.muka-chip--lg.muka-chip--has-trailing {
|
|
12792
|
+
--_chip-pad-end: var(--chip-padding-trailing-lg);
|
|
12993
12793
|
}
|
|
12994
12794
|
|
|
12995
12795
|
/* Leading icon slot — Figma icon sizes: sm 16, md 20, lg 24 */
|
|
@@ -13036,47 +12836,117 @@ li.muka-listitem {
|
|
|
13036
12836
|
line-height: normal;
|
|
13037
12837
|
}
|
|
13038
12838
|
|
|
13039
|
-
/*
|
|
13040
|
-
.
|
|
13041
|
-
|
|
12839
|
+
/*
|
|
12840
|
+
* Label as a link or button (`href` / `onLabelClick`). It takes over the
|
|
12841
|
+
* chip's start padding (and end padding when there is no trailing button), so
|
|
12842
|
+
* the whole body up to the trailing button is its hit area.
|
|
12843
|
+
*/
|
|
12844
|
+
.muka-chip__label-action,
|
|
12845
|
+
.muka-chip__label-group {
|
|
12846
|
+
display: inline-flex;
|
|
12847
|
+
align-items: center;
|
|
12848
|
+
gap: var(--_chip-gap);
|
|
12849
|
+
min-width: 0;
|
|
12850
|
+
}
|
|
12851
|
+
|
|
12852
|
+
.muka-chip__label-action {
|
|
12853
|
+
align-self: stretch;
|
|
12854
|
+
margin: 0;
|
|
12855
|
+
margin-left: calc(-1 * var(--_chip-pad-start));
|
|
12856
|
+
padding: 0 0 0 var(--_chip-pad-start);
|
|
12857
|
+
border: none;
|
|
12858
|
+
border-radius: var(--border-radius-full);
|
|
12859
|
+
background: none;
|
|
12860
|
+
color: inherit;
|
|
12861
|
+
font: inherit;
|
|
12862
|
+
text-decoration: none;
|
|
12863
|
+
text-align: inherit;
|
|
12864
|
+
cursor: pointer;
|
|
12865
|
+
}
|
|
12866
|
+
|
|
12867
|
+
.muka-chip--has-label-action:not(.muka-chip--has-trailing) .muka-chip__label-action {
|
|
12868
|
+
margin-right: calc(-1 * var(--_chip-pad-end));
|
|
12869
|
+
padding-right: var(--_chip-pad-end);
|
|
12870
|
+
}
|
|
12871
|
+
|
|
12872
|
+
.muka-chip__label-action:focus-visible {
|
|
12873
|
+
outline: 2px solid var(--color-border-focus);
|
|
12874
|
+
outline-offset: 2px;
|
|
12875
|
+
}
|
|
12876
|
+
|
|
12877
|
+
/* Trailing button (dismiss / expand / switch) — circular. Figma sizes: sm 20, md 24, lg 32 */
|
|
12878
|
+
.muka-chip__trailing {
|
|
12879
|
+
position: relative;
|
|
13042
12880
|
display: inline-flex;
|
|
13043
12881
|
align-items: center;
|
|
13044
12882
|
justify-content: center;
|
|
13045
12883
|
flex-shrink: 0;
|
|
13046
12884
|
padding: 0;
|
|
13047
12885
|
margin: 0;
|
|
13048
|
-
border:
|
|
12886
|
+
border: var(--border-width-regular) solid var(--_chip-tr-border, transparent);
|
|
13049
12887
|
border-radius: var(--border-radius-full);
|
|
12888
|
+
box-sizing: border-box;
|
|
12889
|
+
background-color: var(--_chip-tr-bg);
|
|
12890
|
+
color: var(--_chip-tr-fg);
|
|
13050
12891
|
cursor: pointer;
|
|
13051
|
-
transition: background-color 0.15s ease, color 0.15s ease;
|
|
12892
|
+
transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
|
|
13052
12893
|
}
|
|
13053
12894
|
|
|
13054
|
-
.muka-chip--sm .muka-
|
|
13055
|
-
.muka-chip--sm .muka-chip__expand {
|
|
12895
|
+
.muka-chip--sm .muka-chip__trailing {
|
|
13056
12896
|
width: var(--icon-size-sm);
|
|
13057
12897
|
height: var(--icon-size-sm);
|
|
13058
12898
|
}
|
|
13059
|
-
.muka-chip--md .muka-
|
|
13060
|
-
.muka-chip--md .muka-chip__expand {
|
|
12899
|
+
.muka-chip--md .muka-chip__trailing {
|
|
13061
12900
|
width: var(--icon-size-default);
|
|
13062
12901
|
height: var(--icon-size-default);
|
|
13063
12902
|
}
|
|
13064
|
-
.muka-chip--lg .muka-
|
|
13065
|
-
.muka-chip--lg .muka-chip__expand {
|
|
12903
|
+
.muka-chip--lg .muka-chip__trailing {
|
|
13066
12904
|
width: var(--icon-size-lg);
|
|
13067
12905
|
height: var(--icon-size-lg);
|
|
13068
12906
|
}
|
|
13069
12907
|
|
|
13070
|
-
.
|
|
13071
|
-
|
|
12908
|
+
/* A touch target of at least the sm chip height (24px, WCAG 2.5.8) around the 20px circle */
|
|
12909
|
+
button.muka-chip__trailing::before {
|
|
12910
|
+
content: '';
|
|
12911
|
+
position: absolute;
|
|
12912
|
+
top: 50%;
|
|
12913
|
+
left: 50%;
|
|
12914
|
+
width: max(100%, var(--chip-size-height-sm));
|
|
12915
|
+
height: max(100%, var(--chip-size-height-sm));
|
|
12916
|
+
transform: translate(-50%, -50%);
|
|
12917
|
+
}
|
|
12918
|
+
|
|
12919
|
+
button.muka-chip__trailing:focus-visible {
|
|
12920
|
+
outline: 2px solid var(--color-border-focus);
|
|
13072
12921
|
outline-offset: 2px;
|
|
13073
12922
|
}
|
|
13074
12923
|
|
|
12924
|
+
button.muka-chip__trailing:disabled {
|
|
12925
|
+
cursor: not-allowed;
|
|
12926
|
+
opacity: 0.5;
|
|
12927
|
+
}
|
|
12928
|
+
|
|
12929
|
+
/* Trailing button states: its own hover / pressed, or the whole chip's when the chip is one button */
|
|
12930
|
+
button.muka-chip__trailing:hover:not(:disabled),
|
|
12931
|
+
.muka-chip--expandable:hover:not(:disabled) .muka-chip__trailing {
|
|
12932
|
+
border-color: var(--_chip-tr-border-hover, transparent);
|
|
12933
|
+
background-color: var(--_chip-tr-bg-hover);
|
|
12934
|
+
color: var(--_chip-tr-fg-hover);
|
|
12935
|
+
}
|
|
12936
|
+
|
|
12937
|
+
button.muka-chip__trailing:active:not(:disabled),
|
|
12938
|
+
button.muka-chip__trailing[aria-expanded='true'],
|
|
12939
|
+
.muka-chip--expandable:active:not(:disabled) .muka-chip__trailing,
|
|
12940
|
+
.muka-chip--expandable[aria-expanded='true'] .muka-chip__trailing {
|
|
12941
|
+
border-color: var(--_chip-tr-border-hover, transparent);
|
|
12942
|
+
background-color: var(--_chip-tr-bg-pressed);
|
|
12943
|
+
color: var(--_chip-tr-fg-pressed);
|
|
12944
|
+
}
|
|
12945
|
+
|
|
13075
12946
|
/*
|
|
13076
|
-
*
|
|
13077
|
-
* typically a menu trigger.
|
|
13078
|
-
*
|
|
13079
|
-
* like Button's open state.
|
|
12947
|
+
* Whole-chip button (`trailing="expand" | "switch"`, Figma "Chip/Trailing
|
|
12948
|
+
* Expand"): typically a menu trigger. An open menu (aria-expanded) shows the
|
|
12949
|
+
* trailing button pressed, like Button's open state.
|
|
13080
12950
|
*/
|
|
13081
12951
|
.muka-chip--expandable {
|
|
13082
12952
|
margin: 0;
|
|
@@ -13093,127 +12963,97 @@ li.muka-listitem {
|
|
|
13093
12963
|
cursor: not-allowed;
|
|
13094
12964
|
}
|
|
13095
12965
|
|
|
13096
|
-
.muka-
|
|
12966
|
+
.muka-chip--expandable .muka-chip__trailing {
|
|
13097
12967
|
pointer-events: none;
|
|
13098
12968
|
}
|
|
13099
12969
|
|
|
13100
|
-
/*
|
|
13101
|
-
* Dismiss button colors — state-tinted per chip variant, with default / hover /
|
|
13102
|
-
* pressed steps. Values come from T4 chip.dismiss.* tokens, which reference the
|
|
13103
|
-
* brand-specific alias state-surface ramp. The ✕ (.muka-icon) inherits `color`.
|
|
13104
|
-
*/
|
|
13105
|
-
.muka-chip--default .muka-chip__remove,
|
|
13106
|
-
.muka-chip--default .muka-chip__expand {
|
|
13107
|
-
background-color: var(--chip-dismiss-default-background-default);
|
|
13108
|
-
color: var(--chip-dismiss-default-foreground-default);
|
|
13109
|
-
}
|
|
13110
|
-
.muka-chip--default .muka-chip__remove:hover,
|
|
13111
|
-
.muka-chip--default.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
|
|
13112
|
-
background-color: var(--chip-dismiss-default-background-hover);
|
|
13113
|
-
color: var(--chip-dismiss-default-foreground-hover);
|
|
13114
|
-
}
|
|
13115
|
-
.muka-chip--default .muka-chip__remove:active,
|
|
13116
|
-
.muka-chip--default.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
|
|
13117
|
-
.muka-chip--default.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
|
|
13118
|
-
background-color: var(--chip-dismiss-default-background-pressed);
|
|
13119
|
-
color: var(--chip-dismiss-default-foreground-pressed);
|
|
13120
|
-
}
|
|
13121
|
-
|
|
13122
|
-
.muka-chip--success .muka-chip__remove,
|
|
13123
|
-
.muka-chip--success .muka-chip__expand {
|
|
13124
|
-
background-color: var(--chip-dismiss-success-background-default);
|
|
13125
|
-
color: var(--chip-dismiss-success-foreground-default);
|
|
13126
|
-
}
|
|
13127
|
-
.muka-chip--success .muka-chip__remove:hover,
|
|
13128
|
-
.muka-chip--success.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
|
|
13129
|
-
background-color: var(--chip-dismiss-success-background-hover);
|
|
13130
|
-
color: var(--chip-dismiss-success-foreground-hover);
|
|
13131
|
-
}
|
|
13132
|
-
.muka-chip--success .muka-chip__remove:active,
|
|
13133
|
-
.muka-chip--success.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
|
|
13134
|
-
.muka-chip--success.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
|
|
13135
|
-
background-color: var(--chip-dismiss-success-background-pressed);
|
|
13136
|
-
color: var(--chip-dismiss-success-foreground-pressed);
|
|
13137
|
-
}
|
|
13138
|
-
|
|
13139
|
-
.muka-chip--warning .muka-chip__remove,
|
|
13140
|
-
.muka-chip--warning .muka-chip__expand {
|
|
13141
|
-
background-color: var(--chip-dismiss-warning-background-default);
|
|
13142
|
-
color: var(--chip-dismiss-warning-foreground-default);
|
|
13143
|
-
}
|
|
13144
|
-
.muka-chip--warning .muka-chip__remove:hover,
|
|
13145
|
-
.muka-chip--warning.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
|
|
13146
|
-
background-color: var(--chip-dismiss-warning-background-hover);
|
|
13147
|
-
color: var(--chip-dismiss-warning-foreground-hover);
|
|
13148
|
-
}
|
|
13149
|
-
.muka-chip--warning .muka-chip__remove:active,
|
|
13150
|
-
.muka-chip--warning.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
|
|
13151
|
-
.muka-chip--warning.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
|
|
13152
|
-
background-color: var(--chip-dismiss-warning-background-pressed);
|
|
13153
|
-
color: var(--chip-dismiss-warning-foreground-pressed);
|
|
13154
|
-
}
|
|
13155
|
-
|
|
13156
|
-
.muka-chip--error .muka-chip__remove,
|
|
13157
|
-
.muka-chip--error .muka-chip__expand {
|
|
13158
|
-
background-color: var(--chip-dismiss-error-background-default);
|
|
13159
|
-
color: var(--chip-dismiss-error-foreground-default);
|
|
13160
|
-
}
|
|
13161
|
-
.muka-chip--error .muka-chip__remove:hover,
|
|
13162
|
-
.muka-chip--error.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
|
|
13163
|
-
background-color: var(--chip-dismiss-error-background-hover);
|
|
13164
|
-
color: var(--chip-dismiss-error-foreground-hover);
|
|
13165
|
-
}
|
|
13166
|
-
.muka-chip--error .muka-chip__remove:active,
|
|
13167
|
-
.muka-chip--error.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
|
|
13168
|
-
.muka-chip--error.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
|
|
13169
|
-
background-color: var(--chip-dismiss-error-background-pressed);
|
|
13170
|
-
color: var(--chip-dismiss-error-foreground-pressed);
|
|
13171
|
-
}
|
|
13172
|
-
|
|
13173
|
-
.muka-chip--info .muka-chip__remove,
|
|
13174
|
-
.muka-chip--info .muka-chip__expand {
|
|
13175
|
-
background-color: var(--chip-dismiss-info-background-default);
|
|
13176
|
-
color: var(--chip-dismiss-info-foreground-default);
|
|
13177
|
-
}
|
|
13178
|
-
.muka-chip--info .muka-chip__remove:hover,
|
|
13179
|
-
.muka-chip--info.muka-chip--expandable:hover:not(:disabled) .muka-chip__expand {
|
|
13180
|
-
background-color: var(--chip-dismiss-info-background-hover);
|
|
13181
|
-
color: var(--chip-dismiss-info-foreground-hover);
|
|
13182
|
-
}
|
|
13183
|
-
.muka-chip--info .muka-chip__remove:active,
|
|
13184
|
-
.muka-chip--info.muka-chip--expandable:active:not(:disabled) .muka-chip__expand,
|
|
13185
|
-
.muka-chip--info.muka-chip--expandable[aria-expanded='true'] .muka-chip__expand {
|
|
13186
|
-
background-color: var(--chip-dismiss-info-background-pressed);
|
|
13187
|
-
color: var(--chip-dismiss-info-foreground-pressed);
|
|
13188
|
-
}
|
|
13189
|
-
|
|
13190
|
-
/* Variants (solid fill) — icons inherit these foreground colors (see below) */
|
|
12970
|
+
/* Variants: body fill, foreground, and the trailing button's colour steps */
|
|
13191
12971
|
.muka-chip--default {
|
|
13192
|
-
background-color: var(--
|
|
12972
|
+
background-color: var(--chip-neutral-background-default);
|
|
13193
12973
|
color: var(--color-text-default-default);
|
|
12974
|
+
--_chip-tr-bg: var(--chip-trailing-default-background-default);
|
|
12975
|
+
--_chip-tr-bg-hover: var(--chip-trailing-default-background-hover);
|
|
12976
|
+
--_chip-tr-bg-pressed: var(--chip-trailing-default-background-pressed);
|
|
12977
|
+
--_chip-tr-fg: var(--chip-trailing-default-foreground-default);
|
|
12978
|
+
--_chip-tr-fg-hover: var(--chip-trailing-default-foreground-hover);
|
|
12979
|
+
--_chip-tr-fg-pressed: var(--chip-trailing-default-foreground-pressed);
|
|
13194
12980
|
}
|
|
13195
12981
|
|
|
13196
12982
|
.muka-chip--success {
|
|
13197
12983
|
background-color: var(--color-state-success-background);
|
|
13198
12984
|
color: var(--color-state-success-contrast);
|
|
12985
|
+
--_chip-tr-bg: var(--chip-trailing-success-background-default);
|
|
12986
|
+
--_chip-tr-bg-hover: var(--chip-trailing-success-background-hover);
|
|
12987
|
+
--_chip-tr-bg-pressed: var(--chip-trailing-success-background-pressed);
|
|
12988
|
+
--_chip-tr-fg: var(--chip-trailing-success-foreground-default);
|
|
12989
|
+
--_chip-tr-fg-hover: var(--chip-trailing-success-foreground-hover);
|
|
12990
|
+
--_chip-tr-fg-pressed: var(--chip-trailing-success-foreground-pressed);
|
|
13199
12991
|
}
|
|
13200
12992
|
|
|
13201
12993
|
.muka-chip--warning {
|
|
13202
12994
|
background-color: var(--color-state-warning-background);
|
|
13203
12995
|
color: var(--color-state-warning-contrast);
|
|
12996
|
+
--_chip-tr-bg: var(--chip-trailing-warning-background-default);
|
|
12997
|
+
--_chip-tr-bg-hover: var(--chip-trailing-warning-background-hover);
|
|
12998
|
+
--_chip-tr-bg-pressed: var(--chip-trailing-warning-background-pressed);
|
|
12999
|
+
--_chip-tr-fg: var(--chip-trailing-warning-foreground-default);
|
|
13000
|
+
--_chip-tr-fg-hover: var(--chip-trailing-warning-foreground-hover);
|
|
13001
|
+
--_chip-tr-fg-pressed: var(--chip-trailing-warning-foreground-pressed);
|
|
13204
13002
|
}
|
|
13205
13003
|
|
|
13206
13004
|
.muka-chip--error {
|
|
13207
13005
|
background-color: var(--color-state-error-background);
|
|
13208
13006
|
color: var(--color-state-error-contrast);
|
|
13007
|
+
--_chip-tr-bg: var(--chip-trailing-error-background-default);
|
|
13008
|
+
--_chip-tr-bg-hover: var(--chip-trailing-error-background-hover);
|
|
13009
|
+
--_chip-tr-bg-pressed: var(--chip-trailing-error-background-pressed);
|
|
13010
|
+
--_chip-tr-fg: var(--chip-trailing-error-foreground-default);
|
|
13011
|
+
--_chip-tr-fg-hover: var(--chip-trailing-error-foreground-hover);
|
|
13012
|
+
--_chip-tr-fg-pressed: var(--chip-trailing-error-foreground-pressed);
|
|
13209
13013
|
}
|
|
13210
13014
|
|
|
13211
13015
|
.muka-chip--info {
|
|
13212
13016
|
background-color: var(--color-state-info-background);
|
|
13213
13017
|
color: var(--color-state-info-contrast);
|
|
13018
|
+
--_chip-tr-bg: var(--chip-trailing-info-background-default);
|
|
13019
|
+
--_chip-tr-bg-hover: var(--chip-trailing-info-background-hover);
|
|
13020
|
+
--_chip-tr-bg-pressed: var(--chip-trailing-info-background-pressed);
|
|
13021
|
+
--_chip-tr-fg: var(--chip-trailing-info-foreground-default);
|
|
13022
|
+
--_chip-tr-fg-hover: var(--chip-trailing-info-foreground-hover);
|
|
13023
|
+
--_chip-tr-fg-pressed: var(--chip-trailing-info-foreground-pressed);
|
|
13024
|
+
}
|
|
13025
|
+
|
|
13026
|
+
/* Ghost: no fill, subtle label; the trailing circle is outlined at rest (Figma Chip/Trailing Ghost) */
|
|
13027
|
+
.muka-chip--ghost {
|
|
13028
|
+
background-color: var(--chip-ghost-background-default);
|
|
13029
|
+
color: var(--chip-ghost-foreground-default);
|
|
13030
|
+
--_chip-tr-border: var(--chip-trailing-ghost-border-default);
|
|
13031
|
+
--_chip-tr-bg: var(--chip-trailing-ghost-background-default);
|
|
13032
|
+
--_chip-tr-bg-hover: var(--chip-trailing-ghost-background-hover);
|
|
13033
|
+
--_chip-tr-bg-pressed: var(--chip-trailing-ghost-background-pressed);
|
|
13034
|
+
--_chip-tr-fg: var(--chip-trailing-ghost-foreground-default);
|
|
13035
|
+
--_chip-tr-fg-hover: var(--chip-trailing-ghost-foreground-hover);
|
|
13036
|
+
--_chip-tr-fg-pressed: var(--chip-trailing-ghost-foreground-pressed);
|
|
13037
|
+
}
|
|
13038
|
+
|
|
13039
|
+
/*
|
|
13040
|
+
* Body hover (Figma Chip State=Hover) — only on chips whose body does
|
|
13041
|
+
* something: the whole-chip button, or a label link/button (hovering just the
|
|
13042
|
+
* label, not the trailing button, which has its own states). A static chip
|
|
13043
|
+
* doesn't hover.
|
|
13044
|
+
*/
|
|
13045
|
+
.muka-chip--default.muka-chip--expandable:is(:hover, :focus-visible, [aria-expanded='true']):not(:disabled),
|
|
13046
|
+
.muka-chip--default.muka-chip--has-label-action:has(> .muka-chip__label-action:is(:hover, :focus-visible)) {
|
|
13047
|
+
background-color: var(--chip-neutral-background-hover);
|
|
13214
13048
|
}
|
|
13215
13049
|
|
|
13216
|
-
|
|
13050
|
+
.muka-chip--ghost.muka-chip--expandable:is(:hover, :focus-visible, [aria-expanded='true']):not(:disabled),
|
|
13051
|
+
.muka-chip--ghost.muka-chip--has-label-action:has(> .muka-chip__label-action:is(:hover, :focus-visible)) {
|
|
13052
|
+
background-color: var(--chip-ghost-background-hover);
|
|
13053
|
+
color: var(--chip-ghost-foreground-hover);
|
|
13054
|
+
}
|
|
13055
|
+
|
|
13056
|
+
/* Icons (leading + trailing) inherit their slot's foreground color */
|
|
13217
13057
|
.muka-chip .muka-icon {
|
|
13218
13058
|
color: inherit;
|
|
13219
13059
|
}
|
|
@@ -15021,7 +14861,12 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15021
14861
|
|
|
15022
14862
|
|
|
15023
14863
|
/* Breadcrumb */
|
|
15024
|
-
/* Breadcrumb Component Styles
|
|
14864
|
+
/* Breadcrumb Component Styles (Figma: Breadcrumb 6770:12446)
|
|
14865
|
+
*
|
|
14866
|
+
* Every level is a ghost Chip (Chip.css); this file only lays them out,
|
|
14867
|
+
* with the same gap (breadcrumb.gap.separator, 4px) on either side of the
|
|
14868
|
+
* separator.
|
|
14869
|
+
*/
|
|
15025
14870
|
|
|
15026
14871
|
.muka-breadcrumb__list {
|
|
15027
14872
|
display: flex;
|
|
@@ -15030,88 +14875,23 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15030
14875
|
list-style: none;
|
|
15031
14876
|
margin: 0;
|
|
15032
14877
|
padding: 0;
|
|
15033
|
-
gap: var(--
|
|
14878
|
+
gap: var(--breadcrumb-gap-separator);
|
|
15034
14879
|
}
|
|
15035
14880
|
|
|
15036
14881
|
.muka-breadcrumb__item {
|
|
15037
14882
|
display: inline-flex;
|
|
15038
14883
|
align-items: center;
|
|
15039
|
-
gap: var(--
|
|
14884
|
+
gap: var(--breadcrumb-gap-separator);
|
|
14885
|
+
min-width: 0;
|
|
15040
14886
|
}
|
|
15041
14887
|
|
|
15042
|
-
.muka-
|
|
15043
|
-
|
|
14888
|
+
.muka-breadcrumb__separator,
|
|
14889
|
+
.muka-breadcrumb__ellipsis {
|
|
14890
|
+
color: var(--breadcrumb-separator-color);
|
|
14891
|
+
user-select: none;
|
|
15044
14892
|
}
|
|
15045
14893
|
|
|
15046
|
-
|
|
15047
|
-
display: inline-flex;
|
|
15048
|
-
align-items: center;
|
|
15049
|
-
color: var(--color-text-subtle-default);
|
|
15050
|
-
}
|
|
15051
|
-
|
|
15052
|
-
.muka-breadcrumb__icon .muka-icon {
|
|
15053
|
-
color: inherit;
|
|
15054
|
-
}
|
|
15055
|
-
|
|
15056
|
-
.muka-breadcrumb__item:has(.muka-breadcrumb__current) .muka-breadcrumb__icon {
|
|
15057
|
-
color: var(--color-text-default-default);
|
|
15058
|
-
}
|
|
15059
|
-
|
|
15060
|
-
.muka-breadcrumb__item:has(.muka-breadcrumb__link:hover) .muka-breadcrumb__icon {
|
|
15061
|
-
color: var(--color-text-action-default);
|
|
15062
|
-
}
|
|
15063
|
-
|
|
15064
|
-
/* Link styles */
|
|
15065
|
-
.muka-breadcrumb__link {
|
|
15066
|
-
color: var(--color-text-subtle-default);
|
|
15067
|
-
text-decoration: none;
|
|
15068
|
-
border: none;
|
|
15069
|
-
background: none;
|
|
15070
|
-
padding-inline: var(--spacing-2);
|
|
15071
|
-
padding-block: 0;
|
|
15072
|
-
cursor: pointer;
|
|
15073
|
-
font: inherit;
|
|
15074
|
-
transition: color 0.15s ease;
|
|
15075
|
-
}
|
|
15076
|
-
|
|
15077
|
-
.muka-breadcrumb__link:hover {
|
|
15078
|
-
color: var(--color-text-action-default);
|
|
15079
|
-
text-decoration: underline;
|
|
15080
|
-
}
|
|
15081
|
-
|
|
15082
|
-
/* Tighter gap after leading icon */
|
|
15083
|
-
.muka-breadcrumb__item:has(.muka-breadcrumb__icon) .muka-breadcrumb__link,
|
|
15084
|
-
.muka-breadcrumb__item:has(.muka-breadcrumb__icon) .muka-breadcrumb__current {
|
|
15085
|
-
padding-left: var(--spacing-1);
|
|
15086
|
-
}
|
|
15087
|
-
|
|
15088
|
-
/* Current page (last item, no context switcher) */
|
|
15089
|
-
.muka-breadcrumb__current {
|
|
15090
|
-
color: var(--color-text-default-default);
|
|
15091
|
-
font-weight: 600;
|
|
15092
|
-
padding-inline: var(--spacing-2);
|
|
15093
|
-
}
|
|
15094
|
-
|
|
15095
|
-
/* Separator */
|
|
15096
|
-
.muka-breadcrumb__separator {
|
|
15097
|
-
color: var(--color-text-subtle-default);
|
|
15098
|
-
user-select: none;
|
|
15099
|
-
}
|
|
15100
|
-
|
|
15101
|
-
.muka-breadcrumb__item--context {
|
|
15102
|
-
gap: 0;
|
|
15103
|
-
}
|
|
15104
|
-
|
|
15105
|
-
.muka-breadcrumb__list:has(.muka-breadcrumb__item--context) {
|
|
15106
|
-
gap: 0;
|
|
15107
|
-
}
|
|
15108
|
-
|
|
15109
|
-
.muka-breadcrumb__item--context .muka-breadcrumb__separator {
|
|
15110
|
-
margin: 0;
|
|
15111
|
-
padding-inline: var(--spacing-1, 4px);
|
|
15112
|
-
}
|
|
15113
|
-
|
|
15114
|
-
/* Size variants */
|
|
14894
|
+
/* Size variants: separator and ellipsis type (the chips size themselves) */
|
|
15115
14895
|
.muka-breadcrumb--sm {
|
|
15116
14896
|
font-family: var(--text-label-sm-regular-fontFamily);
|
|
15117
14897
|
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
@@ -15133,7 +14913,15 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15133
14913
|
line-height: var(--text-label-lg-regular-lineHeight);
|
|
15134
14914
|
}
|
|
15135
14915
|
|
|
15136
|
-
|
|
14916
|
+
.muka-breadcrumb__menu {
|
|
14917
|
+
min-width: 17.5rem;
|
|
14918
|
+
}
|
|
14919
|
+
|
|
14920
|
+
/*
|
|
14921
|
+
* Truncate: one line. The current page shortens first, down to
|
|
14922
|
+
* breadcrumb.truncate.current.minWidth (or the full width, if that is less);
|
|
14923
|
+
* after that the earlier levels shorten too, each with an ellipsis.
|
|
14924
|
+
*/
|
|
15137
14925
|
.muka-breadcrumb--truncate {
|
|
15138
14926
|
min-width: 0;
|
|
15139
14927
|
overflow: hidden;
|
|
@@ -15145,20 +14933,16 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15145
14933
|
}
|
|
15146
14934
|
|
|
15147
14935
|
.muka-breadcrumb--truncate .muka-breadcrumb__item {
|
|
15148
|
-
flex
|
|
14936
|
+
flex: 0 1 auto;
|
|
15149
14937
|
}
|
|
15150
14938
|
|
|
15151
14939
|
.muka-breadcrumb--truncate .muka-breadcrumb__item:last-child {
|
|
15152
|
-
flex-shrink:
|
|
15153
|
-
min-width:
|
|
15154
|
-
overflow: hidden;
|
|
14940
|
+
flex-shrink: 1000;
|
|
14941
|
+
min-width: min(var(--breadcrumb-truncate-current-minWidth), 100%);
|
|
15155
14942
|
}
|
|
15156
14943
|
|
|
15157
|
-
.muka-breadcrumb--truncate .muka-
|
|
14944
|
+
.muka-breadcrumb--truncate .muka-breadcrumb__chip {
|
|
15158
14945
|
min-width: 0;
|
|
15159
|
-
overflow: hidden;
|
|
15160
|
-
text-overflow: ellipsis;
|
|
15161
|
-
white-space: nowrap;
|
|
15162
14946
|
}
|
|
15163
14947
|
|
|
15164
14948
|
|
|
@@ -15853,72 +15637,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
15853
15637
|
}
|
|
15854
15638
|
|
|
15855
15639
|
|
|
15856
|
-
/* Autocomplete */
|
|
15857
|
-
/* Autocomplete — Figma Input Autocomplete (Input field + single-line suggestion Menu).
|
|
15858
|
-
The field reuses the Input styles (.muka-input*); only the menu wiring lives here. */
|
|
15859
|
-
|
|
15860
|
-
.muka-autocomplete {
|
|
15861
|
-
min-width: 200px;
|
|
15862
|
-
}
|
|
15863
|
-
|
|
15864
|
-
/* Covers the field's outer edge so the menu matches its full width. The menu
|
|
15865
|
-
is only open while focused, when the field has the bold border. */
|
|
15866
|
-
.muka-autocomplete__menu-anchor {
|
|
15867
|
-
position: absolute;
|
|
15868
|
-
inset: calc(-1 * var(--border-width-bold));
|
|
15869
|
-
z-index: 0;
|
|
15870
|
-
margin: 0;
|
|
15871
|
-
padding: 0;
|
|
15872
|
-
border: none;
|
|
15873
|
-
background: transparent;
|
|
15874
|
-
pointer-events: none;
|
|
15875
|
-
opacity: 0;
|
|
15876
|
-
}
|
|
15877
|
-
|
|
15878
|
-
/* Keep the field content above the invisible anchor. */
|
|
15879
|
-
.muka-autocomplete__field > :not(.muka-autocomplete__menu-anchor) {
|
|
15880
|
-
position: relative;
|
|
15881
|
-
z-index: 1;
|
|
15882
|
-
}
|
|
15883
|
-
|
|
15884
|
-
/* Figma: the menu is as wide as the field (never below the menu min-width token). */
|
|
15885
|
-
.muka-autocomplete__menu {
|
|
15886
|
-
width: var(--radix-dropdown-menu-trigger-width);
|
|
15887
|
-
max-width: calc(100vw - 2rem);
|
|
15888
|
-
}
|
|
15889
|
-
|
|
15890
|
-
/* Suggestions are single-line; long labels truncate. */
|
|
15891
|
-
.muka-autocomplete__menu .muka-menu__item-label {
|
|
15892
|
-
overflow: hidden;
|
|
15893
|
-
text-overflow: ellipsis;
|
|
15894
|
-
}
|
|
15895
|
-
|
|
15896
|
-
/* Loading and empty rows: menu-row geometry, not selectable. */
|
|
15897
|
-
.muka-autocomplete__status {
|
|
15898
|
-
display: flex;
|
|
15899
|
-
align-items: center;
|
|
15900
|
-
gap: var(--menu-item-gap);
|
|
15901
|
-
min-height: var(--menu-item-height);
|
|
15902
|
-
padding: var(--menu-item-padding-y) var(--menu-item-padding-x);
|
|
15903
|
-
color: var(--color-text-subtle-default);
|
|
15904
|
-
font-family: var(--text-label-md-regular-fontFamily);
|
|
15905
|
-
font-size: var(--text-label-md-regular-fontSize);
|
|
15906
|
-
font-weight: var(--text-label-md-regular-fontWeight);
|
|
15907
|
-
line-height: var(--text-label-md-regular-lineHeight);
|
|
15908
|
-
}
|
|
15909
|
-
|
|
15910
|
-
.muka-autocomplete__footer {
|
|
15911
|
-
flex-shrink: 0;
|
|
15912
|
-
padding: var(--spacing-2) var(--spacing-3);
|
|
15913
|
-
border-top: var(--border-width-regular) solid var(--color-border-default);
|
|
15914
|
-
color: var(--color-text-subtle-default);
|
|
15915
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
15916
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
15917
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
15918
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
15919
|
-
}
|
|
15920
|
-
|
|
15921
|
-
|
|
15922
15640
|
/* Avatar */
|
|
15923
15641
|
/* Avatar Component Styles - Using Muka Design Tokens */
|
|
15924
15642
|
|
|
@@ -16271,6 +15989,168 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
16271
15989
|
}
|
|
16272
15990
|
|
|
16273
15991
|
|
|
15992
|
+
/* Autocomplete */
|
|
15993
|
+
/* Autocomplete — Figma Input Autocomplete (Input field + single-line suggestion Menu).
|
|
15994
|
+
The field reuses the Input styles (.muka-input*); only the menu wiring lives here. */
|
|
15995
|
+
|
|
15996
|
+
.muka-autocomplete {
|
|
15997
|
+
min-width: 200px;
|
|
15998
|
+
}
|
|
15999
|
+
|
|
16000
|
+
/* Covers the field's outer edge so the menu matches its full width. The menu
|
|
16001
|
+
is only open while focused, when the field has the bold border. */
|
|
16002
|
+
.muka-autocomplete__menu-anchor {
|
|
16003
|
+
position: absolute;
|
|
16004
|
+
inset: calc(-1 * var(--border-width-bold));
|
|
16005
|
+
z-index: 0;
|
|
16006
|
+
margin: 0;
|
|
16007
|
+
padding: 0;
|
|
16008
|
+
border: none;
|
|
16009
|
+
background: transparent;
|
|
16010
|
+
pointer-events: none;
|
|
16011
|
+
opacity: 0;
|
|
16012
|
+
}
|
|
16013
|
+
|
|
16014
|
+
/* Keep the field content above the invisible anchor. */
|
|
16015
|
+
.muka-autocomplete__field > :not(.muka-autocomplete__menu-anchor) {
|
|
16016
|
+
position: relative;
|
|
16017
|
+
z-index: 1;
|
|
16018
|
+
}
|
|
16019
|
+
|
|
16020
|
+
/* Figma: the menu is as wide as the field (never below the menu min-width token). */
|
|
16021
|
+
.muka-autocomplete__menu {
|
|
16022
|
+
width: var(--radix-dropdown-menu-trigger-width);
|
|
16023
|
+
max-width: calc(100vw - 2rem);
|
|
16024
|
+
}
|
|
16025
|
+
|
|
16026
|
+
/* Suggestions are single-line; long labels truncate. */
|
|
16027
|
+
.muka-autocomplete__menu .muka-menu__item-label {
|
|
16028
|
+
overflow: hidden;
|
|
16029
|
+
text-overflow: ellipsis;
|
|
16030
|
+
}
|
|
16031
|
+
|
|
16032
|
+
/* Loading and empty rows: menu-row geometry, not selectable. */
|
|
16033
|
+
.muka-autocomplete__status {
|
|
16034
|
+
display: flex;
|
|
16035
|
+
align-items: center;
|
|
16036
|
+
gap: var(--menu-item-gap);
|
|
16037
|
+
min-height: var(--menu-item-height);
|
|
16038
|
+
padding: var(--menu-item-padding-y) var(--menu-item-padding-x);
|
|
16039
|
+
color: var(--color-text-subtle-default);
|
|
16040
|
+
font-family: var(--text-label-md-regular-fontFamily);
|
|
16041
|
+
font-size: var(--text-label-md-regular-fontSize);
|
|
16042
|
+
font-weight: var(--text-label-md-regular-fontWeight);
|
|
16043
|
+
line-height: var(--text-label-md-regular-lineHeight);
|
|
16044
|
+
}
|
|
16045
|
+
|
|
16046
|
+
.muka-autocomplete__footer {
|
|
16047
|
+
flex-shrink: 0;
|
|
16048
|
+
padding: var(--spacing-2) var(--spacing-3);
|
|
16049
|
+
border-top: var(--border-width-regular) solid var(--color-border-default);
|
|
16050
|
+
color: var(--color-text-subtle-default);
|
|
16051
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
16052
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
16053
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
16054
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
16055
|
+
}
|
|
16056
|
+
|
|
16057
|
+
|
|
16058
|
+
/* AppShell */
|
|
16059
|
+
/* AppShell Component Styles */
|
|
16060
|
+
|
|
16061
|
+
/*
|
|
16062
|
+
* Layout wrapper for a persistent left navigation rail + main view area, with an
|
|
16063
|
+
* optional full-width top app bar. The rail itself is styled by the BottomBar
|
|
16064
|
+
* `desktopAs="sidebar"` rules (fixed 240px left rail at ≥1024px); AppShell shows/
|
|
16065
|
+
* hides the sidebar + app-bar slots and offsets the main area to match. Both
|
|
16066
|
+
* appear at the large tier — responsively (no `size`, scoped with
|
|
16067
|
+
* `:not([data-size])`) or forced via `[data-size="lg"]`.
|
|
16068
|
+
*/
|
|
16069
|
+
.muka-app-shell {
|
|
16070
|
+
position: relative;
|
|
16071
|
+
/* Reserved width for the rail; matches BottomBar's desktop-sidebar width. */
|
|
16072
|
+
--app-shell-sidebar-width: 240px;
|
|
16073
|
+
/* Height of the optional top app bar. */
|
|
16074
|
+
--app-shell-appbar-height: 64px;
|
|
16075
|
+
}
|
|
16076
|
+
|
|
16077
|
+
/* Sidebar slot: hidden below the large tier (per-view nav handles small/medium). */
|
|
16078
|
+
.muka-app-shell__sidebar {
|
|
16079
|
+
display: none;
|
|
16080
|
+
}
|
|
16081
|
+
|
|
16082
|
+
.muka-app-shell__main {
|
|
16083
|
+
min-height: 100dvh;
|
|
16084
|
+
}
|
|
16085
|
+
|
|
16086
|
+
/*
|
|
16087
|
+
* App bar: full-width top strip. Intrinsic styling lives here (harmless while
|
|
16088
|
+
* hidden); it is revealed only at the large tier. Sits above the sidebar rail.
|
|
16089
|
+
*/
|
|
16090
|
+
.muka-app-shell__appbar {
|
|
16091
|
+
display: none;
|
|
16092
|
+
align-items: center;
|
|
16093
|
+
justify-content: space-between;
|
|
16094
|
+
gap: var(--spacing-4);
|
|
16095
|
+
position: fixed;
|
|
16096
|
+
top: 0;
|
|
16097
|
+
left: 0;
|
|
16098
|
+
right: 0;
|
|
16099
|
+
height: var(--app-shell-appbar-height);
|
|
16100
|
+
padding-inline: var(--spacing-4);
|
|
16101
|
+
background-color: var(--color-surface-level3);
|
|
16102
|
+
border-bottom: var(--border-width-regular) solid var(--color-border-default);
|
|
16103
|
+
z-index: 11; /* above the sidebar rail (z-index 10) */
|
|
16104
|
+
}
|
|
16105
|
+
|
|
16106
|
+
/* ─── Large tier (responsive) ─── */
|
|
16107
|
+
@media (min-width: 1024px) {
|
|
16108
|
+
.muka-app-shell:not([data-size]) .muka-app-shell__sidebar {
|
|
16109
|
+
display: block;
|
|
16110
|
+
}
|
|
16111
|
+
.muka-app-shell:not([data-size]) .muka-app-shell__main {
|
|
16112
|
+
padding-left: var(--app-shell-sidebar-width);
|
|
16113
|
+
}
|
|
16114
|
+
.muka-app-shell:not([data-size]) .muka-app-shell__appbar {
|
|
16115
|
+
display: flex;
|
|
16116
|
+
}
|
|
16117
|
+
/* When an app bar is present, drop the rail + content below it so nothing overlaps. */
|
|
16118
|
+
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-app-shell__main {
|
|
16119
|
+
padding-top: var(--app-shell-appbar-height);
|
|
16120
|
+
}
|
|
16121
|
+
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar {
|
|
16122
|
+
top: var(--app-shell-appbar-height);
|
|
16123
|
+
height: calc(100vh - var(--app-shell-appbar-height));
|
|
16124
|
+
}
|
|
16125
|
+
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-view,
|
|
16126
|
+
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-nav-transition {
|
|
16127
|
+
height: calc(100dvh - var(--app-shell-appbar-height));
|
|
16128
|
+
}
|
|
16129
|
+
}
|
|
16130
|
+
|
|
16131
|
+
/* ─── Large tier (forced via size="lg") ─── */
|
|
16132
|
+
.muka-app-shell[data-size='lg'] .muka-app-shell__sidebar {
|
|
16133
|
+
display: block;
|
|
16134
|
+
}
|
|
16135
|
+
.muka-app-shell[data-size='lg'] .muka-app-shell__main {
|
|
16136
|
+
padding-left: var(--app-shell-sidebar-width);
|
|
16137
|
+
}
|
|
16138
|
+
.muka-app-shell[data-size='lg'] .muka-app-shell__appbar {
|
|
16139
|
+
display: flex;
|
|
16140
|
+
}
|
|
16141
|
+
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-app-shell__main {
|
|
16142
|
+
padding-top: var(--app-shell-appbar-height);
|
|
16143
|
+
}
|
|
16144
|
+
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar {
|
|
16145
|
+
top: var(--app-shell-appbar-height);
|
|
16146
|
+
height: calc(100vh - var(--app-shell-appbar-height));
|
|
16147
|
+
}
|
|
16148
|
+
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-view,
|
|
16149
|
+
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-nav-transition {
|
|
16150
|
+
height: calc(100dvh - var(--app-shell-appbar-height));
|
|
16151
|
+
}
|
|
16152
|
+
|
|
16153
|
+
|
|
16274
16154
|
/* Alert */
|
|
16275
16155
|
/* Alert Component Styles - Using Muka Design Tokens */
|
|
16276
16156
|
|
|
@@ -16482,102 +16362,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
16482
16362
|
}
|
|
16483
16363
|
|
|
16484
16364
|
|
|
16485
|
-
/* AppShell */
|
|
16486
|
-
/* AppShell Component Styles */
|
|
16487
|
-
|
|
16488
|
-
/*
|
|
16489
|
-
* Layout wrapper for a persistent left navigation rail + main view area, with an
|
|
16490
|
-
* optional full-width top app bar. The rail itself is styled by the BottomBar
|
|
16491
|
-
* `desktopAs="sidebar"` rules (fixed 240px left rail at ≥1024px); AppShell shows/
|
|
16492
|
-
* hides the sidebar + app-bar slots and offsets the main area to match. Both
|
|
16493
|
-
* appear at the large tier — responsively (no `size`, scoped with
|
|
16494
|
-
* `:not([data-size])`) or forced via `[data-size="lg"]`.
|
|
16495
|
-
*/
|
|
16496
|
-
.muka-app-shell {
|
|
16497
|
-
position: relative;
|
|
16498
|
-
/* Reserved width for the rail; matches BottomBar's desktop-sidebar width. */
|
|
16499
|
-
--app-shell-sidebar-width: 240px;
|
|
16500
|
-
/* Height of the optional top app bar. */
|
|
16501
|
-
--app-shell-appbar-height: 64px;
|
|
16502
|
-
}
|
|
16503
|
-
|
|
16504
|
-
/* Sidebar slot: hidden below the large tier (per-view nav handles small/medium). */
|
|
16505
|
-
.muka-app-shell__sidebar {
|
|
16506
|
-
display: none;
|
|
16507
|
-
}
|
|
16508
|
-
|
|
16509
|
-
.muka-app-shell__main {
|
|
16510
|
-
min-height: 100dvh;
|
|
16511
|
-
}
|
|
16512
|
-
|
|
16513
|
-
/*
|
|
16514
|
-
* App bar: full-width top strip. Intrinsic styling lives here (harmless while
|
|
16515
|
-
* hidden); it is revealed only at the large tier. Sits above the sidebar rail.
|
|
16516
|
-
*/
|
|
16517
|
-
.muka-app-shell__appbar {
|
|
16518
|
-
display: none;
|
|
16519
|
-
align-items: center;
|
|
16520
|
-
justify-content: space-between;
|
|
16521
|
-
gap: var(--spacing-4);
|
|
16522
|
-
position: fixed;
|
|
16523
|
-
top: 0;
|
|
16524
|
-
left: 0;
|
|
16525
|
-
right: 0;
|
|
16526
|
-
height: var(--app-shell-appbar-height);
|
|
16527
|
-
padding-inline: var(--spacing-4);
|
|
16528
|
-
background-color: var(--color-surface-level3);
|
|
16529
|
-
border-bottom: var(--border-width-regular) solid var(--color-border-default);
|
|
16530
|
-
z-index: 11; /* above the sidebar rail (z-index 10) */
|
|
16531
|
-
}
|
|
16532
|
-
|
|
16533
|
-
/* ─── Large tier (responsive) ─── */
|
|
16534
|
-
@media (min-width: 1024px) {
|
|
16535
|
-
.muka-app-shell:not([data-size]) .muka-app-shell__sidebar {
|
|
16536
|
-
display: block;
|
|
16537
|
-
}
|
|
16538
|
-
.muka-app-shell:not([data-size]) .muka-app-shell__main {
|
|
16539
|
-
padding-left: var(--app-shell-sidebar-width);
|
|
16540
|
-
}
|
|
16541
|
-
.muka-app-shell:not([data-size]) .muka-app-shell__appbar {
|
|
16542
|
-
display: flex;
|
|
16543
|
-
}
|
|
16544
|
-
/* When an app bar is present, drop the rail + content below it so nothing overlaps. */
|
|
16545
|
-
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-app-shell__main {
|
|
16546
|
-
padding-top: var(--app-shell-appbar-height);
|
|
16547
|
-
}
|
|
16548
|
-
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar {
|
|
16549
|
-
top: var(--app-shell-appbar-height);
|
|
16550
|
-
height: calc(100vh - var(--app-shell-appbar-height));
|
|
16551
|
-
}
|
|
16552
|
-
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-view,
|
|
16553
|
-
.muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-nav-transition {
|
|
16554
|
-
height: calc(100dvh - var(--app-shell-appbar-height));
|
|
16555
|
-
}
|
|
16556
|
-
}
|
|
16557
|
-
|
|
16558
|
-
/* ─── Large tier (forced via size="lg") ─── */
|
|
16559
|
-
.muka-app-shell[data-size='lg'] .muka-app-shell__sidebar {
|
|
16560
|
-
display: block;
|
|
16561
|
-
}
|
|
16562
|
-
.muka-app-shell[data-size='lg'] .muka-app-shell__main {
|
|
16563
|
-
padding-left: var(--app-shell-sidebar-width);
|
|
16564
|
-
}
|
|
16565
|
-
.muka-app-shell[data-size='lg'] .muka-app-shell__appbar {
|
|
16566
|
-
display: flex;
|
|
16567
|
-
}
|
|
16568
|
-
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-app-shell__main {
|
|
16569
|
-
padding-top: var(--app-shell-appbar-height);
|
|
16570
|
-
}
|
|
16571
|
-
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar {
|
|
16572
|
-
top: var(--app-shell-appbar-height);
|
|
16573
|
-
height: calc(100vh - var(--app-shell-appbar-height));
|
|
16574
|
-
}
|
|
16575
|
-
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-view,
|
|
16576
|
-
.muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-nav-transition {
|
|
16577
|
-
height: calc(100dvh - var(--app-shell-appbar-height));
|
|
16578
|
-
}
|
|
16579
|
-
|
|
16580
|
-
|
|
16581
16365
|
/* AgentTaskList */
|
|
16582
16366
|
/* AgentTaskList Component Styles */
|
|
16583
16367
|
|
|
@@ -17019,3 +16803,111 @@ button.muka-chat-photo-grid__tile:focus-visible {
|
|
|
17019
16803
|
border-bottom: none;
|
|
17020
16804
|
}
|
|
17021
16805
|
|
|
16806
|
+
|
|
16807
|
+
/* SwipeActions */
|
|
16808
|
+
/* SwipeActions Component Styles */
|
|
16809
|
+
|
|
16810
|
+
.muka-swipe-actions {
|
|
16811
|
+
position: relative;
|
|
16812
|
+
overflow: hidden;
|
|
16813
|
+
touch-action: pan-y;
|
|
16814
|
+
-webkit-user-select: none;
|
|
16815
|
+
user-select: none;
|
|
16816
|
+
background-color: var(--color-surface-level3);
|
|
16817
|
+
}
|
|
16818
|
+
|
|
16819
|
+
.muka-swipe-actions--disabled {
|
|
16820
|
+
touch-action: auto;
|
|
16821
|
+
}
|
|
16822
|
+
|
|
16823
|
+
/* ─── Row that holds the actual content ────────────────── */
|
|
16824
|
+
|
|
16825
|
+
.muka-swipe-actions__row {
|
|
16826
|
+
position: relative;
|
|
16827
|
+
z-index: 1;
|
|
16828
|
+
background-color: inherit;
|
|
16829
|
+
will-change: transform;
|
|
16830
|
+
}
|
|
16831
|
+
|
|
16832
|
+
/* ─── Action panels — sit beneath the row ──────────────── */
|
|
16833
|
+
|
|
16834
|
+
.muka-swipe-actions__panel {
|
|
16835
|
+
position: absolute;
|
|
16836
|
+
top: 0;
|
|
16837
|
+
bottom: 0;
|
|
16838
|
+
display: flex;
|
|
16839
|
+
align-items: stretch;
|
|
16840
|
+
z-index: 0;
|
|
16841
|
+
}
|
|
16842
|
+
|
|
16843
|
+
.muka-swipe-actions__panel--left {
|
|
16844
|
+
left: 0;
|
|
16845
|
+
}
|
|
16846
|
+
|
|
16847
|
+
.muka-swipe-actions__panel--right {
|
|
16848
|
+
right: 0;
|
|
16849
|
+
}
|
|
16850
|
+
|
|
16851
|
+
/* ─── Single action button ─────────────────────────────── */
|
|
16852
|
+
|
|
16853
|
+
.muka-swipe-actions__button {
|
|
16854
|
+
display: flex;
|
|
16855
|
+
flex-direction: column;
|
|
16856
|
+
align-items: center;
|
|
16857
|
+
justify-content: center;
|
|
16858
|
+
gap: var(--spacing-1);
|
|
16859
|
+
border: none;
|
|
16860
|
+
cursor: pointer;
|
|
16861
|
+
padding: var(--spacing-2);
|
|
16862
|
+
background-color: var(--color-surface-level2);
|
|
16863
|
+
color: var(--color-text-default-default);
|
|
16864
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
16865
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
16866
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
16867
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
16868
|
+
-webkit-tap-highlight-color: transparent;
|
|
16869
|
+
transition: filter 0.12s ease;
|
|
16870
|
+
}
|
|
16871
|
+
|
|
16872
|
+
.muka-swipe-actions__button:hover {
|
|
16873
|
+
filter: brightness(0.95);
|
|
16874
|
+
}
|
|
16875
|
+
|
|
16876
|
+
.muka-swipe-actions__button:focus-visible {
|
|
16877
|
+
outline: 2px solid var(--color-action-default);
|
|
16878
|
+
outline-offset: -2px;
|
|
16879
|
+
}
|
|
16880
|
+
|
|
16881
|
+
.muka-swipe-actions__button-icon {
|
|
16882
|
+
display: inline-flex;
|
|
16883
|
+
align-items: center;
|
|
16884
|
+
justify-content: center;
|
|
16885
|
+
}
|
|
16886
|
+
|
|
16887
|
+
/* ─── Color variants ───────────────────────────────────── */
|
|
16888
|
+
|
|
16889
|
+
.muka-swipe-actions__button--neutral {
|
|
16890
|
+
background-color: var(--color-surface-level2);
|
|
16891
|
+
color: var(--color-text-default-default);
|
|
16892
|
+
}
|
|
16893
|
+
|
|
16894
|
+
.muka-swipe-actions__button--primary {
|
|
16895
|
+
background-color: var(--color-action-default);
|
|
16896
|
+
color: var(--color-text-default-inverse);
|
|
16897
|
+
}
|
|
16898
|
+
|
|
16899
|
+
.muka-swipe-actions__button--success {
|
|
16900
|
+
background-color: var(--color-state-success-default);
|
|
16901
|
+
color: var(--color-text-default-inverse);
|
|
16902
|
+
}
|
|
16903
|
+
|
|
16904
|
+
.muka-swipe-actions__button--warning {
|
|
16905
|
+
background-color: var(--color-state-warning-default);
|
|
16906
|
+
color: var(--color-text-default-default);
|
|
16907
|
+
}
|
|
16908
|
+
|
|
16909
|
+
.muka-swipe-actions__button--destructive {
|
|
16910
|
+
background-color: var(--color-state-error-default);
|
|
16911
|
+
color: var(--color-text-default-inverse);
|
|
16912
|
+
}
|
|
16913
|
+
|