@stellar-expert/ui-framework 1.9.0 → 1.9.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stellar-expert/ui-framework",
3
- "version": "1.9.0",
3
+ "version": "1.9.1",
4
4
  "description": "StellarExpert shared UI components library",
5
5
  "main": "index.js",
6
6
  "module": "./index.js",
@@ -33,6 +33,11 @@ function ToastNotificationsBlock() {
33
33
 
34
34
  useEffect(() => {
35
35
  //declare globally available notify() function
36
+ /**
37
+ * Show toast notification popup
38
+ * @param {'info'|'success'|'warning'|'error'} type - Notification type
39
+ * @param {String} message - Message to show
40
+ */
36
41
  window.notify = function ({type, message}) {
37
42
  const newNotification = new ToastNotificationInstance({
38
43
  type,
@@ -65,6 +65,7 @@
65
65
  > div {
66
66
  color: var(--color-text);
67
67
  font-size: 0.9em;
68
+ overflow-wrap: anywhere;
68
69
  @media (max-width: $responsive-mobile-browser-width) {
69
70
  font-size: 0.85em;
70
71
  }