simple-table-core 4.0.7 → 4.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/styles.css +1 -1
- package/dist/core/SimpleTableVanilla.d.ts +7 -6
- package/dist/icons/AngleDownIcon.d.ts +1 -0
- package/dist/icons/AngleLeftIcon.d.ts +1 -0
- package/dist/icons/AngleRightIcon.d.ts +1 -0
- package/dist/icons/AngleUpIcon.d.ts +1 -0
- package/dist/icons/AscIcon.d.ts +1 -0
- package/dist/icons/CheckIcon.d.ts +1 -0
- package/dist/icons/DescIcon.d.ts +1 -0
- package/dist/icons/DragIcon.d.ts +1 -0
- package/dist/icons/FilterIcon.d.ts +1 -0
- package/dist/icons/SelectIcon.d.ts +1 -0
- package/dist/icons/createStrokeIcon.d.ts +15 -0
- package/dist/index.d.ts +3 -2
- package/dist/index.es.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/types/CellChangeProps.d.ts +5 -4
- package/dist/types/CellClickProps.d.ts +5 -4
- package/dist/types/CellRendererProps.d.ts +6 -5
- package/dist/types/ColumnDef.d.ts +53 -32
- package/dist/types/FilterTypes.d.ts +7 -5
- package/dist/types/GenerateRowIdParams.d.ts +4 -3
- package/dist/types/GetRowId.d.ts +4 -3
- package/dist/types/HeaderRendererProps.d.ts +6 -4
- package/dist/types/OnRowGroupExpandProps.d.ts +4 -3
- package/dist/types/PivotTypes.d.ts +11 -7
- package/dist/types/QuickFilterTypes.d.ts +5 -4
- package/dist/types/Row.d.ts +6 -0
- package/dist/types/RowButton.d.ts +4 -3
- package/dist/types/RowSelectionChangeProps.d.ts +3 -2
- package/dist/types/RowStateRendererProps.d.ts +13 -12
- package/dist/types/SimpleTableConfig.d.ts +28 -22
- package/dist/types/SimpleTableProps.d.ts +28 -22
- package/dist/types/TableAPI.d.ts +24 -19
- package/dist/types/TableRow.d.ts +5 -4
- package/dist/types/UpdateCellProps.d.ts +5 -3
- package/dist/utils/normalizeConfig.d.ts +4 -1
- package/package.json +1 -1
- package/src/styles/base.css +85 -37
- package/src/styles/themes/dark.css +9 -0
- package/src/styles/themes/light.css +9 -0
- package/src/styles/themes/modern-dark.css +9 -0
- package/src/styles/themes/modern-light.css +9 -0
- package/src/styles/themes/neutral.css +9 -0
package/src/styles/base.css
CHANGED
|
@@ -506,14 +506,14 @@ input {
|
|
|
506
506
|
color: var(--st-header-selected-label-color);
|
|
507
507
|
}
|
|
508
508
|
.st-header-cell.st-header-selected .st-header-icon {
|
|
509
|
-
|
|
510
|
-
}
|
|
511
|
-
.st-header-cell.st-header-selected .st-icon-container * {
|
|
512
|
-
fill: var(--st-header-selected-icon-color);
|
|
509
|
+
color: var(--st-header-selected-icon-color);
|
|
513
510
|
}
|
|
514
511
|
.st-header-cell.st-header-selected .st-icon-container {
|
|
515
512
|
color: var(--st-header-selected-icon-color);
|
|
516
513
|
}
|
|
514
|
+
.st-header-cell.st-header-selected .st-icon-container svg:not([fill="none"]) {
|
|
515
|
+
fill: var(--st-header-selected-icon-color);
|
|
516
|
+
}
|
|
517
517
|
.st-header-cell.st-header-selected .st-header-resize-handle {
|
|
518
518
|
background-color: var(--st-resize-handle-selected-color);
|
|
519
519
|
}
|
|
@@ -711,8 +711,8 @@ input {
|
|
|
711
711
|
display: flex;
|
|
712
712
|
align-items: center;
|
|
713
713
|
justify-content: center;
|
|
714
|
-
margin-left:
|
|
715
|
-
border-radius:
|
|
714
|
+
margin-left: var(--st-spacing-small);
|
|
715
|
+
border-radius: var(--st-border-radius);
|
|
716
716
|
align-self: stretch;
|
|
717
717
|
transition: outline 0.2s ease;
|
|
718
718
|
}
|
|
@@ -729,6 +729,9 @@ input {
|
|
|
729
729
|
|
|
730
730
|
.st-expand-icon {
|
|
731
731
|
cursor: pointer;
|
|
732
|
+
color: var(--st-header-label-color);
|
|
733
|
+
}
|
|
734
|
+
.st-expand-icon:not([fill="none"]) {
|
|
732
735
|
fill: var(--st-header-label-color);
|
|
733
736
|
}
|
|
734
737
|
.st-header-resize-handle-container {
|
|
@@ -986,10 +989,18 @@ input {
|
|
|
986
989
|
transition: background-color var(--st-transition-duration) var(--st-transition-ease);
|
|
987
990
|
}
|
|
988
991
|
.st-next-prev-btn {
|
|
992
|
+
color: var(--st-next-prev-btn-color);
|
|
993
|
+
fill: var(--st-next-prev-btn-color);
|
|
994
|
+
}
|
|
995
|
+
.st-next-prev-btn .st-next-prev-icon {
|
|
996
|
+
color: var(--st-next-prev-btn-color);
|
|
997
|
+
}
|
|
998
|
+
.st-next-prev-btn .st-next-prev-icon:not([fill="none"]) {
|
|
989
999
|
fill: var(--st-next-prev-btn-color);
|
|
990
1000
|
}
|
|
991
1001
|
.disabled > .st-next-prev-icon {
|
|
992
1002
|
cursor: not-allowed;
|
|
1003
|
+
color: var(--st-next-prev-btn-disabled-color);
|
|
993
1004
|
fill: var(--st-next-prev-btn-disabled-color);
|
|
994
1005
|
}
|
|
995
1006
|
|
|
@@ -1317,6 +1328,7 @@ input {
|
|
|
1317
1328
|
}
|
|
1318
1329
|
|
|
1319
1330
|
.st-drag-icon {
|
|
1331
|
+
color: currentColor;
|
|
1320
1332
|
fill: currentColor;
|
|
1321
1333
|
}
|
|
1322
1334
|
|
|
@@ -1330,15 +1342,26 @@ input {
|
|
|
1330
1342
|
}
|
|
1331
1343
|
|
|
1332
1344
|
.st-header-icon-container {
|
|
1333
|
-
width:
|
|
1345
|
+
width: 28px;
|
|
1334
1346
|
display: flex;
|
|
1335
1347
|
justify-content: center;
|
|
1336
1348
|
}
|
|
1337
1349
|
|
|
1338
1350
|
.st-header-icon {
|
|
1339
|
-
transition:
|
|
1351
|
+
transition: color var(--st-transition-duration) var(--st-transition-ease);
|
|
1352
|
+
color: var(--st-header-icon-color);
|
|
1353
|
+
}
|
|
1354
|
+
.st-header-icon:not([fill="none"]) {
|
|
1340
1355
|
fill: var(--st-header-icon-color);
|
|
1341
1356
|
}
|
|
1357
|
+
/* Keep stroke-icon paths unfilled even when ancestors set fill */
|
|
1358
|
+
.st-header-icon[fill="none"] path,
|
|
1359
|
+
.st-expand-icon[fill="none"] path,
|
|
1360
|
+
.st-next-prev-icon[fill="none"] path,
|
|
1361
|
+
.st-checkbox-checkmark[fill="none"] path,
|
|
1362
|
+
.st-custom-select-arrow[fill="none"] path {
|
|
1363
|
+
fill: none;
|
|
1364
|
+
}
|
|
1342
1365
|
|
|
1343
1366
|
.st-collapsible-header-icon {
|
|
1344
1367
|
cursor: pointer;
|
|
@@ -1429,7 +1452,7 @@ input {
|
|
|
1429
1452
|
}
|
|
1430
1453
|
|
|
1431
1454
|
.st-checkbox-checkmark {
|
|
1432
|
-
|
|
1455
|
+
color: var(--st-button-active-text-color);
|
|
1433
1456
|
}
|
|
1434
1457
|
|
|
1435
1458
|
@keyframes slide-in-left {
|
|
@@ -1642,6 +1665,12 @@ input {
|
|
|
1642
1665
|
cursor: default;
|
|
1643
1666
|
}
|
|
1644
1667
|
|
|
1668
|
+
/* Date pickers are taller than the default dropdown cap (day grid + footer).
|
|
1669
|
+
Keep max-height for enum/option lists; let calendars size to content. */
|
|
1670
|
+
.st-dropdown-content:has(> .st-datepicker) {
|
|
1671
|
+
max-height: none;
|
|
1672
|
+
}
|
|
1673
|
+
|
|
1645
1674
|
/* Filter popover (and similar): nested .st-dropdown-content menus must not be clipped by the shell.
|
|
1646
1675
|
overflow:auto + max-height on the parent creates a scrollport that clips absolutely positioned
|
|
1647
1676
|
children (operator CustomSelect, date picker, etc.). */
|
|
@@ -1665,12 +1694,12 @@ input {
|
|
|
1665
1694
|
|
|
1666
1695
|
/* Dropdown items */
|
|
1667
1696
|
.st-dropdown-item {
|
|
1668
|
-
padding: var(--st-
|
|
1697
|
+
padding: var(--st-control-padding-y) var(--st-control-padding-x);
|
|
1669
1698
|
cursor: pointer;
|
|
1670
1699
|
white-space: nowrap;
|
|
1671
1700
|
transition: background-color var(--st-transition-duration) var(--st-transition-ease);
|
|
1672
1701
|
color: var(--st-cell-color);
|
|
1673
|
-
font-size:
|
|
1702
|
+
font-size: var(--st-overlay-font-size);
|
|
1674
1703
|
}
|
|
1675
1704
|
|
|
1676
1705
|
.st-dropdown-item:hover {
|
|
@@ -1693,13 +1722,15 @@ input {
|
|
|
1693
1722
|
.st-datepicker {
|
|
1694
1723
|
background-color: var(--st-odd-row-background-color);
|
|
1695
1724
|
font-family: inherit;
|
|
1725
|
+
font-size: var(--st-overlay-font-size);
|
|
1696
1726
|
}
|
|
1697
1727
|
|
|
1698
1728
|
.st-datepicker-header {
|
|
1699
1729
|
display: flex;
|
|
1700
1730
|
justify-content: space-between;
|
|
1701
1731
|
align-items: center;
|
|
1702
|
-
|
|
1732
|
+
/* Match footer: light vertical pad around square nav buttons */
|
|
1733
|
+
padding: 6px var(--st-overlay-padding);
|
|
1703
1734
|
border-bottom: 1px solid var(--st-border-color);
|
|
1704
1735
|
background-color: var(--st-header-background-color);
|
|
1705
1736
|
}
|
|
@@ -1707,11 +1738,16 @@ input {
|
|
|
1707
1738
|
.st-datepicker-header-label {
|
|
1708
1739
|
color: var(--st-header-label-color);
|
|
1709
1740
|
font-weight: 600;
|
|
1710
|
-
|
|
1741
|
+
font-size: var(--st-overlay-font-size);
|
|
1742
|
+
cursor: default;
|
|
1711
1743
|
text-align: center;
|
|
1712
1744
|
flex: 1;
|
|
1713
1745
|
}
|
|
1714
1746
|
|
|
1747
|
+
.st-datepicker-header-label[role="button"] {
|
|
1748
|
+
cursor: pointer;
|
|
1749
|
+
}
|
|
1750
|
+
|
|
1715
1751
|
.st-datepicker-nav-btn {
|
|
1716
1752
|
background: transparent;
|
|
1717
1753
|
display: flex;
|
|
@@ -1721,10 +1757,16 @@ input {
|
|
|
1721
1757
|
cursor: pointer;
|
|
1722
1758
|
font-size: 1.2em;
|
|
1723
1759
|
color: var(--st-cell-color);
|
|
1724
|
-
|
|
1760
|
+
width: var(--st-datepicker-day-size);
|
|
1761
|
+
height: var(--st-datepicker-day-size);
|
|
1762
|
+
padding: 0;
|
|
1763
|
+
flex-shrink: 0;
|
|
1725
1764
|
border-radius: var(--st-border-radius);
|
|
1726
1765
|
}
|
|
1727
1766
|
.st-datepicker-nav-btn > * {
|
|
1767
|
+
color: var(--st-cell-color) !important;
|
|
1768
|
+
}
|
|
1769
|
+
.st-datepicker-nav-btn > *:not([fill="none"]) {
|
|
1728
1770
|
fill: var(--st-cell-color) !important;
|
|
1729
1771
|
}
|
|
1730
1772
|
|
|
@@ -1734,7 +1776,7 @@ input {
|
|
|
1734
1776
|
|
|
1735
1777
|
.st-datepicker-grid {
|
|
1736
1778
|
display: grid;
|
|
1737
|
-
padding: var(--st-
|
|
1779
|
+
padding: var(--st-overlay-padding);
|
|
1738
1780
|
}
|
|
1739
1781
|
|
|
1740
1782
|
.st-datepicker-days-grid {
|
|
@@ -1754,7 +1796,7 @@ input {
|
|
|
1754
1796
|
|
|
1755
1797
|
.st-datepicker-weekday {
|
|
1756
1798
|
text-align: center;
|
|
1757
|
-
font-size:
|
|
1799
|
+
font-size: 12px;
|
|
1758
1800
|
font-weight: 600;
|
|
1759
1801
|
padding: 6px 0;
|
|
1760
1802
|
color: var(--st-datepicker-weekday-color);
|
|
@@ -1765,12 +1807,12 @@ input {
|
|
|
1765
1807
|
display: flex;
|
|
1766
1808
|
align-items: center;
|
|
1767
1809
|
justify-content: center;
|
|
1768
|
-
height:
|
|
1769
|
-
width:
|
|
1810
|
+
height: var(--st-datepicker-day-size);
|
|
1811
|
+
width: var(--st-datepicker-day-size);
|
|
1770
1812
|
border-radius: 50%;
|
|
1771
1813
|
cursor: pointer;
|
|
1772
1814
|
transition: background-color var(--st-transition-duration) var(--st-transition-ease);
|
|
1773
|
-
font-size:
|
|
1815
|
+
font-size: var(--st-overlay-font-size);
|
|
1774
1816
|
}
|
|
1775
1817
|
|
|
1776
1818
|
.st-datepicker-day.empty {
|
|
@@ -1820,7 +1862,9 @@ input {
|
|
|
1820
1862
|
.st-datepicker-footer {
|
|
1821
1863
|
display: flex;
|
|
1822
1864
|
justify-content: flex-end;
|
|
1823
|
-
|
|
1865
|
+
align-items: center;
|
|
1866
|
+
/* Same vertical rhythm as header — Today shouldn't sit in a tall band */
|
|
1867
|
+
padding: 6px var(--st-overlay-padding);
|
|
1824
1868
|
border-top: 1px solid var(--st-border-color);
|
|
1825
1869
|
}
|
|
1826
1870
|
|
|
@@ -1828,10 +1872,13 @@ input {
|
|
|
1828
1872
|
background-color: transparent;
|
|
1829
1873
|
border: 1px solid var(--st-border-color);
|
|
1830
1874
|
border-radius: var(--st-border-radius);
|
|
1831
|
-
padding:
|
|
1875
|
+
padding: var(--st-spacing-small) var(--st-control-padding-x);
|
|
1876
|
+
min-height: var(--st-datepicker-day-size);
|
|
1877
|
+
box-sizing: border-box;
|
|
1832
1878
|
cursor: pointer;
|
|
1833
1879
|
transition: background-color var(--st-transition-duration) var(--st-transition-ease);
|
|
1834
1880
|
color: var(--st-cell-color);
|
|
1881
|
+
font-size: var(--st-overlay-font-size);
|
|
1835
1882
|
}
|
|
1836
1883
|
|
|
1837
1884
|
.st-datepicker-today-btn:hover {
|
|
@@ -1843,8 +1890,9 @@ input {
|
|
|
1843
1890
|
display: flex;
|
|
1844
1891
|
flex-direction: column;
|
|
1845
1892
|
flex-grow: 1;
|
|
1846
|
-
padding: var(--st-
|
|
1847
|
-
min-width:
|
|
1893
|
+
padding: var(--st-overlay-padding);
|
|
1894
|
+
min-width: 200px;
|
|
1895
|
+
font-size: var(--st-overlay-font-size);
|
|
1848
1896
|
}
|
|
1849
1897
|
|
|
1850
1898
|
/* Filter Section - Used for spacing between form sections */
|
|
@@ -1858,10 +1906,10 @@ input {
|
|
|
1858
1906
|
/* Filter Input - Text and number inputs */
|
|
1859
1907
|
.st-filter-input {
|
|
1860
1908
|
width: 100%;
|
|
1861
|
-
padding: var(--st-
|
|
1909
|
+
padding: var(--st-control-padding-y) var(--st-control-padding-x);
|
|
1862
1910
|
border: var(--st-border-width) solid var(--st-border-color);
|
|
1863
1911
|
border-radius: var(--st-border-radius);
|
|
1864
|
-
font-size:
|
|
1912
|
+
font-size: var(--st-overlay-font-size);
|
|
1865
1913
|
background-color: var(--st-odd-row-background-color);
|
|
1866
1914
|
color: var(--st-cell-color);
|
|
1867
1915
|
font-family: inherit;
|
|
@@ -1881,10 +1929,10 @@ input {
|
|
|
1881
1929
|
/* Filter Select - Dropdown selectors */
|
|
1882
1930
|
.st-filter-select {
|
|
1883
1931
|
width: 100%;
|
|
1884
|
-
padding: var(--st-
|
|
1932
|
+
padding: var(--st-control-padding-y) var(--st-control-padding-x);
|
|
1885
1933
|
border: var(--st-border-width) solid var(--st-border-color);
|
|
1886
1934
|
border-radius: var(--st-border-radius);
|
|
1887
|
-
font-size:
|
|
1935
|
+
font-size: var(--st-overlay-font-size);
|
|
1888
1936
|
background-color: var(--st-odd-row-background-color);
|
|
1889
1937
|
color: var(--st-cell-color);
|
|
1890
1938
|
font-family: inherit;
|
|
@@ -1907,11 +1955,11 @@ input {
|
|
|
1907
1955
|
|
|
1908
1956
|
.st-filter-button {
|
|
1909
1957
|
flex: 1;
|
|
1910
|
-
padding: var(--st-
|
|
1958
|
+
padding: var(--st-control-padding-y) var(--st-control-padding-x);
|
|
1911
1959
|
border: none;
|
|
1912
1960
|
border-radius: var(--st-border-radius);
|
|
1913
1961
|
cursor: pointer;
|
|
1914
|
-
font-size:
|
|
1962
|
+
font-size: var(--st-overlay-font-size);
|
|
1915
1963
|
font-weight: 500;
|
|
1916
1964
|
font-family: inherit;
|
|
1917
1965
|
appearance: none;
|
|
@@ -1931,7 +1979,7 @@ input {
|
|
|
1931
1979
|
/* Apply Button */
|
|
1932
1980
|
.st-filter-button-apply {
|
|
1933
1981
|
background-color: var(--st-button-active-background-color);
|
|
1934
|
-
color:
|
|
1982
|
+
color: var(--st-button-active-text-color);
|
|
1935
1983
|
}
|
|
1936
1984
|
|
|
1937
1985
|
.st-filter-button-apply:hover:not(.st-filter-button-disabled) {
|
|
@@ -1964,13 +2012,13 @@ input {
|
|
|
1964
2012
|
|
|
1965
2013
|
.st-custom-select-trigger {
|
|
1966
2014
|
width: 100%;
|
|
1967
|
-
padding: var(--st-
|
|
2015
|
+
padding: var(--st-control-padding-y) var(--st-control-padding-x);
|
|
1968
2016
|
border: var(--st-border-width) solid var(--st-border-color);
|
|
1969
2017
|
border-radius: var(--st-border-radius);
|
|
1970
2018
|
background-color: var(--st-odd-row-background-color);
|
|
1971
2019
|
color: var(--st-cell-color);
|
|
1972
2020
|
font-family: inherit;
|
|
1973
|
-
font-size:
|
|
2021
|
+
font-size: var(--st-overlay-font-size);
|
|
1974
2022
|
cursor: pointer;
|
|
1975
2023
|
display: flex;
|
|
1976
2024
|
align-items: center;
|
|
@@ -2026,14 +2074,14 @@ input {
|
|
|
2026
2074
|
|
|
2027
2075
|
.st-custom-select-option {
|
|
2028
2076
|
flex-shrink: 0;
|
|
2029
|
-
padding: var(--st-
|
|
2077
|
+
padding: var(--st-control-padding-y) var(--st-control-padding-x);
|
|
2030
2078
|
cursor: pointer;
|
|
2031
2079
|
transition: background-color var(--st-transition-duration) var(--st-transition-ease);
|
|
2032
2080
|
white-space: nowrap;
|
|
2033
2081
|
overflow: hidden;
|
|
2034
2082
|
text-overflow: ellipsis;
|
|
2035
2083
|
color: var(--st-cell-color);
|
|
2036
|
-
font-size:
|
|
2084
|
+
font-size: var(--st-overlay-font-size);
|
|
2037
2085
|
}
|
|
2038
2086
|
|
|
2039
2087
|
.st-custom-select-option:hover,
|
|
@@ -2102,7 +2150,7 @@ input {
|
|
|
2102
2150
|
|
|
2103
2151
|
/* Enum option label */
|
|
2104
2152
|
.st-enum-option-label {
|
|
2105
|
-
font-size:
|
|
2153
|
+
font-size: var(--st-overlay-font-size);
|
|
2106
2154
|
color: var(--st-cell-color);
|
|
2107
2155
|
user-select: none;
|
|
2108
2156
|
}
|
|
@@ -2118,8 +2166,8 @@ input {
|
|
|
2118
2166
|
.st-enum-no-results {
|
|
2119
2167
|
padding: var(--st-spacing-medium);
|
|
2120
2168
|
text-align: center;
|
|
2121
|
-
font-size:
|
|
2122
|
-
color: var(--st-
|
|
2169
|
+
font-size: var(--st-overlay-font-size);
|
|
2170
|
+
color: var(--st-muted-text-color);
|
|
2123
2171
|
font-style: italic;
|
|
2124
2172
|
}
|
|
2125
2173
|
|
|
@@ -8,6 +8,13 @@
|
|
|
8
8
|
--st-spacing-small: 4px;
|
|
9
9
|
--st-spacing-medium: 8px;
|
|
10
10
|
|
|
11
|
+
/* Overlay / filter control sizing (aligned with table type + cell padding) */
|
|
12
|
+
--st-overlay-font-size: 14px;
|
|
13
|
+
--st-overlay-padding: 8px;
|
|
14
|
+
--st-control-padding-y: 6px;
|
|
15
|
+
--st-control-padding-x: 8px;
|
|
16
|
+
--st-datepicker-day-size: 28px;
|
|
17
|
+
|
|
11
18
|
/* Scrollbar variables */
|
|
12
19
|
--st-scrollbar-bg-color: var(--st-gray-900);
|
|
13
20
|
--st-scrollbar-thumb-color: var(--st-gray-600);
|
|
@@ -65,6 +72,7 @@
|
|
|
65
72
|
/* Button colors */
|
|
66
73
|
--st-button-hover-background-color: var(--st-gray-600);
|
|
67
74
|
--st-button-active-background-color: var(--st-blue-500);
|
|
75
|
+
--st-button-active-text-color: var(--st-white);
|
|
68
76
|
--st-next-prev-btn-color: var(--st-gray-300);
|
|
69
77
|
--st-next-prev-btn-disabled-color: var(--st-gray-600);
|
|
70
78
|
--st-page-btn-color: var(--st-gray-300);
|
|
@@ -86,6 +94,7 @@
|
|
|
86
94
|
--st-datepicker-other-month-color: var(--st-gray-600);
|
|
87
95
|
--st-filter-button-disabled-background-color: var(--st-gray-700);
|
|
88
96
|
--st-filter-button-disabled-text-color: var(--st-gray-500);
|
|
97
|
+
--st-muted-text-color: var(--st-gray-400);
|
|
89
98
|
|
|
90
99
|
/* Flash/Animation colors */
|
|
91
100
|
--st-cell-flash-color: var(--st-gray-600);
|
|
@@ -8,6 +8,13 @@
|
|
|
8
8
|
--st-spacing-small: 4px;
|
|
9
9
|
--st-spacing-medium: 8px;
|
|
10
10
|
|
|
11
|
+
/* Overlay / filter control sizing (aligned with table type + cell padding) */
|
|
12
|
+
--st-overlay-font-size: 14px;
|
|
13
|
+
--st-overlay-padding: 8px;
|
|
14
|
+
--st-control-padding-y: 6px;
|
|
15
|
+
--st-control-padding-x: 8px;
|
|
16
|
+
--st-datepicker-day-size: 28px;
|
|
17
|
+
|
|
11
18
|
/* Scrollbar variables */
|
|
12
19
|
--st-scrollbar-bg-color: var(--st-slate-50);
|
|
13
20
|
--st-scrollbar-thumb-color: var(--st-slate-300);
|
|
@@ -65,6 +72,7 @@
|
|
|
65
72
|
/* Button colors */
|
|
66
73
|
--st-button-hover-background-color: var(--st-slate-100);
|
|
67
74
|
--st-button-active-background-color: var(--st-blue-600);
|
|
75
|
+
--st-button-active-text-color: var(--st-white);
|
|
68
76
|
--st-next-prev-btn-color: var(--st-slate-600);
|
|
69
77
|
--st-next-prev-btn-disabled-color: var(--st-slate-400);
|
|
70
78
|
--st-page-btn-color: var(--st-slate-600);
|
|
@@ -85,6 +93,7 @@
|
|
|
85
93
|
--st-datepicker-other-month-color: var(--st-slate-400);
|
|
86
94
|
--st-filter-button-disabled-background-color: var(--st-slate-300);
|
|
87
95
|
--st-filter-button-disabled-text-color: var(--st-slate-500);
|
|
96
|
+
--st-muted-text-color: var(--st-slate-500);
|
|
88
97
|
|
|
89
98
|
/* Flash/Animation colors */
|
|
90
99
|
--st-cell-flash-color: var(--st-slate-200);
|
|
@@ -24,6 +24,13 @@
|
|
|
24
24
|
--st-spacing-small: 4px;
|
|
25
25
|
--st-spacing-medium: 8px;
|
|
26
26
|
|
|
27
|
+
/* Overlay / filter control sizing (tracks roomier modern cell padding) */
|
|
28
|
+
--st-overlay-font-size: 14px;
|
|
29
|
+
--st-overlay-padding: 12px;
|
|
30
|
+
--st-control-padding-y: 8px;
|
|
31
|
+
--st-control-padding-x: 12px;
|
|
32
|
+
--st-datepicker-day-size: 32px;
|
|
33
|
+
|
|
27
34
|
/* Scrollbar variables - Dark minimal */
|
|
28
35
|
--st-scrollbar-bg-color: #111827;
|
|
29
36
|
--st-scrollbar-thumb-color: #4b5563;
|
|
@@ -80,6 +87,7 @@
|
|
|
80
87
|
/* Button colors - Clean, minimal dark */
|
|
81
88
|
--st-button-hover-background-color: #374151;
|
|
82
89
|
--st-button-active-background-color: #3b82f6;
|
|
90
|
+
--st-button-active-text-color: var(--st-white);
|
|
83
91
|
--st-next-prev-btn-color: #9ca3af;
|
|
84
92
|
--st-next-prev-btn-disabled-color: #4b5563;
|
|
85
93
|
--st-page-btn-color: #d1d5db;
|
|
@@ -101,6 +109,7 @@
|
|
|
101
109
|
--st-datepicker-other-month-color: #4b5563;
|
|
102
110
|
--st-filter-button-disabled-background-color: #374151;
|
|
103
111
|
--st-filter-button-disabled-text-color: #6b7280;
|
|
112
|
+
--st-muted-text-color: #9ca3af;
|
|
104
113
|
|
|
105
114
|
/* Flash/Animation colors */
|
|
106
115
|
--st-cell-flash-color: #1e40af;
|
|
@@ -27,6 +27,13 @@
|
|
|
27
27
|
--st-spacing-small: 4px;
|
|
28
28
|
--st-spacing-medium: 8px;
|
|
29
29
|
|
|
30
|
+
/* Overlay / filter control sizing (tracks roomier modern cell padding) */
|
|
31
|
+
--st-overlay-font-size: 14px;
|
|
32
|
+
--st-overlay-padding: 12px;
|
|
33
|
+
--st-control-padding-y: 8px;
|
|
34
|
+
--st-control-padding-x: 12px;
|
|
35
|
+
--st-datepicker-day-size: 32px;
|
|
36
|
+
|
|
30
37
|
/* Scrollbar variables - Minimal */
|
|
31
38
|
--st-scrollbar-bg-color: #fafafa;
|
|
32
39
|
--st-scrollbar-thumb-color: #d1d5db;
|
|
@@ -83,6 +90,7 @@
|
|
|
83
90
|
/* Button colors - Clean, minimal */
|
|
84
91
|
--st-button-hover-background-color: #f3f4f6;
|
|
85
92
|
--st-button-active-background-color: #3b82f6;
|
|
93
|
+
--st-button-active-text-color: var(--st-white);
|
|
86
94
|
--st-next-prev-btn-color: #6b7280;
|
|
87
95
|
--st-next-prev-btn-disabled-color: #d1d5db;
|
|
88
96
|
--st-page-btn-color: #374151;
|
|
@@ -103,6 +111,7 @@
|
|
|
103
111
|
--st-datepicker-other-month-color: #d1d5db;
|
|
104
112
|
--st-filter-button-disabled-background-color: #f3f4f6;
|
|
105
113
|
--st-filter-button-disabled-text-color: #9ca3af;
|
|
114
|
+
--st-muted-text-color: #6b7280;
|
|
106
115
|
|
|
107
116
|
/* Flash/Animation colors */
|
|
108
117
|
--st-cell-flash-color: #dbeafe;
|
|
@@ -8,6 +8,13 @@
|
|
|
8
8
|
--st-spacing-small: 4px;
|
|
9
9
|
--st-spacing-medium: 8px;
|
|
10
10
|
|
|
11
|
+
/* Overlay / filter control sizing (aligned with table type + cell padding) */
|
|
12
|
+
--st-overlay-font-size: 14px;
|
|
13
|
+
--st-overlay-padding: 8px;
|
|
14
|
+
--st-control-padding-y: 6px;
|
|
15
|
+
--st-control-padding-x: 8px;
|
|
16
|
+
--st-datepicker-day-size: 28px;
|
|
17
|
+
|
|
11
18
|
/* Scrollbar variables */
|
|
12
19
|
--st-scrollbar-bg-color: var(--st-neutral-100);
|
|
13
20
|
--st-scrollbar-thumb-color: var(--st-neutral-400);
|
|
@@ -66,6 +73,7 @@
|
|
|
66
73
|
/* Button colors */
|
|
67
74
|
--st-button-hover-background-color: var(--st-neutral-200);
|
|
68
75
|
--st-button-active-background-color: var(--st-neutral-600);
|
|
76
|
+
--st-button-active-text-color: var(--st-white);
|
|
69
77
|
--st-next-prev-btn-color: var(--st-neutral-600);
|
|
70
78
|
--st-next-prev-btn-disabled-color: var(--st-neutral-400);
|
|
71
79
|
--st-page-btn-color: var(--st-neutral-600);
|
|
@@ -86,6 +94,7 @@
|
|
|
86
94
|
--st-datepicker-other-month-color: var(--st-neutral-400);
|
|
87
95
|
--st-filter-button-disabled-background-color: var(--st-neutral-300);
|
|
88
96
|
--st-filter-button-disabled-text-color: var(--st-neutral-500);
|
|
97
|
+
--st-muted-text-color: var(--st-neutral-500);
|
|
89
98
|
|
|
90
99
|
/* Flash/Animation colors */
|
|
91
100
|
--st-cell-flash-color: var(--st-neutral-400);
|