revdev-components 0.225.0 → 0.227.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.
package/build/index.js CHANGED
@@ -5412,15 +5412,15 @@ var CheckboxField = function (props) {
5412
5412
  var s$s = {"root":"index-module_root__GGl-p"};
5413
5413
 
5414
5414
  var SwitchFieldControl = function (_a) {
5415
- var children = _a.children, props = __rest(_a, ["children"]);
5416
- return (React.createElement("div", { className: s$s.root },
5415
+ var className = _a.className, children = _a.children, props = __rest(_a, ["className", "children"]);
5416
+ return (React.createElement("div", { className: classNames(s$s.root, className) },
5417
5417
  React.createElement(antd.Switch, __assign({}, props)),
5418
5418
  children && React.createElement("div", { className: s$s.content }, children)));
5419
5419
  };
5420
5420
 
5421
5421
  var SwitchField = function (props) {
5422
5422
  var _a = useLineProps(props), lineProps = _a[0], controlProps = _a[1];
5423
- return (React.createElement(FormLine, __assign({}, lineProps, { valuePropName: "checked" }),
5423
+ return (React.createElement(FormLine, __assign({}, lineProps, { valuePropName: "checked", noStyle: true }),
5424
5424
  React.createElement(SwitchFieldControl, __assign({}, controlProps))));
5425
5425
  };
5426
5426
 
package/build/styles.css CHANGED
@@ -675,9 +675,13 @@ body {
675
675
  transform: scale(1);
676
676
  }
677
677
  }
678
+ .index-module_root__6hATD {
679
+ display: inline-flex;
680
+ }
678
681
  .index-module_root__6hATD > button {
679
682
  font-size: inherit !important;
680
683
  color: inherit !important;
684
+ display: inline-flex;
681
685
  }
682
686
  .index-module_link__0nACX {
683
687
  display: flex;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "revdev-components",
3
- "version": "0.225.0",
3
+ "version": "0.227.0",
4
4
  "main": "build/index.js",
5
5
  "module": "build/index.esm.js",
6
6
  "scripts": {