@lolmath/ui 0.0.0-20260901231349 → 0.0.0-20260902190338
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/index.css +43 -26
- package/dist/index.mjs +7 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1533,7 +1533,7 @@
|
|
|
1533
1533
|
}
|
|
1534
1534
|
}
|
|
1535
1535
|
@layer lol {
|
|
1536
|
-
.
|
|
1536
|
+
._tree_spjot_2 {
|
|
1537
1537
|
--lol-navigation-tree-indent: 1.125rem;
|
|
1538
1538
|
|
|
1539
1539
|
box-sizing: border-box;
|
|
@@ -1547,16 +1547,16 @@
|
|
|
1547
1547
|
font-weight: var(--lol-font-weight-sm);
|
|
1548
1548
|
}
|
|
1549
1549
|
|
|
1550
|
-
.
|
|
1550
|
+
._item_spjot_16 {
|
|
1551
1551
|
display: flex;
|
|
1552
|
-
/* The link
|
|
1553
|
-
target, not just the text. */
|
|
1552
|
+
/* The link and the chevron stretch to the row's full height so the whole
|
|
1553
|
+
row is the target, not just the text. */
|
|
1554
1554
|
align-items: stretch;
|
|
1555
|
-
gap: 0.
|
|
1555
|
+
gap: 0.25rem;
|
|
1556
1556
|
/* Rows are flattened siblings, so the nesting comes from the level react
|
|
1557
1557
|
aria exposes on each row rather than from the DOM. */
|
|
1558
1558
|
padding-inline: calc(
|
|
1559
|
-
0.
|
|
1559
|
+
0.25rem +
|
|
1560
1560
|
(var(--tree-item-level) - 1) *
|
|
1561
1561
|
var(--lol-navigation-tree-indent)
|
|
1562
1562
|
)
|
|
@@ -1633,11 +1633,11 @@
|
|
|
1633
1633
|
|
|
1634
1634
|
/* Top-level items are separated by the client's faint gold hairline. The
|
|
1635
1635
|
sibling combinator keeps it off the first row, whichever level follows. */
|
|
1636
|
-
.
|
|
1636
|
+
._item_spjot_16 + ._item_spjot_16[data-level="1"] {
|
|
1637
1637
|
border-top: 1px solid var(--lol-color-gold-600);
|
|
1638
1638
|
}
|
|
1639
1639
|
|
|
1640
|
-
.
|
|
1640
|
+
._link_spjot_106 {
|
|
1641
1641
|
flex: 1;
|
|
1642
1642
|
min-width: 0;
|
|
1643
1643
|
padding-block: 0.375rem;
|
|
@@ -1657,7 +1657,7 @@
|
|
|
1657
1657
|
}
|
|
1658
1658
|
}
|
|
1659
1659
|
|
|
1660
|
-
.
|
|
1660
|
+
._chevron_spjot_126 {
|
|
1661
1661
|
/* A <button> we never paint: without this it falls back to the UA's
|
|
1662
1662
|
`buttonface` slab, which is grey under `color-scheme: dark`. */
|
|
1663
1663
|
appearance: none;
|
|
@@ -1667,56 +1667,73 @@
|
|
|
1667
1667
|
font: inherit;
|
|
1668
1668
|
letter-spacing: inherit;
|
|
1669
1669
|
color: inherit;
|
|
1670
|
+
background: none;
|
|
1670
1671
|
|
|
1672
|
+
position: relative;
|
|
1671
1673
|
flex: none;
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1674
|
+
/* The arrow is eight pixels across, which is not something to ask anyone
|
|
1675
|
+
to hit. The button is the target rather than the drawing — the row's
|
|
1676
|
+
full height and wide enough to land on — and ::after does the drawing,
|
|
1677
|
+
so turning the arrow does not turn the target with it. */
|
|
1678
|
+
align-self: stretch;
|
|
1679
|
+
width: 1.5rem;
|
|
1675
1680
|
outline: none;
|
|
1676
1681
|
cursor: pointer;
|
|
1677
1682
|
|
|
1678
1683
|
--lol-navigation-tree-chevron: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAoCAYAAADg+OpoAAABF0lEQVR42r3WMY7CQAxA0R8r2oobUMBB9hTLPegguQJUNHuJLbZb7RU4BvQIiZaKJiNFo0wy8dhYiiJNLD+N5RmlOv9sGYgtsAQajKJOICeg6p69BSQjCMAOOFpDMYIlJhOIGSbAqitSTeQWYQJcgQ3wzMhXY6F1f8CXJ9YfBlcsHm83TAbWXDBJrJtjMvLNFJOJAmaYZBQwwSRzaIoxmXEUijCZecDVmCiuLRVWKy/jgP0CHxmYakchHpm7ArhpoU/gH1hk5DbAUd6BaFqnQuZCamQOVITkQsVIDmSCTEFmyBhkiqQgc2QIckFiyA3pQ65IgNbeSIAuwLcn0m9dCxy8kHgYUlgxMjTeMWaCpP4Z2u59t0IAXn+VXtMKZ5riAAAAAElFTkSuQmCC");
|
|
1679
|
-
|
|
1680
|
-
|
|
1684
|
+
|
|
1685
|
+
&::after {
|
|
1686
|
+
content: "";
|
|
1687
|
+
position: absolute;
|
|
1688
|
+
inset: 0;
|
|
1689
|
+
/* Sized off the height so the arrow stays what it was, whatever the
|
|
1690
|
+
button around it grows to. */
|
|
1691
|
+
background:
|
|
1692
|
+
var(--lol-navigation-tree-chevron) no-repeat center / auto 0.75rem;
|
|
1693
|
+
transition: rotate 0.15s ease;
|
|
1694
|
+
/* The target is the button's box, never this one's rotated box. */
|
|
1695
|
+
pointer-events: none;
|
|
1696
|
+
}
|
|
1681
1697
|
|
|
1682
1698
|
@media (prefers-reduced-motion: reduce) {
|
|
1683
|
-
|
|
1699
|
+
&::after {
|
|
1700
|
+
transition: none;
|
|
1701
|
+
}
|
|
1684
1702
|
}
|
|
1685
1703
|
|
|
1686
1704
|
&[data-focus-visible] {
|
|
1687
1705
|
outline: 1px solid var(--lol-color-gold-400);
|
|
1688
|
-
outline-offset:
|
|
1706
|
+
outline-offset: -1px;
|
|
1689
1707
|
}
|
|
1690
1708
|
}
|
|
1691
1709
|
|
|
1692
|
-
.
|
|
1710
|
+
._chevronSpacer_spjot_176 {
|
|
1693
1711
|
flex: none;
|
|
1694
|
-
|
|
1695
|
-
width: 0.5rem;
|
|
1712
|
+
width: 1.5rem;
|
|
1696
1713
|
}
|
|
1697
1714
|
|
|
1698
|
-
.
|
|
1715
|
+
._item_spjot_16[data-expanded] ._chevron_spjot_126::after {
|
|
1699
1716
|
rotate: 90deg;
|
|
1700
1717
|
}
|
|
1701
1718
|
|
|
1702
|
-
.
|
|
1703
|
-
.
|
|
1704
|
-
.
|
|
1719
|
+
._item_spjot_16[data-hovered] ._chevron_spjot_126,
|
|
1720
|
+
._chevron_spjot_126[data-hovered],
|
|
1721
|
+
._chevron_spjot_126[data-focus-visible] {
|
|
1705
1722
|
--lol-navigation-tree-chevron: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAoCAYAAADg+OpoAAABGElEQVR42r3WO47CMBCA4T+jaCtuQLEcZE+x3IOOxxVIRcM1tlvtPTgBNFQIQUu1TSxFVpw44xlGiiI5o/nk0dhK9bie6IkVMAe2GEWdQA5A1T4bC0gGEIA10FhDMYIlJiOIGSbAZ1ukGsktwgS4AEvglZGvxkLrfoFvT6w7DK5YPN5umPSsuWCSWDfHZOCbKSYjBcwwyShggknm0BRjMuEoFGEy8YCrMVFcWyqsVl7GAfsBPjIw1Y5CPDN3BXDTQl/AHzDLyN0CjbwD0bROhUyF1MgUqAjJhYqRHMgEGYPMkCHIFElB5kgf5ILEkBvShVyRAC28kQCdgaMn0m3dDth7IfEwpLBipG+8Y8wESf0z7Nr33QoB+AdPzF+bRdCP8QAAAABJRU5ErkJggg==");
|
|
1706
1723
|
}
|
|
1707
1724
|
|
|
1708
|
-
.
|
|
1725
|
+
._item_spjot_16[data-disabled] ._chevron_spjot_126 {
|
|
1709
1726
|
cursor: default;
|
|
1710
1727
|
filter: grayscale(100%);
|
|
1711
1728
|
}
|
|
1712
1729
|
|
|
1713
1730
|
/* Sections are separated by the same hairline as top-level rows, so a header
|
|
1714
1731
|
and a first-level row read as one break rather than two. */
|
|
1715
|
-
.
|
|
1732
|
+
._section_spjot_198 + ._section_spjot_198 {
|
|
1716
1733
|
border-top: 1px solid var(--lol-color-gold-600);
|
|
1717
1734
|
}
|
|
1718
1735
|
|
|
1719
|
-
.
|
|
1736
|
+
._header_spjot_202 {
|
|
1720
1737
|
padding: 0.75rem 0.75rem 0.25rem;
|
|
1721
1738
|
|
|
1722
1739
|
font-family: var(--lol-font-family-beaufort);
|
package/dist/index.mjs
CHANGED
|
@@ -1010,13 +1010,13 @@ function DialogButtons({ children }) {
|
|
|
1010
1010
|
//#endregion
|
|
1011
1011
|
//#region src/components/navigation-tree/navigation-tree.module.css
|
|
1012
1012
|
var navigation_tree_module_default = {
|
|
1013
|
-
"tree": "
|
|
1014
|
-
"item": "
|
|
1015
|
-
"link": "
|
|
1016
|
-
"chevron": "
|
|
1017
|
-
"chevronSpacer": "
|
|
1018
|
-
"section": "
|
|
1019
|
-
"header": "
|
|
1013
|
+
"tree": "_tree_spjot_2",
|
|
1014
|
+
"item": "_item_spjot_16",
|
|
1015
|
+
"link": "_link_spjot_106",
|
|
1016
|
+
"chevron": "_chevron_spjot_126",
|
|
1017
|
+
"chevronSpacer": "_chevronSpacer_spjot_176",
|
|
1018
|
+
"section": "_section_spjot_198",
|
|
1019
|
+
"header": "_header_spjot_202"
|
|
1020
1020
|
};
|
|
1021
1021
|
//#endregion
|
|
1022
1022
|
//#region src/components/navigation-tree/navigation-tree.tsx
|