ab-ui-library 1.52.0 → 1.53.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.
@@ -75,7 +75,8 @@ var ModalConfirmation = function ModalConfirmation(props) {
75
75
  _props$closeOnOutside = props.closeOnOutsideClick,
76
76
  closeOnOutsideClick = _props$closeOnOutside === void 0 ? true : _props$closeOnOutside,
77
77
  iconProps = props.iconProps,
78
- subtitle = props.subtitle;
78
+ subtitle = props.subtitle,
79
+ children = props.children;
79
80
  var _useState = useState(null),
80
81
  _useState2 = _slicedToArray(_useState, 2),
81
82
  containerRef = _useState2[0],
@@ -111,7 +112,9 @@ var ModalConfirmation = function ModalConfirmation(props) {
111
112
  dataId: dataIdPrefix ? "".concat(dataIdPrefix, "-modal-title") : ''
112
113
  }, title) : null, subtitle ? /*#__PURE__*/React.createElement(Text, {
113
114
  className: 'mt-12'
114
- }, subtitle) : null, buttonProps ? /*#__PURE__*/React.createElement("div", {
115
+ }, subtitle) : null, children ? /*#__PURE__*/React.createElement("div", {
116
+ className: 'mt-32'
117
+ }, children) : null, buttonProps ? /*#__PURE__*/React.createElement("div", {
115
118
  className: "modal__footer mt-32 ".concat(isFooterInline ? 'modal__footer-inline' : 'modal__footer-block')
116
119
  }, buttonProps !== null && buttonProps !== void 0 && buttonProps.cancel ? /*#__PURE__*/React.createElement(Button, _extends({
117
120
  type: "secondary",
@@ -42,4 +42,5 @@ export interface TModalConfirmationPropTypes {
42
42
  isFooterInline?: boolean;
43
43
  iconProps?: ISVGIconProps;
44
44
  className?: string;
45
+ children?: ReactNode;
45
46
  }
@@ -8,6 +8,7 @@ export interface TRadioProps extends IFormCompProps {
8
8
  iconProps?: ReactElement;
9
9
  isSelected?: boolean;
10
10
  onClick?: (isChecked: boolean) => void;
11
+ dataId?: string;
11
12
  }
12
13
  export type TRadioOptionItem = {
13
14
  value: number | string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ab-ui-library",
3
- "version": "1.52.0",
3
+ "version": "1.53.1",
4
4
  "description": "UI library for AM",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",