mates-devtools 0.1.0-beta.1

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 (379) hide show
  1. package/dist/mates-devtools.es.js +3464 -0
  2. package/dist/mates-devtools.umd.js +650 -0
  3. package/dist/types/Mates-DevTools/src/MatesDevTools.d.ts +5 -0
  4. package/dist/types/Mates-DevTools/src/MatesDevTools.d.ts.map +1 -0
  5. package/dist/types/Mates-DevTools/src/MatesDevToolsComponent.d.ts +24 -0
  6. package/dist/types/Mates-DevTools/src/MatesDevToolsComponent.d.ts.map +1 -0
  7. package/dist/types/Mates-DevTools/src/components/AtomsViewer.d.ts +2 -0
  8. package/dist/types/Mates-DevTools/src/components/AtomsViewer.d.ts.map +1 -0
  9. package/dist/types/Mates-DevTools/src/components/ComponentInspector.d.ts +27 -0
  10. package/dist/types/Mates-DevTools/src/components/ComponentInspector.d.ts.map +1 -0
  11. package/dist/types/Mates-DevTools/src/components/ComponentList.d.ts +11 -0
  12. package/dist/types/Mates-DevTools/src/components/ComponentList.d.ts.map +1 -0
  13. package/dist/types/Mates-DevTools/src/components/ComponentTree.d.ts +9 -0
  14. package/dist/types/Mates-DevTools/src/components/ComponentTree.d.ts.map +1 -0
  15. package/dist/types/Mates-DevTools/src/components/Header.d.ts +10 -0
  16. package/dist/types/Mates-DevTools/src/components/Header.d.ts.map +1 -0
  17. package/dist/types/Mates-DevTools/src/components/Highlight.d.ts +6 -0
  18. package/dist/types/Mates-DevTools/src/components/Highlight.d.ts.map +1 -0
  19. package/dist/types/Mates-DevTools/src/components/HooksViewer.d.ts +7 -0
  20. package/dist/types/Mates-DevTools/src/components/HooksViewer.d.ts.map +1 -0
  21. package/dist/types/Mates-DevTools/src/components/LogsViewer.d.ts +6 -0
  22. package/dist/types/Mates-DevTools/src/components/LogsViewer.d.ts.map +1 -0
  23. package/dist/types/Mates-DevTools/src/components/PerfViewer.d.ts +7 -0
  24. package/dist/types/Mates-DevTools/src/components/PerfViewer.d.ts.map +1 -0
  25. package/dist/types/Mates-DevTools/src/components/PropsViewer.d.ts +2 -0
  26. package/dist/types/Mates-DevTools/src/components/PropsViewer.d.ts.map +1 -0
  27. package/dist/types/Mates-DevTools/src/components/ScopesViewer.d.ts +2 -0
  28. package/dist/types/Mates-DevTools/src/components/ScopesViewer.d.ts.map +1 -0
  29. package/dist/types/Mates-DevTools/src/components/TimerLogger.d.ts +5 -0
  30. package/dist/types/Mates-DevTools/src/components/TimerLogger.d.ts.map +1 -0
  31. package/dist/types/Mates-DevTools/src/components/UseStateViewer.d.ts +12 -0
  32. package/dist/types/Mates-DevTools/src/components/UseStateViewer.d.ts.map +1 -0
  33. package/dist/types/Mates-DevTools/src/components/ValueTree.d.ts +19 -0
  34. package/dist/types/Mates-DevTools/src/components/ValueTree.d.ts.map +1 -0
  35. package/dist/types/Mates-DevTools/src/index.d.ts +23 -0
  36. package/dist/types/Mates-DevTools/src/index.d.ts.map +1 -0
  37. package/dist/types/Mates-DevTools/src/interceptTimers.d.ts +11 -0
  38. package/dist/types/Mates-DevTools/src/interceptTimers.d.ts.map +1 -0
  39. package/dist/types/Mates-DevTools/src/logStore.d.ts +38 -0
  40. package/dist/types/Mates-DevTools/src/logStore.d.ts.map +1 -0
  41. package/dist/types/Mates-DevTools/src/perfStore.d.ts +36 -0
  42. package/dist/types/Mates-DevTools/src/perfStore.d.ts.map +1 -0
  43. package/dist/types/Mates-DevTools/src/registry.d.ts +68 -0
  44. package/dist/types/Mates-DevTools/src/registry.d.ts.map +1 -0
  45. package/dist/types/Mates-DevTools/src/styles.d.ts +833 -0
  46. package/dist/types/Mates-DevTools/src/styles.d.ts.map +1 -0
  47. package/dist/types/Mates-DevTools/src/types.d.ts +19 -0
  48. package/dist/types/Mates-DevTools/src/types.d.ts.map +1 -0
  49. package/dist/types/lib/Directives/$.d.ts +371 -0
  50. package/dist/types/lib/Directives/$.d.ts.map +1 -0
  51. package/dist/types/lib/Directives/animatedConditional.d.ts +67 -0
  52. package/dist/types/lib/Directives/animatedConditional.d.ts.map +1 -0
  53. package/dist/types/lib/Directives/animationClasses.d.ts +50 -0
  54. package/dist/types/lib/Directives/animationClasses.d.ts.map +1 -0
  55. package/dist/types/lib/Directives/attrDirective.d.ts +69 -0
  56. package/dist/types/lib/Directives/attrDirective.d.ts.map +1 -0
  57. package/dist/types/lib/Directives/classesDirective.d.ts +79 -0
  58. package/dist/types/lib/Directives/classesDirective.d.ts.map +1 -0
  59. package/dist/types/lib/Directives/eleHook.d.ts +84 -0
  60. package/dist/types/lib/Directives/eleHook.d.ts.map +1 -0
  61. package/dist/types/lib/Directives/eventBinding.d.ts +29 -0
  62. package/dist/types/lib/Directives/eventBinding.d.ts.map +1 -0
  63. package/dist/types/lib/Directives/htmlHook.d.ts +101 -0
  64. package/dist/types/lib/Directives/htmlHook.d.ts.map +1 -0
  65. package/dist/types/lib/Directives/index.d.ts +18 -0
  66. package/dist/types/lib/Directives/index.d.ts.map +1 -0
  67. package/dist/types/lib/Directives/intersectDirective.d.ts +67 -0
  68. package/dist/types/lib/Directives/intersectDirective.d.ts.map +1 -0
  69. package/dist/types/lib/Directives/lazyLoadDirective.d.ts +66 -0
  70. package/dist/types/lib/Directives/lazyLoadDirective.d.ts.map +1 -0
  71. package/dist/types/lib/Directives/lifecycleDirectives.d.ts +56 -0
  72. package/dist/types/lib/Directives/lifecycleDirectives.d.ts.map +1 -0
  73. package/dist/types/lib/Directives/masonryGrid.d.ts +114 -0
  74. package/dist/types/lib/Directives/masonryGrid.d.ts.map +1 -0
  75. package/dist/types/lib/Directives/memoTemplate.d.ts +94 -0
  76. package/dist/types/lib/Directives/memoTemplate.d.ts.map +1 -0
  77. package/dist/types/lib/Directives/onDirective.d.ts +71 -0
  78. package/dist/types/lib/Directives/onDirective.d.ts.map +1 -0
  79. package/dist/types/lib/Directives/onParentDirective.d.ts +34 -0
  80. package/dist/types/lib/Directives/onParentDirective.d.ts.map +1 -0
  81. package/dist/types/lib/Directives/renderSwitch.d.ts +55 -0
  82. package/dist/types/lib/Directives/renderSwitch.d.ts.map +1 -0
  83. package/dist/types/lib/Directives/resolveAttrValue.d.ts +35 -0
  84. package/dist/types/lib/Directives/resolveAttrValue.d.ts.map +1 -0
  85. package/dist/types/lib/Directives/styleDirective.d.ts +81 -0
  86. package/dist/types/lib/Directives/styleDirective.d.ts.map +1 -0
  87. package/dist/types/lib/Directives/timerDirective.d.ts +52 -0
  88. package/dist/types/lib/Directives/timerDirective.d.ts.map +1 -0
  89. package/dist/types/lib/Directives/virtualHelpers.d.ts +10 -0
  90. package/dist/types/lib/Directives/virtualHelpers.d.ts.map +1 -0
  91. package/dist/types/lib/Fetch/ErrorTypes.d.ts +74 -0
  92. package/dist/types/lib/Fetch/ErrorTypes.d.ts.map +1 -0
  93. package/dist/types/lib/Fetch/Fetch.d.ts +168 -0
  94. package/dist/types/lib/Fetch/Fetch.d.ts.map +1 -0
  95. package/dist/types/lib/Fetch/index.d.ts +3 -0
  96. package/dist/types/lib/Fetch/index.d.ts.map +1 -0
  97. package/dist/types/lib/Mutables/Extended Atoms/cacheAtom.d.ts +156 -0
  98. package/dist/types/lib/Mutables/Extended Atoms/cacheAtom.d.ts.map +1 -0
  99. package/dist/types/lib/Mutables/Extended Atoms/index.d.ts +4 -0
  100. package/dist/types/lib/Mutables/Extended Atoms/index.d.ts.map +1 -0
  101. package/dist/types/lib/Mutables/Extended Atoms/paginationAtom.d.ts +32 -0
  102. package/dist/types/lib/Mutables/Extended Atoms/paginationAtom.d.ts.map +1 -0
  103. package/dist/types/lib/Mutables/Extended Atoms/themeAtom.d.ts +59 -0
  104. package/dist/types/lib/Mutables/Extended Atoms/themeAtom.d.ts.map +1 -0
  105. package/dist/types/lib/Mutables/atom/atom.d.ts +148 -0
  106. package/dist/types/lib/Mutables/atom/atom.d.ts.map +1 -0
  107. package/dist/types/lib/Mutables/atom/createTimedAtom.d.ts +43 -0
  108. package/dist/types/lib/Mutables/atom/createTimedAtom.d.ts.map +1 -0
  109. package/dist/types/lib/Mutables/atom/debouncedAtom.d.ts +37 -0
  110. package/dist/types/lib/Mutables/atom/debouncedAtom.d.ts.map +1 -0
  111. package/dist/types/lib/Mutables/atom/index.d.ts +10 -0
  112. package/dist/types/lib/Mutables/atom/index.d.ts.map +1 -0
  113. package/dist/types/lib/Mutables/atom/mapAtom.d.ts +105 -0
  114. package/dist/types/lib/Mutables/atom/mapAtom.d.ts.map +1 -0
  115. package/dist/types/lib/Mutables/atom/setAtom.d.ts +107 -0
  116. package/dist/types/lib/Mutables/atom/setAtom.d.ts.map +1 -0
  117. package/dist/types/lib/Mutables/atom/storageAtom.d.ts +44 -0
  118. package/dist/types/lib/Mutables/atom/storageAtom.d.ts.map +1 -0
  119. package/dist/types/lib/Mutables/atom/throttledAtom.d.ts +37 -0
  120. package/dist/types/lib/Mutables/atom/throttledAtom.d.ts.map +1 -0
  121. package/dist/types/lib/Mutables/atom/titleAtom.d.ts +20 -0
  122. package/dist/types/lib/Mutables/atom/titleAtom.d.ts.map +1 -0
  123. package/dist/types/lib/Mutables/effect/effect.d.ts +31 -0
  124. package/dist/types/lib/Mutables/effect/effect.d.ts.map +1 -0
  125. package/dist/types/lib/Mutables/effect/index.d.ts +2 -0
  126. package/dist/types/lib/Mutables/effect/index.d.ts.map +1 -0
  127. package/dist/types/lib/Mutables/events/events.d.ts +123 -0
  128. package/dist/types/lib/Mutables/events/events.d.ts.map +1 -0
  129. package/dist/types/lib/Mutables/events/index.d.ts +2 -0
  130. package/dist/types/lib/Mutables/events/index.d.ts.map +1 -0
  131. package/dist/types/lib/Mutables/events/xTabEvent.d.ts +61 -0
  132. package/dist/types/lib/Mutables/events/xTabEvent.d.ts.map +1 -0
  133. package/dist/types/lib/Mutables/form/formAtom.d.ts +56 -0
  134. package/dist/types/lib/Mutables/form/formAtom.d.ts.map +1 -0
  135. package/dist/types/lib/Mutables/form/index.d.ts +5 -0
  136. package/dist/types/lib/Mutables/form/index.d.ts.map +1 -0
  137. package/dist/types/lib/Mutables/form/transformers.d.ts +4 -0
  138. package/dist/types/lib/Mutables/form/transformers.d.ts.map +1 -0
  139. package/dist/types/lib/Mutables/form/validateAll.d.ts +40 -0
  140. package/dist/types/lib/Mutables/form/validateAll.d.ts.map +1 -0
  141. package/dist/types/lib/Mutables/form/validators.d.ts +61 -0
  142. package/dist/types/lib/Mutables/form/validators.d.ts.map +1 -0
  143. package/dist/types/lib/Mutables/index.d.ts +13 -0
  144. package/dist/types/lib/Mutables/index.d.ts.map +1 -0
  145. package/dist/types/lib/Mutables/memo/index.d.ts +2 -0
  146. package/dist/types/lib/Mutables/memo/index.d.ts.map +1 -0
  147. package/dist/types/lib/Mutables/memo/memo.d.ts +47 -0
  148. package/dist/types/lib/Mutables/memo/memo.d.ts.map +1 -0
  149. package/dist/types/lib/Mutables/reactiveRunner/index.d.ts +4 -0
  150. package/dist/types/lib/Mutables/reactiveRunner/index.d.ts.map +1 -0
  151. package/dist/types/lib/Mutables/reactiveRunner/reactiveRunner.d.ts +56 -0
  152. package/dist/types/lib/Mutables/reactiveRunner/reactiveRunner.d.ts.map +1 -0
  153. package/dist/types/lib/Mutables/reactiveRunner/trackAndSubscribe.d.ts +6 -0
  154. package/dist/types/lib/Mutables/reactiveRunner/trackAndSubscribe.d.ts.map +1 -0
  155. package/dist/types/lib/Mutables/reactiveRunner/validateReactiveFunction.d.ts +6 -0
  156. package/dist/types/lib/Mutables/reactiveRunner/validateReactiveFunction.d.ts.map +1 -0
  157. package/dist/types/lib/Mutables/ref/index.d.ts +2 -0
  158. package/dist/types/lib/Mutables/ref/index.d.ts.map +1 -0
  159. package/dist/types/lib/Mutables/ref/ref.d.ts +74 -0
  160. package/dist/types/lib/Mutables/ref/ref.d.ts.map +1 -0
  161. package/dist/types/lib/Mutables/scope/index.d.ts +2 -0
  162. package/dist/types/lib/Mutables/scope/index.d.ts.map +1 -0
  163. package/dist/types/lib/Mutables/scope/scope.d.ts +60 -0
  164. package/dist/types/lib/Mutables/scope/scope.d.ts.map +1 -0
  165. package/dist/types/lib/Mutables/store/index.d.ts +2 -0
  166. package/dist/types/lib/Mutables/store/index.d.ts.map +1 -0
  167. package/dist/types/lib/Mutables/store/store.d.ts +73 -0
  168. package/dist/types/lib/Mutables/store/store.d.ts.map +1 -0
  169. package/dist/types/lib/Mutables/useState/index.d.ts +2 -0
  170. package/dist/types/lib/Mutables/useState/index.d.ts.map +1 -0
  171. package/dist/types/lib/Mutables/useState/useState.d.ts +54 -0
  172. package/dist/types/lib/Mutables/useState/useState.d.ts.map +1 -0
  173. package/dist/types/lib/Mutables/useStore/hostContext.d.ts +13 -0
  174. package/dist/types/lib/Mutables/useStore/hostContext.d.ts.map +1 -0
  175. package/dist/types/lib/Mutables/useStore/index.d.ts +9 -0
  176. package/dist/types/lib/Mutables/useStore/index.d.ts.map +1 -0
  177. package/dist/types/lib/Mutables/useStore/lifecycle.d.ts +94 -0
  178. package/dist/types/lib/Mutables/useStore/lifecycle.d.ts.map +1 -0
  179. package/dist/types/lib/Mutables/useStore/onError.d.ts +21 -0
  180. package/dist/types/lib/Mutables/useStore/onError.d.ts.map +1 -0
  181. package/dist/types/lib/Mutables/useStore/onReferenceChange.d.ts +2 -0
  182. package/dist/types/lib/Mutables/useStore/onReferenceChange.d.ts.map +1 -0
  183. package/dist/types/lib/Mutables/useStore/safetyCheck.d.ts +2 -0
  184. package/dist/types/lib/Mutables/useStore/safetyCheck.d.ts.map +1 -0
  185. package/dist/types/lib/Mutables/useStore/setter.d.ts +52 -0
  186. package/dist/types/lib/Mutables/useStore/setter.d.ts.map +1 -0
  187. package/dist/types/lib/Mutables/useStore/subscription.d.ts +50 -0
  188. package/dist/types/lib/Mutables/useStore/subscription.d.ts.map +1 -0
  189. package/dist/types/lib/Mutables/useStore/useContext.d.ts +3 -0
  190. package/dist/types/lib/Mutables/useStore/useContext.d.ts.map +1 -0
  191. package/dist/types/lib/Mutables/useStore/useStore.d.ts +7 -0
  192. package/dist/types/lib/Mutables/useStore/useStore.d.ts.map +1 -0
  193. package/dist/types/lib/Router/Router.d.ts +54 -0
  194. package/dist/types/lib/Router/Router.d.ts.map +1 -0
  195. package/dist/types/lib/Router/animatedRouter.d.ts +48 -0
  196. package/dist/types/lib/Router/animatedRouter.d.ts.map +1 -0
  197. package/dist/types/lib/Router/buildPath.d.ts +20 -0
  198. package/dist/types/lib/Router/buildPath.d.ts.map +1 -0
  199. package/dist/types/lib/Router/hashAtom.d.ts +12 -0
  200. package/dist/types/lib/Router/hashAtom.d.ts.map +1 -0
  201. package/dist/types/lib/Router/index.d.ts +11 -0
  202. package/dist/types/lib/Router/index.d.ts.map +1 -0
  203. package/dist/types/lib/Router/isPathMatching.d.ts +12 -0
  204. package/dist/types/lib/Router/isPathMatching.d.ts.map +1 -0
  205. package/dist/types/lib/Router/location.d.ts +74 -0
  206. package/dist/types/lib/Router/location.d.ts.map +1 -0
  207. package/dist/types/lib/Router/navigateTo.d.ts +31 -0
  208. package/dist/types/lib/Router/navigateTo.d.ts.map +1 -0
  209. package/dist/types/lib/Router/navigationLock.d.ts +50 -0
  210. package/dist/types/lib/Router/navigationLock.d.ts.map +1 -0
  211. package/dist/types/lib/Router/pathAtom.d.ts +42 -0
  212. package/dist/types/lib/Router/pathAtom.d.ts.map +1 -0
  213. package/dist/types/lib/Router/pathResolver.d.ts +9 -0
  214. package/dist/types/lib/Router/pathResolver.d.ts.map +1 -0
  215. package/dist/types/lib/Router/qsAtom.d.ts +12 -0
  216. package/dist/types/lib/Router/qsAtom.d.ts.map +1 -0
  217. package/dist/types/lib/Template/index.d.ts +6 -0
  218. package/dist/types/lib/Template/index.d.ts.map +1 -0
  219. package/dist/types/lib/Template/scheduler.d.ts +59 -0
  220. package/dist/types/lib/Template/scheduler.d.ts.map +1 -0
  221. package/dist/types/lib/Template/x-x.d.ts +60 -0
  222. package/dist/types/lib/Template/x-x.d.ts.map +1 -0
  223. package/dist/types/lib/Template/x-x.types.d.ts +91 -0
  224. package/dist/types/lib/Template/x-x.types.d.ts.map +1 -0
  225. package/dist/types/lib/Template/x-x.utils.d.ts +15 -0
  226. package/dist/types/lib/Template/x-x.utils.d.ts.map +1 -0
  227. package/dist/types/lib/Template/x.d.ts +5 -0
  228. package/dist/types/lib/Template/x.d.ts.map +1 -0
  229. package/dist/types/lib/Template/xProvider.d.ts +2 -0
  230. package/dist/types/lib/Template/xProvider.d.ts.map +1 -0
  231. package/dist/types/lib/Timers/createManagedTimer.d.ts +12 -0
  232. package/dist/types/lib/Timers/createManagedTimer.d.ts.map +1 -0
  233. package/dist/types/lib/Timers/index.d.ts +4 -0
  234. package/dist/types/lib/Timers/index.d.ts.map +1 -0
  235. package/dist/types/lib/Timers/interval.d.ts +2 -0
  236. package/dist/types/lib/Timers/interval.d.ts.map +1 -0
  237. package/dist/types/lib/Timers/timeout.d.ts +2 -0
  238. package/dist/types/lib/Timers/timeout.d.ts.map +1 -0
  239. package/dist/types/lib/TrackState/componentStatus.d.ts +105 -0
  240. package/dist/types/lib/TrackState/componentStatus.d.ts.map +1 -0
  241. package/dist/types/lib/TrackState/readTracking.d.ts +20 -0
  242. package/dist/types/lib/TrackState/readTracking.d.ts.map +1 -0
  243. package/dist/types/lib/Utils/Context.d.ts +6 -0
  244. package/dist/types/lib/Utils/Context.d.ts.map +1 -0
  245. package/dist/types/lib/Utils/Date/calendar.d.ts +30 -0
  246. package/dist/types/lib/Utils/Date/calendar.d.ts.map +1 -0
  247. package/dist/types/lib/Utils/Date/core.d.ts +29 -0
  248. package/dist/types/lib/Utils/Date/core.d.ts.map +1 -0
  249. package/dist/types/lib/Utils/Date/date.d.ts +60 -0
  250. package/dist/types/lib/Utils/Date/date.d.ts.map +1 -0
  251. package/dist/types/lib/Utils/Date/index.d.ts +3 -0
  252. package/dist/types/lib/Utils/Date/index.d.ts.map +1 -0
  253. package/dist/types/lib/Utils/deepClone.d.ts +7 -0
  254. package/dist/types/lib/Utils/deepClone.d.ts.map +1 -0
  255. package/dist/types/lib/Utils/deepFreeze.d.ts +2 -0
  256. package/dist/types/lib/Utils/deepFreeze.d.ts.map +1 -0
  257. package/dist/types/lib/Utils/getAllProps.d.ts +2 -0
  258. package/dist/types/lib/Utils/getAllProps.d.ts.map +1 -0
  259. package/dist/types/lib/Utils/helpers.d.ts +13 -0
  260. package/dist/types/lib/Utils/helpers.d.ts.map +1 -0
  261. package/dist/types/lib/Utils/index.d.ts +13 -0
  262. package/dist/types/lib/Utils/index.d.ts.map +1 -0
  263. package/dist/types/lib/Utils/is.d.ts +12 -0
  264. package/dist/types/lib/Utils/is.d.ts.map +1 -0
  265. package/dist/types/lib/Utils/isDefinedAsGetter.d.ts +2 -0
  266. package/dist/types/lib/Utils/isDefinedAsGetter.d.ts.map +1 -0
  267. package/dist/types/lib/Utils/logger.d.ts +22 -0
  268. package/dist/types/lib/Utils/logger.d.ts.map +1 -0
  269. package/dist/types/lib/Utils/notificationManager.d.ts +67 -0
  270. package/dist/types/lib/Utils/notificationManager.d.ts.map +1 -0
  271. package/dist/types/lib/Utils/registerCleanup.d.ts +7 -0
  272. package/dist/types/lib/Utils/registerCleanup.d.ts.map +1 -0
  273. package/dist/types/lib/Utils/svgIcon.d.ts +95 -0
  274. package/dist/types/lib/Utils/svgIcon.d.ts.map +1 -0
  275. package/dist/types/lib/Utils/uuid.d.ts +7 -0
  276. package/dist/types/lib/Utils/uuid.d.ts.map +1 -0
  277. package/dist/types/lib/ZeroPromise/index.d.ts +2 -0
  278. package/dist/types/lib/ZeroPromise/index.d.ts.map +1 -0
  279. package/dist/types/lib/ZeroPromise/zero.d.ts +23 -0
  280. package/dist/types/lib/ZeroPromise/zero.d.ts.map +1 -0
  281. package/dist/types/lib/actions/action.d.ts +14 -0
  282. package/dist/types/lib/actions/action.d.ts.map +1 -0
  283. package/dist/types/lib/actions/animatePresets.d.ts +38 -0
  284. package/dist/types/lib/actions/animatePresets.d.ts.map +1 -0
  285. package/dist/types/lib/actions/animateSwap.d.ts +79 -0
  286. package/dist/types/lib/actions/animateSwap.d.ts.map +1 -0
  287. package/dist/types/lib/actions/animateTypes.d.ts +103 -0
  288. package/dist/types/lib/actions/animateTypes.d.ts.map +1 -0
  289. package/dist/types/lib/actions/asyncAction.d.ts +4 -0
  290. package/dist/types/lib/actions/asyncAction.d.ts.map +1 -0
  291. package/dist/types/lib/actions/asyncActionCache.d.ts +16 -0
  292. package/dist/types/lib/actions/asyncActionCache.d.ts.map +1 -0
  293. package/dist/types/lib/actions/asyncActionPolling.d.ts +14 -0
  294. package/dist/types/lib/actions/asyncActionPolling.d.ts.map +1 -0
  295. package/dist/types/lib/actions/asyncActionTypes.d.ts +74 -0
  296. package/dist/types/lib/actions/asyncActionTypes.d.ts.map +1 -0
  297. package/dist/types/lib/actions/createTimingFunction.d.ts +23 -0
  298. package/dist/types/lib/actions/createTimingFunction.d.ts.map +1 -0
  299. package/dist/types/lib/actions/debounce.d.ts +10 -0
  300. package/dist/types/lib/actions/debounce.d.ts.map +1 -0
  301. package/dist/types/lib/actions/index.d.ts +12 -0
  302. package/dist/types/lib/actions/index.d.ts.map +1 -0
  303. package/dist/types/lib/actions/paginatedAsyncAction.d.ts +121 -0
  304. package/dist/types/lib/actions/paginatedAsyncAction.d.ts.map +1 -0
  305. package/dist/types/lib/actions/taskAction.d.ts +105 -0
  306. package/dist/types/lib/actions/taskAction.d.ts.map +1 -0
  307. package/dist/types/lib/actions/throttle.d.ts +9 -0
  308. package/dist/types/lib/actions/throttle.d.ts.map +1 -0
  309. package/dist/types/lib/css-in-js/cl.d.ts +37 -0
  310. package/dist/types/lib/css-in-js/cl.d.ts.map +1 -0
  311. package/dist/types/lib/css-in-js/index.d.ts +7 -0
  312. package/dist/types/lib/css-in-js/index.d.ts.map +1 -0
  313. package/dist/types/lib/css-in-js/sanitize.d.ts +31 -0
  314. package/dist/types/lib/css-in-js/sanitize.d.ts.map +1 -0
  315. package/dist/types/lib/css-in-js/serialize.d.ts +98 -0
  316. package/dist/types/lib/css-in-js/serialize.d.ts.map +1 -0
  317. package/dist/types/lib/css-in-js/stylesheet.d.ts +188 -0
  318. package/dist/types/lib/css-in-js/stylesheet.d.ts.map +1 -0
  319. package/dist/types/lib/css-in-js/theme.d.ts +110 -0
  320. package/dist/types/lib/css-in-js/theme.d.ts.map +1 -0
  321. package/dist/types/lib/devtools/devtoolsHooks.d.ts +101 -0
  322. package/dist/types/lib/devtools/devtoolsHooks.d.ts.map +1 -0
  323. package/dist/types/lib/devtools/index.d.ts +2 -0
  324. package/dist/types/lib/devtools/index.d.ts.map +1 -0
  325. package/dist/types/lib/index.d.ts +46 -0
  326. package/dist/types/lib/index.d.ts.map +1 -0
  327. package/dist/types/lib/on/hooks.d.ts +319 -0
  328. package/dist/types/lib/on/hooks.d.ts.map +1 -0
  329. package/dist/types/lib/on/index.d.ts +3 -0
  330. package/dist/types/lib/on/index.d.ts.map +1 -0
  331. package/dist/types/lib/on/on.d.ts +16 -0
  332. package/dist/types/lib/on/on.d.ts.map +1 -0
  333. package/dist/types/lib/portals/dialog.d.ts +56 -0
  334. package/dist/types/lib/portals/dialog.d.ts.map +1 -0
  335. package/dist/types/lib/portals/index.d.ts +9 -0
  336. package/dist/types/lib/portals/index.d.ts.map +1 -0
  337. package/dist/types/lib/portals/popup.d.ts +37 -0
  338. package/dist/types/lib/portals/popup.d.ts.map +1 -0
  339. package/dist/types/lib/portals/portal.d.ts +57 -0
  340. package/dist/types/lib/portals/portal.d.ts.map +1 -0
  341. package/dist/types/lib/portals/tip.d.ts +38 -0
  342. package/dist/types/lib/portals/tip.d.ts.map +1 -0
  343. package/dist/types/lib/socket/index.d.ts +2 -0
  344. package/dist/types/lib/socket/index.d.ts.map +1 -0
  345. package/dist/types/lib/socket/ws.d.ts +83 -0
  346. package/dist/types/lib/socket/ws.d.ts.map +1 -0
  347. package/dist/types/lib/ssr/index.d.ts +3 -0
  348. package/dist/types/lib/ssr/index.d.ts.map +1 -0
  349. package/dist/types/lib/ssr/ssr-bridge.d.ts +89 -0
  350. package/dist/types/lib/ssr/ssr-bridge.d.ts.map +1 -0
  351. package/dist/types/lib/ssr/ssrFlag.d.ts +38 -0
  352. package/dist/types/lib/ssr/ssrFlag.d.ts.map +1 -0
  353. package/dist/types/lib/virtualizer/ScrollerController.d.ts +54 -0
  354. package/dist/types/lib/virtualizer/ScrollerController.d.ts.map +1 -0
  355. package/dist/types/lib/virtualizer/Virtualizer.d.ts +214 -0
  356. package/dist/types/lib/virtualizer/Virtualizer.d.ts.map +1 -0
  357. package/dist/types/lib/virtualizer/events.d.ts +27 -0
  358. package/dist/types/lib/virtualizer/events.d.ts.map +1 -0
  359. package/dist/types/lib/virtualizer/layouts/flow.d.ts +123 -0
  360. package/dist/types/lib/virtualizer/layouts/flow.d.ts.map +1 -0
  361. package/dist/types/lib/virtualizer/layouts/grid.d.ts +25 -0
  362. package/dist/types/lib/virtualizer/layouts/grid.d.ts.map +1 -0
  363. package/dist/types/lib/virtualizer/layouts/masonry.d.ts +37 -0
  364. package/dist/types/lib/virtualizer/layouts/masonry.d.ts.map +1 -0
  365. package/dist/types/lib/virtualizer/layouts/shared/BaseLayout.d.ts +204 -0
  366. package/dist/types/lib/virtualizer/layouts/shared/BaseLayout.d.ts.map +1 -0
  367. package/dist/types/lib/virtualizer/layouts/shared/GridBaseLayout.d.ts +41 -0
  368. package/dist/types/lib/virtualizer/layouts/shared/GridBaseLayout.d.ts.map +1 -0
  369. package/dist/types/lib/virtualizer/layouts/shared/Layout.d.ts +138 -0
  370. package/dist/types/lib/virtualizer/layouts/shared/Layout.d.ts.map +1 -0
  371. package/dist/types/lib/virtualizer/layouts/shared/SizeCache.d.ts +19 -0
  372. package/dist/types/lib/virtualizer/layouts/shared/SizeCache.d.ts.map +1 -0
  373. package/dist/types/lib/virtualizer/layouts/shared/SizeGapPaddingBaseLayout.d.ts +57 -0
  374. package/dist/types/lib/virtualizer/layouts/shared/SizeGapPaddingBaseLayout.d.ts.map +1 -0
  375. package/dist/types/lib/virtualizer/mates-adapter.d.ts +201 -0
  376. package/dist/types/lib/virtualizer/mates-adapter.d.ts.map +1 -0
  377. package/dist/types/lib/virtualizer/virtualize.d.ts +52 -0
  378. package/dist/types/lib/virtualizer/virtualize.d.ts.map +1 -0
  379. package/package.json +45 -0
@@ -0,0 +1,46 @@
1
+ export type { TemplateResult } from "lit-html";
2
+ export { html, noChange, nothing, render, svg } from "lit-html";
3
+ export { unsafeHTML } from "lit-html/directives/unsafe-html.js";
4
+ export { asyncAppend } from "lit-html/directives/async-append.js";
5
+ export { asyncReplace } from "lit-html/directives/async-replace.js";
6
+ export { cache as litCache } from "lit-html/directives/cache.js";
7
+ export { classMap } from "lit-html/directives/class-map.js";
8
+ export { guard } from "lit-html/directives/guard.js";
9
+ export { ifDefined } from "lit-html/directives/if-defined.js";
10
+ export { join } from "lit-html/directives/join.js";
11
+ export { keyed } from "lit-html/directives/keyed.js";
12
+ export { live } from "lit-html/directives/live.js";
13
+ export { range } from "lit-html/directives/range.js";
14
+ export { repeat } from "lit-html/directives/repeat.js";
15
+ export { styleMap } from "lit-html/directives/style-map.js";
16
+ export { until } from "lit-html/directives/until.js";
17
+ export { when } from "lit-html/directives/when.js";
18
+ import "./Template/x-x";
19
+ import "./Template/xProvider";
20
+ import "./Directives/animationClasses";
21
+ export { ZeroPromise } from "./ZeroPromise";
22
+ export { componentRunningStatus, isInRestrictedContext, assertNotInRestrictedContext, assertComponentOuterContext, } from "./TrackState/componentStatus";
23
+ export { type TrackingSnapshot, isReadTrackingEnabled, getStoresBeingRead, isEffectRunning, addStoreBeingRead, pushEffect, popEffect, saveAndEnableTracking, restoreTracking, startTracking, stopTracking, } from "./TrackState/readTracking";
24
+ export { createManagedTimer } from "./Timers";
25
+ export { type ActionAfterInterceptor, type ActionBeforeInterceptor, type ActionFn, type ActionReturnType, type ActionSubscriber, type AnimateDirectiveConfig, type AnimateKeyframes, type AnimateOptions, type AnimationHandle, type AnimationPreset, type AsyncActionAfterInterceptor, type AsyncActionBeforeInterceptor, type AsyncActionOptions, type AsyncActionReturnType, type AsyncActionStatus, action, asyncAction, blurInPreset, blurOutPreset, bouncePreset, type CacheManager, cache as cacheFn, createCacheManager, createPollingManager, collapseWidthPreset, debounce, deleteAction, type ElementTarget, expandWidthPreset, type FetchBody, fadeInPreset, fadeOutPreset, fetchAction, flipInPreset, flipOutPreset, getAction, type PaginatedAsyncActionReturnType, paginatedAsyncAction, patchAction, type PollingManager, postAction, pulsePreset, putAction, type SlideDirection, scaleInPreset, scaleOutPreset, shakePreset, slideInPreset, slideOutPreset, spinPreset, springInPreset, type Task, type TaskActionType, type TaskStatus, taskAction, throttle, withStaggerPreset, } from "./actions";
26
+ export type { Cl, CSSBlock, CSSKeyframeStops, CSSNestedBlock, CSSRulesInput, CssVars, GlobalThemeResult, SerializeOptions, ThemeMode, ThemesInput, ThemeTokenMap, } from "./css-in-js";
27
+ export { configureCSS, globalCSS, globalTheme, keyframes, rootCSS, stylesheet, } from "./css-in-js";
28
+ export { $, type AnimatedIfConfig, type AnimatedXConfig, type AttrMap, type AttrValue, animatedIf, animatedX, attr, type ClassEntry, type ClassesInput, type ConnectCallback, classes, type DisconnectCallback, type DollarChain, type EleHookLifecycle, type EleHookMountFn, eleHook, type HtmlHookLifecycle, type HtmlHookMountFn, type HtmlHookRenderFn, htmlHook, type IntersectCallback, type IntersectOptions, type LazyLoadCallback, type LazyLoadOptions, lazyLoad, type MasonryGridOptions, type MasonryItemTemplate, type MasonryKeyFn, type MatesCustomEventMap, type MemoKeys, type MemoTemplateFn, masonryGrid, memoTemplate, type OnEventMap, type OnParentMap, on, onConnect, onDisconnect, onHidden, onIntersect, onParent, onScrolledIntoView, onVisible, removeAttr, removeClasses, removeOn, removeStyle, renderSwitch, type ScrolledIntoViewCallback, type ScrolledIntoViewOptions, type StyleMap, type StyleValue, type SwitchCase, type SwitchEntry, style, type TimerContent, timer, type UpdateCallback, type VirtualGridOptions, type VirtualListOptions, type VirtualMasonryOptions, virtualGrid, virtualList, virtualMasonry, } from "./Directives";
29
+ export type { Measurements } from "./Directives/$";
30
+ export { injectMatesAnimations, MA, type MatesAnimationClass, } from "./Directives/animationClasses";
31
+ export { type DevToolsHooks, installDevToolsHooks, isDevToolsInstalled, } from "./devtools";
32
+ export { type AfterInterceptor, type BeforeInterceptor, buildRequestUrl, clearInterceptors, Delete, type ErrorInterceptor, type ErrorType, ErrorTypes, Fetch, type FetchActionConfig, FetchClient, type FetchRequest, fetchClient, Get, interceptAfter, interceptBefore, interceptError, isApiResponseSuccess, Patch, Post, Put, setSSRApiLookup, setSSRRequest, } from "./Fetch";
33
+ export { _, _subToView, type AtomConfig, type AtomType, atom, type CacheAtomType, cacheAtom, createTimedAtom, debouncedAtom, df, type EventType, effect, event, type FormAtom, formAtom, getCurrentHost, getParentScope, getParentScope as getScope, type IAtomType, iAtom, iAtom as signal, isEmail, isMax, isMin, isPattern, isRequired, lsAtom, mapAtom, maxLength, memo, minLength, onAllMount, onCleanup, onError, onMount, onPaint, onReferenceChange, type PaginationAtomType, paginationAtom, type Ref, ref, createReactiveRunner, trackAndSubscribe, validateReactiveFunction, type SetterReturnType, type StorageAtomType, type StorageValue, type Subscribable, type SuperAtomOptions, type SuperAtomType, safetyCheck, scope, scope as useScope, setAtom, setRef, setter, ssAtom, superAtom, type ThemeAtomType, type ThemeValue, themeAtom, throttledAtom, titleAtom, useContext, useState, useStore, type ValidateAllResult, type ValidatorFn, validateAll, withHost, on as watch, type XTabEventType, xTabEvent, } from "./Mutables";
34
+ export { onBlur, onClickAway, onCopy, onCut, onDOMReady, onFileDrop, onFocus, onInterval, onKeyDown, onKeyUp, onNavigate, onOffline, onOnline, onPaste, onResize, onScroll, onSelectionChange, onSocket, onStorageChange, onTimeout, onUpdate, onVisibilityChange, onWindow, onWindowCapture, onWindowResize, onWindowScroll, type WheelDirectionEvent, type WindowHookEventName, type WindowHookHandler, } from "./on";
35
+ export type { DialogOptions, Placement, PopupOptions, PopupPlacement, PortalOptions, TipContent, TipStyle, } from "./portals";
36
+ export { computeAutoPlacement, dialog, getCoords, placementTransform, popup, portal, tip, tooltip, } from "./portals";
37
+ export { type AnimatedRouteConfig, type AnimatedRouterOptions, animatedRouter, buildPath, hashAtom, isPathMatching, location, lockNavigation, navigateTo, navigationLocked, pathAtom, qsAtom, Router, route, unlockNavigation, } from "./Router";
38
+ export type { WsConfig, WsConnection, WsStatus } from "./socket";
39
+ export { ws } from "./socket";
40
+ export { isSSR, setSSRMode } from "./ssr";
41
+ export type { Component, ComponentElement, ComponentFn, View, ClosureComponent, ViewComponent, C, OuterFn, PropsType, RenderFn, InnerFn, TemplateComponent, X, ComponentType, HostElement, LazyComponent, Props, Setter, TemplateFn, } from "./Template";
42
+ export { cleanupScheduler, effectScheduler, globalScheduler, isAsyncValue, resolveAsyncValue, resetComponentState, unwrapModule, renderX, x, } from "./Template";
43
+ export { view } from "./Template/x";
44
+ export { get, pick, omit, merge, clamp, range as arrayRange, chunk, uniqBy, groupBy, isEmpty, iterateDeeply, type IterateDeeplyCallback, isAtom, isUnit, isAction, isAsyncAction, isSetter, isEvent, isConfirmationEvent, isChannel, isGetter, isFunction, isAsyncFunction, NotificationManager, SyncNotificationManager, registerCleanup, getAllProps, Context, deepClone, deepFreeze, isDefinedAsGetter, logError, type SvgConfig, safeSVG, safeSVG as unsafeSVG, uuid, uuid as randomId, } from "./Utils";
45
+ export { type DateInput, type DateUnit, type DateValues, date, getAllTimezones, getCalendar, getLocale, getMonths, getTimezoneOffset, type MatesDate, type MonthInfo, setLocale, setTimezone, setTimezoneOffset, type TimezoneEntry, } from "./Utils/Date";
46
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../lib/index.ts"],"names":[],"mappings":"AAKA,YAAY,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,C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AgB,EAChB,aAAa,EACb,CAAC,EACD,OAAO,EACP,SAAS,EACT,QAAQ,EACR,OAAO,EACP,iBAAiB,EACjB,CAAC,EAED,aAAa,EACb,WAAW,EACX,aAAa,EACb,KAAK,EACL,MAAM,EACN,UAAU,GACX,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,YAAY,EACZ,iBAAiB,EACjB,mBAAmB,EACnB,YAAY,EACZ,OAAO,EACP,CAAC,GACF,MAAM,YAAY,CAAC;AAIpB,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAEL,GAAG,EACH,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,KAAK,EAEL,KAAK,IAAI,UAAU,EACnB,KAAK,EACL,MAAM,EACN,OAAO,EACP,OAAO,EACP,aAAa,EACb,KAAK,qBAAqB,EAE1B,MAAM,EACN,MAAM,EACN,QAAQ,EACR,aAAa,EACb,QAAQ,EACR,OAAO,EACP,mBAAmB,EACnB,SAAS,EACT,QAAQ,EACR,UAAU,EACV,eAAe,EAEf,mBAAmB,EACnB,uBAAuB,EAEvB,eAAe,EAEf,WAAW,EACX,OAAO,EACP,SAAS,EACT,UAAU,EACV,iBAAiB,EACjB,QAAQ,EACR,KAAK,SAAS,EACd,OAAO,EACP,OAAO,IAAI,SAAS,EACpB,IAAI,EACJ,IAAI,IAAI,QAAQ,GACjB,MAAM,SAAS,CAAC;AACjB,OAAO,EACL,KAAK,SAAS,EACd,KAAK,QAAQ,EACb,KAAK,UAAU,EACf,IAAI,EACJ,eAAe,EACf,WAAW,EACX,SAAS,EACT,SAAS,EACT,iBAAiB,EACjB,KAAK,SAAS,EACd,KAAK,SAAS,EACd,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,KAAK,aAAa,GACnB,MAAM,cAAc,CAAC"}
@@ -0,0 +1,319 @@
1
+ import type { WsConnection } from "../socket/ws";
2
+ type CleanupFn = () => void;
3
+ /**
4
+ * Synthetic events derived from the `wheel` event, filtered by scroll direction.
5
+ *
6
+ * - `'wheelUp'` fires when `deltaY < 0` (user scrolled / wheeled upward)
7
+ * - `'wheelDown'` fires when `deltaY > 0` (user scrolled / wheeled downward)
8
+ */
9
+ export type WheelDirectionEvent = "wheelUp" | "wheelDown";
10
+ /**
11
+ * All event names accepted by `onWindow` and `onWindowCapture`:
12
+ * every key from `WindowEventMap` plus the synthetic `wheelUp` / `wheelDown`.
13
+ */
14
+ export type WindowHookEventName = keyof WindowEventMap | WheelDirectionEvent;
15
+ /**
16
+ * Handler type for `onWindow` / `onWindowCapture`.
17
+ *
18
+ * - `'wheelUp'` / `'wheelDown'` → handler receives a `WheelEvent`
19
+ * - Any other event name → handler receives the native event type
20
+ * from `WindowEventMap`
21
+ */
22
+ export type WindowHookHandler<K extends WindowHookEventName> = K extends WheelDirectionEvent ? (event: WheelEvent) => CleanupFn | undefined : K extends keyof WindowEventMap ? (event: WindowEventMap[K]) => CleanupFn | undefined : never;
23
+ /**
24
+ * Attaches a **bubble-phase** listener on `window`, tied to the component
25
+ * lifecycle. The listener is automatically removed when the component unmounts.
26
+ *
27
+ * Supports all standard `WindowEventMap` events plus the synthetic
28
+ * `'wheelUp'` and `'wheelDown'` events.
29
+ *
30
+ * The handler may optionally return a cleanup function — it is called before
31
+ * the next invocation and on component unmount.
32
+ *
33
+ * @example
34
+ * ```ts
35
+ * // Close a dropdown on any click
36
+ * onWindow("click", () => isOpen.set(false));
37
+ *
38
+ * // Global keyboard shortcut
39
+ * onWindow("keydown", (e) => {
40
+ * if (e.key === "Escape") closeModal();
41
+ * });
42
+ *
43
+ * // Wheel direction
44
+ * onWindow("wheelUp", () => zoom.set(z => z + 0.1));
45
+ * onWindow("wheelDown", () => zoom.set(z => z - 0.1));
46
+ * ```
47
+ */
48
+ export declare function onWindow<K extends WindowHookEventName>(eventName: K, fn: WindowHookHandler<K>): void;
49
+ /**
50
+ * Attaches a **capture-phase** listener on `window`, tied to the component
51
+ * lifecycle. The listener is automatically removed when the component unmounts.
52
+ *
53
+ * Use capture when:
54
+ * - You need to intercept events before they reach their target element
55
+ * - The event does not bubble (`'scroll'`, `'focus'`, `'blur'`)
56
+ * - You want to catch scroll on nested scrollable containers
57
+ *
58
+ * Supports all standard `WindowEventMap` events plus `'wheelUp'` / `'wheelDown'`.
59
+ *
60
+ * @example
61
+ * ```ts
62
+ * // Intercept all clicks before any element handler runs
63
+ * onWindowCapture("click", (e) => {
64
+ * if ((e.target as HTMLElement).closest(".protected")) {
65
+ * e.stopPropagation();
66
+ * }
67
+ * });
68
+ *
69
+ * // Catch scroll on any element — scroll does not bubble
70
+ * onWindowCapture("scroll", (e) => trackScrollDepth(e.target));
71
+ * ```
72
+ */
73
+ export declare function onWindowCapture<K extends WindowHookEventName>(eventName: K, fn: WindowHookHandler<K>): void;
74
+ /**
75
+ * Attaches a capture-phase `scroll` listener on `window`, tied to the
76
+ * component lifecycle.
77
+ *
78
+ * Capture is required here because `scroll` does not bubble — only capture
79
+ * allows intercepting scroll events from nested scrollable containers.
80
+ *
81
+ * `passive: true` is set automatically so the browser can scroll without
82
+ * waiting for the handler.
83
+ *
84
+ * The listener is automatically removed when the component unmounts.
85
+ * The handler may optionally return a cleanup function.
86
+ *
87
+ * @example
88
+ * ```ts
89
+ * onWindowScroll((e) => {
90
+ * const el = e.target as Element;
91
+ * scrollDepth.set(el.scrollTop ?? window.scrollY);
92
+ * });
93
+ * ```
94
+ */
95
+ export declare const onWindowScroll: (fn: (e: Event) => CleanupFn | undefined) => void;
96
+ export declare const onBlur: (fn: () => CleanupFn | undefined) => void;
97
+ export declare const onFocus: (fn: () => CleanupFn | undefined) => void;
98
+ export declare const onOnline: (fn: () => CleanupFn | undefined) => void;
99
+ export declare const onOffline: (fn: () => CleanupFn | undefined) => void;
100
+ export declare const onWindowResize: (fn: () => CleanupFn | undefined) => void;
101
+ export declare const onWindowBeforeUnload: (fn: (e: BeforeUnloadEvent) => CleanupFn | undefined) => void;
102
+ /**
103
+ * Fires whenever the user pastes inside the page (`Ctrl+V`, right-click Paste,
104
+ * or a programmatic paste). Receives the native `ClipboardEvent` so you can
105
+ * read `e.clipboardData.getData('text/plain')` or inspect `e.clipboardData.files`
106
+ * for images and binary content.
107
+ *
108
+ * Listener is automatically removed when the component unmounts.
109
+ * The handler may optionally return a cleanup function.
110
+ *
111
+ * @example
112
+ * ```ts
113
+ * onPaste((e) => {
114
+ * const text = e.clipboardData?.getData('text/plain') ?? '';
115
+ * content.set(text);
116
+ * });
117
+ *
118
+ * // Handle pasted images
119
+ * onPaste((e) => {
120
+ * const file = e.clipboardData?.files[0];
121
+ * if (file?.type.startsWith('image/')) uploadImage(file);
122
+ * });
123
+ * ```
124
+ */
125
+ export declare const onPaste: (fn: (e: ClipboardEvent) => CleanupFn | undefined) => void;
126
+ /**
127
+ * Fires whenever the user copies selected content inside the page.
128
+ * Receives the native `ClipboardEvent` — you can call `e.preventDefault()`
129
+ * and write custom data to the clipboard via `e.clipboardData.setData(...)`.
130
+ *
131
+ * Listener is automatically removed when the component unmounts.
132
+ *
133
+ * @example
134
+ * ```ts
135
+ * onCopy((e) => {
136
+ * const selected = window.getSelection()?.toString() ?? '';
137
+ * analytics.track('copy', { chars: selected.length });
138
+ * });
139
+ * ```
140
+ */
141
+ export declare const onCopy: (fn: (e: ClipboardEvent) => CleanupFn | undefined) => void;
142
+ /**
143
+ * Fires whenever the user cuts selected content inside the page.
144
+ * Receives the native `ClipboardEvent`.
145
+ *
146
+ * Listener is automatically removed when the component unmounts.
147
+ *
148
+ * @example
149
+ * ```ts
150
+ * onCut((e) => {
151
+ * isDirty.set(true);
152
+ * });
153
+ * ```
154
+ */
155
+ export declare const onCut: (fn: (e: ClipboardEvent) => CleanupFn | undefined) => void;
156
+ /**
157
+ * Attaches a global `keydown` listener on `window`, tied to the component
158
+ * lifecycle. Ideal for keyboard shortcuts that should be active whenever
159
+ * this component is mounted.
160
+ *
161
+ * Listener is automatically removed when the component unmounts.
162
+ * The handler may optionally return a cleanup function.
163
+ *
164
+ * @example
165
+ * ```ts
166
+ * onKeyDown((e) => {
167
+ * if (e.key === 'Escape') closeModal();
168
+ * if (e.ctrlKey && e.key === 's') { e.preventDefault(); save(); }
169
+ * if (e.ctrlKey && e.key === 'Enter') submit();
170
+ * });
171
+ * ```
172
+ */
173
+ export declare const onKeyDown: (fn: (e: KeyboardEvent) => CleanupFn | undefined) => void;
174
+ /**
175
+ * Attaches a global `keyup` listener on `window`, tied to the component
176
+ * lifecycle.
177
+ *
178
+ * Listener is automatically removed when the component unmounts.
179
+ *
180
+ * @example
181
+ * ```ts
182
+ * onKeyUp((e) => {
183
+ * if (e.key === 'Shift') multiSelect.set(false);
184
+ * });
185
+ * ```
186
+ */
187
+ export declare const onKeyUp: (fn: (e: KeyboardEvent) => CleanupFn | undefined) => void;
188
+ /**
189
+ * Fires whenever the page's visibility changes — i.e. the user switches tabs,
190
+ * minimises the window, or returns to the page. The handler receives a plain
191
+ * `boolean`: `true` when the tab is now hidden, `false` when it is visible.
192
+ *
193
+ * Uses the `visibilitychange` event on `document` (not `window`) which is the
194
+ * correct target per the Page Visibility API spec.
195
+ *
196
+ * Listener is automatically removed when the component unmounts.
197
+ *
198
+ * @example
199
+ * ```ts
200
+ * onVisibilityChange((hidden) => {
201
+ * if (hidden) pauseVideo();
202
+ * else resumeVideo();
203
+ * });
204
+ *
205
+ * // Pause a polling interval while the tab is hidden
206
+ * onVisibilityChange((hidden) => {
207
+ * if (hidden) return startPolling(); // returns cleanup
208
+ * });
209
+ * ```
210
+ */
211
+ export declare const onVisibilityChange: (fn: (hidden: boolean) => CleanupFn | undefined) => void;
212
+ /**
213
+ * Fires whenever the user's text selection changes anywhere on the page.
214
+ * The handler receives the current `Selection` object (or `null` when nothing
215
+ * is selected), already fetched via `window.getSelection()`.
216
+ *
217
+ * Uses the `selectionchange` event on `document`.
218
+ *
219
+ * Listener is automatically removed when the component unmounts.
220
+ *
221
+ * @example
222
+ * ```ts
223
+ * onSelectionChange((selection) => {
224
+ * const text = selection?.toString() ?? '';
225
+ * selectedText.set(text);
226
+ * showToolbar.set(text.length > 0);
227
+ * });
228
+ * ```
229
+ */
230
+ export declare const onSelectionChange: (fn: (selection: Selection | null) => CleanupFn | undefined) => void;
231
+ /**
232
+ * Fires when `localStorage` or `sessionStorage` is mutated by **another tab
233
+ * or window** in the same origin. This is the standard mechanism for
234
+ * cross-tab state synchronisation.
235
+ *
236
+ * The handler receives the native `StorageEvent` which includes:
237
+ * - `e.key` — the key that changed (`null` when `clear()` was called)
238
+ * - `e.oldValue` — the previous value (or `null`)
239
+ * - `e.newValue` — the new value (or `null` if the key was removed)
240
+ * - `e.storageArea` — the `Storage` object that was affected
241
+ * - `e.url` — the URL of the document that made the change
242
+ *
243
+ * Does **not** fire for changes made by the current tab.
244
+ *
245
+ * Listener is automatically removed when the component unmounts.
246
+ *
247
+ * @example
248
+ * ```ts
249
+ * onStorageChange((e) => {
250
+ * if (e.key === 'theme') applyTheme(e.newValue ?? 'light');
251
+ * if (e.key === 'auth') revalidateSession();
252
+ * });
253
+ * ```
254
+ */
255
+ export declare const onStorageChange: (fn: (e: StorageEvent) => CleanupFn | undefined) => void;
256
+ /**
257
+ * Attaches a window-level file drop handler, allowing users to drop files
258
+ * anywhere on the page. Automatically prevents the browser's default behaviour
259
+ * (navigating to the dropped file) and suppresses the `dragover` visual cursor
260
+ * change.
261
+ *
262
+ * The handler receives the native `DragEvent` — access dropped files via
263
+ * `e.dataTransfer.files` or `e.dataTransfer.items`.
264
+ *
265
+ * Both the `dragover` and `drop` listeners are automatically removed when the
266
+ * component unmounts.
267
+ *
268
+ * @example
269
+ * ```ts
270
+ * onFileDrop((e) => {
271
+ * const files = Array.from(e.dataTransfer?.files ?? []);
272
+ * files.forEach(uploadFile);
273
+ * });
274
+ *
275
+ * // Filter by type
276
+ * onFileDrop((e) => {
277
+ * const images = Array.from(e.dataTransfer?.files ?? [])
278
+ * .filter(f => f.type.startsWith('image/'));
279
+ * if (images.length) setImages(images);
280
+ * });
281
+ * ```
282
+ */
283
+ export declare const onFileDrop: (fn: (e: DragEvent) => CleanupFn | undefined) => void;
284
+ /**
285
+ * Calls `fn` when the user clicks outside the current component's host element.
286
+ * Uses mousedown so it runs before click handlers. Listener is removed on unmount.
287
+ */
288
+ export declare const onClickAway: (fn: (e: MouseEvent) => void) => void;
289
+ /**
290
+ * Attaches a passive `scroll` listener on a target element (defaults to
291
+ * `window`). Tied to the component lifecycle — removed on unmount.
292
+ *
293
+ * For intercepting scroll on nested containers at the window level, prefer
294
+ * `onWindowScroll` which uses capture mode.
295
+ */
296
+ export declare const onScroll: (fn: (e: Event) => CleanupFn | undefined, target?: EventTarget) => void;
297
+ /**
298
+ * Observes size changes on a target element (defaults to the host component
299
+ * element) via `ResizeObserver`. Tied to the component lifecycle.
300
+ */
301
+ export declare const onResize: (fn: (entry: ResizeObserverEntry) => CleanupFn | undefined, target?: HTMLElement) => void;
302
+ export declare const onNavigate: (fn: (path: string) => CleanupFn | undefined | void) => void;
303
+ export declare const onInterval: (fn: () => CleanupFn | undefined, ms: number) => void;
304
+ export declare const onTimeout: (fn: () => CleanupFn | undefined, ms: number) => void;
305
+ /**
306
+ * Subscribe `handler` to one or more WebSocket connections.
307
+ *
308
+ * Registered on mount, automatically unsubscribed when the component unmounts.
309
+ *
310
+ * ```ts
311
+ * onSocket((msg: ChatMessage) => {
312
+ * messages.update(d => { d.push(msg); });
313
+ * }, [chatSocket]);
314
+ * ```
315
+ */
316
+ export declare function onSocket<T>(handler: (data: T) => void, sockets: WsConnection<T>[]): void;
317
+ export declare const onUpdate: (fn: () => CleanupFn | undefined) => void;
318
+ export {};
319
+ //# sourceMappingURL=hooks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../../../lib/on/hooks.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAqBjD,KAAK,SAAS,GAAG,MAAM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d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../lib/on/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,MAAM,CAAC"}
@@ -0,0 +1,16 @@
1
+ type CleanupFn = () => void;
2
+ type LifecycleHandler = () => CleanupFn | undefined;
3
+ /**
4
+ * Subscribe to the DOMReady event.
5
+ * Called via microtask after the component renders.
6
+ * The handler can optionally return a cleanup function.
7
+ */
8
+ export declare const onDOMReady: (handler: LifecycleHandler) => CleanupFn;
9
+ /**
10
+ * Subscribe to the Paint event.
11
+ * Called via double RAF after the component renders (after browser paint).
12
+ * The handler can optionally return a cleanup function.
13
+ */
14
+ export declare const onPaint: (handler: LifecycleHandler) => CleanupFn;
15
+ export {};
16
+ //# sourceMappingURL=on.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"on.d.ts","sourceRoot":"","sources":["../../../../../lib/on/on.ts"],"names":[],"mappings":"AAGA,KAAK,SAAS,GAAG,MAAM,IAAI,CAAC;AAC5B,KAAK,gBAAgB,GAAG,MAAM,SAAS,GAAG,SAAS,CAAC;AAEpD;;;;GAIG;AACH,eAAO,MAAM,UAAU,GAAI,SAAS,gBAAgB,KAAG,SAQtD,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,OAAO,GAAI,SAAS,gBAAgB,KAAG,SAQnD,CAAC"}
@@ -0,0 +1,56 @@
1
+ import type { TemplateResult } from "lit-html";
2
+ import type { DirectiveResult } from "lit-html/directive.js";
3
+ export interface DialogOptions {
4
+ /**
5
+ * Called when the user clicks the backdrop — the dimmed area outside
6
+ * the dialog box. Typically used to close the dialog.
7
+ */
8
+ onBackdropClick?: () => void;
9
+ /**
10
+ * Inline styles merged onto the backdrop div.
11
+ * Use this to customise the overlay colour, blur, z-index, etc.
12
+ */
13
+ style?: Record<string, string>;
14
+ /**
15
+ * Inline styles merged onto the inner dialog box wrapper div.
16
+ * Use this to control width, padding, border-radius, background, etc.
17
+ */
18
+ dialogStyle?: Record<string, string>;
19
+ }
20
+ /**
21
+ * `dialog(content, options?)` — renders a full-screen backdrop with your
22
+ * content centred inside it. Prevents body scroll while open. Cleans up
23
+ * automatically when the directive disconnects.
24
+ *
25
+ * Built on `htmlHook` — lifecycle is tied to where it appears in the template.
26
+ * Use a condition to show / hide it:
27
+ *
28
+ * @example
29
+ * ```ts
30
+ * const isOpen = atom(false);
31
+ *
32
+ * html`
33
+ * <button @click=${() => isOpen.set(true)}>Open</button>
34
+ *
35
+ * ${isOpen.val && dialog(html`
36
+ * <div class="dialog-box">
37
+ * <h2>Confirm delete</h2>
38
+ * <p>This action cannot be undone.</p>
39
+ * <button @click=${() => isOpen.set(false)}>Cancel</button>
40
+ * <button @click=${doDelete}>Delete</button>
41
+ * </div>
42
+ * `, {
43
+ * onBackdropClick: () => isOpen.set(false),
44
+ * })}
45
+ * `
46
+ *
47
+ * // Custom backdrop colour + dialog width
48
+ * ${isOpen.val && dialog(html`<div>...</div>`, {
49
+ * style: { background: 'rgba(0,0,0,0.8)' },
50
+ * dialogStyle: { width: '480px', borderRadius: '12px', padding: '24px' },
51
+ * onBackdropClick: () => isOpen.set(false),
52
+ * })}
53
+ * ```
54
+ */
55
+ export declare function dialog(content: TemplateResult, options?: DialogOptions): DirectiveResult;
56
+ //# sourceMappingURL=dialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../../../lib/portals/dialog.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAK7D,MAAM,WAAW,aAAa;IAC5B;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAE7B;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAE/B;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACtC;AA4ED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAAgB,MAAM,CACpB,OAAO,EAAE,cAAc,EACvB,OAAO,CAAC,EAAE,aAAa,GACtB,eAAe,CAEjB"}
@@ -0,0 +1,9 @@
1
+ export type { DialogOptions } from "./dialog";
2
+ export { dialog } from "./dialog";
3
+ export type { PopupOptions, PopupPlacement } from "./popup";
4
+ export { popup } from "./popup";
5
+ export type { Placement, PortalOptions } from "./portal";
6
+ export { computeAutoPlacement, getCoords, placementTransform, portal, } from "./portal";
7
+ export type { TipContent, TipStyle } from "./tip";
8
+ export { tip, tooltip } from "./tip";
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../lib/portals/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzD,OAAO,EACL,oBAAoB,EACpB,SAAS,EACT,kBAAkB,EAClB,MAAM,GACP,MAAM,UAAU,CAAC;AAClB,YAAY,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC"}
@@ -0,0 +1,37 @@
1
+ import { type TemplateResult } from "lit-html";
2
+ import type { DirectiveResult } from "lit-html/directive.js";
3
+ export type PopupPlacement = "auto" | "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end";
4
+ export interface PopupOptions {
5
+ /** default "bottom-start" */
6
+ position?: PopupPlacement;
7
+ /** px gap between anchor and floating panel, default 4 */
8
+ gap?: number;
9
+ style?: Record<string, string>;
10
+ /** Set the floating panel's width to exactly match the anchor element's width. */
11
+ matchAnchorWidth?: boolean;
12
+ /**
13
+ * Called after the panel is shown and positioned (each time it opens).
14
+ * Use to move focus into the panel for keyboard navigation.
15
+ */
16
+ onOpen?: (panel: HTMLElement) => void;
17
+ /**
18
+ * Called when the panel closes (outside click, Escape, or toggle).
19
+ * Receives the anchor element — typical use is `anchor.focus()`.
20
+ */
21
+ onClose?: (anchor: HTMLElement) => void;
22
+ }
23
+ /**
24
+ * `popup(content, positionOrOptions?)` — attach a click-toggle anchored
25
+ * floating panel to any element.
26
+ *
27
+ * Pure `position:fixed` — no Popover API. Each element gets its own floating
28
+ * `<div>` appended to `<body>`, so multiple popups can coexist. Clicking
29
+ * outside or pressing Escape closes it. Repositions on scroll and resize.
30
+ * Optional `onOpen` / `onClose` run when the panel opens or closes (e.g. focus management).
31
+ *
32
+ * @example
33
+ * html`<button ${popup(html`<ul>...</ul>`, "bottom-start")}>Menu ▾</button>`
34
+ * html`<button ${popup(html`<div>...</div>`, { position: "top", gap: 8 })}>Open</button>`
35
+ */
36
+ export declare function popup(content: TemplateResult, positionOrOptions?: PopupPlacement | PopupOptions): DirectiveResult;
37
+ //# sourceMappingURL=popup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"popup.d.ts","sourceRoot":"","sources":["../../../../../lib/portals/popup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,UAAU,CAAC;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAK7D,MAAM,MAAM,cAAc,GACtB,MAAM,GACN,KAAK,GACL,WAAW,GACX,SAAS,GACT,QAAQ,GACR,cAAc,GACd,YAAY,GACZ,MAAM,GACN,YAAY,GACZ,UAAU,GACV,OAAO,GACP,aAAa,GACb,WAAW,CAAC;AAEhB,MAAM,WAAW,YAAY;IAC3B,6BAA6B;IAC7B,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,0DAA0D;IAC1D,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/B,kFAAkF;IAClF,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;;OAGG;IACH,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;IACtC;;;OAGG;IACH,OAAO,CAAC,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,IAAI,CAAC;CACzC;AAoPD;;;;;;;;;;;;GAYG;AACH,wBAAgB,KAAK,CACnB,OAAO,EAAE,cAAc,EACvB,iBAAiB,CAAC,EAAE,cAAc,GAAG,YAAY,GAChD,eAAe,CAMjB"}
@@ -0,0 +1,57 @@
1
+ import type { TemplateResult } from "lit-html";
2
+ import type { DirectiveResult } from "lit-html/directive.js";
3
+ export type Placement = "auto" | "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end";
4
+ export interface PortalOptions {
5
+ /**
6
+ * Inline styles merged onto the wrapper div.
7
+ * Use this to position the portal (e.g. `{ top: "100px", left: "200px" }`)
8
+ * or to style corner-positioned portals like toasts.
9
+ */
10
+ style?: Record<string, string>;
11
+ /** Event listeners attached directly to the wrapper div. */
12
+ on?: Record<string, EventListener>;
13
+ /** Where to mount the portal wrapper. Default: `document.body` */
14
+ target?: Element | string;
15
+ }
16
+ /**
17
+ * Computes `top` / `left` for a fixed-position floating element given the
18
+ * anchor's bounding rect and a placement.
19
+ */
20
+ export declare function getCoords(rect: DOMRect, position: Placement, gap: number): {
21
+ top: number;
22
+ left: number;
23
+ };
24
+ /**
25
+ * Returns a CSS `transform` so an element placed at `getCoords()` sits fully
26
+ * on the correct side of its anchor.
27
+ */
28
+ export declare function placementTransform(placement: Placement): string;
29
+ /**
30
+ * Picks the best cardinal placement given available viewport space.
31
+ * Priority: bottom → top → right → left.
32
+ */
33
+ export declare function computeAutoPlacement(anchorRect: DOMRect, contentWidth: number, contentHeight: number, gap: number): "top" | "bottom" | "left" | "right";
34
+ /**
35
+ * `portal(content, options?)` — renders a `TemplateResult` into a
36
+ * `position:fixed` wrapper div appended to `document.body` (or a custom
37
+ * `target`), outside the normal DOM tree.
38
+ *
39
+ * Nothing renders at the call site. The wrapper is removed automatically when
40
+ * the directive disconnects (component unmounts or condition becomes false).
41
+ *
42
+ * Use `options.style` to position the portal:
43
+ *
44
+ * @example
45
+ * // Toast — corner positioned
46
+ * html`${isOpen && portal(html`<div class="toast">Saved ✓</div>`, {
47
+ * style: { bottom: "16px", right: "16px", top: "auto", left: "auto" },
48
+ * })}`
49
+ *
50
+ * @example
51
+ * // Context menu — cursor positioned
52
+ * html`${pos && portal(html`<ul>...</ul>`, {
53
+ * style: { top: `${pos.y}px`, left: `${pos.x}px` },
54
+ * })}`
55
+ */
56
+ export declare function portal(content: TemplateResult, options?: PortalOptions): DirectiveResult;
57
+ //# sourceMappingURL=portal.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"portal.d.ts","sourceRoot":"","sources":["../../../../../lib/portals/portal.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAK7D,MAAM,MAAM,SAAS,GACjB,MAAM,GACN,KAAK,GACL,WAAW,GACX,SAAS,GACT,QAAQ,GACR,cAAc,GACd,YAAY,GACZ,MAAM,GACN,YAAY,GACZ,UAAU,GACV,OAAO,GACP,aAAa,GACb,WAAW,CAAC;AAEhB,MAAM,WAAW,aAAa;IAC5B;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAE/B,4DAA4D;IAC5D,EAAE,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;IAEnC,kEAAkE;IAClE,MAAM,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;CAC3B;AAMD;;;GAGG;AACH,wBAAgB,SAAS,CACvB,IAAI,EAAE,OAAO,EACb,QAAQ,EAAE,SAAS,EACnB,GAAG,EAAE,MAAM,GACV;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAyB/B;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,SAAS,GAAG,MAAM,CAgB/D;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAClC,UAAU,EAAE,OAAO,EACnB,YAAY,EAAE,MAAM,EACpB,aAAa,EAAE,MAAM,EACrB,GAAG,EAAE,MAAM,GACV,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAoBrC;AA+CD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,MAAM,CACpB,OAAO,EAAE,cAAc,EACvB,OAAO,CAAC,EAAE,aAAa,GACtB,eAAe,CAEjB"}
@@ -0,0 +1,38 @@
1
+ import type { TemplateResult } from "lit-html";
2
+ import type { DirectiveResult } from "lit-html/directive.js";
3
+ export type TipContent = string | TemplateResult;
4
+ export interface TipStyle {
5
+ /** Extra inline styles applied to the tooltip element for this instance. */
6
+ style?: Partial<CSSStyleDeclaration>;
7
+ /** Override max-width (e.g. "400px", "none"). */
8
+ maxWidth?: string;
9
+ /** Override padding (e.g. "12px 20px"). */
10
+ padding?: string;
11
+ /** Override border-radius. */
12
+ borderRadius?: string;
13
+ /** Override font-size. */
14
+ fontSize?: string;
15
+ /** Override white-space (e.g. "normal" for wrapping). */
16
+ whiteSpace?: string;
17
+ /** Delay in ms before showing. Default 150. */
18
+ delay?: number;
19
+ }
20
+ /**
21
+ * `tooltip(content, opts?)` — lightweight auto-positioning tooltip directive.
22
+ *
23
+ * Appends a singleton `position:fixed` div to `<body>` — escapes any
24
+ * `overflow:hidden`, `transform`, or stacking context. Automatically places
25
+ * above or below the trigger based on available viewport space.
26
+ *
27
+ * Per-instance style overrides are applied at show-time and reset at hide-time
28
+ * so the singleton is always clean for the next tooltip.
29
+ *
30
+ * @example
31
+ * html`<button ${tooltip("Save changes")}>Save</button>`
32
+ * html`<button ${tooltip("Long text", { maxWidth: "300px", whiteSpace: "normal" })}>Info</button>`
33
+ * html`<button ${tooltip(html`Press <kbd>Ctrl+S</kbd>`)}>Save</button>`
34
+ */
35
+ export declare function tooltip(content: TipContent, opts?: TipStyle): DirectiveResult;
36
+ /** Alias — kept for backward compatibility. */
37
+ export declare const tip: typeof tooltip;
38
+ //# sourceMappingURL=tip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tip.d.ts","sourceRoot":"","sources":["../../../../../lib/portals/tip.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAK7D,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,cAAc,CAAC;AAEjD,MAAM,WAAW,QAAQ;IACvB,4EAA4E;IAC5E,KAAK,CAAC,EAAE,OAAO,CAAC,mBAAmB,CAAC,CAAC;IACrC,iDAAiD;IACjD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,2CAA2C;IAC3C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,8BAA8B;IAC9B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,0BAA0B;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,yDAAyD;IACzD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,+CAA+C;IAC/C,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAwPD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,OAAO,CACrB,OAAO,EAAE,UAAU,EACnB,IAAI,GAAE,QAAa,GAClB,eAAe,CAEjB;AAED,+CAA+C;AAC/C,eAAO,MAAM,GAAG,gBAAU,CAAC"}