@janiscommerce/ui-web 0.43.0 → 0.44.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/dist/index.umd.js CHANGED
@@ -9825,7 +9825,7 @@
9825
9825
  var CloseBtn = styled__default["default"](Button).withConfig({
9826
9826
  displayName: "styles__CloseBtn",
9827
9827
  componentId: "sc-1tz9fgf-3"
9828
- })(["width:24px;height:24px;padding:0;background-color:transparent;border-radius:0;outline:0;margin-left:auto;"]);
9828
+ })(["padding:0;background-color:transparent;margin-left:auto;"]);
9829
9829
  var Children = styled__default["default"].div.withConfig({
9830
9830
  displayName: "styles__Children",
9831
9831
  componentId: "sc-1tz9fgf-4"
@@ -9868,7 +9868,9 @@
9868
9868
  }, props), /*#__PURE__*/React__default["default"].createElement(styled$1.Content, {
9869
9869
  className: "drawer__content"
9870
9870
  }, /*#__PURE__*/React__default["default"].createElement(styled$1.Header, null, handleClose && typeof handleClose === 'function' && /*#__PURE__*/React__default["default"].createElement(styled$1.CloseBtn, {
9871
- onClick: handleClose
9871
+ onClick: handleClose,
9872
+ type: "button",
9873
+ rounded: true
9872
9874
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
9873
9875
  className: "close-btn",
9874
9876
  name: "cross_light",