revdev-components 0.281.0 → 0.284.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.
@@ -6,6 +6,7 @@ interface Props {
6
6
  loading?: boolean;
7
7
  disabled?: boolean;
8
8
  type?: ButtonType;
9
+ buttonRef: React.Ref<HTMLAnchorElement | HTMLButtonElement>;
9
10
  }
10
11
  export declare const FormButton: React.FC<Props>;
11
12
  export {};
package/build/index.js CHANGED
@@ -5627,9 +5627,9 @@ var SwitchButtonField = function (props) {
5627
5627
  var s$x = {"root":"index-module_root__9GQDU"};
5628
5628
 
5629
5629
  var FormButton = function (_a) {
5630
- 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;
5630
+ 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, buttonRef = _a.buttonRef;
5631
5631
  return (React.createElement("div", { className: classNames(s$x.root, className) },
5632
- React.createElement(antd.Button, { htmlType: "submit", type: type, loading: loading, disabled: disabled }, children)));
5632
+ React.createElement(antd.Button, { ref: buttonRef, htmlType: "submit", type: type, loading: loading, disabled: disabled }, children)));
5633
5633
  };
5634
5634
 
5635
5635
  var s$w = {"root":"index-module_root__C05Ty"};
package/build/styles.css CHANGED
@@ -825,7 +825,7 @@ body {
825
825
  left: 0;
826
826
  right: 0;
827
827
  width: 100%;
828
- background-color: var(--color);
828
+ background-color: var(--passiveColor);
829
829
  transition: height 0.3s ease-in-out;
830
830
  }
831
831
  .index-module_label__7pG3Z {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revdev-components",
3
- "version": "0.281.0",
3
+ "version": "0.284.0",
4
4
  "main": "build/index.js",
5
5
  "module": "build/index.esm.js",
6
6
  "scripts": {