@dxos/react-ui-form 0.8.4-main.937b3ca → 0.8.4-main.9be5663bfe

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 (113) hide show
  1. package/README.md +0 -1
  2. package/dist/lib/browser/index.mjs +1003 -668
  3. package/dist/lib/browser/index.mjs.map +4 -4
  4. package/dist/lib/browser/meta.json +1 -1
  5. package/dist/lib/node-esm/index.mjs +1003 -668
  6. package/dist/lib/node-esm/index.mjs.map +4 -4
  7. package/dist/lib/node-esm/meta.json +1 -1
  8. package/dist/types/src/components/FieldEditor/FieldEditor.d.ts +3 -3
  9. package/dist/types/src/components/FieldEditor/FieldEditor.d.ts.map +1 -1
  10. package/dist/types/src/components/FieldEditor/FieldEditor.stories.d.ts +62 -61
  11. package/dist/types/src/components/FieldEditor/FieldEditor.stories.d.ts.map +1 -1
  12. package/dist/types/src/components/Form/Form.d.ts +23 -18
  13. package/dist/types/src/components/Form/Form.d.ts.map +1 -1
  14. package/dist/types/src/components/Form/Form.stories.d.ts +68 -67
  15. package/dist/types/src/components/Form/Form.stories.d.ts.map +1 -1
  16. package/dist/types/src/components/Form/FormField.d.ts +7 -1
  17. package/dist/types/src/components/Form/FormField.d.ts.map +1 -1
  18. package/dist/types/src/components/Form/FormFieldComponent.d.ts +0 -1
  19. package/dist/types/src/components/Form/FormFieldComponent.d.ts.map +1 -1
  20. package/dist/types/src/components/Form/FormFieldComponent.stories.d.ts +2 -2
  21. package/dist/types/src/components/Form/FormFieldComponent.stories.d.ts.map +1 -1
  22. package/dist/types/src/components/Form/FormFieldSet.d.ts +9 -10
  23. package/dist/types/src/components/Form/FormFieldSet.d.ts.map +1 -1
  24. package/dist/types/src/components/Form/fields/ArrayField.d.ts.map +1 -1
  25. package/dist/types/src/components/Form/fields/RefField.d.ts +8 -6
  26. package/dist/types/src/components/Form/fields/RefField.d.ts.map +1 -1
  27. package/dist/types/src/components/Form/fields/SelectOptionField.d.ts.map +1 -1
  28. package/dist/types/src/components/Form/fields/SelectOptionField.stories.d.ts +62 -61
  29. package/dist/types/src/components/Form/fields/SelectOptionField.stories.d.ts.map +1 -1
  30. package/dist/types/src/components/ObjectForm/ObjectForm.d.ts +9 -0
  31. package/dist/types/src/components/ObjectForm/ObjectForm.d.ts.map +1 -0
  32. package/dist/types/src/components/ObjectForm/index.d.ts +2 -0
  33. package/dist/types/src/components/ObjectForm/index.d.ts.map +1 -0
  34. package/dist/types/src/components/ObjectPicker/ObjectPicker.d.ts +10 -2
  35. package/dist/types/src/components/ObjectPicker/ObjectPicker.d.ts.map +1 -1
  36. package/dist/types/src/components/ObjectPicker/ObjectPicker.stories.d.ts +62 -61
  37. package/dist/types/src/components/ObjectPicker/ObjectPicker.stories.d.ts.map +1 -1
  38. package/dist/types/src/components/ObjectProperties/ObjectProperties.d.ts +9 -0
  39. package/dist/types/src/components/ObjectProperties/ObjectProperties.d.ts.map +1 -0
  40. package/dist/types/src/components/ObjectProperties/ObjectProperties.stories.d.ts +83 -0
  41. package/dist/types/src/components/ObjectProperties/ObjectProperties.stories.d.ts.map +1 -0
  42. package/dist/types/src/components/ObjectProperties/index.d.ts +2 -0
  43. package/dist/types/src/components/ObjectProperties/index.d.ts.map +1 -0
  44. package/dist/types/src/components/Settings/Settings.d.ts +35 -0
  45. package/dist/types/src/components/Settings/Settings.d.ts.map +1 -0
  46. package/dist/types/src/components/Settings/Settings.stories.d.ts +82 -0
  47. package/dist/types/src/components/Settings/Settings.stories.d.ts.map +1 -0
  48. package/dist/types/src/components/Settings/index.d.ts +2 -0
  49. package/dist/types/src/components/Settings/index.d.ts.map +1 -0
  50. package/dist/types/src/components/ViewEditor/ViewEditor.d.ts +5 -5
  51. package/dist/types/src/components/ViewEditor/ViewEditor.d.ts.map +1 -1
  52. package/dist/types/src/components/ViewEditor/ViewEditor.stories.d.ts +66 -64
  53. package/dist/types/src/components/ViewEditor/ViewEditor.stories.d.ts.map +1 -1
  54. package/dist/types/src/components/index.d.ts +3 -1
  55. package/dist/types/src/components/index.d.ts.map +1 -1
  56. package/dist/types/src/components/testing.d.ts.map +1 -1
  57. package/dist/types/src/hooks/useFormHandler.d.ts.map +1 -1
  58. package/dist/types/src/hooks/useKeyHandler.d.ts +2 -1
  59. package/dist/types/src/hooks/useKeyHandler.d.ts.map +1 -1
  60. package/dist/types/src/translations.d.ts +62 -61
  61. package/dist/types/src/translations.d.ts.map +1 -1
  62. package/dist/types/src/util/refs.d.ts +1 -0
  63. package/dist/types/src/util/refs.d.ts.map +1 -1
  64. package/dist/types/tsconfig.tsbuildinfo +1 -1
  65. package/package.json +37 -38
  66. package/src/components/FieldEditor/FieldEditor.stories.tsx +7 -8
  67. package/src/components/FieldEditor/FieldEditor.test.tsx +0 -1
  68. package/src/components/FieldEditor/FieldEditor.tsx +3 -4
  69. package/src/components/Form/AUDIT.md +17 -0
  70. package/src/components/Form/Form.stories.tsx +25 -26
  71. package/src/components/Form/Form.tsx +101 -66
  72. package/src/components/Form/FormField.tsx +32 -14
  73. package/src/components/Form/FormFieldComponent.stories.tsx +5 -5
  74. package/src/components/Form/FormFieldComponent.tsx +17 -20
  75. package/src/components/Form/FormFieldSet.tsx +126 -105
  76. package/src/components/Form/fields/ArrayField.tsx +11 -8
  77. package/src/components/Form/fields/GeoPointField.tsx +6 -6
  78. package/src/components/Form/fields/MarkdownField.tsx +1 -1
  79. package/src/components/Form/fields/RefField.tsx +37 -20
  80. package/src/components/Form/fields/SelectField.tsx +1 -1
  81. package/src/components/Form/fields/SelectOptionField.stories.tsx +2 -3
  82. package/src/components/Form/fields/SelectOptionField.tsx +9 -10
  83. package/src/components/Form/fields/TupleField.tsx +1 -1
  84. package/src/components/ObjectForm/ObjectForm.tsx +113 -0
  85. package/src/components/{ControlSection → ObjectForm}/index.ts +1 -1
  86. package/src/components/ObjectPicker/ObjectPicker.stories.tsx +13 -18
  87. package/src/components/ObjectPicker/ObjectPicker.tsx +71 -60
  88. package/src/components/ObjectProperties/ObjectProperties.stories.tsx +63 -0
  89. package/src/components/ObjectProperties/ObjectProperties.tsx +129 -0
  90. package/src/components/ObjectProperties/index.ts +5 -0
  91. package/src/components/Settings/Settings.stories.tsx +55 -0
  92. package/src/components/Settings/Settings.tsx +129 -0
  93. package/src/components/Settings/index.ts +5 -0
  94. package/src/components/ViewEditor/ViewEditor.stories.tsx +36 -33
  95. package/src/components/ViewEditor/ViewEditor.test.tsx +3 -7
  96. package/src/components/ViewEditor/ViewEditor.tsx +117 -85
  97. package/src/components/index.ts +3 -1
  98. package/src/components/testing.tsx +20 -8
  99. package/src/hooks/useFormHandler.ts +42 -18
  100. package/src/hooks/useKeyHandler.tsx +7 -7
  101. package/src/translations.ts +63 -63
  102. package/src/util/refs.ts +7 -3
  103. package/dist/types/src/components/ControlSection/ControlSection.d.ts +0 -23
  104. package/dist/types/src/components/ControlSection/ControlSection.d.ts.map +0 -1
  105. package/dist/types/src/components/ControlSection/ControlSection.stories.d.ts +0 -87
  106. package/dist/types/src/components/ControlSection/ControlSection.stories.d.ts.map +0 -1
  107. package/dist/types/src/components/ControlSection/index.d.ts +0 -2
  108. package/dist/types/src/components/ControlSection/index.d.ts.map +0 -1
  109. package/dist/types/src/components/Form/Form-old.stories.d.ts +0 -131
  110. package/dist/types/src/components/Form/Form-old.stories.d.ts.map +0 -1
  111. package/src/components/ControlSection/ControlSection.stories.tsx +0 -38
  112. package/src/components/ControlSection/ControlSection.tsx +0 -153
  113. package/src/components/Form/Form-old.stories.tsx +0 -314
@@ -1,6 +1,8 @@
1
- export * from './ControlSection';
2
1
  export * from './FieldEditor';
3
2
  export * from './Form';
3
+ export * from './ObjectForm';
4
4
  export * from './ObjectPicker';
5
+ export * from './ObjectProperties';
6
+ export * from './Settings';
5
7
  export * from './ViewEditor';
6
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/index.ts"],"names":[],"mappings":"AAIA,cAAc,eAAe,CAAC;AAC9B,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../../../../src/components/testing.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,EAAE,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAKtD,KAAK,eAAe,GAAG,eAAe,CAAC,iBAAiB,CAAC;IAAE,IAAI,CAAC,EAAE,GAAG,CAAA;CAAE,CAAC,CAAC,CAAC;AAE1E,eAAO,MAAM,UAAU,GAAI,gCAAgC,eAAe,sBASzE,CAAC;AASF,eAAO,MAAM,wBAAwB,eAA4B,CAAC;AAClE,eAAO,MAAM,yBAAyB,eAA6B,CAAC"}
1
+ {"version":3,"file":"testing.d.ts","sourceRoot":"","sources":["../../../../src/components/testing.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,EAAU,KAAK,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAI9D,KAAK,eAAe,GAAG,eAAe,CAAC,iBAAiB,CAAC;IAAE,IAAI,CAAC,EAAE,GAAG,CAAA;CAAE,CAAC,CAAC,CAAC;AAE1E,eAAO,MAAM,UAAU,GAAI,gCAAgC,eAAe,sBAkBzE,CAAC;AAaF,eAAO,MAAM,wBAAwB,eAA4B,C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E,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,KAAK,CAAC,GAAG,SAAS,CAAC;IAC1D,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,KAAK,IAAI,CAAC;IAC5C,aAAa,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,EAAE,IAAI,EAAE,SAAS,CAAC,GAAG,EAAE,KAAK,EAAE,CAAC,KAAK,IAAI,CAAC;CACtF,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,cAAc,GAAI,CAAC,SAAS,aAAa,EAAE,qIAUrD,gBAAgB,CAAC,CAAC,CAAC,KAAG,WAAW,CAAC,CAAC,CA8NrC,CAAC"}
@@ -1,6 +1,7 @@
1
+ import { type RefObject } from 'react';
1
2
  import { type FormHandler } from './useFormHandler';
2
3
  /**
3
4
  * Key handler.
4
5
  */
5
- export declare const useKeyHandler: (formElement: HTMLDivElement | null, form: FormHandler<any>) => void;
6
+ export declare const useKeyHandler: (elRef: RefObject<HTMLDivElement | null>, form: FormHandler<any>) => void;
6
7
  //# sourceMappingURL=useKeyHandler.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useKeyHandler.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useKeyHandler.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpD;;GAEG;AACH,eAAO,MAAM,aAAa,GAAI,aAAa,cAAc,GAAG,IAAI,EAAE,MAAM,WAAW,CAAC,GAAG,CAAC,SAuBvF,CAAC"}
1
+ {"version":3,"file":"useKeyHandler.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useKeyHandler.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,SAAS,EAAgC,MAAM,OAAO,CAAC;AAIrE,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpD;;GAEG;AACH,eAAO,MAAM,aAAa,GAAI,OAAO,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,EAAE,MAAM,WAAW,CAAC,GAAG,CAAC,SAuB5F,CAAC"}
@@ -2,67 +2,68 @@ export declare const translationKey = "@dxos/react-ui-form";
2
2
  export declare const translations: [{
3
3
  readonly 'en-US': {
4
4
  readonly "@dxos/react-ui-form": {
5
- readonly 'fields label': "Fields";
6
- readonly 'hidden fields label': "Hidden Fields";
7
- readonly 'empty readonly ref field label': "(none)";
8
- readonly 'add property button label': "Add property";
9
- readonly 'field property label': "Property";
10
- readonly 'field property placeholder': "Property name";
11
- readonly 'field format label': "Type";
12
- readonly 'field path label': "Field path";
13
- readonly 'add field': "Add field";
14
- readonly 'delete field': "Delete field";
15
- readonly 'field limit reached': "Maximum number of fields reached";
16
- readonly 'boolean input true value': "Yes";
17
- readonly 'boolean input false value': "No";
18
- readonly 'show field label': "Show field";
19
- readonly 'hide field label': "Hide field";
20
- readonly 'delete field label': "Delete field";
21
- readonly 'ref field combobox input placeholder': "Search…";
22
- readonly 'ref field placeholder_one': "Select…";
23
- readonly 'ref field placeholder_other': "Select items…";
24
- readonly 'example placeholder': "Example";
25
- readonly 'latitude placeholder': "Latitude (e.g., 40.7128)";
26
- readonly 'longitude placeholder': "Longitude (e.g., -74.0060)";
27
- readonly 'cancel button label': "Cancel";
28
- readonly 'save button label': "Save";
29
- readonly 'format boolean': "Boolean";
30
- readonly 'format currency': "Currency";
31
- readonly 'format date': "Date";
32
- readonly 'format date-time': "DateTime";
33
- readonly 'format did': "DID";
34
- readonly 'format duration': "Duration";
35
- readonly 'format dxn': "DXN";
36
- readonly 'format email': "Email";
37
- readonly 'format formula': "Formula";
38
- readonly 'format hostname': "Hostname";
39
- readonly 'format integer': "Integer";
40
- readonly 'format json': "JSON";
41
- readonly 'format lnglat': "Geopoint";
42
- readonly 'format markdown': "Markdown";
43
- readonly 'format percent': "Percent";
44
- readonly 'format ref': "Reference";
45
- readonly 'format regex': "RegExp";
46
- readonly 'format string': "String";
47
- readonly 'format single-select': "Select";
48
- readonly 'format multi-select': "Multi-select";
49
- readonly 'format text': "Long text";
50
- readonly 'format time': "Time";
51
- readonly 'format timestamp': "Timestamp";
52
- readonly 'format user': "User";
53
- readonly 'format number': "Number";
54
- readonly 'format uri': "URI";
55
- readonly 'format url': "URL";
56
- readonly 'format uuid': "UUID";
57
- readonly 'latitude label': "Latitude";
58
- readonly 'longitude label': "Longitude";
59
- readonly 'select option label': "Label";
60
- readonly 'select option label placeholder': "Option label";
61
- readonly 'select option color': "Color";
62
- readonly 'select option delete': "Delete";
63
- readonly 'select option add': "Add option";
64
- readonly 'system schema title': "System type";
65
- readonly 'system schema description': "System type: cannot add or remove fields.";
5
+ readonly 'fields.label': "Fields";
6
+ readonly 'hidden-fields.label': "Hidden Fields";
7
+ readonly 'empty-readonly-ref-field.label': "(none)";
8
+ readonly 'add-property-button.label': "Add property";
9
+ readonly 'field-property.label': "Property";
10
+ readonly 'field-property.placeholder': "Property name";
11
+ readonly 'field-format.label': "Type";
12
+ readonly 'field-path.label': "Field path";
13
+ readonly 'add-field.button': "Add field";
14
+ readonly 'boolean-input-true.value': "Yes";
15
+ readonly 'boolean-input-false.value': "No";
16
+ readonly 'show-field.label': "Show field";
17
+ readonly 'hide-field.label': "Hide field";
18
+ readonly 'delete-field.label': "Delete field";
19
+ readonly 'ref-field-combobox-input.placeholder': "Search…";
20
+ readonly 'ref-field.placeholder': "Select…";
21
+ readonly 'ref-field.placeholder_one': "Select…";
22
+ readonly 'ref-field.placeholder_other': "Select items…";
23
+ readonly 'create-option.label': "Create";
24
+ readonly 'add-tag.label': "Add tag";
25
+ readonly 'example.placeholder': "Example";
26
+ readonly 'latitude.placeholder': "Latitude (e.g., 40.7128)";
27
+ readonly 'longitude.placeholder': "Longitude (e.g., -74.0060)";
28
+ readonly 'cancel-button.label': "Cancel";
29
+ readonly 'save-button.label': "Save";
30
+ readonly 'format.boolean.label': "Boolean";
31
+ readonly 'format.currency.label': "Currency";
32
+ readonly 'format.date.label': "Date";
33
+ readonly 'format.date-time.label': "DateTime";
34
+ readonly 'format.did.label': "DID";
35
+ readonly 'format.duration.label': "Duration";
36
+ readonly 'format.dxn.label': "DXN";
37
+ readonly 'format.email.label': "Email";
38
+ readonly 'format.formula.label': "Formula";
39
+ readonly 'format.hostname.label': "Hostname";
40
+ readonly 'format.integer.label': "Integer";
41
+ readonly 'format.json.label': "JSON";
42
+ readonly 'format.lnglat.label': "Geopoint";
43
+ readonly 'format.markdown.label': "Markdown";
44
+ readonly 'format.percent.label': "Percent";
45
+ readonly 'format.ref.label': "Reference";
46
+ readonly 'format.regex.label': "RegExp";
47
+ readonly 'format.string.label': "String";
48
+ readonly 'format.single-select.label': "Select";
49
+ readonly 'format.multi-select.label': "Multi-select";
50
+ readonly 'format.text.label': "Long text";
51
+ readonly 'format.time.label': "Time";
52
+ readonly 'format.timestamp.label': "Timestamp";
53
+ readonly 'format.user.label': "User";
54
+ readonly 'format.number.label': "Number";
55
+ readonly 'format.uri.label': "URI";
56
+ readonly 'format.url.label': "URL";
57
+ readonly 'format.uuid.label': "UUID";
58
+ readonly 'latitude.label': "Latitude";
59
+ readonly 'longitude.label': "Longitude";
60
+ readonly 'select-option.label': "Label";
61
+ readonly 'select-option-label.placeholder': "Option label";
62
+ readonly 'select-option-delete.button': "Delete";
63
+ readonly 'select-option-add.button': "Add option";
64
+ readonly 'system-schema.title': "System type";
65
+ readonly 'system-schema.description': "System type: cannot add or remove fields.";
66
+ readonly 'remove.button': "Remove";
66
67
  };
67
68
  };
68
69
  }];
@@ -1 +1 @@
1
- {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,cAAc,wBAAwB,CAAC;AAEpD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgFM,CAAC"}
1
+ {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/translations.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,cAAc,wBAAwB,CAAC;AAEpD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgFM,CAAC"}
@@ -2,6 +2,7 @@ import type * as SchemaAST from 'effect/SchemaAST';
2
2
  type RefProps = {
3
3
  ast: SchemaAST.AST;
4
4
  isArray: boolean;
5
+ typename?: string;
5
6
  };
6
7
  export declare const getRefProps: (ast: SchemaAST.AST) => RefProps | undefined;
7
8
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"refs.d.ts","sourceRoot":"","sources":["../../../../src/util/refs.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,SAAS,MAAM,kBAAkB,CAAC;AAKnD,KAAK,QAAQ,GAAG;IACd,GAAG,EAAE,SAAS,CAAC,GAAG,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,KAAK,SAAS,CAAC,GAAG,KAAG,QAAQ,GAAG,SAiB3D,CAAC"}
1
+ {"version":3,"file":"refs.d.ts","sourceRoot":"","sources":["../../../../src/util/refs.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,SAAS,MAAM,kBAAkB,CAAC;AAMnD,KAAK,QAAQ,GAAG;IACd,GAAG,EAAE,SAAS,CAAC,GAAG,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,KAAK,SAAS,CAAC,GAAG,KAAG,QAAQ,GAAG,SAmB3D,CAAC"}