[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:
2026-11-23 00:52:19 +01:00
parent 0934bb3419
commit c9aa55ec99
83 changed files with 8528 additions and 396 deletions
+23
View File
@@ -0,0 +1,23 @@
// SPDX-License-Identifier: CPAL-1.0
// The Original Code is @domi/ui; Initial Developer Marek Novák, Copyright (c) 2026. See LICENSE (Exhibit B: the credit).
// @domi/ui: import the components here and the styles once, at the app root:
// import '@domi/ui/domi.css';
// import { Button, TextField } from '@domi/ui';
export { default as Button } from './components/Button.svelte';
export { default as TextField } from './components/TextField.svelte';
export { default as Checkbox } from './components/Checkbox.svelte';
export { default as Radio } from './components/Radio.svelte';
export { default as Switch } from './components/Switch.svelte';
export { default as Select } from './components/Select.svelte';
export { default as Segmented } from './components/Segmented.svelte';
export { default as Icon } from './components/Icon.svelte';
export { default as Strike } from './components/Strike.svelte';
export { default as DomiCredit } from './components/DomiCredit.svelte';
export { DOMI_ATTRIBUTION, DOMI_ATTRIBUTION_TEXT } from './lib/credit';
export { strike } from './lib/strike';
export { icons, type IconName } from './lib/icons';
export { enterAction, canSend, isSoftKeyboard, failureText, DomiError } from './lib/keys';
export type { EnterKey, EnterContext, EnterResult, FieldState, ButtonState } from './lib/keys';
export type { DomiOption, ButtonVariant, ControlSize, FieldAction, DomiTheme, DomiDensity } from './types';
export { tokens, appIds, type DomiAppId } from './tokens/generated';