@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,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { type DataTestId } from '../../core/types/data-props.js';
|
|
3
2
|
import { type StylingProps } from '../../core/types/styling-props.js';
|
|
4
3
|
/** @public
|
|
@@ -36,4 +35,4 @@ export interface DividerProps extends StylingProps, DataTestId {
|
|
|
36
35
|
* The `Divider` component visually separates groups of content.
|
|
37
36
|
* @public
|
|
38
37
|
*/
|
|
39
|
-
export declare const Divider: (props: DividerProps &
|
|
38
|
+
export declare const Divider: (props: DividerProps & import("react").RefAttributes<HTMLDivElement | HTMLHRElement>) => React.ReactElement | null;
|
|
@@ -31,8 +31,9 @@ __export(Divider_exports, {
|
|
|
31
31
|
Divider: () => Divider
|
|
32
32
|
});
|
|
33
33
|
module.exports = __toCommonJS(Divider_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_Divider_css = require("./Divider.sty.js");
|
|
37
38
|
var import_colorUtils_css = require("../../core/utils/colorUtils.sty.js");
|
|
38
39
|
const Divider = /* @__PURE__ */ (0, import_react.forwardRef)((props, ref) => {
|
|
@@ -48,7 +49,7 @@ const Divider = /* @__PURE__ */ (0, import_react.forwardRef)((props, ref) => {
|
|
|
48
49
|
...remainingProps
|
|
49
50
|
} = props;
|
|
50
51
|
const DividerTag = as;
|
|
51
|
-
return /* @__PURE__ */
|
|
52
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
52
53
|
DividerTag,
|
|
53
54
|
{
|
|
54
55
|
role: "separator",
|
|
@@ -24,4 +24,4 @@ module.exports = __toCommonJS(Divider_css_exports);
|
|
|
24
24
|
var import_colorUtils_css_ts_vanilla = require("../../core/utils/colorUtils.css");
|
|
25
25
|
var import_Divider_css_ts_vanilla = require("./Divider.css");
|
|
26
26
|
var import_createRuntimeFn = require("@vanilla-extract/recipes/createRuntimeFn");
|
|
27
|
-
var dividerCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_1thxv8m0-1-
|
|
27
|
+
var dividerCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_1thxv8m0-1-6-0", variantClassNames: { orientation: { horizontal: "_1thxv8m1-1-6-0", vertical: "_1thxv8m2-1-6-0" }, flexItem: { true: "_1thxv8m3-1-6-0", false: "_1thxv8m4-1-6-0" } }, defaultVariants: {}, compoundVariants: [[{ orientation: "horizontal", flexItem: false }, "_1thxv8m5-1-6-0"], [{ orientation: "vertical", flexItem: true }, "_1thxv8m6-1-6-0"]] });
|
package/layouts/flex/Flex.js
CHANGED
|
@@ -31,8 +31,9 @@ __export(Flex_exports, {
|
|
|
31
31
|
Flex: () => Flex
|
|
32
32
|
});
|
|
33
33
|
module.exports = __toCommonJS(Flex_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_getFlexStyles = require("../../styles/getFlexStyles.js");
|
|
37
38
|
const Flex = /* @__PURE__ */ (0, import_react.forwardRef)(
|
|
38
39
|
(props, forwardedRef) => {
|
|
@@ -52,7 +53,7 @@ const Flex = /* @__PURE__ */ (0, import_react.forwardRef)(
|
|
|
52
53
|
{ gap: 8 }
|
|
53
54
|
);
|
|
54
55
|
const Component = as ?? "div";
|
|
55
|
-
return /* @__PURE__ */
|
|
56
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
56
57
|
Component,
|
|
57
58
|
{
|
|
58
59
|
ref: forwardedRef,
|
|
@@ -65,9 +66,9 @@ const Flex = /* @__PURE__ */ (0, import_react.forwardRef)(
|
|
|
65
66
|
...flexStyles,
|
|
66
67
|
...consumerStyle
|
|
67
68
|
},
|
|
68
|
-
...nonFlexStyleProps
|
|
69
|
-
|
|
70
|
-
|
|
69
|
+
...nonFlexStyleProps,
|
|
70
|
+
children
|
|
71
|
+
}
|
|
71
72
|
);
|
|
72
73
|
}
|
|
73
74
|
);
|
package/layouts/grid/Grid.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ElementType, ReactElement } from 'react';
|
|
1
|
+
import { type ElementType, type ReactElement } from 'react';
|
|
2
2
|
import { type DataTestId } from '../../core/types/data-props.js';
|
|
3
3
|
import { type MaskingProps } from '../../core/types/masking-props.js';
|
|
4
4
|
import { type PolymorphicComponentProps } from '../../core/types/polymorph.js';
|
package/layouts/grid/Grid.js
CHANGED
|
@@ -31,8 +31,9 @@ __export(Grid_exports, {
|
|
|
31
31
|
Grid: () => Grid
|
|
32
32
|
});
|
|
33
33
|
module.exports = __toCommonJS(Grid_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_getGridStyles = require("../../styles/getGridStyles.js");
|
|
37
38
|
const Grid = /* @__PURE__ */ (0, import_react.forwardRef)(
|
|
38
39
|
(props, forwardedRef) => {
|
|
@@ -52,7 +53,7 @@ const Grid = /* @__PURE__ */ (0, import_react.forwardRef)(
|
|
|
52
53
|
{ gap: 8 }
|
|
53
54
|
);
|
|
54
55
|
const Component = as ?? "div";
|
|
55
|
-
return /* @__PURE__ */
|
|
56
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
56
57
|
Component,
|
|
57
58
|
{
|
|
58
59
|
ref: forwardedRef,
|
|
@@ -65,9 +66,9 @@ const Grid = /* @__PURE__ */ (0, import_react.forwardRef)(
|
|
|
65
66
|
...gridStyles,
|
|
66
67
|
...consumerStyle
|
|
67
68
|
},
|
|
68
|
-
...nonGridStyleProps
|
|
69
|
-
|
|
70
|
-
|
|
69
|
+
...nonGridStyleProps,
|
|
70
|
+
children
|
|
71
|
+
}
|
|
71
72
|
);
|
|
72
73
|
}
|
|
73
74
|
);
|
|
@@ -1,86 +1,86 @@
|
|
|
1
|
-
._1qto6jt6-1-
|
|
2
|
-
--_1igzksy0-1-
|
|
1
|
+
._1qto6jt6-1-6-0 {
|
|
2
|
+
--_1igzksy0-1-6-0: var(--dt-borders-radius-surface-default, 16px);
|
|
3
3
|
color: var(--dt-colors-text-neutral-default, #2b2a58);
|
|
4
4
|
text-align: left;
|
|
5
5
|
border: none;
|
|
6
6
|
outline: none;
|
|
7
7
|
position: relative;
|
|
8
8
|
background-color: var(--dt-colors-background-surface-default, #fcfcfd);
|
|
9
|
-
border-radius: var(--_1igzksy0-1-
|
|
9
|
+
border-radius: var(--_1igzksy0-1-6-0);
|
|
10
10
|
}
|
|
11
|
-
._1qto6jt6-1-
|
|
11
|
+
._1qto6jt6-1-6-0::before, ._1qto6jt6-1-6-0::after {
|
|
12
12
|
content: "";
|
|
13
13
|
width: 100%;
|
|
14
14
|
height: 100%;
|
|
15
15
|
position: absolute;
|
|
16
16
|
left: 0;
|
|
17
17
|
top: 0;
|
|
18
|
-
border-radius: var(--_1igzksy0-1-
|
|
18
|
+
border-radius: var(--_1igzksy0-1-6-0);
|
|
19
19
|
pointer-events: none;
|
|
20
20
|
}
|
|
21
|
-
._1qto6jt6-1-
|
|
21
|
+
._1qto6jt6-1-6-0::after {
|
|
22
22
|
outline-offset: 2px;
|
|
23
|
-
outline: 2px solid var(--_17bwkb02-1-
|
|
24
|
-
opacity: var(--_1qto6jt4-1-
|
|
25
|
-
transition: var(--_1qto6jt5-1-
|
|
23
|
+
outline: 2px solid var(--_17bwkb02-1-6-0);
|
|
24
|
+
opacity: var(--_1qto6jt4-1-6-0);
|
|
25
|
+
transition: var(--_1qto6jt5-1-6-0);
|
|
26
26
|
}
|
|
27
|
-
._1qto6jt7-1-
|
|
28
|
-
--_1qto6jt4-1-
|
|
29
|
-
--_1qto6jt5-1-
|
|
27
|
+
._1qto6jt7-1-6-0 {
|
|
28
|
+
--_1qto6jt4-1-6-0: 1;
|
|
29
|
+
--_1qto6jt5-1-6-0: var(--dt-animations-fade-in-easing, cubic-bezier(0.5, 0, 1, 1)) var(--dt-animations-fade-in-duration-fast, 150ms);
|
|
30
30
|
}
|
|
31
|
-
._1qto6jt8-1-
|
|
32
|
-
--_1qto6jt4-1-
|
|
33
|
-
--_1qto6jt5-1-
|
|
31
|
+
._1qto6jt8-1-6-0 {
|
|
32
|
+
--_1qto6jt4-1-6-0: 0;
|
|
33
|
+
--_1qto6jt5-1-6-0: var(--dt-animations-fade-out-easing, cubic-bezier(0, 0, 0.2, 1)) var(--dt-animations-fade-out-duration-fast, 150ms);
|
|
34
34
|
}
|
|
35
|
-
._1qto6jt9-1-
|
|
36
|
-
--_1qto6jt1-1-
|
|
37
|
-
--_1qto6jt2-1-
|
|
38
|
-
--_1qto6jt3-1-
|
|
35
|
+
._1qto6jt9-1-6-0 {
|
|
36
|
+
--_1qto6jt1-1-6-0: 0;
|
|
37
|
+
--_1qto6jt2-1-6-0: pointer;
|
|
38
|
+
--_1qto6jt3-1-6-0: var(--dt-box-shadows-surface-flat-hover, 0px 0px 0px 1px #2d2e4e08, 0px 1px 2px #2d2e4e0d, 0px 4px 8px -2px #2d2e4e12);
|
|
39
39
|
width: 100%;
|
|
40
40
|
height: 100%;
|
|
41
41
|
position: absolute;
|
|
42
42
|
left: 0;
|
|
43
43
|
top: 0;
|
|
44
|
-
border-radius: var(--_1igzksy0-1-
|
|
44
|
+
border-radius: var(--_1igzksy0-1-6-0);
|
|
45
45
|
pointer-events: none;
|
|
46
46
|
}
|
|
47
|
-
._1qto6jt9-1-
|
|
47
|
+
._1qto6jt9-1-6-0::after,._1qto6jt9-1-6-0::before {
|
|
48
48
|
content: "";
|
|
49
49
|
width: 100%;
|
|
50
50
|
height: 100%;
|
|
51
51
|
position: absolute;
|
|
52
52
|
left: 0;
|
|
53
53
|
top: 0;
|
|
54
|
-
border-radius: var(--_1igzksy0-1-
|
|
54
|
+
border-radius: var(--_1igzksy0-1-6-0);
|
|
55
55
|
pointer-events: none;
|
|
56
56
|
transition: var(--dt-animations-fade-in-easing, cubic-bezier(0.5, 0, 1, 1)) var(--dt-animations-fade-in-duration-fast, 150ms);
|
|
57
57
|
}
|
|
58
|
-
._1qto6jt9-1-
|
|
59
|
-
box-shadow: var(--_1qto6jt0-1-
|
|
60
|
-
opacity: var(--_1qto6jt1-1-
|
|
58
|
+
._1qto6jt9-1-6-0::after {
|
|
59
|
+
box-shadow: var(--_1qto6jt0-1-6-0);
|
|
60
|
+
opacity: var(--_1qto6jt1-1-6-0);
|
|
61
61
|
}
|
|
62
|
-
._1qto6jt9-1-
|
|
63
|
-
box-shadow: var(--_1qto6jt3-1-
|
|
62
|
+
._1qto6jt9-1-6-0::before {
|
|
63
|
+
box-shadow: var(--_1qto6jt3-1-6-0);
|
|
64
64
|
opacity: 0;
|
|
65
65
|
}
|
|
66
|
-
._1qto6jta-1-
|
|
67
|
-
--_1qto6jt0-1-
|
|
68
|
-
--_1qto6jt3-1-
|
|
66
|
+
._1qto6jta-1-6-0 {
|
|
67
|
+
--_1qto6jt0-1-6-0: var(--dt-box-shadows-surface-flat-drag, 0px 0px 0px 1px #2d2e4e08, 0px 1px 2px #2d2e4e0d, 0px 7px 17px -2px #2d2e4e52);
|
|
68
|
+
--_1qto6jt3-1-6-0: var(--dt-box-shadows-surface-flat-hover, 0px 0px 0px 1px #2d2e4e08, 0px 1px 2px #2d2e4e0d, 0px 4px 8px -2px #2d2e4e12);
|
|
69
69
|
box-shadow: var(--dt-box-shadows-surface-flat-rest, none);
|
|
70
70
|
}
|
|
71
|
-
._1qto6jtb-1-
|
|
72
|
-
--_1qto6jt0-1-
|
|
73
|
-
--_1qto6jt3-1-
|
|
71
|
+
._1qto6jtb-1-6-0 {
|
|
72
|
+
--_1qto6jt0-1-6-0: var(--dt-box-shadows-surface-raised-drag, 0px 0px 0px 1px #2d2e4e08, 0px 1px 2px #2d2e4e0d, 0px 7px 17px -2px #2d2e4e52);
|
|
73
|
+
--_1qto6jt3-1-6-0: var(--dt-box-shadows-surface-raised-hover, 0px 0px 0px 1px #2d2e4e08, 0px 1px 2px #2d2e4e0d, 0px 5px 11px -2px #2d2e4e29);
|
|
74
74
|
box-shadow: var(--dt-box-shadows-surface-raised-rest, 0px 0px 0px 1px #2d2e4e08, 0px 1px 2px #2d2e4e0d, 0px 4px 8px -2px #2d2e4e12);
|
|
75
75
|
}
|
|
76
|
-
._1qto6jtc-1-
|
|
77
|
-
--_1qto6jt0-1-
|
|
78
|
-
--_1qto6jt3-1-
|
|
76
|
+
._1qto6jtc-1-6-0 {
|
|
77
|
+
--_1qto6jt0-1-6-0: var(--dt-box-shadows-surface-floating-drag, 0px 0px 0px 1px #2d2e4e08, 0px 1px 2px #2d2e4e0d, 0px 7px 17px -2px #2d2e4e52);
|
|
78
|
+
--_1qto6jt3-1-6-0: var(--dt-box-shadows-surface-floating-hover, 0px 0px 0px 1px #2d2e4e08, 0px 1px 2px #2d2e4e0d, 0px 6px 14px -2px #2d2e4e3d);
|
|
79
79
|
box-shadow: var(--dt-box-shadows-surface-floating-rest, 0px 0px 0px 1px #2d2e4e08, 0px 1px 2px #2d2e4e0d, 0px 5px 11px -2px #2d2e4e29);
|
|
80
80
|
}
|
|
81
|
-
._1qto6jtd-1-
|
|
82
|
-
--_1qto6jt1-1-
|
|
83
|
-
--_1qto6jt2-1-
|
|
81
|
+
._1qto6jtd-1-6-0 {
|
|
82
|
+
--_1qto6jt1-1-6-0: 1;
|
|
83
|
+
--_1qto6jt2-1-6-0: grab;
|
|
84
84
|
}
|
|
85
85
|
button.strato-surface:not(:disabled), a.strato-surface:not(:disabled) {
|
|
86
86
|
cursor: pointer;
|
|
@@ -31,8 +31,9 @@ __export(Surface_exports, {
|
|
|
31
31
|
Surface: () => Surface
|
|
32
32
|
});
|
|
33
33
|
module.exports = __toCommonJS(Surface_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 styles = __toESM(require("./Surface.sty.js"));
|
|
37
38
|
var import_useAriaLabelingProps = require("../../core/hooks/useAriaLabelingProps.js");
|
|
38
39
|
var import_useFocusRing = require("../../core/styles/useFocusRing.js");
|
|
@@ -76,7 +77,7 @@ const Surface = /* @__PURE__ */ (0, import_react.forwardRef)(
|
|
|
76
77
|
)
|
|
77
78
|
};
|
|
78
79
|
const Component = as ?? "div";
|
|
79
|
-
return /* @__PURE__ */
|
|
80
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
80
81
|
Component,
|
|
81
82
|
{
|
|
82
83
|
...surfaceMergedProps,
|
|
@@ -93,19 +94,21 @@ const Surface = /* @__PURE__ */ (0, import_react.forwardRef)(
|
|
|
93
94
|
(0, import_getSpacingSprinkles.getSpacingSprinkles)(remainingProps, { padding: 24 }),
|
|
94
95
|
(0, import_textStyle_css.textStyleCSS)({ textStyle: "base" })
|
|
95
96
|
),
|
|
96
|
-
style: { ...layoutSizeStyles, ...consumerStyle }
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
97
|
+
style: { ...layoutSizeStyles, ...consumerStyle },
|
|
98
|
+
children: [
|
|
99
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
100
|
+
"div",
|
|
101
|
+
{
|
|
102
|
+
className: (0, import_clsx.default)(
|
|
103
|
+
"surface-background",
|
|
104
|
+
styles.pseudoElement({ elevation, dragged })
|
|
105
|
+
),
|
|
106
|
+
"aria-hidden": true
|
|
107
|
+
}
|
|
104
108
|
),
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
children
|
|
109
|
+
children
|
|
110
|
+
]
|
|
111
|
+
}
|
|
109
112
|
);
|
|
110
113
|
}
|
|
111
114
|
);
|
|
@@ -25,5 +25,5 @@ module.exports = __toCommonJS(Surface_css_exports);
|
|
|
25
25
|
var import_colorUtils_css_ts_vanilla = require("../../styles/colorUtils.css");
|
|
26
26
|
var import_Surface_css_ts_vanilla = require("./Surface.css");
|
|
27
27
|
var import_createRuntimeFn = require("@vanilla-extract/recipes/createRuntimeFn");
|
|
28
|
-
var pseudoElement = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_1qto6jt9-1-
|
|
29
|
-
var surface = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_1qto6jt6-1-
|
|
28
|
+
var pseudoElement = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_1qto6jt9-1-6-0", variantClassNames: { elevation: { flat: "_1qto6jta-1-6-0", raised: "_1qto6jtb-1-6-0", floating: "_1qto6jtc-1-6-0" }, dragged: { true: "_1qto6jtd-1-6-0" } }, defaultVariants: {}, compoundVariants: [] });
|
|
29
|
+
var surface = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_1qto6jt6-1-6-0", variantClassNames: { selected: { true: "_1qto6jt7-1-6-0", false: "_1qto6jt8-1-6-0" } }, defaultVariants: {}, compoundVariants: [] });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynatrace/strato-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"lang": "lang/uncompiled",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"react-intl": "^6.0.8 || ^7.0.0",
|
|
86
86
|
"react-is": "^18.0.0",
|
|
87
87
|
"@dynatrace/strato-design-tokens": "^1.0.1",
|
|
88
|
-
"@dynatrace/strato-icons": "^1.
|
|
88
|
+
"@dynatrace/strato-icons": "^1.5.0"
|
|
89
89
|
},
|
|
90
90
|
"sideEffects": [
|
|
91
91
|
"./core/components/app-root/AppRoot.css",
|
package/styles/colorUtils.css
CHANGED
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
._17bwkb04-1-
|
|
2
|
-
--_17bwkb00-1-
|
|
3
|
-
--_17bwkb01-1-
|
|
4
|
-
--_17bwkb02-1-
|
|
1
|
+
._17bwkb04-1-6-0 {
|
|
2
|
+
--_17bwkb00-1-6-0: var(--dt-colors-text-critical-default, #b80031);
|
|
3
|
+
--_17bwkb01-1-6-0: var(--dt-colors-icon-critical-default, #b80031);
|
|
4
|
+
--_17bwkb02-1-6-0: var(--dt-colors-border-critical-default, #f1cdcf);
|
|
5
5
|
}
|
|
6
|
-
._17bwkb05-1-
|
|
7
|
-
--_17bwkb00-1-
|
|
8
|
-
--_17bwkb01-1-
|
|
9
|
-
--_17bwkb02-1-
|
|
6
|
+
._17bwkb05-1-6-0 {
|
|
7
|
+
--_17bwkb00-1-6-0: var(--dt-colors-text-neutral-default, #2b2a58);
|
|
8
|
+
--_17bwkb01-1-6-0: var(--dt-colors-icon-neutral-default, #2b2a58);
|
|
9
|
+
--_17bwkb02-1-6-0: var(--dt-colors-border-neutral-default, #d2d3e1);
|
|
10
10
|
}
|
|
11
|
-
._17bwkb06-1-
|
|
12
|
-
--_17bwkb00-1-
|
|
13
|
-
--_17bwkb01-1-
|
|
14
|
-
--_17bwkb02-1-
|
|
11
|
+
._17bwkb06-1-6-0 {
|
|
12
|
+
--_17bwkb00-1-6-0: var(--dt-colors-text-primary-default, #454cc9);
|
|
13
|
+
--_17bwkb01-1-6-0: var(--dt-colors-icon-primary-default, #454cc9);
|
|
14
|
+
--_17bwkb02-1-6-0: var(--dt-colors-border-primary-default, #ccd3f3);
|
|
15
15
|
}
|
|
16
|
-
._17bwkb07-1-
|
|
17
|
-
--_17bwkb00-1-
|
|
18
|
-
--_17bwkb01-1-
|
|
19
|
-
--_17bwkb02-1-
|
|
16
|
+
._17bwkb07-1-6-0 {
|
|
17
|
+
--_17bwkb00-1-6-0: var(--dt-colors-text-success-default, #2c6360);
|
|
18
|
+
--_17bwkb01-1-6-0: var(--dt-colors-icon-success-default, #2c6360);
|
|
19
|
+
--_17bwkb02-1-6-0: var(--dt-colors-border-success-default, #cad6d7);
|
|
20
20
|
}
|
|
21
|
-
._17bwkb08-1-
|
|
22
|
-
--_17bwkb00-1-
|
|
23
|
-
--_17bwkb01-1-
|
|
24
|
-
--_17bwkb02-1-
|
|
21
|
+
._17bwkb08-1-6-0 {
|
|
22
|
+
--_17bwkb00-1-6-0: var(--dt-colors-text-warning-default, #805100);
|
|
23
|
+
--_17bwkb01-1-6-0: var(--dt-colors-icon-warning-default, #805100);
|
|
24
|
+
--_17bwkb02-1-6-0: var(--dt-colors-border-warning-default, #f4e5d5);
|
|
25
25
|
}
|
|
26
|
-
._17bwkb0d-1-
|
|
27
|
-
--_17bwkb00-1-
|
|
28
|
-
--_17bwkb01-1-
|
|
29
|
-
--_17bwkb02-1-
|
|
26
|
+
._17bwkb0d-1-6-0 {
|
|
27
|
+
--_17bwkb00-1-6-0: var(--dt-colors-text-primary-on-accent-default, #f4f4fb);
|
|
28
|
+
--_17bwkb01-1-6-0: var(--dt-colors-icon-primary-on-accent-default, #f4f4fb);
|
|
29
|
+
--_17bwkb02-1-6-0: var(--dt-colors-border-primary-accent, #454cc9);
|
|
30
30
|
}
|
|
31
|
-
._17bwkb0e-1-
|
|
32
|
-
--_17bwkb00-1-
|
|
33
|
-
--_17bwkb01-1-
|
|
34
|
-
--_17bwkb02-1-
|
|
31
|
+
._17bwkb0e-1-6-0 {
|
|
32
|
+
--_17bwkb00-1-6-0: var(--dt-colors-text-success-on-accent-default, #f1f4f4);
|
|
33
|
+
--_17bwkb01-1-6-0: var(--dt-colors-icon-success-on-accent-default, #f1f4f4);
|
|
34
|
+
--_17bwkb02-1-6-0: var(--dt-colors-border-success-accent, #2c6360);
|
|
35
35
|
}
|
|
36
|
-
._17bwkb0f-1-
|
|
37
|
-
--_17bwkb00-1-
|
|
38
|
-
--_17bwkb01-1-
|
|
39
|
-
--_17bwkb02-1-
|
|
36
|
+
._17bwkb0f-1-6-0 {
|
|
37
|
+
--_17bwkb00-1-6-0: var(--dt-colors-text-warning-on-accent-default, #272025);
|
|
38
|
+
--_17bwkb01-1-6-0: var(--dt-colors-icon-warning-on-accent-default, #272025);
|
|
39
|
+
--_17bwkb02-1-6-0: var(--dt-colors-border-warning-accent, #805100);
|
|
40
40
|
}
|
|
41
|
-
._17bwkb0g-1-
|
|
42
|
-
--_17bwkb00-1-
|
|
43
|
-
--_17bwkb01-1-
|
|
44
|
-
--_17bwkb02-1-
|
|
41
|
+
._17bwkb0g-1-6-0 {
|
|
42
|
+
--_17bwkb00-1-6-0: var(--dt-colors-text-critical-on-accent-default, #f9f1f3);
|
|
43
|
+
--_17bwkb01-1-6-0: var(--dt-colors-icon-critical-on-accent-default, #f9f1f3);
|
|
44
|
+
--_17bwkb02-1-6-0: var(--dt-colors-border-critical-accent, #b80031);
|
|
45
45
|
}
|
|
46
|
-
._17bwkb0h-1-
|
|
47
|
-
--_17bwkb00-1-
|
|
48
|
-
--_17bwkb01-1-
|
|
49
|
-
--_17bwkb02-1-
|
|
46
|
+
._17bwkb0h-1-6-0 {
|
|
47
|
+
--_17bwkb00-1-6-0: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
|
|
48
|
+
--_17bwkb01-1-6-0: var(--dt-colors-icon-neutral-on-accent-default, #f3f3f6);
|
|
49
|
+
--_17bwkb02-1-6-0: var(--dt-colors-border-neutral-accent, #545587);
|
|
50
50
|
}
|
|
51
|
-
._17bwkb0i-1-
|
|
52
|
-
--_17bwkb00-1-
|
|
53
|
-
--_17bwkb01-1-
|
|
54
|
-
--_17bwkb02-1-
|
|
51
|
+
._17bwkb0i-1-6-0 {
|
|
52
|
+
--_17bwkb00-1-6-0: var(--dt-colors-text-primary-disabled, #54558780);
|
|
53
|
+
--_17bwkb01-1-6-0: var(--dt-colors-icon-primary-disabled, #54558780);
|
|
54
|
+
--_17bwkb02-1-6-0: var(--dt-colors-border-primary-disabled, #d2d3e180);
|
|
55
55
|
}
|
|
56
|
-
._17bwkb0j-1-
|
|
57
|
-
--_17bwkb00-1-
|
|
58
|
-
--_17bwkb01-1-
|
|
59
|
-
--_17bwkb02-1-
|
|
56
|
+
._17bwkb0j-1-6-0 {
|
|
57
|
+
--_17bwkb00-1-6-0: var(--dt-colors-text-success-disabled, #54558780);
|
|
58
|
+
--_17bwkb01-1-6-0: var(--dt-colors-icon-success-disabled, #54558780);
|
|
59
|
+
--_17bwkb02-1-6-0: var(--dt-colors-border-success-disabled, #d2d3e180);
|
|
60
60
|
}
|
|
61
|
-
._17bwkb0k-1-
|
|
62
|
-
--_17bwkb00-1-
|
|
63
|
-
--_17bwkb01-1-
|
|
64
|
-
--_17bwkb02-1-
|
|
61
|
+
._17bwkb0k-1-6-0 {
|
|
62
|
+
--_17bwkb00-1-6-0: var(--dt-colors-text-warning-disabled, #54558780);
|
|
63
|
+
--_17bwkb01-1-6-0: var(--dt-colors-icon-warning-disabled, #54558780);
|
|
64
|
+
--_17bwkb02-1-6-0: var(--dt-colors-border-warning-disabled, #d2d3e180);
|
|
65
65
|
}
|
|
66
|
-
._17bwkb0l-1-
|
|
67
|
-
--_17bwkb00-1-
|
|
68
|
-
--_17bwkb01-1-
|
|
69
|
-
--_17bwkb02-1-
|
|
66
|
+
._17bwkb0l-1-6-0 {
|
|
67
|
+
--_17bwkb00-1-6-0: var(--dt-colors-text-critical-disabled, #54558780);
|
|
68
|
+
--_17bwkb01-1-6-0: var(--dt-colors-icon-critical-disabled, #54558780);
|
|
69
|
+
--_17bwkb02-1-6-0: var(--dt-colors-border-critical-disabled, #d2d3e180);
|
|
70
70
|
}
|
|
71
|
-
._17bwkb0m-1-
|
|
72
|
-
--_17bwkb00-1-
|
|
73
|
-
--_17bwkb01-1-
|
|
74
|
-
--_17bwkb02-1-
|
|
71
|
+
._17bwkb0m-1-6-0 {
|
|
72
|
+
--_17bwkb00-1-6-0: var(--dt-colors-text-neutral-disabled, #54558780);
|
|
73
|
+
--_17bwkb01-1-6-0: var(--dt-colors-icon-neutral-disabled, #54558780);
|
|
74
|
+
--_17bwkb02-1-6-0: var(--dt-colors-border-neutral-disabled, #d2d3e180);
|
|
75
75
|
}
|
package/styles/colorUtils.sty.js
CHANGED
|
@@ -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: "_17bwkb03-1-
|
|
28
|
-
var colorUtilsVars = { text: "var(--_17bwkb00-1-
|
|
27
|
+
var colorUtilsCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_17bwkb03-1-6-0", variantClassNames: { color: { critical: "_17bwkb04-1-6-0", neutral: "_17bwkb05-1-6-0", primary: "_17bwkb06-1-6-0", success: "_17bwkb07-1-6-0", warning: "_17bwkb08-1-6-0" }, variant: { "default": "_17bwkb09-1-6-0", accent: "_17bwkb0a-1-6-0" }, disabled: { true: "_17bwkb0b-1-6-0", false: "_17bwkb0c-1-6-0" } }, defaultVariants: {}, compoundVariants: [[{ color: "primary", variant: "accent" }, "_17bwkb0d-1-6-0"], [{ color: "success", variant: "accent" }, "_17bwkb0e-1-6-0"], [{ color: "warning", variant: "accent" }, "_17bwkb0f-1-6-0"], [{ color: "critical", variant: "accent" }, "_17bwkb0g-1-6-0"], [{ color: "neutral", variant: "accent" }, "_17bwkb0h-1-6-0"], [{ color: "primary", disabled: true }, "_17bwkb0i-1-6-0"], [{ color: "success", disabled: true }, "_17bwkb0j-1-6-0"], [{ color: "warning", disabled: true }, "_17bwkb0k-1-6-0"], [{ color: "critical", disabled: true }, "_17bwkb0l-1-6-0"], [{ color: "neutral", disabled: true }, "_17bwkb0m-1-6-0"]] });
|
|
28
|
+
var colorUtilsVars = { text: "var(--_17bwkb00-1-6-0)", icon: "var(--_17bwkb01-1-6-0)", borderColor: "var(--_17bwkb02-1-6-0)" };
|
package/styles/container.css
CHANGED
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
._6levse4-1-
|
|
2
|
-
--_6levse0-1-
|
|
3
|
-
--_6levse1-1-
|
|
4
|
-
--_6levse2-1-
|
|
1
|
+
._6levse4-1-6-0 {
|
|
2
|
+
--_6levse0-1-6-0: var(--dt-colors-text-critical-default, #b80031);
|
|
3
|
+
--_6levse1-1-6-0: var(--dt-colors-background-container-critical-default, #f3eaed);
|
|
4
|
+
--_6levse2-1-6-0: var(--dt-colors-border-critical-default, #f1cdcf);
|
|
5
5
|
}
|
|
6
|
-
._6levse5-1-
|
|
7
|
-
--_6levse0-1-
|
|
8
|
-
--_6levse1-1-
|
|
9
|
-
--_6levse2-1-
|
|
6
|
+
._6levse5-1-6-0 {
|
|
7
|
+
--_6levse0-1-6-0: var(--dt-colors-text-neutral-default, #2b2a58);
|
|
8
|
+
--_6levse1-1-6-0: var(--dt-colors-background-container-neutral-default, #ebebf2);
|
|
9
|
+
--_6levse2-1-6-0: var(--dt-colors-border-neutral-default, #d2d3e1);
|
|
10
10
|
}
|
|
11
|
-
._6levse6-1-
|
|
12
|
-
--_6levse0-1-
|
|
13
|
-
--_6levse1-1-
|
|
14
|
-
--_6levse2-1-
|
|
11
|
+
._6levse6-1-6-0 {
|
|
12
|
+
--_6levse0-1-6-0: var(--dt-colors-text-primary-default, #454cc9);
|
|
13
|
+
--_6levse1-1-6-0: var(--dt-colors-background-container-primary-default, #e9ebf6);
|
|
14
|
+
--_6levse2-1-6-0: var(--dt-colors-border-primary-default, #ccd3f3);
|
|
15
15
|
}
|
|
16
|
-
._6levse7-1-
|
|
17
|
-
--_6levse0-1-
|
|
18
|
-
--_6levse1-1-
|
|
19
|
-
--_6levse2-1-
|
|
16
|
+
._6levse7-1-6-0 {
|
|
17
|
+
--_6levse0-1-6-0: var(--dt-colors-text-success-default, #2c6360);
|
|
18
|
+
--_6levse1-1-6-0: var(--dt-colors-background-container-success-default, #e9ecef);
|
|
19
|
+
--_6levse2-1-6-0: var(--dt-colors-border-success-default, #cad6d7);
|
|
20
20
|
}
|
|
21
|
-
._6levse8-1-
|
|
22
|
-
--_6levse0-1-
|
|
23
|
-
--_6levse1-1-
|
|
24
|
-
--_6levse2-1-
|
|
21
|
+
._6levse8-1-6-0 {
|
|
22
|
+
--_6levse0-1-6-0: var(--dt-colors-text-warning-default, #805100);
|
|
23
|
+
--_6levse1-1-6-0: var(--dt-colors-background-container-warning-default, #f3efef);
|
|
24
|
+
--_6levse2-1-6-0: var(--dt-colors-border-warning-default, #f4e5d5);
|
|
25
25
|
}
|
|
26
|
-
._6levse9-1-
|
|
27
|
-
--_6levse1-1-
|
|
26
|
+
._6levse9-1-6-0 {
|
|
27
|
+
--_6levse1-1-6-0: transparent;
|
|
28
28
|
background-color: unset;
|
|
29
29
|
}
|
|
30
|
-
._6levsed-1-
|
|
31
|
-
--_6levse0-1-
|
|
32
|
-
--_6levse1-1-
|
|
30
|
+
._6levsed-1-6-0 {
|
|
31
|
+
--_6levse0-1-6-0: var(--dt-colors-text-primary-on-accent-default, #f4f4fb);
|
|
32
|
+
--_6levse1-1-6-0: var(--dt-colors-background-container-primary-accent, #474ecf);
|
|
33
33
|
}
|
|
34
|
-
._6levsee-1-
|
|
35
|
-
--_6levse0-1-
|
|
36
|
-
--_6levse1-1-
|
|
34
|
+
._6levsee-1-6-0 {
|
|
35
|
+
--_6levse0-1-6-0: var(--dt-colors-text-success-on-accent-default, #f1f4f4);
|
|
36
|
+
--_6levse1-1-6-0: var(--dt-colors-background-container-success-accent, #2f6863);
|
|
37
37
|
}
|
|
38
|
-
._6levsef-1-
|
|
39
|
-
--_6levse0-1-
|
|
40
|
-
--_6levse1-1-
|
|
38
|
+
._6levsef-1-6-0 {
|
|
39
|
+
--_6levse0-1-6-0: var(--dt-colors-text-warning-on-accent-default, #272025);
|
|
40
|
+
--_6levse1-1-6-0: var(--dt-colors-background-container-warning-accent, #eca440);
|
|
41
41
|
}
|
|
42
|
-
._6levseg-1-
|
|
43
|
-
--_6levse0-1-
|
|
44
|
-
--_6levse1-1-
|
|
42
|
+
._6levseg-1-6-0 {
|
|
43
|
+
--_6levse0-1-6-0: var(--dt-colors-text-critical-on-accent-default, #f9f1f3);
|
|
44
|
+
--_6levse1-1-6-0: var(--dt-colors-background-container-critical-accent, #c4233b);
|
|
45
45
|
}
|
|
46
|
-
._6levseh-1-
|
|
47
|
-
--_6levse0-1-
|
|
48
|
-
--_6levse1-1-
|
|
46
|
+
._6levseh-1-6-0 {
|
|
47
|
+
--_6levse0-1-6-0: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
|
|
48
|
+
--_6levse1-1-6-0: var(--dt-colors-background-container-neutral-accent, #5a5b8c);
|
|
49
49
|
}
|
|
50
|
-
._6levsei-1-
|
|
51
|
-
--_6levse1-1-
|
|
50
|
+
._6levsei-1-6-0 {
|
|
51
|
+
--_6levse1-1-6-0: var(--dt-colors-background-container-primary-emphasized, #dfe3f5);
|
|
52
52
|
}
|
|
53
|
-
._6levsej-1-
|
|
54
|
-
--_6levse1-1-
|
|
53
|
+
._6levsej-1-6-0 {
|
|
54
|
+
--_6levse1-1-6-0: var(--dt-colors-background-container-success-emphasized, #dfe4e7);
|
|
55
55
|
}
|
|
56
|
-
._6levsek-1-
|
|
57
|
-
--_6levse1-1-
|
|
56
|
+
._6levsek-1-6-0 {
|
|
57
|
+
--_6levse1-1-6-0: var(--dt-colors-background-container-warning-emphasized, #f4ece6);
|
|
58
58
|
}
|
|
59
|
-
._6levsel-1-
|
|
60
|
-
--_6levse1-1-
|
|
59
|
+
._6levsel-1-6-0 {
|
|
60
|
+
--_6levse1-1-6-0: var(--dt-colors-background-container-critical-emphasized, #f3e0e3);
|
|
61
61
|
}
|
|
62
|
-
._6levsem-1-
|
|
63
|
-
--_6levse1-1-
|
|
62
|
+
._6levsem-1-6-0 {
|
|
63
|
+
--_6levse1-1-6-0: var(--dt-colors-background-container-neutral-emphasized, #e2e3ec);
|
|
64
64
|
}
|
package/styles/container.sty.js
CHANGED
|
@@ -24,5 +24,5 @@ __export(container_css_exports, {
|
|
|
24
24
|
module.exports = __toCommonJS(container_css_exports);
|
|
25
25
|
var import_container_css_ts_vanilla = require("./container.css");
|
|
26
26
|
var import_createRuntimeFn = require("@vanilla-extract/recipes/createRuntimeFn");
|
|
27
|
-
var containerColorVars = { text: "var(--_6levse0-1-
|
|
28
|
-
var containerColorsCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_6levse3-1-
|
|
27
|
+
var containerColorVars = { text: "var(--_6levse0-1-6-0)", background: "var(--_6levse1-1-6-0)", borderColor: "var(--_6levse2-1-6-0)" };
|
|
28
|
+
var containerColorsCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "_6levse3-1-6-0", variantClassNames: { color: { critical: "_6levse4-1-6-0", neutral: "_6levse5-1-6-0", primary: "_6levse6-1-6-0", success: "_6levse7-1-6-0", warning: "_6levse8-1-6-0" }, variant: { minimal: "_6levse9-1-6-0", "default": "_6levsea-1-6-0", emphasized: "_6levseb-1-6-0", accent: "_6levsec-1-6-0" } }, defaultVariants: {}, compoundVariants: [[{ color: "primary", variant: "accent" }, "_6levsed-1-6-0"], [{ color: "success", variant: "accent" }, "_6levsee-1-6-0"], [{ color: "warning", variant: "accent" }, "_6levsef-1-6-0"], [{ color: "critical", variant: "accent" }, "_6levseg-1-6-0"], [{ color: "neutral", variant: "accent" }, "_6levseh-1-6-0"], [{ color: "primary", variant: "emphasized" }, "_6levsei-1-6-0"], [{ color: "success", variant: "emphasized" }, "_6levsej-1-6-0"], [{ color: "warning", variant: "emphasized" }, "_6levsek-1-6-0"], [{ color: "critical", variant: "emphasized" }, "_6levsel-1-6-0"], [{ color: "neutral", variant: "emphasized" }, "_6levsem-1-6-0"]] });
|