@purpur/library 9.2.2 → 9.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (302) hide show
  1. package/CHANGELOG.json +42 -0
  2. package/CHANGELOG.md +21 -1
  3. package/dist/LICENSE.txt +1 -1
  4. package/dist/{RichText-Bi51HE6X.mjs → RichText-jZ-sHV-u.mjs} +2 -2
  5. package/dist/{RichText-Bi51HE6X.mjs.map → RichText-jZ-sHV-u.mjs.map} +1 -1
  6. package/dist/{RichText-DNroJJXv.js → RichText-yobCUjTD.js} +2 -2
  7. package/dist/{RichText-DNroJJXv.js.map → RichText-yobCUjTD.js.map} +1 -1
  8. package/dist/{ThemeProvider-bkyFCeo6.mjs → ThemeProvider-CkX-BNWN.mjs} +2 -2
  9. package/dist/ThemeProvider-CkX-BNWN.mjs.map +1 -0
  10. package/dist/{ThemeProvider-5r7lDX-h.js → ThemeProvider-Dy771oix.js} +2 -2
  11. package/dist/ThemeProvider-Dy771oix.js.map +1 -0
  12. package/dist/{accordion-OtFSShSB.mjs → accordion-CIU4U8-4.mjs} +3 -3
  13. package/dist/accordion-CIU4U8-4.mjs.map +1 -0
  14. package/dist/{accordion-OsA0HvdA.js → accordion-DyhOG54L.js} +2 -2
  15. package/dist/accordion-DyhOG54L.js.map +1 -0
  16. package/dist/accordion.cjs.js +1 -1
  17. package/dist/accordion.es.js +3 -3
  18. package/dist/{autocomplete-D9uCJzjY.js → autocomplete-3kV1btuI.js} +2 -2
  19. package/dist/{autocomplete-D9uCJzjY.js.map → autocomplete-3kV1btuI.js.map} +1 -1
  20. package/dist/{autocomplete-BipmyKf0.mjs → autocomplete-BEGRn-Wh.mjs} +2 -2
  21. package/dist/{autocomplete-BipmyKf0.mjs.map → autocomplete-BEGRn-Wh.mjs.map} +1 -1
  22. package/dist/autocomplete.cjs.js +1 -1
  23. package/dist/autocomplete.es.js +1 -1
  24. package/dist/{card-DR2hvxjZ.mjs → card-C2mdp-ur.mjs} +2 -2
  25. package/dist/{card-DR2hvxjZ.mjs.map → card-C2mdp-ur.mjs.map} +1 -1
  26. package/dist/{card-CRHXm5NR.js → card-DFdUs5RG.js} +2 -2
  27. package/dist/{card-CRHXm5NR.js.map → card-DFdUs5RG.js.map} +1 -1
  28. package/dist/card.cjs.js +1 -1
  29. package/dist/card.es.js +1 -1
  30. package/dist/{carousel-BkxojLwn.mjs → carousel-DLkTL9sj.mjs} +29 -29
  31. package/dist/{carousel-BkxojLwn.mjs.map → carousel-DLkTL9sj.mjs.map} +1 -1
  32. package/dist/{carousel-BCw-5u92.js → carousel-DXrtxRz5.js} +2 -2
  33. package/dist/{carousel-BCw-5u92.js.map → carousel-DXrtxRz5.js.map} +1 -1
  34. package/dist/carousel.cjs.js +1 -1
  35. package/dist/carousel.es.js +1 -1
  36. package/dist/checkbox-BHTx89JQ.mjs +236 -0
  37. package/dist/checkbox-BHTx89JQ.mjs.map +1 -0
  38. package/dist/checkbox-CDNcNv6d.js +2 -0
  39. package/dist/checkbox-CDNcNv6d.js.map +1 -0
  40. package/dist/checkbox.cjs.js +1 -1
  41. package/dist/checkbox.es.js +1 -1
  42. package/dist/{comparison-table-B8w65g43.js → comparison-table-CitEzX7h.js} +2 -2
  43. package/dist/comparison-table-CitEzX7h.js.map +1 -0
  44. package/dist/{comparison-table-D1zJpdLL.mjs → comparison-table-Dmbjsqyg.mjs} +52 -52
  45. package/dist/comparison-table-Dmbjsqyg.mjs.map +1 -0
  46. package/dist/comparison-table.cjs.js +1 -1
  47. package/dist/comparison-table.es.js +1 -1
  48. package/dist/components/accordion/src/accordion.d.ts +1 -1
  49. package/dist/components/accordion/src/accordion.d.ts.map +1 -1
  50. package/dist/components/checkbox/src/checkbox.d.ts +4 -0
  51. package/dist/components/checkbox/src/checkbox.d.ts.map +1 -1
  52. package/dist/components/comparison-table/src/comparison-table.d.ts +1 -1
  53. package/dist/components/comparison-table/src/comparison-table.d.ts.map +1 -1
  54. package/dist/components/dismissable-chip-group/src/dismissable-chip-group-item.d.ts.map +1 -1
  55. package/dist/components/dismissable-chip-group/src/dismissable-chip-group.d.ts +4 -2
  56. package/dist/components/dismissable-chip-group/src/dismissable-chip-group.d.ts.map +1 -1
  57. package/dist/components/drawer/src/drawer-header.d.ts.map +1 -1
  58. package/dist/components/dropdown/src/dropdown-combobox.d.ts.map +1 -1
  59. package/dist/components/dropdown/src/dropdown-select.d.ts.map +1 -1
  60. package/dist/components/dropdown/src/dropdown-shared.d.ts +3 -2
  61. package/dist/components/dropdown/src/dropdown-shared.d.ts.map +1 -1
  62. package/dist/components/dropdown/src/useDropdown.d.ts +2 -1
  63. package/dist/components/dropdown/src/useDropdown.d.ts.map +1 -1
  64. package/dist/components/listbox/src/listbox-item.d.ts +2 -2
  65. package/dist/components/listbox/src/listbox-item.d.ts.map +1 -1
  66. package/dist/components/listbox/src/listbox.d.ts +4 -1
  67. package/dist/components/listbox/src/listbox.d.ts.map +1 -1
  68. package/dist/components/modal/src/modal-content.d.ts.map +1 -1
  69. package/dist/components/toggle/src/toggle.d.ts +1 -0
  70. package/dist/components/toggle/src/toggle.d.ts.map +1 -1
  71. package/dist/components-metadata.js +4 -2
  72. package/dist/{content-block-Dm3L4g8w.mjs → content-block-CakKeJtN.mjs} +2 -2
  73. package/dist/{content-block-Dm3L4g8w.mjs.map → content-block-CakKeJtN.mjs.map} +1 -1
  74. package/dist/{content-block-CDRUH0pg.js → content-block-CrekbIfe.js} +2 -2
  75. package/dist/{content-block-CDRUH0pg.js.map → content-block-CrekbIfe.js.map} +1 -1
  76. package/dist/content-block.cjs.js +1 -1
  77. package/dist/content-block.es.js +1 -1
  78. package/dist/{countdown-DZ4IwkNy.mjs → countdown-BsLsEZBv.mjs} +2 -2
  79. package/dist/{countdown-DZ4IwkNy.mjs.map → countdown-BsLsEZBv.mjs.map} +1 -1
  80. package/dist/{countdown-CqYsZigV.js → countdown-hYrFLmRg.js} +2 -2
  81. package/dist/{countdown-CqYsZigV.js.map → countdown-hYrFLmRg.js.map} +1 -1
  82. package/dist/countdown.cjs.js +1 -1
  83. package/dist/countdown.es.js +1 -1
  84. package/dist/{date-picker-D3uJGCjl.js → date-picker-DVrcu2QU.js} +2 -2
  85. package/dist/{date-picker-D3uJGCjl.js.map → date-picker-DVrcu2QU.js.map} +1 -1
  86. package/dist/{date-picker-CpDZ0gK9.mjs → date-picker-DwFDRL5Z.mjs} +2 -2
  87. package/dist/{date-picker-CpDZ0gK9.mjs.map → date-picker-DwFDRL5Z.mjs.map} +1 -1
  88. package/dist/date-picker.cjs.js +1 -1
  89. package/dist/date-picker.es.js +1 -1
  90. package/dist/dismissable-chip-group-2updhyuR.js +2 -0
  91. package/dist/dismissable-chip-group-2updhyuR.js.map +1 -0
  92. package/dist/dismissable-chip-group-Cfs2s2BH.mjs +94 -0
  93. package/dist/dismissable-chip-group-Cfs2s2BH.mjs.map +1 -0
  94. package/dist/dismissable-chip-group.cjs.js +1 -1
  95. package/dist/dismissable-chip-group.es.js +6 -5
  96. package/dist/{drawer-BJ8xwriz.mjs → drawer-Db2Mujc6.mjs} +208 -205
  97. package/dist/drawer-Db2Mujc6.mjs.map +1 -0
  98. package/dist/drawer-DlwagnO4.js +2 -0
  99. package/dist/drawer-DlwagnO4.js.map +1 -0
  100. package/dist/drawer.cjs.js +1 -1
  101. package/dist/drawer.es.js +1 -1
  102. package/dist/dropdown-CMO_VD5e.mjs +916 -0
  103. package/dist/dropdown-CMO_VD5e.mjs.map +1 -0
  104. package/dist/dropdown-DJKNQnuo.js +2 -0
  105. package/dist/dropdown-DJKNQnuo.js.map +1 -0
  106. package/dist/dropdown.cjs.js +1 -1
  107. package/dist/dropdown.es.js +1 -1
  108. package/dist/{footer-BXs8uzTA.mjs → footer-BLPlXaZK.mjs} +4 -4
  109. package/dist/{footer-BXs8uzTA.mjs.map → footer-BLPlXaZK.mjs.map} +1 -1
  110. package/dist/{footer-DF9adlni.js → footer-D9AcPwlH.js} +2 -2
  111. package/dist/{footer-DF9adlni.js.map → footer-D9AcPwlH.js.map} +1 -1
  112. package/dist/footer.cjs.js +1 -1
  113. package/dist/footer.es.js +1 -1
  114. package/dist/{hero-banner-BfxclVFT.js → hero-banner-D1A-_qou.js} +2 -2
  115. package/dist/{hero-banner-BfxclVFT.js.map → hero-banner-D1A-_qou.js.map} +1 -1
  116. package/dist/{hero-banner-CxPvhXD2.mjs → hero-banner-DkC_BqM7.mjs} +3 -3
  117. package/dist/{hero-banner-CxPvhXD2.mjs.map → hero-banner-DkC_BqM7.mjs.map} +1 -1
  118. package/dist/hero-banner.cjs.js +1 -1
  119. package/dist/hero-banner.es.js +1 -1
  120. package/dist/libraries/theme/src/theme-props.d.ts +1 -0
  121. package/dist/libraries/theme/src/theme-props.d.ts.map +1 -1
  122. package/dist/libraries/tokens/dist/color/variables.d.ts +1 -0
  123. package/dist/libraries/tokens/dist/color/variables.dark.d.ts +1 -0
  124. package/dist/library.cjs.js +1 -1
  125. package/dist/library.es.js +593 -590
  126. package/dist/listbox-ATP4hOWF.js +2 -0
  127. package/dist/listbox-ATP4hOWF.js.map +1 -0
  128. package/dist/listbox-i6BQQ-NZ.mjs +73 -0
  129. package/dist/listbox-i6BQQ-NZ.mjs.map +1 -0
  130. package/dist/listbox.cjs.js +1 -1
  131. package/dist/listbox.es.js +3 -2
  132. package/dist/modal-Baisuc6m.js +2 -0
  133. package/dist/modal-Baisuc6m.js.map +1 -0
  134. package/dist/modal-COZ1POGG.mjs +211 -0
  135. package/dist/modal-COZ1POGG.mjs.map +1 -0
  136. package/dist/modal.cjs.js +1 -1
  137. package/dist/modal.es.js +1 -1
  138. package/dist/{notification-BqjaT4E7.js → notification-B5bNNq86.js} +2 -2
  139. package/dist/{notification-BqjaT4E7.js.map → notification-B5bNNq86.js.map} +1 -1
  140. package/dist/{notification-DdRS5BF2.mjs → notification-BbQCmsnY.mjs} +2 -2
  141. package/dist/{notification-DdRS5BF2.mjs.map → notification-BbQCmsnY.mjs.map} +1 -1
  142. package/dist/notification.cjs.js +1 -1
  143. package/dist/notification.es.js +1 -1
  144. package/dist/{pagination-CVYUacXN.mjs → pagination-Cc_4zCQA.mjs} +2 -2
  145. package/dist/{pagination-CVYUacXN.mjs.map → pagination-Cc_4zCQA.mjs.map} +1 -1
  146. package/dist/{pagination-Bwlkvqye.js → pagination-rFRdkHII.js} +2 -2
  147. package/dist/{pagination-Bwlkvqye.js.map → pagination-rFRdkHII.js.map} +1 -1
  148. package/dist/pagination.cjs.js +1 -1
  149. package/dist/pagination.es.js +1 -1
  150. package/dist/paragraph-By4jMjnH.js +2 -0
  151. package/dist/{paragraph-BsI53OR0.js.map → paragraph-By4jMjnH.js.map} +1 -1
  152. package/dist/{paragraph-Ci50OF1u.mjs → paragraph-DSxXmX_0.mjs} +23 -23
  153. package/dist/{paragraph-Ci50OF1u.mjs.map → paragraph-DSxXmX_0.mjs.map} +1 -1
  154. package/dist/paragraph.cjs.js +1 -1
  155. package/dist/paragraph.es.js +1 -1
  156. package/dist/{popover-XCUa2GfC.js → popover-B0XJZ5mj.js} +2 -2
  157. package/dist/{popover-XCUa2GfC.js.map → popover-B0XJZ5mj.js.map} +1 -1
  158. package/dist/{popover-Dwqs1wGH.mjs → popover-_xJATlhN.mjs} +2 -2
  159. package/dist/{popover-Dwqs1wGH.mjs.map → popover-_xJATlhN.mjs.map} +1 -1
  160. package/dist/popover.cjs.js +1 -1
  161. package/dist/popover.es.js +1 -1
  162. package/dist/{product-card-BfB82XpS.mjs → product-card-C3_N0t-R.mjs} +3 -3
  163. package/dist/{product-card-BfB82XpS.mjs.map → product-card-C3_N0t-R.mjs.map} +1 -1
  164. package/dist/{product-card-bVQ7JhHj.js → product-card-CoY1KggV.js} +2 -2
  165. package/dist/{product-card-bVQ7JhHj.js.map → product-card-CoY1KggV.js.map} +1 -1
  166. package/dist/product-card.cjs.js +1 -1
  167. package/dist/product-card.es.js +1 -1
  168. package/dist/{promotion-card-DqBBt2sz.js → promotion-card-Bag64gqP.js} +2 -2
  169. package/dist/{promotion-card-DqBBt2sz.js.map → promotion-card-Bag64gqP.js.map} +1 -1
  170. package/dist/{promotion-card-BhNw94sC.mjs → promotion-card-BiHnQvhn.mjs} +4 -4
  171. package/dist/{promotion-card-BhNw94sC.mjs.map → promotion-card-BiHnQvhn.mjs.map} +1 -1
  172. package/dist/promotion-card.cjs.js +1 -1
  173. package/dist/promotion-card.es.js +1 -1
  174. package/dist/purpur.css +1 -1
  175. package/dist/quantity-selector-CDSfcTb1.js +2 -0
  176. package/dist/{quantity-selector-8AkKNDik.js.map → quantity-selector-CDSfcTb1.js.map} +1 -1
  177. package/dist/{quantity-selector-C23kU1hF.mjs → quantity-selector-CvBvnMeB.mjs} +35 -35
  178. package/dist/{quantity-selector-C23kU1hF.mjs.map → quantity-selector-CvBvnMeB.mjs.map} +1 -1
  179. package/dist/quantity-selector.cjs.js +1 -1
  180. package/dist/quantity-selector.es.js +1 -1
  181. package/dist/{radio-card-group-BlRZBa-9.mjs → radio-card-group-CneOprGY.mjs} +2 -2
  182. package/dist/{radio-card-group-BlRZBa-9.mjs.map → radio-card-group-CneOprGY.mjs.map} +1 -1
  183. package/dist/{radio-card-group-sYcfDPJq.js → radio-card-group-Ctuvg61o.js} +2 -2
  184. package/dist/{radio-card-group-sYcfDPJq.js.map → radio-card-group-Ctuvg61o.js.map} +1 -1
  185. package/dist/radio-card-group.cjs.js +1 -1
  186. package/dist/radio-card-group.es.js +1 -1
  187. package/dist/rich-text.cjs.js +1 -1
  188. package/dist/rich-text.es.js +1 -1
  189. package/dist/{search-field-CMBDkydb.mjs → search-field-CpkHGIYi.mjs} +57 -57
  190. package/dist/{search-field-CMBDkydb.mjs.map → search-field-CpkHGIYi.mjs.map} +1 -1
  191. package/dist/search-field-Z0PqDARl.js +2 -0
  192. package/dist/{search-field-CU_tsmHb.js.map → search-field-Z0PqDARl.js.map} +1 -1
  193. package/dist/search-field.cjs.js +1 -1
  194. package/dist/search-field.es.js +1 -1
  195. package/dist/{stepper-uBfDdIju.mjs → stepper-CNnx_NiR.mjs} +2 -2
  196. package/dist/{stepper-uBfDdIju.mjs.map → stepper-CNnx_NiR.mjs.map} +1 -1
  197. package/dist/{stepper-w-raIwqJ.js → stepper-Df4X7DDR.js} +2 -2
  198. package/dist/{stepper-w-raIwqJ.js.map → stepper-Df4X7DDR.js.map} +1 -1
  199. package/dist/stepper.cjs.js +1 -1
  200. package/dist/stepper.es.js +1 -1
  201. package/dist/{table-BVSBvTYG.js → table-DRYW0yw4.js} +2 -2
  202. package/dist/{table-BVSBvTYG.js.map → table-DRYW0yw4.js.map} +1 -1
  203. package/dist/{table-CuV3Gda_.mjs → table-DUY8kQfE.mjs} +6 -6
  204. package/dist/{table-CuV3Gda_.mjs.map → table-DUY8kQfE.mjs.map} +1 -1
  205. package/dist/table.cjs.js +1 -1
  206. package/dist/table.es.js +1 -1
  207. package/dist/{text-area-DDZ_GQPW.mjs → text-area-kJvg6cFp.mjs} +3 -3
  208. package/dist/{text-area-DDZ_GQPW.mjs.map → text-area-kJvg6cFp.mjs.map} +1 -1
  209. package/dist/{text-area-C6W0fDiQ.js → text-area-peNKG7g4.js} +2 -2
  210. package/dist/{text-area-C6W0fDiQ.js.map → text-area-peNKG7g4.js.map} +1 -1
  211. package/dist/text-area.cjs.js +1 -1
  212. package/dist/text-area.es.js +1 -1
  213. package/dist/theme.cjs.js +1 -1
  214. package/dist/theme.es.js +2 -2
  215. package/dist/toggle-B8ZLUVar.js +2 -0
  216. package/dist/{toggle-C8IwTbX8.js.map → toggle-B8ZLUVar.js.map} +1 -1
  217. package/dist/toggle-CY3J8BRX.mjs +302 -0
  218. package/dist/{toggle-D23x1wWk.mjs.map → toggle-CY3J8BRX.mjs.map} +1 -1
  219. package/dist/toggle.cjs.js +1 -1
  220. package/dist/toggle.es.js +1 -1
  221. package/dist/tokens/color/variables.css +1 -0
  222. package/dist/tokens/color/variables.d.ts +1 -0
  223. package/dist/tokens/color/variables.dark.css +1 -0
  224. package/dist/tokens/color/variables.dark.d.ts +1 -0
  225. package/dist/tokens/color/variables.dark.js +1 -0
  226. package/dist/tokens/color/variables.dark.json +2 -1
  227. package/dist/tokens/color/variables.dark.scss +1 -0
  228. package/dist/tokens/color/variables.js +1 -0
  229. package/dist/tokens/color/variables.json +2 -1
  230. package/dist/tokens/color/variables.scss +1 -0
  231. package/dist/tokens.cjs.js +1 -1
  232. package/dist/tokens.es.js +76 -75
  233. package/dist/{tooltip-0pLBlDG3.js → tooltip-C8Zxnqdb.js} +2 -2
  234. package/dist/{tooltip-0pLBlDG3.js.map → tooltip-C8Zxnqdb.js.map} +1 -1
  235. package/dist/{tooltip-Kom0VfOC.mjs → tooltip-VlURN8H3.mjs} +2 -2
  236. package/dist/{tooltip-Kom0VfOC.mjs.map → tooltip-VlURN8H3.mjs.map} +1 -1
  237. package/dist/tooltip.cjs.js +1 -1
  238. package/dist/tooltip.es.js +1 -1
  239. package/dist/use-autocomplete.es-BwAzMcau.js +2 -0
  240. package/dist/use-autocomplete.es-BwAzMcau.js.map +1 -0
  241. package/dist/{use-autocomplete.es-CVv3z8t6.mjs → use-autocomplete.es-CKb0RHKG.mjs} +37 -35
  242. package/dist/use-autocomplete.es-CKb0RHKG.mjs.map +1 -0
  243. package/dist/useColorScheme-DNyjsWX9.js +2 -0
  244. package/dist/{useColorScheme-0GMDl2GF.js.map → useColorScheme-DNyjsWX9.js.map} +1 -1
  245. package/dist/{useColorScheme-Di_Q0JR4.mjs → useColorScheme-tAkY9LHt.mjs} +2 -2
  246. package/dist/{useColorScheme-Di_Q0JR4.mjs.map → useColorScheme-tAkY9LHt.mjs.map} +1 -1
  247. package/dist/{variables-CKp4o9Tn.mjs → variables-B5hbV0Uy.mjs} +128 -127
  248. package/dist/variables-B5hbV0Uy.mjs.map +1 -0
  249. package/dist/variables-DoI78zZc.js +2 -0
  250. package/dist/variables-DoI78zZc.js.map +1 -0
  251. package/package.json +11 -11
  252. package/tokens/color/variables.css +1 -0
  253. package/tokens/color/variables.d.ts +1 -0
  254. package/tokens/color/variables.dark.css +1 -0
  255. package/tokens/color/variables.dark.d.ts +1 -0
  256. package/tokens/color/variables.dark.js +1 -0
  257. package/tokens/color/variables.dark.json +2 -1
  258. package/tokens/color/variables.dark.scss +1 -0
  259. package/tokens/color/variables.js +1 -0
  260. package/tokens/color/variables.json +2 -1
  261. package/tokens/color/variables.scss +1 -0
  262. package/dist/ThemeProvider-5r7lDX-h.js.map +0 -1
  263. package/dist/ThemeProvider-bkyFCeo6.mjs.map +0 -1
  264. package/dist/accordion-OsA0HvdA.js.map +0 -1
  265. package/dist/accordion-OtFSShSB.mjs.map +0 -1
  266. package/dist/checkbox-D6qWgpWR.mjs +0 -231
  267. package/dist/checkbox-D6qWgpWR.mjs.map +0 -1
  268. package/dist/checkbox-Dk3bZkZ3.js +0 -2
  269. package/dist/checkbox-Dk3bZkZ3.js.map +0 -1
  270. package/dist/comparison-table-B8w65g43.js.map +0 -1
  271. package/dist/comparison-table-D1zJpdLL.mjs.map +0 -1
  272. package/dist/dismissable-chip-group-Cd23yjBa.js +0 -2
  273. package/dist/dismissable-chip-group-Cd23yjBa.js.map +0 -1
  274. package/dist/dismissable-chip-group-D-gD93ON.mjs +0 -89
  275. package/dist/dismissable-chip-group-D-gD93ON.mjs.map +0 -1
  276. package/dist/drawer-BJ8xwriz.mjs.map +0 -1
  277. package/dist/drawer-CNs9K8Ca.js +0 -2
  278. package/dist/drawer-CNs9K8Ca.js.map +0 -1
  279. package/dist/dropdown-BsqVnd7z.js +0 -2
  280. package/dist/dropdown-BsqVnd7z.js.map +0 -1
  281. package/dist/dropdown-TO3Mh0bk.mjs +0 -910
  282. package/dist/dropdown-TO3Mh0bk.mjs.map +0 -1
  283. package/dist/listbox-COBHLRtB.js +0 -2
  284. package/dist/listbox-COBHLRtB.js.map +0 -1
  285. package/dist/listbox-DG4KmQP_.mjs +0 -66
  286. package/dist/listbox-DG4KmQP_.mjs.map +0 -1
  287. package/dist/modal-DCfN6q8I.mjs +0 -201
  288. package/dist/modal-DCfN6q8I.mjs.map +0 -1
  289. package/dist/modal-DZIdw9xy.js +0 -2
  290. package/dist/modal-DZIdw9xy.js.map +0 -1
  291. package/dist/paragraph-BsI53OR0.js +0 -2
  292. package/dist/quantity-selector-8AkKNDik.js +0 -2
  293. package/dist/search-field-CU_tsmHb.js +0 -2
  294. package/dist/toggle-C8IwTbX8.js +0 -2
  295. package/dist/toggle-D23x1wWk.mjs +0 -287
  296. package/dist/use-autocomplete.es-BHDgQLae.js +0 -2
  297. package/dist/use-autocomplete.es-BHDgQLae.js.map +0 -1
  298. package/dist/use-autocomplete.es-CVv3z8t6.mjs.map +0 -1
  299. package/dist/useColorScheme-0GMDl2GF.js +0 -2
  300. package/dist/variables-CKp4o9Tn.mjs.map +0 -1
  301. package/dist/variables-DH61hVNE.js +0 -2
  302. package/dist/variables-DH61hVNE.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"toggle-D23x1wWk.mjs","sources":["../../../common/temp/node_modules/.pnpm/@radix-ui+react-switch@1.1.4_@types+react-dom@19.2.3_@types+react@19.2.14__@types+react_7c6a1205dfc0b547da67f2d77f280718/node_modules/@radix-ui/react-switch/dist/index.mjs","../../../components/toggle/src/DraggableX.tsx","../../../components/toggle/src/hooks/useResizeObserver.ts","../../../components/toggle/src/hooks/useToggleDrag.ts","../../../components/toggle/src/toggle.tsx"],"sourcesContent":["\"use client\";\n\n// packages/react/switch/src/switch.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { usePrevious } from \"@radix-ui/react-use-previous\";\nimport { useSize } from \"@radix-ui/react-use-size\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nvar SWITCH_NAME = \"Switch\";\nvar [createSwitchContext, createSwitchScope] = createContextScope(SWITCH_NAME);\nvar [SwitchProvider, useSwitchContext] = createSwitchContext(SWITCH_NAME);\nvar Switch = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeSwitch,\n name,\n checked: checkedProp,\n defaultChecked,\n required,\n disabled,\n value = \"on\",\n onCheckedChange,\n form,\n ...switchProps\n } = props;\n const [button, setButton] = React.useState(null);\n const composedRefs = useComposedRefs(forwardedRef, (node) => setButton(node));\n const hasConsumerStoppedPropagationRef = React.useRef(false);\n const isFormControl = button ? form || !!button.closest(\"form\") : true;\n const [checked = false, setChecked] = useControllableState({\n prop: checkedProp,\n defaultProp: defaultChecked,\n onChange: onCheckedChange\n });\n return /* @__PURE__ */ jsxs(SwitchProvider, { scope: __scopeSwitch, checked, disabled, children: [\n /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n role: \"switch\",\n \"aria-checked\": checked,\n \"aria-required\": required,\n \"data-state\": getState(checked),\n \"data-disabled\": disabled ? \"\" : void 0,\n disabled,\n value,\n ...switchProps,\n ref: composedRefs,\n onClick: composeEventHandlers(props.onClick, (event) => {\n setChecked((prevChecked) => !prevChecked);\n if (isFormControl) {\n hasConsumerStoppedPropagationRef.current = event.isPropagationStopped();\n if (!hasConsumerStoppedPropagationRef.current) event.stopPropagation();\n }\n })\n }\n ),\n isFormControl && /* @__PURE__ */ jsx(\n BubbleInput,\n {\n control: button,\n bubbles: !hasConsumerStoppedPropagationRef.current,\n name,\n value,\n checked,\n required,\n disabled,\n form,\n style: { transform: \"translateX(-100%)\" }\n }\n )\n ] });\n }\n);\nSwitch.displayName = SWITCH_NAME;\nvar THUMB_NAME = \"SwitchThumb\";\nvar SwitchThumb = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeSwitch, ...thumbProps } = props;\n const context = useSwitchContext(THUMB_NAME, __scopeSwitch);\n return /* @__PURE__ */ jsx(\n Primitive.span,\n {\n \"data-state\": getState(context.checked),\n \"data-disabled\": context.disabled ? \"\" : void 0,\n ...thumbProps,\n ref: forwardedRef\n }\n );\n }\n);\nSwitchThumb.displayName = THUMB_NAME;\nvar BubbleInput = (props) => {\n const { control, checked, bubbles = true, ...inputProps } = props;\n const ref = React.useRef(null);\n const prevChecked = usePrevious(checked);\n const controlSize = useSize(control);\n React.useEffect(() => {\n const input = ref.current;\n const inputProto = window.HTMLInputElement.prototype;\n const descriptor = Object.getOwnPropertyDescriptor(inputProto, \"checked\");\n const setChecked = descriptor.set;\n if (prevChecked !== checked && setChecked) {\n const event = new Event(\"click\", { bubbles });\n setChecked.call(input, checked);\n input.dispatchEvent(event);\n }\n }, [prevChecked, checked, bubbles]);\n return /* @__PURE__ */ jsx(\n \"input\",\n {\n type: \"checkbox\",\n \"aria-hidden\": true,\n defaultChecked: checked,\n ...inputProps,\n tabIndex: -1,\n ref,\n style: {\n ...props.style,\n ...controlSize,\n position: \"absolute\",\n pointerEvents: \"none\",\n opacity: 0,\n margin: 0\n }\n }\n );\n};\nfunction getState(checked) {\n return checked ? \"checked\" : \"unchecked\";\n}\nvar Root = Switch;\nvar Thumb = SwitchThumb;\nexport {\n Root,\n Switch,\n SwitchThumb,\n Thumb,\n createSwitchScope\n};\n//# sourceMappingURL=index.mjs.map\n","import {\n cloneElement,\n type CSSProperties,\n isValidElement,\n type ReactElement,\n useCallback,\n useEffect,\n useState,\n} from \"react\";\nimport { type SwitchThumbProps } from \"@radix-ui/react-switch\";\n\nexport type DraggableXProps = {\n children?: ReactElement<SwitchThumbProps>;\n disabled?: boolean;\n position: number;\n bounds: { left: number; right: number };\n onStart?: () => void;\n onDrag?: (args: { x: number }) => void;\n onStop?: () => void;\n style?: CSSProperties;\n};\n\nconst isTouchEvent = (e: MouseEvent | TouchEvent): e is TouchEvent => e && \"touches\" in e;\n\n/**\n * Bare minimum to make the toggle draggable.\n * It is created for usage in the toggle only but could easily be extracted and used elsewhere.\n *\n * It is called `DraggableX` since it's only for dragging along the x-axis.\n */\nexport const DraggableX = ({\n children,\n disabled,\n onStart,\n onDrag,\n onStop,\n bounds,\n position,\n style,\n}: DraggableXProps) => {\n const [dragX, setDragX] = useState<number | undefined>(undefined);\n const [dragStartX, setDragStartX] = useState<number | undefined>(undefined);\n const [isDragging, setIsDragging] = useState(false);\n\n const startDrag = (e: React.MouseEvent | React.TouchEvent) => {\n if (!disabled) {\n e.preventDefault();\n const clientX = isTouchEvent(e.nativeEvent)\n ? e.nativeEvent.touches[0].clientX\n : e.nativeEvent.clientX;\n setDragStartX(clientX);\n onStart?.();\n }\n };\n\n const onMouseMove = useCallback(\n (e: MouseEvent | TouchEvent) => {\n if (typeof dragStartX !== \"number\") {\n return;\n }\n\n const clientX = isTouchEvent(e) ? e.touches[0].clientX : e.clientX;\n const dragDelta = clientX - dragStartX;\n\n if (!dragDelta) {\n return;\n }\n\n const nextDragX = position + dragDelta;\n if (!isDragging && Math.abs(nextDragX)) {\n setIsDragging(true);\n }\n\n const nextDragXBounded = (() => {\n if (nextDragX > bounds.right) {\n return bounds.right;\n }\n\n if (nextDragX < bounds.left) {\n return bounds.left;\n }\n\n return nextDragX;\n })();\n\n setDragX(nextDragXBounded);\n onDrag?.({ x: nextDragXBounded });\n },\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [onDrag, setDragX, isDragging, dragStartX]\n );\n\n const onMouseUp = useCallback(() => {\n setDragStartX(undefined);\n setDragX(undefined);\n setIsDragging(false);\n onStop?.();\n }, [onStop, setDragStartX]);\n\n useEffect(() => {\n window.addEventListener(\"mousemove\", onMouseMove);\n window.addEventListener(\"touchmove\", onMouseMove);\n\n return () => {\n window.removeEventListener(\"mousemove\", onMouseMove);\n window.removeEventListener(\"touchmove\", onMouseMove);\n };\n }, [onMouseMove]);\n\n useEffect(() => {\n window.addEventListener(\"mouseup\", onMouseUp);\n window.addEventListener(\"touchend\", onMouseUp);\n\n return () => {\n window.removeEventListener(\"mouseup\", onMouseUp);\n window.removeEventListener(\"touchend\", onMouseUp);\n };\n }, [onMouseUp]);\n\n return isValidElement(children)\n ? cloneElement<SwitchThumbProps>(children, {\n onMouseDown: startDrag,\n onTouchStart: startDrag,\n style: { ...style, transform: `translateX(${isDragging ? dragX : position}px)` },\n })\n : null;\n};\n","import type { RefObject } from \"react\";\nimport { useCallback, useEffect, useRef, useState } from \"react\";\n\n// This hook is a clone of useResizeObserver in b2c-sales/hooks\n\ntype Size = {\n width: number | undefined;\n height: number | undefined;\n};\n\ntype UseResizeObserverOptions<T extends HTMLElement = HTMLElement> = {\n ref: RefObject<T | null>;\n onResize?: (size: Size) => void;\n box?: \"border-box\" | \"content-box\" | \"device-pixel-content-box\";\n round?: boolean;\n};\n\nconst initialSize: Size = {\n width: undefined,\n height: undefined,\n};\n\nexport function useResizeObserver<T extends HTMLElement = HTMLElement>(\n options: UseResizeObserverOptions<T>\n): Size {\n const { ref, box = \"content-box\", round } = options;\n const [{ width, height }, setSize] = useState<Size>(initialSize);\n const isMounted = useIsMounted();\n const previousSize = useRef<Size>({ ...initialSize });\n const onResize = useRef<((size: Size) => void) | undefined>(undefined);\n onResize.current = options.onResize;\n\n useEffect(() => {\n if (!ref.current) {\n return;\n }\n\n if (typeof window === \"undefined\" || !(\"ResizeObserver\" in window)) {\n return;\n }\n\n const observer = new ResizeObserver(([entry]) => {\n const boxProp =\n\n box === \"border-box\"\n ? \"borderBoxSize\"\n : box === \"device-pixel-content-box\"\n ? \"devicePixelContentBoxSize\"\n : \"contentBoxSize\";\n\n const newWidth = extractSize(entry, boxProp, \"inlineSize\");\n const newHeight = extractSize(entry, boxProp, \"blockSize\");\n\n const hasChanged =\n previousSize.current.width !== newWidth || previousSize.current.height !== newHeight;\n\n if (hasChanged) {\n const newSize: Size = {\n width: newWidth && round ? Math.round(newWidth) : newWidth,\n height: newHeight && round ? Math.round(newHeight) : newHeight,\n };\n previousSize.current.width = newWidth;\n previousSize.current.height = newHeight;\n\n if (onResize.current) {\n onResize.current(newSize);\n } else {\n if (isMounted()) {\n setSize(newSize);\n }\n }\n }\n });\n\n observer.observe(ref.current, { box });\n\n return () => {\n observer.disconnect();\n };\n }, [box, ref, isMounted, round]);\n\n return { width, height };\n}\n\ntype BoxSizesKey = keyof Pick<\n ResizeObserverEntry,\n \"borderBoxSize\" | \"contentBoxSize\" | \"devicePixelContentBoxSize\"\n>;\n\nfunction extractSize(\n entry: ResizeObserverEntry,\n box: BoxSizesKey,\n sizeType: keyof ResizeObserverSize\n): number | undefined {\n if (!entry[box]) {\n if (box === \"contentBoxSize\") {\n return entry.contentRect[sizeType === \"inlineSize\" ? \"width\" : \"height\"];\n }\n return undefined;\n }\n\n return Array.isArray(entry[box])\n ? entry[box][0][sizeType]\n : // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore Support Firefox's non-standard behavior\n (entry[box][sizeType] as number);\n}\n\nfunction useIsMounted() {\n const isMounted = useRef(false);\n\n useEffect(() => {\n isMounted.current = true;\n\n return () => {\n isMounted.current = false;\n };\n }, []);\n\n return useCallback(() => isMounted.current, []);\n}\n","import { type RefObject, useRef, useState } from \"react\";\n\nimport { useResizeObserver } from \"./useResizeObserver\";\n\ntype UseToggleDragProps = {\n checked: boolean;\n onChange: ((checked: boolean) => void) | undefined;\n};\n\nexport const useToggleDrag = ({ checked, onChange }: UseToggleDragProps) => {\n const trackRef: RefObject<HTMLDivElement | null> = useRef(null);\n const thumbRef = useRef<HTMLSpanElement>(null);\n const [dragX, setDragX] = useState<number | undefined>(undefined);\n const [isDragging, setIsDragging] = useState(false);\n const [dragStopped, setDragStopped] = useState(0);\n\n const { height: thumbHeight = 0 } = useResizeObserver({ ref: thumbRef, round: true });\n const { height: switchHeight = 0 } = useResizeObserver({ ref: trackRef, round: true });\n\n const switchThumbHeightDelta = (switchHeight || 0) - thumbHeight;\n const maxDragRange = thumbHeight + switchThumbHeightDelta;\n const minDragRange = switchThumbHeightDelta / 2;\n const halfMaxDragRange = maxDragRange / 2;\n const isDraggedHalfway =\n typeof dragX === \"number\" && (checked ? dragX < halfMaxDragRange : dragX > halfMaxDragRange);\n\n const onDrag = ({ x }: { x: number }) => {\n setDragX(x);\n const dragDelta = Math.abs((checked ? maxDragRange : minDragRange) - x);\n\n // Add a threshold here for then accidentally dragging when clicking/touching\n dragDelta > 2 && setIsDragging(true);\n };\n\n const onStop = () => {\n setIsDragging(false);\n isDragging && setDragStopped(Date.now());\n if (isDraggedHalfway) {\n onChange?.(!checked);\n }\n };\n\n const onChangeWithDrag = () => {\n if (Date.now() - dragStopped > 50) {\n onChange?.(!checked);\n }\n setDragX(undefined);\n };\n\n return {\n trackRef,\n thumbRef,\n isDragging,\n bounds: { left: minDragRange, right: maxDragRange },\n position: checked ? maxDragRange : minDragRange,\n onDrag,\n onStop,\n onChangeWithDrag,\n };\n};\n","import React, { forwardRef, useState } from \"react\";\nimport type { BaseProps } from \"@purpur/common-types\";\nimport { Icon } from \"@purpur/icon\";\nimport { checkmarkBold } from \"@purpur/icon/assets/checkmark-bold\";\nimport { Label } from \"@purpur/label\";\nimport { Paragraph } from \"@purpur/paragraph\";\nimport * as Switch from \"@radix-ui/react-switch\";\nimport c from \"classnames/bind\";\n\nimport { DraggableX } from \"./DraggableX\";\nimport { useToggleDrag } from \"./hooks/useToggleDrag\";\nimport styles from \"./toggle.module.scss\";\n\nexport type ToggleProps = Omit<BaseProps<\"button\">, \"onChange\" | \"children\" | \"id\"> & {\n /**\n * To use when no label is given.\n * */\n [\"aria-label\"]?: string;\n /**\n * To use with custom label (not recommended).\n * */\n [\"aria-labelledby\"]?: string;\n /**\n * The controlled state of the toggle. Must be used in conjunction with `onChange`.\n * */\n checked?: boolean;\n /**\n * The state of the toggle when it is initially rendered. Use when you do not need to control its state.\n * */\n defaultChecked?: boolean;\n /**\n * When `true`, prevents the user from interacting with the toggle.\n * */\n disabled?: boolean;\n /**\n * When `true`, the toggle isn't draggable.\n * */\n disableDrag?: boolean;\n /**\n * ID of the toggle.\n * */\n id: string;\n /**\n * The label of the toggle.\n * */\n label?: string;\n /**\n * Set to decide which side of the toggle the label should be rendered.\n * */\n labelPosition?: \"left\" | \"right\";\n /**\n * The name of the toggle. Submitted with its owning form as part of a name/value pair, when wrapped in a form.\n * */\n name?: string;\n /**\n * Event handler called when the toggle is toggled.\n * */\n onChange?: (checked: boolean) => void;\n /**\n * When `true`, indicates that the user must check the toggle before the owning form can be submitted..\n * */\n required?: boolean;\n /**\n * The value given as data when wrapped with a form and submitted with a name.\n * */\n value?: string;\n};\n\nconst cx = c.bind(styles);\nconst rootClassName = \"purpur-toggle\";\n\nexport const Toggle = forwardRef<HTMLButtonElement, ToggleProps>(\n (\n {\n [\"data-testid\"]: dataTestId,\n className,\n label,\n onChange,\n labelPosition = \"right\",\n checked,\n disableDrag,\n defaultChecked,\n ...props\n },\n ref\n ) => {\n const [internalChecked, setInternalChecked] = useState(\n typeof checked === \"boolean\" ? checked : !!defaultChecked\n );\n const isChecked = Boolean(typeof checked === \"boolean\" ? checked : internalChecked);\n const { thumbRef, trackRef, isDragging, onChangeWithDrag, ...draggableXProps } = useToggleDrag({\n checked: isChecked,\n onChange: (value) => {\n if (!props.disabled) {\n onChange?.(value);\n setInternalChecked(value);\n }\n },\n });\n\n const renderLabel = () => (\n <Label\n htmlFor={props.id}\n data-testid={dataTestId && `${dataTestId}-label`}\n disabled={props.disabled}\n className={cx(`${rootClassName}__label`, `${rootClassName}__label--${labelPosition}`)}\n >\n <Paragraph disabled={props.disabled}>{label}</Paragraph>\n </Label>\n );\n\n return (\n <div className={cx(className, `${rootClassName}__container`)}>\n {label && labelPosition === \"left\" && renderLabel()}\n <Switch.Root\n {...props}\n ref={ref}\n id={props.id}\n data-testid={dataTestId}\n className={cx(rootClassName)}\n onCheckedChange={onChangeWithDrag}\n checked={isChecked}\n >\n <span ref={trackRef} className={cx(`${rootClassName}__track`)}>\n <span className={cx(`${rootClassName}__checkmark-container`)}>\n <Icon className={cx(`${rootClassName}__checkmark`)} svg={checkmarkBold} size=\"xxs\" />\n </span>\n <DraggableX disabled={disableDrag} {...draggableXProps}>\n <Switch.Thumb\n ref={thumbRef}\n data-testid={dataTestId && `${dataTestId}-thumb`}\n className={cx(`${rootClassName}__thumb`, {\n [`${rootClassName}__thumb--dragging`]: isDragging,\n })}\n />\n </DraggableX>\n </span>\n </Switch.Root>\n {label && labelPosition === \"right\" && renderLabel()}\n </div>\n );\n }\n);\n\nToggle.displayName = \"Toggle\";\n"],"names":["SWITCH_NAME","createSwitchContext","createContextScope","SwitchProvider","useSwitchContext","Switch","React","props","forwardedRef","__scopeSwitch","name","checkedProp","defaultChecked","required","disabled","value","onCheckedChange","form","switchProps","button","setButton","composedRefs","useComposedRefs","node","hasConsumerStoppedPropagationRef","isFormControl","checked","setChecked","useControllableState","jsxs","jsx","Primitive","getState","composeEventHandlers","event","prevChecked","BubbleInput","THUMB_NAME","SwitchThumb","thumbProps","context","control","bubbles","inputProps","ref","usePrevious","controlSize","useSize","input","inputProto","Root","Thumb","isTouchEvent","DraggableX","children","onStart","onDrag","onStop","bounds","position","style","dragX","setDragX","useState","dragStartX","setDragStartX","isDragging","setIsDragging","startDrag","e","clientX","onMouseMove","useCallback","dragDelta","nextDragX","nextDragXBounded","onMouseUp","useEffect","isValidElement","cloneElement","initialSize","useResizeObserver","options","box","round","width","height","setSize","isMounted","useIsMounted","previousSize","useRef","onResize","observer","entry","boxProp","newWidth","extractSize","newHeight","newSize","sizeType","useToggleDrag","onChange","trackRef","thumbRef","dragStopped","setDragStopped","thumbHeight","switchHeight","switchThumbHeightDelta","maxDragRange","minDragRange","halfMaxDragRange","isDraggedHalfway","x","cx","c","styles","rootClassName","Toggle","forwardRef","dataTestId","className","label","labelPosition","disableDrag","internalChecked","setInternalChecked","isChecked","onChangeWithDrag","draggableXProps","renderLabel","Label","Paragraph","Switch.Root","Icon","checkmarkBold","Switch.Thumb"],"mappings":";;;;;;;;;;;;;AAYA,IAAIA,IAAc,UACd,CAACC,EAAsC,IAAIC,EAAmBF,CAAW,GACzE,CAACG,IAAgBC,EAAgB,IAAIH,GAAoBD,CAAW,GACpEK,IAASC,EAAM;AAAA,EACjB,CAACC,GAAOC,MAAiB;AAC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+react-dom@19.2.3_@types+react@19.2.14__@types+react_7c6a1205dfc0b547da67f2d77f280718/node_modules/@radix-ui/react-switch/dist/index.mjs","../../../components/toggle/src/DraggableX.tsx","../../../components/toggle/src/hooks/useResizeObserver.ts","../../../components/toggle/src/hooks/useToggleDrag.ts","../../../components/toggle/src/toggle.tsx"],"sourcesContent":["\"use client\";\n\n// packages/react/switch/src/switch.tsx\nimport * as React from \"react\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useControllableState } from \"@radix-ui/react-use-controllable-state\";\nimport { usePrevious } from \"@radix-ui/react-use-previous\";\nimport { useSize } from \"@radix-ui/react-use-size\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nvar SWITCH_NAME = \"Switch\";\nvar [createSwitchContext, createSwitchScope] = createContextScope(SWITCH_NAME);\nvar [SwitchProvider, useSwitchContext] = createSwitchContext(SWITCH_NAME);\nvar Switch = React.forwardRef(\n (props, forwardedRef) => {\n const {\n __scopeSwitch,\n name,\n checked: checkedProp,\n defaultChecked,\n required,\n disabled,\n value = \"on\",\n onCheckedChange,\n form,\n ...switchProps\n } = props;\n const [button, setButton] = React.useState(null);\n const composedRefs = useComposedRefs(forwardedRef, (node) => setButton(node));\n const hasConsumerStoppedPropagationRef = React.useRef(false);\n const isFormControl = button ? form || !!button.closest(\"form\") : true;\n const [checked = false, setChecked] = useControllableState({\n prop: checkedProp,\n defaultProp: defaultChecked,\n onChange: onCheckedChange\n });\n return /* @__PURE__ */ jsxs(SwitchProvider, { scope: __scopeSwitch, checked, disabled, children: [\n /* @__PURE__ */ jsx(\n Primitive.button,\n {\n type: \"button\",\n role: \"switch\",\n \"aria-checked\": checked,\n \"aria-required\": required,\n \"data-state\": getState(checked),\n \"data-disabled\": disabled ? \"\" : void 0,\n disabled,\n value,\n ...switchProps,\n ref: composedRefs,\n onClick: composeEventHandlers(props.onClick, (event) => {\n setChecked((prevChecked) => !prevChecked);\n if (isFormControl) {\n hasConsumerStoppedPropagationRef.current = event.isPropagationStopped();\n if (!hasConsumerStoppedPropagationRef.current) event.stopPropagation();\n }\n })\n }\n ),\n isFormControl && /* @__PURE__ */ jsx(\n BubbleInput,\n {\n control: button,\n bubbles: !hasConsumerStoppedPropagationRef.current,\n name,\n value,\n checked,\n required,\n disabled,\n form,\n style: { transform: \"translateX(-100%)\" }\n }\n )\n ] });\n }\n);\nSwitch.displayName = SWITCH_NAME;\nvar THUMB_NAME = \"SwitchThumb\";\nvar SwitchThumb = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeSwitch, ...thumbProps } = props;\n const context = useSwitchContext(THUMB_NAME, __scopeSwitch);\n return /* @__PURE__ */ jsx(\n Primitive.span,\n {\n \"data-state\": getState(context.checked),\n \"data-disabled\": context.disabled ? \"\" : void 0,\n ...thumbProps,\n ref: forwardedRef\n }\n );\n }\n);\nSwitchThumb.displayName = THUMB_NAME;\nvar BubbleInput = (props) => {\n const { control, checked, bubbles = true, ...inputProps } = props;\n const ref = React.useRef(null);\n const prevChecked = usePrevious(checked);\n const controlSize = useSize(control);\n React.useEffect(() => {\n const input = ref.current;\n const inputProto = window.HTMLInputElement.prototype;\n const descriptor = Object.getOwnPropertyDescriptor(inputProto, \"checked\");\n const setChecked = descriptor.set;\n if (prevChecked !== checked && setChecked) {\n const event = new Event(\"click\", { bubbles });\n setChecked.call(input, checked);\n input.dispatchEvent(event);\n }\n }, [prevChecked, checked, bubbles]);\n return /* @__PURE__ */ jsx(\n \"input\",\n {\n type: \"checkbox\",\n \"aria-hidden\": true,\n defaultChecked: checked,\n ...inputProps,\n tabIndex: -1,\n ref,\n style: {\n ...props.style,\n ...controlSize,\n position: \"absolute\",\n pointerEvents: \"none\",\n opacity: 0,\n margin: 0\n }\n }\n );\n};\nfunction getState(checked) {\n return checked ? \"checked\" : \"unchecked\";\n}\nvar Root = Switch;\nvar Thumb = SwitchThumb;\nexport {\n Root,\n Switch,\n SwitchThumb,\n Thumb,\n createSwitchScope\n};\n//# sourceMappingURL=index.mjs.map\n","import {\n cloneElement,\n type CSSProperties,\n isValidElement,\n type ReactElement,\n useCallback,\n useEffect,\n useState,\n} from \"react\";\nimport { type SwitchThumbProps } from \"@radix-ui/react-switch\";\n\nexport type DraggableXProps = {\n children?: ReactElement<SwitchThumbProps>;\n disabled?: boolean;\n position: number;\n bounds: { left: number; right: number };\n onStart?: () => void;\n onDrag?: (args: { x: number }) => void;\n onStop?: () => void;\n style?: CSSProperties;\n};\n\nconst isTouchEvent = (e: MouseEvent | TouchEvent): e is TouchEvent => e && \"touches\" in e;\n\n/**\n * Bare minimum to make the toggle draggable.\n * It is created for usage in the toggle only but could easily be extracted and used elsewhere.\n *\n * It is called `DraggableX` since it's only for dragging along the x-axis.\n */\nexport const DraggableX = ({\n children,\n disabled,\n onStart,\n onDrag,\n onStop,\n bounds,\n position,\n style,\n}: DraggableXProps) => {\n const [dragX, setDragX] = useState<number | undefined>(undefined);\n const [dragStartX, setDragStartX] = useState<number | undefined>(undefined);\n const [isDragging, setIsDragging] = useState(false);\n\n const startDrag = (e: React.MouseEvent | React.TouchEvent) => {\n if (!disabled) {\n e.preventDefault();\n const clientX = isTouchEvent(e.nativeEvent)\n ? e.nativeEvent.touches[0].clientX\n : e.nativeEvent.clientX;\n setDragStartX(clientX);\n onStart?.();\n }\n };\n\n const onMouseMove = useCallback(\n (e: MouseEvent | TouchEvent) => {\n if (typeof dragStartX !== \"number\") {\n return;\n }\n\n const clientX = isTouchEvent(e) ? e.touches[0].clientX : e.clientX;\n const dragDelta = clientX - dragStartX;\n\n if (!dragDelta) {\n return;\n }\n\n const nextDragX = position + dragDelta;\n if (!isDragging && Math.abs(nextDragX)) {\n setIsDragging(true);\n }\n\n const nextDragXBounded = (() => {\n if (nextDragX > bounds.right) {\n return bounds.right;\n }\n\n if (nextDragX < bounds.left) {\n return bounds.left;\n }\n\n return nextDragX;\n })();\n\n setDragX(nextDragXBounded);\n onDrag?.({ x: nextDragXBounded });\n },\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [onDrag, setDragX, isDragging, dragStartX]\n );\n\n const onMouseUp = useCallback(() => {\n setDragStartX(undefined);\n setDragX(undefined);\n setIsDragging(false);\n onStop?.();\n }, [onStop, setDragStartX]);\n\n useEffect(() => {\n window.addEventListener(\"mousemove\", onMouseMove);\n window.addEventListener(\"touchmove\", onMouseMove);\n\n return () => {\n window.removeEventListener(\"mousemove\", onMouseMove);\n window.removeEventListener(\"touchmove\", onMouseMove);\n };\n }, [onMouseMove]);\n\n useEffect(() => {\n window.addEventListener(\"mouseup\", onMouseUp);\n window.addEventListener(\"touchend\", onMouseUp);\n\n return () => {\n window.removeEventListener(\"mouseup\", onMouseUp);\n window.removeEventListener(\"touchend\", onMouseUp);\n };\n }, [onMouseUp]);\n\n return isValidElement(children)\n ? cloneElement<SwitchThumbProps>(children, {\n onMouseDown: startDrag,\n onTouchStart: startDrag,\n style: { ...style, transform: `translateX(${isDragging ? dragX : position}px)` },\n })\n : null;\n};\n","import type { RefObject } from \"react\";\nimport { useCallback, useEffect, useRef, useState } from \"react\";\n\n// This hook is a clone of useResizeObserver in b2c-sales/hooks\n\ntype Size = {\n width: number | undefined;\n height: number | undefined;\n};\n\ntype UseResizeObserverOptions<T extends HTMLElement = HTMLElement> = {\n ref: RefObject<T | null>;\n onResize?: (size: Size) => void;\n box?: \"border-box\" | \"content-box\" | \"device-pixel-content-box\";\n round?: boolean;\n};\n\nconst initialSize: Size = {\n width: undefined,\n height: undefined,\n};\n\nexport function useResizeObserver<T extends HTMLElement = HTMLElement>(\n options: UseResizeObserverOptions<T>\n): Size {\n const { ref, box = \"content-box\", round } = options;\n const [{ width, height }, setSize] = useState<Size>(initialSize);\n const isMounted = useIsMounted();\n const previousSize = useRef<Size>({ ...initialSize });\n const onResize = useRef<((size: Size) => void) | undefined>(undefined);\n onResize.current = options.onResize;\n\n useEffect(() => {\n if (!ref.current) {\n return;\n }\n\n if (typeof window === \"undefined\" || !(\"ResizeObserver\" in window)) {\n return;\n }\n\n const observer = new ResizeObserver(([entry]) => {\n const boxProp =\n\n box === \"border-box\"\n ? \"borderBoxSize\"\n : box === \"device-pixel-content-box\"\n ? \"devicePixelContentBoxSize\"\n : \"contentBoxSize\";\n\n const newWidth = extractSize(entry, boxProp, \"inlineSize\");\n const newHeight = extractSize(entry, boxProp, \"blockSize\");\n\n const hasChanged =\n previousSize.current.width !== newWidth || previousSize.current.height !== newHeight;\n\n if (hasChanged) {\n const newSize: Size = {\n width: newWidth && round ? Math.round(newWidth) : newWidth,\n height: newHeight && round ? Math.round(newHeight) : newHeight,\n };\n previousSize.current.width = newWidth;\n previousSize.current.height = newHeight;\n\n if (onResize.current) {\n onResize.current(newSize);\n } else {\n if (isMounted()) {\n setSize(newSize);\n }\n }\n }\n });\n\n observer.observe(ref.current, { box });\n\n return () => {\n observer.disconnect();\n };\n }, [box, ref, isMounted, round]);\n\n return { width, height };\n}\n\ntype BoxSizesKey = keyof Pick<\n ResizeObserverEntry,\n \"borderBoxSize\" | \"contentBoxSize\" | \"devicePixelContentBoxSize\"\n>;\n\nfunction extractSize(\n entry: ResizeObserverEntry,\n box: BoxSizesKey,\n sizeType: keyof ResizeObserverSize\n): number | undefined {\n if (!entry[box]) {\n if (box === \"contentBoxSize\") {\n return entry.contentRect[sizeType === \"inlineSize\" ? \"width\" : \"height\"];\n }\n return undefined;\n }\n\n return Array.isArray(entry[box])\n ? entry[box][0][sizeType]\n : // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore Support Firefox's non-standard behavior\n (entry[box][sizeType] as number);\n}\n\nfunction useIsMounted() {\n const isMounted = useRef(false);\n\n useEffect(() => {\n isMounted.current = true;\n\n return () => {\n isMounted.current = false;\n };\n }, []);\n\n return useCallback(() => isMounted.current, []);\n}\n","import { type RefObject, useRef, useState } from \"react\";\n\nimport { useResizeObserver } from \"./useResizeObserver\";\n\ntype UseToggleDragProps = {\n checked: boolean;\n onChange: ((checked: boolean) => void) | undefined;\n};\n\nexport const useToggleDrag = ({ checked, onChange }: UseToggleDragProps) => {\n const trackRef: RefObject<HTMLDivElement | null> = useRef(null);\n const thumbRef = useRef<HTMLSpanElement>(null);\n const [dragX, setDragX] = useState<number | undefined>(undefined);\n const [isDragging, setIsDragging] = useState(false);\n const [dragStopped, setDragStopped] = useState(0);\n\n const { height: thumbHeight = 0 } = useResizeObserver({ ref: thumbRef, round: true });\n const { height: switchHeight = 0 } = useResizeObserver({ ref: trackRef, round: true });\n\n const switchThumbHeightDelta = (switchHeight || 0) - thumbHeight;\n const maxDragRange = thumbHeight + switchThumbHeightDelta;\n const minDragRange = switchThumbHeightDelta / 2;\n const halfMaxDragRange = maxDragRange / 2;\n const isDraggedHalfway =\n typeof dragX === \"number\" && (checked ? dragX < halfMaxDragRange : dragX > halfMaxDragRange);\n\n const onDrag = ({ x }: { x: number }) => {\n setDragX(x);\n const dragDelta = Math.abs((checked ? maxDragRange : minDragRange) - x);\n\n // Add a threshold here for then accidentally dragging when clicking/touching\n dragDelta > 2 && setIsDragging(true);\n };\n\n const onStop = () => {\n setIsDragging(false);\n isDragging && setDragStopped(Date.now());\n if (isDraggedHalfway) {\n onChange?.(!checked);\n }\n };\n\n const onChangeWithDrag = () => {\n if (Date.now() - dragStopped > 50) {\n onChange?.(!checked);\n }\n setDragX(undefined);\n };\n\n return {\n trackRef,\n thumbRef,\n isDragging,\n bounds: { left: minDragRange, right: maxDragRange },\n position: checked ? maxDragRange : minDragRange,\n onDrag,\n onStop,\n onChangeWithDrag,\n };\n};\n","import React, { forwardRef, useState } from \"react\";\nimport type { BaseProps } from \"@purpur/common-types\";\nimport { Icon } from \"@purpur/icon\";\nimport { checkmarkBold } from \"@purpur/icon/assets/checkmark-bold\";\nimport { Label } from \"@purpur/label\";\nimport { Paragraph } from \"@purpur/paragraph\";\nimport * as Switch from \"@radix-ui/react-switch\";\nimport c from \"classnames/bind\";\n\nimport { DraggableX } from \"./DraggableX\";\nimport { useToggleDrag } from \"./hooks/useToggleDrag\";\nimport styles from \"./toggle.module.scss\";\n\nexport type ToggleProps = Omit<BaseProps<\"button\">, \"onChange\" | \"children\" | \"id\"> & {\n /**\n * To use when no label is given.\n * */\n [\"aria-label\"]?: string;\n /**\n * To use with custom label (not recommended).\n * */\n [\"aria-labelledby\"]?: string;\n /**\n * The controlled state of the toggle. Must be used in conjunction with `onChange`.\n * */\n checked?: boolean;\n /**\n * The state of the toggle when it is initially rendered. Use when you do not need to control its state.\n * */\n defaultChecked?: boolean;\n /**\n * When `true`, prevents the user from interacting with the toggle.\n * */\n disabled?: boolean;\n /**\n * When `true`, the toggle isn't draggable.\n * */\n disableDrag?: boolean;\n /**\n * ID of the toggle.\n * */\n id: string;\n /**\n * The label of the toggle.\n * */\n label?: string;\n /**\n * Set to decide which side of the toggle the label should be rendered.\n * */\n labelPosition?: \"left\" | \"right\";\n /**\n * The name of the toggle. Submitted with its owning form as part of a name/value pair, when wrapped in a form.\n * */\n name?: string;\n /**\n * Event handler called when the toggle is toggled.\n * */\n onChange?: (checked: boolean) => void;\n /**\n * When `true`, indicates that the user must check the toggle before the owning form can be submitted..\n * */\n required?: boolean;\n /**\n * The value given as data when wrapped with a form and submitted with a name.\n * */\n value?: string;\n negative?: boolean;\n};\n\nconst cx = c.bind(styles);\nconst rootClassName = \"purpur-toggle\";\n\nexport const Toggle = forwardRef<HTMLButtonElement, ToggleProps>(\n (\n {\n [\"data-testid\"]: dataTestId,\n className,\n label,\n onChange,\n labelPosition = \"right\",\n checked,\n disableDrag,\n defaultChecked,\n negative = false,\n ...props\n },\n ref\n ) => {\n const [internalChecked, setInternalChecked] = useState(\n typeof checked === \"boolean\" ? checked : !!defaultChecked\n );\n const isChecked = Boolean(typeof checked === \"boolean\" ? checked : internalChecked);\n const { thumbRef, trackRef, isDragging, onChangeWithDrag, ...draggableXProps } = useToggleDrag({\n checked: isChecked,\n onChange: (value) => {\n if (!props.disabled) {\n onChange?.(value);\n setInternalChecked(value);\n }\n },\n });\n\n const renderLabel = () => (\n <Label\n htmlFor={props.id}\n data-testid={dataTestId && `${dataTestId}-label`}\n disabled={props.disabled}\n className={cx(`${rootClassName}__label`, `${rootClassName}__label--${labelPosition}`)}\n negative={negative}\n >\n <Paragraph disabled={props.disabled} negative={negative}>\n {label}\n </Paragraph>\n </Label>\n );\n\n return (\n <div className={cx(className, `${rootClassName}__container`)}>\n {label && labelPosition === \"left\" && renderLabel()}\n <Switch.Root\n {...props}\n ref={ref}\n id={props.id}\n data-testid={dataTestId}\n className={cx(rootClassName, { [`${rootClassName}--negative`]: negative })}\n onCheckedChange={onChangeWithDrag}\n checked={isChecked}\n >\n <span\n ref={trackRef}\n className={cx(`${rootClassName}__track`, {\n [`${rootClassName}__track--negative`]: negative,\n })}\n >\n <span className={cx(`${rootClassName}__checkmark-container`)}>\n <Icon className={cx(`${rootClassName}__checkmark`)} svg={checkmarkBold} size=\"xxs\" />\n </span>\n <DraggableX disabled={disableDrag} {...draggableXProps}>\n <Switch.Thumb\n ref={thumbRef}\n data-testid={dataTestId && `${dataTestId}-thumb`}\n className={cx(`${rootClassName}__thumb`, {\n [`${rootClassName}__thumb--dragging`]: isDragging,\n [`${rootClassName}__thumb--negative`]: negative,\n })}\n />\n </DraggableX>\n </span>\n </Switch.Root>\n {label && labelPosition === \"right\" && renderLabel()}\n </div>\n );\n }\n);\n\nToggle.displayName = \"Toggle\";\n"],"names":["SWITCH_NAME","createSwitchContext","createContextScope","SwitchProvider","useSwitchContext","Switch","React","props","forwardedRef","__scopeSwitch","name","checkedProp","defaultChecked","required","disabled","value","onCheckedChange","form","switchProps","button","setButton","composedRefs","useComposedRefs","node","hasConsumerStoppedPropagationRef","isFormControl","checked","setChecked","useControllableState","jsxs","jsx","Primitive","getState","composeEventHandlers","event","prevChecked","BubbleInput","THUMB_NAME","SwitchThumb","thumbProps","context","control","bubbles","inputProps","ref","usePrevious","controlSize","useSize","input","inputProto","Root","Thumb","isTouchEvent","DraggableX","children","onStart","onDrag","onStop","bounds","position","style","dragX","setDragX","useState","dragStartX","setDragStartX","isDragging","setIsDragging","startDrag","e","clientX","onMouseMove","useCallback","dragDelta","nextDragX","nextDragXBounded","onMouseUp","useEffect","isValidElement","cloneElement","initialSize","useResizeObserver","options","box","round","width","height","setSize","isMounted","useIsMounted","previousSize","useRef","onResize","observer","entry","boxProp","newWidth","extractSize","newHeight","newSize","sizeType","useToggleDrag","onChange","trackRef","thumbRef","dragStopped","setDragStopped","thumbHeight","switchHeight","switchThumbHeightDelta","maxDragRange","minDragRange","halfMaxDragRange","isDraggedHalfway","x","cx","c","styles","rootClassName","Toggle","forwardRef","dataTestId","className","label","labelPosition","disableDrag","negative","internalChecked","setInternalChecked","isChecked","onChangeWithDrag","draggableXProps","renderLabel","Label","Paragraph","Switch.Root","Icon","checkmarkBold","Switch.Thumb"],"mappings":";;;;;;;;;;;;;AAYA,IAAIA,IAAc,UACd,CAACC,EAAsC,IAAIC,EAAmBF,CAAW,GACzE,CAACG,IAAgBC,EAAgB,IAAIH,GAAoBD,CAAW,GACpEK,IAASC,EAAM;AAAA,EACjB,CAACC,GAAOC,MAAiB;AACvB,UAAM;AAAA,MACJ,eAAAC;AAAA,MACA,MAAAC;AAAA,MACA,SAASC;AAAA,MACT,gBAAAC;AAAA,MACA,UAAAC;AAAA,MACA,UAAAC;AAAA,MACA,OAAAC,IAAQ;AAAA,MACR,iBAAAC;AAAA,MACA,MAAAC;AAAA,MACA,GAAGC;AAAA,IACT,IAAQX,GACE,CAACY,GAAQC,CAAS,IAAId,EAAM,SAAS,IAAI,GACzCe,IAAeC,EAAgBd,GAAc,CAACe,MAASH,EAAUG,CAAI,CAAC,GACtEC,IAAmClB,EAAM,OAAO,EAAK,GACrDmB,IAAgBN,IAASF,KAAQ,CAAC,CAACE,EAAO,QAAQ,MAAM,IAAI,IAC5D,CAACO,IAAU,IAAOC,CAAU,IAAIC,EAAqB;AAAA,M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AA,gBAAApG;AAAA,YAAC;AAAA,YAAA;AAAA,cACC,KAAK0E;AAAA,cACL,WAAWY,EAAG,GAAGG,CAAa,WAAW;AAAA,gBACvC,CAAC,GAAGA,CAAa,mBAAmB,GAAGQ;AAAA,cAAA,CACxC;AAAA,cAED,UAAA;AAAA,gBAAA,gBAAAhG,EAAC,UAAK,WAAWqF,EAAG,GAAGG,CAAa,uBAAuB,GACzD,UAAA,gBAAAxF,EAAC0G,GAAA,EAAK,WAAWrB,EAAG,GAAGG,CAAa,aAAa,GAAG,KAAKmB,GAAe,MAAK,OAAM,EAAA,CACrF;AAAA,gBACA,gBAAA3G,EAACuB,IAAA,EAAW,UAAUwE,GAAc,GAAGM,GACrC,UAAA,gBAAArG;AAAA,kBAAC4G;AAAAA,kBAAA;AAAA,oBACC,KAAKlC;AAAA,oBACL,eAAaiB,KAAc,GAAGA,CAAU;AAAA,oBACxC,WAAWN,EAAG,GAAGG,CAAa,WAAW;AAAA,sBACvC,CAAC,GAAGA,CAAa,mBAAmB,GAAGpD;AAAA,sBACvC,CAAC,GAAGoD,CAAa,mBAAmB,GAAGQ;AAAA,oBAAA,CACxC;AAAA,kBAAA;AAAA,gBAAA,EACH,CACF;AAAA,cAAA;AAAA,YAAA;AAAA,UAAA;AAAA,QACF;AAAA,MAAA;AAAA,MAEDH,KAASC,MAAkB,WAAWQ,EAAA;AAAA,IAAY,GACrD;AAAA,EAEJ;AACF;AAEAb,GAAO,cAAc;","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./toggle-C8IwTbX8.js");exports.Toggle=e.Toggle;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./toggle-B8ZLUVar.js");exports.Toggle=e.Toggle;
2
2
  //# sourceMappingURL=toggle.cjs.js.map
package/dist/toggle.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { T as g } from "./toggle-D23x1wWk.mjs";
1
+ import { T as g } from "./toggle-CY3J8BRX.mjs";
2
2
  export {
3
3
  g as Toggle
4
4
  };
@@ -150,6 +150,7 @@
150
150
  --purpur-color-text-interactive-on-expressive-active-negative: var(--purpur-color-purple-900);
151
151
  --purpur-color-text-interactive-on-destructive: var(--purpur-color-functional-white);
152
152
  --purpur-color-text-interactive-selected: var(--purpur-color-purple-550);
153
+ --purpur-color-text-interactive-selected-negative: var(--purpur-color-purple-300);
153
154
  --purpur-color-text-status-discount: var(--purpur-color-purple-550);
154
155
  --purpur-color-text-status-error-strong: var(--purpur-color-red-700);
155
156
  --purpur-color-text-status-error-strong-negative: var(--purpur-color-red-300);
@@ -148,6 +148,7 @@ export const purpurColorTextInteractiveOnExpressiveActive: string;
148
148
  export const purpurColorTextInteractiveOnExpressiveActiveNegative: string;
149
149
  export const purpurColorTextInteractiveOnDestructive: string;
150
150
  export const purpurColorTextInteractiveSelected: string;
151
+ export const purpurColorTextInteractiveSelectedNegative: string;
151
152
  export const purpurColorTextStatusDiscount: string;
152
153
  export const purpurColorTextStatusErrorStrong: string;
153
154
  export const purpurColorTextStatusErrorStrongNegative: string;
@@ -153,6 +153,7 @@
153
153
  );
154
154
  --purpur-color-text-interactive-on-destructive: var(--purpur-color-functional-white);
155
155
  --purpur-color-text-interactive-selected: var(--purpur-color-purple-300);
156
+ --purpur-color-text-interactive-selected-negative: var(--purpur-color-purple-550);
156
157
  --purpur-color-text-status-discount: var(--purpur-color-purple-300);
157
158
  --purpur-color-text-status-error-strong: var(--purpur-color-red-200);
158
159
  --purpur-color-text-status-error-strong-negative: var(--purpur-color-red-700);
@@ -148,6 +148,7 @@ export const purpurColorTextInteractiveOnExpressiveActive: string;
148
148
  export const purpurColorTextInteractiveOnExpressiveActiveNegative: string;
149
149
  export const purpurColorTextInteractiveOnDestructive: string;
150
150
  export const purpurColorTextInteractiveSelected: string;
151
+ export const purpurColorTextInteractiveSelectedNegative: string;
151
152
  export const purpurColorTextStatusDiscount: string;
152
153
  export const purpurColorTextStatusErrorStrong: string;
153
154
  export const purpurColorTextStatusErrorStrongNegative: string;
@@ -148,6 +148,7 @@ export const purpurColorTextInteractiveOnExpressiveActive = "#29003e";
148
148
  export const purpurColorTextInteractiveOnExpressiveActiveNegative = "#ffffff";
149
149
  export const purpurColorTextInteractiveOnDestructive = "#ffffff";
150
150
  export const purpurColorTextInteractiveSelected = "#d58df9";
151
+ export const purpurColorTextInteractiveSelectedNegative = "#990ae3";
151
152
  export const purpurColorTextStatusDiscount = "#d58df9";
152
153
  export const purpurColorTextStatusErrorStrong = "#ffafc9";
153
154
  export const purpurColorTextStatusErrorStrongNegative = "#980233";
@@ -175,7 +175,8 @@
175
175
  "on-expressive-active": "#29003e",
176
176
  "on-expressive-active-negative": "#ffffff",
177
177
  "on-destructive": "#ffffff",
178
- "selected": "#d58df9"
178
+ "selected": "#d58df9",
179
+ "selected-negative": "#990ae3"
179
180
  },
180
181
  "status": {
181
182
  "discount": "#d58df9",
@@ -148,6 +148,7 @@ $purpur-color-text-interactive-on-expressive-active: $purpur-color-purple-900;
148
148
  $purpur-color-text-interactive-on-expressive-active-negative: $purpur-color-functional-white;
149
149
  $purpur-color-text-interactive-on-destructive: $purpur-color-functional-white;
150
150
  $purpur-color-text-interactive-selected: $purpur-color-purple-300;
151
+ $purpur-color-text-interactive-selected-negative: $purpur-color-purple-550;
151
152
  $purpur-color-text-status-discount: $purpur-color-purple-300;
152
153
  $purpur-color-text-status-error-strong: $purpur-color-red-200;
153
154
  $purpur-color-text-status-error-strong-negative: $purpur-color-red-700;
@@ -148,6 +148,7 @@ export const purpurColorTextInteractiveOnExpressiveActive = "#ffffff";
148
148
  export const purpurColorTextInteractiveOnExpressiveActiveNegative = "#29003e";
149
149
  export const purpurColorTextInteractiveOnDestructive = "#ffffff";
150
150
  export const purpurColorTextInteractiveSelected = "#990ae3";
151
+ export const purpurColorTextInteractiveSelectedNegative = "#d58df9";
151
152
  export const purpurColorTextStatusDiscount = "#990ae3";
152
153
  export const purpurColorTextStatusErrorStrong = "#980233";
153
154
  export const purpurColorTextStatusErrorStrongNegative = "#ff80ab";
@@ -175,7 +175,8 @@
175
175
  "on-expressive-active": "#ffffff",
176
176
  "on-expressive-active-negative": "#29003e",
177
177
  "on-destructive": "#ffffff",
178
- "selected": "#990ae3"
178
+ "selected": "#990ae3",
179
+ "selected-negative": "#d58df9"
179
180
  },
180
181
  "status": {
181
182
  "discount": "#990ae3",
@@ -148,6 +148,7 @@ $purpur-color-text-interactive-on-expressive-active: $purpur-color-functional-wh
148
148
  $purpur-color-text-interactive-on-expressive-active-negative: $purpur-color-purple-900;
149
149
  $purpur-color-text-interactive-on-destructive: $purpur-color-functional-white;
150
150
  $purpur-color-text-interactive-selected: $purpur-color-purple-550;
151
+ $purpur-color-text-interactive-selected-negative: $purpur-color-purple-300;
151
152
  $purpur-color-text-status-discount: $purpur-color-purple-550;
152
153
  $purpur-color-text-status-error-strong: $purpur-color-red-700;
153
154
  $purpur-color-text-status-error-strong-negative: $purpur-color-red-300;
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./variables-Buqm4JZc.js"),r=require("./variables-DH61hVNE.js"),u=require("./variables-BSBunpiY.js"),o="2px",e="4px",a="8px",t="16px",n="24px",i="999px",l="1px",c="2px",C="3px",g="6px",d="blur(24px)",s="linear-gradient(289deg, #3694d3 -13%, #6d02a3 58%)",v="linear-gradient(289deg, #62b2e7 -13%, #f4e0ff 58%)",B="linear-gradient(291deg, #3694d3 -15%, #990ae3 44%)",T="linear-gradient(291deg, #62b2e7 -15%, #990ae3 44%)",S="linear-gradient(291deg, #3694d3 -15%, #4e0174 44%, #b12df4 133%)",y="linear-gradient(280deg, #62b2e7 -15%, #f4e0ff 23%, #f4e0ff 68%, #d58df9 112%)",m="linear-gradient(352deg, #62b2e7 -69%, #1f002e 15%, #1f002e 87%, #d58df9 183%)",k="linear-gradient(289deg, #3694d3 -13%, #6d02a3 58%)",I="linear-gradient(289deg, #62b2e7 -13%, #f4e0ff 58%)",x="0rem 0rem 0rem 0rem rgba(0, 0, 0, 0.1)",h="0rem 0.0625rem 0.25rem 0rem rgba(0, 0, 0, 0.1)",P="0rem 0.25rem 0.75rem 0rem rgba(0, 0, 0, 0.1)",N="0rem 0.75rem 1.5rem 0rem rgba(0, 0, 0, 0.1)",G="0rem",O="0.0625rem",M="0.125rem",W="0.25rem",A="0.5rem",E="0.75rem",D="1rem",R="1.25rem",f="1.5rem",H="2rem",L="3rem",b="4rem",F="5rem",X="6rem",w="8rem",q="1rem",Q="1.5rem",$="1.5rem",j="1.5rem",z="1rem",J="1.5rem",K="3rem",U="3rem",V="TeliaSans, Helvetica, Arial, 'Lucida Grande', sans-serif",Y="TeliaSansHeading, Helvetica, Arial, 'Lucida Grande', sans-serif",Z="400",_="500",rr="700",ur="100%",pr="110%",or="125%",er="150%",ar="175%",tr="0.75rem",nr="0.875rem",ir="1rem",lr="1.125rem",cr="1.25rem",Cr="1.375rem",gr="1.5rem",dr="1.75rem",sr="2rem",vr="2.25rem",Br="2.5rem",Tr="3rem",Sr="3.5rem",yr="4rem",mr="5rem",kr="6rem";exports.purpurBreakpointLg=p.purpurBreakpointLg;exports.purpurBreakpointMd=p.purpurBreakpointMd;exports.purpurBreakpointRelativeLg=p.purpurBreakpointRelativeLg;exports.purpurBreakpointRelativeMd=p.purpurBreakpointRelativeMd;exports.purpurBreakpointRelativeSm=p.purpurBreakpointRelativeSm;exports.purpurBreakpointRelativeXl=p.purpurBreakpointRelativeXl;exports.purpurBreakpointSm=p.purpurBreakpointSm;exports.purpurBreakpointXl=p.purpurBreakpointXl;exports.purpurColorBackgroundInteractiveAutoFill=r.purpurColorBackgroundInteractiveAutoFill;exports.purpurColorBackgroundInteractiveDestructive=r.purpurColorBackgroundInteractiveDestructive;exports.purpurColorBackgroundInteractiveDestructiveActive=r.purpurColorBackgroundInteractiveDestructiveActive;exports.purpurColorBackgroundInteractiveDestructiveHover=r.purpurColorBackgroundInteractiveDestructiveHover;exports.purpurColorBackgroundInteractiveDisabled=r.purpurColorBackgroundInteractiveDisabled;exports.purpurColorBackgroundInteractiveDisabledNegative=r.purpurColorBackgroundInteractiveDisabledNegative;exports.purpurColorBackgroundInteractiveExpressive=r.purpurColorBackgroundInteractiveExpressive;exports.purpurColorBackgroundInteractiveExpressiveActive=r.purpurColorBackgroundInteractiveExpressiveActive;exports.purpurColorBackgroundInteractiveExpressiveActiveNegative=r.purpurColorBackgroundInteractiveExpressiveActiveNegative;exports.purpurColorBackgroundInteractiveExpressiveHover=r.purpurColorBackgroundInteractiveExpressiveHover;exports.purpurColorBackgroundInteractiveExpressiveHoverNegative=r.purpurColorBackgroundInteractiveExpressiveHoverNegative;exports.purpurColorBackgroundInteractiveExpressiveNegative=r.purpurColorBackgroundInteractiveExpressiveNegative;exports.purpurColorBackgroundInteractiveInactive=r.purpurColorBackgroundInteractiveInactive;exports.purpurColorBackgroundInteractiveInactiveNegative=r.purpurColorBackgroundInteractiveInactiveNegative;exports.purpurColorBackgroundInteractivePrimary=r.purpurColorBackgroundInteractivePrimary;exports.purpurColorBackgroundInteractivePrimaryActive=r.purpurColorBackgroundInteractivePrimaryActive;exports.purpurColorBackgroundInteractivePrimaryActiveNegative=r.purpurColorBackgroundInteractivePrimaryActiveNegative;exports.purpurColorBackgroundInteractivePrimaryHover=r.purpurColorBackgroundInteractivePrimaryHover;exports.purpurColorBackgroundInteractivePrimaryHoverNegative=r.purpurColorBackgroundInteractivePrimaryHoverNegative;exports.purpurColorBackgroundInteractivePrimaryNegative=r.purpurColorBackgroundInteractivePrimaryNegative;exports.purpurColorBackgroundInteractiveReadOnly=r.purpurColorBackgroundInteractiveReadOnly;exports.purpurColorBackgroundInteractiveReadOnlyNegative=r.purpurColorBackgroundInteractiveReadOnlyNegative;exports.purpurColorBackgroundInteractiveTransparentActive=r.purpurColorBackgroundInteractiveTransparentActive;exports.purpurColorBackgroundInteractiveTransparentActiveNegative=r.purpurColorBackgroundInteractiveTransparentActiveNegative;exports.purpurColorBackgroundInteractiveTransparentHover=r.purpurColorBackgroundInteractiveTransparentHover;exports.purpurColorBackgroundInteractiveTransparentHoverNegative=r.purpurColorBackgroundInteractiveTransparentHoverNegative;exports.purpurColorBackgroundOnImage=r.purpurColorBackgroundOnImage;exports.purpurColorBackgroundOnImageNegative=r.purpurColorBackgroundOnImageNegative;exports.purpurColorBackgroundPrimary=r.purpurColorBackgroundPrimary;exports.purpurColorBackgroundPrimaryNegative=r.purpurColorBackgroundPrimaryNegative;exports.purpurColorBackgroundSecondary=r.purpurColorBackgroundSecondary;exports.purpurColorBackgroundSecondaryNegative=r.purpurColorBackgroundSecondaryNegative;exports.purpurColorBackgroundStatusAttention=r.purpurColorBackgroundStatusAttention;exports.purpurColorBackgroundStatusBlackFriday=r.purpurColorBackgroundStatusBlackFriday;exports.purpurColorBackgroundStatusErrorMedium=r.purpurColorBackgroundStatusErrorMedium;exports.purpurColorBackgroundStatusErrorStrong=r.purpurColorBackgroundStatusErrorStrong;exports.purpurColorBackgroundStatusErrorStrongNegative=r.purpurColorBackgroundStatusErrorStrongNegative;exports.purpurColorBackgroundStatusInfoMedium=r.purpurColorBackgroundStatusInfoMedium;exports.purpurColorBackgroundStatusInfoStrong=r.purpurColorBackgroundStatusInfoStrong;exports.purpurColorBackgroundStatusNeutral=r.purpurColorBackgroundStatusNeutral;exports.purpurColorBackgroundStatusSpecial=r.purpurColorBackgroundStatusSpecial;exports.purpurColorBackgroundStatusSuccessMedium=r.purpurColorBackgroundStatusSuccessMedium;exports.purpurColorBackgroundStatusSuccessStrong=r.purpurColorBackgroundStatusSuccessStrong;exports.purpurColorBackgroundStatusSuccessStrongNegative=r.purpurColorBackgroundStatusSuccessStrongNegative;exports.purpurColorBackgroundStatusWarningMedium=r.purpurColorBackgroundStatusWarningMedium;exports.purpurColorBackgroundStatusWarningStrong=r.purpurColorBackgroundStatusWarningStrong;exports.purpurColorBackgroundStatusWarningStrongNegative=r.purpurColorBackgroundStatusWarningStrongNegative;exports.purpurColorBackgroundToneOnTonePrimary=r.purpurColorBackgroundToneOnTonePrimary;exports.purpurColorBackgroundToneOnToneQuaternary=r.purpurColorBackgroundToneOnToneQuaternary;exports.purpurColorBackgroundToneOnToneSecondary=r.purpurColorBackgroundToneOnToneSecondary;exports.purpurColorBackgroundToneOnToneTertiary=r.purpurColorBackgroundToneOnToneTertiary;exports.purpurColorBeige100=r.purpurColorBeige100;exports.purpurColorBeige200=r.purpurColorBeige200;exports.purpurColorBeige300=r.purpurColorBeige300;exports.purpurColorBeige400=r.purpurColorBeige400;exports.purpurColorBeige50=r.purpurColorBeige50;exports.purpurColorBeige500=r.purpurColorBeige500;exports.purpurColorBeige600=r.purpurColorBeige600;exports.purpurColorBeige700=r.purpurColorBeige700;exports.purpurColorBeige800=r.purpurColorBeige800;exports.purpurColorBeige900=r.purpurColorBeige900;exports.purpurColorBeige950=r.purpurColorBeige950;exports.purpurColorBlue100=r.purpurColorBlue100;exports.purpurColorBlue200=r.purpurColorBlue200;exports.purpurColorBlue300=r.purpurColorBlue300;exports.purpurColorBlue400=r.purpurColorBlue400;exports.purpurColorBlue50=r.purpurColorBlue50;exports.purpurColorBlue500=r.purpurColorBlue500;exports.purpurColorBlue600=r.purpurColorBlue600;exports.purpurColorBlue700=r.purpurColorBlue700;exports.purpurColorBlue800=r.purpurColorBlue800;exports.purpurColorBlue900=r.purpurColorBlue900;exports.purpurColorBlue950=r.purpurColorBlue950;exports.purpurColorBorderInteractiveExpressive=r.purpurColorBorderInteractiveExpressive;exports.purpurColorBorderInteractiveFocus=r.purpurColorBorderInteractiveFocus;exports.purpurColorBorderInteractivePrimary=r.purpurColorBorderInteractivePrimary;exports.purpurColorBorderInteractivePrimaryActive=r.purpurColorBorderInteractivePrimaryActive;exports.purpurColorBorderInteractivePrimaryActiveNegative=r.purpurColorBorderInteractivePrimaryActiveNegative;exports.purpurColorBorderInteractivePrimaryHover=r.purpurColorBorderInteractivePrimaryHover;exports.purpurColorBorderInteractivePrimaryHoverNegative=r.purpurColorBorderInteractivePrimaryHoverNegative;exports.purpurColorBorderInteractivePrimaryNegative=r.purpurColorBorderInteractivePrimaryNegative;exports.purpurColorBorderInteractiveSelected=r.purpurColorBorderInteractiveSelected;exports.purpurColorBorderInteractiveSubtle=r.purpurColorBorderInteractiveSubtle;exports.purpurColorBorderInteractiveSubtleHover=r.purpurColorBorderInteractiveSubtleHover;exports.purpurColorBorderInteractiveSubtleHoverNegative=r.purpurColorBorderInteractiveSubtleHoverNegative;exports.purpurColorBorderInteractiveSubtleNegative=r.purpurColorBorderInteractiveSubtleNegative;exports.purpurColorBorderMedium=r.purpurColorBorderMedium;exports.purpurColorBorderMediumNegative=r.purpurColorBorderMediumNegative;exports.purpurColorBorderStatusError=r.purpurColorBorderStatusError;exports.purpurColorBorderStatusErrorNegative=r.purpurColorBorderStatusErrorNegative;exports.purpurColorBorderStatusInfo=r.purpurColorBorderStatusInfo;exports.purpurColorBorderStatusSuccess=r.purpurColorBorderStatusSuccess;exports.purpurColorBorderStatusSuccessNegative=r.purpurColorBorderStatusSuccessNegative;exports.purpurColorBorderStatusWarning=r.purpurColorBorderStatusWarning;exports.purpurColorBorderStrong=r.purpurColorBorderStrong;exports.purpurColorBorderStrongNegative=r.purpurColorBorderStrongNegative;exports.purpurColorBorderWeak=r.purpurColorBorderWeak;exports.purpurColorBorderWeakNegative=r.purpurColorBorderWeakNegative;exports.purpurColorBrandBeige=r.purpurColorBrandBeige;exports.purpurColorBrandCorePurple=r.purpurColorBrandCorePurple;exports.purpurColorBrandDeepBeige=r.purpurColorBrandDeepBeige;exports.purpurColorBrandDeepPurple=r.purpurColorBrandDeepPurple;exports.purpurColorBrandLightBeige=r.purpurColorBrandLightBeige;exports.purpurColorBrandLightPurple=r.purpurColorBrandLightPurple;exports.purpurColorBrandOffBlack=r.purpurColorBrandOffBlack;exports.purpurColorBrandWhite=r.purpurColorBrandWhite;exports.purpurColorFunctionalBlack=r.purpurColorFunctionalBlack;exports.purpurColorFunctionalTransparent=r.purpurColorFunctionalTransparent;exports.purpurColorFunctionalWhite=r.purpurColorFunctionalWhite;exports.purpurColorGradientAiBottom=r.purpurColorGradientAiBottom;exports.purpurColorGradientAiBottomNegative=r.purpurColorGradientAiBottomNegative;exports.purpurColorGradientAiTop=r.purpurColorGradientAiTop;exports.purpurColorGradientAiTopNegative=r.purpurColorGradientAiTopNegative;exports.purpurColorGray100=r.purpurColorGray100;exports.purpurColorGray150=r.purpurColorGray150;exports.purpurColorGray200=r.purpurColorGray200;exports.purpurColorGray300=r.purpurColorGray300;exports.purpurColorGray400=r.purpurColorGray400;exports.purpurColorGray50=r.purpurColorGray50;exports.purpurColorGray500=r.purpurColorGray500;exports.purpurColorGray600=r.purpurColorGray600;exports.purpurColorGray700=r.purpurColorGray700;exports.purpurColorGray800=r.purpurColorGray800;exports.purpurColorGray850=r.purpurColorGray850;exports.purpurColorGray900=r.purpurColorGray900;exports.purpurColorGray950=r.purpurColorGray950;exports.purpurColorGreen100=r.purpurColorGreen100;exports.purpurColorGreen200=r.purpurColorGreen200;exports.purpurColorGreen300=r.purpurColorGreen300;exports.purpurColorGreen400=r.purpurColorGreen400;exports.purpurColorGreen50=r.purpurColorGreen50;exports.purpurColorGreen500=r.purpurColorGreen500;exports.purpurColorGreen600=r.purpurColorGreen600;exports.purpurColorGreen700=r.purpurColorGreen700;exports.purpurColorGreen800=r.purpurColorGreen800;exports.purpurColorGreen900=r.purpurColorGreen900;exports.purpurColorGreen950=r.purpurColorGreen950;exports.purpurColorOrange100=r.purpurColorOrange100;exports.purpurColorOrange200=r.purpurColorOrange200;exports.purpurColorOrange300=r.purpurColorOrange300;exports.purpurColorOrange400=r.purpurColorOrange400;exports.purpurColorOrange50=r.purpurColorOrange50;exports.purpurColorOrange500=r.purpurColorOrange500;exports.purpurColorOrange600=r.purpurColorOrange600;exports.purpurColorOrange700=r.purpurColorOrange700;exports.purpurColorOrange800=r.purpurColorOrange800;exports.purpurColorOrange900=r.purpurColorOrange900;exports.purpurColorOrange950=r.purpurColorOrange950;exports.purpurColorOverlayDefault=r.purpurColorOverlayDefault;exports.purpurColorPurple100=r.purpurColorPurple100;exports.purpurColorPurple200=r.purpurColorPurple200;exports.purpurColorPurple300=r.purpurColorPurple300;exports.purpurColorPurple400=r.purpurColorPurple400;exports.purpurColorPurple50=r.purpurColorPurple50;exports.purpurColorPurple500=r.purpurColorPurple500;exports.purpurColorPurple550=r.purpurColorPurple550;exports.purpurColorPurple600=r.purpurColorPurple600;exports.purpurColorPurple700=r.purpurColorPurple700;exports.purpurColorPurple800=r.purpurColorPurple800;exports.purpurColorPurple900=r.purpurColorPurple900;exports.purpurColorPurple950=r.purpurColorPurple950;exports.purpurColorRed100=r.purpurColorRed100;exports.purpurColorRed200=r.purpurColorRed200;exports.purpurColorRed300=r.purpurColorRed300;exports.purpurColorRed400=r.purpurColorRed400;exports.purpurColorRed50=r.purpurColorRed50;exports.purpurColorRed500=r.purpurColorRed500;exports.purpurColorRed600=r.purpurColorRed600;exports.purpurColorRed700=r.purpurColorRed700;exports.purpurColorRed800=r.purpurColorRed800;exports.purpurColorRed900=r.purpurColorRed900;exports.purpurColorRed950=r.purpurColorRed950;exports.purpurColorTeal100=r.purpurColorTeal100;exports.purpurColorTeal200=r.purpurColorTeal200;exports.purpurColorTeal300=r.purpurColorTeal300;exports.purpurColorTeal400=r.purpurColorTeal400;exports.purpurColorTeal50=r.purpurColorTeal50;exports.purpurColorTeal500=r.purpurColorTeal500;exports.purpurColorTeal600=r.purpurColorTeal600;exports.purpurColorTeal700=r.purpurColorTeal700;exports.purpurColorTeal800=r.purpurColorTeal800;exports.purpurColorTeal900=r.purpurColorTeal900;exports.purpurColorTeal950=r.purpurColorTeal950;exports.purpurColorTextDefault=r.purpurColorTextDefault;exports.purpurColorTextDefaultNegative=r.purpurColorTextDefaultNegative;exports.purpurColorTextInteractiveOnDestructive=r.purpurColorTextInteractiveOnDestructive;exports.purpurColorTextInteractiveOnExpressive=r.purpurColorTextInteractiveOnExpressive;exports.purpurColorTextInteractiveOnExpressiveActive=r.purpurColorTextInteractiveOnExpressiveActive;exports.purpurColorTextInteractiveOnExpressiveActiveNegative=r.purpurColorTextInteractiveOnExpressiveActiveNegative;exports.purpurColorTextInteractiveOnExpressiveHover=r.purpurColorTextInteractiveOnExpressiveHover;exports.purpurColorTextInteractiveOnExpressiveHoverNegative=r.purpurColorTextInteractiveOnExpressiveHoverNegative;exports.purpurColorTextInteractiveOnExpressiveNegative=r.purpurColorTextInteractiveOnExpressiveNegative;exports.purpurColorTextInteractiveOnPrimary=r.purpurColorTextInteractiveOnPrimary;exports.purpurColorTextInteractiveOnPrimaryNegative=r.purpurColorTextInteractiveOnPrimaryNegative;exports.purpurColorTextInteractivePrimary=r.purpurColorTextInteractivePrimary;exports.purpurColorTextInteractivePrimaryActive=r.purpurColorTextInteractivePrimaryActive;exports.purpurColorTextInteractivePrimaryActiveNegative=r.purpurColorTextInteractivePrimaryActiveNegative;exports.purpurColorTextInteractivePrimaryHover=r.purpurColorTextInteractivePrimaryHover;exports.purpurColorTextInteractivePrimaryHoverNegative=r.purpurColorTextInteractivePrimaryHoverNegative;exports.purpurColorTextInteractivePrimaryNegative=r.purpurColorTextInteractivePrimaryNegative;exports.purpurColorTextInteractiveSelected=r.purpurColorTextInteractiveSelected;exports.purpurColorTextMedium=r.purpurColorTextMedium;exports.purpurColorTextMediumNegative=r.purpurColorTextMediumNegative;exports.purpurColorTextStatusAttention=r.purpurColorTextStatusAttention;exports.purpurColorTextStatusBlackFriday=r.purpurColorTextStatusBlackFriday;exports.purpurColorTextStatusDiscount=r.purpurColorTextStatusDiscount;exports.purpurColorTextStatusErrorMedium=r.purpurColorTextStatusErrorMedium;exports.purpurColorTextStatusErrorMediumNegative=r.purpurColorTextStatusErrorMediumNegative;exports.purpurColorTextStatusErrorStrong=r.purpurColorTextStatusErrorStrong;exports.purpurColorTextStatusErrorStrongNegative=r.purpurColorTextStatusErrorStrongNegative;exports.purpurColorTextStatusInfoMedium=r.purpurColorTextStatusInfoMedium;exports.purpurColorTextStatusInfoStrong=r.purpurColorTextStatusInfoStrong;exports.purpurColorTextStatusNeutral=r.purpurColorTextStatusNeutral;exports.purpurColorTextStatusSpecial=r.purpurColorTextStatusSpecial;exports.purpurColorTextStatusSuccessMedium=r.purpurColorTextStatusSuccessMedium;exports.purpurColorTextStatusSuccessMediumNegative=r.purpurColorTextStatusSuccessMediumNegative;exports.purpurColorTextStatusSuccessStrong=r.purpurColorTextStatusSuccessStrong;exports.purpurColorTextStatusSuccessStrongNegative=r.purpurColorTextStatusSuccessStrongNegative;exports.purpurColorTextStatusWarningMedium=r.purpurColorTextStatusWarningMedium;exports.purpurColorTextStatusWarningMediumNegative=r.purpurColorTextStatusWarningMediumNegative;exports.purpurColorTextStatusWarningStrong=r.purpurColorTextStatusWarningStrong;exports.purpurColorTextToneOnTonePrimary=r.purpurColorTextToneOnTonePrimary;exports.purpurColorTextToneOnToneSecondary=r.purpurColorTextToneOnToneSecondary;exports.purpurColorTextToneOnToneTertiary=r.purpurColorTextToneOnToneTertiary;exports.purpurColorTextWeak=r.purpurColorTextWeak;exports.purpurColorTextWeakNegative=r.purpurColorTextWeakNegative;exports.purpurColorTransparentBlack100=r.purpurColorTransparentBlack100;exports.purpurColorTransparentBlack150=r.purpurColorTransparentBlack150;exports.purpurColorTransparentBlack200=r.purpurColorTransparentBlack200;exports.purpurColorTransparentBlack300=r.purpurColorTransparentBlack300;exports.purpurColorTransparentBlack400=r.purpurColorTransparentBlack400;exports.purpurColorTransparentBlack50=r.purpurColorTransparentBlack50;exports.purpurColorTransparentBlack500=r.purpurColorTransparentBlack500;exports.purpurColorTransparentBlack600=r.purpurColorTransparentBlack600;exports.purpurColorTransparentBlack700=r.purpurColorTransparentBlack700;exports.purpurColorTransparentBlack800=r.purpurColorTransparentBlack800;exports.purpurColorTransparentBlack850=r.purpurColorTransparentBlack850;exports.purpurColorTransparentBlack900=r.purpurColorTransparentBlack900;exports.purpurColorTransparentBlack950=r.purpurColorTransparentBlack950;exports.purpurColorTransparentWhite100=r.purpurColorTransparentWhite100;exports.purpurColorTransparentWhite150=r.purpurColorTransparentWhite150;exports.purpurColorTransparentWhite200=r.purpurColorTransparentWhite200;exports.purpurColorTransparentWhite300=r.purpurColorTransparentWhite300;exports.purpurColorTransparentWhite400=r.purpurColorTransparentWhite400;exports.purpurColorTransparentWhite50=r.purpurColorTransparentWhite50;exports.purpurColorTransparentWhite500=r.purpurColorTransparentWhite500;exports.purpurColorTransparentWhite600=r.purpurColorTransparentWhite600;exports.purpurColorTransparentWhite700=r.purpurColorTransparentWhite700;exports.purpurColorTransparentWhite800=r.purpurColorTransparentWhite800;exports.purpurColorTransparentWhite850=r.purpurColorTransparentWhite850;exports.purpurColorTransparentWhite900=r.purpurColorTransparentWhite900;exports.purpurColorTransparentWhite950=r.purpurColorTransparentWhite950;exports.purpurMotionDuration100=u.purpurMotionDuration100;exports.purpurMotionDuration150=u.purpurMotionDuration150;exports.purpurMotionDuration1500=u.purpurMotionDuration1500;exports.purpurMotionDuration200=u.purpurMotionDuration200;exports.purpurMotionDuration2000=u.purpurMotionDuration2000;exports.purpurMotionDuration300=u.purpurMotionDuration300;exports.purpurMotionDuration400=u.purpurMotionDuration400;exports.purpurMotionDuration500=u.purpurMotionDuration500;exports.purpurMotionEasingEaseIn=u.purpurMotionEasingEaseIn;exports.purpurMotionEasingEaseInOut=u.purpurMotionEasingEaseInOut;exports.purpurMotionEasingEaseOut=u.purpurMotionEasingEaseOut;exports.purpurBorderRadiusFull=i;exports.purpurBorderRadiusLg=t;exports.purpurBorderRadiusMd=a;exports.purpurBorderRadiusSm=e;exports.purpurBorderRadiusXl=n;exports.purpurBorderRadiusXs=o;exports.purpurBorderWidthLg=g;exports.purpurBorderWidthMd=C;exports.purpurBorderWidthSm=c;exports.purpurBorderWidthXs=l;exports.purpurFilterBlurOnImage=d;exports.purpurGradientAiBackgroundInteractiveExpressive=B;exports.purpurGradientAiBackgroundInteractiveExpressiveNegative=T;exports.purpurGradientAiBackgroundInteractivePrimary=S;exports.purpurGradientAiBackgroundInteractivePrimaryNegative=y;exports.purpurGradientAiBackgroundPrimaryNegative=m;exports.purpurGradientAiBorderInteractivePrimary=k;exports.purpurGradientAiBorderInteractivePrimaryNegative=I;exports.purpurGradientAiTextInteractivePrimary=s;exports.purpurGradientAiTextInteractivePrimaryNegative=v;exports.purpurShadowLg=N;exports.purpurShadowMd=P;exports.purpurShadowNone=x;exports.purpurShadowSm=h;exports.purpurSpacing0=G;exports.purpurSpacing10=O;exports.purpurSpacing100=A;exports.purpurSpacing1000=F;exports.purpurSpacing1200=X;exports.purpurSpacing150=E;exports.purpurSpacing1600=w;exports.purpurSpacing200=D;exports.purpurSpacing25=M;exports.purpurSpacing250=R;exports.purpurSpacing300=f;exports.purpurSpacing400=H;exports.purpurSpacing50=W;exports.purpurSpacing600=L;exports.purpurSpacing800=b;exports.purpurSpacingGutterLg=$;exports.purpurSpacingGutterMd=Q;exports.purpurSpacingGutterSm=q;exports.purpurSpacingGutterXl=j;exports.purpurSpacingPagePaddingLg=K;exports.purpurSpacingPagePaddingMd=J;exports.purpurSpacingPagePaddingSm=z;exports.purpurSpacingPagePaddingXl=U;exports.purpurTypographyFamilyDefault=V;exports.purpurTypographyFamilyDisplay=Y;exports.purpurTypographyLineHeightDefault=or;exports.purpurTypographyLineHeightLoose=er;exports.purpurTypographyLineHeightLooser=ar;exports.purpurTypographyLineHeightSnug=pr;exports.purpurTypographyLineHeightTight=ur;exports.purpurTypographyScale100=ir;exports.purpurTypographyScale1000=mr;exports.purpurTypographyScale1100=kr;exports.purpurTypographyScale150=lr;exports.purpurTypographyScale200=cr;exports.purpurTypographyScale300=Cr;exports.purpurTypographyScale400=gr;exports.purpurTypographyScale50=tr;exports.purpurTypographyScale500=dr;exports.purpurTypographyScale600=sr;exports.purpurTypographyScale650=vr;exports.purpurTypographyScale700=Br;exports.purpurTypographyScale75=nr;exports.purpurTypographyScale800=Tr;exports.purpurTypographyScale850=Sr;exports.purpurTypographyScale900=yr;exports.purpurTypographyWeightBold=rr;exports.purpurTypographyWeightMedium=_;exports.purpurTypographyWeightNormal=Z;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const p=require("./variables-Buqm4JZc.js"),r=require("./variables-DoI78zZc.js"),u=require("./variables-BSBunpiY.js"),o="2px",e="4px",a="8px",t="16px",n="24px",i="999px",l="1px",c="2px",C="3px",g="6px",d="blur(24px)",s="linear-gradient(289deg, #3694d3 -13%, #6d02a3 58%)",v="linear-gradient(289deg, #62b2e7 -13%, #f4e0ff 58%)",B="linear-gradient(291deg, #3694d3 -15%, #990ae3 44%)",T="linear-gradient(291deg, #62b2e7 -15%, #990ae3 44%)",S="linear-gradient(291deg, #3694d3 -15%, #4e0174 44%, #b12df4 133%)",y="linear-gradient(280deg, #62b2e7 -15%, #f4e0ff 23%, #f4e0ff 68%, #d58df9 112%)",m="linear-gradient(352deg, #62b2e7 -69%, #1f002e 15%, #1f002e 87%, #d58df9 183%)",k="linear-gradient(289deg, #3694d3 -13%, #6d02a3 58%)",I="linear-gradient(289deg, #62b2e7 -13%, #f4e0ff 58%)",x="0rem 0rem 0rem 0rem rgba(0, 0, 0, 0.1)",h="0rem 0.0625rem 0.25rem 0rem rgba(0, 0, 0, 0.1)",P="0rem 0.25rem 0.75rem 0rem rgba(0, 0, 0, 0.1)",N="0rem 0.75rem 1.5rem 0rem rgba(0, 0, 0, 0.1)",G="0rem",O="0.0625rem",M="0.125rem",W="0.25rem",A="0.5rem",E="0.75rem",D="1rem",R="1.25rem",f="1.5rem",H="2rem",L="3rem",b="4rem",F="5rem",X="6rem",w="8rem",q="1rem",Q="1.5rem",$="1.5rem",j="1.5rem",z="1rem",J="1.5rem",K="3rem",U="3rem",V="TeliaSans, Helvetica, Arial, 'Lucida Grande', sans-serif",Y="TeliaSansHeading, Helvetica, Arial, 'Lucida Grande', sans-serif",Z="400",_="500",rr="700",ur="100%",pr="110%",or="125%",er="150%",ar="175%",tr="0.75rem",nr="0.875rem",ir="1rem",lr="1.125rem",cr="1.25rem",Cr="1.375rem",gr="1.5rem",dr="1.75rem",sr="2rem",vr="2.25rem",Br="2.5rem",Tr="3rem",Sr="3.5rem",yr="4rem",mr="5rem",kr="6rem";exports.purpurBreakpointLg=p.purpurBreakpointLg;exports.purpurBreakpointMd=p.purpurBreakpointMd;exports.purpurBreakpointRelativeLg=p.purpurBreakpointRelativeLg;exports.purpurBreakpointRelativeMd=p.purpurBreakpointRelativeMd;exports.purpurBreakpointRelativeSm=p.purpurBreakpointRelativeSm;exports.purpurBreakpointRelativeXl=p.purpurBreakpointRelativeXl;exports.purpurBreakpointSm=p.purpurBreakpointSm;exports.purpurBreakpointXl=p.purpurBreakpointXl;exports.purpurColorBackgroundInteractiveAutoFill=r.purpurColorBackgroundInteractiveAutoFill;exports.purpurColorBackgroundInteractiveDestructive=r.purpurColorBackgroundInteractiveDestructive;exports.purpurColorBackgroundInteractiveDestructiveActive=r.purpurColorBackgroundInteractiveDestructiveActive;exports.purpurColorBackgroundInteractiveDestructiveHover=r.purpurColorBackgroundInteractiveDestructiveHover;exports.purpurColorBackgroundInteractiveDisabled=r.purpurColorBackgroundInteractiveDisabled;exports.purpurColorBackgroundInteractiveDisabledNegative=r.purpurColorBackgroundInteractiveDisabledNegative;exports.purpurColorBackgroundInteractiveExpressive=r.purpurColorBackgroundInteractiveExpressive;exports.purpurColorBackgroundInteractiveExpressiveActive=r.purpurColorBackgroundInteractiveExpressiveActive;exports.purpurColorBackgroundInteractiveExpressiveActiveNegative=r.purpurColorBackgroundInteractiveExpressiveActiveNegative;exports.purpurColorBackgroundInteractiveExpressiveHover=r.purpurColorBackgroundInteractiveExpressiveHover;exports.purpurColorBackgroundInteractiveExpressiveHoverNegative=r.purpurColorBackgroundInteractiveExpressiveHoverNegative;exports.purpurColorBackgroundInteractiveExpressiveNegative=r.purpurColorBackgroundInteractiveExpressiveNegative;exports.purpurColorBackgroundInteractiveInactive=r.purpurColorBackgroundInteractiveInactive;exports.purpurColorBackgroundInteractiveInactiveNegative=r.purpurColorBackgroundInteractiveInactiveNegative;exports.purpurColorBackgroundInteractivePrimary=r.purpurColorBackgroundInteractivePrimary;exports.purpurColorBackgroundInteractivePrimaryActive=r.purpurColorBackgroundInteractivePrimaryActive;exports.purpurColorBackgroundInteractivePrimaryActiveNegative=r.purpurColorBackgroundInteractivePrimaryActiveNegative;exports.purpurColorBackgroundInteractivePrimaryHover=r.purpurColorBackgroundInteractivePrimaryHover;exports.purpurColorBackgroundInteractivePrimaryHoverNegative=r.purpurColorBackgroundInteractivePrimaryHoverNegative;exports.purpurColorBackgroundInteractivePrimaryNegative=r.purpurColorBackgroundInteractivePrimaryNegative;exports.purpurColorBackgroundInteractiveReadOnly=r.purpurColorBackgroundInteractiveReadOnly;exports.purpurColorBackgroundInteractiveReadOnlyNegative=r.purpurColorBackgroundInteractiveReadOnlyNegative;exports.purpurColorBackgroundInteractiveTransparentActive=r.purpurColorBackgroundInteractiveTransparentActive;exports.purpurColorBackgroundInteractiveTransparentActiveNegative=r.purpurColorBackgroundInteractiveTransparentActiveNegative;exports.purpurColorBackgroundInteractiveTransparentHover=r.purpurColorBackgroundInteractiveTransparentHover;exports.purpurColorBackgroundInteractiveTransparentHoverNegative=r.purpurColorBackgroundInteractiveTransparentHoverNegative;exports.purpurColorBackgroundOnImage=r.purpurColorBackgroundOnImage;exports.purpurColorBackgroundOnImageNegative=r.purpurColorBackgroundOnImageNegative;exports.purpurColorBackgroundPrimary=r.purpurColorBackgroundPrimary;exports.purpurColorBackgroundPrimaryNegative=r.purpurColorBackgroundPrimaryNegative;exports.purpurColorBackgroundSecondary=r.purpurColorBackgroundSecondary;exports.purpurColorBackgroundSecondaryNegative=r.purpurColorBackgroundSecondaryNegative;exports.purpurColorBackgroundStatusAttention=r.purpurColorBackgroundStatusAttention;exports.purpurColorBackgroundStatusBlackFriday=r.purpurColorBackgroundStatusBlackFriday;exports.purpurColorBackgroundStatusErrorMedium=r.purpurColorBackgroundStatusErrorMedium;exports.purpurColorBackgroundStatusErrorStrong=r.purpurColorBackgroundStatusErrorStrong;exports.purpurColorBackgroundStatusErrorStrongNegative=r.purpurColorBackgroundStatusErrorStrongNegative;exports.purpurColorBackgroundStatusInfoMedium=r.purpurColorBackgroundStatusInfoMedium;exports.purpurColorBackgroundStatusInfoStrong=r.purpurColorBackgroundStatusInfoStrong;exports.purpurColorBackgroundStatusNeutral=r.purpurColorBackgroundStatusNeutral;exports.purpurColorBackgroundStatusSpecial=r.purpurColorBackgroundStatusSpecial;exports.purpurColorBackgroundStatusSuccessMedium=r.purpurColorBackgroundStatusSuccessMedium;exports.purpurColorBackgroundStatusSuccessStrong=r.purpurColorBackgroundStatusSuccessStrong;exports.purpurColorBackgroundStatusSuccessStrongNegative=r.purpurColorBackgroundStatusSuccessStrongNegative;exports.purpurColorBackgroundStatusWarningMedium=r.purpurColorBackgroundStatusWarningMedium;exports.purpurColorBackgroundStatusWarningStrong=r.purpurColorBackgroundStatusWarningStrong;exports.purpurColorBackgroundStatusWarningStrongNegative=r.purpurColorBackgroundStatusWarningStrongNegative;exports.purpurColorBackgroundToneOnTonePrimary=r.purpurColorBackgroundToneOnTonePrimary;exports.purpurColorBackgroundToneOnToneQuaternary=r.purpurColorBackgroundToneOnToneQuaternary;exports.purpurColorBackgroundToneOnToneSecondary=r.purpurColorBackgroundToneOnToneSecondary;exports.purpurColorBackgroundToneOnToneTertiary=r.purpurColorBackgroundToneOnToneTertiary;exports.purpurColorBeige100=r.purpurColorBeige100;exports.purpurColorBeige200=r.purpurColorBeige200;exports.purpurColorBeige300=r.purpurColorBeige300;exports.purpurColorBeige400=r.purpurColorBeige400;exports.purpurColorBeige50=r.purpurColorBeige50;exports.purpurColorBeige500=r.purpurColorBeige500;exports.purpurColorBeige600=r.purpurColorBeige600;exports.purpurColorBeige700=r.purpurColorBeige700;exports.purpurColorBeige800=r.purpurColorBeige800;exports.purpurColorBeige900=r.purpurColorBeige900;exports.purpurColorBeige950=r.purpurColorBeige950;exports.purpurColorBlue100=r.purpurColorBlue100;exports.purpurColorBlue200=r.purpurColorBlue200;exports.purpurColorBlue300=r.purpurColorBlue300;exports.purpurColorBlue400=r.purpurColorBlue400;exports.purpurColorBlue50=r.purpurColorBlue50;exports.purpurColorBlue500=r.purpurColorBlue500;exports.purpurColorBlue600=r.purpurColorBlue600;exports.purpurColorBlue700=r.purpurColorBlue700;exports.purpurColorBlue800=r.purpurColorBlue800;exports.purpurColorBlue900=r.purpurColorBlue900;exports.purpurColorBlue950=r.purpurColorBlue950;exports.purpurColorBorderInteractiveExpressive=r.purpurColorBorderInteractiveExpressive;exports.purpurColorBorderInteractiveFocus=r.purpurColorBorderInteractiveFocus;exports.purpurColorBorderInteractivePrimary=r.purpurColorBorderInteractivePrimary;exports.purpurColorBorderInteractivePrimaryActive=r.purpurColorBorderInteractivePrimaryActive;exports.purpurColorBorderInteractivePrimaryActiveNegative=r.purpurColorBorderInteractivePrimaryActiveNegative;exports.purpurColorBorderInteractivePrimaryHover=r.purpurColorBorderInteractivePrimaryHover;exports.purpurColorBorderInteractivePrimaryHoverNegative=r.purpurColorBorderInteractivePrimaryHoverNegative;exports.purpurColorBorderInteractivePrimaryNegative=r.purpurColorBorderInteractivePrimaryNegative;exports.purpurColorBorderInteractiveSelected=r.purpurColorBorderInteractiveSelected;exports.purpurColorBorderInteractiveSubtle=r.purpurColorBorderInteractiveSubtle;exports.purpurColorBorderInteractiveSubtleHover=r.purpurColorBorderInteractiveSubtleHover;exports.purpurColorBorderInteractiveSubtleHoverNegative=r.purpurColorBorderInteractiveSubtleHoverNegative;exports.purpurColorBorderInteractiveSubtleNegative=r.purpurColorBorderInteractiveSubtleNegative;exports.purpurColorBorderMedium=r.purpurColorBorderMedium;exports.purpurColorBorderMediumNegative=r.purpurColorBorderMediumNegative;exports.purpurColorBorderStatusError=r.purpurColorBorderStatusError;exports.purpurColorBorderStatusErrorNegative=r.purpurColorBorderStatusErrorNegative;exports.purpurColorBorderStatusInfo=r.purpurColorBorderStatusInfo;exports.purpurColorBorderStatusSuccess=r.purpurColorBorderStatusSuccess;exports.purpurColorBorderStatusSuccessNegative=r.purpurColorBorderStatusSuccessNegative;exports.purpurColorBorderStatusWarning=r.purpurColorBorderStatusWarning;exports.purpurColorBorderStrong=r.purpurColorBorderStrong;exports.purpurColorBorderStrongNegative=r.purpurColorBorderStrongNegative;exports.purpurColorBorderWeak=r.purpurColorBorderWeak;exports.purpurColorBorderWeakNegative=r.purpurColorBorderWeakNegative;exports.purpurColorBrandBeige=r.purpurColorBrandBeige;exports.purpurColorBrandCorePurple=r.purpurColorBrandCorePurple;exports.purpurColorBrandDeepBeige=r.purpurColorBrandDeepBeige;exports.purpurColorBrandDeepPurple=r.purpurColorBrandDeepPurple;exports.purpurColorBrandLightBeige=r.purpurColorBrandLightBeige;exports.purpurColorBrandLightPurple=r.purpurColorBrandLightPurple;exports.purpurColorBrandOffBlack=r.purpurColorBrandOffBlack;exports.purpurColorBrandWhite=r.purpurColorBrandWhite;exports.purpurColorFunctionalBlack=r.purpurColorFunctionalBlack;exports.purpurColorFunctionalTransparent=r.purpurColorFunctionalTransparent;exports.purpurColorFunctionalWhite=r.purpurColorFunctionalWhite;exports.purpurColorGradientAiBottom=r.purpurColorGradientAiBottom;exports.purpurColorGradientAiBottomNegative=r.purpurColorGradientAiBottomNegative;exports.purpurColorGradientAiTop=r.purpurColorGradientAiTop;exports.purpurColorGradientAiTopNegative=r.purpurColorGradientAiTopNegative;exports.purpurColorGray100=r.purpurColorGray100;exports.purpurColorGray150=r.purpurColorGray150;exports.purpurColorGray200=r.purpurColorGray200;exports.purpurColorGray300=r.purpurColorGray300;exports.purpurColorGray400=r.purpurColorGray400;exports.purpurColorGray50=r.purpurColorGray50;exports.purpurColorGray500=r.purpurColorGray500;exports.purpurColorGray600=r.purpurColorGray600;exports.purpurColorGray700=r.purpurColorGray700;exports.purpurColorGray800=r.purpurColorGray800;exports.purpurColorGray850=r.purpurColorGray850;exports.purpurColorGray900=r.purpurColorGray900;exports.purpurColorGray950=r.purpurColorGray950;exports.purpurColorGreen100=r.purpurColorGreen100;exports.purpurColorGreen200=r.purpurColorGreen200;exports.purpurColorGreen300=r.purpurColorGreen300;exports.purpurColorGreen400=r.purpurColorGreen400;exports.purpurColorGreen50=r.purpurColorGreen50;exports.purpurColorGreen500=r.purpurColorGreen500;exports.purpurColorGreen600=r.purpurColorGreen600;exports.purpurColorGreen700=r.purpurColorGreen700;exports.purpurColorGreen800=r.purpurColorGreen800;exports.purpurColorGreen900=r.purpurColorGreen900;exports.purpurColorGreen950=r.purpurColorGreen950;exports.purpurColorOrange100=r.purpurColorOrange100;exports.purpurColorOrange200=r.purpurColorOrange200;exports.purpurColorOrange300=r.purpurColorOrange300;exports.purpurColorOrange400=r.purpurColorOrange400;exports.purpurColorOrange50=r.purpurColorOrange50;exports.purpurColorOrange500=r.purpurColorOrange500;exports.purpurColorOrange600=r.purpurColorOrange600;exports.purpurColorOrange700=r.purpurColorOrange700;exports.purpurColorOrange800=r.purpurColorOrange800;exports.purpurColorOrange900=r.purpurColorOrange900;exports.purpurColorOrange950=r.purpurColorOrange950;exports.purpurColorOverlayDefault=r.purpurColorOverlayDefault;exports.purpurColorPurple100=r.purpurColorPurple100;exports.purpurColorPurple200=r.purpurColorPurple200;exports.purpurColorPurple300=r.purpurColorPurple300;exports.purpurColorPurple400=r.purpurColorPurple400;exports.purpurColorPurple50=r.purpurColorPurple50;exports.purpurColorPurple500=r.purpurColorPurple500;exports.purpurColorPurple550=r.purpurColorPurple550;exports.purpurColorPurple600=r.purpurColorPurple600;exports.purpurColorPurple700=r.purpurColorPurple700;exports.purpurColorPurple800=r.purpurColorPurple800;exports.purpurColorPurple900=r.purpurColorPurple900;exports.purpurColorPurple950=r.purpurColorPurple950;exports.purpurColorRed100=r.purpurColorRed100;exports.purpurColorRed200=r.purpurColorRed200;exports.purpurColorRed300=r.purpurColorRed300;exports.purpurColorRed400=r.purpurColorRed400;exports.purpurColorRed50=r.purpurColorRed50;exports.purpurColorRed500=r.purpurColorRed500;exports.purpurColorRed600=r.purpurColorRed600;exports.purpurColorRed700=r.purpurColorRed700;exports.purpurColorRed800=r.purpurColorRed800;exports.purpurColorRed900=r.purpurColorRed900;exports.purpurColorRed950=r.purpurColorRed950;exports.purpurColorTeal100=r.purpurColorTeal100;exports.purpurColorTeal200=r.purpurColorTeal200;exports.purpurColorTeal300=r.purpurColorTeal300;exports.purpurColorTeal400=r.purpurColorTeal400;exports.purpurColorTeal50=r.purpurColorTeal50;exports.purpurColorTeal500=r.purpurColorTeal500;exports.purpurColorTeal600=r.purpurColorTeal600;exports.purpurColorTeal700=r.purpurColorTeal700;exports.purpurColorTeal800=r.purpurColorTeal800;exports.purpurColorTeal900=r.purpurColorTeal900;exports.purpurColorTeal950=r.purpurColorTeal950;exports.purpurColorTextDefault=r.purpurColorTextDefault;exports.purpurColorTextDefaultNegative=r.purpurColorTextDefaultNegative;exports.purpurColorTextInteractiveOnDestructive=r.purpurColorTextInteractiveOnDestructive;exports.purpurColorTextInteractiveOnExpressive=r.purpurColorTextInteractiveOnExpressive;exports.purpurColorTextInteractiveOnExpressiveActive=r.purpurColorTextInteractiveOnExpressiveActive;exports.purpurColorTextInteractiveOnExpressiveActiveNegative=r.purpurColorTextInteractiveOnExpressiveActiveNegative;exports.purpurColorTextInteractiveOnExpressiveHover=r.purpurColorTextInteractiveOnExpressiveHover;exports.purpurColorTextInteractiveOnExpressiveHoverNegative=r.purpurColorTextInteractiveOnExpressiveHoverNegative;exports.purpurColorTextInteractiveOnExpressiveNegative=r.purpurColorTextInteractiveOnExpressiveNegative;exports.purpurColorTextInteractiveOnPrimary=r.purpurColorTextInteractiveOnPrimary;exports.purpurColorTextInteractiveOnPrimaryNegative=r.purpurColorTextInteractiveOnPrimaryNegative;exports.purpurColorTextInteractivePrimary=r.purpurColorTextInteractivePrimary;exports.purpurColorTextInteractivePrimaryActive=r.purpurColorTextInteractivePrimaryActive;exports.purpurColorTextInteractivePrimaryActiveNegative=r.purpurColorTextInteractivePrimaryActiveNegative;exports.purpurColorTextInteractivePrimaryHover=r.purpurColorTextInteractivePrimaryHover;exports.purpurColorTextInteractivePrimaryHoverNegative=r.purpurColorTextInteractivePrimaryHoverNegative;exports.purpurColorTextInteractivePrimaryNegative=r.purpurColorTextInteractivePrimaryNegative;exports.purpurColorTextInteractiveSelected=r.purpurColorTextInteractiveSelected;exports.purpurColorTextInteractiveSelectedNegative=r.purpurColorTextInteractiveSelectedNegative;exports.purpurColorTextMedium=r.purpurColorTextMedium;exports.purpurColorTextMediumNegative=r.purpurColorTextMediumNegative;exports.purpurColorTextStatusAttention=r.purpurColorTextStatusAttention;exports.purpurColorTextStatusBlackFriday=r.purpurColorTextStatusBlackFriday;exports.purpurColorTextStatusDiscount=r.purpurColorTextStatusDiscount;exports.purpurColorTextStatusErrorMedium=r.purpurColorTextStatusErrorMedium;exports.purpurColorTextStatusErrorMediumNegative=r.purpurColorTextStatusErrorMediumNegative;exports.purpurColorTextStatusErrorStrong=r.purpurColorTextStatusErrorStrong;exports.purpurColorTextStatusErrorStrongNegative=r.purpurColorTextStatusErrorStrongNegative;exports.purpurColorTextStatusInfoMedium=r.purpurColorTextStatusInfoMedium;exports.purpurColorTextStatusInfoStrong=r.purpurColorTextStatusInfoStrong;exports.purpurColorTextStatusNeutral=r.purpurColorTextStatusNeutral;exports.purpurColorTextStatusSpecial=r.purpurColorTextStatusSpecial;exports.purpurColorTextStatusSuccessMedium=r.purpurColorTextStatusSuccessMedium;exports.purpurColorTextStatusSuccessMediumNegative=r.purpurColorTextStatusSuccessMediumNegative;exports.purpurColorTextStatusSuccessStrong=r.purpurColorTextStatusSuccessStrong;exports.purpurColorTextStatusSuccessStrongNegative=r.purpurColorTextStatusSuccessStrongNegative;exports.purpurColorTextStatusWarningMedium=r.purpurColorTextStatusWarningMedium;exports.purpurColorTextStatusWarningMediumNegative=r.purpurColorTextStatusWarningMediumNegative;exports.purpurColorTextStatusWarningStrong=r.purpurColorTextStatusWarningStrong;exports.purpurColorTextToneOnTonePrimary=r.purpurColorTextToneOnTonePrimary;exports.purpurColorTextToneOnToneSecondary=r.purpurColorTextToneOnToneSecondary;exports.purpurColorTextToneOnToneTertiary=r.purpurColorTextToneOnToneTertiary;exports.purpurColorTextWeak=r.purpurColorTextWeak;exports.purpurColorTextWeakNegative=r.purpurColorTextWeakNegative;exports.purpurColorTransparentBlack100=r.purpurColorTransparentBlack100;exports.purpurColorTransparentBlack150=r.purpurColorTransparentBlack150;exports.purpurColorTransparentBlack200=r.purpurColorTransparentBlack200;exports.purpurColorTransparentBlack300=r.purpurColorTransparentBlack300;exports.purpurColorTransparentBlack400=r.purpurColorTransparentBlack400;exports.purpurColorTransparentBlack50=r.purpurColorTransparentBlack50;exports.purpurColorTransparentBlack500=r.purpurColorTransparentBlack500;exports.purpurColorTransparentBlack600=r.purpurColorTransparentBlack600;exports.purpurColorTransparentBlack700=r.purpurColorTransparentBlack700;exports.purpurColorTransparentBlack800=r.purpurColorTransparentBlack800;exports.purpurColorTransparentBlack850=r.purpurColorTransparentBlack850;exports.purpurColorTransparentBlack900=r.purpurColorTransparentBlack900;exports.purpurColorTransparentBlack950=r.purpurColorTransparentBlack950;exports.purpurColorTransparentWhite100=r.purpurColorTransparentWhite100;exports.purpurColorTransparentWhite150=r.purpurColorTransparentWhite150;exports.purpurColorTransparentWhite200=r.purpurColorTransparentWhite200;exports.purpurColorTransparentWhite300=r.purpurColorTransparentWhite300;exports.purpurColorTransparentWhite400=r.purpurColorTransparentWhite400;exports.purpurColorTransparentWhite50=r.purpurColorTransparentWhite50;exports.purpurColorTransparentWhite500=r.purpurColorTransparentWhite500;exports.purpurColorTransparentWhite600=r.purpurColorTransparentWhite600;exports.purpurColorTransparentWhite700=r.purpurColorTransparentWhite700;exports.purpurColorTransparentWhite800=r.purpurColorTransparentWhite800;exports.purpurColorTransparentWhite850=r.purpurColorTransparentWhite850;exports.purpurColorTransparentWhite900=r.purpurColorTransparentWhite900;exports.purpurColorTransparentWhite950=r.purpurColorTransparentWhite950;exports.purpurMotionDuration100=u.purpurMotionDuration100;exports.purpurMotionDuration150=u.purpurMotionDuration150;exports.purpurMotionDuration1500=u.purpurMotionDuration1500;exports.purpurMotionDuration200=u.purpurMotionDuration200;exports.purpurMotionDuration2000=u.purpurMotionDuration2000;exports.purpurMotionDuration300=u.purpurMotionDuration300;exports.purpurMotionDuration400=u.purpurMotionDuration400;exports.purpurMotionDuration500=u.purpurMotionDuration500;exports.purpurMotionEasingEaseIn=u.purpurMotionEasingEaseIn;exports.purpurMotionEasingEaseInOut=u.purpurMotionEasingEaseInOut;exports.purpurMotionEasingEaseOut=u.purpurMotionEasingEaseOut;exports.purpurBorderRadiusFull=i;exports.purpurBorderRadiusLg=t;exports.purpurBorderRadiusMd=a;exports.purpurBorderRadiusSm=e;exports.purpurBorderRadiusXl=n;exports.purpurBorderRadiusXs=o;exports.purpurBorderWidthLg=g;exports.purpurBorderWidthMd=C;exports.purpurBorderWidthSm=c;exports.purpurBorderWidthXs=l;exports.purpurFilterBlurOnImage=d;exports.purpurGradientAiBackgroundInteractiveExpressive=B;exports.purpurGradientAiBackgroundInteractiveExpressiveNegative=T;exports.purpurGradientAiBackgroundInteractivePrimary=S;exports.purpurGradientAiBackgroundInteractivePrimaryNegative=y;exports.purpurGradientAiBackgroundPrimaryNegative=m;exports.purpurGradientAiBorderInteractivePrimary=k;exports.purpurGradientAiBorderInteractivePrimaryNegative=I;exports.purpurGradientAiTextInteractivePrimary=s;exports.purpurGradientAiTextInteractivePrimaryNegative=v;exports.purpurShadowLg=N;exports.purpurShadowMd=P;exports.purpurShadowNone=x;exports.purpurShadowSm=h;exports.purpurSpacing0=G;exports.purpurSpacing10=O;exports.purpurSpacing100=A;exports.purpurSpacing1000=F;exports.purpurSpacing1200=X;exports.purpurSpacing150=E;exports.purpurSpacing1600=w;exports.purpurSpacing200=D;exports.purpurSpacing25=M;exports.purpurSpacing250=R;exports.purpurSpacing300=f;exports.purpurSpacing400=H;exports.purpurSpacing50=W;exports.purpurSpacing600=L;exports.purpurSpacing800=b;exports.purpurSpacingGutterLg=$;exports.purpurSpacingGutterMd=Q;exports.purpurSpacingGutterSm=q;exports.purpurSpacingGutterXl=j;exports.purpurSpacingPagePaddingLg=K;exports.purpurSpacingPagePaddingMd=J;exports.purpurSpacingPagePaddingSm=z;exports.purpurSpacingPagePaddingXl=U;exports.purpurTypographyFamilyDefault=V;exports.purpurTypographyFamilyDisplay=Y;exports.purpurTypographyLineHeightDefault=or;exports.purpurTypographyLineHeightLoose=er;exports.purpurTypographyLineHeightLooser=ar;exports.purpurTypographyLineHeightSnug=pr;exports.purpurTypographyLineHeightTight=ur;exports.purpurTypographyScale100=ir;exports.purpurTypographyScale1000=mr;exports.purpurTypographyScale1100=kr;exports.purpurTypographyScale150=lr;exports.purpurTypographyScale200=cr;exports.purpurTypographyScale300=Cr;exports.purpurTypographyScale400=gr;exports.purpurTypographyScale50=tr;exports.purpurTypographyScale500=dr;exports.purpurTypographyScale600=sr;exports.purpurTypographyScale650=vr;exports.purpurTypographyScale700=Br;exports.purpurTypographyScale75=nr;exports.purpurTypographyScale800=Tr;exports.purpurTypographyScale850=Sr;exports.purpurTypographyScale900=yr;exports.purpurTypographyWeightBold=rr;exports.purpurTypographyWeightMedium=_;exports.purpurTypographyWeightNormal=Z;
2
2
  //# sourceMappingURL=tokens.cjs.js.map
package/dist/tokens.es.js CHANGED
@@ -1,7 +1,7 @@
1
- import { p as kr, a as br, b as xr, c as Ir, d as hr, e as Pr, f as Nr, g as Gr } from "./variables-DkCN2x27.mjs";
2
- import { p as Or, a as Mr, b as Wr, c as Ar, d as Er, e as Dr, f as Hr, g as Rr, h as Lr, i as Fr, j as Xr, k as wr, l as jr, m as Qr, n as qr, o as zr, q as Jr, r as Kr, s as Ur, t as Vr, u as Yr, v as Zr, w as _r, x as $r, y as ra, z as aa, A as ua, B as pa, C as oa, D as ea, E as ta, F as sa, G as na, H as ia, I as la, J as ca, K as ga, L as Ca, M as da, N as va, O as Ba, P as Ta, Q as Sa, R as ma, S as ya, T as ka, U as ba, V as xa, W as Ia, X as ha, Y as Pa, Z as Na, _ as Ga, $ as fa, a0 as Oa, a1 as Ma, a2 as Wa, a3 as Aa, a4 as Ea, a5 as Da, a6 as Ha, a7 as Ra, a8 as La, a9 as Fa, aa as Xa, ab as wa, ac as ja, ad as Qa, ae as qa, af as za, ag as Ja, ah as Ka, ai as Ua, aj as Va, ak as Ya, al as Za, am as _a, an as $a, ao as ru, ap as au, aq as uu, ar as pu, as as ou, at as eu, au as tu, av as su, aw as nu, ax as iu, ay as lu, az as cu, aA as gu, aB as Cu, aC as du, aD as vu, aE as Bu, aF as Tu, aG as Su, aH as mu, aI as yu, aJ as ku, aK as bu, aL as xu, aM as Iu, aN as hu, aO as Pu, aP as Nu, aQ as Gu, aR as fu, aS as Ou, aT as Mu, aU as Wu, aV as Au, aW as Eu, aX as Du, aY as Hu, aZ as Ru, a_ as Lu, a$ as Fu, b0 as Xu, b1 as wu, b2 as ju, b3 as Qu, b4 as qu, b5 as zu, b6 as Ju, b7 as Ku, b8 as Uu, b9 as Vu, ba as Yu, bb as Zu, bc as _u, bd as $u, be as rp, bf as ap, bg as up, bh as pp, bi as op, bj as ep, bk as tp, bl as sp, bm as np, bn as ip, bo as lp, bp as cp, bq as gp, br as Cp, bs as dp, bt as vp, bu as Bp, bv as Tp, bw as Sp, bx as mp, by as yp, bz as kp, bA as bp, bB as xp, bC as Ip, bD as hp, bE as Pp, bF as Np, bG as Gp, bH as fp, bI as Op, bJ as Mp, bK as Wp, bL as Ap, bM as Ep, bN as Dp, bO as Hp, bP as Rp, bQ as Lp, bR as Fp, bS as Xp, bT as wp, bU as jp, bV as Qp, bW as qp, bX as zp, bY as Jp, bZ as Kp, b_ as Up, b$ as Vp, c0 as Yp, c1 as Zp, c2 as _p, c3 as $p, c4 as ro, c5 as ao, c6 as uo, c7 as po, c8 as oo, c9 as eo, ca as to, cb as so, cc as no, cd as io, ce as lo, cf as co, cg as go, ch as Co, ci as vo, cj as Bo, ck as To, cl as So, cm as mo, cn as yo, co as ko, cp as bo, cq as xo, cr as Io, cs as ho, ct as Po, cu as No, cv as Go, cw as fo, cx as Oo, cy as Mo, cz as Wo, cA as Ao, cB as Eo, cC as Do, cD as Ho, cE as Ro, cF as Lo, cG as Fo, cH as Xo, cI as wo, cJ as jo, cK as Qo, cL as qo, cM as zo, cN as Jo, cO as Ko, cP as Uo, cQ as Vo, cR as Yo, cS as Zo, cT as _o, cU as $o, cV as re, cW as ae, cX as ue, cY as pe, cZ as oe, c_ as ee, c$ as te, d0 as se, d1 as ne, d2 as ie, d3 as le, d4 as ce, d5 as ge } from "./variables-CKp4o9Tn.mjs";
3
- import { p as de, a as ve, b as Be, c as Te, d as Se, e as me, f as ye, g as ke, h as be, i as xe, j as Ie } from "./variables-Dr3Hsdn-.mjs";
4
- const r = "2px", a = "4px", u = "8px", p = "16px", o = "24px", e = "999px", t = "1px", s = "2px", n = "3px", i = "6px", l = "blur(24px)", c = "linear-gradient(289deg, #3694d3 -13%, #6d02a3 58%)", g = "linear-gradient(289deg, #62b2e7 -13%, #f4e0ff 58%)", C = "linear-gradient(291deg, #3694d3 -15%, #990ae3 44%)", d = "linear-gradient(291deg, #62b2e7 -15%, #990ae3 44%)", v = "linear-gradient(291deg, #3694d3 -15%, #4e0174 44%, #b12df4 133%)", B = "linear-gradient(280deg, #62b2e7 -15%, #f4e0ff 23%, #f4e0ff 68%, #d58df9 112%)", T = "linear-gradient(352deg, #62b2e7 -69%, #1f002e 15%, #1f002e 87%, #d58df9 183%)", S = "linear-gradient(289deg, #3694d3 -13%, #6d02a3 58%)", m = "linear-gradient(289deg, #62b2e7 -13%, #f4e0ff 58%)", y = "0rem 0rem 0rem 0rem rgba(0, 0, 0, 0.1)", k = "0rem 0.0625rem 0.25rem 0rem rgba(0, 0, 0, 0.1)", b = "0rem 0.25rem 0.75rem 0rem rgba(0, 0, 0, 0.1)", x = "0rem 0.75rem 1.5rem 0rem rgba(0, 0, 0, 0.1)", I = "0rem", h = "0.0625rem", P = "0.125rem", N = "0.25rem", G = "0.5rem", f = "0.75rem", O = "1rem", M = "1.25rem", W = "1.5rem", A = "2rem", E = "3rem", D = "4rem", H = "5rem", R = "6rem", L = "8rem", F = "1rem", X = "1.5rem", w = "1.5rem", j = "1.5rem", Q = "1rem", q = "1.5rem", z = "3rem", J = "3rem", K = "TeliaSans, Helvetica, Arial, 'Lucida Grande', sans-serif", U = "TeliaSansHeading, Helvetica, Arial, 'Lucida Grande', sans-serif", V = "400", Y = "500", Z = "700", _ = "100%", $ = "110%", rr = "125%", ar = "150%", ur = "175%", pr = "0.75rem", or = "0.875rem", er = "1rem", tr = "1.125rem", sr = "1.25rem", nr = "1.375rem", ir = "1.5rem", lr = "1.75rem", cr = "2rem", gr = "2.25rem", Cr = "2.5rem", dr = "3rem", vr = "3.5rem", Br = "4rem", Tr = "5rem", Sr = "6rem";
1
+ import { p as kr, a as br, b as xr, c as Ir, d as hr, e as Nr, f as Pr, g as Gr } from "./variables-DkCN2x27.mjs";
2
+ import { p as Or, a as Mr, b as Wr, c as Ar, d as Er, e as Dr, f as Hr, g as Rr, h as Lr, i as Fr, j as Xr, k as wr, l as jr, m as Qr, n as qr, o as zr, q as Jr, r as Kr, s as Ur, t as Vr, u as Yr, v as Zr, w as _r, x as $r, y as ra, z as aa, A as ua, B as pa, C as oa, D as ea, E as ta, F as sa, G as na, H as ia, I as la, J as ca, K as ga, L as Ca, M as da, N as va, O as Ba, P as Ta, Q as Sa, R as ma, S as ya, T as ka, U as ba, V as xa, W as Ia, X as ha, Y as Na, Z as Pa, _ as Ga, $ as fa, a0 as Oa, a1 as Ma, a2 as Wa, a3 as Aa, a4 as Ea, a5 as Da, a6 as Ha, a7 as Ra, a8 as La, a9 as Fa, aa as Xa, ab as wa, ac as ja, ad as Qa, ae as qa, af as za, ag as Ja, ah as Ka, ai as Ua, aj as Va, ak as Ya, al as Za, am as _a, an as $a, ao as ru, ap as au, aq as uu, ar as pu, as as ou, at as eu, au as tu, av as su, aw as nu, ax as iu, ay as lu, az as cu, aA as gu, aB as Cu, aC as du, aD as vu, aE as Bu, aF as Tu, aG as Su, aH as mu, aI as yu, aJ as ku, aK as bu, aL as xu, aM as Iu, aN as hu, aO as Nu, aP as Pu, aQ as Gu, aR as fu, aS as Ou, aT as Mu, aU as Wu, aV as Au, aW as Eu, aX as Du, aY as Hu, aZ as Ru, a_ as Lu, a$ as Fu, b0 as Xu, b1 as wu, b2 as ju, b3 as Qu, b4 as qu, b5 as zu, b6 as Ju, b7 as Ku, b8 as Uu, b9 as Vu, ba as Yu, bb as Zu, bc as _u, bd as $u, be as rp, bf as ap, bg as up, bh as pp, bi as op, bj as ep, bk as tp, bl as sp, bm as np, bn as ip, bo as lp, bp as cp, bq as gp, br as Cp, bs as dp, bt as vp, bu as Bp, bv as Tp, bw as Sp, bx as mp, by as yp, bz as kp, bA as bp, bB as xp, bC as Ip, bD as hp, bE as Np, bF as Pp, bG as Gp, bH as fp, bI as Op, bJ as Mp, bK as Wp, bL as Ap, bM as Ep, bN as Dp, bO as Hp, bP as Rp, bQ as Lp, bR as Fp, bS as Xp, bT as wp, bU as jp, bV as Qp, bW as qp, bX as zp, bY as Jp, bZ as Kp, b_ as Up, b$ as Vp, c0 as Yp, c1 as Zp, c2 as _p, c3 as $p, c4 as ro, c5 as ao, c6 as uo, c7 as po, c8 as oo, c9 as eo, ca as to, cb as so, cc as no, cd as io, ce as lo, cf as co, cg as go, ch as Co, ci as vo, cj as Bo, ck as To, cl as So, cm as mo, cn as yo, co as ko, cp as bo, cq as xo, cr as Io, cs as ho, ct as No, cu as Po, cv as Go, cw as fo, cx as Oo, cy as Mo, cz as Wo, cA as Ao, cB as Eo, cC as Do, cD as Ho, cE as Ro, cF as Lo, cG as Fo, cH as Xo, cI as wo, cJ as jo, cK as Qo, cL as qo, cM as zo, cN as Jo, cO as Ko, cP as Uo, cQ as Vo, cR as Yo, cS as Zo, cT as _o, cU as $o, cV as re, cW as ae, cX as ue, cY as pe, cZ as oe, c_ as ee, c$ as te, d0 as se, d1 as ne, d2 as ie, d3 as le, d4 as ce, d5 as ge, d6 as Ce } from "./variables-B5hbV0Uy.mjs";
3
+ import { p as ve, a as Be, b as Te, c as Se, d as me, e as ye, f as ke, g as be, h as xe, i as Ie, j as he } from "./variables-Dr3Hsdn-.mjs";
4
+ const r = "2px", a = "4px", u = "8px", p = "16px", o = "24px", e = "999px", t = "1px", s = "2px", n = "3px", i = "6px", l = "blur(24px)", c = "linear-gradient(289deg, #3694d3 -13%, #6d02a3 58%)", g = "linear-gradient(289deg, #62b2e7 -13%, #f4e0ff 58%)", C = "linear-gradient(291deg, #3694d3 -15%, #990ae3 44%)", d = "linear-gradient(291deg, #62b2e7 -15%, #990ae3 44%)", v = "linear-gradient(291deg, #3694d3 -15%, #4e0174 44%, #b12df4 133%)", B = "linear-gradient(280deg, #62b2e7 -15%, #f4e0ff 23%, #f4e0ff 68%, #d58df9 112%)", T = "linear-gradient(352deg, #62b2e7 -69%, #1f002e 15%, #1f002e 87%, #d58df9 183%)", S = "linear-gradient(289deg, #3694d3 -13%, #6d02a3 58%)", m = "linear-gradient(289deg, #62b2e7 -13%, #f4e0ff 58%)", y = "0rem 0rem 0rem 0rem rgba(0, 0, 0, 0.1)", k = "0rem 0.0625rem 0.25rem 0rem rgba(0, 0, 0, 0.1)", b = "0rem 0.25rem 0.75rem 0rem rgba(0, 0, 0, 0.1)", x = "0rem 0.75rem 1.5rem 0rem rgba(0, 0, 0, 0.1)", I = "0rem", h = "0.0625rem", N = "0.125rem", P = "0.25rem", G = "0.5rem", f = "0.75rem", O = "1rem", M = "1.25rem", W = "1.5rem", A = "2rem", E = "3rem", D = "4rem", H = "5rem", R = "6rem", L = "8rem", F = "1rem", X = "1.5rem", w = "1.5rem", j = "1.5rem", Q = "1rem", q = "1.5rem", z = "3rem", J = "3rem", K = "TeliaSans, Helvetica, Arial, 'Lucida Grande', sans-serif", U = "TeliaSansHeading, Helvetica, Arial, 'Lucida Grande', sans-serif", V = "400", Y = "500", Z = "700", _ = "100%", $ = "110%", rr = "125%", ar = "150%", ur = "175%", pr = "0.75rem", or = "0.875rem", er = "1rem", tr = "1.125rem", sr = "1.25rem", nr = "1.375rem", ir = "1.5rem", lr = "1.75rem", cr = "2rem", gr = "2.25rem", Cr = "2.5rem", dr = "3rem", vr = "3.5rem", Br = "4rem", Tr = "5rem", Sr = "6rem";
5
5
  export {
6
6
  e as purpurBorderRadiusFull,
7
7
  p as purpurBorderRadiusLg,
@@ -18,8 +18,8 @@ export {
18
18
  xr as purpurBreakpointRelativeLg,
19
19
  Ir as purpurBreakpointRelativeMd,
20
20
  hr as purpurBreakpointRelativeSm,
21
- Pr as purpurBreakpointRelativeXl,
22
- Nr as purpurBreakpointSm,
21
+ Nr as purpurBreakpointRelativeXl,
22
+ Pr as purpurBreakpointSm,
23
23
  Gr as purpurBreakpointXl,
24
24
  Or as purpurColorBackgroundInteractiveAutoFill,
25
25
  Mr as purpurColorBackgroundInteractiveDestructive,
@@ -71,8 +71,8 @@ export {
71
71
  xa as purpurColorBackgroundToneOnTonePrimary,
72
72
  Ia as purpurColorBackgroundToneOnToneQuaternary,
73
73
  ha as purpurColorBackgroundToneOnToneSecondary,
74
- Pa as purpurColorBackgroundToneOnToneTertiary,
75
- Na as purpurColorBeige100,
74
+ Na as purpurColorBackgroundToneOnToneTertiary,
75
+ Pa as purpurColorBeige100,
76
76
  Ga as purpurColorBeige200,
77
77
  fa as purpurColorBeige300,
78
78
  Oa as purpurColorBeige400,
@@ -125,8 +125,8 @@ export {
125
125
  xu as purpurColorBrandDeepPurple,
126
126
  Iu as purpurColorBrandLightBeige,
127
127
  hu as purpurColorBrandLightPurple,
128
- Pu as purpurColorBrandOffBlack,
129
- Nu as purpurColorBrandWhite,
128
+ Nu as purpurColorBrandOffBlack,
129
+ Pu as purpurColorBrandWhite,
130
130
  Gu as purpurColorFunctionalBlack,
131
131
  fu as purpurColorFunctionalTransparent,
132
132
  Ou as purpurColorFunctionalWhite,
@@ -179,8 +179,8 @@ export {
179
179
  xp as purpurColorPurple550,
180
180
  Ip as purpurColorPurple600,
181
181
  hp as purpurColorPurple700,
182
- Pp as purpurColorPurple800,
183
- Np as purpurColorPurple900,
182
+ Np as purpurColorPurple800,
183
+ Pp as purpurColorPurple900,
184
184
  Gp as purpurColorPurple950,
185
185
  fp as purpurColorRed100,
186
186
  Op as purpurColorRed200,
@@ -222,57 +222,58 @@ export {
222
222
  go as purpurColorTextInteractivePrimaryHoverNegative,
223
223
  Co as purpurColorTextInteractivePrimaryNegative,
224
224
  vo as purpurColorTextInteractiveSelected,
225
- Bo as purpurColorTextMedium,
226
- To as purpurColorTextMediumNegative,
227
- So as purpurColorTextStatusAttention,
228
- mo as purpurColorTextStatusBlackFriday,
229
- yo as purpurColorTextStatusDiscount,
230
- ko as purpurColorTextStatusErrorMedium,
231
- bo as purpurColorTextStatusErrorMediumNegative,
232
- xo as purpurColorTextStatusErrorStrong,
233
- Io as purpurColorTextStatusErrorStrongNegative,
234
- ho as purpurColorTextStatusInfoMedium,
225
+ Bo as purpurColorTextInteractiveSelectedNegative,
226
+ To as purpurColorTextMedium,
227
+ So as purpurColorTextMediumNegative,
228
+ mo as purpurColorTextStatusAttention,
229
+ yo as purpurColorTextStatusBlackFriday,
230
+ ko as purpurColorTextStatusDiscount,
231
+ bo as purpurColorTextStatusErrorMedium,
232
+ xo as purpurColorTextStatusErrorMediumNegative,
233
+ Io as purpurColorTextStatusErrorStrong,
234
+ ho as purpurColorTextStatusErrorStrongNegative,
235
+ No as purpurColorTextStatusInfoMedium,
235
236
  Po as purpurColorTextStatusInfoStrong,
236
- No as purpurColorTextStatusNeutral,
237
- Go as purpurColorTextStatusSpecial,
238
- fo as purpurColorTextStatusSuccessMedium,
239
- Oo as purpurColorTextStatusSuccessMediumNegative,
240
- Mo as purpurColorTextStatusSuccessStrong,
241
- Wo as purpurColorTextStatusSuccessStrongNegative,
242
- Ao as purpurColorTextStatusWarningMedium,
243
- Eo as purpurColorTextStatusWarningMediumNegative,
244
- Do as purpurColorTextStatusWarningStrong,
245
- Ho as purpurColorTextToneOnTonePrimary,
246
- Ro as purpurColorTextToneOnToneSecondary,
247
- Lo as purpurColorTextToneOnToneTertiary,
248
- Fo as purpurColorTextWeak,
249
- Xo as purpurColorTextWeakNegative,
250
- wo as purpurColorTransparentBlack100,
251
- jo as purpurColorTransparentBlack150,
252
- Qo as purpurColorTransparentBlack200,
253
- qo as purpurColorTransparentBlack300,
254
- zo as purpurColorTransparentBlack400,
255
- Jo as purpurColorTransparentBlack50,
256
- Ko as purpurColorTransparentBlack500,
257
- Uo as purpurColorTransparentBlack600,
258
- Vo as purpurColorTransparentBlack700,
259
- Yo as purpurColorTransparentBlack800,
260
- Zo as purpurColorTransparentBlack850,
261
- _o as purpurColorTransparentBlack900,
262
- $o as purpurColorTransparentBlack950,
263
- re as purpurColorTransparentWhite100,
264
- ae as purpurColorTransparentWhite150,
265
- ue as purpurColorTransparentWhite200,
266
- pe as purpurColorTransparentWhite300,
267
- oe as purpurColorTransparentWhite400,
268
- ee as purpurColorTransparentWhite50,
269
- te as purpurColorTransparentWhite500,
270
- se as purpurColorTransparentWhite600,
271
- ne as purpurColorTransparentWhite700,
272
- ie as purpurColorTransparentWhite800,
273
- le as purpurColorTransparentWhite850,
274
- ce as purpurColorTransparentWhite900,
275
- ge as purpurColorTransparentWhite950,
237
+ Go as purpurColorTextStatusNeutral,
238
+ fo as purpurColorTextStatusSpecial,
239
+ Oo as purpurColorTextStatusSuccessMedium,
240
+ Mo as purpurColorTextStatusSuccessMediumNegative,
241
+ Wo as purpurColorTextStatusSuccessStrong,
242
+ Ao as purpurColorTextStatusSuccessStrongNegative,
243
+ Eo as purpurColorTextStatusWarningMedium,
244
+ Do as purpurColorTextStatusWarningMediumNegative,
245
+ Ho as purpurColorTextStatusWarningStrong,
246
+ Ro as purpurColorTextToneOnTonePrimary,
247
+ Lo as purpurColorTextToneOnToneSecondary,
248
+ Fo as purpurColorTextToneOnToneTertiary,
249
+ Xo as purpurColorTextWeak,
250
+ wo as purpurColorTextWeakNegative,
251
+ jo as purpurColorTransparentBlack100,
252
+ Qo as purpurColorTransparentBlack150,
253
+ qo as purpurColorTransparentBlack200,
254
+ zo as purpurColorTransparentBlack300,
255
+ Jo as purpurColorTransparentBlack400,
256
+ Ko as purpurColorTransparentBlack50,
257
+ Uo as purpurColorTransparentBlack500,
258
+ Vo as purpurColorTransparentBlack600,
259
+ Yo as purpurColorTransparentBlack700,
260
+ Zo as purpurColorTransparentBlack800,
261
+ _o as purpurColorTransparentBlack850,
262
+ $o as purpurColorTransparentBlack900,
263
+ re as purpurColorTransparentBlack950,
264
+ ae as purpurColorTransparentWhite100,
265
+ ue as purpurColorTransparentWhite150,
266
+ pe as purpurColorTransparentWhite200,
267
+ oe as purpurColorTransparentWhite300,
268
+ ee as purpurColorTransparentWhite400,
269
+ te as purpurColorTransparentWhite50,
270
+ se as purpurColorTransparentWhite500,
271
+ ne as purpurColorTransparentWhite600,
272
+ ie as purpurColorTransparentWhite700,
273
+ le as purpurColorTransparentWhite800,
274
+ ce as purpurColorTransparentWhite850,
275
+ ge as purpurColorTransparentWhite900,
276
+ Ce as purpurColorTransparentWhite950,
276
277
  l as purpurFilterBlurOnImage,
277
278
  C as purpurGradientAiBackgroundInteractiveExpressive,
278
279
  d as purpurGradientAiBackgroundInteractiveExpressiveNegative,
@@ -283,17 +284,17 @@ export {
283
284
  m as purpurGradientAiBorderInteractivePrimaryNegative,
284
285
  c as purpurGradientAiTextInteractivePrimary,
285
286
  g as purpurGradientAiTextInteractivePrimaryNegative,
286
- de as purpurMotionDuration100,
287
- ve as purpurMotionDuration150,
288
- Be as purpurMotionDuration1500,
289
- Te as purpurMotionDuration200,
290
- Se as purpurMotionDuration2000,
291
- me as purpurMotionDuration300,
292
- ye as purpurMotionDuration400,
293
- ke as purpurMotionDuration500,
294
- be as purpurMotionEasingEaseIn,
295
- xe as purpurMotionEasingEaseInOut,
296
- Ie as purpurMotionEasingEaseOut,
287
+ ve as purpurMotionDuration100,
288
+ Be as purpurMotionDuration150,
289
+ Te as purpurMotionDuration1500,
290
+ Se as purpurMotionDuration200,
291
+ me as purpurMotionDuration2000,
292
+ ye as purpurMotionDuration300,
293
+ ke as purpurMotionDuration400,
294
+ be as purpurMotionDuration500,
295
+ xe as purpurMotionEasingEaseIn,
296
+ Ie as purpurMotionEasingEaseInOut,
297
+ he as purpurMotionEasingEaseOut,
297
298
  x as purpurShadowLg,
298
299
  b as purpurShadowMd,
299
300
  y as purpurShadowNone,
@@ -306,11 +307,11 @@ export {
306
307
  f as purpurSpacing150,
307
308
  L as purpurSpacing1600,
308
309
  O as purpurSpacing200,
309
- P as purpurSpacing25,
310
+ N as purpurSpacing25,
310
311
  M as purpurSpacing250,
311
312
  W as purpurSpacing300,
312
313
  A as purpurSpacing400,
313
- N as purpurSpacing50,
314
+ P as purpurSpacing50,
314
315
  E as purpurSpacing600,
315
316
  D as purpurSpacing800,
316
317
  w as purpurSpacingGutterLg,