@mhmo91/schmancy 0.9.6 → 0.9.8

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 (329) hide show
  1. package/dist/{area-BARjKpE9.js → area-B7dO3iQk.js} +1 -1
  2. package/dist/{area-BARjKpE9.js.map → area-B7dO3iQk.js.map} +1 -1
  3. package/dist/{area-D9b9dHQr.cjs → area-BO1pgdqV.cjs} +1 -1
  4. package/dist/{area-D9b9dHQr.cjs.map → area-BO1pgdqV.cjs.map} +1 -1
  5. package/dist/area.cjs +1 -1
  6. package/dist/area.js +1 -1
  7. package/dist/{autocomplete-AI2CCJmK.cjs → autocomplete-C5zoEBRG.cjs} +1 -1
  8. package/dist/{autocomplete-AI2CCJmK.cjs.map → autocomplete-C5zoEBRG.cjs.map} +1 -1
  9. package/dist/{autocomplete-DOimwVMP.js → autocomplete-DDi9TXif.js} +2 -2
  10. package/dist/{autocomplete-DOimwVMP.js.map → autocomplete-DDi9TXif.js.map} +1 -1
  11. package/dist/autocomplete.cjs +1 -1
  12. package/dist/autocomplete.js +1 -1
  13. package/dist/badge.cjs +1 -1
  14. package/dist/badge.js +1 -1
  15. package/dist/{boat-Bk4u-LzT.cjs → boat-C79wzYg9.cjs} +1 -1
  16. package/dist/{boat-Bk4u-LzT.cjs.map → boat-C79wzYg9.cjs.map} +1 -1
  17. package/dist/{boat-DrghVeWK.js → boat-i8DrhLYx.js} +1 -1
  18. package/dist/{boat-DrghVeWK.js.map → boat-i8DrhLYx.js.map} +1 -1
  19. package/dist/boat.cjs +1 -1
  20. package/dist/boat.js +1 -1
  21. package/dist/breadcrumb.cjs +1 -1
  22. package/dist/breadcrumb.js +1 -1
  23. package/dist/{busy-BmFfwyz_.js → busy--fpj3der.js} +1 -1
  24. package/dist/{busy-BmFfwyz_.js.map → busy--fpj3der.js.map} +1 -1
  25. package/dist/{busy-c_q_F8O0.cjs → busy-M-hbbgXX.cjs} +1 -1
  26. package/dist/{busy-c_q_F8O0.cjs.map → busy-M-hbbgXX.cjs.map} +1 -1
  27. package/dist/busy.cjs +1 -1
  28. package/dist/busy.js +1 -1
  29. package/dist/button.cjs +1 -1
  30. package/dist/button.js +1 -1
  31. package/dist/{card-C_E944_Z.cjs → card-CU_ua_iC.cjs} +1 -1
  32. package/dist/{card-C_E944_Z.cjs.map → card-CU_ua_iC.cjs.map} +1 -1
  33. package/dist/{card-BADJHUMA.js → card-fR0jl5bl.js} +1 -1
  34. package/dist/{card-BADJHUMA.js.map → card-fR0jl5bl.js.map} +1 -1
  35. package/dist/card.cjs +1 -1
  36. package/dist/card.js +1 -1
  37. package/dist/charts.cjs +1 -1
  38. package/dist/charts.js +1 -1
  39. package/dist/{checkbox-ZqDoCagB.cjs → checkbox-B_1r4sSi.cjs} +1 -1
  40. package/dist/{checkbox-ZqDoCagB.cjs.map → checkbox-B_1r4sSi.cjs.map} +1 -1
  41. package/dist/{checkbox-D7rvCrGk.js → checkbox-DhGwxLUA.js} +1 -1
  42. package/dist/{checkbox-D7rvCrGk.js.map → checkbox-DhGwxLUA.js.map} +1 -1
  43. package/dist/checkbox.cjs +1 -1
  44. package/dist/checkbox.js +1 -1
  45. package/dist/{chips-vdzIsesI.js → chips-6oL8s3aa.js} +3 -3
  46. package/dist/{chips-vdzIsesI.js.map → chips-6oL8s3aa.js.map} +1 -1
  47. package/dist/{chips-Cux635Qs.cjs → chips-CPwBTyPc.cjs} +1 -1
  48. package/dist/{chips-Cux635Qs.cjs.map → chips-CPwBTyPc.cjs.map} +1 -1
  49. package/dist/chips.cjs +1 -1
  50. package/dist/chips.js +2 -2
  51. package/dist/{code-highlight-D6yruol6.js → code-highlight-boHQWw3m.js} +1 -1
  52. package/dist/{code-highlight-D6yruol6.js.map → code-highlight-boHQWw3m.js.map} +1 -1
  53. package/dist/{code-highlight-C9lKek2p.cjs → code-highlight-q_CYpZwM.cjs} +1 -1
  54. package/dist/{code-highlight-C9lKek2p.cjs.map → code-highlight-q_CYpZwM.cjs.map} +1 -1
  55. package/dist/code-highlight.cjs +1 -1
  56. package/dist/code-highlight.js +1 -1
  57. package/dist/{components-DSvPKR9Q.js → components-CP0GAP1f.js} +1 -1
  58. package/dist/{components-DSvPKR9Q.js.map → components-CP0GAP1f.js.map} +1 -1
  59. package/dist/{components-ByRyEzz5.cjs → components-DctF7iZf.cjs} +1 -1
  60. package/dist/{components-ByRyEzz5.cjs.map → components-DctF7iZf.cjs.map} +1 -1
  61. package/dist/components.cjs +1 -1
  62. package/dist/components.js +1 -1
  63. package/dist/connectivity.cjs +1 -1
  64. package/dist/connectivity.js +1 -1
  65. package/dist/content-drawer.cjs +1 -1
  66. package/dist/content-drawer.js +1 -1
  67. package/dist/{date-range-DJsavigf.cjs → date-range-7tEEsDtV.cjs} +1 -1
  68. package/dist/{date-range-DJsavigf.cjs.map → date-range-7tEEsDtV.cjs.map} +1 -1
  69. package/dist/{date-range-tEX2Jx2j.js → date-range-BNs88xLm.js} +2 -2
  70. package/dist/{date-range-tEX2Jx2j.js.map → date-range-BNs88xLm.js.map} +1 -1
  71. package/dist/date-range.cjs +1 -1
  72. package/dist/date-range.js +1 -1
  73. package/dist/{delay-BvVdfhAR.cjs → delay-CLJt5qW-.cjs} +2 -2
  74. package/dist/{delay-BvVdfhAR.cjs.map → delay-CLJt5qW-.cjs.map} +1 -1
  75. package/dist/{delay-CZw37zps.js → delay-COZ8rqRd.js} +3 -3
  76. package/dist/{delay-CZw37zps.js.map → delay-COZ8rqRd.js.map} +1 -1
  77. package/dist/delay.cjs +1 -1
  78. package/dist/delay.js +1 -1
  79. package/dist/{details-Bhz8_whd.cjs → details-BPV8itUf.cjs} +1 -1
  80. package/dist/{details-Bhz8_whd.cjs.map → details-BPV8itUf.cjs.map} +1 -1
  81. package/dist/{details-D7VTnLOh.js → details-DkFwn_vQ.js} +1 -1
  82. package/dist/{details-D7VTnLOh.js.map → details-DkFwn_vQ.js.map} +1 -1
  83. package/dist/details.cjs +1 -1
  84. package/dist/details.js +1 -1
  85. package/dist/dialog.cjs +1 -1
  86. package/dist/dialog.js +1 -1
  87. package/dist/{divider-S0bHwCCS.cjs → divider-CvPXQI-l.cjs} +1 -1
  88. package/dist/{divider-S0bHwCCS.cjs.map → divider-CvPXQI-l.cjs.map} +1 -1
  89. package/dist/{divider-zS232JDr.js → divider-DIrCxVmp.js} +1 -1
  90. package/dist/{divider-zS232JDr.js.map → divider-DIrCxVmp.js.map} +1 -1
  91. package/dist/divider.cjs +1 -1
  92. package/dist/divider.js +1 -1
  93. package/dist/dropdown.cjs +1 -1
  94. package/dist/dropdown.js +2 -2
  95. package/dist/{expand-Dr7TFXpl.cjs → expand-BRRNL58x.cjs} +1 -1
  96. package/dist/{expand-Dr7TFXpl.cjs.map → expand-BRRNL58x.cjs.map} +1 -1
  97. package/dist/{expand-BXt9SqAF.js → expand-Bi1crOOq.js} +2 -2
  98. package/dist/{expand-BXt9SqAF.js.map → expand-Bi1crOOq.js.map} +1 -1
  99. package/dist/expand.cjs +1 -1
  100. package/dist/expand.js +1 -1
  101. package/dist/{extra-BmZTXAp0.cjs → extra-CKwEMtT6.cjs} +1 -1
  102. package/dist/{extra-BmZTXAp0.cjs.map → extra-CKwEMtT6.cjs.map} +1 -1
  103. package/dist/{extra-COYhsOyZ.js → extra-Ds5LPr-k.js} +1 -1
  104. package/dist/{extra-COYhsOyZ.js.map → extra-Ds5LPr-k.js.map} +1 -1
  105. package/dist/extra.cjs +1 -1
  106. package/dist/extra.js +1 -1
  107. package/dist/{float-DCXafWh6.js → float-ByMCGgya.js} +1 -1
  108. package/dist/{float-DCXafWh6.js.map → float-ByMCGgya.js.map} +1 -1
  109. package/dist/{float-CSRW-Rrd.cjs → float-DJ3lbO3d.cjs} +1 -1
  110. package/dist/{float-CSRW-Rrd.cjs.map → float-DJ3lbO3d.cjs.map} +1 -1
  111. package/dist/float.cjs +1 -1
  112. package/dist/float.js +1 -1
  113. package/dist/{icons-BbaI9Zf-.js → icons-ChMKOSdK.js} +1 -1
  114. package/dist/{icons-BbaI9Zf-.js.map → icons-ChMKOSdK.js.map} +1 -1
  115. package/dist/{icons-DPUeLS_Y.cjs → icons-MgnlVoKr.cjs} +1 -1
  116. package/dist/{icons-DPUeLS_Y.cjs.map → icons-MgnlVoKr.cjs.map} +1 -1
  117. package/dist/icons.cjs +1 -1
  118. package/dist/icons.js +1 -1
  119. package/dist/{iframe-Ct50FYXq.cjs → iframe-C3mPpxWx.cjs} +1 -1
  120. package/dist/{iframe-Ct50FYXq.cjs.map → iframe-C3mPpxWx.cjs.map} +1 -1
  121. package/dist/{iframe-CEDOvkql.js → iframe-DdOaufbd.js} +1 -1
  122. package/dist/{iframe-CEDOvkql.js.map → iframe-DdOaufbd.js.map} +1 -1
  123. package/dist/iframe.cjs +1 -1
  124. package/dist/iframe.js +1 -1
  125. package/dist/index.cjs +1 -1
  126. package/dist/index.js +31 -31
  127. package/dist/{input-chip-BhjGVpc3.cjs → input-chip-Cof2Ui_y.cjs} +1 -1
  128. package/dist/{input-chip-BhjGVpc3.cjs.map → input-chip-Cof2Ui_y.cjs.map} +1 -1
  129. package/dist/{input-chip-CI4__N8w.js → input-chip-DKfmywnj.js} +1 -1
  130. package/dist/{input-chip-CI4__N8w.js.map → input-chip-DKfmywnj.js.map} +1 -1
  131. package/dist/json.cjs +1 -1
  132. package/dist/json.js +2 -2
  133. package/dist/kbd.cjs +1 -1
  134. package/dist/kbd.js +1 -1
  135. package/dist/{layout-uAQpJN31.js → layout-ChgTE8pM.js} +2 -2
  136. package/dist/{layout-uAQpJN31.js.map → layout-ChgTE8pM.js.map} +1 -1
  137. package/dist/{layout-D7xOqMkJ.cjs → layout-DYa9sgiB.cjs} +1 -1
  138. package/dist/{layout-D7xOqMkJ.cjs.map → layout-DYa9sgiB.cjs.map} +1 -1
  139. package/dist/layout.cjs +1 -1
  140. package/dist/layout.js +2 -2
  141. package/dist/{lightbox-cXRnvHMN.cjs → lightbox-C4EsSbSe.cjs} +2 -2
  142. package/dist/{lightbox-cXRnvHMN.cjs.map → lightbox-C4EsSbSe.cjs.map} +1 -1
  143. package/dist/{lightbox-C0OEHns9.js → lightbox-D3qrClhy.js} +2 -2
  144. package/dist/{lightbox-C0OEHns9.js.map → lightbox-D3qrClhy.js.map} +1 -1
  145. package/dist/lightbox.cjs +1 -1
  146. package/dist/lightbox.js +1 -1
  147. package/dist/{list-CmJ5h35b.cjs → list-BIZgIR4b.cjs} +2 -2
  148. package/dist/{list-CmJ5h35b.cjs.map → list-BIZgIR4b.cjs.map} +1 -1
  149. package/dist/{list-d1mHar5p.js → list-D3Qn7ipV.js} +2 -2
  150. package/dist/{list-d1mHar5p.js.map → list-D3Qn7ipV.js.map} +1 -1
  151. package/dist/list.cjs +1 -1
  152. package/dist/list.js +1 -1
  153. package/dist/{litElement.mixin-CncaUoxz.js → litElement.mixin-8Ow4xwZs.js} +1 -1
  154. package/dist/{litElement.mixin-CncaUoxz.js.map → litElement.mixin-8Ow4xwZs.js.map} +1 -1
  155. package/dist/litElement.mixin-DE2UvM55.cjs +1 -0
  156. package/dist/{litElement.mixin-Bj2q1yPw.cjs.map → litElement.mixin-DE2UvM55.cjs.map} +1 -1
  157. package/dist/{mailbox-BmChskZc.cjs → mailbox-B1YmDL3b.cjs} +1 -1
  158. package/dist/{mailbox-BmChskZc.cjs.map → mailbox-B1YmDL3b.cjs.map} +1 -1
  159. package/dist/{mailbox-C4-E93be.js → mailbox-Bw9UiZST.js} +4 -4
  160. package/dist/{mailbox-C4-E93be.js.map → mailbox-Bw9UiZST.js.map} +1 -1
  161. package/dist/mailbox.cjs +1 -1
  162. package/dist/mailbox.js +1 -1
  163. package/dist/{map-DYEvlNl0.cjs → map-nnA6w4z7.cjs} +1 -1
  164. package/dist/{map-DYEvlNl0.cjs.map → map-nnA6w4z7.cjs.map} +1 -1
  165. package/dist/{map-DHyYLhvy.js → map-rMQpUHI6.js} +1 -1
  166. package/dist/{map-DHyYLhvy.js.map → map-rMQpUHI6.js.map} +1 -1
  167. package/dist/map.cjs +1 -1
  168. package/dist/map.js +1 -1
  169. package/dist/{menu-BlPTI6H9.cjs → menu-Br1KFAad.cjs} +1 -1
  170. package/dist/{menu-BlPTI6H9.cjs.map → menu-Br1KFAad.cjs.map} +1 -1
  171. package/dist/{menu-DFDBADp4.js → menu-cAVmaxrl.js} +1 -1
  172. package/dist/{menu-DFDBADp4.js.map → menu-cAVmaxrl.js.map} +1 -1
  173. package/dist/menu.cjs +1 -1
  174. package/dist/menu.js +1 -1
  175. package/dist/mixins.cjs +1 -1
  176. package/dist/mixins.cjs.map +1 -1
  177. package/dist/mixins.js +18 -18
  178. package/dist/mixins.js.map +1 -1
  179. package/dist/nav-drawer.cjs +1 -1
  180. package/dist/nav-drawer.js +1 -1
  181. package/dist/navigation-bar.cjs +1 -1
  182. package/dist/navigation-bar.js +1 -1
  183. package/dist/navigation-rail.cjs +1 -1
  184. package/dist/navigation-rail.js +1 -1
  185. package/dist/{notification-DGpv8g2H.js → notification-BLpGe-wh.js} +2 -2
  186. package/dist/{notification-DGpv8g2H.js.map → notification-BLpGe-wh.js.map} +1 -1
  187. package/dist/{notification-DKVWYhqs.cjs → notification-BkheXqRD.cjs} +1 -1
  188. package/dist/{notification-DKVWYhqs.cjs.map → notification-BkheXqRD.cjs.map} +1 -1
  189. package/dist/notification.cjs +1 -1
  190. package/dist/notification.js +1 -1
  191. package/dist/{option-LtSDy2xf.cjs → option-BZFwr2I3.cjs} +1 -1
  192. package/dist/{option-LtSDy2xf.cjs.map → option-BZFwr2I3.cjs.map} +1 -1
  193. package/dist/{option-BD2eh458.js → option-CK1PZE3k.js} +1 -1
  194. package/dist/{option-BD2eh458.js.map → option-CK1PZE3k.js.map} +1 -1
  195. package/dist/option.cjs +1 -1
  196. package/dist/option.js +1 -1
  197. package/dist/page.cjs +1 -1
  198. package/dist/page.js +2 -2
  199. package/dist/{progress-B5ChDPbB.cjs → progress-157sda_G.cjs} +1 -1
  200. package/dist/{progress-B5ChDPbB.cjs.map → progress-157sda_G.cjs.map} +1 -1
  201. package/dist/{progress-CE1Pk2hi.js → progress-BSK1MBi6.js} +1 -1
  202. package/dist/{progress-CE1Pk2hi.js.map → progress-BSK1MBi6.js.map} +1 -1
  203. package/dist/progress.cjs +1 -1
  204. package/dist/progress.js +1 -1
  205. package/dist/{provide-jn1Fj1vv.js → provide-BX1YYYHU.js} +1 -1
  206. package/dist/{provide-jn1Fj1vv.js.map → provide-BX1YYYHU.js.map} +1 -1
  207. package/dist/{provide-BZ9lq_Be.cjs → provide-NUGEUOHp.cjs} +1 -1
  208. package/dist/{provide-BZ9lq_Be.cjs.map → provide-NUGEUOHp.cjs.map} +1 -1
  209. package/dist/qr-scanner.cjs +1 -1
  210. package/dist/qr-scanner.js +1 -1
  211. package/dist/{radio-group-CyRHgIF3.js → radio-group-9VA-wY8o.js} +1 -1
  212. package/dist/{radio-group-CyRHgIF3.js.map → radio-group-9VA-wY8o.js.map} +1 -1
  213. package/dist/{radio-group-Cd9pZ2MR.cjs → radio-group-DIuyW_zT.cjs} +1 -1
  214. package/dist/{radio-group-Cd9pZ2MR.cjs.map → radio-group-DIuyW_zT.cjs.map} +1 -1
  215. package/dist/radio-group.cjs +1 -1
  216. package/dist/radio-group.js +1 -1
  217. package/dist/range.cjs +1 -1
  218. package/dist/range.js +1 -1
  219. package/dist/{scroll-DoliwpRu.js → scroll-BgIiwCLp.js} +1 -1
  220. package/dist/{scroll-DoliwpRu.js.map → scroll-BgIiwCLp.js.map} +1 -1
  221. package/dist/{scroll-C_iNOi7E.cjs → scroll-av3Fhnz1.cjs} +1 -1
  222. package/dist/{scroll-C_iNOi7E.cjs.map → scroll-av3Fhnz1.cjs.map} +1 -1
  223. package/dist/{select-_vHPXi30.js → select-CWsa-TPR.js} +1 -1
  224. package/dist/{select-_vHPXi30.js.map → select-CWsa-TPR.js.map} +1 -1
  225. package/dist/{select-CWWuZ2iJ.cjs → select-zUX2du9q.cjs} +1 -1
  226. package/dist/{select-CWWuZ2iJ.cjs.map → select-zUX2du9q.cjs.map} +1 -1
  227. package/dist/select.cjs +1 -1
  228. package/dist/select.js +1 -1
  229. package/dist/{sheet-r0oEYIdi.cjs → sheet-BPIUTIWk.cjs} +1 -1
  230. package/dist/{sheet-r0oEYIdi.cjs.map → sheet-BPIUTIWk.cjs.map} +1 -1
  231. package/dist/{sheet-i1KtxGIj.js → sheet-d74jGRIZ.js} +3 -3
  232. package/dist/{sheet-i1KtxGIj.js.map → sheet-d74jGRIZ.js.map} +1 -1
  233. package/dist/sheet.cjs +1 -1
  234. package/dist/sheet.js +2 -2
  235. package/dist/{sheet.service-Cr13Oo6G.cjs → sheet.service-B9o9wHcT.cjs} +1 -1
  236. package/dist/{sheet.service-Cr13Oo6G.cjs.map → sheet.service-B9o9wHcT.cjs.map} +1 -1
  237. package/dist/{sheet.service-DUO5_kmI.js → sheet.service-BV04hex5.js} +1 -1
  238. package/dist/{sheet.service-DUO5_kmI.js.map → sheet.service-BV04hex5.js.map} +1 -1
  239. package/dist/skeleton.cjs +1 -1
  240. package/dist/skeleton.js +1 -1
  241. package/dist/slider.cjs +1 -1
  242. package/dist/slider.js +1 -1
  243. package/dist/{splash-screen-CquyPP1C.cjs → splash-screen-DWEuDl82.cjs} +1 -1
  244. package/dist/{splash-screen-CquyPP1C.cjs.map → splash-screen-DWEuDl82.cjs.map} +1 -1
  245. package/dist/{splash-screen-CvucPkpD.js → splash-screen-pL-0E3Qf.js} +1 -1
  246. package/dist/{splash-screen-CvucPkpD.js.map → splash-screen-pL-0E3Qf.js.map} +1 -1
  247. package/dist/splash-screen.cjs +1 -1
  248. package/dist/splash-screen.js +1 -1
  249. package/dist/{src-Bemk2C2P.cjs → src-BOQLhS_P.cjs} +6 -6
  250. package/dist/{src-Bemk2C2P.cjs.map → src-BOQLhS_P.cjs.map} +1 -1
  251. package/dist/{src-f5a3W9Mj.js → src-D23NBj1v.js} +40 -40
  252. package/dist/{src-f5a3W9Mj.js.map → src-D23NBj1v.js.map} +1 -1
  253. package/dist/steps.cjs +2 -2
  254. package/dist/steps.js +3 -3
  255. package/dist/{surface-CDufon40.cjs → surface-C_5i3jWp.cjs} +1 -1
  256. package/dist/{surface-CDufon40.cjs.map → surface-C_5i3jWp.cjs.map} +1 -1
  257. package/dist/{surface-CkEYJCae.js → surface-DBAbNfJd.js} +2 -2
  258. package/dist/{surface-CkEYJCae.js.map → surface-DBAbNfJd.js.map} +1 -1
  259. package/dist/surface.cjs +1 -1
  260. package/dist/surface.js +1 -1
  261. package/dist/switch.cjs +1 -1
  262. package/dist/switch.js +1 -1
  263. package/dist/{table-DWc1mkpj.cjs → table-CRZe8D5I.cjs} +1 -1
  264. package/dist/{table-DWc1mkpj.cjs.map → table-CRZe8D5I.cjs.map} +1 -1
  265. package/dist/{table-P6VGG7NK.js → table-pcTVURal.js} +1 -1
  266. package/dist/{table-P6VGG7NK.js.map → table-pcTVURal.js.map} +1 -1
  267. package/dist/table.cjs +1 -1
  268. package/dist/table.js +1 -1
  269. package/dist/{tabs-CjGjGrqY.js → tabs-DajjPImp.js} +2 -2
  270. package/dist/{tabs-CjGjGrqY.js.map → tabs-DajjPImp.js.map} +1 -1
  271. package/dist/{tabs-DGJEKuhC.cjs → tabs-vgQHudFo.cjs} +1 -1
  272. package/dist/{tabs-DGJEKuhC.cjs.map → tabs-vgQHudFo.cjs.map} +1 -1
  273. package/dist/tabs.cjs +1 -1
  274. package/dist/tabs.js +1 -1
  275. package/dist/{tailwind.mixin-Cpa-VnnX.cjs → tailwind.mixin-B9BI55A6.cjs} +1 -1
  276. package/dist/{tailwind.mixin-Cpa-VnnX.cjs.map → tailwind.mixin-B9BI55A6.cjs.map} +1 -1
  277. package/dist/{tailwind.mixin-DufHBjmb.js → tailwind.mixin-CZ3HjYZA.js} +23 -4
  278. package/dist/{tailwind.mixin-DufHBjmb.js.map → tailwind.mixin-CZ3HjYZA.js.map} +1 -1
  279. package/dist/teleport.cjs +1 -1
  280. package/dist/teleport.js +1 -1
  281. package/dist/{textarea-DZT_Ofp5.js → textarea-CkqzzIHS.js} +1 -1
  282. package/dist/{textarea-DZT_Ofp5.js.map → textarea-CkqzzIHS.js.map} +1 -1
  283. package/dist/{textarea-jmTOXrzl.cjs → textarea-DTw-PvJx.cjs} +1 -1
  284. package/dist/{textarea-jmTOXrzl.cjs.map → textarea-DTw-PvJx.cjs.map} +1 -1
  285. package/dist/textarea.cjs +1 -1
  286. package/dist/textarea.js +1 -1
  287. package/dist/{theme-CCKqaksQ.cjs → theme-BnOBTUu_.cjs} +2 -2
  288. package/dist/{theme-CCKqaksQ.cjs.map → theme-BnOBTUu_.cjs.map} +1 -1
  289. package/dist/{theme-CEc32pAv.js → theme-DO3BzTr2.js} +3 -3
  290. package/dist/{theme-CEc32pAv.js.map → theme-DO3BzTr2.js.map} +1 -1
  291. package/dist/{theme-button-BsJcv-Zv.cjs → theme-button-CnC3Ed_i.cjs} +1 -1
  292. package/dist/{theme-button-BsJcv-Zv.cjs.map → theme-button-CnC3Ed_i.cjs.map} +1 -1
  293. package/dist/{theme-button-dOiAvdKU.js → theme-button-DYP56JjA.js} +1 -1
  294. package/dist/{theme-button-dOiAvdKU.js.map → theme-button-DYP56JjA.js.map} +1 -1
  295. package/dist/theme-button.cjs +1 -1
  296. package/dist/theme-button.js +1 -1
  297. package/dist/theme.cjs +1 -1
  298. package/dist/theme.js +2 -2
  299. package/dist/tree.cjs +1 -1
  300. package/dist/tree.js +1 -1
  301. package/dist/{typewriter-vOQ3bDLb.js → typewriter-BfMcG1Ij.js} +3 -3
  302. package/dist/{typewriter-vOQ3bDLb.js.map → typewriter-BfMcG1Ij.js.map} +1 -1
  303. package/dist/{typewriter-ByIL2Mh-.cjs → typewriter-Bh1kC8iS.cjs} +2 -2
  304. package/dist/{typewriter-ByIL2Mh-.cjs.map → typewriter-Bh1kC8iS.cjs.map} +1 -1
  305. package/dist/typewriter.cjs +1 -1
  306. package/dist/typewriter.js +1 -1
  307. package/dist/typography.cjs +1 -1
  308. package/dist/typography.js +1 -1
  309. package/dist/visually-hidden.cjs +1 -1
  310. package/dist/visually-hidden.js +1 -1
  311. package/dist/{window-WnAihpsA.js → window-CDauTHQp.js} +1 -1
  312. package/dist/{window-WnAihpsA.js.map → window-CDauTHQp.js.map} +1 -1
  313. package/dist/{window-BS7ZQjgH.cjs → window-CXyGM5J0.cjs} +1 -1
  314. package/dist/{window-BS7ZQjgH.cjs.map → window-CXyGM5J0.cjs.map} +1 -1
  315. package/dist/window.cjs +1 -1
  316. package/dist/window.js +1 -1
  317. package/package.json +6 -3
  318. package/types/mixins/tailwind.mixin.d.ts +15 -0
  319. package/dist/litElement.mixin-Bj2q1yPw.cjs +0 -1
  320. package/mixins/baseElement.ts +0 -190
  321. package/mixins/constructor.ts +0 -3
  322. package/mixins/discovery.service.ts +0 -221
  323. package/mixins/formField.mixin.ts +0 -255
  324. package/mixins/index.ts +0 -7
  325. package/mixins/litElement.mixin.ts +0 -15
  326. package/mixins/scss.d.ts +0 -21
  327. package/mixins/surface.mixin.ts +0 -93
  328. package/mixins/tailwind.css +0 -560
  329. package/mixins/tailwind.mixin.ts +0 -30
@@ -1,221 +0,0 @@
1
- import { fromEvent, timer, race, Observable } from 'rxjs'
2
- import { takeUntil, map, defaultIfEmpty, take } from 'rxjs/operators'
3
-
4
- /**
5
- * Global discovery event names
6
- */
7
- const DISCOVER_EVENT = 'schmancy-discover'
8
- const DISCOVER_RESPONSE_EVENT = 'schmancy-discover-response'
9
-
10
- /**
11
- * Discovery request detail
12
- */
13
- interface DiscoverRequest {
14
- selector: string
15
- requestId: string
16
- }
17
-
18
- /**
19
- * Discovery response detail
20
- */
21
- interface DiscoverResponse {
22
- requestId: string
23
- element: HTMLElement
24
- }
25
-
26
- /**
27
- * Discover a component in the DOM using the WhereAreYou/HereIAm pattern.
28
- *
29
- * @param componentTag - The tag name of the component to discover (e.g., 'schmancy-navigation-rail')
30
- * @param timeout - How long to wait for a response in milliseconds (default: 100)
31
- * @returns Observable that emits the discovered component or null if not found
32
- */
33
- export function discoverComponent<T extends HTMLElement>(
34
- componentTag: string,
35
- timeout = 100,
36
- ): Observable<T | null> {
37
- const whereAreYouEvent = `${componentTag}-where-are-you`
38
- const hereIAmEvent = `${componentTag}-here-i-am`
39
-
40
- return new Observable(subscriber => {
41
- // Listen for response first (you were right!)
42
- const subscription = fromEvent<CustomEvent>(window, hereIAmEvent)
43
- .pipe(
44
- takeUntil(timer(timeout)),
45
- map(e => e.detail.component as T),
46
- defaultIfEmpty(null),
47
- )
48
- .subscribe(component => {
49
- subscriber.next(component)
50
- subscriber.complete()
51
- })
52
-
53
- // Then dispatch discovery request
54
- window.dispatchEvent(
55
- new CustomEvent(whereAreYouEvent, {
56
- bubbles: true,
57
- composed: true,
58
- }),
59
- )
60
-
61
- // Return cleanup function
62
- return () => subscription.unsubscribe()
63
- })
64
- }
65
-
66
- /**
67
- * Discover any of multiple components using race.
68
- * Returns the first component that responds.
69
- *
70
- * @param componentTags - Array of component tag names to discover
71
- * @returns Observable that emits the first discovered component or null if none found
72
- */
73
- export function discoverAnyComponent<T extends HTMLElement>(...componentTags: string[]): Observable<T | null> {
74
- if (componentTags.length === 0) {
75
- return new Observable(subscriber => {
76
- subscriber.next(null)
77
- subscriber.complete()
78
- })
79
- }
80
-
81
- return race(...componentTags.map(tag => discoverComponent<T>(tag)))
82
- }
83
-
84
- /**
85
- * Universal element discovery - finds ANY element by CSS selector across shadow DOM boundaries.
86
- * Uses event-based discovery pattern - no DOM traversal needed.
87
- *
88
- * How it works:
89
- * 1. Broadcasts a discovery request event on window
90
- * 2. All $LitElement components receive this event and check their shadow DOM
91
- * 3. If a match is found, they respond with the element
92
- *
93
- * @param selector - CSS selector (e.g., '#my-id', '.my-class', '[data-attr]')
94
- * @param timeout - How long to wait for a response in milliseconds (default: 150)
95
- * @returns Observable that emits the discovered element or null if not found
96
- *
97
- * @example
98
- * ```typescript
99
- * // Find element by ID across shadow boundaries
100
- * discoverElement('#app-card').subscribe(el => {
101
- * if (el) console.log('Found:', el)
102
- * })
103
- *
104
- * // Find element by class
105
- * discoverElement('.special-button').subscribe(el => {...})
106
- * ```
107
- */
108
- export function discoverElement<T extends HTMLElement>(
109
- selector: string,
110
- timeout = 150,
111
- ): Observable<T | null> {
112
- const requestId = `discover-${Date.now()}-${Math.random().toString(36).slice(2)}`
113
-
114
- return new Observable(subscriber => {
115
- // Listen for response first
116
- const subscription = fromEvent<CustomEvent<DiscoverResponse>>(window, DISCOVER_RESPONSE_EVENT)
117
- .pipe(
118
- takeUntil(timer(timeout)),
119
- map(e => e.detail),
120
- // Filter for our specific request
121
- map(detail => (detail.requestId === requestId ? (detail.element as T) : null)),
122
- // Only take the first non-null response
123
- take(1),
124
- defaultIfEmpty(null),
125
- )
126
- .subscribe(element => {
127
- subscriber.next(element)
128
- subscriber.complete()
129
- })
130
-
131
- // Broadcast discovery request
132
- window.dispatchEvent(
133
- new CustomEvent<DiscoverRequest>(DISCOVER_EVENT, {
134
- detail: { selector, requestId },
135
- bubbles: true,
136
- composed: true,
137
- }),
138
- )
139
-
140
- return () => subscription.unsubscribe()
141
- })
142
- }
143
-
144
- /**
145
- * Discover multiple elements matching a selector.
146
- * Collects all responses within the timeout period.
147
- *
148
- * @param selector - CSS selector
149
- * @param timeout - How long to collect responses (default: 150ms)
150
- * @returns Observable that emits array of discovered elements
151
- */
152
- export function discoverAllElements<T extends HTMLElement>(
153
- selector: string,
154
- timeout = 150,
155
- ): Observable<T[]> {
156
- const requestId = `discover-all-${Date.now()}-${Math.random().toString(36).slice(2)}`
157
- const elements: T[] = []
158
-
159
- return new Observable(subscriber => {
160
- // Collect all responses
161
- const subscription = fromEvent<CustomEvent<DiscoverResponse>>(window, DISCOVER_RESPONSE_EVENT)
162
- .pipe(takeUntil(timer(timeout)))
163
- .subscribe({
164
- next: e => {
165
- if (e.detail.requestId === requestId) {
166
- elements.push(e.detail.element as T)
167
- }
168
- },
169
- complete: () => {
170
- subscriber.next(elements)
171
- subscriber.complete()
172
- },
173
- })
174
-
175
- // Broadcast discovery request
176
- window.dispatchEvent(
177
- new CustomEvent<DiscoverRequest>(DISCOVER_EVENT, {
178
- detail: { selector, requestId },
179
- bubbles: true,
180
- composed: true,
181
- }),
182
- )
183
-
184
- return () => subscription.unsubscribe()
185
- })
186
- }
187
-
188
- /**
189
- * Smart discovery - automatically detects if input is a CSS selector or component tag.
190
- *
191
- * @param query - CSS selector (starts with #, ., [) OR component tag name
192
- * @param timeout - How long to wait (default: 150ms)
193
- * @returns Observable that emits the discovered element or null
194
- *
195
- * @example
196
- * ```typescript
197
- * // CSS selector - uses discoverElement
198
- * discover('#my-element').subscribe(...)
199
- *
200
- * // Component tag - uses discoverComponent
201
- * discover('schmancy-fancy').subscribe(...)
202
- * ```
203
- */
204
- export function discover<T extends HTMLElement>(
205
- query: string,
206
- timeout = 150,
207
- ): Observable<T | null> {
208
- // Check if it's a CSS selector (starts with #, ., or [)
209
- const isCssSelector = /^[#.\[]/.test(query)
210
-
211
- if (isCssSelector) {
212
- return discoverElement<T>(query, timeout)
213
- }
214
-
215
- // Otherwise treat as component tag name
216
- return discoverComponent<T>(query, timeout)
217
- }
218
-
219
- // Export event names for use in baseElement
220
- export { DISCOVER_EVENT, DISCOVER_RESPONSE_EVENT }
221
- export type { DiscoverRequest, DiscoverResponse }
@@ -1,255 +0,0 @@
1
- import { CSSResult, LitElement, PropertyValueMap } from 'lit'
2
- import { property } from 'lit/decorators.js'
3
- import { IBaseMixin } from './baseElement'
4
- import { Constructor } from './constructor'
5
- import { ITailwindElementMixin, TailwindElement } from './tailwind.mixin'
6
-
7
- /**
8
- * Cross-realm brand used by `<schmancy-form>` to discover form fields by
9
- * inheritance rather than tag-name allowlists. `Symbol.for` puts the symbol in
10
- * the global registry so detection works across module realms/bundles.
11
- */
12
- export const SCHMANCY_FORM_FIELD = Symbol.for('schmancy.form-field')
13
-
14
- /**
15
- * Interface defining the properties and methods that the FormFieldMixin adds.
16
- */
17
- export interface IFormFieldMixin extends Element {
18
- name: string
19
- value: string | string[] | boolean | number | undefined
20
- label: string
21
- required: boolean
22
- disabled: boolean
23
- readonly: boolean
24
- error: boolean
25
- validationMessage: string
26
- hint?: string
27
- id: string
28
-
29
- form: HTMLFormElement | null
30
-
31
- checkValidity(): boolean
32
- reportValidity(): boolean
33
- setCustomValidity(message: string): void
34
-
35
- toFormEntries(): Array<[string, FormDataEntryValue]>
36
- resetForm(): void
37
-
38
- emitChange(detail: any): void
39
- }
40
-
41
- /** Predicate used by `<schmancy-form>` to detect mixin descendants. */
42
- export function isSchmancyFormField(el: unknown): el is IFormFieldMixin {
43
- return !!el && typeof el === 'object' && (el as any).constructor?.[SCHMANCY_FORM_FIELD] === true
44
- }
45
-
46
- /**
47
- * A mixin that adds form field capabilities to a LitElement class.
48
- * Components that extend this mixin are automatically discovered and
49
- * collected by `<schmancy-form>` — no tag-name registration needed.
50
- *
51
- * Subclasses may override `toFormEntries()` to contribute multiple
52
- * name/value pairs to FormData (e.g. date-range, tag-input).
53
- *
54
- * @example
55
- * ```ts
56
- * class MyInput extends FormFieldMixin(TailwindElement(css`...`)) {
57
- * // Your component code here
58
- * }
59
- * ```
60
- */
61
- export function FormFieldMixin<T extends Constructor<LitElement>>(superClass: T) {
62
- class FormFieldMixinClass extends superClass {
63
- static formAssociated = true
64
-
65
- /** Brand for cross-realm detection by `<schmancy-form>`. */
66
- static readonly [SCHMANCY_FORM_FIELD] = true
67
-
68
- // Element internals for form association
69
- internals: ElementInternals | undefined
70
-
71
- /** Value snapshot captured at first render, used by `resetForm()`. */
72
- protected _defaultValue: string | string[] | boolean | number | undefined = undefined
73
-
74
- @property({ type: String })
75
- name: string = ''
76
-
77
- @property({ reflect: true })
78
- value: string | string[] | boolean | number | undefined = ''
79
-
80
- @property({ type: String })
81
- label: string = ''
82
-
83
- @property({ type: Boolean, reflect: true })
84
- required: boolean = false
85
-
86
- @property({ type: Boolean, reflect: true })
87
- disabled: boolean = false
88
-
89
- @property({ type: Boolean, reflect: true })
90
- readonly: boolean = false
91
-
92
- @property({ type: Boolean, reflect: true })
93
- error: boolean = false
94
-
95
- @property({ type: String })
96
- validationMessage: string = ''
97
-
98
- @property({ type: String })
99
- hint?: string
100
-
101
- @property({ reflect: true })
102
- override id: string = `schmancy-field-${Date.now()}-${Math.floor(Math.random() * 1000)}`
103
-
104
- constructor(...args: any[]) {
105
- super(...args)
106
- try {
107
- this.internals = this.attachInternals()
108
- } catch {
109
- this.internals = undefined
110
- }
111
- }
112
-
113
- /** The form this element is associated with (native FACE behavior). */
114
- get form(): HTMLFormElement | null {
115
- return this.internals?.form ?? null
116
- }
117
-
118
- protected firstUpdated(changedProps: PropertyValueMap<any>): void {
119
- super.firstUpdated?.(changedProps)
120
- if (this._defaultValue === undefined) this._defaultValue = this.value
121
- }
122
-
123
- protected willUpdate(changedProps: PropertyValueMap<any>): void {
124
- super.willUpdate(changedProps)
125
-
126
- if (changedProps.has('value')) {
127
- this.internals?.setFormValue(this.value as string | File | FormData | null)
128
- }
129
-
130
- if (changedProps.has('error') || changedProps.has('validationMessage')) {
131
- if (this.error && this.validationMessage) {
132
- this.internals?.setValidity({ customError: true }, this.validationMessage)
133
- } else {
134
- this.internals?.setValidity({})
135
- }
136
- }
137
-
138
- // Broadcast standard field states for consumer CSS: :state(invalid),
139
- // :state(required), :state(disabled), :state(readonly).
140
- if (changedProps.has('error')) {
141
- if (this.error) this.internals?.states.add('invalid')
142
- else this.internals?.states.delete('invalid')
143
- }
144
- if (changedProps.has('required')) {
145
- if (this.required) this.internals?.states.add('required')
146
- else this.internals?.states.delete('required')
147
- }
148
- if (changedProps.has('disabled')) {
149
- if (this.disabled) this.internals?.states.add('disabled')
150
- else this.internals?.states.delete('disabled')
151
- }
152
- if (changedProps.has('readonly')) {
153
- if (this.readonly) this.internals?.states.add('readonly')
154
- else this.internals?.states.delete('readonly')
155
- }
156
- }
157
-
158
- /**
159
- * Native FACE lifecycle — called by the browser when the owning form
160
- * is reset. Delegates to `resetForm()` so subclasses have one
161
- * override point for both programmatic and user-initiated resets.
162
- */
163
- formResetCallback(): void {
164
- this.resetForm()
165
- }
166
-
167
- /** Native FACE lifecycle — called when the form's disabled state changes. */
168
- formDisabledCallback(disabled: boolean): void {
169
- this.disabled = disabled
170
- }
171
-
172
- /**
173
- * Native FACE lifecycle — restore value after bfcache / form autofill.
174
- */
175
- formStateRestoreCallback(state: string | File | FormData | null): void {
176
- if (state == null) return
177
- this.value = state as any
178
- }
179
-
180
- /** Override to customize reset behavior; default restores `_defaultValue`. */
181
- resetForm(): void {
182
- this.value = this._defaultValue ?? ''
183
- this.error = false
184
- this.validationMessage = ''
185
- this.internals?.setValidity({})
186
- }
187
-
188
- /**
189
- * Contribute entries to a parent FormData. Default: a single
190
- * `[name, value]` pair when `name` is set and value is meaningful.
191
- * Override for multi-entry controls (e.g. date range).
192
- */
193
- toFormEntries(): Array<[string, FormDataEntryValue]> {
194
- if (!this.name || this.disabled) return []
195
- const v = this.value
196
- if (v === undefined || v === null || v === '') return []
197
- if (Array.isArray(v)) return v.map(item => [this.name, String(item)] as [string, FormDataEntryValue])
198
- if (typeof v === 'boolean') return v ? [[this.name, 'on']] : []
199
- return [[this.name, String(v)]]
200
- }
201
-
202
- checkValidity(): boolean {
203
- if (this.disabled) return true
204
- if (this.required && (this.value === '' || this.value === undefined || this.value === null)) {
205
- this.error = true
206
- this.validationMessage = 'This field is required'
207
- return false
208
- }
209
- return this.internals?.checkValidity() ?? true
210
- }
211
-
212
- reportValidity(): boolean {
213
- const isValid = this.checkValidity()
214
- if (!isValid) this.internals?.reportValidity()
215
- return isValid
216
- }
217
-
218
- setCustomValidity(message: string): void {
219
- this.validationMessage = message
220
- this.error = message !== ''
221
- if (message) {
222
- this.internals?.setValidity({ customError: true }, message)
223
- } else {
224
- this.internals?.setValidity({})
225
- }
226
- }
227
-
228
- emitChange(detail: any): void {
229
- if ('dispatchScopedEvent' in this && typeof this.dispatchScopedEvent === 'function') {
230
- this.dispatchScopedEvent('change', detail, { bubbles: true })
231
- } else {
232
- this.dispatchEvent(
233
- new CustomEvent('change', {
234
- detail,
235
- bubbles: true,
236
- composed: true,
237
- }),
238
- )
239
- }
240
- }
241
- }
242
-
243
- return FormFieldMixinClass as Constructor<IFormFieldMixin> & T
244
- }
245
-
246
- /**
247
- * A convenience function that composes FormFieldMixin with TailwindElement
248
- * to create a base class for Schmancy form components.
249
- */
250
- export function SchmancyFormField<T extends CSSResult>(componentStyle?: T) {
251
- return FormFieldMixin(TailwindElement(componentStyle)) as Constructor<IFormFieldMixin> &
252
- Constructor<ITailwindElementMixin> &
253
- Constructor<LitElement> &
254
- Constructor<IBaseMixin>
255
- }
package/mixins/index.ts DELETED
@@ -1,7 +0,0 @@
1
- export * from './baseElement';
2
- export * from './constructor';
3
- export * from './discovery.service';
4
- export * from './formField.mixin';
5
- export * from './litElement.mixin';
6
- export * from './surface.mixin';
7
- export * from './tailwind.mixin';
@@ -1,15 +0,0 @@
1
- import { CSSResult, LitElement } from 'lit'
2
- import { TailwindElement } from './tailwind.mixin'
3
- import { BaseElement, IBaseMixin } from './baseElement'
4
- import { Constructor } from './constructor'
5
-
6
- export const $LitElement = <T extends CSSResult>(componentStyle?: T) => {
7
- class TailwindMixinClass extends BaseElement(TailwindElement(componentStyle)) {
8
- disconnectedCallback = () => {
9
- super.disconnectedCallback()
10
- }
11
- }
12
- return TailwindMixinClass as CustomElementConstructor &
13
- Constructor<LitElement> &
14
- Constructor<IBaseMixin> /* see "typing the subclass" below */
15
- }
package/mixins/scss.d.ts DELETED
@@ -1,21 +0,0 @@
1
- declare module '*.scss?inline' {
2
- import { type CSSResult } from 'lit'
3
- const styles: CSSResult
4
- export default styles
5
- }
6
-
7
- declare module '*.module.scss' {
8
- const classes: Record<string, string>
9
- export default classes
10
- }
11
-
12
- declare module '*.css?inline' {
13
- import { type CSSResult } from 'lit'
14
- const styles: CSSResult
15
- export default styles
16
- }
17
-
18
- declare module '*.module.css' {
19
- const classes: Record<string, string>
20
- export default classes
21
- }
@@ -1,93 +0,0 @@
1
- import type { Constructor } from './constructor'
2
- import { CSSResultGroup, CSSResultOrNative, LitElement } from 'lit'
3
- import { property } from 'lit/decorators.js'
4
- import type { TSurfaceColor } from '../src/types/surface'
5
- import { surfaceStyles } from '../src/surface/surface.styles'
6
-
7
- export type SchmancySurfaceFill = 'all' | 'width' | 'height' | 'auto'
8
- export type SchmancySurfaceRounded = 'none' | 'top' | 'left' | 'right' | 'bottom' | 'all'
9
- export type SchmancySurfaceElevation = 0 | 1 | 2 | 3 | 4 | 5
10
-
11
- export declare class ISurfaceMixin {
12
- fill: SchmancySurfaceFill
13
- rounded: SchmancySurfaceRounded
14
- elevation: SchmancySurfaceElevation
15
- type: TSurfaceColor
16
- clickable: boolean
17
- }
18
-
19
- /**
20
- * SurfaceMixin - Adds surface styling properties AND styles to any LitElement
21
- *
22
- * Uses Lit's finalizeStyles hook to inject surfaceStyles CSS for all surface type selectors.
23
- * This is the recommended pattern for mixins that need to add styles.
24
- *
25
- * Provides these reflected properties:
26
- * - `fill`: 'all' | 'width' | 'height' | 'auto' - Controls element dimensions
27
- * - `rounded`: 'none' | 'top' | 'left' | 'right' | 'bottom' | 'all' - Corner rounding
28
- * - `elevation`: 0-5 - Shadow depth level
29
- * - `type`: TSurfaceColor - Surface color variant (26+ options)
30
- *
31
- * Usage:
32
- * ```typescript
33
- * import { SurfaceMixin } from '@mixins/surface.mixin'
34
- *
35
- * @customElement('my-component')
36
- * class MyComponent extends SurfaceMixin(TailwindElement(css`
37
- * :host { display: block; }
38
- * `)) {
39
- * // Component now has type, fill, rounded, elevation properties
40
- * // AND surfaceStyles are automatically included
41
- * }
42
- * ```
43
- */
44
- export const SurfaceMixin = <T extends Constructor<LitElement>>(superClass: T) => {
45
- class SurfaceMixinClass extends superClass {
46
- /**
47
- * Override finalizeStyles to inject surfaceStyles.
48
- * This is the Lit-recommended way for mixins to add styles.
49
- */
50
- protected static finalizeStyles(styles?: CSSResultGroup): CSSResultOrNative[] {
51
- // Get parent's finalized styles using LitElement's method
52
- const parentStyles = (superClass as unknown as typeof LitElement).finalizeStyles(styles)
53
- // Append surfaceStyles at the end (higher specificity)
54
- return [...parentStyles, surfaceStyles as CSSResultOrNative]
55
- }
56
-
57
- /**
58
- * Fill the width and/or height of the parent container.
59
- * @default 'auto'
60
- */
61
- @property({ type: String, reflect: true })
62
- fill: SchmancySurfaceFill = 'auto'
63
-
64
- /**
65
- * Specifies the rounding style of the component's corners.
66
- * @default 'none'
67
- */
68
- @property({ reflect: true })
69
- rounded: SchmancySurfaceRounded = 'none'
70
-
71
- /**
72
- * Defines the elevation level (shadow depth) of the surface.
73
- * @default 0
74
- */
75
- @property({ type: Number, reflect: true })
76
- elevation: SchmancySurfaceElevation = 0
77
-
78
- /**
79
- * Specifies the surface type for styling.
80
- * @default 'container'
81
- */
82
- @property({ reflect: true })
83
- type: TSurfaceColor = 'subtle'
84
-
85
- /**
86
- * Makes the surface interactive with hover, active states and cursor pointer.
87
- * @default false
88
- */
89
- @property({ type: Boolean, reflect: true })
90
- clickable = false
91
- }
92
- return SurfaceMixinClass as Constructor<ISurfaceMixin> & T
93
- }