@stonecrop/aform 0.6.2 → 0.7.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/dist/aform.d.ts CHANGED
@@ -139,7 +139,7 @@ export declare type ComponentProps = {
139
139
  * Indicate whether elements inside the component are read-only
140
140
  * @public
141
141
  */
142
- readonly?: boolean;
142
+ readOnly?: boolean;
143
143
  /**
144
144
  * Set a unique identifier for elements inside the component
145
145
  * @public
@@ -260,7 +260,7 @@ name: string;
260
260
  align?: CanvasTextAlign | undefined;
261
261
  edit?: boolean | undefined;
262
262
  label?: string | undefined;
263
- type?: string | undefined;
263
+ fieldtype?: string | undefined;
264
264
  width?: string | undefined;
265
265
  pinned?: boolean | undefined;
266
266
  resizable?: boolean | undefined;
@@ -284,7 +284,7 @@ name: string;
284
284
  align?: CanvasTextAlign | undefined;
285
285
  edit?: boolean | undefined;
286
286
  label?: string | undefined;
287
- type?: string | undefined;
287
+ fieldtype?: string | undefined;
288
288
  width?: string | undefined;
289
289
  pinned?: boolean | undefined;
290
290
  resizable?: boolean | undefined;
@@ -554,7 +554,7 @@ name: string;
554
554
  align?: CanvasTextAlign | undefined;
555
555
  edit?: boolean | undefined;
556
556
  label?: string | undefined;
557
- type?: string | undefined;
557
+ fieldtype?: string | undefined;
558
558
  width?: string | undefined;
559
559
  pinned?: boolean | undefined;
560
560
  resizable?: boolean | undefined;
@@ -578,7 +578,7 @@ name: string;
578
578
  align?: CanvasTextAlign | undefined;
579
579
  edit?: boolean | undefined;
580
580
  label?: string | undefined;
581
- type?: string | undefined;
581
+ fieldtype?: string | undefined;
582
582
  width?: string | undefined;
583
583
  pinned?: boolean | undefined;
584
584
  resizable?: boolean | undefined;
@@ -848,7 +848,7 @@ name: string;
848
848
  align?: CanvasTextAlign | undefined;
849
849
  edit?: boolean | undefined;
850
850
  label?: string | undefined;
851
- type?: string | undefined;
851
+ fieldtype?: string | undefined;
852
852
  width?: string | undefined;
853
853
  pinned?: boolean | undefined;
854
854
  resizable?: boolean | undefined;
@@ -872,7 +872,7 @@ name: string;
872
872
  align?: CanvasTextAlign | undefined;
873
873
  edit?: boolean | undefined;
874
874
  label?: string | undefined;
875
- type?: string | undefined;
875
+ fieldtype?: string | undefined;
876
876
  width?: string | undefined;
877
877
  pinned?: boolean | undefined;
878
878
  resizable?: boolean | undefined;
@@ -1403,15 +1403,12 @@ export declare interface TableColumn {
1403
1403
  */
1404
1404
  label?: string;
1405
1405
  /**
1406
- * The data-type of the column. Possible values:
1407
- * - `Data` - the column contains text data
1408
- * - `Select` - the column contains a select input
1409
- * - `Date` - the column contains a date input
1410
- * - `component` - the column contains a custom component
1406
+ * The semantic field type of the column. Uses the same StonecropFieldType enum as forms.
1407
+ * Common values: 'Data', 'Text', 'Int', 'Float', 'Date', 'Select', 'Link', 'Check', etc.
1411
1408
  *
1412
- * @beta
1409
+ * @public
1413
1410
  */
1414
- type?: string;
1411
+ fieldtype?: string;
1415
1412
  /**
1416
1413
  * The width of the column. This can be a number (in pixels) or a string (in CSS units).
1417
1414
  *