@mhmo91/schmancy 0.4.1 → 0.4.3

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 (332) hide show
  1. package/dist/{animated-text-DBk95qoX.cjs → animated-text-5NJFGbRC.cjs} +2 -2
  2. package/dist/{animated-text-DBk95qoX.cjs.map → animated-text-5NJFGbRC.cjs.map} +1 -1
  3. package/dist/{animated-text-BhACpxZL.js → animated-text-C63wwL5H.js} +3 -3
  4. package/dist/{animated-text-BhACpxZL.js.map → animated-text-C63wwL5H.js.map} +1 -1
  5. package/dist/animated-text.cjs +1 -1
  6. package/dist/animated-text.js +1 -1
  7. package/dist/area.cjs +1 -1
  8. package/dist/area.component-B78lu4GT.cjs +8 -0
  9. package/dist/{area.component-CbT_WCUv.cjs.map → area.component-B78lu4GT.cjs.map} +1 -1
  10. package/dist/{area.component-DX2Y6cAp.js → area.component-mDv3w12S.js} +85 -90
  11. package/dist/{area.component-DX2Y6cAp.js.map → area.component-mDv3w12S.js.map} +1 -1
  12. package/dist/area.js +1 -1
  13. package/dist/autocomplete-BLtChct9.js +315 -0
  14. package/dist/{autocomplete-Qr_SNWus.js.map → autocomplete-BLtChct9.js.map} +1 -1
  15. package/dist/autocomplete-JjaB0OPh.cjs +73 -0
  16. package/dist/{autocomplete-ByVC8MLH.cjs.map → autocomplete-JjaB0OPh.cjs.map} +1 -1
  17. package/dist/autocomplete.cjs +1 -1
  18. package/dist/autocomplete.js +1 -1
  19. package/dist/avatar-BuCRVCII.cjs +211 -0
  20. package/dist/avatar-BuCRVCII.cjs.map +1 -0
  21. package/dist/{avatar-BFxYkrCv.js → avatar-WaHuf8DW.js} +205 -322
  22. package/dist/avatar-WaHuf8DW.js.map +1 -0
  23. package/dist/badge.cjs +1 -1
  24. package/dist/badge.js +1 -1
  25. package/dist/{boat-ZKuOCC1g.js → boat-BTnwHy3K.js} +2 -2
  26. package/dist/{boat-ZKuOCC1g.js.map → boat-BTnwHy3K.js.map} +1 -1
  27. package/dist/{boat-RaIwtGNW.cjs → boat-RjFQ6YHH.cjs} +2 -2
  28. package/dist/{boat-RaIwtGNW.cjs.map → boat-RjFQ6YHH.cjs.map} +1 -1
  29. package/dist/boat.cjs +1 -1
  30. package/dist/boat.js +1 -1
  31. package/dist/busy.cjs +1 -1
  32. package/dist/busy.js +1 -1
  33. package/dist/button.cjs +1 -1
  34. package/dist/button.js +1 -1
  35. package/dist/card.cjs +1 -1
  36. package/dist/card.js +7 -1
  37. package/dist/{checkbox-BZvRSKLj.cjs → checkbox-BdCbMFh6.cjs} +4 -4
  38. package/dist/{checkbox-BZvRSKLj.cjs.map → checkbox-BdCbMFh6.cjs.map} +1 -1
  39. package/dist/{checkbox-Cy3X3PGY.js → checkbox-C6B9Iii2.js} +34 -35
  40. package/dist/{checkbox-Cy3X3PGY.js.map → checkbox-C6B9Iii2.js.map} +1 -1
  41. package/dist/checkbox.cjs +1 -1
  42. package/dist/checkbox.js +1 -1
  43. package/dist/{chips-Y1qvw2Wa.js → chips-CLKkNCVv.js} +59 -61
  44. package/dist/{chips-Y1qvw2Wa.js.map → chips-CLKkNCVv.js.map} +1 -1
  45. package/dist/{chips-5IKm7m8x.cjs → chips-eAdPw08P.cjs} +25 -25
  46. package/dist/{chips-5IKm7m8x.cjs.map → chips-eAdPw08P.cjs.map} +1 -1
  47. package/dist/chips.cjs +1 -1
  48. package/dist/chips.js +1 -1
  49. package/dist/{circular-progress-utG8iIPV.js → circular-progress-C246y_3U.js} +3 -3
  50. package/dist/{circular-progress-utG8iIPV.js.map → circular-progress-C246y_3U.js.map} +1 -1
  51. package/dist/{circular-progress-BZwI11v0.cjs → circular-progress-E9riM09J.cjs} +2 -2
  52. package/dist/{circular-progress-BZwI11v0.cjs.map → circular-progress-E9riM09J.cjs.map} +1 -1
  53. package/dist/circular-progress.cjs +1 -1
  54. package/dist/circular-progress.js +1 -1
  55. package/dist/code-highlight.cjs +1 -1
  56. package/dist/code-highlight.js +1 -1
  57. package/dist/{code-preview-CN4mbrHE.cjs → code-preview-Cw3eINAz.cjs} +9 -9
  58. package/dist/{code-preview-CN4mbrHE.cjs.map → code-preview-Cw3eINAz.cjs.map} +1 -1
  59. package/dist/{code-preview-C_W44LD7.js → code-preview-CxDOJhpM.js} +166 -168
  60. package/dist/{code-preview-C_W44LD7.js.map → code-preview-CxDOJhpM.js.map} +1 -1
  61. package/dist/components.cjs +1 -1
  62. package/dist/components.js +1 -1
  63. package/dist/{consume-B05Dd6qy.js → consume-5D1qfVWM.js} +2 -2
  64. package/dist/{consume-B05Dd6qy.js.map → consume-5D1qfVWM.js.map} +1 -1
  65. package/dist/{consume-uKrSupzs.cjs → consume-edta5ng5.cjs} +2 -2
  66. package/dist/{consume-uKrSupzs.cjs.map → consume-edta5ng5.cjs.map} +1 -1
  67. package/dist/content-drawer.cjs +1 -1
  68. package/dist/content-drawer.js +1 -1
  69. package/dist/{context-object-CISes2bD.js → context-object-CDDP4bTk.js} +6 -8
  70. package/dist/{context-object-CISes2bD.js.map → context-object-CDDP4bTk.js.map} +1 -1
  71. package/dist/context-object-K_1gDFu-.cjs +2 -0
  72. package/dist/{context-object-CP7HbDFQ.cjs.map → context-object-K_1gDFu-.cjs.map} +1 -1
  73. package/dist/date-range-CYMv_xG-.cjs +121 -0
  74. package/dist/date-range-CYMv_xG-.cjs.map +1 -0
  75. package/dist/date-range-DStUXYx-.js +596 -0
  76. package/dist/date-range-DStUXYx-.js.map +1 -0
  77. package/dist/date-range.cjs +1 -1
  78. package/dist/date-range.js +1 -1
  79. package/dist/{delay-Cd-N6nxZ.js → delay-1MUDagyy.js} +57 -70
  80. package/dist/{delay-Cd-N6nxZ.js.map → delay-1MUDagyy.js.map} +1 -1
  81. package/dist/delay-DkQ3ZZuE.cjs +10 -0
  82. package/dist/{delay-CLGKeX0n.cjs.map → delay-DkQ3ZZuE.cjs.map} +1 -1
  83. package/dist/delay.cjs +1 -1
  84. package/dist/delay.js +1 -1
  85. package/dist/{dialog-content-C835zQHB.js → dialog-content-CXBx9Bmp.js} +9 -11
  86. package/dist/{dialog-content-C835zQHB.js.map → dialog-content-CXBx9Bmp.js.map} +1 -1
  87. package/dist/{dialog-content-DWITDRHy.cjs → dialog-content-CjgsxN8I.cjs} +4 -4
  88. package/dist/{dialog-content-DWITDRHy.cjs.map → dialog-content-CjgsxN8I.cjs.map} +1 -1
  89. package/dist/dialog-service-BgqAlT7T.cjs +2 -0
  90. package/dist/{dialog-service-Di9NiBao.cjs.map → dialog-service-BgqAlT7T.cjs.map} +1 -1
  91. package/dist/dialog-service-CnjZCTMj.js +127 -0
  92. package/dist/{dialog-service-noGCuxg1.js.map → dialog-service-CnjZCTMj.js.map} +1 -1
  93. package/dist/dialog.cjs +1 -1
  94. package/dist/dialog.js +2 -2
  95. package/dist/{divider-D7pxxtTI.js → divider-GhXZhIur.js} +3 -3
  96. package/dist/{divider-D7pxxtTI.js.map → divider-GhXZhIur.js.map} +1 -1
  97. package/dist/{divider-C7UzzgIj.cjs → divider-OSlBVpO-.cjs} +2 -2
  98. package/dist/{divider-C7UzzgIj.cjs.map → divider-OSlBVpO-.cjs.map} +1 -1
  99. package/dist/divider.cjs +1 -1
  100. package/dist/divider.js +1 -1
  101. package/dist/{dropdown-content-DJFDnoKm.js → dropdown-content-BcGSsDWz.js} +16 -20
  102. package/dist/{dropdown-content-DJFDnoKm.js.map → dropdown-content-BcGSsDWz.js.map} +1 -1
  103. package/dist/{dropdown-content-RMyyjS7G.cjs → dropdown-content-Cd1O_kVO.cjs} +4 -4
  104. package/dist/{dropdown-content-RMyyjS7G.cjs.map → dropdown-content-Cd1O_kVO.cjs.map} +1 -1
  105. package/dist/dropdown.cjs +1 -1
  106. package/dist/dropdown.js +1 -1
  107. package/dist/extra.cjs +1 -1
  108. package/dist/extra.js +1 -1
  109. package/dist/{flex-Bu7OqH-d.js → flex-BftnODFE.js} +63 -64
  110. package/dist/{flex-Bu7OqH-d.js.map → flex-BftnODFE.js.map} +1 -1
  111. package/dist/{flex-Cg_UtAIG.cjs → flex-DyHrvDQU.cjs} +10 -10
  112. package/dist/{flex-Cg_UtAIG.cjs.map → flex-DyHrvDQU.cjs.map} +1 -1
  113. package/dist/flow-D0e7hGXO.cjs +2 -0
  114. package/dist/{flow-CnJl1T1A.cjs.map → flow-D0e7hGXO.cjs.map} +1 -1
  115. package/dist/{flow-B1wMqea2.js → flow-DXYqC9OA.js} +50 -52
  116. package/dist/{flow-B1wMqea2.js.map → flow-DXYqC9OA.js.map} +1 -1
  117. package/dist/{form-WeCrsPmp.js → form-2QZDF5pF.js} +19 -28
  118. package/dist/{form-WeCrsPmp.js.map → form-2QZDF5pF.js.map} +1 -1
  119. package/dist/form-B0stbhfQ.cjs +14 -0
  120. package/dist/{form-DzfdidJO.cjs.map → form-B0stbhfQ.cjs.map} +1 -1
  121. package/dist/form.cjs +1 -1
  122. package/dist/form.js +1 -1
  123. package/dist/{icon-Be8aUtz9.js → icon-DWdq9YQM.js} +8 -9
  124. package/dist/{icon-Be8aUtz9.js.map → icon-DWdq9YQM.js.map} +1 -1
  125. package/dist/{icon-4c4f-QXa.cjs → icon-JitLog9X.cjs} +4 -4
  126. package/dist/{icon-4c4f-QXa.cjs.map → icon-JitLog9X.cjs.map} +1 -1
  127. package/dist/{icon-button-Mfs7C_ol.js → icon-button-BMkYjAl1.js} +40 -41
  128. package/dist/{icon-button-Mfs7C_ol.js.map → icon-button-BMkYjAl1.js.map} +1 -1
  129. package/dist/icon-button-em1NSoxk.cjs +69 -0
  130. package/dist/{icon-button-DNvGlOPI.cjs.map → icon-button-em1NSoxk.cjs.map} +1 -1
  131. package/dist/icons.cjs +1 -1
  132. package/dist/icons.js +1 -1
  133. package/dist/index.cjs +1 -1
  134. package/dist/index.js +167 -162
  135. package/dist/index.js.map +1 -1
  136. package/dist/{input-CpYu_aUV.js → input-6XNB7MZP.js} +86 -113
  137. package/dist/{input-CpYu_aUV.js.map → input-6XNB7MZP.js.map} +1 -1
  138. package/dist/input-BlpSg5js.cjs +111 -0
  139. package/dist/{input-CD59n3y-.cjs.map → input-BlpSg5js.cjs.map} +1 -1
  140. package/dist/input.cjs +1 -1
  141. package/dist/input.js +1 -1
  142. package/dist/layout.cjs +1 -1
  143. package/dist/layout.js +1 -1
  144. package/dist/{list-DNZhjJ-s.js → list-BxLFi3dU.js} +20 -21
  145. package/dist/{list-DNZhjJ-s.js.map → list-BxLFi3dU.js.map} +1 -1
  146. package/dist/{list-kvjz9d5N.cjs → list-CmbK_JyT.cjs} +4 -4
  147. package/dist/{list-kvjz9d5N.cjs.map → list-CmbK_JyT.cjs.map} +1 -1
  148. package/dist/list.cjs +1 -1
  149. package/dist/list.js +1 -1
  150. package/dist/{litElement.mixin-DMTxmbnz.js → litElement.mixin-BC40ZfGG.js} +2 -2
  151. package/dist/{litElement.mixin-DMTxmbnz.js.map → litElement.mixin-BC40ZfGG.js.map} +1 -1
  152. package/dist/{litElement.mixin-CrXwM_fu.cjs → litElement.mixin-BDMVhBpu.cjs} +2 -2
  153. package/dist/{litElement.mixin-CrXwM_fu.cjs.map → litElement.mixin-BDMVhBpu.cjs.map} +1 -1
  154. package/dist/media-DR_teeoc.js +185 -0
  155. package/dist/media-DR_teeoc.js.map +1 -0
  156. package/dist/media-DSVZ83aB.cjs +128 -0
  157. package/dist/media-DSVZ83aB.cjs.map +1 -0
  158. package/dist/{menu-CzoGF0Jg.js → menu-CwKx1goz.js} +3 -3
  159. package/dist/{menu-CzoGF0Jg.js.map → menu-CwKx1goz.js.map} +1 -1
  160. package/dist/{menu-DSJGu_Le.cjs → menu-DRwYeROH.cjs} +2 -2
  161. package/dist/{menu-DSJGu_Le.cjs.map → menu-DRwYeROH.cjs.map} +1 -1
  162. package/dist/menu.cjs +1 -1
  163. package/dist/menu.js +1 -1
  164. package/dist/nav-drawer.cjs +1 -1
  165. package/dist/nav-drawer.js +1 -1
  166. package/dist/{notification-service-dKoZweFH.cjs → notification-service-C6Bv3f71.cjs} +6 -6
  167. package/dist/{notification-service-dKoZweFH.cjs.map → notification-service-C6Bv3f71.cjs.map} +1 -1
  168. package/dist/{notification-service-BUZQ2nOZ.js → notification-service-ufUrNaq3.js} +4 -4
  169. package/dist/{notification-service-BUZQ2nOZ.js.map → notification-service-ufUrNaq3.js.map} +1 -1
  170. package/dist/notification.cjs +1 -1
  171. package/dist/notification.js +1 -1
  172. package/dist/{option-dBiLTB_w.js → option-CayvURH3.js} +3 -4
  173. package/dist/{option-dBiLTB_w.js.map → option-CayvURH3.js.map} +1 -1
  174. package/dist/{option-BXU6HGLZ.cjs → option-Dt7pNR-a.cjs} +3 -3
  175. package/dist/{option-BXU6HGLZ.cjs.map → option-Dt7pNR-a.cjs.map} +1 -1
  176. package/dist/option.cjs +1 -1
  177. package/dist/option.js +1 -1
  178. package/dist/{payment-card-form-Bhy7PHzr.js → payment-card-form-DPf41TU3.js} +3 -3
  179. package/dist/{payment-card-form-Bhy7PHzr.js.map → payment-card-form-DPf41TU3.js.map} +1 -1
  180. package/dist/{payment-card-form-HSho3d5z.cjs → payment-card-form-xKlOCP9C.cjs} +2 -2
  181. package/dist/{payment-card-form-HSho3d5z.cjs.map → payment-card-form-xKlOCP9C.cjs.map} +1 -1
  182. package/dist/provide-BxZ2kn_p.cjs +2 -0
  183. package/dist/{provide-BGGp1Iks.cjs.map → provide-BxZ2kn_p.cjs.map} +1 -1
  184. package/dist/{provide-hwQSumt-.js → provide-tcktw8xB.js} +41 -42
  185. package/dist/{provide-hwQSumt-.js.map → provide-tcktw8xB.js.map} +1 -1
  186. package/dist/radio-button-BWJLsF3d.cjs +41 -0
  187. package/dist/{radio-button-dwmtJ2ef.cjs.map → radio-button-BWJLsF3d.cjs.map} +1 -1
  188. package/dist/radio-button-DouFDjcL.js +151 -0
  189. package/dist/{radio-button-DDbyvXw1.js.map → radio-button-DouFDjcL.js.map} +1 -1
  190. package/dist/radio-group.cjs +1 -1
  191. package/dist/radio-group.js +1 -1
  192. package/dist/{redispatch-event-CF5ekzwZ.js → redispatch-event-BLom7yp4.js} +65 -68
  193. package/dist/{redispatch-event-CF5ekzwZ.js.map → redispatch-event-BLom7yp4.js.map} +1 -1
  194. package/dist/redispatch-event-DHcobAl6.cjs +4 -0
  195. package/dist/{redispatch-event-roczetCU.cjs.map → redispatch-event-DHcobAl6.cjs.map} +1 -1
  196. package/dist/{schmancy-steps-container-COL9P7PV.cjs → schmancy-steps-container-3-Bd627o.cjs} +3 -3
  197. package/dist/{schmancy-steps-container-COL9P7PV.cjs.map → schmancy-steps-container-3-Bd627o.cjs.map} +1 -1
  198. package/dist/{schmancy-steps-container-BrfKRYkI.js → schmancy-steps-container-CWBj3izf.js} +5 -6
  199. package/dist/{schmancy-steps-container-BrfKRYkI.js.map → schmancy-steps-container-CWBj3izf.js.map} +1 -1
  200. package/dist/{select-C6O6NRea.js → select-BjZUTKHm.js} +46 -56
  201. package/dist/{select-C6O6NRea.js.map → select-BjZUTKHm.js.map} +1 -1
  202. package/dist/select-Bv_TZZ-v.cjs +56 -0
  203. package/dist/{select-PrgXr6zf.cjs.map → select-Bv_TZZ-v.cjs.map} +1 -1
  204. package/dist/select.cjs +1 -1
  205. package/dist/select.js +1 -1
  206. package/dist/{selector-hook-B6uqLA-J.js → selector-hook-BvXML7_4.js} +61 -64
  207. package/dist/{selector-hook-B6uqLA-J.js.map → selector-hook-BvXML7_4.js.map} +1 -1
  208. package/dist/selector-hook-CYMLsOvh.cjs +2 -0
  209. package/dist/{selector-hook-CyvD9WN9.cjs.map → selector-hook-CYMLsOvh.cjs.map} +1 -1
  210. package/dist/sheet-D8SmGguy.js +141 -0
  211. package/dist/{sheet-lcz-71nv.js.map → sheet-D8SmGguy.js.map} +1 -1
  212. package/dist/sheet-tx2jWxVd.cjs +47 -0
  213. package/dist/{sheet-CNvW8vrn.cjs.map → sheet-tx2jWxVd.cjs.map} +1 -1
  214. package/dist/sheet.cjs +1 -1
  215. package/dist/sheet.js +2 -2
  216. package/dist/{slider-BNXI3Yj7.cjs → slider-Bo-4a-Ss.cjs} +8 -8
  217. package/dist/{slider-BNXI3Yj7.cjs.map → slider-Bo-4a-Ss.cjs.map} +1 -1
  218. package/dist/{slider-i-AZp4UF.js → slider-ytiEVvLJ.js} +36 -40
  219. package/dist/{slider-i-AZp4UF.js.map → slider-ytiEVvLJ.js.map} +1 -1
  220. package/dist/slider.cjs +1 -1
  221. package/dist/slider.js +1 -1
  222. package/dist/{spinner-Df6JHzWX.js → spinner-BuH3Wf-1.js} +3 -3
  223. package/dist/{spinner-Df6JHzWX.js.map → spinner-BuH3Wf-1.js.map} +1 -1
  224. package/dist/{spinner-DItpvohq.cjs → spinner-RIkASBZt.cjs} +2 -2
  225. package/dist/{spinner-DItpvohq.cjs.map → spinner-RIkASBZt.cjs.map} +1 -1
  226. package/dist/steps.cjs +1 -1
  227. package/dist/steps.js +1 -1
  228. package/dist/store.cjs +1 -1
  229. package/dist/store.js +2 -2
  230. package/dist/{surface-BaatMeqX.js → surface-Bkj3lZLo.js} +3 -3
  231. package/dist/{surface-BaatMeqX.js.map → surface-Bkj3lZLo.js.map} +1 -1
  232. package/dist/{surface-DiP3y6CA.cjs → surface-D-2akvnF.cjs} +2 -2
  233. package/dist/{surface-DiP3y6CA.cjs.map → surface-D-2akvnF.cjs.map} +1 -1
  234. package/dist/surface.cjs +1 -1
  235. package/dist/surface.js +1 -1
  236. package/dist/{table-BY56H-_F.js → table-BNUCQw-a.js} +58 -68
  237. package/dist/{table-BY56H-_F.js.map → table-BNUCQw-a.js.map} +1 -1
  238. package/dist/table-BpeeUiM1.cjs +65 -0
  239. package/dist/{table-BRQDbCA8.cjs.map → table-BpeeUiM1.cjs.map} +1 -1
  240. package/dist/table.cjs +1 -1
  241. package/dist/table.js +1 -1
  242. package/dist/{tabs-compatibility-pq--kZ3e.cjs → tabs-compatibility-CIQWnzk8.cjs} +5 -5
  243. package/dist/{tabs-compatibility-pq--kZ3e.cjs.map → tabs-compatibility-CIQWnzk8.cjs.map} +1 -1
  244. package/dist/{tabs-compatibility-qFYA1HDl.js → tabs-compatibility-c-iBrBOK.js} +20 -21
  245. package/dist/{tabs-compatibility-qFYA1HDl.js.map → tabs-compatibility-c-iBrBOK.js.map} +1 -1
  246. package/dist/tabs.cjs +1 -1
  247. package/dist/tabs.js +1 -1
  248. package/dist/tailwind.mixin-Ba46CZMW.js +43 -0
  249. package/dist/{tailwind.mixin-DbsxfE0U.js.map → tailwind.mixin-Ba46CZMW.js.map} +1 -1
  250. package/dist/tailwind.mixin-DJWjTKPc.cjs +2 -0
  251. package/dist/{tailwind.mixin-CPvz1Npj.cjs.map → tailwind.mixin-DJWjTKPc.cjs.map} +1 -1
  252. package/dist/teleport.cjs +1 -1
  253. package/dist/teleport.js +1 -1
  254. package/dist/{textarea-DPD_F-N6.cjs → textarea-DL-qgeME.cjs} +12 -12
  255. package/dist/{textarea-DPD_F-N6.cjs.map → textarea-DL-qgeME.cjs.map} +1 -1
  256. package/dist/{textarea-D2m3usht.js → textarea-jbhUeEzu.js} +31 -45
  257. package/dist/{textarea-D2m3usht.js.map → textarea-jbhUeEzu.js.map} +1 -1
  258. package/dist/textarea.cjs +1 -1
  259. package/dist/textarea.js +1 -1
  260. package/dist/{theme-button-0dEQlWtO.cjs → theme-button-BcRuHUSa.cjs} +2 -2
  261. package/dist/{theme-button-0dEQlWtO.cjs.map → theme-button-BcRuHUSa.cjs.map} +1 -1
  262. package/dist/{theme-button-ucq2VrW0.js → theme-button-CBJXLV0Z.js} +2 -2
  263. package/dist/{theme-button-ucq2VrW0.js.map → theme-button-CBJXLV0Z.js.map} +1 -1
  264. package/dist/theme-button.cjs +1 -1
  265. package/dist/theme-button.js +1 -1
  266. package/dist/theme.cjs +1 -1
  267. package/dist/{theme.component-DOSuAou9.js → theme.component-DC3WGfcn.js} +24 -25
  268. package/dist/{theme.component-DOSuAou9.js.map → theme.component-DC3WGfcn.js.map} +1 -1
  269. package/dist/{theme.component-E4gA7t5r.cjs → theme.component-DFALHVCM.cjs} +2 -2
  270. package/dist/{theme.component-E4gA7t5r.cjs.map → theme.component-DFALHVCM.cjs.map} +1 -1
  271. package/dist/theme.js +1 -1
  272. package/dist/{timezone-xOWMbSDV.js → timezone-CDz5qI2Z.js} +22 -28
  273. package/dist/{timezone-xOWMbSDV.js.map → timezone-CDz5qI2Z.js.map} +1 -1
  274. package/dist/{timezone-Bf4J_3By.cjs → timezone-IrGPq2tl.cjs} +6 -6
  275. package/dist/{timezone-Bf4J_3By.cjs.map → timezone-IrGPq2tl.cjs.map} +1 -1
  276. package/dist/{tooltip-zsp-xmPP.js → tooltip-BaX2Qoi8.js} +29 -31
  277. package/dist/{tooltip-zsp-xmPP.js.map → tooltip-BaX2Qoi8.js.map} +1 -1
  278. package/dist/tooltip-VUFi4Gjt.cjs +7 -0
  279. package/dist/{tooltip-6a1_bSeD.cjs.map → tooltip-VUFi4Gjt.cjs.map} +1 -1
  280. package/dist/tooltip.cjs +1 -1
  281. package/dist/tooltip.js +1 -1
  282. package/dist/{tree-DRa2127p.cjs → tree-Bz6GjWwf.cjs} +2 -2
  283. package/dist/{tree-DRa2127p.cjs.map → tree-Bz6GjWwf.cjs.map} +1 -1
  284. package/dist/{tree-D0FCXUWg.js → tree-DGUU6cQI.js} +2 -2
  285. package/dist/{tree-D0FCXUWg.js.map → tree-DGUU6cQI.js.map} +1 -1
  286. package/dist/tree.cjs +1 -1
  287. package/dist/tree.js +1 -1
  288. package/dist/typewriter-9XKXLbKA.cjs +21 -0
  289. package/dist/{typewriter-XTltzkLy.cjs.map → typewriter-9XKXLbKA.cjs.map} +1 -1
  290. package/dist/typewriter-BdQEQLOW.js +437 -0
  291. package/dist/{typewriter-BNTzu9jY.js.map → typewriter-BdQEQLOW.js.map} +1 -1
  292. package/dist/typewriter.cjs +1 -1
  293. package/dist/typewriter.js +1 -1
  294. package/dist/{typography-DCP0jC-m.js → typography-B1KbZvto.js} +2 -2
  295. package/dist/{typography-DCP0jC-m.js.map → typography-B1KbZvto.js.map} +1 -1
  296. package/dist/{typography-nVG55_Y6.cjs → typography-RGPsRMJw.cjs} +2 -2
  297. package/dist/{typography-nVG55_Y6.cjs.map → typography-RGPsRMJw.cjs.map} +1 -1
  298. package/dist/typography.cjs +1 -1
  299. package/dist/typography.js +1 -1
  300. package/package.json +14 -17
  301. package/dist/area.component-CbT_WCUv.cjs +0 -8
  302. package/dist/autocomplete-ByVC8MLH.cjs +0 -73
  303. package/dist/autocomplete-Qr_SNWus.js +0 -324
  304. package/dist/avatar-BFxYkrCv.js.map +0 -1
  305. package/dist/avatar-Bqohpa1o.cjs +0 -281
  306. package/dist/avatar-Bqohpa1o.cjs.map +0 -1
  307. package/dist/context-object-CP7HbDFQ.cjs +0 -2
  308. package/dist/date-range-CIn-HKuL.js +0 -637
  309. package/dist/date-range-CIn-HKuL.js.map +0 -1
  310. package/dist/date-range-Dff7Y8Ph.cjs +0 -139
  311. package/dist/date-range-Dff7Y8Ph.cjs.map +0 -1
  312. package/dist/delay-CLGKeX0n.cjs +0 -10
  313. package/dist/dialog-service-Di9NiBao.cjs +0 -2
  314. package/dist/dialog-service-noGCuxg1.js +0 -127
  315. package/dist/flow-CnJl1T1A.cjs +0 -2
  316. package/dist/form-DzfdidJO.cjs +0 -14
  317. package/dist/icon-button-DNvGlOPI.cjs +0 -69
  318. package/dist/input-CD59n3y-.cjs +0 -111
  319. package/dist/provide-BGGp1Iks.cjs +0 -2
  320. package/dist/radio-button-DDbyvXw1.js +0 -157
  321. package/dist/radio-button-dwmtJ2ef.cjs +0 -41
  322. package/dist/redispatch-event-roczetCU.cjs +0 -4
  323. package/dist/select-PrgXr6zf.cjs +0 -56
  324. package/dist/selector-hook-CyvD9WN9.cjs +0 -2
  325. package/dist/sheet-CNvW8vrn.cjs +0 -47
  326. package/dist/sheet-lcz-71nv.js +0 -146
  327. package/dist/table-BRQDbCA8.cjs +0 -65
  328. package/dist/tailwind.mixin-CPvz1Npj.cjs +0 -2
  329. package/dist/tailwind.mixin-DbsxfE0U.js +0 -43
  330. package/dist/tooltip-6a1_bSeD.cjs +0 -7
  331. package/dist/typewriter-BNTzu9jY.js +0 -436
  332. package/dist/typewriter-XTltzkLy.cjs +0 -21
@@ -1 +1 @@
1
- {"version":3,"file":"surface-BaatMeqX.js","sources":["../src/surface/surface.ts"],"sourcesContent":["import { createContext, provide } from '@lit/context'\nimport { TailwindElement } from '@mixins/tailwind.mixin'\nimport { TSurfaceColor } from '@schmancy/types'\nimport { css, html } from 'lit'\nimport { customElement, property } from 'lit/decorators.js'\n\nexport const SchmancySurfaceTypeContext = createContext<TSurfaceColor>('surface')\n\nexport type SchmancySurfaceFill = 'all' | 'width' | 'height' | 'auto'\n/**\n * `<schmancy-surface>` component\n *\n * This component renders a styled container that adapts its dimensions based on the `fill` property.\n * It supports various rounding options, elevation levels, and applies background and text color classes\n * based on the specified surface variant. Additionally, when the `scroller` property is true, the component\n * enables internal scrolling by applying overflow and scroll-behavior styles.\n *\n * @element schmancy-surface\n * @slot - Default slot for projecting child content.\n *\n * @example\n * <schmancy-surface fill=\"all\" rounded=\"all\" elevation=\"3\" type=\"surfaceBright\" scroller>\n * <p>Your scrollable content here</p>\n * </schmancy-surface>\n */\n@customElement('schmancy-surface')\nexport class SchmancySurface extends TailwindElement(css`\n\t:host {\n\t\tdisplay: block;\n\t\tposition: relative;\n\t\tinset: 0;\n\t\tbox-sizing: border-box;\n\t}\n\t\n\t/* Fill styles */\n\t:host([fill='all']) {\n\t\theight: 100%;\n\t\twidth: 100%;\n\t}\n\t:host([fill='width']) {\n\t\twidth: 100%;\n\t}\n\t:host([fill='height']) {\n\t\theight: 100%;\n\t}\n\t\n\t/* Rounded corner styles */\n\t:host([rounded='none']) {\n\t\tborder-radius: 0;\n\t}\n\t:host([rounded='top']) {\n\t\tborder-radius: 8px 8px 0 0;\n\t}\n\t:host([rounded='left']) {\n\t\tborder-radius: 8px 0 0 8px;\n\t}\n\t:host([rounded='right']) {\n\t\tborder-radius: 0 8px 8px 0;\n\t}\n\t:host([rounded='bottom']) {\n\t\tborder-radius: 0 0 8px 8px;\n\t}\n\t:host([rounded='all']) {\n\t\tborder-radius: 8px;\n\t}\n\t\n\t/* Elevation styles */\n\t:host([elevation='1']) {\n\t\tbox-shadow: var(--schmancy-sys-elevation-1);\n\t}\n\t:host([elevation='2']) {\n\t\tbox-shadow: var(--schmancy-sys-elevation-2);\n\t}\n\t:host([elevation='3']) {\n\t\tbox-shadow: var(--schmancy-sys-elevation-3);\n\t}\n\t:host([elevation='4']) {\n\t\tbox-shadow: var(--schmancy-sys-elevation-4);\n\t}\n\t:host([elevation='5']) {\n\t\tbox-shadow: var(--schmancy-sys-elevation-5);\n\t}\n\t\n\t/* Surface type styles - background and text colors */\n\t:host([type='surface']) {\n\t\tbackground-color: var(--schmancy-sys-color-surface-default);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='surfaceDim']) {\n\t\tbackground-color: var(--schmancy-sys-color-surface-dim);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='surfaceBright']) {\n\t\tbackground-color: var(--schmancy-sys-color-surface-bright);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='containerLowest']) {\n\t\tbackground-color: var(--schmancy-sys-color-surface-lowest);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='containerLow']) {\n\t\tbackground-color: var(--schmancy-sys-color-surface-low);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='container']) {\n\t\tbackground-color: var(--schmancy-sys-color-surface-container);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='containerHigh']) {\n\t\tbackground-color: var(--schmancy-sys-color-surface-high);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='containerHighest']) {\n\t\tbackground-color: var(--schmancy-sys-color-surface-highest);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n`) {\n\t/**\n\t * Fill the width and/or height of the parent container.\n\t * Options: 'all', 'width', 'height', 'auto'.\n\t * @default 'auto'\n\t */\n\t@property({ type: String, reflect: true })\n\tfill: 'all' | 'width' | 'height' | 'auto' = 'auto'\n\n\t/**\n\t * Specifies the rounding style of the component's corners.\n\t * Options: 'none', 'top', 'left', 'right', 'bottom', 'all'.\n\t * @default 'none'\n\t */\n\t@property({ reflect: true })\n\trounded: 'none' | 'top' | 'left' | 'right' | 'bottom' | 'all' = 'none'\n\n\t/**\n\t * Specifies the surface type for styling.\n\t * Provided to descendant components via context.\n\t * Options: 'surface', 'surfaceDim', 'surfaceBright', 'containerLowest',\n\t * 'containerLow', 'container', 'containerHigh', 'containerHighest'.\n\t * @default 'container'\n\t */\n\t@provide({ context: SchmancySurfaceTypeContext })\n\t@property({ reflect: true })\n\ttype: TSurfaceColor = 'container'\n\n\t/**\n\t * Defines the elevation level (shadow depth) of the surface.\n\t * Valid values: 0, 1, 2, 3, 4, 5.\n\t * @default 0\n\t */\n\t@property({ type: Number, reflect: true })\n\televation: 0 | 1 | 2 | 3 | 4 | 5 = 0\n\n\tprotected render(): unknown {\n\t\treturn html`<slot></slot>`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-surface': SchmancySurface\n\t}\n}"],"names":["SchmancySurfaceTypeContext","createContext","SchmancySurface","TailwindElement","css","super","arguments","this","fill","rounded","type","elevation","render","html","__decorateClass","property","String","reflect","prototype","provide","context","Number","customElement"],"mappings":";;;;;;;;AAMa,MAAAA,IAA6BC,EAA6B,SAoB1D;AAAA,IAAAC,IAAN,cAA8BC,EAAgBC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,CAA9C,EAAA;AAAA,EAAA;AAAAC,UAAAC,GAAAA,SAAAA,GAiGsCC,KAAAC,OAAA,QAQoBD,KAAAE,UAAA,QAW1CF,KAAAG,OAAA,aAQaH,KAAAI,YAAA;AAAA,EAAA;AAAA,EAEzB,SAAAC;AACF,WAAAC;AAAAA,EAAA;AA9BRC;AAAAA,EAAA,CADCC,EAAS,EAAEL,MAAMM,QAAQC,SAAS,GAAA,CAAA,CAAA,GAhGvBf,EAiGZgB,WAAA,QAAA,CAQAJ,GAAAA,EAAA,CADCC,EAAS,EAAEE,SAAS,GAAA,CAAA,CAAA,GAxGTf,EAyGZgB,WAAA,WAAA,CAWAJ,GAAAA,EAAA,CAFCK,EAAQ,EAAEC,SAASpB,EAAAA,CAAAA,GACnBe,EAAS,EAAEE,SAAAA,GAnHAf,CAAAA,CAAAA,GAAAA,EAoHZgB,WAAA,QAAA,CAAA,GAQAJ,EAAA,CADCC,EAAS,EAAEL,MAAMW,QAAQJ,SAAAA,QA3Hdf,EA4HZgB,WAAA,aAAA,CAAA,GA5HYhB,IAANY,EAAA,CADNQ,EAAc,kBAAA,CAAA,GACFpB;"}
1
+ {"version":3,"file":"surface-Bkj3lZLo.js","sources":["../src/surface/surface.ts"],"sourcesContent":["import { createContext, provide } from '@lit/context'\nimport { TailwindElement } from '@mixins/tailwind.mixin'\nimport { TSurfaceColor } from '@schmancy/types'\nimport { css, html } from 'lit'\nimport { customElement, property } from 'lit/decorators.js'\n\nexport const SchmancySurfaceTypeContext = createContext<TSurfaceColor>('surface')\n\nexport type SchmancySurfaceFill = 'all' | 'width' | 'height' | 'auto'\n/**\n * `<schmancy-surface>` component\n *\n * This component renders a styled container that adapts its dimensions based on the `fill` property.\n * It supports various rounding options, elevation levels, and applies background and text color classes\n * based on the specified surface variant. Additionally, when the `scroller` property is true, the component\n * enables internal scrolling by applying overflow and scroll-behavior styles.\n *\n * @element schmancy-surface\n * @slot - Default slot for projecting child content.\n *\n * @example\n * <schmancy-surface fill=\"all\" rounded=\"all\" elevation=\"3\" type=\"surfaceBright\" scroller>\n * <p>Your scrollable content here</p>\n * </schmancy-surface>\n */\n@customElement('schmancy-surface')\nexport class SchmancySurface extends TailwindElement(css`\n\t:host {\n\t\tdisplay: block;\n\t\tposition: relative;\n\t\tinset: 0;\n\t\tbox-sizing: border-box;\n\t}\n\t\n\t/* Fill styles */\n\t:host([fill='all']) {\n\t\theight: 100%;\n\t\twidth: 100%;\n\t}\n\t:host([fill='width']) {\n\t\twidth: 100%;\n\t}\n\t:host([fill='height']) {\n\t\theight: 100%;\n\t}\n\t\n\t/* Rounded corner styles */\n\t:host([rounded='none']) {\n\t\tborder-radius: 0;\n\t}\n\t:host([rounded='top']) {\n\t\tborder-radius: 8px 8px 0 0;\n\t}\n\t:host([rounded='left']) {\n\t\tborder-radius: 8px 0 0 8px;\n\t}\n\t:host([rounded='right']) {\n\t\tborder-radius: 0 8px 8px 0;\n\t}\n\t:host([rounded='bottom']) {\n\t\tborder-radius: 0 0 8px 8px;\n\t}\n\t:host([rounded='all']) {\n\t\tborder-radius: 8px;\n\t}\n\t\n\t/* Elevation styles */\n\t:host([elevation='1']) {\n\t\tbox-shadow: var(--schmancy-sys-elevation-1);\n\t}\n\t:host([elevation='2']) {\n\t\tbox-shadow: var(--schmancy-sys-elevation-2);\n\t}\n\t:host([elevation='3']) {\n\t\tbox-shadow: var(--schmancy-sys-elevation-3);\n\t}\n\t:host([elevation='4']) {\n\t\tbox-shadow: var(--schmancy-sys-elevation-4);\n\t}\n\t:host([elevation='5']) {\n\t\tbox-shadow: var(--schmancy-sys-elevation-5);\n\t}\n\t\n\t/* Surface type styles - background and text colors */\n\t:host([type='surface']) {\n\t\tbackground-color: var(--schmancy-sys-color-surface-default);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='surfaceDim']) {\n\t\tbackground-color: var(--schmancy-sys-color-surface-dim);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='surfaceBright']) {\n\t\tbackground-color: var(--schmancy-sys-color-surface-bright);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='containerLowest']) {\n\t\tbackground-color: var(--schmancy-sys-color-surface-lowest);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='containerLow']) {\n\t\tbackground-color: var(--schmancy-sys-color-surface-low);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='container']) {\n\t\tbackground-color: var(--schmancy-sys-color-surface-container);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='containerHigh']) {\n\t\tbackground-color: var(--schmancy-sys-color-surface-high);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='containerHighest']) {\n\t\tbackground-color: var(--schmancy-sys-color-surface-highest);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n`) {\n\t/**\n\t * Fill the width and/or height of the parent container.\n\t * Options: 'all', 'width', 'height', 'auto'.\n\t * @default 'auto'\n\t */\n\t@property({ type: String, reflect: true })\n\tfill: 'all' | 'width' | 'height' | 'auto' = 'auto'\n\n\t/**\n\t * Specifies the rounding style of the component's corners.\n\t * Options: 'none', 'top', 'left', 'right', 'bottom', 'all'.\n\t * @default 'none'\n\t */\n\t@property({ reflect: true })\n\trounded: 'none' | 'top' | 'left' | 'right' | 'bottom' | 'all' = 'none'\n\n\t/**\n\t * Specifies the surface type for styling.\n\t * Provided to descendant components via context.\n\t * Options: 'surface', 'surfaceDim', 'surfaceBright', 'containerLowest',\n\t * 'containerLow', 'container', 'containerHigh', 'containerHighest'.\n\t * @default 'container'\n\t */\n\t@provide({ context: SchmancySurfaceTypeContext })\n\t@property({ reflect: true })\n\ttype: TSurfaceColor = 'container'\n\n\t/**\n\t * Defines the elevation level (shadow depth) of the surface.\n\t * Valid values: 0, 1, 2, 3, 4, 5.\n\t * @default 0\n\t */\n\t@property({ type: Number, reflect: true })\n\televation: 0 | 1 | 2 | 3 | 4 | 5 = 0\n\n\tprotected render(): unknown {\n\t\treturn html`<slot></slot>`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-surface': SchmancySurface\n\t}\n}"],"names":["SchmancySurfaceTypeContext","createContext","SchmancySurface","TailwindElement","css","super","arguments","this","fill","rounded","type","elevation","render","html","__decorateClass","property","String","reflect","prototype","provide","context","Number","customElement"],"mappings":";;;;;;;;AAMa,MAAAA,IAA6BC,EAA6B,SAoB1D;AAAA,IAAAC,IAAN,cAA8BC,EAAgBC;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,CAA9C,EAAA;AAAA,EAAA;AAAAC,UAAAC,GAAAA,SAAAA,GAiGsCC,KAAAC,OAAA,QAQoBD,KAAAE,UAAA,QAW1CF,KAAAG,OAAA,aAQaH,KAAAI,YAAA;AAAA,EAAA;AAAA,EAEzB,SAAAC;AACF,WAAAC;AAAAA,EAAA;AA9BRC;AAAAA,EAAA,CADCC,EAAS,EAAEL,MAAMM,QAAQC,SAAS,GAAA,CAAA,CAAA,GAhGvBf,EAiGZgB,WAAA,QAAA,CAQAJ,GAAAA,EAAA,CADCC,EAAS,EAAEE,SAAS,GAAA,CAAA,CAAA,GAxGTf,EAyGZgB,WAAA,WAAA,CAWAJ,GAAAA,EAAA,CAFCK,EAAQ,EAAEC,SAASpB,EAAAA,CAAAA,GACnBe,EAAS,EAAEE,SAAAA,GAnHAf,CAAAA,CAAAA,GAAAA,EAoHZgB,WAAA,QAAA,CAAA,GAQAJ,EAAA,CADCC,EAAS,EAAEL,MAAMW,QAAQJ,SAAAA,QA3Hdf,EA4HZgB,WAAA,aAAA,CAAA,GA5HYhB,IAANY,EAAA,CADNQ,EAAc,kBAAA,CAAA,GACFpB;"}
@@ -1,4 +1,4 @@
1
- "use strict";const i=require("./provide-BGGp1Iks.cjs"),u=require("./tailwind.mixin-CPvz1Npj.cjs"),h=require("lit"),r=require("lit/decorators.js");var d=Object.defineProperty,p=Object.getOwnPropertyDescriptor,e=(l,c,t,s)=>{for(var a,o=s>1?void 0:s?p(c,t):c,n=l.length-1;n>=0;n--)(a=l[n])&&(o=(s?a(c,t,o):a(o))||o);return s&&o&&d(c,t,o),o};const y=i.n("surface");exports.SchmancySurface=class extends u.TailwindElement(h.css`
1
+ "use strict";const i=require("./provide-BxZ2kn_p.cjs"),u=require("./tailwind.mixin-DJWjTKPc.cjs"),h=require("lit"),r=require("lit/decorators.js");var d=Object.defineProperty,p=Object.getOwnPropertyDescriptor,e=(l,c,t,s)=>{for(var a,o=s>1?void 0:s?p(c,t):c,n=l.length-1;n>=0;n--)(a=l[n])&&(o=(s?a(c,t,o):a(o))||o);return s&&o&&d(c,t,o),o};const y=i.n("surface");exports.SchmancySurface=class extends u.TailwindElement(h.css`
2
2
  :host {
3
3
  display: block;
4
4
  position: relative;
@@ -89,4 +89,4 @@
89
89
  color: var(--schmancy-sys-color-surface-on);
90
90
  }
91
91
  `){constructor(){super(...arguments),this.fill="auto",this.rounded="none",this.type="container",this.elevation=0}render(){return h.html`<slot></slot>`}},e([r.property({type:String,reflect:!0})],exports.SchmancySurface.prototype,"fill",2),e([r.property({reflect:!0})],exports.SchmancySurface.prototype,"rounded",2),e([i.e({context:y}),r.property({reflect:!0})],exports.SchmancySurface.prototype,"type",2),e([r.property({type:Number,reflect:!0})],exports.SchmancySurface.prototype,"elevation",2),exports.SchmancySurface=e([r.customElement("schmancy-surface")],exports.SchmancySurface),exports.SchmancySurfaceTypeContext=y;
92
- //# sourceMappingURL=surface-DiP3y6CA.cjs.map
92
+ //# sourceMappingURL=surface-D-2akvnF.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"surface-DiP3y6CA.cjs","sources":["../src/surface/surface.ts"],"sourcesContent":["import { createContext, provide } from '@lit/context'\nimport { TailwindElement } from '@mixins/tailwind.mixin'\nimport { TSurfaceColor } from '@schmancy/types'\nimport { css, html } from 'lit'\nimport { customElement, property } from 'lit/decorators.js'\n\nexport const SchmancySurfaceTypeContext = createContext<TSurfaceColor>('surface')\n\nexport type SchmancySurfaceFill = 'all' | 'width' | 'height' | 'auto'\n/**\n * `<schmancy-surface>` component\n *\n * This component renders a styled container that adapts its dimensions based on the `fill` property.\n * It supports various rounding options, elevation levels, and applies background and text color classes\n * based on the specified surface variant. Additionally, when the `scroller` property is true, the component\n * enables internal scrolling by applying overflow and scroll-behavior styles.\n *\n * @element schmancy-surface\n * @slot - Default slot for projecting child content.\n *\n * @example\n * <schmancy-surface fill=\"all\" rounded=\"all\" elevation=\"3\" type=\"surfaceBright\" scroller>\n * <p>Your scrollable content here</p>\n * </schmancy-surface>\n */\n@customElement('schmancy-surface')\nexport class SchmancySurface extends TailwindElement(css`\n\t:host {\n\t\tdisplay: block;\n\t\tposition: relative;\n\t\tinset: 0;\n\t\tbox-sizing: border-box;\n\t}\n\t\n\t/* Fill styles */\n\t:host([fill='all']) {\n\t\theight: 100%;\n\t\twidth: 100%;\n\t}\n\t:host([fill='width']) {\n\t\twidth: 100%;\n\t}\n\t:host([fill='height']) {\n\t\theight: 100%;\n\t}\n\t\n\t/* Rounded corner styles */\n\t:host([rounded='none']) {\n\t\tborder-radius: 0;\n\t}\n\t:host([rounded='top']) {\n\t\tborder-radius: 8px 8px 0 0;\n\t}\n\t:host([rounded='left']) {\n\t\tborder-radius: 8px 0 0 8px;\n\t}\n\t:host([rounded='right']) {\n\t\tborder-radius: 0 8px 8px 0;\n\t}\n\t:host([rounded='bottom']) {\n\t\tborder-radius: 0 0 8px 8px;\n\t}\n\t:host([rounded='all']) {\n\t\tborder-radius: 8px;\n\t}\n\t\n\t/* Elevation styles */\n\t:host([elevation='1']) {\n\t\tbox-shadow: var(--schmancy-sys-elevation-1);\n\t}\n\t:host([elevation='2']) {\n\t\tbox-shadow: var(--schmancy-sys-elevation-2);\n\t}\n\t:host([elevation='3']) {\n\t\tbox-shadow: var(--schmancy-sys-elevation-3);\n\t}\n\t:host([elevation='4']) {\n\t\tbox-shadow: var(--schmancy-sys-elevation-4);\n\t}\n\t:host([elevation='5']) {\n\t\tbox-shadow: var(--schmancy-sys-elevation-5);\n\t}\n\t\n\t/* Surface type styles - background and text colors */\n\t:host([type='surface']) {\n\t\tbackground-color: var(--schmancy-sys-color-surface-default);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='surfaceDim']) {\n\t\tbackground-color: var(--schmancy-sys-color-surface-dim);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='surfaceBright']) {\n\t\tbackground-color: var(--schmancy-sys-color-surface-bright);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='containerLowest']) {\n\t\tbackground-color: var(--schmancy-sys-color-surface-lowest);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='containerLow']) {\n\t\tbackground-color: var(--schmancy-sys-color-surface-low);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='container']) {\n\t\tbackground-color: var(--schmancy-sys-color-surface-container);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='containerHigh']) {\n\t\tbackground-color: var(--schmancy-sys-color-surface-high);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='containerHighest']) {\n\t\tbackground-color: var(--schmancy-sys-color-surface-highest);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n`) {\n\t/**\n\t * Fill the width and/or height of the parent container.\n\t * Options: 'all', 'width', 'height', 'auto'.\n\t * @default 'auto'\n\t */\n\t@property({ type: String, reflect: true })\n\tfill: 'all' | 'width' | 'height' | 'auto' = 'auto'\n\n\t/**\n\t * Specifies the rounding style of the component's corners.\n\t * Options: 'none', 'top', 'left', 'right', 'bottom', 'all'.\n\t * @default 'none'\n\t */\n\t@property({ reflect: true })\n\trounded: 'none' | 'top' | 'left' | 'right' | 'bottom' | 'all' = 'none'\n\n\t/**\n\t * Specifies the surface type for styling.\n\t * Provided to descendant components via context.\n\t * Options: 'surface', 'surfaceDim', 'surfaceBright', 'containerLowest',\n\t * 'containerLow', 'container', 'containerHigh', 'containerHighest'.\n\t * @default 'container'\n\t */\n\t@provide({ context: SchmancySurfaceTypeContext })\n\t@property({ reflect: true })\n\ttype: TSurfaceColor = 'container'\n\n\t/**\n\t * Defines the elevation level (shadow depth) of the surface.\n\t * Valid values: 0, 1, 2, 3, 4, 5.\n\t * @default 0\n\t */\n\t@property({ type: Number, reflect: true })\n\televation: 0 | 1 | 2 | 3 | 4 | 5 = 0\n\n\tprotected render(): unknown {\n\t\treturn html`<slot></slot>`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-surface': SchmancySurface\n\t}\n}"],"names":["SchmancySurfaceTypeContext","createContext","SchmancySurface","TailwindElement","css","super","arguments","this","fill","rounded","type","elevation","render","html","__decorateClass","property","String","reflect","prototype","provide","context","Number","customElement"],"mappings":"kVAMa,MAAAA,EAA6BC,IAA6B,WAoB1DC,QAAAA,gBAAN,cAA8BC,EAAAA,gBAAgBC,EAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,CAA9C,CAAA,CAAA,cAAAC,MAAAC,GAAAA,SAAAA,EAiGsCC,KAAAC,KAAA,OAQoBD,KAAAE,QAAA,OAW1CF,KAAAG,KAAA,YAQaH,KAAAI,UAAA,CAAA,CAEzB,QAAAC,CACF,OAAAC,EAAAA,mBAAA,CA9BRC,EAAAA,EAAA,CADCC,EAAAA,SAAS,CAAEL,KAAMM,OAAQC,UAhGdf,CAAAA,CAAAA,EAAAA,wBAiGZgB,UAAA,OAAA,GAQAJ,EAAA,CADCC,WAAS,CAAEE,UAxGAf,CAAAA,CAAAA,EAAAA,wBAyGZgB,UAAA,UAAA,CAWAJ,EAAAA,EAAA,CAFCK,IAAQ,CAAEC,QAASpB,CAAAA,CAAAA,EACnBe,WAAS,CAAEE,UAnHAf,CAAAA,CAAAA,EAAAA,wBAoHZgB,UAAA,OAAA,GAQAJ,EAAA,CADCC,EAAAA,SAAS,CAAEL,KAAMW,OAAQJ,QAAAA,MA3Hdf,wBA4HZgB,UAAA,YAAA,CAAA,EA5HYhB,QAANA,gBAAAY,EAAA,CADNQ,EAAAA,cAAc,qBACFpB"}
1
+ {"version":3,"file":"surface-D-2akvnF.cjs","sources":["../src/surface/surface.ts"],"sourcesContent":["import { createContext, provide } from '@lit/context'\nimport { TailwindElement } from '@mixins/tailwind.mixin'\nimport { TSurfaceColor } from '@schmancy/types'\nimport { css, html } from 'lit'\nimport { customElement, property } from 'lit/decorators.js'\n\nexport const SchmancySurfaceTypeContext = createContext<TSurfaceColor>('surface')\n\nexport type SchmancySurfaceFill = 'all' | 'width' | 'height' | 'auto'\n/**\n * `<schmancy-surface>` component\n *\n * This component renders a styled container that adapts its dimensions based on the `fill` property.\n * It supports various rounding options, elevation levels, and applies background and text color classes\n * based on the specified surface variant. Additionally, when the `scroller` property is true, the component\n * enables internal scrolling by applying overflow and scroll-behavior styles.\n *\n * @element schmancy-surface\n * @slot - Default slot for projecting child content.\n *\n * @example\n * <schmancy-surface fill=\"all\" rounded=\"all\" elevation=\"3\" type=\"surfaceBright\" scroller>\n * <p>Your scrollable content here</p>\n * </schmancy-surface>\n */\n@customElement('schmancy-surface')\nexport class SchmancySurface extends TailwindElement(css`\n\t:host {\n\t\tdisplay: block;\n\t\tposition: relative;\n\t\tinset: 0;\n\t\tbox-sizing: border-box;\n\t}\n\t\n\t/* Fill styles */\n\t:host([fill='all']) {\n\t\theight: 100%;\n\t\twidth: 100%;\n\t}\n\t:host([fill='width']) {\n\t\twidth: 100%;\n\t}\n\t:host([fill='height']) {\n\t\theight: 100%;\n\t}\n\t\n\t/* Rounded corner styles */\n\t:host([rounded='none']) {\n\t\tborder-radius: 0;\n\t}\n\t:host([rounded='top']) {\n\t\tborder-radius: 8px 8px 0 0;\n\t}\n\t:host([rounded='left']) {\n\t\tborder-radius: 8px 0 0 8px;\n\t}\n\t:host([rounded='right']) {\n\t\tborder-radius: 0 8px 8px 0;\n\t}\n\t:host([rounded='bottom']) {\n\t\tborder-radius: 0 0 8px 8px;\n\t}\n\t:host([rounded='all']) {\n\t\tborder-radius: 8px;\n\t}\n\t\n\t/* Elevation styles */\n\t:host([elevation='1']) {\n\t\tbox-shadow: var(--schmancy-sys-elevation-1);\n\t}\n\t:host([elevation='2']) {\n\t\tbox-shadow: var(--schmancy-sys-elevation-2);\n\t}\n\t:host([elevation='3']) {\n\t\tbox-shadow: var(--schmancy-sys-elevation-3);\n\t}\n\t:host([elevation='4']) {\n\t\tbox-shadow: var(--schmancy-sys-elevation-4);\n\t}\n\t:host([elevation='5']) {\n\t\tbox-shadow: var(--schmancy-sys-elevation-5);\n\t}\n\t\n\t/* Surface type styles - background and text colors */\n\t:host([type='surface']) {\n\t\tbackground-color: var(--schmancy-sys-color-surface-default);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='surfaceDim']) {\n\t\tbackground-color: var(--schmancy-sys-color-surface-dim);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='surfaceBright']) {\n\t\tbackground-color: var(--schmancy-sys-color-surface-bright);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='containerLowest']) {\n\t\tbackground-color: var(--schmancy-sys-color-surface-lowest);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='containerLow']) {\n\t\tbackground-color: var(--schmancy-sys-color-surface-low);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='container']) {\n\t\tbackground-color: var(--schmancy-sys-color-surface-container);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='containerHigh']) {\n\t\tbackground-color: var(--schmancy-sys-color-surface-high);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n\t:host([type='containerHighest']) {\n\t\tbackground-color: var(--schmancy-sys-color-surface-highest);\n\t\tcolor: var(--schmancy-sys-color-surface-on);\n\t}\n`) {\n\t/**\n\t * Fill the width and/or height of the parent container.\n\t * Options: 'all', 'width', 'height', 'auto'.\n\t * @default 'auto'\n\t */\n\t@property({ type: String, reflect: true })\n\tfill: 'all' | 'width' | 'height' | 'auto' = 'auto'\n\n\t/**\n\t * Specifies the rounding style of the component's corners.\n\t * Options: 'none', 'top', 'left', 'right', 'bottom', 'all'.\n\t * @default 'none'\n\t */\n\t@property({ reflect: true })\n\trounded: 'none' | 'top' | 'left' | 'right' | 'bottom' | 'all' = 'none'\n\n\t/**\n\t * Specifies the surface type for styling.\n\t * Provided to descendant components via context.\n\t * Options: 'surface', 'surfaceDim', 'surfaceBright', 'containerLowest',\n\t * 'containerLow', 'container', 'containerHigh', 'containerHighest'.\n\t * @default 'container'\n\t */\n\t@provide({ context: SchmancySurfaceTypeContext })\n\t@property({ reflect: true })\n\ttype: TSurfaceColor = 'container'\n\n\t/**\n\t * Defines the elevation level (shadow depth) of the surface.\n\t * Valid values: 0, 1, 2, 3, 4, 5.\n\t * @default 0\n\t */\n\t@property({ type: Number, reflect: true })\n\televation: 0 | 1 | 2 | 3 | 4 | 5 = 0\n\n\tprotected render(): unknown {\n\t\treturn html`<slot></slot>`\n\t}\n}\n\ndeclare global {\n\tinterface HTMLElementTagNameMap {\n\t\t'schmancy-surface': SchmancySurface\n\t}\n}"],"names":["SchmancySurfaceTypeContext","createContext","SchmancySurface","TailwindElement","css","super","arguments","this","fill","rounded","type","elevation","render","html","__decorateClass","property","String","reflect","prototype","provide","context","Number","customElement"],"mappings":"kVAMa,MAAAA,EAA6BC,IAA6B,WAoB1DC,QAAAA,gBAAN,cAA8BC,EAAAA,gBAAgBC,EAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA;AAAAA,CAA9C,CAAA,CAAA,cAAAC,MAAAC,GAAAA,SAAAA,EAiGsCC,KAAAC,KAAA,OAQoBD,KAAAE,QAAA,OAW1CF,KAAAG,KAAA,YAQaH,KAAAI,UAAA,CAAA,CAEzB,QAAAC,CACF,OAAAC,EAAAA,mBAAA,CA9BRC,EAAAA,EAAA,CADCC,EAAAA,SAAS,CAAEL,KAAMM,OAAQC,UAhGdf,CAAAA,CAAAA,EAAAA,wBAiGZgB,UAAA,OAAA,GAQAJ,EAAA,CADCC,WAAS,CAAEE,UAxGAf,CAAAA,CAAAA,EAAAA,wBAyGZgB,UAAA,UAAA,CAWAJ,EAAAA,EAAA,CAFCK,IAAQ,CAAEC,QAASpB,CAAAA,CAAAA,EACnBe,WAAS,CAAEE,UAnHAf,CAAAA,CAAAA,EAAAA,wBAoHZgB,UAAA,OAAA,GAQAJ,EAAA,CADCC,EAAAA,SAAS,CAAEL,KAAMW,OAAQJ,QAAAA,MA3Hdf,wBA4HZgB,UAAA,YAAA,CAAA,EA5HYhB,QAANA,gBAAAY,EAAA,CADNQ,EAAAA,cAAc,qBACFpB"}
package/dist/surface.cjs CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./surface-DiP3y6CA.cjs");Object.defineProperty(exports,"SchmancySurface",{enumerable:!0,get:()=>e.SchmancySurface}),exports.SchmancySurfaceTypeContext=e.SchmancySurfaceTypeContext;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./surface-D-2akvnF.cjs");Object.defineProperty(exports,"SchmancySurface",{enumerable:!0,get:()=>e.SchmancySurface}),exports.SchmancySurfaceTypeContext=e.SchmancySurfaceTypeContext;
2
2
  //# sourceMappingURL=surface.cjs.map
package/dist/surface.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as e, S } from "./surface-BaatMeqX.js";
1
+ import { a as e, S } from "./surface-Bkj3lZLo.js";
2
2
  export {
3
3
  e as SchmancySurface,
4
4
  S as SchmancySurfaceTypeContext
@@ -1,16 +1,16 @@
1
- import { _ as f } from "./tslib.es6-ujVQHAQ4.js";
2
- import { html as a, noChange as P, LitElement as H } from "lit";
3
- import { property as v } from "lit/decorators/property.js";
4
- import { directive as W, PartType as q } from "lit/directive.js";
5
- import { AsyncDirective as U } from "lit/async-directive.js";
6
- import { repeat as G } from "lit/directives/repeat.js";
7
- import { $ as D } from "./litElement.mixin-DMTxmbnz.js";
1
+ import { _ as g } from "./tslib.es6-ujVQHAQ4.js";
2
+ import { html as a, noChange as j, LitElement as P } from "lit";
3
+ import { property as f } from "lit/decorators/property.js";
4
+ import { directive as H, PartType as W } from "lit/directive.js";
5
+ import { AsyncDirective as q } from "lit/async-directive.js";
6
+ import { repeat as U } from "lit/directives/repeat.js";
7
+ import { $ as D } from "./litElement.mixin-BC40ZfGG.js";
8
8
  import { property as _, customElement as M, state as x } from "lit/decorators.js";
9
- var J = Object.defineProperty, X = Object.getOwnPropertyDescriptor, w = (s, t, e, i) => {
10
- for (var r, l = i > 1 ? void 0 : i ? X(t, e) : t, o = s.length - 1; o >= 0; o--) (r = s[o]) && (l = (i ? r(t, e, l) : r(l)) || l);
11
- return i && l && J(t, e, l), l;
9
+ var G = Object.defineProperty, J = Object.getOwnPropertyDescriptor, w = (s, t, e, i) => {
10
+ for (var r, l = i > 1 ? void 0 : i ? J(t, e) : t, o = s.length - 1; o >= 0; o--) (r = s[o]) && (l = (i ? r(t, e, l) : r(l)) || l);
11
+ return i && l && G(t, e, l), l;
12
12
  };
13
- let b = class extends D() {
13
+ let v = class extends D() {
14
14
  constructor() {
15
15
  super(...arguments), this.columns = [], this.cols = this.columns.map(() => "1fr").join(" ");
16
16
  }
@@ -41,7 +41,7 @@ let b = class extends D() {
41
41
  `;
42
42
  }
43
43
  };
44
- w([_({ type: Array, attribute: !1 })], b.prototype, "columns", 2), w([_({ type: Object, attribute: !1 })], b.prototype, "item", 2), w([_({ type: String })], b.prototype, "cols", 2), b = w([M("schmancy-table-row")], b);
44
+ w([_({ type: Array, attribute: !1 })], v.prototype, "columns", 2), w([_({ type: Object, attribute: !1 })], v.prototype, "item", 2), w([_({ type: String })], v.prototype, "cols", 2), v = w([M("schmancy-table-row")], v);
45
45
  class E extends Event {
46
46
  constructor(t) {
47
47
  super(E.eventName, { bubbles: !1 }), this.first = t.first, this.last = t.last;
@@ -60,7 +60,7 @@ class z extends Event {
60
60
  }
61
61
  }
62
62
  z.eventName = "unpinned";
63
- class Y {
63
+ class X {
64
64
  constructor(t) {
65
65
  this._element = null;
66
66
  const e = t ?? window;
@@ -94,7 +94,7 @@ class Y {
94
94
  return this.scrollWidth - this.viewportWidth;
95
95
  }
96
96
  }
97
- class K extends Y {
97
+ class Y extends X {
98
98
  constructor(t, e) {
99
99
  super(e), this._clients = /* @__PURE__ */ new Set(), this._retarget = null, this._end = null, this.t = null, this.correctingScrollError = !1, this._checkForArrival = this._checkForArrival.bind(this), this._updateManagedScrollTo = this._updateManagedScrollTo.bind(this), this.scrollTo = this.scrollTo.bind(this), this.scrollBy = this.scrollBy.bind(this);
100
100
  const i = this._node;
@@ -155,7 +155,7 @@ class K extends Y {
155
155
  let k = typeof window < "u" ? window.ResizeObserver : void 0;
156
156
  const T = Symbol("virtualizerRef"), C = "virtualizer-sizer";
157
157
  let O;
158
- class Q {
158
+ class K {
159
159
  constructor(t) {
160
160
  if (this._benchmarkStart = null, this._layout = null, this._clippingAncestors = [], this._scrollSize = null, this._scrollError = null, this._childrenPos = null, this._childMeasurements = null, this._toBeMeasured = /* @__PURE__ */ new Map(), this._rangeChanged = !0, this._itemsChanged = !0, this._visibilityChanged = !0, this._scrollerController = null, this._isScroller = !1, this._sizer = null, this._hostElementRO = null, this._childrenRO = null, this._mutationObserver = null, this._scrollEventListeners = [], this._scrollEventListenerOptions = { passive: !0 }, this._loadListener = this._childLoaded.bind(this), this._scrollIntoViewTarget = null, this._updateScrollIntoViewCoordinates = null, this._items = [], this._first = -1, this._last = -1, this._firstVisible = -1, this._lastVisible = -1, this._scheduled = /* @__PURE__ */ new WeakSet(), this._measureCallback = null, this._measureChildOverride = null, this._layoutCompletePromise = null, this._layoutCompleteResolver = null, this._layoutCompleteRejecter = null, this._pendingLayoutComplete = null, this._layoutInitialized = null, this._connected = !1, !t) throw new Error("Virtualizer constructor requires a configuration object");
161
161
  if (!t.hostElement) throw new Error('Virtualizer configuration requires the "hostElement" property');
@@ -183,15 +183,15 @@ class Q {
183
183
  let r = !1;
184
184
  return function(l, o = !1) {
185
185
  const c = [];
186
- let h = o ? l : V(l);
187
- for (; h !== null; ) c.push(h), h = V(h);
186
+ let n = o ? l : V(l);
187
+ for (; n !== null; ) c.push(n), n = V(n);
188
188
  return c;
189
189
  }(e, i).filter((l) => {
190
190
  if (r) return !1;
191
191
  const o = getComputedStyle(l);
192
192
  return r = o.position === "fixed", o.overflow !== "visible";
193
193
  });
194
- }(this._hostElement, t), this._scrollerController = new K(this, this._clippingAncestors[0]), this._schedule(this._updateLayout), this._observeAndListen(), this._connected = !0;
194
+ }(this._hostElement, t), this._scrollerController = new Y(this, this._clippingAncestors[0]), this._schedule(this._updateLayout), this._observeAndListen(), this._connected = !0;
195
195
  }
196
196
  _observeAndListen() {
197
197
  this._mutationObserver.observe(this._hostElement, { childList: !0 }), this._hostElementRO.observe(this._hostElement), this._scrollEventListeners.push(window), window.addEventListener("scroll", this, this._scrollEventListenerOptions), this._clippingAncestors.forEach((t) => {
@@ -199,8 +199,7 @@ class Q {
199
199
  }), this._hostElementRO.observe(this._scrollerController.element), this._children.forEach((t) => this._childrenRO.observe(t)), this._scrollEventListeners.forEach((t) => t.addEventListener("scroll", this, this._scrollEventListenerOptions));
200
200
  }
201
201
  disconnected() {
202
- var t, e, i, r;
203
- this._scrollEventListeners.forEach((l) => l.removeEventListener("scroll", this, this._scrollEventListenerOptions)), this._scrollEventListeners = [], this._clippingAncestors = [], (t = this._scrollerController) == null || t.detach(this), this._scrollerController = null, (e = this._mutationObserver) == null || e.disconnect(), this._mutationObserver = null, (i = this._hostElementRO) == null || i.disconnect(), this._hostElementRO = null, (r = this._childrenRO) == null || r.disconnect(), this._childrenRO = null, this._rejectLayoutCompletePromise("disconnected"), this._connected = !1;
202
+ this._scrollEventListeners.forEach((t) => t.removeEventListener("scroll", this, this._scrollEventListenerOptions)), this._scrollEventListeners = [], this._clippingAncestors = [], this._scrollerController?.detach(this), this._scrollerController = null, this._mutationObserver?.disconnect(), this._mutationObserver = null, this._hostElementRO?.disconnect(), this._hostElementRO = null, this._childrenRO?.disconnect(), this._childrenRO = null, this._rejectLayoutCompletePromise("disconnected"), this._connected = !1;
204
203
  }
205
204
  _applyVirtualizerStyles() {
206
205
  const t = this._hostElement.style;
@@ -230,7 +229,7 @@ class Q {
230
229
  const r = { ...t };
231
230
  delete r.type, e = r;
232
231
  } else e = t;
233
- i === void 0 && (O = i = (await import("./flow-B1wMqea2.js")).FlowLayout), this._layout = new i((r) => this._handleLayoutMessage(r), e), this._layout.measureChildren && typeof this._layout.updateItemSizes == "function" && (typeof this._layout.measureChildren == "function" && (this._measureChildOverride = this._layout.measureChildren), this._measureCallback = this._layout.updateItemSizes.bind(this._layout)), this._layout.listenForChildLoadEvents && this._hostElement.addEventListener("load", this._loadListener, !0), this._schedule(this._updateLayout);
232
+ i === void 0 && (O = i = (await import("./flow-DXYqC9OA.js")).FlowLayout), this._layout = new i((r) => this._handleLayoutMessage(r), e), this._layout.measureChildren && typeof this._layout.updateItemSizes == "function" && (typeof this._layout.measureChildren == "function" && (this._measureChildOverride = this._layout.measureChildren), this._measureCallback = this._layout.updateItemSizes.bind(this._layout)), this._layout.listenForChildLoadEvents && this._hostElement.addEventListener("load", this._loadListener, !0), this._schedule(this._updateLayout);
234
233
  }
235
234
  startBenchmarking() {
236
235
  this._benchmarkStart === null && (this._benchmarkStart = window.performance.now());
@@ -272,7 +271,6 @@ class Q {
272
271
  this._layout && this._connected && (this._layout.items = this._items, this._updateView(), this._childMeasurements !== null && (this._measureCallback && this._measureCallback(this._childMeasurements), this._childMeasurements = null), this._layout.reflowIfNeeded(), this._benchmarkStart && "mark" in window.performance && window.performance.mark("uv-end"));
273
272
  }
274
273
  _handleScrollEvent() {
275
- var t;
276
274
  if (this._benchmarkStart && "mark" in window.performance) {
277
275
  try {
278
276
  window.performance.measure("uv-virtualizing", "uv-start", "uv-end");
@@ -280,7 +278,7 @@ class Q {
280
278
  }
281
279
  window.performance.mark("uv-start");
282
280
  }
283
- this._scrollerController.correctingScrollError === !1 && ((t = this._layout) == null || t.unpin()), this._schedule(this._updateLayout);
281
+ this._scrollerController.correctingScrollError === !1 && this._layout?.unpin(), this._schedule(this._updateLayout);
284
282
  }
285
283
  handleEvent(t) {
286
284
  t.type === "scroll" && (t.currentTarget === window || this._clippingAncestors.includes(t.currentTarget)) && this._handleScrollEvent();
@@ -295,17 +293,16 @@ class Q {
295
293
  return t;
296
294
  }
297
295
  _updateView() {
298
- var r;
299
- const t = this._hostElement, e = (r = this._scrollerController) == null ? void 0 : r.element, i = this._layout;
296
+ const t = this._hostElement, e = this._scrollerController?.element, i = this._layout;
300
297
  if (t && e && i) {
301
- let l, o, c, h;
298
+ let r, l, o, c;
302
299
  const n = t.getBoundingClientRect();
303
- l = 0, o = 0, c = window.innerHeight, h = window.innerWidth;
304
- const y = this._clippingAncestors.map((m) => m.getBoundingClientRect());
305
- y.unshift(n);
306
- for (const m of y) l = Math.max(l, m.top), o = Math.max(o, m.left), c = Math.min(c, m.bottom), h = Math.min(h, m.right);
307
- const g = e.getBoundingClientRect(), $ = { left: n.left - g.left, top: n.top - g.top }, F = { width: e.scrollWidth, height: e.scrollHeight }, N = l - n.top + t.scrollTop, A = o - n.left + t.scrollLeft, B = Math.max(0, c - l), j = Math.max(0, h - o);
308
- i.viewportSize = { width: j, height: B }, i.viewportScroll = { top: N, left: A }, i.totalScrollSize = F, i.offsetWithinScroller = $;
300
+ r = 0, l = 0, o = window.innerHeight, c = window.innerWidth;
301
+ const h = this._clippingAncestors.map((m) => m.getBoundingClientRect());
302
+ h.unshift(n);
303
+ for (const m of h) r = Math.max(r, m.top), l = Math.max(l, m.left), o = Math.min(o, m.bottom), c = Math.min(c, m.right);
304
+ const y = e.getBoundingClientRect(), b = { left: n.left - y.left, top: n.top - y.top }, $ = { width: e.scrollWidth, height: e.scrollHeight }, F = r - n.top + t.scrollTop, N = l - n.left + t.scrollLeft, A = Math.max(0, o - r), B = Math.max(0, c - l);
305
+ i.viewportSize = { width: B, height: A }, i.viewportScroll = { top: F, left: N }, i.totalScrollSize = $, i.offsetWithinScroller = b;
309
306
  }
310
307
  }
311
308
  _sizeHostElement(t) {
@@ -317,9 +314,9 @@ class Q {
317
314
  }
318
315
  }
319
316
  _positionChildren(t) {
320
- t && t.forEach(({ top: e, left: i, width: r, height: l, xOffset: o, yOffset: c }, h) => {
321
- const n = this._children[h - this._first];
322
- n && (n.style.position = "absolute", n.style.boxSizing = "border-box", n.style.transform = `translate(${i}px, ${e}px)`, r !== void 0 && (n.style.width = r + "px"), l !== void 0 && (n.style.height = l + "px"), n.style.left = o === void 0 ? null : o + "px", n.style.top = c === void 0 ? null : c + "px");
317
+ t && t.forEach(({ top: e, left: i, width: r, height: l, xOffset: o, yOffset: c }, n) => {
318
+ const h = this._children[n - this._first];
319
+ h && (h.style.position = "absolute", h.style.boxSizing = "border-box", h.style.transform = `translate(${i}px, ${e}px)`, r !== void 0 && (h.style.width = r + "px"), l !== void 0 && (h.style.height = l + "px"), h.style.left = o === void 0 ? null : o + "px", h.style.top = c === void 0 ? null : c + "px");
323
320
  });
324
321
  }
325
322
  async _adjustRange(t) {
@@ -333,8 +330,7 @@ class Q {
333
330
  }
334
331
  }
335
332
  element(t) {
336
- var e;
337
- return t === 1 / 0 && (t = this._items.length - 1), ((e = this._items) == null ? void 0 : e[t]) === void 0 ? void 0 : { scrollIntoView: (i = {}) => this._scrollElementIntoView({ ...i, index: t }) };
333
+ return t === 1 / 0 && (t = this._items.length - 1), this._items?.[t] === void 0 ? void 0 : { scrollIntoView: (e = {}) => this._scrollElementIntoView({ ...e, index: t }) };
338
334
  }
339
335
  _scrollElementIntoView(t) {
340
336
  if (t.index >= this._first && t.index <= this._last) this._children[t.index - this._first].scrollIntoView(t);
@@ -345,7 +341,7 @@ class Q {
345
341
  }
346
342
  _checkScrollIntoViewTarget(t) {
347
343
  const { index: e } = this._scrollIntoViewTarget || {};
348
- e && (t != null && t.has(e)) && this._updateScrollIntoViewCoordinates(this._layout.getScrollIntoViewCoordinates(this._scrollIntoViewTarget));
344
+ e && t?.has(e) && this._updateScrollIntoViewCoordinates(this._layout.getScrollIntoViewCoordinates(this._scrollIntoViewTarget));
349
345
  }
350
346
  _notifyRange() {
351
347
  this._hostElement.dispatchEvent(new E({ first: this._first, last: this._last }));
@@ -376,9 +372,8 @@ class Q {
376
372
  _childLoaded() {
377
373
  }
378
374
  _childrenSizeChanged(t) {
379
- var e;
380
- if ((e = this._layout) != null && e.measureChildren) {
381
- for (const i of t) this._toBeMeasured.set(i.target, i.contentRect);
375
+ if (this._layout?.measureChildren) {
376
+ for (const e of t) this._toBeMeasured.set(e.target, e.contentRect);
382
377
  this._measureChildren();
383
378
  }
384
379
  this._scheduleLayoutComplete(), this._itemsChanged = !1, this._rangeChanged = !1;
@@ -394,20 +389,20 @@ function V(s) {
394
389
  const t = s.parentNode;
395
390
  return t && t.nodeType === Node.DOCUMENT_FRAGMENT_NODE && t.host || null;
396
391
  }
397
- const R = (s) => s, I = (s, t) => a`${t}: ${JSON.stringify(s, null, 2)}`, Z = W(class extends U {
392
+ const R = (s) => s, I = (s, t) => a`${t}: ${JSON.stringify(s, null, 2)}`, Q = H(class extends q {
398
393
  constructor(s) {
399
- if (super(s), this._virtualizer = null, this._first = 0, this._last = -1, this._renderItem = (t, e) => I(t, e + this._first), this._keyFunction = (t, e) => R(t, this._first), this._items = [], s.type !== q.CHILD) throw new Error("The virtualize directive can only be used in child expressions");
394
+ if (super(s), this._virtualizer = null, this._first = 0, this._last = -1, this._renderItem = (t, e) => I(t, e + this._first), this._keyFunction = (t, e) => R(t, this._first), this._items = [], s.type !== W.CHILD) throw new Error("The virtualize directive can only be used in child expressions");
400
395
  }
401
396
  render(s) {
402
397
  s && this._setFunctions(s);
403
398
  const t = [];
404
399
  if (this._first >= 0 && this._last >= this._first) for (let e = this._first; e <= this._last; e++) t.push(this._items[e]);
405
- return G(t, this._keyFunction, this._renderItem);
400
+ return U(t, this._keyFunction, this._renderItem);
406
401
  }
407
402
  update(s, [t]) {
408
403
  this._setFunctions(t);
409
404
  const e = this._items !== t.items;
410
- return this._items = t.items || [], this._virtualizer ? this._updateVirtualizerConfig(s, t) : this._initialize(s, t), e ? P : this.render();
405
+ return this._items = t.items || [], this._virtualizer ? this._updateVirtualizerConfig(s, t) : this._initialize(s, t), e ? j : this.render();
411
406
  }
412
407
  async _updateVirtualizerConfig(s, t) {
413
408
  if (!await this._virtualizer.updateLayoutConfig(t.layout || {})) {
@@ -423,7 +418,7 @@ const R = (s) => s, I = (s, t) => a`${t}: ${JSON.stringify(s, null, 2)}`, Z = W(
423
418
  _makeVirtualizer(s, t) {
424
419
  this._virtualizer && this._virtualizer.disconnected();
425
420
  const { layout: e, scroller: i, items: r } = t;
426
- this._virtualizer = new Q({ hostElement: s, layout: e, scroller: i }), this._virtualizer.items = r, this._virtualizer.connected();
421
+ this._virtualizer = new K({ hostElement: s, layout: e, scroller: i }), this._virtualizer.items = r, this._virtualizer.connected();
427
422
  }
428
423
  _initialize(s, t) {
429
424
  const e = s.parentNode;
@@ -432,15 +427,13 @@ const R = (s) => s, I = (s, t) => a`${t}: ${JSON.stringify(s, null, 2)}`, Z = W(
432
427
  }), this._makeVirtualizer(e, t));
433
428
  }
434
429
  disconnected() {
435
- var s;
436
- (s = this._virtualizer) == null || s.disconnected();
430
+ this._virtualizer?.disconnected();
437
431
  }
438
432
  reconnected() {
439
- var s;
440
- (s = this._virtualizer) == null || s.connected();
433
+ this._virtualizer?.connected();
441
434
  }
442
435
  });
443
- class p extends H {
436
+ class p extends P {
444
437
  constructor() {
445
438
  super(...arguments), this.items = [], this.renderItem = I, this.keyFunction = R, this.layout = {}, this.scroller = !1;
446
439
  }
@@ -449,25 +442,22 @@ class p extends H {
449
442
  }
450
443
  render() {
451
444
  const { items: t, renderItem: e, keyFunction: i, layout: r, scroller: l } = this;
452
- return a`${Z({ items: t, renderItem: e, keyFunction: i, layout: r, scroller: l })}`;
445
+ return a`${Q({ items: t, renderItem: e, keyFunction: i, layout: r, scroller: l })}`;
453
446
  }
454
447
  element(t) {
455
- var e;
456
- return (e = this[T]) == null ? void 0 : e.element(t);
448
+ return this[T]?.element(t);
457
449
  }
458
450
  get layoutComplete() {
459
- var t;
460
- return (t = this[T]) == null ? void 0 : t.layoutComplete;
451
+ return this[T]?.layoutComplete;
461
452
  }
462
453
  scrollToIndex(t, e = "start") {
463
- var i;
464
- (i = this.element(t)) == null || i.scrollIntoView({ block: e });
454
+ this.element(t)?.scrollIntoView({ block: e });
465
455
  }
466
456
  }
467
- f([v({ attribute: !1 })], p.prototype, "items", void 0), f([v()], p.prototype, "renderItem", void 0), f([v()], p.prototype, "keyFunction", void 0), f([v({ attribute: !1 })], p.prototype, "layout", void 0), f([v({ reflect: !0, type: Boolean })], p.prototype, "scroller", void 0), customElements.define("lit-virtualizer", p);
468
- var tt = Object.defineProperty, et = Object.getOwnPropertyDescriptor, d = (s, t, e, i) => {
469
- for (var r, l = i > 1 ? void 0 : i ? et(t, e) : t, o = s.length - 1; o >= 0; o--) (r = s[o]) && (l = (i ? r(t, e, l) : r(l)) || l);
470
- return i && l && tt(t, e, l), l;
457
+ g([f({ attribute: !1 })], p.prototype, "items", void 0), g([f()], p.prototype, "renderItem", void 0), g([f()], p.prototype, "keyFunction", void 0), g([f({ attribute: !1 })], p.prototype, "layout", void 0), g([f({ reflect: !0, type: Boolean })], p.prototype, "scroller", void 0), customElements.define("lit-virtualizer", p);
458
+ var Z = Object.defineProperty, tt = Object.getOwnPropertyDescriptor, d = (s, t, e, i) => {
459
+ for (var r, l = i > 1 ? void 0 : i ? tt(t, e) : t, o = s.length - 1; o >= 0; o--) (r = s[o]) && (l = (i ? r(t, e, l) : r(l)) || l);
460
+ return i && l && Z(t, e, l), l;
471
461
  };
472
462
  let u = class extends D() {
473
463
  constructor() {
@@ -490,12 +480,12 @@ let u = class extends D() {
490
480
  if (typeof r == "number" && typeof l == "number") return this.sortDirection === "asc" ? r - l : l - r;
491
481
  const o = typeof r == "string" && !isNaN(Number(r)), c = typeof l == "string" && !isNaN(Number(l));
492
482
  if (o && c) {
493
- const y = parseFloat(r), g = parseFloat(l);
494
- return this.sortDirection === "asc" ? y - g : g - y;
483
+ const y = parseFloat(r), b = parseFloat(l);
484
+ return this.sortDirection === "asc" ? y - b : b - y;
495
485
  }
496
486
  if (this.isDate(r) && this.isDate(l)) return this.sortDirection === "asc" ? r.getTime() - l.getTime() : l.getTime() - r.getTime();
497
- const h = String(r), n = String(l);
498
- return this.sortDirection === "asc" ? h.localeCompare(n) : n.localeCompare(h);
487
+ const n = String(r), h = String(l);
488
+ return this.sortDirection === "asc" ? n.localeCompare(h) : h.localeCompare(n);
499
489
  });
500
490
  }
501
491
  this.filteredData = s;
@@ -563,7 +553,7 @@ let u = class extends D() {
563
553
  };
564
554
  d([_({ type: Array, attribute: !1 })], u.prototype, "columns", 2), d([_({ type: Array, attribute: !1 })], u.prototype, "data", 2), d([_({ type: String })], u.prototype, "keyField", 2), d([_({ type: String })], u.prototype, "cols", 2), d([_({ type: Boolean })], u.prototype, "sortable", 2), d([x()], u.prototype, "sortColumn", 2), d([x()], u.prototype, "sortDirection", 2), d([x()], u.prototype, "filteredData", 2), u = d([M("schmancy-table")], u);
565
555
  export {
566
- b as S,
556
+ v as S,
567
557
  u as a
568
558
  };
569
- //# sourceMappingURL=table-BY56H-_F.js.map
559
+ //# sourceMappingURL=table-BNUCQw-a.js.map