@brightspace-ui/core 2.50.0 → 2.50.1
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.
|
@@ -3,6 +3,11 @@ import { css } from 'lit';
|
|
|
3
3
|
import { dedupeMixin } from '@open-wc/dedupe-mixin';
|
|
4
4
|
import { RtlMixin } from '../../mixins/rtl-mixin.js';
|
|
5
5
|
|
|
6
|
+
// DE50056: starting in Safari 16, the pulsing animation causes FACE
|
|
7
|
+
// (and possibly elsewhere) to render a blank page
|
|
8
|
+
const isSafari = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
|
|
9
|
+
const animation = isSafari ? css`none` : css`loadingPulse 1.8s linear infinite`;
|
|
10
|
+
|
|
6
11
|
export const skeletonStyles = css`
|
|
7
12
|
@keyframes loadingPulse {
|
|
8
13
|
0% { background-color: var(--d2l-color-sylvite); }
|
|
@@ -14,7 +19,7 @@ export const skeletonStyles = css`
|
|
|
14
19
|
opacity: 0.999;
|
|
15
20
|
}
|
|
16
21
|
:host([skeleton]) .d2l-skeletize::before {
|
|
17
|
-
animation:
|
|
22
|
+
animation: ${animation};
|
|
18
23
|
background-color: var(--d2l-color-sylvite);
|
|
19
24
|
border-radius: 0.2rem;
|
|
20
25
|
bottom: 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "2.50.
|
|
3
|
+
"version": "2.50.1",
|
|
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",
|
|
@@ -52,11 +52,7 @@
|
|
|
52
52
|
"axe-core": "^4",
|
|
53
53
|
"chalk": "^5",
|
|
54
54
|
"eslint": "^8",
|
|
55
|
-
"eslint-config-brightspace": "^0.
|
|
56
|
-
"eslint-plugin-html": "^7",
|
|
57
|
-
"eslint-plugin-import": "^2",
|
|
58
|
-
"eslint-plugin-lit": "^1",
|
|
59
|
-
"eslint-plugin-sort-class-members": "^1",
|
|
55
|
+
"eslint-config-brightspace": "^0.19",
|
|
60
56
|
"lit-analyzer": "^1",
|
|
61
57
|
"messageformat-validator": "^2",
|
|
62
58
|
"node-sass": "^7",
|