revdev-components 0.154.0 → 0.155.0

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.
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ import { SizeType } from "antd/lib/config-provider/SizeContext";
3
+ import { RadioGroupProps } from "antd/lib";
4
+ import { ValueOption } from "src/interfaces";
5
+ export interface SwitchButtonControlProps extends Omit<RadioGroupProps, "onChange" | "value"> {
6
+ value?: string;
7
+ onChange?: (newValue?: string) => void;
8
+ options: ValueOption[];
9
+ size?: SizeType;
10
+ }
11
+ export declare const SwitchButtonControl: React.FC<SwitchButtonControlProps>;
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ import { FormLineProps } from "../line";
3
+ import { SwitchButtonControlProps } from "./control";
4
+ interface Props extends FormLineProps, Omit<SwitchButtonControlProps, "name"> {
5
+ }
6
+ export declare const SwitchButtonField: React.FC<Props>;
7
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revdev-components",
3
- "version": "0.154.0",
3
+ "version": "0.155.0",
4
4
  "main": "build/index.js",
5
5
  "module": "build/index.esm.js",
6
6
  "scripts": {
@@ -24,8 +24,7 @@
24
24
  "next": "^16.0.3",
25
25
  "page-path": ">=0.7",
26
26
  "react": "^19.2.0",
27
- "react-dom": "^19.2.0",
28
- "revdev": ">=0"
27
+ "react-dom": "^19.2.0"
29
28
  },
30
29
  "devDependencies": {
31
30
  "@ant-design/v5-patch-for-react-19": "^1.0.3",
@@ -51,7 +50,6 @@
51
50
  "randex": "^0.32.0",
52
51
  "react": "^19.2.0",
53
52
  "react-dom": "^19.2.0",
54
- "revdev": "^0.221.0",
55
53
  "rollup": "^4.24.4",
56
54
  "rollup-obfuscator": "^4.1.1",
57
55
  "rollup-plugin-postcss": "^4.0.2",