solid-baseui 0.1.0-alpha.2 → 0.1.0-alpha.3

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +17 -53
  3. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.0-alpha.3
4
+
5
+ ### Documentation
6
+
7
+ - Replace the README warning banner with "WIP: An unofficial port of Base UI for
8
+ SolidJS" and use the same wording for the npm package description.
9
+ - Refresh the Status section with the current release, all 38 implemented
10
+ component families, verification results, and development focus.
11
+ - Simplify the alpha installation guidance.
12
+ - Keep alpha.2 event-composition migration details in the changelog rather than
13
+ the README.
14
+
15
+ No runtime, API, or dependency changes from alpha.2.
16
+
3
17
  ## 0.1.0-alpha.2
4
18
 
5
19
  ### Breaking Changes
package/README.md CHANGED
@@ -1,10 +1,6 @@
1
1
  # solid-baseui
2
2
 
3
- > [!WARNING]
4
- > **Work in progress — alpha, unannounced, and not stable.**
5
- > Published to reserve the name and to be used in the author's own projects.
6
- > Expect breaking changes without notice, incomplete verification, and no
7
- > support. Do not adopt this in production.
3
+ > WIP: An unofficial port of Base UI for SolidJS
8
4
 
9
5
  A native Solid 2 port of [Base UI](https://base-ui.com/). It preserves Base UI's
10
6
  observable behavior and accessibility contracts while replacing React-specific
@@ -15,8 +11,7 @@ maintained by MUI or the Base UI team, nor by the SolidJS core team.
15
11
 
16
12
  ## Install
17
13
 
18
- Install explicitly from the `alpha` dist-tag to get the current prerelease.
19
- There is no stable release:
14
+ Install the current alpha release:
20
15
 
21
16
  ```bash
22
17
  bun add solid-baseui@alpha
@@ -166,54 +161,23 @@ root, `solid-baseui/use-render`, and `solid-baseui/types`.
166
161
 
167
162
  See [CHANGELOG.md](./CHANGELOG.md) for this alpha's changes.
168
163
 
169
- ## Migrating To 0.1.0-alpha.2
170
-
171
- Version `0.1.0-alpha.2` changes the internal event-composition API to direct handlers:
172
-
173
- ```tsx
174
- import type { JSX } from "@solidjs/web";
175
- import { omit } from "solid-js";
176
- import {
177
- composeEventHandlers,
178
- liveEventHandler,
179
- } from "solid-baseui/internals/composeEventHandlers";
180
-
181
- function CustomButton(props: JSX.ButtonHTMLAttributes<HTMLButtonElement>) {
182
- const others = omit(props, "onClick");
183
- const onClick = composeEventHandlers<HTMLButtonElement, MouseEvent>(
184
- liveEventHandler(() => props.onClick),
185
- (event) => event.preventBaseUIHandler(),
186
- );
187
- return <button type="button" onClick={onClick} {...others} />;
188
- }
189
- ```
190
-
191
- Fixed handlers need no outer function. Use `liveEventHandler` only when a callback
192
- prop or handler selection can change; it creates a deferred source for the composer,
193
- not a standalone DOM handler. Sources resolve in order at event time, including
194
- Solid's `[handler, data]` tuples. Base UI cancellation stops later handlers and
195
- source resolution; native `preventDefault` has its separate meaning.
196
-
197
- This is a breaking change from alpha.1. Bare `() => handler` arguments must be
198
- converted to direct handlers or explicit live sources. Handler return values are
199
- ignored, so an old accessor can still typecheck without doing the intended work.
200
-
201
164
  ## Status
202
165
 
203
- All 38 component families in the pinned inventory are implemented and exported.
204
- The requested Tooltip, Combobox, Autocomplete, and Drawer verification is complete;
205
- the project is now in stabilization and performance optimization.
206
-
207
- Implementation coverage is not exhaustive Base UI 1.8 parity or production stability.
208
- The optional `unstable-use-media-query` utility is not implemented and is outside
209
- the 38-component scope.
210
-
211
- A component is only treated as done when its upstream Base UI test ledger is
212
- classified and represented in the Solid suite. Per-family status, the decisions
213
- that are not derivable from the code, and the verification runs behind each one
214
- live in [`knowledge/README.md`](./knowledge/README.md); the stable scope and test
215
- ledger live in
216
- [`BASE_UI_PORTING_INVENTORY.md`](./BASE_UI_PORTING_INVENTORY.md).
166
+ | Area | Status |
167
+ | --- | --- |
168
+ | Current release | `0.1.0-alpha.3`, available from `solid-baseui@alpha` |
169
+ | Components | All 38 component families implemented and exported |
170
+ | Framework | Native Solid 2, using the RC.6 runtime and compiler |
171
+ | Verification | Typecheck, lint, unit, SSR, hydration, and Chromium/Firefox/WebKit suites passing |
172
+ | Current focus | Stabilization, performance, and real-application integrations |
173
+
174
+ The latest release includes the completed Tooltip, Combobox, Autocomplete, and
175
+ Drawer verification work. The optional `unstable-use-media-query` utility remains
176
+ outside the 38-component scope and is not implemented.
177
+
178
+ See [`knowledge/README.md`](./knowledge/README.md) for verification scope and
179
+ remaining work, and [`BASE_UI_PORTING_INVENTORY.md`](./BASE_UI_PORTING_INVENTORY.md)
180
+ for the upstream porting inventory.
217
181
 
218
182
  ## Solid API decisions
219
183
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "solid-baseui",
3
- "version": "0.1.0-alpha.2",
4
- "description": "A native Solid 2 port of Base UI. Alpha: unannounced and unstable.",
3
+ "version": "0.1.0-alpha.3",
4
+ "description": "WIP: An unofficial port of Base UI for SolidJS",
5
5
  "type": "module",
6
6
  "module": "./dist/lib/client/index.js",
7
7
  "types": "./dist/lib/types/index.d.ts",