arengibook 2.5.5 → 2.5.501

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 +5 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -42863,14 +42863,16 @@ var showToast = function showToast(props) {
42863
42863
  if (toastRef) {
42864
42864
  toastRef.show({
42865
42865
  severity: props.type || 'info',
42866
- life: props.duration || 3000,
42866
+ summary: props.title || '',
42867
42867
  sticky: props.sticky,
42868
42868
  closable: props.closable !== false,
42869
- content: function content() {
42869
+ life: props.duration || 3000,
42870
+ content: props.enableHtmlContent ? function () {
42870
42871
  return /*#__PURE__*/React__default.createElement(Toast, _extends$G({}, props, {
42871
42872
  autoShow: false
42872
42873
  }));
42873
- }
42874
+ } : undefined,
42875
+ detail: !props.enableHtmlContent ? props.message : undefined
42874
42876
  });
42875
42877
  }
42876
42878
  }, 0);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "arengibook",
3
3
  "private": false,
4
- "version": "2.5.05",
4
+ "version": "2.5.501",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
7
7
  "exports": {