@openelement/ui 0.41.0-alpha.5 → 0.41.0-alpha.8

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
@@ -1,11 +1,11 @@
1
1
  # @openelement/ui
2
2
 
3
- openElement UI product package.
3
+ First-party reference UI package for the OpenElement framework.
4
4
 
5
5
  The components are first-party `open-*` Web Components. They are designed to
6
- prove the openElement Elements model with shadow/DSD output, explicit light DOM
7
- where needed, and island upgrade. ADR-0099 makes UI one of the four first-class
8
- products and keeps external UI libraries out of the current default target.
6
+ prove the OpenElement authoring model with shadow/DSD output, explicit light DOM
7
+ where needed, and island upgrade. UI is a supporting reference surface, not a
8
+ separate application-framework promise.
9
9
 
10
10
  As of v0.40.8, there is **no Linear compatibility layer**. The legacy
11
11
  `open-*-linear` components and `linear-token-sheet` token sheet have been
@@ -33,6 +33,24 @@ npm install @openelement/ui
33
33
  | `OpenCallout` | `open-callout` | Callout/notice box. |
34
34
  | `OpenStepCard` | `open-step-card` | Step card. |
35
35
 
36
+ ## Layering contract
37
+
38
+ Dependencies flow in one direction:
39
+
40
+ ```text
41
+ tokens (`open-props-tokens`, `daisy-classes`)
42
+ -> primitives (`open-button`, `open-input`, `open-badge`, `open-brand-mark`)
43
+ -> composites (`open-card`, `open-dialog`, `open-layout`, tabs and lab components)
44
+ ```
45
+
46
+ Tokens contain shared style values and classes and import no components.
47
+ Primitives may consume tokens but never composites. Composites may compose
48
+ primitives and tokens. `OpenLayout` owns only reusable layout, theme,
49
+ keyboard, and accessibility behavior; application routing and document
50
+ navigation belong to `@openelement/app` and `@openelement/router`.
51
+
52
+ Existing per-component imports remain stable across this layering change.
53
+
36
54
  ## Package Manifest
37
55
 
38
56
  `@openelement/ui` exports a CEM-compatible `manifest` so openElement can include these
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openelement/ui",
3
- "version": "0.41.0-alpha.5",
3
+ "version": "0.41.0-alpha.8",
4
4
  "type": "module",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
@@ -125,6 +125,10 @@
125
125
  "type": "git",
126
126
  "url": "git+https://github.com/open-element/openelement.git"
127
127
  },
128
+ "homepage": "https://openelement.org",
129
+ "bugs": "https://github.com/open-element/openelement/issues",
130
+ "license": "MIT",
131
+ "description": "Reference Web Components and UI primitives for OpenElement.",
128
132
  "keywords": [
129
133
  "openelement",
130
134
  "web-components",
@@ -133,9 +137,9 @@
133
137
  "deno"
134
138
  ],
135
139
  "dependencies": {
136
- "@openelement/element": "^0.41.0-alpha.5",
137
- "@openelement/core": "^0.41.0-alpha.5",
138
- "@openelement/signal": "^0.41.0-alpha.5",
139
- "@openelement/protocol": "^0.41.0-alpha.5"
140
+ "@openelement/element": "0.41.0-alpha.8",
141
+ "@openelement/core": "0.41.0-alpha.8",
142
+ "@openelement/signal": "0.41.0-alpha.8",
143
+ "@openelement/protocol": "0.41.0-alpha.8"
140
144
  }
141
145
  }