@purpur/library 9.0.2 → 9.0.3
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/CHANGELOG.json +15 -0
- package/CHANGELOG.md +9 -1
- package/dist/ThemeProvider-CrjMv3M8.mjs +337 -0
- package/dist/{ThemeProvider-mOHIAi2k.mjs.map → ThemeProvider-CrjMv3M8.mjs.map} +1 -1
- package/dist/ThemeProvider-ipAIFRUi.js +2 -0
- package/dist/{ThemeProvider-djmNDpmy.js.map → ThemeProvider-ipAIFRUi.js.map} +1 -1
- package/dist/{footer-DY0s_C6e.mjs → footer-DcWsihxS.mjs} +3 -4
- package/dist/{footer-DY0s_C6e.mjs.map → footer-DcWsihxS.mjs.map} +1 -1
- package/dist/footer-DrjAwjuL.js +2 -0
- package/dist/{footer-Btsh40pg.js.map → footer-DrjAwjuL.js.map} +1 -1
- package/dist/footer.cjs.js +1 -1
- package/dist/footer.es.js +1 -1
- package/dist/{hero-banner-Cl5YFaKh.mjs → hero-banner-B8fRHxXc.mjs} +4 -5
- package/dist/{hero-banner-Cl5YFaKh.mjs.map → hero-banner-B8fRHxXc.mjs.map} +1 -1
- package/dist/hero-banner-D3peC1NR.js +2 -0
- package/dist/{hero-banner-4JZr2Tzb.js.map → hero-banner-D3peC1NR.js.map} +1 -1
- package/dist/hero-banner.cjs.js +1 -1
- package/dist/hero-banner.es.js +1 -1
- package/dist/libraries/theme/src/useApplyTheme.d.ts.map +1 -1
- package/dist/library.cjs.js +1 -1
- package/dist/library.es.js +6 -6
- package/dist/promotion-card-C7B5ZJaB.js +2 -0
- package/dist/{promotion-card-DMCtLQwW.js.map → promotion-card-C7B5ZJaB.js.map} +1 -1
- package/dist/{promotion-card-D2F-EWgn.mjs → promotion-card-wGGt75eI.mjs} +4 -5
- package/dist/{promotion-card-D2F-EWgn.mjs.map → promotion-card-wGGt75eI.mjs.map} +1 -1
- package/dist/promotion-card.cjs.js +1 -1
- package/dist/promotion-card.es.js +1 -1
- package/dist/text-area-9ggiIWtJ.js +2 -0
- package/dist/{text-area-C4mcG5c0.js.map → text-area-9ggiIWtJ.js.map} +1 -1
- package/dist/{text-area-CJD8ksqm.mjs → text-area-Cb9Hm2Z9.mjs} +3 -4
- package/dist/{text-area-CJD8ksqm.mjs.map → text-area-Cb9Hm2Z9.mjs.map} +1 -1
- package/dist/text-area.cjs.js +1 -1
- package/dist/text-area.es.js +1 -1
- package/dist/theme.cjs.js +1 -1
- package/dist/theme.es.js +2 -2
- package/dist/tokens/dark.css +9 -0
- package/dist/tokens/dark.d.ts +9 -0
- package/dist/tokens/dark.js +9 -0
- package/dist/tokens/index.css +18 -0
- package/dist/tokens/index.d.ts +9 -0
- package/dist/tokens/index.js +9 -0
- package/dist/useColorScheme-DNNu9bz0.js +2 -0
- package/dist/{useColorScheme-DwlZAnlk.js.map → useColorScheme-DNNu9bz0.js.map} +1 -1
- package/dist/{useColorScheme-CgjazeGp.mjs → useColorScheme-DRQcbSog.mjs} +2 -2
- package/dist/{useColorScheme-CgjazeGp.mjs.map → useColorScheme-DRQcbSog.mjs.map} +1 -1
- package/package.json +21 -24
- package/tokens/dark.css +9 -0
- package/tokens/dark.d.ts +9 -0
- package/tokens/dark.js +9 -0
- package/tokens/index.css +18 -0
- package/tokens/index.d.ts +9 -0
- package/tokens/index.js +9 -0
- package/dist/ThemeProvider-djmNDpmy.js +0 -2
- package/dist/ThemeProvider-mOHIAi2k.mjs +0 -338
- package/dist/footer-Btsh40pg.js +0 -2
- package/dist/hero-banner-4JZr2Tzb.js +0 -2
- package/dist/promotion-card-DMCtLQwW.js +0 -2
- package/dist/text-area-C4mcG5c0.js +0 -2
- package/dist/useColorScheme-DwlZAnlk.js +0 -2
package/dist/footer.cjs.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./footer-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./footer-DrjAwjuL.js");exports.Footer=e.Footer;
|
|
2
2
|
//# sourceMappingURL=footer.cjs.js.map
|
package/dist/footer.es.js
CHANGED
|
@@ -2,9 +2,8 @@ import { jsx as n, jsxs as i } from "react/jsx-runtime";
|
|
|
2
2
|
import { G as B } from "./grid-DGnCQgwf.mjs";
|
|
3
3
|
import { a as H } from "./heading-gqtQNo5n.mjs";
|
|
4
4
|
import { a as v } from "./paragraph-DNtj7OLr.mjs";
|
|
5
|
-
import { u as V } from "./ThemeProvider-
|
|
5
|
+
import { u as V } from "./ThemeProvider-CrjMv3M8.mjs";
|
|
6
6
|
import "react";
|
|
7
|
-
import "change-case";
|
|
8
7
|
import { c as $ } from "./bind-CU-R61T-.mjs";
|
|
9
8
|
import { c as C } from "./button-DBX_tvfJ.mjs";
|
|
10
9
|
import { b as Z } from "./icon.es-CZcKxTaM.mjs";
|
|
@@ -67,7 +66,7 @@ const p = {
|
|
|
67
66
|
children: /* @__PURE__ */ n(Z, { size: "xs", svg: o ? j : G })
|
|
68
67
|
}
|
|
69
68
|
)
|
|
70
|
-
] }), r = $.bind(p),
|
|
69
|
+
] }), r = $.bind(p), Q = {
|
|
71
70
|
default: "default",
|
|
72
71
|
enabled: "enabled",
|
|
73
72
|
disabled: "disabled"
|
|
@@ -172,6 +171,6 @@ m.Media = S;
|
|
|
172
171
|
m.Actions = A;
|
|
173
172
|
export {
|
|
174
173
|
m as H,
|
|
175
|
-
|
|
174
|
+
Q as T
|
|
176
175
|
};
|
|
177
|
-
//# sourceMappingURL=hero-banner-
|
|
176
|
+
//# sourceMappingURL=hero-banner-B8fRHxXc.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hero-banner-Cl5YFaKh.mjs","sources":["../../../components/hero-banner/src/hero-banner-actions.tsx","../../../components/icon/dist/assets/play-filled.es.js","../../../components/icon/dist/assets/tv-pause.es.js","../../../components/hero-banner/src/hero-banner-media.tsx","../../../components/hero-banner/src/hero-banner.tsx"],"sourcesContent":["import React, { type ReactNode } from \"react\";\nimport type { BaseProps } from \"@purpur/common-types\";\nimport c from \"classnames/bind\";\n\nimport styles from \"./hero-banner.module.scss\";\n\ntype HeroBannerActionProps = Omit<BaseProps, \"children\"> & {\n /** One or several CTA links or buttons */\n children: ReactNode;\n};\n\nconst rootClassName = \"purpur-hero-banner\";\n\nconst cx = c.bind(styles);\n\nexport const HeroBannerActions = ({ children, className, ...props }: HeroBannerActionProps) => {\n return (\n <div {...props} className={cx(`${rootClassName}__actions`, className)}>\n {children}\n </div>\n );\n};\n","const l = {\n name: \"play-filled\",\n svg: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M19 12 5.5 19.794V4.206L19 12Z\"/><path fill-rule=\"evenodd\" d=\"M19.875 12a.875.875 0 0 1-.438.758l-13.5 7.794a.875.875 0 0 1-1.312-.758V4.206a.875.875 0 0 1 1.313-.758l13.5 7.794c.27.156.437.445.437.758Zm-13.5-6.279V18.28L17.25 12 6.375 5.721Z\" clip-rule=\"evenodd\"/></svg>',\n keywords: [\"play-filled\"],\n category: \"action\"\n};\nexport {\n l as playFilled\n};\n//# sourceMappingURL=play-filled.es.js.map\n","const a = {\n name: \"tv-pause\",\n svg: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M19 20h-3V4h3v16ZM8 20H5V4h3v16Z\"/><path fill-rule=\"evenodd\" d=\"M4.1 4a.9.9 0 0 1 .9-.9h3a.9.9 0 0 1 .9.9v16a.9.9 0 0 1-.9.9H5a.9.9 0 0 1-.9-.9V4Zm1.8.9v14.2h1.2V4.9H5.9Zm9.2-.9a.9.9 0 0 1 .9-.9h3a.9.9 0 0 1 .9.9v16a.9.9 0 0 1-.9.9h-3a.9.9 0 0 1-.9-.9V4Zm1.8.9v14.2h1.2V4.9h-1.2Z\" clip-rule=\"evenodd\"/></svg>',\n keywords: [\"tv-pause\"],\n category: \"action\"\n};\nexport {\n a as tvPause\n};\n//# sourceMappingURL=tv-pause.es.js.map\n","import React from \"react\";\nimport { Button } from \"@purpur/button\";\nimport type { BaseProps } from \"@purpur/common-types\";\nimport { Icon } from \"@purpur/icon\";\nimport { playFilled } from \"@purpur/icon/assets/play-filled\";\nimport { tvPause } from \"@purpur/icon/assets/tv-pause\";\n\nimport styles from \"./hero-banner.module.scss\";\n\nconst rootClassName = \"purpur-hero-banner\";\n\ntype WithVideo = {\n /** Video pause/play button callback (your implementation should handle the state) */\n togglePausePlay: () => void;\n /** Video pause/play button status (your implementation should handle the state) */\n isPlaying?: boolean;\n /** Aria label for the pause/play button, when the video is playing */\n videoPauseAriaLabel: string;\n /** Aria label for the pause/play button, when the video is not playing */\n videoPlayAriaLabel: string;\n};\n\ntype WithoutVideo = {\n togglePausePlay?: never;\n isPlaying?: never;\n videoPauseAriaLabel?: never;\n videoPlayAriaLabel?: never;\n};\n\nexport type HeroBannerMediaProps = BaseProps & (WithVideo | WithoutVideo);\n\nexport const HeroBannerMedia = ({\n children,\n isPlaying,\n togglePausePlay,\n videoPauseAriaLabel,\n videoPlayAriaLabel,\n className,\n ...props\n}: HeroBannerMediaProps) =>\n children && (\n <div className={className} {...props}>\n {children}\n {!!togglePausePlay && (\n <Button\n variant=\"primary\"\n negative\n iconOnly\n onClick={() => {\n togglePausePlay();\n }}\n className={styles[`${rootClassName}__video-button`]}\n aria-label={isPlaying ? videoPauseAriaLabel : videoPlayAriaLabel}\n >\n <Icon size=\"xs\" svg={isPlaying ? tvPause : playFilled} />\n </Button>\n )}\n </div>\n );\n","import React, { type ReactNode } from \"react\";\nimport type { BaseProps } from \"@purpur/common-types\";\nimport { Grid } from \"@purpur/grid\";\nimport { Heading } from \"@purpur/heading\";\nimport { Paragraph } from \"@purpur/paragraph\";\nimport { type ColorScheme, useTheme } from \"@purpur/theme\";\nimport c from \"classnames/bind\";\n\nimport styles from \"./hero-banner.module.scss\";\nimport { HeroBannerActions } from \"./hero-banner-actions\";\nimport { HeroBannerMedia } from \"./hero-banner-media\";\n\nexport type { HeroBannerMediaProps } from \"./hero-banner-media\";\n\nconst cx = c.bind(styles);\n\nexport const TitleHyphenVariant = {\n default: \"default\",\n enabled: \"enabled\",\n disabled: \"disabled\",\n} as const;\n\nexport type TitleHyphens = (typeof TitleHyphenVariant)[keyof typeof TitleHyphenVariant];\n\nexport type HeroBannerProps = BaseProps & {\n /**\n * Custom content slot\n * Add your CTAs here with <HeroBanner.CTAs> component\n */\n children?: ReactNode;\n /**\n * Breadcrumbs: <br/>\n * - Slot for your Breadcrumbs component\n */\n breadcrumbs?: ReactNode;\n forceColorScheme?: ColorScheme;\n /**\n * Content to display before the main heading\n */\n beforeTitle?: ReactNode;\n /**\n * Main heading of the component\n */\n title: string;\n /**\n * Main heading tag\n */\n titleTag?: \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\";\n titleHyphens?: TitleHyphens;\n /**\n * Preamble text\n */\n preamble?: string;\n /**\n * Additional text under the CTAs, recommended to limit element to simple text with text decorations\n */\n additionalText?: ReactNode;\n /**\n * <HeroBanner.Media /> component (images and videos)\n */\n media?: ReactNode;\n};\n\nconst rootClassName = \"purpur-hero-banner\";\n\nexport const HeroBanner = ({\n children,\n className,\n breadcrumbs,\n forceColorScheme,\n beforeTitle,\n title,\n titleTag = \"h1\",\n titleHyphens = \"default\",\n preamble,\n additionalText,\n media,\n ...props\n}: HeroBannerProps) => {\n const { options } = useTheme();\n const classes = cx([rootClassName, className]);\n\n const hasMedia = Boolean(media);\n const hasBreadcrumbs = Boolean(breadcrumbs);\n const hasAdditionalText = Boolean(additionalText);\n\n const resolvedColorScheme = forceColorScheme ?? options?.heroBannerColorScheme;\n\n return (\n <section data-color-scheme={resolvedColorScheme} className={classes} {...props}>\n <Grid\n noGap\n className={cx([\n `${rootClassName}__container`,\n {\n [`${rootClassName}__container--with-media`]: hasMedia,\n [`${rootClassName}__container--no-media`]: !hasMedia,\n },\n ])}\n containerClassName={cx(`${rootClassName}__grid-container`)}\n >\n {breadcrumbs && <div className={cx(`${rootClassName}__breadcrumbs`)}>{breadcrumbs}</div>}\n\n <div className={cx([`${rootClassName}__media`, `${rootClassName}__media--sm`])}>\n {media}\n </div>\n\n <div\n className={cx([\n `${rootClassName}__content`,\n {\n [`${rootClassName}__content--no-media`]: !hasMedia,\n [`${rootClassName}__content--no-breadcrumbs`]: !hasBreadcrumbs,\n [`${rootClassName}__content--no-additional-text`]: !hasAdditionalText,\n },\n ])}\n >\n <div\n className={cx([\n `${rootClassName}__main-content`,\n {\n [`${rootClassName}__main-content--no-media`]: !hasMedia,\n },\n ])}\n >\n {beforeTitle}\n {title && (\n <Heading\n negative\n tag={titleTag}\n variant=\"display-50\"\n className={cx([\n `${rootClassName}__title`,\n `${rootClassName}__title--hyphens-${titleHyphens}`,\n ])}\n >\n {title}\n </Heading>\n )}\n {preamble && (\n <Paragraph\n negative\n variant=\"preamble-100\"\n className={cx(`${rootClassName}__preamble`)}\n >\n {preamble}\n </Paragraph>\n )}\n {children && <div className={cx(`${rootClassName}__custom-content`)}>{children}</div>}\n </div>\n\n {additionalText && (\n <Paragraph\n negative\n variant=\"additional-100\"\n className={styles[`${rootClassName}__additional-text`]}\n >\n {additionalText}\n </Paragraph>\n )}\n </div>\n\n <div className={cx([`${rootClassName}__media`, `${rootClassName}__media--lg`])}>\n {media}\n </div>\n </Grid>\n </section>\n );\n};\n\nHeroBanner.displayName = \"HeroBanner\";\n\nHeroBanner.Media = HeroBannerMedia;\nHeroBanner.Actions = HeroBannerActions;\n"],"names":["rootClassName","cx","c","styles","HeroBannerActions","children","className","props","jsx","l","a","HeroBannerMedia","isPlaying","togglePausePlay","videoPauseAriaLabel","videoPlayAriaLabel","jsxs","Button","Icon","tvPause","playFilled","TitleHyphenVariant","HeroBanner","breadcrumbs","forceColorScheme","beforeTitle","title","titleTag","titleHyphens","preamble","additionalText","media","options","useTheme","classes","hasMedia","hasBreadcrumbs","hasAd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,QAAA;AAAA,QAIJ,gBAAAtB,EAAC,OAAA,EAAI,WAAWP,EAAG,CAAC,GAAGD,CAAa,WAAW,GAAGA,CAAa,aAAa,CAAC,GAC1E,UAAA+B,EAAA,CACH;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA,GAEJ;AAEJ;AAEAT,EAAW,cAAc;AAEzBA,EAAW,QAAQX;AACnBW,EAAW,UAAUlB;"}
|
|
1
|
+
{"version":3,"file":"hero-banner-B8fRHxXc.mjs","sources":["../../../components/hero-banner/src/hero-banner-actions.tsx","../../../components/icon/dist/assets/play-filled.es.js","../../../components/icon/dist/assets/tv-pause.es.js","../../../components/hero-banner/src/hero-banner-media.tsx","../../../components/hero-banner/src/hero-banner.tsx"],"sourcesContent":["import React, { type ReactNode } from \"react\";\nimport type { BaseProps } from \"@purpur/common-types\";\nimport c from \"classnames/bind\";\n\nimport styles from \"./hero-banner.module.scss\";\n\ntype HeroBannerActionProps = Omit<BaseProps, \"children\"> & {\n /** One or several CTA links or buttons */\n children: ReactNode;\n};\n\nconst rootClassName = \"purpur-hero-banner\";\n\nconst cx = c.bind(styles);\n\nexport const HeroBannerActions = ({ children, className, ...props }: HeroBannerActionProps) => {\n return (\n <div {...props} className={cx(`${rootClassName}__actions`, className)}>\n {children}\n </div>\n );\n};\n","const l = {\n name: \"play-filled\",\n svg: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M19 12 5.5 19.794V4.206L19 12Z\"/><path fill-rule=\"evenodd\" d=\"M19.875 12a.875.875 0 0 1-.438.758l-13.5 7.794a.875.875 0 0 1-1.312-.758V4.206a.875.875 0 0 1 1.313-.758l13.5 7.794c.27.156.437.445.437.758Zm-13.5-6.279V18.28L17.25 12 6.375 5.721Z\" clip-rule=\"evenodd\"/></svg>',\n keywords: [\"play-filled\"],\n category: \"action\"\n};\nexport {\n l as playFilled\n};\n//# sourceMappingURL=play-filled.es.js.map\n","const a = {\n name: \"tv-pause\",\n svg: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M19 20h-3V4h3v16ZM8 20H5V4h3v16Z\"/><path fill-rule=\"evenodd\" d=\"M4.1 4a.9.9 0 0 1 .9-.9h3a.9.9 0 0 1 .9.9v16a.9.9 0 0 1-.9.9H5a.9.9 0 0 1-.9-.9V4Zm1.8.9v14.2h1.2V4.9H5.9Zm9.2-.9a.9.9 0 0 1 .9-.9h3a.9.9 0 0 1 .9.9v16a.9.9 0 0 1-.9.9h-3a.9.9 0 0 1-.9-.9V4Zm1.8.9v14.2h1.2V4.9h-1.2Z\" clip-rule=\"evenodd\"/></svg>',\n keywords: [\"tv-pause\"],\n category: \"action\"\n};\nexport {\n a as tvPause\n};\n//# sourceMappingURL=tv-pause.es.js.map\n","import React from \"react\";\nimport { Button } from \"@purpur/button\";\nimport type { BaseProps } from \"@purpur/common-types\";\nimport { Icon } from \"@purpur/icon\";\nimport { playFilled } from \"@purpur/icon/assets/play-filled\";\nimport { tvPause } from \"@purpur/icon/assets/tv-pause\";\n\nimport styles from \"./hero-banner.module.scss\";\n\nconst rootClassName = \"purpur-hero-banner\";\n\ntype WithVideo = {\n /** Video pause/play button callback (your implementation should handle the state) */\n togglePausePlay: () => void;\n /** Video pause/play button status (your implementation should handle the state) */\n isPlaying?: boolean;\n /** Aria label for the pause/play button, when the video is playing */\n videoPauseAriaLabel: string;\n /** Aria label for the pause/play button, when the video is not playing */\n videoPlayAriaLabel: string;\n};\n\ntype WithoutVideo = {\n togglePausePlay?: never;\n isPlaying?: never;\n videoPauseAriaLabel?: never;\n videoPlayAriaLabel?: never;\n};\n\nexport type HeroBannerMediaProps = BaseProps & (WithVideo | WithoutVideo);\n\nexport const HeroBannerMedia = ({\n children,\n isPlaying,\n togglePausePlay,\n videoPauseAriaLabel,\n videoPlayAriaLabel,\n className,\n ...props\n}: HeroBannerMediaProps) =>\n children && (\n <div className={className} {...props}>\n {children}\n {!!togglePausePlay && (\n <Button\n variant=\"primary\"\n negative\n iconOnly\n onClick={() => {\n togglePausePlay();\n }}\n className={styles[`${rootClassName}__video-button`]}\n aria-label={isPlaying ? videoPauseAriaLabel : videoPlayAriaLabel}\n >\n <Icon size=\"xs\" svg={isPlaying ? tvPause : playFilled} />\n </Button>\n )}\n </div>\n );\n","import React, { type ReactNode } from \"react\";\nimport type { BaseProps } from \"@purpur/common-types\";\nimport { Grid } from \"@purpur/grid\";\nimport { Heading } from \"@purpur/heading\";\nimport { Paragraph } from \"@purpur/paragraph\";\nimport { type ColorScheme, useTheme } from \"@purpur/theme\";\nimport c from \"classnames/bind\";\n\nimport styles from \"./hero-banner.module.scss\";\nimport { HeroBannerActions } from \"./hero-banner-actions\";\nimport { HeroBannerMedia } from \"./hero-banner-media\";\n\nexport type { HeroBannerMediaProps } from \"./hero-banner-media\";\n\nconst cx = c.bind(styles);\n\nexport const TitleHyphenVariant = {\n default: \"default\",\n enabled: \"enabled\",\n disabled: \"disabled\",\n} as const;\n\nexport type TitleHyphens = (typeof TitleHyphenVariant)[keyof typeof TitleHyphenVariant];\n\nexport type HeroBannerProps = BaseProps & {\n /**\n * Custom content slot\n * Add your CTAs here with <HeroBanner.CTAs> component\n */\n children?: ReactNode;\n /**\n * Breadcrumbs: <br/>\n * - Slot for your Breadcrumbs component\n */\n breadcrumbs?: ReactNode;\n forceColorScheme?: ColorScheme;\n /**\n * Content to display before the main heading\n */\n beforeTitle?: ReactNode;\n /**\n * Main heading of the component\n */\n title: string;\n /**\n * Main heading tag\n */\n titleTag?: \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\";\n titleHyphens?: TitleHyphens;\n /**\n * Preamble text\n */\n preamble?: string;\n /**\n * Additional text under the CTAs, recommended to limit element to simple text with text decorations\n */\n additionalText?: ReactNode;\n /**\n * <HeroBanner.Media /> component (images and videos)\n */\n media?: ReactNode;\n};\n\nconst rootClassName = \"purpur-hero-banner\";\n\nexport const HeroBanner = ({\n children,\n className,\n breadcrumbs,\n forceColorScheme,\n beforeTitle,\n title,\n titleTag = \"h1\",\n titleHyphens = \"default\",\n preamble,\n additionalText,\n media,\n ...props\n}: HeroBannerProps) => {\n const { options } = useTheme();\n const classes = cx([rootClassName, className]);\n\n const hasMedia = Boolean(media);\n const hasBreadcrumbs = Boolean(breadcrumbs);\n const hasAdditionalText = Boolean(additionalText);\n\n const resolvedColorScheme = forceColorScheme ?? options?.heroBannerColorScheme;\n\n return (\n <section data-color-scheme={resolvedColorScheme} className={classes} {...props}>\n <Grid\n noGap\n className={cx([\n `${rootClassName}__container`,\n {\n [`${rootClassName}__container--with-media`]: hasMedia,\n [`${rootClassName}__container--no-media`]: !hasMedia,\n },\n ])}\n containerClassName={cx(`${rootClassName}__grid-container`)}\n >\n {breadcrumbs && <div className={cx(`${rootClassName}__breadcrumbs`)}>{breadcrumbs}</div>}\n\n <div className={cx([`${rootClassName}__media`, `${rootClassName}__media--sm`])}>\n {media}\n </div>\n\n <div\n className={cx([\n `${rootClassName}__content`,\n {\n [`${rootClassName}__content--no-media`]: !hasMedia,\n [`${rootClassName}__content--no-breadcrumbs`]: !hasBreadcrumbs,\n [`${rootClassName}__content--no-additional-text`]: !hasAdditionalText,\n },\n ])}\n >\n <div\n className={cx([\n `${rootClassName}__main-content`,\n {\n [`${rootClassName}__main-content--no-media`]: !hasMedia,\n },\n ])}\n >\n {beforeTitle}\n {title && (\n <Heading\n negative\n tag={titleTag}\n variant=\"display-50\"\n className={cx([\n `${rootClassName}__title`,\n `${rootClassName}__title--hyphens-${titleHyphens}`,\n ])}\n >\n {title}\n </Heading>\n )}\n {preamble && (\n <Paragraph\n negative\n variant=\"preamble-100\"\n className={cx(`${rootClassName}__preamble`)}\n >\n {preamble}\n </Paragraph>\n )}\n {children && <div className={cx(`${rootClassName}__custom-content`)}>{children}</div>}\n </div>\n\n {additionalText && (\n <Paragraph\n negative\n variant=\"additional-100\"\n className={styles[`${rootClassName}__additional-text`]}\n >\n {additionalText}\n </Paragraph>\n )}\n </div>\n\n <div className={cx([`${rootClassName}__media`, `${rootClassName}__media--lg`])}>\n {media}\n </div>\n </Grid>\n </section>\n );\n};\n\nHeroBanner.displayName = \"HeroBanner\";\n\nHeroBanner.Media = HeroBannerMedia;\nHeroBanner.Actions = HeroBannerActions;\n"],"names":["rootClassName","cx","c","styles","HeroBannerActions","children","className","props","jsx","l","a","HeroBannerMedia","isPlaying","togglePausePlay","videoPauseAriaLabel","videoPlayAriaLabel","jsxs","Button","Icon","tvPause","playFilled","TitleHyphenVariant","HeroBanner","breadcrumbs","forceColorScheme","beforeTitle","title","titleTag","titleHyphens","preamble","additionalText","media","options","useTheme","classes","hasMedia","hasBreadcrumbs","hasAdditionalText","resolvedColorScheme","Grid","Heading","Paragraph"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAWMA,IAAgB,sBAEhBC,IAAKC,EAAE,KAAKC,CAAM,GAEXC,IAAoB,CAAC,EAAE,UAAAC,GAAU,WAAAC,GAAW,GAAGC,QAExD,gBAAAC,EAAC,OAAA,EAAK,GAAGD,GAAO,WAAWN,EAAG,GAAGD,CAAa,aAAaM,CAAS,GACjE,UAAAD,EAAA,CACH,GCnBEI,IAAI;AAAA,EACR,MAAM;AAAA,EACN,KAAK;AAAA,EACL,UAAU,CAAC,aAAa;AAAA,EACxB,UAAU;AACZ,GCLMC,IAAI;AAAA,EACR,MAAM;AAAA,EACN,KAAK;AAAA,EACL,UAAU,CAAC,UAAU;AAAA,EACrB,UAAU;AACZ,GCIMV,IAAgB,sBAsBTW,IAAkB,CAAC;AAAA,EAC9B,UAAAN;AAAA,EACA,WAAAO;AAAA,EACA,iBAAAC;AAAA,EACA,qBAAAC;AAAA,EACA,oBAAAC;AAAA,EACA,WAAAT;AAAA,EACA,GAAGC;AACL,MACEF,KACE,gBAAAW,EAAC,OAAA,EAAI,WAAAV,GAAuB,GAAGC,GAC5B,UAAA;AAAA,EAAAF;AAAA,EACA,CAAC,CAACQ,K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ACR,WAAWxC,EAAG,GAAGD,CAAa,YAAY;AAAA,wBAEzC,UAAA6B;AAAA,sBAAA;AAAA,oBAAA;AAAA,oBAGJxB,uBAAa,OAAA,EAAI,WAAWJ,EAAG,GAAGD,CAAa,kBAAkB,GAAI,UAAAK,EAAA,CAAS;AAAA,kBAAA;AAAA,gBAAA;AAAA,cAAA;AAAA,cAGhFyB,KACC,gBAAAtB;AAAA,gBAACiC;AAAA,gBAAA;AAAA,kBACC,UAAQ;AAAA,kBACR,SAAQ;AAAA,kBACR,WAAWtC,EAAO,GAAGH,CAAa,mBAAmB;AAAA,kBAEpD,UAAA8B;AAAA,gBAAA;AAAA,cAAA;AAAA,YACH;AAAA,UAAA;AAAA,QAAA;AAAA,QAIJ,gBAAAtB,EAAC,OAAA,EAAI,WAAWP,EAAG,CAAC,GAAGD,CAAa,WAAW,GAAGA,CAAa,aAAa,CAAC,GAC1E,UAAA+B,EAAA,CACH;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA,GAEJ;AAEJ;AAEAT,EAAW,cAAc;AAEzBA,EAAW,QAAQX;AACnBW,EAAW,UAAUlB;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),w=require("./grid-uGMD2euo.js"),B=require("./heading-DLCdW6gx.js"),m=require("./paragraph-BsI53OR0.js"),f=require("./ThemeProvider-ipAIFRUi.js");require("react");const v=require("./bind-DeUYJ6m9.js"),H=require("./button-ChYUPi2k.js"),V=require("./icon.es-j3eRib6d.js"),i={"purpur-hero-banner":"_purpur-hero-banner_ue1q7_1","purpur-hero-banner__grid-container":"_purpur-hero-banner__grid-container_ue1q7_5","purpur-hero-banner__container":"_purpur-hero-banner__container_ue1q7_8","purpur-hero-banner__container--with-media":"_purpur-hero-banner__container--with-media_ue1q7_17","purpur-hero-banner__container--no-media":"_purpur-hero-banner__container--no-media_ue1q7_28","purpur-hero-banner__breadcrumbs":"_purpur-hero-banner__breadcrumbs_ue1q7_39","purpur-hero-banner__content":"_purpur-hero-banner__content_ue1q7_57","purpur-hero-banner__content--no-media":"_purpur-hero-banner__content--no-media_ue1q7_75","purpur-hero-banner__content--no-breadcrumbs":"_purpur-hero-banner__content--no-breadcrumbs_ue1q7_79","purpur-hero-banner__content--no-additional-text":"_purpur-hero-banner__content--no-additional-text_ue1q7_83","purpur-hero-banner__main-content":"_purpur-hero-banner__main-content_ue1q7_91","purpur-hero-banner__main-content--no-media":"_purpur-hero-banner__main-content--no-media_ue1q7_99","purpur-hero-banner__title":"_purpur-hero-banner__title_ue1q7_102","purpur-hero-banner__title--hyphens-default":"_purpur-hero-banner__title--hyphens-default_ue1q7_109","purpur-hero-banner__title--hyphens-enabled":"_purpur-hero-banner__title--hyphens-enabled_ue1q7_117","purpur-hero-banner__title--hyphens-disabled":"_purpur-hero-banner__title--hyphens-disabled_ue1q7_120","purpur-hero-banner__preamble":"_purpur-hero-banner__preamble_ue1q7_123","purpur-hero-banner__custom-content":"_purpur-hero-banner__custom-content_ue1q7_128","purpur-hero-banner__actions":"_purpur-hero-banner__actions_ue1q7_132","purpur-hero-banner__additional-text":"_purpur-hero-banner__additional-text_ue1q7_148","purpur-hero-banner__media":"_purpur-hero-banner__media_ue1q7_152","purpur-hero-banner__media--sm":"_purpur-hero-banner__media--sm_ue1q7_156","purpur-hero-banner__media--lg":"_purpur-hero-banner__media--lg_ue1q7_164","purpur-hero-banner__video-button":"_purpur-hero-banner__video-button_ue1q7_203"},C="purpur-hero-banner",Z=v.c.bind(i),M=({children:_,className:o,...a})=>r.jsx("div",{...a,className:Z(`${C}__actions`,o),children:_}),k={name:"play-filled",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M19 12 5.5 19.794V4.206L19 12Z"/><path fill-rule="evenodd" d="M19.875 12a.875.875 0 0 1-.438.758l-13.5 7.794a.875.875 0 0 1-1.312-.758V4.206a.875.875 0 0 1 1.313-.758l13.5 7.794c.27.156.437.445.437.758Zm-13.5-6.279V18.28L17.25 12 6.375 5.721Z" clip-rule="evenodd"/></svg>',keywords:["play-filled"],category:"action"},A={name:"tv-pause",svg:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M19 20h-3V4h3v16ZM8 20H5V4h3v16Z"/><path fill-rule="evenodd" d="M4.1 4a.9.9 0 0 1 .9-.9h3a.9.9 0 0 1 .9.9v16a.9.9 0 0 1-.9.9H5a.9.9 0 0 1-.9-.9V4Zm1.8.9v14.2h1.2V4.9H5.9Zm9.2-.9a.9.9 0 0 1 .9-.9h3a.9.9 0 0 1 .9.9v16a.9.9 0 0 1-.9.9h-3a.9.9 0 0 1-.9-.9V4Zm1.8.9v14.2h1.2V4.9h-1.2Z" clip-rule="evenodd"/></svg>',keywords:["tv-pause"],category:"action"},T="purpur-hero-banner",G=({children:_,isPlaying:o,togglePausePlay:a,videoPauseAriaLabel:p,videoPlayAriaLabel:c,className:t,...d})=>_&&r.jsxs("div",{className:t,...d,children:[_,!!a&&r.jsx(H.Button,{variant:"primary",negative:!0,iconOnly:!0,onClick:()=>{a()},className:i[`${T}__video-button`],"aria-label":o?p:c,children:r.jsx(V.b,{size:"xs",svg:o?A:k})})]}),n=v.c.bind(i),L={default:"default",enabled:"enabled",disabled:"disabled"},e="purpur-hero-banner",s=({children:_,className:o,breadcrumbs:a,forceColorScheme:p,beforeTitle:c,title:t,titleTag:d="h1",titleHyphens:q="default",preamble:b,additionalText:h,media:l,...x})=>{const{options:g}=f.useTheme(),$=n([e,o]),u=!!l,y=!!a,N=!!h,j=p??g?.heroBannerColorScheme;return r.jsx("section",{"data-color-scheme":j,className:$,...x,children:r.jsxs(w.Grid,{noGap:!0,className:n([`${e}__container`,{[`${e}__container--with-media`]:u,[`${e}__container--no-media`]:!u}]),containerClassName:n(`${e}__grid-container`),children:[a&&r.jsx("div",{className:n(`${e}__breadcrumbs`),children:a}),r.jsx("div",{className:n([`${e}__media`,`${e}__media--sm`]),children:l}),r.jsxs("div",{className:n([`${e}__content`,{[`${e}__content--no-media`]:!u,[`${e}__content--no-breadcrumbs`]:!y,[`${e}__content--no-additional-text`]:!N}]),children:[r.jsxs("div",{className:n([`${e}__main-content`,{[`${e}__main-content--no-media`]:!u}]),children:[c,t&&r.jsx(B.Heading,{negative:!0,tag:d,variant:"display-50",className:n([`${e}__title`,`${e}__title--hyphens-${q}`]),children:t}),b&&r.jsx(m.Paragraph,{negative:!0,variant:"preamble-100",className:n(`${e}__preamble`),children:b}),_&&r.jsx("div",{className:n(`${e}__custom-content`),children:_})]}),h&&r.jsx(m.Paragraph,{negative:!0,variant:"additional-100",className:i[`${e}__additional-text`],children:h})]}),r.jsx("div",{className:n([`${e}__media`,`${e}__media--lg`]),children:l})]})})};s.displayName="HeroBanner";s.Media=G;s.Actions=M;exports.HeroBanner=s;exports.TitleHyphenVariant=L;
|
|
2
|
+
//# sourceMappingURL=hero-banner-D3peC1NR.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hero-banner-4JZr2Tzb.js","sources":["../../../components/hero-banner/src/hero-banner-actions.tsx","../../../components/icon/dist/assets/play-filled.es.js","../../../components/icon/dist/assets/tv-pause.es.js","../../../components/hero-banner/src/hero-banner-media.tsx","../../../components/hero-banner/src/hero-banner.tsx"],"sourcesContent":["import React, { type ReactNode } from \"react\";\nimport type { BaseProps } from \"@purpur/common-types\";\nimport c from \"classnames/bind\";\n\nimport styles from \"./hero-banner.module.scss\";\n\ntype HeroBannerActionProps = Omit<BaseProps, \"children\"> & {\n /** One or several CTA links or buttons */\n children: ReactNode;\n};\n\nconst rootClassName = \"purpur-hero-banner\";\n\nconst cx = c.bind(styles);\n\nexport const HeroBannerActions = ({ children, className, ...props }: HeroBannerActionProps) => {\n return (\n <div {...props} className={cx(`${rootClassName}__actions`, className)}>\n {children}\n </div>\n );\n};\n","const l = {\n name: \"play-filled\",\n svg: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M19 12 5.5 19.794V4.206L19 12Z\"/><path fill-rule=\"evenodd\" d=\"M19.875 12a.875.875 0 0 1-.438.758l-13.5 7.794a.875.875 0 0 1-1.312-.758V4.206a.875.875 0 0 1 1.313-.758l13.5 7.794c.27.156.437.445.437.758Zm-13.5-6.279V18.28L17.25 12 6.375 5.721Z\" clip-rule=\"evenodd\"/></svg>',\n keywords: [\"play-filled\"],\n category: \"action\"\n};\nexport {\n l as playFilled\n};\n//# sourceMappingURL=play-filled.es.js.map\n","const a = {\n name: \"tv-pause\",\n svg: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M19 20h-3V4h3v16ZM8 20H5V4h3v16Z\"/><path fill-rule=\"evenodd\" d=\"M4.1 4a.9.9 0 0 1 .9-.9h3a.9.9 0 0 1 .9.9v16a.9.9 0 0 1-.9.9H5a.9.9 0 0 1-.9-.9V4Zm1.8.9v14.2h1.2V4.9H5.9Zm9.2-.9a.9.9 0 0 1 .9-.9h3a.9.9 0 0 1 .9.9v16a.9.9 0 0 1-.9.9h-3a.9.9 0 0 1-.9-.9V4Zm1.8.9v14.2h1.2V4.9h-1.2Z\" clip-rule=\"evenodd\"/></svg>',\n keywords: [\"tv-pause\"],\n category: \"action\"\n};\nexport {\n a as tvPause\n};\n//# sourceMappingURL=tv-pause.es.js.map\n","import React from \"react\";\nimport { Button } from \"@purpur/button\";\nimport type { BaseProps } from \"@purpur/common-types\";\nimport { Icon } from \"@purpur/icon\";\nimport { playFilled } from \"@purpur/icon/assets/play-filled\";\nimport { tvPause } from \"@purpur/icon/assets/tv-pause\";\n\nimport styles from \"./hero-banner.module.scss\";\n\nconst rootClassName = \"purpur-hero-banner\";\n\ntype WithVideo = {\n /** Video pause/play button callback (your implementation should handle the state) */\n togglePausePlay: () => void;\n /** Video pause/play button status (your implementation should handle the state) */\n isPlaying?: boolean;\n /** Aria label for the pause/play button, when the video is playing */\n videoPauseAriaLabel: string;\n /** Aria label for the pause/play button, when the video is not playing */\n videoPlayAriaLabel: string;\n};\n\ntype WithoutVideo = {\n togglePausePlay?: never;\n isPlaying?: never;\n videoPauseAriaLabel?: never;\n videoPlayAriaLabel?: never;\n};\n\nexport type HeroBannerMediaProps = BaseProps & (WithVideo | WithoutVideo);\n\nexport const HeroBannerMedia = ({\n children,\n isPlaying,\n togglePausePlay,\n videoPauseAriaLabel,\n videoPlayAriaLabel,\n className,\n ...props\n}: HeroBannerMediaProps) =>\n children && (\n <div className={className} {...props}>\n {children}\n {!!togglePausePlay && (\n <Button\n variant=\"primary\"\n negative\n iconOnly\n onClick={() => {\n togglePausePlay();\n }}\n className={styles[`${rootClassName}__video-button`]}\n aria-label={isPlaying ? videoPauseAriaLabel : videoPlayAriaLabel}\n >\n <Icon size=\"xs\" svg={isPlaying ? tvPause : playFilled} />\n </Button>\n )}\n </div>\n );\n","import React, { type ReactNode } from \"react\";\nimport type { BaseProps } from \"@purpur/common-types\";\nimport { Grid } from \"@purpur/grid\";\nimport { Heading } from \"@purpur/heading\";\nimport { Paragraph } from \"@purpur/paragraph\";\nimport { type ColorScheme, useTheme } from \"@purpur/theme\";\nimport c from \"classnames/bind\";\n\nimport styles from \"./hero-banner.module.scss\";\nimport { HeroBannerActions } from \"./hero-banner-actions\";\nimport { HeroBannerMedia } from \"./hero-banner-media\";\n\nexport type { HeroBannerMediaProps } from \"./hero-banner-media\";\n\nconst cx = c.bind(styles);\n\nexport const TitleHyphenVariant = {\n default: \"default\",\n enabled: \"enabled\",\n disabled: \"disabled\",\n} as const;\n\nexport type TitleHyphens = (typeof TitleHyphenVariant)[keyof typeof TitleHyphenVariant];\n\nexport type HeroBannerProps = BaseProps & {\n /**\n * Custom content slot\n * Add your CTAs here with <HeroBanner.CTAs> component\n */\n children?: ReactNode;\n /**\n * Breadcrumbs: <br/>\n * - Slot for your Breadcrumbs component\n */\n breadcrumbs?: ReactNode;\n forceColorScheme?: ColorScheme;\n /**\n * Content to display before the main heading\n */\n beforeTitle?: ReactNode;\n /**\n * Main heading of the component\n */\n title: string;\n /**\n * Main heading tag\n */\n titleTag?: \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\";\n titleHyphens?: TitleHyphens;\n /**\n * Preamble text\n */\n preamble?: string;\n /**\n * Additional text under the CTAs, recommended to limit element to simple text with text decorations\n */\n additionalText?: ReactNode;\n /**\n * <HeroBanner.Media /> component (images and videos)\n */\n media?: ReactNode;\n};\n\nconst rootClassName = \"purpur-hero-banner\";\n\nexport const HeroBanner = ({\n children,\n className,\n breadcrumbs,\n forceColorScheme,\n beforeTitle,\n title,\n titleTag = \"h1\",\n titleHyphens = \"default\",\n preamble,\n additionalText,\n media,\n ...props\n}: HeroBannerProps) => {\n const { options } = useTheme();\n const classes = cx([rootClassName, className]);\n\n const hasMedia = Boolean(media);\n const hasBreadcrumbs = Boolean(breadcrumbs);\n const hasAdditionalText = Boolean(additionalText);\n\n const resolvedColorScheme = forceColorScheme ?? options?.heroBannerColorScheme;\n\n return (\n <section data-color-scheme={resolvedColorScheme} className={classes} {...props}>\n <Grid\n noGap\n className={cx([\n `${rootClassName}__container`,\n {\n [`${rootClassName}__container--with-media`]: hasMedia,\n [`${rootClassName}__container--no-media`]: !hasMedia,\n },\n ])}\n containerClassName={cx(`${rootClassName}__grid-container`)}\n >\n {breadcrumbs && <div className={cx(`${rootClassName}__breadcrumbs`)}>{breadcrumbs}</div>}\n\n <div className={cx([`${rootClassName}__media`, `${rootClassName}__media--sm`])}>\n {media}\n </div>\n\n <div\n className={cx([\n `${rootClassName}__content`,\n {\n [`${rootClassName}__content--no-media`]: !hasMedia,\n [`${rootClassName}__content--no-breadcrumbs`]: !hasBreadcrumbs,\n [`${rootClassName}__content--no-additional-text`]: !hasAdditionalText,\n },\n ])}\n >\n <div\n className={cx([\n `${rootClassName}__main-content`,\n {\n [`${rootClassName}__main-content--no-media`]: !hasMedia,\n },\n ])}\n >\n {beforeTitle}\n {title && (\n <Heading\n negative\n tag={titleTag}\n variant=\"display-50\"\n className={cx([\n `${rootClassName}__title`,\n `${rootClassName}__title--hyphens-${titleHyphens}`,\n ])}\n >\n {title}\n </Heading>\n )}\n {preamble && (\n <Paragraph\n negative\n variant=\"preamble-100\"\n className={cx(`${rootClassName}__preamble`)}\n >\n {preamble}\n </Paragraph>\n )}\n {children && <div className={cx(`${rootClassName}__custom-content`)}>{children}</div>}\n </div>\n\n {additionalText && (\n <Paragraph\n negative\n variant=\"additional-100\"\n className={styles[`${rootClassName}__additional-text`]}\n >\n {additionalText}\n </Paragraph>\n )}\n </div>\n\n <div className={cx([`${rootClassName}__media`, `${rootClassName}__media--lg`])}>\n {media}\n </div>\n </Grid>\n </section>\n );\n};\n\nHeroBanner.displayName = \"HeroBanner\";\n\nHeroBanner.Media = HeroBannerMedia;\nHeroBanner.Actions = HeroBannerActions;\n"],"names":["rootClassName","cx","c","styles","HeroBannerActions","children","className","props","jsx","l","a","HeroBannerMedia","isPlaying","togglePausePlay","videoPauseAriaLabel","videoPlayAriaLabel","jsxs","Button","Icon","tvPause","playFilled","TitleHyphenVariant","HeroBanner","breadcrumbs","forceColorScheme","beforeTitle","title","titleTag","titleHyphens","preamble","additionalText","media","options","useTheme","classes","hasMedia","hasBreadcrumbs","hasAdditionalText","resolvedColorScheme","Grid","Heading","Paragraph"],"mappings":"yzEAWMA,EAAgB,qBAEhBC,EAAKC,EAAAA,EAAE,KAAKC,CAAM,EAEXC,EAAoB,CAAC,CAAE,SAAAC,EAAU,UAAAC,EAAW,GAAGC,KAExDC,EAAAA,IAAC,MAAA,CAAK,GAAGD,EAAO,UAAWN,EAAG,GAAGD,CAAa,YAAaM,CAAS,EACjE,SAAAD,CAAA,CACH,ECnBEI,EAAI,CACR,KAAM,cACN,IAAK,2WACL,SAAU,CAAC,aAAa,EACxB,SAAU,QACZ,ECLMC,EAAI,CACR,KAAM,WACN,IAAK,gZACL,SAAU,CAAC,UAAU,EACrB,SAAU,QACZ,ECIMV,EAAgB,qBA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AAA8B,CAAA,CAAA,CACH,CAAA,CAAA,EAIJtB,EAAAA,IAAC,MAAA,CAAI,UAAWP,EAAG,CAAC,GAAGD,CAAa,UAAW,GAAGA,CAAa,aAAa,CAAC,EAC1E,SAAA+B,CAAA,CACH,CAAA,CAAA,CAAA,EAEJ,CAEJ,EAEAT,EAAW,YAAc,aAEzBA,EAAW,MAAQX,EACnBW,EAAW,QAAUlB"}
|
|
1
|
+
{"version":3,"file":"hero-banner-D3peC1NR.js","sources":["../../../components/hero-banner/src/hero-banner-actions.tsx","../../../components/icon/dist/assets/play-filled.es.js","../../../components/icon/dist/assets/tv-pause.es.js","../../../components/hero-banner/src/hero-banner-media.tsx","../../../components/hero-banner/src/hero-banner.tsx"],"sourcesContent":["import React, { type ReactNode } from \"react\";\nimport type { BaseProps } from \"@purpur/common-types\";\nimport c from \"classnames/bind\";\n\nimport styles from \"./hero-banner.module.scss\";\n\ntype HeroBannerActionProps = Omit<BaseProps, \"children\"> & {\n /** One or several CTA links or buttons */\n children: ReactNode;\n};\n\nconst rootClassName = \"purpur-hero-banner\";\n\nconst cx = c.bind(styles);\n\nexport const HeroBannerActions = ({ children, className, ...props }: HeroBannerActionProps) => {\n return (\n <div {...props} className={cx(`${rootClassName}__actions`, className)}>\n {children}\n </div>\n );\n};\n","const l = {\n name: \"play-filled\",\n svg: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M19 12 5.5 19.794V4.206L19 12Z\"/><path fill-rule=\"evenodd\" d=\"M19.875 12a.875.875 0 0 1-.438.758l-13.5 7.794a.875.875 0 0 1-1.312-.758V4.206a.875.875 0 0 1 1.313-.758l13.5 7.794c.27.156.437.445.437.758Zm-13.5-6.279V18.28L17.25 12 6.375 5.721Z\" clip-rule=\"evenodd\"/></svg>',\n keywords: [\"play-filled\"],\n category: \"action\"\n};\nexport {\n l as playFilled\n};\n//# sourceMappingURL=play-filled.es.js.map\n","const a = {\n name: \"tv-pause\",\n svg: '<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M19 20h-3V4h3v16ZM8 20H5V4h3v16Z\"/><path fill-rule=\"evenodd\" d=\"M4.1 4a.9.9 0 0 1 .9-.9h3a.9.9 0 0 1 .9.9v16a.9.9 0 0 1-.9.9H5a.9.9 0 0 1-.9-.9V4Zm1.8.9v14.2h1.2V4.9H5.9Zm9.2-.9a.9.9 0 0 1 .9-.9h3a.9.9 0 0 1 .9.9v16a.9.9 0 0 1-.9.9h-3a.9.9 0 0 1-.9-.9V4Zm1.8.9v14.2h1.2V4.9h-1.2Z\" clip-rule=\"evenodd\"/></svg>',\n keywords: [\"tv-pause\"],\n category: \"action\"\n};\nexport {\n a as tvPause\n};\n//# sourceMappingURL=tv-pause.es.js.map\n","import React from \"react\";\nimport { Button } from \"@purpur/button\";\nimport type { BaseProps } from \"@purpur/common-types\";\nimport { Icon } from \"@purpur/icon\";\nimport { playFilled } from \"@purpur/icon/assets/play-filled\";\nimport { tvPause } from \"@purpur/icon/assets/tv-pause\";\n\nimport styles from \"./hero-banner.module.scss\";\n\nconst rootClassName = \"purpur-hero-banner\";\n\ntype WithVideo = {\n /** Video pause/play button callback (your implementation should handle the state) */\n togglePausePlay: () => void;\n /** Video pause/play button status (your implementation should handle the state) */\n isPlaying?: boolean;\n /** Aria label for the pause/play button, when the video is playing */\n videoPauseAriaLabel: string;\n /** Aria label for the pause/play button, when the video is not playing */\n videoPlayAriaLabel: string;\n};\n\ntype WithoutVideo = {\n togglePausePlay?: never;\n isPlaying?: never;\n videoPauseAriaLabel?: never;\n videoPlayAriaLabel?: never;\n};\n\nexport type HeroBannerMediaProps = BaseProps & (WithVideo | WithoutVideo);\n\nexport const HeroBannerMedia = ({\n children,\n isPlaying,\n togglePausePlay,\n videoPauseAriaLabel,\n videoPlayAriaLabel,\n className,\n ...props\n}: HeroBannerMediaProps) =>\n children && (\n <div className={className} {...props}>\n {children}\n {!!togglePausePlay && (\n <Button\n variant=\"primary\"\n negative\n iconOnly\n onClick={() => {\n togglePausePlay();\n }}\n className={styles[`${rootClassName}__video-button`]}\n aria-label={isPlaying ? videoPauseAriaLabel : videoPlayAriaLabel}\n >\n <Icon size=\"xs\" svg={isPlaying ? tvPause : playFilled} />\n </Button>\n )}\n </div>\n );\n","import React, { type ReactNode } from \"react\";\nimport type { BaseProps } from \"@purpur/common-types\";\nimport { Grid } from \"@purpur/grid\";\nimport { Heading } from \"@purpur/heading\";\nimport { Paragraph } from \"@purpur/paragraph\";\nimport { type ColorScheme, useTheme } from \"@purpur/theme\";\nimport c from \"classnames/bind\";\n\nimport styles from \"./hero-banner.module.scss\";\nimport { HeroBannerActions } from \"./hero-banner-actions\";\nimport { HeroBannerMedia } from \"./hero-banner-media\";\n\nexport type { HeroBannerMediaProps } from \"./hero-banner-media\";\n\nconst cx = c.bind(styles);\n\nexport const TitleHyphenVariant = {\n default: \"default\",\n enabled: \"enabled\",\n disabled: \"disabled\",\n} as const;\n\nexport type TitleHyphens = (typeof TitleHyphenVariant)[keyof typeof TitleHyphenVariant];\n\nexport type HeroBannerProps = BaseProps & {\n /**\n * Custom content slot\n * Add your CTAs here with <HeroBanner.CTAs> component\n */\n children?: ReactNode;\n /**\n * Breadcrumbs: <br/>\n * - Slot for your Breadcrumbs component\n */\n breadcrumbs?: ReactNode;\n forceColorScheme?: ColorScheme;\n /**\n * Content to display before the main heading\n */\n beforeTitle?: ReactNode;\n /**\n * Main heading of the component\n */\n title: string;\n /**\n * Main heading tag\n */\n titleTag?: \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"h5\" | \"h6\";\n titleHyphens?: TitleHyphens;\n /**\n * Preamble text\n */\n preamble?: string;\n /**\n * Additional text under the CTAs, recommended to limit element to simple text with text decorations\n */\n additionalText?: ReactNode;\n /**\n * <HeroBanner.Media /> component (images and videos)\n */\n media?: ReactNode;\n};\n\nconst rootClassName = \"purpur-hero-banner\";\n\nexport const HeroBanner = ({\n children,\n className,\n breadcrumbs,\n forceColorScheme,\n beforeTitle,\n title,\n titleTag = \"h1\",\n titleHyphens = \"default\",\n preamble,\n additionalText,\n media,\n ...props\n}: HeroBannerProps) => {\n const { options } = useTheme();\n const classes = cx([rootClassName, className]);\n\n const hasMedia = Boolean(media);\n const hasBreadcrumbs = Boolean(breadcrumbs);\n const hasAdditionalText = Boolean(additionalText);\n\n const resolvedColorScheme = forceColorScheme ?? options?.heroBannerColorScheme;\n\n return (\n <section data-color-scheme={resolvedColorScheme} className={classes} {...props}>\n <Grid\n noGap\n className={cx([\n `${rootClassName}__container`,\n {\n [`${rootClassName}__container--with-media`]: hasMedia,\n [`${rootClassName}__container--no-media`]: !hasMedia,\n },\n ])}\n containerClassName={cx(`${rootClassName}__grid-container`)}\n >\n {breadcrumbs && <div className={cx(`${rootClassName}__breadcrumbs`)}>{breadcrumbs}</div>}\n\n <div className={cx([`${rootClassName}__media`, `${rootClassName}__media--sm`])}>\n {media}\n </div>\n\n <div\n className={cx([\n `${rootClassName}__content`,\n {\n [`${rootClassName}__content--no-media`]: !hasMedia,\n [`${rootClassName}__content--no-breadcrumbs`]: !hasBreadcrumbs,\n [`${rootClassName}__content--no-additional-text`]: !hasAdditionalText,\n },\n ])}\n >\n <div\n className={cx([\n `${rootClassName}__main-content`,\n {\n [`${rootClassName}__main-content--no-media`]: !hasMedia,\n },\n ])}\n >\n {beforeTitle}\n {title && (\n <Heading\n negative\n tag={titleTag}\n variant=\"display-50\"\n className={cx([\n `${rootClassName}__title`,\n `${rootClassName}__title--hyphens-${titleHyphens}`,\n ])}\n >\n {title}\n </Heading>\n )}\n {preamble && (\n <Paragraph\n negative\n variant=\"preamble-100\"\n className={cx(`${rootClassName}__preamble`)}\n >\n {preamble}\n </Paragraph>\n )}\n {children && <div className={cx(`${rootClassName}__custom-content`)}>{children}</div>}\n </div>\n\n {additionalText && (\n <Paragraph\n negative\n variant=\"additional-100\"\n className={styles[`${rootClassName}__additional-text`]}\n >\n {additionalText}\n </Paragraph>\n )}\n </div>\n\n <div className={cx([`${rootClassName}__media`, `${rootClassName}__media--lg`])}>\n {media}\n </div>\n </Grid>\n </section>\n );\n};\n\nHeroBanner.displayName = \"HeroBanner\";\n\nHeroBanner.Media = HeroBannerMedia;\nHeroBanner.Actions = HeroBannerActions;\n"],"names":["rootClassName","cx","c","styles","HeroBannerActions","children","className","props","jsx","l","a","HeroBannerMedia","isPlaying","togglePausePlay","videoPauseAriaLabel","videoPlayAriaLabel","jsxs","Button","Icon","tvPause","playFilled","TitleHyphenVariant","HeroBanner","breadcrumbs","forceColorScheme","beforeTitle","title","titleTag","titleHyphens","preamble","additionalText","media","options","useTheme","classes","hasMedia","hasBreadcrumbs","hasAdditionalText","resolvedColorScheme","Grid","Heading","Paragraph"],"mappings":"kyEAWMA,EAAgB,qBAEhBC,EAAKC,EAAAA,EAAE,KAAKC,CAAM,EAEXC,EAAoB,CAAC,CAAE,SAAAC,EAAU,UAAAC,EAAW,GAAGC,KAExDC,EAAAA,IAAC,MAAA,CAAK,GAAGD,EAAO,UAAWN,EAAG,GAAGD,CAAa,YAAaM,CAAS,EACjE,SAAAD,CAAA,CACH,ECnBEI,EAAI,CACR,KAAM,cACN,IAAK,2WACL,SAAU,CAAC,aAAa,EACxB,SAAU,QACZ,ECLMC,EAAI,CACR,KAAM,WACN,IAAK,gZACL,SAAU,CAAC,UAAU,EACrB,SAAU,QACZ,ECIMV,EAAgB,qBAsBTW,EAAkB,CAAC,CAC9B,SAAAN,EACA,UAAAO,EACA,gBAAAC,EACA,oBAAAC,EACA,mBAAAC,EACA,UAAAT,EACA,GAAGC,CACL,IACEF,GACEW,EAAAA,KAAC,MAAA,CAAI,UAAAV,EAAuB,GAAGC,EAC5B,SAAA,CAAAF,EACA,CAAC,CAACQ,GACDL,EAAAA,IAACS,EAAAA,OAAA,CACC,QAAQ,UACR,SAAQ,GACR,SAAQ,GACR,QAAS,IAAM,CACbJ,EAAA,CACF,EACA,UAAWV,EAAO,GAAGH,CAA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Symbol.toStringTag,{value:"Module"});const e=require("./hero-banner-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./hero-banner-D3peC1NR.js");exports.HeroBanner=e.HeroBanner;exports.TitleHyphenVariant=e.TitleHyphenVariant;
|
|
2
2
|
//# sourceMappingURL=hero-banner.cjs.js.map
|
package/dist/hero-banner.es.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useApplyTheme.d.ts","sourceRoot":"","sources":["../../../../../theme/src/useApplyTheme.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useApplyTheme.d.ts","sourceRoot":"","sources":["../../../../../theme/src/useApplyTheme.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAIlD,KAAK,KAAK,GAAG;IACX,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,kBAAkB,CAAC,EAAE,WAAW,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,sDAI3B,KAAK,SAiBP,CAAC"}
|
package/dist/library.cjs.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const H=require("./calendar-pMM0fKEu.js"),y=require("./accordion-CF2fj2uq.js"),c=require("./alert-badge-DguuS7Qq.js"),I=require("./autocomplete-yD0-1vlF.js"),C=require("./badge-CQ0SS_t8.js"),k=require("./breadcrumbs-BKzim4am.js"),t=require("./button-ChYUPi2k.js"),f=require("./card-B512KHpr.js"),h=require("./checkbox-Dk3bZkZ3.js"),_=require("./chip-group-aj1fdnjC.js"),m=require("./color-dot-B9w_ucWb.js"),g=require("./container-DRwKIAjh.js"),F=require("./content-block-kzdUWgvH.js"),V=require("./countdown-CqYsZigV.js"),U=require("./counter-badge-B-d9VNup.js"),N=require("./cta-link-BHU6irMG.js"),z=require("./date-field-CPiTZqa0.js"),w=require("./date-picker-DlJGggam.js"),X=require("./dismissable-chip-group-DsO2cZaF.js"),Z=require("./drawer-nBpCtIdI.js"),x=require("./field-error-text-FhQulSV5.js"),j=require("./field-helper-text-DSKO-Tce.js"),K=require("./footer-Btsh40pg.js"),Q=require("./grid-uGMD2euo.js"),n=require("./heading-DLCdW6gx.js"),P=require("./hero-banner-4JZr2Tzb.js"),Y=require("./label-yHK80hhV.js"),d=require("./link-DhWVrkTz.js"),$=require("./listbox-BmjBtIv8.js"),J=require("./modal-nyhf5zxG.js"),a=require("./notification-Bg1vQkQ3.js"),rr=require("./notification-banner-C8XsBDTq.js"),ur=require("./pagination-C2A8NPol.js"),O=require("./paragraph-BsI53OR0.js"),er=require("./popover-B1BgSoQx.js"),or=require("./product-card-DOBHGAa2.js"),A=require("./promotion-card-DMCtLQwW.js"),s=require("./quantity-selector-DPOTlMSq.js"),T=require("./radio-button-group-CZ_FnVAi.js"),i=require("./radio-card-group-BT5pV3tA.js"),G=require("./RichText-DMyGiMN0.js"),R=require("./search-field-CxX4BBcg.js"),pr=require("./select-DOqTJgTj.js"),E=require("./skeleton-BU0KtWIM.js"),D=require("./slider-_R6JmPZl.js"),M=require("./spacer-OZQbtvcY.js"),v=require("./spinner-tKunS_o-.js"),ar=require("./stepper-B248FwO-.js"),q=require("./table-BNeo_B1h.js"),B=require("./tabs-CfHd4UQ2.js"),W=require("./text-area-C4mcG5c0.js"),b=require("./text-field-B8a-NKm4.js"),L=require("./text-spacing-CiGPZHuB.js"),tr=require("./toggle-C8IwTbX8.js"),S=require("./tooltip-CLQLxoaf.js"),nr=require("./visually-hidden-C2CKovZx.js"),e=require("./tokens.cjs.js"),p=require("./variables-Buqm4JZc.js"),r=require("./variables-CMzMXeor.js"),o=require("./variables-BSBunpiY.js"),l=require("./ThemeProvider-djmNDpmy.js"),ir=require("./useColorScheme-DwlZAnlk.js"),u=require("./zh-TW-CAp7WWVq.js"),lr=require("./format-CFKKBdIQ.js");exports.Calendar=H.Calendar;exports.Accordion=y.Accordion;exports.NegativeContext=y.NegativeContext;exports.ALERT_BADGE_VARIANT=c.ALERT_BADGE_VARIANT;exports.AlertBadge=c.AlertBadge;exports.alertBadgeVariants=c.alertBadgeVariants;exports.Autocomplete=I.Autocomplete;exports.useAutocomplete=I.useAutocomplete;exports.BADGE_VARIANT=C.BADGE_VARIANT;exports.Badge=C.Badge;exports.badgeVariants=C.badgeVariants;exports.Breadcrumbs=k.Breadcrumbs;exports.BreadcrumbsItem=k.Item;exports.BUTTON_TYPES=t.BUTTON_TYPES;exports.BUTTON_VARIANT=t.BUTTON_VARIANT;exports.Button=t.Button;exports.buttonVariants=t.buttonVariants;exports.Card=f.Card;exports.Checkbox=h.Checkbox;exports.checkedState=h.checkedState;exports.ChipGroup=_.ChipGroup;exports.COLOR_DOT_SIZE=m.COLOR_DOT_SIZE;exports.ColorDot=m.ColorDot;exports.Container=g.Container;exports.ContainerElement=g.ContainerElement;exports.Width=g.Width;exports.ContentBlock=F.ContentBlock;exports.Countdown=V.Countdown;exports.CounterBadge=U.CounterBadge;exports.CtaLink=N.CtaLink;exports.ctaLinkIcons=N.ctaLinkIcons;exports.DateField=z.DateField;exports.DatePicker=w.DatePicker;exports.DismissableChipGroup=X.DismissableChipGroup;exports.Drawer=Z.Drawer;exports.FieldErrorText=x.FieldErrorText;exports.ariaRelevantValues=x.ariaRelevantValues;exports.FieldHelperText=j.FieldHelperText;exports.Footer=K.Footer;exports.Grid=Q.Grid;exports.DisplayVariant=n.DisplayVariant;exports.Heading=n.Heading;exports.HeadingTag=n.HeadingTag;exports.TitleVariant=n.TitleVariant;exports.HeroBanner=P.HeroBanner;exports.TitleHyphenVariant=P.TitleHyphenVariant;exports.Label=Y.Label;exports.LINK_VARIANT=d.LINK_VARIANT;exports.Link=d.Link;exports.linkVariants=d.linkVariants;exports.Listbox=$.Listbox;exports.Modal=J.Modal;exports.NOTIFICATION_ARIA_LIVE=a.NOTIFICATION_ARIA_LIVE;exports.NOTIFICATION_ROLE=a.NOTIFICATION_ROLE;exports.NOTIFICATION_STATUS=a.NOTIFICATION_STATUS;exports.Notification=a.Notification;exports.notificationAriaLiveValues=a.notificationAriaLiveValues;exports.notificationRoles=a.notificationRoles;exports.notificationStatuses=a.notificationStatuses;exports.NotificationBanner=rr.NotificationBanner;exports.Pagination=ur.Pagination;exports.Paragraph=O.Paragraph;exports.ParagraphVariant=O.ParagraphVariant;exports.Popover=er.Popover;exports.ProductCard=or.ProductCard;exports.PromotionCard=A.PromotionCard;exports.promotionCardVariants=A.promotionCardVariants;exports.QuantitySelector=s.QuantitySelector;exports.quantitySelectorButtonVariants=s.quantitySelectorButtonVariants;exports.quantitySelectorVariants=s.quantitySelectorVariants;exports.RADIO_BUTTON_GROUP_DIRECTION=T.RADIO_BUTTON_GROUP_DIRECTION;exports.RADIO_BUTTON_GROUP_ORIENTATION=T.RADIO_BUTTON_GROUP_ORIENTATION;exports.RadioButtonGroup=T.RadioButtonGroup;exports.RADIO_CARD_GROUP_ORIENTATION=i.RADIO_CARD_GROUP_ORIENTATION;exports.RADIO_POSITION=i.RADIO_POSITION;exports.RadioCardGroup=i.RadioCardGroup;exports.RadioCardItem=i.RadioCardItem;exports.RichText=G.RichText;exports.richToPlainText=G.richToPlainText;exports.SearchField=R.SearchField;exports.searchFieldVariants=R.searchFieldVariants;exports.Select=pr.Select;exports.Skeleton=E.Skeleton;exports.radii=E.radii;exports.SLIDER_ORIENTATION=D.SLIDER_ORIENTATION;exports.Slider=D.Slider;exports.SPACER_SIZE=M.SPACER_SIZE;exports.Spacer=M.Spacer;exports.SPINNER_SIZE=v.SPINNER_SIZE;exports.Spinner=v.Spinner;exports.spinnerSizes=v.spinnerSizes;exports.Stepper=ar.Stepper;exports.Table=q.Table;exports.createColumnHelper=q.createColumnHelper;exports.Tabs=B.Tabs;exports.createTabChangeDetailEvent=B.createTabChangeDetailEvent;exports.tabsVariants=B.tabsVariants;exports.ResizeOption=W.ResizeOption;exports.TextArea=W.TextArea;exports.TextField=b.TextField;exports.isTextField=b.isTextField;exports.Element=L.Element;exports.TextSpacing=L.TextSpacing;exports.Toggle=tr.Toggle;exports.TOOLTIP_ALIGN=S.TOOLTIP_ALIGN;exports.TOOLTIP_POSITION=S.TOOLTIP_POSITION;exports.Tooltip=S.Tooltip;exports.VisuallyHidden=nr.VisuallyHidden;exports.purpurBorderRadiusFull=e.purpurBorderRadiusFull;exports.purpurBorderRadiusLg=e.purpurBorderRadiusLg;exports.purpurBorderRadiusMd=e.purpurBorderRadiusMd;exports.purpurBorderRadiusSm=e.purpurBorderRadiusSm;exports.purpurBorderRadiusXs=e.purpurBorderRadiusXs;exports.purpurBorderWidthLg=e.purpurBorderWidthLg;exports.purpurBorderWidthMd=e.purpurBorderWidthMd;exports.purpurBorderWidthSm=e.purpurBorderWidthSm;exports.purpurBorderWidthXs=e.purpurBorderWidthXs;exports.purpurFilterBlurOnImage=e.purpurFilterBlurOnImage;exports.purpurGradientAiBackgroundInteractiveExpressive=e.purpurGradientAiBackgroundInteractiveExpressive;exports.purpurGradientAiBackgroundInteractiveExpressiveNegative=e.purpurGradientAiBackgroundInteractiveExpressiveNegative;exports.purpurGradientAiBackgroundInteractivePrimary=e.purpurGradientAiBackgroundInteractivePrimary;exports.purpurGradientAiBackgroundInteractivePrimaryNegative=e.purpurGradientAiBackgroundInteractivePrimaryNegative;exports.purpurGradientAiBackgroundPrimaryNegative=e.purpurGradientAiBackgroundPrimaryNegative;exports.purpurGradientAiBorderInteractivePrimary=e.purpurGradientAiBorderInteractivePrimary;exports.purpurGradientAiBorderInteractivePrimaryNegative=e.purpurGradientAiBorderInteractivePrimaryNegative;exports.purpurGradientAiTextInteractivePrimary=e.purpurGradientAiTextInteractivePrimary;exports.purpurGradientAiTextInteractivePrimaryNegative=e.purpurGradientAiTextInteractivePrimaryNegative;exports.purpurShadowLg=e.purpurShadowLg;exports.purpurShadowMd=e.purpurShadowMd;exports.purpurShadowNone=e.purpurShadowNone;exports.purpurShadowSm=e.purpurShadowSm;exports.purpurSpacing0=e.purpurSpacing0;exports.purpurSpacing10=e.purpurSpacing10;exports.purpurSpacing100=e.purpurSpacing100;exports.purpurSpacing1000=e.purpurSpacing1000;exports.purpurSpacing1200=e.purpurSpacing1200;exports.purpurSpacing150=e.purpurSpacing150;exports.purpurSpacing1600=e.purpurSpacing1600;exports.purpurSpacing200=e.purpurSpacing200;exports.purpurSpacing25=e.purpurSpacing25;exports.purpurSpacing250=e.purpurSpacing250;exports.purpurSpacing300=e.purpurSpacing300;exports.purpurSpacing400=e.purpurSpacing400;exports.purpurSpacing50=e.purpurSpacing50;exports.purpurSpacing600=e.purpurSpacing600;exports.purpurSpacing800=e.purpurSpacing800;exports.purpurSpacingGutterLg=e.purpurSpacingGutterLg;exports.purpurSpacingGutterMd=e.purpurSpacingGutterMd;exports.purpurSpacingGutterSm=e.purpurSpacingGutterSm;exports.purpurSpacingGutterXl=e.purpurSpacingGutterXl;exports.purpurSpacingPagePaddingLg=e.purpurSpacingPagePaddingLg;exports.purpurSpacingPagePaddingMd=e.purpurSpacingPagePaddingMd;exports.purpurSpacingPagePaddingSm=e.purpurSpacingPagePaddingSm;exports.purpurSpacingPagePaddingXl=e.purpurSpacingPagePaddingXl;exports.purpurTypographyFamilyDefault=e.purpurTypographyFamilyDefault;exports.purpurTypographyFamilyDisplay=e.purpurTypographyFamilyDisplay;exports.purpurTypographyLineHeightDefault=e.purpurTypographyLineHeightDefault;exports.purpurTypographyLineHeightLoose=e.purpurTypographyLineHeightLoose;exports.purpurTypographyLineHeightLooser=e.purpurTypographyLineHeightLooser;exports.purpurTypographyLineHeightSnug=e.purpurTypographyLineHeightSnug;exports.purpurTypographyLineHeightTight=e.purpurTypographyLineHeightTight;exports.purpurTypographyScale100=e.purpurTypographyScale100;exports.purpurTypographyScale1000=e.purpurTypographyScale1000;exports.purpurTypographyScale1100=e.purpurTypographyScale1100;exports.purpurTypographyScale150=e.purpurTypographyScale150;exports.purpurTypographyScale200=e.purpurTypographyScale200;exports.purpurTypographyScale300=e.purpurTypographyScale300;exports.purpurTypographyScale400=e.purpurTypographyScale400;exports.purpurTypographyScale50=e.purpurTypographyScale50;exports.purpurTypographyScale500=e.purpurTypographyScale500;exports.purpurTypographyScale600=e.purpurTypographyScale600;exports.purpurTypographyScale650=e.purpurTypographyScale650;exports.purpurTypographyScale700=e.purpurTypographyScale700;exports.purpurTypographyScale75=e.purpurTypographyScale75;exports.purpurTypographyScale800=e.purpurTypographyScale800;exports.purpurTypographyScale850=e.purpurTypographyScale850;exports.purpurTypographyScale900=e.purpurTypographyScale900;exports.purpurTypographyWeightBold=e.purpurTypographyWeightBold;exports.purpurTypographyWeightMedium=e.purpurTypographyWeightMedium;exports.purpurTypographyWeightNormal=e.purpurTypographyWeightNormal;exports.purpurBreakpointLg=p.purpurBreakpointLg;exports.purpurBreakpointMd=p.purpurBreakpointMd;exports.purpurBreakpointRelativeLg=p.purpurBreakpointRelativeLg;exports.purpurBreakpointRelativeMd=p.purpurBreakpointRelativeMd;exports.purpurBreakpointRelativeSm=p.purpurBreakpointRelativeSm;exports.purpurBreakpointRelativeXl=p.purpurBreakpointRelativeXl;exports.purpurBreakpointSm=p.purpurBreakpointSm;exports.purpurBreakpointXl=p.purpurBreakpointXl;exports.purpurColorBackgroundInteractiveAutoFill=r.purpurColorBackgroundInteractiveAutoFill;exports.purpurColorBackgroundInteractiveDestructive=r.purpurColorBackgroundInteractiveDestructive;exports.purpurColorBackgroundInteractiveDestructiveActive=r.purpurColorBackgroundInteractiveDestructiveActive;exports.purpurColorBackgroundInteractiveDestructiveHover=r.purpurColorBackgroundInteractiveDestructiveHover;exports.purpurColorBackgroundInteractiveDisabled=r.purpurColorBackgroundInteractiveDisabled;exports.purpurColorBackgroundInteractiveDisabledNegative=r.purpurColorBackgroundInteractiveDisabledNegative;exports.purpurColorBackgroundInteractiveExpressive=r.purpurColorBackgroundInteractiveExpressive;exports.purpurColorBackgroundInteractiveExpressiveActive=r.purpurColorBackgroundInteractiveExpressiveActive;exports.purpurColorBackgroundInteractiveExpressiveActiveNegative=r.purpurColorBackgroundInteractiveExpressiveActiveNegative;exports.purpurColorBackgroundInteractiveExpressiveHover=r.purpurColorBackgroundInteractiveExpressiveHover;exports.purpurColorBackgroundInteractiveExpressiveHoverNegative=r.purpurColorBackgroundInteractiveExpressiveHoverNegative;exports.purpurColorBackgroundInteractiveExpressiveNegative=r.purpurColorBackgroundInteractiveExpressiveNegative;exports.purpurColorBackgroundInteractiveInactive=r.purpurColorBackgroundInteractiveInactive;exports.purpurColorBackgroundInteractiveInactiveNegative=r.purpurColorBackgroundInteractiveInactiveNegative;exports.purpurColorBackgroundInteractivePrimary=r.purpurColorBackgroundInteractivePrimary;exports.purpurColorBackgroundInteractivePrimaryActive=r.purpurColorBackgroundInteractivePrimaryActive;exports.purpurColorBackgroundInteractivePrimaryActiveNegative=r.purpurColorBackgroundInteractivePrimaryActiveNegative;exports.purpurColorBackgroundInteractivePrimaryHover=r.purpurColorBackgroundInteractivePrimaryHover;exports.purpurColorBackgroundInteractivePrimaryHoverNegative=r.purpurColorBackgroundInteractivePrimaryHoverNegative;exports.purpurColorBackgroundInteractivePrimaryNegative=r.purpurColorBackgroundInteractivePrimaryNegative;exports.purpurColorBackgroundInteractiveReadOnly=r.purpurColorBackgroundInteractiveReadOnly;exports.purpurColorBackgroundInteractiveReadOnlyNegative=r.purpurColorBackgroundInteractiveReadOnlyNegative;exports.purpurColorBackgroundInteractiveTransparentActive=r.purpurColorBackgroundInteractiveTransparentActive;exports.purpurColorBackgroundInteractiveTransparentActiveNegative=r.purpurColorBackgroundInteractiveTransparentActiveNegative;exports.purpurColorBackgroundInteractiveTransparentHover=r.purpurColorBackgroundInteractiveTransparentHover;exports.purpurColorBackgroundInteractiveTransparentHoverNegative=r.purpurColorBackgroundInteractiveTransparentHoverNegative;exports.purpurColorBackgroundOnImage=r.purpurColorBackgroundOnImage;exports.purpurColorBackgroundOnImageNegative=r.purpurColorBackgroundOnImageNegative;exports.purpurColorBackgroundPrimary=r.purpurColorBackgroundPrimary;exports.purpurColorBackgroundPrimaryNegative=r.purpurColorBackgroundPrimaryNegative;exports.purpurColorBackgroundSecondary=r.purpurColorBackgroundSecondary;exports.purpurColorBackgroundSecondaryNegative=r.purpurColorBackgroundSecondaryNegative;exports.purpurColorBackgroundStatusAttention=r.purpurColorBackgroundStatusAttention;exports.purpurColorBackgroundStatusBlackFriday=r.purpurColorBackgroundStatusBlackFriday;exports.purpurColorBackgroundStatusErrorMedium=r.purpurColorBackgroundStatusErrorMedium;exports.purpurColorBackgroundStatusErrorStrong=r.purpurColorBackgroundStatusErrorStrong;exports.purpurColorBackgroundStatusErrorStrongNegative=r.purpurColorBackgroundStatusErrorStrongNegative;exports.purpurColorBackgroundStatusInfoMedium=r.purpurColorBackgroundStatusInfoMedium;exports.purpurColorBackgroundStatusInfoStrong=r.purpurColorBackgroundStatusInfoStrong;exports.purpurColorBackgroundStatusNeutral=r.purpurColorBackgroundStatusNeutral;exports.purpurColorBackgroundStatusSpecial=r.purpurColorBackgroundStatusSpecial;exports.purpurColorBackgroundStatusSuccessMedium=r.purpurColorBackgroundStatusSuccessMedium;exports.purpurColorBackgroundStatusSuccessStrong=r.purpurColorBackgroundStatusSuccessStrong;exports.purpurColorBackgroundStatusSuccessStrongNegative=r.purpurColorBackgroundStatusSuccessStrongNegative;exports.purpurColorBackgroundStatusWarningMedium=r.purpurColorBackgroundStatusWarningMedium;exports.purpurColorBackgroundStatusWarningStrong=r.purpurColorBackgroundStatusWarningStrong;exports.purpurColorBackgroundStatusWarningStrongNegative=r.purpurColorBackgroundStatusWarningStrongNegative;exports.purpurColorBackgroundToneOnTonePrimary=r.purpurColorBackgroundToneOnTonePrimary;exports.purpurColorBackgroundToneOnToneQuaternary=r.purpurColorBackgroundToneOnToneQuaternary;exports.purpurColorBackgroundToneOnToneSecondary=r.purpurColorBackgroundToneOnToneSecondary;exports.purpurColorBackgroundToneOnToneTertiary=r.purpurColorBackgroundToneOnToneTertiary;exports.purpurColorBeige100=r.purpurColorBeige100;exports.purpurColorBeige200=r.purpurColorBeige200;exports.purpurColorBeige300=r.purpurColorBeige300;exports.purpurColorBeige400=r.purpurColorBeige400;exports.purpurColorBeige50=r.purpurColorBeige50;exports.purpurColorBeige500=r.purpurColorBeige500;exports.purpurColorBeige600=r.purpurColorBeige600;exports.purpurColorBeige700=r.purpurColorBeige700;exports.purpurColorBeige800=r.purpurColorBeige800;exports.purpurColorBeige900=r.purpurColorBeige900;exports.purpurColorBeige950=r.purpurColorBeige950;exports.purpurColorBlue100=r.purpurColorBlue100;exports.purpurColorBlue200=r.purpurColorBlue200;exports.purpurColorBlue300=r.purpurColorBlue300;exports.purpurColorBlue400=r.purpurColorBlue400;exports.purpurColorBlue50=r.purpurColorBlue50;exports.purpurColorBlue500=r.purpurColorBlue500;exports.purpurColorBlue600=r.purpurColorBlue600;exports.purpurColorBlue700=r.purpurColorBlue700;exports.purpurColorBlue800=r.purpurColorBlue800;exports.purpurColorBlue900=r.purpurColorBlue900;exports.purpurColorBlue950=r.purpurColorBlue950;exports.purpurColorBorderInteractiveExpressive=r.purpurColorBorderInteractiveExpressive;exports.purpurColorBorderInteractiveFocus=r.purpurColorBorderInteractiveFocus;exports.purpurColorBorderInteractivePrimary=r.purpurColorBorderInteractivePrimary;exports.purpurColorBorderInteractivePrimaryActive=r.purpurColorBorderInteractivePrimaryActive;exports.purpurColorBorderInteractivePrimaryActiveNegative=r.purpurColorBorderInteractivePrimaryActiveNegative;exports.purpurColorBorderInteractivePrimaryHover=r.purpurColorBorderInteractivePrimaryHover;exports.purpurColorBorderInteractivePrimaryHoverNegative=r.purpurColorBorderInteractivePrimaryHoverNegative;exports.purpurColorBorderInteractivePrimaryNegative=r.purpurColorBorderInteractivePrimaryNegative;exports.purpurColorBorderInteractiveSelected=r.purpurColorBorderInteractiveSelected;exports.purpurColorBorderInteractiveSubtle=r.purpurColorBorderInteractiveSubtle;exports.purpurColorBorderInteractiveSubtleHover=r.purpurColorBorderInteractiveSubtleHover;exports.purpurColorBorderInteractiveSubtleHoverNegative=r.purpurColorBorderInteractiveSubtleHoverNegative;exports.purpurColorBorderInteractiveSubtleNegative=r.purpurColorBorderInteractiveSubtleNegative;exports.purpurColorBorderMedium=r.purpurColorBorderMedium;exports.purpurColorBorderMediumNegative=r.purpurColorBorderMediumNegative;exports.purpurColorBorderStatusError=r.purpurColorBorderStatusError;exports.purpurColorBorderStatusErrorNegative=r.purpurColorBorderStatusErrorNegative;exports.purpurColorBorderStatusInfo=r.purpurColorBorderStatusInfo;exports.purpurColorBorderStatusSuccess=r.purpurColorBorderStatusSuccess;exports.purpurColorBorderStatusSuccessNegative=r.purpurColorBorderStatusSuccessNegative;exports.purpurColorBorderStatusWarning=r.purpurColorBorderStatusWarning;exports.purpurColorBorderStrong=r.purpurColorBorderStrong;exports.purpurColorBorderStrongNegative=r.purpurColorBorderStrongNegative;exports.purpurColorBorderWeak=r.purpurColorBorderWeak;exports.purpurColorBorderWeakNegative=r.purpurColorBorderWeakNegative;exports.purpurColorBrandBeige=r.purpurColorBrandBeige;exports.purpurColorBrandCorePurple=r.purpurColorBrandCorePurple;exports.purpurColorBrandDeepBeige=r.purpurColorBrandDeepBeige;exports.purpurColorBrandDeepPurple=r.purpurColorBrandDeepPurple;exports.purpurColorBrandLightBeige=r.purpurColorBrandLightBeige;exports.purpurColorBrandLightPurple=r.purpurColorBrandLightPurple;exports.purpurColorBrandOffBlack=r.purpurColorBrandOffBlack;exports.purpurColorBrandWhite=r.purpurColorBrandWhite;exports.purpurColorFunctionalBlack=r.purpurColorFunctionalBlack;exports.purpurColorFunctionalTransparent=r.purpurColorFunctionalTransparent;exports.purpurColorFunctionalWhite=r.purpurColorFunctionalWhite;exports.purpurColorGradientAiBottom=r.purpurColorGradientAiBottom;exports.purpurColorGradientAiBottomNegative=r.purpurColorGradientAiBottomNegative;exports.purpurColorGradientAiTop=r.purpurColorGradientAiTop;exports.purpurColorGradientAiTopNegative=r.purpurColorGradientAiTopNegative;exports.purpurColorGray100=r.purpurColorGray100;exports.purpurColorGray150=r.purpurColorGray150;exports.purpurColorGray200=r.purpurColorGray200;exports.purpurColorGray300=r.purpurColorGray300;exports.purpurColorGray400=r.purpurColorGray400;exports.purpurColorGray50=r.purpurColorGray50;exports.purpurColorGray500=r.purpurColorGray500;exports.purpurColorGray600=r.purpurColorGray600;exports.purpurColorGray700=r.purpurColorGray700;exports.purpurColorGray800=r.purpurColorGray800;exports.purpurColorGray850=r.purpurColorGray850;exports.purpurColorGray900=r.purpurColorGray900;exports.purpurColorGray950=r.purpurColorGray950;exports.purpurColorGreen100=r.purpurColorGreen100;exports.purpurColorGreen200=r.purpurColorGreen200;exports.purpurColorGreen300=r.purpurColorGreen300;exports.purpurColorGreen400=r.purpurColorGreen400;exports.purpurColorGreen50=r.purpurColorGreen50;exports.purpurColorGreen500=r.purpurColorGreen500;exports.purpurColorGreen600=r.purpurColorGreen600;exports.purpurColorGreen700=r.purpurColorGreen700;exports.purpurColorGreen800=r.purpurColorGreen800;exports.purpurColorGreen900=r.purpurColorGreen900;exports.purpurColorGreen950=r.purpurColorGreen950;exports.purpurColorOrange100=r.purpurColorOrange100;exports.purpurColorOrange200=r.purpurColorOrange200;exports.purpurColorOrange300=r.purpurColorOrange300;exports.purpurColorOrange400=r.purpurColorOrange400;exports.purpurColorOrange50=r.purpurColorOrange50;exports.purpurColorOrange500=r.purpurColorOrange500;exports.purpurColorOrange600=r.purpurColorOrange600;exports.purpurColorOrange700=r.purpurColorOrange700;exports.purpurColorOrange800=r.purpurColorOrange800;exports.purpurColorOrange900=r.purpurColorOrange900;exports.purpurColorOrange950=r.purpurColorOrange950;exports.purpurColorOverlayDefault=r.purpurColorOverlayDefault;exports.purpurColorPurple100=r.purpurColorPurple100;exports.purpurColorPurple200=r.purpurColorPurple200;exports.purpurColorPurple300=r.purpurColorPurple300;exports.purpurColorPurple400=r.purpurColorPurple400;exports.purpurColorPurple50=r.purpurColorPurple50;exports.purpurColorPurple500=r.purpurColorPurple500;exports.purpurColorPurple550=r.purpurColorPurple550;exports.purpurColorPurple600=r.purpurColorPurple600;exports.purpurColorPurple700=r.purpurColorPurple700;exports.purpurColorPurple800=r.purpurColorPurple800;exports.purpurColorPurple900=r.purpurColorPurple900;exports.purpurColorPurple950=r.purpurColorPurple950;exports.purpurColorRed100=r.purpurColorRed100;exports.purpurColorRed200=r.purpurColorRed200;exports.purpurColorRed300=r.purpurColorRed300;exports.purpurColorRed400=r.purpurColorRed400;exports.purpurColorRed50=r.purpurColorRed50;exports.purpurColorRed500=r.purpurColorRed500;exports.purpurColorRed600=r.purpurColorRed600;exports.purpurColorRed700=r.purpurColorRed700;exports.purpurColorRed800=r.purpurColorRed800;exports.purpurColorRed900=r.purpurColorRed900;exports.purpurColorRed950=r.purpurColorRed950;exports.purpurColorTeal100=r.purpurColorTeal100;exports.purpurColorTeal200=r.purpurColorTeal200;exports.purpurColorTeal300=r.purpurColorTeal300;exports.purpurColorTeal400=r.purpurColorTeal400;exports.purpurColorTeal50=r.purpurColorTeal50;exports.purpurColorTeal500=r.purpurColorTeal500;exports.purpurColorTeal600=r.purpurColorTeal600;exports.purpurColorTeal700=r.purpurColorTeal700;exports.purpurColorTeal800=r.purpurColorTeal800;exports.purpurColorTeal900=r.purpurColorTeal900;exports.purpurColorTeal950=r.purpurColorTeal950;exports.purpurColorTextDefault=r.purpurColorTextDefault;exports.purpurColorTextDefaultNegative=r.purpurColorTextDefaultNegative;exports.purpurColorTextInteractiveOnDestructive=r.purpurColorTextInteractiveOnDestructive;exports.purpurColorTextInteractiveOnExpressive=r.purpurColorTextInteractiveOnExpressive;exports.purpurColorTextInteractiveOnExpressiveActive=r.purpurColorTextInteractiveOnExpressiveActive;exports.purpurColorTextInteractiveOnExpressiveActiveNegative=r.purpurColorTextInteractiveOnExpressiveActiveNegative;exports.purpurColorTextInteractiveOnExpressiveHover=r.purpurColorTextInteractiveOnExpressiveHover;exports.purpurColorTextInteractiveOnExpressiveHoverNegative=r.purpurColorTextInteractiveOnExpressiveHoverNegative;exports.purpurColorTextInteractiveOnExpressiveNegative=r.purpurColorTextInteractiveOnExpressiveNegative;exports.purpurColorTextInteractiveOnPrimary=r.purpurColorTextInteractiveOnPrimary;exports.purpurColorTextInteractiveOnPrimaryNegative=r.purpurColorTextInteractiveOnPrimaryNegative;exports.purpurColorTextInteractivePrimary=r.purpurColorTextInteractivePrimary;exports.purpurColorTextInteractivePrimaryActive=r.purpurColorTextInteractivePrimaryActive;exports.purpurColorTextInteractivePrimaryActiveNegative=r.purpurColorTextInteractivePrimaryActiveNegative;exports.purpurColorTextInteractivePrimaryHover=r.purpurColorTextInteractivePrimaryHover;exports.purpurColorTextInteractivePrimaryHoverNegative=r.purpurColorTextInteractivePrimaryHoverNegative;exports.purpurColorTextInteractivePrimaryNegative=r.purpurColorTextInteractivePrimaryNegative;exports.purpurColorTextInteractiveSelected=r.purpurColorTextInteractiveSelected;exports.purpurColorTextMedium=r.purpurColorTextMedium;exports.purpurColorTextMediumNegative=r.purpurColorTextMediumNegative;exports.purpurColorTextStatusAttention=r.purpurColorTextStatusAttention;exports.purpurColorTextStatusBlackFriday=r.purpurColorTextStatusBlackFriday;exports.purpurColorTextStatusDiscount=r.purpurColorTextStatusDiscount;exports.purpurColorTextStatusErrorMedium=r.purpurColorTextStatusErrorMedium;exports.purpurColorTextStatusErrorMediumNegative=r.purpurColorTextStatusErrorMediumNegative;exports.purpurColorTextStatusErrorStrong=r.purpurColorTextStatusErrorStrong;exports.purpurColorTextStatusErrorStrongNegative=r.purpurColorTextStatusErrorStrongNegative;exports.purpurColorTextStatusInfoMedium=r.purpurColorTextStatusInfoMedium;exports.purpurColorTextStatusInfoStrong=r.purpurColorTextStatusInfoStrong;exports.purpurColorTextStatusNeutral=r.purpurColorTextStatusNeutral;exports.purpurColorTextStatusSpecial=r.purpurColorTextStatusSpecial;exports.purpurColorTextStatusSuccessMedium=r.purpurColorTextStatusSuccessMedium;exports.purpurColorTextStatusSuccessMediumNegative=r.purpurColorTextStatusSuccessMediumNegative;exports.purpurColorTextStatusSuccessStrong=r.purpurColorTextStatusSuccessStrong;exports.purpurColorTextStatusSuccessStrongNegative=r.purpurColorTextStatusSuccessStrongNegative;exports.purpurColorTextStatusWarningMedium=r.purpurColorTextStatusWarningMedium;exports.purpurColorTextStatusWarningMediumNegative=r.purpurColorTextStatusWarningMediumNegative;exports.purpurColorTextStatusWarningStrong=r.purpurColorTextStatusWarningStrong;exports.purpurColorTextToneOnTonePrimary=r.purpurColorTextToneOnTonePrimary;exports.purpurColorTextToneOnToneSecondary=r.purpurColorTextToneOnToneSecondary;exports.purpurColorTextToneOnToneTertiary=r.purpurColorTextToneOnToneTertiary;exports.purpurColorTextWeak=r.purpurColorTextWeak;exports.purpurColorTextWeakNegative=r.purpurColorTextWeakNegative;exports.purpurColorTransparentBlack100=r.purpurColorTransparentBlack100;exports.purpurColorTransparentBlack150=r.purpurColorTransparentBlack150;exports.purpurColorTransparentBlack200=r.purpurColorTransparentBlack200;exports.purpurColorTransparentBlack300=r.purpurColorTransparentBlack300;exports.purpurColorTransparentBlack400=r.purpurColorTransparentBlack400;exports.purpurColorTransparentBlack50=r.purpurColorTransparentBlack50;exports.purpurColorTransparentBlack500=r.purpurColorTransparentBlack500;exports.purpurColorTransparentBlack600=r.purpurColorTransparentBlack600;exports.purpurColorTransparentBlack700=r.purpurColorTransparentBlack700;exports.purpurColorTransparentBlack800=r.purpurColorTransparentBlack800;exports.purpurColorTransparentBlack850=r.purpurColorTransparentBlack850;exports.purpurColorTransparentBlack900=r.purpurColorTransparentBlack900;exports.purpurColorTransparentBlack950=r.purpurColorTransparentBlack950;exports.purpurColorTransparentWhite100=r.purpurColorTransparentWhite100;exports.purpurColorTransparentWhite150=r.purpurColorTransparentWhite150;exports.purpurColorTransparentWhite200=r.purpurColorTransparentWhite200;exports.purpurColorTransparentWhite300=r.purpurColorTransparentWhite300;exports.purpurColorTransparentWhite400=r.purpurColorTransparentWhite400;exports.purpurColorTransparentWhite50=r.purpurColorTransparentWhite50;exports.purpurColorTransparentWhite500=r.purpurColorTransparentWhite500;exports.purpurColorTransparentWhite600=r.purpurColorTransparentWhite600;exports.purpurColorTransparentWhite700=r.purpurColorTransparentWhite700;exports.purpurColorTransparentWhite800=r.purpurColorTransparentWhite800;exports.purpurColorTransparentWhite850=r.purpurColorTransparentWhite850;exports.purpurColorTransparentWhite900=r.purpurColorTransparentWhite900;exports.purpurColorTransparentWhite950=r.purpurColorTransparentWhite950;exports.purpurMotionDuration100=o.purpurMotionDuration100;exports.purpurMotionDuration150=o.purpurMotionDuration150;exports.purpurMotionDuration1500=o.purpurMotionDuration1500;exports.purpurMotionDuration200=o.purpurMotionDuration200;exports.purpurMotionDuration2000=o.purpurMotionDuration2000;exports.purpurMotionDuration300=o.purpurMotionDuration300;exports.purpurMotionDuration400=o.purpurMotionDuration400;exports.purpurMotionDuration500=o.purpurMotionDuration500;exports.purpurMotionEasingEaseIn=o.purpurMotionEasingEaseIn;exports.purpurMotionEasingEaseInOut=o.purpurMotionEasingEaseInOut;exports.purpurMotionEasingEaseOut=o.purpurMotionEasingEaseOut;exports.ThemeProvider=l.ThemeProvider;exports.teliaTheme=l.teliaTheme;exports.useApplyTheme=l.useApplyTheme;exports.useTheme=l.useTheme;exports.useColorScheme=ir.useColorScheme;exports.af=u.af;exports.ar=u.ar;exports.arDZ=u.arDZ;exports.arEG=u.arEG;exports.arMA=u.arMA;exports.arSA=u.arSA;exports.arTN=u.arTN;exports.az=u.az;exports.be=u.be;exports.beTarask=u.beTarask;exports.bg=u.bg;exports.bn=u.bn;exports.bs=u.bs;exports.ca=u.ca;exports.ckb=u.ckb;exports.cs=u.cs;exports.cy=u.cy;exports.da=u.da;exports.de=u.de;exports.deAT=u.deAT;exports.el=u.el;exports.enAU=u.enAU;exports.enCA=u.enCA;exports.enGB=u.enGB;exports.enIE=u.enIE;exports.enIN=u.enIN;exports.enNZ=u.enNZ;exports.enZA=u.enZA;exports.eo=u.eo;exports.es=u.es;exports.et=u.et;exports.eu=u.eu;exports.faIR=u.faIR;exports.fi=u.fi;exports.fr=u.fr;exports.frCA=u.frCA;exports.frCH=u.frCH;exports.fy=u.fy;exports.gd=u.gd;exports.gl=u.gl;exports.gu=u.gu;exports.he=u.he;exports.hi=u.hi;exports.hr=u.hr;exports.ht=u.ht;exports.hu=u.hu;exports.hy=u.hy;exports.id=u.id;exports.is=u.is;exports.it=u.it;exports.itCH=u.itCH;exports.ja=u.ja;exports.jaHira=u.jaHira;exports.ka=u.ka;exports.kk=u.kk;exports.km=u.km;exports.kn=u.kn;exports.ko=u.ko;exports.lb=u.lb;exports.lt=u.lt;exports.lv=u.lv;exports.mk=u.mk;exports.mn=u.mn;exports.ms=u.ms;exports.mt=u.mt;exports.nb=u.nb;exports.nl=u.nl;exports.nlBE=u.nlBE;exports.nn=u.nn;exports.oc=u.oc;exports.pl=u.pl;exports.pt=u.pt;exports.ptBR=u.ptBR;exports.ro=u.ro;exports.ru=u.ru;exports.se=u.se;exports.sk=u.sk;exports.sl=u.sl;exports.sq=u.sq;exports.sr=u.sr;exports.srLatn=u.srLatn;exports.sv=u.sv;exports.ta=u.ta;exports.te=u.te;exports.th=u.th;exports.tr=u.tr;exports.ug=u.ug;exports.uk=u.uk;exports.uz=u.uz;exports.uzCyrl=u.uzCyrl;exports.vi=u.vi;exports.zhCN=u.zhCN;exports.zhHK=u.zhHK;exports.zhTW=u.zhTW;exports.enUS=lr.enUS;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const H=require("./calendar-pMM0fKEu.js"),y=require("./accordion-CF2fj2uq.js"),c=require("./alert-badge-DguuS7Qq.js"),I=require("./autocomplete-yD0-1vlF.js"),C=require("./badge-CQ0SS_t8.js"),k=require("./breadcrumbs-BKzim4am.js"),t=require("./button-ChYUPi2k.js"),f=require("./card-B512KHpr.js"),h=require("./checkbox-Dk3bZkZ3.js"),_=require("./chip-group-aj1fdnjC.js"),m=require("./color-dot-B9w_ucWb.js"),g=require("./container-DRwKIAjh.js"),F=require("./content-block-kzdUWgvH.js"),V=require("./countdown-CqYsZigV.js"),U=require("./counter-badge-B-d9VNup.js"),N=require("./cta-link-BHU6irMG.js"),z=require("./date-field-CPiTZqa0.js"),w=require("./date-picker-DlJGggam.js"),X=require("./dismissable-chip-group-DsO2cZaF.js"),Z=require("./drawer-nBpCtIdI.js"),x=require("./field-error-text-FhQulSV5.js"),j=require("./field-helper-text-DSKO-Tce.js"),K=require("./footer-DrjAwjuL.js"),Q=require("./grid-uGMD2euo.js"),n=require("./heading-DLCdW6gx.js"),P=require("./hero-banner-D3peC1NR.js"),Y=require("./label-yHK80hhV.js"),d=require("./link-DhWVrkTz.js"),$=require("./listbox-BmjBtIv8.js"),J=require("./modal-nyhf5zxG.js"),a=require("./notification-Bg1vQkQ3.js"),rr=require("./notification-banner-C8XsBDTq.js"),ur=require("./pagination-C2A8NPol.js"),O=require("./paragraph-BsI53OR0.js"),er=require("./popover-B1BgSoQx.js"),or=require("./product-card-DOBHGAa2.js"),A=require("./promotion-card-C7B5ZJaB.js"),s=require("./quantity-selector-DPOTlMSq.js"),T=require("./radio-button-group-CZ_FnVAi.js"),i=require("./radio-card-group-BT5pV3tA.js"),G=require("./RichText-DMyGiMN0.js"),R=require("./search-field-CxX4BBcg.js"),pr=require("./select-DOqTJgTj.js"),E=require("./skeleton-BU0KtWIM.js"),D=require("./slider-_R6JmPZl.js"),M=require("./spacer-OZQbtvcY.js"),v=require("./spinner-tKunS_o-.js"),ar=require("./stepper-B248FwO-.js"),q=require("./table-BNeo_B1h.js"),B=require("./tabs-CfHd4UQ2.js"),W=require("./text-area-9ggiIWtJ.js"),b=require("./text-field-B8a-NKm4.js"),L=require("./text-spacing-CiGPZHuB.js"),tr=require("./toggle-C8IwTbX8.js"),S=require("./tooltip-CLQLxoaf.js"),nr=require("./visually-hidden-C2CKovZx.js"),e=require("./tokens.cjs.js"),p=require("./variables-Buqm4JZc.js"),r=require("./variables-CMzMXeor.js"),o=require("./variables-BSBunpiY.js"),l=require("./ThemeProvider-ipAIFRUi.js"),ir=require("./useColorScheme-DNNu9bz0.js"),u=require("./zh-TW-CAp7WWVq.js"),lr=require("./format-CFKKBdIQ.js");exports.Calendar=H.Calendar;exports.Accordion=y.Accordion;exports.NegativeContext=y.NegativeContext;exports.ALERT_BADGE_VARIANT=c.ALERT_BADGE_VARIANT;exports.AlertBadge=c.AlertBadge;exports.alertBadgeVariants=c.alertBadgeVariants;exports.Autocomplete=I.Autocomplete;exports.useAutocomplete=I.useAutocomplete;exports.BADGE_VARIANT=C.BADGE_VARIANT;exports.Badge=C.Badge;exports.badgeVariants=C.badgeVariants;exports.Breadcrumbs=k.Breadcrumbs;exports.BreadcrumbsItem=k.Item;exports.BUTTON_TYPES=t.BUTTON_TYPES;exports.BUTTON_VARIANT=t.BUTTON_VARIANT;exports.Button=t.Button;exports.buttonVariants=t.buttonVariants;exports.Card=f.Card;exports.Checkbox=h.Checkbox;exports.checkedState=h.checkedState;exports.ChipGroup=_.ChipGroup;exports.COLOR_DOT_SIZE=m.COLOR_DOT_SIZE;exports.ColorDot=m.ColorDot;exports.Container=g.Container;exports.ContainerElement=g.ContainerElement;exports.Width=g.Width;exports.ContentBlock=F.ContentBlock;exports.Countdown=V.Countdown;exports.CounterBadge=U.CounterBadge;exports.CtaLink=N.CtaLink;exports.ctaLinkIcons=N.ctaLinkIcons;exports.DateField=z.DateField;exports.DatePicker=w.DatePicker;exports.DismissableChipGroup=X.DismissableChipGroup;exports.Drawer=Z.Drawer;exports.FieldErrorText=x.FieldErrorText;exports.ariaRelevantValues=x.ariaRelevantValues;exports.FieldHelperText=j.FieldHelperText;exports.Footer=K.Footer;exports.Grid=Q.Grid;exports.DisplayVariant=n.DisplayVariant;exports.Heading=n.Heading;exports.HeadingTag=n.HeadingTag;exports.TitleVariant=n.TitleVariant;exports.HeroBanner=P.HeroBanner;exports.TitleHyphenVariant=P.TitleHyphenVariant;exports.Label=Y.Label;exports.LINK_VARIANT=d.LINK_VARIANT;exports.Link=d.Link;exports.linkVariants=d.linkVariants;exports.Listbox=$.Listbox;exports.Modal=J.Modal;exports.NOTIFICATION_ARIA_LIVE=a.NOTIFICATION_ARIA_LIVE;exports.NOTIFICATION_ROLE=a.NOTIFICATION_ROLE;exports.NOTIFICATION_STATUS=a.NOTIFICATION_STATUS;exports.Notification=a.Notification;exports.notificationAriaLiveValues=a.notificationAriaLiveValues;exports.notificationRoles=a.notificationRoles;exports.notificationStatuses=a.notificationStatuses;exports.NotificationBanner=rr.NotificationBanner;exports.Pagination=ur.Pagination;exports.Paragraph=O.Paragraph;exports.ParagraphVariant=O.ParagraphVariant;exports.Popover=er.Popover;exports.ProductCard=or.ProductCard;exports.PromotionCard=A.PromotionCard;exports.promotionCardVariants=A.promotionCardVariants;exports.QuantitySelector=s.QuantitySelector;exports.quantitySelectorButtonVariants=s.quantitySelectorButtonVariants;exports.quantitySelectorVariants=s.quantitySelectorVariants;exports.RADIO_BUTTON_GROUP_DIRECTION=T.RADIO_BUTTON_GROUP_DIRECTION;exports.RADIO_BUTTON_GROUP_ORIENTATION=T.RADIO_BUTTON_GROUP_ORIENTATION;exports.RadioButtonGroup=T.RadioButtonGroup;exports.RADIO_CARD_GROUP_ORIENTATION=i.RADIO_CARD_GROUP_ORIENTATION;exports.RADIO_POSITION=i.RADIO_POSITION;exports.RadioCardGroup=i.RadioCardGroup;exports.RadioCardItem=i.RadioCardItem;exports.RichText=G.RichText;exports.richToPlainText=G.richToPlainText;exports.SearchField=R.SearchField;exports.searchFieldVariants=R.searchFieldVariants;exports.Select=pr.Select;exports.Skeleton=E.Skeleton;exports.radii=E.radii;exports.SLIDER_ORIENTATION=D.SLIDER_ORIENTATION;exports.Slider=D.Slider;exports.SPACER_SIZE=M.SPACER_SIZE;exports.Spacer=M.Spacer;exports.SPINNER_SIZE=v.SPINNER_SIZE;exports.Spinner=v.Spinner;exports.spinnerSizes=v.spinnerSizes;exports.Stepper=ar.Stepper;exports.Table=q.Table;exports.createColumnHelper=q.createColumnHelper;exports.Tabs=B.Tabs;exports.createTabChangeDetailEvent=B.createTabChangeDetailEvent;exports.tabsVariants=B.tabsVariants;exports.ResizeOption=W.ResizeOption;exports.TextArea=W.TextArea;exports.TextField=b.TextField;exports.isTextField=b.isTextField;exports.Element=L.Element;exports.TextSpacing=L.TextSpacing;exports.Toggle=tr.Toggle;exports.TOOLTIP_ALIGN=S.TOOLTIP_ALIGN;exports.TOOLTIP_POSITION=S.TOOLTIP_POSITION;exports.Tooltip=S.Tooltip;exports.VisuallyHidden=nr.VisuallyHidden;exports.purpurBorderRadiusFull=e.purpurBorderRadiusFull;exports.purpurBorderRadiusLg=e.purpurBorderRadiusLg;exports.purpurBorderRadiusMd=e.purpurBorderRadiusMd;exports.purpurBorderRadiusSm=e.purpurBorderRadiusSm;exports.purpurBorderRadiusXs=e.purpurBorderRadiusXs;exports.purpurBorderWidthLg=e.purpurBorderWidthLg;exports.purpurBorderWidthMd=e.purpurBorderWidthMd;exports.purpurBorderWidthSm=e.purpurBorderWidthSm;exports.purpurBorderWidthXs=e.purpurBorderWidthXs;exports.purpurFilterBlurOnImage=e.purpurFilterBlurOnImage;exports.purpurGradientAiBackgroundInteractiveExpressive=e.purpurGradientAiBackgroundInteractiveExpressive;exports.purpurGradientAiBackgroundInteractiveExpressiveNegative=e.purpurGradientAiBackgroundInteractiveExpressiveNegative;exports.purpurGradientAiBackgroundInteractivePrimary=e.purpurGradientAiBackgroundInteractivePrimary;exports.purpurGradientAiBackgroundInteractivePrimaryNegative=e.purpurGradientAiBackgroundInteractivePrimaryNegative;exports.purpurGradientAiBackgroundPrimaryNegative=e.purpurGradientAiBackgroundPrimaryNegative;exports.purpurGradientAiBorderInteractivePrimary=e.purpurGradientAiBorderInteractivePrimary;exports.purpurGradientAiBorderInteractivePrimaryNegative=e.purpurGradientAiBorderInteractivePrimaryNegative;exports.purpurGradientAiTextInteractivePrimary=e.purpurGradientAiTextInteractivePrimary;exports.purpurGradientAiTextInteractivePrimaryNegative=e.purpurGradientAiTextInteractivePrimaryNegative;exports.purpurShadowLg=e.purpurShadowLg;exports.purpurShadowMd=e.purpurShadowMd;exports.purpurShadowNone=e.purpurShadowNone;exports.purpurShadowSm=e.purpurShadowSm;exports.purpurSpacing0=e.purpurSpacing0;exports.purpurSpacing10=e.purpurSpacing10;exports.purpurSpacing100=e.purpurSpacing100;exports.purpurSpacing1000=e.purpurSpacing1000;exports.purpurSpacing1200=e.purpurSpacing1200;exports.purpurSpacing150=e.purpurSpacing150;exports.purpurSpacing1600=e.purpurSpacing1600;exports.purpurSpacing200=e.purpurSpacing200;exports.purpurSpacing25=e.purpurSpacing25;exports.purpurSpacing250=e.purpurSpacing250;exports.purpurSpacing300=e.purpurSpacing300;exports.purpurSpacing400=e.purpurSpacing400;exports.purpurSpacing50=e.purpurSpacing50;exports.purpurSpacing600=e.purpurSpacing600;exports.purpurSpacing800=e.purpurSpacing800;exports.purpurSpacingGutterLg=e.purpurSpacingGutterLg;exports.purpurSpacingGutterMd=e.purpurSpacingGutterMd;exports.purpurSpacingGutterSm=e.purpurSpacingGutterSm;exports.purpurSpacingGutterXl=e.purpurSpacingGutterXl;exports.purpurSpacingPagePaddingLg=e.purpurSpacingPagePaddingLg;exports.purpurSpacingPagePaddingMd=e.purpurSpacingPagePaddingMd;exports.purpurSpacingPagePaddingSm=e.purpurSpacingPagePaddingSm;exports.purpurSpacingPagePaddingXl=e.purpurSpacingPagePaddingXl;exports.purpurTypographyFamilyDefault=e.purpurTypographyFamilyDefault;exports.purpurTypographyFamilyDisplay=e.purpurTypographyFamilyDisplay;exports.purpurTypographyLineHeightDefault=e.purpurTypographyLineHeightDefault;exports.purpurTypographyLineHeightLoose=e.purpurTypographyLineHeightLoose;exports.purpurTypographyLineHeightLooser=e.purpurTypographyLineHeightLooser;exports.purpurTypographyLineHeightSnug=e.purpurTypographyLineHeightSnug;exports.purpurTypographyLineHeightTight=e.purpurTypographyLineHeightTight;exports.purpurTypographyScale100=e.purpurTypographyScale100;exports.purpurTypographyScale1000=e.purpurTypographyScale1000;exports.purpurTypographyScale1100=e.purpurTypographyScale1100;exports.purpurTypographyScale150=e.purpurTypographyScale150;exports.purpurTypographyScale200=e.purpurTypographyScale200;exports.purpurTypographyScale300=e.purpurTypographyScale300;exports.purpurTypographyScale400=e.purpurTypographyScale400;exports.purpurTypographyScale50=e.purpurTypographyScale50;exports.purpurTypographyScale500=e.purpurTypographyScale500;exports.purpurTypographyScale600=e.purpurTypographyScale600;exports.purpurTypographyScale650=e.purpurTypographyScale650;exports.purpurTypographyScale700=e.purpurTypographyScale700;exports.purpurTypographyScale75=e.purpurTypographyScale75;exports.purpurTypographyScale800=e.purpurTypographyScale800;exports.purpurTypographyScale850=e.purpurTypographyScale850;exports.purpurTypographyScale900=e.purpurTypographyScale900;exports.purpurTypographyWeightBold=e.purpurTypographyWeightBold;exports.purpurTypographyWeightMedium=e.purpurTypographyWeightMedium;exports.purpurTypographyWeightNormal=e.purpurTypographyWeightNormal;exports.purpurBreakpointLg=p.purpurBreakpointLg;exports.purpurBreakpointMd=p.purpurBreakpointMd;exports.purpurBreakpointRelativeLg=p.purpurBreakpointRelativeLg;exports.purpurBreakpointRelativeMd=p.purpurBreakpointRelativeMd;exports.purpurBreakpointRelativeSm=p.purpurBreakpointRelativeSm;exports.purpurBreakpointRelativeXl=p.purpurBreakpointRelativeXl;exports.purpurBreakpointSm=p.purpurBreakpointSm;exports.purpurBreakpointXl=p.purpurBreakpointXl;exports.purpurColorBackgroundInteractiveAutoFill=r.purpurColorBackgroundInteractiveAutoFill;exports.purpurColorBackgroundInteractiveDestructive=r.purpurColorBackgroundInteractiveDestructive;exports.purpurColorBackgroundInteractiveDestructiveActive=r.purpurColorBackgroundInteractiveDestructiveActive;exports.purpurColorBackgroundInteractiveDestructiveHover=r.purpurColorBackgroundInteractiveDestructiveHover;exports.purpurColorBackgroundInteractiveDisabled=r.purpurColorBackgroundInteractiveDisabled;exports.purpurColorBackgroundInteractiveDisabledNegative=r.purpurColorBackgroundInteractiveDisabledNegative;exports.purpurColorBackgroundInteractiveExpressive=r.purpurColorBackgroundInteractiveExpressive;exports.purpurColorBackgroundInteractiveExpressiveActive=r.purpurColorBackgroundInteractiveExpressiveActive;exports.purpurColorBackgroundInteractiveExpressiveActiveNegative=r.purpurColorBackgroundInteractiveExpressiveActiveNegative;exports.purpurColorBackgroundInteractiveExpressiveHover=r.purpurColorBackgroundInteractiveExpressiveHover;exports.purpurColorBackgroundInteractiveExpressiveHoverNegative=r.purpurColorBackgroundInteractiveExpressiveHoverNegative;exports.purpurColorBackgroundInteractiveExpressiveNegative=r.purpurColorBackgroundInteractiveExpressiveNegative;exports.purpurColorBackgroundInteractiveInactive=r.purpurColorBackgroundInteractiveInactive;exports.purpurColorBackgroundInteractiveInactiveNegative=r.purpurColorBackgroundInteractiveInactiveNegative;exports.purpurColorBackgroundInteractivePrimary=r.purpurColorBackgroundInteractivePrimary;exports.purpurColorBackgroundInteractivePrimaryActive=r.purpurColorBackgroundInteractivePrimaryActive;exports.purpurColorBackgroundInteractivePrimaryActiveNegative=r.purpurColorBackgroundInteractivePrimaryActiveNegative;exports.purpurColorBackgroundInteractivePrimaryHover=r.purpurColorBackgroundInteractivePrimaryHover;exports.purpurColorBackgroundInteractivePrimaryHoverNegative=r.purpurColorBackgroundInteractivePrimaryHoverNegative;exports.purpurColorBackgroundInteractivePrimaryNegative=r.purpurColorBackgroundInteractivePrimaryNegative;exports.purpurColorBackgroundInteractiveReadOnly=r.purpurColorBackgroundInteractiveReadOnly;exports.purpurColorBackgroundInteractiveReadOnlyNegative=r.purpurColorBackgroundInteractiveReadOnlyNegative;exports.purpurColorBackgroundInteractiveTransparentActive=r.purpurColorBackgroundInteractiveTransparentActive;exports.purpurColorBackgroundInteractiveTransparentActiveNegative=r.purpurColorBackgroundInteractiveTransparentActiveNegative;exports.purpurColorBackgroundInteractiveTransparentHover=r.purpurColorBackgroundInteractiveTransparentHover;exports.purpurColorBackgroundInteractiveTransparentHoverNegative=r.purpurColorBackgroundInteractiveTransparentHoverNegative;exports.purpurColorBackgroundOnImage=r.purpurColorBackgroundOnImage;exports.purpurColorBackgroundOnImageNegative=r.purpurColorBackgroundOnImageNegative;exports.purpurColorBackgroundPrimary=r.purpurColorBackgroundPrimary;exports.purpurColorBackgroundPrimaryNegative=r.purpurColorBackgroundPrimaryNegative;exports.purpurColorBackgroundSecondary=r.purpurColorBackgroundSecondary;exports.purpurColorBackgroundSecondaryNegative=r.purpurColorBackgroundSecondaryNegative;exports.purpurColorBackgroundStatusAttention=r.purpurColorBackgroundStatusAttention;exports.purpurColorBackgroundStatusBlackFriday=r.purpurColorBackgroundStatusBlackFriday;exports.purpurColorBackgroundStatusErrorMedium=r.purpurColorBackgroundStatusErrorMedium;exports.purpurColorBackgroundStatusErrorStrong=r.purpurColorBackgroundStatusErrorStrong;exports.purpurColorBackgroundStatusErrorStrongNegative=r.purpurColorBackgroundStatusErrorStrongNegative;exports.purpurColorBackgroundStatusInfoMedium=r.purpurColorBackgroundStatusInfoMedium;exports.purpurColorBackgroundStatusInfoStrong=r.purpurColorBackgroundStatusInfoStrong;exports.purpurColorBackgroundStatusNeutral=r.purpurColorBackgroundStatusNeutral;exports.purpurColorBackgroundStatusSpecial=r.purpurColorBackgroundStatusSpecial;exports.purpurColorBackgroundStatusSuccessMedium=r.purpurColorBackgroundStatusSuccessMedium;exports.purpurColorBackgroundStatusSuccessStrong=r.purpurColorBackgroundStatusSuccessStrong;exports.purpurColorBackgroundStatusSuccessStrongNegative=r.purpurColorBackgroundStatusSuccessStrongNegative;exports.purpurColorBackgroundStatusWarningMedium=r.purpurColorBackgroundStatusWarningMedium;exports.purpurColorBackgroundStatusWarningStrong=r.purpurColorBackgroundStatusWarningStrong;exports.purpurColorBackgroundStatusWarningStrongNegative=r.purpurColorBackgroundStatusWarningStrongNegative;exports.purpurColorBackgroundToneOnTonePrimary=r.purpurColorBackgroundToneOnTonePrimary;exports.purpurColorBackgroundToneOnToneQuaternary=r.purpurColorBackgroundToneOnToneQuaternary;exports.purpurColorBackgroundToneOnToneSecondary=r.purpurColorBackgroundToneOnToneSecondary;exports.purpurColorBackgroundToneOnToneTertiary=r.purpurColorBackgroundToneOnToneTertiary;exports.purpurColorBeige100=r.purpurColorBeige100;exports.purpurColorBeige200=r.purpurColorBeige200;exports.purpurColorBeige300=r.purpurColorBeige300;exports.purpurColorBeige400=r.purpurColorBeige400;exports.purpurColorBeige50=r.purpurColorBeige50;exports.purpurColorBeige500=r.purpurColorBeige500;exports.purpurColorBeige600=r.purpurColorBeige600;exports.purpurColorBeige700=r.purpurColorBeige700;exports.purpurColorBeige800=r.purpurColorBeige800;exports.purpurColorBeige900=r.purpurColorBeige900;exports.purpurColorBeige950=r.purpurColorBeige950;exports.purpurColorBlue100=r.purpurColorBlue100;exports.purpurColorBlue200=r.purpurColorBlue200;exports.purpurColorBlue300=r.purpurColorBlue300;exports.purpurColorBlue400=r.purpurColorBlue400;exports.purpurColorBlue50=r.purpurColorBlue50;exports.purpurColorBlue500=r.purpurColorBlue500;exports.purpurColorBlue600=r.purpurColorBlue600;exports.purpurColorBlue700=r.purpurColorBlue700;exports.purpurColorBlue800=r.purpurColorBlue800;exports.purpurColorBlue900=r.purpurColorBlue900;exports.purpurColorBlue950=r.purpurColorBlue950;exports.purpurColorBorderInteractiveExpressive=r.purpurColorBorderInteractiveExpressive;exports.purpurColorBorderInteractiveFocus=r.purpurColorBorderInteractiveFocus;exports.purpurColorBorderInteractivePrimary=r.purpurColorBorderInteractivePrimary;exports.purpurColorBorderInteractivePrimaryActive=r.purpurColorBorderInteractivePrimaryActive;exports.purpurColorBorderInteractivePrimaryActiveNegative=r.purpurColorBorderInteractivePrimaryActiveNegative;exports.purpurColorBorderInteractivePrimaryHover=r.purpurColorBorderInteractivePrimaryHover;exports.purpurColorBorderInteractivePrimaryHoverNegative=r.purpurColorBorderInteractivePrimaryHoverNegative;exports.purpurColorBorderInteractivePrimaryNegative=r.purpurColorBorderInteractivePrimaryNegative;exports.purpurColorBorderInteractiveSelected=r.purpurColorBorderInteractiveSelected;exports.purpurColorBorderInteractiveSubtle=r.purpurColorBorderInteractiveSubtle;exports.purpurColorBorderInteractiveSubtleHover=r.purpurColorBorderInteractiveSubtleHover;exports.purpurColorBorderInteractiveSubtleHoverNegative=r.purpurColorBorderInteractiveSubtleHoverNegative;exports.purpurColorBorderInteractiveSubtleNegative=r.purpurColorBorderInteractiveSubtleNegative;exports.purpurColorBorderMedium=r.purpurColorBorderMedium;exports.purpurColorBorderMediumNegative=r.purpurColorBorderMediumNegative;exports.purpurColorBorderStatusError=r.purpurColorBorderStatusError;exports.purpurColorBorderStatusErrorNegative=r.purpurColorBorderStatusErrorNegative;exports.purpurColorBorderStatusInfo=r.purpurColorBorderStatusInfo;exports.purpurColorBorderStatusSuccess=r.purpurColorBorderStatusSuccess;exports.purpurColorBorderStatusSuccessNegative=r.purpurColorBorderStatusSuccessNegative;exports.purpurColorBorderStatusWarning=r.purpurColorBorderStatusWarning;exports.purpurColorBorderStrong=r.purpurColorBorderStrong;exports.purpurColorBorderStrongNegative=r.purpurColorBorderStrongNegative;exports.purpurColorBorderWeak=r.purpurColorBorderWeak;exports.purpurColorBorderWeakNegative=r.purpurColorBorderWeakNegative;exports.purpurColorBrandBeige=r.purpurColorBrandBeige;exports.purpurColorBrandCorePurple=r.purpurColorBrandCorePurple;exports.purpurColorBrandDeepBeige=r.purpurColorBrandDeepBeige;exports.purpurColorBrandDeepPurple=r.purpurColorBrandDeepPurple;exports.purpurColorBrandLightBeige=r.purpurColorBrandLightBeige;exports.purpurColorBrandLightPurple=r.purpurColorBrandLightPurple;exports.purpurColorBrandOffBlack=r.purpurColorBrandOffBlack;exports.purpurColorBrandWhite=r.purpurColorBrandWhite;exports.purpurColorFunctionalBlack=r.purpurColorFunctionalBlack;exports.purpurColorFunctionalTransparent=r.purpurColorFunctionalTransparent;exports.purpurColorFunctionalWhite=r.purpurColorFunctionalWhite;exports.purpurColorGradientAiBottom=r.purpurColorGradientAiBottom;exports.purpurColorGradientAiBottomNegative=r.purpurColorGradientAiBottomNegative;exports.purpurColorGradientAiTop=r.purpurColorGradientAiTop;exports.purpurColorGradientAiTopNegative=r.purpurColorGradientAiTopNegative;exports.purpurColorGray100=r.purpurColorGray100;exports.purpurColorGray150=r.purpurColorGray150;exports.purpurColorGray200=r.purpurColorGray200;exports.purpurColorGray300=r.purpurColorGray300;exports.purpurColorGray400=r.purpurColorGray400;exports.purpurColorGray50=r.purpurColorGray50;exports.purpurColorGray500=r.purpurColorGray500;exports.purpurColorGray600=r.purpurColorGray600;exports.purpurColorGray700=r.purpurColorGray700;exports.purpurColorGray800=r.purpurColorGray800;exports.purpurColorGray850=r.purpurColorGray850;exports.purpurColorGray900=r.purpurColorGray900;exports.purpurColorGray950=r.purpurColorGray950;exports.purpurColorGreen100=r.purpurColorGreen100;exports.purpurColorGreen200=r.purpurColorGreen200;exports.purpurColorGreen300=r.purpurColorGreen300;exports.purpurColorGreen400=r.purpurColorGreen400;exports.purpurColorGreen50=r.purpurColorGreen50;exports.purpurColorGreen500=r.purpurColorGreen500;exports.purpurColorGreen600=r.purpurColorGreen600;exports.purpurColorGreen700=r.purpurColorGreen700;exports.purpurColorGreen800=r.purpurColorGreen800;exports.purpurColorGreen900=r.purpurColorGreen900;exports.purpurColorGreen950=r.purpurColorGreen950;exports.purpurColorOrange100=r.purpurColorOrange100;exports.purpurColorOrange200=r.purpurColorOrange200;exports.purpurColorOrange300=r.purpurColorOrange300;exports.purpurColorOrange400=r.purpurColorOrange400;exports.purpurColorOrange50=r.purpurColorOrange50;exports.purpurColorOrange500=r.purpurColorOrange500;exports.purpurColorOrange600=r.purpurColorOrange600;exports.purpurColorOrange700=r.purpurColorOrange700;exports.purpurColorOrange800=r.purpurColorOrange800;exports.purpurColorOrange900=r.purpurColorOrange900;exports.purpurColorOrange950=r.purpurColorOrange950;exports.purpurColorOverlayDefault=r.purpurColorOverlayDefault;exports.purpurColorPurple100=r.purpurColorPurple100;exports.purpurColorPurple200=r.purpurColorPurple200;exports.purpurColorPurple300=r.purpurColorPurple300;exports.purpurColorPurple400=r.purpurColorPurple400;exports.purpurColorPurple50=r.purpurColorPurple50;exports.purpurColorPurple500=r.purpurColorPurple500;exports.purpurColorPurple550=r.purpurColorPurple550;exports.purpurColorPurple600=r.purpurColorPurple600;exports.purpurColorPurple700=r.purpurColorPurple700;exports.purpurColorPurple800=r.purpurColorPurple800;exports.purpurColorPurple900=r.purpurColorPurple900;exports.purpurColorPurple950=r.purpurColorPurple950;exports.purpurColorRed100=r.purpurColorRed100;exports.purpurColorRed200=r.purpurColorRed200;exports.purpurColorRed300=r.purpurColorRed300;exports.purpurColorRed400=r.purpurColorRed400;exports.purpurColorRed50=r.purpurColorRed50;exports.purpurColorRed500=r.purpurColorRed500;exports.purpurColorRed600=r.purpurColorRed600;exports.purpurColorRed700=r.purpurColorRed700;exports.purpurColorRed800=r.purpurColorRed800;exports.purpurColorRed900=r.purpurColorRed900;exports.purpurColorRed950=r.purpurColorRed950;exports.purpurColorTeal100=r.purpurColorTeal100;exports.purpurColorTeal200=r.purpurColorTeal200;exports.purpurColorTeal300=r.purpurColorTeal300;exports.purpurColorTeal400=r.purpurColorTeal400;exports.purpurColorTeal50=r.purpurColorTeal50;exports.purpurColorTeal500=r.purpurColorTeal500;exports.purpurColorTeal600=r.purpurColorTeal600;exports.purpurColorTeal700=r.purpurColorTeal700;exports.purpurColorTeal800=r.purpurColorTeal800;exports.purpurColorTeal900=r.purpurColorTeal900;exports.purpurColorTeal950=r.purpurColorTeal950;exports.purpurColorTextDefault=r.purpurColorTextDefault;exports.purpurColorTextDefaultNegative=r.purpurColorTextDefaultNegative;exports.purpurColorTextInteractiveOnDestructive=r.purpurColorTextInteractiveOnDestructive;exports.purpurColorTextInteractiveOnExpressive=r.purpurColorTextInteractiveOnExpressive;exports.purpurColorTextInteractiveOnExpressiveActive=r.purpurColorTextInteractiveOnExpressiveActive;exports.purpurColorTextInteractiveOnExpressiveActiveNegative=r.purpurColorTextInteractiveOnExpressiveActiveNegative;exports.purpurColorTextInteractiveOnExpressiveHover=r.purpurColorTextInteractiveOnExpressiveHover;exports.purpurColorTextInteractiveOnExpressiveHoverNegative=r.purpurColorTextInteractiveOnExpressiveHoverNegative;exports.purpurColorTextInteractiveOnExpressiveNegative=r.purpurColorTextInteractiveOnExpressiveNegative;exports.purpurColorTextInteractiveOnPrimary=r.purpurColorTextInteractiveOnPrimary;exports.purpurColorTextInteractiveOnPrimaryNegative=r.purpurColorTextInteractiveOnPrimaryNegative;exports.purpurColorTextInteractivePrimary=r.purpurColorTextInteractivePrimary;exports.purpurColorTextInteractivePrimaryActive=r.purpurColorTextInteractivePrimaryActive;exports.purpurColorTextInteractivePrimaryActiveNegative=r.purpurColorTextInteractivePrimaryActiveNegative;exports.purpurColorTextInteractivePrimaryHover=r.purpurColorTextInteractivePrimaryHover;exports.purpurColorTextInteractivePrimaryHoverNegative=r.purpurColorTextInteractivePrimaryHoverNegative;exports.purpurColorTextInteractivePrimaryNegative=r.purpurColorTextInteractivePrimaryNegative;exports.purpurColorTextInteractiveSelected=r.purpurColorTextInteractiveSelected;exports.purpurColorTextMedium=r.purpurColorTextMedium;exports.purpurColorTextMediumNegative=r.purpurColorTextMediumNegative;exports.purpurColorTextStatusAttention=r.purpurColorTextStatusAttention;exports.purpurColorTextStatusBlackFriday=r.purpurColorTextStatusBlackFriday;exports.purpurColorTextStatusDiscount=r.purpurColorTextStatusDiscount;exports.purpurColorTextStatusErrorMedium=r.purpurColorTextStatusErrorMedium;exports.purpurColorTextStatusErrorMediumNegative=r.purpurColorTextStatusErrorMediumNegative;exports.purpurColorTextStatusErrorStrong=r.purpurColorTextStatusErrorStrong;exports.purpurColorTextStatusErrorStrongNegative=r.purpurColorTextStatusErrorStrongNegative;exports.purpurColorTextStatusInfoMedium=r.purpurColorTextStatusInfoMedium;exports.purpurColorTextStatusInfoStrong=r.purpurColorTextStatusInfoStrong;exports.purpurColorTextStatusNeutral=r.purpurColorTextStatusNeutral;exports.purpurColorTextStatusSpecial=r.purpurColorTextStatusSpecial;exports.purpurColorTextStatusSuccessMedium=r.purpurColorTextStatusSuccessMedium;exports.purpurColorTextStatusSuccessMediumNegative=r.purpurColorTextStatusSuccessMediumNegative;exports.purpurColorTextStatusSuccessStrong=r.purpurColorTextStatusSuccessStrong;exports.purpurColorTextStatusSuccessStrongNegative=r.purpurColorTextStatusSuccessStrongNegative;exports.purpurColorTextStatusWarningMedium=r.purpurColorTextStatusWarningMedium;exports.purpurColorTextStatusWarningMediumNegative=r.purpurColorTextStatusWarningMediumNegative;exports.purpurColorTextStatusWarningStrong=r.purpurColorTextStatusWarningStrong;exports.purpurColorTextToneOnTonePrimary=r.purpurColorTextToneOnTonePrimary;exports.purpurColorTextToneOnToneSecondary=r.purpurColorTextToneOnToneSecondary;exports.purpurColorTextToneOnToneTertiary=r.purpurColorTextToneOnToneTertiary;exports.purpurColorTextWeak=r.purpurColorTextWeak;exports.purpurColorTextWeakNegative=r.purpurColorTextWeakNegative;exports.purpurColorTransparentBlack100=r.purpurColorTransparentBlack100;exports.purpurColorTransparentBlack150=r.purpurColorTransparentBlack150;exports.purpurColorTransparentBlack200=r.purpurColorTransparentBlack200;exports.purpurColorTransparentBlack300=r.purpurColorTransparentBlack300;exports.purpurColorTransparentBlack400=r.purpurColorTransparentBlack400;exports.purpurColorTransparentBlack50=r.purpurColorTransparentBlack50;exports.purpurColorTransparentBlack500=r.purpurColorTransparentBlack500;exports.purpurColorTransparentBlack600=r.purpurColorTransparentBlack600;exports.purpurColorTransparentBlack700=r.purpurColorTransparentBlack700;exports.purpurColorTransparentBlack800=r.purpurColorTransparentBlack800;exports.purpurColorTransparentBlack850=r.purpurColorTransparentBlack850;exports.purpurColorTransparentBlack900=r.purpurColorTransparentBlack900;exports.purpurColorTransparentBlack950=r.purpurColorTransparentBlack950;exports.purpurColorTransparentWhite100=r.purpurColorTransparentWhite100;exports.purpurColorTransparentWhite150=r.purpurColorTransparentWhite150;exports.purpurColorTransparentWhite200=r.purpurColorTransparentWhite200;exports.purpurColorTransparentWhite300=r.purpurColorTransparentWhite300;exports.purpurColorTransparentWhite400=r.purpurColorTransparentWhite400;exports.purpurColorTransparentWhite50=r.purpurColorTransparentWhite50;exports.purpurColorTransparentWhite500=r.purpurColorTransparentWhite500;exports.purpurColorTransparentWhite600=r.purpurColorTransparentWhite600;exports.purpurColorTransparentWhite700=r.purpurColorTransparentWhite700;exports.purpurColorTransparentWhite800=r.purpurColorTransparentWhite800;exports.purpurColorTransparentWhite850=r.purpurColorTransparentWhite850;exports.purpurColorTransparentWhite900=r.purpurColorTransparentWhite900;exports.purpurColorTransparentWhite950=r.purpurColorTransparentWhite950;exports.purpurMotionDuration100=o.purpurMotionDuration100;exports.purpurMotionDuration150=o.purpurMotionDuration150;exports.purpurMotionDuration1500=o.purpurMotionDuration1500;exports.purpurMotionDuration200=o.purpurMotionDuration200;exports.purpurMotionDuration2000=o.purpurMotionDuration2000;exports.purpurMotionDuration300=o.purpurMotionDuration300;exports.purpurMotionDuration400=o.purpurMotionDuration400;exports.purpurMotionDuration500=o.purpurMotionDuration500;exports.purpurMotionEasingEaseIn=o.purpurMotionEasingEaseIn;exports.purpurMotionEasingEaseInOut=o.purpurMotionEasingEaseInOut;exports.purpurMotionEasingEaseOut=o.purpurMotionEasingEaseOut;exports.ThemeProvider=l.ThemeProvider;exports.teliaTheme=l.teliaTheme;exports.useApplyTheme=l.useApplyTheme;exports.useTheme=l.useTheme;exports.useColorScheme=ir.useColorScheme;exports.af=u.af;exports.ar=u.ar;exports.arDZ=u.arDZ;exports.arEG=u.arEG;exports.arMA=u.arMA;exports.arSA=u.arSA;exports.arTN=u.arTN;exports.az=u.az;exports.be=u.be;exports.beTarask=u.beTarask;exports.bg=u.bg;exports.bn=u.bn;exports.bs=u.bs;exports.ca=u.ca;exports.ckb=u.ckb;exports.cs=u.cs;exports.cy=u.cy;exports.da=u.da;exports.de=u.de;exports.deAT=u.deAT;exports.el=u.el;exports.enAU=u.enAU;exports.enCA=u.enCA;exports.enGB=u.enGB;exports.enIE=u.enIE;exports.enIN=u.enIN;exports.enNZ=u.enNZ;exports.enZA=u.enZA;exports.eo=u.eo;exports.es=u.es;exports.et=u.et;exports.eu=u.eu;exports.faIR=u.faIR;exports.fi=u.fi;exports.fr=u.fr;exports.frCA=u.frCA;exports.frCH=u.frCH;exports.fy=u.fy;exports.gd=u.gd;exports.gl=u.gl;exports.gu=u.gu;exports.he=u.he;exports.hi=u.hi;exports.hr=u.hr;exports.ht=u.ht;exports.hu=u.hu;exports.hy=u.hy;exports.id=u.id;exports.is=u.is;exports.it=u.it;exports.itCH=u.itCH;exports.ja=u.ja;exports.jaHira=u.jaHira;exports.ka=u.ka;exports.kk=u.kk;exports.km=u.km;exports.kn=u.kn;exports.ko=u.ko;exports.lb=u.lb;exports.lt=u.lt;exports.lv=u.lv;exports.mk=u.mk;exports.mn=u.mn;exports.ms=u.ms;exports.mt=u.mt;exports.nb=u.nb;exports.nl=u.nl;exports.nlBE=u.nlBE;exports.nn=u.nn;exports.oc=u.oc;exports.pl=u.pl;exports.pt=u.pt;exports.ptBR=u.ptBR;exports.ro=u.ro;exports.ru=u.ru;exports.se=u.se;exports.sk=u.sk;exports.sl=u.sl;exports.sq=u.sq;exports.sr=u.sr;exports.srLatn=u.srLatn;exports.sv=u.sv;exports.ta=u.ta;exports.te=u.te;exports.th=u.th;exports.tr=u.tr;exports.ug=u.ug;exports.uk=u.uk;exports.uz=u.uz;exports.uzCyrl=u.uzCyrl;exports.vi=u.vi;exports.zhCN=u.zhCN;exports.zhHK=u.zhHK;exports.zhTW=u.zhTW;exports.enUS=lr.enUS;
|
|
2
2
|
//# sourceMappingURL=library.cjs.js.map
|
package/dist/library.es.js
CHANGED
|
@@ -20,10 +20,10 @@ import { D as $ } from "./dismissable-chip-group-Bl0D18qM.mjs";
|
|
|
20
20
|
import { D as ar } from "./drawer-Boqmgh-i.mjs";
|
|
21
21
|
import { F as pr, a as ur } from "./field-error-text-CBSX8dGx.mjs";
|
|
22
22
|
import { F as sr } from "./field-helper-text-C5ee4SFV.mjs";
|
|
23
|
-
import { F as nr } from "./footer-
|
|
23
|
+
import { F as nr } from "./footer-DcWsihxS.mjs";
|
|
24
24
|
import { G as lr } from "./grid-DGnCQgwf.mjs";
|
|
25
25
|
import { D as Cr, a as gr, H as dr, T as Tr } from "./heading-gqtQNo5n.mjs";
|
|
26
|
-
import { H as vr, T as Sr } from "./hero-banner-
|
|
26
|
+
import { H as vr, T as Sr } from "./hero-banner-B8fRHxXc.mjs";
|
|
27
27
|
import { L as xr } from "./label-7sJe5-pX.mjs";
|
|
28
28
|
import { L as Ir, a as kr, l as br } from "./link-DY5WLpyc.mjs";
|
|
29
29
|
import { L as hr } from "./listbox-u6__DsLw.mjs";
|
|
@@ -34,7 +34,7 @@ import { P as Fr } from "./pagination-CVVCAQ65.mjs";
|
|
|
34
34
|
import { a as Ur, P as zr } from "./paragraph-DNtj7OLr.mjs";
|
|
35
35
|
import { P as Xr } from "./popover-DBMI9Jy1.mjs";
|
|
36
36
|
import { P as qr } from "./product-card-rfpJbzzV.mjs";
|
|
37
|
-
import { P as Qr, p as Kr } from "./promotion-card-
|
|
37
|
+
import { P as Qr, p as Kr } from "./promotion-card-wGGt75eI.mjs";
|
|
38
38
|
import { Q as Jr, a as $r, q as ra } from "./quantity-selector-_VcZYLjR.mjs";
|
|
39
39
|
import { a as oa, b as pa, R as ua } from "./radio-button-group-BnCPcmSN.mjs";
|
|
40
40
|
import { R as sa, a as ta, b as na, c as ia } from "./radio-card-group-DkaMcmen.mjs";
|
|
@@ -48,7 +48,7 @@ import { S as Pa, a as Aa, s as Oa } from "./spinner-DRQN6YdK.mjs";
|
|
|
48
48
|
import { S as Ga } from "./stepper-BfIbJwZn.mjs";
|
|
49
49
|
import { T as Da, c as Ma } from "./table-DvcpczWf.mjs";
|
|
50
50
|
import { T as La, c as Ha, t as _a } from "./tabs-CoXMAwMx.mjs";
|
|
51
|
-
import { R as Va, T as Ua } from "./text-area-
|
|
51
|
+
import { R as Va, T as Ua } from "./text-area-Cb9Hm2Z9.mjs";
|
|
52
52
|
import { T as wa, i as Xa } from "./text-field-PKAaXO1N.mjs";
|
|
53
53
|
import { E as qa, T as ja } from "./text-spacing-BU0mkEf9.mjs";
|
|
54
54
|
import { T as Ka } from "./toggle-Cezg5MUc.mjs";
|
|
@@ -58,8 +58,8 @@ import { purpurBorderRadiusFull as uo, purpurBorderRadiusLg as eo, purpurBorderR
|
|
|
58
58
|
import { b as bp, a as fp, f as hp, e as Np, d as Pp, g as Ap, p as Op, c as Rp } from "./variables-BSsIx39i.mjs";
|
|
59
59
|
import { bX as Ep, ci as Dp, ck as Mp, cj as Wp, c8 as Lp, c9 as Hp, c2 as _p, c4 as Fp, c7 as Vp, c3 as Up, c6 as zp, c5 as wp, ce as Xp, cf as Zp, bY as qp, b_ as jp, c1 as Qp, bZ as Kp, c0 as Yp, b$ as Jp, cg as $p, ch as ru, cc as au, cd as ou, ca as pu, cb as uu, bV as eu, bW as su, bR as tu, bS as nu, bT as iu, bU as lu, cy as cu, cz as Cu, cq as gu, cr as du, cs as Tu, cl as Bu, cm as vu, cw as Su, cx as mu, cn as xu, co as yu, cp as Iu, ct as ku, cu as bu, cv as fu, cA as hu, cD as Nu, cB as Pu, cC as Au, m as Ou, n as Ru, o as Gu, q as Eu, l as Du, r as Mu, s as Wu, t as Lu, u as Hu, v as _u, w as Fu, ar as Vu, as as Uu, at as zu, au as wu, aq as Xu, av as Zu, aw as qu, ax as ju, ay as Qu, az as Ku, aA as Yu, cR as Ju, cK as $u, cL as re, cO as ae, cQ as oe, cN as pe, cP as ue, cM as ee, cS as se, cT as te, cV as ne, cW as ie, cU as le, cE as ce, cF as Ce, cX as ge, cY as de, c_ as Te, c$ as Be, d0 as ve, cZ as Se, cG as me, cH as xe, cI as ye, cJ as Ie, b6 as ke, b3 as be, b5 as fe, b2 as he, b7 as Ne, b4 as Pe, b8 as Ae, b9 as Oe, a$ as Re, b1 as Ge, b0 as Ee, d2 as De, d3 as Me, d4 as We, d5 as Le, J as He, K as _e, L as Fe, M as Ve, N as Ue, I as ze, O as we, P as Xe, Q as Ze, R as qe, S as je, T as Qe, U as Ke, W as Ye, X as Je, Y as $e, Z as rs, V as as, _ as os, $ as ps, a0 as us, a1 as es, a2 as ss, a3 as ts, ag as ns, ah as is, ai as ls, aj as cs, af as Cs, ak as gs, al as ds, am as Ts, an as Bs, ao as vs, ap as Ss, d1 as ms, a as xs, b as ys, c as Is, d as ks, p as bs, e as fs, f as hs, g as Ns, h as Ps, i as As, j as Os, k as Rs, a5 as Gs, a6 as Es, a7 as Ds, a8 as Ms, a4 as Ws, a9 as Ls, aa as Hs, ab as _s, ac as Fs, ad as Vs, ae as Us, y as zs, z as ws, A as Xs, B as Zs, x as qs, C as js, D as Qs, E as Ks, F as Ys, G as Js, H as $s, ba as rt, bd as at, bu as ot, bo as pt, bs as ut, bt as et, bq as st, br as tt, bp as nt, bj as it, bk as lt, bg as ct, bi as Ct, bn as gt, bh as dt, bm as Tt, bl as Bt, bv as vt, bb as St, be as mt, bM as xt, bN as yt, bw as It, bz as kt, bA as bt, bx as ft, by as ht, bJ as Nt, bI as Pt, bK as At, bL as Ot, bD as Rt, bE as Gt, bB as Et, bC as Dt, bG as Mt, bH as Wt, bF as Lt, bO as Ht, bP as _t, bQ as Ft, bc as Vt, bf as Ut, aC as zt, aD as wt, aE as Xt, aF as Zt, aG as qt, aB as jt, aH as Qt, aI as Kt, aJ as Yt, aK as Jt, aL as $t, aM as rn, aN as an, aP as on, aQ as pn, aR as un, aS as en, aT as sn, aO as tn, aU as nn, aV as ln, aW as cn, aX as Cn, aY as gn, aZ as dn, a_ as Tn } from "./variables-91UvS2rU.mjs";
|
|
60
60
|
import { p as vn, a as Sn, f as mn, b as xn, g as yn, c as In, d as kn, e as bn, h as fn, j as hn, i as Nn } from "./variables-BUfnQw6H.mjs";
|
|
61
|
-
import { T as An, t as On, a as Rn, u as Gn } from "./ThemeProvider-
|
|
62
|
-
import { u as Dn } from "./useColorScheme-
|
|
61
|
+
import { T as An, t as On, a as Rn, u as Gn } from "./ThemeProvider-CrjMv3M8.mjs";
|
|
62
|
+
import { u as Dn } from "./useColorScheme-DRQcbSog.mjs";
|
|
63
63
|
import { a as Wn, b as Ln, c as Hn, d as _n, e as Fn, f as Vn, g as Un, h as zn, i as wn, j as Xn, k as Zn, l as qn, m as jn, n as Qn, o as Kn, p as Yn, q as Jn, r as $n, s as ri, t as ai, u as oi, v as pi, w as ui, x as ei, y as si, z as ti, A as ni, B as ii, C as li, D as ci, E as Ci, F as gi, G as di, H as Ti, I as Bi, J as vi, K as Si, L as mi, M as xi, N as yi, O as Ii, P as ki, Q as bi, R as fi, S as hi, T as Ni, U as Pi, V as Ai, W as Oi, X as Ri, Y as Gi, Z as Ei, _ as Di, $ as Mi, a0 as Wi, a1 as Li, a2 as Hi, a3 as _i, a4 as Fi, a5 as Vi, a6 as Ui, a7 as zi, a8 as wi, a9 as Xi, aa as Zi, ab as qi, ac as ji, ad as Qi, ae as Ki, af as Yi, ag as Ji, ah as $i, ai as rl, aj as al, ak as ol, al as pl, am as ul, an as el, ao as sl, ap as tl, aq as nl, ar as il, as as ll, at as cl, au as Cl, av as gl, aw as dl, ax as Tl, ay as Bl, az as vl, aA as Sl, aB as ml, aC as xl, aD as yl } from "./zh-TW-oiRD71xW.mjs";
|
|
64
64
|
import { e as kl } from "./format-DpkYPs7O.mjs";
|
|
65
65
|
export {
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";const r=require("react/jsx-runtime"),D=require("react"),I=require("./badge-CQ0SS_t8.js"),L=require("./card-B512KHpr.js"),Z=require("./heading-DLCdW6gx.js"),$=require("./paragraph-BsI53OR0.js"),b=require("./ThemeProvider-ipAIFRUi.js"),R=require("./bind-DeUYJ6m9.js"),q={"purpur-promotion-card":"_purpur-promotion-card_1gsgm_1","purpur-promotion-card__inner":"_purpur-promotion-card__inner_1gsgm_9","purpur-promotion-card__inner--without-image":"_purpur-promotion-card__inner--without-image_1gsgm_12","purpur-promotion-card__content":"_purpur-promotion-card__content_1gsgm_12","purpur-promotion-card__inner--with-image":"_purpur-promotion-card__inner--with-image_1gsgm_37","purpur-promotion-card__inner--media-position-left":"_purpur-promotion-card__inner--media-position-left_1gsgm_50","purpur-promotion-card__actions":"_purpur-promotion-card__actions_1gsgm_54","purpur-promotion-card__content--without-image":"_purpur-promotion-card__content--without-image_1gsgm_76","purpur-promotion-card__main-content":"_purpur-promotion-card__main-content_1gsgm_79","purpur-promotion-card__heading":"_purpur-promotion-card__heading_1gsgm_84","purpur-promotion-card__content--with-image":"_purpur-promotion-card__content--with-image_1gsgm_89","purpur-promotion-card__badge-wrapper":"_purpur-promotion-card__badge-wrapper_1gsgm_100","purpur-promotion-card__body":"_purpur-promotion-card__body_1gsgm_104","purpur-promotion-card__main-content--space-between":"_purpur-promotion-card__main-content--space-between_1gsgm_115","purpur-promotion-card__main-content--flex-end":"_purpur-promotion-card__main-content--flex-end_1gsgm_118","purpur-promotion-card__child-content":"_purpur-promotion-card__child-content_1gsgm_138","purpur-promotion-card__additional-text":"_purpur-promotion-card__additional-text_1gsgm_141","purpur-promotion-card__image-wrapper":"_purpur-promotion-card__image-wrapper_1gsgm_144","purpur-promotion-card__image-wrapper--decorative":"_purpur-promotion-card__image-wrapper--decorative_1gsgm_147","purpur-promotion-card__image-wrapper--product":"_purpur-promotion-card__image-wrapper--product_1gsgm_148"},P=["primary","secondary","quaternary"],j={primary:"var(--purpur-color-background-tone-on-tone-primary)",secondary:"var(--purpur-color-background-tone-on-tone-secondary)",quaternary:"var(--purpur-color-background-tone-on-tone-quaternary)"},p={primary:`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="2000" height="1125" viewBox="0 0 2000 1125" fill="none"><g clip-path="url(%23clip0_20_36)"><rect width="2000" height="1125" fill="url(%23paint0_linear_20_36)"/><g filter="url(%23filter0_d_20_36)"><path d="M480.784 -336.718L483.018 -338.805C2086.53 -1722.59 2447.86 284.242 2322.13 1089.91C2196.4 1895.57 1114.05 1663.85 598.008 1169.98C188.829 778.383 94.9071 433.168 84.5809 306.459C63.8953 52.6354 248.918 -120.167 480.784 -336.718Z" fill="%23F5E5FF"/></g><g filter="url(%23filter1_d_20_36)"><path d="M478.235 -337.757L480.469 -339.844C2083.98 -1723.63 2445.31 283.203 2319.58 1088.87C2193.85 1894.53 1111.5 1662.81 595.459 1168.95C186.28 777.344 91.9004 426.514 82.0318 305.42C61.3463 51.5961 246.369 -121.206 478.235 -337.757Z" fill="url(%23paint1_linear_20_36)"/></g><path d="M478.351 -359.804L480.585 -361.891C2084.1 -1745.68 2445.43 261.156 2319.7 1066.82C2193.96 1872.48 1111.61 1640.77 595.575 1146.9C186.396 755.297 91.9029 403.076 82.1476 283.373C61.4621 29.5494 246.485 -143.253 478.351 -359.804Z" fill="url(%23paint2_linear_20_36)" stroke="url(%23paint3_linear_20_36)" stroke-width="0.488281"/><g filter="url(%23filter2_d_20_36)"><path d="M895.095 -81.1636L897.087 -83.483C2339.2 -1634.76 2918.4 320.353 2881.77 1134.95C2845.14 1949.54 1743.91 1837.9 1176.83 1403.6C727.176 1059.23 595.967 726.393 571.809 601.58C523.415 351.555 688.373 159.507 895.095 -81.1636Z" fill="%23F5E5FF"/></g><g filter="url(%23filter3_d_20_36)"><path d="M892.877 -81.1463L894.869 -83.4656C2336.98 -1634.74 2916.18 320.371 2879.55 1134.96C2842.92 1949.56 1741.69 1837.92 1174.61 1403.62C724.958 1059.24 592.678 720.879 569.59 601.597C521.196 351.573 686.155 159.524 892.877 -81.1463Z" fill="url(%23paint4_linear_20_36)"/></g><path d="M899.248 -92.3297L901.24 -94.6491C2343.35 -1645.93 2922.56 309.187 2885.93 1123.78C2849.3 1938.37 1748.06 1826.74 1180.98 1392.43C731.329 1048.06 598.784 708.325 575.961 590.414C527.568 340.389 692.526 148.341 899.248 -92.3297Z" fill="url(%23paint5_linear_20_36)" stroke="url(%23paint6_linear_20_36)" stroke-width="0.488281"/></g><defs><filter id="filter0_d_20_36" x="67" y="-812.852" width="2294.05" height="2463.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0588235 0 0 0 0 0 0 0 0 0 0.129412 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_20_36"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_20_36" result="shape"/></filter><filter id="filter1_d_20_36" x="-69.5491" y="-947.891" width="2562.05" height="2731.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="75"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0588235 0 0 0 0 0 0 0 0 0 0.129412 0 0 0 0.6 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_20_36"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_20_36" result="shape"/></filter><filter id="filter2_d_20_36" x="547.307" y="-664.639" width="2352.09" height="2436.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0588235 0 0 0 0 0 0 0 0 0 0.129412 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_20_36"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_20_36" result="shape"/></filter><filter id="filter3_d_20_36" x="361.088" y="-864.621" width="2720.09" height="2804.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset/><feGaussianBlur stdDeviation="100"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0588235 0 0 0 0 0 0 0 0 0 0.129412 0 0 0 0.65 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_20_36"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_20_36" result="shape"/></filter><linearGradient id="paint0_linear_20_36" x1="48.3398" y1="4.80196e-07" x2="58.1053" y2="1125" gradientUnits="userSpaceOnUse"><stop stop-color="%23340249"/><stop offset="0.576094" stop-color="%23300244"/><stop offset="1" stop-color="%232D0241"/></linearGradient><linearGradient id="paint1_linear_20_36" x1="80.5668" y1="233.643" x2="606.544" y2="1094.45" gradientUnits="userSpaceOnUse"><stop stop-color="%2359006E"/><stop offset="0.265" stop-color="%2347005E"/><stop offset="0.385" stop-color="%2339004E"/><stop offset="0.720829" stop-color="%23210034"/><stop offset="1" stop-color="%23150026"/></linearGradient><linearGradient id="paint2_linear_20_36" x1="138.672" y1="41.2598" x2="702.488" y2="1106.9" gradientUnits="userSpaceOnUse"><stop stop-color="%2335004A"/><stop offset="0.19574" stop-color="%23320046"/><stop offset="1" stop-color="%2328003B"/></linearGradient><linearGradient id="paint3_linear_20_36" x1="133.5" y1="60.5" x2="546" y2="1048" gradientUnits="userSpaceOnUse"><stop stop-color="%23AC3CAF"/><stop offset="0.506509" stop-color="%234A006B"/><stop offset="1" stop-color="%232B003F"/></linearGradient><linearGradient id="paint4_linear_20_36" x1="560.263" y1="530.414" x2="910.742" y2="1118.56" gradientUnits="userSpaceOnUse"><stop stop-color="%234F0065"/><stop offset="0.340552" stop-color="%2339004E"/><stop offset="0.616738" stop-color="%23230036"/><stop offset="1" stop-color="%23150026"/></linearGradient><linearGradient id="paint5_linear_20_36" x1="781.494" y1="72.6501" x2="2048.67" y2="1066.94" gradientUnits="userSpaceOnUse"><stop stop-color="%232F0044"/><stop offset="0.51248" stop-color="%2328003B"/><stop offset="1" stop-color="%23240037"/></linearGradient><linearGradient id="paint6_linear_20_36" x1="820.5" y1="32.5001" x2="906.975" y2="1110.35" gradientUnits="userSpaceOnUse"><stop stop-color="%238A1994"/><stop offset="0.425" stop-color="%237A1387"/><stop offset="1" stop-color="%2327003A"/></linearGradient><clipPath id="clip0_20_36"><rect width="2000" height="1125" fill="white"/></clipPath></defs></svg>')`,secondary:`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="2000" height="1125" viewBox="0 0 2000 1125" fill="none"><g clip-path="url(%23clip0_13_40)"><rect width="2000" height="1125" fill="url(%23paint0_linear_13_40)"/><rect x="-226.435" y="213.022" width="435.932" height="216.966" transform="rotate(-66.9915 -226.435 213.022)" fill="url(%23paint1_linear_13_40)"/><g filter="url(%23filter0_d_13_40)"><path d="M480.784 -336.718L483.018 -338.805C2086.53 -1722.59 2447.86 284.242 2322.13 1089.91C2196.4 1895.57 1114.05 1663.85 598.008 1169.98C188.829 778.383 94.9071 433.168 84.5809 306.459C63.8953 52.6354 248.918 -120.167 480.784 -336.718Z" fill="%23F5E5FF"/></g><g filter="url(%23filter1_d_13_40)"><path d="M478.235 -337.757L480.469 -339.844C2083.98 -1723.63 2445.31 283.203 2319.58 1088.87C2193.85 1894.53 1111.5 1662.81 595.459 1168.95C186.279 777.344 91.9002 426.514 82.0316 305.42C61.346 51.5961 246.369 -121.206 478.235 -337.757Z" fill="url(%23paint2_linear_13_40)"/></g><path d="M478.35 -359.804L480.585 -361.891C2084.1 -1745.68 2445.43 261.156 2319.7 1066.82C2193.96 1872.48 1111.61 1640.77 595.575 1146.9C186.395 755.297 91.9025 403.076 82.1473 283.373C61.4618 29.5494 246.484 -143.253 478.35 -359.804Z" fill="url(%23paint3_linear_13_40)" stroke="url(%23paint4_linear_13_40)" stroke-width="0.488281"/><g filter="url(%23filter2_d_13_40)"><path d="M895.095 -81.1636L897.087 -83.483C2339.2 -1634.76 2918.4 320.353 2881.77 1134.95C2845.14 1949.54 1743.91 1837.9 1176.83 1403.6C727.176 1059.23 595.967 726.393 571.809 601.58C523.415 351.555 688.373 159.507 895.095 -81.1636Z" fill="%23F5E5FF"/></g><g filter="url(%23filter3_d_13_40)"><path d="M892.877 -81.1463L894.869 -83.4656C2336.98 -1634.74 2916.18 320.371 2879.55 1134.96C2842.92 1949.56 1741.69 1837.92 1174.61 1403.62C724.958 1059.24 592.678 720.879 569.59 601.597C521.196 351.573 686.155 159.524 892.877 -81.1463Z" fill="url(%23paint5_linear_13_40)"/></g><path d="M899.248 -92.3297L901.24 -94.6491C2343.35 -1645.93 2922.56 309.187 2885.93 1123.78C2849.3 1938.37 1748.06 1826.74 1180.98 1392.43C731.329 1048.06 598.784 708.325 575.961 590.414C527.568 340.389 692.526 148.341 899.248 -92.3297Z" fill="url(%23paint6_linear_13_40)" stroke="url(%23paint7_linear_13_40)" stroke-width="0.488281"/></g><defs><filter id="filter0_d_13_40" x="67" y="-812.852" width="2294.05" height="2463.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.605849 0 0 0 0 0.52 0 0 0 0 0.65 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_13_40"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_13_40" result="shape"/></filter><filter id="filter1_d_13_40" x="20.4507" y="-841.891" width="2382.05" height="2551.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="32"/><feGaussianBlur stdDeviation="30"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.628679 0 0 0 0 0.49 0 0 0 0 0.7 0 0 0 0.5 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_13_40"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_13_40" result="shape"/></filter><filter id="filter2_d_13_40" x="547.307" y="-664.639" width="2352.09" height="2436.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.594811 0 0 0 0 0.4875 0 0 0 0 0.65 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_13_40"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_13_40" result="shape"/></filter><filter id="filter3_d_13_40" x="381.088" y="-820.621" width="2680.09" height="2764.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="24"/><feGaussianBlur stdDeviation="90"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.61425 0 0 0 0 0.455 0 0 0 0 0.7 0 0 0 0.62 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_13_40"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_13_40" result="shape"/></filter><linearGradient id="paint0_linear_13_40" x1="48.3398" y1="4.80196e-07" x2="58.1053" y2="1125" gradientUnits="userSpaceOnUse"><stop stop-color="%23F6E6FF"/><stop offset="0.465" stop-color="%23F5E2FF"/><stop offset="1" stop-color="%23F2DCFE"/></linearGradient><linearGradient id="paint1_linear_13_40" x1="-8.46836" y1="213.022" x2="-8.46836" y2="429.988" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="%23FFFEFD"/><stop offset="1" stop-color="white" stop-opacity="0"/></linearGradient><linearGradient id="paint2_linear_13_40" x1="80.5666" y1="233.643" x2="606.544" y2="1094.45" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.265" stop-color="white"/><stop offset="0.385" stop-color="%23F7EAFF"/><stop offset="0.720829" stop-color="%23D3BCDF"/><stop offset="1" stop-color="%23AA91B7"/></linearGradient><linearGradient id="paint3_linear_13_40" x1="138.672" y1="41.2598" x2="702.487" y2="1106.9" gradientUnits="userSpaceOnUse"><stop stop-color="%23F7E9FF"/><stop offset="0.19574" stop-color="%23F6E7FF"/><stop offset="1" stop-color="%23EBD5F6"/></linearGradient><linearGradient id="paint4_linear_13_40" x1="163.5" y1="527.148" x2="390.5" y2="902.648" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="white"/><stop offset="1" stop-color="%23F1DBFC"/></linearGradient><linearGradient id="paint5_linear_13_40" x1="560.263" y1="530.414" x2="910.742" y2="1118.56" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.340552" stop-color="%23F7E9FF"/><stop offset="0.616738" stop-color="%23E1CBED"/><stop offset="1" stop-color="%23AB92B8"/></linearGradient><linearGradient id="paint6_linear_13_40" x1="781.494" y1="72.6501" x2="2048.67" y2="1066.94" gradientUnits="userSpaceOnUse"><stop stop-color="%23F5E3FF"/><stop offset="0.51248" stop-color="%23EBD5F7"/><stop offset="1" stop-color="%23E0C9EB"/></linearGradient><linearGradient id="paint7_linear_13_40" x1="580.804" y1="451.174" x2="906.975" y2="1110.35" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="white"/><stop offset="1" stop-color="%23E5DBD5"/></linearGradient><clipPath id="clip0_13_40"><rect width="2000" height="1125" fill="white"/></clipPath></defs></svg>')`,quaternary:`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="2000" height="1125" viewBox="0 0 2000 1125" fill="none"><g clip-path="url(%23clip0_16_50)"><rect width="2000" height="1125" fill="url(%23paint0_linear_16_50)"/><rect x="-145.375" y="247.444" width="435.932" height="128.9" transform="rotate(-66.9915 -145.375 247.444)" fill="url(%23paint1_linear_16_50)"/><g filter="url(%23filter0_d_16_50)"><path d="M480.784 -336.718L483.018 -338.805C2086.53 -1722.59 2447.86 284.242 2322.13 1089.91C2196.4 1895.57 1114.05 1663.85 598.008 1169.98C188.829 778.383 94.9071 433.168 84.5809 306.459C63.8953 52.6354 248.918 -120.167 480.784 -336.718Z" fill="%23EFE5DF"/></g><g filter="url(%23filter1_d_16_50)"><path d="M478.235 -337.757L480.469 -339.844C2083.98 -1723.63 2445.31 283.203 2319.58 1088.87C2193.85 1894.53 1111.5 1662.81 595.459 1168.95C186.279 777.344 91.9002 426.514 82.0316 305.42C61.346 51.5961 246.369 -121.206 478.235 -337.757Z" fill="url(%23paint2_linear_16_50)"/></g><path d="M478.35 -359.804L480.585 -361.891C2084.1 -1745.68 2445.43 261.156 2319.7 1066.82C2193.96 1872.48 1111.61 1640.77 595.575 1146.9C186.395 755.297 91.9025 403.076 82.1473 283.373C61.4618 29.5494 246.484 -143.253 478.35 -359.804Z" fill="url(%23paint3_linear_16_50)" stroke="url(%23paint4_linear_16_50)" stroke-width="0.488281"/><g filter="url(%23filter2_d_16_50)"><path d="M895.095 -81.1636L897.087 -83.483C2339.2 -1634.76 2918.4 320.353 2881.77 1134.95C2845.14 1949.54 1743.91 1837.9 1176.83 1403.6C727.176 1059.23 595.967 726.393 571.809 601.58C523.415 351.555 688.373 159.507 895.095 -81.1636Z" fill="%23EFE5DF"/></g><g filter="url(%23filter3_d_16_50)"><path d="M892.877 -81.1463L894.869 -83.4656C2336.98 -1634.74 2916.18 320.371 2879.55 1134.96C2842.92 1949.56 1741.69 1837.92 1174.61 1403.62C724.958 1059.24 592.677 720.879 569.59 601.597C521.196 351.573 686.155 159.524 892.877 -81.1463Z" fill="url(%23paint5_linear_16_50)"/></g><path d="M899.248 -92.3297L901.24 -94.6491C2343.35 -1645.93 2922.56 309.187 2885.93 1123.78C2849.3 1938.37 1748.06 1826.74 1180.98 1392.43C731.329 1048.06 598.784 708.325 575.961 590.414C527.568 340.389 692.526 148.341 899.248 -92.3297Z" fill="url(%23paint6_linear_16_50)" stroke="url(%23paint7_linear_16_50)" stroke-width="0.488281"/></g><defs><filter id="filter0_d_16_50" x="67" y="-812.852" width="2294.05" height="2463.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.607843 0 0 0 0 0.568627 0 0 0 0 0.545098 0 0 0 0.9 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_16_50"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_16_50" result="shape"/></filter><filter id="filter1_d_16_50" x="0.450684" y="-861.891" width="2422.05" height="2591.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="32"/><feGaussianBlur stdDeviation="40"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.607843 0 0 0 0 0.568627 0 0 0 0 0.545098 0 0 0 0.5 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_16_50"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_16_50" result="shape"/></filter><filter id="filter2_d_16_50" x="547.307" y="-664.639" width="2352.09" height="2436.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.607843 0 0 0 0 0.568627 0 0 0 0 0.545098 0 0 0 0.9 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_16_50"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_16_50" result="shape"/></filter><filter id="filter3_d_16_50" x="381.088" y="-844.621" width="2680.09" height="2764.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset/><feGaussianBlur stdDeviation="90"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.607843 0 0 0 0 0.568627 0 0 0 0 0.545098 0 0 0 0.55 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_16_50"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_16_50" result="shape"/></filter><linearGradient id="paint0_linear_16_50" x1="48.3398" y1="4.80196e-07" x2="58.1053" y2="1125" gradientUnits="userSpaceOnUse"><stop stop-color="%23FDF3EE"/><stop offset="0.625484" stop-color="%23F8EEE8"/><stop offset="1" stop-color="%23F0E5DF"/><stop offset="1" stop-color="%23F0E5E0"/></linearGradient><linearGradient id="paint1_linear_16_50" x1="72.5912" y1="247.444" x2="72.5912" y2="376.344" gradientUnits="userSpaceOnUse"><stop stop-color="%23FFFEFD"/><stop offset="0.0001" stop-color="%23FFFEFD"/><stop offset="1" stop-color="%23FFFDFD" stop-opacity="0"/></linearGradient><linearGradient id="paint2_linear_16_50" x1="80.5666" y1="233.643" x2="606.544" y2="1094.45" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.265" stop-color="white"/><stop offset="0.385" stop-color="%23F5ECE6"/><stop offset="0.720829" stop-color="%23CFC4BE"/><stop offset="1" stop-color="%23C9BDB6"/></linearGradient><linearGradient id="paint3_linear_16_50" x1="138.672" y1="41.2598" x2="702.487" y2="1106.9" gradientUnits="userSpaceOnUse"><stop stop-color="%23FFFAF8"/><stop offset="0.19574" stop-color="%23FEF5EF"/><stop offset="1" stop-color="%23E8DED8"/></linearGradient><linearGradient id="paint4_linear_16_50" x1="163.5" y1="527.148" x2="390.5" y2="902.648" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="white"/><stop offset="1" stop-color="%23E5DBD5"/></linearGradient><linearGradient id="paint5_linear_16_50" x1="560.263" y1="530.414" x2="910.742" y2="1118.56" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.340552" stop-color="%23FCF2EC"/><stop offset="0.616738" stop-color="%23D8CEC8"/><stop offset="1" stop-color="%23ACA19C"/></linearGradient><linearGradient id="paint6_linear_16_50" x1="781.494" y1="72.6501" x2="2048.67" y2="1066.94" gradientUnits="userSpaceOnUse"><stop stop-color="%23F8EEE8"/><stop offset="0.51248" stop-color="%23E8DED8"/><stop offset="1" stop-color="%23DDD3CE"/></linearGradient><linearGradient id="paint7_linear_16_50" x1="580.804" y1="451.174" x2="906.975" y2="1110.35" gradientUnits="userSpaceOnUse"><stop stop-color="white"/><stop offset="0.0001" stop-color="white"/><stop offset="1" stop-color="%23E5DBD5"/></linearGradient><clipPath id="clip0_16_50"><rect width="2000" height="1125" fill="white"/></clipPath></defs></svg>')`},N={primary:p.secondary,secondary:p.primary,quaternary:`url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="2000" height="1125" viewBox="0 0 2000 1125" fill="none"><g clip-path="url(%23clip0_24984_14652)"><rect width="2000" height="1125" fill="url(%23paint0_linear_24984_14652)"/><g filter="url(%23filter0_d_24984_14652)"><path d="M480.784 -336.718L483.018 -338.805C2086.53 -1722.59 2447.86 284.242 2322.13 1089.91C2196.4 1895.57 1114.05 1663.85 598.008 1169.98C188.829 778.383 94.9071 433.168 84.5808 306.459C63.8953 52.6354 248.918 -120.167 480.784 -336.718Z" fill="%23FFF0E5"/></g><g filter="url(%23filter1_d_24984_14652)"><path d="M478.235 -337.757L480.469 -339.844C2083.98 -1723.63 2445.31 283.203 2319.58 1088.87C2193.85 1894.53 1111.5 1662.81 595.459 1168.95C186.28 777.344 91.9004 426.514 82.0318 305.42C61.3462 51.596 246.369 -121.206 478.235 -337.757Z" fill="url(%23paint1_linear_24984_14652)"/></g><path d="M478.351 -359.804L480.585 -361.891C2084.1 -1745.68 2445.43 261.156 2319.7 1066.82C2193.96 1872.48 1111.61 1640.77 595.575 1146.9C186.396 755.297 91.9029 403.076 82.1476 283.373C61.4621 29.5494 246.485 -143.253 478.351 -359.804Z" fill="url(%23paint2_linear_24984_14652)" stroke="url(%23paint3_linear_24984_14652)" stroke-width="0.488281"/><g filter="url(%23filter2_d_24984_14652)"><path d="M895.095 -81.1636L897.087 -83.483C2339.19 -1634.76 2918.4 320.353 2881.77 1134.95C2845.14 1949.54 1743.91 1837.9 1176.83 1403.6C727.176 1059.23 595.967 726.393 571.808 601.58C523.415 351.555 688.373 159.507 895.095 -81.1636Z" fill="%23FFF0E5"/></g><g filter="url(%23filter3_d_24984_14652)"><path d="M892.877 -81.1462L894.869 -83.4656C2336.98 -1634.74 2916.18 320.371 2879.55 1134.96C2842.92 1949.56 1741.69 1837.92 1174.61 1403.62C724.958 1059.24 592.677 720.879 569.59 601.598C521.196 351.573 686.155 159.524 892.877 -81.1462Z" fill="url(%23paint4_linear_24984_14652)"/></g><path d="M899.248 -92.33L901.24 -94.6492C2343.35 -1645.93 2922.56 309.187 2885.93 1123.78C2849.3 1938.37 1748.06 1826.74 1180.98 1392.43C731.329 1048.06 598.784 708.325 575.961 590.414C527.568 340.389 692.526 148.34 899.248 -92.33Z" fill="url(%23paint5_linear_24984_14652)" stroke="url(%23paint6_linear_24984_14652)" stroke-width="0.488281"/></g><defs><filter id="filter0_d_24984_14652" x="67" y="-812.852" width="2294.05" height="2463.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0750588 0 0 0 0 0.0633255 0 0 0 0 0.0543529 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_24984_14652"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_24984_14652" result="shape"/></filter><filter id="filter1_d_24984_14652" x="-69.5491" y="-947.891" width="2562.05" height="2731.76" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="75"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0750588 0 0 0 0 0.0633255 0 0 0 0 0.0543529 0 0 0 0.6 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_24984_14652"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_24984_14652" result="shape"/></filter><filter id="filter2_d_24984_14652" x="547.307" y="-664.639" width="2352.09" height="2436.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset dy="16"/><feGaussianBlur stdDeviation="8"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0750588 0 0 0 0 0.0633255 0 0 0 0 0.0543529 0 0 0 0.95 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_24984_14652"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_24984_14652" result="shape"/></filter><filter id="filter3_d_24984_14652" x="361.088" y="-864.621" width="2720.09" height="2804.12" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/><feOffset/><feGaussianBlur stdDeviation="100"/><feComposite in2="hardAlpha" operator="out"/><feColorMatrix type="matrix" values="0 0 0 0 0.0750588 0 0 0 0 0.0633255 0 0 0 0 0.0543529 0 0 0 0.65 0"/><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_24984_14652"/><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_24984_14652" result="shape"/></filter><linearGradient id="paint0_linear_24984_14652" x1="48.3398" y1="4.80196e-07" x2="58.1053" y2="1125" gradientUnits="userSpaceOnUse"><stop stop-color="%232C2520"/><stop offset="0.576094" stop-color="%2329221D"/><stop offset="1" stop-color="%2327211C"/></linearGradient><linearGradient id="paint1_linear_24984_14652" x1="80.5668" y1="233.643" x2="606.544" y2="1094.45" gradientUnits="userSpaceOnUse"><stop stop-color="%2340362E"/><stop offset="0.265" stop-color="%23372E27"/><stop offset="0.385" stop-color="%232D2621"/><stop offset="0.720829" stop-color="%231E1916"/><stop offset="1" stop-color="%23161310"/></linearGradient><linearGradient id="paint2_linear_24984_14652" x1="138.672" y1="41.2598" x2="702.488" y2="1106.9" gradientUnits="userSpaceOnUse"><stop stop-color="%232F2822"/><stop offset="0.19574" stop-color="%232C2520"/><stop offset="1" stop-color="%23221D19"/></linearGradient><linearGradient id="paint3_linear_24984_14652" x1="133.5" y1="60.5" x2="546" y2="1048" gradientUnits="userSpaceOnUse"><stop stop-color="%23887363"/><stop offset="0.506509" stop-color="%233E342D"/><stop offset="1" stop-color="%23251F1A"/></linearGradient><linearGradient id="paint4_linear_24984_14652" x1="560.263" y1="530.414" x2="910.742" y2="1118.56" gradientUnits="userSpaceOnUse"><stop stop-color="%233B312A"/><stop offset="0.340552" stop-color="%232D2621"/><stop offset="0.616738" stop-color="%231F1A17"/><stop offset="1" stop-color="%23161310"/></linearGradient><linearGradient id="paint5_linear_24984_14652" x1="781.493" y1="72.65" x2="2048.67" y2="1066.94" gradientUnits="userSpaceOnUse"><stop stop-color="%232F2822"/><stop offset="0.51248" stop-color="%2326201C"/><stop offset="1" stop-color="%23201B17"/></linearGradient><linearGradient id="paint6_linear_24984_14652" x1="820.5" y1="32.5" x2="906.975" y2="1110.35" gradientUnits="userSpaceOnUse"><stop stop-color="%23645549"/><stop offset="0.425" stop-color="%23594B41"/><stop offset="1" stop-color="%23221C18"/></linearGradient><clipPath id="clip0_24984_14652"><rect width="2000" height="1125" fill="white"/></clipPath></defs></svg>')`},H={primary:"var(--purpur-color-text-tone-on-tone-primary)",secondary:"var(--purpur-color-text-tone-on-tone-secondary)",quaternary:"var(--purpur-color-text-tone-on-tone-tertiary)"},t=R.c.bind(q),e="purpur-promotion-card",h=D.forwardRef(({["data-testid"]:m,variant:a="primary",badgeText:d,badgeIcon:f,beforeTitle:g,title:x,mediaPosition:C="right",titleTag:y="h2",titleVariant:F="title-300",enableTitleHyphenation:w=!1,className:B,actions:_,children:S,style:G,alignment:U="space-between",additionalText:c,forceColorScheme:v,...i},A)=>{const{options:O,currentColorScheme:E}=b.useTheme(),u=v??O?.promotionCardColorScheme;let l=i,o;if("decorativeImage"in i){const{decorativeImage:n,...s}=i;o=n,l=s}else if("productImage"in i){const{productImage:n,...s}=i;o=n,l=s}const k=u??E,M={"--promotion-card-background":j[a],"--promotion-card-color":H[a],"--promotion-card-background-image":o?"none":k==="dark"?N[a]:p[a]};return r.jsx(L.Card,{"data-color-scheme":u,"data-testid":m,ref:A,fullHeight:!0,className:t(B,e,`${e}--${a}`),style:{...M,...G},...l,children:r.jsxs("div",{className:t(`${e}__inner`,{[`${e}__inner--with-image`]:o,[`${e}__inner--without-image`]:!o,[`${e}__inner--media-position-left`]:o&&C==="left"}),children:[r.jsxs("div",{className:t(`${e}__content`,{[`${e}__content--with-image`]:o,[`${e}__content--without-image`]:!o}),children:[d&&r.jsx("div",{"data-testid":"badgeWrapper",className:t(`${e}__badge-wrapper`),children:r.jsxs(I.Badge,{variant:a==="primary"?"special":"attention",showIcon:!1,children:[f&&f,d]})}),r.jsxs("div",{className:t(`${e}__main-content`,`${e}__main-content--${U}`),children:[g,r.jsx(Z.Heading,{tag:y,variant:F,enableHyphenation:w,className:t(`${e}__heading`),children:x}),r.jsxs("div",{className:t(`${e}__body`),children:[r.jsx("div",{className:t(`${e}__child-content`),children:S}),_&&r.jsx("div",{className:t(`${e}__actions`),children:_}),c&&r.jsx($.Paragraph,{negative:!0,variant:"additional-100",className:t(`${e}__additional-text`),children:c})]})]})]}),o&&r.jsx("div",{className:t(`${e}__image-wrapper`,{[`${e}__image-wrapper--product`]:"productImage"in i,[`${e}__image-wrapper--decorative`]:"decorativeImage"in i}),children:o})]})})});h.displayName="PromotionCard";exports.PromotionCard=h;exports.promotionCardVariants=P;
|
|
2
|
+
//# sourceMappingURL=promotion-card-C7B5ZJaB.js.map
|