pushfeedback 0.1.33 → 0.1.37
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 +8238 -1
- package/dist/cjs/index-d64bfb06.js +1547 -1
- package/dist/cjs/index.cjs.js +2 -1
- package/dist/cjs/loader.cjs.js +22 -1
- package/dist/cjs/pushfeedback.cjs.js +23 -1
- package/dist/collection/components/feedback-button/feedback-button.js +620 -1
- package/dist/collection/components/feedback-modal/feedback-modal.css +29 -4
- package/dist/collection/components/feedback-modal/feedback-modal.js +814 -1
- package/dist/collection/index.js +1 -1
- package/dist/components/feedback-button.js +160 -1
- package/dist/components/feedback-modal.js +6 -1
- package/dist/components/feedback-modal2.js +8183 -1
- package/dist/components/index.js +3 -1
- package/dist/esm/feedback-button_2.entry.js +8233 -1
- package/dist/esm/index-b07fba3a.js +1519 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/loader.js +18 -1
- package/dist/esm/polyfills/core-js.js +11 -1
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/polyfills/dom.js +79 -1
- package/dist/esm/polyfills/es5-html-element.js +1 -1
- package/dist/esm/polyfills/index.js +34 -1
- package/dist/esm/polyfills/system.js +6 -1
- package/dist/esm/pushfeedback.js +18 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.js +1 -1
- package/dist/pushfeedback/p-a0681be3.js +2 -1
- package/dist/pushfeedback/p-ea59cbec.entry.js +22 -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 +2 -0
- package/dist/types/components/feedback-modal/feedback-modal.d.ts +2 -0
- package/dist/types/components.d.ts +8 -0
- package/package.json +5 -4
- package/dist/pushfeedback/p-8cae1eb0.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--feedback-primary-color:#0070F4;--feedback-secondary-color:#f1f3f4;--feedback-light-color:#ccc;--feedback-dark-color:#191919;--feedback-text-color:#5f6368;--feedback-white-color:#fff;--feedback-highlight-color:#ffb422;--feedback-font-family:"Inter", "Tahoma", "sans-serif";--feedback-heading-font-size:16px;--feedback-text-font-size:14px;--feedback-button-border-radius:20px;--feedback-button-dark-bg-color:var(--feedback-primary-color);--feedback-button-dark-text-color:var(--feedback-white-color);--feedback-button-light-bg-color:var(--feedback-white-color);--feedback-button-light-text-color:var(--feedback-primary-color);--feedback-button-text-font-size:var(--feedback-text-font-size);--feedback-button-text-font-weight:600;--feedback-button-z-index:300;--feedback-modal-button-bg-color:var(--feedback-white-color);--feedback-modal-button-bg-color-active:var(--feedback-white-color);--feedback-modal-button-border-color:var(--feedback-light-color);--feedback-modal-button-border-color-active:var(--feedback-primary-color);--feedback-modal-button-border-radius:4px;--feedback-modal-button-font-size:var(--feedback-text-font-size);--feedback-modal-button-icon-color:var(--feedback-dark-color);--feedback-modal-button-icon-color-active:var(--feedback-primary-color);--feedback-modal-button-submit-bg-color:var(--feedback-primary-color);--feedback-modal-button-submit-bg-color-hover:var(--feedback-primary-color);--feedback-modal-button-submit-border-color-hover:var(--feedback-primary-color);--feedback-modal-button-submit-text-color:var(--feedback-white-color);--feedback-modal-button-submit-text-color-hover:var(--feedback-white-color);--feedback-modal-button-text-color:var(--feedback-dark-color);--feedback-modal-button-text-color-active:var(--feedback-primary-color);--feedback-modal-close-bg-color:var(--feedback-white-color);--feedback-modal-close-color:var(--feedback-dark-color);--feedback-modal-content-bg-color:var(--feedback-white-color);--feedback-modal-content-border-color:var(--feedback-light-color);--feedback-modal-content-border-radius:8px;--feedback-modal-content-font-family:var(--feedback-font-family);--feedback-modal-content-position-bottom:10px;--feedback-modal-content-position-left:10px;--feedback-modal-content-position-right:10px;--feedback-modal-content-position-top:10px;--feedback-modal-content-text-color:var(--feedback-text-color);--feedback-modal-content-z-index:300;--feedback-modal-element-hover-border-color:var(--feedback-primary-color);--feedback-modal-element-selected-border-color:var(--feedback-primary-color);--feedback-modal-footer-link:var(--feedback-dark-color);--feedback-modal-header-font-family:var(--feedback-font-family);--feedback-modal-header-font-size:var(--feedback-heading-font-size);--feedback-modal-header-font-weight:500;--feedback-modal-header-text-color:var(--feedback-dark-color);--feedback-modal-input-bg-color:var(--feedback-secondary-color);--feedback-modal-input-border-color:transparent;--feedback-modal-input-border-color-focused:transparent;--feedback-modal-input-border-radius:4px;--feedback-modal-input-font-size:var(--feedback-text-font-size);--feedback-modal-input-text-color:var(--feedback-text-color);--feedback-modal-message-font-size:var(--feedback-text-font-size);--feedback-modal-modal-wrapper-z-index:300;--feedback-modal-rating-button-color:var(--feedback-text-color);--feedback-modal-rating-button-selected-color:var(--feedback-highlight-color);--feedback-modal-screenshot-bg-color:rgba(0, 0, 0, 0.4);--feedback-modal-screenshot-close-color:var(--feedback-dark-color);--feedback-modal-screenshot-header-bg-color:var(--feedback-white-color);--feedback-modal-screenshot-header-text-color:var(--feedback-dark-color);--feedback-modal-screenshot-header-z-index:250;--feedback-modal-screnshot-z-index:100}[data-theme='dark']{--feedback-text-color:#b0b8c4;--feedback-light-color:#363636;--feedback-modal-button-bg-color-active:transparent;--feedback-modal-button-icon-color:var(--feedback-white-color);--feedback-modal-button-text-color:var(--feedback-white-color);--feedback-modal-close-bg-color:transparent;--feedback-modal-close-color:var(--feedback-white-color);--feedback-modal-content-bg-color:var(--feedback-dark-color);--feedback-modal-content-text-color:var(--feedback-text-color);--feedback-modal-footer-link:var(--feedback-white-color);--feedback-modal-header-text-color:var(--feedback-white-color);--feedback-modal-input-bg-color:var(--feedback-light-color);--feedback-modal-input-text-color:var(--feedback-white-color);--feedback-modal-rating-button-color:var(--feedback-
|
|
1
|
+
:root{--feedback-primary-color:#0070F4;--feedback-secondary-color:#f1f3f4;--feedback-light-color:#ccc;--feedback-dark-color:#191919;--feedback-text-color:#5f6368;--feedback-white-color:#fff;--feedback-highlight-color:#ffb422;--feedback-font-family:"Inter", "Tahoma", "sans-serif";--feedback-heading-font-size:16px;--feedback-text-font-size:14px;--feedback-button-border-radius:20px;--feedback-button-dark-bg-color:var(--feedback-primary-color);--feedback-button-dark-text-color:var(--feedback-white-color);--feedback-button-light-bg-color:var(--feedback-white-color);--feedback-button-light-text-color:var(--feedback-primary-color);--feedback-button-text-font-size:var(--feedback-text-font-size);--feedback-button-text-font-weight:600;--feedback-button-z-index:300;--feedback-modal-button-bg-color:var(--feedback-white-color);--feedback-modal-button-bg-color-active:var(--feedback-white-color);--feedback-modal-button-border-color:var(--feedback-light-color);--feedback-modal-button-border-color-active:var(--feedback-primary-color);--feedback-modal-button-border-radius:4px;--feedback-modal-button-font-size:var(--feedback-text-font-size);--feedback-modal-button-icon-color:var(--feedback-dark-color);--feedback-modal-button-icon-color-active:var(--feedback-primary-color);--feedback-modal-button-submit-bg-color:var(--feedback-primary-color);--feedback-modal-button-submit-bg-color-hover:var(--feedback-primary-color);--feedback-modal-button-submit-border-color-hover:var(--feedback-primary-color);--feedback-modal-button-submit-text-color:var(--feedback-white-color);--feedback-modal-button-submit-text-color-hover:var(--feedback-white-color);--feedback-modal-button-text-color:var(--feedback-dark-color);--feedback-modal-button-text-color-active:var(--feedback-primary-color);--feedback-modal-close-bg-color:var(--feedback-white-color);--feedback-modal-close-color:var(--feedback-dark-color);--feedback-modal-content-bg-color:var(--feedback-white-color);--feedback-modal-content-border-color:var(--feedback-light-color);--feedback-modal-content-border-radius:8px;--feedback-modal-content-font-family:var(--feedback-font-family);--feedback-modal-content-position-bottom:10px;--feedback-modal-content-position-left:10px;--feedback-modal-content-position-right:10px;--feedback-modal-content-position-top:10px;--feedback-modal-content-text-color:var(--feedback-text-color);--feedback-modal-content-z-index:300;--feedback-modal-element-hover-border-color:var(--feedback-primary-color);--feedback-modal-element-selected-border-color:var(--feedback-primary-color);--feedback-modal-footer-link:var(--feedback-dark-color);--feedback-modal-header-font-family:var(--feedback-font-family);--feedback-modal-header-font-size:var(--feedback-heading-font-size);--feedback-modal-header-font-weight:500;--feedback-modal-header-text-color:var(--feedback-dark-color);--feedback-modal-input-bg-color:var(--feedback-secondary-color);--feedback-modal-input-border-color:transparent;--feedback-modal-input-border-color-focused:transparent;--feedback-modal-input-border-radius:4px;--feedback-modal-input-font-size:var(--feedback-text-font-size);--feedback-modal-input-text-color:var(--feedback-text-color);--feedback-modal-message-font-size:var(--feedback-text-font-size);--feedback-modal-modal-wrapper-z-index:300;--feedback-modal-rating-button-color:var(--feedback-text-color);--feedback-modal-rating-button-selected-color:var(--feedback-primary-color);--feedback-modal-rating-button-stars-selected-color:var(--feedback-highlight-color);--feedback-modal-screenshot-bg-color:rgba(0, 0, 0, 0.4);--feedback-modal-screenshot-close-color:var(--feedback-dark-color);--feedback-modal-screenshot-header-bg-color:var(--feedback-white-color);--feedback-modal-screenshot-header-text-color:var(--feedback-dark-color);--feedback-modal-screenshot-header-z-index:250;--feedback-modal-screnshot-z-index:100}[data-theme='dark']{--feedback-text-color:#b0b8c4;--feedback-light-color:#363636;--feedback-modal-button-bg-color-active:transparent;--feedback-modal-button-icon-color:var(--feedback-white-color);--feedback-modal-button-text-color:var(--feedback-white-color);--feedback-modal-close-bg-color:transparent;--feedback-modal-close-color:var(--feedback-white-color);--feedback-modal-content-bg-color:var(--feedback-dark-color);--feedback-modal-content-text-color:var(--feedback-text-color);--feedback-modal-footer-link:var(--feedback-white-color);--feedback-modal-header-text-color:var(--feedback-white-color);--feedback-modal-input-bg-color:var(--feedback-light-color);--feedback-modal-input-text-color:var(--feedback-white-color);--feedback-modal-rating-button-color:var(--feedback-white-color);--feedback-modal-screenshot-close-color:var(--feedback-white-color);--feedback-modal-screenshot-header-bg-color:var(--feedback-dark-color);--feedback-modal-screenshot-header-text-color:var(--feedback-white-color)}.feedback-modal-screenshot-open{position:fixed;width:100%}.feedback-modal-screenshot-open--scroll{overflow-y:scroll}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import{p as e,b as t}from"./p-a0681be3.js";export{s as setNonce}from"./p-a0681be3.js";(()=>{const t=import.meta.url,o={};return""!==t&&(o.resourcesUrl=new URL(".",t).href),e(o)})().then((e=>t([["p-ea59cbec",[[1,"feedback-button",{customFont:[4,"custom-font"],errorMessage:[1,"error-message"],errorMessage403:[1,"error-message-4-0-3"],errorMessage404:[1,"error-message-4-0-4"],modalTitle:[1,"modal-title"],modalTitleSuccess:[1,"modal-title-success"],modalTitleError:[1,"modal-title-error"],modalPosition:[1,"modal-position"],sendButtonText:[1,"send-button-text"],successMessage:[1,"success-message"],project:[1],screenshotButtonText:[1,"screenshot-button-text"],screenshotTopbarText:[1,"screenshot-topbar-text"],hideEmail:[4,"hide-email"],emailAddress:[1,"email-address"],emailPlaceholder:[1,"email-placeholder"],messagePlaceholder:[1,"message-placeholder"],hideRating:[4,"hide-rating"],ratingMode:[1,"rating-mode"],ratingPlaceholder:[1,"rating-placeholder"],ratingStarsPlaceholder:[1,"rating-stars-placeholder"],buttonStyle:[1,"button-style"],buttonPosition:[1,"button-position"],hideIcon:[4,"hide-icon"],hideScreenshotButton:[4,"hide-screenshot-button"],hidePrivacyPolicy:[4,"hide-privacy-policy"],privacyPolicyText:[1,"privacy-policy-text"],fetchData:[4,"fetch-data"]}],[1,"feedback-modal",{errorMessage:[1,"error-message"],errorMessage403:[1,"error-message-4-0-3"],errorMessage404:[1,"error-message-4-0-4"],modalTitle:[1,"modal-title"],modalTitleSuccess:[1,"modal-title-success"],modalTitleError:[1,"modal-title-error"],modalPosition:[1,"modal-position"],sendButtonText:[1,"send-button-text"],successMessage:[1,"success-message"],project:[1],screenshotButtonText:[1,"screenshot-button-text"],screenshotTopbarText:[1,"screenshot-topbar-text"],hideEmail:[4,"hide-email"],emailAddress:[1,"email-address"],emailPlaceholder:[1,"email-placeholder"],messagePlaceholder:[1,"message-placeholder"],hideRating:[4,"hide-rating"],ratingMode:[1,"rating-mode"],ratingPlaceholder:[1,"rating-placeholder"],ratingStarsPlaceholder:[1,"rating-stars-placeholder"],showModal:[1540,"show-modal"],showScreenshotMode:[1540,"show-screenshot-mode"],showScreenshotTopBar:[1540,"show-screenshot-top-bar"],hasSelectedElement:[1540,"has-selected-element"],hideScreenshotButton:[4,"hide-screenshot-button"],hidePrivacyPolicy:[4,"hide-privacy-policy"],privacyPolicyText:[1,"privacy-policy-text"],fetchData:[4,"fetch-data"],sending:[32],formMessage:[32],formEmail:[32],formSuccess:[32],formError:[32],formErrorStatus:[32],encodedScreenshot:[32],isPrivacyChecked:[32],whitelabel:[32],selectedRating:[32]}]]]],e)));
|
|
@@ -19,7 +19,9 @@ export declare class FeedbackButton {
|
|
|
19
19
|
emailPlaceholder: string;
|
|
20
20
|
messagePlaceholder: string;
|
|
21
21
|
hideRating: boolean;
|
|
22
|
+
ratingMode: string;
|
|
22
23
|
ratingPlaceholder: string;
|
|
24
|
+
ratingStarsPlaceholder: string;
|
|
23
25
|
buttonStyle: string;
|
|
24
26
|
buttonPosition: string;
|
|
25
27
|
hideIcon: boolean;
|
|
@@ -27,7 +27,9 @@ export declare class FeedbackModal {
|
|
|
27
27
|
emailPlaceholder: string;
|
|
28
28
|
messagePlaceholder: string;
|
|
29
29
|
hideRating: boolean;
|
|
30
|
+
ratingMode: string;
|
|
30
31
|
ratingPlaceholder: string;
|
|
32
|
+
ratingStarsPlaceholder: string;
|
|
31
33
|
showModal: boolean;
|
|
32
34
|
showScreenshotMode: boolean;
|
|
33
35
|
showScreenshotTopBar: boolean;
|
|
@@ -28,7 +28,9 @@ export namespace Components {
|
|
|
28
28
|
"modalTitleSuccess": string;
|
|
29
29
|
"privacyPolicyText": string;
|
|
30
30
|
"project": string;
|
|
31
|
+
"ratingMode": string;
|
|
31
32
|
"ratingPlaceholder": string;
|
|
33
|
+
"ratingStarsPlaceholder": string;
|
|
32
34
|
"screenshotButtonText": string;
|
|
33
35
|
"screenshotTopbarText": string;
|
|
34
36
|
"sendButtonText": string;
|
|
@@ -53,7 +55,9 @@ export namespace Components {
|
|
|
53
55
|
"modalTitleSuccess": string;
|
|
54
56
|
"privacyPolicyText": string;
|
|
55
57
|
"project": string;
|
|
58
|
+
"ratingMode": string;
|
|
56
59
|
"ratingPlaceholder": string;
|
|
60
|
+
"ratingStarsPlaceholder": string;
|
|
57
61
|
"screenshotButtonText": string;
|
|
58
62
|
"screenshotTopbarText": string;
|
|
59
63
|
"sendButtonText": string;
|
|
@@ -104,7 +108,9 @@ declare namespace LocalJSX {
|
|
|
104
108
|
"modalTitleSuccess"?: string;
|
|
105
109
|
"privacyPolicyText"?: string;
|
|
106
110
|
"project"?: string;
|
|
111
|
+
"ratingMode"?: string;
|
|
107
112
|
"ratingPlaceholder"?: string;
|
|
113
|
+
"ratingStarsPlaceholder"?: string;
|
|
108
114
|
"screenshotButtonText"?: string;
|
|
109
115
|
"screenshotTopbarText"?: string;
|
|
110
116
|
"sendButtonText"?: string;
|
|
@@ -129,7 +135,9 @@ declare namespace LocalJSX {
|
|
|
129
135
|
"modalTitleSuccess"?: string;
|
|
130
136
|
"privacyPolicyText"?: string;
|
|
131
137
|
"project"?: string;
|
|
138
|
+
"ratingMode"?: string;
|
|
132
139
|
"ratingPlaceholder"?: string;
|
|
140
|
+
"ratingStarsPlaceholder"?: string;
|
|
133
141
|
"screenshotButtonText"?: string;
|
|
134
142
|
"screenshotTopbarText"?: string;
|
|
135
143
|
"sendButtonText"?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pushfeedback",
|
|
3
|
-
"
|
|
3
|
+
"author": "David Garcia <hi@davidgarcia.dev>",
|
|
4
|
+
"homepage": "https://pushfeedback.com/",
|
|
5
|
+
"version": "0.1.37",
|
|
4
6
|
"description": "Feedback widget for websites.",
|
|
5
7
|
"main": "dist/index.cjs.js",
|
|
6
8
|
"module": "dist/index.js",
|
|
@@ -12,14 +14,14 @@
|
|
|
12
14
|
"unpkg": "dist/pushfeedback/pushfeedback.esm.js",
|
|
13
15
|
"repository": {
|
|
14
16
|
"type": "git",
|
|
15
|
-
"url": "https://github.com/
|
|
17
|
+
"url": "https://github.com/PushLabsHQ/pushfeedback.git"
|
|
16
18
|
},
|
|
17
19
|
"files": [
|
|
18
20
|
"dist/",
|
|
19
21
|
"loader/"
|
|
20
22
|
],
|
|
21
23
|
"scripts": {
|
|
22
|
-
"build": "stencil build --docs
|
|
24
|
+
"build": "stencil build --docs",
|
|
23
25
|
"start": "stencil build --dev --watch --serve",
|
|
24
26
|
"test": "stencil test --spec --e2e",
|
|
25
27
|
"test.watch": "stencil test --spec --e2e --watchAll",
|
|
@@ -32,7 +34,6 @@
|
|
|
32
34
|
"devDependencies": {
|
|
33
35
|
"@stencil/react-output-target": "^0.5.3",
|
|
34
36
|
"@types/jest": "^27.0.3",
|
|
35
|
-
"javascript-obfuscator": "^4.0.2",
|
|
36
37
|
"jest": "^27.4.5",
|
|
37
38
|
"jest-cli": "^27.4.5",
|
|
38
39
|
"puppeteer": "^10.0.0"
|