[web] Domi UI: pin @domi/ui v1.0.1 (the leaf hover keeps its label readable)
This commit is contained in:
+1
-1
@@ -171,7 +171,7 @@ Identity gate, tunnel, Domi templates, ACME server, HTTP/3, migrating public sit
|
||||
(Rewritten at the end of every session: what changed, what was not verified, which build is deployed, the next step.)
|
||||
|
||||
**2026-11-22: the web UI on @domi/ui, the shared Domi design system (docs/domi-ui.md). Open as a PR, not merged.**
|
||||
- **Changed:** `@domi/ui` v1.0.0 pinned by tag in apps/web and packages/ui; its fonts, roles (`data-domi-room="ianitor"`,
|
||||
- **Changed:** `@domi/ui` v1.0.1 pinned by tag in apps/web and packages/ui; its fonts, roles (`data-domi-room="ianitor"`,
|
||||
the same hex) and controls replace Ianitor's copies. Buttons are its Button through Ianitor's adapter (desktop sizes
|
||||
kept); every text field is its TextField with a seal; checkboxes, the secret picker and segmented controls are its
|
||||
components. Ianitor's 22 role names are renamed to `--domi-*`; its own tokens and components stay in packages/ui.
|
||||
|
||||
+3
-3
@@ -4,10 +4,10 @@ The web UI's controls and roles come from **@domi/ui**, the shared Domi design s
|
||||
its `docs/INTEGRATE.md` and `docs/MIGRATION.md`). It is pinned by tag in `apps/web` and `packages/ui`:
|
||||
|
||||
```json
|
||||
"@domi/ui": "git+https://gitea.marek-novak.cz/mnovak/domi-design.git#v1.0.0"
|
||||
"@domi/ui": "git+https://gitea.marek-novak.cz/mnovak/domi-design.git#v1.0.1"
|
||||
```
|
||||
|
||||
The lockfile holds the tag's commit (a8d69a9). Upgrade by changing the tag after reading its CHANGELOG.md.
|
||||
The lockfile holds the tag's commit (4c7173a). Upgrade by changing the tag after reading its CHANGELOG.md.
|
||||
|
||||
## What comes from where
|
||||
|
||||
@@ -60,7 +60,7 @@ The host form still checks a field when the focus leaves it, now when it leaves
|
||||
|
||||
## Type checking: a shim until @domi/ui fixes Strike.svelte
|
||||
|
||||
@domi/ui 1.0's `index.ts` imports `Strike.svelte`, which has no `<script lang="ts">`. Outside the package, a strict
|
||||
@domi/ui 1.0.x's `index.ts` imports `Strike.svelte`, which has no `<script lang="ts">`. Outside the package, a strict
|
||||
svelte-check refuses that import (implicit any). `apps/web/tsconfig.json` maps `@domi/ui` to
|
||||
`apps/web/src/domi-ui-types.ts`, which re-exports the components Ianitor uses straight from their files. This is
|
||||
for types only: Vite, Vitest and the build use the package. Remove both when @domi/ui adds the script tag
|
||||
|
||||
Reference in New Issue
Block a user