@hixme-ui/modal
Advanced tools
Comparing version 1.16.1 to 1.16.2
@@ -236,2 +236,17 @@ 'use strict'; | ||
_reactFlexboxGrid.Col, | ||
getButtonGrid(), | ||
_react2.default.createElement( | ||
_button2.default, | ||
{ | ||
secondary: true, | ||
block: true, | ||
onClick: cancelHandler || handleClose, | ||
submitting: cancelProcessing, | ||
submittingText: cancelSubmittingText | ||
}, | ||
cancelLabel | ||
) | ||
), | ||
_react2.default.createElement( | ||
_reactFlexboxGrid.Col, | ||
(0, _extends3.default)({}, getButtonGrid(), { style: { marginBottom: '10px' } }), | ||
@@ -249,3 +264,7 @@ _react2.default.createElement( | ||
) | ||
), | ||
) | ||
), | ||
errorDialog && _react2.default.createElement( | ||
_reactFlexboxGrid.Row, | ||
{ center: 'xs', style: { marginTop: '20px' } }, | ||
_react2.default.createElement( | ||
@@ -265,7 +284,3 @@ _reactFlexboxGrid.Col, | ||
) | ||
) | ||
), | ||
errorDialog && _react2.default.createElement( | ||
_reactFlexboxGrid.Row, | ||
{ center: 'xs', style: { marginTop: '20px' } }, | ||
), | ||
_react2.default.createElement( | ||
@@ -285,17 +300,2 @@ _reactFlexboxGrid.Col, | ||
) | ||
), | ||
_react2.default.createElement( | ||
_reactFlexboxGrid.Col, | ||
getButtonGrid(), | ||
_react2.default.createElement( | ||
_button2.default, | ||
{ | ||
secondary: true, | ||
block: true, | ||
onClick: cancelHandler || handleClose, | ||
submitting: cancelProcessing, | ||
submittingText: cancelSubmittingText | ||
}, | ||
cancelLabel | ||
) | ||
) | ||
@@ -302,0 +302,0 @@ ) |
{ | ||
"name": "@hixme-ui/modal", | ||
"version": "1.16.1", | ||
"version": "1.16.2", | ||
"description": "hixme-ui Modal component", | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
@@ -202,2 +202,13 @@ import React from 'react' | ||
<Row center='xs' style={{ marginTop: '20px' }}> | ||
<Col {...getButtonGrid()}> | ||
<Button | ||
secondary | ||
block | ||
onClick={cancelHandler || handleClose} | ||
submitting={cancelProcessing} | ||
submittingText={cancelSubmittingText} | ||
> | ||
{cancelLabel} | ||
</Button> | ||
</Col> | ||
<Col {...getButtonGrid()} style={{ marginBottom: '10px' }}> | ||
@@ -214,2 +225,6 @@ <Button | ||
</Col> | ||
</Row> | ||
} | ||
{errorDialog && | ||
<Row center='xs' style={{ marginTop: '20px' }}> | ||
<Col {...getButtonGrid()}> | ||
@@ -226,6 +241,2 @@ <Button | ||
</Col> | ||
</Row> | ||
} | ||
{errorDialog && | ||
<Row center='xs' style={{ marginTop: '20px' }}> | ||
<Col {...getButtonGrid()} style={{ marginBottom: '10px' }}> | ||
@@ -242,13 +253,2 @@ <Button | ||
</Col> | ||
<Col {...getButtonGrid()}> | ||
<Button | ||
secondary | ||
block | ||
onClick={cancelHandler || handleClose} | ||
submitting={cancelProcessing} | ||
submittingText={cancelSubmittingText} | ||
> | ||
{cancelLabel} | ||
</Button> | ||
</Col> | ||
</Row> | ||
@@ -255,0 +255,0 @@ } |
Sorry, the diff of this file is not supported yet