revdev-components 0.7.0 → 0.8.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.
@@ -5,4 +5,5 @@ export * from "./line";
5
5
  export * from "./input-number";
6
6
  export * from "./radio-button";
7
7
  export * from "./range-picker";
8
+ export * from "./select";
8
9
  export * from "./text-area";
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ import { SelectProps } from "antd";
3
+ import { FormLineProps } from "../line";
4
+ interface Props extends FormLineProps, Omit<SelectProps, "name"> {
5
+ }
6
+ export declare const SelectField: React.FC<Props>;
7
+ export {};
package/build/index.js CHANGED
@@ -4710,6 +4710,12 @@ var RangePickerField = function (props) {
4710
4710
  React.createElement(RangePicker, __assign({}, controlProps, { popupClassName: oneMonth ? s$6.popup : undefined }))));
4711
4711
  };
4712
4712
 
4713
+ var SelectField = function (props) {
4714
+ var _a = useLineProps(props), lineProps = _a[0], controlProps = _a[1];
4715
+ return (React.createElement(FormLine, __assign({}, lineProps),
4716
+ React.createElement(antd.Select, __assign({}, controlProps))));
4717
+ };
4718
+
4713
4719
  var TextArea = antd.Input.TextArea;
4714
4720
  var TextAreaField = function (props) {
4715
4721
  var _a = useLineProps(props), lineProps = _a[0], controlProps = _a[1];
@@ -4870,6 +4876,7 @@ exports.RangePickerField = RangePickerField;
4870
4876
  exports.RegularDialog = RegularDialog;
4871
4877
  exports.RegularIcon = RegularIcon;
4872
4878
  exports.RegularIconNameList = RegularIconNameList;
4879
+ exports.SelectField = SelectField;
4873
4880
  exports.SocialIcon = SocialIcon;
4874
4881
  exports.SocialIconNameList = SocialIconNameList;
4875
4882
  exports.TextAreaField = TextAreaField;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revdev-components",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "main": "build/index.js",
5
5
  "module": "build/index.esm.js",
6
6
  "scripts": {