@synopackageland/ui 0.19.7 → 0.19.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.19.9 (2026-11-03)
4
+
5
+ - `WizardDialog` takes `confirm-close`. While it is true, the close button, Escape and Cancel first ask "Discard changes?" with Keep editing and Discard; Keep editing returns to the wizard, Discard closes it and emits `cancel` once. Finish never asks, and with the prop false (the default) the wizard closes at once as before. The text follows the locale provider in every built-in locale ([wizard](docs/wizard.md#leaving-with-input)).
6
+
7
+ ## 0.19.8 (2026-11-03)
8
+
9
+ - Fix `ScheduleTable`'s notice for missing options or a `modelValue` of the wrong length ending with a closing period. It was the last text the library wrote that did, since the catalogs already dropped theirs in 0.19.3.
10
+ - A test now parses every shipped component's template and fails on text that ends with a closing sentence period, as the catalog test does for translated text.
11
+
3
12
  ## 0.19.7 (2026-11-03)
4
13
 
5
14
  - Fix `Callout variant="hint"` with a `#details` slot showing its tone icon twice, before and after the text. It now shows the icon once, before the text, and the whole line is the tooltip's trigger: the details open as soon as the pointer is anywhere on the line, on focus (the line is a Tab stop) and on a tap, and a screen reader reads them as the line's description. `InfoTip` takes `wrap` to make its trigger wrap a `custom` slot instead of being a 16px icon button ([callout](docs/callout.md)).
package/README.md CHANGED
@@ -312,7 +312,7 @@ DSM's wizards: a fixed header with the wizard's name, the step's title and a
312
312
  compact progress bar; a scrolling step with its hero and one line; and a fixed
313
313
  footer with Back and the one main action together at the end. The app behind
314
314
  takes a light scrim, and a press on it does not close the wizard. `Wizard` is
315
- the same layout for a `<Dialog flush>` of your own or a page (`framed`). See
315
+ the same layout for a `<Dialog flush>` of your own or a page (`framed`). Set `confirm-close` while the user has entered something and the close button, Escape and Cancel ask "Keep editing / Discard" first. See
316
316
  [docs/wizard.md](docs/wizard.md).
317
317
 
318
318
  ### Toast notifications
@@ -13,6 +13,8 @@ type __VLS_Props = {
13
13
  closeLabel?: string;
14
14
  showClose?: boolean;
15
15
  closeOnFinish?: boolean;
16
+ /** `true` asks "Keep editing / Discard" before the close button, Escape or Cancel closes the wizard; `false` closes at once. Finish never asks. */
17
+ confirmClose?: boolean;
16
18
  };
17
19
  declare var __VLS_9: {}, __VLS_20: {};
18
20
  type __VLS_Slots = {} & {
@@ -33,6 +35,7 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {},
33
35
  open: boolean;
34
36
  showClose: boolean;
35
37
  closeOnFinish: boolean;
38
+ confirmClose: boolean;
36
39
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
37
40
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
38
41
  declare const _default: typeof __VLS_export;
@@ -235,6 +235,10 @@ export declare const englishUiText: {
235
235
  readonly "Create \u201C{name}\u201D": "Create “{name}”";
236
236
  readonly "Show details": "Show details";
237
237
  readonly "Hide details": "Hide details";
238
+ readonly "Discard changes?": "Discard changes?";
239
+ readonly "What you entered will be lost": "What you entered will be lost";
240
+ readonly "Keep editing": "Keep editing";
241
+ readonly Discard: "Discard";
238
242
  };
239
243
  export type UiTextKey = keyof typeof englishUiText;
240
244
  export type UiTranslator = (key: UiTextKey, values?: Record<string, string | number>) => string;