@spaethtech/svelte-ui 0.21.1-dev.126.3149ff9 → 0.21.1-dev.127.89441ce

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/MIGRATION.md CHANGED
@@ -8,6 +8,16 @@ upgrade are documented here, each with a dated heading and a concrete before/aft
8
8
 
9
9
  ## The `*2` native-first variants (transitional)
10
10
 
11
+ > ### ⚠️ EXPERIMENTAL — proof-of-concept, NOT ready for use
12
+ >
13
+ > The `*2` components (`Select2`, `Disclosure2`, `Accordion2`, `DatePicker2`) are a **proof-of-concept
14
+ > under active evaluation in a single test bed (php-svelte) only**. They ship on the **`@dev`** channel
15
+ > so that test bed can exercise them — **do not adopt them in any other project yet.** The API, the
16
+ > behaviour, and even whether each one survives are still in flux (e.g. reset semantics are still being
17
+ > settled). Treat them as unstable: no compatibility promise, and they may change or be removed without
18
+ > a migration note while in this phase. When one is actually ready, this banner comes off and the swap
19
+ > is announced here. Until then: **look, test in php-svelte, don't build on them.**
20
+
11
21
  Several components are getting a **native-first, no-JS / SSR-correct** rebuild so SSR apps (e.g. a
12
22
  PHP-rendered front end) render and submit them with **no client JavaScript**. Rather than change the
13
23
  existing components in place and risk the apps that already depend on them, each rebuild ships
@@ -93,6 +93,8 @@ Custom dropdown built on `Input` + `List`.
93
93
 
94
94
  ### Select2 (native-first)
95
95
 
96
+ > ⚠️ **Experimental — proof-of-concept, NOT ready for use.** Evaluated in the php-svelte test bed only, on the `@dev` channel; the API/behaviour are unstable and it may change or be removed without notice. Don't adopt it in a project yet. See the `*2` banner in `MIGRATION.md`.
97
+
96
98
  A **no-JS / SSR-correct** sibling of `Select` that renders a real `<select>` — it works with
97
99
  JavaScript disabled, submits in a plain `<form>` (its `name` carries the value, no hidden input), and
98
100
  shows the right option in SSR / before hydration. The **closed control is pixel-identical** to
@@ -313,6 +315,8 @@ independent. Propagates `size`/`variant`/`disabled` to children.
313
315
 
314
316
  ### Disclosure2 / Accordion2 (native-first)
315
317
 
318
+ > ⚠️ **Experimental — proof-of-concept, NOT ready for use.** Evaluated in the php-svelte test bed only, on the `@dev` channel; the API/behaviour are unstable and it may change or be removed without notice. Don't adopt it in a project yet. See the `*2` banner in `MIGRATION.md`.
319
+
316
320
  **No-JS / SSR-correct** siblings built on real `<details>/<summary>`: they expand, rotate the chevron,
317
321
  and (via `Accordion2`'s shared `<details name>`) enforce single-open **with no JavaScript**, correct
318
322
  in SSR. The `<summary>` wears `Button`'s ghost-header classes, so the header is **pixel-identical** to
@@ -420,6 +424,8 @@ snaps to canonical on blur.
420
424
 
421
425
  ### DatePicker2 (native-first)
422
426
 
427
+ > ⚠️ **Experimental — proof-of-concept, NOT ready for use.** Evaluated in the php-svelte test bed only, on the `@dev` channel; the API/behaviour are unstable and it may change or be removed without notice. Don't adopt it in a project yet. See the `*2` banner in `MIGRATION.md`.
428
+
423
429
  **No-JS / SSR-correct** date entry: reuses `Input` with a real `<input type="date">` (or
424
430
  `datetime-local` in `time` mode), so it works without JavaScript, pops the browser's native picker,
425
431
  and submits via `name`. The field **frame** is pixel-identical to `DatePicker` (same `Input`).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spaethtech/svelte-ui",
3
- "version": "0.21.1-dev.126.3149ff9",
3
+ "version": "0.21.1-dev.127.89441ce",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/spaethtech/svelte-ui.git"