@ariakit/test 0.2.5 → 0.3.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.
Files changed (165) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/cjs/__chunks/473V5JUA.cjs +19 -0
  3. package/cjs/__chunks/645PZZGM.cjs +13 -0
  4. package/cjs/__chunks/6PJ6QG4X.cjs +204 -0
  5. package/cjs/__chunks/6WHWNYHF.cjs +56 -0
  6. package/cjs/__chunks/CR7E273F.cjs +70 -0
  7. package/cjs/__chunks/{2V5PIRJZ.cjs → CVZQHCPZ.cjs} +67 -67
  8. package/cjs/__chunks/HNXGMK5P.cjs +35 -0
  9. package/cjs/__chunks/J6ZZZ7OL.cjs +12 -0
  10. package/cjs/__chunks/{LUIPCXQX.cjs → MWZXO7MI.cjs} +45 -42
  11. package/cjs/__chunks/NUOZZLPY.cjs +29 -0
  12. package/cjs/__chunks/OUXW5FPV.cjs +125 -0
  13. package/cjs/__chunks/R25SVNFL.cjs +94 -0
  14. package/cjs/__chunks/R7VOUI26.cjs +32 -0
  15. package/cjs/__chunks/SSTGZXPB.cjs +57 -0
  16. package/cjs/__chunks/YJVLDF2F.cjs +68 -0
  17. package/cjs/__utils.d.ts +6 -3
  18. package/cjs/blur.cjs +4 -6
  19. package/cjs/blur.d.ts +1 -2
  20. package/cjs/click.cjs +10 -12
  21. package/cjs/click.d.ts +1 -2
  22. package/cjs/dispatch.cjs +8 -0
  23. package/cjs/dispatch.d.ts +9 -0
  24. package/cjs/focus.cjs +4 -6
  25. package/cjs/focus.d.ts +1 -2
  26. package/cjs/hover.cjs +5 -7
  27. package/cjs/hover.d.ts +1 -2
  28. package/cjs/index.cjs +17 -75
  29. package/cjs/index.d.ts +2 -5
  30. package/cjs/mouse-down.cjs +6 -8
  31. package/cjs/mouse-down.d.ts +1 -2
  32. package/cjs/mouse-up.cjs +4 -5
  33. package/cjs/mouse-up.d.ts +1 -2
  34. package/cjs/press.cjs +8 -10
  35. package/cjs/press.d.ts +0 -1
  36. package/cjs/query.cjs +9 -0
  37. package/cjs/query.d.ts +3989 -0
  38. package/cjs/react.cjs +89 -0
  39. package/cjs/react.d.ts +7 -0
  40. package/cjs/select.cjs +10 -12
  41. package/cjs/select.d.ts +1 -2
  42. package/cjs/sleep.cjs +3 -4
  43. package/cjs/tap.cjs +11 -13
  44. package/cjs/tap.d.ts +1 -2
  45. package/cjs/tsconfig.build.tsbuildinfo +1 -1
  46. package/cjs/type.cjs +6 -8
  47. package/cjs/type.d.ts +0 -1
  48. package/cjs/wait-for.cjs +3 -2
  49. package/cjs/wait-for.d.ts +2 -1
  50. package/dispatch/package.json +8 -0
  51. package/esm/__chunks/{6PY4HXVO.js → 2YBPSAHP.js} +69 -69
  52. package/esm/__chunks/33MQDYWJ.js +125 -0
  53. package/esm/__chunks/45H4QFE4.js +94 -0
  54. package/esm/__chunks/4NZZR22G.js +35 -0
  55. package/esm/__chunks/7I22ZP6R.js +13 -0
  56. package/esm/__chunks/BKSZ7WES.js +204 -0
  57. package/esm/__chunks/MOHPNQYM.js +70 -0
  58. package/esm/__chunks/PGGOW3IT.js +57 -0
  59. package/esm/__chunks/SKXK6BOG.js +29 -0
  60. package/esm/__chunks/WWAF2MEB.js +12 -0
  61. package/esm/__chunks/{SWUQE4WB.js → X5N4V7NJ.js} +46 -43
  62. package/esm/__chunks/Y4VDXWJ6.js +32 -0
  63. package/esm/__chunks/YXZMMBB6.js +19 -0
  64. package/esm/__chunks/ZJJNX53K.js +68 -0
  65. package/esm/__chunks/ZU6UY6LZ.js +56 -0
  66. package/esm/__utils.d.ts +6 -3
  67. package/esm/blur.d.ts +1 -2
  68. package/esm/blur.js +3 -5
  69. package/esm/click.d.ts +1 -2
  70. package/esm/click.js +9 -11
  71. package/esm/dispatch.d.ts +9 -0
  72. package/esm/dispatch.js +8 -0
  73. package/esm/focus.d.ts +1 -2
  74. package/esm/focus.js +3 -5
  75. package/esm/hover.d.ts +1 -2
  76. package/esm/hover.js +4 -6
  77. package/esm/index.d.ts +2 -5
  78. package/esm/index.js +29 -87
  79. package/esm/mouse-down.d.ts +1 -2
  80. package/esm/mouse-down.js +5 -7
  81. package/esm/mouse-up.d.ts +1 -2
  82. package/esm/mouse-up.js +3 -4
  83. package/esm/press.d.ts +0 -1
  84. package/esm/press.js +7 -9
  85. package/esm/query.d.ts +3989 -0
  86. package/esm/query.js +9 -0
  87. package/esm/react.d.ts +7 -0
  88. package/esm/react.js +89 -0
  89. package/esm/select.d.ts +1 -2
  90. package/esm/select.js +9 -11
  91. package/esm/sleep.js +2 -3
  92. package/esm/tap.d.ts +1 -2
  93. package/esm/tap.js +10 -12
  94. package/esm/tsconfig.build.tsbuildinfo +1 -1
  95. package/esm/type.d.ts +0 -1
  96. package/esm/type.js +5 -7
  97. package/esm/wait-for.d.ts +2 -1
  98. package/esm/wait-for.js +2 -1
  99. package/package.json +21 -24
  100. package/query/package.json +8 -0
  101. package/react/package.json +8 -0
  102. package/act/package.json +0 -8
  103. package/cjs/__chunks/3NIZQX5J.cjs +0 -6
  104. package/cjs/__chunks/3WW644T7.cjs +0 -20
  105. package/cjs/__chunks/5F5PNQCC.cjs +0 -22
  106. package/cjs/__chunks/7BZFO6FC.cjs +0 -12
  107. package/cjs/__chunks/7RUXTAPP.cjs +0 -16
  108. package/cjs/__chunks/B4VP2LEU.cjs +0 -28
  109. package/cjs/__chunks/BHNBCXUN.cjs +0 -33
  110. package/cjs/__chunks/EGF4KWUK.cjs +0 -64
  111. package/cjs/__chunks/HGTTGPFK.cjs +0 -54
  112. package/cjs/__chunks/JY5DGPUE.cjs +0 -14
  113. package/cjs/__chunks/KRQVK4KQ.cjs +0 -38
  114. package/cjs/__chunks/LFNIGEB6.cjs +0 -50
  115. package/cjs/__chunks/MQA5IB4L.cjs +0 -6
  116. package/cjs/__chunks/Q7PN3HIB.cjs +0 -121
  117. package/cjs/__chunks/SYQ5J5KP.cjs +0 -32
  118. package/cjs/__chunks/VIKUJSTX.cjs +0 -83
  119. package/cjs/act.cjs +0 -8
  120. package/cjs/act.d.ts +0 -1
  121. package/cjs/fire-event.cjs +0 -9
  122. package/cjs/fire-event.d.ts +0 -3
  123. package/cjs/polyfills.cjs +0 -3
  124. package/cjs/polyfills.d.ts +0 -1
  125. package/cjs/render.cjs +0 -9
  126. package/cjs/render.d.ts +0 -5
  127. package/cjs/screen.cjs +0 -55
  128. package/cjs/screen.d.ts +0 -26
  129. package/cjs/within.cjs +0 -7
  130. package/cjs/within.d.ts +0 -1
  131. package/esm/__chunks/2OZA4WAZ.js +0 -50
  132. package/esm/__chunks/2RHTJFSK.js +0 -38
  133. package/esm/__chunks/3C72DPE2.js +0 -54
  134. package/esm/__chunks/4A3YKZRA.js +0 -121
  135. package/esm/__chunks/5JPM5LQX.js +0 -6
  136. package/esm/__chunks/5PINJ4MD.js +0 -16
  137. package/esm/__chunks/AEOE57TZ.js +0 -33
  138. package/esm/__chunks/EVYPE6ZJ.js +0 -32
  139. package/esm/__chunks/EX5WPJOU.js +0 -64
  140. package/esm/__chunks/JTFRQL3H.js +0 -83
  141. package/esm/__chunks/LJWZLI6L.js +0 -14
  142. package/esm/__chunks/OQYWQML5.js +0 -12
  143. package/esm/__chunks/OSCTTZUZ.js +0 -28
  144. package/esm/__chunks/QA3ZS6S2.js +0 -6
  145. package/esm/__chunks/R7IYW63J.js +0 -22
  146. package/esm/__chunks/ZEO5Q6UD.js +0 -20
  147. package/esm/act.d.ts +0 -1
  148. package/esm/act.js +0 -8
  149. package/esm/fire-event.d.ts +0 -3
  150. package/esm/fire-event.js +0 -9
  151. package/esm/polyfills.d.ts +0 -1
  152. package/esm/polyfills.js +0 -3
  153. package/esm/render.d.ts +0 -5
  154. package/esm/render.js +0 -9
  155. package/esm/screen.d.ts +0 -26
  156. package/esm/screen.js +0 -55
  157. package/esm/within.d.ts +0 -1
  158. package/esm/within.js +0 -7
  159. package/fire-event/package.json +0 -8
  160. package/polyfills/package.json +0 -8
  161. package/render/package.json +0 -8
  162. package/screen/package.json +0 -8
  163. package/within/package.json +0 -8
  164. /package/cjs/__chunks/{AYRPODWR.cjs → IDMD7IDF.cjs} +0 -0
  165. /package/esm/__chunks/{PNBZ5NXH.js → 36HVAQ4Z.js} +0 -0
@@ -1,28 +0,0 @@
1
- import {
2
- fireEvent
3
- } from "./2RHTJFSK.js";
4
- import {
5
- act
6
- } from "./ZEO5Q6UD.js";
7
-
8
- // src/focus.ts
9
- import { getActiveElement } from "@ariakit/core/utils/dom";
10
- import { isFocusable } from "@ariakit/core/utils/focus";
11
- function focus(element) {
12
- if (getActiveElement(element) === element)
13
- return;
14
- if (!isFocusable(element))
15
- return;
16
- const activeElement = getActiveElement(element);
17
- if (activeElement == null ? void 0 : activeElement.dirty) {
18
- fireEvent.change(activeElement);
19
- activeElement.dirty = false;
20
- }
21
- act(() => {
22
- element.focus();
23
- });
24
- }
25
-
26
- export {
27
- focus
28
- };
@@ -1,6 +0,0 @@
1
- // src/within.ts
2
- import { within } from "@testing-library/react";
3
-
4
- export {
5
- within
6
- };
@@ -1,22 +0,0 @@
1
- import {
2
- fireEvent
3
- } from "./2RHTJFSK.js";
4
- import {
5
- __spreadValues
6
- } from "./6XO5G2QR.js";
7
-
8
- // src/mouse-up.ts
9
- import { isVisible } from "@ariakit/core/utils/dom";
10
- function mouseUp(element, options) {
11
- if (!isVisible(element))
12
- return;
13
- const { disabled } = element;
14
- fireEvent.pointerUp(element, options);
15
- if (disabled)
16
- return;
17
- fireEvent.mouseUp(element, __spreadValues({ detail: 1 }, options));
18
- }
19
-
20
- export {
21
- mouseUp
22
- };
@@ -1,20 +0,0 @@
1
- // src/__utils.ts
2
- import { act as reactAct } from "@testing-library/react";
3
- var isBrowser = typeof navigator !== "undefined" && !navigator.userAgent.includes("jsdom") && !("happyDOM" in window);
4
- var noopAct = (callback) => callback();
5
- var act = isBrowser ? noopAct : reactAct;
6
- function queuedMicrotasks() {
7
- return act(() => Promise.resolve());
8
- }
9
- function nextFrame() {
10
- return act(
11
- () => new Promise((resolve) => requestAnimationFrame(() => resolve()))
12
- );
13
- }
14
-
15
- export {
16
- isBrowser,
17
- act,
18
- queuedMicrotasks,
19
- nextFrame
20
- };
package/esm/act.d.ts DELETED
@@ -1 +0,0 @@
1
- export { act } from "./__utils.js";
package/esm/act.js DELETED
@@ -1,8 +0,0 @@
1
- import "./__chunks/PNBZ5NXH.js";
2
- import {
3
- act
4
- } from "./__chunks/ZEO5Q6UD.js";
5
- import "./__chunks/6XO5G2QR.js";
6
- export {
7
- act
8
- };
@@ -1,3 +0,0 @@
1
- import "./polyfills.js";
2
- import { fireEvent } from "@testing-library/dom";
3
- export { fireEvent };
package/esm/fire-event.js DELETED
@@ -1,9 +0,0 @@
1
- import {
2
- fireEvent
3
- } from "./__chunks/2RHTJFSK.js";
4
- import "./__chunks/EVYPE6ZJ.js";
5
- import "./__chunks/ZEO5Q6UD.js";
6
- import "./__chunks/6XO5G2QR.js";
7
- export {
8
- fireEvent
9
- };
@@ -1 +0,0 @@
1
- export {};
package/esm/polyfills.js DELETED
@@ -1,3 +0,0 @@
1
- import "./__chunks/EVYPE6ZJ.js";
2
- import "./__chunks/ZEO5Q6UD.js";
3
- import "./__chunks/6XO5G2QR.js";
package/esm/render.d.ts DELETED
@@ -1,5 +0,0 @@
1
- import "./polyfills.js";
2
- import type { ReactElement } from "react";
3
- import type { RenderOptions } from "@testing-library/react";
4
- declare function customRender(ui: ReactElement, options?: Omit<RenderOptions, "wrapper">): import("@testing-library/react").RenderResult<typeof import("@testing-library/dom/types/queries.js"), HTMLElement, HTMLElement>;
5
- export { customRender as render };
package/esm/render.js DELETED
@@ -1,9 +0,0 @@
1
- import {
2
- customRender
3
- } from "./__chunks/LJWZLI6L.js";
4
- import "./__chunks/EVYPE6ZJ.js";
5
- import "./__chunks/ZEO5Q6UD.js";
6
- import "./__chunks/6XO5G2QR.js";
7
- export {
8
- customRender as render
9
- };
package/esm/screen.d.ts DELETED
@@ -1,26 +0,0 @@
1
- import { screen } from "@testing-library/react";
2
- export { screen };
3
- export declare const getByText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => T) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement);
4
- export declare const getByLabelText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => T) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement);
5
- export declare const getByRole: (<T extends HTMLElement = HTMLElement>(role: import("@testing-library/react").ByRoleMatcher, options?: import("@testing-library/react").ByRoleOptions | undefined) => T) & ((role: import("@testing-library/react").ByRoleMatcher, options?: import("@testing-library/react").ByRoleOptions | undefined) => HTMLElement);
6
- export declare const getByPlaceholderText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => T) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement);
7
- export declare const queryByText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => T | null) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement | null);
8
- export declare const queryByLabelText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => T | null) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement | null);
9
- export declare const queryByRole: (<T extends HTMLElement = HTMLElement>(role: import("@testing-library/react").ByRoleMatcher, options?: import("@testing-library/react").ByRoleOptions | undefined) => T | null) & ((role: import("@testing-library/react").ByRoleMatcher, options?: import("@testing-library/react").ByRoleOptions | undefined) => HTMLElement | null);
10
- export declare const queryByPlaceholderText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => T | null) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement | null);
11
- export declare const findByText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<T>) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>);
12
- export declare const findByLabelText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<T>) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>);
13
- export declare const findByRole: (<T extends HTMLElement = HTMLElement>(role: import("@testing-library/react").ByRoleMatcher, options?: import("@testing-library/react").ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<T>) & ((role: import("@testing-library/react").ByRoleMatcher, options?: import("@testing-library/react").ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>);
14
- export declare const findByPlaceholderText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<T>) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement>);
15
- export declare const getAllByText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => T[]) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement[]);
16
- export declare const getAllByLabelText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => T[]) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement[]);
17
- export declare const getAllByRole: (<T extends HTMLElement = HTMLElement>(role: import("@testing-library/react").ByRoleMatcher, options?: import("@testing-library/react").ByRoleOptions | undefined) => T[]) & ((role: import("@testing-library/react").ByRoleMatcher, options?: import("@testing-library/react").ByRoleOptions | undefined) => HTMLElement[]);
18
- export declare const getAllByPlaceholderText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => T[]) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[]);
19
- export declare const queryAllByText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => T[]) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement[]);
20
- export declare const queryAllByLabelText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => T[]) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined) => HTMLElement[]);
21
- export declare const queryAllByRole: (<T extends HTMLElement = HTMLElement>(role: import("@testing-library/react").ByRoleMatcher, options?: import("@testing-library/react").ByRoleOptions | undefined) => T[]) & ((role: import("@testing-library/react").ByRoleMatcher, options?: import("@testing-library/react").ByRoleOptions | undefined) => HTMLElement[]);
22
- export declare const queryAllByPlaceholderText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => T[]) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[]);
23
- export declare const findAllByText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<T[]>) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>);
24
- export declare const findAllByLabelText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<T[]>) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").SelectorMatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>);
25
- export declare const findAllByRole: (<T extends HTMLElement = HTMLElement>(role: import("@testing-library/react").ByRoleMatcher, options?: import("@testing-library/react").ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<T[]>) & ((role: import("@testing-library/react").ByRoleMatcher, options?: import("@testing-library/react").ByRoleOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>);
26
- export declare const findAllByPlaceholderText: (<T extends HTMLElement = HTMLElement>(id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<T[]>) & ((id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined, waitForElementOptions?: import("@testing-library/react").waitForOptions | undefined) => Promise<HTMLElement[]>);
package/esm/screen.js DELETED
@@ -1,55 +0,0 @@
1
- import {
2
- findAllByLabelText,
3
- findAllByPlaceholderText,
4
- findAllByRole,
5
- findAllByText,
6
- findByLabelText,
7
- findByPlaceholderText,
8
- findByRole,
9
- findByText,
10
- getAllByLabelText,
11
- getAllByPlaceholderText,
12
- getAllByRole,
13
- getAllByText,
14
- getByLabelText,
15
- getByPlaceholderText,
16
- getByRole,
17
- getByText,
18
- queryAllByLabelText,
19
- queryAllByPlaceholderText,
20
- queryAllByRole,
21
- queryAllByText,
22
- queryByLabelText,
23
- queryByPlaceholderText,
24
- queryByRole,
25
- queryByText,
26
- screen
27
- } from "./__chunks/3C72DPE2.js";
28
- import "./__chunks/6XO5G2QR.js";
29
- export {
30
- findAllByLabelText,
31
- findAllByPlaceholderText,
32
- findAllByRole,
33
- findAllByText,
34
- findByLabelText,
35
- findByPlaceholderText,
36
- findByRole,
37
- findByText,
38
- getAllByLabelText,
39
- getAllByPlaceholderText,
40
- getAllByRole,
41
- getAllByText,
42
- getByLabelText,
43
- getByPlaceholderText,
44
- getByRole,
45
- getByText,
46
- queryAllByLabelText,
47
- queryAllByPlaceholderText,
48
- queryAllByRole,
49
- queryAllByText,
50
- queryByLabelText,
51
- queryByPlaceholderText,
52
- queryByRole,
53
- queryByText,
54
- screen
55
- };
package/esm/within.d.ts DELETED
@@ -1 +0,0 @@
1
- export { within } from "@testing-library/react";
package/esm/within.js DELETED
@@ -1,7 +0,0 @@
1
- import {
2
- within
3
- } from "./__chunks/QA3ZS6S2.js";
4
- import "./__chunks/6XO5G2QR.js";
5
- export {
6
- within
7
- };
@@ -1,8 +0,0 @@
1
- {
2
- "name": "@ariakit/test/fire-event",
3
- "private": true,
4
- "sideEffects": false,
5
- "main": "../cjs/fire-event.cjs",
6
- "module": "../esm/fire-event.js",
7
- "types": "../cjs/fire-event.d.ts"
8
- }
@@ -1,8 +0,0 @@
1
- {
2
- "name": "@ariakit/test/polyfills",
3
- "private": true,
4
- "sideEffects": false,
5
- "main": "../cjs/polyfills.cjs",
6
- "module": "../esm/polyfills.js",
7
- "types": "../cjs/polyfills.d.ts"
8
- }
@@ -1,8 +0,0 @@
1
- {
2
- "name": "@ariakit/test/render",
3
- "private": true,
4
- "sideEffects": false,
5
- "main": "../cjs/render.cjs",
6
- "module": "../esm/render.js",
7
- "types": "../cjs/render.d.ts"
8
- }
@@ -1,8 +0,0 @@
1
- {
2
- "name": "@ariakit/test/screen",
3
- "private": true,
4
- "sideEffects": false,
5
- "main": "../cjs/screen.cjs",
6
- "module": "../esm/screen.js",
7
- "types": "../cjs/screen.d.ts"
8
- }
@@ -1,8 +0,0 @@
1
- {
2
- "name": "@ariakit/test/within",
3
- "private": true,
4
- "sideEffects": false,
5
- "main": "../cjs/within.cjs",
6
- "module": "../esm/within.js",
7
- "types": "../cjs/within.d.ts"
8
- }
File without changes
File without changes