@sonic-equipment/ui 0.0.97 → 0.0.99
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.js +1 -1
- package/dist/styles.css +3 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1616,7 +1616,7 @@ const icons = {
|
|
|
1616
1616
|
warning: jsx(SolidNoticeIcon, {}),
|
|
1617
1617
|
};
|
|
1618
1618
|
const Toast = forwardRef(({ className, id, onClose, toastMessage: { body, isUserDismissable, messageType = 'info' }, }, ref) => {
|
|
1619
|
-
return (jsxs("div", { ref: ref, className: clsx(styles$10.toast, styles$10[messageType], className), children: [jsx("span", { className: styles$10.icon, children: icons[messageType] }), body, isUserDismissable && (jsx(IconButton, { className: styles$10.close, color: "secondary", onClick: () => onClose?.(id), children: jsx(StrokeCloseboxIcon, {}) }))] }));
|
|
1619
|
+
return (jsxs("div", { ref: ref, className: clsx(styles$10.toast, styles$10[messageType], className), "data-test-selector": `toast${messageType}`, children: [jsx("span", { className: styles$10.icon, children: icons[messageType] }), body, isUserDismissable && (jsx(IconButton, { className: styles$10.close, color: "secondary", onClick: () => onClose?.(id), children: jsx(StrokeCloseboxIcon, {}) }))] }));
|
|
1620
1620
|
});
|
|
1621
1621
|
Toast.displayName = 'Toast';
|
|
1622
1622
|
|
package/dist/styles.css
CHANGED
|
@@ -5103,7 +5103,8 @@ button.swiper-pagination-bullet {
|
|
|
5103
5103
|
top: calc(var(--header-height-desktop) + var(--space-12));
|
|
5104
5104
|
right: var(--toastify-toast-right);
|
|
5105
5105
|
width: -moz-fit-content;
|
|
5106
|
-
width: fit-content
|
|
5106
|
+
width: fit-content;
|
|
5107
|
+
align-items: flex-end
|
|
5107
5108
|
}
|
|
5108
5109
|
}
|
|
5109
5110
|
|
|
@@ -5113,6 +5114,7 @@ button.swiper-pagination-bullet {
|
|
|
5113
5114
|
overflow: visible;
|
|
5114
5115
|
padding: 0;
|
|
5115
5116
|
border-radius: var(--border-radius-12);
|
|
5117
|
+
margin-bottom: 0;
|
|
5116
5118
|
box-shadow: unset;
|
|
5117
5119
|
}
|
|
5118
5120
|
|