@toclocoinc/lattice-grid 1.7.0 → 1.7.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/README.md +1 -1
- package/docs/API.html +8 -8
- package/docs/api-detail.html +7 -7
- package/lattice-grid.d.ts +1 -1
- package/lattice-grid.esm.min.js +25 -13
- package/lattice-grid.min.cjs +25 -13
- package/lattice-grid.min.css +1 -1
- package/lattice-grid.min.js +25 -13
- package/modules/devtools.esm.min.js +2 -2
- package/modules/dhtmlx-compat.esm.min.js +25 -13
- package/modules/htmx.esm.min.js +25 -13
- package/modules/htmx.min.cjs +25 -13
- package/modules/htmx.min.js +25 -13
- package/modules/react.esm.min.js +2 -2
- package/modules/svelte.esm.min.js +2 -2
- package/modules/vue.esm.min.js +2 -2
- package/modules/webcomponent.esm.min.js +25 -13
- package/package.json +1 -1
- package/docs/AI-SKILL.md +0 -461
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
dependencies, no build step required. Optional adapters for React, Vue, Svelte
|
|
5
5
|
and Web Components ship alongside it.
|
|
6
6
|
|
|
7
|
-
Version 1.7.
|
|
7
|
+
Version 1.7.1 · [latticegrid.dev](https://www.latticegrid.dev) · TOCLOCO Inc
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
package/docs/API.html
CHANGED
|
@@ -360,7 +360,7 @@
|
|
|
360
360
|
<div class="shell">
|
|
361
361
|
<aside class="rail">
|
|
362
362
|
<p class="rail__brand">Lattice Grid</p>
|
|
363
|
-
<p class="rail__sub">API reference · v1.7.
|
|
363
|
+
<p class="rail__sub">API reference · v1.7.1</p>
|
|
364
364
|
<nav>
|
|
365
365
|
<div class="rail__group">
|
|
366
366
|
<span class="rail__label">Start</span>
|
|
@@ -437,7 +437,7 @@
|
|
|
437
437
|
</header>
|
|
438
438
|
|
|
439
439
|
<p class="chips">
|
|
440
|
-
<span class="chip">Version 1.7.
|
|
440
|
+
<span class="chip">Version 1.7.1</span>
|
|
441
441
|
<span class="chip">Zero dependencies</span>
|
|
442
442
|
<span class="chip"><a href="api-detail.html">Developer guide →</a></span>
|
|
443
443
|
</p>
|
|
@@ -455,8 +455,8 @@
|
|
|
455
455
|
|
|
456
456
|
<p>Or straight from jsDelivr — no npm install, no bundler, no local copy at all:</p>
|
|
457
457
|
|
|
458
|
-
<pre><code><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@toclocoinc/lattice-grid@1.7.
|
|
459
|
-
<script src="https://cdn.jsdelivr.net/npm/@toclocoinc/lattice-grid@1.7.
|
|
458
|
+
<pre><code><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@toclocoinc/lattice-grid@1.7.1/lattice-grid.min.css">
|
|
459
|
+
<script src="https://cdn.jsdelivr.net/npm/@toclocoinc/lattice-grid@1.7.1/lattice-grid.min.js"></script>
|
|
460
460
|
|
|
461
461
|
<script>
|
|
462
462
|
<span class="kw">const</span> grid = LatticeGrid.createGrid(document.getElementById('grid'), config);
|
|
@@ -467,7 +467,7 @@
|
|
|
467
467
|
<pre><code><span class="cmt">// With a renderer, in a browser. Any of:</span>
|
|
468
468
|
<span class="kw">import</span> { createGrid } <span class="kw">from</span> './dist/lattice-grid.esm.js';
|
|
469
469
|
<span class="cmt">// import { createGrid } from '@toclocoinc/lattice-grid';</span>
|
|
470
|
-
<span class="cmt">// import { createGrid } from 'https://cdn.jsdelivr.net/npm/@toclocoinc/lattice-grid@1.7.
|
|
470
|
+
<span class="cmt">// import { createGrid } from 'https://cdn.jsdelivr.net/npm/@toclocoinc/lattice-grid@1.7.1/lattice-grid.esm.min.js';</span>
|
|
471
471
|
<span class="kw">const</span> grid = createGrid(document.getElementById('grid'), config);
|
|
472
472
|
|
|
473
473
|
<span class="cmt">// Headless: the same API without a renderer. Data, filters, sort,</span>
|
|
@@ -479,7 +479,7 @@
|
|
|
479
479
|
|
|
480
480
|
<div class="note"><p>jsDelivr mirrors every version published to npm at
|
|
481
481
|
<code>cdn.jsdelivr.net/npm/@toclocoinc/lattice-grid@<version>/<file></code>. Pin an exact
|
|
482
|
-
version for anything shipped — <code>@1.7.
|
|
482
|
+
version for anything shipped — <code>@1.7.1</code>, not <code>@latest</code> — so a release does
|
|
483
483
|
not change what a page already in production loads. The same convention reaches any module:
|
|
484
484
|
<code>.../modules/htmx.esm.min.js</code>, <code>.../modules/react.esm.min.js</code>, and so on.</p></div>
|
|
485
485
|
|
|
@@ -930,7 +930,7 @@ autoInit(document); <span class="cmt">// builds every [data-lattice-grid] under
|
|
|
930
930
|
<table>
|
|
931
931
|
<thead><tr><th>Member</th><th>Returns</th><th>Description</th></tr></thead>
|
|
932
932
|
<tbody>
|
|
933
|
-
<tr><td class="sig">getVersion()</td><td class="type">string</td><td class="desc">The version this grid came from, e.g. <code>'1.7.
|
|
933
|
+
<tr><td class="sig">getVersion()</td><td class="type">string</td><td class="desc">The version this grid came from, e.g. <code>'1.7.1'</code>. Also on the module as <code>getVersion()</code>, for when you have no grid to hand.</td></tr>
|
|
934
934
|
<tr><td class="sig">get(key)</td><td class="type">unknown</td><td class="desc">Read any configuration key.</td></tr>
|
|
935
935
|
<tr><td class="sig">set(key, value)</td><td class="type">void</td><td class="desc">Write one key. Every key is live; nothing needs a rebuild.</td></tr>
|
|
936
936
|
<tr><td class="sig">setAll(values)</td><td class="type">void</td><td class="desc">Write several in one pass. Emits one <code>config:changed</code> for the batch, not one per key.</td></tr>
|
|
@@ -2332,7 +2332,7 @@ createGrid(el, {
|
|
|
2332
2332
|
</div>
|
|
2333
2333
|
|
|
2334
2334
|
<footer>
|
|
2335
|
-
Lattice Grid 1.7.
|
|
2335
|
+
Lattice Grid 1.7.1 · Copyright © 2026 TOCLOCO Inc. All rights reserved.
|
|
2336
2336
|
This document describes the behaviour of the shipped library. Where this guide and the code
|
|
2337
2337
|
disagree, the code wins — please <a href="https://www.latticegrid.dev">tell us</a>.
|
|
2338
2338
|
</footer>
|
package/docs/api-detail.html
CHANGED
|
@@ -437,7 +437,7 @@
|
|
|
437
437
|
<div class="shell">
|
|
438
438
|
<aside class="rail">
|
|
439
439
|
<p class="rail__brand">Lattice Grid</p>
|
|
440
|
-
<p class="rail__sub">Developer guide · v1.7.
|
|
440
|
+
<p class="rail__sub">Developer guide · v1.7.1</p>
|
|
441
441
|
<nav>
|
|
442
442
|
<div class="rail__group">
|
|
443
443
|
<span class="rail__label">Start here</span>
|
|
@@ -537,7 +537,7 @@
|
|
|
537
537
|
<a href="API.html">reference tables</a> are the shorter version for when you already know.
|
|
538
538
|
</p>
|
|
539
539
|
<p class="chips">
|
|
540
|
-
<span class="chip">Version 1.7.
|
|
540
|
+
<span class="chip">Version 1.7.1</span>
|
|
541
541
|
<span class="chip">Zero dependencies</span>
|
|
542
542
|
<span class="chip">No build step</span>
|
|
543
543
|
</p>
|
|
@@ -652,8 +652,8 @@ createGrid(element, { direction: 'rtl' }); <span class="cmt">// or say so out
|
|
|
652
652
|
|
|
653
653
|
<div class="example">
|
|
654
654
|
<p class="example__label">jsDelivr — no npm install, no bundler</p>
|
|
655
|
-
<pre><code><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@toclocoinc/lattice-grid@1.7.
|
|
656
|
-
<script src="https://cdn.jsdelivr.net/npm/@toclocoinc/lattice-grid@1.7.
|
|
655
|
+
<pre><code><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@toclocoinc/lattice-grid@1.7.1/lattice-grid.min.css">
|
|
656
|
+
<script src="https://cdn.jsdelivr.net/npm/@toclocoinc/lattice-grid@1.7.1/lattice-grid.min.js"></script>
|
|
657
657
|
|
|
658
658
|
<script>
|
|
659
659
|
<span class="kw">const</span> grid = LatticeGrid.createGrid(document.getElementById('grid'), config);
|
|
@@ -679,7 +679,7 @@ createGrid(element, { direction: 'rtl' }); <span class="cmt">// or say so out
|
|
|
679
679
|
<div class="note">
|
|
680
680
|
<p><strong>jsDelivr mirrors every version published to npm</strong> at
|
|
681
681
|
<code>cdn.jsdelivr.net/npm/@toclocoinc/lattice-grid@<version>/<file></code> — pin an
|
|
682
|
-
exact version, e.g. <code>@1.7.
|
|
682
|
+
exact version, e.g. <code>@1.7.1</code> rather than <code>@latest</code>, so a later release
|
|
683
683
|
does not change what a page already in production loads. The same convention reaches a
|
|
684
684
|
module: <code>.../modules/htmx.esm.min.js</code>, <code>.../modules/dhtmlx-compat.esm.min.js</code>,
|
|
685
685
|
and so on. Type declarations resolve automatically through npm's own <code>types</code> field;
|
|
@@ -1168,7 +1168,7 @@ off(); <span class="cmt">// every subscrip
|
|
|
1168
1168
|
</p>
|
|
1169
1169
|
<div class="example">
|
|
1170
1170
|
<p class="example__label">Which version am I running?</p>
|
|
1171
|
-
<pre><code>grid.getVersion(); <span class="cmt">// '1.7.
|
|
1171
|
+
<pre><code>grid.getVersion(); <span class="cmt">// '1.7.1'</span>
|
|
1172
1172
|
LatticeGrid.getVersion(); <span class="cmt">// the same, when you have no grid to hand</span></code></pre>
|
|
1173
1173
|
</div>
|
|
1174
1174
|
<p class="lead-in">
|
|
@@ -5124,7 +5124,7 @@ grid.licence.state(); <span class="cmt">// 'licensed' | 'localhost' | 'trial'<
|
|
|
5124
5124
|
|
|
5125
5125
|
<footer>
|
|
5126
5126
|
<p>
|
|
5127
|
-
Lattice Grid 1.7.
|
|
5127
|
+
Lattice Grid 1.7.1 · Copyright © 2026 TOCLOCO Inc. All rights reserved.
|
|
5128
5128
|
Written against the shipped source. Where this guide and the code disagree, the code wins —
|
|
5129
5129
|
please <a href="https://www.latticegrid.dev">tell us</a>.
|
|
5130
5130
|
</p>
|
package/lattice-grid.d.ts
CHANGED