@jlceda/pro-api-types 0.2.19 → 0.2.21

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.
Files changed (2) hide show
  1. package/index.d.ts +19 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -16917,6 +16917,24 @@ declare global {
16917
16917
  children?: react__default.ReactElement | react__default.ReactElement[];
16918
16918
  } & DialogProps): react_jsx_runtime.JSX.Element;
16919
16919
 
16920
+ interface SelectProps {
16921
+ width?: number;
16922
+ disabled?: boolean;
16923
+ readonly?: boolean;
16924
+ dropDownList?: {
16925
+ title: string;
16926
+ children?: {
16927
+ title: string;
16928
+ }[];
16929
+ }[];
16930
+ value?: string;
16931
+ otherAttr?: {
16932
+ [key: string]: string;
16933
+ };
16934
+ testVal?: string;
16935
+ }
16936
+ function Select(props: SelectProps): react_jsx_runtime.JSX.Element;
16937
+
16920
16938
  abstract class PortalBase {
16921
16939
  Provider: (props: any) => react_jsx_runtime.JSX.Element;
16922
16940
  abstract createComponent(handle: string, type: string, props: any, parent: string): void;
@@ -16927,6 +16945,7 @@ declare global {
16927
16945
 
16928
16946
  const Components: {
16929
16947
  Dialog: typeof Dialog;
16948
+ Select: typeof Select;
16930
16949
  CheckBox: (props: CheckBoxStoreProps & {
16931
16950
  onEvent?: ((ev: CheckBoxStoreEvents) => void) | undefined;
16932
16951
  children?: react.JSX.Element[] | react.JSX.Element;
package/package.json CHANGED
@@ -1 +1 @@
1
- { "name": "@jlceda/pro-api-types", "type": "module", "version": "0.2.19", "description": "嘉立创EDA & EasyEDA 专业版扩展 API 接口类型定义", "typings": "index.d.ts", "author": "JLCEDA <support@lceda.cn>", "license": "Apache-2.0", "homepage": "https://pro.lceda.cn/", "keywords": ["jlceda", "pro-api"], "scripts": { "lint": "eslint", "fix": "eslint --fix", "build": "ts-node ./build/build.ts" }, "devDependencies": { "@antfu/eslint-config": "^5.4.1", "@types/fast-text-encoding": "^1.0.3", "@types/fs-extra": "^11.0.4", "dotenv": "^16.4.7", "eslint": "^9.37.0", "fast-text-encoding": "^1.0.6", "fs-extra": "^11.3.0", "lint-staged": "^16.2.3", "simple-git-hooks": "^2.13.1", "ts-node": "^10.9.2", "typescript": "^5.7.3" }, "simple-git-hooks": { "pre-commit": "npx lint-staged" }, "lint-staged": { "*": "eslint --fix" } }
1
+ { "name": "@jlceda/pro-api-types", "type": "module", "version": "0.2.21", "description": "嘉立创EDA & EasyEDA 专业版扩展 API 接口类型定义", "typings": "index.d.ts", "author": "JLCEDA <support@lceda.cn>", "license": "Apache-2.0", "homepage": "https://pro.lceda.cn/", "keywords": ["jlceda", "pro-api"], "scripts": { "lint": "eslint", "fix": "eslint --fix", "build": "ts-node ./build/build.ts" }, "devDependencies": { "@antfu/eslint-config": "^5.4.1", "@types/fast-text-encoding": "^1.0.3", "@types/fs-extra": "^11.0.4", "dotenv": "^16.4.7", "eslint": "^9.37.0", "fast-text-encoding": "^1.0.6", "fs-extra": "^11.3.0", "lint-staged": "^16.2.3", "simple-git-hooks": "^2.13.1", "ts-node": "^10.9.2", "typescript": "^5.7.3" }, "simple-git-hooks": { "pre-commit": "npx lint-staged" }, "lint-staged": { "*": "eslint --fix" } }