@fullsession.io/fs-feedback-widget 1.10.0 → 1.11.0

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": "@fullsession.io/fs-feedback-widget",
3
- "version": "1.10.0",
3
+ "version": "1.11.0",
4
4
  "scripts": {
5
5
  "build": "rollup -c",
6
6
  "dev": "rollup -c -w",
package/src/App.svelte CHANGED
@@ -234,7 +234,6 @@
234
234
 
235
235
  <fsContainer
236
236
  class={!buttonVisible && widgetDisplayMode == 1 ? "fs-feedback-modal" : "fs-side"}
237
- style="position: fixed; top: 0; right: 0; bottom: 0; left: 0;"
238
237
  dir="ltr"
239
238
  >
240
239
  {#if buttonVisible}
@@ -18,6 +18,8 @@
18
18
  }
19
19
 
20
20
  .fs-feedback-modal {
21
+ position: var(--positionState);
22
+ inset: 0;
21
23
  display: flex !important;
22
24
  justify-content: center;
23
25
  align-items: center;
@@ -28,6 +30,7 @@
28
30
  font-family: 'Montserrat', sans-serif;
29
31
  }
30
32
 
33
+
31
34
  .fs-thanks-txt {
32
35
  width: 61%;
33
36
  padding: 20px 0;
@@ -111,7 +114,6 @@ fsContainerApp {
111
114
  }
112
115
 
113
116
  .fsContNps {
114
- padding: 20px;
115
117
  width: 400px !important;
116
118
  }
117
119
 
@@ -130,10 +132,9 @@ fsContainerApp {
130
132
  #fsCloseIcon {
131
133
  font-size: 15px;
132
134
  color: #ffff;
133
- font-weight: 600;
135
+ font-weight: 300;
134
136
  cursor: pointer;
135
137
  margin-top: 2px;
136
-
137
138
  }
138
139
 
139
140
  .fsCloseCont {
@@ -151,7 +152,7 @@ fsContainerApp {
151
152
  }
152
153
 
153
154
  .fsNpsCloseCont {
154
- margin: -35px 0 0 auto !important;
155
+ margin-left: 90% !important;
155
156
  }
156
157
 
157
158
 
@@ -366,21 +366,21 @@
366
366
  </div>
367
367
  </div>
368
368
  {:else if widgetComponent === 2 && wgType === 2}
369
- <div id="fsTxt">{widgetQuestion}</div>
369
+ <div id="fsTxtNps">Tell us more about your experience</div>
370
370
  <div class="fsTextAreaCont-qa-view">
371
371
  <textarea
372
372
  class="fsTextArea"
373
- placeholder={widgetPlaceholder}
373
+ placeholder="Answer Here..."
374
374
  on:keyup={() => commentHandler()}
375
375
  />
376
376
  </div>
377
377
 
378
378
  <div class="fsFooter">
379
379
  <button
380
- class="fsSendButtonContCommentComp"
380
+ class="fsSendButtonContCommentComp fsNpsButton"
381
381
  on:click={() => openEmailCont(3)}
382
382
  >
383
- <p class="fsSendButtonCommentComponent">Next</p>
383
+ <p class="fsSendButtonCommentComponent">Send</p>
384
384
  </button>
385
385
  </div>
386
386
  {:else if widgetComponent === 3}
@@ -30,6 +30,18 @@
30
30
  margin-top: 5px;
31
31
  }
32
32
 
33
+ #fsTxtNps {
34
+ color: #1513A0;
35
+ font-family: 'Montserrat', sans-serif;
36
+ font-size: 14px;
37
+ font-weight: 500;
38
+ line-height: 15px;
39
+ overflow: hidden;
40
+ width: 80% !important;
41
+ margin-top: 5px;
42
+ margin-left: 20px;
43
+ }
44
+
33
45
  .fsIconTextCont {
34
46
  pointer-events: auto;
35
47
  display: flex;
@@ -39,6 +51,10 @@
39
51
  font-family: 'Montserrat', sans-serif;
40
52
  }
41
53
 
54
+ .fsNpsButton {
55
+ margin-bottom: 10px;
56
+ }
57
+
42
58
  .fsReactionText {
43
59
  font-size: 12px;
44
60
  display: none;
@@ -281,6 +297,7 @@
281
297
  display: flex;
282
298
  flex-direction: column;
283
299
  gap: 10px;
300
+ padding: 0 20px 20px;
284
301
  }
285
302
 
286
303
  .fsNpsNumbers {