arengibook 2.5.6 → 2.5.8

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.
Files changed (2) hide show
  1. package/dist/index.js +7 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -42701,7 +42701,7 @@ var Toast = function Toast(_ref) {
42701
42701
  }, /*#__PURE__*/React__default.createElement("div", {
42702
42702
  className: "toast-left"
42703
42703
  }, /*#__PURE__*/React__default.createElement("i", {
42704
- className: icon !== null && icon !== void 0 ? icon : getIconByType(),
42704
+ className: getIconByType(),
42705
42705
  "aria-hidden": "true"
42706
42706
  })), /*#__PURE__*/React__default.createElement("div", {
42707
42707
  className: "toast-body"
@@ -42760,7 +42760,12 @@ var showToast = function showToast(props) {
42760
42760
  closable: props.closable !== false,
42761
42761
  summary: props.title || '',
42762
42762
  content: /*#__PURE__*/React__default.createElement("div", {
42763
- className: "p-toast-message-content"
42763
+ className: "p-toast-message-content",
42764
+ style: {
42765
+ display: 'flex',
42766
+ flexDirection: 'column',
42767
+ justifyContent: 'center'
42768
+ }
42764
42769
  }, props.title && /*#__PURE__*/React__default.createElement("span", {
42765
42770
  className: "p-toast-summary"
42766
42771
  }, props.title), /*#__PURE__*/React__default.createElement("div", {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "arengibook",
3
3
  "private": false,
4
- "version": "2.5.6",
4
+ "version": "2.5.8",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
7
7
  "exports": {