@toclocoinc/lattice-grid 1.62.0 → 1.62.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.
Files changed (148) hide show
  1. package/README.md +23 -8
  2. package/docs/API.html +4 -4
  3. package/docs/api-detail.html +4 -4
  4. package/lattice-grid.d.ts +1 -1
  5. package/lattice-grid.esm.min.js +74 -15
  6. package/lattice-grid.min.cjs +74 -15
  7. package/lattice-grid.min.js +74 -15
  8. package/modules/ai.d.ts +1 -1
  9. package/modules/ai.esm.min.js +4 -4
  10. package/modules/ai.min.cjs +4 -4
  11. package/modules/ai.min.js +4 -4
  12. package/modules/angular.d.ts +1 -1
  13. package/modules/angular.esm.min.js +2 -2
  14. package/modules/angular.min.cjs +2 -2
  15. package/modules/angular.min.js +2 -2
  16. package/modules/chart-alluvial.d.ts +1 -1
  17. package/modules/chart-alluvial.esm.min.js +1 -1
  18. package/modules/chart-alluvial.min.cjs +147 -0
  19. package/modules/chart-alluvial.min.js +147 -0
  20. package/modules/chart-arc.d.ts +1 -1
  21. package/modules/chart-arc.esm.min.js +1 -1
  22. package/modules/chart-arc.min.cjs +106 -0
  23. package/modules/chart-arc.min.js +106 -0
  24. package/modules/chart-bubblemap.d.ts +1 -1
  25. package/modules/chart-bubblemap.esm.min.js +1 -1
  26. package/modules/chart-bubblemap.min.cjs +90 -0
  27. package/modules/chart-bubblemap.min.js +90 -0
  28. package/modules/chart-bump.d.ts +1 -1
  29. package/modules/chart-bump.esm.min.js +1 -1
  30. package/modules/chart-bump.min.cjs +110 -0
  31. package/modules/chart-bump.min.js +110 -0
  32. package/modules/chart-calendar.d.ts +1 -1
  33. package/modules/chart-calendar.esm.min.js +1 -1
  34. package/modules/chart-calendar.min.cjs +129 -0
  35. package/modules/chart-calendar.min.js +129 -0
  36. package/modules/chart-decomposition.d.ts +1 -1
  37. package/modules/chart-decomposition.esm.min.js +1 -1
  38. package/modules/chart-decomposition.min.cjs +131 -0
  39. package/modules/chart-decomposition.min.js +131 -0
  40. package/modules/chart-diverging.d.ts +1 -1
  41. package/modules/chart-diverging.esm.min.js +1 -1
  42. package/modules/chart-diverging.min.cjs +104 -0
  43. package/modules/chart-diverging.min.js +104 -0
  44. package/modules/chart-dumbbell.d.ts +1 -1
  45. package/modules/chart-dumbbell.esm.min.js +1 -1
  46. package/modules/chart-dumbbell.min.cjs +114 -0
  47. package/modules/chart-dumbbell.min.js +114 -0
  48. package/modules/chart-fan.d.ts +1 -1
  49. package/modules/chart-fan.esm.min.js +1 -1
  50. package/modules/chart-fan.min.cjs +139 -0
  51. package/modules/chart-fan.min.js +139 -0
  52. package/modules/chart-hexbin.d.ts +1 -1
  53. package/modules/chart-hexbin.esm.min.js +1 -1
  54. package/modules/chart-hexbin.min.cjs +148 -0
  55. package/modules/chart-hexbin.min.js +148 -0
  56. package/modules/chart-hexmap.d.ts +1 -1
  57. package/modules/chart-hexmap.esm.min.js +1 -1
  58. package/modules/chart-hexmap.min.cjs +124 -0
  59. package/modules/chart-hexmap.min.js +124 -0
  60. package/modules/chart-icicle.d.ts +1 -1
  61. package/modules/chart-icicle.esm.min.js +1 -1
  62. package/modules/chart-icicle.min.cjs +97 -0
  63. package/modules/chart-icicle.min.js +97 -0
  64. package/modules/chart-parallel.d.ts +1 -1
  65. package/modules/chart-parallel.esm.min.js +1 -1
  66. package/modules/chart-parallel.min.cjs +123 -0
  67. package/modules/chart-parallel.min.js +123 -0
  68. package/modules/chart-ridgeline.d.ts +1 -1
  69. package/modules/chart-ridgeline.esm.min.js +1 -1
  70. package/modules/chart-ridgeline.min.cjs +119 -0
  71. package/modules/chart-ridgeline.min.js +119 -0
  72. package/modules/chart-roc.d.ts +1 -1
  73. package/modules/chart-roc.esm.min.js +1 -1
  74. package/modules/chart-roc.min.cjs +181 -0
  75. package/modules/chart-roc.min.js +181 -0
  76. package/modules/chart-slope.d.ts +1 -1
  77. package/modules/chart-slope.esm.min.js +1 -1
  78. package/modules/chart-slope.min.cjs +100 -0
  79. package/modules/chart-slope.min.js +100 -0
  80. package/modules/chart-splom.d.ts +1 -1
  81. package/modules/chart-splom.esm.min.js +1 -1
  82. package/modules/chart-splom.min.cjs +124 -0
  83. package/modules/chart-splom.min.js +124 -0
  84. package/modules/chart-waffle.d.ts +1 -1
  85. package/modules/chart-waffle.esm.min.js +1 -1
  86. package/modules/chart-waffle.min.cjs +97 -0
  87. package/modules/chart-waffle.min.js +97 -0
  88. package/modules/charts.d.ts +1 -1
  89. package/modules/charts.esm.min.js +4 -4
  90. package/modules/charts.min.cjs +4 -4
  91. package/modules/charts.min.js +4 -4
  92. package/modules/data-router.d.ts +1 -1
  93. package/modules/data-router.esm.min.js +4 -4
  94. package/modules/data-router.min.cjs +4 -4
  95. package/modules/data-router.min.js +4 -4
  96. package/modules/devtools.d.ts +1 -1
  97. package/modules/devtools.esm.min.js +2 -2
  98. package/modules/devtools.min.cjs +2 -2
  99. package/modules/devtools.min.js +2 -2
  100. package/modules/dhtmlx-compat.d.ts +1 -1
  101. package/modules/dhtmlx-compat.esm.min.js +4 -4
  102. package/modules/dhtmlx-compat.min.cjs +4 -4
  103. package/modules/dhtmlx-compat.min.js +4 -4
  104. package/modules/gantt.d.ts +1 -1
  105. package/modules/gantt.esm.min.js +4 -4
  106. package/modules/gantt.min.cjs +4 -4
  107. package/modules/gantt.min.js +4 -4
  108. package/modules/htmx.d.ts +1 -1
  109. package/modules/htmx.esm.min.js +74 -15
  110. package/modules/htmx.min.cjs +74 -15
  111. package/modules/htmx.min.js +74 -15
  112. package/modules/kanban.d.ts +1 -1
  113. package/modules/kanban.esm.min.js +4 -4
  114. package/modules/kanban.min.cjs +4 -4
  115. package/modules/kanban.min.js +4 -4
  116. package/modules/kpi.d.ts +1 -1
  117. package/modules/kpi.esm.min.js +4 -4
  118. package/modules/kpi.min.cjs +4 -4
  119. package/modules/kpi.min.js +4 -4
  120. package/modules/layout.d.ts +1 -1
  121. package/modules/layout.esm.min.js +4 -4
  122. package/modules/layout.min.cjs +4 -4
  123. package/modules/layout.min.js +4 -4
  124. package/modules/mock-socket.d.ts +1 -1
  125. package/modules/mock-socket.esm.min.js +2 -2
  126. package/modules/mock-socket.min.cjs +2 -2
  127. package/modules/mock-socket.min.js +2 -2
  128. package/modules/react.d.ts +1 -1
  129. package/modules/react.esm.min.js +2 -2
  130. package/modules/react.min.cjs +2 -2
  131. package/modules/react.min.js +2 -2
  132. package/modules/svelte.d.ts +1 -1
  133. package/modules/svelte.esm.min.js +2 -2
  134. package/modules/svelte.min.cjs +2 -2
  135. package/modules/svelte.min.js +2 -2
  136. package/modules/tabs.d.ts +1 -1
  137. package/modules/tabs.esm.min.js +4 -4
  138. package/modules/tabs.min.cjs +4 -4
  139. package/modules/tabs.min.js +4 -4
  140. package/modules/vue.d.ts +1 -1
  141. package/modules/vue.esm.min.js +2 -2
  142. package/modules/vue.min.cjs +2 -2
  143. package/modules/vue.min.js +2 -2
  144. package/modules/webcomponent.d.ts +1 -1
  145. package/modules/webcomponent.esm.min.js +74 -15
  146. package/modules/webcomponent.min.cjs +74 -15
  147. package/modules/webcomponent.min.js +74 -15
  148. package/package.json +1 -1
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.62.0 · [latticegrid.dev](https://www.latticegrid.dev) · TOCLOCO Inc
7
+ Version 1.62.1 · [latticegrid.dev](https://www.latticegrid.dev) · TOCLOCO Inc
8
8
 
9
9
  ---
10
10
 
@@ -282,7 +282,8 @@ modules pays for none of them. This section is the complete map: every public
282
282
  entry point, how to import it from npm, how to reach it on a CDN, and — for the
283
283
  `<script>`-tag builds — the browser global it leaves behind.
284
284
 
285
- **Three variants ship for most entry points.** Pick the one your page loads by:
285
+ **Three variants ship for every entry point**, the chart-type extensions
286
+ included. Pick the one your page loads by:
286
287
 
287
288
  - **ESM** — `*.esm.min.js`. The default for a bundler or a native `<script
288
289
  type="module">`. This is what the bare `@toclocoinc/lattice-grid` and
@@ -366,11 +367,13 @@ the page already imported rather than carrying a second copy.
366
367
 
367
368
  ### Chart-type extensions
368
369
 
369
- Eighteen additional chart types ship as separate, tree-shakeable ESM modules.
370
- Each one **self-registers** its type onto the charts module's shared registry the
371
- moment it is imported — so load the base charts module first, import the
372
- extension for its side effect, then name the type in `createChart`. They ship as
373
- ESM only (import for side effect; there is no global to reach).
370
+ Eighteen additional chart types ship as separate, tree-shakeable modules. Each
371
+ one **self-registers** its type onto the charts module's shared registry the
372
+ moment it is loaded — so load the base charts module first, load the extension
373
+ for its side effect, then name the type in `createChart`.
374
+
375
+ Each ships all three variants, like every other module: `.esm.min.js` for a
376
+ bundler, `.min.js` (UMD) for a `<script src>` page, `.min.cjs` for `require()`.
374
377
 
375
378
  ```js
376
379
  import '@toclocoinc/lattice-grid/modules/charts'; // the base registry
@@ -378,8 +381,20 @@ import '@toclocoinc/lattice-grid/modules/chart-alluvial'; // registers 'alluvial
378
381
  createChart({ grid, container, type: 'alluvial', source: 'from', target: 'to', value: 'count' });
379
382
  ```
380
383
 
384
+ ```html
385
+ <script src="lattice-grid.min.js"></script>
386
+ <script src="modules/charts.min.js"></script> <!-- the base registry -->
387
+ <script src="modules/chart-alluvial.min.js"></script> <!-- registers 'alluvial' -->
388
+ <script>LatticeGrid.createChart({ grid, container, type: 'alluvial', /* ... */ });</script>
389
+ ```
390
+
391
+ The UMD build extends the `LatticeGrid` global, exactly as `modules/charts.min.js`
392
+ does, so the order above is the order to load them in: an extension loaded before
393
+ the base charts module throws rather than registering nothing.
394
+
381
395
  Each is imported from `@toclocoinc/lattice-grid/modules/chart-<type>` (CDN
382
- `<file>`: `modules/chart-<type>.esm.min.js`), and registers the `type` shown.
396
+ `<file>`: `modules/chart-<type>.esm.min.js`, or `modules/chart-<type>.min.js` for
397
+ the UMD build), and registers the `type` shown.
383
398
 
384
399
  | Import / `type` | What it draws |
385
400
  |---|---|
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.62.0</p>
363
+ <p class="rail__sub">API reference · v1.62.1</p>
364
364
  <nav>
365
365
  <div class="rail__group">
366
366
  <span class="rail__label">Start</span>
@@ -443,7 +443,7 @@
443
443
  </header>
444
444
 
445
445
  <p class="chips">
446
- <span class="chip">Version 1.62.0</span>
446
+ <span class="chip">Version 1.62.1</span>
447
447
  <span class="chip">Zero dependencies</span>
448
448
  <span class="chip"><a href="api-detail.html">Developer guide &rarr;</a></span>
449
449
  </p>
@@ -1218,7 +1218,7 @@ grid.destroy();
1218
1218
  <table>
1219
1219
  <thead><tr><th>Member</th><th>Returns</th><th>Description</th></tr></thead>
1220
1220
  <tbody>
1221
- <tr><td class="sig">getVersion()</td><td class="type">string</td><td class="desc">The version this grid came from, e.g. <code>'1.62.0'</code>. Also on the module as <code>getVersion()</code>, for when you have no grid to hand.</td></tr>
1221
+ <tr><td class="sig">getVersion()</td><td class="type">string</td><td class="desc">The version this grid came from, e.g. <code>'1.62.1'</code>. Also on the module as <code>getVersion()</code>, for when you have no grid to hand.</td></tr>
1222
1222
  <tr><td class="sig">get(key)</td><td class="type">unknown</td><td class="desc">Read any configuration key.</td></tr>
1223
1223
  <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>
1224
1224
  <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>
@@ -12934,7 +12934,7 @@ return `next ${p.mean.toFixed(1)}; r2 ${f.r2.toFixed(1)}; band ${p.upper - p.low
12934
12934
  <!-- END GENERATED TYPE REFERENCE -->
12935
12935
 
12936
12936
  <footer>
12937
- Lattice Grid 1.62.0 · Copyright © 2026 TOCLOCO Inc. All rights reserved.
12937
+ Lattice Grid 1.62.1 · Copyright © 2026 TOCLOCO Inc. All rights reserved.
12938
12938
  This document describes the behaviour of the shipped library. Where this guide and the code
12939
12939
  disagree, the code wins: please <a href="https://www.latticegrid.dev">tell us</a>.
12940
12940
  </footer>
@@ -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.62.0</p>
440
+ <p class="rail__sub">Developer guide · v1.62.1</p>
441
441
  <nav>
442
442
  <div class="rail__group">
443
443
  <span class="rail__label">Start here</span>
@@ -554,7 +554,7 @@
554
554
  <a href="API.html">reference tables</a> are the shorter version for when you already know.
555
555
  </p>
556
556
  <p class="chips">
557
- <span class="chip">Version 1.62.0</span>
557
+ <span class="chip">Version 1.62.1</span>
558
558
  <span class="chip">Zero dependencies</span>
559
559
  <span class="chip">No build step</span>
560
560
  </p>
@@ -1279,7 +1279,7 @@ off(); <span class="cmt">// every subscrip
1279
1279
  </p>
1280
1280
  <div class="example">
1281
1281
  <p class="example__label">Which version am I running?</p>
1282
- <pre><code>grid.getVersion(); <span class="cmt">// '1.62.0'</span>
1282
+ <pre><code>grid.getVersion(); <span class="cmt">// '1.62.1'</span>
1283
1283
  LatticeGrid.getVersion(); <span class="cmt">// the same, when you have no grid to hand</span></code></pre>
1284
1284
  </div>
1285
1285
  <p class="lead-in">
@@ -9188,7 +9188,7 @@ grid.licence.state(); <span class="cmt">// 'licensed' | 'localhost' | 'trial'<
9188
9188
 
9189
9189
  <footer>
9190
9190
  <p>
9191
- Lattice Grid 1.62.0 · Copyright © 2026 TOCLOCO Inc. All rights reserved.
9191
+ Lattice Grid 1.62.1 · Copyright © 2026 TOCLOCO Inc. All rights reserved.
9192
9192
  Written against the shipped source. Where this guide and the code disagree, the code wins,
9193
9193
  please <a href="https://www.latticegrid.dev">tell us</a>.
9194
9194
  </p>
package/lattice-grid.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Lattice Grid 1.62.0, type declarations
2
+ * Lattice Grid 1.62.1, type declarations
3
3
  * Copyright (c) 2026 TOCLOCO Inc. All rights reserved.
4
4
  * https://latticegrid.dev
5
5
  */