@guillotinaweb/react-gmi 0.34.2 → 0.35.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/README.md CHANGED
@@ -9,7 +9,7 @@ All this with the flexibility to build it your way, adding your own content with
9
9
  ## Prerequisites
10
10
 
11
11
  - React 16.12+ / 17 / 18 / 19
12
- - Node.js 20+
12
+ - Node.js 22.13+
13
13
  - TypeScript 5.4+
14
14
 
15
15
  ## Status
@@ -142,12 +142,18 @@ See the [Extension Guide](docs/extend.md) for detailed examples.
142
142
  - [Extension Guide](docs/extend.md) - How to extend and customize
143
143
  - [API Documentation](docs/api.md) - Component and hook reference
144
144
 
145
- ## Development
145
+ ## Contributing
146
+
147
+ Contributions are welcome. Before opening a PR, please read [CONTRIBUTING.md](CONTRIBUTING.md) and the full [Development Setup](docs/development-setup.md) guide.
148
+
149
+ To start the project locally for development, follow the quick start below. Before submitting changes, run `pnpm lint`, `pnpm test`, and `pnpm build`.
150
+
151
+ ## Development Setup
146
152
 
147
153
  ### Prerequisites
148
154
 
149
- - Node.js 20+
150
- - pnpm 9+ (`npm install -g pnpm`)
155
+ - Node.js 22.13+
156
+ - pnpm 11+ (`corepack enable` or `npm install -g pnpm`)
151
157
  - Docker (for running Guillotina)
152
158
 
153
159
  ### Quick Start
@@ -157,15 +163,17 @@ See the [Extension Guide](docs/extend.md) for detailed examples.
157
163
  git clone git@github.com:guillotinaweb/guillotina_react.git
158
164
  cd guillotina_react
159
165
  pnpm install
166
+ pnpm e2e:install
160
167
 
161
- # Start Guillotina backend (see docs/development-setup.md for details)
162
- docker run -d --name postgres -e POSTGRES_DB=guillotina -e POSTGRES_USER=guillotina -e POSTGRES_HOST_AUTH_METHOD=trust -p 5432:5432 postgres:18
163
- docker run --rm -it --link=postgres -p 8080:8080 plone/guillotina:latest
168
+ # Start Guillotina + Postgres (Docker Compose; see docs/development-setup.md)
169
+ pnpm guillotina:up
164
170
 
165
- # Start development server
171
+ # Start development server (separate terminal)
166
172
  pnpm dev
167
173
  ```
168
174
 
175
+ The playground will be available at `http://127.0.0.1:5173`.
176
+
169
177
  ### Available Scripts
170
178
 
171
179
  | Command | Description |
@@ -174,6 +182,10 @@ pnpm dev
174
182
  | `pnpm build` | Build the library (JS + CSS) using Vite |
175
183
  | `pnpm test` | Run unit tests (Vitest) |
176
184
  | `pnpm test:e2e` | Run E2E tests (Playwright) |
185
+ | `pnpm e2e:install` | Install E2E deps + Playwright browsers |
186
+ | `pnpm guillotina:up` | Start Postgres + example Guillotina (Compose, detached) |
187
+ | `pnpm guillotina:logs` | Tail Compose logs |
188
+ | `pnpm guillotina:down` | Stop Compose stack |
177
189
  | `pnpm lint` | Run ESLint |
178
190
  | `pnpm format` | Format with Prettier |
179
191
 
package/dist/index.d.ts CHANGED
@@ -3,13 +3,15 @@ import { default as default_2 } from 'react';
3
3
  import { Dispatch } from 'react';
4
4
  import { ForwardRefExoticComponent } from 'react';
5
5
  import { InputHTMLAttributes } from 'react';
6
- import { JSX as JSX_2 } from 'react/jsx-runtime';
7
- import { JSX as JSX_3 } from 'react/jsx-runtime.js';
6
+ import { JSX } from 'react/jsx-runtime';
7
+ import { JSX as JSX_2 } from 'react/jsx-runtime.js';
8
8
  import { MessageDescriptor } from 'react-intl';
9
9
  import { MouseEvent as MouseEvent_2 } from 'react';
10
+ import { ReactElement } from 'react';
11
+ import { ReactPortal } from 'react';
10
12
  import { RefAttributes } from 'react';
11
13
 
12
- export declare function AddItem(props: Props): JSX_2.Element;
14
+ export declare function AddItem(props: Props): JSX.Element;
13
15
 
14
16
  export declare interface AddonAvailable {
15
17
  id: string;
@@ -22,7 +24,7 @@ export declare interface Addons {
22
24
  installed: string[];
23
25
  }
24
26
 
25
- export declare function AddPermission({ refresh, reset }: AddPermissionProps): JSX_2.Element;
27
+ export declare function AddPermission({ refresh, reset }: AddPermissionProps): JSX.Element;
26
28
 
27
29
  declare interface AddPermissionProps {
28
30
  refresh: (state: number) => void;
@@ -35,7 +37,7 @@ declare interface AddPermissionProps {
35
37
  */
36
38
  export declare function AllItemsCheckbox({ dataTest }: {
37
39
  dataTest?: string;
38
- }): JSX_2.Element;
40
+ }): JSX.Element;
39
41
 
40
42
  export declare interface AllPermissions {
41
43
  [key: string]: AllPermissionsItem;
@@ -48,7 +50,7 @@ export declare interface AllPermissionsItem {
48
50
  perminhe?: Perminhe[];
49
51
  }
50
52
 
51
- export declare function ApplicationCtx(): JSX_2.Element;
53
+ export declare function ApplicationCtx(): JSX.Element;
52
54
 
53
55
  export declare class Auth {
54
56
  maxRetry: number;
@@ -81,7 +83,7 @@ export declare const AuthContext: Context< {}>;
81
83
 
82
84
  export declare function base64ToArrayBuffer(base64: string): Uint8Array<ArrayBuffer>;
83
85
 
84
- export declare function BaseForm({ onSubmit, actionName, title, dataTest, loading, }: BaseFormProps): JSX_2.Element;
86
+ export declare function BaseForm({ onSubmit, actionName, title, dataTest, loading, }: BaseFormProps): JSX.Element;
85
87
 
86
88
  export declare interface BaseFormProps {
87
89
  onSubmit: (data: {
@@ -95,23 +97,23 @@ export declare interface BaseFormProps {
95
97
  type: string;
96
98
  }
97
99
 
98
- export declare function BehaviorNotImplemented(): JSX_2.Element;
100
+ export declare function BehaviorNotImplemented(): JSX.Element;
99
101
 
100
- export declare function BehaviorsView({ context, schema }: Props_34): JSX_2.Element;
102
+ export declare function BehaviorsView({ context, schema }: Props_34): JSX.Element;
101
103
 
102
104
  export declare function buildQs(parsedQuery: string[][]): string;
103
105
 
104
- export declare const Button: ({ children, className, onClick, type, loading, disabled, dataTest, }: Props_3) => JSX_2.Element;
106
+ export declare const Button: ({ children, className, onClick, type, loading, disabled, dataTest, }: Props_3) => JSX.Element;
105
107
 
106
- export declare const Checkbox: ({ id, className, classNameInput, loading, disabled, indeterminate, checked, children, placeholder, onChange, dataTest, }: Props_4) => JSX_2.Element;
108
+ export declare const Checkbox: ({ id, className, classNameInput, loading, disabled, indeterminate, checked, children, placeholder, onChange, dataTest, }: Props_4) => JSX.Element;
107
109
 
108
110
  export declare const classnames: (classNames: (string | boolean)[]) => string;
109
111
 
110
112
  export declare const ClientContext: Context<GuillotinaClient | null>;
111
113
 
112
- export declare function ClientProvider({ children, client }: PropsClient): JSX_3.Element;
114
+ export declare function ClientProvider({ children, client }: PropsClient): JSX_2.Element;
113
115
 
114
- export declare function Confirm({ message, onCancel, onConfirm, loading, }: ConfirmProps): JSX_2.Element;
116
+ export declare function Confirm({ message, onCancel, onConfirm, loading, }: ConfirmProps): JSX.Element;
115
117
 
116
118
  declare interface ConfirmProps {
117
119
  message?: React.ReactNode;
@@ -120,19 +122,19 @@ declare interface ConfirmProps {
120
122
  loading?: boolean;
121
123
  }
122
124
 
123
- export declare function ContainerCtx(): JSX_2.Element;
125
+ export declare function ContainerCtx(): JSX.Element;
124
126
 
125
- export declare function ContextToolbar({ AddButton }: Props_35): JSX_2.Element;
127
+ export declare function ContextToolbar({ AddButton }: Props_35): JSX.Element;
126
128
 
127
- export declare function CreateButton({ types }: CreateButtonProps): JSX_2.Element | null;
129
+ export declare function CreateButton({ types }: CreateButtonProps): JSX.Element | null;
128
130
 
129
131
  declare interface CreateButtonProps {
130
132
  types: string[];
131
133
  }
132
134
 
133
- export declare function CreateContainer(): JSX_2.Element;
135
+ export declare function CreateContainer(): JSX.Element;
134
136
 
135
- export declare function DatabaseCtx(): JSX_2.Element;
137
+ export declare function DatabaseCtx(): JSX.Element;
136
138
 
137
139
  export declare function debounce<T extends unknown[], U>(callback: (...args: T) => PromiseLike<U> | U, wait: number): (...args: T) => Promise<U>;
138
140
 
@@ -150,9 +152,9 @@ export declare interface Definitions {
150
152
  };
151
153
  }
152
154
 
153
- export declare function Delete({ onClick, className, children }: Props_30): JSX_2.Element;
155
+ export declare function Delete({ onClick, className, children }: Props_30): JSX.Element;
154
156
 
155
- export declare const DownloadField: ({ value }: DownloadFieldProps) => JSX_2.Element;
157
+ export declare const DownloadField: ({ value }: DownloadFieldProps) => JSX.Element;
156
158
 
157
159
  declare interface DownloadFieldProps {
158
160
  value: {
@@ -164,25 +166,25 @@ declare interface DownloadFieldProps {
164
166
  };
165
167
  }
166
168
 
167
- export declare function EditableField({ field, value, ns, schema, modifyContent, required, }: Props_17): JSX_2.Element;
169
+ export declare function EditableField({ field, value, ns, schema, modifyContent, required, }: Props_17): JSX.Element;
168
170
 
169
171
  declare type EditableFieldValue = GuillotinaFile | LightFile | IndexSignature | string | string[] | boolean | Date | undefined | null;
170
172
 
171
173
  export declare const EditComponent: ForwardRefExoticComponent<Props_18 & RefAttributes<unknown>>;
172
174
 
173
- export declare const EmailInput: ({ value, dataTest, placeholder, id, onChange, required, }: Props_5) => JSX_2.Element;
175
+ export declare const EmailInput: ({ value, dataTest, placeholder, id, onChange, required, }: Props_5) => JSX.Element;
174
176
 
175
- export declare function FileUpload({ label, onChange, dataTest }: Props_12): JSX_3.Element;
177
+ export declare function FileUpload({ label, onChange, dataTest }: Props_12): JSX_2.Element;
176
178
 
177
- export declare function Flash(): JSX_2.Element | null;
179
+ export declare function Flash(): JSX.Element | null;
178
180
 
179
- export declare function FolderCtx(): JSX_2.Element;
181
+ export declare function FolderCtx(): JSX.Element;
180
182
 
181
- export declare const Form: ({ children, className, onSubmit, onReset, autoComplete, title, error, dataTest, }: Props_7) => JSX_2.Element;
183
+ export declare const Form: ({ children, className, onSubmit, onReset, autoComplete, title, error, dataTest, }: Props_7) => JSX.Element;
182
184
 
183
185
  export declare const formatDate: (str: string) => string;
184
186
 
185
- export declare function FormBuilder({ schema, formData, onSubmit, actionName, children, exclude, remotes, submitButton, }: Props_6): JSX_2.Element;
187
+ export declare function FormBuilder({ schema, formData, onSubmit, actionName, children, exclude, remotes, submitButton, }: Props_6): JSX.Element;
186
188
 
187
189
  export declare const generateUID: (prefix?: string) => string;
188
190
 
@@ -450,13 +452,13 @@ export declare function getClient(url: string, container: string, auth: Auth): G
450
452
 
451
453
  export declare function getNewId(id?: string): string;
452
454
 
453
- export declare function GroupCtx(): JSX_2.Element;
455
+ export declare function GroupCtx(): JSX.Element;
454
456
 
455
- export declare function GroupsCtx(): JSX_2.Element;
457
+ export declare function GroupsCtx(): JSX.Element;
456
458
 
457
- export declare function GroupToolbar(): JSX_2.Element;
459
+ export declare function GroupToolbar(): JSX.Element;
458
460
 
459
- export declare function Guillotina({ auth, locale, ...props }: GuillotinaProps): JSX_2.Element;
461
+ export declare function Guillotina({ auth, locale, ...props }: GuillotinaProps): JSX.Element;
460
462
 
461
463
  export declare type GuillotinaApplication = {
462
464
  databases: string[];
@@ -693,7 +695,7 @@ export declare interface GuillotinaVocabularyItem {
693
695
  token: string;
694
696
  }
695
697
 
696
- export declare function IAttachment({ properties, values }: Props_19): JSX_2.Element;
698
+ export declare function IAttachment({ properties, values }: Props_19): JSX.Element;
697
699
 
698
700
  export declare interface IBehaviorDublinCore {
699
701
  title: string;
@@ -708,7 +710,7 @@ export declare interface IBehaviorDublinCore {
708
710
  contributors: string[];
709
711
  }
710
712
 
711
- export declare const Icon: ({ icon, className, align }: Props_27) => JSX_2.Element;
713
+ export declare const Icon: ({ icon, className, align }: Props_27) => JSX.Element;
712
714
 
713
715
  export declare interface IConfig {
714
716
  DisabledTypes: string[];
@@ -726,7 +728,7 @@ export declare interface IConfig {
726
728
  flash?: (message: string, type: string) => void;
727
729
  }
728
730
 
729
- export declare function IImageAttachment({ properties, values }: Props_21): JSX_2.Element;
731
+ export declare function IImageAttachment({ properties, values }: Props_21): JSX.Element;
730
732
 
731
733
  export declare interface IManageRegistry {
732
734
  registry: IRegistry;
@@ -752,11 +754,11 @@ export declare interface IManageRegistry {
752
754
  };
753
755
  }
754
756
 
755
- export declare function IMultiAttachment({ properties, values }: Props_20): JSX_2.Element;
757
+ export declare function IMultiAttachment({ properties, values }: Props_20): JSX.Element;
756
758
 
757
- export declare function IMultiImageAttachment({ properties, values }: Props_22): JSX_2.Element;
759
+ export declare function IMultiImageAttachment({ properties, values }: Props_22): JSX.Element;
758
760
 
759
- export declare function IMultiImageOrderedAttachment({ properties, values }: Props_23): JSX_2.Element;
761
+ export declare function IMultiImageOrderedAttachment({ properties, values }: Props_23): JSX.Element;
760
762
 
761
763
  declare interface IndexSignature<T = any> {
762
764
  [key: string]: T;
@@ -774,13 +776,13 @@ export declare interface IRegistry {
774
776
  [key: string]: default_2.ComponentType<any>;
775
777
  };
776
778
  actions: {
777
- [key: string]: (props: any) => JSX.Element;
779
+ [key: string]: (props: any) => default_2.ReactElement;
778
780
  };
779
781
  forms: {
780
- [key: string]: (props: any) => JSX.Element;
782
+ [key: string]: (props: any) => default_2.ReactElement;
781
783
  };
782
784
  behaviors: {
783
- [key: string]: (props: any | undefined) => JSX.Element | null;
785
+ [key: string]: (props: any | undefined) => default_2.ReactElement | null;
784
786
  };
785
787
  itemsColumn: {
786
788
  [key: string]: <T extends SearchOrCommonObject = SearchOrCommonObject>() => ItemColumn<T>[];
@@ -827,9 +829,9 @@ export declare const isNumber: (value?: string) => boolean;
827
829
 
828
830
  export declare const isURL: (value?: string) => boolean;
829
831
 
830
- export declare function Item({ item, icon }: ItemProps): JSX_2.Element;
832
+ export declare function Item({ item, icon }: ItemProps): JSX.Element;
831
833
 
832
- export declare function ItemCheckbox({ item, dataTest }: PropsItemCheckbox): JSX_2.Element;
834
+ export declare function ItemCheckbox({ item, dataTest }: PropsItemCheckbox): JSX.Element;
833
835
 
834
836
  export declare interface ItemColumn<T extends SearchOrCommonObject = SearchOrCommonObject> {
835
837
  key: string;
@@ -844,7 +846,7 @@ export declare interface ItemColumnChild<T extends SearchOrCommonObject = Search
844
846
  search?: string;
845
847
  }
846
848
 
847
- export declare function ItemCtx(): JSX_2.Element;
849
+ export declare function ItemCtx(): JSX.Element;
848
850
 
849
851
  export declare class ItemModel<T extends SearchItem | GuillotinaCommonObject = SearchItem | GuillotinaCommonObject> {
850
852
  item: T;
@@ -883,9 +885,9 @@ onAction?: (action: string) => void;
883
885
  /**
884
886
  * Dropdown to choose some action to apply to the selected items.
885
887
  */
886
- export declare function ItemsActionsDropdown(): JSX_2.Element;
888
+ export declare function ItemsActionsDropdown(): JSX.Element;
887
889
 
888
- export declare function ItemsActionsProvider({ items, children, }: PropsItemsActionsProvider): JSX_2.Element;
890
+ export declare function ItemsActionsProvider({ items, children, }: PropsItemsActionsProvider): JSX.Element;
889
891
 
890
892
  declare type ItemsPropertyObject = {
891
893
  '@id': string;
@@ -900,21 +902,21 @@ declare type ItemsPropertyObject = {
900
902
  type_name: string;
901
903
  };
902
904
 
903
- export declare function ItemTitle({ title, actions }: ItemTitleProps): JSX_2.Element;
905
+ export declare function ItemTitle({ title, actions }: ItemTitleProps): JSX.Element;
904
906
 
905
907
  declare interface ItemTitleProps {
906
908
  title: string;
907
909
  actions?: default_2.ReactNode;
908
910
  }
909
911
 
910
- export declare function IWorkflow(): JSX_2.Element | null;
912
+ export declare function IWorkflow(): JSX.Element | null;
911
913
 
912
914
  export declare interface IWorkflowBehavior {
913
915
  review_state: string;
914
916
  history: WorkflowHistory[];
915
917
  }
916
918
 
917
- export declare function Layout({ children, onLogout, auth }: Props_37): JSX_2.Element;
919
+ export declare function Layout({ children, onLogout, auth }: Props_37): JSX.Element;
918
920
 
919
921
  declare interface LightFile {
920
922
  filename: string;
@@ -924,11 +926,11 @@ declare interface LightFile {
924
926
 
925
927
  export declare const lightFileReader: (file: File) => Promise<LightFile>;
926
928
 
927
- export declare function Link({ aRef, model, children, ...props }: Props_36): JSX_2.Element;
929
+ export declare function Link({ aRef, model, children, ...props }: Props_36): JSX.Element;
928
930
 
929
- export declare const Loading: ({ style }: Props_28) => JSX_2.Element;
931
+ export declare const Loading: ({ style }: Props_28) => JSX.Element;
930
932
 
931
- export declare const Login: ({ currentSchema, setCurrentSchema, schemas, auth, onLogin, }: Props_38) => JSX_2.Element;
933
+ export declare const Login: ({ currentSchema, setCurrentSchema, schemas, auth, onLogin, }: Props_38) => JSX.Element;
932
934
 
933
935
  export declare const maxLength: (value?: string, limit?: number) => boolean;
934
936
 
@@ -945,7 +947,7 @@ export declare const messages: {
945
947
 
946
948
  export declare const minLength: (value?: string, limit?: number) => boolean;
947
949
 
948
- export declare function Modal(props: ModalProps): JSX_2.Element;
950
+ export declare function Modal(props: ModalProps): ReactPortal;
949
951
 
950
952
  declare interface ModalProps {
951
953
  isActive: boolean;
@@ -956,36 +958,36 @@ declare interface ModalProps {
956
958
 
957
959
  export declare const noop: () => void;
958
960
 
959
- export declare function NotAllowed(): JSX_2.Element;
961
+ export declare function NotAllowed(): JSX.Element;
960
962
 
961
963
  export declare const notEmpty: (value: string) => boolean;
962
964
 
963
- declare function Notification_2({ isColor, children }: Props_32): JSX_2.Element;
965
+ declare function Notification_2({ isColor, children }: Props_32): JSX.Element;
964
966
  export { Notification_2 as Notification }
965
967
 
966
- export declare function Pagination({ current, total, doPaginate, pager }: Props_39): JSX_2.Element | null;
968
+ export declare function Pagination({ current, total, doPaginate, pager }: Props_39): JSX.Element | null;
967
969
 
968
- export declare function PanelActions(): JSX_2.Element;
970
+ export declare function PanelActions(): JSX.Element;
969
971
 
970
- export declare function PanelAddons(): JSX_2.Element;
972
+ export declare function PanelAddons(): JSX.Element;
971
973
 
972
- export declare function PanelBehaviors(): JSX_2.Element;
974
+ export declare function PanelBehaviors(): JSX.Element;
973
975
 
974
- export declare function PanelItems(): JSX_2.Element;
976
+ export declare function PanelItems(): JSX.Element;
975
977
 
976
- export declare function PanelNotImplemented(props: Props_46): JSX_2.Element;
978
+ export declare function PanelNotImplemented(props: Props_46): JSX.Element;
977
979
 
978
- export declare function PanelPermissions(): JSX_2.Element | null;
980
+ export declare function PanelPermissions(): JSX.Element | null;
979
981
 
980
- export declare function PanelProperties(): JSX_2.Element;
982
+ export declare function PanelProperties(): JSX.Element;
981
983
 
982
984
  export declare function parser(qs: string, defaultField?: string | string[] | undefined): string[][];
983
985
 
984
- export declare const PasswordInput: ({ value, dataTest, onChange, placeholder, id, required, }: Props_9 & InputHTMLAttributes<HTMLInputElement>) => JSX_2.Element;
986
+ export declare const PasswordInput: ({ value, dataTest, onChange, placeholder, id, required, }: Props_9 & InputHTMLAttributes<HTMLInputElement>) => JSX.Element;
985
987
 
986
- export declare function Path(): JSX_2.Element | null;
988
+ export declare function Path(): JSX.Element | null;
987
989
 
988
- export declare function PathTree({ title, defaultPath, children, onConfirm, onCancel, }: PathTreeProps): JSX_2.Element;
990
+ export declare function PathTree({ title, defaultPath, children, onConfirm, onCancel, }: PathTreeProps): JSX.Element;
989
991
 
990
992
  declare interface PathTreeProps {
991
993
  title: string;
@@ -1000,11 +1002,11 @@ export declare interface Perminhe {
1000
1002
  setting: Setting;
1001
1003
  }
1002
1004
 
1003
- export declare function PermissionPrinperm({ principals, permissions, operations, refresh, }: Props_24): JSX_2.Element;
1005
+ export declare function PermissionPrinperm({ principals, permissions, operations, refresh, }: Props_24): JSX.Element;
1004
1006
 
1005
- export declare function PermissionPrinrole({ principals, roles, operations, refresh, }: Props_25): JSX_2.Element;
1007
+ export declare function PermissionPrinrole({ principals, roles, operations, refresh, }: Props_25): JSX.Element;
1006
1008
 
1007
- export declare function PermissionRoleperm({ roles, permissions, operations, refresh, }: Props_26): JSX_2.Element;
1009
+ export declare function PermissionRoleperm({ roles, permissions, operations, refresh, }: Props_26): JSX.Element;
1008
1010
 
1009
1011
  declare const Permissions_2: string[];
1010
1012
  export { Permissions_2 as Permissions }
@@ -1436,7 +1438,7 @@ declare interface Props_7 {
1436
1438
 
1437
1439
  declare interface Props_8 {
1438
1440
  name?: string;
1439
- icon?: JSX.Element;
1441
+ icon?: ReactElement;
1440
1442
  iconPosition?: 'has-icons-left' | 'has-icons-right';
1441
1443
  error?: string;
1442
1444
  errorZoneClassName?: string;
@@ -1543,11 +1545,11 @@ export declare interface RegistrySortValue {
1543
1545
  key: string;
1544
1546
  }
1545
1547
 
1546
- export declare function RemoveItems(props: Props_2): JSX_2.Element;
1548
+ export declare function RemoveItems(props: Props_2): JSX.Element;
1547
1549
 
1548
- export declare function RenderField({ value, Widget, schema }: RenderFieldProps): JSX_2.Element | JSX_2.Element[] | PlainType;
1550
+ export declare function RenderField({ value, Widget, schema }: RenderFieldProps): JSX.Element | JSX.Element[] | PlainType;
1549
1551
 
1550
- export declare function RenderFieldComponent({ schema, field, val, modifyContent, }: RenderFieldComponentProps): JSX_2.Element;
1552
+ export declare function RenderFieldComponent({ schema, field, val, modifyContent, }: RenderFieldComponentProps): JSX.Element;
1551
1553
 
1552
1554
  declare interface RenderFieldComponentProps {
1553
1555
  schema: GuillotinaSchemaProperty;
@@ -1566,7 +1568,7 @@ declare interface RenderFieldProps {
1566
1568
  schema?: GuillotinaSchemaProperty;
1567
1569
  }
1568
1570
 
1569
- export declare function RequiredFieldsForm({ loading, onSubmit, actionName, title, dataTest, type, }: Props_45): JSX_2.Element;
1571
+ export declare function RequiredFieldsForm({ loading, onSubmit, actionName, title, dataTest, type, }: Props_45): JSX.Element;
1570
1572
 
1571
1573
  export declare class RestClient {
1572
1574
  url: string;
@@ -1595,7 +1597,7 @@ export declare type ReturnSearchCompatible<T> = {
1595
1597
  items_total: number;
1596
1598
  };
1597
1599
 
1598
- export declare function RItem({ item, search, columns }: RItemProps): JSX_2.Element;
1600
+ export declare function RItem({ item, search, columns }: RItemProps): JSX.Element;
1599
1601
 
1600
1602
  declare interface RItemProps {
1601
1603
  item: SearchItem;
@@ -1609,9 +1611,9 @@ export declare interface Roleperm {
1609
1611
  setting: Setting;
1610
1612
  }
1611
1613
 
1612
- export declare const SearchInput: ({ onChange, error, errorZoneClassName, traversal, path, qs, queryCondition, value, btnClass, dataTestWrapper, dataTestSearchInput, dataTestItem, renderTextItemOption, typeNameQuery, labelProperty, }: Props_14) => JSX_2.Element;
1614
+ export declare const SearchInput: ({ onChange, error, errorZoneClassName, traversal, path, qs, queryCondition, value, btnClass, dataTestWrapper, dataTestSearchInput, dataTestItem, renderTextItemOption, typeNameQuery, labelProperty, }: Props_14) => JSX.Element;
1613
1615
 
1614
- export declare const SearchInputList: ({ onChange, error, errorZoneClassName, traversal, path, qs, queryCondition, value, btnClass, dataTestWrapper, dataTestSearchInput, dataTestItem, renderTextItemOption, typeNameQuery, labelProperty, }: Props_15) => JSX_2.Element;
1616
+ export declare const SearchInputList: ({ onChange, error, errorZoneClassName, traversal, path, qs, queryCondition, value, btnClass, dataTestWrapper, dataTestSearchInput, dataTestItem, renderTextItemOption, typeNameQuery, labelProperty, }: Props_15) => JSX.Element;
1615
1617
 
1616
1618
  export declare type SearchItem = {
1617
1619
  id: string;
@@ -1627,13 +1629,13 @@ export declare type SearchItem = {
1627
1629
  creators: string[];
1628
1630
  } & ItemsPropertyObject;
1629
1631
 
1630
- export declare function SearchLabels({ query }: Props_40): JSX_2.Element | null;
1632
+ export declare function SearchLabels({ query }: Props_40): JSX.Element | null;
1631
1633
 
1632
- export declare function SearchOptionsLabels({ query, options }: Props_41): JSX_2.Element | null;
1634
+ export declare function SearchOptionsLabels({ query, options }: Props_41): JSX.Element | null;
1633
1635
 
1634
1636
  export declare type SearchOrCommonObject = SearchItem | GuillotinaCommonObject;
1635
1637
 
1636
- export declare const SearchRenderField: ({ schema, value, modifyContent, }: SearchRenderFieldProps) => JSX_2.Element;
1638
+ export declare const SearchRenderField: ({ schema, value, modifyContent, }: SearchRenderFieldProps) => JSX.Element;
1637
1639
 
1638
1640
  declare interface SearchRenderFieldProps {
1639
1641
  schema: GuillotinaSchemaProperty;
@@ -1641,7 +1643,7 @@ declare interface SearchRenderFieldProps {
1641
1643
  modifyContent: boolean;
1642
1644
  }
1643
1645
 
1644
- export declare function SearchVocabularyLabels({ query, vocabularyName }: Props_42): JSX_2.Element | null;
1646
+ export declare function SearchVocabularyLabels({ query, vocabularyName }: Props_42): JSX.Element | null;
1645
1647
 
1646
1648
  export declare const Select: ForwardRefExoticComponent<Props_10 & RefAttributes<HTMLSelectElement>>;
1647
1649
 
@@ -1684,9 +1686,9 @@ declare interface State_2 {
1684
1686
 
1685
1687
  export declare function stringToSlug(str: string): string;
1686
1688
 
1687
- export declare function Table({ headers, children, className }: Props_31): JSX_2.Element;
1689
+ export declare function Table({ headers, children, className }: Props_31): JSX.Element;
1688
1690
 
1689
- export declare function TabsPanel<T extends Record<string, unknown> = Record<string, unknown>>({ tabs, currentTab, rightToolbar, fallback, ...restProps }: TabsPanelPropsWithChildren<T>): JSX_2.Element;
1691
+ export declare function TabsPanel<T extends Record<string, unknown> = Record<string, unknown>>({ tabs, currentTab, rightToolbar, fallback, ...restProps }: TabsPanelPropsWithChildren<T>): JSX.Element;
1690
1692
 
1691
1693
  declare interface TabsPanelProps {
1692
1694
  tabs: IndexSignature;
@@ -1699,11 +1701,11 @@ declare interface TabsPanelProps {
1699
1701
 
1700
1702
  declare type TabsPanelPropsWithChildren<T = Record<string, unknown>> = TabsPanelProps & T;
1701
1703
 
1702
- export declare const Tag: ({ name, id, onRemove, size, color, }: Props_29) => JSX_2.Element;
1704
+ export declare const Tag: ({ name, id, onRemove, size, color, }: Props_29) => JSX.Element;
1703
1705
 
1704
- export declare function TagsWidget({ items, available, title, noData, onChange, loading, }: Props_33): JSX_2.Element;
1706
+ export declare function TagsWidget({ items, available, title, noData, onChange, loading, }: Props_33): JSX.Element;
1705
1707
 
1706
- export declare function TdLink({ model, children, style }: Props_43): JSX_2.Element;
1708
+ export declare function TdLink({ model, children, style }: Props_43): JSX.Element;
1707
1709
 
1708
1710
  export declare const Textarea: ForwardRefExoticComponent<Props_13 & RefAttributes<HTMLTextAreaElement>>;
1709
1711
 
@@ -1743,7 +1745,7 @@ export declare const TraversalContext: Context<Traversal | null>;
1743
1745
 
1744
1746
  export declare function TraversalProvider({ children, ...props }: PropsTraversal & {
1745
1747
  children: React.ReactNode;
1746
- }): JSX_3.Element;
1748
+ }): JSX_2.Element;
1747
1749
 
1748
1750
  export declare function useConfig(cfg?: {}): IConfig;
1749
1751
 
@@ -1774,23 +1776,23 @@ export declare const useItemsActions: () => {
1774
1776
 
1775
1777
  export declare const useLocation: () => [URLSearchParams, (to: IndexSignature, replace?: boolean) => void, (param: string) => void];
1776
1778
 
1777
- export declare function UserCtx(): JSX_2.Element;
1779
+ export declare function UserCtx(): JSX.Element;
1778
1780
 
1779
1781
  export declare function useRegistry(data: Partial<IRegistry>): IManageRegistry;
1780
1782
 
1781
1783
  export declare const useRemoteField: (initial: IndexSignature<string[]>) => [IndexSignature<string[]>, (name: string) => (value: string[]) => void];
1782
1784
 
1783
- export declare const UserForm: ({ children, actionName, onSubmit, formData, exclude, remotes, submitButton, }: Props_44) => JSX_2.Element;
1785
+ export declare const UserForm: ({ children, actionName, onSubmit, formData, exclude, remotes, submitButton, }: Props_44) => JSX.Element;
1784
1786
 
1785
- export declare function UsersCtx(): JSX_2.Element;
1787
+ export declare function UsersCtx(): JSX.Element;
1786
1788
 
1787
- export declare function UsersToolbar(): JSX_2.Element;
1789
+ export declare function UsersToolbar(): JSX.Element;
1788
1790
 
1789
1791
  export declare function useTraversal(): Traversal;
1790
1792
 
1791
1793
  export declare function useVocabulary(vocabularyName: string, path?: string): State_2;
1792
1794
 
1793
- export declare const VocabularyRenderField: ({ schema, value, modifyContent, }: VocabularyRenderFieldProps) => JSX_2.Element;
1795
+ export declare const VocabularyRenderField: ({ schema, value, modifyContent, }: VocabularyRenderFieldProps) => JSX.Element;
1794
1796
 
1795
1797
  declare interface VocabularyRenderFieldProps {
1796
1798
  schema: GuillotinaSchemaProperty;