@digital-realty/ix-generic-tree 2.1.6 → 2.1.7
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.
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../ix-generic-tree.js';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { html } from 'lit';
|
|
2
|
+
import { fixture, expect } from '@open-wc/testing';
|
|
3
|
+
import ixGenericTreeTestData from './test-data.js';
|
|
4
|
+
import '../ix-generic-tree.js';
|
|
5
|
+
describe('A11yTest', () => {
|
|
6
|
+
// TODO
|
|
7
|
+
it('passes the a11y audit', async () => {
|
|
8
|
+
const el = await fixture(html `<ix-generic-tree
|
|
9
|
+
.rootNode=${ixGenericTreeTestData}
|
|
10
|
+
searchEnabled
|
|
11
|
+
searchPlaceholder="placeholder"
|
|
12
|
+
></ix-generic-tree>`);
|
|
13
|
+
// await expect(el).shadowDom.to.be.accessible();
|
|
14
|
+
await expect(el).shadowDom.to.not.be.accessible();
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
//# sourceMappingURL=a11y.test.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"a11y.test.js","sourceRoot":"","sources":["../../src/test/a11y.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,KAAK,CAAC;AAC3B,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,qBAAqB,MAAM,gBAAgB,CAAC;AACnD,OAAO,uBAAuB,CAAC;AAE/B,QAAQ,CAAC,UAAU,EAAE,GAAG,EAAE;IACxB,OAAO;IACP,EAAE,CAAC,uBAAuB,EAAE,KAAK,IAAI,EAAE;QACrC,MAAM,EAAE,GAAG,MAAM,OAAO,CACtB,IAAI,CAAA;oBACU,qBAAqB;;;0BAGf,CACrB,CAAC;QAEF,iDAAiD;QACjD,MAAM,MAAM,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,UAAU,EAAE,CAAC;IACpD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { html } from 'lit';\nimport { fixture, expect } from '@open-wc/testing';\nimport { IxGenericTree } from '../IxGenericTree.js';\nimport ixGenericTreeTestData from './test-data.js';\nimport '../ix-generic-tree.js';\n\ndescribe('A11yTest', () => {\n // TODO\n it('passes the a11y audit', async () => {\n const el = await fixture<IxGenericTree>(\n html`<ix-generic-tree\n .rootNode=${ixGenericTreeTestData}\n searchEnabled\n searchPlaceholder=\"placeholder\"\n ></ix-generic-tree>`,\n );\n\n // await expect(el).shadowDom.to.be.accessible();\n await expect(el).shadowDom.to.not.be.accessible();\n });\n});\n"]}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Webcomponent ix-generic-tree following open-wc recommendations",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Digital Realty",
|
|
6
|
-
"version": "2.1.
|
|
6
|
+
"version": "2.1.7",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"module": "dist/index.js",
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
"ts:watch": "tsc --watch --preserveWatchOutput"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@digital-realty/ix-checkbox": "^1.3.
|
|
36
|
-
"@digital-realty/ix-icon": "^1.2.
|
|
37
|
-
"@digital-realty/ix-icon-button": "^1.2.
|
|
38
|
-
"@digital-realty/ix-progress": "^1.3.
|
|
39
|
-
"@digital-realty/ix-textbox": "^2.3.
|
|
35
|
+
"@digital-realty/ix-checkbox": "^1.3.5",
|
|
36
|
+
"@digital-realty/ix-icon": "^1.2.4",
|
|
37
|
+
"@digital-realty/ix-icon-button": "^1.2.4",
|
|
38
|
+
"@digital-realty/ix-progress": "^1.3.4",
|
|
39
|
+
"@digital-realty/ix-textbox": "^2.3.5",
|
|
40
40
|
"lit": "^3.1.4"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
@@ -100,5 +100,5 @@
|
|
|
100
100
|
"README.md",
|
|
101
101
|
"LICENSE"
|
|
102
102
|
],
|
|
103
|
-
"gitHead": "
|
|
103
|
+
"gitHead": "5f957be9ee993f439c24887108d7d1f35c40ab17"
|
|
104
104
|
}
|