@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.
@@ -3,7 +3,7 @@
3
3
  "version": "2.10.5",
4
4
  "delivery": "bundled-patched-esm",
5
5
  "patchManifestSha256": "14f10159b60d48ac7a0686f58faf7a30e99898dc267b3c032cf2bdd6052dc52b",
6
- "bundleSha256": "963ece8fcc9a6f17a0a46f34d00057f22a0dd053976b9d4834ecb0470d04b7e6",
6
+ "bundleSha256": "6beb0de139248608584a5de8dda879175f07c965ee45f2b1c8ae9d3d1499c439",
7
7
  "sourceHashes": {
8
8
  "shared/useBodyScrollLock.js": "657592f283cb6fd25454abd284a0024af21936cb56e05b762ff0d22b6a979d32",
9
9
  "DismissableLayer/DismissableLayer.js": "da05ca544d9822a8e2b71057e78c0e1ef59423aa3893534338fb58e1ecbd1a8d",
package/docs/wizard.md CHANGED
@@ -130,6 +130,21 @@ These are `Dialog` props (`scrim="light"`, `:close-on-outside="false"`,
130
130
  `:header-divider="false"`), so a dialog of your own around a `Wizard` can
131
131
  open the same way.
132
132
 
133
+ ## Leaving with input
134
+
135
+ `WizardDialog` takes `confirm-close`. Bind it to "the user has entered
136
+ something" and the close button, Escape and Cancel (when the wizard shows it) ask
137
+ first: "Discard changes?" with **Keep editing** and **Discard**. Keep editing
138
+ returns to the wizard with its state; Discard closes it and emits `cancel` once.
139
+ While it is `false` (the default) they close at once. Finish never asks. The
140
+ wizard has no overlay close (`close-on-outside` is off), so there is no fourth
141
+ path. The text is localized by the locale provider (`ConfigProvider`/`AppRoot`)
142
+ in every built-in locale.
143
+
144
+ ```vue
145
+ <WizardDialog v-model:open="open" title="Create shared folder" :confirm-close="name !== ''">…</WizardDialog>
146
+ ```
147
+
133
148
  ## Behaviour
134
149
 
135
150
  - **Focus.** When the step changes while the focus is in the wizard, the focus
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synopackageland/ui",
3
- "version": "0.19.7",
3
+ "version": "0.19.9",
4
4
  "description": "Shared Vue 3 UI component library with a DSM 7 inspired application theme",
5
5
  "license": "MIT",
6
6
  "type": "module",