[web] Domi UI: the web UI on @domi/ui v1.0.4, vendored (CPAL-1.0), with the Built on Domi credit (PR #14, squashed)
@domi/ui v1.0.4 vendored unchanged in packages/domi-ui by domi-design's tools/vendor.mjs and used as workspace:*, so the Nix build fetches nothing from Gitea (web.nix sources the folder; fetchPnpmDeps hash from the NixOS runner). Its fonts, roles (data-domi-room="ianitor", the same hex) and controls replace Ianitor's copies: Button through Ianitor's adapter (desktop sizes kept), every text field a TextField with its seal, Checkbox, Select, Segmented. Ianitor's 22 role names renamed to --domi-*. <DomiCredit /> on every screen and in About, with the CPAL section 15 note beside the source link; the README names the vendored package. Disabled buttons are natively disabled.
This commit was merged in pull request #14.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
// SPDX-License-Identifier: CPAL-1.0
|
||||
/**
|
||||
* The Attribution Information of Exhibit B of the licence (CPAL-1.0, LICENSE). Anyone who distributes @domi/ui or a
|
||||
* Larger Work made with it shows this where CPAL §14 asks: prominently in the user interface when the work is
|
||||
* launched or a session starts. `DomiCredit` renders it.
|
||||
*/
|
||||
export const DOMI_ATTRIBUTION = {
|
||||
phrase: 'Built on Domi',
|
||||
url: 'https://aula.marek-novak.cz',
|
||||
copyright: 'Copyright (c) 2026 Marek Novák',
|
||||
} as const;
|
||||
|
||||
/** The credit as one line of plain text, for a log, a terminal or a native About box. */
|
||||
export const DOMI_ATTRIBUTION_TEXT = `${DOMI_ATTRIBUTION.phrase} · ${DOMI_ATTRIBUTION.url} · ${DOMI_ATTRIBUTION.copyright}`;
|
||||
Reference in New Issue
Block a user