@qaiddev/thumbs-embed 1.0.17 → 1.1.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/dist/types.d.ts CHANGED
@@ -48,6 +48,14 @@ export interface FeedbackConfig {
48
48
  submitButton?: string;
49
49
  /** Skip button text */
50
50
  skipButton?: string;
51
+ /** Accessible name (screen readers) for the thumbs-up button */
52
+ positiveLabel?: string;
53
+ /** Accessible name for the thumbs-down button */
54
+ negativeLabel?: string;
55
+ /** Accessible name for the record button */
56
+ recordLabel?: string;
57
+ /** Accessible name for the dismiss (hide) button */
58
+ dismissLabel?: string;
51
59
  };
52
60
  /** Modal width in pixels. Default: 400 */
53
61
  modalWidth?: number;
@@ -214,6 +222,10 @@ export interface ResolvedFeedbackConfig {
214
222
  placeholder: string;
215
223
  submitButton: string;
216
224
  skipButton: string;
225
+ positiveLabel: string;
226
+ negativeLabel: string;
227
+ recordLabel: string;
228
+ dismissLabel: string;
217
229
  };
218
230
  modalWidth: number;
219
231
  backdropOpacity: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qaiddev/thumbs-embed",
3
- "version": "1.0.17",
3
+ "version": "1.1.0",
4
4
  "description": "Precision User Feedback",
5
5
  "type": "module",
6
6
  "main": "./dist/qaid.umd.cjs",
@@ -35,6 +35,7 @@
35
35
  },
36
36
  "devDependencies": {
37
37
  "@vitest/coverage-v8": "^4.0.18",
38
+ "axe-core": "^4.12.1",
38
39
  "happy-dom": "^20.5.1",
39
40
  "typescript": "^5.3.3",
40
41
  "vite": "^7.3.1",