@dynatrace/strato-components 1.13.0 → 1.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/buttons/button/Button.css +16 -16
- package/buttons/button/Button.js +10 -10
- package/buttons/button/Button.sty.d.ts +4 -4
- package/buttons/button/Button.sty.js +8 -8
- package/buttons/button/Label.js +1 -1
- 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.js +3 -3
- package/content/progress/ProgressBarLabel.sty.d.ts +1 -1
- package/content/progress/ProgressBarLabel.sty.js +2 -2
- package/content/progress/ProgressBarValue.css +5 -5
- package/content/progress/ProgressBarValue.js +2 -2
- package/content/progress/ProgressBarValue.sty.d.ts +1 -1
- package/content/progress/ProgressBarValue.sty.js +2 -2
- package/content/progress/ProgressCircle.css +40 -40
- package/content/progress/ProgressCircle.js +1 -1
- package/content/progress/ProgressCircle.sty.js +5 -5
- package/content/skeleton/Skeleton.css +7 -7
- package/content/skeleton/Skeleton.sty.js +5 -5
- package/core/components/app-root/AppRoot.d.ts +13 -1
- package/core/components/app-root/AppRoot.js +3 -2
- 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/core/utils/is-node-environment.d.ts +15 -0
- package/core/utils/is-node-environment.js +34 -0
- package/core/utils/logging.d.ts +8 -0
- package/core/utils/logging.js +33 -0
- package/esm/buttons/button/Button.css +16 -16
- package/esm/buttons/button/Button.js +11 -11
- package/esm/buttons/button/Button.js.map +2 -2
- package/esm/buttons/button/Button.sty.js +8 -8
- package/esm/buttons/button/Button.sty.js.map +2 -2
- package/esm/buttons/button/Label.js +2 -2
- package/esm/buttons/button/Label.js.map +2 -2
- 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.js +6 -6
- package/esm/content/progress/ProgressBarLabel.js.map +2 -2
- package/esm/content/progress/ProgressBarLabel.sty.js +2 -2
- package/esm/content/progress/ProgressBarLabel.sty.js.map +2 -2
- package/esm/content/progress/ProgressBarValue.css +5 -5
- package/esm/content/progress/ProgressBarValue.js +4 -4
- package/esm/content/progress/ProgressBarValue.js.map +2 -2
- package/esm/content/progress/ProgressBarValue.sty.js +2 -2
- package/esm/content/progress/ProgressBarValue.sty.js.map +2 -2
- package/esm/content/progress/ProgressCircle.css +40 -40
- package/esm/content/progress/ProgressCircle.js +2 -2
- package/esm/content/progress/ProgressCircle.js.map +2 -2
- 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 +7 -7
- package/esm/content/skeleton/Skeleton.sty.js +5 -5
- package/esm/content/skeleton/Skeleton.sty.js.map +1 -1
- package/esm/core/components/app-root/AppRoot.js +3 -2
- package/esm/core/components/app-root/AppRoot.js.map +2 -2
- package/esm/core/hooks/useId.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/core/utils/is-node-environment.js +15 -0
- package/esm/core/utils/is-node-environment.js.map +7 -0
- package/esm/core/utils/logging.js +14 -0
- package/esm/core/utils/logging.js.map +7 -0
- 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.js +4 -4
- package/esm/layouts/surface/Surface.js.map +2 -2
- 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 +3 -3
- package/esm/styles/colorUtils.sty.js.map +2 -2
- 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 +2 -2
- package/esm/styles/ellipsis.sty.js.map +2 -2
- package/esm/styles/field.css +153 -153
- package/esm/styles/field.sty.js +3 -3
- package/esm/styles/field.sty.js.map +2 -2
- package/esm/styles/index.js +2 -2
- package/esm/styles/index.js.map +2 -2
- 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 +2 -2
- package/esm/styles/textStyle.sty.js.map +2 -2
- 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 -5
- package/esm/typography/external-link/ExternalLink.js +2 -2
- package/esm/typography/external-link/ExternalLink.js.map +2 -2
- package/esm/typography/external-link/ExternalLink.sty.js +1 -1
- package/esm/typography/external-link/ExternalLink.sty.js.map +1 -1
- 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 +5 -6
- package/esm/typography/highlight/Highlight.js +45 -138
- package/esm/typography/highlight/Highlight.js.map +3 -3
- package/esm/typography/highlight/Highlight.sty.js +2 -4
- package/esm/typography/highlight/Highlight.sty.js.map +2 -2
- package/esm/typography/highlight/utils/create-ranged-highlights.js +51 -0
- package/esm/typography/highlight/utils/create-ranged-highlights.js.map +7 -0
- package/esm/typography/highlight/utils/get-or-create-shared-highlight.js +25 -0
- package/esm/typography/highlight/utils/get-or-create-shared-highlight.js.map +7 -0
- package/esm/typography/link/Link.css +3 -3
- package/esm/typography/link/Link.js +2 -2
- package/esm/typography/link/Link.js.map +2 -2
- 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.js +3 -7
- package/esm/typography/paragraph/Paragraph.js.map +2 -2
- package/esm/typography/paragraph/Paragraph.sty.js +2 -2
- package/esm/typography/paragraph/Paragraph.sty.js.map +2 -2
- 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.js +5 -5
- package/esm/typography/text/Text.js.map +2 -2
- package/esm/typography/text/Text.sty.js +2 -2
- package/esm/typography/text/Text.sty.js.map +2 -2
- 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.js +2 -2
- 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.d.ts +1 -1
- package/styles/colorUtils.sty.js +3 -3
- package/styles/container.css +47 -47
- package/styles/container.sty.js +2 -2
- package/styles/ellipsis.css +1 -1
- package/styles/ellipsis.sty.d.ts +1 -1
- package/styles/ellipsis.sty.js +2 -2
- package/styles/field.css +153 -153
- package/styles/field.sty.d.ts +1 -1
- package/styles/field.sty.js +3 -3
- package/styles/index.d.ts +1 -1
- package/styles/index.js +1 -1
- package/styles/sprinkles.css +262 -262
- package/styles/sprinkles.sty.js +1 -1
- package/styles/textStyle.css +8 -8
- package/styles/textStyle.sty.d.ts +1 -1
- package/styles/textStyle.sty.js +2 -2
- 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 -5
- package/typography/external-link/ExternalLink.js +2 -2
- package/typography/external-link/ExternalLink.sty.js +1 -1
- package/typography/heading/Heading.css +7 -7
- package/typography/heading/Heading.sty.js +1 -1
- package/typography/highlight/Highlight.css +5 -6
- package/typography/highlight/Highlight.d.ts +1 -1
- package/typography/highlight/Highlight.js +43 -127
- package/typography/highlight/Highlight.sty.d.ts +1 -2
- package/typography/highlight/Highlight.sty.js +2 -4
- package/typography/highlight/utils/create-ranged-highlights.d.ts +10 -0
- package/typography/highlight/utils/create-ranged-highlights.js +70 -0
- package/typography/highlight/utils/get-or-create-shared-highlight.d.ts +7 -0
- package/typography/highlight/utils/get-or-create-shared-highlight.js +44 -0
- package/typography/link/Link.css +3 -3
- package/typography/link/Link.js +2 -2
- 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.js +1 -5
- package/typography/paragraph/Paragraph.sty.d.ts +1 -1
- package/typography/paragraph/Paragraph.sty.js +2 -2
- 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.js +3 -3
- package/typography/text/Text.sty.d.ts +1 -1
- package/typography/text/Text.sty.js +2 -2
- package/typography/text-ellipsis/TextEllipsis.css +6 -6
- package/typography/text-ellipsis/TextEllipsis.sty.js +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@keyframes _kvldjh3-1-
|
|
1
|
+
@keyframes _kvldjh3-1-15-0 {
|
|
2
2
|
0% {
|
|
3
3
|
transform: rotate(0deg);
|
|
4
4
|
}
|
|
@@ -6,79 +6,79 @@
|
|
|
6
6
|
transform: rotate(360deg);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
._kvldjh4-1-
|
|
9
|
+
._kvldjh4-1-15-0 {
|
|
10
10
|
display: inline-block;
|
|
11
11
|
}
|
|
12
|
-
._kvldjh5-1-
|
|
12
|
+
._kvldjh5-1-15-0 {
|
|
13
13
|
display: block;
|
|
14
14
|
transform: rotate(-90deg);
|
|
15
15
|
}
|
|
16
|
-
._kvldjh6-1-
|
|
17
|
-
stroke: var(--_kvldjh2-1-
|
|
16
|
+
._kvldjh6-1-15-0 {
|
|
17
|
+
stroke: var(--_kvldjh2-1-15-0);
|
|
18
18
|
transform-origin: center;
|
|
19
19
|
}
|
|
20
|
-
._kvldjh7-1-
|
|
20
|
+
._kvldjh7-1-15-0 {
|
|
21
21
|
stroke-dasharray: 90 360;
|
|
22
22
|
transform-origin: 50% 50%;
|
|
23
|
-
animation-name: _kvldjh3-1-
|
|
23
|
+
animation-name: _kvldjh3-1-15-0;
|
|
24
24
|
animation-duration: var(--dt-timings-slowest-moderate, 1200ms);
|
|
25
25
|
animation-timing-function: cubic-bezier(0.5, 0.15, 0.5, 0.8);
|
|
26
26
|
animation-iteration-count: infinite;
|
|
27
27
|
}
|
|
28
|
-
._kvldjh8-1-
|
|
28
|
+
._kvldjh8-1-15-0 {
|
|
29
29
|
animation-duration: var(--dt-timings-fast-moderate, 200ms);
|
|
30
30
|
transition-property: stroke-dashoffset;
|
|
31
31
|
}
|
|
32
|
-
._kvldjh9-1-
|
|
33
|
-
stroke: var(--_kvldjh1-1-
|
|
32
|
+
._kvldjh9-1-15-0 {
|
|
33
|
+
stroke: var(--_kvldjh1-1-15-0);
|
|
34
34
|
}
|
|
35
|
-
._kvldjha-1-
|
|
35
|
+
._kvldjha-1-15-0 {
|
|
36
36
|
display: flex;
|
|
37
37
|
flex-direction: column;
|
|
38
38
|
align-items: center;
|
|
39
|
-
color: var(--_kvldjh0-1-
|
|
39
|
+
color: var(--_kvldjh0-1-15-0);
|
|
40
40
|
}
|
|
41
|
-
._kvldjhb-1-
|
|
41
|
+
._kvldjhb-1-15-0 {
|
|
42
42
|
gap: var(--dt-spacings-size-8, 8px);
|
|
43
43
|
}
|
|
44
|
-
._kvldjhc-1-
|
|
44
|
+
._kvldjhc-1-15-0 {
|
|
45
45
|
gap: var(--dt-spacings-size-12, 12px);
|
|
46
46
|
}
|
|
47
|
-
._kvldjhd-1-
|
|
48
|
-
--_kvldjh2-1-
|
|
47
|
+
._kvldjhd-1-15-0 {
|
|
48
|
+
--_kvldjh2-1-15-0: var(--dt-colors-border-critical-accent, #bb0731);
|
|
49
49
|
}
|
|
50
|
-
._kvldjhe-1-
|
|
51
|
-
--_kvldjh2-1-
|
|
50
|
+
._kvldjhe-1-15-0 {
|
|
51
|
+
--_kvldjh2-1-15-0: var(--dt-colors-border-neutral-accent, #595a7d);
|
|
52
52
|
}
|
|
53
|
-
._kvldjhf-1-
|
|
54
|
-
--_kvldjh2-1-
|
|
53
|
+
._kvldjhf-1-15-0 {
|
|
54
|
+
--_kvldjh2-1-15-0: var(--dt-colors-border-primary-accent, #464cce);
|
|
55
55
|
}
|
|
56
|
-
._kvldjhg-1-
|
|
57
|
-
--_kvldjh2-1-
|
|
56
|
+
._kvldjhg-1-15-0 {
|
|
57
|
+
--_kvldjh2-1-15-0: var(--dt-colors-border-success-accent, #2d6761);
|
|
58
58
|
}
|
|
59
|
-
._kvldjhh-1-
|
|
60
|
-
--_kvldjh2-1-
|
|
59
|
+
._kvldjhh-1-15-0 {
|
|
60
|
+
--_kvldjh2-1-15-0: var(--dt-colors-border-warning-accent, #855400);
|
|
61
61
|
}
|
|
62
|
-
._kvldjhi-1-
|
|
63
|
-
--_kvldjh0-1-
|
|
64
|
-
--_kvldjh1-1-
|
|
62
|
+
._kvldjhi-1-15-0 {
|
|
63
|
+
--_kvldjh0-1-15-0: var(--dt-colors-text-neutral-default, #2f2f4f);
|
|
64
|
+
--_kvldjh1-1-15-0: var(--dt-colors-border-neutral-default, #dadbe4);
|
|
65
65
|
}
|
|
66
|
-
._kvldjhj-1-
|
|
67
|
-
--_kvldjh0-1-
|
|
68
|
-
--_kvldjh1-1-
|
|
66
|
+
._kvldjhj-1-15-0 {
|
|
67
|
+
--_kvldjh0-1-15-0: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
|
|
68
|
+
--_kvldjh1-1-15-0: var(--dt-colors-border-neutral-on-accent-disabled, #f3f3f633);
|
|
69
69
|
}
|
|
70
|
-
._kvldjhk-1-
|
|
71
|
-
--_kvldjh2-1-
|
|
70
|
+
._kvldjhk-1-15-0 {
|
|
71
|
+
--_kvldjh2-1-15-0: var(--dt-colors-border-primary-on-accent-default, #f4f4fb);
|
|
72
72
|
}
|
|
73
|
-
._kvldjhl-1-
|
|
74
|
-
--_kvldjh2-1-
|
|
73
|
+
._kvldjhl-1-15-0 {
|
|
74
|
+
--_kvldjh2-1-15-0: var(--dt-colors-border-success-on-accent-default, #f1f4f4);
|
|
75
75
|
}
|
|
76
|
-
._kvldjhm-1-
|
|
77
|
-
--_kvldjh2-1-
|
|
76
|
+
._kvldjhm-1-15-0 {
|
|
77
|
+
--_kvldjh2-1-15-0: var(--dt-colors-border-warning-on-accent-default, #272024);
|
|
78
78
|
}
|
|
79
|
-
._kvldjhn-1-
|
|
80
|
-
--_kvldjh2-1-
|
|
79
|
+
._kvldjhn-1-15-0 {
|
|
80
|
+
--_kvldjh2-1-15-0: var(--dt-colors-border-critical-on-accent-default, #f9f1f3);
|
|
81
81
|
}
|
|
82
|
-
._kvldjho-1-
|
|
83
|
-
--_kvldjh2-1-
|
|
82
|
+
._kvldjho-1-15-0 {
|
|
83
|
+
--_kvldjh2-1-15-0: var(--dt-colors-border-neutral-on-accent-default, #f3f3f6);
|
|
84
84
|
}
|
|
@@ -170,7 +170,7 @@ const ProgressCircle = (0, import_react.forwardRef)(
|
|
|
170
170
|
"label",
|
|
171
171
|
{
|
|
172
172
|
className: (0, import_clsx.default)(
|
|
173
|
-
(0, import_textStyle_css.
|
|
173
|
+
(0, import_textStyle_css.textStyle)({ textStyle: size === "small" ? "small" : "base" })
|
|
174
174
|
),
|
|
175
175
|
htmlFor: id,
|
|
176
176
|
children
|
|
@@ -27,8 +27,8 @@ __export(ProgressCircle_css_exports, {
|
|
|
27
27
|
module.exports = __toCommonJS(ProgressCircle_css_exports);
|
|
28
28
|
var import_ProgressCircle_css_ts_vanilla = require("./ProgressCircle.css");
|
|
29
29
|
var import_createRuntimeFn = require("@vanilla-extract/recipes/createRuntimeFn");
|
|
30
|
-
var progressCircleBackgroundCSS = "_kvldjh9-1-
|
|
31
|
-
var progressCircleCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_kvldjh6-1-
|
|
32
|
-
var progressCircleContainerCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_kvldjha-1-
|
|
33
|
-
var progressCircleRootCSS = "_kvldjh4-1-
|
|
34
|
-
var progressCircleSvgCss = "_kvldjh5-1-
|
|
30
|
+
var progressCircleBackgroundCSS = "_kvldjh9-1-15-0";
|
|
31
|
+
var progressCircleCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_kvldjh6-1-15-0", variantClassNames: { indeterminate: { true: "_kvldjh7-1-15-0", false: "_kvldjh8-1-15-0" } }, defaultVariants: {}, compoundVariants: [] });
|
|
32
|
+
var progressCircleContainerCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_kvldjha-1-15-0", variantClassNames: { size: { small: "_kvldjhb-1-15-0", large: "_kvldjhc-1-15-0" }, color: { critical: "_kvldjhd-1-15-0", neutral: "_kvldjhe-1-15-0", primary: "_kvldjhf-1-15-0", success: "_kvldjhg-1-15-0", warning: "_kvldjhh-1-15-0" }, variant: { "default": "_kvldjhi-1-15-0", accent: "_kvldjhj-1-15-0" } }, defaultVariants: {}, compoundVariants: [[{ color: "primary", variant: "accent" }, "_kvldjhk-1-15-0"], [{ color: "success", variant: "accent" }, "_kvldjhl-1-15-0"], [{ color: "warning", variant: "accent" }, "_kvldjhm-1-15-0"], [{ color: "critical", variant: "accent" }, "_kvldjhn-1-15-0"], [{ color: "neutral", variant: "accent" }, "_kvldjho-1-15-0"]] });
|
|
33
|
+
var progressCircleRootCSS = "_kvldjh4-1-15-0";
|
|
34
|
+
var progressCircleSvgCss = "_kvldjh5-1-15-0";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
._1a1ozfd0-1-
|
|
1
|
+
._1a1ozfd0-1-15-0 {
|
|
2
2
|
position: relative;
|
|
3
3
|
overflow: hidden;
|
|
4
4
|
}
|
|
5
|
-
._1a1ozfd1-1-
|
|
5
|
+
._1a1ozfd1-1-15-0 {
|
|
6
6
|
border-radius: var(--dt-borders-radius-container-subdued, 6px);
|
|
7
7
|
}
|
|
8
|
-
._1a1ozfd2-1-
|
|
8
|
+
._1a1ozfd2-1-15-0 {
|
|
9
9
|
border-radius: 9999px;
|
|
10
10
|
}
|
|
11
|
-
._1a1ozfd3-1-
|
|
11
|
+
._1a1ozfd3-1-15-0 {
|
|
12
12
|
width: 100%;
|
|
13
13
|
height: 100%;
|
|
14
14
|
}
|
|
15
|
-
._1a1ozfd4-1-
|
|
15
|
+
._1a1ozfd4-1-15-0 stop {
|
|
16
16
|
stop-color: var(--dt-colors-background-field-neutral-disabled, #e4e5eb80);
|
|
17
17
|
}
|
|
18
|
-
._1a1ozfd5-1-
|
|
18
|
+
._1a1ozfd5-1-15-0 {
|
|
19
19
|
width: 100%;
|
|
20
20
|
height: 100%;
|
|
21
21
|
fill: var(--dt-colors-background-field-neutral-disabled, #e4e5eb80);
|
|
22
22
|
}
|
|
23
23
|
@media (prefers-reduced-motion) {
|
|
24
|
-
._1a1ozfd6-1-
|
|
24
|
+
._1a1ozfd6-1-15-0 {
|
|
25
25
|
display: contents;
|
|
26
26
|
}
|
|
27
27
|
}
|
|
@@ -27,8 +27,8 @@ __export(Skeleton_css_exports, {
|
|
|
27
27
|
module.exports = __toCommonJS(Skeleton_css_exports);
|
|
28
28
|
var import_Skeleton_css_ts_vanilla = require("./Skeleton.css");
|
|
29
29
|
var import_createRuntimeFn = require("@vanilla-extract/recipes/createRuntimeFn");
|
|
30
|
-
var skeletonPlaceholderCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_1a1ozfd0-1-
|
|
31
|
-
var skeletonSvgBackgroundFillCSS = "_1a1ozfd5-1-
|
|
32
|
-
var skeletonSvgCSS = "_1a1ozfd3-1-
|
|
33
|
-
var skeletonSvgGradientCSS = "_1a1ozfd4-1-
|
|
34
|
-
var skeletonSvgGradientRectCSS = "_1a1ozfd6-1-
|
|
30
|
+
var skeletonPlaceholderCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_1a1ozfd0-1-15-0", variantClassNames: { variant: { "default": "_1a1ozfd1-1-15-0", rounded: "_1a1ozfd2-1-15-0" } }, defaultVariants: {}, compoundVariants: [] });
|
|
31
|
+
var skeletonSvgBackgroundFillCSS = "_1a1ozfd5-1-15-0";
|
|
32
|
+
var skeletonSvgCSS = "_1a1ozfd3-1-15-0";
|
|
33
|
+
var skeletonSvgGradientCSS = "_1a1ozfd4-1-15-0";
|
|
34
|
+
var skeletonSvgGradientRectCSS = "_1a1ozfd6-1-15-0";
|
|
@@ -8,7 +8,13 @@ import { type StylingProps } from '../../types/styling-props.js';
|
|
|
8
8
|
* AppRoot component props.
|
|
9
9
|
* @public
|
|
10
10
|
*/
|
|
11
|
-
export type AppRootProps = PropsWithChildren<DataTestId & StylingProps & MaskingProps
|
|
11
|
+
export type AppRootProps = PropsWithChildren<DataTestId & StylingProps & MaskingProps> & {
|
|
12
|
+
/**
|
|
13
|
+
* The path to the folder of translations. Needs to always end with a `/` value and contain language files like en.json + ja.json.
|
|
14
|
+
* The default path depends on your host domain and looks something like 'https://example.com/ui/lang/'.
|
|
15
|
+
*/
|
|
16
|
+
translationRootPath?: string;
|
|
17
|
+
};
|
|
12
18
|
/**
|
|
13
19
|
* In order to have all the providers in place for rendering overlays, applying
|
|
14
20
|
* global styles or internationalization, you need to wrap your app in the
|
|
@@ -19,4 +25,10 @@ export type AppRootProps = PropsWithChildren<DataTestId & StylingProps & Masking
|
|
|
19
25
|
*/
|
|
20
26
|
export declare const AppRoot: (props: DataTestId & StylingProps & MaskingProps & {
|
|
21
27
|
children?: import("react").ReactNode | undefined;
|
|
28
|
+
} & {
|
|
29
|
+
/**
|
|
30
|
+
* The path to the folder of translations. Needs to always end with a `/` value and contain language files like en.json + ja.json.
|
|
31
|
+
* The default path depends on your host domain and looks something like 'https://example.com/ui/lang/'.
|
|
32
|
+
*/
|
|
33
|
+
translationRootPath?: string;
|
|
22
34
|
} & import("react").RefAttributes<HTMLDivElement>) => React.ReactElement | null;
|
|
@@ -43,7 +43,8 @@ const AppRoot = /* @__PURE__ */ (0, import_react.forwardRef)(
|
|
|
43
43
|
className: consumerClassName,
|
|
44
44
|
"data-testid": dataTestId,
|
|
45
45
|
"data-dtrum-mask": dataDtrumMask,
|
|
46
|
-
"data-dtrum-allow": dataDtrumAllow
|
|
46
|
+
"data-dtrum-allow": dataDtrumAllow,
|
|
47
|
+
translationRootPath = `${getBaseHref()}lang/`
|
|
47
48
|
} = props;
|
|
48
49
|
const [messages, setMessages] = (0, import_react.useState)({});
|
|
49
50
|
const { children } = props;
|
|
@@ -64,7 +65,7 @@ const AppRoot = /* @__PURE__ */ (0, import_react.forwardRef)(
|
|
|
64
65
|
if (language === "en") {
|
|
65
66
|
return;
|
|
66
67
|
}
|
|
67
|
-
fetch(`${
|
|
68
|
+
fetch(`${translationRootPath}${language}.json`).then((res) => {
|
|
68
69
|
return res.json();
|
|
69
70
|
}).then((receivedMessages) => {
|
|
70
71
|
setMessages(receivedMessages);
|
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
._z2r50s3-1-
|
|
1
|
+
._z2r50s3-1-15-0 {
|
|
2
2
|
outline: none;
|
|
3
3
|
}
|
|
4
|
-
._z2r50s3-1-
|
|
4
|
+
._z2r50s3-1-15-0:focus-visible {
|
|
5
5
|
outline: none;
|
|
6
6
|
}
|
|
7
|
-
._z2r50s4-1-
|
|
7
|
+
._z2r50s4-1-15-0 {
|
|
8
8
|
border-radius: var(--dt-borders-radius-field-subdued, 3px);
|
|
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-15-0);
|
|
10
|
+
background-color: var(--_z2r50s2-1-15-0);
|
|
11
|
+
}
|
|
12
|
+
._z2r50s5-1-15-0._z2r50s5-1-15-0 {
|
|
13
|
+
box-shadow: inset 0 0 0 var(--dt-borders-width-emphasized, 2px) var(--_z2r50s0-1-15-0), inset 0 0 0 calc(var(--dt-borders-width-emphasized, 2px) + 1px) var(--_z2r50s1-1-15-0);
|
|
14
|
+
}
|
|
15
|
+
._z2r50s6-1-15-0 {
|
|
16
|
+
--_z2r50s0-1-15-0: var(--dt-colors-border-neutral-accent, #595a7d);
|
|
17
|
+
--_z2r50s1-1-15-0: var(--dt-colors-border-neutral-default, #dadbe4);
|
|
18
|
+
--_z2r50s2-1-15-0: var(--dt-colors-background-field-neutral-emphasized, #e4e5eb);
|
|
19
|
+
}
|
|
20
|
+
._z2r50s7-1-15-0 {
|
|
21
|
+
--_z2r50s0-1-15-0: var(--dt-colors-border-primary-accent, #464cce);
|
|
22
|
+
--_z2r50s1-1-15-0: var(--dt-colors-border-primary-default, #d5dbf6);
|
|
23
|
+
--_z2r50s2-1-15-0: var(--dt-colors-background-field-primary-emphasized, #e1e5f7);
|
|
24
|
+
}
|
|
25
|
+
._z2r50s8-1-15-0 {
|
|
26
|
+
--_z2r50s0-1-15-0: var(--dt-colors-border-success-accent, #2d6761);
|
|
27
|
+
--_z2r50s1-1-15-0: var(--dt-colors-border-success-default, #d3dedd);
|
|
28
|
+
--_z2r50s2-1-15-0: var(--dt-colors-background-field-success-emphasized, #e0e7e6);
|
|
29
|
+
}
|
|
30
|
+
._z2r50s9-1-15-0 {
|
|
31
|
+
--_z2r50s0-1-15-0: var(--dt-colors-border-warning-accent, #855400);
|
|
32
|
+
--_z2r50s1-1-15-0: var(--dt-colors-border-warning-default, #f9ebdb);
|
|
33
|
+
--_z2r50s2-1-15-0: var(--dt-colors-background-field-warning-emphasized, #f9f0e5);
|
|
34
|
+
}
|
|
35
|
+
._z2r50sa-1-15-0 {
|
|
36
|
+
--_z2r50s0-1-15-0: var(--dt-colors-border-critical-accent, #bb0731);
|
|
37
|
+
--_z2r50s1-1-15-0: var(--dt-colors-border-critical-default, #f6d6d5);
|
|
38
|
+
--_z2r50s2-1-15-0: var(--dt-colors-background-field-critical-emphasized, #f8e1e1);
|
|
39
|
+
}
|
|
40
|
+
._z2r50sb-1-15-0:focus-within {
|
|
41
41
|
outline: none;
|
|
42
42
|
}
|
|
43
|
-
._z2r50sc-1-
|
|
43
|
+
._z2r50sc-1-15-0:focus-within {
|
|
44
44
|
border-radius: var(--dt-borders-radius-field-subdued, 3px);
|
|
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-15-0);
|
|
46
|
+
background-color: var(--_z2r50s2-1-15-0);
|
|
47
|
+
}
|
|
48
|
+
._z2r50sd-1-15-0:focus-within {
|
|
49
|
+
box-shadow: inset 0 0 0 var(--dt-borders-width-emphasized, 2px) var(--_z2r50s0-1-15-0), inset 0 0 0 calc(var(--dt-borders-width-emphasized, 2px) + 1px) var(--_z2r50s1-1-15-0);
|
|
50
|
+
}
|
|
51
|
+
._z2r50se-1-15-0 {
|
|
52
|
+
--_z2r50s0-1-15-0: var(--dt-colors-border-neutral-accent, #595a7d);
|
|
53
|
+
--_z2r50s1-1-15-0: var(--dt-colors-border-neutral-default, #dadbe4);
|
|
54
|
+
--_z2r50s2-1-15-0: var(--dt-colors-background-field-neutral-emphasized, #e4e5eb);
|
|
55
|
+
}
|
|
56
|
+
._z2r50sf-1-15-0 {
|
|
57
|
+
--_z2r50s0-1-15-0: var(--dt-colors-border-primary-accent, #464cce);
|
|
58
|
+
--_z2r50s1-1-15-0: var(--dt-colors-border-primary-default, #d5dbf6);
|
|
59
|
+
--_z2r50s2-1-15-0: var(--dt-colors-background-field-primary-emphasized, #e1e5f7);
|
|
60
|
+
}
|
|
61
|
+
._z2r50sg-1-15-0 {
|
|
62
|
+
--_z2r50s0-1-15-0: var(--dt-colors-border-success-accent, #2d6761);
|
|
63
|
+
--_z2r50s1-1-15-0: var(--dt-colors-border-success-default, #d3dedd);
|
|
64
|
+
--_z2r50s2-1-15-0: var(--dt-colors-background-field-success-emphasized, #e0e7e6);
|
|
65
|
+
}
|
|
66
|
+
._z2r50sh-1-15-0 {
|
|
67
|
+
--_z2r50s0-1-15-0: var(--dt-colors-border-warning-accent, #855400);
|
|
68
|
+
--_z2r50s1-1-15-0: var(--dt-colors-border-warning-default, #f9ebdb);
|
|
69
|
+
--_z2r50s2-1-15-0: var(--dt-colors-background-field-warning-emphasized, #f9f0e5);
|
|
70
|
+
}
|
|
71
|
+
._z2r50si-1-15-0 {
|
|
72
|
+
--_z2r50s0-1-15-0: var(--dt-colors-border-critical-accent, #bb0731);
|
|
73
|
+
--_z2r50s1-1-15-0: var(--dt-colors-border-critical-default, #f6d6d5);
|
|
74
|
+
--_z2r50s2-1-15-0: var(--dt-colors-background-field-critical-emphasized, #f8e1e1);
|
|
75
75
|
}
|
|
@@ -24,5 +24,5 @@ __export(focusRing_css_exports, {
|
|
|
24
24
|
module.exports = __toCommonJS(focusRing_css_exports);
|
|
25
25
|
var import_focusRing_css_ts_vanilla = require("./focusRing.css");
|
|
26
26
|
var import_createRuntimeFn = require("@vanilla-extract/recipes/createRuntimeFn");
|
|
27
|
-
var focusRingCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_z2r50s3-1-
|
|
28
|
-
var focusRingFocusWithinCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_z2r50sb-1-
|
|
27
|
+
var focusRingCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_z2r50s3-1-15-0", variantClassNames: { minimal: { true: "_z2r50s4-1-15-0", false: "_z2r50s5-1-15-0" }, variant: { neutral: "_z2r50s6-1-15-0", primary: "_z2r50s7-1-15-0", success: "_z2r50s8-1-15-0", warning: "_z2r50s9-1-15-0", critical: "_z2r50sa-1-15-0" } }, defaultVariants: {}, compoundVariants: [] });
|
|
28
|
+
var focusRingFocusWithinCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_z2r50sb-1-15-0", variantClassNames: { minimal: { true: "_z2r50sc-1-15-0", false: "_z2r50sd-1-15-0" }, variant: { neutral: "_z2r50se-1-15-0", primary: "_z2r50sf-1-15-0", success: "_z2r50sg-1-15-0", warning: "_z2r50sh-1-15-0", critical: "_z2r50si-1-15-0" } }, defaultVariants: {}, compoundVariants: [] });
|
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
._k096v44-1-
|
|
2
|
-
--_k096v40-1-
|
|
3
|
-
--_k096v41-1-
|
|
4
|
-
--_k096v42-1-
|
|
1
|
+
._k096v44-1-15-0 {
|
|
2
|
+
--_k096v40-1-15-0: var(--dt-colors-text-critical-default, #bb0731);
|
|
3
|
+
--_k096v41-1-15-0: var(--dt-colors-icon-critical-default, #bb0731);
|
|
4
|
+
--_k096v42-1-15-0: var(--dt-colors-border-critical-default, #f6d6d5);
|
|
5
5
|
}
|
|
6
|
-
._k096v45-1-
|
|
7
|
-
--_k096v40-1-
|
|
8
|
-
--_k096v41-1-
|
|
9
|
-
--_k096v42-1-
|
|
6
|
+
._k096v45-1-15-0 {
|
|
7
|
+
--_k096v40-1-15-0: var(--dt-colors-text-neutral-default, #2f2f4f);
|
|
8
|
+
--_k096v41-1-15-0: var(--dt-colors-icon-neutral-default, #2f2f4f);
|
|
9
|
+
--_k096v42-1-15-0: var(--dt-colors-border-neutral-default, #dadbe4);
|
|
10
10
|
}
|
|
11
|
-
._k096v46-1-
|
|
12
|
-
--_k096v40-1-
|
|
13
|
-
--_k096v41-1-
|
|
14
|
-
--_k096v42-1-
|
|
11
|
+
._k096v46-1-15-0 {
|
|
12
|
+
--_k096v40-1-15-0: var(--dt-colors-text-primary-default, #464cce);
|
|
13
|
+
--_k096v41-1-15-0: var(--dt-colors-icon-primary-default, #464cce);
|
|
14
|
+
--_k096v42-1-15-0: var(--dt-colors-border-primary-default, #d5dbf6);
|
|
15
15
|
}
|
|
16
|
-
._k096v47-1-
|
|
17
|
-
--_k096v40-1-
|
|
18
|
-
--_k096v41-1-
|
|
19
|
-
--_k096v42-1-
|
|
16
|
+
._k096v47-1-15-0 {
|
|
17
|
+
--_k096v40-1-15-0: var(--dt-colors-text-success-default, #2d6761);
|
|
18
|
+
--_k096v41-1-15-0: var(--dt-colors-icon-success-default, #2d6761);
|
|
19
|
+
--_k096v42-1-15-0: var(--dt-colors-border-success-default, #d3dedd);
|
|
20
20
|
}
|
|
21
|
-
._k096v48-1-
|
|
22
|
-
--_k096v40-1-
|
|
23
|
-
--_k096v41-1-
|
|
24
|
-
--_k096v42-1-
|
|
21
|
+
._k096v48-1-15-0 {
|
|
22
|
+
--_k096v40-1-15-0: var(--dt-colors-text-warning-default, #855400);
|
|
23
|
+
--_k096v41-1-15-0: var(--dt-colors-icon-warning-default, #855400);
|
|
24
|
+
--_k096v42-1-15-0: var(--dt-colors-border-warning-default, #f9ebdb);
|
|
25
25
|
}
|
|
26
|
-
._k096v4d-1-
|
|
27
|
-
--_k096v40-1-
|
|
28
|
-
--_k096v41-1-
|
|
29
|
-
--_k096v42-1-
|
|
26
|
+
._k096v4d-1-15-0 {
|
|
27
|
+
--_k096v40-1-15-0: var(--dt-colors-text-primary-on-accent-default, #f4f4fb);
|
|
28
|
+
--_k096v41-1-15-0: var(--dt-colors-icon-primary-on-accent-default, #f4f4fb);
|
|
29
|
+
--_k096v42-1-15-0: var(--dt-colors-border-primary-accent, #464cce);
|
|
30
30
|
}
|
|
31
|
-
._k096v4e-1-
|
|
32
|
-
--_k096v40-1-
|
|
33
|
-
--_k096v41-1-
|
|
34
|
-
--_k096v42-1-
|
|
31
|
+
._k096v4e-1-15-0 {
|
|
32
|
+
--_k096v40-1-15-0: var(--dt-colors-text-success-on-accent-default, #f1f4f4);
|
|
33
|
+
--_k096v41-1-15-0: var(--dt-colors-icon-success-on-accent-default, #f1f4f4);
|
|
34
|
+
--_k096v42-1-15-0: var(--dt-colors-border-success-accent, #2d6761);
|
|
35
35
|
}
|
|
36
|
-
._k096v4f-1-
|
|
37
|
-
--_k096v40-1-
|
|
38
|
-
--_k096v41-1-
|
|
39
|
-
--_k096v42-1-
|
|
36
|
+
._k096v4f-1-15-0 {
|
|
37
|
+
--_k096v40-1-15-0: var(--dt-colors-text-warning-on-accent-default, #272024);
|
|
38
|
+
--_k096v41-1-15-0: var(--dt-colors-icon-warning-on-accent-default, #272024);
|
|
39
|
+
--_k096v42-1-15-0: var(--dt-colors-border-warning-accent, #855400);
|
|
40
40
|
}
|
|
41
|
-
._k096v4g-1-
|
|
42
|
-
--_k096v40-1-
|
|
43
|
-
--_k096v41-1-
|
|
44
|
-
--_k096v42-1-
|
|
41
|
+
._k096v4g-1-15-0 {
|
|
42
|
+
--_k096v40-1-15-0: var(--dt-colors-text-critical-on-accent-default, #f9f1f3);
|
|
43
|
+
--_k096v41-1-15-0: var(--dt-colors-icon-critical-on-accent-default, #f9f1f3);
|
|
44
|
+
--_k096v42-1-15-0: var(--dt-colors-border-critical-accent, #bb0731);
|
|
45
45
|
}
|
|
46
|
-
._k096v4h-1-
|
|
47
|
-
--_k096v40-1-
|
|
48
|
-
--_k096v41-1-
|
|
49
|
-
--_k096v42-1-
|
|
46
|
+
._k096v4h-1-15-0 {
|
|
47
|
+
--_k096v40-1-15-0: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
|
|
48
|
+
--_k096v41-1-15-0: var(--dt-colors-icon-neutral-on-accent-default, #f3f3f6);
|
|
49
|
+
--_k096v42-1-15-0: var(--dt-colors-border-neutral-accent, #595a7d);
|
|
50
50
|
}
|
|
51
|
-
._k096v4i-1-
|
|
52
|
-
--_k096v40-1-
|
|
53
|
-
--_k096v41-1-
|
|
54
|
-
--_k096v42-1-
|
|
51
|
+
._k096v4i-1-15-0 {
|
|
52
|
+
--_k096v40-1-15-0: var(--dt-colors-text-primary-disabled, #595a7d80);
|
|
53
|
+
--_k096v41-1-15-0: var(--dt-colors-icon-primary-disabled, #595a7d80);
|
|
54
|
+
--_k096v42-1-15-0: var(--dt-colors-border-primary-disabled, #dadbe480);
|
|
55
55
|
}
|
|
56
|
-
._k096v4j-1-
|
|
57
|
-
--_k096v40-1-
|
|
58
|
-
--_k096v41-1-
|
|
59
|
-
--_k096v42-1-
|
|
56
|
+
._k096v4j-1-15-0 {
|
|
57
|
+
--_k096v40-1-15-0: var(--dt-colors-text-success-disabled, #595a7d80);
|
|
58
|
+
--_k096v41-1-15-0: var(--dt-colors-icon-success-disabled, #595a7d80);
|
|
59
|
+
--_k096v42-1-15-0: var(--dt-colors-border-success-disabled, #dadbe480);
|
|
60
60
|
}
|
|
61
|
-
._k096v4k-1-
|
|
62
|
-
--_k096v40-1-
|
|
63
|
-
--_k096v41-1-
|
|
64
|
-
--_k096v42-1-
|
|
61
|
+
._k096v4k-1-15-0 {
|
|
62
|
+
--_k096v40-1-15-0: var(--dt-colors-text-warning-disabled, #595a7d80);
|
|
63
|
+
--_k096v41-1-15-0: var(--dt-colors-icon-warning-disabled, #595a7d80);
|
|
64
|
+
--_k096v42-1-15-0: var(--dt-colors-border-warning-disabled, #dadbe480);
|
|
65
65
|
}
|
|
66
|
-
._k096v4l-1-
|
|
67
|
-
--_k096v40-1-
|
|
68
|
-
--_k096v41-1-
|
|
69
|
-
--_k096v42-1-
|
|
66
|
+
._k096v4l-1-15-0 {
|
|
67
|
+
--_k096v40-1-15-0: var(--dt-colors-text-critical-disabled, #595a7d80);
|
|
68
|
+
--_k096v41-1-15-0: var(--dt-colors-icon-critical-disabled, #595a7d80);
|
|
69
|
+
--_k096v42-1-15-0: var(--dt-colors-border-critical-disabled, #dadbe480);
|
|
70
70
|
}
|
|
71
|
-
._k096v4m-1-
|
|
72
|
-
--_k096v40-1-
|
|
73
|
-
--_k096v41-1-
|
|
74
|
-
--_k096v42-1-
|
|
71
|
+
._k096v4m-1-15-0 {
|
|
72
|
+
--_k096v40-1-15-0: var(--dt-colors-text-neutral-disabled, #595a7d80);
|
|
73
|
+
--_k096v41-1-15-0: var(--dt-colors-icon-neutral-disabled, #595a7d80);
|
|
74
|
+
--_k096v42-1-15-0: var(--dt-colors-border-neutral-disabled, #dadbe480);
|
|
75
75
|
}
|
|
@@ -24,5 +24,5 @@ __export(colorUtils_css_exports, {
|
|
|
24
24
|
module.exports = __toCommonJS(colorUtils_css_exports);
|
|
25
25
|
var import_colorUtils_css_ts_vanilla = require("./colorUtils.css");
|
|
26
26
|
var import_createRuntimeFn = require("@vanilla-extract/recipes/createRuntimeFn");
|
|
27
|
-
var colorUtilsCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_k096v43-1-
|
|
28
|
-
var colorUtilsVars = { text: "var(--_k096v40-1-
|
|
27
|
+
var colorUtilsCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_k096v43-1-15-0", variantClassNames: { color: { critical: "_k096v44-1-15-0", neutral: "_k096v45-1-15-0", primary: "_k096v46-1-15-0", success: "_k096v47-1-15-0", warning: "_k096v48-1-15-0" }, variant: { "default": "_k096v49-1-15-0", accent: "_k096v4a-1-15-0" }, disabled: { true: "_k096v4b-1-15-0", false: "_k096v4c-1-15-0" } }, defaultVariants: {}, compoundVariants: [[{ color: "primary", variant: "accent" }, "_k096v4d-1-15-0"], [{ color: "success", variant: "accent" }, "_k096v4e-1-15-0"], [{ color: "warning", variant: "accent" }, "_k096v4f-1-15-0"], [{ color: "critical", variant: "accent" }, "_k096v4g-1-15-0"], [{ color: "neutral", variant: "accent" }, "_k096v4h-1-15-0"], [{ color: "primary", disabled: true }, "_k096v4i-1-15-0"], [{ color: "success", disabled: true }, "_k096v4j-1-15-0"], [{ color: "warning", disabled: true }, "_k096v4k-1-15-0"], [{ color: "critical", disabled: true }, "_k096v4l-1-15-0"], [{ color: "neutral", disabled: true }, "_k096v4m-1-15-0"]] });
|
|
28
|
+
var colorUtilsVars = { text: "var(--_k096v40-1-15-0)", icon: "var(--_k096v41-1-15-0)", borderColor: "var(--_k096v42-1-15-0)" };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns a boolean depending on whether we are in developer mode
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare function isDev(): boolean;
|
|
6
|
+
/**
|
|
7
|
+
* Returns a boolean depending on whether we are in production mode
|
|
8
|
+
* @internal
|
|
9
|
+
*/
|
|
10
|
+
export declare function isProduction(): boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Returns a boolean depending on whether we are in testing mode
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
export declare function isTest(): boolean;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var is_node_environment_exports = {};
|
|
20
|
+
__export(is_node_environment_exports, {
|
|
21
|
+
isDev: () => isDev,
|
|
22
|
+
isProduction: () => isProduction,
|
|
23
|
+
isTest: () => isTest
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(is_node_environment_exports);
|
|
26
|
+
function isDev() {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function isProduction() {
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
function isTest() {
|
|
33
|
+
return false;
|
|
34
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Logs the given message as a warning, if we are in developer mode.
|
|
3
|
+
* Does nothing otherwise.
|
|
4
|
+
*
|
|
5
|
+
* @param log - main part of the log message.
|
|
6
|
+
* @param details - passed as second parameter to the console warn.
|
|
7
|
+
*/
|
|
8
|
+
export declare function devLog(log: string, details?: unknown): void;
|