@mhmo91/schmancy 0.4.76 → 0.4.78

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 (342) hide show
  1. package/ai/chips.md +350 -128
  2. package/ai/icons.md +222 -121
  3. package/ai/spinner.md +165 -0
  4. package/ai/typography.md +66 -8
  5. package/dist/ai/chips.md +350 -128
  6. package/dist/ai/icons.md +222 -121
  7. package/dist/ai/spinner.md +165 -0
  8. package/dist/ai/typography.md +66 -8
  9. package/dist/{animated-text-DlRt6Q09.cjs → animated-text-DRQbkLfM.cjs} +2 -2
  10. package/dist/{animated-text-DlRt6Q09.cjs.map → animated-text-DRQbkLfM.cjs.map} +1 -1
  11. package/dist/{animated-text-CqpyC7Y0.js → animated-text-g3SZFDmS.js} +6 -6
  12. package/dist/{animated-text-CqpyC7Y0.js.map → animated-text-g3SZFDmS.js.map} +1 -1
  13. package/dist/animated-text.cjs +1 -1
  14. package/dist/animated-text.js +1 -1
  15. package/dist/area.cjs +1 -1
  16. package/dist/area.js +1 -1
  17. package/dist/{autocomplete-B-oKMH7m.js → autocomplete-CC5cqaLd.js} +6 -6
  18. package/dist/{autocomplete-B-oKMH7m.js.map → autocomplete-CC5cqaLd.js.map} +1 -1
  19. package/dist/{autocomplete-BOGG_9iL.cjs → autocomplete-Ci--5JBi.cjs} +2 -2
  20. package/dist/{autocomplete-BOGG_9iL.cjs.map → autocomplete-Ci--5JBi.cjs.map} +1 -1
  21. package/dist/autocomplete.cjs +1 -1
  22. package/dist/autocomplete.js +1 -1
  23. package/dist/{avatar-BnfAxIPw.cjs → avatar-Bsjv5OuH.cjs} +2 -2
  24. package/dist/{avatar-BnfAxIPw.cjs.map → avatar-Bsjv5OuH.cjs.map} +1 -1
  25. package/dist/{avatar-DXOVkMKj.js → avatar-CE8waacF.js} +48 -48
  26. package/dist/{avatar-DXOVkMKj.js.map → avatar-CE8waacF.js.map} +1 -1
  27. package/dist/badge.cjs +1 -1
  28. package/dist/badge.js +1 -1
  29. package/dist/{boat-CdR5Pqik.js → boat-B2l1E5Rr.js} +2 -2
  30. package/dist/{boat-CdR5Pqik.js.map → boat-B2l1E5Rr.js.map} +1 -1
  31. package/dist/{boat-DMKcZpZb.cjs → boat-DcrOCO10.cjs} +2 -2
  32. package/dist/{boat-DMKcZpZb.cjs.map → boat-DcrOCO10.cjs.map} +1 -1
  33. package/dist/boat.cjs +1 -1
  34. package/dist/boat.js +1 -1
  35. package/dist/busy.cjs +1 -1
  36. package/dist/busy.js +1 -1
  37. package/dist/button.cjs +1 -1
  38. package/dist/button.js +1 -1
  39. package/dist/card.cjs +1 -1
  40. package/dist/card.js +1 -1
  41. package/dist/checkbox-B9hlaRM7.js +527 -0
  42. package/dist/checkbox-B9hlaRM7.js.map +1 -0
  43. package/dist/checkbox-CJvEHu71.cjs +40 -0
  44. package/dist/checkbox-CJvEHu71.cjs.map +1 -0
  45. package/dist/checkbox.cjs +1 -1
  46. package/dist/checkbox.js +1 -1
  47. package/dist/chips-Bnjcoior.js +577 -0
  48. package/dist/chips-Bnjcoior.js.map +1 -0
  49. package/dist/chips-DSvkYUqs.cjs +324 -0
  50. package/dist/chips-DSvkYUqs.cjs.map +1 -0
  51. package/dist/chips.cjs +1 -1
  52. package/dist/chips.js +9 -1
  53. package/dist/code-highlight.cjs +1 -1
  54. package/dist/code-highlight.js +1 -1
  55. package/dist/{code-preview-CdCzzZTX.cjs → code-preview-BevWoQxu.cjs} +2 -2
  56. package/dist/{code-preview-CdCzzZTX.cjs.map → code-preview-BevWoQxu.cjs.map} +1 -1
  57. package/dist/{code-preview-CIXEd04f.js → code-preview-yJ3NA98_.js} +7 -7
  58. package/dist/{code-preview-CIXEd04f.js.map → code-preview-yJ3NA98_.js.map} +1 -1
  59. package/dist/components.cjs +1 -1
  60. package/dist/components.js +1 -1
  61. package/dist/content-drawer.cjs +1 -1
  62. package/dist/content-drawer.js +1 -1
  63. package/dist/{date-range-CvD9zwK9.cjs → date-range-CHGkfVeE.cjs} +2 -2
  64. package/dist/{date-range-CvD9zwK9.cjs.map → date-range-CHGkfVeE.cjs.map} +1 -1
  65. package/dist/{date-range-lJ_fPY4v.js → date-range-KVvpeqYQ.js} +8 -8
  66. package/dist/{date-range-lJ_fPY4v.js.map → date-range-KVvpeqYQ.js.map} +1 -1
  67. package/dist/{date-range-inline-5QP9av94.js → date-range-inline-BRnyYe_e.js} +3 -3
  68. package/dist/{date-range-inline-5QP9av94.js.map → date-range-inline-BRnyYe_e.js.map} +1 -1
  69. package/dist/{date-range-inline-CP_a_w01.cjs → date-range-inline-BagnhxPn.cjs} +2 -2
  70. package/dist/{date-range-inline-CP_a_w01.cjs.map → date-range-inline-BagnhxPn.cjs.map} +1 -1
  71. package/dist/date-range-inline.cjs +1 -1
  72. package/dist/date-range-inline.js +1 -1
  73. package/dist/date-range.cjs +1 -1
  74. package/dist/date-range.js +1 -1
  75. package/dist/{delay-CB0Wohe7.cjs → delay-0Ffc_SU2.cjs} +2 -2
  76. package/dist/{delay-CB0Wohe7.cjs.map → delay-0Ffc_SU2.cjs.map} +1 -1
  77. package/dist/{delay-BM1jk7XF.js → delay-AjA5MI5M.js} +2 -2
  78. package/dist/{delay-BM1jk7XF.js.map → delay-AjA5MI5M.js.map} +1 -1
  79. package/dist/delay.cjs +1 -1
  80. package/dist/delay.js +1 -1
  81. package/dist/{details-C22WoRWP.cjs → details-CVpg9-ww.cjs} +2 -2
  82. package/dist/{details-C22WoRWP.cjs.map → details-CVpg9-ww.cjs.map} +1 -1
  83. package/dist/{details-B9JrXrCO.js → details-sROeZea4.js} +5 -5
  84. package/dist/{details-B9JrXrCO.js.map → details-sROeZea4.js.map} +1 -1
  85. package/dist/details.cjs +1 -1
  86. package/dist/details.js +1 -1
  87. package/dist/{dialog-content-CpxWMPlh.cjs → dialog-content-B6gtCmhY.cjs} +2 -2
  88. package/dist/{dialog-content-CpxWMPlh.cjs.map → dialog-content-B6gtCmhY.cjs.map} +1 -1
  89. package/dist/{dialog-content-BHR9cUJ-.js → dialog-content-gK9U1OJy.js} +10 -10
  90. package/dist/{dialog-content-BHR9cUJ-.js.map → dialog-content-gK9U1OJy.js.map} +1 -1
  91. package/dist/dialog.cjs +1 -1
  92. package/dist/dialog.js +1 -1
  93. package/dist/{divider-Cz4g_Ept.js → divider-B64ylaDM.js} +6 -6
  94. package/dist/{divider-Cz4g_Ept.js.map → divider-B64ylaDM.js.map} +1 -1
  95. package/dist/{divider-DAg0oW4T.cjs → divider-h24cqDki.cjs} +2 -2
  96. package/dist/{divider-DAg0oW4T.cjs.map → divider-h24cqDki.cjs.map} +1 -1
  97. package/dist/divider.cjs +1 -1
  98. package/dist/divider.js +1 -1
  99. package/dist/{dropdown-content-QvR9QvT0.cjs → dropdown-content-DhH9UtN_.cjs} +3 -3
  100. package/dist/{dropdown-content-QvR9QvT0.cjs.map → dropdown-content-DhH9UtN_.cjs.map} +1 -1
  101. package/dist/{dropdown-content-Bto1swKT.js → dropdown-content-HfjqVeGY.js} +6 -6
  102. package/dist/{dropdown-content-Bto1swKT.js.map → dropdown-content-HfjqVeGY.js.map} +1 -1
  103. package/dist/dropdown.cjs +1 -1
  104. package/dist/dropdown.js +1 -1
  105. package/dist/{email-recipients-C9Yx0eML.js → email-recipients-CdGvSgPI.js} +5 -5
  106. package/dist/{email-recipients-C9Yx0eML.js.map → email-recipients-CdGvSgPI.js.map} +1 -1
  107. package/dist/{email-recipients-aEI5Hz1y.cjs → email-recipients-DNLrlCJo.cjs} +2 -2
  108. package/dist/{email-recipients-aEI5Hz1y.cjs.map → email-recipients-DNLrlCJo.cjs.map} +1 -1
  109. package/dist/extra.cjs +1 -1
  110. package/dist/extra.js +1 -1
  111. package/dist/{flex-8Zt64KfZ.js → flex-CDD6pPJp.js} +2 -2
  112. package/dist/{flex-8Zt64KfZ.js.map → flex-CDD6pPJp.js.map} +1 -1
  113. package/dist/{flex-BWZv2xik.cjs → flex-xzlCwqDU.cjs} +2 -2
  114. package/dist/{flex-BWZv2xik.cjs.map → flex-xzlCwqDU.cjs.map} +1 -1
  115. package/dist/{form-BH43OMu3.cjs → form-Cmb3eiuu.cjs} +2 -2
  116. package/dist/{form-BH43OMu3.cjs.map → form-Cmb3eiuu.cjs.map} +1 -1
  117. package/dist/{form-DeoSuBtM.js → form-DRDWGFYA.js} +7 -7
  118. package/dist/{form-DeoSuBtM.js.map → form-DRDWGFYA.js.map} +1 -1
  119. package/dist/form.cjs +1 -1
  120. package/dist/form.js +1 -1
  121. package/dist/{formField.mixin-Dta3OeAY.cjs → formField.mixin-CAILHzv1.cjs} +2 -2
  122. package/dist/{formField.mixin-Dta3OeAY.cjs.map → formField.mixin-CAILHzv1.cjs.map} +1 -1
  123. package/dist/{formField.mixin-BaPL0TYo.js → formField.mixin-DO6xZKm5.js} +2 -2
  124. package/dist/{formField.mixin-BaPL0TYo.js.map → formField.mixin-DO6xZKm5.js.map} +1 -1
  125. package/dist/icon-Covxs_tz.js +85 -0
  126. package/dist/icon-Covxs_tz.js.map +1 -0
  127. package/dist/icon-G21hWtIP.cjs +49 -0
  128. package/dist/icon-G21hWtIP.cjs.map +1 -0
  129. package/dist/{icon-button-D1GjgM8z.cjs → icon-button-BJwbB-we.cjs} +2 -2
  130. package/dist/{icon-button-D1GjgM8z.cjs.map → icon-button-BJwbB-we.cjs.map} +1 -1
  131. package/dist/{icon-button-OZM1xg0D.js → icon-button-jmuc0Alp.js} +8 -8
  132. package/dist/{icon-button-OZM1xg0D.js.map → icon-button-jmuc0Alp.js.map} +1 -1
  133. package/dist/icons.cjs +1 -1
  134. package/dist/icons.js +1 -1
  135. package/dist/index.cjs +1 -1
  136. package/dist/index.js +232 -226
  137. package/dist/{input-lUWuO40Q.cjs → input-BYUNvuUB.cjs} +2 -2
  138. package/dist/{input-lUWuO40Q.cjs.map → input-BYUNvuUB.cjs.map} +1 -1
  139. package/dist/{input-CkvjCut5.js → input-D4SMX4Jy.js} +3 -3
  140. package/dist/{input-CkvjCut5.js.map → input-D4SMX4Jy.js.map} +1 -1
  141. package/dist/input.cjs +1 -1
  142. package/dist/input.js +1 -1
  143. package/dist/layout.cjs +1 -1
  144. package/dist/layout.js +1 -1
  145. package/dist/{list-5rw56k73.js → list-CFA9OIVl.js} +7 -7
  146. package/dist/{list-5rw56k73.js.map → list-CFA9OIVl.js.map} +1 -1
  147. package/dist/{list-CIt75CB5.cjs → list-CjWyeyyf.cjs} +2 -2
  148. package/dist/{list-CIt75CB5.cjs.map → list-CjWyeyyf.cjs.map} +1 -1
  149. package/dist/list.cjs +1 -1
  150. package/dist/list.js +1 -1
  151. package/dist/{litElement.mixin-BZErt4H3.js → litElement.mixin-BAbHXkqK.js} +2 -2
  152. package/dist/{litElement.mixin-BZErt4H3.js.map → litElement.mixin-BAbHXkqK.js.map} +1 -1
  153. package/dist/{litElement.mixin-BLa7fWsS.cjs → litElement.mixin-D-9tQapF.cjs} +2 -2
  154. package/dist/{litElement.mixin-BLa7fWsS.cjs.map → litElement.mixin-D-9tQapF.cjs.map} +1 -1
  155. package/dist/mailbox.cjs +1 -1
  156. package/dist/mailbox.js +1 -1
  157. package/dist/{map-BrguuFGa.js → map-BP7Tl3AA.js} +5 -5
  158. package/dist/{map-BrguuFGa.js.map → map-BP7Tl3AA.js.map} +1 -1
  159. package/dist/{map-BY_0W4ER.cjs → map-CouhaoPu.cjs} +2 -2
  160. package/dist/{map-BY_0W4ER.cjs.map → map-CouhaoPu.cjs.map} +1 -1
  161. package/dist/map.cjs +1 -1
  162. package/dist/map.js +1 -1
  163. package/dist/{media-CLz2t5zS.js → media-C2mcgImc.js} +11 -11
  164. package/dist/{media-CLz2t5zS.js.map → media-C2mcgImc.js.map} +1 -1
  165. package/dist/{media-D6ZtvTjC.cjs → media-LO5ZS0G2.cjs} +2 -2
  166. package/dist/{media-D6ZtvTjC.cjs.map → media-LO5ZS0G2.cjs.map} +1 -1
  167. package/dist/{menu-DWD_IywE.cjs → menu-8jVWArTo.cjs} +3 -3
  168. package/dist/{menu-DWD_IywE.cjs.map → menu-8jVWArTo.cjs.map} +1 -1
  169. package/dist/{menu-CgDSJpDV.js → menu-B7aYu4B3.js} +7 -7
  170. package/dist/{menu-CgDSJpDV.js.map → menu-B7aYu4B3.js.map} +1 -1
  171. package/dist/menu.cjs +1 -1
  172. package/dist/menu.js +1 -1
  173. package/dist/mixins/index.ts +5 -5
  174. package/dist/nav-drawer.cjs +1 -1
  175. package/dist/nav-drawer.js +1 -1
  176. package/dist/{notification-service-A3reAJZQ.cjs → notification-service-CWE4m7yx.cjs} +2 -2
  177. package/dist/{notification-service-A3reAJZQ.cjs.map → notification-service-CWE4m7yx.cjs.map} +1 -1
  178. package/dist/{notification-service-1HGYK2tM.js → notification-service-DH-r8CX3.js} +9 -9
  179. package/dist/{notification-service-1HGYK2tM.js.map → notification-service-DH-r8CX3.js.map} +1 -1
  180. package/dist/notification.cjs +1 -1
  181. package/dist/notification.js +2 -2
  182. package/dist/{notify-Bt-KiLeP.js → notify-Bf1XwAns.js} +2 -2
  183. package/dist/{notify-Bt-KiLeP.js.map → notify-Bf1XwAns.js.map} +1 -1
  184. package/dist/{notify-CVbsMt75.cjs → notify-DpoCJiWh.cjs} +2 -2
  185. package/dist/{notify-CVbsMt75.cjs.map → notify-DpoCJiWh.cjs.map} +1 -1
  186. package/dist/{option-Cd0TxMBE.cjs → option-BXYy12E9.cjs} +2 -2
  187. package/dist/{option-Cd0TxMBE.cjs.map → option-BXYy12E9.cjs.map} +1 -1
  188. package/dist/{option-DvSZ0D0R.js → option-DSgxIixo.js} +5 -5
  189. package/dist/{option-DvSZ0D0R.js.map → option-DSgxIixo.js.map} +1 -1
  190. package/dist/option.cjs +1 -1
  191. package/dist/option.js +1 -1
  192. package/dist/{payment-card-form-C6wrIT_X.js → payment-card-form-CiQFlAd7.js} +6 -6
  193. package/dist/{payment-card-form-C6wrIT_X.js.map → payment-card-form-CiQFlAd7.js.map} +1 -1
  194. package/dist/{payment-card-form-CJkWQ3j4.cjs → payment-card-form-hMvGeUlj.cjs} +2 -2
  195. package/dist/{payment-card-form-CJkWQ3j4.cjs.map → payment-card-form-hMvGeUlj.cjs.map} +1 -1
  196. package/dist/{progress-D0iWLtHk.cjs → progress--X8m6TMu.cjs} +2 -2
  197. package/dist/{progress-D0iWLtHk.cjs.map → progress--X8m6TMu.cjs.map} +1 -1
  198. package/dist/{progress-pOL6OHwT.js → progress-C2uSNdat.js} +5 -5
  199. package/dist/{progress-pOL6OHwT.js.map → progress-C2uSNdat.js.map} +1 -1
  200. package/dist/progress.cjs +1 -1
  201. package/dist/progress.js +1 -1
  202. package/dist/{radio-button-CSV7-ftB.cjs → radio-button-CiVKoIT_.cjs} +3 -3
  203. package/dist/{radio-button-CSV7-ftB.cjs.map → radio-button-CiVKoIT_.cjs.map} +1 -1
  204. package/dist/{radio-button-C-t6JJsj.js → radio-button-DveKJXMv.js} +5 -5
  205. package/dist/{radio-button-C-t6JJsj.js.map → radio-button-DveKJXMv.js.map} +1 -1
  206. package/dist/radio-group.cjs +1 -1
  207. package/dist/radio-group.js +1 -1
  208. package/dist/{route.component-BUvd0ztC.cjs → route.component-ByBNH4-B.cjs} +2 -2
  209. package/dist/{route.component-BUvd0ztC.cjs.map → route.component-ByBNH4-B.cjs.map} +1 -1
  210. package/dist/{route.component-HoM7wksc.js → route.component-Cq9Bor4J.js} +8 -8
  211. package/dist/{route.component-HoM7wksc.js.map → route.component-Cq9Bor4J.js.map} +1 -1
  212. package/dist/{schmancy-steps-container-CgzGlBCk.cjs → schmancy-steps-container-BqkjJuas.cjs} +2 -2
  213. package/dist/{schmancy-steps-container-CgzGlBCk.cjs.map → schmancy-steps-container-BqkjJuas.cjs.map} +1 -1
  214. package/dist/{schmancy-steps-container-AIJ2_ZSN.js → schmancy-steps-container-ESoWPRrj.js} +2 -2
  215. package/dist/{schmancy-steps-container-AIJ2_ZSN.js.map → schmancy-steps-container-ESoWPRrj.js.map} +1 -1
  216. package/dist/{select-GBaqnfMC.cjs → select-B5bog_rc.cjs} +2 -2
  217. package/dist/{select-GBaqnfMC.cjs.map → select-B5bog_rc.cjs.map} +1 -1
  218. package/dist/{select-CwJ4OuVo.js → select-BuYzF_Iw.js} +6 -6
  219. package/dist/{select-CwJ4OuVo.js.map → select-BuYzF_Iw.js.map} +1 -1
  220. package/dist/select.cjs +1 -1
  221. package/dist/select.js +1 -1
  222. package/dist/{sheet-CXd47YKG.cjs → sheet-BABzrv-1.cjs} +2 -2
  223. package/dist/{sheet-CXd47YKG.cjs.map → sheet-BABzrv-1.cjs.map} +1 -1
  224. package/dist/{sheet-fT1oxKgG.js → sheet-bz4c5b-T.js} +6 -6
  225. package/dist/{sheet-fT1oxKgG.js.map → sheet-bz4c5b-T.js.map} +1 -1
  226. package/dist/sheet.cjs +1 -1
  227. package/dist/sheet.js +1 -1
  228. package/dist/{slider-DxSzFbQe.cjs → slider-BfUbDIgT.cjs} +2 -2
  229. package/dist/{slider-DxSzFbQe.cjs.map → slider-BfUbDIgT.cjs.map} +1 -1
  230. package/dist/{slider-CYsku-3b.js → slider-DUslKIy9.js} +8 -8
  231. package/dist/{slider-CYsku-3b.js.map → slider-DUslKIy9.js.map} +1 -1
  232. package/dist/slider.cjs +1 -1
  233. package/dist/slider.js +1 -1
  234. package/dist/{spinner-CrK1E8LD.js → spinner-By_atmOD.js} +51 -22
  235. package/dist/spinner-By_atmOD.js.map +1 -0
  236. package/dist/{spinner-DrG_NQpx.cjs → spinner-Cc7rjihp.cjs} +40 -11
  237. package/dist/spinner-Cc7rjihp.cjs.map +1 -0
  238. package/dist/steps.cjs +1 -1
  239. package/dist/steps.js +1 -1
  240. package/dist/{surface-C64YekDh.js → surface-BhZhEe42.js} +2 -2
  241. package/dist/{surface-C64YekDh.js.map → surface-BhZhEe42.js.map} +1 -1
  242. package/dist/{surface-DVNi8l6T.cjs → surface-VrM3qS7F.cjs} +2 -2
  243. package/dist/{surface-DVNi8l6T.cjs.map → surface-VrM3qS7F.cjs.map} +1 -1
  244. package/dist/surface.cjs +1 -1
  245. package/dist/surface.js +1 -1
  246. package/dist/{table-DmrYZ1hR.js → table-BFqqDT_a.js} +2 -2
  247. package/dist/{table-DmrYZ1hR.js.map → table-BFqqDT_a.js.map} +1 -1
  248. package/dist/{table-B3WKGYlu.cjs → table-D8vVGDsm.cjs} +2 -2
  249. package/dist/{table-B3WKGYlu.cjs.map → table-D8vVGDsm.cjs.map} +1 -1
  250. package/dist/table.cjs +1 -1
  251. package/dist/table.js +1 -1
  252. package/dist/{tabs-compatibility-Ds7SEeST.cjs → tabs-compatibility-Beep2dmJ.cjs} +2 -2
  253. package/dist/{tabs-compatibility-Ds7SEeST.cjs.map → tabs-compatibility-Beep2dmJ.cjs.map} +1 -1
  254. package/dist/{tabs-compatibility-Uetjk25R.js → tabs-compatibility-CDJp1mVq.js} +7 -7
  255. package/dist/{tabs-compatibility-Uetjk25R.js.map → tabs-compatibility-CDJp1mVq.js.map} +1 -1
  256. package/dist/tabs.cjs +1 -1
  257. package/dist/tabs.js +1 -1
  258. package/dist/tailwind.mixin-C-CFqxyc.cjs +2 -0
  259. package/dist/{tailwind.mixin-df9KoZ9x.cjs.map → tailwind.mixin-C-CFqxyc.cjs.map} +1 -1
  260. package/dist/tailwind.mixin-DKEIPHTU.js +43 -0
  261. package/dist/{tailwind.mixin-B6ADeWOc.js.map → tailwind.mixin-DKEIPHTU.js.map} +1 -1
  262. package/dist/teleport.cjs +1 -1
  263. package/dist/teleport.js +1 -1
  264. package/dist/{textarea-QKNA3oAQ.cjs → textarea-982Tz-HD.cjs} +2 -2
  265. package/dist/{textarea-QKNA3oAQ.cjs.map → textarea-982Tz-HD.cjs.map} +1 -1
  266. package/dist/{textarea-B1Tng7F9.js → textarea-CKBc8MaP.js} +2 -2
  267. package/dist/{textarea-B1Tng7F9.js.map → textarea-CKBc8MaP.js.map} +1 -1
  268. package/dist/textarea.cjs +1 -1
  269. package/dist/textarea.js +1 -1
  270. package/dist/{theme-button-CYEhS3ub.js → theme-button-CzZ4Fit6.js} +5 -5
  271. package/dist/{theme-button-CYEhS3ub.js.map → theme-button-CzZ4Fit6.js.map} +1 -1
  272. package/dist/{theme-button-CoCFS3Rx.cjs → theme-button-DUfxeLbS.cjs} +2 -2
  273. package/dist/{theme-button-CoCFS3Rx.cjs.map → theme-button-DUfxeLbS.cjs.map} +1 -1
  274. package/dist/theme-button.cjs +1 -1
  275. package/dist/theme-button.js +1 -1
  276. package/dist/theme.cjs +1 -1
  277. package/dist/{theme.component-C12jLwtB.cjs → theme.component-C9v-CQ38.cjs} +2 -2
  278. package/dist/{theme.component-C12jLwtB.cjs.map → theme.component-C9v-CQ38.cjs.map} +1 -1
  279. package/dist/{theme.component-Df731_fn.js → theme.component-CN4iX4D7.js} +30 -30
  280. package/dist/{theme.component-Df731_fn.js.map → theme.component-CN4iX4D7.js.map} +1 -1
  281. package/dist/theme.js +1 -1
  282. package/dist/{timezone-B7bscKFN.cjs → timezone-6nwGlMca.cjs} +2 -2
  283. package/dist/{timezone-B7bscKFN.cjs.map → timezone-6nwGlMca.cjs.map} +1 -1
  284. package/dist/{timezone-CdtCVjMF.js → timezone-BkByuOmE.js} +8 -8
  285. package/dist/{timezone-CdtCVjMF.js.map → timezone-BkByuOmE.js.map} +1 -1
  286. package/dist/{tooltip-JVkexTyf.js → tooltip-D4-3EWiC.js} +2 -2
  287. package/dist/{tooltip-JVkexTyf.js.map → tooltip-D4-3EWiC.js.map} +1 -1
  288. package/dist/{tooltip-CjoNCIvr.cjs → tooltip-Dr-qBoXc.cjs} +2 -2
  289. package/dist/{tooltip-CjoNCIvr.cjs.map → tooltip-Dr-qBoXc.cjs.map} +1 -1
  290. package/dist/tooltip.cjs +1 -1
  291. package/dist/tooltip.js +1 -1
  292. package/dist/{tree-CaqiNcJJ.js → tree-CEY0Mytf.js} +5 -5
  293. package/dist/{tree-CaqiNcJJ.js.map → tree-CEY0Mytf.js.map} +1 -1
  294. package/dist/{tree-Be48ABq4.cjs → tree-NoODRr5i.cjs} +2 -2
  295. package/dist/{tree-Be48ABq4.cjs.map → tree-NoODRr5i.cjs.map} +1 -1
  296. package/dist/tree.cjs +1 -1
  297. package/dist/tree.js +1 -1
  298. package/dist/{typewriter-CoMrmwFJ.js → typewriter-CKhWZwT5.js} +7 -7
  299. package/dist/{typewriter-CoMrmwFJ.js.map → typewriter-CKhWZwT5.js.map} +1 -1
  300. package/dist/{typewriter-DCYDScE9.cjs → typewriter-QBeyDi83.cjs} +2 -2
  301. package/dist/{typewriter-DCYDScE9.cjs.map → typewriter-QBeyDi83.cjs.map} +1 -1
  302. package/dist/typewriter.cjs +1 -1
  303. package/dist/typewriter.js +1 -1
  304. package/dist/{typography-BQg6J2hD.cjs → typography-Cku79h5G.cjs} +2 -2
  305. package/dist/{typography-BQg6J2hD.cjs.map → typography-Cku79h5G.cjs.map} +1 -1
  306. package/dist/{typography-DkJagEoF.js → typography-GrWLTd_e.js} +2 -2
  307. package/dist/{typography-DkJagEoF.js.map → typography-GrWLTd_e.js.map} +1 -1
  308. package/dist/typography.cjs +1 -1
  309. package/dist/typography.js +1 -1
  310. package/package.json +252 -1
  311. package/types/mixins/index.d.ts +1 -1
  312. package/types/src/area/route.component.d.ts +9 -3
  313. package/types/src/busy/spinner.d.ts +1 -1
  314. package/types/src/checkbox/checkbox.d.ts +5 -4
  315. package/types/src/chips/assist-chip.d.ts +46 -0
  316. package/types/src/chips/chip.d.ts +3 -32
  317. package/types/src/chips/chips.d.ts +26 -11
  318. package/types/src/chips/filter-chip.d.ts +73 -0
  319. package/types/src/chips/index.d.ts +11 -2
  320. package/types/src/chips/input-chip.d.ts +75 -0
  321. package/types/src/chips/suggestion-chip.d.ts +51 -0
  322. package/types/src/icons/icon.d.ts +32 -5
  323. package/dist/checkbox-CVwU3M4h.js +0 -243
  324. package/dist/checkbox-CVwU3M4h.js.map +0 -1
  325. package/dist/checkbox-DP_zX786.cjs +0 -38
  326. package/dist/checkbox-DP_zX786.cjs.map +0 -1
  327. package/dist/chips-BuMUH3zA.cjs +0 -87
  328. package/dist/chips-BuMUH3zA.cjs.map +0 -1
  329. package/dist/chips-DcCUwYBu.js +0 -340
  330. package/dist/chips-DcCUwYBu.js.map +0 -1
  331. package/dist/icon-B0JNrBfq.js +0 -55
  332. package/dist/icon-B0JNrBfq.js.map +0 -1
  333. package/dist/icon-DY2pBLIU.cjs +0 -30
  334. package/dist/icon-DY2pBLIU.cjs.map +0 -1
  335. package/dist/redispatch-event-BLom7yp4.js +0 -293
  336. package/dist/redispatch-event-BLom7yp4.js.map +0 -1
  337. package/dist/redispatch-event-DHcobAl6.cjs +0 -4
  338. package/dist/redispatch-event-DHcobAl6.cjs.map +0 -1
  339. package/dist/spinner-CrK1E8LD.js.map +0 -1
  340. package/dist/spinner-DrG_NQpx.cjs.map +0 -1
  341. package/dist/tailwind.mixin-B6ADeWOc.js +0 -43
  342. package/dist/tailwind.mixin-df9KoZ9x.cjs +0 -2
package/dist/ai/icons.md CHANGED
@@ -1,147 +1,248 @@
1
1
  # Schmancy Icons - AI Reference
2
2
 
3
- ```js
4
- // Basic Icon
5
- <schmancy-icon
6
- icon="icon-name"
7
- size="small|medium|large|x-large"
8
- color="primary|secondary|success|warning|danger|info|currentColor">
9
- </schmancy-icon>
10
-
11
- // Icon with custom size
12
- <schmancy-icon
13
- icon="home"
14
- size="24px">
15
- </schmancy-icon>
3
+ Modern Material Symbols icon component with variable font properties for dynamic icon styling.
16
4
 
17
- // Icon with custom color
5
+ ```js
6
+ // Component Tag
18
7
  <schmancy-icon
19
- icon="star"
20
- color="#f5a623">
8
+ fill="0-1"
9
+ weight="100-700"
10
+ grade="-50-200"
11
+ variant="outlined|rounded|sharp">
12
+ icon-name
21
13
  </schmancy-icon>
22
14
 
23
- // Icon Properties
24
- icon: string // Icon name to display
25
- size: string // Size: "small" (16px), "medium" (24px), "large" (32px), "x-large" (48px), or custom size
26
- color: string // Color: semantic colors, CSS color values, or "currentColor"
27
- rotate: number // Rotation in degrees
28
- flip: string // Flip transformation: "horizontal", "vertical", "both"
29
- spin: boolean // Apply a spinning animation
30
- clickable: boolean // Make icon clickable with hover effects
31
-
32
- // Icon Events
33
- @click // Fires when icon is clicked
34
-
35
- // Available Icons
36
- // The library includes a comprehensive set of icons. Some common ones:
37
- // - UI Actions: "add", "remove", "edit", "delete", "search", "close", "check", "menu"
38
- // - Navigation: "home", "back", "forward", "up", "down", "download", "upload"
39
- // - Communication: "mail", "chat", "phone", "notification", "share"
40
- // - Media: "play", "pause", "stop", "volume", "camera", "image"
41
- // - Objects: "file", "folder", "document", "calendar", "clock", "location"
42
- // - Social: "user", "group", "like", "star", "settings"
43
- // - Alerts: "info", "warning", "error", "success"
44
- // - Arrows: "arrow-up", "arrow-right", "arrow-down", "arrow-left"
45
- // - Chevrons: "chevron-up", "chevron-right", "chevron-down", "chevron-left"
46
-
47
15
  // Examples
48
- // Basic icon usage
49
- <schmancy-icon icon="home"></schmancy-icon>
50
-
51
- // Icons with different sizes
52
- <div>
53
- <schmancy-icon icon="star" size="small"></schmancy-icon>
54
- <schmancy-icon icon="star" size="medium"></schmancy-icon>
55
- <schmancy-icon icon="star" size="large"></schmancy-icon>
56
- <schmancy-icon icon="star" size="x-large"></schmancy-icon>
57
- <schmancy-icon icon="star" size="64px"></schmancy-icon>
58
- </div>
16
+ // 1. Basic icon (outlined style by default)
17
+ <schmancy-icon>home</schmancy-icon>
18
+
19
+ // 2. Filled vs Outlined
20
+ <schmancy-icon fill="0">favorite</schmancy-icon> // Outlined heart
21
+ <schmancy-icon fill="1">favorite</schmancy-icon> // Filled heart
22
+
23
+ // 3. Icon weight variations
24
+ <schmancy-icon weight="100">search</schmancy-icon> // Thin
25
+ <schmancy-icon weight="400">search</schmancy-icon> // Regular (default)
26
+ <schmancy-icon weight="700">search</schmancy-icon> // Bold
27
+
28
+ // 4. Icon variants
29
+ <schmancy-icon variant="outlined">settings</schmancy-icon> // Default
30
+ <schmancy-icon variant="rounded">settings</schmancy-icon> // Rounded style
31
+ <schmancy-icon variant="sharp">settings</schmancy-icon> // Sharp corners
32
+
33
+ // 5. Grade variations (visual weight)
34
+ <schmancy-icon grade="-25">notifications</schmancy-icon> // Lighter
35
+ <schmancy-icon grade="0">notifications</schmancy-icon> // Normal (default)
36
+ <schmancy-icon grade="200">notifications</schmancy-icon> // Heavier
37
+
38
+ // 6. Combined properties
39
+ <schmancy-icon fill="1" weight="300" variant="rounded">
40
+ star
41
+ </schmancy-icon>
59
42
 
60
- // Icons with different colors
61
- <div>
62
- <schmancy-icon icon="info" color="info"></schmancy-icon>
63
- <schmancy-icon icon="check" color="success"></schmancy-icon>
64
- <schmancy-icon icon="warning" color="warning"></schmancy-icon>
65
- <schmancy-icon icon="error" color="danger"></schmancy-icon>
66
- <schmancy-icon icon="help" color="primary"></schmancy-icon>
67
- <schmancy-icon icon="settings" color="secondary"></schmancy-icon>
68
- <schmancy-icon icon="star" color="#f5a623"></schmancy-icon>
69
- </div>
43
+ // 7. Icon sizing (via CSS)
44
+ <schmancy-icon style="--schmancy-icon-size: 16px;">home</schmancy-icon>
45
+ <schmancy-icon style="--schmancy-icon-size: 32px;">home</schmancy-icon>
46
+ <schmancy-icon style="--schmancy-icon-size: 48px;">home</schmancy-icon>
70
47
 
71
- // Icon in a button
48
+ // 8. Icons in buttons
72
49
  <schmancy-button>
73
- <schmancy-icon slot="prefix" icon="download"></schmancy-icon>
50
+ <schmancy-icon slot="icon">download</schmancy-icon>
74
51
  Download
75
52
  </schmancy-button>
76
53
 
77
- <schmancy-icon-button icon="edit"></schmancy-icon-button>
54
+ <schmancy-button variant="filled">
55
+ <schmancy-icon slot="icon" fill="1">add</schmancy-icon>
56
+ Add Item
57
+ </schmancy-button>
58
+
59
+ // 9. Icons in list items
60
+ <schmancy-list-item>
61
+ <schmancy-icon slot="start">folder</schmancy-icon>
62
+ Documents
63
+ </schmancy-list-item>
64
+
65
+ <schmancy-list-item>
66
+ <schmancy-icon slot="start" fill="1">star</schmancy-icon>
67
+ Favorites
68
+ </schmancy-list-item>
69
+
70
+ // 10. Icon transitions (smooth property changes)
71
+ <schmancy-icon
72
+ fill=${isLiked ? "1" : "0"}
73
+ weight=${isLiked ? "700" : "400"}>
74
+ favorite
75
+ </schmancy-icon>
76
+
77
+ // 11. Navigation icons
78
+ <schmancy-navigation-rail>
79
+ <schmancy-icon slot="icon" fill=${activeTab === 'home' ? "1" : "0"}>
80
+ home
81
+ </schmancy-icon>
82
+ <schmancy-icon slot="icon" fill=${activeTab === 'search' ? "1" : "0"}>
83
+ search
84
+ </schmancy-icon>
85
+ <schmancy-icon slot="icon" fill=${activeTab === 'settings' ? "1" : "0"}>
86
+ settings
87
+ </schmancy-icon>
88
+ </schmancy-navigation-rail>
78
89
 
79
- // Icon with rotation and flip
80
- <div>
81
- <schmancy-icon icon="arrow-right" rotate="45"></schmancy-icon>
82
- <schmancy-icon icon="arrow-right" rotate="90"></schmancy-icon>
83
- <schmancy-icon icon="arrow-right" rotate="180"></schmancy-icon>
84
- <schmancy-icon icon="arrow-right" rotate="270"></schmancy-icon>
85
- <schmancy-icon icon="arrow-right" flip="horizontal"></schmancy-icon>
86
- <schmancy-icon icon="arrow-right" flip="vertical"></schmancy-icon>
90
+ // 12. Status indicators
91
+ <div class="flex items-center gap-2">
92
+ <schmancy-icon fill="1" class="text-success">check_circle</schmancy-icon>
93
+ <span>Success</span>
87
94
  </div>
88
95
 
89
- // Spinning icon
90
- <schmancy-icon icon="refresh" spin></schmancy-icon>
96
+ <div class="flex items-center gap-2">
97
+ <schmancy-icon fill="1" class="text-warning">warning</schmancy-icon>
98
+ <span>Warning</span>
99
+ </div>
91
100
 
92
- // Loading state with icon
93
- <div>
94
- <schmancy-icon icon="refresh" spin></schmancy-icon>
95
- <span>Loading...</span>
101
+ <div class="flex items-center gap-2">
102
+ <schmancy-icon fill="1" class="text-error">error</schmancy-icon>
103
+ <span>Error</span>
96
104
  </div>
97
105
 
98
- // Icon in form fields
106
+ // 13. Form field icons
99
107
  <schmancy-input>
100
- <schmancy-icon slot="prefix" icon="search"></schmancy-icon>
108
+ <schmancy-icon slot="prefix">search</schmancy-icon>
101
109
  </schmancy-input>
102
110
 
103
111
  <schmancy-input type="password">
104
- <schmancy-icon
105
- slot="suffix"
106
- icon=${passwordVisible ? "eye-off" : "eye"}
107
- clickable
108
- @click=${togglePasswordVisibility}>
112
+ <schmancy-icon slot="suffix" fill=${showPassword ? "1" : "0"}>
113
+ ${showPassword ? 'visibility_off' : 'visibility'}
109
114
  </schmancy-icon>
110
115
  </schmancy-input>
111
116
 
112
- // Navigation menu with icons
113
- <schmancy-list interactive>
114
- <schmancy-list-item>
115
- <schmancy-icon slot="start" icon="home"></schmancy-icon>
116
- Home
117
- </schmancy-list-item>
118
- <schmancy-list-item>
119
- <schmancy-icon slot="start" icon="user"></schmancy-icon>
120
- Profile
121
- </schmancy-list-item>
122
- <schmancy-list-item>
123
- <schmancy-icon slot="start" icon="settings"></schmancy-icon>
124
- Settings
125
- </schmancy-list-item>
126
- <schmancy-list-item>
127
- <schmancy-icon slot="start" icon="help"></schmancy-icon>
128
- Help
129
- </schmancy-list-item>
130
- </schmancy-list>
131
-
132
- // Status indicators with icons
133
- <div>
134
- <div style="display: flex; align-items: center; gap: 8px;">
135
- <schmancy-icon icon="check-circle" color="success"></schmancy-icon>
136
- <span>Completed</span>
137
- </div>
138
- <div style="display: flex; align-items: center; gap: 8px;">
139
- <schmancy-icon icon="clock" color="warning"></schmancy-icon>
140
- <span>Pending</span>
141
- </div>
142
- <div style="display: flex; align-items: center; gap: 8px;">
143
- <schmancy-icon icon="x-circle" color="danger"></schmancy-icon>
144
- <span>Failed</span>
145
- </div>
146
- </div>
147
- ```
117
+ // 14. Animated icon state
118
+ <schmancy-icon
119
+ @click=${() => this.toggleBookmark()}
120
+ fill=${this.isBookmarked ? "1" : "0"}
121
+ weight=${this.isBookmarked ? "700" : "400"}
122
+ style="cursor: pointer; transition: all 0.2s;">
123
+ bookmark
124
+ </schmancy-icon>
125
+ ```
126
+
127
+ ## Properties
128
+
129
+ | Property | Type | Default | Description |
130
+ |----------|------|---------|-------------|
131
+ | `fill` | `number` | `0` | Fill value (0 = outlined, 1 = filled) |
132
+ | `weight` | `number` | `400` | Stroke weight (100-700) |
133
+ | `grade` | `number` | `0` | Visual grade/weight (-50 to 200) |
134
+ | `variant` | `string` | `'outlined'` | Icon style variant: 'outlined', 'rounded', or 'sharp' |
135
+
136
+ ## CSS Custom Properties
137
+
138
+ | Property | Default | Description |
139
+ |----------|---------|-------------|
140
+ | `--schmancy-icon-size` | `24px` | Icon size |
141
+ | `--schmancy-icon-fill` | `0` | Fill value |
142
+ | `--schmancy-icon-weight` | `400` | Weight value |
143
+ | `--schmancy-icon-grade` | `0` | Grade value |
144
+ | `--schmancy-icon-opsz` | `24` | Optical size |
145
+
146
+ ## Material Symbols
147
+
148
+ This component uses Google's Material Symbols variable font, which provides:
149
+ - **3 variants**: Outlined, Rounded, Sharp
150
+ - **Variable properties**: Continuously adjustable fill, weight, and grade
151
+ - **2000+ icons**: Comprehensive icon library
152
+ - **Smooth transitions**: Animated property changes
153
+ - **Automatic font loading**: Fonts are loaded automatically when component is used
154
+
155
+ ## Icon Names
156
+
157
+ Icons use Material Symbols naming convention. Common icons include:
158
+
159
+ ### Navigation
160
+ - `home`, `arrow_back`, `arrow_forward`, `menu`, `close`, `more_vert`, `more_horiz`
161
+
162
+ ### Actions
163
+ - `search`, `add`, `remove`, `edit`, `delete`, `save`, `share`, `download`, `upload`
164
+
165
+ ### Communication
166
+ - `mail`, `chat`, `call`, `notifications`, `send`, `inbox`, `drafts`
167
+
168
+ ### Media
169
+ - `play_arrow`, `pause`, `stop`, `skip_next`, `skip_previous`, `volume_up`, `mic`
170
+
171
+ ### Status
172
+ - `check`, `close`, `error`, `warning`, `info`, `check_circle`, `cancel`
173
+
174
+ ### Objects
175
+ - `folder`, `description`, `article`, `image`, `movie`, `music_note`, `code`
176
+
177
+ ### User
178
+ - `person`, `group`, `face`, `account_circle`, `settings`, `logout`
179
+
180
+ Full icon list: https://fonts.google.com/icons
181
+
182
+ ## Common Patterns
183
+
184
+ ### Toggle Icons
185
+ ```html
186
+ <!-- Like/Unlike -->
187
+ <schmancy-icon
188
+ fill=${isLiked ? "1" : "0"}
189
+ weight=${isLiked ? "700" : "400"}
190
+ @click=${this.toggleLike}>
191
+ favorite
192
+ </schmancy-icon>
193
+
194
+ <!-- Bookmark -->
195
+ <schmancy-icon fill=${isBookmarked ? "1" : "0"}>
196
+ bookmark
197
+ </schmancy-icon>
198
+
199
+ <!-- Star Rating -->
200
+ <schmancy-icon fill=${rating >= 1 ? "1" : "0"}>star</schmancy-icon>
201
+ <schmancy-icon fill=${rating >= 2 ? "1" : "0"}>star</schmancy-icon>
202
+ <schmancy-icon fill=${rating >= 3 ? "1" : "0"}>star</schmancy-icon>
203
+ ```
204
+
205
+ ### Contextual Icons
206
+ ```html
207
+ <!-- Success state -->
208
+ <schmancy-icon fill="1" class="text-success">check_circle</schmancy-icon>
209
+
210
+ <!-- Error state -->
211
+ <schmancy-icon fill="1" class="text-error">error</schmancy-icon>
212
+
213
+ <!-- Warning state -->
214
+ <schmancy-icon fill="1" class="text-warning">warning</schmancy-icon>
215
+
216
+ <!-- Info state -->
217
+ <schmancy-icon fill="0" class="text-info">info</schmancy-icon>
218
+ ```
219
+
220
+ ### Size Variations
221
+ ```html
222
+ <!-- Small (16px) -->
223
+ <schmancy-icon style="--schmancy-icon-size: 16px;">home</schmancy-icon>
224
+
225
+ <!-- Default (24px) -->
226
+ <schmancy-icon>home</schmancy-icon>
227
+
228
+ <!-- Large (32px) -->
229
+ <schmancy-icon style="--schmancy-icon-size: 32px;">home</schmancy-icon>
230
+
231
+ <!-- Extra Large (48px) -->
232
+ <schmancy-icon style="--schmancy-icon-size: 48px;">home</schmancy-icon>
233
+ ```
234
+
235
+ ## Accessibility
236
+
237
+ - Icons are automatically marked with `aria-hidden="true"` for decorative use
238
+ - For interactive icons, provide `aria-label` or `aria-labelledby`
239
+ - For informational icons, include screen reader text:
240
+ ```html
241
+ <schmancy-icon aria-label="Warning">warning</schmancy-icon>
242
+ ```
243
+
244
+ ## Related Components
245
+ - **[Button](./button.md)**: Icons commonly used in buttons
246
+ - **[List](./list.md)**: Icons in list items
247
+ - **[Input](./input.md)**: Icons in form fields
248
+ - **[Chips](./chips.md)**: Icons in chip components
@@ -0,0 +1,165 @@
1
+ # Schmancy Spinner - AI Reference
2
+
3
+ A modern circular loading spinner with contextual color inheritance and optional glass morphism effect.
4
+
5
+ ```js
6
+ // Component Tag
7
+ <schmancy-spinner
8
+ color="primary|on-primary|secondary|on-secondary|tertiary|on-tertiary|error|on-error|success|on-success|surface|on-surface|surface-variant|on-surface-variant"
9
+ size="number"
10
+ glass?>
11
+ </schmancy-spinner>
12
+
13
+ // Examples
14
+ // 1. Basic spinner (inherits parent color)
15
+ <schmancy-spinner></schmancy-spinner>
16
+
17
+ // 2. Different sizes (using Tailwind sizing system)
18
+ <schmancy-spinner size="4"></schmancy-spinner> // 16px (1rem)
19
+ <schmancy-spinner size="6"></schmancy-spinner> // 24px (1.5rem) - default
20
+ <schmancy-spinner size="8"></schmancy-spinner> // 32px (2rem)
21
+ <schmancy-spinner size="12"></schmancy-spinner> // 48px (3rem)
22
+
23
+ // 3. Color variants
24
+ <schmancy-spinner color="primary"></schmancy-spinner>
25
+ <schmancy-spinner color="on-primary"></schmancy-spinner>
26
+ <schmancy-spinner color="error"></schmancy-spinner>
27
+ <schmancy-spinner color="success"></schmancy-spinner>
28
+
29
+ // 4. Glass morphism effect
30
+ <schmancy-spinner glass></schmancy-spinner>
31
+ <schmancy-spinner glass size="10" color="primary"></schmancy-spinner>
32
+
33
+ // 5. Inside buttons (inherits button text color)
34
+ <schmancy-button variant="filled">
35
+ <schmancy-spinner size="5"></schmancy-spinner>
36
+ Loading...
37
+ </schmancy-button>
38
+
39
+ // 6. Inside surfaces with contextual colors
40
+ <schmancy-surface type="filled" color="primary">
41
+ <schmancy-spinner color="on-primary"></schmancy-spinner>
42
+ </schmancy-surface>
43
+
44
+ // 7. Loading states
45
+ <div class="flex items-center gap-2">
46
+ <schmancy-spinner size="5"></schmancy-spinner>
47
+ <schmancy-typography>Loading data...</schmancy-typography>
48
+ </div>
49
+
50
+ // 8. Overlay loading indicator with glass effect
51
+ <div class="relative">
52
+ <div class="absolute inset-0 flex items-center justify-center bg-surface/50 backdrop-blur-sm">
53
+ <schmancy-spinner glass size="10"></schmancy-spinner>
54
+ </div>
55
+ <!-- Content being loaded -->
56
+ </div>
57
+ ```
58
+
59
+ ## Properties
60
+
61
+ | Property | Type | Default | Description |
62
+ |----------|------|---------|-------------|
63
+ | `color` | `string` | `inherit` | Theme color variant or 'inherit' for contextual color |
64
+ | `size` | `number` | `6` | Size in Tailwind units (4 = 16px, 6 = 24px, 8 = 32px, etc.) |
65
+ | `glass` | `boolean` | `false` | Apply glass morphism effect with backdrop blur |
66
+
67
+ ## Color System
68
+
69
+ The spinner intelligently inherits colors from its context by default:
70
+ - Inside buttons: Inherits button text color
71
+ - Inside colored surfaces: Inherits appropriate contrast color
72
+ - Standalone: Uses current text color
73
+
74
+ Available explicit colors:
75
+ - **Primary colors**: `primary`, `on-primary`
76
+ - **Secondary colors**: `secondary`, `on-secondary`
77
+ - **Tertiary colors**: `tertiary`, `on-tertiary`
78
+ - **Status colors**: `error`, `on-error`, `success`, `on-success`
79
+ - **Surface colors**: `surface`, `on-surface`, `surface-variant`, `on-surface-variant`
80
+
81
+ ## Glass Effect
82
+
83
+ The `glass` attribute adds a modern glass morphism effect:
84
+ - Semi-transparent background with backdrop blur
85
+ - Subtle border and inner shadow
86
+ - Perfect for overlay loading indicators
87
+ - Works well on image or complex backgrounds
88
+
89
+ ## Size System
90
+
91
+ Uses Tailwind's sizing convention where each unit = 0.25rem:
92
+ - `size="4"` = 16px (1rem)
93
+ - `size="5"` = 20px (1.25rem)
94
+ - `size="6"` = 24px (1.5rem) - **default**
95
+ - `size="8"` = 32px (2rem)
96
+ - `size="10"` = 40px (2.5rem)
97
+ - `size="12"` = 48px (3rem)
98
+
99
+ ## Common Use Cases
100
+
101
+ ### 1. Button Loading State
102
+ ```html
103
+ <schmancy-button variant="filled" disabled>
104
+ <schmancy-spinner size="5"></schmancy-spinner>
105
+ <span class="ml-2">Processing...</span>
106
+ </schmancy-button>
107
+ ```
108
+
109
+ ### 2. Page Loading Overlay
110
+ ```html
111
+ <div class="fixed inset-0 flex items-center justify-center bg-black/30 backdrop-blur-sm z-50">
112
+ <schmancy-spinner glass size="12"></schmancy-spinner>
113
+ </div>
114
+ ```
115
+
116
+ ### 3. Inline Loading Indicator
117
+ ```html
118
+ <schmancy-list-item>
119
+ <span>Fetching user data</span>
120
+ <schmancy-spinner slot="end" size="5"></schmancy-spinner>
121
+ </schmancy-list-item>
122
+ ```
123
+
124
+ ### 4. Card Loading State
125
+ ```html
126
+ <schmancy-card>
127
+ <div class="flex flex-col items-center justify-center py-8">
128
+ <schmancy-spinner size="8" color="primary"></schmancy-spinner>
129
+ <schmancy-typography type="body" token="sm" class="mt-2">
130
+ Loading content...
131
+ </schmancy-typography>
132
+ </div>
133
+ </schmancy-card>
134
+ ```
135
+
136
+ ### 5. Status Indicators
137
+ ```html
138
+ <div class="flex items-center gap-2">
139
+ <schmancy-spinner size="4" color="success"></schmancy-spinner>
140
+ <schmancy-typography>Syncing...</schmancy-typography>
141
+ </div>
142
+ ```
143
+
144
+ ## Accessibility
145
+
146
+ - The spinner is automatically marked with `aria-hidden="true"` since it's decorative
147
+ - Always provide textual context for screen readers:
148
+ ```html
149
+ <div role="status">
150
+ <schmancy-spinner></schmancy-spinner>
151
+ <span class="sr-only">Loading...</span>
152
+ </div>
153
+ ```
154
+
155
+ ## Animation
156
+
157
+ - Continuous rotation at 1 second per revolution
158
+ - Smooth animation with reverse direction for visual appeal
159
+ - No performance impact with CSS animations
160
+ - Respects `prefers-reduced-motion` for accessibility
161
+
162
+ ## Related Components
163
+ - **[Progress](./progress.md)**: For determinate linear progress
164
+ - **[Busy](./busy.md)**: For full-page loading states
165
+ - **[Button](./button.md)**: Often used with spinners for loading states
@@ -53,8 +53,8 @@ import '@schmancy/index' // For all Schmancy components
53
53
  </schmancy-typography>
54
54
 
55
55
  // 6. With additional styling
56
- <schmancy-typography type="headline" token="sm" class="mb-4 text-primary">
57
- Highlighted Section
56
+ <schmancy-typography type="headline" token="sm" class="mb-4">
57
+ Section Title
58
58
  </schmancy-typography>
59
59
 
60
60
  // 7. Centered uppercase title
@@ -77,7 +77,7 @@ import '@schmancy/index' // For all Schmancy components
77
77
  <schmancy-typography type="headline" token="sm" class="block mb-2">
78
78
  Card Title
79
79
  </schmancy-typography>
80
- <schmancy-typography type="body" token="md" class="block mb-4 text-surface-onVariant">
80
+ <schmancy-typography type="body" token="md" class="block mb-4">
81
81
  This is a description that provides more context about the card content.
82
82
  </schmancy-typography>
83
83
  <schmancy-typography type="label" token="lg" class="text-primary">
@@ -167,8 +167,66 @@ Material Design 3 typography scale with 6 types, each with 5 sizes:
167
167
  ### Theme Integration
168
168
  Typography automatically inherits colors from the theme:
169
169
  - Uses `color: var(--schmancy-sys-color-surface-on)` by default
170
- - Respects surface container colors
171
- - Can be overridden with Tailwind classes
170
+ - Automatically inherits the correct text color from parent surfaces
171
+ - WARNING: Avoid overriding with Tailwind color classes when inside surfaces
172
+
173
+ ### Color Inheritance
174
+
175
+ **CRITICAL: Typography components automatically inherit the correct color from their parent surface.**
176
+
177
+ #### ✅ CORRECT - Let Surface Handle Colors
178
+ ```html
179
+ <!-- Typography inherits the correct on-color from the surface -->
180
+ <schmancy-surface type="containerLow" class="p-4">
181
+ <schmancy-typography type="headline" token="md">
182
+ This text automatically uses the correct contrast color
183
+ </schmancy-typography>
184
+ </schmancy-surface>
185
+
186
+ <!-- Different surface types provide different text colors automatically -->
187
+ <schmancy-surface type="primary" class="p-4">
188
+ <schmancy-typography type="body" token="md">
189
+ White text on primary background (automatic)
190
+ </schmancy-typography>
191
+ </schmancy-surface>
192
+ ```
193
+
194
+ #### ❌ WRONG - Explicit Color Classes Inside Surfaces
195
+ ```html
196
+ <!-- BAD: Overriding the surface's automatic color selection -->
197
+ <schmancy-surface type="containerLow" class="p-4">
198
+ <schmancy-typography type="headline" token="md" class="text-surface-onVariant">
199
+ Don't add color classes - the surface already provides the right color!
200
+ </schmancy-typography>
201
+ </schmancy-surface>
202
+ ```
203
+
204
+ #### When to Use Color Classes
205
+
206
+ **ONLY add explicit color classes when:**
207
+ 1. Typography is used standalone (not inside a surface)
208
+ 2. You need a specific semantic color (e.g., `text-error` for errors)
209
+ 3. Creating interactive elements that change color on hover
210
+
211
+ ```html
212
+ <!-- Standalone typography (not in a surface) - color class is appropriate -->
213
+ <div class="p-4">
214
+ <schmancy-typography type="label" token="md" class="text-error">
215
+ Error: Invalid input
216
+ </schmancy-typography>
217
+ </div>
218
+
219
+ <!-- Interactive element with hover state -->
220
+ <schmancy-typography type="body" token="md" class="cursor-pointer hover:text-primary">
221
+ Click for more info
222
+ </schmancy-typography>
223
+ ```
224
+
225
+ **Key Rules:**
226
+ - NEVER add `text-surface-onVariant` or similar classes inside surfaces
227
+ - Surfaces automatically provide the correct contrast color
228
+ - Each surface type (primary, secondary, tertiary, containerLow, etc.) knows its appropriate text color
229
+ - Trust the component system - it handles accessibility and contrast automatically
172
230
 
173
231
  ### Implementation Details
174
232
  - Uses Shadow DOM with encapsulated styles
@@ -184,7 +242,7 @@ Typography automatically inherits colors from the theme:
184
242
  <schmancy-typography type="display" token="md" class="block mb-4">
185
243
  Dashboard
186
244
  </schmancy-typography>
187
- <schmancy-typography type="body" token="lg" class="block text-surface-onVariant">
245
+ <schmancy-typography type="body" token="lg" class="block">
188
246
  Welcome back! Here's your activity summary.
189
247
  </schmancy-typography>
190
248
  ```
@@ -202,7 +260,7 @@ Typography automatically inherits colors from the theme:
202
260
  <schmancy-typography type="headline" token="md" class="block text-primary">
203
261
  $1,234.56
204
262
  </schmancy-typography>
205
- <schmancy-typography type="label" token="sm" class="text-surface-onVariant">
263
+ <schmancy-typography type="label" token="sm">
206
264
  Total Revenue
207
265
  </schmancy-typography>
208
266
  ```
@@ -214,7 +272,7 @@ Typography automatically inherits colors from the theme:
214
272
  <schmancy-typography type="title" token="md" class="block">
215
273
  Feature One
216
274
  </schmancy-typography>
217
- <schmancy-typography type="body" token="sm" class="block text-surface-onVariant">
275
+ <schmancy-typography type="body" token="sm" class="block">
218
276
  Description of the first feature
219
277
  </schmancy-typography>
220
278
  </div>
@@ -1,4 +1,4 @@
1
- "use strict";const e=require("rxjs");require("lit/directives/class-map.js"),require("lit/directives/style-map.js");const h=require("./litElement.mixin-BLa7fWsS.cjs");require("./tailwind.mixin-df9KoZ9x.cjs");const r=require("lit/decorators.js"),c=require("lit");var d=Object.defineProperty,u=Object.getOwnPropertyDescriptor,s=(i,a,p,n)=>{for(var l,o=n>1?void 0:n?u(a,p):a,y=i.length-1;y>=0;y--)(l=i[y])&&(o=(n?l(a,p,o):l(o))||o);return n&&o&&d(a,p,o),o};let t=class extends h.$LitElement(c.css`
1
+ "use strict";const e=require("rxjs");require("lit/directives/class-map.js"),require("lit/directives/style-map.js");const r=require("lit/decorators.js");require("./tailwind.mixin-C-CFqxyc.cjs");const h=require("./litElement.mixin-D-9tQapF.cjs"),c=require("lit");var d=Object.defineProperty,u=Object.getOwnPropertyDescriptor,s=(i,a,p,n)=>{for(var l,o=n>1?void 0:n?u(a,p):a,y=i.length-1;y>=0;y--)(l=i[y])&&(o=(n?l(a,p,o):l(o))||o);return n&&o&&d(a,p,o),o};let t=class extends h.$LitElement(c.css`
2
2
  :host {
3
3
  font-family: inherit;
4
4
  display: block;
@@ -34,4 +34,4 @@
34
34
  </span>
35
35
  </span>
36
36
  `}};s([r.property({type:String})],t.prototype,"ease",2),s([r.property({type:Number})],t.prototype,"delay",2),s([r.property({type:Number})],t.prototype,"stagger",2),s([r.property({type:Number})],t.prototype,"duration",2),s([r.property({type:Array})],t.prototype,"scale",2),s([r.property({type:Array})],t.prototype,"opacity",2),s([r.property({type:Array})],t.prototype,"translateX",2),s([r.property({type:Array})],t.prototype,"translateY",2),s([r.property({type:Array})],t.prototype,"translateZ",2),s([r.property({type:Array})],t.prototype,"rotateZ",2),s([r.property({type:Boolean})],t.prototype,"resetOnScroll",2),s([r.queryAssignedNodes()],t.prototype,"defaultSlot",2),s([r.query(".letters")],t.prototype,"letters",2),s([r.query(".ml7")],t.prototype,"ml7",2),t=s([r.customElement("schmancy-animated-text")],t);
37
- //# sourceMappingURL=animated-text-DlRt6Q09.cjs.map
37
+ //# sourceMappingURL=animated-text-DRQbkLfM.cjs.map