declarative-spec 1.6.2 → 1.8.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 CHANGED
@@ -83,3 +83,23 @@ Explore, edit, and inspect all tag blueprints live in Monaco:
83
83
  ## 📄 License
84
84
 
85
85
  MIT © [KeshavSoft](https://github.com/keshavsoft)
86
+
87
+
88
+ ## V7 — Declarative Spec Sample Lab
89
+
90
+ V7 preserves the V6 catalogue and adds the class-based Bootstrap Header specification. It also introduces a dedicated sample lab: **one isolated folder for every top-level V7 specification entry**.
91
+
92
+ - [V7 documentation](docs/v7/)
93
+ - [V7 sample catalogue](samples/v7/)
94
+ - [Canonical V7 JSON](src/v7/spec.json)
95
+ - [Published V7 JSON](docs/json/v7/spec.json)
96
+
97
+ The lab contains 91 individual sample folders covering all 91 catalogue entries and 30 distinct HTML tag names. Each sample loads its own `example.json` over HTTP and renders the declared DOM structure. These are structural usage tests; application-specific behavior such as sorting, data population, and form submission remains with the consuming renderer/application.
98
+
99
+ Start a local static server from the repository root:
100
+
101
+ ```bash
102
+ npx http-server .
103
+ ```
104
+
105
+ Then open `http://localhost:8080/samples/v7/`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "declarative-spec",
3
- "version": "1.6.2",
3
+ "version": "1.8.1",
4
4
  "description": "High-level declarative UI component blueprints, option configurations, and assembly contracts for JSON-to-DOM compilers.",
5
5
  "type": "module",
6
6
  "main": "./src/index.js",
package/src/index.js CHANGED
@@ -1,3 +1,3 @@
1
- export { default } from "./v6/index.js";
1
+ export { default } from "./v8/index.js";
2
2
 
3
- export * from "./v6/index.js";
3
+ export * from "./v8/index.js";
package/src/v5/index.js CHANGED
@@ -1,8 +1,8 @@
1
- import spec from "./spec.json" with { type: "json" };
2
- import meta from "./meta.js";
3
- import registerGlobal from "./register.js";
4
-
5
- export { spec, meta };
6
- export default spec;
7
-
8
- registerGlobal(spec);
1
+ import spec from "./spec.json" with { type: "json" };
2
+ import meta from "./meta.js";
3
+ import registerGlobal from "./register.js";
4
+
5
+ export { spec, meta };
6
+ export default spec;
7
+
8
+ registerGlobal(spec);
package/src/v5/meta.js CHANGED
@@ -1,2 +1,2 @@
1
- export const meta = { name: "declarative-spec", version: "1.5.0" };
2
- export default meta;
1
+ export const meta = { name: "declarative-spec", version: "1.5.0" };
2
+ export default meta;