@dynatrace/strato-components 1.14.0 → 1.15.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.js +10 -10
- package/buttons/button/Button.sty.d.ts +4 -4
- package/buttons/button/Button.sty.js +8 -8
- package/buttons/button/Label.js +1 -1
- package/content/progress/ProgressBar.css +71 -71
- package/content/progress/ProgressBar.sty.js +5 -5
- package/content/progress/ProgressBarIcon.css +2 -2
- package/content/progress/ProgressBarIcon.sty.js +1 -1
- package/content/progress/ProgressBarLabel.css +3 -3
- package/content/progress/ProgressBarLabel.js +3 -3
- package/content/progress/ProgressBarLabel.sty.d.ts +1 -1
- package/content/progress/ProgressBarLabel.sty.js +2 -2
- package/content/progress/ProgressBarValue.css +5 -5
- package/content/progress/ProgressBarValue.js +2 -2
- package/content/progress/ProgressBarValue.sty.d.ts +1 -1
- package/content/progress/ProgressBarValue.sty.js +2 -2
- package/content/progress/ProgressCircle.css +40 -40
- package/content/progress/ProgressCircle.js +1 -1
- package/content/progress/ProgressCircle.sty.js +5 -5
- package/content/skeleton/Skeleton.css +7 -7
- package/content/skeleton/Skeleton.sty.js +5 -5
- package/core/styles/focusRing.css +66 -66
- package/core/styles/focusRing.sty.js +2 -2
- package/core/utils/colorUtils.css +60 -60
- package/core/utils/colorUtils.sty.js +2 -2
- package/core/utils/is-node-environment.d.ts +15 -0
- package/core/utils/is-node-environment.js +34 -0
- package/core/utils/logging.d.ts +8 -0
- package/core/utils/logging.js +33 -0
- package/esm/buttons/button/Button.css +16 -16
- package/esm/buttons/button/Button.js +11 -11
- package/esm/buttons/button/Button.js.map +2 -2
- package/esm/buttons/button/Button.sty.js +8 -8
- package/esm/buttons/button/Button.sty.js.map +2 -2
- package/esm/buttons/button/Label.js +2 -2
- package/esm/buttons/button/Label.js.map +2 -2
- package/esm/content/progress/ProgressBar.css +71 -71
- package/esm/content/progress/ProgressBar.sty.js +5 -5
- package/esm/content/progress/ProgressBar.sty.js.map +1 -1
- package/esm/content/progress/ProgressBarIcon.css +2 -2
- package/esm/content/progress/ProgressBarIcon.sty.js +1 -1
- package/esm/content/progress/ProgressBarIcon.sty.js.map +1 -1
- package/esm/content/progress/ProgressBarLabel.css +3 -3
- package/esm/content/progress/ProgressBarLabel.js +6 -6
- package/esm/content/progress/ProgressBarLabel.js.map +2 -2
- package/esm/content/progress/ProgressBarLabel.sty.js +2 -2
- package/esm/content/progress/ProgressBarLabel.sty.js.map +2 -2
- package/esm/content/progress/ProgressBarValue.css +5 -5
- package/esm/content/progress/ProgressBarValue.js +4 -4
- package/esm/content/progress/ProgressBarValue.js.map +2 -2
- package/esm/content/progress/ProgressBarValue.sty.js +2 -2
- package/esm/content/progress/ProgressBarValue.sty.js.map +2 -2
- package/esm/content/progress/ProgressCircle.css +40 -40
- package/esm/content/progress/ProgressCircle.js +2 -2
- 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/skeleton/Skeleton.css +7 -7
- package/esm/content/skeleton/Skeleton.sty.js +5 -5
- package/esm/content/skeleton/Skeleton.sty.js.map +1 -1
- package/esm/core/hooks/useId.js.map +2 -2
- package/esm/core/styles/focusRing.css +66 -66
- package/esm/core/styles/focusRing.sty.js +2 -2
- package/esm/core/styles/focusRing.sty.js.map +1 -1
- package/esm/core/utils/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/is-node-environment.js +15 -0
- package/esm/core/utils/is-node-environment.js.map +7 -0
- package/esm/core/utils/logging.js +14 -0
- package/esm/core/utils/logging.js.map +7 -0
- package/esm/layouts/container/Container.css +4 -4
- package/esm/layouts/container/Container.sty.js +1 -1
- package/esm/layouts/container/Container.sty.js.map +1 -1
- package/esm/layouts/divider/Divider.css +6 -6
- package/esm/layouts/divider/Divider.sty.js +1 -1
- package/esm/layouts/divider/Divider.sty.js.map +1 -1
- package/esm/layouts/surface/Surface.css +39 -39
- package/esm/layouts/surface/Surface.js +4 -4
- 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 +3 -3
- package/esm/styles/colorUtils.sty.js.map +2 -2
- 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 +2 -2
- package/esm/styles/ellipsis.sty.js.map +2 -2
- package/esm/styles/field.css +153 -153
- package/esm/styles/field.sty.js +3 -3
- package/esm/styles/field.sty.js.map +2 -2
- package/esm/styles/index.js +2 -2
- package/esm/styles/index.js.map +2 -2
- 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 +2 -2
- package/esm/styles/textStyle.sty.js.map +2 -2
- package/esm/typography/block-quote/Blockquote.css +2 -2
- package/esm/typography/block-quote/Blockquote.sty.js +1 -1
- package/esm/typography/block-quote/Blockquote.sty.js.map +1 -1
- package/esm/typography/code/Code.css +1 -1
- package/esm/typography/code/Code.sty.js +1 -1
- package/esm/typography/code/Code.sty.js.map +1 -1
- package/esm/typography/emphasis/Emphasis.css +1 -1
- package/esm/typography/emphasis/Emphasis.sty.js +1 -1
- package/esm/typography/emphasis/Emphasis.sty.js.map +1 -1
- package/esm/typography/external-link/ExternalLink.css +5 -5
- package/esm/typography/external-link/ExternalLink.sty.js +1 -1
- package/esm/typography/external-link/ExternalLink.sty.js.map +1 -1
- package/esm/typography/heading/Heading.css +7 -7
- package/esm/typography/heading/Heading.sty.js +1 -1
- package/esm/typography/heading/Heading.sty.js.map +1 -1
- package/esm/typography/highlight/Highlight.css +5 -6
- package/esm/typography/highlight/Highlight.js +45 -138
- package/esm/typography/highlight/Highlight.js.map +3 -3
- package/esm/typography/highlight/Highlight.sty.js +2 -4
- package/esm/typography/highlight/Highlight.sty.js.map +2 -2
- package/esm/typography/highlight/utils/create-ranged-highlights.js +51 -0
- package/esm/typography/highlight/utils/create-ranged-highlights.js.map +7 -0
- package/esm/typography/highlight/utils/get-or-create-shared-highlight.js +25 -0
- package/esm/typography/highlight/utils/get-or-create-shared-highlight.js.map +7 -0
- package/esm/typography/link/Link.css +3 -3
- package/esm/typography/link/Link.sty.js +1 -1
- package/esm/typography/link/Link.sty.js.map +1 -1
- package/esm/typography/list/List.css +4 -4
- package/esm/typography/list/List.sty.js +2 -2
- package/esm/typography/list/List.sty.js.map +1 -1
- package/esm/typography/paragraph/Paragraph.css +3 -3
- package/esm/typography/paragraph/Paragraph.js +3 -7
- package/esm/typography/paragraph/Paragraph.js.map +2 -2
- package/esm/typography/paragraph/Paragraph.sty.js +2 -2
- package/esm/typography/paragraph/Paragraph.sty.js.map +2 -2
- package/esm/typography/strikethrough/Strikethrough.css +1 -1
- package/esm/typography/strikethrough/Strikethrough.sty.js +1 -1
- package/esm/typography/strikethrough/Strikethrough.sty.js.map +1 -1
- package/esm/typography/strong/Strong.css +1 -1
- package/esm/typography/strong/Strong.sty.js +1 -1
- package/esm/typography/strong/Strong.sty.js.map +1 -1
- package/esm/typography/text/Text.css +3 -3
- package/esm/typography/text/Text.js +5 -5
- package/esm/typography/text/Text.js.map +2 -2
- package/esm/typography/text/Text.sty.js +2 -2
- package/esm/typography/text/Text.sty.js.map +2 -2
- package/esm/typography/text-ellipsis/TextEllipsis.css +6 -6
- package/esm/typography/text-ellipsis/TextEllipsis.sty.js +2 -2
- package/esm/typography/text-ellipsis/TextEllipsis.sty.js.map +1 -1
- package/layouts/container/Container.css +4 -4
- package/layouts/container/Container.sty.js +1 -1
- package/layouts/divider/Divider.css +6 -6
- package/layouts/divider/Divider.sty.js +1 -1
- package/layouts/surface/Surface.css +39 -39
- package/layouts/surface/Surface.js +2 -2
- package/layouts/surface/Surface.sty.js +2 -2
- package/layouts/surface/variables.sty.js +1 -1
- package/package.json +3 -3
- package/styles/colorUtils.css +60 -60
- package/styles/colorUtils.sty.d.ts +1 -1
- package/styles/colorUtils.sty.js +3 -3
- package/styles/container.css +47 -47
- package/styles/container.sty.js +2 -2
- package/styles/ellipsis.css +1 -1
- package/styles/ellipsis.sty.d.ts +1 -1
- package/styles/ellipsis.sty.js +2 -2
- package/styles/field.css +153 -153
- package/styles/field.sty.d.ts +1 -1
- package/styles/field.sty.js +3 -3
- package/styles/index.d.ts +1 -1
- package/styles/index.js +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.d.ts +1 -1
- package/styles/textStyle.sty.js +2 -2
- package/typography/block-quote/Blockquote.css +2 -2
- package/typography/block-quote/Blockquote.sty.js +1 -1
- package/typography/code/Code.css +1 -1
- package/typography/code/Code.sty.js +1 -1
- package/typography/emphasis/Emphasis.css +1 -1
- package/typography/emphasis/Emphasis.sty.js +1 -1
- package/typography/external-link/ExternalLink.css +5 -5
- package/typography/external-link/ExternalLink.sty.js +1 -1
- package/typography/heading/Heading.css +7 -7
- package/typography/heading/Heading.sty.js +1 -1
- package/typography/highlight/Highlight.css +5 -6
- package/typography/highlight/Highlight.d.ts +1 -1
- package/typography/highlight/Highlight.js +43 -127
- package/typography/highlight/Highlight.sty.d.ts +1 -2
- package/typography/highlight/Highlight.sty.js +2 -4
- package/typography/highlight/utils/create-ranged-highlights.d.ts +10 -0
- package/typography/highlight/utils/create-ranged-highlights.js +70 -0
- package/typography/highlight/utils/get-or-create-shared-highlight.d.ts +7 -0
- package/typography/highlight/utils/get-or-create-shared-highlight.js +44 -0
- package/typography/link/Link.css +3 -3
- package/typography/link/Link.sty.js +1 -1
- package/typography/list/List.css +4 -4
- package/typography/list/List.sty.js +2 -2
- package/typography/paragraph/Paragraph.css +3 -3
- package/typography/paragraph/Paragraph.js +1 -5
- package/typography/paragraph/Paragraph.sty.d.ts +1 -1
- package/typography/paragraph/Paragraph.sty.js +2 -2
- package/typography/strikethrough/Strikethrough.css +1 -1
- package/typography/strikethrough/Strikethrough.sty.js +1 -1
- package/typography/strong/Strong.css +1 -1
- package/typography/strong/Strong.sty.js +1 -1
- package/typography/text/Text.css +3 -3
- package/typography/text/Text.js +3 -3
- package/typography/text/Text.sty.d.ts +1 -1
- package/typography/text/Text.sty.js +2 -2
- package/typography/text-ellipsis/TextEllipsis.css +6 -6
- package/typography/text-ellipsis/TextEllipsis.sty.js +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./focusRing.css";
|
|
2
2
|
import { createRuntimeFn as _7a468 } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
3
|
-
var focusRingCSS = _7a468({ defaultClassName: "_z2r50s3-1-
|
|
4
|
-
var focusRingFocusWithinCSS = _7a468({ defaultClassName: "_z2r50sb-1-
|
|
3
|
+
var focusRingCSS = _7a468({ defaultClassName: "_z2r50s3-1-15-0", variantClassNames: { minimal: { true: "_z2r50s4-1-15-0", false: "_z2r50s5-1-15-0" }, variant: { neutral: "_z2r50s6-1-15-0", primary: "_z2r50s7-1-15-0", success: "_z2r50s8-1-15-0", warning: "_z2r50s9-1-15-0", critical: "_z2r50sa-1-15-0" } }, defaultVariants: {}, compoundVariants: [] });
|
|
4
|
+
var focusRingFocusWithinCSS = _7a468({ defaultClassName: "_z2r50sb-1-15-0", variantClassNames: { minimal: { true: "_z2r50sc-1-15-0", false: "_z2r50sd-1-15-0" }, variant: { neutral: "_z2r50se-1-15-0", primary: "_z2r50sf-1-15-0", success: "_z2r50sg-1-15-0", warning: "_z2r50sh-1-15-0", critical: "_z2r50si-1-15-0" } }, defaultVariants: {}, compoundVariants: [] });
|
|
5
5
|
export {
|
|
6
6
|
focusRingCSS,
|
|
7
7
|
focusRingFocusWithinCSS
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/core/styles/focusRing.css.ts"],
|
|
4
|
-
"sourcesContent": ["import './focusRing.css';\nimport { createRuntimeFn as _7a468 } from '@vanilla-extract/recipes/createRuntimeFn';\nexport var focusRingCSS = _7a468({defaultClassName:'_z2r50s3-1-
|
|
4
|
+
"sourcesContent": ["import './focusRing.css';\nimport { createRuntimeFn as _7a468 } from '@vanilla-extract/recipes/createRuntimeFn';\nexport var focusRingCSS = _7a468({defaultClassName:'_z2r50s3-1-15-0',variantClassNames:{minimal:{true:'_z2r50s4-1-15-0',false:'_z2r50s5-1-15-0'},variant:{neutral:'_z2r50s6-1-15-0',primary:'_z2r50s7-1-15-0',success:'_z2r50s8-1-15-0',warning:'_z2r50s9-1-15-0',critical:'_z2r50sa-1-15-0'}},defaultVariants:{},compoundVariants:[]});\nexport var focusRingFocusWithinCSS = _7a468({defaultClassName:'_z2r50sb-1-15-0',variantClassNames:{minimal:{true:'_z2r50sc-1-15-0',false:'_z2r50sd-1-15-0'},variant:{neutral:'_z2r50se-1-15-0',primary:'_z2r50sf-1-15-0',success:'_z2r50sg-1-15-0',warning:'_z2r50sh-1-15-0',critical:'_z2r50si-1-15-0'}},defaultVariants:{},compoundVariants:[]});"],
|
|
5
5
|
"mappings": "AAAA,OAAO;AACP,SAAS,mBAAmB,cAAc;AACnC,IAAI,eAAe,OAAO,EAAC,kBAAiB,mBAAkB,mBAAkB,EAAC,SAAQ,EAAC,MAAK,mBAAkB,OAAM,kBAAiB,GAAE,SAAQ,EAAC,SAAQ,mBAAkB,SAAQ,mBAAkB,SAAQ,mBAAkB,SAAQ,mBAAkB,UAAS,kBAAiB,EAAC,GAAE,iBAAgB,CAAC,GAAE,kBAAiB,CAAC,EAAC,CAAC;AAC/T,IAAI,0BAA0B,OAAO,EAAC,kBAAiB,mBAAkB,mBAAkB,EAAC,SAAQ,EAAC,MAAK,mBAAkB,OAAM,kBAAiB,GAAE,SAAQ,EAAC,SAAQ,mBAAkB,SAAQ,mBAAkB,SAAQ,mBAAkB,SAAQ,mBAAkB,UAAS,kBAAiB,EAAC,GAAE,iBAAgB,CAAC,GAAE,kBAAiB,CAAC,EAAC,CAAC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
._k096v44-1-
|
|
2
|
-
--_k096v40-1-
|
|
3
|
-
--_k096v41-1-
|
|
4
|
-
--_k096v42-1-
|
|
1
|
+
._k096v44-1-15-0 {
|
|
2
|
+
--_k096v40-1-15-0: var(--dt-colors-text-critical-default, #bb0731);
|
|
3
|
+
--_k096v41-1-15-0: var(--dt-colors-icon-critical-default, #bb0731);
|
|
4
|
+
--_k096v42-1-15-0: var(--dt-colors-border-critical-default, #f6d6d5);
|
|
5
5
|
}
|
|
6
|
-
._k096v45-1-
|
|
7
|
-
--_k096v40-1-
|
|
8
|
-
--_k096v41-1-
|
|
9
|
-
--_k096v42-1-
|
|
6
|
+
._k096v45-1-15-0 {
|
|
7
|
+
--_k096v40-1-15-0: var(--dt-colors-text-neutral-default, #2f2f4f);
|
|
8
|
+
--_k096v41-1-15-0: var(--dt-colors-icon-neutral-default, #2f2f4f);
|
|
9
|
+
--_k096v42-1-15-0: var(--dt-colors-border-neutral-default, #dadbe4);
|
|
10
10
|
}
|
|
11
|
-
._k096v46-1-
|
|
12
|
-
--_k096v40-1-
|
|
13
|
-
--_k096v41-1-
|
|
14
|
-
--_k096v42-1-
|
|
11
|
+
._k096v46-1-15-0 {
|
|
12
|
+
--_k096v40-1-15-0: var(--dt-colors-text-primary-default, #464cce);
|
|
13
|
+
--_k096v41-1-15-0: var(--dt-colors-icon-primary-default, #464cce);
|
|
14
|
+
--_k096v42-1-15-0: var(--dt-colors-border-primary-default, #d5dbf6);
|
|
15
15
|
}
|
|
16
|
-
._k096v47-1-
|
|
17
|
-
--_k096v40-1-
|
|
18
|
-
--_k096v41-1-
|
|
19
|
-
--_k096v42-1-
|
|
16
|
+
._k096v47-1-15-0 {
|
|
17
|
+
--_k096v40-1-15-0: var(--dt-colors-text-success-default, #2d6761);
|
|
18
|
+
--_k096v41-1-15-0: var(--dt-colors-icon-success-default, #2d6761);
|
|
19
|
+
--_k096v42-1-15-0: var(--dt-colors-border-success-default, #d3dedd);
|
|
20
20
|
}
|
|
21
|
-
._k096v48-1-
|
|
22
|
-
--_k096v40-1-
|
|
23
|
-
--_k096v41-1-
|
|
24
|
-
--_k096v42-1-
|
|
21
|
+
._k096v48-1-15-0 {
|
|
22
|
+
--_k096v40-1-15-0: var(--dt-colors-text-warning-default, #855400);
|
|
23
|
+
--_k096v41-1-15-0: var(--dt-colors-icon-warning-default, #855400);
|
|
24
|
+
--_k096v42-1-15-0: var(--dt-colors-border-warning-default, #f9ebdb);
|
|
25
25
|
}
|
|
26
|
-
._k096v4d-1-
|
|
27
|
-
--_k096v40-1-
|
|
28
|
-
--_k096v41-1-
|
|
29
|
-
--_k096v42-1-
|
|
26
|
+
._k096v4d-1-15-0 {
|
|
27
|
+
--_k096v40-1-15-0: var(--dt-colors-text-primary-on-accent-default, #f4f4fb);
|
|
28
|
+
--_k096v41-1-15-0: var(--dt-colors-icon-primary-on-accent-default, #f4f4fb);
|
|
29
|
+
--_k096v42-1-15-0: var(--dt-colors-border-primary-accent, #464cce);
|
|
30
30
|
}
|
|
31
|
-
._k096v4e-1-
|
|
32
|
-
--_k096v40-1-
|
|
33
|
-
--_k096v41-1-
|
|
34
|
-
--_k096v42-1-
|
|
31
|
+
._k096v4e-1-15-0 {
|
|
32
|
+
--_k096v40-1-15-0: var(--dt-colors-text-success-on-accent-default, #f1f4f4);
|
|
33
|
+
--_k096v41-1-15-0: var(--dt-colors-icon-success-on-accent-default, #f1f4f4);
|
|
34
|
+
--_k096v42-1-15-0: var(--dt-colors-border-success-accent, #2d6761);
|
|
35
35
|
}
|
|
36
|
-
._k096v4f-1-
|
|
37
|
-
--_k096v40-1-
|
|
38
|
-
--_k096v41-1-
|
|
39
|
-
--_k096v42-1-
|
|
36
|
+
._k096v4f-1-15-0 {
|
|
37
|
+
--_k096v40-1-15-0: var(--dt-colors-text-warning-on-accent-default, #272024);
|
|
38
|
+
--_k096v41-1-15-0: var(--dt-colors-icon-warning-on-accent-default, #272024);
|
|
39
|
+
--_k096v42-1-15-0: var(--dt-colors-border-warning-accent, #855400);
|
|
40
40
|
}
|
|
41
|
-
._k096v4g-1-
|
|
42
|
-
--_k096v40-1-
|
|
43
|
-
--_k096v41-1-
|
|
44
|
-
--_k096v42-1-
|
|
41
|
+
._k096v4g-1-15-0 {
|
|
42
|
+
--_k096v40-1-15-0: var(--dt-colors-text-critical-on-accent-default, #f9f1f3);
|
|
43
|
+
--_k096v41-1-15-0: var(--dt-colors-icon-critical-on-accent-default, #f9f1f3);
|
|
44
|
+
--_k096v42-1-15-0: var(--dt-colors-border-critical-accent, #bb0731);
|
|
45
45
|
}
|
|
46
|
-
._k096v4h-1-
|
|
47
|
-
--_k096v40-1-
|
|
48
|
-
--_k096v41-1-
|
|
49
|
-
--_k096v42-1-
|
|
46
|
+
._k096v4h-1-15-0 {
|
|
47
|
+
--_k096v40-1-15-0: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
|
|
48
|
+
--_k096v41-1-15-0: var(--dt-colors-icon-neutral-on-accent-default, #f3f3f6);
|
|
49
|
+
--_k096v42-1-15-0: var(--dt-colors-border-neutral-accent, #595a7d);
|
|
50
50
|
}
|
|
51
|
-
._k096v4i-1-
|
|
52
|
-
--_k096v40-1-
|
|
53
|
-
--_k096v41-1-
|
|
54
|
-
--_k096v42-1-
|
|
51
|
+
._k096v4i-1-15-0 {
|
|
52
|
+
--_k096v40-1-15-0: var(--dt-colors-text-primary-disabled, #595a7d80);
|
|
53
|
+
--_k096v41-1-15-0: var(--dt-colors-icon-primary-disabled, #595a7d80);
|
|
54
|
+
--_k096v42-1-15-0: var(--dt-colors-border-primary-disabled, #dadbe480);
|
|
55
55
|
}
|
|
56
|
-
._k096v4j-1-
|
|
57
|
-
--_k096v40-1-
|
|
58
|
-
--_k096v41-1-
|
|
59
|
-
--_k096v42-1-
|
|
56
|
+
._k096v4j-1-15-0 {
|
|
57
|
+
--_k096v40-1-15-0: var(--dt-colors-text-success-disabled, #595a7d80);
|
|
58
|
+
--_k096v41-1-15-0: var(--dt-colors-icon-success-disabled, #595a7d80);
|
|
59
|
+
--_k096v42-1-15-0: var(--dt-colors-border-success-disabled, #dadbe480);
|
|
60
60
|
}
|
|
61
|
-
._k096v4k-1-
|
|
62
|
-
--_k096v40-1-
|
|
63
|
-
--_k096v41-1-
|
|
64
|
-
--_k096v42-1-
|
|
61
|
+
._k096v4k-1-15-0 {
|
|
62
|
+
--_k096v40-1-15-0: var(--dt-colors-text-warning-disabled, #595a7d80);
|
|
63
|
+
--_k096v41-1-15-0: var(--dt-colors-icon-warning-disabled, #595a7d80);
|
|
64
|
+
--_k096v42-1-15-0: var(--dt-colors-border-warning-disabled, #dadbe480);
|
|
65
65
|
}
|
|
66
|
-
._k096v4l-1-
|
|
67
|
-
--_k096v40-1-
|
|
68
|
-
--_k096v41-1-
|
|
69
|
-
--_k096v42-1-
|
|
66
|
+
._k096v4l-1-15-0 {
|
|
67
|
+
--_k096v40-1-15-0: var(--dt-colors-text-critical-disabled, #595a7d80);
|
|
68
|
+
--_k096v41-1-15-0: var(--dt-colors-icon-critical-disabled, #595a7d80);
|
|
69
|
+
--_k096v42-1-15-0: var(--dt-colors-border-critical-disabled, #dadbe480);
|
|
70
70
|
}
|
|
71
|
-
._k096v4m-1-
|
|
72
|
-
--_k096v40-1-
|
|
73
|
-
--_k096v41-1-
|
|
74
|
-
--_k096v42-1-
|
|
71
|
+
._k096v4m-1-15-0 {
|
|
72
|
+
--_k096v40-1-15-0: var(--dt-colors-text-neutral-disabled, #595a7d80);
|
|
73
|
+
--_k096v41-1-15-0: var(--dt-colors-icon-neutral-disabled, #595a7d80);
|
|
74
|
+
--_k096v42-1-15-0: var(--dt-colors-border-neutral-disabled, #dadbe480);
|
|
75
75
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./colorUtils.css";
|
|
2
2
|
import { createRuntimeFn as _7a468 } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
3
|
-
var colorUtilsCSS = _7a468({ defaultClassName: "_k096v43-1-
|
|
4
|
-
var colorUtilsVars = { text: "var(--_k096v40-1-
|
|
3
|
+
var colorUtilsCSS = _7a468({ defaultClassName: "_k096v43-1-15-0", variantClassNames: { color: { critical: "_k096v44-1-15-0", neutral: "_k096v45-1-15-0", primary: "_k096v46-1-15-0", success: "_k096v47-1-15-0", warning: "_k096v48-1-15-0" }, variant: { "default": "_k096v49-1-15-0", accent: "_k096v4a-1-15-0" }, disabled: { true: "_k096v4b-1-15-0", false: "_k096v4c-1-15-0" } }, defaultVariants: {}, compoundVariants: [[{ color: "primary", variant: "accent" }, "_k096v4d-1-15-0"], [{ color: "success", variant: "accent" }, "_k096v4e-1-15-0"], [{ color: "warning", variant: "accent" }, "_k096v4f-1-15-0"], [{ color: "critical", variant: "accent" }, "_k096v4g-1-15-0"], [{ color: "neutral", variant: "accent" }, "_k096v4h-1-15-0"], [{ color: "primary", disabled: true }, "_k096v4i-1-15-0"], [{ color: "success", disabled: true }, "_k096v4j-1-15-0"], [{ color: "warning", disabled: true }, "_k096v4k-1-15-0"], [{ color: "critical", disabled: true }, "_k096v4l-1-15-0"], [{ color: "neutral", disabled: true }, "_k096v4m-1-15-0"]] });
|
|
4
|
+
var colorUtilsVars = { text: "var(--_k096v40-1-15-0)", icon: "var(--_k096v41-1-15-0)", borderColor: "var(--_k096v42-1-15-0)" };
|
|
5
5
|
export {
|
|
6
6
|
colorUtilsCSS,
|
|
7
7
|
colorUtilsVars
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/core/utils/colorUtils.css.ts"],
|
|
4
|
-
"sourcesContent": ["import './colorUtils.css';\nimport { createRuntimeFn as _7a468 } from '@vanilla-extract/recipes/createRuntimeFn';\nexport var colorUtilsCSS = _7a468({defaultClassName:'_k096v43-1-
|
|
4
|
+
"sourcesContent": ["import './colorUtils.css';\nimport { createRuntimeFn as _7a468 } from '@vanilla-extract/recipes/createRuntimeFn';\nexport var colorUtilsCSS = _7a468({defaultClassName:'_k096v43-1-15-0',variantClassNames:{color:{critical:'_k096v44-1-15-0',neutral:'_k096v45-1-15-0',primary:'_k096v46-1-15-0',success:'_k096v47-1-15-0',warning:'_k096v48-1-15-0'},variant:{'default':'_k096v49-1-15-0',accent:'_k096v4a-1-15-0'},disabled:{true:'_k096v4b-1-15-0',false:'_k096v4c-1-15-0'}},defaultVariants:{},compoundVariants:[[{color:'primary',variant:'accent'},'_k096v4d-1-15-0'],[{color:'success',variant:'accent'},'_k096v4e-1-15-0'],[{color:'warning',variant:'accent'},'_k096v4f-1-15-0'],[{color:'critical',variant:'accent'},'_k096v4g-1-15-0'],[{color:'neutral',variant:'accent'},'_k096v4h-1-15-0'],[{color:'primary',disabled:true},'_k096v4i-1-15-0'],[{color:'success',disabled:true},'_k096v4j-1-15-0'],[{color:'warning',disabled:true},'_k096v4k-1-15-0'],[{color:'critical',disabled:true},'_k096v4l-1-15-0'],[{color:'neutral',disabled:true},'_k096v4m-1-15-0']]});\nexport var colorUtilsVars = {text:'var(--_k096v40-1-15-0)',icon:'var(--_k096v41-1-15-0)',borderColor:'var(--_k096v42-1-15-0)'};"],
|
|
5
5
|
"mappings": "AAAA,OAAO;AACP,SAAS,mBAAmB,cAAc;AACnC,IAAI,gBAAgB,OAAO,EAAC,kBAAiB,mBAAkB,mBAAkB,EAAC,OAAM,EAAC,UAAS,mBAAkB,SAAQ,mBAAkB,SAAQ,mBAAkB,SAAQ,mBAAkB,SAAQ,kBAAiB,GAAE,SAAQ,EAAC,WAAU,mBAAkB,QAAO,kBAAiB,GAAE,UAAS,EAAC,MAAK,mBAAkB,OAAM,kBAAiB,EAAC,GAAE,iBAAgB,CAAC,GAAE,kBAAiB,CAAC,CAAC,EAAC,OAAM,WAAU,SAAQ,SAAQ,GAAE,iBAAiB,GAAE,CAAC,EAAC,OAAM,WAAU,SAAQ,SAAQ,GAAE,iBAAiB,GAAE,CAAC,EAAC,OAAM,WAAU,SAAQ,SAAQ,GAAE,iBAAiB,GAAE,CAAC,EAAC,OAAM,YAAW,SAAQ,SAAQ,GAAE,iBAAiB,GAAE,CAAC,EAAC,OAAM,WAAU,SAAQ,SAAQ,GAAE,iBAAiB,GAAE,CAAC,EAAC,OAAM,WAAU,UAAS,KAAI,GAAE,iBAAiB,GAAE,CAAC,EAAC,OAAM,WAAU,UAAS,KAAI,GAAE,iBAAiB,GAAE,CAAC,EAAC,OAAM,WAAU,UAAS,KAAI,GAAE,iBAAiB,GAAE,CAAC,EAAC,OAAM,YAAW,UAAS,KAAI,GAAE,iBAAiB,GAAE,CAAC,EAAC,OAAM,WAAU,UAAS,KAAI,GAAE,iBAAiB,CAAC,EAAC,CAAC;AACt5B,IAAI,iBAAiB,EAAC,MAAK,0BAAyB,MAAK,0BAAyB,aAAY,yBAAwB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/core/utils/is-node-environment.ts"],
|
|
4
|
+
"sourcesContent": ["/**\n * Returns a boolean depending on whether we are in developer mode\n * @internal\n */\nexport function isDev(): boolean {\n return process.env.NODE_ENV === 'development';\n}\n\n/**\n * Returns a boolean depending on whether we are in production mode\n * @internal\n */\nexport function isProduction(): boolean {\n return process.env.NODE_ENV === 'production';\n}\n\n/**\n * Returns a boolean depending on whether we are in testing mode\n * @internal\n */\nexport function isTest(): boolean {\n return process.env.NODE_ENV === 'test';\n}\n"],
|
|
5
|
+
"mappings": "AAIO,SAAS,QAAiB;AAC/B,SAAO;AACT;AAMO,SAAS,eAAwB;AACtC,SAAO;AACT;AAMO,SAAS,SAAkB;AAChC,SAAO;AACT;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { isDev } from "./is-node-environment.js";
|
|
2
|
+
function devLog(log, details) {
|
|
3
|
+
if (isDev()) {
|
|
4
|
+
if (details) {
|
|
5
|
+
console.warn(log, details);
|
|
6
|
+
return;
|
|
7
|
+
}
|
|
8
|
+
console.warn(log);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
devLog
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=logging.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/core/utils/logging.ts"],
|
|
4
|
+
"sourcesContent": ["import { isDev } from './is-node-environment.js';\n\n/**\n * Logs the given message as a warning, if we are in developer mode.\n * Does nothing otherwise.\n *\n * @param log - main part of the log message.\n * @param details - passed as second parameter to the console warn.\n */\nexport function devLog(log: string, details?: unknown): void {\n if (isDev()) {\n if (details) {\n // eslint-disable-next-line no-console\n console.warn(log, details);\n return;\n }\n // eslint-disable-next-line no-console\n console.warn(log);\n }\n}\n"],
|
|
5
|
+
"mappings": "AAAA,SAAS,aAAa;AASf,SAAS,OAAO,KAAa,SAAyB;AAC3D,MAAI,MAAM,GAAG;AACX,QAAI,SAAS;AAEX,cAAQ,KAAK,KAAK,OAAO;AACzB;AAAA,IACF;AAEA,YAAQ,KAAK,GAAG;AAAA,EAClB;AACF;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
._f32lcd0-1-
|
|
1
|
+
._f32lcd0-1-15-0 {
|
|
2
2
|
border-style: var(--dt-borders-style-default, solid);
|
|
3
3
|
border-width: var(--dt-borders-width-emphasized, 2px);
|
|
4
4
|
border-radius: var(--dt-borders-radius-container-default, 9px);
|
|
5
|
-
color: var(--_6levse0-1-
|
|
6
|
-
border-color: var(--_6levse2-1-
|
|
7
|
-
background-color: var(--_6levse1-1-
|
|
5
|
+
color: var(--_6levse0-1-15-0);
|
|
6
|
+
border-color: var(--_6levse2-1-15-0);
|
|
7
|
+
background-color: var(--_6levse1-1-15-0);
|
|
8
8
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/layouts/container/Container.css.ts"],
|
|
4
|
-
"sourcesContent": ["import '../../styles/container.css';\nimport './Container.css';\nexport var containerCSS = '_f32lcd0-1-
|
|
4
|
+
"sourcesContent": ["import '../../styles/container.css';\nimport './Container.css';\nexport var containerCSS = '_f32lcd0-1-15-0';"],
|
|
5
5
|
"mappings": "AAAA,OAAO;AACP,OAAO;AACA,IAAI,eAAe;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
._1thxv8m0-1-
|
|
1
|
+
._1thxv8m0-1-15-0 {
|
|
2
2
|
border: none;
|
|
3
3
|
margin: 0;
|
|
4
4
|
overflow-wrap: break-word;
|
|
5
|
-
background-color: var(--_k096v42-1-
|
|
5
|
+
background-color: var(--_k096v42-1-15-0);
|
|
6
6
|
}
|
|
7
|
-
._1thxv8m1-1-
|
|
7
|
+
._1thxv8m1-1-15-0 {
|
|
8
8
|
width: 100%;
|
|
9
9
|
height: var(--dt-borders-width-default, 1px);
|
|
10
10
|
}
|
|
11
|
-
._1thxv8m2-1-
|
|
11
|
+
._1thxv8m2-1-15-0 {
|
|
12
12
|
width: var(--dt-borders-width-default, 1px);
|
|
13
13
|
height: 100%;
|
|
14
14
|
}
|
|
15
|
-
._1thxv8m5-1-
|
|
15
|
+
._1thxv8m5-1-15-0 {
|
|
16
16
|
flex-shrink: 0;
|
|
17
17
|
}
|
|
18
|
-
._1thxv8m6-1-
|
|
18
|
+
._1thxv8m6-1-15-0 {
|
|
19
19
|
flex-shrink: 0;
|
|
20
20
|
width: var(--dt-borders-width-default, 1px);
|
|
21
21
|
height: auto;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../../core/utils/colorUtils.css";
|
|
2
2
|
import "./Divider.css";
|
|
3
3
|
import { createRuntimeFn as _7a468 } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
4
|
-
var dividerCSS = _7a468({ defaultClassName: "_1thxv8m0-1-
|
|
4
|
+
var dividerCSS = _7a468({ defaultClassName: "_1thxv8m0-1-15-0", variantClassNames: { orientation: { horizontal: "_1thxv8m1-1-15-0", vertical: "_1thxv8m2-1-15-0" }, flexItem: { true: "_1thxv8m3-1-15-0", false: "_1thxv8m4-1-15-0" } }, defaultVariants: {}, compoundVariants: [[{ orientation: "horizontal", flexItem: false }, "_1thxv8m5-1-15-0"], [{ orientation: "vertical", flexItem: true }, "_1thxv8m6-1-15-0"]] });
|
|
5
5
|
export {
|
|
6
6
|
dividerCSS
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/layouts/divider/Divider.css.ts"],
|
|
4
|
-
"sourcesContent": ["import '../../core/utils/colorUtils.css';\nimport './Divider.css';\nimport { createRuntimeFn as _7a468 } from '@vanilla-extract/recipes/createRuntimeFn';\nexport var dividerCSS = _7a468({defaultClassName:'_1thxv8m0-1-
|
|
4
|
+
"sourcesContent": ["import '../../core/utils/colorUtils.css';\nimport './Divider.css';\nimport { createRuntimeFn as _7a468 } from '@vanilla-extract/recipes/createRuntimeFn';\nexport var dividerCSS = _7a468({defaultClassName:'_1thxv8m0-1-15-0',variantClassNames:{orientation:{horizontal:'_1thxv8m1-1-15-0',vertical:'_1thxv8m2-1-15-0'},flexItem:{true:'_1thxv8m3-1-15-0',false:'_1thxv8m4-1-15-0'}},defaultVariants:{},compoundVariants:[[{orientation:'horizontal',flexItem:false},'_1thxv8m5-1-15-0'],[{orientation:'vertical',flexItem:true},'_1thxv8m6-1-15-0']]});"],
|
|
5
5
|
"mappings": "AAAA,OAAO;AACP,OAAO;AACP,SAAS,mBAAmB,cAAc;AACnC,IAAI,aAAa,OAAO,EAAC,kBAAiB,oBAAmB,mBAAkB,EAAC,aAAY,EAAC,YAAW,oBAAmB,UAAS,mBAAkB,GAAE,UAAS,EAAC,MAAK,oBAAmB,OAAM,mBAAkB,EAAC,GAAE,iBAAgB,CAAC,GAAE,kBAAiB,CAAC,CAAC,EAAC,aAAY,cAAa,UAAS,MAAK,GAAE,kBAAkB,GAAE,CAAC,EAAC,aAAY,YAAW,UAAS,KAAI,GAAE,kBAAkB,CAAC,EAAC,CAAC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,86 +1,86 @@
|
|
|
1
|
-
._1qto6jt6-1-
|
|
2
|
-
--_1igzksy0-1-
|
|
1
|
+
._1qto6jt6-1-15-0 {
|
|
2
|
+
--_1igzksy0-1-15-0: var(--dt-borders-radius-surface-default, 12px);
|
|
3
3
|
color: var(--dt-colors-text-neutral-default, #2f2f4f);
|
|
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, #fff);
|
|
9
|
-
border-radius: var(--_1igzksy0-1-
|
|
9
|
+
border-radius: var(--_1igzksy0-1-15-0);
|
|
10
10
|
}
|
|
11
|
-
._1qto6jt6-1-
|
|
11
|
+
._1qto6jt6-1-15-0::before, ._1qto6jt6-1-15-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-15-0);
|
|
19
19
|
pointer-events: none;
|
|
20
20
|
}
|
|
21
|
-
._1qto6jt6-1-
|
|
21
|
+
._1qto6jt6-1-15-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-15-0);
|
|
24
|
+
opacity: var(--_1qto6jt4-1-15-0);
|
|
25
|
+
transition: var(--_1qto6jt5-1-15-0);
|
|
26
26
|
}
|
|
27
|
-
._1qto6jt7-1-
|
|
28
|
-
--_1qto6jt4-1-
|
|
29
|
-
--_1qto6jt5-1-
|
|
27
|
+
._1qto6jt7-1-15-0 {
|
|
28
|
+
--_1qto6jt4-1-15-0: 1;
|
|
29
|
+
--_1qto6jt5-1-15-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-15-0 {
|
|
32
|
+
--_1qto6jt4-1-15-0: 0;
|
|
33
|
+
--_1qto6jt5-1-15-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-15-0 {
|
|
36
|
+
--_1qto6jt1-1-15-0: 0;
|
|
37
|
+
--_1qto6jt2-1-15-0: pointer;
|
|
38
|
+
--_1qto6jt3-1-15-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-15-0);
|
|
45
45
|
pointer-events: none;
|
|
46
46
|
}
|
|
47
|
-
._1qto6jt9-1-
|
|
47
|
+
._1qto6jt9-1-15-0::after,._1qto6jt9-1-15-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-15-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-15-0::after {
|
|
59
|
+
box-shadow: var(--_1qto6jt0-1-15-0);
|
|
60
|
+
opacity: var(--_1qto6jt1-1-15-0);
|
|
61
61
|
}
|
|
62
|
-
._1qto6jt9-1-
|
|
63
|
-
box-shadow: var(--_1qto6jt3-1-
|
|
62
|
+
._1qto6jt9-1-15-0::before {
|
|
63
|
+
box-shadow: var(--_1qto6jt3-1-15-0);
|
|
64
64
|
opacity: 0;
|
|
65
65
|
}
|
|
66
|
-
._1qto6jta-1-
|
|
67
|
-
--_1qto6jt0-1-
|
|
68
|
-
--_1qto6jt3-1-
|
|
66
|
+
._1qto6jta-1-15-0 {
|
|
67
|
+
--_1qto6jt0-1-15-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-15-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, 0px 0px 0px 1px #2d2e4e0d);
|
|
70
70
|
}
|
|
71
|
-
._1qto6jtb-1-
|
|
72
|
-
--_1qto6jt0-1-
|
|
73
|
-
--_1qto6jt3-1-
|
|
71
|
+
._1qto6jtb-1-15-0 {
|
|
72
|
+
--_1qto6jt0-1-15-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-15-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-15-0 {
|
|
77
|
+
--_1qto6jt0-1-15-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-15-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-15-0 {
|
|
82
|
+
--_1qto6jt1-1-15-0: 1;
|
|
83
|
+
--_1qto6jt2-1-15-0: grab;
|
|
84
84
|
}
|
|
85
85
|
button.strato-surface:not(:disabled), a.strato-surface:not(:disabled) {
|
|
86
86
|
cursor: pointer;
|
|
@@ -5,11 +5,11 @@ import * as styles from "./Surface.sty.js";
|
|
|
5
5
|
import { useAriaLabelingProps } from "../../core/hooks/useAriaLabelingProps.js";
|
|
6
6
|
import { useFocusRing } from "../../core/styles/useFocusRing.js";
|
|
7
7
|
import { mergeProps } from "../../core/utils/merge-props.js";
|
|
8
|
-
import {
|
|
8
|
+
import { colorUtils } from "../../styles/colorUtils.sty.js";
|
|
9
9
|
import {
|
|
10
10
|
getSpacingSprinkles
|
|
11
11
|
} from "../../styles/getSpacingSprinkles.js";
|
|
12
|
-
import {
|
|
12
|
+
import { textStyle } from "../../styles/textStyle.sty.js";
|
|
13
13
|
import { useLayoutStyles } from "../hooks/useLayoutStyles.js";
|
|
14
14
|
const Surface = /* @__PURE__ */ forwardRef(
|
|
15
15
|
(props, forwardedRef) => {
|
|
@@ -56,12 +56,12 @@ const Surface = /* @__PURE__ */ forwardRef(
|
|
|
56
56
|
ref: forwardedRef,
|
|
57
57
|
className: clsx(
|
|
58
58
|
"strato-surface",
|
|
59
|
-
|
|
59
|
+
colorUtils({ color, variant: selected ? "accent" : "default" }),
|
|
60
60
|
styles.surface({ selected }),
|
|
61
61
|
focusClassName,
|
|
62
62
|
consumerClassName,
|
|
63
63
|
getSpacingSprinkles(remainingProps, { padding: 24 }),
|
|
64
|
-
|
|
64
|
+
textStyle({ textStyle: "base" })
|
|
65
65
|
),
|
|
66
66
|
style: { ...layoutSizeStyles, ...consumerStyle },
|
|
67
67
|
children: [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/layouts/surface/Surface.tsx"],
|
|
4
|
-
"sourcesContent": ["import clsx from 'clsx';\nimport { type ElementType, type ReactElement, forwardRef } from 'react';\n\nimport * as styles from './Surface.sty.js';\nimport { useAriaLabelingProps } from '../../core/hooks/useAriaLabelingProps.js';\nimport { useFocusRing } from '../../core/styles/useFocusRing.js';\nimport type { AriaLabelingProps } from '../../core/types/a11y-props.js';\nimport type { DataTestId } from '../../core/types/data-props.js';\nimport type { DOMProps } from '../../core/types/dom.js';\nimport type { MaskingProps } from '../../core/types/masking-props.js';\nimport type { PolymorphicComponentProps } from '../../core/types/polymorph.js';\nimport type { StylingProps } from '../../core/types/styling-props.js';\nimport type { WithChildren } from '../../core/types/with-children.js';\nimport { mergeProps } from '../../core/utils/merge-props.js';\nimport {
|
|
5
|
-
"mappings": "AAyHM,SAiBE,KAjBF;AAzHN,OAAO,UAAU;AACjB,SAA8C,kBAAkB;AAEhE,YAAY,YAAY;AACxB,SAAS,4BAA4B;AACrC,SAAS,oBAAoB;AAQ7B,SAAS,kBAAkB;AAC3B,SAAS,
|
|
4
|
+
"sourcesContent": ["import clsx from 'clsx';\nimport { type ElementType, type ReactElement, forwardRef } from 'react';\n\nimport * as styles from './Surface.sty.js';\nimport { useAriaLabelingProps } from '../../core/hooks/useAriaLabelingProps.js';\nimport { useFocusRing } from '../../core/styles/useFocusRing.js';\nimport type { AriaLabelingProps } from '../../core/types/a11y-props.js';\nimport type { DataTestId } from '../../core/types/data-props.js';\nimport type { DOMProps } from '../../core/types/dom.js';\nimport type { MaskingProps } from '../../core/types/masking-props.js';\nimport type { PolymorphicComponentProps } from '../../core/types/polymorph.js';\nimport type { StylingProps } from '../../core/types/styling-props.js';\nimport type { WithChildren } from '../../core/types/with-children.js';\nimport { mergeProps } from '../../core/utils/merge-props.js';\nimport { colorUtils } from '../../styles/colorUtils.sty.js';\nimport {\n getSpacingSprinkles,\n type SpacingProps,\n} from '../../styles/getSpacingSprinkles.js';\nimport { textStyle } from '../../styles/textStyle.sty.js';\nimport { useLayoutStyles } from '../hooks/useLayoutStyles.js';\nimport type { LayoutSizeCSS } from '../types/layout.types.js';\n\n//#region Typings\n\n/**\n * Accepted properties for Surface\n * @public\n */\nexport interface SurfaceOwnProps\n extends AriaLabelingProps,\n SpacingProps,\n LayoutSizeCSS,\n DOMProps,\n WithChildren,\n StylingProps,\n DataTestId,\n MaskingProps {\n /**\n * Color of the border when the surface has focus or is selected.\n * @defaultValue 'neutral'\n */\n color?: 'neutral' | 'primary' | 'success' | 'critical' | 'warning';\n /**\n * Defines if the surface is selected and should indicate that state with a border.\n * @defaultValue false\n */\n selected?: boolean;\n /**\n * Indicates if the surface is currently dragged and then applies the corresponding styles.\n * @defaultValue false\n */\n dragged?: boolean;\n /**\n * Defines the surface's elevation to the background.\n * @defaultValue 'flat'\n */\n elevation?: 'flat' | 'raised' | 'floating';\n}\n\n/**\n * Merge own props with others inherited from the underlying element type\n * @public\n */\nexport type SurfaceProps<E extends ElementType> = PolymorphicComponentProps<\n E,\n SurfaceOwnProps\n>;\n//#endregion\n\n/**\n * The Surface component is used to structure content on a page.\n * @public\n */\nexport const Surface: <E extends ElementType = 'div'>(\n props: SurfaceProps<E>,\n) => ReactElement | null = /* @__PURE__ */ forwardRef(\n <E extends ElementType>(\n props: SurfaceProps<E>,\n forwardedRef: typeof props.ref,\n ) => {\n const {\n elevation = 'flat',\n dragged = false,\n selected = false,\n color = 'neutral',\n children,\n className: consumerClassName,\n style: consumerStyle,\n 'data-testid': dataTestId,\n 'data-dtrum-mask': dataDtrumMask,\n 'data-dtrum-allow': dataDtrumAllow,\n as,\n ...remainingProps\n }: SurfaceProps<E> = props;\n\n const ariaLabelingProps = useAriaLabelingProps(remainingProps);\n\n const { layoutSizeStyles, remainingProps: surfaceProps } = useLayoutStyles(\n remainingProps,\n { paddingDefaults: { padding: 24 } },\n );\n\n const { focusProps, focusClassName } = useFocusRing({\n variant: color,\n });\n\n const surfaceMergedProps = {\n ...mergeProps(\n // Need to cast this one as the inference of mergeProps would generate\n // a not allowed overlap. The remainingProps type is too complex due to the\n // polymorphic inheritance.\n surfaceProps as Record<string, unknown>,\n focusProps,\n ariaLabelingProps,\n ),\n };\n\n const Component = as ?? 'div';\n\n return (\n <Component\n {...surfaceMergedProps}\n data-testid={dataTestId}\n data-dtrum-mask={dataDtrumMask}\n data-dtrum-allow={dataDtrumAllow}\n ref={forwardedRef}\n className={clsx(\n 'strato-surface',\n colorUtils({ color, variant: selected ? 'accent' : 'default' }),\n styles.surface({ selected }),\n focusClassName,\n consumerClassName,\n getSpacingSprinkles(remainingProps, { padding: 24 }),\n textStyle({ textStyle: 'base' }),\n )}\n style={{ ...layoutSizeStyles, ...consumerStyle }}\n >\n <div\n className={clsx(\n 'surface-background',\n styles.pseudoElement({ elevation, dragged }),\n )}\n aria-hidden={true}\n />\n {children}\n </Component>\n );\n },\n);\n"],
|
|
5
|
+
"mappings": "AAyHM,SAiBE,KAjBF;AAzHN,OAAO,UAAU;AACjB,SAA8C,kBAAkB;AAEhE,YAAY,YAAY;AACxB,SAAS,4BAA4B;AACrC,SAAS,oBAAoB;AAQ7B,SAAS,kBAAkB;AAC3B,SAAS,kBAAkB;AAC3B;AAAA,EACE;AAAA,OAEK;AACP,SAAS,iBAAiB;AAC1B,SAAS,uBAAuB;AAsDzB,MAAM,UAE8B;AAAA,EACzC,CACE,OACA,iBACG;AACH,UAAM;AAAA,MACJ,YAAY;AAAA,MACZ,UAAU;AAAA,MACV,WAAW;AAAA,MACX,QAAQ;AAAA,MACR;AAAA,MACA,WAAW;AAAA,MACX,OAAO;AAAA,MACP,eAAe;AAAA,MACf,mBAAmB;AAAA,MACnB,oBAAoB;AAAA,MACpB;AAAA,MACA,GAAG;AAAA,IACL,IAAqB;AAErB,UAAM,oBAAoB,qBAAqB,cAAc;AAE7D,UAAM,EAAE,kBAAkB,gBAAgB,aAAa,IAAI;AAAA,MACzD;AAAA,MACA,EAAE,iBAAiB,EAAE,SAAS,GAAG,EAAE;AAAA,IACrC;AAEA,UAAM,EAAE,YAAY,eAAe,IAAI,aAAa;AAAA,MAClD,SAAS;AAAA,IACX,CAAC;AAED,UAAM,qBAAqB;AAAA,MACzB,GAAG;AAAA;AAAA;AAAA;AAAA,QAID;AAAA,QACA;AAAA,QACA;AAAA,MACF;AAAA,IACF;AAEA,UAAM,YAAY,MAAM;AAExB,WACE;AAAA,MAAC;AAAA;AAAA,QACE,GAAG;AAAA,QACJ,eAAa;AAAA,QACb,mBAAiB;AAAA,QACjB,oBAAkB;AAAA,QAClB,KAAK;AAAA,QACL,WAAW;AAAA,UACT;AAAA,UACA,WAAW,EAAE,OAAO,SAAS,WAAW,WAAW,UAAU,CAAC;AAAA,UAC9D,OAAO,QAAQ,EAAE,SAAS,CAAC;AAAA,UAC3B;AAAA,UACA;AAAA,UACA,oBAAoB,gBAAgB,EAAE,SAAS,GAAG,CAAC;AAAA,UACnD,UAAU,EAAE,WAAW,OAAO,CAAC;AAAA,QACjC;AAAA,QACA,OAAO,EAAE,GAAG,kBAAkB,GAAG,cAAc;AAAA,QAE/C;AAAA;AAAA,YAAC;AAAA;AAAA,cACC,WAAW;AAAA,gBACT;AAAA,gBACA,OAAO,cAAc,EAAE,WAAW,QAAQ,CAAC;AAAA,cAC7C;AAAA,cACA,eAAa;AAAA;AAAA,UACf;AAAA,UACC;AAAA;AAAA;AAAA,IACH;AAAA,EAEJ;AACF;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../../styles/colorUtils.css";
|
|
2
2
|
import "./Surface.css";
|
|
3
3
|
import { createRuntimeFn as _7a468 } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
4
|
-
var pseudoElement = _7a468({ defaultClassName: "_1qto6jt9-1-
|
|
5
|
-
var surface = _7a468({ defaultClassName: "_1qto6jt6-1-
|
|
4
|
+
var pseudoElement = _7a468({ defaultClassName: "_1qto6jt9-1-15-0", variantClassNames: { elevation: { flat: "_1qto6jta-1-15-0", raised: "_1qto6jtb-1-15-0", floating: "_1qto6jtc-1-15-0" }, dragged: { true: "_1qto6jtd-1-15-0" } }, defaultVariants: {}, compoundVariants: [] });
|
|
5
|
+
var surface = _7a468({ defaultClassName: "_1qto6jt6-1-15-0", variantClassNames: { selected: { true: "_1qto6jt7-1-15-0", false: "_1qto6jt8-1-15-0" } }, defaultVariants: {}, compoundVariants: [] });
|
|
6
6
|
export {
|
|
7
7
|
pseudoElement,
|
|
8
8
|
surface
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/layouts/surface/Surface.css.ts"],
|
|
4
|
-
"sourcesContent": ["import '../../styles/colorUtils.css';\nimport './Surface.css';\nimport { createRuntimeFn as _7a468 } from '@vanilla-extract/recipes/createRuntimeFn';\nexport var pseudoElement = _7a468({defaultClassName:'_1qto6jt9-1-
|
|
4
|
+
"sourcesContent": ["import '../../styles/colorUtils.css';\nimport './Surface.css';\nimport { createRuntimeFn as _7a468 } from '@vanilla-extract/recipes/createRuntimeFn';\nexport var pseudoElement = _7a468({defaultClassName:'_1qto6jt9-1-15-0',variantClassNames:{elevation:{flat:'_1qto6jta-1-15-0',raised:'_1qto6jtb-1-15-0',floating:'_1qto6jtc-1-15-0'},dragged:{true:'_1qto6jtd-1-15-0'}},defaultVariants:{},compoundVariants:[]});\nexport var surface = _7a468({defaultClassName:'_1qto6jt6-1-15-0',variantClassNames:{selected:{true:'_1qto6jt7-1-15-0',false:'_1qto6jt8-1-15-0'}},defaultVariants:{},compoundVariants:[]});"],
|
|
5
5
|
"mappings": "AAAA,OAAO;AACP,OAAO;AACP,SAAS,mBAAmB,cAAc;AACnC,IAAI,gBAAgB,OAAO,EAAC,kBAAiB,oBAAmB,mBAAkB,EAAC,WAAU,EAAC,MAAK,oBAAmB,QAAO,oBAAmB,UAAS,mBAAkB,GAAE,SAAQ,EAAC,MAAK,mBAAkB,EAAC,GAAE,iBAAgB,CAAC,GAAE,kBAAiB,CAAC,EAAC,CAAC;AACvP,IAAI,UAAU,OAAO,EAAC,kBAAiB,oBAAmB,mBAAkB,EAAC,UAAS,EAAC,MAAK,oBAAmB,OAAM,mBAAkB,EAAC,GAAE,iBAAgB,CAAC,GAAE,kBAAiB,CAAC,EAAC,CAAC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/layouts/surface/variables.css.ts"],
|
|
4
|
-
"sourcesContent": ["export var surfaceBorderRadius = 'var(--_1igzksy0-1-
|
|
4
|
+
"sourcesContent": ["export var surfaceBorderRadius = 'var(--_1igzksy0-1-15-0)';"],
|
|
5
5
|
"mappings": "AAAO,IAAI,sBAAsB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|