revdev-components 0.228.0 → 0.230.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.
@@ -1,9 +1,11 @@
1
1
  import React from "react";
2
+ import { ButtonType } from "antd/es/button";
2
3
  interface Props {
3
4
  className?: string;
4
5
  children?: React.ReactNode;
5
6
  loading?: boolean;
6
7
  disabled?: boolean;
8
+ type?: ButtonType;
7
9
  }
8
10
  export declare const FormButton: React.FC<Props>;
9
11
  export {};
package/build/index.js CHANGED
@@ -1909,9 +1909,9 @@ function _extends$m() { return _extends$m = Object.assign ? Object.assign.bind()
1909
1909
  var SvgCopy = function SvgCopy(props) {
1910
1910
  return /*#__PURE__*/React__namespace.createElement("svg", _extends$m({
1911
1911
  xmlns: "http://www.w3.org/2000/svg",
1912
- viewBox: "0 0 512 512"
1912
+ viewBox: "0 0 24 24"
1913
1913
  }, props), _path$j || (_path$j = /*#__PURE__*/React__namespace.createElement("path", {
1914
- d: "M121.934 361.199V96.978c0-11.547 9.393-20.959 20.94-20.959h136.297c2.892 0 5.556 1.134 7.56 3.137l46.906 47.133c2.022 2.022 3.118 4.668 3.118 7.502v227.406c0 11.528-9.392 20.921-20.94 20.921H142.874c-11.547 0-20.939-9.392-20.939-20.921zM372.68 116.046c-.87-.056-5.991-.076-8.07-.076l-.68 6.653.718 6.671c1.72 0 5.821-.019 6.69.019 10.526 1.077 18.728 10.546 18.728 21.506v264.202c0 11.566-9.373 20.94-20.902 20.94H196.186c-10.678 0-19.636-7.975-20.788-18.52-.076-1.342-.132-7.635-.132-8.561 0-3.666-2.986-6.671-6.633-6.671a6.66 6.66 0 0 0-6.671 6.671c0 1.134.056 8.901.17 9.921a34.196 34.196 0 0 0 34.055 30.502h172.978c18.861 0 34.244-15.384 34.244-34.282V150.819c0-17.746-13.474-33.016-30.729-34.773m-44.525 16.99c0-3.685-3.005-6.653-6.671-6.653h-34.868V89.644c0-3.685-2.967-6.653-6.652-6.653s-6.671 2.967-6.671 6.653v43.391a6.67 6.67 0 0 0 6.671 6.671h41.52c3.666 0 6.671-2.986 6.671-6.671zm21.941 228.163V133.793c0-6.388-2.476-12.359-6.974-16.895l-46.944-47.133c-4.536-4.535-10.583-7.068-17.009-7.068H142.872c-18.898 0-34.282 15.383-34.282 34.282V361.2c0 18.88 15.383 34.263 34.282 34.263h172.941c18.899 0 34.282-15.384 34.282-34.263z"
1914
+ d: "M18.984 21V6.984H8.015V21zm0-15.984q.797 0 1.406.586t.609 1.383v14.016q0 .797-.609 1.406t-1.406.609H8.015q-.797 0-1.406-.609T6 21.001V6.985q0-.797.609-1.383t1.406-.586zm-3-4.032V3h-12v14.016H2.015V3q0-.797.586-1.406T3.984.985z"
1915
1915
  })));
1916
1916
  };
1917
1917
 
@@ -5455,9 +5455,9 @@ var SwitchButtonField = function (props) {
5455
5455
  var s$r = {"root":"index-module_root__9GQDU"};
5456
5456
 
5457
5457
  var FormButton = function (_a) {
5458
- var className = _a.className, _b = _a.children, children = _b === void 0 ? "Save" : _b, loading = _a.loading, disabled = _a.disabled;
5458
+ var className = _a.className, _b = _a.children, children = _b === void 0 ? "Save" : _b, loading = _a.loading, disabled = _a.disabled, _c = _a.type, type = _c === void 0 ? "primary" : _c;
5459
5459
  return (React.createElement("div", { className: classNames(s$r.root, className) },
5460
- React.createElement(antd.Button, { htmlType: "submit", type: "primary", loading: loading, disabled: disabled }, children)));
5460
+ React.createElement(antd.Button, { htmlType: "submit", type: type, loading: loading, disabled: disabled }, children)));
5461
5461
  };
5462
5462
 
5463
5463
  var s$q = {"root":"index-module_root__C05Ty"};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revdev-components",
3
- "version": "0.228.0",
3
+ "version": "0.230.0",
4
4
  "main": "build/index.js",
5
5
  "module": "build/index.esm.js",
6
6
  "scripts": {