@qaiddev/thumbs-embed 1.7.0 → 1.9.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 +77 -33
- package/dist/bootstrap.d.ts +4 -2
- package/dist/chunks/{annotate-CMq95aXG.js → annotate-D-o8xCV9.js} +23 -17
- package/dist/chunks/annotate-D-o8xCV9.js.map +1 -0
- package/dist/chunks/dom-DvdtcUS8.js +17 -0
- package/dist/chunks/dom-DvdtcUS8.js.map +1 -0
- package/dist/chunks/{loader-CYM1rxDH.js → loader-XbJ2b8KE.js} +229 -167
- package/dist/chunks/loader-XbJ2b8KE.js.map +1 -0
- package/dist/chunks/modal-XxYobTKE.js +213 -0
- package/dist/chunks/modal-XxYobTKE.js.map +1 -0
- package/dist/chunks/{recording-BVFd_ryf.js → recording-Dx8AX-BC.js} +103 -98
- package/dist/chunks/recording-Dx8AX-BC.js.map +1 -0
- package/dist/chunks/{screenshot-BkOCLuS2.js → screenshot-DYOKg2bS.js} +2 -2
- package/dist/chunks/{screenshot-BkOCLuS2.js.map → screenshot-DYOKg2bS.js.map} +1 -1
- package/dist/chunks/{targeting-1pK6nJI9.js → targeting-Dz6z1BYl.js} +2 -2
- package/dist/chunks/{targeting-1pK6nJI9.js.map → targeting-Dz6z1BYl.js.map} +1 -1
- package/dist/chunks/{video-BOYqf2Im.js → video-Bd_29-rK.js} +76 -71
- package/dist/chunks/video-Bd_29-rK.js.map +1 -0
- package/dist/embed.d.ts +11 -0
- package/dist/icons.d.ts +2 -0
- package/dist/index.js +599 -448
- package/dist/index.js.map +1 -1
- package/dist/loader.js +1 -1
- package/dist/modal.d.ts +14 -4
- package/dist/qaid.umd.cjs +14 -38
- package/dist/qaid.umd.cjs.map +1 -1
- package/dist/recording.d.ts +6 -0
- package/dist/screenshot.d.ts +1 -1
- package/dist/types.d.ts +14 -2
- package/dist/video-capture.d.ts +6 -0
- package/package.json +1 -1
- package/dist/chunks/annotate-CMq95aXG.js.map +0 -1
- package/dist/chunks/loader-CYM1rxDH.js.map +0 -1
- package/dist/chunks/modal-Br5x7m6f.js +0 -150
- package/dist/chunks/modal-Br5x7m6f.js.map +0 -1
- package/dist/chunks/recording-BVFd_ryf.js.map +0 -1
- package/dist/chunks/video-BOYqf2Im.js.map +0 -1
package/dist/loader.js
CHANGED
package/dist/modal.d.ts
CHANGED
|
@@ -43,15 +43,25 @@ export declare class ModalController {
|
|
|
43
43
|
private teardown;
|
|
44
44
|
private showBottomSheet;
|
|
45
45
|
private showPositionedModal;
|
|
46
|
-
|
|
46
|
+
/**
|
|
47
|
+
* The modal's contents, built as nodes rather than an HTML string.
|
|
48
|
+
*
|
|
49
|
+
* Every piece of copy (title, subtitle, placeholder, button) goes in as
|
|
50
|
+
* text, so a `<`, `&` or `"` in a translation shows as written instead of
|
|
51
|
+
* being parsed as markup or cutting an attribute short. Only the icons are
|
|
52
|
+
* markup, because they are documented as SVG/HTML strings.
|
|
53
|
+
*/
|
|
54
|
+
private buildModalContent;
|
|
47
55
|
private setupModalInteractions;
|
|
48
56
|
private submitMessage;
|
|
49
57
|
/**
|
|
50
|
-
* Replace the modal's contents with a checkmark and a short
|
|
58
|
+
* Replace the modal's contents with the outcome: a checkmark and a short
|
|
59
|
+
* acknowledgement, or an error mark and a "not sent" notice.
|
|
51
60
|
*
|
|
52
61
|
* The submit button that had focus is gone by this point, so focus moves to
|
|
53
62
|
* the heading (WCAG 2.4.3) and the message is announced. Mirrors the quests
|
|
54
|
-
* embed's thank-you screen so the two products confirm the same way.
|
|
63
|
+
* embed's thank-you screen so the two products confirm the same way. Copy
|
|
64
|
+
* goes in as text, never markup.
|
|
55
65
|
*/
|
|
56
|
-
private
|
|
66
|
+
private showResult;
|
|
57
67
|
}
|