@toclocoinc/lattice-grid 1.60.0 → 1.62.0
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/README.md +1 -1
- package/docs/API.html +21 -17
- package/docs/api-detail.html +863 -17
- package/lattice-grid.d.ts +22 -11
- package/lattice-grid.esm.min.js +614 -49
- package/lattice-grid.min.cjs +614 -49
- package/lattice-grid.min.css +1 -1
- package/lattice-grid.min.js +614 -49
- package/modules/ai.d.ts +11 -2
- package/modules/ai.esm.min.js +24 -4
- package/modules/ai.min.cjs +24 -4
- package/modules/ai.min.js +24 -4
- package/modules/angular.d.ts +1 -1
- package/modules/angular.esm.min.js +2 -2
- package/modules/angular.min.cjs +2 -2
- package/modules/angular.min.js +2 -2
- package/modules/chart-alluvial.d.ts +1 -1
- package/modules/chart-alluvial.esm.min.js +1 -1
- package/modules/chart-arc.d.ts +1 -1
- package/modules/chart-arc.esm.min.js +1 -1
- package/modules/chart-bubblemap.d.ts +1 -1
- package/modules/chart-bubblemap.esm.min.js +1 -1
- package/modules/chart-bump.d.ts +1 -1
- package/modules/chart-bump.esm.min.js +1 -1
- package/modules/chart-calendar.d.ts +1 -1
- package/modules/chart-calendar.esm.min.js +1 -1
- package/modules/chart-decomposition.d.ts +1 -1
- package/modules/chart-decomposition.esm.min.js +1 -1
- package/modules/chart-diverging.d.ts +1 -1
- package/modules/chart-diverging.esm.min.js +1 -1
- package/modules/chart-dumbbell.d.ts +1 -1
- package/modules/chart-dumbbell.esm.min.js +1 -1
- package/modules/chart-fan.d.ts +1 -1
- package/modules/chart-fan.esm.min.js +1 -1
- package/modules/chart-hexbin.d.ts +1 -1
- package/modules/chart-hexbin.esm.min.js +1 -1
- package/modules/chart-hexmap.d.ts +1 -1
- package/modules/chart-hexmap.esm.min.js +1 -1
- package/modules/chart-icicle.d.ts +1 -1
- package/modules/chart-icicle.esm.min.js +1 -1
- package/modules/chart-parallel.d.ts +1 -1
- package/modules/chart-parallel.esm.min.js +1 -1
- package/modules/chart-ridgeline.d.ts +1 -1
- package/modules/chart-ridgeline.esm.min.js +1 -1
- package/modules/chart-roc.d.ts +1 -1
- package/modules/chart-roc.esm.min.js +1 -1
- package/modules/chart-slope.d.ts +1 -1
- package/modules/chart-slope.esm.min.js +1 -1
- package/modules/chart-splom.d.ts +1 -1
- package/modules/chart-splom.esm.min.js +1 -1
- package/modules/chart-waffle.d.ts +1 -1
- package/modules/chart-waffle.esm.min.js +1 -1
- package/modules/charts.d.ts +1 -1
- package/modules/charts.esm.min.js +48 -15
- package/modules/charts.min.cjs +48 -15
- package/modules/charts.min.js +48 -15
- package/modules/data-router.d.ts +1 -1
- package/modules/data-router.esm.min.js +4 -4
- package/modules/data-router.min.cjs +4 -4
- package/modules/data-router.min.js +4 -4
- package/modules/devtools.d.ts +1 -1
- package/modules/devtools.esm.min.js +2 -2
- package/modules/devtools.min.cjs +2 -2
- package/modules/devtools.min.js +2 -2
- package/modules/dhtmlx-compat.d.ts +1 -1
- package/modules/dhtmlx-compat.esm.min.js +4 -4
- package/modules/dhtmlx-compat.min.cjs +4 -4
- package/modules/dhtmlx-compat.min.js +4 -4
- package/modules/gantt.d.ts +144 -12
- package/modules/gantt.esm.min.js +1070 -201
- package/modules/gantt.min.cjs +1070 -201
- package/modules/gantt.min.js +1070 -201
- package/modules/htmx.d.ts +1 -1
- package/modules/htmx.esm.min.js +614 -49
- package/modules/htmx.min.cjs +614 -49
- package/modules/htmx.min.js +614 -49
- package/modules/kanban.d.ts +1 -1
- package/modules/kanban.esm.min.js +4 -4
- package/modules/kanban.min.cjs +4 -4
- package/modules/kanban.min.js +4 -4
- package/modules/kpi.d.ts +1 -1
- package/modules/kpi.esm.min.js +19 -6
- package/modules/kpi.min.cjs +19 -6
- package/modules/kpi.min.js +19 -6
- package/modules/layout.d.ts +1 -1
- package/modules/layout.esm.min.js +4 -4
- package/modules/layout.min.cjs +4 -4
- package/modules/layout.min.js +4 -4
- package/modules/mock-socket.d.ts +1 -1
- package/modules/mock-socket.esm.min.js +2 -2
- package/modules/mock-socket.min.cjs +2 -2
- package/modules/mock-socket.min.js +2 -2
- package/modules/react.d.ts +1 -1
- package/modules/react.esm.min.js +2 -2
- package/modules/react.min.cjs +2 -2
- package/modules/react.min.js +2 -2
- package/modules/svelte.d.ts +1 -1
- package/modules/svelte.esm.min.js +2 -2
- package/modules/svelte.min.cjs +2 -2
- package/modules/svelte.min.js +2 -2
- package/modules/tabs.d.ts +1 -1
- package/modules/tabs.esm.min.js +11 -4
- package/modules/tabs.min.cjs +11 -4
- package/modules/tabs.min.js +11 -4
- package/modules/vue.d.ts +1 -1
- package/modules/vue.esm.min.js +2 -2
- package/modules/vue.min.cjs +2 -2
- package/modules/vue.min.js +2 -2
- package/modules/webcomponent.d.ts +1 -1
- package/modules/webcomponent.esm.min.js +614 -49
- package/modules/webcomponent.min.cjs +614 -49
- package/modules/webcomponent.min.js +614 -49
- package/package.json +1 -1
package/lattice-grid.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Lattice Grid 1.
|
|
2
|
+
* Lattice Grid 1.62.0, type declarations
|
|
3
3
|
* Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
|
|
4
4
|
* https://latticegrid.dev
|
|
5
5
|
*/
|
|
@@ -72,14 +72,17 @@ export type Align = 'start' | 'center' | 'end' | 'left' | 'right' | 'centre';
|
|
|
72
72
|
*/
|
|
73
73
|
export type VAlign = 'top' | 'middle' | 'bottom';
|
|
74
74
|
/**
|
|
75
|
-
*
|
|
76
|
-
*
|
|
75
|
+
* How the grid's scroll viewport draws its scrollbars (BACKLOG-0000990,
|
|
76
|
+
* BACKLOG-0001288).
|
|
77
77
|
*
|
|
78
78
|
* `auto` is the platform's native behaviour — overlay scrollbars fade away when
|
|
79
|
-
* idle. `always` keeps
|
|
80
|
-
* grid, so the affordance never disappears on a touchpad or an overlay OS.
|
|
79
|
+
* idle. `always` keeps that native bar shown whether or not the pointer is over
|
|
80
|
+
* the grid, so the affordance never disappears on a touchpad or an overlay OS.
|
|
81
|
+
* `custom` replaces it with a bar the grid draws itself: the same size, colour
|
|
82
|
+
* and hit area in every browser, sized by the `--lattice-scrollbar-*` tokens,
|
|
83
|
+
* for a target bigger than the platform's own thin overlay ribbon.
|
|
81
84
|
*/
|
|
82
|
-
export type ScrollbarMode = 'auto' | 'always';
|
|
85
|
+
export type ScrollbarMode = 'auto' | 'always' | 'custom';
|
|
83
86
|
/**
|
|
84
87
|
* A named preset, or a raw scale where 1 is `standard`. Row heights are
|
|
85
88
|
* 23.8 / 28 / 42 / 56px for the four presets; a number scales 28px.
|
|
@@ -2079,13 +2082,21 @@ export interface GridConfig {
|
|
|
2079
2082
|
tooltip?: TooltipConfig;
|
|
2080
2083
|
|
|
2081
2084
|
/**
|
|
2082
|
-
*
|
|
2085
|
+
* How the scroll viewport's scrollbars are drawn (BACKLOG-0000990,
|
|
2086
|
+
* BACKLOG-0001288).
|
|
2083
2087
|
*
|
|
2084
2088
|
* `'auto'` (the default) is the platform's native behaviour, where overlay
|
|
2085
|
-
* scrollbars fade when idle. `'always'` keeps
|
|
2086
|
-
* the pointer is over the grid.
|
|
2087
|
-
* own
|
|
2088
|
-
*
|
|
2089
|
+
* scrollbars fade when idle. `'always'` keeps that native bar shown whether
|
|
2090
|
+
* or not the pointer is over the grid. `'custom'` makes the grid draw its
|
|
2091
|
+
* own bar on each axis instead — always visible, the same in every browser,
|
|
2092
|
+
* and sized by `--lattice-scrollbar-size` / `--lattice-scrollbar-thumb-min`
|
|
2093
|
+
* rather than by the platform. Scrolling itself is unchanged in every mode.
|
|
2094
|
+
*
|
|
2095
|
+
* The object form controls each axis on its own — `{ y: 'always' }` pins the
|
|
2096
|
+
* vertical bar while the horizontal one stays native. Note that `'custom'` on
|
|
2097
|
+
* one axis hides the native bar on both, because no browser offers per-axis
|
|
2098
|
+
* control of that; the grid warns once if the two axes disagree. Omitted, the
|
|
2099
|
+
* grid is unchanged on upgrade.
|
|
2089
2100
|
*/
|
|
2090
2101
|
scrollbars?: ScrollbarMode | { x?: ScrollbarMode; y?: ScrollbarMode };
|
|
2091
2102
|
|