accented 1.0.1 → 1.1.1

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 (50) hide show
  1. package/README.md +33 -19
  2. package/dist/accented.d.ts.map +1 -1
  3. package/dist/accented.js +3 -2
  4. package/dist/accented.js.map +1 -1
  5. package/dist/common/tokens.d.ts +9 -0
  6. package/dist/common/tokens.d.ts.map +1 -1
  7. package/dist/common/tokens.js +28 -0
  8. package/dist/common/tokens.js.map +1 -1
  9. package/dist/constants.d.ts +2 -0
  10. package/dist/constants.d.ts.map +1 -1
  11. package/dist/constants.js +1 -0
  12. package/dist/constants.js.map +1 -1
  13. package/dist/elements/accented-dialog.d.ts +20 -8
  14. package/dist/elements/accented-dialog.d.ts.map +1 -1
  15. package/dist/elements/accented-dialog.js +6 -25
  16. package/dist/elements/accented-dialog.js.map +1 -1
  17. package/dist/elements/accented-trigger.d.ts +24 -12
  18. package/dist/elements/accented-trigger.d.ts.map +1 -1
  19. package/dist/logger.d.ts.map +1 -1
  20. package/dist/logger.js +196 -17
  21. package/dist/logger.js.map +1 -1
  22. package/dist/types.d.ts +31 -1
  23. package/dist/types.d.ts.map +1 -1
  24. package/dist/types.js.map +1 -1
  25. package/dist/utils/are-issue-sets-equal.d.ts.map +1 -1
  26. package/dist/utils/are-issue-sets-equal.js +2 -2
  27. package/dist/utils/are-issue-sets-equal.js.map +1 -1
  28. package/dist/utils/are-issues-equal.d.ts +3 -0
  29. package/dist/utils/are-issues-equal.d.ts.map +1 -0
  30. package/dist/utils/are-issues-equal.js +5 -0
  31. package/dist/utils/are-issues-equal.js.map +1 -0
  32. package/dist/utils/shadow-dom-aware-mutation-observer.d.ts +4 -4
  33. package/dist/utils/shadow-dom-aware-mutation-observer.d.ts.map +1 -1
  34. package/dist/utils/transform-violations.d.ts.map +1 -1
  35. package/dist/utils/transform-violations.js +7 -4
  36. package/dist/utils/transform-violations.js.map +1 -1
  37. package/dist/validate-options.d.ts.map +1 -1
  38. package/dist/validate-options.js +3 -0
  39. package/dist/validate-options.js.map +1 -1
  40. package/package.json +4 -4
  41. package/src/accented.ts +3 -2
  42. package/src/common/tokens.ts +36 -0
  43. package/src/constants.ts +4 -0
  44. package/src/elements/accented-dialog.ts +16 -25
  45. package/src/logger.ts +276 -22
  46. package/src/types.ts +32 -1
  47. package/src/utils/are-issue-sets-equal.ts +2 -5
  48. package/src/utils/are-issues-equal.ts +7 -0
  49. package/src/utils/transform-violations.ts +12 -6
  50. package/src/validate-options.ts +5 -0
package/README.md CHANGED
@@ -8,21 +8,38 @@ A frontend library for continuous accessibility testing and issue highlighting.
8
8
 
9
9
  ## What is Accented?
10
10
 
11
- Accented is a visual library based on [axe-core](https://github.com/dequelabs/axe-core) that helps identify issues as soon as they are introduced.
11
+ Accented is a visual library built on [axe-core](https://github.com/dequelabs/axe-core) that helps you catch issues in real time.
12
12
 
13
- It adds interactive visual callouts for all accessibility issues that axe-core identifies.
13
+ It displays interactive highlights for every accessibility issue that axe-core detects.
14
14
 
15
- Example — without Accented vs. with Accented:
15
+ Here’s a side-by-side comparison — without Accented vs. with it enabled:
16
16
 
17
17
  ![Two screenshots of the same web application side by side. On the left, the regular state of the application. On the right, the same state but with bright outlines and buttons added to some page elements.](https://accented.dev/images/side-by-side.png)
18
18
 
19
- [Try it out at the Playground (StackBlitz).](https://stackblitz.com/edit/accented-playground-react-ts?file=src%2Fmain.tsx)
20
-
21
- Accented can complement other tools commonly used for accessibility testing:
22
-
23
- - **It can find more issues than source code linting.** The popular [`eslint-plugin-jsx-a11y`](https://www.npmjs.com/package/eslint-plugin-jsx-a11y) is great, and linters validate the whole codebase, but some issues can only be detected on the rendered page. For example, the linter cannot find issues with color contrast or heading order. Besides, Accented is not framework-specific.
24
- - **It’s embedded into the project code, with no setup required in the browser or code editor.** You’d get a similar audit from [Lighthouse](https://developer.chrome.com/docs/lighthouse/overview) or [axe DevTools](https://www.deque.com/axe/devtools/), but with Accented, you don’t need a browser extension, and the results are always up to date.
25
- - **You don’t need to write any extra code, unlike with adding accessibility tests to a test suite.** You can test for accessibility issues in your test suite, for example using [`@axe-core/playwright`](https://www.npmjs.com/package/@axe-core/playwright). For that, however, you need to write a test case for every state of the application that you want to test. Accented instead automatically tests anything that’s currently on the page in your browser.
19
+ [Try it out at the Playground (StackBlitz).](https://stackblitz.com/fork/github/pomerantsev/accented/tree/main/packages/playground?file=src%2Fmain.tsx&title=Accented%20playground%20(React%20%2B%20TypeScript))
20
+
21
+ Accented works well alongside other common accessibility tools:
22
+
23
+ - **It can catch more problems than source code linters alone.**
24
+ The popular [`eslint-plugin-jsx-a11y`](https://www.npmjs.com/package/eslint-plugin-jsx-a11y)
25
+ or the [Biome a11y linter](https://biomejs.dev/linter/javascript/rules/#a11y) are great,
26
+ and they validate the whole codebase at once,
27
+ but some issues can only be detected in the rendered page.
28
+ For example, the linter cannot find issues with color contrast or heading order.
29
+ Besides, Accented is not tied to JSX.
30
+ - **It runs as part of your project code — no browser extension or editor setup required.**
31
+ You’d get a similar audit from [Lighthouse](https://developer.chrome.com/docs/lighthouse/overview)
32
+ or [axe DevTools](https://www.deque.com/axe/devtools/),
33
+ but with Accented, there’s nothing extra to install, and the results are always up to date.
34
+ - **No need to write extra code, unlike when adding accessibility checks to a test suite.**
35
+ You can test for accessibility issues in your test suite,
36
+ for example using [`@axe-core/playwright`](https://www.npmjs.com/package/@axe-core/playwright).
37
+ That means writing test cases for every state of your app you want to check.
38
+ Accented, by contrast, automatically scans whatever’s currently visible in the browser.
39
+
40
+ When used in [console-only mode](https://accented.dev/getting-started#console-only-mode),
41
+ Accented behaves similarly to [@axe-core/react](https://www.npmjs.com/package/@axe-core/react) and can serve as a direct replacement.
42
+ Unlike @axe-core/react, Accented works with any framework — or none at all — making it suitable for any web project.
26
43
 
27
44
  Learn more about Accented at [accented.dev](https://accented.dev).
28
45
 
@@ -34,18 +51,16 @@ Install:
34
51
  npm install --save-dev accented
35
52
  ```
36
53
 
37
- Import and run at any moment during your app’s initialization:
54
+ Then import and run during app initialization:
38
55
 
39
56
  ```js
40
- if (isDevelopment) {
57
+ if (process.env.NODE_ENV === 'development') {
41
58
  const { accented } = await import("accented");
42
59
  accented();
43
60
  }
44
61
  ```
45
62
 
46
- ⚠️ **Heads up!**
47
- Don’t expose Accented to your users.
48
- It’s for development use only.
63
+ ⚠️ Heads up: Accented is for development use only. Don’t expose it to end users.
49
64
 
50
65
  See the docs for your bundler or framework for how to run code only in the development environment.
51
66
 
@@ -55,7 +70,7 @@ See the docs for your bundler or framework for how to run code only in the devel
55
70
  ## More info
56
71
 
57
72
  - [Accessibility](https://accented.dev/about#accessibility) (how accessible is Accented itself?)
58
- - [Performance](https://accented.dev/how-it-works#performance) (does Accented affect runtime performance of my app?)
73
+ - [Performance](https://accented.dev/how-it-works#performance) (does it affect runtime performance?)
59
74
  - [Browser support](https://accented.dev/about#browser-support) (will Accented work for me and my teammates?)
60
75
  - [Versioning policy](https://accented.dev/about#versioning) (Accented follows [SemVer](https://semver.org/))
61
76
  - [Changelog](https://github.com/pomerantsev/accented/blob/main/packages/accented/CHANGELOG.md)
@@ -65,7 +80,6 @@ See the docs for your bundler or framework for how to run code only in the devel
65
80
  Contributions are welcome!
66
81
 
67
82
  - See [CONTRIBUTING.md](https://github.com/pomerantsev/accented/blob/main/CONTRIBUTING.md) for setup instructions and guidelines.
68
- - Open an [issue](https://github.com/pomerantsev/accented/issues) or pull request if you spot a bug or want to propose a new feature.
69
- - See [Milestones](https://github.com/pomerantsev/accented/milestones) to learn about our plans for Accented.
83
+ - Feel free to open an [issue](https://github.com/pomerantsev/accented/issues) or pull request if you spot a bug or have a feature idea.
70
84
 
71
- Have feedback or ideas? Contact Pavel at [hello@pavelpomerantsev.com](mailto:hello@pavelpomerantsev.com).
85
+ Have feedback or ideas? Reach out to Pavel at [hello@pavelpomerantsev.com](mailto:hello@pavelpomerantsev.com).
@@ -1 +1 @@
1
- {"version":3,"file":"accented.d.ts","sourceRoot":"","sources":["../src/accented.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAMnE,YAAY,EAAE,eAAe,EAAE,eAAe,EAAE,CAAC;AAEjD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,QAAQ,CAAC,OAAO,GAAE,eAAoB,GAAG,eAAe,CAsFvE"}
1
+ {"version":3,"file":"accented.d.ts","sourceRoot":"","sources":["../src/accented.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAMnE,YAAY,EAAE,eAAe,EAAE,eAAe,EAAE,CAAC;AAEjD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,QAAQ,CAAC,OAAO,GAAE,eAAoB,GAAG,eAAe,CAuFvE"}
package/dist/accented.js CHANGED
@@ -47,6 +47,7 @@ export function accented(options = {}) {
47
47
  }
48
48
  const defaultOutput = {
49
49
  console: true,
50
+ page: true,
50
51
  };
51
52
  const defaultThrottle = {
52
53
  wait: 1000,
@@ -75,9 +76,9 @@ export function accented(options = {}) {
75
76
  registerElements(name);
76
77
  const { disconnect: cleanupIntersectionObserver, intersectionObserver } = setupIntersectionObserver();
77
78
  const cleanupScanner = createScanner(name, context, axeOptions, throttle, callback);
78
- const cleanupDomUpdater = createDomUpdater(name, intersectionObserver);
79
+ const cleanupDomUpdater = output.page ? createDomUpdater(name, intersectionObserver) : () => { };
79
80
  const cleanupLogger = output.console ? createLogger() : () => { };
80
- const cleanupScrollListeners = setupScrollListeners();
81
+ const cleanupScrollListeners = output.page ? setupScrollListeners() : () => { };
81
82
  const cleanupResizeListener = supportsAnchorPositioning(window)
82
83
  ? () => { }
83
84
  : setupResizeListener();
@@ -1 +1 @@
1
- {"version":3,"file":"accented.js","sourceRoot":"","sources":["../src/accented.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAA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AAG,EAAE,CAAC;gBACtC,cAAc,EAAE,CAAC;gBACjB,iBAAiB,EAAE,CAAC;gBACpB,aAAa,EAAE,CAAC;gBAChB,sBAAsB,EAAE,CAAC;gBACzB,qBAAqB,EAAE,CAAC;gBACxB,yBAAyB,EAAE,CAAC;gBAC5B,IAAI,2BAA2B,EAAE,CAAC;oBAChC,2BAA2B,EAAE,CAAC;gBAChC,CAAC;YACH,CAAC;YAAC,OAAO,KAAK,EAAE,CAAC;gBACf,aAAa,CAAC,KAAK,CAAC,CAAC;YACvB,CAAC;QACH,CAAC,CAAC;IACJ,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,aAAa,CAAC,KAAK,CAAC,CAAC;QACrB,OAAO,GAAG,EAAE,GAAE,CAAC,CAAC;IAClB,CAAC;AACH,CAAC"}
@@ -2,6 +2,15 @@ export declare const primaryColorDark = "oklch(0.5 0.3 0)";
2
2
  export declare const primaryColorLight = "oklch(0.8 0.2 0)";
3
3
  export declare const colorLight = "oklch(0.98 0 0)";
4
4
  export declare const colorDark = "oklch(0.22 0 0)";
5
+ export declare const colorFocus = "light-dark(oklch(0.45 0.25 230), oklch(0.8 0.25 230))";
6
+ export declare const colorImpactMinor = "light-dark(oklch(0.8 0 0), oklch(0.45 0 0))";
7
+ export declare const colorImpactModerate = "light-dark(oklch(0.8 0.16 230), oklch(0.45 0.16 230))";
8
+ export declare const colorImpactSerious = "light-dark(oklch(0.8 0.16 90), oklch(0.45 0.16 90))";
9
+ export declare const colorImpactCritical = "light-dark(oklch(0.8 0.16 0), oklch(0.45 0.16 0))";
10
+ export declare const consoleColorImpactMinor = "light-dark(oklch(0.45 0 0), oklch(0.8 0 0))";
11
+ export declare const consoleColorImpactModerate = "light-dark(oklch(0.45 0.16 230), oklch(0.8 0.16 230))";
12
+ export declare const consoleColorImpactSerious = "light-dark(oklch(0.45 0.16 90), oklch(0.8 0.16 90))";
13
+ export declare const consoleColorImpactCritical = "light-dark(oklch(0.45 0.16 0), oklch(0.8 0.16 0))";
5
14
  export declare const fontSystemSans = "-apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, Adwaita Sans, Cantarell, Ubuntu, roboto, noto, helvetica, arial, sans-serif";
6
15
  export declare const fontSystemMono = "Menlo, Consolas, Monaco, Adwaita Mono, Liberation Mono, Lucida Console, monospace";
7
16
  //# sourceMappingURL=tokens.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../src/common/tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,qBAAqB,CAAC;AACnD,eAAO,MAAM,iBAAiB,qBAAqB,CAAC;AACpD,eAAO,MAAM,UAAU,oBAAoB,CAAC;AAC5C,eAAO,MAAM,SAAS,oBAAoB,CAAC;AAG3C,eAAO,MAAM,cAAc,kKACsI,CAAC;AAClK,eAAO,MAAM,cAAc,sFAC0D,CAAC"}
1
+ {"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../src/common/tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,qBAAqB,CAAC;AACnD,eAAO,MAAM,iBAAiB,qBAAqB,CAAC;AACpD,eAAO,MAAM,UAAU,oBAAoB,CAAC;AAC5C,eAAO,MAAM,SAAS,oBAAoB,CAAC;AAW3C,eAAO,MAAM,UAAU,0DAAgI,CAAC;AAiBxJ,eAAO,MAAM,gBAAgB,gDAAkE,CAAC;AAChG,eAAO,MAAM,mBAAmB,0DAAwE,CAAC;AACzG,eAAO,MAAM,kBAAkB,wDAAsE,CAAC;AACtG,eAAO,MAAM,mBAAmB,sDAAwE,CAAC;AAEzG,eAAO,MAAM,uBAAuB,gDAAkE,CAAC;AACvG,eAAO,MAAM,0BAA0B,0DAAwE,CAAC;AAChH,eAAO,MAAM,yBAAyB,wDAAsE,CAAC;AAC7G,eAAO,MAAM,0BAA0B,sDAAwE,CAAC;AAGhH,eAAO,MAAM,cAAc,kKACsI,CAAC;AAClK,eAAO,MAAM,cAAc,sFAC0D,CAAC"}
@@ -2,6 +2,34 @@ export const primaryColorDark = 'oklch(0.5 0.3 0)';
2
2
  export const primaryColorLight = 'oklch(0.8 0.2 0)';
3
3
  export const colorLight = 'oklch(0.98 0 0)';
4
4
  export const colorDark = 'oklch(0.22 0 0)';
5
+ const hueGray = 0;
6
+ const hueBlue = 230;
7
+ const hueGold = 90;
8
+ const hueRed = 0;
9
+ const focusLightnessLight = 0.45;
10
+ const focusLightnessDark = 0.8;
11
+ const chromaFocus = 0.25;
12
+ export const colorFocus = `light-dark(oklch(${focusLightnessLight} ${chromaFocus} ${hueBlue}), oklch(${focusLightnessDark} ${chromaFocus} ${hueBlue}))`;
13
+ const impactLightnessLight = 0.8;
14
+ const impactLightnessDark = 0.45;
15
+ const chromaImpactGray = 0;
16
+ const chromaImpactNonGray = 0.16;
17
+ const colorImpactMinorLight = `oklch(${impactLightnessLight} ${chromaImpactGray} ${hueGray})`;
18
+ const colorImpactModerateLight = `oklch(${impactLightnessLight} ${chromaImpactNonGray} ${hueBlue})`;
19
+ const colorImpactSeriousLight = `oklch(${impactLightnessLight} ${chromaImpactNonGray} ${hueGold})`;
20
+ const colorImpactCriticalLight = `oklch(${impactLightnessLight} ${chromaImpactNonGray} ${hueRed})`;
21
+ const colorImpactMinorDark = `oklch(${impactLightnessDark} ${chromaImpactGray} ${hueGray})`;
22
+ const colorImpactModerateDark = `oklch(${impactLightnessDark} ${chromaImpactNonGray} ${hueBlue})`;
23
+ const colorImpactSeriousDark = `oklch(${impactLightnessDark} ${chromaImpactNonGray} ${hueGold})`;
24
+ const colorImpactCriticalDark = `oklch(${impactLightnessDark} ${chromaImpactNonGray} ${hueRed})`;
25
+ export const colorImpactMinor = `light-dark(${colorImpactMinorLight}, ${colorImpactMinorDark})`;
26
+ export const colorImpactModerate = `light-dark(${colorImpactModerateLight}, ${colorImpactModerateDark})`;
27
+ export const colorImpactSerious = `light-dark(${colorImpactSeriousLight}, ${colorImpactSeriousDark})`;
28
+ export const colorImpactCritical = `light-dark(${colorImpactCriticalLight}, ${colorImpactCriticalDark})`;
29
+ export const consoleColorImpactMinor = `light-dark(${colorImpactMinorDark}, ${colorImpactMinorLight})`;
30
+ export const consoleColorImpactModerate = `light-dark(${colorImpactModerateDark}, ${colorImpactModerateLight})`;
31
+ export const consoleColorImpactSerious = `light-dark(${colorImpactSeriousDark}, ${colorImpactSeriousLight})`;
32
+ export const consoleColorImpactCritical = `light-dark(${colorImpactCriticalDark}, ${colorImpactCriticalLight})`;
5
33
  /* https://systemfontstack.com/ */
6
34
  export const fontSystemSans = '-apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, Adwaita Sans, Cantarell, Ubuntu, roboto, noto, helvetica, arial, sans-serif';
7
35
  export const fontSystemMono = 'Menlo, Consolas, Monaco, Adwaita Mono, Liberation Mono, Lucida Console, monospace';
@@ -1 +1 @@
1
- {"version":3,"file":"tokens.js","sourceRoot":"","sources":["../../src/common/tokens.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,gBAAgB,GAAG,kBAAkB,CAAC;AACnD,MAAM,CAAC,MAAM,iBAAiB,GAAG,kBAAkB,CAAC;AACpD,MAAM,CAAC,MAAM,UAAU,GAAG,iBAAiB,CAAC;AAC5C,MAAM,CAAC,MAAM,SAAS,GAAG,iBAAiB,CAAC;AAE3C,kCAAkC;AAClC,MAAM,CAAC,MAAM,cAAc,GACzB,+JAA+J,CAAC;AAClK,MAAM,CAAC,MAAM,cAAc,GACzB,mFAAmF,CAAC"}
1
+ {"version":3,"file":"tokens.js","sourceRoot":"","sources":["../../src/common/tokens.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,gBAAgB,GAAG,kBAAkB,CAAC;AACnD,MAAM,CAAC,MAAM,iBAAiB,GAAG,kBAAkB,CAAC;AACpD,MAAM,CAAC,MAAM,UAAU,GAAG,iBAAiB,CAAC;AAC5C,MAAM,CAAC,MAAM,SAAS,GAAG,iBAAiB,CAAC;AAE3C,MAA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AK,oBAAoB,GAAG,CAAC;AAChG,MAAM,CAAC,MAAM,mBAAmB,GAAG,cAAc,wBAAwB,KAAK,uBAAuB,GAAG,CAAC;AACzG,MAAM,CAAC,MAAM,kBAAkB,GAAG,cAAc,uBAAuB,KAAK,sBAAsB,GAAG,CAAC;AACtG,MAAM,CAAC,MAAM,mBAAmB,GAAG,cAAc,wBAAwB,KAAK,uBAAuB,GAAG,CAAC;AAEzG,MAAM,CAAC,MAAM,uBAAuB,GAAG,cAAc,oBAAoB,KAAK,qBAAqB,GAAG,CAAC;AACvG,MAAM,CAAC,MAAM,0BAA0B,GAAG,cAAc,uBAAuB,KAAK,wBAAwB,GAAG,CAAC;AAChH,MAAM,CAAC,MAAM,yBAAyB,GAAG,cAAc,sBAAsB,KAAK,uBAAuB,GAAG,CAAC;AAC7G,MAAM,CAAC,MAAM,0BAA0B,GAAG,cAAc,uBAAuB,KAAK,wBAAwB,GAAG,CAAC;AAEhH,kCAAkC;AAClC,MAAM,CAAC,MAAM,cAAc,GACzB,+JAA+J,CAAC;AAClK,MAAM,CAAC,MAAM,cAAc,GACzB,mFAAmF,CAAC"}
@@ -1,4 +1,6 @@
1
+ import type { Issue } from './types';
1
2
  export declare const accentedUrl = "https://accented.dev";
2
3
  export declare const issuesUrl = "https://github.com/pomerantsev/accented/issues";
3
4
  export declare const getAccentedElementNames: (name: string) => string[];
5
+ export declare const orderedImpacts: Array<Issue['impact']>;
4
6
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,yBAAyB,CAAC;AAClD,eAAO,MAAM,SAAS,mDAAmD,CAAC;AAC1E,eAAO,MAAM,uBAAuB,GAAI,MAAM,MAAM,aAA0C,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAErC,eAAO,MAAM,WAAW,yBAAyB,CAAC;AAClD,eAAO,MAAM,SAAS,mDAAmD,CAAC;AAC1E,eAAO,MAAM,uBAAuB,GAAI,MAAM,MAAM,aAA0C,CAAC;AAE/F,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAgD,CAAC"}
package/dist/constants.js CHANGED
@@ -1,4 +1,5 @@
1
1
  export const accentedUrl = 'https://accented.dev';
2
2
  export const issuesUrl = 'https://github.com/pomerantsev/accented/issues';
3
3
  export const getAccentedElementNames = (name) => [`${name}-trigger`, `${name}-dialog`];
4
+ export const orderedImpacts = ['minor', 'moderate', 'serious', 'critical'];
4
5
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,WAAW,GAAG,sBAAsB,CAAC;AAClD,MAAM,CAAC,MAAM,SAAS,GAAG,gDAAgD,CAAC;AAC1E,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,CAAC,GAAG,IAAI,UAAU,EAAE,GAAG,IAAI,SAAS,CAAC,CAAC"}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,WAAW,GAAG,sBAAsB,CAAC;AAClD,MAAM,CAAC,MAAM,SAAS,GAAG,gDAAgD,CAAC;AAC1E,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,CAAC,GAAG,IAAI,UAAU,EAAE,GAAG,IAAI,SAAS,CAAC,CAAC;AAE/F,MAAM,CAAC,MAAM,cAAc,GAA2B,CAAC,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,UAAU,CAAC,CAAC"}
@@ -8,7 +8,7 @@ export interface AccentedDialog extends HTMLElement {
8
8
  }
9
9
  export declare const getAccentedDialog: () => {
10
10
  new (): {
11
- "__#1@#abortController": AbortController | undefined;
11
+ #abortController: AbortController | undefined;
12
12
  issues: Signal<Array<Issue>> | undefined;
13
13
  element: Element | undefined;
14
14
  open: boolean;
@@ -20,10 +20,11 @@ export declare const getAccentedDialog: () => {
20
20
  * is available in all supported browsers:
21
21
  * https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/closedBy
22
22
  */
23
- "__#1@#onDialogClick"(event: MouseEvent): void;
23
+ #onDialogClick(event: MouseEvent): void;
24
24
  accessKey: string;
25
25
  readonly accessKeyLabel: string;
26
26
  autocapitalize: string;
27
+ autocorrect: boolean;
27
28
  dir: string;
28
29
  draggable: boolean;
29
30
  hidden: boolean;
@@ -131,6 +132,8 @@ export declare const getAccentedDialog: () => {
131
132
  setPointerCapture(pointerId: number): void;
132
133
  toggleAttribute(qualifiedName: string, force?: boolean): boolean;
133
134
  webkitMatchesSelector(selectors: string): boolean;
135
+ get textContent(): string;
136
+ set textContent(value: string | null);
134
137
  readonly baseURI: string;
135
138
  readonly childNodes: NodeListOf<ChildNode>;
136
139
  readonly firstChild: ChildNode | null;
@@ -143,7 +146,6 @@ export declare const getAccentedDialog: () => {
143
146
  readonly parentElement: HTMLElement | null;
144
147
  readonly parentNode: ParentNode | null;
145
148
  readonly previousSibling: ChildNode | null;
146
- textContent: string | null;
147
149
  appendChild<T extends Node>(node: T): T;
148
150
  cloneNode(subtree?: boolean): Node;
149
151
  compareDocumentPosition(other: Node): number;
@@ -178,6 +180,7 @@ export declare const getAccentedDialog: () => {
178
180
  readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
179
181
  readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
180
182
  dispatchEvent(event: Event): boolean;
183
+ ariaActiveDescendantElement: Element | null;
181
184
  ariaAtomic: string | null;
182
185
  ariaAutoComplete: string | null;
183
186
  ariaBrailleLabel: string | null;
@@ -188,21 +191,28 @@ export declare const getAccentedDialog: () => {
188
191
  ariaColIndex: string | null;
189
192
  ariaColIndexText: string | null;
190
193
  ariaColSpan: string | null;
194
+ ariaControlsElements: ReadonlyArray<Element> | null;
191
195
  ariaCurrent: string | null;
196
+ ariaDescribedByElements: ReadonlyArray<Element> | null;
192
197
  ariaDescription: string | null;
198
+ ariaDetailsElements: ReadonlyArray<Element> | null;
193
199
  ariaDisabled: string | null;
200
+ ariaErrorMessageElements: ReadonlyArray<Element> | null;
194
201
  ariaExpanded: string | null;
202
+ ariaFlowToElements: ReadonlyArray<Element> | null;
195
203
  ariaHasPopup: string | null;
196
204
  ariaHidden: string | null;
197
205
  ariaInvalid: string | null;
198
206
  ariaKeyShortcuts: string | null;
199
207
  ariaLabel: string | null;
208
+ ariaLabelledByElements: ReadonlyArray<Element> | null;
200
209
  ariaLevel: string | null;
201
210
  ariaLive: string | null;
202
211
  ariaModal: string | null;
203
212
  ariaMultiLine: string | null;
204
213
  ariaMultiSelectable: string | null;
205
214
  ariaOrientation: string | null;
215
+ ariaOwnsElements: ReadonlyArray<Element> | null;
206
216
  ariaPlaceholder: string | null;
207
217
  ariaPosInSet: string | null;
208
218
  ariaPressed: string | null;
@@ -260,18 +270,19 @@ export declare const getAccentedDialog: () => {
260
270
  onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
261
271
  onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
262
272
  onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
263
- onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
273
+ onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
264
274
  onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
265
- onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
275
+ onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
276
+ onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
266
277
  onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
267
278
  oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
268
279
  oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
269
280
  oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
270
281
  onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
271
- onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
282
+ onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
272
283
  onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
273
284
  oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
274
- oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
285
+ oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
275
286
  oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
276
287
  oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
277
288
  oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
@@ -319,6 +330,7 @@ export declare const getAccentedDialog: () => {
319
330
  onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
320
331
  onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
321
332
  onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
333
+ onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
322
334
  onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
323
335
  onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
324
336
  onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
@@ -337,7 +349,7 @@ export declare const getAccentedDialog: () => {
337
349
  onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
338
350
  onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
339
351
  ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
340
- ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
352
+ ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
341
353
  ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
342
354
  ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
343
355
  ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"accented-dialog.d.ts","sourceRoot":"","sources":["../../src/elements/accented-dialog.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAInD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAIzC,MAAM,WAAW,cAAe,SAAQ,WAAW;IACjD,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,GAAG,SAAS,CAAC;IACzC,OAAO,EAAE,OAAO,GAAG,SAAS,CAAC;IAC7B,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,IAAI,EAAE,OAAO,CAAC;CACf;AAID,eAAO,MAAM,iBAAiB;;iCAoOR,eAAe,GAAG,SAAS;gBAErC,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,GAAG,SAAS;iBAE/B,OAAO,GAAG,SAAS;;;;;QAqJ5B;;;;WAIG;qCACmB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoBnC,CAAC"}
1
+ {"version":3,"file":"accented-dialog.d.ts","sourceRoot":"","sources":["../../src/elements/accented-dialog.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAcnD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAIzC,MAAM,WAAW,cAAe,SAAQ,WAAW;IACjD,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,GAAG,SAAS,CAAC;IACzC,OAAO,EAAE,OAAO,GAAG,SAAS,CAAC;IAC7B,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,IAAI,EAAE,OAAO,CAAC;CACf;AAID,eAAO,MAAM,iBAAiB;;0BAiNR,eAAe,GAAG,SAAS;gBAErC,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,GAAG,SAAS;iBAE/B,OAAO,GAAG,SAAS;;;;;QAqJ5B;;;;WAIG;8BACmB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoBnC,CAAC"}
@@ -1,4 +1,4 @@
1
- import { colorDark, colorLight, fontSystemMono, fontSystemSans } from '../common/tokens.js';
1
+ import { colorDark, colorFocus, colorImpactCritical, colorImpactMinor, colorImpactModerate, colorImpactSerious, colorLight, fontSystemMono, fontSystemSans, } from '../common/tokens.js';
2
2
  import { accentedUrl } from '../constants.js';
3
3
  import { logAndRethrow } from '../log-and-rethrow.js';
4
4
  import { getElementHtml } from '../utils/get-element-html.js';
@@ -21,8 +21,6 @@ export const getAccentedDialog = () => {
21
21
  <p>
22
22
  Powered by
23
23
  <a href="${accentedUrl}" target="_blank" aria-description="Opens in new tab">Accented</a>
24
- and
25
- <a href="https://github.com/dequelabs/axe-core" target="_blank" aria-description="Opens in new tab">axe-core</a>.
26
24
  </p>
27
25
  </section>
28
26
  </dialog>
@@ -52,30 +50,13 @@ export const getAccentedDialog = () => {
52
50
  --background-color: light-dark(var(--light-color), var(--dark-color));
53
51
  --text-color: light-dark(var(--dark-color), var(--light-color));
54
52
 
55
- --impact-lightness: 0.80;
56
- --focus-lightness: 0.45;
57
- @media (prefers-color-scheme: dark) {
58
- --impact-lightness: 0.45;
59
- --focus-lightness: 0.80;
60
- }
61
-
62
- --blue-hue: 230;
63
- --gold-hue: 90;
64
- --red-hue: 0;
65
-
66
53
  /* Contrasts with background. */
67
- --focus-color: oklch(var(--focus-lightness) 0.25 var(--blue-hue));
68
-
69
- --impact-chroma: 0.16;
70
-
71
- --impact-moderate-hue: var(--blue-hue);
72
- --impact-serious-hue: var(--gold-hue);
73
- --impact-critical-hue: var(--red-hue);
54
+ --focus-color: ${colorFocus};
74
55
 
75
- --impact-minor-color: oklch(var(--impact-lightness) 0 0);
76
- --impact-moderate-color: oklch(var(--impact-lightness) var(--impact-chroma) var(--impact-moderate-hue));
77
- --impact-serious-color: oklch(var(--impact-lightness) var(--impact-chroma) var(--impact-serious-hue));
78
- --impact-critical-color: oklch(var(--impact-lightness) var(--impact-chroma) var(--impact-critical-hue));
56
+ --impact-minor-color: ${colorImpactMinor};
57
+ --impact-moderate-color: ${colorImpactModerate};
58
+ --impact-serious-color: ${colorImpactSerious};
59
+ --impact-critical-color: ${colorImpactCritical};
79
60
 
80
61
  --base-size: max(1rem, 16px);
81
62
 
@@ -1 +1 @@
1
- {"version":3,"file":"accented-dialog.js","sourceRoot":"","sources":["../../src/elements/accented-dialog.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC5F,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAStD,0EAA0E;AAC1E,+FAA+F;AAC/F,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,EAAE;IACpC,MAAM,cAAc,GAAG,QAAQ,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC;IAC1D,cAAc,CAAC,SAAS,GAAG;;;;;;;;;;;;;qBAaR,WAAW;;;;;;GAM7B,CAAC;IAEF,MAAM,aAAa,GAAG,QAAQ,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC;IACzD,aAAa,CAAC,SAAS,GAAG;;;;;;GAMzB,CAAC;IAEF,MAAM,mBAAmB,GAAG,QAAQ,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC;IAC/D,mBAAmB,CAAC,SAAS,GAAG;;;GAG/B,CAAC;IAEF,MAAM,UAAU,GAAG,IAAI,aAAa,EAAE,CAAC;IACvC,UAAU,CAAC,WAAW,CAAC;;;;;uBAKF,UAAU;sBACX,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAkFV,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAwCd,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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BACvD,IAAI,MAAM,EAAE,CAAC;oBACX,MAAM,CAAC,SAAS,EAAE,CAAC;oBACnB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;gBACnB,CAAC;YACH,CAAC;QACH,CAAC;QAED;;;;WAIG;QACH,cAAc,CAAC,KAAiB;YAC9B,MAAM,MAAM,GAAG,KAAK,CAAC,aAAkC,CAAC;YACxD,IACE,CAAC,MAAM;gBACP,OAAO,MAAM,CAAC,qBAAqB,KAAK,UAAU;gBAClD,OAAO,MAAM,CAAC,KAAK,KAAK,UAAU,EAClC,CAAC;gBACD,OAAO;YACT,CAAC;YACD,MAAM,IAAI,GAAG,MAAM,CAAC,qBAAqB,EAAE,CAAC;YAC5C,MAAM,cAAc,GAClB,KAAK,CAAC,OAAO,IAAI,IAAI,CAAC,IAAI;gBAC1B,KAAK,CAAC,OAAO,IAAI,IAAI,CAAC,KAAK;gBAC3B,KAAK,CAAC,OAAO,IAAI,IAAI,CAAC,GAAG;gBACzB,KAAK,CAAC,OAAO,IAAI,IAAI,CAAC,MAAM,CAAC;YAC/B,IAAI,CAAC,cAAc,EAAE,CAAC;gBACpB,MAAM,CAAC,KAAK,EAAE,CAAC;YACjB,CAAC;QACH,CAAC;KACF,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"accented-dialog.js","sourceRoot":"","sources":["../../src/elements/accented-dialog.ts"],"names":[],"mappings":"AACA,OAAO,EACL,SAAS,EACT,UAAU,EACV,mBAAmB,EACnB,gBAAgB,EAChB,mBAAmB,EACnB,kBAAkB,EAClB,UAAU,EACV,cAAc,EACd,cAAc,GACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAEtD,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAStD,0EAA0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AC,qBAAqB,EAAE,CAAC;YAC5C,MAAM,cAAc,GAClB,KAAK,CAAC,OAAO,IAAI,IAAI,CAAC,IAAI;gBAC1B,KAAK,CAAC,OAAO,IAAI,IAAI,CAAC,KAAK;gBAC3B,KAAK,CAAC,OAAO,IAAI,IAAI,CAAC,GAAG;gBACzB,KAAK,CAAC,OAAO,IAAI,IAAI,CAAC,MAAM,CAAC;YAC/B,IAAI,CAAC,cAAc,EAAE,CAAC;gBACpB,MAAM,CAAC,KAAK,EAAE,CAAC;YACjB,CAAC;QACH,CAAC;KACF,CAAC;AACJ,CAAC,CAAC"}
@@ -9,21 +9,22 @@ export interface AccentedTrigger extends HTMLElement {
9
9
  }
10
10
  export declare const getAccentedTrigger: (name: string) => {
11
11
  new (): {
12
- "__#2@#abortController": AbortController | undefined;
13
- "__#2@#dialogCloseAbortController": AbortController | undefined;
14
- "__#2@#disposeOfPositionEffect": (() => void) | undefined;
15
- "__#2@#disposeOfVisibilityEffect": (() => void) | undefined;
16
- "__#2@#elementMutationObserver": MutationObserver | undefined;
12
+ #abortController: AbortController | undefined;
13
+ #dialogCloseAbortController: AbortController | undefined;
14
+ #disposeOfPositionEffect: (() => void) | undefined;
15
+ #disposeOfVisibilityEffect: (() => void) | undefined;
16
+ #elementMutationObserver: MutationObserver | undefined;
17
17
  element: Element | undefined;
18
18
  dialog: AccentedDialog | undefined;
19
19
  position: Signal<Position> | undefined;
20
20
  visible: Signal<boolean> | undefined;
21
21
  connectedCallback(): void;
22
22
  disconnectedCallback(): void;
23
- "__#2@#setTransform"(): void;
23
+ #setTransform(): void;
24
24
  accessKey: string;
25
25
  readonly accessKeyLabel: string;
26
26
  autocapitalize: string;
27
+ autocorrect: boolean;
27
28
  dir: string;
28
29
  draggable: boolean;
29
30
  hidden: boolean;
@@ -131,6 +132,8 @@ export declare const getAccentedTrigger: (name: string) => {
131
132
  setPointerCapture(pointerId: number): void;
132
133
  toggleAttribute(qualifiedName: string, force?: boolean): boolean;
133
134
  webkitMatchesSelector(selectors: string): boolean;
135
+ get textContent(): string;
136
+ set textContent(value: string | null);
134
137
  readonly baseURI: string;
135
138
  readonly childNodes: NodeListOf<ChildNode>;
136
139
  readonly firstChild: ChildNode | null;
@@ -143,7 +146,6 @@ export declare const getAccentedTrigger: (name: string) => {
143
146
  readonly parentElement: HTMLElement | null;
144
147
  readonly parentNode: ParentNode | null;
145
148
  readonly previousSibling: ChildNode | null;
146
- textContent: string | null;
147
149
  appendChild<T extends Node>(node: T): T;
148
150
  cloneNode(subtree?: boolean): Node;
149
151
  compareDocumentPosition(other: Node): number;
@@ -178,6 +180,7 @@ export declare const getAccentedTrigger: (name: string) => {
178
180
  readonly DOCUMENT_POSITION_CONTAINED_BY: 16;
179
181
  readonly DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: 32;
180
182
  dispatchEvent(event: Event): boolean;
183
+ ariaActiveDescendantElement: Element | null;
181
184
  ariaAtomic: string | null;
182
185
  ariaAutoComplete: string | null;
183
186
  ariaBrailleLabel: string | null;
@@ -188,21 +191,28 @@ export declare const getAccentedTrigger: (name: string) => {
188
191
  ariaColIndex: string | null;
189
192
  ariaColIndexText: string | null;
190
193
  ariaColSpan: string | null;
194
+ ariaControlsElements: ReadonlyArray<Element> | null;
191
195
  ariaCurrent: string | null;
196
+ ariaDescribedByElements: ReadonlyArray<Element> | null;
192
197
  ariaDescription: string | null;
198
+ ariaDetailsElements: ReadonlyArray<Element> | null;
193
199
  ariaDisabled: string | null;
200
+ ariaErrorMessageElements: ReadonlyArray<Element> | null;
194
201
  ariaExpanded: string | null;
202
+ ariaFlowToElements: ReadonlyArray<Element> | null;
195
203
  ariaHasPopup: string | null;
196
204
  ariaHidden: string | null;
197
205
  ariaInvalid: string | null;
198
206
  ariaKeyShortcuts: string | null;
199
207
  ariaLabel: string | null;
208
+ ariaLabelledByElements: ReadonlyArray<Element> | null;
200
209
  ariaLevel: string | null;
201
210
  ariaLive: string | null;
202
211
  ariaModal: string | null;
203
212
  ariaMultiLine: string | null;
204
213
  ariaMultiSelectable: string | null;
205
214
  ariaOrientation: string | null;
215
+ ariaOwnsElements: ReadonlyArray<Element> | null;
206
216
  ariaPlaceholder: string | null;
207
217
  ariaPosInSet: string | null;
208
218
  ariaPressed: string | null;
@@ -260,18 +270,19 @@ export declare const getAccentedTrigger: (name: string) => {
260
270
  onanimationend: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
261
271
  onanimationiteration: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
262
272
  onanimationstart: ((this: GlobalEventHandlers, ev: AnimationEvent) => any) | null;
263
- onauxclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
273
+ onauxclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
264
274
  onbeforeinput: ((this: GlobalEventHandlers, ev: InputEvent) => any) | null;
265
- onbeforetoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
275
+ onbeforematch: ((this: GlobalEventHandlers, ev: Event) => any) | null;
276
+ onbeforetoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
266
277
  onblur: ((this: GlobalEventHandlers, ev: FocusEvent) => any) | null;
267
278
  oncancel: ((this: GlobalEventHandlers, ev: Event) => any) | null;
268
279
  oncanplay: ((this: GlobalEventHandlers, ev: Event) => any) | null;
269
280
  oncanplaythrough: ((this: GlobalEventHandlers, ev: Event) => any) | null;
270
281
  onchange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
271
- onclick: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
282
+ onclick: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
272
283
  onclose: ((this: GlobalEventHandlers, ev: Event) => any) | null;
273
284
  oncontextlost: ((this: GlobalEventHandlers, ev: Event) => any) | null;
274
- oncontextmenu: ((this: GlobalEventHandlers, ev: MouseEvent) => any) | null;
285
+ oncontextmenu: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
275
286
  oncontextrestored: ((this: GlobalEventHandlers, ev: Event) => any) | null;
276
287
  oncopy: ((this: GlobalEventHandlers, ev: ClipboardEvent) => any) | null;
277
288
  oncuechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
@@ -319,6 +330,7 @@ export declare const getAccentedTrigger: (name: string) => {
319
330
  onpointermove: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
320
331
  onpointerout: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
321
332
  onpointerover: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
333
+ onpointerrawupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
322
334
  onpointerup: ((this: GlobalEventHandlers, ev: PointerEvent) => any) | null;
323
335
  onprogress: ((this: GlobalEventHandlers, ev: ProgressEvent) => any) | null;
324
336
  onratechange: ((this: GlobalEventHandlers, ev: Event) => any) | null;
@@ -337,7 +349,7 @@ export declare const getAccentedTrigger: (name: string) => {
337
349
  onsubmit: ((this: GlobalEventHandlers, ev: SubmitEvent) => any) | null;
338
350
  onsuspend: ((this: GlobalEventHandlers, ev: Event) => any) | null;
339
351
  ontimeupdate: ((this: GlobalEventHandlers, ev: Event) => any) | null;
340
- ontoggle: ((this: GlobalEventHandlers, ev: Event) => any) | null;
352
+ ontoggle: ((this: GlobalEventHandlers, ev: ToggleEvent) => any) | null;
341
353
  ontouchcancel?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
342
354
  ontouchend?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
343
355
  ontouchmove?: ((this: GlobalEventHandlers, ev: TouchEvent) => any) | null | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"accented-trigger.d.ts","sourceRoot":"","sources":["../../src/elements/accented-trigger.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAInD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAE5C,OAAO,KAAK,EAAE,cAAc,EAAE,M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Y;;;EA0B3B"}
1
+ {"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../src/logger.ts"],"names":[],"mappings":"AAqRA,wBAAgB,YAAY;;;EAY3B"}