@fullsession.io/fs-feedback-widget 1.7.6 → 1.8.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.7.6",
3
+ "version": "1.8.0",
4
4
  "scripts": {
5
5
  "build": "rollup -c",
6
6
  "dev": "rollup -c -w",
package/src/App.svelte CHANGED
@@ -225,8 +225,8 @@
225
225
  </script>
226
226
 
227
227
  <fsContainer
228
- class={!buttonVisible && widgetDisplayMode == 1 ? "modal" : "side"}
229
- style="position: 10px"
228
+ class={!buttonVisible && widgetDisplayMode == 1 ? "fs-feedback-modal" : "fs-side"}
229
+ style="position: fixed; top: 0; right: 0; bottom: 0; left: 0;"
230
230
  dir="ltr"
231
231
  >
232
232
  {#if buttonVisible}
@@ -259,7 +259,7 @@
259
259
  <div class="fsCloseCont" on:click={closeThanksMessage}>
260
260
  <p id="fsCloseIcon">X</p>
261
261
  </div>
262
- <div class="thanks-txt">
262
+ <div class="fs-thanks-txt">
263
263
  {widgetThanksMsg}
264
264
  </div>
265
265
  </div>
@@ -1,4 +1,4 @@
1
- .side {
1
+ .fs-side {
2
2
  width: 100%;
3
3
  display: flex;
4
4
  flex-direction: var(--wgPositionVertical);
@@ -15,20 +15,18 @@
15
15
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
16
16
  }
17
17
 
18
- .modal {
18
+ .fs-feedback-modal {
19
19
  display: flex !important;
20
20
  justify-content: center;
21
21
  align-items: center;
22
22
  width: 100%;
23
23
  height: 100%;
24
- position: var(--positionState);
25
24
  background-color: rgba(0, 0, 0, 0.5);
26
25
  z-index: 100000;
27
- pointer-events: none;
28
26
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
29
27
  }
30
28
 
31
- .thanks-txt {
29
+ .fs-thanks-txt {
32
30
  width: 61%;
33
31
  padding: 20px 0;
34
32
  text-align: center;
@@ -198,7 +198,7 @@
198
198
  <Icons bind:name={changingReactionNames[0]} bind:emotIconType={widgetEmotIconType} />
199
199
  </div>
200
200
 
201
- <p class="fsReactionText" class:icons3-text-2={widgetEmotIconType === "2"}>Hate</p>
201
+ <p class="fsReactionText" class:fs-icons3-text-2={widgetEmotIconType === "2"}>Hate</p>
202
202
  </div>
203
203
 
204
204
  <div
@@ -209,7 +209,7 @@
209
209
  <Icons bind:name={changingReactionNames[1]} bind:emotIconType={widgetEmotIconType} />
210
210
  </div>
211
211
 
212
- <p class="fsReactionText" class:icons3-text={widgetEmotIconType === "2"}>Dislike</p>
212
+ <p class="fsReactionText" class:fs-icons3-text={widgetEmotIconType === "2"}>Dislike</p>
213
213
  </div>
214
214
  <div
215
215
  class="fsIconTextCont"
@@ -225,13 +225,13 @@
225
225
  <div class="fsReactionIcon">
226
226
  <Icons bind:name={changingReactionNames[3]} bind:emotIconType={widgetEmotIconType} />
227
227
  </div>
228
- <p class="fsReactionText" class:icons3-text={widgetEmotIconType === "2"}>Like</p>
228
+ <p class="fsReactionText" class:fs-icons3-text={widgetEmotIconType === "2"}>Like</p>
229
229
  </div>
230
230
  <div class="fsIconTextCont" on:click={() => openComment(2, 5, "love")}>
231
231
  <div class="fsReactionIcon">
232
232
  <Icons bind:name={changingReactionNames[4]} bind:emotIconType={widgetEmotIconType} />
233
233
  </div>
234
- <p class="fsReactionText" class:icons3-text-2={widgetEmotIconType === "2"}>Love</p>
234
+ <p class="fsReactionText" class:fs-icons3-text-2={widgetEmotIconType === "2"}>Love</p>
235
235
  </div>
236
236
  </div>
237
237
  </div>
@@ -272,7 +272,7 @@
272
272
  {/if}
273
273
  </div>
274
274
 
275
- <p class="fsReactionText" id="fsHateDiv" class:icons3-text-2={widgetEmotIconType === "2"}>Hate</p>
275
+ <p class="fsReactionText" id="fsHateDiv" class:fs-icons3-text-2={widgetEmotIconType === "2"}>Hate</p>
276
276
  </div>
277
277
 
278
278
  <div class="fsIconTextCont" on:click={() => openComment(2, 2, "dislike")}>
@@ -284,7 +284,7 @@
284
284
  {/if}
285
285
  </div>
286
286
 
287
- <p class="fsReactionText" id="fsDislikeDiv" class:icons3-text={widgetEmotIconType === "2"}>Dislike</p>
287
+ <p class="fsReactionText" id="fsDislikeDiv" class:fs-icons3-text={widgetEmotIconType === "2"}>Dislike</p>
288
288
  </div>
289
289
  <div class="fsIconTextCont" on:click={() => openComment(2, 3, "neutral")}>
290
290
  <div class="fsReactionIcon">
@@ -305,7 +305,7 @@
305
305
  <Icons bind:name={changingReactionNames[3]} bind:emotIconType={widgetEmotIconType} />
306
306
  {/if}
307
307
  </div>
308
- <p class="fsReactionText" id="fsLikeDiv" class:icons3-text={widgetEmotIconType === "2"}>Like</p>
308
+ <p class="fsReactionText" id="fsLikeDiv" class:fs-icons3-text={widgetEmotIconType === "2"}>Like</p>
309
309
  </div>
310
310
  <div class="fsIconTextCont">
311
311
  <div class="fsReactionIcon" on:click={() => openComment(2, 5, "love")}>
@@ -315,7 +315,7 @@
315
315
  <Icons bind:name={changingReactionNames[4]} bind:emotIconType={widgetEmotIconType} />
316
316
  {/if}
317
317
  </div>
318
- <p class="fsReactionText" id="fsLoveDiv" class:icons3-text-2={widgetEmotIconType === "2"}>Love</p>
318
+ <p class="fsReactionText" id="fsLoveDiv" class:fs-icons3-text-2={widgetEmotIconType === "2"}>Love</p>
319
319
  </div>
320
320
  </div>
321
321
 
@@ -39,11 +39,11 @@
39
39
  margin-top: 0px;
40
40
  }
41
41
 
42
- .icons3-text {
42
+ .fs-icons3-text {
43
43
  padding-left: 5px;
44
44
  }
45
45
 
46
- .icons3-text-2 {
46
+ .fs-icons3-text-2 {
47
47
  padding-left: 3px;
48
48
  }
49
49
 
@@ -87,10 +87,6 @@
87
87
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
88
88
  }
89
89
 
90
- .txt-type-view {
91
- margin-top: 10px;
92
- }
93
-
94
90
  .fsTextArea, .fsAnswerTextArea {
95
91
  border: 0px;
96
92
  width: 85%;