@openelement/ui 1.0.0-alpha.1 → 1.0.0-alpha.10

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.
@@ -0,0 +1,272 @@
1
+ # Customizing @openelement/ui
2
+
3
+ This document is the package's **customization surface declaration** (alpha9
4
+ C3, #1506). It lists, per component, the shadow parts (`::part(...)`) and the
5
+ CSS custom properties the recipes consume. A test guard
6
+ (`__tests__/customization-surface.test.ts`) pins both lists to the code and
7
+ to the 1.0.0-alpha.8 baseline.
8
+
9
+ ## Semver contract
10
+
11
+ - **`::part` names never shrink.** Every part shipped in 1.0.0-alpha.8 exists
12
+ today and must exist in every later release; adding a part is allowed.
13
+ - **Consumed variables are pinned at the C3 role-direct baseline.** Adding or
14
+ removing a `var()` reference in a recipe is a deliberate surface change: the
15
+ guard fails until the pin and this document are updated in the same change.
16
+ - Component internals carry **no utility classes** — the role variables are
17
+ the entire styling contract.
18
+
19
+ ## Theming model
20
+
21
+ Components read the shadcn-convention role table in
22
+ [`src/theme.css`](./src/theme.css) directly: `--color-*` semantic roles seated
23
+ on the Tailwind v4 default scale. There is no intermediate alias layer — the
24
+ C1 alias sheet (`semantic-tokens.css`) was deleted in C3 under its own
25
+ DELETION CONDITION.
26
+
27
+ - **Light/dark**: the roles carry `[data-theme='dark']` pairs re-pointed at
28
+ this repo's theme mechanism (`:root[data-theme='dark']`,
29
+ `:host([data-theme='dark'])`). Components flip automatically.
30
+ - **Forced colors** (Windows High Contrast): the `forced-colors: active`
31
+ tier in `theme.css` re-seats **every** role on a system color
32
+ (`Canvas`, `CanvasText`, `ButtonFace`, `ButtonText`, `GrayText`,
33
+ `Highlight`, `LinkText`, `Mark`) in both selector blocks. Every component
34
+ therefore resolves fully under forced colors; hue carries no meaning there,
35
+ so status is also encoded by border and label, never by color alone.
36
+ - **Delivery**: see the [Value delivery](#value-delivery) section below.
37
+
38
+ ## Value delivery
39
+
40
+ **What the ui package guarantees is the role table's SHAPE, not its values.**
41
+ The contract a consumer may rely on:
42
+
43
+ - the role names declared in the `@theme` block of
44
+ [`src/theme.css`](./src/theme.css) (the full inventory below),
45
+ - each role's `[data-theme='dark']` dark pair,
46
+ - the `forced-colors: active` tier that re-seats every role on a system color.
47
+
48
+ **The package carries no scale values of its own.** Since the alpha9 C5 twin
49
+ removal, `@openelement/ui` embeds no compiled value table and exports no
50
+ token module — the retired `@openelement/ui/theme-tokens`
51
+ (`themeTokenCss` / `themeTokenSheet`) is gone. Component recipes reference
52
+ `var(--color-*)` / `var(--spacing)` / etc.; until the host supplies those
53
+ variables the recipes resolve to nothing. Values have exactly two suppliers:
54
+
55
+ - **Preset ON**: a `@openelement/router` Tailwind build compiles
56
+ `theme.css` through the preset (`tailwind: { theme:
57
+ ['@openelement/ui/theme.css'] }`), emitting the roles plus Tailwind's own
58
+ scale layer. This is the first-party delivery (the www site and the
59
+ router-ui-dogfood fixture).
60
+ - **Preset OFF**: the consumer writes its own table. The only requirement is
61
+ that it defines the role names (and any scale variables the recipes
62
+ consume, e.g. `--spacing`, `--radius-md`) under the same selectors.
63
+ Minimal shape, values illustrative:
64
+
65
+ ```css
66
+ /* OFF-state table — role names from src/theme.css are the contract;
67
+ the values are the consumer's own. */
68
+ :root,
69
+ :host {
70
+ --color-background: white;
71
+ --color-foreground: black;
72
+ --color-primary: rebeccapurple;
73
+ --color-primary-foreground: white;
74
+ /* …the remaining --color-* roles of src/theme.css… */
75
+ --spacing: 0.25rem;
76
+ --radius-md: 0.375rem;
77
+ }
78
+ :root[data-theme='dark'],
79
+ :host([data-theme='dark']) {
80
+ /* the same roles, dark-side values */
81
+ }
82
+ ```
83
+
84
+ The full role-name inventory is the `@theme` block of
85
+ [`src/theme.css`](./src/theme.css): `--color-background`, `--color-foreground`,
86
+ `--color-card(-foreground)`, `--color-popover(-foreground)`,
87
+ `--color-primary(-foreground)`, `--color-secondary(-foreground)`,
88
+ `--color-muted(-foreground)`, `--color-accent(-foreground)`,
89
+ `--color-destructive(-foreground)`, `--color-success`, `--color-warning`,
90
+ `--color-info`, `--color-border`, `--color-input`, `--color-ring`, and
91
+ `--color-chart-1` … `--color-chart-5`.
92
+
93
+ ## alpha8 → C3 variable rename map
94
+
95
+ The retired alias names are gone. The notable re-seats (consumers renaming
96
+ their overrides):
97
+
98
+ | Retired (alpha8) | C3 role expression |
99
+ | ----------------- | --------------------------------------------------------- |
100
+ | `--bg-base` | `--color-background` |
101
+ | `--bg-card` | `--color-card` |
102
+ | `--bg-elevated` | `--color-popover` |
103
+ | `--bg-surface` | `--color-muted` |
104
+ | `--text-primary` | `--color-foreground` |
105
+ | `--text-secondary`| `--color-muted-foreground` |
106
+ | `--text-muted` | `--color-muted-foreground` (one ink step since C1) |
107
+ | `--brand` | `--color-primary` |
108
+ | `--on-brand` | `--color-primary-foreground` |
109
+ | `--border` | `--color-border` |
110
+ | `--error` | `--color-destructive` |
111
+ | `--success` | `--color-success` (new role, same AA-tuned values) |
112
+ | `--warning` | `--color-warning` (new role, same AA-tuned values) |
113
+ | `--info` | `--color-info` (new role, same AA-tuned values) |
114
+ | `--focus-ring` | `--color-ring` |
115
+ | `--bg-code` | static `--color-zinc-950` (code surfaces stay dark) |
116
+ | `--code-text` | static `--color-zinc-200` |
117
+ | `--code-border` | static `--color-zinc-700` |
118
+ | `--size-N` | `calc(var(--spacing) * N)` |
119
+ | `--radius-1/2/3` | `--radius-md` / `--radius-lg` / `--radius-xl` |
120
+ | `--radius-round` | `calc(infinity * 1px)` |
121
+ | `--font-size-0..3`| `--text-sm` / `--text-base` / `--text-xl` / `--text-2xl` |
122
+ | `--font-weight-N` | `--font-weight-medium` … `--font-weight-black` |
123
+ | `--motion-fast`, `--duration-2` | `--default-transition-duration` (150ms) |
124
+ | `--ease-3`, `--motion-standard` | `--ease-out` |
125
+ | `--ease-2` | `--ease-in-out` |
126
+
127
+ Deliberate pixel breaks to note (this is C3's contract, not a migration):
128
+
129
+ - `--brand-deep` (static violet-950) became a 50/50 primary/foreground mix —
130
+ the default-button hover ink now tracks the theme's ink side.
131
+ - `--violet-0/1/2/5/8/10` re-seat on flipping roles
132
+ (primary-foreground/secondary/border/ring/primary/secondary-foreground), so
133
+ coordinated surfaces (e.g. the site's flood panels) invert together with
134
+ the theme instead of mirroring a fixed ramp.
135
+ - Badge/callout washes are computed inline (`color-mix(... 10%, transparent)`)
136
+ from each status role; the light-theme rgba tint overrides are gone.
137
+ - Card `artifact`, code-block and dialog backdrop keep static zinc surfaces
138
+ in both themes (the retired sheet's behavior, now explicit literals-free
139
+ ramp references).
140
+
141
+ ## Per-component surface
142
+
143
+ Variables listed are the ones each component's recipe **consumes**; all of
144
+ them resolve from the role table above. There are no component-defined
145
+ custom properties.
146
+
147
+ ### `open-badge`
148
+
149
+ - Parts: `badge`
150
+ - Variables: `--color-border`, `--color-info`, `--color-muted`,
151
+ `--color-muted-foreground`, `--color-primary`, `--color-success`,
152
+ `--color-warning`, `--font-mono`, `--font-weight-extrabold`,
153
+ `--leading-normal`, `--radius-md`, `--spacing`, `--text-xs`
154
+ - Tones `brand/success/warning/info` paint their 10% wash with `color-mix`
155
+ off the matching role; AA is asserted against base and wash in the suite.
156
+
157
+ ### `open-button`
158
+
159
+ - Parts: `control`
160
+ - Variables: `--color-border`, `--color-foreground`, `--color-popover`,
161
+ `--color-primary`, `--color-primary-foreground`, `--color-ring`,
162
+ `--color-violet-400`, `--color-white`, `--default-transition-duration`,
163
+ `--ease-out`, `--font-sans`, `--font-weight-extrabold`, `--radius-md`,
164
+ `--shadow-sm`, `--spacing`, `--text-base`, `--text-sm`, `--text-xl`
165
+ - Shares the control recipe (below). Variant `primary`/`accent` fill with
166
+ `--color-primary` over `--color-primary-foreground`.
167
+
168
+ ### `open-callout`
169
+
170
+ - Parts: `container`, `icon`, `content`
171
+ - Variables: `--color-destructive`, `--color-foreground`,
172
+ `--color-muted-foreground`, `--color-primary`, `--color-success`,
173
+ `--color-warning`, `--font-weight-semibold`, `--leading-relaxed`,
174
+ `--radius-lg`, `--spacing`, `--text-base`, `--text-sm`
175
+ - Types `info/warning/danger/tip` map to primary/warning/destructive/success
176
+ inks with 10% washes; the alpha8 light-theme rgba overrides are gone (the
177
+ roles' dark pairs carry the flip).
178
+
179
+ ### `open-card`
180
+
181
+ - Parts: `container`, `body`
182
+ - Variables: `--color-border`, `--color-card`, `--color-foreground`,
183
+ `--color-muted`, `--color-muted-foreground`, `--color-primary`,
184
+ `--color-secondary`, `--color-zinc-200`, `--color-zinc-700`,
185
+ `--color-zinc-950`, `--default-transition-duration`, `--ease-out`,
186
+ `--font-weight-semibold`, `--radius-md`, `--spacing`, `--text-sm`,
187
+ `--text-xl`
188
+ - Variant `artifact` paints a static zinc-950 panel in both themes.
189
+
190
+ ### `open-code-block`
191
+
192
+ - Parts: `copy`
193
+ - Variables: `--color-destructive`, `--color-foreground`, `--color-primary`,
194
+ `--default-transition-duration`, `--ease-in-out`, `--font-sans`,
195
+ `--font-weight-semibold`, `--radius-md`, `--spacing`, `--text-xs`,
196
+ `--tracking-wider`
197
+ - Since #1552 the component owns the copy chip only: the code surface and the
198
+ token inks belong to the host's build-time highlight pipeline and its
199
+ stylesheet, so the former Prism-derived token palette and surface variables
200
+ left the pinned surface in the same deliberate edit (the chip ink follows
201
+ the theme-aware `--color-foreground` role).
202
+
203
+ ### `open-dialog`
204
+
205
+ - Parts: `overlay`, `header`, `close`, `body`, `footer`
206
+ - Variables: `--color-border`, `--color-foreground`,
207
+ `--color-muted-foreground`, `--color-popover`, `--color-primary`,
208
+ `--color-white`, `--color-zinc-950`, `--font-sans`,
209
+ `--font-weight-semibold`, `--leading-normal`, `--leading-tight`,
210
+ `--radius-md`, `--radius-xl`, `--shadow-2xl`, `--spacing`, `--text-base`,
211
+ `--text-xl`
212
+ - Shares the overlay recipe (below); the backdrop composes the zinc-950
213
+ scrim in both themes.
214
+ - Entry and exit animate through `transition-behavior: allow-discrete` +
215
+ `@starting-style` (no keyframes, no JS timing); under
216
+ `forced-colors: active` and `prefers-reduced-motion: reduce` the
217
+ transitions collapse and the dialog opens/closes immediately.
218
+
219
+ ### `open-dropdown`
220
+
221
+ - Parts: `trigger`, `content`
222
+ - Variables: `--font-sans`, `--spacing`
223
+ - Shares the overlay recipe for the popover surface.
224
+
225
+ ### `open-input`
226
+
227
+ - Parts: `wrapper`, `label`, `control`, `error`
228
+ - Variables: `--color-border`, `--color-destructive`, `--color-foreground`,
229
+ `--color-muted`, `--color-muted-foreground`, `--color-popover`,
230
+ `--color-primary`, `--color-violet-400`, `--font-sans`,
231
+ `--font-weight-medium`, `--radius-md`, `--spacing`, `--text-base`,
232
+ `--text-sm`, `--text-xs`, `--tracking-normal`
233
+ - Shares the control recipe; error/invalid states use
234
+ `--color-destructive`.
235
+
236
+ ### `open-tabs`
237
+
238
+ - Parts: none (light-DOM decoration pattern; the tabs/panels stay in the
239
+ page's DOM, styled through inherited roles)
240
+ - Variables: `--color-border`, `--color-foreground`,
241
+ `--color-muted-foreground`, `--color-primary`, `--spacing`
242
+
243
+ ### `open-theme-toggle`
244
+
245
+ - Parts: `toggle`, `icon-sun`, `icon-moon`
246
+ - Variables: `--color-background`, `--color-border`, `--color-foreground`,
247
+ `--color-muted-foreground`, `--color-popover`, `--color-primary`,
248
+ `--color-ring`, `--color-violet-400`, `--default-transition-duration`,
249
+ `--ease-in-out`, `--spacing`
250
+
251
+ ### Shared recipes (`component-recipes.ts`)
252
+
253
+ - `controlRecipe` (`.control`): `--color-border`, `--color-foreground`,
254
+ `--color-popover`, `--color-primary`, `--color-ring`, `--color-violet-400`,
255
+ `--color-white`, `--default-transition-duration`, `--ease-out`,
256
+ `--radius-md`, `--spacing`
257
+ - `surfaceRecipe` (`.surface`) adds: `--color-card`, `--radius-lg`,
258
+ `--shadow-2xl`
259
+ - `overlayRecipe` (`.overlay`) adds: `--radius-xl`
260
+
261
+ ## Deep customization
262
+
263
+ `::part()` reaches every interactive element. Beyond parts, recolor by
264
+ overriding the **roles** on `:root` (light), `:root[data-theme='dark']`
265
+ (dark), or inside the `forced-colors` media query — never by redefining
266
+ component internals. Example:
267
+
268
+ ```css
269
+ :root {
270
+ --color-primary: oklch(54.1% 0.281 293.009); /* re-brand every component */
271
+ }
272
+ ```
package/README.md CHANGED
@@ -3,6 +3,8 @@
3
3
  > Experimental product: maintained in the OpenElement repository, outside the
4
4
  > 1.0 stable API promise. APIs may change without a migration path during Alpha.
5
5
 
6
+ Docs and guides: <https://openelement.org>.
7
+
6
8
  First-party dogfood and reference UI package for OpenElement.
7
9
 
8
10
  Element and Router are the two core products; Router includes Framework Mode.
@@ -15,10 +17,10 @@ prove the OpenElement authoring model with shadow/DSD output, explicit light DOM
15
17
  where needed, and island upgrade. UI is a supporting reference surface, not a
16
18
  separate application-framework promise.
17
19
 
18
- As of v0.42.0-alpha.10, there is **no Linear compatibility layer**. The legacy
19
- `open-*-linear` components and `linear-token-sheet` token sheet have been
20
- removed from the public surface. Use the canonical Open Props components and
21
- `@openelement/ui/open-props-tokens` instead.
20
+ There is **no Linear compatibility layer**: the `open-*-linear` components and
21
+ the `linear-token-sheet` token sheet are not part of the public surface. Use the
22
+ canonical components and the `@theme` role table in
23
+ [`src/theme.css`](./src/theme.css) instead.
22
24
 
23
25
  ## Install
24
26
 
@@ -33,7 +35,7 @@ npm install @openelement/ui
33
35
  | `OpenButton` | `open-button` | Button component. |
34
36
  | `OpenInput` | `open-input` | Input component. |
35
37
  | `OpenCard` | `open-card` | Content card. |
36
- | `OpenCodeBlock` | `open-code-block` | Code block with copy behavior; Prism highlighting (host-loaded). |
38
+ | `OpenCodeBlock` | `open-code-block` | Code block with copy behavior; highlighting is the host's build-time step. |
37
39
  | `OpenBadge` | `open-badge` | Status/content badge. |
38
40
  | `OpenThemeToggle` | `open-theme-toggle` | Theme switch island. |
39
41
  | `OpenDialog` | `open-dialog` | Modal/non-modal dialog. |
@@ -46,71 +48,72 @@ npm install @openelement/ui
46
48
  Dependencies flow in one direction:
47
49
 
48
50
  ```text
49
- audited Open Props subset
50
- -> semantic tokens
51
- -> component recipes
52
- -> Web Component primitives
51
+ @theme-derived token table (theme.css)
52
+ -> component recipes (role names, direct)
53
+ -> Web Component primitives
53
54
  ```
54
55
 
55
56
  Tokens contain shared style values and classes and import no components.
56
57
  Primitives may consume tokens but never composites. Composites may compose
57
58
  primitives and tokens. Application routing and document navigation belongs to
58
59
  `@openelement/router`; the site layout component (`OpenLayout`) lives in the
59
- reference site (`www/app/islands/open-layout.tsx`).
60
+ reference site that consumes this package, not in it.
60
61
 
61
- ## `open-code-block` syntax highlighting
62
+ ## `open-code-block` and syntax highlighting
62
63
 
63
- `open-code-block` ships the copy button and Prism token styles, but bundles
64
- **no tokenizer and no highlighting runtime** — the component itself stays
65
- cross-runtime, so the host page must load Prism (core plus each language
66
- grammar) as a global script. (The package as a whole depends on
67
- `@openelement/element`; this note is scoped to the code block.)
68
- On hydration the component looks for `globalThis.Prism`, tokenizes the
69
- slotted `<pre><code class="language-x">`, and swaps in the highlighted copy
70
- inside the shadow root. Without Prism it renders plain text with the copy
71
- button (and retries briefly while deferred scripts load).
64
+ `open-code-block` ships the copy button only. It bundles **no tokenizer and no
65
+ highlighting runtime** — the component stays cross-runtime, and since the
66
+ runtime-highlighter contract was retired (#1552) it no longer looks for a
67
+ global `Prism` either. The host page compiles its code fences to token-span
68
+ HTML at BUILD time (the reference site runs Shiki inside its markdown
69
+ pipeline) and projects the result through the slot; the projected content
70
+ stays light DOM, so the host's stylesheet owns the code surface and the token
71
+ inks, and the component only paints its chip.
72
72
 
73
73
  ```html
74
- <script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/prism.min.js"></script>
75
- <script
76
- src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-typescript.min.js"></script>
77
-
74
+ <!-- build time: markdown fences -> <pre class="shiki …"><code>…token spans…</code></pre> -->
78
75
  <open-code-block>
79
- <pre><code class="language-typescript">const x: number = 1;</code></pre>
76
+ <pre><code>const x: number = 1;</code></pre>
80
77
  </open-code-block>
81
78
  ```
82
79
 
83
- The reference site wires the same scripts through the `inject` option in
84
- `www/vite.config.ts`.
80
+ Without a host-side highlighting step the block renders plain text with the
81
+ copy button — an expected degradation, not a bug.
85
82
 
86
83
  ## Design tokens
87
84
 
88
- `src/open-props-tokens.ts` is **generated — do not edit**. Regenerate with:
89
-
90
- ```bash
91
- deno task --cwd packages/ui generate:ui-tokens
92
- ```
93
-
94
- Sources:
95
-
96
- - Upstream [open-props](https://open-props.style) `1.7.23` (**MIT**,
97
- © Adam Argyle) — only the tokens we carry verbatim: the gray ramp,
98
- `--indigo-6`, two border sizes, font weights, and two line-heights, read
99
- from the package's per-topic `src/props.*.js` files. The generator fails if
100
- upstream renames one of them, so drift surfaces at generation time.
101
- - `src/semantic-tokens.css` (**ours**, hand-maintained) — everything else:
102
- re-tuned scales (violet/green/red/orange, px spacing, radii, type sizes,
103
- easings, shadows), semantic roles, both themes, the `:host` fallback, and
104
- the CJK font stacks. Each divergence from upstream is commented where it
105
- lives; do not "fix" tuned values by copying upstream.
106
-
107
- `openPropsTokenSheet` is the only token entry point: its token block
108
- selects `:root, :host`, so the same sheet serves document-level adoption
109
- and shadow-root adoption (only the structural fallback is `:host`-only).
110
- The token gates require `--surface-glass`,
111
- `--ui-control-bg`, `--focus-ring` and `--motion-standard`.
112
- `daisyClassSheet`, modal and step-card are retired and must not reappear in
113
- exports, manifests, docs or packed artifacts.
85
+ The token layer is hand-maintained — there is no generator. One authored CSS
86
+ source, no shipped values:
87
+
88
+ - `src/theme.css` — **the single source of design roles** (P6: the only place
89
+ in the repository that defines them). shadcn-convention roles
90
+ (`--color-background`, `--color-primary`, …) seated on the Tailwind v4
91
+ default scale; roles reference only scale variables, dark pairs follow the
92
+ shadcn v4 convention with the selector re-pointed at this repo's
93
+ `[data-theme='dark']` mechanism, and a forced-colors layer re-seats every
94
+ role on a system color. Since alpha9 C2 the scale layer is the real
95
+ `@theme` block; role names are the migration contract. Since C3 (#1506) the
96
+ component recipes read these role names directly — the C1 alias layer
97
+ (`semantic-tokens.css`) was deleted under its own DELETION CONDITION, and
98
+ three non-shadcn status roles (`--color-success/-warning/-info`) joined the
99
+ table with the same forced-colors and dark-pair discipline.
100
+
101
+ **The package ships no token values.** The compiled `theme-tokens` twin
102
+ (`themeTokenCss` / `themeTokenSheet`) was deleted in alpha9 C5 — the role
103
+ names, dark pairs and forced-colors tier are the contract; the values come
104
+ from the `@openelement/router` Tailwind preset (ON) or a table the consumer
105
+ writes itself (OFF). See [CUSTOMIZATION.md](./CUSTOMIZATION.md),
106
+ "Value delivery".
107
+
108
+ The ui suite fails closed on the role contract (dark
109
+ pairs, forced-colors totality), on recipes consuming undeclared variables,
110
+ and on WCAG floors (3:1 focus ring, 4.5:1 status inks on the background and
111
+ their 10% recipe washes). `daisyClassSheet`, modal and step-card are retired
112
+ and must not reappear in exports, manifests, docs or packed artifacts.
113
+
114
+ The per-component customization surface (`::part` names, consumed variables,
115
+ the alpha8 alias→role rename map) is declared in
116
+ [CUSTOMIZATION.md](./CUSTOMIZATION.md) and pinned by test.
114
117
 
115
118
  Existing per-component imports remain stable across this layering change.
116
119
 
@@ -155,7 +158,9 @@ manifest; the per-component JSDoc is the source of truth for those.
155
158
  @openelement/ui/open-callout
156
159
  @openelement/ui/open-dropdown
157
160
  @openelement/ui/open-tabs
158
- @openelement/ui/open-props-tokens
161
+ @openelement/ui/theme.css (the @theme role source; compiled through the router preset)
162
+ @openelement/ui/instance-state (per-element instance state store; tree-shakeable leaf)
163
+ @openelement/ui/manifest (generated WC package manifest; node-safe leaf)
159
164
  ```
160
165
 
161
166
  ## License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openelement/ui",
3
- "version": "1.0.0-alpha.1",
3
+ "version": "1.0.0-alpha.10",
4
4
  "type": "module",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
@@ -10,6 +10,11 @@
10
10
  "import": "./src/index.js",
11
11
  "default": "./src/index.js"
12
12
  },
13
+ "./manifest": {
14
+ "types": "./src/manifest.d.ts",
15
+ "import": "./src/manifest.js",
16
+ "default": "./src/manifest.js"
17
+ },
13
18
  "./open-button": {
14
19
  "types": "./src/open-button.d.ts",
15
20
  "import": "./src/open-button.js",
@@ -60,15 +65,13 @@
60
65
  "import": "./src/open-tabs.js",
61
66
  "default": "./src/open-tabs.js"
62
67
  },
63
- "./open-props-tokens": {
64
- "types": "./src/open-props-tokens.d.ts",
65
- "import": "./src/open-props-tokens.js",
66
- "default": "./src/open-props-tokens.js"
68
+ "./instance-state": {
69
+ "types": "./src/instance-state.d.ts",
70
+ "import": "./src/instance-state.js",
71
+ "default": "./src/instance-state.js"
67
72
  },
68
- "./open-props-tokens.js": {
69
- "types": "./src/open-props-tokens.d.ts",
70
- "import": "./src/open-props-tokens.js",
71
- "default": "./src/open-props-tokens.js"
73
+ "./theme.css": {
74
+ "default": "./src/theme.css"
72
75
  }
73
76
  },
74
77
  "repository": {
@@ -82,13 +85,16 @@
82
85
  "keywords": [
83
86
  "openelement",
84
87
  "web-components",
85
- "ssg",
86
- "framework",
87
- "deno",
88
+ "ui",
89
+ "design-tokens",
88
90
  "experimental"
89
91
  ],
92
+ "engines": {
93
+ "node": ">=24.2"
94
+ },
95
+ "sideEffects": false,
90
96
  "peerDependenciesMeta": {},
91
97
  "dependencies": {
92
- "@openelement/element": "1.0.0-alpha.1"
98
+ "@openelement/element": "1.0.0-alpha.10"
93
99
  }
94
100
  }