@revikornmann/muka-ui 0.8.0 → 0.9.1
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 +4 -1
- package/dist/cjs/components/Button/Button.css +29 -0
- package/dist/cjs/components/Button/Button.js +1 -1
- package/dist/cjs/components/Checkbox/Checkbox.js +44 -5
- package/dist/cjs/components/Checkbox/Checkbox.js.map +1 -1
- package/dist/cjs/components/DatePicker/DatePicker.js +51 -6
- package/dist/cjs/components/DatePicker/DatePicker.js.map +1 -1
- package/dist/cjs/components/Form/Form.css +17 -0
- package/dist/cjs/components/Form/Form.js +31 -0
- package/dist/cjs/components/Form/Form.js.map +1 -0
- package/dist/cjs/components/Form/index.js +13 -0
- package/dist/cjs/components/Form/index.js.map +1 -0
- package/dist/cjs/components/Form/useForm.js +95 -0
- package/dist/cjs/components/Form/useForm.js.map +1 -0
- package/dist/cjs/components/Input/Input.js +52 -5
- package/dist/cjs/components/Input/Input.js.map +1 -1
- package/dist/cjs/components/LicensePlateInput/LicensePlateInput.js +50 -5
- package/dist/cjs/components/LicensePlateInput/LicensePlateInput.js.map +1 -1
- package/dist/cjs/components/NumberInput/NumberInput.js +51 -6
- package/dist/cjs/components/NumberInput/NumberInput.js.map +1 -1
- package/dist/cjs/components/Radio/Radio.js +37 -5
- package/dist/cjs/components/Radio/Radio.js.map +1 -1
- package/dist/cjs/components/RangeSlider/RangeSlider.js +37 -5
- package/dist/cjs/components/RangeSlider/RangeSlider.js.map +1 -1
- package/dist/cjs/components/SegmentGroup/SegmentGroup.css +4 -4
- package/dist/cjs/components/SegmentGroup/SegmentGroup.js +11 -6
- package/dist/cjs/components/SegmentGroup/SegmentGroup.js.map +1 -1
- package/dist/cjs/components/Select/Select.js +53 -7
- package/dist/cjs/components/Select/Select.js.map +1 -1
- package/dist/cjs/components/Textarea/Textarea.js +43 -5
- package/dist/cjs/components/Textarea/Textarea.js.map +1 -1
- package/dist/cjs/components/Toggle/Toggle.js +37 -5
- package/dist/cjs/components/Toggle/Toggle.js.map +1 -1
- package/dist/cjs/components/index.js +6 -3
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/esm/components/Button/Button.css +29 -0
- package/dist/esm/components/Button/Button.js +1 -1
- package/dist/esm/components/Checkbox/Checkbox.js +11 -4
- package/dist/esm/components/Checkbox/Checkbox.js.map +1 -1
- package/dist/esm/components/DatePicker/DatePicker.js +18 -5
- package/dist/esm/components/DatePicker/DatePicker.js.map +1 -1
- package/dist/esm/components/Form/Form.css +17 -0
- package/dist/esm/components/Form/Form.js +27 -0
- package/dist/esm/components/Form/Form.js.map +1 -0
- package/dist/esm/components/Form/index.js +4 -0
- package/dist/esm/components/Form/index.js.map +1 -0
- package/dist/esm/components/Form/useForm.js +92 -0
- package/dist/esm/components/Form/useForm.js.map +1 -0
- package/dist/esm/components/Input/Input.js +19 -4
- package/dist/esm/components/Input/Input.js.map +1 -1
- package/dist/esm/components/LicensePlateInput/LicensePlateInput.js +17 -4
- package/dist/esm/components/LicensePlateInput/LicensePlateInput.js.map +1 -1
- package/dist/esm/components/NumberInput/NumberInput.js +18 -5
- package/dist/esm/components/NumberInput/NumberInput.js.map +1 -1
- package/dist/esm/components/Radio/Radio.js +4 -4
- package/dist/esm/components/Radio/Radio.js.map +1 -1
- package/dist/esm/components/RangeSlider/RangeSlider.js +4 -4
- package/dist/esm/components/RangeSlider/RangeSlider.js.map +1 -1
- package/dist/esm/components/SegmentGroup/SegmentGroup.css +4 -4
- package/dist/esm/components/SegmentGroup/SegmentGroup.js +11 -6
- package/dist/esm/components/SegmentGroup/SegmentGroup.js.map +1 -1
- package/dist/esm/components/Select/Select.js +18 -5
- package/dist/esm/components/Select/Select.js.map +1 -1
- package/dist/esm/components/Textarea/Textarea.js +10 -4
- package/dist/esm/components/Textarea/Textarea.js.map +1 -1
- package/dist/esm/components/Toggle/Toggle.js +4 -4
- package/dist/esm/components/Toggle/Toggle.js.map +1 -1
- package/dist/esm/components/index.js +1 -0
- package/dist/esm/components/index.js.map +1 -1
- package/dist/styles/components/Button.css +29 -0
- package/dist/styles/components/Form.css +17 -0
- package/dist/styles/components/SegmentGroup.css +4 -4
- package/dist/styles/index.css +522 -433
- package/dist/styles/muka-dark.css +522 -433
- package/dist/styles/muka-light.css +522 -433
- package/dist/styles/tokens-bouwplan-dark.css +40 -0
- package/dist/styles/tokens-bouwplan-light.css +40 -0
- package/dist/styles/tokens-fscl-dark.css +40 -0
- package/dist/styles/tokens-fscl-light.css +40 -0
- package/dist/styles/tokens-grip-dark.css +40 -0
- package/dist/styles/tokens-grip-light.css +40 -0
- package/dist/styles/tokens-muka-dark.css +40 -0
- package/dist/styles/tokens-muka-light.css +40 -0
- package/dist/styles/tokens-wireframe-dark.css +82 -42
- package/dist/styles/tokens-wireframe-light.css +82 -42
- package/dist/styles/wireframe-dark.css +564 -475
- package/dist/styles/wireframe-light.css +564 -475
- package/dist/types/components/Button/Button.d.ts +2 -2
- package/dist/types/components/Button/Button.d.ts.map +1 -1
- package/dist/types/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/types/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/types/components/DatePicker/DatePicker.d.ts +5 -1
- package/dist/types/components/DatePicker/DatePicker.d.ts.map +1 -1
- package/dist/types/components/Form/Form.d.ts +34 -0
- package/dist/types/components/Form/Form.d.ts.map +1 -0
- package/dist/types/components/Form/index.d.ts +4 -0
- package/dist/types/components/Form/index.d.ts.map +1 -0
- package/dist/types/components/Form/useForm.d.ts +74 -0
- package/dist/types/components/Form/useForm.d.ts.map +1 -0
- package/dist/types/components/Input/Input.d.ts +5 -1
- package/dist/types/components/Input/Input.d.ts.map +1 -1
- package/dist/types/components/LicensePlateInput/LicensePlateInput.d.ts +5 -1
- package/dist/types/components/LicensePlateInput/LicensePlateInput.d.ts.map +1 -1
- package/dist/types/components/NumberInput/NumberInput.d.ts +5 -1
- package/dist/types/components/NumberInput/NumberInput.d.ts.map +1 -1
- package/dist/types/components/Radio/Radio.d.ts +1 -1
- package/dist/types/components/Radio/Radio.d.ts.map +1 -1
- package/dist/types/components/RangeSlider/RangeSlider.d.ts +1 -1
- package/dist/types/components/RangeSlider/RangeSlider.d.ts.map +1 -1
- package/dist/types/components/SegmentGroup/SegmentGroup.d.ts +4 -0
- package/dist/types/components/SegmentGroup/SegmentGroup.d.ts.map +1 -1
- package/dist/types/components/Select/Select.d.ts +7 -1
- package/dist/types/components/Select/Select.d.ts.map +1 -1
- package/dist/types/components/Textarea/Textarea.d.ts +5 -1
- package/dist/types/components/Textarea/Textarea.d.ts.map +1 -1
- package/dist/types/components/Toggle/Toggle.d.ts +1 -1
- package/dist/types/components/Toggle/Toggle.d.ts.map +1 -1
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/components/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/tokens/t2-alias/brand/wireframe/radius.json +34 -0
- package/tokens/t4-components/button.json +56 -0
- package/tokens/t4-components/segmentgroup.json +8 -0
|
@@ -1294,11 +1294,11 @@ body {
|
|
|
1294
1294
|
--alias-font-brand-weight-medium: 500;
|
|
1295
1295
|
--alias-font-brand-weight-semibold: 600;
|
|
1296
1296
|
--alias-font-brand-weight-bold: 700;
|
|
1297
|
-
--alias-radius-sm:
|
|
1298
|
-
--alias-radius-md:
|
|
1299
|
-
--alias-radius-lg:
|
|
1300
|
-
--alias-radius-xl:
|
|
1301
|
-
--alias-radius-2xl:
|
|
1297
|
+
--alias-radius-sm: 0px;
|
|
1298
|
+
--alias-radius-md: 0px;
|
|
1299
|
+
--alias-radius-lg: 0px;
|
|
1300
|
+
--alias-radius-xl: 0px;
|
|
1301
|
+
--alias-radius-2xl: 0px;
|
|
1302
1302
|
--alias-radius-full: 999rem;
|
|
1303
1303
|
--alias-motion-duration-none: 0ms;
|
|
1304
1304
|
--alias-motion-duration-instant: 100ms;
|
|
@@ -1320,11 +1320,11 @@ body {
|
|
|
1320
1320
|
--wrapper-gap-default: 1rem;
|
|
1321
1321
|
--wrapper-gap-compact: 0.75rem;
|
|
1322
1322
|
--wrapper-gap-spacious: 2rem;
|
|
1323
|
-
--border-radius-sm:
|
|
1324
|
-
--border-radius-md:
|
|
1325
|
-
--border-radius-lg:
|
|
1326
|
-
--border-radius-xl:
|
|
1327
|
-
--border-radius-2xl:
|
|
1323
|
+
--border-radius-sm: 0px;
|
|
1324
|
+
--border-radius-md: 0px;
|
|
1325
|
+
--border-radius-lg: 0px;
|
|
1326
|
+
--border-radius-xl: 0px;
|
|
1327
|
+
--border-radius-2xl: 0px;
|
|
1328
1328
|
--border-radius-full: 999rem;
|
|
1329
1329
|
--border-width-regular: 0.0625rem;
|
|
1330
1330
|
--border-width-bold: 0.125rem;
|
|
@@ -1560,6 +1560,18 @@ body {
|
|
|
1560
1560
|
--button-color-ghost-border-hover: #313131;
|
|
1561
1561
|
--button-color-ghost-border-pressed: #313131;
|
|
1562
1562
|
--button-color-ghost-border-disabled: transparent;
|
|
1563
|
+
--button-color-muted-background-default: transparent;
|
|
1564
|
+
--button-color-muted-background-hover: transparent;
|
|
1565
|
+
--button-color-muted-background-pressed: transparent;
|
|
1566
|
+
--button-color-muted-background-disabled: transparent;
|
|
1567
|
+
--button-color-muted-foreground-default: #7b7b7b;
|
|
1568
|
+
--button-color-muted-foreground-hover: #eeeeee;
|
|
1569
|
+
--button-color-muted-foreground-pressed: #eeeeee;
|
|
1570
|
+
--button-color-muted-foreground-disabled: #7b7b7b;
|
|
1571
|
+
--button-color-muted-border-default: transparent;
|
|
1572
|
+
--button-color-muted-border-hover: #313131;
|
|
1573
|
+
--button-color-muted-border-pressed: #313131;
|
|
1574
|
+
--button-color-muted-border-disabled: transparent;
|
|
1563
1575
|
--button-color-tertiary-background-default: #111111;
|
|
1564
1576
|
--button-color-tertiary-background-hover: #111111;
|
|
1565
1577
|
--button-color-tertiary-background-pressed: #2a2a2a;
|
|
@@ -1572,10 +1584,10 @@ body {
|
|
|
1572
1584
|
--button-color-tertiary-border-hover: #606060;
|
|
1573
1585
|
--button-color-tertiary-border-pressed: #606060;
|
|
1574
1586
|
--button-color-tertiary-border-disabled: #313131;
|
|
1575
|
-
--button-radius-sm:
|
|
1576
|
-
--button-radius-md:
|
|
1577
|
-
--button-radius-lg:
|
|
1578
|
-
--button-radius-xl:
|
|
1587
|
+
--button-radius-sm: 0px;
|
|
1588
|
+
--button-radius-md: 0px;
|
|
1589
|
+
--button-radius-lg: 0px;
|
|
1590
|
+
--button-radius-xl: 0px;
|
|
1579
1591
|
--button-padding-sm-x: 0.75rem;
|
|
1580
1592
|
--button-padding-md-x: 0.75rem;
|
|
1581
1593
|
--button-padding-lg-x: 1rem;
|
|
@@ -1600,9 +1612,9 @@ body {
|
|
|
1600
1612
|
--card-color-selected-background: #2a2a2a;
|
|
1601
1613
|
--card-color-selected-foreground: #eeeeee;
|
|
1602
1614
|
--card-color-selected-border: #b4b4b4;
|
|
1603
|
-
--card-radius-sm:
|
|
1604
|
-
--card-radius-md:
|
|
1605
|
-
--card-radius-lg:
|
|
1615
|
+
--card-radius-sm: 0px;
|
|
1616
|
+
--card-radius-md: 0px;
|
|
1617
|
+
--card-radius-lg: 0px;
|
|
1606
1618
|
--card-padding-sm: 0.75rem;
|
|
1607
1619
|
--card-padding-md: 1rem;
|
|
1608
1620
|
--card-padding-lg: 1.5rem;
|
|
@@ -1629,9 +1641,9 @@ body {
|
|
|
1629
1641
|
--input-field-color-disabled-background: #313131;
|
|
1630
1642
|
--input-field-color-disabled-foreground: #7b7b7b;
|
|
1631
1643
|
--input-field-color-disabled-border: #313131;
|
|
1632
|
-
--input-field-radius-sm:
|
|
1633
|
-
--input-field-radius-md:
|
|
1634
|
-
--input-field-radius-lg:
|
|
1644
|
+
--input-field-radius-sm: 0px;
|
|
1645
|
+
--input-field-radius-md: 0px;
|
|
1646
|
+
--input-field-radius-lg: 0px;
|
|
1635
1647
|
--input-field-padding-x: 0.75rem;
|
|
1636
1648
|
--input-field-padding-y: 0.5rem;
|
|
1637
1649
|
--input-field-border-default: 0.125rem solid #606060;
|
|
@@ -1713,7 +1725,7 @@ body {
|
|
|
1713
1725
|
--checkbox-size-sm: 1.25rem;
|
|
1714
1726
|
--checkbox-size-default: 1.5rem;
|
|
1715
1727
|
--checkbox-size-lg: 2rem;
|
|
1716
|
-
--checkbox-radius:
|
|
1728
|
+
--checkbox-radius: 0px;
|
|
1717
1729
|
--checkbox-icon-size-sm: 1rem;
|
|
1718
1730
|
--checkbox-icon-size-default: 1.25rem;
|
|
1719
1731
|
--checkbox-icon-size-lg: 1.5rem;
|
|
@@ -1750,7 +1762,7 @@ body {
|
|
|
1750
1762
|
--alert-padding-md-y: 0.75rem;
|
|
1751
1763
|
--alert-padding-lg-x: 1.25rem;
|
|
1752
1764
|
--alert-padding-lg-y: 1rem;
|
|
1753
|
-
--alert-radius:
|
|
1765
|
+
--alert-radius: 0px;
|
|
1754
1766
|
--alert-gap: 0.75rem;
|
|
1755
1767
|
--alert-icon-size: 1rem;
|
|
1756
1768
|
--alert-border-width: 0.0625rem;
|
|
@@ -1769,9 +1781,9 @@ body {
|
|
|
1769
1781
|
--select-field-color-disabled-background: #313131;
|
|
1770
1782
|
--select-field-color-disabled-foreground: #7b7b7b;
|
|
1771
1783
|
--select-field-color-disabled-border: #313131;
|
|
1772
|
-
--select-field-radius-sm:
|
|
1773
|
-
--select-field-radius-md:
|
|
1774
|
-
--select-field-radius-lg:
|
|
1784
|
+
--select-field-radius-sm: 0px;
|
|
1785
|
+
--select-field-radius-md: 0px;
|
|
1786
|
+
--select-field-radius-lg: 0px;
|
|
1775
1787
|
--select-field-padding-x: 0.75rem;
|
|
1776
1788
|
--select-field-padding-y: 0.5rem;
|
|
1777
1789
|
--select-field-height-sm: 2rem;
|
|
@@ -1780,8 +1792,8 @@ body {
|
|
|
1780
1792
|
--dialog-color-backdrop: rgba(0, 0, 0, 0.565);
|
|
1781
1793
|
--dialog-color-background: #111111;
|
|
1782
1794
|
--dialog-color-body-background: #111111;
|
|
1783
|
-
--dialog-border-radius:
|
|
1784
|
-
--dialog-border-radius-desktop:
|
|
1795
|
+
--dialog-border-radius: 0px;
|
|
1796
|
+
--dialog-border-radius-desktop: 0px;
|
|
1785
1797
|
--dialog-shadow-default: 0 48px 96px 0 rgba(0, 0, 0, 0.220), inset 0 0 1px 0 rgba(0, 0, 0, 0.220);
|
|
1786
1798
|
--dialog-width-sm: 35rem;
|
|
1787
1799
|
--dialog-width-md: 54.5rem;
|
|
@@ -1801,7 +1813,7 @@ body {
|
|
|
1801
1813
|
--dialog-padding-x: 1rem;
|
|
1802
1814
|
--menu-content-color-background: #111111;
|
|
1803
1815
|
--menu-content-color-border: #2a2a2a;
|
|
1804
|
-
--menu-content-border-radius:
|
|
1816
|
+
--menu-content-border-radius: 0px;
|
|
1805
1817
|
--menu-content-border-width: 0.0625rem;
|
|
1806
1818
|
--menu-content-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.090), 0 8px 16px 0 rgba(0, 0, 0, 0.090);
|
|
1807
1819
|
--menu-content-padding: 0.25rem;
|
|
@@ -1824,7 +1836,7 @@ body {
|
|
|
1824
1836
|
--menu-item-color-destructive-hover-background: #3d181e;
|
|
1825
1837
|
--menu-item-color-destructive-hover-foreground: #fea6a6;
|
|
1826
1838
|
--menu-item-color-destructive-hover-icon: #fea6a6;
|
|
1827
|
-
--menu-item-border-radius:
|
|
1839
|
+
--menu-item-border-radius: 0px;
|
|
1828
1840
|
--menu-item-padding-x: 0.75rem;
|
|
1829
1841
|
--menu-item-padding-y: 0.5rem;
|
|
1830
1842
|
--menu-item-gap: 0.5rem;
|
|
@@ -1858,7 +1870,7 @@ body {
|
|
|
1858
1870
|
--tabs-trigger-padding-x: 0.75rem;
|
|
1859
1871
|
--tabs-trigger-padding-y: 0.5rem;
|
|
1860
1872
|
--tabs-trigger-height: 3rem;
|
|
1861
|
-
--tabs-trigger-radius:
|
|
1873
|
+
--tabs-trigger-radius: 0px;
|
|
1862
1874
|
--tabs-panel-background: #111111;
|
|
1863
1875
|
--tabs-panel-border: #606060;
|
|
1864
1876
|
--separator-color-default: #313131;
|
|
@@ -1908,7 +1920,7 @@ body {
|
|
|
1908
1920
|
--avatar-color-status-busy: #e54d4e;
|
|
1909
1921
|
--avatar-color-status-away: #ffc53d;
|
|
1910
1922
|
--avatar-radius-circle: 999rem;
|
|
1911
|
-
--avatar-radius-square:
|
|
1923
|
+
--avatar-radius-square: 0px;
|
|
1912
1924
|
--avatar-font-size-xs: 0.75rem;
|
|
1913
1925
|
--avatar-font-size-sm: 0.875rem;
|
|
1914
1926
|
--avatar-font-size-md: 1.125rem;
|
|
@@ -1936,7 +1948,7 @@ body {
|
|
|
1936
1948
|
--toast-color-error-accent: #3d181e;
|
|
1937
1949
|
--toast-padding-x: 1rem;
|
|
1938
1950
|
--toast-padding-y: 0.75rem;
|
|
1939
|
-
--toast-radius:
|
|
1951
|
+
--toast-radius: 0px;
|
|
1940
1952
|
--toast-gap: 0.75rem;
|
|
1941
1953
|
--toast-icon-size: 1rem;
|
|
1942
1954
|
--toast-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.090), 0 8px 16px 0 rgba(0, 0, 0, 0.090);
|
|
@@ -1982,13 +1994,13 @@ body {
|
|
|
1982
1994
|
--controlbar-padding-bottom-lg: 1rem;
|
|
1983
1995
|
--controlbar-gap-sm: 0.5rem;
|
|
1984
1996
|
--controlbar-gap-lg: 1rem;
|
|
1985
|
-
--controlbar-content-radius-sm:
|
|
1986
|
-
--controlbar-content-radius-lg:
|
|
1997
|
+
--controlbar-content-radius-sm: 0px;
|
|
1998
|
+
--controlbar-content-radius-lg: 0px;
|
|
1987
1999
|
--bottombar-color-background: #111111;
|
|
1988
2000
|
--bottombar-color-border: #313131;
|
|
1989
2001
|
--bottombar-color-tab-active: #eeeeee;
|
|
1990
2002
|
--bottombar-color-tab-inactive: #7b7b7b;
|
|
1991
|
-
--bottombar-floating-radius:
|
|
2003
|
+
--bottombar-floating-radius: 0px;
|
|
1992
2004
|
--bottombar-floating-padding: 0.75rem;
|
|
1993
2005
|
--bottombar-floating-margin-x: 0.75rem;
|
|
1994
2006
|
--bottombar-floating-margin-bottom: 0.75rem;
|
|
@@ -2063,6 +2075,8 @@ body {
|
|
|
2063
2075
|
--segmentgroup-container-radius: 999rem;
|
|
2064
2076
|
--segmentgroup-container-padding: 0.25rem;
|
|
2065
2077
|
--segmentgroup-container-shadow: inset 0px 0px 1px 0px rgba(0, 0, 0, 0.090), inset 0px 2px 4px 0px rgba(0, 0, 0, 0.090);
|
|
2078
|
+
--segmentgroup-segment-fontWeight: 400;
|
|
2079
|
+
--segmentgroup-segment-gap: 0.25rem;
|
|
2066
2080
|
--segmentgroup-segment-color-selected-background: #111111;
|
|
2067
2081
|
--segmentgroup-segment-color-selected-foreground: #eeeeee;
|
|
2068
2082
|
--segmentgroup-segment-color-unselected-background: transparent;
|
|
@@ -2070,7 +2084,7 @@ body {
|
|
|
2070
2084
|
--segmentgroup-segment-color-hover-foreground: #eeeeee;
|
|
2071
2085
|
--segmentgroup-segment-shadow-selected: 0px 0px 1px 0px rgba(0, 0, 0, 0.090), 0px 2px 4px 0px rgba(0, 0, 0, 0.090);
|
|
2072
2086
|
--segmentgroup-segment-shadow-unselected: none;
|
|
2073
|
-
--segmentgroup-segment-radius:
|
|
2087
|
+
--segmentgroup-segment-radius: 0px;
|
|
2074
2088
|
--segmentgroup-segment-padding-sm-x: 1rem;
|
|
2075
2089
|
--segmentgroup-segment-padding-sm-y: 0;
|
|
2076
2090
|
--segmentgroup-segment-padding-md-x: 1.25rem;
|
|
@@ -2092,7 +2106,7 @@ body {
|
|
|
2092
2106
|
--emptystate-actions-gap: 0.75rem;
|
|
2093
2107
|
--emptystate-actions-marginTop: 1rem;
|
|
2094
2108
|
--documentviewer-container-background: #111111;
|
|
2095
|
-
--documentviewer-container-borderRadius:
|
|
2109
|
+
--documentviewer-container-borderRadius: 0px;
|
|
2096
2110
|
--documentviewer-toolbar-height: 3rem;
|
|
2097
2111
|
--documentviewer-toolbar-padding-x: 1rem;
|
|
2098
2112
|
--documentviewer-toolbar-padding-y: 0.5rem;
|
|
@@ -2105,7 +2119,7 @@ body {
|
|
|
2105
2119
|
--documentviewer-thumbnails-background: #313131;
|
|
2106
2120
|
--documentviewer-thumbnails-border: #313131;
|
|
2107
2121
|
--documentviewer-thumbnails-item-padding: 0.5rem;
|
|
2108
|
-
--documentviewer-thumbnails-item-borderRadius:
|
|
2122
|
+
--documentviewer-thumbnails-item-borderRadius: 0px;
|
|
2109
2123
|
--documentviewer-thumbnails-item-gap: 0.25rem;
|
|
2110
2124
|
--documentviewer-thumbnails-item-background-default: transparent;
|
|
2111
2125
|
--documentviewer-thumbnails-item-background-hover: #2a2a2a;
|
|
@@ -2115,7 +2129,7 @@ body {
|
|
|
2115
2129
|
--documentviewer-page-background: #ffffff;
|
|
2116
2130
|
--documentviewer-page-foreground: #000000;
|
|
2117
2131
|
--documentviewer-page-shadow: 0 0 1px 0 rgba(0, 0, 0, 0.090), 0 2px 4px 0 rgba(0, 0, 0, 0.090);
|
|
2118
|
-
--documentviewer-page-borderRadius:
|
|
2132
|
+
--documentviewer-page-borderRadius: 0px;
|
|
2119
2133
|
--documentviewer-zoom-button-width: 2rem;
|
|
2120
2134
|
--documentviewer-loading-overlay-background: rgba(0, 0, 0, 0.565);
|
|
2121
2135
|
--documentviewer-error-background: #313131;
|
|
@@ -2135,7 +2149,7 @@ body {
|
|
|
2135
2149
|
--fileupload-dropzone-padding-sm: 1rem;
|
|
2136
2150
|
--fileupload-dropzone-padding-md: 1.5rem;
|
|
2137
2151
|
--fileupload-dropzone-padding-lg: 2rem;
|
|
2138
|
-
--fileupload-dropzone-radius:
|
|
2152
|
+
--fileupload-dropzone-radius: 0px;
|
|
2139
2153
|
--fileupload-dropzone-border-width: 0.125rem;
|
|
2140
2154
|
--fileupload-dropzone-border-style: dashed;
|
|
2141
2155
|
--fileupload-dropzone-gap: 0.75rem;
|
|
@@ -2147,10 +2161,10 @@ body {
|
|
|
2147
2161
|
--fileupload-item-color-success-foreground: #30a46c;
|
|
2148
2162
|
--fileupload-item-padding-x: 0.75rem;
|
|
2149
2163
|
--fileupload-item-padding-y: 0.75rem;
|
|
2150
|
-
--fileupload-item-radius:
|
|
2164
|
+
--fileupload-item-radius: 0px;
|
|
2151
2165
|
--fileupload-item-gap: 0.75rem;
|
|
2152
2166
|
--fileupload-preview-size: 2.5rem;
|
|
2153
|
-
--fileupload-preview-radius:
|
|
2167
|
+
--fileupload-preview-radius: 0px;
|
|
2154
2168
|
--piechart-color-categorical-1: #0091ff;
|
|
2155
2169
|
--piechart-color-categorical-2: #f76808;
|
|
2156
2170
|
--piechart-color-categorical-3: #30a46c;
|
|
@@ -2194,6 +2208,20 @@ body {
|
|
|
2194
2208
|
}
|
|
2195
2209
|
}
|
|
2196
2210
|
|
|
2211
|
+
/* Responsive overrides: xl (min-width: 1280px) */
|
|
2212
|
+
@media (min-width: 1280px) {
|
|
2213
|
+
:root {
|
|
2214
|
+
--section-padding-vertical-default: 3rem;
|
|
2215
|
+
--section-padding-vertical-compact: 2.5rem;
|
|
2216
|
+
--section-padding-vertical-spacious: 4rem;
|
|
2217
|
+
--section-padding-horizontal-default: 2.5rem;
|
|
2218
|
+
--section-padding-horizontal-compact: 1.5rem;
|
|
2219
|
+
--section-padding-horizontal-spacious: 3rem;
|
|
2220
|
+
--container-gap-default: 2rem;
|
|
2221
|
+
--container-gap-spacious: 3rem;
|
|
2222
|
+
}
|
|
2223
|
+
}
|
|
2224
|
+
|
|
2197
2225
|
/* Layout mode: tablet (forced via data-layout attribute) */
|
|
2198
2226
|
[data-layout="tablet"] {
|
|
2199
2227
|
--section-padding-vertical-default: 2.5rem;
|
|
@@ -2219,6 +2247,18 @@ body {
|
|
|
2219
2247
|
--container-gap-spacious: 3rem;
|
|
2220
2248
|
}
|
|
2221
2249
|
|
|
2250
|
+
/* Layout mode: widescreen (forced via data-layout attribute) */
|
|
2251
|
+
[data-layout="widescreen"] {
|
|
2252
|
+
--section-padding-vertical-default: 3rem;
|
|
2253
|
+
--section-padding-vertical-compact: 2.5rem;
|
|
2254
|
+
--section-padding-vertical-spacious: 4rem;
|
|
2255
|
+
--section-padding-horizontal-default: 2.5rem;
|
|
2256
|
+
--section-padding-horizontal-compact: 1.5rem;
|
|
2257
|
+
--section-padding-horizontal-spacious: 3rem;
|
|
2258
|
+
--container-gap-default: 2rem;
|
|
2259
|
+
--container-gap-spacious: 3rem;
|
|
2260
|
+
}
|
|
2261
|
+
|
|
2222
2262
|
/* Accessibility: disable motion for users who prefer reduced motion */
|
|
2223
2263
|
@media (prefers-reduced-motion: reduce) {
|
|
2224
2264
|
:root {
|
|
@@ -2761,6 +2801,196 @@ body {
|
|
|
2761
2801
|
}
|
|
2762
2802
|
|
|
2763
2803
|
|
|
2804
|
+
/* Toast */
|
|
2805
|
+
/* Toast Component Styles - Using Muka Design Tokens */
|
|
2806
|
+
|
|
2807
|
+
.muka-toast {
|
|
2808
|
+
display: flex;
|
|
2809
|
+
align-items: flex-start;
|
|
2810
|
+
gap: var(--toast-gap);
|
|
2811
|
+
padding: var(--toast-padding-y) var(--toast-padding-x);
|
|
2812
|
+
border-radius: var(--toast-radius);
|
|
2813
|
+
box-shadow: var(--toast-shadow);
|
|
2814
|
+
min-width: var(--toast-width-min);
|
|
2815
|
+
max-width: var(--toast-width-max);
|
|
2816
|
+
pointer-events: auto;
|
|
2817
|
+
animation: muka-toast-slide-in 0.2s ease-out;
|
|
2818
|
+
}
|
|
2819
|
+
|
|
2820
|
+
/* Entry animation */
|
|
2821
|
+
@keyframes muka-toast-slide-in {
|
|
2822
|
+
from {
|
|
2823
|
+
opacity: 0;
|
|
2824
|
+
transform: translateY(8px);
|
|
2825
|
+
}
|
|
2826
|
+
to {
|
|
2827
|
+
opacity: 1;
|
|
2828
|
+
transform: translateY(0);
|
|
2829
|
+
}
|
|
2830
|
+
}
|
|
2831
|
+
|
|
2832
|
+
/* Position variants (for standalone use - typically managed by ToastProvider) */
|
|
2833
|
+
.muka-toast--top-right,
|
|
2834
|
+
.muka-toast--top-left,
|
|
2835
|
+
.muka-toast--top-center,
|
|
2836
|
+
.muka-toast--bottom-right,
|
|
2837
|
+
.muka-toast--bottom-left,
|
|
2838
|
+
.muka-toast--bottom-center {
|
|
2839
|
+
position: fixed;
|
|
2840
|
+
z-index: 9999;
|
|
2841
|
+
}
|
|
2842
|
+
|
|
2843
|
+
.muka-toast--top-right {
|
|
2844
|
+
top: var(--spacing-4);
|
|
2845
|
+
right: var(--spacing-4);
|
|
2846
|
+
}
|
|
2847
|
+
|
|
2848
|
+
.muka-toast--top-left {
|
|
2849
|
+
top: var(--spacing-4);
|
|
2850
|
+
left: var(--spacing-4);
|
|
2851
|
+
}
|
|
2852
|
+
|
|
2853
|
+
.muka-toast--top-center {
|
|
2854
|
+
top: var(--spacing-4);
|
|
2855
|
+
left: 50%;
|
|
2856
|
+
transform: translateX(-50%);
|
|
2857
|
+
}
|
|
2858
|
+
|
|
2859
|
+
.muka-toast--bottom-right {
|
|
2860
|
+
bottom: var(--spacing-4);
|
|
2861
|
+
right: var(--spacing-4);
|
|
2862
|
+
}
|
|
2863
|
+
|
|
2864
|
+
.muka-toast--bottom-left {
|
|
2865
|
+
bottom: var(--spacing-4);
|
|
2866
|
+
left: var(--spacing-4);
|
|
2867
|
+
}
|
|
2868
|
+
|
|
2869
|
+
.muka-toast--bottom-center {
|
|
2870
|
+
bottom: var(--spacing-4);
|
|
2871
|
+
left: 50%;
|
|
2872
|
+
transform: translateX(-50%);
|
|
2873
|
+
}
|
|
2874
|
+
|
|
2875
|
+
/* Variant: Info */
|
|
2876
|
+
.muka-toast--info {
|
|
2877
|
+
background-color: var(--toast-color-info-background);
|
|
2878
|
+
color: var(--toast-color-info-foreground);
|
|
2879
|
+
}
|
|
2880
|
+
|
|
2881
|
+
.muka-toast--info .muka-toast__icon {
|
|
2882
|
+
color: var(--toast-color-info-accent);
|
|
2883
|
+
}
|
|
2884
|
+
|
|
2885
|
+
/* Variant: Success */
|
|
2886
|
+
.muka-toast--success {
|
|
2887
|
+
background-color: var(--toast-color-success-background);
|
|
2888
|
+
color: var(--toast-color-success-foreground);
|
|
2889
|
+
}
|
|
2890
|
+
|
|
2891
|
+
.muka-toast--success .muka-toast__icon {
|
|
2892
|
+
color: var(--toast-color-success-accent);
|
|
2893
|
+
}
|
|
2894
|
+
|
|
2895
|
+
/* Variant: Warning */
|
|
2896
|
+
.muka-toast--warning {
|
|
2897
|
+
background-color: var(--toast-color-warning-background);
|
|
2898
|
+
color: var(--toast-color-warning-foreground);
|
|
2899
|
+
}
|
|
2900
|
+
|
|
2901
|
+
.muka-toast--warning .muka-toast__icon {
|
|
2902
|
+
color: var(--toast-color-warning-accent);
|
|
2903
|
+
}
|
|
2904
|
+
|
|
2905
|
+
/* Variant: Error */
|
|
2906
|
+
.muka-toast--error {
|
|
2907
|
+
background-color: var(--toast-color-error-background);
|
|
2908
|
+
color: var(--toast-color-error-foreground);
|
|
2909
|
+
}
|
|
2910
|
+
|
|
2911
|
+
.muka-toast--error .muka-toast__icon {
|
|
2912
|
+
color: var(--toast-color-error-accent);
|
|
2913
|
+
}
|
|
2914
|
+
|
|
2915
|
+
/* Icon */
|
|
2916
|
+
.muka-toast__icon {
|
|
2917
|
+
display: flex;
|
|
2918
|
+
align-items: center;
|
|
2919
|
+
justify-content: center;
|
|
2920
|
+
flex-shrink: 0;
|
|
2921
|
+
width: var(--toast-icon-size);
|
|
2922
|
+
height: var(--toast-icon-size);
|
|
2923
|
+
}
|
|
2924
|
+
|
|
2925
|
+
.muka-toast__icon svg {
|
|
2926
|
+
width: 100%;
|
|
2927
|
+
height: 100%;
|
|
2928
|
+
}
|
|
2929
|
+
|
|
2930
|
+
/* Content */
|
|
2931
|
+
.muka-toast__content {
|
|
2932
|
+
flex: 1;
|
|
2933
|
+
min-width: 0;
|
|
2934
|
+
}
|
|
2935
|
+
|
|
2936
|
+
.muka-toast__title {
|
|
2937
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
2938
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
2939
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
2940
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
2941
|
+
margin-bottom: var(--spacing-1);
|
|
2942
|
+
}
|
|
2943
|
+
|
|
2944
|
+
.muka-toast__message {
|
|
2945
|
+
font-family: var(--text-body-sm-regular-fontFamily);
|
|
2946
|
+
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
2947
|
+
font-size: var(--text-body-sm-regular-fontSize);
|
|
2948
|
+
line-height: var(--text-body-sm-regular-lineHeight);
|
|
2949
|
+
}
|
|
2950
|
+
|
|
2951
|
+
/* Action slot */
|
|
2952
|
+
.muka-toast__action {
|
|
2953
|
+
display: flex;
|
|
2954
|
+
align-items: center;
|
|
2955
|
+
flex-shrink: 0;
|
|
2956
|
+
}
|
|
2957
|
+
|
|
2958
|
+
/* Dismiss button */
|
|
2959
|
+
.muka-toast__dismiss {
|
|
2960
|
+
display: flex;
|
|
2961
|
+
align-items: center;
|
|
2962
|
+
justify-content: center;
|
|
2963
|
+
flex-shrink: 0;
|
|
2964
|
+
width: 24px;
|
|
2965
|
+
height: 24px;
|
|
2966
|
+
padding: 0;
|
|
2967
|
+
margin: -2px -4px -2px 0;
|
|
2968
|
+
border: none;
|
|
2969
|
+
background: transparent;
|
|
2970
|
+
color: inherit;
|
|
2971
|
+
opacity: 0.7;
|
|
2972
|
+
cursor: pointer;
|
|
2973
|
+
border-radius: var(--border-radius-sm);
|
|
2974
|
+
transition: opacity 0.15s ease, background-color 0.15s ease;
|
|
2975
|
+
}
|
|
2976
|
+
|
|
2977
|
+
.muka-toast__dismiss:hover {
|
|
2978
|
+
opacity: 1;
|
|
2979
|
+
background-color: rgba(0, 0, 0, 0.05);
|
|
2980
|
+
}
|
|
2981
|
+
|
|
2982
|
+
.muka-toast__dismiss:focus-visible {
|
|
2983
|
+
outline: 2px solid var(--color-border-focus);
|
|
2984
|
+
outline-offset: 2px;
|
|
2985
|
+
opacity: 1;
|
|
2986
|
+
}
|
|
2987
|
+
|
|
2988
|
+
.muka-toast__dismiss svg {
|
|
2989
|
+
width: 16px;
|
|
2990
|
+
height: 16px;
|
|
2991
|
+
}
|
|
2992
|
+
|
|
2993
|
+
|
|
2764
2994
|
/* Tile */
|
|
2765
2995
|
/* Tile Component Styles - Using Muka Design Tokens */
|
|
2766
2996
|
|
|
@@ -3081,234 +3311,44 @@ body {
|
|
|
3081
3311
|
line-height: var(--text-subheading-sm-lineHeight);
|
|
3082
3312
|
}
|
|
3083
3313
|
|
|
3084
|
-
/* ─── Description typography ──────────────────────────── */
|
|
3085
|
-
|
|
3086
|
-
.muka-tile__description {
|
|
3087
|
-
margin: 0;
|
|
3088
|
-
color: var(--color-text-default-default);
|
|
3089
|
-
}
|
|
3090
|
-
|
|
3091
|
-
.muka-tile--lg .muka-tile__description {
|
|
3092
|
-
font-family: var(--text-body-lg-regular-fontFamily);
|
|
3093
|
-
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
3094
|
-
font-size: var(--text-body-lg-regular-fontSize);
|
|
3095
|
-
line-height: var(--text-body-lg-regular-lineHeight);
|
|
3096
|
-
}
|
|
3097
|
-
|
|
3098
|
-
.muka-tile--md .muka-tile__description,
|
|
3099
|
-
.muka-tile--sm .muka-tile__description {
|
|
3100
|
-
font-family: var(--text-body-base-regular-fontFamily);
|
|
3101
|
-
font-weight: var(--text-body-base-regular-fontWeight);
|
|
3102
|
-
font-size: var(--text-body-base-regular-fontSize);
|
|
3103
|
-
line-height: var(--text-body-base-regular-lineHeight);
|
|
3104
|
-
}
|
|
3105
|
-
|
|
3106
|
-
/* Description overflow for medium */
|
|
3107
|
-
.muka-tile--md .muka-tile__description {
|
|
3108
|
-
overflow: hidden;
|
|
3109
|
-
text-overflow: ellipsis;
|
|
3110
|
-
}
|
|
3111
|
-
|
|
3112
|
-
/* ─── Price slot ──────────────────────────────────────── */
|
|
3113
|
-
|
|
3114
|
-
.muka-tile__price {
|
|
3115
|
-
flex-shrink: 0;
|
|
3116
|
-
}
|
|
3117
|
-
|
|
3118
|
-
/* ─── Action slot ─────────────────────────────────────── */
|
|
3119
|
-
|
|
3120
|
-
.muka-tile__action {
|
|
3121
|
-
flex-shrink: 0;
|
|
3122
|
-
}
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
/* Toast */
|
|
3126
|
-
/* Toast Component Styles - Using Muka Design Tokens */
|
|
3127
|
-
|
|
3128
|
-
.muka-toast {
|
|
3129
|
-
display: flex;
|
|
3130
|
-
align-items: flex-start;
|
|
3131
|
-
gap: var(--toast-gap);
|
|
3132
|
-
padding: var(--toast-padding-y) var(--toast-padding-x);
|
|
3133
|
-
border-radius: var(--toast-radius);
|
|
3134
|
-
box-shadow: var(--toast-shadow);
|
|
3135
|
-
min-width: var(--toast-width-min);
|
|
3136
|
-
max-width: var(--toast-width-max);
|
|
3137
|
-
pointer-events: auto;
|
|
3138
|
-
animation: muka-toast-slide-in 0.2s ease-out;
|
|
3139
|
-
}
|
|
3140
|
-
|
|
3141
|
-
/* Entry animation */
|
|
3142
|
-
@keyframes muka-toast-slide-in {
|
|
3143
|
-
from {
|
|
3144
|
-
opacity: 0;
|
|
3145
|
-
transform: translateY(8px);
|
|
3146
|
-
}
|
|
3147
|
-
to {
|
|
3148
|
-
opacity: 1;
|
|
3149
|
-
transform: translateY(0);
|
|
3150
|
-
}
|
|
3151
|
-
}
|
|
3152
|
-
|
|
3153
|
-
/* Position variants (for standalone use - typically managed by ToastProvider) */
|
|
3154
|
-
.muka-toast--top-right,
|
|
3155
|
-
.muka-toast--top-left,
|
|
3156
|
-
.muka-toast--top-center,
|
|
3157
|
-
.muka-toast--bottom-right,
|
|
3158
|
-
.muka-toast--bottom-left,
|
|
3159
|
-
.muka-toast--bottom-center {
|
|
3160
|
-
position: fixed;
|
|
3161
|
-
z-index: 9999;
|
|
3162
|
-
}
|
|
3163
|
-
|
|
3164
|
-
.muka-toast--top-right {
|
|
3165
|
-
top: var(--spacing-4);
|
|
3166
|
-
right: var(--spacing-4);
|
|
3167
|
-
}
|
|
3168
|
-
|
|
3169
|
-
.muka-toast--top-left {
|
|
3170
|
-
top: var(--spacing-4);
|
|
3171
|
-
left: var(--spacing-4);
|
|
3172
|
-
}
|
|
3173
|
-
|
|
3174
|
-
.muka-toast--top-center {
|
|
3175
|
-
top: var(--spacing-4);
|
|
3176
|
-
left: 50%;
|
|
3177
|
-
transform: translateX(-50%);
|
|
3178
|
-
}
|
|
3179
|
-
|
|
3180
|
-
.muka-toast--bottom-right {
|
|
3181
|
-
bottom: var(--spacing-4);
|
|
3182
|
-
right: var(--spacing-4);
|
|
3183
|
-
}
|
|
3184
|
-
|
|
3185
|
-
.muka-toast--bottom-left {
|
|
3186
|
-
bottom: var(--spacing-4);
|
|
3187
|
-
left: var(--spacing-4);
|
|
3188
|
-
}
|
|
3189
|
-
|
|
3190
|
-
.muka-toast--bottom-center {
|
|
3191
|
-
bottom: var(--spacing-4);
|
|
3192
|
-
left: 50%;
|
|
3193
|
-
transform: translateX(-50%);
|
|
3194
|
-
}
|
|
3195
|
-
|
|
3196
|
-
/* Variant: Info */
|
|
3197
|
-
.muka-toast--info {
|
|
3198
|
-
background-color: var(--toast-color-info-background);
|
|
3199
|
-
color: var(--toast-color-info-foreground);
|
|
3200
|
-
}
|
|
3201
|
-
|
|
3202
|
-
.muka-toast--info .muka-toast__icon {
|
|
3203
|
-
color: var(--toast-color-info-accent);
|
|
3204
|
-
}
|
|
3205
|
-
|
|
3206
|
-
/* Variant: Success */
|
|
3207
|
-
.muka-toast--success {
|
|
3208
|
-
background-color: var(--toast-color-success-background);
|
|
3209
|
-
color: var(--toast-color-success-foreground);
|
|
3210
|
-
}
|
|
3211
|
-
|
|
3212
|
-
.muka-toast--success .muka-toast__icon {
|
|
3213
|
-
color: var(--toast-color-success-accent);
|
|
3214
|
-
}
|
|
3215
|
-
|
|
3216
|
-
/* Variant: Warning */
|
|
3217
|
-
.muka-toast--warning {
|
|
3218
|
-
background-color: var(--toast-color-warning-background);
|
|
3219
|
-
color: var(--toast-color-warning-foreground);
|
|
3220
|
-
}
|
|
3221
|
-
|
|
3222
|
-
.muka-toast--warning .muka-toast__icon {
|
|
3223
|
-
color: var(--toast-color-warning-accent);
|
|
3224
|
-
}
|
|
3225
|
-
|
|
3226
|
-
/* Variant: Error */
|
|
3227
|
-
.muka-toast--error {
|
|
3228
|
-
background-color: var(--toast-color-error-background);
|
|
3229
|
-
color: var(--toast-color-error-foreground);
|
|
3230
|
-
}
|
|
3231
|
-
|
|
3232
|
-
.muka-toast--error .muka-toast__icon {
|
|
3233
|
-
color: var(--toast-color-error-accent);
|
|
3234
|
-
}
|
|
3235
|
-
|
|
3236
|
-
/* Icon */
|
|
3237
|
-
.muka-toast__icon {
|
|
3238
|
-
display: flex;
|
|
3239
|
-
align-items: center;
|
|
3240
|
-
justify-content: center;
|
|
3241
|
-
flex-shrink: 0;
|
|
3242
|
-
width: var(--toast-icon-size);
|
|
3243
|
-
height: var(--toast-icon-size);
|
|
3244
|
-
}
|
|
3245
|
-
|
|
3246
|
-
.muka-toast__icon svg {
|
|
3247
|
-
width: 100%;
|
|
3248
|
-
height: 100%;
|
|
3249
|
-
}
|
|
3250
|
-
|
|
3251
|
-
/* Content */
|
|
3252
|
-
.muka-toast__content {
|
|
3253
|
-
flex: 1;
|
|
3254
|
-
min-width: 0;
|
|
3255
|
-
}
|
|
3256
|
-
|
|
3257
|
-
.muka-toast__title {
|
|
3258
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
3259
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
3260
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
3261
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
3262
|
-
margin-bottom: var(--spacing-1);
|
|
3263
|
-
}
|
|
3264
|
-
|
|
3265
|
-
.muka-toast__message {
|
|
3266
|
-
font-family: var(--text-body-sm-regular-fontFamily);
|
|
3267
|
-
font-weight: var(--text-body-sm-regular-fontWeight);
|
|
3268
|
-
font-size: var(--text-body-sm-regular-fontSize);
|
|
3269
|
-
line-height: var(--text-body-sm-regular-lineHeight);
|
|
3314
|
+
/* ─── Description typography ──────────────────────────── */
|
|
3315
|
+
|
|
3316
|
+
.muka-tile__description {
|
|
3317
|
+
margin: 0;
|
|
3318
|
+
color: var(--color-text-default-default);
|
|
3270
3319
|
}
|
|
3271
3320
|
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3321
|
+
.muka-tile--lg .muka-tile__description {
|
|
3322
|
+
font-family: var(--text-body-lg-regular-fontFamily);
|
|
3323
|
+
font-weight: var(--text-body-lg-regular-fontWeight);
|
|
3324
|
+
font-size: var(--text-body-lg-regular-fontSize);
|
|
3325
|
+
line-height: var(--text-body-lg-regular-lineHeight);
|
|
3277
3326
|
}
|
|
3278
3327
|
|
|
3279
|
-
|
|
3280
|
-
.muka-
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
width: 24px;
|
|
3286
|
-
height: 24px;
|
|
3287
|
-
padding: 0;
|
|
3288
|
-
margin: -2px -4px -2px 0;
|
|
3289
|
-
border: none;
|
|
3290
|
-
background: transparent;
|
|
3291
|
-
color: inherit;
|
|
3292
|
-
opacity: 0.7;
|
|
3293
|
-
cursor: pointer;
|
|
3294
|
-
border-radius: var(--border-radius-sm);
|
|
3295
|
-
transition: opacity 0.15s ease, background-color 0.15s ease;
|
|
3328
|
+
.muka-tile--md .muka-tile__description,
|
|
3329
|
+
.muka-tile--sm .muka-tile__description {
|
|
3330
|
+
font-family: var(--text-body-base-regular-fontFamily);
|
|
3331
|
+
font-weight: var(--text-body-base-regular-fontWeight);
|
|
3332
|
+
font-size: var(--text-body-base-regular-fontSize);
|
|
3333
|
+
line-height: var(--text-body-base-regular-lineHeight);
|
|
3296
3334
|
}
|
|
3297
3335
|
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
|
|
3336
|
+
/* Description overflow for medium */
|
|
3337
|
+
.muka-tile--md .muka-tile__description {
|
|
3338
|
+
overflow: hidden;
|
|
3339
|
+
text-overflow: ellipsis;
|
|
3301
3340
|
}
|
|
3302
3341
|
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
|
|
3342
|
+
/* ─── Price slot ──────────────────────────────────────── */
|
|
3343
|
+
|
|
3344
|
+
.muka-tile__price {
|
|
3345
|
+
flex-shrink: 0;
|
|
3307
3346
|
}
|
|
3308
3347
|
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3348
|
+
/* ─── Action slot ─────────────────────────────────────── */
|
|
3349
|
+
|
|
3350
|
+
.muka-tile__action {
|
|
3351
|
+
flex-shrink: 0;
|
|
3312
3352
|
}
|
|
3313
3353
|
|
|
3314
3354
|
|
|
@@ -4764,26 +4804,220 @@ body {
|
|
|
4764
4804
|
|
|
4765
4805
|
/* ─── Body (scrollable) ───────────────────────────────── */
|
|
4766
4806
|
|
|
4767
|
-
.muka-sheet__body {
|
|
4768
|
-
flex: 1 1 0%;
|
|
4769
|
-
min-height: 0;
|
|
4770
|
-
overflow-y: auto;
|
|
4771
|
-
-webkit-overflow-scrolling: touch;
|
|
4772
|
-
overscroll-behavior: contain;
|
|
4807
|
+
.muka-sheet__body {
|
|
4808
|
+
flex: 1 1 0%;
|
|
4809
|
+
min-height: 0;
|
|
4810
|
+
overflow-y: auto;
|
|
4811
|
+
-webkit-overflow-scrolling: touch;
|
|
4812
|
+
overscroll-behavior: contain;
|
|
4813
|
+
}
|
|
4814
|
+
|
|
4815
|
+
/* ─── Visually-hidden title (a11y) ────────────────────── */
|
|
4816
|
+
|
|
4817
|
+
.muka-sheet__sr-title {
|
|
4818
|
+
position: absolute;
|
|
4819
|
+
width: 1px;
|
|
4820
|
+
height: 1px;
|
|
4821
|
+
padding: 0;
|
|
4822
|
+
margin: -1px;
|
|
4823
|
+
overflow: hidden;
|
|
4824
|
+
clip: rect(0, 0, 0, 0);
|
|
4825
|
+
white-space: nowrap;
|
|
4826
|
+
border: 0;
|
|
4827
|
+
}
|
|
4828
|
+
|
|
4829
|
+
|
|
4830
|
+
/* Select */
|
|
4831
|
+
/* Select Component Styles - Aligned with Input for consistency */
|
|
4832
|
+
|
|
4833
|
+
.muka-select {
|
|
4834
|
+
display: inline-flex;
|
|
4835
|
+
flex-direction: column;
|
|
4836
|
+
gap: var(--spacing-2);
|
|
4837
|
+
}
|
|
4838
|
+
|
|
4839
|
+
.muka-select--full-width {
|
|
4840
|
+
width: 100%;
|
|
4841
|
+
}
|
|
4842
|
+
|
|
4843
|
+
/* Label */
|
|
4844
|
+
.muka-select__label {
|
|
4845
|
+
color: var(--color-text-default-default);
|
|
4846
|
+
cursor: pointer;
|
|
4847
|
+
}
|
|
4848
|
+
|
|
4849
|
+
.muka-select__label--sm {
|
|
4850
|
+
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
4851
|
+
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
4852
|
+
font-size: var(--text-label-sm-semibold-fontSize);
|
|
4853
|
+
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
4854
|
+
}
|
|
4855
|
+
|
|
4856
|
+
.muka-select__label--md {
|
|
4857
|
+
font-family: var(--text-label-md-semibold-fontFamily);
|
|
4858
|
+
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
4859
|
+
font-size: var(--text-label-md-semibold-fontSize);
|
|
4860
|
+
line-height: var(--text-label-md-semibold-lineHeight);
|
|
4861
|
+
}
|
|
4862
|
+
|
|
4863
|
+
.muka-select__label--lg {
|
|
4864
|
+
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
4865
|
+
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
4866
|
+
font-size: var(--text-label-lg-semibold-fontSize);
|
|
4867
|
+
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
4868
|
+
}
|
|
4869
|
+
|
|
4870
|
+
.muka-select__required {
|
|
4871
|
+
color: var(--color-state-error-foreground);
|
|
4872
|
+
}
|
|
4873
|
+
|
|
4874
|
+
.muka-select__label--sm + .muka-select__field--disabled,
|
|
4875
|
+
.muka-select__label--md + .muka-select__field--disabled,
|
|
4876
|
+
.muka-select__label--lg + .muka-select__field--disabled {
|
|
4877
|
+
cursor: not-allowed;
|
|
4878
|
+
}
|
|
4879
|
+
|
|
4880
|
+
/* Field container — same as Input: 1px border, radius, padding, inset shadow */
|
|
4881
|
+
.muka-select__field {
|
|
4882
|
+
display: flex;
|
|
4883
|
+
align-items: center;
|
|
4884
|
+
gap: var(--spacing-2);
|
|
4885
|
+
position: relative;
|
|
4886
|
+
background-color: var(--input-field-color-default-background);
|
|
4887
|
+
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
4888
|
+
border-radius: var(--input-field-radius-md);
|
|
4889
|
+
padding: var(--input-field-padding-y) var(--input-field-padding-x);
|
|
4890
|
+
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
4891
|
+
cursor: pointer;
|
|
4892
|
+
box-sizing: border-box;
|
|
4893
|
+
}
|
|
4894
|
+
|
|
4895
|
+
/* Inset shadow — same as Input (single subtle line) */
|
|
4896
|
+
.muka-select__field::after {
|
|
4897
|
+
content: '';
|
|
4898
|
+
position: absolute;
|
|
4899
|
+
inset: 0;
|
|
4900
|
+
border-radius: inherit;
|
|
4901
|
+
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
|
|
4902
|
+
pointer-events: none;
|
|
4903
|
+
}
|
|
4904
|
+
|
|
4905
|
+
/* Size variants — same radius/height as Input */
|
|
4906
|
+
.muka-select__field--sm {
|
|
4907
|
+
min-height: var(--input-field-height-sm);
|
|
4908
|
+
border-radius: var(--input-field-radius-sm);
|
|
4909
|
+
}
|
|
4910
|
+
|
|
4911
|
+
.muka-select__field--md {
|
|
4912
|
+
min-height: var(--input-field-height-default);
|
|
4913
|
+
border-radius: var(--input-field-radius-md);
|
|
4914
|
+
}
|
|
4915
|
+
|
|
4916
|
+
.muka-select__field--lg {
|
|
4917
|
+
min-height: var(--input-field-height-lg);
|
|
4918
|
+
border-radius: var(--input-field-radius-lg);
|
|
4919
|
+
}
|
|
4920
|
+
|
|
4921
|
+
/* Hover — no visual change (same as Input) */
|
|
4922
|
+
|
|
4923
|
+
/* Focus (active) — same as Input: 2px border, padding compensation */
|
|
4924
|
+
.muka-select__field--focused:not(.muka-select__field--disabled) {
|
|
4925
|
+
border-width: var(--border-width-bold);
|
|
4926
|
+
border-color: var(--input-field-color-focus-border);
|
|
4927
|
+
background-color: var(--input-field-color-focus-background);
|
|
4928
|
+
padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
|
|
4929
|
+
}
|
|
4930
|
+
|
|
4931
|
+
/* Error — same as Input: 2px border, padding compensation */
|
|
4932
|
+
.muka-select__field--error:not(.muka-select__field--disabled) {
|
|
4933
|
+
border-width: var(--border-width-bold);
|
|
4934
|
+
border-color: var(--input-field-color-error-border);
|
|
4935
|
+
background-color: var(--input-field-color-error-background);
|
|
4936
|
+
padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
|
|
4937
|
+
}
|
|
4938
|
+
|
|
4939
|
+
/* Disabled — same as Input */
|
|
4940
|
+
.muka-select__field--disabled {
|
|
4941
|
+
background-color: var(--input-field-color-disabled-background);
|
|
4942
|
+
border-color: var(--input-field-color-disabled-border);
|
|
4943
|
+
cursor: not-allowed;
|
|
4944
|
+
}
|
|
4945
|
+
|
|
4946
|
+
.muka-select__field--disabled::after {
|
|
4947
|
+
display: none;
|
|
4948
|
+
}
|
|
4949
|
+
|
|
4950
|
+
/* Native select — padding on field so native has 0 + right space for chevron */
|
|
4951
|
+
.muka-select__native {
|
|
4952
|
+
appearance: none;
|
|
4953
|
+
-webkit-appearance: none;
|
|
4954
|
+
flex: 1;
|
|
4955
|
+
border: none;
|
|
4956
|
+
outline: none;
|
|
4957
|
+
background: transparent;
|
|
4958
|
+
color: var(--input-field-color-default-foreground);
|
|
4959
|
+
font-family: var(--text-input-md-fontFamily);
|
|
4960
|
+
font-weight: var(--text-input-md-fontWeight);
|
|
4961
|
+
font-size: var(--text-input-md-fontSize);
|
|
4962
|
+
line-height: var(--text-input-md-lineHeight);
|
|
4963
|
+
padding: 0;
|
|
4964
|
+
padding-right: calc(var(--input-field-padding-x) + 1.5rem);
|
|
4965
|
+
cursor: pointer;
|
|
4966
|
+
min-width: 0;
|
|
4967
|
+
width: 100%;
|
|
4968
|
+
}
|
|
4969
|
+
|
|
4970
|
+
.muka-select__field--sm .muka-select__native {
|
|
4971
|
+
font-family: var(--text-input-sm-fontFamily);
|
|
4972
|
+
font-weight: var(--text-input-sm-fontWeight);
|
|
4973
|
+
font-size: var(--text-input-sm-fontSize);
|
|
4974
|
+
line-height: var(--text-input-sm-lineHeight);
|
|
4975
|
+
}
|
|
4976
|
+
|
|
4977
|
+
.muka-select__field--lg .muka-select__native {
|
|
4978
|
+
font-family: var(--text-input-lg-fontFamily);
|
|
4979
|
+
font-weight: var(--text-input-lg-fontWeight);
|
|
4980
|
+
font-size: var(--text-input-lg-fontSize);
|
|
4981
|
+
line-height: var(--text-input-lg-lineHeight);
|
|
4982
|
+
}
|
|
4983
|
+
|
|
4984
|
+
.muka-select__field--disabled .muka-select__native {
|
|
4985
|
+
color: var(--input-field-color-disabled-foreground);
|
|
4986
|
+
cursor: not-allowed;
|
|
4987
|
+
}
|
|
4988
|
+
|
|
4989
|
+
/* Chevron — aligned with field padding */
|
|
4990
|
+
.muka-select__chevron {
|
|
4991
|
+
display: inline-flex;
|
|
4992
|
+
align-items: center;
|
|
4993
|
+
position: absolute;
|
|
4994
|
+
right: var(--input-field-padding-x);
|
|
4995
|
+
pointer-events: none;
|
|
4996
|
+
color: var(--color-text-subtle-default);
|
|
4997
|
+
}
|
|
4998
|
+
|
|
4999
|
+
.muka-select__field--disabled .muka-select__chevron {
|
|
5000
|
+
color: var(--input-field-color-disabled-foreground);
|
|
4773
5001
|
}
|
|
4774
5002
|
|
|
4775
|
-
/*
|
|
5003
|
+
/* Helper text — same as Input */
|
|
5004
|
+
.muka-select__helper {
|
|
5005
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
5006
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
5007
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
5008
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
5009
|
+
color: var(--color-text-subtle-default);
|
|
5010
|
+
margin: 0;
|
|
5011
|
+
}
|
|
4776
5012
|
|
|
4777
|
-
|
|
4778
|
-
|
|
4779
|
-
|
|
4780
|
-
|
|
4781
|
-
|
|
4782
|
-
|
|
4783
|
-
|
|
4784
|
-
|
|
4785
|
-
white-space: nowrap;
|
|
4786
|
-
border: 0;
|
|
5013
|
+
/* Error message — same as Input */
|
|
5014
|
+
.muka-select__error {
|
|
5015
|
+
font-family: var(--text-label-sm-regular-fontFamily);
|
|
5016
|
+
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
5017
|
+
font-size: var(--text-label-sm-regular-fontSize);
|
|
5018
|
+
line-height: var(--text-label-sm-regular-lineHeight);
|
|
5019
|
+
color: var(--color-state-error-foreground);
|
|
5020
|
+
margin: 0;
|
|
4787
5021
|
}
|
|
4788
5022
|
|
|
4789
5023
|
|
|
@@ -4799,7 +5033,7 @@ body {
|
|
|
4799
5033
|
background-color: var(--segmentgroup-container-background);
|
|
4800
5034
|
border-radius: var(--segmentgroup-container-radius);
|
|
4801
5035
|
position: relative;
|
|
4802
|
-
transition:
|
|
5036
|
+
transition: background-color 0.2s ease, box-shadow 0.2s ease;
|
|
4803
5037
|
}
|
|
4804
5038
|
|
|
4805
5039
|
/* Inset shadow on container */
|
|
@@ -4840,17 +5074,18 @@ body {
|
|
|
4840
5074
|
display: inline-flex;
|
|
4841
5075
|
align-items: center;
|
|
4842
5076
|
justify-content: center;
|
|
5077
|
+
gap: var(--segmentgroup-segment-gap);
|
|
4843
5078
|
border: none;
|
|
4844
5079
|
background-color: var(--segmentgroup-segment-color-unselected-background);
|
|
4845
5080
|
color: var(--segmentgroup-segment-color-unselected-foreground);
|
|
4846
5081
|
border-radius: var(--segmentgroup-segment-radius);
|
|
4847
5082
|
cursor: pointer;
|
|
4848
|
-
transition:
|
|
5083
|
+
transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
|
|
4849
5084
|
position: relative;
|
|
4850
5085
|
outline: none;
|
|
4851
5086
|
box-shadow: var(--segmentgroup-segment-shadow-unselected);
|
|
4852
5087
|
font-family: var(--alias-font-plain-family);
|
|
4853
|
-
font-weight: var(--
|
|
5088
|
+
font-weight: var(--segmentgroup-segment-fontWeight);
|
|
4854
5089
|
z-index: 1; /* Keep above pill */
|
|
4855
5090
|
}
|
|
4856
5091
|
|
|
@@ -4943,7 +5178,6 @@ body {
|
|
|
4943
5178
|
background-color: transparent;
|
|
4944
5179
|
box-shadow: none;
|
|
4945
5180
|
color: var(--segmentgroup-segment-color-selected-foreground);
|
|
4946
|
-
font-weight: var(--alias-font-plain-weight-semibold);
|
|
4947
5181
|
z-index: 2; /* Highlight pill when focused is tested below */
|
|
4948
5182
|
}
|
|
4949
5183
|
|
|
@@ -7860,6 +8094,26 @@ li.muka-listitem {
|
|
|
7860
8094
|
}
|
|
7861
8095
|
|
|
7862
8096
|
|
|
8097
|
+
/* Form */
|
|
8098
|
+
.muka-form {
|
|
8099
|
+
display: flex;
|
|
8100
|
+
flex-direction: column;
|
|
8101
|
+
width: 100%;
|
|
8102
|
+
}
|
|
8103
|
+
|
|
8104
|
+
.muka-form--gap-sm {
|
|
8105
|
+
gap: var(--size-sm);
|
|
8106
|
+
}
|
|
8107
|
+
|
|
8108
|
+
.muka-form--gap-md {
|
|
8109
|
+
gap: var(--size-md);
|
|
8110
|
+
}
|
|
8111
|
+
|
|
8112
|
+
.muka-form--gap-lg {
|
|
8113
|
+
gap: var(--size-lg);
|
|
8114
|
+
}
|
|
8115
|
+
|
|
8116
|
+
|
|
7863
8117
|
/* FileUpload */
|
|
7864
8118
|
/* FileUpload Component Styles */
|
|
7865
8119
|
|
|
@@ -11187,6 +11441,35 @@ li.muka-listitem {
|
|
|
11187
11441
|
opacity: 1;
|
|
11188
11442
|
}
|
|
11189
11443
|
|
|
11444
|
+
/* Muted variant - same as ghost but resting foreground is subtle, darkens on interaction */
|
|
11445
|
+
.muka-button--muted {
|
|
11446
|
+
background-color: var(--button-color-muted-background-default);
|
|
11447
|
+
color: var(--button-color-muted-foreground-default);
|
|
11448
|
+
border: 1px solid var(--button-color-muted-border-default);
|
|
11449
|
+
}
|
|
11450
|
+
|
|
11451
|
+
.muka-button--muted:hover:not(:disabled) {
|
|
11452
|
+
background-color: var(--button-color-muted-background-hover);
|
|
11453
|
+
color: var(--button-color-muted-foreground-hover);
|
|
11454
|
+
border-color: var(--button-color-muted-border-hover);
|
|
11455
|
+
}
|
|
11456
|
+
|
|
11457
|
+
.muka-button--muted:active:not(:disabled),
|
|
11458
|
+
.muka-button--muted.muka-button--pressed:not(:disabled),
|
|
11459
|
+
.muka-button--muted[data-state="open"]:not(:disabled) {
|
|
11460
|
+
background-color: var(--button-color-muted-background-pressed);
|
|
11461
|
+
color: var(--button-color-muted-foreground-pressed);
|
|
11462
|
+
border-color: var(--button-color-muted-border-pressed);
|
|
11463
|
+
}
|
|
11464
|
+
|
|
11465
|
+
.muka-button--muted:disabled {
|
|
11466
|
+
background-color: var(--button-color-muted-background-disabled);
|
|
11467
|
+
color: var(--button-color-muted-foreground-disabled);
|
|
11468
|
+
border-color: var(--button-color-muted-border-disabled);
|
|
11469
|
+
cursor: not-allowed;
|
|
11470
|
+
opacity: 1;
|
|
11471
|
+
}
|
|
11472
|
+
|
|
11190
11473
|
/* General disabled state - fallback */
|
|
11191
11474
|
.muka-button:disabled {
|
|
11192
11475
|
cursor: not-allowed;
|
|
@@ -12797,197 +13080,3 @@ li.muka-listitem {
|
|
|
12797
13080
|
border-bottom: none;
|
|
12798
13081
|
}
|
|
12799
13082
|
|
|
12800
|
-
|
|
12801
|
-
/* Select */
|
|
12802
|
-
/* Select Component Styles - Aligned with Input for consistency */
|
|
12803
|
-
|
|
12804
|
-
.muka-select {
|
|
12805
|
-
display: inline-flex;
|
|
12806
|
-
flex-direction: column;
|
|
12807
|
-
gap: var(--spacing-2);
|
|
12808
|
-
}
|
|
12809
|
-
|
|
12810
|
-
.muka-select--full-width {
|
|
12811
|
-
width: 100%;
|
|
12812
|
-
}
|
|
12813
|
-
|
|
12814
|
-
/* Label */
|
|
12815
|
-
.muka-select__label {
|
|
12816
|
-
color: var(--color-text-default-default);
|
|
12817
|
-
cursor: pointer;
|
|
12818
|
-
}
|
|
12819
|
-
|
|
12820
|
-
.muka-select__label--sm {
|
|
12821
|
-
font-family: var(--text-label-sm-semibold-fontFamily);
|
|
12822
|
-
font-weight: var(--text-label-sm-semibold-fontWeight);
|
|
12823
|
-
font-size: var(--text-label-sm-semibold-fontSize);
|
|
12824
|
-
line-height: var(--text-label-sm-semibold-lineHeight);
|
|
12825
|
-
}
|
|
12826
|
-
|
|
12827
|
-
.muka-select__label--md {
|
|
12828
|
-
font-family: var(--text-label-md-semibold-fontFamily);
|
|
12829
|
-
font-weight: var(--text-label-md-semibold-fontWeight);
|
|
12830
|
-
font-size: var(--text-label-md-semibold-fontSize);
|
|
12831
|
-
line-height: var(--text-label-md-semibold-lineHeight);
|
|
12832
|
-
}
|
|
12833
|
-
|
|
12834
|
-
.muka-select__label--lg {
|
|
12835
|
-
font-family: var(--text-label-lg-semibold-fontFamily);
|
|
12836
|
-
font-weight: var(--text-label-lg-semibold-fontWeight);
|
|
12837
|
-
font-size: var(--text-label-lg-semibold-fontSize);
|
|
12838
|
-
line-height: var(--text-label-lg-semibold-lineHeight);
|
|
12839
|
-
}
|
|
12840
|
-
|
|
12841
|
-
.muka-select__required {
|
|
12842
|
-
color: var(--color-state-error-foreground);
|
|
12843
|
-
}
|
|
12844
|
-
|
|
12845
|
-
.muka-select__label--sm + .muka-select__field--disabled,
|
|
12846
|
-
.muka-select__label--md + .muka-select__field--disabled,
|
|
12847
|
-
.muka-select__label--lg + .muka-select__field--disabled {
|
|
12848
|
-
cursor: not-allowed;
|
|
12849
|
-
}
|
|
12850
|
-
|
|
12851
|
-
/* Field container — same as Input: 1px border, radius, padding, inset shadow */
|
|
12852
|
-
.muka-select__field {
|
|
12853
|
-
display: flex;
|
|
12854
|
-
align-items: center;
|
|
12855
|
-
gap: var(--spacing-2);
|
|
12856
|
-
position: relative;
|
|
12857
|
-
background-color: var(--input-field-color-default-background);
|
|
12858
|
-
border: var(--border-width-regular) solid var(--input-field-color-default-border);
|
|
12859
|
-
border-radius: var(--input-field-radius-md);
|
|
12860
|
-
padding: var(--input-field-padding-y) var(--input-field-padding-x);
|
|
12861
|
-
transition: border-color 0.2s ease, background-color 0.2s ease;
|
|
12862
|
-
cursor: pointer;
|
|
12863
|
-
box-sizing: border-box;
|
|
12864
|
-
}
|
|
12865
|
-
|
|
12866
|
-
/* Inset shadow — same as Input (single subtle line) */
|
|
12867
|
-
.muka-select__field::after {
|
|
12868
|
-
content: '';
|
|
12869
|
-
position: absolute;
|
|
12870
|
-
inset: 0;
|
|
12871
|
-
border-radius: inherit;
|
|
12872
|
-
box-shadow: inset 0 1px 2px 0 rgba(26, 26, 26, 0.08);
|
|
12873
|
-
pointer-events: none;
|
|
12874
|
-
}
|
|
12875
|
-
|
|
12876
|
-
/* Size variants — same radius/height as Input */
|
|
12877
|
-
.muka-select__field--sm {
|
|
12878
|
-
min-height: var(--input-field-height-sm);
|
|
12879
|
-
border-radius: var(--input-field-radius-sm);
|
|
12880
|
-
}
|
|
12881
|
-
|
|
12882
|
-
.muka-select__field--md {
|
|
12883
|
-
min-height: var(--input-field-height-default);
|
|
12884
|
-
border-radius: var(--input-field-radius-md);
|
|
12885
|
-
}
|
|
12886
|
-
|
|
12887
|
-
.muka-select__field--lg {
|
|
12888
|
-
min-height: var(--input-field-height-lg);
|
|
12889
|
-
border-radius: var(--input-field-radius-lg);
|
|
12890
|
-
}
|
|
12891
|
-
|
|
12892
|
-
/* Hover — no visual change (same as Input) */
|
|
12893
|
-
|
|
12894
|
-
/* Focus (active) — same as Input: 2px border, padding compensation */
|
|
12895
|
-
.muka-select__field--focused:not(.muka-select__field--disabled) {
|
|
12896
|
-
border-width: var(--border-width-bold);
|
|
12897
|
-
border-color: var(--input-field-color-focus-border);
|
|
12898
|
-
background-color: var(--input-field-color-focus-background);
|
|
12899
|
-
padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
|
|
12900
|
-
}
|
|
12901
|
-
|
|
12902
|
-
/* Error — same as Input: 2px border, padding compensation */
|
|
12903
|
-
.muka-select__field--error:not(.muka-select__field--disabled) {
|
|
12904
|
-
border-width: var(--border-width-bold);
|
|
12905
|
-
border-color: var(--input-field-color-error-border);
|
|
12906
|
-
background-color: var(--input-field-color-error-background);
|
|
12907
|
-
padding: calc(var(--input-field-padding-y) - 1px) calc(var(--input-field-padding-x) - 1px);
|
|
12908
|
-
}
|
|
12909
|
-
|
|
12910
|
-
/* Disabled — same as Input */
|
|
12911
|
-
.muka-select__field--disabled {
|
|
12912
|
-
background-color: var(--input-field-color-disabled-background);
|
|
12913
|
-
border-color: var(--input-field-color-disabled-border);
|
|
12914
|
-
cursor: not-allowed;
|
|
12915
|
-
}
|
|
12916
|
-
|
|
12917
|
-
.muka-select__field--disabled::after {
|
|
12918
|
-
display: none;
|
|
12919
|
-
}
|
|
12920
|
-
|
|
12921
|
-
/* Native select — padding on field so native has 0 + right space for chevron */
|
|
12922
|
-
.muka-select__native {
|
|
12923
|
-
appearance: none;
|
|
12924
|
-
-webkit-appearance: none;
|
|
12925
|
-
flex: 1;
|
|
12926
|
-
border: none;
|
|
12927
|
-
outline: none;
|
|
12928
|
-
background: transparent;
|
|
12929
|
-
color: var(--input-field-color-default-foreground);
|
|
12930
|
-
font-family: var(--text-input-md-fontFamily);
|
|
12931
|
-
font-weight: var(--text-input-md-fontWeight);
|
|
12932
|
-
font-size: var(--text-input-md-fontSize);
|
|
12933
|
-
line-height: var(--text-input-md-lineHeight);
|
|
12934
|
-
padding: 0;
|
|
12935
|
-
padding-right: calc(var(--input-field-padding-x) + 1.5rem);
|
|
12936
|
-
cursor: pointer;
|
|
12937
|
-
min-width: 0;
|
|
12938
|
-
width: 100%;
|
|
12939
|
-
}
|
|
12940
|
-
|
|
12941
|
-
.muka-select__field--sm .muka-select__native {
|
|
12942
|
-
font-family: var(--text-input-sm-fontFamily);
|
|
12943
|
-
font-weight: var(--text-input-sm-fontWeight);
|
|
12944
|
-
font-size: var(--text-input-sm-fontSize);
|
|
12945
|
-
line-height: var(--text-input-sm-lineHeight);
|
|
12946
|
-
}
|
|
12947
|
-
|
|
12948
|
-
.muka-select__field--lg .muka-select__native {
|
|
12949
|
-
font-family: var(--text-input-lg-fontFamily);
|
|
12950
|
-
font-weight: var(--text-input-lg-fontWeight);
|
|
12951
|
-
font-size: var(--text-input-lg-fontSize);
|
|
12952
|
-
line-height: var(--text-input-lg-lineHeight);
|
|
12953
|
-
}
|
|
12954
|
-
|
|
12955
|
-
.muka-select__field--disabled .muka-select__native {
|
|
12956
|
-
color: var(--input-field-color-disabled-foreground);
|
|
12957
|
-
cursor: not-allowed;
|
|
12958
|
-
}
|
|
12959
|
-
|
|
12960
|
-
/* Chevron — aligned with field padding */
|
|
12961
|
-
.muka-select__chevron {
|
|
12962
|
-
display: inline-flex;
|
|
12963
|
-
align-items: center;
|
|
12964
|
-
position: absolute;
|
|
12965
|
-
right: var(--input-field-padding-x);
|
|
12966
|
-
pointer-events: none;
|
|
12967
|
-
color: var(--color-text-subtle-default);
|
|
12968
|
-
}
|
|
12969
|
-
|
|
12970
|
-
.muka-select__field--disabled .muka-select__chevron {
|
|
12971
|
-
color: var(--input-field-color-disabled-foreground);
|
|
12972
|
-
}
|
|
12973
|
-
|
|
12974
|
-
/* Helper text — same as Input */
|
|
12975
|
-
.muka-select__helper {
|
|
12976
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
12977
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
12978
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
12979
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
12980
|
-
color: var(--color-text-subtle-default);
|
|
12981
|
-
margin: 0;
|
|
12982
|
-
}
|
|
12983
|
-
|
|
12984
|
-
/* Error message — same as Input */
|
|
12985
|
-
.muka-select__error {
|
|
12986
|
-
font-family: var(--text-label-sm-regular-fontFamily);
|
|
12987
|
-
font-weight: var(--text-label-sm-regular-fontWeight);
|
|
12988
|
-
font-size: var(--text-label-sm-regular-fontSize);
|
|
12989
|
-
line-height: var(--text-label-sm-regular-lineHeight);
|
|
12990
|
-
color: var(--color-state-error-foreground);
|
|
12991
|
-
margin: 0;
|
|
12992
|
-
}
|
|
12993
|
-
|