@purpur/library 9.1.3 → 9.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (312) hide show
  1. package/CHANGELOG.json +44 -0
  2. package/CHANGELOG.md +21 -1
  3. package/dist/LICENSE.txt +66 -8
  4. package/dist/{ThemeProvider-ipAIFRUi.js → ThemeProvider-5r7lDX-h.js} +2 -2
  5. package/dist/{ThemeProvider-ipAIFRUi.js.map → ThemeProvider-5r7lDX-h.js.map} +1 -1
  6. package/dist/{ThemeProvider-BR1hJQOD.mjs → ThemeProvider-bkyFCeo6.mjs} +3 -3
  7. package/dist/{ThemeProvider-BR1hJQOD.mjs.map → ThemeProvider-bkyFCeo6.mjs.map} +1 -1
  8. package/dist/accordion-OsA0HvdA.js +2 -0
  9. package/dist/{accordion-DX8efWOt.js.map → accordion-OsA0HvdA.js.map} +1 -1
  10. package/dist/{accordion-BKTz9DM6.mjs → accordion-OtFSShSB.mjs} +37 -37
  11. package/dist/{accordion-BKTz9DM6.mjs.map → accordion-OtFSShSB.mjs.map} +1 -1
  12. package/dist/accordion.cjs.js +1 -1
  13. package/dist/accordion.es.js +1 -1
  14. package/dist/arrow-left.es-CCWJyrcQ.js +2 -0
  15. package/dist/arrow-left.es-CCWJyrcQ.js.map +1 -0
  16. package/dist/arrow-left.es-DU-PX-Il.mjs +13 -0
  17. package/dist/arrow-left.es-DU-PX-Il.mjs.map +1 -0
  18. package/dist/{autocomplete-B8L-dTmF.mjs → autocomplete-BipmyKf0.mjs} +2 -2
  19. package/dist/{autocomplete-B8L-dTmF.mjs.map → autocomplete-BipmyKf0.mjs.map} +1 -1
  20. package/dist/{autocomplete-B421J7CS.js → autocomplete-D9uCJzjY.js} +2 -2
  21. package/dist/{autocomplete-B421J7CS.js.map → autocomplete-D9uCJzjY.js.map} +1 -1
  22. package/dist/autocomplete.cjs.js +1 -1
  23. package/dist/autocomplete.es.js +1 -1
  24. package/dist/button-4-yWOgtD.mjs +109 -0
  25. package/dist/{button-Cv7NlYbv.mjs.map → button-4-yWOgtD.mjs.map} +1 -1
  26. package/dist/button-DmybVApa.js +2 -0
  27. package/dist/{button-Dqxdc3nC.js.map → button-DmybVApa.js.map} +1 -1
  28. package/dist/button.cjs.js +1 -1
  29. package/dist/button.es.js +1 -1
  30. package/dist/{calendar-CoP1dGpQ.js → calendar-CBBV8n3x.js} +2 -2
  31. package/dist/{calendar-CoP1dGpQ.js.map → calendar-CBBV8n3x.js.map} +1 -1
  32. package/dist/{calendar-D_sZrR92.mjs → calendar-DEXw83mu.mjs} +2 -2
  33. package/dist/{calendar-D_sZrR92.mjs.map → calendar-DEXw83mu.mjs.map} +1 -1
  34. package/dist/calendar.cjs.js +1 -1
  35. package/dist/calendar.es.js +1 -1
  36. package/dist/card-CRHXm5NR.js +2 -0
  37. package/dist/{card-VMa3cGCP.js.map → card-CRHXm5NR.js.map} +1 -1
  38. package/dist/{card-CkZQZOz1.mjs → card-DR2hvxjZ.mjs} +75 -75
  39. package/dist/{card-CkZQZOz1.mjs.map → card-DR2hvxjZ.mjs.map} +1 -1
  40. package/dist/card.cjs.js +1 -1
  41. package/dist/card.es.js +1 -1
  42. package/dist/carousel-BCw-5u92.js +2 -0
  43. package/dist/carousel-BCw-5u92.js.map +1 -0
  44. package/dist/carousel-BkxojLwn.mjs +1633 -0
  45. package/dist/carousel-BkxojLwn.mjs.map +1 -0
  46. package/dist/carousel.cjs.js +2 -0
  47. package/dist/carousel.cjs.js.map +1 -0
  48. package/dist/carousel.es.js +5 -0
  49. package/dist/carousel.es.js.map +1 -0
  50. package/dist/{chat-field-yK-TwW0D.mjs → chat-field-CVF4DooY.mjs} +2 -2
  51. package/dist/{chat-field-yK-TwW0D.mjs.map → chat-field-CVF4DooY.mjs.map} +1 -1
  52. package/dist/{chat-field-CxOqk0-9.js → chat-field-Wjvh2J6C.js} +2 -2
  53. package/dist/{chat-field-CxOqk0-9.js.map → chat-field-Wjvh2J6C.js.map} +1 -1
  54. package/dist/chat-field.cjs.js +1 -1
  55. package/dist/chat-field.es.js +1 -1
  56. package/dist/comparison-table-B8w65g43.js +2 -0
  57. package/dist/comparison-table-B8w65g43.js.map +1 -0
  58. package/dist/comparison-table-D1zJpdLL.mjs +275 -0
  59. package/dist/comparison-table-D1zJpdLL.mjs.map +1 -0
  60. package/dist/comparison-table.cjs.js +2 -0
  61. package/dist/comparison-table.cjs.js.map +1 -0
  62. package/dist/comparison-table.es.js +5 -0
  63. package/dist/comparison-table.es.js.map +1 -0
  64. package/dist/components/carousel/src/carousel.d.ts +43 -0
  65. package/dist/components/carousel/src/carousel.d.ts.map +1 -0
  66. package/dist/components/carousel/src/components/PageIndicator.d.ts +12 -0
  67. package/dist/components/carousel/src/components/PageIndicator.d.ts.map +1 -0
  68. package/dist/components/carousel/src/hooks/useAutoplay.d.ts +8 -0
  69. package/dist/components/carousel/src/hooks/useAutoplay.d.ts.map +1 -0
  70. package/dist/components/carousel/src/hooks/usePageIndicators.d.ts +9 -0
  71. package/dist/components/carousel/src/hooks/usePageIndicators.d.ts.map +1 -0
  72. package/dist/components/carousel/src/hooks/usePrefersReducedMotion.d.ts +2 -0
  73. package/dist/components/carousel/src/hooks/usePrefersReducedMotion.d.ts.map +1 -0
  74. package/dist/components/carousel/src/hooks/usePrevNextButtons.d.ts +11 -0
  75. package/dist/components/carousel/src/hooks/usePrevNextButtons.d.ts.map +1 -0
  76. package/dist/components/comparison-table/src/comparison-table.d.ts +64 -0
  77. package/dist/components/comparison-table/src/comparison-table.d.ts.map +1 -0
  78. package/dist/components/comparison-table/src/components/Cell/cell.d.ts +7 -0
  79. package/dist/components/comparison-table/src/components/Cell/cell.d.ts.map +1 -0
  80. package/dist/components/comparison-table/src/components/LeadCell/lead-cell.d.ts +8 -0
  81. package/dist/components/comparison-table/src/components/LeadCell/lead-cell.d.ts.map +1 -0
  82. package/dist/components/comparison-table/src/components/OptionCard/option-card.d.ts +26 -0
  83. package/dist/components/comparison-table/src/components/OptionCard/option-card.d.ts.map +1 -0
  84. package/dist/components/comparison-table/src/components/ScrollProgress/scroll-progress.d.ts +11 -0
  85. package/dist/components/comparison-table/src/components/ScrollProgress/scroll-progress.d.ts.map +1 -0
  86. package/dist/components/content-block/src/content-block.d.ts +2 -2
  87. package/dist/components/content-block/src/content-block.d.ts.map +1 -1
  88. package/dist/components/dropdown/src/dropdown-combobox.d.ts +2 -1
  89. package/dist/components/dropdown/src/dropdown-combobox.d.ts.map +1 -1
  90. package/dist/components/dropdown/src/dropdown-select.d.ts +2 -1
  91. package/dist/components/dropdown/src/dropdown-select.d.ts.map +1 -1
  92. package/dist/components/dropdown/src/dropdown-shared.d.ts +11 -1
  93. package/dist/components/dropdown/src/dropdown-shared.d.ts.map +1 -1
  94. package/dist/components/dropdown/src/dropdown.types.d.ts +7 -2
  95. package/dist/components/dropdown/src/dropdown.types.d.ts.map +1 -1
  96. package/dist/components/dropdown/src/useDropdown.d.ts +1 -1
  97. package/dist/components/dropdown/src/useDropdown.d.ts.map +1 -1
  98. package/dist/components-metadata.js +16 -0
  99. package/dist/{content-block-Cd7xSE8t.js → content-block-CDRUH0pg.js} +2 -2
  100. package/dist/content-block-CDRUH0pg.js.map +1 -0
  101. package/dist/{content-block-BMOvlH7a.mjs → content-block-Dm3L4g8w.mjs} +2 -2
  102. package/dist/content-block-Dm3L4g8w.mjs.map +1 -0
  103. package/dist/content-block.cjs.js +1 -1
  104. package/dist/content-block.es.js +1 -1
  105. package/dist/{cta-link-BHU6irMG.js → cta-link-B1qMjH76.js} +2 -2
  106. package/dist/{cta-link-BHU6irMG.js.map → cta-link-B1qMjH76.js.map} +1 -1
  107. package/dist/{cta-link-B_FfwflB.mjs → cta-link-pwva2f2r.mjs} +43 -43
  108. package/dist/{cta-link-B_FfwflB.mjs.map → cta-link-pwva2f2r.mjs.map} +1 -1
  109. package/dist/cta-link.cjs.js +1 -1
  110. package/dist/cta-link.es.js +1 -1
  111. package/dist/{date-field-B7ipm5sH.js → date-field-BJaomFjs.js} +2 -2
  112. package/dist/{date-field-B7ipm5sH.js.map → date-field-BJaomFjs.js.map} +1 -1
  113. package/dist/{date-field-4tYMPw89.mjs → date-field-D3rTtf9Y.mjs} +2 -2
  114. package/dist/{date-field-4tYMPw89.mjs.map → date-field-D3rTtf9Y.mjs.map} +1 -1
  115. package/dist/date-field.cjs.js +1 -1
  116. package/dist/date-field.es.js +1 -1
  117. package/dist/{date-picker-D7EisjDG.mjs → date-picker-CpDZ0gK9.mjs} +4 -4
  118. package/dist/{date-picker-D7EisjDG.mjs.map → date-picker-CpDZ0gK9.mjs.map} +1 -1
  119. package/dist/{date-picker-BWW4xzyc.js → date-picker-D3uJGCjl.js} +2 -2
  120. package/dist/{date-picker-BWW4xzyc.js.map → date-picker-D3uJGCjl.js.map} +1 -1
  121. package/dist/date-picker.cjs.js +1 -1
  122. package/dist/date-picker.es.js +1 -1
  123. package/dist/{drawer-Vi9H2O3N.mjs → drawer-BJ8xwriz.mjs} +2 -2
  124. package/dist/{drawer-Vi9H2O3N.mjs.map → drawer-BJ8xwriz.mjs.map} +1 -1
  125. package/dist/{drawer-UdK-u7IX.js → drawer-CNs9K8Ca.js} +2 -2
  126. package/dist/{drawer-UdK-u7IX.js.map → drawer-CNs9K8Ca.js.map} +1 -1
  127. package/dist/drawer.cjs.js +1 -1
  128. package/dist/drawer.es.js +1 -1
  129. package/dist/dropdown-BsqVnd7z.js +2 -0
  130. package/dist/dropdown-BsqVnd7z.js.map +1 -0
  131. package/dist/dropdown-TO3Mh0bk.mjs +910 -0
  132. package/dist/dropdown-TO3Mh0bk.mjs.map +1 -0
  133. package/dist/dropdown.cjs.js +1 -1
  134. package/dist/dropdown.es.js +1 -1
  135. package/dist/{footer-cH07Xqil.mjs → footer-BXs8uzTA.mjs} +4 -4
  136. package/dist/{footer-cH07Xqil.mjs.map → footer-BXs8uzTA.mjs.map} +1 -1
  137. package/dist/{footer-BL0ewBZT.js → footer-DF9adlni.js} +2 -2
  138. package/dist/{footer-BL0ewBZT.js.map → footer-DF9adlni.js.map} +1 -1
  139. package/dist/footer.cjs.js +1 -1
  140. package/dist/footer.es.js +1 -1
  141. package/dist/{hero-banner-yGRM4OlS.js → hero-banner-BfxclVFT.js} +2 -2
  142. package/dist/{hero-banner-yGRM4OlS.js.map → hero-banner-BfxclVFT.js.map} +1 -1
  143. package/dist/{hero-banner-BjwICxaJ.mjs → hero-banner-CxPvhXD2.mjs} +3 -3
  144. package/dist/{hero-banner-BjwICxaJ.mjs.map → hero-banner-CxPvhXD2.mjs.map} +1 -1
  145. package/dist/hero-banner.cjs.js +1 -1
  146. package/dist/hero-banner.es.js +1 -1
  147. package/dist/libraries/library/src/carousel.d.ts +6 -0
  148. package/dist/libraries/library/src/carousel.d.ts.map +1 -0
  149. package/dist/libraries/library/src/comparison-table.d.ts +6 -0
  150. package/dist/libraries/library/src/comparison-table.d.ts.map +1 -0
  151. package/dist/libraries/library/src/library.d.ts +2 -0
  152. package/dist/libraries/library/src/library.d.ts.map +1 -1
  153. package/dist/library.cjs.js +1 -1
  154. package/dist/library.es.js +609 -605
  155. package/dist/library.es.js.map +1 -1
  156. package/dist/minus.es-BK9qA9iJ.mjs +13 -0
  157. package/dist/minus.es-BK9qA9iJ.mjs.map +1 -0
  158. package/dist/minus.es-DtXArdKK.js +2 -0
  159. package/dist/minus.es-DtXArdKK.js.map +1 -0
  160. package/dist/{modal-fTWvPEPW.mjs → modal-DCfN6q8I.mjs} +28 -28
  161. package/dist/modal-DCfN6q8I.mjs.map +1 -0
  162. package/dist/{modal-DMeRO1wE.js → modal-DZIdw9xy.js} +2 -2
  163. package/dist/modal-DZIdw9xy.js.map +1 -0
  164. package/dist/modal.cjs.js +1 -1
  165. package/dist/modal.es.js +1 -1
  166. package/dist/{notification-DE1pvk9W.js → notification-BqjaT4E7.js} +2 -2
  167. package/dist/{notification-DE1pvk9W.js.map → notification-BqjaT4E7.js.map} +1 -1
  168. package/dist/{notification-BvoL7BIW.mjs → notification-DdRS5BF2.mjs} +2 -2
  169. package/dist/{notification-BvoL7BIW.mjs.map → notification-DdRS5BF2.mjs.map} +1 -1
  170. package/dist/{notification-banner-C4gkkSlf.mjs → notification-banner-BOclxqFu.mjs} +2 -2
  171. package/dist/{notification-banner-C4gkkSlf.mjs.map → notification-banner-BOclxqFu.mjs.map} +1 -1
  172. package/dist/{notification-banner-COH7wJu2.js → notification-banner-jY8rQH2M.js} +2 -2
  173. package/dist/{notification-banner-COH7wJu2.js.map → notification-banner-jY8rQH2M.js.map} +1 -1
  174. package/dist/notification-banner.cjs.js +1 -1
  175. package/dist/notification-banner.es.js +1 -1
  176. package/dist/notification.cjs.js +1 -1
  177. package/dist/notification.es.js +1 -1
  178. package/dist/pagination-Bwlkvqye.js +2 -0
  179. package/dist/pagination-Bwlkvqye.js.map +1 -0
  180. package/dist/{pagination-BdCjh1Pi.mjs → pagination-CVYUacXN.mjs} +235 -242
  181. package/dist/pagination-CVYUacXN.mjs.map +1 -0
  182. package/dist/pagination.cjs.js +1 -1
  183. package/dist/pagination.es.js +1 -1
  184. package/dist/{popover-lxTyKALA.mjs → popover-Dwqs1wGH.mjs} +2 -2
  185. package/dist/{popover-lxTyKALA.mjs.map → popover-Dwqs1wGH.mjs.map} +1 -1
  186. package/dist/{popover-BnUVNqSi.js → popover-XCUa2GfC.js} +2 -2
  187. package/dist/{popover-BnUVNqSi.js.map → popover-XCUa2GfC.js.map} +1 -1
  188. package/dist/popover.cjs.js +1 -1
  189. package/dist/popover.es.js +1 -1
  190. package/dist/{product-card-BU1ThhCx.mjs → product-card-BfB82XpS.mjs} +2 -2
  191. package/dist/{product-card-BU1ThhCx.mjs.map → product-card-BfB82XpS.mjs.map} +1 -1
  192. package/dist/{product-card-CNBegEBW.js → product-card-bVQ7JhHj.js} +2 -2
  193. package/dist/{product-card-CNBegEBW.js.map → product-card-bVQ7JhHj.js.map} +1 -1
  194. package/dist/product-card.cjs.js +1 -1
  195. package/dist/product-card.es.js +1 -1
  196. package/dist/{promotion-card-_bPyVr9t.mjs → promotion-card-BhNw94sC.mjs} +4 -4
  197. package/dist/{promotion-card-_bPyVr9t.mjs.map → promotion-card-BhNw94sC.mjs.map} +1 -1
  198. package/dist/{promotion-card-CXNhskRl.js → promotion-card-DqBBt2sz.js} +2 -2
  199. package/dist/{promotion-card-CXNhskRl.js.map → promotion-card-DqBBt2sz.js.map} +1 -1
  200. package/dist/promotion-card.cjs.js +1 -1
  201. package/dist/promotion-card.es.js +1 -1
  202. package/dist/purpur.css +1 -1
  203. package/dist/quantity-selector-8AkKNDik.js +2 -0
  204. package/dist/quantity-selector-8AkKNDik.js.map +1 -0
  205. package/dist/{quantity-selector-CGhJ2DjO.mjs → quantity-selector-C23kU1hF.mjs} +73 -79
  206. package/dist/quantity-selector-C23kU1hF.mjs.map +1 -0
  207. package/dist/quantity-selector.cjs.js +1 -1
  208. package/dist/quantity-selector.es.js +1 -1
  209. package/dist/scss/action.scss +1 -0
  210. package/dist/{search-field-DTuEiK-M.mjs → search-field-CMBDkydb.mjs} +3 -3
  211. package/dist/{search-field-DTuEiK-M.mjs.map → search-field-CMBDkydb.mjs.map} +1 -1
  212. package/dist/{search-field-Bst9d-wX.js → search-field-CU_tsmHb.js} +2 -2
  213. package/dist/{search-field-Bst9d-wX.js.map → search-field-CU_tsmHb.js.map} +1 -1
  214. package/dist/search-field.cjs.js +1 -1
  215. package/dist/search-field.es.js +1 -1
  216. package/dist/{stepper-k0bX9m4t.mjs → stepper-uBfDdIju.mjs} +3 -3
  217. package/dist/{stepper-k0bX9m4t.mjs.map → stepper-uBfDdIju.mjs.map} +1 -1
  218. package/dist/{stepper-ClLQuoXr.js → stepper-w-raIwqJ.js} +2 -2
  219. package/dist/{stepper-ClLQuoXr.js.map → stepper-w-raIwqJ.js.map} +1 -1
  220. package/dist/stepper.cjs.js +1 -1
  221. package/dist/stepper.es.js +1 -1
  222. package/dist/{table-Ddv6BKo9.js → table-BVSBvTYG.js} +2 -2
  223. package/dist/{table-Ddv6BKo9.js.map → table-BVSBvTYG.js.map} +1 -1
  224. package/dist/{table-D_XW4smf.mjs → table-CuV3Gda_.mjs} +6 -6
  225. package/dist/{table-D_XW4smf.mjs.map → table-CuV3Gda_.mjs.map} +1 -1
  226. package/dist/table.cjs.js +1 -1
  227. package/dist/table.es.js +1 -1
  228. package/dist/{text-area-9ggiIWtJ.js → text-area-C6W0fDiQ.js} +2 -2
  229. package/dist/{text-area-9ggiIWtJ.js.map → text-area-C6W0fDiQ.js.map} +1 -1
  230. package/dist/{text-area-CpYWt99s.mjs → text-area-DDZ_GQPW.mjs} +3 -3
  231. package/dist/{text-area-CpYWt99s.mjs.map → text-area-DDZ_GQPW.mjs.map} +1 -1
  232. package/dist/text-area.cjs.js +1 -1
  233. package/dist/text-area.es.js +1 -1
  234. package/dist/{text-field-BQYzwIrG.mjs → text-field-BQfxJobW.mjs} +2 -2
  235. package/dist/{text-field-BQYzwIrG.mjs.map → text-field-BQfxJobW.mjs.map} +1 -1
  236. package/dist/{text-field-BwxGMWds.js → text-field-CYJzQG3h.js} +2 -2
  237. package/dist/{text-field-BwxGMWds.js.map → text-field-CYJzQG3h.js.map} +1 -1
  238. package/dist/text-field.cjs.js +1 -1
  239. package/dist/text-field.es.js +1 -1
  240. package/dist/theme.cjs.js +1 -1
  241. package/dist/theme.es.js +2 -2
  242. package/dist/tokens/color/variables.css +12 -12
  243. package/dist/tokens/color/variables.dark.css +13 -13
  244. package/dist/tokens/color/variables.dark.js +13 -13
  245. package/dist/tokens/color/variables.dark.json +13 -13
  246. package/dist/tokens/color/variables.dark.scss +13 -13
  247. package/dist/tokens/color/variables.js +12 -12
  248. package/dist/tokens/color/variables.json +12 -12
  249. package/dist/tokens/color/variables.scss +12 -12
  250. package/dist/tokens/gradient/variables.dark.js +4 -4
  251. package/dist/tokens/gradient/variables.dark.json +4 -4
  252. package/dist/tokens/gradient/variables.dark.scss +4 -4
  253. package/dist/tokens/gradient/variables.js +4 -4
  254. package/dist/tokens/gradient/variables.json +4 -4
  255. package/dist/tokens/gradient/variables.scss +4 -4
  256. package/dist/tokens.cjs.js +1 -1
  257. package/dist/tokens.cjs.js.map +1 -1
  258. package/dist/tokens.es.js +41 -41
  259. package/dist/tokens.es.js.map +1 -1
  260. package/dist/{tooltip-BatXMflw.js → tooltip-0pLBlDG3.js} +2 -2
  261. package/dist/{tooltip-BatXMflw.js.map → tooltip-0pLBlDG3.js.map} +1 -1
  262. package/dist/{tooltip-CZzwHkea.mjs → tooltip-Kom0VfOC.mjs} +2 -2
  263. package/dist/{tooltip-CZzwHkea.mjs.map → tooltip-Kom0VfOC.mjs.map} +1 -1
  264. package/dist/tooltip.cjs.js +1 -1
  265. package/dist/tooltip.es.js +1 -1
  266. package/dist/useColorScheme-0GMDl2GF.js +2 -0
  267. package/dist/{useColorScheme-DNNu9bz0.js.map → useColorScheme-0GMDl2GF.js.map} +1 -1
  268. package/dist/{useColorScheme-9rgSgG0N.mjs → useColorScheme-Di_Q0JR4.mjs} +2 -2
  269. package/dist/{useColorScheme-9rgSgG0N.mjs.map → useColorScheme-Di_Q0JR4.mjs.map} +1 -1
  270. package/dist/{variables-BVgnpUH9.mjs → variables-CKp4o9Tn.mjs} +2 -2
  271. package/dist/{variables-BVgnpUH9.mjs.map → variables-CKp4o9Tn.mjs.map} +1 -1
  272. package/dist/{variables-CMzMXeor.js → variables-DH61hVNE.js} +2 -2
  273. package/dist/{variables-CMzMXeor.js.map → variables-DH61hVNE.js.map} +1 -1
  274. package/package.json +41 -39
  275. package/src/aliases.ts +11 -0
  276. package/src/carousel.ts +6 -0
  277. package/src/comparison-table.ts +6 -0
  278. package/src/entries.js +2 -0
  279. package/src/library.ts +4 -0
  280. package/tokens/color/variables.css +12 -12
  281. package/tokens/color/variables.dark.css +13 -13
  282. package/tokens/color/variables.dark.js +13 -13
  283. package/tokens/color/variables.dark.json +13 -13
  284. package/tokens/color/variables.dark.scss +13 -13
  285. package/tokens/color/variables.js +12 -12
  286. package/tokens/color/variables.json +12 -12
  287. package/tokens/color/variables.scss +12 -12
  288. package/tokens/gradient/variables.dark.js +4 -4
  289. package/tokens/gradient/variables.dark.json +4 -4
  290. package/tokens/gradient/variables.dark.scss +4 -4
  291. package/tokens/gradient/variables.js +4 -4
  292. package/tokens/gradient/variables.json +4 -4
  293. package/tokens/gradient/variables.scss +4 -4
  294. package/dist/accordion-DX8efWOt.js +0 -2
  295. package/dist/button-Cv7NlYbv.mjs +0 -109
  296. package/dist/button-Dqxdc3nC.js +0 -2
  297. package/dist/card-VMa3cGCP.js +0 -2
  298. package/dist/content-block-BMOvlH7a.mjs.map +0 -1
  299. package/dist/content-block-Cd7xSE8t.js.map +0 -1
  300. package/dist/dropdown-BQOY21kI.js +0 -2
  301. package/dist/dropdown-BQOY21kI.js.map +0 -1
  302. package/dist/dropdown-CBYTBaMW.mjs +0 -779
  303. package/dist/dropdown-CBYTBaMW.mjs.map +0 -1
  304. package/dist/modal-DMeRO1wE.js.map +0 -1
  305. package/dist/modal-fTWvPEPW.mjs.map +0 -1
  306. package/dist/pagination-BdCjh1Pi.mjs.map +0 -1
  307. package/dist/pagination-C2A8NPol.js +0 -2
  308. package/dist/pagination-C2A8NPol.js.map +0 -1
  309. package/dist/quantity-selector-BV7QwVlT.js +0 -2
  310. package/dist/quantity-selector-BV7QwVlT.js.map +0 -1
  311. package/dist/quantity-selector-CGhJ2DjO.mjs.map +0 -1
  312. package/dist/useColorScheme-DNNu9bz0.js +0 -2
@@ -1 +1 @@
1
- {"version":3,"file":"tokens.cjs.js","sources":["../../tokens/dist/border/variables.js","../../tokens/dist/filter/variables.js","../../tokens/dist/gradient/variables.js","../../tokens/dist/shadow/variables.js","../../tokens/dist/spacing/variables.js","../../tokens/dist/typography/variables.js"],"sourcesContent":["export const purpurBorderRadiusXs = \"2px\";\nexport const purpurBorderRadiusSm = \"4px\";\nexport const purpurBorderRadiusMd = \"8px\";\nexport const purpurBorderRadiusLg = \"16px\";\nexport const purpurBorderRadiusXl = \"24px\";\nexport const purpurBorderRadiusFull = \"999px\";\nexport const purpurBorderWidthXs = \"1px\";\nexport const purpurBorderWidthSm = \"2px\";\nexport const purpurBorderWidthMd = \"3px\";\nexport const purpurBorderWidthLg = \"6px\";\n","export const purpurFilterBlurOnImage = \"blur(24px)\";\n","export const purpurGradientAiTextInteractivePrimary =\n \"linear-gradient(289deg, #3694d3 -13%, #8c07d0 58%)\";\nexport const purpurGradientAiTextInteractivePrimaryNegative =\n \"linear-gradient(289deg, #62b2e7 -13%, #e4b6fb 58%)\";\nexport const purpurGradientAiBackgroundInteractiveExpressive =\n \"linear-gradient(291deg, #3694d3 -15%, #990ae3 44%)\";\nexport const purpurGradientAiBackgroundInteractiveExpressiveNegative =\n \"linear-gradient(291deg, #62b2e7 -15%, #990ae3 44%)\";\nexport const purpurGradientAiBackgroundInteractivePrimary =\n \"linear-gradient(291deg, #3694d3 -15%, #4e0174 44%, #b12df4 133%)\";\nexport const purpurGradientAiBackgroundInteractivePrimaryNegative =\n \"linear-gradient(280deg, #62b2e7 -15%, #f4e0ff 23%, #f4e0ff 68%, #d58df9 112%)\";\nexport const purpurGradientAiBackgroundPrimaryNegative =\n \"linear-gradient(352deg, #62b2e7 -69%, #1f002e 15%, #1f002e 87%, #d58df9 183%)\";\nexport const purpurGradientAiBorderInteractivePrimary =\n \"linear-gradient(289deg, #3694d3 -13%, #8c07d0 58%)\";\nexport const purpurGradientAiBorderInteractivePrimaryNegative =\n \"linear-gradient(289deg, #62b2e7 -13%, #e4b6fb 58%)\";\n","export const purpurShadowNone = \"0rem 0rem 0rem 0rem rgba(0, 0, 0, 0.1)\";\nexport const purpurShadowSm = \"0rem 0.0625rem 0.25rem 0rem rgba(0, 0, 0, 0.1)\";\nexport const purpurShadowMd = \"0rem 0.25rem 0.75rem 0rem rgba(0, 0, 0, 0.1)\";\nexport const purpurShadowLg = \"0rem 0.75rem 1.5rem 0rem rgba(0, 0, 0, 0.1)\";\n","export const purpurSpacing0 = \"0rem\";\nexport const purpurSpacing10 = \"0.0625rem\";\nexport const purpurSpacing25 = \"0.125rem\";\nexport const purpurSpacing50 = \"0.25rem\";\nexport const purpurSpacing100 = \"0.5rem\";\nexport const purpurSpacing150 = \"0.75rem\";\nexport const purpurSpacing200 = \"1rem\";\nexport const purpurSpacing250 = \"1.25rem\";\nexport const purpurSpacing300 = \"1.5rem\";\nexport const purpurSpacing400 = \"2rem\";\nexport const purpurSpacing600 = \"3rem\";\nexport const purpurSpacing800 = \"4rem\";\nexport const purpurSpacing1000 = \"5rem\";\nexport const purpurSpacing1200 = \"6rem\";\nexport const purpurSpacing1600 = \"8rem\";\nexport const purpurSpacingGutterSm = \"1rem\";\nexport const purpurSpacingGutterMd = \"1.5rem\";\nexport const purpurSpacingGutterLg = \"1.5rem\";\nexport const purpurSpacingGutterXl = \"1.5rem\";\nexport const purpurSpacingPagePaddingSm = \"1rem\";\nexport const purpurSpacingPagePaddingMd = \"1.5rem\";\nexport const purpurSpacingPagePaddingLg = \"3rem\";\nexport const purpurSpacingPagePaddingXl = \"3rem\";\n","export const purpurTypographyFamilyDefault =\n \"TeliaSans, Helvetica, Arial, 'Lucida Grande', sans-serif\";\nexport const purpurTypographyFamilyDisplay =\n \"TeliaSansHeading, Helvetica, Arial, 'Lucida Grande', sans-serif\";\nexport const purpurTypographyWeightNormal = \"400\";\nexport const purpurTypographyWeightMedium = \"500\";\nexport const purpurTypographyWeightBold = \"700\";\nexport const purpurTypographyLineHeightTight = \"100%\";\nexport const purpurTypographyLineHeightSnug = \"110%\";\nexport const purpurTypographyLineHeightDefault = \"125%\";\nexport const purpurTypographyLineHeightLoose = \"150%\";\nexport const purpurTypographyLineHeightLooser = \"175%\";\nexport const purpurTypographyScale50 = \"0.75rem\";\nexport const purpurTypographyScale75 = \"0.875rem\";\nexport const purpurTypographyScale100 = \"1rem\";\nexport const purpurTypographyScale150 = \"1.125rem\";\nexport const purpurTypographyScale200 = \"1.25rem\";\nexport const purpurTypographyScale300 = \"1.375rem\";\nexport const purpurTypographyScale400 = \"1.5rem\";\nexport const purpurTypographyScale500 = \"1.75rem\";\nexport const purpurTypographyScale600 = \"2rem\";\nexport const purpurTypographyScale650 = \"2.25rem\";\nexport const purpurTypographyScale700 = \"2.5rem\";\nexport const purpurTypographyScale800 = \"3rem\";\nexport const purpurTypographyScale850 = \"3.5rem\";\nexport const purpurTypographyScale900 = \"4rem\";\nexport const purpurTypographyScale1000 = \"5rem\";\nexport const purpurTypographyScale1100 = \"6rem\";\n"],"names":["purpurBorderRadiusXs","purpurBorderRadiusSm","purpurBorderRadiusMd","purpurBorderRadiusLg","purpurBorderRadiusXl","purpurBorderRadiusFull","purpurBorderWidthXs","purpurBorderWidthSm","purpurBorderWidthMd","purpurBorderWidthLg","purpurFilterBlurOnImage","purpurGradientAiTextInteractivePrimary","purpurGradientAiTextInteractivePrimaryNegative","purpurGradientAiBackgroundInteractiveExpressive","purpurGradientAiBackgroundInteractiveExpressiveNegative","purpurGradientAiBackgroundInteractivePrimary","purpurGradientAiBackgroundInteractivePrimaryNegative","purpurGradientAiBackgroundPrimaryNegative","purpurGradientAiBorderInteractivePrimary","purpurGradientAiBorderInteractivePrimaryNegative","purpurShadowNone","purpurShadowSm","purpurShadowMd","purpurShadowLg","purpurSpacing0","purpurSpacing10","purpurSpacing25","purpurSpacing50","purpurSpacing100","purpurSpacing150","purpurSpacing200","purpurSpacing250","purpurSpacing300","purpurSpacing400","purpurSpacing600","purpurSpacing800","purpurSpacing1000","purpurSpacing1200","purpurSpacing1600","purpurSpacingGutterSm","purpurSpacingGutterMd","purpurSpacingGutterLg","purpurSpacingGutterXl","purpurSpacingPagePaddingSm","purpurSpacingPagePaddingMd","purpurSpacingPagePaddingLg","purpurSpacingPagePaddingXl","purpurTypographyFamilyDefault","purpurTypographyFamilyDisplay","purpurTypographyWeightNormal","purpurTypographyWeightMedium","purpurTypographyWeightBold","purpurTypographyLineHeightTight","purpurTypographyLineHeightSnug","purpurTypographyLineHeightDefault","purpurTypographyLineHeightLoose","purpurTypographyLineHeightLooser","purpurTypographyScale50","purpurTypographyScale75","purpurTypographyScale100","purpurTypographyScale150","purpurTypographyScale200","purpurTypographyScale300","purpurTypographyScale400","purpurTypographyScale500","purpurTypographyScale600","purpurTypographyScale650","purpurTypographyScale700","purpurTypographyScale800","purpurTypographyScale850","purpurTypographyScale900","purpurTypographyScale1000","purpurTypographyScale1100"],"mappings":"qMAAaA,EAAuB,MACvBC,EAAuB,MACvBC,EAAuB,MACvBC,EAAuB,OACvBC,EAAuB,OACvBC,EAAyB,QACzBC,EAAsB,MACtBC,EAAsB,MACtBC,EAAsB,MACtBC,EAAsB,MCTtBC,EAA0B,aCA1BC,EACX,qDACWC,EACX,qDACWC,EACX,qDACWC,EACX,qDACWC,EACX,mEACWC,EACX,gFACWC,EACX,gFACWC,EACX,qDACWC,EACX,qDCjBWC,EAAmB,yCACnBC,EAAiB,iDACjBC,EAAiB,+CACjBC,EAAiB,8CCHjBC,EAAiB,OACjBC,EAAkB,YAClBC,EAAkB,WAClBC,EAAkB,UAClBC,EAAmB,SACnBC,EAAmB,UACnBC,EAAmB,OACnBC,EAAmB,UACnBC,EAAmB,SACnBC,EAAmB,OACnBC,EAAmB,OACnBC,EAAmB,OACnBC,EAAoB,OACpBC,EAAoB,OACpBC,EAAoB,OACpBC,EAAwB,OACxBC,EAAwB,SACxBC,EAAwB,SACxBC,EAAwB,SACxBC,EAA6B,OAC7BC,EAA6B,SAC7BC,EAA6B,OAC7BC,EAA6B,OCtB7BC,EACX,2DACWC,EACX,kEACWC,EAA+B,MAC/BC,EAA+B,MAC/BC,GAA6B,MAC7BC,GAAkC,OAClCC,GAAiC,OACjCC,GAAoC,OACpCC,GAAkC,OAClCC,GAAmC,OACnCC,GAA0B,UAC1BC,GAA0B,WAC1BC,GAA2B,OAC3BC,GAA2B,WAC3BC,GAA2B,UAC3BC,GAA2B,WAC3BC,GAA2B,SAC3BC,GAA2B,UAC3BC,GAA2B,OAC3BC,GAA2B,UAC3BC,GAA2B,SAC3BC,GAA2B,OAC3BC,GAA2B,SAC3BC,GAA2B,OAC3BC,GAA4B,OAC5BC,GAA4B"}
1
+ {"version":3,"file":"tokens.cjs.js","sources":["../../tokens/dist/border/variables.js","../../tokens/dist/filter/variables.js","../../tokens/dist/gradient/variables.js","../../tokens/dist/shadow/variables.js","../../tokens/dist/spacing/variables.js","../../tokens/dist/typography/variables.js"],"sourcesContent":["export const purpurBorderRadiusXs = \"2px\";\nexport const purpurBorderRadiusSm = \"4px\";\nexport const purpurBorderRadiusMd = \"8px\";\nexport const purpurBorderRadiusLg = \"16px\";\nexport const purpurBorderRadiusXl = \"24px\";\nexport const purpurBorderRadiusFull = \"999px\";\nexport const purpurBorderWidthXs = \"1px\";\nexport const purpurBorderWidthSm = \"2px\";\nexport const purpurBorderWidthMd = \"3px\";\nexport const purpurBorderWidthLg = \"6px\";\n","export const purpurFilterBlurOnImage = \"blur(24px)\";\n","export const purpurGradientAiTextInteractivePrimary =\n \"linear-gradient(289deg, #3694d3 -13%, #6d02a3 58%)\";\nexport const purpurGradientAiTextInteractivePrimaryNegative =\n \"linear-gradient(289deg, #62b2e7 -13%, #f4e0ff 58%)\";\nexport const purpurGradientAiBackgroundInteractiveExpressive =\n \"linear-gradient(291deg, #3694d3 -15%, #990ae3 44%)\";\nexport const purpurGradientAiBackgroundInteractiveExpressiveNegative =\n \"linear-gradient(291deg, #62b2e7 -15%, #990ae3 44%)\";\nexport const purpurGradientAiBackgroundInteractivePrimary =\n \"linear-gradient(291deg, #3694d3 -15%, #4e0174 44%, #b12df4 133%)\";\nexport const purpurGradientAiBackgroundInteractivePrimaryNegative =\n \"linear-gradient(280deg, #62b2e7 -15%, #f4e0ff 23%, #f4e0ff 68%, #d58df9 112%)\";\nexport const purpurGradientAiBackgroundPrimaryNegative =\n \"linear-gradient(352deg, #62b2e7 -69%, #1f002e 15%, #1f002e 87%, #d58df9 183%)\";\nexport const purpurGradientAiBorderInteractivePrimary =\n \"linear-gradient(289deg, #3694d3 -13%, #6d02a3 58%)\";\nexport const purpurGradientAiBorderInteractivePrimaryNegative =\n \"linear-gradient(289deg, #62b2e7 -13%, #f4e0ff 58%)\";\n","export const purpurShadowNone = \"0rem 0rem 0rem 0rem rgba(0, 0, 0, 0.1)\";\nexport const purpurShadowSm = \"0rem 0.0625rem 0.25rem 0rem rgba(0, 0, 0, 0.1)\";\nexport const purpurShadowMd = \"0rem 0.25rem 0.75rem 0rem rgba(0, 0, 0, 0.1)\";\nexport const purpurShadowLg = \"0rem 0.75rem 1.5rem 0rem rgba(0, 0, 0, 0.1)\";\n","export const purpurSpacing0 = \"0rem\";\nexport const purpurSpacing10 = \"0.0625rem\";\nexport const purpurSpacing25 = \"0.125rem\";\nexport const purpurSpacing50 = \"0.25rem\";\nexport const purpurSpacing100 = \"0.5rem\";\nexport const purpurSpacing150 = \"0.75rem\";\nexport const purpurSpacing200 = \"1rem\";\nexport const purpurSpacing250 = \"1.25rem\";\nexport const purpurSpacing300 = \"1.5rem\";\nexport const purpurSpacing400 = \"2rem\";\nexport const purpurSpacing600 = \"3rem\";\nexport const purpurSpacing800 = \"4rem\";\nexport const purpurSpacing1000 = \"5rem\";\nexport const purpurSpacing1200 = \"6rem\";\nexport const purpurSpacing1600 = \"8rem\";\nexport const purpurSpacingGutterSm = \"1rem\";\nexport const purpurSpacingGutterMd = \"1.5rem\";\nexport const purpurSpacingGutterLg = \"1.5rem\";\nexport const purpurSpacingGutterXl = \"1.5rem\";\nexport const purpurSpacingPagePaddingSm = \"1rem\";\nexport const purpurSpacingPagePaddingMd = \"1.5rem\";\nexport const purpurSpacingPagePaddingLg = \"3rem\";\nexport const purpurSpacingPagePaddingXl = \"3rem\";\n","export const purpurTypographyFamilyDefault =\n \"TeliaSans, Helvetica, Arial, 'Lucida Grande', sans-serif\";\nexport const purpurTypographyFamilyDisplay =\n \"TeliaSansHeading, Helvetica, Arial, 'Lucida Grande', sans-serif\";\nexport const purpurTypographyWeightNormal = \"400\";\nexport const purpurTypographyWeightMedium = \"500\";\nexport const purpurTypographyWeightBold = \"700\";\nexport const purpurTypographyLineHeightTight = \"100%\";\nexport const purpurTypographyLineHeightSnug = \"110%\";\nexport const purpurTypographyLineHeightDefault = \"125%\";\nexport const purpurTypographyLineHeightLoose = \"150%\";\nexport const purpurTypographyLineHeightLooser = \"175%\";\nexport const purpurTypographyScale50 = \"0.75rem\";\nexport const purpurTypographyScale75 = \"0.875rem\";\nexport const purpurTypographyScale100 = \"1rem\";\nexport const purpurTypographyScale150 = \"1.125rem\";\nexport const purpurTypographyScale200 = \"1.25rem\";\nexport const purpurTypographyScale300 = \"1.375rem\";\nexport const purpurTypographyScale400 = \"1.5rem\";\nexport const purpurTypographyScale500 = \"1.75rem\";\nexport const purpurTypographyScale600 = \"2rem\";\nexport const purpurTypographyScale650 = \"2.25rem\";\nexport const purpurTypographyScale700 = \"2.5rem\";\nexport const purpurTypographyScale800 = \"3rem\";\nexport const purpurTypographyScale850 = \"3.5rem\";\nexport const purpurTypographyScale900 = \"4rem\";\nexport const purpurTypographyScale1000 = \"5rem\";\nexport const purpurTypographyScale1100 = \"6rem\";\n"],"names":["purpurBorderRadiusXs","purpurBorderRadiusSm","purpurBorderRadiusMd","purpurBorderRadiusLg","purpurBorderRadiusXl","purpurBorderRadiusFull","purpurBorderWidthXs","purpurBorderWidthSm","purpurBorderWidthMd","purpurBorderWidthLg","purpurFilterBlurOnImage","purpurGradientAiTextInteractivePrimary","purpurGradientAiTextInteractivePrimaryNegative","purpurGradientAiBackgroundInteractiveExpressive","purpurGradientAiBackgroundInteractiveExpressiveNegative","purpurGradientAiBackgroundInteractivePrimary","purpurGradientAiBackgroundInteractivePrimaryNegative","purpurGradientAiBackgroundPrimaryNegative","purpurGradientAiBorderInteractivePrimary","purpurGradientAiBorderInteractivePrimaryNegative","purpurShadowNone","purpurShadowSm","purpurShadowMd","purpurShadowLg","purpurSpacing0","purpurSpacing10","purpurSpacing25","purpurSpacing50","purpurSpacing100","purpurSpacing150","purpurSpacing200","purpurSpacing250","purpurSpacing300","purpurSpacing400","purpurSpacing600","purpurSpacing800","purpurSpacing1000","purpurSpacing1200","purpurSpacing1600","purpurSpacingGutterSm","purpurSpacingGutterMd","purpurSpacingGutterLg","purpurSpacingGutterXl","purpurSpacingPagePaddingSm","purpurSpacingPagePaddingMd","purpurSpacingPagePaddingLg","purpurSpacingPagePaddingXl","purpurTypographyFamilyDefault","purpurTypographyFamilyDisplay","purpurTypographyWeightNormal","purpurTypographyWeightMedium","purpurTypographyWeightBold","purpurTypographyLineHeightTight","purpurTypographyLineHeightSnug","purpurTypographyLineHeightDefault","purpurTypographyLineHeightLoose","purpurTypographyLineHeightLooser","purpurTypographyScale50","purpurTypographyScale75","purpurTypographyScale100","purpurTypographyScale150","purpurTypographyScale200","purpurTypographyScale300","purpurTypographyScale400","purpurTypographyScale500","purpurTypographyScale600","purpurTypographyScale650","purpurTypographyScale700","purpurTypographyScale800","purpurTypographyScale850","purpurTypographyScale900","purpurTypographyScale1000","purpurTypographyScale1100"],"mappings":"qMAAaA,EAAuB,MACvBC,EAAuB,MACvBC,EAAuB,MACvBC,EAAuB,OACvBC,EAAuB,OACvBC,EAAyB,QACzBC,EAAsB,MACtBC,EAAsB,MACtBC,EAAsB,MACtBC,EAAsB,MCTtBC,EAA0B,aCA1BC,EACX,qDACWC,EACX,qDACWC,EACX,qDACWC,EACX,qDACWC,EACX,mEACWC,EACX,gFACWC,EACX,gFACWC,EACX,qDACWC,EACX,qDCjBWC,EAAmB,yCACnBC,EAAiB,iDACjBC,EAAiB,+CACjBC,EAAiB,8CCHjBC,EAAiB,OACjBC,EAAkB,YAClBC,EAAkB,WAClBC,EAAkB,UAClBC,EAAmB,SACnBC,EAAmB,UACnBC,EAAmB,OACnBC,EAAmB,UACnBC,EAAmB,SACnBC,EAAmB,OACnBC,EAAmB,OACnBC,EAAmB,OACnBC,EAAoB,OACpBC,EAAoB,OACpBC,EAAoB,OACpBC,EAAwB,OACxBC,EAAwB,SACxBC,EAAwB,SACxBC,EAAwB,SACxBC,EAA6B,OAC7BC,EAA6B,SAC7BC,EAA6B,OAC7BC,EAA6B,OCtB7BC,EACX,2DACWC,EACX,kEACWC,EAA+B,MAC/BC,EAA+B,MAC/BC,GAA6B,MAC7BC,GAAkC,OAClCC,GAAiC,OACjCC,GAAoC,OACpCC,GAAkC,OAClCC,GAAmC,OACnCC,GAA0B,UAC1BC,GAA0B,WAC1BC,GAA2B,OAC3BC,GAA2B,WAC3BC,GAA2B,UAC3BC,GAA2B,WAC3BC,GAA2B,SAC3BC,GAA2B,UAC3BC,GAA2B,OAC3BC,GAA2B,UAC3BC,GAA2B,SAC3BC,GAA2B,OAC3BC,GAA2B,SAC3BC,GAA2B,OAC3BC,GAA4B,OAC5BC,GAA4B"}
package/dist/tokens.es.js CHANGED
@@ -1,7 +1,7 @@
1
- import { p as br, a as kr, 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 Mr, a as Wr, b as fr, 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 ba, U as ka, V as xa, W as Ia, X as ha, Y as Pa, Z as Na, _ as Ga, $ as Oa, a0 as Ma, a1 as Wa, a2 as fa, 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 bu, aK as ku, aL as xu, aM as Iu, aN as hu, aO as Pu, aP as Nu, aQ as Gu, aR as Ou, aS as Mu, aT as Wu, aU as fu, 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 bp, bA as kp, bB as xp, bC as Ip, bD as hp, bE as Pp, bF as Np, bG as Gp, bH as Op, bI as Mp, bJ as Wp, bK as fp, 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 bo, cp as ko, cq as xo, cr as Io, cs as ho, ct as Po, cu as No, cv as Go, cw as Oo, cx as Mo, cy as Wo, cz as fo, 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-BVgnpUH9.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 be, h as ke, 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%, #8c07d0 58%)", g = "linear-gradient(289deg, #62b2e7 -13%, #e4b6fb 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%, #8c07d0 58%)", m = "linear-gradient(289deg, #62b2e7 -13%, #e4b6fb 58%)", y = "0rem 0rem 0rem 0rem rgba(0, 0, 0, 0.1)", b = "0rem 0.0625rem 0.25rem 0rem rgba(0, 0, 0, 0.1)", k = "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", O = "0.75rem", M = "1rem", W = "1.25rem", f = "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 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";
5
5
  export {
6
6
  e as purpurBorderRadiusFull,
7
7
  p as purpurBorderRadiusLg,
@@ -13,17 +13,17 @@ export {
13
13
  n as purpurBorderWidthMd,
14
14
  s as purpurBorderWidthSm,
15
15
  t as purpurBorderWidthXs,
16
- br as purpurBreakpointLg,
17
- kr as purpurBreakpointMd,
16
+ kr as purpurBreakpointLg,
17
+ br as purpurBreakpointMd,
18
18
  xr as purpurBreakpointRelativeLg,
19
19
  Ir as purpurBreakpointRelativeMd,
20
20
  hr as purpurBreakpointRelativeSm,
21
21
  Pr as purpurBreakpointRelativeXl,
22
22
  Nr as purpurBreakpointSm,
23
23
  Gr as purpurBreakpointXl,
24
- Mr as purpurColorBackgroundInteractiveAutoFill,
25
- Wr as purpurColorBackgroundInteractiveDestructive,
26
- fr as purpurColorBackgroundInteractiveDestructiveActive,
24
+ Or as purpurColorBackgroundInteractiveAutoFill,
25
+ Mr as purpurColorBackgroundInteractiveDestructive,
26
+ Wr as purpurColorBackgroundInteractiveDestructiveActive,
27
27
  Ar as purpurColorBackgroundInteractiveDestructiveHover,
28
28
  Er as purpurColorBackgroundInteractiveDisabled,
29
29
  Dr as purpurColorBackgroundInteractiveDisabledNegative,
@@ -66,18 +66,18 @@ export {
66
66
  Sa as purpurColorBackgroundStatusSuccessStrong,
67
67
  ma as purpurColorBackgroundStatusSuccessStrongNegative,
68
68
  ya as purpurColorBackgroundStatusWarningMedium,
69
- ba as purpurColorBackgroundStatusWarningStrong,
70
- ka as purpurColorBackgroundStatusWarningStrongNegative,
69
+ ka as purpurColorBackgroundStatusWarningStrong,
70
+ ba as purpurColorBackgroundStatusWarningStrongNegative,
71
71
  xa as purpurColorBackgroundToneOnTonePrimary,
72
72
  Ia as purpurColorBackgroundToneOnToneQuaternary,
73
73
  ha as purpurColorBackgroundToneOnToneSecondary,
74
74
  Pa as purpurColorBackgroundToneOnToneTertiary,
75
75
  Na as purpurColorBeige100,
76
76
  Ga as purpurColorBeige200,
77
- Oa as purpurColorBeige300,
78
- Ma as purpurColorBeige400,
79
- Wa as purpurColorBeige50,
80
- fa as purpurColorBeige500,
77
+ fa as purpurColorBeige300,
78
+ Oa as purpurColorBeige400,
79
+ Ma as purpurColorBeige50,
80
+ Wa as purpurColorBeige500,
81
81
  Aa as purpurColorBeige600,
82
82
  Ea as purpurColorBeige700,
83
83
  Da as purpurColorBeige800,
@@ -120,18 +120,18 @@ export {
120
120
  Su as purpurColorBorderWeak,
121
121
  mu as purpurColorBorderWeakNegative,
122
122
  yu as purpurColorBrandBeige,
123
- bu as purpurColorBrandCorePurple,
124
- ku as purpurColorBrandDeepBeige,
123
+ ku as purpurColorBrandCorePurple,
124
+ bu as purpurColorBrandDeepBeige,
125
125
  xu as purpurColorBrandDeepPurple,
126
126
  Iu as purpurColorBrandLightBeige,
127
127
  hu as purpurColorBrandLightPurple,
128
128
  Pu as purpurColorBrandOffBlack,
129
129
  Nu as purpurColorBrandWhite,
130
130
  Gu as purpurColorFunctionalBlack,
131
- Ou as purpurColorFunctionalTransparent,
132
- Mu as purpurColorFunctionalWhite,
133
- Wu as purpurColorGradientAiBottom,
134
- fu as purpurColorGradientAiBottomNegative,
131
+ fu as purpurColorFunctionalTransparent,
132
+ Ou as purpurColorFunctionalWhite,
133
+ Mu as purpurColorGradientAiBottom,
134
+ Wu as purpurColorGradientAiBottomNegative,
135
135
  Au as purpurColorGradientAiTop,
136
136
  Eu as purpurColorGradientAiTopNegative,
137
137
  Du as purpurColorGray100,
@@ -174,18 +174,18 @@ export {
174
174
  Sp as purpurColorPurple200,
175
175
  mp as purpurColorPurple300,
176
176
  yp as purpurColorPurple400,
177
- bp as purpurColorPurple50,
178
- kp as purpurColorPurple500,
177
+ kp as purpurColorPurple50,
178
+ bp as purpurColorPurple500,
179
179
  xp as purpurColorPurple550,
180
180
  Ip as purpurColorPurple600,
181
181
  hp as purpurColorPurple700,
182
182
  Pp as purpurColorPurple800,
183
183
  Np as purpurColorPurple900,
184
184
  Gp as purpurColorPurple950,
185
- Op as purpurColorRed100,
186
- Mp as purpurColorRed200,
187
- Wp as purpurColorRed300,
188
- fp as purpurColorRed400,
185
+ fp as purpurColorRed100,
186
+ Op as purpurColorRed200,
187
+ Mp as purpurColorRed300,
188
+ Wp as purpurColorRed400,
189
189
  Ap as purpurColorRed50,
190
190
  Ep as purpurColorRed500,
191
191
  Dp as purpurColorRed600,
@@ -227,18 +227,18 @@ export {
227
227
  So as purpurColorTextStatusAttention,
228
228
  mo as purpurColorTextStatusBlackFriday,
229
229
  yo as purpurColorTextStatusDiscount,
230
- bo as purpurColorTextStatusErrorMedium,
231
- ko as purpurColorTextStatusErrorMediumNegative,
230
+ ko as purpurColorTextStatusErrorMedium,
231
+ bo as purpurColorTextStatusErrorMediumNegative,
232
232
  xo as purpurColorTextStatusErrorStrong,
233
233
  Io as purpurColorTextStatusErrorStrongNegative,
234
234
  ho as purpurColorTextStatusInfoMedium,
235
235
  Po as purpurColorTextStatusInfoStrong,
236
236
  No as purpurColorTextStatusNeutral,
237
237
  Go as purpurColorTextStatusSpecial,
238
- Oo as purpurColorTextStatusSuccessMedium,
239
- Mo as purpurColorTextStatusSuccessMediumNegative,
240
- Wo as purpurColorTextStatusSuccessStrong,
241
- fo as purpurColorTextStatusSuccessStrongNegative,
238
+ fo as purpurColorTextStatusSuccessMedium,
239
+ Oo as purpurColorTextStatusSuccessMediumNegative,
240
+ Mo as purpurColorTextStatusSuccessStrong,
241
+ Wo as purpurColorTextStatusSuccessStrongNegative,
242
242
  Ao as purpurColorTextStatusWarningMedium,
243
243
  Eo as purpurColorTextStatusWarningMediumNegative,
244
244
  Do as purpurColorTextStatusWarningStrong,
@@ -290,25 +290,25 @@ export {
290
290
  Se as purpurMotionDuration2000,
291
291
  me as purpurMotionDuration300,
292
292
  ye as purpurMotionDuration400,
293
- be as purpurMotionDuration500,
294
- ke as purpurMotionEasingEaseIn,
293
+ ke as purpurMotionDuration500,
294
+ be as purpurMotionEasingEaseIn,
295
295
  xe as purpurMotionEasingEaseInOut,
296
296
  Ie as purpurMotionEasingEaseOut,
297
297
  x as purpurShadowLg,
298
- k as purpurShadowMd,
298
+ b as purpurShadowMd,
299
299
  y as purpurShadowNone,
300
- b as purpurShadowSm,
300
+ k as purpurShadowSm,
301
301
  I as purpurSpacing0,
302
302
  h as purpurSpacing10,
303
303
  G as purpurSpacing100,
304
304
  H as purpurSpacing1000,
305
305
  R as purpurSpacing1200,
306
- O as purpurSpacing150,
306
+ f as purpurSpacing150,
307
307
  L as purpurSpacing1600,
308
- M as purpurSpacing200,
308
+ O as purpurSpacing200,
309
309
  P as purpurSpacing25,
310
- W as purpurSpacing250,
311
- f as purpurSpacing300,
310
+ M as purpurSpacing250,
311
+ W as purpurSpacing300,
312
312
  A as purpurSpacing400,
313
313
  N as purpurSpacing50,
314
314
  E as purpurSpacing600,
@@ -1 +1 @@
1
- {"version":3,"file":"tokens.es.js","sources":["../../tokens/dist/border/variables.js","../../tokens/dist/filter/variables.js","../../tokens/dist/gradient/variables.js","../../tokens/dist/shadow/variables.js","../../tokens/dist/spacing/variables.js","../../tokens/dist/typography/variables.js"],"sourcesContent":["export const purpurBorderRadiusXs = \"2px\";\nexport const purpurBorderRadiusSm = \"4px\";\nexport const purpurBorderRadiusMd = \"8px\";\nexport const purpurBorderRadiusLg = \"16px\";\nexport const purpurBorderRadiusXl = \"24px\";\nexport const purpurBorderRadiusFull = \"999px\";\nexport const purpurBorderWidthXs = \"1px\";\nexport const purpurBorderWidthSm = \"2px\";\nexport const purpurBorderWidthMd = \"3px\";\nexport const purpurBorderWidthLg = \"6px\";\n","export const purpurFilterBlurOnImage = \"blur(24px)\";\n","export const purpurGradientAiTextInteractivePrimary =\n \"linear-gradient(289deg, #3694d3 -13%, #8c07d0 58%)\";\nexport const purpurGradientAiTextInteractivePrimaryNegative =\n \"linear-gradient(289deg, #62b2e7 -13%, #e4b6fb 58%)\";\nexport const purpurGradientAiBackgroundInteractiveExpressive =\n \"linear-gradient(291deg, #3694d3 -15%, #990ae3 44%)\";\nexport const purpurGradientAiBackgroundInteractiveExpressiveNegative =\n \"linear-gradient(291deg, #62b2e7 -15%, #990ae3 44%)\";\nexport const purpurGradientAiBackgroundInteractivePrimary =\n \"linear-gradient(291deg, #3694d3 -15%, #4e0174 44%, #b12df4 133%)\";\nexport const purpurGradientAiBackgroundInteractivePrimaryNegative =\n \"linear-gradient(280deg, #62b2e7 -15%, #f4e0ff 23%, #f4e0ff 68%, #d58df9 112%)\";\nexport const purpurGradientAiBackgroundPrimaryNegative =\n \"linear-gradient(352deg, #62b2e7 -69%, #1f002e 15%, #1f002e 87%, #d58df9 183%)\";\nexport const purpurGradientAiBorderInteractivePrimary =\n \"linear-gradient(289deg, #3694d3 -13%, #8c07d0 58%)\";\nexport const purpurGradientAiBorderInteractivePrimaryNegative =\n \"linear-gradient(289deg, #62b2e7 -13%, #e4b6fb 58%)\";\n","export const purpurShadowNone = \"0rem 0rem 0rem 0rem rgba(0, 0, 0, 0.1)\";\nexport const purpurShadowSm = \"0rem 0.0625rem 0.25rem 0rem rgba(0, 0, 0, 0.1)\";\nexport const purpurShadowMd = \"0rem 0.25rem 0.75rem 0rem rgba(0, 0, 0, 0.1)\";\nexport const purpurShadowLg = \"0rem 0.75rem 1.5rem 0rem rgba(0, 0, 0, 0.1)\";\n","export const purpurSpacing0 = \"0rem\";\nexport const purpurSpacing10 = \"0.0625rem\";\nexport const purpurSpacing25 = \"0.125rem\";\nexport const purpurSpacing50 = \"0.25rem\";\nexport const purpurSpacing100 = \"0.5rem\";\nexport const purpurSpacing150 = \"0.75rem\";\nexport const purpurSpacing200 = \"1rem\";\nexport const purpurSpacing250 = \"1.25rem\";\nexport const purpurSpacing300 = \"1.5rem\";\nexport const purpurSpacing400 = \"2rem\";\nexport const purpurSpacing600 = \"3rem\";\nexport const purpurSpacing800 = \"4rem\";\nexport const purpurSpacing1000 = \"5rem\";\nexport const purpurSpacing1200 = \"6rem\";\nexport const purpurSpacing1600 = \"8rem\";\nexport const purpurSpacingGutterSm = \"1rem\";\nexport const purpurSpacingGutterMd = \"1.5rem\";\nexport const purpurSpacingGutterLg = \"1.5rem\";\nexport const purpurSpacingGutterXl = \"1.5rem\";\nexport const purpurSpacingPagePaddingSm = \"1rem\";\nexport const purpurSpacingPagePaddingMd = \"1.5rem\";\nexport const purpurSpacingPagePaddingLg = \"3rem\";\nexport const purpurSpacingPagePaddingXl = \"3rem\";\n","export const purpurTypographyFamilyDefault =\n \"TeliaSans, Helvetica, Arial, 'Lucida Grande', sans-serif\";\nexport const purpurTypographyFamilyDisplay =\n \"TeliaSansHeading, Helvetica, Arial, 'Lucida Grande', sans-serif\";\nexport const purpurTypographyWeightNormal = \"400\";\nexport const purpurTypographyWeightMedium = \"500\";\nexport const purpurTypographyWeightBold = \"700\";\nexport const purpurTypographyLineHeightTight = \"100%\";\nexport const purpurTypographyLineHeightSnug = \"110%\";\nexport const purpurTypographyLineHeightDefault = \"125%\";\nexport const purpurTypographyLineHeightLoose = \"150%\";\nexport const purpurTypographyLineHeightLooser = \"175%\";\nexport const purpurTypographyScale50 = \"0.75rem\";\nexport const purpurTypographyScale75 = \"0.875rem\";\nexport const purpurTypographyScale100 = \"1rem\";\nexport const purpurTypographyScale150 = \"1.125rem\";\nexport const purpurTypographyScale200 = \"1.25rem\";\nexport const purpurTypographyScale300 = \"1.375rem\";\nexport const purpurTypographyScale400 = \"1.5rem\";\nexport const purpurTypographyScale500 = \"1.75rem\";\nexport const purpurTypographyScale600 = \"2rem\";\nexport const purpurTypographyScale650 = \"2.25rem\";\nexport const purpurTypographyScale700 = \"2.5rem\";\nexport const purpurTypographyScale800 = \"3rem\";\nexport const purpurTypographyScale850 = \"3.5rem\";\nexport const purpurTypographyScale900 = \"4rem\";\nexport const purpurTypographyScale1000 = \"5rem\";\nexport const purpurTypographyScale1100 = \"6rem\";\n"],"names":["purpurBorderRadiusXs","purpurBorderRadiusSm","purpurBorderRadiusMd","purpurBorderRadiusLg","purpurBorderRadiusXl","purpurBorderRadiusFull","purpurBorderWidthXs","purpurBorderWidthSm","purpurBorderWidthMd","purpurBorderWidthLg","purpurFilterBlurOnImage","purpurGradientAiTextInteractivePrimary","purpurGradientAiTextInteractivePrimaryNegative","purpurGradientAiBackgroundInteractiveExpressive","purpurGradientAiBackgroundInteractiveExpressiveNegative","purpurGradientAiBackgroundInteractivePrimary","purpurGradientAiBackgroundInteractivePrimaryNegative","purpurGradientAiBackgroundPrimaryNegative","purpurGradientAiBorderInteractivePrimary","purpurGradientAiBorderInteractivePrimaryNegative","purpurShadowNone","purpurShadowSm","purpurShadowMd","purpurShadowLg","purpurSpacing0","purpurSpacing10","purpurSpacing25","purpurSpacing50","purpurSpacing100","purpurSpacing150","purpurSpacing200","purpurSpacing250","purpurSpacing300","purpurSpacing400","purpurSpacing600","purpurSpacing800","purpurSpacing1000","purpurSpacing1200","purpurSpacing1600","purpurSpacingGutterSm","purpurSpacingGutterMd","purpurSpacingGutterLg","purpurSpacingGutterXl","purpurSpacingPagePaddingSm","purpurSpacingPagePaddingMd","purpurSpacingPagePaddingLg","purpurSpacingPagePaddingXl","purpurTypographyFamilyDefault","purpurTypographyFamilyDisplay","purpurTypographyWeightNormal","purpurTypographyWeightMedium","purpurTypographyWeightBold","purpurTypographyLineHeightTight","purpurTypographyLineHeightSnug","purpurTypographyLineHeightDefault","purpurTypographyLineHeightLoose","purpurTypographyLineHeightLooser","purpurTypographyScale50","purpurTypographyScale75","purpurTypographyScale100","purpurTypographyScale150","purpurTypographyScale200","purpurTypographyScale300","purpurTypographyScale400","purpurTypographyScale500","purpurTypographyScale600","purpurTypographyScale650","purpurTypographyScale700","purpurTypographyScale800","purpurTypographyScale850","purpurTypographyScale900","purpurTypographyScale1000","purpurTypographyScale1100"],"mappings":";;;AAAY,MAACA,IAAuB,OACvBC,IAAuB,OACvBC,IAAuB,OACvBC,IAAuB,QACvBC,IAAuB,QACvBC,IAAyB,SACzBC,IAAsB,OACtBC,IAAsB,OACtBC,IAAsB,OACtBC,IAAsB,OCTtBC,IAA0B,cCA1BC,IACX,sDACWC,IACX,sDACWC,IACX,sDACWC,IACX,sDACWC,IACX,oEACWC,IACX,iFACWC,IACX,iFACWC,IACX,sDACWC,IACX,sDCjBWC,IAAmB,0CACnBC,IAAiB,kDACjBC,IAAiB,gDACjBC,IAAiB,+CCHjBC,IAAiB,QACjBC,IAAkB,aAClBC,IAAkB,YAClBC,IAAkB,WAClBC,IAAmB,UACnBC,IAAmB,WACnBC,IAAmB,QACnBC,IAAmB,WACnBC,IAAmB,UACnBC,IAAmB,QACnBC,IAAmB,QACnBC,IAAmB,QACnBC,IAAoB,QACpBC,IAAoB,QACpBC,IAAoB,QACpBC,IAAwB,QACxBC,IAAwB,UACxBC,IAAwB,UACxBC,IAAwB,UACxBC,IAA6B,QAC7BC,IAA6B,UAC7BC,IAA6B,QAC7BC,IAA6B,QCtB7BC,IACX,4DACWC,IACX,mEACWC,IAA+B,OAC/BC,IAA+B,OAC/BC,IAA6B,OAC7BC,IAAkC,QAClCC,IAAiC,QACjCC,KAAoC,QACpCC,KAAkC,QAClCC,KAAmC,QACnCC,KAA0B,WAC1BC,KAA0B,YAC1BC,KAA2B,QAC3BC,KAA2B,YAC3BC,KAA2B,WAC3BC,KAA2B,YAC3BC,KAA2B,UAC3BC,KAA2B,WAC3BC,KAA2B,QAC3BC,KAA2B,WAC3BC,KAA2B,UAC3BC,KAA2B,QAC3BC,KAA2B,UAC3BC,KAA2B,QAC3BC,KAA4B,QAC5BC,KAA4B;"}
1
+ {"version":3,"file":"tokens.es.js","sources":["../../tokens/dist/border/variables.js","../../tokens/dist/filter/variables.js","../../tokens/dist/gradient/variables.js","../../tokens/dist/shadow/variables.js","../../tokens/dist/spacing/variables.js","../../tokens/dist/typography/variables.js"],"sourcesContent":["export const purpurBorderRadiusXs = \"2px\";\nexport const purpurBorderRadiusSm = \"4px\";\nexport const purpurBorderRadiusMd = \"8px\";\nexport const purpurBorderRadiusLg = \"16px\";\nexport const purpurBorderRadiusXl = \"24px\";\nexport const purpurBorderRadiusFull = \"999px\";\nexport const purpurBorderWidthXs = \"1px\";\nexport const purpurBorderWidthSm = \"2px\";\nexport const purpurBorderWidthMd = \"3px\";\nexport const purpurBorderWidthLg = \"6px\";\n","export const purpurFilterBlurOnImage = \"blur(24px)\";\n","export const purpurGradientAiTextInteractivePrimary =\n \"linear-gradient(289deg, #3694d3 -13%, #6d02a3 58%)\";\nexport const purpurGradientAiTextInteractivePrimaryNegative =\n \"linear-gradient(289deg, #62b2e7 -13%, #f4e0ff 58%)\";\nexport const purpurGradientAiBackgroundInteractiveExpressive =\n \"linear-gradient(291deg, #3694d3 -15%, #990ae3 44%)\";\nexport const purpurGradientAiBackgroundInteractiveExpressiveNegative =\n \"linear-gradient(291deg, #62b2e7 -15%, #990ae3 44%)\";\nexport const purpurGradientAiBackgroundInteractivePrimary =\n \"linear-gradient(291deg, #3694d3 -15%, #4e0174 44%, #b12df4 133%)\";\nexport const purpurGradientAiBackgroundInteractivePrimaryNegative =\n \"linear-gradient(280deg, #62b2e7 -15%, #f4e0ff 23%, #f4e0ff 68%, #d58df9 112%)\";\nexport const purpurGradientAiBackgroundPrimaryNegative =\n \"linear-gradient(352deg, #62b2e7 -69%, #1f002e 15%, #1f002e 87%, #d58df9 183%)\";\nexport const purpurGradientAiBorderInteractivePrimary =\n \"linear-gradient(289deg, #3694d3 -13%, #6d02a3 58%)\";\nexport const purpurGradientAiBorderInteractivePrimaryNegative =\n \"linear-gradient(289deg, #62b2e7 -13%, #f4e0ff 58%)\";\n","export const purpurShadowNone = \"0rem 0rem 0rem 0rem rgba(0, 0, 0, 0.1)\";\nexport const purpurShadowSm = \"0rem 0.0625rem 0.25rem 0rem rgba(0, 0, 0, 0.1)\";\nexport const purpurShadowMd = \"0rem 0.25rem 0.75rem 0rem rgba(0, 0, 0, 0.1)\";\nexport const purpurShadowLg = \"0rem 0.75rem 1.5rem 0rem rgba(0, 0, 0, 0.1)\";\n","export const purpurSpacing0 = \"0rem\";\nexport const purpurSpacing10 = \"0.0625rem\";\nexport const purpurSpacing25 = \"0.125rem\";\nexport const purpurSpacing50 = \"0.25rem\";\nexport const purpurSpacing100 = \"0.5rem\";\nexport const purpurSpacing150 = \"0.75rem\";\nexport const purpurSpacing200 = \"1rem\";\nexport const purpurSpacing250 = \"1.25rem\";\nexport const purpurSpacing300 = \"1.5rem\";\nexport const purpurSpacing400 = \"2rem\";\nexport const purpurSpacing600 = \"3rem\";\nexport const purpurSpacing800 = \"4rem\";\nexport const purpurSpacing1000 = \"5rem\";\nexport const purpurSpacing1200 = \"6rem\";\nexport const purpurSpacing1600 = \"8rem\";\nexport const purpurSpacingGutterSm = \"1rem\";\nexport const purpurSpacingGutterMd = \"1.5rem\";\nexport const purpurSpacingGutterLg = \"1.5rem\";\nexport const purpurSpacingGutterXl = \"1.5rem\";\nexport const purpurSpacingPagePaddingSm = \"1rem\";\nexport const purpurSpacingPagePaddingMd = \"1.5rem\";\nexport const purpurSpacingPagePaddingLg = \"3rem\";\nexport const purpurSpacingPagePaddingXl = \"3rem\";\n","export const purpurTypographyFamilyDefault =\n \"TeliaSans, Helvetica, Arial, 'Lucida Grande', sans-serif\";\nexport const purpurTypographyFamilyDisplay =\n \"TeliaSansHeading, Helvetica, Arial, 'Lucida Grande', sans-serif\";\nexport const purpurTypographyWeightNormal = \"400\";\nexport const purpurTypographyWeightMedium = \"500\";\nexport const purpurTypographyWeightBold = \"700\";\nexport const purpurTypographyLineHeightTight = \"100%\";\nexport const purpurTypographyLineHeightSnug = \"110%\";\nexport const purpurTypographyLineHeightDefault = \"125%\";\nexport const purpurTypographyLineHeightLoose = \"150%\";\nexport const purpurTypographyLineHeightLooser = \"175%\";\nexport const purpurTypographyScale50 = \"0.75rem\";\nexport const purpurTypographyScale75 = \"0.875rem\";\nexport const purpurTypographyScale100 = \"1rem\";\nexport const purpurTypographyScale150 = \"1.125rem\";\nexport const purpurTypographyScale200 = \"1.25rem\";\nexport const purpurTypographyScale300 = \"1.375rem\";\nexport const purpurTypographyScale400 = \"1.5rem\";\nexport const purpurTypographyScale500 = \"1.75rem\";\nexport const purpurTypographyScale600 = \"2rem\";\nexport const purpurTypographyScale650 = \"2.25rem\";\nexport const purpurTypographyScale700 = \"2.5rem\";\nexport const purpurTypographyScale800 = \"3rem\";\nexport const purpurTypographyScale850 = \"3.5rem\";\nexport const purpurTypographyScale900 = \"4rem\";\nexport const purpurTypographyScale1000 = \"5rem\";\nexport const purpurTypographyScale1100 = \"6rem\";\n"],"names":["purpurBorderRadiusXs","purpurBorderRadiusSm","purpurBorderRadiusMd","purpurBorderRadiusLg","purpurBorderRadiusXl","purpurBorderRadiusFull","purpurBorderWidthXs","purpurBorderWidthSm","purpurBorderWidthMd","purpurBorderWidthLg","purpurFilterBlurOnImage","purpurGradientAiTextInteractivePrimary","purpurGradientAiTextInteractivePrimaryNegative","purpurGradientAiBackgroundInteractiveExpressive","purpurGradientAiBackgroundInteractiveExpressiveNegative","purpurGradientAiBackgroundInteractivePrimary","purpurGradientAiBackgroundInteractivePrimaryNegative","purpurGradientAiBackgroundPrimaryNegative","purpurGradientAiBorderInteractivePrimary","purpurGradientAiBorderInteractivePrimaryNegative","purpurShadowNone","purpurShadowSm","purpurShadowMd","purpurShadowLg","purpurSpacing0","purpurSpacing10","purpurSpacing25","purpurSpacing50","purpurSpacing100","purpurSpacing150","purpurSpacing200","purpurSpacing250","purpurSpacing300","purpurSpacing400","purpurSpacing600","purpurSpacing800","purpurSpacing1000","purpurSpacing1200","purpurSpacing1600","purpurSpacingGutterSm","purpurSpacingGutterMd","purpurSpacingGutterLg","purpurSpacingGutterXl","purpurSpacingPagePaddingSm","purpurSpacingPagePaddingMd","purpurSpacingPagePaddingLg","purpurSpacingPagePaddingXl","purpurTypographyFamilyDefault","purpurTypographyFamilyDisplay","purpurTypographyWeightNormal","purpurTypographyWeightMedium","purpurTypographyWeightBold","purpurTypographyLineHeightTight","purpurTypographyLineHeightSnug","purpurTypographyLineHeightDefault","purpurTypographyLineHeightLoose","purpurTypographyLineHeightLooser","purpurTypographyScale50","purpurTypographyScale75","purpurTypographyScale100","purpurTypographyScale150","purpurTypographyScale200","purpurTypographyScale300","purpurTypographyScale400","purpurTypographyScale500","purpurTypographyScale600","purpurTypographyScale650","purpurTypographyScale700","purpurTypographyScale800","purpurTypographyScale850","purpurTypographyScale900","purpurTypographyScale1000","purpurTypographyScale1100"],"mappings":";;;AAAY,MAACA,IAAuB,OACvBC,IAAuB,OACvBC,IAAuB,OACvBC,IAAuB,QACvBC,IAAuB,QACvBC,IAAyB,SACzBC,IAAsB,OACtBC,IAAsB,OACtBC,IAAsB,OACtBC,IAAsB,OCTtBC,IAA0B,cCA1BC,IACX,sDACWC,IACX,sDACWC,IACX,sDACWC,IACX,sDACWC,IACX,oEACWC,IACX,iFACWC,IACX,iFACWC,IACX,sDACWC,IACX,sDCjBWC,IAAmB,0CACnBC,IAAiB,kDACjBC,IAAiB,gDACjBC,IAAiB,+CCHjBC,IAAiB,QACjBC,IAAkB,aAClBC,IAAkB,YAClBC,IAAkB,WAClBC,IAAmB,UACnBC,IAAmB,WACnBC,IAAmB,QACnBC,IAAmB,WACnBC,IAAmB,UACnBC,IAAmB,QACnBC,IAAmB,QACnBC,IAAmB,QACnBC,IAAoB,QACpBC,IAAoB,QACpBC,IAAoB,QACpBC,IAAwB,QACxBC,IAAwB,UACxBC,IAAwB,UACxBC,IAAwB,UACxBC,IAA6B,QAC7BC,IAA6B,UAC7BC,IAA6B,QAC7BC,IAA6B,QCtB7BC,IACX,4DACWC,IACX,mEACWC,IAA+B,OAC/BC,IAA+B,OAC/BC,IAA6B,OAC7BC,IAAkC,QAClCC,IAAiC,QACjCC,KAAoC,QACpCC,KAAkC,QAClCC,KAAmC,QACnCC,KAA0B,WAC1BC,KAA0B,YAC1BC,KAA2B,QAC3BC,KAA2B,YAC3BC,KAA2B,WAC3BC,KAA2B,YAC3BC,KAA2B,UAC3BC,KAA2B,WAC3BC,KAA2B,QAC3BC,KAA2B,WAC3BC,KAA2B,UAC3BC,KAA2B,QAC3BC,KAA2B,UAC3BC,KAA2B,QAC3BC,KAA4B,QAC5BC,KAA4B;"}
@@ -1,2 +1,2 @@
1
- "use strict";const p=require("react/jsx-runtime"),Y=require("react"),le=require("./button-Dqxdc3nC.js"),at=require("./info.es-Br84jly5.js"),ue=require("./paragraph-BsI53OR0.js"),ct=require("./variables-BSBunpiY.js"),he=require("react-dom"),T=require("./floating-ui.react-dom-Cc_YSprQ.js"),lt=require("./bind-DeUYJ6m9.js");function ve(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const i=ve(Y),ut=ve(he);function _(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e?.(o),n===!1||!o.defaultPrevented)return t?.(o)}}function de(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function me(...e){return t=>{let n=!1;const r=e.map(o=>{const s=de(o,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let o=0;o<r.length;o++){const s=r[o];typeof s=="function"?s():de(e[o],null)}}}}function S(...e){return i.useCallback(me(...e),e)}function ye(e,t=[]){let n=[];function r(s,a){const u=i.createContext(a),c=n.length;n=[...n,a];const l=f=>{const{scope:v,children:h,...m}=f,y=v?.[e]?.[c]||u,x=i.useMemo(()=>m,Object.values(m));return p.jsx(y.Provider,{value:x,children:h})};l.displayName=s+"Provider";function d(f,v){const h=v?.[e]?.[c]||u,m=i.useContext(h);if(m)return m;if(a!==void 0)return a;throw new Error(`\`${f}\` must be used within \`${s}\``)}return[l,d]}const o=()=>{const s=n.map(a=>i.createContext(a));return function(u){const c=u?.[e]||s;return i.useMemo(()=>({[`__scope${e}`]:{...u,[e]:c}}),[u,c])}};return o.scopeName=e,[r,dt(o,...t)]}function dt(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(s){const a=r.reduce((u,{useScope:c,scopeName:l})=>{const f=c(s)[`__scope${l}`];return{...u,...f}},{});return i.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}var ge=i.forwardRef((e,t)=>{const{children:n,...r}=e,o=i.Children.toArray(n),s=o.find(pt);if(s){const a=s.props.children,u=o.map(c=>c===s?i.Children.count(a)>1?i.Children.only(null):i.isValidElement(a)?a.props.children:null:c);return p.jsx(X,{...r,ref:t,children:i.isValidElement(a)?i.cloneElement(a,void 0,u):null})}return p.jsx(X,{...r,ref:t,children:n})});ge.displayName="Slot";var X=i.forwardRef((e,t)=>{const{children:n,...r}=e;if(i.isValidElement(n)){const o=ht(n),s=ft(r,n.props);return n.type!==i.Fragment&&(s.ref=t?me(t,o):o),i.cloneElement(n,s)}return i.Children.count(n)>1?i.Children.only(null):null});X.displayName="SlotClone";var xe=({children:e})=>p.jsx(p.Fragment,{children:e});function pt(e){return i.isValidElement(e)&&e.type===xe}function ft(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...u)=>{s(...u),o(...u)}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function ht(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var vt=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],A=vt.reduce((e,t)=>{const n=i.forwardRef((r,o)=>{const{asChild:s,...a}=r,u=s?ge:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsx(u,{...a,ref:o})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function mt(e,t){e&&ut.flushSync(()=>e.dispatchEvent(t))}function j(e){const t=i.useRef(e);return i.useEffect(()=>{t.current=e}),i.useMemo(()=>(...n)=>t.current?.(...n),[])}function yt(e,t=globalThis?.document){const n=j(e);i.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var gt="DismissableLayer",K="dismissableLayer.update",xt="dismissableLayer.pointerDownOutside",wt="dismissableLayer.focusOutside",pe,we=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Pe=i.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:s,onInteractOutside:a,onDismiss:u,...c}=e,l=i.useContext(we),[d,f]=i.useState(null),v=d?.ownerDocument??globalThis?.document,[,h]=i.useState({}),m=S(t,g=>f(g)),y=Array.from(l.layers),[x]=[...l.layersWithOutsidePointerEventsDisabled].slice(-1),P=y.indexOf(x),w=d?y.indexOf(d):-1,C=l.layersWithOutsidePointerEventsDisabled.size>0,E=w>=P,b=Ct(g=>{const R=g.target,$=[...l.branches].some(k=>k.contains(R));!E||$||(o?.(g),a?.(g),g.defaultPrevented||u?.())},v),O=bt(g=>{const R=g.target;[...l.branches].some(k=>k.contains(R))||(s?.(g),a?.(g),g.defaultPrevented||u?.())},v);return yt(g=>{w===l.layers.size-1&&(r?.(g),!g.defaultPrevented&&u&&(g.preventDefault(),u()))},v),i.useEffect(()=>{if(d)return n&&(l.layersWithOutsidePointerEventsDisabled.size===0&&(pe=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),l.layersWithOutsidePointerEventsDisabled.add(d)),l.layers.add(d),fe(),()=>{n&&l.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=pe)}},[d,v,n,l]),i.useEffect(()=>()=>{d&&(l.layers.delete(d),l.layersWithOutsidePointerEventsDisabled.delete(d),fe())},[d,l]),i.useEffect(()=>{const g=()=>h({});return document.addEventListener(K,g),()=>document.removeEventListener(K,g)},[]),p.jsx(A.div,{...c,ref:m,style:{pointerEvents:C?E?"auto":"none":void 0,...e.style},onFocusCapture:_(e.onFocusCapture,O.onFocusCapture),onBlurCapture:_(e.onBlurCapture,O.onBlurCapture),onPointerDownCapture:_(e.onPointerDownCapture,b.onPointerDownCapture)})});Pe.displayName=gt;var Pt="DismissableLayerBranch",Et=i.forwardRef((e,t)=>{const n=i.useContext(we),r=i.useRef(null),o=S(t,r);return i.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),p.jsx(A.div,{...e,ref:o})});Et.displayName=Pt;function Ct(e,t=globalThis?.document){const n=j(e),r=i.useRef(!1),o=i.useRef(()=>{});return i.useEffect(()=>{const s=u=>{if(u.target&&!r.current){let c=function(){Ee(xt,n,l,{discrete:!0})};const l={originalEvent:u};u.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=c,t.addEventListener("click",o.current,{once:!0})):c()}else t.removeEventListener("click",o.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",s),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function bt(e,t=globalThis?.document){const n=j(e),r=i.useRef(!1);return i.useEffect(()=>{const o=s=>{s.target&&!r.current&&Ee(wt,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function fe(){const e=new CustomEvent(K);document.dispatchEvent(e)}function Ee(e,t,n,{discrete:r}){const o=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?mt(o,s):o.dispatchEvent(s)}var N=globalThis?.document?i.useLayoutEffect:()=>{},Tt=i.useId||(()=>{}),_t=0;function Ot(e){const[t,n]=i.useState(Tt());return N(()=>{n(r=>r??String(_t++))},[e]),t?`radix-${t}`:""}var At="Arrow",Ce=i.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...s}=e;return p.jsx(A.svg,{...s,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:p.jsx("polygon",{points:"0,0 30,0 15,10"})})});Ce.displayName=At;var Rt=Ce;function Nt(e){const[t,n]=i.useState(void 0);return N(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const s=o[0];let a,u;if("borderBoxSize"in s){const c=s.borderBoxSize,l=Array.isArray(c)?c[0]:c;a=l.inlineSize,u=l.blockSize}else a=e.offsetWidth,u=e.offsetHeight;n({width:a,height:u})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Q="Popper",[be,Te]=ye(Q),[St,_e]=be(Q),Oe=e=>{const{__scopePopper:t,children:n}=e,[r,o]=i.useState(null);return p.jsx(St,{scope:t,anchor:r,onAnchorChange:o,children:n})};Oe.displayName=Q;var Ae="PopperAnchor",Re=i.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,s=_e(Ae,n),a=i.useRef(null),u=S(t,a);return i.useEffect(()=>{s.onAnchorChange(r?.current||a.current)}),r?null:p.jsx(A.div,{...o,ref:u})});Re.displayName=Ae;var ee="PopperContent",[Dt,Lt]=be(ee),Ne=i.forwardRef((e,t)=>{const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:s="center",alignOffset:a=0,arrowPadding:u=0,avoidCollisions:c=!0,collisionBoundary:l=[],collisionPadding:d=0,sticky:f="partial",hideWhenDetached:v=!1,updatePositionStrategy:h="optimized",onPlaced:m,...y}=e,x=_e(ee,n),[P,w]=i.useState(null),C=S(t,M=>w(M)),[E,b]=i.useState(null),O=Nt(E),g=O?.width??0,R=O?.height??0,$=r+(s!=="center"?"-"+s:""),k=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},oe=Array.isArray(l)?l:[l],Ye=oe.length>0,H={padding:k,boundary:oe.filter(jt),altBoundary:Ye},{refs:Xe,floatingStyles:se,placement:Ke,isPositioned:W,middlewareData:D}=T.useFloating({strategy:"fixed",placement:$,whileElementsMounted:(...M)=>T.autoUpdate(...M,{animationFrame:h==="always"}),elements:{reference:x.anchor},middleware:[T.offset({mainAxis:o+R,alignmentAxis:a}),c&&T.shift({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?T.limitShift():void 0,...H}),c&&T.flip({...H}),T.size({...H,apply:({elements:M,rects:ce,availableWidth:rt,availableHeight:ot})=>{const{width:st,height:it}=ce.reference,B=M.floating.style;B.setProperty("--radix-popper-available-width",`${rt}px`),B.setProperty("--radix-popper-available-height",`${ot}px`),B.setProperty("--radix-popper-anchor-width",`${st}px`),B.setProperty("--radix-popper-anchor-height",`${it}px`)}}),E&&T.arrow({element:E,padding:u}),kt({arrowWidth:g,arrowHeight:R}),v&&T.hide({strategy:"referenceHidden",...H})]}),[ie,Ze]=Le(Ke),ae=j(m);N(()=>{W&&ae?.()},[W,ae]);const Je=D.arrow?.x,Qe=D.arrow?.y,et=D.arrow?.centerOffset!==0,[tt,nt]=i.useState();return N(()=>{P&&nt(window.getComputedStyle(P).zIndex)},[P]),p.jsx("div",{ref:Xe.setFloating,"data-radix-popper-content-wrapper":"",style:{...se,transform:W?se.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:tt,"--radix-popper-transform-origin":[D.transformOrigin?.x,D.transformOrigin?.y].join(" "),...D.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:p.jsx(Dt,{scope:n,placedSide:ie,onArrowChange:b,arrowX:Je,arrowY:Qe,shouldHideArrow:et,children:p.jsx(A.div,{"data-side":ie,"data-align":Ze,...y,ref:C,style:{...y.style,animation:W?void 0:"none"}})})})});Ne.displayName=ee;var Se="PopperArrow",It={top:"bottom",right:"left",bottom:"top",left:"right"},De=i.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,s=Lt(Se,r),a=It[s.placedSide];return p.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:p.jsx(Rt,{...o,ref:n,style:{...o.style,display:"block"}})})});De.displayName=Se;function jt(e){return e!==null}var kt=e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:r,middlewareData:o}=t,a=o.arrow?.centerOffset!==0,u=a?0:e.arrowWidth,c=a?0:e.arrowHeight,[l,d]=Le(n),f={start:"0%",center:"50%",end:"100%"}[d],v=(o.arrow?.x??0)+u/2,h=(o.arrow?.y??0)+c/2;let m="",y="";return l==="bottom"?(m=a?f:`${v}px`,y=`${-c}px`):l==="top"?(m=a?f:`${v}px`,y=`${r.floating.height+c}px`):l==="right"?(m=`${-c}px`,y=a?f:`${h}px`):l==="left"&&(m=`${r.floating.width+c}px`,y=a?f:`${h}px`),{data:{x:m,y}}}});function Le(e){const[t,n="center"]=e.split("-");return[t,n]}var Mt=Oe,Ft=Re,$t=Ne,Ht=De,Wt="Portal",Ie=i.forwardRef((e,t)=>{const{container:n,...r}=e,[o,s]=i.useState(!1);N(()=>s(!0),[]);const a=n||o&&globalThis?.document?.body;return a?he.createPortal(p.jsx(A.div,{...r,ref:t}),a):null});Ie.displayName=Wt;function Bt(e,t){return i.useReducer((n,r)=>t[n][r]??n,e)}var te=e=>{const{present:t,children:n}=e,r=Ut(t),o=typeof n=="function"?n({present:r.isPresent}):i.Children.only(n),s=S(r.ref,zt(o));return typeof n=="function"||r.isPresent?i.cloneElement(o,{ref:s}):null};te.displayName="Presence";function Ut(e){const[t,n]=i.useState(),r=i.useRef({}),o=i.useRef(e),s=i.useRef("none"),a=e?"mounted":"unmounted",[u,c]=Bt(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return i.useEffect(()=>{const l=U(r.current);s.current=u==="mounted"?l:"none"},[u]),N(()=>{const l=r.current,d=o.current;if(d!==e){const v=s.current,h=U(l);e?c("MOUNT"):h==="none"||l?.display==="none"?c("UNMOUNT"):c(d&&v!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,c]),N(()=>{if(t){let l;const d=t.ownerDocument.defaultView??window,f=h=>{const y=U(r.current).includes(h.animationName);if(h.target===t&&y&&(c("ANIMATION_END"),!o.current)){const x=t.style.animationFillMode;t.style.animationFillMode="forwards",l=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=x)})}},v=h=>{h.target===t&&(s.current=U(r.current))};return t.addEventListener("animationstart",v),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{d.clearTimeout(l),t.removeEventListener("animationstart",v),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:i.useCallback(l=>{l&&(r.current=getComputedStyle(l)),n(l)},[])}}function U(e){return e?.animationName||"none"}function zt(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function Vt({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=Gt({defaultProp:t,onChange:n}),s=e!==void 0,a=s?e:r,u=j(n),c=i.useCallback(l=>{if(s){const f=typeof l=="function"?l(e):l;f!==e&&u(f)}else o(l)},[s,e,o,u]);return[a,c]}function Gt({defaultProp:e,onChange:t}){const n=i.useState(e),[r]=n,o=i.useRef(r),s=j(t);return i.useEffect(()=>{o.current!==r&&(s(r),o.current=r)},[r,o,s]),n}var qt="VisuallyHidden",je=i.forwardRef((e,t)=>p.jsx(A.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));je.displayName=qt;var Yt=je,[z]=ye("Tooltip",[Te]),V=Te(),ke="TooltipProvider",Xt=700,Z="tooltip.open",[Kt,ne]=z(ke),Me=e=>{const{__scopeTooltip:t,delayDuration:n=Xt,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:s}=e,[a,u]=i.useState(!0),c=i.useRef(!1),l=i.useRef(0);return i.useEffect(()=>{const d=l.current;return()=>window.clearTimeout(d)},[]),p.jsx(Kt,{scope:t,isOpenDelayed:a,delayDuration:n,onOpen:i.useCallback(()=>{window.clearTimeout(l.current),u(!1)},[]),onClose:i.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>u(!0),r)},[r]),isPointerInTransitRef:c,onPointerInTransitChange:i.useCallback(d=>{c.current=d},[]),disableHoverableContent:o,children:s})};Me.displayName=ke;var G="Tooltip",[Zt,F]=z(G),Fe=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:o=!1,onOpenChange:s,disableHoverableContent:a,delayDuration:u}=e,c=ne(G,e.__scopeTooltip),l=V(t),[d,f]=i.useState(null),v=Ot(),h=i.useRef(0),m=a??c.disableHoverableContent,y=u??c.delayDuration,x=i.useRef(!1),[P=!1,w]=Vt({prop:r,defaultProp:o,onChange:g=>{g?(c.onOpen(),document.dispatchEvent(new CustomEvent(Z))):c.onClose(),s?.(g)}}),C=i.useMemo(()=>P?x.current?"delayed-open":"instant-open":"closed",[P]),E=i.useCallback(()=>{window.clearTimeout(h.current),h.current=0,x.current=!1,w(!0)},[w]),b=i.useCallback(()=>{window.clearTimeout(h.current),h.current=0,w(!1)},[w]),O=i.useCallback(()=>{window.clearTimeout(h.current),h.current=window.setTimeout(()=>{x.current=!0,w(!0),h.current=0},y)},[y,w]);return i.useEffect(()=>()=>{h.current&&(window.clearTimeout(h.current),h.current=0)},[]),p.jsx(Mt,{...l,children:p.jsx(Zt,{scope:t,contentId:v,open:P,stateAttribute:C,trigger:d,onTriggerChange:f,onTriggerEnter:i.useCallback(()=>{c.isOpenDelayed?O():E()},[c.isOpenDelayed,O,E]),onTriggerLeave:i.useCallback(()=>{m?b():(window.clearTimeout(h.current),h.current=0)},[b,m]),onOpen:E,onClose:b,disableHoverableContent:m,children:n})})};Fe.displayName=G;var J="TooltipTrigger",$e=i.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=F(J,n),s=ne(J,n),a=V(n),u=i.useRef(null),c=S(t,u,o.onTriggerChange),l=i.useRef(!1),d=i.useRef(!1),f=i.useCallback(()=>l.current=!1,[]);return i.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),p.jsx(Ft,{asChild:!0,...a,children:p.jsx(A.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:c,onPointerMove:_(e.onPointerMove,v=>{v.pointerType!=="touch"&&!d.current&&!s.isPointerInTransitRef.current&&(o.onTriggerEnter(),d.current=!0)}),onPointerLeave:_(e.onPointerLeave,()=>{o.onTriggerLeave(),d.current=!1}),onPointerDown:_(e.onPointerDown,()=>{l.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:_(e.onFocus,()=>{l.current||o.onOpen()}),onBlur:_(e.onBlur,o.onClose),onClick:_(e.onClick,o.onClose)})})});$e.displayName=J;var re="TooltipPortal",[Jt,Qt]=z(re,{forceMount:void 0}),He=e=>{const{__scopeTooltip:t,forceMount:n,children:r,container:o}=e,s=F(re,t);return p.jsx(Jt,{scope:t,forceMount:n,children:p.jsx(te,{present:n||s.open,children:p.jsx(Ie,{asChild:!0,container:o,children:r})})})};He.displayName=re;var I="TooltipContent",We=i.forwardRef((e,t)=>{const n=Qt(I,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...s}=e,a=F(I,e.__scopeTooltip);return p.jsx(te,{present:r||a.open,children:a.disableHoverableContent?p.jsx(Be,{side:o,...s,ref:t}):p.jsx(en,{side:o,...s,ref:t})})}),en=i.forwardRef((e,t)=>{const n=F(I,e.__scopeTooltip),r=ne(I,e.__scopeTooltip),o=i.useRef(null),s=S(t,o),[a,u]=i.useState(null),{trigger:c,onClose:l}=n,d=o.current,{onPointerInTransitChange:f}=r,v=i.useCallback(()=>{u(null),f(!1)},[f]),h=i.useCallback((m,y)=>{const x=m.currentTarget,P={x:m.clientX,y:m.clientY},w=rn(P,x.getBoundingClientRect()),C=on(P,w),E=sn(y.getBoundingClientRect()),b=cn([...C,...E]);u(b),f(!0)},[f]);return i.useEffect(()=>()=>v(),[v]),i.useEffect(()=>{if(c&&d){const m=x=>h(x,d),y=x=>h(x,c);return c.addEventListener("pointerleave",m),d.addEventListener("pointerleave",y),()=>{c.removeEventListener("pointerleave",m),d.removeEventListener("pointerleave",y)}}},[c,d,h,v]),i.useEffect(()=>{if(a){const m=y=>{const x=y.target,P={x:y.clientX,y:y.clientY},w=c?.contains(x)||d?.contains(x),C=!an(P,a);w?v():C&&(v(),l())};return document.addEventListener("pointermove",m),()=>document.removeEventListener("pointermove",m)}},[c,d,a,l,v]),p.jsx(Be,{...e,ref:s})}),[tn,nn]=z(G,{isInside:!1}),Be=i.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:s,onPointerDownOutside:a,...u}=e,c=F(I,n),l=V(n),{onClose:d}=c;return i.useEffect(()=>(document.addEventListener(Z,d),()=>document.removeEventListener(Z,d)),[d]),i.useEffect(()=>{if(c.trigger){const f=v=>{v.target?.contains(c.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[c.trigger,d]),p.jsx(Pe,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:a,onFocusOutside:f=>f.preventDefault(),onDismiss:d,children:p.jsxs($t,{"data-state":c.stateAttribute,...l,...u,ref:t,style:{...u.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[p.jsx(xe,{children:r}),p.jsx(tn,{scope:n,isInside:!0,children:p.jsx(Yt,{id:c.contentId,role:"tooltip",children:o||r})})]})})});We.displayName=I;var Ue="TooltipArrow",ze=i.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=V(n);return nn(Ue,n).isInside?null:p.jsx(Ht,{...o,...r,ref:t})});ze.displayName=Ue;function rn(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(n,r,o,s)){case s:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function on(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function sn(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function an(e,t){const{x:n,y:r}=e;let o=!1;for(let s=0,a=t.length-1;s<t.length;a=s++){const u=t[s].x,c=t[s].y,l=t[a].x,d=t[a].y;c>r!=d>r&&n<(l-u)*(r-c)/(d-c)+u&&(o=!o)}return o}function cn(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),ln(t)}function ln(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const s=t[t.length-1],a=t[t.length-2];if((s.x-a.x)*(o.y-a.y)>=(s.y-a.y)*(o.x-a.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const s=n[n.length-1],a=n[n.length-2];if((s.x-a.x)*(o.y-a.y)>=(s.y-a.y)*(o.x-a.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var un=Me,dn=Fe,pn=$e,fn=He,hn=We,vn=ze;const mn="_slideDownAndFade_fkagk_1",yn="_slideLeftAndFade_fkagk_1",gn="_slideUpAndFade_fkagk_1",xn="_slideRightAndFade_fkagk_1",wn={"purpur-tooltip":"_purpur-tooltip_fkagk_1","purpur-tooltip__content":"_purpur-tooltip__content_fkagk_4","purpur-tooltip__content--primary":"_purpur-tooltip__content--primary_fkagk_14","purpur-tooltip__content--primary-negative":"_purpur-tooltip__content--primary-negative_fkagk_17",slideDownAndFade:mn,slideLeftAndFade:yn,slideUpAndFade:gn,slideRightAndFade:xn,"purpur-tooltip__arrow--primary":"_purpur-tooltip__arrow--primary_fkagk_32","purpur-tooltip__arrow--primary-negative":"_purpur-tooltip__arrow--primary-negative_fkagk_35"},q=lt.c.bind(wn),Ve={TOP:"top",BOTTOM:"bottom",LEFT:"left",RIGHT:"right"},Ge={START:"start",CENTER:"center",END:"end"},L="purpur-tooltip",qe=Y.forwardRef(({["data-testid"]:e,buttonSize:t="md",children:n,className:r,contentClassName:o,negative:s=!1,position:a=Ve.TOP,align:u=Ge.CENTER,triggerAriaLabel:c,triggerElement:l,...d},f)=>{const[v,h]=Y.useState(!1),m=q(r,L,`${L}--primary${s?"-negative":""}`),y=p.jsx(le.Button,{ref:f,"aria-label":c??"","aria-expanded":v,variant:le.BUTTON_VARIANT.TERTIARY_PURPLE,negative:s,iconOnly:!0,"data-testid":`${e}-trigger-button`,size:t,children:p.jsx(at.r,{size:"md"})});return p.jsx("div",{"data-testid":e,className:m,children:p.jsx(un,{delayDuration:parseInt(ct.purpurMotionDuration400),children:p.jsxs(dn,{open:v,onOpenChange:h,...d,children:[p.jsx(pn,{asChild:!0,onClick:x=>{x.preventDefault(),h(!0)},children:l??y}),p.jsx(fn,{children:p.jsxs(hn,{side:a,align:u,className:q(o,`${L}__content`,`${L}__content--primary${s?"-negative":""}`),sideOffset:-5,"data-testid":`${e}-content`,children:[typeof n=="string"?p.jsx(ue.Paragraph,{variant:ue.ParagraphVariant.PARAGRAPH100,negative:!s,"data-testid":`${e}-paragraph`,children:n}):n,p.jsx(vn,{className:q(`${L}__arrow`,`${L}__arrow--primary${s?"-negative":""}`)})]})})]})})})});qe.displayName="Tooltip";exports.TOOLTIP_ALIGN=Ge;exports.TOOLTIP_POSITION=Ve;exports.Tooltip=qe;
2
- //# sourceMappingURL=tooltip-BatXMflw.js.map
1
+ "use strict";const p=require("react/jsx-runtime"),Y=require("react"),le=require("./button-DmybVApa.js"),at=require("./info.es-Br84jly5.js"),ue=require("./paragraph-BsI53OR0.js"),ct=require("./variables-BSBunpiY.js"),he=require("react-dom"),T=require("./floating-ui.react-dom-Cc_YSprQ.js"),lt=require("./bind-DeUYJ6m9.js");function ve(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const i=ve(Y),ut=ve(he);function _(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e?.(o),n===!1||!o.defaultPrevented)return t?.(o)}}function de(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function me(...e){return t=>{let n=!1;const r=e.map(o=>{const s=de(o,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let o=0;o<r.length;o++){const s=r[o];typeof s=="function"?s():de(e[o],null)}}}}function S(...e){return i.useCallback(me(...e),e)}function ye(e,t=[]){let n=[];function r(s,a){const u=i.createContext(a),c=n.length;n=[...n,a];const l=f=>{const{scope:v,children:h,...m}=f,y=v?.[e]?.[c]||u,x=i.useMemo(()=>m,Object.values(m));return p.jsx(y.Provider,{value:x,children:h})};l.displayName=s+"Provider";function d(f,v){const h=v?.[e]?.[c]||u,m=i.useContext(h);if(m)return m;if(a!==void 0)return a;throw new Error(`\`${f}\` must be used within \`${s}\``)}return[l,d]}const o=()=>{const s=n.map(a=>i.createContext(a));return function(u){const c=u?.[e]||s;return i.useMemo(()=>({[`__scope${e}`]:{...u,[e]:c}}),[u,c])}};return o.scopeName=e,[r,dt(o,...t)]}function dt(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(s){const a=r.reduce((u,{useScope:c,scopeName:l})=>{const f=c(s)[`__scope${l}`];return{...u,...f}},{});return i.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}var ge=i.forwardRef((e,t)=>{const{children:n,...r}=e,o=i.Children.toArray(n),s=o.find(pt);if(s){const a=s.props.children,u=o.map(c=>c===s?i.Children.count(a)>1?i.Children.only(null):i.isValidElement(a)?a.props.children:null:c);return p.jsx(X,{...r,ref:t,children:i.isValidElement(a)?i.cloneElement(a,void 0,u):null})}return p.jsx(X,{...r,ref:t,children:n})});ge.displayName="Slot";var X=i.forwardRef((e,t)=>{const{children:n,...r}=e;if(i.isValidElement(n)){const o=ht(n),s=ft(r,n.props);return n.type!==i.Fragment&&(s.ref=t?me(t,o):o),i.cloneElement(n,s)}return i.Children.count(n)>1?i.Children.only(null):null});X.displayName="SlotClone";var xe=({children:e})=>p.jsx(p.Fragment,{children:e});function pt(e){return i.isValidElement(e)&&e.type===xe}function ft(e,t){const n={...t};for(const r in t){const o=e[r],s=t[r];/^on[A-Z]/.test(r)?o&&s?n[r]=(...u)=>{s(...u),o(...u)}:o&&(n[r]=o):r==="style"?n[r]={...o,...s}:r==="className"&&(n[r]=[o,s].filter(Boolean).join(" "))}return{...e,...n}}function ht(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var vt=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],A=vt.reduce((e,t)=>{const n=i.forwardRef((r,o)=>{const{asChild:s,...a}=r,u=s?ge:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsx(u,{...a,ref:o})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function mt(e,t){e&&ut.flushSync(()=>e.dispatchEvent(t))}function j(e){const t=i.useRef(e);return i.useEffect(()=>{t.current=e}),i.useMemo(()=>(...n)=>t.current?.(...n),[])}function yt(e,t=globalThis?.document){const n=j(e);i.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var gt="DismissableLayer",K="dismissableLayer.update",xt="dismissableLayer.pointerDownOutside",wt="dismissableLayer.focusOutside",pe,we=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Pe=i.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:s,onInteractOutside:a,onDismiss:u,...c}=e,l=i.useContext(we),[d,f]=i.useState(null),v=d?.ownerDocument??globalThis?.document,[,h]=i.useState({}),m=S(t,g=>f(g)),y=Array.from(l.layers),[x]=[...l.layersWithOutsidePointerEventsDisabled].slice(-1),P=y.indexOf(x),w=d?y.indexOf(d):-1,C=l.layersWithOutsidePointerEventsDisabled.size>0,E=w>=P,b=Ct(g=>{const R=g.target,$=[...l.branches].some(k=>k.contains(R));!E||$||(o?.(g),a?.(g),g.defaultPrevented||u?.())},v),O=bt(g=>{const R=g.target;[...l.branches].some(k=>k.contains(R))||(s?.(g),a?.(g),g.defaultPrevented||u?.())},v);return yt(g=>{w===l.layers.size-1&&(r?.(g),!g.defaultPrevented&&u&&(g.preventDefault(),u()))},v),i.useEffect(()=>{if(d)return n&&(l.layersWithOutsidePointerEventsDisabled.size===0&&(pe=v.body.style.pointerEvents,v.body.style.pointerEvents="none"),l.layersWithOutsidePointerEventsDisabled.add(d)),l.layers.add(d),fe(),()=>{n&&l.layersWithOutsidePointerEventsDisabled.size===1&&(v.body.style.pointerEvents=pe)}},[d,v,n,l]),i.useEffect(()=>()=>{d&&(l.layers.delete(d),l.layersWithOutsidePointerEventsDisabled.delete(d),fe())},[d,l]),i.useEffect(()=>{const g=()=>h({});return document.addEventListener(K,g),()=>document.removeEventListener(K,g)},[]),p.jsx(A.div,{...c,ref:m,style:{pointerEvents:C?E?"auto":"none":void 0,...e.style},onFocusCapture:_(e.onFocusCapture,O.onFocusCapture),onBlurCapture:_(e.onBlurCapture,O.onBlurCapture),onPointerDownCapture:_(e.onPointerDownCapture,b.onPointerDownCapture)})});Pe.displayName=gt;var Pt="DismissableLayerBranch",Et=i.forwardRef((e,t)=>{const n=i.useContext(we),r=i.useRef(null),o=S(t,r);return i.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),p.jsx(A.div,{...e,ref:o})});Et.displayName=Pt;function Ct(e,t=globalThis?.document){const n=j(e),r=i.useRef(!1),o=i.useRef(()=>{});return i.useEffect(()=>{const s=u=>{if(u.target&&!r.current){let c=function(){Ee(xt,n,l,{discrete:!0})};const l={originalEvent:u};u.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=c,t.addEventListener("click",o.current,{once:!0})):c()}else t.removeEventListener("click",o.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",s),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function bt(e,t=globalThis?.document){const n=j(e),r=i.useRef(!1);return i.useEffect(()=>{const o=s=>{s.target&&!r.current&&Ee(wt,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function fe(){const e=new CustomEvent(K);document.dispatchEvent(e)}function Ee(e,t,n,{discrete:r}){const o=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?mt(o,s):o.dispatchEvent(s)}var N=globalThis?.document?i.useLayoutEffect:()=>{},Tt=i.useId||(()=>{}),_t=0;function Ot(e){const[t,n]=i.useState(Tt());return N(()=>{n(r=>r??String(_t++))},[e]),t?`radix-${t}`:""}var At="Arrow",Ce=i.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...s}=e;return p.jsx(A.svg,{...s,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:p.jsx("polygon",{points:"0,0 30,0 15,10"})})});Ce.displayName=At;var Rt=Ce;function Nt(e){const[t,n]=i.useState(void 0);return N(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const s=o[0];let a,u;if("borderBoxSize"in s){const c=s.borderBoxSize,l=Array.isArray(c)?c[0]:c;a=l.inlineSize,u=l.blockSize}else a=e.offsetWidth,u=e.offsetHeight;n({width:a,height:u})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Q="Popper",[be,Te]=ye(Q),[St,_e]=be(Q),Oe=e=>{const{__scopePopper:t,children:n}=e,[r,o]=i.useState(null);return p.jsx(St,{scope:t,anchor:r,onAnchorChange:o,children:n})};Oe.displayName=Q;var Ae="PopperAnchor",Re=i.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,s=_e(Ae,n),a=i.useRef(null),u=S(t,a);return i.useEffect(()=>{s.onAnchorChange(r?.current||a.current)}),r?null:p.jsx(A.div,{...o,ref:u})});Re.displayName=Ae;var ee="PopperContent",[Dt,Lt]=be(ee),Ne=i.forwardRef((e,t)=>{const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:s="center",alignOffset:a=0,arrowPadding:u=0,avoidCollisions:c=!0,collisionBoundary:l=[],collisionPadding:d=0,sticky:f="partial",hideWhenDetached:v=!1,updatePositionStrategy:h="optimized",onPlaced:m,...y}=e,x=_e(ee,n),[P,w]=i.useState(null),C=S(t,M=>w(M)),[E,b]=i.useState(null),O=Nt(E),g=O?.width??0,R=O?.height??0,$=r+(s!=="center"?"-"+s:""),k=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},oe=Array.isArray(l)?l:[l],Ye=oe.length>0,H={padding:k,boundary:oe.filter(jt),altBoundary:Ye},{refs:Xe,floatingStyles:se,placement:Ke,isPositioned:W,middlewareData:D}=T.useFloating({strategy:"fixed",placement:$,whileElementsMounted:(...M)=>T.autoUpdate(...M,{animationFrame:h==="always"}),elements:{reference:x.anchor},middleware:[T.offset({mainAxis:o+R,alignmentAxis:a}),c&&T.shift({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?T.limitShift():void 0,...H}),c&&T.flip({...H}),T.size({...H,apply:({elements:M,rects:ce,availableWidth:rt,availableHeight:ot})=>{const{width:st,height:it}=ce.reference,B=M.floating.style;B.setProperty("--radix-popper-available-width",`${rt}px`),B.setProperty("--radix-popper-available-height",`${ot}px`),B.setProperty("--radix-popper-anchor-width",`${st}px`),B.setProperty("--radix-popper-anchor-height",`${it}px`)}}),E&&T.arrow({element:E,padding:u}),kt({arrowWidth:g,arrowHeight:R}),v&&T.hide({strategy:"referenceHidden",...H})]}),[ie,Ze]=Le(Ke),ae=j(m);N(()=>{W&&ae?.()},[W,ae]);const Je=D.arrow?.x,Qe=D.arrow?.y,et=D.arrow?.centerOffset!==0,[tt,nt]=i.useState();return N(()=>{P&&nt(window.getComputedStyle(P).zIndex)},[P]),p.jsx("div",{ref:Xe.setFloating,"data-radix-popper-content-wrapper":"",style:{...se,transform:W?se.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:tt,"--radix-popper-transform-origin":[D.transformOrigin?.x,D.transformOrigin?.y].join(" "),...D.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:p.jsx(Dt,{scope:n,placedSide:ie,onArrowChange:b,arrowX:Je,arrowY:Qe,shouldHideArrow:et,children:p.jsx(A.div,{"data-side":ie,"data-align":Ze,...y,ref:C,style:{...y.style,animation:W?void 0:"none"}})})})});Ne.displayName=ee;var Se="PopperArrow",It={top:"bottom",right:"left",bottom:"top",left:"right"},De=i.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,s=Lt(Se,r),a=It[s.placedSide];return p.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:p.jsx(Rt,{...o,ref:n,style:{...o.style,display:"block"}})})});De.displayName=Se;function jt(e){return e!==null}var kt=e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:r,middlewareData:o}=t,a=o.arrow?.centerOffset!==0,u=a?0:e.arrowWidth,c=a?0:e.arrowHeight,[l,d]=Le(n),f={start:"0%",center:"50%",end:"100%"}[d],v=(o.arrow?.x??0)+u/2,h=(o.arrow?.y??0)+c/2;let m="",y="";return l==="bottom"?(m=a?f:`${v}px`,y=`${-c}px`):l==="top"?(m=a?f:`${v}px`,y=`${r.floating.height+c}px`):l==="right"?(m=`${-c}px`,y=a?f:`${h}px`):l==="left"&&(m=`${r.floating.width+c}px`,y=a?f:`${h}px`),{data:{x:m,y}}}});function Le(e){const[t,n="center"]=e.split("-");return[t,n]}var Mt=Oe,Ft=Re,$t=Ne,Ht=De,Wt="Portal",Ie=i.forwardRef((e,t)=>{const{container:n,...r}=e,[o,s]=i.useState(!1);N(()=>s(!0),[]);const a=n||o&&globalThis?.document?.body;return a?he.createPortal(p.jsx(A.div,{...r,ref:t}),a):null});Ie.displayName=Wt;function Bt(e,t){return i.useReducer((n,r)=>t[n][r]??n,e)}var te=e=>{const{present:t,children:n}=e,r=Ut(t),o=typeof n=="function"?n({present:r.isPresent}):i.Children.only(n),s=S(r.ref,zt(o));return typeof n=="function"||r.isPresent?i.cloneElement(o,{ref:s}):null};te.displayName="Presence";function Ut(e){const[t,n]=i.useState(),r=i.useRef({}),o=i.useRef(e),s=i.useRef("none"),a=e?"mounted":"unmounted",[u,c]=Bt(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return i.useEffect(()=>{const l=U(r.current);s.current=u==="mounted"?l:"none"},[u]),N(()=>{const l=r.current,d=o.current;if(d!==e){const v=s.current,h=U(l);e?c("MOUNT"):h==="none"||l?.display==="none"?c("UNMOUNT"):c(d&&v!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,c]),N(()=>{if(t){let l;const d=t.ownerDocument.defaultView??window,f=h=>{const y=U(r.current).includes(h.animationName);if(h.target===t&&y&&(c("ANIMATION_END"),!o.current)){const x=t.style.animationFillMode;t.style.animationFillMode="forwards",l=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=x)})}},v=h=>{h.target===t&&(s.current=U(r.current))};return t.addEventListener("animationstart",v),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{d.clearTimeout(l),t.removeEventListener("animationstart",v),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:i.useCallback(l=>{l&&(r.current=getComputedStyle(l)),n(l)},[])}}function U(e){return e?.animationName||"none"}function zt(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function Vt({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,o]=Gt({defaultProp:t,onChange:n}),s=e!==void 0,a=s?e:r,u=j(n),c=i.useCallback(l=>{if(s){const f=typeof l=="function"?l(e):l;f!==e&&u(f)}else o(l)},[s,e,o,u]);return[a,c]}function Gt({defaultProp:e,onChange:t}){const n=i.useState(e),[r]=n,o=i.useRef(r),s=j(t);return i.useEffect(()=>{o.current!==r&&(s(r),o.current=r)},[r,o,s]),n}var qt="VisuallyHidden",je=i.forwardRef((e,t)=>p.jsx(A.span,{...e,ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));je.displayName=qt;var Yt=je,[z]=ye("Tooltip",[Te]),V=Te(),ke="TooltipProvider",Xt=700,Z="tooltip.open",[Kt,ne]=z(ke),Me=e=>{const{__scopeTooltip:t,delayDuration:n=Xt,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:s}=e,[a,u]=i.useState(!0),c=i.useRef(!1),l=i.useRef(0);return i.useEffect(()=>{const d=l.current;return()=>window.clearTimeout(d)},[]),p.jsx(Kt,{scope:t,isOpenDelayed:a,delayDuration:n,onOpen:i.useCallback(()=>{window.clearTimeout(l.current),u(!1)},[]),onClose:i.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>u(!0),r)},[r]),isPointerInTransitRef:c,onPointerInTransitChange:i.useCallback(d=>{c.current=d},[]),disableHoverableContent:o,children:s})};Me.displayName=ke;var G="Tooltip",[Zt,F]=z(G),Fe=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:o=!1,onOpenChange:s,disableHoverableContent:a,delayDuration:u}=e,c=ne(G,e.__scopeTooltip),l=V(t),[d,f]=i.useState(null),v=Ot(),h=i.useRef(0),m=a??c.disableHoverableContent,y=u??c.delayDuration,x=i.useRef(!1),[P=!1,w]=Vt({prop:r,defaultProp:o,onChange:g=>{g?(c.onOpen(),document.dispatchEvent(new CustomEvent(Z))):c.onClose(),s?.(g)}}),C=i.useMemo(()=>P?x.current?"delayed-open":"instant-open":"closed",[P]),E=i.useCallback(()=>{window.clearTimeout(h.current),h.current=0,x.current=!1,w(!0)},[w]),b=i.useCallback(()=>{window.clearTimeout(h.current),h.current=0,w(!1)},[w]),O=i.useCallback(()=>{window.clearTimeout(h.current),h.current=window.setTimeout(()=>{x.current=!0,w(!0),h.current=0},y)},[y,w]);return i.useEffect(()=>()=>{h.current&&(window.clearTimeout(h.current),h.current=0)},[]),p.jsx(Mt,{...l,children:p.jsx(Zt,{scope:t,contentId:v,open:P,stateAttribute:C,trigger:d,onTriggerChange:f,onTriggerEnter:i.useCallback(()=>{c.isOpenDelayed?O():E()},[c.isOpenDelayed,O,E]),onTriggerLeave:i.useCallback(()=>{m?b():(window.clearTimeout(h.current),h.current=0)},[b,m]),onOpen:E,onClose:b,disableHoverableContent:m,children:n})})};Fe.displayName=G;var J="TooltipTrigger",$e=i.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=F(J,n),s=ne(J,n),a=V(n),u=i.useRef(null),c=S(t,u,o.onTriggerChange),l=i.useRef(!1),d=i.useRef(!1),f=i.useCallback(()=>l.current=!1,[]);return i.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),p.jsx(Ft,{asChild:!0,...a,children:p.jsx(A.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:c,onPointerMove:_(e.onPointerMove,v=>{v.pointerType!=="touch"&&!d.current&&!s.isPointerInTransitRef.current&&(o.onTriggerEnter(),d.current=!0)}),onPointerLeave:_(e.onPointerLeave,()=>{o.onTriggerLeave(),d.current=!1}),onPointerDown:_(e.onPointerDown,()=>{l.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:_(e.onFocus,()=>{l.current||o.onOpen()}),onBlur:_(e.onBlur,o.onClose),onClick:_(e.onClick,o.onClose)})})});$e.displayName=J;var re="TooltipPortal",[Jt,Qt]=z(re,{forceMount:void 0}),He=e=>{const{__scopeTooltip:t,forceMount:n,children:r,container:o}=e,s=F(re,t);return p.jsx(Jt,{scope:t,forceMount:n,children:p.jsx(te,{present:n||s.open,children:p.jsx(Ie,{asChild:!0,container:o,children:r})})})};He.displayName=re;var I="TooltipContent",We=i.forwardRef((e,t)=>{const n=Qt(I,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...s}=e,a=F(I,e.__scopeTooltip);return p.jsx(te,{present:r||a.open,children:a.disableHoverableContent?p.jsx(Be,{side:o,...s,ref:t}):p.jsx(en,{side:o,...s,ref:t})})}),en=i.forwardRef((e,t)=>{const n=F(I,e.__scopeTooltip),r=ne(I,e.__scopeTooltip),o=i.useRef(null),s=S(t,o),[a,u]=i.useState(null),{trigger:c,onClose:l}=n,d=o.current,{onPointerInTransitChange:f}=r,v=i.useCallback(()=>{u(null),f(!1)},[f]),h=i.useCallback((m,y)=>{const x=m.currentTarget,P={x:m.clientX,y:m.clientY},w=rn(P,x.getBoundingClientRect()),C=on(P,w),E=sn(y.getBoundingClientRect()),b=cn([...C,...E]);u(b),f(!0)},[f]);return i.useEffect(()=>()=>v(),[v]),i.useEffect(()=>{if(c&&d){const m=x=>h(x,d),y=x=>h(x,c);return c.addEventListener("pointerleave",m),d.addEventListener("pointerleave",y),()=>{c.removeEventListener("pointerleave",m),d.removeEventListener("pointerleave",y)}}},[c,d,h,v]),i.useEffect(()=>{if(a){const m=y=>{const x=y.target,P={x:y.clientX,y:y.clientY},w=c?.contains(x)||d?.contains(x),C=!an(P,a);w?v():C&&(v(),l())};return document.addEventListener("pointermove",m),()=>document.removeEventListener("pointermove",m)}},[c,d,a,l,v]),p.jsx(Be,{...e,ref:s})}),[tn,nn]=z(G,{isInside:!1}),Be=i.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:s,onPointerDownOutside:a,...u}=e,c=F(I,n),l=V(n),{onClose:d}=c;return i.useEffect(()=>(document.addEventListener(Z,d),()=>document.removeEventListener(Z,d)),[d]),i.useEffect(()=>{if(c.trigger){const f=v=>{v.target?.contains(c.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[c.trigger,d]),p.jsx(Pe,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:a,onFocusOutside:f=>f.preventDefault(),onDismiss:d,children:p.jsxs($t,{"data-state":c.stateAttribute,...l,...u,ref:t,style:{...u.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[p.jsx(xe,{children:r}),p.jsx(tn,{scope:n,isInside:!0,children:p.jsx(Yt,{id:c.contentId,role:"tooltip",children:o||r})})]})})});We.displayName=I;var Ue="TooltipArrow",ze=i.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=V(n);return nn(Ue,n).isInside?null:p.jsx(Ht,{...o,...r,ref:t})});ze.displayName=Ue;function rn(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(n,r,o,s)){case s:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function on(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function sn(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function an(e,t){const{x:n,y:r}=e;let o=!1;for(let s=0,a=t.length-1;s<t.length;a=s++){const u=t[s].x,c=t[s].y,l=t[a].x,d=t[a].y;c>r!=d>r&&n<(l-u)*(r-c)/(d-c)+u&&(o=!o)}return o}function cn(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),ln(t)}function ln(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const s=t[t.length-1],a=t[t.length-2];if((s.x-a.x)*(o.y-a.y)>=(s.y-a.y)*(o.x-a.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const s=n[n.length-1],a=n[n.length-2];if((s.x-a.x)*(o.y-a.y)>=(s.y-a.y)*(o.x-a.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var un=Me,dn=Fe,pn=$e,fn=He,hn=We,vn=ze;const mn="_slideDownAndFade_fkagk_1",yn="_slideLeftAndFade_fkagk_1",gn="_slideUpAndFade_fkagk_1",xn="_slideRightAndFade_fkagk_1",wn={"purpur-tooltip":"_purpur-tooltip_fkagk_1","purpur-tooltip__content":"_purpur-tooltip__content_fkagk_4","purpur-tooltip__content--primary":"_purpur-tooltip__content--primary_fkagk_14","purpur-tooltip__content--primary-negative":"_purpur-tooltip__content--primary-negative_fkagk_17",slideDownAndFade:mn,slideLeftAndFade:yn,slideUpAndFade:gn,slideRightAndFade:xn,"purpur-tooltip__arrow--primary":"_purpur-tooltip__arrow--primary_fkagk_32","purpur-tooltip__arrow--primary-negative":"_purpur-tooltip__arrow--primary-negative_fkagk_35"},q=lt.c.bind(wn),Ve={TOP:"top",BOTTOM:"bottom",LEFT:"left",RIGHT:"right"},Ge={START:"start",CENTER:"center",END:"end"},L="purpur-tooltip",qe=Y.forwardRef(({["data-testid"]:e,buttonSize:t="md",children:n,className:r,contentClassName:o,negative:s=!1,position:a=Ve.TOP,align:u=Ge.CENTER,triggerAriaLabel:c,triggerElement:l,...d},f)=>{const[v,h]=Y.useState(!1),m=q(r,L,`${L}--primary${s?"-negative":""}`),y=p.jsx(le.Button,{ref:f,"aria-label":c??"","aria-expanded":v,variant:le.BUTTON_VARIANT.TERTIARY_PURPLE,negative:s,iconOnly:!0,"data-testid":`${e}-trigger-button`,size:t,children:p.jsx(at.r,{size:"md"})});return p.jsx("div",{"data-testid":e,className:m,children:p.jsx(un,{delayDuration:parseInt(ct.purpurMotionDuration400),children:p.jsxs(dn,{open:v,onOpenChange:h,...d,children:[p.jsx(pn,{asChild:!0,onClick:x=>{x.preventDefault(),h(!0)},children:l??y}),p.jsx(fn,{children:p.jsxs(hn,{side:a,align:u,className:q(o,`${L}__content`,`${L}__content--primary${s?"-negative":""}`),sideOffset:-5,"data-testid":`${e}-content`,children:[typeof n=="string"?p.jsx(ue.Paragraph,{variant:ue.ParagraphVariant.PARAGRAPH100,negative:!s,"data-testid":`${e}-paragraph`,children:n}):n,p.jsx(vn,{className:q(`${L}__arrow`,`${L}__arrow--primary${s?"-negative":""}`)})]})})]})})})});qe.displayName="Tooltip";exports.TOOLTIP_ALIGN=Ge;exports.TOOLTIP_POSITION=Ve;exports.Tooltip=qe;
2
+ //# sourceMappingURL=tooltip-0pLBlDG3.js.map