@object-ui/plugin-form 5.0.1 → 5.1.1
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 +56 -0
- package/dist/index.js +614 -423
- package/dist/index.umd.cjs +1 -1
- package/dist/packages/plugin-form/src/EmbeddableForm.d.ts +68 -1
- package/dist/packages/plugin-form/src/FormSection.d.ts +8 -0
- package/dist/packages/plugin-form/src/index.d.ts +1 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,61 @@
|
|
|
1
1
|
# @object-ui/plugin-form
|
|
2
2
|
|
|
3
|
+
## 5.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [8955b9c]
|
|
8
|
+
- @object-ui/components@5.1.1
|
|
9
|
+
- @object-ui/fields@5.1.1
|
|
10
|
+
- @object-ui/types@5.1.1
|
|
11
|
+
- @object-ui/core@5.1.1
|
|
12
|
+
- @object-ui/react@5.1.1
|
|
13
|
+
- @object-ui/permissions@5.1.1
|
|
14
|
+
|
|
15
|
+
## 5.1.0
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- c0b236f: Platform detail/form polish:
|
|
20
|
+
- **Auto-section grouping**: When an object has no authored `views.form.sections`, the detail page now splits fields into a primary section and a collapsible "More details" section based on a field-type/name heuristic (textarea / markdown / description / notes / remarks). Eliminates the wall-of-fields layout on objects without explicit detail metadata.
|
|
21
|
+
- **FormSection card chrome**: `FormSection` now accepts `showBorder`. Defaults to `true` for titled sections (Card wrapper) and `false` for untitled sections (flat). Same auto-default already applied to `DetailSection`.
|
|
22
|
+
- **Origin breadcrumb**: Navigating from a list/kanban into a record now records the source view; the detail page shows a `← <view label>` back-link above the page header.
|
|
23
|
+
- New i18n key `detail.sectionMoreDetails` (en + zh-CN).
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- Updated dependencies [bd8447d]
|
|
28
|
+
- Updated dependencies [fbd5052]
|
|
29
|
+
- Updated dependencies [d51a577]
|
|
30
|
+
- Updated dependencies [d1ec6a2]
|
|
31
|
+
- Updated dependencies [cf30cc2]
|
|
32
|
+
- Updated dependencies [5b80cfd]
|
|
33
|
+
- Updated dependencies [d548d6b]
|
|
34
|
+
- @object-ui/components@5.1.0
|
|
35
|
+
- @object-ui/react@5.1.0
|
|
36
|
+
- @object-ui/types@5.1.0
|
|
37
|
+
- @object-ui/core@5.1.0
|
|
38
|
+
- @object-ui/fields@5.1.0
|
|
39
|
+
- @object-ui/permissions@5.1.0
|
|
40
|
+
|
|
41
|
+
## 5.0.2
|
|
42
|
+
|
|
43
|
+
### Patch Changes
|
|
44
|
+
|
|
45
|
+
- a311e22: Fix EmbeddableForm rendering no inputs on the public-form path. When the
|
|
46
|
+
caller passes a `fields: string[]` list (e.g. the response from
|
|
47
|
+
`GET /api/v1/forms/:slug`) the inner `ObjectForm` now receives a
|
|
48
|
+
read-only wrapper of the data source — preserving `getObjectSchema()`
|
|
49
|
+
so it can materialise widgets, while neutralising mutating ops so all
|
|
50
|
+
backend writes still go through `EmbeddableForm.handleSubmit` (and its
|
|
51
|
+
consent / honeypot / min-fill / redirect / payload-sanitisation gates).
|
|
52
|
+
- @object-ui/components@5.0.2
|
|
53
|
+
- @object-ui/fields@5.0.2
|
|
54
|
+
- @object-ui/react@5.0.2
|
|
55
|
+
- @object-ui/types@5.0.2
|
|
56
|
+
- @object-ui/core@5.0.2
|
|
57
|
+
- @object-ui/permissions@5.0.2
|
|
58
|
+
|
|
3
59
|
## 5.0.1
|
|
4
60
|
|
|
5
61
|
### Patch Changes
|