@brightspace-ui/core 3.211.0 → 3.213.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.
- package/components/tabs/tabs.js +0 -1
- package/helpers/README.md +0 -11
- package/package.json +1 -1
- package/helpers/queueMicrotask.js +0 -5
package/components/tabs/tabs.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import '../colors/colors.js';
|
|
2
2
|
import '../icons/icon.js';
|
|
3
|
-
import '../../helpers/queueMicrotask.js';
|
|
4
3
|
import './tab-internal.js';
|
|
5
4
|
import { css, html, LitElement, unsafeCSS } from 'lit';
|
|
6
5
|
import { cssEscape, findComposedAncestor, getOffsetParent, isVisible } from '../../helpers/dom.js';
|
package/helpers/README.md
CHANGED
|
@@ -253,17 +253,6 @@ const plugins = getPlugins('foo-plugins');
|
|
|
253
253
|
const plugin = tryGetPluginByKey('foo-plugins', 'key-1');
|
|
254
254
|
```
|
|
255
255
|
|
|
256
|
-
## queueMicrotask
|
|
257
|
-
|
|
258
|
-
A polyfill for [queueMicrotask](https://developer.mozilla.org/en-US/docs/Web/API/WindowOrWorkerGlobalScope/queueMicrotask). For more information on microtasks, read [this article from Mozilla](https://developer.mozilla.org/en-US/docs/Web/API/HTML_DOM_API/Microtask_guide).
|
|
259
|
-
|
|
260
|
-
```js
|
|
261
|
-
import '@brightspace-ui/core/helpers/queueMicrotask.js';
|
|
262
|
-
queueMicrotask(() => {
|
|
263
|
-
// do some work
|
|
264
|
-
});
|
|
265
|
-
```
|
|
266
|
-
|
|
267
256
|
## requestIdleCallback
|
|
268
257
|
|
|
269
258
|
A simple shim for [requestIdleCallback](https://www.w3.org/TR/requestidlecallback/#the-requestidlecallback-method) and [cancelIdleCallback](https://www.w3.org/TR/requestidlecallback/#the-cancelidlecallback-method) that transparently falls back to `setTimeout` if it's not natively supported.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.213.0",
|
|
4
4
|
"description": "A collection of accessible, free, open-source web components for building Brightspace applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": "https://github.com/BrightspaceUI/core.git",
|