@dynatrace/strato-components 0.85.60 → 0.85.100
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.sty.js +4 -4
- package/buttons/intent-button/IntentButton.d.ts +2 -2
- package/buttons/intent-button/IntentButton.js +5 -2
- package/buttons/intent-button/useIntentButton.js +4 -1
- package/content/progress/ProgressBar.css +14 -14
- package/content/progress/ProgressBar.d.ts +6 -0
- package/content/progress/ProgressBar.js +61 -51
- 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.d.ts +6 -0
- package/content/progress/ProgressCircle.js +5 -2
- 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/styles/focusRing.css +66 -79
- package/core/styles/focusRing.sty.d.ts +0 -10
- package/core/styles/focusRing.sty.js +2 -2
- package/core/styles/useFocusRing.d.ts +1 -3
- package/core/styles/useFocusRing.js +1 -10
- package/core/types/role-variant.d.ts +2 -0
- package/core/utils/colorUtils.css +64 -64
- package/core/utils/colorUtils.sty.js +2 -2
- package/core/utils/isBrowser.js +3 -1
- package/esm/buttons/button/Button.css +17 -17
- package/esm/buttons/button/Button.sty.js +4 -4
- package/esm/buttons/button/Button.sty.js.map +2 -2
- package/esm/buttons/intent-button/IntentButton.js +5 -2
- 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 +14 -14
- package/esm/content/progress/ProgressBar.js +61 -51
- package/esm/content/progress/ProgressBar.js.map +2 -2
- 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.js +5 -2
- package/esm/content/progress/ProgressCircle.js.map +2 -2
- 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/styles/focusRing.css +66 -79
- package/esm/core/styles/focusRing.sty.js +2 -2
- package/esm/core/styles/focusRing.sty.js.map +2 -2
- package/esm/core/styles/useFocusRing.js +1 -10
- package/esm/core/styles/useFocusRing.js.map +2 -2
- package/esm/core/types/role-variant.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/isBrowser.js +3 -1
- package/esm/core/utils/isBrowser.js.map +2 -2
- 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/hooks/useBreakpoint.js.map +2 -2
- package/esm/layouts/input-group/InputGroup.css +4 -4
- package/esm/layouts/input-group/InputGroup.sty.js +2 -2
- package/esm/layouts/input-group/InputGroup.sty.js.map +1 -1
- 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/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 +14 -14
- package/esm/typography/external-link/ExternalLink.js.map +1 -1
- 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 +2 -2
- package/esm/typography/highlight/Highlight.css +1 -1
- package/esm/typography/highlight/Highlight.js.map +2 -2
- 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 +5 -5
- package/esm/typography/link/Link.js.map +1 -1
- 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.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.js +14 -2
- package/esm/typography/text-ellipsis/TextEllipsis.js.map +2 -2
- 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/input-group/InputGroup.css +4 -4
- package/layouts/input-group/InputGroup.sty.js +2 -2
- package/layouts/surface/Surface.css +39 -39
- package/layouts/surface/Surface.sty.js +2 -2
- package/layouts/surface/variables.sty.js +1 -1
- package/package.json +5 -5
- 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/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/custom-render.d.ts +3 -1
- package/testing/jest/jest-preset.d.ts +3 -0
- package/testing/jest/jest-preset.js +3 -0
- package/testing/mocks/bounding-client-rect-mock.d.ts +6 -2
- package/testing/mocks/canvas-mock.d.ts +4 -1
- package/testing/mocks/create-mock-element.d.ts +3 -1
- package/testing/mocks/create-range-mock.d.ts +4 -1
- package/testing/mocks/dom-rect-mock.d.ts +8 -1
- package/testing/mocks/fetch-mock.d.ts +4 -1
- package/testing/mocks/intersection-observer-mock.d.ts +4 -1
- package/testing/mocks/match-media-mock.d.ts +4 -1
- package/testing/mocks/offset-height-mock.d.ts +6 -2
- package/testing/mocks/offset-width-mock.d.ts +6 -2
- package/testing/mocks/pointer-event-mock.d.ts +6 -2
- package/testing/mocks/resize-observer-mock.d.ts +6 -2
- package/testing/mocks/screen-size-mock.d.ts +6 -2
- package/testing/mocks/scroll-into-view-mock.d.ts +2 -0
- package/testing/mocks/scroll-width-mock.d.ts +6 -2
- package/testing/mocks/select-mock.d.ts +1 -0
- package/testing/mocks/table-virtualization-mock.d.ts +4 -1
- package/testing/mocks/text-ellipsis-mock.d.ts +6 -2
- package/testing/setup.d.ts +6 -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 +14 -14
- package/typography/external-link/ExternalLink.d.ts +2 -2
- 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 +1 -1
- package/typography/highlight/Highlight.sty.js +1 -1
- package/typography/link/Link.css +5 -5
- package/typography/link/Link.d.ts +2 -2
- 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.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.js +14 -2
- package/typography/text-ellipsis/TextEllipsis.sty.js +1 -1
- package/content/progress/utils.d.ts +0 -2
- package/content/progress/utils.js +0 -50
- package/esm/content/progress/utils.js +0 -22
- package/esm/content/progress/utils.js.map +0 -7
|
@@ -2,12 +2,12 @@ import "../../styles/colorUtils.css";
|
|
|
2
2
|
import "../../styles/container.css";
|
|
3
3
|
import "./ProgressCircle.css";
|
|
4
4
|
import { createRuntimeFn as _7a468 } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
5
|
-
var ProgressCircleSVGCSS = "
|
|
6
|
-
var progressCircleBackgroundCSS = _7a468({ defaultClassName: "
|
|
7
|
-
var progressCircleCSS = _7a468({ defaultClassName: "
|
|
8
|
-
var progressCircleChildCSS = "
|
|
9
|
-
var progressCircleContainerCSS = _7a468({ defaultClassName: "
|
|
10
|
-
var progressCircleRootCSS = "
|
|
5
|
+
var ProgressCircleSVGCSS = "_kvldjh2-0-85-100";
|
|
6
|
+
var progressCircleBackgroundCSS = _7a468({ defaultClassName: "_kvldjh6-0-85-100", variantClassNames: { variant: { onAccent: "_kvldjh7-0-85-100", primary: "_kvldjh8-0-85-100", success: "_kvldjh9-0-85-100", warning: "_kvldjha-0-85-100", critical: "_kvldjhb-0-85-100", neutral: "_kvldjhc-0-85-100" } }, defaultVariants: {}, compoundVariants: [] });
|
|
7
|
+
var progressCircleCSS = _7a468({ defaultClassName: "_kvldjh3-0-85-100", variantClassNames: { indeterminate: { true: "_kvldjh4-0-85-100", false: "_kvldjh5-0-85-100" } }, defaultVariants: {}, compoundVariants: [] });
|
|
8
|
+
var progressCircleChildCSS = "_kvldjhg-0-85-100";
|
|
9
|
+
var progressCircleContainerCSS = _7a468({ defaultClassName: "_kvldjhd-0-85-100", variantClassNames: { size: { small: "_kvldjhe-0-85-100", large: "_kvldjhf-0-85-100" } }, defaultVariants: {}, compoundVariants: [] });
|
|
10
|
+
var progressCircleRootCSS = "_kvldjh1-0-85-100";
|
|
11
11
|
export {
|
|
12
12
|
ProgressCircleSVGCSS,
|
|
13
13
|
progressCircleBackgroundCSS,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/content/progress/ProgressCircle.css.ts"],
|
|
4
|
-
"sourcesContent": ["import '../../styles/colorUtils.css';\nimport '../../styles/container.css';\nimport './ProgressCircle.css';\nimport { createRuntimeFn as _7a468 } from '@vanilla-extract/recipes/createRuntimeFn';\nexport var ProgressCircleSVGCSS = '
|
|
5
|
-
"mappings": "AAAA,OAAO;AACP,OAAO;AACP,OAAO;AACP,SAAS,mBAAmB,cAAc;AACnC,IAAI,uBAAuB;AAC3B,IAAI,8BAA8B,OAAO,EAAC,kBAAiB,
|
|
4
|
+
"sourcesContent": ["import '../../styles/colorUtils.css';\nimport '../../styles/container.css';\nimport './ProgressCircle.css';\nimport { createRuntimeFn as _7a468 } from '@vanilla-extract/recipes/createRuntimeFn';\nexport var ProgressCircleSVGCSS = '_kvldjh2-0-85-100';\nexport var progressCircleBackgroundCSS = _7a468({defaultClassName:'_kvldjh6-0-85-100',variantClassNames:{variant:{onAccent:'_kvldjh7-0-85-100',primary:'_kvldjh8-0-85-100',success:'_kvldjh9-0-85-100',warning:'_kvldjha-0-85-100',critical:'_kvldjhb-0-85-100',neutral:'_kvldjhc-0-85-100'}},defaultVariants:{},compoundVariants:[]});\nexport var progressCircleCSS = _7a468({defaultClassName:'_kvldjh3-0-85-100',variantClassNames:{indeterminate:{true:'_kvldjh4-0-85-100',false:'_kvldjh5-0-85-100'}},defaultVariants:{},compoundVariants:[]});\nexport var progressCircleChildCSS = '_kvldjhg-0-85-100';\nexport var progressCircleContainerCSS = _7a468({defaultClassName:'_kvldjhd-0-85-100',variantClassNames:{size:{small:'_kvldjhe-0-85-100',large:'_kvldjhf-0-85-100'}},defaultVariants:{},compoundVariants:[]});\nexport var progressCircleRootCSS = '_kvldjh1-0-85-100';"],
|
|
5
|
+
"mappings": "AAAA,OAAO;AACP,OAAO;AACP,OAAO;AACP,SAAS,mBAAmB,cAAc;AACnC,IAAI,uBAAuB;AAC3B,IAAI,8BAA8B,OAAO,EAAC,kBAAiB,qBAAoB,mBAAkB,EAAC,SAAQ,EAAC,UAAS,qBAAoB,SAAQ,qBAAoB,SAAQ,qBAAoB,SAAQ,qBAAoB,UAAS,qBAAoB,SAAQ,oBAAmB,EAAC,GAAE,iBAAgB,CAAC,GAAE,kBAAiB,CAAC,EAAC,CAAC;AAC9T,IAAI,oBAAoB,OAAO,EAAC,kBAAiB,qBAAoB,mBAAkB,EAAC,eAAc,EAAC,MAAK,qBAAoB,OAAM,oBAAmB,EAAC,GAAE,iBAAgB,CAAC,GAAE,kBAAiB,CAAC,EAAC,CAAC;AACnM,IAAI,yBAAyB;AAC7B,IAAI,6BAA6B,OAAO,EAAC,kBAAiB,qBAAoB,mBAAkB,EAAC,MAAK,EAAC,OAAM,qBAAoB,OAAM,oBAAmB,EAAC,GAAE,iBAAgB,CAAC,GAAE,kBAAiB,CAAC,EAAC,CAAC;AACpM,IAAI,wBAAwB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@keyframes _1a1ozfd0 {
|
|
1
|
+
@keyframes _1a1ozfd0-0-85-100 {
|
|
2
2
|
0% {
|
|
3
3
|
transform: translateX(-100%) scaleX(0);
|
|
4
4
|
}
|
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
transform: translateX(100%) scaleX(1.5);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
|
-
._1a1ozfd1 {
|
|
9
|
+
._1a1ozfd1-0-85-100 {
|
|
10
10
|
position: relative;
|
|
11
11
|
overflow: hidden;
|
|
12
12
|
background-color: var(--dt-colors-background-field-neutral-disabled, #dadbe780);
|
|
13
13
|
}
|
|
14
|
-
._1a1ozfd1:after {
|
|
14
|
+
._1a1ozfd1-0-85-100:after {
|
|
15
15
|
content: "";
|
|
16
16
|
position: absolute;
|
|
17
17
|
top: 0;
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
background-color: var(--dt-colors-background-field-neutral-disabled, #dadbe780);
|
|
22
22
|
animation-iteration-count: infinite;
|
|
23
23
|
transform-origin: left center;
|
|
24
|
-
animation-name: _1a1ozfd0;
|
|
24
|
+
animation-name: _1a1ozfd0-0-85-100;
|
|
25
25
|
animation-duration: var(--dt-timings-slow-gentle, 800ms);
|
|
26
26
|
animation-timing-function: var(--dt-easings-fast-in-slow-out, cubic-bezier(0.4, 0, 0.2, 1));
|
|
27
27
|
}
|
|
28
|
-
._1a1ozfd2 {
|
|
28
|
+
._1a1ozfd2-0-85-100 {
|
|
29
29
|
border-radius: var(--dt-borders-radius-container-subdued, 8px);
|
|
30
30
|
}
|
|
31
|
-
._1a1ozfd3 {
|
|
31
|
+
._1a1ozfd3-0-85-100 {
|
|
32
32
|
border-radius: 9999px;
|
|
33
33
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./Skeleton.css";
|
|
2
2
|
import { createRuntimeFn as _7a468 } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
3
|
-
var skeletonPlaceholderCSS = _7a468({ defaultClassName: "_1a1ozfd1", variantClassNames: { variant: { "default": "_1a1ozfd2", rounded: "_1a1ozfd3" } }, defaultVariants: {}, compoundVariants: [] });
|
|
3
|
+
var skeletonPlaceholderCSS = _7a468({ defaultClassName: "_1a1ozfd1-0-85-100", variantClassNames: { variant: { "default": "_1a1ozfd2-0-85-100", rounded: "_1a1ozfd3-0-85-100" } }, defaultVariants: {}, compoundVariants: [] });
|
|
4
4
|
export {
|
|
5
5
|
skeletonPlaceholderCSS
|
|
6
6
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/content/skeleton/Skeleton.css.ts"],
|
|
4
|
-
"sourcesContent": ["import './Skeleton.css';\nimport { createRuntimeFn as _7a468 } from '@vanilla-extract/recipes/createRuntimeFn';\nexport var skeletonPlaceholderCSS = _7a468({defaultClassName:'_1a1ozfd1',variantClassNames:{variant:{'default':'_1a1ozfd2',rounded:'_1a1ozfd3'}},defaultVariants:{},compoundVariants:[]});"],
|
|
5
|
-
"mappings": "AAAA,OAAO;AACP,SAAS,mBAAmB,cAAc;AACnC,IAAI,yBAAyB,OAAO,EAAC,kBAAiB,
|
|
4
|
+
"sourcesContent": ["import './Skeleton.css';\nimport { createRuntimeFn as _7a468 } from '@vanilla-extract/recipes/createRuntimeFn';\nexport var skeletonPlaceholderCSS = _7a468({defaultClassName:'_1a1ozfd1-0-85-100',variantClassNames:{variant:{'default':'_1a1ozfd2-0-85-100',rounded:'_1a1ozfd3-0-85-100'}},defaultVariants:{},compoundVariants:[]});"],
|
|
5
|
+
"mappings": "AAAA,OAAO;AACP,SAAS,mBAAmB,cAAc;AACnC,IAAI,yBAAyB,OAAO,EAAC,kBAAiB,sBAAqB,mBAAkB,EAAC,SAAQ,EAAC,WAAU,sBAAqB,SAAQ,qBAAoB,EAAC,GAAE,iBAAgB,CAAC,GAAE,kBAAiB,CAAC,EAAC,CAAC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,88 +1,75 @@
|
|
|
1
|
-
.
|
|
1
|
+
._z2r50s3-0-85-100 {
|
|
2
2
|
outline: none;
|
|
3
3
|
}
|
|
4
|
-
.
|
|
4
|
+
._z2r50s3-0-85-100:focus-visible {
|
|
5
5
|
outline: none;
|
|
6
6
|
}
|
|
7
|
-
.
|
|
7
|
+
._z2r50s4-0-85-100 {
|
|
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
|
-
--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 {
|
|
9
|
+
box-shadow: inset 0 0 0 var(--dt-borders-width-default, 1px) var(--_z2r50s0-0-85-100);
|
|
10
|
+
background-color: var(--_z2r50s2-0-85-100);
|
|
11
|
+
}
|
|
12
|
+
._z2r50s5-0-85-100._z2r50s5-0-85-100 {
|
|
13
|
+
box-shadow: inset 0 0 0 var(--dt-borders-width-emphasized, 2px) var(--_z2r50s0-0-85-100), inset 0 0 0 calc(var(--dt-borders-width-emphasized, 2px) + 1px) var(--_z2r50s1-0-85-100);
|
|
14
|
+
}
|
|
15
|
+
._z2r50s6-0-85-100 {
|
|
16
|
+
--_z2r50s0-0-85-100: var(--dt-colors-border-neutral-accent, #545587);
|
|
17
|
+
--_z2r50s1-0-85-100: var(--dt-colors-border-neutral-default, #d2d3e1);
|
|
18
|
+
--_z2r50s2-0-85-100: var(--dt-colors-background-field-neutral-emphasized, #dadbe7);
|
|
19
|
+
}
|
|
20
|
+
._z2r50s7-0-85-100 {
|
|
21
|
+
--_z2r50s0-0-85-100: var(--dt-colors-border-primary-accent, #454cc9);
|
|
22
|
+
--_z2r50s1-0-85-100: var(--dt-colors-border-primary-default, #ccd3f3);
|
|
23
|
+
--_z2r50s2-0-85-100: var(--dt-colors-background-field-primary-emphasized, #d6dbf4);
|
|
24
|
+
}
|
|
25
|
+
._z2r50s8-0-85-100 {
|
|
26
|
+
--_z2r50s0-0-85-100: var(--dt-colors-border-success-accent, #2c6360);
|
|
27
|
+
--_z2r50s1-0-85-100: var(--dt-colors-border-success-default, #cad6d7);
|
|
28
|
+
--_z2r50s2-0-85-100: var(--dt-colors-background-field-success-emphasized, #d4dddf);
|
|
29
|
+
}
|
|
30
|
+
._z2r50s9-0-85-100 {
|
|
31
|
+
--_z2r50s0-0-85-100: var(--dt-colors-border-warning-accent, #805100);
|
|
32
|
+
--_z2r50s1-0-85-100: var(--dt-colors-border-warning-default, #f4e5d5);
|
|
33
|
+
--_z2r50s2-0-85-100: var(--dt-colors-background-field-warning-emphasized, #f4e8de);
|
|
34
|
+
}
|
|
35
|
+
._z2r50sa-0-85-100 {
|
|
36
|
+
--_z2r50s0-0-85-100: var(--dt-colors-border-critical-accent, #b80031);
|
|
37
|
+
--_z2r50s1-0-85-100: var(--dt-colors-border-critical-default, #f1cdcf);
|
|
38
|
+
--_z2r50s2-0-85-100: var(--dt-colors-background-field-critical-emphasized, #f2d7d9);
|
|
39
|
+
}
|
|
40
|
+
._z2r50sb-0-85-100:focus-within {
|
|
46
41
|
outline: none;
|
|
47
|
-
:focus-visible {
|
|
48
|
-
outline: none;
|
|
49
|
-
}
|
|
50
42
|
}
|
|
51
|
-
.
|
|
43
|
+
._z2r50sc-0-85-100:focus-within {
|
|
52
44
|
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
|
-
.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);
|
|
45
|
+
box-shadow: inset 0 0 0 var(--dt-borders-width-default, 1px) var(--_z2r50s0-0-85-100);
|
|
46
|
+
background-color: var(--_z2r50s2-0-85-100);
|
|
47
|
+
}
|
|
48
|
+
._z2r50sd-0-85-100:focus-within {
|
|
49
|
+
box-shadow: inset 0 0 0 var(--dt-borders-width-emphasized, 2px) var(--_z2r50s0-0-85-100), inset 0 0 0 calc(var(--dt-borders-width-emphasized, 2px) + 1px) var(--_z2r50s1-0-85-100);
|
|
50
|
+
}
|
|
51
|
+
._z2r50se-0-85-100 {
|
|
52
|
+
--_z2r50s0-0-85-100: var(--dt-colors-border-neutral-accent, #545587);
|
|
53
|
+
--_z2r50s1-0-85-100: var(--dt-colors-border-neutral-default, #d2d3e1);
|
|
54
|
+
--_z2r50s2-0-85-100: var(--dt-colors-background-field-neutral-emphasized, #dadbe7);
|
|
55
|
+
}
|
|
56
|
+
._z2r50sf-0-85-100 {
|
|
57
|
+
--_z2r50s0-0-85-100: var(--dt-colors-border-primary-accent, #454cc9);
|
|
58
|
+
--_z2r50s1-0-85-100: var(--dt-colors-border-primary-default, #ccd3f3);
|
|
59
|
+
--_z2r50s2-0-85-100: var(--dt-colors-background-field-primary-emphasized, #d6dbf4);
|
|
60
|
+
}
|
|
61
|
+
._z2r50sg-0-85-100 {
|
|
62
|
+
--_z2r50s0-0-85-100: var(--dt-colors-border-success-accent, #2c6360);
|
|
63
|
+
--_z2r50s1-0-85-100: var(--dt-colors-border-success-default, #cad6d7);
|
|
64
|
+
--_z2r50s2-0-85-100: var(--dt-colors-background-field-success-emphasized, #d4dddf);
|
|
65
|
+
}
|
|
66
|
+
._z2r50sh-0-85-100 {
|
|
67
|
+
--_z2r50s0-0-85-100: var(--dt-colors-border-warning-accent, #805100);
|
|
68
|
+
--_z2r50s1-0-85-100: var(--dt-colors-border-warning-default, #f4e5d5);
|
|
69
|
+
--_z2r50s2-0-85-100: var(--dt-colors-background-field-warning-emphasized, #f4e8de);
|
|
70
|
+
}
|
|
71
|
+
._z2r50si-0-85-100 {
|
|
72
|
+
--_z2r50s0-0-85-100: var(--dt-colors-border-critical-accent, #b80031);
|
|
73
|
+
--_z2r50s1-0-85-100: var(--dt-colors-border-critical-default, #f1cdcf);
|
|
74
|
+
--_z2r50s2-0-85-100: var(--dt-colors-background-field-critical-emphasized, #f2d7d9);
|
|
88
75
|
}
|
|
@@ -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-0-85-100", variantClassNames: { minimal: { true: "_z2r50s4-0-85-100", false: "_z2r50s5-0-85-100" }, variant: { neutral: "_z2r50s6-0-85-100", primary: "_z2r50s7-0-85-100", success: "_z2r50s8-0-85-100", warning: "_z2r50s9-0-85-100", critical: "_z2r50sa-0-85-100" } }, defaultVariants: {}, compoundVariants: [] });
|
|
4
|
+
var focusRingFocusWithinCSS = _7a468({ defaultClassName: "_z2r50sb-0-85-100", variantClassNames: { minimal: { true: "_z2r50sc-0-85-100", false: "_z2r50sd-0-85-100" }, variant: { neutral: "_z2r50se-0-85-100", primary: "_z2r50sf-0-85-100", success: "_z2r50sg-0-85-100", warning: "_z2r50sh-0-85-100", critical: "_z2r50si-0-85-100" } }, 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-0-85-100',variantClassNames:{minimal:{true:'_z2r50s4-0-85-100',false:'_z2r50s5-0-85-100'},variant:{neutral:'_z2r50s6-0-85-100',primary:'_z2r50s7-0-85-100',success:'_z2r50s8-0-85-100',warning:'_z2r50s9-0-85-100',critical:'_z2r50sa-0-85-100'}},defaultVariants:{},compoundVariants:[]});\nexport var focusRingFocusWithinCSS = _7a468({defaultClassName:'_z2r50sb-0-85-100',variantClassNames:{minimal:{true:'_z2r50sc-0-85-100',false:'_z2r50sd-0-85-100'},variant:{neutral:'_z2r50se-0-85-100',primary:'_z2r50sf-0-85-100',success:'_z2r50sg-0-85-100',warning:'_z2r50sh-0-85-100',critical:'_z2r50si-0-85-100'}},defaultVariants:{},compoundVariants:[]});"],
|
|
5
|
+
"mappings": "AAAA,OAAO;AACP,SAAS,mBAAmB,cAAc;AACnC,IAAI,eAAe,OAAO,EAAC,kBAAiB,qBAAoB,mBAAkB,EAAC,SAAQ,EAAC,MAAK,qBAAoB,OAAM,oBAAmB,GAAE,SAAQ,EAAC,SAAQ,qBAAoB,SAAQ,qBAAoB,SAAQ,qBAAoB,SAAQ,qBAAoB,UAAS,oBAAmB,EAAC,GAAE,iBAAgB,CAAC,GAAE,kBAAiB,CAAC,EAAC,CAAC;AAC/U,IAAI,0BAA0B,OAAO,EAAC,kBAAiB,qBAAoB,mBAAkB,EAAC,SAAQ,EAAC,MAAK,qBAAoB,OAAM,oBAAmB,GAAE,SAAQ,EAAC,SAAQ,qBAAoB,SAAQ,qBAAoB,SAAQ,qBAAoB,SAAQ,qBAAoB,UAAS,oBAAmB,EAAC,GAAE,iBAAgB,CAAC,GAAE,kBAAiB,CAAC,EAAC,CAAC;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -5,14 +5,6 @@ import {
|
|
|
5
5
|
} from "react";
|
|
6
6
|
import { focusRingCSS, focusRingFocusWithinCSS } from "./focusRing.sty.js";
|
|
7
7
|
import { _useFocusContext } from "../index.js";
|
|
8
|
-
const variants = [
|
|
9
|
-
"neutral",
|
|
10
|
-
"primary",
|
|
11
|
-
"success",
|
|
12
|
-
"warning",
|
|
13
|
-
"critical",
|
|
14
|
-
"onAccent"
|
|
15
|
-
];
|
|
16
8
|
function useFocusRing(props = {}) {
|
|
17
9
|
const {
|
|
18
10
|
variant = "neutral",
|
|
@@ -63,7 +55,6 @@ function useFocusRing(props = {}) {
|
|
|
63
55
|
};
|
|
64
56
|
}
|
|
65
57
|
export {
|
|
66
|
-
useFocusRing
|
|
67
|
-
variants
|
|
58
|
+
useFocusRing
|
|
68
59
|
};
|
|
69
60
|
//# sourceMappingURL=useFocusRing.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/core/styles/useFocusRing.ts"],
|
|
4
|
-
"sourcesContent": ["import {\n FocusEvent,\n FocusEventHandler,\n useCallback,\n useEffect,\n useState,\n} from 'react';\n\nimport { focusRingCSS, focusRingFocusWithinCSS } from './focusRing.sty.js';\nimport { _useFocusContext } from '../index.js';\n\nexport type Modality = 'keyboard' | 'pointer' | 'touch' | 'unknown';\n\n/** @internal */\nexport
|
|
5
|
-
"mappings": "AAAA;AAAA,EAGE;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAEP,SAAS,cAAc,+BAA+B;AACtD,SAAS,wBAAwB;
|
|
4
|
+
"sourcesContent": ["import {\n FocusEvent,\n FocusEventHandler,\n useCallback,\n useEffect,\n useState,\n} from 'react';\n\nimport { focusRingCSS, focusRingFocusWithinCSS } from './focusRing.sty.js';\nimport { _useFocusContext } from '../index.js';\n\nexport type Modality = 'keyboard' | 'pointer' | 'touch' | 'unknown';\n\n/** @internal */\nexport type VariantType =\n | 'neutral'\n | 'primary'\n | 'success'\n | 'warning'\n | 'critical';\n/** @internal */\nexport type UseFocusRingProps = {\n /**\n * A minimal focus outline is available for smaller content elements like links. This variant is applied when set to true.\n * @defaultValue false\n */\n isMinimal?: boolean;\n\n /**\n * Whether or not the modality should be ignored, so that the focus ring is also present if users clicks the element (not just by tabbing to it).\n * @defaultValue false\n */\n ignoreModality?: boolean;\n\n /**\n * The styling variant of the element.\n * @defaultValue neutral\n */\n variant?: VariantType;\n\n /**\n * Apply the focus ring styling if an embedded element gains the focus\n */\n focusWithin?: boolean;\n\n /**\n * Whether the element is disabled. If disabled changes to true, the focus will be removed.\n */\n disabled?: boolean;\n};\n\nexport type FocusRingProps = {\n /** The focus styles that depend on modality. */\n focusClassName: string;\n /** Focus handlers used to manage the focus state. Must be applied to the element that receives the focus.*/\n focusProps: {\n onFocus: (e: FocusEvent) => void;\n onBlur: (e: FocusEvent) => void;\n };\n /** Whether or not the element got focus via keyboard. */\n isFocusVisible: boolean;\n};\n\n/**\n * Custom hook used to determine focus styling depending on modality.\n * Returns the css classes (vanilla) that can be applied to the component in order to show the correct focus outline.\n * @internal\n */\nexport function useFocusRing(props: UseFocusRingProps = {}): FocusRingProps {\n const {\n variant = 'neutral',\n ignoreModality = false,\n isMinimal = false,\n focusWithin = false,\n disabled = false,\n } = props;\n const [isFocused, setIsFocused] = useState(false);\n const { modality } = _useFocusContext();\n\n useEffect(() => {\n if (disabled) {\n setIsFocused(false);\n }\n }, [disabled]);\n\n const onBlur = useCallback<FocusEventHandler>((e) => {\n // trigger only when the self element is unfocused (stopPropagation)\n if (e.currentTarget === e.target) {\n setIsFocused(false);\n }\n }, []);\n\n const onFocus = useCallback<FocusEventHandler>((e) => {\n // trigger only when the self element is focused (stopPropagation)\n if (e.currentTarget === e.target) {\n setIsFocused(true);\n }\n }, []);\n\n const focusProps = {\n onFocus,\n onBlur,\n };\n\n if (\n ((ignoreModality || modality === 'keyboard') && isFocused) ||\n focusWithin\n ) {\n if (isMinimal) {\n return {\n focusClassName: focusWithin\n ? focusRingFocusWithinCSS({ minimal: true, variant })\n : focusRingCSS({ minimal: true, variant }),\n isFocusVisible: !focusWithin,\n focusProps,\n };\n }\n\n return {\n focusClassName: focusWithin\n ? focusRingFocusWithinCSS({ minimal: false, variant })\n : focusRingCSS({ minimal: false, variant }),\n isFocusVisible: !focusWithin,\n focusProps,\n };\n }\n\n return {\n focusClassName: focusWithin ? focusRingFocusWithinCSS() : focusRingCSS(),\n isFocusVisible: false,\n focusProps,\n };\n}\n"],
|
|
5
|
+
"mappings": "AAAA;AAAA,EAGE;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAEP,SAAS,cAAc,+BAA+B;AACtD,SAAS,wBAAwB;AA2D1B,SAAS,aAAa,QAA2B,CAAC,GAAmB;AAC1E,QAAM;AAAA,IACJ,UAAU;AAAA,IACV,iBAAiB;AAAA,IACjB,YAAY;AAAA,IACZ,cAAc;AAAA,IACd,WAAW;AAAA,EACb,IAAI;AACJ,QAAM,CAAC,WAAW,YAAY,IAAI,SAAS,KAAK;AAChD,QAAM,EAAE,SAAS,IAAI,iBAAiB;AAEtC,YAAU,MAAM;AACd,QAAI,UAAU;AACZ,mBAAa,KAAK;AAAA,IACpB;AAAA,EACF,GAAG,CAAC,QAAQ,CAAC;AAEb,QAAM,SAAS,YAA+B,CAAC,MAAM;AAEnD,QAAI,EAAE,kBAAkB,EAAE,QAAQ;AAChC,mBAAa,KAAK;AAAA,IACpB;AAAA,EACF,GAAG,CAAC,CAAC;AAEL,QAAM,UAAU,YAA+B,CAAC,MAAM;AAEpD,QAAI,EAAE,kBAAkB,EAAE,QAAQ;AAChC,mBAAa,IAAI;AAAA,IACnB;AAAA,EACF,GAAG,CAAC,CAAC;AAEL,QAAM,aAAa;AAAA,IACjB;AAAA,IACA;AAAA,EACF;AAEA,OACI,kBAAkB,aAAa,eAAe,aAChD,aACA;AACA,QAAI,WAAW;AACb,aAAO;AAAA,QACL,gBAAgB,cACZ,wBAAwB,EAAE,SAAS,MAAM,QAAQ,CAAC,IAClD,aAAa,EAAE,SAAS,MAAM,QAAQ,CAAC;AAAA,QAC3C,gBAAgB,CAAC;AAAA,QACjB;AAAA,MACF;AAAA,IACF;AAEA,WAAO;AAAA,MACL,gBAAgB,cACZ,wBAAwB,EAAE,SAAS,OAAO,QAAQ,CAAC,IACnD,aAAa,EAAE,SAAS,OAAO,QAAQ,CAAC;AAAA,MAC5C,gBAAgB,CAAC;AAAA,MACjB;AAAA,IACF;AAAA,EACF;AAEA,SAAO;AAAA,IACL,gBAAgB,cAAc,wBAAwB,IAAI,aAAa;AAAA,IACvE,gBAAgB;AAAA,IAChB;AAAA,EACF;AACF;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/core/types/role-variant.tsx"],
|
|
4
|
-
"sourcesContent": ["/**\n * Defines role / color variants\n * @public\n */\nexport const roleVariants = [\n 'neutral',\n 'primary',\n 'success',\n 'warning',\n 'critical',\n 'onAccent',\n] as const;\n\n/**\n * Defines the types of role variants\n * @public\n */\nexport type RoleVariantType = (typeof roleVariants)[number];\n"],
|
|
5
|
-
"mappings": "
|
|
4
|
+
"sourcesContent": ["/**\n * Defines role / color variants\n * @public\n * @deprecated Will be removed.\n */\nexport const roleVariants = [\n 'neutral',\n 'primary',\n 'success',\n 'warning',\n 'critical',\n 'onAccent',\n] as const;\n\n/**\n * Defines the types of role variants\n * @public\n * @deprecated Will be removed. You can use 'neutral' | 'primary' | 'success' | 'warning' | 'critical' instead.\n */\nexport type RoleVariantType = (typeof roleVariants)[number];\n"],
|
|
5
|
+
"mappings": "AAKO,MAAM,eAAe;AAAA,EAC1B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,80 +1,80 @@
|
|
|
1
|
-
.
|
|
2
|
-
--
|
|
3
|
-
--
|
|
4
|
-
--
|
|
1
|
+
._k096v44-0-85-100 {
|
|
2
|
+
--_k096v40-0-85-100: var(--dt-colors-text-critical-default, #b80031);
|
|
3
|
+
--_k096v41-0-85-100: var(--dt-colors-icon-critical-default, #b80031);
|
|
4
|
+
--_k096v42-0-85-100: var(--dt-colors-border-critical-default, #f1cdcf);
|
|
5
5
|
}
|
|
6
|
-
.
|
|
7
|
-
--
|
|
8
|
-
--
|
|
9
|
-
--
|
|
6
|
+
._k096v45-0-85-100 {
|
|
7
|
+
--_k096v40-0-85-100: var(--dt-colors-text-neutral-default, #2b2a58);
|
|
8
|
+
--_k096v41-0-85-100: var(--dt-colors-icon-neutral-default, #2b2a58);
|
|
9
|
+
--_k096v42-0-85-100: var(--dt-colors-border-neutral-default, #d2d3e1);
|
|
10
10
|
}
|
|
11
|
-
.
|
|
12
|
-
--
|
|
13
|
-
--
|
|
14
|
-
--
|
|
11
|
+
._k096v46-0-85-100 {
|
|
12
|
+
--_k096v40-0-85-100: var(--dt-colors-text-primary-default, #454cc9);
|
|
13
|
+
--_k096v41-0-85-100: var(--dt-colors-icon-primary-default, #454cc9);
|
|
14
|
+
--_k096v42-0-85-100: var(--dt-colors-border-primary-default, #ccd3f3);
|
|
15
15
|
}
|
|
16
|
-
.
|
|
17
|
-
--
|
|
18
|
-
--
|
|
19
|
-
--
|
|
16
|
+
._k096v47-0-85-100 {
|
|
17
|
+
--_k096v40-0-85-100: var(--dt-colors-text-success-default, #2c6360);
|
|
18
|
+
--_k096v41-0-85-100: var(--dt-colors-icon-success-default, #2c6360);
|
|
19
|
+
--_k096v42-0-85-100: var(--dt-colors-border-success-default, #cad6d7);
|
|
20
20
|
}
|
|
21
|
-
.
|
|
22
|
-
--
|
|
23
|
-
--
|
|
24
|
-
--
|
|
21
|
+
._k096v48-0-85-100 {
|
|
22
|
+
--_k096v40-0-85-100: var(--dt-colors-text-warning-default, #805100);
|
|
23
|
+
--_k096v41-0-85-100: var(--dt-colors-icon-warning-default, #805100);
|
|
24
|
+
--_k096v42-0-85-100: var(--dt-colors-border-warning-default, #f4e5d5);
|
|
25
25
|
}
|
|
26
|
-
.
|
|
27
|
-
--
|
|
28
|
-
--
|
|
29
|
-
--
|
|
26
|
+
._k096v49-0-85-100 {
|
|
27
|
+
--_k096v40-0-85-100: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
|
|
28
|
+
--_k096v41-0-85-100: var(--dt-colors-icon-neutral-on-accent-default, #f3f3f6);
|
|
29
|
+
--_k096v42-0-85-100: var(--dt-colors-border-neutral-on-accent-default, #f3f3f6);
|
|
30
30
|
}
|
|
31
|
-
.
|
|
32
|
-
--
|
|
33
|
-
--
|
|
34
|
-
--
|
|
31
|
+
._k096v4e-0-85-100 {
|
|
32
|
+
--_k096v40-0-85-100: var(--dt-colors-text-primary-on-accent-default, #f4f4fb);
|
|
33
|
+
--_k096v41-0-85-100: var(--dt-colors-icon-primary-on-accent-default, #f4f4fb);
|
|
34
|
+
--_k096v42-0-85-100: var(--dt-colors-border-primary-accent, #454cc9);
|
|
35
35
|
}
|
|
36
|
-
.
|
|
37
|
-
--
|
|
38
|
-
--
|
|
39
|
-
--
|
|
36
|
+
._k096v4f-0-85-100 {
|
|
37
|
+
--_k096v40-0-85-100: var(--dt-colors-text-success-on-accent-default, #f1f4f4);
|
|
38
|
+
--_k096v41-0-85-100: var(--dt-colors-icon-success-on-accent-default, #f1f4f4);
|
|
39
|
+
--_k096v42-0-85-100: var(--dt-colors-border-success-accent, #2c6360);
|
|
40
40
|
}
|
|
41
|
-
.
|
|
42
|
-
--
|
|
43
|
-
--
|
|
44
|
-
--
|
|
41
|
+
._k096v4g-0-85-100 {
|
|
42
|
+
--_k096v40-0-85-100: var(--dt-colors-text-warning-on-accent-default, #272025);
|
|
43
|
+
--_k096v41-0-85-100: var(--dt-colors-icon-warning-on-accent-default, #272025);
|
|
44
|
+
--_k096v42-0-85-100: var(--dt-colors-border-warning-accent, #805100);
|
|
45
45
|
}
|
|
46
|
-
.
|
|
47
|
-
--
|
|
48
|
-
--
|
|
49
|
-
--
|
|
46
|
+
._k096v4h-0-85-100 {
|
|
47
|
+
--_k096v40-0-85-100: var(--dt-colors-text-critical-on-accent-default, #f9f1f3);
|
|
48
|
+
--_k096v41-0-85-100: var(--dt-colors-icon-critical-on-accent-default, #f9f1f3);
|
|
49
|
+
--_k096v42-0-85-100: var(--dt-colors-border-critical-accent, #b80031);
|
|
50
50
|
}
|
|
51
|
-
.
|
|
52
|
-
--
|
|
53
|
-
--
|
|
54
|
-
--
|
|
51
|
+
._k096v4i-0-85-100 {
|
|
52
|
+
--_k096v40-0-85-100: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
|
|
53
|
+
--_k096v41-0-85-100: var(--dt-colors-icon-neutral-on-accent-default, #f3f3f6);
|
|
54
|
+
--_k096v42-0-85-100: var(--dt-colors-border-neutral-accent, #545587);
|
|
55
55
|
}
|
|
56
|
-
.
|
|
57
|
-
--
|
|
58
|
-
--
|
|
59
|
-
--
|
|
56
|
+
._k096v4j-0-85-100 {
|
|
57
|
+
--_k096v40-0-85-100: var(--dt-colors-text-primary-disabled, #54558780);
|
|
58
|
+
--_k096v41-0-85-100: var(--dt-colors-icon-primary-disabled, #54558780);
|
|
59
|
+
--_k096v42-0-85-100: var(--dt-colors-border-primary-disabled, #d2d3e180);
|
|
60
60
|
}
|
|
61
|
-
.
|
|
62
|
-
--
|
|
63
|
-
--
|
|
64
|
-
--
|
|
61
|
+
._k096v4k-0-85-100 {
|
|
62
|
+
--_k096v40-0-85-100: var(--dt-colors-text-success-disabled, #54558780);
|
|
63
|
+
--_k096v41-0-85-100: var(--dt-colors-icon-success-disabled, #54558780);
|
|
64
|
+
--_k096v42-0-85-100: var(--dt-colors-border-success-disabled, #d2d3e180);
|
|
65
65
|
}
|
|
66
|
-
.
|
|
67
|
-
--
|
|
68
|
-
--
|
|
69
|
-
--
|
|
66
|
+
._k096v4l-0-85-100 {
|
|
67
|
+
--_k096v40-0-85-100: var(--dt-colors-text-warning-disabled, #54558780);
|
|
68
|
+
--_k096v41-0-85-100: var(--dt-colors-icon-warning-disabled, #54558780);
|
|
69
|
+
--_k096v42-0-85-100: var(--dt-colors-border-warning-disabled, #d2d3e180);
|
|
70
70
|
}
|
|
71
|
-
.
|
|
72
|
-
--
|
|
73
|
-
--
|
|
74
|
-
--
|
|
71
|
+
._k096v4m-0-85-100 {
|
|
72
|
+
--_k096v40-0-85-100: var(--dt-colors-text-critical-disabled, #54558780);
|
|
73
|
+
--_k096v41-0-85-100: var(--dt-colors-icon-critical-disabled, #54558780);
|
|
74
|
+
--_k096v42-0-85-100: var(--dt-colors-border-critical-disabled, #d2d3e180);
|
|
75
75
|
}
|
|
76
|
-
.
|
|
77
|
-
--
|
|
78
|
-
--
|
|
79
|
-
--
|
|
76
|
+
._k096v4n-0-85-100 {
|
|
77
|
+
--_k096v40-0-85-100: var(--dt-colors-text-neutral-disabled, #54558780);
|
|
78
|
+
--_k096v41-0-85-100: var(--dt-colors-icon-neutral-disabled, #54558780);
|
|
79
|
+
--_k096v42-0-85-100: 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-0-85-100", variantClassNames: { color: { critical: "_k096v44-0-85-100", neutral: "_k096v45-0-85-100", primary: "_k096v46-0-85-100", success: "_k096v47-0-85-100", warning: "_k096v48-0-85-100", onAccent: "_k096v49-0-85-100" }, variant: { "default": "_k096v4a-0-85-100", accent: "_k096v4b-0-85-100" }, disabled: { true: "_k096v4c-0-85-100", false: "_k096v4d-0-85-100" } }, defaultVariants: {}, compoundVariants: [[{ color: "primary", variant: "accent" }, "_k096v4e-0-85-100"], [{ color: "success", variant: "accent" }, "_k096v4f-0-85-100"], [{ color: "warning", variant: "accent" }, "_k096v4g-0-85-100"], [{ color: "critical", variant: "accent" }, "_k096v4h-0-85-100"], [{ color: "neutral", variant: "accent" }, "_k096v4i-0-85-100"], [{ color: "primary", disabled: true }, "_k096v4j-0-85-100"], [{ color: "success", disabled: true }, "_k096v4k-0-85-100"], [{ color: "warning", disabled: true }, "_k096v4l-0-85-100"], [{ color: "critical", disabled: true }, "_k096v4m-0-85-100"], [{ color: "neutral", disabled: true }, "_k096v4n-0-85-100"]] });
|
|
4
|
+
var colorUtilsVars = { text: "var(--_k096v40-0-85-100)", icon: "var(--_k096v41-0-85-100)", borderColor: "var(--_k096v42-0-85-100)" };
|
|
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-0-85-100',variantClassNames:{color:{critical:'_k096v44-0-85-100',neutral:'_k096v45-0-85-100',primary:'_k096v46-0-85-100',success:'_k096v47-0-85-100',warning:'_k096v48-0-85-100',onAccent:'_k096v49-0-85-100'},variant:{'default':'_k096v4a-0-85-100',accent:'_k096v4b-0-85-100'},disabled:{true:'_k096v4c-0-85-100',false:'_k096v4d-0-85-100'}},defaultVariants:{},compoundVariants:[[{color:'primary',variant:'accent'},'_k096v4e-0-85-100'],[{color:'success',variant:'accent'},'_k096v4f-0-85-100'],[{color:'warning',variant:'accent'},'_k096v4g-0-85-100'],[{color:'critical',variant:'accent'},'_k096v4h-0-85-100'],[{color:'neutral',variant:'accent'},'_k096v4i-0-85-100'],[{color:'primary',disabled:true},'_k096v4j-0-85-100'],[{color:'success',disabled:true},'_k096v4k-0-85-100'],[{color:'warning',disabled:true},'_k096v4l-0-85-100'],[{color:'critical',disabled:true},'_k096v4m-0-85-100'],[{color:'neutral',disabled:true},'_k096v4n-0-85-100']]});\nexport var colorUtilsVars = {text:'var(--_k096v40-0-85-100)',icon:'var(--_k096v41-0-85-100)',borderColor:'var(--_k096v42-0-85-100)'};"],
|
|
5
|
+
"mappings": "AAAA,OAAO;AACP,SAAS,mBAAmB,cAAc;AACnC,IAAI,gBAAgB,OAAO,EAAC,kBAAiB,qBAAoB,mBAAkB,EAAC,OAAM,EAAC,UAAS,qBAAoB,SAAQ,qBAAoB,SAAQ,qBAAoB,SAAQ,qBAAoB,SAAQ,qBAAoB,UAAS,oBAAmB,GAAE,SAAQ,EAAC,WAAU,qBAAoB,QAAO,oBAAmB,GAAE,UAAS,EAAC,MAAK,qBAAoB,OAAM,oBAAmB,EAAC,GAAE,iBAAgB,CAAC,GAAE,kBAAiB,CAAC,CAAC,EAAC,OAAM,WAAU,SAAQ,SAAQ,GAAE,mBAAmB,GAAE,CAAC,EAAC,OAAM,WAAU,SAAQ,SAAQ,GAAE,mBAAmB,GAAE,CAAC,EAAC,OAAM,WAAU,SAAQ,SAAQ,GAAE,mBAAmB,GAAE,CAAC,EAAC,OAAM,YAAW,SAAQ,SAAQ,GAAE,mBAAmB,GAAE,CAAC,EAAC,OAAM,WAAU,SAAQ,SAAQ,GAAE,mBAAmB,GAAE,CAAC,EAAC,OAAM,WAAU,UAAS,KAAI,GAAE,mBAAmB,GAAE,CAAC,EAAC,OAAM,WAAU,UAAS,KAAI,GAAE,mBAAmB,GAAE,CAAC,EAAC,OAAM,WAAU,UAAS,KAAI,GAAE,mBAAmB,GAAE,CAAC,EAAC,OAAM,YAAW,UAAS,KAAI,GAAE,mBAAmB,GAAE,CAAC,EAAC,OAAM,WAAU,UAAS,KAAI,GAAE,mBAAmB,CAAC,EAAC,CAAC;AAC39B,IAAI,iBAAiB,EAAC,MAAK,4BAA2B,MAAK,4BAA2B,aAAY,2BAA0B;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
const isBrowser = (() => {
|
|
2
|
-
return !!(typeof window !== "undefined" && window.document &&
|
|
2
|
+
return !!(typeof window !== "undefined" && window.document && /* eslint-disable-next-line deprecation/deprecation --
|
|
3
|
+
one overload of createElement is deprecated, apparently our plugin does not get that */
|
|
4
|
+
window.document.createElement);
|
|
3
5
|
})();
|
|
4
6
|
export {
|
|
5
7
|
isBrowser
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/core/utils/isBrowser.ts"],
|
|
4
|
-
"sourcesContent": ["/**\n * @internal\n *\n * Whether the code is currently executed in a browser\n * @see {@link https://github.com/chakra-ui/chakra-ui/blob/main/packages/utils/src/dom.ts}\n */\nexport const isBrowser = (() => {\n return !!(\n typeof window !== 'undefined' &&\n window.document &&\n window.document.createElement\n );\n})();\n"],
|
|
5
|
-
"mappings": "AAMO,MAAM,aAAa,MAAM;AAC9B,SAAO,CAAC,EACN,OAAO,WAAW,eAClB,OAAO,
|
|
4
|
+
"sourcesContent": ["/**\n * @internal\n *\n * Whether the code is currently executed in a browser\n * @see {@link https://github.com/chakra-ui/chakra-ui/blob/main/packages/utils/src/dom.ts}\n */\nexport const isBrowser = (() => {\n return !!(\n typeof window !== 'undefined' &&\n window.document &&\n /* eslint-disable-next-line deprecation/deprecation --\n one overload of createElement is deprecated, apparently our plugin does not get that */\n window.document.createElement\n );\n})();\n"],
|
|
5
|
+
"mappings": "AAMO,MAAM,aAAa,MAAM;AAC9B,SAAO,CAAC,EACN,OAAO,WAAW,eAClB,OAAO;AAAA;AAAA,EAGP,OAAO,SAAS;AAEpB,GAAG;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
.
|
|
1
|
+
._f32lcd0-0-85-100 {
|
|
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(--_6levse0);
|
|
6
|
-
border-color: var(--_6levse2);
|
|
7
|
-
background-color: var(--_6levse1);
|
|
5
|
+
color: var(--_6levse0-0-85-100);
|
|
6
|
+
border-color: var(--_6levse2-0-85-100);
|
|
7
|
+
background-color: var(--_6levse1-0-85-100);
|
|
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-0-85-100';"],
|
|
5
5
|
"mappings": "AAAA,OAAO;AACP,OAAO;AACA,IAAI,eAAe;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|