@mhmo91/schmancy 0.5.29 → 0.5.31

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 (331) hide show
  1. package/ai/autocomplete.md +21 -22
  2. package/ai/option.md +1 -1
  3. package/dist/ai/autocomplete.md +21 -22
  4. package/dist/ai/option.md +1 -1
  5. package/dist/{animated-text-vdNivzdc.cjs → animated-text-BZUrBdvN.cjs} +2 -2
  6. package/dist/{animated-text-vdNivzdc.cjs.map → animated-text-BZUrBdvN.cjs.map} +1 -1
  7. package/dist/{animated-text-Bn8-ILmB.js → animated-text-COvhr8E3.js} +3 -3
  8. package/dist/{animated-text-Bn8-ILmB.js.map → animated-text-COvhr8E3.js.map} +1 -1
  9. package/dist/animated-text.cjs +1 -1
  10. package/dist/animated-text.js +1 -1
  11. package/dist/area.cjs +1 -1
  12. package/dist/{area.component-pd24G8zW.js → area.component-BHtBHWVt.js} +3 -3
  13. package/dist/{area.component-pd24G8zW.js.map → area.component-BHtBHWVt.js.map} +1 -1
  14. package/dist/{area.component-DwPL6bdo.cjs → area.component-Ch2Eaa4i.cjs} +2 -2
  15. package/dist/{area.component-DwPL6bdo.cjs.map → area.component-Ch2Eaa4i.cjs.map} +1 -1
  16. package/dist/area.js +1 -1
  17. package/dist/{autocomplete-CeB2VvCm.js → autocomplete-9RkU9LmA.js} +4 -4
  18. package/dist/{autocomplete-CeB2VvCm.js.map → autocomplete-9RkU9LmA.js.map} +1 -1
  19. package/dist/{autocomplete-ChRZ5y2p.cjs → autocomplete-CenwFcT1.cjs} +2 -2
  20. package/dist/{autocomplete-ChRZ5y2p.cjs.map → autocomplete-CenwFcT1.cjs.map} +1 -1
  21. package/dist/autocomplete.cjs +1 -1
  22. package/dist/autocomplete.js +1 -1
  23. package/dist/{avatar-B44Yq_7I.cjs → avatar-DVvQCuqb.cjs} +2 -2
  24. package/dist/{avatar-B44Yq_7I.cjs.map → avatar-DVvQCuqb.cjs.map} +1 -1
  25. package/dist/{avatar-ByCv3NzJ.js → avatar-vN5sPaPb.js} +50 -50
  26. package/dist/{avatar-ByCv3NzJ.js.map → avatar-vN5sPaPb.js.map} +1 -1
  27. package/dist/badge.cjs +1 -1
  28. package/dist/badge.js +1 -1
  29. package/dist/{boat-dSTPix8t.js → boat-CUsJXaLf.js} +2 -2
  30. package/dist/{boat-dSTPix8t.js.map → boat-CUsJXaLf.js.map} +1 -1
  31. package/dist/{boat-DNmaFlxD.cjs → boat-Dfx9-P8c.cjs} +2 -2
  32. package/dist/{boat-DNmaFlxD.cjs.map → boat-Dfx9-P8c.cjs.map} +1 -1
  33. package/dist/boat.cjs +1 -1
  34. package/dist/boat.js +1 -1
  35. package/dist/busy.cjs +1 -1
  36. package/dist/busy.js +1 -1
  37. package/dist/button.cjs +1 -1
  38. package/dist/button.js +1 -1
  39. package/dist/card.cjs +1 -1
  40. package/dist/card.js +1 -1
  41. package/dist/{checkbox-BJ5aqrKY.cjs → checkbox-8djp_8NK.cjs} +2 -2
  42. package/dist/{checkbox-BJ5aqrKY.cjs.map → checkbox-8djp_8NK.cjs.map} +1 -1
  43. package/dist/{checkbox-CU2tyEL0.js → checkbox-D6-WQeEk.js} +2 -2
  44. package/dist/{checkbox-CU2tyEL0.js.map → checkbox-D6-WQeEk.js.map} +1 -1
  45. package/dist/checkbox.cjs +1 -1
  46. package/dist/checkbox.js +1 -1
  47. package/dist/chips.cjs +1 -1
  48. package/dist/chips.js +2 -2
  49. package/dist/code-highlight.cjs +1 -1
  50. package/dist/code-highlight.js +1 -1
  51. package/dist/{code-preview-fda91FDi.cjs → code-preview-BFoEmN8y.cjs} +2 -2
  52. package/dist/{code-preview-fda91FDi.cjs.map → code-preview-BFoEmN8y.cjs.map} +1 -1
  53. package/dist/{code-preview-KDpn0Q3T.js → code-preview-Z02-2suM.js} +2 -2
  54. package/dist/{code-preview-KDpn0Q3T.js.map → code-preview-Z02-2suM.js.map} +1 -1
  55. package/dist/components.cjs +1 -1
  56. package/dist/components.js +1 -1
  57. package/dist/content-drawer.cjs +1 -1
  58. package/dist/content-drawer.js +1 -1
  59. package/dist/{date-range-0nOdLk-l.cjs → date-range-DoCtnpW6.cjs} +2 -2
  60. package/dist/{date-range-0nOdLk-l.cjs.map → date-range-DoCtnpW6.cjs.map} +1 -1
  61. package/dist/{date-range-inline-b0yYxPn_.js → date-range-inline-BXeX6T7R.js} +3 -3
  62. package/dist/{date-range-inline-b0yYxPn_.js.map → date-range-inline-BXeX6T7R.js.map} +1 -1
  63. package/dist/{date-range-inline-UoP6EDug.cjs → date-range-inline-DNr7C5X-.cjs} +2 -2
  64. package/dist/{date-range-inline-UoP6EDug.cjs.map → date-range-inline-DNr7C5X-.cjs.map} +1 -1
  65. package/dist/date-range-inline.cjs +1 -1
  66. package/dist/date-range-inline.js +1 -1
  67. package/dist/{date-range-yd-FnXRe.js → date-range-kFnTrnHN.js} +3 -3
  68. package/dist/{date-range-yd-FnXRe.js.map → date-range-kFnTrnHN.js.map} +1 -1
  69. package/dist/date-range.cjs +1 -1
  70. package/dist/date-range.js +1 -1
  71. package/dist/{delay-CaOsI0yP.cjs → delay-CrdOikhP.cjs} +2 -2
  72. package/dist/{delay-CaOsI0yP.cjs.map → delay-CrdOikhP.cjs.map} +1 -1
  73. package/dist/{delay-CE9VOJBG.js → delay-Cz-9rZxi.js} +2 -2
  74. package/dist/{delay-CE9VOJBG.js.map → delay-Cz-9rZxi.js.map} +1 -1
  75. package/dist/delay.cjs +1 -1
  76. package/dist/delay.js +1 -1
  77. package/dist/{details-B_kKG0Du.cjs → details-CsqhGMjL.cjs} +7 -7
  78. package/dist/details-CsqhGMjL.cjs.map +1 -0
  79. package/dist/{details-m-njXkGl.js → details-DeBtsJlp.js} +6 -6
  80. package/dist/details-DeBtsJlp.js.map +1 -0
  81. package/dist/details.cjs +1 -1
  82. package/dist/details.js +1 -1
  83. package/dist/{dialog-content-B5MUa6uq.cjs → dialog-content-BzSQoM2J.cjs} +2 -2
  84. package/dist/{dialog-content-B5MUa6uq.cjs.map → dialog-content-BzSQoM2J.cjs.map} +1 -1
  85. package/dist/{dialog-content-BireCTdH.js → dialog-content-DTKdAF_l.js} +3 -3
  86. package/dist/{dialog-content-BireCTdH.js.map → dialog-content-DTKdAF_l.js.map} +1 -1
  87. package/dist/dialog.cjs +1 -1
  88. package/dist/dialog.js +1 -1
  89. package/dist/{divider-CMaqpnia.js → divider-7iyyEd8k.js} +3 -3
  90. package/dist/{divider-CMaqpnia.js.map → divider-7iyyEd8k.js.map} +1 -1
  91. package/dist/{divider-DekMH80a.cjs → divider-CNxOc8ep.cjs} +2 -2
  92. package/dist/{divider-DekMH80a.cjs.map → divider-CNxOc8ep.cjs.map} +1 -1
  93. package/dist/divider.cjs +1 -1
  94. package/dist/divider.js +1 -1
  95. package/dist/{dropdown-content-eXth59vX.cjs → dropdown-content-De0OkNoq.cjs} +2 -2
  96. package/dist/{dropdown-content-eXth59vX.cjs.map → dropdown-content-De0OkNoq.cjs.map} +1 -1
  97. package/dist/{dropdown-content-CViuccZ6.js → dropdown-content-_GMpqsNq.js} +3 -3
  98. package/dist/{dropdown-content-CViuccZ6.js.map → dropdown-content-_GMpqsNq.js.map} +1 -1
  99. package/dist/dropdown.cjs +1 -1
  100. package/dist/dropdown.js +1 -1
  101. package/dist/{email-recipients-BSopuO1J.js → email-recipients-CPZlUiRR.js} +5 -5
  102. package/dist/{email-recipients-BSopuO1J.js.map → email-recipients-CPZlUiRR.js.map} +1 -1
  103. package/dist/{email-recipients-DNcWf4_1.cjs → email-recipients-DS01C3V3.cjs} +2 -2
  104. package/dist/{email-recipients-DNcWf4_1.cjs.map → email-recipients-DS01C3V3.cjs.map} +1 -1
  105. package/dist/extra.cjs +1 -1
  106. package/dist/extra.js +1 -1
  107. package/dist/{flex-Czj-zqJQ.js → flex-BeSoRNTu.js} +81 -66
  108. package/dist/flex-BeSoRNTu.js.map +1 -0
  109. package/dist/flex-CHf9Gc5V.cjs +42 -0
  110. package/dist/flex-CHf9Gc5V.cjs.map +1 -0
  111. package/dist/{form-CAvvBQiv.js → form-DNeKagke.js} +2 -2
  112. package/dist/{form-CAvvBQiv.js.map → form-DNeKagke.js.map} +1 -1
  113. package/dist/{form-OUNdJnUW.cjs → form-DzDksPgv.cjs} +2 -2
  114. package/dist/{form-OUNdJnUW.cjs.map → form-DzDksPgv.cjs.map} +1 -1
  115. package/dist/form.cjs +1 -1
  116. package/dist/form.js +1 -1
  117. package/dist/{formField.mixin-DlYLC82X.js → formField.mixin-BNj75WQ4.js} +2 -2
  118. package/dist/{formField.mixin-DlYLC82X.js.map → formField.mixin-BNj75WQ4.js.map} +1 -1
  119. package/dist/{formField.mixin-Bu0ygAbE.cjs → formField.mixin-D5YAYIS1.cjs} +2 -2
  120. package/dist/{formField.mixin-Bu0ygAbE.cjs.map → formField.mixin-D5YAYIS1.cjs.map} +1 -1
  121. package/dist/{icon-D0EaNtwd.js → icon-B72X_AQX.js} +2 -2
  122. package/dist/{icon-D0EaNtwd.js.map → icon-B72X_AQX.js.map} +1 -1
  123. package/dist/{icon-BwhQbcAk.cjs → icon-DbIBlAjy.cjs} +2 -2
  124. package/dist/{icon-BwhQbcAk.cjs.map → icon-DbIBlAjy.cjs.map} +1 -1
  125. package/dist/{icon-button-CGMdsmXS.js → icon-button-D6DH52j4.js} +3 -3
  126. package/dist/{icon-button-CGMdsmXS.js.map → icon-button-D6DH52j4.js.map} +1 -1
  127. package/dist/{icon-button-BrRSVzzx.cjs → icon-button-DwnnW2oj.cjs} +2 -2
  128. package/dist/{icon-button-BrRSVzzx.cjs.map → icon-button-DwnnW2oj.cjs.map} +1 -1
  129. package/dist/icons.cjs +1 -1
  130. package/dist/icons.js +1 -1
  131. package/dist/index.cjs +1 -1
  132. package/dist/index.js +49 -49
  133. package/dist/{input-lzxE1e5L.cjs → input-C2Vz-51i.cjs} +2 -2
  134. package/dist/{input-lzxE1e5L.cjs.map → input-C2Vz-51i.cjs.map} +1 -1
  135. package/dist/{input-DZYN1TnY.js → input-DtHPCCyd.js} +3 -3
  136. package/dist/{input-DZYN1TnY.js.map → input-DtHPCCyd.js.map} +1 -1
  137. package/dist/{input-chip-Cf25jEob.cjs → input-chip-B7ANrtLF.cjs} +2 -2
  138. package/dist/{input-chip-Cf25jEob.cjs.map → input-chip-B7ANrtLF.cjs.map} +1 -1
  139. package/dist/{input-chip-CNLkwei6.js → input-chip-DbIvSyvP.js} +2 -2
  140. package/dist/{input-chip-CNLkwei6.js.map → input-chip-DbIvSyvP.js.map} +1 -1
  141. package/dist/input.cjs +1 -1
  142. package/dist/input.js +1 -1
  143. package/dist/layout.cjs +1 -1
  144. package/dist/layout.js +1 -1
  145. package/dist/{list-Cqo45m_h.js → list-BBo0--_Q.js} +2 -2
  146. package/dist/{list-Cqo45m_h.js.map → list-BBo0--_Q.js.map} +1 -1
  147. package/dist/{list-rGx4YHgo.cjs → list-BH8OJ3Rv.cjs} +2 -2
  148. package/dist/{list-rGx4YHgo.cjs.map → list-BH8OJ3Rv.cjs.map} +1 -1
  149. package/dist/list.cjs +1 -1
  150. package/dist/list.js +1 -1
  151. package/dist/{litElement.mixin-B0Rsd4Km.js → litElement.mixin-CzF0mNQd.js} +2 -2
  152. package/dist/{litElement.mixin-B0Rsd4Km.js.map → litElement.mixin-CzF0mNQd.js.map} +1 -1
  153. package/dist/{litElement.mixin-DUiUa087.cjs → litElement.mixin-LplXbzd8.cjs} +2 -2
  154. package/dist/{litElement.mixin-DUiUa087.cjs.map → litElement.mixin-LplXbzd8.cjs.map} +1 -1
  155. package/dist/logo-dark.png +0 -0
  156. package/dist/mailbox.cjs +1 -1
  157. package/dist/mailbox.js +1 -1
  158. package/dist/{map-8DhybTup.cjs → map-C7lxYU4A.cjs} +2 -2
  159. package/dist/{map-8DhybTup.cjs.map → map-C7lxYU4A.cjs.map} +1 -1
  160. package/dist/{map-DWf43TA1.js → map-DeiCBxMP.js} +2 -2
  161. package/dist/{map-DWf43TA1.js.map → map-DeiCBxMP.js.map} +1 -1
  162. package/dist/map.cjs +1 -1
  163. package/dist/map.js +1 -1
  164. package/dist/{media-BVKgZzK_.js → media-CEnaqjig.js} +2 -2
  165. package/dist/{media-BVKgZzK_.js.map → media-CEnaqjig.js.map} +1 -1
  166. package/dist/{media-BZwiyJto.cjs → media-CsYVcfaX.cjs} +2 -2
  167. package/dist/{media-BZwiyJto.cjs.map → media-CsYVcfaX.cjs.map} +1 -1
  168. package/dist/{menu-D8qP_e7D.cjs → menu-Boqsyfmh.cjs} +2 -2
  169. package/dist/{menu-D8qP_e7D.cjs.map → menu-Boqsyfmh.cjs.map} +1 -1
  170. package/dist/{menu-CGaCEOer.js → menu-wtkHGlyc.js} +3 -3
  171. package/dist/{menu-CGaCEOer.js.map → menu-wtkHGlyc.js.map} +1 -1
  172. package/dist/menu.cjs +1 -1
  173. package/dist/menu.js +1 -1
  174. package/dist/nav-drawer.cjs +1 -1
  175. package/dist/nav-drawer.js +1 -1
  176. package/dist/navigation-bar.cjs +1 -1
  177. package/dist/navigation-bar.js +1 -1
  178. package/dist/navigation-rail-Bk9exaNK.js +237 -0
  179. package/dist/navigation-rail-Bk9exaNK.js.map +1 -0
  180. package/dist/navigation-rail-D_dDK8C4.cjs +78 -0
  181. package/dist/navigation-rail-D_dDK8C4.cjs.map +1 -0
  182. package/dist/navigation-rail.cjs +1 -1
  183. package/dist/navigation-rail.js +1 -1
  184. package/dist/{notification-service-DCmDSvc-.cjs → notification-service-9HXSKWcw.cjs} +2 -2
  185. package/dist/{notification-service-DCmDSvc-.cjs.map → notification-service-9HXSKWcw.cjs.map} +1 -1
  186. package/dist/{notification-service-Dv4oQi_Z.js → notification-service-ZiGUSd63.js} +4 -4
  187. package/dist/{notification-service-Dv4oQi_Z.js.map → notification-service-ZiGUSd63.js.map} +1 -1
  188. package/dist/notification.cjs +1 -1
  189. package/dist/notification.js +2 -2
  190. package/dist/{notify-COuaNTJP.js → notify-DbfX6Z2P.js} +2 -2
  191. package/dist/{notify-COuaNTJP.js.map → notify-DbfX6Z2P.js.map} +1 -1
  192. package/dist/{notify-XY2e8y_a.cjs → notify-W-NrP0cC.cjs} +2 -2
  193. package/dist/{notify-XY2e8y_a.cjs.map → notify-W-NrP0cC.cjs.map} +1 -1
  194. package/dist/{option-CSSmqUBi.js → option-BFlWiCu0.js} +2 -2
  195. package/dist/{option-CSSmqUBi.js.map → option-BFlWiCu0.js.map} +1 -1
  196. package/dist/{option-q-dig7LF.cjs → option-D2bxihLu.cjs} +2 -2
  197. package/dist/{option-q-dig7LF.cjs.map → option-D2bxihLu.cjs.map} +1 -1
  198. package/dist/option.cjs +1 -1
  199. package/dist/option.js +1 -1
  200. package/dist/{payment-card-form-C8bWa_hh.cjs → payment-card-form--v94EhJF.cjs} +2 -2
  201. package/dist/{payment-card-form-C8bWa_hh.cjs.map → payment-card-form--v94EhJF.cjs.map} +1 -1
  202. package/dist/{payment-card-form-CWboYwqO.js → payment-card-form-DLRNX9NX.js} +3 -3
  203. package/dist/{payment-card-form-CWboYwqO.js.map → payment-card-form-DLRNX9NX.js.map} +1 -1
  204. package/dist/{progress-Cci0dXzp.js → progress-BYohUvYO.js} +2 -2
  205. package/dist/{progress-Cci0dXzp.js.map → progress-BYohUvYO.js.map} +1 -1
  206. package/dist/{progress-CP2lpJsl.cjs → progress-CjkD8QBy.cjs} +2 -2
  207. package/dist/{progress-CP2lpJsl.cjs.map → progress-CjkD8QBy.cjs.map} +1 -1
  208. package/dist/progress.cjs +1 -1
  209. package/dist/progress.js +1 -1
  210. package/dist/{radio-button-DFbfVgox.js → radio-button-BlxeCjdq.js} +3 -3
  211. package/dist/{radio-button-DFbfVgox.js.map → radio-button-BlxeCjdq.js.map} +1 -1
  212. package/dist/{radio-button-CU-lMs92.cjs → radio-button-CGmGOAil.cjs} +2 -2
  213. package/dist/{radio-button-CU-lMs92.cjs.map → radio-button-CGmGOAil.cjs.map} +1 -1
  214. package/dist/radio-group.cjs +1 -1
  215. package/dist/radio-group.js +1 -1
  216. package/dist/{schmancy-steps-container-vW7r1ZTL.js → schmancy-steps-container-BtAHCm73.js} +2 -2
  217. package/dist/{schmancy-steps-container-vW7r1ZTL.js.map → schmancy-steps-container-BtAHCm73.js.map} +1 -1
  218. package/dist/{schmancy-steps-container-CQY1zmws.cjs → schmancy-steps-container-CydL78yk.cjs} +2 -2
  219. package/dist/{schmancy-steps-container-CQY1zmws.cjs.map → schmancy-steps-container-CydL78yk.cjs.map} +1 -1
  220. package/dist/{select-BkGodZaS.js → select-BiN334GN.js} +3 -3
  221. package/dist/{select-BkGodZaS.js.map → select-BiN334GN.js.map} +1 -1
  222. package/dist/{select-Be8HIqWu.cjs → select-CrB02cIO.cjs} +2 -2
  223. package/dist/{select-Be8HIqWu.cjs.map → select-CrB02cIO.cjs.map} +1 -1
  224. package/dist/select.cjs +1 -1
  225. package/dist/select.js +1 -1
  226. package/dist/{sheet-DECb9whB.js → sheet-DpJv4DRi.js} +3 -3
  227. package/dist/{sheet-DECb9whB.js.map → sheet-DpJv4DRi.js.map} +1 -1
  228. package/dist/{sheet-dK5UPVjp.cjs → sheet-sgVoRMi1.cjs} +2 -2
  229. package/dist/{sheet-dK5UPVjp.cjs.map → sheet-sgVoRMi1.cjs.map} +1 -1
  230. package/dist/sheet.cjs +1 -1
  231. package/dist/sheet.js +1 -1
  232. package/dist/{slider-BhFc1oRj.js → slider-D7qdxfvX.js} +3 -3
  233. package/dist/{slider-BhFc1oRj.js.map → slider-D7qdxfvX.js.map} +1 -1
  234. package/dist/{slider-CP3JRaWR.cjs → slider-Dd1L6oYm.cjs} +2 -2
  235. package/dist/{slider-CP3JRaWR.cjs.map → slider-Dd1L6oYm.cjs.map} +1 -1
  236. package/dist/slider.cjs +1 -1
  237. package/dist/slider.js +1 -1
  238. package/dist/{spinner-BD8cXVK_.cjs → spinner-CaXU45TV.cjs} +2 -2
  239. package/dist/{spinner-BD8cXVK_.cjs.map → spinner-CaXU45TV.cjs.map} +1 -1
  240. package/dist/{spinner-DGyRYqUZ.js → spinner-XN4W5ihQ.js} +2 -2
  241. package/dist/{spinner-DGyRYqUZ.js.map → spinner-XN4W5ihQ.js.map} +1 -1
  242. package/dist/steps.cjs +1 -1
  243. package/dist/steps.js +1 -1
  244. package/dist/{suggestion-chip-CASXKYnD.js → suggestion-chip-CdhoATv9.js} +3 -3
  245. package/dist/{suggestion-chip-CASXKYnD.js.map → suggestion-chip-CdhoATv9.js.map} +1 -1
  246. package/dist/{suggestion-chip-BPCzI7GW.cjs → suggestion-chip-PI24Hc3s.cjs} +2 -2
  247. package/dist/{suggestion-chip-BPCzI7GW.cjs.map → suggestion-chip-PI24Hc3s.cjs.map} +1 -1
  248. package/dist/{surface-ClIDhSRv.cjs → surface-Ax6I7ldp.cjs} +2 -2
  249. package/dist/{surface-ClIDhSRv.cjs.map → surface-Ax6I7ldp.cjs.map} +1 -1
  250. package/dist/{surface-C3V23wh9.js → surface-CKrYJ58l.js} +2 -2
  251. package/dist/{surface-C3V23wh9.js.map → surface-CKrYJ58l.js.map} +1 -1
  252. package/dist/surface.cjs +1 -1
  253. package/dist/surface.js +1 -1
  254. package/dist/{table-1New2HBS.cjs → table-BlwUyf_4.cjs} +2 -2
  255. package/dist/{table-1New2HBS.cjs.map → table-BlwUyf_4.cjs.map} +1 -1
  256. package/dist/{table-CLA3cxIk.js → table-CP6_NkPm.js} +2 -2
  257. package/dist/{table-CLA3cxIk.js.map → table-CP6_NkPm.js.map} +1 -1
  258. package/dist/table.cjs +1 -1
  259. package/dist/table.js +1 -1
  260. package/dist/{tabs-compatibility-RMzYuSJ1.js → tabs-compatibility-7QKuXX4i.js} +2 -2
  261. package/dist/{tabs-compatibility-RMzYuSJ1.js.map → tabs-compatibility-7QKuXX4i.js.map} +1 -1
  262. package/dist/{tabs-compatibility-DDtYFCUj.cjs → tabs-compatibility-CX0cIu_Y.cjs} +2 -2
  263. package/dist/{tabs-compatibility-DDtYFCUj.cjs.map → tabs-compatibility-CX0cIu_Y.cjs.map} +1 -1
  264. package/dist/tabs.cjs +1 -1
  265. package/dist/tabs.js +1 -1
  266. package/dist/tailwind.mixin-BjDGMGbj.js +43 -0
  267. package/dist/{tailwind.mixin-CZKT1dUr.js.map → tailwind.mixin-BjDGMGbj.js.map} +1 -1
  268. package/dist/tailwind.mixin-ClfV2_Nh.cjs +2 -0
  269. package/dist/{tailwind.mixin-CFrLBtkD.cjs.map → tailwind.mixin-ClfV2_Nh.cjs.map} +1 -1
  270. package/dist/teleport.cjs +1 -1
  271. package/dist/teleport.js +1 -1
  272. package/dist/{textarea-B4DXG5Sg.js → textarea-DHrDn-O6.js} +2 -2
  273. package/dist/{textarea-B4DXG5Sg.js.map → textarea-DHrDn-O6.js.map} +1 -1
  274. package/dist/{textarea-ChDsPBZz.cjs → textarea-qLA0vP78.cjs} +2 -2
  275. package/dist/{textarea-ChDsPBZz.cjs.map → textarea-qLA0vP78.cjs.map} +1 -1
  276. package/dist/textarea.cjs +1 -1
  277. package/dist/textarea.js +1 -1
  278. package/dist/{theme-button-DGjG_shg.js → theme-button-BEUsbH5m.js} +2 -2
  279. package/dist/{theme-button-DGjG_shg.js.map → theme-button-BEUsbH5m.js.map} +1 -1
  280. package/dist/{theme-button-qzDX0i9Q.cjs → theme-button-D7fBEUGf.cjs} +2 -2
  281. package/dist/{theme-button-qzDX0i9Q.cjs.map → theme-button-D7fBEUGf.cjs.map} +1 -1
  282. package/dist/theme-button.cjs +1 -1
  283. package/dist/theme-button.js +1 -1
  284. package/dist/theme.cjs +1 -1
  285. package/dist/{theme.component-C3r_-QqQ.js → theme.component-ByGua01V.js} +2 -2
  286. package/dist/{theme.component-C3r_-QqQ.js.map → theme.component-ByGua01V.js.map} +1 -1
  287. package/dist/{theme.component-Blc_4wu9.cjs → theme.component-CQ1trrZB.cjs} +2 -2
  288. package/dist/{theme.component-Blc_4wu9.cjs.map → theme.component-CQ1trrZB.cjs.map} +1 -1
  289. package/dist/theme.js +1 -1
  290. package/dist/{timezone-BkE20wzQ.js → timezone-BpDMR26D.js} +3 -3
  291. package/dist/{timezone-BkE20wzQ.js.map → timezone-BpDMR26D.js.map} +1 -1
  292. package/dist/{timezone-wWfEuXrb.cjs → timezone-Bw4EXBt7.cjs} +2 -2
  293. package/dist/{timezone-wWfEuXrb.cjs.map → timezone-Bw4EXBt7.cjs.map} +1 -1
  294. package/dist/{tooltip-UtpbXzQX.js → tooltip-B1jynZOH.js} +2 -2
  295. package/dist/{tooltip-UtpbXzQX.js.map → tooltip-B1jynZOH.js.map} +1 -1
  296. package/dist/{tooltip-DLadXXnP.cjs → tooltip-Dhs4HL3A.cjs} +2 -2
  297. package/dist/{tooltip-DLadXXnP.cjs.map → tooltip-Dhs4HL3A.cjs.map} +1 -1
  298. package/dist/tooltip.cjs +1 -1
  299. package/dist/tooltip.js +1 -1
  300. package/dist/{tree-VkXtw2P8.js → tree-BH1qCJ_U.js} +2 -2
  301. package/dist/{tree-VkXtw2P8.js.map → tree-BH1qCJ_U.js.map} +1 -1
  302. package/dist/{tree-Brtho3Eu.cjs → tree-D-ezei_U.cjs} +2 -2
  303. package/dist/{tree-Brtho3Eu.cjs.map → tree-D-ezei_U.cjs.map} +1 -1
  304. package/dist/tree.cjs +1 -1
  305. package/dist/tree.js +1 -1
  306. package/dist/{typewriter-CEgaw_pR.cjs → typewriter-CtPh4Pyj.cjs} +2 -2
  307. package/dist/{typewriter-CEgaw_pR.cjs.map → typewriter-CtPh4Pyj.cjs.map} +1 -1
  308. package/dist/{typewriter-CsReDsYS.js → typewriter-DQbpNPtY.js} +4 -4
  309. package/dist/{typewriter-CsReDsYS.js.map → typewriter-DQbpNPtY.js.map} +1 -1
  310. package/dist/typewriter.cjs +1 -1
  311. package/dist/typewriter.js +1 -1
  312. package/dist/{typography-NurK7F-8.cjs → typography-BrIaOYmC.cjs} +2 -2
  313. package/dist/{typography-NurK7F-8.cjs.map → typography-BrIaOYmC.cjs.map} +1 -1
  314. package/dist/{typography-D_bM5DW7.js → typography-D71cmr0R.js} +2 -2
  315. package/dist/{typography-D_bM5DW7.js.map → typography-D71cmr0R.js.map} +1 -1
  316. package/dist/typography.cjs +1 -1
  317. package/dist/typography.js +1 -1
  318. package/package.json +1 -1
  319. package/types/src/layout/scroll/scroll.d.ts +5 -0
  320. package/types/src/navigation-rail/navigation-rail.d.ts +17 -0
  321. package/dist/details-B_kKG0Du.cjs.map +0 -1
  322. package/dist/details-m-njXkGl.js.map +0 -1
  323. package/dist/flex-CE0IKjR4.cjs +0 -36
  324. package/dist/flex-CE0IKjR4.cjs.map +0 -1
  325. package/dist/flex-Czj-zqJQ.js.map +0 -1
  326. package/dist/navigation-rail-BzMOzaFm.cjs +0 -453
  327. package/dist/navigation-rail-BzMOzaFm.cjs.map +0 -1
  328. package/dist/navigation-rail-CjBw96pi.js +0 -602
  329. package/dist/navigation-rail-CjBw96pi.js.map +0 -1
  330. package/dist/tailwind.mixin-CFrLBtkD.cjs +0 -2
  331. package/dist/tailwind.mixin-CZKT1dUr.js +0 -43
package/dist/extra.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./timezone-wWfEuXrb.cjs");Object.defineProperty(exports,"SchmancyCountriesSelect",{enumerable:!0,get:()=>e.SchmancyCountriesSelect}),Object.defineProperty(exports,"SchmancyTimezonesSelect",{enumerable:!0,get:()=>e.SchmancyTimezonesSelect});
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./timezone-Bw4EXBt7.cjs");Object.defineProperty(exports,"SchmancyCountriesSelect",{enumerable:!0,get:()=>e.SchmancyCountriesSelect}),Object.defineProperty(exports,"SchmancyTimezonesSelect",{enumerable:!0,get:()=>e.SchmancyTimezonesSelect});
2
2
  //# sourceMappingURL=extra.cjs.map
package/dist/extra.js CHANGED
@@ -1,4 +1,4 @@
1
- import { S as a, a as S } from "./timezone-BkE20wzQ.js";
1
+ import { S as a, a as S } from "./timezone-BpDMR26D.js";
2
2
  export {
3
3
  a as SchmancyCountriesSelect,
4
4
  S as SchmancyTimezonesSelect
@@ -1,14 +1,14 @@
1
- import { unsafeCSS as x, html as m, css as j } from "lit";
2
- import { property as t, customElement as v, queryAssignedElements as C } from "lit/decorators.js";
1
+ import { unsafeCSS as P, html as m, css as j } from "lit";
2
+ import { property as t, customElement as v, queryAssignedElements as T } from "lit/decorators.js";
3
3
  import { classMap as W } from "lit/directives/class-map.js";
4
4
  import { styleMap as z } from "lit/directives/style-map.js";
5
- import { fromEvent as k, map as S, startWith as B, distinctUntilChanged as E, takeUntil as P, debounceTime as O, filter as H } from "rxjs";
6
- import { T } from "./tailwind.mixin-CZKT1dUr.js";
7
- var R = Object.defineProperty, i = (e, o, p, l) => {
8
- for (var n, s = void 0, a = e.length - 1; a >= 0; a--) (n = e[a]) && (s = n(o, p, s) || s);
9
- return s && R(o, p, s), s;
5
+ import { fromEvent as x, map as S, startWith as E, distinctUntilChanged as L, takeUntil as k, debounceTime as C, filter as B } from "rxjs";
6
+ import { T as O } from "./tailwind.mixin-BjDGMGbj.js";
7
+ var H = Object.defineProperty, i = (e, r, p, l) => {
8
+ for (var n, o = void 0, a = e.length - 1; a >= 0; a--) (n = e[a]) && (o = n(r, p, o) || o);
9
+ return o && H(r, p, o), o;
10
10
  };
11
- const w = class w extends T() {
11
+ const w = class w extends O() {
12
12
  constructor() {
13
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
14
  }
@@ -17,13 +17,13 @@ const w = class w extends T() {
17
17
  }
18
18
  };
19
19
  w.styles = [w.styles];
20
- let r = w;
21
- i([t({ type: Boolean })], r.prototype, "center"), i([t({ type: String })], r.prototype, "padding"), i([t({ type: String })], r.prototype, "margin"), i([t({ type: String })], r.prototype, "width"), i([t({ type: String })], r.prototype, "height"), i([t({ type: String })], r.prototype, "minWidth"), i([t({ type: String })], r.prototype, "minHeight"), i([t({ type: String })], r.prototype, "maxWidth"), i([t({ type: String })], r.prototype, "maxHeight"), i([t({ type: String })], r.prototype, "display"), i([t({ type: String })], r.prototype, "overflow"), i([t({ type: String })], r.prototype, "overflowX"), i([t({ type: String })], r.prototype, "overflowY"), i([t({ type: String })], r.prototype, "position"), i([t({ type: String })], r.prototype, "top"), i([t({ type: String })], r.prototype, "right"), i([t({ type: String })], r.prototype, "bottom"), i([t({ type: String })], r.prototype, "left"), i([t({ type: String })], r.prototype, "inset"), i([t({ type: String })], r.prototype, "zIndex"), i([t({ type: String })], r.prototype, "border"), i([t({ type: String })], r.prototype, "borderTop"), i([t({ type: String })], r.prototype, "borderRight"), i([t({ type: String })], r.prototype, "borderBottom"), i([t({ type: String })], r.prototype, "borderLeft"), i([t({ type: String })], r.prototype, "borderColor"), i([t({ type: String })], r.prototype, "borderRadius"), i([t({ type: String })], r.prototype, "borderWidth"), i([t({ type: String })], r.prototype, "boxShadow"), i([t({ type: String })], r.prototype, "opacity"), i([t({ type: String })], r.prototype, "background"), i([t({ type: String })], r.prototype, "backgroundImage"), i([t({ type: String })], r.prototype, "backgroundPosition"), i([t({ type: String })], r.prototype, "backgroundSize"), i([t({ type: String })], r.prototype, "backgroundRepeat"), i([t({ type: String })], r.prototype, "backgroundAttachment"), i([t({ type: String })], r.prototype, "backgroundColor"), i([t({ type: String })], r.prototype, "backgroundClip"), i([t({ type: String })], r.prototype, "backgroundOrigin"), i([t({ type: String })], r.prototype, "backgroundBlendMode"), i([t({ type: String })], r.prototype, "filter"), i([t({ type: String })], r.prototype, "backdropFilter");
22
- var $ = Object.defineProperty, M = Object.getOwnPropertyDescriptor, f = (e, o, p, l) => {
23
- for (var n, s = l > 1 ? void 0 : l ? M(o, p) : o, a = e.length - 1; a >= 0; a--) (n = e[a]) && (s = (l ? n(o, p, s) : n(s)) || s);
24
- return l && s && $(o, p, s), s;
20
+ let s = w;
21
+ i([t({ type: Boolean })], s.prototype, "center"), i([t({ type: String })], s.prototype, "padding"), i([t({ type: String })], s.prototype, "margin"), i([t({ type: String })], s.prototype, "width"), i([t({ type: String })], s.prototype, "height"), i([t({ type: String })], s.prototype, "minWidth"), i([t({ type: String })], s.prototype, "minHeight"), i([t({ type: String })], s.prototype, "maxWidth"), i([t({ type: String })], s.prototype, "maxHeight"), i([t({ type: String })], s.prototype, "display"), i([t({ type: String })], s.prototype, "overflow"), i([t({ type: String })], s.prototype, "overflowX"), i([t({ type: String })], s.prototype, "overflowY"), i([t({ type: String })], s.prototype, "position"), i([t({ type: String })], s.prototype, "top"), i([t({ type: String })], s.prototype, "right"), i([t({ type: String })], s.prototype, "bottom"), i([t({ type: String })], s.prototype, "left"), i([t({ type: String })], s.prototype, "inset"), i([t({ type: String })], s.prototype, "zIndex"), i([t({ type: String })], s.prototype, "border"), i([t({ type: String })], s.prototype, "borderTop"), i([t({ type: String })], s.prototype, "borderRight"), i([t({ type: String })], s.prototype, "borderBottom"), i([t({ type: String })], s.prototype, "borderLeft"), i([t({ type: String })], s.prototype, "borderColor"), i([t({ type: String })], s.prototype, "borderRadius"), i([t({ type: String })], s.prototype, "borderWidth"), i([t({ type: String })], s.prototype, "boxShadow"), i([t({ type: String })], s.prototype, "opacity"), i([t({ type: String })], s.prototype, "background"), i([t({ type: String })], s.prototype, "backgroundImage"), i([t({ type: String })], s.prototype, "backgroundPosition"), i([t({ type: String })], s.prototype, "backgroundSize"), i([t({ type: String })], s.prototype, "backgroundRepeat"), i([t({ type: String })], s.prototype, "backgroundAttachment"), i([t({ type: String })], s.prototype, "backgroundColor"), i([t({ type: String })], s.prototype, "backgroundClip"), i([t({ type: String })], s.prototype, "backgroundOrigin"), i([t({ type: String })], s.prototype, "backgroundBlendMode"), i([t({ type: String })], s.prototype, "filter"), i([t({ type: String })], s.prototype, "backdropFilter");
22
+ var F = Object.defineProperty, R = Object.getOwnPropertyDescriptor, f = (e, r, p, l) => {
23
+ for (var n, o = l > 1 ? void 0 : l ? R(r, p) : r, a = e.length - 1; a >= 0; a--) (n = e[a]) && (o = (l ? n(r, p, o) : n(o)) || o);
24
+ return l && o && F(r, p, o), o;
25
25
  };
26
- let d = class extends r {
26
+ let d = class extends s {
27
27
  constructor() {
28
28
  super(...arguments), this.layout = !0, this.flow = "col", this.wrap = "wrap", this.align = "start", this.justify = "start", this.gap = "none";
29
29
  }
@@ -36,48 +36,54 @@ let d = class extends r {
36
36
  `;
37
37
  }
38
38
  };
39
- d.styles = [r.styles, x(":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 I = Object.defineProperty, L = Object.getOwnPropertyDescriptor, y = (e, o, p, l) => {
41
- for (var n, s = l > 1 ? void 0 : l ? L(o, p) : o, a = e.length - 1; a >= 0; a--) (n = e[a]) && (s = (l ? n(o, p, s) : n(s)) || s);
42
- return l && s && I(o, p, s), s;
39
+ d.styles = [s.styles, P(":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 $ = Object.defineProperty, A = Object.getOwnPropertyDescriptor, c = (e, r, p, l) => {
41
+ for (var n, o = l > 1 ? void 0 : l ? A(r, p) : r, a = e.length - 1; a >= 0; a--) (n = e[a]) && (o = (l ? n(r, p, o) : n(o)) || o);
42
+ return l && o && $(r, p, o), o;
43
43
  };
44
- let h = class extends r {
44
+ let h = class extends s {
45
45
  constructor() {
46
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
47
  }
48
48
  firstUpdated() {
49
- this.rcols && k(window, "resize").pipe(S((e) => e.target), B(1), S(() => this.clientWidth ? this.clientWidth : window.innerWidth), E(), P(this.disconnecting), O(10), S((e) => {
50
- let o;
51
- return this.rcols?.["2xl"] && e >= 1536 ? o = this.rcols?.["2xl"] : this.rcols?.xl && e >= 1280 ? o = this.rcols?.xl : this.rcols?.lg && e >= 1024 ? o = this.rcols?.lg : this.rcols?.md && e >= 768 ? o = this.rcols?.md : this.rcols?.sm && e >= 640 ? o = this.rcols?.sm : this.rcols?.xs && e < 640 && (o = this.rcols?.xs), o;
49
+ this.rcols && x(window, "resize").pipe(S((e) => e.target), E(1), S(() => this.clientWidth ? this.clientWidth : window.innerWidth), L(), k(this.disconnecting), C(10), S((e) => {
50
+ let r;
51
+ return this.rcols?.["2xl"] && e >= 1536 ? r = this.rcols?.["2xl"] : this.rcols?.xl && e >= 1280 ? r = this.rcols?.xl : this.rcols?.lg && e >= 1024 ? r = this.rcols?.lg : this.rcols?.md && e >= 768 ? r = this.rcols?.md : this.rcols?.sm && e >= 640 ? r = this.rcols?.sm : this.rcols?.xs && e < 640 && (r = this.rcols?.xs), r;
52
52
  })).subscribe((e) => {
53
53
  this.cols = e;
54
54
  });
55
55
  }
56
56
  render() {
57
- const e = { "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 };
57
+ const e = { "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 }, r = { gridTemplateRows: this.rows ? this.rows : void 0, gridTemplateColumns: this.cols ? this.cols : void 0 };
58
58
  return m`
59
- <section class="${this.classMap(e)}" style=${this.styleMap(o)}>
59
+ <section class="${this.classMap(e)}" style=${this.styleMap(r)}>
60
60
  <slot> </slot>
61
61
  </section>
62
62
  `;
63
63
  }
64
64
  };
65
- h.styles = [r.styles, x(":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([C()], h.prototype, "assignedElements", 2), h = y([v("schmancy-grid")], h);
66
- var A = Object.defineProperty, D = Object.getOwnPropertyDescriptor, u = (e, o, p, l) => {
67
- for (var n, s = l > 1 ? void 0 : l ? D(o, p) : o, a = e.length - 1; a >= 0; a--) (n = e[a]) && (s = (l ? n(o, p, s) : n(s)) || s);
68
- return l && s && A(o, p, s), s;
65
+ h.styles = [s.styles, P(":host{height:max-content;width:-webkit-fill-available;display:block}")], c([t({ type: String })], h.prototype, "flow", 2), c([t({ type: String })], h.prototype, "align", 2), c([t({ type: String })], h.prototype, "justify", 2), c([t({ type: String })], h.prototype, "content", 2), c([t({ type: String })], h.prototype, "gap", 2), c([t({ type: String })], h.prototype, "cols", 2), c([t({ type: String })], h.prototype, "rows", 2), c([t({ type: Object })], h.prototype, "rcols", 2), c([t({ type: Boolean })], h.prototype, "wrap", 2), c([T()], h.prototype, "assignedElements", 2), h = c([v("schmancy-grid")], h);
66
+ var M = Object.defineProperty, I = Object.getOwnPropertyDescriptor, b = (e, r, p, l) => {
67
+ for (var n, o = l > 1 ? void 0 : l ? I(r, p) : r, a = e.length - 1; a >= 0; a--) (n = e[a]) && (o = (l ? n(r, p, o) : n(o)) || o);
68
+ return l && o && M(r, p, o), o;
69
69
  };
70
- let b = class extends T(j`
70
+ let u = class extends O(j`
71
71
  :host {
72
- height: 100%;
72
+ /* Flexible sizing for different layout contexts */
73
73
  width: 100%;
74
+ min-height: 0; /* Allow flex shrinking */
75
+ flex: 1; /* Grow in flex containers */
74
76
  box-sizing: border-box; /* Ensures proper sizing */
75
77
  display: block;
76
78
  position: relative;
77
- inset: 0px;
78
79
  scroll-behavior: smooth;
79
80
  overscroll-behavior: contain;
80
81
  }
82
+ /* Fallback for non-flex contexts */
83
+ :host(.explicit-height) {
84
+ height: 100%;
85
+ flex: none;
86
+ }
81
87
  :host([hide]) {
82
88
  -ms-overflow-style: none; /* IE and Edge */
83
89
  scrollbar-width: none; /* Firefox */
@@ -92,29 +98,38 @@ let b = class extends T(j`
92
98
  get scroller() {
93
99
  return this;
94
100
  }
95
- scrollTo(e, o) {
96
- this.scroller && (typeof e == "number" ? this.scroller.scrollTo({ top: e, behavior: o ? "smooth" : "auto" }) : e ? this.scroller.scrollTo(e) : this.scroller.scrollTo({ top: 0, left: 0, behavior: "auto" }));
101
+ scrollTo(e, r) {
102
+ this.scroller && (typeof e == "number" ? this.scroller.scrollTo({ top: e, behavior: r ? "smooth" : "auto" }) : e ? this.scroller.scrollTo(e) : this.scroller.scrollTo({ top: 0, left: 0, behavior: "auto" }));
97
103
  }
98
- scrollToLeft(e, o = "auto") {
99
- this.scroller && this.scroller.scrollTo({ left: e, behavior: o });
104
+ scrollToLeft(e, r = "auto") {
105
+ this.scroller && this.scroller.scrollTo({ left: e, behavior: r });
100
106
  }
101
107
  connectedCallback() {
102
- super.connectedCallback(), this.updateScrollingStyles(), this.setAttribute("part", "scroller");
108
+ super.connectedCallback(), this.updateScrollingStyles(), this.updateLayoutContext(), this.setAttribute("part", "scroller");
103
109
  }
104
110
  updateScrollingStyles() {
105
111
  this.direction === "horizontal" ? (this.style.setProperty("overflow-y", "hidden"), this.style.setProperty("overflow-x", "auto")) : this.direction === "vertical" ? (this.style.setProperty("overflow-y", "auto"), this.style.setProperty("overflow-x", "hidden")) : (this.style.setProperty("overflow-y", "auto"), this.style.setProperty("overflow-x", "auto"));
106
112
  }
113
+ updateLayoutContext() {
114
+ requestAnimationFrame(() => {
115
+ const e = this.parentElement;
116
+ if (e) {
117
+ const r = getComputedStyle(e);
118
+ r.display === "flex" || r.display === "inline-flex" ? this.classList.remove("explicit-height") : this.classList.add("explicit-height");
119
+ } else this.classList.add("explicit-height");
120
+ });
121
+ }
107
122
  updated(e) {
108
- super.updated(e), e.has("direction") && this.updateScrollingStyles();
123
+ super.updated(e), e.has("direction") && this.updateScrollingStyles(), this.updateLayoutContext();
109
124
  }
110
125
  firstUpdated() {
111
- k(this.scroller, "scroll", { passive: !0 }).pipe(O(this.debounce), P(this.disconnecting)).subscribe((e) => {
112
- const o = this.scroller.scrollTop, p = this.scroller.scrollHeight, l = this.scroller.clientHeight, n = this.scroller.scrollLeft, s = this.scroller.scrollWidth, a = this.scroller.clientWidth;
113
- this.dispatchEvent(new CustomEvent("scroll", { detail: { scrollTop: o, scrollHeight: p, clientHeight: l, e, scrollLeft: n, scrollWidth: s, clientWidth: a }, bubbles: !0, composed: !0 }));
114
- }), k(window, "@schmancy:scrollTo").pipe(H((e) => this.name !== void 0 && e.detail.name === this.name), P(this.disconnecting)).subscribe((e) => {
126
+ x(this.scroller, "scroll", { passive: !0 }).pipe(C(this.debounce), k(this.disconnecting)).subscribe((e) => {
127
+ const r = this.scroller.scrollTop, p = this.scroller.scrollHeight, l = this.scroller.clientHeight, n = this.scroller.scrollLeft, o = this.scroller.scrollWidth, a = this.scroller.clientWidth;
128
+ this.dispatchEvent(new CustomEvent("scroll", { detail: { scrollTop: r, scrollHeight: p, clientHeight: l, e, scrollLeft: n, scrollWidth: o, clientWidth: a }, bubbles: !0, composed: !0 }));
129
+ }), x(window, "@schmancy:scrollTo").pipe(B((e) => this.name !== void 0 && e.detail.name === this.name), k(this.disconnecting)).subscribe((e) => {
115
130
  if (e.detail.action === "scrollTo" && typeof e.detail.top == "number") {
116
- const o = { behavior: "smooth", top: e.detail.top };
117
- typeof e.detail.left == "number" && (o.left = e.detail.left), this.scrollTo(o);
131
+ const r = { behavior: "smooth", top: e.detail.top };
132
+ typeof e.detail.left == "number" && (r.left = e.detail.left), this.scrollTo(r);
118
133
  }
119
134
  });
120
135
  }
@@ -122,33 +137,33 @@ let b = class extends T(j`
122
137
  return m`<slot></slot>`;
123
138
  }
124
139
  };
125
- u([t({ type: Boolean, reflect: !0 })], b.prototype, "hide", 2), u([t({ type: String, reflect: !0 })], b.prototype, "name", 2), u([t({ type: String, reflect: !0 })], b.prototype, "direction", 2), u([t({ type: Number })], b.prototype, "debounce", 2), b = u([v("schmancy-scroll")], b);
126
- var U = Object.defineProperty, F = Object.getOwnPropertyDescriptor, g = (e, o, p, l) => {
127
- for (var n, s = l > 1 ? void 0 : l ? F(o, p) : o, a = e.length - 1; a >= 0; a--) (n = e[a]) && (s = (l ? n(o, p, s) : n(s)) || s);
128
- return l && s && U(o, p, s), s;
140
+ b([t({ type: Boolean, reflect: !0 })], u.prototype, "hide", 2), b([t({ type: String, reflect: !0 })], u.prototype, "name", 2), b([t({ type: String, reflect: !0 })], u.prototype, "direction", 2), b([t({ type: Number })], u.prototype, "debounce", 2), u = b([v("schmancy-scroll")], u);
141
+ var D = Object.defineProperty, U = Object.getOwnPropertyDescriptor, g = (e, r, p, l) => {
142
+ for (var n, o = l > 1 ? void 0 : l ? U(r, p) : r, a = e.length - 1; a >= 0; a--) (n = e[a]) && (o = (l ? n(r, p, o) : n(o)) || o);
143
+ return l && o && D(r, p, o), o;
129
144
  };
130
- let c = class extends r {
145
+ let y = class extends s {
131
146
  constructor() {
132
147
  super(...arguments), this.inline = !1, this.flow = "row", this.wrap = "wrap", this.align = "stretch", this.justify = "start", this.gap = "none";
133
148
  }
134
149
  render() {
135
150
  const e = this.inline ? "inline-flex" : "flex";
136
- let o = "";
151
+ let r = "";
137
152
  switch (this.flow) {
138
153
  case "row":
139
154
  case "row-dense":
140
155
  default:
141
- o = "flex-row";
156
+ r = "flex-row";
142
157
  break;
143
158
  case "row-reverse":
144
- o = "flex-row-reverse";
159
+ r = "flex-row-reverse";
145
160
  break;
146
161
  case "col":
147
162
  case "col-dense":
148
- o = "flex-col";
163
+ r = "flex-col";
149
164
  break;
150
165
  case "col-reverse":
151
- o = "flex-col-reverse";
166
+ r = "flex-col-reverse";
152
167
  }
153
168
  let p = "";
154
169
  switch (this.flow === "row-dense" || this.flow === "col-dense" ? "wrap" : this.wrap) {
@@ -201,27 +216,27 @@ let c = class extends r {
201
216
  case "evenly":
202
217
  n = "justify-evenly";
203
218
  }
204
- let s = "";
219
+ let o = "";
205
220
  if (this.content) switch (this.content) {
206
221
  case "start":
207
- s = "content-start";
222
+ o = "content-start";
208
223
  break;
209
224
  case "center":
210
- s = "content-center";
225
+ o = "content-center";
211
226
  break;
212
227
  case "end":
213
- s = "content-end";
228
+ o = "content-end";
214
229
  break;
215
230
  case "between":
216
- s = "content-between";
231
+ o = "content-between";
217
232
  break;
218
233
  case "around":
219
- s = "content-around";
234
+ o = "content-around";
220
235
  break;
221
236
  case "evenly":
222
- s = "content-evenly";
237
+ o = "content-evenly";
223
238
  }
224
- const a = [e, o, p, l, n, s, this.gap === "none" ? "gap-0" : `gap-${this.gap}`].filter(Boolean).join(" ");
239
+ const a = [e, r, p, l, n, o, this.gap === "none" ? "gap-0" : `gap-${this.gap}`].filter(Boolean).join(" ");
225
240
  return m`
226
241
  <section class=${a}>
227
242
  <slot></slot>
@@ -229,15 +244,15 @@ let c = class extends r {
229
244
  `;
230
245
  }
231
246
  };
232
- c.styles = [r.styles, j`
247
+ y.styles = [s.styles, j`
233
248
  :host {
234
249
  display: block;
235
250
  }
236
- `], 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);
251
+ `], g([t({ type: Boolean, reflect: !0 })], y.prototype, "inline", 2), g([t({ type: String, reflect: !0 })], y.prototype, "flow", 2), g([t({ type: String, reflect: !0 })], y.prototype, "wrap", 2), g([t({ type: String, reflect: !0 })], y.prototype, "align", 2), g([t({ type: String, reflect: !0 })], y.prototype, "justify", 2), g([t({ type: String, reflect: !0 })], y.prototype, "content", 2), g([t({ type: String, reflect: !0 })], y.prototype, "gap", 2), y = g([v("sch-flex")], y);
237
252
  export {
238
253
  d as S,
239
254
  h as a,
240
- b,
241
- c
255
+ u as b,
256
+ y as c
242
257
  };
243
- //# sourceMappingURL=flex-Czj-zqJQ.js.map
258
+ //# sourceMappingURL=flex-BeSoRNTu.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flex-BeSoRNTu.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\n/**\n * @deprecated Use Tailwind CSS utility classes directly on HTML elements instead of this base class.\n * This component will be removed in a future version.\n * \n * Migration guide:\n * - Use inline styles or Tailwind utility classes for layout properties\n * - Replace properties like padding, margin, width, etc. with their CSS equivalents\n * \n * @class Layout\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\n/**\n * @deprecated Use Tailwind CSS flex classes directly instead of this component.\n * This component will be removed in a future version.\n * \n * Migration guide:\n * - Replace <schmancy-flex> with <div class=\"flex ...\">\n * - Use Tailwind's flex utilities: flex-row, flex-col, gap-*, items-*, justify-*, etc.\n * \n * @element schmancy-flex\n */\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/**\n * @deprecated Use Tailwind CSS grid classes directly instead of this component.\n * This component will be removed in a future version.\n * \n * Migration guide:\n * - Replace <schmancy-grid> with <div class=\"grid ...\">\n * - Use Tailwind's grid utilities: grid-cols-*, gap-*, items-*, justify-items-*, etc.\n * \n * @element schmancy-grid\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 } 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\t/** Current scroll position from the left (for horizontal scrolling) */\n\t\tscrollLeft?: number\n\t\t/** Total scrollable width of the content (for horizontal scrolling) */\n\t\tscrollWidth?: number\n\t\t/** Visible width of the container (for horizontal scrolling) */\n\t\tclientWidth?: number\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\t/** Horizontal scroll position for scrollTo action (optional) */\n\t\tleft?: 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 * @example\n * ```html\n * <schmancy-scroll direction=\"horizontal\" hide name=\"image-carousel\">\n * <div class=\"flex\">\n * <img src=\"image1.jpg\" alt=\"Image 1\">\n * <img src=\"image2.jpg\" alt=\"Image 2\">\n * </div>\n * </schmancy-scroll>\n * ```\n */\n@customElement('schmancy-scroll')\nexport class SchmancyScroll extends TailwindElement(css`\n\t:host {\n\t\t/* Flexible sizing for different layout contexts */\n\t\twidth: 100%;\n\t\tmin-height: 0; /* Allow flex shrinking */\n\t\tflex: 1; /* Grow in flex containers */\n\t\tbox-sizing: border-box; /* Ensures proper sizing */\n\t\tdisplay: block;\n\t\tposition: relative;\n\t\tscroll-behavior: smooth;\n\t\toverscroll-behavior: contain;\n\t}\n\t/* Fallback for non-flex contexts */\n\t:host(.explicit-height) {\n\t\theight: 100%;\n\t\tflex: none;\n\t}\n\t:host([hide]) {\n\t\t-ms-overflow-style: none; /* IE and Edge */\n\t\tscrollbar-width: none; /* Firefox */\n\t}\n\t:host([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 host element's scrollbars are hidden\n\t * in supported browsers using CSS.\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 * Direction of scrolling: vertical, horizontal, or both.\n\t * - vertical: Only allows vertical scrolling\n\t * - horizontal: Only allows horizontal scrolling\n\t * - both: Allows both horizontal and vertical scrolling (default)\n\t *\n\t * @attr direction\n\t * @example <schmancy-scroll direction=\"horizontal\"></schmancy-scroll>\n\t */\n\t@property({ type: String, reflect: true })\n\tpublic direction: 'vertical' | 'horizontal' | 'both' = 'both'\n\n\t/**\n\t * Reference to the scrollable element (the host element itself)\n\t * @public\n\t */\n\tget scroller(): HTMLElement {\n\t\treturn this\n\t}\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 options - ScrollToOptions or a number representing the top position\n\t * @param top - For backward compatibility, if options is a number, this is treated as \"behavior\"\n\t */\n\tpublic override scrollTo(options?: ScrollToOptions | number, top?: number): void {\n\t\tif (!this.scroller) return\n\n\t\tif (typeof options === 'number') {\n\t\t\t// Legacy support for scrollTo(top, behavior)\n\t\t\tthis.scroller.scrollTo({\n\t\t\t\ttop: options,\n\t\t\t\tbehavior: top ? 'smooth' : 'auto',\n\t\t\t})\n\t\t} else if (options) {\n\t\t\tthis.scroller.scrollTo(options)\n\t\t} else {\n\t\t\tthis.scroller.scrollTo({\n\t\t\t\ttop: 0,\n\t\t\t\tleft: 0,\n\t\t\t\tbehavior: 'auto',\n\t\t\t})\n\t\t}\n\t}\n\n\t/**\n\t * Scrolls the container horizontally to the specified position\n\t * @param left - The horizontal position to scroll to (in pixels)\n\t * @param behavior - The scroll behavior ('auto' or 'smooth')\n\t */\n\tpublic scrollToLeft(left: number, behavior: ScrollBehavior = 'auto'): void {\n\t\tif (this.scroller) {\n\t\t\tthis.scroller.scrollTo({\n\t\t\t\tleft,\n\t\t\t\tbehavior,\n\t\t\t})\n\t\t}\n\t}\n\n\t/**\n\t * Called when the component is connected to the DOM\n\t * Applies scrolling styles directly to the host element\n\t * @protected\n\t */\n\tconnectedCallback(): void {\n\t\tsuper.connectedCallback()\n\t\tthis.updateScrollingStyles()\n\t\tthis.updateLayoutContext()\n\t\t// Set the part attribute on the host element\n\t\tthis.setAttribute('part', 'scroller')\n\t}\n\n\t/**\n\t * Updates the overflow styles based on the direction property\n\t * @private\n\t */\n\tprivate updateScrollingStyles(): void {\n\t\t// Apply overflow styles based on direction\n\t\tif (this.direction === 'horizontal') {\n\t\t\tthis.style.setProperty('overflow-y', 'hidden')\n\t\t\tthis.style.setProperty('overflow-x', 'auto')\n\t\t} else if (this.direction === 'vertical') {\n\t\t\tthis.style.setProperty('overflow-y', 'auto')\n\t\t\tthis.style.setProperty('overflow-x', 'hidden')\n\t\t} else {\n\t\t\t// both\n\t\t\tthis.style.setProperty('overflow-y', 'auto')\n\t\t\tthis.style.setProperty('overflow-x', 'auto')\n\t\t}\n\t}\n\n\t/**\n\t * Updates the layout context based on parent container type\n\t * @private\n\t */\n\tprivate updateLayoutContext(): void {\n\t\t// Use requestAnimationFrame to ensure DOM is fully rendered\n\t\trequestAnimationFrame(() => {\n\t\t\t// Check if parent is a flex container\n\t\t\tconst parent = this.parentElement\n\t\t\tif (parent) {\n\t\t\t\tconst parentStyles = getComputedStyle(parent)\n\t\t\t\tconst isFlexParent = parentStyles.display === 'flex' || parentStyles.display === 'inline-flex'\n\n\t\t\t\t// For debugging - remove in production\n\t\t\t\tconsole.debug('schmancy-scroll parent detection:', {\n\t\t\t\t\tparent: parent.tagName,\n\t\t\t\t\tdisplay: parentStyles.display,\n\t\t\t\t\tisFlexParent,\n\t\t\t\t})\n\n\t\t\t\t// Apply appropriate class based on parent layout\n\t\t\t\tif (isFlexParent) {\n\t\t\t\t\tthis.classList.remove('explicit-height')\n\t\t\t\t} else {\n\t\t\t\t\tthis.classList.add('explicit-height')\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t// Default to explicit height if no parent\n\t\t\t\tthis.classList.add('explicit-height')\n\t\t\t}\n\t\t})\n\t}\n\n\t/**\n\t * Called when properties change\n\t * @protected\n\t */\n\tprotected updated(changedProperties: Map<string | number | symbol, unknown>): void {\n\t\tsuper.updated(changedProperties)\n\t\t// Update styles if direction changes\n\t\tif (changedProperties.has('direction')) {\n\t\t\tthis.updateScrollingStyles()\n\t\t}\n\t\t// Always update layout context in case parent layout changed\n\t\tthis.updateLayoutContext()\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\t// Always include the original required properties for backward compatibility\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\n\t\t\t\t// Include horizontal scroll information as optional properties\n\t\t\t\tconst scrollLeft = this.scroller.scrollLeft\n\t\t\t\tconst scrollWidth = this.scroller.scrollWidth\n\t\t\t\tconst clientWidth = this.scroller.clientWidth\n\n\t\t\t\tthis.dispatchEvent(\n\t\t\t\t\tnew CustomEvent('scroll', {\n\t\t\t\t\t\tdetail: {\n\t\t\t\t\t\t\t// Original required properties first\n\t\t\t\t\t\t\tscrollTop,\n\t\t\t\t\t\t\tscrollHeight,\n\t\t\t\t\t\t\tclientHeight,\n\t\t\t\t\t\t\te,\n\t\t\t\t\t\t\t// New optional properties last\n\t\t\t\t\t\t\tscrollLeft,\n\t\t\t\t\t\t\tscrollWidth,\n\t\t\t\t\t\t\tclientWidth,\n\t\t\t\t\t\t},\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\tconst options: ScrollToOptions = {\n\t\t\t\t\t\tbehavior: 'smooth',\n\t\t\t\t\t\ttop: e.detail.top, // Required for backward compatibility\n\t\t\t\t\t}\n\n\t\t\t\t\t// Add optional left position if provided\n\t\t\t\t\tif (typeof e.detail.left === 'number') {\n\t\t\t\t\t\toptions.left = e.detail.left\n\t\t\t\t\t}\n\n\t\t\t\t\tthis.scrollTo(options)\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// Only render the slot, all styling is applied to the host\n\t\treturn html`<slot></slot>`\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 * @deprecated Use Tailwind CSS flex classes directly instead of this component.\n * This component will be removed in a future version.\n * \n * Migration guide:\n * - Replace <sch-flex> with <div class=\"flex ...\">\n * - Use Tailwind's flex utilities: flex-row, flex-col, gap-*, items-*, justify-*, etc.\n * \n * Original documentation:\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","_w","__decorateClass","property","type","Boolean","prototype","String","SchmancyFlex","flow","wrap","align","justify","gap","render","classes","flex","html","classMap","styleMap","unsafeCSS","reflect","customElement","SchmancyGrid","content","firstUpdated","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","direction","debounce","options","scroller","scrollTo","behavior","updateScrollingStyles","updateLayoutContext","setAttribute","requestAnimationFrame","parent","parentElement","parentStyles","getComputedStyle","classList","remove","add","changedProperties","updated","has","passive","e","scrollTop","scrollHeight","clientHeight","scrollLeft","scrollWidth","dispatchEvent","CustomEvent","detail","bubbles","composed","name","action","Number","SchmancyFlexV2","inline","baseDisplay","directionClass","wrapClass","alignClass","justifyClass","contentClass","join"],"mappings":";;;;;;;;;;AAaA,MAAqBA,IAArB,MAAqBA,UAAeC,EAAAA,EAAAA;AAAAA,EAApC,cAAAC;AAAAC,aAAAC,SAAAA,GAECC,KAAAC,SAAAA,IAC6BD,KAAAE,SAAAA,QASDF,KAAAG,UAAAA,QAaA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AAA,CAAA,GAOAJ,EAAA,CADCC,EAAS,EAAEC,MAAMG,QAAQc,SAAAA,QA1BdsE,EA2BZrF,WAAA,QAAA,CAAA,GAOAJ,EAAA,CADCC,EAAS,EAAEC,MAAMG,QAAQc,SAAAA,QAjCdsE,EAkCZrF,WAAA,SAAA,CAAA,GAOAJ,EAAA,CADCC,EAAS,EAAEC,MAAMG,QAAQc,SAAAA,QAxCdsE,EAyCZrF,WAAA,WAAA,CAAA,GAOAJ,EAAA,CADCC,EAAS,EAAEC,MAAMG,QAAQc,SAAAA,QA/CdsE,EAgDZrF,WAAA,WAAA,CAAA,GAQAJ,EAAA,CADCC,EAAS,EAAEC,MAAMG,QAAQc,SAAAA,QAvDdsE,EAwDZrF,WAAA,OAAA,CAAA,GAxDYqF,IAANzF,EAAA,CADNoB,EAAc,cACFqE,CAAAA;"}
@@ -0,0 +1,42 @@
1
+ "use strict";const d=require("lit"),t=require("lit/decorators.js"),b=require("lit/directives/class-map.js"),w=require("lit/directives/style-map.js"),c=require("rxjs"),m=require("./tailwind.mixin-ClfV2_Nh.cjs");var S=Object.defineProperty,i=(e,r,l,p)=>{for(var n,o=void 0,y=e.length-1;y>=0;y--)(n=e[y])&&(o=n(r,l,o)||o);return o&&S(r,l,o),o};const u=class u extends m.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 s=u;i([t.property({type:Boolean})],s.prototype,"center"),i([t.property({type:String})],s.prototype,"padding"),i([t.property({type:String})],s.prototype,"margin"),i([t.property({type:String})],s.prototype,"width"),i([t.property({type:String})],s.prototype,"height"),i([t.property({type:String})],s.prototype,"minWidth"),i([t.property({type:String})],s.prototype,"minHeight"),i([t.property({type:String})],s.prototype,"maxWidth"),i([t.property({type:String})],s.prototype,"maxHeight"),i([t.property({type:String})],s.prototype,"display"),i([t.property({type:String})],s.prototype,"overflow"),i([t.property({type:String})],s.prototype,"overflowX"),i([t.property({type:String})],s.prototype,"overflowY"),i([t.property({type:String})],s.prototype,"position"),i([t.property({type:String})],s.prototype,"top"),i([t.property({type:String})],s.prototype,"right"),i([t.property({type:String})],s.prototype,"bottom"),i([t.property({type:String})],s.prototype,"left"),i([t.property({type:String})],s.prototype,"inset"),i([t.property({type:String})],s.prototype,"zIndex"),i([t.property({type:String})],s.prototype,"border"),i([t.property({type:String})],s.prototype,"borderTop"),i([t.property({type:String})],s.prototype,"borderRight"),i([t.property({type:String})],s.prototype,"borderBottom"),i([t.property({type:String})],s.prototype,"borderLeft"),i([t.property({type:String})],s.prototype,"borderColor"),i([t.property({type:String})],s.prototype,"borderRadius"),i([t.property({type:String})],s.prototype,"borderWidth"),i([t.property({type:String})],s.prototype,"boxShadow"),i([t.property({type:String})],s.prototype,"opacity"),i([t.property({type:String})],s.prototype,"background"),i([t.property({type:String})],s.prototype,"backgroundImage"),i([t.property({type:String})],s.prototype,"backgroundPosition"),i([t.property({type:String})],s.prototype,"backgroundSize"),i([t.property({type:String})],s.prototype,"backgroundRepeat"),i([t.property({type:String})],s.prototype,"backgroundAttachment"),i([t.property({type:String})],s.prototype,"backgroundColor"),i([t.property({type:String})],s.prototype,"backgroundClip"),i([t.property({type:String})],s.prototype,"backgroundOrigin"),i([t.property({type:String})],s.prototype,"backgroundBlendMode"),i([t.property({type:String})],s.prototype,"filter"),i([t.property({type:String})],s.prototype,"backdropFilter");var x=Object.defineProperty,v=Object.getOwnPropertyDescriptor,g=(e,r,l,p)=>{for(var n,o=p>1?void 0:p?v(r,l):r,y=e.length-1;y>=0;y--)(n=e[y])&&(o=(p?n(r,l,o):n(o))||o);return p&&o&&x(r,l,o),o};exports.SchmancyFlex=class extends s{constructor(){super(...arguments),this.layout=!0,this.flow="col",this.wrap="wrap",this.align="start",this.justify="start",this.gap="none"}render(){const e={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=${b.classMap(e)} style=${w.styleMap({})}>
3
+ <slot></slot>
4
+ </section>
5
+ `}},exports.SchmancyFlex.styles=[s.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 k=Object.defineProperty,P=Object.getOwnPropertyDescriptor,a=(e,r,l,p)=>{for(var n,o=p>1?void 0:p?P(r,l):r,y=e.length-1;y>=0;y--)(n=e[y])&&(o=(p?n(r,l,o):n(o))||o);return p&&o&&k(r,l,o),o};exports.SchmancyGrid=class extends s{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(e=>e.target),c.startWith(1),c.map(()=>this.clientWidth?this.clientWidth:window.innerWidth),c.distinctUntilChanged(),c.takeUntil(this.disconnecting),c.debounceTime(10),c.map(e=>{let r;return this.rcols?.["2xl"]&&e>=1536?r=this.rcols?.["2xl"]:this.rcols?.xl&&e>=1280?r=this.rcols?.xl:this.rcols?.lg&&e>=1024?r=this.rcols?.lg:this.rcols?.md&&e>=768?r=this.rcols?.md:this.rcols?.sm&&e>=640?r=this.rcols?.sm:this.rcols?.xs&&e<640&&(r=this.rcols?.xs),r})).subscribe(e=>{this.cols=e})}render(){const e={"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},r={gridTemplateRows:this.rows?this.rows:void 0,gridTemplateColumns:this.cols?this.cols:void 0};return d.html`
6
+ <section class="${this.classMap(e)}" style=${this.styleMap(r)}>
7
+ <slot> </slot>
8
+ </section>
9
+ `}},exports.SchmancyGrid.styles=[s.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 j=Object.defineProperty,F=Object.getOwnPropertyDescriptor,f=(e,r,l,p)=>{for(var n,o=p>1?void 0:p?F(r,l):r,y=e.length-1;y>=0;y--)(n=e[y])&&(o=(p?n(r,l,o):n(o))||o);return p&&o&&j(r,l,o),o};exports.SchmancyScroll=class extends m.TailwindElement(d.css`
10
+ :host {
11
+ /* Flexible sizing for different layout contexts */
12
+ width: 100%;
13
+ min-height: 0; /* Allow flex shrinking */
14
+ flex: 1; /* Grow in flex containers */
15
+ box-sizing: border-box; /* Ensures proper sizing */
16
+ display: block;
17
+ position: relative;
18
+ scroll-behavior: smooth;
19
+ overscroll-behavior: contain;
20
+ }
21
+ /* Fallback for non-flex contexts */
22
+ :host(.explicit-height) {
23
+ height: 100%;
24
+ flex: none;
25
+ }
26
+ :host([hide]) {
27
+ -ms-overflow-style: none; /* IE and Edge */
28
+ scrollbar-width: none; /* Firefox */
29
+ }
30
+ :host([hide])::-webkit-scrollbar {
31
+ display: none; /* Chrome, Safari, and Opera */
32
+ }
33
+ `){constructor(){super(...arguments),this.hide=!1,this.direction="both",this.debounce=10}get scroller(){return this}scrollTo(e,r){this.scroller&&(typeof e=="number"?this.scroller.scrollTo({top:e,behavior:r?"smooth":"auto"}):e?this.scroller.scrollTo(e):this.scroller.scrollTo({top:0,left:0,behavior:"auto"}))}scrollToLeft(e,r="auto"){this.scroller&&this.scroller.scrollTo({left:e,behavior:r})}connectedCallback(){super.connectedCallback(),this.updateScrollingStyles(),this.updateLayoutContext(),this.setAttribute("part","scroller")}updateScrollingStyles(){this.direction==="horizontal"?(this.style.setProperty("overflow-y","hidden"),this.style.setProperty("overflow-x","auto")):this.direction==="vertical"?(this.style.setProperty("overflow-y","auto"),this.style.setProperty("overflow-x","hidden")):(this.style.setProperty("overflow-y","auto"),this.style.setProperty("overflow-x","auto"))}updateLayoutContext(){requestAnimationFrame(()=>{const e=this.parentElement;if(e){const r=getComputedStyle(e);r.display==="flex"||r.display==="inline-flex"?this.classList.remove("explicit-height"):this.classList.add("explicit-height")}else this.classList.add("explicit-height")})}updated(e){super.updated(e),e.has("direction")&&this.updateScrollingStyles(),this.updateLayoutContext()}firstUpdated(){c.fromEvent(this.scroller,"scroll",{passive:!0}).pipe(c.debounceTime(this.debounce),c.takeUntil(this.disconnecting)).subscribe(e=>{const r=this.scroller.scrollTop,l=this.scroller.scrollHeight,p=this.scroller.clientHeight,n=this.scroller.scrollLeft,o=this.scroller.scrollWidth,y=this.scroller.clientWidth;this.dispatchEvent(new CustomEvent("scroll",{detail:{scrollTop:r,scrollHeight:l,clientHeight:p,e,scrollLeft:n,scrollWidth:o,clientWidth:y},bubbles:!0,composed:!0}))}),c.fromEvent(window,"@schmancy:scrollTo").pipe(c.filter(e=>this.name!==void 0&&e.detail.name===this.name),c.takeUntil(this.disconnecting)).subscribe(e=>{if(e.detail.action==="scrollTo"&&typeof e.detail.top=="number"){const r={behavior:"smooth",top:e.detail.top};typeof e.detail.left=="number"&&(r.left=e.detail.left),this.scrollTo(r)}})}render(){return d.html`<slot></slot>`}},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.property({type:String,reflect:!0})],exports.SchmancyScroll.prototype,"direction",2),f([t.property({type:Number})],exports.SchmancyScroll.prototype,"debounce",2),exports.SchmancyScroll=f([t.customElement("schmancy-scroll")],exports.SchmancyScroll);var C=Object.defineProperty,T=Object.getOwnPropertyDescriptor,h=(e,r,l,p)=>{for(var n,o=p>1?void 0:p?T(r,l):r,y=e.length-1;y>=0;y--)(n=e[y])&&(o=(p?n(r,l,o):n(o))||o);return p&&o&&C(r,l,o),o};exports.SchmancyFlexV2=class extends s{constructor(){super(...arguments),this.inline=!1,this.flow="row",this.wrap="wrap",this.align="stretch",this.justify="start",this.gap="none"}render(){const e=this.inline?"inline-flex":"flex";let r="";switch(this.flow){case"row":case"row-dense":default:r="flex-row";break;case"row-reverse":r="flex-row-reverse";break;case"col":case"col-dense":r="flex-col";break;case"col-reverse":r="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 o="";if(this.content)switch(this.content){case"start":o="content-start";break;case"center":o="content-center";break;case"end":o="content-end";break;case"between":o="content-between";break;case"around":o="content-around";break;case"evenly":o="content-evenly"}const y=[e,r,l,p,n,o,this.gap==="none"?"gap-0":`gap-${this.gap}`].filter(Boolean).join(" ");return d.html`
34
+ <section class=${y}>
35
+ <slot></slot>
36
+ </section>
37
+ `}},exports.SchmancyFlexV2.styles=[s.styles,d.css`
38
+ :host {
39
+ display: block;
40
+ }
41
+ `],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);
42
+ //# sourceMappingURL=flex-CHf9Gc5V.cjs.map