Files
ianitor/packages/domi-ui/CHANGELOG.md
T

53 lines
3.3 KiB
Markdown

# Changelog
## 1.0.4 (2026-11-23)
- Fix: `Strike.svelte` had no `<script>` block, so a consumer whose tsconfig has `allowJs` off (Ludus) got "Could not
find a declaration file" from svelte-check for it and for Button, TextField and index.ts. It now has
`<script lang="ts">`. `pnpm check` also runs svelte-check the way a consumer does (`tsconfig.consumer.json`).
- Docs: the credit is for free and public apps and public repos carrying a copy; paid apps show none (Mark).
pnpm 9 and the `#` in a git dependency's store folder: `virtual-store-dir-max-length=60` (INTEGRATE.md §1).
## 1.0.3 (2026-11-23)
- **Licence: CPAL-1.0** (Common Public Attribution License), Mark's licence for @domi/ui and every public Domi repo.
`LICENSE` is the Domi template with only the Original Code named (@domi/ui). Redistribution, and any app built
with it, must show the Exhibit B credit: "Built on Domi · https://aula.marek-novak.cz · Copyright (c) 2026 Marek
Novák". v1.0.2 stays MPL-2.0 for those who received it. Fonts stay OFL.
- `DomiCredit` component and `DOMI_ATTRIBUTION` / `DOMI_ATTRIBUTION_TEXT`: the credit, exactly.
- `tools/vendor.mjs`: copies a tag into an app as a workspace package (INTEGRATE.md §6a), for Nix and offline builds;
refuses tags before 1.0.3 and writes the credit into the copy (`NOTICE`).
## 1.0.2 (2026-11-22)
- Licensed under the Mozilla Public License 2.0 (was unlicensed), so a public Domi app may carry a copy (Mark allowed
it for Rosea). `LICENSE` and `CHANGELOG.md` ship with the package; INTEGRATE.md gains "Vendoring". No code or
visual change.
## 1.0.1 (2026-11-22)
- Fix: the primary leaf's hover gradient lightened every stop by mixing in white, which dropped a white label below
4.5:1 on the top stop (Arena Domi 3.94:1; also Atrium Domi, Liber, Calenda and other white-label leaves). The hover
stops are now computed per app and theme in the token build (`--domi-leaf-hover-hi|mid|lo-<app>`), keep the
1.0.0 mix where the label still reads, and are checked to 4.5:1 like the resting stops. Leaves with a dark label
look exactly as before. Reported by the Arena Domi session.
## 1.0.0 (2026-11-22)
First release.
- Audit of every Domi app's styles (docs/AUDIT.md, audit/raw.json).
- Palette of 29 apps by role, from their code (Arena Domi: a proposed teal, it has no code yet); shared dark theme (ink) and a new light theme (parchment) with every
accent derived to WCAG AA; rooms keep each app's own dark ground. CSS, JSON, WPF XAML; PALETTE.md with contrast.
- Foundation tokens: type (Cinzel, Cormorant Garamond, Manrope from npm), space, radius, sizes with a 48 dp touch
floor, motion with reduced motion.
- Components (Svelte 5 and plain CSS): Button (plate, primary leaf, quiet, danger, armed confirm; loading, success,
error; glint, press sink, seal impression; keyboard press), TextField with the integrated send seal (send, search,
save, next; single and multi-line; sending, sent, error; Enter and Shift+Enter; soft keyboard rule), Checkbox,
Radio, Switch, Select, Segmented, Icon.
- Legacy aliases per app (`@domi/ui/legacy/<app>.css`) and MIGRATION.md.
- Showcase; unit tests; screenshot tests per component and state (baselines attached to the release).
Not in 1.0: the desktop window frame (`.win`, `WindowFrame.svelte`), dialogs, menus, non-text inputs (number
stepper, date, colour).