@purpurds/theme 8.13.0 → 8.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
- Start time: Wed Jan 14 2026 08:05:15 GMT+0000 (Coordinated Universal Time)
2
- Invoking "/usr/bin/tar -x -m -f /opt/actions-runner/_work/teliasaurus/teliasaurus/purpur/common/temp/build-cache/ci_build/@purpurds/theme/f60f919270040b16b3a9c68f9b14cb81f9078e21"
1
+ Start time: Mon Jan 19 2026 11:21:11 GMT+0000 (Coordinated Universal Time)
2
+ Invoking "/usr/bin/tar -x -m -f /opt/actions-runner/_work/teliasaurus/teliasaurus/purpur/common/temp/build-cache/ci_build/@purpurds/theme/9ef0281d6ec82e8141e3631210afec78ffa59015"
3
3
 
4
4
  ======= BEGIN PROCESS INPUT ======
5
5
 
@@ -12,13 +12,13 @@ Rush Multi-Project Build Tool 5.150.0 - Node.js 22.17.1 (LTS)
12
12
  Generated types written to theme-props.ts
13
13
  vite v7.2.4 building client environment for production...
14
14
  transforming...
15
- 17 modules transformed.
15
+ 26 modules transformed.
16
16
  rendering chunks...
17
17
 
18
18
  [vite:dts] Start generate declaration files...
19
19
  computing gzip size...
20
- dist/theme.cjs.js 17.65 kB │ gzip: 3.72 kB │ map: 67.44 kB
21
- [vite:dts] Declaration files built in 2155ms.
20
+ dist/theme.cjs.js 15.59 kB │ gzip: 4.09 kB │ map: 90.33 kB
21
+ [vite:dts] Declaration files built in 2268ms.
22
22
 
23
- dist/theme.es.js 19.88 kB │ gzip: 3.96 kB │ map: 68.88 kB
24
- ✓ built in 2.56s
23
+ dist/theme.es.js 18.20 kB │ gzip: 4.37 kB │ map: 92.02 kB
24
+ ✓ built in 2.61s
@@ -12,13 +12,13 @@
12
12
  {"kind":"O","text":"Generated types written to theme-props.ts\n"}
13
13
  {"kind":"O","text":"\u001b[36mvite v7.2.4 \u001b[32mbuilding client environment for production...\u001b[36m\u001b[39m\n"}
14
14
  {"kind":"O","text":"transforming...\n"}
15
- {"kind":"O","text":"\u001b[32m✓\u001b[39m 17 modules transformed.\n"}
15
+ {"kind":"O","text":"\u001b[32m✓\u001b[39m 26 modules transformed.\n"}
16
16
  {"kind":"O","text":"rendering chunks...\n"}
17
17
  {"kind":"O","text":"\u001b[32m\n"}
18
18
  {"kind":"O","text":"\u001b[36m[vite:dts]\u001b[32m Start generate declaration files...\u001b[39m\n"}
19
19
  {"kind":"O","text":"computing gzip size...\n"}
20
- {"kind":"O","text":"\u001b[2mdist/\u001b[22m\u001b[36mtheme.cjs.js \u001b[39m\u001b[1m\u001b[2m17.65 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 3.72 kB\u001b[22m\u001b[2m │ map: 67.44 kB\u001b[22m\n"}
21
- {"kind":"O","text":"\u001b[32m\u001b[36m[vite:dts]\u001b[32m Declaration files built in 2155ms.\n"}
20
+ {"kind":"O","text":"\u001b[2mdist/\u001b[22m\u001b[36mtheme.cjs.js \u001b[39m\u001b[1m\u001b[2m15.59 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 4.09 kB\u001b[22m\u001b[2m │ map: 90.33 kB\u001b[22m\n"}
21
+ {"kind":"O","text":"\u001b[32m\u001b[36m[vite:dts]\u001b[32m Declaration files built in 2268ms.\n"}
22
22
  {"kind":"O","text":"\u001b[39m\n"}
23
- {"kind":"O","text":"\u001b[2mdist/\u001b[22m\u001b[36mtheme.es.js \u001b[39m\u001b[1m\u001b[2m19.88 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 3.96 kB\u001b[22m\u001b[2m │ map: 68.88 kB\u001b[22m\n"}
24
- {"kind":"O","text":"\u001b[32m✓ built in 2.56s\u001b[39m\n"}
23
+ {"kind":"O","text":"\u001b[2mdist/\u001b[22m\u001b[36mtheme.es.js \u001b[39m\u001b[1m\u001b[2m18.20 kB\u001b[22m\u001b[1m\u001b[22m\u001b[2m │ gzip: 4.37 kB\u001b[22m\u001b[2m │ map: 92.02 kB\u001b[22m\n"}
24
+ {"kind":"O","text":"\u001b[32m✓ built in 2.61s\u001b[39m\n"}
@@ -1,3 +1,3 @@
1
1
  {
2
- "nonCachedDurationMs": 6529.812917000001
2
+ "nonCachedDurationMs": 5890.111581000001
3
3
  }
@@ -1,3 +1,3 @@
1
1
  {
2
- "nonCachedDurationMs": 1196.4501289999998
2
+ "nonCachedDurationMs": 1143.923718
3
3
  }
package/dist/LICENSE.txt CHANGED
@@ -1,5 +1,5 @@
1
1
  Name: @purpurds/tokens
2
- Version: 8.12.2
2
+ Version: 8.14.0
3
3
  License: AGPL-3.0-only
4
4
  Private: false
5
5
 
@@ -1 +1 @@
1
- {"version":3,"file":"telia-dark.d.ts","sourceRoot":"","sources":["../src/telia-dark.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0IK,CAAC"}
1
+ {"version":3,"file":"telia-dark.d.ts","sourceRoot":"","sources":["../src/telia-dark.ts"],"names":[],"mappings":"AAmIA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkJK,CAAC"}
@@ -41,6 +41,7 @@ export type ThemeProps = {
41
41
  colorTextStatusSuccessStrong?: string;
42
42
  colorTextStatusSuccessStrongNegative?: string;
43
43
  colorTextStatusSuccessMedium?: string;
44
+ colorTextStatusSuccessMediumNegative?: string;
44
45
  colorTextStatusWarningStrong?: string;
45
46
  colorTextStatusWarningMedium?: string;
46
47
  colorTextStatusWarningMediumNegative?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"theme-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Module"});const d=require("react/jsx-runtime"),p=require("react"),C={colorBrandDeepPurple:"var(--purpur-color-purple-100)",colorBrandCorePurple:"var(--purpur-color-purple-400)",colorBrandLightPurple:"var(--purpur-color-purple-900)",colorBrandDeepBeige:"var(--purpur-color-beige-100)",colorBrandBeige:"var(--purpur-color-beige-700)",colorBrandLightBeige:"var(--purpur-color-beige-800)",colorBrandOffBlack:"var(--purpur-color-functional-white)",colorBrandWhite:"var(--purpur-color-gray-900)",colorTextDefault:"var(--purpur-color-transparent-white-950)",colorTextMedium:"var(--purpur-color-transparent-white-700)",colorTextWeak:"var(--purpur-color-transparent-white-400)",colorTextDefaultNegative:"var(--purpur-color-transparent-black-800)",colorTextMediumNegative:"var(--purpur-color-transparent-black-500)",colorTextWeakNegative:"var(--purpur-color-transparent-black-400)",colorTextInteractivePrimary:"var(--purpur-color-purple-100)",colorTextInteractivePrimaryHover:"var(--purpur-color-purple-200)",colorTextInteractivePrimaryActive:"var(--purpur-color-purple-300)",colorTextInteractiveOnPrimary:"var(--purpur-color-purple-800)",colorTextInteractiveOnExpressive:"var(--purpur-color-functional-white)",colorTextInteractiveOnExpressiveHover:"var(--purpur-color-purple-900)",colorTextInteractiveOnExpressiveActive:"var(--purpur-color-purple-900)",colorTextInteractiveOnDestructive:"var(--purpur-color-functional-white)",colorTextInteractiveSelected:"var(--purpur-color-purple-300)",colorTextInteractivePrimaryNegative:"var(--purpur-color-purple-700)",colorTextInteractivePrimaryHoverNegative:"var(--purpur-color-purple-800)",colorTextInteractivePrimaryActiveNegative:"var(--purpur-color-purple-900)",colorTextInteractiveOnPrimaryNegative:"var(--purpur-color-functional-white)",colorTextInteractiveOnExpressiveNegative:"var(--purpur-color-functional-white)",colorTextInteractiveOnExpressiveHoverNegative:"var(--purpur-color-functional-white)",colorTextInteractiveOnExpressiveActiveNegative:"var(--purpur-color-functional-white)",colorTextStatusInfoMedium:"var(--purpur-color-blue-400)",colorTextStatusInfoStrong:"var(--purpur-color-blue-200)",colorTextStatusSuccessMedium:"var(--purpur-color-green-400)",colorTextStatusSuccessStrong:"var(--purpur-color-green-200)",colorTextStatusWarningMedium:"var(--purpur-color-orange-300)",colorTextStatusWarningStrong:"var(--purpur-color-orange-200)",colorTextStatusErrorMedium:"var(--purpur-color-red-400)",colorTextStatusErrorStrong:"var(--purpur-color-red-200)",colorTextStatusNeutral:"var(--purpur-color-functional-white)",colorTextStatusSpecial:"var(--purpur-color-functional-white)",colorTextStatusAttention:"var(--purpur-color-purple-800)",colorTextStatusDiscount:"var(--purpur-color-purple-300)",colorTextStatusBlackFriday:"var(--purpur-color-gray-900)",colorTextStatusSuccessStrongNegative:"var(--purpur-color-green-700)",colorTextStatusErrorMediumNegative:"var(--purpur-color-red-500)",colorTextStatusErrorStrongNegative:"var(--purpur-color-red-700)",colorTextStatusWarningMediumNegative:"var(--purpur-color-orange-500)",colorTextToneOnTonePrimary:"var(--purpur-color-purple-900)",colorTextToneOnToneSecondary:"var(--purpur-color-purple-100)",colorTextToneOnToneTertiary:"var(--purpur-color-functional-white)",colorBackgroundPrimary:"var(--purpur-color-gray-950)",colorBackgroundSecondary:"var(--purpur-color-gray-900)",colorBackgroundOnImage:"var(--purpur-color-transparent-black-700)",colorBackgroundPrimaryNegative:"var(--purpur-color-functional-white)",colorBackgroundSecondaryNegative:"var(--purpur-color-gray-50)",colorBackgroundOnImageNegative:"var(--purpur-color-transparent-white-850)",colorBackgroundInteractivePrimary:"var(--purpur-color-purple-100)",colorBackgroundInteractivePrimaryHover:"var(--purpur-color-purple-200)",colorBackgroundInteractivePrimaryActive:"var(--purpur-color-purple-300)",colorBackgroundInteractiveExpressive:"var(--purpur-color-purple-550)",colorBackgroundInteractiveExpressiveHover:"var(--purpur-color-purple-400)",colorBackgroundInteractiveExpressiveActive:"var(--purpur-color-purple-300)",colorBackgroundInteractiveTransparentHover:"var(--purpur-color-purple-800)",colorBackgroundInteractiveTransparentActive:"var(--purpur-color-purple-700)",colorBackgroundInteractiveDisabled:"var(--purpur-color-transparent-white-100)",colorBackgroundInteractiveReadOnly:"var(--purpur-color-transparent-white-50)",colorBackgroundInteractiveInactive:"var(--purpur-color-transparent-white-150)",colorBackgroundInteractiveDestructive:"var(--purpur-color-red-500)",colorBackgroundInteractiveDestructiveHover:"var(--purpur-color-red-600)",colorBackgroundInteractiveDestructiveActive:"var(--purpur-color-red-700)",colorBackgroundInteractiveAutoFill:"var(--purpur-color-blue-800)",colorBackgroundInteractivePrimaryNegative:"var(--purpur-color-purple-800)",colorBackgroundInteractivePrimaryHoverNegative:"var(--purpur-color-purple-700)",colorBackgroundInteractivePrimaryActiveNegative:"var(--purpur-color-purple-600)",colorBackgroundInteractiveExpressiveNegative:"var(--purpur-color-purple-550)",colorBackgroundInteractiveExpressiveHoverNegative:"var(--purpur-color-purple-700)",colorBackgroundInteractiveExpressiveActiveNegative:"var(--purpur-color-purple-800)",colorBackgroundInteractiveTransparentHoverNegative:"var(--purpur-color-purple-200)",colorBackgroundInteractiveTransparentActiveNegative:"var(--purpur-color-purple-300)",colorBackgroundInteractiveDisabledNegative:"var(--purpur-color-transparent-black-100)",colorBackgroundInteractiveInactiveNegative:"var(--purpur-color-transparent-black-50)",colorBackgroundInteractiveReadOnlyNegative:"var(--purpur-color-transparent-black-50)",colorBackgroundStatusInfoMedium:"var(--purpur-color-blue-800)",colorBackgroundStatusInfoStrong:"var(--purpur-color-blue-300)",colorBackgroundStatusSuccessMedium:"var(--purpur-color-green-800)",colorBackgroundStatusSuccessStrong:"var(--purpur-color-green-300)",colorBackgroundStatusWarningMedium:"var(--purpur-color-orange-800)",colorBackgroundStatusWarningStrong:"var(--purpur-color-orange-300)",colorBackgroundStatusErrorMedium:"var(--purpur-color-red-800)",colorBackgroundStatusErrorStrong:"var(--purpur-color-red-300)",colorBackgroundStatusNeutral:"var(--purpur-color-gray-800)",colorBackgroundStatusSpecial:"var(--purpur-color-purple-700)",colorBackgroundStatusAttention:"var(--purpur-color-purple-100)",colorBackgroundStatusBlackFriday:"var(--purpur-color-functional-white)",colorBackgroundStatusSuccessStrongNegative:"var(--purpur-color-green-400)",colorBackgroundStatusWarningStrongNegative:"var(--purpur-color-orange-300)",colorBackgroundStatusErrorStrongNegative:"var(--purpur-color-red-400)",colorBackgroundToneOnTonePrimary:"var(--purpur-color-purple-100)",colorBackgroundToneOnToneSecondary:"var(--purpur-color-purple-900)",colorBackgroundToneOnToneTertiary:"var(--purpur-color-beige-700)",colorBackgroundToneOnToneQuaternary:"var(--purpur-color-beige-900)",colorBorderWeak:"var(--purpur-color-transparent-white-150)",colorBorderMedium:"var(--purpur-color-transparent-white-300)",colorBorderStrong:"var(--purpur-color-transparent-white-500)",colorBorderWeakNegative:"var(--purpur-color-transparent-black-150)",colorBorderMediumNegative:"var(--purpur-color-transparent-black-300)",colorBorderStrongNegative:"var(--purpur-color-transparent-black-500)",colorBorderInteractivePrimary:"var(--purpur-color-purple-100)",colorBorderInteractivePrimaryHover:"var(--purpur-color-purple-200)",colorBorderInteractivePrimaryActive:"var(--purpur-color-purple-200)",colorBorderInteractiveFocus:"var(--purpur-color-purple-400)",colorBorderInteractiveExpressive:"var(--purpur-color-purple-550)",colorBorderInteractiveSubtle:"var(--purpur-color-transparent-white-400)",colorBorderInteractiveSubtleHover:"var(--purpur-color-purple-200)",colorBorderInteractiveSelected:"var(--purpur-color-purple-300)",colorBorderInteractivePrimaryNegative:"var(--purpur-color-purple-700)",colorBorderInteractivePrimaryHoverNegative:"var(--purpur-color-purple-800)",colorBorderInteractivePrimaryActiveNegative:"var(--purpur-color-purple-900)",colorBorderInteractiveSubtleNegative:"var(--purpur-color-transparent-black-400)",colorBorderInteractiveSubtleHoverNegative:"var(--purpur-color-purple-700)",colorBorderStatusError:"var(--purpur-color-red-400)",colorBorderStatusWarning:"var(--purpur-color-orange-300)",colorBorderStatusInfo:"var(--purpur-color-blue-400)",colorBorderStatusSuccess:"var(--purpur-color-green-400)",colorBorderStatusErrorNegative:"var(--purpur-color-red-500)",colorBorderStatusSuccessNegative:"var(--purpur-color-green-500)"},N="#29003e",y="#990ae3",P="#f4e0ff",b="#4f4741",E="#ede1d8",h="#f9f1ec",O="#202022",A="#ffffff",H="rgba(0, 0, 0, 0.84)",M="rgba(0, 0, 0, 0.62)",w="rgba(0, 0, 0, 0.44)",W="rgba(255, 255, 255, 0.95)",D="rgba(255, 255, 255, 0.66)",L="rgba(255, 255, 255, 0.37)",R="#6d02a3",F="#4e0174",_="#29003e",U="#ffffff",j="#4e0174",Q="#f4e0ff",q="#e4b6fb",X="#e4b6fb",$="#ffffff",G="#ffffff",z="#ffffff",J="#29003e",K="#ffffff",V="#29003e",Y="#ffffff",Z="#990ae3",rr="#990ae3",or="#980233",er="#ff80ab",tr="#e4175c",ar="#fb4885",cr="#02562b",ur="#3dbf7c",nr="#018842",lr="#6a4102",pr="#a86602",ir="#f39200",vr="#014d80",sr="#0078cb",gr="rgba(0, 0, 0, 0.71)",dr="#4e0174",Br="#ffffff",Sr="#ffffff",Tr="#f4e0ff",fr="#29003e",Ir="#4f4741",kr="#ffffff",xr="#1f002e",mr="#f5f5fa",Cr="#29003e",Nr="rgba(255, 255, 255, 0.84)",yr="rgba(0, 0, 0, 0.71)",Pr="#e8f6ff",br="#4e0174",Er="#6d02a3",hr="#8c07d0",Or="#f4e0ff",Ar="#e4b6fb",Hr="#d58df9",Mr="#990ae3",wr="#6d02a3",Wr="#4e0174",Dr="#990ae3",Lr="#c461f7",Rr="#d58df9",Fr="rgba(0, 0, 0, 0.1)",_r="rgba(255, 255, 255, 0.11)",Ur="#f4e0ff",jr="#4e0174",Qr="#e4b6fb",qr="#6d02a3",Xr="rgba(0, 0, 0, 0.05)",$r="rgba(255, 255, 255, 0.16)",Gr="rgba(0, 0, 0, 0.05)",zr="rgba(255, 255, 255, 0.11)",Jr="#e4175c",Kr="#c00543",Vr="#980233",Yr="#caeaff",Zr="#3694d3",ro="#c5efd9",oo="#1fa15e",eo="#3dbf7c",to="#ffdde8",ao="#fb4885",co="#ff80ab",uo="#ffe1b3",no="#cc7a00",lo="#f39200",po="#d6d6dd",io="#f4e0ff",vo="#6d02a3",so="#202022",go="#29003e",Bo="#f4e0ff",So="#ede1d8",To="#f9f1ec",fo="rgba(0, 0, 0, 0.33)",Io="rgba(255, 255, 255, 0.29)",ko="rgba(0, 0, 0, 0.54)",xo="rgba(255, 255, 255, 0.46)",mo="rgba(0, 0, 0, 0.16)",Co="rgba(255, 255, 255, 0.16)",No="#b12df4",yo="#6d02a3",Po="#f4e0ff",bo="#4e0174",Eo="#29003e",ho="#e4b6fb",Oo="#e4b6fb",Ao="#990ae3",Ho="#990ae3",Mo="rgba(0, 0, 0, 0.44)",wo="rgba(255, 255, 255, 0.46)",Wo="#6d02a3",Do="#c461f7",Lo="#e4175c",Ro="#fb4885",Fo="#cc7a00",_o="#0078cb",Uo="#018842",jo="#1fa15e",Qo={colorBrandDeepPurple:N,colorBrandCorePurple:y,colorBrandLightPurple:P,colorBrandDeepBeige:b,colorBrandBeige:E,colorBrandLightBeige:h,colorBrandOffBlack:O,colorBrandWhite:A,colorTextDefault:H,colorTextMedium:M,colorTextWeak:w,colorTextDefaultNegative:W,colorTextMediumNegative:D,colorTextWeakNegative:L,colorTextInteractivePrimary:R,colorTextInteractivePrimaryHover:F,colorTextInteractivePrimaryActive:_,colorTextInteractiveOnPrimary:U,colorTextInteractiveOnExpressive:$,colorTextInteractiveOnExpressiveHover:z,colorTextInteractiveOnExpressiveActive:K,colorTextInteractiveOnDestructive:Y,colorTextInteractiveSelected:Z,colorTextInteractivePrimaryNegative:Q,colorTextInteractivePrimaryHoverNegative:q,colorTextInteractivePrimaryActiveNegative:X,colorTextInteractiveOnPrimaryNegative:j,colorTextInteractiveOnExpressiveNegative:G,colorTextInteractiveOnExpressiveHoverNegative:J,colorTextInteractiveOnExpressiveActiveNegative:V,colorTextStatusInfoMedium:sr,colorTextStatusInfoStrong:vr,colorTextStatusSuccessMedium:nr,colorTextStatusSuccessStrong:cr,colorTextStatusWarningMedium:pr,colorTextStatusWarningStrong:lr,colorTextStatusErrorMedium:tr,colorTextStatusErrorStrong:or,colorTextStatusNeutral:gr,colorTextStatusSpecial:dr,colorTextStatusAttention:Br,colorTextStatusDiscount:rr,colorTextStatusBlackFriday:Sr,colorTextStatusSuccessStrongNegative:ur,colorTextStatusErrorMediumNegative:ar,colorTextStatusErrorStrongNegative:er,colorTextStatusWarningMediumNegative:ir,colorTextToneOnTonePrimary:Tr,colorTextToneOnToneSecondary:fr,colorTextToneOnToneTertiary:Ir,colorBackgroundPrimary:kr,colorBackgroundSecondary:mr,colorBackgroundOnImage:Nr,colorBackgroundPrimaryNegative:xr,colorBackgroundSecondaryNegative:Cr,colorBackgroundOnImageNegative:yr,colorBackgroundInteractivePrimary:br,colorBackgroundInteractivePrimaryHover:Er,colorBackgroundInteractivePrimaryActive:hr,colorBackgroundInteractiveExpressive:Mr,colorBackgroundInteractiveExpressiveHover:wr,colorBackgroundInteractiveExpressiveActive:Wr,colorBackgroundInteractiveTransparentHover:Ur,colorBackgroundInteractiveTransparentActive:Qr,colorBackgroundInteractiveDisabled:Fr,colorBackgroundInteractiveReadOnly:Gr,colorBackgroundInteractiveInactive:Xr,colorBackgroundInteractiveDestructive:Jr,colorBackgroundInteractiveDestructiveHover:Kr,colorBackgroundInteractiveDestructiveActive:Vr,colorBackgroundInteractiveAutoFill:Pr,colorBackgroundInteractivePrimaryNegative:Or,colorBackgroundInteractivePrimaryHoverNegative:Ar,colorBackgroundInteractivePrimaryActiveNegative:Hr,colorBackgroundInteractiveExpressiveNegative:Dr,colorBackgroundInteractiveExpressiveHoverNegative:Lr,colorBackgroundInteractiveExpressiveActiveNegative:Rr,colorBackgroundInteractiveTransparentHoverNegative:jr,colorBackgroundInteractiveTransparentActiveNegative:qr,colorBackgroundInteractiveDisabledNegative:_r,colorBackgroundInteractiveInactiveNegative:$r,colorBackgroundInteractiveReadOnlyNegative:zr,colorBackgroundStatusInfoMedium:Yr,colorBackgroundStatusInfoStrong:Zr,colorBackgroundStatusSuccessMedium:ro,colorBackgroundStatusSuccessStrong:oo,colorBackgroundStatusWarningMedium:uo,colorBackgroundStatusWarningStrong:no,colorBackgroundStatusErrorMedium:to,colorBackgroundStatusErrorStrong:ao,colorBackgroundStatusNeutral:po,colorBackgroundStatusSpecial:io,colorBackgroundStatusAttention:vo,colorBackgroundStatusBlackFriday:so,colorBackgroundStatusSuccessStrongNegative:eo,colorBackgroundStatusWarningStrongNegative:lo,colorBackgroundStatusErrorStrongNegative:co,colorBackgroundToneOnTonePrimary:go,colorBackgroundToneOnToneSecondary:Bo,colorBackgroundToneOnToneTertiary:So,colorBackgroundToneOnToneQuaternary:To,colorBorderWeak:mo,colorBorderMedium:fo,colorBorderStrong:ko,colorBorderWeakNegative:Co,colorBorderMediumNegative:Io,colorBorderStrongNegative:xo,colorBorderInteractivePrimary:yo,colorBorderInteractivePrimaryHover:bo,colorBorderInteractivePrimaryActive:Eo,colorBorderInteractiveFocus:No,colorBorderInteractiveExpressive:Ao,colorBorderInteractiveSubtle:Mo,colorBorderInteractiveSubtleHover:Wo,colorBorderInteractiveSelected:Ho,colorBorderInteractivePrimaryNegative:Po,colorBorderInteractivePrimaryHoverNegative:ho,colorBorderInteractivePrimaryActiveNegative:Oo,colorBorderInteractiveSubtleNegative:wo,colorBorderInteractiveSubtleHoverNegative:Do,colorBorderStatusError:Lo,colorBorderStatusWarning:Fo,colorBorderStatusInfo:_o,colorBorderStatusSuccess:Uo,colorBorderStatusErrorNegative:Ro,colorBorderStatusSuccessNegative:jo},s={light:Qo,dark:C},qo=new RegExp("([\\p{Ll}\\d])(\\p{Lu})","gu"),Xo=new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])","gu"),$o=new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d","u"),Go=/[^\p{L}\d]+/giu,B="$1\0$2",S="";function T(o){let r=o.trim();r=r.replace(qo,B).replace(Xo,B),r=r.replace(Go,"\0");let e=0,t=r.length;for(;r.charAt(e)==="\0";)e++;if(e===t)return[];for(;r.charAt(t-1)==="\0";)t--;return r.slice(e,t).split(/\0/g)}function zo(o){const r=T(o);for(let e=0;e<r.length;e++){const t=r[e],a=$o.exec(t);if(a){const c=a.index+(a[1]??a[2]).length;r.splice(e,1,t.slice(0,c),t.slice(c))}}return r}function Jo(o,r){const[e,t,a]=Yo(o,r);return e+t.map(Vo(r?.locale)).join(r?.delimiter??" ")+a}function Ko(o,r){return Jo(o,{delimiter:"-",...r})}function Vo(o){return o===!1?r=>r.toLowerCase():r=>r.toLocaleLowerCase(o)}function Yo(o,r={}){const e=r.split??(r.separateNumbers?zo:T),t=r.prefixCharacters??S,a=r.suffixCharacters??S;let c=0,u=o.length;for(;c<o.length;){const l=o.charAt(c);if(!t.includes(l))break;c++}for(;u>c;){const l=u-1,i=o.charAt(l);if(!a.includes(i))break;u=l}return[o.slice(0,c),e(o.slice(c,u)),o.slice(u)]}const f=({theme:o=s,cssVariablesSelector:r,currentColorScheme:e})=>{p.useEffect(()=>{e&&Object.entries(o?.[e]??s[e]).forEach(([t,a])=>{((r?document.querySelector(r):null)??document.documentElement).style.setProperty(`--purpur-${Ko(t)}`,a)})},[o,r,e])},I=p.createContext({colorScheme:"light",currentColorScheme:"light",setColorScheme:()=>{},options:{}}),Zo=({cssVariablesSelector:o,forceColorScheme:r,theme:e,children:t,options:a={},...c})=>{const[u,l]=p.useState(r??"auto"),[i,v]=p.useState(r??"light");p.useEffect(()=>{if(r)l(r);else{const n=localStorage.getItem("colorScheme");n&&l(n)}},[r]),p.useEffect(()=>{const n=window.matchMedia("(prefers-color-scheme: dark)");v(u==="auto"?n.matches?"dark":"light":u);const g=m=>{!r&&u==="auto"&&v(m.matches?"dark":"light")};return n.addEventListener("change",g),()=>{n.removeEventListener("change",g)}},[u,r]),f({theme:e,cssVariablesSelector:o,currentColorScheme:i});const x=p.useMemo(()=>({colorScheme:u,currentColorScheme:i,setColorScheme:n=>{r||(l(n),localStorage.setItem("colorScheme",n))}}),[u,i,r]);return d.jsx(I.Provider,{value:{...x,options:a},children:d.jsx("div",{className:i,...c,children:t})})},k=()=>{const o=p.useContext(I);if(!o)throw new Error("useTheme must be used within a ThemeProvider");return o},re=()=>{const{currentColorScheme:o,setColorScheme:r}=k();return[o,r]};exports.ThemeProvider=Zo;exports.teliaTheme=s;exports.useApplyTheme=f;exports.useColorScheme=re;exports.useTheme=k;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("react/jsx-runtime"),s=require("react"),m="#f4e0ff",N="#c461f7",y="#29003e",P="#ede1d8",$="#4f4741",b="#3b332d",E="#ffffff",O="#202022",A="rgba(255, 255, 255, 0.95)",h="rgba(255, 255, 255, 0.66)",H="rgba(255, 255, 255, 0.37)",M="rgba(0, 0, 0, 0.8)",W="rgba(0, 0, 0, 0.54)",D="rgba(0, 0, 0, 0.44)",L="#f4e0ff",R="#e4b6fb",F="#d58df9",_="#4e0174",w="#ffffff",U="#6d02a3",j="#4e0174",Q="#29003e",q="#ffffff",X="#ffffff",G="#29003e",z="#ffffff",J="#29003e",K="#ffffff",V="#ffffff",Y="#d58df9",Z="#d58df9",rr="#ffafc9",er="#980233",or="#fb4885",tr="#e4175c",cr="#79d9a7",ar="#02562b",nr="#1fa15e",ur="#f9bb5b",ir="#f39200",sr="#a86602",lr="#91cdf4",pr="#3694d3",vr="#ffffff",gr="#ffffff",dr="#4e0174",Br="#202022",fr="#29003e",Sr="#f4e0ff",Cr="#ffffff",Tr="#121212",Ir="#ffffff",xr="#202022",kr="#f5f5fa",mr="rgba(0, 0, 0, 0.71)",Nr="rgba(255, 255, 255, 0.84)",yr="#03385b",Pr="#f4e0ff",$r="#e4b6fb",br="#d58df9",Er="#4e0174",Or="#6d02a3",Ar="#8c07d0",hr="#990ae3",Hr="#c461f7",Mr="#d58df9",Wr="#990ae3",Dr="#6d02a3",Lr="#4e0174",Rr="rgba(255, 255, 255, 0.11)",Fr="rgba(0, 0, 0, 0.1)",_r="#4e0174",wr="#e4b6fb",Ur="#6d02a3",jr="#d58df9",Qr="rgba(255, 255, 255, 0.16)",qr="rgba(0, 0, 0, 0.05)",Xr="rgba(255, 255, 255, 0.07)",Gr="rgba(0, 0, 0, 0.05)",zr="#e4175c",Jr="#c00543",Kr="#980233",Vr="#03385b",Yr="#62b2e7",Zr="#003e1e",re="#3dbf7c",ee="#1fa15e",oe="#700025",te="#ff80ab",ce="#fb4885",ae="#4c2f03",ne="#f39200",ue="#f39200",ie="#353537",se="#6d02a3",le="#f4e0ff",pe="#ffffff",ve="#f4e0ff",ge="#29003e",de="#4f4741",Be="#2d2824",fe="rgba(255, 255, 255, 0.29)",Se="rgba(0, 0, 0, 0.33)",Ce="rgba(255, 255, 255, 0.46)",Te="rgba(0, 0, 0, 0.54)",Ie="rgba(255, 255, 255, 0.16)",xe="rgba(0, 0, 0, 0.16)",ke="#c461f7",me="#f4e0ff",Ne="#6d02a3",ye="#e4b6fb",Pe="#e4b6fb",$e="#4e0174",be="#29003e",Ee="#990ae3",Oe="#d58df9",Ae="rgba(255, 255, 255, 0.37)",he="rgba(0, 0, 0, 0.44)",He="#e4b6fb",Me="#6d02a3",We="#fb4885",De="#e4175c",Le="#f39200",Re="#3694d3",Fe="#1fa15e",_e="#018842",we={colorBrandDeepPurple:m,colorBrandCorePurple:N,colorBrandLightPurple:y,colorBrandDeepBeige:P,colorBrandBeige:$,colorBrandLightBeige:b,colorBrandOffBlack:E,colorBrandWhite:O,colorTextDefault:A,colorTextMedium:h,colorTextWeak:H,colorTextDefaultNegative:M,colorTextMediumNegative:W,colorTextWeakNegative:D,colorTextInteractivePrimary:L,colorTextInteractivePrimaryHover:R,colorTextInteractivePrimaryActive:F,colorTextInteractiveOnPrimary:_,colorTextInteractiveOnExpressive:q,colorTextInteractiveOnExpressiveHover:G,colorTextInteractiveOnExpressiveActive:J,colorTextInteractiveOnDestructive:V,colorTextInteractiveSelected:Y,colorTextInteractivePrimaryNegative:U,colorTextInteractivePrimaryHoverNegative:j,colorTextInteractivePrimaryActiveNegative:Q,colorTextInteractiveOnPrimaryNegative:w,colorTextInteractiveOnExpressiveNegative:X,colorTextInteractiveOnExpressiveHoverNegative:z,colorTextInteractiveOnExpressiveActiveNegative:K,colorTextStatusInfoMedium:pr,colorTextStatusInfoStrong:lr,colorTextStatusSuccessMedium:nr,colorTextStatusSuccessStrong:cr,colorTextStatusWarningMedium:ir,colorTextStatusWarningStrong:ur,colorTextStatusErrorMedium:or,colorTextStatusErrorStrong:rr,colorTextStatusNeutral:vr,colorTextStatusSpecial:gr,colorTextStatusAttention:dr,colorTextStatusDiscount:Z,colorTextStatusBlackFriday:Br,colorTextStatusSuccessStrongNegative:ar,colorTextStatusErrorMediumNegative:tr,colorTextStatusErrorStrongNegative:er,colorTextStatusWarningMediumNegative:sr,colorTextToneOnTonePrimary:fr,colorTextToneOnToneSecondary:Sr,colorTextToneOnToneTertiary:Cr,colorBackgroundPrimary:Tr,colorBackgroundSecondary:xr,colorBackgroundOnImage:mr,colorBackgroundPrimaryNegative:Ir,colorBackgroundSecondaryNegative:kr,colorBackgroundOnImageNegative:Nr,colorBackgroundInteractivePrimary:Pr,colorBackgroundInteractivePrimaryHover:$r,colorBackgroundInteractivePrimaryActive:br,colorBackgroundInteractiveExpressive:hr,colorBackgroundInteractiveExpressiveHover:Hr,colorBackgroundInteractiveExpressiveActive:Mr,colorBackgroundInteractiveTransparentHover:_r,colorBackgroundInteractiveTransparentActive:Ur,colorBackgroundInteractiveDisabled:Rr,colorBackgroundInteractiveReadOnly:Xr,colorBackgroundInteractiveInactive:Qr,colorBackgroundInteractiveDestructive:zr,colorBackgroundInteractiveDestructiveHover:Jr,colorBackgroundInteractiveDestructiveActive:Kr,colorBackgroundInteractiveAutoFill:yr,colorBackgroundInteractivePrimaryNegative:Er,colorBackgroundInteractivePrimaryHoverNegative:Or,colorBackgroundInteractivePrimaryActiveNegative:Ar,colorBackgroundInteractiveExpressiveNegative:Wr,colorBackgroundInteractiveExpressiveHoverNegative:Dr,colorBackgroundInteractiveExpressiveActiveNegative:Lr,colorBackgroundInteractiveTransparentHoverNegative:wr,colorBackgroundInteractiveTransparentActiveNegative:jr,colorBackgroundInteractiveDisabledNegative:Fr,colorBackgroundInteractiveInactiveNegative:qr,colorBackgroundInteractiveReadOnlyNegative:Gr,colorBackgroundStatusInfoMedium:Vr,colorBackgroundStatusInfoStrong:Yr,colorBackgroundStatusSuccessMedium:Zr,colorBackgroundStatusSuccessStrong:re,colorBackgroundStatusWarningMedium:ae,colorBackgroundStatusWarningStrong:ne,colorBackgroundStatusErrorMedium:oe,colorBackgroundStatusErrorStrong:te,colorBackgroundStatusNeutral:ie,colorBackgroundStatusSpecial:se,colorBackgroundStatusAttention:le,colorBackgroundStatusBlackFriday:pe,colorBackgroundStatusSuccessStrongNegative:ee,colorBackgroundStatusWarningStrongNegative:ue,colorBackgroundStatusErrorStrongNegative:ce,colorBackgroundToneOnTonePrimary:ve,colorBackgroundToneOnToneSecondary:ge,colorBackgroundToneOnToneTertiary:de,colorBackgroundToneOnToneQuaternary:Be,colorBorderWeak:Ie,colorBorderMedium:fe,colorBorderStrong:Ce,colorBorderWeakNegative:xe,colorBorderMediumNegative:Se,colorBorderStrongNegative:Te,colorBorderInteractivePrimary:me,colorBorderInteractivePrimaryHover:ye,colorBorderInteractivePrimaryActive:Pe,colorBorderInteractiveFocus:ke,colorBorderInteractiveExpressive:Ee,colorBorderInteractiveSubtle:Ae,colorBorderInteractiveSubtleHover:He,colorBorderInteractiveSelected:Oe,colorBorderInteractivePrimaryNegative:Ne,colorBorderInteractivePrimaryHoverNegative:$e,colorBorderInteractivePrimaryActiveNegative:be,colorBorderInteractiveSubtleNegative:he,colorBorderInteractiveSubtleHoverNegative:Me,colorBorderStatusError:We,colorBorderStatusWarning:Le,colorBorderStatusInfo:Re,colorBorderStatusSuccess:Fe,colorBorderStatusErrorNegative:De,colorBorderStatusSuccessNegative:_e},Ue="#29003e",je="#990ae3",Qe="#f4e0ff",qe="#4f4741",Xe="#ede1d8",Ge="#f9f1ec",ze="#202022",Je="#ffffff",Ke="rgba(0, 0, 0, 0.84)",Ve="rgba(0, 0, 0, 0.62)",Ye="rgba(0, 0, 0, 0.44)",Ze="rgba(255, 255, 255, 0.95)",ro="rgba(255, 255, 255, 0.66)",eo="rgba(255, 255, 255, 0.37)",oo="#6d02a3",to="#4e0174",co="#29003e",ao="#ffffff",no="#4e0174",uo="#f4e0ff",io="#e4b6fb",so="#e4b6fb",lo="#ffffff",po="#ffffff",vo="#ffffff",go="#29003e",Bo="#ffffff",fo="#29003e",So="#ffffff",Co="#990ae3",To="#990ae3",Io="#980233",xo="#ff80ab",ko="#e4175c",mo="#fb4885",No="#02562b",yo="#3dbf7c",Po="#018842",$o="#6a4102",bo="#a86602",Eo="#f39200",Oo="#014d80",Ao="#0078cb",ho="rgba(0, 0, 0, 0.71)",Ho="#4e0174",Mo="#ffffff",Wo="#ffffff",Do="#f4e0ff",Lo="#29003e",Ro="#4f4741",Fo="#ffffff",_o="#1f002e",wo="#f5f5fa",Uo="#29003e",jo="rgba(255, 255, 255, 0.84)",Qo="rgba(0, 0, 0, 0.71)",qo="#e8f6ff",Xo="#4e0174",Go="#6d02a3",zo="#8c07d0",Jo="#f4e0ff",Ko="#e4b6fb",Vo="#d58df9",Yo="#990ae3",Zo="#6d02a3",rt="#4e0174",et="#990ae3",ot="#c461f7",tt="#d58df9",ct="rgba(0, 0, 0, 0.1)",at="rgba(255, 255, 255, 0.11)",nt="#f4e0ff",ut="#4e0174",it="#e4b6fb",st="#6d02a3",lt="rgba(0, 0, 0, 0.05)",pt="rgba(255, 255, 255, 0.16)",vt="rgba(0, 0, 0, 0.05)",gt="rgba(255, 255, 255, 0.11)",dt="#e4175c",Bt="#c00543",ft="#980233",St="#caeaff",Ct="#3694d3",Tt="#c5efd9",It="#1fa15e",xt="#3dbf7c",kt="#ffdde8",mt="#fb4885",Nt="#ff80ab",yt="#ffe1b3",Pt="#cc7a00",$t="#f39200",bt="#d6d6dd",Et="#f4e0ff",Ot="#6d02a3",At="#202022",ht="#29003e",Ht="#f4e0ff",Mt="#ede1d8",Wt="#f9f1ec",Dt="rgba(0, 0, 0, 0.33)",Lt="rgba(255, 255, 255, 0.29)",Rt="rgba(0, 0, 0, 0.54)",Ft="rgba(255, 255, 255, 0.46)",_t="rgba(0, 0, 0, 0.16)",wt="rgba(255, 255, 255, 0.16)",Ut="#b12df4",jt="#6d02a3",Qt="#f4e0ff",qt="#4e0174",Xt="#29003e",Gt="#e4b6fb",zt="#e4b6fb",Jt="#990ae3",Kt="#990ae3",Vt="rgba(0, 0, 0, 0.44)",Yt="rgba(255, 255, 255, 0.46)",Zt="#6d02a3",rc="#c461f7",ec="#e4175c",oc="#fb4885",tc="#cc7a00",cc="#0078cb",ac="#018842",nc="#1fa15e",uc={colorBrandDeepPurple:Ue,colorBrandCorePurple:je,colorBrandLightPurple:Qe,colorBrandDeepBeige:qe,colorBrandBeige:Xe,colorBrandLightBeige:Ge,colorBrandOffBlack:ze,colorBrandWhite:Je,colorTextDefault:Ke,colorTextMedium:Ve,colorTextWeak:Ye,colorTextDefaultNegative:Ze,colorTextMediumNegative:ro,colorTextWeakNegative:eo,colorTextInteractivePrimary:oo,colorTextInteractivePrimaryHover:to,colorTextInteractivePrimaryActive:co,colorTextInteractiveOnPrimary:ao,colorTextInteractiveOnExpressive:lo,colorTextInteractiveOnExpressiveHover:vo,colorTextInteractiveOnExpressiveActive:Bo,colorTextInteractiveOnDestructive:So,colorTextInteractiveSelected:Co,colorTextInteractivePrimaryNegative:uo,colorTextInteractivePrimaryHoverNegative:io,colorTextInteractivePrimaryActiveNegative:so,colorTextInteractiveOnPrimaryNegative:no,colorTextInteractiveOnExpressiveNegative:po,colorTextInteractiveOnExpressiveHoverNegative:go,colorTextInteractiveOnExpressiveActiveNegative:fo,colorTextStatusInfoMedium:Ao,colorTextStatusInfoStrong:Oo,colorTextStatusSuccessMedium:Po,colorTextStatusSuccessStrong:No,colorTextStatusWarningMedium:bo,colorTextStatusWarningStrong:$o,colorTextStatusErrorMedium:ko,colorTextStatusErrorStrong:Io,colorTextStatusNeutral:ho,colorTextStatusSpecial:Ho,colorTextStatusAttention:Mo,colorTextStatusDiscount:To,colorTextStatusBlackFriday:Wo,colorTextStatusSuccessStrongNegative:yo,colorTextStatusErrorMediumNegative:mo,colorTextStatusErrorStrongNegative:xo,colorTextStatusWarningMediumNegative:Eo,colorTextToneOnTonePrimary:Do,colorTextToneOnToneSecondary:Lo,colorTextToneOnToneTertiary:Ro,colorBackgroundPrimary:Fo,colorBackgroundSecondary:wo,colorBackgroundOnImage:jo,colorBackgroundPrimaryNegative:_o,colorBackgroundSecondaryNegative:Uo,colorBackgroundOnImageNegative:Qo,colorBackgroundInteractivePrimary:Xo,colorBackgroundInteractivePrimaryHover:Go,colorBackgroundInteractivePrimaryActive:zo,colorBackgroundInteractiveExpressive:Yo,colorBackgroundInteractiveExpressiveHover:Zo,colorBackgroundInteractiveExpressiveActive:rt,colorBackgroundInteractiveTransparentHover:nt,colorBackgroundInteractiveTransparentActive:it,colorBackgroundInteractiveDisabled:ct,colorBackgroundInteractiveReadOnly:vt,colorBackgroundInteractiveInactive:lt,colorBackgroundInteractiveDestructive:dt,colorBackgroundInteractiveDestructiveHover:Bt,colorBackgroundInteractiveDestructiveActive:ft,colorBackgroundInteractiveAutoFill:qo,colorBackgroundInteractivePrimaryNegative:Jo,colorBackgroundInteractivePrimaryHoverNegative:Ko,colorBackgroundInteractivePrimaryActiveNegative:Vo,colorBackgroundInteractiveExpressiveNegative:et,colorBackgroundInteractiveExpressiveHoverNegative:ot,colorBackgroundInteractiveExpressiveActiveNegative:tt,colorBackgroundInteractiveTransparentHoverNegative:ut,colorBackgroundInteractiveTransparentActiveNegative:st,colorBackgroundInteractiveDisabledNegative:at,colorBackgroundInteractiveInactiveNegative:pt,colorBackgroundInteractiveReadOnlyNegative:gt,colorBackgroundStatusInfoMedium:St,colorBackgroundStatusInfoStrong:Ct,colorBackgroundStatusSuccessMedium:Tt,colorBackgroundStatusSuccessStrong:It,colorBackgroundStatusWarningMedium:yt,colorBackgroundStatusWarningStrong:Pt,colorBackgroundStatusErrorMedium:kt,colorBackgroundStatusErrorStrong:mt,colorBackgroundStatusNeutral:bt,colorBackgroundStatusSpecial:Et,colorBackgroundStatusAttention:Ot,colorBackgroundStatusBlackFriday:At,colorBackgroundStatusSuccessStrongNegative:xt,colorBackgroundStatusWarningStrongNegative:$t,colorBackgroundStatusErrorStrongNegative:Nt,colorBackgroundToneOnTonePrimary:ht,colorBackgroundToneOnToneSecondary:Ht,colorBackgroundToneOnToneTertiary:Mt,colorBackgroundToneOnToneQuaternary:Wt,colorBorderWeak:_t,colorBorderMedium:Dt,colorBorderStrong:Rt,colorBorderWeakNegative:wt,colorBorderMediumNegative:Lt,colorBorderStrongNegative:Ft,colorBorderInteractivePrimary:jt,colorBorderInteractivePrimaryHover:qt,colorBorderInteractivePrimaryActive:Xt,colorBorderInteractiveFocus:Ut,colorBorderInteractiveExpressive:Jt,colorBorderInteractiveSubtle:Vt,colorBorderInteractiveSubtleHover:Zt,colorBorderInteractiveSelected:Kt,colorBorderInteractivePrimaryNegative:Qt,colorBorderInteractivePrimaryHoverNegative:Gt,colorBorderInteractivePrimaryActiveNegative:zt,colorBorderInteractiveSubtleNegative:Yt,colorBorderInteractiveSubtleHoverNegative:rc,colorBorderStatusError:ec,colorBorderStatusWarning:tc,colorBorderStatusInfo:cc,colorBorderStatusSuccess:ac,colorBorderStatusErrorNegative:oc,colorBorderStatusSuccessNegative:nc},v={light:uc,dark:we},ic=new RegExp("([\\p{Ll}\\d])(\\p{Lu})","gu"),sc=new RegExp("(\\p{Lu})([\\p{Lu}][\\p{Ll}])","gu"),lc=new RegExp("(\\d)\\p{Ll}|(\\p{L})\\d","u"),pc=/[^\p{L}\d]+/giu,B="$1\0$2",f="";function S(e){let r=e.trim();r=r.replace(ic,B).replace(sc,B),r=r.replace(pc,"\0");let o=0,t=r.length;for(;r.charAt(o)==="\0";)o++;if(o===t)return[];for(;r.charAt(t-1)==="\0";)t--;return r.slice(o,t).split(/\0/g)}function vc(e){const r=S(e);for(let o=0;o<r.length;o++){const t=r[o],c=lc.exec(t);if(c){const a=c.index+(c[1]??c[2]).length;r.splice(o,1,t.slice(0,a),t.slice(a))}}return r}function gc(e,r){const[o,t,c]=fc(e,r);return o+t.map(Bc(r?.locale)).join(r?.delimiter??" ")+c}function dc(e,r){return gc(e,{delimiter:"-",...r})}function Bc(e){return e===!1?r=>r.toLowerCase():r=>r.toLocaleLowerCase(e)}function fc(e,r={}){const o=r.split??(r.separateNumbers?vc:S),t=r.prefixCharacters??f,c=r.suffixCharacters??f;let a=0,n=e.length;for(;a<e.length;){const i=e.charAt(a);if(!t.includes(i))break;a++}for(;n>a;){const i=n-1,l=e.charAt(i);if(!c.includes(l))break;n=i}return[e.slice(0,a),o(e.slice(a,n)),e.slice(n)]}const C=({theme:e=v,cssVariablesSelector:r,currentColorScheme:o})=>{s.useEffect(()=>{o&&Object.entries(e?.[o]??v[o]).forEach(([t,c])=>{((r?document.querySelector(r):null)??document.documentElement).style.setProperty(`--purpur-${dc(t)}`,c)})},[e,r,o])},T=s.createContext({colorScheme:"light",currentColorScheme:"light",setColorScheme:()=>{},options:{}}),Sc=({cssVariablesSelector:e,forceColorScheme:r,theme:o,children:t,options:c={},...a})=>{const[n,i]=s.useState(r??"auto"),[l,p]=s.useState(r??"light");s.useEffect(()=>{if(r)i(r);else{const u=localStorage.getItem("colorScheme");u&&i(u)}},[r]),s.useEffect(()=>{const u=window.matchMedia("(prefers-color-scheme: dark)");p(n==="auto"?u.matches?"dark":"light":n);const g=k=>{!r&&n==="auto"&&p(k.matches?"dark":"light")};return u.addEventListener("change",g),()=>{u.removeEventListener("change",g)}},[n,r]),C({theme:o,cssVariablesSelector:e,currentColorScheme:l});const x=s.useMemo(()=>({colorScheme:n,currentColorScheme:l,setColorScheme:u=>{r||(i(u),localStorage.setItem("colorScheme",u))}}),[n,l,r]);return d.jsx(T.Provider,{value:{...x,options:c},children:d.jsx("div",{className:l,...a,children:t})})},I=()=>{const e=s.useContext(T);if(!e)throw new Error("useTheme must be used within a ThemeProvider");return e},Cc=()=>{const{colorScheme:e,setColorScheme:r}=I();return[e,r]};exports.ThemeProvider=Sc;exports.teliaTheme=v;exports.useApplyTheme=C;exports.useColorScheme=Cc;exports.useTheme=I;
2
2
  //# sourceMappingURL=theme.cjs.js.map