@datalabz_/dashboard-kit 5.0.1 → 6.0.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 (5) hide show
  1. package/README.md +9 -7
  2. package/package.json +2 -1
  3. package/v4.js +1 -1
  4. package/v5.js +1 -1
  5. package/v6.js +2000 -0
package/README.md CHANGED
@@ -37,10 +37,12 @@ to, never altered (see Rules). Up to `v4` a major is a `vN.js`/`vN.css` pair;
37
37
  from `v5` on it is `vN.js` alone, carrying its own CSS, because Claude artifacts
38
38
  can load scripts from jsDelivr but not stylesheets.
39
39
 
40
- - **`v5` is the current major** — what the authoring guide links and what
41
- `catalog.html` demos.
42
- - **`v4` stays live** and in every release: every dashboard made before `v5`
43
- loads it.
40
+ - **`v6` is the current major** — what the authoring guide links and what
41
+ `catalog.html` demos. It is `v4` with its stylesheet carried in the script, one
42
+ `title` option on every renderer, one item shape `{ label, value, colorClass?,
43
+ tooltip?, sub? }` for strips and grids, and the checks `v4` lacked.
44
+ - **`v5` and `v4` stay live** and in every release: every dashboard made before
45
+ `v6` loads one of them.
44
46
  - **`v1`, `v2` and `v3` are deprecated — treat them as gone.** They are not in
45
47
  this repo and are not published. Don't bring them back, don't publish them,
46
48
  don't cite them in docs or `catalog.html`, and don't copy from them when
@@ -123,13 +125,13 @@ URLs already pinned by live dashboards.
123
125
 
124
126
  Pushing a `kit-v*` tag (`kit-v4.0.3`, …) runs
125
127
  [bitbucket-pipelines.yml](../bitbucket-pipelines.yml). It publishes `v4.js`,
126
- `v4.css`, `v5.js`, `wrapper.js`, `wrapper.css` and `catalog.html` as they are
128
+ `v4.css`, `v5.js`, `v6.js`, `wrapper.js`, `wrapper.css` and `catalog.html` as they are
127
129
  in this directory, with the `__BUILD__` marker in each kit's JS replaced by the
128
130
  commit hash so System Info can say which build is live, to two places:
129
131
 
130
132
  - **Cloudflare Pages**, project `dashboard-kit` — for BackOffice dashboards,
131
- which load `https://dashboard-kit-2n2.pages.dev/v5.js` (older ones
132
- `v4.js` and `v4.css`). That is a test
133
+ which load `https://dashboard-kit-2n2.pages.dev/v6.js` (older ones
134
+ `v5.js`, or `v4.js` and `v4.css`). That is a test
133
135
  address on a test account until the company account serves
134
136
  `https://kit.<domain>/`; dashboards made before then keep the test address,
135
137
  so the test project must stay until they are rewritten. Every file is
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@datalabz_/dashboard-kit",
3
- "version": "5.0.1",
3
+ "version": "6.0.1",
4
4
  "description": "DashboardKit runtime + styles, served from jsDelivr",
5
5
  "license": "UNLICENSED",
6
6
  "files": [
7
7
  "v4.js",
8
8
  "v4.css",
9
9
  "v5.js",
10
+ "v6.js",
10
11
  "wrapper.js",
11
12
  "wrapper.css"
12
13
  ],
package/v4.js CHANGED
@@ -20,7 +20,7 @@
20
20
  let _activeTabId = '';
21
21
  let _sections = []; // { id, label, load, loaded, errors }
22
22
  let _title = '';
23
- let _gitVer = 'ec73754'; // replaced at deploy: sed -i "s/ec73754/$(git rev-parse --short HEAD)/g" v4.js
23
+ let _gitVer = '83d917d'; // replaced at deploy: sed -i "s/83d917d/$(git rev-parse --short HEAD)/g" v4.js
24
24
  let _calls = []; // System Info call log
25
25
  let _sectionErrors = {}; // sectionId → error count
26
26
  let _generation = 0;
package/v5.js CHANGED
@@ -20,7 +20,7 @@
20
20
  let _activeTabId = '';
21
21
  let _sections = []; // { id, label, load, loaded, errors }
22
22
  let _title = '';
23
- let _gitVer = 'ec73754'; // replaced at deploy: sed -i "s/ec73754/$(git rev-parse --short HEAD)/g" v4.js
23
+ let _gitVer = '83d917d'; // replaced at deploy: sed -i "s/83d917d/$(git rev-parse --short HEAD)/g" v4.js
24
24
  let _calls = []; // System Info call log
25
25
  let _sectionErrors = {}; // sectionId → error count
26
26
  let _generation = 0;