@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,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 FocusScope_exports = {};
|
|
30
20
|
__export(FocusScope_exports, {
|
|
31
21
|
FocusScope: () => FocusScope
|
|
32
22
|
});
|
|
33
23
|
module.exports = __toCommonJS(FocusScope_exports);
|
|
34
|
-
var
|
|
24
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
25
|
+
var import_react = require("react");
|
|
35
26
|
var import_useActiveElement = require("../../hooks/useActiveElement.js");
|
|
36
27
|
var import_useFocusContext = require("../../hooks/useFocusContext.js");
|
|
37
28
|
var import_focus_first_descendant = require("../../utils/focus-management/focus-first-descendant.js");
|
|
@@ -69,14 +60,14 @@ const FocusScope = (props) => {
|
|
|
69
60
|
triggerElementCopy.focus();
|
|
70
61
|
};
|
|
71
62
|
}, [contain, autoFocus]);
|
|
72
|
-
return /* @__PURE__ */
|
|
63
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
73
64
|
"div",
|
|
74
65
|
{
|
|
75
66
|
style: { display: "contents" },
|
|
76
67
|
ref: wrapperRef,
|
|
77
|
-
"aria-labelledby": triggerElement.current.id
|
|
78
|
-
|
|
79
|
-
|
|
68
|
+
"aria-labelledby": triggerElement.current.id,
|
|
69
|
+
children
|
|
70
|
+
}
|
|
80
71
|
);
|
|
81
72
|
};
|
|
82
73
|
FocusScope.displayName = "FocusScope";
|
|
@@ -25,7 +25,7 @@ var import_lodash_es = require("lodash");
|
|
|
25
25
|
var import_react = require("react");
|
|
26
26
|
function useFontsUpdated(callback) {
|
|
27
27
|
const [fontsUpdated, setFontsUpdated] = (0, import_react.useState)(false);
|
|
28
|
-
const prevFontFamilies = (0, import_react.useRef)();
|
|
28
|
+
const prevFontFamilies = (0, import_react.useRef)([]);
|
|
29
29
|
const fontFamilies = [];
|
|
30
30
|
const firstRender = (0, import_react.useRef)(true);
|
|
31
31
|
if (document.fonts) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { type MutableRefObject, type LegacyRef, type SetStateAction, type Dispatch, type RefCallback } from 'react';
|
|
2
2
|
/**
|
|
3
3
|
* If you have multiple references (e.g. from different hooks) you need to apply to
|
|
4
4
|
* the same element, you can use the `useMergeRefs` hook to combine them into one
|
|
5
5
|
* reference.
|
|
6
6
|
*/
|
|
7
|
-
export declare function useMergeRefs<T = unknown>(refs: Array<
|
|
7
|
+
export declare function useMergeRefs<T = unknown>(refs: Array<MutableRefObject<T> | LegacyRef<T> | Dispatch<SetStateAction<T | null>> | undefined>): RefCallback<T>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import type { WithChildren } from '../types/with-children.js';
|
|
3
2
|
/**
|
|
4
3
|
* Type defining the modality options for the focus handling.
|
|
@@ -11,6 +10,6 @@ export type Modality = 'keyboard' | 'pointer' | 'touch' | 'unknown';
|
|
|
11
10
|
* @internal
|
|
12
11
|
*/
|
|
13
12
|
export declare const FocusProvider: {
|
|
14
|
-
({ children }: WithChildren):
|
|
13
|
+
({ children }: WithChildren): import("react/jsx-runtime.js").JSX.Element;
|
|
15
14
|
displayName: string;
|
|
16
15
|
};
|
|
@@ -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 FocusProvider_exports = {};
|
|
30
20
|
__export(FocusProvider_exports, {
|
|
31
21
|
FocusProvider: () => FocusProvider
|
|
32
22
|
});
|
|
33
23
|
module.exports = __toCommonJS(FocusProvider_exports);
|
|
34
|
-
var
|
|
24
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
25
|
+
var import_react = require("react");
|
|
35
26
|
var import_FocusContext = require("../contexts/FocusContext.js");
|
|
36
27
|
var import_useFocusContext = require("../hooks/useFocusContext.js");
|
|
37
28
|
var import_merge_props = require("../utils/merge-props.js");
|
|
@@ -130,7 +121,7 @@ const FocusProvider = ({ children }) => {
|
|
|
130
121
|
tabIndex: -1,
|
|
131
122
|
"aria-hidden": true
|
|
132
123
|
} : { inert: void 0, tabIndex: void 0, "aria-hidden": false };
|
|
133
|
-
return /* @__PURE__ */
|
|
124
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
134
125
|
import_FocusContext.FocusContext.Provider,
|
|
135
126
|
{
|
|
136
127
|
value: {
|
|
@@ -139,9 +130,9 @@ const FocusProvider = ({ children }) => {
|
|
|
139
130
|
setBackgroundInertness,
|
|
140
131
|
modality
|
|
141
132
|
})
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
|
|
133
|
+
},
|
|
134
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { ...focusProps, children })
|
|
135
|
+
}
|
|
145
136
|
);
|
|
146
137
|
};
|
|
147
138
|
FocusProvider["displayName"] = "FocusProvider";
|
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
._z2r50s3-1-
|
|
1
|
+
._z2r50s3-1-6-0 {
|
|
2
2
|
outline: none;
|
|
3
3
|
}
|
|
4
|
-
._z2r50s3-1-
|
|
4
|
+
._z2r50s3-1-6-0:focus-visible {
|
|
5
5
|
outline: none;
|
|
6
6
|
}
|
|
7
|
-
._z2r50s4-1-
|
|
7
|
+
._z2r50s4-1-6-0 {
|
|
8
8
|
border-radius: var(--dt-borders-radius-field-subdued, 4px);
|
|
9
|
-
box-shadow: inset 0 0 0 var(--dt-borders-width-default, 1px) var(--_z2r50s0-1-
|
|
10
|
-
background-color: var(--_z2r50s2-1-
|
|
11
|
-
}
|
|
12
|
-
._z2r50s5-1-
|
|
13
|
-
box-shadow: inset 0 0 0 var(--dt-borders-width-emphasized, 2px) var(--_z2r50s0-1-
|
|
14
|
-
}
|
|
15
|
-
._z2r50s6-1-
|
|
16
|
-
--_z2r50s0-1-
|
|
17
|
-
--_z2r50s1-1-
|
|
18
|
-
--_z2r50s2-1-
|
|
19
|
-
}
|
|
20
|
-
._z2r50s7-1-
|
|
21
|
-
--_z2r50s0-1-
|
|
22
|
-
--_z2r50s1-1-
|
|
23
|
-
--_z2r50s2-1-
|
|
24
|
-
}
|
|
25
|
-
._z2r50s8-1-
|
|
26
|
-
--_z2r50s0-1-
|
|
27
|
-
--_z2r50s1-1-
|
|
28
|
-
--_z2r50s2-1-
|
|
29
|
-
}
|
|
30
|
-
._z2r50s9-1-
|
|
31
|
-
--_z2r50s0-1-
|
|
32
|
-
--_z2r50s1-1-
|
|
33
|
-
--_z2r50s2-1-
|
|
34
|
-
}
|
|
35
|
-
._z2r50sa-1-
|
|
36
|
-
--_z2r50s0-1-
|
|
37
|
-
--_z2r50s1-1-
|
|
38
|
-
--_z2r50s2-1-
|
|
39
|
-
}
|
|
40
|
-
._z2r50sb-1-
|
|
9
|
+
box-shadow: inset 0 0 0 var(--dt-borders-width-default, 1px) var(--_z2r50s0-1-6-0);
|
|
10
|
+
background-color: var(--_z2r50s2-1-6-0);
|
|
11
|
+
}
|
|
12
|
+
._z2r50s5-1-6-0._z2r50s5-1-6-0 {
|
|
13
|
+
box-shadow: inset 0 0 0 var(--dt-borders-width-emphasized, 2px) var(--_z2r50s0-1-6-0), inset 0 0 0 calc(var(--dt-borders-width-emphasized, 2px) + 1px) var(--_z2r50s1-1-6-0);
|
|
14
|
+
}
|
|
15
|
+
._z2r50s6-1-6-0 {
|
|
16
|
+
--_z2r50s0-1-6-0: var(--dt-colors-border-neutral-accent, #545587);
|
|
17
|
+
--_z2r50s1-1-6-0: var(--dt-colors-border-neutral-default, #d2d3e1);
|
|
18
|
+
--_z2r50s2-1-6-0: var(--dt-colors-background-field-neutral-emphasized, #dadbe7);
|
|
19
|
+
}
|
|
20
|
+
._z2r50s7-1-6-0 {
|
|
21
|
+
--_z2r50s0-1-6-0: var(--dt-colors-border-primary-accent, #454cc9);
|
|
22
|
+
--_z2r50s1-1-6-0: var(--dt-colors-border-primary-default, #ccd3f3);
|
|
23
|
+
--_z2r50s2-1-6-0: var(--dt-colors-background-field-primary-emphasized, #d6dbf4);
|
|
24
|
+
}
|
|
25
|
+
._z2r50s8-1-6-0 {
|
|
26
|
+
--_z2r50s0-1-6-0: var(--dt-colors-border-success-accent, #2c6360);
|
|
27
|
+
--_z2r50s1-1-6-0: var(--dt-colors-border-success-default, #cad6d7);
|
|
28
|
+
--_z2r50s2-1-6-0: var(--dt-colors-background-field-success-emphasized, #d4dddf);
|
|
29
|
+
}
|
|
30
|
+
._z2r50s9-1-6-0 {
|
|
31
|
+
--_z2r50s0-1-6-0: var(--dt-colors-border-warning-accent, #805100);
|
|
32
|
+
--_z2r50s1-1-6-0: var(--dt-colors-border-warning-default, #f4e5d5);
|
|
33
|
+
--_z2r50s2-1-6-0: var(--dt-colors-background-field-warning-emphasized, #f4e8de);
|
|
34
|
+
}
|
|
35
|
+
._z2r50sa-1-6-0 {
|
|
36
|
+
--_z2r50s0-1-6-0: var(--dt-colors-border-critical-accent, #b80031);
|
|
37
|
+
--_z2r50s1-1-6-0: var(--dt-colors-border-critical-default, #f1cdcf);
|
|
38
|
+
--_z2r50s2-1-6-0: var(--dt-colors-background-field-critical-emphasized, #f2d7d9);
|
|
39
|
+
}
|
|
40
|
+
._z2r50sb-1-6-0:focus-within {
|
|
41
41
|
outline: none;
|
|
42
42
|
}
|
|
43
|
-
._z2r50sc-1-
|
|
43
|
+
._z2r50sc-1-6-0:focus-within {
|
|
44
44
|
border-radius: var(--dt-borders-radius-field-subdued, 4px);
|
|
45
|
-
box-shadow: inset 0 0 0 var(--dt-borders-width-default, 1px) var(--_z2r50s0-1-
|
|
46
|
-
background-color: var(--_z2r50s2-1-
|
|
47
|
-
}
|
|
48
|
-
._z2r50sd-1-
|
|
49
|
-
box-shadow: inset 0 0 0 var(--dt-borders-width-emphasized, 2px) var(--_z2r50s0-1-
|
|
50
|
-
}
|
|
51
|
-
._z2r50se-1-
|
|
52
|
-
--_z2r50s0-1-
|
|
53
|
-
--_z2r50s1-1-
|
|
54
|
-
--_z2r50s2-1-
|
|
55
|
-
}
|
|
56
|
-
._z2r50sf-1-
|
|
57
|
-
--_z2r50s0-1-
|
|
58
|
-
--_z2r50s1-1-
|
|
59
|
-
--_z2r50s2-1-
|
|
60
|
-
}
|
|
61
|
-
._z2r50sg-1-
|
|
62
|
-
--_z2r50s0-1-
|
|
63
|
-
--_z2r50s1-1-
|
|
64
|
-
--_z2r50s2-1-
|
|
65
|
-
}
|
|
66
|
-
._z2r50sh-1-
|
|
67
|
-
--_z2r50s0-1-
|
|
68
|
-
--_z2r50s1-1-
|
|
69
|
-
--_z2r50s2-1-
|
|
70
|
-
}
|
|
71
|
-
._z2r50si-1-
|
|
72
|
-
--_z2r50s0-1-
|
|
73
|
-
--_z2r50s1-1-
|
|
74
|
-
--_z2r50s2-1-
|
|
45
|
+
box-shadow: inset 0 0 0 var(--dt-borders-width-default, 1px) var(--_z2r50s0-1-6-0);
|
|
46
|
+
background-color: var(--_z2r50s2-1-6-0);
|
|
47
|
+
}
|
|
48
|
+
._z2r50sd-1-6-0:focus-within {
|
|
49
|
+
box-shadow: inset 0 0 0 var(--dt-borders-width-emphasized, 2px) var(--_z2r50s0-1-6-0), inset 0 0 0 calc(var(--dt-borders-width-emphasized, 2px) + 1px) var(--_z2r50s1-1-6-0);
|
|
50
|
+
}
|
|
51
|
+
._z2r50se-1-6-0 {
|
|
52
|
+
--_z2r50s0-1-6-0: var(--dt-colors-border-neutral-accent, #545587);
|
|
53
|
+
--_z2r50s1-1-6-0: var(--dt-colors-border-neutral-default, #d2d3e1);
|
|
54
|
+
--_z2r50s2-1-6-0: var(--dt-colors-background-field-neutral-emphasized, #dadbe7);
|
|
55
|
+
}
|
|
56
|
+
._z2r50sf-1-6-0 {
|
|
57
|
+
--_z2r50s0-1-6-0: var(--dt-colors-border-primary-accent, #454cc9);
|
|
58
|
+
--_z2r50s1-1-6-0: var(--dt-colors-border-primary-default, #ccd3f3);
|
|
59
|
+
--_z2r50s2-1-6-0: var(--dt-colors-background-field-primary-emphasized, #d6dbf4);
|
|
60
|
+
}
|
|
61
|
+
._z2r50sg-1-6-0 {
|
|
62
|
+
--_z2r50s0-1-6-0: var(--dt-colors-border-success-accent, #2c6360);
|
|
63
|
+
--_z2r50s1-1-6-0: var(--dt-colors-border-success-default, #cad6d7);
|
|
64
|
+
--_z2r50s2-1-6-0: var(--dt-colors-background-field-success-emphasized, #d4dddf);
|
|
65
|
+
}
|
|
66
|
+
._z2r50sh-1-6-0 {
|
|
67
|
+
--_z2r50s0-1-6-0: var(--dt-colors-border-warning-accent, #805100);
|
|
68
|
+
--_z2r50s1-1-6-0: var(--dt-colors-border-warning-default, #f4e5d5);
|
|
69
|
+
--_z2r50s2-1-6-0: var(--dt-colors-background-field-warning-emphasized, #f4e8de);
|
|
70
|
+
}
|
|
71
|
+
._z2r50si-1-6-0 {
|
|
72
|
+
--_z2r50s0-1-6-0: var(--dt-colors-border-critical-accent, #b80031);
|
|
73
|
+
--_z2r50s1-1-6-0: var(--dt-colors-border-critical-default, #f1cdcf);
|
|
74
|
+
--_z2r50s2-1-6-0: var(--dt-colors-background-field-critical-emphasized, #f2d7d9);
|
|
75
75
|
}
|
|
@@ -24,5 +24,5 @@ __export(focusRing_css_exports, {
|
|
|
24
24
|
module.exports = __toCommonJS(focusRing_css_exports);
|
|
25
25
|
var import_focusRing_css_ts_vanilla = require("./focusRing.css");
|
|
26
26
|
var import_createRuntimeFn = require("@vanilla-extract/recipes/createRuntimeFn");
|
|
27
|
-
var focusRingCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_z2r50s3-1-
|
|
28
|
-
var focusRingFocusWithinCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_z2r50sb-1-
|
|
27
|
+
var focusRingCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_z2r50s3-1-6-0", variantClassNames: { minimal: { true: "_z2r50s4-1-6-0", false: "_z2r50s5-1-6-0" }, variant: { neutral: "_z2r50s6-1-6-0", primary: "_z2r50s7-1-6-0", success: "_z2r50s8-1-6-0", warning: "_z2r50s9-1-6-0", critical: "_z2r50sa-1-6-0" } }, defaultVariants: {}, compoundVariants: [] });
|
|
28
|
+
var focusRingFocusWithinCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_z2r50sb-1-6-0", variantClassNames: { minimal: { true: "_z2r50sc-1-6-0", false: "_z2r50sd-1-6-0" }, variant: { neutral: "_z2r50se-1-6-0", primary: "_z2r50sf-1-6-0", success: "_z2r50sg-1-6-0", warning: "_z2r50sh-1-6-0", critical: "_z2r50si-1-6-0" } }, defaultVariants: {}, compoundVariants: [] });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FocusEvent } from 'react';
|
|
1
|
+
import { type FocusEvent as ReactFocusEvent } from 'react';
|
|
2
2
|
/** @internal */
|
|
3
3
|
export type VariantType = 'neutral' | 'primary' | 'success' | 'warning' | 'critical';
|
|
4
4
|
/** @internal */
|
|
@@ -32,8 +32,8 @@ export type FocusRingProps = {
|
|
|
32
32
|
focusClassName: string;
|
|
33
33
|
/** Focus handlers used to manage the focus state. Must be applied to the element that receives the focus.*/
|
|
34
34
|
focusProps: {
|
|
35
|
-
onFocus: (e:
|
|
36
|
-
onBlur: (e:
|
|
35
|
+
onFocus: (e: ReactFocusEvent) => void;
|
|
36
|
+
onBlur: (e: ReactFocusEvent) => void;
|
|
37
37
|
};
|
|
38
38
|
/** Whether or not the element got focus via keyboard. */
|
|
39
39
|
isFocusVisible: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
2
|
/**
|
|
3
3
|
* Returns whether children only consist of text nodes.
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
|
-
export declare function isStringChildren(children:
|
|
6
|
+
export declare function isStringChildren(children: ReactNode): children is string;
|
|
@@ -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,25 +15,17 @@ 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 is_string_children_exports = {};
|
|
30
20
|
__export(is_string_children_exports, {
|
|
31
21
|
isStringChildren: () => isStringChildren
|
|
32
22
|
});
|
|
33
23
|
module.exports = __toCommonJS(is_string_children_exports);
|
|
34
|
-
var import_react =
|
|
24
|
+
var import_react = require("react");
|
|
35
25
|
var import_react_intl = require("react-intl");
|
|
36
26
|
var import_react_is = require("react-is");
|
|
37
27
|
function isStringChildren(children) {
|
|
38
|
-
const childrenArray = import_react.
|
|
28
|
+
const childrenArray = import_react.Children.toArray(children);
|
|
39
29
|
if (!childrenArray.some(import_react_is.isElement)) {
|
|
40
30
|
return true;
|
|
41
31
|
}
|
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
._k096v44-1-
|
|
2
|
-
--_k096v40-1-
|
|
3
|
-
--_k096v41-1-
|
|
4
|
-
--_k096v42-1-
|
|
1
|
+
._k096v44-1-6-0 {
|
|
2
|
+
--_k096v40-1-6-0: var(--dt-colors-text-critical-default, #b80031);
|
|
3
|
+
--_k096v41-1-6-0: var(--dt-colors-icon-critical-default, #b80031);
|
|
4
|
+
--_k096v42-1-6-0: var(--dt-colors-border-critical-default, #f1cdcf);
|
|
5
5
|
}
|
|
6
|
-
._k096v45-1-
|
|
7
|
-
--_k096v40-1-
|
|
8
|
-
--_k096v41-1-
|
|
9
|
-
--_k096v42-1-
|
|
6
|
+
._k096v45-1-6-0 {
|
|
7
|
+
--_k096v40-1-6-0: var(--dt-colors-text-neutral-default, #2b2a58);
|
|
8
|
+
--_k096v41-1-6-0: var(--dt-colors-icon-neutral-default, #2b2a58);
|
|
9
|
+
--_k096v42-1-6-0: var(--dt-colors-border-neutral-default, #d2d3e1);
|
|
10
10
|
}
|
|
11
|
-
._k096v46-1-
|
|
12
|
-
--_k096v40-1-
|
|
13
|
-
--_k096v41-1-
|
|
14
|
-
--_k096v42-1-
|
|
11
|
+
._k096v46-1-6-0 {
|
|
12
|
+
--_k096v40-1-6-0: var(--dt-colors-text-primary-default, #454cc9);
|
|
13
|
+
--_k096v41-1-6-0: var(--dt-colors-icon-primary-default, #454cc9);
|
|
14
|
+
--_k096v42-1-6-0: var(--dt-colors-border-primary-default, #ccd3f3);
|
|
15
15
|
}
|
|
16
|
-
._k096v47-1-
|
|
17
|
-
--_k096v40-1-
|
|
18
|
-
--_k096v41-1-
|
|
19
|
-
--_k096v42-1-
|
|
16
|
+
._k096v47-1-6-0 {
|
|
17
|
+
--_k096v40-1-6-0: var(--dt-colors-text-success-default, #2c6360);
|
|
18
|
+
--_k096v41-1-6-0: var(--dt-colors-icon-success-default, #2c6360);
|
|
19
|
+
--_k096v42-1-6-0: var(--dt-colors-border-success-default, #cad6d7);
|
|
20
20
|
}
|
|
21
|
-
._k096v48-1-
|
|
22
|
-
--_k096v40-1-
|
|
23
|
-
--_k096v41-1-
|
|
24
|
-
--_k096v42-1-
|
|
21
|
+
._k096v48-1-6-0 {
|
|
22
|
+
--_k096v40-1-6-0: var(--dt-colors-text-warning-default, #805100);
|
|
23
|
+
--_k096v41-1-6-0: var(--dt-colors-icon-warning-default, #805100);
|
|
24
|
+
--_k096v42-1-6-0: var(--dt-colors-border-warning-default, #f4e5d5);
|
|
25
25
|
}
|
|
26
|
-
._k096v4d-1-
|
|
27
|
-
--_k096v40-1-
|
|
28
|
-
--_k096v41-1-
|
|
29
|
-
--_k096v42-1-
|
|
26
|
+
._k096v4d-1-6-0 {
|
|
27
|
+
--_k096v40-1-6-0: var(--dt-colors-text-primary-on-accent-default, #f4f4fb);
|
|
28
|
+
--_k096v41-1-6-0: var(--dt-colors-icon-primary-on-accent-default, #f4f4fb);
|
|
29
|
+
--_k096v42-1-6-0: var(--dt-colors-border-primary-accent, #454cc9);
|
|
30
30
|
}
|
|
31
|
-
._k096v4e-1-
|
|
32
|
-
--_k096v40-1-
|
|
33
|
-
--_k096v41-1-
|
|
34
|
-
--_k096v42-1-
|
|
31
|
+
._k096v4e-1-6-0 {
|
|
32
|
+
--_k096v40-1-6-0: var(--dt-colors-text-success-on-accent-default, #f1f4f4);
|
|
33
|
+
--_k096v41-1-6-0: var(--dt-colors-icon-success-on-accent-default, #f1f4f4);
|
|
34
|
+
--_k096v42-1-6-0: var(--dt-colors-border-success-accent, #2c6360);
|
|
35
35
|
}
|
|
36
|
-
._k096v4f-1-
|
|
37
|
-
--_k096v40-1-
|
|
38
|
-
--_k096v41-1-
|
|
39
|
-
--_k096v42-1-
|
|
36
|
+
._k096v4f-1-6-0 {
|
|
37
|
+
--_k096v40-1-6-0: var(--dt-colors-text-warning-on-accent-default, #272025);
|
|
38
|
+
--_k096v41-1-6-0: var(--dt-colors-icon-warning-on-accent-default, #272025);
|
|
39
|
+
--_k096v42-1-6-0: var(--dt-colors-border-warning-accent, #805100);
|
|
40
40
|
}
|
|
41
|
-
._k096v4g-1-
|
|
42
|
-
--_k096v40-1-
|
|
43
|
-
--_k096v41-1-
|
|
44
|
-
--_k096v42-1-
|
|
41
|
+
._k096v4g-1-6-0 {
|
|
42
|
+
--_k096v40-1-6-0: var(--dt-colors-text-critical-on-accent-default, #f9f1f3);
|
|
43
|
+
--_k096v41-1-6-0: var(--dt-colors-icon-critical-on-accent-default, #f9f1f3);
|
|
44
|
+
--_k096v42-1-6-0: var(--dt-colors-border-critical-accent, #b80031);
|
|
45
45
|
}
|
|
46
|
-
._k096v4h-1-
|
|
47
|
-
--_k096v40-1-
|
|
48
|
-
--_k096v41-1-
|
|
49
|
-
--_k096v42-1-
|
|
46
|
+
._k096v4h-1-6-0 {
|
|
47
|
+
--_k096v40-1-6-0: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
|
|
48
|
+
--_k096v41-1-6-0: var(--dt-colors-icon-neutral-on-accent-default, #f3f3f6);
|
|
49
|
+
--_k096v42-1-6-0: var(--dt-colors-border-neutral-accent, #545587);
|
|
50
50
|
}
|
|
51
|
-
._k096v4i-1-
|
|
52
|
-
--_k096v40-1-
|
|
53
|
-
--_k096v41-1-
|
|
54
|
-
--_k096v42-1-
|
|
51
|
+
._k096v4i-1-6-0 {
|
|
52
|
+
--_k096v40-1-6-0: var(--dt-colors-text-primary-disabled, #54558780);
|
|
53
|
+
--_k096v41-1-6-0: var(--dt-colors-icon-primary-disabled, #54558780);
|
|
54
|
+
--_k096v42-1-6-0: var(--dt-colors-border-primary-disabled, #d2d3e180);
|
|
55
55
|
}
|
|
56
|
-
._k096v4j-1-
|
|
57
|
-
--_k096v40-1-
|
|
58
|
-
--_k096v41-1-
|
|
59
|
-
--_k096v42-1-
|
|
56
|
+
._k096v4j-1-6-0 {
|
|
57
|
+
--_k096v40-1-6-0: var(--dt-colors-text-success-disabled, #54558780);
|
|
58
|
+
--_k096v41-1-6-0: var(--dt-colors-icon-success-disabled, #54558780);
|
|
59
|
+
--_k096v42-1-6-0: var(--dt-colors-border-success-disabled, #d2d3e180);
|
|
60
60
|
}
|
|
61
|
-
._k096v4k-1-
|
|
62
|
-
--_k096v40-1-
|
|
63
|
-
--_k096v41-1-
|
|
64
|
-
--_k096v42-1-
|
|
61
|
+
._k096v4k-1-6-0 {
|
|
62
|
+
--_k096v40-1-6-0: var(--dt-colors-text-warning-disabled, #54558780);
|
|
63
|
+
--_k096v41-1-6-0: var(--dt-colors-icon-warning-disabled, #54558780);
|
|
64
|
+
--_k096v42-1-6-0: var(--dt-colors-border-warning-disabled, #d2d3e180);
|
|
65
65
|
}
|
|
66
|
-
._k096v4l-1-
|
|
67
|
-
--_k096v40-1-
|
|
68
|
-
--_k096v41-1-
|
|
69
|
-
--_k096v42-1-
|
|
66
|
+
._k096v4l-1-6-0 {
|
|
67
|
+
--_k096v40-1-6-0: var(--dt-colors-text-critical-disabled, #54558780);
|
|
68
|
+
--_k096v41-1-6-0: var(--dt-colors-icon-critical-disabled, #54558780);
|
|
69
|
+
--_k096v42-1-6-0: var(--dt-colors-border-critical-disabled, #d2d3e180);
|
|
70
70
|
}
|
|
71
|
-
._k096v4m-1-
|
|
72
|
-
--_k096v40-1-
|
|
73
|
-
--_k096v41-1-
|
|
74
|
-
--_k096v42-1-
|
|
71
|
+
._k096v4m-1-6-0 {
|
|
72
|
+
--_k096v40-1-6-0: var(--dt-colors-text-neutral-disabled, #54558780);
|
|
73
|
+
--_k096v41-1-6-0: var(--dt-colors-icon-neutral-disabled, #54558780);
|
|
74
|
+
--_k096v42-1-6-0: var(--dt-colors-border-neutral-disabled, #d2d3e180);
|
|
75
75
|
}
|
|
@@ -24,5 +24,5 @@ __export(colorUtils_css_exports, {
|
|
|
24
24
|
module.exports = __toCommonJS(colorUtils_css_exports);
|
|
25
25
|
var import_colorUtils_css_ts_vanilla = require("./colorUtils.css");
|
|
26
26
|
var import_createRuntimeFn = require("@vanilla-extract/recipes/createRuntimeFn");
|
|
27
|
-
var colorUtilsCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_k096v43-1-
|
|
28
|
-
var colorUtilsVars = { text: "var(--_k096v40-1-
|
|
27
|
+
var colorUtilsCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_k096v43-1-6-0", variantClassNames: { color: { critical: "_k096v44-1-6-0", neutral: "_k096v45-1-6-0", primary: "_k096v46-1-6-0", success: "_k096v47-1-6-0", warning: "_k096v48-1-6-0" }, variant: { "default": "_k096v49-1-6-0", accent: "_k096v4a-1-6-0" }, disabled: { true: "_k096v4b-1-6-0", false: "_k096v4c-1-6-0" } }, defaultVariants: {}, compoundVariants: [[{ color: "primary", variant: "accent" }, "_k096v4d-1-6-0"], [{ color: "success", variant: "accent" }, "_k096v4e-1-6-0"], [{ color: "warning", variant: "accent" }, "_k096v4f-1-6-0"], [{ color: "critical", variant: "accent" }, "_k096v4g-1-6-0"], [{ color: "neutral", variant: "accent" }, "_k096v4h-1-6-0"], [{ color: "primary", disabled: true }, "_k096v4i-1-6-0"], [{ color: "success", disabled: true }, "_k096v4j-1-6-0"], [{ color: "warning", disabled: true }, "_k096v4k-1-6-0"], [{ color: "critical", disabled: true }, "_k096v4l-1-6-0"], [{ color: "neutral", disabled: true }, "_k096v4m-1-6-0"]] });
|
|
28
|
+
var colorUtilsVars = { text: "var(--_k096v40-1-6-0)", icon: "var(--_k096v41-1-6-0)", borderColor: "var(--_k096v42-1-6-0)" };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
._10kgnsa0-1-
|
|
1
|
+
._10kgnsa0-1-6-0 {
|
|
2
2
|
font-family: var(--dt-typography-text-base-default-family, DynatraceFlow,Roboto,Helvetica,sans-serif);
|
|
3
3
|
font-weight: var(--dt-typography-text-base-emphasized-weight, 500);
|
|
4
4
|
font-size: var(--dt-typography-text-base-default-size, 14px);
|
|
5
5
|
line-height: var(--dt-typography-text-base-default-line-height, 1.4285714286);
|
|
6
6
|
text-decoration: var(--dt-typography-text-base-default-text-decoration, none);
|
|
7
7
|
text-transform: none;
|
|
8
|
-
background: var(--_bx32h3-1-
|
|
9
|
-
color: var(--_bx32h0-1-
|
|
8
|
+
background: var(--_bx32h3-1-6-0);
|
|
9
|
+
color: var(--_bx32h0-1-6-0);
|
|
10
10
|
display: inline-flex;
|
|
11
11
|
position: relative;
|
|
12
12
|
align-items: center;
|
|
@@ -23,42 +23,42 @@
|
|
|
23
23
|
transition-duration: var(--dt-animations-hover-duration-base, 150ms);
|
|
24
24
|
transition-property: color, background-color, transform;
|
|
25
25
|
}
|
|
26
|
-
._10kgnsa1-1-
|
|
26
|
+
._10kgnsa1-1-6-0 {
|
|
27
27
|
text-align: start;
|
|
28
28
|
justify-content: space-between;
|
|
29
29
|
}
|
|
30
|
-
._10kgnsa2-1-
|
|
30
|
+
._10kgnsa2-1-6-0 {
|
|
31
31
|
text-align: center;
|
|
32
32
|
justify-content: center;
|
|
33
33
|
}
|
|
34
|
-
._10kgnsa3-1-
|
|
34
|
+
._10kgnsa3-1-6-0 {
|
|
35
35
|
padding-top: var(--dt-spacings-size-2, 2px);
|
|
36
36
|
padding-bottom: var(--dt-spacings-size-2, 2px);
|
|
37
37
|
padding-left: var(--dt-spacings-size-4, 4px);
|
|
38
38
|
padding-right: var(--dt-spacings-size-4, 4px);
|
|
39
39
|
gap: var(--dt-spacings-size-2, 2px);
|
|
40
40
|
}
|
|
41
|
-
._10kgnsa4-1-
|
|
41
|
+
._10kgnsa4-1-6-0 {
|
|
42
42
|
padding-top: var(--dt-spacings-size-6, 6px);
|
|
43
43
|
padding-bottom: var(--dt-spacings-size-6, 6px);
|
|
44
44
|
padding-left: var(--dt-spacings-size-8, 8px);
|
|
45
45
|
padding-right: var(--dt-spacings-size-8, 8px);
|
|
46
46
|
gap: var(--dt-spacings-size-4, 4px);
|
|
47
47
|
}
|
|
48
|
-
._10kgnsa5-1-
|
|
48
|
+
._10kgnsa5-1-6-0 {
|
|
49
49
|
cursor: not-allowed;
|
|
50
50
|
}
|
|
51
|
-
._10kgnsa6-1-
|
|
51
|
+
._10kgnsa6-1-6-0 {
|
|
52
52
|
cursor: not-allowed;
|
|
53
|
-
background: var(--_bx32h2-1-
|
|
53
|
+
background: var(--_bx32h2-1-6-0);
|
|
54
54
|
}
|
|
55
|
-
._10kgnsa7-1-
|
|
55
|
+
._10kgnsa7-1-6-0 {
|
|
56
56
|
width: 100%;
|
|
57
57
|
}
|
|
58
|
-
._10kgnsa8-1-
|
|
58
|
+
._10kgnsa8-1-6-0 {
|
|
59
59
|
width: fit-content;
|
|
60
60
|
}
|
|
61
|
-
._10kgnsa9-1-
|
|
61
|
+
._10kgnsa9-1-6-0 {
|
|
62
62
|
position: absolute;
|
|
63
63
|
top: 0;
|
|
64
64
|
left: 0;
|
|
@@ -70,19 +70,19 @@
|
|
|
70
70
|
align-items: center;
|
|
71
71
|
z-index: 1;
|
|
72
72
|
}
|
|
73
|
-
._10kgnsa3-1-
|
|
73
|
+
._10kgnsa3-1-6-0 ._10kgnsaa-1-6-0:not(:has(svg:only-child)) {
|
|
74
74
|
padding-top: 0;
|
|
75
75
|
padding-bottom: 0;
|
|
76
76
|
padding-left: 2px;
|
|
77
77
|
padding-right: 2px;
|
|
78
78
|
}
|
|
79
|
-
._10kgnsa4-1-
|
|
79
|
+
._10kgnsa4-1-6-0 ._10kgnsaa-1-6-0:not(:has(svg:only-child)) {
|
|
80
80
|
padding-top: 0;
|
|
81
81
|
padding-bottom: 0;
|
|
82
82
|
padding-left: 4px;
|
|
83
83
|
padding-right: 4px;
|
|
84
84
|
}
|
|
85
|
-
._10kgnsac-1-
|
|
85
|
+
._10kgnsac-1-6-0 {
|
|
86
86
|
display: inline-flex;
|
|
87
87
|
min-width: 0;
|
|
88
88
|
max-width: 100%;
|