pushfeedback 0.1.56 → 0.1.57

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 (39) hide show
  1. package/dist/pushfeedback/app-globals-0f993ce5.js +3 -0
  2. package/dist/pushfeedback/css-shim-b7d3d95f.js +4 -0
  3. package/dist/pushfeedback/dom-64053c71.js +73 -0
  4. package/dist/{components/feedback-button.js → pushfeedback/feedback-button.entry.js} +8 -65
  5. package/dist/{components/feedback-modal2.js → pushfeedback/feedback-modal.entry.js} +45 -73
  6. package/dist/pushfeedback/index-36434da0.js +3371 -0
  7. package/dist/pushfeedback/index.esm.js +1 -0
  8. package/dist/pushfeedback/pushfeedback.css +112 -1
  9. package/dist/pushfeedback/pushfeedback.esm.js +148 -1
  10. package/dist/pushfeedback/shadow-css-98135883.js +387 -0
  11. package/package.json +1 -1
  12. package/dist/cjs/feedback-button_2.cjs.entry.js +0 -9303
  13. package/dist/cjs/index-9a8f4784.js +0 -1584
  14. package/dist/cjs/index.cjs.js +0 -2
  15. package/dist/cjs/loader.cjs.js +0 -22
  16. package/dist/cjs/pushfeedback.cjs.js +0 -23
  17. package/dist/collection/collection-manifest.json +0 -13
  18. package/dist/collection/components/feedback-button/feedback-button.css +0 -75
  19. package/dist/collection/components/feedback-button/feedback-button.js +0 -786
  20. package/dist/collection/components/feedback-modal/feedback-modal.css +0 -436
  21. package/dist/collection/components/feedback-modal/feedback-modal.js +0 -975
  22. package/dist/collection/index.js +0 -1
  23. package/dist/components/feedback-modal.js +0 -6
  24. package/dist/components/index.js +0 -3
  25. package/dist/esm/feedback-button_2.entry.js +0 -9298
  26. package/dist/esm/index-f65e9124.js +0 -1555
  27. package/dist/esm/index.js +0 -1
  28. package/dist/esm/loader.js +0 -18
  29. package/dist/esm/polyfills/core-js.js +0 -11
  30. package/dist/esm/polyfills/css-shim.js +0 -1
  31. package/dist/esm/polyfills/dom.js +0 -79
  32. package/dist/esm/polyfills/es5-html-element.js +0 -1
  33. package/dist/esm/polyfills/index.js +0 -34
  34. package/dist/esm/polyfills/system.js +0 -6
  35. package/dist/esm/pushfeedback.js +0 -18
  36. package/dist/index.cjs.js +0 -1
  37. package/dist/index.js +0 -1
  38. package/dist/pushfeedback/p-6f061be2.entry.js +0 -22
  39. package/dist/pushfeedback/p-af2a1f7f.js +0 -2
@@ -1,436 +0,0 @@
1
- .text-center {
2
- flex-grow: 1;
3
- text-align: center;
4
- }
5
-
6
- .feedback-modal-wrapper * {
7
- font-family: var(--feedback-font-family);
8
- }
9
-
10
- .feedback-modal-wrapper--custom-font * {
11
- font-family: inherit;
12
-
13
- }
14
-
15
- .feedback-modal-wrapper {
16
- position: absolute;
17
- z-index: var(--feedback-modal-modal-wrapper-z-index);
18
- }
19
-
20
- .feedback-overlay {
21
- background-color: var(--feedback-modal-screenshot-bg-color);
22
- height: 100%;
23
- left: 0;
24
- opacity: 0;
25
- position: fixed;
26
- top: 0;
27
- width: 100%;
28
- z-index: var(--feedback-modal-screnshot-z-index);
29
- transition: opacity 0.2s ease-out;
30
- }
31
-
32
- .feedback-overlay--visible {
33
- opacity: 1;
34
- }
35
-
36
- .feedback-modal {
37
- display: inline-block;
38
- position: relative;
39
- }
40
-
41
- .feedback-modal-content {
42
- background-color: var(--feedback-modal-content-bg-color);
43
- border-color: 1px solid var(--feedback-modal-header-text-color);
44
- border-radius: var(--feedback-modal-content-border-radius);
45
- box-shadow: 0px 1px 2px 0px rgba(60, 64, 67, .30), 0px 2px 6px 2px rgba(60, 64, 67, .15);
46
- box-sizing: border-box;
47
- color: var(--feedback-modal-content-text-color);
48
- display: flex;
49
- flex-direction: column;
50
- left: 50%;
51
- max-width: 90%;
52
- padding: 20px;
53
- position: fixed;
54
- top: 50%;
55
- transform: translate(-50%, -50%) scale(0.95);
56
- opacity: 0;
57
- width: 100%;
58
- z-index: var(--feedback-modal-content-z-index);
59
- transition: transform 0.2s ease-out, opacity 0.2s ease-out;
60
- }
61
-
62
- .feedback-modal-content--open {
63
- transform: translate(-50%, -50%) scale(1);
64
- opacity: 1;
65
- }
66
-
67
- .feedback-modal-header {
68
- align-items: center;
69
- color: var(--feedback-modal-header-text-color);
70
- display: flex;
71
- font-size: var(--feedback-header-font-size);
72
- font-weight: var(--feedback-modal-header-font-weight);
73
- justify-content: space-between;
74
- margin-bottom: 20px;
75
- }
76
-
77
- .feedback-modal-rating-buttons {
78
- width: 100%;
79
- margin-bottom: 20px;
80
- }
81
-
82
- .feedback-modal-rating-button {
83
- padding: 0;
84
- background-color: transparent;
85
- border: transparent;
86
- margin-right: 5px;
87
- cursor: pointer;
88
- }
89
-
90
- .feedback-modal-rating-buttons--thumbs .feedback-modal-rating-button {
91
- border: 1px solid var(--feedback-modal-button-border-color);
92
- border-radius: var(--feedback-modal-button-border-radius);
93
- color: var(--feedback-modal-button-text-color);
94
- font-size: var(--feedback-modal-button-font-size);
95
-
96
- font-weight: 500;
97
- margin-right: 10px;
98
- justify-content: center;
99
- padding: 5px 10px;
100
- }
101
-
102
- .feedback-modal-rating-buttons--thumbs .feedback-modal-rating-button:hover,
103
- .feedback-modal-rating-buttons--thumbs .feedback-modal-rating-button--selected {
104
- background-color: var(--feedback-modal-button-bg-color-active);
105
- border: 1px solid var(--feedback-modal-button-border-color-active);
106
- color: var(--feedback-modal-button-text-color-active);
107
- }
108
-
109
- .feedback-modal-rating-buttons--thumbs .feedback-modal-rating-button:hover svg,
110
- .feedback-modal-rating-buttons--thumbs .feedback-modal-rating-button--selected svg {
111
- stroke: var(--feedback-modal-rating-button-selected-color);
112
- }
113
-
114
- .feedback-modal-rating-buttons svg {
115
- stroke: var(--feedback-modal-rating-button-color);
116
- cursor: pointer;
117
- }
118
-
119
- .feedback-modal-rating-buttons--stars .feedback-modal-rating-button--selected svg {
120
- fill: var(--feedback-modal-rating-button-stars-selected-color);
121
- stroke: var(--feedback-modal-rating-button-stars-selected-color);
122
- }
123
-
124
- .feedback-modal-text textarea {
125
- background-color: var(--feedback-modal-input-bg-color);
126
- border: 1px solid var(--feedback-modal-input-border-color);
127
- border-radius: var(--feedback-modal-input-border-radius);
128
- box-sizing: border-box;
129
- color: var(--feedback-modal-input-text-color);
130
- font-size: var(--feedback-modal-input-font-size);
131
- margin-bottom: 20px;
132
- height: 100px;
133
- min-height: 100px;
134
- padding: 10px;
135
- resize: vertical;
136
- width: 100%;
137
- }
138
-
139
-
140
- .feedback-modal-email input {
141
- background-color: var(--feedback-modal-input-bg-color);
142
- border: 1px solid var(--feedback-modal-input-border-color);
143
- border-radius: var(--feedback-modal-input-border-radius);
144
- box-sizing: border-box;
145
- color: var(--feedback-modal-input-text-color);
146
- font-size: var(--feedback-modal-input-font-size);
147
- margin-bottom: 20px;
148
- height: 40px;
149
- padding: 10px;
150
- width: 100%;
151
- margin-bottom: 20px;
152
- }
153
-
154
- .feedback-modal-privacy {
155
- font-size: var(--feedback-modal-input-font-size);
156
- margin-bottom: 20px;
157
- }
158
-
159
-
160
- .feedback-modal-text textarea:focus, .feedback-modal-email input:focus {
161
- border: 1px solid var(--feedback-modal-input-border-color-focused);
162
- outline: none;
163
- }
164
-
165
- .feedback-modal-buttons {
166
- display: flex;
167
- flex-direction: column;
168
- }
169
-
170
- .feedback-modal-buttons .feedback-modal-button {
171
- margin-bottom: 20px;
172
- }
173
-
174
- .feedback-modal-button {
175
- align-items: center;
176
- background-color: transparent;
177
- border: 1px solid var(--feedback-modal-button-border-color);
178
- border-radius: var(--feedback-modal-button-border-radius);
179
- color: var(--feedback-modal-button-text-color);
180
- cursor: pointer;
181
- display: flex;
182
- font-size: var(--feedback-modal-button-font-size);
183
- font-weight: 500;
184
- justify-content: center;
185
- min-height: 40px;
186
- padding: 5px 10px;
187
- }
188
-
189
- .feedback-modal-button svg {
190
- margin-right: 6px;
191
- }
192
-
193
- .feedback-modal-button path {
194
- fill: var(--feedback-modal-button-icon-color);
195
- }
196
-
197
- .feedback-modal-button:hover path,
198
- .feedback-modal-button--active path {
199
- fill: var(--feedback-modal-button-icon-color-active);
200
- }
201
-
202
- .feedback-modal-button--submit {
203
- background-color: var(--feedback-modal-button-submit-bg-color);
204
- border: 1px solid var(--feedback-modal-button-border-color-active);
205
- color: var(--feedback-modal-button-submit-text-color);
206
- }
207
-
208
- .feedback-modal-button:hover,
209
- .feedback-modal-button--active {
210
- background-color: var(--feedback-modal-button-bg-color-active);
211
- border: 1px solid var(--feedback-modal-button-border-color-active);
212
- color: var(--feedback-modal-button-text-color-active);
213
- }
214
-
215
- .feedback-modal-button--submit:hover{
216
- background-color: var(--feedback-modal-button-submit-bg-color-hover);
217
- border: 1px solid var(--feedback-modal-button-submit-border-color-hover);
218
- color: var(--feedback-modal-button-submit-text-color-hover);
219
- }
220
-
221
-
222
- .feedback-modal-input-heading{
223
- display: block;
224
- font-size: 14px;
225
- font-weight: 300;
226
- padding-bottom: 10px;
227
- }
228
-
229
- .feedback-modal-footer {
230
- font-size: 12px;
231
- text-align: center;
232
- }
233
-
234
- .feedback-modal-footer a {
235
- color: var(--feedback-modal-footer-link);
236
- font-weight: 500;
237
- text-decoration: none;
238
- }
239
-
240
- .feedback-logo,
241
- .feedback-footer-text {
242
- align-items: center;
243
- display: flex;
244
- justify-content: center;
245
- margin-top: 5px;
246
- }
247
-
248
- .feedback-logo a {
249
- margin-left: 3px;
250
- }
251
-
252
- .feedback-modal-close {
253
- background-color: var(--feedback-modal-close-bg-color);
254
- border: 0;
255
- border-radius: 50%;
256
- cursor: pointer;
257
- height: 22px;
258
- margin-left: auto;
259
- padding: 0;
260
- width: 22px;
261
- }
262
-
263
- .feedback-modal-close svg {
264
- stroke: var(--feedback-modal-close-color);
265
- }
266
-
267
-
268
- .feedback-modal-screenshot {
269
- background-color: var(--feedback-modal-screenshot-bg-color);
270
- height: 100%;
271
- left: 0;
272
- position: fixed;
273
- top: 0;
274
- width: 100%;
275
- z-index: var(--feedback-modal-screnshot-z-index);
276
- }
277
-
278
- .feedback-modal-screenshot-header {
279
- align-items: center;
280
- background-color: var(--feedback-modal-screenshot-header-bg-color);
281
- border-radius: var(--feedback-modal-content-border-radius);
282
- box-shadow: 0px 1px 2px 0px rgba(60, 64, 67, .30), 0px 2px 6px 2px rgba(60, 64, 67, .15);
283
- box-sizing: border-box;
284
- color: var(--feedback-modal-screenshot-header-text-color);
285
- cursor: pointer;
286
- display: flex;
287
- left: 50%;
288
- top: 20px;
289
- transform: translateX(-50%);
290
- padding: 10px;
291
- position: fixed;
292
- width: max-content;
293
- z-index: var(--feedback-modal-screenshot-header-z-index);
294
- }
295
-
296
- .feedback-modal-screenshot-close {
297
- height: 24px;
298
- padding-left: 10px;
299
- width: 24px;
300
- }
301
-
302
- .feedback-modal-screenshot-close svg {
303
- stroke: var(--feedback-modal-close-color);
304
- }
305
-
306
- .feedback-modal-message {
307
- font-size: var(--feedback-modal-message-font-size);
308
- margin-top: 0;
309
- }
310
-
311
-
312
- .feedback-modal-element-hover {
313
- background-color: transparent;
314
- cursor: pointer;
315
- border: 1px solid var(--feedback-modal-element-hover-border-color);
316
- }
317
-
318
-
319
- .feedback-modal-element-selected {
320
- background-color: transparent;
321
- border: 1px solid var(--feedback-modal-element-selected-border-color);
322
- }
323
-
324
- @media screen and (min-width: 768px) {
325
-
326
- .feedback-modal-content {
327
- max-width: var(--feedback-modal-content-max-width);
328
- }
329
-
330
- .feedback-modal-content.feedback-modal-content--bottom-right {
331
- bottom: var(--feedback-modal-content-position-bottom);
332
- left: initial;
333
- right: var(--feedback-modal-content-position-right);
334
- top: initial;
335
- transform: initial;
336
- }
337
-
338
- .feedback-modal-content.feedback-modal-content--bottom-left {
339
- bottom: var(--feedback-modal-content-position-bottom);
340
- left: var(--feedback-modal-content-position-left);
341
- top: initial;
342
- transform: initial;
343
- }
344
-
345
- .feedback-modal-content.feedback-modal-content--top-right {
346
- right: var(--feedback-modal-content-position-right);
347
- top: var(--feedback-modal-content-position-top);
348
- transform: initial;
349
- }
350
-
351
- .feedback-modal-content.feedback-modal-content--top-left {
352
- left: var(--feedback-modal-content-position-left);
353
- top: var(--feedback-modal-content-position-top);
354
- transform: initial;
355
- }
356
-
357
- .feedback-modal-content.feedback-modal-content--center-left {
358
- left: 5px;
359
- right: auto;
360
- top: 50%;
361
- transform: translateY(-50%);
362
- }
363
-
364
- .feedback-modal-content.feedback-modal-content--center-right {
365
- left: auto;
366
- right: 5px;
367
- top: 50%;
368
- transform: translateY(-50%);
369
- }
370
-
371
-
372
- .feedback-modal-content.feedback-modal-content--sidebar-left.feedback-modal-content--open,
373
- .feedback-modal-content.feedback-modal-content--sidebar-right.feedback-modal-content--open{
374
- transform: translateX(0);
375
- }
376
-
377
- .feedback-modal-content.feedback-modal-content--sidebar-left {
378
- max-width: var(--feedback-modal-content-sidebar-max-width);
379
- left: 0;
380
- right: auto;
381
- height: 100vh;
382
- top: 0;
383
- transform: translateX(-100%);
384
- transition: transform 0.5s ease-in-out;
385
- border-radius: 0;
386
- }
387
-
388
- .feedback-modal-content.feedback-modal-content--sidebar-right {
389
- max-width: var(--feedback-modal-content-sidebar-max-width);
390
- left: auto;
391
- right: 0;
392
- height: 100vh;
393
- top: 0;
394
- transform: translateX(100%);
395
- transition: transform 0.5s ease-in-out;
396
- border-radius: 0;
397
- }
398
-
399
- .feedback-modal-text textarea {
400
- height: 150px;
401
- min-height: 150px;
402
- }
403
-
404
- /* Animations */
405
- .feedback-modal-content.feedback-modal-content--bottom-right {
406
- transform: translateY(20px);
407
- }
408
-
409
- .feedback-modal-content.feedback-modal-content--bottom-right.feedback-modal-content--open {
410
- transform: translateY(0);
411
- }
412
-
413
- .feedback-modal-content.feedback-modal-content--bottom-left {
414
- transform: translateY(20px);
415
- }
416
-
417
- .feedback-modal-content.feedback-modal-content--bottom-left.feedback-modal-content--open {
418
- transform: translateY(0);
419
- }
420
-
421
- .feedback-modal-content.feedback-modal-content--top-right {
422
- transform: translateY(-20px);
423
- }
424
-
425
- .feedback-modal-content.feedback-modal-content--top-right.feedback-modal-content--open {
426
- transform: translateY(0);
427
- }
428
-
429
- .feedback-modal-content.feedback-modal-content--top-left {
430
- transform: translateY(-20px);
431
- }
432
-
433
- .feedback-modal-content.feedback-modal-content--top-left.feedback-modal-content--open {
434
- transform: translateY(0);
435
- }
436
- }