@dynatrace/strato-components 0.85.32 → 0.85.50
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 +17 -17
- package/buttons/button/Button.js +7 -3
- package/buttons/button/Button.sty.js +4 -4
- package/buttons/button/utils/focus-without-scrolling.js +1 -1
- package/content/progress/ProgressBar.css +14 -14
- package/content/progress/ProgressBar.sty.js +2 -2
- package/content/progress/ProgressBarIcon.css +2 -2
- package/content/progress/ProgressBarIcon.sty.js +1 -1
- package/content/progress/ProgressBarLabel.css +4 -4
- package/content/progress/ProgressBarLabel.sty.js +1 -1
- package/content/progress/ProgressBarValue.css +9 -9
- package/content/progress/ProgressBarValue.sty.js +1 -1
- package/content/progress/ProgressCircle.css +15 -15
- package/content/progress/ProgressCircle.sty.js +6 -6
- package/content/skeleton/Skeleton.css +6 -6
- package/content/skeleton/Skeleton.sty.js +1 -1
- package/core/components/app-root/AppRoot.d.ts +1 -1
- package/core/components/app-root/AppRoot.js +1 -1
- package/core/index.d.ts +1 -0
- package/core/index.js +2 -0
- package/core/styles/focusRing.css +76 -76
- package/core/styles/focusRing.sty.js +2 -2
- package/core/utils/_is-string-children.d.ts +1 -1
- package/core/utils/colorUtils.css +64 -64
- package/core/utils/colorUtils.sty.js +2 -2
- package/core/utils/focus-management/attempt-focus.js +1 -1
- package/core/utils/parse-boolean.d.ts +9 -0
- package/core/utils/parse-boolean.js +31 -0
- package/esm/buttons/button/Button.css +17 -17
- package/esm/buttons/button/Button.js +7 -3
- 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 +2 -2
- package/esm/buttons/button/utils/focus-without-scrolling.js +1 -1
- package/esm/buttons/button/utils/focus-without-scrolling.js.map +2 -2
- package/esm/content/progress/ProgressBar.css +14 -14
- package/esm/content/progress/ProgressBar.sty.js +2 -2
- package/esm/content/progress/ProgressBar.sty.js.map +2 -2
- 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 +4 -4
- package/esm/content/progress/ProgressBarLabel.sty.js +1 -1
- package/esm/content/progress/ProgressBarLabel.sty.js.map +2 -2
- package/esm/content/progress/ProgressBarValue.css +9 -9
- package/esm/content/progress/ProgressBarValue.sty.js +1 -1
- package/esm/content/progress/ProgressBarValue.sty.js.map +2 -2
- package/esm/content/progress/ProgressCircle.css +15 -15
- package/esm/content/progress/ProgressCircle.sty.js +6 -6
- package/esm/content/progress/ProgressCircle.sty.js.map +2 -2
- package/esm/content/skeleton/Skeleton.css +6 -6
- package/esm/content/skeleton/Skeleton.sty.js +1 -1
- package/esm/content/skeleton/Skeleton.sty.js.map +2 -2
- package/esm/core/components/app-root/AppRoot.js +1 -1
- package/esm/core/components/app-root/AppRoot.js.map +2 -2
- package/esm/core/index.js +2 -0
- package/esm/core/index.js.map +2 -2
- package/esm/core/styles/focusRing.css +76 -76
- package/esm/core/styles/focusRing.sty.js +2 -2
- package/esm/core/styles/focusRing.sty.js.map +2 -2
- package/esm/core/utils/_is-string-children.js.map +2 -2
- package/esm/core/utils/colorUtils.css +64 -64
- package/esm/core/utils/colorUtils.sty.js +2 -2
- package/esm/core/utils/colorUtils.sty.js.map +2 -2
- package/esm/core/utils/focus-management/attempt-focus.js +1 -1
- package/esm/core/utils/focus-management/attempt-focus.js.map +2 -2
- package/esm/core/utils/merge-props.js.map +1 -1
- package/esm/core/utils/parse-boolean.js +13 -0
- package/esm/core/utils/parse-boolean.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 +2 -2
- package/esm/layouts/index.js +6 -0
- package/esm/layouts/index.js.map +2 -2
- package/esm/layouts/input-group/InputGroup.css +12 -0
- package/esm/layouts/input-group/InputGroup.sty.js +8 -0
- package/esm/layouts/input-group/InputGroup.sty.js.map +7 -0
- package/esm/layouts/surface/Surface.css +39 -39
- package/esm/layouts/surface/Surface.sty.js +2 -2
- package/esm/layouts/surface/Surface.sty.js.map +2 -2
- package/esm/layouts/surface/variables.sty.js +1 -1
- package/esm/layouts/surface/variables.sty.js.map +1 -1
- package/esm/styles/colorUtils.css +64 -64
- package/esm/styles/colorUtils.sty.js +2 -2
- 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 +2 -2
- 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 +2 -2
- package/esm/styles/index.js +2 -0
- 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 +2 -2
- package/esm/styles/textStyle.css +8 -8
- package/esm/styles/textStyle.sty.js +1 -1
- 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 +6 -6
- 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 +8 -8
- 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 +2 -2
- package/esm/typography/highlight/Highlight.css +1 -1
- 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.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 +1 -1
- package/esm/typography/list/List.js.map +1 -1
- 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 +4 -4
- package/esm/typography/paragraph/Paragraph.sty.js +1 -1
- 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.sty.js +1 -1
- package/esm/typography/text/Text.sty.js.map +2 -2
- package/esm/typography/text-ellipsis/TextEllipsis.css +4 -4
- package/esm/typography/text-ellipsis/TextEllipsis.sty.js +1 -1
- package/esm/typography/text-ellipsis/TextEllipsis.sty.js.map +2 -2
- 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/index.d.ts +2 -1
- package/layouts/index.js +3 -0
- package/layouts/input-group/InputGroup.css +12 -0
- package/layouts/input-group/InputGroup.sty.d.ts +4 -0
- package/layouts/input-group/InputGroup.sty.js +26 -0
- package/layouts/surface/Surface.css +39 -39
- package/layouts/surface/Surface.sty.js +2 -2
- package/layouts/surface/variables.sty.d.ts +1 -0
- package/layouts/surface/variables.sty.js +1 -1
- package/package.json +3 -3
- package/styles/colorUtils.css +64 -64
- 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/index.d.ts +2 -1
- package/styles/index.js +2 -0
- package/styles/safe-sprinkles.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/testing/mocks/table-virtualization-mock.js +6 -3
- 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 +6 -6
- package/typography/external-link/ExternalLink.sty.js +1 -1
- package/typography/heading/Heading.css +8 -8
- package/typography/heading/Heading.sty.js +1 -1
- package/typography/highlight/Highlight.css +1 -1
- package/typography/highlight/Highlight.sty.js +1 -1
- package/typography/link/Link.css +4 -4
- package/typography/link/Link.sty.js +1 -1
- package/typography/list/List.css +4 -4
- package/typography/list/List.js +1 -1
- package/typography/list/List.sty.js +2 -2
- package/typography/paragraph/Paragraph.css +4 -4
- package/typography/paragraph/Paragraph.sty.js +1 -1
- 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.sty.js +1 -1
- package/typography/text-ellipsis/TextEllipsis.css +4 -4
- package/typography/text-ellipsis/TextEllipsis.sty.js +1 -1
|
@@ -1,88 +1,88 @@
|
|
|
1
|
-
.
|
|
1
|
+
.z2r50s3 {
|
|
2
2
|
outline: none;
|
|
3
3
|
}
|
|
4
|
-
.
|
|
4
|
+
.z2r50s3:focus-visible {
|
|
5
5
|
outline: none;
|
|
6
6
|
}
|
|
7
|
-
.
|
|
7
|
+
.z2r50s4 {
|
|
8
8
|
border-radius: calc(var(--dt-borders-radius-field-subdued, 4px) / 2);
|
|
9
|
-
box-shadow: inset 0 0 0 var(--dt-borders-width-default, 1px) var(--
|
|
10
|
-
background-color: var(--
|
|
11
|
-
}
|
|
12
|
-
.
|
|
13
|
-
box-shadow: inset 0 0 0 var(--dt-borders-width-emphasized, 2px) var(--
|
|
14
|
-
}
|
|
15
|
-
.
|
|
16
|
-
--
|
|
17
|
-
--
|
|
18
|
-
--
|
|
19
|
-
}
|
|
20
|
-
.
|
|
21
|
-
--
|
|
22
|
-
--
|
|
23
|
-
--
|
|
24
|
-
}
|
|
25
|
-
.
|
|
26
|
-
--
|
|
27
|
-
--
|
|
28
|
-
--
|
|
29
|
-
}
|
|
30
|
-
.
|
|
31
|
-
--
|
|
32
|
-
--
|
|
33
|
-
--
|
|
34
|
-
}
|
|
35
|
-
.
|
|
36
|
-
--
|
|
37
|
-
--
|
|
38
|
-
--
|
|
39
|
-
}
|
|
40
|
-
.
|
|
41
|
-
--
|
|
42
|
-
--
|
|
43
|
-
--
|
|
44
|
-
}
|
|
45
|
-
.
|
|
9
|
+
box-shadow: inset 0 0 0 var(--dt-borders-width-default, 1px) var(--z2r50s0);
|
|
10
|
+
background-color: var(--z2r50s2);
|
|
11
|
+
}
|
|
12
|
+
.z2r50s5.z2r50s5 {
|
|
13
|
+
box-shadow: inset 0 0 0 var(--dt-borders-width-emphasized, 2px) var(--z2r50s0), inset 0 0 0 calc(var(--dt-borders-width-emphasized, 2px) + 1px) var(--z2r50s1);
|
|
14
|
+
}
|
|
15
|
+
.z2r50s6 {
|
|
16
|
+
--z2r50s0: var(--dt-colors-border-neutral-accent, #545587);
|
|
17
|
+
--z2r50s1: var(--dt-colors-border-neutral-default, #d2d3e1);
|
|
18
|
+
--z2r50s2: var(--dt-colors-background-field-neutral-emphasized, #dadbe7);
|
|
19
|
+
}
|
|
20
|
+
.z2r50s7 {
|
|
21
|
+
--z2r50s0: var(--dt-colors-border-primary-accent, #454cc9);
|
|
22
|
+
--z2r50s1: var(--dt-colors-border-primary-default, #ccd3f3);
|
|
23
|
+
--z2r50s2: var(--dt-colors-background-field-primary-emphasized, #d6dbf4);
|
|
24
|
+
}
|
|
25
|
+
.z2r50s8 {
|
|
26
|
+
--z2r50s0: var(--dt-colors-border-success-accent, #2c6360);
|
|
27
|
+
--z2r50s1: var(--dt-colors-border-success-default, #cad6d7);
|
|
28
|
+
--z2r50s2: var(--dt-colors-background-field-success-emphasized, #d4dddf);
|
|
29
|
+
}
|
|
30
|
+
.z2r50s9 {
|
|
31
|
+
--z2r50s0: var(--dt-colors-border-warning-accent, #805100);
|
|
32
|
+
--z2r50s1: var(--dt-colors-border-warning-default, #f4e5d5);
|
|
33
|
+
--z2r50s2: var(--dt-colors-background-field-warning-emphasized, #f4e8de);
|
|
34
|
+
}
|
|
35
|
+
.z2r50sa {
|
|
36
|
+
--z2r50s0: var(--dt-colors-border-critical-accent, #b80031);
|
|
37
|
+
--z2r50s1: var(--dt-colors-border-critical-default, #f1cdcf);
|
|
38
|
+
--z2r50s2: var(--dt-colors-background-field-critical-emphasized, #f2d7d9);
|
|
39
|
+
}
|
|
40
|
+
.z2r50sb {
|
|
41
|
+
--z2r50s0: var(--dt-colors-border-on-accent-default, #f3f3f7);
|
|
42
|
+
--z2r50s1: var(--dt-colors-border-on-accent-default, #f3f3f7);
|
|
43
|
+
--z2r50s2: var(--dt-colors-background-field-on-accent-emphasized, #f3f3f733);
|
|
44
|
+
}
|
|
45
|
+
.z2r50sc:focus-within {
|
|
46
46
|
outline: none;
|
|
47
47
|
:focus-visible {
|
|
48
48
|
outline: none;
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
.
|
|
51
|
+
.z2r50sd:focus-within {
|
|
52
52
|
border-radius: calc(var(--dt-borders-radius-field-subdued, 4px) / 2);
|
|
53
|
-
box-shadow: inset 0 0 0 var(--dt-borders-width-default, 1px) var(--
|
|
54
|
-
background-color: var(--
|
|
55
|
-
}
|
|
56
|
-
.
|
|
57
|
-
box-shadow: inset 0 0 0 var(--dt-borders-width-emphasized, 2px) var(--
|
|
58
|
-
}
|
|
59
|
-
.
|
|
60
|
-
--
|
|
61
|
-
--
|
|
62
|
-
--
|
|
63
|
-
}
|
|
64
|
-
.
|
|
65
|
-
--
|
|
66
|
-
--
|
|
67
|
-
--
|
|
68
|
-
}
|
|
69
|
-
.
|
|
70
|
-
--
|
|
71
|
-
--
|
|
72
|
-
--
|
|
73
|
-
}
|
|
74
|
-
.
|
|
75
|
-
--
|
|
76
|
-
--
|
|
77
|
-
--
|
|
78
|
-
}
|
|
79
|
-
.
|
|
80
|
-
--
|
|
81
|
-
--
|
|
82
|
-
--
|
|
83
|
-
}
|
|
84
|
-
.
|
|
85
|
-
--
|
|
86
|
-
--
|
|
87
|
-
--
|
|
53
|
+
box-shadow: inset 0 0 0 var(--dt-borders-width-default, 1px) var(--z2r50s0);
|
|
54
|
+
background-color: var(--z2r50s2);
|
|
55
|
+
}
|
|
56
|
+
.z2r50se:focus-within {
|
|
57
|
+
box-shadow: inset 0 0 0 var(--dt-borders-width-emphasized, 2px) var(--z2r50s0), inset 0 0 0 calc(var(--dt-borders-width-emphasized, 2px) + 1px) var(--z2r50s1);
|
|
58
|
+
}
|
|
59
|
+
.z2r50sf {
|
|
60
|
+
--z2r50s0: var(--dt-colors-border-neutral-accent, #545587);
|
|
61
|
+
--z2r50s1: var(--dt-colors-border-neutral-default, #d2d3e1);
|
|
62
|
+
--z2r50s2: var(--dt-colors-background-field-neutral-emphasized, #dadbe7);
|
|
63
|
+
}
|
|
64
|
+
.z2r50sg {
|
|
65
|
+
--z2r50s0: var(--dt-colors-border-primary-accent, #454cc9);
|
|
66
|
+
--z2r50s1: var(--dt-colors-border-primary-default, #ccd3f3);
|
|
67
|
+
--z2r50s2: var(--dt-colors-background-field-primary-emphasized, #d6dbf4);
|
|
68
|
+
}
|
|
69
|
+
.z2r50sh {
|
|
70
|
+
--z2r50s0: var(--dt-colors-border-success-accent, #2c6360);
|
|
71
|
+
--z2r50s1: var(--dt-colors-border-success-default, #cad6d7);
|
|
72
|
+
--z2r50s2: var(--dt-colors-background-field-success-emphasized, #d4dddf);
|
|
73
|
+
}
|
|
74
|
+
.z2r50si {
|
|
75
|
+
--z2r50s0: var(--dt-colors-border-warning-accent, #805100);
|
|
76
|
+
--z2r50s1: var(--dt-colors-border-warning-default, #f4e5d5);
|
|
77
|
+
--z2r50s2: var(--dt-colors-background-field-warning-emphasized, #f4e8de);
|
|
78
|
+
}
|
|
79
|
+
.z2r50sj {
|
|
80
|
+
--z2r50s0: var(--dt-colors-border-critical-accent, #b80031);
|
|
81
|
+
--z2r50s1: var(--dt-colors-border-critical-default, #f1cdcf);
|
|
82
|
+
--z2r50s2: var(--dt-colors-background-field-critical-emphasized, #f2d7d9);
|
|
83
|
+
}
|
|
84
|
+
.z2r50sk {
|
|
85
|
+
--z2r50s0: var(--dt-colors-border-on-accent-default, #f3f3f7);
|
|
86
|
+
--z2r50s1: var(--dt-colors-border-on-accent-default, #f3f3f7);
|
|
87
|
+
--z2r50s2: var(--dt-colors-background-field-on-accent-emphasized, #f3f3f733);
|
|
88
88
|
}
|
|
@@ -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: "
|
|
4
|
-
var focusRingFocusWithinCSS = _7a468({ defaultClassName: "
|
|
3
|
+
var focusRingCSS = _7a468({ defaultClassName: "z2r50s3", variantClassNames: { minimal: { true: "z2r50s4", false: "z2r50s5" }, variant: { neutral: "z2r50s6", primary: "z2r50s7", success: "z2r50s8", warning: "z2r50s9", critical: "z2r50sa", onAccent: "z2r50sb" } }, defaultVariants: {}, compoundVariants: [] });
|
|
4
|
+
var focusRingFocusWithinCSS = _7a468({ defaultClassName: "z2r50sc", variantClassNames: { minimal: { true: "z2r50sd", false: "z2r50se" }, variant: { neutral: "z2r50sf", primary: "z2r50sg", success: "z2r50sh", warning: "z2r50si", critical: "z2r50sj", onAccent: "z2r50sk" } }, 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:'
|
|
5
|
-
"mappings": "AAAA,OAAO;AACP,SAAS,mBAAmB,cAAc;AACnC,IAAI,eAAe,OAAO,EAAC,kBAAiB,
|
|
4
|
+
"sourcesContent": ["import './focusRing.css';\nimport { createRuntimeFn as _7a468 } from '@vanilla-extract/recipes/createRuntimeFn';\nexport var focusRingCSS = _7a468({defaultClassName:'z2r50s3',variantClassNames:{minimal:{true:'z2r50s4',false:'z2r50s5'},variant:{neutral:'z2r50s6',primary:'z2r50s7',success:'z2r50s8',warning:'z2r50s9',critical:'z2r50sa',onAccent:'z2r50sb'}},defaultVariants:{},compoundVariants:[]});\nexport var focusRingFocusWithinCSS = _7a468({defaultClassName:'z2r50sc',variantClassNames:{minimal:{true:'z2r50sd',false:'z2r50se'},variant:{neutral:'z2r50sf',primary:'z2r50sg',success:'z2r50sh',warning:'z2r50si',critical:'z2r50sj',onAccent:'z2r50sk'}},defaultVariants:{},compoundVariants:[]});"],
|
|
5
|
+
"mappings": "AAAA,OAAO;AACP,SAAS,mBAAmB,cAAc;AACnC,IAAI,eAAe,OAAO,EAAC,kBAAiB,WAAU,mBAAkB,EAAC,SAAQ,EAAC,MAAK,WAAU,OAAM,UAAS,GAAE,SAAQ,EAAC,SAAQ,WAAU,SAAQ,WAAU,SAAQ,WAAU,SAAQ,WAAU,UAAS,WAAU,UAAS,UAAS,EAAC,GAAE,iBAAgB,CAAC,GAAE,kBAAiB,CAAC,EAAC,CAAC;AAClR,IAAI,0BAA0B,OAAO,EAAC,kBAAiB,WAAU,mBAAkB,EAAC,SAAQ,EAAC,MAAK,WAAU,OAAM,UAAS,GAAE,SAAQ,EAAC,SAAQ,WAAU,SAAQ,WAAU,SAAQ,WAAU,SAAQ,WAAU,UAAS,WAAU,UAAS,UAAS,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/core/utils/_is-string-children.ts"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\nimport { FormattedMessage } from 'react-intl';\nimport { isElement } from 'react-is';\n\n/**\n * Returns whether children only consist of text nodes.\n * @internal\n */\nexport function isStringChildren(children: React.ReactNode):
|
|
5
|
-
"mappings": "AAAA,OAAO,WAAW;AAClB,SAAS,wBAAwB;AACjC,SAAS,iBAAiB;AAMnB,SAAS,
|
|
4
|
+
"sourcesContent": ["import React from 'react';\nimport { FormattedMessage } from 'react-intl';\nimport { isElement } from 'react-is';\n\n/**\n * Returns whether children only consist of text nodes.\n * @internal\n */\nexport function isStringChildren(\n children: React.ReactNode,\n): children is string {\n const childrenArray = React.Children.toArray(children);\n\n if (!childrenArray.some(isElement)) {\n return true; // All children are strings\n }\n\n return childrenArray.every(\n (child) =>\n !isElement(child) ||\n (isElement(child) && child.type && child.type === FormattedMessage),\n );\n}\n"],
|
|
5
|
+
"mappings": "AAAA,OAAO,WAAW;AAClB,SAAS,wBAAwB;AACjC,SAAS,iBAAiB;AAMnB,SAAS,iBACd,UACoB;AACpB,QAAM,gBAAgB,MAAM,SAAS,QAAQ,QAAQ;AAErD,MAAI,CAAC,cAAc,KAAK,SAAS,GAAG;AAClC,WAAO;AAAA,EACT;AAEA,SAAO,cAAc;AAAA,IACnB,CAAC,UACC,CAAC,UAAU,KAAK,KACf,UAAU,KAAK,KAAK,MAAM,QAAQ,MAAM,SAAS;AAAA,EACtD;AACF;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,80 +1,80 @@
|
|
|
1
|
-
.
|
|
2
|
-
--
|
|
3
|
-
--
|
|
4
|
-
--
|
|
1
|
+
.k096v44 {
|
|
2
|
+
--k096v40: var(--dt-colors-text-critical-default, #b80031);
|
|
3
|
+
--k096v41: var(--dt-colors-icon-critical-default, #b80031);
|
|
4
|
+
--k096v42: var(--dt-colors-border-critical-default, #f1cdcf);
|
|
5
5
|
}
|
|
6
|
-
.
|
|
7
|
-
--
|
|
8
|
-
--
|
|
9
|
-
--
|
|
6
|
+
.k096v45 {
|
|
7
|
+
--k096v40: var(--dt-colors-text-neutral-default, #2b2a58);
|
|
8
|
+
--k096v41: var(--dt-colors-icon-neutral-default, #2b2a58);
|
|
9
|
+
--k096v42: var(--dt-colors-border-neutral-default, #d2d3e1);
|
|
10
10
|
}
|
|
11
|
-
.
|
|
12
|
-
--
|
|
13
|
-
--
|
|
14
|
-
--
|
|
11
|
+
.k096v46 {
|
|
12
|
+
--k096v40: var(--dt-colors-text-primary-default, #454cc9);
|
|
13
|
+
--k096v41: var(--dt-colors-icon-primary-default, #454cc9);
|
|
14
|
+
--k096v42: var(--dt-colors-border-primary-default, #ccd3f3);
|
|
15
15
|
}
|
|
16
|
-
.
|
|
17
|
-
--
|
|
18
|
-
--
|
|
19
|
-
--
|
|
16
|
+
.k096v47 {
|
|
17
|
+
--k096v40: var(--dt-colors-text-success-default, #2c6360);
|
|
18
|
+
--k096v41: var(--dt-colors-icon-success-default, #2c6360);
|
|
19
|
+
--k096v42: var(--dt-colors-border-success-default, #cad6d7);
|
|
20
20
|
}
|
|
21
|
-
.
|
|
22
|
-
--
|
|
23
|
-
--
|
|
24
|
-
--
|
|
21
|
+
.k096v48 {
|
|
22
|
+
--k096v40: var(--dt-colors-text-warning-default, #805100);
|
|
23
|
+
--k096v41: var(--dt-colors-icon-warning-default, #805100);
|
|
24
|
+
--k096v42: var(--dt-colors-border-warning-default, #f4e5d5);
|
|
25
25
|
}
|
|
26
|
-
.
|
|
27
|
-
--
|
|
28
|
-
--
|
|
29
|
-
--
|
|
26
|
+
.k096v49 {
|
|
27
|
+
--k096v40: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
|
|
28
|
+
--k096v41: var(--dt-colors-icon-neutral-on-accent-default, #f3f3f6);
|
|
29
|
+
--k096v42: var(--dt-colors-border-neutral-on-accent-default, #f3f3f6);
|
|
30
30
|
}
|
|
31
|
-
.
|
|
32
|
-
--
|
|
33
|
-
--
|
|
34
|
-
--
|
|
31
|
+
.k096v4e {
|
|
32
|
+
--k096v40: var(--dt-colors-text-primary-on-accent-default, #f4f4fb);
|
|
33
|
+
--k096v41: var(--dt-colors-icon-primary-on-accent-default, #f4f4fb);
|
|
34
|
+
--k096v42: var(--dt-colors-border-primary-accent, #454cc9);
|
|
35
35
|
}
|
|
36
|
-
.
|
|
37
|
-
--
|
|
38
|
-
--
|
|
39
|
-
--
|
|
36
|
+
.k096v4f {
|
|
37
|
+
--k096v40: var(--dt-colors-text-success-on-accent-default, #f1f4f4);
|
|
38
|
+
--k096v41: var(--dt-colors-icon-success-on-accent-default, #f1f4f4);
|
|
39
|
+
--k096v42: var(--dt-colors-border-success-accent, #2c6360);
|
|
40
40
|
}
|
|
41
|
-
.
|
|
42
|
-
--
|
|
43
|
-
--
|
|
44
|
-
--
|
|
41
|
+
.k096v4g {
|
|
42
|
+
--k096v40: var(--dt-colors-text-warning-on-accent-default, #272025);
|
|
43
|
+
--k096v41: var(--dt-colors-icon-warning-on-accent-default, #272025);
|
|
44
|
+
--k096v42: var(--dt-colors-border-warning-accent, #805100);
|
|
45
45
|
}
|
|
46
|
-
.
|
|
47
|
-
--
|
|
48
|
-
--
|
|
49
|
-
--
|
|
46
|
+
.k096v4h {
|
|
47
|
+
--k096v40: var(--dt-colors-text-critical-on-accent-default, #f9f1f3);
|
|
48
|
+
--k096v41: var(--dt-colors-icon-critical-on-accent-default, #f9f1f3);
|
|
49
|
+
--k096v42: var(--dt-colors-border-critical-accent, #b80031);
|
|
50
50
|
}
|
|
51
|
-
.
|
|
52
|
-
--
|
|
53
|
-
--
|
|
54
|
-
--
|
|
51
|
+
.k096v4i {
|
|
52
|
+
--k096v40: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
|
|
53
|
+
--k096v41: var(--dt-colors-icon-neutral-on-accent-default, #f3f3f6);
|
|
54
|
+
--k096v42: var(--dt-colors-border-neutral-accent, #545587);
|
|
55
55
|
}
|
|
56
|
-
.
|
|
57
|
-
--
|
|
58
|
-
--
|
|
59
|
-
--
|
|
56
|
+
.k096v4j {
|
|
57
|
+
--k096v40: var(--dt-colors-text-primary-disabled, #54558780);
|
|
58
|
+
--k096v41: var(--dt-colors-icon-primary-disabled, #54558780);
|
|
59
|
+
--k096v42: var(--dt-colors-border-primary-disabled, #d2d3e180);
|
|
60
60
|
}
|
|
61
|
-
.
|
|
62
|
-
--
|
|
63
|
-
--
|
|
64
|
-
--
|
|
61
|
+
.k096v4k {
|
|
62
|
+
--k096v40: var(--dt-colors-text-success-disabled, #54558780);
|
|
63
|
+
--k096v41: var(--dt-colors-icon-success-disabled, #54558780);
|
|
64
|
+
--k096v42: var(--dt-colors-border-success-disabled, #d2d3e180);
|
|
65
65
|
}
|
|
66
|
-
.
|
|
67
|
-
--
|
|
68
|
-
--
|
|
69
|
-
--
|
|
66
|
+
.k096v4l {
|
|
67
|
+
--k096v40: var(--dt-colors-text-warning-disabled, #54558780);
|
|
68
|
+
--k096v41: var(--dt-colors-icon-warning-disabled, #54558780);
|
|
69
|
+
--k096v42: var(--dt-colors-border-warning-disabled, #d2d3e180);
|
|
70
70
|
}
|
|
71
|
-
.
|
|
72
|
-
--
|
|
73
|
-
--
|
|
74
|
-
--
|
|
71
|
+
.k096v4m {
|
|
72
|
+
--k096v40: var(--dt-colors-text-critical-disabled, #54558780);
|
|
73
|
+
--k096v41: var(--dt-colors-icon-critical-disabled, #54558780);
|
|
74
|
+
--k096v42: var(--dt-colors-border-critical-disabled, #d2d3e180);
|
|
75
75
|
}
|
|
76
|
-
.
|
|
77
|
-
--
|
|
78
|
-
--
|
|
79
|
-
--
|
|
76
|
+
.k096v4n {
|
|
77
|
+
--k096v40: var(--dt-colors-text-neutral-disabled, #54558780);
|
|
78
|
+
--k096v41: var(--dt-colors-icon-neutral-disabled, #54558780);
|
|
79
|
+
--k096v42: var(--dt-colors-border-neutral-disabled, #d2d3e180);
|
|
80
80
|
}
|
|
@@ -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: "
|
|
4
|
-
var colorUtilsVars = { text: "var(--
|
|
3
|
+
var colorUtilsCSS = _7a468({ defaultClassName: "k096v43", variantClassNames: { color: { critical: "k096v44", neutral: "k096v45", primary: "k096v46", success: "k096v47", warning: "k096v48", onAccent: "k096v49" }, variant: { "default": "k096v4a", accent: "k096v4b" }, disabled: { true: "k096v4c", false: "k096v4d" } }, defaultVariants: {}, compoundVariants: [[{ color: "primary", variant: "accent" }, "k096v4e"], [{ color: "success", variant: "accent" }, "k096v4f"], [{ color: "warning", variant: "accent" }, "k096v4g"], [{ color: "critical", variant: "accent" }, "k096v4h"], [{ color: "neutral", variant: "accent" }, "k096v4i"], [{ color: "primary", disabled: true }, "k096v4j"], [{ color: "success", disabled: true }, "k096v4k"], [{ color: "warning", disabled: true }, "k096v4l"], [{ color: "critical", disabled: true }, "k096v4m"], [{ color: "neutral", disabled: true }, "k096v4n"]] });
|
|
4
|
+
var colorUtilsVars = { text: "var(--k096v40)", icon: "var(--k096v41)", borderColor: "var(--k096v42)" };
|
|
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:'
|
|
5
|
-
"mappings": "AAAA,OAAO;AACP,SAAS,mBAAmB,cAAc;AACnC,IAAI,gBAAgB,OAAO,EAAC,kBAAiB,
|
|
4
|
+
"sourcesContent": ["import './colorUtils.css';\nimport { createRuntimeFn as _7a468 } from '@vanilla-extract/recipes/createRuntimeFn';\nexport var colorUtilsCSS = _7a468({defaultClassName:'k096v43',variantClassNames:{color:{critical:'k096v44',neutral:'k096v45',primary:'k096v46',success:'k096v47',warning:'k096v48',onAccent:'k096v49'},variant:{'default':'k096v4a',accent:'k096v4b'},disabled:{true:'k096v4c',false:'k096v4d'}},defaultVariants:{},compoundVariants:[[{color:'primary',variant:'accent'},'k096v4e'],[{color:'success',variant:'accent'},'k096v4f'],[{color:'warning',variant:'accent'},'k096v4g'],[{color:'critical',variant:'accent'},'k096v4h'],[{color:'neutral',variant:'accent'},'k096v4i'],[{color:'primary',disabled:true},'k096v4j'],[{color:'success',disabled:true},'k096v4k'],[{color:'warning',disabled:true},'k096v4l'],[{color:'critical',disabled:true},'k096v4m'],[{color:'neutral',disabled:true},'k096v4n']]});\nexport var colorUtilsVars = {text:'var(--k096v40)',icon:'var(--k096v41)',borderColor:'var(--k096v42)'};"],
|
|
5
|
+
"mappings": "AAAA,OAAO;AACP,SAAS,mBAAmB,cAAc;AACnC,IAAI,gBAAgB,OAAO,EAAC,kBAAiB,WAAU,mBAAkB,EAAC,OAAM,EAAC,UAAS,WAAU,SAAQ,WAAU,SAAQ,WAAU,SAAQ,WAAU,SAAQ,WAAU,UAAS,UAAS,GAAE,SAAQ,EAAC,WAAU,WAAU,QAAO,UAAS,GAAE,UAAS,EAAC,MAAK,WAAU,OAAM,UAAS,EAAC,GAAE,iBAAgB,CAAC,GAAE,kBAAiB,CAAC,CAAC,EAAC,OAAM,WAAU,SAAQ,SAAQ,GAAE,SAAS,GAAE,CAAC,EAAC,OAAM,WAAU,SAAQ,SAAQ,GAAE,SAAS,GAAE,CAAC,EAAC,OAAM,WAAU,SAAQ,SAAQ,GAAE,SAAS,GAAE,CAAC,EAAC,OAAM,YAAW,SAAQ,SAAQ,GAAE,SAAS,GAAE,CAAC,EAAC,OAAM,WAAU,SAAQ,SAAQ,GAAE,SAAS,GAAE,CAAC,EAAC,OAAM,WAAU,UAAS,KAAI,GAAE,SAAS,GAAE,CAAC,EAAC,OAAM,WAAU,UAAS,KAAI,GAAE,SAAS,GAAE,CAAC,EAAC,OAAM,WAAU,UAAS,KAAI,GAAE,SAAS,GAAE,CAAC,EAAC,OAAM,YAAW,UAAS,KAAI,GAAE,SAAS,GAAE,CAAC,EAAC,OAAM,WAAU,UAAS,KAAI,GAAE,SAAS,CAAC,EAAC,CAAC;AACzwB,IAAI,iBAAiB,EAAC,MAAK,kBAAiB,MAAK,kBAAiB,aAAY,iBAAgB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/core/utils/focus-management/attempt-focus.ts"],
|
|
4
|
-
"sourcesContent": ["import { isFocusable } from './is-focusable.js';\n\n/**\n * @internal\n *\n * Set Attempt to set focus on the current node.\n * @param element - The node to attempt to focus on.\n * @returns - true if element is focused.\n */\nexport const attemptFocus = (element: HTMLElement) => {\n if (!isFocusable(element)) {\n return false;\n }\n\n try {\n element.focus({ preventScroll: true });\n } catch
|
|
5
|
-
"mappings": "AAAA,SAAS,mBAAmB;AASrB,MAAM,eAAe,CAAC,YAAyB;AACpD,MAAI,CAAC,YAAY,OAAO,GAAG;AACzB,WAAO;AAAA,EACT;AAEA,MAAI;AACF,YAAQ,MAAM,EAAE,eAAe,KAAK,CAAC;AAAA,EACvC,
|
|
4
|
+
"sourcesContent": ["import { isFocusable } from './is-focusable.js';\n\n/**\n * @internal\n *\n * Set Attempt to set focus on the current node.\n * @param element - The node to attempt to focus on.\n * @returns - true if element is focused.\n */\nexport const attemptFocus = (element: HTMLElement) => {\n if (!isFocusable(element)) {\n return false;\n }\n\n try {\n element.focus({ preventScroll: true });\n } catch {\n // continue regardless of error\n }\n\n return document.activeElement === element;\n};\n"],
|
|
5
|
+
"mappings": "AAAA,SAAS,mBAAmB;AASrB,MAAM,eAAe,CAAC,YAAyB;AACpD,MAAI,CAAC,YAAY,OAAO,GAAG;AACzB,WAAO;AAAA,EACT;AAEA,MAAI;AACF,YAAQ,MAAM,EAAE,eAAe,KAAK,CAAC;AAAA,EACvC,QAAQ;AAAA,EAER;AAEA,SAAO,SAAS,kBAAkB;AACpC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/core/utils/merge-props.ts"],
|
|
4
|
-
"sourcesContent": ["/* eslint-disable @typescript-eslint/no-explicit-any */\n\n/**\n * Calls all functions in the order they were chained with the same arguments.\n */\nfunction chain(...callbacks: any[]): (...args: any[]) => void {\n return (...args: any[]) => {\n for (const callback of callbacks) {\n if (typeof callback === 'function') {\n callback(...args);\n }\n }\n };\n}\n\n// taken from: https://stackoverflow.com/questions/51603250/typescript-3-parameter-list-intersection-type/51604379#51604379\n/**\n * Internal helper mapper type for mergeProps.\n * @internal\n */\nexport type TupleTypes<T> = { [P in keyof T]: T[P] } extends {\n [key: number]: infer V;\n}\n ? NullToObject<V>\n : never;\n\n/**\n * Internal helper mapper type for mergeProps.\n * @internal\n */\n// eslint-disable-next-line @typescript-eslint/
|
|
4
|
+
"sourcesContent": ["/* eslint-disable @typescript-eslint/no-explicit-any */\n\n/**\n * Calls all functions in the order they were chained with the same arguments.\n */\nfunction chain(...callbacks: any[]): (...args: any[]) => void {\n return (...args: any[]) => {\n for (const callback of callbacks) {\n if (typeof callback === 'function') {\n callback(...args);\n }\n }\n };\n}\n\n// taken from: https://stackoverflow.com/questions/51603250/typescript-3-parameter-list-intersection-type/51604379#51604379\n/**\n * Internal helper mapper type for mergeProps.\n * @internal\n */\nexport type TupleTypes<T> = { [P in keyof T]: T[P] } extends {\n [key: number]: infer V;\n}\n ? NullToObject<V>\n : never;\n\n/**\n * Internal helper mapper type for mergeProps.\n * @internal\n */\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport type NullToObject<T> = T extends null | undefined ? {} : T;\n\n/**\n * Internal helper mapper type for mergeProps.\n * @internal\n */\n// eslint-disable-next-line no-undef, @typescript-eslint/no-unused-vars\nexport type UnionToIntersection<U> = (\n U extends any ? (k: U) => void : never\n) extends (k: infer I) => void\n ? I\n : never;\n\n/**\n * Merges multiple props objects together. Event handlers are chained,\n * classNames are combined, and ids are deduplicated - different ids\n * will trigger a side-effect and re-render components hooked up with `useId`.\n * For all other props, the last prop object overrides all previous ones.\n * @param args - Multiple sets of props to merge together.\n * @internal\n */\nexport function mergeProps<\n T extends (\n | {\n [key: string]: any;\n }\n | null\n | undefined\n )[],\n>(...args: T): UnionToIntersection<TupleTypes<T>> {\n // Start with a base clone of the first argument. This is a lot faster than starting\n // with an empty object and adding properties as we go.\n const result = { ...args[0] };\n for (let i = 1; i < args.length; i++) {\n const props = args[i];\n for (const key in props) {\n const a = result[key];\n const b = props[key];\n\n // Chain events\n if (\n typeof a === 'function' &&\n typeof b === 'function' &&\n // This is a lot faster than a regex.\n key[0] === 'o' &&\n key[1] === 'n' &&\n key.charCodeAt(2) >= /* 'A' */ 65 &&\n key.charCodeAt(2) <= /* 'Z' */ 90\n ) {\n result[key] = chain(a, b);\n } else {\n result[key] = b !== undefined ? b : a;\n }\n }\n }\n\n return result as UnionToIntersection<TupleTypes<T>>;\n}\n"],
|
|
5
5
|
"mappings": "AAKA,SAAS,SAAS,WAA4C;AAC5D,SAAO,IAAI,SAAgB;AACzB,eAAW,YAAY,WAAW;AAChC,UAAI,OAAO,aAAa,YAAY;AAClC,iBAAS,GAAG,IAAI;AAAA,MAClB;AAAA,IACF;AAAA,EACF;AACF;AAuCO,SAAS,cAQX,MAA6C;AAGhD,QAAM,SAAS,EAAE,GAAG,KAAK,CAAC,EAAE;AAC5B,WAAS,IAAI,GAAG,IAAI,KAAK,QAAQ,KAAK;AACpC,UAAM,QAAQ,KAAK,CAAC;AACpB,eAAW,OAAO,OAAO;AACvB,YAAM,IAAI,OAAO,GAAG;AACpB,YAAM,IAAI,MAAM,GAAG;AAGnB,UACE,OAAO,MAAM,cACb,OAAO,MAAM;AAAA,MAEb,IAAI,CAAC,MAAM,OACX,IAAI,CAAC,MAAM,OACX,IAAI,WAAW,CAAC;AAAA,MAAe,MAC/B,IAAI,WAAW,CAAC;AAAA,MAAe,IAC/B;AACA,eAAO,GAAG,IAAI,MAAM,GAAG,CAAC;AAAA,MAC1B,OAAO;AACL,eAAO,GAAG,IAAI,MAAM,SAAY,IAAI;AAAA,MACtC;AAAA,IACF;AAAA,EACF;AAEA,SAAO;AACT;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
function parseBoolean(booleanish) {
|
|
2
|
+
if (booleanish === void 0) {
|
|
3
|
+
return;
|
|
4
|
+
}
|
|
5
|
+
if (typeof booleanish === "boolean") {
|
|
6
|
+
return booleanish;
|
|
7
|
+
}
|
|
8
|
+
return booleanish === "true";
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
parseBoolean
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=parse-boolean.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../../src/core/utils/parse-boolean.ts"],
|
|
4
|
+
"sourcesContent": ["/**\n * Converts a `Booleanish` value to `boolean` or `undefined`.\n *\n * Booleanish is used by react to type attributes like `aria-disabled`\n *\n * @internal\n * @see {@link https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/react/index.d.ts#L27 | `Booleanish` from @types/react}\n */\nexport function parseBoolean(\n booleanish: boolean | 'true' | 'false' | undefined,\n): boolean | undefined {\n if (booleanish === undefined) {\n return;\n }\n if (typeof booleanish === 'boolean') {\n return booleanish;\n }\n return booleanish === 'true';\n}\n"],
|
|
5
|
+
"mappings": "AAQO,SAAS,aACd,YACqB;AACrB,MAAI,eAAe,QAAW;AAC5B;AAAA,EACF;AACA,MAAI,OAAO,eAAe,WAAW;AACnC,WAAO;AAAA,EACT;AACA,SAAO,eAAe;AACxB;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
.
|
|
1
|
+
.f32lcd0 {
|
|
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, 12px);
|
|
5
|
-
color: var(--
|
|
6
|
-
border-color: var(--
|
|
7
|
-
background-color: var(--
|
|
5
|
+
color: var(--_6levse0);
|
|
6
|
+
border-color: var(--_6levse2);
|
|
7
|
+
background-color: var(--_6levse1);
|
|
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 = '
|
|
4
|
+
"sourcesContent": ["import '../../styles/container.css';\nimport './Container.css';\nexport var containerCSS = 'f32lcd0';"],
|
|
5
5
|
"mappings": "AAAA,OAAO;AACP,OAAO;AACA,IAAI,eAAe;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
.
|
|
1
|
+
._1thxv8m0 {
|
|
2
2
|
border: none;
|
|
3
3
|
margin: 0;
|
|
4
4
|
overflow-wrap: break-word;
|
|
5
|
-
background-color: var(--
|
|
5
|
+
background-color: var(--k096v42);
|
|
6
6
|
}
|
|
7
|
-
.
|
|
7
|
+
._1thxv8m1 {
|
|
8
8
|
width: 100%;
|
|
9
9
|
height: var(--dt-borders-width-default, 1px);
|
|
10
10
|
}
|
|
11
|
-
.
|
|
11
|
+
._1thxv8m2 {
|
|
12
12
|
width: var(--dt-borders-width-default, 1px);
|
|
13
13
|
height: 100%;
|
|
14
14
|
}
|
|
15
|
-
.
|
|
15
|
+
._1thxv8m5 {
|
|
16
16
|
flex-shrink: 0;
|
|
17
17
|
}
|
|
18
|
-
.
|
|
18
|
+
._1thxv8m6 {
|
|
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: "
|
|
4
|
+
var dividerCSS = _7a468({ defaultClassName: "_1thxv8m0", variantClassNames: { orientation: { horizontal: "_1thxv8m1", vertical: "_1thxv8m2" }, flexItem: { true: "_1thxv8m3", false: "_1thxv8m4" } }, defaultVariants: {}, compoundVariants: [[{ orientation: "horizontal", flexItem: false }, "_1thxv8m5"], [{ orientation: "vertical", flexItem: true }, "_1thxv8m6"]] });
|
|
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:'
|
|
5
|
-
"mappings": "AAAA,OAAO;AACP,OAAO;AACP,SAAS,mBAAmB,cAAc;AACnC,IAAI,aAAa,OAAO,EAAC,kBAAiB,
|
|
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',variantClassNames:{orientation:{horizontal:'_1thxv8m1',vertical:'_1thxv8m2'},flexItem:{true:'_1thxv8m3',false:'_1thxv8m4'}},defaultVariants:{},compoundVariants:[[{orientation:'horizontal',flexItem:false},'_1thxv8m5'],[{orientation:'vertical',flexItem:true},'_1thxv8m6']]});"],
|
|
5
|
+
"mappings": "AAAA,OAAO;AACP,OAAO;AACP,SAAS,mBAAmB,cAAc;AACnC,IAAI,aAAa,OAAO,EAAC,kBAAiB,aAAY,mBAAkB,EAAC,aAAY,EAAC,YAAW,aAAY,UAAS,YAAW,GAAE,UAAS,EAAC,MAAK,aAAY,OAAM,YAAW,EAAC,GAAE,iBAAgB,CAAC,GAAE,kBAAiB,CAAC,CAAC,EAAC,aAAY,cAAa,UAAS,MAAK,GAAE,WAAW,GAAE,CAAC,EAAC,aAAY,YAAW,UAAS,KAAI,GAAE,WAAW,CAAC,EAAC,CAAC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/esm/layouts/index.js
CHANGED
|
@@ -5,12 +5,18 @@ import { Container } from "./container/Container.js";
|
|
|
5
5
|
import { Surface } from "./surface/Surface.js";
|
|
6
6
|
import { surfaceBorderRadius } from "./surface/variables.sty.js";
|
|
7
7
|
import { useBreakpoint } from "./hooks/useBreakpoint.js";
|
|
8
|
+
import {
|
|
9
|
+
inputGroupChildCSS,
|
|
10
|
+
inputGroupCSS
|
|
11
|
+
} from "./input-group/InputGroup.sty.js";
|
|
8
12
|
export {
|
|
9
13
|
Container,
|
|
10
14
|
Divider,
|
|
11
15
|
Flex,
|
|
12
16
|
Grid,
|
|
13
17
|
Surface,
|
|
18
|
+
inputGroupCSS as _inputGroupCSS,
|
|
19
|
+
inputGroupChildCSS as _inputGroupChildCSS,
|
|
14
20
|
surfaceBorderRadius as _surfaceBorderRadius,
|
|
15
21
|
useBreakpoint
|
|
16
22
|
};
|
package/esm/layouts/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/layouts/index.ts"],
|
|
4
|
-
"sourcesContent": ["export { Flex, type FlexOwnProps, type FlexProps } from './flex/Flex.js';\nexport { Grid, type GridOwnProps, type GridProps } from './grid/Grid.js';\nexport { Divider } from './divider/Divider.js';\nexport type { DividerProps } from './divider/Divider.js';\nexport { Container } from './container/Container.js';\nexport type {\n ContainerOwnProps,\n ContainerProps,\n} from './container/Container.js';\nexport type { LayoutSizeCSS } from './types/layout.types.js';\nexport { Surface } from './surface/Surface.js';\nexport type { SurfaceOwnProps, SurfaceProps } from './surface/Surface.js';\nexport { surfaceBorderRadius as _surfaceBorderRadius } from './surface/variables.sty.js';\nexport { useBreakpoint } from './hooks/useBreakpoint.js';\n"],
|
|
5
|
-
"mappings": "AAAA,SAAS,YAA+C;AACxD,SAAS,YAA+C;AACxD,SAAS,eAAe;AAExB,SAAS,iBAAiB;AAM1B,SAAS,eAAe;AAExB,SAAgC,2BAA4B;AAC5D,SAAS,qBAAqB;",
|
|
4
|
+
"sourcesContent": ["export { Flex, type FlexOwnProps, type FlexProps } from './flex/Flex.js';\nexport { Grid, type GridOwnProps, type GridProps } from './grid/Grid.js';\nexport { Divider } from './divider/Divider.js';\nexport type { DividerProps } from './divider/Divider.js';\nexport { Container } from './container/Container.js';\nexport type {\n ContainerOwnProps,\n ContainerProps,\n} from './container/Container.js';\nexport type { LayoutSizeCSS } from './types/layout.types.js';\nexport { Surface } from './surface/Surface.js';\nexport type { SurfaceOwnProps, SurfaceProps } from './surface/Surface.js';\nexport { surfaceBorderRadius as _surfaceBorderRadius } from './surface/variables.sty.js';\nexport { useBreakpoint } from './hooks/useBreakpoint.js';\nexport {\n inputGroupChildCSS as _inputGroupChildCSS,\n inputGroupCSS as _inputGroupCSS,\n} from './input-group/InputGroup.sty.js';\n"],
|
|
5
|
+
"mappings": "AAAA,SAAS,YAA+C;AACxD,SAAS,YAA+C;AACxD,SAAS,eAAe;AAExB,SAAS,iBAAiB;AAM1B,SAAS,eAAe;AAExB,SAAgC,2BAA4B;AAC5D,SAAS,qBAAqB;AAC9B;AAAA,EACwB;AAAA,EACL;AAAA,OACZ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
|
|
2
|
+
._1x4bl8z0 > ._1x4bl8z1:not(:last-child),
|
|
3
|
+
._1x4bl8z0 > *:not(:last-child) :is(._1x4bl8z1, .cm-editor) {
|
|
4
|
+
border-top-right-radius: 0;
|
|
5
|
+
border-bottom-right-radius: 0;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
._1x4bl8z0 > ._1x4bl8z1:not(:first-child),
|
|
9
|
+
._1x4bl8z0 > *:not(:first-child) :is(._1x4bl8z1, .cm-editor) {
|
|
10
|
+
border-top-left-radius: 0;
|
|
11
|
+
border-bottom-left-radius: 0;
|
|
12
|
+
}
|