@instructure/ui-drawer-layout 10.2.3-snapshot-8 → 10.2.3-snapshot-10

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 (38) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/es/DrawerLayout/DrawerContent/__new-tests__/DrawerContent.test.js +65 -0
  3. package/es/DrawerLayout/DrawerTray/__new-tests__/DrawerTray.test.js +152 -0
  4. package/es/DrawerLayout/__new-tests__/DrawerLayout.test.js +49 -0
  5. package/lib/DrawerLayout/DrawerContent/__new-tests__/DrawerContent.test.js +68 -0
  6. package/lib/DrawerLayout/DrawerTray/__new-tests__/DrawerTray.test.js +156 -0
  7. package/lib/DrawerLayout/__new-tests__/DrawerLayout.test.js +52 -0
  8. package/package.json +23 -21
  9. package/src/DrawerLayout/DrawerContent/__new-tests__/DrawerContent.test.tsx +70 -0
  10. package/src/DrawerLayout/DrawerTray/__new-tests__/DrawerTray.test.tsx +187 -0
  11. package/src/DrawerLayout/{DrawerLayoutLocator.ts → __new-tests__/DrawerLayout.test.tsx} +23 -18
  12. package/tsconfig.build.json +0 -1
  13. package/tsconfig.build.tsbuildinfo +1 -1
  14. package/types/DrawerLayout/DrawerContent/__new-tests__/DrawerContent.test.d.ts +2 -0
  15. package/types/DrawerLayout/DrawerContent/__new-tests__/DrawerContent.test.d.ts.map +1 -0
  16. package/types/DrawerLayout/DrawerTray/__new-tests__/DrawerTray.test.d.ts +2 -0
  17. package/types/DrawerLayout/DrawerTray/__new-tests__/DrawerTray.test.d.ts.map +1 -0
  18. package/types/DrawerLayout/__new-tests__/DrawerLayout.test.d.ts +2 -0
  19. package/types/DrawerLayout/__new-tests__/DrawerLayout.test.d.ts.map +1 -0
  20. package/es/DrawerLayout/DrawerContent/DrawerContentLocator.js +0 -29
  21. package/es/DrawerLayout/DrawerLayoutLocator.js +0 -42
  22. package/es/DrawerLayout/DrawerTray/DrawerTrayLocator.js +0 -29
  23. package/es/DrawerLayout/locator.js +0 -28
  24. package/lib/DrawerLayout/DrawerContent/DrawerContentLocator.js +0 -34
  25. package/lib/DrawerLayout/DrawerLayoutLocator.js +0 -58
  26. package/lib/DrawerLayout/DrawerTray/DrawerTrayLocator.js +0 -34
  27. package/lib/DrawerLayout/locator.js +0 -49
  28. package/src/DrawerLayout/DrawerContent/DrawerContentLocator.ts +0 -30
  29. package/src/DrawerLayout/DrawerTray/DrawerTrayLocator.ts +0 -30
  30. package/src/DrawerLayout/locator.ts +0 -30
  31. package/types/DrawerLayout/DrawerContent/DrawerContentLocator.d.ts +0 -428
  32. package/types/DrawerLayout/DrawerContent/DrawerContentLocator.d.ts.map +0 -1
  33. package/types/DrawerLayout/DrawerLayoutLocator.d.ts +0 -1826
  34. package/types/DrawerLayout/DrawerLayoutLocator.d.ts.map +0 -1
  35. package/types/DrawerLayout/DrawerTray/DrawerTrayLocator.d.ts +0 -428
  36. package/types/DrawerLayout/DrawerTray/DrawerTrayLocator.d.ts.map +0 -1
  37. package/types/DrawerLayout/locator.d.ts +0 -5
  38. package/types/DrawerLayout/locator.d.ts.map +0 -1
@@ -0,0 +1,2 @@
1
+ import '@testing-library/jest-dom';
2
+ //# sourceMappingURL=DrawerContent.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DrawerContent.test.d.ts","sourceRoot":"","sources":["../../../../src/DrawerLayout/DrawerContent/__new-tests__/DrawerContent.test.tsx"],"names":[],"mappings":"AA0BA,OAAO,2BAA2B,CAAA"}
@@ -0,0 +1,2 @@
1
+ import '@testing-library/jest-dom';
2
+ //# sourceMappingURL=DrawerTray.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DrawerTray.test.d.ts","sourceRoot":"","sources":["../../../../src/DrawerLayout/DrawerTray/__new-tests__/DrawerTray.test.tsx"],"names":[],"mappings":"AA0BA,OAAO,2BAA2B,CAAA"}
@@ -0,0 +1,2 @@
1
+ import '@testing-library/jest-dom';
2
+ //# sourceMappingURL=DrawerLayout.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DrawerLayout.test.d.ts","sourceRoot":"","sources":["../../../src/DrawerLayout/__new-tests__/DrawerLayout.test.tsx"],"names":[],"mappings":"AAyBA,OAAO,2BAA2B,CAAA"}
@@ -1,29 +0,0 @@
1
- /*
2
- * The MIT License (MIT)
3
- *
4
- * Copyright (c) 2015 - present Instructure, Inc.
5
- *
6
- * Permission is hereby granted, free of charge, to any person obtaining a copy
7
- * of this software and associated documentation files (the "Software"), to deal
8
- * in the Software without restriction, including without limitation the rights
9
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
- * copies of the Software, and to permit persons to whom the Software is
11
- * furnished to do so, subject to the following conditions:
12
- *
13
- * The above copyright notice and this permission notice shall be included in all
14
- * copies or substantial portions of the Software.
15
- *
16
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
- * SOFTWARE.
23
- */
24
-
25
- import { locator } from '@instructure/ui-test-locator';
26
- import { DrawerContent } from './index';
27
-
28
- // @ts-expect-error ts-migrate(2339) FIXME: Property 'selector' does not exist on type 'typeof... Remove this comment to see the full error message
29
- export const DrawerContentLocator = locator(DrawerContent.selector);
@@ -1,42 +0,0 @@
1
- /*
2
- * The MIT License (MIT)
3
- *
4
- * Copyright (c) 2015 - present Instructure, Inc.
5
- *
6
- * Permission is hereby granted, free of charge, to any person obtaining a copy
7
- * of this software and associated documentation files (the "Software"), to deal
8
- * in the Software without restriction, including without limitation the rights
9
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
- * copies of the Software, and to permit persons to whom the Software is
11
- * furnished to do so, subject to the following conditions:
12
- *
13
- * The above copyright notice and this permission notice shall be included in all
14
- * copies or substantial portions of the Software.
15
- *
16
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
- * SOFTWARE.
23
- */
24
-
25
- import { locator } from '@instructure/ui-test-locator';
26
- import { DrawerLayout } from './index';
27
- import { DrawerContentLocator } from './DrawerContent/DrawerContentLocator';
28
- import { DrawerTrayLocator } from './DrawerTray/DrawerTrayLocator';
29
- export { DrawerContentLocator, DrawerTrayLocator };
30
-
31
- // @ts-expect-error ts-migrate(2339) FIXME: Property 'selector' does not exist on type 'typeof... Remove this comment to see the full error message
32
- export const DrawerLayoutLocator = locator(DrawerLayout.selector, {
33
- findContent: (...args) => DrawerContentLocator.find(...args),
34
- findTray: (element, ...args) => {
35
- if (element && element.getAttribute) {
36
- const id = element.getAttribute(DrawerLayout.locatorAttribute);
37
- return locator(`[${DrawerLayout.Tray.locatorAttribute}="${id}"]`).find(...args);
38
- } else {
39
- return null;
40
- }
41
- }
42
- });
@@ -1,29 +0,0 @@
1
- /*
2
- * The MIT License (MIT)
3
- *
4
- * Copyright (c) 2015 - present Instructure, Inc.
5
- *
6
- * Permission is hereby granted, free of charge, to any person obtaining a copy
7
- * of this software and associated documentation files (the "Software"), to deal
8
- * in the Software without restriction, including without limitation the rights
9
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
- * copies of the Software, and to permit persons to whom the Software is
11
- * furnished to do so, subject to the following conditions:
12
- *
13
- * The above copyright notice and this permission notice shall be included in all
14
- * copies or substantial portions of the Software.
15
- *
16
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
- * SOFTWARE.
23
- */
24
-
25
- import { locator } from '@instructure/ui-test-locator';
26
- import { DrawerTray } from './index';
27
-
28
- // @ts-ignore: property 'selector' does not exist on typeof DrawerTray
29
- export const DrawerTrayLocator = locator(DrawerTray.selector);
@@ -1,28 +0,0 @@
1
- /*
2
- * The MIT License (MIT)
3
- *
4
- * Copyright (c) 2015 - present Instructure, Inc.
5
- *
6
- * Permission is hereby granted, free of charge, to any person obtaining a copy
7
- * of this software and associated documentation files (the "Software"), to deal
8
- * in the Software without restriction, including without limitation the rights
9
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
- * copies of the Software, and to permit persons to whom the Software is
11
- * furnished to do so, subject to the following conditions:
12
- *
13
- * The above copyright notice and this permission notice shall be included in all
14
- * copies or substantial portions of the Software.
15
- *
16
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
- * SOFTWARE.
23
- */
24
-
25
- import { DrawerLayoutLocator } from './DrawerLayoutLocator';
26
- export { DrawerContentLocator, DrawerTrayLocator } from './DrawerLayoutLocator';
27
- export { DrawerLayoutLocator };
28
- export default DrawerLayoutLocator;
@@ -1,34 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.DrawerContentLocator = void 0;
7
- var _locator = require("@instructure/ui-test-locator/lib/utils/locator.js");
8
- var _index = require("./index");
9
- /*
10
- * The MIT License (MIT)
11
- *
12
- * Copyright (c) 2015 - present Instructure, Inc.
13
- *
14
- * Permission is hereby granted, free of charge, to any person obtaining a copy
15
- * of this software and associated documentation files (the "Software"), to deal
16
- * in the Software without restriction, including without limitation the rights
17
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
18
- * copies of the Software, and to permit persons to whom the Software is
19
- * furnished to do so, subject to the following conditions:
20
- *
21
- * The above copyright notice and this permission notice shall be included in all
22
- * copies or substantial portions of the Software.
23
- *
24
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
25
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
26
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
27
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
28
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
29
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
30
- * SOFTWARE.
31
- */
32
-
33
- // @ts-expect-error ts-migrate(2339) FIXME: Property 'selector' does not exist on type 'typeof... Remove this comment to see the full error message
34
- const DrawerContentLocator = exports.DrawerContentLocator = (0, _locator.locator)(_index.DrawerContent.selector);
@@ -1,58 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "DrawerContentLocator", {
7
- enumerable: true,
8
- get: function () {
9
- return _DrawerContentLocator.DrawerContentLocator;
10
- }
11
- });
12
- exports.DrawerLayoutLocator = void 0;
13
- Object.defineProperty(exports, "DrawerTrayLocator", {
14
- enumerable: true,
15
- get: function () {
16
- return _DrawerTrayLocator.DrawerTrayLocator;
17
- }
18
- });
19
- var _locator = require("@instructure/ui-test-locator/lib/utils/locator.js");
20
- var _index = require("./index");
21
- var _DrawerContentLocator = require("./DrawerContent/DrawerContentLocator");
22
- var _DrawerTrayLocator = require("./DrawerTray/DrawerTrayLocator");
23
- /*
24
- * The MIT License (MIT)
25
- *
26
- * Copyright (c) 2015 - present Instructure, Inc.
27
- *
28
- * Permission is hereby granted, free of charge, to any person obtaining a copy
29
- * of this software and associated documentation files (the "Software"), to deal
30
- * in the Software without restriction, including without limitation the rights
31
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
32
- * copies of the Software, and to permit persons to whom the Software is
33
- * furnished to do so, subject to the following conditions:
34
- *
35
- * The above copyright notice and this permission notice shall be included in all
36
- * copies or substantial portions of the Software.
37
- *
38
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
39
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
40
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
41
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
42
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
43
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
44
- * SOFTWARE.
45
- */
46
-
47
- // @ts-expect-error ts-migrate(2339) FIXME: Property 'selector' does not exist on type 'typeof... Remove this comment to see the full error message
48
- const DrawerLayoutLocator = exports.DrawerLayoutLocator = (0, _locator.locator)(_index.DrawerLayout.selector, {
49
- findContent: (...args) => _DrawerContentLocator.DrawerContentLocator.find(...args),
50
- findTray: (element, ...args) => {
51
- if (element && element.getAttribute) {
52
- const id = element.getAttribute(_index.DrawerLayout.locatorAttribute);
53
- return (0, _locator.locator)(`[${_index.DrawerLayout.Tray.locatorAttribute}="${id}"]`).find(...args);
54
- } else {
55
- return null;
56
- }
57
- }
58
- });
@@ -1,34 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.DrawerTrayLocator = void 0;
7
- var _locator = require("@instructure/ui-test-locator/lib/utils/locator.js");
8
- var _index = require("./index");
9
- /*
10
- * The MIT License (MIT)
11
- *
12
- * Copyright (c) 2015 - present Instructure, Inc.
13
- *
14
- * Permission is hereby granted, free of charge, to any person obtaining a copy
15
- * of this software and associated documentation files (the "Software"), to deal
16
- * in the Software without restriction, including without limitation the rights
17
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
18
- * copies of the Software, and to permit persons to whom the Software is
19
- * furnished to do so, subject to the following conditions:
20
- *
21
- * The above copyright notice and this permission notice shall be included in all
22
- * copies or substantial portions of the Software.
23
- *
24
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
25
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
26
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
27
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
28
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
29
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
30
- * SOFTWARE.
31
- */
32
-
33
- // @ts-ignore: property 'selector' does not exist on typeof DrawerTray
34
- const DrawerTrayLocator = exports.DrawerTrayLocator = (0, _locator.locator)(_index.DrawerTray.selector);
@@ -1,49 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "DrawerContentLocator", {
7
- enumerable: true,
8
- get: function () {
9
- return _DrawerLayoutLocator.DrawerContentLocator;
10
- }
11
- });
12
- Object.defineProperty(exports, "DrawerLayoutLocator", {
13
- enumerable: true,
14
- get: function () {
15
- return _DrawerLayoutLocator.DrawerLayoutLocator;
16
- }
17
- });
18
- Object.defineProperty(exports, "DrawerTrayLocator", {
19
- enumerable: true,
20
- get: function () {
21
- return _DrawerLayoutLocator.DrawerTrayLocator;
22
- }
23
- });
24
- exports.default = void 0;
25
- var _DrawerLayoutLocator = require("./DrawerLayoutLocator");
26
- /*
27
- * The MIT License (MIT)
28
- *
29
- * Copyright (c) 2015 - present Instructure, Inc.
30
- *
31
- * Permission is hereby granted, free of charge, to any person obtaining a copy
32
- * of this software and associated documentation files (the "Software"), to deal
33
- * in the Software without restriction, including without limitation the rights
34
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
35
- * copies of the Software, and to permit persons to whom the Software is
36
- * furnished to do so, subject to the following conditions:
37
- *
38
- * The above copyright notice and this permission notice shall be included in all
39
- * copies or substantial portions of the Software.
40
- *
41
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
42
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
43
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
44
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
45
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
46
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
47
- * SOFTWARE.
48
- */
49
- var _default = exports.default = _DrawerLayoutLocator.DrawerLayoutLocator;
@@ -1,30 +0,0 @@
1
- /*
2
- * The MIT License (MIT)
3
- *
4
- * Copyright (c) 2015 - present Instructure, Inc.
5
- *
6
- * Permission is hereby granted, free of charge, to any person obtaining a copy
7
- * of this software and associated documentation files (the "Software"), to deal
8
- * in the Software without restriction, including without limitation the rights
9
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
- * copies of the Software, and to permit persons to whom the Software is
11
- * furnished to do so, subject to the following conditions:
12
- *
13
- * The above copyright notice and this permission notice shall be included in all
14
- * copies or substantial portions of the Software.
15
- *
16
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
- * SOFTWARE.
23
- */
24
-
25
- import { locator } from '@instructure/ui-test-locator'
26
-
27
- import { DrawerContent } from './index'
28
-
29
- // @ts-expect-error ts-migrate(2339) FIXME: Property 'selector' does not exist on type 'typeof... Remove this comment to see the full error message
30
- export const DrawerContentLocator = locator(DrawerContent.selector)
@@ -1,30 +0,0 @@
1
- /*
2
- * The MIT License (MIT)
3
- *
4
- * Copyright (c) 2015 - present Instructure, Inc.
5
- *
6
- * Permission is hereby granted, free of charge, to any person obtaining a copy
7
- * of this software and associated documentation files (the "Software"), to deal
8
- * in the Software without restriction, including without limitation the rights
9
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
- * copies of the Software, and to permit persons to whom the Software is
11
- * furnished to do so, subject to the following conditions:
12
- *
13
- * The above copyright notice and this permission notice shall be included in all
14
- * copies or substantial portions of the Software.
15
- *
16
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
- * SOFTWARE.
23
- */
24
-
25
- import { locator } from '@instructure/ui-test-locator'
26
-
27
- import { DrawerTray } from './index'
28
-
29
- // @ts-ignore: property 'selector' does not exist on typeof DrawerTray
30
- export const DrawerTrayLocator = locator(DrawerTray.selector)
@@ -1,30 +0,0 @@
1
- /*
2
- * The MIT License (MIT)
3
- *
4
- * Copyright (c) 2015 - present Instructure, Inc.
5
- *
6
- * Permission is hereby granted, free of charge, to any person obtaining a copy
7
- * of this software and associated documentation files (the "Software"), to deal
8
- * in the Software without restriction, including without limitation the rights
9
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
- * copies of the Software, and to permit persons to whom the Software is
11
- * furnished to do so, subject to the following conditions:
12
- *
13
- * The above copyright notice and this permission notice shall be included in all
14
- * copies or substantial portions of the Software.
15
- *
16
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
- * SOFTWARE.
23
- */
24
-
25
- import { DrawerLayoutLocator } from './DrawerLayoutLocator'
26
-
27
- export { DrawerContentLocator, DrawerTrayLocator } from './DrawerLayoutLocator'
28
-
29
- export { DrawerLayoutLocator }
30
- export default DrawerLayoutLocator