gridsmith-ui 0.17.2 → 0.17.3
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/charts.d.ts +88 -24
- package/dist/charts.js +1043 -398
- package/dist/charts.js.map +1 -1
- package/dist/index.d.ts +41 -7
- package/dist/index.js +307 -200
- package/dist/index.js.map +1 -1
- package/dist/roots.css +14 -0
- package/package.json +1 -1
package/dist/roots.css
CHANGED
|
@@ -87,6 +87,8 @@
|
|
|
87
87
|
--ds-chart-height-sm: 12rem;
|
|
88
88
|
--ds-chart-height-md: 16rem;
|
|
89
89
|
--ds-chart-height-lg: 20rem;
|
|
90
|
+
/* one row of a row chart (a sideways bar, a funnel stage takes 1.5): Sprint 25.9, A2 */
|
|
91
|
+
--ds-chart-row: 2rem;
|
|
90
92
|
|
|
91
93
|
--ds-control-height-sm: max(28px, calc(32px * var(--ds-density)));
|
|
92
94
|
--ds-control-height-md: max(36px, calc(32px * var(--ds-density) + 8px));
|
|
@@ -658,6 +660,18 @@ body {
|
|
|
658
660
|
margin-top: var(--ds-space-4);
|
|
659
661
|
}
|
|
660
662
|
|
|
663
|
+
/* A narrow settings page makes room for its rail (Sprint 25.9, A4). PageContainer reads its narrow width as
|
|
664
|
+
var(--ds-page-max, var(--ds-bp-md)) — the column, the header's column, an outside header and the contained
|
|
665
|
+
breadcrumbs — so a narrow container holding a settings rail, at any depth, grows by the rail (220 px) and its gap,
|
|
666
|
+
and the panel beside the rail keeps the narrow width. The rule matches the collapsed dropdown too (the same
|
|
667
|
+
data-settings-layout), so the page's width never depends on the collapse: were the page to narrow with it, the rail
|
|
668
|
+
could never come back. The tabs layout and pages without settings keep the narrow width; without :has() the page
|
|
669
|
+
stays narrow, as before. */
|
|
670
|
+
/* data-width is on PageContainer's root in both branches, so a settings page with no PageHeader widens too */
|
|
671
|
+
[data-width="narrow"]:has([data-settings-layout="sidebar"]) {
|
|
672
|
+
--ds-page-max: calc(var(--ds-bp-md) + 220px + var(--ds-space-8));
|
|
673
|
+
}
|
|
674
|
+
|
|
661
675
|
/* ── Shadow Mode: Neumorphic ────────────────────────────────────
|
|
662
676
|
Dual opposing shadows: dark bottom-right + bright top-left.
|
|
663
677
|
Responsive to offset/blur/alpha sliders via root variables.
|
package/package.json
CHANGED