@plurid/plurid-ui-components-react 0.0.0-14 → 0.0.0-15
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/distribution/components/pluridal/notifications/Notification/index.d.ts +3 -3
- package/distribution/components/pluridal/notifications/Notifications/index.d.ts +5 -5
- package/distribution/components/pluridal/sitting/SittingTray/components/Sittings/index.d.ts +1 -0
- package/distribution/components/pluridal/sitting/SittingTray/components/StateImage/index.d.ts +1 -0
- package/distribution/components/pluridal/sitting/SittingTray/components/StateLine/index.d.ts +1 -0
- package/distribution/components/pluridal/sitting/SittingTray/components/StateLink/index.d.ts +1 -0
- package/distribution/components/pluridal/sitting/SittingTray/index.d.ts +1 -1
- package/distribution/components/pluridal/toolbars/ToolbarGeneral/index.d.ts +3 -3
- package/distribution/index.es.js +2 -6
- package/distribution/index.es.js.map +1 -1
- package/distribution/index.js +2 -6
- package/distribution/index.js.map +1 -1
- package/package.json +13 -30
package/distribution/index.js
CHANGED
|
@@ -2640,9 +2640,7 @@ const Notification = properties => {
|
|
|
2640
2640
|
React.useEffect((() => {
|
|
2641
2641
|
if (timeout) {
|
|
2642
2642
|
notificationTimeout.current = setTimeout((() => {
|
|
2643
|
-
remove(
|
|
2644
|
-
id: id
|
|
2645
|
-
});
|
|
2643
|
+
remove(id);
|
|
2646
2644
|
}), timeout);
|
|
2647
2645
|
}
|
|
2648
2646
|
return () => {
|
|
@@ -2671,9 +2669,7 @@ const Notification = properties => {
|
|
|
2671
2669
|
style: Object.assign({}, style),
|
|
2672
2670
|
className: className
|
|
2673
2671
|
}, content, React__default["default"].createElement(StyledNotificationClose, null, React__default["default"].createElement(pluridIconsReact.PluridIconDelete, {
|
|
2674
|
-
atClick: () => remove(
|
|
2675
|
-
id: id
|
|
2676
|
-
})
|
|
2672
|
+
atClick: () => remove(id)
|
|
2677
2673
|
})));
|
|
2678
2674
|
};
|
|
2679
2675
|
|