ab-ui-library 1.33.0 → 1.33.1

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.
@@ -88,8 +88,9 @@ var Modal = function Modal(props) {
88
88
  setContainerRef = _useState2[1];
89
89
  useOnOutsideClick(containerRef, onClose, closeOnOutsideClick && isOpen, useId());
90
90
  useHideBodyScroll(isOpen);
91
+ var checkbox = checkProps ? /*#__PURE__*/React.createElement(Checkbox, checkProps) : null;
91
92
  var buttons = buttonProps ? /*#__PURE__*/React.createElement("div", {
92
- className: 'flexbox'
93
+ className: "flexbox ".concat(checkProps ? '' : 'full-width justify-content--end')
93
94
  }, /*#__PURE__*/React.createElement(Button, _extends({
94
95
  type: "tertiary",
95
96
  className: "modal__footer__btn mr-16",
@@ -106,7 +107,6 @@ var Modal = function Modal(props) {
106
107
  onClick: onSubmit,
107
108
  dataId: dataIdPrefix ? "".concat(dataIdPrefix, "-modal-confirm-button") : ''
108
109
  }, buttonProps.confirm))) : null;
109
- var checkbox = checkProps ? /*#__PURE__*/React.createElement(Checkbox, checkProps) : null;
110
110
  return /*#__PURE__*/React.createElement(AnimatePresenceWrapper, null, isOpen ? /*#__PURE__*/React.createElement(motion.div, {
111
111
  className: classNames('modal', "modal--".concat(size), className),
112
112
  initial: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ab-ui-library",
3
- "version": "1.33.0",
3
+ "version": "1.33.1",
4
4
  "description": "UI library for AM",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",