x-runtime-lib 0.6.27 → 0.6.28

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/index.js CHANGED
@@ -6796,10 +6796,6 @@ const di = {
6796
6796
  key: "data",
6797
6797
  name: "x-runtime-lib.data",
6798
6798
  ui: "numInput",
6799
- precision: 15,
6800
- min: -1 / 0,
6801
- max: 1 / 0,
6802
- step: 1,
6803
6799
  default: 0,
6804
6800
  array: !0,
6805
6801
  defaultArray: []
@@ -6808,6 +6804,7 @@ const di = {
6808
6804
  array: !0,
6809
6805
  defaultArray: [
6810
6806
  {
6807
+ type: "bar",
6811
6808
  data: [120, 200, 150, 80, 70, 110, 130]
6812
6809
  }
6813
6810
  ]
@@ -6846,10 +6843,6 @@ const hi = {
6846
6843
  key: "data",
6847
6844
  name: "x-runtime-lib.data",
6848
6845
  ui: "numInput",
6849
- precision: 15,
6850
- min: -1 / 0,
6851
- max: 1 / 0,
6852
- step: 1,
6853
6846
  default: 0,
6854
6847
  array: !0,
6855
6848
  defaultArray: []
@@ -6858,6 +6851,7 @@ const hi = {
6858
6851
  array: !0,
6859
6852
  defaultArray: [
6860
6853
  {
6854
+ type: "line",
6861
6855
  data: [150, 230, 224, 218, 135, 147, 260]
6862
6856
  }
6863
6857
  ]
@@ -7570,10 +7564,6 @@ const Ri = {
7570
7564
  key: "value",
7571
7565
  name: "x-runtime-lib.value",
7572
7566
  ui: "numInput",
7573
- precision: 5,
7574
- min: -1 / 0,
7575
- max: 1 / 0,
7576
- step: 1,
7577
7567
  default: 0
7578
7568
  },
7579
7569
  {
@@ -16,10 +16,10 @@ type ZTypeWord = {
16
16
  } & ZTypeBase;
17
17
  type ZTypeNumInput = {
18
18
  ui: 'pixelInput' | 'percentInput';
19
- precision: number;
20
- min: number;
21
- max: number;
22
- step: number;
19
+ precision?: number;
20
+ min?: number;
21
+ max?: number;
22
+ step?: number;
23
23
  default: string;
24
24
  } & ZTypeBase;
25
25
  export type ZType = ZTypeUndefined | ZTypeWord | ZTypeNumInput;
@@ -73,9 +73,9 @@ type ZPropStrInput = {
73
73
  type ZPropNumInput = {
74
74
  ui: 'numInput';
75
75
  precision?: number;
76
- min: number;
77
- max: number;
78
- step: number;
76
+ min?: number;
77
+ max?: number;
78
+ step?: number;
79
79
  readonly?: boolean;
80
80
  default: number;
81
81
  } & 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.27",
4
+ "version": "0.6.28",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",