@dynatrace/strato-components 1.8.1 → 1.9.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.
- package/buttons/button/Button.css +16 -16
- package/buttons/button/Button.sty.js +4 -4
- package/content/progress/ProgressBar.css +71 -71
- package/content/progress/ProgressBar.sty.js +5 -5
- package/content/progress/ProgressBarIcon.css +2 -2
- package/content/progress/ProgressBarIcon.sty.js +1 -1
- package/content/progress/ProgressBarLabel.css +3 -3
- package/content/progress/ProgressBarLabel.sty.js +1 -1
- package/content/progress/ProgressBarValue.css +5 -5
- package/content/progress/ProgressBarValue.sty.js +1 -1
- package/content/progress/ProgressCircle.css +40 -40
- package/content/progress/ProgressCircle.sty.js +5 -5
- package/content/skeleton/Skeleton.css +6 -6
- package/content/skeleton/Skeleton.sty.js +1 -1
- package/core/components/app-root/AppRoot.css +216 -0
- package/core/components/app-root/AppRoot.js +1 -10
- package/core/components/focus-scope/FocusScope.d.ts +2 -1
- package/core/components/focus-scope/FocusScope.js +2 -1
- package/core/styles/focusRing.css +66 -66
- package/core/styles/focusRing.sty.js +2 -2
- package/core/utils/colorUtils.css +60 -60
- package/core/utils/colorUtils.sty.js +2 -2
- package/esm/buttons/button/Button.css +16 -16
- package/esm/buttons/button/Button.sty.js +4 -4
- package/esm/buttons/button/Button.sty.js.map +1 -1
- package/esm/content/progress/ProgressBar.css +71 -71
- package/esm/content/progress/ProgressBar.sty.js +5 -5
- package/esm/content/progress/ProgressBar.sty.js.map +1 -1
- package/esm/content/progress/ProgressBarIcon.css +2 -2
- package/esm/content/progress/ProgressBarIcon.sty.js +1 -1
- package/esm/content/progress/ProgressBarIcon.sty.js.map +1 -1
- package/esm/content/progress/ProgressBarLabel.css +3 -3
- package/esm/content/progress/ProgressBarLabel.sty.js +1 -1
- package/esm/content/progress/ProgressBarLabel.sty.js.map +1 -1
- package/esm/content/progress/ProgressBarValue.css +5 -5
- package/esm/content/progress/ProgressBarValue.sty.js +1 -1
- package/esm/content/progress/ProgressBarValue.sty.js.map +1 -1
- package/esm/content/progress/ProgressCircle.css +40 -40
- package/esm/content/progress/ProgressCircle.sty.js +5 -5
- package/esm/content/progress/ProgressCircle.sty.js.map +1 -1
- package/esm/content/skeleton/Skeleton.css +6 -6
- package/esm/content/skeleton/Skeleton.sty.js +1 -1
- package/esm/content/skeleton/Skeleton.sty.js.map +1 -1
- package/esm/core/components/app-root/AppRoot.css +216 -0
- package/esm/core/components/app-root/AppRoot.js +1 -10
- package/esm/core/components/app-root/AppRoot.js.map +2 -2
- package/esm/core/components/focus-scope/FocusScope.js +2 -1
- package/esm/core/components/focus-scope/FocusScope.js.map +2 -2
- package/esm/core/styles/focusRing.css +66 -66
- package/esm/core/styles/focusRing.sty.js +2 -2
- package/esm/core/styles/focusRing.sty.js.map +1 -1
- package/esm/core/utils/colorUtils.css +60 -60
- package/esm/core/utils/colorUtils.sty.js +2 -2
- package/esm/core/utils/colorUtils.sty.js.map +1 -1
- package/esm/layouts/container/Container.css +4 -4
- package/esm/layouts/container/Container.sty.js +1 -1
- package/esm/layouts/container/Container.sty.js.map +1 -1
- package/esm/layouts/divider/Divider.css +6 -6
- package/esm/layouts/divider/Divider.sty.js +1 -1
- package/esm/layouts/divider/Divider.sty.js.map +1 -1
- package/esm/layouts/surface/Surface.css +39 -39
- package/esm/layouts/surface/Surface.sty.js +2 -2
- package/esm/layouts/surface/Surface.sty.js.map +1 -1
- package/esm/layouts/surface/variables.sty.js +1 -1
- package/esm/layouts/surface/variables.sty.js.map +1 -1
- package/esm/styles/colorUtils.css +60 -60
- package/esm/styles/colorUtils.sty.js +2 -2
- package/esm/styles/colorUtils.sty.js.map +1 -1
- package/esm/styles/container.css +47 -47
- package/esm/styles/container.sty.js +2 -2
- package/esm/styles/container.sty.js.map +1 -1
- package/esm/styles/ellipsis.css +1 -1
- package/esm/styles/ellipsis.sty.js +1 -1
- package/esm/styles/ellipsis.sty.js.map +1 -1
- package/esm/styles/field.css +153 -153
- package/esm/styles/field.sty.js +2 -2
- package/esm/styles/field.sty.js.map +1 -1
- package/esm/styles/sprinkles.css +262 -262
- package/esm/styles/sprinkles.sty.js +1 -1
- package/esm/styles/sprinkles.sty.js.map +1 -1
- package/esm/styles/textStyle.css +8 -8
- package/esm/styles/textStyle.sty.js +1 -1
- package/esm/styles/textStyle.sty.js.map +1 -1
- package/esm/typography/block-quote/Blockquote.css +2 -2
- package/esm/typography/block-quote/Blockquote.sty.js +1 -1
- package/esm/typography/block-quote/Blockquote.sty.js.map +1 -1
- package/esm/typography/code/Code.css +1 -1
- package/esm/typography/code/Code.sty.js +1 -1
- package/esm/typography/code/Code.sty.js.map +1 -1
- package/esm/typography/emphasis/Emphasis.css +1 -1
- package/esm/typography/emphasis/Emphasis.sty.js +1 -1
- package/esm/typography/emphasis/Emphasis.sty.js.map +1 -1
- package/esm/typography/external-link/ExternalLink.css +5 -8
- package/esm/typography/external-link/ExternalLink.js +7 -4
- package/esm/typography/external-link/ExternalLink.js.map +2 -2
- package/esm/typography/external-link/ExternalLink.sty.js +2 -2
- package/esm/typography/external-link/ExternalLink.sty.js.map +2 -2
- package/esm/typography/heading/Heading.css +7 -7
- package/esm/typography/heading/Heading.sty.js +1 -1
- package/esm/typography/heading/Heading.sty.js.map +1 -1
- package/esm/typography/highlight/Highlight.css +2 -2
- package/esm/typography/highlight/Highlight.sty.js +2 -2
- package/esm/typography/highlight/Highlight.sty.js.map +1 -1
- package/esm/typography/link/Link.css +4 -4
- package/esm/typography/link/Link.sty.js +1 -1
- package/esm/typography/link/Link.sty.js.map +1 -1
- package/esm/typography/list/List.css +4 -4
- package/esm/typography/list/List.sty.js +2 -2
- package/esm/typography/list/List.sty.js.map +1 -1
- package/esm/typography/paragraph/Paragraph.css +3 -3
- package/esm/typography/paragraph/Paragraph.sty.js +1 -1
- package/esm/typography/paragraph/Paragraph.sty.js.map +1 -1
- package/esm/typography/strikethrough/Strikethrough.css +1 -1
- package/esm/typography/strikethrough/Strikethrough.sty.js +1 -1
- package/esm/typography/strikethrough/Strikethrough.sty.js.map +1 -1
- package/esm/typography/strong/Strong.css +1 -1
- package/esm/typography/strong/Strong.sty.js +1 -1
- package/esm/typography/strong/Strong.sty.js.map +1 -1
- package/esm/typography/text/Text.css +3 -3
- package/esm/typography/text/Text.sty.js +1 -1
- package/esm/typography/text/Text.sty.js.map +1 -1
- package/esm/typography/text-ellipsis/TextEllipsis.css +6 -6
- package/esm/typography/text-ellipsis/TextEllipsis.sty.js +2 -2
- package/esm/typography/text-ellipsis/TextEllipsis.sty.js.map +1 -1
- package/layouts/container/Container.css +4 -4
- package/layouts/container/Container.sty.js +1 -1
- package/layouts/divider/Divider.css +6 -6
- package/layouts/divider/Divider.sty.js +1 -1
- package/layouts/surface/Surface.css +39 -39
- package/layouts/surface/Surface.sty.js +2 -2
- package/layouts/surface/variables.sty.js +1 -1
- package/package.json +3 -3
- package/styles/colorUtils.css +60 -60
- package/styles/colorUtils.sty.js +2 -2
- package/styles/container.css +47 -47
- package/styles/container.sty.js +2 -2
- package/styles/ellipsis.css +1 -1
- package/styles/ellipsis.sty.js +1 -1
- package/styles/field.css +153 -153
- package/styles/field.sty.js +2 -2
- package/styles/sprinkles.css +262 -262
- package/styles/sprinkles.sty.js +1 -1
- package/styles/textStyle.css +8 -8
- package/styles/textStyle.sty.js +1 -1
- package/typography/block-quote/Blockquote.css +2 -2
- package/typography/block-quote/Blockquote.sty.js +1 -1
- package/typography/code/Code.css +1 -1
- package/typography/code/Code.sty.js +1 -1
- package/typography/emphasis/Emphasis.css +1 -1
- package/typography/emphasis/Emphasis.sty.js +1 -1
- package/typography/external-link/ExternalLink.css +5 -8
- package/typography/external-link/ExternalLink.js +7 -4
- package/typography/external-link/ExternalLink.sty.d.ts +1 -1
- package/typography/external-link/ExternalLink.sty.js +2 -2
- package/typography/heading/Heading.css +7 -7
- package/typography/heading/Heading.sty.js +1 -1
- package/typography/highlight/Highlight.css +2 -2
- package/typography/highlight/Highlight.sty.js +2 -2
- package/typography/link/Link.css +4 -4
- package/typography/link/Link.sty.js +1 -1
- package/typography/list/List.css +4 -4
- package/typography/list/List.sty.js +2 -2
- package/typography/paragraph/Paragraph.css +3 -3
- package/typography/paragraph/Paragraph.sty.js +1 -1
- package/typography/strikethrough/Strikethrough.css +1 -1
- package/typography/strikethrough/Strikethrough.sty.js +1 -1
- package/typography/strong/Strong.css +1 -1
- package/typography/strong/Strong.sty.js +1 -1
- package/typography/text/Text.css +3 -3
- package/typography/text/Text.sty.js +1 -1
- package/typography/text-ellipsis/TextEllipsis.css +6 -6
- package/typography/text-ellipsis/TextEllipsis.sty.js +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@keyframes _1a1ozfd0-1-
|
|
1
|
+
@keyframes _1a1ozfd0-1-9-1 {
|
|
2
2
|
0% {
|
|
3
3
|
transform: translateX(-100%) scaleX(0);
|
|
4
4
|
}
|
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
transform: translateX(100%) scaleX(1.5);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
._1a1ozfd1-1-
|
|
9
|
+
._1a1ozfd1-1-9-1 {
|
|
10
10
|
position: relative;
|
|
11
11
|
overflow: hidden;
|
|
12
12
|
background-color: var(--dt-colors-background-field-neutral-disabled, #e4e5eb80);
|
|
13
13
|
}
|
|
14
|
-
._1a1ozfd1-1-
|
|
14
|
+
._1a1ozfd1-1-9-1:after {
|
|
15
15
|
content: "";
|
|
16
16
|
position: absolute;
|
|
17
17
|
top: 0;
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
background-color: var(--dt-colors-background-field-neutral-disabled, #e4e5eb80);
|
|
22
22
|
animation-iteration-count: infinite;
|
|
23
23
|
transform-origin: left center;
|
|
24
|
-
animation-name: _1a1ozfd0-1-
|
|
24
|
+
animation-name: _1a1ozfd0-1-9-1;
|
|
25
25
|
animation-duration: var(--dt-timings-slow-gentle, 800ms);
|
|
26
26
|
animation-timing-function: var(--dt-easings-fast-in-slow-out, cubic-bezier(0.4, 0, 0.2, 1));
|
|
27
27
|
}
|
|
28
|
-
._1a1ozfd2-1-
|
|
28
|
+
._1a1ozfd2-1-9-1 {
|
|
29
29
|
border-radius: var(--dt-borders-radius-container-subdued, 8px);
|
|
30
30
|
}
|
|
31
|
-
._1a1ozfd3-1-
|
|
31
|
+
._1a1ozfd3-1-9-1 {
|
|
32
32
|
border-radius: 9999px;
|
|
33
33
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./Skeleton.css";
|
|
2
2
|
import { createRuntimeFn as _7a468 } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
3
|
-
var skeletonPlaceholderCSS = _7a468({ defaultClassName: "_1a1ozfd1-1-
|
|
3
|
+
var skeletonPlaceholderCSS = _7a468({ defaultClassName: "_1a1ozfd1-1-9-1", variantClassNames: { variant: { "default": "_1a1ozfd2-1-9-1", rounded: "_1a1ozfd3-1-9-1" } }, defaultVariants: {}, compoundVariants: [] });
|
|
4
4
|
export {
|
|
5
5
|
skeletonPlaceholderCSS
|
|
6
6
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/content/skeleton/Skeleton.css.ts"],
|
|
4
|
-
"sourcesContent": ["import './Skeleton.css';\nimport { createRuntimeFn as _7a468 } from '@vanilla-extract/recipes/createRuntimeFn';\nexport var skeletonPlaceholderCSS = _7a468({defaultClassName:'_1a1ozfd1-1-
|
|
4
|
+
"sourcesContent": ["import './Skeleton.css';\nimport { createRuntimeFn as _7a468 } from '@vanilla-extract/recipes/createRuntimeFn';\nexport var skeletonPlaceholderCSS = _7a468({defaultClassName:'_1a1ozfd1-1-9-1',variantClassNames:{variant:{'default':'_1a1ozfd2-1-9-1',rounded:'_1a1ozfd3-1-9-1'}},defaultVariants:{},compoundVariants:[]});"],
|
|
5
5
|
"mappings": "AAAA,OAAO;AACP,SAAS,mBAAmB,cAAc;AACnC,IAAI,yBAAyB,OAAO,EAAC,kBAAiB,mBAAkB,mBAAkB,EAAC,SAAQ,EAAC,WAAU,mBAAkB,SAAQ,kBAAiB,EAAC,GAAE,iBAAgB,CAAC,GAAE,kBAAiB,CAAC,EAAC,CAAC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,3 +1,219 @@
|
|
|
1
|
+
@font-face {
|
|
2
|
+
font-style: normal;
|
|
3
|
+
font-weight: 100;
|
|
4
|
+
font-display: swap;
|
|
5
|
+
src: url(https://dt-cdn.net/fonts/DTFlow-Thin-v002.woff2) format('woff2');
|
|
6
|
+
font-family: DynatraceFlow;
|
|
7
|
+
}
|
|
8
|
+
@font-face {
|
|
9
|
+
font-style: normal;
|
|
10
|
+
font-weight: 200;
|
|
11
|
+
font-display: swap;
|
|
12
|
+
src: url(https://dt-cdn.net/fonts/DTFlow-Extralight-v002.woff2) format('woff2');
|
|
13
|
+
font-family: DynatraceFlow;
|
|
14
|
+
}
|
|
15
|
+
@font-face {
|
|
16
|
+
font-style: normal;
|
|
17
|
+
font-weight: 300;
|
|
18
|
+
font-display: swap;
|
|
19
|
+
src: url(https://dt-cdn.net/fonts/DTFlow-Light-v002.woff2) format('woff2');
|
|
20
|
+
font-family: DynatraceFlow;
|
|
21
|
+
}
|
|
22
|
+
@font-face {
|
|
23
|
+
font-style: normal;
|
|
24
|
+
font-weight: 400;
|
|
25
|
+
font-display: swap;
|
|
26
|
+
src: url(https://dt-cdn.net/fonts/DTFlow-Regular-v002.woff2) format('woff2');
|
|
27
|
+
font-family: DynatraceFlow;
|
|
28
|
+
}
|
|
29
|
+
@font-face {
|
|
30
|
+
font-style: normal;
|
|
31
|
+
font-weight: 500;
|
|
32
|
+
font-display: swap;
|
|
33
|
+
src: url(https://dt-cdn.net/fonts/DTFlow-Medium-v002.woff2) format('woff2');
|
|
34
|
+
font-family: DynatraceFlow;
|
|
35
|
+
}
|
|
36
|
+
@font-face {
|
|
37
|
+
font-style: normal;
|
|
38
|
+
font-weight: 600;
|
|
39
|
+
font-display: swap;
|
|
40
|
+
src: url(https://dt-cdn.net/fonts/DTFlow-Semibold-v002.woff2) format('woff2');
|
|
41
|
+
font-family: DynatraceFlow;
|
|
42
|
+
}
|
|
43
|
+
@font-face {
|
|
44
|
+
font-style: normal;
|
|
45
|
+
font-weight: 900;
|
|
46
|
+
font-display: swap;
|
|
47
|
+
src: url(https://dt-cdn.net/fonts/DTFlow-Heavy-v002.woff2) format('woff2');
|
|
48
|
+
font-family: DynatraceFlow;
|
|
49
|
+
}
|
|
50
|
+
@font-face {
|
|
51
|
+
font-style: normal;
|
|
52
|
+
font-weight: 400;
|
|
53
|
+
font-display: swap;
|
|
54
|
+
src: url(https://dt-cdn.net/fonts/DTFlowMono-Regular-v003.woff2) format('woff2');
|
|
55
|
+
font-family: DynatraceFlowMono;
|
|
56
|
+
}
|
|
57
|
+
@font-face {
|
|
58
|
+
font-style: normal;
|
|
59
|
+
font-weight: 400;
|
|
60
|
+
font-display: swap;
|
|
61
|
+
src: url(https://dt-cdn.net/fonts/KFOmCnqEu92Fr1Mu7GxKKTU1Kvnz.woff2) format('woff2');
|
|
62
|
+
unicode-range: U+0100-024F;
|
|
63
|
+
unicode-range: U+0259;
|
|
64
|
+
unicode-range: U+1E00-1EFF;
|
|
65
|
+
unicode-range: U+2020;
|
|
66
|
+
unicode-range: U+20A0-20AB;
|
|
67
|
+
unicode-range: U+20AD-20CF;
|
|
68
|
+
unicode-range: U+2113;
|
|
69
|
+
unicode-range: U+2C60-2C7F;
|
|
70
|
+
unicode-range: U+A720-A7FF;
|
|
71
|
+
font-family: Roboto;
|
|
72
|
+
}
|
|
73
|
+
@font-face {
|
|
74
|
+
font-style: normal;
|
|
75
|
+
font-weight: 400;
|
|
76
|
+
font-display: swap;
|
|
77
|
+
src: url(https://dt-cdn.net/fonts/KFOmCnqEu92Fr1Mu4mxKKTU1Kg.woff2) format('woff2');
|
|
78
|
+
unicode-range: U+0000-00FF;
|
|
79
|
+
unicode-range: U+0131;
|
|
80
|
+
unicode-range: U+0152-0153;
|
|
81
|
+
unicode-range: U+02BB-02BC;
|
|
82
|
+
unicode-range: U+02C6;
|
|
83
|
+
unicode-range: U+02DA;
|
|
84
|
+
unicode-range: U+02DC;
|
|
85
|
+
unicode-range: U+2000-206F;
|
|
86
|
+
unicode-range: U+2074;
|
|
87
|
+
unicode-range: U+20AC;
|
|
88
|
+
unicode-range: U+2122;
|
|
89
|
+
unicode-range: U+2191;
|
|
90
|
+
unicode-range: U+2193;
|
|
91
|
+
unicode-range: U+2212;
|
|
92
|
+
unicode-range: U+2215;
|
|
93
|
+
unicode-range: U+FEFF;
|
|
94
|
+
unicode-range: U+FFFD;
|
|
95
|
+
font-family: Roboto;
|
|
96
|
+
}
|
|
97
|
+
@font-face {
|
|
98
|
+
font-style: normal;
|
|
99
|
+
font-weight: 500;
|
|
100
|
+
font-display: swap;
|
|
101
|
+
src: url(https://dt-cdn.net/fonts/KFOlCnqEu92Fr1MmEU9fChc4AMP6lbBP.woff2) format('woff2');
|
|
102
|
+
unicode-range: U+0100-024F;
|
|
103
|
+
unicode-range: U+0259;
|
|
104
|
+
unicode-range: U+1E00-1EFF;
|
|
105
|
+
unicode-range: U+2020;
|
|
106
|
+
unicode-range: U+20A0-20AB;
|
|
107
|
+
unicode-range: U+20AD-20CF;
|
|
108
|
+
unicode-range: U+2113;
|
|
109
|
+
unicode-range: U+2C60-2C7F;
|
|
110
|
+
unicode-range: U+A720-A7FF;
|
|
111
|
+
font-family: Roboto;
|
|
112
|
+
}
|
|
113
|
+
@font-face {
|
|
114
|
+
font-style: normal;
|
|
115
|
+
font-weight: 500;
|
|
116
|
+
font-display: swap;
|
|
117
|
+
src: url(https://dt-cdn.net/fonts/KFOlCnqEu92Fr1MmEU9fBBc4AMP6lQ.woff2) format('woff2');
|
|
118
|
+
unicode-range: U+0000-00FF;
|
|
119
|
+
unicode-range: U+0131;
|
|
120
|
+
unicode-range: U+0152-0153;
|
|
121
|
+
unicode-range: U+02BB-02BC;
|
|
122
|
+
unicode-range: U+02C6;
|
|
123
|
+
unicode-range: U+02DA;
|
|
124
|
+
unicode-range: U+02DC;
|
|
125
|
+
unicode-range: U+2000-206F;
|
|
126
|
+
unicode-range: U+2074;
|
|
127
|
+
unicode-range: U+20AC;
|
|
128
|
+
unicode-range: U+2122;
|
|
129
|
+
unicode-range: U+2191;
|
|
130
|
+
unicode-range: U+2193;
|
|
131
|
+
unicode-range: U+2212;
|
|
132
|
+
unicode-range: U+2215;
|
|
133
|
+
unicode-range: U+FEFF;
|
|
134
|
+
unicode-range: U+FFFD;
|
|
135
|
+
font-family: Roboto;
|
|
136
|
+
}
|
|
137
|
+
@font-face {
|
|
138
|
+
font-style: normal;
|
|
139
|
+
font-weight: 400;
|
|
140
|
+
font-display: swap;
|
|
141
|
+
src: url(https://dt-cdn.net/fonts/L0xTDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vrtSM1J-gEPT5Ese6hmHSZ0me8iUI0lkQ.woff2) format('woff2');
|
|
142
|
+
unicode-range: U+0100-024F;
|
|
143
|
+
unicode-range: U+0259;
|
|
144
|
+
unicode-range: U+1E00-1EFF;
|
|
145
|
+
unicode-range: U+2020;
|
|
146
|
+
unicode-range: U+20A0-20AB;
|
|
147
|
+
unicode-range: U+20AD-20CF;
|
|
148
|
+
unicode-range: U+2113;
|
|
149
|
+
unicode-range: U+2C60-2C7F;
|
|
150
|
+
unicode-range: U+A720-A7FF;
|
|
151
|
+
font-family: Roboto Mono;
|
|
152
|
+
}
|
|
153
|
+
@font-face {
|
|
154
|
+
font-style: normal;
|
|
155
|
+
font-weight: 400;
|
|
156
|
+
font-display: swap;
|
|
157
|
+
src: url(https://dt-cdn.net/fonts/L0xTDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vrtSM1J-gEPT5Ese6hmHSh0me8iUI0.woff2) format('woff2');
|
|
158
|
+
unicode-range: U+0000-00FF;
|
|
159
|
+
unicode-range: U+0131;
|
|
160
|
+
unicode-range: U+0152-0153;
|
|
161
|
+
unicode-range: U+02BB-02BC;
|
|
162
|
+
unicode-range: U+02C6;
|
|
163
|
+
unicode-range: U+02DA;
|
|
164
|
+
unicode-range: U+02DC;
|
|
165
|
+
unicode-range: U+2000-206F;
|
|
166
|
+
unicode-range: U+2074;
|
|
167
|
+
unicode-range: U+20AC;
|
|
168
|
+
unicode-range: U+2122;
|
|
169
|
+
unicode-range: U+2191;
|
|
170
|
+
unicode-range: U+2193;
|
|
171
|
+
unicode-range: U+2212;
|
|
172
|
+
unicode-range: U+2215;
|
|
173
|
+
unicode-range: U+FEFF;
|
|
174
|
+
unicode-range: U+FFFD;
|
|
175
|
+
font-family: Roboto Mono;
|
|
176
|
+
}
|
|
177
|
+
@font-face {
|
|
178
|
+
font-style: normal;
|
|
179
|
+
font-weight: 500;
|
|
180
|
+
font-display: swap;
|
|
181
|
+
src: url(https://dt-cdn.net/fonts/L0xTDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vrtSM1J-gEPT5Ese6hmHSZ0me8iUI0lkQ.woff2) format('woff2');
|
|
182
|
+
unicode-range: U+0100-024F;
|
|
183
|
+
unicode-range: U+0259;
|
|
184
|
+
unicode-range: U+1E00-1EFF;
|
|
185
|
+
unicode-range: U+2020;
|
|
186
|
+
unicode-range: U+20A0-20AB;
|
|
187
|
+
unicode-range: U+20AD-20CF;
|
|
188
|
+
unicode-range: U+2113;
|
|
189
|
+
unicode-range: U+2C60-2C7F;
|
|
190
|
+
unicode-range: U+A720-A7FF;
|
|
191
|
+
font-family: Roboto Mono;
|
|
192
|
+
}
|
|
193
|
+
@font-face {
|
|
194
|
+
font-style: normal;
|
|
195
|
+
font-weight: 500;
|
|
196
|
+
font-display: swap;
|
|
197
|
+
src: url(https://dt-cdn.net/fonts/L0xTDF4xlVMF-BfR8bXMIhJHg45mwgGEFl0_3vrtSM1J-gEPT5Ese6hmHSh0me8iUI0.woff2) format('woff2');
|
|
198
|
+
unicode-range: U+0000-00FF;
|
|
199
|
+
unicode-range: U+0131;
|
|
200
|
+
unicode-range: U+0152-0153;
|
|
201
|
+
unicode-range: U+02BB-02BC;
|
|
202
|
+
unicode-range: U+02C6;
|
|
203
|
+
unicode-range: U+02DA;
|
|
204
|
+
unicode-range: U+02DC;
|
|
205
|
+
unicode-range: U+2000-206F;
|
|
206
|
+
unicode-range: U+2074;
|
|
207
|
+
unicode-range: U+20AC;
|
|
208
|
+
unicode-range: U+2122;
|
|
209
|
+
unicode-range: U+2191;
|
|
210
|
+
unicode-range: U+2193;
|
|
211
|
+
unicode-range: U+2212;
|
|
212
|
+
unicode-range: U+2215;
|
|
213
|
+
unicode-range: U+FEFF;
|
|
214
|
+
unicode-range: U+FFFD;
|
|
215
|
+
font-family: Roboto Mono;
|
|
216
|
+
}
|
|
1
217
|
:root {
|
|
2
218
|
--dt-borders-style-default: solid;
|
|
3
219
|
--dt-borders-style-dashed: dashed;
|
|
@@ -23,7 +23,7 @@ const AppRoot = /* @__PURE__ */ forwardRef(
|
|
|
23
23
|
const {
|
|
24
24
|
style: consumerStyle,
|
|
25
25
|
className: consumerClassName,
|
|
26
|
-
"data-testid": dataTestId
|
|
26
|
+
"data-testid": dataTestId,
|
|
27
27
|
"data-dtrum-mask": dataDtrumMask,
|
|
28
28
|
"data-dtrum-allow": dataDtrumAllow
|
|
29
29
|
} = props;
|
|
@@ -37,15 +37,6 @@ const AppRoot = /* @__PURE__ */ forwardRef(
|
|
|
37
37
|
} catch {
|
|
38
38
|
timezone = Intl.DateTimeFormat().resolvedOptions().timeZone;
|
|
39
39
|
}
|
|
40
|
-
useLayoutEffect(() => {
|
|
41
|
-
const link = document.createElement("link");
|
|
42
|
-
link.rel = "stylesheet";
|
|
43
|
-
link.href = "https://dt-cdn.net/fonts/fonts-v004.css";
|
|
44
|
-
document.head.appendChild(link);
|
|
45
|
-
return () => {
|
|
46
|
-
document.head.removeChild(link);
|
|
47
|
-
};
|
|
48
|
-
}, []);
|
|
49
40
|
useLayoutEffect(() => {
|
|
50
41
|
if (document !== void 0) {
|
|
51
42
|
document.documentElement.setAttribute("data-theme", theme);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/core/components/app-root/AppRoot.tsx"],
|
|
4
|
-
"sourcesContent": ["import { isEmpty } from 'lodash-es';\nimport {\n type PropsWithChildren,\n forwardRef,\n useEffect,\n useLayoutEffect,\n useState,\n} from 'react';\nimport { IntlProvider, type MessageFormatElement } from 'react-intl';\n\nimport 'wicg-inert';\nimport { getLanguage, getTimezone } from '@dynatrace-sdk/user-preferences';\n\nimport './AppRoot.sty.js';\nimport { useCurrentTheme } from '../../hooks/useCurrentTheme.js';\nimport { FocusProvider } from '../../providers/FocusProvider.js';\nimport { type DataTestId } from '../../types/data-props.js';\nimport { type MaskingProps } from '../../types/masking-props.js';\nimport { type StylingProps } from '../../types/styling-props.js';\n\n/**\n * Gets the href value set in the <base> element to prefix fetches correctly.\n * Will always end with a `/` value\n */\nfunction getBaseHref(): string {\n const baseElement = document.querySelector('base');\n const href = baseElement?.href ?? '/';\n return href.endsWith('/') ? href : `${href}/`;\n}\n\n/**\n * AppRoot component props.\n * @public\n */\nexport type AppRootProps = PropsWithChildren<\n DataTestId & StylingProps & MaskingProps\n>;\n\nconst defaultLanguage = 'en';\n\n/**\n * In order to have all the providers in place for rendering overlays, applying\n * global styles or internationalization, you need to wrap your app in the\n * `AppRoot`. If you're using the `dt-app` to create your app, this is\n * automatically taken care of and you can start working on your app without\n * further ado.\n * @public\n */\nexport const AppRoot = /* @__PURE__ */ forwardRef<HTMLDivElement, AppRootProps>(\n (props, forwardedRef) => {\n const {\n style: consumerStyle,\n className: consumerClassName,\n 'data-testid': dataTestId
|
|
5
|
-
"mappings": "
|
|
4
|
+
"sourcesContent": ["import { isEmpty } from 'lodash-es';\nimport {\n type PropsWithChildren,\n forwardRef,\n useEffect,\n useLayoutEffect,\n useState,\n} from 'react';\nimport { IntlProvider, type MessageFormatElement } from 'react-intl';\n\nimport 'wicg-inert';\nimport { getLanguage, getTimezone } from '@dynatrace-sdk/user-preferences';\n\nimport './AppRoot.sty.js';\nimport { useCurrentTheme } from '../../hooks/useCurrentTheme.js';\nimport { FocusProvider } from '../../providers/FocusProvider.js';\nimport { type DataTestId } from '../../types/data-props.js';\nimport { type MaskingProps } from '../../types/masking-props.js';\nimport { type StylingProps } from '../../types/styling-props.js';\n\n/**\n * Gets the href value set in the <base> element to prefix fetches correctly.\n * Will always end with a `/` value\n */\nfunction getBaseHref(): string {\n const baseElement = document.querySelector('base');\n const href = baseElement?.href ?? '/';\n return href.endsWith('/') ? href : `${href}/`;\n}\n\n/**\n * AppRoot component props.\n * @public\n */\nexport type AppRootProps = PropsWithChildren<\n DataTestId & StylingProps & MaskingProps\n>;\n\nconst defaultLanguage = 'en';\n\n/**\n * In order to have all the providers in place for rendering overlays, applying\n * global styles or internationalization, you need to wrap your app in the\n * `AppRoot`. If you're using the `dt-app` to create your app, this is\n * automatically taken care of and you can start working on your app without\n * further ado.\n * @public\n */\nexport const AppRoot = /* @__PURE__ */ forwardRef<HTMLDivElement, AppRootProps>(\n (props, forwardedRef) => {\n const {\n style: consumerStyle,\n className: consumerClassName,\n 'data-testid': dataTestId,\n 'data-dtrum-mask': dataDtrumMask,\n 'data-dtrum-allow': dataDtrumAllow,\n } = props;\n\n /** Messages that are used for the translation. */\n const [messages, setMessages] = useState<\n Record<string, string> | Record<string, MessageFormatElement[]>\n >({});\n\n const { children } = props;\n\n const theme = useCurrentTheme();\n const language = getLanguage();\n let timezone = getTimezone();\n try {\n new Intl.DateTimeFormat(language, { timeZone: timezone });\n } catch {\n // If the passed timezone is not valid, we can fall back to the browsers\n // configured one.\n timezone = Intl.DateTimeFormat().resolvedOptions().timeZone;\n }\n\n /**\n * Synchronize the [data-theme] attribute to the root of the document\n * to have the design tokens defined in the cascade.\n */\n useLayoutEffect(() => {\n if (document !== undefined) {\n document.documentElement.setAttribute('data-theme', theme);\n }\n }, [theme]);\n\n useEffect(() => {\n if (language === 'en') {\n // Don't fetch translations for 'en' to avoid an additional render cycle.\n // The default messages are in english already.\n return;\n }\n\n fetch(`${getBaseHref()}lang/${language}.json`)\n .then((res) => {\n return res.json();\n })\n .then((receivedMessages) => {\n setMessages(receivedMessages);\n })\n .catch(() => {\n // Only set messages to a new empty object if the previous messages were not empty.\n // `setMessages({})` would make react believe that this is a new object and, hence, re-render.\n // By just returning `prev` if the messages were already empty, we can avoid the additional render.\n setMessages((prev) => (isEmpty(prev) ? prev : {}));\n });\n }, [language]);\n\n return (\n <div\n ref={forwardedRef}\n data-testid={dataTestId}\n className={consumerClassName}\n style={consumerStyle}\n data-theme={theme}\n data-dtrum-mask={dataDtrumMask}\n data-dtrum-allow={dataDtrumAllow}\n >\n <IntlProvider\n locale={language}\n timeZone={timezone}\n messages={messages}\n defaultLocale={defaultLanguage}\n >\n <FocusProvider>{children}</FocusProvider>\n </IntlProvider>\n </div>\n );\n },\n);\n\n(AppRoot as typeof AppRoot & { displayName: string }).displayName = 'AppRoot';\n"],
|
|
5
|
+
"mappings": "AA4HU;AA5HV,SAAS,eAAe;AACxB;AAAA,EAEE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,SAAS,oBAA+C;AAExD,OAAO;AACP,SAAS,aAAa,mBAAmB;AAEzC,OAAO;AACP,SAAS,uBAAuB;AAChC,SAAS,qBAAqB;AAS9B,SAAS,cAAsB;AAC7B,QAAM,cAAc,SAAS,cAAc,MAAM;AACjD,QAAM,OAAO,aAAa,QAAQ;AAClC,SAAO,KAAK,SAAS,GAAG,IAAI,OAAO,GAAG,IAAI;AAC5C;AAUA,MAAM,kBAAkB;AAUjB,MAAM,UAA0B;AAAA,EACrC,CAAC,OAAO,iBAAiB;AACvB,UAAM;AAAA,MACJ,OAAO;AAAA,MACP,WAAW;AAAA,MACX,eAAe;AAAA,MACf,mBAAmB;AAAA,MACnB,oBAAoB;AAAA,IACtB,IAAI;AAGJ,UAAM,CAAC,UAAU,WAAW,IAAI,SAE9B,CAAC,CAAC;AAEJ,UAAM,EAAE,SAAS,IAAI;AAErB,UAAM,QAAQ,gBAAgB;AAC9B,UAAM,WAAW,YAAY;AAC7B,QAAI,WAAW,YAAY;AAC3B,QAAI;AACF,UAAI,KAAK,eAAe,UAAU,EAAE,UAAU,SAAS,CAAC;AAAA,IAC1D,QAAQ;AAGN,iBAAW,KAAK,eAAe,EAAE,gBAAgB,EAAE;AAAA,IACrD;AAMA,oBAAgB,MAAM;AACpB,UAAI,aAAa,QAAW;AAC1B,iBAAS,gBAAgB,aAAa,cAAc,KAAK;AAAA,MAC3D;AAAA,IACF,GAAG,CAAC,KAAK,CAAC;AAEV,cAAU,MAAM;AACd,UAAI,aAAa,MAAM;AAGrB;AAAA,MACF;AAEA,YAAM,GAAG,YAAY,CAAC,QAAQ,QAAQ,OAAO,EAC1C,KAAK,CAAC,QAAQ;AACb,eAAO,IAAI,KAAK;AAAA,MAClB,CAAC,EACA,KAAK,CAAC,qBAAqB;AAC1B,oBAAY,gBAAgB;AAAA,MAC9B,CAAC,EACA,MAAM,MAAM;AAIX,oBAAY,CAAC,SAAU,QAAQ,IAAI,IAAI,OAAO,CAAC,CAAE;AAAA,MACnD,CAAC;AAAA,IACL,GAAG,CAAC,QAAQ,CAAC;AAEb,WACE;AAAA,MAAC;AAAA;AAAA,QACC,KAAK;AAAA,QACL,eAAa;AAAA,QACb,WAAW;AAAA,QACX,OAAO;AAAA,QACP,cAAY;AAAA,QACZ,mBAAiB;AAAA,QACjB,oBAAkB;AAAA,QAElB;AAAA,UAAC;AAAA;AAAA,YACC,QAAQ;AAAA,YACR,UAAU;AAAA,YACV;AAAA,YACA,eAAe;AAAA,YAEf,8BAAC,iBAAe,UAAS;AAAA;AAAA,QAC3B;AAAA;AAAA,IACF;AAAA,EAEJ;AACF;AAEC,QAAqD,cAAc;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -4,7 +4,7 @@ import { useActiveElement } from "../../hooks/useActiveElement.js";
|
|
|
4
4
|
import { useFocusContext } from "../../hooks/useFocusContext.js";
|
|
5
5
|
import { focusFirstDescendant } from "../../utils/focus-management/focus-first-descendant.js";
|
|
6
6
|
const FocusScope = (props) => {
|
|
7
|
-
const { autoFocus, contain, children } = props;
|
|
7
|
+
const { autoFocus, contain, children, "data-testid": dataTestId } = props;
|
|
8
8
|
const focusContext = useFocusContext();
|
|
9
9
|
const wrapperRef = useRef(null);
|
|
10
10
|
const focusedElement = useActiveElement();
|
|
@@ -43,6 +43,7 @@ const FocusScope = (props) => {
|
|
|
43
43
|
style: { display: "contents" },
|
|
44
44
|
ref: wrapperRef,
|
|
45
45
|
"aria-labelledby": triggerElement.current.id,
|
|
46
|
+
"data-testid": dataTestId,
|
|
46
47
|
children
|
|
47
48
|
}
|
|
48
49
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/core/components/focus-scope/FocusScope.tsx"],
|
|
4
|
-
"sourcesContent": ["import { useEffect, useRef } from 'react';\n\nimport { useActiveElement } from '../../hooks/useActiveElement.js';\nimport { useFocusContext } from '../../hooks/useFocusContext.js';\nimport type { WithChildren } from '../../types/with-children.js';\nimport { focusFirstDescendant } from '../../utils/focus-management/focus-first-descendant.js';\n\n// #region Types\n\n/**\n * Prop definition of the `FocusScope` component.\n * @public\n */\nexport interface FocusScopeProps extends WithChildren {\n /**\n * If set to true, the focus scope automatically focuses the first focusable element inside.\n * @defaultValue false\n */\n autoFocus?: boolean;\n /**\n * If set to true, the focus scope traps the focus inside.\n * @defaultValue false\n */\n contain?: boolean;\n}\n// #endregion Types\n\n/**\n * The `FocusScope` helps you manage the focus when opening any overlay. If you\n * want to create a custom overlay, you can wrap the content of your overlay in the\n * `FocusScope` to help you make the overlay accessible and handle focus\n * appropriately.\n * @public\n */\nexport const FocusScope = (props: FocusScopeProps) => {\n const { autoFocus, contain, children } = props;\n const focusContext = useFocusContext();\n const wrapperRef = useRef<HTMLDivElement>(null);\n const focusedElement = useActiveElement();\n const triggerElement = useRef(focusedElement);\n\n useEffect(() => {\n if (contain || autoFocus) {\n focusFirstDescendant(wrapperRef.current);\n }\n\n if (contain) {\n focusContext.setBackgroundInertness(true);\n const triggerElementCopy = triggerElement.current;\n\n return () => {\n focusContext.setBackgroundInertness(false);\n\n focusContext.focusTriggerElement(triggerElementCopy);\n };\n }\n\n if (!autoFocus && !contain) {\n document.addEventListener('keydown', (e) => {\n if (e.key !== 'Tab') {\n return;\n }\n\n if (e.target === triggerElement.current) {\n e.preventDefault();\n focusFirstDescendant(wrapperRef.current);\n }\n });\n }\n\n const triggerElementCopy = triggerElement.current;\n\n return () => {\n // restore focus on trigger when unmounting the focusscope\n triggerElementCopy.focus();\n };\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [contain, autoFocus]);\n\n return (\n <div\n style={{ display: 'contents' }}\n ref={wrapperRef}\n aria-labelledby={triggerElement.current.id}\n // Prevents that focus is lost when clicking on non-focusable items inside (atm used in the internal Drawer).\n // Probably worth considering moving that to the focusScope when redoing the overlays.\n // tabIndex={-1}\n >\n {children}\n </div>\n );\n};\n\nFocusScope.displayName = 'FocusScope';\n"],
|
|
5
|
-
"mappings": "
|
|
4
|
+
"sourcesContent": ["import { useEffect, useRef } from 'react';\n\nimport { useActiveElement } from '../../hooks/useActiveElement.js';\nimport { useFocusContext } from '../../hooks/useFocusContext.js';\nimport { type DataTestId } from '../../types/data-props.js';\nimport type { WithChildren } from '../../types/with-children.js';\nimport { focusFirstDescendant } from '../../utils/focus-management/focus-first-descendant.js';\n\n// #region Types\n\n/**\n * Prop definition of the `FocusScope` component.\n * @public\n */\nexport interface FocusScopeProps extends WithChildren, DataTestId {\n /**\n * If set to true, the focus scope automatically focuses the first focusable element inside.\n * @defaultValue false\n */\n autoFocus?: boolean;\n /**\n * If set to true, the focus scope traps the focus inside.\n * @defaultValue false\n */\n contain?: boolean;\n}\n// #endregion Types\n\n/**\n * The `FocusScope` helps you manage the focus when opening any overlay. If you\n * want to create a custom overlay, you can wrap the content of your overlay in the\n * `FocusScope` to help you make the overlay accessible and handle focus\n * appropriately.\n * @public\n */\nexport const FocusScope = (props: FocusScopeProps) => {\n const { autoFocus, contain, children, 'data-testid': dataTestId } = props;\n const focusContext = useFocusContext();\n const wrapperRef = useRef<HTMLDivElement>(null);\n const focusedElement = useActiveElement();\n const triggerElement = useRef(focusedElement);\n\n useEffect(() => {\n if (contain || autoFocus) {\n focusFirstDescendant(wrapperRef.current);\n }\n\n if (contain) {\n focusContext.setBackgroundInertness(true);\n const triggerElementCopy = triggerElement.current;\n\n return () => {\n focusContext.setBackgroundInertness(false);\n\n focusContext.focusTriggerElement(triggerElementCopy);\n };\n }\n\n if (!autoFocus && !contain) {\n document.addEventListener('keydown', (e) => {\n if (e.key !== 'Tab') {\n return;\n }\n\n if (e.target === triggerElement.current) {\n e.preventDefault();\n focusFirstDescendant(wrapperRef.current);\n }\n });\n }\n\n const triggerElementCopy = triggerElement.current;\n\n return () => {\n // restore focus on trigger when unmounting the focusscope\n triggerElementCopy.focus();\n };\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [contain, autoFocus]);\n\n return (\n <div\n style={{ display: 'contents' }}\n ref={wrapperRef}\n aria-labelledby={triggerElement.current.id}\n data-testid={dataTestId}\n // Prevents that focus is lost when clicking on non-focusable items inside (atm used in the internal Drawer).\n // Probably worth considering moving that to the focusScope when redoing the overlays.\n // tabIndex={-1}\n >\n {children}\n </div>\n );\n};\n\nFocusScope.displayName = 'FocusScope';\n"],
|
|
5
|
+
"mappings": "AAkFI;AAlFJ,SAAS,WAAW,cAAc;AAElC,SAAS,wBAAwB;AACjC,SAAS,uBAAuB;AAGhC,SAAS,4BAA4B;AA6B9B,MAAM,aAAa,CAAC,UAA2B;AACpD,QAAM,EAAE,WAAW,SAAS,UAAU,eAAe,WAAW,IAAI;AACpE,QAAM,eAAe,gBAAgB;AACrC,QAAM,aAAa,OAAuB,IAAI;AAC9C,QAAM,iBAAiB,iBAAiB;AACxC,QAAM,iBAAiB,OAAO,cAAc;AAE5C,YAAU,MAAM;AACd,QAAI,WAAW,WAAW;AACxB,2BAAqB,WAAW,OAAO;AAAA,IACzC;AAEA,QAAI,SAAS;AACX,mBAAa,uBAAuB,IAAI;AACxC,YAAMA,sBAAqB,eAAe;AAE1C,aAAO,MAAM;AACX,qBAAa,uBAAuB,KAAK;AAEzC,qBAAa,oBAAoBA,mBAAkB;AAAA,MACrD;AAAA,IACF;AAEA,QAAI,CAAC,aAAa,CAAC,SAAS;AAC1B,eAAS,iBAAiB,WAAW,CAAC,MAAM;AAC1C,YAAI,EAAE,QAAQ,OAAO;AACnB;AAAA,QACF;AAEA,YAAI,EAAE,WAAW,eAAe,SAAS;AACvC,YAAE,eAAe;AACjB,+BAAqB,WAAW,OAAO;AAAA,QACzC;AAAA,MACF,CAAC;AAAA,IACH;AAEA,UAAM,qBAAqB,eAAe;AAE1C,WAAO,MAAM;AAEX,yBAAmB,MAAM;AAAA,IAC3B;AAAA,EAGF,GAAG,CAAC,SAAS,SAAS,CAAC;AAEvB,SACE;AAAA,IAAC;AAAA;AAAA,MACC,OAAO,EAAE,SAAS,WAAW;AAAA,MAC7B,KAAK;AAAA,MACL,mBAAiB,eAAe,QAAQ;AAAA,MACxC,eAAa;AAAA,MAKZ;AAAA;AAAA,EACH;AAEJ;AAEA,WAAW,cAAc;",
|
|
6
6
|
"names": ["triggerElementCopy"]
|
|
7
7
|
}
|
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
._z2r50s3-1-
|
|
1
|
+
._z2r50s3-1-9-1 {
|
|
2
2
|
outline: none;
|
|
3
3
|
}
|
|
4
|
-
._z2r50s3-1-
|
|
4
|
+
._z2r50s3-1-9-1:focus-visible {
|
|
5
5
|
outline: none;
|
|
6
6
|
}
|
|
7
|
-
._z2r50s4-1-
|
|
7
|
+
._z2r50s4-1-9-1 {
|
|
8
8
|
border-radius: var(--dt-borders-radius-field-subdued, 4px);
|
|
9
|
-
box-shadow: inset 0 0 0 var(--dt-borders-width-default, 1px) var(--_z2r50s0-1-
|
|
10
|
-
background-color: var(--_z2r50s2-1-
|
|
11
|
-
}
|
|
12
|
-
._z2r50s5-1-
|
|
13
|
-
box-shadow: inset 0 0 0 var(--dt-borders-width-emphasized, 2px) var(--_z2r50s0-1-
|
|
14
|
-
}
|
|
15
|
-
._z2r50s6-1-
|
|
16
|
-
--_z2r50s0-1-
|
|
17
|
-
--_z2r50s1-1-
|
|
18
|
-
--_z2r50s2-1-
|
|
19
|
-
}
|
|
20
|
-
._z2r50s7-1-
|
|
21
|
-
--_z2r50s0-1-
|
|
22
|
-
--_z2r50s1-1-
|
|
23
|
-
--_z2r50s2-1-
|
|
24
|
-
}
|
|
25
|
-
._z2r50s8-1-
|
|
26
|
-
--_z2r50s0-1-
|
|
27
|
-
--_z2r50s1-1-
|
|
28
|
-
--_z2r50s2-1-
|
|
29
|
-
}
|
|
30
|
-
._z2r50s9-1-
|
|
31
|
-
--_z2r50s0-1-
|
|
32
|
-
--_z2r50s1-1-
|
|
33
|
-
--_z2r50s2-1-
|
|
34
|
-
}
|
|
35
|
-
._z2r50sa-1-
|
|
36
|
-
--_z2r50s0-1-
|
|
37
|
-
--_z2r50s1-1-
|
|
38
|
-
--_z2r50s2-1-
|
|
39
|
-
}
|
|
40
|
-
._z2r50sb-1-
|
|
9
|
+
box-shadow: inset 0 0 0 var(--dt-borders-width-default, 1px) var(--_z2r50s0-1-9-1);
|
|
10
|
+
background-color: var(--_z2r50s2-1-9-1);
|
|
11
|
+
}
|
|
12
|
+
._z2r50s5-1-9-1._z2r50s5-1-9-1 {
|
|
13
|
+
box-shadow: inset 0 0 0 var(--dt-borders-width-emphasized, 2px) var(--_z2r50s0-1-9-1), inset 0 0 0 calc(var(--dt-borders-width-emphasized, 2px) + 1px) var(--_z2r50s1-1-9-1);
|
|
14
|
+
}
|
|
15
|
+
._z2r50s6-1-9-1 {
|
|
16
|
+
--_z2r50s0-1-9-1: var(--dt-colors-border-neutral-accent, #595a7d);
|
|
17
|
+
--_z2r50s1-1-9-1: var(--dt-colors-border-neutral-default, #dadbe4);
|
|
18
|
+
--_z2r50s2-1-9-1: var(--dt-colors-background-field-neutral-emphasized, #e4e5eb);
|
|
19
|
+
}
|
|
20
|
+
._z2r50s7-1-9-1 {
|
|
21
|
+
--_z2r50s0-1-9-1: var(--dt-colors-border-primary-accent, #464cce);
|
|
22
|
+
--_z2r50s1-1-9-1: var(--dt-colors-border-primary-default, #d5dbf6);
|
|
23
|
+
--_z2r50s2-1-9-1: var(--dt-colors-background-field-primary-emphasized, #e1e5f7);
|
|
24
|
+
}
|
|
25
|
+
._z2r50s8-1-9-1 {
|
|
26
|
+
--_z2r50s0-1-9-1: var(--dt-colors-border-success-accent, #2d6761);
|
|
27
|
+
--_z2r50s1-1-9-1: var(--dt-colors-border-success-default, #d3dedd);
|
|
28
|
+
--_z2r50s2-1-9-1: var(--dt-colors-background-field-success-emphasized, #e0e7e6);
|
|
29
|
+
}
|
|
30
|
+
._z2r50s9-1-9-1 {
|
|
31
|
+
--_z2r50s0-1-9-1: var(--dt-colors-border-warning-accent, #855400);
|
|
32
|
+
--_z2r50s1-1-9-1: var(--dt-colors-border-warning-default, #f9ebdb);
|
|
33
|
+
--_z2r50s2-1-9-1: var(--dt-colors-background-field-warning-emphasized, #f9f0e5);
|
|
34
|
+
}
|
|
35
|
+
._z2r50sa-1-9-1 {
|
|
36
|
+
--_z2r50s0-1-9-1: var(--dt-colors-border-critical-accent, #bb0731);
|
|
37
|
+
--_z2r50s1-1-9-1: var(--dt-colors-border-critical-default, #f6d6d5);
|
|
38
|
+
--_z2r50s2-1-9-1: var(--dt-colors-background-field-critical-emphasized, #f8e1e1);
|
|
39
|
+
}
|
|
40
|
+
._z2r50sb-1-9-1:focus-within {
|
|
41
41
|
outline: none;
|
|
42
42
|
}
|
|
43
|
-
._z2r50sc-1-
|
|
43
|
+
._z2r50sc-1-9-1:focus-within {
|
|
44
44
|
border-radius: var(--dt-borders-radius-field-subdued, 4px);
|
|
45
|
-
box-shadow: inset 0 0 0 var(--dt-borders-width-default, 1px) var(--_z2r50s0-1-
|
|
46
|
-
background-color: var(--_z2r50s2-1-
|
|
47
|
-
}
|
|
48
|
-
._z2r50sd-1-
|
|
49
|
-
box-shadow: inset 0 0 0 var(--dt-borders-width-emphasized, 2px) var(--_z2r50s0-1-
|
|
50
|
-
}
|
|
51
|
-
._z2r50se-1-
|
|
52
|
-
--_z2r50s0-1-
|
|
53
|
-
--_z2r50s1-1-
|
|
54
|
-
--_z2r50s2-1-
|
|
55
|
-
}
|
|
56
|
-
._z2r50sf-1-
|
|
57
|
-
--_z2r50s0-1-
|
|
58
|
-
--_z2r50s1-1-
|
|
59
|
-
--_z2r50s2-1-
|
|
60
|
-
}
|
|
61
|
-
._z2r50sg-1-
|
|
62
|
-
--_z2r50s0-1-
|
|
63
|
-
--_z2r50s1-1-
|
|
64
|
-
--_z2r50s2-1-
|
|
65
|
-
}
|
|
66
|
-
._z2r50sh-1-
|
|
67
|
-
--_z2r50s0-1-
|
|
68
|
-
--_z2r50s1-1-
|
|
69
|
-
--_z2r50s2-1-
|
|
70
|
-
}
|
|
71
|
-
._z2r50si-1-
|
|
72
|
-
--_z2r50s0-1-
|
|
73
|
-
--_z2r50s1-1-
|
|
74
|
-
--_z2r50s2-1-
|
|
45
|
+
box-shadow: inset 0 0 0 var(--dt-borders-width-default, 1px) var(--_z2r50s0-1-9-1);
|
|
46
|
+
background-color: var(--_z2r50s2-1-9-1);
|
|
47
|
+
}
|
|
48
|
+
._z2r50sd-1-9-1:focus-within {
|
|
49
|
+
box-shadow: inset 0 0 0 var(--dt-borders-width-emphasized, 2px) var(--_z2r50s0-1-9-1), inset 0 0 0 calc(var(--dt-borders-width-emphasized, 2px) + 1px) var(--_z2r50s1-1-9-1);
|
|
50
|
+
}
|
|
51
|
+
._z2r50se-1-9-1 {
|
|
52
|
+
--_z2r50s0-1-9-1: var(--dt-colors-border-neutral-accent, #595a7d);
|
|
53
|
+
--_z2r50s1-1-9-1: var(--dt-colors-border-neutral-default, #dadbe4);
|
|
54
|
+
--_z2r50s2-1-9-1: var(--dt-colors-background-field-neutral-emphasized, #e4e5eb);
|
|
55
|
+
}
|
|
56
|
+
._z2r50sf-1-9-1 {
|
|
57
|
+
--_z2r50s0-1-9-1: var(--dt-colors-border-primary-accent, #464cce);
|
|
58
|
+
--_z2r50s1-1-9-1: var(--dt-colors-border-primary-default, #d5dbf6);
|
|
59
|
+
--_z2r50s2-1-9-1: var(--dt-colors-background-field-primary-emphasized, #e1e5f7);
|
|
60
|
+
}
|
|
61
|
+
._z2r50sg-1-9-1 {
|
|
62
|
+
--_z2r50s0-1-9-1: var(--dt-colors-border-success-accent, #2d6761);
|
|
63
|
+
--_z2r50s1-1-9-1: var(--dt-colors-border-success-default, #d3dedd);
|
|
64
|
+
--_z2r50s2-1-9-1: var(--dt-colors-background-field-success-emphasized, #e0e7e6);
|
|
65
|
+
}
|
|
66
|
+
._z2r50sh-1-9-1 {
|
|
67
|
+
--_z2r50s0-1-9-1: var(--dt-colors-border-warning-accent, #855400);
|
|
68
|
+
--_z2r50s1-1-9-1: var(--dt-colors-border-warning-default, #f9ebdb);
|
|
69
|
+
--_z2r50s2-1-9-1: var(--dt-colors-background-field-warning-emphasized, #f9f0e5);
|
|
70
|
+
}
|
|
71
|
+
._z2r50si-1-9-1 {
|
|
72
|
+
--_z2r50s0-1-9-1: var(--dt-colors-border-critical-accent, #bb0731);
|
|
73
|
+
--_z2r50s1-1-9-1: var(--dt-colors-border-critical-default, #f6d6d5);
|
|
74
|
+
--_z2r50s2-1-9-1: var(--dt-colors-background-field-critical-emphasized, #f8e1e1);
|
|
75
75
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./focusRing.css";
|
|
2
2
|
import { createRuntimeFn as _7a468 } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
3
|
-
var focusRingCSS = _7a468({ defaultClassName: "_z2r50s3-1-
|
|
4
|
-
var focusRingFocusWithinCSS = _7a468({ defaultClassName: "_z2r50sb-1-
|
|
3
|
+
var focusRingCSS = _7a468({ defaultClassName: "_z2r50s3-1-9-1", variantClassNames: { minimal: { true: "_z2r50s4-1-9-1", false: "_z2r50s5-1-9-1" }, variant: { neutral: "_z2r50s6-1-9-1", primary: "_z2r50s7-1-9-1", success: "_z2r50s8-1-9-1", warning: "_z2r50s9-1-9-1", critical: "_z2r50sa-1-9-1" } }, defaultVariants: {}, compoundVariants: [] });
|
|
4
|
+
var focusRingFocusWithinCSS = _7a468({ defaultClassName: "_z2r50sb-1-9-1", variantClassNames: { minimal: { true: "_z2r50sc-1-9-1", false: "_z2r50sd-1-9-1" }, variant: { neutral: "_z2r50se-1-9-1", primary: "_z2r50sf-1-9-1", success: "_z2r50sg-1-9-1", warning: "_z2r50sh-1-9-1", critical: "_z2r50si-1-9-1" } }, defaultVariants: {}, compoundVariants: [] });
|
|
5
5
|
export {
|
|
6
6
|
focusRingCSS,
|
|
7
7
|
focusRingFocusWithinCSS
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/core/styles/focusRing.css.ts"],
|
|
4
|
-
"sourcesContent": ["import './focusRing.css';\nimport { createRuntimeFn as _7a468 } from '@vanilla-extract/recipes/createRuntimeFn';\nexport var focusRingCSS = _7a468({defaultClassName:'_z2r50s3-1-
|
|
4
|
+
"sourcesContent": ["import './focusRing.css';\nimport { createRuntimeFn as _7a468 } from '@vanilla-extract/recipes/createRuntimeFn';\nexport var focusRingCSS = _7a468({defaultClassName:'_z2r50s3-1-9-1',variantClassNames:{minimal:{true:'_z2r50s4-1-9-1',false:'_z2r50s5-1-9-1'},variant:{neutral:'_z2r50s6-1-9-1',primary:'_z2r50s7-1-9-1',success:'_z2r50s8-1-9-1',warning:'_z2r50s9-1-9-1',critical:'_z2r50sa-1-9-1'}},defaultVariants:{},compoundVariants:[]});\nexport var focusRingFocusWithinCSS = _7a468({defaultClassName:'_z2r50sb-1-9-1',variantClassNames:{minimal:{true:'_z2r50sc-1-9-1',false:'_z2r50sd-1-9-1'},variant:{neutral:'_z2r50se-1-9-1',primary:'_z2r50sf-1-9-1',success:'_z2r50sg-1-9-1',warning:'_z2r50sh-1-9-1',critical:'_z2r50si-1-9-1'}},defaultVariants:{},compoundVariants:[]});"],
|
|
5
5
|
"mappings": "AAAA,OAAO;AACP,SAAS,mBAAmB,cAAc;AACnC,IAAI,eAAe,OAAO,EAAC,kBAAiB,kBAAiB,mBAAkB,EAAC,SAAQ,EAAC,MAAK,kBAAiB,OAAM,iBAAgB,GAAE,SAAQ,EAAC,SAAQ,kBAAiB,SAAQ,kBAAiB,SAAQ,kBAAiB,SAAQ,kBAAiB,UAAS,iBAAgB,EAAC,GAAE,iBAAgB,CAAC,GAAE,kBAAiB,CAAC,EAAC,CAAC;AACvT,IAAI,0BAA0B,OAAO,EAAC,kBAAiB,kBAAiB,mBAAkB,EAAC,SAAQ,EAAC,MAAK,kBAAiB,OAAM,iBAAgB,GAAE,SAAQ,EAAC,SAAQ,kBAAiB,SAAQ,kBAAiB,SAAQ,kBAAiB,SAAQ,kBAAiB,UAAS,iBAAgB,EAAC,GAAE,iBAAgB,CAAC,GAAE,kBAAiB,CAAC,EAAC,CAAC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|