@universal-material/web 3.0.145 → 3.0.146
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/custom-elements.json +8351 -8351
- package/package.json +1 -1
- package/shared/base.styles.js +4 -4
- package/shared/base.styles.js.map +1 -1
package/package.json
CHANGED
package/shared/base.styles.js
CHANGED
|
@@ -2,6 +2,7 @@ import { css } from 'lit';
|
|
|
2
2
|
export const styles = css `
|
|
3
3
|
:host,
|
|
4
4
|
* {
|
|
5
|
+
--_focus-ring-color: var(--u-focus-ring-color, var(--u-color-secondary, rgb(98, 91, 113)));
|
|
5
6
|
--_focus-ring-outline-offset: var(--u-focus-ring-outline-offset, 2px);
|
|
6
7
|
font-family: var(--u-font-family, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
|
|
7
8
|
box-sizing: border-box;
|
|
@@ -10,7 +11,6 @@ export const styles = css `
|
|
|
10
11
|
|
|
11
12
|
:host(.force-focus-ring) .focus-ring,
|
|
12
13
|
.focus-ring:focus-visible {
|
|
13
|
-
--_color-primary: var(--u-color-primary, rgb(103, 80, 164));
|
|
14
14
|
animation: u-focus-pulse 500ms ease;
|
|
15
15
|
animation-fill-mode: forwards;
|
|
16
16
|
outline-offset: var(--_focus-ring-outline-offset);
|
|
@@ -18,13 +18,13 @@ export const styles = css `
|
|
|
18
18
|
|
|
19
19
|
@keyframes u-focus-pulse {
|
|
20
20
|
0% {
|
|
21
|
-
outline: 0 solid var(--
|
|
21
|
+
outline: 0 solid var(--_focus-ring-color);
|
|
22
22
|
}
|
|
23
23
|
50% {
|
|
24
|
-
outline: 6px solid var(--
|
|
24
|
+
outline: 6px solid var(--_focus-ring-color);
|
|
25
25
|
}
|
|
26
26
|
100% {
|
|
27
|
-
outline: 4px solid var(--
|
|
27
|
+
outline: 4px solid var(--_focus-ring-color);
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.styles.js","sourceRoot":"","sources":["../../src/shared/base.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BzB,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const styles = css `\n :host,\n * {\n --_focus-ring-outline-offset: var(--u-focus-ring-outline-offset, 2px);\n font-family: var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n box-sizing: border-box;\n outline: 0;\n }\n\n :host(.force-focus-ring) .focus-ring,\n .focus-ring:focus-visible {\n
|
|
1
|
+
{"version":3,"file":"base.styles.js","sourceRoot":"","sources":["../../src/shared/base.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BzB,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const styles = css `\n :host,\n * {\n --_focus-ring-color: var(--u-focus-ring-color, var(--u-color-secondary, rgb(98, 91, 113)));\n --_focus-ring-outline-offset: var(--u-focus-ring-outline-offset, 2px);\n font-family: var(--u-font-family, system-ui, -apple-system, \"Segoe UI\", Roboto, \"Helvetica Neue\", \"Noto Sans\", \"Liberation Sans\", Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\");\n box-sizing: border-box;\n outline: 0;\n }\n\n :host(.force-focus-ring) .focus-ring,\n .focus-ring:focus-visible {\n animation: u-focus-pulse 500ms ease;\n animation-fill-mode: forwards;\n outline-offset: var(--_focus-ring-outline-offset);\n }\n\n @keyframes u-focus-pulse {\n 0% {\n outline: 0 solid var(--_focus-ring-color);\n }\n 50% {\n outline: 6px solid var(--_focus-ring-color);\n }\n 100% {\n outline: 4px solid var(--_focus-ring-color);\n }\n }\n`;\n"]}
|