@livx.cc/bare-v3 0.1.0-alpha.7 → 0.1.0-alpha.70
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 +6 -4
- package/dist/bare.css +779 -38
- package/dist/bare.min.css +1 -1
- package/dist/elements/date-picker.js +518 -0
- package/dist/elements/image-viewer.js +516 -0
- package/dist/elements/markdown-stream.js +388 -0
- package/dist/manifest.json +73 -34
- package/dist/references/app-frame.md +1 -1
- package/dist/references/button.md +1 -1
- package/dist/references/card-structure.md +1 -1
- package/dist/references/command.md +2 -2
- package/dist/references/confirm.md +9 -0
- package/dist/references/control-structure.md +1 -1
- package/dist/references/conversation.md +2 -2
- package/dist/references/cross-screen.md +2 -1
- package/dist/references/data-display.md +1 -1
- package/dist/references/date-picker.md +131 -0
- package/dist/references/dialog.md +2 -2
- package/dist/references/disclosure.md +1 -1
- package/dist/references/editable-filtered-rows.md +87 -0
- package/dist/references/feedback.md +2 -2
- package/dist/references/field.md +1 -1
- package/dist/references/form-composition.md +1 -1
- package/dist/references/foundation.md +1 -1
- package/dist/references/image-viewer.md +66 -0
- package/dist/references/layout.md +1 -1
- package/dist/references/markdown-stream-prompt.md +13 -0
- package/dist/references/markdown-stream.md +95 -0
- package/dist/references/mobile.md +2 -2
- package/dist/references/motion.md +2 -0
- package/dist/references/page-layout.md +2 -2
- package/dist/references/row.md +19 -2
- package/dist/references/scroll-entry.md +75 -0
- package/dist/references/segmented.md +9 -0
- package/dist/references/start.md +4 -4
- package/dist/references/status.md +2 -2
- package/dist/references/surface.md +1 -1
- package/dist/references/tabs.md +1 -1
- package/dist/references/type.md +2 -2
- package/dist/ui.js +272 -12
- package/package.json +9 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# bare-v3
|
|
2
2
|
|
|
3
|
-
Experimental semantic styling and a standalone design evaluation lab for Composer. **No strategy winner has been established.**
|
|
3
|
+
Experimental semantic styling and a standalone design evaluation lab for Composer. **No strategy winner has been established.** Blank currently uses v3 for new apps in an observation rollout, with released versions pinned for existing apps. Long-term readiness, native-device quality and comparative model efficiency still require qualification.
|
|
4
4
|
|
|
5
5
|
```sh
|
|
6
6
|
bun install --frozen-lockfile
|
|
@@ -17,7 +17,7 @@ The comparison UI needs the fixture server for example links. Model outputs repl
|
|
|
17
17
|
|
|
18
18
|
Install the published alpha with `bun add @livx.cc/bare-v3@alpha`; use `bun pm pack` for an unpublished local build. Import CSS from `@livx.cc/bare-v3/css` or `/css/min`. Put `class="b3-root"` on html and set `data-b3-theme="dark"` explicitly for dark mode. Component references are exported under `/references/*.md`; start with `/references/start.md`. Place generic link defaults in `@layer bare.reset` so they do not override button/navigation colors. Unlayered consumer CSS overrides library layers: scope custom palette colors to each theme rather than applying light-only colors unconditionally to `:root`.
|
|
19
19
|
|
|
20
|
-
`bun lab plan config.json` creates a seeded, capped development job plan. `bun lab prepare run.json` prepares one isolated workspace and manifest without invoking a model. The [visual playground](http://127.0.0.1:4313/fixtures/playground.html) demonstrates the current component contracts and shows the bare-v2 coverage audit. Composed apps include Signal (system performance), Elsewhere (local discovery/booking), Daylight (iOS/Android web studies), Relay, Gather setup and sign-in, Counter, Margin, Still, Fieldnotes, Interval, and the Forma project workspace. New components are an implemented subset, not full bare-v2 parity or a qualified release. Optional interactions are exported from `@livx.cc/bare-v3/ui`; call `mount(document)` once and use its returned cleanup on teardown.
|
|
20
|
+
`bun lab plan config.json` creates a seeded, capped development job plan. `bun lab prepare run.json` prepares one isolated workspace and manifest without invoking a model. The [visual playground](http://127.0.0.1:4313/fixtures/playground.html) demonstrates the current component contracts and shows the bare-v2 coverage audit. Composed apps include Signal (system performance), Elsewhere (local discovery/booking), Daylight (iOS/Android web studies), Relay, Gather setup and sign-in, Counter, Margin, Still, Fieldnotes, Interval, and the Forma project workspace. New components are an implemented subset, not full bare-v2 parity or a qualified release. Optional interactions are exported from `@livx.cc/bare-v3/ui`; call `mount(document)` once and use its returned cleanup on teardown. Genuinely hard interactive widgets ship separately as light-DOM custom elements — currently `@livx.cc/bare-v3/elements/image-viewer` (`<b3-image-viewer>`) and `/elements/date-picker` (`<b3-date-picker>`), plus the `/elements/markdown-stream` module (`MarkdownStream`) for streaming LLM markdown into bare-v3 components. Read `recipes/image-viewer.md`, `recipes/date-picker.md` or `recipes/markdown-stream.md` for markup and lifecycle; `fixtures/elements/markdown-stream.html` demos the stream; `bun run chat` serves it as a live chat against a real model (needs `OPENROUTER_API_KEY` or `OPENAI_API_KEY`; offline it replays canned replies). The plain/React/Vue demos in `fixtures/elements/` exercise the image viewer; run `bun scripts/verify-image-viewer.ts` through the authorized AgentX browser workflow to verify measured transforms.
|
|
21
21
|
|
|
22
22
|
Playground previews accept shareable app/width links, for example [Signal at 390px](http://127.0.0.1:4313/fixtures/playground.html?demo=metrics&width=390#demos). The controls keep these query parameters in sync; unknown values fall back to the authored defaults. This is an iframe layout preview, not mobile-device qualification.
|
|
23
23
|
|
|
@@ -25,11 +25,11 @@ Source organization: `src/bare.css` is the ordered CSS entry; `src/styles/` grou
|
|
|
25
25
|
|
|
26
26
|
External TypeScript entrypoints use `<script type="module" src="app.ts">`. Assembly bundles local imports into a separate rendered artifact, preserves the original source, and rejects imports outside the workspace. Replay serves the rendered artifact. Inline TypeScript and package imports are not supported.
|
|
27
27
|
|
|
28
|
-
Standalone matched
|
|
28
|
+
Standalone matched comparisons remain pending. The worker uses the pinned AgentX SDK with explicit settings, Composer 2.5 and brokered OS isolation. A live creation and feature-edit pilot passed phone/desktop browser checks; this does not establish comparative design quality or total model cost. See [compact authoring](docs/llm-authoring.md) for protocol, evidence and the lab-only Pug candidate. Browser verification also runs through Composer/AgentX.
|
|
29
29
|
|
|
30
30
|
The 24 briefs are provisional. Authored fixtures are implementation probes, not blind model evidence. Browser checks cover selected journeys across the authored apps, including themes, persistence, forms, command keyboard behavior, outlines, and narrow viewport emulation. The current evidence and remaining gaps are tracked in the implementation plan. A dedicated mobile-app track now requires matched iOS/Android routines flows, discovery/booking and mobile conversation, with separate native-look and actual-device gates. Actual iOS/Android, full accessibility, populated comparisons in the browser, and held-out qualification remain pending.
|
|
31
31
|
|
|
32
|
-
See the [working task board](tasks.md), [implementation plan](docs/plan.md) and [experiment ledger](lab/experiments/ledger.json). The source repository is private
|
|
32
|
+
See the [working task board](tasks.md), [implementation plan](docs/plan.md) and [experiment ledger](lab/experiments/ledger.json). The source repository is private; npm releases are public. The [production Offscript experiment](https://blank.bodify.bod.ee/a/a-offscript-v3) uses a pinned release. See tasks.md for integration and qualification status; source may advance beyond the published prerelease.
|
|
33
33
|
|
|
34
34
|
Playground work: edit one specimen in `fixtures/playground/specimens/`, its focused controller in `controllers/`, or a demo’s own folder. `app.js` only assembles controllers. Code/model guidance opens beside the relevant specimen. The expanded reference-page experiment is archived in `archive/reference-2026-09-08/` and excluded from normal builds.
|
|
35
35
|
|
|
@@ -37,3 +37,5 @@ Playground work: edit one specimen in `fixtures/playground/specimens/`, its focu
|
|
|
37
37
|
[Icon explorer](http://127.0.0.1:4313/fixtures/playground.html#icons): full pinned Lucide family, semantic search, paged results, SVG preview/copy and attribution. Generated from the dev-only lucide-static package by scripts/icons.ts; no sibling checkout or CDN is required. Blank has a smaller supported host catalog: copied SVG remains portable, but host calls must use names Blank actually supplies.
|
|
38
38
|
|
|
39
39
|
[Motion & delight](http://127.0.0.1:4313/fixtures/playground.html#motion): six composed motion studies plus collapsed functional feedback recipes, reduced-motion preview and contextual usage. The optional UI export includes semantic motion intents, `layout`, `sequence` and `settle`; update real state first and use motion to explain it. Dialog entry/exit/drag remains owned by the mounted overlay helper. These examples do not replace full app, device, accessibility or quality evaluation.
|
|
40
|
+
|
|
41
|
+
Input/action groups preserve an editable area and wrap a direct `b3-button` below when space is tight; keep the input label and native tab order. Use `b3-title`/`b3-heading` for wrapping protection and `b3-definition` for responsive label/value lists. These contracts are included in the on-demand reference packs.
|