@object-ui/plugin-form 11.0.0 → 11.3.0
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 +42 -0
- package/dist/DrawerForm.d.ts +9 -0
- package/dist/ModalForm.d.ts +9 -0
- package/dist/index.js +600 -504
- package/dist/index.umd.cjs +1 -1
- package/package.json +13 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,47 @@
|
|
|
1
1
|
# @object-ui/plugin-form
|
|
2
2
|
|
|
3
|
+
## 11.3.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [d88c8ec]
|
|
8
|
+
- Updated dependencies [b7237bb]
|
|
9
|
+
- Updated dependencies [d23d6eb]
|
|
10
|
+
- @object-ui/components@11.3.0
|
|
11
|
+
- @object-ui/i18n@11.3.0
|
|
12
|
+
- @object-ui/core@11.3.0
|
|
13
|
+
- @object-ui/fields@11.3.0
|
|
14
|
+
- @object-ui/react@11.3.0
|
|
15
|
+
- @object-ui/types@11.3.0
|
|
16
|
+
- @object-ui/permissions@11.3.0
|
|
17
|
+
|
|
18
|
+
## 11.2.0
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- Updated dependencies [9e7a986]
|
|
23
|
+
- Updated dependencies [1311749]
|
|
24
|
+
- @object-ui/components@11.2.0
|
|
25
|
+
- @object-ui/core@11.2.0
|
|
26
|
+
- @object-ui/fields@11.2.0
|
|
27
|
+
- @object-ui/react@11.2.0
|
|
28
|
+
- @object-ui/types@11.2.0
|
|
29
|
+
- @object-ui/i18n@11.2.0
|
|
30
|
+
- @object-ui/permissions@11.2.0
|
|
31
|
+
|
|
32
|
+
## 11.1.0
|
|
33
|
+
|
|
34
|
+
### Patch Changes
|
|
35
|
+
|
|
36
|
+
- Updated dependencies [6726a2b]
|
|
37
|
+
- @object-ui/i18n@11.1.0
|
|
38
|
+
- @object-ui/components@11.1.0
|
|
39
|
+
- @object-ui/fields@11.1.0
|
|
40
|
+
- @object-ui/react@11.1.0
|
|
41
|
+
- @object-ui/types@11.1.0
|
|
42
|
+
- @object-ui/core@11.1.0
|
|
43
|
+
- @object-ui/permissions@11.1.0
|
|
44
|
+
|
|
3
45
|
## 7.3.0
|
|
4
46
|
|
|
5
47
|
### Patch Changes
|
package/dist/DrawerForm.d.ts
CHANGED
|
@@ -29,6 +29,15 @@ export interface DrawerFormSchema {
|
|
|
29
29
|
* Callback when open state changes.
|
|
30
30
|
*/
|
|
31
31
|
onOpenChange?: (open: boolean) => void;
|
|
32
|
+
/**
|
|
33
|
+
* Guard against *accidentally* discarding unsaved input. When the form has
|
|
34
|
+
* unsaved changes, an accidental close (backdrop click, Escape, or the X
|
|
35
|
+
* button) first asks the user to confirm. The explicit Cancel button is an
|
|
36
|
+
* intentional discard and always closes immediately. Set to `false` to drop
|
|
37
|
+
* the confirmation entirely.
|
|
38
|
+
* @default true
|
|
39
|
+
*/
|
|
40
|
+
confirmOnDiscard?: boolean;
|
|
32
41
|
/**
|
|
33
42
|
* Drawer side.
|
|
34
43
|
* @default 'right'
|
package/dist/ModalForm.d.ts
CHANGED
|
@@ -40,6 +40,15 @@ export interface ModalFormSchema {
|
|
|
40
40
|
* @default true
|
|
41
41
|
*/
|
|
42
42
|
modalCloseButton?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Guard against *accidentally* discarding unsaved input. When the form has
|
|
45
|
+
* unsaved changes, an accidental close (backdrop click, Escape, or the X
|
|
46
|
+
* button) first asks the user to confirm. The explicit Cancel button is an
|
|
47
|
+
* intentional discard and always closes immediately. Set to `false` to drop
|
|
48
|
+
* the confirmation entirely.
|
|
49
|
+
* @default true
|
|
50
|
+
*/
|
|
51
|
+
confirmOnDiscard?: boolean;
|
|
43
52
|
showSubmit?: boolean;
|
|
44
53
|
submitText?: string;
|
|
45
54
|
showCancel?: boolean;
|