[ui] DomiUi: Rosea's buttons and town search on @domi/ui v1.0.4 (CPAL-1.0, vendored by its own tool into packages/domi-ui), the licence credit at the foot of every screen, the README's copy line and public-domain sources; before-and-after pictures by pnpm look:shots

This commit is contained in:
2026-11-23 00:59:50 +01:00
parent 295e6ba59a
commit 8018268821
79 changed files with 8554 additions and 222 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';