@mshuja288/aksuicore 0.4.0 → 0.4.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/CHANGELOG.md +11 -0
- package/dist/aksui.css +195 -25
- package/dist/index.cjs +415 -270
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +415 -270
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/patterns/RecordWorkspace.tsx +417 -251
- package/src/theme/patterns.css +192 -24
- package/src/theme/primitives.css +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,17 @@ Versioning follows [VERSIONING.md](./VERSIONING.md).
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.4.1] — 2026-10-12
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- Row ⋯ menu no longer hidden under the hover tooltip (portal + higher z-index; tooltips only on fine-pointer hover)
|
|
15
|
+
- Mobile tools no longer render as a sprawling icon strip above the table
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- Small screens: compact **Add + Tools** bar; Tools opens a right-side drawer (preview, columns, download, filters)
|
|
20
|
+
|
|
10
21
|
## [0.4.0] — 2026-10-12
|
|
11
22
|
|
|
12
23
|
### Added
|
package/dist/aksui.css
CHANGED
|
@@ -111,7 +111,9 @@ button.side-rail-icon:hover,
|
|
|
111
111
|
button.side-rail-columns-toggle:hover,
|
|
112
112
|
button.filter-clear:hover,
|
|
113
113
|
button.snackbar-close:hover,
|
|
114
|
-
button.nav-drawer-close:hover
|
|
114
|
+
button.nav-drawer-close:hover,
|
|
115
|
+
button.tools-mobile-toggle:hover,
|
|
116
|
+
button.tools-drawer-close:hover {
|
|
115
117
|
transform: none;
|
|
116
118
|
}
|
|
117
119
|
|
|
@@ -1551,7 +1553,6 @@ button.sort-header.active .sort-indicator {
|
|
|
1551
1553
|
|
|
1552
1554
|
.row-actions-mobile {
|
|
1553
1555
|
display: none;
|
|
1554
|
-
position: relative;
|
|
1555
1556
|
}
|
|
1556
1557
|
|
|
1557
1558
|
button.row-action-menu-trigger {
|
|
@@ -1567,7 +1568,8 @@ button.row-action-menu-trigger svg {
|
|
|
1567
1568
|
height: 18px;
|
|
1568
1569
|
}
|
|
1569
1570
|
|
|
1570
|
-
button.row-action-menu-trigger:hover
|
|
1571
|
+
button.row-action-menu-trigger:hover,
|
|
1572
|
+
button.row-action-menu-trigger.open {
|
|
1571
1573
|
transform: none;
|
|
1572
1574
|
background: #f4f2ef;
|
|
1573
1575
|
color: var(--aks-brand);
|
|
@@ -1575,12 +1577,8 @@ button.row-action-menu-trigger:hover {
|
|
|
1575
1577
|
}
|
|
1576
1578
|
|
|
1577
1579
|
.row-action-menu {
|
|
1578
|
-
position: absolute;
|
|
1579
|
-
top: calc(100% + 4px);
|
|
1580
|
-
right: 0;
|
|
1581
|
-
z-index: 5;
|
|
1582
1580
|
display: grid;
|
|
1583
|
-
min-width:
|
|
1581
|
+
min-width: 160px;
|
|
1584
1582
|
padding: 6px;
|
|
1585
1583
|
border: 1px solid var(--aks-line);
|
|
1586
1584
|
border-radius: var(--aks-radius);
|
|
@@ -1588,10 +1586,15 @@ button.row-action-menu-trigger:hover {
|
|
|
1588
1586
|
box-shadow: 0 12px 28px rgba(30, 39, 53, 0.14);
|
|
1589
1587
|
}
|
|
1590
1588
|
|
|
1589
|
+
.row-action-menu-portal {
|
|
1590
|
+
position: fixed;
|
|
1591
|
+
z-index: 90;
|
|
1592
|
+
}
|
|
1593
|
+
|
|
1591
1594
|
.row-action-menu button {
|
|
1592
1595
|
justify-content: flex-start;
|
|
1593
1596
|
width: 100%;
|
|
1594
|
-
padding:
|
|
1597
|
+
padding: 10px 12px;
|
|
1595
1598
|
font-size: 13px;
|
|
1596
1599
|
font-weight: 600;
|
|
1597
1600
|
color: var(--aks-brand);
|
|
@@ -1608,6 +1611,13 @@ button.row-action-menu-trigger:hover {
|
|
|
1608
1611
|
box-shadow: none;
|
|
1609
1612
|
}
|
|
1610
1613
|
|
|
1614
|
+
/* Mobile tools bar + right drawer — hidden on desktop */
|
|
1615
|
+
.tools-mobile-bar,
|
|
1616
|
+
.tools-drawer-backdrop,
|
|
1617
|
+
.tools-drawer {
|
|
1618
|
+
display: none;
|
|
1619
|
+
}
|
|
1620
|
+
|
|
1611
1621
|
button.row-action {
|
|
1612
1622
|
padding: 4px 8px;
|
|
1613
1623
|
font-size: 12px;
|
|
@@ -1705,6 +1715,95 @@ button.row-action.danger:not(:disabled):hover {
|
|
|
1705
1715
|
}
|
|
1706
1716
|
|
|
1707
1717
|
@media (max-width: 900px) {
|
|
1718
|
+
.list-workspace {
|
|
1719
|
+
gap: 10px;
|
|
1720
|
+
}
|
|
1721
|
+
|
|
1722
|
+
.tools-mobile-bar {
|
|
1723
|
+
display: flex;
|
|
1724
|
+
align-items: center;
|
|
1725
|
+
justify-content: space-between;
|
|
1726
|
+
gap: 10px;
|
|
1727
|
+
flex: 0 0 auto;
|
|
1728
|
+
min-height: 48px;
|
|
1729
|
+
padding: 6px 8px 6px 10px;
|
|
1730
|
+
border: 1px solid var(--aks-line);
|
|
1731
|
+
border-radius: var(--aks-radius);
|
|
1732
|
+
background: #fff;
|
|
1733
|
+
}
|
|
1734
|
+
|
|
1735
|
+
.tools-mobile-bar-start {
|
|
1736
|
+
min-width: 0;
|
|
1737
|
+
flex: 1 1 auto;
|
|
1738
|
+
}
|
|
1739
|
+
|
|
1740
|
+
.tools-mobile-title {
|
|
1741
|
+
margin: 0;
|
|
1742
|
+
color: var(--aks-brand);
|
|
1743
|
+
font-size: 13px;
|
|
1744
|
+
font-weight: 700;
|
|
1745
|
+
white-space: nowrap;
|
|
1746
|
+
overflow: hidden;
|
|
1747
|
+
text-overflow: ellipsis;
|
|
1748
|
+
}
|
|
1749
|
+
|
|
1750
|
+
button.tools-mobile-add {
|
|
1751
|
+
display: inline-flex;
|
|
1752
|
+
align-items: center;
|
|
1753
|
+
gap: 6px;
|
|
1754
|
+
min-height: 36px;
|
|
1755
|
+
padding: 6px 12px;
|
|
1756
|
+
border-radius: var(--aks-radius);
|
|
1757
|
+
background: var(--aks-brand);
|
|
1758
|
+
color: #fff;
|
|
1759
|
+
font-size: 13px;
|
|
1760
|
+
font-weight: 600;
|
|
1761
|
+
box-shadow: none;
|
|
1762
|
+
}
|
|
1763
|
+
|
|
1764
|
+
button.tools-mobile-add svg {
|
|
1765
|
+
width: 16px;
|
|
1766
|
+
height: 16px;
|
|
1767
|
+
}
|
|
1768
|
+
|
|
1769
|
+
button.tools-mobile-add:hover {
|
|
1770
|
+
transform: none;
|
|
1771
|
+
background: #2a3546;
|
|
1772
|
+
box-shadow: none;
|
|
1773
|
+
}
|
|
1774
|
+
|
|
1775
|
+
button.tools-mobile-toggle {
|
|
1776
|
+
position: relative;
|
|
1777
|
+
display: inline-flex;
|
|
1778
|
+
align-items: center;
|
|
1779
|
+
gap: 6px;
|
|
1780
|
+
min-height: 36px;
|
|
1781
|
+
padding: 6px 12px;
|
|
1782
|
+
border: 1px solid var(--aks-line);
|
|
1783
|
+
border-radius: var(--aks-radius);
|
|
1784
|
+
background: #faf9f7;
|
|
1785
|
+
color: var(--aks-brand);
|
|
1786
|
+
font-size: 13px;
|
|
1787
|
+
font-weight: 600;
|
|
1788
|
+
box-shadow: none;
|
|
1789
|
+
}
|
|
1790
|
+
|
|
1791
|
+
button.tools-mobile-toggle svg {
|
|
1792
|
+
width: 16px;
|
|
1793
|
+
height: 16px;
|
|
1794
|
+
}
|
|
1795
|
+
|
|
1796
|
+
button.tools-mobile-toggle:hover {
|
|
1797
|
+
transform: none;
|
|
1798
|
+
background: #f0eeea;
|
|
1799
|
+
box-shadow: none;
|
|
1800
|
+
}
|
|
1801
|
+
|
|
1802
|
+
button.tools-mobile-toggle .filter-badge {
|
|
1803
|
+
position: static;
|
|
1804
|
+
margin-left: 2px;
|
|
1805
|
+
}
|
|
1806
|
+
|
|
1708
1807
|
.list-body {
|
|
1709
1808
|
flex-direction: column;
|
|
1710
1809
|
}
|
|
@@ -1714,30 +1813,101 @@ button.row-action.danger:not(:disabled):hover {
|
|
|
1714
1813
|
flex-direction: column;
|
|
1715
1814
|
}
|
|
1716
1815
|
|
|
1717
|
-
|
|
1718
|
-
.side-rail
|
|
1719
|
-
|
|
1720
|
-
width: 100%;
|
|
1721
|
-
flex-basis: auto;
|
|
1816
|
+
/* Desktop side-rail becomes a right drawer on small screens */
|
|
1817
|
+
.list-body > .side-rail {
|
|
1818
|
+
display: none;
|
|
1722
1819
|
}
|
|
1723
1820
|
|
|
1724
|
-
.
|
|
1725
|
-
flex-direction: row;
|
|
1726
|
-
align-items: center;
|
|
1821
|
+
.preview-panel {
|
|
1727
1822
|
width: 100%;
|
|
1728
1823
|
flex-basis: auto;
|
|
1729
|
-
order:
|
|
1824
|
+
order: 2;
|
|
1730
1825
|
}
|
|
1731
1826
|
|
|
1732
|
-
.
|
|
1733
|
-
display:
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
|
|
1827
|
+
.tools-drawer-backdrop {
|
|
1828
|
+
display: block;
|
|
1829
|
+
position: fixed;
|
|
1830
|
+
inset: 0;
|
|
1831
|
+
z-index: 55;
|
|
1832
|
+
border: 0;
|
|
1833
|
+
padding: 0;
|
|
1834
|
+
margin: 0;
|
|
1835
|
+
background: rgba(30, 39, 53, 0.42);
|
|
1836
|
+
opacity: 0;
|
|
1837
|
+
pointer-events: none;
|
|
1838
|
+
transition: opacity 160ms ease;
|
|
1839
|
+
box-shadow: none;
|
|
1840
|
+
}
|
|
1841
|
+
|
|
1842
|
+
.tools-drawer-backdrop.open {
|
|
1843
|
+
opacity: 1;
|
|
1844
|
+
pointer-events: auto;
|
|
1845
|
+
}
|
|
1846
|
+
|
|
1847
|
+
.tools-drawer {
|
|
1848
|
+
display: flex;
|
|
1849
|
+
flex-direction: column;
|
|
1850
|
+
position: fixed;
|
|
1851
|
+
top: 0;
|
|
1852
|
+
right: 0;
|
|
1853
|
+
bottom: 0;
|
|
1854
|
+
z-index: 60;
|
|
1855
|
+
width: min(320px, calc(100vw - 40px));
|
|
1856
|
+
background: #fff;
|
|
1857
|
+
border-left: 1px solid var(--aks-line);
|
|
1858
|
+
box-shadow: -12px 0 32px rgba(30, 39, 53, 0.18);
|
|
1859
|
+
transform: translateX(105%);
|
|
1860
|
+
transition: transform 180ms ease;
|
|
1861
|
+
pointer-events: none;
|
|
1862
|
+
}
|
|
1863
|
+
|
|
1864
|
+
.tools-drawer.open {
|
|
1865
|
+
transform: translateX(0);
|
|
1866
|
+
pointer-events: auto;
|
|
1867
|
+
}
|
|
1868
|
+
|
|
1869
|
+
.tools-drawer-head {
|
|
1870
|
+
display: flex;
|
|
1871
|
+
align-items: flex-start;
|
|
1872
|
+
justify-content: space-between;
|
|
1873
|
+
gap: 12px;
|
|
1874
|
+
flex: 0 0 auto;
|
|
1875
|
+
padding: 16px 16px 12px;
|
|
1876
|
+
border-bottom: 1px solid var(--aks-line);
|
|
1877
|
+
background: #faf9f7;
|
|
1878
|
+
}
|
|
1879
|
+
|
|
1880
|
+
.tools-drawer-kicker {
|
|
1881
|
+
margin: 0;
|
|
1882
|
+
color: var(--aks-accent);
|
|
1883
|
+
font-size: 11px;
|
|
1884
|
+
font-weight: 700;
|
|
1885
|
+
letter-spacing: 0.06em;
|
|
1886
|
+
text-transform: uppercase;
|
|
1887
|
+
}
|
|
1888
|
+
|
|
1889
|
+
.tools-drawer-head h3 {
|
|
1890
|
+
margin: 2px 0 0;
|
|
1891
|
+
color: var(--aks-brand);
|
|
1892
|
+
font-size: 16px;
|
|
1893
|
+
font-weight: 700;
|
|
1894
|
+
}
|
|
1895
|
+
|
|
1896
|
+
button.tools-drawer-close {
|
|
1897
|
+
padding: 6px 10px;
|
|
1898
|
+
font-size: 12px;
|
|
1899
|
+
box-shadow: none;
|
|
1900
|
+
}
|
|
1901
|
+
|
|
1902
|
+
.tools-drawer-body {
|
|
1903
|
+
flex: 1 1 auto;
|
|
1904
|
+
min-height: 0;
|
|
1905
|
+
overflow: auto;
|
|
1906
|
+
padding: 14px;
|
|
1737
1907
|
}
|
|
1738
1908
|
|
|
1739
|
-
.side-rail
|
|
1740
|
-
|
|
1909
|
+
.tools-drawer-body .side-rail-body {
|
|
1910
|
+
padding: 0;
|
|
1741
1911
|
}
|
|
1742
1912
|
|
|
1743
1913
|
.table-card-bar {
|