pushfeedback 0.1.66 → 0.1.68
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/dist/cjs/feedback-button_2.cjs.entry.js +728 -153
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/pushfeedback.cjs.js +1 -1
- package/dist/collection/components/feedback-button/feedback-button.js +80 -0
- package/dist/collection/components/feedback-modal/feedback-modal.css +439 -12
- package/dist/collection/components/feedback-modal/feedback-modal.js +771 -127
- package/dist/components/feedback-button.js +12 -0
- package/dist/components/feedback-modal2.js +745 -154
- package/dist/esm/feedback-button_2.entry.js +728 -153
- package/dist/esm/loader.js +1 -1
- package/dist/esm/pushfeedback.js +1 -1
- package/dist/pushfeedback/p-7406f7be.entry.js +7 -0
- package/dist/pushfeedback/pushfeedback.css +1 -1
- package/dist/pushfeedback/pushfeedback.esm.js +1 -1
- package/dist/types/components/feedback-button/feedback-button.d.ts +4 -0
- package/dist/types/components/feedback-modal/feedback-modal.d.ts +79 -14
- package/dist/types/components.d.ts +16 -0
- package/package.json +1 -1
- package/dist/pushfeedback/p-e6c2f829.entry.js +0 -22
|
@@ -29,6 +29,9 @@ const FeedbackButton$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElem
|
|
|
29
29
|
this.project = '';
|
|
30
30
|
this.rating = undefined;
|
|
31
31
|
this.ratingMode = 'thumbs';
|
|
32
|
+
this.canvasEditorTitle = 'Edit screenshot';
|
|
33
|
+
this.canvasEditorCancelText = 'Cancel';
|
|
34
|
+
this.canvasEditorSaveText = 'Save';
|
|
32
35
|
this.emailPlaceholder = 'Email address (optional)';
|
|
33
36
|
this.errorMessage = 'Please try again later.';
|
|
34
37
|
this.errorMessage403 = 'The request URL does not match the one defined in PushFeedback for this project.';
|
|
@@ -43,6 +46,7 @@ const FeedbackButton$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElem
|
|
|
43
46
|
this.ratingStarsPlaceholder = 'How would you rate this page?';
|
|
44
47
|
this.screenshotAttachedText = 'Screenshot attached';
|
|
45
48
|
this.screenshotButtonText = 'Add a screenshot';
|
|
49
|
+
this.screenshotTakingText = 'Taking screenshot...';
|
|
46
50
|
this.screenshotTopbarText = 'Select an element on this page';
|
|
47
51
|
this.sendButtonText = 'Send';
|
|
48
52
|
this.successMessage = '';
|
|
@@ -88,6 +92,9 @@ const FeedbackButton$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElem
|
|
|
88
92
|
'project',
|
|
89
93
|
'rating',
|
|
90
94
|
'ratingMode',
|
|
95
|
+
'canvasEditorTitle',
|
|
96
|
+
'canvasEditorCancelText',
|
|
97
|
+
'canvasEditorSaveText',
|
|
91
98
|
'emailPlaceholder',
|
|
92
99
|
'errorMessage',
|
|
93
100
|
'errorMessage403',
|
|
@@ -103,6 +110,7 @@ const FeedbackButton$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElem
|
|
|
103
110
|
'ratingStarsPlaceholder',
|
|
104
111
|
'screenshotAttachedText',
|
|
105
112
|
'screenshotButtonText',
|
|
113
|
+
'screenshotTakingText',
|
|
106
114
|
'screenshotTopbarText',
|
|
107
115
|
'sendButtonText',
|
|
108
116
|
'successMessage',
|
|
@@ -200,6 +208,9 @@ const FeedbackButton$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElem
|
|
|
200
208
|
"project": [1],
|
|
201
209
|
"rating": [2],
|
|
202
210
|
"ratingMode": [1, "rating-mode"],
|
|
211
|
+
"canvasEditorTitle": [1, "canvas-editor-title"],
|
|
212
|
+
"canvasEditorCancelText": [1, "canvas-editor-cancel-text"],
|
|
213
|
+
"canvasEditorSaveText": [1, "canvas-editor-save-text"],
|
|
203
214
|
"emailPlaceholder": [1, "email-placeholder"],
|
|
204
215
|
"errorMessage": [1, "error-message"],
|
|
205
216
|
"errorMessage403": [1, "error-message-4-0-3"],
|
|
@@ -214,6 +225,7 @@ const FeedbackButton$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElem
|
|
|
214
225
|
"ratingStarsPlaceholder": [1, "rating-stars-placeholder"],
|
|
215
226
|
"screenshotAttachedText": [1, "screenshot-attached-text"],
|
|
216
227
|
"screenshotButtonText": [1, "screenshot-button-text"],
|
|
228
|
+
"screenshotTakingText": [1, "screenshot-taking-text"],
|
|
217
229
|
"screenshotTopbarText": [1, "screenshot-topbar-text"],
|
|
218
230
|
"sendButtonText": [1, "send-button-text"],
|
|
219
231
|
"successMessage": [1, "success-message"]
|