@dynatrace/strato-components 1.9.0 → 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 +0 -9
- 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 +0 -9
- package/esm/core/components/app-root/AppRoot.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,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;
|
|
@@ -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,\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
|
|
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
|
}
|
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
._z2r50s3-1-9-
|
|
1
|
+
._z2r50s3-1-9-1 {
|
|
2
2
|
outline: none;
|
|
3
3
|
}
|
|
4
|
-
._z2r50s3-1-9-
|
|
4
|
+
._z2r50s3-1-9-1:focus-visible {
|
|
5
5
|
outline: none;
|
|
6
6
|
}
|
|
7
|
-
._z2r50s4-1-9-
|
|
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-9-
|
|
10
|
-
background-color: var(--_z2r50s2-1-9-
|
|
11
|
-
}
|
|
12
|
-
._z2r50s5-1-9-
|
|
13
|
-
box-shadow: inset 0 0 0 var(--dt-borders-width-emphasized, 2px) var(--_z2r50s0-1-9-
|
|
14
|
-
}
|
|
15
|
-
._z2r50s6-1-9-
|
|
16
|
-
--_z2r50s0-1-9-
|
|
17
|
-
--_z2r50s1-1-9-
|
|
18
|
-
--_z2r50s2-1-9-
|
|
19
|
-
}
|
|
20
|
-
._z2r50s7-1-9-
|
|
21
|
-
--_z2r50s0-1-9-
|
|
22
|
-
--_z2r50s1-1-9-
|
|
23
|
-
--_z2r50s2-1-9-
|
|
24
|
-
}
|
|
25
|
-
._z2r50s8-1-9-
|
|
26
|
-
--_z2r50s0-1-9-
|
|
27
|
-
--_z2r50s1-1-9-
|
|
28
|
-
--_z2r50s2-1-9-
|
|
29
|
-
}
|
|
30
|
-
._z2r50s9-1-9-
|
|
31
|
-
--_z2r50s0-1-9-
|
|
32
|
-
--_z2r50s1-1-9-
|
|
33
|
-
--_z2r50s2-1-9-
|
|
34
|
-
}
|
|
35
|
-
._z2r50sa-1-9-
|
|
36
|
-
--_z2r50s0-1-9-
|
|
37
|
-
--_z2r50s1-1-9-
|
|
38
|
-
--_z2r50s2-1-9-
|
|
39
|
-
}
|
|
40
|
-
._z2r50sb-1-9-
|
|
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-9-
|
|
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-9-
|
|
46
|
-
background-color: var(--_z2r50s2-1-9-
|
|
47
|
-
}
|
|
48
|
-
._z2r50sd-1-9-
|
|
49
|
-
box-shadow: inset 0 0 0 var(--dt-borders-width-emphasized, 2px) var(--_z2r50s0-1-9-
|
|
50
|
-
}
|
|
51
|
-
._z2r50se-1-9-
|
|
52
|
-
--_z2r50s0-1-9-
|
|
53
|
-
--_z2r50s1-1-9-
|
|
54
|
-
--_z2r50s2-1-9-
|
|
55
|
-
}
|
|
56
|
-
._z2r50sf-1-9-
|
|
57
|
-
--_z2r50s0-1-9-
|
|
58
|
-
--_z2r50s1-1-9-
|
|
59
|
-
--_z2r50s2-1-9-
|
|
60
|
-
}
|
|
61
|
-
._z2r50sg-1-9-
|
|
62
|
-
--_z2r50s0-1-9-
|
|
63
|
-
--_z2r50s1-1-9-
|
|
64
|
-
--_z2r50s2-1-9-
|
|
65
|
-
}
|
|
66
|
-
._z2r50sh-1-9-
|
|
67
|
-
--_z2r50s0-1-9-
|
|
68
|
-
--_z2r50s1-1-9-
|
|
69
|
-
--_z2r50s2-1-9-
|
|
70
|
-
}
|
|
71
|
-
._z2r50si-1-9-
|
|
72
|
-
--_z2r50s0-1-9-
|
|
73
|
-
--_z2r50s1-1-9-
|
|
74
|
-
--_z2r50s2-1-9-
|
|
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-9-
|
|
4
|
-
var focusRingFocusWithinCSS = _7a468({ defaultClassName: "_z2r50sb-1-9-
|
|
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-9-
|
|
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
|
}
|
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
._k096v44-1-9-
|
|
2
|
-
--_k096v40-1-9-
|
|
3
|
-
--_k096v41-1-9-
|
|
4
|
-
--_k096v42-1-9-
|
|
1
|
+
._k096v44-1-9-1 {
|
|
2
|
+
--_k096v40-1-9-1: var(--dt-colors-text-critical-default, #bb0731);
|
|
3
|
+
--_k096v41-1-9-1: var(--dt-colors-icon-critical-default, #bb0731);
|
|
4
|
+
--_k096v42-1-9-1: var(--dt-colors-border-critical-default, #f6d6d5);
|
|
5
5
|
}
|
|
6
|
-
._k096v45-1-9-
|
|
7
|
-
--_k096v40-1-9-
|
|
8
|
-
--_k096v41-1-9-
|
|
9
|
-
--_k096v42-1-9-
|
|
6
|
+
._k096v45-1-9-1 {
|
|
7
|
+
--_k096v40-1-9-1: var(--dt-colors-text-neutral-default, #2f2f4f);
|
|
8
|
+
--_k096v41-1-9-1: var(--dt-colors-icon-neutral-default, #2f2f4f);
|
|
9
|
+
--_k096v42-1-9-1: var(--dt-colors-border-neutral-default, #dadbe4);
|
|
10
10
|
}
|
|
11
|
-
._k096v46-1-9-
|
|
12
|
-
--_k096v40-1-9-
|
|
13
|
-
--_k096v41-1-9-
|
|
14
|
-
--_k096v42-1-9-
|
|
11
|
+
._k096v46-1-9-1 {
|
|
12
|
+
--_k096v40-1-9-1: var(--dt-colors-text-primary-default, #464cce);
|
|
13
|
+
--_k096v41-1-9-1: var(--dt-colors-icon-primary-default, #464cce);
|
|
14
|
+
--_k096v42-1-9-1: var(--dt-colors-border-primary-default, #d5dbf6);
|
|
15
15
|
}
|
|
16
|
-
._k096v47-1-9-
|
|
17
|
-
--_k096v40-1-9-
|
|
18
|
-
--_k096v41-1-9-
|
|
19
|
-
--_k096v42-1-9-
|
|
16
|
+
._k096v47-1-9-1 {
|
|
17
|
+
--_k096v40-1-9-1: var(--dt-colors-text-success-default, #2d6761);
|
|
18
|
+
--_k096v41-1-9-1: var(--dt-colors-icon-success-default, #2d6761);
|
|
19
|
+
--_k096v42-1-9-1: var(--dt-colors-border-success-default, #d3dedd);
|
|
20
20
|
}
|
|
21
|
-
._k096v48-1-9-
|
|
22
|
-
--_k096v40-1-9-
|
|
23
|
-
--_k096v41-1-9-
|
|
24
|
-
--_k096v42-1-9-
|
|
21
|
+
._k096v48-1-9-1 {
|
|
22
|
+
--_k096v40-1-9-1: var(--dt-colors-text-warning-default, #855400);
|
|
23
|
+
--_k096v41-1-9-1: var(--dt-colors-icon-warning-default, #855400);
|
|
24
|
+
--_k096v42-1-9-1: var(--dt-colors-border-warning-default, #f9ebdb);
|
|
25
25
|
}
|
|
26
|
-
._k096v4d-1-9-
|
|
27
|
-
--_k096v40-1-9-
|
|
28
|
-
--_k096v41-1-9-
|
|
29
|
-
--_k096v42-1-9-
|
|
26
|
+
._k096v4d-1-9-1 {
|
|
27
|
+
--_k096v40-1-9-1: var(--dt-colors-text-primary-on-accent-default, #f4f4fb);
|
|
28
|
+
--_k096v41-1-9-1: var(--dt-colors-icon-primary-on-accent-default, #f4f4fb);
|
|
29
|
+
--_k096v42-1-9-1: var(--dt-colors-border-primary-accent, #464cce);
|
|
30
30
|
}
|
|
31
|
-
._k096v4e-1-9-
|
|
32
|
-
--_k096v40-1-9-
|
|
33
|
-
--_k096v41-1-9-
|
|
34
|
-
--_k096v42-1-9-
|
|
31
|
+
._k096v4e-1-9-1 {
|
|
32
|
+
--_k096v40-1-9-1: var(--dt-colors-text-success-on-accent-default, #f1f4f4);
|
|
33
|
+
--_k096v41-1-9-1: var(--dt-colors-icon-success-on-accent-default, #f1f4f4);
|
|
34
|
+
--_k096v42-1-9-1: var(--dt-colors-border-success-accent, #2d6761);
|
|
35
35
|
}
|
|
36
|
-
._k096v4f-1-9-
|
|
37
|
-
--_k096v40-1-9-
|
|
38
|
-
--_k096v41-1-9-
|
|
39
|
-
--_k096v42-1-9-
|
|
36
|
+
._k096v4f-1-9-1 {
|
|
37
|
+
--_k096v40-1-9-1: var(--dt-colors-text-warning-on-accent-default, #272024);
|
|
38
|
+
--_k096v41-1-9-1: var(--dt-colors-icon-warning-on-accent-default, #272024);
|
|
39
|
+
--_k096v42-1-9-1: var(--dt-colors-border-warning-accent, #855400);
|
|
40
40
|
}
|
|
41
|
-
._k096v4g-1-9-
|
|
42
|
-
--_k096v40-1-9-
|
|
43
|
-
--_k096v41-1-9-
|
|
44
|
-
--_k096v42-1-9-
|
|
41
|
+
._k096v4g-1-9-1 {
|
|
42
|
+
--_k096v40-1-9-1: var(--dt-colors-text-critical-on-accent-default, #f9f1f3);
|
|
43
|
+
--_k096v41-1-9-1: var(--dt-colors-icon-critical-on-accent-default, #f9f1f3);
|
|
44
|
+
--_k096v42-1-9-1: var(--dt-colors-border-critical-accent, #bb0731);
|
|
45
45
|
}
|
|
46
|
-
._k096v4h-1-9-
|
|
47
|
-
--_k096v40-1-9-
|
|
48
|
-
--_k096v41-1-9-
|
|
49
|
-
--_k096v42-1-9-
|
|
46
|
+
._k096v4h-1-9-1 {
|
|
47
|
+
--_k096v40-1-9-1: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
|
|
48
|
+
--_k096v41-1-9-1: var(--dt-colors-icon-neutral-on-accent-default, #f3f3f6);
|
|
49
|
+
--_k096v42-1-9-1: var(--dt-colors-border-neutral-accent, #595a7d);
|
|
50
50
|
}
|
|
51
|
-
._k096v4i-1-9-
|
|
52
|
-
--_k096v40-1-9-
|
|
53
|
-
--_k096v41-1-9-
|
|
54
|
-
--_k096v42-1-9-
|
|
51
|
+
._k096v4i-1-9-1 {
|
|
52
|
+
--_k096v40-1-9-1: var(--dt-colors-text-primary-disabled, #595a7d80);
|
|
53
|
+
--_k096v41-1-9-1: var(--dt-colors-icon-primary-disabled, #595a7d80);
|
|
54
|
+
--_k096v42-1-9-1: var(--dt-colors-border-primary-disabled, #dadbe480);
|
|
55
55
|
}
|
|
56
|
-
._k096v4j-1-9-
|
|
57
|
-
--_k096v40-1-9-
|
|
58
|
-
--_k096v41-1-9-
|
|
59
|
-
--_k096v42-1-9-
|
|
56
|
+
._k096v4j-1-9-1 {
|
|
57
|
+
--_k096v40-1-9-1: var(--dt-colors-text-success-disabled, #595a7d80);
|
|
58
|
+
--_k096v41-1-9-1: var(--dt-colors-icon-success-disabled, #595a7d80);
|
|
59
|
+
--_k096v42-1-9-1: var(--dt-colors-border-success-disabled, #dadbe480);
|
|
60
60
|
}
|
|
61
|
-
._k096v4k-1-9-
|
|
62
|
-
--_k096v40-1-9-
|
|
63
|
-
--_k096v41-1-9-
|
|
64
|
-
--_k096v42-1-9-
|
|
61
|
+
._k096v4k-1-9-1 {
|
|
62
|
+
--_k096v40-1-9-1: var(--dt-colors-text-warning-disabled, #595a7d80);
|
|
63
|
+
--_k096v41-1-9-1: var(--dt-colors-icon-warning-disabled, #595a7d80);
|
|
64
|
+
--_k096v42-1-9-1: var(--dt-colors-border-warning-disabled, #dadbe480);
|
|
65
65
|
}
|
|
66
|
-
._k096v4l-1-9-
|
|
67
|
-
--_k096v40-1-9-
|
|
68
|
-
--_k096v41-1-9-
|
|
69
|
-
--_k096v42-1-9-
|
|
66
|
+
._k096v4l-1-9-1 {
|
|
67
|
+
--_k096v40-1-9-1: var(--dt-colors-text-critical-disabled, #595a7d80);
|
|
68
|
+
--_k096v41-1-9-1: var(--dt-colors-icon-critical-disabled, #595a7d80);
|
|
69
|
+
--_k096v42-1-9-1: var(--dt-colors-border-critical-disabled, #dadbe480);
|
|
70
70
|
}
|
|
71
|
-
._k096v4m-1-9-
|
|
72
|
-
--_k096v40-1-9-
|
|
73
|
-
--_k096v41-1-9-
|
|
74
|
-
--_k096v42-1-9-
|
|
71
|
+
._k096v4m-1-9-1 {
|
|
72
|
+
--_k096v40-1-9-1: var(--dt-colors-text-neutral-disabled, #595a7d80);
|
|
73
|
+
--_k096v41-1-9-1: var(--dt-colors-icon-neutral-disabled, #595a7d80);
|
|
74
|
+
--_k096v42-1-9-1: var(--dt-colors-border-neutral-disabled, #dadbe480);
|
|
75
75
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./colorUtils.css";
|
|
2
2
|
import { createRuntimeFn as _7a468 } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
3
|
-
var colorUtilsCSS = _7a468({ defaultClassName: "_k096v43-1-9-
|
|
4
|
-
var colorUtilsVars = { text: "var(--_k096v40-1-9-
|
|
3
|
+
var colorUtilsCSS = _7a468({ defaultClassName: "_k096v43-1-9-1", variantClassNames: { color: { critical: "_k096v44-1-9-1", neutral: "_k096v45-1-9-1", primary: "_k096v46-1-9-1", success: "_k096v47-1-9-1", warning: "_k096v48-1-9-1" }, variant: { "default": "_k096v49-1-9-1", accent: "_k096v4a-1-9-1" }, disabled: { true: "_k096v4b-1-9-1", false: "_k096v4c-1-9-1" } }, defaultVariants: {}, compoundVariants: [[{ color: "primary", variant: "accent" }, "_k096v4d-1-9-1"], [{ color: "success", variant: "accent" }, "_k096v4e-1-9-1"], [{ color: "warning", variant: "accent" }, "_k096v4f-1-9-1"], [{ color: "critical", variant: "accent" }, "_k096v4g-1-9-1"], [{ color: "neutral", variant: "accent" }, "_k096v4h-1-9-1"], [{ color: "primary", disabled: true }, "_k096v4i-1-9-1"], [{ color: "success", disabled: true }, "_k096v4j-1-9-1"], [{ color: "warning", disabled: true }, "_k096v4k-1-9-1"], [{ color: "critical", disabled: true }, "_k096v4l-1-9-1"], [{ color: "neutral", disabled: true }, "_k096v4m-1-9-1"]] });
|
|
4
|
+
var colorUtilsVars = { text: "var(--_k096v40-1-9-1)", icon: "var(--_k096v41-1-9-1)", borderColor: "var(--_k096v42-1-9-1)" };
|
|
5
5
|
export {
|
|
6
6
|
colorUtilsCSS,
|
|
7
7
|
colorUtilsVars
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/core/utils/colorUtils.css.ts"],
|
|
4
|
-
"sourcesContent": ["import './colorUtils.css';\nimport { createRuntimeFn as _7a468 } from '@vanilla-extract/recipes/createRuntimeFn';\nexport var colorUtilsCSS = _7a468({defaultClassName:'_k096v43-1-9-
|
|
4
|
+
"sourcesContent": ["import './colorUtils.css';\nimport { createRuntimeFn as _7a468 } from '@vanilla-extract/recipes/createRuntimeFn';\nexport var colorUtilsCSS = _7a468({defaultClassName:'_k096v43-1-9-1',variantClassNames:{color:{critical:'_k096v44-1-9-1',neutral:'_k096v45-1-9-1',primary:'_k096v46-1-9-1',success:'_k096v47-1-9-1',warning:'_k096v48-1-9-1'},variant:{'default':'_k096v49-1-9-1',accent:'_k096v4a-1-9-1'},disabled:{true:'_k096v4b-1-9-1',false:'_k096v4c-1-9-1'}},defaultVariants:{},compoundVariants:[[{color:'primary',variant:'accent'},'_k096v4d-1-9-1'],[{color:'success',variant:'accent'},'_k096v4e-1-9-1'],[{color:'warning',variant:'accent'},'_k096v4f-1-9-1'],[{color:'critical',variant:'accent'},'_k096v4g-1-9-1'],[{color:'neutral',variant:'accent'},'_k096v4h-1-9-1'],[{color:'primary',disabled:true},'_k096v4i-1-9-1'],[{color:'success',disabled:true},'_k096v4j-1-9-1'],[{color:'warning',disabled:true},'_k096v4k-1-9-1'],[{color:'critical',disabled:true},'_k096v4l-1-9-1'],[{color:'neutral',disabled:true},'_k096v4m-1-9-1']]});\nexport var colorUtilsVars = {text:'var(--_k096v40-1-9-1)',icon:'var(--_k096v41-1-9-1)',borderColor:'var(--_k096v42-1-9-1)'};"],
|
|
5
5
|
"mappings": "AAAA,OAAO;AACP,SAAS,mBAAmB,cAAc;AACnC,IAAI,gBAAgB,OAAO,EAAC,kBAAiB,kBAAiB,mBAAkB,EAAC,OAAM,EAAC,UAAS,kBAAiB,SAAQ,kBAAiB,SAAQ,kBAAiB,SAAQ,kBAAiB,SAAQ,iBAAgB,GAAE,SAAQ,EAAC,WAAU,kBAAiB,QAAO,iBAAgB,GAAE,UAAS,EAAC,MAAK,kBAAiB,OAAM,iBAAgB,EAAC,GAAE,iBAAgB,CAAC,GAAE,kBAAiB,CAAC,CAAC,EAAC,OAAM,WAAU,SAAQ,SAAQ,GAAE,gBAAgB,GAAE,CAAC,EAAC,OAAM,WAAU,SAAQ,SAAQ,GAAE,gBAAgB,GAAE,CAAC,EAAC,OAAM,WAAU,SAAQ,SAAQ,GAAE,gBAAgB,GAAE,CAAC,EAAC,OAAM,YAAW,SAAQ,SAAQ,GAAE,gBAAgB,GAAE,CAAC,EAAC,OAAM,WAAU,SAAQ,SAAQ,GAAE,gBAAgB,GAAE,CAAC,EAAC,OAAM,WAAU,UAAS,KAAI,GAAE,gBAAgB,GAAE,CAAC,EAAC,OAAM,WAAU,UAAS,KAAI,GAAE,gBAAgB,GAAE,CAAC,EAAC,OAAM,WAAU,UAAS,KAAI,GAAE,gBAAgB,GAAE,CAAC,EAAC,OAAM,YAAW,UAAS,KAAI,GAAE,gBAAgB,GAAE,CAAC,EAAC,OAAM,WAAU,UAAS,KAAI,GAAE,gBAAgB,CAAC,EAAC,CAAC;AACl4B,IAAI,iBAAiB,EAAC,MAAK,yBAAwB,MAAK,yBAAwB,aAAY,wBAAuB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
._f32lcd0-1-9-
|
|
1
|
+
._f32lcd0-1-9-1 {
|
|
2
2
|
border-style: var(--dt-borders-style-default, solid);
|
|
3
3
|
border-width: var(--dt-borders-width-emphasized, 2px);
|
|
4
4
|
border-radius: var(--dt-borders-radius-container-default, 12px);
|
|
5
|
-
color: var(--_6levse0-1-9-
|
|
6
|
-
border-color: var(--_6levse2-1-9-
|
|
7
|
-
background-color: var(--_6levse1-1-9-
|
|
5
|
+
color: var(--_6levse0-1-9-1);
|
|
6
|
+
border-color: var(--_6levse2-1-9-1);
|
|
7
|
+
background-color: var(--_6levse1-1-9-1);
|
|
8
8
|
}
|