@purpur/library 9.1.2 → 9.2.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.
- package/CHANGELOG.json +56 -0
- package/CHANGELOG.md +28 -1
- package/dist/LICENSE.txt +66 -8
- package/dist/{ThemeProvider-ipAIFRUi.js → ThemeProvider-5r7lDX-h.js} +2 -2
- package/dist/{ThemeProvider-ipAIFRUi.js.map → ThemeProvider-5r7lDX-h.js.map} +1 -1
- package/dist/{ThemeProvider-BR1hJQOD.mjs → ThemeProvider-bkyFCeo6.mjs} +3 -3
- package/dist/{ThemeProvider-BR1hJQOD.mjs.map → ThemeProvider-bkyFCeo6.mjs.map} +1 -1
- package/dist/accordion-OsA0HvdA.js +2 -0
- package/dist/{accordion-DX8efWOt.js.map → accordion-OsA0HvdA.js.map} +1 -1
- package/dist/{accordion-BKTz9DM6.mjs → accordion-OtFSShSB.mjs} +37 -37
- package/dist/{accordion-BKTz9DM6.mjs.map → accordion-OtFSShSB.mjs.map} +1 -1
- package/dist/accordion.cjs.js +1 -1
- package/dist/accordion.es.js +1 -1
- package/dist/arrow-left.es-CCWJyrcQ.js +2 -0
- package/dist/arrow-left.es-CCWJyrcQ.js.map +1 -0
- package/dist/arrow-left.es-DU-PX-Il.mjs +13 -0
- package/dist/arrow-left.es-DU-PX-Il.mjs.map +1 -0
- package/dist/{autocomplete-B8L-dTmF.mjs → autocomplete-BipmyKf0.mjs} +2 -2
- package/dist/{autocomplete-B8L-dTmF.mjs.map → autocomplete-BipmyKf0.mjs.map} +1 -1
- package/dist/{autocomplete-B421J7CS.js → autocomplete-D9uCJzjY.js} +2 -2
- package/dist/{autocomplete-B421J7CS.js.map → autocomplete-D9uCJzjY.js.map} +1 -1
- package/dist/autocomplete.cjs.js +1 -1
- package/dist/autocomplete.es.js +1 -1
- package/dist/button-4-yWOgtD.mjs +109 -0
- package/dist/{button-Cv7NlYbv.mjs.map → button-4-yWOgtD.mjs.map} +1 -1
- package/dist/button-DmybVApa.js +2 -0
- package/dist/{button-Dqxdc3nC.js.map → button-DmybVApa.js.map} +1 -1
- package/dist/button.cjs.js +1 -1
- package/dist/button.es.js +1 -1
- package/dist/{calendar-CoP1dGpQ.js → calendar-CBBV8n3x.js} +2 -2
- package/dist/{calendar-CoP1dGpQ.js.map → calendar-CBBV8n3x.js.map} +1 -1
- package/dist/{calendar-D_sZrR92.mjs → calendar-DEXw83mu.mjs} +2 -2
- package/dist/{calendar-D_sZrR92.mjs.map → calendar-DEXw83mu.mjs.map} +1 -1
- package/dist/calendar.cjs.js +1 -1
- package/dist/calendar.es.js +1 -1
- package/dist/card-CRHXm5NR.js +2 -0
- package/dist/{card-VMa3cGCP.js.map → card-CRHXm5NR.js.map} +1 -1
- package/dist/{card-CkZQZOz1.mjs → card-DR2hvxjZ.mjs} +75 -75
- package/dist/{card-CkZQZOz1.mjs.map → card-DR2hvxjZ.mjs.map} +1 -1
- package/dist/card.cjs.js +1 -1
- package/dist/card.es.js +1 -1
- package/dist/carousel-BCw-5u92.js +2 -0
- package/dist/carousel-BCw-5u92.js.map +1 -0
- package/dist/carousel-BkxojLwn.mjs +1633 -0
- package/dist/carousel-BkxojLwn.mjs.map +1 -0
- package/dist/carousel.cjs.js +2 -0
- package/dist/carousel.cjs.js.map +1 -0
- package/dist/carousel.es.js +5 -0
- package/dist/carousel.es.js.map +1 -0
- package/dist/{chat-field-yK-TwW0D.mjs → chat-field-CVF4DooY.mjs} +2 -2
- package/dist/{chat-field-yK-TwW0D.mjs.map → chat-field-CVF4DooY.mjs.map} +1 -1
- package/dist/{chat-field-CxOqk0-9.js → chat-field-Wjvh2J6C.js} +2 -2
- package/dist/{chat-field-CxOqk0-9.js.map → chat-field-Wjvh2J6C.js.map} +1 -1
- package/dist/chat-field.cjs.js +1 -1
- package/dist/chat-field.es.js +1 -1
- package/dist/comparison-table-B8w65g43.js +2 -0
- package/dist/comparison-table-B8w65g43.js.map +1 -0
- package/dist/comparison-table-D1zJpdLL.mjs +275 -0
- package/dist/comparison-table-D1zJpdLL.mjs.map +1 -0
- package/dist/comparison-table.cjs.js +2 -0
- package/dist/comparison-table.cjs.js.map +1 -0
- package/dist/comparison-table.es.js +5 -0
- package/dist/comparison-table.es.js.map +1 -0
- package/dist/components/carousel/src/carousel.d.ts +43 -0
- package/dist/components/carousel/src/carousel.d.ts.map +1 -0
- package/dist/components/carousel/src/components/PageIndicator.d.ts +12 -0
- package/dist/components/carousel/src/components/PageIndicator.d.ts.map +1 -0
- package/dist/components/carousel/src/hooks/useAutoplay.d.ts +8 -0
- package/dist/components/carousel/src/hooks/useAutoplay.d.ts.map +1 -0
- package/dist/components/carousel/src/hooks/usePageIndicators.d.ts +9 -0
- package/dist/components/carousel/src/hooks/usePageIndicators.d.ts.map +1 -0
- package/dist/components/carousel/src/hooks/usePrefersReducedMotion.d.ts +2 -0
- package/dist/components/carousel/src/hooks/usePrefersReducedMotion.d.ts.map +1 -0
- package/dist/components/carousel/src/hooks/usePrevNextButtons.d.ts +11 -0
- package/dist/components/carousel/src/hooks/usePrevNextButtons.d.ts.map +1 -0
- package/dist/components/comparison-table/src/comparison-table.d.ts +64 -0
- package/dist/components/comparison-table/src/comparison-table.d.ts.map +1 -0
- package/dist/components/comparison-table/src/components/Cell/cell.d.ts +7 -0
- package/dist/components/comparison-table/src/components/Cell/cell.d.ts.map +1 -0
- package/dist/components/comparison-table/src/components/LeadCell/lead-cell.d.ts +8 -0
- package/dist/components/comparison-table/src/components/LeadCell/lead-cell.d.ts.map +1 -0
- package/dist/components/comparison-table/src/components/OptionCard/option-card.d.ts +26 -0
- package/dist/components/comparison-table/src/components/OptionCard/option-card.d.ts.map +1 -0
- package/dist/components/comparison-table/src/components/ScrollProgress/scroll-progress.d.ts +11 -0
- package/dist/components/comparison-table/src/components/ScrollProgress/scroll-progress.d.ts.map +1 -0
- package/dist/components/content-block/src/content-block.d.ts +2 -2
- package/dist/components/content-block/src/content-block.d.ts.map +1 -1
- package/dist/components/dropdown/src/dropdown-combobox.d.ts +2 -1
- package/dist/components/dropdown/src/dropdown-combobox.d.ts.map +1 -1
- package/dist/components/dropdown/src/dropdown-select.d.ts +2 -1
- package/dist/components/dropdown/src/dropdown-select.d.ts.map +1 -1
- package/dist/components/dropdown/src/dropdown-shared.d.ts +11 -1
- package/dist/components/dropdown/src/dropdown-shared.d.ts.map +1 -1
- package/dist/components/dropdown/src/dropdown.types.d.ts +7 -2
- package/dist/components/dropdown/src/dropdown.types.d.ts.map +1 -1
- package/dist/components/dropdown/src/useDropdown.d.ts +2 -1
- package/dist/components/dropdown/src/useDropdown.d.ts.map +1 -1
- package/dist/components-metadata.js +16 -0
- package/dist/{content-block-Cd7xSE8t.js → content-block-CDRUH0pg.js} +2 -2
- package/dist/content-block-CDRUH0pg.js.map +1 -0
- package/dist/{content-block-BMOvlH7a.mjs → content-block-Dm3L4g8w.mjs} +2 -2
- package/dist/content-block-Dm3L4g8w.mjs.map +1 -0
- package/dist/content-block.cjs.js +1 -1
- package/dist/content-block.es.js +1 -1
- package/dist/{cta-link-BHU6irMG.js → cta-link-B1qMjH76.js} +2 -2
- package/dist/{cta-link-BHU6irMG.js.map → cta-link-B1qMjH76.js.map} +1 -1
- package/dist/{cta-link-B_FfwflB.mjs → cta-link-pwva2f2r.mjs} +43 -43
- package/dist/{cta-link-B_FfwflB.mjs.map → cta-link-pwva2f2r.mjs.map} +1 -1
- package/dist/cta-link.cjs.js +1 -1
- package/dist/cta-link.es.js +1 -1
- package/dist/{date-field-B7ipm5sH.js → date-field-BJaomFjs.js} +2 -2
- package/dist/{date-field-B7ipm5sH.js.map → date-field-BJaomFjs.js.map} +1 -1
- package/dist/{date-field-4tYMPw89.mjs → date-field-D3rTtf9Y.mjs} +2 -2
- package/dist/{date-field-4tYMPw89.mjs.map → date-field-D3rTtf9Y.mjs.map} +1 -1
- package/dist/date-field.cjs.js +1 -1
- package/dist/date-field.es.js +1 -1
- package/dist/{date-picker-D7EisjDG.mjs → date-picker-CpDZ0gK9.mjs} +4 -4
- package/dist/{date-picker-D7EisjDG.mjs.map → date-picker-CpDZ0gK9.mjs.map} +1 -1
- package/dist/{date-picker-BWW4xzyc.js → date-picker-D3uJGCjl.js} +2 -2
- package/dist/{date-picker-BWW4xzyc.js.map → date-picker-D3uJGCjl.js.map} +1 -1
- package/dist/date-picker.cjs.js +1 -1
- package/dist/date-picker.es.js +1 -1
- package/dist/{drawer-Vi9H2O3N.mjs → drawer-BJ8xwriz.mjs} +2 -2
- package/dist/{drawer-Vi9H2O3N.mjs.map → drawer-BJ8xwriz.mjs.map} +1 -1
- package/dist/{drawer-UdK-u7IX.js → drawer-CNs9K8Ca.js} +2 -2
- package/dist/{drawer-UdK-u7IX.js.map → drawer-CNs9K8Ca.js.map} +1 -1
- package/dist/drawer.cjs.js +1 -1
- package/dist/drawer.es.js +1 -1
- package/dist/dropdown-BsqVnd7z.js +2 -0
- package/dist/dropdown-BsqVnd7z.js.map +1 -0
- package/dist/dropdown-TO3Mh0bk.mjs +910 -0
- package/dist/dropdown-TO3Mh0bk.mjs.map +1 -0
- package/dist/dropdown.cjs.js +1 -1
- package/dist/dropdown.es.js +1 -1
- package/dist/{footer-cH07Xqil.mjs → footer-BXs8uzTA.mjs} +4 -4
- package/dist/{footer-cH07Xqil.mjs.map → footer-BXs8uzTA.mjs.map} +1 -1
- package/dist/{footer-BL0ewBZT.js → footer-DF9adlni.js} +2 -2
- package/dist/{footer-BL0ewBZT.js.map → footer-DF9adlni.js.map} +1 -1
- package/dist/footer.cjs.js +1 -1
- package/dist/footer.es.js +1 -1
- package/dist/{hero-banner-yGRM4OlS.js → hero-banner-BfxclVFT.js} +2 -2
- package/dist/{hero-banner-yGRM4OlS.js.map → hero-banner-BfxclVFT.js.map} +1 -1
- package/dist/{hero-banner-BjwICxaJ.mjs → hero-banner-CxPvhXD2.mjs} +3 -3
- package/dist/{hero-banner-BjwICxaJ.mjs.map → hero-banner-CxPvhXD2.mjs.map} +1 -1
- package/dist/hero-banner.cjs.js +1 -1
- package/dist/hero-banner.es.js +1 -1
- package/dist/libraries/library/src/carousel.d.ts +6 -0
- package/dist/libraries/library/src/carousel.d.ts.map +1 -0
- package/dist/libraries/library/src/comparison-table.d.ts +6 -0
- package/dist/libraries/library/src/comparison-table.d.ts.map +1 -0
- package/dist/libraries/library/src/library.d.ts +2 -0
- package/dist/libraries/library/src/library.d.ts.map +1 -1
- package/dist/library.cjs.js +1 -1
- package/dist/library.es.js +609 -605
- package/dist/library.es.js.map +1 -1
- package/dist/minus.es-BK9qA9iJ.mjs +13 -0
- package/dist/minus.es-BK9qA9iJ.mjs.map +1 -0
- package/dist/minus.es-DtXArdKK.js +2 -0
- package/dist/minus.es-DtXArdKK.js.map +1 -0
- package/dist/{modal-fTWvPEPW.mjs → modal-DCfN6q8I.mjs} +28 -28
- package/dist/modal-DCfN6q8I.mjs.map +1 -0
- package/dist/{modal-DMeRO1wE.js → modal-DZIdw9xy.js} +2 -2
- package/dist/modal-DZIdw9xy.js.map +1 -0
- package/dist/modal.cjs.js +1 -1
- package/dist/modal.es.js +1 -1
- package/dist/{notification-DE1pvk9W.js → notification-BqjaT4E7.js} +2 -2
- package/dist/{notification-DE1pvk9W.js.map → notification-BqjaT4E7.js.map} +1 -1
- package/dist/{notification-BvoL7BIW.mjs → notification-DdRS5BF2.mjs} +2 -2
- package/dist/{notification-BvoL7BIW.mjs.map → notification-DdRS5BF2.mjs.map} +1 -1
- package/dist/{notification-banner-C4gkkSlf.mjs → notification-banner-BOclxqFu.mjs} +2 -2
- package/dist/{notification-banner-C4gkkSlf.mjs.map → notification-banner-BOclxqFu.mjs.map} +1 -1
- package/dist/{notification-banner-COH7wJu2.js → notification-banner-jY8rQH2M.js} +2 -2
- package/dist/{notification-banner-COH7wJu2.js.map → notification-banner-jY8rQH2M.js.map} +1 -1
- package/dist/notification-banner.cjs.js +1 -1
- package/dist/notification-banner.es.js +1 -1
- package/dist/notification.cjs.js +1 -1
- package/dist/notification.es.js +1 -1
- package/dist/pagination-Bwlkvqye.js +2 -0
- package/dist/pagination-Bwlkvqye.js.map +1 -0
- package/dist/{pagination-BdCjh1Pi.mjs → pagination-CVYUacXN.mjs} +235 -242
- package/dist/pagination-CVYUacXN.mjs.map +1 -0
- package/dist/pagination.cjs.js +1 -1
- package/dist/pagination.es.js +1 -1
- package/dist/{popover-lxTyKALA.mjs → popover-Dwqs1wGH.mjs} +2 -2
- package/dist/{popover-lxTyKALA.mjs.map → popover-Dwqs1wGH.mjs.map} +1 -1
- package/dist/{popover-BnUVNqSi.js → popover-XCUa2GfC.js} +2 -2
- package/dist/{popover-BnUVNqSi.js.map → popover-XCUa2GfC.js.map} +1 -1
- package/dist/popover.cjs.js +1 -1
- package/dist/popover.es.js +1 -1
- package/dist/{product-card-BU1ThhCx.mjs → product-card-BfB82XpS.mjs} +2 -2
- package/dist/{product-card-BU1ThhCx.mjs.map → product-card-BfB82XpS.mjs.map} +1 -1
- package/dist/{product-card-CNBegEBW.js → product-card-bVQ7JhHj.js} +2 -2
- package/dist/{product-card-CNBegEBW.js.map → product-card-bVQ7JhHj.js.map} +1 -1
- package/dist/product-card.cjs.js +1 -1
- package/dist/product-card.es.js +1 -1
- package/dist/{promotion-card-_bPyVr9t.mjs → promotion-card-BhNw94sC.mjs} +4 -4
- package/dist/{promotion-card-_bPyVr9t.mjs.map → promotion-card-BhNw94sC.mjs.map} +1 -1
- package/dist/{promotion-card-CXNhskRl.js → promotion-card-DqBBt2sz.js} +2 -2
- package/dist/{promotion-card-CXNhskRl.js.map → promotion-card-DqBBt2sz.js.map} +1 -1
- package/dist/promotion-card.cjs.js +1 -1
- package/dist/promotion-card.es.js +1 -1
- package/dist/purpur.css +1 -1
- package/dist/quantity-selector-8AkKNDik.js +2 -0
- package/dist/quantity-selector-8AkKNDik.js.map +1 -0
- package/dist/{quantity-selector-CGhJ2DjO.mjs → quantity-selector-C23kU1hF.mjs} +73 -79
- package/dist/quantity-selector-C23kU1hF.mjs.map +1 -0
- package/dist/quantity-selector.cjs.js +1 -1
- package/dist/quantity-selector.es.js +1 -1
- package/dist/scss/action.scss +1 -0
- package/dist/{search-field-DTuEiK-M.mjs → search-field-CMBDkydb.mjs} +3 -3
- package/dist/{search-field-DTuEiK-M.mjs.map → search-field-CMBDkydb.mjs.map} +1 -1
- package/dist/{search-field-Bst9d-wX.js → search-field-CU_tsmHb.js} +2 -2
- package/dist/{search-field-Bst9d-wX.js.map → search-field-CU_tsmHb.js.map} +1 -1
- package/dist/search-field.cjs.js +1 -1
- package/dist/search-field.es.js +1 -1
- package/dist/{stepper-k0bX9m4t.mjs → stepper-uBfDdIju.mjs} +3 -3
- package/dist/{stepper-k0bX9m4t.mjs.map → stepper-uBfDdIju.mjs.map} +1 -1
- package/dist/{stepper-ClLQuoXr.js → stepper-w-raIwqJ.js} +2 -2
- package/dist/{stepper-ClLQuoXr.js.map → stepper-w-raIwqJ.js.map} +1 -1
- package/dist/stepper.cjs.js +1 -1
- package/dist/stepper.es.js +1 -1
- package/dist/{table-Ddv6BKo9.js → table-BVSBvTYG.js} +2 -2
- package/dist/{table-Ddv6BKo9.js.map → table-BVSBvTYG.js.map} +1 -1
- package/dist/{table-D_XW4smf.mjs → table-CuV3Gda_.mjs} +6 -6
- package/dist/{table-D_XW4smf.mjs.map → table-CuV3Gda_.mjs.map} +1 -1
- package/dist/table.cjs.js +1 -1
- package/dist/table.es.js +1 -1
- package/dist/{text-area-9ggiIWtJ.js → text-area-C6W0fDiQ.js} +2 -2
- package/dist/{text-area-9ggiIWtJ.js.map → text-area-C6W0fDiQ.js.map} +1 -1
- package/dist/{text-area-CpYWt99s.mjs → text-area-DDZ_GQPW.mjs} +3 -3
- package/dist/{text-area-CpYWt99s.mjs.map → text-area-DDZ_GQPW.mjs.map} +1 -1
- package/dist/text-area.cjs.js +1 -1
- package/dist/text-area.es.js +1 -1
- package/dist/{text-field-BQYzwIrG.mjs → text-field-BQfxJobW.mjs} +2 -2
- package/dist/{text-field-BQYzwIrG.mjs.map → text-field-BQfxJobW.mjs.map} +1 -1
- package/dist/{text-field-BwxGMWds.js → text-field-CYJzQG3h.js} +2 -2
- package/dist/{text-field-BwxGMWds.js.map → text-field-CYJzQG3h.js.map} +1 -1
- package/dist/text-field.cjs.js +1 -1
- package/dist/text-field.es.js +1 -1
- package/dist/theme.cjs.js +1 -1
- package/dist/theme.es.js +2 -2
- package/dist/tokens/color/variables.css +12 -12
- package/dist/tokens/color/variables.dark.css +13 -13
- package/dist/tokens/color/variables.dark.js +13 -13
- package/dist/tokens/color/variables.dark.json +13 -13
- package/dist/tokens/color/variables.dark.scss +13 -13
- package/dist/tokens/color/variables.js +12 -12
- package/dist/tokens/color/variables.json +12 -12
- package/dist/tokens/color/variables.scss +12 -12
- package/dist/tokens/gradient/variables.dark.js +4 -4
- package/dist/tokens/gradient/variables.dark.json +4 -4
- package/dist/tokens/gradient/variables.dark.scss +4 -4
- package/dist/tokens/gradient/variables.js +4 -4
- package/dist/tokens/gradient/variables.json +4 -4
- package/dist/tokens/gradient/variables.scss +4 -4
- package/dist/tokens.cjs.js +1 -1
- package/dist/tokens.cjs.js.map +1 -1
- package/dist/tokens.es.js +41 -41
- package/dist/tokens.es.js.map +1 -1
- package/dist/{tooltip-BatXMflw.js → tooltip-0pLBlDG3.js} +2 -2
- package/dist/{tooltip-BatXMflw.js.map → tooltip-0pLBlDG3.js.map} +1 -1
- package/dist/{tooltip-CZzwHkea.mjs → tooltip-Kom0VfOC.mjs} +2 -2
- package/dist/{tooltip-CZzwHkea.mjs.map → tooltip-Kom0VfOC.mjs.map} +1 -1
- package/dist/tooltip.cjs.js +1 -1
- package/dist/tooltip.es.js +1 -1
- package/dist/useColorScheme-0GMDl2GF.js +2 -0
- package/dist/{useColorScheme-DNNu9bz0.js.map → useColorScheme-0GMDl2GF.js.map} +1 -1
- package/dist/{useColorScheme-9rgSgG0N.mjs → useColorScheme-Di_Q0JR4.mjs} +2 -2
- package/dist/{useColorScheme-9rgSgG0N.mjs.map → useColorScheme-Di_Q0JR4.mjs.map} +1 -1
- package/dist/{variables-BVgnpUH9.mjs → variables-CKp4o9Tn.mjs} +2 -2
- package/dist/{variables-BVgnpUH9.mjs.map → variables-CKp4o9Tn.mjs.map} +1 -1
- package/dist/{variables-CMzMXeor.js → variables-DH61hVNE.js} +2 -2
- package/dist/{variables-CMzMXeor.js.map → variables-DH61hVNE.js.map} +1 -1
- package/package.json +45 -43
- package/src/aliases.ts +11 -0
- package/src/carousel.ts +6 -0
- package/src/comparison-table.ts +6 -0
- package/src/entries.js +2 -0
- package/src/library.ts +4 -0
- package/tokens/color/variables.css +12 -12
- package/tokens/color/variables.dark.css +13 -13
- package/tokens/color/variables.dark.js +13 -13
- package/tokens/color/variables.dark.json +13 -13
- package/tokens/color/variables.dark.scss +13 -13
- package/tokens/color/variables.js +12 -12
- package/tokens/color/variables.json +12 -12
- package/tokens/color/variables.scss +12 -12
- package/tokens/gradient/variables.dark.js +4 -4
- package/tokens/gradient/variables.dark.json +4 -4
- package/tokens/gradient/variables.dark.scss +4 -4
- package/tokens/gradient/variables.js +4 -4
- package/tokens/gradient/variables.json +4 -4
- package/tokens/gradient/variables.scss +4 -4
- package/dist/accordion-DX8efWOt.js +0 -2
- package/dist/button-Cv7NlYbv.mjs +0 -109
- package/dist/button-Dqxdc3nC.js +0 -2
- package/dist/card-VMa3cGCP.js +0 -2
- package/dist/content-block-BMOvlH7a.mjs.map +0 -1
- package/dist/content-block-Cd7xSE8t.js.map +0 -1
- package/dist/dropdown-BC6evqyq.js +0 -2
- package/dist/dropdown-BC6evqyq.js.map +0 -1
- package/dist/dropdown-C-Ze4gvG.mjs +0 -771
- package/dist/dropdown-C-Ze4gvG.mjs.map +0 -1
- package/dist/modal-DMeRO1wE.js.map +0 -1
- package/dist/modal-fTWvPEPW.mjs.map +0 -1
- package/dist/pagination-BdCjh1Pi.mjs.map +0 -1
- package/dist/pagination-C2A8NPol.js +0 -2
- package/dist/pagination-C2A8NPol.js.map +0 -1
- package/dist/quantity-selector-BV7QwVlT.js +0 -2
- package/dist/quantity-selector-BV7QwVlT.js.map +0 -1
- package/dist/quantity-selector-CGhJ2DjO.mjs.map +0 -1
- package/dist/useColorScheme-DNNu9bz0.js +0 -2
package/CHANGELOG.json
CHANGED
|
@@ -1,6 +1,62 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@purpur/library",
|
|
3
3
|
"entries": [
|
|
4
|
+
{
|
|
5
|
+
"version": "9.2.0",
|
|
6
|
+
"tag": "@purpur/library_v9.2.0",
|
|
7
|
+
"date": "Fri, 24 Apr 2026 07:35:17 GMT",
|
|
8
|
+
"comments": {
|
|
9
|
+
"none": [
|
|
10
|
+
{
|
|
11
|
+
"comment": "Accordion: Fix overflow behaviour changing when child element receives focus"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"comment": "Accordion: Switch title to display font (Telia Sans Heading)"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"comment": "ContentBlock: Switch title to display font (Telia Sans Heading)"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"comment": "Modal: Switch title to display font (Telia Sans Heading)"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"comment": "PromotionCard: Switch title to display font (Telia Sans Heading) by default; titleVariant prop can still be used to override"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"comment": "Tokens: Update interactive-primary semantic color tokens for text and border (light and dark themes)"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"comment": "Action: Left align text for action mixin"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"comment": "Button: Left align text for Button"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"comment": "Remove all vulnerabilities and enforce strict dep versions"
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"patch": [
|
|
39
|
+
{
|
|
40
|
+
"comment": "Dropdown: Make 'Select all' option"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"comment": "Tokens: Change purpur-color-overlay-default in dark mode to purpur-color-transparent-black-700"
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"version": "9.1.3",
|
|
50
|
+
"tag": "@purpur/library_v9.1.3",
|
|
51
|
+
"date": "Mon, 13 Apr 2026 09:09:46 GMT",
|
|
52
|
+
"comments": {
|
|
53
|
+
"none": [
|
|
54
|
+
{
|
|
55
|
+
"comment": "Dropdown: Fix multi-select behavior and increase selector specificity for listbox elements"
|
|
56
|
+
}
|
|
57
|
+
]
|
|
58
|
+
}
|
|
59
|
+
},
|
|
4
60
|
{
|
|
5
61
|
"version": "9.1.2",
|
|
6
62
|
"tag": "@purpur/library_v9.1.2",
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,33 @@
|
|
|
1
1
|
# Change Log - @purpur/library
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Fri, 24 Apr 2026 07:35:17 GMT and should not be manually modified.
|
|
4
|
+
|
|
5
|
+
## 9.2.0
|
|
6
|
+
Fri, 24 Apr 2026 07:35:17 GMT
|
|
7
|
+
|
|
8
|
+
### Patches
|
|
9
|
+
|
|
10
|
+
- Dropdown: Make 'Select all' option
|
|
11
|
+
- Tokens: Change purpur-color-overlay-default in dark mode to purpur-color-transparent-black-700
|
|
12
|
+
|
|
13
|
+
### Updates
|
|
14
|
+
|
|
15
|
+
- Accordion: Fix overflow behaviour changing when child element receives focus
|
|
16
|
+
- Accordion: Switch title to display font (Telia Sans Heading)
|
|
17
|
+
- ContentBlock: Switch title to display font (Telia Sans Heading)
|
|
18
|
+
- Modal: Switch title to display font (Telia Sans Heading)
|
|
19
|
+
- PromotionCard: Switch title to display font (Telia Sans Heading) by default; titleVariant prop can still be used to override
|
|
20
|
+
- Tokens: Update interactive-primary semantic color tokens for text and border (light and dark themes)
|
|
21
|
+
- Action: Left align text for action mixin
|
|
22
|
+
- Button: Left align text for Button
|
|
23
|
+
- Remove all vulnerabilities and enforce strict dep versions
|
|
24
|
+
|
|
25
|
+
## 9.1.3
|
|
26
|
+
Mon, 13 Apr 2026 09:09:46 GMT
|
|
27
|
+
|
|
28
|
+
### Updates
|
|
29
|
+
|
|
30
|
+
- Dropdown: Fix multi-select behavior and increase selector specificity for listbox elements
|
|
4
31
|
|
|
5
32
|
## 9.1.2
|
|
6
33
|
Thu, 02 Apr 2026 14:13:35 GMT
|
package/dist/LICENSE.txt
CHANGED
|
@@ -473,7 +473,7 @@ Private: false
|
|
|
473
473
|
---
|
|
474
474
|
|
|
475
475
|
Name: @purpur/chat-field
|
|
476
|
-
Version: 9.
|
|
476
|
+
Version: 9.2.0
|
|
477
477
|
License: AGPL-3.0-only
|
|
478
478
|
Private: false
|
|
479
479
|
|
|
@@ -577,6 +577,13 @@ Private: false
|
|
|
577
577
|
|
|
578
578
|
---
|
|
579
579
|
|
|
580
|
+
Name: @purpur/quantity-selector
|
|
581
|
+
Version: 8.21.0
|
|
582
|
+
License: AGPL-3.0-only
|
|
583
|
+
Private: false
|
|
584
|
+
|
|
585
|
+
---
|
|
586
|
+
|
|
580
587
|
Name: @purpur/radio-button-group
|
|
581
588
|
Version: 8.21.0
|
|
582
589
|
License: AGPL-3.0-only
|
|
@@ -821,13 +828,6 @@ Private: false
|
|
|
821
828
|
|
|
822
829
|
---
|
|
823
830
|
|
|
824
|
-
Name: @purpur/quantity-selector
|
|
825
|
-
Version: 8.21.0
|
|
826
|
-
License: AGPL-3.0-only
|
|
827
|
-
Private: false
|
|
828
|
-
|
|
829
|
-
---
|
|
830
|
-
|
|
831
831
|
Name: @purpur/search-field
|
|
832
832
|
Version: 8.21.0
|
|
833
833
|
License: AGPL-3.0-only
|
|
@@ -941,6 +941,13 @@ Private: false
|
|
|
941
941
|
|
|
942
942
|
---
|
|
943
943
|
|
|
944
|
+
Name: @purpur/comparison-table
|
|
945
|
+
Version: 8.21.0
|
|
946
|
+
License: AGPL-3.0-only
|
|
947
|
+
Private: false
|
|
948
|
+
|
|
949
|
+
---
|
|
950
|
+
|
|
944
951
|
Name: @purpur/dropdown
|
|
945
952
|
Version: 0.1.0
|
|
946
953
|
License: AGPL-3.0-only
|
|
@@ -1009,6 +1016,57 @@ Private: false
|
|
|
1009
1016
|
|
|
1010
1017
|
---
|
|
1011
1018
|
|
|
1019
|
+
Name: embla-carousel-autoplay
|
|
1020
|
+
Version: 8.6.0
|
|
1021
|
+
License: MIT
|
|
1022
|
+
Private: false
|
|
1023
|
+
Description: An autoplay plugin for Embla Carousel
|
|
1024
|
+
Repository: git+https://github.com/davidjerleke/embla-carousel
|
|
1025
|
+
Homepage: https://www.embla-carousel.com
|
|
1026
|
+
Author: David Jerleke
|
|
1027
|
+
|
|
1028
|
+
---
|
|
1029
|
+
|
|
1030
|
+
Name: embla-carousel-reactive-utils
|
|
1031
|
+
Version: 8.6.0
|
|
1032
|
+
License: MIT
|
|
1033
|
+
Private: false
|
|
1034
|
+
Description: Reactive utilities for Embla Carousel
|
|
1035
|
+
Repository: git+https://github.com/davidjerleke/embla-carousel
|
|
1036
|
+
Homepage: https://www.embla-carousel.com
|
|
1037
|
+
Author: David Jerleke
|
|
1038
|
+
|
|
1039
|
+
---
|
|
1040
|
+
|
|
1041
|
+
Name: embla-carousel
|
|
1042
|
+
Version: 8.6.0
|
|
1043
|
+
License: MIT
|
|
1044
|
+
Private: false
|
|
1045
|
+
Description: A lightweight carousel library with fluid motion and great swipe precision
|
|
1046
|
+
Repository: git+https://github.com/davidjerleke/embla-carousel
|
|
1047
|
+
Homepage: https://www.embla-carousel.com
|
|
1048
|
+
Author: David Jerleke
|
|
1049
|
+
|
|
1050
|
+
---
|
|
1051
|
+
|
|
1052
|
+
Name: embla-carousel-react
|
|
1053
|
+
Version: 8.6.0
|
|
1054
|
+
License: MIT
|
|
1055
|
+
Private: false
|
|
1056
|
+
Description: A lightweight carousel library with fluid motion and great swipe precision
|
|
1057
|
+
Repository: git+https://github.com/davidjerleke/embla-carousel
|
|
1058
|
+
Homepage: https://www.embla-carousel.com
|
|
1059
|
+
Author: David Jerleke
|
|
1060
|
+
|
|
1061
|
+
---
|
|
1062
|
+
|
|
1063
|
+
Name: @purpur/carousel
|
|
1064
|
+
Version: 8.21.0
|
|
1065
|
+
License: AGPL-3.0-only
|
|
1066
|
+
Private: false
|
|
1067
|
+
|
|
1068
|
+
---
|
|
1069
|
+
|
|
1012
1070
|
Name: @purpur/drawer
|
|
1013
1071
|
Version: 8.21.0
|
|
1014
1072
|
License: AGPL-3.0-only
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const B=require("react/jsx-runtime"),a=require("react"),r=require("./variables-CMzMXeor.js"),k="#f4e0ff",x="#c461f7",m="#29003e",f="#ede1d8",N="#4f4741",y="#3b332d",P="#ffffff",E="#202022",O="rgba(255, 255, 255, 0.95)",b="rgba(255, 255, 255, 0.66)",A="rgba(255, 255, 255, 0.37)",H="rgba(0, 0, 0, 0.8)",M="rgba(0, 0, 0, 0.54)",W="rgba(0, 0, 0, 0.44)",D="#e4b6fb",h="#f4e0ff",F="#faf0ff",L="#4e0174",R="#ffffff",w="#8c07d0",Q="#6d02a3",j="#4e0174",q="#ffffff",$="#ffffff",z="#29003e",K="#ffffff",Z="#29003e",G="#ffffff",J="#ffffff",U="#d58df9",X="#d58df9",Y="#ffafc9",_="#980233",V="#fb4885",rr="#e4175c",er="#79d9a7",or="#02562b",tr="#1fa15e",ar="#f9bb5b",ur="#f39200",cr="#a86602",nr="#91cdf4",ir="#3694d3",lr="#ffffff",pr="#ffffff",vr="#4e0174",sr="#202022",gr="#29003e",dr="#f4e0ff",Br="#ffffff",Sr="#121212",Cr="#ffffff",Tr="#202022",Ir="#f5f5fa",kr="rgba(0, 0, 0, 0.71)",xr="rgba(255, 255, 255, 0.84)",mr="#03385b",fr="#f4e0ff",Nr="#e4b6fb",yr="#d58df9",Pr="#4e0174",Er="#6d02a3",Or="#8c07d0",br="#990ae3",Ar="#c461f7",Hr="#d58df9",Mr="#990ae3",Wr="#6d02a3",Dr="#4e0174",hr="rgba(255, 255, 255, 0.11)",Fr="rgba(0, 0, 0, 0.1)",Lr="#4e0174",Rr="#e4b6fb",wr="#6d02a3",Qr="#d58df9",jr="rgba(255, 255, 255, 0.16)",qr="rgba(0, 0, 0, 0.05)",$r="rgba(255, 255, 255, 0.07)",zr="rgba(0, 0, 0, 0.05)",Kr="#e4175c",Zr="#c00543",Gr="#980233",Jr="#03385b",Ur="#62b2e7",Xr="#003e1e",Yr="#3dbf7c",_r="#1fa15e",Vr="#700025",re="#ff80ab",ee="#fb4885",oe="#4c2f03",te="#f39200",ae="#f39200",ue="#353537",ce="#6d02a3",ne="#f4e0ff",ie="#ffffff",le="#f4e0ff",pe="#29003e",ve="#4f4741",se="#2d2824",ge="rgba(255, 255, 255, 0.29)",de="rgba(0, 0, 0, 0.33)",Be="rgba(255, 255, 255, 0.46)",Se="rgba(0, 0, 0, 0.54)",Ce="rgba(255, 255, 255, 0.16)",Te="rgba(0, 0, 0, 0.16)",Ie="#c461f7",ke="#e4b6fb",xe="#8c07d0",me="#f4e0ff",fe="#faf0ff",Ne="#6d02a3",ye="#4e0174",Pe="#990ae3",Ee="#d58df9",Oe="rgba(255, 255, 255, 0.37)",be="rgba(0, 0, 0, 0.44)",Ae="#e4b6fb",He="#6d02a3",Me="#fb4885",We="#e4175c",De="#f39200",he="#3694d3",Fe="#1fa15e",Le="#018842",Re={colorBrandDeepPurple:k,colorBrandCorePurple:x,colorBrandLightPurple:m,colorBrandDeepBeige:f,colorBrandBeige:N,colorBrandLightBeige:y,colorBrandOffBlack:P,colorBrandWhite:E,colorTextDefault:O,colorTextMedium:b,colorTextWeak:A,colorTextDefaultNegative:H,colorTextMediumNegative:M,colorTextWeakNegative:W,colorTextInteractivePrimary:D,colorTextInteractivePrimaryHover:h,colorTextInteractivePrimaryActive:F,colorTextInteractiveOnPrimary:L,colorTextInteractiveOnExpressive:q,colorTextInteractiveOnExpressiveHover:z,colorTextInteractiveOnExpressiveActive:Z,colorTextInteractiveOnDestructive:J,colorTextInteractiveSelected:U,colorTextInteractivePrimaryNegative:w,colorTextInteractivePrimaryHoverNegative:Q,colorTextInteractivePrimaryActiveNegative:j,colorTextInteractiveOnPrimaryNegative:R,colorTextInteractiveOnExpressiveNegative:$,colorTextInteractiveOnExpressiveHoverNegative:K,colorTextInteractiveOnExpressiveActiveNegative:G,colorTextStatusInfoMedium:ir,colorTextStatusInfoStrong:nr,colorTextStatusSuccessMedium:tr,colorTextStatusSuccessStrong:er,colorTextStatusWarningMedium:ur,colorTextStatusWarningStrong:ar,colorTextStatusErrorMedium:V,colorTextStatusErrorStrong:Y,colorTextStatusNeutral:lr,colorTextStatusSpecial:pr,colorTextStatusAttention:vr,colorTextStatusDiscount:X,colorTextStatusBlackFriday:sr,colorTextStatusSuccessStrongNegative:or,colorTextStatusErrorMediumNegative:rr,colorTextStatusErrorStrongNegative:_,colorTextStatusWarningMediumNegative:cr,colorTextToneOnTonePrimary:gr,colorTextToneOnToneSecondary:dr,colorTextToneOnToneTertiary:Br,colorBackgroundPrimary:Sr,colorBackgroundSecondary:Tr,colorBackgroundOnImage:kr,colorBackgroundPrimaryNegative:Cr,colorBackgroundSecondaryNegative:Ir,colorBackgroundOnImageNegative:xr,colorBackgroundInteractivePrimary:fr,colorBackgroundInteractivePrimaryHover:Nr,colorBackgroundInteractivePrimaryActive:yr,colorBackgroundInteractiveExpressive:br,colorBackgroundInteractiveExpressiveHover:Ar,colorBackgroundInteractiveExpressiveActive:Hr,colorBackgroundInteractiveTransparentHover:Lr,colorBackgroundInteractiveTransparentActive:wr,colorBackgroundInteractiveDisabled:hr,colorBackgroundInteractiveReadOnly:$r,colorBackgroundInteractiveInactive:jr,colorBackgroundInteractiveDestructive:Kr,colorBackgroundInteractiveDestructiveHover:Zr,colorBackgroundInteractiveDestructiveActive:Gr,colorBackgroundInteractiveAutoFill:mr,colorBackgroundInteractivePrimaryNegative:Pr,colorBackgroundInteractivePrimaryHoverNegative:Er,colorBackgroundInteractivePrimaryActiveNegative:Or,colorBackgroundInteractiveExpressiveNegative:Mr,colorBackgroundInteractiveExpressiveHoverNegative:Wr,colorBackgroundInteractiveExpressiveActiveNegative:Dr,colorBackgroundInteractiveTransparentHoverNegative:Rr,colorBackgroundInteractiveTransparentActiveNegative:Qr,colorBackgroundInteractiveDisabledNegative:Fr,colorBackgroundInteractiveInactiveNegative:qr,colorBackgroundInteractiveReadOnlyNegative:zr,colorBackgroundStatusInfoMedium:Jr,colorBackgroundStatusInfoStrong:Ur,colorBackgroundStatusSuccessMedium:Xr,colorBackgroundStatusSuccessStrong:Yr,colorBackgroundStatusWarningMedium:oe,colorBackgroundStatusWarningStrong:te,colorBackgroundStatusErrorMedium:Vr,colorBackgroundStatusErrorStrong:re,colorBackgroundStatusNeutral:ue,colorBackgroundStatusSpecial:ce,colorBackgroundStatusAttention:ne,colorBackgroundStatusBlackFriday:ie,colorBackgroundStatusSuccessStrongNegative:_r,colorBackgroundStatusWarningStrongNegative:ae,colorBackgroundStatusErrorStrongNegative:ee,colorBackgroundToneOnTonePrimary:le,colorBackgroundToneOnToneSecondary:pe,colorBackgroundToneOnToneTertiary:ve,colorBackgroundToneOnToneQuaternary:se,colorBorderWeak:Ce,colorBorderMedium:ge,colorBorderStrong:Be,colorBorderWeakNegative:Te,colorBorderMediumNegative:de,colorBorderStrongNegative:Se,colorBorderInteractivePrimary:ke,colorBorderInteractivePrimaryHover:me,colorBorderInteractivePrimaryActive:fe,colorBorderInteractiveFocus:Ie,colorBorderInteractiveExpressive:Pe,colorBorderInteractiveSubtle:Oe,colorBorderInteractiveSubtleHover:Ae,colorBorderInteractiveSelected:Ee,colorBorderInteractivePrimaryNegative:xe,colorBorderInteractivePrimaryHoverNegative:Ne,colorBorderInteractivePrimaryActiveNegative:ye,colorBorderInteractiveSubtleNegative:be,colorBorderInteractiveSubtleHoverNegative:He,colorBorderStatusError:Me,colorBorderStatusWarning:De,colorBorderStatusInfo:he,colorBorderStatusSuccess:Fe,colorBorderStatusErrorNegative:We,colorBorderStatusSuccessNegative:Le},we={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:we,dark:Re},Qe=o=>o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),S=({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])},C=a.createContext({colorScheme:"light",currentColorScheme:"light",setColorScheme:()=>{},options:{}}),je=({cssVariablesSelector:o,forceColorScheme:e,theme:u,children:i,options:l={},...g})=>{const[c,p]=a.useState(e??"auto"),[n,v]=a.useState(e??"light");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 d=I=>{!e&&c==="auto"&&v(I.matches?"dark":"light")};return t.addEventListener("change",d),()=>{t.removeEventListener("change",d)}},[c,e]),S({theme:u,cssVariablesSelector:o,currentColorScheme:u!==void 0?n:void 0});const T=a.useMemo(()=>({colorScheme:c,currentColorScheme:n,setColorScheme:t=>{e||(p(t),localStorage.setItem("colorScheme",t))}}),[c,n,e]);return B.jsx(C.Provider,{value:{...T,options:l},children:B.jsx("div",{"data-color-scheme":n,className:n,...g,children:i})})},qe=()=>{const o=a.useContext(C);if(!o)throw new Error("useTheme must be used within a ThemeProvider");return o};exports.ThemeProvider=je;exports.teliaTheme=s;exports.useApplyTheme=S;exports.useTheme=qe;
|
|
2
|
-
//# sourceMappingURL=ThemeProvider-
|
|
1
|
+
"use strict";const B=require("react/jsx-runtime"),a=require("react"),r=require("./variables-DH61hVNE.js"),k="#f4e0ff",x="#c461f7",f="#29003e",m="#ede1d8",N="#4f4741",y="#3b332d",P="#ffffff",E="#202022",O="rgba(255, 255, 255, 0.95)",b="rgba(255, 255, 255, 0.66)",A="rgba(255, 255, 255, 0.37)",H="rgba(0, 0, 0, 0.8)",M="rgba(0, 0, 0, 0.54)",W="rgba(0, 0, 0, 0.44)",D="#f4e0ff",h="#faf0ff",F="#ffffff",L="#4e0174",R="#ffffff",w="#6d02a3",Q="#4e0174",j="#29003e",q="#ffffff",$="#ffffff",z="#29003e",K="#ffffff",Z="#29003e",G="#ffffff",J="#ffffff",U="#d58df9",X="#d58df9",Y="#ffafc9",_="#980233",V="#fb4885",rr="#e4175c",er="#79d9a7",or="#02562b",tr="#1fa15e",ar="#f9bb5b",ur="#f39200",cr="#a86602",nr="#91cdf4",ir="#3694d3",lr="#ffffff",pr="#ffffff",vr="#4e0174",sr="#202022",gr="#29003e",dr="#f4e0ff",Br="#ffffff",Sr="#121212",Cr="#ffffff",Tr="#202022",Ir="#f5f5fa",kr="rgba(0, 0, 0, 0.71)",xr="rgba(255, 255, 255, 0.84)",fr="#03385b",mr="#f4e0ff",Nr="#e4b6fb",yr="#d58df9",Pr="#4e0174",Er="#6d02a3",Or="#8c07d0",br="#990ae3",Ar="#c461f7",Hr="#d58df9",Mr="#990ae3",Wr="#6d02a3",Dr="#4e0174",hr="rgba(255, 255, 255, 0.11)",Fr="rgba(0, 0, 0, 0.1)",Lr="#4e0174",Rr="#e4b6fb",wr="#6d02a3",Qr="#d58df9",jr="rgba(255, 255, 255, 0.16)",qr="rgba(0, 0, 0, 0.05)",$r="rgba(255, 255, 255, 0.07)",zr="rgba(0, 0, 0, 0.05)",Kr="#e4175c",Zr="#c00543",Gr="#980233",Jr="#03385b",Ur="#62b2e7",Xr="#003e1e",Yr="#3dbf7c",_r="#1fa15e",Vr="#700025",re="#ff80ab",ee="#fb4885",oe="#4c2f03",te="#f39200",ae="#f39200",ue="#353537",ce="#6d02a3",ne="#f4e0ff",ie="#ffffff",le="#f4e0ff",pe="#29003e",ve="#4f4741",se="#2d2824",ge="rgba(255, 255, 255, 0.29)",de="rgba(0, 0, 0, 0.33)",Be="rgba(255, 255, 255, 0.46)",Se="rgba(0, 0, 0, 0.54)",Ce="rgba(255, 255, 255, 0.16)",Te="rgba(0, 0, 0, 0.16)",Ie="#c461f7",ke="#f4e0ff",xe="#6d02a3",fe="#faf0ff",me="#ffffff",Ne="#4e0174",ye="#29003e",Pe="#990ae3",Ee="#d58df9",Oe="rgba(255, 255, 255, 0.37)",be="rgba(0, 0, 0, 0.44)",Ae="#e4b6fb",He="#6d02a3",Me="#fb4885",We="#e4175c",De="#f39200",he="#3694d3",Fe="#1fa15e",Le="#018842",Re={colorBrandDeepPurple:k,colorBrandCorePurple:x,colorBrandLightPurple:f,colorBrandDeepBeige:m,colorBrandBeige:N,colorBrandLightBeige:y,colorBrandOffBlack:P,colorBrandWhite:E,colorTextDefault:O,colorTextMedium:b,colorTextWeak:A,colorTextDefaultNegative:H,colorTextMediumNegative:M,colorTextWeakNegative:W,colorTextInteractivePrimary:D,colorTextInteractivePrimaryHover:h,colorTextInteractivePrimaryActive:F,colorTextInteractiveOnPrimary:L,colorTextInteractiveOnExpressive:q,colorTextInteractiveOnExpressiveHover:z,colorTextInteractiveOnExpressiveActive:Z,colorTextInteractiveOnDestructive:J,colorTextInteractiveSelected:U,colorTextInteractivePrimaryNegative:w,colorTextInteractivePrimaryHoverNegative:Q,colorTextInteractivePrimaryActiveNegative:j,colorTextInteractiveOnPrimaryNegative:R,colorTextInteractiveOnExpressiveNegative:$,colorTextInteractiveOnExpressiveHoverNegative:K,colorTextInteractiveOnExpressiveActiveNegative:G,colorTextStatusInfoMedium:ir,colorTextStatusInfoStrong:nr,colorTextStatusSuccessMedium:tr,colorTextStatusSuccessStrong:er,colorTextStatusWarningMedium:ur,colorTextStatusWarningStrong:ar,colorTextStatusErrorMedium:V,colorTextStatusErrorStrong:Y,colorTextStatusNeutral:lr,colorTextStatusSpecial:pr,colorTextStatusAttention:vr,colorTextStatusDiscount:X,colorTextStatusBlackFriday:sr,colorTextStatusSuccessStrongNegative:or,colorTextStatusErrorMediumNegative:rr,colorTextStatusErrorStrongNegative:_,colorTextStatusWarningMediumNegative:cr,colorTextToneOnTonePrimary:gr,colorTextToneOnToneSecondary:dr,colorTextToneOnToneTertiary:Br,colorBackgroundPrimary:Sr,colorBackgroundSecondary:Tr,colorBackgroundOnImage:kr,colorBackgroundPrimaryNegative:Cr,colorBackgroundSecondaryNegative:Ir,colorBackgroundOnImageNegative:xr,colorBackgroundInteractivePrimary:mr,colorBackgroundInteractivePrimaryHover:Nr,colorBackgroundInteractivePrimaryActive:yr,colorBackgroundInteractiveExpressive:br,colorBackgroundInteractiveExpressiveHover:Ar,colorBackgroundInteractiveExpressiveActive:Hr,colorBackgroundInteractiveTransparentHover:Lr,colorBackgroundInteractiveTransparentActive:wr,colorBackgroundInteractiveDisabled:hr,colorBackgroundInteractiveReadOnly:$r,colorBackgroundInteractiveInactive:jr,colorBackgroundInteractiveDestructive:Kr,colorBackgroundInteractiveDestructiveHover:Zr,colorBackgroundInteractiveDestructiveActive:Gr,colorBackgroundInteractiveAutoFill:fr,colorBackgroundInteractivePrimaryNegative:Pr,colorBackgroundInteractivePrimaryHoverNegative:Er,colorBackgroundInteractivePrimaryActiveNegative:Or,colorBackgroundInteractiveExpressiveNegative:Mr,colorBackgroundInteractiveExpressiveHoverNegative:Wr,colorBackgroundInteractiveExpressiveActiveNegative:Dr,colorBackgroundInteractiveTransparentHoverNegative:Rr,colorBackgroundInteractiveTransparentActiveNegative:Qr,colorBackgroundInteractiveDisabledNegative:Fr,colorBackgroundInteractiveInactiveNegative:qr,colorBackgroundInteractiveReadOnlyNegative:zr,colorBackgroundStatusInfoMedium:Jr,colorBackgroundStatusInfoStrong:Ur,colorBackgroundStatusSuccessMedium:Xr,colorBackgroundStatusSuccessStrong:Yr,colorBackgroundStatusWarningMedium:oe,colorBackgroundStatusWarningStrong:te,colorBackgroundStatusErrorMedium:Vr,colorBackgroundStatusErrorStrong:re,colorBackgroundStatusNeutral:ue,colorBackgroundStatusSpecial:ce,colorBackgroundStatusAttention:ne,colorBackgroundStatusBlackFriday:ie,colorBackgroundStatusSuccessStrongNegative:_r,colorBackgroundStatusWarningStrongNegative:ae,colorBackgroundStatusErrorStrongNegative:ee,colorBackgroundToneOnTonePrimary:le,colorBackgroundToneOnToneSecondary:pe,colorBackgroundToneOnToneTertiary:ve,colorBackgroundToneOnToneQuaternary:se,colorBorderWeak:Ce,colorBorderMedium:ge,colorBorderStrong:Be,colorBorderWeakNegative:Te,colorBorderMediumNegative:de,colorBorderStrongNegative:Se,colorBorderInteractivePrimary:ke,colorBorderInteractivePrimaryHover:fe,colorBorderInteractivePrimaryActive:me,colorBorderInteractiveFocus:Ie,colorBorderInteractiveExpressive:Pe,colorBorderInteractiveSubtle:Oe,colorBorderInteractiveSubtleHover:Ae,colorBorderInteractiveSelected:Ee,colorBorderInteractivePrimaryNegative:xe,colorBorderInteractivePrimaryHoverNegative:Ne,colorBorderInteractivePrimaryActiveNegative:ye,colorBorderInteractiveSubtleNegative:be,colorBorderInteractiveSubtleHoverNegative:He,colorBorderStatusError:Me,colorBorderStatusWarning:De,colorBorderStatusInfo:he,colorBorderStatusSuccess:Fe,colorBorderStatusErrorNegative:We,colorBorderStatusSuccessNegative:Le},we={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:we,dark:Re},Qe=o=>o.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),S=({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])},C=a.createContext({colorScheme:"light",currentColorScheme:"light",setColorScheme:()=>{},options:{}}),je=({cssVariablesSelector:o,forceColorScheme:e,theme:u,children:i,options:l={},...g})=>{const[c,p]=a.useState(e??"auto"),[n,v]=a.useState(e??"light");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 d=I=>{!e&&c==="auto"&&v(I.matches?"dark":"light")};return t.addEventListener("change",d),()=>{t.removeEventListener("change",d)}},[c,e]),S({theme:u,cssVariablesSelector:o,currentColorScheme:u!==void 0?n:void 0});const T=a.useMemo(()=>({colorScheme:c,currentColorScheme:n,setColorScheme:t=>{e||(p(t),localStorage.setItem("colorScheme",t))}}),[c,n,e]);return B.jsx(C.Provider,{value:{...T,options:l},children:B.jsx("div",{"data-color-scheme":n,className:n,...g,children:i})})},qe=()=>{const o=a.useContext(C);if(!o)throw new Error("useTheme must be used within a ThemeProvider");return o};exports.ThemeProvider=je;exports.teliaTheme=s;exports.useApplyTheme=S;exports.useTheme=qe;
|
|
2
|
+
//# sourceMappingURL=ThemeProvider-5r7lDX-h.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemeProvider-ipAIFRUi.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 = \"#e4b6fb\";\nexport const purpurColorTextInteractivePrimaryHover = \"#f4e0ff\";\nexport const purpurColorTextInteractivePrimaryActive = \"#faf0ff\";\nexport const purpurColorTextInteractiveOnPrimary = \"#4e0174\";\nexport const purpurColorTextInteractiveOnPrimaryNegative = \"#ffffff\";\nexport const purpurColorTextInteractivePrimaryNegative = \"#8c07d0\";\nexport const purpurColorTextInteractivePrimaryHoverNegative = \"#6d02a3\";\nexport const purpurColorTextInteractivePrimaryActiveNegative = \"#4e0174\";\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 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 = \"#e4b6fb\";\nexport const purpurColorBorderInteractivePrimaryNegative = \"#8c07d0\";\nexport const purpurColorBorderInteractivePrimaryHover = \"#f4e0ff\";\nexport const purpurColorBorderInteractivePrimaryActive = \"#faf0ff\";\nexport const purpurColorBorderInteractivePrimaryHoverNegative = \"#6d02a3\";\nexport const purpurColorBorderInteractivePrimaryActiveNegative = \"#4e0174\";\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.33)\";\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,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,UACrCC,EAAgC,UAChCC,EAAmC,UACnCC,EAA2C,UAC3CC,EAAmC,UACnCC,GAA2C,UAC3CC,GAAqC,UACrCC,GAA6C,UAC7CC,GAAqC,UACrCC,GAAqC,UACrCC,GAAqC,UACrCC,GAA6C,UAC7CC,GAAkC,UACl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AeG,CAAgB,CAEnC,CAGF,EAAG,CAACR,CAAgB,CAAC,EAErBN,EAAAA,UAAU,IAAM,CACd,MAAMe,EAAa,OAAO,WAAW,8BAA8B,EAGjEF,EADEH,IAAgB,OACIK,EAAW,QAAU,OAAS,QAE9BL,CAFqC,EAK7D,MAAMM,EAAgBC,GAA2B,CAC3C,CAACX,GAAoBI,IAAgB,QACvCG,EAAsBI,EAAE,QAAU,OAAS,OAAO,CAEtD,EAEA,OAAAF,EAAW,iBAAiB,SAAUC,CAAY,EAE3C,IAAM,CACXD,EAAW,oBAAoB,SAAUC,CAAY,CACvD,CACF,EAAG,CAACN,EAAaJ,CAAgB,CAAC,EAIlCV,EAAc,CACZ,MAAAC,EACA,qBAAAC,EACA,mBALoBD,IAAU,OAKME,EAAqB,MAAA,CAC1D,EAED,MAAMmB,EAAeC,EAAAA,QACnB,KAAO,CACL,YAAAT,EACA,mBAAAX,EACA,eAAiBqB,GAAyB,CACnCd,IACHK,EAAeS,CAAM,EACrB,aAAa,QAAQ,cAAeA,CAAM,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-5r7lDX-h.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 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,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,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