@purpur/library 9.5.0 → 9.7.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.
Files changed (364) hide show
  1. package/CHANGELOG.json +66 -0
  2. package/CHANGELOG.md +29 -1
  3. package/dist/LICENSE.txt +27 -6
  4. package/dist/ThemeProvider-D7oXcAde.js +2 -0
  5. package/dist/{ThemeProvider-Dy771oix.js.map → ThemeProvider-D7oXcAde.js.map} +1 -1
  6. package/dist/ThemeProvider-DiDBfyFA.mjs +348 -0
  7. package/dist/{ThemeProvider-CkX-BNWN.mjs.map → ThemeProvider-DiDBfyFA.mjs.map} +1 -1
  8. package/dist/avatar-CYnD57o4.js +2 -0
  9. package/dist/avatar-CYnD57o4.js.map +1 -0
  10. package/dist/avatar-CzbDD1MK.mjs +27 -0
  11. package/dist/avatar-CzbDD1MK.mjs.map +1 -0
  12. package/dist/avatar.cjs.js +2 -0
  13. package/dist/avatar.cjs.js.map +1 -0
  14. package/dist/avatar.es.js +5 -0
  15. package/dist/avatar.es.js.map +1 -0
  16. package/dist/carousel-BIKcwvYz.mjs +1658 -0
  17. package/dist/carousel-BIKcwvYz.mjs.map +1 -0
  18. package/dist/carousel-DnSaLDZf.js +2 -0
  19. package/dist/carousel-DnSaLDZf.js.map +1 -0
  20. package/dist/carousel.cjs.js +1 -1
  21. package/dist/carousel.es.js +1 -1
  22. package/dist/color-dot-BEE5rKco.js +2 -0
  23. package/dist/color-dot-BEE5rKco.js.map +1 -0
  24. package/dist/color-dot-Dz9yzVX3.mjs +28 -0
  25. package/dist/color-dot-Dz9yzVX3.mjs.map +1 -0
  26. package/dist/color-dot.cjs.js +1 -1
  27. package/dist/color-dot.es.js +4 -3
  28. package/dist/comparison-table-0UDB2BTU.js +2 -0
  29. package/dist/comparison-table-0UDB2BTU.js.map +1 -0
  30. package/dist/comparison-table-CjTE-fHN.mjs +292 -0
  31. package/dist/comparison-table-CjTE-fHN.mjs.map +1 -0
  32. package/dist/comparison-table.cjs.js +1 -1
  33. package/dist/comparison-table.es.js +1 -1
  34. package/dist/components/avatar/src/avatar-constants.d.ts +2 -0
  35. package/dist/components/avatar/src/avatar-constants.d.ts.map +1 -0
  36. package/dist/components/avatar/src/avatar.d.ts +26 -0
  37. package/dist/components/avatar/src/avatar.d.ts.map +1 -0
  38. package/dist/components/button/src/button.visual.fixtures.d.ts +43 -0
  39. package/dist/components/button/src/button.visual.fixtures.d.ts.map +1 -0
  40. package/dist/components/carousel/src/carousel.d.ts.map +1 -1
  41. package/dist/components/color-dot/src/color-dot.d.ts +18 -8
  42. package/dist/components/color-dot/src/color-dot.d.ts.map +1 -1
  43. package/dist/components/comparison-table/src/components/OptionCard/option-card.d.ts.map +1 -1
  44. package/dist/components/date-picker/src/date-picker.d.ts +8 -0
  45. package/dist/components/date-picker/src/date-picker.d.ts.map +1 -1
  46. package/dist/components/drawer/src/drawer-content.d.ts +21 -0
  47. package/dist/components/drawer/src/drawer-content.d.ts.map +1 -1
  48. package/dist/components/hero-banner/src/hero-banner.visual.fixtures.d.ts +14 -0
  49. package/dist/components/hero-banner/src/hero-banner.visual.fixtures.d.ts.map +1 -0
  50. package/dist/components/loading/src/loading-dots.d.ts +19 -0
  51. package/dist/components/loading/src/loading-dots.d.ts.map +1 -0
  52. package/dist/components/loading/src/loading-text.d.ts +21 -0
  53. package/dist/components/loading/src/loading-text.d.ts.map +1 -0
  54. package/dist/components/loading/src/loading.d.ts +10 -0
  55. package/dist/components/loading/src/loading.d.ts.map +1 -0
  56. package/dist/components/message/src/message-bubble.d.ts +22 -0
  57. package/dist/components/message/src/message-bubble.d.ts.map +1 -0
  58. package/dist/components/message/src/message-stamp.d.ts +26 -0
  59. package/dist/components/message/src/message-stamp.d.ts.map +1 -0
  60. package/dist/components/message/src/message-utils.d.ts +3 -0
  61. package/dist/components/message/src/message-utils.d.ts.map +1 -0
  62. package/dist/components/message/src/message.d.ts +42 -0
  63. package/dist/components/message/src/message.d.ts.map +1 -0
  64. package/dist/components/modal/src/modal-content.d.ts +21 -0
  65. package/dist/components/modal/src/modal-content.d.ts.map +1 -1
  66. package/dist/components/modal/src/modal.d.ts +2 -0
  67. package/dist/components/modal/src/modal.d.ts.map +1 -1
  68. package/dist/components/popover/src/popover-content.d.ts +14 -0
  69. package/dist/components/popover/src/popover-content.d.ts.map +1 -1
  70. package/dist/components/radio-card-group/src/is-radio-card-item.d.ts +4 -0
  71. package/dist/components/radio-card-group/src/is-radio-card-item.d.ts.map +1 -0
  72. package/dist/components/radio-card-group/src/radio-card-group.constants.d.ts +5 -0
  73. package/dist/components/radio-card-group/src/radio-card-group.constants.d.ts.map +1 -0
  74. package/dist/components/radio-card-group/src/radio-card-group.d.ts +5 -6
  75. package/dist/components/radio-card-group/src/radio-card-group.d.ts.map +1 -1
  76. package/dist/components/radio-card-group/src/radio-card-item.d.ts +1 -2
  77. package/dist/components/radio-card-group/src/radio-card-item.d.ts.map +1 -1
  78. package/dist/components/search-field/src/search-field-autocomplete.d.ts +6 -3
  79. package/dist/components/search-field/src/search-field-autocomplete.d.ts.map +1 -1
  80. package/dist/components/search-field/src/search-field-base.d.ts +10 -3
  81. package/dist/components/search-field/src/search-field-base.d.ts.map +1 -1
  82. package/dist/components/search-field/src/search-field-button.d.ts +3 -1
  83. package/dist/components/search-field/src/search-field-button.d.ts.map +1 -1
  84. package/dist/components/search-field/src/search-field.d.ts +12 -6
  85. package/dist/components/search-field/src/search-field.d.ts.map +1 -1
  86. package/dist/components/table/src/drag-indicator-circle.d.ts +8 -1
  87. package/dist/components/table/src/drag-indicator-circle.d.ts.map +1 -1
  88. package/dist/components/table/src/table.d.ts.map +1 -1
  89. package/dist/components/tooltip/src/tooltip.d.ts +21 -0
  90. package/dist/components/tooltip/src/tooltip.d.ts.map +1 -1
  91. package/dist/components-metadata.js +33 -4
  92. package/dist/date-picker-CIizn3Pv.js +2 -0
  93. package/dist/{date-picker-uyPKJulK.js.map → date-picker-CIizn3Pv.js.map} +1 -1
  94. package/dist/date-picker-DixxW60s.mjs +1617 -0
  95. package/dist/{date-picker-CzxhZxsw.mjs.map → date-picker-DixxW60s.mjs.map} +1 -1
  96. package/dist/date-picker.cjs.js +1 -1
  97. package/dist/date-picker.es.js +1 -1
  98. package/dist/drawer-BzkRd9F0.mjs +577 -0
  99. package/dist/drawer-BzkRd9F0.mjs.map +1 -0
  100. package/dist/drawer-DyhsP34o.js +2 -0
  101. package/dist/drawer-DyhsP34o.js.map +1 -0
  102. package/dist/drawer.cjs.js +1 -1
  103. package/dist/drawer.es.js +1 -1
  104. package/dist/{footer-D9AcPwlH.js → footer-3Y-664-8.js} +2 -2
  105. package/dist/{footer-D9AcPwlH.js.map → footer-3Y-664-8.js.map} +1 -1
  106. package/dist/{footer-BLPlXaZK.mjs → footer-DenAcikt.mjs} +3 -3
  107. package/dist/{footer-BLPlXaZK.mjs.map → footer-DenAcikt.mjs.map} +1 -1
  108. package/dist/footer.cjs.js +1 -1
  109. package/dist/footer.es.js +1 -1
  110. package/dist/{hero-banner-DkC_BqM7.mjs → hero-banner-B7xrDfzN.mjs} +2 -2
  111. package/dist/{hero-banner-DkC_BqM7.mjs.map → hero-banner-B7xrDfzN.mjs.map} +1 -1
  112. package/dist/{hero-banner-D1A-_qou.js → hero-banner-DthITuQ7.js} +2 -2
  113. package/dist/{hero-banner-D1A-_qou.js.map → hero-banner-DthITuQ7.js.map} +1 -1
  114. package/dist/hero-banner.cjs.js +1 -1
  115. package/dist/hero-banner.es.js +1 -1
  116. package/dist/libraries/library/src/avatar.d.ts +6 -0
  117. package/dist/libraries/library/src/avatar.d.ts.map +1 -0
  118. package/dist/libraries/library/src/library.d.ts +3 -0
  119. package/dist/libraries/library/src/library.d.ts.map +1 -1
  120. package/dist/libraries/library/src/loading.d.ts +6 -0
  121. package/dist/libraries/library/src/loading.d.ts.map +1 -0
  122. package/dist/libraries/library/src/message.d.ts +6 -0
  123. package/dist/libraries/library/src/message.d.ts.map +1 -0
  124. package/dist/libraries/theme/src/ThemeProvider.d.ts.map +1 -1
  125. package/dist/libraries/theme/src/theme.d.ts +1 -0
  126. package/dist/libraries/theme/src/theme.d.ts.map +1 -1
  127. package/dist/libraries/theme/src/types.d.ts +7 -0
  128. package/dist/libraries/theme/src/types.d.ts.map +1 -1
  129. package/dist/libraries/theme/src/useThemePortalContainer.d.ts +12 -0
  130. package/dist/libraries/theme/src/useThemePortalContainer.d.ts.map +1 -0
  131. package/dist/library.cjs.js +1 -1
  132. package/dist/library.es.js +630 -623
  133. package/dist/library.es.js.map +1 -1
  134. package/dist/loading-Dwtkjstg.js +2 -0
  135. package/dist/loading-Dwtkjstg.js.map +1 -0
  136. package/dist/loading-r23nxJSz.mjs +107 -0
  137. package/dist/loading-r23nxJSz.mjs.map +1 -0
  138. package/dist/loading.cjs.js +2 -0
  139. package/dist/loading.cjs.js.map +1 -0
  140. package/dist/loading.es.js +5 -0
  141. package/dist/loading.es.js.map +1 -0
  142. package/dist/message-0yTS5pOF.js +3 -0
  143. package/dist/message-0yTS5pOF.js.map +1 -0
  144. package/dist/message-D9CDwcw9.mjs +132 -0
  145. package/dist/message-D9CDwcw9.mjs.map +1 -0
  146. package/dist/message.cjs.js +2 -0
  147. package/dist/message.cjs.js.map +1 -0
  148. package/dist/message.es.js +5 -0
  149. package/dist/message.es.js.map +1 -0
  150. package/dist/modal-DJn9idcw.js +2 -0
  151. package/dist/modal-DJn9idcw.js.map +1 -0
  152. package/dist/{modal-fp37VbrH.mjs → modal-EIP36327.mjs} +83 -80
  153. package/dist/modal-EIP36327.mjs.map +1 -0
  154. package/dist/modal.cjs.js +1 -1
  155. package/dist/modal.es.js +1 -1
  156. package/dist/{popover-I26xNbTz.mjs → popover-DERrvReO.mjs} +328 -325
  157. package/dist/popover-DERrvReO.mjs.map +1 -0
  158. package/dist/popover-DnGgzfQr.js +2 -0
  159. package/dist/popover-DnGgzfQr.js.map +1 -0
  160. package/dist/popover.cjs.js +1 -1
  161. package/dist/popover.es.js +1 -1
  162. package/dist/{product-card-CoY1KggV.js → product-card-8X-Ld2d_.js} +2 -2
  163. package/dist/{product-card-CoY1KggV.js.map → product-card-8X-Ld2d_.js.map} +1 -1
  164. package/dist/{product-card-C3_N0t-R.mjs → product-card-Bt-F0wKr.mjs} +10 -10
  165. package/dist/{product-card-C3_N0t-R.mjs.map → product-card-Bt-F0wKr.mjs.map} +1 -1
  166. package/dist/product-card.cjs.js +1 -1
  167. package/dist/product-card.es.js +1 -1
  168. package/dist/{promotion-card-BiHnQvhn.mjs → promotion-card-BnzIVNQ4.mjs} +2 -2
  169. package/dist/{promotion-card-BiHnQvhn.mjs.map → promotion-card-BnzIVNQ4.mjs.map} +1 -1
  170. package/dist/{promotion-card-Bag64gqP.js → promotion-card-DKc2Cx1h.js} +2 -2
  171. package/dist/{promotion-card-Bag64gqP.js.map → promotion-card-DKc2Cx1h.js.map} +1 -1
  172. package/dist/promotion-card.cjs.js +1 -1
  173. package/dist/promotion-card.es.js +1 -1
  174. package/dist/purpur.css +1 -1
  175. package/dist/radio-card-group-ZBXjYcQs.mjs +166 -0
  176. package/dist/radio-card-group-ZBXjYcQs.mjs.map +1 -0
  177. package/dist/radio-card-group-nrDi5EPK.js +2 -0
  178. package/dist/radio-card-group-nrDi5EPK.js.map +1 -0
  179. package/dist/radio-card-group.cjs.js +1 -1
  180. package/dist/radio-card-group.es.js +3 -5
  181. package/dist/search-field-2vdDbiT0.js +2 -0
  182. package/dist/search-field-2vdDbiT0.js.map +1 -0
  183. package/dist/search-field-DKyNh7pE.mjs +167 -0
  184. package/dist/search-field-DKyNh7pE.mjs.map +1 -0
  185. package/dist/search-field.cjs.js +1 -1
  186. package/dist/search-field.es.js +1 -1
  187. package/dist/{stepper-CWR2vGPj.mjs → stepper-BDsSa6yr.mjs} +2 -2
  188. package/dist/{stepper-CWR2vGPj.mjs.map → stepper-BDsSa6yr.mjs.map} +1 -1
  189. package/dist/{stepper-Df4X7DDR.js → stepper-DpauItjx.js} +2 -2
  190. package/dist/{stepper-Df4X7DDR.js.map → stepper-DpauItjx.js.map} +1 -1
  191. package/dist/stepper.cjs.js +1 -1
  192. package/dist/stepper.es.js +1 -1
  193. package/dist/{table-gnGUejtb.js → table-BOCcBzSO.js} +4 -4
  194. package/dist/table-BOCcBzSO.js.map +1 -0
  195. package/dist/{table-g_n68i4s.mjs → table-i1Gs9e0e.mjs} +440 -440
  196. package/dist/table-i1Gs9e0e.mjs.map +1 -0
  197. package/dist/table.cjs.js +1 -1
  198. package/dist/table.es.js +1 -1
  199. package/dist/{text-area-peNKG7g4.js → text-area-D0truMT1.js} +2 -2
  200. package/dist/{text-area-peNKG7g4.js.map → text-area-D0truMT1.js.map} +1 -1
  201. package/dist/{text-area-kJvg6cFp.mjs → text-area-IVH-k4MM.mjs} +3 -3
  202. package/dist/{text-area-kJvg6cFp.mjs.map → text-area-IVH-k4MM.mjs.map} +1 -1
  203. package/dist/text-area.cjs.js +1 -1
  204. package/dist/text-area.es.js +1 -1
  205. package/dist/theme.cjs.js +1 -1
  206. package/dist/theme.es.js +8 -6
  207. package/dist/theme.es.js.map +1 -1
  208. package/dist/tooltip-CJGmJDFQ.js +2 -0
  209. package/dist/{tooltip-C8Zxnqdb.js.map → tooltip-CJGmJDFQ.js.map} +1 -1
  210. package/dist/{tooltip-LU2Cy-QC.mjs → tooltip-RA-03bKs.mjs} +277 -274
  211. package/dist/{tooltip-LU2Cy-QC.mjs.map → tooltip-RA-03bKs.mjs.map} +1 -1
  212. package/dist/tooltip.cjs.js +1 -1
  213. package/dist/tooltip.es.js +1 -1
  214. package/dist/{useColorScheme-tAkY9LHt.mjs → useColorScheme-B9DWd-LN.mjs} +2 -2
  215. package/dist/{useColorScheme-tAkY9LHt.mjs.map → useColorScheme-B9DWd-LN.mjs.map} +1 -1
  216. package/dist/useColorScheme-DbTQjxNB.js +2 -0
  217. package/dist/{useColorScheme-DNyjsWX9.js.map → useColorScheme-DbTQjxNB.js.map} +1 -1
  218. package/dist/useThemePortalContainer-D9BYjEvT.js +2 -0
  219. package/dist/useThemePortalContainer-D9BYjEvT.js.map +1 -0
  220. package/dist/useThemePortalContainer-tFLTaYKN.mjs +9 -0
  221. package/dist/useThemePortalContainer-tFLTaYKN.mjs.map +1 -0
  222. package/package.json +27 -24
  223. package/src/aliases.ts +12 -0
  224. package/src/avatar.ts +6 -0
  225. package/src/entries.js +3 -0
  226. package/src/library.ts +5 -68
  227. package/src/loading.ts +6 -0
  228. package/src/message.ts +6 -0
  229. package/dist/ThemeProvider-CkX-BNWN.mjs +0 -337
  230. package/dist/ThemeProvider-Dy771oix.js +0 -2
  231. package/dist/carousel-DLkTL9sj.mjs +0 -1633
  232. package/dist/carousel-DLkTL9sj.mjs.map +0 -1
  233. package/dist/carousel-DXrtxRz5.js +0 -2
  234. package/dist/carousel-DXrtxRz5.js.map +0 -1
  235. package/dist/color-dot-6Mxngvce.mjs +0 -34
  236. package/dist/color-dot-6Mxngvce.mjs.map +0 -1
  237. package/dist/color-dot-B9w_ucWb.js +0 -2
  238. package/dist/color-dot-B9w_ucWb.js.map +0 -1
  239. package/dist/comparison-table-C74IAVqz.js +0 -2
  240. package/dist/comparison-table-C74IAVqz.js.map +0 -1
  241. package/dist/comparison-table-DctKxmX9.mjs +0 -267
  242. package/dist/comparison-table-DctKxmX9.mjs.map +0 -1
  243. package/dist/date-picker-CzxhZxsw.mjs +0 -1611
  244. package/dist/date-picker-uyPKJulK.js +0 -2
  245. package/dist/drawer-8Acg4wkV.mjs +0 -574
  246. package/dist/drawer-8Acg4wkV.mjs.map +0 -1
  247. package/dist/drawer-BLHgcEqb.js +0 -2
  248. package/dist/drawer-BLHgcEqb.js.map +0 -1
  249. package/dist/modal-Baisuc6m.js +0 -2
  250. package/dist/modal-Baisuc6m.js.map +0 -1
  251. package/dist/modal-fp37VbrH.mjs.map +0 -1
  252. package/dist/popover-B0XJZ5mj.js +0 -2
  253. package/dist/popover-B0XJZ5mj.js.map +0 -1
  254. package/dist/popover-I26xNbTz.mjs.map +0 -1
  255. package/dist/radio-card-group-CneOprGY.mjs +0 -168
  256. package/dist/radio-card-group-CneOprGY.mjs.map +0 -1
  257. package/dist/radio-card-group-Ctuvg61o.js +0 -2
  258. package/dist/radio-card-group-Ctuvg61o.js.map +0 -1
  259. package/dist/search-field-CpkHGIYi.mjs +0 -151
  260. package/dist/search-field-CpkHGIYi.mjs.map +0 -1
  261. package/dist/search-field-Z0PqDARl.js +0 -2
  262. package/dist/search-field-Z0PqDARl.js.map +0 -1
  263. package/dist/table-g_n68i4s.mjs.map +0 -1
  264. package/dist/table-gnGUejtb.js.map +0 -1
  265. package/dist/tooltip-C8Zxnqdb.js +0 -2
  266. package/dist/useColorScheme-DNyjsWX9.js +0 -2
  267. package/tokens/_dark.scss +0 -9
  268. package/tokens/_index.scss +0 -9
  269. package/tokens/border/variables.css +0 -13
  270. package/tokens/border/variables.d.ts +0 -10
  271. package/tokens/border/variables.dark.css +0 -12
  272. package/tokens/border/variables.dark.d.ts +0 -10
  273. package/tokens/border/variables.dark.js +0 -10
  274. package/tokens/border/variables.dark.json +0 -18
  275. package/tokens/border/variables.dark.scss +0 -10
  276. package/tokens/border/variables.js +0 -10
  277. package/tokens/border/variables.json +0 -18
  278. package/tokens/border/variables.scss +0 -10
  279. package/tokens/breakpoint/variables.css +0 -11
  280. package/tokens/breakpoint/variables.d.ts +0 -8
  281. package/tokens/breakpoint/variables.dark.css +0 -10
  282. package/tokens/breakpoint/variables.dark.d.ts +0 -8
  283. package/tokens/breakpoint/variables.dark.js +0 -8
  284. package/tokens/breakpoint/variables.dark.json +0 -14
  285. package/tokens/breakpoint/variables.dark.scss +0 -8
  286. package/tokens/breakpoint/variables.js +0 -8
  287. package/tokens/breakpoint/variables.json +0 -14
  288. package/tokens/breakpoint/variables.scss +0 -8
  289. package/tokens/color/variables.css +0 -262
  290. package/tokens/color/variables.d.ts +0 -253
  291. package/tokens/color/variables.dark.css +0 -262
  292. package/tokens/color/variables.dark.d.ts +0 -252
  293. package/tokens/color/variables.dark.js +0 -252
  294. package/tokens/color/variables.dark.json +0 -306
  295. package/tokens/color/variables.dark.scss +0 -252
  296. package/tokens/color/variables.js +0 -253
  297. package/tokens/color/variables.json +0 -307
  298. package/tokens/color/variables.scss +0 -253
  299. package/tokens/dark.css +0 -9
  300. package/tokens/dark.d.ts +0 -9
  301. package/tokens/dark.js +0 -9
  302. package/tokens/filter/variables.css +0 -4
  303. package/tokens/filter/variables.d.ts +0 -1
  304. package/tokens/filter/variables.dark.css +0 -3
  305. package/tokens/filter/variables.dark.d.ts +0 -1
  306. package/tokens/filter/variables.dark.js +0 -1
  307. package/tokens/filter/variables.dark.json +0 -7
  308. package/tokens/filter/variables.dark.scss +0 -1
  309. package/tokens/filter/variables.js +0 -1
  310. package/tokens/filter/variables.json +0 -7
  311. package/tokens/filter/variables.scss +0 -1
  312. package/tokens/gradient/variables.css +0 -53
  313. package/tokens/gradient/variables.d.ts +0 -9
  314. package/tokens/gradient/variables.dark.css +0 -51
  315. package/tokens/gradient/variables.dark.d.ts +0 -9
  316. package/tokens/gradient/variables.dark.js +0 -18
  317. package/tokens/gradient/variables.dark.json +0 -27
  318. package/tokens/gradient/variables.dark.scss +0 -36
  319. package/tokens/gradient/variables.js +0 -18
  320. package/tokens/gradient/variables.json +0 -27
  321. package/tokens/gradient/variables.scss +0 -42
  322. package/tokens/index.css +0 -18
  323. package/tokens/index.d.ts +0 -9
  324. package/tokens/index.js +0 -9
  325. package/tokens/motion/variables.css +0 -14
  326. package/tokens/motion/variables.d.ts +0 -11
  327. package/tokens/motion/variables.dark.css +0 -13
  328. package/tokens/motion/variables.dark.d.ts +0 -11
  329. package/tokens/motion/variables.dark.js +0 -11
  330. package/tokens/motion/variables.dark.json +0 -19
  331. package/tokens/motion/variables.dark.scss +0 -11
  332. package/tokens/motion/variables.js +0 -11
  333. package/tokens/motion/variables.json +0 -19
  334. package/tokens/motion/variables.scss +0 -11
  335. package/tokens/shadow/variables.css +0 -11
  336. package/tokens/shadow/variables.d.ts +0 -4
  337. package/tokens/shadow/variables.dark.css +0 -10
  338. package/tokens/shadow/variables.dark.d.ts +0 -4
  339. package/tokens/shadow/variables.dark.js +0 -4
  340. package/tokens/shadow/variables.dark.json +0 -8
  341. package/tokens/shadow/variables.dark.scss +0 -4
  342. package/tokens/shadow/variables.js +0 -4
  343. package/tokens/shadow/variables.json +0 -8
  344. package/tokens/shadow/variables.scss +0 -4
  345. package/tokens/spacing/variables.css +0 -26
  346. package/tokens/spacing/variables.d.ts +0 -23
  347. package/tokens/spacing/variables.dark.css +0 -17
  348. package/tokens/spacing/variables.dark.d.ts +0 -15
  349. package/tokens/spacing/variables.dark.js +0 -15
  350. package/tokens/spacing/variables.dark.json +0 -19
  351. package/tokens/spacing/variables.dark.scss +0 -15
  352. package/tokens/spacing/variables.js +0 -23
  353. package/tokens/spacing/variables.json +0 -31
  354. package/tokens/spacing/variables.scss +0 -23
  355. package/tokens/typography/variables.css +0 -30
  356. package/tokens/typography/variables.d.ts +0 -26
  357. package/tokens/typography/variables.dark.css +0 -29
  358. package/tokens/typography/variables.dark.d.ts +0 -26
  359. package/tokens/typography/variables.dark.js +0 -28
  360. package/tokens/typography/variables.dark.json +0 -38
  361. package/tokens/typography/variables.dark.scss +0 -26
  362. package/tokens/typography/variables.js +0 -28
  363. package/tokens/typography/variables.json +0 -38
  364. package/tokens/typography/variables.scss +0 -26
package/CHANGELOG.json CHANGED
@@ -1,6 +1,72 @@
1
1
  {
2
2
  "name": "@purpur/library",
3
3
  "entries": [
4
+ {
5
+ "version": "9.7.0",
6
+ "tag": "@purpur/library_v9.7.0",
7
+ "date": "Wed, 03 Jun 2026 13:28:41 GMT",
8
+ "comments": {
9
+ "none": [
10
+ {
11
+ "comment": "Button: Add visual regression tests"
12
+ },
13
+ {
14
+ "comment": "HeroBanner: Add visual regression tests"
15
+ },
16
+ {
17
+ "comment": "RadioCardGroup: Aligned the disabled state according to design and fixed the font weight css specificity"
18
+ },
19
+ {
20
+ "comment": "ComparisonTable: Ensure that table cells stretch to fill the available space vertically"
21
+ },
22
+ {
23
+ "comment": "Carousel: Fix breakpoint options after SSR hydration"
24
+ },
25
+ {
26
+ "comment": "DatePicker: Add `container` prop so the calendar popover and small-screen drawer portal into the nearest ThemeProvider by default. Pass `container={document.body}` to keep the previous behavior."
27
+ },
28
+ {
29
+ "comment": "Drawer: Add `container` prop so portaled content renders inside the nearest ThemeProvider by default. Pass `container={document.body}` to keep the previous behavior."
30
+ },
31
+ {
32
+ "comment": "Modal: Add `container` prop so portaled content renders inside the nearest ThemeProvider by default. Pass `container={document.body}` to keep the previous behavior."
33
+ },
34
+ {
35
+ "comment": "Popover: Add `container` prop so portaled content renders inside the nearest ThemeProvider by default. Pass `container={document.body}` to keep the previous behavior."
36
+ },
37
+ {
38
+ "comment": "Table: Drag indicator now falls back to the nearest ThemeProvider's container when no `container` prop is provided."
39
+ },
40
+ {
41
+ "comment": "Theme: Expose the provider's wrapper element through context and add `useThemePortalContainer` hook so overlay components can portal into the nearest ThemeProvider."
42
+ },
43
+ {
44
+ "comment": "Tooltip: Add `container` prop so portaled content renders inside the nearest ThemeProvider by default. Pass `container={document.body}` to keep the previous behavior."
45
+ }
46
+ ]
47
+ }
48
+ },
49
+ {
50
+ "version": "9.6.0",
51
+ "tag": "@purpur/library_v9.6.0",
52
+ "date": "Tue, 26 May 2026 14:12:15 GMT",
53
+ "comments": {
54
+ "none": [
55
+ {
56
+ "comment": "ComparisonTable: Update option cards to show the read more control based on measured description overflow instead of character count, and add more specific selectors to improve style targeting."
57
+ },
58
+ {
59
+ "comment": "Avatar: Create Avatar component"
60
+ },
61
+ {
62
+ "comment": "Loading: Create Loading component"
63
+ },
64
+ {
65
+ "comment": "Message: Create Message component"
66
+ }
67
+ ]
68
+ }
69
+ },
4
70
  {
5
71
  "version": "9.5.0",
6
72
  "tag": "@purpur/library_v9.5.0",
package/CHANGELOG.md CHANGED
@@ -1,6 +1,34 @@
1
1
  # Change Log - @purpur/library
2
2
 
3
- This log was last generated on Fri, 22 May 2026 12:47:40 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 03 Jun 2026 13:28:41 GMT and should not be manually modified.
4
+
5
+ ## 9.7.0
6
+ Wed, 03 Jun 2026 13:28:41 GMT
7
+
8
+ ### Updates
9
+
10
+ - Button: Add visual regression tests
11
+ - HeroBanner: Add visual regression tests
12
+ - RadioCardGroup: Aligned the disabled state according to design and fixed the font weight css specificity
13
+ - ComparisonTable: Ensure that table cells stretch to fill the available space vertically
14
+ - Carousel: Fix breakpoint options after SSR hydration
15
+ - DatePicker: Add `container` prop so the calendar popover and small-screen drawer portal into the nearest ThemeProvider by default. Pass `container={document.body}` to keep the previous behavior.
16
+ - Drawer: Add `container` prop so portaled content renders inside the nearest ThemeProvider by default. Pass `container={document.body}` to keep the previous behavior.
17
+ - Modal: Add `container` prop so portaled content renders inside the nearest ThemeProvider by default. Pass `container={document.body}` to keep the previous behavior.
18
+ - Popover: Add `container` prop so portaled content renders inside the nearest ThemeProvider by default. Pass `container={document.body}` to keep the previous behavior.
19
+ - Table: Drag indicator now falls back to the nearest ThemeProvider's container when no `container` prop is provided.
20
+ - Theme: Expose the provider's wrapper element through context and add `useThemePortalContainer` hook so overlay components can portal into the nearest ThemeProvider.
21
+ - Tooltip: Add `container` prop so portaled content renders inside the nearest ThemeProvider by default. Pass `container={document.body}` to keep the previous behavior.
22
+
23
+ ## 9.6.0
24
+ Tue, 26 May 2026 14:12:15 GMT
25
+
26
+ ### Updates
27
+
28
+ - ComparisonTable: Update option cards to show the read more control based on measured description overflow instead of character count, and add more specific selectors to improve style targeting.
29
+ - Avatar: Create Avatar component
30
+ - Loading: Create Loading component
31
+ - Message: Create Message component
4
32
 
5
33
  ## 9.5.0
6
34
  Fri, 22 May 2026 12:47:40 GMT
package/dist/LICENSE.txt CHANGED
@@ -176,6 +176,13 @@ Private: false
176
176
 
177
177
  ---
178
178
 
179
+ Name: @purpur/avatar
180
+ Version: 1.0.0
181
+ License: AGPL-3.0-only
182
+ Private: false
183
+
184
+ ---
185
+
179
186
  Name: @purpur/color-dot
180
187
  Version: 8.21.0
181
188
  License: AGPL-3.0-only
@@ -570,28 +577,35 @@ Private: false
570
577
 
571
578
  ---
572
579
 
573
- Name: @purpur/modal
574
- Version: 8.21.0
580
+ Name: @purpur/loading
581
+ Version: 1.0.0
575
582
  License: AGPL-3.0-only
576
583
  Private: false
577
584
 
578
585
  ---
579
586
 
580
- Name: @purpur/quantity-selector
587
+ Name: @purpur/message
588
+ Version: 1.0.0
589
+ License: AGPL-3.0-only
590
+ Private: false
591
+
592
+ ---
593
+
594
+ Name: @purpur/modal
581
595
  Version: 8.21.0
582
596
  License: AGPL-3.0-only
583
597
  Private: false
584
598
 
585
599
  ---
586
600
 
587
- Name: @purpur/radio-button-group
601
+ Name: @purpur/quantity-selector
588
602
  Version: 8.21.0
589
603
  License: AGPL-3.0-only
590
604
  Private: false
591
605
 
592
606
  ---
593
607
 
594
- Name: @purpur/radio-card-group
608
+ Name: @purpur/radio-button-group
595
609
  Version: 8.21.0
596
610
  License: AGPL-3.0-only
597
611
  Private: false
@@ -814,6 +828,13 @@ Private: false
814
828
 
815
829
  ---
816
830
 
831
+ Name: @purpur/cta-link
832
+ Version: 8.21.0
833
+ License: AGPL-3.0-only
834
+ Private: false
835
+
836
+ ---
837
+
817
838
  Name: @purpur/hero-banner
818
839
  Version: 8.21.0
819
840
  License: AGPL-3.0-only
@@ -821,7 +842,7 @@ Private: false
821
842
 
822
843
  ---
823
844
 
824
- Name: @purpur/cta-link
845
+ Name: @purpur/radio-card-group
825
846
  Version: 8.21.0
826
847
  License: AGPL-3.0-only
827
848
  Private: false
@@ -0,0 +1,2 @@
1
+ "use strict";const S=require("react/jsx-runtime"),a=require("react"),r=require("./variables-DoI78zZc.js"),f="#f4e0ff",m="#c461f7",N="#29003e",y="#ede1d8",P="#4f4741",E="#3b332d",O="#ffffff",b="#202022",A="rgba(255, 255, 255, 0.95)",H="rgba(255, 255, 255, 0.66)",M="rgba(255, 255, 255, 0.37)",W="rgba(0, 0, 0, 0.8)",D="rgba(0, 0, 0, 0.54)",h="rgba(0, 0, 0, 0.44)",F="#f4e0ff",L="#faf0ff",R="#ffffff",w="#4e0174",Q="#ffffff",j="#6d02a3",q="#4e0174",$="#29003e",z="#ffffff",K="#ffffff",Z="#29003e",G="#ffffff",J="#29003e",U="#ffffff",X="#ffffff",Y="#d58df9",_="#d58df9",V="#ffafc9",rr="#980233",er="#fb4885",or="#e4175c",tr="#79d9a7",ar="#02562b",ur="#1fa15e",cr="#f9bb5b",nr="#f39200",ir="#a86602",lr="#91cdf4",pr="#3694d3",vr="#ffffff",sr="#ffffff",gr="#4e0174",dr="#202022",Br="#29003e",Sr="#f4e0ff",Cr="#ffffff",Tr="#121212",Ir="#ffffff",kr="#202022",xr="#f5f5fa",fr="rgba(0, 0, 0, 0.71)",mr="rgba(255, 255, 255, 0.84)",Nr="#03385b",yr="#f4e0ff",Pr="#e4b6fb",Er="#d58df9",Or="#4e0174",br="#6d02a3",Ar="#8c07d0",Hr="#990ae3",Mr="#c461f7",Wr="#d58df9",Dr="#990ae3",hr="#6d02a3",Fr="#4e0174",Lr="rgba(255, 255, 255, 0.11)",Rr="rgba(0, 0, 0, 0.1)",wr="#4e0174",Qr="#e4b6fb",jr="#6d02a3",qr="#d58df9",$r="rgba(255, 255, 255, 0.16)",zr="rgba(0, 0, 0, 0.05)",Kr="rgba(255, 255, 255, 0.07)",Zr="rgba(0, 0, 0, 0.05)",Gr="#e4175c",Jr="#c00543",Ur="#980233",Xr="#03385b",Yr="#62b2e7",_r="#003e1e",Vr="#3dbf7c",re="#1fa15e",ee="#700025",oe="#ff80ab",te="#fb4885",ae="#4c2f03",ue="#f39200",ce="#f39200",ne="#353537",ie="#6d02a3",le="#f4e0ff",pe="#ffffff",ve="#f4e0ff",se="#29003e",ge="#4f4741",de="#2d2824",Be="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)",ke="rgba(0, 0, 0, 0.16)",xe="#c461f7",fe="#f4e0ff",me="#6d02a3",Ne="#faf0ff",ye="#ffffff",Pe="#4e0174",Ee="#29003e",Oe="#990ae3",be="#d58df9",Ae="rgba(255, 255, 255, 0.37)",He="rgba(0, 0, 0, 0.44)",Me="#e4b6fb",We="#6d02a3",De="#fb4885",he="#e4175c",Fe="#f39200",Le="#3694d3",Re="#1fa15e",we="#018842",Qe={colorBrandDeepPurple:f,colorBrandCorePurple:m,colorBrandLightPurple:N,colorBrandDeepBeige:y,colorBrandBeige:P,colorBrandLightBeige:E,colorBrandOffBlack:O,colorBrandWhite:b,colorTextDefault:A,colorTextMedium:H,colorTextWeak:M,colorTextDefaultNegative:W,colorTextMediumNegative:D,colorTextWeakNegative:h,colorTextInteractivePrimary:F,colorTextInteractivePrimaryHover:L,colorTextInteractivePrimaryActive:R,colorTextInteractiveOnPrimary:w,colorTextInteractiveOnExpressive:z,colorTextInteractiveOnExpressiveHover:Z,colorTextInteractiveOnExpressiveActive:J,colorTextInteractiveOnDestructive:X,colorTextInteractiveSelected:Y,colorTextInteractivePrimaryNegative:j,colorTextInteractivePrimaryHoverNegative:q,colorTextInteractivePrimaryActiveNegative:$,colorTextInteractiveOnPrimaryNegative:Q,colorTextInteractiveOnExpressiveNegative:K,colorTextInteractiveOnExpressiveHoverNegative:G,colorTextInteractiveOnExpressiveActiveNegative:U,colorTextStatusInfoMedium:pr,colorTextStatusInfoStrong:lr,colorTextStatusSuccessMedium:ur,colorTextStatusSuccessStrong:tr,colorTextStatusWarningMedium:nr,colorTextStatusWarningStrong:cr,colorTextStatusErrorMedium:er,colorTextStatusErrorStrong:V,colorTextStatusNeutral:vr,colorTextStatusSpecial:sr,colorTextStatusAttention:gr,colorTextStatusDiscount:_,colorTextStatusBlackFriday:dr,colorTextStatusSuccessStrongNegative:ar,colorTextStatusErrorMediumNegative:or,colorTextStatusErrorStrongNegative:rr,colorTextStatusWarningMediumNegative:ir,colorTextToneOnTonePrimary:Br,colorTextToneOnToneSecondary:Sr,colorTextToneOnToneTertiary:Cr,colorBackgroundPrimary:Tr,colorBackgroundSecondary:kr,colorBackgroundOnImage:fr,colorBackgroundPrimaryNegative:Ir,colorBackgroundSecondaryNegative:xr,colorBackgroundOnImageNegative:mr,colorBackgroundInteractivePrimary:yr,colorBackgroundInteractivePrimaryHover:Pr,colorBackgroundInteractivePrimaryActive:Er,colorBackgroundInteractiveExpressive:Hr,colorBackgroundInteractiveExpressiveHover:Mr,colorBackgroundInteractiveExpressiveActive:Wr,colorBackgroundInteractiveTransparentHover:wr,colorBackgroundInteractiveTransparentActive:jr,colorBackgroundInteractiveDisabled:Lr,colorBackgroundInteractiveReadOnly:Kr,colorBackgroundInteractiveInactive:$r,colorBackgroundInteractiveDestructive:Gr,colorBackgroundInteractiveDestructiveHover:Jr,colorBackgroundInteractiveDestructiveActive:Ur,colorBackgroundInteractiveAutoFill:Nr,colorBackgroundInteractivePrimaryNegative:Or,colorBackgroundInteractivePrimaryHoverNegative:br,colorBackgroundInteractivePrimaryActiveNegative:Ar,colorBackgroundInteractiveExpressiveNegative:Dr,colorBackgroundInteractiveExpressiveHoverNegative:hr,colorBackgroundInteractiveExpressiveActiveNegative:Fr,colorBackgroundInteractiveTransparentHoverNegative:Qr,colorBackgroundInteractiveTransparentActiveNegative:qr,colorBackgroundInteractiveDisabledNegative:Rr,colorBackgroundInteractiveInactiveNegative:zr,colorBackgroundInteractiveReadOnlyNegative:Zr,colorBackgroundStatusInfoMedium:Xr,colorBackgroundStatusInfoStrong:Yr,colorBackgroundStatusSuccessMedium:_r,colorBackgroundStatusSuccessStrong:Vr,colorBackgroundStatusWarningMedium:ae,colorBackgroundStatusWarningStrong:ue,colorBackgroundStatusErrorMedium:ee,colorBackgroundStatusErrorStrong:oe,colorBackgroundStatusNeutral:ne,colorBackgroundStatusSpecial:ie,colorBackgroundStatusAttention:le,colorBackgroundStatusBlackFriday:pe,colorBackgroundStatusSuccessStrongNegative:re,colorBackgroundStatusWarningStrongNegative:ce,colorBackgroundStatusErrorStrongNegative:te,colorBackgroundToneOnTonePrimary:ve,colorBackgroundToneOnToneSecondary:se,colorBackgroundToneOnToneTertiary:ge,colorBackgroundToneOnToneQuaternary:de,colorBorderWeak:Ie,colorBorderMedium:Be,colorBorderStrong:Ce,colorBorderWeakNegative:ke,colorBorderMediumNegative:Se,colorBorderStrongNegative:Te,colorBorderInteractivePrimary:fe,colorBorderInteractivePrimaryHover:Ne,colorBorderInteractivePrimaryActive:ye,colorBorderInteractiveFocus:xe,colorBorderInteractiveExpressive:Oe,colorBorderInteractiveSubtle:Ae,colorBorderInteractiveSubtleHover:Me,colorBorderInteractiveSelected:be,colorBorderInteractivePrimaryNegative:me,colorBorderInteractivePrimaryHoverNegative:Pe,colorBorderInteractivePrimaryActiveNegative:Ee,colorBorderInteractiveSubtleNegative:He,colorBorderInteractiveSubtleHoverNegative:We,colorBorderStatusError:De,colorBorderStatusWarning:Fe,colorBorderStatusInfo:Le,colorBorderStatusSuccess:Re,colorBorderStatusErrorNegative:he,colorBorderStatusSuccessNegative:we},je={colorBrandDeepPurple:r.purpurColorBrandDeepPurple,colorBrandCorePurple:r.purpurColorBrandCorePurple,colorBrandLightPurple:r.purpurColorBrandLightPurple,colorBrandDeepBeige:r.purpurColorBrandDeepBeige,colorBrandBeige:r.purpurColorBrandBeige,colorBrandLightBeige:r.purpurColorBrandLightBeige,colorBrandOffBlack:r.purpurColorBrandOffBlack,colorBrandWhite:r.purpurColorBrandWhite,colorTextDefault:r.purpurColorTextDefault,colorTextMedium:r.purpurColorTextMedium,colorTextWeak:r.purpurColorTextWeak,colorTextDefaultNegative:r.purpurColorTextDefaultNegative,colorTextMediumNegative:r.purpurColorTextMediumNegative,colorTextWeakNegative:r.purpurColorTextWeakNegative,colorTextInteractivePrimary:r.purpurColorTextInteractivePrimary,colorTextInteractivePrimaryHover:r.purpurColorTextInteractivePrimaryHover,colorTextInteractivePrimaryActive:r.purpurColorTextInteractivePrimaryActive,colorTextInteractiveOnPrimary:r.purpurColorTextInteractiveOnPrimary,colorTextInteractiveOnExpressive:r.purpurColorTextInteractiveOnExpressive,colorTextInteractiveOnExpressiveHover:r.purpurColorTextInteractiveOnExpressiveHover,colorTextInteractiveOnExpressiveActive:r.purpurColorTextInteractiveOnExpressiveActive,colorTextInteractiveOnDestructive:r.purpurColorTextInteractiveOnDestructive,colorTextInteractiveSelected:r.purpurColorTextInteractiveSelected,colorTextInteractivePrimaryNegative:r.purpurColorTextInteractivePrimaryNegative,colorTextInteractivePrimaryHoverNegative:r.purpurColorTextInteractivePrimaryHoverNegative,colorTextInteractivePrimaryActiveNegative:r.purpurColorTextInteractivePrimaryActiveNegative,colorTextInteractiveOnPrimaryNegative:r.purpurColorTextInteractiveOnPrimaryNegative,colorTextInteractiveOnExpressiveNegative:r.purpurColorTextInteractiveOnExpressiveNegative,colorTextInteractiveOnExpressiveHoverNegative:r.purpurColorTextInteractiveOnExpressiveHoverNegative,colorTextInteractiveOnExpressiveActiveNegative:r.purpurColorTextInteractiveOnExpressiveActiveNegative,colorTextStatusInfoMedium:r.purpurColorTextStatusInfoMedium,colorTextStatusInfoStrong:r.purpurColorTextStatusInfoStrong,colorTextStatusSuccessMedium:r.purpurColorTextStatusSuccessMedium,colorTextStatusSuccessStrong:r.purpurColorTextStatusSuccessStrong,colorTextStatusWarningMedium:r.purpurColorTextStatusWarningMedium,colorTextStatusWarningStrong:r.purpurColorTextStatusWarningStrong,colorTextStatusErrorMedium:r.purpurColorTextStatusErrorMedium,colorTextStatusErrorStrong:r.purpurColorTextStatusErrorStrong,colorTextStatusNeutral:r.purpurColorTextStatusNeutral,colorTextStatusSpecial:r.purpurColorTextStatusSpecial,colorTextStatusAttention:r.purpurColorTextStatusAttention,colorTextStatusDiscount:r.purpurColorTextStatusDiscount,colorTextStatusBlackFriday:r.purpurColorTextStatusBlackFriday,colorTextStatusSuccessStrongNegative:r.purpurColorTextStatusSuccessStrongNegative,colorTextStatusErrorMediumNegative:r.purpurColorTextStatusErrorMediumNegative,colorTextStatusErrorStrongNegative:r.purpurColorTextStatusErrorStrongNegative,colorTextStatusWarningMediumNegative:r.purpurColorTextStatusWarningMediumNegative,colorTextToneOnTonePrimary:r.purpurColorTextToneOnTonePrimary,colorTextToneOnToneSecondary:r.purpurColorTextToneOnToneSecondary,colorTextToneOnToneTertiary:r.purpurColorTextToneOnToneTertiary,colorBackgroundPrimary:r.purpurColorBackgroundPrimary,colorBackgroundSecondary:r.purpurColorBackgroundSecondary,colorBackgroundOnImage:r.purpurColorBackgroundOnImage,colorBackgroundPrimaryNegative:r.purpurColorBackgroundPrimaryNegative,colorBackgroundSecondaryNegative:r.purpurColorBackgroundSecondaryNegative,colorBackgroundOnImageNegative:r.purpurColorBackgroundOnImageNegative,colorBackgroundInteractivePrimary:r.purpurColorBackgroundInteractivePrimary,colorBackgroundInteractivePrimaryHover:r.purpurColorBackgroundInteractivePrimaryHover,colorBackgroundInteractivePrimaryActive:r.purpurColorBackgroundInteractivePrimaryActive,colorBackgroundInteractiveExpressive:r.purpurColorBackgroundInteractiveExpressive,colorBackgroundInteractiveExpressiveHover:r.purpurColorBackgroundInteractiveExpressiveHover,colorBackgroundInteractiveExpressiveActive:r.purpurColorBackgroundInteractiveExpressiveActive,colorBackgroundInteractiveTransparentHover:r.purpurColorBackgroundInteractiveTransparentHover,colorBackgroundInteractiveTransparentActive:r.purpurColorBackgroundInteractiveTransparentActive,colorBackgroundInteractiveDisabled:r.purpurColorBackgroundInteractiveDisabled,colorBackgroundInteractiveReadOnly:r.purpurColorBackgroundInteractiveReadOnly,colorBackgroundInteractiveInactive:r.purpurColorBackgroundInteractiveInactive,colorBackgroundInteractiveDestructive:r.purpurColorBackgroundInteractiveDestructive,colorBackgroundInteractiveDestructiveHover:r.purpurColorBackgroundInteractiveDestructiveHover,colorBackgroundInteractiveDestructiveActive:r.purpurColorBackgroundInteractiveDestructiveActive,colorBackgroundInteractiveAutoFill:r.purpurColorBackgroundInteractiveAutoFill,colorBackgroundInteractivePrimaryNegative:r.purpurColorBackgroundInteractivePrimaryNegative,colorBackgroundInteractivePrimaryHoverNegative:r.purpurColorBackgroundInteractivePrimaryHoverNegative,colorBackgroundInteractivePrimaryActiveNegative:r.purpurColorBackgroundInteractivePrimaryActiveNegative,colorBackgroundInteractiveExpressiveNegative:r.purpurColorBackgroundInteractiveExpressiveNegative,colorBackgroundInteractiveExpressiveHoverNegative:r.purpurColorBackgroundInteractiveExpressiveHoverNegative,colorBackgroundInteractiveExpressiveActiveNegative:r.purpurColorBackgroundInteractiveExpressiveActiveNegative,colorBackgroundInteractiveTransparentHoverNegative:r.purpurColorBackgroundInteractiveTransparentHoverNegative,colorBackgroundInteractiveTransparentActiveNegative:r.purpurColorBackgroundInteractiveTransparentActiveNegative,colorBackgroundInteractiveDisabledNegative:r.purpurColorBackgroundInteractiveDisabledNegative,colorBackgroundInteractiveInactiveNegative:r.purpurColorBackgroundInteractiveInactiveNegative,colorBackgroundInteractiveReadOnlyNegative:r.purpurColorBackgroundInteractiveReadOnlyNegative,colorBackgroundStatusInfoMedium:r.purpurColorBackgroundStatusInfoMedium,colorBackgroundStatusInfoStrong:r.purpurColorBackgroundStatusInfoStrong,colorBackgroundStatusSuccessMedium:r.purpurColorBackgroundStatusSuccessMedium,colorBackgroundStatusSuccessStrong:r.purpurColorBackgroundStatusSuccessStrong,colorBackgroundStatusWarningMedium:r.purpurColorBackgroundStatusWarningMedium,colorBackgroundStatusWarningStrong:r.purpurColorBackgroundStatusWarningStrong,colorBackgroundStatusErrorMedium:r.purpurColorBackgroundStatusErrorMedium,colorBackgroundStatusErrorStrong:r.purpurColorBackgroundStatusErrorStrong,colorBackgroundStatusNeutral:r.purpurColorBackgroundStatusNeutral,colorBackgroundStatusSpecial:r.purpurColorBackgroundStatusSpecial,colorBackgroundStatusAttention:r.purpurColorBackgroundStatusAttention,colorBackgroundStatusBlackFriday:r.purpurColorBackgroundStatusBlackFriday,colorBackgroundStatusSuccessStrongNegative:r.purpurColorBackgroundStatusSuccessStrongNegative,colorBackgroundStatusWarningStrongNegative:r.purpurColorBackgroundStatusWarningStrongNegative,colorBackgroundStatusErrorStrongNegative:r.purpurColorBackgroundStatusErrorStrongNegative,colorBackgroundToneOnTonePrimary:r.purpurColorBackgroundToneOnTonePrimary,colorBackgroundToneOnToneSecondary:r.purpurColorBackgroundToneOnToneSecondary,colorBackgroundToneOnToneTertiary:r.purpurColorBackgroundToneOnToneTertiary,colorBackgroundToneOnToneQuaternary:r.purpurColorBackgroundToneOnToneQuaternary,colorBorderWeak:r.purpurColorBorderWeak,colorBorderMedium:r.purpurColorBorderMedium,colorBorderStrong:r.purpurColorBorderStrong,colorBorderWeakNegative:r.purpurColorBorderWeakNegative,colorBorderMediumNegative:r.purpurColorBorderMediumNegative,colorBorderStrongNegative:r.purpurColorBorderStrongNegative,colorBorderInteractivePrimary:r.purpurColorBorderInteractivePrimary,colorBorderInteractivePrimaryHover:r.purpurColorBorderInteractivePrimaryHover,colorBorderInteractivePrimaryActive:r.purpurColorBorderInteractivePrimaryActive,colorBorderInteractiveFocus:r.purpurColorBorderInteractiveFocus,colorBorderInteractiveExpressive:r.purpurColorBorderInteractiveExpressive,colorBorderInteractiveSubtle:r.purpurColorBorderInteractiveSubtle,colorBorderInteractiveSubtleHover:r.purpurColorBorderInteractiveSubtleHover,colorBorderInteractiveSelected:r.purpurColorBorderInteractiveSelected,colorBorderInteractivePrimaryNegative:r.purpurColorBorderInteractivePrimaryNegative,colorBorderInteractivePrimaryHoverNegative:r.purpurColorBorderInteractivePrimaryHoverNegative,colorBorderInteractivePrimaryActiveNegative:r.purpurColorBorderInteractivePrimaryActiveNegative,colorBorderInteractiveSubtleNegative:r.purpurColorBorderInteractiveSubtleNegative,colorBorderInteractiveSubtleHoverNegative:r.purpurColorBorderInteractiveSubtleHoverNegative,colorBorderStatusError:r.purpurColorBorderStatusError,colorBorderStatusWarning:r.purpurColorBorderStatusWarning,colorBorderStatusInfo:r.purpurColorBorderStatusInfo,colorBorderStatusSuccess:r.purpurColorBorderStatusSuccess,colorBorderStatusErrorNegative:r.purpurColorBorderStatusErrorNegative,colorBorderStatusSuccessNegative:r.purpurColorBorderStatusSuccessNegative},s={light:je,dark:Qe},qe=o=>o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),C=({theme:o=s,cssVariablesSelector:e,currentColorScheme:u})=>{a.useEffect(()=>{u&&Object.entries(o?.[u]??s[u]).forEach(([i,l])=>{((e?document.querySelector(e):null)??document.documentElement).style.setProperty(`--purpur-${qe(i)}`,l)})},[o,e,u])},T=a.createContext({colorScheme:"light",currentColorScheme:"light",setColorScheme:()=>{},options:{},portalContainer:null}),$e=({cssVariablesSelector:o,forceColorScheme:e,theme:u,children:i,options:l={},...g})=>{const[c,p]=a.useState(e??"auto"),[n,v]=a.useState(e??"light"),[d,I]=a.useState(null);a.useEffect(()=>{if(e)p(e);else{const t=localStorage.getItem("colorScheme");t&&p(t)}},[e]),a.useEffect(()=>{const t=window.matchMedia("(prefers-color-scheme: dark)");v(c==="auto"?t.matches?"dark":"light":c);const B=x=>{!e&&c==="auto"&&v(x.matches?"dark":"light")};return t.addEventListener("change",B),()=>{t.removeEventListener("change",B)}},[c,e]),C({theme:u,cssVariablesSelector:o,currentColorScheme:u!==void 0?n:void 0});const k=a.useMemo(()=>({colorScheme:c,currentColorScheme:n,setColorScheme:t=>{e||(p(t),localStorage.setItem("colorScheme",t))},portalContainer:d}),[c,n,e,d]);return S.jsx(T.Provider,{value:{...k,options:l},children:S.jsx("div",{"data-color-scheme":n,className:n,ref:I,...g,children:i})})},ze=()=>{const o=a.useContext(T);if(!o)throw new Error("useTheme must be used within a ThemeProvider");return o};exports.ThemeProvider=$e;exports.teliaTheme=s;exports.useApplyTheme=C;exports.useTheme=ze;
2
+ //# sourceMappingURL=ThemeProvider-D7oXcAde.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeProvider-Dy771oix.js","sources":["../../tokens/dist/color/variables.dark.js","../../theme/src/telia-dark.ts","../../theme/src/telia-light.ts","../../theme/src/telia-theme.ts","../../theme/src/useApplyTheme.ts","../../theme/src/ThemeProvider.tsx"],"sourcesContent":["export const purpurColorPurple50 = \"#faf0ff\";\nexport const purpurColorPurple100 = \"#f4e0ff\";\nexport const purpurColorPurple200 = \"#e4b6fb\";\nexport const purpurColorPurple300 = \"#d58df9\";\nexport const purpurColorPurple400 = \"#c461f7\";\nexport const purpurColorPurple500 = \"#b12df4\";\nexport const purpurColorPurple550 = \"#990ae3\";\nexport const purpurColorPurple600 = \"#8c07d0\";\nexport const purpurColorPurple700 = \"#6d02a3\";\nexport const purpurColorPurple800 = \"#4e0174\";\nexport const purpurColorPurple900 = \"#29003e\";\nexport const purpurColorPurple950 = \"#1f002e\";\nexport const purpurColorBeige50 = \"#f9f1ec\";\nexport const purpurColorBeige100 = \"#ede1d8\";\nexport const purpurColorBeige200 = \"#d7c3b5\";\nexport const purpurColorBeige300 = \"#bba494\";\nexport const purpurColorBeige400 = \"#a08877\";\nexport const purpurColorBeige500 = \"#807268\";\nexport const purpurColorBeige600 = \"#665e58\";\nexport const purpurColorBeige700 = \"#4f4741\";\nexport const purpurColorBeige800 = \"#3b332d\";\nexport const purpurColorBeige900 = \"#2d2824\";\nexport const purpurColorBeige950 = \"#170f09\";\nexport const purpurColorTeal50 = \"#edf5f5\";\nexport const purpurColorTeal100 = \"#d5eae9\";\nexport const purpurColorTeal200 = \"#a1cfcd\";\nexport const purpurColorTeal300 = \"#6eb5b2\";\nexport const purpurColorTeal400 = \"#3a9b96\";\nexport const purpurColorTeal500 = \"#00847e\";\nexport const purpurColorTeal600 = \"#006c67\";\nexport const purpurColorTeal700 = \"#02534f\";\nexport const purpurColorTeal800 = \"#063c39\";\nexport const purpurColorTeal900 = \"#032220\";\nexport const purpurColorTeal950 = \"#011413\";\nexport const purpurColorGray50 = \"#f5f5fa\";\nexport const purpurColorGray100 = \"#e5e5eb\";\nexport const purpurColorGray150 = \"#d6d6dd\";\nexport const purpurColorGray200 = \"#c6c6cd\";\nexport const purpurColorGray300 = \"#aaaab0\";\nexport const purpurColorGray400 = \"#8d8d94\";\nexport const purpurColorGray500 = \"#757579\";\nexport const purpurColorGray600 = \"#5f5f63\";\nexport const purpurColorGray700 = \"#4a4a4d\";\nexport const purpurColorGray800 = \"#353537\";\nexport const purpurColorGray850 = \"#2a2a2c\";\nexport const purpurColorGray900 = \"#202022\";\nexport const purpurColorGray950 = \"#121212\";\nexport const purpurColorGreen50 = \"#e1f9ec\";\nexport const purpurColorGreen100 = \"#c5efd9\";\nexport const purpurColorGreen200 = \"#79d9a7\";\nexport const purpurColorGreen300 = \"#3dbf7c\";\nexport const purpurColorGreen400 = \"#1fa15e\";\nexport const purpurColorGreen500 = \"#018842\";\nexport const purpurColorGreen600 = \"#017037\";\nexport const purpurColorGreen700 = \"#02562b\";\nexport const purpurColorGreen800 = \"#003e1e\";\nexport const purpurColorGreen900 = \"#002411\";\nexport const purpurColorGreen950 = \"#00150a\";\nexport const purpurColorRed50 = \"#fff0f5\";\nexport const purpurColorRed100 = \"#ffdde8\";\nexport const purpurColorRed200 = \"#ffafc9\";\nexport const purpurColorRed300 = \"#ff80ab\";\nexport const purpurColorRed400 = \"#fb4885\";\nexport const purpurColorRed500 = \"#e4175c\";\nexport const purpurColorRed600 = \"#c00543\";\nexport const purpurColorRed700 = \"#980233\";\nexport const purpurColorRed800 = \"#700025\";\nexport const purpurColorRed900 = \"#440016\";\nexport const purpurColorRed950 = \"#2c000e\";\nexport const purpurColorOrange50 = \"#fff2de\";\nexport const purpurColorOrange100 = \"#ffe1b3\";\nexport const purpurColorOrange200 = \"#f9bb5b\";\nexport const purpurColorOrange300 = \"#f39200\";\nexport const purpurColorOrange400 = \"#cc7a00\";\nexport const purpurColorOrange500 = \"#a86602\";\nexport const purpurColorOrange600 = \"#8b5301\";\nexport const purpurColorOrange700 = \"#6a4102\";\nexport const purpurColorOrange800 = \"#4c2f03\";\nexport const purpurColorOrange900 = \"#2b1b03\";\nexport const purpurColorOrange950 = \"#1a0f00\";\nexport const purpurColorBlue50 = \"#e8f6ff\";\nexport const purpurColorBlue100 = \"#caeaff\";\nexport const purpurColorBlue200 = \"#91cdf4\";\nexport const purpurColorBlue300 = \"#62b2e7\";\nexport const purpurColorBlue400 = \"#3694d3\";\nexport const purpurColorBlue500 = \"#0078cb\";\nexport const purpurColorBlue600 = \"#0063a6\";\nexport const purpurColorBlue700 = \"#014d80\";\nexport const purpurColorBlue800 = \"#03385b\";\nexport const purpurColorBlue900 = \"#002036\";\nexport const purpurColorBlue950 = \"#011320\";\nexport const purpurColorTransparentBlack50 = \"rgba(0, 0, 0, 0.05)\";\nexport const purpurColorTransparentBlack100 = \"rgba(0, 0, 0, 0.1)\";\nexport const purpurColorTransparentBlack150 = \"rgba(0, 0, 0, 0.16)\";\nexport const purpurColorTransparentBlack200 = \"rgba(0, 0, 0, 0.22)\";\nexport const purpurColorTransparentBlack300 = \"rgba(0, 0, 0, 0.33)\";\nexport const purpurColorTransparentBlack400 = \"rgba(0, 0, 0, 0.44)\";\nexport const purpurColorTransparentBlack500 = \"rgba(0, 0, 0, 0.54)\";\nexport const purpurColorTransparentBlack600 = \"rgba(0, 0, 0, 0.62)\";\nexport const purpurColorTransparentBlack700 = \"rgba(0, 0, 0, 0.71)\";\nexport const purpurColorTransparentBlack800 = \"rgba(0, 0, 0, 0.8)\";\nexport const purpurColorTransparentBlack850 = \"rgba(0, 0, 0, 0.84)\";\nexport const purpurColorTransparentBlack900 = \"rgba(0, 0, 0, 0.88)\";\nexport const purpurColorTransparentBlack950 = \"rgba(0, 0, 0, 0.93)\";\nexport const purpurColorTransparentWhite50 = \"rgba(255, 255, 255, 0.07)\";\nexport const purpurColorTransparentWhite100 = \"rgba(255, 255, 255, 0.11)\";\nexport const purpurColorTransparentWhite150 = \"rgba(255, 255, 255, 0.16)\";\nexport const purpurColorTransparentWhite200 = \"rgba(255, 255, 255, 0.21)\";\nexport const purpurColorTransparentWhite300 = \"rgba(255, 255, 255, 0.29)\";\nexport const purpurColorTransparentWhite400 = \"rgba(255, 255, 255, 0.37)\";\nexport const purpurColorTransparentWhite500 = \"rgba(255, 255, 255, 0.46)\";\nexport const purpurColorTransparentWhite600 = \"rgba(255, 255, 255, 0.55)\";\nexport const purpurColorTransparentWhite700 = \"rgba(255, 255, 255, 0.66)\";\nexport const purpurColorTransparentWhite800 = \"rgba(255, 255, 255, 0.79)\";\nexport const purpurColorTransparentWhite850 = \"rgba(255, 255, 255, 0.84)\";\nexport const purpurColorTransparentWhite900 = \"rgba(255, 255, 255, 0.89)\";\nexport const purpurColorTransparentWhite950 = \"rgba(255, 255, 255, 0.95)\";\nexport const purpurColorFunctionalBlack = \"#000000\";\nexport const purpurColorFunctionalWhite = \"#ffffff\";\nexport const purpurColorFunctionalTransparent = \"rgba(255, 255, 255, 0)\";\nexport const purpurColorBrandDeepPurple = \"#f4e0ff\";\nexport const purpurColorBrandCorePurple = \"#c461f7\";\nexport const purpurColorBrandLightPurple = \"#29003e\";\nexport const purpurColorBrandDeepBeige = \"#ede1d8\";\nexport const purpurColorBrandBeige = \"#4f4741\";\nexport const purpurColorBrandLightBeige = \"#3b332d\";\nexport const purpurColorBrandOffBlack = \"#ffffff\";\nexport const purpurColorBrandWhite = \"#202022\";\nexport const purpurColorTextDefault = \"rgba(255, 255, 255, 0.95)\";\nexport const purpurColorTextMedium = \"rgba(255, 255, 255, 0.66)\";\nexport const purpurColorTextWeak = \"rgba(255, 255, 255, 0.37)\";\nexport const purpurColorTextDefaultNegative = \"rgba(0, 0, 0, 0.8)\";\nexport const purpurColorTextMediumNegative = \"rgba(0, 0, 0, 0.54)\";\nexport const purpurColorTextWeakNegative = \"rgba(0, 0, 0, 0.44)\";\nexport const purpurColorTextInteractivePrimary = \"#f4e0ff\";\nexport const purpurColorTextInteractivePrimaryHover = \"#faf0ff\";\nexport const purpurColorTextInteractivePrimaryActive = \"#ffffff\";\nexport const purpurColorTextInteractiveOnPrimary = \"#4e0174\";\nexport const purpurColorTextInteractiveOnPrimaryNegative = \"#ffffff\";\nexport const purpurColorTextInteractivePrimaryNegative = \"#6d02a3\";\nexport const purpurColorTextInteractivePrimaryHoverNegative = \"#4e0174\";\nexport const purpurColorTextInteractivePrimaryActiveNegative = \"#29003e\";\nexport const purpurColorTextInteractiveOnExpressive = \"#ffffff\";\nexport const purpurColorTextInteractiveOnExpressiveNegative = \"#ffffff\";\nexport const purpurColorTextInteractiveOnExpressiveHover = \"#29003e\";\nexport const purpurColorTextInteractiveOnExpressiveHoverNegative = \"#ffffff\";\nexport const purpurColorTextInteractiveOnExpressiveActive = \"#29003e\";\nexport const purpurColorTextInteractiveOnExpressiveActiveNegative = \"#ffffff\";\nexport const purpurColorTextInteractiveOnDestructive = \"#ffffff\";\nexport const purpurColorTextInteractiveSelected = \"#d58df9\";\nexport const purpurColorTextInteractiveSelectedNegative = \"#990ae3\";\nexport const purpurColorTextStatusDiscount = \"#d58df9\";\nexport const purpurColorTextStatusErrorStrong = \"#ffafc9\";\nexport const purpurColorTextStatusErrorStrongNegative = \"#980233\";\nexport const purpurColorTextStatusErrorMedium = \"#fb4885\";\nexport const purpurColorTextStatusErrorMediumNegative = \"#e4175c\";\nexport const purpurColorTextStatusSuccessStrong = \"#79d9a7\";\nexport const purpurColorTextStatusSuccessStrongNegative = \"#02562b\";\nexport const purpurColorTextStatusSuccessMedium = \"#1fa15e\";\nexport const purpurColorTextStatusWarningStrong = \"#f9bb5b\";\nexport const purpurColorTextStatusWarningMedium = \"#f39200\";\nexport const purpurColorTextStatusWarningMediumNegative = \"#a86602\";\nexport const purpurColorTextStatusInfoStrong = \"#91cdf4\";\nexport const purpurColorTextStatusInfoMedium = \"#3694d3\";\nexport const purpurColorTextStatusNeutral = \"#ffffff\";\nexport const purpurColorTextStatusSpecial = \"#ffffff\";\nexport const purpurColorTextStatusAttention = \"#4e0174\";\nexport const purpurColorTextStatusBlackFriday = \"#202022\";\nexport const purpurColorTextToneOnTonePrimary = \"#29003e\";\nexport const purpurColorTextToneOnToneSecondary = \"#f4e0ff\";\nexport const purpurColorTextToneOnToneTertiary = \"#ffffff\";\nexport const purpurColorBackgroundPrimary = \"#121212\";\nexport const purpurColorBackgroundPrimaryNegative = \"#ffffff\";\nexport const purpurColorBackgroundSecondary = \"#202022\";\nexport const purpurColorBackgroundSecondaryNegative = \"#f5f5fa\";\nexport const purpurColorBackgroundOnImage = \"rgba(0, 0, 0, 0.71)\";\nexport const purpurColorBackgroundOnImageNegative = \"rgba(255, 255, 255, 0.84)\";\nexport const purpurColorBackgroundInteractiveAutoFill = \"#03385b\";\nexport const purpurColorBackgroundInteractivePrimary = \"#f4e0ff\";\nexport const purpurColorBackgroundInteractivePrimaryHover = \"#e4b6fb\";\nexport const purpurColorBackgroundInteractivePrimaryActive = \"#d58df9\";\nexport const purpurColorBackgroundInteractivePrimaryNegative = \"#4e0174\";\nexport const purpurColorBackgroundInteractivePrimaryHoverNegative = \"#6d02a3\";\nexport const purpurColorBackgroundInteractivePrimaryActiveNegative = \"#8c07d0\";\nexport const purpurColorBackgroundInteractiveExpressive = \"#990ae3\";\nexport const purpurColorBackgroundInteractiveExpressiveHover = \"#c461f7\";\nexport const purpurColorBackgroundInteractiveExpressiveActive = \"#d58df9\";\nexport const purpurColorBackgroundInteractiveExpressiveNegative = \"#990ae3\";\nexport const purpurColorBackgroundInteractiveExpressiveHoverNegative = \"#6d02a3\";\nexport const purpurColorBackgroundInteractiveExpressiveActiveNegative = \"#4e0174\";\nexport const purpurColorBackgroundInteractiveDisabled = \"rgba(255, 255, 255, 0.11)\";\nexport const purpurColorBackgroundInteractiveDisabledNegative = \"rgba(0, 0, 0, 0.1)\";\nexport const purpurColorBackgroundInteractiveTransparentHover = \"#4e0174\";\nexport const purpurColorBackgroundInteractiveTransparentHoverNegative = \"#e4b6fb\";\nexport const purpurColorBackgroundInteractiveTransparentActive = \"#6d02a3\";\nexport const purpurColorBackgroundInteractiveTransparentActiveNegative = \"#d58df9\";\nexport const purpurColorBackgroundInteractiveInactive = \"rgba(255, 255, 255, 0.16)\";\nexport const purpurColorBackgroundInteractiveInactiveNegative = \"rgba(0, 0, 0, 0.05)\";\nexport const purpurColorBackgroundInteractiveReadOnly = \"rgba(255, 255, 255, 0.07)\";\nexport const purpurColorBackgroundInteractiveReadOnlyNegative = \"rgba(0, 0, 0, 0.05)\";\nexport const purpurColorBackgroundInteractiveDestructive = \"#e4175c\";\nexport const purpurColorBackgroundInteractiveDestructiveHover = \"#c00543\";\nexport const purpurColorBackgroundInteractiveDestructiveActive = \"#980233\";\nexport const purpurColorBackgroundStatusInfoMedium = \"#03385b\";\nexport const purpurColorBackgroundStatusInfoStrong = \"#62b2e7\";\nexport const purpurColorBackgroundStatusSuccessMedium = \"#003e1e\";\nexport const purpurColorBackgroundStatusSuccessStrong = \"#3dbf7c\";\nexport const purpurColorBackgroundStatusSuccessStrongNegative = \"#1fa15e\";\nexport const purpurColorBackgroundStatusErrorMedium = \"#700025\";\nexport const purpurColorBackgroundStatusErrorStrong = \"#ff80ab\";\nexport const purpurColorBackgroundStatusErrorStrongNegative = \"#fb4885\";\nexport const purpurColorBackgroundStatusWarningMedium = \"#4c2f03\";\nexport const purpurColorBackgroundStatusWarningStrong = \"#f39200\";\nexport const purpurColorBackgroundStatusWarningStrongNegative = \"#f39200\";\nexport const purpurColorBackgroundStatusNeutral = \"#353537\";\nexport const purpurColorBackgroundStatusSpecial = \"#6d02a3\";\nexport const purpurColorBackgroundStatusAttention = \"#f4e0ff\";\nexport const purpurColorBackgroundStatusBlackFriday = \"#ffffff\";\nexport const purpurColorBackgroundToneOnTonePrimary = \"#f4e0ff\";\nexport const purpurColorBackgroundToneOnToneSecondary = \"#29003e\";\nexport const purpurColorBackgroundToneOnToneTertiary = \"#4f4741\";\nexport const purpurColorBackgroundToneOnToneQuaternary = \"#2d2824\";\nexport const purpurColorBorderMedium = \"rgba(255, 255, 255, 0.29)\";\nexport const purpurColorBorderMediumNegative = \"rgba(0, 0, 0, 0.33)\";\nexport const purpurColorBorderStrong = \"rgba(255, 255, 255, 0.46)\";\nexport const purpurColorBorderStrongNegative = \"rgba(0, 0, 0, 0.54)\";\nexport const purpurColorBorderWeak = \"rgba(255, 255, 255, 0.16)\";\nexport const purpurColorBorderWeakNegative = \"rgba(0, 0, 0, 0.16)\";\nexport const purpurColorBorderInteractiveFocus = \"#c461f7\";\nexport const purpurColorBorderInteractivePrimary = \"#f4e0ff\";\nexport const purpurColorBorderInteractivePrimaryNegative = \"#6d02a3\";\nexport const purpurColorBorderInteractivePrimaryHover = \"#faf0ff\";\nexport const purpurColorBorderInteractivePrimaryActive = \"#ffffff\";\nexport const purpurColorBorderInteractivePrimaryHoverNegative = \"#4e0174\";\nexport const purpurColorBorderInteractivePrimaryActiveNegative = \"#29003e\";\nexport const purpurColorBorderInteractiveExpressive = \"#990ae3\";\nexport const purpurColorBorderInteractiveSelected = \"#d58df9\";\nexport const purpurColorBorderInteractiveSubtle = \"rgba(255, 255, 255, 0.37)\";\nexport const purpurColorBorderInteractiveSubtleNegative = \"rgba(0, 0, 0, 0.44)\";\nexport const purpurColorBorderInteractiveSubtleHover = \"#e4b6fb\";\nexport const purpurColorBorderInteractiveSubtleHoverNegative = \"#6d02a3\";\nexport const purpurColorBorderStatusError = \"#fb4885\";\nexport const purpurColorBorderStatusErrorNegative = \"#e4175c\";\nexport const purpurColorBorderStatusWarning = \"#f39200\";\nexport const purpurColorBorderStatusInfo = \"#3694d3\";\nexport const purpurColorBorderStatusSuccess = \"#1fa15e\";\nexport const purpurColorBorderStatusSuccessNegative = \"#018842\";\nexport const purpurColorOverlayDefault = \"rgba(0, 0, 0, 0.71)\";\nexport const purpurColorGradientAiBottom = \"#62b2e7\";\nexport const purpurColorGradientAiBottomNegative = \"#3694d3\";\nexport const purpurColorGradientAiTop = \"#d58df9\";\nexport const purpurColorGradientAiTopNegative = \"#b12df4\";\n","import {\n purpurColorBackgroundInteractiveAutoFill,\n purpurColorBackgroundInteractiveDestructive,\n purpurColorBackgroundInteractiveDestructiveActive,\n purpurColorBackgroundInteractiveDestructiveHover,\n purpurColorBackgroundInteractiveDisabled,\n purpurColorBackgroundInteractiveDisabledNegative,\n purpurColorBackgroundInteractiveExpressive,\n purpurColorBackgroundInteractiveExpressiveActive,\n purpurColorBackgroundInteractiveExpressiveActiveNegative,\n purpurColorBackgroundInteractiveExpressiveHover,\n purpurColorBackgroundInteractiveExpressiveHoverNegative,\n purpurColorBackgroundInteractiveExpressiveNegative,\n purpurColorBackgroundInteractiveInactive,\n purpurColorBackgroundInteractiveInactiveNegative,\n purpurColorBackgroundInteractivePrimary,\n purpurColorBackgroundInteractivePrimaryActive,\n purpurColorBackgroundInteractivePrimaryActiveNegative,\n purpurColorBackgroundInteractivePrimaryHover,\n purpurColorBackgroundInteractivePrimaryHoverNegative,\n purpurColorBackgroundInteractivePrimaryNegative,\n purpurColorBackgroundInteractiveReadOnly,\n purpurColorBackgroundInteractiveReadOnlyNegative,\n purpurColorBackgroundInteractiveTransparentActive,\n purpurColorBackgroundInteractiveTransparentActiveNegative,\n purpurColorBackgroundInteractiveTransparentHover,\n purpurColorBackgroundInteractiveTransparentHoverNegative,\n purpurColorBackgroundOnImage,\n purpurColorBackgroundOnImageNegative,\n purpurColorBackgroundPrimary,\n purpurColorBackgroundPrimaryNegative,\n purpurColorBackgroundSecondary,\n purpurColorBackgroundSecondaryNegative,\n purpurColorBackgroundStatusAttention,\n purpurColorBackgroundStatusBlackFriday,\n purpurColorBackgroundStatusErrorMedium,\n purpurColorBackgroundStatusErrorStrong,\n purpurColorBackgroundStatusErrorStrongNegative,\n purpurColorBackgroundStatusInfoMedium,\n purpurColorBackgroundStatusInfoStrong,\n purpurColorBackgroundStatusNeutral,\n purpurColorBackgroundStatusSpecial,\n purpurColorBackgroundStatusSuccessMedium,\n purpurColorBackgroundStatusSuccessStrong,\n purpurColorBackgroundStatusSuccessStrongNegative,\n purpurColorBackgroundStatusWarningMedium,\n purpurColorBackgroundStatusWarningStrong,\n purpurColorBackgroundStatusWarningStrongNegative,\n purpurColorBackgroundToneOnTonePrimary,\n purpurColorBackgroundToneOnToneQuaternary,\n purpurColorBackgroundToneOnToneSecondary,\n purpurColorBackgroundToneOnToneTertiary,\n purpurColorBorderInteractiveExpressive,\n purpurColorBorderInteractiveFocus,\n purpurColorBorderInteractivePrimary,\n purpurColorBorderInteractivePrimaryActive,\n purpurColorBorderInteractivePrimaryActiveNegative,\n purpurColorBorderInteractivePrimaryHover,\n purpurColorBorderInteractivePrimaryHoverNegative,\n purpurColorBorderInteractivePrimaryNegative,\n purpurColorBorderInteractiveSelected,\n purpurColorBorderInteractiveSubtle,\n purpurColorBorderInteractiveSubtleHover,\n purpurColorBorderInteractiveSubtleHoverNegative,\n purpurColorBorderInteractiveSubtleNegative,\n purpurColorBorderMedium,\n purpurColorBorderMediumNegative,\n purpurColorBorderStatusError,\n purpurColorBorderStatusErrorNegative,\n purpurColorBorderStatusInfo,\n purpurColorBorderStatusSuccess,\n purpurColorBorderStatusSuccessNegative,\n purpurColorBorderStatusWarning,\n purpurColorBorderStrong,\n purpurColorBorderStrongNegative,\n purpurColorBorderWeak,\n purpurColorBorderWeakNegative,\n purpurColorBrandBeige,\n purpurColorBrandCorePurple,\n purpurColorBrandDeepBeige,\n purpurColorBrandDeepPurple,\n purpurColorBrandLightBeige,\n purpurColorBrandLightPurple,\n purpurColorBrandOffBlack,\n purpurColorBrandWhite,\n purpurColorTextDefault,\n purpurColorTextDefaultNegative,\n purpurColorTextInteractiveOnDestructive,\n purpurColorTextInteractiveOnExpressive,\n purpurColorTextInteractiveOnExpressiveActive,\n purpurColorTextInteractiveOnExpressiveActiveNegative,\n purpurColorTextInteractiveOnExpressiveHover,\n purpurColorTextInteractiveOnExpressiveHoverNegative,\n purpurColorTextInteractiveOnExpressiveNegative,\n purpurColorTextInteractiveOnPrimary,\n purpurColorTextInteractiveOnPrimaryNegative,\n purpurColorTextInteractivePrimary,\n purpurColorTextInteractivePrimaryActive,\n purpurColorTextInteractivePrimaryActiveNegative,\n purpurColorTextInteractivePrimaryHover,\n purpurColorTextInteractivePrimaryHoverNegative,\n purpurColorTextInteractivePrimaryNegative,\n purpurColorTextInteractiveSelected,\n purpurColorTextMedium,\n purpurColorTextMediumNegative,\n purpurColorTextStatusAttention,\n purpurColorTextStatusBlackFriday,\n purpurColorTextStatusDiscount,\n purpurColorTextStatusErrorMedium,\n purpurColorTextStatusErrorMediumNegative,\n purpurColorTextStatusErrorStrong,\n purpurColorTextStatusErrorStrongNegative,\n purpurColorTextStatusInfoMedium,\n purpurColorTextStatusInfoStrong,\n purpurColorTextStatusNeutral,\n purpurColorTextStatusSpecial,\n purpurColorTextStatusSuccessMedium,\n purpurColorTextStatusSuccessStrong,\n purpurColorTextStatusSuccessStrongNegative,\n purpurColorTextStatusWarningMedium,\n purpurColorTextStatusWarningMediumNegative,\n purpurColorTextStatusWarningStrong,\n purpurColorTextToneOnTonePrimary,\n purpurColorTextToneOnToneSecondary,\n purpurColorTextToneOnToneTertiary,\n purpurColorTextWeak,\n purpurColorTextWeakNegative,\n} from \"@purpur/tokens/dark\";\n\nimport type { ThemeProps } from \"./theme-props\";\n\nexport const dark = {\n colorBrandDeepPurple: purpurColorBrandDeepPurple,\n colorBrandCorePurple: purpurColorBrandCorePurple,\n colorBrandLightPurple: purpurColorBrandLightPurple,\n colorBrandDeepBeige: purpurColorBrandDeepBeige,\n colorBrandBeige: purpurColorBrandBeige,\n colorBrandLightBeige: purpurColorBrandLightBeige,\n colorBrandOffBlack: purpurColorBrandOffBlack,\n colorBrandWhite: purpurColorBrandWhite,\n\n colorTextDefault: purpurColorTextDefault,\n colorTextMedium: purpurColorTextMedium,\n colorTextWeak: purpurColorTextWeak,\n colorTextDefaultNegative: purpurColorTextDefaultNegative,\n colorTextMediumNegative: purpurColorTextMediumNegative,\n colorTextWeakNegative: purpurColorTextWeakNegative,\n\n colorTextInteractivePrimary: purpurColorTextInteractivePrimary,\n colorTextInteractivePrimaryHover: purpurColorTextInteractivePrimaryHover,\n colorTextInteractivePrimaryActive: purpurColorTextInteractivePrimaryActive,\n colorTextInteractiveOnPrimary: purpurColorTextInteractiveOnPrimary,\n colorTextInteractiveOnExpressive: purpurColorTextInteractiveOnExpressive,\n colorTextInteractiveOnExpressiveHover: purpurColorTextInteractiveOnExpressiveHover,\n colorTextInteractiveOnExpressiveActive: purpurColorTextInteractiveOnExpressiveActive,\n colorTextInteractiveOnDestructive: purpurColorTextInteractiveOnDestructive,\n colorTextInteractiveSelected: purpurColorTextInteractiveSelected,\n colorTextInteractivePrimaryNegative: purpurColorTextInteractivePrimaryNegative,\n colorTextInteractivePrimaryHoverNegative: purpurColorTextInteractivePrimaryHoverNegative,\n colorTextInteractivePrimaryActiveNegative: purpurColorTextInteractivePrimaryActiveNegative,\n colorTextInteractiveOnPrimaryNegative: purpurColorTextInteractiveOnPrimaryNegative,\n colorTextInteractiveOnExpressiveNegative: purpurColorTextInteractiveOnExpressiveNegative,\n colorTextInteractiveOnExpressiveHoverNegative:\n purpurColorTextInteractiveOnExpressiveHoverNegative,\n colorTextInteractiveOnExpressiveActiveNegative:\n purpurColorTextInteractiveOnExpressiveActiveNegative,\n\n colorTextStatusInfoMedium: purpurColorTextStatusInfoMedium,\n colorTextStatusInfoStrong: purpurColorTextStatusInfoStrong,\n colorTextStatusSuccessMedium: purpurColorTextStatusSuccessMedium,\n colorTextStatusSuccessStrong: purpurColorTextStatusSuccessStrong,\n colorTextStatusWarningMedium: purpurColorTextStatusWarningMedium,\n colorTextStatusWarningStrong: purpurColorTextStatusWarningStrong,\n colorTextStatusErrorMedium: purpurColorTextStatusErrorMedium,\n colorTextStatusErrorStrong: purpurColorTextStatusErrorStrong,\n colorTextStatusNeutral: purpurColorTextStatusNeutral,\n colorTextStatusSpecial: purpurColorTextStatusSpecial,\n colorTextStatusAttention: purpurColorTextStatusAttention,\n colorTextStatusDiscount: purpurColorTextStatusDiscount,\n colorTextStatusBlackFriday: purpurColorTextStatusBlackFriday,\n colorTextStatusSuccessStrongNegative: purpurColorTextStatusSuccessStrongNegative,\n colorTextStatusErrorMediumNegative: purpurColorTextStatusErrorMediumNegative,\n colorTextStatusErrorStrongNegative: purpurColorTextStatusErrorStrongNegative,\n colorTextStatusWarningMediumNegative: purpurColorTextStatusWarningMediumNegative,\n\n colorTextToneOnTonePrimary: purpurColorTextToneOnTonePrimary,\n colorTextToneOnToneSecondary: purpurColorTextToneOnToneSecondary,\n colorTextToneOnToneTertiary: purpurColorTextToneOnToneTertiary,\n\n colorBackgroundPrimary: purpurColorBackgroundPrimary,\n colorBackgroundSecondary: purpurColorBackgroundSecondary,\n colorBackgroundOnImage: purpurColorBackgroundOnImage,\n colorBackgroundPrimaryNegative: purpurColorBackgroundPrimaryNegative,\n colorBackgroundSecondaryNegative: purpurColorBackgroundSecondaryNegative,\n colorBackgroundOnImageNegative: purpurColorBackgroundOnImageNegative,\n\n colorBackgroundInteractivePrimary: purpurColorBackgroundInteractivePrimary,\n colorBackgroundInteractivePrimaryHover: purpurColorBackgroundInteractivePrimaryHover,\n colorBackgroundInteractivePrimaryActive: purpurColorBackgroundInteractivePrimaryActive,\n colorBackgroundInteractiveExpressive: purpurColorBackgroundInteractiveExpressive,\n colorBackgroundInteractiveExpressiveHover: purpurColorBackgroundInteractiveExpressiveHover,\n colorBackgroundInteractiveExpressiveActive: purpurColorBackgroundInteractiveExpressiveActive,\n colorBackgroundInteractiveTransparentHover: purpurColorBackgroundInteractiveTransparentHover,\n colorBackgroundInteractiveTransparentActive: purpurColorBackgroundInteractiveTransparentActive,\n colorBackgroundInteractiveDisabled: purpurColorBackgroundInteractiveDisabled,\n colorBackgroundInteractiveReadOnly: purpurColorBackgroundInteractiveReadOnly,\n colorBackgroundInteractiveInactive: purpurColorBackgroundInteractiveInactive,\n colorBackgroundInteractiveDestructive: purpurColorBackgroundInteractiveDestructive,\n colorBackgroundInteractiveDestructiveHover: purpurColorBackgroundInteractiveDestructiveHover,\n colorBackgroundInteractiveDestructiveActive: purpurColorBackgroundInteractiveDestructiveActive,\n colorBackgroundInteractiveAutoFill: purpurColorBackgroundInteractiveAutoFill,\n colorBackgroundInteractivePrimaryNegative: purpurColorBackgroundInteractivePrimaryNegative,\n colorBackgroundInteractivePrimaryHoverNegative:\n purpurColorBackgroundInteractivePrimaryHoverNegative,\n colorBackgroundInteractivePrimaryActiveNegative:\n purpurColorBackgroundInteractivePrimaryActiveNegative,\n colorBackgroundInteractiveExpressiveNegative: purpurColorBackgroundInteractiveExpressiveNegative,\n colorBackgroundInteractiveExpressiveHoverNegative:\n purpurColorBackgroundInteractiveExpressiveHoverNegative,\n colorBackgroundInteractiveExpressiveActiveNegative:\n purpurColorBackgroundInteractiveExpressiveActiveNegative,\n colorBackgroundInteractiveTransparentHoverNegative:\n purpurColorBackgroundInteractiveTransparentHoverNegative,\n colorBackgroundInteractiveTransparentActiveNegative:\n purpurColorBackgroundInteractiveTransparentActiveNegative,\n colorBackgroundInteractiveDisabledNegative: purpurColorBackgroundInteractiveDisabledNegative,\n colorBackgroundInteractiveInactiveNegative: purpurColorBackgroundInteractiveInactiveNegative,\n colorBackgroundInteractiveReadOnlyNegative: purpurColorBackgroundInteractiveReadOnlyNegative,\n\n colorBackgroundStatusInfoMedium: purpurColorBackgroundStatusInfoMedium,\n colorBackgroundStatusInfoStrong: purpurColorBackgroundStatusInfoStrong,\n colorBackgroundStatusSuccessMedium: purpurColorBackgroundStatusSuccessMedium,\n colorBackgroundStatusSuccessStrong: purpurColorBackgroundStatusSuccessStrong,\n colorBackgroundStatusWarningMedium: purpurColorBackgroundStatusWarningMedium,\n colorBackgroundStatusWarningStrong: purpurColorBackgroundStatusWarningStrong,\n colorBackgroundStatusErrorMedium: purpurColorBackgroundStatusErrorMedium,\n colorBackgroundStatusErrorStrong: purpurColorBackgroundStatusErrorStrong,\n colorBackgroundStatusNeutral: purpurColorBackgroundStatusNeutral,\n colorBackgroundStatusSpecial: purpurColorBackgroundStatusSpecial,\n colorBackgroundStatusAttention: purpurColorBackgroundStatusAttention,\n colorBackgroundStatusBlackFriday: purpurColorBackgroundStatusBlackFriday,\n colorBackgroundStatusSuccessStrongNegative: purpurColorBackgroundStatusSuccessStrongNegative,\n colorBackgroundStatusWarningStrongNegative: purpurColorBackgroundStatusWarningStrongNegative,\n colorBackgroundStatusErrorStrongNegative: purpurColorBackgroundStatusErrorStrongNegative,\n\n colorBackgroundToneOnTonePrimary: purpurColorBackgroundToneOnTonePrimary,\n colorBackgroundToneOnToneSecondary: purpurColorBackgroundToneOnToneSecondary,\n colorBackgroundToneOnToneTertiary: purpurColorBackgroundToneOnToneTertiary,\n colorBackgroundToneOnToneQuaternary: purpurColorBackgroundToneOnToneQuaternary,\n\n colorBorderWeak: purpurColorBorderWeak,\n colorBorderMedium: purpurColorBorderMedium,\n colorBorderStrong: purpurColorBorderStrong,\n colorBorderWeakNegative: purpurColorBorderWeakNegative,\n colorBorderMediumNegative: purpurColorBorderMediumNegative,\n colorBorderStrongNegative: purpurColorBorderStrongNegative,\n\n colorBorderInteractivePrimary: purpurColorBorderInteractivePrimary,\n colorBorderInteractivePrimaryHover: purpurColorBorderInteractivePrimaryHover,\n colorBorderInteractivePrimaryActive: purpurColorBorderInteractivePrimaryActive,\n colorBorderInteractiveFocus: purpurColorBorderInteractiveFocus,\n colorBorderInteractiveExpressive: purpurColorBorderInteractiveExpressive,\n colorBorderInteractiveSubtle: purpurColorBorderInteractiveSubtle,\n colorBorderInteractiveSubtleHover: purpurColorBorderInteractiveSubtleHover,\n colorBorderInteractiveSelected: purpurColorBorderInteractiveSelected,\n colorBorderInteractivePrimaryNegative: purpurColorBorderInteractivePrimaryNegative,\n colorBorderInteractivePrimaryHoverNegative: purpurColorBorderInteractivePrimaryHoverNegative,\n colorBorderInteractivePrimaryActiveNegative: purpurColorBorderInteractivePrimaryActiveNegative,\n colorBorderInteractiveSubtleNegative: purpurColorBorderInteractiveSubtleNegative,\n colorBorderInteractiveSubtleHoverNegative: purpurColorBorderInteractiveSubtleHoverNegative,\n\n colorBorderStatusError: purpurColorBorderStatusError,\n colorBorderStatusWarning: purpurColorBorderStatusWarning,\n colorBorderStatusInfo: purpurColorBorderStatusInfo,\n colorBorderStatusSuccess: purpurColorBorderStatusSuccess,\n colorBorderStatusErrorNegative: purpurColorBorderStatusErrorNegative,\n colorBorderStatusSuccessNegative: purpurColorBorderStatusSuccessNegative,\n} satisfies ThemeProps;\n","import {\n purpurColorBackgroundInteractiveAutoFill,\n purpurColorBackgroundInteractiveDestructive,\n purpurColorBackgroundInteractiveDestructiveActive,\n purpurColorBackgroundInteractiveDestructiveHover,\n purpurColorBackgroundInteractiveDisabled,\n purpurColorBackgroundInteractiveDisabledNegative,\n purpurColorBackgroundInteractiveExpressive,\n purpurColorBackgroundInteractiveExpressiveActive,\n purpurColorBackgroundInteractiveExpressiveActiveNegative,\n purpurColorBackgroundInteractiveExpressiveHover,\n purpurColorBackgroundInteractiveExpressiveHoverNegative,\n purpurColorBackgroundInteractiveExpressiveNegative,\n purpurColorBackgroundInteractiveInactive,\n purpurColorBackgroundInteractiveInactiveNegative,\n purpurColorBackgroundInteractivePrimary,\n purpurColorBackgroundInteractivePrimaryActive,\n purpurColorBackgroundInteractivePrimaryActiveNegative,\n purpurColorBackgroundInteractivePrimaryHover,\n purpurColorBackgroundInteractivePrimaryHoverNegative,\n purpurColorBackgroundInteractivePrimaryNegative,\n purpurColorBackgroundInteractiveReadOnly,\n purpurColorBackgroundInteractiveReadOnlyNegative,\n purpurColorBackgroundInteractiveTransparentActive,\n purpurColorBackgroundInteractiveTransparentActiveNegative,\n purpurColorBackgroundInteractiveTransparentHover,\n purpurColorBackgroundInteractiveTransparentHoverNegative,\n purpurColorBackgroundOnImage,\n purpurColorBackgroundOnImageNegative,\n purpurColorBackgroundPrimary,\n purpurColorBackgroundPrimaryNegative,\n purpurColorBackgroundSecondary,\n purpurColorBackgroundSecondaryNegative,\n purpurColorBackgroundStatusAttention,\n purpurColorBackgroundStatusBlackFriday,\n purpurColorBackgroundStatusErrorMedium,\n purpurColorBackgroundStatusErrorStrong,\n purpurColorBackgroundStatusErrorStrongNegative,\n purpurColorBackgroundStatusInfoMedium,\n purpurColorBackgroundStatusInfoStrong,\n purpurColorBackgroundStatusNeutral,\n purpurColorBackgroundStatusSpecial,\n purpurColorBackgroundStatusSuccessMedium,\n purpurColorBackgroundStatusSuccessStrong,\n purpurColorBackgroundStatusSuccessStrongNegative,\n purpurColorBackgroundStatusWarningMedium,\n purpurColorBackgroundStatusWarningStrong,\n purpurColorBackgroundStatusWarningStrongNegative,\n purpurColorBackgroundToneOnTonePrimary,\n purpurColorBackgroundToneOnToneQuaternary,\n purpurColorBackgroundToneOnToneSecondary,\n purpurColorBackgroundToneOnToneTertiary,\n purpurColorBorderInteractiveExpressive,\n purpurColorBorderInteractiveFocus,\n purpurColorBorderInteractivePrimary,\n purpurColorBorderInteractivePrimaryActive,\n purpurColorBorderInteractivePrimaryActiveNegative,\n purpurColorBorderInteractivePrimaryHover,\n purpurColorBorderInteractivePrimaryHoverNegative,\n purpurColorBorderInteractivePrimaryNegative,\n purpurColorBorderInteractiveSelected,\n purpurColorBorderInteractiveSubtle,\n purpurColorBorderInteractiveSubtleHover,\n purpurColorBorderInteractiveSubtleHoverNegative,\n purpurColorBorderInteractiveSubtleNegative,\n purpurColorBorderMedium,\n purpurColorBorderMediumNegative,\n purpurColorBorderStatusError,\n purpurColorBorderStatusErrorNegative,\n purpurColorBorderStatusInfo,\n purpurColorBorderStatusSuccess,\n purpurColorBorderStatusSuccessNegative,\n purpurColorBorderStatusWarning,\n purpurColorBorderStrong,\n purpurColorBorderStrongNegative,\n purpurColorBorderWeak,\n purpurColorBorderWeakNegative,\n purpurColorBrandBeige,\n purpurColorBrandCorePurple,\n purpurColorBrandDeepBeige,\n purpurColorBrandDeepPurple,\n purpurColorBrandLightBeige,\n purpurColorBrandLightPurple,\n purpurColorBrandOffBlack,\n purpurColorBrandWhite,\n purpurColorTextDefault,\n purpurColorTextDefaultNegative,\n purpurColorTextInteractiveOnDestructive,\n purpurColorTextInteractiveOnExpressive,\n purpurColorTextInteractiveOnExpressiveActive,\n purpurColorTextInteractiveOnExpressiveActiveNegative,\n purpurColorTextInteractiveOnExpressiveHover,\n purpurColorTextInteractiveOnExpressiveHoverNegative,\n purpurColorTextInteractiveOnExpressiveNegative,\n purpurColorTextInteractiveOnPrimary,\n purpurColorTextInteractiveOnPrimaryNegative,\n purpurColorTextInteractivePrimary,\n purpurColorTextInteractivePrimaryActive,\n purpurColorTextInteractivePrimaryActiveNegative,\n purpurColorTextInteractivePrimaryHover,\n purpurColorTextInteractivePrimaryHoverNegative,\n purpurColorTextInteractivePrimaryNegative,\n purpurColorTextInteractiveSelected,\n purpurColorTextMedium,\n purpurColorTextMediumNegative,\n purpurColorTextStatusAttention,\n purpurColorTextStatusBlackFriday,\n purpurColorTextStatusDiscount,\n purpurColorTextStatusErrorMedium,\n purpurColorTextStatusErrorMediumNegative,\n purpurColorTextStatusErrorStrong,\n purpurColorTextStatusErrorStrongNegative,\n purpurColorTextStatusInfoMedium,\n purpurColorTextStatusInfoStrong,\n purpurColorTextStatusNeutral,\n purpurColorTextStatusSpecial,\n purpurColorTextStatusSuccessMedium,\n purpurColorTextStatusSuccessStrong,\n purpurColorTextStatusSuccessStrongNegative,\n purpurColorTextStatusWarningMedium,\n purpurColorTextStatusWarningMediumNegative,\n purpurColorTextStatusWarningStrong,\n purpurColorTextToneOnTonePrimary,\n purpurColorTextToneOnToneSecondary,\n purpurColorTextToneOnToneTertiary,\n purpurColorTextWeak,\n purpurColorTextWeakNegative,\n} from \"@purpur/tokens\";\n\nimport type { ThemeProps } from \"./theme-props\";\n\nexport const light = {\n colorBrandDeepPurple: purpurColorBrandDeepPurple,\n colorBrandCorePurple: purpurColorBrandCorePurple,\n colorBrandLightPurple: purpurColorBrandLightPurple,\n colorBrandDeepBeige: purpurColorBrandDeepBeige,\n colorBrandBeige: purpurColorBrandBeige,\n colorBrandLightBeige: purpurColorBrandLightBeige,\n colorBrandOffBlack: purpurColorBrandOffBlack,\n colorBrandWhite: purpurColorBrandWhite,\n\n colorTextDefault: purpurColorTextDefault,\n colorTextMedium: purpurColorTextMedium,\n colorTextWeak: purpurColorTextWeak,\n colorTextDefaultNegative: purpurColorTextDefaultNegative,\n colorTextMediumNegative: purpurColorTextMediumNegative,\n colorTextWeakNegative: purpurColorTextWeakNegative,\n\n colorTextInteractivePrimary: purpurColorTextInteractivePrimary,\n colorTextInteractivePrimaryHover: purpurColorTextInteractivePrimaryHover,\n colorTextInteractivePrimaryActive: purpurColorTextInteractivePrimaryActive,\n colorTextInteractiveOnPrimary: purpurColorTextInteractiveOnPrimary,\n colorTextInteractiveOnExpressive: purpurColorTextInteractiveOnExpressive,\n colorTextInteractiveOnExpressiveHover: purpurColorTextInteractiveOnExpressiveHover,\n colorTextInteractiveOnExpressiveActive: purpurColorTextInteractiveOnExpressiveActive,\n colorTextInteractiveOnDestructive: purpurColorTextInteractiveOnDestructive,\n colorTextInteractiveSelected: purpurColorTextInteractiveSelected,\n colorTextInteractivePrimaryNegative: purpurColorTextInteractivePrimaryNegative,\n colorTextInteractivePrimaryHoverNegative: purpurColorTextInteractivePrimaryHoverNegative,\n colorTextInteractivePrimaryActiveNegative: purpurColorTextInteractivePrimaryActiveNegative,\n colorTextInteractiveOnPrimaryNegative: purpurColorTextInteractiveOnPrimaryNegative,\n colorTextInteractiveOnExpressiveNegative: purpurColorTextInteractiveOnExpressiveNegative,\n colorTextInteractiveOnExpressiveHoverNegative:\n purpurColorTextInteractiveOnExpressiveHoverNegative,\n colorTextInteractiveOnExpressiveActiveNegative:\n purpurColorTextInteractiveOnExpressiveActiveNegative,\n\n colorTextStatusInfoMedium: purpurColorTextStatusInfoMedium,\n colorTextStatusInfoStrong: purpurColorTextStatusInfoStrong,\n colorTextStatusSuccessMedium: purpurColorTextStatusSuccessMedium,\n colorTextStatusSuccessStrong: purpurColorTextStatusSuccessStrong,\n colorTextStatusWarningMedium: purpurColorTextStatusWarningMedium,\n colorTextStatusWarningStrong: purpurColorTextStatusWarningStrong,\n colorTextStatusErrorMedium: purpurColorTextStatusErrorMedium,\n colorTextStatusErrorStrong: purpurColorTextStatusErrorStrong,\n colorTextStatusNeutral: purpurColorTextStatusNeutral,\n colorTextStatusSpecial: purpurColorTextStatusSpecial,\n colorTextStatusAttention: purpurColorTextStatusAttention,\n colorTextStatusDiscount: purpurColorTextStatusDiscount,\n colorTextStatusBlackFriday: purpurColorTextStatusBlackFriday,\n colorTextStatusSuccessStrongNegative: purpurColorTextStatusSuccessStrongNegative,\n colorTextStatusErrorMediumNegative: purpurColorTextStatusErrorMediumNegative,\n colorTextStatusErrorStrongNegative: purpurColorTextStatusErrorStrongNegative,\n colorTextStatusWarningMediumNegative: purpurColorTextStatusWarningMediumNegative,\n\n colorTextToneOnTonePrimary: purpurColorTextToneOnTonePrimary,\n colorTextToneOnToneSecondary: purpurColorTextToneOnToneSecondary,\n colorTextToneOnToneTertiary: purpurColorTextToneOnToneTertiary,\n\n colorBackgroundPrimary: purpurColorBackgroundPrimary,\n colorBackgroundSecondary: purpurColorBackgroundSecondary,\n colorBackgroundOnImage: purpurColorBackgroundOnImage,\n colorBackgroundPrimaryNegative: purpurColorBackgroundPrimaryNegative,\n colorBackgroundSecondaryNegative: purpurColorBackgroundSecondaryNegative,\n colorBackgroundOnImageNegative: purpurColorBackgroundOnImageNegative,\n\n colorBackgroundInteractivePrimary: purpurColorBackgroundInteractivePrimary,\n colorBackgroundInteractivePrimaryHover: purpurColorBackgroundInteractivePrimaryHover,\n colorBackgroundInteractivePrimaryActive: purpurColorBackgroundInteractivePrimaryActive,\n colorBackgroundInteractiveExpressive: purpurColorBackgroundInteractiveExpressive,\n colorBackgroundInteractiveExpressiveHover: purpurColorBackgroundInteractiveExpressiveHover,\n colorBackgroundInteractiveExpressiveActive: purpurColorBackgroundInteractiveExpressiveActive,\n colorBackgroundInteractiveTransparentHover: purpurColorBackgroundInteractiveTransparentHover,\n colorBackgroundInteractiveTransparentActive: purpurColorBackgroundInteractiveTransparentActive,\n colorBackgroundInteractiveDisabled: purpurColorBackgroundInteractiveDisabled,\n colorBackgroundInteractiveReadOnly: purpurColorBackgroundInteractiveReadOnly,\n colorBackgroundInteractiveInactive: purpurColorBackgroundInteractiveInactive,\n colorBackgroundInteractiveDestructive: purpurColorBackgroundInteractiveDestructive,\n colorBackgroundInteractiveDestructiveHover: purpurColorBackgroundInteractiveDestructiveHover,\n colorBackgroundInteractiveDestructiveActive: purpurColorBackgroundInteractiveDestructiveActive,\n colorBackgroundInteractiveAutoFill: purpurColorBackgroundInteractiveAutoFill,\n colorBackgroundInteractivePrimaryNegative: purpurColorBackgroundInteractivePrimaryNegative,\n colorBackgroundInteractivePrimaryHoverNegative:\n purpurColorBackgroundInteractivePrimaryHoverNegative,\n colorBackgroundInteractivePrimaryActiveNegative:\n purpurColorBackgroundInteractivePrimaryActiveNegative,\n colorBackgroundInteractiveExpressiveNegative: purpurColorBackgroundInteractiveExpressiveNegative,\n colorBackgroundInteractiveExpressiveHoverNegative:\n purpurColorBackgroundInteractiveExpressiveHoverNegative,\n colorBackgroundInteractiveExpressiveActiveNegative:\n purpurColorBackgroundInteractiveExpressiveActiveNegative,\n colorBackgroundInteractiveTransparentHoverNegative:\n purpurColorBackgroundInteractiveTransparentHoverNegative,\n colorBackgroundInteractiveTransparentActiveNegative:\n purpurColorBackgroundInteractiveTransparentActiveNegative,\n colorBackgroundInteractiveDisabledNegative: purpurColorBackgroundInteractiveDisabledNegative,\n colorBackgroundInteractiveInactiveNegative: purpurColorBackgroundInteractiveInactiveNegative,\n colorBackgroundInteractiveReadOnlyNegative: purpurColorBackgroundInteractiveReadOnlyNegative,\n\n colorBackgroundStatusInfoMedium: purpurColorBackgroundStatusInfoMedium,\n colorBackgroundStatusInfoStrong: purpurColorBackgroundStatusInfoStrong,\n colorBackgroundStatusSuccessMedium: purpurColorBackgroundStatusSuccessMedium,\n colorBackgroundStatusSuccessStrong: purpurColorBackgroundStatusSuccessStrong,\n colorBackgroundStatusWarningMedium: purpurColorBackgroundStatusWarningMedium,\n colorBackgroundStatusWarningStrong: purpurColorBackgroundStatusWarningStrong,\n colorBackgroundStatusErrorMedium: purpurColorBackgroundStatusErrorMedium,\n colorBackgroundStatusErrorStrong: purpurColorBackgroundStatusErrorStrong,\n colorBackgroundStatusNeutral: purpurColorBackgroundStatusNeutral,\n colorBackgroundStatusSpecial: purpurColorBackgroundStatusSpecial,\n colorBackgroundStatusAttention: purpurColorBackgroundStatusAttention,\n colorBackgroundStatusBlackFriday: purpurColorBackgroundStatusBlackFriday,\n colorBackgroundStatusSuccessStrongNegative: purpurColorBackgroundStatusSuccessStrongNegative,\n colorBackgroundStatusWarningStrongNegative: purpurColorBackgroundStatusWarningStrongNegative,\n colorBackgroundStatusErrorStrongNegative: purpurColorBackgroundStatusErrorStrongNegative,\n\n colorBackgroundToneOnTonePrimary: purpurColorBackgroundToneOnTonePrimary,\n colorBackgroundToneOnToneSecondary: purpurColorBackgroundToneOnToneSecondary,\n colorBackgroundToneOnToneTertiary: purpurColorBackgroundToneOnToneTertiary,\n colorBackgroundToneOnToneQuaternary: purpurColorBackgroundToneOnToneQuaternary,\n\n colorBorderWeak: purpurColorBorderWeak,\n colorBorderMedium: purpurColorBorderMedium,\n colorBorderStrong: purpurColorBorderStrong,\n colorBorderWeakNegative: purpurColorBorderWeakNegative,\n colorBorderMediumNegative: purpurColorBorderMediumNegative,\n colorBorderStrongNegative: purpurColorBorderStrongNegative,\n\n colorBorderInteractivePrimary: purpurColorBorderInteractivePrimary,\n colorBorderInteractivePrimaryHover: purpurColorBorderInteractivePrimaryHover,\n colorBorderInteractivePrimaryActive: purpurColorBorderInteractivePrimaryActive,\n colorBorderInteractiveFocus: purpurColorBorderInteractiveFocus,\n colorBorderInteractiveExpressive: purpurColorBorderInteractiveExpressive,\n colorBorderInteractiveSubtle: purpurColorBorderInteractiveSubtle,\n colorBorderInteractiveSubtleHover: purpurColorBorderInteractiveSubtleHover,\n colorBorderInteractiveSelected: purpurColorBorderInteractiveSelected,\n colorBorderInteractivePrimaryNegative: purpurColorBorderInteractivePrimaryNegative,\n colorBorderInteractivePrimaryHoverNegative: purpurColorBorderInteractivePrimaryHoverNegative,\n colorBorderInteractivePrimaryActiveNegative: purpurColorBorderInteractivePrimaryActiveNegative,\n colorBorderInteractiveSubtleNegative: purpurColorBorderInteractiveSubtleNegative,\n colorBorderInteractiveSubtleHoverNegative: purpurColorBorderInteractiveSubtleHoverNegative,\n\n colorBorderStatusError: purpurColorBorderStatusError,\n colorBorderStatusWarning: purpurColorBorderStatusWarning,\n colorBorderStatusInfo: purpurColorBorderStatusInfo,\n colorBorderStatusSuccess: purpurColorBorderStatusSuccess,\n colorBorderStatusErrorNegative: purpurColorBorderStatusErrorNegative,\n colorBorderStatusSuccessNegative: purpurColorBorderStatusSuccessNegative,\n} satisfies ThemeProps;\n","import { dark } from \"./telia-dark\";\nimport { light } from \"./telia-light\";\nimport type { ThemeProps } from \"./theme-props\";\n\nexport const teliaTheme = {\n light,\n dark,\n} satisfies { light: ThemeProps; dark: ThemeProps };\n","import { useEffect } from \"react\";\n\nimport { teliaTheme } from \"./telia-theme\";\nimport type { ColorScheme, Theme } from \"./types\";\n\nconst toKebabCase = (str: string) => str.replace(/([a-z0-9])([A-Z])/g, \"$1-$2\").toLowerCase();\n\ntype Props = {\n theme?: Theme;\n cssVariablesSelector?: string;\n currentColorScheme?: ColorScheme;\n};\n\nexport const useApplyTheme = ({\n theme = teliaTheme,\n cssVariablesSelector,\n currentColorScheme,\n}: Props) => {\n useEffect(() => {\n if (currentColorScheme) {\n Object.entries(theme?.[currentColorScheme] ?? teliaTheme[currentColorScheme]).forEach(\n ([key, value]) => {\n const element = cssVariablesSelector\n ? (document.querySelector(cssVariablesSelector) as HTMLElement)\n : null;\n\n (element ?? document.documentElement).style.setProperty(\n `--purpur-${toKebabCase(key)}`,\n value\n );\n }\n );\n }\n }, [theme, cssVariablesSelector, currentColorScheme]);\n};\n","import React, {\n createContext,\n type ReactNode,\n useContext,\n useEffect,\n useMemo,\n useState,\n} from \"react\";\nimport type { BaseProps } from \"@purpur/common-types\";\n\nimport type { ThemeProps } from \"./theme-props\";\nimport type { ColorOptions, ColorScheme, ThemeContextType } from \"./types\";\nimport { useApplyTheme } from \"./useApplyTheme\";\n\nconst ThemeContext = createContext<ThemeContextType>({\n colorScheme: \"light\",\n currentColorScheme: \"light\",\n setColorScheme: () => {},\n options: {},\n});\n\ntype PropsBase = Omit<BaseProps, \"children\"> & {\n children: ReactNode;\n cssVariablesSelector?: string;\n options?: ThemeContextType[\"options\"];\n};\n\nexport type Props =\n | PropsBase &\n (\n | {\n theme: { light: ThemeProps; dark?: never };\n forceColorScheme: \"light\";\n }\n | {\n theme?: { light: ThemeProps; dark: ThemeProps };\n forceColorScheme?: ColorScheme;\n }\n );\n\nexport const ThemeProvider = ({\n cssVariablesSelector,\n forceColorScheme,\n theme,\n children,\n options = {},\n ...props\n}: Props) => {\n const [colorScheme, setColorScheme] = useState<ColorOptions>(forceColorScheme ?? \"auto\");\n const [currentColorScheme, setCurrentColorScheme] = useState<ColorScheme>(\n forceColorScheme ?? \"light\"\n );\n\n useEffect(() => {\n if (!forceColorScheme) {\n const savedColorScheme = localStorage.getItem(\"colorScheme\") as ColorOptions | null;\n if (savedColorScheme) {\n setColorScheme(savedColorScheme);\n }\n } else {\n setColorScheme(forceColorScheme);\n }\n }, [forceColorScheme]);\n\n useEffect(() => {\n const mediaQuery = window.matchMedia(\"(prefers-color-scheme: dark)\");\n\n if (colorScheme === \"auto\") {\n setCurrentColorScheme(mediaQuery.matches ? \"dark\" : \"light\");\n } else {\n setCurrentColorScheme(colorScheme);\n }\n\n const handleChange = (e: MediaQueryListEvent) => {\n if (!forceColorScheme && colorScheme === \"auto\") {\n setCurrentColorScheme(e.matches ? \"dark\" : \"light\");\n }\n };\n\n mediaQuery.addEventListener(\"change\", handleChange);\n\n return () => {\n mediaQuery.removeEventListener(\"change\", handleChange);\n };\n }, [colorScheme, forceColorScheme]);\n\n const isCustomTheme = theme !== undefined;\n\n useApplyTheme({\n theme,\n cssVariablesSelector,\n currentColorScheme: isCustomTheme ? currentColorScheme : undefined,\n });\n\n const contextValue = useMemo(\n () => ({\n colorScheme,\n currentColorScheme,\n setColorScheme: (scheme: ColorOptions) => {\n if (!forceColorScheme) {\n setColorScheme(scheme);\n localStorage.setItem(\"colorScheme\", scheme);\n }\n },\n }),\n [colorScheme, currentColorScheme, forceColorScheme]\n );\n\n return (\n <ThemeContext.Provider value={{ ...contextValue, options }}>\n <div data-color-scheme={currentColorScheme} className={currentColorScheme} {...props}>\n {children}\n </div>\n </ThemeContext.Provider>\n );\n};\n\nexport const useTheme = (): ThemeContextType => {\n const context = useContext(ThemeContext);\n if (!context) {\n throw new Error(\"useTheme must be used within a ThemeProvider\");\n }\n return context;\n};\n"],"names":["purpurColorBrandDeepPurple","purpurColorBrandCorePurple","purpurColorBrandLightPurple","purpurColorBrandDeepBeige","purpurColorBrandBeige","purpurColorBrandLightBeige","purpurColorBrandOffBlack","purpurColorBrandWhite","purpurColorTextDefault","purpurColorTextMedium","purpurColorTextWeak","purpurColorTextDefaultNegative","purpurColorTextMediumNegative","purpurColorTextWeakNegative","purpurColorTextInteractivePrimary","purpurColorTextInteractivePrimaryHover","purpurColorTextInteractivePrimaryActive","purpurColorTextInteractiveOnPrimary","purpurColorTextInteractiveOnPrimaryNegative","purpurColorTextInteractivePrimaryNegative","purpurColorTextInteractivePrimaryHoverNegative","purpurColorTextInteractivePrimaryActiveNegative","purpurColorTextInteractiveOnExpressive","purpurColorTextInteractiveOnExpressiveNegative","purpurColorTextInteractiveOnExpressiveHover","purpurColorTextInteractiveOnExpressiveHoverNegative","purpurColorTextInteractiveOnExpressiveActive","purpurColorTextInteractiveOnExpressiveActiveNegative","purpurColorTextInteractiveOnDestructive","purpurColorTextInteractiveSelected","purpurColorTextStatusDiscount","purpurColorTextStatusErrorStrong","purpurColorTextStatusErrorStrongNegative","purpurColorTextStatusErrorMedium","purpurColorTextStatusErrorMediumNegative","purpurColorTextStatusSuccessStrong","purpurColorTextStatusSuccessStrongNegative","purpurColorTextStatusSuccessMedium","purpurColorTextStatusWarningStrong","purpurColorTextStatusWarningMedium","purpurColorTextStatusWarningMediumNegative","purpurColorTextStatusInfoStrong","purpurColorTextStatusInfoMedium","purpurColorTextStatusNeutral","purpurColorTextStatusSpecial","purpurColorTextStatusAttention","purpurColorTextStatusBlackFriday","purpurColorTextToneOnTonePrimary","purpurColorTextToneOnToneSecondary","purpurColorTextToneOnToneTertiary","purpurColorBackgroundPrimary","purpurColorBackgroundPrimaryNegative","purpurColorBackgroundSecondary","purpurColorBackgroundSecondaryNegative","purpurColorBackgroundOnImage","purpurColorBackgroundOnImageNegative","purpurColorBackgroundInteractiveAutoFill","purpurColorBackgroundInteractivePrimary","purpurColorBackgroundInteractivePrimaryHover","purpurColorBackgroundInteractivePrimaryActive","purpurColorBackgroundInteractivePrimaryNegative","purpurColorBackgroundInteractivePrimaryHoverNegative","purpurColorBackgroundInteractivePrimaryActiveNegative","purpurColorBackgroundInteractiveExpressive","purpurColorBackgroundInteractiveExpressiveHover","purpurColorBackgroundInteractiveExpressiveActive","purpurColorBackgroundInteractiveExpressiveNegative","purpurColorBackgroundInteractiveExpressiveHoverNegative","purpurColorBackgroundInteractiveExpressiveActiveNegative","purpurColorBackgroundInteractiveDisabled","purpurColorBackgroundInteractiveDisabledNegative","purpurColorBackgroundInteractiveTransparentHover","purpurColorBackgroundInteractiveTransparentHoverNegative","purpurColorBackgroundInteractiveTransparentActive","purpurColorBackgroundInteractiveTransparentActiveNegative","purpurColorBackgroundInteractiveInactive","purpurColorBackgroundInteractiveInactiveNegative","purpurColorBackgroundInteractiveReadOnly","purpurColorBackgroundInteractiveReadOnlyNegative","purpurColorBackgroundInteractiveDestructive","purpurColorBackgroundInteractiveDestructiveHover","purpurColorBackgroundInteractiveDestructiveActive","purpurColorBackgroundStatusInfoMedium","purpurColorBackgroundStatusInfoStrong","purpurColorBackgroundStatusSuccessMedium","purpurColorBackgroundStatusSuccessStrong","purpurColorBackgroundStatusSuccessStrongNegative","purpurColorBackgroundStatusErrorMedium","purpurColorBackgroundStatusErrorStrong","purpurColorBackgroundStatusErrorStrongNegative","purpurColorBackgroundStatusWarningMedium","purpurColorBackgroundStatusWarningStrong","purpurColorBackgroundStatusWarningStrongNegative","purpurColorBackgroundStatusNeutral","purpurColorBackgroundStatusSpecial","purpurColorBackgroundStatusAttention","purpurColorBackgroundStatusBlackFriday","purpurColorBackgroundToneOnTonePrimary","purpurColorBackgroundToneOnToneSecondary","purpurColorBackgroundToneOnToneTertiary","purpurColorBackgroundToneOnToneQuaternary","purpurColorBorderMedium","purpurColorBorderMediumNegative","purpurColorBorderStrong","purpurColorBorderStrongNegative","purpurColorBorderWeak","purpurColorBorderWeakNegative","purpurColorBorderInteractiveFocus","purpurColorBorderInteractivePrimary","purpurColorBorderInteractivePrimaryNegative","purpurColorBorderInteractivePrimaryHover","purpurColorBorderInteractivePrimaryActive","purpurColorBorderInteractivePrimaryHoverNegative","purpurColorBorderInteractivePrimaryActiveNegative","purpurColorBorderInteractiveExpressive","purpurColorBorderInteractiveSelected","purpurColorBorderInteractiveSubtle","purpurColorBorderInteractiveSubtleNegative","purpurColorBorderInteractiveSubtleHover","purpurColorBorderInteractiveSubtleHoverNegative","purpurColorBorderStatusError","purpurColorBorderStatusErrorNegative","purpurColorBorderStatusWarning","purpurColorBorderStatusInfo","purpurColorBorderStatusSuccess","purpurColorBorderStatusSuccessNegative","dark","light","teliaTheme","toKebabCase","str","useApplyTheme","theme","cssVariablesSelector","currentColorScheme","useEffect","key","value","ThemeContext","createContext","ThemeProvider","forceColorScheme","children","options","props","colorScheme","setColorScheme","useState","setCurrentColorScheme","savedColorScheme","mediaQuery","handleChange","e","contextValue","useMemo","scheme","jsx","useTheme","context","useContext"],"mappings":"0GAwHaA,EAA6B,UAC7BC,EAA6B,UAC7BC,EAA8B,UAC9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AM,EAE9C,CAAA,GAEF,CAACV,EAAaX,EAAoBO,CAAgB,CAAA,EAGpD,aACGH,EAAa,SAAb,CAAsB,MAAO,CAAE,GAAGe,EAAc,QAAAV,CAAA,EAC/C,SAAAa,EAAAA,IAAC,MAAA,CAAI,oBAAmBtB,EAAoB,UAAWA,EAAqB,GAAGU,EAC5E,SAAAF,EACH,EACF,CAEJ,EAEae,GAAW,IAAwB,CAC9C,MAAMC,EAAUC,EAAAA,WAAWrB,CAAY,EACvC,GAAI,CAACoB,EACH,MAAM,IAAI,MAAM,8CAA8C,EAEhE,OAAOA,CACT"}
1
+ {"version":3,"file":"ThemeProvider-D7oXcAde.js","sources":["../../tokens/dist/color/variables.dark.js","../../theme/src/telia-dark.ts","../../theme/src/telia-light.ts","../../theme/src/telia-theme.ts","../../theme/src/useApplyTheme.ts","../../theme/src/ThemeProvider.tsx"],"sourcesContent":["export const purpurColorPurple50 = \"#faf0ff\";\nexport const purpurColorPurple100 = \"#f4e0ff\";\nexport const purpurColorPurple200 = \"#e4b6fb\";\nexport const purpurColorPurple300 = \"#d58df9\";\nexport const purpurColorPurple400 = \"#c461f7\";\nexport const purpurColorPurple500 = \"#b12df4\";\nexport const purpurColorPurple550 = \"#990ae3\";\nexport const purpurColorPurple600 = \"#8c07d0\";\nexport const purpurColorPurple700 = \"#6d02a3\";\nexport const purpurColorPurple800 = \"#4e0174\";\nexport const purpurColorPurple900 = \"#29003e\";\nexport const purpurColorPurple950 = \"#1f002e\";\nexport const purpurColorBeige50 = \"#f9f1ec\";\nexport const purpurColorBeige100 = \"#ede1d8\";\nexport const purpurColorBeige200 = \"#d7c3b5\";\nexport const purpurColorBeige300 = \"#bba494\";\nexport const purpurColorBeige400 = \"#a08877\";\nexport const purpurColorBeige500 = \"#807268\";\nexport const purpurColorBeige600 = \"#665e58\";\nexport const purpurColorBeige700 = \"#4f4741\";\nexport const purpurColorBeige800 = \"#3b332d\";\nexport const purpurColorBeige900 = \"#2d2824\";\nexport const purpurColorBeige950 = \"#170f09\";\nexport const purpurColorTeal50 = \"#edf5f5\";\nexport const purpurColorTeal100 = \"#d5eae9\";\nexport const purpurColorTeal200 = \"#a1cfcd\";\nexport const purpurColorTeal300 = \"#6eb5b2\";\nexport const purpurColorTeal400 = \"#3a9b96\";\nexport const purpurColorTeal500 = \"#00847e\";\nexport const purpurColorTeal600 = \"#006c67\";\nexport const purpurColorTeal700 = \"#02534f\";\nexport const purpurColorTeal800 = \"#063c39\";\nexport const purpurColorTeal900 = \"#032220\";\nexport const purpurColorTeal950 = \"#011413\";\nexport const purpurColorGray50 = \"#f5f5fa\";\nexport const purpurColorGray100 = \"#e5e5eb\";\nexport const purpurColorGray150 = \"#d6d6dd\";\nexport const purpurColorGray200 = \"#c6c6cd\";\nexport const purpurColorGray300 = \"#aaaab0\";\nexport const purpurColorGray400 = \"#8d8d94\";\nexport const purpurColorGray500 = \"#757579\";\nexport const purpurColorGray600 = \"#5f5f63\";\nexport const purpurColorGray700 = \"#4a4a4d\";\nexport const purpurColorGray800 = \"#353537\";\nexport const purpurColorGray850 = \"#2a2a2c\";\nexport const purpurColorGray900 = \"#202022\";\nexport const purpurColorGray950 = \"#121212\";\nexport const purpurColorGreen50 = \"#e1f9ec\";\nexport const purpurColorGreen100 = \"#c5efd9\";\nexport const purpurColorGreen200 = \"#79d9a7\";\nexport const purpurColorGreen300 = \"#3dbf7c\";\nexport const purpurColorGreen400 = \"#1fa15e\";\nexport const purpurColorGreen500 = \"#018842\";\nexport const purpurColorGreen600 = \"#017037\";\nexport const purpurColorGreen700 = \"#02562b\";\nexport const purpurColorGreen800 = \"#003e1e\";\nexport const purpurColorGreen900 = \"#002411\";\nexport const purpurColorGreen950 = \"#00150a\";\nexport const purpurColorRed50 = \"#fff0f5\";\nexport const purpurColorRed100 = \"#ffdde8\";\nexport const purpurColorRed200 = \"#ffafc9\";\nexport const purpurColorRed300 = \"#ff80ab\";\nexport const purpurColorRed400 = \"#fb4885\";\nexport const purpurColorRed500 = \"#e4175c\";\nexport const purpurColorRed600 = \"#c00543\";\nexport const purpurColorRed700 = \"#980233\";\nexport const purpurColorRed800 = \"#700025\";\nexport const purpurColorRed900 = \"#440016\";\nexport const purpurColorRed950 = \"#2c000e\";\nexport const purpurColorOrange50 = \"#fff2de\";\nexport const purpurColorOrange100 = \"#ffe1b3\";\nexport const purpurColorOrange200 = \"#f9bb5b\";\nexport const purpurColorOrange300 = \"#f39200\";\nexport const purpurColorOrange400 = \"#cc7a00\";\nexport const purpurColorOrange500 = \"#a86602\";\nexport const purpurColorOrange600 = \"#8b5301\";\nexport const purpurColorOrange700 = \"#6a4102\";\nexport const purpurColorOrange800 = \"#4c2f03\";\nexport const purpurColorOrange900 = \"#2b1b03\";\nexport const purpurColorOrange950 = \"#1a0f00\";\nexport const purpurColorBlue50 = \"#e8f6ff\";\nexport const purpurColorBlue100 = \"#caeaff\";\nexport const purpurColorBlue200 = \"#91cdf4\";\nexport const purpurColorBlue300 = \"#62b2e7\";\nexport const purpurColorBlue400 = \"#3694d3\";\nexport const purpurColorBlue500 = \"#0078cb\";\nexport const purpurColorBlue600 = \"#0063a6\";\nexport const purpurColorBlue700 = \"#014d80\";\nexport const purpurColorBlue800 = \"#03385b\";\nexport const purpurColorBlue900 = \"#002036\";\nexport const purpurColorBlue950 = \"#011320\";\nexport const purpurColorTransparentBlack50 = \"rgba(0, 0, 0, 0.05)\";\nexport const purpurColorTransparentBlack100 = \"rgba(0, 0, 0, 0.1)\";\nexport const purpurColorTransparentBlack150 = \"rgba(0, 0, 0, 0.16)\";\nexport const purpurColorTransparentBlack200 = \"rgba(0, 0, 0, 0.22)\";\nexport const purpurColorTransparentBlack300 = \"rgba(0, 0, 0, 0.33)\";\nexport const purpurColorTransparentBlack400 = \"rgba(0, 0, 0, 0.44)\";\nexport const purpurColorTransparentBlack500 = \"rgba(0, 0, 0, 0.54)\";\nexport const purpurColorTransparentBlack600 = \"rgba(0, 0, 0, 0.62)\";\nexport const purpurColorTransparentBlack700 = \"rgba(0, 0, 0, 0.71)\";\nexport const purpurColorTransparentBlack800 = \"rgba(0, 0, 0, 0.8)\";\nexport const purpurColorTransparentBlack850 = \"rgba(0, 0, 0, 0.84)\";\nexport const purpurColorTransparentBlack900 = \"rgba(0, 0, 0, 0.88)\";\nexport const purpurColorTransparentBlack950 = \"rgba(0, 0, 0, 0.93)\";\nexport const purpurColorTransparentWhite50 = \"rgba(255, 255, 255, 0.07)\";\nexport const purpurColorTransparentWhite100 = \"rgba(255, 255, 255, 0.11)\";\nexport const purpurColorTransparentWhite150 = \"rgba(255, 255, 255, 0.16)\";\nexport const purpurColorTransparentWhite200 = \"rgba(255, 255, 255, 0.21)\";\nexport const purpurColorTransparentWhite300 = \"rgba(255, 255, 255, 0.29)\";\nexport const purpurColorTransparentWhite400 = \"rgba(255, 255, 255, 0.37)\";\nexport const purpurColorTransparentWhite500 = \"rgba(255, 255, 255, 0.46)\";\nexport const purpurColorTransparentWhite600 = \"rgba(255, 255, 255, 0.55)\";\nexport const purpurColorTransparentWhite700 = \"rgba(255, 255, 255, 0.66)\";\nexport const purpurColorTransparentWhite800 = \"rgba(255, 255, 255, 0.79)\";\nexport const purpurColorTransparentWhite850 = \"rgba(255, 255, 255, 0.84)\";\nexport const purpurColorTransparentWhite900 = \"rgba(255, 255, 255, 0.89)\";\nexport const purpurColorTransparentWhite950 = \"rgba(255, 255, 255, 0.95)\";\nexport const purpurColorFunctionalBlack = \"#000000\";\nexport const purpurColorFunctionalWhite = \"#ffffff\";\nexport const purpurColorFunctionalTransparent = \"rgba(255, 255, 255, 0)\";\nexport const purpurColorBrandDeepPurple = \"#f4e0ff\";\nexport const purpurColorBrandCorePurple = \"#c461f7\";\nexport const purpurColorBrandLightPurple = \"#29003e\";\nexport const purpurColorBrandDeepBeige = \"#ede1d8\";\nexport const purpurColorBrandBeige = \"#4f4741\";\nexport const purpurColorBrandLightBeige = \"#3b332d\";\nexport const purpurColorBrandOffBlack = \"#ffffff\";\nexport const purpurColorBrandWhite = \"#202022\";\nexport const purpurColorTextDefault = \"rgba(255, 255, 255, 0.95)\";\nexport const purpurColorTextMedium = \"rgba(255, 255, 255, 0.66)\";\nexport const purpurColorTextWeak = \"rgba(255, 255, 255, 0.37)\";\nexport const purpurColorTextDefaultNegative = \"rgba(0, 0, 0, 0.8)\";\nexport const purpurColorTextMediumNegative = \"rgba(0, 0, 0, 0.54)\";\nexport const purpurColorTextWeakNegative = \"rgba(0, 0, 0, 0.44)\";\nexport const purpurColorTextInteractivePrimary = \"#f4e0ff\";\nexport const purpurColorTextInteractivePrimaryHover = \"#faf0ff\";\nexport const purpurColorTextInteractivePrimaryActive = \"#ffffff\";\nexport const purpurColorTextInteractiveOnPrimary = \"#4e0174\";\nexport const purpurColorTextInteractiveOnPrimaryNegative = \"#ffffff\";\nexport const purpurColorTextInteractivePrimaryNegative = \"#6d02a3\";\nexport const purpurColorTextInteractivePrimaryHoverNegative = \"#4e0174\";\nexport const purpurColorTextInteractivePrimaryActiveNegative = \"#29003e\";\nexport const purpurColorTextInteractiveOnExpressive = \"#ffffff\";\nexport const purpurColorTextInteractiveOnExpressiveNegative = \"#ffffff\";\nexport const purpurColorTextInteractiveOnExpressiveHover = \"#29003e\";\nexport const purpurColorTextInteractiveOnExpressiveHoverNegative = \"#ffffff\";\nexport const purpurColorTextInteractiveOnExpressiveActive = \"#29003e\";\nexport const purpurColorTextInteractiveOnExpressiveActiveNegative = \"#ffffff\";\nexport const purpurColorTextInteractiveOnDestructive = \"#ffffff\";\nexport const purpurColorTextInteractiveSelected = \"#d58df9\";\nexport const purpurColorTextInteractiveSelectedNegative = \"#990ae3\";\nexport const purpurColorTextStatusDiscount = \"#d58df9\";\nexport const purpurColorTextStatusErrorStrong = \"#ffafc9\";\nexport const purpurColorTextStatusErrorStrongNegative = \"#980233\";\nexport const purpurColorTextStatusErrorMedium = \"#fb4885\";\nexport const purpurColorTextStatusErrorMediumNegative = \"#e4175c\";\nexport const purpurColorTextStatusSuccessStrong = \"#79d9a7\";\nexport const purpurColorTextStatusSuccessStrongNegative = \"#02562b\";\nexport const purpurColorTextStatusSuccessMedium = \"#1fa15e\";\nexport const purpurColorTextStatusWarningStrong = \"#f9bb5b\";\nexport const purpurColorTextStatusWarningMedium = \"#f39200\";\nexport const purpurColorTextStatusWarningMediumNegative = \"#a86602\";\nexport const purpurColorTextStatusInfoStrong = \"#91cdf4\";\nexport const purpurColorTextStatusInfoMedium = \"#3694d3\";\nexport const purpurColorTextStatusNeutral = \"#ffffff\";\nexport const purpurColorTextStatusSpecial = \"#ffffff\";\nexport const purpurColorTextStatusAttention = \"#4e0174\";\nexport const purpurColorTextStatusBlackFriday = \"#202022\";\nexport const purpurColorTextToneOnTonePrimary = \"#29003e\";\nexport const purpurColorTextToneOnToneSecondary = \"#f4e0ff\";\nexport const purpurColorTextToneOnToneTertiary = \"#ffffff\";\nexport const purpurColorBackgroundPrimary = \"#121212\";\nexport const purpurColorBackgroundPrimaryNegative = \"#ffffff\";\nexport const purpurColorBackgroundSecondary = \"#202022\";\nexport const purpurColorBackgroundSecondaryNegative = \"#f5f5fa\";\nexport const purpurColorBackgroundOnImage = \"rgba(0, 0, 0, 0.71)\";\nexport const purpurColorBackgroundOnImageNegative = \"rgba(255, 255, 255, 0.84)\";\nexport const purpurColorBackgroundInteractiveAutoFill = \"#03385b\";\nexport const purpurColorBackgroundInteractivePrimary = \"#f4e0ff\";\nexport const purpurColorBackgroundInteractivePrimaryHover = \"#e4b6fb\";\nexport const purpurColorBackgroundInteractivePrimaryActive = \"#d58df9\";\nexport const purpurColorBackgroundInteractivePrimaryNegative = \"#4e0174\";\nexport const purpurColorBackgroundInteractivePrimaryHoverNegative = \"#6d02a3\";\nexport const purpurColorBackgroundInteractivePrimaryActiveNegative = \"#8c07d0\";\nexport const purpurColorBackgroundInteractiveExpressive = \"#990ae3\";\nexport const purpurColorBackgroundInteractiveExpressiveHover = \"#c461f7\";\nexport const purpurColorBackgroundInteractiveExpressiveActive = \"#d58df9\";\nexport const purpurColorBackgroundInteractiveExpressiveNegative = \"#990ae3\";\nexport const purpurColorBackgroundInteractiveExpressiveHoverNegative = \"#6d02a3\";\nexport const purpurColorBackgroundInteractiveExpressiveActiveNegative = \"#4e0174\";\nexport const purpurColorBackgroundInteractiveDisabled = \"rgba(255, 255, 255, 0.11)\";\nexport const purpurColorBackgroundInteractiveDisabledNegative = \"rgba(0, 0, 0, 0.1)\";\nexport const purpurColorBackgroundInteractiveTransparentHover = \"#4e0174\";\nexport const purpurColorBackgroundInteractiveTransparentHoverNegative = \"#e4b6fb\";\nexport const purpurColorBackgroundInteractiveTransparentActive = \"#6d02a3\";\nexport const purpurColorBackgroundInteractiveTransparentActiveNegative = \"#d58df9\";\nexport const purpurColorBackgroundInteractiveInactive = \"rgba(255, 255, 255, 0.16)\";\nexport const purpurColorBackgroundInteractiveInactiveNegative = \"rgba(0, 0, 0, 0.05)\";\nexport const purpurColorBackgroundInteractiveReadOnly = \"rgba(255, 255, 255, 0.07)\";\nexport const purpurColorBackgroundInteractiveReadOnlyNegative = \"rgba(0, 0, 0, 0.05)\";\nexport const purpurColorBackgroundInteractiveDestructive = \"#e4175c\";\nexport const purpurColorBackgroundInteractiveDestructiveHover = \"#c00543\";\nexport const purpurColorBackgroundInteractiveDestructiveActive = \"#980233\";\nexport const purpurColorBackgroundStatusInfoMedium = \"#03385b\";\nexport const purpurColorBackgroundStatusInfoStrong = \"#62b2e7\";\nexport const purpurColorBackgroundStatusSuccessMedium = \"#003e1e\";\nexport const purpurColorBackgroundStatusSuccessStrong = \"#3dbf7c\";\nexport const purpurColorBackgroundStatusSuccessStrongNegative = \"#1fa15e\";\nexport const purpurColorBackgroundStatusErrorMedium = \"#700025\";\nexport const purpurColorBackgroundStatusErrorStrong = \"#ff80ab\";\nexport const purpurColorBackgroundStatusErrorStrongNegative = \"#fb4885\";\nexport const purpurColorBackgroundStatusWarningMedium = \"#4c2f03\";\nexport const purpurColorBackgroundStatusWarningStrong = \"#f39200\";\nexport const purpurColorBackgroundStatusWarningStrongNegative = \"#f39200\";\nexport const purpurColorBackgroundStatusNeutral = \"#353537\";\nexport const purpurColorBackgroundStatusSpecial = \"#6d02a3\";\nexport const purpurColorBackgroundStatusAttention = \"#f4e0ff\";\nexport const purpurColorBackgroundStatusBlackFriday = \"#ffffff\";\nexport const purpurColorBackgroundToneOnTonePrimary = \"#f4e0ff\";\nexport const purpurColorBackgroundToneOnToneSecondary = \"#29003e\";\nexport const purpurColorBackgroundToneOnToneTertiary = \"#4f4741\";\nexport const purpurColorBackgroundToneOnToneQuaternary = \"#2d2824\";\nexport const purpurColorBorderMedium = \"rgba(255, 255, 255, 0.29)\";\nexport const purpurColorBorderMediumNegative = \"rgba(0, 0, 0, 0.33)\";\nexport const purpurColorBorderStrong = \"rgba(255, 255, 255, 0.46)\";\nexport const purpurColorBorderStrongNegative = \"rgba(0, 0, 0, 0.54)\";\nexport const purpurColorBorderWeak = \"rgba(255, 255, 255, 0.16)\";\nexport const purpurColorBorderWeakNegative = \"rgba(0, 0, 0, 0.16)\";\nexport const purpurColorBorderInteractiveFocus = \"#c461f7\";\nexport const purpurColorBorderInteractivePrimary = \"#f4e0ff\";\nexport const purpurColorBorderInteractivePrimaryNegative = \"#6d02a3\";\nexport const purpurColorBorderInteractivePrimaryHover = \"#faf0ff\";\nexport const purpurColorBorderInteractivePrimaryActive = \"#ffffff\";\nexport const purpurColorBorderInteractivePrimaryHoverNegative = \"#4e0174\";\nexport const purpurColorBorderInteractivePrimaryActiveNegative = \"#29003e\";\nexport const purpurColorBorderInteractiveExpressive = \"#990ae3\";\nexport const purpurColorBorderInteractiveSelected = \"#d58df9\";\nexport const purpurColorBorderInteractiveSubtle = \"rgba(255, 255, 255, 0.37)\";\nexport const purpurColorBorderInteractiveSubtleNegative = \"rgba(0, 0, 0, 0.44)\";\nexport const purpurColorBorderInteractiveSubtleHover = \"#e4b6fb\";\nexport const purpurColorBorderInteractiveSubtleHoverNegative = \"#6d02a3\";\nexport const purpurColorBorderStatusError = \"#fb4885\";\nexport const purpurColorBorderStatusErrorNegative = \"#e4175c\";\nexport const purpurColorBorderStatusWarning = \"#f39200\";\nexport const purpurColorBorderStatusInfo = \"#3694d3\";\nexport const purpurColorBorderStatusSuccess = \"#1fa15e\";\nexport const purpurColorBorderStatusSuccessNegative = \"#018842\";\nexport const purpurColorOverlayDefault = \"rgba(0, 0, 0, 0.71)\";\nexport const purpurColorGradientAiBottom = \"#62b2e7\";\nexport const purpurColorGradientAiBottomNegative = \"#3694d3\";\nexport const purpurColorGradientAiTop = \"#d58df9\";\nexport const purpurColorGradientAiTopNegative = \"#b12df4\";\n","import {\n purpurColorBackgroundInteractiveAutoFill,\n purpurColorBackgroundInteractiveDestructive,\n purpurColorBackgroundInteractiveDestructiveActive,\n purpurColorBackgroundInteractiveDestructiveHover,\n purpurColorBackgroundInteractiveDisabled,\n purpurColorBackgroundInteractiveDisabledNegative,\n purpurColorBackgroundInteractiveExpressive,\n purpurColorBackgroundInteractiveExpressiveActive,\n purpurColorBackgroundInteractiveExpressiveActiveNegative,\n purpurColorBackgroundInteractiveExpressiveHover,\n purpurColorBackgroundInteractiveExpressiveHoverNegative,\n purpurColorBackgroundInteractiveExpressiveNegative,\n purpurColorBackgroundInteractiveInactive,\n purpurColorBackgroundInteractiveInactiveNegative,\n purpurColorBackgroundInteractivePrimary,\n purpurColorBackgroundInteractivePrimaryActive,\n purpurColorBackgroundInteractivePrimaryActiveNegative,\n purpurColorBackgroundInteractivePrimaryHover,\n purpurColorBackgroundInteractivePrimaryHoverNegative,\n purpurColorBackgroundInteractivePrimaryNegative,\n purpurColorBackgroundInteractiveReadOnly,\n purpurColorBackgroundInteractiveReadOnlyNegative,\n purpurColorBackgroundInteractiveTransparentActive,\n purpurColorBackgroundInteractiveTransparentActiveNegative,\n purpurColorBackgroundInteractiveTransparentHover,\n purpurColorBackgroundInteractiveTransparentHoverNegative,\n purpurColorBackgroundOnImage,\n purpurColorBackgroundOnImageNegative,\n purpurColorBackgroundPrimary,\n purpurColorBackgroundPrimaryNegative,\n purpurColorBackgroundSecondary,\n purpurColorBackgroundSecondaryNegative,\n purpurColorBackgroundStatusAttention,\n purpurColorBackgroundStatusBlackFriday,\n purpurColorBackgroundStatusErrorMedium,\n purpurColorBackgroundStatusErrorStrong,\n purpurColorBackgroundStatusErrorStrongNegative,\n purpurColorBackgroundStatusInfoMedium,\n purpurColorBackgroundStatusInfoStrong,\n purpurColorBackgroundStatusNeutral,\n purpurColorBackgroundStatusSpecial,\n purpurColorBackgroundStatusSuccessMedium,\n purpurColorBackgroundStatusSuccessStrong,\n purpurColorBackgroundStatusSuccessStrongNegative,\n purpurColorBackgroundStatusWarningMedium,\n purpurColorBackgroundStatusWarningStrong,\n purpurColorBackgroundStatusWarningStrongNegative,\n purpurColorBackgroundToneOnTonePrimary,\n purpurColorBackgroundToneOnToneQuaternary,\n purpurColorBackgroundToneOnToneSecondary,\n purpurColorBackgroundToneOnToneTertiary,\n purpurColorBorderInteractiveExpressive,\n purpurColorBorderInteractiveFocus,\n purpurColorBorderInteractivePrimary,\n purpurColorBorderInteractivePrimaryActive,\n purpurColorBorderInteractivePrimaryActiveNegative,\n purpurColorBorderInteractivePrimaryHover,\n purpurColorBorderInteractivePrimaryHoverNegative,\n purpurColorBorderInteractivePrimaryNegative,\n purpurColorBorderInteractiveSelected,\n purpurColorBorderInteractiveSubtle,\n purpurColorBorderInteractiveSubtleHover,\n purpurColorBorderInteractiveSubtleHoverNegative,\n purpurColorBorderInteractiveSubtleNegative,\n purpurColorBorderMedium,\n purpurColorBorderMediumNegative,\n purpurColorBorderStatusError,\n purpurColorBorderStatusErrorNegative,\n purpurColorBorderStatusInfo,\n purpurColorBorderStatusSuccess,\n purpurColorBorderStatusSuccessNegative,\n purpurColorBorderStatusWarning,\n purpurColorBorderStrong,\n purpurColorBorderStrongNegative,\n purpurColorBorderWeak,\n purpurColorBorderWeakNegative,\n purpurColorBrandBeige,\n purpurColorBrandCorePurple,\n purpurColorBrandDeepBeige,\n purpurColorBrandDeepPurple,\n purpurColorBrandLightBeige,\n purpurColorBrandLightPurple,\n purpurColorBrandOffBlack,\n purpurColorBrandWhite,\n purpurColorTextDefault,\n purpurColorTextDefaultNegative,\n purpurColorTextInteractiveOnDestructive,\n purpurColorTextInteractiveOnExpressive,\n purpurColorTextInteractiveOnExpressiveActive,\n purpurColorTextInteractiveOnExpressiveActiveNegative,\n purpurColorTextInteractiveOnExpressiveHover,\n purpurColorTextInteractiveOnExpressiveHoverNegative,\n purpurColorTextInteractiveOnExpressiveNegative,\n purpurColorTextInteractiveOnPrimary,\n purpurColorTextInteractiveOnPrimaryNegative,\n purpurColorTextInteractivePrimary,\n purpurColorTextInteractivePrimaryActive,\n purpurColorTextInteractivePrimaryActiveNegative,\n purpurColorTextInteractivePrimaryHover,\n purpurColorTextInteractivePrimaryHoverNegative,\n purpurColorTextInteractivePrimaryNegative,\n purpurColorTextInteractiveSelected,\n purpurColorTextMedium,\n purpurColorTextMediumNegative,\n purpurColorTextStatusAttention,\n purpurColorTextStatusBlackFriday,\n purpurColorTextStatusDiscount,\n purpurColorTextStatusErrorMedium,\n purpurColorTextStatusErrorMediumNegative,\n purpurColorTextStatusErrorStrong,\n purpurColorTextStatusErrorStrongNegative,\n purpurColorTextStatusInfoMedium,\n purpurColorTextStatusInfoStrong,\n purpurColorTextStatusNeutral,\n purpurColorTextStatusSpecial,\n purpurColorTextStatusSuccessMedium,\n purpurColorTextStatusSuccessStrong,\n purpurColorTextStatusSuccessStrongNegative,\n purpurColorTextStatusWarningMedium,\n purpurColorTextStatusWarningMediumNegative,\n purpurColorTextStatusWarningStrong,\n purpurColorTextToneOnTonePrimary,\n purpurColorTextToneOnToneSecondary,\n purpurColorTextToneOnToneTertiary,\n purpurColorTextWeak,\n purpurColorTextWeakNegative,\n} from \"@purpur/tokens/dark\";\n\nimport type { ThemeProps } from \"./theme-props\";\n\nexport const dark = {\n colorBrandDeepPurple: purpurColorBrandDeepPurple,\n colorBrandCorePurple: purpurColorBrandCorePurple,\n colorBrandLightPurple: purpurColorBrandLightPurple,\n colorBrandDeepBeige: purpurColorBrandDeepBeige,\n colorBrandBeige: purpurColorBrandBeige,\n colorBrandLightBeige: purpurColorBrandLightBeige,\n colorBrandOffBlack: purpurColorBrandOffBlack,\n colorBrandWhite: purpurColorBrandWhite,\n\n colorTextDefault: purpurColorTextDefault,\n colorTextMedium: purpurColorTextMedium,\n colorTextWeak: purpurColorTextWeak,\n colorTextDefaultNegative: purpurColorTextDefaultNegative,\n colorTextMediumNegative: purpurColorTextMediumNegative,\n colorTextWeakNegative: purpurColorTextWeakNegative,\n\n colorTextInteractivePrimary: purpurColorTextInteractivePrimary,\n colorTextInteractivePrimaryHover: purpurColorTextInteractivePrimaryHover,\n colorTextInteractivePrimaryActive: purpurColorTextInteractivePrimaryActive,\n colorTextInteractiveOnPrimary: purpurColorTextInteractiveOnPrimary,\n colorTextInteractiveOnExpressive: purpurColorTextInteractiveOnExpressive,\n colorTextInteractiveOnExpressiveHover: purpurColorTextInteractiveOnExpressiveHover,\n colorTextInteractiveOnExpressiveActive: purpurColorTextInteractiveOnExpressiveActive,\n colorTextInteractiveOnDestructive: purpurColorTextInteractiveOnDestructive,\n colorTextInteractiveSelected: purpurColorTextInteractiveSelected,\n colorTextInteractivePrimaryNegative: purpurColorTextInteractivePrimaryNegative,\n colorTextInteractivePrimaryHoverNegative: purpurColorTextInteractivePrimaryHoverNegative,\n colorTextInteractivePrimaryActiveNegative: purpurColorTextInteractivePrimaryActiveNegative,\n colorTextInteractiveOnPrimaryNegative: purpurColorTextInteractiveOnPrimaryNegative,\n colorTextInteractiveOnExpressiveNegative: purpurColorTextInteractiveOnExpressiveNegative,\n colorTextInteractiveOnExpressiveHoverNegative:\n purpurColorTextInteractiveOnExpressiveHoverNegative,\n colorTextInteractiveOnExpressiveActiveNegative:\n purpurColorTextInteractiveOnExpressiveActiveNegative,\n\n colorTextStatusInfoMedium: purpurColorTextStatusInfoMedium,\n colorTextStatusInfoStrong: purpurColorTextStatusInfoStrong,\n colorTextStatusSuccessMedium: purpurColorTextStatusSuccessMedium,\n colorTextStatusSuccessStrong: purpurColorTextStatusSuccessStrong,\n colorTextStatusWarningMedium: purpurColorTextStatusWarningMedium,\n colorTextStatusWarningStrong: purpurColorTextStatusWarningStrong,\n colorTextStatusErrorMedium: purpurColorTextStatusErrorMedium,\n colorTextStatusErrorStrong: purpurColorTextStatusErrorStrong,\n colorTextStatusNeutral: purpurColorTextStatusNeutral,\n colorTextStatusSpecial: purpurColorTextStatusSpecial,\n colorTextStatusAttention: purpurColorTextStatusAttention,\n colorTextStatusDiscount: purpurColorTextStatusDiscount,\n colorTextStatusBlackFriday: purpurColorTextStatusBlackFriday,\n colorTextStatusSuccessStrongNegative: purpurColorTextStatusSuccessStrongNegative,\n colorTextStatusErrorMediumNegative: purpurColorTextStatusErrorMediumNegative,\n colorTextStatusErrorStrongNegative: purpurColorTextStatusErrorStrongNegative,\n colorTextStatusWarningMediumNegative: purpurColorTextStatusWarningMediumNegative,\n\n colorTextToneOnTonePrimary: purpurColorTextToneOnTonePrimary,\n colorTextToneOnToneSecondary: purpurColorTextToneOnToneSecondary,\n colorTextToneOnToneTertiary: purpurColorTextToneOnToneTertiary,\n\n colorBackgroundPrimary: purpurColorBackgroundPrimary,\n colorBackgroundSecondary: purpurColorBackgroundSecondary,\n colorBackgroundOnImage: purpurColorBackgroundOnImage,\n colorBackgroundPrimaryNegative: purpurColorBackgroundPrimaryNegative,\n colorBackgroundSecondaryNegative: purpurColorBackgroundSecondaryNegative,\n colorBackgroundOnImageNegative: purpurColorBackgroundOnImageNegative,\n\n colorBackgroundInteractivePrimary: purpurColorBackgroundInteractivePrimary,\n colorBackgroundInteractivePrimaryHover: purpurColorBackgroundInteractivePrimaryHover,\n colorBackgroundInteractivePrimaryActive: purpurColorBackgroundInteractivePrimaryActive,\n colorBackgroundInteractiveExpressive: purpurColorBackgroundInteractiveExpressive,\n colorBackgroundInteractiveExpressiveHover: purpurColorBackgroundInteractiveExpressiveHover,\n colorBackgroundInteractiveExpressiveActive: purpurColorBackgroundInteractiveExpressiveActive,\n colorBackgroundInteractiveTransparentHover: purpurColorBackgroundInteractiveTransparentHover,\n colorBackgroundInteractiveTransparentActive: purpurColorBackgroundInteractiveTransparentActive,\n colorBackgroundInteractiveDisabled: purpurColorBackgroundInteractiveDisabled,\n colorBackgroundInteractiveReadOnly: purpurColorBackgroundInteractiveReadOnly,\n colorBackgroundInteractiveInactive: purpurColorBackgroundInteractiveInactive,\n colorBackgroundInteractiveDestructive: purpurColorBackgroundInteractiveDestructive,\n colorBackgroundInteractiveDestructiveHover: purpurColorBackgroundInteractiveDestructiveHover,\n colorBackgroundInteractiveDestructiveActive: purpurColorBackgroundInteractiveDestructiveActive,\n colorBackgroundInteractiveAutoFill: purpurColorBackgroundInteractiveAutoFill,\n colorBackgroundInteractivePrimaryNegative: purpurColorBackgroundInteractivePrimaryNegative,\n colorBackgroundInteractivePrimaryHoverNegative:\n purpurColorBackgroundInteractivePrimaryHoverNegative,\n colorBackgroundInteractivePrimaryActiveNegative:\n purpurColorBackgroundInteractivePrimaryActiveNegative,\n colorBackgroundInteractiveExpressiveNegative: purpurColorBackgroundInteractiveExpressiveNegative,\n colorBackgroundInteractiveExpressiveHoverNegative:\n purpurColorBackgroundInteractiveExpressiveHoverNegative,\n colorBackgroundInteractiveExpressiveActiveNegative:\n purpurColorBackgroundInteractiveExpressiveActiveNegative,\n colorBackgroundInteractiveTransparentHoverNegative:\n purpurColorBackgroundInteractiveTransparentHoverNegative,\n colorBackgroundInteractiveTransparentActiveNegative:\n purpurColorBackgroundInteractiveTransparentActiveNegative,\n colorBackgroundInteractiveDisabledNegative: purpurColorBackgroundInteractiveDisabledNegative,\n colorBackgroundInteractiveInactiveNegative: purpurColorBackgroundInteractiveInactiveNegative,\n colorBackgroundInteractiveReadOnlyNegative: purpurColorBackgroundInteractiveReadOnlyNegative,\n\n colorBackgroundStatusInfoMedium: purpurColorBackgroundStatusInfoMedium,\n colorBackgroundStatusInfoStrong: purpurColorBackgroundStatusInfoStrong,\n colorBackgroundStatusSuccessMedium: purpurColorBackgroundStatusSuccessMedium,\n colorBackgroundStatusSuccessStrong: purpurColorBackgroundStatusSuccessStrong,\n colorBackgroundStatusWarningMedium: purpurColorBackgroundStatusWarningMedium,\n colorBackgroundStatusWarningStrong: purpurColorBackgroundStatusWarningStrong,\n colorBackgroundStatusErrorMedium: purpurColorBackgroundStatusErrorMedium,\n colorBackgroundStatusErrorStrong: purpurColorBackgroundStatusErrorStrong,\n colorBackgroundStatusNeutral: purpurColorBackgroundStatusNeutral,\n colorBackgroundStatusSpecial: purpurColorBackgroundStatusSpecial,\n colorBackgroundStatusAttention: purpurColorBackgroundStatusAttention,\n colorBackgroundStatusBlackFriday: purpurColorBackgroundStatusBlackFriday,\n colorBackgroundStatusSuccessStrongNegative: purpurColorBackgroundStatusSuccessStrongNegative,\n colorBackgroundStatusWarningStrongNegative: purpurColorBackgroundStatusWarningStrongNegative,\n colorBackgroundStatusErrorStrongNegative: purpurColorBackgroundStatusErrorStrongNegative,\n\n colorBackgroundToneOnTonePrimary: purpurColorBackgroundToneOnTonePrimary,\n colorBackgroundToneOnToneSecondary: purpurColorBackgroundToneOnToneSecondary,\n colorBackgroundToneOnToneTertiary: purpurColorBackgroundToneOnToneTertiary,\n colorBackgroundToneOnToneQuaternary: purpurColorBackgroundToneOnToneQuaternary,\n\n colorBorderWeak: purpurColorBorderWeak,\n colorBorderMedium: purpurColorBorderMedium,\n colorBorderStrong: purpurColorBorderStrong,\n colorBorderWeakNegative: purpurColorBorderWeakNegative,\n colorBorderMediumNegative: purpurColorBorderMediumNegative,\n colorBorderStrongNegative: purpurColorBorderStrongNegative,\n\n colorBorderInteractivePrimary: purpurColorBorderInteractivePrimary,\n colorBorderInteractivePrimaryHover: purpurColorBorderInteractivePrimaryHover,\n colorBorderInteractivePrimaryActive: purpurColorBorderInteractivePrimaryActive,\n colorBorderInteractiveFocus: purpurColorBorderInteractiveFocus,\n colorBorderInteractiveExpressive: purpurColorBorderInteractiveExpressive,\n colorBorderInteractiveSubtle: purpurColorBorderInteractiveSubtle,\n colorBorderInteractiveSubtleHover: purpurColorBorderInteractiveSubtleHover,\n colorBorderInteractiveSelected: purpurColorBorderInteractiveSelected,\n colorBorderInteractivePrimaryNegative: purpurColorBorderInteractivePrimaryNegative,\n colorBorderInteractivePrimaryHoverNegative: purpurColorBorderInteractivePrimaryHoverNegative,\n colorBorderInteractivePrimaryActiveNegative: purpurColorBorderInteractivePrimaryActiveNegative,\n colorBorderInteractiveSubtleNegative: purpurColorBorderInteractiveSubtleNegative,\n colorBorderInteractiveSubtleHoverNegative: purpurColorBorderInteractiveSubtleHoverNegative,\n\n colorBorderStatusError: purpurColorBorderStatusError,\n colorBorderStatusWarning: purpurColorBorderStatusWarning,\n colorBorderStatusInfo: purpurColorBorderStatusInfo,\n colorBorderStatusSuccess: purpurColorBorderStatusSuccess,\n colorBorderStatusErrorNegative: purpurColorBorderStatusErrorNegative,\n colorBorderStatusSuccessNegative: purpurColorBorderStatusSuccessNegative,\n} satisfies ThemeProps;\n","import {\n purpurColorBackgroundInteractiveAutoFill,\n purpurColorBackgroundInteractiveDestructive,\n purpurColorBackgroundInteractiveDestructiveActive,\n purpurColorBackgroundInteractiveDestructiveHover,\n purpurColorBackgroundInteractiveDisabled,\n purpurColorBackgroundInteractiveDisabledNegative,\n purpurColorBackgroundInteractiveExpressive,\n purpurColorBackgroundInteractiveExpressiveActive,\n purpurColorBackgroundInteractiveExpressiveActiveNegative,\n purpurColorBackgroundInteractiveExpressiveHover,\n purpurColorBackgroundInteractiveExpressiveHoverNegative,\n purpurColorBackgroundInteractiveExpressiveNegative,\n purpurColorBackgroundInteractiveInactive,\n purpurColorBackgroundInteractiveInactiveNegative,\n purpurColorBackgroundInteractivePrimary,\n purpurColorBackgroundInteractivePrimaryActive,\n purpurColorBackgroundInteractivePrimaryActiveNegative,\n purpurColorBackgroundInteractivePrimaryHover,\n purpurColorBackgroundInteractivePrimaryHoverNegative,\n purpurColorBackgroundInteractivePrimaryNegative,\n purpurColorBackgroundInteractiveReadOnly,\n purpurColorBackgroundInteractiveReadOnlyNegative,\n purpurColorBackgroundInteractiveTransparentActive,\n purpurColorBackgroundInteractiveTransparentActiveNegative,\n purpurColorBackgroundInteractiveTransparentHover,\n purpurColorBackgroundInteractiveTransparentHoverNegative,\n purpurColorBackgroundOnImage,\n purpurColorBackgroundOnImageNegative,\n purpurColorBackgroundPrimary,\n purpurColorBackgroundPrimaryNegative,\n purpurColorBackgroundSecondary,\n purpurColorBackgroundSecondaryNegative,\n purpurColorBackgroundStatusAttention,\n purpurColorBackgroundStatusBlackFriday,\n purpurColorBackgroundStatusErrorMedium,\n purpurColorBackgroundStatusErrorStrong,\n purpurColorBackgroundStatusErrorStrongNegative,\n purpurColorBackgroundStatusInfoMedium,\n purpurColorBackgroundStatusInfoStrong,\n purpurColorBackgroundStatusNeutral,\n purpurColorBackgroundStatusSpecial,\n purpurColorBackgroundStatusSuccessMedium,\n purpurColorBackgroundStatusSuccessStrong,\n purpurColorBackgroundStatusSuccessStrongNegative,\n purpurColorBackgroundStatusWarningMedium,\n purpurColorBackgroundStatusWarningStrong,\n purpurColorBackgroundStatusWarningStrongNegative,\n purpurColorBackgroundToneOnTonePrimary,\n purpurColorBackgroundToneOnToneQuaternary,\n purpurColorBackgroundToneOnToneSecondary,\n purpurColorBackgroundToneOnToneTertiary,\n purpurColorBorderInteractiveExpressive,\n purpurColorBorderInteractiveFocus,\n purpurColorBorderInteractivePrimary,\n purpurColorBorderInteractivePrimaryActive,\n purpurColorBorderInteractivePrimaryActiveNegative,\n purpurColorBorderInteractivePrimaryHover,\n purpurColorBorderInteractivePrimaryHoverNegative,\n purpurColorBorderInteractivePrimaryNegative,\n purpurColorBorderInteractiveSelected,\n purpurColorBorderInteractiveSubtle,\n purpurColorBorderInteractiveSubtleHover,\n purpurColorBorderInteractiveSubtleHoverNegative,\n purpurColorBorderInteractiveSubtleNegative,\n purpurColorBorderMedium,\n purpurColorBorderMediumNegative,\n purpurColorBorderStatusError,\n purpurColorBorderStatusErrorNegative,\n purpurColorBorderStatusInfo,\n purpurColorBorderStatusSuccess,\n purpurColorBorderStatusSuccessNegative,\n purpurColorBorderStatusWarning,\n purpurColorBorderStrong,\n purpurColorBorderStrongNegative,\n purpurColorBorderWeak,\n purpurColorBorderWeakNegative,\n purpurColorBrandBeige,\n purpurColorBrandCorePurple,\n purpurColorBrandDeepBeige,\n purpurColorBrandDeepPurple,\n purpurColorBrandLightBeige,\n purpurColorBrandLightPurple,\n purpurColorBrandOffBlack,\n purpurColorBrandWhite,\n purpurColorTextDefault,\n purpurColorTextDefaultNegative,\n purpurColorTextInteractiveOnDestructive,\n purpurColorTextInteractiveOnExpressive,\n purpurColorTextInteractiveOnExpressiveActive,\n purpurColorTextInteractiveOnExpressiveActiveNegative,\n purpurColorTextInteractiveOnExpressiveHover,\n purpurColorTextInteractiveOnExpressiveHoverNegative,\n purpurColorTextInteractiveOnExpressiveNegative,\n purpurColorTextInteractiveOnPrimary,\n purpurColorTextInteractiveOnPrimaryNegative,\n purpurColorTextInteractivePrimary,\n purpurColorTextInteractivePrimaryActive,\n purpurColorTextInteractivePrimaryActiveNegative,\n purpurColorTextInteractivePrimaryHover,\n purpurColorTextInteractivePrimaryHoverNegative,\n purpurColorTextInteractivePrimaryNegative,\n purpurColorTextInteractiveSelected,\n purpurColorTextMedium,\n purpurColorTextMediumNegative,\n purpurColorTextStatusAttention,\n purpurColorTextStatusBlackFriday,\n purpurColorTextStatusDiscount,\n purpurColorTextStatusErrorMedium,\n purpurColorTextStatusErrorMediumNegative,\n purpurColorTextStatusErrorStrong,\n purpurColorTextStatusErrorStrongNegative,\n purpurColorTextStatusInfoMedium,\n purpurColorTextStatusInfoStrong,\n purpurColorTextStatusNeutral,\n purpurColorTextStatusSpecial,\n purpurColorTextStatusSuccessMedium,\n purpurColorTextStatusSuccessStrong,\n purpurColorTextStatusSuccessStrongNegative,\n purpurColorTextStatusWarningMedium,\n purpurColorTextStatusWarningMediumNegative,\n purpurColorTextStatusWarningStrong,\n purpurColorTextToneOnTonePrimary,\n purpurColorTextToneOnToneSecondary,\n purpurColorTextToneOnToneTertiary,\n purpurColorTextWeak,\n purpurColorTextWeakNegative,\n} from \"@purpur/tokens\";\n\nimport type { ThemeProps } from \"./theme-props\";\n\nexport const light = {\n colorBrandDeepPurple: purpurColorBrandDeepPurple,\n colorBrandCorePurple: purpurColorBrandCorePurple,\n colorBrandLightPurple: purpurColorBrandLightPurple,\n colorBrandDeepBeige: purpurColorBrandDeepBeige,\n colorBrandBeige: purpurColorBrandBeige,\n colorBrandLightBeige: purpurColorBrandLightBeige,\n colorBrandOffBlack: purpurColorBrandOffBlack,\n colorBrandWhite: purpurColorBrandWhite,\n\n colorTextDefault: purpurColorTextDefault,\n colorTextMedium: purpurColorTextMedium,\n colorTextWeak: purpurColorTextWeak,\n colorTextDefaultNegative: purpurColorTextDefaultNegative,\n colorTextMediumNegative: purpurColorTextMediumNegative,\n colorTextWeakNegative: purpurColorTextWeakNegative,\n\n colorTextInteractivePrimary: purpurColorTextInteractivePrimary,\n colorTextInteractivePrimaryHover: purpurColorTextInteractivePrimaryHover,\n colorTextInteractivePrimaryActive: purpurColorTextInteractivePrimaryActive,\n colorTextInteractiveOnPrimary: purpurColorTextInteractiveOnPrimary,\n colorTextInteractiveOnExpressive: purpurColorTextInteractiveOnExpressive,\n colorTextInteractiveOnExpressiveHover: purpurColorTextInteractiveOnExpressiveHover,\n colorTextInteractiveOnExpressiveActive: purpurColorTextInteractiveOnExpressiveActive,\n colorTextInteractiveOnDestructive: purpurColorTextInteractiveOnDestructive,\n colorTextInteractiveSelected: purpurColorTextInteractiveSelected,\n colorTextInteractivePrimaryNegative: purpurColorTextInteractivePrimaryNegative,\n colorTextInteractivePrimaryHoverNegative: purpurColorTextInteractivePrimaryHoverNegative,\n colorTextInteractivePrimaryActiveNegative: purpurColorTextInteractivePrimaryActiveNegative,\n colorTextInteractiveOnPrimaryNegative: purpurColorTextInteractiveOnPrimaryNegative,\n colorTextInteractiveOnExpressiveNegative: purpurColorTextInteractiveOnExpressiveNegative,\n colorTextInteractiveOnExpressiveHoverNegative:\n purpurColorTextInteractiveOnExpressiveHoverNegative,\n colorTextInteractiveOnExpressiveActiveNegative:\n purpurColorTextInteractiveOnExpressiveActiveNegative,\n\n colorTextStatusInfoMedium: purpurColorTextStatusInfoMedium,\n colorTextStatusInfoStrong: purpurColorTextStatusInfoStrong,\n colorTextStatusSuccessMedium: purpurColorTextStatusSuccessMedium,\n colorTextStatusSuccessStrong: purpurColorTextStatusSuccessStrong,\n colorTextStatusWarningMedium: purpurColorTextStatusWarningMedium,\n colorTextStatusWarningStrong: purpurColorTextStatusWarningStrong,\n colorTextStatusErrorMedium: purpurColorTextStatusErrorMedium,\n colorTextStatusErrorStrong: purpurColorTextStatusErrorStrong,\n colorTextStatusNeutral: purpurColorTextStatusNeutral,\n colorTextStatusSpecial: purpurColorTextStatusSpecial,\n colorTextStatusAttention: purpurColorTextStatusAttention,\n colorTextStatusDiscount: purpurColorTextStatusDiscount,\n colorTextStatusBlackFriday: purpurColorTextStatusBlackFriday,\n colorTextStatusSuccessStrongNegative: purpurColorTextStatusSuccessStrongNegative,\n colorTextStatusErrorMediumNegative: purpurColorTextStatusErrorMediumNegative,\n colorTextStatusErrorStrongNegative: purpurColorTextStatusErrorStrongNegative,\n colorTextStatusWarningMediumNegative: purpurColorTextStatusWarningMediumNegative,\n\n colorTextToneOnTonePrimary: purpurColorTextToneOnTonePrimary,\n colorTextToneOnToneSecondary: purpurColorTextToneOnToneSecondary,\n colorTextToneOnToneTertiary: purpurColorTextToneOnToneTertiary,\n\n colorBackgroundPrimary: purpurColorBackgroundPrimary,\n colorBackgroundSecondary: purpurColorBackgroundSecondary,\n colorBackgroundOnImage: purpurColorBackgroundOnImage,\n colorBackgroundPrimaryNegative: purpurColorBackgroundPrimaryNegative,\n colorBackgroundSecondaryNegative: purpurColorBackgroundSecondaryNegative,\n colorBackgroundOnImageNegative: purpurColorBackgroundOnImageNegative,\n\n colorBackgroundInteractivePrimary: purpurColorBackgroundInteractivePrimary,\n colorBackgroundInteractivePrimaryHover: purpurColorBackgroundInteractivePrimaryHover,\n colorBackgroundInteractivePrimaryActive: purpurColorBackgroundInteractivePrimaryActive,\n colorBackgroundInteractiveExpressive: purpurColorBackgroundInteractiveExpressive,\n colorBackgroundInteractiveExpressiveHover: purpurColorBackgroundInteractiveExpressiveHover,\n colorBackgroundInteractiveExpressiveActive: purpurColorBackgroundInteractiveExpressiveActive,\n colorBackgroundInteractiveTransparentHover: purpurColorBackgroundInteractiveTransparentHover,\n colorBackgroundInteractiveTransparentActive: purpurColorBackgroundInteractiveTransparentActive,\n colorBackgroundInteractiveDisabled: purpurColorBackgroundInteractiveDisabled,\n colorBackgroundInteractiveReadOnly: purpurColorBackgroundInteractiveReadOnly,\n colorBackgroundInteractiveInactive: purpurColorBackgroundInteractiveInactive,\n colorBackgroundInteractiveDestructive: purpurColorBackgroundInteractiveDestructive,\n colorBackgroundInteractiveDestructiveHover: purpurColorBackgroundInteractiveDestructiveHover,\n colorBackgroundInteractiveDestructiveActive: purpurColorBackgroundInteractiveDestructiveActive,\n colorBackgroundInteractiveAutoFill: purpurColorBackgroundInteractiveAutoFill,\n colorBackgroundInteractivePrimaryNegative: purpurColorBackgroundInteractivePrimaryNegative,\n colorBackgroundInteractivePrimaryHoverNegative:\n purpurColorBackgroundInteractivePrimaryHoverNegative,\n colorBackgroundInteractivePrimaryActiveNegative:\n purpurColorBackgroundInteractivePrimaryActiveNegative,\n colorBackgroundInteractiveExpressiveNegative: purpurColorBackgroundInteractiveExpressiveNegative,\n colorBackgroundInteractiveExpressiveHoverNegative:\n purpurColorBackgroundInteractiveExpressiveHoverNegative,\n colorBackgroundInteractiveExpressiveActiveNegative:\n purpurColorBackgroundInteractiveExpressiveActiveNegative,\n colorBackgroundInteractiveTransparentHoverNegative:\n purpurColorBackgroundInteractiveTransparentHoverNegative,\n colorBackgroundInteractiveTransparentActiveNegative:\n purpurColorBackgroundInteractiveTransparentActiveNegative,\n colorBackgroundInteractiveDisabledNegative: purpurColorBackgroundInteractiveDisabledNegative,\n colorBackgroundInteractiveInactiveNegative: purpurColorBackgroundInteractiveInactiveNegative,\n colorBackgroundInteractiveReadOnlyNegative: purpurColorBackgroundInteractiveReadOnlyNegative,\n\n colorBackgroundStatusInfoMedium: purpurColorBackgroundStatusInfoMedium,\n colorBackgroundStatusInfoStrong: purpurColorBackgroundStatusInfoStrong,\n colorBackgroundStatusSuccessMedium: purpurColorBackgroundStatusSuccessMedium,\n colorBackgroundStatusSuccessStrong: purpurColorBackgroundStatusSuccessStrong,\n colorBackgroundStatusWarningMedium: purpurColorBackgroundStatusWarningMedium,\n colorBackgroundStatusWarningStrong: purpurColorBackgroundStatusWarningStrong,\n colorBackgroundStatusErrorMedium: purpurColorBackgroundStatusErrorMedium,\n colorBackgroundStatusErrorStrong: purpurColorBackgroundStatusErrorStrong,\n colorBackgroundStatusNeutral: purpurColorBackgroundStatusNeutral,\n colorBackgroundStatusSpecial: purpurColorBackgroundStatusSpecial,\n colorBackgroundStatusAttention: purpurColorBackgroundStatusAttention,\n colorBackgroundStatusBlackFriday: purpurColorBackgroundStatusBlackFriday,\n colorBackgroundStatusSuccessStrongNegative: purpurColorBackgroundStatusSuccessStrongNegative,\n colorBackgroundStatusWarningStrongNegative: purpurColorBackgroundStatusWarningStrongNegative,\n colorBackgroundStatusErrorStrongNegative: purpurColorBackgroundStatusErrorStrongNegative,\n\n colorBackgroundToneOnTonePrimary: purpurColorBackgroundToneOnTonePrimary,\n colorBackgroundToneOnToneSecondary: purpurColorBackgroundToneOnToneSecondary,\n colorBackgroundToneOnToneTertiary: purpurColorBackgroundToneOnToneTertiary,\n colorBackgroundToneOnToneQuaternary: purpurColorBackgroundToneOnToneQuaternary,\n\n colorBorderWeak: purpurColorBorderWeak,\n colorBorderMedium: purpurColorBorderMedium,\n colorBorderStrong: purpurColorBorderStrong,\n colorBorderWeakNegative: purpurColorBorderWeakNegative,\n colorBorderMediumNegative: purpurColorBorderMediumNegative,\n colorBorderStrongNegative: purpurColorBorderStrongNegative,\n\n colorBorderInteractivePrimary: purpurColorBorderInteractivePrimary,\n colorBorderInteractivePrimaryHover: purpurColorBorderInteractivePrimaryHover,\n colorBorderInteractivePrimaryActive: purpurColorBorderInteractivePrimaryActive,\n colorBorderInteractiveFocus: purpurColorBorderInteractiveFocus,\n colorBorderInteractiveExpressive: purpurColorBorderInteractiveExpressive,\n colorBorderInteractiveSubtle: purpurColorBorderInteractiveSubtle,\n colorBorderInteractiveSubtleHover: purpurColorBorderInteractiveSubtleHover,\n colorBorderInteractiveSelected: purpurColorBorderInteractiveSelected,\n colorBorderInteractivePrimaryNegative: purpurColorBorderInteractivePrimaryNegative,\n colorBorderInteractivePrimaryHoverNegative: purpurColorBorderInteractivePrimaryHoverNegative,\n colorBorderInteractivePrimaryActiveNegative: purpurColorBorderInteractivePrimaryActiveNegative,\n colorBorderInteractiveSubtleNegative: purpurColorBorderInteractiveSubtleNegative,\n colorBorderInteractiveSubtleHoverNegative: purpurColorBorderInteractiveSubtleHoverNegative,\n\n colorBorderStatusError: purpurColorBorderStatusError,\n colorBorderStatusWarning: purpurColorBorderStatusWarning,\n colorBorderStatusInfo: purpurColorBorderStatusInfo,\n colorBorderStatusSuccess: purpurColorBorderStatusSuccess,\n colorBorderStatusErrorNegative: purpurColorBorderStatusErrorNegative,\n colorBorderStatusSuccessNegative: purpurColorBorderStatusSuccessNegative,\n} satisfies ThemeProps;\n","import { dark } from \"./telia-dark\";\nimport { light } from \"./telia-light\";\nimport type { ThemeProps } from \"./theme-props\";\n\nexport const teliaTheme = {\n light,\n dark,\n} satisfies { light: ThemeProps; dark: ThemeProps };\n","import { useEffect } from \"react\";\n\nimport { teliaTheme } from \"./telia-theme\";\nimport type { ColorScheme, Theme } from \"./types\";\n\nconst toKebabCase = (str: string) => str.replace(/([a-z0-9])([A-Z])/g, \"$1-$2\").toLowerCase();\n\ntype Props = {\n theme?: Theme;\n cssVariablesSelector?: string;\n currentColorScheme?: ColorScheme;\n};\n\nexport const useApplyTheme = ({\n theme = teliaTheme,\n cssVariablesSelector,\n currentColorScheme,\n}: Props) => {\n useEffect(() => {\n if (currentColorScheme) {\n Object.entries(theme?.[currentColorScheme] ?? teliaTheme[currentColorScheme]).forEach(\n ([key, value]) => {\n const element = cssVariablesSelector\n ? (document.querySelector(cssVariablesSelector) as HTMLElement)\n : null;\n\n (element ?? document.documentElement).style.setProperty(\n `--purpur-${toKebabCase(key)}`,\n value\n );\n }\n );\n }\n }, [theme, cssVariablesSelector, currentColorScheme]);\n};\n","import React, {\n createContext,\n type ReactNode,\n useContext,\n useEffect,\n useMemo,\n useState,\n} from \"react\";\nimport type { BaseProps } from \"@purpur/common-types\";\n\nimport type { ThemeProps } from \"./theme-props\";\nimport type { ColorOptions, ColorScheme, ThemeContextType } from \"./types\";\nimport { useApplyTheme } from \"./useApplyTheme\";\n\nconst ThemeContext = createContext<ThemeContextType>({\n colorScheme: \"light\",\n currentColorScheme: \"light\",\n setColorScheme: () => {},\n options: {},\n portalContainer: null,\n});\n\ntype PropsBase = Omit<BaseProps, \"children\"> & {\n children: ReactNode;\n cssVariablesSelector?: string;\n options?: ThemeContextType[\"options\"];\n};\n\nexport type Props =\n | PropsBase &\n (\n | {\n theme: { light: ThemeProps; dark?: never };\n forceColorScheme: \"light\";\n }\n | {\n theme?: { light: ThemeProps; dark: ThemeProps };\n forceColorScheme?: ColorScheme;\n }\n );\n\nexport const ThemeProvider = ({\n cssVariablesSelector,\n forceColorScheme,\n theme,\n children,\n options = {},\n ...props\n}: Props) => {\n const [colorScheme, setColorScheme] = useState<ColorOptions>(forceColorScheme ?? \"auto\");\n const [currentColorScheme, setCurrentColorScheme] = useState<ColorScheme>(\n forceColorScheme ?? \"light\"\n );\n const [portalContainer, setPortalContainer] = useState<HTMLDivElement | null>(null);\n\n useEffect(() => {\n if (!forceColorScheme) {\n const savedColorScheme = localStorage.getItem(\"colorScheme\") as ColorOptions | null;\n if (savedColorScheme) {\n setColorScheme(savedColorScheme);\n }\n } else {\n setColorScheme(forceColorScheme);\n }\n }, [forceColorScheme]);\n\n useEffect(() => {\n const mediaQuery = window.matchMedia(\"(prefers-color-scheme: dark)\");\n\n if (colorScheme === \"auto\") {\n setCurrentColorScheme(mediaQuery.matches ? \"dark\" : \"light\");\n } else {\n setCurrentColorScheme(colorScheme);\n }\n\n const handleChange = (e: MediaQueryListEvent) => {\n if (!forceColorScheme && colorScheme === \"auto\") {\n setCurrentColorScheme(e.matches ? \"dark\" : \"light\");\n }\n };\n\n mediaQuery.addEventListener(\"change\", handleChange);\n\n return () => {\n mediaQuery.removeEventListener(\"change\", handleChange);\n };\n }, [colorScheme, forceColorScheme]);\n\n const isCustomTheme = theme !== undefined;\n\n useApplyTheme({\n theme,\n cssVariablesSelector,\n currentColorScheme: isCustomTheme ? currentColorScheme : undefined,\n });\n\n const contextValue = useMemo(\n () => ({\n colorScheme,\n currentColorScheme,\n setColorScheme: (scheme: ColorOptions) => {\n if (!forceColorScheme) {\n setColorScheme(scheme);\n localStorage.setItem(\"colorScheme\", scheme);\n }\n },\n portalContainer,\n }),\n [colorScheme, currentColorScheme, forceColorScheme, portalContainer]\n );\n\n return (\n <ThemeContext.Provider value={{ ...contextValue, options }}>\n <div\n data-color-scheme={currentColorScheme}\n className={currentColorScheme}\n ref={setPortalContainer}\n {...props}\n >\n {children}\n </div>\n </ThemeContext.Provider>\n );\n};\n\nexport const useTheme = (): ThemeContextType => {\n const context = useContext(ThemeContext);\n if (!context) {\n throw new Error(\"useTheme must be used within a ThemeProvider\");\n }\n return context;\n};\n"],"names":["purpurColorBrandDeepPurple","purpurColorBrandCorePurple","purpurColorBrandLightPurple","purpurColorBrandDeepBeige","purpurColorBrandBeige","purpurColorBrandLightBeige","purpurColorBrandOffBlack","purpurColorBrandWhite","purpurColorTextDefault","purpurColorTextMedium","purpurColorTextWeak","purpurColorTextDefaultNegative","purpurColorTextMediumNegative","purpurColorTextWeakNegative","purpurColorTextInteractivePrimary","purpurColorTextInteractivePrimaryHover","purpurColorTextInteractivePrimaryActive","purpurColorTextInteractiveOnPrimary","purpurColorTextInteractiveOnPrimaryNegative","purpurColorTextInteractivePrimaryNegative","purpurColorTextInteractivePrimaryHoverNegative","purpurColorTextInteractivePrimaryActiveNegative","purpurColorTextInteractiveOnExpressive","purpurColorTextInteractiveOnExpressiveNegative","purpurColorTextInteractiveOnExpressiveHover","purpurColorTextInteractiveOnExpressiveHoverNegative","purpurColorTextInteractiveOnExpressiveActive","purpurColorTextInteractiveOnExpressiveActiveNegative","purpurColorTextInteractiveOnDestructive","purpurColorTextInteractiveSelected","purpurColorTextStatusDiscount","purpurColorTextStatusErrorStrong","purpurColorTextStatusErrorStrongNegative","purpurColorTextStatusErrorMedium","purpurColorTextStatusErrorMediumNegative","purpurColorTextStatusSuccessStrong","purpurColorTextStatusSuccessStrongNegative","purpurColorTextStatusSuccessMedium","purpurColorTextStatusWarningStrong","purpurColorTextStatusWarningMedium","purpurColorTextStatusWarningMediumNegative","purpurColorTextStatusInfoStrong","purpurColorTextStatusInfoMedium","purpurColorTextStatusNeutral","purpurColorTextStatusSpecial","purpurColorTextStatusAttention","purpurColorTextStatusBlackFriday","purpurColorTextToneOnTonePrimary","purpurColorTextToneOnToneSecondary","purpurColorTextToneOnToneTertiary","purpurColorBackgroundPrimary","purpurColorBackgroundPrimaryNegative","purpurColorBackgroundSecondary","purpurColorBackgroundSecondaryNegative","purpurColorBackgroundOnImage","purpurColorBackgroundOnImageNegative","purpurColorBackgroundInteractiveAutoFill","purpurColorBackgroundInteractivePrimary","purpurColorBackgroundInteractivePrimaryHover","purpurColorBackgroundInteractivePrimaryActive","purpurColorBackgroundInteractivePrimaryNegative","purpurColorBackgroundInteractivePrimaryHoverNegative","purpurColorBackgroundInteractivePrimaryActiveNegative","purpurColorBackgroundInteractiveExpressive","purpurColorBackgroundInteractiveExpressiveHover","purpurColorBackgroundInteractiveExpressiveActive","purpurColorBackgroundInteractiveExpressiveNegative","purpurColorBackgroundInteractiveExpressiveHoverNegative","purpurColorBackgroundInteractiveExpressiveActiveNegative","purpurColorBackgroundInteractiveDisabled","purpurColorBackgroundInteractiveDisabledNegative","purpurColorBackgroundInteractiveTransparentHover","purpurColorBackgroundInteractiveTransparentHoverNegative","purpurColorBackgroundInteractiveTransparentActive","purpurColorBackgroundInteractiveTransparentActiveNegative","purpurColorBackgroundInteractiveInactive","purpurColorBackgroundInteractiveInactiveNegative","purpurColorBackgroundInteractiveReadOnly","purpurColorBackgroundInteractiveReadOnlyNegative","purpurColorBackgroundInteractiveDestructive","purpurColorBackgroundInteractiveDestructiveHover","purpurColorBackgroundInteractiveDestructiveActive","purpurColorBackgroundStatusInfoMedium","purpurColorBackgroundStatusInfoStrong","purpurColorBackgroundStatusSuccessMedium","purpurColorBackgroundStatusSuccessStrong","purpurColorBackgroundStatusSuccessStrongNegative","purpurColorBackgroundStatusErrorMedium","purpurColorBackgroundStatusErrorStrong","purpurColorBackgroundStatusErrorStrongNegative","purpurColorBackgroundStatusWarningMedium","purpurColorBackgroundStatusWarningStrong","purpurColorBackgroundStatusWarningStrongNegative","purpurColorBackgroundStatusNeutral","purpurColorBackgroundStatusSpecial","purpurColorBackgroundStatusAttention","purpurColorBackgroundStatusBlackFriday","purpurColorBackgroundToneOnTonePrimary","purpurColorBackgroundToneOnToneSecondary","purpurColorBackgroundToneOnToneTertiary","purpurColorBackgroundToneOnToneQuaternary","purpurColorBorderMedium","purpurColorBorderMediumNegative","purpurColorBorderStrong","purpurColorBorderStrongNegative","purpurColorBorderWeak","purpurColorBorderWeakNegative","purpurColorBorderInteractiveFocus","purpurColorBorderInteractivePrimary","purpurColorBorderInteractivePrimaryNegative","purpurColorBorderInteractivePrimaryHover","purpurColorBorderInteractivePrimaryActive","purpurColorBorderInteractivePrimaryHoverNegative","purpurColorBorderInteractivePrimaryActiveNegative","purpurColorBorderInteractiveExpressive","purpurColorBorderInteractiveSelected","purpurColorBorderInteractiveSubtle","purpurColorBorderInteractiveSubtleNegative","purpurColorBorderInteractiveSubtleHover","purpurColorBorderInteractiveSubtleHoverNegative","purpurColorBorderStatusError","purpurColorBorderStatusErrorNegative","purpurColorBorderStatusWarning","purpurColorBorderStatusInfo","purpurColorBorderStatusSuccess","purpurColorBorderStatusSuccessNegative","dark","light","teliaTheme","toKebabCase","str","useApplyTheme","theme","cssVariablesSelector","currentColorScheme","useEffect","key","value","ThemeContext","createContext","ThemeProvider","forceColorScheme","children","options","props","colorScheme","setColorScheme","useState","setCurrentColorScheme","portalContainer","setPortalContainer","savedColorScheme","mediaQuery","handleChange","e","contextValue","useMemo","scheme","jsx","useTheme","context","useContext"],"mappings":"0GAwHaA,EAA6B,UAC7BC,EAA6B,UAC7BC,EAA8B,UAC9BC,EAA4B,UAC5BC,EAAwB,UACxBC,EAA6B,UAC7BC,EAA2B,UAC3BC,EAAwB,UACxBC,EAAyB,4BACzBC,EAAwB,4BACxBC,EAAsB,4BACtBC,EAAiC,qBACjCC,EAAgC,sBAChCC,EAA8B,sBAC9BC,EAAoC,UACpCC,EAAyC,UACzCC,EAA0C,UAC1CC,EAAsC,UACtCC,EAA8C,UAC9CC,EAA4C,UAC5CC,EAAiD,UACjDC,EAAkD,UAClDC,EAAyC,UACzCC,EAAiD,UACjDC,EAA8C,UAC9CC,EAAsD,UACtDC,EAA+C,UAC/CC,EAAuD,UACvDC,EAA0C,UAC1CC,EAAqC,UAErCC,EAAgC,UAChCC,EAAmC,UACnCC,GAA2C,UAC3CC,GAAmC,UACnCC,GAA2C,UAC3CC,GAAqC,UACrCC,GAA6C,UAC7CC,GAAqC,UACrCC,GAAqC,UACrCC,GAAqC,UACrCC,GAA6C,UAC7CC,GAAkC,UAClCC,GAAkC,UAClCC,GAA+B,UAC/BC,GAA+B,UAC/BC,GAAiC,UACjCC,GAAmC,UACnCC,GAAmC,UACnCC,GAAqC,UACrCC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