@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 +9 -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 +2708 -2633
- 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/dist/reka-runtime.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"version": "2.10.5",
|
|
4
4
|
"delivery": "bundled-patched-esm",
|
|
5
5
|
"patchManifestSha256": "14f10159b60d48ac7a0686f58faf7a30e99898dc267b3c032cf2bdd6052dc52b",
|
|
6
|
-
"bundleSha256": "
|
|
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
|