@mhmo91/schmancy 0.10.6 → 0.10.7

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 (394) hide show
  1. package/README.md +11 -0
  2. package/custom-elements.json +11 -880
  3. package/dist/agent/{flow-3RrZM-e7.js.map → flow-CvG1fLW5.js.map} +1 -1
  4. package/dist/agent/schmancy.agent.js +5223 -10404
  5. package/dist/agent/schmancy.agent.js.map +1 -1
  6. package/dist/agent/schmancy.manifest.json +4 -537
  7. package/dist/agent/{vendor-material-color-33Mj762T.js.map → vendor-material-color-DcL7ZPxx.js.map} +1 -1
  8. package/dist/{area-oZjYJlUy.cjs → area-8IBAXzbC.cjs} +1 -1
  9. package/dist/{area-oZjYJlUy.cjs.map → area-8IBAXzbC.cjs.map} +1 -1
  10. package/dist/{area-CIZZ5tbB.js → area-DSW_LYXQ.js} +1 -1
  11. package/dist/{area-CIZZ5tbB.js.map → area-DSW_LYXQ.js.map} +1 -1
  12. package/dist/area.cjs +1 -1
  13. package/dist/area.js +1 -1
  14. package/dist/{autocomplete-X20i6D62.cjs → autocomplete-9PLjlFYt.cjs} +1 -1
  15. package/dist/{autocomplete-X20i6D62.cjs.map → autocomplete-9PLjlFYt.cjs.map} +1 -1
  16. package/dist/{autocomplete-C1oDLuol.js → autocomplete-CXwwmUbC.js} +2 -2
  17. package/dist/{autocomplete-C1oDLuol.js.map → autocomplete-CXwwmUbC.js.map} +1 -1
  18. package/dist/autocomplete.cjs +1 -1
  19. package/dist/autocomplete.js +1 -1
  20. package/dist/avatar.cjs +1 -1
  21. package/dist/avatar.js +2 -2
  22. package/dist/badge.cjs +1 -1
  23. package/dist/badge.js +1 -1
  24. package/dist/{boat-CUx58Gwe.cjs → boat-CpGNeWav.cjs} +1 -1
  25. package/dist/{boat-CUx58Gwe.cjs.map → boat-CpGNeWav.cjs.map} +1 -1
  26. package/dist/{boat-CpE0yAlK.js → boat-Dwn5oXd8.js} +1 -1
  27. package/dist/{boat-CpE0yAlK.js.map → boat-Dwn5oXd8.js.map} +1 -1
  28. package/dist/boat.cjs +1 -1
  29. package/dist/boat.js +1 -1
  30. package/dist/breadcrumb.cjs +1 -1
  31. package/dist/breadcrumb.js +1 -1
  32. package/dist/{busy-D1DKZhgV.cjs → busy-CUUgvimY.cjs} +1 -1
  33. package/dist/{busy-D1DKZhgV.cjs.map → busy-CUUgvimY.cjs.map} +1 -1
  34. package/dist/{busy-C9n-DUY4.js → busy-Cjm1BYVC.js} +1 -1
  35. package/dist/{busy-C9n-DUY4.js.map → busy-Cjm1BYVC.js.map} +1 -1
  36. package/dist/busy.cjs +1 -1
  37. package/dist/busy.js +1 -1
  38. package/dist/button.cjs +1 -1
  39. package/dist/button.js +1 -1
  40. package/dist/{card-B3hN-qzk.js → card-BR22oYCL.js} +1 -1
  41. package/dist/{card-B3hN-qzk.js.map → card-BR22oYCL.js.map} +1 -1
  42. package/dist/{card-DZJ7qjf2.cjs → card-BjZ_WRr3.cjs} +1 -1
  43. package/dist/{card-DZJ7qjf2.cjs.map → card-BjZ_WRr3.cjs.map} +1 -1
  44. package/dist/card.cjs +1 -1
  45. package/dist/card.js +1 -1
  46. package/dist/{checkbox-DapdzDow.cjs → checkbox-2e8v7CNg.cjs} +1 -1
  47. package/dist/{checkbox-DapdzDow.cjs.map → checkbox-2e8v7CNg.cjs.map} +1 -1
  48. package/dist/{checkbox-CvmB1ev9.js → checkbox-CsADwyfu.js} +1 -1
  49. package/dist/{checkbox-CvmB1ev9.js.map → checkbox-CsADwyfu.js.map} +1 -1
  50. package/dist/checkbox.cjs +1 -1
  51. package/dist/checkbox.js +1 -1
  52. package/dist/{chips-C8Y3_3ke.js → chips-C9HwVbGT.js} +2 -2
  53. package/dist/{chips-C8Y3_3ke.js.map → chips-C9HwVbGT.js.map} +1 -1
  54. package/dist/{chips-7g6mWRuh.cjs → chips-DPCcO55o.cjs} +1 -1
  55. package/dist/{chips-7g6mWRuh.cjs.map → chips-DPCcO55o.cjs.map} +1 -1
  56. package/dist/chips.cjs +1 -1
  57. package/dist/chips.js +2 -2
  58. package/dist/connectivity.cjs +1 -1
  59. package/dist/connectivity.js +1 -1
  60. package/dist/content-drawer.cjs +1 -1
  61. package/dist/content-drawer.js +1 -1
  62. package/dist/{date-range-ZfUl4duV.cjs → date-range-63-FC7gD.cjs} +1 -1
  63. package/dist/{date-range-ZfUl4duV.cjs.map → date-range-63-FC7gD.cjs.map} +1 -1
  64. package/dist/{date-range-DdcaPX7C.js → date-range-CFaP-8Os.js} +2 -2
  65. package/dist/{date-range-DdcaPX7C.js.map → date-range-CFaP-8Os.js.map} +1 -1
  66. package/dist/{date-range-inline-QQmIWhZ4.js → date-range-inline-BCuK_XCv.js} +1 -1
  67. package/dist/{date-range-inline-QQmIWhZ4.js.map → date-range-inline-BCuK_XCv.js.map} +1 -1
  68. package/dist/{date-range-inline-D-d7N6bh.cjs → date-range-inline-Cpdqd-8B.cjs} +1 -1
  69. package/dist/{date-range-inline-D-d7N6bh.cjs.map → date-range-inline-Cpdqd-8B.cjs.map} +1 -1
  70. package/dist/date-range-inline.cjs +1 -1
  71. package/dist/date-range-inline.js +1 -1
  72. package/dist/date-range.cjs +1 -1
  73. package/dist/date-range.js +1 -1
  74. package/dist/delay.cjs +1 -1
  75. package/dist/delay.js +1 -1
  76. package/dist/{details-Dpjh-XnJ.js → details-0dOlqHHL.js} +1 -1
  77. package/dist/{details-Dpjh-XnJ.js.map → details-0dOlqHHL.js.map} +1 -1
  78. package/dist/{details-3rL6UQU8.cjs → details-qKikJIyH.cjs} +1 -1
  79. package/dist/{details-3rL6UQU8.cjs.map → details-qKikJIyH.cjs.map} +1 -1
  80. package/dist/details.cjs +1 -1
  81. package/dist/details.js +1 -1
  82. package/dist/{divider-BdfEKQsH.js → divider-BxkIl0H1.js} +1 -1
  83. package/dist/{divider-BdfEKQsH.js.map → divider-BxkIl0H1.js.map} +1 -1
  84. package/dist/{divider-CutXDz3F.cjs → divider-CX9mmWZ8.cjs} +1 -1
  85. package/dist/{divider-CutXDz3F.cjs.map → divider-CX9mmWZ8.cjs.map} +1 -1
  86. package/dist/divider.cjs +1 -1
  87. package/dist/divider.js +1 -1
  88. package/dist/dropdown.cjs +1 -1
  89. package/dist/dropdown.js +1 -1
  90. package/dist/{expand-DM6zfZf7.cjs → expand-891JuQuN.cjs} +1 -1
  91. package/dist/{expand-DM6zfZf7.cjs.map → expand-891JuQuN.cjs.map} +1 -1
  92. package/dist/{expand-DrgMPJbu.js → expand-BeAx94MP.js} +2 -2
  93. package/dist/{expand-DrgMPJbu.js.map → expand-BeAx94MP.js.map} +1 -1
  94. package/dist/expand.cjs +1 -1
  95. package/dist/expand.js +1 -1
  96. package/dist/{float-1iihPek5.js → float-BPF2WO4L.js} +1 -1
  97. package/dist/{float-1iihPek5.js.map → float-BPF2WO4L.js.map} +1 -1
  98. package/dist/{float-Ckyk85XG.cjs → float-D7vvODxx.cjs} +1 -1
  99. package/dist/{float-Ckyk85XG.cjs.map → float-D7vvODxx.cjs.map} +1 -1
  100. package/dist/float.cjs +1 -1
  101. package/dist/float.js +1 -1
  102. package/dist/{form-BF1c3Dk1.js.map → form-CFvwnfuJ.js.map} +1 -1
  103. package/dist/{form-DeO5XX3b.cjs.map → form-Ceijw1aA.cjs.map} +1 -1
  104. package/dist/form.cjs +1 -1
  105. package/dist/form.js +1 -1
  106. package/dist/handover/agent-runtime-followups.md +1 -1
  107. package/dist/handover/agent-runtime-v1.md +3 -3
  108. package/dist/{icons-DUkcTZAY.js → icons-BKxW_7QR.js} +1 -1
  109. package/dist/{icons-DUkcTZAY.js.map → icons-BKxW_7QR.js.map} +1 -1
  110. package/dist/{icons-CV-fiGcW.cjs → icons-QSdo-8h9.cjs} +1 -1
  111. package/dist/{icons-CV-fiGcW.cjs.map → icons-QSdo-8h9.cjs.map} +1 -1
  112. package/dist/icons.cjs +1 -1
  113. package/dist/icons.js +1 -1
  114. package/dist/{iframe-C9tj7F6Y.js → iframe-BxvbhyTS.js} +1 -1
  115. package/dist/{iframe-C9tj7F6Y.js.map → iframe-BxvbhyTS.js.map} +1 -1
  116. package/dist/{iframe-DF97oGtZ.cjs → iframe-CMKV-bm8.cjs} +1 -1
  117. package/dist/{iframe-DF97oGtZ.cjs.map → iframe-CMKV-bm8.cjs.map} +1 -1
  118. package/dist/iframe.cjs +1 -1
  119. package/dist/iframe.js +1 -1
  120. package/dist/index.cjs +1 -1
  121. package/dist/index.js +52 -58
  122. package/dist/{input-TW9G3n7X.cjs → input-BFhJU74_.cjs} +1 -1
  123. package/dist/{input-TW9G3n7X.cjs.map → input-BFhJU74_.cjs.map} +1 -1
  124. package/dist/{input-DE7x223Y.js → input-DIqaR8Mr.js} +1 -1
  125. package/dist/{input-DE7x223Y.js.map → input-DIqaR8Mr.js.map} +1 -1
  126. package/dist/{input-chip-BdoaVw_D.js → input-chip-D9tlSk_2.js} +1 -1
  127. package/dist/{input-chip-BdoaVw_D.js.map → input-chip-D9tlSk_2.js.map} +1 -1
  128. package/dist/{input-chip-Do48eI5r.cjs → input-chip-w09qTt7J.cjs} +1 -1
  129. package/dist/{input-chip-Do48eI5r.cjs.map → input-chip-w09qTt7J.cjs.map} +1 -1
  130. package/dist/input.cjs +1 -1
  131. package/dist/input.js +1 -1
  132. package/dist/json.cjs +1 -1
  133. package/dist/json.js +2 -2
  134. package/dist/kbd.cjs +1 -1
  135. package/dist/kbd.js +1 -1
  136. package/dist/layout.cjs +1 -1
  137. package/dist/layout.js +1 -1
  138. package/dist/{lightbox-sPfnYzjJ.cjs → lightbox-CK035jsx.cjs} +1 -1
  139. package/dist/{lightbox-sPfnYzjJ.cjs.map → lightbox-CK035jsx.cjs.map} +1 -1
  140. package/dist/{lightbox-DcutIyjx.js → lightbox-GChmL3Ff.js} +1 -1
  141. package/dist/{lightbox-DcutIyjx.js.map → lightbox-GChmL3Ff.js.map} +1 -1
  142. package/dist/lightbox.cjs +1 -1
  143. package/dist/lightbox.js +1 -1
  144. package/dist/{list-C4vasUly.cjs → list-B3P37zlH.cjs} +1 -1
  145. package/dist/{list-C4vasUly.cjs.map → list-B3P37zlH.cjs.map} +1 -1
  146. package/dist/{list-BWrtrdgs.js → list-J-Fz24Z1.js} +1 -1
  147. package/dist/{list-BWrtrdgs.js.map → list-J-Fz24Z1.js.map} +1 -1
  148. package/dist/list.cjs +1 -1
  149. package/dist/list.js +1 -1
  150. package/dist/{menu-3yXDZusj.cjs → menu-BnFd8CwU.cjs} +1 -1
  151. package/dist/{menu-3yXDZusj.cjs.map → menu-BnFd8CwU.cjs.map} +1 -1
  152. package/dist/{menu-CxChOxWT.js → menu-DHTlUwXS.js} +2 -2
  153. package/dist/{menu-CxChOxWT.js.map → menu-DHTlUwXS.js.map} +1 -1
  154. package/dist/menu.cjs +1 -1
  155. package/dist/menu.js +1 -1
  156. package/dist/mixins-47_CZk7q.cjs +298 -0
  157. package/dist/{mixins-Db7gjDah.cjs.map → mixins-47_CZk7q.cjs.map} +1 -1
  158. package/dist/mixins-PBJJGiiP.js +627 -0
  159. package/dist/{mixins-Dw6hVfy-.js.map → mixins-PBJJGiiP.js.map} +1 -1
  160. package/dist/mixins.cjs +1 -1
  161. package/dist/mixins.js +1 -1
  162. package/dist/nav-drawer.cjs +1 -1
  163. package/dist/nav-drawer.js +1 -1
  164. package/dist/navigation-bar.cjs +1 -1
  165. package/dist/navigation-bar.js +1 -1
  166. package/dist/navigation-rail.cjs +1 -1
  167. package/dist/navigation-rail.js +1 -1
  168. package/dist/{notification-DKYy9qVe.cjs → notification-B6YBL0hx.cjs} +1 -1
  169. package/dist/{notification-DKYy9qVe.cjs.map → notification-B6YBL0hx.cjs.map} +1 -1
  170. package/dist/{notification-ycbUBbOu.js → notification-C-5Bv3vj.js} +2 -2
  171. package/dist/{notification-ycbUBbOu.js.map → notification-C-5Bv3vj.js.map} +1 -1
  172. package/dist/notification.cjs +1 -1
  173. package/dist/notification.js +1 -1
  174. package/dist/{option-DtOhMd3k.js → option-B7q6VXCu.js} +1 -1
  175. package/dist/{option-DtOhMd3k.js.map → option-B7q6VXCu.js.map} +1 -1
  176. package/dist/{option-zgVge3BH.cjs → option-DVQRa3nr.cjs} +1 -1
  177. package/dist/{option-zgVge3BH.cjs.map → option-DVQRa3nr.cjs.map} +1 -1
  178. package/dist/option.cjs +1 -1
  179. package/dist/option.js +1 -1
  180. package/dist/overlay.cjs +1 -1
  181. package/dist/{overlay.confirm-body-AFqYBqrI.js → overlay.confirm-body-CAY5xK1n.js} +1 -1
  182. package/dist/{overlay.confirm-body-AFqYBqrI.js.map → overlay.confirm-body-CAY5xK1n.js.map} +1 -1
  183. package/dist/{overlay.confirm-body-DctQLDao.cjs → overlay.confirm-body-XZtErofy.cjs} +1 -1
  184. package/dist/{overlay.confirm-body-DctQLDao.cjs.map → overlay.confirm-body-XZtErofy.cjs.map} +1 -1
  185. package/dist/overlay.js +3 -3
  186. package/dist/{overlay.service-B9On2-Aa.js → overlay.service-BZE_lwKO.js} +2 -2
  187. package/dist/{overlay.service-B9On2-Aa.js.map → overlay.service-BZE_lwKO.js.map} +1 -1
  188. package/dist/{overlay.service-k2nCE4pi.cjs → overlay.service-Oyjrw831.cjs} +1 -1
  189. package/dist/{overlay.service-k2nCE4pi.cjs.map → overlay.service-Oyjrw831.cjs.map} +1 -1
  190. package/dist/page.cjs +1 -1
  191. package/dist/page.js +2 -2
  192. package/dist/{progress-BFWzmTlz.js → progress-BHXLYs9i.js} +1 -1
  193. package/dist/{progress-BFWzmTlz.js.map → progress-BHXLYs9i.js.map} +1 -1
  194. package/dist/{progress-C4TGG2eN.cjs → progress-D99bumkC.cjs} +1 -1
  195. package/dist/{progress-C4TGG2eN.cjs.map → progress-D99bumkC.cjs.map} +1 -1
  196. package/dist/progress.cjs +1 -1
  197. package/dist/progress.js +1 -1
  198. package/dist/{radio-group-DTNAW5dd.js → radio-group-BYra5_q1.js} +1 -1
  199. package/dist/{radio-group-DTNAW5dd.js.map → radio-group-BYra5_q1.js.map} +1 -1
  200. package/dist/{radio-group-xLRp1g57.cjs → radio-group-DYsycLmD.cjs} +1 -1
  201. package/dist/{radio-group-xLRp1g57.cjs.map → radio-group-DYsycLmD.cjs.map} +1 -1
  202. package/dist/radio-group.cjs +1 -1
  203. package/dist/radio-group.js +1 -1
  204. package/dist/range.cjs +1 -1
  205. package/dist/range.js +1 -1
  206. package/dist/{rxjs-utils-BK8VMe3K.js.map → rxjs-utils-CVeJQ9KG.js.map} +1 -1
  207. package/dist/{rxjs-utils-DhOKenkS.cjs.map → rxjs-utils-DCUHg_Ml.cjs.map} +1 -1
  208. package/dist/rxjs-utils.cjs +1 -1
  209. package/dist/rxjs-utils.js +1 -1
  210. package/dist/{scroll-BCmdqSQU.js → scroll-TqNWZ0lo.js} +1 -1
  211. package/dist/{scroll-BCmdqSQU.js.map → scroll-TqNWZ0lo.js.map} +1 -1
  212. package/dist/{scroll-Bdgb-vRy.cjs → scroll-cayCBOrq.cjs} +1 -1
  213. package/dist/{scroll-Bdgb-vRy.cjs.map → scroll-cayCBOrq.cjs.map} +1 -1
  214. package/dist/{select-Cv5t_PT3.cjs → select-CRdSmlLq.cjs} +1 -1
  215. package/dist/{select-Cv5t_PT3.cjs.map → select-CRdSmlLq.cjs.map} +1 -1
  216. package/dist/{select-COGARE0b.js → select-nzq0qFlF.js} +2 -2
  217. package/dist/{select-COGARE0b.js.map → select-nzq0qFlF.js.map} +1 -1
  218. package/dist/select.cjs +1 -1
  219. package/dist/select.js +1 -1
  220. package/dist/skeleton.cjs +1 -1
  221. package/dist/skeleton.js +1 -1
  222. package/dist/skills/INDEX.md +9 -3
  223. package/dist/skills/schmancy/INDEX.md +9 -3
  224. package/dist/slider.cjs +1 -1
  225. package/dist/slider.js +1 -1
  226. package/dist/{splash-screen-DbGbGttg.js → splash-screen-BJeIiJ_e.js} +1 -1
  227. package/dist/{splash-screen-DbGbGttg.js.map → splash-screen-BJeIiJ_e.js.map} +1 -1
  228. package/dist/{splash-screen-B8rFbjqT.cjs → splash-screen-BMLQXzDq.cjs} +1 -1
  229. package/dist/{splash-screen-B8rFbjqT.cjs.map → splash-screen-BMLQXzDq.cjs.map} +1 -1
  230. package/dist/splash-screen.cjs +1 -1
  231. package/dist/splash-screen.js +1 -1
  232. package/dist/{src-b8D-Ec-Q.cjs → src-DE11tq2Q.cjs} +1 -1
  233. package/dist/{src-b8D-Ec-Q.cjs.map → src-DE11tq2Q.cjs.map} +1 -1
  234. package/dist/{src-YRir9pOP.js → src-qvWlNoMO.js} +34 -40
  235. package/dist/{src-YRir9pOP.js.map → src-qvWlNoMO.js.map} +1 -1
  236. package/dist/steps.cjs +1 -1
  237. package/dist/steps.js +1 -1
  238. package/dist/{surface-BvudRtf5.cjs → surface-D426MFLR.cjs} +1 -1
  239. package/dist/{surface-BvudRtf5.cjs.map → surface-D426MFLR.cjs.map} +1 -1
  240. package/dist/{surface-BE7sGTBt.js → surface-DG7Cmm9V.js} +1 -1
  241. package/dist/{surface-BE7sGTBt.js.map → surface-DG7Cmm9V.js.map} +1 -1
  242. package/dist/surface.cjs +1 -1
  243. package/dist/surface.js +1 -1
  244. package/dist/switch.cjs +1 -1
  245. package/dist/switch.js +1 -1
  246. package/dist/table.cjs +1 -1
  247. package/dist/table.js +1 -1
  248. package/dist/{tabs-DIzCRsA3.js → tabs-B7siJkM5.js} +1 -1
  249. package/dist/{tabs-DIzCRsA3.js.map → tabs-B7siJkM5.js.map} +1 -1
  250. package/dist/{tabs-C0XKld1Z.cjs → tabs-t3nMfg1F.cjs} +1 -1
  251. package/dist/{tabs-C0XKld1Z.cjs.map → tabs-t3nMfg1F.cjs.map} +1 -1
  252. package/dist/tabs.cjs +1 -1
  253. package/dist/tabs.js +1 -1
  254. package/dist/teleport.cjs +1 -1
  255. package/dist/teleport.js +1 -1
  256. package/dist/{textarea-UbZzBwqm.js → textarea-DSxHCCle.js} +1 -1
  257. package/dist/{textarea-UbZzBwqm.js.map → textarea-DSxHCCle.js.map} +1 -1
  258. package/dist/{textarea-BCDCGCJd.cjs → textarea-o9vysorM.cjs} +1 -1
  259. package/dist/{textarea-BCDCGCJd.cjs.map → textarea-o9vysorM.cjs.map} +1 -1
  260. package/dist/textarea.cjs +1 -1
  261. package/dist/textarea.js +1 -1
  262. package/dist/{theme-CIsI-sFj.cjs → theme-Ce9eIP05.cjs} +1 -1
  263. package/dist/{theme-CIsI-sFj.cjs.map → theme-Ce9eIP05.cjs.map} +1 -1
  264. package/dist/{theme-Qh-yPEPL.js → theme-XO3nHDbW.js} +2 -2
  265. package/dist/{theme-Qh-yPEPL.js.map → theme-XO3nHDbW.js.map} +1 -1
  266. package/dist/{theme-button-CjTnfs9x.js → theme-button-DNutDO1j.js} +1 -1
  267. package/dist/{theme-button-CjTnfs9x.js.map → theme-button-DNutDO1j.js.map} +1 -1
  268. package/dist/{theme-button-Dv1D_Vil.cjs → theme-button-H7PRz_bg.cjs} +1 -1
  269. package/dist/{theme-button-Dv1D_Vil.cjs.map → theme-button-H7PRz_bg.cjs.map} +1 -1
  270. package/dist/theme-button.cjs +1 -1
  271. package/dist/theme-button.js +1 -1
  272. package/dist/theme.cjs +1 -1
  273. package/dist/{theme.interface-v7SkAnDH.js.map → theme.interface-B9TjbSBF.js.map} +1 -1
  274. package/dist/{theme.interface-BeW-sz_g.cjs.map → theme.interface-BujperTo.cjs.map} +1 -1
  275. package/dist/theme.js +3 -3
  276. package/dist/tree.cjs +1 -1
  277. package/dist/tree.js +1 -1
  278. package/dist/typography.cjs +1 -1
  279. package/dist/typography.js +1 -1
  280. package/dist/{utils-CJ9y2Jz9.cjs.map → utils-Dt5PpmaQ.cjs.map} +1 -1
  281. package/dist/{utils-BfOze6Tk.js.map → utils-kND2Z9Xg.js.map} +1 -1
  282. package/dist/utils.cjs +1 -1
  283. package/dist/utils.js +1 -1
  284. package/dist/visually-hidden.cjs +1 -1
  285. package/dist/visually-hidden.js +1 -1
  286. package/dist/{window-9HOUXrTU.cjs → window-BaoSwgGE.cjs} +1 -1
  287. package/dist/{window-9HOUXrTU.cjs.map → window-BaoSwgGE.cjs.map} +1 -1
  288. package/dist/{window-B_55dzk0.js → window-KnLWhQ3S.js} +1 -1
  289. package/dist/{window-B_55dzk0.js.map → window-KnLWhQ3S.js.map} +1 -1
  290. package/dist/window.cjs +1 -1
  291. package/dist/window.js +1 -1
  292. package/package.json +4 -4
  293. package/skills/schmancy/INDEX.md +9 -3
  294. package/src/index.ts +0 -6
  295. package/types/src/index.d.ts +0 -6
  296. package/dist/agent/vendor-jsqr-BUVwyoGC.js +0 -10212
  297. package/dist/agent/vendor-jsqr-BUVwyoGC.js.map +0 -1
  298. package/dist/charts.cjs +0 -112
  299. package/dist/charts.cjs.map +0 -1
  300. package/dist/charts.js +0 -374
  301. package/dist/charts.js.map +0 -1
  302. package/dist/extra-B6gFu4_1.js +0 -3440
  303. package/dist/extra-B6gFu4_1.js.map +0 -1
  304. package/dist/extra-DJRYaOXe.cjs +0 -31
  305. package/dist/extra-DJRYaOXe.cjs.map +0 -1
  306. package/dist/extra.cjs +0 -1
  307. package/dist/extra.js +0 -2
  308. package/dist/map-BAQ9FEB6.cjs +0 -80
  309. package/dist/map-BAQ9FEB6.cjs.map +0 -1
  310. package/dist/map-CEreveeI.js +0 -208
  311. package/dist/map-CEreveeI.js.map +0 -1
  312. package/dist/map.cjs +0 -1
  313. package/dist/map.js +0 -2
  314. package/dist/mixins-Db7gjDah.cjs +0 -298
  315. package/dist/mixins-Dw6hVfy-.js +0 -627
  316. package/dist/payment-card-form-Be1-OVlL.js +0 -729
  317. package/dist/payment-card-form-Be1-OVlL.js.map +0 -1
  318. package/dist/payment-card-form-CNnGePG4.cjs +0 -73
  319. package/dist/payment-card-form-CNnGePG4.cjs.map +0 -1
  320. package/dist/payment-card-form.cjs +0 -1
  321. package/dist/payment-card-form.js +0 -2
  322. package/dist/qr-scanner.cjs +0 -35
  323. package/dist/qr-scanner.cjs.map +0 -1
  324. package/dist/qr-scanner.js +0 -123
  325. package/dist/qr-scanner.js.map +0 -1
  326. package/dist/skills/charts.md +0 -93
  327. package/dist/skills/extra.md +0 -59
  328. package/dist/skills/map.md +0 -55
  329. package/dist/skills/qr-scanner.md +0 -51
  330. package/dist/skills/schmancy/charts.md +0 -93
  331. package/dist/skills/schmancy/extra.md +0 -59
  332. package/dist/skills/schmancy/map.md +0 -55
  333. package/dist/skills/schmancy/qr-scanner.md +0 -51
  334. package/dist/skills/schmancy/timeline-tile.md +0 -95
  335. package/dist/skills/timeline-tile.md +0 -95
  336. package/dist/timeline.cjs +0 -277
  337. package/dist/timeline.cjs.map +0 -1
  338. package/dist/timeline.js +0 -326
  339. package/dist/timeline.js.map +0 -1
  340. package/skills/schmancy/charts.md +0 -93
  341. package/skills/schmancy/extra.md +0 -59
  342. package/skills/schmancy/map.md +0 -55
  343. package/skills/schmancy/qr-scanner.md +0 -51
  344. package/skills/schmancy/timeline-tile.md +0 -95
  345. package/src/charts/area-chart.ts +0 -498
  346. package/src/charts/index.ts +0 -4
  347. package/src/charts/pills.ts +0 -352
  348. package/src/charts/types.ts +0 -66
  349. package/src/charts/utils.ts +0 -65
  350. package/src/extra/countries/countries.data.ts +0 -196
  351. package/src/extra/countries/countries.ts +0 -109
  352. package/src/extra/countries/index.ts +0 -2
  353. package/src/extra/index.ts +0 -2
  354. package/src/extra/timezone/index.ts +0 -2
  355. package/src/extra/timezone/timezone.ts +0 -118
  356. package/src/extra/timezone/timezones.data.ts +0 -2546
  357. package/src/map/index.ts +0 -1
  358. package/src/map/map.ts +0 -485
  359. package/src/payment-card-form/index.ts +0 -1
  360. package/src/payment-card-form/payment-card-form.ts +0 -331
  361. package/src/qr-scanner/index.ts +0 -1
  362. package/src/qr-scanner/qr-scanner.ts +0 -242
  363. package/src/timeline/index.ts +0 -1
  364. package/src/timeline/timeline-tile.ts +0 -431
  365. package/types/src/charts/area-chart.d.ts +0 -58
  366. package/types/src/charts/index.d.ts +0 -4
  367. package/types/src/charts/pills.d.ts +0 -51
  368. package/types/src/charts/types.d.ts +0 -62
  369. package/types/src/charts/utils.d.ts +0 -28
  370. package/types/src/extra/countries/countries.d.ts +0 -26
  371. package/types/src/extra/countries/countries.data.d.ts +0 -5
  372. package/types/src/extra/countries/index.d.ts +0 -2
  373. package/types/src/extra/index.d.ts +0 -2
  374. package/types/src/extra/timezone/index.d.ts +0 -2
  375. package/types/src/extra/timezone/timezone.d.ts +0 -34
  376. package/types/src/extra/timezone/timezones.data.d.ts +0 -7
  377. package/types/src/map/index.d.ts +0 -1
  378. package/types/src/map/map.d.ts +0 -130
  379. package/types/src/payment-card-form/index.d.ts +0 -1
  380. package/types/src/payment-card-form/payment-card-form.d.ts +0 -85
  381. package/types/src/qr-scanner/index.d.ts +0 -1
  382. package/types/src/qr-scanner/qr-scanner.d.ts +0 -26
  383. package/types/src/timeline/index.d.ts +0 -1
  384. package/types/src/timeline/timeline-tile.d.ts +0 -44
  385. /package/dist/agent/{flow-3RrZM-e7.js → flow-CvG1fLW5.js} +0 -0
  386. /package/dist/agent/{vendor-material-color-33Mj762T.js → vendor-material-color-DcL7ZPxx.js} +0 -0
  387. /package/dist/{form-BF1c3Dk1.js → form-CFvwnfuJ.js} +0 -0
  388. /package/dist/{form-DeO5XX3b.cjs → form-Ceijw1aA.cjs} +0 -0
  389. /package/dist/{rxjs-utils-BK8VMe3K.js → rxjs-utils-CVeJQ9KG.js} +0 -0
  390. /package/dist/{rxjs-utils-DhOKenkS.cjs → rxjs-utils-DCUHg_Ml.cjs} +0 -0
  391. /package/dist/{theme.interface-v7SkAnDH.js → theme.interface-B9TjbSBF.js} +0 -0
  392. /package/dist/{theme.interface-BeW-sz_g.cjs → theme.interface-BujperTo.cjs} +0 -0
  393. /package/dist/{utils-CJ9y2Jz9.cjs → utils-Dt5PpmaQ.cjs} +0 -0
  394. /package/dist/{utils-BfOze6Tk.js → utils-kND2Z9Xg.js} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"icons-CV-fiGcW.cjs","names":[],"sources":["../src/icons/icon.ts"],"sourcesContent":["import { SchmancyElement } from '@mixins/index'\nimport { consume } from '@lit/context'\nimport { css, html } from 'lit'\nimport { customElement, property, state } from 'lit/decorators.js'\nimport { BehaviorSubject, combineLatest, takeUntil } from 'rxjs'\nimport { tap } from 'rxjs/operators'\nimport { SchmancyButtonSizeContext, type SchmancyButtonSize } from '../button/context'\n\n/**\n * Icon size tokens - M3 aligned with optical size optimization\n * - xxs: 12px (opsz: 20) - fits in 24px buttons (ultra-compact)\n * - xs: 16px (opsz: 20) - fits in 32px buttons\n * - sm: 20px (opsz: 20) - fits in 40px buttons\n * - md: 24px (opsz: 24) - fits in 48px buttons (default)\n * - lg: 32px (opsz: 40) - fits in 56px buttons\n * - Or custom string like '48px'\n */\nexport type IconSize = 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | string\n\n/**\n * @element schmancy-icon\n * Material Symbols icon component with flexible font variation properties\n *\n * @cssprop --schmancy-icon-size - The size of the icon (default: 24px)\n * @cssprop --schmancy-icon-fill - Fill value for icon (0-1)\n * @cssprop --schmancy-icon-weight - Weight value for icon (100-700)\n * @cssprop --schmancy-icon-grade - Grade value for icon (-50-200)\n * @cssprop --schmancy-icon-opsz - Optical size (default: 24)\n * @csspart icon - The inner `<span>` carrying the Material Symbols glyph.\n */\n@customElement('schmancy-icon')\nexport default class SchmancyIcon extends SchmancyElement {\n\tstatic styles = [css`\n\t:host {\n\t\t--schmancy-icon-size: 24px;\n\t\t--schmancy-icon-fill: 0;\n\t\t--schmancy-icon-weight: 400;\n\t\t--schmancy-icon-grade: 0;\n\t\t--schmancy-icon-opsz: 24;\n\n\t\tdisplay: inline-flex;\n\t\talign-items: center;\n\t\tjustify-content: center;\n\t\twidth: var(--schmancy-icon-size);\n\t\theight: var(--schmancy-icon-size);\n\t\tfont-size: var(--schmancy-icon-size);\n\t\tcolor: inherit;\n\t\ttransition: font-variation-settings 0.2s ease;\n\t}\n\n\t.material-symbols {\n\t\tfont-family: var(--schmancy-icon-font, 'Material Symbols Outlined');\n\t\tfont-weight: normal;\n\t\tfont-style: normal;\n\t\tline-height: 1;\n\t\tletter-spacing: normal;\n\t\ttext-transform: none;\n\t\tdisplay: inline-block;\n\t\twhite-space: nowrap;\n\t\tword-wrap: normal;\n\t\tdirection: ltr;\n\t\t-webkit-font-smoothing: antialiased;\n\t\t-webkit-font-feature-settings: 'liga';\n\t\tfont-feature-settings: 'liga';\n\t\tfont-variation-settings:\n\t\t\t'FILL' var(--schmancy-icon-fill),\n\t\t\t'wght' var(--schmancy-icon-weight),\n\t\t\t'GRAD' var(--schmancy-icon-grade),\n\t\t\t'opsz' var(--schmancy-icon-opsz);\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tjustify-content: center;\n\t}\n\n\t/* CSS-generated content is NOT translated by Google Translate */\n\t.material-symbols[data-icon]::before {\n\t\tcontent: attr(data-icon);\n\t}\n`];\n\t// Static flag to track if Google Fonts have been loaded\n\tprivate static fontsLoaded = false\n\n\t/**\n\t * Load Material Symbols fonts from Google Fonts CDN\n\t */\n\tprivate static loadFonts(): void {\n\t\tif (SchmancyIcon.fontsLoaded) {\n\t\t\treturn\n\t\t}\n\n\t\tconst link = document.createElement('link')\n\t\tlink.rel = 'stylesheet'\n\t\tlink.href = 'https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&family=Material+Symbols+Sharp:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap'\n\t\tdocument.head.appendChild(link)\n\n\t\tSchmancyIcon.fontsLoaded = true\n\t}\n\n\t/**\n\t * Fill value for the icon (0-1)\n\t * 0 = outlined, 1 = filled\n\t */\n\t@property({ type: Number, reflect: true })\n\tfill = 0\n\n\t/**\n\t * Weight value for the icon (100-700)\n\t * Controls the thickness of the icon strokes\n\t */\n\t@property({ type: Number, reflect: true })\n\tweight = 400\n\n\t/**\n\t * Grade value for the icon (-50-200)\n\t * Adjusts the visual weight/grade\n\t */\n\t@property({ type: Number, reflect: true })\n\tgrade = 0\n\n\t/**\n\t * Icon variant style\n\t * @values outlined | rounded | sharp\n\t */\n\t@property({ type: String, reflect: true })\n\tvariant: 'outlined' | 'rounded' | 'sharp' = 'outlined'\n\n\t/**\n\t * Size of the icon - M3 aligned tokens or custom string\n\t * Tokens: 'xxs' (12px), 'xs' (16px), 'sm' (20px), 'md' (24px), 'lg' (32px)\n\t * Custom: any CSS size string like '48px', '2rem'\n\t *\n\t * When this icon is a descendant of `<schmancy-button>`, the button's\n\t * `size` wins (via `SchmancyButtonSizeContext`). The local `size` only\n\t * applies when there is no ancestor button.\n\t */\n\t@property({ type: String, reflect: true })\n\tsize: IconSize = 'md'\n\n\t/**\n\t * Size inherited from an ancestor `<schmancy-button>` via context.\n\t * Undefined when the icon is not nested in a button.\n\t */\n\t@consume({ context: SchmancyButtonSizeContext, subscribe: true })\n\t@state()\n\tprivate _buttonSize?: SchmancyButtonSize\n\n\t/**\n\t * Icon name - use this instead of slot content to prevent translation breaking icons.\n\t * When set, this takes precedence over slot content.\n\t * Example: <schmancy-icon icon=\"delete\"></schmancy-icon>\n\t */\n\t@property({ type: String })\n\ticon?: string\n\n\t// M3 aligned token sizes with optimal optical sizes\n\tprivate static readonly tokenSizes: Record<string, { size: string; opsz: number }> = {\n\t\txxs: { size: '12px', opsz: 20 }, // fits in 24px buttons (ultra-compact)\n\t\txs: { size: '16px', opsz: 20 }, // fits in 32px buttons\n\t\tsm: { size: '20px', opsz: 20 }, // fits in 40px buttons\n\t\tmd: { size: '24px', opsz: 24 }, // fits in 48px buttons (default)\n\t\tlg: { size: '32px', opsz: 40 }, // fits in 56px buttons\n\t}\n\n\t/** Extract pixel value from a custom size string for optical size */\n\tprivate static computeOpticalSize(size: string): number {\n\t\tconst px = parseFloat(size)\n\t\treturn isNaN(px) ? 24 : Math.max(20, Math.min(48, Math.round(px)))\n\t}\n\n\t// RxJS subjects for reactive property updates\n\tprivate fill$ = new BehaviorSubject(this.fill)\n\tprivate weight$ = new BehaviorSubject(this.weight)\n\tprivate grade$ = new BehaviorSubject(this.grade)\n\tprivate variant$ = new BehaviorSubject(this.variant)\n\n\t// Captured icon name from slot content (translation-proof)\n\t@state()\n\tprivate _capturedIcon?: string\n\n\t// Observer for text content changes (ternaries update text nodes, not DOM structure)\n\tprivate _observer?: MutationObserver\n\n\tconnectedCallback(): void {\n\t\tsuper.connectedCallback()\n\n\t\t// Capture initial icon name\n\t\tthis._updateCapturedIcon()\n\n\t\t// Watch for text content changes (characterData) for dynamic icon updates\n\t\tthis._observer = new MutationObserver(() => this._updateCapturedIcon())\n\t\tthis._observer.observe(this, { childList: true, characterData: true, subtree: true })\n\n\t\t// Load Google Fonts if not already loaded\n\t\tSchmancyIcon.loadFonts()\n\n\t\t// Prevent browser translation from breaking icon ligatures\n\t\t// Using multiple methods for maximum compatibility:\n\t\t// - translate=\"no\" (HTML5 standard)\n\t\t// - class=\"notranslate\" (Google Translate specific)\n\t\tthis.setAttribute('translate', 'no')\n\t\tthis.classList.add('notranslate')\n\n\t\t// Set accessibility attributes for decorative icons\n\t\tif (!this.hasAttribute('aria-label') &&\n\t\t !this.hasAttribute('aria-labelledby') &&\n\t\t !this.hasAttribute('aria-hidden') &&\n\t\t !this.hasAttribute('role')) {\n\t\t\tthis.setAttribute('aria-hidden', 'true')\n\t\t}\n\n\t\t// Setup reactive CSS variable updates\n\t\tcombineLatest([\n\t\t\tthis.fill$,\n\t\t\tthis.weight$,\n\t\t\tthis.grade$,\n\t\t\tthis.variant$\n\t\t]).pipe(\n\t\t\ttap(([fill, weight, grade, variant]) => {\n\t\t\t\t// Update CSS custom properties for smooth transitions\n\t\t\t\tthis.style.setProperty('--schmancy-icon-fill', String(fill))\n\t\t\t\tthis.style.setProperty('--schmancy-icon-weight', String(weight))\n\t\t\t\tthis.style.setProperty('--schmancy-icon-grade', String(grade))\n\n\t\t\t\t// Update font family based on variant\n\t\t\t\tconst fontFamily = {\n\t\t\t\t\t'outlined': 'Material Symbols Outlined',\n\t\t\t\t\t'rounded': 'Material Symbols Rounded',\n\t\t\t\t\t'sharp': 'Material Symbols Sharp'\n\t\t\t\t}[variant] || 'Material Symbols Outlined'\n\n\t\t\t\tthis.style.setProperty('--schmancy-icon-font', fontFamily)\n\t\t\t}),\n\t\t\ttakeUntil(this.disconnecting)\n\t\t).subscribe()\n\n\t}\n\n\t/**\n\t * Update captured icon from current text content\n\t */\n\tprivate _updateCapturedIcon(): void {\n\t\tif (!this.icon) {\n\t\t\tconst textContent = this.textContent?.trim()\n\t\t\tif (textContent && textContent !== this._capturedIcon) {\n\t\t\t\tthis._capturedIcon = textContent\n\t\t\t}\n\t\t}\n\t}\n\n\tprotected updated(changedProperties: Map<string | number | symbol, unknown>): void {\n\t\tsuper.updated(changedProperties)\n\n\t\t// Update BehaviorSubjects when properties change\n\t\tif (changedProperties.has('fill')) {\n\t\t\tthis.fill$.next(this.fill)\n\t\t}\n\t\tif (changedProperties.has('weight')) {\n\t\t\tthis.weight$.next(this.weight)\n\t\t}\n\t\tif (changedProperties.has('grade')) {\n\t\t\tthis.grade$.next(this.grade)\n\t\t}\n\t\tif (changedProperties.has('variant')) {\n\t\t\tthis.variant$.next(this.variant)\n\t\t}\n\t}\n\n\tprotected render(): unknown {\n\t\tconst fontFamily = {\n\t\t\t'outlined': 'Material Symbols Outlined',\n\t\t\t'rounded': 'Material Symbols Rounded',\n\t\t\t'sharp': 'Material Symbols Sharp'\n\t\t}[this.variant] || 'Material Symbols Outlined'\n\n\t\t// Effective size: ancestor `<schmancy-button>` wins via context, else local `size`.\n\t\tconst effectiveSize: IconSize = this._buttonSize ?? this.size\n\t\t// Resolve size: token → px, bare number → px, or pass through as-is\n\t\tconst sizeConfig = SchmancyIcon.tokenSizes[effectiveSize]\n\t\tconst isNumeric = !sizeConfig && /^\\d+(\\.\\d+)?$/.test(effectiveSize)\n\t\tconst iconSize = sizeConfig?.size || (isNumeric ? `${effectiveSize}px` : effectiveSize)\n\t\tconst opticalSize = sizeConfig?.opsz || SchmancyIcon.computeOpticalSize(iconSize)\n\n\t\t// Set size on HOST so :host CSS picks it up\n\t\tthis.style.setProperty('--schmancy-icon-size', iconSize)\n\t\tthis.style.setProperty('--schmancy-icon-opsz', String(opticalSize))\n\n\t\tconst style = {\n\t\t\t'--schmancy-icon-fill': this.fill,\n\t\t\t'--schmancy-icon-weight': this.weight,\n\t\t\t'--schmancy-icon-grade': this.grade,\n\t\t\t'--schmancy-icon-font': fontFamily,\n\t\t}\n\n\t\t// Priority: icon property > captured icon (for dynamic content)\n\t\tconst iconName = this.icon || this._capturedIcon\n\n\t\t// Always render slot (hidden) to observe content changes, display via data-icon\n\t\treturn html`\n\t\t\t<span class=\"material-symbols notranslate\" part=\"icon\" translate=\"no\" data-icon=${iconName || ''} style=${this.styleMap(style)}></span>\n\t\t\t<slot style=\"display:none\"></slot>\n\t\t`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-icon': SchmancyIcon\n\t}\n}"],"mappings":"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"}
1
+ {"version":3,"file":"icons-QSdo-8h9.cjs","names":[],"sources":["../src/icons/icon.ts"],"sourcesContent":["import { SchmancyElement } from '@mixins/index'\nimport { consume } from '@lit/context'\nimport { css, html } from 'lit'\nimport { customElement, property, state } from 'lit/decorators.js'\nimport { BehaviorSubject, combineLatest, takeUntil } from 'rxjs'\nimport { tap } from 'rxjs/operators'\nimport { SchmancyButtonSizeContext, type SchmancyButtonSize } from '../button/context'\n\n/**\n * Icon size tokens - M3 aligned with optical size optimization\n * - xxs: 12px (opsz: 20) - fits in 24px buttons (ultra-compact)\n * - xs: 16px (opsz: 20) - fits in 32px buttons\n * - sm: 20px (opsz: 20) - fits in 40px buttons\n * - md: 24px (opsz: 24) - fits in 48px buttons (default)\n * - lg: 32px (opsz: 40) - fits in 56px buttons\n * - Or custom string like '48px'\n */\nexport type IconSize = 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | string\n\n/**\n * @element schmancy-icon\n * Material Symbols icon component with flexible font variation properties\n *\n * @cssprop --schmancy-icon-size - The size of the icon (default: 24px)\n * @cssprop --schmancy-icon-fill - Fill value for icon (0-1)\n * @cssprop --schmancy-icon-weight - Weight value for icon (100-700)\n * @cssprop --schmancy-icon-grade - Grade value for icon (-50-200)\n * @cssprop --schmancy-icon-opsz - Optical size (default: 24)\n * @csspart icon - The inner `<span>` carrying the Material Symbols glyph.\n */\n@customElement('schmancy-icon')\nexport default class SchmancyIcon extends SchmancyElement {\n\tstatic styles = [css`\n\t:host {\n\t\t--schmancy-icon-size: 24px;\n\t\t--schmancy-icon-fill: 0;\n\t\t--schmancy-icon-weight: 400;\n\t\t--schmancy-icon-grade: 0;\n\t\t--schmancy-icon-opsz: 24;\n\n\t\tdisplay: inline-flex;\n\t\talign-items: center;\n\t\tjustify-content: center;\n\t\twidth: var(--schmancy-icon-size);\n\t\theight: var(--schmancy-icon-size);\n\t\tfont-size: var(--schmancy-icon-size);\n\t\tcolor: inherit;\n\t\ttransition: font-variation-settings 0.2s ease;\n\t}\n\n\t.material-symbols {\n\t\tfont-family: var(--schmancy-icon-font, 'Material Symbols Outlined');\n\t\tfont-weight: normal;\n\t\tfont-style: normal;\n\t\tline-height: 1;\n\t\tletter-spacing: normal;\n\t\ttext-transform: none;\n\t\tdisplay: inline-block;\n\t\twhite-space: nowrap;\n\t\tword-wrap: normal;\n\t\tdirection: ltr;\n\t\t-webkit-font-smoothing: antialiased;\n\t\t-webkit-font-feature-settings: 'liga';\n\t\tfont-feature-settings: 'liga';\n\t\tfont-variation-settings:\n\t\t\t'FILL' var(--schmancy-icon-fill),\n\t\t\t'wght' var(--schmancy-icon-weight),\n\t\t\t'GRAD' var(--schmancy-icon-grade),\n\t\t\t'opsz' var(--schmancy-icon-opsz);\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tjustify-content: center;\n\t}\n\n\t/* CSS-generated content is NOT translated by Google Translate */\n\t.material-symbols[data-icon]::before {\n\t\tcontent: attr(data-icon);\n\t}\n`];\n\t// Static flag to track if Google Fonts have been loaded\n\tprivate static fontsLoaded = false\n\n\t/**\n\t * Load Material Symbols fonts from Google Fonts CDN\n\t */\n\tprivate static loadFonts(): void {\n\t\tif (SchmancyIcon.fontsLoaded) {\n\t\t\treturn\n\t\t}\n\n\t\tconst link = document.createElement('link')\n\t\tlink.rel = 'stylesheet'\n\t\tlink.href = 'https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&family=Material+Symbols+Sharp:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap'\n\t\tdocument.head.appendChild(link)\n\n\t\tSchmancyIcon.fontsLoaded = true\n\t}\n\n\t/**\n\t * Fill value for the icon (0-1)\n\t * 0 = outlined, 1 = filled\n\t */\n\t@property({ type: Number, reflect: true })\n\tfill = 0\n\n\t/**\n\t * Weight value for the icon (100-700)\n\t * Controls the thickness of the icon strokes\n\t */\n\t@property({ type: Number, reflect: true })\n\tweight = 400\n\n\t/**\n\t * Grade value for the icon (-50-200)\n\t * Adjusts the visual weight/grade\n\t */\n\t@property({ type: Number, reflect: true })\n\tgrade = 0\n\n\t/**\n\t * Icon variant style\n\t * @values outlined | rounded | sharp\n\t */\n\t@property({ type: String, reflect: true })\n\tvariant: 'outlined' | 'rounded' | 'sharp' = 'outlined'\n\n\t/**\n\t * Size of the icon - M3 aligned tokens or custom string\n\t * Tokens: 'xxs' (12px), 'xs' (16px), 'sm' (20px), 'md' (24px), 'lg' (32px)\n\t * Custom: any CSS size string like '48px', '2rem'\n\t *\n\t * When this icon is a descendant of `<schmancy-button>`, the button's\n\t * `size` wins (via `SchmancyButtonSizeContext`). The local `size` only\n\t * applies when there is no ancestor button.\n\t */\n\t@property({ type: String, reflect: true })\n\tsize: IconSize = 'md'\n\n\t/**\n\t * Size inherited from an ancestor `<schmancy-button>` via context.\n\t * Undefined when the icon is not nested in a button.\n\t */\n\t@consume({ context: SchmancyButtonSizeContext, subscribe: true })\n\t@state()\n\tprivate _buttonSize?: SchmancyButtonSize\n\n\t/**\n\t * Icon name - use this instead of slot content to prevent translation breaking icons.\n\t * When set, this takes precedence over slot content.\n\t * Example: <schmancy-icon icon=\"delete\"></schmancy-icon>\n\t */\n\t@property({ type: String })\n\ticon?: string\n\n\t// M3 aligned token sizes with optimal optical sizes\n\tprivate static readonly tokenSizes: Record<string, { size: string; opsz: number }> = {\n\t\txxs: { size: '12px', opsz: 20 }, // fits in 24px buttons (ultra-compact)\n\t\txs: { size: '16px', opsz: 20 }, // fits in 32px buttons\n\t\tsm: { size: '20px', opsz: 20 }, // fits in 40px buttons\n\t\tmd: { size: '24px', opsz: 24 }, // fits in 48px buttons (default)\n\t\tlg: { size: '32px', opsz: 40 }, // fits in 56px buttons\n\t}\n\n\t/** Extract pixel value from a custom size string for optical size */\n\tprivate static computeOpticalSize(size: string): number {\n\t\tconst px = parseFloat(size)\n\t\treturn isNaN(px) ? 24 : Math.max(20, Math.min(48, Math.round(px)))\n\t}\n\n\t// RxJS subjects for reactive property updates\n\tprivate fill$ = new BehaviorSubject(this.fill)\n\tprivate weight$ = new BehaviorSubject(this.weight)\n\tprivate grade$ = new BehaviorSubject(this.grade)\n\tprivate variant$ = new BehaviorSubject(this.variant)\n\n\t// Captured icon name from slot content (translation-proof)\n\t@state()\n\tprivate _capturedIcon?: string\n\n\t// Observer for text content changes (ternaries update text nodes, not DOM structure)\n\tprivate _observer?: MutationObserver\n\n\tconnectedCallback(): void {\n\t\tsuper.connectedCallback()\n\n\t\t// Capture initial icon name\n\t\tthis._updateCapturedIcon()\n\n\t\t// Watch for text content changes (characterData) for dynamic icon updates\n\t\tthis._observer = new MutationObserver(() => this._updateCapturedIcon())\n\t\tthis._observer.observe(this, { childList: true, characterData: true, subtree: true })\n\n\t\t// Load Google Fonts if not already loaded\n\t\tSchmancyIcon.loadFonts()\n\n\t\t// Prevent browser translation from breaking icon ligatures\n\t\t// Using multiple methods for maximum compatibility:\n\t\t// - translate=\"no\" (HTML5 standard)\n\t\t// - class=\"notranslate\" (Google Translate specific)\n\t\tthis.setAttribute('translate', 'no')\n\t\tthis.classList.add('notranslate')\n\n\t\t// Set accessibility attributes for decorative icons\n\t\tif (!this.hasAttribute('aria-label') &&\n\t\t !this.hasAttribute('aria-labelledby') &&\n\t\t !this.hasAttribute('aria-hidden') &&\n\t\t !this.hasAttribute('role')) {\n\t\t\tthis.setAttribute('aria-hidden', 'true')\n\t\t}\n\n\t\t// Setup reactive CSS variable updates\n\t\tcombineLatest([\n\t\t\tthis.fill$,\n\t\t\tthis.weight$,\n\t\t\tthis.grade$,\n\t\t\tthis.variant$\n\t\t]).pipe(\n\t\t\ttap(([fill, weight, grade, variant]) => {\n\t\t\t\t// Update CSS custom properties for smooth transitions\n\t\t\t\tthis.style.setProperty('--schmancy-icon-fill', String(fill))\n\t\t\t\tthis.style.setProperty('--schmancy-icon-weight', String(weight))\n\t\t\t\tthis.style.setProperty('--schmancy-icon-grade', String(grade))\n\n\t\t\t\t// Update font family based on variant\n\t\t\t\tconst fontFamily = {\n\t\t\t\t\t'outlined': 'Material Symbols Outlined',\n\t\t\t\t\t'rounded': 'Material Symbols Rounded',\n\t\t\t\t\t'sharp': 'Material Symbols Sharp'\n\t\t\t\t}[variant] || 'Material Symbols Outlined'\n\n\t\t\t\tthis.style.setProperty('--schmancy-icon-font', fontFamily)\n\t\t\t}),\n\t\t\ttakeUntil(this.disconnecting)\n\t\t).subscribe()\n\n\t}\n\n\t/**\n\t * Update captured icon from current text content\n\t */\n\tprivate _updateCapturedIcon(): void {\n\t\tif (!this.icon) {\n\t\t\tconst textContent = this.textContent?.trim()\n\t\t\tif (textContent && textContent !== this._capturedIcon) {\n\t\t\t\tthis._capturedIcon = textContent\n\t\t\t}\n\t\t}\n\t}\n\n\tprotected updated(changedProperties: Map<string | number | symbol, unknown>): void {\n\t\tsuper.updated(changedProperties)\n\n\t\t// Update BehaviorSubjects when properties change\n\t\tif (changedProperties.has('fill')) {\n\t\t\tthis.fill$.next(this.fill)\n\t\t}\n\t\tif (changedProperties.has('weight')) {\n\t\t\tthis.weight$.next(this.weight)\n\t\t}\n\t\tif (changedProperties.has('grade')) {\n\t\t\tthis.grade$.next(this.grade)\n\t\t}\n\t\tif (changedProperties.has('variant')) {\n\t\t\tthis.variant$.next(this.variant)\n\t\t}\n\t}\n\n\tprotected render(): unknown {\n\t\tconst fontFamily = {\n\t\t\t'outlined': 'Material Symbols Outlined',\n\t\t\t'rounded': 'Material Symbols Rounded',\n\t\t\t'sharp': 'Material Symbols Sharp'\n\t\t}[this.variant] || 'Material Symbols Outlined'\n\n\t\t// Effective size: ancestor `<schmancy-button>` wins via context, else local `size`.\n\t\tconst effectiveSize: IconSize = this._buttonSize ?? this.size\n\t\t// Resolve size: token → px, bare number → px, or pass through as-is\n\t\tconst sizeConfig = SchmancyIcon.tokenSizes[effectiveSize]\n\t\tconst isNumeric = !sizeConfig && /^\\d+(\\.\\d+)?$/.test(effectiveSize)\n\t\tconst iconSize = sizeConfig?.size || (isNumeric ? `${effectiveSize}px` : effectiveSize)\n\t\tconst opticalSize = sizeConfig?.opsz || SchmancyIcon.computeOpticalSize(iconSize)\n\n\t\t// Set size on HOST so :host CSS picks it up\n\t\tthis.style.setProperty('--schmancy-icon-size', iconSize)\n\t\tthis.style.setProperty('--schmancy-icon-opsz', String(opticalSize))\n\n\t\tconst style = {\n\t\t\t'--schmancy-icon-fill': this.fill,\n\t\t\t'--schmancy-icon-weight': this.weight,\n\t\t\t'--schmancy-icon-grade': this.grade,\n\t\t\t'--schmancy-icon-font': fontFamily,\n\t\t}\n\n\t\t// Priority: icon property > captured icon (for dynamic content)\n\t\tconst iconName = this.icon || this._capturedIcon\n\n\t\t// Always render slot (hidden) to observe content changes, display via data-icon\n\t\treturn html`\n\t\t\t<span class=\"material-symbols notranslate\" part=\"icon\" translate=\"no\" data-icon=${iconName || ''} style=${this.styleMap(style)}></span>\n\t\t\t<slot style=\"display:none\"></slot>\n\t\t`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-icon': SchmancyIcon\n\t}\n}"],"mappings":"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"}
package/dist/icons.cjs CHANGED
@@ -1 +1 @@
1
- require(`./icons-CV-fiGcW.cjs`);
1
+ require(`./icons-QSdo-8h9.cjs`);
package/dist/icons.js CHANGED
@@ -1 +1 @@
1
- import "./icons-DUkcTZAY.js";
1
+ import "./icons-BKxW_7QR.js";
@@ -1,4 +1,4 @@
1
- import { s as e } from "./mixins-Dw6hVfy-.js";
1
+ import { s as e } from "./mixins-PBJJGiiP.js";
2
2
  import { t } from "./decorate-23nYs4Le.js";
3
3
  import { customElement as n, property as r, state as i } from "lit/decorators.js";
4
4
  import { css as a, html as o } from "lit";
@@ -1 +1 @@
1
- {"version":3,"file":"iframe-C9tj7F6Y.js","names":[],"sources":["../src/iframe/iframe.ts"],"sourcesContent":["import { SchmancyElement } from '@mixins/index'\nimport { css, html, PropertyValues } from 'lit'\nimport { customElement, property, state } from 'lit/decorators.js'\nimport { createRef, ref } from 'lit/directives/ref.js'\n\n/** Sensible document reset for iframe content — font, spacing, word-wrap */\nconst DEFAULT_BASE_CSS = `html,body{margin:0;padding:0;overflow:hidden;background:#fff;color:#1a1a1a;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;font-size:14px;line-height:1.6;word-wrap:break-word;overflow-wrap:break-word}\nbody{padding:16px}\np{margin:0 0 1em}p:last-child{margin-bottom:0}\nul,ol{margin:0 0 1em;padding-left:1.5em}li{margin-bottom:.25em}\nh1,h2,h3,h4{margin:0 0 .5em;line-height:1.3}h1{font-size:1.5em}h2{font-size:1.25em}h3{font-size:1.1em}h4{font-size:1em}\nhr{border:none;border-top:1px solid #dadce0;margin:1em 0}\nimg{max-width:100%;height:auto}\ntable{border-collapse:collapse;max-width:100%}td,th{padding:4px 8px;border:1px solid #dadce0}\nblockquote{margin:0 0 1em;padding:.5em 0 .5em 1em;border-left:3px solid #dadce0;color:#5f6368}\npre{background:#f5f5f5;padding:.75em;border-radius:4px;overflow-x:auto;font-size:.9em}\ncode{background:#f5f5f5;padding:.1em .3em;border-radius:3px;font-size:.9em}`\n\n/**\n * Renders an HTML fragment inside a sandboxed, auto-sizing iframe.\n *\n * @slot - (none)\n * @fires load — native iframe load event\n *\n * @example\n * ```html\n * <schmancy-iframe .html=${bodyHtml} .css=${extraStyles}></schmancy-iframe>\n * ```\n */\n@customElement('schmancy-iframe')\nexport default class SchmancyIframe extends SchmancyElement {\n\tstatic styles = [css`\n\t:host {\n\t\tdisplay: block;\n\t}\n\tiframe {\n\t\tborder: 0;\n\t\twidth: 100%;\n\t}\n`];\n\t/** HTML body fragment to render inside the iframe */\n\t@property({ type: String }) html = ''\n\n\t/** Additional CSS injected after the base styles (consumer-specific) */\n\t@property({ type: String }) css = ''\n\n\t/** Base document CSS (font, spacing, resets). Override for fully custom styling */\n\t@property({ type: String }) baseCss = DEFAULT_BASE_CSS\n\n\t/** iframe sandbox attribute */\n\t@property({ type: String }) sandbox = 'allow-same-origin allow-popups'\n\n\t/** Minimum height in pixels */\n\t@property({ type: Number }) minHeight = 60\n\n\t@state() private _height = 60\n\tprivate _srcdoc = ''\n\tprivate _iframeRef = createRef<HTMLIFrameElement>()\n\n\tprotected willUpdate(changed: PropertyValues) {\n\t\tif (changed.has('html') || changed.has('css') || changed.has('baseCss')) {\n\t\t\tthis._srcdoc = this.html ? this.buildSrcdoc() : ''\n\t\t\tthis._height = this.minHeight\n\t\t}\n\t}\n\n\tprotected updated(changed: PropertyValues) {\n\t\tif (changed.has('sandbox')) {\n\t\t\tthis._iframeRef.value?.setAttribute('sandbox', this.sandbox)\n\t\t}\n\t}\n\n\tprivate buildSrcdoc(): string {\n\t\tconst styles = this.css ? `${this.baseCss}\\n${this.css}` : this.baseCss\n\t\treturn `<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1\">\n<base target=\"_blank\">\n<style>${styles}</style></head><body>${this.html}</body></html>`\n\t}\n\n\tprivate onLoad(e: Event) {\n\t\tconst iframe = e.target as HTMLIFrameElement\n\t\ttry {\n\t\t\tconst doc = iframe.contentDocument\n\t\t\tif (!doc) return\n\t\t\tthis._height = Math.max(doc.documentElement.scrollHeight, this.minHeight)\n\t\t} catch {\n\t\t\tthis._height = Math.max(200, this.minHeight)\n\t\t}\n\t}\n\n\tprotected render() {\n\t\tif (!this.html) return html``\n\t\treturn html`<iframe\n\t\t\t${ref(this._iframeRef)}\n\t\t\t.srcdoc=${this._srcdoc}\n\t\t\tstyle=\"height:${this._height}px;min-height:${this.minHeight}px;overflow:hidden\"\n\t\t\t@load=${this.onLoad}\n\t\t></iframe>`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-iframe': SchmancyIframe\n\t}\n}\n"],"mappings":";;;;;AAMA,IAwBe,IAAA,cAA6B,EAAA;CAAA,YAAA,GAAA,GAAA;AAAA,QAAA,GAAA,EAAA,EAAA,KAAA,OAWR,IAAA,KAAA,MAGD,IAAA,KAAA,UAtCV,27BAAA,KAAA,UA4Cc,kCAAA,KAAA,YAGE,IAAA,KAAA,UAEb,IAAA,KAAA,UACT,IAAA,KAAA,aACG,GAAA;;CAAA;AAAA,OAAA,SA1BL,CAAC,CAAG;;;;;;;;;;CA4BpB,WAAqB,GAAA;AAAA,GAChB,EAAQ,IAAI,OAAA,IAAW,EAAQ,IAAI,MAAA,IAAU,EAAQ,IAAI,UAAA,MAC5D,KAAK,UAAU,KAAK,OAAO,KAAK,aAAA,GAAgB,IAChD,KAAK,UAAU,KAAK;;CAItB,QAAkB,GAAA;AACb,IAAQ,IAAI,UAAA,IACf,KAAK,WAAW,OAAO,aAAa,WAAW,KAAK,QAAA;;CAItD,cAAA;AAEC,SAAO,0JADQ,KAAK,MAAM,GAAG,KAAK,QAAA,IAAY,KAAK,QAAQ,KAAK,QAAA,uBAI3B,KAAK,KAAA;;CAG3C,OAAe,GAAA;EACd,IAAM,IAAS,EAAE;AACjB,MAAA;GACC,IAAM,IAAM,EAAO;AACnB,OAAA,CAAK,EAAK;AACV,QAAK,UAAU,KAAK,IAAI,EAAI,gBAAgB,cAAc,KAAK,UAAA;UAAA;AAE/D,QAAK,UAAU,KAAK,IAAI,KAAK,KAAK,UAAA;;;CAIpC,SAAA;AACC,SAAK,KAAK,OACH,CAAI;KACR,EAAI,KAAK,WAAA,CAAA;aACD,KAAK,QAAA;mBACC,KAAK,QAAA,gBAAwB,KAAK,UAAA;WAC1C,KAAK,OAAA;gBALS,CAAI;;;AAAA,EAAA,CAnD3B,EAAS,EAAE,MAAM,QAAA,CAAA,CAAA,EAAS,EAAA,WAAA,QAAA,KAAA,EAAA,EAAA,EAAA,CAG1B,EAAS,EAAE,MAAM,QAAA,CAAA,CAAA,EAAS,EAAA,WAAA,OAAA,KAAA,EAAA,EAAA,EAAA,CAG1B,EAAS,EAAE,MAAM,QAAA,CAAA,CAAA,EAAS,EAAA,WAAA,WAAA,KAAA,EAAA,EAAA,EAAA,CAG1B,EAAS,EAAE,MAAM,QAAA,CAAA,CAAA,EAAS,EAAA,WAAA,WAAA,KAAA,EAAA,EAAA,EAAA,CAG1B,EAAS,EAAE,MAAM,QAAA,CAAA,CAAA,EAAS,EAAA,WAAA,aAAA,KAAA,EAAA,EAAA,EAAA,CAE1B,GAAA,CAAA,EAAO,EAAA,WAAA,WAAA,KAAA,EAAA;AAAA,IAAA,IAAA,IAAA,EAAA,CA1BR,EAAc,kBAAA,CAAA,EAAkB,EAAA;AAAA,SAAA,KAAA"}
1
+ {"version":3,"file":"iframe-BxvbhyTS.js","names":[],"sources":["../src/iframe/iframe.ts"],"sourcesContent":["import { SchmancyElement } from '@mixins/index'\nimport { css, html, PropertyValues } from 'lit'\nimport { customElement, property, state } from 'lit/decorators.js'\nimport { createRef, ref } from 'lit/directives/ref.js'\n\n/** Sensible document reset for iframe content — font, spacing, word-wrap */\nconst DEFAULT_BASE_CSS = `html,body{margin:0;padding:0;overflow:hidden;background:#fff;color:#1a1a1a;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;font-size:14px;line-height:1.6;word-wrap:break-word;overflow-wrap:break-word}\nbody{padding:16px}\np{margin:0 0 1em}p:last-child{margin-bottom:0}\nul,ol{margin:0 0 1em;padding-left:1.5em}li{margin-bottom:.25em}\nh1,h2,h3,h4{margin:0 0 .5em;line-height:1.3}h1{font-size:1.5em}h2{font-size:1.25em}h3{font-size:1.1em}h4{font-size:1em}\nhr{border:none;border-top:1px solid #dadce0;margin:1em 0}\nimg{max-width:100%;height:auto}\ntable{border-collapse:collapse;max-width:100%}td,th{padding:4px 8px;border:1px solid #dadce0}\nblockquote{margin:0 0 1em;padding:.5em 0 .5em 1em;border-left:3px solid #dadce0;color:#5f6368}\npre{background:#f5f5f5;padding:.75em;border-radius:4px;overflow-x:auto;font-size:.9em}\ncode{background:#f5f5f5;padding:.1em .3em;border-radius:3px;font-size:.9em}`\n\n/**\n * Renders an HTML fragment inside a sandboxed, auto-sizing iframe.\n *\n * @slot - (none)\n * @fires load — native iframe load event\n *\n * @example\n * ```html\n * <schmancy-iframe .html=${bodyHtml} .css=${extraStyles}></schmancy-iframe>\n * ```\n */\n@customElement('schmancy-iframe')\nexport default class SchmancyIframe extends SchmancyElement {\n\tstatic styles = [css`\n\t:host {\n\t\tdisplay: block;\n\t}\n\tiframe {\n\t\tborder: 0;\n\t\twidth: 100%;\n\t}\n`];\n\t/** HTML body fragment to render inside the iframe */\n\t@property({ type: String }) html = ''\n\n\t/** Additional CSS injected after the base styles (consumer-specific) */\n\t@property({ type: String }) css = ''\n\n\t/** Base document CSS (font, spacing, resets). Override for fully custom styling */\n\t@property({ type: String }) baseCss = DEFAULT_BASE_CSS\n\n\t/** iframe sandbox attribute */\n\t@property({ type: String }) sandbox = 'allow-same-origin allow-popups'\n\n\t/** Minimum height in pixels */\n\t@property({ type: Number }) minHeight = 60\n\n\t@state() private _height = 60\n\tprivate _srcdoc = ''\n\tprivate _iframeRef = createRef<HTMLIFrameElement>()\n\n\tprotected willUpdate(changed: PropertyValues) {\n\t\tif (changed.has('html') || changed.has('css') || changed.has('baseCss')) {\n\t\t\tthis._srcdoc = this.html ? this.buildSrcdoc() : ''\n\t\t\tthis._height = this.minHeight\n\t\t}\n\t}\n\n\tprotected updated(changed: PropertyValues) {\n\t\tif (changed.has('sandbox')) {\n\t\t\tthis._iframeRef.value?.setAttribute('sandbox', this.sandbox)\n\t\t}\n\t}\n\n\tprivate buildSrcdoc(): string {\n\t\tconst styles = this.css ? `${this.baseCss}\\n${this.css}` : this.baseCss\n\t\treturn `<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1\">\n<base target=\"_blank\">\n<style>${styles}</style></head><body>${this.html}</body></html>`\n\t}\n\n\tprivate onLoad(e: Event) {\n\t\tconst iframe = e.target as HTMLIFrameElement\n\t\ttry {\n\t\t\tconst doc = iframe.contentDocument\n\t\t\tif (!doc) return\n\t\t\tthis._height = Math.max(doc.documentElement.scrollHeight, this.minHeight)\n\t\t} catch {\n\t\t\tthis._height = Math.max(200, this.minHeight)\n\t\t}\n\t}\n\n\tprotected render() {\n\t\tif (!this.html) return html``\n\t\treturn html`<iframe\n\t\t\t${ref(this._iframeRef)}\n\t\t\t.srcdoc=${this._srcdoc}\n\t\t\tstyle=\"height:${this._height}px;min-height:${this.minHeight}px;overflow:hidden\"\n\t\t\t@load=${this.onLoad}\n\t\t></iframe>`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-iframe': SchmancyIframe\n\t}\n}\n"],"mappings":";;;;;AAMA,IAwBe,IAAA,cAA6B,EAAA;CAAA,YAAA,GAAA,GAAA;AAAA,QAAA,GAAA,EAAA,EAAA,KAAA,OAWR,IAAA,KAAA,MAGD,IAAA,KAAA,UAtCV,27BAAA,KAAA,UA4Cc,kCAAA,KAAA,YAGE,IAAA,KAAA,UAEb,IAAA,KAAA,UACT,IAAA,KAAA,aACG,GAAA;;CAAA;AAAA,OAAA,SA1BL,CAAC,CAAG;;;;;;;;;;CA4BpB,WAAqB,GAAA;AAAA,GAChB,EAAQ,IAAI,OAAA,IAAW,EAAQ,IAAI,MAAA,IAAU,EAAQ,IAAI,UAAA,MAC5D,KAAK,UAAU,KAAK,OAAO,KAAK,aAAA,GAAgB,IAChD,KAAK,UAAU,KAAK;;CAItB,QAAkB,GAAA;AACb,IAAQ,IAAI,UAAA,IACf,KAAK,WAAW,OAAO,aAAa,WAAW,KAAK,QAAA;;CAItD,cAAA;AAEC,SAAO,0JADQ,KAAK,MAAM,GAAG,KAAK,QAAA,IAAY,KAAK,QAAQ,KAAK,QAAA,uBAI3B,KAAK,KAAA;;CAG3C,OAAe,GAAA;EACd,IAAM,IAAS,EAAE;AACjB,MAAA;GACC,IAAM,IAAM,EAAO;AACnB,OAAA,CAAK,EAAK;AACV,QAAK,UAAU,KAAK,IAAI,EAAI,gBAAgB,cAAc,KAAK,UAAA;UAAA;AAE/D,QAAK,UAAU,KAAK,IAAI,KAAK,KAAK,UAAA;;;CAIpC,SAAA;AACC,SAAK,KAAK,OACH,CAAI;KACR,EAAI,KAAK,WAAA,CAAA;aACD,KAAK,QAAA;mBACC,KAAK,QAAA,gBAAwB,KAAK,UAAA;WAC1C,KAAK,OAAA;gBALS,CAAI;;;AAAA,EAAA,CAnD3B,EAAS,EAAE,MAAM,QAAA,CAAA,CAAA,EAAS,EAAA,WAAA,QAAA,KAAA,EAAA,EAAA,EAAA,CAG1B,EAAS,EAAE,MAAM,QAAA,CAAA,CAAA,EAAS,EAAA,WAAA,OAAA,KAAA,EAAA,EAAA,EAAA,CAG1B,EAAS,EAAE,MAAM,QAAA,CAAA,CAAA,EAAS,EAAA,WAAA,WAAA,KAAA,EAAA,EAAA,EAAA,CAG1B,EAAS,EAAE,MAAM,QAAA,CAAA,CAAA,EAAS,EAAA,WAAA,WAAA,KAAA,EAAA,EAAA,EAAA,CAG1B,EAAS,EAAE,MAAM,QAAA,CAAA,CAAA,EAAS,EAAA,WAAA,aAAA,KAAA,EAAA,EAAA,EAAA,CAE1B,GAAA,CAAA,EAAO,EAAA,WAAA,WAAA,KAAA,EAAA;AAAA,IAAA,IAAA,IAAA,EAAA,CA1BR,EAAc,kBAAA,CAAA,EAAkB,EAAA;AAAA,SAAA,KAAA"}
@@ -1,4 +1,4 @@
1
- require(`./chunk-CncqDLb2.cjs`);const e=require(`./mixins-Db7gjDah.cjs`),t=require(`./decorate-DpFmy0nm.cjs`);let n=require(`lit/decorators.js`),r=require(`lit`),i=require(`lit/directives/ref.js`);var a=class extends e.s{constructor(...e){super(...e),this.html=``,this.css=``,this.baseCss=`html,body{margin:0;padding:0;overflow:hidden;background:#fff;color:#1a1a1a;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;font-size:14px;line-height:1.6;word-wrap:break-word;overflow-wrap:break-word}
1
+ require(`./chunk-CncqDLb2.cjs`);const e=require(`./mixins-47_CZk7q.cjs`),t=require(`./decorate-DpFmy0nm.cjs`);let n=require(`lit/decorators.js`),r=require(`lit`),i=require(`lit/directives/ref.js`);var a=class extends e.s{constructor(...e){super(...e),this.html=``,this.css=``,this.baseCss=`html,body{margin:0;padding:0;overflow:hidden;background:#fff;color:#1a1a1a;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;font-size:14px;line-height:1.6;word-wrap:break-word;overflow-wrap:break-word}
2
2
  body{padding:16px}
3
3
  p{margin:0 0 1em}p:last-child{margin-bottom:0}
4
4
  ul,ol{margin:0 0 1em;padding-left:1.5em}li{margin-bottom:.25em}
@@ -1 +1 @@
1
- {"version":3,"file":"iframe-DF97oGtZ.cjs","names":[],"sources":["../src/iframe/iframe.ts"],"sourcesContent":["import { SchmancyElement } from '@mixins/index'\nimport { css, html, PropertyValues } from 'lit'\nimport { customElement, property, state } from 'lit/decorators.js'\nimport { createRef, ref } from 'lit/directives/ref.js'\n\n/** Sensible document reset for iframe content — font, spacing, word-wrap */\nconst DEFAULT_BASE_CSS = `html,body{margin:0;padding:0;overflow:hidden;background:#fff;color:#1a1a1a;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;font-size:14px;line-height:1.6;word-wrap:break-word;overflow-wrap:break-word}\nbody{padding:16px}\np{margin:0 0 1em}p:last-child{margin-bottom:0}\nul,ol{margin:0 0 1em;padding-left:1.5em}li{margin-bottom:.25em}\nh1,h2,h3,h4{margin:0 0 .5em;line-height:1.3}h1{font-size:1.5em}h2{font-size:1.25em}h3{font-size:1.1em}h4{font-size:1em}\nhr{border:none;border-top:1px solid #dadce0;margin:1em 0}\nimg{max-width:100%;height:auto}\ntable{border-collapse:collapse;max-width:100%}td,th{padding:4px 8px;border:1px solid #dadce0}\nblockquote{margin:0 0 1em;padding:.5em 0 .5em 1em;border-left:3px solid #dadce0;color:#5f6368}\npre{background:#f5f5f5;padding:.75em;border-radius:4px;overflow-x:auto;font-size:.9em}\ncode{background:#f5f5f5;padding:.1em .3em;border-radius:3px;font-size:.9em}`\n\n/**\n * Renders an HTML fragment inside a sandboxed, auto-sizing iframe.\n *\n * @slot - (none)\n * @fires load — native iframe load event\n *\n * @example\n * ```html\n * <schmancy-iframe .html=${bodyHtml} .css=${extraStyles}></schmancy-iframe>\n * ```\n */\n@customElement('schmancy-iframe')\nexport default class SchmancyIframe extends SchmancyElement {\n\tstatic styles = [css`\n\t:host {\n\t\tdisplay: block;\n\t}\n\tiframe {\n\t\tborder: 0;\n\t\twidth: 100%;\n\t}\n`];\n\t/** HTML body fragment to render inside the iframe */\n\t@property({ type: String }) html = ''\n\n\t/** Additional CSS injected after the base styles (consumer-specific) */\n\t@property({ type: String }) css = ''\n\n\t/** Base document CSS (font, spacing, resets). Override for fully custom styling */\n\t@property({ type: String }) baseCss = DEFAULT_BASE_CSS\n\n\t/** iframe sandbox attribute */\n\t@property({ type: String }) sandbox = 'allow-same-origin allow-popups'\n\n\t/** Minimum height in pixels */\n\t@property({ type: Number }) minHeight = 60\n\n\t@state() private _height = 60\n\tprivate _srcdoc = ''\n\tprivate _iframeRef = createRef<HTMLIFrameElement>()\n\n\tprotected willUpdate(changed: PropertyValues) {\n\t\tif (changed.has('html') || changed.has('css') || changed.has('baseCss')) {\n\t\t\tthis._srcdoc = this.html ? this.buildSrcdoc() : ''\n\t\t\tthis._height = this.minHeight\n\t\t}\n\t}\n\n\tprotected updated(changed: PropertyValues) {\n\t\tif (changed.has('sandbox')) {\n\t\t\tthis._iframeRef.value?.setAttribute('sandbox', this.sandbox)\n\t\t}\n\t}\n\n\tprivate buildSrcdoc(): string {\n\t\tconst styles = this.css ? `${this.baseCss}\\n${this.css}` : this.baseCss\n\t\treturn `<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1\">\n<base target=\"_blank\">\n<style>${styles}</style></head><body>${this.html}</body></html>`\n\t}\n\n\tprivate onLoad(e: Event) {\n\t\tconst iframe = e.target as HTMLIFrameElement\n\t\ttry {\n\t\t\tconst doc = iframe.contentDocument\n\t\t\tif (!doc) return\n\t\t\tthis._height = Math.max(doc.documentElement.scrollHeight, this.minHeight)\n\t\t} catch {\n\t\t\tthis._height = Math.max(200, this.minHeight)\n\t\t}\n\t}\n\n\tprotected render() {\n\t\tif (!this.html) return html``\n\t\treturn html`<iframe\n\t\t\t${ref(this._iframeRef)}\n\t\t\t.srcdoc=${this._srcdoc}\n\t\t\tstyle=\"height:${this._height}px;min-height:${this.minHeight}px;overflow:hidden\"\n\t\t\t@load=${this.onLoad}\n\t\t></iframe>`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-iframe': SchmancyIframe\n\t}\n}\n"],"mappings":"qMAMA,IAwBe,EAAA,cAA6B,EAAA,CAAA,CAAA,YAAA,GAAA,EAAA,CAAA,MAAA,GAAA,EAAA,CAAA,KAAA,KAWR,GAAA,KAAA,IAGD,GAAA,KAAA,QAtCV;;;;;;;;;;6EAAA,KAAA,QA4Cc,iCAAA,KAAA,UAGE,GAAA,KAAA,QAEb,GAAA,KAAA,QACT,GAAA,KAAA,YAAA,EAAA,EAAA,YAAA,CAAA,OAAA,KAAA,OAzBF,CAAC,EAAA,GAAG;;;;;;;;GA4BpB,WAAqB,EAAA,EAChB,EAAQ,IAAI,OAAA,EAAW,EAAQ,IAAI,MAAA,EAAU,EAAQ,IAAI,UAAA,IAC5D,KAAK,QAAU,KAAK,KAAO,KAAK,aAAA,CAAgB,GAChD,KAAK,QAAU,KAAK,WAItB,QAAkB,EAAA,CACb,EAAQ,IAAI,UAAA,EACf,KAAK,WAAW,OAAO,aAAa,UAAW,KAAK,QAAA,CAItD,aAAA,CAEC,MAAO,0JADQ,KAAK,IAAM,GAAG,KAAK,QAAA,IAAY,KAAK,MAAQ,KAAK,QAAA,uBAI3B,KAAK,KAAA,gBAG3C,OAAe,EAAA,CACd,IAAM,EAAS,EAAE,OACjB,GAAA,CACC,IAAM,EAAM,EAAO,gBACnB,GAAA,CAAK,EAAK,OACV,KAAK,QAAU,KAAK,IAAI,EAAI,gBAAgB,aAAc,KAAK,UAAA,MAAA,CAE/D,KAAK,QAAU,KAAK,IAAI,IAAK,KAAK,UAAA,EAIpC,QAAA,CACC,OAAK,KAAK,KACH,EAAA,IAAI;eACJ,KAAK,WAAA,CAAA;aACD,KAAK,QAAA;mBACC,KAAK,QAAA,gBAAwB,KAAK,UAAA;WAC1C,KAAK,OAAA;cALS,EAAA,IAAI,KAAA,EAAA,EAAA,EAAA,EAAA,EAAA,UAnDlB,CAAE,KAAM,OAAA,CAAA,CAAA,CAAS,EAAA,UAAA,OAAA,IAAA,GAAA,CAAA,EAAA,EAAA,EAAA,EAAA,EAAA,UAGjB,CAAE,KAAM,OAAA,CAAA,CAAA,CAAS,EAAA,UAAA,MAAA,IAAA,GAAA,CAAA,EAAA,EAAA,EAAA,EAAA,EAAA,UAGjB,CAAE,KAAM,OAAA,CAAA,CAAA,CAAS,EAAA,UAAA,UAAA,IAAA,GAAA,CAAA,EAAA,EAAA,EAAA,EAAA,EAAA,UAGjB,CAAE,KAAM,OAAA,CAAA,CAAA,CAAS,EAAA,UAAA,UAAA,IAAA,GAAA,CAAA,EAAA,EAAA,EAAA,EAAA,EAAA,UAGjB,CAAE,KAAM,OAAA,CAAA,CAAA,CAAS,EAAA,UAAA,YAAA,IAAA,GAAA,CAAA,EAAA,EAAA,EAAA,EAAA,EAAA,QAAA,CAAA,CAEnB,EAAA,UAAA,UAAA,IAAA,GAAA,CAAA,IAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,eA1BM,kBAAA,CAAA,CAAkB,EAAA,CAAA,OAAA,eAAA,QAAA,IAAA,CAAA,WAAA,CAAA,EAAA,IAAA,UAAA,CAAA,OAAA,GAAA,CAAA"}
1
+ {"version":3,"file":"iframe-CMKV-bm8.cjs","names":[],"sources":["../src/iframe/iframe.ts"],"sourcesContent":["import { SchmancyElement } from '@mixins/index'\nimport { css, html, PropertyValues } from 'lit'\nimport { customElement, property, state } from 'lit/decorators.js'\nimport { createRef, ref } from 'lit/directives/ref.js'\n\n/** Sensible document reset for iframe content — font, spacing, word-wrap */\nconst DEFAULT_BASE_CSS = `html,body{margin:0;padding:0;overflow:hidden;background:#fff;color:#1a1a1a;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;font-size:14px;line-height:1.6;word-wrap:break-word;overflow-wrap:break-word}\nbody{padding:16px}\np{margin:0 0 1em}p:last-child{margin-bottom:0}\nul,ol{margin:0 0 1em;padding-left:1.5em}li{margin-bottom:.25em}\nh1,h2,h3,h4{margin:0 0 .5em;line-height:1.3}h1{font-size:1.5em}h2{font-size:1.25em}h3{font-size:1.1em}h4{font-size:1em}\nhr{border:none;border-top:1px solid #dadce0;margin:1em 0}\nimg{max-width:100%;height:auto}\ntable{border-collapse:collapse;max-width:100%}td,th{padding:4px 8px;border:1px solid #dadce0}\nblockquote{margin:0 0 1em;padding:.5em 0 .5em 1em;border-left:3px solid #dadce0;color:#5f6368}\npre{background:#f5f5f5;padding:.75em;border-radius:4px;overflow-x:auto;font-size:.9em}\ncode{background:#f5f5f5;padding:.1em .3em;border-radius:3px;font-size:.9em}`\n\n/**\n * Renders an HTML fragment inside a sandboxed, auto-sizing iframe.\n *\n * @slot - (none)\n * @fires load — native iframe load event\n *\n * @example\n * ```html\n * <schmancy-iframe .html=${bodyHtml} .css=${extraStyles}></schmancy-iframe>\n * ```\n */\n@customElement('schmancy-iframe')\nexport default class SchmancyIframe extends SchmancyElement {\n\tstatic styles = [css`\n\t:host {\n\t\tdisplay: block;\n\t}\n\tiframe {\n\t\tborder: 0;\n\t\twidth: 100%;\n\t}\n`];\n\t/** HTML body fragment to render inside the iframe */\n\t@property({ type: String }) html = ''\n\n\t/** Additional CSS injected after the base styles (consumer-specific) */\n\t@property({ type: String }) css = ''\n\n\t/** Base document CSS (font, spacing, resets). Override for fully custom styling */\n\t@property({ type: String }) baseCss = DEFAULT_BASE_CSS\n\n\t/** iframe sandbox attribute */\n\t@property({ type: String }) sandbox = 'allow-same-origin allow-popups'\n\n\t/** Minimum height in pixels */\n\t@property({ type: Number }) minHeight = 60\n\n\t@state() private _height = 60\n\tprivate _srcdoc = ''\n\tprivate _iframeRef = createRef<HTMLIFrameElement>()\n\n\tprotected willUpdate(changed: PropertyValues) {\n\t\tif (changed.has('html') || changed.has('css') || changed.has('baseCss')) {\n\t\t\tthis._srcdoc = this.html ? this.buildSrcdoc() : ''\n\t\t\tthis._height = this.minHeight\n\t\t}\n\t}\n\n\tprotected updated(changed: PropertyValues) {\n\t\tif (changed.has('sandbox')) {\n\t\t\tthis._iframeRef.value?.setAttribute('sandbox', this.sandbox)\n\t\t}\n\t}\n\n\tprivate buildSrcdoc(): string {\n\t\tconst styles = this.css ? `${this.baseCss}\\n${this.css}` : this.baseCss\n\t\treturn `<!DOCTYPE html><html><head>\n<meta charset=\"utf-8\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1\">\n<base target=\"_blank\">\n<style>${styles}</style></head><body>${this.html}</body></html>`\n\t}\n\n\tprivate onLoad(e: Event) {\n\t\tconst iframe = e.target as HTMLIFrameElement\n\t\ttry {\n\t\t\tconst doc = iframe.contentDocument\n\t\t\tif (!doc) return\n\t\t\tthis._height = Math.max(doc.documentElement.scrollHeight, this.minHeight)\n\t\t} catch {\n\t\t\tthis._height = Math.max(200, this.minHeight)\n\t\t}\n\t}\n\n\tprotected render() {\n\t\tif (!this.html) return html``\n\t\treturn html`<iframe\n\t\t\t${ref(this._iframeRef)}\n\t\t\t.srcdoc=${this._srcdoc}\n\t\t\tstyle=\"height:${this._height}px;min-height:${this.minHeight}px;overflow:hidden\"\n\t\t\t@load=${this.onLoad}\n\t\t></iframe>`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-iframe': SchmancyIframe\n\t}\n}\n"],"mappings":"qMAMA,IAwBe,EAAA,cAA6B,EAAA,CAAA,CAAA,YAAA,GAAA,EAAA,CAAA,MAAA,GAAA,EAAA,CAAA,KAAA,KAWR,GAAA,KAAA,IAGD,GAAA,KAAA,QAtCV;;;;;;;;;;6EAAA,KAAA,QA4Cc,iCAAA,KAAA,UAGE,GAAA,KAAA,QAEb,GAAA,KAAA,QACT,GAAA,KAAA,YAAA,EAAA,EAAA,YAAA,CAAA,OAAA,KAAA,OAzBF,CAAC,EAAA,GAAG;;;;;;;;GA4BpB,WAAqB,EAAA,EAChB,EAAQ,IAAI,OAAA,EAAW,EAAQ,IAAI,MAAA,EAAU,EAAQ,IAAI,UAAA,IAC5D,KAAK,QAAU,KAAK,KAAO,KAAK,aAAA,CAAgB,GAChD,KAAK,QAAU,KAAK,WAItB,QAAkB,EAAA,CACb,EAAQ,IAAI,UAAA,EACf,KAAK,WAAW,OAAO,aAAa,UAAW,KAAK,QAAA,CAItD,aAAA,CAEC,MAAO,0JADQ,KAAK,IAAM,GAAG,KAAK,QAAA,IAAY,KAAK,MAAQ,KAAK,QAAA,uBAI3B,KAAK,KAAA,gBAG3C,OAAe,EAAA,CACd,IAAM,EAAS,EAAE,OACjB,GAAA,CACC,IAAM,EAAM,EAAO,gBACnB,GAAA,CAAK,EAAK,OACV,KAAK,QAAU,KAAK,IAAI,EAAI,gBAAgB,aAAc,KAAK,UAAA,MAAA,CAE/D,KAAK,QAAU,KAAK,IAAI,IAAK,KAAK,UAAA,EAIpC,QAAA,CACC,OAAK,KAAK,KACH,EAAA,IAAI;eACJ,KAAK,WAAA,CAAA;aACD,KAAK,QAAA;mBACC,KAAK,QAAA,gBAAwB,KAAK,UAAA;WAC1C,KAAK,OAAA;cALS,EAAA,IAAI,KAAA,EAAA,EAAA,EAAA,EAAA,EAAA,UAnDlB,CAAE,KAAM,OAAA,CAAA,CAAA,CAAS,EAAA,UAAA,OAAA,IAAA,GAAA,CAAA,EAAA,EAAA,EAAA,EAAA,EAAA,UAGjB,CAAE,KAAM,OAAA,CAAA,CAAA,CAAS,EAAA,UAAA,MAAA,IAAA,GAAA,CAAA,EAAA,EAAA,EAAA,EAAA,EAAA,UAGjB,CAAE,KAAM,OAAA,CAAA,CAAA,CAAS,EAAA,UAAA,UAAA,IAAA,GAAA,CAAA,EAAA,EAAA,EAAA,EAAA,EAAA,UAGjB,CAAE,KAAM,OAAA,CAAA,CAAA,CAAS,EAAA,UAAA,UAAA,IAAA,GAAA,CAAA,EAAA,EAAA,EAAA,EAAA,EAAA,UAGjB,CAAE,KAAM,OAAA,CAAA,CAAA,CAAS,EAAA,UAAA,YAAA,IAAA,GAAA,CAAA,EAAA,EAAA,EAAA,EAAA,EAAA,QAAA,CAAA,CAEnB,EAAA,UAAA,UAAA,IAAA,GAAA,CAAA,IAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,EAAA,eA1BM,kBAAA,CAAA,CAAkB,EAAA,CAAA,OAAA,eAAA,QAAA,IAAA,CAAA,WAAA,CAAA,EAAA,IAAA,UAAA,CAAA,OAAA,GAAA,CAAA"}
package/dist/iframe.cjs CHANGED
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./iframe-DF97oGtZ.cjs`);exports.SchmancyIframe=e.t;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./iframe-CMKV-bm8.cjs`);exports.SchmancyIframe=e.t;
package/dist/iframe.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as e } from "./iframe-C9tj7F6Y.js";
1
+ import { t as e } from "./iframe-BxvbhyTS.js";
2
2
  export { e as SchmancyIframe };
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`./chunk-CncqDLb2.cjs`);const e=require(`./mixins-Db7gjDah.cjs`),t=require(`./active-host-CcIa2tmW.cjs`),n=require(`./area-oZjYJlUy.cjs`),r=require(`./lazy-Dq9mRRjT.cjs`),i=require(`./state-DNdCPITt.cjs`),a=require(`./sound.service-BGs6m0Cm.cjs`),o=require(`./audio-CluX8Qpq.cjs`),ee=require(`./search-BLCRsxIC.cjs`),te=require(`./input-chip-Do48eI5r.cjs`),s=require(`./animation-CO_Csq84.cjs`),c=require(`./reduced-motion-Ds-HjMzn.cjs`),l=require(`./cursor-glow-Bulq-38P.cjs`),u=require(`./theme.service-Cfk88qHK.cjs`),d=require(`./layout-Zhe7wSZ_.cjs`),f=require(`./magnetic-BJgB1dVi.cjs`),p=require(`./directives.cjs`),m=require(`./src-b8D-Ec-Q.cjs`),h=require(`./boat-CUx58Gwe.cjs`),g=require(`./button.cjs`),_=require(`./charts.cjs`),ne=require(`./checkbox-DapdzDow.cjs`),v=require(`./chips-7g6mWRuh.cjs`),y=require(`./connectivity.cjs`),b=require(`./date-range-ZfUl4duV.cjs`),x=require(`./date-range-inline-D-d7N6bh.cjs`),S=require(`./delay.cjs`),C=require(`./details-3rL6UQU8.cjs`),w=require(`./discovery.cjs`),T=require(`./dropdown.cjs`),E=require(`./surface-BvudRtf5.cjs`),D=require(`./expand-DM6zfZf7.cjs`),re=require(`./overlay-stack-DPIe_aYv.cjs`),O=require(`./window-9HOUXrTU.cjs`),ie=require(`./float-Ckyk85XG.cjs`),k=require(`./extra-DJRYaOXe.cjs`),A=require(`./form-DeO5XX3b.cjs`),j=require(`./iframe-DF97oGtZ.cjs`),M=require(`./input-TW9G3n7X.cjs`),N=require(`./notification-DKYy9qVe.cjs`),P=require(`./json.cjs`),F=require(`./scroll-Bdgb-vRy.cjs`),I=require(`./lightbox-sPfnYzjJ.cjs`),L=require(`./list-C4vasUly.cjs`),R=require(`./map-BAQ9FEB6.cjs`),z=require(`./navigation-rail.cjs`),B=require(`./page.cjs`),V=require(`./payment-card-form-CNnGePG4.cjs`),H=require(`./qr-scanner.cjs`),U=require(`./radio-group-xLRp1g57.cjs`),W=require(`./range.cjs`),ae=require(`./rxjs-utils-DhOKenkS.cjs`),G=require(`./theme.interface-BeW-sz_g.cjs`),K=require(`./select-Cv5t_PT3.cjs`),q=require(`./slider.cjs`),J=require(`./steps.cjs`),Y=require(`./table.cjs`),X=require(`./theme-CIsI-sFj.cjs`),oe=require(`./timeline.cjs`),se=require(`./tooltip.cjs`),ce=require(`./tree.cjs`),le=require(`./types.cjs`),ue=require(`./typewriter.cjs`),de=require(`./typography.cjs`),Z=require(`./utils-CJ9y2Jz9.cjs`),fe=require(`./avatar.cjs`),Q=require(`./breadcrumb.cjs`),pe=require(`./kbd.cjs`),me=require(`./skeleton.cjs`),he=require(`./switch.cjs`),ge=require(`./visually-hidden.cjs`);let $=require(`@lit-labs/signals`);exports.$drawer=m.p,exports.$notify=N.r,exports.$sounds=o.t,exports.ANIMATION_CSS_VARS=s.t,exports.BLACKBIRD_EASING=s.n,exports.DISCOVER_EVENT=w.DISCOVER_EVENT,exports.DISCOVER_RESPONSE_EVENT=w.DISCOVER_RESPONSE_EVENT,exports.DURATION_BACKDROP=s.r,exports.DURATION_ENTER=s.i,exports.DURATION_EXIT=s.a,exports.DragDirective=p.DragDirective,exports.DropDirective=p.DropDirective,exports.EASE_IN=s.o,exports.EASE_OUT=s.s,exports.EmotionalSoundGenerator=o.n,exports.FINDING_MORTIES=n.b,exports.GRID_ANIMATION_CSS=s.c,exports.HERE_RICKY=n.x,exports.HISTORY_STRATEGY=n.v,exports.HereMorty=m.n,Object.defineProperty(exports,`List`,{enumerable:!0,get:function(){return L.t}}),exports.Numbers=Z.t,Object.defineProperty(exports,`RadioButton`,{enumerable:!0,get:function(){return U.t}}),Object.defineProperty(exports,`RadioGroup`,{enumerable:!0,get:function(){return U.n}}),exports.SCHMANCY_EXPAND_REQUEST_CLOSE=D.t,exports.SPRING_BOUNCY=s.l,exports.SPRING_GENTLE=s.u,exports.SPRING_SMOOTH=s.d,exports.SPRING_SNAPPY=s.f,Object.defineProperty(exports,`ScBadgeV2`,{enumerable:!0,get:function(){return m.w}}),Object.defineProperty(exports,`SchmancyArea`,{enumerable:!0,get:function(){return n._}}),Object.defineProperty(exports,`SchmancyAreaChart`,{enumerable:!0,get:function(){return _.SchmancyAreaChart}}),Object.defineProperty(exports,`SchmancyAssistChip`,{enumerable:!0,get:function(){return v.r}}),Object.defineProperty(exports,`SchmancyAvatar`,{enumerable:!0,get:function(){return fe.SchmancyAvatar}}),Object.defineProperty(exports,`SchmancyBadgeV2`,{enumerable:!0,get:function(){return m.T}}),exports.SchmancyBoat=h.t,Object.defineProperty(exports,`SchmancyBreadcrumb`,{enumerable:!0,get:function(){return Q.SchmancyBreadcrumb}}),Object.defineProperty(exports,`SchmancyBreadcrumbItem`,{enumerable:!0,get:function(){return Q.SchmancyBreadcrumbItem}}),Object.defineProperty(exports,`SchmancyButton`,{enumerable:!0,get:function(){return g.SchmancyButton}}),Object.defineProperty(exports,`SchmancyCheckbox`,{enumerable:!0,get:function(){return ne.t}}),exports.SchmancyChip=v.n,exports.SchmancyFilterChip=v.n,Object.defineProperty(exports,`SchmancyConnectivityStatus`,{enumerable:!0,get:function(){return y.SchmancyConnectivityStatus}}),Object.defineProperty(exports,`SchmancyContentDrawer`,{enumerable:!0,get:function(){return m._}}),exports.SchmancyContentDrawerID=m.v,Object.defineProperty(exports,`SchmancyContentDrawerMain`,{enumerable:!0,get:function(){return m.g}}),exports.SchmancyContentDrawerMaxHeight=m.y,exports.SchmancyContentDrawerMinWidth=m.b,Object.defineProperty(exports,`SchmancyContentDrawerSheet`,{enumerable:!0,get:function(){return m.h}}),exports.SchmancyContentDrawerSheetMode=m.x,exports.SchmancyContentDrawerSheetState=m.S,exports.SchmancyContext=i.o,Object.defineProperty(exports,`SchmancyCountriesSelect`,{enumerable:!0,get:function(){return k.n}}),Object.defineProperty(exports,`SchmancyDataTable`,{enumerable:!0,get:function(){return Y.SchmancyDataTable}}),Object.defineProperty(exports,`SchmancyDateRange`,{enumerable:!0,get:function(){return b.t}}),exports.SchmancyDateRangeInline=x.t,Object.defineProperty(exports,`SchmancyDelay`,{enumerable:!0,get:function(){return S.SchmancyDelay}}),exports.SchmancyDetails=C.t,Object.defineProperty(exports,`SchmancyDrawerAppbar`,{enumerable:!0,get:function(){return m.f}}),exports.SchmancyDrawerNavbarMode=m.l,exports.SchmancyDrawerNavbarState=m.u,Object.defineProperty(exports,`SchmancyDropdown`,{enumerable:!0,get:function(){return T.SchmancyDropdown}}),Object.defineProperty(exports,`SchmancyDropdownContent`,{enumerable:!0,get:function(){return T.SchmancyDropdownContent}}),exports.SchmancyEvents=le.SchmancyEvents,Object.defineProperty(exports,`SchmancyExpandRoot`,{enumerable:!0,get:function(){return D.n}}),exports.SchmancyFloat=ie.t,exports.SchmancyForm=A.t,exports.SchmancyGenerateMoodAudioEvent=X.n,exports.SchmancyIframe=j.t,exports.SchmancyInput=M.n,Object.defineProperty(exports,`SchmancyInputChip`,{enumerable:!0,get:function(){return te.t}}),Object.defineProperty(exports,`SchmancyInputCompat`,{enumerable:!0,get:function(){return M.t}}),Object.defineProperty(exports,`SchmancyJson`,{enumerable:!0,get:function(){return P.SchmancyJson}}),Object.defineProperty(exports,`SchmancyKbd`,{enumerable:!0,get:function(){return pe.SchmancyKbd}}),Object.defineProperty(exports,`SchmancyLightbox`,{enumerable:!0,get:function(){return I.i}}),Object.defineProperty(exports,`SchmancyListItem`,{enumerable:!0,get:function(){return L.n}}),exports.SchmancyListTypeContext=L.r,exports.SchmancyMap=R.t,Object.defineProperty(exports,`SchmancyNavigationBar`,{enumerable:!0,get:function(){return m.a}}),Object.defineProperty(exports,`SchmancyNavigationBarItem`,{enumerable:!0,get:function(){return m.o}}),Object.defineProperty(exports,`SchmancyNavigationDrawer`,{enumerable:!0,get:function(){return m.c}}),Object.defineProperty(exports,`SchmancyNavigationDrawerContent`,{enumerable:!0,get:function(){return m.d}}),Object.defineProperty(exports,`SchmancyNavigationDrawerSidebar`,{enumerable:!0,get:function(){return m.s}}),Object.defineProperty(exports,`SchmancyNavigationRail`,{enumerable:!0,get:function(){return z.SchmancyNavigationRail}}),Object.defineProperty(exports,`SchmancyNavigationRailItem`,{enumerable:!0,get:function(){return z.SchmancyNavigationRailItem}}),exports.SchmancyNotification=N.i,Object.defineProperty(exports,`SchmancyPage`,{enumerable:!0,get:function(){return B.SchmancyPage}}),Object.defineProperty(exports,`SchmancyPaymentCardForm`,{enumerable:!0,get:function(){return V.t}}),Object.defineProperty(exports,`SchmancyPills`,{enumerable:!0,get:function(){return _.SchmancyPills}}),Object.defineProperty(exports,`SchmancyQRScanner`,{enumerable:!0,get:function(){return H.SchmancyQRScanner}}),Object.defineProperty(exports,`SchmancyRange`,{enumerable:!0,get:function(){return W.SchmancyRange}}),Object.defineProperty(exports,`SchmancyRoute`,{enumerable:!0,get:function(){return n.y}}),Object.defineProperty(exports,`SchmancyScroll`,{enumerable:!0,get:function(){return F.t}}),Object.defineProperty(exports,`SchmancySelect`,{enumerable:!0,get:function(){return K.t}}),Object.defineProperty(exports,`SchmancySkeleton`,{enumerable:!0,get:function(){return me.SchmancySkeleton}}),Object.defineProperty(exports,`SchmancySlide`,{enumerable:!0,get:function(){return q.SchmancySlide}}),Object.defineProperty(exports,`SchmancySlider`,{enumerable:!0,get:function(){return q.SchmancySlider}}),Object.defineProperty(exports,`SchmancyStep`,{enumerable:!0,get:function(){return J.SchmancyStep}}),Object.defineProperty(exports,`SchmancyStepsContainer`,{enumerable:!0,get:function(){return J.SchmancyStepsContainer}}),Object.defineProperty(exports,`SchmancySuggestionChip`,{enumerable:!0,get:function(){return v.t}}),Object.defineProperty(exports,`SchmancySurface`,{enumerable:!0,get:function(){return E.t}}),exports.SchmancySurfaceTypeContext=E.n,Object.defineProperty(exports,`SchmancySwitch`,{enumerable:!0,get:function(){return he.SchmancySwitch}}),Object.defineProperty(exports,`SchmancyTableRow`,{enumerable:!0,get:function(){return Y.SchmancyTableRow}}),Object.defineProperty(exports,`SchmancyTeleportation`,{enumerable:!0,get:function(){return m.t}}),exports.SchmancyTheme=G.t,Object.defineProperty(exports,`SchmancyThemeAudioPlayer`,{enumerable:!0,get:function(){return X.r}}),Object.defineProperty(exports,`SchmancyThemeComponent`,{enumerable:!0,get:function(){return X.a}}),Object.defineProperty(exports,`SchmancyThemeController`,{enumerable:!0,get:function(){return X.i}}),Object.defineProperty(exports,`SchmancyThemeControllerBoat`,{enumerable:!0,get:function(){return X.t}}),Object.defineProperty(exports,`SchmancyTimelineTile`,{enumerable:!0,get:function(){return oe.SchmancyTimelineTile}}),Object.defineProperty(exports,`SchmancyTimezonesSelect`,{enumerable:!0,get:function(){return k.t}}),Object.defineProperty(exports,`SchmancyTree`,{enumerable:!0,get:function(){return ce.SchmancyTree}}),Object.defineProperty(exports,`SchmancyTypography`,{enumerable:!0,get:function(){return de.SchmancyTypography}}),Object.defineProperty(exports,`SchmancyVisuallyHidden`,{enumerable:!0,get:function(){return ge.SchmancyVisuallyHidden}}),exports.SchmancyWindow=O.t,Object.defineProperty(exports,`SchmnacyIconButton`,{enumerable:!0,get:function(){return g.SchmnacyIconButton}}),Object.defineProperty(exports,`Signal`,{enumerable:!0,get:function(){return $.Signal}}),exports.StepsController=J.StepsController,exports.ThemeHereIAm=u.r,exports.ThemeWhereAreYou=u.i,exports.WhereAreYouRicky=m.r,exports._activeHost=t.t,exports.animateText=p.animateText,exports.area=n.S,exports.bindState=i.t,exports.buildQueryString=n.t,exports.catmullRomSpline=_.catmullRomSpline,exports.color=p.color,exports.compareActiveRoutes=n.n,exports.compareCustomElementConstructors=n.r,exports.compareRouteActions=n.i,Object.defineProperty(exports,`computed`,{enumerable:!0,get:function(){return $.computed}}),exports.confirmClick=p.confirmClick,exports.createAnimation=s.p,exports.createDarkTonalPaletteFromBaseColor=X.s,exports.createDismissAnimation=s.m,exports.createLightTonalPaletteFromBaseColor=X.c,exports.createRevealAnimation=s.h,exports.createRouteCacheKey=n.a,exports.createScaleAnimation=s.g,exports.cursorGlow=l.t,exports.cycleText=p.cycleText,exports.debounce=n.o,exports.decodeData=n.h,exports.decodeRouteState=n.s,exports.deepMerge=n.c,exports.delayContext=S.delayContext,exports.depthOfField=p.depthOfField,exports.discover=w.discover,exports.discoverAllElements=w.discoverAllElements,exports.discoverAnyComponent=w.discoverAnyComponent,exports.discoverComponent=w.discoverComponent,exports.discoverElement=w.discoverElement,exports.drag=p.drag,exports.drop=p.drop,exports.easeOutCubic=_.easeOutCubic,exports.effect=i.n,exports.encodeData=n.g,exports.encodeRouteState=n.l,exports.extractQueryParams=n.u,exports.flip=I.r,exports.formatTheme=X.l,exports.fromResizeObserver=d.t,exports.fullHeight=d.n,exports.fullWidth=d.r,exports.getEasing=s._,exports.getTagName=n.d,exports.gravity=p.gravity,exports.hexToRgba=_.hexToRgba,exports.intersect=p.intersect,exports.intersection$=Z.n,exports.isObject=n.f,exports.lazy=r.t,exports.lightbox=I.t,exports.lightboxDirective=I.n,exports.liquid=p.liquid,exports.livingBorder=p.livingBorder,exports.longPress=p.longPress,exports.magnetic=f.t,exports.mutationObserver=ae.t,exports.nebula=p.nebula,exports.normalizeTagName=n.p,exports.notify=N.t,exports.notifyProgress=N.n,exports.observe=i.r,exports.overlayStack=re.t,exports.prefersReducedMotion=s.v,exports.reducedMotion$=c.t,exports.reveal=p.reveal,exports.ripple=p.ripple,exports.routerHistory=n.C,exports.sanitizeRouteState=n.m,exports.schmancyContentDrawer=m.C,exports.schmancyNavDrawer=m.m,exports.schmancySound=a.t,exports.schmancyTheme=u.t,exports.similarity=ee.t,exports.sound=a.n,exports.state=i.i,exports.stateFromObservable=i.a,exports.stepsContext=J.stepsContext,exports.tailwindAnimations=s.y,exports.tailwindStyles=X.o,exports.teleport=m.i,exports.theme=u.n,exports.themeContext=e.d,exports.tooltip=se.tooltip,exports.typewriter=ue.typewriter,exports.validateInitialDateRange=b.n,exports.windowManager=O.n;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`./chunk-CncqDLb2.cjs`);const ee=require(`./mixins-47_CZk7q.cjs`),e=require(`./active-host-CcIa2tmW.cjs`),t=require(`./area-8IBAXzbC.cjs`),te=require(`./lazy-Dq9mRRjT.cjs`),n=require(`./state-DNdCPITt.cjs`),r=require(`./sound.service-BGs6m0Cm.cjs`),i=require(`./audio-CluX8Qpq.cjs`),a=require(`./search-BLCRsxIC.cjs`),o=require(`./input-chip-w09qTt7J.cjs`),s=require(`./animation-CO_Csq84.cjs`),c=require(`./reduced-motion-Ds-HjMzn.cjs`),l=require(`./cursor-glow-Bulq-38P.cjs`),u=require(`./theme.service-Cfk88qHK.cjs`),d=require(`./layout-Zhe7wSZ_.cjs`),f=require(`./magnetic-BJgB1dVi.cjs`),p=require(`./directives.cjs`),m=require(`./src-DE11tq2Q.cjs`),h=require(`./boat-CpGNeWav.cjs`),g=require(`./button.cjs`),ne=require(`./checkbox-2e8v7CNg.cjs`),_=require(`./chips-DPCcO55o.cjs`),v=require(`./connectivity.cjs`),y=require(`./date-range-63-FC7gD.cjs`),b=require(`./date-range-inline-Cpdqd-8B.cjs`),x=require(`./delay.cjs`),S=require(`./details-qKikJIyH.cjs`),C=require(`./discovery.cjs`),w=require(`./dropdown.cjs`),T=require(`./surface-D426MFLR.cjs`),E=require(`./expand-891JuQuN.cjs`),re=require(`./overlay-stack-DPIe_aYv.cjs`),D=require(`./window-BaoSwgGE.cjs`),ie=require(`./float-D7vvODxx.cjs`),O=require(`./form-Ceijw1aA.cjs`),k=require(`./iframe-CMKV-bm8.cjs`),A=require(`./input-BFhJU74_.cjs`),j=require(`./notification-B6YBL0hx.cjs`),M=require(`./json.cjs`),N=require(`./scroll-cayCBOrq.cjs`),P=require(`./lightbox-CK035jsx.cjs`),F=require(`./list-B3P37zlH.cjs`),I=require(`./navigation-rail.cjs`),L=require(`./page.cjs`),R=require(`./radio-group-DYsycLmD.cjs`),z=require(`./range.cjs`),B=require(`./rxjs-utils-DCUHg_Ml.cjs`),V=require(`./theme.interface-BujperTo.cjs`),H=require(`./select-CRdSmlLq.cjs`),U=require(`./slider.cjs`),W=require(`./steps.cjs`),G=require(`./table.cjs`),K=require(`./theme-Ce9eIP05.cjs`),q=require(`./tooltip.cjs`),J=require(`./tree.cjs`),Y=require(`./types.cjs`),ae=require(`./typewriter.cjs`),oe=require(`./typography.cjs`),X=require(`./utils-Dt5PpmaQ.cjs`),se=require(`./avatar.cjs`),Z=require(`./breadcrumb.cjs`),Q=require(`./kbd.cjs`),ce=require(`./skeleton.cjs`),le=require(`./switch.cjs`),ue=require(`./visually-hidden.cjs`);let $=require(`@lit-labs/signals`);exports.$drawer=m.p,exports.$notify=j.r,exports.$sounds=i.t,exports.ANIMATION_CSS_VARS=s.t,exports.BLACKBIRD_EASING=s.n,exports.DISCOVER_EVENT=C.DISCOVER_EVENT,exports.DISCOVER_RESPONSE_EVENT=C.DISCOVER_RESPONSE_EVENT,exports.DURATION_BACKDROP=s.r,exports.DURATION_ENTER=s.i,exports.DURATION_EXIT=s.a,exports.DragDirective=p.DragDirective,exports.DropDirective=p.DropDirective,exports.EASE_IN=s.o,exports.EASE_OUT=s.s,exports.EmotionalSoundGenerator=i.n,exports.FINDING_MORTIES=t.b,exports.GRID_ANIMATION_CSS=s.c,exports.HERE_RICKY=t.x,exports.HISTORY_STRATEGY=t.v,exports.HereMorty=m.n,Object.defineProperty(exports,`List`,{enumerable:!0,get:function(){return F.t}}),exports.Numbers=X.t,Object.defineProperty(exports,`RadioButton`,{enumerable:!0,get:function(){return R.t}}),Object.defineProperty(exports,`RadioGroup`,{enumerable:!0,get:function(){return R.n}}),exports.SCHMANCY_EXPAND_REQUEST_CLOSE=E.t,exports.SPRING_BOUNCY=s.l,exports.SPRING_GENTLE=s.u,exports.SPRING_SMOOTH=s.d,exports.SPRING_SNAPPY=s.f,Object.defineProperty(exports,`ScBadgeV2`,{enumerable:!0,get:function(){return m.w}}),Object.defineProperty(exports,`SchmancyArea`,{enumerable:!0,get:function(){return t._}}),Object.defineProperty(exports,`SchmancyAssistChip`,{enumerable:!0,get:function(){return _.r}}),Object.defineProperty(exports,`SchmancyAvatar`,{enumerable:!0,get:function(){return se.SchmancyAvatar}}),Object.defineProperty(exports,`SchmancyBadgeV2`,{enumerable:!0,get:function(){return m.T}}),exports.SchmancyBoat=h.t,Object.defineProperty(exports,`SchmancyBreadcrumb`,{enumerable:!0,get:function(){return Z.SchmancyBreadcrumb}}),Object.defineProperty(exports,`SchmancyBreadcrumbItem`,{enumerable:!0,get:function(){return Z.SchmancyBreadcrumbItem}}),Object.defineProperty(exports,`SchmancyButton`,{enumerable:!0,get:function(){return g.SchmancyButton}}),Object.defineProperty(exports,`SchmancyCheckbox`,{enumerable:!0,get:function(){return ne.t}}),exports.SchmancyChip=_.n,exports.SchmancyFilterChip=_.n,Object.defineProperty(exports,`SchmancyConnectivityStatus`,{enumerable:!0,get:function(){return v.SchmancyConnectivityStatus}}),Object.defineProperty(exports,`SchmancyContentDrawer`,{enumerable:!0,get:function(){return m._}}),exports.SchmancyContentDrawerID=m.v,Object.defineProperty(exports,`SchmancyContentDrawerMain`,{enumerable:!0,get:function(){return m.g}}),exports.SchmancyContentDrawerMaxHeight=m.y,exports.SchmancyContentDrawerMinWidth=m.b,Object.defineProperty(exports,`SchmancyContentDrawerSheet`,{enumerable:!0,get:function(){return m.h}}),exports.SchmancyContentDrawerSheetMode=m.x,exports.SchmancyContentDrawerSheetState=m.S,exports.SchmancyContext=n.o,Object.defineProperty(exports,`SchmancyDataTable`,{enumerable:!0,get:function(){return G.SchmancyDataTable}}),Object.defineProperty(exports,`SchmancyDateRange`,{enumerable:!0,get:function(){return y.t}}),exports.SchmancyDateRangeInline=b.t,Object.defineProperty(exports,`SchmancyDelay`,{enumerable:!0,get:function(){return x.SchmancyDelay}}),exports.SchmancyDetails=S.t,Object.defineProperty(exports,`SchmancyDrawerAppbar`,{enumerable:!0,get:function(){return m.f}}),exports.SchmancyDrawerNavbarMode=m.l,exports.SchmancyDrawerNavbarState=m.u,Object.defineProperty(exports,`SchmancyDropdown`,{enumerable:!0,get:function(){return w.SchmancyDropdown}}),Object.defineProperty(exports,`SchmancyDropdownContent`,{enumerable:!0,get:function(){return w.SchmancyDropdownContent}}),exports.SchmancyEvents=Y.SchmancyEvents,Object.defineProperty(exports,`SchmancyExpandRoot`,{enumerable:!0,get:function(){return E.n}}),exports.SchmancyFloat=ie.t,exports.SchmancyForm=O.t,exports.SchmancyGenerateMoodAudioEvent=K.n,exports.SchmancyIframe=k.t,exports.SchmancyInput=A.n,Object.defineProperty(exports,`SchmancyInputChip`,{enumerable:!0,get:function(){return o.t}}),Object.defineProperty(exports,`SchmancyInputCompat`,{enumerable:!0,get:function(){return A.t}}),Object.defineProperty(exports,`SchmancyJson`,{enumerable:!0,get:function(){return M.SchmancyJson}}),Object.defineProperty(exports,`SchmancyKbd`,{enumerable:!0,get:function(){return Q.SchmancyKbd}}),Object.defineProperty(exports,`SchmancyLightbox`,{enumerable:!0,get:function(){return P.i}}),Object.defineProperty(exports,`SchmancyListItem`,{enumerable:!0,get:function(){return F.n}}),exports.SchmancyListTypeContext=F.r,Object.defineProperty(exports,`SchmancyNavigationBar`,{enumerable:!0,get:function(){return m.a}}),Object.defineProperty(exports,`SchmancyNavigationBarItem`,{enumerable:!0,get:function(){return m.o}}),Object.defineProperty(exports,`SchmancyNavigationDrawer`,{enumerable:!0,get:function(){return m.c}}),Object.defineProperty(exports,`SchmancyNavigationDrawerContent`,{enumerable:!0,get:function(){return m.d}}),Object.defineProperty(exports,`SchmancyNavigationDrawerSidebar`,{enumerable:!0,get:function(){return m.s}}),Object.defineProperty(exports,`SchmancyNavigationRail`,{enumerable:!0,get:function(){return I.SchmancyNavigationRail}}),Object.defineProperty(exports,`SchmancyNavigationRailItem`,{enumerable:!0,get:function(){return I.SchmancyNavigationRailItem}}),exports.SchmancyNotification=j.i,Object.defineProperty(exports,`SchmancyPage`,{enumerable:!0,get:function(){return L.SchmancyPage}}),Object.defineProperty(exports,`SchmancyRange`,{enumerable:!0,get:function(){return z.SchmancyRange}}),Object.defineProperty(exports,`SchmancyRoute`,{enumerable:!0,get:function(){return t.y}}),Object.defineProperty(exports,`SchmancyScroll`,{enumerable:!0,get:function(){return N.t}}),Object.defineProperty(exports,`SchmancySelect`,{enumerable:!0,get:function(){return H.t}}),Object.defineProperty(exports,`SchmancySkeleton`,{enumerable:!0,get:function(){return ce.SchmancySkeleton}}),Object.defineProperty(exports,`SchmancySlide`,{enumerable:!0,get:function(){return U.SchmancySlide}}),Object.defineProperty(exports,`SchmancySlider`,{enumerable:!0,get:function(){return U.SchmancySlider}}),Object.defineProperty(exports,`SchmancyStep`,{enumerable:!0,get:function(){return W.SchmancyStep}}),Object.defineProperty(exports,`SchmancyStepsContainer`,{enumerable:!0,get:function(){return W.SchmancyStepsContainer}}),Object.defineProperty(exports,`SchmancySuggestionChip`,{enumerable:!0,get:function(){return _.t}}),Object.defineProperty(exports,`SchmancySurface`,{enumerable:!0,get:function(){return T.t}}),exports.SchmancySurfaceTypeContext=T.n,Object.defineProperty(exports,`SchmancySwitch`,{enumerable:!0,get:function(){return le.SchmancySwitch}}),Object.defineProperty(exports,`SchmancyTableRow`,{enumerable:!0,get:function(){return G.SchmancyTableRow}}),Object.defineProperty(exports,`SchmancyTeleportation`,{enumerable:!0,get:function(){return m.t}}),exports.SchmancyTheme=V.t,Object.defineProperty(exports,`SchmancyThemeAudioPlayer`,{enumerable:!0,get:function(){return K.r}}),Object.defineProperty(exports,`SchmancyThemeComponent`,{enumerable:!0,get:function(){return K.a}}),Object.defineProperty(exports,`SchmancyThemeController`,{enumerable:!0,get:function(){return K.i}}),Object.defineProperty(exports,`SchmancyThemeControllerBoat`,{enumerable:!0,get:function(){return K.t}}),Object.defineProperty(exports,`SchmancyTree`,{enumerable:!0,get:function(){return J.SchmancyTree}}),Object.defineProperty(exports,`SchmancyTypography`,{enumerable:!0,get:function(){return oe.SchmancyTypography}}),Object.defineProperty(exports,`SchmancyVisuallyHidden`,{enumerable:!0,get:function(){return ue.SchmancyVisuallyHidden}}),exports.SchmancyWindow=D.t,Object.defineProperty(exports,`SchmnacyIconButton`,{enumerable:!0,get:function(){return g.SchmnacyIconButton}}),Object.defineProperty(exports,`Signal`,{enumerable:!0,get:function(){return $.Signal}}),exports.StepsController=W.StepsController,exports.ThemeHereIAm=u.r,exports.ThemeWhereAreYou=u.i,exports.WhereAreYouRicky=m.r,exports._activeHost=e.t,exports.animateText=p.animateText,exports.area=t.S,exports.bindState=n.t,exports.buildQueryString=t.t,exports.color=p.color,exports.compareActiveRoutes=t.n,exports.compareCustomElementConstructors=t.r,exports.compareRouteActions=t.i,Object.defineProperty(exports,`computed`,{enumerable:!0,get:function(){return $.computed}}),exports.confirmClick=p.confirmClick,exports.createAnimation=s.p,exports.createDarkTonalPaletteFromBaseColor=K.s,exports.createDismissAnimation=s.m,exports.createLightTonalPaletteFromBaseColor=K.c,exports.createRevealAnimation=s.h,exports.createRouteCacheKey=t.a,exports.createScaleAnimation=s.g,exports.cursorGlow=l.t,exports.cycleText=p.cycleText,exports.debounce=t.o,exports.decodeData=t.h,exports.decodeRouteState=t.s,exports.deepMerge=t.c,exports.delayContext=x.delayContext,exports.depthOfField=p.depthOfField,exports.discover=C.discover,exports.discoverAllElements=C.discoverAllElements,exports.discoverAnyComponent=C.discoverAnyComponent,exports.discoverComponent=C.discoverComponent,exports.discoverElement=C.discoverElement,exports.drag=p.drag,exports.drop=p.drop,exports.effect=n.n,exports.encodeData=t.g,exports.encodeRouteState=t.l,exports.extractQueryParams=t.u,exports.flip=P.r,exports.formatTheme=K.l,exports.fromResizeObserver=d.t,exports.fullHeight=d.n,exports.fullWidth=d.r,exports.getEasing=s._,exports.getTagName=t.d,exports.gravity=p.gravity,exports.intersect=p.intersect,exports.intersection$=X.n,exports.isObject=t.f,exports.lazy=te.t,exports.lightbox=P.t,exports.lightboxDirective=P.n,exports.liquid=p.liquid,exports.livingBorder=p.livingBorder,exports.longPress=p.longPress,exports.magnetic=f.t,exports.mutationObserver=B.t,exports.nebula=p.nebula,exports.normalizeTagName=t.p,exports.notify=j.t,exports.notifyProgress=j.n,exports.observe=n.r,exports.overlayStack=re.t,exports.prefersReducedMotion=s.v,exports.reducedMotion$=c.t,exports.reveal=p.reveal,exports.ripple=p.ripple,exports.routerHistory=t.C,exports.sanitizeRouteState=t.m,exports.schmancyContentDrawer=m.C,exports.schmancyNavDrawer=m.m,exports.schmancySound=r.t,exports.schmancyTheme=u.t,exports.similarity=a.t,exports.sound=r.n,exports.state=n.i,exports.stateFromObservable=n.a,exports.stepsContext=W.stepsContext,exports.tailwindAnimations=s.y,exports.tailwindStyles=K.o,exports.teleport=m.i,exports.theme=u.n,exports.themeContext=ee.d,exports.tooltip=q.tooltip,exports.typewriter=ae.typewriter,exports.validateInitialDateRange=y.n,exports.windowManager=D.n;
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
- import { d as ee } from "./mixins-Dw6hVfy-.js";
1
+ import { d as ee } from "./mixins-PBJJGiiP.js";
2
2
  import { t as te } from "./active-host-CvNYoprt.js";
3
- import { C as ne, S as e, _ as t, a as n, b as r, c as i, d as a, f as o, g as s, h as c, i as l, l as u, m as d, n as f, o as p, p as m, r as h, s as g, t as _, u as v, v as y, x as b, y as x } from "./area-CIZZ5tbB.js";
3
+ import { C as ne, S as e, _ as t, a as n, b as r, c as i, d as a, f as o, g as s, h as c, i as l, l as u, m as d, n as f, o as p, p as m, r as h, s as g, t as _, u as v, v as y, x as b, y as x } from "./area-DSW_LYXQ.js";
4
4
  import { t as S } from "./lazy-B0ia54tT.js";
5
5
  import { a as C, c as w, i as T, n as E, o as D, r as O, s as k, t as A } from "./state-BusMG6sM.js";
6
6
  import { n as j, t as M } from "./sound.service-kKfsN0m-.js";
7
7
  import { n as N, t as P } from "./audio-DcXphulJ.js";
8
8
  import { t as F } from "./search-BTz7-Rev.js";
9
- import { t as I } from "./input-chip-BdoaVw_D.js";
9
+ import { t as I } from "./input-chip-D9tlSk_2.js";
10
10
  import { _ as L, a as R, c as z, d as B, f as V, g as H, h as U, i as W, l as G, m as K, n as q, o as J, p as Y, r as X, s as Z, t as re, u as ie, v as ae, y as oe } from "./animation-BK-8BwY8.js";
11
11
  import { t as se } from "./reduced-motion-D-L12p7G.js";
12
12
  import { t as ce } from "./cursor-glow-Ah7VXSj7.js";
@@ -14,58 +14,52 @@ import { i as le, n as ue, r as de, t as fe } from "./theme.service-DIUo1mBP.js"
14
14
  import { n as pe, r as me, t as he } from "./layout-CXPNsUIo.js";
15
15
  import { t as ge } from "./magnetic-YwCNvtbB.js";
16
16
  import { DragDirective as _e, DropDirective as ve, animateText as ye, color as be, confirmClick as xe, cycleText as Se, depthOfField as Ce, drag as we, drop as Te, gravity as Ee, intersect as De, liquid as Oe, livingBorder as ke, longPress as Ae, nebula as je, reveal as Me, ripple as Ne } from "./directives.js";
17
- import { C as Pe, S as Fe, T as Ie, _ as Le, a as Re, b as ze, c as Be, d as Ve, f as He, g as Ue, h as We, i as Ge, l as Ke, m as qe, n as Je, o as Ye, p as Xe, r as Ze, s as Qe, t as $e, u as et, v as tt, w as nt, x as rt, y as it } from "./src-YRir9pOP.js";
18
- import { t as at } from "./boat-CpE0yAlK.js";
19
- import { SchmancyButton as ot, SchmnacyIconButton as st } from "./button.js";
20
- import { SchmancyAreaChart as ct, SchmancyPills as lt, catmullRomSpline as Q, easeOutCubic as ut, hexToRgba as dt } from "./charts.js";
21
- import { t as ft } from "./checkbox-CvmB1ev9.js";
22
- import { n as $, r as pt, t as mt } from "./chips-C8Y3_3ke.js";
23
- import { SchmancyConnectivityStatus as ht } from "./connectivity.js";
24
- import { n as gt, t as _t } from "./date-range-DdcaPX7C.js";
25
- import { t as vt } from "./date-range-inline-QQmIWhZ4.js";
26
- import { SchmancyDelay as yt, delayContext as bt } from "./delay.js";
27
- import { t as xt } from "./details-Dpjh-XnJ.js";
28
- import { DISCOVER_EVENT as St, DISCOVER_RESPONSE_EVENT as Ct, discover as wt, discoverAllElements as Tt, discoverAnyComponent as Et, discoverComponent as Dt, discoverElement as Ot } from "./discovery.js";
29
- import { SchmancyDropdown as kt, SchmancyDropdownContent as At } from "./dropdown.js";
30
- import { n as jt, t as Mt } from "./surface-BE7sGTBt.js";
31
- import { n as Nt, t as Pt } from "./expand-DrgMPJbu.js";
32
- import { t as Ft } from "./overlay-stack-DCDS17uj.js";
33
- import { n as It, t as Lt } from "./window-B_55dzk0.js";
34
- import { t as Rt } from "./float-1iihPek5.js";
35
- import { n as zt, t as Bt } from "./extra-B6gFu4_1.js";
36
- import { t as Vt } from "./form-BF1c3Dk1.js";
37
- import { t as Ht } from "./iframe-C9tj7F6Y.js";
38
- import { n as Ut, t as Wt } from "./input-DE7x223Y.js";
39
- import { i as Gt, n as Kt, r as qt, t as Jt } from "./notification-ycbUBbOu.js";
40
- import { SchmancyJson as Yt } from "./json.js";
41
- import { t as Xt } from "./scroll-BCmdqSQU.js";
42
- import { i as Zt, n as Qt, r as $t, t as en } from "./lightbox-DcutIyjx.js";
43
- import { n as tn, r as nn, t as rn } from "./list-BWrtrdgs.js";
44
- import { t as an } from "./map-CEreveeI.js";
45
- import { SchmancyNavigationRail as on, SchmancyNavigationRailItem as sn } from "./navigation-rail.js";
46
- import { SchmancyPage as cn } from "./page.js";
47
- import { t as ln } from "./payment-card-form-Be1-OVlL.js";
48
- import { SchmancyQRScanner as un } from "./qr-scanner.js";
49
- import { n as dn, t as fn } from "./radio-group-DTNAW5dd.js";
50
- import { SchmancyRange as pn } from "./range.js";
51
- import { t as mn } from "./rxjs-utils-BK8VMe3K.js";
52
- import { t as hn } from "./theme.interface-v7SkAnDH.js";
53
- import { t as gn } from "./select-COGARE0b.js";
54
- import { SchmancySlide as _n, SchmancySlider as vn } from "./slider.js";
55
- import { SchmancyStep as yn, SchmancyStepsContainer as bn, StepsController as xn, stepsContext as Sn } from "./steps.js";
56
- import { SchmancyDataTable as Cn, SchmancyTableRow as wn } from "./table.js";
57
- import { a as Tn, c as En, i as Dn, l as On, n as kn, o as An, r as jn, s as Mn, t as Nn } from "./theme-Qh-yPEPL.js";
58
- import { SchmancyTimelineTile as Pn } from "./timeline.js";
59
- import { tooltip as Fn } from "./tooltip.js";
60
- import { SchmancyTree as In } from "./tree.js";
61
- import { SchmancyEvents as Ln } from "./types.js";
62
- import { typewriter as Rn } from "./typewriter.js";
63
- import { SchmancyTypography as zn } from "./typography.js";
64
- import { n as Bn, t as Vn } from "./utils-BfOze6Tk.js";
65
- import { SchmancyAvatar as Hn } from "./avatar.js";
66
- import { SchmancyBreadcrumb as Un, SchmancyBreadcrumbItem as Wn } from "./breadcrumb.js";
67
- import { SchmancyKbd as Gn } from "./kbd.js";
68
- import { SchmancySkeleton as Kn } from "./skeleton.js";
69
- import { SchmancySwitch as qn } from "./switch.js";
70
- import { SchmancyVisuallyHidden as Jn } from "./visually-hidden.js";
71
- export { Xe as $drawer, qt as $notify, P as $sounds, re as ANIMATION_CSS_VARS, q as BLACKBIRD_EASING, St as DISCOVER_EVENT, Ct as DISCOVER_RESPONSE_EVENT, X as DURATION_BACKDROP, W as DURATION_ENTER, R as DURATION_EXIT, _e as DragDirective, ve as DropDirective, J as EASE_IN, Z as EASE_OUT, N as EmotionalSoundGenerator, r as FINDING_MORTIES, z as GRID_ANIMATION_CSS, b as HERE_RICKY, y as HISTORY_STRATEGY, Je as HereMorty, rn as List, Vn as Numbers, fn as RadioButton, dn as RadioGroup, Pt as SCHMANCY_EXPAND_REQUEST_CLOSE, G as SPRING_BOUNCY, ie as SPRING_GENTLE, B as SPRING_SMOOTH, V as SPRING_SNAPPY, nt as ScBadgeV2, t as SchmancyArea, ct as SchmancyAreaChart, pt as SchmancyAssistChip, Hn as SchmancyAvatar, Ie as SchmancyBadgeV2, at as SchmancyBoat, Un as SchmancyBreadcrumb, Wn as SchmancyBreadcrumbItem, ot as SchmancyButton, ft as SchmancyCheckbox, $ as SchmancyChip, $ as SchmancyFilterChip, ht as SchmancyConnectivityStatus, Le as SchmancyContentDrawer, tt as SchmancyContentDrawerID, Ue as SchmancyContentDrawerMain, it as SchmancyContentDrawerMaxHeight, ze as SchmancyContentDrawerMinWidth, We as SchmancyContentDrawerSheet, rt as SchmancyContentDrawerSheetMode, Fe as SchmancyContentDrawerSheetState, w as SchmancyContext, zt as SchmancyCountriesSelect, Cn as SchmancyDataTable, _t as SchmancyDateRange, vt as SchmancyDateRangeInline, yt as SchmancyDelay, xt as SchmancyDetails, He as SchmancyDrawerAppbar, Ke as SchmancyDrawerNavbarMode, et as SchmancyDrawerNavbarState, kt as SchmancyDropdown, At as SchmancyDropdownContent, Ln as SchmancyEvents, Nt as SchmancyExpandRoot, Rt as SchmancyFloat, Vt as SchmancyForm, kn as SchmancyGenerateMoodAudioEvent, Ht as SchmancyIframe, Ut as SchmancyInput, I as SchmancyInputChip, Wt as SchmancyInputCompat, Yt as SchmancyJson, Gn as SchmancyKbd, Zt as SchmancyLightbox, tn as SchmancyListItem, nn as SchmancyListTypeContext, an as SchmancyMap, Re as SchmancyNavigationBar, Ye as SchmancyNavigationBarItem, Be as SchmancyNavigationDrawer, Ve as SchmancyNavigationDrawerContent, Qe as SchmancyNavigationDrawerSidebar, on as SchmancyNavigationRail, sn as SchmancyNavigationRailItem, Gt as SchmancyNotification, cn as SchmancyPage, ln as SchmancyPaymentCardForm, lt as SchmancyPills, un as SchmancyQRScanner, pn as SchmancyRange, x as SchmancyRoute, Xt as SchmancyScroll, gn as SchmancySelect, Kn as SchmancySkeleton, _n as SchmancySlide, vn as SchmancySlider, yn as SchmancyStep, bn as SchmancyStepsContainer, mt as SchmancySuggestionChip, Mt as SchmancySurface, jt as SchmancySurfaceTypeContext, qn as SchmancySwitch, wn as SchmancyTableRow, $e as SchmancyTeleportation, hn as SchmancyTheme, jn as SchmancyThemeAudioPlayer, Tn as SchmancyThemeComponent, Dn as SchmancyThemeController, Nn as SchmancyThemeControllerBoat, Pn as SchmancyTimelineTile, Bt as SchmancyTimezonesSelect, In as SchmancyTree, zn as SchmancyTypography, Jn as SchmancyVisuallyHidden, Lt as SchmancyWindow, st as SchmnacyIconButton, A as Signal, xn as StepsController, de as ThemeHereIAm, le as ThemeWhereAreYou, Ze as WhereAreYouRicky, te as _activeHost, ye as animateText, e as area, E as bindState, _ as buildQueryString, Q as catmullRomSpline, be as color, f as compareActiveRoutes, h as compareCustomElementConstructors, l as compareRouteActions, O as computed, xe as confirmClick, Y as createAnimation, Mn as createDarkTonalPaletteFromBaseColor, K as createDismissAnimation, En as createLightTonalPaletteFromBaseColor, U as createRevealAnimation, n as createRouteCacheKey, H as createScaleAnimation, ce as cursorGlow, Se as cycleText, p as debounce, c as decodeData, g as decodeRouteState, i as deepMerge, bt as delayContext, Ce as depthOfField, wt as discover, Tt as discoverAllElements, Et as discoverAnyComponent, Dt as discoverComponent, Ot as discoverElement, we as drag, Te as drop, ut as easeOutCubic, T as effect, s as encodeData, u as encodeRouteState, v as extractQueryParams, $t as flip, On as formatTheme, he as fromResizeObserver, pe as fullHeight, me as fullWidth, L as getEasing, a as getTagName, Ee as gravity, dt as hexToRgba, De as intersect, Bn as intersection$, o as isObject, S as lazy, en as lightbox, Qt as lightboxDirective, Oe as liquid, ke as livingBorder, Ae as longPress, ge as magnetic, mn as mutationObserver, je as nebula, m as normalizeTagName, Jt as notify, Kt as notifyProgress, C as observe, Ft as overlayStack, ae as prefersReducedMotion, se as reducedMotion$, Me as reveal, Ne as ripple, ne as routerHistory, d as sanitizeRouteState, Pe as schmancyContentDrawer, qe as schmancyNavDrawer, M as schmancySound, fe as schmancyTheme, F as similarity, j as sound, D as state, k as stateFromObservable, Sn as stepsContext, oe as tailwindAnimations, An as tailwindStyles, Ge as teleport, ue as theme, ee as themeContext, Fn as tooltip, Rn as typewriter, gt as validateInitialDateRange, It as windowManager };
17
+ import { C as Pe, S as Fe, T as Ie, _ as Le, a as Re, b as ze, c as Be, d as Ve, f as He, g as Ue, h as We, i as Ge, l as Ke, m as qe, n as Je, o as Ye, p as Xe, r as Ze, s as Qe, t as $e, u as et, v as tt, w as Q, x as nt, y as rt } from "./src-qvWlNoMO.js";
18
+ import { t as it } from "./boat-Dwn5oXd8.js";
19
+ import { SchmancyButton as at, SchmnacyIconButton as ot } from "./button.js";
20
+ import { t as st } from "./checkbox-CsADwyfu.js";
21
+ import { n as $, r as ct, t as lt } from "./chips-C9HwVbGT.js";
22
+ import { SchmancyConnectivityStatus as ut } from "./connectivity.js";
23
+ import { n as dt, t as ft } from "./date-range-CFaP-8Os.js";
24
+ import { t as pt } from "./date-range-inline-BCuK_XCv.js";
25
+ import { SchmancyDelay as mt, delayContext as ht } from "./delay.js";
26
+ import { t as gt } from "./details-0dOlqHHL.js";
27
+ import { DISCOVER_EVENT as _t, DISCOVER_RESPONSE_EVENT as vt, discover as yt, discoverAllElements as bt, discoverAnyComponent as xt, discoverComponent as St, discoverElement as Ct } from "./discovery.js";
28
+ import { SchmancyDropdown as wt, SchmancyDropdownContent as Tt } from "./dropdown.js";
29
+ import { n as Et, t as Dt } from "./surface-DG7Cmm9V.js";
30
+ import { n as Ot, t as kt } from "./expand-BeAx94MP.js";
31
+ import { t as At } from "./overlay-stack-DCDS17uj.js";
32
+ import { n as jt, t as Mt } from "./window-KnLWhQ3S.js";
33
+ import { t as Nt } from "./float-BPF2WO4L.js";
34
+ import { t as Pt } from "./form-CFvwnfuJ.js";
35
+ import { t as Ft } from "./iframe-BxvbhyTS.js";
36
+ import { n as It, t as Lt } from "./input-DIqaR8Mr.js";
37
+ import { i as Rt, n as zt, r as Bt, t as Vt } from "./notification-C-5Bv3vj.js";
38
+ import { SchmancyJson as Ht } from "./json.js";
39
+ import { t as Ut } from "./scroll-TqNWZ0lo.js";
40
+ import { i as Wt, n as Gt, r as Kt, t as qt } from "./lightbox-GChmL3Ff.js";
41
+ import { n as Jt, r as Yt, t as Xt } from "./list-J-Fz24Z1.js";
42
+ import { SchmancyNavigationRail as Zt, SchmancyNavigationRailItem as Qt } from "./navigation-rail.js";
43
+ import { SchmancyPage as $t } from "./page.js";
44
+ import { n as en, t as tn } from "./radio-group-BYra5_q1.js";
45
+ import { SchmancyRange as nn } from "./range.js";
46
+ import { t as rn } from "./rxjs-utils-CVeJQ9KG.js";
47
+ import { t as an } from "./theme.interface-B9TjbSBF.js";
48
+ import { t as on } from "./select-nzq0qFlF.js";
49
+ import { SchmancySlide as sn, SchmancySlider as cn } from "./slider.js";
50
+ import { SchmancyStep as ln, SchmancyStepsContainer as un, StepsController as dn, stepsContext as fn } from "./steps.js";
51
+ import { SchmancyDataTable as pn, SchmancyTableRow as mn } from "./table.js";
52
+ import { a as hn, c as gn, i as _n, l as vn, n as yn, o as bn, r as xn, s as Sn, t as Cn } from "./theme-XO3nHDbW.js";
53
+ import { tooltip as wn } from "./tooltip.js";
54
+ import { SchmancyTree as Tn } from "./tree.js";
55
+ import { SchmancyEvents as En } from "./types.js";
56
+ import { typewriter as Dn } from "./typewriter.js";
57
+ import { SchmancyTypography as On } from "./typography.js";
58
+ import { n as kn, t as An } from "./utils-kND2Z9Xg.js";
59
+ import { SchmancyAvatar as jn } from "./avatar.js";
60
+ import { SchmancyBreadcrumb as Mn, SchmancyBreadcrumbItem as Nn } from "./breadcrumb.js";
61
+ import { SchmancyKbd as Pn } from "./kbd.js";
62
+ import { SchmancySkeleton as Fn } from "./skeleton.js";
63
+ import { SchmancySwitch as In } from "./switch.js";
64
+ import { SchmancyVisuallyHidden as Ln } from "./visually-hidden.js";
65
+ export { Xe as $drawer, Bt as $notify, P as $sounds, re as ANIMATION_CSS_VARS, q as BLACKBIRD_EASING, _t as DISCOVER_EVENT, vt as DISCOVER_RESPONSE_EVENT, X as DURATION_BACKDROP, W as DURATION_ENTER, R as DURATION_EXIT, _e as DragDirective, ve as DropDirective, J as EASE_IN, Z as EASE_OUT, N as EmotionalSoundGenerator, r as FINDING_MORTIES, z as GRID_ANIMATION_CSS, b as HERE_RICKY, y as HISTORY_STRATEGY, Je as HereMorty, Xt as List, An as Numbers, tn as RadioButton, en as RadioGroup, kt as SCHMANCY_EXPAND_REQUEST_CLOSE, G as SPRING_BOUNCY, ie as SPRING_GENTLE, B as SPRING_SMOOTH, V as SPRING_SNAPPY, Q as ScBadgeV2, t as SchmancyArea, ct as SchmancyAssistChip, jn as SchmancyAvatar, Ie as SchmancyBadgeV2, it as SchmancyBoat, Mn as SchmancyBreadcrumb, Nn as SchmancyBreadcrumbItem, at as SchmancyButton, st as SchmancyCheckbox, $ as SchmancyChip, $ as SchmancyFilterChip, ut as SchmancyConnectivityStatus, Le as SchmancyContentDrawer, tt as SchmancyContentDrawerID, Ue as SchmancyContentDrawerMain, rt as SchmancyContentDrawerMaxHeight, ze as SchmancyContentDrawerMinWidth, We as SchmancyContentDrawerSheet, nt as SchmancyContentDrawerSheetMode, Fe as SchmancyContentDrawerSheetState, w as SchmancyContext, pn as SchmancyDataTable, ft as SchmancyDateRange, pt as SchmancyDateRangeInline, mt as SchmancyDelay, gt as SchmancyDetails, He as SchmancyDrawerAppbar, Ke as SchmancyDrawerNavbarMode, et as SchmancyDrawerNavbarState, wt as SchmancyDropdown, Tt as SchmancyDropdownContent, En as SchmancyEvents, Ot as SchmancyExpandRoot, Nt as SchmancyFloat, Pt as SchmancyForm, yn as SchmancyGenerateMoodAudioEvent, Ft as SchmancyIframe, It as SchmancyInput, I as SchmancyInputChip, Lt as SchmancyInputCompat, Ht as SchmancyJson, Pn as SchmancyKbd, Wt as SchmancyLightbox, Jt as SchmancyListItem, Yt as SchmancyListTypeContext, Re as SchmancyNavigationBar, Ye as SchmancyNavigationBarItem, Be as SchmancyNavigationDrawer, Ve as SchmancyNavigationDrawerContent, Qe as SchmancyNavigationDrawerSidebar, Zt as SchmancyNavigationRail, Qt as SchmancyNavigationRailItem, Rt as SchmancyNotification, $t as SchmancyPage, nn as SchmancyRange, x as SchmancyRoute, Ut as SchmancyScroll, on as SchmancySelect, Fn as SchmancySkeleton, sn as SchmancySlide, cn as SchmancySlider, ln as SchmancyStep, un as SchmancyStepsContainer, lt as SchmancySuggestionChip, Dt as SchmancySurface, Et as SchmancySurfaceTypeContext, In as SchmancySwitch, mn as SchmancyTableRow, $e as SchmancyTeleportation, an as SchmancyTheme, xn as SchmancyThemeAudioPlayer, hn as SchmancyThemeComponent, _n as SchmancyThemeController, Cn as SchmancyThemeControllerBoat, Tn as SchmancyTree, On as SchmancyTypography, Ln as SchmancyVisuallyHidden, Mt as SchmancyWindow, ot as SchmnacyIconButton, A as Signal, dn as StepsController, de as ThemeHereIAm, le as ThemeWhereAreYou, Ze as WhereAreYouRicky, te as _activeHost, ye as animateText, e as area, E as bindState, _ as buildQueryString, be as color, f as compareActiveRoutes, h as compareCustomElementConstructors, l as compareRouteActions, O as computed, xe as confirmClick, Y as createAnimation, Sn as createDarkTonalPaletteFromBaseColor, K as createDismissAnimation, gn as createLightTonalPaletteFromBaseColor, U as createRevealAnimation, n as createRouteCacheKey, H as createScaleAnimation, ce as cursorGlow, Se as cycleText, p as debounce, c as decodeData, g as decodeRouteState, i as deepMerge, ht as delayContext, Ce as depthOfField, yt as discover, bt as discoverAllElements, xt as discoverAnyComponent, St as discoverComponent, Ct as discoverElement, we as drag, Te as drop, T as effect, s as encodeData, u as encodeRouteState, v as extractQueryParams, Kt as flip, vn as formatTheme, he as fromResizeObserver, pe as fullHeight, me as fullWidth, L as getEasing, a as getTagName, Ee as gravity, De as intersect, kn as intersection$, o as isObject, S as lazy, qt as lightbox, Gt as lightboxDirective, Oe as liquid, ke as livingBorder, Ae as longPress, ge as magnetic, rn as mutationObserver, je as nebula, m as normalizeTagName, Vt as notify, zt as notifyProgress, C as observe, At as overlayStack, ae as prefersReducedMotion, se as reducedMotion$, Me as reveal, Ne as ripple, ne as routerHistory, d as sanitizeRouteState, Pe as schmancyContentDrawer, qe as schmancyNavDrawer, M as schmancySound, fe as schmancyTheme, F as similarity, j as sound, D as state, k as stateFromObservable, fn as stepsContext, oe as tailwindAnimations, bn as tailwindStyles, Ge as teleport, ue as theme, ee as themeContext, wn as tooltip, Dn as typewriter, dt as validateInitialDateRange, jt as windowManager };
@@ -1,4 +1,4 @@
1
- require(`./chunk-CncqDLb2.cjs`);const e=require(`./mixins-Db7gjDah.cjs`),t=require(`./decorate-DpFmy0nm.cjs`);let n=require(`rxjs`),r=require(`lit/decorators.js`),i=require(`lit`),a=require(`lit/directives/if-defined.js`),o=require(`lit/directives/ref.js`),s=require(`lit/directives/when.js`);var c,l=class extends e.a((0,i.unsafeCSS)(`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */
1
+ require(`./chunk-CncqDLb2.cjs`);const e=require(`./mixins-47_CZk7q.cjs`),t=require(`./decorate-DpFmy0nm.cjs`);let n=require(`rxjs`),r=require(`lit/decorators.js`),i=require(`lit`),a=require(`lit/directives/if-defined.js`),o=require(`lit/directives/ref.js`),s=require(`lit/directives/when.js`);var c,l=class extends e.a((0,i.unsafeCSS)(`/*! tailwindcss v4.2.4 | MIT License | https://tailwindcss.com */
2
2
  :host{width:100%;min-width:calc(var(--spacing,.25rem) * 0);box-sizing:border-box;max-width:100%;display:block}.date-input-container{width:100%;min-width:0;width:100%!important;max-width:100%!important}input{appearance:none;border-radius:8px;width:-webkit-fill-available;font-size:16px;transition:box-shadow .3s cubic-bezier(.34,1.56,.64,1),border-color .2s}input:focus{box-shadow:0 0 0 1px var(--schmancy-sys-color-secondary-default), 0 0 16px -4px var(--schmancy-sys-color-secondary-default)}@supports (color:color-mix(in lab, red, red)){input:focus{box-shadow:0 0 0 1px var(--schmancy-sys-color-secondary-default), 0 0 16px -4px color-mix(in srgb, var(--schmancy-sys-color-secondary-default) 20%, transparent)}}input[aria-invalid=true]{box-shadow:0 0 12px -4px var(--schmancy-sys-color-error-default)}@supports (color:color-mix(in lab, red, red)){input[aria-invalid=true]{box-shadow:0 0 12px -4px color-mix(in srgb, var(--schmancy-sys-color-error-default) 15%, transparent)}}input[aria-invalid=true]:focus{box-shadow:0 0 0 1px var(--schmancy-sys-color-error-default), 0 0 16px -4px var(--schmancy-sys-color-error-default)}@supports (color:color-mix(in lab, red, red)){input[aria-invalid=true]:focus{box-shadow:0 0 0 1px var(--schmancy-sys-color-error-default), 0 0 16px -4px color-mix(in srgb, var(--schmancy-sys-color-error-default) 25%, transparent)}}@media (prefers-reduced-motion:reduce){input{transition:none}}input[type=number]::-webkit-inner-spin-button{appearance:none;margin:calc(var(--spacing,.25rem) * 0)}input[type=number]::-webkit-outer-spin-button{appearance:none;margin:calc(var(--spacing,.25rem) * 0)}input[type=number]{appearance:textfield}input:-webkit-autofill{animation-name:onAutoFillStart;-webkit-box-shadow:0 0 0 30px var(--schmancy-sys-color-surface-highest) inset!important;-webkit-text-fill-color:var(--schmancy-sys-color-surface-on)!important}input:autofill{background-color:var(--schmancy-sys-color-surface-highest)!important;color:var(--schmancy-sys-color-surface-on)!important}input[type=date],input[type=datetime-local],input[type=time],input[type=month],input[type=week]{appearance:none;width:100%;line-height:inherit;border-radius:8px;min-width:100%;max-width:100%;margin:0;display:block;overflow:hidden;border-radius:8px!important;width:100%!important}input::-webkit-datetime-edit{align-items:center;width:100%;height:100%;margin:0;padding:0;display:flex}input::-webkit-datetime-edit-fields-wrapper{align-items:center;width:100%;height:100%;margin:0;padding:0;display:flex}input::-webkit-datetime-edit{flex:1;width:100%}input::-webkit-datetime-edit-fields-wrapper{flex:1;justify-content:space-between;width:100%}input::-webkit-datetime-edit-text{align-items:center;display:flex}input::-webkit-datetime-edit-day-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-month-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-year-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-hour-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-minute-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-second-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-millisecond-field{flex-shrink:0;padding:0 2px}input::-webkit-datetime-edit-meridiem-field{flex-shrink:0;padding:0 2px}input[type=date]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}input[type=datetime-local]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}input[type=time]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}input[type=month]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}input[type=week]::-webkit-calendar-picker-indicator{opacity:.5;cursor:pointer}@-moz-document url-prefix(){input[type=date],input[type=datetime-local],input[type=time]{min-height:inherit}}@supports (-webkit-touch-callout:none){input[type=date],input[type=datetime-local],input[type=time],input[type=month],input[type=week]{appearance:none;border-radius:0;width:-webkit-fill-available!important;width:fill-available!important;padding-left:12px!important;padding-right:12px!important}input::-webkit-datetime-edit{width:100%!important;padding-left:0!important;padding-right:0!important}input::-webkit-datetime-edit-fields-wrapper{width:100%!important;margin:0!important;padding:0!important}}`)){static{c=this}constructor(...e){super(...e),this.value=``,this.type=`text`,this.placeholder=``,this.clickable=!1,this.spellcheck=!1,this.align=`left`,this.step=`any`,this.autofocus=!1,this.autocomplete=`on`,this.tabIndex=0,this.size=`md`,this.validateOn=`touched`,this.inputRef=(0,o.createRef)(),this.isAutofilled=!1,this.touched=!1,this.dirty=!1,this.submitted=!1,this.defaultValue=``}static{this._idCounter=0}static{this.shadowRootOptions={...i.LitElement.shadowRootOptions,delegatesFocus:!0}}willUpdate(e){this.id||=`sch-input-`+ c._idCounter++,super.willUpdate(e)}updated(e){super.updated(e),e.has(`value`)&&(this.value!==this.defaultValue&&(this.dirty=!0),this.validateInput()),!this.hasUpdated&&e.has(`value`)&&(this.defaultValue=this.value)}connectedCallback(){super.connectedCallback(),this.defaultValue=this.value,this.setupFormIntegration(),this.setupExternalLabelAssociation()}setupFormIntegration(){this.form&&(this.formResetObserver=new MutationObserver(e=>{for(let t of e)t.type===`attributes`&&t.attributeName===`reset`&&this.resetToDefault()}),this.formResetObserver.observe(this.form,{attributes:!0,childList:!1,subtree:!1}),(0,n.fromEvent)(this.form,`reset`).pipe((0,n.takeUntil)(this.disconnecting)).subscribe(()=>{this.resetToDefault()}),(0,n.fromEvent)(this.form,`submit`).pipe((0,n.takeUntil)(this.disconnecting)).subscribe(()=>{this.submitted=!0,this.validateInput(!0)}))}setupExternalLabelAssociation(){if(this.id){let e=()=>{document.querySelectorAll(`label[for="${this.id}"]`).forEach(e=>{(0,n.fromEvent)(e,`click`).pipe((0,n.takeUntil)(this.disconnecting)).subscribe(()=>{this.focus()})})};document.readyState===`complete`?e():(0,n.fromEvent)(document,`DOMContentLoaded`).pipe((0,n.takeUntil)(this.disconnecting)).subscribe(e)}}disconnectedCallback(){super.disconnectedCallback(),this.formResetObserver&&this.formResetObserver.disconnect()}resetToDefault(){this.value=this.defaultValue,this.touched=!1,this.dirty=!1,this.submitted=!1,this.error=!1,this.validationMessage=``,this.dispatchEvent(new CustomEvent(`reset`,{bubbles:!0}))}shouldShowValidation(e=!1){if(e)return!0;switch(this.validateOn){case`always`:return!0;case`touched`:default:return this.touched;case`dirty`:return this.dirty;case`submitted`:return this.submitted}}validateInput(e=!1){if(this.disabled)return;let t=this.shouldShowValidation(e),n=this.inputElement?.validity??{badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:!0,valueMissing:!1},r=!n.valid&&!n.customError;t&&r?(this.error=!0,this.validationMessage=this.inputElement?.validationMessage||``):n.valid?(this.error=!1,n.customError||(this.validationMessage=``)):t||(this.error=!1)}checkValidity(){let e=this.inputRef.value?.checkValidity()??!0,t=super.checkValidity();return e&&t}reportValidity(){this.touched=!0,this.submitted=!0;let e=this.inputRef.value?.reportValidity()??!0;this.validateInput(!0);let t=super.reportValidity();return e&&t}setCustomValidity(e){this.inputRef.value&&this.inputRef.value.setCustomValidity(e),super.setCustomValidity(e),this.error=e!==``&&this.shouldShowValidation()}firstUpdated(){this.autofocus&&setTimeout(()=>{this.focus()},0),this.setupInputEvents(),this.setupFocusBlurEvents(),this.setupAutofillDetection(),this.setupEnterKeyEvents()}setupInputEvents(){(0,n.fromEvent)(this.inputElement,`input`).pipe((0,n.map)(e=>{e.stopPropagation();let t=e;return{value:e.target.value,inputType:t.inputType,data:t.data,isComposing:t.isComposing,originalEvent:e}}),(0,n.takeUntil)(this.disconnecting)).subscribe(e=>{this.value=e.value,this.dirty=this.value!==this.defaultValue;let t=new CustomEvent(`input`,{detail:{value:e.value},bubbles:!0,composed:!0});Object.defineProperties(t,{inputType:{value:e.inputType},data:{value:e.data},isComposing:{value:e.isComposing}}),this.dispatchEvent(t),this.validateInput()}),(0,n.fromEvent)(this.inputElement,`change`).pipe((0,n.map)(e=>(e.stopPropagation(),e.target.value)),(0,n.distinctUntilChanged)(),(0,n.takeUntil)(this.disconnecting)).subscribe(e=>{this.value=e,this.dirty=this.value!==this.defaultValue,this.emitChange({value:e}),this.validateInput()})}setupFocusBlurEvents(){(0,n.fromEvent)(this.inputElement,`focus`).pipe((0,n.takeUntil)(this.disconnecting)).subscribe(e=>{let t=new CustomEvent(`focus`,{bubbles:e.bubbles,cancelable:e.cancelable,composed:e.composed});Object.defineProperties(t,{relatedTarget:{value:e.relatedTarget}}),this.dispatchEvent(t)}),(0,n.fromEvent)(this.inputElement,`blur`).pipe((0,n.takeUntil)(this.disconnecting)).subscribe(e=>{this.touched=!0,this.disabled||this.validateInput();let t=new CustomEvent(`blur`,{bubbles:e.bubbles,cancelable:e.cancelable,composed:e.composed});Object.defineProperties(t,{relatedTarget:{value:e.relatedTarget}}),this.dispatchEvent(t)})}setupAutofillDetection(){(0,n.fromEvent)(this.inputElement,`animationstart`).pipe((0,n.filter)(e=>e.animationName===`onAutoFillStart`),(0,n.takeUntil)(this.disconnecting)).subscribe(e=>{let{value:t}=e.target;this.value=t,this.isAutofilled=!0,this.dirty=this.value!==this.defaultValue,this.dispatchEvent(new CustomEvent(`autofill`,{detail:{value:t},bubbles:!0,composed:!0})),this.emitChange({value:t})}),(0,n.fromEvent)(this.inputElement,`animationstart`).pipe((0,n.filter)(e=>e.animationName===`onAutoFillCancel`),(0,n.takeUntil)(this.disconnecting)).subscribe(()=>{this.isAutofilled=!1})}setupEnterKeyEvents(){(0,n.fromEvent)(this.inputElement,`keydown`).pipe((0,n.filter)(e=>e.key===`Enter`),(0,n.takeUntil)(this.disconnecting)).subscribe(e=>{let{value:t}=e.target;this.value!==t&&(this.value=t,this.dirty=this.value!==this.defaultValue),this.inputElement.blur();let n=new CustomEvent(`enter`,{detail:{value:this.value},bubbles:!0,composed:!0});Object.defineProperties(n,{key:{value:`Enter`},code:{value:`Enter`},keyCode:{value:13},which:{value:13}}),this.dispatchEvent(n)})}select(){return this.inputRef.value?.select()}getValidity(){return this.inputRef.value?.validity}setSelectionRange(e,t,n){this.inputRef.value?.setSelectionRange(e,t,n)}get selectionStart(){return this.inputRef.value?.selectionStart??null}get selectionEnd(){return this.inputRef.value?.selectionEnd??null}get selectionDirection(){return this.inputRef.value?.selectionDirection??null}setRangeText(e,t,n,r){t!==void 0&&n!==void 0?this.inputRef.value?.setRangeText(e,t,n,r):this.inputRef.value?.setRangeText(e)}focus(e){this.inputRef.value?.focus(e),this.dispatchEvent(new Event(`focus`))}click(){this.inputRef.value?.click(),this.dispatchEvent(new Event(`click`))}blur(){this.inputRef.value?.blur(),this.dispatchEvent(new Event(`blur`))}render(){let{height:e,padding:t,fontSize:n}=(()=>{switch(this.size){case`xxs`:return{height:`24px`,padding:`0 8px`,fontSize:`0.625rem`};case`xs`:return{height:`32px`,padding:`0 12px`,fontSize:`0.75rem`};case`sm`:return{height:`40px`,padding:`0 16px`,fontSize:`0.875rem`};case`lg`:return{height:`56px`,padding:`0 20px`,fontSize:`1rem`};default:return{height:`48px`,padding:`0 16px`,fontSize:`0.875rem`}}})(),r=[`date`,`datetime-local`,`time`,`month`,`week`].includes(this.type),c={"block w-full min-w-0 rounded-2xl border bg-surface-containerLowest text-surface-on":!0,"border-outline":!this.error,"border-error-default":this.error,"outline-secondary-default focus:outline-1 focus:border-secondary-default":!0,"disabled:opacity-40 disabled:cursor-not-allowed":!0,"placeholder:text-muted":!0,"ring-0 focus:ring-1 focus:ring-inset":!0,"focus:ring-secondary-default":!this.error,"focus:ring-error-default":this.error,"caret-transparent focus:outline-hidden cursor-pointer select-none":this.readonly,"cursor-pointer":this.clickable,"text-left":this.align===`left`||r,"text-center":this.align===`center`&&!r,"text-right":this.align===`right`&&!r,autofilled:this.isAutofilled},l={"block mb-1 font-medium":!0,"opacity-40":this.disabled,"text-[10px]":this.size===`xxs`,"text-xs":this.size===`xs`,"text-sm":this.size===`sm`,"text-base":this.size===`md`,"text-lg":this.size===`lg`,"text-primary-default":!this.error,"text-error-default":this.error},u={height:e,padding:t,fontSize:n,lineHeight:e};return i.html`
3
3
  <div class="w-full min-w-0 ${r?`date-input-container`:``}">
4
4
  ${(0,s.when)(this.label,()=>i.html`