aria-ease 6.14.0 → 7.0.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/AccordionComponentStrategy-2SWMNUR6.js +1 -0
- package/dist/ComboboxComponentStrategy-YSYLR2U5.js +5 -0
- package/dist/MenuComponentStrategy-C22BZEBH.js +5 -0
- package/dist/RelativeTargetResolver-T4P25J2M.js +1 -0
- package/dist/TabsComponentStrategy-ADEEFJXM.js +1 -0
- package/dist/audit-APAPHXRO.js +9 -0
- package/dist/badgeHelper-IB5RTMAG.js +11 -0
- package/dist/badgeHelper-JSROP5ML.js +1 -0
- package/dist/buildContracts-T4XQZBDU.js +13 -0
- package/dist/chunk-52I3INNG.js +11 -0
- package/dist/chunk-APUMBDOT.js +1 -0
- package/dist/chunk-BHNO4ZI3.js +1 -0
- package/dist/chunk-CNU4N4AY.js +1 -0
- package/dist/chunk-SM6ZKEDR.js +1 -0
- package/dist/chunk-ZNQ5BXVJ.js +1 -0
- package/dist/cli.cjs +132 -3560
- package/dist/cli.js +19 -161
- package/dist/configLoader-ZEJVXLX7.js +1 -0
- package/dist/configLoader-ZXTSCIP6.js +1 -0
- package/dist/contractTestRunnerPlaywright-FOCQTM4L.js +46 -0
- package/dist/contractTestRunnerPlaywright-QPU6HZXG.js +46 -0
- package/dist/formatters-H3CPDLG5.js +87 -0
- package/dist/index.cjs +64 -5103
- package/dist/index.d.cts +4 -6
- package/dist/index.d.ts +4 -6
- package/dist/index.js +17 -2703
- package/dist/src/accordion/index.cjs +1 -183
- package/dist/src/accordion/index.js +1 -181
- package/dist/src/block/index.cjs +1 -124
- package/dist/src/block/index.js +1 -122
- package/dist/src/checkbox/index.cjs +1 -109
- package/dist/src/checkbox/index.js +1 -107
- package/dist/src/combobox/index.cjs +1 -265
- package/dist/src/combobox/index.js +1 -263
- package/dist/src/menu/index.cjs +1 -339
- package/dist/src/menu/index.js +1 -337
- package/dist/src/radio/index.cjs +1 -117
- package/dist/src/radio/index.js +1 -115
- package/dist/src/tabs/index.cjs +1 -265
- package/dist/src/tabs/index.js +1 -263
- package/dist/src/toggle/index.cjs +1 -119
- package/dist/src/toggle/index.js +1 -117
- package/dist/src/utils/test/AccordionComponentStrategy-X2GSQ5KT.js +1 -0
- package/dist/src/utils/test/ComboboxComponentStrategy-SICWLI27.js +5 -0
- package/dist/src/utils/test/MenuComponentStrategy-R4VPAHDE.js +5 -0
- package/dist/src/utils/test/RelativeTargetResolver-UQQMZHI6.js +1 -0
- package/dist/src/utils/test/TabsComponentStrategy-L2PYNEW6.js +1 -0
- package/dist/src/utils/test/badgeHelper-ER5ZOHWF.js +11 -0
- package/dist/src/utils/test/chunk-APUMBDOT.js +1 -0
- package/dist/src/utils/test/chunk-BHNO4ZI3.js +1 -0
- package/dist/src/utils/test/configLoader-NCYRL2O6.js +1 -0
- package/dist/src/utils/test/contractTestRunnerPlaywright-YZCMF64Q.js +46 -0
- package/dist/src/utils/test/dsl/index.cjs +1 -838
- package/dist/src/utils/test/dsl/index.d.cts +2 -4
- package/dist/src/utils/test/dsl/index.d.ts +2 -4
- package/dist/src/utils/test/dsl/index.js +1 -836
- package/dist/src/utils/test/index.cjs +64 -2672
- package/dist/src/utils/test/index.d.cts +2 -2
- package/dist/src/utils/test/index.d.ts +2 -2
- package/dist/src/utils/test/index.js +16 -340
- package/dist/test-VXSCSKV5.js +19 -0
- package/package.json +7 -9
- package/dist/AccordionComponentStrategy-4ZEIQ2V6.js +0 -42
- package/dist/ComboboxComponentStrategy-DU342VMB.js +0 -64
- package/dist/MenuComponentStrategy-VYCC2XOM.js +0 -81
- package/dist/RelativeTargetResolver-DJAITO6D.js +0 -7
- package/dist/TabsComponentStrategy-3SQURPMX.js +0 -29
- package/dist/audit-JYEPKLHR.js +0 -63
- package/dist/badgeHelper-JOWO6RQG.js +0 -15
- package/dist/badgeHelper-RDOMCC6E.js +0 -108
- package/dist/buildContracts-VIV6GM56.js +0 -437
- package/dist/chunk-4DU5Z5BR.js +0 -340
- package/dist/chunk-GJGUY643.js +0 -182
- package/dist/chunk-GLT43UVH.js +0 -43
- package/dist/chunk-I2KLQ2HA.js +0 -22
- package/dist/chunk-JJEPLK7L.js +0 -107
- package/dist/chunk-PK5L2SAF.js +0 -17
- package/dist/configLoader-Q7N5XV4P.js +0 -183
- package/dist/configLoader-REHK3S3Q.js +0 -7
- package/dist/contractTestRunnerPlaywright-B2HLZKKK.js +0 -1394
- package/dist/contractTestRunnerPlaywright-RWK52C7S.js +0 -1394
- package/dist/formatters-32KQIIYS.js +0 -183
- package/dist/src/utils/test/AccordionComponentStrategy-WRHZOEN6.js +0 -38
- package/dist/src/utils/test/ComboboxComponentStrategy-XKQ72RFD.js +0 -60
- package/dist/src/utils/test/MenuComponentStrategy-6XWU5KLW.js +0 -77
- package/dist/src/utils/test/RelativeTargetResolver-G2XDN2VV.js +0 -1
- package/dist/src/utils/test/TabsComponentStrategy-BKG53SEV.js +0 -26
- package/dist/src/utils/test/badgeHelper-HZKGOPB4.js +0 -102
- package/dist/src/utils/test/chunk-4DU5Z5BR.js +0 -332
- package/dist/src/utils/test/chunk-GLT43UVH.js +0 -41
- package/dist/src/utils/test/configLoader-NA7IBCS3.js +0 -181
- package/dist/src/utils/test/contractTestRunnerPlaywright-5FIGA5G4.js +0 -1372
- package/dist/test-WDBS5JWO.js +0 -358
package/dist/index.d.cts
CHANGED
|
@@ -314,14 +314,12 @@ declare class ContractBuilder {
|
|
|
314
314
|
}) => void): this;
|
|
315
315
|
static(fn: (s: {
|
|
316
316
|
target: (target: string) => {
|
|
317
|
-
|
|
318
|
-
|
|
317
|
+
has: (attribute: string, expectedValue: string) => {
|
|
318
|
+
requires: (state: string) => {
|
|
319
319
|
required: () => void;
|
|
320
320
|
optional: () => void;
|
|
321
321
|
recommended: () => void;
|
|
322
322
|
};
|
|
323
|
-
};
|
|
324
|
-
has: (attribute: string, expectedValue: string) => {
|
|
325
323
|
required: () => void;
|
|
326
324
|
optional: () => void;
|
|
327
325
|
recommended: () => void;
|
|
@@ -361,13 +359,13 @@ type StrictnessMode = 'minimal' | 'balanced' | 'strict' | 'paranoid';
|
|
|
361
359
|
* Runs static and interactions accessibility test on UI components.
|
|
362
360
|
* @param {string} componentName The name of the component contract to test against
|
|
363
361
|
* @param {HTMLElement} component The UI component to be tested
|
|
364
|
-
* @param {string} url
|
|
362
|
+
* @param {string} url URL for Playwright E2E tests
|
|
365
363
|
*/
|
|
366
364
|
|
|
367
365
|
type TestAuditOptions = {
|
|
368
366
|
strictness?: StrictnessMode;
|
|
369
367
|
};
|
|
370
|
-
declare function testUiComponent(componentName: string,
|
|
368
|
+
declare function testUiComponent(componentName: string, url: string | null, options?: TestAuditOptions): Promise<JestAxeResult>;
|
|
371
369
|
/**
|
|
372
370
|
* Cleanup function to close the shared Playwright browser
|
|
373
371
|
* Call this in afterAll() or after all tests complete
|
package/dist/index.d.ts
CHANGED
|
@@ -314,14 +314,12 @@ declare class ContractBuilder {
|
|
|
314
314
|
}) => void): this;
|
|
315
315
|
static(fn: (s: {
|
|
316
316
|
target: (target: string) => {
|
|
317
|
-
|
|
318
|
-
|
|
317
|
+
has: (attribute: string, expectedValue: string) => {
|
|
318
|
+
requires: (state: string) => {
|
|
319
319
|
required: () => void;
|
|
320
320
|
optional: () => void;
|
|
321
321
|
recommended: () => void;
|
|
322
322
|
};
|
|
323
|
-
};
|
|
324
|
-
has: (attribute: string, expectedValue: string) => {
|
|
325
323
|
required: () => void;
|
|
326
324
|
optional: () => void;
|
|
327
325
|
recommended: () => void;
|
|
@@ -361,13 +359,13 @@ type StrictnessMode = 'minimal' | 'balanced' | 'strict' | 'paranoid';
|
|
|
361
359
|
* Runs static and interactions accessibility test on UI components.
|
|
362
360
|
* @param {string} componentName The name of the component contract to test against
|
|
363
361
|
* @param {HTMLElement} component The UI component to be tested
|
|
364
|
-
* @param {string} url
|
|
362
|
+
* @param {string} url URL for Playwright E2E tests
|
|
365
363
|
*/
|
|
366
364
|
|
|
367
365
|
type TestAuditOptions = {
|
|
368
366
|
strictness?: StrictnessMode;
|
|
369
367
|
};
|
|
370
|
-
declare function testUiComponent(componentName: string,
|
|
368
|
+
declare function testUiComponent(componentName: string, url: string | null, options?: TestAuditOptions): Promise<JestAxeResult>;
|
|
371
369
|
/**
|
|
372
370
|
* Cleanup function to close the shared Playwright browser
|
|
373
371
|
* Call this in afterAll() or after all tests complete
|