revdev-components 0.113.0 → 0.115.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.
@@ -3,6 +3,7 @@ interface Props {
3
3
  className?: string;
4
4
  children?: React.ReactNode;
5
5
  loading?: boolean;
6
+ disabled?: boolean;
6
7
  }
7
8
  export declare const FormButton: React.FC<Props>;
8
9
  export {};
package/build/index.js CHANGED
@@ -60,11 +60,12 @@ var CentralDivision = function (_a) {
60
60
  return React.createElement("div", { className: classNames(s$w.root, className) }, children);
61
61
  };
62
62
 
63
- var s$v = {"root":"index-module_root__yiKO0"};
63
+ var s$v = {"root":"index-module_root__yiKO0","first":"index-module_first__560SY","last":"index-module_last__fYezY"};
64
64
 
65
65
  var RowDivision = function (_a) {
66
- var children = _a.children, className = _a.className;
67
- return React.createElement("div", { className: classNames(s$v.root, className) }, children);
66
+ var _b;
67
+ var children = _a.children, className = _a.className, flex = _a.flex;
68
+ return React.createElement("div", { className: classNames(s$v.root, className, (_b = {}, _b[s$v.first] = flex === "first", _b[s$v.last] = flex === "last", _b)) }, children);
68
69
  };
69
70
 
70
71
  var _path$2r;
@@ -4973,9 +4974,9 @@ var AutoCompleteField = function (props) {
4973
4974
  var s$n = {"root":"index-module_root__9GQDU"};
4974
4975
 
4975
4976
  var FormButton = function (_a) {
4976
- var className = _a.className, _b = _a.children, children = _b === void 0 ? "Save" : _b, loading = _a.loading;
4977
+ var className = _a.className, _b = _a.children, children = _b === void 0 ? "Save" : _b, loading = _a.loading, disabled = _a.disabled;
4977
4978
  return (React.createElement("div", { className: classNames(s$n.root, className) },
4978
- React.createElement(antd.Button, { htmlType: "submit", type: "primary", loading: loading }, children)));
4979
+ React.createElement(antd.Button, { htmlType: "submit", type: "primary", loading: loading, disabled: disabled }, children)));
4979
4980
  };
4980
4981
 
4981
4982
  var s$m = {"root":"index-module_root__C05Ty"};
@@ -2,6 +2,7 @@ import React from "react";
2
2
  interface Props {
3
3
  children?: React.ReactNode;
4
4
  className?: string;
5
+ flex?: "first" | "last";
5
6
  }
6
7
  export declare const RowDivision: React.FC<Props>;
7
8
  export {};
package/build/styles.css CHANGED
@@ -77,6 +77,18 @@ body {
77
77
  .index-module_root__yiKO0 > * {
78
78
  flex: 1;
79
79
  }
80
+ .index-module_root__yiKO0.index-module_first__560SY > * {
81
+ flex: 0;
82
+ }
83
+ .index-module_root__yiKO0.index-module_first__560SY > *:first-child {
84
+ flex: 1;
85
+ }
86
+ .index-module_root__yiKO0.index-module_last__fYezY > * {
87
+ flex: 0;
88
+ }
89
+ .index-module_root__yiKO0.index-module_last__fYezY > *:last-child {
90
+ flex: 1;
91
+ }
80
92
  .index-module_root__-LDR1 {
81
93
  display: inline-block;
82
94
  height: 1em;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revdev-components",
3
- "version": "0.113.0",
3
+ "version": "0.115.0",
4
4
  "main": "build/index.js",
5
5
  "module": "build/index.esm.js",
6
6
  "scripts": {