[ui] DomiUi: @domi/ui v1.4.0: Water and Touch her are Button again (the handler fix from here), the credit is DomiCredit link={false}

This commit is contained in:
2026-11-23 02:31:50 +01:00
parent 7f8b6861f9
commit 87ca83cd1b
17 changed files with 213 additions and 60 deletions
+6 -9
View File
@@ -1,5 +1,5 @@
<script lang="ts">
import { Button, DOMI_ATTRIBUTION_TEXT, strike } from '@domi/ui';
import { Button, DomiCredit, strike } from '@domi/ui';
import { PRODUCT_NAME, type Gardener } from '@rosea/schema';
import { tick } from 'svelte';
import { en } from './copy/en.js';
@@ -244,11 +244,11 @@
<!--
The licence's credit (CPAL-1.0 Exhibit B, for Rosea and for @domi/ui): its exact words, at the foot of every screen
from the first open on (domi-ui.md D9). Plain text, not @domi/ui's DomiCredit link: the garden is offline, and a
tap must never carry the player out of it, least of all on Android, which has no internet at all.
from the first open on (domi-ui.md D9). link={false}: the address as plain text, because the garden is offline and
a tap must never carry the player out of it, least of all on Android, which has no internet at all.
-->
{#snippet credit()}
<p class="credit">{DOMI_ATTRIBUTION_TEXT}</p>
<DomiCredit link={false} class="credit" />
{/snippet}
{#if updateReady && onrefresh}
@@ -311,11 +311,8 @@
font-size: 0.9rem;
}
.credit {
margin: var(--space-4) 0 0;
font-size: 0.8rem;
color: var(--ink-soft);
text-align: center;
.shell :global(.credit) {
margin-top: var(--space-4);
}
.update {