@synopackageland/ui 0.19.8 → 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 +4 -0
- package/README.md +1 -1
- package/dist/components/composite/wizard/WizardDialog.vue.d.ts +3 -0
- package/dist/i18n/text.d.ts +4 -0
- package/dist/index.js +2706 -2631
- package/dist/json-preview/preview.js +737 -701
- package/dist/reka-runtime.json +1 -1
- package/docs/wizard.md +15 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
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
|
+
|
|
3
7
|
## 0.19.8 (2026-11-03)
|
|
4
8
|
|
|
5
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.
|
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;
|
package/dist/i18n/text.d.ts
CHANGED
|
@@ -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;
|