@dynatrace/strato-components 1.6.0 → 1.6.2
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/buttons/button/Label.js +2 -2
- 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 +2 -2
- package/content/progress/ProgressBarLabel.sty.js +1 -1
- package/content/progress/ProgressBarValue.css +5 -5
- package/content/progress/ProgressBarValue.js +2 -2
- 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/focus-scope/FocusScope.js +1 -1
- package/core/contexts/FocusContext.d.ts +1 -0
- package/core/contexts/FocusContext.js +2 -1
- package/core/index.d.ts +2 -1
- package/core/index.js +3 -1
- package/core/providers/FocusProvider.js +30 -4
- package/core/styles/focusRing.css +66 -66
- package/core/styles/focusRing.sty.js +2 -2
- package/core/utils/can-receive-default-text-format.d.ts +9 -0
- package/core/utils/can-receive-default-text-format.js +31 -0
- package/core/utils/colorUtils.css +60 -60
- package/core/utils/colorUtils.sty.js +2 -2
- package/core/utils/get-inert-value.d.ts +8 -0
- package/core/utils/get-inert-value.js +31 -0
- 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/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 +2 -2
- package/esm/content/progress/ProgressBarLabel.js.map +2 -2
- 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.js +2 -2
- package/esm/content/progress/ProgressBarValue.js.map +2 -2
- 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/focus-scope/FocusScope.js +1 -1
- package/esm/core/components/focus-scope/FocusScope.js.map +2 -2
- package/esm/core/contexts/FocusContext.js +2 -1
- package/esm/core/contexts/FocusContext.js.map +2 -2
- package/esm/core/index.js +3 -1
- package/esm/core/index.js.map +2 -2
- package/esm/core/providers/FocusProvider.js +31 -5
- package/esm/core/providers/FocusProvider.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/can-receive-default-text-format.js +15 -0
- package/esm/core/utils/can-receive-default-text-format.js.map +7 -0
- 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/get-inert-value.js +12 -0
- package/esm/core/utils/get-inert-value.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.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 +6 -6
- 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 +1 -1
- package/esm/typography/highlight/Highlight.sty.js +1 -1
- 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 +1 -1
- 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 +6 -6
- 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 +1 -1
- package/typography/highlight/Highlight.sty.js +1 -1
- 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,12 +1,12 @@
|
|
|
1
|
-
._10kgnsa0-1-6-
|
|
1
|
+
._10kgnsa0-1-6-2 {
|
|
2
2
|
font-family: var(--dt-typography-text-base-default-family, DynatraceFlow,Roboto,Helvetica,sans-serif);
|
|
3
3
|
font-weight: var(--dt-typography-text-base-emphasized-weight, 500);
|
|
4
4
|
font-size: var(--dt-typography-text-base-default-size, 14px);
|
|
5
5
|
line-height: var(--dt-typography-text-base-default-line-height, 1.4285714286);
|
|
6
6
|
text-decoration: var(--dt-typography-text-base-default-text-decoration, none);
|
|
7
7
|
text-transform: none;
|
|
8
|
-
background: var(--_bx32h3-1-6-
|
|
9
|
-
color: var(--_bx32h0-1-6-
|
|
8
|
+
background: var(--_bx32h3-1-6-2);
|
|
9
|
+
color: var(--_bx32h0-1-6-2);
|
|
10
10
|
display: inline-flex;
|
|
11
11
|
position: relative;
|
|
12
12
|
align-items: center;
|
|
@@ -23,42 +23,42 @@
|
|
|
23
23
|
transition-duration: var(--dt-animations-hover-duration-base, 150ms);
|
|
24
24
|
transition-property: color, background-color, transform;
|
|
25
25
|
}
|
|
26
|
-
._10kgnsa1-1-6-
|
|
26
|
+
._10kgnsa1-1-6-2 {
|
|
27
27
|
text-align: start;
|
|
28
28
|
justify-content: space-between;
|
|
29
29
|
}
|
|
30
|
-
._10kgnsa2-1-6-
|
|
30
|
+
._10kgnsa2-1-6-2 {
|
|
31
31
|
text-align: center;
|
|
32
32
|
justify-content: center;
|
|
33
33
|
}
|
|
34
|
-
._10kgnsa3-1-6-
|
|
34
|
+
._10kgnsa3-1-6-2 {
|
|
35
35
|
padding-top: var(--dt-spacings-size-2, 2px);
|
|
36
36
|
padding-bottom: var(--dt-spacings-size-2, 2px);
|
|
37
37
|
padding-left: var(--dt-spacings-size-4, 4px);
|
|
38
38
|
padding-right: var(--dt-spacings-size-4, 4px);
|
|
39
39
|
gap: var(--dt-spacings-size-2, 2px);
|
|
40
40
|
}
|
|
41
|
-
._10kgnsa4-1-6-
|
|
41
|
+
._10kgnsa4-1-6-2 {
|
|
42
42
|
padding-top: var(--dt-spacings-size-6, 6px);
|
|
43
43
|
padding-bottom: var(--dt-spacings-size-6, 6px);
|
|
44
44
|
padding-left: var(--dt-spacings-size-8, 8px);
|
|
45
45
|
padding-right: var(--dt-spacings-size-8, 8px);
|
|
46
46
|
gap: var(--dt-spacings-size-4, 4px);
|
|
47
47
|
}
|
|
48
|
-
._10kgnsa5-1-6-
|
|
48
|
+
._10kgnsa5-1-6-2 {
|
|
49
49
|
cursor: not-allowed;
|
|
50
50
|
}
|
|
51
|
-
._10kgnsa6-1-6-
|
|
51
|
+
._10kgnsa6-1-6-2 {
|
|
52
52
|
cursor: not-allowed;
|
|
53
|
-
background: var(--_bx32h2-1-6-
|
|
53
|
+
background: var(--_bx32h2-1-6-2);
|
|
54
54
|
}
|
|
55
|
-
._10kgnsa7-1-6-
|
|
55
|
+
._10kgnsa7-1-6-2 {
|
|
56
56
|
width: 100%;
|
|
57
57
|
}
|
|
58
|
-
._10kgnsa8-1-6-
|
|
58
|
+
._10kgnsa8-1-6-2 {
|
|
59
59
|
width: fit-content;
|
|
60
60
|
}
|
|
61
|
-
._10kgnsa9-1-6-
|
|
61
|
+
._10kgnsa9-1-6-2 {
|
|
62
62
|
position: absolute;
|
|
63
63
|
top: 0;
|
|
64
64
|
left: 0;
|
|
@@ -70,19 +70,19 @@
|
|
|
70
70
|
align-items: center;
|
|
71
71
|
z-index: 1;
|
|
72
72
|
}
|
|
73
|
-
._10kgnsa3-1-6-
|
|
73
|
+
._10kgnsa3-1-6-2 ._10kgnsaa-1-6-2:not(:has(svg:only-child)) {
|
|
74
74
|
padding-top: 0;
|
|
75
75
|
padding-bottom: 0;
|
|
76
76
|
padding-left: 2px;
|
|
77
77
|
padding-right: 2px;
|
|
78
78
|
}
|
|
79
|
-
._10kgnsa4-1-6-
|
|
79
|
+
._10kgnsa4-1-6-2 ._10kgnsaa-1-6-2:not(:has(svg:only-child)) {
|
|
80
80
|
padding-top: 0;
|
|
81
81
|
padding-bottom: 0;
|
|
82
82
|
padding-left: 4px;
|
|
83
83
|
padding-right: 4px;
|
|
84
84
|
}
|
|
85
|
-
._10kgnsac-1-6-
|
|
85
|
+
._10kgnsac-1-6-2 {
|
|
86
86
|
display: inline-flex;
|
|
87
87
|
min-width: 0;
|
|
88
88
|
max-width: 100%;
|
|
@@ -28,7 +28,7 @@ var import_ellipsis_css_ts_vanilla = require("../../styles/ellipsis.css");
|
|
|
28
28
|
var import_field_css_ts_vanilla = require("../../styles/field.css");
|
|
29
29
|
var import_Button_css_ts_vanilla = require("./Button.css");
|
|
30
30
|
var import_createRuntimeFn = require("@vanilla-extract/recipes/createRuntimeFn");
|
|
31
|
-
var buttonCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_10kgnsa0-1-6-
|
|
32
|
-
var buttonLabelCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_10kgnsaa-1-6-
|
|
33
|
-
var buttonLoadingCSS = "_10kgnsa9-1-6-
|
|
34
|
-
var buttonWidthsCSS = { full: "_10kgnsa7-1-6-
|
|
31
|
+
var buttonCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_10kgnsa0-1-6-2", variantClassNames: { textAlign: { start: "_10kgnsa1-1-6-2", center: "_10kgnsa2-1-6-2" }, size: { condensed: "_10kgnsa3-1-6-2", "default": "_10kgnsa4-1-6-2" }, disabled: { true: "_10kgnsa5-1-6-2" }, readOnly: { true: "_10kgnsa6-1-6-2" } }, defaultVariants: { size: "default", textAlign: "center", disabled: false }, compoundVariants: [] });
|
|
32
|
+
var buttonLabelCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_10kgnsaa-1-6-2", variantClassNames: { textual: { true: "_oqqp1n0-1-6-2", false: "_10kgnsac-1-6-2" } }, defaultVariants: {}, compoundVariants: [] });
|
|
33
|
+
var buttonLoadingCSS = "_10kgnsa9-1-6-2";
|
|
34
|
+
var buttonWidthsCSS = { full: "_10kgnsa7-1-6-2", content: "_10kgnsa8-1-6-2" };
|
package/buttons/button/Label.js
CHANGED
|
@@ -35,7 +35,7 @@ var import_jsx_runtime = require("react/jsx-runtime");
|
|
|
35
35
|
var import_clsx = __toESM(require("clsx"));
|
|
36
36
|
var import_react = require("react");
|
|
37
37
|
var import_Button_css = require("./Button.sty.js");
|
|
38
|
-
var
|
|
38
|
+
var import_can_receive_default_text_format = require("../../core/utils/can-receive-default-text-format.js");
|
|
39
39
|
const Label = /* @__PURE__ */ (0, import_react.forwardRef)((props, forwardedRef) => {
|
|
40
40
|
const {
|
|
41
41
|
children,
|
|
@@ -43,7 +43,7 @@ const Label = /* @__PURE__ */ (0, import_react.forwardRef)((props, forwardedRef)
|
|
|
43
43
|
style: consumerStyle,
|
|
44
44
|
"data-testid": dataTestId
|
|
45
45
|
} = props;
|
|
46
|
-
const textual = (0,
|
|
46
|
+
const textual = (0, import_can_receive_default_text_format.canReceiveDefaultTextFormat)(children);
|
|
47
47
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
48
48
|
"div",
|
|
49
49
|
{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@keyframes _13n9uwh0-1-6-
|
|
1
|
+
@keyframes _13n9uwh0-1-6-2 {
|
|
2
2
|
0% {
|
|
3
3
|
transform: translateX(-100%) scaleX(0);
|
|
4
4
|
}
|
|
@@ -6,92 +6,92 @@
|
|
|
6
6
|
transform: translateX(100%) scaleX(1.5);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
._13n9uwh5-1-6-
|
|
10
|
-
color: var(--_13n9uwh1-1-6-
|
|
11
|
-
}
|
|
12
|
-
._13n9uwhd-1-6-
|
|
13
|
-
--_13n9uwh1-1-6-
|
|
14
|
-
--_13n9uwh4-1-6-
|
|
15
|
-
--_13n9uwh2-1-6-
|
|
16
|
-
--_13n9uwh3-1-6-
|
|
17
|
-
}
|
|
18
|
-
._13n9uwhe-1-6-
|
|
19
|
-
--_13n9uwh1-1-6-
|
|
20
|
-
--_13n9uwh4-1-6-
|
|
21
|
-
--_13n9uwh2-1-6-
|
|
22
|
-
--_13n9uwh3-1-6-
|
|
23
|
-
}
|
|
24
|
-
._13n9uwhf-1-6-
|
|
25
|
-
--_13n9uwh1-1-6-
|
|
26
|
-
--_13n9uwh4-1-6-
|
|
27
|
-
--_13n9uwh2-1-6-
|
|
28
|
-
--_13n9uwh3-1-6-
|
|
29
|
-
}
|
|
30
|
-
._13n9uwhg-1-6-
|
|
31
|
-
--_13n9uwh1-1-6-
|
|
32
|
-
--_13n9uwh4-1-6-
|
|
33
|
-
--_13n9uwh2-1-6-
|
|
34
|
-
--_13n9uwh3-1-6-
|
|
35
|
-
}
|
|
36
|
-
._13n9uwhh-1-6-
|
|
37
|
-
--_13n9uwh1-1-6-
|
|
38
|
-
--_13n9uwh4-1-6-
|
|
39
|
-
--_13n9uwh2-1-6-
|
|
40
|
-
--_13n9uwh3-1-6-
|
|
9
|
+
._13n9uwh5-1-6-2 {
|
|
10
|
+
color: var(--_13n9uwh1-1-6-2);
|
|
11
|
+
}
|
|
12
|
+
._13n9uwhd-1-6-2 {
|
|
13
|
+
--_13n9uwh1-1-6-2: var(--dt-colors-text-neutral-default, #2b2a58);
|
|
14
|
+
--_13n9uwh4-1-6-2: var(--dt-colors-text-neutral-subdued, #545587);
|
|
15
|
+
--_13n9uwh2-1-6-2: var(--dt-colors-border-neutral-default, #d2d3e1);
|
|
16
|
+
--_13n9uwh3-1-6-2: var(--dt-colors-border-primary-accent, #454cc9);
|
|
17
|
+
}
|
|
18
|
+
._13n9uwhe-1-6-2 {
|
|
19
|
+
--_13n9uwh1-1-6-2: var(--dt-colors-text-neutral-default, #2b2a58);
|
|
20
|
+
--_13n9uwh4-1-6-2: var(--dt-colors-text-neutral-subdued, #545587);
|
|
21
|
+
--_13n9uwh2-1-6-2: var(--dt-colors-border-neutral-default, #d2d3e1);
|
|
22
|
+
--_13n9uwh3-1-6-2: var(--dt-colors-border-success-accent, #2c6360);
|
|
23
|
+
}
|
|
24
|
+
._13n9uwhf-1-6-2 {
|
|
25
|
+
--_13n9uwh1-1-6-2: var(--dt-colors-text-neutral-default, #2b2a58);
|
|
26
|
+
--_13n9uwh4-1-6-2: var(--dt-colors-text-neutral-subdued, #545587);
|
|
27
|
+
--_13n9uwh2-1-6-2: var(--dt-colors-border-neutral-default, #d2d3e1);
|
|
28
|
+
--_13n9uwh3-1-6-2: var(--dt-colors-border-warning-accent, #805100);
|
|
29
|
+
}
|
|
30
|
+
._13n9uwhg-1-6-2 {
|
|
31
|
+
--_13n9uwh1-1-6-2: var(--dt-colors-text-neutral-default, #2b2a58);
|
|
32
|
+
--_13n9uwh4-1-6-2: var(--dt-colors-text-neutral-subdued, #545587);
|
|
33
|
+
--_13n9uwh2-1-6-2: var(--dt-colors-border-neutral-default, #d2d3e1);
|
|
34
|
+
--_13n9uwh3-1-6-2: var(--dt-colors-border-critical-accent, #b80031);
|
|
35
|
+
}
|
|
36
|
+
._13n9uwhh-1-6-2 {
|
|
37
|
+
--_13n9uwh1-1-6-2: var(--dt-colors-text-neutral-default, #2b2a58);
|
|
38
|
+
--_13n9uwh4-1-6-2: var(--dt-colors-text-neutral-subdued, #545587);
|
|
39
|
+
--_13n9uwh2-1-6-2: var(--dt-colors-border-neutral-default, #d2d3e1);
|
|
40
|
+
--_13n9uwh3-1-6-2: var(--dt-colors-border-neutral-accent, #545587);
|
|
41
41
|
color: var(--dt-colors-text-neutral-default, #2b2a58);
|
|
42
42
|
}
|
|
43
|
-
._13n9uwhi-1-6-
|
|
44
|
-
--_13n9uwh1-1-6-
|
|
45
|
-
--_13n9uwh4-1-6-
|
|
46
|
-
--_13n9uwh2-1-6-
|
|
47
|
-
--_13n9uwh3-1-6-
|
|
48
|
-
}
|
|
49
|
-
._13n9uwhj-1-6-
|
|
50
|
-
--_13n9uwh1-1-6-
|
|
51
|
-
--_13n9uwh4-1-6-
|
|
52
|
-
--_13n9uwh2-1-6-
|
|
53
|
-
--_13n9uwh3-1-6-
|
|
54
|
-
}
|
|
55
|
-
._13n9uwhk-1-6-
|
|
56
|
-
--_13n9uwh1-1-6-
|
|
57
|
-
--_13n9uwh4-1-6-
|
|
58
|
-
--_13n9uwh2-1-6-
|
|
59
|
-
--_13n9uwh3-1-6-
|
|
60
|
-
}
|
|
61
|
-
._13n9uwhl-1-6-
|
|
62
|
-
--_13n9uwh1-1-6-
|
|
63
|
-
--_13n9uwh4-1-6-
|
|
64
|
-
--_13n9uwh2-1-6-
|
|
65
|
-
--_13n9uwh3-1-6-
|
|
66
|
-
}
|
|
67
|
-
._13n9uwhm-1-6-
|
|
68
|
-
--_13n9uwh1-1-6-
|
|
69
|
-
--_13n9uwh4-1-6-
|
|
70
|
-
--_13n9uwh2-1-6-
|
|
71
|
-
--_13n9uwh3-1-6-
|
|
72
|
-
}
|
|
73
|
-
._13n9uwhn-1-6-
|
|
43
|
+
._13n9uwhi-1-6-2 {
|
|
44
|
+
--_13n9uwh1-1-6-2: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
|
|
45
|
+
--_13n9uwh4-1-6-2: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
|
|
46
|
+
--_13n9uwh2-1-6-2: var(--dt-colors-border-primary-on-accent-disabled, #f4f4fb33);
|
|
47
|
+
--_13n9uwh3-1-6-2: var(--dt-colors-border-primary-on-accent-default, #f4f4fb);
|
|
48
|
+
}
|
|
49
|
+
._13n9uwhj-1-6-2 {
|
|
50
|
+
--_13n9uwh1-1-6-2: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
|
|
51
|
+
--_13n9uwh4-1-6-2: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
|
|
52
|
+
--_13n9uwh2-1-6-2: var(--dt-colors-border-success-on-accent-disabled, #f1f4f433);
|
|
53
|
+
--_13n9uwh3-1-6-2: var(--dt-colors-border-success-on-accent-default, #f1f4f4);
|
|
54
|
+
}
|
|
55
|
+
._13n9uwhk-1-6-2 {
|
|
56
|
+
--_13n9uwh1-1-6-2: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
|
|
57
|
+
--_13n9uwh4-1-6-2: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
|
|
58
|
+
--_13n9uwh2-1-6-2: var(--dt-colors-border-warning-on-accent-disabled, #27202533);
|
|
59
|
+
--_13n9uwh3-1-6-2: var(--dt-colors-border-warning-on-accent-default, #272025);
|
|
60
|
+
}
|
|
61
|
+
._13n9uwhl-1-6-2 {
|
|
62
|
+
--_13n9uwh1-1-6-2: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
|
|
63
|
+
--_13n9uwh4-1-6-2: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
|
|
64
|
+
--_13n9uwh2-1-6-2: var(--dt-colors-border-critical-on-accent-disabled, #f9f1f333);
|
|
65
|
+
--_13n9uwh3-1-6-2: var(--dt-colors-border-critical-on-accent-default, #f9f1f3);
|
|
66
|
+
}
|
|
67
|
+
._13n9uwhm-1-6-2 {
|
|
68
|
+
--_13n9uwh1-1-6-2: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
|
|
69
|
+
--_13n9uwh4-1-6-2: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
|
|
70
|
+
--_13n9uwh2-1-6-2: var(--dt-colors-border-neutral-on-accent-disabled, #f3f3f633);
|
|
71
|
+
--_13n9uwh3-1-6-2: var(--dt-colors-border-neutral-on-accent-default, #f3f3f6);
|
|
72
|
+
}
|
|
73
|
+
._13n9uwhn-1-6-2 {
|
|
74
74
|
width: 100%;
|
|
75
75
|
border-radius: var(--dt-borders-radius-container-subdued, 8px);
|
|
76
76
|
overflow: hidden;
|
|
77
77
|
position: relative;
|
|
78
|
-
background: var(--_13n9uwh2-1-6-
|
|
78
|
+
background: var(--_13n9uwh2-1-6-2);
|
|
79
79
|
}
|
|
80
|
-
._13n9uwho-1-6-
|
|
80
|
+
._13n9uwho-1-6-2 {
|
|
81
81
|
height: 6px;
|
|
82
82
|
}
|
|
83
|
-
._13n9uwhp-1-6-
|
|
83
|
+
._13n9uwhp-1-6-2 {
|
|
84
84
|
height: 8px;
|
|
85
85
|
}
|
|
86
|
-
._13n9uwhq-1-6-
|
|
86
|
+
._13n9uwhq-1-6-2 {
|
|
87
87
|
height: 100%;
|
|
88
88
|
transition-duration: var(--dt-timings-fast-default, 170ms);
|
|
89
89
|
transition-timing-function: var(--dt-easings-fast-in-slow-out, cubic-bezier(0.4, 0, 0.2, 1));
|
|
90
|
-
background-color: var(--_13n9uwh3-1-6-
|
|
90
|
+
background-color: var(--_13n9uwh3-1-6-2);
|
|
91
91
|
}
|
|
92
|
-
._13n9uwhr-1-6-
|
|
92
|
+
._13n9uwhr-1-6-2 {
|
|
93
93
|
width: 100%;
|
|
94
|
-
animation-name: _13n9uwh0-1-6-
|
|
94
|
+
animation-name: _13n9uwh0-1-6-2;
|
|
95
95
|
animation-duration: var(--dt-timings-slow-gentle, 800ms);
|
|
96
96
|
animation-timing-function: var(--dt-easings-fast-in-slow-out, cubic-bezier(0.4, 0, 0.2, 1));
|
|
97
97
|
animation-iteration-count: infinite;
|
|
@@ -27,8 +27,8 @@ __export(ProgressBar_css_exports, {
|
|
|
27
27
|
module.exports = __toCommonJS(ProgressBar_css_exports);
|
|
28
28
|
var import_ProgressBar_css_ts_vanilla = require("./ProgressBar.css");
|
|
29
29
|
var import_createRuntimeFn = require("@vanilla-extract/recipes/createRuntimeFn");
|
|
30
|
-
var progressBarFillCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_13n9uwhq-1-6-
|
|
31
|
-
var progressCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_13n9uwhn-1-6-
|
|
32
|
-
var progressIndicatorColorVar = "var(--_13n9uwh3-1-6-
|
|
33
|
-
var progressRoot = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_13n9uwh5-1-6-
|
|
34
|
-
var progressValueColorVar = "var(--_13n9uwh4-1-6-
|
|
30
|
+
var progressBarFillCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_13n9uwhq-1-6-2", variantClassNames: { indeterminate: { true: "_13n9uwhr-1-6-2" } }, defaultVariants: {}, compoundVariants: [] });
|
|
31
|
+
var progressCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_13n9uwhn-1-6-2", variantClassNames: { size: { condensed: "_13n9uwho-1-6-2", "default": "_13n9uwhp-1-6-2" } }, defaultVariants: {}, compoundVariants: [] });
|
|
32
|
+
var progressIndicatorColorVar = "var(--_13n9uwh3-1-6-2)";
|
|
33
|
+
var progressRoot = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_13n9uwh5-1-6-2", variantClassNames: { color: { primary: "_13n9uwh6-1-6-2", success: "_13n9uwh7-1-6-2", warning: "_13n9uwh8-1-6-2", critical: "_13n9uwh9-1-6-2", neutral: "_13n9uwha-1-6-2" }, onAccent: { true: "_13n9uwhb-1-6-2", false: "_13n9uwhc-1-6-2" } }, defaultVariants: {}, compoundVariants: [[{ color: "primary", onAccent: false }, "_13n9uwhd-1-6-2"], [{ color: "success", onAccent: false }, "_13n9uwhe-1-6-2"], [{ color: "warning", onAccent: false }, "_13n9uwhf-1-6-2"], [{ color: "critical", onAccent: false }, "_13n9uwhg-1-6-2"], [{ color: "neutral", onAccent: false }, "_13n9uwhh-1-6-2"], [{ color: "primary", onAccent: true }, "_13n9uwhi-1-6-2"], [{ color: "success", onAccent: true }, "_13n9uwhj-1-6-2"], [{ color: "warning", onAccent: true }, "_13n9uwhk-1-6-2"], [{ color: "critical", onAccent: true }, "_13n9uwhl-1-6-2"], [{ color: "neutral", onAccent: true }, "_13n9uwhm-1-6-2"]] });
|
|
34
|
+
var progressValueColorVar = "var(--_13n9uwh4-1-6-2)";
|
|
@@ -23,4 +23,4 @@ __export(ProgressBarIcon_css_exports, {
|
|
|
23
23
|
module.exports = __toCommonJS(ProgressBarIcon_css_exports);
|
|
24
24
|
var import_ProgressBar_css_ts_vanilla = require("./ProgressBar.css");
|
|
25
25
|
var import_ProgressBarIcon_css_ts_vanilla = require("./ProgressBarIcon.css");
|
|
26
|
-
var progressBarIconContainerCSS = "_szm9t40-1-6-
|
|
26
|
+
var progressBarIconContainerCSS = "_szm9t40-1-6-2";
|
|
@@ -36,7 +36,7 @@ var import_clsx = __toESM(require("clsx"));
|
|
|
36
36
|
var import_react = require("react");
|
|
37
37
|
var import_useProgressBarPropsContext = require("./hooks/useProgressBarPropsContext.js");
|
|
38
38
|
var import_ProgressBarLabel_css = require("./ProgressBarLabel.sty.js");
|
|
39
|
-
var
|
|
39
|
+
var import_can_receive_default_text_format = require("../../core/utils/can-receive-default-text-format.js");
|
|
40
40
|
var import_ellipsis_css = require("../../styles/ellipsis.sty.js");
|
|
41
41
|
var import_textStyle_css = require("../../styles/textStyle.sty.js");
|
|
42
42
|
const ProgressBarLabel = (0, import_react.forwardRef)((props, forwardedRef) => {
|
|
@@ -48,7 +48,7 @@ const ProgressBarLabel = (0, import_react.forwardRef)((props, forwardedRef) => {
|
|
|
48
48
|
...remainingProps
|
|
49
49
|
} = props;
|
|
50
50
|
const { id, density } = (0, import_useProgressBarPropsContext.useSharedProgressBarPropsContext)();
|
|
51
|
-
const childIsText = (0,
|
|
51
|
+
const childIsText = (0, import_can_receive_default_text_format.canReceiveDefaultTextFormat)(children);
|
|
52
52
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
53
53
|
"label",
|
|
54
54
|
{
|
|
@@ -23,4 +23,4 @@ __export(ProgressBarLabel_css_exports, {
|
|
|
23
23
|
module.exports = __toCommonJS(ProgressBarLabel_css_exports);
|
|
24
24
|
var import_ProgressBarLabel_css_ts_vanilla = require("./ProgressBarLabel.css");
|
|
25
25
|
var import_createRuntimeFn = require("@vanilla-extract/recipes/createRuntimeFn");
|
|
26
|
-
var progressBarLabelCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_1ceb8vp0-1-6-
|
|
26
|
+
var progressBarLabelCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_1ceb8vp0-1-6-2", variantClassNames: { size: { condensed: "_1ceb8vp1-1-6-2", "default": "_1ceb8vp2-1-6-2" }, childIsText: { false: "_1ceb8vp3-1-6-2" } }, defaultVariants: {}, compoundVariants: [] });
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
._1ri4i7o0-1-6-
|
|
2
|
-
color: var(--_13n9uwh4-1-6-
|
|
1
|
+
._1ri4i7o0-1-6-2 {
|
|
2
|
+
color: var(--_13n9uwh4-1-6-2);
|
|
3
3
|
}
|
|
4
|
-
._1ri4i7o2-1-6-
|
|
4
|
+
._1ri4i7o2-1-6-2 {
|
|
5
5
|
word-break: break-word;
|
|
6
6
|
}
|
|
7
|
-
._1ri4i7o4-1-6-
|
|
7
|
+
._1ri4i7o4-1-6-2 {
|
|
8
8
|
word-break: break-word;
|
|
9
9
|
}
|
|
10
|
-
._1ri4i7o5-1-6-
|
|
10
|
+
._1ri4i7o5-1-6-2 {
|
|
11
11
|
margin-left: auto;
|
|
12
12
|
align-self: center;
|
|
13
13
|
}
|
|
@@ -37,7 +37,7 @@ var import_react = require("react");
|
|
|
37
37
|
var import_react_intl = require("react-intl");
|
|
38
38
|
var import_useProgressBarPropsContext = require("./hooks/useProgressBarPropsContext.js");
|
|
39
39
|
var import_ProgressBarValue_css = require("./ProgressBarValue.sty.js");
|
|
40
|
-
var
|
|
40
|
+
var import_can_receive_default_text_format = require("../../core/utils/can-receive-default-text-format.js");
|
|
41
41
|
var import_textStyle_css = require("../../styles/textStyle.sty.js");
|
|
42
42
|
const ProgressBarValue = (0, import_react.forwardRef)((props, forwardedRef) => {
|
|
43
43
|
const {
|
|
@@ -54,7 +54,7 @@ const ProgressBarValue = (0, import_react.forwardRef)((props, forwardedRef) => {
|
|
|
54
54
|
description: "Default label for the progress-bar."
|
|
55
55
|
});
|
|
56
56
|
const { density } = (0, import_useProgressBarPropsContext.useSharedProgressBarPropsContext)();
|
|
57
|
-
const childIsText = (0,
|
|
57
|
+
const childIsText = (0, import_can_receive_default_text_format.canReceiveDefaultTextFormat)(children);
|
|
58
58
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
59
59
|
"div",
|
|
60
60
|
{
|
|
@@ -25,4 +25,4 @@ var import_ProgressBar_css_ts_vanilla = require("./ProgressBar.css");
|
|
|
25
25
|
var import_ellipsis_css_ts_vanilla = require("../../styles/ellipsis.css");
|
|
26
26
|
var import_ProgressBarValue_css_ts_vanilla = require("./ProgressBarValue.css");
|
|
27
27
|
var import_createRuntimeFn = require("@vanilla-extract/recipes/createRuntimeFn");
|
|
28
|
-
var progressBarValueCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_1ri4i7o0-1-6-
|
|
28
|
+
var progressBarValueCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_1ri4i7o0-1-6-2", variantClassNames: { size: { condensed: "_1ri4i7o1-1-6-2", "default": "_1ri4i7o2-1-6-2" }, childIsText: { true: "_1ri4i7o3-1-6-2", false: "_1ri4i7o4-1-6-2" } }, defaultVariants: {}, compoundVariants: [[{ size: "condensed", childIsText: true }, "_1ri4i7o5-1-6-2 _oqqp1n0-1-6-2"]] });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@keyframes _kvldjh3-1-6-
|
|
1
|
+
@keyframes _kvldjh3-1-6-2 {
|
|
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-6-
|
|
9
|
+
._kvldjh4-1-6-2 {
|
|
10
10
|
display: inline-block;
|
|
11
11
|
}
|
|
12
|
-
._kvldjh5-1-6-
|
|
12
|
+
._kvldjh5-1-6-2 {
|
|
13
13
|
display: block;
|
|
14
14
|
transform: rotate(-90deg);
|
|
15
15
|
}
|
|
16
|
-
._kvldjh6-1-6-
|
|
17
|
-
stroke: var(--_kvldjh2-1-6-
|
|
16
|
+
._kvldjh6-1-6-2 {
|
|
17
|
+
stroke: var(--_kvldjh2-1-6-2);
|
|
18
18
|
transform-origin: center;
|
|
19
19
|
}
|
|
20
|
-
._kvldjh7-1-6-
|
|
20
|
+
._kvldjh7-1-6-2 {
|
|
21
21
|
stroke-dasharray: 90 360;
|
|
22
22
|
transform-origin: 50% 50%;
|
|
23
|
-
animation-name: _kvldjh3-1-6-
|
|
23
|
+
animation-name: _kvldjh3-1-6-2;
|
|
24
24
|
animation-duration: var(--dt-timings-slow-gentle, 800ms);
|
|
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-6-
|
|
28
|
+
._kvldjh8-1-6-2 {
|
|
29
29
|
animation-duration: var(--dt-timings-fast-moderate, 200ms);
|
|
30
30
|
transition-property: stroke-dashoffset;
|
|
31
31
|
}
|
|
32
|
-
._kvldjh9-1-6-
|
|
33
|
-
stroke: var(--_kvldjh1-1-6-
|
|
32
|
+
._kvldjh9-1-6-2 {
|
|
33
|
+
stroke: var(--_kvldjh1-1-6-2);
|
|
34
34
|
}
|
|
35
|
-
._kvldjha-1-6-
|
|
35
|
+
._kvldjha-1-6-2 {
|
|
36
36
|
display: flex;
|
|
37
37
|
flex-direction: column;
|
|
38
38
|
align-items: center;
|
|
39
|
-
color: var(--_kvldjh0-1-6-
|
|
39
|
+
color: var(--_kvldjh0-1-6-2);
|
|
40
40
|
}
|
|
41
|
-
._kvldjhb-1-6-
|
|
41
|
+
._kvldjhb-1-6-2 {
|
|
42
42
|
gap: var(--dt-spacings-size-8, 8px);
|
|
43
43
|
}
|
|
44
|
-
._kvldjhc-1-6-
|
|
44
|
+
._kvldjhc-1-6-2 {
|
|
45
45
|
gap: var(--dt-spacings-size-12, 12px);
|
|
46
46
|
}
|
|
47
|
-
._kvldjhd-1-6-
|
|
48
|
-
--_kvldjh2-1-6-
|
|
47
|
+
._kvldjhd-1-6-2 {
|
|
48
|
+
--_kvldjh2-1-6-2: var(--dt-colors-border-critical-accent, #b80031);
|
|
49
49
|
}
|
|
50
|
-
._kvldjhe-1-6-
|
|
51
|
-
--_kvldjh2-1-6-
|
|
50
|
+
._kvldjhe-1-6-2 {
|
|
51
|
+
--_kvldjh2-1-6-2: var(--dt-colors-border-neutral-accent, #545587);
|
|
52
52
|
}
|
|
53
|
-
._kvldjhf-1-6-
|
|
54
|
-
--_kvldjh2-1-6-
|
|
53
|
+
._kvldjhf-1-6-2 {
|
|
54
|
+
--_kvldjh2-1-6-2: var(--dt-colors-border-primary-accent, #454cc9);
|
|
55
55
|
}
|
|
56
|
-
._kvldjhg-1-6-
|
|
57
|
-
--_kvldjh2-1-6-
|
|
56
|
+
._kvldjhg-1-6-2 {
|
|
57
|
+
--_kvldjh2-1-6-2: var(--dt-colors-border-success-accent, #2c6360);
|
|
58
58
|
}
|
|
59
|
-
._kvldjhh-1-6-
|
|
60
|
-
--_kvldjh2-1-6-
|
|
59
|
+
._kvldjhh-1-6-2 {
|
|
60
|
+
--_kvldjh2-1-6-2: var(--dt-colors-border-warning-accent, #805100);
|
|
61
61
|
}
|
|
62
|
-
._kvldjhi-1-6-
|
|
63
|
-
--_kvldjh0-1-6-
|
|
64
|
-
--_kvldjh1-1-6-
|
|
62
|
+
._kvldjhi-1-6-2 {
|
|
63
|
+
--_kvldjh0-1-6-2: var(--dt-colors-text-neutral-default, #2b2a58);
|
|
64
|
+
--_kvldjh1-1-6-2: var(--dt-colors-border-neutral-default, #d2d3e1);
|
|
65
65
|
}
|
|
66
|
-
._kvldjhj-1-6-
|
|
67
|
-
--_kvldjh0-1-6-
|
|
68
|
-
--_kvldjh1-1-6-
|
|
66
|
+
._kvldjhj-1-6-2 {
|
|
67
|
+
--_kvldjh0-1-6-2: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
|
|
68
|
+
--_kvldjh1-1-6-2: var(--dt-colors-border-neutral-on-accent-disabled, #f3f3f633);
|
|
69
69
|
}
|
|
70
|
-
._kvldjhk-1-6-
|
|
71
|
-
--_kvldjh2-1-6-
|
|
70
|
+
._kvldjhk-1-6-2 {
|
|
71
|
+
--_kvldjh2-1-6-2: var(--dt-colors-border-primary-on-accent-default, #f4f4fb);
|
|
72
72
|
}
|
|
73
|
-
._kvldjhl-1-6-
|
|
74
|
-
--_kvldjh2-1-6-
|
|
73
|
+
._kvldjhl-1-6-2 {
|
|
74
|
+
--_kvldjh2-1-6-2: var(--dt-colors-border-success-on-accent-default, #f1f4f4);
|
|
75
75
|
}
|
|
76
|
-
._kvldjhm-1-6-
|
|
77
|
-
--_kvldjh2-1-6-
|
|
76
|
+
._kvldjhm-1-6-2 {
|
|
77
|
+
--_kvldjh2-1-6-2: var(--dt-colors-border-warning-on-accent-default, #272025);
|
|
78
78
|
}
|
|
79
|
-
._kvldjhn-1-6-
|
|
80
|
-
--_kvldjh2-1-6-
|
|
79
|
+
._kvldjhn-1-6-2 {
|
|
80
|
+
--_kvldjh2-1-6-2: var(--dt-colors-border-critical-on-accent-default, #f9f1f3);
|
|
81
81
|
}
|
|
82
|
-
._kvldjho-1-6-
|
|
83
|
-
--_kvldjh2-1-6-
|
|
82
|
+
._kvldjho-1-6-2 {
|
|
83
|
+
--_kvldjh2-1-6-2: var(--dt-colors-border-neutral-on-accent-default, #f3f3f6);
|
|
84
84
|
}
|
|
@@ -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-6-
|
|
31
|
-
var progressCircleCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_kvldjh6-1-6-
|
|
32
|
-
var progressCircleContainerCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_kvldjha-1-6-
|
|
33
|
-
var progressCircleRootCSS = "_kvldjh4-1-6-
|
|
34
|
-
var progressCircleSvgCss = "_kvldjh5-1-6-
|
|
30
|
+
var progressCircleBackgroundCSS = "_kvldjh9-1-6-2";
|
|
31
|
+
var progressCircleCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_kvldjh6-1-6-2", variantClassNames: { indeterminate: { true: "_kvldjh7-1-6-2", false: "_kvldjh8-1-6-2" } }, defaultVariants: {}, compoundVariants: [] });
|
|
32
|
+
var progressCircleContainerCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_kvldjha-1-6-2", variantClassNames: { size: { small: "_kvldjhb-1-6-2", large: "_kvldjhc-1-6-2" }, color: { critical: "_kvldjhd-1-6-2", neutral: "_kvldjhe-1-6-2", primary: "_kvldjhf-1-6-2", success: "_kvldjhg-1-6-2", warning: "_kvldjhh-1-6-2" }, variant: { "default": "_kvldjhi-1-6-2", accent: "_kvldjhj-1-6-2" } }, defaultVariants: {}, compoundVariants: [[{ color: "primary", variant: "accent" }, "_kvldjhk-1-6-2"], [{ color: "success", variant: "accent" }, "_kvldjhl-1-6-2"], [{ color: "warning", variant: "accent" }, "_kvldjhm-1-6-2"], [{ color: "critical", variant: "accent" }, "_kvldjhn-1-6-2"], [{ color: "neutral", variant: "accent" }, "_kvldjho-1-6-2"]] });
|
|
33
|
+
var progressCircleRootCSS = "_kvldjh4-1-6-2";
|
|
34
|
+
var progressCircleSvgCss = "_kvldjh5-1-6-2";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@keyframes _1a1ozfd0-1-6-
|
|
1
|
+
@keyframes _1a1ozfd0-1-6-2 {
|
|
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-6-
|
|
9
|
+
._1a1ozfd1-1-6-2 {
|
|
10
10
|
position: relative;
|
|
11
11
|
overflow: hidden;
|
|
12
12
|
background-color: var(--dt-colors-background-field-neutral-disabled, #dadbe780);
|
|
13
13
|
}
|
|
14
|
-
._1a1ozfd1-1-6-
|
|
14
|
+
._1a1ozfd1-1-6-2: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, #dadbe780);
|
|
22
22
|
animation-iteration-count: infinite;
|
|
23
23
|
transform-origin: left center;
|
|
24
|
-
animation-name: _1a1ozfd0-1-6-
|
|
24
|
+
animation-name: _1a1ozfd0-1-6-2;
|
|
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-6-
|
|
28
|
+
._1a1ozfd2-1-6-2 {
|
|
29
29
|
border-radius: var(--dt-borders-radius-container-subdued, 8px);
|
|
30
30
|
}
|
|
31
|
-
._1a1ozfd3-1-6-
|
|
31
|
+
._1a1ozfd3-1-6-2 {
|
|
32
32
|
border-radius: 9999px;
|
|
33
33
|
}
|
|
@@ -23,4 +23,4 @@ __export(Skeleton_css_exports, {
|
|
|
23
23
|
module.exports = __toCommonJS(Skeleton_css_exports);
|
|
24
24
|
var import_Skeleton_css_ts_vanilla = require("./Skeleton.css");
|
|
25
25
|
var import_createRuntimeFn = require("@vanilla-extract/recipes/createRuntimeFn");
|
|
26
|
-
var skeletonPlaceholderCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_1a1ozfd1-1-6-
|
|
26
|
+
var skeletonPlaceholderCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_1a1ozfd1-1-6-2", variantClassNames: { variant: { "default": "_1a1ozfd2-1-6-2", rounded: "_1a1ozfd3-1-6-2" } }, defaultVariants: {}, compoundVariants: [] });
|
|
@@ -41,7 +41,7 @@ const FocusScope = (props) => {
|
|
|
41
41
|
const triggerElementCopy2 = triggerElement.current;
|
|
42
42
|
return () => {
|
|
43
43
|
focusContext.setBackgroundInertness(false);
|
|
44
|
-
|
|
44
|
+
focusContext.focusTriggerElement(triggerElementCopy2);
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
47
|
if (!autoFocus && !contain) {
|
|
@@ -7,6 +7,7 @@ export type FocusContextProps = {
|
|
|
7
7
|
backgroundInertness?: boolean;
|
|
8
8
|
modality: Modality;
|
|
9
9
|
setBackgroundInertness: (value: boolean) => void;
|
|
10
|
+
focusTriggerElement: (value: HTMLElement | undefined) => void;
|
|
10
11
|
};
|
|
11
12
|
/**
|
|
12
13
|
* This context keeps all information needed for proper focus management.
|
|
@@ -25,5 +25,6 @@ var import_react = require("react");
|
|
|
25
25
|
const FocusContext = (0, import_react.createContext)({
|
|
26
26
|
modality: "unknown",
|
|
27
27
|
backgroundInertness: void 0,
|
|
28
|
-
setBackgroundInertness: (value) => null
|
|
28
|
+
setBackgroundInertness: (value) => null,
|
|
29
|
+
focusTriggerElement: (value) => null
|
|
29
30
|
});
|