rohit-chat-widget 1.0.14 → 1.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.
Files changed (2) hide show
  1. package/lib/styles.css +11 -1
  2. package/package.json +1 -1
package/lib/styles.css CHANGED
@@ -2858,10 +2858,11 @@
2858
2858
  .Toast-module_toastContainer__olAG3 {
2859
2859
  position: fixed;
2860
2860
  right: 16px;
2861
- bottom: 24px;
2861
+ top: 16px; /* move to top-right */
2862
2862
  display: flex;
2863
2863
  flex-direction: column;
2864
2864
  gap: 8px;
2865
+ align-items: flex-end;
2865
2866
  }
2866
2867
 
2867
2868
  .Toast-module_toast__ngbBR {
@@ -2872,6 +2873,15 @@
2872
2873
  font-size: 14px;
2873
2874
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
2874
2875
  max-width: 320px;
2876
+ word-break: break-word;
2877
+ }
2878
+
2879
+ .Toast-module_toast--success__AcCed {
2880
+ background: #057A55;
2881
+ }
2882
+
2883
+ .Toast-module_toast--error__a7RTS {
2884
+ background: #B00020;
2875
2885
  }
2876
2886
  .ChatHeader-module_chatHeader__PKeNX {
2877
2887
  background-color: var(--header-bg);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rohit-chat-widget",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "description": "A chat widget for SmarterEMR client applications.",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.esm.js",