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