@fullsession.io/fs-feedback-widget 1.5.10 → 1.6.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/README.md +109 -109
- package/dist/bundle.css +329 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/publicextra.css +298 -0
- package/package.json +32 -32
- package/src/App.svelte +233 -233
- package/src/Icons/mainIcon.svelte +25 -25
- package/src/Icons/reactionIcons.svelte +134 -134
- package/src/main.js +56 -56
- package/src/widgetPages/App.css +111 -111
- package/src/widgetPages/reactionPage.svelte +305 -305
- package/src/widgetPages/reactionpage.css +236 -236
|
@@ -0,0 +1,298 @@
|
|
|
1
|
+
fsContainer{
|
|
2
|
+
width: 100%;
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: var(--wgPositionVertical);
|
|
5
|
+
position: fixed;
|
|
6
|
+
top: 0; right: 0; bottom: 0; left: 0;
|
|
7
|
+
height: 100%;
|
|
8
|
+
pointer-events: none;
|
|
9
|
+
align-items: var(--wgPositionHorizintal);
|
|
10
|
+
padding: 0;
|
|
11
|
+
z-index: 100000;
|
|
12
|
+
}
|
|
13
|
+
.fsWidget {
|
|
14
|
+
pointer-events: auto;
|
|
15
|
+
background-color: var(--widgetColor);
|
|
16
|
+
width: 34px;
|
|
17
|
+
height: 112px;
|
|
18
|
+
border-top-left-radius:var(--widgetLeftSideBorder) ;
|
|
19
|
+
border-bottom-left-radius: var(--widgetLeftSideBorder);
|
|
20
|
+
border-top-right-radius: var(--widgetRightSideBorder) ;
|
|
21
|
+
border-bottom-right-radius: var(--widgetRightSideBorder);
|
|
22
|
+
box-shadow: 0.2px 0.2px 0.2px rgb(133, 130, 130);
|
|
23
|
+
display: flex;
|
|
24
|
+
flex-direction: column;
|
|
25
|
+
align-items: center;
|
|
26
|
+
justify-content: space-evenly;
|
|
27
|
+
cursor: pointer;
|
|
28
|
+
margin-top: 5px;
|
|
29
|
+
}
|
|
30
|
+
#fsMainIcon {
|
|
31
|
+
width: 60%;
|
|
32
|
+
margin-left: 4%;
|
|
33
|
+
cursor: pointer;
|
|
34
|
+
}
|
|
35
|
+
#fsFeedbackTxt {
|
|
36
|
+
color: var(--widgetTextColor);
|
|
37
|
+
font-size: 15px;
|
|
38
|
+
writing-mode: vertical-lr;
|
|
39
|
+
transform: rotate(180deg);
|
|
40
|
+
cursor: pointer;
|
|
41
|
+
font-size-adjust: 0.40;
|
|
42
|
+
}
|
|
43
|
+
.fsWidget:hover {
|
|
44
|
+
width: 35px;
|
|
45
|
+
-webkit-box-shadow: 0px 0px 35px 2px rgba(0, 0, 0, 0.24);
|
|
46
|
+
box-shadow: 0px 0px 35px 2px rgba(0, 0, 0, 0.24);
|
|
47
|
+
}
|
|
48
|
+
.fsCont {
|
|
49
|
+
pointer-events: auto;
|
|
50
|
+
width: 320px;
|
|
51
|
+
height: fit-content;
|
|
52
|
+
background-color: rgb(255, 255, 255);
|
|
53
|
+
margin-right: var(--widgetMarginRight);
|
|
54
|
+
margin-left: var(--widgetMarginLeft);
|
|
55
|
+
-webkit-box-shadow: rgba(0, 0, 0, 0.35) 0px 6px 100px 0px;
|
|
56
|
+
box-shadow: rgba(0, 0, 0, 0.35) 0px 6px 100px 0px;
|
|
57
|
+
}
|
|
58
|
+
.fsThanksMessageCont{
|
|
59
|
+
pointer-events: auto;
|
|
60
|
+
width: 320px;
|
|
61
|
+
height: 104px;
|
|
62
|
+
background-color: rgb(255, 255, 255);
|
|
63
|
+
margin-right: var(--widgetMarginRight);
|
|
64
|
+
margin-left: var(--widgetMarginLeft);
|
|
65
|
+
-webkit-box-shadow: rgba(0, 0, 0, 0.35) 0px 6px 100px 0px;
|
|
66
|
+
box-shadow: rgba(0, 0, 0, 0.35) 0px 6px 100px 0px;
|
|
67
|
+
}
|
|
68
|
+
#fsCloseIcon{
|
|
69
|
+
font-size: 15px;
|
|
70
|
+
color: #ffff;
|
|
71
|
+
font-weight: 600;
|
|
72
|
+
font-family: system-ui;
|
|
73
|
+
cursor: pointer;
|
|
74
|
+
|
|
75
|
+
}
|
|
76
|
+
.fsCloseCont{
|
|
77
|
+
pointer-events: auto;
|
|
78
|
+
background-color: #4d5167;
|
|
79
|
+
width: 27px;
|
|
80
|
+
height: 27px;
|
|
81
|
+
border-radius: 50%;
|
|
82
|
+
display: flex;
|
|
83
|
+
justify-content: center;
|
|
84
|
+
align-items: center;
|
|
85
|
+
margin-top: -15px;
|
|
86
|
+
margin-left: 85%;
|
|
87
|
+
cursor: pointer;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
/* @media (min-width: 640px) {
|
|
95
|
+
body {
|
|
96
|
+
max-width: none;
|
|
97
|
+
}
|
|
98
|
+
} */.fsReactionsContainer {
|
|
99
|
+
pointer-events: auto;
|
|
100
|
+
display: flex;
|
|
101
|
+
flex-direction: column;
|
|
102
|
+
height: 190px;
|
|
103
|
+
}
|
|
104
|
+
.fsIcons {
|
|
105
|
+
display: flex;
|
|
106
|
+
flex-direction: row;
|
|
107
|
+
justify-content: space-evenly;
|
|
108
|
+
margin-top: 11%;
|
|
109
|
+
}
|
|
110
|
+
#fsTxt {
|
|
111
|
+
font-size: 17px;
|
|
112
|
+
display: flex;
|
|
113
|
+
text-align: center;
|
|
114
|
+
margin-top: 5%;
|
|
115
|
+
width: 61%;
|
|
116
|
+
margin-left: 19%;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.fsIconTextCont {
|
|
120
|
+
pointer-events: auto;
|
|
121
|
+
display: flex;
|
|
122
|
+
flex-direction: column;
|
|
123
|
+
align-items: center;
|
|
124
|
+
height: 22px;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.fsReactionText {
|
|
128
|
+
font-size: 12px;
|
|
129
|
+
display: none;
|
|
130
|
+
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
131
|
+
margin-top: 0px;
|
|
132
|
+
|
|
133
|
+
}
|
|
134
|
+
.fsIconTextCont:hover{
|
|
135
|
+
pointer-events: auto;
|
|
136
|
+
cursor: pointer;
|
|
137
|
+
}
|
|
138
|
+
.fsReactionIcon:hover + .fsReactionText {
|
|
139
|
+
display: block;
|
|
140
|
+
opacity: 0.8;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.fsCommentContainer{
|
|
144
|
+
pointer-events: auto;
|
|
145
|
+
display: flex;
|
|
146
|
+
flex-direction: column;
|
|
147
|
+
height: 291px;
|
|
148
|
+
pointer-events: auto;
|
|
149
|
+
}
|
|
150
|
+
.fsTextAreaCont{
|
|
151
|
+
pointer-events: auto;
|
|
152
|
+
width: 100%;
|
|
153
|
+
height: 140px;
|
|
154
|
+
background-color: #eaeaeb;
|
|
155
|
+
margin-top: 17%;
|
|
156
|
+
}
|
|
157
|
+
.fsTextArea{
|
|
158
|
+
border: 0px;
|
|
159
|
+
width: 85%;
|
|
160
|
+
height: 120px;
|
|
161
|
+
background-color: #eaeaeb;
|
|
162
|
+
margin-left: 6%;
|
|
163
|
+
outline: none;
|
|
164
|
+
margin-top: 4%;
|
|
165
|
+
resize: none;
|
|
166
|
+
|
|
167
|
+
}
|
|
168
|
+
.fsSendButtonCommentComponent{
|
|
169
|
+
pointer-events: auto;
|
|
170
|
+
color: #ffff;
|
|
171
|
+
font-size: 12px;
|
|
172
|
+
text-align: center;
|
|
173
|
+
margin-top: 7px;
|
|
174
|
+
|
|
175
|
+
}
|
|
176
|
+
.fsSendButtonContCommentComp{
|
|
177
|
+
pointer-events: auto;
|
|
178
|
+
background-color: var(--buttonColor);
|
|
179
|
+
width: 50px;
|
|
180
|
+
height: 29px;
|
|
181
|
+
box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 3px 0px;
|
|
182
|
+
border-radius: 3px;
|
|
183
|
+
margin-top: 13px;
|
|
184
|
+
margin-right: 11px;
|
|
185
|
+
cursor: pointer;
|
|
186
|
+
border: 0px;
|
|
187
|
+
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.fsCommentButtonContDisable{
|
|
191
|
+
pointer-events: auto;
|
|
192
|
+
background-color: #cccccc;
|
|
193
|
+
width: 50px;
|
|
194
|
+
height: 29px;
|
|
195
|
+
box-shadow: rgba(0, 0, 0, 0.15) 0px 2px 3px 0px;
|
|
196
|
+
border-radius: 3px;
|
|
197
|
+
margin-top: 13px;
|
|
198
|
+
margin-right: 11px;
|
|
199
|
+
cursor:not-allowed;
|
|
200
|
+
border: 0px;
|
|
201
|
+
}
|
|
202
|
+
.fsCommentButtonTxtDisable{
|
|
203
|
+
pointer-events: auto;
|
|
204
|
+
color: black;
|
|
205
|
+
font-size: 12px;
|
|
206
|
+
text-align: center;
|
|
207
|
+
margin-top: 7px;
|
|
208
|
+
}
|
|
209
|
+
.fsFooter{
|
|
210
|
+
pointer-events: auto;
|
|
211
|
+
display: flex;
|
|
212
|
+
justify-content: flex-end;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.fsIcons-second{
|
|
216
|
+
|
|
217
|
+
display: flex;
|
|
218
|
+
flex-direction: row;
|
|
219
|
+
justify-content: space-evenly;
|
|
220
|
+
margin-top: 6%;
|
|
221
|
+
}
|
|
222
|
+
.fsPointerDiv{
|
|
223
|
+
width: 0;
|
|
224
|
+
height: 0;
|
|
225
|
+
border-left: 3px solid transparent;
|
|
226
|
+
margin-top: -8px;
|
|
227
|
+
border-right: 5px solid transparent;
|
|
228
|
+
border-bottom: 8px solid #eaeaeb;
|
|
229
|
+
margin-left: var(--pointerMargin);
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
}
|
|
233
|
+
#fsHateDiv{
|
|
234
|
+
display: var(--hateDisplay);
|
|
235
|
+
}
|
|
236
|
+
#fsDislikeDiv{
|
|
237
|
+
display: var(--dislikeDisplay);
|
|
238
|
+
}
|
|
239
|
+
#fsNeutralDiv{
|
|
240
|
+
display: var(--neutralDisplay);
|
|
241
|
+
}
|
|
242
|
+
#fsLikeDiv{
|
|
243
|
+
display: var(--likeDisplay);
|
|
244
|
+
}
|
|
245
|
+
#fsLoveDiv{
|
|
246
|
+
display: var(--loveDisplay);
|
|
247
|
+
}
|
|
248
|
+
.fsEmailContainer{
|
|
249
|
+
pointer-events: auto;
|
|
250
|
+
display: flex;
|
|
251
|
+
flex-direction: column;
|
|
252
|
+
height: 220px;
|
|
253
|
+
}
|
|
254
|
+
#fsEmailInputCont{
|
|
255
|
+
pointer-events: auto;
|
|
256
|
+
pointer-events: auto;
|
|
257
|
+
width: 100%;
|
|
258
|
+
height: 46px;
|
|
259
|
+
background-color: #eaeaeb;
|
|
260
|
+
display: flex;
|
|
261
|
+
/* align-items: center; */
|
|
262
|
+
justify-content: center;
|
|
263
|
+
margin-top: 10%;
|
|
264
|
+
|
|
265
|
+
}
|
|
266
|
+
#fsEmailTextArea{
|
|
267
|
+
pointer-events: auto;
|
|
268
|
+
text-align: center;
|
|
269
|
+
border: 0px;
|
|
270
|
+
background-color: #eaeaeb;
|
|
271
|
+
outline: none;
|
|
272
|
+
}
|
|
273
|
+
#fsEmailText{
|
|
274
|
+
width: 80%;
|
|
275
|
+
text-align: center;
|
|
276
|
+
margin-left: 11%;
|
|
277
|
+
margin-top: 8%;
|
|
278
|
+
line-height: 1.29;
|
|
279
|
+
font-size: 17px;
|
|
280
|
+
}
|
|
281
|
+
.fsEmailFooter{
|
|
282
|
+
pointer-events: auto;
|
|
283
|
+
display: flex;
|
|
284
|
+
justify-content: flex-end;
|
|
285
|
+
flex-direction: row;
|
|
286
|
+
}
|
|
287
|
+
#fsSkipText{
|
|
288
|
+
color: #908f8f;
|
|
289
|
+
cursor: pointer;
|
|
290
|
+
font-size: 13px;
|
|
291
|
+
margin-top: 6%;
|
|
292
|
+
margin-right: 4%;
|
|
293
|
+
letter-spacing: normal;
|
|
294
|
+
|
|
295
|
+
}
|
|
296
|
+
#fsSkipText:hover{
|
|
297
|
+
color: #666666;
|
|
298
|
+
}
|
package/package.json
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@fullsession.io/fs-feedback-widget",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"scripts": {
|
|
5
|
-
"build": "rollup -c",
|
|
6
|
-
"dev": "rollup -c -w",
|
|
7
|
-
"start": "sirv public --no-clear",
|
|
8
|
-
"prepublish": "npm run build",
|
|
9
|
-
"prepublishOnly": "npm run build"
|
|
10
|
-
},
|
|
11
|
-
"devDependencies": {
|
|
12
|
-
"@rollup/plugin-commonjs": "^17.0.0",
|
|
13
|
-
"@rollup/plugin-node-resolve": "^11.0.0",
|
|
14
|
-
"rollup": "^2.3.4",
|
|
15
|
-
"rollup-plugin-css-only": "^3.1.0",
|
|
16
|
-
"rollup-plugin-livereload": "^2.0.0",
|
|
17
|
-
"rollup-plugin-svelte": "^7.0.0",
|
|
18
|
-
"rollup-plugin-terser": "^7.0.0",
|
|
19
|
-
"svelte": "^3.0.0"
|
|
20
|
-
},
|
|
21
|
-
"dependencies": {
|
|
22
|
-
"rollup-plugin-postcss": "^4.0.2",
|
|
23
|
-
"sirv-cli": "^2.0.2"
|
|
24
|
-
},
|
|
25
|
-
"files": [
|
|
26
|
-
"src",
|
|
27
|
-
"dist"
|
|
28
|
-
],
|
|
29
|
-
"main": "dist/index.js",
|
|
30
|
-
"module": "dist/index.mjs",
|
|
31
|
-
"unpkg": "dist/index.js"
|
|
32
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@fullsession.io/fs-feedback-widget",
|
|
3
|
+
"version": "1.6.0",
|
|
4
|
+
"scripts": {
|
|
5
|
+
"build": "rollup -c",
|
|
6
|
+
"dev": "rollup -c -w",
|
|
7
|
+
"start": "sirv public --no-clear",
|
|
8
|
+
"prepublish": "npm run build",
|
|
9
|
+
"prepublishOnly": "npm run build"
|
|
10
|
+
},
|
|
11
|
+
"devDependencies": {
|
|
12
|
+
"@rollup/plugin-commonjs": "^17.0.0",
|
|
13
|
+
"@rollup/plugin-node-resolve": "^11.0.0",
|
|
14
|
+
"rollup": "^2.3.4",
|
|
15
|
+
"rollup-plugin-css-only": "^3.1.0",
|
|
16
|
+
"rollup-plugin-livereload": "^2.0.0",
|
|
17
|
+
"rollup-plugin-svelte": "^7.0.0",
|
|
18
|
+
"rollup-plugin-terser": "^7.0.0",
|
|
19
|
+
"svelte": "^3.0.0"
|
|
20
|
+
},
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
23
|
+
"sirv-cli": "^2.0.2"
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"src",
|
|
27
|
+
"dist"
|
|
28
|
+
],
|
|
29
|
+
"main": "dist/index.js",
|
|
30
|
+
"module": "dist/index.mjs",
|
|
31
|
+
"unpkg": "dist/index.js"
|
|
32
|
+
}
|