prop-for-that 0.7.11 → 0.7.12

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 (257) hide show
  1. package/CHANGELOG.md +63 -0
  2. package/dist/auto.cjs +1 -1
  3. package/dist/auto.js +1 -1
  4. package/dist/battery-6MFH4UXN.cjs +1 -0
  5. package/dist/battery-RGIVK2PZ.js +1 -0
  6. package/dist/chunk-23TUV6HD.js +1 -0
  7. package/dist/chunk-2OCWGQTC.cjs +1 -0
  8. package/dist/chunk-2RNFSOS6.js +1 -0
  9. package/dist/chunk-2TNXW2VV.js +1 -0
  10. package/dist/chunk-34XDO4K2.cjs +2 -0
  11. package/dist/chunk-3EI2VHWK.cjs +1 -0
  12. package/dist/chunk-4H6UVYDJ.js +1 -0
  13. package/dist/chunk-4IEDDWUY.js +1 -0
  14. package/dist/chunk-4K5AIWZQ.cjs +1 -0
  15. package/dist/chunk-4WSASU6P.js +1 -0
  16. package/dist/chunk-5JG4K6SH.cjs +1 -0
  17. package/dist/chunk-64VOCEUQ.cjs +1 -0
  18. package/dist/chunk-6FYUJK4F.cjs +1 -0
  19. package/dist/chunk-6LH6U5QE.cjs +1 -0
  20. package/dist/chunk-7AD7LRMF.cjs +1 -0
  21. package/dist/chunk-7GUGSNG2.cjs +1 -0
  22. package/dist/chunk-7HKSU2EV.js +1 -0
  23. package/dist/chunk-7KOHYADG.js +1 -0
  24. package/dist/chunk-7OBG2QQ6.js +1 -0
  25. package/dist/chunk-A3CLHLE4.js +1 -0
  26. package/dist/chunk-ADHR4VLZ.cjs +1 -0
  27. package/dist/{chunk-KDIZYBPJ.js → chunk-AGUPRRD4.js} +1 -1
  28. package/dist/chunk-ALOGYFNP.cjs +1 -0
  29. package/dist/chunk-AQV7LL54.js +1 -0
  30. package/dist/chunk-BKB5HQTJ.js +1 -0
  31. package/dist/chunk-BYFXKRGA.cjs +1 -0
  32. package/dist/chunk-CBWMRF63.cjs +1 -0
  33. package/dist/chunk-CXXDGS7S.js +1 -0
  34. package/dist/chunk-D2T22ZDL.js +1 -0
  35. package/dist/chunk-DELDE4TM.cjs +1 -0
  36. package/dist/chunk-DGJ45NBZ.js +1 -0
  37. package/dist/chunk-DUKZ35AN.cjs +1 -0
  38. package/dist/chunk-FONP6RWO.js +1 -0
  39. package/dist/chunk-G3KQEE4R.cjs +1 -0
  40. package/dist/chunk-GTPEKE7O.cjs +1 -0
  41. package/dist/chunk-H5ZFJCDA.cjs +1 -0
  42. package/dist/chunk-HA25PYSI.js +1 -0
  43. package/dist/chunk-II5RRRIW.cjs +1 -0
  44. package/dist/chunk-ILMWSJ5M.js +1 -0
  45. package/dist/chunk-IMW37LVJ.cjs +1 -0
  46. package/dist/chunk-JMSQWVGJ.cjs +1 -0
  47. package/dist/chunk-KOELKEUS.js +1 -0
  48. package/dist/chunk-M3JZ2I3N.cjs +1 -0
  49. package/dist/chunk-NAJLRXKX.cjs +1 -0
  50. package/dist/chunk-NHEC6UK5.js +1 -0
  51. package/dist/chunk-NJ4Z3SAN.js +1 -0
  52. package/dist/chunk-NKC2KU7M.cjs +1 -0
  53. package/dist/chunk-O3KW7BD7.cjs +1 -0
  54. package/dist/chunk-PFCCKKAU.js +1 -0
  55. package/dist/chunk-PIEENX4H.js +1 -0
  56. package/dist/chunk-PMDPLPCX.cjs +1 -0
  57. package/dist/{chunk-4C255WE6.cjs → chunk-PSEAYJTX.cjs} +1 -1
  58. package/dist/{chunk-2NMXY7T4.js → chunk-PSGZ7K22.js} +1 -1
  59. package/dist/chunk-QEBTQYJZ.js +1 -0
  60. package/dist/chunk-QEFUAIXU.js +1 -0
  61. package/dist/chunk-QUY6BC6A.cjs +1 -0
  62. package/dist/chunk-R7KDUB7L.cjs +1 -0
  63. package/dist/chunk-SHR2C4QU.js +2 -0
  64. package/dist/{chunk-6M2UIJI5.js → chunk-SQIQ6W3B.js} +1 -1
  65. package/dist/{chunk-2SIGTGQE.js → chunk-UDXHWQBB.js} +1 -1
  66. package/dist/chunk-VBXFZRD2.cjs +1 -0
  67. package/dist/chunk-VEIGSGIP.js +1 -0
  68. package/dist/chunk-VX2YFVNN.js +1 -0
  69. package/dist/chunk-WCZLSJ2Z.js +1 -0
  70. package/dist/chunk-XKZFDAK7.cjs +1 -0
  71. package/dist/{chunk-675RBWFU.cjs → chunk-YGON2MF3.cjs} +1 -1
  72. package/dist/chunk-ZHPDCMOZ.cjs +1 -0
  73. package/dist/chunk-ZWS2DFMD.js +1 -0
  74. package/dist/color-input-DYFD524G.cjs +1 -0
  75. package/dist/color-input-VGXE3XNJ.js +1 -0
  76. package/dist/cpu-pressure-44GNUF4Y.cjs +1 -0
  77. package/dist/cpu-pressure-IMBFJ3ZO.js +1 -0
  78. package/dist/field-HPNPSL25.js +1 -0
  79. package/dist/field-WYORT6PG.cjs +1 -0
  80. package/dist/field-state-4PSUJFKN.js +1 -0
  81. package/dist/field-state-II6PJ5HS.cjs +1 -0
  82. package/dist/form-state-5IHJDD33.cjs +1 -0
  83. package/dist/form-state-OVV2M5TF.js +1 -0
  84. package/dist/geo-P2VA6AUO.cjs +1 -0
  85. package/dist/geo-ZWUUVUGV.js +1 -0
  86. package/dist/head.cjs +1 -1
  87. package/dist/head.global.js +1 -1
  88. package/dist/head.js +1 -1
  89. package/dist/img-DF7WXT4N.cjs +1 -0
  90. package/dist/img-EKQEJX2E.js +1 -0
  91. package/dist/img-color-6EPAZT5J.cjs +1 -0
  92. package/dist/img-color-LZCA54BY.js +1 -0
  93. package/dist/index.cjs +1 -1
  94. package/dist/index.d.cts +4 -3
  95. package/dist/index.d.ts +4 -3
  96. package/dist/index.global.js +1 -1
  97. package/dist/index.js +1 -1
  98. package/dist/keyboard-64GW3PBM.cjs +1 -0
  99. package/dist/keyboard-TDESCGLM.js +1 -0
  100. package/dist/media-OMEUDO7O.js +1 -0
  101. package/dist/media-QTJUS7XA.cjs +1 -0
  102. package/dist/meta-7F3Z4TDW.js +1 -0
  103. package/dist/meta-LT46XDXG.cjs +1 -0
  104. package/dist/motion-2SODB2EA.js +1 -0
  105. package/dist/motion-7IYUKVGZ.cjs +1 -0
  106. package/dist/nav-type-U6LPZQ2P.cjs +1 -0
  107. package/dist/nav-type-X6F3SEKK.js +1 -0
  108. package/dist/network-CK67HYFH.cjs +1 -0
  109. package/dist/network-UZSWIPZI.js +1 -0
  110. package/dist/online-26LBCTSO.js +1 -0
  111. package/dist/online-QAPYXQPE.cjs +1 -0
  112. package/dist/orientation-74KQIYGZ.cjs +1 -0
  113. package/dist/orientation-CY3Z2V7H.js +1 -0
  114. package/dist/page-focused-LRTVCN2G.js +1 -0
  115. package/dist/page-focused-NOTCVLRM.cjs +1 -0
  116. package/dist/page-visible-2BODDMS2.cjs +1 -0
  117. package/dist/page-visible-MBFCHBMI.js +1 -0
  118. package/dist/plugins.cjs +1 -1
  119. package/dist/plugins.d.cts +37 -8
  120. package/dist/plugins.d.ts +37 -8
  121. package/dist/plugins.js +1 -1
  122. package/dist/pointer-6GORZRQ3.cjs +1 -0
  123. package/dist/pointer-XOW7F5WJ.js +1 -0
  124. package/dist/pointer-local-I2LOFXBK.js +1 -0
  125. package/dist/pointer-local-YKTILVZ2.cjs +1 -0
  126. package/dist/random-IUHNW2BC.cjs +1 -0
  127. package/dist/random-NZJGUATO.js +1 -0
  128. package/dist/scroll-velocity-EUEGXSPS.js +1 -0
  129. package/dist/scroll-velocity-GGM44R6C.cjs +1 -0
  130. package/dist/select-IGBNDOVX.js +1 -0
  131. package/dist/select-YIQGILHM.cjs +1 -0
  132. package/dist/truncated-52BHB5RJ.js +1 -0
  133. package/dist/truncated-HESCQTCR.cjs +1 -0
  134. package/dist/{types-CyGIcLOq.d.cts → types-D8ZUfj4U.d.cts} +22 -4
  135. package/dist/{types-CyGIcLOq.d.ts → types-D8ZUfj4U.d.ts} +22 -4
  136. package/dist/ua-6TXYUXIB.js +1 -0
  137. package/dist/ua-IS3BUTMX.cjs +1 -0
  138. package/dist/video-color-DY2FP4OR.js +1 -0
  139. package/dist/video-color-MASYKAPQ.cjs +1 -0
  140. package/dist/visual-viewport-KZ4IINJE.js +1 -0
  141. package/dist/visual-viewport-PLYUYG44.cjs +1 -0
  142. package/llms.txt +1 -1
  143. package/package.json +1 -1
  144. package/dist/battery-CDMJLP4C.js +0 -1
  145. package/dist/battery-DQQ2NOGC.cjs +0 -1
  146. package/dist/chunk-2H5YFW6O.cjs +0 -1
  147. package/dist/chunk-2YHGSLQQ.cjs +0 -1
  148. package/dist/chunk-3QHCKCTX.cjs +0 -1
  149. package/dist/chunk-3REDV2FZ.cjs +0 -1
  150. package/dist/chunk-4R63TNNO.cjs +0 -1
  151. package/dist/chunk-5JZBLUQK.js +0 -1
  152. package/dist/chunk-5PU4B3GP.cjs +0 -1
  153. package/dist/chunk-5VXDAWUI.js +0 -1
  154. package/dist/chunk-6234NJTF.js +0 -1
  155. package/dist/chunk-63C3RCO2.cjs +0 -1
  156. package/dist/chunk-7CDVAP3H.cjs +0 -1
  157. package/dist/chunk-7KEBMJ3O.js +0 -1
  158. package/dist/chunk-7LN34C3P.cjs +0 -1
  159. package/dist/chunk-A7GWTDM7.js +0 -1
  160. package/dist/chunk-BF7D5A5Z.cjs +0 -1
  161. package/dist/chunk-BTKSOVH3.js +0 -1
  162. package/dist/chunk-COGNT6R5.js +0 -1
  163. package/dist/chunk-DFWBYWE3.cjs +0 -1
  164. package/dist/chunk-DQJQEWPS.js +0 -1
  165. package/dist/chunk-DRXR56P5.cjs +0 -1
  166. package/dist/chunk-EXPE3C6O.js +0 -2
  167. package/dist/chunk-F5H2O3AR.js +0 -1
  168. package/dist/chunk-FKBHTKZH.cjs +0 -1
  169. package/dist/chunk-FOHEZJHF.js +0 -1
  170. package/dist/chunk-FZYB3P7L.cjs +0 -1
  171. package/dist/chunk-H7X35UB4.js +0 -1
  172. package/dist/chunk-HFE2X32G.js +0 -1
  173. package/dist/chunk-HTO57OQP.js +0 -1
  174. package/dist/chunk-HYVT6V4Z.cjs +0 -1
  175. package/dist/chunk-IFIWYBMP.js +0 -1
  176. package/dist/chunk-IIQP3BYA.cjs +0 -1
  177. package/dist/chunk-IPYBSM34.cjs +0 -1
  178. package/dist/chunk-IVUTABRM.js +0 -1
  179. package/dist/chunk-JB72QLD6.js +0 -1
  180. package/dist/chunk-JI7NXES2.cjs +0 -1
  181. package/dist/chunk-K2YWGXLP.cjs +0 -1
  182. package/dist/chunk-KHBJUHJ6.cjs +0 -1
  183. package/dist/chunk-KSKAQMWJ.cjs +0 -2
  184. package/dist/chunk-LBK3257B.js +0 -1
  185. package/dist/chunk-M65LNJXV.js +0 -1
  186. package/dist/chunk-MGZTR3X6.cjs +0 -1
  187. package/dist/chunk-N3F2LRDI.js +0 -1
  188. package/dist/chunk-N745RQIX.js +0 -1
  189. package/dist/chunk-ODPCQAKC.cjs +0 -1
  190. package/dist/chunk-PS7KTHW4.js +0 -1
  191. package/dist/chunk-QFJ6SZ2H.cjs +0 -1
  192. package/dist/chunk-QTM2FDUV.js +0 -1
  193. package/dist/chunk-RT47EE2L.cjs +0 -1
  194. package/dist/chunk-RVZWUZQ2.cjs +0 -1
  195. package/dist/chunk-SRKAOAXW.cjs +0 -1
  196. package/dist/chunk-TEPMM5DH.js +0 -1
  197. package/dist/chunk-TL5BJFFL.js +0 -1
  198. package/dist/chunk-UALPUR2L.cjs +0 -1
  199. package/dist/chunk-UHGW7AXC.js +0 -1
  200. package/dist/chunk-XMJ6YRQB.cjs +0 -1
  201. package/dist/chunk-XQOUJEVE.cjs +0 -1
  202. package/dist/chunk-YARRV66T.js +0 -1
  203. package/dist/chunk-ZQTU5EW7.js +0 -1
  204. package/dist/color-input-STV57DGE.js +0 -1
  205. package/dist/color-input-SYYBVLZM.cjs +0 -1
  206. package/dist/cpu-pressure-FXZDL5IE.cjs +0 -1
  207. package/dist/cpu-pressure-WCDHVDRP.js +0 -1
  208. package/dist/field-4MBM2R7N.cjs +0 -1
  209. package/dist/field-6USMKGKM.js +0 -1
  210. package/dist/field-state-NXSK6ZZW.cjs +0 -1
  211. package/dist/field-state-YLUDK3XS.js +0 -1
  212. package/dist/form-state-FJZINKN7.cjs +0 -1
  213. package/dist/form-state-Q4SCA6TH.js +0 -1
  214. package/dist/geo-CMG7QJ6S.cjs +0 -1
  215. package/dist/geo-MXO5OMVO.js +0 -1
  216. package/dist/img-6F5QAPW3.cjs +0 -1
  217. package/dist/img-PYBNG6OU.js +0 -1
  218. package/dist/img-color-MBEU42DF.cjs +0 -1
  219. package/dist/img-color-VW3XMATY.js +0 -1
  220. package/dist/keyboard-6ZGB2LAD.cjs +0 -1
  221. package/dist/keyboard-YJ7S6XPJ.js +0 -1
  222. package/dist/media-RDQ3WR22.js +0 -1
  223. package/dist/media-XS6ADFFY.cjs +0 -1
  224. package/dist/meta-U2EHV4AM.cjs +0 -1
  225. package/dist/meta-VSAZR4JL.js +0 -1
  226. package/dist/motion-6SENJS5V.cjs +0 -1
  227. package/dist/motion-QDEZZYDF.js +0 -1
  228. package/dist/nav-type-MFJJDDPZ.cjs +0 -1
  229. package/dist/nav-type-S4MHMDHS.js +0 -1
  230. package/dist/network-BHUTXTX7.js +0 -1
  231. package/dist/network-DPAAEK2S.cjs +0 -1
  232. package/dist/online-HHJAVPBU.cjs +0 -1
  233. package/dist/online-OWTXHDGG.js +0 -1
  234. package/dist/orientation-LBAL4AXW.js +0 -1
  235. package/dist/orientation-PE3B4RPH.cjs +0 -1
  236. package/dist/page-focused-UK3VPLIG.js +0 -1
  237. package/dist/page-focused-Y74VK25Y.cjs +0 -1
  238. package/dist/page-visible-3YREALOP.cjs +0 -1
  239. package/dist/page-visible-GSBWF44E.js +0 -1
  240. package/dist/pointer-P2B4YDKM.cjs +0 -1
  241. package/dist/pointer-RJIXVFBH.js +0 -1
  242. package/dist/pointer-local-L4EQM2UF.js +0 -1
  243. package/dist/pointer-local-QZJODLIH.cjs +0 -1
  244. package/dist/random-LUAMZ2M7.cjs +0 -1
  245. package/dist/random-O4GDPYJ3.js +0 -1
  246. package/dist/scroll-velocity-X3F22E47.cjs +0 -1
  247. package/dist/scroll-velocity-Y43V5NH2.js +0 -1
  248. package/dist/select-H3CFIVK3.js +0 -1
  249. package/dist/select-LMRGCCLB.cjs +0 -1
  250. package/dist/truncated-23UAUK2L.cjs +0 -1
  251. package/dist/truncated-R3OIXDTH.js +0 -1
  252. package/dist/ua-3MLUBLSV.cjs +0 -1
  253. package/dist/ua-3RC4SBYB.js +0 -1
  254. package/dist/video-color-B37Z5OBY.cjs +0 -1
  255. package/dist/video-color-ZMRKDZFO.js +0 -1
  256. package/dist/visual-viewport-GNJTAHPT.js +0 -1
  257. package/dist/visual-viewport-MKUHWUQT.cjs +0 -1
@@ -1,2 +1,2 @@
1
- (function(){'use strict';var d={constPrefix:"--const-",root:typeof document<"u"?document.documentElement:void 0};var l={platform:"unknown",browser:"unknown",engine:"unknown",version:0,mobile:0},f={android:"android","chrome-os":"chromeos","chromium-os":"chromeos",ios:"ios",linux:"linux",macos:"macos",windows:"windows"},u=n=>n.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"");function m(n){let e=n.toLowerCase();return e.includes("edge")||e.includes("edg")?"edge":e.includes("opera")||e.includes("opr")?"opera":e.includes("samsung")?"samsung":e.includes("firefox")?"firefox":e.includes("chrome")||e.includes("chromium")?"chrome":e.includes("safari")?"safari":"unknown"}function g(n){let e=n.brands;if(!e||!e.length)return null;let r=e.filter(t=>!/not.?a.?brand/i.test(t.brand)),o=r.find(t=>!/chromium/i.test(t.brand))??r[0];return o?{platform:f[u(n.platform??"")]??"unknown",browser:m(o.brand),engine:"blink",version:parseInt(o.version,10)||0,mobile:n.mobile?1:0}:null}var b=[{id:"edge",test:/Edg(?:iOS|A)?\//,ver:/Edg(?:iOS|A)?\/(\d+)/},{id:"opera",test:/OPR\/|OPiOS\/|Opera\//,ver:/(?:OPR|OPiOS|Opera)\/(\d+)/},{id:"samsung",test:/SamsungBrowser\//,ver:/SamsungBrowser\/(\d+)/},{id:"firefox",test:/Firefox\/|FxiOS\//,ver:/(?:Firefox|FxiOS)\/(\d+)/},{id:"chrome",test:/Chrome\/|CriOS\//,ver:/(?:Chrome|CriOS)\/(\d+)/},{id:"safari",test:/Safari\//,ver:/Version\/(\d+)/}];function p(n){let e=/Android/.test(n)?"android":/iPhone|iPad|iPod/.test(n)?"ios":/Macintosh|Mac OS X/.test(n)?"macos":/Windows/.test(n)?"windows":/CrOS/.test(n)?"chromeos":/Linux/.test(n)?"linux":"unknown",r=b.find(a=>a.test.test(n)),o=r?.id??"unknown",t=r&&parseInt(n.match(r.ver)?.[1]??"",10)||0,i=e==="ios"?"webkit":o==="firefox"?"gecko":o==="safari"?"webkit":o==="unknown"?"unknown":"blink",s=/Mobi|Android|iPhone|iPod/.test(n)?1:0;return {platform:e,browser:o,engine:i,version:t,mobile:s}}function c(){if(typeof navigator>"u")return l;let n=navigator.userAgentData;return (n?g(n):null)??p(navigator.userAgent||"")}function w(){let n=d.root,e=(s,a)=>n.style.setProperty(d.constPrefix+s,String(a)),r=document.createElement("div");r.style.cssText="position:absolute;top:-9999px;width:100px;height:100px;overflow:scroll;visibility:hidden;scrollbar-width:auto",(document.body??n).appendChild(r);let t=r.offsetWidth-r.clientWidth;e("scrollbar-w",t),e("scrollbar-overlay",t===0?1:0),r.style.scrollbarWidth="thin",e("scrollbar-thin-w",r.offsetWidth-r.clientWidth),r.remove(),e("dpr",window.devicePixelRatio||1),e("cores",navigator.hardwareConcurrency||0),e("mem",navigator.deviceMemory||0);let i=c();e("ua-platform",i.platform),e("ua-browser",i.browser),e("ua-engine",i.engine),e("ua-version",i.version),e("ua-mobile",i.mobile);}typeof document<"u"&&w();
1
+ (function(){'use strict';var a={constPrefix:"--const-",root:typeof document<"u"?document.documentElement:void 0};var c=e=>e.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"");var u={platform:"unknown",browser:"unknown",engine:"unknown",version:0,mobile:0},f={android:"android","chrome-os":"chromeos","chromium-os":"chromeos",ios:"ios",linux:"linux",macos:"macos",windows:"windows"};function m(e){let n=e.toLowerCase();return n.includes("edge")||n.includes("edg")?"edge":n.includes("opera")||n.includes("opr")?"opera":n.includes("samsung")?"samsung":n.includes("firefox")?"firefox":n.includes("chrome")||n.includes("chromium")?"chrome":n.includes("safari")?"safari":"unknown"}function g(e){let n=e.brands;if(!n||!n.length)return null;let r=n.filter(o=>!/not.?a.?brand/i.test(o.brand)),t=r.find(o=>!/chromium/i.test(o.brand))??r[0];return t?{platform:f[c(e.platform??"")]??"unknown",browser:m(t.brand),engine:"blink",version:parseInt(t.version,10)||0,mobile:e.mobile?1:0}:null}var p=[{id:"edge",test:/Edg(?:iOS|A)?\//,ver:/Edg(?:iOS|A)?\/(\d+)/},{id:"opera",test:/OPR\/|OPiOS\/|Opera\//,ver:/(?:OPR|OPiOS|Opera)\/(\d+)/},{id:"samsung",test:/SamsungBrowser\//,ver:/SamsungBrowser\/(\d+)/},{id:"firefox",test:/Firefox\/|FxiOS\//,ver:/(?:Firefox|FxiOS)\/(\d+)/},{id:"chrome",test:/Chrome\/|CriOS\//,ver:/(?:Chrome|CriOS)\/(\d+)/},{id:"safari",test:/Safari\//,ver:/Version\/(\d+)/}],b=[[/Android/,"android"],[/iPhone|iPad|iPod/,"ios"],[/Macintosh|Mac OS X/,"macos"],[/Windows/,"windows"],[/CrOS/,"chromeos"],[/Linux/,"linux"]],w={firefox:"gecko",safari:"webkit",unknown:"unknown"};function h(e){let n=b.find(([s])=>s.test(e))?.[1]??"unknown",r=p.find(s=>s.test.test(e)),t=r?.id??"unknown",o=r&&parseInt(e.match(r.ver)?.[1]??"",10)||0,i=n==="ios"?"webkit":w[t]??"blink",d=/Mobi|Android|iPhone|iPod/.test(e)?1:0;return {platform:n,browser:t,engine:i,version:o,mobile:d}}function l(){if(typeof navigator>"u")return u;let e=navigator.userAgentData;return (e?g(e):null)??h(navigator.userAgent||"")}function v(){let e=a.root,n=(d,s)=>e.style.setProperty(a.constPrefix+d,String(s)),r=document.createElement("div");r.style.cssText="position:absolute;top:-9999px;width:100px;height:100px;overflow:scroll;visibility:hidden;scrollbar-width:auto",(document.body??e).appendChild(r);let o=r.offsetWidth-r.clientWidth;n("scrollbar-w",o),n("scrollbar-overlay",o===0?1:0),r.style.scrollbarWidth="thin",n("scrollbar-thin-w",r.offsetWidth-r.clientWidth),r.remove(),n("dpr",window.devicePixelRatio||1),n("cores",navigator.hardwareConcurrency||0),n("mem",navigator.deviceMemory||0);let i=l();n("ua-platform",i.platform),n("ua-browser",i.browser),n("ua-engine",i.engine),n("ua-version",i.version),n("ua-mobile",i.mobile);}typeof document<"u"&&a.root&&v();
2
2
  })();
package/dist/head.js CHANGED
@@ -1 +1 @@
1
- import {a as a$1}from'./chunk-EXPE3C6O.js';import {a}from'./chunk-LWKH66VY.js';function c(){let i=a.root,o=(a$1,l)=>i.style.setProperty(a.constPrefix+a$1,String(l)),e=document.createElement("div");e.style.cssText="position:absolute;top:-9999px;width:100px;height:100px;overflow:scroll;visibility:hidden;scrollbar-width:auto",(document.body??i).appendChild(e);let n=e.offsetWidth-e.clientWidth;o("scrollbar-w",n),o("scrollbar-overlay",n===0?1:0),e.style.scrollbarWidth="thin",o("scrollbar-thin-w",e.offsetWidth-e.clientWidth),e.remove(),o("dpr",window.devicePixelRatio||1),o("cores",navigator.hardwareConcurrency||0),o("mem",navigator.deviceMemory||0);let t=a$1();o("ua-platform",t.platform),o("ua-browser",t.browser),o("ua-engine",t.engine),o("ua-version",t.version),o("ua-mobile",t.mobile);}typeof document<"u"&&c();
1
+ import {a as a$1}from'./chunk-SHR2C4QU.js';import'./chunk-PFCCKKAU.js';import {a}from'./chunk-LWKH66VY.js';function c(){let i=a.root,o=(a$1,l)=>i.style.setProperty(a.constPrefix+a$1,String(l)),t=document.createElement("div");t.style.cssText="position:absolute;top:-9999px;width:100px;height:100px;overflow:scroll;visibility:hidden;scrollbar-width:auto",(document.body??i).appendChild(t);let n=t.offsetWidth-t.clientWidth;o("scrollbar-w",n),o("scrollbar-overlay",n===0?1:0),t.style.scrollbarWidth="thin",o("scrollbar-thin-w",t.offsetWidth-t.clientWidth),t.remove(),o("dpr",window.devicePixelRatio||1),o("cores",navigator.hardwareConcurrency||0),o("mem",navigator.deviceMemory||0);let e=a$1();o("ua-platform",e.platform),o("ua-browser",e.browser),o("ua-engine",e.engine),o("ua-version",e.version),o("ua-mobile",e.mobile);}typeof document<"u"&&a.root&&c();
@@ -0,0 +1 @@
1
+ 'use strict';var chunkR7KDUB7L_cjs=require('./chunk-R7KDUB7L.cjs');require('./chunk-HHINWX7L.cjs'),require('./chunk-ADHR4VLZ.cjs');Object.defineProperty(exports,"img",{enumerable:true,get:function(){return chunkR7KDUB7L_cjs.a}});
@@ -0,0 +1 @@
1
+ export{a as img}from'./chunk-KOELKEUS.js';import'./chunk-LTJ2VKVY.js';import'./chunk-7KOHYADG.js';
@@ -0,0 +1 @@
1
+ 'use strict';var chunk5JG4K6SH_cjs=require('./chunk-5JG4K6SH.cjs');require('./chunk-A6JDSQWH.cjs'),require('./chunk-HHINWX7L.cjs'),require('./chunk-ADHR4VLZ.cjs'),require('./chunk-65MXZJBD.cjs');Object.defineProperty(exports,"imgColor",{enumerable:true,get:function(){return chunk5JG4K6SH_cjs.a}});
@@ -0,0 +1 @@
1
+ export{a as imgColor}from'./chunk-7OBG2QQ6.js';import'./chunk-A2ETARW3.js';import'./chunk-LTJ2VKVY.js';import'./chunk-7KOHYADG.js';import'./chunk-T4N6AEOZ.js';
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- 'use strict';var chunk5PU4B3GP_cjs=require('./chunk-5PU4B3GP.cjs');require('./chunk-DFWBYWE3.cjs'),require('./chunk-HHINWX7L.cjs');var chunkEYDIF3NM_cjs=require('./chunk-EYDIF3NM.cjs');require('./chunk-65MXZJBD.cjs'),require('./chunk-7L35N3N3.cjs'),require('./chunk-DRXR56P5.cjs');Object.defineProperty(exports,"configure",{enumerable:true,get:function(){return chunk5PU4B3GP_cjs.d}});Object.defineProperty(exports,"isRegistered",{enumerable:true,get:function(){return chunk5PU4B3GP_cjs.c}});Object.defineProperty(exports,"propsFor",{enumerable:true,get:function(){return chunk5PU4B3GP_cjs.e}});Object.defineProperty(exports,"register",{enumerable:true,get:function(){return chunk5PU4B3GP_cjs.a}});Object.defineProperty(exports,"reset",{enumerable:true,get:function(){return chunk5PU4B3GP_cjs.g}});Object.defineProperty(exports,"unbind",{enumerable:true,get:function(){return chunk5PU4B3GP_cjs.f}});Object.defineProperty(exports,"unregister",{enumerable:true,get:function(){return chunk5PU4B3GP_cjs.b}});Object.defineProperty(exports,"pause",{enumerable:true,get:function(){return chunkEYDIF3NM_cjs.d}});Object.defineProperty(exports,"resume",{enumerable:true,get:function(){return chunkEYDIF3NM_cjs.e}});
1
+ 'use strict';var chunkJMSQWVGJ_cjs=require('./chunk-JMSQWVGJ.cjs');require('./chunk-NAJLRXKX.cjs'),require('./chunk-HHINWX7L.cjs'),require('./chunk-ADHR4VLZ.cjs');var chunkEYDIF3NM_cjs=require('./chunk-EYDIF3NM.cjs');require('./chunk-65MXZJBD.cjs'),require('./chunk-7L35N3N3.cjs'),require('./chunk-7AD7LRMF.cjs');Object.defineProperty(exports,"configure",{enumerable:true,get:function(){return chunkJMSQWVGJ_cjs.d}});Object.defineProperty(exports,"isRegistered",{enumerable:true,get:function(){return chunkJMSQWVGJ_cjs.c}});Object.defineProperty(exports,"propsFor",{enumerable:true,get:function(){return chunkJMSQWVGJ_cjs.e}});Object.defineProperty(exports,"register",{enumerable:true,get:function(){return chunkJMSQWVGJ_cjs.a}});Object.defineProperty(exports,"reset",{enumerable:true,get:function(){return chunkJMSQWVGJ_cjs.g}});Object.defineProperty(exports,"unbind",{enumerable:true,get:function(){return chunkJMSQWVGJ_cjs.f}});Object.defineProperty(exports,"unregister",{enumerable:true,get:function(){return chunkJMSQWVGJ_cjs.b}});Object.defineProperty(exports,"pause",{enumerable:true,get:function(){return chunkEYDIF3NM_cjs.d}});Object.defineProperty(exports,"resume",{enumerable:true,get:function(){return chunkEYDIF3NM_cjs.e}});
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { a as Config, D as Disposer, S as Source } from './types-CyGIcLOq.cjs';
2
- export { C as Cadence, P as PropSpec, b as SourceContext } from './types-CyGIcLOq.cjs';
1
+ import { a as Config, D as Disposer, S as Source } from './types-D8ZUfj4U.cjs';
2
+ export { C as Cadence, P as PropSpec, b as SourceContext } from './types-D8ZUfj4U.cjs';
3
3
 
4
4
  /** Freeze the loop: no sampling, no flushing, until `resume()`. Idempotent. */
5
5
  declare function pause(): void;
@@ -30,7 +30,8 @@ interface PropsForOptions {
30
30
  }
31
31
  /** Register a custom or plugin source so it can be used by key. */
32
32
  declare function register(source: Source): void;
33
- /** Remove a previously registered source key. */
33
+ /** Remove a previously registered source key. Bindings already attached with it
34
+ * keep running — `unbind`/`reset` tear those down. */
34
35
  declare function unregister(key: string): void;
35
36
  /** Whether a source key is currently registered (core or added via `register`). */
36
37
  declare function isRegistered(key: string): boolean;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { a as Config, D as Disposer, S as Source } from './types-CyGIcLOq.js';
2
- export { C as Cadence, P as PropSpec, b as SourceContext } from './types-CyGIcLOq.js';
1
+ import { a as Config, D as Disposer, S as Source } from './types-D8ZUfj4U.js';
2
+ export { C as Cadence, P as PropSpec, b as SourceContext } from './types-D8ZUfj4U.js';
3
3
 
4
4
  /** Freeze the loop: no sampling, no flushing, until `resume()`. Idempotent. */
5
5
  declare function pause(): void;
@@ -30,7 +30,8 @@ interface PropsForOptions {
30
30
  }
31
31
  /** Register a custom or plugin source so it can be used by key. */
32
32
  declare function register(source: Source): void;
33
- /** Remove a previously registered source key. */
33
+ /** Remove a previously registered source key. Bindings already attached with it
34
+ * keep running — `unbind`/`reset` tear those down. */
34
35
  declare function unregister(key: string): void;
35
36
  /** Whether a source key is currently registered (core or added via `register`). */
36
37
  declare function isRegistered(key: string): boolean;
@@ -1 +1 @@
1
- var PropForThat=(function(exports){'use strict';var p={livePrefix:"--live-",constPrefix:"--const-",root:typeof document<"u"?document.documentElement:void 0,typed:false};var v=new Set,W=null,a=0,C=false,m=false,O=0,k=false,H=()=>typeof requestAnimationFrame=="function";function F(e){if(a=0,m)return;let t=p.liveHz;if(H()&&t&&t>0&&e-O<1e3/t){(v.size||k)&&(a=requestAnimationFrame(F));return}if(O=e,C=true,v.size)for(let n of v)n(e);k=false,W?.(),C=false,v.size&&H()&&z();}function z(){a||C||m||(H()?a=requestAnimationFrame(F):F(0));}function A(){k=true,z();}function K(e){W=e;}function q(){m||(m=true,a&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(a),a=0);}function $(){m&&(m=false,z());}typeof document<"u"&&typeof document.addEventListener=="function"&&document.addEventListener("visibilitychange",()=>{document.hidden?q():$();});var d;function te(){if(d!==void 0||(d=null,typeof document>"u"||typeof CSSStyleSheet!="function"||!("adoptedStyleSheets"in document)))return d;try{let e=new CSSStyleSheet;e.replaceSync(":root{}"),document.adoptedStyleSheets=[...document.adoptedStyleSheets,e],d=e.cssRules[0].style;}catch{d=null;}return d}function w(e){if(typeof document<"u"&&e===document.documentElement){let t=te();if(t)return t}return e.style}var D=class{pending=new Map;last=new WeakMap;set(t,n,r){let o=this.pending.get(t);if(o?.has(n)){o.set(n,r);return}this.last.get(t)?.get(n)!==r&&(o?o.set(n,r):this.pending.set(t,new Map([[n,r]])),A());}forget(t,n){this.last.get(t)?.delete(n);let r=this.pending.get(t);r&&(r.delete(n),r.size===0&&this.pending.delete(t));}flush=()=>{if(this.pending.size!==0){for(let[t,n]of this.pending){let r=this.last.get(t);r||this.last.set(t,r=new Map);let o=w(t);for(let[s,i]of n)r.get(s)!==i&&(o.setProperty(s,i),r.set(s,i));}this.pending.clear();}}},E=new D;K(E.flush);var b,S=new WeakMap,B=new WeakMap;function _(e,t){b||(b=new ResizeObserver(o=>{for(let s of o){B.set(s.target,s);let i=S.get(s.target);if(i)for(let f of i)f(s);}}));let n=S.get(e);n||(S.set(e,n=new Set),b.observe(e)),n.add(t);let r=B.get(e);return r&&t(r),()=>{let o=S.get(e);o&&(o.delete(t),o.size===0&&(S.delete(e),b.unobserve(e)));}}var M,h=new WeakMap,V=new WeakMap,ne=[0,.98,.99,.995,.999,1];function L(e,t){M||(M=new IntersectionObserver(o=>{for(let s of o){V.set(s.target,s);let i=h.get(s.target);if(i)for(let f of i)f(s);}},{threshold:ne}));let n=h.get(e);n||(h.set(e,n=new Set),M.observe(e)),n.add(t);let r=V.get(e);return r&&t(r),()=>{let o=h.get(e);o&&(o.delete(t),o.size===0&&(h.delete(e),M.unobserve(e)));}}var j=new Set;function G(e,t,n){if(j.has(e)||typeof CSS>"u"||typeof CSS.registerProperty!="function")return;j.add(e);let r=t?n?.[t]:void 0,o=t?p.defaults?.[t]:void 0;try{CSS.registerProperty({name:e,syntax:r?.syntax??"<number>",inherits:r?.inherits??!0,initialValue:o!=null?String(o):r?.initial??"0"});}catch{}}var R=new Map;function N(e,t){let n=R.get(e);if(!n){let r=new Set,o=s=>{for(let i of r)i(s);};n={handlers:r,dispatch:o},R.set(e,n),window.addEventListener(e,o,{passive:true});}return n.handlers.add(t),()=>{n.handlers.delete(t),n.handlers.size===0&&(window.removeEventListener(e,n.dispatch),R.delete(e));}}var U={key:"viewport",scope:"global",start(e){let t=()=>{e.write("vw",window.innerWidth),e.write("vh",window.innerHeight);};return t(),N("resize",t)}};function g(e){return Math.round(e*1e4)/1e4}var Y={key:"size",scope:"element",start(e){return _(e.target,t=>{let n=t.borderBoxSize?.[0],r=n?n.inlineSize:t.contentRect.width,o=n?n.blockSize:t.contentRect.height;e.write("w",g(r)),e.write("h",g(o)),e.write("aspect",o>0?g(r/o):0);})}};var T=1;function re(e){let t=e.rootBounds;if(!t)return e.intersectionRatio>=1;let n=e.boundingClientRect;return n.top>=t.top-T&&n.right<=t.right+T&&n.bottom<=t.bottom+T&&n.left>=t.left-T}var J={key:"visibility",scope:"element",gate:false,start(e){let t=false;return e.write("visible",0),e.write("has-entered",0,"const"),L(e.target,n=>{let r=re(n);e.write("visible",r?1:0),r&&!t&&(t=true,e.write("has-entered",1,"const"));})}};function Q(e,t){return e.matches(t)?e:e.querySelector(t)}var X={key:"range",scope:"element",gate:false,start(e){let t=Q(e.target,'input[type="range"], input[type="number"]');if(!t)return ()=>{};let n=()=>{let r=t.min===""?0:Number(t.min),o=t.max===""?100:Number(t.max),s=Number(t.value);e.write("value",s),e.write("value-pct",o>r?g((s-r)/(o-r)):0);};return n(),t.addEventListener("input",n,{passive:true}),()=>t.removeEventListener("input",n)}};var Z={viewport:U,size:Y,visibility:J,range:X};var oe=()=>{},l=new Map,I=new WeakMap,x={...Z};function Ne(e){x[e.key]=e;}function Ue(e){delete x[e];}function Ye(e){return e in x}function Je(e){Object.assign(p,e);}function ie(e,t,n,r){let o={live:new Map,const:new Map};return {target:e,config:p,write(s,i,f="live"){let c=o[f],u=c.get(s);if(u){if(u.raw===i)return;u.raw=i;}else {let y=(f==="const"?p.constPrefix:p.livePrefix)+s;c.set(s,u={raw:i,prop:y}),n.add(y);}p.typed&&G(u.prop,s,r),E.set(t,u.prop,String(i));}}}function se(e,t,n){if(!(e.scope==="element"&&e.gate!==false&&n!==p.root&&typeof IntersectionObserver<"u"))return e.start(t);let o=null,s=()=>{if(!o)try{o=e.start(t);}catch(c){console.error(`[prop-for-that] source "${e.key}" failed to start`,c);}},i=()=>{o?.(),o=null;},f=L(n,c=>{c.isIntersecting?s():i();});return ()=>{f(),i();}}function P(e,t,n){let r=n.get(t);if(!r)return;r.dispose();let{writeTarget:o}=r,s=w(o);for(let i of r.written)s.removeProperty(i),E.forget(o,i);o!==e&&I.get(o)?.delete(t),n.delete(t);}function fe(e,t){if(typeof t!="string")return t;let n=e.closest(t);return n||(console.warn(`[prop-for-that] no ancestor matches "${t}" \u2014 writing on the element itself`),e)}function ce(e,t){let n=I.get(e);n||I.set(e,n=new Set),n.has(t)&&console.warn(`[prop-for-that] "${t}" is already hoisted onto this element \u2014 the bindings will overwrite each other`,e),n.add(t);}function pe(e,t,n){let r=l.get(e);r||l.set(e,r=new Map);let o=n?fe(e,n):e,s=[];for(let i of t){if(r.has(i))continue;let f=x[i];if(!f){console.warn(`[prop-for-that] unknown source "${i}"`);continue}let c=o;c!==e&&f.scope==="global"&&(console.warn(`[prop-for-that] "to" ignored for global source "${i}"`),c=e);let u=new Set,y;try{y=se(f,ie(e,c,u,f.props),e);}catch(ee){console.error(`[prop-for-that] source "${i}" failed to start`,ee);continue}c!==e&&ce(c,i),r.set(i,{dispose:y,written:u,writeTarget:c}),s.push(i);}return ()=>{let i=l.get(e);if(i){for(let f of s)P(e,f,i);i.size===0&&l.delete(e);}}}function ue(e){return e instanceof Element?[e]:typeof NodeList<"u"&&e instanceof NodeList||typeof HTMLCollection<"u"&&e instanceof HTMLCollection||Array.isArray(e)?Array.from(e).filter(t=>t instanceof Element):[]}function le(e){return Array.isArray(e)&&(e.length===0||typeof e[0]=="string")}function Qe(e,t,n){let r,o;if(t===void 0&&le(e)?(r=p.root?[p.root]:[],o=e):(r=ue(e),o=t??[]),!r.length||!o.length)return oe;let s=r.map(i=>pe(i,o,n?.to));return ()=>{for(let i of s)i();}}function Xe(e,t){let n=l.get(e);if(n){for(let r of t??[...n.keys()])P(e,r,n);n.size===0&&l.delete(e);}}function Ze(){for(let[e,t]of l)for(let n of [...t.keys()])P(e,n,t);l.clear();}exports.configure=Je;exports.isRegistered=Ye;exports.pause=q;exports.propsFor=Qe;exports.register=Ne;exports.reset=Ze;exports.resume=$;exports.unbind=Xe;exports.unregister=Ue;return exports;})({});
1
+ var PropForThat=(function(exports){'use strict';var u={livePrefix:"--live-",constPrefix:"--const-",root:typeof document<"u"?document.documentElement:void 0,typed:false};var S=new Set,R=null,a=0,x=false,g=false,O=0,T=false,H=()=>typeof requestAnimationFrame=="function";function k(e){if(a=0,g)return;let t=u.liveHz;if(H()&&t&&t>0&&e-O<1e3/t){(S.size||T)&&(a=requestAnimationFrame(k));return}if(O=e,x=true,S.size)for(let n of S)n(e);T=false,R?.(),x=false,S.size&&H()&&C();}function C(){a||x||g||(H()?a=requestAnimationFrame(k):k(0));}function I(){T=true,C();}function A(e){R=e;}function W(){g||(g=true,a&&typeof cancelAnimationFrame=="function"&&cancelAnimationFrame(a),a=0);}function q(){g&&(g=false,C());}typeof document<"u"&&typeof document.addEventListener=="function"&&document.addEventListener("visibilitychange",()=>{document.hidden?W():q();});var m;function Z(){if(m!==void 0||(m=null,typeof document>"u"||typeof CSSStyleSheet!="function"||!("adoptedStyleSheets"in document)))return m;try{let e=new CSSStyleSheet;e.replaceSync(":root{}"),document.adoptedStyleSheets=[...document.adoptedStyleSheets,e],m=e.cssRules[0].style;}catch{m=null;}return m}function h(e){if(typeof document<"u"&&e===document.documentElement){let t=Z();if(t)return t}return e.style}var ee=32,F=class{pending=new Map;last=new WeakMap;pool=[];set(t,n,r){let i=this.pending.get(t);if(i?.has(n)){i.set(n,r);return}if(this.last.get(t)?.get(n)!==r){if(i)i.set(n,r);else {let s=this.pool.pop()??new Map;s.set(n,r),this.pending.set(t,s);}I();}}forget(t,n){this.last.get(t)?.delete(n);let r=this.pending.get(t);r&&(r.delete(n),r.size===0&&this.pending.delete(t));}flush=()=>{if(this.pending.size!==0){for(let[t,n]of this.pending){let r=this.last.get(t);r||this.last.set(t,r=new Map);let i=h(t);for(let[s,o]of n)r.get(s)!==o&&(i.setProperty(s,o),r.set(s,o));n.clear(),this.pool.length<ee&&this.pool.push(n);}this.pending.clear();}}},w=new F;A(w.flush);function K(e){let t,n=new WeakMap,r=new WeakMap;return function(s,o){t||(t=e(f=>{for(let l of f){r.set(l.target,l);let v=n.get(l.target);if(v)for(let Q of v)Q(l);}}));let p=n.get(s);p||(n.set(s,p=new Set),t.observe(s)),p.add(o);let c=r.get(s);return c&&o(c),()=>{let f=n.get(s);f&&(f.delete(o),f.size===0&&(n.delete(s),t.unobserve(s)));}}}var V=K(e=>new ResizeObserver(e)),te=[0,.98,.99,.995,.999,1],E=K(e=>new IntersectionObserver(e,{threshold:te}));var $=new Set;function B(e,t,n){if($.has(e)||typeof CSS>"u"||typeof CSS.registerProperty!="function")return;$.add(e);let r=t?n?.[t]:void 0,i=t?u.defaults?.[t]:void 0;try{CSS.registerProperty({name:e,syntax:r?.syntax??"<number>",inherits:r?.inherits??!0,initialValue:i!=null?String(i):r?.initial??"0"});}catch{}}function z(e){let t=new Map;return function(r,i){let s=e(),o=t.get(r);if(!o){let p=new Set,c=f=>{for(let l of p)l(f);};o={handlers:p,dispatch:c},t.set(r,o),s.addEventListener(r,c,{passive:true});}return o.handlers.add(i),()=>{o.handlers.delete(i),o.handlers.size===0&&(s.removeEventListener(r,o.dispatch),t.delete(r));}}}var _=z(()=>window);var j={key:"viewport",scope:"global",start(e){let t=()=>{e.write("vw",window.innerWidth),e.write("vh",window.innerHeight);};return t(),_("resize",t)}};function y(e){return Math.round(e*1e4)/1e4}var G={key:"size",scope:"element",start(e){return V(e.target,t=>{let n=t.borderBoxSize?.[0],r=n?n.inlineSize:t.contentRect.width,i=n?n.blockSize:t.contentRect.height;e.write("w",y(r)),e.write("h",y(i)),e.write("aspect",i>0?y(r/i):0);})}};var b=1;function ne(e){let t=e.rootBounds;if(!t)return e.intersectionRatio>=1;let n=e.boundingClientRect;return n.top>=t.top-b&&n.right<=t.right+b&&n.bottom<=t.bottom+b&&n.left>=t.left-b}var U={key:"visibility",scope:"element",gate:false,start(e){let t=false;return e.write("visible",0),e.write("has-entered",0,"const"),E(e.target,n=>{let r=ne(n);e.write("visible",r?1:0),r&&!t&&(t=true,e.write("has-entered",1,"const"));})}};var L=()=>{};function X(e,t){return e.matches(t)?e:e.querySelector(t)}var Y={key:"range",scope:"element",gate:false,start(e){let t=X(e.target,'input[type="range"], input[type="number"]');if(!t)return L;let n=()=>{let r=t.min===""?0:Number(t.min),i=t.max===""?100:Number(t.max),s=Number(t.value);e.write("value",s),e.write("value-pct",i>r?y((s-r)/(i-r)):0);};return n(),t.addEventListener("input",n,{passive:true}),()=>t.removeEventListener("input",n)}};var J={viewport:j,size:G,visibility:U,range:Y};var d=new Map,D=new WeakMap,M={...J};function Je(e){M[e.key]=e;}function Ne(e){delete M[e];}function Qe(e){return e in M}function Ze(e){Object.assign(u,e);}function re(e,t,n,r){let i={live:new Map,const:new Map};return {target:e,config:u,write(s,o,p="live"){let c=i[p],f=c.get(s);if(f){if(f.raw===o)return;f.raw=o;}else {let l=(p==="const"?u.constPrefix:u.livePrefix)+s;c.set(s,f={raw:o,prop:l}),n.add(l);}u.typed&&(r?.[s]||typeof o=="number")&&B(f.prop,s,r),w.set(t,f.prop,String(o));}}}function N(e,t){try{return e.start(t)}catch(n){return console.error(`[prop-for-that] source "${e.key}" failed to start`,n),null}}function oe(e,t,n){if(!(e.scope==="element"&&e.gate!==false&&n!==u.root&&typeof IntersectionObserver<"u"))return N(e,t);let i=null,s=()=>{i||(i=N(e,t));},o=()=>{i?.(),i=null;},p=E(n,c=>{c.isIntersecting?s():o();});return ()=>{p(),o();}}function P(e,t,n){let r=n.get(t);if(!r)return;r.dispose();let{writeTarget:i}=r,s=h(i);for(let o of r.written)s.removeProperty(o),w.forget(i,o);i!==e&&D.get(i)?.delete(t),n.delete(t);}function ie(e,t){if(typeof t!="string")return t;let n=e.closest(t);return n||(console.warn(`[prop-for-that] no ancestor matches "${t}" \u2014 writing on the element itself`),e)}function se(e,t){let n=D.get(e);n||D.set(e,n=new Set),n.has(t)&&console.warn(`[prop-for-that] "${t}" is already hoisted onto this element \u2014 the bindings will overwrite each other`,e),n.add(t);}function pe(e,t,n){let r=d.get(e);r||d.set(e,r=new Map);let i=n?ie(e,n):e,s=[];for(let o of t){if(r.has(o))continue;let p=M[o];if(!p){console.warn(`[prop-for-that] unknown source "${o}"`);continue}let c=i;c!==e&&p.scope==="global"&&(console.warn(`[prop-for-that] "to" ignored for global source "${o}"`),c=e);let f=new Set,l=re(e,c,f,p.props),v=oe(p,l,e);v&&(c!==e&&se(c,o),r.set(o,{dispose:v,written:f,writeTarget:c}),s.push(o));}return ()=>{let o=d.get(e);if(o){for(let p of s)P(e,p,o);o.size===0&&d.delete(e);}}}function ce(e){return e instanceof Element?[e]:typeof NodeList<"u"&&e instanceof NodeList||typeof HTMLCollection<"u"&&e instanceof HTMLCollection||Array.isArray(e)?Array.from(e).filter(t=>t instanceof Element):[]}function fe(e){return Array.isArray(e)&&(e.length===0||typeof e[0]=="string")}function et(e,t,n){let r,i;if(t===void 0&&fe(e)?(r=u.root?[u.root]:[],i=e):(r=ce(e),i=t??[]),!r.length||!i.length)return L;let s=r.map(o=>pe(o,i,n?.to));return ()=>{for(let o of s)o();}}function tt(e,t){let n=d.get(e);if(n){for(let r of t??[...n.keys()])P(e,r,n);n.size===0&&d.delete(e);}}function nt(){for(let[e,t]of d)for(let n of [...t.keys()])P(e,n,t);d.clear();}exports.configure=Ze;exports.isRegistered=Qe;exports.pause=W;exports.propsFor=et;exports.register=Je;exports.reset=nt;exports.resume=q;exports.unbind=tt;exports.unregister=Ne;return exports;})({});
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- export{d as configure,c as isRegistered,e as propsFor,a as register,g as reset,f as unbind,b as unregister}from'./chunk-N3F2LRDI.js';import'./chunk-6234NJTF.js';import'./chunk-LTJ2VKVY.js';export{d as pause,e as resume}from'./chunk-KG3EF456.js';import'./chunk-T4N6AEOZ.js';import'./chunk-LWKH66VY.js';import'./chunk-7KEBMJ3O.js';
1
+ export{d as configure,c as isRegistered,e as propsFor,a as register,g as reset,f as unbind,b as unregister}from'./chunk-CXXDGS7S.js';import'./chunk-AQV7LL54.js';import'./chunk-LTJ2VKVY.js';import'./chunk-7KOHYADG.js';export{d as pause,e as resume}from'./chunk-KG3EF456.js';import'./chunk-T4N6AEOZ.js';import'./chunk-LWKH66VY.js';import'./chunk-ZWS2DFMD.js';
@@ -0,0 +1 @@
1
+ 'use strict';var chunkBYFXKRGA_cjs=require('./chunk-BYFXKRGA.cjs');require('./chunk-ADHR4VLZ.cjs'),require('./chunk-65MXZJBD.cjs'),require('./chunk-7AD7LRMF.cjs');Object.defineProperty(exports,"keyboard",{enumerable:true,get:function(){return chunkBYFXKRGA_cjs.a}});
@@ -0,0 +1 @@
1
+ export{a as keyboard}from'./chunk-4H6UVYDJ.js';import'./chunk-7KOHYADG.js';import'./chunk-T4N6AEOZ.js';import'./chunk-ZWS2DFMD.js';
@@ -0,0 +1 @@
1
+ export{a as media}from'./chunk-QEFUAIXU.js';import'./chunk-LTJ2VKVY.js';import'./chunk-7KOHYADG.js';import'./chunk-T4N6AEOZ.js';import'./chunk-ZWS2DFMD.js';
@@ -0,0 +1 @@
1
+ 'use strict';var chunkQUY6BC6A_cjs=require('./chunk-QUY6BC6A.cjs');require('./chunk-HHINWX7L.cjs'),require('./chunk-ADHR4VLZ.cjs'),require('./chunk-65MXZJBD.cjs'),require('./chunk-7AD7LRMF.cjs');Object.defineProperty(exports,"media",{enumerable:true,get:function(){return chunkQUY6BC6A_cjs.a}});
@@ -0,0 +1 @@
1
+ export{a as meta}from'./chunk-D2T22ZDL.js';import'./chunk-7KOHYADG.js';import'./chunk-PFCCKKAU.js';
@@ -0,0 +1 @@
1
+ 'use strict';var chunkVBXFZRD2_cjs=require('./chunk-VBXFZRD2.cjs');require('./chunk-ADHR4VLZ.cjs'),require('./chunk-CBWMRF63.cjs');Object.defineProperty(exports,"meta",{enumerable:true,get:function(){return chunkVBXFZRD2_cjs.a}});
@@ -0,0 +1 @@
1
+ export{a as motion}from'./chunk-ILMWSJ5M.js';import'./chunk-7KOHYADG.js';import'./chunk-T4N6AEOZ.js';import'./chunk-ZWS2DFMD.js';
@@ -0,0 +1 @@
1
+ 'use strict';var chunkGTPEKE7O_cjs=require('./chunk-GTPEKE7O.cjs');require('./chunk-ADHR4VLZ.cjs'),require('./chunk-65MXZJBD.cjs'),require('./chunk-7AD7LRMF.cjs');Object.defineProperty(exports,"motion",{enumerable:true,get:function(){return chunkGTPEKE7O_cjs.a}});
@@ -0,0 +1 @@
1
+ 'use strict';var chunk4K5AIWZQ_cjs=require('./chunk-4K5AIWZQ.cjs');require('./chunk-ADHR4VLZ.cjs');Object.defineProperty(exports,"navType",{enumerable:true,get:function(){return chunk4K5AIWZQ_cjs.a}});
@@ -0,0 +1 @@
1
+ export{a as navType}from'./chunk-QEBTQYJZ.js';import'./chunk-7KOHYADG.js';
@@ -0,0 +1 @@
1
+ 'use strict';var chunk2OCWGQTC_cjs=require('./chunk-2OCWGQTC.cjs');require('./chunk-ADHR4VLZ.cjs');Object.defineProperty(exports,"netTypeToNumber",{enumerable:true,get:function(){return chunk2OCWGQTC_cjs.a}});Object.defineProperty(exports,"network",{enumerable:true,get:function(){return chunk2OCWGQTC_cjs.b}});
@@ -0,0 +1 @@
1
+ export{a as netTypeToNumber,b as network}from'./chunk-PIEENX4H.js';import'./chunk-7KOHYADG.js';
@@ -0,0 +1 @@
1
+ export{a as online}from'./chunk-UDXHWQBB.js';import'./chunk-ZWS2DFMD.js';
@@ -0,0 +1 @@
1
+ 'use strict';var chunkM3JZ2I3N_cjs=require('./chunk-M3JZ2I3N.cjs');require('./chunk-7AD7LRMF.cjs');Object.defineProperty(exports,"online",{enumerable:true,get:function(){return chunkM3JZ2I3N_cjs.a}});
@@ -0,0 +1 @@
1
+ 'use strict';var chunkNKC2KU7M_cjs=require('./chunk-NKC2KU7M.cjs');require('./chunk-ADHR4VLZ.cjs'),require('./chunk-65MXZJBD.cjs'),require('./chunk-7AD7LRMF.cjs');Object.defineProperty(exports,"orientation",{enumerable:true,get:function(){return chunkNKC2KU7M_cjs.a}});
@@ -0,0 +1 @@
1
+ export{a as orientation}from'./chunk-FONP6RWO.js';import'./chunk-7KOHYADG.js';import'./chunk-T4N6AEOZ.js';import'./chunk-ZWS2DFMD.js';
@@ -0,0 +1 @@
1
+ export{a as pageFocused}from'./chunk-PSGZ7K22.js';import'./chunk-ZWS2DFMD.js';
@@ -0,0 +1 @@
1
+ 'use strict';var chunkDELDE4TM_cjs=require('./chunk-DELDE4TM.cjs');require('./chunk-7AD7LRMF.cjs');Object.defineProperty(exports,"pageFocused",{enumerable:true,get:function(){return chunkDELDE4TM_cjs.a}});
@@ -0,0 +1 @@
1
+ 'use strict';var chunkIMW37LVJ_cjs=require('./chunk-IMW37LVJ.cjs');require('./chunk-7AD7LRMF.cjs');Object.defineProperty(exports,"pageVisible",{enumerable:true,get:function(){return chunkIMW37LVJ_cjs.a}});
@@ -0,0 +1 @@
1
+ export{a as pageVisible}from'./chunk-VX2YFVNN.js';import'./chunk-ZWS2DFMD.js';
package/dist/plugins.cjs CHANGED
@@ -1 +1 @@
1
- 'use strict';var chunk3QHCKCTX_cjs=require('./chunk-3QHCKCTX.cjs'),chunkSRKAOAXW_cjs=require('./chunk-SRKAOAXW.cjs'),chunk7LN34C3P_cjs=require('./chunk-7LN34C3P.cjs'),chunkKHBJUHJ6_cjs=require('./chunk-KHBJUHJ6.cjs'),chunkUALPUR2L_cjs=require('./chunk-UALPUR2L.cjs'),chunk2H5YFW6O_cjs=require('./chunk-2H5YFW6O.cjs'),chunk2YHGSLQQ_cjs=require('./chunk-2YHGSLQQ.cjs'),chunkFKBHTKZH_cjs=require('./chunk-FKBHTKZH.cjs'),chunkHYVT6V4Z_cjs=require('./chunk-HYVT6V4Z.cjs'),chunk4C255WE6_cjs=require('./chunk-4C255WE6.cjs'),chunk675RBWFU_cjs=require('./chunk-675RBWFU.cjs'),chunkXMJ6YRQB_cjs=require('./chunk-XMJ6YRQB.cjs'),chunk63C3RCO2_cjs=require('./chunk-63C3RCO2.cjs'),chunkFZYB3P7L_cjs=require('./chunk-FZYB3P7L.cjs'),chunkIIQP3BYA_cjs=require('./chunk-IIQP3BYA.cjs'),chunkQFJ6SZ2H_cjs=require('./chunk-QFJ6SZ2H.cjs');require('./chunk-L4SCOKPV.cjs');var chunkODPCQAKC_cjs=require('./chunk-ODPCQAKC.cjs'),chunk3REDV2FZ_cjs=require('./chunk-3REDV2FZ.cjs');require('./chunk-A6JDSQWH.cjs');var chunkMGZTR3X6_cjs=require('./chunk-MGZTR3X6.cjs'),chunkK2YWGXLP_cjs=require('./chunk-K2YWGXLP.cjs'),chunkRT47EE2L_cjs=require('./chunk-RT47EE2L.cjs'),chunk7CDVAP3H_cjs=require('./chunk-7CDVAP3H.cjs'),chunk6LTQ7ISE_cjs=require('./chunk-6LTQ7ISE.cjs'),chunk2OYRAOTM_cjs=require('./chunk-2OYRAOTM.cjs'),chunkXQOUJEVE_cjs=require('./chunk-XQOUJEVE.cjs'),chunkIPYBSM34_cjs=require('./chunk-IPYBSM34.cjs'),chunk5PU4B3GP_cjs=require('./chunk-5PU4B3GP.cjs');require('./chunk-DFWBYWE3.cjs'),require('./chunk-HHINWX7L.cjs'),require('./chunk-KSKAQMWJ.cjs');var chunkRVZWUZQ2_cjs=require('./chunk-RVZWUZQ2.cjs');require('./chunk-EYDIF3NM.cjs'),require('./chunk-65MXZJBD.cjs'),require('./chunk-7L35N3N3.cjs');var chunk4R63TNNO_cjs=require('./chunk-4R63TNNO.cjs'),chunkBF7D5A5Z_cjs=require('./chunk-BF7D5A5Z.cjs');require('./chunk-DRXR56P5.cjs');var chunkJI7NXES2_cjs=require('./chunk-JI7NXES2.cjs');var z=[chunkRVZWUZQ2_cjs.a,chunk4R63TNNO_cjs.a,chunkBF7D5A5Z_cjs.a,chunkJI7NXES2_cjs.a,chunkMGZTR3X6_cjs.a,chunkK2YWGXLP_cjs.a,chunkRT47EE2L_cjs.b,chunk7CDVAP3H_cjs.a,chunk6LTQ7ISE_cjs.a,chunk2OYRAOTM_cjs.a,chunkXQOUJEVE_cjs.a,chunkIPYBSM34_cjs.a,chunk675RBWFU_cjs.a,chunkXMJ6YRQB_cjs.a,chunk63C3RCO2_cjs.a,chunkFZYB3P7L_cjs.a,chunkIIQP3BYA_cjs.a,chunkQFJ6SZ2H_cjs.a,chunkODPCQAKC_cjs.a,chunk3REDV2FZ_cjs.a,chunk7LN34C3P_cjs.a,chunkKHBJUHJ6_cjs.a,chunkUALPUR2L_cjs.a,chunk2H5YFW6O_cjs.a,chunk2YHGSLQQ_cjs.a,chunkFKBHTKZH_cjs.a,chunkHYVT6V4Z_cjs.a,chunk4C255WE6_cjs.a,chunk3QHCKCTX_cjs.a,chunkSRKAOAXW_cjs.a];function ao(...o){for(let q of o.length?o:z)chunk5PU4B3GP_cjs.a(q);}Object.defineProperty(exports,"ua",{enumerable:true,get:function(){return chunk3QHCKCTX_cjs.a}});Object.defineProperty(exports,"random",{enumerable:true,get:function(){return chunkSRKAOAXW_cjs.a}});Object.defineProperty(exports,"orientation",{enumerable:true,get:function(){return chunk7LN34C3P_cjs.a}});Object.defineProperty(exports,"motion",{enumerable:true,get:function(){return chunkKHBJUHJ6_cjs.a}});Object.defineProperty(exports,"geo",{enumerable:true,get:function(){return chunkUALPUR2L_cjs.a}});Object.defineProperty(exports,"cpuPressure",{enumerable:true,get:function(){return chunk2H5YFW6O_cjs.a}});Object.defineProperty(exports,"img",{enumerable:true,get:function(){return chunk2YHGSLQQ_cjs.a}});Object.defineProperty(exports,"imgColor",{enumerable:true,get:function(){return chunkFKBHTKZH_cjs.a}});Object.defineProperty(exports,"videoColor",{enumerable:true,get:function(){return chunkHYVT6V4Z_cjs.a}});Object.defineProperty(exports,"truncated",{enumerable:true,get:function(){return chunk4C255WE6_cjs.a}});Object.defineProperty(exports,"pointer",{enumerable:true,get:function(){return chunk675RBWFU_cjs.a}});Object.defineProperty(exports,"pointerLocal",{enumerable:true,get:function(){return chunkXMJ6YRQB_cjs.a}});Object.defineProperty(exports,"media",{enumerable:true,get:function(){return chunk63C3RCO2_cjs.a}});Object.defineProperty(exports,"field",{enumerable:true,get:function(){return chunkFZYB3P7L_cjs.a}});Object.defineProperty(exports,"fieldState",{enumerable:true,get:function(){return chunkIIQP3BYA_cjs.a}});Object.defineProperty(exports,"formState",{enumerable:true,get:function(){return chunkQFJ6SZ2H_cjs.a}});Object.defineProperty(exports,"select",{enumerable:true,get:function(){return chunkODPCQAKC_cjs.a}});Object.defineProperty(exports,"colorInput",{enumerable:true,get:function(){return chunk3REDV2FZ_cjs.a}});Object.defineProperty(exports,"navType",{enumerable:true,get:function(){return chunkMGZTR3X6_cjs.a}});Object.defineProperty(exports,"meta",{enumerable:true,get:function(){return chunkK2YWGXLP_cjs.a}});Object.defineProperty(exports,"network",{enumerable:true,get:function(){return chunkRT47EE2L_cjs.b}});Object.defineProperty(exports,"battery",{enumerable:true,get:function(){return chunk7CDVAP3H_cjs.a}});Object.defineProperty(exports,"clock",{enumerable:true,get:function(){return chunk6LTQ7ISE_cjs.a}});Object.defineProperty(exports,"fps",{enumerable:true,get:function(){return chunk2OYRAOTM_cjs.a}});Object.defineProperty(exports,"visualViewport",{enumerable:true,get:function(){return chunkXQOUJEVE_cjs.a}});Object.defineProperty(exports,"keyboard",{enumerable:true,get:function(){return chunkIPYBSM34_cjs.a}});Object.defineProperty(exports,"scrollVelocity",{enumerable:true,get:function(){return chunkRVZWUZQ2_cjs.a}});Object.defineProperty(exports,"online",{enumerable:true,get:function(){return chunk4R63TNNO_cjs.a}});Object.defineProperty(exports,"pageFocused",{enumerable:true,get:function(){return chunkBF7D5A5Z_cjs.a}});Object.defineProperty(exports,"pageVisible",{enumerable:true,get:function(){return chunkJI7NXES2_cjs.a}});exports.allPlugins=z;exports.registerPlugins=ao;
1
+ 'use strict';var chunkZHPDCMOZ_cjs=require('./chunk-ZHPDCMOZ.cjs'),chunk6FYUJK4F_cjs=require('./chunk-6FYUJK4F.cjs'),chunkNKC2KU7M_cjs=require('./chunk-NKC2KU7M.cjs'),chunkGTPEKE7O_cjs=require('./chunk-GTPEKE7O.cjs'),chunk7GUGSNG2_cjs=require('./chunk-7GUGSNG2.cjs'),chunkALOGYFNP_cjs=require('./chunk-ALOGYFNP.cjs'),chunkR7KDUB7L_cjs=require('./chunk-R7KDUB7L.cjs'),chunk5JG4K6SH_cjs=require('./chunk-5JG4K6SH.cjs'),chunk6LH6U5QE_cjs=require('./chunk-6LH6U5QE.cjs'),chunkPSEAYJTX_cjs=require('./chunk-PSEAYJTX.cjs'),chunkYGON2MF3_cjs=require('./chunk-YGON2MF3.cjs'),chunkPMDPLPCX_cjs=require('./chunk-PMDPLPCX.cjs'),chunkQUY6BC6A_cjs=require('./chunk-QUY6BC6A.cjs'),chunk64VOCEUQ_cjs=require('./chunk-64VOCEUQ.cjs'),chunkG3KQEE4R_cjs=require('./chunk-G3KQEE4R.cjs'),chunkH5ZFJCDA_cjs=require('./chunk-H5ZFJCDA.cjs');require('./chunk-L4SCOKPV.cjs');var chunk3EI2VHWK_cjs=require('./chunk-3EI2VHWK.cjs'),chunkXKZFDAK7_cjs=require('./chunk-XKZFDAK7.cjs');require('./chunk-A6JDSQWH.cjs');var chunk4K5AIWZQ_cjs=require('./chunk-4K5AIWZQ.cjs'),chunkVBXFZRD2_cjs=require('./chunk-VBXFZRD2.cjs'),chunk2OCWGQTC_cjs=require('./chunk-2OCWGQTC.cjs'),chunkDUKZ35AN_cjs=require('./chunk-DUKZ35AN.cjs'),chunk6LTQ7ISE_cjs=require('./chunk-6LTQ7ISE.cjs'),chunk2OYRAOTM_cjs=require('./chunk-2OYRAOTM.cjs'),chunkII5RRRIW_cjs=require('./chunk-II5RRRIW.cjs'),chunkBYFXKRGA_cjs=require('./chunk-BYFXKRGA.cjs'),chunkJMSQWVGJ_cjs=require('./chunk-JMSQWVGJ.cjs');require('./chunk-NAJLRXKX.cjs'),require('./chunk-HHINWX7L.cjs'),require('./chunk-ADHR4VLZ.cjs'),require('./chunk-34XDO4K2.cjs'),require('./chunk-CBWMRF63.cjs');var chunkO3KW7BD7_cjs=require('./chunk-O3KW7BD7.cjs');require('./chunk-EYDIF3NM.cjs'),require('./chunk-65MXZJBD.cjs'),require('./chunk-7L35N3N3.cjs');var chunkM3JZ2I3N_cjs=require('./chunk-M3JZ2I3N.cjs'),chunkDELDE4TM_cjs=require('./chunk-DELDE4TM.cjs'),chunkIMW37LVJ_cjs=require('./chunk-IMW37LVJ.cjs');require('./chunk-7AD7LRMF.cjs');var z=[chunkO3KW7BD7_cjs.a,chunkM3JZ2I3N_cjs.a,chunkDELDE4TM_cjs.a,chunkIMW37LVJ_cjs.a,chunk4K5AIWZQ_cjs.a,chunkVBXFZRD2_cjs.a,chunk2OCWGQTC_cjs.b,chunkDUKZ35AN_cjs.a,chunk6LTQ7ISE_cjs.a,chunk2OYRAOTM_cjs.a,chunkII5RRRIW_cjs.a,chunkBYFXKRGA_cjs.a,chunkYGON2MF3_cjs.a,chunkPMDPLPCX_cjs.a,chunkQUY6BC6A_cjs.a,chunk64VOCEUQ_cjs.a,chunkG3KQEE4R_cjs.a,chunkH5ZFJCDA_cjs.a,chunk3EI2VHWK_cjs.a,chunkXKZFDAK7_cjs.a,chunkNKC2KU7M_cjs.a,chunkGTPEKE7O_cjs.a,chunk7GUGSNG2_cjs.a,chunkALOGYFNP_cjs.a,chunkR7KDUB7L_cjs.a,chunk5JG4K6SH_cjs.a,chunk6LH6U5QE_cjs.a,chunkPSEAYJTX_cjs.a,chunkZHPDCMOZ_cjs.a,chunk6FYUJK4F_cjs.a];function ao(...o){for(let q of o.length?o:z)chunkJMSQWVGJ_cjs.a(q);}Object.defineProperty(exports,"ua",{enumerable:true,get:function(){return chunkZHPDCMOZ_cjs.a}});Object.defineProperty(exports,"random",{enumerable:true,get:function(){return chunk6FYUJK4F_cjs.a}});Object.defineProperty(exports,"orientation",{enumerable:true,get:function(){return chunkNKC2KU7M_cjs.a}});Object.defineProperty(exports,"motion",{enumerable:true,get:function(){return chunkGTPEKE7O_cjs.a}});Object.defineProperty(exports,"geo",{enumerable:true,get:function(){return chunk7GUGSNG2_cjs.a}});Object.defineProperty(exports,"cpuPressure",{enumerable:true,get:function(){return chunkALOGYFNP_cjs.a}});Object.defineProperty(exports,"img",{enumerable:true,get:function(){return chunkR7KDUB7L_cjs.a}});Object.defineProperty(exports,"imgColor",{enumerable:true,get:function(){return chunk5JG4K6SH_cjs.a}});Object.defineProperty(exports,"videoColor",{enumerable:true,get:function(){return chunk6LH6U5QE_cjs.a}});Object.defineProperty(exports,"truncated",{enumerable:true,get:function(){return chunkPSEAYJTX_cjs.a}});Object.defineProperty(exports,"pointer",{enumerable:true,get:function(){return chunkYGON2MF3_cjs.a}});Object.defineProperty(exports,"pointerLocal",{enumerable:true,get:function(){return chunkPMDPLPCX_cjs.a}});Object.defineProperty(exports,"media",{enumerable:true,get:function(){return chunkQUY6BC6A_cjs.a}});Object.defineProperty(exports,"field",{enumerable:true,get:function(){return chunk64VOCEUQ_cjs.a}});Object.defineProperty(exports,"fieldState",{enumerable:true,get:function(){return chunkG3KQEE4R_cjs.a}});Object.defineProperty(exports,"formState",{enumerable:true,get:function(){return chunkH5ZFJCDA_cjs.a}});Object.defineProperty(exports,"select",{enumerable:true,get:function(){return chunk3EI2VHWK_cjs.a}});Object.defineProperty(exports,"colorInput",{enumerable:true,get:function(){return chunkXKZFDAK7_cjs.a}});Object.defineProperty(exports,"navType",{enumerable:true,get:function(){return chunk4K5AIWZQ_cjs.a}});Object.defineProperty(exports,"meta",{enumerable:true,get:function(){return chunkVBXFZRD2_cjs.a}});Object.defineProperty(exports,"network",{enumerable:true,get:function(){return chunk2OCWGQTC_cjs.b}});Object.defineProperty(exports,"battery",{enumerable:true,get:function(){return chunkDUKZ35AN_cjs.a}});Object.defineProperty(exports,"clock",{enumerable:true,get:function(){return chunk6LTQ7ISE_cjs.a}});Object.defineProperty(exports,"fps",{enumerable:true,get:function(){return chunk2OYRAOTM_cjs.a}});Object.defineProperty(exports,"visualViewport",{enumerable:true,get:function(){return chunkII5RRRIW_cjs.a}});Object.defineProperty(exports,"keyboard",{enumerable:true,get:function(){return chunkBYFXKRGA_cjs.a}});Object.defineProperty(exports,"scrollVelocity",{enumerable:true,get:function(){return chunkO3KW7BD7_cjs.a}});Object.defineProperty(exports,"online",{enumerable:true,get:function(){return chunkM3JZ2I3N_cjs.a}});Object.defineProperty(exports,"pageFocused",{enumerable:true,get:function(){return chunkDELDE4TM_cjs.a}});Object.defineProperty(exports,"pageVisible",{enumerable:true,get:function(){return chunkIMW37LVJ_cjs.a}});exports.allPlugins=z;exports.registerPlugins=ao;
@@ -1,4 +1,4 @@
1
- import { S as Source } from './types-CyGIcLOq.cjs';
1
+ import { S as Source } from './types-D8ZUfj4U.cjs';
2
2
 
3
3
  /**
4
4
  * `--live-scroll-velocity` (signed px/frame, decays toward 0 when idle),
@@ -33,6 +33,11 @@ declare const pageFocused: Source;
33
33
  * that should pause when truly hidden — video, polling, expensive effects — where
34
34
  * focus gates the things that react to "is the user looking here right now."
35
35
  * Driven by `visibilitychange`, seeded from `document.visibilityState`.
36
+ *
37
+ * The `0` is real but never *paints*: the shared frame loop freezes on the same
38
+ * `visibilitychange` (nothing can be shown to a hidden tab), so the queued `0` is
39
+ * coalesced away by the `1` on return. Read it in JS, or use it to hold state
40
+ * across a hide — don't expect CSS to render a hidden state.
36
41
  */
37
42
  declare const pageVisible: Source;
38
43
 
@@ -79,6 +84,11 @@ declare const navType: Source;
79
84
  * at bind on the `const` cadence (these don't change), so meta tags a framework
80
85
  * swaps in *after* bind aren't tracked; for a value needed before first paint,
81
86
  * read it in a `<head>` script instead. Global source — bind once.
87
+ *
88
+ * These names are discovered at runtime, so the source can't declare `props` for
89
+ * them and they stay **untyped** even under `configure({ typed: true })` — which
90
+ * is what keeps the values intact, since the `<number>` default would reject a
91
+ * colour or a URL and compute it to `0`.
82
92
  */
83
93
  declare const meta: Source;
84
94
 
@@ -122,9 +132,16 @@ declare const pointer: Source;
122
132
  * `--live-local-pointer-x-ratio`, `--live-local-pointer-y-ratio` (0–1 within the
123
133
  * element's box), `--live-local-pointer-inside` (0/1).
124
134
  *
125
- * Shares the page's single `pointermove` listener. The rect is read per move
126
- * (cheap when layout is clean) so it stays correct through layout shifts, which
127
- * a cached rect would miss.
135
+ * Shares the page's single `pointermove` listener, but reads the element's rect
136
+ * on **every move** so it stays correct through layout shifts, which a cached
137
+ * rect would miss. That's one `getBoundingClientRect` per bound element per
138
+ * move — cheap when layout is clean, but bind it to the few elements that need
139
+ * it rather than to every card in a grid.
140
+ *
141
+ * Seeded to zeros so all three properties resolve on frame one. Until the first
142
+ * move the ratios are meaningless, so gate on `--live-local-pointer-inside`
143
+ * (`0` until the pointer is actually over the element) rather than assuming the
144
+ * pointer starts in the top-left corner.
128
145
  */
129
146
  declare const pointerLocal: Source;
130
147
 
@@ -221,8 +238,10 @@ declare const formState: Source;
221
238
  * list (`0` for a one-option list or nothing selected).
222
239
  * - `--live-value-num` — `Number(value)` *when the chosen value is numeric*, so a
223
240
  * choice's meaning drives layout directly:
224
- * `grid-template-columns: repeat(var(--live-value-num), 1fr)`. Not written for a
225
- * non-numeric value — keep a `var(--live-value-num, …)` fallback.
241
+ * `grid-template-columns: repeat(var(--live-value-num), 1fr)`. Removed again
242
+ * whenever the selected value isn't numeric so keep a
243
+ * `var(--live-value-num, …)` fallback; it applies both before the first
244
+ * numeric pick and after a non-numeric one.
226
245
  * - `--live-selected-count` — how many options are selected (the count CSS can't
227
246
  * compute: `:checked` matches them, nothing tallies them). `1`/`0` for a single
228
247
  * select; `0`…N for `<select multiple>`.
@@ -252,14 +271,16 @@ declare const colorInput: Source;
252
271
  /**
253
272
  * `--live-orient-alpha`, `--live-orient-beta`, `--live-orient-gamma` (degrees)
254
273
  * from `deviceorientation`. Requires a user-gesture permission grant on some
255
- * platforms (notably iOS).
274
+ * platforms (notably iOS). Seeded to zeros (flat) so the properties resolve on
275
+ * frame one, whether or not a grant ever arrives.
256
276
  */
257
277
  declare const orientation: Source;
258
278
 
259
279
  /**
260
280
  * `--live-accel-x`, `--live-accel-y`, `--live-accel-z` (m/s², gravity included)
261
281
  * from `devicemotion`. Requires a user-gesture permission grant on some
262
- * platforms (notably iOS).
282
+ * platforms (notably iOS). Seeded to zeros (at rest) so the properties resolve
283
+ * on frame one, whether or not a grant ever arrives.
263
284
  */
264
285
  declare const motion: Source;
265
286
 
@@ -364,6 +385,14 @@ declare const videoColor: Source;
364
385
  * have it disappear the moment a wider box fits the text. Recomputed whenever the
365
386
  * box resizes (the shared `ResizeObserver`), so responsive truncation flips both
366
387
  * ways as the layout reflows.
388
+ *
389
+ * Two false negatives to know about, both from what it measures:
390
+ *
391
+ * - `scrollWidth` / `clientWidth` are **integer-rounded**, so a sub-pixel
392
+ * overflow can show an ellipsis while these still read equal.
393
+ * - It's driven by *resize*, so replacing the text inside a fixed-size box
394
+ * doesn't re-measure — a `ResizeObserver` sees no size change. Rebind (or
395
+ * nudge the box) after swapping content.
367
396
  */
368
397
  declare const truncated: Source;
369
398
 
package/dist/plugins.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { S as Source } from './types-CyGIcLOq.js';
1
+ import { S as Source } from './types-D8ZUfj4U.js';
2
2
 
3
3
  /**
4
4
  * `--live-scroll-velocity` (signed px/frame, decays toward 0 when idle),
@@ -33,6 +33,11 @@ declare const pageFocused: Source;
33
33
  * that should pause when truly hidden — video, polling, expensive effects — where
34
34
  * focus gates the things that react to "is the user looking here right now."
35
35
  * Driven by `visibilitychange`, seeded from `document.visibilityState`.
36
+ *
37
+ * The `0` is real but never *paints*: the shared frame loop freezes on the same
38
+ * `visibilitychange` (nothing can be shown to a hidden tab), so the queued `0` is
39
+ * coalesced away by the `1` on return. Read it in JS, or use it to hold state
40
+ * across a hide — don't expect CSS to render a hidden state.
36
41
  */
37
42
  declare const pageVisible: Source;
38
43
 
@@ -79,6 +84,11 @@ declare const navType: Source;
79
84
  * at bind on the `const` cadence (these don't change), so meta tags a framework
80
85
  * swaps in *after* bind aren't tracked; for a value needed before first paint,
81
86
  * read it in a `<head>` script instead. Global source — bind once.
87
+ *
88
+ * These names are discovered at runtime, so the source can't declare `props` for
89
+ * them and they stay **untyped** even under `configure({ typed: true })` — which
90
+ * is what keeps the values intact, since the `<number>` default would reject a
91
+ * colour or a URL and compute it to `0`.
82
92
  */
83
93
  declare const meta: Source;
84
94
 
@@ -122,9 +132,16 @@ declare const pointer: Source;
122
132
  * `--live-local-pointer-x-ratio`, `--live-local-pointer-y-ratio` (0–1 within the
123
133
  * element's box), `--live-local-pointer-inside` (0/1).
124
134
  *
125
- * Shares the page's single `pointermove` listener. The rect is read per move
126
- * (cheap when layout is clean) so it stays correct through layout shifts, which
127
- * a cached rect would miss.
135
+ * Shares the page's single `pointermove` listener, but reads the element's rect
136
+ * on **every move** so it stays correct through layout shifts, which a cached
137
+ * rect would miss. That's one `getBoundingClientRect` per bound element per
138
+ * move — cheap when layout is clean, but bind it to the few elements that need
139
+ * it rather than to every card in a grid.
140
+ *
141
+ * Seeded to zeros so all three properties resolve on frame one. Until the first
142
+ * move the ratios are meaningless, so gate on `--live-local-pointer-inside`
143
+ * (`0` until the pointer is actually over the element) rather than assuming the
144
+ * pointer starts in the top-left corner.
128
145
  */
129
146
  declare const pointerLocal: Source;
130
147
 
@@ -221,8 +238,10 @@ declare const formState: Source;
221
238
  * list (`0` for a one-option list or nothing selected).
222
239
  * - `--live-value-num` — `Number(value)` *when the chosen value is numeric*, so a
223
240
  * choice's meaning drives layout directly:
224
- * `grid-template-columns: repeat(var(--live-value-num), 1fr)`. Not written for a
225
- * non-numeric value — keep a `var(--live-value-num, …)` fallback.
241
+ * `grid-template-columns: repeat(var(--live-value-num), 1fr)`. Removed again
242
+ * whenever the selected value isn't numeric so keep a
243
+ * `var(--live-value-num, …)` fallback; it applies both before the first
244
+ * numeric pick and after a non-numeric one.
226
245
  * - `--live-selected-count` — how many options are selected (the count CSS can't
227
246
  * compute: `:checked` matches them, nothing tallies them). `1`/`0` for a single
228
247
  * select; `0`…N for `<select multiple>`.
@@ -252,14 +271,16 @@ declare const colorInput: Source;
252
271
  /**
253
272
  * `--live-orient-alpha`, `--live-orient-beta`, `--live-orient-gamma` (degrees)
254
273
  * from `deviceorientation`. Requires a user-gesture permission grant on some
255
- * platforms (notably iOS).
274
+ * platforms (notably iOS). Seeded to zeros (flat) so the properties resolve on
275
+ * frame one, whether or not a grant ever arrives.
256
276
  */
257
277
  declare const orientation: Source;
258
278
 
259
279
  /**
260
280
  * `--live-accel-x`, `--live-accel-y`, `--live-accel-z` (m/s², gravity included)
261
281
  * from `devicemotion`. Requires a user-gesture permission grant on some
262
- * platforms (notably iOS).
282
+ * platforms (notably iOS). Seeded to zeros (at rest) so the properties resolve
283
+ * on frame one, whether or not a grant ever arrives.
263
284
  */
264
285
  declare const motion: Source;
265
286
 
@@ -364,6 +385,14 @@ declare const videoColor: Source;
364
385
  * have it disappear the moment a wider box fits the text. Recomputed whenever the
365
386
  * box resizes (the shared `ResizeObserver`), so responsive truncation flips both
366
387
  * ways as the layout reflows.
388
+ *
389
+ * Two false negatives to know about, both from what it measures:
390
+ *
391
+ * - `scrollWidth` / `clientWidth` are **integer-rounded**, so a sub-pixel
392
+ * overflow can show an ellipsis while these still read equal.
393
+ * - It's driven by *resize*, so replacing the text inside a fixed-size box
394
+ * doesn't re-measure — a `ResizeObserver` sees no size change. Rebind (or
395
+ * nudge the box) after swapping content.
367
396
  */
368
397
  declare const truncated: Source;
369
398
 
package/dist/plugins.js CHANGED
@@ -1 +1 @@
1
- import {a as a$r}from'./chunk-5VXDAWUI.js';export{a as ua}from'./chunk-5VXDAWUI.js';import {a as a$s}from'./chunk-HFE2X32G.js';export{a as random}from'./chunk-HFE2X32G.js';import {a as a$j}from'./chunk-N745RQIX.js';export{a as orientation}from'./chunk-N745RQIX.js';import {a as a$k}from'./chunk-HTO57OQP.js';export{a as motion}from'./chunk-HTO57OQP.js';import {a as a$l}from'./chunk-FOHEZJHF.js';export{a as geo}from'./chunk-FOHEZJHF.js';import {a as a$m}from'./chunk-5JZBLUQK.js';export{a as cpuPressure}from'./chunk-5JZBLUQK.js';import {a as a$n}from'./chunk-YARRV66T.js';export{a as img}from'./chunk-YARRV66T.js';import {a as a$o}from'./chunk-A7GWTDM7.js';export{a as imgColor}from'./chunk-A7GWTDM7.js';import {a as a$p}from'./chunk-ZQTU5EW7.js';export{a as videoColor}from'./chunk-ZQTU5EW7.js';import {a as a$q}from'./chunk-KDIZYBPJ.js';export{a as truncated}from'./chunk-KDIZYBPJ.js';import {a as a$b}from'./chunk-6M2UIJI5.js';export{a as pointer}from'./chunk-6M2UIJI5.js';import {a as a$c}from'./chunk-TL5BJFFL.js';export{a as pointerLocal}from'./chunk-TL5BJFFL.js';import {a as a$d}from'./chunk-UHGW7AXC.js';export{a as media}from'./chunk-UHGW7AXC.js';import {a as a$e}from'./chunk-COGNT6R5.js';export{a as field}from'./chunk-COGNT6R5.js';import {a as a$f}from'./chunk-BTKSOVH3.js';export{a as fieldState}from'./chunk-BTKSOVH3.js';import {a as a$g}from'./chunk-LBK3257B.js';export{a as formState}from'./chunk-LBK3257B.js';import'./chunk-QIUPJ6MF.js';import {a as a$h}from'./chunk-M65LNJXV.js';export{a as select}from'./chunk-M65LNJXV.js';import {a as a$i}from'./chunk-QTM2FDUV.js';export{a as colorInput}from'./chunk-QTM2FDUV.js';import'./chunk-A2ETARW3.js';import {a as a$4}from'./chunk-H7X35UB4.js';export{a as navType}from'./chunk-H7X35UB4.js';import {a as a$5}from'./chunk-TEPMM5DH.js';export{a as meta}from'./chunk-TEPMM5DH.js';import {b}from'./chunk-JB72QLD6.js';export{b as network}from'./chunk-JB72QLD6.js';import {a as a$6}from'./chunk-DQJQEWPS.js';export{a as battery}from'./chunk-DQJQEWPS.js';import {a as a$7}from'./chunk-7U544OAJ.js';export{a as clock}from'./chunk-7U544OAJ.js';import {a as a$8}from'./chunk-M7FMWTDF.js';export{a as fps}from'./chunk-M7FMWTDF.js';import {a as a$9}from'./chunk-F5H2O3AR.js';export{a as visualViewport}from'./chunk-F5H2O3AR.js';import {a as a$a}from'./chunk-IVUTABRM.js';export{a as keyboard}from'./chunk-IVUTABRM.js';import {a as a$t}from'./chunk-N3F2LRDI.js';import'./chunk-6234NJTF.js';import'./chunk-LTJ2VKVY.js';import'./chunk-EXPE3C6O.js';import {a}from'./chunk-PS7KTHW4.js';export{a as scrollVelocity}from'./chunk-PS7KTHW4.js';import'./chunk-KG3EF456.js';import'./chunk-T4N6AEOZ.js';import'./chunk-LWKH66VY.js';import {a as a$1}from'./chunk-2SIGTGQE.js';export{a as online}from'./chunk-2SIGTGQE.js';import {a as a$2}from'./chunk-2NMXY7T4.js';export{a as pageFocused}from'./chunk-2NMXY7T4.js';import'./chunk-7KEBMJ3O.js';import {a as a$3}from'./chunk-IFIWYBMP.js';export{a as pageVisible}from'./chunk-IFIWYBMP.js';var z=[a,a$1,a$2,a$3,a$4,a$5,b,a$6,a$7,a$8,a$9,a$a,a$b,a$c,a$d,a$e,a$f,a$g,a$h,a$i,a$j,a$k,a$l,a$m,a$n,a$o,a$p,a$q,a$r,a$s];function ao(...o){for(let q of o.length?o:z)a$t(q);}export{z as allPlugins,ao as registerPlugins};
1
+ import {a as a$r}from'./chunk-2TNXW2VV.js';export{a as ua}from'./chunk-2TNXW2VV.js';import {a as a$s}from'./chunk-NHEC6UK5.js';export{a as random}from'./chunk-NHEC6UK5.js';import {a as a$j}from'./chunk-FONP6RWO.js';export{a as orientation}from'./chunk-FONP6RWO.js';import {a as a$k}from'./chunk-ILMWSJ5M.js';export{a as motion}from'./chunk-ILMWSJ5M.js';import {a as a$l}from'./chunk-7HKSU2EV.js';export{a as geo}from'./chunk-7HKSU2EV.js';import {a as a$m}from'./chunk-WCZLSJ2Z.js';export{a as cpuPressure}from'./chunk-WCZLSJ2Z.js';import {a as a$n}from'./chunk-KOELKEUS.js';export{a as img}from'./chunk-KOELKEUS.js';import {a as a$o}from'./chunk-7OBG2QQ6.js';export{a as imgColor}from'./chunk-7OBG2QQ6.js';import {a as a$p}from'./chunk-A3CLHLE4.js';export{a as videoColor}from'./chunk-A3CLHLE4.js';import {a as a$q}from'./chunk-AGUPRRD4.js';export{a as truncated}from'./chunk-AGUPRRD4.js';import {a as a$b}from'./chunk-SQIQ6W3B.js';export{a as pointer}from'./chunk-SQIQ6W3B.js';import {a as a$c}from'./chunk-HA25PYSI.js';export{a as pointerLocal}from'./chunk-HA25PYSI.js';import {a as a$d}from'./chunk-QEFUAIXU.js';export{a as media}from'./chunk-QEFUAIXU.js';import {a as a$e}from'./chunk-4IEDDWUY.js';export{a as field}from'./chunk-4IEDDWUY.js';import {a as a$f}from'./chunk-2RNFSOS6.js';export{a as fieldState}from'./chunk-2RNFSOS6.js';import {a as a$g}from'./chunk-BKB5HQTJ.js';export{a as formState}from'./chunk-BKB5HQTJ.js';import'./chunk-QIUPJ6MF.js';import {a as a$h}from'./chunk-VEIGSGIP.js';export{a as select}from'./chunk-VEIGSGIP.js';import {a as a$i}from'./chunk-4WSASU6P.js';export{a as colorInput}from'./chunk-4WSASU6P.js';import'./chunk-A2ETARW3.js';import {a as a$4}from'./chunk-QEBTQYJZ.js';export{a as navType}from'./chunk-QEBTQYJZ.js';import {a as a$5}from'./chunk-D2T22ZDL.js';export{a as meta}from'./chunk-D2T22ZDL.js';import {b}from'./chunk-PIEENX4H.js';export{b as network}from'./chunk-PIEENX4H.js';import {a as a$6}from'./chunk-DGJ45NBZ.js';export{a as battery}from'./chunk-DGJ45NBZ.js';import {a as a$7}from'./chunk-7U544OAJ.js';export{a as clock}from'./chunk-7U544OAJ.js';import {a as a$8}from'./chunk-M7FMWTDF.js';export{a as fps}from'./chunk-M7FMWTDF.js';import {a as a$9}from'./chunk-23TUV6HD.js';export{a as visualViewport}from'./chunk-23TUV6HD.js';import {a as a$a}from'./chunk-4H6UVYDJ.js';export{a as keyboard}from'./chunk-4H6UVYDJ.js';import {a as a$t}from'./chunk-CXXDGS7S.js';import'./chunk-AQV7LL54.js';import'./chunk-LTJ2VKVY.js';import'./chunk-7KOHYADG.js';import'./chunk-SHR2C4QU.js';import'./chunk-PFCCKKAU.js';import {a}from'./chunk-NJ4Z3SAN.js';export{a as scrollVelocity}from'./chunk-NJ4Z3SAN.js';import'./chunk-KG3EF456.js';import'./chunk-T4N6AEOZ.js';import'./chunk-LWKH66VY.js';import {a as a$1}from'./chunk-UDXHWQBB.js';export{a as online}from'./chunk-UDXHWQBB.js';import {a as a$2}from'./chunk-PSGZ7K22.js';export{a as pageFocused}from'./chunk-PSGZ7K22.js';import {a as a$3}from'./chunk-VX2YFVNN.js';export{a as pageVisible}from'./chunk-VX2YFVNN.js';import'./chunk-ZWS2DFMD.js';var z=[a,a$1,a$2,a$3,a$4,a$5,b,a$6,a$7,a$8,a$9,a$a,a$b,a$c,a$d,a$e,a$f,a$g,a$h,a$i,a$j,a$k,a$l,a$m,a$n,a$o,a$p,a$q,a$r,a$s];function ao(...o){for(let q of o.length?o:z)a$t(q);}export{z as allPlugins,ao as registerPlugins};
@@ -0,0 +1 @@
1
+ 'use strict';var chunkYGON2MF3_cjs=require('./chunk-YGON2MF3.cjs');require('./chunk-65MXZJBD.cjs'),require('./chunk-7AD7LRMF.cjs');Object.defineProperty(exports,"pointer",{enumerable:true,get:function(){return chunkYGON2MF3_cjs.a}});
@@ -0,0 +1 @@
1
+ export{a as pointer}from'./chunk-SQIQ6W3B.js';import'./chunk-T4N6AEOZ.js';import'./chunk-ZWS2DFMD.js';
@@ -0,0 +1 @@
1
+ export{a as pointerLocal}from'./chunk-HA25PYSI.js';import'./chunk-T4N6AEOZ.js';import'./chunk-ZWS2DFMD.js';
@@ -0,0 +1 @@
1
+ 'use strict';var chunkPMDPLPCX_cjs=require('./chunk-PMDPLPCX.cjs');require('./chunk-65MXZJBD.cjs'),require('./chunk-7AD7LRMF.cjs');Object.defineProperty(exports,"pointerLocal",{enumerable:true,get:function(){return chunkPMDPLPCX_cjs.a}});
@@ -0,0 +1 @@
1
+ 'use strict';var chunk6FYUJK4F_cjs=require('./chunk-6FYUJK4F.cjs');require('./chunk-ADHR4VLZ.cjs'),require('./chunk-65MXZJBD.cjs');Object.defineProperty(exports,"random",{enumerable:true,get:function(){return chunk6FYUJK4F_cjs.a}});
@@ -0,0 +1 @@
1
+ export{a as random}from'./chunk-NHEC6UK5.js';import'./chunk-7KOHYADG.js';import'./chunk-T4N6AEOZ.js';
@@ -0,0 +1 @@
1
+ export{a as scrollVelocity}from'./chunk-NJ4Z3SAN.js';import'./chunk-KG3EF456.js';import'./chunk-T4N6AEOZ.js';import'./chunk-LWKH66VY.js';import'./chunk-ZWS2DFMD.js';
@@ -0,0 +1 @@
1
+ 'use strict';var chunkO3KW7BD7_cjs=require('./chunk-O3KW7BD7.cjs');require('./chunk-EYDIF3NM.cjs'),require('./chunk-65MXZJBD.cjs'),require('./chunk-7L35N3N3.cjs'),require('./chunk-7AD7LRMF.cjs');Object.defineProperty(exports,"scrollVelocity",{enumerable:true,get:function(){return chunkO3KW7BD7_cjs.a}});
@@ -0,0 +1 @@
1
+ export{a as select}from'./chunk-VEIGSGIP.js';import'./chunk-LTJ2VKVY.js';import'./chunk-7KOHYADG.js';import'./chunk-T4N6AEOZ.js';import'./chunk-ZWS2DFMD.js';
@@ -0,0 +1 @@
1
+ 'use strict';var chunk3EI2VHWK_cjs=require('./chunk-3EI2VHWK.cjs');require('./chunk-HHINWX7L.cjs'),require('./chunk-ADHR4VLZ.cjs'),require('./chunk-65MXZJBD.cjs'),require('./chunk-7AD7LRMF.cjs');Object.defineProperty(exports,"select",{enumerable:true,get:function(){return chunk3EI2VHWK_cjs.a}});
@@ -0,0 +1 @@
1
+ export{a as truncated}from'./chunk-AGUPRRD4.js';import'./chunk-AQV7LL54.js';
@@ -0,0 +1 @@
1
+ 'use strict';var chunkPSEAYJTX_cjs=require('./chunk-PSEAYJTX.cjs');require('./chunk-NAJLRXKX.cjs');Object.defineProperty(exports,"truncated",{enumerable:true,get:function(){return chunkPSEAYJTX_cjs.a}});
@@ -6,13 +6,25 @@ interface Config {
6
6
  livePrefix: string;
7
7
  /** Prefix for write-once constants. */
8
8
  constPrefix: string;
9
- /** Where global sources write. */
9
+ /**
10
+ * Where global sources write. Typed non-nullable for consumers' sake, but it
11
+ * really is `undefined` without a document — the internals guard it, and so
12
+ * should a custom source that reads it (`ctx.config.root`) outside the browser.
13
+ */
10
14
  root: HTMLElement;
11
15
  /**
12
- * When true, written `--live-*` properties are registered with `@property`
16
+ * When true, written properties are registered with `@property`
13
17
  * (via `CSS.registerProperty`) as typed, interpolatable custom properties with
14
- * a guaranteed initial value. Opt in with `configure({ typed: true })` before
15
- * attaching sources. Off by default.
18
+ * a guaranteed initial value. Applies to both cadences `--const-*` values
19
+ * are registered too, which is what lets string constants like `--const-ua-*`
20
+ * survive typing. Opt in with `configure({ typed: true })` before attaching
21
+ * sources. Off by default.
22
+ *
23
+ * A source's **string** values are only registered when the source declares a
24
+ * `props` entry for them (`ua`, `nav-type`, `color-input`, the colour
25
+ * plugins). Undeclared strings are left untyped rather than registered as the
26
+ * `<number>` default, which would reject the value and compute to `0` — see
27
+ * `meta`, whose property names are discovered at runtime.
16
28
  */
17
29
  typed: boolean;
18
30
  /**
@@ -56,6 +68,12 @@ interface SourceContext {
56
68
  /**
57
69
  * Queue a value for the next batched flush. `localName` is prefixed by cadence
58
70
  * (e.g. `write('pointer-x', 12)` → `--live-pointer-x: 12`).
71
+ *
72
+ * Writing the **empty string** removes the property, so a value that stops
73
+ * being meaningful (a `<select>` whose new option isn't numeric) falls back to
74
+ * the consumer's `var(--live-x, …)` again instead of going stale. Under
75
+ * `typed: true` a removed property computes to its registered initial value
76
+ * rather than the `var()` fallback.
59
77
  */
60
78
  write(localName: string, value: number | string, cadence?: Cadence): void;
61
79
  }