@object-ui/fields 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 +39 -0
- package/dist/FieldEditWidget.d.ts +13 -0
- package/dist/index.cjs +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1058 -1002
- package/package.json +11 -11
- package/src/FieldEditWidget.tsx +91 -0
- package/src/index.tsx +1 -0
- package/src/widgets/LookupField.tsx +33 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,44 @@
|
|
|
1
1
|
# @object-ui/fields
|
|
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/react@11.3.0
|
|
14
|
+
- @object-ui/types@11.3.0
|
|
15
|
+
- @object-ui/providers@11.3.0
|
|
16
|
+
|
|
17
|
+
## 11.2.0
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Updated dependencies [9e7a986]
|
|
22
|
+
- Updated dependencies [1311749]
|
|
23
|
+
- @object-ui/components@11.2.0
|
|
24
|
+
- @object-ui/core@11.2.0
|
|
25
|
+
- @object-ui/react@11.2.0
|
|
26
|
+
- @object-ui/types@11.2.0
|
|
27
|
+
- @object-ui/i18n@11.2.0
|
|
28
|
+
- @object-ui/providers@11.2.0
|
|
29
|
+
|
|
30
|
+
## 11.1.0
|
|
31
|
+
|
|
32
|
+
### Patch Changes
|
|
33
|
+
|
|
34
|
+
- Updated dependencies [6726a2b]
|
|
35
|
+
- @object-ui/i18n@11.1.0
|
|
36
|
+
- @object-ui/components@11.1.0
|
|
37
|
+
- @object-ui/react@11.1.0
|
|
38
|
+
- @object-ui/types@11.1.0
|
|
39
|
+
- @object-ui/core@11.1.0
|
|
40
|
+
- @object-ui/providers@11.1.0
|
|
41
|
+
|
|
3
42
|
## 7.3.0
|
|
4
43
|
|
|
5
44
|
### Minor Changes
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { FieldWidgetProps } from './widgets/types';
|
|
3
|
+
/** Field types whose value is chosen in one discrete gesture (no free typing). */
|
|
4
|
+
export declare const DISCRETE_EDIT_TYPES: Set<string>;
|
|
5
|
+
/** True when a field type has a dedicated in-place edit widget. */
|
|
6
|
+
export declare function hasFieldEditWidget(type: string | undefined): boolean;
|
|
7
|
+
/**
|
|
8
|
+
* Render the dedicated edit widget for a field's type — the SAME control the
|
|
9
|
+
* form uses — as a controlled `{ value, onChange, field }` input. Returns
|
|
10
|
+
* `null` for types without a registered widget so the caller can fall back to
|
|
11
|
+
* a plain editor.
|
|
12
|
+
*/
|
|
13
|
+
export declare function FieldEditWidget({ field, value, onChange, readonly, }: FieldWidgetProps<any>): React.ReactElement | null;
|