x-runtime-lib 0.6.41 → 0.6.43

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.
@@ -92,11 +92,16 @@ type ZPropColorPicker = {
92
92
  readonly?: boolean;
93
93
  default: string | undefined;
94
94
  } & ZPropBase;
95
+ type ZPropJsonObject = {
96
+ ui: 'jsonObject';
97
+ readonly?: boolean;
98
+ default: object;
99
+ } & ZPropBase;
95
100
  type ZPropMultiTypes = {
96
101
  ui: 'multiTypes';
97
102
  types: 'borderWidthTypesV1' | 'leftRightTypesV1' | 'marginTypesV1' | 'paddingTypesV1' | 'sizeTypesV1' | 'tableColumnAlignTypesV1' | 'topBottomTypesV1';
98
103
  readonly?: boolean;
99
- default: string | undefined;
104
+ default: string;
100
105
  } & ZPropBase;
101
106
  type ZPropCompSelect = {
102
107
  ui: 'compSelect';
@@ -140,6 +145,11 @@ export type ZProp = ({
140
145
  defaultArray: string[];
141
146
  } & ZPropColorPicker) | ({
142
147
  array?: false;
148
+ } & ZPropJsonObject) | ({
149
+ array: true;
150
+ defaultArray: string[];
151
+ } & ZPropJsonObject) | ({
152
+ array?: false;
143
153
  } & ZPropMultiTypes) | ({
144
154
  array: true;
145
155
  defaultArray: string[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-runtime-lib",
3
3
  "private": false,
4
- "version": "0.6.41",
4
+ "version": "0.6.43",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",