@rkmodules/rules 0.0.138 → 0.0.139

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.
@@ -9,7 +9,7 @@ export type NormalizedVarDef = {
9
9
  label?: string;
10
10
  description?: string;
11
11
  required?: boolean;
12
- options?: string[];
12
+ options?: any[] | Record<string, any>;
13
13
  min?: number;
14
14
  max?: number;
15
15
  step?: number;
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ export declare const InputBoolean: React.MemoExoticComponent<({ value, onChange, allowEmpty, }: {
3
+ value?: boolean;
4
+ onChange?: (value: boolean | undefined) => void;
5
+ allowEmpty?: boolean;
6
+ }) => React.JSX.Element>;
@@ -0,0 +1 @@
1
+ export declare const InputNumber: any;
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ interface InputSelectProps {
3
+ value?: string;
4
+ onChange?: (value: any | undefined) => void;
5
+ allowEmpty?: boolean;
6
+ options: any[] | Record<string, any>;
7
+ }
8
+ export declare const InputSelect: React.MemoExoticComponent<({ value, onChange, allowEmpty, options }: InputSelectProps) => React.JSX.Element>;
9
+ export {};
@@ -0,0 +1,5 @@
1
+ import React from "react";
2
+ export declare const InputString: React.MemoExoticComponent<({ value, onChange, }: {
3
+ value: string;
4
+ onChange?: (value: string) => void;
5
+ }) => React.JSX.Element>;
@@ -0,0 +1,5 @@
1
+ import React from "react";
2
+ export declare const InputText: React.MemoExoticComponent<({ value, onChange, }: {
3
+ value: string;
4
+ onChange?: (value: string) => void;
5
+ }) => React.JSX.Element>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rkmodules/rules",
3
- "version": "0.0.138",
3
+ "version": "0.0.139",
4
4
  "main": "dist/index.cjs.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",