@evoke-platform/ui-components 1.10.0-testing.10 → 1.10.0-testing.12

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.
Files changed (26) hide show
  1. package/dist/published/components/custom/FormV2/FormRenderer.d.ts +2 -1
  2. package/dist/published/components/custom/FormV2/FormRenderer.js +3 -1
  3. package/dist/published/components/custom/FormV2/FormRendererContainer.js +82 -13
  4. package/dist/published/components/custom/FormV2/components/Footer.d.ts +1 -0
  5. package/dist/published/components/custom/FormV2/components/Footer.js +3 -3
  6. package/dist/published/components/custom/FormV2/components/FormContext.d.ts +2 -1
  7. package/dist/published/components/custom/FormV2/components/FormFieldTypes/AddressFields.js +30 -13
  8. package/dist/published/components/custom/FormV2/components/FormFieldTypes/CollectionFiles/RepeatableField.js +1 -1
  9. package/dist/published/components/custom/FormV2/components/FormFieldTypes/Criteria.js +16 -3
  10. package/dist/published/components/custom/FormV2/components/FormFieldTypes/DocumentFiles/Document.js +16 -4
  11. package/dist/published/components/custom/FormV2/components/FormFieldTypes/DocumentFiles/DocumentList.d.ts +1 -0
  12. package/dist/published/components/custom/FormV2/components/FormFieldTypes/DocumentFiles/DocumentList.js +16 -3
  13. package/dist/published/components/custom/FormV2/components/FormFieldTypes/Image.js +31 -5
  14. package/dist/published/components/custom/FormV2/components/FormFieldTypes/UserProperty.js +15 -3
  15. package/dist/published/components/custom/FormV2/components/FormFieldTypes/relatedObjectFiles/ObjectPropertyInput.js +70 -18
  16. package/dist/published/components/custom/FormV2/components/FormFieldTypes/relatedObjectFiles/RelatedObjectInstance.js +37 -15
  17. package/dist/published/components/custom/FormV2/components/Header.d.ts +1 -0
  18. package/dist/published/components/custom/FormV2/components/Header.js +42 -4
  19. package/dist/published/components/custom/FormV2/components/RecursiveEntryRenderer.js +31 -6
  20. package/dist/published/components/custom/FormV2/components/utils.js +2 -0
  21. package/dist/published/components/custom/FormV2/tests/FormRendererContainer.test.js +449 -1
  22. package/dist/published/components/custom/FormV2/tests/test-data.d.ts +1 -0
  23. package/dist/published/components/custom/FormV2/tests/test-data.js +138 -0
  24. package/dist/published/stories/FormRenderer.stories.d.ts +8 -4
  25. package/dist/published/theme/hooks.d.ts +4 -3
  26. package/package.json +1 -1
@@ -147,14 +147,15 @@ export declare function useFormContext(): {
147
147
  setExpandedSections?: import("react").Dispatch<import("react").SetStateAction<import("../components/custom/FormV2/components/types").ExpandedSection[]>> | undefined;
148
148
  setExpandAll?: import("react").Dispatch<import("react").SetStateAction<boolean | null | undefined>> | undefined;
149
149
  parameters?: import("@evoke-platform/context").InputParameter[] | undefined;
150
- handleChange: (name: string, value: unknown) => void;
150
+ handleChange: (name: string, value: unknown) => void | Promise<void>;
151
+ onAutosave?: ((fieldId: string) => void | Promise<void>) | undefined;
151
152
  fieldHeight?: "medium" | "small" | undefined;
152
153
  triggerFieldReset?: boolean | undefined;
153
154
  showSubmitError?: boolean | undefined;
154
155
  associatedObject?: {
155
156
  instanceId?: string | undefined;
156
- propertyId?: string | undefined;
157
- } | undefined;
157
+ propertyId?: string | undefined; /** Extra large screens (1536px and up) */
158
+ } | undefined; /** Extra large screens (1536px and up) */
158
159
  form?: import("@evoke-platform/context").EvokeForm | undefined;
159
160
  width: number;
160
161
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evoke-platform/ui-components",
3
- "version": "1.10.0-testing.10",
3
+ "version": "1.10.0-testing.12",
4
4
  "description": "",
5
5
  "main": "dist/published/index.js",
6
6
  "module": "dist/published/index.js",