x-runtime-lib 0.6.29 → 0.6.31

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.
@@ -3,7 +3,8 @@ export type ZItem = {
3
3
  value: string;
4
4
  };
5
5
  type ZTypeBase = {
6
- name: string;
6
+ title: string;
7
+ value: string;
7
8
  validator: (v: any) => boolean;
8
9
  };
9
10
  type ZTypeUndefined = {
@@ -86,7 +87,7 @@ type ZPropSwitch = {
86
87
  } & ZPropBase;
87
88
  type ZPropSelect = {
88
89
  ui: 'select';
89
- items: ZItem[];
90
+ items: 'axisTypeItemsV1' | 'borderStyleItemsV1' | 'btnVariantItemsV1' | 'colorModeItemsV1' | 'densityItemsV1' | 'flexCrossAlignItemsV1' | 'flexDirectionItemsV1' | 'flexMainAlignItemsV1' | 'flexWrapItemsV1' | 'themeColorItemsV1';
90
91
  readonly?: boolean;
91
92
  default: string;
92
93
  } & ZPropBase;
@@ -97,7 +98,7 @@ type ZPropColorPicker = {
97
98
  } & ZPropBase;
98
99
  type ZPropMultiTypes = {
99
100
  ui: 'multiTypes';
100
- types: ZType[];
101
+ types: 'borderWidthTypesV1' | 'leftRightTypesV1' | 'marginTypesV1' | 'paddingTypesV1' | 'sizeTypesV1' | 'tableColumnAlignTypesV1' | 'topBottomTypesV1';
101
102
  readonly?: boolean;
102
103
  default: string | undefined;
103
104
  } & ZPropBase;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-runtime-lib",
3
3
  "private": false,
4
- "version": "0.6.29",
4
+ "version": "0.6.31",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",