@dynatrace/strato-components 1.5.1 → 1.6.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.d.ts +4 -4
- package/buttons/button/Button.js +47 -34
- package/buttons/button/Button.sty.js +4 -4
- package/buttons/button/Label.d.ts +2 -2
- package/buttons/button/Label.js +6 -5
- package/buttons/button/Prefix.d.ts +2 -2
- package/buttons/button/Prefix.js +6 -15
- package/buttons/button/Suffix.d.ts +3 -3
- package/buttons/button/Suffix.js +6 -15
- package/buttons/intent-button/IntentButton.d.ts +2 -2
- package/buttons/intent-button/IntentButton.js +16 -21
- package/buttons/intent-button/useIntentButton.d.ts +4 -3
- package/content/progress/ProgressBar.css +71 -71
- package/content/progress/ProgressBar.d.ts +4 -5
- package/content/progress/ProgressBar.js +49 -41
- package/content/progress/ProgressBar.sty.js +5 -5
- package/content/progress/ProgressBarIcon.css +2 -2
- package/content/progress/ProgressBarIcon.d.ts +1 -2
- package/content/progress/ProgressBarIcon.js +6 -5
- package/content/progress/ProgressBarIcon.sty.js +1 -1
- package/content/progress/ProgressBarLabel.css +3 -3
- package/content/progress/ProgressBarLabel.d.ts +1 -2
- package/content/progress/ProgressBarLabel.js +6 -5
- package/content/progress/ProgressBarLabel.sty.js +1 -1
- package/content/progress/ProgressBarValue.css +5 -5
- package/content/progress/ProgressBarValue.d.ts +1 -2
- package/content/progress/ProgressBarValue.js +6 -5
- package/content/progress/ProgressBarValue.sty.js +1 -1
- package/content/progress/ProgressCircle.css +40 -40
- package/content/progress/ProgressCircle.d.ts +1 -2
- package/content/progress/ProgressCircle.js +60 -55
- package/content/progress/ProgressCircle.sty.js +5 -5
- package/content/progress/contexts/SharedProgressBarPropsContext.d.ts +1 -2
- package/content/progress/contexts/SharedProgressBarPropsContext.js +2 -12
- package/content/skeleton/Skeleton.css +6 -6
- package/content/skeleton/Skeleton.d.ts +2 -2
- package/content/skeleton/Skeleton.js +6 -5
- package/content/skeleton/Skeleton.sty.js +1 -1
- package/content/skeleton/SkeletonText.d.ts +2 -2
- package/content/skeleton/SkeletonText.js +9 -18
- package/core/components/app-root/AppRoot.d.ts +3 -3
- package/core/components/app-root/AppRoot.js +15 -24
- package/core/components/focus-scope/FocusScope.d.ts +1 -2
- package/core/components/focus-scope/FocusScope.js +6 -15
- package/core/hooks/useFontsUpdated.js +1 -1
- package/core/hooks/useMergeRefs.d.ts +2 -2
- package/core/providers/FocusProvider.d.ts +1 -2
- package/core/providers/FocusProvider.js +6 -15
- package/core/styles/focusRing.css +66 -66
- package/core/styles/focusRing.sty.js +2 -2
- package/core/styles/useFocusRing.d.ts +3 -3
- package/core/types/polymorph.d.ts +1 -1
- package/core/types/styling-props.d.ts +1 -1
- package/core/types/with-children.d.ts +1 -1
- package/core/utils/_is-string-children.d.ts +2 -2
- package/core/utils/_is-string-children.js +2 -12
- 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.js +49 -35
- package/esm/buttons/button/Button.js.map +2 -2
- 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 +6 -5
- package/esm/buttons/button/Label.js.map +2 -2
- package/esm/buttons/button/Prefix.js +6 -5
- package/esm/buttons/button/Prefix.js.map +2 -2
- package/esm/buttons/button/Suffix.js +6 -5
- package/esm/buttons/button/Suffix.js.map +2 -2
- package/esm/buttons/intent-button/IntentButton.js +16 -11
- package/esm/buttons/intent-button/IntentButton.js.map +2 -2
- package/esm/buttons/intent-button/useIntentButton.js +4 -1
- package/esm/buttons/intent-button/useIntentButton.js.map +2 -2
- package/esm/content/progress/ProgressBar.css +71 -71
- package/esm/content/progress/ProgressBar.js +53 -41
- package/esm/content/progress/ProgressBar.js.map +2 -2
- 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.js +6 -5
- package/esm/content/progress/ProgressBarIcon.js.map +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 -5
- 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 +6 -5
- 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.js +60 -55
- 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/progress/contexts/SharedProgressBarPropsContext.js +2 -2
- package/esm/content/progress/contexts/SharedProgressBarPropsContext.js.map +2 -2
- package/esm/content/skeleton/Skeleton.css +6 -6
- package/esm/content/skeleton/Skeleton.js +6 -5
- package/esm/content/skeleton/Skeleton.js.map +2 -2
- package/esm/content/skeleton/Skeleton.sty.js +1 -1
- package/esm/content/skeleton/Skeleton.sty.js.map +1 -1
- package/esm/content/skeleton/SkeletonText.js +9 -8
- package/esm/content/skeleton/SkeletonText.js.map +2 -2
- package/esm/core/components/app-root/AppRoot.js +15 -14
- package/esm/core/components/app-root/AppRoot.js.map +2 -2
- package/esm/core/components/focus-scope/FocusScope.js +6 -5
- package/esm/core/components/focus-scope/FocusScope.js.map +2 -2
- package/esm/core/hooks/useFontsUpdated.js +1 -1
- package/esm/core/hooks/useFontsUpdated.js.map +2 -2
- package/esm/core/hooks/useMergeRefs.js +3 -1
- package/esm/core/hooks/useMergeRefs.js.map +2 -2
- package/esm/core/providers/FocusProvider.js +6 -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/styles/useFocusRing.js.map +1 -1
- package/esm/core/utils/_is-string-children.js +2 -2
- package/esm/core/utils/_is-string-children.js.map +2 -2
- 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.js +7 -6
- package/esm/layouts/container/Container.js.map +2 -2
- 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.js +3 -2
- package/esm/layouts/divider/Divider.js.map +2 -2
- package/esm/layouts/divider/Divider.sty.js +1 -1
- package/esm/layouts/divider/Divider.sty.js.map +1 -1
- package/esm/layouts/flex/Flex.js +6 -5
- package/esm/layouts/flex/Flex.js.map +2 -2
- package/esm/layouts/grid/Grid.js +6 -5
- package/esm/layouts/grid/Grid.js.map +2 -2
- package/esm/layouts/surface/Surface.css +39 -39
- package/esm/layouts/surface/Surface.js +17 -14
- 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 +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/getFlexStyles.js.map +1 -1
- package/esm/styles/getGridStyles.js.map +1 -1
- package/esm/styles/getLayoutSizeStyles.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.js +6 -5
- package/esm/typography/block-quote/Blockquote.js.map +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.js +6 -5
- package/esm/typography/code/Code.js.map +2 -2
- 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.js +6 -5
- package/esm/typography/emphasis/Emphasis.js.map +2 -2
- 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.js +22 -16
- 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.js +6 -5
- package/esm/typography/heading/Heading.js.map +2 -2
- 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.js +31 -18
- package/esm/typography/highlight/Highlight.js.map +3 -3
- 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.js +6 -5
- 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.js +14 -9
- package/esm/typography/list/List.js.map +2 -2
- 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 +6 -5
- package/esm/typography/paragraph/Paragraph.js.map +2 -2
- 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.js +6 -5
- package/esm/typography/strikethrough/Strikethrough.js.map +2 -2
- 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.js +6 -5
- package/esm/typography/strong/Strong.js.map +2 -2
- 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 +6 -5
- package/esm/typography/text/Text.js.map +2 -2
- 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.js +12 -11
- package/esm/typography/text-ellipsis/TextEllipsis.js.map +2 -2
- 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.js +7 -6
- package/layouts/container/Container.sty.js +1 -1
- package/layouts/divider/Divider.css +6 -6
- package/layouts/divider/Divider.d.ts +1 -2
- package/layouts/divider/Divider.js +3 -2
- package/layouts/divider/Divider.sty.js +1 -1
- package/layouts/flex/Flex.js +6 -5
- package/layouts/grid/Grid.d.ts +1 -1
- package/layouts/grid/Grid.js +6 -5
- package/layouts/surface/Surface.css +39 -39
- package/layouts/surface/Surface.js +17 -14
- package/layouts/surface/Surface.sty.js +2 -2
- package/layouts/surface/variables.sty.js +1 -1
- package/layouts/types/layout.types.d.ts +1 -1
- package/package.json +2 -2
- 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/getFlexStyles.d.ts +17 -17
- package/styles/getGridStyles.d.ts +22 -22
- package/styles/getLayoutSizeStyles.d.ts +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.js +1 -1
- package/typography/block-quote/Blockquote.css +2 -2
- package/typography/block-quote/Blockquote.d.ts +1 -2
- package/typography/block-quote/Blockquote.js +6 -5
- package/typography/block-quote/Blockquote.sty.js +1 -1
- package/typography/code/Code.css +1 -1
- package/typography/code/Code.d.ts +1 -2
- package/typography/code/Code.js +6 -5
- package/typography/code/Code.sty.js +1 -1
- package/typography/emphasis/Emphasis.css +1 -1
- package/typography/emphasis/Emphasis.d.ts +1 -2
- package/typography/emphasis/Emphasis.js +6 -5
- package/typography/emphasis/Emphasis.sty.js +1 -1
- package/typography/external-link/ExternalLink.css +6 -6
- package/typography/external-link/ExternalLink.d.ts +2 -2
- package/typography/external-link/ExternalLink.js +22 -16
- package/typography/external-link/ExternalLink.sty.js +1 -1
- package/typography/heading/Heading.css +7 -7
- package/typography/heading/Heading.d.ts +1 -2
- package/typography/heading/Heading.js +6 -5
- package/typography/heading/Heading.sty.js +1 -1
- package/typography/highlight/Highlight.css +1 -1
- package/typography/highlight/Highlight.d.ts +1 -1
- package/typography/highlight/Highlight.js +21 -17
- package/typography/highlight/Highlight.sty.js +1 -1
- package/typography/link/Link.css +4 -4
- package/typography/link/Link.d.ts +1 -1
- package/typography/link/Link.js +6 -5
- package/typography/link/Link.sty.js +1 -1
- package/typography/list/List.css +4 -4
- package/typography/list/List.d.ts +1 -2
- package/typography/list/List.js +10 -9
- package/typography/list/List.sty.js +2 -2
- package/typography/paragraph/Paragraph.css +3 -3
- package/typography/paragraph/Paragraph.d.ts +1 -2
- package/typography/paragraph/Paragraph.js +6 -5
- package/typography/paragraph/Paragraph.sty.js +1 -1
- package/typography/strikethrough/Strikethrough.css +1 -1
- package/typography/strikethrough/Strikethrough.d.ts +1 -2
- package/typography/strikethrough/Strikethrough.js +6 -5
- package/typography/strikethrough/Strikethrough.sty.js +1 -1
- package/typography/strong/Strong.css +1 -1
- package/typography/strong/Strong.d.ts +1 -2
- package/typography/strong/Strong.js +6 -5
- package/typography/strong/Strong.sty.js +1 -1
- package/typography/text/Text.css +3 -3
- package/typography/text/Text.js +6 -5
- package/typography/text/Text.sty.js +1 -1
- package/typography/text-ellipsis/TextEllipsis.css +6 -6
- package/typography/text-ellipsis/TextEllipsis.d.ts +2 -2
- package/typography/text-ellipsis/TextEllipsis.js +12 -11
- package/typography/text-ellipsis/TextEllipsis.sty.js +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@keyframes _13n9uwh0-1-
|
|
1
|
+
@keyframes _13n9uwh0-1-6-0 {
|
|
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-
|
|
10
|
-
color: var(--_13n9uwh1-1-
|
|
11
|
-
}
|
|
12
|
-
._13n9uwhd-1-
|
|
13
|
-
--_13n9uwh1-1-
|
|
14
|
-
--_13n9uwh4-1-
|
|
15
|
-
--_13n9uwh2-1-
|
|
16
|
-
--_13n9uwh3-1-
|
|
17
|
-
}
|
|
18
|
-
._13n9uwhe-1-
|
|
19
|
-
--_13n9uwh1-1-
|
|
20
|
-
--_13n9uwh4-1-
|
|
21
|
-
--_13n9uwh2-1-
|
|
22
|
-
--_13n9uwh3-1-
|
|
23
|
-
}
|
|
24
|
-
._13n9uwhf-1-
|
|
25
|
-
--_13n9uwh1-1-
|
|
26
|
-
--_13n9uwh4-1-
|
|
27
|
-
--_13n9uwh2-1-
|
|
28
|
-
--_13n9uwh3-1-
|
|
29
|
-
}
|
|
30
|
-
._13n9uwhg-1-
|
|
31
|
-
--_13n9uwh1-1-
|
|
32
|
-
--_13n9uwh4-1-
|
|
33
|
-
--_13n9uwh2-1-
|
|
34
|
-
--_13n9uwh3-1-
|
|
35
|
-
}
|
|
36
|
-
._13n9uwhh-1-
|
|
37
|
-
--_13n9uwh1-1-
|
|
38
|
-
--_13n9uwh4-1-
|
|
39
|
-
--_13n9uwh2-1-
|
|
40
|
-
--_13n9uwh3-1-
|
|
9
|
+
._13n9uwh5-1-6-0 {
|
|
10
|
+
color: var(--_13n9uwh1-1-6-0);
|
|
11
|
+
}
|
|
12
|
+
._13n9uwhd-1-6-0 {
|
|
13
|
+
--_13n9uwh1-1-6-0: var(--dt-colors-text-neutral-default, #2b2a58);
|
|
14
|
+
--_13n9uwh4-1-6-0: var(--dt-colors-text-neutral-subdued, #545587);
|
|
15
|
+
--_13n9uwh2-1-6-0: var(--dt-colors-border-neutral-default, #d2d3e1);
|
|
16
|
+
--_13n9uwh3-1-6-0: var(--dt-colors-border-primary-accent, #454cc9);
|
|
17
|
+
}
|
|
18
|
+
._13n9uwhe-1-6-0 {
|
|
19
|
+
--_13n9uwh1-1-6-0: var(--dt-colors-text-neutral-default, #2b2a58);
|
|
20
|
+
--_13n9uwh4-1-6-0: var(--dt-colors-text-neutral-subdued, #545587);
|
|
21
|
+
--_13n9uwh2-1-6-0: var(--dt-colors-border-neutral-default, #d2d3e1);
|
|
22
|
+
--_13n9uwh3-1-6-0: var(--dt-colors-border-success-accent, #2c6360);
|
|
23
|
+
}
|
|
24
|
+
._13n9uwhf-1-6-0 {
|
|
25
|
+
--_13n9uwh1-1-6-0: var(--dt-colors-text-neutral-default, #2b2a58);
|
|
26
|
+
--_13n9uwh4-1-6-0: var(--dt-colors-text-neutral-subdued, #545587);
|
|
27
|
+
--_13n9uwh2-1-6-0: var(--dt-colors-border-neutral-default, #d2d3e1);
|
|
28
|
+
--_13n9uwh3-1-6-0: var(--dt-colors-border-warning-accent, #805100);
|
|
29
|
+
}
|
|
30
|
+
._13n9uwhg-1-6-0 {
|
|
31
|
+
--_13n9uwh1-1-6-0: var(--dt-colors-text-neutral-default, #2b2a58);
|
|
32
|
+
--_13n9uwh4-1-6-0: var(--dt-colors-text-neutral-subdued, #545587);
|
|
33
|
+
--_13n9uwh2-1-6-0: var(--dt-colors-border-neutral-default, #d2d3e1);
|
|
34
|
+
--_13n9uwh3-1-6-0: var(--dt-colors-border-critical-accent, #b80031);
|
|
35
|
+
}
|
|
36
|
+
._13n9uwhh-1-6-0 {
|
|
37
|
+
--_13n9uwh1-1-6-0: var(--dt-colors-text-neutral-default, #2b2a58);
|
|
38
|
+
--_13n9uwh4-1-6-0: var(--dt-colors-text-neutral-subdued, #545587);
|
|
39
|
+
--_13n9uwh2-1-6-0: var(--dt-colors-border-neutral-default, #d2d3e1);
|
|
40
|
+
--_13n9uwh3-1-6-0: var(--dt-colors-border-neutral-accent, #545587);
|
|
41
41
|
color: var(--dt-colors-text-neutral-default, #2b2a58);
|
|
42
42
|
}
|
|
43
|
-
._13n9uwhi-1-
|
|
44
|
-
--_13n9uwh1-1-
|
|
45
|
-
--_13n9uwh4-1-
|
|
46
|
-
--_13n9uwh2-1-
|
|
47
|
-
--_13n9uwh3-1-
|
|
48
|
-
}
|
|
49
|
-
._13n9uwhj-1-
|
|
50
|
-
--_13n9uwh1-1-
|
|
51
|
-
--_13n9uwh4-1-
|
|
52
|
-
--_13n9uwh2-1-
|
|
53
|
-
--_13n9uwh3-1-
|
|
54
|
-
}
|
|
55
|
-
._13n9uwhk-1-
|
|
56
|
-
--_13n9uwh1-1-
|
|
57
|
-
--_13n9uwh4-1-
|
|
58
|
-
--_13n9uwh2-1-
|
|
59
|
-
--_13n9uwh3-1-
|
|
60
|
-
}
|
|
61
|
-
._13n9uwhl-1-
|
|
62
|
-
--_13n9uwh1-1-
|
|
63
|
-
--_13n9uwh4-1-
|
|
64
|
-
--_13n9uwh2-1-
|
|
65
|
-
--_13n9uwh3-1-
|
|
66
|
-
}
|
|
67
|
-
._13n9uwhm-1-
|
|
68
|
-
--_13n9uwh1-1-
|
|
69
|
-
--_13n9uwh4-1-
|
|
70
|
-
--_13n9uwh2-1-
|
|
71
|
-
--_13n9uwh3-1-
|
|
72
|
-
}
|
|
73
|
-
._13n9uwhn-1-
|
|
43
|
+
._13n9uwhi-1-6-0 {
|
|
44
|
+
--_13n9uwh1-1-6-0: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
|
|
45
|
+
--_13n9uwh4-1-6-0: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
|
|
46
|
+
--_13n9uwh2-1-6-0: var(--dt-colors-border-primary-on-accent-disabled, #f4f4fb33);
|
|
47
|
+
--_13n9uwh3-1-6-0: var(--dt-colors-border-primary-on-accent-default, #f4f4fb);
|
|
48
|
+
}
|
|
49
|
+
._13n9uwhj-1-6-0 {
|
|
50
|
+
--_13n9uwh1-1-6-0: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
|
|
51
|
+
--_13n9uwh4-1-6-0: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
|
|
52
|
+
--_13n9uwh2-1-6-0: var(--dt-colors-border-success-on-accent-disabled, #f1f4f433);
|
|
53
|
+
--_13n9uwh3-1-6-0: var(--dt-colors-border-success-on-accent-default, #f1f4f4);
|
|
54
|
+
}
|
|
55
|
+
._13n9uwhk-1-6-0 {
|
|
56
|
+
--_13n9uwh1-1-6-0: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
|
|
57
|
+
--_13n9uwh4-1-6-0: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
|
|
58
|
+
--_13n9uwh2-1-6-0: var(--dt-colors-border-warning-on-accent-disabled, #27202533);
|
|
59
|
+
--_13n9uwh3-1-6-0: var(--dt-colors-border-warning-on-accent-default, #272025);
|
|
60
|
+
}
|
|
61
|
+
._13n9uwhl-1-6-0 {
|
|
62
|
+
--_13n9uwh1-1-6-0: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
|
|
63
|
+
--_13n9uwh4-1-6-0: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
|
|
64
|
+
--_13n9uwh2-1-6-0: var(--dt-colors-border-critical-on-accent-disabled, #f9f1f333);
|
|
65
|
+
--_13n9uwh3-1-6-0: var(--dt-colors-border-critical-on-accent-default, #f9f1f3);
|
|
66
|
+
}
|
|
67
|
+
._13n9uwhm-1-6-0 {
|
|
68
|
+
--_13n9uwh1-1-6-0: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
|
|
69
|
+
--_13n9uwh4-1-6-0: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
|
|
70
|
+
--_13n9uwh2-1-6-0: var(--dt-colors-border-neutral-on-accent-disabled, #f3f3f633);
|
|
71
|
+
--_13n9uwh3-1-6-0: var(--dt-colors-border-neutral-on-accent-default, #f3f3f6);
|
|
72
|
+
}
|
|
73
|
+
._13n9uwhn-1-6-0 {
|
|
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-
|
|
78
|
+
background: var(--_13n9uwh2-1-6-0);
|
|
79
79
|
}
|
|
80
|
-
._13n9uwho-1-
|
|
80
|
+
._13n9uwho-1-6-0 {
|
|
81
81
|
height: 6px;
|
|
82
82
|
}
|
|
83
|
-
._13n9uwhp-1-
|
|
83
|
+
._13n9uwhp-1-6-0 {
|
|
84
84
|
height: 8px;
|
|
85
85
|
}
|
|
86
|
-
._13n9uwhq-1-
|
|
86
|
+
._13n9uwhq-1-6-0 {
|
|
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-
|
|
90
|
+
background-color: var(--_13n9uwh3-1-6-0);
|
|
91
91
|
}
|
|
92
|
-
._13n9uwhr-1-
|
|
92
|
+
._13n9uwhr-1-6-0 {
|
|
93
93
|
width: 100%;
|
|
94
|
-
animation-name: _13n9uwh0-1-
|
|
94
|
+
animation-name: _13n9uwh0-1-6-0;
|
|
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;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
1
2
|
import clsx from "clsx";
|
|
2
|
-
import
|
|
3
|
+
import {
|
|
4
|
+
forwardRef,
|
|
5
|
+
useId,
|
|
6
|
+
Children
|
|
7
|
+
} from "react";
|
|
3
8
|
import { isElement } from "react-is";
|
|
4
9
|
import { SharedProgressBarPropsContext } from "./contexts/SharedProgressBarPropsContext.js";
|
|
5
10
|
import { useProgressAriaProps } from "./hooks/useProgressAriaProps.js";
|
|
@@ -22,7 +27,7 @@ function getProgressBarSlots(children) {
|
|
|
22
27
|
label: null,
|
|
23
28
|
icon: null
|
|
24
29
|
};
|
|
25
|
-
|
|
30
|
+
Children.forEach(children, (child) => {
|
|
26
31
|
if (isElement(child)) {
|
|
27
32
|
switch (child.type) {
|
|
28
33
|
case ProgressBarLabel:
|
|
@@ -88,7 +93,7 @@ const _ProgressBar = forwardRef(
|
|
|
88
93
|
const percentage = (value - min) / (max - min);
|
|
89
94
|
progressStyles["width"] = `${Math.round(percentage * 100)}%`;
|
|
90
95
|
}
|
|
91
|
-
return /* @__PURE__ */
|
|
96
|
+
return /* @__PURE__ */ jsx(SharedProgressBarPropsContext.Provider, { value: { id, density }, children: /* @__PURE__ */ jsxs(
|
|
92
97
|
Flex,
|
|
93
98
|
{
|
|
94
99
|
flexDirection: "column",
|
|
@@ -110,44 +115,51 @@ const _ProgressBar = forwardRef(
|
|
|
110
115
|
"data-dtrum-mask": dataDtrumMask,
|
|
111
116
|
"data-dtrum-allow": dataDtrumAllow,
|
|
112
117
|
ref: forwardedRef,
|
|
113
|
-
...forwardProps
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
118
|
+
...forwardProps,
|
|
119
|
+
children: [
|
|
120
|
+
/* @__PURE__ */ jsxs(Flex, { justifyContent: "space-between", gap: 8, children: [
|
|
121
|
+
density === "condensed" ? /* @__PURE__ */ jsxs(
|
|
122
|
+
Flex,
|
|
123
|
+
{
|
|
124
|
+
justifyContent: "space-between",
|
|
125
|
+
alignItems: "flex-end",
|
|
126
|
+
flex: 1,
|
|
127
|
+
gap: 16,
|
|
128
|
+
minWidth: 0,
|
|
129
|
+
children: [
|
|
130
|
+
slots.label,
|
|
131
|
+
slots.value
|
|
132
|
+
]
|
|
133
|
+
}
|
|
134
|
+
) : slots.label,
|
|
135
|
+
slots.icon
|
|
136
|
+
] }),
|
|
137
|
+
/* @__PURE__ */ jsx(
|
|
138
|
+
"div",
|
|
139
|
+
{
|
|
140
|
+
className: progressCSS({
|
|
141
|
+
size: density
|
|
142
|
+
}),
|
|
143
|
+
id,
|
|
144
|
+
...progressAriaProps,
|
|
145
|
+
...ariaLabelingProps,
|
|
146
|
+
children: /* @__PURE__ */ jsx(
|
|
147
|
+
"div",
|
|
148
|
+
{
|
|
149
|
+
className: clsx(
|
|
150
|
+
progressBarFillCSS({
|
|
151
|
+
indeterminate: isIndeterminate
|
|
152
|
+
})
|
|
153
|
+
),
|
|
154
|
+
style: progressStyles
|
|
155
|
+
}
|
|
156
|
+
)
|
|
157
|
+
}
|
|
158
|
+
),
|
|
159
|
+
density === "default" && slots.value
|
|
160
|
+
]
|
|
161
|
+
}
|
|
162
|
+
) });
|
|
151
163
|
}
|
|
152
164
|
);
|
|
153
165
|
_ProgressBar.displayName = "ProgressBar";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/content/progress/ProgressBar.tsx"],
|
|
4
|
-
"sourcesContent": ["/* eslint-disable deprecation/deprecation */\n\nimport clsx from 'clsx';\nimport
|
|
5
|
-
"mappings": "
|
|
4
|
+
"sourcesContent": ["/* eslint-disable deprecation/deprecation */\n\nimport clsx from 'clsx';\nimport {\n type CSSProperties,\n forwardRef,\n useId,\n type ReactNode,\n Children,\n} from 'react';\nimport { isElement } from 'react-is';\n\nimport { SharedProgressBarPropsContext } from './contexts/SharedProgressBarPropsContext.js';\nimport { useProgressAriaProps } from './hooks/useProgressAriaProps.js';\nimport {\n progressBarFillCSS,\n progressCSS,\n progressRoot,\n} from './ProgressBar.sty.js';\nimport { ProgressBarIcon } from './ProgressBarIcon.js';\nimport { ProgressBarLabel } from './ProgressBarLabel.js';\nimport { ProgressBarValue } from './ProgressBarValue.js';\nimport { useAriaLabelingProps } from '../../core/hooks/useAriaLabelingProps.js';\nimport { useSafeForwardProps } from '../../core/hooks/useSafeForwardProps.js';\nimport { type AriaLabelingProps } from '../../core/types/a11y-props.js';\nimport { type DataTestId } from '../../core/types/data-props.js';\nimport { type DOMProps } from '../../core/types/dom.js';\nimport { type MaskingProps } from '../../core/types/masking-props.js';\nimport { type StylingProps } from '../../core/types/styling-props.js';\nimport { type WithChildren } from '../../core/types/with-children.js';\nimport { useContainerColoring } from '../../layouts/container/Container.js';\nimport { Flex } from '../../layouts/flex/Flex.js';\nimport { containerColorsCSS } from '../../styles/container.sty.js';\n\n/**\n * Accepted properties for ProgressBar.\n * @public\n */\nexport interface ProgressBarProps\n extends WithChildren,\n DOMProps,\n AriaLabelingProps,\n StylingProps,\n DataTestId,\n MaskingProps {\n /**\n * The current value.\n * @defaultValue 'indeterminate'\n */\n value?: number | 'indeterminate';\n /**\n * The minimum allowed value.\n * @defaultValue 0\n */\n min?: number;\n /**\n * The maximum allowed value.\n * @defaultValue 100\n */\n max?: number;\n /**\n * Controls the density of the rendering.\n * @defaultValue 'default'\n */\n density?: 'default' | 'condensed';\n /**\n * Controls the color of the progress.\n * @defaultValue 'primary' or a container's color.\n */\n color?: 'neutral' | 'primary' | 'success' | 'warning' | 'critical';\n /**\n * The aria-valuetext attribute defines the human-readable text alternative of aria-valuenow for a range widget.\n * By default, the value will be given as a percentage. If the value is not a percentage, you should provide aria-valuetext.\n * https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-valuetext\n * @defaultValue the value of the progress as percentage.\n */\n 'aria-valuetext'?: string;\n}\n\ntype ProgressBarSlots = {\n value?: ReactNode;\n label?: ReactNode;\n icon?: ReactNode;\n};\n\nfunction getProgressBarSlots(children: ReactNode) {\n const slots: ProgressBarSlots = {\n value: null,\n label: null,\n icon: null,\n };\n\n Children.forEach(children, (child) => {\n if (isElement(child)) {\n switch (child.type) {\n case ProgressBarLabel:\n slots.label = child;\n break;\n case ProgressBarIcon:\n slots.icon = child;\n break;\n case ProgressBarValue:\n default:\n slots.value = child;\n break;\n }\n } else {\n if (!slots.value) {\n slots.value = child;\n }\n }\n });\n\n return slots;\n}\n\nconst _ProgressBar = forwardRef<HTMLDivElement, ProgressBarProps>(\n (props, forwardedRef) => {\n const {\n value: originalValue,\n max = 100,\n min = 0,\n density = 'default',\n color,\n children,\n id: propId,\n 'aria-valuetext': ariaValuetext,\n className: consumerClassName,\n style: consumerStyle,\n 'data-testid': dataTestId,\n 'data-dtrum-mask': dataDtrumMask,\n 'data-dtrum-allow': dataDtrumAllow,\n ...remainingProps\n }: ProgressBarProps = props;\n\n const containerColoring = useContainerColoring();\n\n // for the color in the ProgressCircle the fallback logic is a bit different - usually\n // the fallback from the container is \"neutral\" - but in the case of the progress circle the default\n // fallback color is \"primary\"\n const fallbackColor = containerColoring.default\n ? 'primary'\n : containerColoring.color;\n\n const derivedColor = color ?? fallbackColor;\n const onAccent = containerColoring.variant === 'accent';\n\n const slots = getProgressBarSlots(children);\n const { value, isIndeterminate, progressAriaProps } = useProgressAriaProps(\n originalValue,\n min,\n max,\n ariaValuetext,\n );\n const ariaLabelingProps = useAriaLabelingProps(remainingProps);\n const forwardProps = useSafeForwardProps(remainingProps, ariaLabelingProps);\n\n const generatedId = useId();\n const id = propId ?? generatedId;\n\n if (\n !slots.label &&\n !ariaLabelingProps['aria-label'] &&\n !ariaLabelingProps['aria-labelledby']\n ) {\n process.env.NODE_ENV === 'development' &&\n // eslint-disable-next-line no-console\n console.warn(\n 'If no label is provided please make sure to provide an aria label on your progressCircle element.',\n );\n }\n\n const progressStyles: CSSProperties = {};\n if (!isIndeterminate && value !== undefined) {\n const percentage = (value - min) / (max - min);\n progressStyles['width'] = `${Math.round(percentage * 100)}%`;\n }\n\n return (\n <SharedProgressBarPropsContext.Provider value={{ id, density }}>\n <Flex\n flexDirection=\"column\"\n gap={6}\n width=\"100%\"\n className={clsx(\n containerColorsCSS({\n color: derivedColor,\n variant: containerColoring.variant,\n }),\n\n progressRoot({\n onAccent,\n color: derivedColor,\n }),\n consumerClassName,\n )}\n style={consumerStyle}\n data-testid={dataTestId}\n data-dtrum-mask={dataDtrumMask}\n data-dtrum-allow={dataDtrumAllow}\n ref={forwardedRef}\n {...forwardProps}\n >\n <Flex justifyContent=\"space-between\" gap={8}>\n {density === 'condensed' ? (\n <Flex\n justifyContent=\"space-between\"\n alignItems=\"flex-end\"\n flex={1}\n gap={16}\n minWidth={0}\n >\n {slots.label}\n {slots.value}\n </Flex>\n ) : (\n slots.label\n )}\n {slots.icon}\n </Flex>\n <div\n className={progressCSS({\n size: density,\n })}\n id={id}\n {...progressAriaProps}\n {...ariaLabelingProps}\n >\n <div\n className={clsx(\n progressBarFillCSS({\n indeterminate: isIndeterminate,\n }),\n )}\n style={progressStyles}\n />\n </div>\n {density === 'default' && slots.value}\n </Flex>\n </SharedProgressBarPropsContext.Provider>\n );\n },\n);\n\n(_ProgressBar as typeof _ProgressBar & { displayName: string }).displayName =\n 'ProgressBar';\n\n/**\n * Use the `ProgressBar` component to show your users that a system operation such as downloading, uploading, or processing is progressing.\n * The `ProgressBar` can be used to visualize determinate or indeterminate progress.\n * @public\n */\nexport const ProgressBar = Object.assign(_ProgressBar, {\n Value: ProgressBarValue,\n Label: ProgressBarLabel,\n Icon: ProgressBarIcon,\n});\n"],
|
|
5
|
+
"mappings": "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",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./ProgressBar.css";
|
|
2
2
|
import { createRuntimeFn as _7a468 } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
3
|
-
var progressBarFillCSS = _7a468({ defaultClassName: "_13n9uwhq-1-
|
|
4
|
-
var progressCSS = _7a468({ defaultClassName: "_13n9uwhn-1-
|
|
5
|
-
var progressIndicatorColorVar = "var(--_13n9uwh3-1-
|
|
6
|
-
var progressRoot = _7a468({ defaultClassName: "_13n9uwh5-1-
|
|
7
|
-
var progressValueColorVar = "var(--_13n9uwh4-1-
|
|
3
|
+
var progressBarFillCSS = _7a468({ defaultClassName: "_13n9uwhq-1-6-0", variantClassNames: { indeterminate: { true: "_13n9uwhr-1-6-0" } }, defaultVariants: {}, compoundVariants: [] });
|
|
4
|
+
var progressCSS = _7a468({ defaultClassName: "_13n9uwhn-1-6-0", variantClassNames: { size: { condensed: "_13n9uwho-1-6-0", "default": "_13n9uwhp-1-6-0" } }, defaultVariants: {}, compoundVariants: [] });
|
|
5
|
+
var progressIndicatorColorVar = "var(--_13n9uwh3-1-6-0)";
|
|
6
|
+
var progressRoot = _7a468({ defaultClassName: "_13n9uwh5-1-6-0", variantClassNames: { color: { primary: "_13n9uwh6-1-6-0", success: "_13n9uwh7-1-6-0", warning: "_13n9uwh8-1-6-0", critical: "_13n9uwh9-1-6-0", neutral: "_13n9uwha-1-6-0" }, onAccent: { true: "_13n9uwhb-1-6-0", false: "_13n9uwhc-1-6-0" } }, defaultVariants: {}, compoundVariants: [[{ color: "primary", onAccent: false }, "_13n9uwhd-1-6-0"], [{ color: "success", onAccent: false }, "_13n9uwhe-1-6-0"], [{ color: "warning", onAccent: false }, "_13n9uwhf-1-6-0"], [{ color: "critical", onAccent: false }, "_13n9uwhg-1-6-0"], [{ color: "neutral", onAccent: false }, "_13n9uwhh-1-6-0"], [{ color: "primary", onAccent: true }, "_13n9uwhi-1-6-0"], [{ color: "success", onAccent: true }, "_13n9uwhj-1-6-0"], [{ color: "warning", onAccent: true }, "_13n9uwhk-1-6-0"], [{ color: "critical", onAccent: true }, "_13n9uwhl-1-6-0"], [{ color: "neutral", onAccent: true }, "_13n9uwhm-1-6-0"]] });
|
|
7
|
+
var progressValueColorVar = "var(--_13n9uwh4-1-6-0)";
|
|
8
8
|
export {
|
|
9
9
|
progressBarFillCSS,
|
|
10
10
|
progressCSS,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/content/progress/ProgressBar.css.ts"],
|
|
4
|
-
"sourcesContent": ["import './ProgressBar.css';\nimport { createRuntimeFn as _7a468 } from '@vanilla-extract/recipes/createRuntimeFn';\nexport var progressBarFillCSS = _7a468({defaultClassName:'_13n9uwhq-1-
|
|
4
|
+
"sourcesContent": ["import './ProgressBar.css';\nimport { createRuntimeFn as _7a468 } from '@vanilla-extract/recipes/createRuntimeFn';\nexport var progressBarFillCSS = _7a468({defaultClassName:'_13n9uwhq-1-6-0',variantClassNames:{indeterminate:{true:'_13n9uwhr-1-6-0'}},defaultVariants:{},compoundVariants:[]});\nexport var progressCSS = _7a468({defaultClassName:'_13n9uwhn-1-6-0',variantClassNames:{size:{condensed:'_13n9uwho-1-6-0','default':'_13n9uwhp-1-6-0'}},defaultVariants:{},compoundVariants:[]});\nexport var progressIndicatorColorVar = 'var(--_13n9uwh3-1-6-0)';\nexport var progressRoot = _7a468({defaultClassName:'_13n9uwh5-1-6-0',variantClassNames:{color:{primary:'_13n9uwh6-1-6-0',success:'_13n9uwh7-1-6-0',warning:'_13n9uwh8-1-6-0',critical:'_13n9uwh9-1-6-0',neutral:'_13n9uwha-1-6-0'},onAccent:{true:'_13n9uwhb-1-6-0',false:'_13n9uwhc-1-6-0'}},defaultVariants:{},compoundVariants:[[{color:'primary',onAccent:false},'_13n9uwhd-1-6-0'],[{color:'success',onAccent:false},'_13n9uwhe-1-6-0'],[{color:'warning',onAccent:false},'_13n9uwhf-1-6-0'],[{color:'critical',onAccent:false},'_13n9uwhg-1-6-0'],[{color:'neutral',onAccent:false},'_13n9uwhh-1-6-0'],[{color:'primary',onAccent:true},'_13n9uwhi-1-6-0'],[{color:'success',onAccent:true},'_13n9uwhj-1-6-0'],[{color:'warning',onAccent:true},'_13n9uwhk-1-6-0'],[{color:'critical',onAccent:true},'_13n9uwhl-1-6-0'],[{color:'neutral',onAccent:true},'_13n9uwhm-1-6-0']]});\nexport var progressValueColorVar = 'var(--_13n9uwh4-1-6-0)';"],
|
|
5
5
|
"mappings": "AAAA,OAAO;AACP,SAAS,mBAAmB,cAAc;AACnC,IAAI,qBAAqB,OAAO,EAAC,kBAAiB,mBAAkB,mBAAkB,EAAC,eAAc,EAAC,MAAK,kBAAiB,EAAC,GAAE,iBAAgB,CAAC,GAAE,kBAAiB,CAAC,EAAC,CAAC;AACtK,IAAI,cAAc,OAAO,EAAC,kBAAiB,mBAAkB,mBAAkB,EAAC,MAAK,EAAC,WAAU,mBAAkB,WAAU,kBAAiB,EAAC,GAAE,iBAAgB,CAAC,GAAE,kBAAiB,CAAC,EAAC,CAAC;AACvL,IAAI,4BAA4B;AAChC,IAAI,eAAe,OAAO,EAAC,kBAAiB,mBAAkB,mBAAkB,EAAC,OAAM,EAAC,SAAQ,mBAAkB,SAAQ,mBAAkB,SAAQ,mBAAkB,UAAS,mBAAkB,SAAQ,kBAAiB,GAAE,UAAS,EAAC,MAAK,mBAAkB,OAAM,kBAAiB,EAAC,GAAE,iBAAgB,CAAC,GAAE,kBAAiB,CAAC,CAAC,EAAC,OAAM,WAAU,UAAS,MAAK,GAAE,iBAAiB,GAAE,CAAC,EAAC,OAAM,WAAU,UAAS,MAAK,GAAE,iBAAiB,GAAE,CAAC,EAAC,OAAM,WAAU,UAAS,MAAK,GAAE,iBAAiB,GAAE,CAAC,EAAC,OAAM,YAAW,UAAS,MAAK,GAAE,iBAAiB,GAAE,CAAC,EAAC,OAAM,WAAU,UAAS,MAAK,GAAE,iBAAiB,GAAE,CAAC,EAAC,OAAM,WAAU,UAAS,KAAI,GAAE,iBAAiB,GAAE,CAAC,EAAC,OAAM,WAAU,UAAS,KAAI,GAAE,iBAAiB,GAAE,CAAC,EAAC,OAAM,WAAU,UAAS,KAAI,GAAE,iBAAiB,GAAE,CAAC,EAAC,OAAM,YAAW,UAAS,KAAI,GAAE,iBAAiB,GAAE,CAAC,EAAC,OAAM,WAAU,UAAS,KAAI,GAAE,iBAAiB,CAAC,EAAC,CAAC;AAC50B,IAAI,wBAAwB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
1
2
|
import clsx from "clsx";
|
|
2
|
-
import
|
|
3
|
+
import { forwardRef } from "react";
|
|
3
4
|
import { progressBarIconContainerCSS } from "./ProgressBarIcon.sty.js";
|
|
4
5
|
const ProgressBarIcon = forwardRef(
|
|
5
6
|
(props, forwardedRef) => {
|
|
@@ -10,16 +11,16 @@ const ProgressBarIcon = forwardRef(
|
|
|
10
11
|
"data-testid": dataTestId,
|
|
11
12
|
...remainingProps
|
|
12
13
|
} = props;
|
|
13
|
-
return /* @__PURE__ */
|
|
14
|
+
return /* @__PURE__ */ jsx(
|
|
14
15
|
"div",
|
|
15
16
|
{
|
|
16
17
|
"data-testid": dataTestId,
|
|
17
18
|
ref: forwardedRef,
|
|
18
19
|
className: clsx(consumerClassName, progressBarIconContainerCSS),
|
|
19
20
|
style: consumerStyle,
|
|
20
|
-
...remainingProps
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
...remainingProps,
|
|
22
|
+
children
|
|
23
|
+
}
|
|
23
24
|
);
|
|
24
25
|
}
|
|
25
26
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/content/progress/ProgressBarIcon.tsx"],
|
|
4
|
-
"sourcesContent": ["import clsx from 'clsx';\nimport
|
|
5
|
-
"mappings": "
|
|
4
|
+
"sourcesContent": ["import clsx from 'clsx';\nimport { forwardRef } from 'react';\n\nimport { progressBarIconContainerCSS } from './ProgressBarIcon.sty.js';\nimport { type DataTestId } from '../../core/types/data-props.js';\nimport { type StylingProps } from '../../core/types/styling-props.js';\nimport { type WithChildren } from '../../core/types/with-children.js';\n\n/**\n * Accepted properties for ProgressBarIcon.\n * @public\n */\n// eslint-disable-next-line @typescript-eslint/no-empty-interface\nexport interface ProgressBarIconProps\n extends WithChildren,\n StylingProps,\n DataTestId {}\n\n/**\n * The ProgressBarIcon subcomponent is rendered inside the ProgressBar component.\n * @public\n */\nexport const ProgressBarIcon = forwardRef<HTMLDivElement, ProgressBarIconProps>(\n (props, forwardedRef) => {\n const {\n children,\n className: consumerClassName,\n style: consumerStyle,\n 'data-testid': dataTestId,\n ...remainingProps\n }: ProgressBarIconProps = props;\n return (\n <div\n data-testid={dataTestId}\n ref={forwardedRef}\n className={clsx(consumerClassName, progressBarIconContainerCSS)}\n style={consumerStyle}\n {...remainingProps}\n >\n {children}\n </div>\n );\n },\n);\n\n(\n ProgressBarIcon as typeof ProgressBarIcon & { displayName: string }\n).displayName = 'ProgressBar.Icon';\n"],
|
|
5
|
+
"mappings": "AAgCM;AAhCN,OAAO,UAAU;AACjB,SAAS,kBAAkB;AAE3B,SAAS,mCAAmC;AAmBrC,MAAM,kBAAkB;AAAA,EAC7B,CAAC,OAAO,iBAAiB;AACvB,UAAM;AAAA,MACJ;AAAA,MACA,WAAW;AAAA,MACX,OAAO;AAAA,MACP,eAAe;AAAA,MACf,GAAG;AAAA,IACL,IAA0B;AAC1B,WACE;AAAA,MAAC;AAAA;AAAA,QACC,eAAa;AAAA,QACb,KAAK;AAAA,QACL,WAAW,KAAK,mBAAmB,2BAA2B;AAAA,QAC9D,OAAO;AAAA,QACN,GAAG;AAAA,QAEH;AAAA;AAAA,IACH;AAAA,EAEJ;AACF;AAGE,gBACA,cAAc;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/content/progress/ProgressBarIcon.css.ts"],
|
|
4
|
-
"sourcesContent": ["import './ProgressBar.css';\nimport './ProgressBarIcon.css';\nexport var progressBarIconContainerCSS = '_szm9t40-1-
|
|
4
|
+
"sourcesContent": ["import './ProgressBar.css';\nimport './ProgressBarIcon.css';\nexport var progressBarIconContainerCSS = '_szm9t40-1-6-0';"],
|
|
5
5
|
"mappings": "AAAA,OAAO;AACP,OAAO;AACA,IAAI,8BAA8B;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
1
2
|
import clsx from "clsx";
|
|
2
|
-
import
|
|
3
|
+
import { forwardRef } from "react";
|
|
3
4
|
import { useSharedProgressBarPropsContext } from "./hooks/useProgressBarPropsContext.js";
|
|
4
5
|
import { progressBarLabelCSS } from "./ProgressBarLabel.sty.js";
|
|
5
6
|
import { isStringChildren } from "../../core/utils/_is-string-children.js";
|
|
@@ -15,7 +16,7 @@ const ProgressBarLabel = forwardRef((props, forwardedRef) => {
|
|
|
15
16
|
} = props;
|
|
16
17
|
const { id, density } = useSharedProgressBarPropsContext();
|
|
17
18
|
const childIsText = isStringChildren(children);
|
|
18
|
-
return /* @__PURE__ */
|
|
19
|
+
return /* @__PURE__ */ jsx(
|
|
19
20
|
"label",
|
|
20
21
|
{
|
|
21
22
|
"data-testid": dataTestId,
|
|
@@ -30,9 +31,9 @@ const ProgressBarLabel = forwardRef((props, forwardedRef) => {
|
|
|
30
31
|
textStyleCSS({ textStyle: "base" })
|
|
31
32
|
),
|
|
32
33
|
style: consumerStyle,
|
|
33
|
-
...remainingProps
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
...remainingProps,
|
|
35
|
+
children
|
|
36
|
+
}
|
|
36
37
|
);
|
|
37
38
|
});
|
|
38
39
|
ProgressBarLabel.displayName = "ProgressBar.Label";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/content/progress/ProgressBarLabel.tsx"],
|
|
4
|
-
"sourcesContent": ["import clsx from 'clsx';\nimport
|
|
5
|
-
"mappings": "
|
|
4
|
+
"sourcesContent": ["import clsx from 'clsx';\nimport { forwardRef } from 'react';\n\nimport { useSharedProgressBarPropsContext } from './hooks/useProgressBarPropsContext.js';\nimport { progressBarLabelCSS } from './ProgressBarLabel.sty.js';\nimport { type DataTestId } from '../../core/types/data-props.js';\nimport { type StylingProps } from '../../core/types/styling-props.js';\nimport { type WithChildren } from '../../core/types/with-children.js';\nimport { isStringChildren } from '../../core/utils/_is-string-children.js';\nimport { ellipsisCSS } from '../../styles/ellipsis.sty.js';\nimport { textStyleCSS } from '../../styles/textStyle.sty.js';\n\n/**\n * Accepted properties for ProgressBarLabel.\n * @public\n */\n// eslint-disable-next-line @typescript-eslint/no-empty-interface\nexport interface ProgressBarLabelProps\n extends WithChildren,\n StylingProps,\n DataTestId {}\n\n/**\n * ProgressBarLabel sub-component is rendered inside ProgressBar component.\n * @public\n */\nexport const ProgressBarLabel = forwardRef<\n HTMLLabelElement,\n ProgressBarLabelProps\n>((props, forwardedRef) => {\n const {\n children,\n className: consumerClassName,\n style: consumerStyle,\n 'data-testid': dataTestId,\n ...remainingProps\n }: ProgressBarLabelProps = props;\n\n const { id, density } = useSharedProgressBarPropsContext();\n\n const childIsText = isStringChildren(children);\n\n return (\n <label\n data-testid={dataTestId}\n ref={forwardedRef}\n htmlFor={id}\n className={clsx(\n {\n [ellipsisCSS]: density === 'condensed' && childIsText,\n },\n consumerClassName,\n progressBarLabelCSS({ size: density, childIsText }),\n textStyleCSS({ textStyle: 'base' }),\n )}\n style={consumerStyle}\n {...remainingProps}\n >\n {children}\n </label>\n );\n});\n\n(\n ProgressBarLabel as typeof ProgressBarLabel & { displayName: string }\n).displayName = 'ProgressBar.Label';\n"],
|
|
5
|
+
"mappings": "AA2CI;AA3CJ,OAAO,UAAU;AACjB,SAAS,kBAAkB;AAE3B,SAAS,wCAAwC;AACjD,SAAS,2BAA2B;AAIpC,SAAS,wBAAwB;AACjC,SAAS,mBAAmB;AAC5B,SAAS,oBAAoB;AAgBtB,MAAM,mBAAmB,WAG9B,CAAC,OAAO,iBAAiB;AACzB,QAAM;AAAA,IACJ;AAAA,IACA,WAAW;AAAA,IACX,OAAO;AAAA,IACP,eAAe;AAAA,IACf,GAAG;AAAA,EACL,IAA2B;AAE3B,QAAM,EAAE,IAAI,QAAQ,IAAI,iCAAiC;AAEzD,QAAM,cAAc,iBAAiB,QAAQ;AAE7C,SACE;AAAA,IAAC;AAAA;AAAA,MACC,eAAa;AAAA,MACb,KAAK;AAAA,MACL,SAAS;AAAA,MACT,WAAW;AAAA,QACT;AAAA,UACE,CAAC,WAAW,GAAG,YAAY,eAAe;AAAA,QAC5C;AAAA,QACA;AAAA,QACA,oBAAoB,EAAE,MAAM,SAAS,YAAY,CAAC;AAAA,QAClD,aAAa,EAAE,WAAW,OAAO,CAAC;AAAA,MACpC;AAAA,MACA,OAAO;AAAA,MACN,GAAG;AAAA,MAEH;AAAA;AAAA,EACH;AAEJ,CAAC;AAGC,iBACA,cAAc;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./ProgressBarLabel.css";
|
|
2
2
|
import { createRuntimeFn as _7a468 } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
3
|
-
var progressBarLabelCSS = _7a468({ defaultClassName: "_1ceb8vp0-1-
|
|
3
|
+
var progressBarLabelCSS = _7a468({ defaultClassName: "_1ceb8vp0-1-6-0", variantClassNames: { size: { condensed: "_1ceb8vp1-1-6-0", "default": "_1ceb8vp2-1-6-0" }, childIsText: { false: "_1ceb8vp3-1-6-0" } }, defaultVariants: {}, compoundVariants: [] });
|
|
4
4
|
export {
|
|
5
5
|
progressBarLabelCSS
|
|
6
6
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/content/progress/ProgressBarLabel.css.ts"],
|
|
4
|
-
"sourcesContent": ["import './ProgressBarLabel.css';\nimport { createRuntimeFn as _7a468 } from '@vanilla-extract/recipes/createRuntimeFn';\nexport var progressBarLabelCSS = _7a468({defaultClassName:'_1ceb8vp0-1-
|
|
4
|
+
"sourcesContent": ["import './ProgressBarLabel.css';\nimport { createRuntimeFn as _7a468 } from '@vanilla-extract/recipes/createRuntimeFn';\nexport var progressBarLabelCSS = _7a468({defaultClassName:'_1ceb8vp0-1-6-0',variantClassNames:{size:{condensed:'_1ceb8vp1-1-6-0','default':'_1ceb8vp2-1-6-0'},childIsText:{false:'_1ceb8vp3-1-6-0'}},defaultVariants:{},compoundVariants:[]});"],
|
|
5
5
|
"mappings": "AAAA,OAAO;AACP,SAAS,mBAAmB,cAAc;AACnC,IAAI,sBAAsB,OAAO,EAAC,kBAAiB,mBAAkB,mBAAkB,EAAC,MAAK,EAAC,WAAU,mBAAkB,WAAU,kBAAiB,GAAE,aAAY,EAAC,OAAM,kBAAiB,EAAC,GAAE,iBAAgB,CAAC,GAAE,kBAAiB,CAAC,EAAC,CAAC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
._1ri4i7o0-1-
|
|
2
|
-
color: var(--_13n9uwh4-1-
|
|
1
|
+
._1ri4i7o0-1-6-0 {
|
|
2
|
+
color: var(--_13n9uwh4-1-6-0);
|
|
3
3
|
}
|
|
4
|
-
._1ri4i7o2-1-
|
|
4
|
+
._1ri4i7o2-1-6-0 {
|
|
5
5
|
word-break: break-word;
|
|
6
6
|
}
|
|
7
|
-
._1ri4i7o4-1-
|
|
7
|
+
._1ri4i7o4-1-6-0 {
|
|
8
8
|
word-break: break-word;
|
|
9
9
|
}
|
|
10
|
-
._1ri4i7o5-1-
|
|
10
|
+
._1ri4i7o5-1-6-0 {
|
|
11
11
|
margin-left: auto;
|
|
12
12
|
align-self: center;
|
|
13
13
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
1
2
|
import clsx from "clsx";
|
|
2
|
-
import
|
|
3
|
+
import { forwardRef } from "react";
|
|
3
4
|
import { useIntl } from "react-intl";
|
|
4
5
|
import { useSharedProgressBarPropsContext } from "./hooks/useProgressBarPropsContext.js";
|
|
5
6
|
import { progressBarValueCSS } from "./ProgressBarValue.sty.js";
|
|
@@ -21,7 +22,7 @@ const ProgressBarValue = forwardRef((props, forwardedRef) => {
|
|
|
21
22
|
});
|
|
22
23
|
const { density } = useSharedProgressBarPropsContext();
|
|
23
24
|
const childIsText = isStringChildren(children);
|
|
24
|
-
return /* @__PURE__ */
|
|
25
|
+
return /* @__PURE__ */ jsx(
|
|
25
26
|
"div",
|
|
26
27
|
{
|
|
27
28
|
"data-testid": dataTestId,
|
|
@@ -32,9 +33,9 @@ const ProgressBarValue = forwardRef((props, forwardedRef) => {
|
|
|
32
33
|
textStyleCSS({ textStyle: "small" })
|
|
33
34
|
),
|
|
34
35
|
style: consumerStyle,
|
|
35
|
-
...remainingProps
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
...remainingProps,
|
|
37
|
+
children: children || progressBarDefaultLabel
|
|
38
|
+
}
|
|
38
39
|
);
|
|
39
40
|
});
|
|
40
41
|
ProgressBarValue.displayName = "ProgressBar.Value";
|