@primer/view-components 0.28.0-rc.22557eac → 0.28.0-rc.3edef6b8
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.
@@ -378,8 +378,10 @@ _SelectPanelElement_waitForCondition = function _SelectPanelElement_waitForCondi
|
|
378
378
|
}
|
379
379
|
else {
|
380
380
|
const mutationObserver = new MutationObserver(() => {
|
381
|
-
|
382
|
-
|
381
|
+
if (condition()) {
|
382
|
+
body();
|
383
|
+
mutationObserver.disconnect();
|
384
|
+
}
|
383
385
|
});
|
384
386
|
mutationObserver.observe(this, { childList: true, subtree: true });
|
385
387
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@primer/view-components",
|
3
|
-
"version": "0.28.0-rc.
|
3
|
+
"version": "0.28.0-rc.3edef6b8",
|
4
4
|
"description": "ViewComponents for the Primer Design System",
|
5
5
|
"main": "app/assets/javascripts/primer_view_components.js",
|
6
6
|
"module": "app/components/primer/primer.js",
|