@dynatrace/strato-components 1.5.1 → 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.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 +8 -7
- 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 +8 -7
- 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 +8 -7
- 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 +7 -16
- package/core/contexts/FocusContext.d.ts +1 -0
- package/core/contexts/FocusContext.js +2 -1
- package/core/hooks/useFontsUpdated.js +1 -1
- package/core/hooks/useMergeRefs.d.ts +2 -2
- package/core/index.d.ts +2 -1
- package/core/index.js +3 -1
- package/core/providers/FocusProvider.d.ts +1 -2
- package/core/providers/FocusProvider.js +35 -18
- 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/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.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 +8 -7
- 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 +8 -7
- 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 +8 -7
- 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 +7 -6
- 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/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/index.js +3 -1
- package/esm/core/index.js.map +2 -2
- package/esm/core/providers/FocusProvider.js +35 -8
- 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/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.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 _kvldjh3-1-
|
|
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-
|
|
9
|
+
._kvldjh4-1-6-2 {
|
|
10
10
|
display: inline-block;
|
|
11
11
|
}
|
|
12
|
-
._kvldjh5-1-
|
|
12
|
+
._kvldjh5-1-6-2 {
|
|
13
13
|
display: block;
|
|
14
14
|
transform: rotate(-90deg);
|
|
15
15
|
}
|
|
16
|
-
._kvldjh6-1-
|
|
17
|
-
stroke: var(--_kvldjh2-1-
|
|
16
|
+
._kvldjh6-1-6-2 {
|
|
17
|
+
stroke: var(--_kvldjh2-1-6-2);
|
|
18
18
|
transform-origin: center;
|
|
19
19
|
}
|
|
20
|
-
._kvldjh7-1-
|
|
20
|
+
._kvldjh7-1-6-2 {
|
|
21
21
|
stroke-dasharray: 90 360;
|
|
22
22
|
transform-origin: 50% 50%;
|
|
23
|
-
animation-name: _kvldjh3-1-
|
|
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-
|
|
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-
|
|
33
|
-
stroke: var(--_kvldjh1-1-
|
|
32
|
+
._kvldjh9-1-6-2 {
|
|
33
|
+
stroke: var(--_kvldjh1-1-6-2);
|
|
34
34
|
}
|
|
35
|
-
._kvldjha-1-
|
|
35
|
+
._kvldjha-1-6-2 {
|
|
36
36
|
display: flex;
|
|
37
37
|
flex-direction: column;
|
|
38
38
|
align-items: center;
|
|
39
|
-
color: var(--_kvldjh0-1-
|
|
39
|
+
color: var(--_kvldjh0-1-6-2);
|
|
40
40
|
}
|
|
41
|
-
._kvldjhb-1-
|
|
41
|
+
._kvldjhb-1-6-2 {
|
|
42
42
|
gap: var(--dt-spacings-size-8, 8px);
|
|
43
43
|
}
|
|
44
|
-
._kvldjhc-1-
|
|
44
|
+
._kvldjhc-1-6-2 {
|
|
45
45
|
gap: var(--dt-spacings-size-12, 12px);
|
|
46
46
|
}
|
|
47
|
-
._kvldjhd-1-
|
|
48
|
-
--_kvldjh2-1-
|
|
47
|
+
._kvldjhd-1-6-2 {
|
|
48
|
+
--_kvldjh2-1-6-2: var(--dt-colors-border-critical-accent, #b80031);
|
|
49
49
|
}
|
|
50
|
-
._kvldjhe-1-
|
|
51
|
-
--_kvldjh2-1-
|
|
50
|
+
._kvldjhe-1-6-2 {
|
|
51
|
+
--_kvldjh2-1-6-2: var(--dt-colors-border-neutral-accent, #545587);
|
|
52
52
|
}
|
|
53
|
-
._kvldjhf-1-
|
|
54
|
-
--_kvldjh2-1-
|
|
53
|
+
._kvldjhf-1-6-2 {
|
|
54
|
+
--_kvldjh2-1-6-2: var(--dt-colors-border-primary-accent, #454cc9);
|
|
55
55
|
}
|
|
56
|
-
._kvldjhg-1-
|
|
57
|
-
--_kvldjh2-1-
|
|
56
|
+
._kvldjhg-1-6-2 {
|
|
57
|
+
--_kvldjh2-1-6-2: var(--dt-colors-border-success-accent, #2c6360);
|
|
58
58
|
}
|
|
59
|
-
._kvldjhh-1-
|
|
60
|
-
--_kvldjh2-1-
|
|
59
|
+
._kvldjhh-1-6-2 {
|
|
60
|
+
--_kvldjh2-1-6-2: var(--dt-colors-border-warning-accent, #805100);
|
|
61
61
|
}
|
|
62
|
-
._kvldjhi-1-
|
|
63
|
-
--_kvldjh0-1-
|
|
64
|
-
--_kvldjh1-1-
|
|
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-
|
|
67
|
-
--_kvldjh0-1-
|
|
68
|
-
--_kvldjh1-1-
|
|
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-
|
|
71
|
-
--_kvldjh2-1-
|
|
70
|
+
._kvldjhk-1-6-2 {
|
|
71
|
+
--_kvldjh2-1-6-2: var(--dt-colors-border-primary-on-accent-default, #f4f4fb);
|
|
72
72
|
}
|
|
73
|
-
._kvldjhl-1-
|
|
74
|
-
--_kvldjh2-1-
|
|
73
|
+
._kvldjhl-1-6-2 {
|
|
74
|
+
--_kvldjh2-1-6-2: var(--dt-colors-border-success-on-accent-default, #f1f4f4);
|
|
75
75
|
}
|
|
76
|
-
._kvldjhm-1-
|
|
77
|
-
--_kvldjh2-1-
|
|
76
|
+
._kvldjhm-1-6-2 {
|
|
77
|
+
--_kvldjh2-1-6-2: var(--dt-colors-border-warning-on-accent-default, #272025);
|
|
78
78
|
}
|
|
79
|
-
._kvldjhn-1-
|
|
80
|
-
--_kvldjh2-1-
|
|
79
|
+
._kvldjhn-1-6-2 {
|
|
80
|
+
--_kvldjh2-1-6-2: var(--dt-colors-border-critical-on-accent-default, #f9f1f3);
|
|
81
81
|
}
|
|
82
|
-
._kvldjho-1-
|
|
83
|
-
--_kvldjh2-1-
|
|
82
|
+
._kvldjho-1-6-2 {
|
|
83
|
+
--_kvldjh2-1-6-2: var(--dt-colors-border-neutral-on-accent-default, #f3f3f6);
|
|
84
84
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { type AriaLabelingProps } from '../../core/types/a11y-props.js';
|
|
3
2
|
import { type DataTestId } from '../../core/types/data-props.js';
|
|
4
3
|
import { type DOMProps } from '../../core/types/dom.js';
|
|
@@ -47,4 +46,4 @@ export interface ProgressCircleProps extends WithChildren, DOMProps, AriaLabelin
|
|
|
47
46
|
* The `ProgressCircle` component is used to indicate the progress or completion status of a task or process.
|
|
48
47
|
* @public
|
|
49
48
|
* */
|
|
50
|
-
export declare const ProgressCircle: (props: ProgressCircleProps &
|
|
49
|
+
export declare const ProgressCircle: (props: ProgressCircleProps & import("react").RefAttributes<HTMLDivElement>) => React.ReactElement | null;
|
|
@@ -31,8 +31,9 @@ __export(ProgressCircle_exports, {
|
|
|
31
31
|
ProgressCircle: () => ProgressCircle
|
|
32
32
|
});
|
|
33
33
|
module.exports = __toCommonJS(ProgressCircle_exports);
|
|
34
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
34
35
|
var import_clsx = __toESM(require("clsx"));
|
|
35
|
-
var import_react =
|
|
36
|
+
var import_react = require("react");
|
|
36
37
|
var import_useProgressAriaProps = require("./hooks/useProgressAriaProps.js");
|
|
37
38
|
var import_ProgressCircle_css = require("./ProgressCircle.sty.js");
|
|
38
39
|
var import_useAriaLabelingProps = require("../../core/hooks/useAriaLabelingProps.js");
|
|
@@ -93,7 +94,7 @@ const ProgressCircle = (0, import_react.forwardRef)(
|
|
|
93
94
|
"If no label is provided please make sure to provide an aria label on your progressCircle element."
|
|
94
95
|
);
|
|
95
96
|
}
|
|
96
|
-
return /* @__PURE__ */
|
|
97
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
97
98
|
"div",
|
|
98
99
|
{
|
|
99
100
|
"data-testid": dataTestId,
|
|
@@ -113,65 +114,69 @@ const ProgressCircle = (0, import_react.forwardRef)(
|
|
|
113
114
|
})
|
|
114
115
|
),
|
|
115
116
|
style: consumerStyle,
|
|
116
|
-
...forwardProps
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
{
|
|
121
|
-
id,
|
|
122
|
-
className: (0, import_clsx.default)(import_ProgressCircle_css.progressCircleRootCSS),
|
|
123
|
-
style: {
|
|
124
|
-
height: `${progressCircleSizes[size]}px`,
|
|
125
|
-
width: `${progressCircleSizes[size]}px`
|
|
126
|
-
},
|
|
127
|
-
...ariaLabelingProps,
|
|
128
|
-
...progressAriaProps,
|
|
129
|
-
...rootProps
|
|
130
|
-
},
|
|
131
|
-
/* @__PURE__ */ import_react.default.createElement(
|
|
132
|
-
"svg",
|
|
133
|
-
{
|
|
134
|
-
className: import_ProgressCircle_css.progressCircleSvgCss,
|
|
135
|
-
viewBox: `0 0 ${progressCircleSizes[size]} ${progressCircleSizes[size]}`,
|
|
136
|
-
width: "100%",
|
|
137
|
-
height: "100%"
|
|
138
|
-
},
|
|
139
|
-
/* @__PURE__ */ import_react.default.createElement(
|
|
140
|
-
"circle",
|
|
117
|
+
...forwardProps,
|
|
118
|
+
children: [
|
|
119
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
120
|
+
"span",
|
|
141
121
|
{
|
|
142
|
-
|
|
143
|
-
className: (0, import_clsx.default)(import_ProgressCircle_css.
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
122
|
+
id,
|
|
123
|
+
className: (0, import_clsx.default)(import_ProgressCircle_css.progressCircleRootCSS),
|
|
124
|
+
style: {
|
|
125
|
+
height: `${progressCircleSizes[size]}px`,
|
|
126
|
+
width: `${progressCircleSizes[size]}px`
|
|
127
|
+
},
|
|
128
|
+
...ariaLabelingProps,
|
|
129
|
+
...progressAriaProps,
|
|
130
|
+
...rootProps,
|
|
131
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
132
|
+
"svg",
|
|
133
|
+
{
|
|
134
|
+
className: import_ProgressCircle_css.progressCircleSvgCss,
|
|
135
|
+
viewBox: `0 0 ${progressCircleSizes[size]} ${progressCircleSizes[size]}`,
|
|
136
|
+
width: "100%",
|
|
137
|
+
height: "100%",
|
|
138
|
+
children: [
|
|
139
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
140
|
+
"circle",
|
|
141
|
+
{
|
|
142
|
+
fill: "none",
|
|
143
|
+
className: (0, import_clsx.default)(import_ProgressCircle_css.progressCircleBackgroundCSS),
|
|
144
|
+
cx: progressCircleSizes[size] / 2,
|
|
145
|
+
cy: progressCircleSizes[size] / 2,
|
|
146
|
+
r: (progressCircleSizes[size] - progressCircleThickness) / 2,
|
|
147
|
+
strokeWidth: progressCircleThickness
|
|
148
|
+
}
|
|
149
|
+
),
|
|
150
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
151
|
+
"circle",
|
|
152
|
+
{
|
|
153
|
+
style: circleStyles,
|
|
154
|
+
className: (0, import_ProgressCircle_css.progressCircleCSS)({ indeterminate: isIndeterminate }),
|
|
155
|
+
fill: "none",
|
|
156
|
+
pathLength: isIndeterminate ? 360 : circleStyles["strokeDasharray"],
|
|
157
|
+
cx: progressCircleSizes[size] / 2,
|
|
158
|
+
cy: progressCircleSizes[size] / 2,
|
|
159
|
+
r: (progressCircleSizes[size] - progressCircleThickness) / 2,
|
|
160
|
+
strokeWidth: progressCircleThickness
|
|
161
|
+
}
|
|
162
|
+
)
|
|
163
|
+
]
|
|
164
|
+
}
|
|
165
|
+
)
|
|
148
166
|
}
|
|
149
167
|
),
|
|
150
|
-
/* @__PURE__ */
|
|
151
|
-
"
|
|
168
|
+
children && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
169
|
+
"label",
|
|
152
170
|
{
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
cy: progressCircleSizes[size] / 2,
|
|
159
|
-
r: (progressCircleSizes[size] - progressCircleThickness) / 2,
|
|
160
|
-
strokeWidth: progressCircleThickness
|
|
171
|
+
className: (0, import_clsx.default)(
|
|
172
|
+
(0, import_textStyle_css.textStyleCSS)({ textStyle: size === "small" ? "small" : "base" })
|
|
173
|
+
),
|
|
174
|
+
htmlFor: id,
|
|
175
|
+
children
|
|
161
176
|
}
|
|
162
177
|
)
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
children && /* @__PURE__ */ import_react.default.createElement(
|
|
166
|
-
"label",
|
|
167
|
-
{
|
|
168
|
-
className: (0, import_clsx.default)(
|
|
169
|
-
(0, import_textStyle_css.textStyleCSS)({ textStyle: size === "small" ? "small" : "base" })
|
|
170
|
-
),
|
|
171
|
-
htmlFor: id
|
|
172
|
-
},
|
|
173
|
-
children
|
|
174
|
-
)
|
|
178
|
+
]
|
|
179
|
+
}
|
|
175
180
|
);
|
|
176
181
|
}
|
|
177
182
|
);
|
|
@@ -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-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,7 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
export type SharedProgressBarProps = {
|
|
3
2
|
id: string;
|
|
4
3
|
density: 'default' | 'condensed';
|
|
5
4
|
};
|
|
6
5
|
/** Context provider for `ProgressBarProps` props meant to be provided to all its progressbar-related child nodes. */
|
|
7
|
-
export declare const SharedProgressBarPropsContext:
|
|
6
|
+
export declare const SharedProgressBarPropsContext: import("react").Context<SharedProgressBarProps>;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
2
|
var __defProp = Object.defineProperty;
|
|
4
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
6
|
var __export = (target, all) => {
|
|
9
7
|
for (var name in all)
|
|
@@ -17,22 +15,14 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
15
|
}
|
|
18
16
|
return to;
|
|
19
17
|
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
19
|
var SharedProgressBarPropsContext_exports = {};
|
|
30
20
|
__export(SharedProgressBarPropsContext_exports, {
|
|
31
21
|
SharedProgressBarPropsContext: () => SharedProgressBarPropsContext
|
|
32
22
|
});
|
|
33
23
|
module.exports = __toCommonJS(SharedProgressBarPropsContext_exports);
|
|
34
|
-
var import_react =
|
|
35
|
-
const SharedProgressBarPropsContext = import_react.
|
|
24
|
+
var import_react = require("react");
|
|
25
|
+
const SharedProgressBarPropsContext = (0, import_react.createContext)({
|
|
36
26
|
id: "",
|
|
37
27
|
density: "default"
|
|
38
28
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@keyframes _1a1ozfd0-1-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
28
|
+
._1a1ozfd2-1-6-2 {
|
|
29
29
|
border-radius: var(--dt-borders-radius-container-subdued, 8px);
|
|
30
30
|
}
|
|
31
|
-
._1a1ozfd3-1-
|
|
31
|
+
._1a1ozfd3-1-6-2 {
|
|
32
32
|
border-radius: 9999px;
|
|
33
33
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { type CSSProperties } from 'react';
|
|
2
2
|
import { type DataTestId } from '../../core/types/data-props.js';
|
|
3
3
|
import { type StylingProps } from '../../core/types/styling-props.js';
|
|
4
4
|
import { type WithChildren } from '../../core/types/with-children.js';
|
|
@@ -27,4 +27,4 @@ export interface SkeletonProps extends WithChildren, StylingProps, DataTestId {
|
|
|
27
27
|
* The `Skeleton` component renders a colored block with an animated background, indicating that something is loading.
|
|
28
28
|
* @public
|
|
29
29
|
*/
|
|
30
|
-
export declare const Skeleton: (props: SkeletonProps &
|
|
30
|
+
export declare const Skeleton: (props: SkeletonProps & import("react").RefAttributes<HTMLDivElement>) => React.ReactElement | null;
|
|
@@ -31,8 +31,9 @@ __export(Skeleton_exports, {
|
|
|
31
31
|
Skeleton: () => Skeleton
|
|
32
32
|
});
|
|
33
33
|
module.exports = __toCommonJS(Skeleton_exports);
|
|
34
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
34
35
|
var import_clsx = __toESM(require("clsx"));
|
|
35
|
-
var import_react =
|
|
36
|
+
var import_react = require("react");
|
|
36
37
|
var import_Skeleton_css = require("./Skeleton.sty.js");
|
|
37
38
|
const Skeleton = (0, import_react.forwardRef)(
|
|
38
39
|
(props, forwardedRef) => {
|
|
@@ -46,16 +47,16 @@ const Skeleton = (0, import_react.forwardRef)(
|
|
|
46
47
|
"data-testid": dataTestId,
|
|
47
48
|
...remainingProps
|
|
48
49
|
} = props;
|
|
49
|
-
return /* @__PURE__ */
|
|
50
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
50
51
|
"div",
|
|
51
52
|
{
|
|
52
53
|
"data-testid": dataTestId,
|
|
53
54
|
ref: forwardedRef,
|
|
54
55
|
className: (0, import_clsx.default)((0, import_Skeleton_css.skeletonPlaceholderCSS)({ variant }), consumerClassName),
|
|
55
56
|
style: { width, height, ...consumerStyle },
|
|
56
|
-
...remainingProps
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
...remainingProps,
|
|
58
|
+
children
|
|
59
|
+
}
|
|
59
60
|
);
|
|
60
61
|
}
|
|
61
62
|
);
|
|
@@ -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-
|
|
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: [] });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { type CSSProperties } from 'react';
|
|
2
2
|
import { type DataTestId } from '../../core/types/data-props.js';
|
|
3
3
|
import { type StylingProps } from '../../core/types/styling-props.js';
|
|
4
4
|
/**
|
|
@@ -21,4 +21,4 @@ export interface SkeletonTextProps extends StylingProps, DataTestId {
|
|
|
21
21
|
* The `SkeletonText` component renders a specified number of placeholder boxes for lines of text with an animated background.
|
|
22
22
|
* @public
|
|
23
23
|
*/
|
|
24
|
-
export declare const SkeletonText: (props: SkeletonTextProps &
|
|
24
|
+
export declare const SkeletonText: (props: SkeletonTextProps & import("react").RefAttributes<HTMLDivElement>) => React.ReactElement | null;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
2
|
var __defProp = Object.defineProperty;
|
|
4
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
6
|
var __export = (target, all) => {
|
|
9
7
|
for (var name in all)
|
|
@@ -17,21 +15,14 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
15
|
}
|
|
18
16
|
return to;
|
|
19
17
|
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
19
|
var SkeletonText_exports = {};
|
|
30
20
|
__export(SkeletonText_exports, {
|
|
31
21
|
SkeletonText: () => SkeletonText
|
|
32
22
|
});
|
|
33
23
|
module.exports = __toCommonJS(SkeletonText_exports);
|
|
34
|
-
var
|
|
24
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
25
|
+
var import_react = require("react");
|
|
35
26
|
var import_Skeleton = require("./Skeleton.js");
|
|
36
27
|
var import_Flex = require("../../layouts/flex/Flex.js");
|
|
37
28
|
const SkeletonText = (0, import_react.forwardRef)(
|
|
@@ -55,19 +46,19 @@ const SkeletonText = (0, import_react.forwardRef)(
|
|
|
55
46
|
for (let line = 0; line < lines2; line++) {
|
|
56
47
|
const width2 = `calc(100% - ${getSkeletonLinesMargin(line, lines2)}px)`;
|
|
57
48
|
render.push(
|
|
58
|
-
/* @__PURE__ */
|
|
49
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
59
50
|
import_Skeleton.Skeleton,
|
|
60
51
|
{
|
|
61
|
-
key: `${lines2}-${line}`,
|
|
62
52
|
width: width2,
|
|
63
53
|
height: "12px"
|
|
64
|
-
}
|
|
54
|
+
},
|
|
55
|
+
`${lines2}-${line}`
|
|
65
56
|
)
|
|
66
57
|
);
|
|
67
58
|
}
|
|
68
59
|
return render;
|
|
69
60
|
};
|
|
70
|
-
return /* @__PURE__ */
|
|
61
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
71
62
|
import_Flex.Flex,
|
|
72
63
|
{
|
|
73
64
|
"data-testid": dataTestId,
|
|
@@ -77,9 +68,9 @@ const SkeletonText = (0, import_react.forwardRef)(
|
|
|
77
68
|
paddingY: 4,
|
|
78
69
|
className: consumerClassName,
|
|
79
70
|
style: { width, ...consumerStyle },
|
|
80
|
-
...remainingProps
|
|
81
|
-
|
|
82
|
-
|
|
71
|
+
...remainingProps,
|
|
72
|
+
children: getSkeletonLines(lines)
|
|
73
|
+
}
|
|
83
74
|
);
|
|
84
75
|
}
|
|
85
76
|
);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { type PropsWithChildren } from 'react';
|
|
2
2
|
import 'wicg-inert';
|
|
3
3
|
import './AppRoot.sty.js';
|
|
4
4
|
import { type DataTestId } from '../../types/data-props.js';
|
|
@@ -18,5 +18,5 @@ export type AppRootProps = PropsWithChildren<DataTestId & StylingProps & Masking
|
|
|
18
18
|
* @public
|
|
19
19
|
*/
|
|
20
20
|
export declare const AppRoot: (props: DataTestId & StylingProps & MaskingProps & {
|
|
21
|
-
children?:
|
|
22
|
-
} &
|
|
21
|
+
children?: import("react").ReactNode | undefined;
|
|
22
|
+
} & import("react").RefAttributes<HTMLDivElement>) => React.ReactElement | null;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __create = Object.create;
|
|
3
2
|
var __defProp = Object.defineProperty;
|
|
4
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
7
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
6
|
var __export = (target, all) => {
|
|
9
7
|
for (var name in all)
|
|
@@ -17,22 +15,15 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
17
15
|
}
|
|
18
16
|
return to;
|
|
19
17
|
};
|
|
20
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
-
mod
|
|
27
|
-
));
|
|
28
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
19
|
var AppRoot_exports = {};
|
|
30
20
|
__export(AppRoot_exports, {
|
|
31
21
|
AppRoot: () => AppRoot
|
|
32
22
|
});
|
|
33
23
|
module.exports = __toCommonJS(AppRoot_exports);
|
|
24
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
34
25
|
var import_lodash_es = require("lodash");
|
|
35
|
-
var import_react =
|
|
26
|
+
var import_react = require("react");
|
|
36
27
|
var import_react_intl = require("react-intl");
|
|
37
28
|
var import_wicg_inert = require("wicg-inert");
|
|
38
29
|
var import_user_preferences = require("@dynatrace-sdk/user-preferences");
|
|
@@ -90,7 +81,7 @@ const AppRoot = /* @__PURE__ */ (0, import_react.forwardRef)(
|
|
|
90
81
|
setMessages((prev) => (0, import_lodash_es.isEmpty)(prev) ? prev : {});
|
|
91
82
|
});
|
|
92
83
|
}, [language]);
|
|
93
|
-
return /* @__PURE__ */
|
|
84
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
94
85
|
"div",
|
|
95
86
|
{
|
|
96
87
|
ref: forwardedRef,
|
|
@@ -99,18 +90,18 @@ const AppRoot = /* @__PURE__ */ (0, import_react.forwardRef)(
|
|
|
99
90
|
style: consumerStyle,
|
|
100
91
|
"data-theme": theme,
|
|
101
92
|
"data-dtrum-mask": dataDtrumMask,
|
|
102
|
-
"data-dtrum-allow": dataDtrumAllow
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
93
|
+
"data-dtrum-allow": dataDtrumAllow,
|
|
94
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
95
|
+
import_react_intl.IntlProvider,
|
|
96
|
+
{
|
|
97
|
+
locale: language,
|
|
98
|
+
timeZone: timezone,
|
|
99
|
+
messages,
|
|
100
|
+
defaultLocale: defaultLanguage,
|
|
101
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_FocusProvider.FocusProvider, { children })
|
|
102
|
+
}
|
|
103
|
+
)
|
|
104
|
+
}
|
|
114
105
|
);
|
|
115
106
|
}
|
|
116
107
|
);
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import type { WithChildren } from '../../types/with-children.js';
|
|
3
2
|
/**
|
|
4
3
|
* Prop definition of the `FocusScope` component.
|
|
@@ -24,6 +23,6 @@ export interface FocusScopeProps extends WithChildren {
|
|
|
24
23
|
* @public
|
|
25
24
|
*/
|
|
26
25
|
export declare const FocusScope: {
|
|
27
|
-
(props: FocusScopeProps):
|
|
26
|
+
(props: FocusScopeProps): import("react/jsx-runtime.js").JSX.Element;
|
|
28
27
|
displayName: string;
|
|
29
28
|
};
|