@ni/nimble-components 1.0.0-beta.112 → 1.0.0-beta.113

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,10 @@
1
+ /**
2
+ * Allows test code to wait for components to complete pending asynchronous updates that resulted
3
+ * from DOM interactions like property or attribute changes.
4
+ */
5
+ export declare const waitForUpdatesAsync: () => Promise<void>;
6
+ /**
7
+ * Allows test code to force components to synchronously complete normally asynchronous pending
8
+ * updates that resulted from DOM interactions like property or attribute changes.
9
+ */
10
+ export declare const processUpdates: () => void;
@@ -0,0 +1,12 @@
1
+ import { DOM } from '@microsoft/fast-element';
2
+ /**
3
+ * Allows test code to wait for components to complete pending asynchronous updates that resulted
4
+ * from DOM interactions like property or attribute changes.
5
+ */
6
+ export const waitForUpdatesAsync = async () => DOM.nextUpdate();
7
+ /**
8
+ * Allows test code to force components to synchronously complete normally asynchronous pending
9
+ * updates that resulted from DOM interactions like property or attribute changes.
10
+ */
11
+ export const processUpdates = () => DOM.processUpdates();
12
+ //# sourceMappingURL=async-helpers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"async-helpers.js","sourceRoot":"","sources":["../../../src/testing/async-helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAE9C;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,KAAK,IAAmB,EAAE,CAAC,GAAG,CAAC,UAAU,EAAE,CAAC;AAE/E;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,GAAS,EAAE,CAAC,GAAG,CAAC,cAAc,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ni/nimble-components",
3
- "version": "1.0.0-beta.112",
3
+ "version": "1.0.0-beta.113",
4
4
  "description": "Styled web components for the NI Nimble Design System",
5
5
  "scripts": {
6
6
  "build": "npm run build-components && npm run build-storybook",
@@ -1,4 +0,0 @@
1
- /**
2
- * Allows test code to wait for the render update cycle of the components.
3
- */
4
- export declare const domNextUpdate: () => Promise<void>;
@@ -1,6 +0,0 @@
1
- import { DOM } from '@microsoft/fast-element';
2
- /**
3
- * Allows test code to wait for the render update cycle of the components.
4
- */
5
- export const domNextUpdate = async () => DOM.nextUpdate();
6
- //# sourceMappingURL=dom-next-update.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dom-next-update.js","sourceRoot":"","sources":["../../../src/testing/dom-next-update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAE9C;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,KAAK,IAAmB,EAAE,CAAC,GAAG,CAAC,UAAU,EAAE,CAAC"}