@getmicdrop/venue-calendar 4.3.136 → 4.3.139

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 (314) hide show
  1. package/README.md +895 -840
  2. package/dist/AddOnCard-Dlt_4lut.js +475 -0
  3. package/dist/AppError-t1LnBwj_.js +30 -0
  4. package/dist/{ArrowLeftIcon-OhmQKtD4.js → ArrowLeftIcon-P8BRVhVl.js} +2 -3
  5. package/dist/Badge-CmYqIClC.js +51 -0
  6. package/dist/BottomSheet-D27k0B05.js +154 -0
  7. package/dist/Button-Ch5dRGa2.js +149 -0
  8. package/dist/Button-DpeQSoQ7.js +247 -0
  9. package/dist/Calendar-CNWS2xiR.js +396 -0
  10. package/dist/CalendarFoundryView-B5puOxH5.js +16431 -0
  11. package/dist/{CalendarIcon-DCLzgpBo.js → CalendarIcon-MAVEqtql.js} +2 -3
  12. package/dist/{ChevronDownOutline-D7YDiKBF.js → CalendarOutline-CApIWx8i.js} +2 -3
  13. package/dist/{ChartBlock-SYOAO1s_.js → ChartBlock-vihMKVdW.js} +85 -112
  14. package/dist/{CheckIcon-BjPbytbt.js → CheckIcon-BH9EAoee.js} +2 -3
  15. package/dist/{Checkout-JdT81S88.js → Checkout-B2FvX6Af.js} +356 -368
  16. package/dist/Checkout-y0x-v-XH.js +1995 -0
  17. package/dist/{ChevronDownIcon-O-Q8C_Qg.js → ChevronDownIcon-Bkts84qA.js} +2 -3
  18. package/dist/{ChevronRightOutline-CiG8UHni.js → ChevronRightOutline-D-5Qw6-Y.js} +2 -4
  19. package/dist/CloseIcon-DRlYvIPc.js +24 -0
  20. package/dist/{CloseOutline-qpVa62mu.js → CloseOutline-Bh9UO94v.js} +1 -2
  21. package/dist/CollectionView-CcLlV-1f.js +129 -0
  22. package/dist/CropImage-DqLAGy5s.js +547 -0
  23. package/dist/DatePicker-D20Te0JY.js +657 -0
  24. package/dist/{EmptyState-CMFePII9.js → EmptyState-BhK78ogy.js} +10 -12
  25. package/dist/{Event-BHnHfeO-.js → Event-DoIU0o6C.js} +1199 -1202
  26. package/dist/{EventCard-DIFJADV7.js → EventCard-B8MYLyIW.js} +15 -15
  27. package/dist/EventPage-DM4tjCcL.js +1298 -0
  28. package/dist/{ExclamationCircleOutline-D3XbhOwM.js → ExclamationCircleOutline-CPelT1Bu.js} +1 -2
  29. package/dist/FilterChipGroup-BCjc7-pE.js +103 -0
  30. package/dist/Grid-DRRXcWRE.js +41 -0
  31. package/dist/{Heading-vOVPxhJF.js → Heading-WcF3Rh3o.js} +4 -6
  32. package/dist/Image-dhbgrhG-.js +89 -0
  33. package/dist/ImageUploader-BzxKIyLN.js +999 -0
  34. package/dist/{Input-BG9DbwUe.js → Input-Bp5EgI1F.js} +47 -45
  35. package/dist/LiveRegion-Ds0mjIVj.js +17 -0
  36. package/dist/{LocationIcon-BEx96ng8.js → LocationIcon-BNPEzWv2.js} +3 -5
  37. package/dist/Modal-C6EXgkuF.js +159 -0
  38. package/dist/ModalFooter-C4TD3-zP.js +299 -0
  39. package/dist/ModalTitle-BP4Bm3sA.js +26 -0
  40. package/dist/{PasswordInput-BQdpZ9HL.js → PasswordInput-BlzSrkPs.js} +11 -13
  41. package/dist/{PhoneInput-5l-M5ykF.js → PhoneInput-_ByjRGQ0.js} +80 -89
  42. package/dist/{RecommendationsRail-BRthm1Iu.js → RecommendationsRail-BDNnbL-p.js} +161 -172
  43. package/dist/RequiredIndicator-CRZ_coyR.js +16 -0
  44. package/dist/Search-vhGEpog6.js +82 -0
  45. package/dist/SearchIcon-BzOhoKm8.js +24 -0
  46. package/dist/SeriesPage-YE8czX1M.js +32 -0
  47. package/dist/SheetHandle-CCfYCPbY.js +66 -0
  48. package/dist/SkeletonLoader-Beh2izdy.js +121 -0
  49. package/dist/Spinner-DgubkWKo.js +88 -0
  50. package/dist/Stack-Ck1wrJ0l.js +34 -0
  51. package/dist/{Success-DWdMk7gp.js → Success-CN5HB8gN.js} +271 -305
  52. package/dist/{TagIcon-BIJYPXYq.js → TagIcon-Dp7n6eKU.js} +2 -3
  53. package/dist/TimePicker-BDuy9Ap8.js +215 -0
  54. package/dist/ValidationError-BxKB_SVA.js +48 -0
  55. package/dist/{ViewTicketsEmbed-CjH3N_VJ.js → ViewTicketsEmbed-DvoMIiKJ.js} +226 -244
  56. package/dist/{WarningCircleIcon-Uuc8KHJN.js → WarningCircleIcon-jC3nXehu.js} +4 -7
  57. package/dist/{WarningTriIcon-SX24XObM.js → WarningTriIcon-BMa-jcUr.js} +2 -3
  58. package/dist/address-field-DOalICpt.js +295 -0
  59. package/dist/{href-ZuPjzr6t.js → allowlist-DinkGF2L.js} +254 -316
  60. package/dist/api/api.cjs +1 -1
  61. package/dist/api/api.mjs +331 -322
  62. package/dist/api/client.d.ts +14 -53
  63. package/dist/api/cta.d.ts +4 -0
  64. package/dist/api/events.d.ts +28 -1
  65. package/dist/api/result.d.ts +9 -0
  66. package/dist/api-CsAx0rmV.js +507 -0
  67. package/dist/avatar-picker-field-CV4vRxTB.js +115 -0
  68. package/dist/{browser-BzcyBbWS.js → browser-DEUBVMmV.js} +8 -9
  69. package/dist/bundle-mjs-COnlheJX.js +1776 -0
  70. package/dist/{buyerEmail-BfCq-gDt.js → buyerEmail-CvPpEiON.js} +2 -3
  71. package/dist/checkout-libs/4.3.139/phone.js +6 -0
  72. package/dist/checkout-libs/{4.3.136 → 4.3.139}/qrcode.js +3 -3
  73. package/dist/{checkoutState-wrwq9TD7.js → checkoutState-DSx7g3Vy.js} +18 -30
  74. package/dist/classNames-CPSQ9uy4.js +25 -0
  75. package/dist/clickOutside-D448uRpo.js +22 -0
  76. package/dist/{client-SmFkruvn.js → client-SaDt6559.js} +22 -19
  77. package/dist/colors-CdP193E5.js +106 -0
  78. package/dist/colors-D67OMr_8.js +22 -0
  79. package/dist/{constants-D_7LswXe.js → constants-sRRJh0u-.js} +3 -5
  80. package/dist/controlAria-Do9QK0WI.js +13 -0
  81. package/dist/{copyToClipboard-BzoArVPb.js → copyToClipboard-CjNjDZeW.js} +3 -5
  82. package/dist/createErrorGate.svelte-DUXI6Yor.js +82 -0
  83. package/dist/date-field-DylJx0y7.js +88 -0
  84. package/dist/date-range-field-BOV1V2ab.js +163 -0
  85. package/dist/{de-DC0pKC1H.js → de-CzkX3H3B.js} +2 -2
  86. package/dist/{de-BbjhLBzm.js → de-vKpbo9Zl.js} +1 -2
  87. package/dist/defaultLabels-DLK6rq4q.js +564 -0
  88. package/dist/defaults-Cbuin1WS.js +147 -0
  89. package/dist/deprecation-BCjqE5lW.js +4 -0
  90. package/dist/{dist-bwbfGPKR.js → dist-Dptst9ym.js} +2 -4
  91. package/dist/{es-38yS4d3G.js → es-8qe0Mo-8.js} +1 -2
  92. package/dist/{es-DxoJfXOC.js → es-BOLzv8eD.js} +2 -2
  93. package/dist/{event-DXsgCbu0.js → event-ClsLWtR0.js} +3 -4
  94. package/dist/event-transform-Cs63X0hI.js +250 -0
  95. package/dist/{eventStatusStream-JWP2AXnQ.js → eventStatusStream-BAh5nJP2.js} +4 -7
  96. package/dist/field-rules-Yb2JY1qT.js +416 -0
  97. package/dist/file-field-Dwo80kDg.js +210 -0
  98. package/dist/{filepond-plugin-file-validate-size-DNnItZ84.js → filepond-plugin-file-validate-size-CuNOjGbP.js} +20 -27
  99. package/dist/{filepond-plugin-file-validate-type-CUMTkI8X.js → filepond-plugin-file-validate-type-CVtQwdIK.js} +25 -27
  100. package/dist/{filepond-plugin-image-exif-orientation-GEwHZTBU.js → filepond-plugin-image-exif-orientation-CMPs7yGQ.js} +21 -23
  101. package/dist/{filepond-plugin-image-preview-DKfgAnVa.js → filepond-plugin-image-preview-DKsOZAGe.js} +12 -27
  102. package/dist/{floatingPosition-XIv5DYuP.js → floatingPosition-BCUPmGCN.js} +8 -13
  103. package/dist/format-CehusdDg.js +1718 -0
  104. package/dist/formatters-DUWbI_Eg.js +103 -0
  105. package/dist/foundryRuntime-DKyfdkUY.js +13 -0
  106. package/dist/{fr-LivMhlfx.js → fr-BmpShjUG.js} +1 -2
  107. package/dist/{fr-DCdoZpLm.js → fr-DYTIBBXo.js} +2 -2
  108. package/dist/{gate-password-cache-oOcDm9Ki.js → gate-password-cache-zIbewXQ2.js} +1 -2
  109. package/dist/hexToHsl-D-BPy03y.js +24 -0
  110. package/dist/href-BXhNawil.js +18 -0
  111. package/dist/i18n-BNF6a-QA.js +720 -0
  112. package/dist/i18n-F_QOaHVh.js +26 -0
  113. package/dist/iconWeight-BRXEDAh2.js +12 -0
  114. package/dist/{id-XuEVsPu6.js → id-CIyIkGhH.js} +2 -2
  115. package/dist/{id-BvOr8-aw.js → id-_6GFAYBn.js} +1 -2
  116. package/dist/image-field-DeLzsJlz.js +139 -0
  117. package/dist/{imageUrl-xyMedKrE.js → imageUrl-iAS2Xo17.js} +1 -2
  118. package/dist/{it-RdUTxnO5.js → it-CF4Db_nK.js} +2 -2
  119. package/dist/{it-mzikQJIm.js → it-Dc-H_PdY.js} +1 -2
  120. package/dist/{ja-DgVJimHs.js → ja-5-7WNHD1.js} +2 -2
  121. package/dist/{ja-D9PSUNMd.js → ja-Cobhk-xH.js} +1 -2
  122. package/dist/keyboard-Dk2PfrEz.js +28 -0
  123. package/dist/{ko-DEgW43V6.js → ko-CyTlg6vA.js} +1 -2
  124. package/dist/{ko-CcPM8_aU.js → ko-huIzHR3W.js} +2 -2
  125. package/dist/labels-CjSrA6gx.js +9 -0
  126. package/dist/{lazyOnce-CCfEO1xG.js → lazyOnce-jG8k1apa.js} +1 -2
  127. package/dist/loaders.static-Bw9asjrm.js +3 -0
  128. package/dist/locales/4.3.139/main/de.js +1 -0
  129. package/dist/locales/4.3.139/main/es.js +1 -0
  130. package/dist/locales/4.3.139/main/fr.js +1 -0
  131. package/dist/locales/4.3.139/main/id.js +1 -0
  132. package/dist/locales/4.3.139/main/it.js +1 -0
  133. package/dist/locales/4.3.139/main/ja.js +1 -0
  134. package/dist/locales/4.3.139/main/ko.js +1 -0
  135. package/dist/locales/4.3.139/main/nl.js +1 -0
  136. package/dist/locales/4.3.139/main/pl.js +1 -0
  137. package/dist/locales/4.3.139/main/pt-br.js +1 -0
  138. package/dist/locales/4.3.139/main/tr.js +1 -0
  139. package/dist/locales/4.3.139/main/zh.js +1 -0
  140. package/dist/logger-DM8WW61-.js +89 -0
  141. package/dist/look-island.svelte-D87MvHNy.js +1296 -0
  142. package/dist/look-names-B9MywEzX.js +185 -0
  143. package/dist/looks/4.3.139/AddOnCard-CKdkGcHH.js +1 -0
  144. package/dist/looks/4.3.139/Checkout-D7CaFYTE.js +1 -0
  145. package/dist/looks/4.3.139/Checkout-DuP46PMi.js +3 -0
  146. package/dist/looks/4.3.139/CollectionView-CWm57JCx.js +1 -0
  147. package/dist/looks/4.3.139/Event-ePupb4qY.js +8 -0
  148. package/dist/looks/4.3.139/EventPage-CgexXhEU.js +1 -0
  149. package/dist/looks/4.3.139/RecommendationsRail-Bz-Mj_r4.js +2 -0
  150. package/dist/looks/4.3.139/SeriesPage-DI2uFF0Y.js +1 -0
  151. package/dist/looks/4.3.139/Success-BkMzmgmc.js +3 -0
  152. package/dist/looks/4.3.139/ViewTicketsEmbed-CbEJwRry.js +1 -0
  153. package/dist/looks/4.3.139/_vc-foundry-calendar-stub-BVbAFEK2.js +1 -0
  154. package/dist/looks/4.3.139/buyerEmail-CqCYa9UL.js +1 -0
  155. package/dist/looks/4.3.139/constants-CU_ZgyQu.js +3 -0
  156. package/dist/looks/4.3.139/defaults-B46SFFK4.js +2 -0
  157. package/dist/looks/4.3.139/dist-BWGSqtWN.js +1 -0
  158. package/dist/looks/4.3.139/eventStatusStream-CW5lJwsa.js +10 -0
  159. package/dist/looks/4.3.139/first-core-DrYq9wBy.js +151 -0
  160. package/dist/looks/4.3.139/first-mount.svelte-DFSLaJWm.js +1 -0
  161. package/dist/looks/4.3.139/first-seo-DvHuCXT6.js +1 -0
  162. package/dist/looks/4.3.139/first.js +1 -0
  163. package/dist/looks/4.3.139/full-widget-DDBk3i4U.js +2 -0
  164. package/dist/looks/4.3.139/gate-password-cache-D4Zls6QM.js +1 -0
  165. package/dist/looks/4.3.139/i18n-DRaFNYsQ.js +1 -0
  166. package/dist/looks/4.3.139/listing-BSaRTkxW.js +1 -0
  167. package/dist/looks/4.3.139/loaders.runtime-BNG8O6-A.js +1 -0
  168. package/dist/looks/4.3.139/looks.js +1 -0
  169. package/dist/looks/4.3.139/modalManager.svelte-CqQWYz9Y.js +1 -0
  170. package/dist/looks/4.3.139/rolldown-runtime-4tVxZq34.js +1 -0
  171. package/dist/looks/4.3.139/serverTotals-Bu1fAPLB.js +1 -0
  172. package/dist/looks/4.3.139/showcase-state-options-CpCMAKVD.js +1 -0
  173. package/dist/looks/4.3.139/utils-pGRhH4A-.js +1 -0
  174. package/dist/media-field-PW8ye6EL.js +65 -0
  175. package/dist/modalManager.svelte-BHE0t9q3.js +79 -0
  176. package/dist/multiselect-field-CmocFs5f.js +61 -0
  177. package/dist/navigation-B8rkS2On.js +348 -0
  178. package/dist/{nl-DdxH5fLm.js → nl-B1dv1lqk.js} +2 -2
  179. package/dist/{nl-DjFukZvI.js → nl-BObQMscG.js} +1 -2
  180. package/dist/{normalizers-CqGXhPZo.js → normalizers-WYh8Nr3V.js} +3 -5
  181. package/dist/number-field-CUD936Ai.js +126 -0
  182. package/dist/numeric-filter-field-BmgSYhOt.js +131 -0
  183. package/dist/password-field-BfvcZUi_.js +157 -0
  184. package/dist/phone-CVYVhLn8.js +5 -0
  185. package/dist/phone-field-DO0U_YZ6.js +128 -0
  186. package/dist/{phoneShape-DlWC17He.js → phoneShape-VqbamHOn.js} +1 -2
  187. package/dist/{phoneUtils-CL8tIxoM.js → phoneUtils-BhOvrS4S.js} +133 -193
  188. package/dist/{pixels-DO7kbZa_.js → pixels-ipedGW6i.js} +18 -24
  189. package/dist/{pl-B99nQZCh.js → pl-DLlM_IPo.js} +2 -2
  190. package/dist/{pl-COAiNJDs.js → pl-_Sbz4Ou-.js} +1 -2
  191. package/dist/portal-BSuo4flQ.js +64 -0
  192. package/dist/portalContainment-DSZUw-No.js +78 -0
  193. package/dist/{pt-br-jT56QM8s.js → pt-br-8V3mf7pu.js} +2 -2
  194. package/dist/{pt-br-_KntrgGE.js → pt-br-CpmhafxS.js} +1 -2
  195. package/dist/qrcode-By7ce_6K.js +5 -0
  196. package/dist/repeating-field-BwtJ6VS1.js +488 -0
  197. package/dist/richtext-field-DvLCxPvq.js +212 -0
  198. package/dist/{rolldown-runtime-DtPi1Y-2.js → rolldown-runtime-CYdcPHCu.js} +2 -3
  199. package/dist/scarcity-DfQvyhJP.js +165 -0
  200. package/dist/searchable-select-field-zuIqfoQM.js +138 -0
  201. package/dist/select-field-DNNN-a9q.js +72 -0
  202. package/dist/seo/HostSeoController.d.ts +13 -0
  203. package/dist/seo/seo.cjs +1 -1
  204. package/dist/seo/seo.mjs +42 -53
  205. package/dist/seo/types.d.ts +4 -1
  206. package/dist/serverTotals-BprgDwOw.js +950 -0
  207. package/dist/{showcase-state-options-D5UTR7zF.js → showcase-state-options-bKRf48yz.js} +5 -5
  208. package/dist/sizing-Chy28j6-.js +61 -0
  209. package/dist/{sortable.esm--ZtTTTPp.js → sortable.esm-Wq6bSSEz.js} +29 -49
  210. package/dist/spacing-Y1dLegqt.js +48 -0
  211. package/dist/{src-DZgagYE3.js → src-BpVpi-n3.js} +256 -398
  212. package/dist/time-field-DmPCoppV.js +53 -0
  213. package/dist/to-event-card-props-KVcCJ2JF.js +245 -0
  214. package/dist/{tr-8IIuKwpQ.js → tr-CN8DGCc-.js} +1 -2
  215. package/dist/{tr-B5sI__p7.js → tr-DiUEV65j.js} +2 -2
  216. package/dist/transitions-DST-mWoo.js +201 -0
  217. package/dist/tree-picker-field-BJwSFAqm.js +344 -0
  218. package/dist/types/index.d.ts +5 -1
  219. package/dist/typography-CKwYSv07.js +57 -0
  220. package/dist/{utils-S6mZHEaC.js → utils-x8YXRKvr.js} +16 -19
  221. package/dist/variants-B46fK2iV.js +63 -0
  222. package/dist/venue-BjLCg-PW.js +38 -0
  223. package/dist/venue-calendar.css +1 -1
  224. package/dist/venue-calendar.es.js +1822 -1872
  225. package/dist/venue-calendar.iife.js +1 -69
  226. package/dist/venue-calendar.umd.js +77 -79
  227. package/dist/{widget-key-context-Xn6MT23x.js → widget-key-context-dHM9FiuJ.js} +34 -78
  228. package/dist/{zh-apNTBV5B.js → zh-BaZ_hYJV.js} +1 -2
  229. package/dist/{zh-DLwlt3JO.js → zh-Cej2EPQt.js} +2 -2
  230. package/package.json +14 -14
  231. package/src/lib/constants/scarcity.ts +1 -2
  232. package/src/lib/theme.js +222 -222
  233. package/dist/AddOnCard-Ck_b8lsf.js +0 -351
  234. package/dist/BlockPlaceholder-Cjbm5hoG.js +0 -52
  235. package/dist/Button-B58iYo_t.js +0 -1951
  236. package/dist/Button-VUB2WJ88.js +0 -178
  237. package/dist/Calendar-B6yNPdBl.js +0 -466
  238. package/dist/CalendarFoundryView-BfGZj-_Z.js +0 -21608
  239. package/dist/CartView-CA_wZlil.js +0 -2304
  240. package/dist/Checkbox-BtJwg_CF.js +0 -61
  241. package/dist/Checkout-C_Dn_RZI.js +0 -1878
  242. package/dist/CheckoutTimer-DzYupNUI.js +0 -44
  243. package/dist/CloseIcon-40klpaYz.js +0 -35
  244. package/dist/CollectionView-Dp529P99.js +0 -141
  245. package/dist/CropImage-D1M-bKxG.js +0 -548
  246. package/dist/EventPage-DGrkeBd_.js +0 -1356
  247. package/dist/Grid-kuP6V0GW.js +0 -89
  248. package/dist/Modal-rt9KVfYa.js +0 -103
  249. package/dist/ModalFooter-Cru7v0io.js +0 -394
  250. package/dist/ModalHeader-CpgkuttK.js +0 -18
  251. package/dist/ScarcityBadge-Dt0r5r2M.js +0 -145
  252. package/dist/SeriesPage-0sHD6hcq.js +0 -35
  253. package/dist/Spinner-e-Mg0Eyb.js +0 -19
  254. package/dist/Textarea-Cymhixzd.js +0 -72
  255. package/dist/__SKIP_NAVIGATION__-AOx8SI54.js +0 -6
  256. package/dist/__SKIP_PATHS__-C0ixDSSm.js +0 -6
  257. package/dist/action-test-id-7RXdHucW.js +0 -145
  258. package/dist/adapter-z116JHU0.js +0 -164
  259. package/dist/api-Dvn2tGdx.js +0 -489
  260. package/dist/checkout-libs/4.3.136/phone.js +0 -6
  261. package/dist/controlAria-CGb-KeRn.js +0 -30
  262. package/dist/createErrorGate.svelte-CZVc_TpX.js +0 -114
  263. package/dist/cta-CTb57V0F.js +0 -116
  264. package/dist/datetime-Co_z9IUQ.js +0 -410
  265. package/dist/defaultLabels-Q5_A1ZrR.js +0 -2558
  266. package/dist/defaults-BDbx3_c0.js +0 -96
  267. package/dist/event-transform-iOZIJrTf.js +0 -353
  268. package/dist/i18n-Xwod-PFp.js +0 -497
  269. package/dist/i18n-cI0EPfvw.js +0 -28
  270. package/dist/imageOptimizer-Gew5vPWh.js +0 -224
  271. package/dist/keyboard-DhCcdIyh.js +0 -55
  272. package/dist/labels-BGvfcm36.js +0 -228
  273. package/dist/loaders.static-xwcJwfk2.js +0 -4
  274. package/dist/locales/4.3.136/main/de.js +0 -1
  275. package/dist/locales/4.3.136/main/es.js +0 -1
  276. package/dist/locales/4.3.136/main/fr.js +0 -1
  277. package/dist/locales/4.3.136/main/id.js +0 -1
  278. package/dist/locales/4.3.136/main/it.js +0 -1
  279. package/dist/locales/4.3.136/main/ja.js +0 -1
  280. package/dist/locales/4.3.136/main/ko.js +0 -1
  281. package/dist/locales/4.3.136/main/nl.js +0 -1
  282. package/dist/locales/4.3.136/main/pl.js +0 -1
  283. package/dist/locales/4.3.136/main/pt-br.js +0 -1
  284. package/dist/locales/4.3.136/main/tr.js +0 -1
  285. package/dist/locales/4.3.136/main/zh.js +0 -1
  286. package/dist/look-island.svelte-BldqMkPS.js +0 -1305
  287. package/dist/looks/4.3.136/looks.js +0 -242
  288. package/dist/modalManager.svelte-Cz_6x1Qd.js +0 -37
  289. package/dist/navigation-D6W4anEV.js +0 -245
  290. package/dist/phone-D76_-CNi.js +0 -6
  291. package/dist/portal-D-oaEWsY.js +0 -43
  292. package/dist/portalContainment-CeAVqIb-.js +0 -281
  293. package/dist/qrcode-Cehaq1db.js +0 -6
  294. package/dist/serverTotals-C-S3hONA.js +0 -712
  295. package/dist/sizing-B7ixYndz.js +0 -216
  296. package/dist/to-event-card-props-CPYickue.js +0 -205
  297. package/dist/venue-BBoZBuhu.js +0 -13
  298. /package/dist/locales/{4.3.136 → 4.3.139}/flow/de.js +0 -0
  299. /package/dist/locales/{4.3.136 → 4.3.139}/flow/es.js +0 -0
  300. /package/dist/locales/{4.3.136 → 4.3.139}/flow/fr.js +0 -0
  301. /package/dist/locales/{4.3.136 → 4.3.139}/flow/id.js +0 -0
  302. /package/dist/locales/{4.3.136 → 4.3.139}/flow/it.js +0 -0
  303. /package/dist/locales/{4.3.136 → 4.3.139}/flow/ja.js +0 -0
  304. /package/dist/locales/{4.3.136 → 4.3.139}/flow/ko.js +0 -0
  305. /package/dist/locales/{4.3.136 → 4.3.139}/flow/nl.js +0 -0
  306. /package/dist/locales/{4.3.136 → 4.3.139}/flow/pl.js +0 -0
  307. /package/dist/locales/{4.3.136 → 4.3.139}/flow/pt-br.js +0 -0
  308. /package/dist/locales/{4.3.136 → 4.3.139}/flow/tr.js +0 -0
  309. /package/dist/locales/{4.3.136 → 4.3.139}/flow/zh.js +0 -0
  310. /package/dist/looks/{4.3.136 → 4.3.139}/micdrop-wordmark-BYMG6vLR.svg +0 -0
  311. /package/dist/looks/{4.3.136 → 4.3.139}/microphone-Ccv4r-kd.webp +0 -0
  312. /package/dist/looks/{4.3.136 → 4.3.139}/superuser-CZF6a5gO.webp +0 -0
  313. /package/dist/looks/{4.3.136 → 4.3.139}/treasury-DUE7lZzT.webp +0 -0
  314. /package/dist/looks/{4.3.136 → 4.3.139}/user-image-yuS4errP.svg +0 -0
package/src/lib/theme.js CHANGED
@@ -1,222 +1,222 @@
1
- /**
2
- * Theme Configuration for Embeddable Calendar Widget
3
- *
4
- * This module provides comprehensive theming options for the calendar widget.
5
- * All colors use HSL format for easy manipulation.
6
- *
7
- * Usage:
8
- * 1. Import and call applyTheme() with your custom theme
9
- * 2. Or set CSS custom properties directly on the widget container
10
- *
11
- * Example:
12
- * ```js
13
- * import { applyTheme, themes } from '@getmicdrop/venue-calendar/theme';
14
- * applyTheme(themes.dark);
15
- *
16
- * // Or custom theme:
17
- * applyTheme({
18
- * brandPrimary: '270 76% 60%', // Purple
19
- * textPrimary: '0 0% 100%',
20
- * bgPrimary: '0 0% 10%',
21
- * });
22
- * ```
23
- */
24
-
25
- // Default light theme
26
- export const lightTheme = {
27
- // Brand colors
28
- brandPrimary: '217 91% 60%', // #2563EB - Blue
29
-
30
- // Text colors
31
- textPrimary: '0 0% 0%', // Black
32
- textSecondary: '0 0% 40%', // Dark Gray
33
- textTertiary: '0 0% 60%', // Gray
34
-
35
- // Background colors
36
- bgPrimary: '0 0% 100%', // White
37
- bgSecondary: '0 0% 98%', // Light Gray
38
- bgQuaternary: '0 0% 96%', // Very Light Gray
39
-
40
- // Border/Stroke colors
41
- strokePrimary: '0 0% 80%', // Medium Gray
42
- strokeSecondary: '0 0% 90%', // Light Gray
43
-
44
- // Status colors
45
- statusOnSale: '217 91% 60%', // Blue
46
- statusSellingFast: '38 92% 50%', // Orange
47
- statusSoldOut: '0 84% 60%', // Red
48
-
49
- // Calendar specific
50
- todayBg: '217 91% 97%', // Light blue
51
- todayText: '217 91% 50%', // Blue
52
- eventDotOnSale: '217 91% 60%',
53
- eventDotSellingFast: '38 92% 50%',
54
- eventDotSoldOut: '0 84% 60%',
55
-
56
- // Interaction states
57
- hoverBg: '0 0% 96%',
58
- focusRing: '217 91% 60%',
59
- };
60
-
61
- // Dark theme
62
- export const darkTheme = {
63
- // Brand colors
64
- brandPrimary: '217 91% 65%', // Lighter blue for dark mode
65
-
66
- // Text colors
67
- textPrimary: '0 0% 98%', // Near white
68
- textSecondary: '0 0% 70%', // Light gray
69
- textTertiary: '0 0% 50%', // Gray
70
-
71
- // Background colors
72
- bgPrimary: '0 0% 9%', // Very dark gray
73
- bgSecondary: '0 0% 13%', // Dark gray
74
- bgQuaternary: '0 0% 17%', // Slightly lighter
75
-
76
- // Border/Stroke colors
77
- strokePrimary: '0 0% 30%',
78
- strokeSecondary: '0 0% 20%',
79
-
80
- // Status colors
81
- statusOnSale: '217 91% 65%',
82
- statusSellingFast: '38 92% 55%',
83
- statusSoldOut: '0 84% 65%',
84
-
85
- // Calendar specific
86
- todayBg: '217 50% 20%',
87
- todayText: '217 91% 70%',
88
- eventDotOnSale: '217 91% 65%',
89
- eventDotSellingFast: '38 92% 55%',
90
- eventDotSoldOut: '0 84% 65%',
91
-
92
- // Interaction states
93
- hoverBg: '0 0% 20%',
94
- focusRing: '217 91% 65%',
95
- };
96
-
97
- // High contrast theme for accessibility
98
- export const highContrastTheme = {
99
- brandPrimary: '217 100% 50%',
100
- textPrimary: '0 0% 0%',
101
- textSecondary: '0 0% 20%',
102
- textTertiary: '0 0% 30%',
103
- bgPrimary: '0 0% 100%',
104
- bgSecondary: '0 0% 95%',
105
- bgQuaternary: '0 0% 90%',
106
- strokePrimary: '0 0% 0%',
107
- strokeSecondary: '0 0% 30%',
108
- statusOnSale: '217 100% 40%',
109
- statusSellingFast: '30 100% 40%',
110
- statusSoldOut: '0 100% 40%',
111
- todayBg: '217 100% 90%',
112
- todayText: '217 100% 30%',
113
- eventDotOnSale: '217 100% 40%',
114
- eventDotSellingFast: '30 100% 40%',
115
- eventDotSoldOut: '0 100% 40%',
116
- hoverBg: '217 100% 95%',
117
- focusRing: '217 100% 40%',
118
- };
119
-
120
- // Preset themes collection
121
- export const themes = {
122
- light: lightTheme,
123
- dark: darkTheme,
124
- highContrast: highContrastTheme,
125
- };
126
-
127
- /**
128
- * Apply a theme to the calendar widget
129
- * @param {Object} theme - Theme object with HSL color values
130
- * @param {HTMLElement} container - Optional container element (defaults to :root)
131
- */
132
- export function applyTheme(theme, container = document.documentElement) {
133
- const cssVarMap = {
134
- brandPrimary: '--brand-primary',
135
- textPrimary: '--text-primary',
136
- textSecondary: '--text-secondary',
137
- textTertiary: '--text-tertiary',
138
- bgPrimary: '--bg-primary',
139
- bgSecondary: '--bg-secondary',
140
- bgQuaternary: '--bg-quaternary',
141
- strokePrimary: '--stroke-primary',
142
- strokeSecondary: '--stroke-secondary',
143
- statusOnSale: '--status-on-sale',
144
- statusSellingFast: '--status-selling-fast',
145
- statusSoldOut: '--status-sold-out',
146
- todayBg: '--today-bg',
147
- todayText: '--today-text',
148
- eventDotOnSale: '--event-dot-on-sale',
149
- eventDotSellingFast: '--event-dot-selling-fast',
150
- eventDotSoldOut: '--event-dot-sold-out',
151
- hoverBg: '--hover-bg',
152
- focusRing: '--focus-ring',
153
- };
154
-
155
- Object.entries(theme).forEach(([key, value]) => {
156
- const cssVar = cssVarMap[key];
157
- if (cssVar) {
158
- container.style.setProperty(cssVar, value);
159
- }
160
- });
161
-
162
- // Sync data-theme attribute when a known preset is applied so SC
163
- // components (Stripe theme detector, DarkModeToggle reader, etc.)
164
- // see the same intent. Partial/custom themes don't trigger this —
165
- // they edit a few CSS vars without flipping the overall light/dark
166
- // mode signal.
167
- if (container.setAttribute) {
168
- if (theme === darkTheme) {
169
- container.setAttribute('data-theme', 'dark');
170
- } else if (theme === lightTheme || theme === highContrastTheme) {
171
- container.setAttribute('data-theme', 'light');
172
- }
173
- }
174
- }
175
-
176
- /**
177
- * Generate CSS string for embedding
178
- * @param {Object} theme - Theme object
179
- * @returns {string} CSS string
180
- */
181
- export function generateThemeCSS(theme) {
182
- const cssVarMap = {
183
- brandPrimary: '--brand-primary',
184
- textPrimary: '--text-primary',
185
- textSecondary: '--text-secondary',
186
- textTertiary: '--text-tertiary',
187
- bgPrimary: '--bg-primary',
188
- bgSecondary: '--bg-secondary',
189
- bgQuaternary: '--bg-quaternary',
190
- strokePrimary: '--stroke-primary',
191
- strokeSecondary: '--stroke-secondary',
192
- statusOnSale: '--status-on-sale',
193
- statusSellingFast: '--status-selling-fast',
194
- statusSoldOut: '--status-sold-out',
195
- todayBg: '--today-bg',
196
- todayText: '--today-text',
197
- eventDotOnSale: '--event-dot-on-sale',
198
- eventDotSellingFast: '--event-dot-selling-fast',
199
- eventDotSoldOut: '--event-dot-sold-out',
200
- hoverBg: '--hover-bg',
201
- focusRing: '--focus-ring',
202
- };
203
-
204
- const lines = [];
205
- Object.entries(theme).forEach(([key, value]) => {
206
- const cssVar = cssVarMap[key];
207
- if (cssVar) {
208
- lines.push(` ${cssVar}: ${value};`);
209
- }
210
- });
211
-
212
- return `:root {\n${lines.join('\n')}\n}`;
213
- }
214
-
215
- export default {
216
- themes,
217
- lightTheme,
218
- darkTheme,
219
- highContrastTheme,
220
- applyTheme,
221
- generateThemeCSS,
222
- };
1
+ /**
2
+ * Theme Configuration for Embeddable Calendar Widget
3
+ *
4
+ * This module provides comprehensive theming options for the calendar widget.
5
+ * All colors use HSL format for easy manipulation.
6
+ *
7
+ * Usage:
8
+ * 1. Import and call applyTheme() with your custom theme
9
+ * 2. Or set CSS custom properties directly on the widget container
10
+ *
11
+ * Example:
12
+ * ```js
13
+ * import { applyTheme, themes } from '@getmicdrop/venue-calendar/theme';
14
+ * applyTheme(themes.dark);
15
+ *
16
+ * // Or custom theme:
17
+ * applyTheme({
18
+ * brandPrimary: '270 76% 60%', // Purple
19
+ * textPrimary: '0 0% 100%',
20
+ * bgPrimary: '0 0% 10%',
21
+ * });
22
+ * ```
23
+ */
24
+
25
+ // Default light theme
26
+ export const lightTheme = {
27
+ // Brand colors
28
+ brandPrimary: '217 91% 60%', // #2563EB - Blue
29
+
30
+ // Text colors
31
+ textPrimary: '0 0% 0%', // Black
32
+ textSecondary: '0 0% 40%', // Dark Gray
33
+ textTertiary: '0 0% 60%', // Gray
34
+
35
+ // Background colors
36
+ bgPrimary: '0 0% 100%', // White
37
+ bgSecondary: '0 0% 98%', // Light Gray
38
+ bgQuaternary: '0 0% 96%', // Very Light Gray
39
+
40
+ // Border/Stroke colors
41
+ strokePrimary: '0 0% 80%', // Medium Gray
42
+ strokeSecondary: '0 0% 90%', // Light Gray
43
+
44
+ // Status colors
45
+ statusOnSale: '217 91% 60%', // Blue
46
+ statusSellingFast: '38 92% 50%', // Orange
47
+ statusSoldOut: '0 84% 60%', // Red
48
+
49
+ // Calendar specific
50
+ todayBg: '217 91% 97%', // Light blue
51
+ todayText: '217 91% 50%', // Blue
52
+ eventDotOnSale: '217 91% 60%',
53
+ eventDotSellingFast: '38 92% 50%',
54
+ eventDotSoldOut: '0 84% 60%',
55
+
56
+ // Interaction states
57
+ hoverBg: '0 0% 96%',
58
+ focusRing: '217 91% 60%',
59
+ };
60
+
61
+ // Dark theme
62
+ export const darkTheme = {
63
+ // Brand colors
64
+ brandPrimary: '217 91% 65%', // Lighter blue for dark mode
65
+
66
+ // Text colors
67
+ textPrimary: '0 0% 98%', // Near white
68
+ textSecondary: '0 0% 70%', // Light gray
69
+ textTertiary: '0 0% 50%', // Gray
70
+
71
+ // Background colors
72
+ bgPrimary: '0 0% 9%', // Very dark gray
73
+ bgSecondary: '0 0% 13%', // Dark gray
74
+ bgQuaternary: '0 0% 17%', // Slightly lighter
75
+
76
+ // Border/Stroke colors
77
+ strokePrimary: '0 0% 30%',
78
+ strokeSecondary: '0 0% 20%',
79
+
80
+ // Status colors
81
+ statusOnSale: '217 91% 65%',
82
+ statusSellingFast: '38 92% 55%',
83
+ statusSoldOut: '0 84% 65%',
84
+
85
+ // Calendar specific
86
+ todayBg: '217 50% 20%',
87
+ todayText: '217 91% 70%',
88
+ eventDotOnSale: '217 91% 65%',
89
+ eventDotSellingFast: '38 92% 55%',
90
+ eventDotSoldOut: '0 84% 65%',
91
+
92
+ // Interaction states
93
+ hoverBg: '0 0% 20%',
94
+ focusRing: '217 91% 65%',
95
+ };
96
+
97
+ // High contrast theme for accessibility
98
+ export const highContrastTheme = {
99
+ brandPrimary: '217 100% 50%',
100
+ textPrimary: '0 0% 0%',
101
+ textSecondary: '0 0% 20%',
102
+ textTertiary: '0 0% 30%',
103
+ bgPrimary: '0 0% 100%',
104
+ bgSecondary: '0 0% 95%',
105
+ bgQuaternary: '0 0% 90%',
106
+ strokePrimary: '0 0% 0%',
107
+ strokeSecondary: '0 0% 30%',
108
+ statusOnSale: '217 100% 40%',
109
+ statusSellingFast: '30 100% 40%',
110
+ statusSoldOut: '0 100% 40%',
111
+ todayBg: '217 100% 90%',
112
+ todayText: '217 100% 30%',
113
+ eventDotOnSale: '217 100% 40%',
114
+ eventDotSellingFast: '30 100% 40%',
115
+ eventDotSoldOut: '0 100% 40%',
116
+ hoverBg: '217 100% 95%',
117
+ focusRing: '217 100% 40%',
118
+ };
119
+
120
+ // Preset themes collection
121
+ export const themes = {
122
+ light: lightTheme,
123
+ dark: darkTheme,
124
+ highContrast: highContrastTheme,
125
+ };
126
+
127
+ /**
128
+ * Apply a theme to the calendar widget
129
+ * @param {Object} theme - Theme object with HSL color values
130
+ * @param {HTMLElement} container - Optional container element (defaults to :root)
131
+ */
132
+ export function applyTheme(theme, container = document.documentElement) {
133
+ const cssVarMap = {
134
+ brandPrimary: '--brand-primary',
135
+ textPrimary: '--text-primary',
136
+ textSecondary: '--text-secondary',
137
+ textTertiary: '--text-tertiary',
138
+ bgPrimary: '--bg-primary',
139
+ bgSecondary: '--bg-secondary',
140
+ bgQuaternary: '--bg-quaternary',
141
+ strokePrimary: '--stroke-primary',
142
+ strokeSecondary: '--stroke-secondary',
143
+ statusOnSale: '--status-on-sale',
144
+ statusSellingFast: '--status-selling-fast',
145
+ statusSoldOut: '--status-sold-out',
146
+ todayBg: '--today-bg',
147
+ todayText: '--today-text',
148
+ eventDotOnSale: '--event-dot-on-sale',
149
+ eventDotSellingFast: '--event-dot-selling-fast',
150
+ eventDotSoldOut: '--event-dot-sold-out',
151
+ hoverBg: '--hover-bg',
152
+ focusRing: '--focus-ring',
153
+ };
154
+
155
+ Object.entries(theme).forEach(([key, value]) => {
156
+ const cssVar = cssVarMap[key];
157
+ if (cssVar) {
158
+ container.style.setProperty(cssVar, value);
159
+ }
160
+ });
161
+
162
+ // Sync data-theme attribute when a known preset is applied so SC
163
+ // components (Stripe theme detector, DarkModeToggle reader, etc.)
164
+ // see the same intent. Partial/custom themes don't trigger this —
165
+ // they edit a few CSS vars without flipping the overall light/dark
166
+ // mode signal.
167
+ if (container.setAttribute) {
168
+ if (theme === darkTheme) {
169
+ container.setAttribute('data-theme', 'dark');
170
+ } else if (theme === lightTheme || theme === highContrastTheme) {
171
+ container.setAttribute('data-theme', 'light');
172
+ }
173
+ }
174
+ }
175
+
176
+ /**
177
+ * Generate CSS string for embedding
178
+ * @param {Object} theme - Theme object
179
+ * @returns {string} CSS string
180
+ */
181
+ export function generateThemeCSS(theme) {
182
+ const cssVarMap = {
183
+ brandPrimary: '--brand-primary',
184
+ textPrimary: '--text-primary',
185
+ textSecondary: '--text-secondary',
186
+ textTertiary: '--text-tertiary',
187
+ bgPrimary: '--bg-primary',
188
+ bgSecondary: '--bg-secondary',
189
+ bgQuaternary: '--bg-quaternary',
190
+ strokePrimary: '--stroke-primary',
191
+ strokeSecondary: '--stroke-secondary',
192
+ statusOnSale: '--status-on-sale',
193
+ statusSellingFast: '--status-selling-fast',
194
+ statusSoldOut: '--status-sold-out',
195
+ todayBg: '--today-bg',
196
+ todayText: '--today-text',
197
+ eventDotOnSale: '--event-dot-on-sale',
198
+ eventDotSellingFast: '--event-dot-selling-fast',
199
+ eventDotSoldOut: '--event-dot-sold-out',
200
+ hoverBg: '--hover-bg',
201
+ focusRing: '--focus-ring',
202
+ };
203
+
204
+ const lines = [];
205
+ Object.entries(theme).forEach(([key, value]) => {
206
+ const cssVar = cssVarMap[key];
207
+ if (cssVar) {
208
+ lines.push(` ${cssVar}: ${value};`);
209
+ }
210
+ });
211
+
212
+ return `:root {\n${lines.join('\n')}\n}`;
213
+ }
214
+
215
+ export default {
216
+ themes,
217
+ lightTheme,
218
+ darkTheme,
219
+ highContrastTheme,
220
+ applyTheme,
221
+ generateThemeCSS,
222
+ };