@plasmicpkgs/antd5 0.0.352 → 0.0.354

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.
@@ -1,11 +1,11 @@
1
1
  import React from "react";
2
2
  import { Registerable } from "./utils";
3
3
  declare const RadioGroup: React.MemoExoticComponent<React.ForwardRefExoticComponent<import("antd").RadioGroupProps & React.RefAttributes<HTMLDivElement>>>;
4
- export declare const AntdRadio: React.ForwardRefExoticComponent<import("antd").RadioProps & React.RefAttributes<import("rc-checkbox").CheckboxRef>> & {
4
+ export declare const AntdRadio: React.ForwardRefExoticComponent<import("antd").RadioProps & React.RefAttributes<import("antd").CheckboxRef>> & {
5
5
  Group: React.MemoExoticComponent<React.ForwardRefExoticComponent<import("antd").RadioGroupProps & React.RefAttributes<HTMLDivElement>>>;
6
- Button: React.ForwardRefExoticComponent<import("antd/es/radio/radioButton").RadioButtonProps & React.RefAttributes<import("rc-checkbox").CheckboxRef>>;
6
+ Button: React.ForwardRefExoticComponent<import("antd/es/radio/radioButton").RadioButtonProps & React.RefAttributes<import("antd").CheckboxRef>>;
7
7
  };
8
- export declare const AntdRadioButton: React.ForwardRefExoticComponent<import("antd/es/radio/radioButton").RadioButtonProps & React.RefAttributes<import("rc-checkbox").CheckboxRef>>;
8
+ export declare const AntdRadioButton: React.ForwardRefExoticComponent<import("antd/es/radio/radioButton").RadioButtonProps & React.RefAttributes<import("antd").CheckboxRef>>;
9
9
  export declare function AntdRadioGroup(props: Omit<React.ComponentProps<typeof RadioGroup>, "onChange"> & {
10
10
  onChange?: (value?: string) => void;
11
11
  useChildren?: boolean;
@@ -9,7 +9,7 @@ export interface TableRef {
9
9
  }
10
10
  export declare const AntdTable: React.ForwardRefExoticComponent<Omit<import("antd").TableProps<import("antd/es/_util/type").AnyObject> & {
11
11
  children?: React.ReactNode;
12
- } & React.RefAttributes<import("rc-table").Reference> & {
12
+ } & React.RefAttributes<import("antd/es/table").TableRef> & {
13
13
  data: any;
14
14
  rowKey?: string | undefined;
15
15
  isSelectable?: undefined | "single" | "multiple";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasmicpkgs/antd5",
3
- "version": "0.0.352",
3
+ "version": "0.0.354",
4
4
  "description": "Plasmic registration calls for antd components",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -47,13 +47,13 @@
47
47
  }
48
48
  ],
49
49
  "scripts": {
50
- "build": "rollup -c rollup.config.mjs && yarn tsc --emitDeclarationOnly --declaration src/index.ts --incremental --tsBuildInfoFile ./dist/.tsbuildinfo --skipLibCheck --jsx react --lib dom,esnext --esModuleInterop --strict --outDir ./dist/ && cp ./dist/*.d.ts skinny/ && rm skinny/index.d.ts",
50
+ "build": "rollup -c rollup.config.mjs && tsc --emitDeclarationOnly --declaration src/index.ts --incremental --tsBuildInfoFile ./dist/.tsbuildinfo --skipLibCheck --jsx react --lib dom,esnext --esModuleInterop --strict --outDir ./dist/ && cp ./dist/*.d.ts skinny/ && rm skinny/index.d.ts",
51
51
  "prepublishOnly": "npm run build",
52
52
  "clean": "rm -rf dist/ skinny/*.ts skinny/*.map skinny/*.js",
53
53
  "storybook": "storybook dev -p 6006 --no-open",
54
54
  "build-storybook": "storybook build",
55
55
  "test-storybook": "test-storybook",
56
- "test": "TEST_CWD=`pwd` yarn --cwd=../.. test"
56
+ "test": "TEST_CWD=`pwd` pnpm -w test"
57
57
  },
58
58
  "dependencies": {
59
59
  "antd": "^5.12.7",
@@ -66,10 +66,10 @@
66
66
  "@babel/preset-env": "^7.22.15",
67
67
  "@babel/preset-react": "^7.22.15",
68
68
  "@babel/preset-typescript": "^7.22.15",
69
- "@plasmicapp/data-sources": "1.0.14",
70
- "@plasmicapp/host": "2.0.6",
71
- "@plasmicapp/query": "0.1.84",
72
- "@plasmicapp/react-web": "1.0.15",
69
+ "@plasmicapp/data-sources": "1.0.15",
70
+ "@plasmicapp/host": "2.0.7",
71
+ "@plasmicapp/query": "0.1.85",
72
+ "@plasmicapp/react-web": "1.0.17",
73
73
  "@rollup/plugin-commonjs": "^11.0.0",
74
74
  "@rollup/plugin-json": "^4.0.0",
75
75
  "@rollup/plugin-node-resolve": "^9.0.0",
@@ -96,5 +96,5 @@
96
96
  "publishConfig": {
97
97
  "access": "public"
98
98
  },
99
- "gitHead": "da8b62e5312e2ba8e771e607aeb2f6c3ca5b73f1"
99
+ "gitHead": "ff7171136453b094d87c56ff90e078d930f99b29"
100
100
  }
@@ -1,11 +1,11 @@
1
1
  import React from "react";
2
2
  import { Registerable } from "./utils";
3
3
  declare const RadioGroup: React.MemoExoticComponent<React.ForwardRefExoticComponent<import("antd").RadioGroupProps & React.RefAttributes<HTMLDivElement>>>;
4
- export declare const AntdRadio: React.ForwardRefExoticComponent<import("antd").RadioProps & React.RefAttributes<import("rc-checkbox").CheckboxRef>> & {
4
+ export declare const AntdRadio: React.ForwardRefExoticComponent<import("antd").RadioProps & React.RefAttributes<import("antd").CheckboxRef>> & {
5
5
  Group: React.MemoExoticComponent<React.ForwardRefExoticComponent<import("antd").RadioGroupProps & React.RefAttributes<HTMLDivElement>>>;
6
- Button: React.ForwardRefExoticComponent<import("antd/es/radio/radioButton").RadioButtonProps & React.RefAttributes<import("rc-checkbox").CheckboxRef>>;
6
+ Button: React.ForwardRefExoticComponent<import("antd/es/radio/radioButton").RadioButtonProps & React.RefAttributes<import("antd").CheckboxRef>>;
7
7
  };
8
- export declare const AntdRadioButton: React.ForwardRefExoticComponent<import("antd/es/radio/radioButton").RadioButtonProps & React.RefAttributes<import("rc-checkbox").CheckboxRef>>;
8
+ export declare const AntdRadioButton: React.ForwardRefExoticComponent<import("antd/es/radio/radioButton").RadioButtonProps & React.RefAttributes<import("antd").CheckboxRef>>;
9
9
  export declare function AntdRadioGroup(props: Omit<React.ComponentProps<typeof RadioGroup>, "onChange"> & {
10
10
  onChange?: (value?: string) => void;
11
11
  useChildren?: boolean;
@@ -9,7 +9,7 @@ export interface TableRef {
9
9
  }
10
10
  export declare const AntdTable: React.ForwardRefExoticComponent<Omit<import("antd").TableProps<import("antd/es/_util/type").AnyObject> & {
11
11
  children?: React.ReactNode;
12
- } & React.RefAttributes<import("rc-table").Reference> & {
12
+ } & React.RefAttributes<import("antd/es/table").TableRef> & {
13
13
  data: any;
14
14
  rowKey?: string | undefined;
15
15
  isSelectable?: undefined | "single" | "multiple";