@mhmo91/schmancy 0.2.160 → 0.2.162

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 (254) hide show
  1. package/dist/{animated-text-ButDz3vC.cjs → animated-text-CSOz5SCF.cjs} +2 -2
  2. package/dist/{animated-text-ButDz3vC.cjs.map → animated-text-CSOz5SCF.cjs.map} +1 -1
  3. package/dist/{animated-text-Be992jA_.js → animated-text-DUB2OEsp.js} +3 -3
  4. package/dist/{animated-text-Be992jA_.js.map → animated-text-DUB2OEsp.js.map} +1 -1
  5. package/dist/animated-text.cjs +1 -1
  6. package/dist/animated-text.js +1 -1
  7. package/dist/area.cjs +1 -1
  8. package/dist/{area.component-BNFH4xlv.js → area.component-BWaTpFPB.js} +6 -6
  9. package/dist/{area.component-BNFH4xlv.js.map → area.component-BWaTpFPB.js.map} +1 -1
  10. package/dist/{area.component-H7yKE0i1.cjs → area.component-kK1WKJY2.cjs} +2 -2
  11. package/dist/{area.component-H7yKE0i1.cjs.map → area.component-kK1WKJY2.cjs.map} +1 -1
  12. package/dist/area.js +1 -1
  13. package/dist/{autocomplete-BoqVyf_5.cjs → autocomplete-BKPUk9e5.cjs} +2 -2
  14. package/dist/{autocomplete-BoqVyf_5.cjs.map → autocomplete-BKPUk9e5.cjs.map} +1 -1
  15. package/dist/{autocomplete-Dq94h33i.js → autocomplete-Di9kiTER.js} +3 -3
  16. package/dist/{autocomplete-Dq94h33i.js.map → autocomplete-Di9kiTER.js.map} +1 -1
  17. package/dist/autocomplete.cjs +1 -1
  18. package/dist/autocomplete.js +1 -1
  19. package/dist/badge.cjs +1 -1
  20. package/dist/badge.js +1 -1
  21. package/dist/busy.cjs +1 -1
  22. package/dist/busy.js +1 -1
  23. package/dist/button.cjs +1 -1
  24. package/dist/button.js +1 -1
  25. package/dist/card.cjs +1 -1
  26. package/dist/card.js +1 -1
  27. package/dist/{checkbox-C3oCN6-m.cjs → checkbox-CwMYYFc5.cjs} +2 -2
  28. package/dist/{checkbox-C3oCN6-m.cjs.map → checkbox-CwMYYFc5.cjs.map} +1 -1
  29. package/dist/{checkbox-D82AhpUU.js → checkbox-Dr_Nv_NO.js} +2 -2
  30. package/dist/{checkbox-D82AhpUU.js.map → checkbox-Dr_Nv_NO.js.map} +1 -1
  31. package/dist/checkbox.cjs +1 -1
  32. package/dist/checkbox.js +1 -1
  33. package/dist/{chips-C1lJe-VM.cjs → chips-CMSDxpu9.cjs} +2 -2
  34. package/dist/{chips-C1lJe-VM.cjs.map → chips-CMSDxpu9.cjs.map} +1 -1
  35. package/dist/{chips-BImfI_Cy.js → chips-Dy8t83by.js} +3 -3
  36. package/dist/{chips-BImfI_Cy.js.map → chips-Dy8t83by.js.map} +1 -1
  37. package/dist/chips.cjs +1 -1
  38. package/dist/chips.js +1 -1
  39. package/dist/components.cjs +1 -1
  40. package/dist/components.js +1 -1
  41. package/dist/content-drawer.cjs +1 -1
  42. package/dist/content-drawer.js +1 -1
  43. package/dist/{date-range-D_TITodq.cjs → date-range-B2cD9hQe.cjs} +2 -2
  44. package/dist/{date-range-D_TITodq.cjs.map → date-range-B2cD9hQe.cjs.map} +1 -1
  45. package/dist/{date-range-B36NwQJj.js → date-range-BSRsyfMM.js} +3 -3
  46. package/dist/{date-range-B36NwQJj.js.map → date-range-BSRsyfMM.js.map} +1 -1
  47. package/dist/date-range.cjs +1 -1
  48. package/dist/date-range.js +1 -1
  49. package/dist/{delay-u3ZtuHuD.js → delay-DN-mtGtE.js} +11 -11
  50. package/dist/{delay-u3ZtuHuD.js.map → delay-DN-mtGtE.js.map} +1 -1
  51. package/dist/{delay-BZANXguW.cjs → delay-DUjqSk9U.cjs} +2 -2
  52. package/dist/{delay-BZANXguW.cjs.map → delay-DUjqSk9U.cjs.map} +1 -1
  53. package/dist/delay.cjs +1 -1
  54. package/dist/delay.js +1 -1
  55. package/dist/{divider-4xKbeJOK.js → divider-CwrrRepk.js} +3 -3
  56. package/dist/{divider-4xKbeJOK.js.map → divider-CwrrRepk.js.map} +1 -1
  57. package/dist/{divider-BGh7WiTm.cjs → divider-D-3b8xBH.cjs} +2 -2
  58. package/dist/{divider-BGh7WiTm.cjs.map → divider-D-3b8xBH.cjs.map} +1 -1
  59. package/dist/divider.cjs +1 -1
  60. package/dist/divider.js +1 -1
  61. package/dist/extra.cjs +1 -1
  62. package/dist/extra.js +1 -1
  63. package/dist/flex-BJPUKHgq.cjs +41 -0
  64. package/dist/flex-BJPUKHgq.cjs.map +1 -0
  65. package/dist/flex-D4HMvbL2.js +238 -0
  66. package/dist/flex-D4HMvbL2.js.map +1 -0
  67. package/dist/{form-DwRU18it.cjs → form-CPm25cLE.cjs} +2 -2
  68. package/dist/{form-DwRU18it.cjs.map → form-CPm25cLE.cjs.map} +1 -1
  69. package/dist/{form-DEWs5VTx.js → form-D-CN4Npb.js} +2 -2
  70. package/dist/{form-DEWs5VTx.js.map → form-D-CN4Npb.js.map} +1 -1
  71. package/dist/form.cjs +1 -1
  72. package/dist/form.js +1 -1
  73. package/dist/{icon-Bpgf3d2W.cjs → icon-DUTbI5sF.cjs} +2 -2
  74. package/dist/{icon-Bpgf3d2W.cjs.map → icon-DUTbI5sF.cjs.map} +1 -1
  75. package/dist/{icon-D8bGIsnU.js → icon-baMFKlix.js} +3 -3
  76. package/dist/{icon-D8bGIsnU.js.map → icon-baMFKlix.js.map} +1 -1
  77. package/dist/{icon-button-BShbUJzz.js → icon-button-Dytz2u7f.js} +3 -3
  78. package/dist/{icon-button-BShbUJzz.js.map → icon-button-Dytz2u7f.js.map} +1 -1
  79. package/dist/{icon-button-Rmv2a0U5.cjs → icon-button-M79Lwelv.cjs} +2 -2
  80. package/dist/{icon-button-Rmv2a0U5.cjs.map → icon-button-M79Lwelv.cjs.map} +1 -1
  81. package/dist/icons.cjs +1 -1
  82. package/dist/icons.js +1 -1
  83. package/dist/index.cjs +1 -1
  84. package/dist/index.js +119 -121
  85. package/dist/index.js.map +1 -1
  86. package/dist/{input-CAJ-MBq7.cjs → input-C2wFU_S6.cjs} +2 -2
  87. package/dist/{input-CAJ-MBq7.cjs.map → input-C2wFU_S6.cjs.map} +1 -1
  88. package/dist/{input-D211jB9f.js → input-D390Osy4.js} +2 -2
  89. package/dist/{input-D211jB9f.js.map → input-D390Osy4.js.map} +1 -1
  90. package/dist/input.cjs +1 -1
  91. package/dist/input.js +1 -1
  92. package/dist/layout.cjs +1 -1
  93. package/dist/layout.js +1 -1
  94. package/dist/{list-DMXqpSCh.js → list-BJFvg0LF.js} +2 -2
  95. package/dist/{list-DMXqpSCh.js.map → list-BJFvg0LF.js.map} +1 -1
  96. package/dist/{list-CwdYlei9.cjs → list-Bn-B6Pbl.cjs} +2 -2
  97. package/dist/{list-CwdYlei9.cjs.map → list-Bn-B6Pbl.cjs.map} +1 -1
  98. package/dist/list.cjs +1 -1
  99. package/dist/list.js +1 -1
  100. package/dist/{litElement.mixin-B1zxT55T.js → litElement.mixin-CRbxrdrS.js} +2 -2
  101. package/dist/{litElement.mixin-B1zxT55T.js.map → litElement.mixin-CRbxrdrS.js.map} +1 -1
  102. package/dist/{litElement.mixin-Bl5r_3iS.cjs → litElement.mixin-CwAqMl79.cjs} +2 -2
  103. package/dist/{litElement.mixin-Bl5r_3iS.cjs.map → litElement.mixin-CwAqMl79.cjs.map} +1 -1
  104. package/dist/{menu-phn2-8UA.js → menu-5krKi7zq.js} +3 -3
  105. package/dist/{menu-phn2-8UA.js.map → menu-5krKi7zq.js.map} +1 -1
  106. package/dist/{menu-CBin71yi.cjs → menu-D6SHzgaV.cjs} +2 -2
  107. package/dist/{menu-CBin71yi.cjs.map → menu-D6SHzgaV.cjs.map} +1 -1
  108. package/dist/menu.cjs +1 -1
  109. package/dist/menu.js +1 -1
  110. package/dist/nav-drawer.cjs +1 -1
  111. package/dist/nav-drawer.js +1 -1
  112. package/dist/{notification-container-CRjLSf2l.cjs → notification-service-BFfFPd1Q.cjs} +19 -19
  113. package/dist/notification-service-BFfFPd1Q.cjs.map +1 -0
  114. package/dist/{notification-container-C5o2dqpe.js → notification-service-DA3l75i3.js} +127 -94
  115. package/dist/notification-service-DA3l75i3.js.map +1 -0
  116. package/dist/notification.cjs +1 -1
  117. package/dist/notification.js +5 -7
  118. package/dist/notification.js.map +1 -1
  119. package/dist/{option-CAZq8vIE.js → option-BAMNOMye.js} +2 -2
  120. package/dist/{option-CAZq8vIE.js.map → option-BAMNOMye.js.map} +1 -1
  121. package/dist/{option-DO30M5mj.cjs → option-DBh0pEws.cjs} +2 -2
  122. package/dist/{option-DO30M5mj.cjs.map → option-DBh0pEws.cjs.map} +1 -1
  123. package/dist/option.cjs +1 -1
  124. package/dist/option.js +1 -1
  125. package/dist/{payment-card-form-CFYt0jpm.js → payment-card-form-CNWsIJhu.js} +3 -3
  126. package/dist/{payment-card-form-CFYt0jpm.js.map → payment-card-form-CNWsIJhu.js.map} +1 -1
  127. package/dist/{payment-card-form-C0ib712J.cjs → payment-card-form-CklVDo7L.cjs} +2 -2
  128. package/dist/{payment-card-form-C0ib712J.cjs.map → payment-card-form-CklVDo7L.cjs.map} +1 -1
  129. package/dist/{radio-group-Xgv957h3.cjs → radio-group-8d4MJqaa.cjs} +2 -2
  130. package/dist/{radio-group-Xgv957h3.cjs.map → radio-group-8d4MJqaa.cjs.map} +1 -1
  131. package/dist/{radio-group-yCmH2g1m.js → radio-group-CRXQ4ajE.js} +2 -2
  132. package/dist/{radio-group-yCmH2g1m.js.map → radio-group-CRXQ4ajE.js.map} +1 -1
  133. package/dist/radio-group.cjs +1 -1
  134. package/dist/radio-group.js +1 -1
  135. package/dist/rxjs-utils.js +4 -4
  136. package/dist/{schmancy-steps-container-DozeItXT.js → schmancy-steps-container-DzeJED2U.js} +2 -2
  137. package/dist/{schmancy-steps-container-DozeItXT.js.map → schmancy-steps-container-DzeJED2U.js.map} +1 -1
  138. package/dist/{schmancy-steps-container-BUUNK6-a.cjs → schmancy-steps-container-KinQK3rz.cjs} +2 -2
  139. package/dist/{schmancy-steps-container-BUUNK6-a.cjs.map → schmancy-steps-container-KinQK3rz.cjs.map} +1 -1
  140. package/dist/{select-hrpNF0ay.cjs → select-DlblA74_.cjs} +2 -2
  141. package/dist/{select-hrpNF0ay.cjs.map → select-DlblA74_.cjs.map} +1 -1
  142. package/dist/{select-D1GqH9az.js → select-dxNE4mnd.js} +3 -3
  143. package/dist/{select-D1GqH9az.js.map → select-dxNE4mnd.js.map} +1 -1
  144. package/dist/select.cjs +1 -1
  145. package/dist/select.js +1 -1
  146. package/dist/selector-hook-omsuyAOu.js.map +1 -1
  147. package/dist/{sheet-BheMSUgv.js → sheet-BmIoE7Ej.js} +12 -12
  148. package/dist/{sheet-BheMSUgv.js.map → sheet-BmIoE7Ej.js.map} +1 -1
  149. package/dist/{sheet-j8iBPQ6T.cjs → sheet-D2sUghqi.cjs} +2 -2
  150. package/dist/{sheet-j8iBPQ6T.cjs.map → sheet-D2sUghqi.cjs.map} +1 -1
  151. package/dist/sheet.cjs +1 -1
  152. package/dist/sheet.js +1 -1
  153. package/dist/{slider-5_06CQZJ.js → slider-DCysIErg.js} +3 -3
  154. package/dist/{slider-5_06CQZJ.js.map → slider-DCysIErg.js.map} +1 -1
  155. package/dist/{slider-Dk2AGCrw.cjs → slider-VShAooYp.cjs} +2 -2
  156. package/dist/{slider-Dk2AGCrw.cjs.map → slider-VShAooYp.cjs.map} +1 -1
  157. package/dist/slider.cjs +1 -1
  158. package/dist/slider.js +1 -1
  159. package/dist/{spinner-CmaRhtzu.cjs → spinner-Dv-uGeoR.cjs} +2 -2
  160. package/dist/{spinner-CmaRhtzu.cjs.map → spinner-Dv-uGeoR.cjs.map} +1 -1
  161. package/dist/{spinner-DQPVv48S.js → spinner-UC31R_xS.js} +3 -3
  162. package/dist/{spinner-DQPVv48S.js.map → spinner-UC31R_xS.js.map} +1 -1
  163. package/dist/steps.cjs +1 -1
  164. package/dist/steps.js +1 -1
  165. package/dist/{surface-D5Jqe0bf.js → surface-B3v9NfAj.js} +2 -2
  166. package/dist/{surface-D5Jqe0bf.js.map → surface-B3v9NfAj.js.map} +1 -1
  167. package/dist/{surface-DAkIsvJB.cjs → surface-ClnnQP3o.cjs} +2 -2
  168. package/dist/{surface-DAkIsvJB.cjs.map → surface-ClnnQP3o.cjs.map} +1 -1
  169. package/dist/surface.cjs +1 -1
  170. package/dist/surface.js +1 -1
  171. package/dist/{table-CdsT8VSZ.js → table-BZ4h621V.js} +2 -2
  172. package/dist/{table-CdsT8VSZ.js.map → table-BZ4h621V.js.map} +1 -1
  173. package/dist/{table-CljxYE7x.cjs → table-CWDtSTrW.cjs} +2 -2
  174. package/dist/{table-CljxYE7x.cjs.map → table-CWDtSTrW.cjs.map} +1 -1
  175. package/dist/table.cjs +1 -1
  176. package/dist/table.js +1 -1
  177. package/dist/{tabs-group-DLwYQyDv.cjs → tabs-group-Bb4uOpJc.cjs} +2 -2
  178. package/dist/{tabs-group-DLwYQyDv.cjs.map → tabs-group-Bb4uOpJc.cjs.map} +1 -1
  179. package/dist/{tabs-group-BmHljUlz.js → tabs-group-WJjM75TT.js} +2 -2
  180. package/dist/{tabs-group-BmHljUlz.js.map → tabs-group-WJjM75TT.js.map} +1 -1
  181. package/dist/tabs.cjs +1 -1
  182. package/dist/tabs.js +1 -1
  183. package/dist/tailwind.mixin-B_hJc1PP.js +43 -0
  184. package/dist/{tailwind.mixin-Q2P-9IKt.js.map → tailwind.mixin-B_hJc1PP.js.map} +1 -1
  185. package/dist/tailwind.mixin-DLuYz9Iz.cjs +2 -0
  186. package/dist/{tailwind.mixin-CryL2ZOy.cjs.map → tailwind.mixin-DLuYz9Iz.cjs.map} +1 -1
  187. package/dist/teleport.cjs +1 -1
  188. package/dist/{teleport.component-CnH7tw9d.cjs → teleport.component-CNVTORt3.cjs} +2 -2
  189. package/dist/{teleport.component-CnH7tw9d.cjs.map → teleport.component-CNVTORt3.cjs.map} +1 -1
  190. package/dist/{teleport.component-CX0EcZsB.js → teleport.component-DSs12GIK.js} +38 -38
  191. package/dist/{teleport.component-CX0EcZsB.js.map → teleport.component-DSs12GIK.js.map} +1 -1
  192. package/dist/teleport.js +1 -1
  193. package/dist/{textarea-BFtirUYQ.cjs → textarea-B3_G9W-u.cjs} +2 -2
  194. package/dist/{textarea-BFtirUYQ.cjs.map → textarea-B3_G9W-u.cjs.map} +1 -1
  195. package/dist/{textarea-C-ZczaeA.js → textarea-B5V4jvIX.js} +2 -2
  196. package/dist/{textarea-C-ZczaeA.js.map → textarea-B5V4jvIX.js.map} +1 -1
  197. package/dist/textarea.cjs +1 -1
  198. package/dist/textarea.js +1 -1
  199. package/dist/{theme-button-Co1FWQZy.cjs → theme-button-C6pyxtwQ.cjs} +2 -2
  200. package/dist/{theme-button-Co1FWQZy.cjs.map → theme-button-C6pyxtwQ.cjs.map} +1 -1
  201. package/dist/{theme-button-DkSJ3DGG.js → theme-button-D-ojrnYh.js} +2 -2
  202. package/dist/{theme-button-DkSJ3DGG.js.map → theme-button-D-ojrnYh.js.map} +1 -1
  203. package/dist/theme-button.cjs +1 -1
  204. package/dist/theme-button.js +1 -1
  205. package/dist/theme.cjs +1 -1
  206. package/dist/{theme.component-DPvN4am3.js → theme.component-B6Hvc574.js} +2 -2
  207. package/dist/{theme.component-DPvN4am3.js.map → theme.component-B6Hvc574.js.map} +1 -1
  208. package/dist/{theme.component-kt0rSKAw.cjs → theme.component-DR4uOck9.cjs} +2 -2
  209. package/dist/{theme.component-kt0rSKAw.cjs.map → theme.component-DR4uOck9.cjs.map} +1 -1
  210. package/dist/theme.js +1 -1
  211. package/dist/{timezone-CoXF6uCH.js → timezone-CyDIsW4A.js} +3 -3
  212. package/dist/{timezone-CoXF6uCH.js.map → timezone-CyDIsW4A.js.map} +1 -1
  213. package/dist/{timezone-BAw4bWdz.cjs → timezone-vGpDPCRT.cjs} +2 -2
  214. package/dist/{timezone-BAw4bWdz.cjs.map → timezone-vGpDPCRT.cjs.map} +1 -1
  215. package/dist/{tooltip-FWNQFOV4.cjs → tooltip-BJ_lQc8I.cjs} +2 -2
  216. package/dist/{tooltip-FWNQFOV4.cjs.map → tooltip-BJ_lQc8I.cjs.map} +1 -1
  217. package/dist/{tooltip-Dl2N0nLg.js → tooltip-Ck-JUG_m.js} +2 -2
  218. package/dist/{tooltip-Dl2N0nLg.js.map → tooltip-Ck-JUG_m.js.map} +1 -1
  219. package/dist/tooltip.cjs +1 -1
  220. package/dist/tooltip.js +1 -1
  221. package/dist/{tree-DNotOnkS.js → tree-BE0sci4r.js} +2 -2
  222. package/dist/{tree-DNotOnkS.js.map → tree-BE0sci4r.js.map} +1 -1
  223. package/dist/{tree-DE0EGUP8.cjs → tree-plC4VSNF.cjs} +2 -2
  224. package/dist/{tree-DE0EGUP8.cjs.map → tree-plC4VSNF.cjs.map} +1 -1
  225. package/dist/tree.cjs +1 -1
  226. package/dist/tree.js +1 -1
  227. package/dist/{typewriter--Sc6E-hJ.js → typewriter-CFULjoNm.js} +11 -11
  228. package/dist/{typewriter--Sc6E-hJ.js.map → typewriter-CFULjoNm.js.map} +1 -1
  229. package/dist/{typewriter-DxMBpsNX.cjs → typewriter-CwrZhpWq.cjs} +2 -2
  230. package/dist/{typewriter-DxMBpsNX.cjs.map → typewriter-CwrZhpWq.cjs.map} +1 -1
  231. package/dist/typewriter.cjs +1 -1
  232. package/dist/typewriter.js +1 -1
  233. package/dist/{typography-CXGW5mh2.js → typography-BB5uUnkZ.js} +2 -2
  234. package/dist/{typography-CXGW5mh2.js.map → typography-BB5uUnkZ.js.map} +1 -1
  235. package/dist/{typography-CbJoawFE.cjs → typography-CRoZbt0O.cjs} +2 -2
  236. package/dist/{typography-CbJoawFE.cjs.map → typography-CRoZbt0O.cjs.map} +1 -1
  237. package/dist/typography.cjs +1 -1
  238. package/dist/typography.js +1 -1
  239. package/package.json +1 -1
  240. package/types/src/layout/scroll/scroll.d.ts +36 -1
  241. package/types/src/notification/index.d.ts +1 -1
  242. package/types/src/notification/notification-service.d.ts +20 -0
  243. package/dist/flex-5tU3sgUP.js +0 -232
  244. package/dist/flex-5tU3sgUP.js.map +0 -1
  245. package/dist/flex-M_YoqXnB.cjs +0 -41
  246. package/dist/flex-M_YoqXnB.cjs.map +0 -1
  247. package/dist/notification-container-C5o2dqpe.js.map +0 -1
  248. package/dist/notification-container-CRjLSf2l.cjs.map +0 -1
  249. package/dist/notification-service-DWeUoHi2.js +0 -29
  250. package/dist/notification-service-DWeUoHi2.js.map +0 -1
  251. package/dist/notification-service-DXXrRCmK.cjs +0 -2
  252. package/dist/notification-service-DXXrRCmK.cjs.map +0 -1
  253. package/dist/tailwind.mixin-CryL2ZOy.cjs +0 -2
  254. package/dist/tailwind.mixin-Q2P-9IKt.js +0 -43
@@ -1,232 +0,0 @@
1
- import { unsafeCSS as B, html as m, css as E } from "lit";
2
- import { property as t, customElement as v, queryAssignedElements as $, query as M } from "lit/decorators.js";
3
- import { classMap as I } from "lit/directives/class-map.js";
4
- import { styleMap as D } from "lit/directives/style-map.js";
5
- import { fromEvent as k, map as S, startWith as U, distinctUntilChanged as A, takeUntil as x, debounceTime as H, filter as F } from "rxjs";
6
- import { T as R } from "./tailwind.mixin-Q2P-9IKt.js";
7
- var X = Object.defineProperty, i = (s, o, p, n) => {
8
- for (var l, r = void 0, a = s.length - 1; a >= 0; a--) (l = s[a]) && (r = l(o, p, r) || r);
9
- return r && X(o, p, r), r;
10
- };
11
- const w = class w extends R() {
12
- constructor() {
13
- super(...arguments), this.layout = !0, this.center = void 0, this.display = void 0, this.overflow = void 0, this.overflowX = void 0, this.overflowY = void 0, this.position = void 0;
14
- }
15
- connectedCallback() {
16
- super.connectedCallback(), this.style.setProperty("padding", this.padding ?? ""), this.style.setProperty("margin", this.margin ?? ""), this.style.setProperty("width", this.width ?? ""), this.style.setProperty("height", this.height ?? ""), this.style.setProperty("min-width", this.minWidth ?? ""), this.style.setProperty("min-height", this.minHeight ?? ""), this.style.setProperty("max-width", this.maxWidth ?? ""), this.style.setProperty("max-height", this.maxHeight ?? ""), this.style.setProperty("display", this.display ?? ""), this.style.setProperty("overflow", this.overflow ?? ""), this.style.setProperty("overflow-x", this.overflowX ?? ""), this.style.setProperty("overflow-y", this.overflowY ?? ""), this.style.setProperty("position", this.position ?? ""), this.style.setProperty("top", this.top ?? ""), this.style.setProperty("right", this.right ?? ""), this.style.setProperty("bottom", this.bottom ?? ""), this.style.setProperty("left", this.left ?? ""), this.style.setProperty("inset", this.inset ?? ""), this.style.setProperty("z-index", this.zIndex ?? ""), this.style.setProperty("border", this.border ?? ""), this.style.setProperty("border-top", this.borderTop ?? ""), this.style.setProperty("border-right", this.borderRight ?? ""), this.style.setProperty("border-bottom", this.borderBottom ?? ""), this.style.setProperty("border-left", this.borderLeft ?? ""), this.style.setProperty("border-color", this.borderColor ?? ""), this.style.setProperty("border-radius", this.borderRadius ?? ""), this.style.setProperty("border-width", this.borderWidth ?? ""), this.style.setProperty("box-shadow", this.boxShadow ?? ""), this.style.setProperty("opacity", this.opacity ?? ""), this.style.setProperty("background", this.background ?? ""), this.style.setProperty("background-image", this.backgroundImage ?? ""), this.style.setProperty("background-position", this.backgroundPosition ?? ""), this.style.setProperty("background-size", this.backgroundSize ?? ""), this.style.setProperty("background-repeat", this.backgroundRepeat ?? ""), this.style.setProperty("background-attachment", this.backgroundAttachment ?? ""), this.style.setProperty("background-color", this.backgroundColor ?? ""), this.style.setProperty("background-clip", this.backgroundClip ?? ""), this.style.setProperty("background-origin", this.backgroundOrigin ?? ""), this.style.setProperty("background-blend-mode", this.backgroundBlendMode ?? ""), this.style.setProperty("filter", this.filter ?? ""), this.style.setProperty("backdrop-filter", this.backdropFilter ?? ""), this.center && (this.style.setProperty("margin-left", "auto"), this.style.setProperty("margin-right", "auto"));
17
- }
18
- };
19
- w.styles = [w.styles];
20
- let e = w;
21
- i([t({ type: Boolean })], e.prototype, "center"), i([t({ type: String })], e.prototype, "padding"), i([t({ type: String })], e.prototype, "margin"), i([t({ type: String })], e.prototype, "width"), i([t({ type: String })], e.prototype, "height"), i([t({ type: String })], e.prototype, "minWidth"), i([t({ type: String })], e.prototype, "minHeight"), i([t({ type: String })], e.prototype, "maxWidth"), i([t({ type: String })], e.prototype, "maxHeight"), i([t({ type: String })], e.prototype, "display"), i([t({ type: String })], e.prototype, "overflow"), i([t({ type: String })], e.prototype, "overflowX"), i([t({ type: String })], e.prototype, "overflowY"), i([t({ type: String })], e.prototype, "position"), i([t({ type: String })], e.prototype, "top"), i([t({ type: String })], e.prototype, "right"), i([t({ type: String })], e.prototype, "bottom"), i([t({ type: String })], e.prototype, "left"), i([t({ type: String })], e.prototype, "inset"), i([t({ type: String })], e.prototype, "zIndex"), i([t({ type: String })], e.prototype, "border"), i([t({ type: String })], e.prototype, "borderTop"), i([t({ type: String })], e.prototype, "borderRight"), i([t({ type: String })], e.prototype, "borderBottom"), i([t({ type: String })], e.prototype, "borderLeft"), i([t({ type: String })], e.prototype, "borderColor"), i([t({ type: String })], e.prototype, "borderRadius"), i([t({ type: String })], e.prototype, "borderWidth"), i([t({ type: String })], e.prototype, "boxShadow"), i([t({ type: String })], e.prototype, "opacity"), i([t({ type: String })], e.prototype, "background"), i([t({ type: String })], e.prototype, "backgroundImage"), i([t({ type: String })], e.prototype, "backgroundPosition"), i([t({ type: String })], e.prototype, "backgroundSize"), i([t({ type: String })], e.prototype, "backgroundRepeat"), i([t({ type: String })], e.prototype, "backgroundAttachment"), i([t({ type: String })], e.prototype, "backgroundColor"), i([t({ type: String })], e.prototype, "backgroundClip"), i([t({ type: String })], e.prototype, "backgroundOrigin"), i([t({ type: String })], e.prototype, "backgroundBlendMode"), i([t({ type: String })], e.prototype, "filter"), i([t({ type: String })], e.prototype, "backdropFilter");
22
- var Y = Object.defineProperty, q = Object.getOwnPropertyDescriptor, f = (s, o, p, n) => {
23
- for (var l, r = n > 1 ? void 0 : n ? q(o, p) : o, a = s.length - 1; a >= 0; a--) (l = s[a]) && (r = (n ? l(o, p, r) : l(r)) || r);
24
- return n && r && Y(o, p, r), r;
25
- };
26
- let d = class extends e {
27
- constructor() {
28
- super(...arguments), this.layout = !0, this.flow = "col", this.wrap = "wrap", this.align = "start", this.justify = "start", this.gap = "none";
29
- }
30
- render() {
31
- const s = { flex: !0, "flex-col": this.flow === "row", "flex-col-reverse": this.flow === "row-reverse", "flex-row": this.flow === "col", "flex-row-reverse": this.flow === "col-reverse", "flex-wrap": this.wrap === "wrap", "flex-wrap-reverse": this.wrap === "wrap-reverse", "flex-nowrap": this.wrap === "nowrap", "items-start": this.align === "start", "items-center": this.align === "center", "items-end": this.align === "end", "items-stretch": this.align === "stretch", "justify-baseline": this.align === "baseline", "justify-center": this.justify === "center", "justify-end": this.justify === "end", "justify-start": this.justify === "start", "justify-stretch": this.justify === "stretch", "justify-between": this.justify === "between", "gap-0": this.gap === "none", "gap-2": this.gap === "sm", "gap-4": this.gap === "md", "gap-8": this.gap === "lg" };
32
- return m`
33
- <section class=${I(s)} style=${D({})}>
34
- <slot></slot>
35
- </section>
36
- `;
37
- }
38
- };
39
- d.styles = [e.styles, B(":host{display:block;background-color:inherit}")], f([t({ type: String, reflect: !0 })], d.prototype, "flow", 2), f([t({ type: String, reflect: !0 })], d.prototype, "wrap", 2), f([t({ type: String, reflect: !0 })], d.prototype, "align", 2), f([t({ type: String, reflect: !0 })], d.prototype, "justify", 2), f([t({ type: String, reflect: !0 })], d.prototype, "gap", 2), d = f([v("schmancy-flex")], d);
40
- var L = Object.defineProperty, N = Object.getOwnPropertyDescriptor, y = (s, o, p, n) => {
41
- for (var l, r = n > 1 ? void 0 : n ? N(o, p) : o, a = s.length - 1; a >= 0; a--) (l = s[a]) && (r = (n ? l(o, p, r) : l(r)) || r);
42
- return n && r && L(o, p, r), r;
43
- };
44
- let h = class extends e {
45
- constructor() {
46
- super(...arguments), this.layout = !0, this.flow = "row", this.align = "stretch", this.justify = "stretch", this.content = "stretch", this.gap = "none", this.wrap = !1;
47
- }
48
- firstUpdated() {
49
- this.rcols && k(window, "resize").pipe(S((s) => s.target), U(1), S(() => this.clientWidth ? this.clientWidth : window.innerWidth), A(), x(this.disconnecting), H(10), S((s) => {
50
- var p, n, l, r, a, P, j, O, T, C, W, z;
51
- let o;
52
- return (p = this.rcols) != null && p["2xl"] && s >= 1536 ? o = (n = this.rcols) == null ? void 0 : n["2xl"] : (l = this.rcols) != null && l.xl && s >= 1280 ? o = (r = this.rcols) == null ? void 0 : r.xl : (a = this.rcols) != null && a.lg && s >= 1024 ? o = (P = this.rcols) == null ? void 0 : P.lg : (j = this.rcols) != null && j.md && s >= 768 ? o = (O = this.rcols) == null ? void 0 : O.md : (T = this.rcols) != null && T.sm && s >= 640 ? o = (C = this.rcols) == null ? void 0 : C.sm : (W = this.rcols) != null && W.xs && s < 640 && (o = (z = this.rcols) == null ? void 0 : z.xs), o;
53
- })).subscribe((s) => {
54
- this.cols = s;
55
- });
56
- }
57
- render() {
58
- const s = { "h-full": !0, "grid flex-1": !0, "grid-flow-row auto-rows-max": this.flow === "row", "grid-flow-col auto-cols-max": this.flow === "col", "grid-flow-row-dense": this.flow === "row-dense", "grid-flow-col-dense": this.flow === "col-dense", "grid-flow-dense": this.flow === "dense", "justify-center": this.content === "center", "justify-end": this.content === "end", "justify-start": this.content === "start", "justify-stretch": this.content === "stretch", "justify-between": this.content === "between", "justify-around": this.content === "around", "justify-evenly": this.content === "evenly", "justify-items-center": this.justify === "center", "justify-items-end": this.justify === "end", "justify-items-start": this.justify === "start", "justify-items-stretch": this.justify === "stretch", "items-center": this.align === "center", "items-end": this.align === "end", "items-start": this.align === "start", "items-stretch": this.align === "stretch", "items-baseline": this.align === "baseline", "gap-0": this.gap === "none", "gap-1": this.gap === "xs", "gap-2": this.gap === "sm", "gap-4": this.gap === "md", "gap-8": this.gap === "lg", "flex-nowrap": this.wrap, "flex-wrap": !this.wrap }, o = { gridTemplateRows: this.rows ? this.rows : void 0, gridTemplateColumns: this.cols ? this.cols : void 0 };
59
- return m`
60
- <section class="${this.classMap(s)}" style=${this.styleMap(o)}>
61
- <slot> </slot>
62
- </section>
63
- `;
64
- }
65
- };
66
- h.styles = [e.styles, B(":host{height:max-content;width:-webkit-fill-available;display:block}")], y([t({ type: String })], h.prototype, "flow", 2), y([t({ type: String })], h.prototype, "align", 2), y([t({ type: String })], h.prototype, "justify", 2), y([t({ type: String })], h.prototype, "content", 2), y([t({ type: String })], h.prototype, "gap", 2), y([t({ type: String })], h.prototype, "cols", 2), y([t({ type: String })], h.prototype, "rows", 2), y([t({ type: Object })], h.prototype, "rcols", 2), y([t({ type: Boolean })], h.prototype, "wrap", 2), y([$()], h.prototype, "assignedElements", 2), h = y([v("schmancy-grid")], h);
67
- var G = Object.defineProperty, J = Object.getOwnPropertyDescriptor, u = (s, o, p, n) => {
68
- for (var l, r = n > 1 ? void 0 : n ? J(o, p) : o, a = s.length - 1; a >= 0; a--) (l = s[a]) && (r = (n ? l(o, p, r) : l(r)) || r);
69
- return n && r && G(o, p, r), r;
70
- };
71
- let b = class extends R(E`
72
- :host {
73
- height: 100%;
74
- width: 100%;
75
- overflow: hidden;
76
- box-sizing: border-box; /* Ensures proper sizing */
77
- display: block;
78
- position: relative;
79
- inset: 0px;
80
- }
81
- .scrollbar-hide {
82
- -ms-overflow-style: none; /* IE and Edge */
83
- scrollbar-width: none; /* Firefox */
84
- }
85
- .scrollbar-hide::-webkit-scrollbar {
86
- display: none; /* Chrome, Safari, and Opera */
87
- }
88
- `) {
89
- constructor() {
90
- super(...arguments), this.hide = !1, this.debounce = 10;
91
- }
92
- scrollTo(s, o) {
93
- this.scroller && (typeof s == "number" ? this.scroller.scrollTo({ top: s, behavior: o ? "smooth" : "auto" }) : s ? this.scroller.scrollTo(s) : this.scroller.scrollTo({ top: 0, behavior: "auto" }));
94
- }
95
- firstUpdated() {
96
- k(this.scroller, "scroll", { passive: !0 }).pipe(H(this.debounce), x(this.disconnecting)).subscribe((s) => {
97
- const o = this.scroller.scrollTop, p = this.scroller.scrollHeight, n = this.scroller.clientHeight;
98
- this.dispatchEvent(new CustomEvent("scroll", { detail: { scrollTop: o, scrollHeight: p, clientHeight: n, e: s }, bubbles: !0, composed: !0 }));
99
- }), k(window, "@schmancy:scrollTo").pipe(F((s) => this.name !== void 0 && s.detail.name === this.name), x(this.disconnecting)).subscribe((s) => {
100
- s.detail.action === "scrollTo" && typeof s.detail.top == "number" && this.scrollTo({ top: s.detail.top, behavior: "smooth" });
101
- });
102
- }
103
- render() {
104
- const s = { "h-full w-full inset-0 overflow-x-auto overflow-y-auto scroll-smooth overscroll-contain": !0, "scrollbar-hide": this.hide };
105
- return m`
106
- <div class="relative inset-0 h-full w-full overscroll-none">
107
- <div id="scroller" part="scroller" class=${this.classMap(s)}>
108
- <slot></slot>
109
- </div>
110
- </div>
111
- `;
112
- }
113
- };
114
- u([t({ type: Boolean, reflect: !0 })], b.prototype, "hide", 2), u([t({ type: String, reflect: !0 })], b.prototype, "name", 2), u([M("#scroller")], b.prototype, "scroller", 2), u([t({ type: Number })], b.prototype, "debounce", 2), b = u([v("schmancy-scroll")], b);
115
- var K = Object.defineProperty, Q = Object.getOwnPropertyDescriptor, g = (s, o, p, n) => {
116
- for (var l, r = n > 1 ? void 0 : n ? Q(o, p) : o, a = s.length - 1; a >= 0; a--) (l = s[a]) && (r = (n ? l(o, p, r) : l(r)) || r);
117
- return n && r && K(o, p, r), r;
118
- };
119
- let c = class extends e {
120
- constructor() {
121
- super(...arguments), this.inline = !1, this.flow = "row", this.wrap = "wrap", this.align = "stretch", this.justify = "start", this.gap = "none";
122
- }
123
- render() {
124
- const s = this.inline ? "inline-flex" : "flex";
125
- let o = "";
126
- switch (this.flow) {
127
- case "row":
128
- case "row-dense":
129
- default:
130
- o = "flex-row";
131
- break;
132
- case "row-reverse":
133
- o = "flex-row-reverse";
134
- break;
135
- case "col":
136
- case "col-dense":
137
- o = "flex-col";
138
- break;
139
- case "col-reverse":
140
- o = "flex-col-reverse";
141
- }
142
- let p = "";
143
- switch (this.flow === "row-dense" || this.flow === "col-dense" ? "wrap" : this.wrap) {
144
- case "wrap":
145
- default:
146
- p = "flex-wrap";
147
- break;
148
- case "nowrap":
149
- p = "flex-nowrap";
150
- break;
151
- case "wrap-reverse":
152
- p = "flex-wrap-reverse";
153
- }
154
- let n = "";
155
- switch (this.align) {
156
- case "start":
157
- n = "items-start";
158
- break;
159
- case "center":
160
- n = "items-center";
161
- break;
162
- case "end":
163
- n = "items-end";
164
- break;
165
- case "stretch":
166
- default:
167
- n = "items-stretch";
168
- break;
169
- case "baseline":
170
- n = "items-baseline";
171
- }
172
- let l = "";
173
- switch (this.justify) {
174
- case "start":
175
- default:
176
- l = "justify-start";
177
- break;
178
- case "center":
179
- l = "justify-center";
180
- break;
181
- case "end":
182
- l = "justify-end";
183
- break;
184
- case "between":
185
- l = "justify-between";
186
- break;
187
- case "around":
188
- l = "justify-around";
189
- break;
190
- case "evenly":
191
- l = "justify-evenly";
192
- }
193
- let r = "";
194
- if (this.content) switch (this.content) {
195
- case "start":
196
- r = "content-start";
197
- break;
198
- case "center":
199
- r = "content-center";
200
- break;
201
- case "end":
202
- r = "content-end";
203
- break;
204
- case "between":
205
- r = "content-between";
206
- break;
207
- case "around":
208
- r = "content-around";
209
- break;
210
- case "evenly":
211
- r = "content-evenly";
212
- }
213
- const a = [s, o, p, n, l, r, this.gap === "none" ? "gap-0" : `gap-${this.gap}`].filter(Boolean).join(" ");
214
- return m`
215
- <section class=${a}>
216
- <slot></slot>
217
- </section>
218
- `;
219
- }
220
- };
221
- c.styles = [e.styles, E`
222
- :host {
223
- display: block;
224
- }
225
- `], g([t({ type: Boolean, reflect: !0 })], c.prototype, "inline", 2), g([t({ type: String, reflect: !0 })], c.prototype, "flow", 2), g([t({ type: String, reflect: !0 })], c.prototype, "wrap", 2), g([t({ type: String, reflect: !0 })], c.prototype, "align", 2), g([t({ type: String, reflect: !0 })], c.prototype, "justify", 2), g([t({ type: String, reflect: !0 })], c.prototype, "content", 2), g([t({ type: String, reflect: !0 })], c.prototype, "gap", 2), c = g([v("sch-flex")], c);
226
- export {
227
- d as S,
228
- h as a,
229
- b,
230
- c
231
- };
232
- //# sourceMappingURL=flex-5tU3sgUP.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"flex-5tU3sgUP.js","sources":["../src/layout/layout.ts","../src/layout/flex/flex.ts","../src/layout/grid/grid.ts","../src/layout/scroll/scroll.ts","../src/layout/v2/flex.ts"],"sourcesContent":["import { TailwindElement } from '@mixins/index'\nimport { property } from 'lit/decorators.js'\n\nexport default class Layout extends TailwindElement() {\n\tstatic styles = [this.styles]\n\tlayout = true\n\t@property({ type: Boolean }) center: boolean | undefined = undefined\n\t@property({ type: String }) padding: string | undefined\n\t@property({ type: String }) margin: string | undefined\n\t@property({ type: String }) width: string | undefined\n\t@property({ type: String }) height: string | undefined\n\t@property({ type: String }) minWidth: string | undefined\n\t@property({ type: String }) minHeight: string | undefined\n\t@property({ type: String }) maxWidth: string | undefined\n\t@property({ type: String }) maxHeight: string | undefined\n\t@property({ type: String }) display:\n\t\t| 'block'\n\t\t| 'inline-block'\n\t\t| 'inline'\n\t\t| 'flex'\n\t\t| 'inline-flex'\n\t\t| 'grid'\n\t\t| 'inline-grid'\n\t\t| 'table'\n\t\t| 'inline-table'\n\t\t| 'flow-root'\n\t\t| 'none'\n\t\t| undefined = undefined\n\t@property({ type: String }) overflow: 'visible' | 'hidden' | 'scroll' | 'auto' | undefined = undefined\n\t@property({ type: String }) overflowX: 'visible' | 'hidden' | 'scroll' | 'auto' | undefined = undefined\n\t@property({ type: String }) overflowY: 'visible' | 'hidden' | 'scroll' | 'auto' | undefined = undefined\n\t@property({ type: String }) position: 'static' | 'relative' | 'absolute' | 'fixed' | 'sticky' | undefined = undefined\n\t@property({ type: String }) top: string | undefined\n\t@property({ type: String }) right: string | undefined\n\t@property({ type: String }) bottom: string | undefined\n\t@property({ type: String }) left: string | undefined\n\t@property({ type: String }) inset: string | undefined\n\t@property({ type: String }) zIndex: string | undefined\n\n\t@property({ type: String }) border: string | undefined\n\t@property({ type: String }) borderTop: string | undefined\n\t@property({ type: String }) borderRight: string | undefined\n\t@property({ type: String }) borderBottom: string | undefined\n\t@property({ type: String }) borderLeft: string | undefined\n\t@property({ type: String }) borderColor: string | undefined\n\t@property({ type: String }) borderRadius: string | undefined\n\t@property({ type: String }) borderWidth: string | undefined\n\n\t@property({ type: String }) boxShadow: string | undefined\n\t@property({ type: String }) opacity: string | undefined\n\t@property({ type: String }) background: string | undefined\n\t@property({ type: String }) backgroundImage: string | undefined\n\t@property({ type: String }) backgroundPosition: string | undefined\n\t@property({ type: String }) backgroundSize: string | undefined\n\t@property({ type: String }) backgroundRepeat: string | undefined\n\t@property({ type: String }) backgroundAttachment: string | undefined\n\t@property({ type: String }) backgroundColor: string | undefined\n\t@property({ type: String }) backgroundClip: string | undefined\n\t@property({ type: String }) backgroundOrigin: string | undefined\n\t@property({ type: String }) backgroundBlendMode: string | undefined\n\t@property({ type: String }) filter: string | undefined\n\t@property({ type: String }) backdropFilter: string | undefined\n\n\tconnectedCallback(): void {\n\t\tsuper.connectedCallback()\n\t\tthis.style.setProperty('padding', this.padding ?? '')\n\t\tthis.style.setProperty('margin', this.margin ?? '')\n\t\tthis.style.setProperty('width', this.width ?? '')\n\t\tthis.style.setProperty('height', this.height ?? '')\n\t\tthis.style.setProperty('min-width', this.minWidth ?? '')\n\t\tthis.style.setProperty('min-height', this.minHeight ?? '')\n\t\tthis.style.setProperty('max-width', this.maxWidth ?? '')\n\t\tthis.style.setProperty('max-height', this.maxHeight ?? '')\n\t\tthis.style.setProperty('display', this.display ?? '')\n\t\tthis.style.setProperty('overflow', this.overflow ?? '')\n\t\tthis.style.setProperty('overflow-x', this.overflowX ?? '')\n\t\tthis.style.setProperty('overflow-y', this.overflowY ?? '')\n\t\tthis.style.setProperty('position', this.position ?? '')\n\t\tthis.style.setProperty('top', this.top ?? '')\n\t\tthis.style.setProperty('right', this.right ?? '')\n\t\tthis.style.setProperty('bottom', this.bottom ?? '')\n\t\tthis.style.setProperty('left', this.left ?? '')\n\t\tthis.style.setProperty('inset', this.inset ?? '')\n\t\tthis.style.setProperty('z-index', this.zIndex ?? '')\n\t\tthis.style.setProperty('border', this.border ?? '')\n\t\tthis.style.setProperty('border-top', this.borderTop ?? '')\n\t\tthis.style.setProperty('border-right', this.borderRight ?? '')\n\t\tthis.style.setProperty('border-bottom', this.borderBottom ?? '')\n\t\tthis.style.setProperty('border-left', this.borderLeft ?? '')\n\t\tthis.style.setProperty('border-color', this.borderColor ?? '')\n\t\tthis.style.setProperty('border-radius', this.borderRadius ?? '')\n\t\tthis.style.setProperty('border-width', this.borderWidth ?? '')\n\t\tthis.style.setProperty('box-shadow', this.boxShadow ?? '')\n\t\tthis.style.setProperty('opacity', this.opacity ?? '')\n\t\tthis.style.setProperty('background', this.background ?? '')\n\t\tthis.style.setProperty('background-image', this.backgroundImage ?? '')\n\t\tthis.style.setProperty('background-position', this.backgroundPosition ?? '')\n\t\tthis.style.setProperty('background-size', this.backgroundSize ?? '')\n\t\tthis.style.setProperty('background-repeat', this.backgroundRepeat ?? '')\n\t\tthis.style.setProperty('background-attachment', this.backgroundAttachment ?? '')\n\t\tthis.style.setProperty('background-color', this.backgroundColor ?? '')\n\t\tthis.style.setProperty('background-clip', this.backgroundClip ?? '')\n\t\tthis.style.setProperty('background-origin', this.backgroundOrigin ?? '')\n\t\tthis.style.setProperty('background-blend-mode', this.backgroundBlendMode ?? '')\n\t\tthis.style.setProperty('filter', this.filter ?? '')\n\t\tthis.style.setProperty('backdrop-filter', this.backdropFilter ?? '')\n\t\tif (this.center) {\n\t\t\tthis.style.setProperty('margin-left', 'auto')\n\t\t\tthis.style.setProperty('margin-right', 'auto')\n\t\t}\n\t}\n}\n","import { html, unsafeCSS } from 'lit'\nimport { customElement, property } from 'lit/decorators.js'\nimport { classMap } from 'lit/directives/class-map.js'\nimport { styleMap } from 'lit/directives/style-map.js'\nimport Layout from '../layout'\nimport style from './flex.scss?inline'\n@customElement('schmancy-flex')\nexport class SchmancyFlex extends Layout {\n\tstatic styles = [Layout.styles, unsafeCSS(style)]\n\tlayout = true\n\t@property({ type: String, reflect: true }) flow: 'row' | 'row-reverse' | 'col' | 'col-reverse' = 'col'\n\t@property({ type: String, reflect: true }) wrap: 'wrap' | 'nowrap' | 'wrap-reverse' = 'wrap'\n\t@property({ type: String, reflect: true }) align: 'start' | 'center' | 'end' | 'stretch' | 'baseline' = 'start'\n\t@property({ type: String, reflect: true }) justify: 'start' | 'center' | 'end' | 'stretch' | 'between' = 'start'\n\t@property({ type: String, reflect: true }) gap: 'none' | 'sm' | 'md' | 'lg' = 'none'\n\n\trender() {\n\t\tconst classes = {\n\t\t\tflex: true,\n\t\t\t// Direction\n\t\t\t'flex-col': this.flow === 'row',\n\t\t\t'flex-col-reverse': this.flow === 'row-reverse',\n\t\t\t'flex-row': this.flow === 'col',\n\t\t\t'flex-row-reverse': this.flow === 'col-reverse',\n\t\t\t// Wrap\n\t\t\t'flex-wrap': this.wrap === 'wrap',\n\t\t\t'flex-wrap-reverse': this.wrap === 'wrap-reverse',\n\t\t\t'flex-nowrap': this.wrap === 'nowrap',\n\t\t\t// Align\n\t\t\t'items-start': this.align === 'start',\n\t\t\t'items-center': this.align === 'center',\n\t\t\t'items-end': this.align === 'end',\n\t\t\t'items-stretch': this.align === 'stretch',\n\t\t\t'justify-baseline': this.align === 'baseline',\n\n\t\t\t// Justify\n\t\t\t'justify-center': this.justify === 'center',\n\t\t\t'justify-end': this.justify === 'end',\n\t\t\t'justify-start': this.justify === 'start',\n\t\t\t'justify-stretch': this.justify === 'stretch',\n\t\t\t'justify-between': this.justify === 'between',\n\n\t\t\t// Gap\n\t\t\t'gap-0': this.gap === 'none',\n\t\t\t'gap-2': this.gap === 'sm',\n\t\t\t'gap-4': this.gap === 'md',\n\t\t\t'gap-8': this.gap === 'lg',\n\t\t}\n\n\t\tconst styles = {}\n\t\treturn html`\n\t\t\t<section class=${classMap(classes)} style=${styleMap(styles)}>\n\t\t\t\t<slot></slot>\n\t\t\t</section>\n\t\t`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-flex': SchmancyFlex\n\t}\n}\n","import { html, unsafeCSS } from 'lit'\nimport { customElement, property, queryAssignedElements } from 'lit/decorators.js'\nimport { debounceTime, distinctUntilChanged, fromEvent, map, startWith, takeUntil } from 'rxjs'\nimport Layout from '../layout'\nimport style from './grid.scss?inline'\n\n@customElement('schmancy-grid')\nexport class SchmancyGrid extends Layout {\n\tstatic styles = [Layout.styles, unsafeCSS(style)]\n\tlayout = true\n\t@property({ type: String }) flow: 'row' | 'col' | 'dense' | 'row-dense' | 'col-dense' = 'row'\n\t@property({ type: String }) align: 'start' | 'center' | 'end' | 'stretch' | 'baseline' = 'stretch'\n\t@property({ type: String }) justify: 'start' | 'center' | 'end' | 'stretch' = 'stretch'\n\t@property({ type: String }) content: 'start' | 'center' | 'end' | 'stretch' | 'around' | 'evenly' | 'between' =\n\t\t'stretch'\n\t@property({ type: String }) gap: 'none' | 'xs' | 'sm' | 'md' | 'lg' = 'none'\n\n\t@property({ type: String }) cols?: string\n\t@property({ type: String }) rows?: string\n\t@property({ type: Object }) rcols?: {\n\t\txs?: string | number\n\t\tsm?: string | number\n\t\tmd?: string | number\n\t\tlg?: string | number\n\t\txl?: string | number\n\t\t'2xl'?: string | number\n\t}\n\n\t@property({ type: Boolean }) wrap = false\n\n\t@queryAssignedElements() assignedElements!: HTMLElement[]\n\n\tfirstUpdated() {\n\t\tif (this.rcols)\n\t\t\tfromEvent<CustomEvent>(window, 'resize')\n\t\t\t\t.pipe(\n\t\t\t\t\tmap(event => event.target as Window),\n\t\t\t\t\tstartWith(1),\n\t\t\t\t\tmap(() => (this.clientWidth ? this.clientWidth : window.innerWidth)),\n\t\t\t\t\tdistinctUntilChanged(),\n\t\t\t\t\ttakeUntil(this.disconnecting),\n\t\t\t\t\tdebounceTime(10),\n\t\t\t\t\tmap(w => {\n\t\t\t\t\t\tlet cols\n\t\t\t\t\t\tif (this.rcols?.['2xl'] && w >= 1536) cols = this.rcols?.['2xl']\n\t\t\t\t\t\telse if (this.rcols?.xl && w >= 1280) cols = this.rcols?.xl\n\t\t\t\t\t\telse if (this.rcols?.lg && w >= 1024) cols = this.rcols?.lg\n\t\t\t\t\t\telse if (this.rcols?.md && w >= 768) cols = this.rcols?.md\n\t\t\t\t\t\telse if (this.rcols?.sm && w >= 640) cols = this.rcols?.sm\n\t\t\t\t\t\telse if (this.rcols?.xs && w < 640) cols = this.rcols?.xs\n\t\t\t\t\t\treturn cols\n\t\t\t\t\t}),\n\t\t\t\t)\n\t\t\t\t.subscribe(cols => {\n\t\t\t\t\tthis.cols = cols\n\t\t\t\t})\n\t}\n\n\trender() {\n\t\tconst classes = {\n\t\t\t'h-full': true,\n\t\t\t'grid flex-1': true,\n\t\t\t// flow classes: https://tailwindcss.com/docs/grid-auto-flow\n\t\t\t'grid-flow-row auto-rows-max': this.flow === 'row',\n\t\t\t'grid-flow-col auto-cols-max': this.flow === 'col',\n\t\t\t'grid-flow-row-dense': this.flow === 'row-dense',\n\t\t\t'grid-flow-col-dense': this.flow === 'col-dense',\n\t\t\t'grid-flow-dense': this.flow === 'dense',\n\n\t\t\t'justify-center': this.content === 'center',\n\t\t\t'justify-end': this.content === 'end',\n\t\t\t'justify-start': this.content === 'start',\n\t\t\t'justify-stretch': this.content === 'stretch',\n\t\t\t'justify-between': this.content === 'between',\n\t\t\t'justify-around': this.content === 'around',\n\t\t\t'justify-evenly': this.content === 'evenly',\n\n\t\t\t'justify-items-center': this.justify === 'center',\n\t\t\t'justify-items-end': this.justify === 'end',\n\t\t\t'justify-items-start': this.justify === 'start',\n\t\t\t'justify-items-stretch': this.justify === 'stretch',\n\t\t\t'items-center': this.align === 'center',\n\t\t\t'items-end': this.align === 'end',\n\t\t\t'items-start': this.align === 'start',\n\t\t\t'items-stretch': this.align === 'stretch',\n\t\t\t'items-baseline': this.align === 'baseline',\n\t\t\t'gap-0': this.gap === 'none',\n\t\t\t'gap-1': this.gap === 'xs',\n\t\t\t'gap-2': this.gap === 'sm',\n\t\t\t'gap-4': this.gap === 'md',\n\t\t\t'gap-8': this.gap === 'lg',\n\t\t\t'flex-nowrap': this.wrap,\n\t\t\t'flex-wrap': !this.wrap,\n\t\t}\n\t\tconst style = {\n\t\t\tgridTemplateRows: this.rows ? this.rows : undefined,\n\t\t\tgridTemplateColumns: this.cols ? this.cols : undefined,\n\t\t}\n\t\treturn html`\n\t\t\t<section class=\"${this.classMap(classes)}\" style=${this.styleMap(style)}>\n\t\t\t\t<slot> </slot>\n\t\t\t</section>\n\t\t`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-grid': SchmancyGrid\n\t}\n}\n","import { TailwindElement } from '@mixins/index'\nimport { css, html } from 'lit'\nimport { customElement, property, query } from 'lit/decorators.js'\nimport { debounceTime, filter, fromEvent, takeUntil } from 'rxjs'\n\n/**\n * Custom scroll event interface for the SchmancyScroll component.\n * Contains detailed information about the scroll state.\n */\nexport interface SchmancyScrollEvent\n\textends CustomEvent<{\n\t\t/** Current scroll position from the top */\n\t\tscrollTop: number\n\t\t/** Total scrollable height of the content */\n\t\tscrollHeight: number\n\t\t/** Visible height of the container */\n\t\tclientHeight: number\n\t\t/** Original scroll event */\n\t\te: Event\n\t}> {}\n\n/**\n * Command event interface for controlling SchmancyScroll components\n */\nexport interface SchmancyScrollCommandEvent\n\textends CustomEvent<{\n\t\t/** Target component name */\n\t\tname: string\n\t\t/** Command action to perform */\n\t\taction: 'scrollTo'\n\t\t/** Scroll position for scrollTo action */\n\t\ttop: number\n\t}> {}\n\n// Augment the HTMLElementEventMap to include our custom events\ndeclare global {\n\tinterface HTMLElementEventMap {\n\t\tscroll: SchmancyScrollEvent\n\t\t'schmancy-scroll-command': SchmancyScrollCommandEvent\n\t}\n}\n\n/**\n * A custom scrollable container with enhanced features.\n *\n * @fires {SchmancyScrollEvent} scroll - Fired when scrolling occurs (with a configurable debounce)\n * @slot - Default slot for content to be scrolled\n * @csspart scroller - The inner scrollable div element\n *\n * @example\n * ```html\n * <schmancy-scroll hide name=\"main-content\">\n * <div>Scrollable content goes here</div>\n * </schmancy-scroll>\n * ```\n */\n@customElement('schmancy-scroll')\nexport class SchmancyScroll extends TailwindElement(css`\n\t:host {\n\t\theight: 100%;\n\t\twidth: 100%;\n\t\toverflow: hidden;\n\t\tbox-sizing: border-box; /* Ensures proper sizing */\n\t\tdisplay: block;\n\t\tposition: relative;\n\t\tinset: 0px;\n\t}\n\t.scrollbar-hide {\n\t\t-ms-overflow-style: none; /* IE and Edge */\n\t\tscrollbar-width: none; /* Firefox */\n\t}\n\t.scrollbar-hide::-webkit-scrollbar {\n\t\tdisplay: none; /* Chrome, Safari, and Opera */\n\t}\n`) {\n\t/**\n\t * Determines whether the scrollbar is hidden.\n\t *\n\t * When `hide` is true, the inner scrollable div receives the `scrollbar-hide` class,\n\t * which hides scrollbars in supported browsers.\n\t *\n\t * @attr hide\n\t * @example <schmancy-scroll hide></schmancy-scroll>\n\t */\n\t@property({ type: Boolean, reflect: true })\n\tpublic hide = false\n\n\t/**\n\t * Optional name identifier for the component.\n\t * Used for targeting this specific component with global events.\n\t *\n\t * @attr name\n\t * @example <schmancy-scroll name=\"main-content\"></schmancy-scroll>\n\t */\n\t@property({ type: String, reflect: true })\n\tpublic name?: string\n\n\t/**\n\t * Reference to the inner scrollable div element\n\t * @public\n\t */\n\t@query('#scroller')\n\tscroller!: HTMLElement\n\n\t/**\n\t * Debounce time in milliseconds for the scroll event.\n\t * Higher values reduce the frequency of scroll events being dispatched.\n\t *\n\t * @attr debounce\n\t * @example <schmancy-scroll debounce=\"50\"></schmancy-scroll>\n\t */\n\t@property({ type: Number })\n\tpublic debounce = 10\n\n\t/**\n\t * Scrolls the container to the specified position\n\t * @param top - The vertical position to scroll to (in pixels)\n\t */\n\tpublic override scrollTo(options?: ScrollToOptions | number, top?: number): void {\n\t\tif (this.scroller) {\n\t\t\tif (typeof options === 'number') {\n\t\t\t\tthis.scroller.scrollTo({ top: options, behavior: top ? 'smooth' : 'auto' })\n\t\t\t} else if (options) {\n\t\t\t\tthis.scroller.scrollTo(options)\n\t\t\t} else {\n\t\t\t\tthis.scroller.scrollTo({ top: 0, behavior: 'auto' })\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Called after the component's first update\n\t * Sets up the scroll event listener with debouncing\n\t * @protected\n\t */\n\tprotected firstUpdated(): void {\n\t\t// Set up scroll event listening with debounce\n\t\tfromEvent(this.scroller, 'scroll', {\n\t\t\tpassive: true,\n\t\t})\n\t\t\t.pipe(\n\t\t\t\tdebounceTime(this.debounce),\n\t\t\t\ttakeUntil(this.disconnecting), // Unsubscribe when the element is destroyed\n\t\t\t)\n\t\t\t.subscribe(e => {\n\t\t\t\tconst scrollTop = this.scroller.scrollTop\n\t\t\t\tconst scrollHeight = this.scroller.scrollHeight\n\t\t\t\tconst clientHeight = this.scroller.clientHeight\n\t\t\t\tthis.dispatchEvent(\n\t\t\t\t\tnew CustomEvent('scroll', {\n\t\t\t\t\t\tdetail: { scrollTop, scrollHeight, clientHeight, e },\n\t\t\t\t\t\tbubbles: true,\n\t\t\t\t\t\tcomposed: true,\n\t\t\t\t\t}) as SchmancyScrollEvent,\n\t\t\t\t)\n\t\t\t})\n\n\t\t// Set up global command event listener\n\t\tfromEvent<SchmancyScrollCommandEvent>(window, '@schmancy:scrollTo')\n\t\t\t.pipe(\n\t\t\t\t// Only process events targeting this component by name\n\t\t\t\tfilter(e => this.name !== undefined && e.detail.name === this.name),\n\t\t\t\ttakeUntil(this.disconnecting),\n\t\t\t)\n\t\t\t.subscribe(e => {\n\t\t\t\tif (e.detail.action === 'scrollTo' && typeof e.detail.top === 'number') {\n\t\t\t\t\tthis.scrollTo({\n\t\t\t\t\t\ttop: e.detail.top,\n\t\t\t\t\t\tbehavior: 'smooth',\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t})\n\t}\n\n\t/**\n\t * Renders the component template\n\t * @returns {TemplateResult} The template to render\n\t * @protected\n\t */\n\tprotected render() {\n\t\t// The classes are dynamically assigned based on the `hide` property.\n\t\tconst classes = {\n\t\t\t'h-full w-full inset-0 overflow-x-auto overflow-y-auto scroll-smooth overscroll-contain': true,\n\t\t\t'scrollbar-hide': this.hide,\n\t\t}\n\n\t\treturn html`\n\t\t\t<div class=\"relative inset-0 h-full w-full overscroll-none\">\n\t\t\t\t<div id=\"scroller\" part=\"scroller\" class=${this.classMap(classes)}>\n\t\t\t\t\t<slot></slot>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-scroll': SchmancyScroll\n\t}\n}\n","import { css, html } from 'lit'\nimport { customElement, property } from 'lit/decorators.js'\nimport Layout from '../layout'\n\n/**\n * SchmancyFlex exposes a flex container with all the Tailwind CSS 4 options:\n *\n * - **Display**: By default uses `flex` but can be set to inline using the `inline` property.\n * - **Flow**: Accepts 'row', 'row-reverse', 'col', 'col-reverse' as well as grid‐like dense variants:\n * - Dense variants (`row-dense`, `col-dense`) force wrapping.\n * - **Wrap**: 'wrap', 'nowrap', or 'wrap-reverse'\n * - **Align Items**: 'start', 'center', 'end', 'stretch', or 'baseline'\n * - **Justify Content**: 'start', 'center', 'end', 'between', 'around', or 'evenly'\n * - **Align Content** (for multi-line flex containers): 'start', 'center', 'end', 'between', 'around', or 'evenly'\n * - **Gap**: Supports Tailwind’s spacing scale (e.g. 'none', '0', '1', '2', …, '64')\n */\n@customElement('sch-flex')\nexport class SchmancyFlexV2 extends Layout {\n\tstatic styles = [\n\t\tLayout.styles,\n\t\tcss`\n\t\t\t:host {\n\t\t\t\tdisplay: block;\n\t\t\t}\n\t\t`,\n\t]\n\t// If true, the container will use inline-flex instead of flex.\n\t@property({ type: Boolean, reflect: true })\n\tinline = false\n\n\t/**\n\t * Flow property that determines the flex direction.\n\t * Allowed values:\n\t * - Standard: 'row', 'row-reverse', 'col', 'col-reverse'\n\t * - Dense variants: 'row-dense', 'col-dense' (dense implies wrapping)\n\t */\n\t@property({ type: String, reflect: true })\n\tflow: 'row' | 'row-reverse' | 'col' | 'col-reverse' | 'row-dense' | 'col-dense' = 'row'\n\n\t/**\n\t * Flex-wrap options:\n\t * - 'wrap', 'nowrap', or 'wrap-reverse'\n\t */\n\t@property({ type: String, reflect: true })\n\twrap: 'wrap' | 'nowrap' | 'wrap-reverse' = 'wrap'\n\n\t/**\n\t * Align-items (vertical alignment of flex items):\n\t * - 'start', 'center', 'end', 'stretch', or 'baseline'\n\t */\n\t@property({ type: String, reflect: true })\n\talign: 'start' | 'center' | 'end' | 'stretch' | 'baseline' = 'stretch'\n\n\t/**\n\t * Justify-content (horizontal distribution):\n\t * - 'start', 'center', 'end', 'between', 'around', or 'evenly'\n\t */\n\t@property({ type: String, reflect: true })\n\tjustify: 'start' | 'center' | 'end' | 'between' | 'around' | 'evenly' = 'start'\n\n\t/**\n\t * Align-content (spacing between rows when wrapping):\n\t * - 'start', 'center', 'end', 'between', 'around', or 'evenly'\n\t */\n\t@property({ type: String, reflect: true })\n\tcontent?: 'start' | 'center' | 'end' | 'between' | 'around' | 'evenly'\n\n\t/**\n\t * Gap between flex items.\n\t * Options (based on Tailwind CSS 4 spacing scale):\n\t * - 'none', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '12', '16', '20', '24', '32', '40', '48', '56', or '64'\n\t */\n\t@property({ type: String, reflect: true })\n\tgap:\n\t\t| 'none'\n\t\t| '0'\n\t\t| '1'\n\t\t| '2'\n\t\t| '3'\n\t\t| '4'\n\t\t| '5'\n\t\t| '6'\n\t\t| '7'\n\t\t| '8'\n\t\t| '9'\n\t\t| '10'\n\t\t| '12'\n\t\t| '16'\n\t\t| '20'\n\t\t| '24'\n\t\t| '32'\n\t\t| '40'\n\t\t| '48'\n\t\t| '56'\n\t\t| '64' = 'none'\n\n\trender() {\n\t\t// Determine whether to use inline-flex or flex.\n\t\tconst baseDisplay = this.inline ? 'inline-flex' : 'flex'\n\n\t\t// Map the flow property to a flex-direction class.\n\t\t// (Dense variants use the same class as their standard counterparts.)\n\t\tlet directionClass = ''\n\t\tswitch (this.flow) {\n\t\t\tcase 'row':\n\t\t\tcase 'row-dense':\n\t\t\t\tdirectionClass = 'flex-row'\n\t\t\t\tbreak\n\t\t\tcase 'row-reverse':\n\t\t\t\tdirectionClass = 'flex-row-reverse'\n\t\t\t\tbreak\n\t\t\tcase 'col':\n\t\t\tcase 'col-dense':\n\t\t\t\tdirectionClass = 'flex-col'\n\t\t\t\tbreak\n\t\t\tcase 'col-reverse':\n\t\t\t\tdirectionClass = 'flex-col-reverse'\n\t\t\t\tbreak\n\t\t\tdefault:\n\t\t\t\tdirectionClass = 'flex-row'\n\t\t}\n\n\t\t// Dense variants force wrapping regardless of the wrap property.\n\t\tconst isDense = this.flow === 'row-dense' || this.flow === 'col-dense'\n\t\tconst effectiveWrap = isDense ? 'wrap' : this.wrap\n\n\t\tlet wrapClass = ''\n\t\tswitch (effectiveWrap) {\n\t\t\tcase 'wrap':\n\t\t\t\twrapClass = 'flex-wrap'\n\t\t\t\tbreak\n\t\t\tcase 'nowrap':\n\t\t\t\twrapClass = 'flex-nowrap'\n\t\t\t\tbreak\n\t\t\tcase 'wrap-reverse':\n\t\t\t\twrapClass = 'flex-wrap-reverse'\n\t\t\t\tbreak\n\t\t\tdefault:\n\t\t\t\twrapClass = 'flex-wrap'\n\t\t}\n\n\t\t// Map align-items.\n\t\tlet alignClass = ''\n\t\tswitch (this.align) {\n\t\t\tcase 'start':\n\t\t\t\talignClass = 'items-start'\n\t\t\t\tbreak\n\t\t\tcase 'center':\n\t\t\t\talignClass = 'items-center'\n\t\t\t\tbreak\n\t\t\tcase 'end':\n\t\t\t\talignClass = 'items-end'\n\t\t\t\tbreak\n\t\t\tcase 'stretch':\n\t\t\t\talignClass = 'items-stretch'\n\t\t\t\tbreak\n\t\t\tcase 'baseline':\n\t\t\t\talignClass = 'items-baseline'\n\t\t\t\tbreak\n\t\t\tdefault:\n\t\t\t\talignClass = 'items-stretch'\n\t\t}\n\n\t\t// Map justify-content.\n\t\tlet justifyClass = ''\n\t\tswitch (this.justify) {\n\t\t\tcase 'start':\n\t\t\t\tjustifyClass = 'justify-start'\n\t\t\t\tbreak\n\t\t\tcase 'center':\n\t\t\t\tjustifyClass = 'justify-center'\n\t\t\t\tbreak\n\t\t\tcase 'end':\n\t\t\t\tjustifyClass = 'justify-end'\n\t\t\t\tbreak\n\t\t\tcase 'between':\n\t\t\t\tjustifyClass = 'justify-between'\n\t\t\t\tbreak\n\t\t\tcase 'around':\n\t\t\t\tjustifyClass = 'justify-around'\n\t\t\t\tbreak\n\t\t\tcase 'evenly':\n\t\t\t\tjustifyClass = 'justify-evenly'\n\t\t\t\tbreak\n\t\t\tdefault:\n\t\t\t\tjustifyClass = 'justify-start'\n\t\t}\n\n\t\t// Map align-content (if provided).\n\t\tlet contentClass = ''\n\t\tif (this.content) {\n\t\t\tswitch (this.content) {\n\t\t\t\tcase 'start':\n\t\t\t\t\tcontentClass = 'content-start'\n\t\t\t\t\tbreak\n\t\t\t\tcase 'center':\n\t\t\t\t\tcontentClass = 'content-center'\n\t\t\t\t\tbreak\n\t\t\t\tcase 'end':\n\t\t\t\t\tcontentClass = 'content-end'\n\t\t\t\t\tbreak\n\t\t\t\tcase 'between':\n\t\t\t\t\tcontentClass = 'content-between'\n\t\t\t\t\tbreak\n\t\t\t\tcase 'around':\n\t\t\t\t\tcontentClass = 'content-around'\n\t\t\t\t\tbreak\n\t\t\t\tcase 'evenly':\n\t\t\t\t\tcontentClass = 'content-evenly'\n\t\t\t\t\tbreak\n\t\t\t}\n\t\t}\n\n\t\t// Map gap value.\n\t\tconst gapClass = this.gap === 'none' ? 'gap-0' : `gap-${this.gap}`\n\n\t\t// Build the complete list of classes.\n\t\tconst classes = [baseDisplay, directionClass, wrapClass, alignClass, justifyClass, contentClass, gapClass]\n\t\t\t.filter(Boolean)\n\t\t\t.join(' ')\n\n\t\treturn html`\n\t\t\t<section class=${classes}>\n\t\t\t\t<slot></slot>\n\t\t\t</section>\n\t\t`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'sch-flex': SchmancyFlexV2\n\t}\n}\n"],"names":["Layout","TailwindElement","constructor","super","arguments","this","layout","center","display","overflow","overflowX","overflowY","position","connectedCallback","style","setProperty","padding","margin","width","height","minWidth","minHeight","maxWidth","maxHeight","top","right","bottom","left","inset","zIndex","border","borderTop","borderRight","borderBottom","borderLeft","borderColor","borderRadius","borderWidth","boxShadow","opacity","background","backgroundImage","backgroundPosition","backgroundSize","backgroundRepeat","backgroundAttachment","backgroundColor","backgroundClip","backgroundOrigin","backgroundBlendMode","filter","backdropFilter","styles","_m","__decorateClass","property","type","Boolean","prototype","String","SchmancyFlex","flow","wrap","align","justify","gap","render","classes","flex","html","classMap","styleMap","unsafeCSS","reflect","customElement","SchmancyGrid","content","rcols","fromEvent","window","pipe","map","event","target","startWith","clientWidth","innerWidth","distinctUntilChanged","takeUntil","disconnecting","debounceTime","w","cols","xl","lg","md","sm","xs","subscribe","gridTemplateRows","rows","gridTemplateColumns","Object","queryAssignedElements","SchmancyScroll","css","hide","debounce","options","scroller","scrollTo","behavior","firstUpdated","passive","e","scrollTop","scrollHeight","clientHeight","dispatchEvent","CustomEvent","detail","bubbles","composed","name","action","query","Number","SchmancyFlexV2","inline","baseDisplay","directionClass","wrapClass","alignClass","justifyClass","contentClass","join"],"mappings":";;;;;;;;;;AAGqB,MAAAA,IAAA,MAAAA,UAAeC,EAAAA,EAAAA;AAAAA,EAApC,cAAAC;AAAAC,UAAAC,GAAAA,SAAAA,GAEUC,KAAAC,SAAAA,IACkDD,KAAAE,iBAqB5CF,KAAAG,UAAA,QAC8EH,KAAAI,WAAAA,QACCJ,KAAAK,YAAA,QACAL,KAAAM,YAAAA,QACcN,KAAAO;EAAA;AAAA,EAgC5G,oBAAAC;AACCV,UAAMU,kBAAAA,GACNR,KAAKS,MAAMC,YAAY,WAAWV,KAAKW,WAAW,EAAA,GAClDX,KAAKS,MAAMC,YAAY,UAAUV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WAAA,QAAA,CAOAJ,GAAAA,EAAA,CADCC,EAAS,EAAEC,MAAMG,QAAQc,SAAAA,QAjCdsD,EAkCZrE,WAAA,SAAA,CAOAJ,GAAAA,EAAA,CADCC,EAAS,EAAEC,MAAMG,QAAQc,SAAAA,QAxCdsD,EAyCZrE,WAAA,WAAA,CAOAJ,GAAAA,EAAA,CADCC,EAAS,EAAEC,MAAMG,QAAQc,SAAAA,QA/CdsD,EAgDZrE,WAAA,WAAA,CAQAJ,GAAAA,EAAA,CADCC,EAAS,EAAEC,MAAMG,QAAQc,SAAAA,QAvDdsD,EAwDZrE,WAAA,OAAA,CAxDYqE,GAAAA,IAANzE,EAAA,CADNoB,EAAc,cACFqD;"}
@@ -1,41 +0,0 @@
1
- "use strict";const d=require("lit"),t=require("lit/decorators.js"),j=require("lit/directives/class-map.js"),F=require("lit/directives/style-map.js"),c=require("rxjs"),P=require("./tailwind.mixin-CryL2ZOy.cjs");var O=Object.defineProperty,i=(s,o,l,p)=>{for(var n,r=void 0,y=s.length-1;y>=0;y--)(n=s[y])&&(r=n(o,l,r)||r);return r&&O(o,l,r),r};const u=class u extends P.TailwindElement(){constructor(){super(...arguments),this.layout=!0,this.center=void 0,this.display=void 0,this.overflow=void 0,this.overflowX=void 0,this.overflowY=void 0,this.position=void 0}connectedCallback(){super.connectedCallback(),this.style.setProperty("padding",this.padding??""),this.style.setProperty("margin",this.margin??""),this.style.setProperty("width",this.width??""),this.style.setProperty("height",this.height??""),this.style.setProperty("min-width",this.minWidth??""),this.style.setProperty("min-height",this.minHeight??""),this.style.setProperty("max-width",this.maxWidth??""),this.style.setProperty("max-height",this.maxHeight??""),this.style.setProperty("display",this.display??""),this.style.setProperty("overflow",this.overflow??""),this.style.setProperty("overflow-x",this.overflowX??""),this.style.setProperty("overflow-y",this.overflowY??""),this.style.setProperty("position",this.position??""),this.style.setProperty("top",this.top??""),this.style.setProperty("right",this.right??""),this.style.setProperty("bottom",this.bottom??""),this.style.setProperty("left",this.left??""),this.style.setProperty("inset",this.inset??""),this.style.setProperty("z-index",this.zIndex??""),this.style.setProperty("border",this.border??""),this.style.setProperty("border-top",this.borderTop??""),this.style.setProperty("border-right",this.borderRight??""),this.style.setProperty("border-bottom",this.borderBottom??""),this.style.setProperty("border-left",this.borderLeft??""),this.style.setProperty("border-color",this.borderColor??""),this.style.setProperty("border-radius",this.borderRadius??""),this.style.setProperty("border-width",this.borderWidth??""),this.style.setProperty("box-shadow",this.boxShadow??""),this.style.setProperty("opacity",this.opacity??""),this.style.setProperty("background",this.background??""),this.style.setProperty("background-image",this.backgroundImage??""),this.style.setProperty("background-position",this.backgroundPosition??""),this.style.setProperty("background-size",this.backgroundSize??""),this.style.setProperty("background-repeat",this.backgroundRepeat??""),this.style.setProperty("background-attachment",this.backgroundAttachment??""),this.style.setProperty("background-color",this.backgroundColor??""),this.style.setProperty("background-clip",this.backgroundClip??""),this.style.setProperty("background-origin",this.backgroundOrigin??""),this.style.setProperty("background-blend-mode",this.backgroundBlendMode??""),this.style.setProperty("filter",this.filter??""),this.style.setProperty("backdrop-filter",this.backdropFilter??""),this.center&&(this.style.setProperty("margin-left","auto"),this.style.setProperty("margin-right","auto"))}};u.styles=[u.styles];let e=u;i([t.property({type:Boolean})],e.prototype,"center"),i([t.property({type:String})],e.prototype,"padding"),i([t.property({type:String})],e.prototype,"margin"),i([t.property({type:String})],e.prototype,"width"),i([t.property({type:String})],e.prototype,"height"),i([t.property({type:String})],e.prototype,"minWidth"),i([t.property({type:String})],e.prototype,"minHeight"),i([t.property({type:String})],e.prototype,"maxWidth"),i([t.property({type:String})],e.prototype,"maxHeight"),i([t.property({type:String})],e.prototype,"display"),i([t.property({type:String})],e.prototype,"overflow"),i([t.property({type:String})],e.prototype,"overflowX"),i([t.property({type:String})],e.prototype,"overflowY"),i([t.property({type:String})],e.prototype,"position"),i([t.property({type:String})],e.prototype,"top"),i([t.property({type:String})],e.prototype,"right"),i([t.property({type:String})],e.prototype,"bottom"),i([t.property({type:String})],e.prototype,"left"),i([t.property({type:String})],e.prototype,"inset"),i([t.property({type:String})],e.prototype,"zIndex"),i([t.property({type:String})],e.prototype,"border"),i([t.property({type:String})],e.prototype,"borderTop"),i([t.property({type:String})],e.prototype,"borderRight"),i([t.property({type:String})],e.prototype,"borderBottom"),i([t.property({type:String})],e.prototype,"borderLeft"),i([t.property({type:String})],e.prototype,"borderColor"),i([t.property({type:String})],e.prototype,"borderRadius"),i([t.property({type:String})],e.prototype,"borderWidth"),i([t.property({type:String})],e.prototype,"boxShadow"),i([t.property({type:String})],e.prototype,"opacity"),i([t.property({type:String})],e.prototype,"background"),i([t.property({type:String})],e.prototype,"backgroundImage"),i([t.property({type:String})],e.prototype,"backgroundPosition"),i([t.property({type:String})],e.prototype,"backgroundSize"),i([t.property({type:String})],e.prototype,"backgroundRepeat"),i([t.property({type:String})],e.prototype,"backgroundAttachment"),i([t.property({type:String})],e.prototype,"backgroundColor"),i([t.property({type:String})],e.prototype,"backgroundClip"),i([t.property({type:String})],e.prototype,"backgroundOrigin"),i([t.property({type:String})],e.prototype,"backgroundBlendMode"),i([t.property({type:String})],e.prototype,"filter"),i([t.property({type:String})],e.prototype,"backdropFilter");var T=Object.defineProperty,E=Object.getOwnPropertyDescriptor,g=(s,o,l,p)=>{for(var n,r=p>1?void 0:p?E(o,l):o,y=s.length-1;y>=0;y--)(n=s[y])&&(r=(p?n(o,l,r):n(r))||r);return p&&r&&T(o,l,r),r};exports.SchmancyFlex=class extends e{constructor(){super(...arguments),this.layout=!0,this.flow="col",this.wrap="wrap",this.align="start",this.justify="start",this.gap="none"}render(){const s={flex:!0,"flex-col":this.flow==="row","flex-col-reverse":this.flow==="row-reverse","flex-row":this.flow==="col","flex-row-reverse":this.flow==="col-reverse","flex-wrap":this.wrap==="wrap","flex-wrap-reverse":this.wrap==="wrap-reverse","flex-nowrap":this.wrap==="nowrap","items-start":this.align==="start","items-center":this.align==="center","items-end":this.align==="end","items-stretch":this.align==="stretch","justify-baseline":this.align==="baseline","justify-center":this.justify==="center","justify-end":this.justify==="end","justify-start":this.justify==="start","justify-stretch":this.justify==="stretch","justify-between":this.justify==="between","gap-0":this.gap==="none","gap-2":this.gap==="sm","gap-4":this.gap==="md","gap-8":this.gap==="lg"};return d.html`
2
- <section class=${j.classMap(s)} style=${F.styleMap({})}>
3
- <slot></slot>
4
- </section>
5
- `}},exports.SchmancyFlex.styles=[e.styles,d.unsafeCSS(":host{display:block;background-color:inherit}")],g([t.property({type:String,reflect:!0})],exports.SchmancyFlex.prototype,"flow",2),g([t.property({type:String,reflect:!0})],exports.SchmancyFlex.prototype,"wrap",2),g([t.property({type:String,reflect:!0})],exports.SchmancyFlex.prototype,"align",2),g([t.property({type:String,reflect:!0})],exports.SchmancyFlex.prototype,"justify",2),g([t.property({type:String,reflect:!0})],exports.SchmancyFlex.prototype,"gap",2),exports.SchmancyFlex=g([t.customElement("schmancy-flex")],exports.SchmancyFlex);var C=Object.defineProperty,G=Object.getOwnPropertyDescriptor,a=(s,o,l,p)=>{for(var n,r=p>1?void 0:p?G(o,l):o,y=s.length-1;y>=0;y--)(n=s[y])&&(r=(p?n(o,l,r):n(r))||r);return p&&r&&C(o,l,r),r};exports.SchmancyGrid=class extends e{constructor(){super(...arguments),this.layout=!0,this.flow="row",this.align="stretch",this.justify="stretch",this.content="stretch",this.gap="none",this.wrap=!1}firstUpdated(){this.rcols&&c.fromEvent(window,"resize").pipe(c.map(s=>s.target),c.startWith(1),c.map(()=>this.clientWidth?this.clientWidth:window.innerWidth),c.distinctUntilChanged(),c.takeUntil(this.disconnecting),c.debounceTime(10),c.map(s=>{var l,p,n,r,y,m,b,w,S,v,x,k;let o;return(l=this.rcols)!=null&&l["2xl"]&&s>=1536?o=(p=this.rcols)==null?void 0:p["2xl"]:(n=this.rcols)!=null&&n.xl&&s>=1280?o=(r=this.rcols)==null?void 0:r.xl:(y=this.rcols)!=null&&y.lg&&s>=1024?o=(m=this.rcols)==null?void 0:m.lg:(b=this.rcols)!=null&&b.md&&s>=768?o=(w=this.rcols)==null?void 0:w.md:(S=this.rcols)!=null&&S.sm&&s>=640?o=(v=this.rcols)==null?void 0:v.sm:(x=this.rcols)!=null&&x.xs&&s<640&&(o=(k=this.rcols)==null?void 0:k.xs),o})).subscribe(s=>{this.cols=s})}render(){const s={"h-full":!0,"grid flex-1":!0,"grid-flow-row auto-rows-max":this.flow==="row","grid-flow-col auto-cols-max":this.flow==="col","grid-flow-row-dense":this.flow==="row-dense","grid-flow-col-dense":this.flow==="col-dense","grid-flow-dense":this.flow==="dense","justify-center":this.content==="center","justify-end":this.content==="end","justify-start":this.content==="start","justify-stretch":this.content==="stretch","justify-between":this.content==="between","justify-around":this.content==="around","justify-evenly":this.content==="evenly","justify-items-center":this.justify==="center","justify-items-end":this.justify==="end","justify-items-start":this.justify==="start","justify-items-stretch":this.justify==="stretch","items-center":this.align==="center","items-end":this.align==="end","items-start":this.align==="start","items-stretch":this.align==="stretch","items-baseline":this.align==="baseline","gap-0":this.gap==="none","gap-1":this.gap==="xs","gap-2":this.gap==="sm","gap-4":this.gap==="md","gap-8":this.gap==="lg","flex-nowrap":this.wrap,"flex-wrap":!this.wrap},o={gridTemplateRows:this.rows?this.rows:void 0,gridTemplateColumns:this.cols?this.cols:void 0};return d.html`
6
- <section class="${this.classMap(s)}" style=${this.styleMap(o)}>
7
- <slot> </slot>
8
- </section>
9
- `}},exports.SchmancyGrid.styles=[e.styles,d.unsafeCSS(":host{height:max-content;width:-webkit-fill-available;display:block}")],a([t.property({type:String})],exports.SchmancyGrid.prototype,"flow",2),a([t.property({type:String})],exports.SchmancyGrid.prototype,"align",2),a([t.property({type:String})],exports.SchmancyGrid.prototype,"justify",2),a([t.property({type:String})],exports.SchmancyGrid.prototype,"content",2),a([t.property({type:String})],exports.SchmancyGrid.prototype,"gap",2),a([t.property({type:String})],exports.SchmancyGrid.prototype,"cols",2),a([t.property({type:String})],exports.SchmancyGrid.prototype,"rows",2),a([t.property({type:Object})],exports.SchmancyGrid.prototype,"rcols",2),a([t.property({type:Boolean})],exports.SchmancyGrid.prototype,"wrap",2),a([t.queryAssignedElements()],exports.SchmancyGrid.prototype,"assignedElements",2),exports.SchmancyGrid=a([t.customElement("schmancy-grid")],exports.SchmancyGrid);var V=Object.defineProperty,W=Object.getOwnPropertyDescriptor,f=(s,o,l,p)=>{for(var n,r=p>1?void 0:p?W(o,l):o,y=s.length-1;y>=0;y--)(n=s[y])&&(r=(p?n(o,l,r):n(r))||r);return p&&r&&V(o,l,r),r};exports.SchmancyScroll=class extends P.TailwindElement(d.css`
10
- :host {
11
- height: 100%;
12
- width: 100%;
13
- overflow: hidden;
14
- box-sizing: border-box; /* Ensures proper sizing */
15
- display: block;
16
- position: relative;
17
- inset: 0px;
18
- }
19
- .scrollbar-hide {
20
- -ms-overflow-style: none; /* IE and Edge */
21
- scrollbar-width: none; /* Firefox */
22
- }
23
- .scrollbar-hide::-webkit-scrollbar {
24
- display: none; /* Chrome, Safari, and Opera */
25
- }
26
- `){constructor(){super(...arguments),this.hide=!1,this.debounce=10}scrollTo(s,o){this.scroller&&(typeof s=="number"?this.scroller.scrollTo({top:s,behavior:o?"smooth":"auto"}):s?this.scroller.scrollTo(s):this.scroller.scrollTo({top:0,behavior:"auto"}))}firstUpdated(){c.fromEvent(this.scroller,"scroll",{passive:!0}).pipe(c.debounceTime(this.debounce),c.takeUntil(this.disconnecting)).subscribe(s=>{const o=this.scroller.scrollTop,l=this.scroller.scrollHeight,p=this.scroller.clientHeight;this.dispatchEvent(new CustomEvent("scroll",{detail:{scrollTop:o,scrollHeight:l,clientHeight:p,e:s},bubbles:!0,composed:!0}))}),c.fromEvent(window,"@schmancy:scrollTo").pipe(c.filter(s=>this.name!==void 0&&s.detail.name===this.name),c.takeUntil(this.disconnecting)).subscribe(s=>{s.detail.action==="scrollTo"&&typeof s.detail.top=="number"&&this.scrollTo({top:s.detail.top,behavior:"smooth"})})}render(){const s={"h-full w-full inset-0 overflow-x-auto overflow-y-auto scroll-smooth overscroll-contain":!0,"scrollbar-hide":this.hide};return d.html`
27
- <div class="relative inset-0 h-full w-full overscroll-none">
28
- <div id="scroller" part="scroller" class=${this.classMap(s)}>
29
- <slot></slot>
30
- </div>
31
- </div>
32
- `}},f([t.property({type:Boolean,reflect:!0})],exports.SchmancyScroll.prototype,"hide",2),f([t.property({type:String,reflect:!0})],exports.SchmancyScroll.prototype,"name",2),f([t.query("#scroller")],exports.SchmancyScroll.prototype,"scroller",2),f([t.property({type:Number})],exports.SchmancyScroll.prototype,"debounce",2),exports.SchmancyScroll=f([t.customElement("schmancy-scroll")],exports.SchmancyScroll);var z=Object.defineProperty,B=Object.getOwnPropertyDescriptor,h=(s,o,l,p)=>{for(var n,r=p>1?void 0:p?B(o,l):o,y=s.length-1;y>=0;y--)(n=s[y])&&(r=(p?n(o,l,r):n(r))||r);return p&&r&&z(o,l,r),r};exports.SchmancyFlexV2=class extends e{constructor(){super(...arguments),this.inline=!1,this.flow="row",this.wrap="wrap",this.align="stretch",this.justify="start",this.gap="none"}render(){const s=this.inline?"inline-flex":"flex";let o="";switch(this.flow){case"row":case"row-dense":default:o="flex-row";break;case"row-reverse":o="flex-row-reverse";break;case"col":case"col-dense":o="flex-col";break;case"col-reverse":o="flex-col-reverse"}let l="";switch(this.flow==="row-dense"||this.flow==="col-dense"?"wrap":this.wrap){case"wrap":default:l="flex-wrap";break;case"nowrap":l="flex-nowrap";break;case"wrap-reverse":l="flex-wrap-reverse"}let p="";switch(this.align){case"start":p="items-start";break;case"center":p="items-center";break;case"end":p="items-end";break;case"stretch":default:p="items-stretch";break;case"baseline":p="items-baseline"}let n="";switch(this.justify){case"start":default:n="justify-start";break;case"center":n="justify-center";break;case"end":n="justify-end";break;case"between":n="justify-between";break;case"around":n="justify-around";break;case"evenly":n="justify-evenly"}let r="";if(this.content)switch(this.content){case"start":r="content-start";break;case"center":r="content-center";break;case"end":r="content-end";break;case"between":r="content-between";break;case"around":r="content-around";break;case"evenly":r="content-evenly"}const y=[s,o,l,p,n,r,this.gap==="none"?"gap-0":`gap-${this.gap}`].filter(Boolean).join(" ");return d.html`
33
- <section class=${y}>
34
- <slot></slot>
35
- </section>
36
- `}},exports.SchmancyFlexV2.styles=[e.styles,d.css`
37
- :host {
38
- display: block;
39
- }
40
- `],h([t.property({type:Boolean,reflect:!0})],exports.SchmancyFlexV2.prototype,"inline",2),h([t.property({type:String,reflect:!0})],exports.SchmancyFlexV2.prototype,"flow",2),h([t.property({type:String,reflect:!0})],exports.SchmancyFlexV2.prototype,"wrap",2),h([t.property({type:String,reflect:!0})],exports.SchmancyFlexV2.prototype,"align",2),h([t.property({type:String,reflect:!0})],exports.SchmancyFlexV2.prototype,"justify",2),h([t.property({type:String,reflect:!0})],exports.SchmancyFlexV2.prototype,"content",2),h([t.property({type:String,reflect:!0})],exports.SchmancyFlexV2.prototype,"gap",2),exports.SchmancyFlexV2=h([t.customElement("sch-flex")],exports.SchmancyFlexV2);
41
- //# sourceMappingURL=flex-M_YoqXnB.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"flex-M_YoqXnB.cjs","sources":["../src/layout/layout.ts","../src/layout/flex/flex.ts","../src/layout/grid/grid.ts","../src/layout/scroll/scroll.ts","../src/layout/v2/flex.ts"],"sourcesContent":["import { TailwindElement } from '@mixins/index'\nimport { property } from 'lit/decorators.js'\n\nexport default class Layout extends TailwindElement() {\n\tstatic styles = [this.styles]\n\tlayout = true\n\t@property({ type: Boolean }) center: boolean | undefined = undefined\n\t@property({ type: String }) padding: string | undefined\n\t@property({ type: String }) margin: string | undefined\n\t@property({ type: String }) width: string | undefined\n\t@property({ type: String }) height: string | undefined\n\t@property({ type: String }) minWidth: string | undefined\n\t@property({ type: String }) minHeight: string | undefined\n\t@property({ type: String }) maxWidth: string | undefined\n\t@property({ type: String }) maxHeight: string | undefined\n\t@property({ type: String }) display:\n\t\t| 'block'\n\t\t| 'inline-block'\n\t\t| 'inline'\n\t\t| 'flex'\n\t\t| 'inline-flex'\n\t\t| 'grid'\n\t\t| 'inline-grid'\n\t\t| 'table'\n\t\t| 'inline-table'\n\t\t| 'flow-root'\n\t\t| 'none'\n\t\t| undefined = undefined\n\t@property({ type: String }) overflow: 'visible' | 'hidden' | 'scroll' | 'auto' | undefined = undefined\n\t@property({ type: String }) overflowX: 'visible' | 'hidden' | 'scroll' | 'auto' | undefined = undefined\n\t@property({ type: String }) overflowY: 'visible' | 'hidden' | 'scroll' | 'auto' | undefined = undefined\n\t@property({ type: String }) position: 'static' | 'relative' | 'absolute' | 'fixed' | 'sticky' | undefined = undefined\n\t@property({ type: String }) top: string | undefined\n\t@property({ type: String }) right: string | undefined\n\t@property({ type: String }) bottom: string | undefined\n\t@property({ type: String }) left: string | undefined\n\t@property({ type: String }) inset: string | undefined\n\t@property({ type: String }) zIndex: string | undefined\n\n\t@property({ type: String }) border: string | undefined\n\t@property({ type: String }) borderTop: string | undefined\n\t@property({ type: String }) borderRight: string | undefined\n\t@property({ type: String }) borderBottom: string | undefined\n\t@property({ type: String }) borderLeft: string | undefined\n\t@property({ type: String }) borderColor: string | undefined\n\t@property({ type: String }) borderRadius: string | undefined\n\t@property({ type: String }) borderWidth: string | undefined\n\n\t@property({ type: String }) boxShadow: string | undefined\n\t@property({ type: String }) opacity: string | undefined\n\t@property({ type: String }) background: string | undefined\n\t@property({ type: String }) backgroundImage: string | undefined\n\t@property({ type: String }) backgroundPosition: string | undefined\n\t@property({ type: String }) backgroundSize: string | undefined\n\t@property({ type: String }) backgroundRepeat: string | undefined\n\t@property({ type: String }) backgroundAttachment: string | undefined\n\t@property({ type: String }) backgroundColor: string | undefined\n\t@property({ type: String }) backgroundClip: string | undefined\n\t@property({ type: String }) backgroundOrigin: string | undefined\n\t@property({ type: String }) backgroundBlendMode: string | undefined\n\t@property({ type: String }) filter: string | undefined\n\t@property({ type: String }) backdropFilter: string | undefined\n\n\tconnectedCallback(): void {\n\t\tsuper.connectedCallback()\n\t\tthis.style.setProperty('padding', this.padding ?? '')\n\t\tthis.style.setProperty('margin', this.margin ?? '')\n\t\tthis.style.setProperty('width', this.width ?? '')\n\t\tthis.style.setProperty('height', this.height ?? '')\n\t\tthis.style.setProperty('min-width', this.minWidth ?? '')\n\t\tthis.style.setProperty('min-height', this.minHeight ?? '')\n\t\tthis.style.setProperty('max-width', this.maxWidth ?? '')\n\t\tthis.style.setProperty('max-height', this.maxHeight ?? '')\n\t\tthis.style.setProperty('display', this.display ?? '')\n\t\tthis.style.setProperty('overflow', this.overflow ?? '')\n\t\tthis.style.setProperty('overflow-x', this.overflowX ?? '')\n\t\tthis.style.setProperty('overflow-y', this.overflowY ?? '')\n\t\tthis.style.setProperty('position', this.position ?? '')\n\t\tthis.style.setProperty('top', this.top ?? '')\n\t\tthis.style.setProperty('right', this.right ?? '')\n\t\tthis.style.setProperty('bottom', this.bottom ?? '')\n\t\tthis.style.setProperty('left', this.left ?? '')\n\t\tthis.style.setProperty('inset', this.inset ?? '')\n\t\tthis.style.setProperty('z-index', this.zIndex ?? '')\n\t\tthis.style.setProperty('border', this.border ?? '')\n\t\tthis.style.setProperty('border-top', this.borderTop ?? '')\n\t\tthis.style.setProperty('border-right', this.borderRight ?? '')\n\t\tthis.style.setProperty('border-bottom', this.borderBottom ?? '')\n\t\tthis.style.setProperty('border-left', this.borderLeft ?? '')\n\t\tthis.style.setProperty('border-color', this.borderColor ?? '')\n\t\tthis.style.setProperty('border-radius', this.borderRadius ?? '')\n\t\tthis.style.setProperty('border-width', this.borderWidth ?? '')\n\t\tthis.style.setProperty('box-shadow', this.boxShadow ?? '')\n\t\tthis.style.setProperty('opacity', this.opacity ?? '')\n\t\tthis.style.setProperty('background', this.background ?? '')\n\t\tthis.style.setProperty('background-image', this.backgroundImage ?? '')\n\t\tthis.style.setProperty('background-position', this.backgroundPosition ?? '')\n\t\tthis.style.setProperty('background-size', this.backgroundSize ?? '')\n\t\tthis.style.setProperty('background-repeat', this.backgroundRepeat ?? '')\n\t\tthis.style.setProperty('background-attachment', this.backgroundAttachment ?? '')\n\t\tthis.style.setProperty('background-color', this.backgroundColor ?? '')\n\t\tthis.style.setProperty('background-clip', this.backgroundClip ?? '')\n\t\tthis.style.setProperty('background-origin', this.backgroundOrigin ?? '')\n\t\tthis.style.setProperty('background-blend-mode', this.backgroundBlendMode ?? '')\n\t\tthis.style.setProperty('filter', this.filter ?? '')\n\t\tthis.style.setProperty('backdrop-filter', this.backdropFilter ?? '')\n\t\tif (this.center) {\n\t\t\tthis.style.setProperty('margin-left', 'auto')\n\t\t\tthis.style.setProperty('margin-right', 'auto')\n\t\t}\n\t}\n}\n","import { html, unsafeCSS } from 'lit'\nimport { customElement, property } from 'lit/decorators.js'\nimport { classMap } from 'lit/directives/class-map.js'\nimport { styleMap } from 'lit/directives/style-map.js'\nimport Layout from '../layout'\nimport style from './flex.scss?inline'\n@customElement('schmancy-flex')\nexport class SchmancyFlex extends Layout {\n\tstatic styles = [Layout.styles, unsafeCSS(style)]\n\tlayout = true\n\t@property({ type: String, reflect: true }) flow: 'row' | 'row-reverse' | 'col' | 'col-reverse' = 'col'\n\t@property({ type: String, reflect: true }) wrap: 'wrap' | 'nowrap' | 'wrap-reverse' = 'wrap'\n\t@property({ type: String, reflect: true }) align: 'start' | 'center' | 'end' | 'stretch' | 'baseline' = 'start'\n\t@property({ type: String, reflect: true }) justify: 'start' | 'center' | 'end' | 'stretch' | 'between' = 'start'\n\t@property({ type: String, reflect: true }) gap: 'none' | 'sm' | 'md' | 'lg' = 'none'\n\n\trender() {\n\t\tconst classes = {\n\t\t\tflex: true,\n\t\t\t// Direction\n\t\t\t'flex-col': this.flow === 'row',\n\t\t\t'flex-col-reverse': this.flow === 'row-reverse',\n\t\t\t'flex-row': this.flow === 'col',\n\t\t\t'flex-row-reverse': this.flow === 'col-reverse',\n\t\t\t// Wrap\n\t\t\t'flex-wrap': this.wrap === 'wrap',\n\t\t\t'flex-wrap-reverse': this.wrap === 'wrap-reverse',\n\t\t\t'flex-nowrap': this.wrap === 'nowrap',\n\t\t\t// Align\n\t\t\t'items-start': this.align === 'start',\n\t\t\t'items-center': this.align === 'center',\n\t\t\t'items-end': this.align === 'end',\n\t\t\t'items-stretch': this.align === 'stretch',\n\t\t\t'justify-baseline': this.align === 'baseline',\n\n\t\t\t// Justify\n\t\t\t'justify-center': this.justify === 'center',\n\t\t\t'justify-end': this.justify === 'end',\n\t\t\t'justify-start': this.justify === 'start',\n\t\t\t'justify-stretch': this.justify === 'stretch',\n\t\t\t'justify-between': this.justify === 'between',\n\n\t\t\t// Gap\n\t\t\t'gap-0': this.gap === 'none',\n\t\t\t'gap-2': this.gap === 'sm',\n\t\t\t'gap-4': this.gap === 'md',\n\t\t\t'gap-8': this.gap === 'lg',\n\t\t}\n\n\t\tconst styles = {}\n\t\treturn html`\n\t\t\t<section class=${classMap(classes)} style=${styleMap(styles)}>\n\t\t\t\t<slot></slot>\n\t\t\t</section>\n\t\t`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-flex': SchmancyFlex\n\t}\n}\n","import { html, unsafeCSS } from 'lit'\nimport { customElement, property, queryAssignedElements } from 'lit/decorators.js'\nimport { debounceTime, distinctUntilChanged, fromEvent, map, startWith, takeUntil } from 'rxjs'\nimport Layout from '../layout'\nimport style from './grid.scss?inline'\n\n@customElement('schmancy-grid')\nexport class SchmancyGrid extends Layout {\n\tstatic styles = [Layout.styles, unsafeCSS(style)]\n\tlayout = true\n\t@property({ type: String }) flow: 'row' | 'col' | 'dense' | 'row-dense' | 'col-dense' = 'row'\n\t@property({ type: String }) align: 'start' | 'center' | 'end' | 'stretch' | 'baseline' = 'stretch'\n\t@property({ type: String }) justify: 'start' | 'center' | 'end' | 'stretch' = 'stretch'\n\t@property({ type: String }) content: 'start' | 'center' | 'end' | 'stretch' | 'around' | 'evenly' | 'between' =\n\t\t'stretch'\n\t@property({ type: String }) gap: 'none' | 'xs' | 'sm' | 'md' | 'lg' = 'none'\n\n\t@property({ type: String }) cols?: string\n\t@property({ type: String }) rows?: string\n\t@property({ type: Object }) rcols?: {\n\t\txs?: string | number\n\t\tsm?: string | number\n\t\tmd?: string | number\n\t\tlg?: string | number\n\t\txl?: string | number\n\t\t'2xl'?: string | number\n\t}\n\n\t@property({ type: Boolean }) wrap = false\n\n\t@queryAssignedElements() assignedElements!: HTMLElement[]\n\n\tfirstUpdated() {\n\t\tif (this.rcols)\n\t\t\tfromEvent<CustomEvent>(window, 'resize')\n\t\t\t\t.pipe(\n\t\t\t\t\tmap(event => event.target as Window),\n\t\t\t\t\tstartWith(1),\n\t\t\t\t\tmap(() => (this.clientWidth ? this.clientWidth : window.innerWidth)),\n\t\t\t\t\tdistinctUntilChanged(),\n\t\t\t\t\ttakeUntil(this.disconnecting),\n\t\t\t\t\tdebounceTime(10),\n\t\t\t\t\tmap(w => {\n\t\t\t\t\t\tlet cols\n\t\t\t\t\t\tif (this.rcols?.['2xl'] && w >= 1536) cols = this.rcols?.['2xl']\n\t\t\t\t\t\telse if (this.rcols?.xl && w >= 1280) cols = this.rcols?.xl\n\t\t\t\t\t\telse if (this.rcols?.lg && w >= 1024) cols = this.rcols?.lg\n\t\t\t\t\t\telse if (this.rcols?.md && w >= 768) cols = this.rcols?.md\n\t\t\t\t\t\telse if (this.rcols?.sm && w >= 640) cols = this.rcols?.sm\n\t\t\t\t\t\telse if (this.rcols?.xs && w < 640) cols = this.rcols?.xs\n\t\t\t\t\t\treturn cols\n\t\t\t\t\t}),\n\t\t\t\t)\n\t\t\t\t.subscribe(cols => {\n\t\t\t\t\tthis.cols = cols\n\t\t\t\t})\n\t}\n\n\trender() {\n\t\tconst classes = {\n\t\t\t'h-full': true,\n\t\t\t'grid flex-1': true,\n\t\t\t// flow classes: https://tailwindcss.com/docs/grid-auto-flow\n\t\t\t'grid-flow-row auto-rows-max': this.flow === 'row',\n\t\t\t'grid-flow-col auto-cols-max': this.flow === 'col',\n\t\t\t'grid-flow-row-dense': this.flow === 'row-dense',\n\t\t\t'grid-flow-col-dense': this.flow === 'col-dense',\n\t\t\t'grid-flow-dense': this.flow === 'dense',\n\n\t\t\t'justify-center': this.content === 'center',\n\t\t\t'justify-end': this.content === 'end',\n\t\t\t'justify-start': this.content === 'start',\n\t\t\t'justify-stretch': this.content === 'stretch',\n\t\t\t'justify-between': this.content === 'between',\n\t\t\t'justify-around': this.content === 'around',\n\t\t\t'justify-evenly': this.content === 'evenly',\n\n\t\t\t'justify-items-center': this.justify === 'center',\n\t\t\t'justify-items-end': this.justify === 'end',\n\t\t\t'justify-items-start': this.justify === 'start',\n\t\t\t'justify-items-stretch': this.justify === 'stretch',\n\t\t\t'items-center': this.align === 'center',\n\t\t\t'items-end': this.align === 'end',\n\t\t\t'items-start': this.align === 'start',\n\t\t\t'items-stretch': this.align === 'stretch',\n\t\t\t'items-baseline': this.align === 'baseline',\n\t\t\t'gap-0': this.gap === 'none',\n\t\t\t'gap-1': this.gap === 'xs',\n\t\t\t'gap-2': this.gap === 'sm',\n\t\t\t'gap-4': this.gap === 'md',\n\t\t\t'gap-8': this.gap === 'lg',\n\t\t\t'flex-nowrap': this.wrap,\n\t\t\t'flex-wrap': !this.wrap,\n\t\t}\n\t\tconst style = {\n\t\t\tgridTemplateRows: this.rows ? this.rows : undefined,\n\t\t\tgridTemplateColumns: this.cols ? this.cols : undefined,\n\t\t}\n\t\treturn html`\n\t\t\t<section class=\"${this.classMap(classes)}\" style=${this.styleMap(style)}>\n\t\t\t\t<slot> </slot>\n\t\t\t</section>\n\t\t`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-grid': SchmancyGrid\n\t}\n}\n","import { TailwindElement } from '@mixins/index'\nimport { css, html } from 'lit'\nimport { customElement, property, query } from 'lit/decorators.js'\nimport { debounceTime, filter, fromEvent, takeUntil } from 'rxjs'\n\n/**\n * Custom scroll event interface for the SchmancyScroll component.\n * Contains detailed information about the scroll state.\n */\nexport interface SchmancyScrollEvent\n\textends CustomEvent<{\n\t\t/** Current scroll position from the top */\n\t\tscrollTop: number\n\t\t/** Total scrollable height of the content */\n\t\tscrollHeight: number\n\t\t/** Visible height of the container */\n\t\tclientHeight: number\n\t\t/** Original scroll event */\n\t\te: Event\n\t}> {}\n\n/**\n * Command event interface for controlling SchmancyScroll components\n */\nexport interface SchmancyScrollCommandEvent\n\textends CustomEvent<{\n\t\t/** Target component name */\n\t\tname: string\n\t\t/** Command action to perform */\n\t\taction: 'scrollTo'\n\t\t/** Scroll position for scrollTo action */\n\t\ttop: number\n\t}> {}\n\n// Augment the HTMLElementEventMap to include our custom events\ndeclare global {\n\tinterface HTMLElementEventMap {\n\t\tscroll: SchmancyScrollEvent\n\t\t'schmancy-scroll-command': SchmancyScrollCommandEvent\n\t}\n}\n\n/**\n * A custom scrollable container with enhanced features.\n *\n * @fires {SchmancyScrollEvent} scroll - Fired when scrolling occurs (with a configurable debounce)\n * @slot - Default slot for content to be scrolled\n * @csspart scroller - The inner scrollable div element\n *\n * @example\n * ```html\n * <schmancy-scroll hide name=\"main-content\">\n * <div>Scrollable content goes here</div>\n * </schmancy-scroll>\n * ```\n */\n@customElement('schmancy-scroll')\nexport class SchmancyScroll extends TailwindElement(css`\n\t:host {\n\t\theight: 100%;\n\t\twidth: 100%;\n\t\toverflow: hidden;\n\t\tbox-sizing: border-box; /* Ensures proper sizing */\n\t\tdisplay: block;\n\t\tposition: relative;\n\t\tinset: 0px;\n\t}\n\t.scrollbar-hide {\n\t\t-ms-overflow-style: none; /* IE and Edge */\n\t\tscrollbar-width: none; /* Firefox */\n\t}\n\t.scrollbar-hide::-webkit-scrollbar {\n\t\tdisplay: none; /* Chrome, Safari, and Opera */\n\t}\n`) {\n\t/**\n\t * Determines whether the scrollbar is hidden.\n\t *\n\t * When `hide` is true, the inner scrollable div receives the `scrollbar-hide` class,\n\t * which hides scrollbars in supported browsers.\n\t *\n\t * @attr hide\n\t * @example <schmancy-scroll hide></schmancy-scroll>\n\t */\n\t@property({ type: Boolean, reflect: true })\n\tpublic hide = false\n\n\t/**\n\t * Optional name identifier for the component.\n\t * Used for targeting this specific component with global events.\n\t *\n\t * @attr name\n\t * @example <schmancy-scroll name=\"main-content\"></schmancy-scroll>\n\t */\n\t@property({ type: String, reflect: true })\n\tpublic name?: string\n\n\t/**\n\t * Reference to the inner scrollable div element\n\t * @public\n\t */\n\t@query('#scroller')\n\tscroller!: HTMLElement\n\n\t/**\n\t * Debounce time in milliseconds for the scroll event.\n\t * Higher values reduce the frequency of scroll events being dispatched.\n\t *\n\t * @attr debounce\n\t * @example <schmancy-scroll debounce=\"50\"></schmancy-scroll>\n\t */\n\t@property({ type: Number })\n\tpublic debounce = 10\n\n\t/**\n\t * Scrolls the container to the specified position\n\t * @param top - The vertical position to scroll to (in pixels)\n\t */\n\tpublic override scrollTo(options?: ScrollToOptions | number, top?: number): void {\n\t\tif (this.scroller) {\n\t\t\tif (typeof options === 'number') {\n\t\t\t\tthis.scroller.scrollTo({ top: options, behavior: top ? 'smooth' : 'auto' })\n\t\t\t} else if (options) {\n\t\t\t\tthis.scroller.scrollTo(options)\n\t\t\t} else {\n\t\t\t\tthis.scroller.scrollTo({ top: 0, behavior: 'auto' })\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Called after the component's first update\n\t * Sets up the scroll event listener with debouncing\n\t * @protected\n\t */\n\tprotected firstUpdated(): void {\n\t\t// Set up scroll event listening with debounce\n\t\tfromEvent(this.scroller, 'scroll', {\n\t\t\tpassive: true,\n\t\t})\n\t\t\t.pipe(\n\t\t\t\tdebounceTime(this.debounce),\n\t\t\t\ttakeUntil(this.disconnecting), // Unsubscribe when the element is destroyed\n\t\t\t)\n\t\t\t.subscribe(e => {\n\t\t\t\tconst scrollTop = this.scroller.scrollTop\n\t\t\t\tconst scrollHeight = this.scroller.scrollHeight\n\t\t\t\tconst clientHeight = this.scroller.clientHeight\n\t\t\t\tthis.dispatchEvent(\n\t\t\t\t\tnew CustomEvent('scroll', {\n\t\t\t\t\t\tdetail: { scrollTop, scrollHeight, clientHeight, e },\n\t\t\t\t\t\tbubbles: true,\n\t\t\t\t\t\tcomposed: true,\n\t\t\t\t\t}) as SchmancyScrollEvent,\n\t\t\t\t)\n\t\t\t})\n\n\t\t// Set up global command event listener\n\t\tfromEvent<SchmancyScrollCommandEvent>(window, '@schmancy:scrollTo')\n\t\t\t.pipe(\n\t\t\t\t// Only process events targeting this component by name\n\t\t\t\tfilter(e => this.name !== undefined && e.detail.name === this.name),\n\t\t\t\ttakeUntil(this.disconnecting),\n\t\t\t)\n\t\t\t.subscribe(e => {\n\t\t\t\tif (e.detail.action === 'scrollTo' && typeof e.detail.top === 'number') {\n\t\t\t\t\tthis.scrollTo({\n\t\t\t\t\t\ttop: e.detail.top,\n\t\t\t\t\t\tbehavior: 'smooth',\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t})\n\t}\n\n\t/**\n\t * Renders the component template\n\t * @returns {TemplateResult} The template to render\n\t * @protected\n\t */\n\tprotected render() {\n\t\t// The classes are dynamically assigned based on the `hide` property.\n\t\tconst classes = {\n\t\t\t'h-full w-full inset-0 overflow-x-auto overflow-y-auto scroll-smooth overscroll-contain': true,\n\t\t\t'scrollbar-hide': this.hide,\n\t\t}\n\n\t\treturn html`\n\t\t\t<div class=\"relative inset-0 h-full w-full overscroll-none\">\n\t\t\t\t<div id=\"scroller\" part=\"scroller\" class=${this.classMap(classes)}>\n\t\t\t\t\t<slot></slot>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-scroll': SchmancyScroll\n\t}\n}\n","import { css, html } from 'lit'\nimport { customElement, property } from 'lit/decorators.js'\nimport Layout from '../layout'\n\n/**\n * SchmancyFlex exposes a flex container with all the Tailwind CSS 4 options:\n *\n * - **Display**: By default uses `flex` but can be set to inline using the `inline` property.\n * - **Flow**: Accepts 'row', 'row-reverse', 'col', 'col-reverse' as well as grid‐like dense variants:\n * - Dense variants (`row-dense`, `col-dense`) force wrapping.\n * - **Wrap**: 'wrap', 'nowrap', or 'wrap-reverse'\n * - **Align Items**: 'start', 'center', 'end', 'stretch', or 'baseline'\n * - **Justify Content**: 'start', 'center', 'end', 'between', 'around', or 'evenly'\n * - **Align Content** (for multi-line flex containers): 'start', 'center', 'end', 'between', 'around', or 'evenly'\n * - **Gap**: Supports Tailwind’s spacing scale (e.g. 'none', '0', '1', '2', …, '64')\n */\n@customElement('sch-flex')\nexport class SchmancyFlexV2 extends Layout {\n\tstatic styles = [\n\t\tLayout.styles,\n\t\tcss`\n\t\t\t:host {\n\t\t\t\tdisplay: block;\n\t\t\t}\n\t\t`,\n\t]\n\t// If true, the container will use inline-flex instead of flex.\n\t@property({ type: Boolean, reflect: true })\n\tinline = false\n\n\t/**\n\t * Flow property that determines the flex direction.\n\t * Allowed values:\n\t * - Standard: 'row', 'row-reverse', 'col', 'col-reverse'\n\t * - Dense variants: 'row-dense', 'col-dense' (dense implies wrapping)\n\t */\n\t@property({ type: String, reflect: true })\n\tflow: 'row' | 'row-reverse' | 'col' | 'col-reverse' | 'row-dense' | 'col-dense' = 'row'\n\n\t/**\n\t * Flex-wrap options:\n\t * - 'wrap', 'nowrap', or 'wrap-reverse'\n\t */\n\t@property({ type: String, reflect: true })\n\twrap: 'wrap' | 'nowrap' | 'wrap-reverse' = 'wrap'\n\n\t/**\n\t * Align-items (vertical alignment of flex items):\n\t * - 'start', 'center', 'end', 'stretch', or 'baseline'\n\t */\n\t@property({ type: String, reflect: true })\n\talign: 'start' | 'center' | 'end' | 'stretch' | 'baseline' = 'stretch'\n\n\t/**\n\t * Justify-content (horizontal distribution):\n\t * - 'start', 'center', 'end', 'between', 'around', or 'evenly'\n\t */\n\t@property({ type: String, reflect: true })\n\tjustify: 'start' | 'center' | 'end' | 'between' | 'around' | 'evenly' = 'start'\n\n\t/**\n\t * Align-content (spacing between rows when wrapping):\n\t * - 'start', 'center', 'end', 'between', 'around', or 'evenly'\n\t */\n\t@property({ type: String, reflect: true })\n\tcontent?: 'start' | 'center' | 'end' | 'between' | 'around' | 'evenly'\n\n\t/**\n\t * Gap between flex items.\n\t * Options (based on Tailwind CSS 4 spacing scale):\n\t * - 'none', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '12', '16', '20', '24', '32', '40', '48', '56', or '64'\n\t */\n\t@property({ type: String, reflect: true })\n\tgap:\n\t\t| 'none'\n\t\t| '0'\n\t\t| '1'\n\t\t| '2'\n\t\t| '3'\n\t\t| '4'\n\t\t| '5'\n\t\t| '6'\n\t\t| '7'\n\t\t| '8'\n\t\t| '9'\n\t\t| '10'\n\t\t| '12'\n\t\t| '16'\n\t\t| '20'\n\t\t| '24'\n\t\t| '32'\n\t\t| '40'\n\t\t| '48'\n\t\t| '56'\n\t\t| '64' = 'none'\n\n\trender() {\n\t\t// Determine whether to use inline-flex or flex.\n\t\tconst baseDisplay = this.inline ? 'inline-flex' : 'flex'\n\n\t\t// Map the flow property to a flex-direction class.\n\t\t// (Dense variants use the same class as their standard counterparts.)\n\t\tlet directionClass = ''\n\t\tswitch (this.flow) {\n\t\t\tcase 'row':\n\t\t\tcase 'row-dense':\n\t\t\t\tdirectionClass = 'flex-row'\n\t\t\t\tbreak\n\t\t\tcase 'row-reverse':\n\t\t\t\tdirectionClass = 'flex-row-reverse'\n\t\t\t\tbreak\n\t\t\tcase 'col':\n\t\t\tcase 'col-dense':\n\t\t\t\tdirectionClass = 'flex-col'\n\t\t\t\tbreak\n\t\t\tcase 'col-reverse':\n\t\t\t\tdirectionClass = 'flex-col-reverse'\n\t\t\t\tbreak\n\t\t\tdefault:\n\t\t\t\tdirectionClass = 'flex-row'\n\t\t}\n\n\t\t// Dense variants force wrapping regardless of the wrap property.\n\t\tconst isDense = this.flow === 'row-dense' || this.flow === 'col-dense'\n\t\tconst effectiveWrap = isDense ? 'wrap' : this.wrap\n\n\t\tlet wrapClass = ''\n\t\tswitch (effectiveWrap) {\n\t\t\tcase 'wrap':\n\t\t\t\twrapClass = 'flex-wrap'\n\t\t\t\tbreak\n\t\t\tcase 'nowrap':\n\t\t\t\twrapClass = 'flex-nowrap'\n\t\t\t\tbreak\n\t\t\tcase 'wrap-reverse':\n\t\t\t\twrapClass = 'flex-wrap-reverse'\n\t\t\t\tbreak\n\t\t\tdefault:\n\t\t\t\twrapClass = 'flex-wrap'\n\t\t}\n\n\t\t// Map align-items.\n\t\tlet alignClass = ''\n\t\tswitch (this.align) {\n\t\t\tcase 'start':\n\t\t\t\talignClass = 'items-start'\n\t\t\t\tbreak\n\t\t\tcase 'center':\n\t\t\t\talignClass = 'items-center'\n\t\t\t\tbreak\n\t\t\tcase 'end':\n\t\t\t\talignClass = 'items-end'\n\t\t\t\tbreak\n\t\t\tcase 'stretch':\n\t\t\t\talignClass = 'items-stretch'\n\t\t\t\tbreak\n\t\t\tcase 'baseline':\n\t\t\t\talignClass = 'items-baseline'\n\t\t\t\tbreak\n\t\t\tdefault:\n\t\t\t\talignClass = 'items-stretch'\n\t\t}\n\n\t\t// Map justify-content.\n\t\tlet justifyClass = ''\n\t\tswitch (this.justify) {\n\t\t\tcase 'start':\n\t\t\t\tjustifyClass = 'justify-start'\n\t\t\t\tbreak\n\t\t\tcase 'center':\n\t\t\t\tjustifyClass = 'justify-center'\n\t\t\t\tbreak\n\t\t\tcase 'end':\n\t\t\t\tjustifyClass = 'justify-end'\n\t\t\t\tbreak\n\t\t\tcase 'between':\n\t\t\t\tjustifyClass = 'justify-between'\n\t\t\t\tbreak\n\t\t\tcase 'around':\n\t\t\t\tjustifyClass = 'justify-around'\n\t\t\t\tbreak\n\t\t\tcase 'evenly':\n\t\t\t\tjustifyClass = 'justify-evenly'\n\t\t\t\tbreak\n\t\t\tdefault:\n\t\t\t\tjustifyClass = 'justify-start'\n\t\t}\n\n\t\t// Map align-content (if provided).\n\t\tlet contentClass = ''\n\t\tif (this.content) {\n\t\t\tswitch (this.content) {\n\t\t\t\tcase 'start':\n\t\t\t\t\tcontentClass = 'content-start'\n\t\t\t\t\tbreak\n\t\t\t\tcase 'center':\n\t\t\t\t\tcontentClass = 'content-center'\n\t\t\t\t\tbreak\n\t\t\t\tcase 'end':\n\t\t\t\t\tcontentClass = 'content-end'\n\t\t\t\t\tbreak\n\t\t\t\tcase 'between':\n\t\t\t\t\tcontentClass = 'content-between'\n\t\t\t\t\tbreak\n\t\t\t\tcase 'around':\n\t\t\t\t\tcontentClass = 'content-around'\n\t\t\t\t\tbreak\n\t\t\t\tcase 'evenly':\n\t\t\t\t\tcontentClass = 'content-evenly'\n\t\t\t\t\tbreak\n\t\t\t}\n\t\t}\n\n\t\t// Map gap value.\n\t\tconst gapClass = this.gap === 'none' ? 'gap-0' : `gap-${this.gap}`\n\n\t\t// Build the complete list of classes.\n\t\tconst classes = [baseDisplay, directionClass, wrapClass, alignClass, justifyClass, contentClass, gapClass]\n\t\t\t.filter(Boolean)\n\t\t\t.join(' ')\n\n\t\treturn html`\n\t\t\t<section class=${classes}>\n\t\t\t\t<slot></slot>\n\t\t\t</section>\n\t\t`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'sch-flex': SchmancyFlexV2\n\t}\n}\n"],"names":["Layout","TailwindElement","super","arguments","this","layout","center","display","overflow","overflowX","overflowY","position","connectedCallback","style","setProperty","padding","margin","width","height","minWidth","minHeight","maxWidth","maxHeight","top","right","bottom","left","inset","zIndex","border","borderTop","borderRight","borderBottom","borderLeft","borderColor","borderRadius","borderWidth","boxShadow","opacity","background","backgroundImage","backgroundPosition","backgroundSize","backgroundRepeat","backgroundAttachment","backgroundColor","backgroundClip","backgroundOrigin","backgroundBlendMode","filter","backdropFilter","__decorateClass","styles","_a","property","type","Boolean","prototype","String","SchmancyFlex","constructor","flow","wrap","align","justify","gap","classes","flex","html","classMap","styleMap","unsafeCSS","reflect","customElement","SchmancyGrid","content","rcols","fromEvent","window","pipe","map","event","target","startWith","clientWidth","innerWidth","distinctUntilChanged","takeUntil","disconnecting","debounceTime","w","cols","xl","lg","md","sm","xs","subscribe","gridTemplateRows","rows","gridTemplateColumns","Object","queryAssignedElements","SchmancyScroll","css","hide","debounce","options","scroller","scrollTo","behavior","firstUpdated","passive","e","scrollTop","scrollHeight","clientHeight","dispatchEvent","CustomEvent","detail","bubbles","composed","name","action","query","Number","SchmancyFlexV2","inline","baseDisplay","directionClass","wrapClass","alignClass","justifyClass","contentClass","join"],"mappings":"qVAGqB,MAAAA,EAAA,MAAAA,UAAeC,kBAApC,CAAA,CAAA,aAAAC,CAAAA,MAAAA,GAAAC,SAEUC,EAAAA,KAAAC,OAAA,GACkDD,KAAAE,OAAAA,OAqB5CF,KAAAG,QAAA,OAC8EH,KAAAI,SAAAA,OACCJ,KAAAK,UAAA,OACAL,KAAAM,UAAAA,OACcN,KAAAO,SAAA,MAAA,CAgC5G,mBAAAC,CACCV,MAAMU,kBAAAA,EACNR,KAAKS,MAAMC,YAAY,UAAWV,KAAKW,SAAW,EAClDX,EAAAA,KAAKS,MAAMC,YAAY,SAAUV,KAAKY,QAAU,EAAA,EAChDZ,KAAKS,MAAMC,YAAY,QAASV,KAAKa,OAAS,EAC9Cb,EAAAA,KAAKS,MAAMC,YAAY,SAAUV,KAAKc,QAAU,EAChDd,EAAAA,KAAKS,MAAMC,YAAY,YAAaV,KAAKe,UAAY,EAAA,EACrDf,KAAKS,MAAMC,YAAY,aAAcV,KAAKgB,WAAa,EACvDhB,EAAAA,KAAKS,MAAMC,YAAY,YAAaV,KAAKiB,UAAY,EAAA,EACrDjB,KAAKS,MAAMC,YAAY,aAAcV,KAAKkB,WAAa,IACvDlB,KAAKS,MAAMC,YAAY,UAAWV,KAAKG,SAAW,EAClDH,EAAAA,KAAKS,MAAMC,YAAY,WAAYV,KAAKI,UAAY,EAAA,EACpDJ,KAAKS,MAAMC,YAAY,aAAcV,KAAKK,WAAa,EACvDL,EAAAA,KAAKS,MAAMC,YAAY,aAAcV,KAAKM,WAAa,EAAA,EACvDN,KAAKS,MAAMC,YAAY,WAAYV,KAAKO,UAAY,EAAA,EACpDP,KAAKS,MAAMC,YAAY,MAAOV,KAAK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