@mhmo91/schmancy 0.4.72 → 0.4.74

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 (422) hide show
  1. package/ai/area.md +525 -108
  2. package/ai/busy.md +2 -1
  3. package/ai/button.md +4 -0
  4. package/ai/code-highlight.md +2 -1
  5. package/ai/content-drawer.md +2 -1
  6. package/ai/context.md +7 -2
  7. package/ai/countries.md +2 -1
  8. package/ai/date-range-inline.md +262 -0
  9. package/ai/date-range.md +2 -1
  10. package/ai/details.md +194 -0
  11. package/ai/dialog.md +2 -1
  12. package/ai/directives.md +2 -1
  13. package/ai/form.md +10 -10
  14. package/ai/list.md +10 -9
  15. package/ai/mailbox.md +530 -0
  16. package/ai/map.md +2 -1
  17. package/ai/notification.md +14 -12
  18. package/ai/payment-card-form.md +2 -1
  19. package/ai/sheet.md +6 -4
  20. package/ai/steps.md +193 -9
  21. package/ai/store.md +8 -4
  22. package/ai/surface.md +2 -1
  23. package/ai/teleport.md +2 -1
  24. package/ai/theme.md +690 -8
  25. package/ai/timezone.md +2 -1
  26. package/ai/typography.md +2 -1
  27. package/dist/ai/area.md +525 -108
  28. package/dist/ai/busy.md +2 -1
  29. package/dist/ai/button.md +4 -0
  30. package/dist/ai/code-highlight.md +2 -1
  31. package/dist/ai/content-drawer.md +2 -1
  32. package/dist/ai/context.md +7 -2
  33. package/dist/ai/countries.md +2 -1
  34. package/dist/ai/date-range-inline.md +262 -0
  35. package/dist/ai/date-range.md +2 -1
  36. package/dist/ai/details.md +194 -0
  37. package/dist/ai/dialog.md +2 -1
  38. package/dist/ai/directives.md +2 -1
  39. package/dist/ai/form.md +10 -10
  40. package/dist/ai/list.md +10 -9
  41. package/dist/ai/mailbox.md +530 -0
  42. package/dist/ai/map.md +2 -1
  43. package/dist/ai/notification.md +14 -12
  44. package/dist/ai/payment-card-form.md +2 -1
  45. package/dist/ai/sheet.md +6 -4
  46. package/dist/ai/steps.md +193 -9
  47. package/dist/ai/store.md +8 -4
  48. package/dist/ai/surface.md +2 -1
  49. package/dist/ai/teleport.md +2 -1
  50. package/dist/ai/theme.md +690 -8
  51. package/dist/ai/timezone.md +2 -1
  52. package/dist/ai/typography.md +2 -1
  53. package/dist/{animated-text-CBOMltQE.js → animated-text-CqpyC7Y0.js} +3 -3
  54. package/dist/{animated-text-CBOMltQE.js.map → animated-text-CqpyC7Y0.js.map} +1 -1
  55. package/dist/{animated-text-rE-SkQgz.cjs → animated-text-DlRt6Q09.cjs} +2 -2
  56. package/dist/{animated-text-rE-SkQgz.cjs.map → animated-text-DlRt6Q09.cjs.map} +1 -1
  57. package/dist/animated-text.cjs +1 -1
  58. package/dist/animated-text.js +1 -1
  59. package/dist/area.cjs +1 -1
  60. package/dist/area.js +14 -13
  61. package/dist/{autocomplete-BAcf_l63.js → autocomplete-B-oKMH7m.js} +3 -3
  62. package/dist/{autocomplete-BAcf_l63.js.map → autocomplete-B-oKMH7m.js.map} +1 -1
  63. package/dist/{autocomplete-CuO8ztL4.cjs → autocomplete-BOGG_9iL.cjs} +2 -2
  64. package/dist/{autocomplete-CuO8ztL4.cjs.map → autocomplete-BOGG_9iL.cjs.map} +1 -1
  65. package/dist/autocomplete.cjs +1 -1
  66. package/dist/autocomplete.js +1 -1
  67. package/dist/{avatar-D3gNBale.js → avatar-U5IpwJuj.js} +70 -71
  68. package/dist/avatar-U5IpwJuj.js.map +1 -0
  69. package/dist/{avatar-N3BODeY1.cjs → avatar-qkIAB2cX.cjs} +3 -3
  70. package/dist/avatar-qkIAB2cX.cjs.map +1 -0
  71. package/dist/badge.cjs +1 -1
  72. package/dist/badge.js +1 -1
  73. package/dist/{boat-BQoWbDxu.js → boat-CdR5Pqik.js} +2 -2
  74. package/dist/{boat-BQoWbDxu.js.map → boat-CdR5Pqik.js.map} +1 -1
  75. package/dist/{boat-CWXlAq65.cjs → boat-DMKcZpZb.cjs} +2 -2
  76. package/dist/{boat-CWXlAq65.cjs.map → boat-DMKcZpZb.cjs.map} +1 -1
  77. package/dist/boat.cjs +1 -1
  78. package/dist/boat.js +1 -1
  79. package/dist/busy.cjs +1 -1
  80. package/dist/busy.js +1 -1
  81. package/dist/button.cjs +1 -1
  82. package/dist/button.js +1 -1
  83. package/dist/card.cjs +1 -1
  84. package/dist/card.js +1 -1
  85. package/dist/{checkbox-DBO-neG5.js → checkbox-CVwU3M4h.js} +2 -2
  86. package/dist/{checkbox-DBO-neG5.js.map → checkbox-CVwU3M4h.js.map} +1 -1
  87. package/dist/{checkbox-DIYmuPtk.cjs → checkbox-DP_zX786.cjs} +2 -2
  88. package/dist/{checkbox-DIYmuPtk.cjs.map → checkbox-DP_zX786.cjs.map} +1 -1
  89. package/dist/checkbox.cjs +1 -1
  90. package/dist/checkbox.js +1 -1
  91. package/dist/{chips-BYE5hQQr.cjs → chips-BuMUH3zA.cjs} +2 -2
  92. package/dist/{chips-BYE5hQQr.cjs.map → chips-BuMUH3zA.cjs.map} +1 -1
  93. package/dist/{chips-C_7proIN.js → chips-DcCUwYBu.js} +3 -3
  94. package/dist/{chips-C_7proIN.js.map → chips-DcCUwYBu.js.map} +1 -1
  95. package/dist/chips.cjs +1 -1
  96. package/dist/chips.js +1 -1
  97. package/dist/code-highlight.cjs +1 -1
  98. package/dist/code-highlight.js +1 -1
  99. package/dist/{code-preview-CQ-EAz9F.js → code-preview-CIXEd04f.js} +2 -2
  100. package/dist/{code-preview-CQ-EAz9F.js.map → code-preview-CIXEd04f.js.map} +1 -1
  101. package/dist/{code-preview-CzcyBpl-.cjs → code-preview-CdCzzZTX.cjs} +2 -2
  102. package/dist/{code-preview-CzcyBpl-.cjs.map → code-preview-CdCzzZTX.cjs.map} +1 -1
  103. package/dist/components.cjs +1 -1
  104. package/dist/components.js +1 -1
  105. package/dist/content-drawer.cjs +1 -1
  106. package/dist/content-drawer.js +1 -1
  107. package/dist/{context-object-K_1gDFu-.cjs → context-object-bNADqf9U.cjs} +2 -2
  108. package/dist/{context-object-K_1gDFu-.cjs.map → context-object-bNADqf9U.cjs.map} +1 -1
  109. package/dist/{context-object-CDDP4bTk.js → context-object-u5gBaozZ.js} +46 -32
  110. package/dist/{context-object-CDDP4bTk.js.map → context-object-u5gBaozZ.js.map} +1 -1
  111. package/dist/{date-range-DCghMsV8.cjs → date-range-CvD9zwK9.cjs} +2 -2
  112. package/dist/{date-range-DCghMsV8.cjs.map → date-range-CvD9zwK9.cjs.map} +1 -1
  113. package/dist/{date-range-inline-JgIiOHQM.js → date-range-inline-5QP9av94.js} +3 -3
  114. package/dist/{date-range-inline-JgIiOHQM.js.map → date-range-inline-5QP9av94.js.map} +1 -1
  115. package/dist/{date-range-inline-Z0ASWN4I.cjs → date-range-inline-CP_a_w01.cjs} +2 -2
  116. package/dist/{date-range-inline-Z0ASWN4I.cjs.map → date-range-inline-CP_a_w01.cjs.map} +1 -1
  117. package/dist/date-range-inline.cjs +1 -1
  118. package/dist/date-range-inline.js +1 -1
  119. package/dist/{date-range-WqwMEh16.js → date-range-lJ_fPY4v.js} +4 -4
  120. package/dist/{date-range-WqwMEh16.js.map → date-range-lJ_fPY4v.js.map} +1 -1
  121. package/dist/date-range.cjs +1 -1
  122. package/dist/date-range.js +1 -1
  123. package/dist/{delay-LnWlFwkK.js → delay-BM1jk7XF.js} +2 -2
  124. package/dist/delay-BM1jk7XF.js.map +1 -0
  125. package/dist/{delay-Ew4cphs1.cjs → delay-CB0Wohe7.cjs} +2 -2
  126. package/dist/delay-CB0Wohe7.cjs.map +1 -0
  127. package/dist/delay.cjs +1 -1
  128. package/dist/delay.js +1 -1
  129. package/dist/{details-BVEV0hUx.js → details-B9JrXrCO.js} +2 -2
  130. package/dist/{details-BVEV0hUx.js.map → details-B9JrXrCO.js.map} +1 -1
  131. package/dist/{details-C01m-iWQ.cjs → details-C22WoRWP.cjs} +2 -2
  132. package/dist/{details-C01m-iWQ.cjs.map → details-C22WoRWP.cjs.map} +1 -1
  133. package/dist/details.cjs +1 -1
  134. package/dist/details.js +1 -1
  135. package/dist/{dialog-content-B_w_iJyW.js → dialog-content-BHR9cUJ-.js} +4 -4
  136. package/dist/{dialog-content-B_w_iJyW.js.map → dialog-content-BHR9cUJ-.js.map} +1 -1
  137. package/dist/{dialog-content-BFmy9Sbo.cjs → dialog-content-CpxWMPlh.cjs} +2 -2
  138. package/dist/{dialog-content-BFmy9Sbo.cjs.map → dialog-content-CpxWMPlh.cjs.map} +1 -1
  139. package/dist/{dialog-service-DwJ_7FB3.js → dialog-service-DwhuICgc.js} +2 -2
  140. package/dist/dialog-service-DwhuICgc.js.map +1 -0
  141. package/dist/dialog-service-juvsgc5X.cjs +2 -0
  142. package/dist/dialog-service-juvsgc5X.cjs.map +1 -0
  143. package/dist/dialog.cjs +1 -1
  144. package/dist/dialog.js +2 -2
  145. package/dist/{divider-FkKYlJY3.js → divider-Cz4g_Ept.js} +3 -3
  146. package/dist/{divider-FkKYlJY3.js.map → divider-Cz4g_Ept.js.map} +1 -1
  147. package/dist/{divider-BWG6TAr2.cjs → divider-DAg0oW4T.cjs} +2 -2
  148. package/dist/{divider-BWG6TAr2.cjs.map → divider-DAg0oW4T.cjs.map} +1 -1
  149. package/dist/divider.cjs +1 -1
  150. package/dist/divider.js +1 -1
  151. package/dist/{dropdown-content-BStJGihR.js → dropdown-content-Bto1swKT.js} +3 -3
  152. package/dist/{dropdown-content-BStJGihR.js.map → dropdown-content-Bto1swKT.js.map} +1 -1
  153. package/dist/{dropdown-content-m1aSF-Oh.cjs → dropdown-content-QvR9QvT0.cjs} +2 -2
  154. package/dist/{dropdown-content-m1aSF-Oh.cjs.map → dropdown-content-QvR9QvT0.cjs.map} +1 -1
  155. package/dist/dropdown.cjs +1 -1
  156. package/dist/dropdown.js +1 -1
  157. package/dist/{email-recipients-CpghUhQ1.js → email-recipients-C9Yx0eML.js} +7 -7
  158. package/dist/{email-recipients-CpghUhQ1.js.map → email-recipients-C9Yx0eML.js.map} +1 -1
  159. package/dist/{email-recipients-CbZNnzoj.cjs → email-recipients-aEI5Hz1y.cjs} +2 -2
  160. package/dist/{email-recipients-CbZNnzoj.cjs.map → email-recipients-aEI5Hz1y.cjs.map} +1 -1
  161. package/dist/extra.cjs +1 -1
  162. package/dist/extra.js +1 -1
  163. package/dist/{flex-C6yj5Sxi.js → flex-8Zt64KfZ.js} +2 -2
  164. package/dist/{flex-C6yj5Sxi.js.map → flex-8Zt64KfZ.js.map} +1 -1
  165. package/dist/{flex-BNVtJlgu.cjs → flex-BWZv2xik.cjs} +2 -2
  166. package/dist/{flex-BNVtJlgu.cjs.map → flex-BWZv2xik.cjs.map} +1 -1
  167. package/dist/{form-ns7c4fcj.cjs → form-BH43OMu3.cjs} +2 -2
  168. package/dist/{form-ns7c4fcj.cjs.map → form-BH43OMu3.cjs.map} +1 -1
  169. package/dist/{form-C85Qev2L.js → form-DeoSuBtM.js} +2 -2
  170. package/dist/{form-C85Qev2L.js.map → form-DeoSuBtM.js.map} +1 -1
  171. package/dist/form.cjs +1 -1
  172. package/dist/form.js +1 -1
  173. package/dist/{formField.mixin-CKb_MTS7.js → formField.mixin-BaPL0TYo.js} +2 -2
  174. package/dist/{formField.mixin-CKb_MTS7.js.map → formField.mixin-BaPL0TYo.js.map} +1 -1
  175. package/dist/{formField.mixin-B3CXBJKX.cjs → formField.mixin-Dta3OeAY.cjs} +2 -2
  176. package/dist/{formField.mixin-B3CXBJKX.cjs.map → formField.mixin-Dta3OeAY.cjs.map} +1 -1
  177. package/dist/{icon-DKPLcbdu.js → icon-B0JNrBfq.js} +2 -2
  178. package/dist/{icon-DKPLcbdu.js.map → icon-B0JNrBfq.js.map} +1 -1
  179. package/dist/{icon-DUstfLaC.cjs → icon-DY2pBLIU.cjs} +2 -2
  180. package/dist/{icon-DUstfLaC.cjs.map → icon-DY2pBLIU.cjs.map} +1 -1
  181. package/dist/{icon-button-DiRex-eZ.cjs → icon-button-D1GjgM8z.cjs} +2 -2
  182. package/dist/{icon-button-DiRex-eZ.cjs.map → icon-button-D1GjgM8z.cjs.map} +1 -1
  183. package/dist/{icon-button-CIkRej0r.js → icon-button-OZM1xg0D.js} +3 -3
  184. package/dist/{icon-button-CIkRej0r.js.map → icon-button-OZM1xg0D.js.map} +1 -1
  185. package/dist/icons.cjs +1 -1
  186. package/dist/icons.js +1 -1
  187. package/dist/index-CCi1otmh.cjs +2 -0
  188. package/dist/{index-DyJ0oDpR.cjs.map → index-CCi1otmh.cjs.map} +1 -1
  189. package/dist/index-CW6PhEkx.js +17 -0
  190. package/dist/{index-CuY8m6ta.js.map → index-CW6PhEkx.js.map} +1 -1
  191. package/dist/index.cjs +1 -1
  192. package/dist/index.js +221 -218
  193. package/dist/index.js.map +1 -1
  194. package/dist/{input-DODcsAZu.js → input-CkvjCut5.js} +3 -3
  195. package/dist/{input-DODcsAZu.js.map → input-CkvjCut5.js.map} +1 -1
  196. package/dist/{input-B7MqsI2h.cjs → input-lUWuO40Q.cjs} +2 -2
  197. package/dist/{input-B7MqsI2h.cjs.map → input-lUWuO40Q.cjs.map} +1 -1
  198. package/dist/input.cjs +1 -1
  199. package/dist/input.js +1 -1
  200. package/dist/layout.cjs +1 -1
  201. package/dist/layout.js +1 -1
  202. package/dist/{list-Cx6tpiFE.js → list-5rw56k73.js} +2 -2
  203. package/dist/{list-Cx6tpiFE.js.map → list-5rw56k73.js.map} +1 -1
  204. package/dist/{list-DxduK4sb.cjs → list-CIt75CB5.cjs} +2 -2
  205. package/dist/{list-DxduK4sb.cjs.map → list-CIt75CB5.cjs.map} +1 -1
  206. package/dist/list.cjs +1 -1
  207. package/dist/list.js +1 -1
  208. package/dist/{litElement.mixin-B12Y4mEr.cjs → litElement.mixin-BLa7fWsS.cjs} +2 -2
  209. package/dist/{litElement.mixin-B12Y4mEr.cjs.map → litElement.mixin-BLa7fWsS.cjs.map} +1 -1
  210. package/dist/{litElement.mixin-BZ8iGvPl.js → litElement.mixin-BZErt4H3.js} +2 -2
  211. package/dist/{litElement.mixin-BZ8iGvPl.js.map → litElement.mixin-BZErt4H3.js.map} +1 -1
  212. package/dist/mailbox.cjs +1 -1
  213. package/dist/mailbox.js +1 -1
  214. package/dist/{map-sgCf8pYD.cjs → map-BY_0W4ER.cjs} +2 -2
  215. package/dist/{map-sgCf8pYD.cjs.map → map-BY_0W4ER.cjs.map} +1 -1
  216. package/dist/{map-dT8yp1iK.js → map-BrguuFGa.js} +2 -2
  217. package/dist/{map-dT8yp1iK.js.map → map-BrguuFGa.js.map} +1 -1
  218. package/dist/map.cjs +1 -1
  219. package/dist/map.js +1 -1
  220. package/dist/{media-CgH0D5rY.js → media-CLz2t5zS.js} +2 -2
  221. package/dist/{media-CgH0D5rY.js.map → media-CLz2t5zS.js.map} +1 -1
  222. package/dist/{media-CwjupDLj.cjs → media-D6ZtvTjC.cjs} +2 -2
  223. package/dist/{media-CwjupDLj.cjs.map → media-D6ZtvTjC.cjs.map} +1 -1
  224. package/dist/{menu-oZRtmhVd.js → menu-CgDSJpDV.js} +3 -3
  225. package/dist/{menu-oZRtmhVd.js.map → menu-CgDSJpDV.js.map} +1 -1
  226. package/dist/{menu-X25Q7tpY.cjs → menu-DWD_IywE.cjs} +2 -2
  227. package/dist/{menu-X25Q7tpY.cjs.map → menu-DWD_IywE.cjs.map} +1 -1
  228. package/dist/menu.cjs +1 -1
  229. package/dist/menu.js +1 -1
  230. package/dist/nav-drawer.cjs +1 -1
  231. package/dist/nav-drawer.js +1 -1
  232. package/dist/{notification-service-y0T4rXdS.js → notification-service-1HGYK2tM.js} +4 -4
  233. package/dist/notification-service-1HGYK2tM.js.map +1 -0
  234. package/dist/{notification-service-kLTt3JtW.cjs → notification-service-A3reAJZQ.cjs} +2 -2
  235. package/dist/notification-service-A3reAJZQ.cjs.map +1 -0
  236. package/dist/notification.cjs +1 -1
  237. package/dist/notification.js +2 -2
  238. package/dist/{notify-BnjvURrc.js → notify-Bt-KiLeP.js} +2 -2
  239. package/dist/{notify-BnjvURrc.js.map → notify-Bt-KiLeP.js.map} +1 -1
  240. package/dist/{notify-EGStToeW.cjs → notify-CVbsMt75.cjs} +2 -2
  241. package/dist/{notify-EGStToeW.cjs.map → notify-CVbsMt75.cjs.map} +1 -1
  242. package/dist/{option-D4_WBCWz.cjs → option-Cd0TxMBE.cjs} +2 -2
  243. package/dist/{option-D4_WBCWz.cjs.map → option-Cd0TxMBE.cjs.map} +1 -1
  244. package/dist/{option-CD1NSUXu.js → option-DvSZ0D0R.js} +2 -2
  245. package/dist/{option-CD1NSUXu.js.map → option-DvSZ0D0R.js.map} +1 -1
  246. package/dist/option.cjs +1 -1
  247. package/dist/option.js +1 -1
  248. package/dist/{payment-card-form-lWlhuDb3.js → payment-card-form-C6wrIT_X.js} +3 -3
  249. package/dist/{payment-card-form-lWlhuDb3.js.map → payment-card-form-C6wrIT_X.js.map} +1 -1
  250. package/dist/{payment-card-form-96Rw6cLf.cjs → payment-card-form-CJkWQ3j4.cjs} +2 -2
  251. package/dist/{payment-card-form-96Rw6cLf.cjs.map → payment-card-form-CJkWQ3j4.cjs.map} +1 -1
  252. package/dist/{progress-BkxGzGOm.cjs → progress-D0iWLtHk.cjs} +2 -2
  253. package/dist/{progress-BkxGzGOm.cjs.map → progress-D0iWLtHk.cjs.map} +1 -1
  254. package/dist/{progress-DGk9tC4y.js → progress-pOL6OHwT.js} +2 -2
  255. package/dist/{progress-DGk9tC4y.js.map → progress-pOL6OHwT.js.map} +1 -1
  256. package/dist/progress.cjs +1 -1
  257. package/dist/progress.js +1 -1
  258. package/dist/{radio-button-DHM38A7h.js → radio-button-C-t6JJsj.js} +3 -3
  259. package/dist/{radio-button-DHM38A7h.js.map → radio-button-C-t6JJsj.js.map} +1 -1
  260. package/dist/{radio-button-w9ZxzEPa.cjs → radio-button-CSV7-ftB.cjs} +2 -2
  261. package/dist/{radio-button-w9ZxzEPa.cjs.map → radio-button-CSV7-ftB.cjs.map} +1 -1
  262. package/dist/radio-group.cjs +1 -1
  263. package/dist/radio-group.js +1 -1
  264. package/dist/route.component-DaBx0B3g.cjs +12 -0
  265. package/dist/route.component-DaBx0B3g.cjs.map +1 -0
  266. package/dist/route.component-DlVlAMWF.js +341 -0
  267. package/dist/route.component-DlVlAMWF.js.map +1 -0
  268. package/dist/rxjs-utils.cjs +1 -1
  269. package/dist/rxjs-utils.js +1 -1
  270. package/dist/{schmancy-steps-container-WYO4SOrb.js → schmancy-steps-container-AIJ2_ZSN.js} +12 -12
  271. package/dist/schmancy-steps-container-AIJ2_ZSN.js.map +1 -0
  272. package/dist/{schmancy-steps-container-CPSL_8H0.cjs → schmancy-steps-container-CgzGlBCk.cjs} +6 -6
  273. package/dist/schmancy-steps-container-CgzGlBCk.cjs.map +1 -0
  274. package/dist/{select-bDAzyQOZ.js → select-CwJ4OuVo.js} +3 -3
  275. package/dist/{select-bDAzyQOZ.js.map → select-CwJ4OuVo.js.map} +1 -1
  276. package/dist/{select-CxCcgqW_.cjs → select-GBaqnfMC.cjs} +2 -2
  277. package/dist/{select-CxCcgqW_.cjs.map → select-GBaqnfMC.cjs.map} +1 -1
  278. package/dist/select.cjs +1 -1
  279. package/dist/select.js +1 -1
  280. package/dist/{selector-hook-CIpuCUbr.js → selector-hook-ChImS_JT.js} +2 -2
  281. package/dist/{selector-hook-CIpuCUbr.js.map → selector-hook-ChImS_JT.js.map} +1 -1
  282. package/dist/{selector-hook-DB8RFC1y.cjs → selector-hook-cqmAutda.cjs} +2 -2
  283. package/dist/{selector-hook-DB8RFC1y.cjs.map → selector-hook-cqmAutda.cjs.map} +1 -1
  284. package/dist/{sheet-Bm0ukLXt.cjs → sheet-CXd47YKG.cjs} +2 -2
  285. package/dist/{sheet-Bm0ukLXt.cjs.map → sheet-CXd47YKG.cjs.map} +1 -1
  286. package/dist/{sheet-pO6PmiAf.js → sheet-fT1oxKgG.js} +4 -4
  287. package/dist/{sheet-pO6PmiAf.js.map → sheet-fT1oxKgG.js.map} +1 -1
  288. package/dist/sheet.cjs +1 -1
  289. package/dist/sheet.js +2 -2
  290. package/dist/sheet.service-BxvWBGsJ.cjs +2 -0
  291. package/dist/sheet.service-BxvWBGsJ.cjs.map +1 -0
  292. package/dist/{sheet.service-ieSXeqCj.js → sheet.service-lXqUf6n5.js} +2 -2
  293. package/dist/sheet.service-lXqUf6n5.js.map +1 -0
  294. package/dist/{slider-CxZGMYF-.js → slider-CYsku-3b.js} +3 -3
  295. package/dist/{slider-CxZGMYF-.js.map → slider-CYsku-3b.js.map} +1 -1
  296. package/dist/{slider-BwXXp74f.cjs → slider-DxSzFbQe.cjs} +2 -2
  297. package/dist/{slider-BwXXp74f.cjs.map → slider-DxSzFbQe.cjs.map} +1 -1
  298. package/dist/slider.cjs +1 -1
  299. package/dist/slider.js +1 -1
  300. package/dist/{spinner-b3VWC6It.js → spinner-CrK1E8LD.js} +2 -2
  301. package/dist/{spinner-b3VWC6It.js.map → spinner-CrK1E8LD.js.map} +1 -1
  302. package/dist/{spinner-nN77H00p.cjs → spinner-DrG_NQpx.cjs} +2 -2
  303. package/dist/{spinner-nN77H00p.cjs.map → spinner-DrG_NQpx.cjs.map} +1 -1
  304. package/dist/steps.cjs +1 -1
  305. package/dist/steps.js +1 -1
  306. package/dist/store.cjs +1 -1
  307. package/dist/store.js +2 -2
  308. package/dist/{surface-C2WjztRc.js → surface-C64YekDh.js} +2 -2
  309. package/dist/{surface-C2WjztRc.js.map → surface-C64YekDh.js.map} +1 -1
  310. package/dist/{surface-Cm8zYK5d.cjs → surface-DVNi8l6T.cjs} +2 -2
  311. package/dist/{surface-Cm8zYK5d.cjs.map → surface-DVNi8l6T.cjs.map} +1 -1
  312. package/dist/surface.cjs +1 -1
  313. package/dist/surface.js +1 -1
  314. package/dist/{table-BfhuaB9J.cjs → table-B3WKGYlu.cjs} +2 -2
  315. package/dist/{table-BfhuaB9J.cjs.map → table-B3WKGYlu.cjs.map} +1 -1
  316. package/dist/{table-Dp7npAuy.js → table-DmrYZ1hR.js} +2 -2
  317. package/dist/{table-Dp7npAuy.js.map → table-DmrYZ1hR.js.map} +1 -1
  318. package/dist/table.cjs +1 -1
  319. package/dist/table.js +1 -1
  320. package/dist/{tabs-compatibility-CA-wWRoe.cjs → tabs-compatibility-Ds7SEeST.cjs} +2 -2
  321. package/dist/{tabs-compatibility-CA-wWRoe.cjs.map → tabs-compatibility-Ds7SEeST.cjs.map} +1 -1
  322. package/dist/{tabs-compatibility-U4cq8X3I.js → tabs-compatibility-Uetjk25R.js} +2 -2
  323. package/dist/{tabs-compatibility-U4cq8X3I.js.map → tabs-compatibility-Uetjk25R.js.map} +1 -1
  324. package/dist/tabs.cjs +1 -1
  325. package/dist/tabs.js +1 -1
  326. package/dist/tailwind.mixin-B6ADeWOc.js +43 -0
  327. package/dist/{tailwind.mixin-D2DVHS9V.js.map → tailwind.mixin-B6ADeWOc.js.map} +1 -1
  328. package/dist/tailwind.mixin-df9KoZ9x.cjs +2 -0
  329. package/dist/{tailwind.mixin-BlZIIaOE.cjs.map → tailwind.mixin-df9KoZ9x.cjs.map} +1 -1
  330. package/dist/teleport.cjs +1 -1
  331. package/dist/teleport.js +1 -1
  332. package/dist/{textarea-BRNj3tvi.js → textarea-B1Tng7F9.js} +2 -2
  333. package/dist/{textarea-BRNj3tvi.js.map → textarea-B1Tng7F9.js.map} +1 -1
  334. package/dist/{textarea-CxZKoXaU.cjs → textarea-QKNA3oAQ.cjs} +2 -2
  335. package/dist/{textarea-CxZKoXaU.cjs.map → textarea-QKNA3oAQ.cjs.map} +1 -1
  336. package/dist/textarea.cjs +1 -1
  337. package/dist/textarea.js +1 -1
  338. package/dist/{theme-button-N_Wt3bos.js → theme-button-CYEhS3ub.js} +2 -2
  339. package/dist/{theme-button-N_Wt3bos.js.map → theme-button-CYEhS3ub.js.map} +1 -1
  340. package/dist/{theme-button-MrIoOFEB.cjs → theme-button-CoCFS3Rx.cjs} +2 -2
  341. package/dist/{theme-button-MrIoOFEB.cjs.map → theme-button-CoCFS3Rx.cjs.map} +1 -1
  342. package/dist/theme-button.cjs +1 -1
  343. package/dist/theme-button.js +1 -1
  344. package/dist/theme.cjs +1 -1
  345. package/dist/theme.component-C12jLwtB.cjs +3 -0
  346. package/dist/theme.component-C12jLwtB.cjs.map +1 -0
  347. package/dist/{theme.component-6VfET_t-.js → theme.component-Df731_fn.js} +247 -171
  348. package/dist/theme.component-Df731_fn.js.map +1 -0
  349. package/dist/theme.events-CPSLaOlR.js +6 -0
  350. package/dist/theme.events-CPSLaOlR.js.map +1 -0
  351. package/dist/theme.events-Car6U_SQ.cjs +2 -0
  352. package/dist/theme.events-Car6U_SQ.cjs.map +1 -0
  353. package/dist/theme.interface-C5Kj6WjD.js.map +1 -1
  354. package/dist/theme.interface-Xg5Zi46a.cjs.map +1 -1
  355. package/dist/theme.js +9 -7
  356. package/dist/theme.js.map +1 -1
  357. package/dist/{timezone-BVd9UEba.cjs → timezone-B7bscKFN.cjs} +2 -2
  358. package/dist/{timezone-BVd9UEba.cjs.map → timezone-B7bscKFN.cjs.map} +1 -1
  359. package/dist/{timezone-DR_4m9Cc.js → timezone-CdtCVjMF.js} +3 -3
  360. package/dist/{timezone-DR_4m9Cc.js.map → timezone-CdtCVjMF.js.map} +1 -1
  361. package/dist/{tooltip-DOQVLRaH.cjs → tooltip-CjoNCIvr.cjs} +2 -2
  362. package/dist/{tooltip-DOQVLRaH.cjs.map → tooltip-CjoNCIvr.cjs.map} +1 -1
  363. package/dist/{tooltip-BpPHc8Wr.js → tooltip-JVkexTyf.js} +2 -2
  364. package/dist/{tooltip-BpPHc8Wr.js.map → tooltip-JVkexTyf.js.map} +1 -1
  365. package/dist/tooltip.cjs +1 -1
  366. package/dist/tooltip.js +1 -1
  367. package/dist/{tree-BANkyLn7.cjs → tree-Be48ABq4.cjs} +2 -2
  368. package/dist/{tree-BANkyLn7.cjs.map → tree-Be48ABq4.cjs.map} +1 -1
  369. package/dist/{tree-C5zu8wXc.js → tree-CaqiNcJJ.js} +2 -2
  370. package/dist/{tree-C5zu8wXc.js.map → tree-CaqiNcJJ.js.map} +1 -1
  371. package/dist/tree.cjs +1 -1
  372. package/dist/tree.js +1 -1
  373. package/dist/{typewriter-CdztqkoR.js → typewriter-CoMrmwFJ.js} +8 -8
  374. package/dist/{typewriter-CdztqkoR.js.map → typewriter-CoMrmwFJ.js.map} +1 -1
  375. package/dist/{typewriter-DS0D0UZM.cjs → typewriter-DCYDScE9.cjs} +2 -2
  376. package/dist/{typewriter-DS0D0UZM.cjs.map → typewriter-DCYDScE9.cjs.map} +1 -1
  377. package/dist/typewriter.cjs +1 -1
  378. package/dist/typewriter.js +1 -1
  379. package/dist/{typography-C8vZfuLF.cjs → typography-BQg6J2hD.cjs} +2 -2
  380. package/dist/{typography-C8vZfuLF.cjs.map → typography-BQg6J2hD.cjs.map} +1 -1
  381. package/dist/{typography-o9FJ6Lzo.js → typography-DkJagEoF.js} +2 -2
  382. package/dist/{typography-o9FJ6Lzo.js.map → typography-DkJagEoF.js.map} +1 -1
  383. package/dist/typography.cjs +1 -1
  384. package/dist/typography.js +1 -1
  385. package/package.json +1 -1
  386. package/types/src/area/area.component.d.ts +25 -5
  387. package/types/src/area/index.d.ts +1 -0
  388. package/types/src/area/route.component.d.ts +43 -0
  389. package/types/src/area/route.test.d.ts +20 -0
  390. package/types/src/steps/schmancy-steps-container.d.ts +9 -0
  391. package/types/src/store/context-collection.d.ts +26 -2
  392. package/types/src/theme/context.d.ts +24 -0
  393. package/types/src/theme/index.d.ts +2 -0
  394. package/types/src/theme/theme.component.d.ts +49 -6
  395. package/types/src/theme/theme.events.d.ts +55 -0
  396. package/types/src/theme/theme.interface.d.ts +36 -0
  397. package/types/src/theme/theme.service.d.ts +261 -0
  398. package/dist/area.component-C86pi_TT.js +0 -283
  399. package/dist/area.component-C86pi_TT.js.map +0 -1
  400. package/dist/area.component-nX_dCv4R.cjs +0 -8
  401. package/dist/area.component-nX_dCv4R.cjs.map +0 -1
  402. package/dist/avatar-D3gNBale.js.map +0 -1
  403. package/dist/avatar-N3BODeY1.cjs.map +0 -1
  404. package/dist/delay-Ew4cphs1.cjs.map +0 -1
  405. package/dist/delay-LnWlFwkK.js.map +0 -1
  406. package/dist/dialog-service-DS-aEjlX.cjs +0 -2
  407. package/dist/dialog-service-DS-aEjlX.cjs.map +0 -1
  408. package/dist/dialog-service-DwJ_7FB3.js.map +0 -1
  409. package/dist/index-CuY8m6ta.js +0 -19
  410. package/dist/index-DyJ0oDpR.cjs +0 -2
  411. package/dist/notification-service-kLTt3JtW.cjs.map +0 -1
  412. package/dist/notification-service-y0T4rXdS.js.map +0 -1
  413. package/dist/schmancy-steps-container-CPSL_8H0.cjs.map +0 -1
  414. package/dist/schmancy-steps-container-WYO4SOrb.js.map +0 -1
  415. package/dist/sheet.service-DV9xNhS8.cjs +0 -2
  416. package/dist/sheet.service-DV9xNhS8.cjs.map +0 -1
  417. package/dist/sheet.service-ieSXeqCj.js.map +0 -1
  418. package/dist/tailwind.mixin-BlZIIaOE.cjs +0 -2
  419. package/dist/tailwind.mixin-D2DVHS9V.js +0 -43
  420. package/dist/theme.component-6VfET_t-.js.map +0 -1
  421. package/dist/theme.component-B_EubPsq.cjs +0 -3
  422. package/dist/theme.component-B_EubPsq.cjs.map +0 -1
@@ -0,0 +1,20 @@
1
+ import './area.component';
2
+ import './area-route.component';
3
+ declare const TestHome_base: CustomElementConstructor & import("@mixins/index").Constructor<import("lit").LitElement> & import("@mixins/index").Constructor<import("@mixins/index").IBaseMixin>;
4
+ declare class TestHome extends TestHome_base {
5
+ render(): import("lit-html").TemplateResult<1>;
6
+ }
7
+ declare const TestAbout_base: CustomElementConstructor & import("@mixins/index").Constructor<import("lit").LitElement> & import("@mixins/index").Constructor<import("@mixins/index").IBaseMixin>;
8
+ declare class TestAbout extends TestAbout_base {
9
+ render(): import("lit-html").TemplateResult<1>;
10
+ }
11
+ declare const TestUser_base: CustomElementConstructor & import("@mixins/index").Constructor<import("lit").LitElement> & import("@mixins/index").Constructor<import("@mixins/index").IBaseMixin>;
12
+ declare class TestUser extends TestUser_base {
13
+ userId?: string;
14
+ render(): import("lit-html").TemplateResult<1>;
15
+ }
16
+ declare const TestApp_base: CustomElementConstructor & import("@mixins/index").Constructor<import("lit").LitElement> & import("@mixins/index").Constructor<import("@mixins/index").IBaseMixin>;
17
+ declare class TestApp extends TestApp_base {
18
+ render(): import("lit-html").TemplateResult<1>;
19
+ }
20
+ export { TestApp, TestHome, TestAbout, TestUser };
@@ -1,4 +1,10 @@
1
1
  import { StepsController } from './steps.context';
2
+ /**
3
+ * Custom event emitted when the current step changes
4
+ */
5
+ export type SchmancyStepsChangeEvent = CustomEvent<{
6
+ value: number;
7
+ }>;
2
8
  declare const SchmancyStepsContainer_base: CustomElementConstructor & import("../../mixins").Constructor<import("lit").LitElement> & import("../../mixins").Constructor<import("../../mixins").IBaseMixin>;
3
9
  export declare class SchmancyStepsContainer extends SchmancyStepsContainer_base {
4
10
  private controller;
@@ -19,5 +25,8 @@ declare global {
19
25
  interface HTMLElementTagNameMap {
20
26
  'schmancy-steps-container': SchmancyStepsContainer;
21
27
  }
28
+ interface HTMLElementEventMap {
29
+ 'schmancy-steps:change': SchmancyStepsChangeEvent;
30
+ }
22
31
  }
23
32
  export {};
@@ -13,9 +13,33 @@ export default class SchmancyCollectionStore<V = any> extends BaseStore<Map<stri
13
13
  */
14
14
  static getInstance<V = any>(storage: StorageType, key: string, defaultValue: Map<string, V>): SchmancyCollectionStore<V>;
15
15
  /**
16
- * Set a value in the collection with proper typing and immutability
16
+ * Set values in the collection with proper typing and immutability.
17
+ * Supports multiple input types to prevent common developer mistakes.
18
+ *
19
+ * @example
20
+ * // Single key-value pair
21
+ * store.set('key1', value1)
22
+ *
23
+ * @example
24
+ * // Merge from a Map
25
+ * const dataMap = new Map([['key1', value1], ['key2', value2]])
26
+ * store.set(dataMap)
27
+ *
28
+ * @example
29
+ * // Merge from an object
30
+ * store.set({ key1: value1, key2: value2 })
17
31
  */
18
- set<T = V>(key: string, value: T): void;
32
+ set<T = V>(keyOrData: string | Map<string, T> | Record<string, T>, value?: T): void;
33
+ /**
34
+ * Merge a Map into the collection. This is a helper method that provides
35
+ * explicit semantics for merging operations.
36
+ *
37
+ * @param map The Map to merge into the collection
38
+ * @example
39
+ * const dataMap = new Map([['key1', value1], ['key2', value2]])
40
+ * store.merge(dataMap)
41
+ */
42
+ merge<T = V>(map: Map<string, T>): void;
19
43
  /**
20
44
  * Delete a value from the collection immutably
21
45
  */
@@ -1,3 +1,27 @@
1
+ /**
2
+ * Lit Context for sharing theme configuration across components.\n *
3
+ * This context is provided by SchmancyThemeComponent and can be consumed
4
+ * by any child component to access the current theme configuration.
5
+ *
6
+ * @type {Context<Partial<TSchmancyTheme>>}
7
+ *
8
+ * @example
9
+ * ```typescript
10
+ * import { consume } from '@lit/context'
11
+ * import { themeContext } from '@schmancy/theme'
12
+ *
13
+ * class MyComponent extends LitElement {
14
+ * @consume({ context: themeContext })
15
+ * theme?: Partial<TSchmancyTheme>
16
+ *
17
+ * render() {
18
+ * // Access theme variables
19
+ * const primaryColor = this.theme?.sys?.color?.primary?.default
20
+ * // ...
21
+ * }
22
+ * }
23
+ * ```
24
+ */
1
25
  export declare const themeContext: {
2
26
  __context__: Partial<{
3
27
  sys: {
@@ -1,3 +1,5 @@
1
1
  export * from './theme.component';
2
+ export * from './theme.events';
2
3
  export * from './theme.format';
3
4
  export * from './theme.interface';
5
+ export * from './theme.service';
@@ -1,18 +1,61 @@
1
1
  import { TSchmancyTheme } from './theme.interface';
2
- export type ThemeWhereAreYouEvent = CustomEvent<void>;
3
- export declare const ThemeWhereAreYou = "theme-where-are-you";
4
- export type ThemeHereIAmEvent = CustomEvent<{
5
- theme: HTMLElement;
6
- }>;
7
- export declare const ThemeHereIAm = "theme-here-i-am";
8
2
  export declare const tailwindStyles: import("lit").CSSResult;
9
3
  declare const SchmancyThemeComponent_base: import("../../mixins").Constructor<CustomElementConstructor> & import("../../mixins").Constructor<import("@mixins/tailwind.mixin").ITailwindElementMixin> & import("../../mixins").Constructor<import("lit").LitElement> & import("../../mixins").Constructor<import("../../mixins").IBaseMixin>;
4
+ /**
5
+ * SchmancyThemeComponent - Provides theming capabilities for Schmancy components.
6
+ *
7
+ * This component manages color schemes, primary colors, and theme distribution
8
+ * throughout the component tree. It can be used at the root level or nested
9
+ * to provide different themes to different parts of the application.
10
+ *
11
+ * @element schmancy-theme
12
+ *
13
+ * @example
14
+ * ```html
15
+ * <!-- Root theme provider -->
16
+ * <schmancy-theme color="#6200ee" scheme="auto" root>
17
+ * <your-app></your-app>
18
+ * </schmancy-theme>
19
+ *
20
+ * <!-- Nested theme for specific section -->
21
+ * <schmancy-theme color="#2196f3" scheme="dark">
22
+ * <div class="dark-section">
23
+ * <!-- Components here will use blue dark theme -->
24
+ * </div>
25
+ * </schmancy-theme>
26
+ * ```
27
+ */
10
28
  export declare class SchmancyThemeComponent extends SchmancyThemeComponent_base {
29
+ /**
30
+ * Primary color for the theme in hex format.
31
+ * @attr color
32
+ * @type {string}
33
+ * @default Random generated color
34
+ * @example "#6200ee"
35
+ */
11
36
  color: string;
37
+ /**
38
+ * Color scheme for the theme.
39
+ * @attr scheme
40
+ * @type {'dark' | 'light' | 'auto'}
41
+ * @default 'auto'
42
+ */
12
43
  scheme: 'dark' | 'light' | 'auto';
44
+ /**
45
+ * Whether this theme should be applied at the root level (document.body).
46
+ * @attr root
47
+ * @type {boolean}
48
+ * @default false
49
+ */
13
50
  root: boolean;
51
+ /**
52
+ * Theme configuration object containing all theme variables.
53
+ * @property {Partial<TSchmancyTheme>} theme
54
+ * @internal
55
+ */
14
56
  theme: Partial<TSchmancyTheme>;
15
57
  connectedCallback(): void;
58
+ updated(changedProperties: Map<string | number | symbol, unknown>): void;
16
59
  registerTheme(): void;
17
60
  registerThemeValues(prefix: string, path: string, value: Partial<TSchmancyTheme>): string | undefined;
18
61
  generateRandomColor(): string;
@@ -0,0 +1,55 @@
1
+ /**
2
+ * Theme discovery event system.
3
+ *
4
+ * These events facilitate communication between theme components and consumers,
5
+ * allowing components to discover the nearest theme provider in the DOM hierarchy.
6
+ */
7
+ /**
8
+ * Event dispatched by components to discover the nearest theme provider.
9
+ * Theme components listen for this event and respond with ThemeHereIAmEvent.
10
+ *
11
+ * @event ThemeWhereAreYouEvent
12
+ * @type {CustomEvent<void>}
13
+ *
14
+ * @example
15
+ * ```typescript
16
+ * // Dispatch discovery request
17
+ * window.dispatchEvent(
18
+ * new CustomEvent('theme-where-are-you', {
19
+ * bubbles: true,
20
+ * composed: true
21
+ * })
22
+ * )
23
+ * ```
24
+ */
25
+ export type ThemeWhereAreYouEvent = CustomEvent<void>;
26
+ /**
27
+ * Event name constant for theme discovery request.
28
+ * @const {string}
29
+ */
30
+ export declare const ThemeWhereAreYou = "theme-where-are-you";
31
+ /**
32
+ * Event dispatched by theme components in response to discovery requests.
33
+ * Contains reference to the theme component element.
34
+ *
35
+ * @event ThemeHereIAmEvent
36
+ * @type {CustomEvent<{theme: HTMLElement}>}
37
+ * @property {HTMLElement} detail.theme - The theme component element
38
+ *
39
+ * @example
40
+ * ```typescript
41
+ * // Listen for theme response
42
+ * window.addEventListener('theme-here-i-am', (event: ThemeHereIAmEvent) => {
43
+ * const themeComponent = event.detail.theme
44
+ * console.log('Found theme component:', themeComponent)
45
+ * })
46
+ * ```
47
+ */
48
+ export type ThemeHereIAmEvent = CustomEvent<{
49
+ theme: HTMLElement;
50
+ }>;
51
+ /**
52
+ * Event name constant for theme discovery response.
53
+ * @const {string}
54
+ */
55
+ export declare const ThemeHereIAm = "theme-here-i-am";
@@ -62,6 +62,42 @@ declare const theme: {
62
62
  };
63
63
  };
64
64
  };
65
+ /**
66
+ * Type definition for the Schmancy theme configuration.
67
+ * Contains all available theme variables including colors, elevations, and outlines.
68
+ *
69
+ * @typedef {Object} TSchmancyTheme
70
+ *
71
+ * @example
72
+ * ```typescript
73
+ * import type { TSchmancyTheme } from '@schmancy/theme'
74
+ *
75
+ * const myTheme: Partial<TSchmancyTheme> = {
76
+ * sys: {
77
+ * color: {
78
+ * primary: {
79
+ * default: '#6200ee'
80
+ * }
81
+ * }
82
+ * }
83
+ * }
84
+ * ```
85
+ */
65
86
  export type TSchmancyTheme = (typeof theme)[keyof typeof theme];
87
+ /**
88
+ * Default Schmancy theme configuration object.
89
+ * Provides access to all theme CSS variables through JavaScript.
90
+ *
91
+ * @constant {TSchmancyTheme}
92
+ *
93
+ * @example
94
+ * ```typescript
95
+ * import { SchmancyTheme } from '@schmancy/theme'
96
+ *
97
+ * // Access primary color variable
98
+ * const primaryColor = SchmancyTheme.sys.color.primary.default
99
+ * // Returns: 'var(--schmancy-sys-color-primary-default)'
100
+ * ```
101
+ */
66
102
  declare const SchmancyTheme: TSchmancyTheme;
67
103
  export { SchmancyTheme };
@@ -0,0 +1,261 @@
1
+ import { Observable } from 'rxjs';
2
+ import type { SchmancyThemeComponent } from './theme.component';
3
+ import type { TSchmancyTheme } from './theme.interface';
4
+ /**
5
+ * Theme Service - Provides centralized theme management for Schmancy components.
6
+ *
7
+ * This service acts as a singleton interface to interact with the theme system,
8
+ * providing reactive observables for theme state and methods to control theming.
9
+ *
10
+ * @example
11
+ * ```typescript
12
+ * import { theme } from '@schmancy/theme'
13
+ *
14
+ * // Subscribe to theme changes
15
+ * theme.scheme$.subscribe(scheme => {
16
+ * console.log('Current scheme:', scheme) // 'light' | 'dark' | 'auto'
17
+ * })
18
+ *
19
+ * // Get current values synchronously
20
+ * const currentScheme = theme.scheme
21
+ * const currentColor = theme.color
22
+ *
23
+ * // Toggle between light and dark mode
24
+ * theme.toggleScheme()
25
+ *
26
+ * // Set specific scheme
27
+ * theme.setScheme('dark')
28
+ *
29
+ * // Check if dark mode is active
30
+ * theme.isDarkMode().subscribe(isDark => {
31
+ * console.log('Is dark mode:', isDark)
32
+ * })
33
+ * ```
34
+ */
35
+ declare class ThemeService {
36
+ private static instance;
37
+ private _scheme$;
38
+ private _color$;
39
+ private _theme$;
40
+ private _themeComponent$;
41
+ readonly scheme$: Observable<"auto" | "dark" | "light">;
42
+ readonly color$: Observable<string>;
43
+ readonly theme$: Observable<Partial<{
44
+ sys: {
45
+ color: {
46
+ scrim: string;
47
+ outline: string;
48
+ outlineVariant: string;
49
+ surface: {
50
+ default: string;
51
+ dim: string;
52
+ bright: string;
53
+ container: string;
54
+ low: string;
55
+ high: string;
56
+ highest: string;
57
+ lowest: string;
58
+ on: string;
59
+ onVariant: string;
60
+ };
61
+ primary: {
62
+ default: string;
63
+ on: string;
64
+ container: string;
65
+ onContainer: string;
66
+ };
67
+ secondary: {
68
+ default: string;
69
+ on: string;
70
+ container: string;
71
+ onContainer: string;
72
+ };
73
+ tertiary: {
74
+ default: string;
75
+ on: string;
76
+ container: string;
77
+ onContainer: string;
78
+ };
79
+ error: {
80
+ default: string;
81
+ on: string;
82
+ container: string;
83
+ onContainer: string;
84
+ };
85
+ success: {
86
+ default: string;
87
+ on: string;
88
+ container: string;
89
+ onContainer: string;
90
+ };
91
+ };
92
+ elevation: {
93
+ 0: string;
94
+ 1: string;
95
+ 2: string;
96
+ 3: string;
97
+ 4: string;
98
+ 5: string;
99
+ };
100
+ outline: {
101
+ 1: string;
102
+ };
103
+ };
104
+ }>>;
105
+ readonly themeComponent$: Observable<SchmancyThemeComponent>;
106
+ get scheme(): 'dark' | 'light' | 'auto';
107
+ get color(): string;
108
+ get theme(): Partial<TSchmancyTheme>;
109
+ get themeComponent(): SchmancyThemeComponent | null;
110
+ readonly resolvedScheme$: Observable<"dark" | "light">;
111
+ constructor();
112
+ /**
113
+ * Discover the nearest theme component in the DOM.
114
+ * This method can be called to refresh the theme discovery process.
115
+ *
116
+ * @returns {Observable<SchmancyThemeComponent | null>} Observable that emits the discovered theme component or null
117
+ *
118
+ * @example
119
+ * ```typescript
120
+ * theme.discoverTheme().subscribe(component => {
121
+ * if (component) {
122
+ * console.log('Theme component found:', component)
123
+ * } else {
124
+ * console.log('No theme component found')
125
+ * }
126
+ * })
127
+ * ```
128
+ */
129
+ discoverTheme(): Observable<SchmancyThemeComponent | null>;
130
+ /**
131
+ * Register a theme component and subscribe to its changes.
132
+ * This is typically called internally by theme components when they mount or update.
133
+ *
134
+ * @param {SchmancyThemeComponent} component - The theme component to register
135
+ *
136
+ * @internal
137
+ */
138
+ registerThemeComponent(component: SchmancyThemeComponent): void;
139
+ /**
140
+ * Update theme values. Usually called internally by theme components.
141
+ *
142
+ * @param {Object} values - Theme values to update
143
+ * @param {'dark' | 'light' | 'auto'} [values.scheme] - Color scheme to set
144
+ * @param {string} [values.color] - Primary color in hex format
145
+ * @param {Partial<TSchmancyTheme>} [values.theme] - Theme configuration object
146
+ *
147
+ * @internal
148
+ */
149
+ updateTheme(values: {
150
+ scheme?: 'dark' | 'light' | 'auto';
151
+ color?: string;
152
+ theme?: Partial<TSchmancyTheme>;
153
+ }): void;
154
+ /**
155
+ * Set the color scheme for the application.
156
+ *
157
+ * @param {'dark' | 'light' | 'auto'} scheme - The color scheme to set
158
+ *
159
+ * @example
160
+ * ```typescript
161
+ * // Set to dark mode
162
+ * theme.setScheme('dark')
163
+ *
164
+ * // Set to auto (follows system preference)
165
+ * theme.setScheme('auto')
166
+ * ```
167
+ */
168
+ setScheme(scheme: 'dark' | 'light' | 'auto'): void;
169
+ /**
170
+ * Set the primary color for the theme.
171
+ *
172
+ * @param {string} color - Primary color in hex format (e.g., '#6200ee')
173
+ *
174
+ * @example
175
+ * ```typescript
176
+ * // Set primary color to purple
177
+ * theme.setColor('#6200ee')
178
+ *
179
+ * // Set primary color to blue
180
+ * theme.setColor('#2196f3')
181
+ * ```
182
+ */
183
+ setColor(color: string): void;
184
+ /**
185
+ * Check if dark mode is currently active.
186
+ * This resolves 'auto' scheme to the actual value based on system preference.
187
+ *
188
+ * @returns {Observable<boolean>} Observable that emits true if dark mode is active, false otherwise
189
+ *
190
+ * @example
191
+ * ```typescript
192
+ * theme.isDarkMode().subscribe(isDark => {
193
+ * if (isDark) {
194
+ * console.log('Dark mode is active')
195
+ * } else {
196
+ * console.log('Light mode is active')
197
+ * }
198
+ * })
199
+ * ```
200
+ */
201
+ isDarkMode(): Observable<boolean>;
202
+ /**
203
+ * Toggle between light and dark mode.
204
+ * If currently in 'auto' mode, defaults to 'light'.
205
+ *
206
+ * @example
207
+ * ```typescript
208
+ * // Toggle theme on button click
209
+ * button.addEventListener('click', () => {
210
+ * theme.toggleScheme()
211
+ * })
212
+ * ```
213
+ */
214
+ toggleScheme(): void;
215
+ /**
216
+ * Get the current value of a CSS variable from the theme.
217
+ *
218
+ * @param {string} variableName - Name of the CSS variable (without '--schmancy-' prefix)
219
+ * @returns {string} The CSS variable value or empty string if not found
220
+ *
221
+ * @example
222
+ * ```typescript
223
+ * // Get primary color variable
224
+ * const primaryColor = theme.getCSSVariable('color-primary')
225
+ *
226
+ * // Get surface color
227
+ * const surfaceColor = theme.getCSSVariable('color-surface')
228
+ * ```
229
+ */
230
+ getCSSVariable(variableName: string): string;
231
+ /**
232
+ * Subscribe to changes of a specific CSS variable.
233
+ *
234
+ * @param {string} variableName - Name of the CSS variable to watch (without '--schmancy-' prefix)
235
+ * @returns {Observable<string>} Observable that emits the CSS variable value when it changes
236
+ *
237
+ * @example
238
+ * ```typescript
239
+ * // Watch for primary color changes
240
+ * theme.watchCSSVariable('color-primary').subscribe(color => {
241
+ * console.log('Primary color changed to:', color)
242
+ * })
243
+ *
244
+ * // Watch for surface color changes
245
+ * theme.watchCSSVariable('color-surface').subscribe(color => {
246
+ * console.log('Surface color changed to:', color)
247
+ * })
248
+ * ```
249
+ */
250
+ watchCSSVariable(variableName: string): Observable<string>;
251
+ /**
252
+ * Get the singleton instance of ThemeService.
253
+ *
254
+ * @returns {ThemeService} The singleton ThemeService instance
255
+ *
256
+ * @internal
257
+ */
258
+ static getInstance(): ThemeService;
259
+ }
260
+ export declare const theme: ThemeService;
261
+ export default theme;