@mtdt/observeops-ds-spec 0.1.0 → 0.1.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/AGENTS.md CHANGED
@@ -84,7 +84,13 @@ block is the contract violation; composing DS parts into an undocumented screen
84
84
 
85
85
  - Real component usage: `@motadata/ui` (`M*`), Floto wrappers (`Floto*`), Ant Design Vue 1.x (`a-*`),
86
86
  `_base-*` globals — Vue 2.6.
87
- - Colours via `var(--token)`; layout via `MRow`/`MCol`; forms via `FlotoForm` / `FlotoFormItem`.
87
+ - Colours via `var(--token)` (CSS custom properties they work in any CSS block). Layout via
88
+ `MRow`/`MCol`; forms via `FlotoForm` / `FlotoFormItem`.
89
+ - **Structural tokens (spacing / sizing / radius / type) are LESS `@vars`, NOT CSS vars** — they only
90
+ resolve in a `<style lang="less" scoped>` block (`@padding-md`, `@btn-radius`, `@text-sm`, …) or via
91
+ Tailwind utilities (`p-4`, `gap-2`, `text-sm`). **Do NOT hardcode `px`/`rem` in a plain `<style>`
92
+ block** (and don't just put the token in a comment) — use `lang="less"` + the `@var`, or a Tailwind
93
+ class.
88
94
  - **Cite your sources:** for each part, name the DS component / recipe / token you used (e.g.
89
95
  "list-view recipe · Organisms/Table · `--page-text-color`").
90
96
  - **Storybook is the VISUAL reference, not a data source:** the live catalogue (URL in `llms.txt`)
package/README.md CHANGED
@@ -71,3 +71,9 @@ reference. It is **not** a data source; do not scrape it. The specs in this pack
71
71
 
72
72
  Semver. Minor = added components/recipes/tokens · patch = fixes/clarifications · major = breaking
73
73
  spec-shape change. Pin a version to keep AI output reproducible.
74
+
75
+ ## Maintaining
76
+
77
+ This package is generated from the design-system sources — it is not hand-maintained file-by-file.
78
+ Maintainers: see `PUBLISHING.md` in the design-system workspace for the build → validate → publish
79
+ flow (bump version → `scripts/build-spec-package.js` → `scripts/validate-spec.js` → `npm publish`).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mtdt/observeops-ds-spec",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Machine-readable spec and AI operating contract for the Motadata ObserveOps design system — components, tokens, page recipes, layout structure, and the rules an AI tool follows to build ObserveOps UI faithfully.",
5
5
  "license": "UNLICENSED",
6
6
  "main": "index.js",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mtdt/observeops-ds-spec",
3
- "version": "0.1.0",
4
- "generated": "2026-06-18T16:17:51.962Z",
3
+ "version": "0.1.1",
4
+ "generated": "2026-06-18T16:40:38.658Z",
5
5
  "entry": "llms.txt",
6
6
  "contract": "AGENTS.md",
7
7
  "index": "components/index.json",
@@ -15,13 +15,13 @@
15
15
  "files": [
16
16
  {
17
17
  "path": "AGENTS.md",
18
- "bytes": 6546,
19
- "sha256": "d8be4b87ca70d65e97f75a8b9d8cae07be928ec2af15ed0f3b7938f4384b7069"
18
+ "bytes": 7025,
19
+ "sha256": "ab1db8b5626c0be5be3f72fbf7e11e5342c91da475d1940784e8e7070075b773"
20
20
  },
21
21
  {
22
22
  "path": "README.md",
23
- "bytes": 3476,
24
- "sha256": "cdae300727bcd2a9fa8177a5bbb3f406f0ece8a9e6c2e7697d31323b5232a939"
23
+ "bytes": 3803,
24
+ "sha256": "583d53d12020fc9ad9c2fc479e9430338db2d723be53ce027fe31b1fe01c3e9a"
25
25
  },
26
26
  {
27
27
  "path": "components/index.json",
@@ -356,7 +356,7 @@
356
356
  {
357
357
  "path": "package.json",
358
358
  "bytes": 1049,
359
- "sha256": "e41f71682d46fcbffb236a880259b9772acf0e958eeb5330b57057b45d4b7621"
359
+ "sha256": "cc5ddebef1319cd800c100ebf6618cf5209b5843a761173260ba8f89df642763"
360
360
  },
361
361
  {
362
362
  "path": "tokens/README.md",
@@ -380,8 +380,8 @@
380
380
  },
381
381
  {
382
382
  "path": "tokens/purpose-map.json",
383
- "bytes": 6096,
384
- "sha256": "3f114a1444e4579cc67c30ae3716fbe2f452a61985f0f3dbec50f35494dd8781"
383
+ "bytes": 6343,
384
+ "sha256": "e3e38296c2e5a4c21fb127c9b9207222f20550a5efc7929347e44ec5359be0b9"
385
385
  },
386
386
  {
387
387
  "path": "tokens/semantic.dark.json",
@@ -57,7 +57,7 @@
57
57
  }
58
58
  },
59
59
  "structural": {
60
- "$note": "LESS @vars (structural.json) — compile-time, not themed.",
60
+ "$note": "LESS @vars (structural.json) — compile-time, not themed. These are NOT CSS custom properties: emit them via <style lang=\"less\" scoped> (e.g. @padding-md) or Tailwind utilities (p-4, gap-2, text-sm). NEVER inline the raw px/rem value in a plain <style> block (a comment naming the token is not enough).",
61
61
  "spacing": { "@padding-lg": "24px", "@padding-md": "16px (default form gutter)", "@padding-sm": "12px", "@padding-xs": "8px" },
62
62
  "sizing": { "@input-height-base": "32px", "@btn-height": "2.1rem", "@header-height": "55px", "@nav-icon-width": "50px", "@navbar-height": "50px", "@search-height": "36px" },
63
63
  "radius": { "$note": "The DS has NO @border-radius-base — use @btn-radius for ALL general radius (cards, modals, inputs, chips), not just buttons.", "@btn-radius": "4px (the general-purpose default radius, app-wide)", "@btn-raidus-full": "150px (pill; note the source typo 'raidus' is the real token name)" },