@dynatrace/strato-components 0.84.31 → 0.84.51
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/content/index.d.ts +7 -0
- package/content/index.js +25 -0
- package/content/progress/ProgressBar.css +52 -0
- package/content/progress/ProgressBar.d.ts +56 -0
- package/content/progress/ProgressBar.js +191 -0
- package/content/progress/ProgressBar.sty.d.ts +42 -0
- package/content/progress/ProgressBar.sty.js +28 -0
- package/content/progress/ProgressBarIcon.css +5 -0
- package/content/progress/ProgressBarIcon.d.ts +15 -0
- package/content/progress/ProgressBarIcon.js +68 -0
- package/content/progress/ProgressBarIcon.sty.d.ts +1 -0
- package/content/progress/ProgressBarIcon.sty.js +25 -0
- package/content/progress/ProgressBarLabel.css +9 -0
- package/content/progress/ProgressBarLabel.d.ts +15 -0
- package/content/progress/ProgressBarLabel.js +75 -0
- package/content/progress/ProgressBarLabel.sty.d.ts +13 -0
- package/content/progress/ProgressBarLabel.sty.js +26 -0
- package/content/progress/ProgressBarValue.css +28 -0
- package/content/progress/ProgressBarValue.d.ts +15 -0
- package/content/progress/ProgressBarValue.js +72 -0
- package/content/progress/ProgressBarValue.sty.d.ts +34 -0
- package/content/progress/ProgressBarValue.sty.js +26 -0
- package/content/progress/ProgressCircle.css +52 -0
- package/content/progress/ProgressCircle.d.ts +51 -0
- package/content/progress/ProgressCircle.js +174 -0
- package/content/progress/ProgressCircle.sty.d.ts +41 -0
- package/content/progress/ProgressCircle.sty.js +37 -0
- package/content/progress/contexts/SharedProgressBarPropsContext.d.ts +9 -0
- package/content/progress/contexts/SharedProgressBarPropsContext.js +38 -0
- package/content/progress/hooks/useProgressAriaProps.d.ts +38 -0
- package/content/progress/hooks/useProgressAriaProps.js +63 -0
- package/content/progress/hooks/useProgressBarPropsContext.d.ts +2 -0
- package/content/progress/hooks/useProgressBarPropsContext.js +32 -0
- package/content/progress/utils.d.ts +2 -0
- package/content/progress/utils.js +50 -0
- package/core/components/app-root/AppRoot.d.ts +4 -4
- package/core/hooks/useAriaLabelingProps.d.ts +6 -0
- package/core/hooks/useAriaLabelingProps.js +30 -0
- package/core/hooks/useCurrentTheme.d.ts +1 -1
- package/core/hooks/useFontsUpdated.d.ts +9 -0
- package/core/hooks/useFontsUpdated.js +51 -0
- package/core/hooks/useId.d.ts +12 -0
- package/core/hooks/useId.js +32 -0
- package/core/hooks/useMergeRefs.d.ts +7 -0
- package/core/hooks/useMergeRefs.js +34 -0
- package/core/hooks/useSafeForwardProps.d.ts +10 -0
- package/core/hooks/useSafeForwardProps.js +34 -0
- package/core/index.d.ts +12 -0
- package/core/index.js +12 -0
- package/core/styles/focusRing.css +88 -0
- package/core/styles/focusRing.sty.d.ts +96 -0
- package/core/styles/focusRing.sty.js +27 -0
- package/core/styles/useFocusRing.d.ts +49 -0
- package/core/styles/useFocusRing.js +83 -0
- package/core/types/a11y-props.d.ts +26 -0
- package/core/types/a11y-props.js +15 -0
- package/core/types/data-props.d.ts +1 -1
- package/core/types/dom.d.ts +8 -0
- package/core/types/dom.js +15 -0
- package/core/types/heading.d.ts +9 -0
- package/core/types/heading.js +15 -0
- package/core/types/masking-props.d.ts +2 -1
- package/core/types/polymorph.d.ts +28 -0
- package/core/types/polymorph.js +15 -0
- package/core/types/role-variant.d.ts +10 -0
- package/core/types/role-variant.js +30 -0
- package/core/types/styling-props.d.ts +1 -1
- package/core/types/with-children.d.ts +1 -1
- package/core/utils/_is-string-children.d.ts +6 -0
- package/core/utils/_is-string-children.js +44 -0
- package/core/utils/colorUtils.css +80 -0
- package/core/utils/colorUtils.sty.d.ts +48 -0
- package/core/utils/colorUtils.sty.js +27 -0
- package/core/utils/isBrowser.d.ts +1 -1
- package/core/utils/merge-props.d.ts +4 -5
- package/core/utils/seed-random.d.ts +5 -0
- package/core/utils/seed-random.js +34 -0
- package/core/utils/uuidv4.d.ts +5 -0
- package/core/utils/uuidv4.js +31 -0
- package/esm/content/index.js +7 -0
- package/esm/content/index.js.map +7 -0
- package/esm/content/progress/ProgressBar.css +52 -0
- package/esm/content/progress/ProgressBar.js +163 -0
- package/esm/content/progress/ProgressBar.js.map +7 -0
- package/esm/content/progress/ProgressBar.sty.js +10 -0
- package/esm/content/progress/ProgressBar.sty.js.map +7 -0
- package/esm/content/progress/ProgressBarIcon.css +5 -0
- package/esm/content/progress/ProgressBarIcon.js +40 -0
- package/esm/content/progress/ProgressBarIcon.js.map +7 -0
- package/esm/content/progress/ProgressBarIcon.sty.js +7 -0
- package/esm/content/progress/ProgressBarIcon.sty.js.map +7 -0
- package/esm/content/progress/ProgressBarLabel.css +9 -0
- package/esm/content/progress/ProgressBarLabel.js +47 -0
- package/esm/content/progress/ProgressBarLabel.js.map +7 -0
- package/esm/content/progress/ProgressBarLabel.sty.js +8 -0
- package/esm/content/progress/ProgressBarLabel.sty.js.map +7 -0
- package/esm/content/progress/ProgressBarValue.css +28 -0
- package/esm/content/progress/ProgressBarValue.js +44 -0
- package/esm/content/progress/ProgressBarValue.js.map +7 -0
- package/esm/content/progress/ProgressBarValue.sty.js +8 -0
- package/esm/content/progress/ProgressBarValue.sty.js.map +7 -0
- package/esm/content/progress/ProgressCircle.css +52 -0
- package/esm/content/progress/ProgressCircle.js +153 -0
- package/esm/content/progress/ProgressCircle.js.map +7 -0
- package/esm/content/progress/ProgressCircle.sty.js +19 -0
- package/esm/content/progress/ProgressCircle.sty.js.map +7 -0
- package/esm/content/progress/contexts/SharedProgressBarPropsContext.js +10 -0
- package/esm/content/progress/contexts/SharedProgressBarPropsContext.js.map +7 -0
- package/esm/content/progress/hooks/useProgressAriaProps.js +45 -0
- package/esm/content/progress/hooks/useProgressAriaProps.js.map +7 -0
- package/esm/content/progress/hooks/useProgressBarPropsContext.js +16 -0
- package/esm/content/progress/hooks/useProgressBarPropsContext.js.map +7 -0
- package/esm/content/progress/utils.js +22 -0
- package/esm/content/progress/utils.js.map +7 -0
- package/esm/core/components/app-root/AppRoot.js.map +1 -1
- package/esm/core/hooks/useAriaLabelingProps.js +12 -0
- package/esm/core/hooks/useAriaLabelingProps.js.map +7 -0
- package/esm/core/hooks/useCurrentTheme.js.map +1 -1
- package/esm/core/hooks/useFontsUpdated.js +33 -0
- package/esm/core/hooks/useFontsUpdated.js.map +7 -0
- package/esm/core/hooks/useId.js +14 -0
- package/esm/core/hooks/useId.js.map +7 -0
- package/esm/core/hooks/useMergeRefs.js +16 -0
- package/esm/core/hooks/useMergeRefs.js.map +7 -0
- package/esm/core/hooks/useSafeForwardProps.js +16 -0
- package/esm/core/hooks/useSafeForwardProps.js.map +7 -0
- package/esm/core/index.js +12 -0
- package/esm/core/index.js.map +2 -2
- package/esm/core/styles/focusRing.css +88 -0
- package/esm/core/styles/focusRing.sty.js +9 -0
- package/esm/core/styles/focusRing.sty.js.map +7 -0
- package/esm/core/styles/useFocusRing.js +69 -0
- package/esm/core/styles/useFocusRing.js.map +7 -0
- package/esm/core/types/a11y-props.js +1 -0
- package/esm/core/types/a11y-props.js.map +7 -0
- package/esm/core/types/dom.js +1 -0
- package/esm/core/types/dom.js.map +7 -0
- package/esm/core/types/heading.js +1 -0
- package/esm/core/types/heading.js.map +7 -0
- package/esm/core/types/polymorph.js +1 -0
- package/esm/core/types/polymorph.js.map +7 -0
- package/esm/core/types/role-variant.js +12 -0
- package/esm/core/types/role-variant.js.map +7 -0
- package/esm/core/utils/_is-string-children.js +16 -0
- package/esm/core/utils/_is-string-children.js.map +7 -0
- package/esm/core/utils/colorUtils.css +80 -0
- package/esm/core/utils/colorUtils.sty.js +9 -0
- package/esm/core/utils/colorUtils.sty.js.map +7 -0
- package/esm/core/utils/isBrowser.js.map +1 -1
- package/esm/core/utils/merge-props.js.map +2 -2
- package/esm/core/utils/seed-random.js +16 -0
- package/esm/core/utils/seed-random.js.map +7 -0
- package/esm/core/utils/uuidv4.js +13 -0
- package/esm/core/utils/uuidv4.js.map +7 -0
- package/esm/index.js +4 -0
- package/esm/index.js.map +2 -2
- package/esm/layouts/Divider/Divider.css +23 -0
- package/esm/layouts/Divider/Divider.js +39 -0
- package/esm/layouts/Divider/Divider.js.map +7 -0
- package/esm/layouts/Divider/Divider.sty.js +8 -0
- package/esm/layouts/Divider/Divider.sty.js.map +7 -0
- package/esm/layouts/container/Container.css +8 -0
- package/esm/layouts/container/Container.js +55 -0
- package/esm/layouts/container/Container.js.map +7 -0
- package/esm/layouts/container/Container.sty.js +7 -0
- package/esm/layouts/container/Container.sty.js.map +7 -0
- package/esm/layouts/flex/Flex.js +46 -0
- package/esm/layouts/flex/Flex.js.map +7 -0
- package/esm/layouts/grid/Grid.js +46 -0
- package/esm/layouts/grid/Grid.js.map +7 -0
- package/esm/layouts/index.js +11 -0
- package/esm/layouts/index.js.map +7 -0
- package/esm/styles/colorUtils.css +80 -0
- package/esm/styles/colorUtils.sty.js +9 -0
- package/esm/styles/colorUtils.sty.js.map +7 -0
- package/esm/styles/container.css +64 -0
- package/esm/styles/container.sty.js +9 -0
- package/esm/styles/container.sty.js.map +7 -0
- package/esm/styles/ellipsis.css +5 -0
- package/esm/styles/ellipsis.sty.js +6 -0
- package/esm/styles/ellipsis.sty.js.map +7 -0
- package/esm/styles/extract-util.js +15 -0
- package/esm/styles/extract-util.js.map +7 -0
- package/esm/styles/getFlexStyles.js +69 -0
- package/esm/styles/getFlexStyles.js.map +7 -0
- package/esm/styles/getGapSprinkles.js +18 -0
- package/esm/styles/getGapSprinkles.js.map +7 -0
- package/esm/styles/getGridFlexPositionSprinkles.js +25 -0
- package/esm/styles/getGridFlexPositionSprinkles.js.map +7 -0
- package/esm/styles/getGridStyles.js +78 -0
- package/esm/styles/getGridStyles.js.map +7 -0
- package/esm/styles/getLayoutSizeStyles.js +21 -0
- package/esm/styles/getLayoutSizeStyles.js.map +7 -0
- package/esm/styles/getSpacingSprinkles.js +50 -0
- package/esm/styles/getSpacingSprinkles.js.map +7 -0
- package/esm/styles/index.js +49 -0
- package/esm/styles/index.js.map +7 -0
- package/esm/styles/safe-sprinkles.js +17 -0
- package/esm/styles/safe-sprinkles.js.map +7 -0
- package/esm/styles/sprinkle-properties.js +137 -0
- package/esm/styles/sprinkle-properties.js.map +7 -0
- package/esm/styles/sprinkles.css +786 -0
- package/esm/styles/sprinkles.sty.js +9 -0
- package/esm/styles/sprinkles.sty.js.map +7 -0
- package/esm/styles/textStyle.css +64 -0
- package/esm/styles/textStyle.sty.js +7 -0
- package/esm/styles/textStyle.sty.js.map +7 -0
- package/esm/typography/BlockQuote/Blockquote.css +17 -0
- package/esm/typography/BlockQuote/Blockquote.js +34 -0
- package/esm/typography/BlockQuote/Blockquote.js.map +7 -0
- package/esm/typography/BlockQuote/Blockquote.sty.js +6 -0
- package/esm/typography/BlockQuote/Blockquote.sty.js.map +7 -0
- package/esm/typography/Code/Code.css +16 -0
- package/esm/typography/Code/Code.js +34 -0
- package/esm/typography/Code/Code.js.map +7 -0
- package/esm/typography/Code/Code.sty.js +6 -0
- package/esm/typography/Code/Code.sty.js.map +7 -0
- package/esm/typography/Emphasis/Emphasis.css +4 -0
- package/esm/typography/Emphasis/Emphasis.js +34 -0
- package/esm/typography/Emphasis/Emphasis.js.map +7 -0
- package/esm/typography/Emphasis/Emphasis.sty.js +6 -0
- package/esm/typography/Emphasis/Emphasis.sty.js.map +7 -0
- package/esm/typography/ExternalLink/ExternalLink.css +28 -0
- package/esm/typography/ExternalLink/ExternalLink.js +56 -0
- package/esm/typography/ExternalLink/ExternalLink.js.map +7 -0
- package/esm/typography/ExternalLink/ExternalLink.sty.js +6 -0
- package/esm/typography/ExternalLink/ExternalLink.sty.js.map +7 -0
- package/esm/typography/Heading/Heading.css +54 -0
- package/esm/typography/Heading/Heading.js +36 -0
- package/esm/typography/Heading/Heading.js.map +7 -0
- package/esm/typography/Heading/Heading.sty.js +7 -0
- package/esm/typography/Heading/Heading.sty.js.map +7 -0
- package/esm/typography/Highlight/Highlight.css +4 -0
- package/esm/typography/Highlight/Highlight.js +111 -0
- package/esm/typography/Highlight/Highlight.js.map +7 -0
- package/esm/typography/Highlight/Highlight.sty.js +6 -0
- package/esm/typography/Highlight/Highlight.sty.js.map +7 -0
- package/esm/typography/Link/Link.css +15 -0
- package/esm/typography/Link/Link.js +49 -0
- package/esm/typography/Link/Link.js.map +7 -0
- package/esm/typography/Link/Link.sty.js +6 -0
- package/esm/typography/Link/Link.sty.js.map +7 -0
- package/esm/typography/List/List.css +16 -0
- package/esm/typography/List/List.js +81 -0
- package/esm/typography/List/List.js.map +7 -0
- package/esm/typography/List/List.sty.js +8 -0
- package/esm/typography/List/List.sty.js.map +7 -0
- package/esm/typography/Paragraph/Paragraph.css +19 -0
- package/esm/typography/Paragraph/Paragraph.js +49 -0
- package/esm/typography/Paragraph/Paragraph.js.map +7 -0
- package/esm/typography/Paragraph/Paragraph.sty.js +7 -0
- package/esm/typography/Paragraph/Paragraph.sty.js.map +7 -0
- package/esm/typography/Strikethrough/Strikethrough.css +5 -0
- package/esm/typography/Strikethrough/Strikethrough.js +32 -0
- package/esm/typography/Strikethrough/Strikethrough.js.map +7 -0
- package/esm/typography/Strikethrough/Strikethrough.sty.js +6 -0
- package/esm/typography/Strikethrough/Strikethrough.sty.js.map +7 -0
- package/esm/typography/Strong/Strong.css +4 -0
- package/esm/typography/Strong/Strong.js +34 -0
- package/esm/typography/Strong/Strong.js.map +7 -0
- package/esm/typography/Strong/Strong.sty.js +6 -0
- package/esm/typography/Strong/Strong.sty.js.map +7 -0
- package/esm/typography/Text/Text.css +18 -0
- package/esm/typography/Text/Text.js +43 -0
- package/esm/typography/Text/Text.js.map +7 -0
- package/esm/typography/Text/Text.sty.js +7 -0
- package/esm/typography/Text/Text.sty.js.map +7 -0
- package/esm/typography/TextEllipsis/TextEllipsis.css +22 -0
- package/esm/typography/TextEllipsis/TextEllipsis.js +143 -0
- package/esm/typography/TextEllipsis/TextEllipsis.js.map +7 -0
- package/esm/typography/TextEllipsis/TextEllipsis.sty.js +7 -0
- package/esm/typography/TextEllipsis/TextEllipsis.sty.js.map +7 -0
- package/esm/typography/index.js +43 -0
- package/esm/typography/index.js.map +7 -0
- package/esm/typography/utils.js +101 -0
- package/esm/typography/utils.js.map +7 -0
- package/index.d.ts +4 -0
- package/index.js +4 -0
- package/lang/en.json +12 -0
- package/lang/uncompiled/en.json +10 -1
- package/layouts/Divider/Divider.css +23 -0
- package/layouts/Divider/Divider.d.ts +39 -0
- package/layouts/Divider/Divider.js +67 -0
- package/layouts/Divider/Divider.sty.d.ts +16 -0
- package/layouts/Divider/Divider.sty.js +26 -0
- package/layouts/container/Container.css +8 -0
- package/layouts/container/Container.d.ts +34 -0
- package/layouts/container/Container.js +80 -0
- package/layouts/container/Container.sty.d.ts +1 -0
- package/layouts/container/Container.sty.js +25 -0
- package/layouts/flex/Flex.d.ts +23 -0
- package/layouts/flex/Flex.js +72 -0
- package/layouts/grid/Grid.d.ts +23 -0
- package/layouts/grid/Grid.js +72 -0
- package/layouts/index.d.ts +6 -0
- package/layouts/index.js +29 -0
- package/package.json +34 -4
- package/styles/colorUtils.css +80 -0
- package/styles/colorUtils.sty.d.ts +56 -0
- package/styles/colorUtils.sty.js +27 -0
- package/styles/container.css +64 -0
- package/styles/container.sty.d.ts +54 -0
- package/styles/container.sty.js +27 -0
- package/styles/ellipsis.css +5 -0
- package/styles/ellipsis.sty.d.ts +5 -0
- package/styles/ellipsis.sty.js +24 -0
- package/styles/extract-util.d.ts +9 -0
- package/styles/extract-util.js +33 -0
- package/styles/getFlexStyles.d.ts +64 -0
- package/styles/getFlexStyles.js +95 -0
- package/styles/getGapSprinkles.d.ts +19 -0
- package/styles/getGapSprinkles.js +36 -0
- package/styles/getGridFlexPositionSprinkles.d.ts +35 -0
- package/styles/getGridFlexPositionSprinkles.js +43 -0
- package/styles/getGridStyles.d.ts +74 -0
- package/styles/getGridStyles.js +100 -0
- package/styles/getLayoutSizeStyles.d.ts +29 -0
- package/styles/getLayoutSizeStyles.js +39 -0
- package/styles/getSpacingSprinkles.d.ts +74 -0
- package/styles/getSpacingSprinkles.js +68 -0
- package/styles/index.d.ts +11 -0
- package/styles/index.js +47 -0
- package/styles/safe-sprinkles.d.ts +6 -0
- package/styles/safe-sprinkles.js +35 -0
- package/styles/sprinkle-properties.d.ts +257 -0
- package/styles/sprinkle-properties.js +165 -0
- package/styles/sprinkles.css +786 -0
- package/styles/sprinkles.sty.d.ts +913 -0
- package/styles/sprinkles.sty.js +27 -0
- package/styles/textStyle.css +64 -0
- package/styles/textStyle.sty.d.ts +13 -0
- package/styles/textStyle.sty.js +25 -0
- package/testing/mocks/canvas-mock.js +6 -1
- package/testing/mocks/text-ellipsis-mock.d.ts +1 -1
- package/testing/mocks/text-ellipsis-mock.js +8 -3
- package/typography/BlockQuote/Blockquote.css +17 -0
- package/typography/BlockQuote/Blockquote.d.ts +19 -0
- package/typography/BlockQuote/Blockquote.js +62 -0
- package/typography/BlockQuote/Blockquote.sty.d.ts +1 -0
- package/typography/BlockQuote/Blockquote.sty.js +24 -0
- package/typography/Code/Code.css +16 -0
- package/typography/Code/Code.d.ts +17 -0
- package/typography/Code/Code.js +62 -0
- package/typography/Code/Code.sty.d.ts +1 -0
- package/typography/Code/Code.sty.js +24 -0
- package/typography/Emphasis/Emphasis.css +4 -0
- package/typography/Emphasis/Emphasis.d.ts +14 -0
- package/typography/Emphasis/Emphasis.js +62 -0
- package/typography/Emphasis/Emphasis.sty.d.ts +1 -0
- package/typography/Emphasis/Emphasis.sty.js +24 -0
- package/typography/ExternalLink/ExternalLink.css +28 -0
- package/typography/ExternalLink/ExternalLink.d.ts +21 -0
- package/typography/ExternalLink/ExternalLink.js +82 -0
- package/typography/ExternalLink/ExternalLink.sty.d.ts +1 -0
- package/typography/ExternalLink/ExternalLink.sty.js +24 -0
- package/typography/Heading/Heading.css +54 -0
- package/typography/Heading/Heading.d.ts +24 -0
- package/typography/Heading/Heading.js +64 -0
- package/typography/Heading/Heading.sty.d.ts +52 -0
- package/typography/Heading/Heading.sty.js +25 -0
- package/typography/Highlight/Highlight.css +4 -0
- package/typography/Highlight/Highlight.d.ts +27 -0
- package/typography/Highlight/Highlight.js +139 -0
- package/typography/Highlight/Highlight.sty.d.ts +1 -0
- package/typography/Highlight/Highlight.sty.js +24 -0
- package/typography/Link/Link.css +15 -0
- package/typography/Link/Link.d.ts +16 -0
- package/typography/Link/Link.js +75 -0
- package/typography/Link/Link.sty.d.ts +1 -0
- package/typography/Link/Link.sty.js +24 -0
- package/typography/List/List.css +16 -0
- package/typography/List/List.d.ts +39 -0
- package/typography/List/List.js +109 -0
- package/typography/List/List.sty.d.ts +2 -0
- package/typography/List/List.sty.js +26 -0
- package/typography/Paragraph/Paragraph.css +19 -0
- package/typography/Paragraph/Paragraph.d.ts +19 -0
- package/typography/Paragraph/Paragraph.js +77 -0
- package/typography/Paragraph/Paragraph.sty.d.ts +16 -0
- package/typography/Paragraph/Paragraph.sty.js +25 -0
- package/typography/Strikethrough/Strikethrough.css +5 -0
- package/typography/Strikethrough/Strikethrough.d.ts +15 -0
- package/typography/Strikethrough/Strikethrough.js +60 -0
- package/typography/Strikethrough/Strikethrough.sty.d.ts +1 -0
- package/typography/Strikethrough/Strikethrough.sty.js +24 -0
- package/typography/Strong/Strong.css +4 -0
- package/typography/Strong/Strong.d.ts +14 -0
- package/typography/Strong/Strong.js +62 -0
- package/typography/Strong/Strong.sty.d.ts +1 -0
- package/typography/Strong/Strong.sty.js +24 -0
- package/typography/Text/Text.css +18 -0
- package/typography/Text/Text.d.ts +26 -0
- package/typography/Text/Text.js +71 -0
- package/typography/Text/Text.sty.d.ts +16 -0
- package/typography/Text/Text.sty.js +25 -0
- package/typography/TextEllipsis/TextEllipsis.css +22 -0
- package/typography/TextEllipsis/TextEllipsis.d.ts +32 -0
- package/typography/TextEllipsis/TextEllipsis.js +167 -0
- package/typography/TextEllipsis/TextEllipsis.sty.d.ts +15 -0
- package/typography/TextEllipsis/TextEllipsis.sty.js +25 -0
- package/typography/index.d.ts +28 -0
- package/typography/index.js +54 -0
- package/typography/utils.d.ts +52 -0
- package/typography/utils.js +119 -0
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
.colorUtils_colorUtilsCSS_color_critical__17bwkb04 {
|
|
2
|
+
--vars_text__17bwkb00: var(--dt-colors-text-critical-default, #b80031);
|
|
3
|
+
--vars_icon__17bwkb01: var(--dt-colors-icon-critical-default, #b80031);
|
|
4
|
+
--vars_borderColor__17bwkb02: var(--dt-colors-border-critical-default, #f1cdcf);
|
|
5
|
+
}
|
|
6
|
+
.colorUtils_colorUtilsCSS_color_neutral__17bwkb05 {
|
|
7
|
+
--vars_text__17bwkb00: var(--dt-colors-text-neutral-default, #2b2a58);
|
|
8
|
+
--vars_icon__17bwkb01: var(--dt-colors-icon-neutral-default, #2b2a58);
|
|
9
|
+
--vars_borderColor__17bwkb02: var(--dt-colors-border-neutral-default, #d2d3e1);
|
|
10
|
+
}
|
|
11
|
+
.colorUtils_colorUtilsCSS_color_primary__17bwkb06 {
|
|
12
|
+
--vars_text__17bwkb00: var(--dt-colors-text-primary-default, #454cc9);
|
|
13
|
+
--vars_icon__17bwkb01: var(--dt-colors-icon-primary-default, #454cc9);
|
|
14
|
+
--vars_borderColor__17bwkb02: var(--dt-colors-border-primary-default, #ccd3f3);
|
|
15
|
+
}
|
|
16
|
+
.colorUtils_colorUtilsCSS_color_success__17bwkb07 {
|
|
17
|
+
--vars_text__17bwkb00: var(--dt-colors-text-success-default, #2c6360);
|
|
18
|
+
--vars_icon__17bwkb01: var(--dt-colors-icon-success-default, #2c6360);
|
|
19
|
+
--vars_borderColor__17bwkb02: var(--dt-colors-border-success-default, #cad6d7);
|
|
20
|
+
}
|
|
21
|
+
.colorUtils_colorUtilsCSS_color_warning__17bwkb08 {
|
|
22
|
+
--vars_text__17bwkb00: var(--dt-colors-text-warning-default, #805100);
|
|
23
|
+
--vars_icon__17bwkb01: var(--dt-colors-icon-warning-default, #805100);
|
|
24
|
+
--vars_borderColor__17bwkb02: var(--dt-colors-border-warning-default, #f4e5d5);
|
|
25
|
+
}
|
|
26
|
+
.colorUtils_colorUtilsCSS_color_onAccent__17bwkb09 {
|
|
27
|
+
--vars_text__17bwkb00: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
|
|
28
|
+
--vars_icon__17bwkb01: var(--dt-colors-icon-neutral-on-accent-default, #f3f3f6);
|
|
29
|
+
--vars_borderColor__17bwkb02: var(--dt-colors-border-neutral-on-accent-default, #f3f3f6);
|
|
30
|
+
}
|
|
31
|
+
.colorUtils_colorUtilsCSS_compound_0__17bwkb0e {
|
|
32
|
+
--vars_text__17bwkb00: var(--dt-colors-text-primary-on-accent-default, #f4f4fb);
|
|
33
|
+
--vars_icon__17bwkb01: var(--dt-colors-icon-primary-on-accent-default, #f4f4fb);
|
|
34
|
+
--vars_borderColor__17bwkb02: var(--dt-colors-border-primary-accent, #454cc9);
|
|
35
|
+
}
|
|
36
|
+
.colorUtils_colorUtilsCSS_compound_1__17bwkb0f {
|
|
37
|
+
--vars_text__17bwkb00: var(--dt-colors-text-success-on-accent-default, #f1f4f4);
|
|
38
|
+
--vars_icon__17bwkb01: var(--dt-colors-icon-success-on-accent-default, #f1f4f4);
|
|
39
|
+
--vars_borderColor__17bwkb02: var(--dt-colors-border-success-accent, #2c6360);
|
|
40
|
+
}
|
|
41
|
+
.colorUtils_colorUtilsCSS_compound_2__17bwkb0g {
|
|
42
|
+
--vars_text__17bwkb00: var(--dt-colors-text-warning-on-accent-default, #272025);
|
|
43
|
+
--vars_icon__17bwkb01: var(--dt-colors-icon-warning-on-accent-default, #272025);
|
|
44
|
+
--vars_borderColor__17bwkb02: var(--dt-colors-border-warning-accent, #805100);
|
|
45
|
+
}
|
|
46
|
+
.colorUtils_colorUtilsCSS_compound_3__17bwkb0h {
|
|
47
|
+
--vars_text__17bwkb00: var(--dt-colors-text-critical-on-accent-default, #f9f1f3);
|
|
48
|
+
--vars_icon__17bwkb01: var(--dt-colors-icon-critical-on-accent-default, #f9f1f3);
|
|
49
|
+
--vars_borderColor__17bwkb02: var(--dt-colors-border-critical-accent, #b80031);
|
|
50
|
+
}
|
|
51
|
+
.colorUtils_colorUtilsCSS_compound_4__17bwkb0i {
|
|
52
|
+
--vars_text__17bwkb00: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
|
|
53
|
+
--vars_icon__17bwkb01: var(--dt-colors-icon-neutral-on-accent-default, #f3f3f6);
|
|
54
|
+
--vars_borderColor__17bwkb02: var(--dt-colors-border-neutral-accent, #545587);
|
|
55
|
+
}
|
|
56
|
+
.colorUtils_colorUtilsCSS_compound_5__17bwkb0j {
|
|
57
|
+
--vars_text__17bwkb00: var(--dt-colors-text-primary-disabled, #54558780);
|
|
58
|
+
--vars_icon__17bwkb01: var(--dt-colors-icon-primary-disabled, #54558780);
|
|
59
|
+
--vars_borderColor__17bwkb02: var(--dt-colors-border-primary-disabled, #d2d3e180);
|
|
60
|
+
}
|
|
61
|
+
.colorUtils_colorUtilsCSS_compound_6__17bwkb0k {
|
|
62
|
+
--vars_text__17bwkb00: var(--dt-colors-text-success-disabled, #54558780);
|
|
63
|
+
--vars_icon__17bwkb01: var(--dt-colors-icon-success-disabled, #54558780);
|
|
64
|
+
--vars_borderColor__17bwkb02: var(--dt-colors-border-success-disabled, #d2d3e180);
|
|
65
|
+
}
|
|
66
|
+
.colorUtils_colorUtilsCSS_compound_7__17bwkb0l {
|
|
67
|
+
--vars_text__17bwkb00: var(--dt-colors-text-warning-disabled, #54558780);
|
|
68
|
+
--vars_icon__17bwkb01: var(--dt-colors-icon-warning-disabled, #54558780);
|
|
69
|
+
--vars_borderColor__17bwkb02: var(--dt-colors-border-warning-disabled, #d2d3e180);
|
|
70
|
+
}
|
|
71
|
+
.colorUtils_colorUtilsCSS_compound_8__17bwkb0m {
|
|
72
|
+
--vars_text__17bwkb00: var(--dt-colors-text-critical-disabled, #54558780);
|
|
73
|
+
--vars_icon__17bwkb01: var(--dt-colors-icon-critical-disabled, #54558780);
|
|
74
|
+
--vars_borderColor__17bwkb02: var(--dt-colors-border-critical-disabled, #d2d3e180);
|
|
75
|
+
}
|
|
76
|
+
.colorUtils_colorUtilsCSS_compound_9__17bwkb0n {
|
|
77
|
+
--vars_text__17bwkb00: var(--dt-colors-text-neutral-disabled, #54558780);
|
|
78
|
+
--vars_icon__17bwkb01: var(--dt-colors-icon-neutral-disabled, #54558780);
|
|
79
|
+
--vars_borderColor__17bwkb02: var(--dt-colors-border-neutral-disabled, #d2d3e180);
|
|
80
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Defines the vars that decide the color
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
declare const vars: {
|
|
6
|
+
text: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
7
|
+
icon: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
8
|
+
borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Defines the style for text, icons and border colors
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const colorUtilsCSS: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
15
|
+
color: {
|
|
16
|
+
critical: {
|
|
17
|
+
vars: {
|
|
18
|
+
[x: string]: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
neutral: {
|
|
22
|
+
vars: {
|
|
23
|
+
[x: string]: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
primary: {
|
|
27
|
+
vars: {
|
|
28
|
+
[x: string]: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
success: {
|
|
32
|
+
vars: {
|
|
33
|
+
[x: string]: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
warning: {
|
|
37
|
+
vars: {
|
|
38
|
+
[x: string]: string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
onAccent: {
|
|
42
|
+
vars: {
|
|
43
|
+
[x: string]: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
variant: {
|
|
48
|
+
default: {};
|
|
49
|
+
accent: {};
|
|
50
|
+
};
|
|
51
|
+
disabled: {
|
|
52
|
+
true: {};
|
|
53
|
+
false: {};
|
|
54
|
+
};
|
|
55
|
+
}>;
|
|
56
|
+
export { vars as colorUtilsVars };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var colorUtils_css_exports = {};
|
|
19
|
+
__export(colorUtils_css_exports, {
|
|
20
|
+
colorUtilsCSS: () => colorUtilsCSS,
|
|
21
|
+
colorUtilsVars: () => colorUtilsVars
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(colorUtils_css_exports);
|
|
24
|
+
var import_colorUtils_css_ts_vanilla = require("./colorUtils.css");
|
|
25
|
+
var import_createRuntimeFn = require("@vanilla-extract/recipes/createRuntimeFn");
|
|
26
|
+
var colorUtilsCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "colorUtils__17bwkb03", variantClassNames: { color: { critical: "colorUtils_colorUtilsCSS_color_critical__17bwkb04", neutral: "colorUtils_colorUtilsCSS_color_neutral__17bwkb05", primary: "colorUtils_colorUtilsCSS_color_primary__17bwkb06", success: "colorUtils_colorUtilsCSS_color_success__17bwkb07", warning: "colorUtils_colorUtilsCSS_color_warning__17bwkb08", onAccent: "colorUtils_colorUtilsCSS_color_onAccent__17bwkb09" }, variant: { "default": "colorUtils_colorUtilsCSS_variant_default__17bwkb0a", accent: "colorUtils_colorUtilsCSS_variant_accent__17bwkb0b" }, disabled: { true: "colorUtils_colorUtilsCSS_disabled_true__17bwkb0c", false: "colorUtils_colorUtilsCSS_disabled_false__17bwkb0d" } }, defaultVariants: {}, compoundVariants: [[{ color: "primary", variant: "accent" }, "colorUtils_colorUtilsCSS_compound_0__17bwkb0e"], [{ color: "success", variant: "accent" }, "colorUtils_colorUtilsCSS_compound_1__17bwkb0f"], [{ color: "warning", variant: "accent" }, "colorUtils_colorUtilsCSS_compound_2__17bwkb0g"], [{ color: "critical", variant: "accent" }, "colorUtils_colorUtilsCSS_compound_3__17bwkb0h"], [{ color: "neutral", variant: "accent" }, "colorUtils_colorUtilsCSS_compound_4__17bwkb0i"], [{ color: "primary", disabled: true }, "colorUtils_colorUtilsCSS_compound_5__17bwkb0j"], [{ color: "success", disabled: true }, "colorUtils_colorUtilsCSS_compound_6__17bwkb0k"], [{ color: "warning", disabled: true }, "colorUtils_colorUtilsCSS_compound_7__17bwkb0l"], [{ color: "critical", disabled: true }, "colorUtils_colorUtilsCSS_compound_8__17bwkb0m"], [{ color: "neutral", disabled: true }, "colorUtils_colorUtilsCSS_compound_9__17bwkb0n"]] });
|
|
27
|
+
var colorUtilsVars = { text: "var(--vars_text__17bwkb00)", icon: "var(--vars_icon__17bwkb01)", borderColor: "var(--vars_borderColor__17bwkb02)" };
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
.container_containerColorsCSS_color_critical__6levse4 {
|
|
2
|
+
--vars_text__6levse0: var(--dt-colors-text-critical-default, #b80031);
|
|
3
|
+
--vars_background__6levse1: var(--dt-colors-background-container-critical-default, #f3eaed);
|
|
4
|
+
--vars_borderColor__6levse2: var(--dt-colors-border-critical-default, #f1cdcf);
|
|
5
|
+
}
|
|
6
|
+
.container_containerColorsCSS_color_neutral__6levse5 {
|
|
7
|
+
--vars_text__6levse0: var(--dt-colors-text-neutral-default, #2b2a58);
|
|
8
|
+
--vars_background__6levse1: var(--dt-colors-background-container-neutral-default, #ebebf2);
|
|
9
|
+
--vars_borderColor__6levse2: var(--dt-colors-border-neutral-default, #d2d3e1);
|
|
10
|
+
}
|
|
11
|
+
.container_containerColorsCSS_color_primary__6levse6 {
|
|
12
|
+
--vars_text__6levse0: var(--dt-colors-text-primary-default, #454cc9);
|
|
13
|
+
--vars_background__6levse1: var(--dt-colors-background-container-primary-default, #e9ebf6);
|
|
14
|
+
--vars_borderColor__6levse2: var(--dt-colors-border-primary-default, #ccd3f3);
|
|
15
|
+
}
|
|
16
|
+
.container_containerColorsCSS_color_success__6levse7 {
|
|
17
|
+
--vars_text__6levse0: var(--dt-colors-text-success-default, #2c6360);
|
|
18
|
+
--vars_background__6levse1: var(--dt-colors-background-container-success-default, #e9ecef);
|
|
19
|
+
--vars_borderColor__6levse2: var(--dt-colors-border-success-default, #cad6d7);
|
|
20
|
+
}
|
|
21
|
+
.container_containerColorsCSS_color_warning__6levse8 {
|
|
22
|
+
--vars_text__6levse0: var(--dt-colors-text-warning-default, #805100);
|
|
23
|
+
--vars_background__6levse1: var(--dt-colors-background-container-warning-default, #f3efef);
|
|
24
|
+
--vars_borderColor__6levse2: var(--dt-colors-border-warning-default, #f4e5d5);
|
|
25
|
+
}
|
|
26
|
+
.container_containerColorsCSS_variant_minimal__6levse9 {
|
|
27
|
+
--vars_background__6levse1: transparent;
|
|
28
|
+
background-color: none;
|
|
29
|
+
}
|
|
30
|
+
.container_containerColorsCSS_compound_0__6levsed {
|
|
31
|
+
--vars_text__6levse0: var(--dt-colors-text-primary-on-accent-default, #f4f4fb);
|
|
32
|
+
--vars_background__6levse1: var(--dt-colors-background-container-primary-accent, #474ecf);
|
|
33
|
+
}
|
|
34
|
+
.container_containerColorsCSS_compound_1__6levsee {
|
|
35
|
+
--vars_text__6levse0: var(--dt-colors-text-success-on-accent-default, #f1f4f4);
|
|
36
|
+
--vars_background__6levse1: var(--dt-colors-background-container-success-accent, #2f6863);
|
|
37
|
+
}
|
|
38
|
+
.container_containerColorsCSS_compound_2__6levsef {
|
|
39
|
+
--vars_text__6levse0: var(--dt-colors-text-warning-on-accent-default, #272025);
|
|
40
|
+
--vars_background__6levse1: var(--dt-colors-background-container-warning-accent, #eca440);
|
|
41
|
+
}
|
|
42
|
+
.container_containerColorsCSS_compound_3__6levseg {
|
|
43
|
+
--vars_text__6levse0: var(--dt-colors-text-critical-on-accent-default, #f9f1f3);
|
|
44
|
+
--vars_background__6levse1: var(--dt-colors-background-container-critical-accent, #c4233b);
|
|
45
|
+
}
|
|
46
|
+
.container_containerColorsCSS_compound_4__6levseh {
|
|
47
|
+
--vars_text__6levse0: var(--dt-colors-text-neutral-on-accent-default, #f3f3f6);
|
|
48
|
+
--vars_background__6levse1: var(--dt-colors-background-container-neutral-accent, #5a5b8c);
|
|
49
|
+
}
|
|
50
|
+
.container_containerColorsCSS_compound_5__6levsei {
|
|
51
|
+
--vars_background__6levse1: var(--dt-colors-background-container-primary-emphasized, #dfe3f5);
|
|
52
|
+
}
|
|
53
|
+
.container_containerColorsCSS_compound_6__6levsej {
|
|
54
|
+
--vars_background__6levse1: var(--dt-colors-background-container-success-emphasized, #dfe4e7);
|
|
55
|
+
}
|
|
56
|
+
.container_containerColorsCSS_compound_7__6levsek {
|
|
57
|
+
--vars_background__6levse1: var(--dt-colors-background-container-warning-emphasized, #f4ece6);
|
|
58
|
+
}
|
|
59
|
+
.container_containerColorsCSS_compound_8__6levsel {
|
|
60
|
+
--vars_background__6levse1: var(--dt-colors-background-container-critical-emphasized, #f3e0e3);
|
|
61
|
+
}
|
|
62
|
+
.container_containerColorsCSS_compound_9__6levsem {
|
|
63
|
+
--vars_background__6levse1: var(--dt-colors-background-container-neutral-emphasized, #e2e3ec);
|
|
64
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Defines the vars that decide the color
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
declare const vars: {
|
|
6
|
+
text: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
7
|
+
background: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
8
|
+
borderColor: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Defines the style for all containers
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const containerColorsCSS: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
15
|
+
color: {
|
|
16
|
+
critical: {
|
|
17
|
+
vars: {
|
|
18
|
+
[x: string]: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
neutral: {
|
|
22
|
+
vars: {
|
|
23
|
+
[x: string]: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
primary: {
|
|
27
|
+
vars: {
|
|
28
|
+
[x: string]: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
success: {
|
|
32
|
+
vars: {
|
|
33
|
+
[x: string]: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
warning: {
|
|
37
|
+
vars: {
|
|
38
|
+
[x: string]: string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
variant: {
|
|
43
|
+
minimal: {
|
|
44
|
+
backgroundColor: "none";
|
|
45
|
+
vars: {
|
|
46
|
+
[x: string]: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
default: {};
|
|
50
|
+
emphasized: {};
|
|
51
|
+
accent: {};
|
|
52
|
+
};
|
|
53
|
+
}>;
|
|
54
|
+
export { vars as containerColorVars };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var container_css_exports = {};
|
|
19
|
+
__export(container_css_exports, {
|
|
20
|
+
containerColorVars: () => containerColorVars,
|
|
21
|
+
containerColorsCSS: () => containerColorsCSS
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(container_css_exports);
|
|
24
|
+
var import_container_css_ts_vanilla = require("./container.css");
|
|
25
|
+
var import_createRuntimeFn = require("@vanilla-extract/recipes/createRuntimeFn");
|
|
26
|
+
var containerColorVars = { text: "var(--vars_text__6levse0)", background: "var(--vars_background__6levse1)", borderColor: "var(--vars_borderColor__6levse2)" };
|
|
27
|
+
var containerColorsCSS = (0, import_createRuntimeFn.createRuntimeFn)({ defaultClassName: "container__6levse3", variantClassNames: { color: { critical: "container_containerColorsCSS_color_critical__6levse4", neutral: "container_containerColorsCSS_color_neutral__6levse5", primary: "container_containerColorsCSS_color_primary__6levse6", success: "container_containerColorsCSS_color_success__6levse7", warning: "container_containerColorsCSS_color_warning__6levse8" }, variant: { minimal: "container_containerColorsCSS_variant_minimal__6levse9", "default": "container_containerColorsCSS_variant_default__6levsea", emphasized: "container_containerColorsCSS_variant_emphasized__6levseb", accent: "container_containerColorsCSS_variant_accent__6levsec" } }, defaultVariants: {}, compoundVariants: [[{ color: "primary", variant: "accent" }, "container_containerColorsCSS_compound_0__6levsed"], [{ color: "success", variant: "accent" }, "container_containerColorsCSS_compound_1__6levsee"], [{ color: "warning", variant: "accent" }, "container_containerColorsCSS_compound_2__6levsef"], [{ color: "critical", variant: "accent" }, "container_containerColorsCSS_compound_3__6levseg"], [{ color: "neutral", variant: "accent" }, "container_containerColorsCSS_compound_4__6levseh"], [{ color: "primary", variant: "emphasized" }, "container_containerColorsCSS_compound_5__6levsei"], [{ color: "success", variant: "emphasized" }, "container_containerColorsCSS_compound_6__6levsej"], [{ color: "warning", variant: "emphasized" }, "container_containerColorsCSS_compound_7__6levsek"], [{ color: "critical", variant: "emphasized" }, "container_containerColorsCSS_compound_8__6levsel"], [{ color: "neutral", variant: "emphasized" }, "container_containerColorsCSS_compound_9__6levsem"]] });
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var ellipsis_css_exports = {};
|
|
19
|
+
__export(ellipsis_css_exports, {
|
|
20
|
+
ellipsisCSS: () => ellipsisCSS
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(ellipsis_css_exports);
|
|
23
|
+
var import_ellipsis_css_ts_vanilla = require("./ellipsis.css");
|
|
24
|
+
var ellipsisCSS = "ellipsis_ellipsisCSS__oqqp1n0";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Helper function that will extract all props from an object and will return them.
|
|
3
|
+
* The rest returned are the ones that don´t belong to the object.
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare function extract<T extends object, K extends keyof T>(obj: T, keys: Array<K>): {
|
|
7
|
+
extracted: Pick<T, K>;
|
|
8
|
+
rest: Omit<T, K>;
|
|
9
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var extract_util_exports = {};
|
|
19
|
+
__export(extract_util_exports, {
|
|
20
|
+
extract: () => extract
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(extract_util_exports);
|
|
23
|
+
function extract(obj, keys) {
|
|
24
|
+
const extracted = {};
|
|
25
|
+
const rest = { ...obj };
|
|
26
|
+
for (const key of keys) {
|
|
27
|
+
if (Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
28
|
+
extracted[key] = obj[key];
|
|
29
|
+
delete rest[key];
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
return { extracted, rest };
|
|
33
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { GapProps } from './getGapSprinkles.js';
|
|
3
|
+
import { GridFlexPositionProps } from './getGridFlexPositionSprinkles.js';
|
|
4
|
+
import { LayoutSizeProps } from './getLayoutSizeStyles.js';
|
|
5
|
+
import { SpacingProps } from './getSpacingSprinkles.js';
|
|
6
|
+
/**
|
|
7
|
+
* Defines the flex item style props.
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
export interface FlexItemStyleProps {
|
|
11
|
+
/**
|
|
12
|
+
* Determines whether this is a flex item.
|
|
13
|
+
* If true, display: 'flex' style will not be added.
|
|
14
|
+
*/
|
|
15
|
+
flexItem?: boolean;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Defines the flex props.
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export interface FlexStyleProps extends GridFlexPositionProps, GapProps, LayoutSizeProps, SpacingProps, FlexItemStyleProps {
|
|
22
|
+
/** Defines order */
|
|
23
|
+
order?: React.CSSProperties['order'];
|
|
24
|
+
/** Defines flex grow */
|
|
25
|
+
flexGrow?: React.CSSProperties['flexGrow'];
|
|
26
|
+
/** Defines flex shrink */
|
|
27
|
+
flexShrink?: React.CSSProperties['flexShrink'];
|
|
28
|
+
/** Defines flex basis */
|
|
29
|
+
flexBasis?: React.CSSProperties['flexBasis'];
|
|
30
|
+
/** Defines flex */
|
|
31
|
+
flex?: React.CSSProperties['flex'];
|
|
32
|
+
/** Defines flex direction */
|
|
33
|
+
flexDirection?: React.CSSProperties['flexDirection'];
|
|
34
|
+
/** Defines flex wrap */
|
|
35
|
+
flexWrap?: React.CSSProperties['flexWrap'];
|
|
36
|
+
/** Defines flex flow */
|
|
37
|
+
flexFlow?: React.CSSProperties['flexFlow'];
|
|
38
|
+
/** Defines grid column start */
|
|
39
|
+
gridColumnStart?: React.CSSProperties['gridColumnStart'];
|
|
40
|
+
/** Defines grid column end */
|
|
41
|
+
gridColumnEnd?: React.CSSProperties['gridColumnEnd'];
|
|
42
|
+
/** Defines grid row start */
|
|
43
|
+
gridRowStart?: React.CSSProperties['gridRowStart'];
|
|
44
|
+
/** Defines grid row end */
|
|
45
|
+
gridRowEnd?: React.CSSProperties['gridRowEnd'];
|
|
46
|
+
/** Defines grid column */
|
|
47
|
+
gridColumn?: React.CSSProperties['gridColumn'];
|
|
48
|
+
/** Defines grid row */
|
|
49
|
+
gridRow?: React.CSSProperties['gridRow'];
|
|
50
|
+
/** Defines grid area */
|
|
51
|
+
gridArea?: React.CSSProperties['gridArea'];
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Helper function that will extract all styling relevant props for the Flex styling
|
|
55
|
+
* and will return them as classnames and style attributes.
|
|
56
|
+
* The remaining props returned are the ones that no longer contain any Flex styling
|
|
57
|
+
* related entries.
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
export declare function getFlexStyles<T extends FlexStyleProps>(props: T, defaults?: Partial<FlexStyleProps>): [
|
|
61
|
+
className: string,
|
|
62
|
+
style: React.CSSProperties,
|
|
63
|
+
remainingProps: Omit<T, keyof FlexStyleProps>
|
|
64
|
+
];
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
var getFlexStyles_exports = {};
|
|
29
|
+
__export(getFlexStyles_exports, {
|
|
30
|
+
getFlexStyles: () => getFlexStyles
|
|
31
|
+
});
|
|
32
|
+
module.exports = __toCommonJS(getFlexStyles_exports);
|
|
33
|
+
var import_clsx = __toESM(require("clsx"));
|
|
34
|
+
var import_extract_util = require("./extract-util.js");
|
|
35
|
+
var import_getGapSprinkles = require("./getGapSprinkles.js");
|
|
36
|
+
var import_getGridFlexPositionSprinkles = require("./getGridFlexPositionSprinkles.js");
|
|
37
|
+
var import_getLayoutSizeStyles = require("./getLayoutSizeStyles.js");
|
|
38
|
+
var import_getSpacingSprinkles = require("./getSpacingSprinkles.js");
|
|
39
|
+
var import_safe_sprinkles = require("./safe-sprinkles.js");
|
|
40
|
+
const flexItemPropKeys = ["flexItem"];
|
|
41
|
+
const flexStylePropKeys = [
|
|
42
|
+
/* Flex item props */
|
|
43
|
+
"order",
|
|
44
|
+
"flexGrow",
|
|
45
|
+
"flexShrink",
|
|
46
|
+
"flexBasis",
|
|
47
|
+
"flex",
|
|
48
|
+
/* Grid container props */
|
|
49
|
+
"flexDirection",
|
|
50
|
+
"flexWrap",
|
|
51
|
+
"flexFlow",
|
|
52
|
+
/* Grid item props */
|
|
53
|
+
"gridColumnStart",
|
|
54
|
+
"gridColumnEnd",
|
|
55
|
+
"gridRowStart",
|
|
56
|
+
"gridRowEnd",
|
|
57
|
+
"gridColumn",
|
|
58
|
+
"gridRow",
|
|
59
|
+
"gridArea"
|
|
60
|
+
];
|
|
61
|
+
function extractFlexItem(props) {
|
|
62
|
+
const { extracted, rest } = (0, import_extract_util.extract)(props, flexItemPropKeys);
|
|
63
|
+
return { extracted, rest };
|
|
64
|
+
}
|
|
65
|
+
function getFlexStyles(props, defaults = {}) {
|
|
66
|
+
const { extracted: additionalFlexStyles, rest } = (0, import_extract_util.extract)(
|
|
67
|
+
props,
|
|
68
|
+
flexStylePropKeys
|
|
69
|
+
);
|
|
70
|
+
const [sizeStyles, afterSizeExtraction] = (0, import_getLayoutSizeStyles.getLayoutSizeStyles)(rest, defaults);
|
|
71
|
+
const [gridFlexClassNames, gridFlexRemainingProps] = (0, import_getGridFlexPositionSprinkles.getGridFlexPositionSprinkles)(afterSizeExtraction, defaults);
|
|
72
|
+
const [spacingClassNames, spacingRemainingProps] = (0, import_getSpacingSprinkles.getSpacingSprinkles)(
|
|
73
|
+
gridFlexRemainingProps,
|
|
74
|
+
defaults
|
|
75
|
+
);
|
|
76
|
+
const [gapClassNames, gapRemainingProps] = (0, import_getGapSprinkles.getGapSprinkles)(
|
|
77
|
+
spacingRemainingProps,
|
|
78
|
+
defaults
|
|
79
|
+
);
|
|
80
|
+
const { extracted: flexItemProps, rest: remainingProps } = extractFlexItem(gapRemainingProps);
|
|
81
|
+
const flexItemClassName = flexItemProps.flexItem ? void 0 : (0, import_safe_sprinkles.globalSprinkles)({ display: "flex" });
|
|
82
|
+
return [
|
|
83
|
+
(0, import_clsx.default)(
|
|
84
|
+
gridFlexClassNames,
|
|
85
|
+
spacingClassNames,
|
|
86
|
+
gapClassNames,
|
|
87
|
+
flexItemClassName
|
|
88
|
+
),
|
|
89
|
+
{
|
|
90
|
+
...sizeStyles,
|
|
91
|
+
...additionalFlexStyles
|
|
92
|
+
},
|
|
93
|
+
remainingProps
|
|
94
|
+
];
|
|
95
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type SpacingProperties } from './sprinkle-properties.js';
|
|
2
|
+
/**
|
|
3
|
+
* Defines the box gap props.
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface GapProps {
|
|
7
|
+
/** Defines gap */
|
|
8
|
+
gap?: SpacingProperties;
|
|
9
|
+
/** Defines row gap */
|
|
10
|
+
rowGap?: SpacingProperties;
|
|
11
|
+
/** Defines column gap */
|
|
12
|
+
columnGap?: SpacingProperties;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Given a set of props will return the relevant class names for the gap sprinkles
|
|
16
|
+
* and the remaining props.
|
|
17
|
+
* @internal
|
|
18
|
+
*/
|
|
19
|
+
export declare function getGapSprinkles<T extends GapProps>(props: T, defaults?: Partial<GapProps>): [className: string, remainingProps: Omit<T, keyof GapProps>];
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var getGapSprinkles_exports = {};
|
|
19
|
+
__export(getGapSprinkles_exports, {
|
|
20
|
+
getGapSprinkles: () => getGapSprinkles
|
|
21
|
+
});
|
|
22
|
+
module.exports = __toCommonJS(getGapSprinkles_exports);
|
|
23
|
+
var import_extract_util = require("./extract-util.js");
|
|
24
|
+
var import_safe_sprinkles = require("./safe-sprinkles.js");
|
|
25
|
+
const gapPropKeys = ["gap", "rowGap", "columnGap"];
|
|
26
|
+
function getGapSprinkles(props, defaults = {}) {
|
|
27
|
+
const { extracted, rest } = (0, import_extract_util.extract)(props, gapPropKeys);
|
|
28
|
+
const { extracted: extractedDefaults } = (0, import_extract_util.extract)(defaults, gapPropKeys);
|
|
29
|
+
return [
|
|
30
|
+
(0, import_safe_sprinkles.globalSprinkles)({
|
|
31
|
+
...extractedDefaults,
|
|
32
|
+
...extracted
|
|
33
|
+
}),
|
|
34
|
+
rest
|
|
35
|
+
];
|
|
36
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { AlignContentPositionProps, AlignItemsPositionProps, AlignSelfPositionProps, JustifyContentPositionProps, JustifyItemsPositionProps, JustifySelfPositionProps, PlaceContentPositionProps, PlaceItemsPositionProps, PlaceSelfPositionProps } from './sprinkle-properties.js';
|
|
2
|
+
/**
|
|
3
|
+
* Defines the grid flex positions props.
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface GridFlexPositionProps {
|
|
7
|
+
/** justify self positions */
|
|
8
|
+
justifySelf?: JustifySelfPositionProps;
|
|
9
|
+
/** align self positions */
|
|
10
|
+
alignSelf?: AlignSelfPositionProps;
|
|
11
|
+
/** place self positions */
|
|
12
|
+
placeSelf?: PlaceSelfPositionProps;
|
|
13
|
+
/** justify items positions */
|
|
14
|
+
justifyItems?: JustifyItemsPositionProps;
|
|
15
|
+
/** align items positions */
|
|
16
|
+
alignItems?: AlignItemsPositionProps;
|
|
17
|
+
/** place items positions */
|
|
18
|
+
placeItems?: PlaceItemsPositionProps;
|
|
19
|
+
/** justify content positions */
|
|
20
|
+
justifyContent?: JustifyContentPositionProps;
|
|
21
|
+
/** align content positions */
|
|
22
|
+
alignContent?: AlignContentPositionProps;
|
|
23
|
+
/** place content positions */
|
|
24
|
+
placeContent?: PlaceContentPositionProps;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Given a set of props, this function will extract the sprinkles props for
|
|
28
|
+
* Grid/Flex Position spinkles and return the appropriate
|
|
29
|
+
* classnames as well as the remaining props.
|
|
30
|
+
* @internal
|
|
31
|
+
* */
|
|
32
|
+
export declare function getGridFlexPositionSprinkles<T extends GridFlexPositionProps>(props: T, defaults?: Partial<GridFlexPositionProps>): [
|
|
33
|
+
sprinklesClassNames: string,
|
|
34
|
+
remainingProps: Omit<T, keyof GridFlexPositionProps>
|
|
35
|
+
];
|