@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 +22 -4
- package/package.json +9 -5
- package/src/generated-manifest.json +1004 -0
- package/src/index.d.ts +3 -1
- package/src/index.js +4 -2
- package/src/open-badge.js +1 -4
- package/src/open-brand-mark.js +1 -4
- package/src/open-button.js +1 -5
- package/src/open-callout.js +1 -4
- package/src/open-card.js +1 -5
- package/src/open-code-block.js +1 -5
- package/src/open-dialog.js +1 -5
- package/src/open-dropdown.js +1 -5
- package/src/open-hero-ping.js +1 -5
- package/src/open-input.js +1 -5
- package/src/open-lab-panel.js +1 -4
- package/src/open-lab-stage.js +1 -4
- package/src/open-layout.d.ts +2 -22
- package/src/open-layout.js +12 -275
- package/src/open-modal.js +1 -5
- package/src/open-standards-visual.js +1 -4
- package/src/open-step-card.js +1 -5
- package/src/open-tabs.js +1 -5
- package/src/open-theme-toggle.js +2 -6
- package/src/register.d.ts +1 -0
- package/src/register.js +99 -0
package/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# @openelement/ui
|
|
2
2
|
|
|
3
|
-
|
|
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
|
|
7
|
-
where needed, and island upgrade.
|
|
8
|
-
|
|
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.
|
|
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": "
|
|
137
|
-
"@openelement/core": "
|
|
138
|
-
"@openelement/signal": "
|
|
139
|
-
"@openelement/protocol": "
|
|
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
|
}
|