@buoy-gg/floating-tools-core 7.0.41 → 7.0.43

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 (391) hide show
  1. package/floating.js +1 -1
  2. package/lib/commonjs/FloatingToolsStore.js +1 -512
  3. package/lib/commonjs/colors.js +1 -54
  4. package/lib/commonjs/constants.js +1 -31
  5. package/lib/commonjs/devToolsState.js +1 -325
  6. package/lib/commonjs/dial.js +11 -633
  7. package/lib/commonjs/dialUsage.js +1 -130
  8. package/lib/commonjs/easing.js +1 -69
  9. package/lib/commonjs/floating.js +1 -75
  10. package/lib/commonjs/fonts.js +1 -31
  11. package/lib/commonjs/fonts.web.js +1 -8
  12. package/lib/commonjs/icons/ask-buoy-icon.js +1 -17
  13. package/lib/commonjs/icons/ask-buoy-icon.native.js +1 -33
  14. package/lib/commonjs/icons/assets-icon.js +1 -19
  15. package/lib/commonjs/icons/assets-icon.native.js +1 -17
  16. package/lib/commonjs/icons/benchmark-icon.js +1 -19
  17. package/lib/commonjs/icons/benchmark-icon.native.js +1 -17
  18. package/lib/commonjs/icons/bif-raster-icon.js +1 -49
  19. package/lib/commonjs/icons/bif-raster-icon.native.js +1 -48
  20. package/lib/commonjs/icons/camera-icon.js +1 -19
  21. package/lib/commonjs/icons/camera-icon.native.js +1 -17
  22. package/lib/commonjs/icons/clock-tool-icon.js +1 -0
  23. package/lib/commonjs/icons/console-icon.js +1 -17
  24. package/lib/commonjs/icons/console-icon.native.js +1 -33
  25. package/lib/commonjs/icons/env-icon.js +1 -19
  26. package/lib/commonjs/icons/env-icon.native.js +1 -17
  27. package/lib/commonjs/icons/events-icon.js +1 -19
  28. package/lib/commonjs/icons/events-icon.native.js +1 -17
  29. package/lib/commonjs/icons/generated/assets-raster.g.js +1 -8
  30. package/lib/commonjs/icons/generated/benchmark-raster.g.js +1 -8
  31. package/lib/commonjs/icons/generated/camera-raster.g.js +1 -8
  32. package/lib/commonjs/icons/generated/env-raster.g.js +1 -8
  33. package/lib/commonjs/icons/generated/events-raster.g.js +1 -8
  34. package/lib/commonjs/icons/generated/glyph-icons.g.js +1 -299
  35. package/lib/commonjs/icons/generated/highlight-raster.g.js +1 -8
  36. package/lib/commonjs/icons/generated/highlighter-raster.g.js +1 -8
  37. package/lib/commonjs/icons/generated/icon-data.g.js +1 -33922
  38. package/lib/commonjs/icons/generated/image-overlay-raster.g.js +1 -8
  39. package/lib/commonjs/icons/generated/images-raster.g.js +1 -8
  40. package/lib/commonjs/icons/generated/network-raster.g.js +1 -8
  41. package/lib/commonjs/icons/generated/raster-icons.g.js +1 -19
  42. package/lib/commonjs/icons/generated/riverpod-raster.g.js +1 -8
  43. package/lib/commonjs/icons/generated/routes-raster.g.js +1 -8
  44. package/lib/commonjs/icons/generated/settings-raster.g.js +1 -8
  45. package/lib/commonjs/icons/generated/storage-raster.g.js +1 -8
  46. package/lib/commonjs/icons/generated/wifi-raster.g.js +1 -8
  47. package/lib/commonjs/icons/highlight-icon.js +1 -19
  48. package/lib/commonjs/icons/highlight-icon.native.js +1 -17
  49. package/lib/commonjs/icons/highlighter-icon.js +1 -27
  50. package/lib/commonjs/icons/highlighter-icon.native.js +1 -25
  51. package/lib/commonjs/icons/icon-factories.js +1 -173
  52. package/lib/commonjs/icons/icon-primitives.js +1 -676
  53. package/lib/commonjs/icons/icon-primitives.native.js +1 -904
  54. package/lib/commonjs/icons/icon-renderer.js +1 -307
  55. package/lib/commonjs/icons/iconGlow.js +1 -32
  56. package/lib/commonjs/icons/image-overlay-icon.js +1 -19
  57. package/lib/commonjs/icons/image-overlay-icon.native.js +1 -17
  58. package/lib/commonjs/icons/images-icon.js +1 -19
  59. package/lib/commonjs/icons/images-icon.native.js +1 -17
  60. package/lib/commonjs/icons/impersonate-icon.js +1 -17
  61. package/lib/commonjs/icons/impersonate-icon.native.js +1 -33
  62. package/lib/commonjs/icons/jotai-icon.js +1 -17
  63. package/lib/commonjs/icons/jotai-icon.native.js +1 -35
  64. package/lib/commonjs/icons/network-icon.js +1 -19
  65. package/lib/commonjs/icons/network-icon.native.js +1 -17
  66. package/lib/commonjs/icons/notifications-icon.js +1 -15
  67. package/lib/commonjs/icons/query-icon.js +1 -17
  68. package/lib/commonjs/icons/query-icon.native.js +1 -35
  69. package/lib/commonjs/icons/raster-icon.js +1 -51
  70. package/lib/commonjs/icons/redux-icon.js +1 -17
  71. package/lib/commonjs/icons/redux-icon.native.js +1 -36
  72. package/lib/commonjs/icons/renders-icon.js +1 -30
  73. package/lib/commonjs/icons/renders-icon.native.js +1 -30
  74. package/lib/commonjs/icons/riverpod-icon.js +1 -19
  75. package/lib/commonjs/icons/riverpod-icon.native.js +1 -17
  76. package/lib/commonjs/icons/routes-icon.js +1 -35
  77. package/lib/commonjs/icons/routes-icon.native.js +1 -33
  78. package/lib/commonjs/icons/routes-parts.js +1 -47
  79. package/lib/commonjs/icons/scenarios-icon.js +1 -17
  80. package/lib/commonjs/icons/scenarios-icon.native.js +1 -33
  81. package/lib/commonjs/icons/sentry-icon.js +1 -17
  82. package/lib/commonjs/icons/sentry-icon.native.js +1 -37
  83. package/lib/commonjs/icons/settings-icon.js +1 -13
  84. package/lib/commonjs/icons/settings-icon.native.js +1 -11
  85. package/lib/commonjs/icons/storage-icon.js +1 -19
  86. package/lib/commonjs/icons/storage-icon.native.js +1 -17
  87. package/lib/commonjs/icons/time-machine-icon.js +1 -17
  88. package/lib/commonjs/icons/time-machine-icon.native.js +1 -33
  89. package/lib/commonjs/icons/wifi-icon.js +1 -19
  90. package/lib/commonjs/icons/wifi-icon.native.js +1 -17
  91. package/lib/commonjs/icons/zustand-icon.js +1 -17
  92. package/lib/commonjs/icons/zustand-icon.native.js +1 -35
  93. package/lib/commonjs/index.js +1 -1114
  94. package/lib/commonjs/settings.js +1 -601
  95. package/lib/commonjs/types.js +1 -1
  96. package/lib/commonjs/utils.js +1 -72
  97. package/lib/module/FloatingToolsStore.js +1 -507
  98. package/lib/module/colors.js +1 -49
  99. package/lib/module/constants.js +1 -27
  100. package/lib/module/devToolsState.js +1 -318
  101. package/lib/module/dial.js +11 -618
  102. package/lib/module/dialUsage.js +1 -122
  103. package/lib/module/easing.js +1 -62
  104. package/lib/module/floating.js +1 -9
  105. package/lib/module/fonts.js +1 -28
  106. package/lib/module/fonts.web.js +1 -4
  107. package/lib/module/icons/ask-buoy-icon.js +1 -6
  108. package/lib/module/icons/ask-buoy-icon.native.js +1 -24
  109. package/lib/module/icons/assets-icon.js +1 -8
  110. package/lib/module/icons/assets-icon.native.js +1 -7
  111. package/lib/module/icons/benchmark-icon.js +1 -8
  112. package/lib/module/icons/benchmark-icon.native.js +1 -7
  113. package/lib/module/icons/bif-raster-icon.js +1 -46
  114. package/lib/module/icons/bif-raster-icon.native.js +1 -45
  115. package/lib/module/icons/camera-icon.js +1 -8
  116. package/lib/module/icons/camera-icon.native.js +1 -7
  117. package/lib/module/icons/clock-tool-icon.js +1 -0
  118. package/lib/module/icons/console-icon.js +1 -6
  119. package/lib/module/icons/console-icon.native.js +1 -24
  120. package/lib/module/icons/env-icon.js +1 -8
  121. package/lib/module/icons/env-icon.native.js +1 -7
  122. package/lib/module/icons/events-icon.js +1 -8
  123. package/lib/module/icons/events-icon.native.js +1 -7
  124. package/lib/module/icons/generated/assets-raster.g.js +1 -4
  125. package/lib/module/icons/generated/benchmark-raster.g.js +1 -4
  126. package/lib/module/icons/generated/camera-raster.g.js +1 -4
  127. package/lib/module/icons/generated/env-raster.g.js +1 -4
  128. package/lib/module/icons/generated/events-raster.g.js +1 -4
  129. package/lib/module/icons/generated/glyph-icons.g.js +1 -296
  130. package/lib/module/icons/generated/highlight-raster.g.js +1 -4
  131. package/lib/module/icons/generated/highlighter-raster.g.js +1 -4
  132. package/lib/module/icons/generated/icon-data.g.js +1 -33917
  133. package/lib/module/icons/generated/image-overlay-raster.g.js +1 -4
  134. package/lib/module/icons/generated/images-raster.g.js +1 -4
  135. package/lib/module/icons/generated/network-raster.g.js +1 -4
  136. package/lib/module/icons/generated/raster-icons.g.js +1 -15
  137. package/lib/module/icons/generated/riverpod-raster.g.js +1 -4
  138. package/lib/module/icons/generated/routes-raster.g.js +1 -4
  139. package/lib/module/icons/generated/settings-raster.g.js +1 -4
  140. package/lib/module/icons/generated/storage-raster.g.js +1 -4
  141. package/lib/module/icons/generated/wifi-raster.g.js +1 -4
  142. package/lib/module/icons/highlight-icon.js +1 -8
  143. package/lib/module/icons/highlight-icon.native.js +1 -7
  144. package/lib/module/icons/highlighter-icon.js +1 -10
  145. package/lib/module/icons/highlighter-icon.native.js +1 -9
  146. package/lib/module/icons/icon-factories.js +1 -163
  147. package/lib/module/icons/icon-primitives.js +1 -673
  148. package/lib/module/icons/icon-primitives.native.js +1 -899
  149. package/lib/module/icons/icon-renderer.js +1 -302
  150. package/lib/module/icons/iconGlow.js +1 -28
  151. package/lib/module/icons/image-overlay-icon.js +1 -8
  152. package/lib/module/icons/image-overlay-icon.native.js +1 -7
  153. package/lib/module/icons/images-icon.js +1 -8
  154. package/lib/module/icons/images-icon.native.js +1 -7
  155. package/lib/module/icons/impersonate-icon.js +1 -6
  156. package/lib/module/icons/impersonate-icon.native.js +1 -24
  157. package/lib/module/icons/jotai-icon.js +1 -6
  158. package/lib/module/icons/jotai-icon.native.js +1 -26
  159. package/lib/module/icons/network-icon.js +1 -8
  160. package/lib/module/icons/network-icon.native.js +1 -7
  161. package/lib/module/icons/notifications-icon.js +1 -6
  162. package/lib/module/icons/query-icon.js +1 -6
  163. package/lib/module/icons/query-icon.native.js +1 -26
  164. package/lib/module/icons/raster-icon.js +1 -48
  165. package/lib/module/icons/redux-icon.js +1 -6
  166. package/lib/module/icons/redux-icon.native.js +1 -27
  167. package/lib/module/icons/renders-icon.js +1 -3
  168. package/lib/module/icons/renders-icon.native.js +1 -3
  169. package/lib/module/icons/riverpod-icon.js +1 -8
  170. package/lib/module/icons/riverpod-icon.native.js +1 -7
  171. package/lib/module/icons/routes-icon.js +1 -9
  172. package/lib/module/icons/routes-icon.native.js +1 -8
  173. package/lib/module/icons/routes-parts.js +1 -40
  174. package/lib/module/icons/scenarios-icon.js +1 -6
  175. package/lib/module/icons/scenarios-icon.native.js +1 -24
  176. package/lib/module/icons/sentry-icon.js +1 -6
  177. package/lib/module/icons/sentry-icon.native.js +1 -28
  178. package/lib/module/icons/settings-icon.js +1 -7
  179. package/lib/module/icons/settings-icon.native.js +1 -6
  180. package/lib/module/icons/storage-icon.js +1 -8
  181. package/lib/module/icons/storage-icon.native.js +1 -7
  182. package/lib/module/icons/time-machine-icon.js +1 -6
  183. package/lib/module/icons/time-machine-icon.native.js +1 -24
  184. package/lib/module/icons/wifi-icon.js +1 -8
  185. package/lib/module/icons/wifi-icon.native.js +1 -7
  186. package/lib/module/icons/zustand-icon.js +1 -6
  187. package/lib/module/icons/zustand-icon.native.js +1 -26
  188. package/lib/module/index.js +1 -129
  189. package/lib/module/settings.js +1 -589
  190. package/lib/module/types.js +1 -1
  191. package/lib/module/utils.js +1 -66
  192. package/lib/typescript/commonjs/icons/clock-tool-icon.d.ts +3 -0
  193. package/lib/typescript/commonjs/icons/generated/icon-data.g.d.ts +2 -0
  194. package/lib/typescript/commonjs/index.d.ts +1 -0
  195. package/lib/typescript/module/icons/clock-tool-icon.d.ts +3 -0
  196. package/lib/typescript/module/icons/generated/icon-data.g.d.ts +2 -0
  197. package/lib/typescript/module/index.d.ts +1 -0
  198. package/lib/web/chunks/chunk-PUCCT3HF.mjs +1 -2
  199. package/lib/web/floating.mjs +1 -2
  200. package/lib/web/index.mjs +9 -10
  201. package/package.json +2 -5
  202. package/lib/typescript/commonjs/FloatingToolsStore.d.ts.map +0 -1
  203. package/lib/typescript/commonjs/colors.d.ts.map +0 -1
  204. package/lib/typescript/commonjs/constants.d.ts.map +0 -1
  205. package/lib/typescript/commonjs/devToolsState.d.ts.map +0 -1
  206. package/lib/typescript/commonjs/dial.d.ts.map +0 -1
  207. package/lib/typescript/commonjs/dialUsage.d.ts.map +0 -1
  208. package/lib/typescript/commonjs/easing.d.ts.map +0 -1
  209. package/lib/typescript/commonjs/floating.d.ts.map +0 -1
  210. package/lib/typescript/commonjs/fonts.d.ts.map +0 -1
  211. package/lib/typescript/commonjs/fonts.web.d.ts.map +0 -1
  212. package/lib/typescript/commonjs/icons/ask-buoy-icon.d.ts.map +0 -1
  213. package/lib/typescript/commonjs/icons/ask-buoy-icon.native.d.ts.map +0 -1
  214. package/lib/typescript/commonjs/icons/assets-icon.d.ts.map +0 -1
  215. package/lib/typescript/commonjs/icons/assets-icon.native.d.ts.map +0 -1
  216. package/lib/typescript/commonjs/icons/benchmark-icon.d.ts.map +0 -1
  217. package/lib/typescript/commonjs/icons/benchmark-icon.native.d.ts.map +0 -1
  218. package/lib/typescript/commonjs/icons/bif-raster-icon.d.ts.map +0 -1
  219. package/lib/typescript/commonjs/icons/bif-raster-icon.native.d.ts.map +0 -1
  220. package/lib/typescript/commonjs/icons/camera-icon.d.ts.map +0 -1
  221. package/lib/typescript/commonjs/icons/camera-icon.native.d.ts.map +0 -1
  222. package/lib/typescript/commonjs/icons/console-icon.d.ts.map +0 -1
  223. package/lib/typescript/commonjs/icons/console-icon.native.d.ts.map +0 -1
  224. package/lib/typescript/commonjs/icons/env-icon.d.ts.map +0 -1
  225. package/lib/typescript/commonjs/icons/env-icon.native.d.ts.map +0 -1
  226. package/lib/typescript/commonjs/icons/events-icon.d.ts.map +0 -1
  227. package/lib/typescript/commonjs/icons/events-icon.native.d.ts.map +0 -1
  228. package/lib/typescript/commonjs/icons/generated/assets-raster.g.d.ts.map +0 -1
  229. package/lib/typescript/commonjs/icons/generated/benchmark-raster.g.d.ts.map +0 -1
  230. package/lib/typescript/commonjs/icons/generated/camera-raster.g.d.ts.map +0 -1
  231. package/lib/typescript/commonjs/icons/generated/env-raster.g.d.ts.map +0 -1
  232. package/lib/typescript/commonjs/icons/generated/events-raster.g.d.ts.map +0 -1
  233. package/lib/typescript/commonjs/icons/generated/glyph-icons.g.d.ts.map +0 -1
  234. package/lib/typescript/commonjs/icons/generated/highlight-raster.g.d.ts.map +0 -1
  235. package/lib/typescript/commonjs/icons/generated/highlighter-raster.g.d.ts.map +0 -1
  236. package/lib/typescript/commonjs/icons/generated/icon-data.g.d.ts.map +0 -1
  237. package/lib/typescript/commonjs/icons/generated/image-overlay-raster.g.d.ts.map +0 -1
  238. package/lib/typescript/commonjs/icons/generated/images-raster.g.d.ts.map +0 -1
  239. package/lib/typescript/commonjs/icons/generated/network-raster.g.d.ts.map +0 -1
  240. package/lib/typescript/commonjs/icons/generated/raster-icons.g.d.ts.map +0 -1
  241. package/lib/typescript/commonjs/icons/generated/riverpod-raster.g.d.ts.map +0 -1
  242. package/lib/typescript/commonjs/icons/generated/routes-raster.g.d.ts.map +0 -1
  243. package/lib/typescript/commonjs/icons/generated/settings-raster.g.d.ts.map +0 -1
  244. package/lib/typescript/commonjs/icons/generated/storage-raster.g.d.ts.map +0 -1
  245. package/lib/typescript/commonjs/icons/generated/wifi-raster.g.d.ts.map +0 -1
  246. package/lib/typescript/commonjs/icons/highlight-icon.d.ts.map +0 -1
  247. package/lib/typescript/commonjs/icons/highlight-icon.native.d.ts.map +0 -1
  248. package/lib/typescript/commonjs/icons/highlighter-icon.d.ts.map +0 -1
  249. package/lib/typescript/commonjs/icons/highlighter-icon.native.d.ts.map +0 -1
  250. package/lib/typescript/commonjs/icons/icon-factories.d.ts.map +0 -1
  251. package/lib/typescript/commonjs/icons/icon-primitives.d.ts.map +0 -1
  252. package/lib/typescript/commonjs/icons/icon-primitives.native.d.ts.map +0 -1
  253. package/lib/typescript/commonjs/icons/icon-renderer.d.ts.map +0 -1
  254. package/lib/typescript/commonjs/icons/iconGlow.d.ts.map +0 -1
  255. package/lib/typescript/commonjs/icons/image-overlay-icon.d.ts.map +0 -1
  256. package/lib/typescript/commonjs/icons/image-overlay-icon.native.d.ts.map +0 -1
  257. package/lib/typescript/commonjs/icons/images-icon.d.ts.map +0 -1
  258. package/lib/typescript/commonjs/icons/images-icon.native.d.ts.map +0 -1
  259. package/lib/typescript/commonjs/icons/impersonate-icon.d.ts.map +0 -1
  260. package/lib/typescript/commonjs/icons/impersonate-icon.native.d.ts.map +0 -1
  261. package/lib/typescript/commonjs/icons/jotai-icon.d.ts.map +0 -1
  262. package/lib/typescript/commonjs/icons/jotai-icon.native.d.ts.map +0 -1
  263. package/lib/typescript/commonjs/icons/network-icon.d.ts.map +0 -1
  264. package/lib/typescript/commonjs/icons/network-icon.native.d.ts.map +0 -1
  265. package/lib/typescript/commonjs/icons/notifications-icon.d.ts.map +0 -1
  266. package/lib/typescript/commonjs/icons/query-icon.d.ts.map +0 -1
  267. package/lib/typescript/commonjs/icons/query-icon.native.d.ts.map +0 -1
  268. package/lib/typescript/commonjs/icons/raster-icon.d.ts.map +0 -1
  269. package/lib/typescript/commonjs/icons/redux-icon.d.ts.map +0 -1
  270. package/lib/typescript/commonjs/icons/redux-icon.native.d.ts.map +0 -1
  271. package/lib/typescript/commonjs/icons/renders-icon.d.ts.map +0 -1
  272. package/lib/typescript/commonjs/icons/renders-icon.native.d.ts.map +0 -1
  273. package/lib/typescript/commonjs/icons/riverpod-icon.d.ts.map +0 -1
  274. package/lib/typescript/commonjs/icons/riverpod-icon.native.d.ts.map +0 -1
  275. package/lib/typescript/commonjs/icons/routes-icon.d.ts.map +0 -1
  276. package/lib/typescript/commonjs/icons/routes-icon.native.d.ts.map +0 -1
  277. package/lib/typescript/commonjs/icons/routes-parts.d.ts.map +0 -1
  278. package/lib/typescript/commonjs/icons/scenarios-icon.d.ts.map +0 -1
  279. package/lib/typescript/commonjs/icons/scenarios-icon.native.d.ts.map +0 -1
  280. package/lib/typescript/commonjs/icons/sentry-icon.d.ts.map +0 -1
  281. package/lib/typescript/commonjs/icons/sentry-icon.native.d.ts.map +0 -1
  282. package/lib/typescript/commonjs/icons/settings-icon.d.ts.map +0 -1
  283. package/lib/typescript/commonjs/icons/settings-icon.native.d.ts.map +0 -1
  284. package/lib/typescript/commonjs/icons/storage-icon.d.ts.map +0 -1
  285. package/lib/typescript/commonjs/icons/storage-icon.native.d.ts.map +0 -1
  286. package/lib/typescript/commonjs/icons/time-machine-icon.d.ts.map +0 -1
  287. package/lib/typescript/commonjs/icons/time-machine-icon.native.d.ts.map +0 -1
  288. package/lib/typescript/commonjs/icons/wifi-icon.d.ts.map +0 -1
  289. package/lib/typescript/commonjs/icons/wifi-icon.native.d.ts.map +0 -1
  290. package/lib/typescript/commonjs/icons/zustand-icon.d.ts.map +0 -1
  291. package/lib/typescript/commonjs/icons/zustand-icon.native.d.ts.map +0 -1
  292. package/lib/typescript/commonjs/index.d.ts.map +0 -1
  293. package/lib/typescript/commonjs/settings.d.ts.map +0 -1
  294. package/lib/typescript/commonjs/types.d.ts.map +0 -1
  295. package/lib/typescript/commonjs/utils.d.ts.map +0 -1
  296. package/lib/typescript/module/FloatingToolsStore.d.ts.map +0 -1
  297. package/lib/typescript/module/colors.d.ts.map +0 -1
  298. package/lib/typescript/module/constants.d.ts.map +0 -1
  299. package/lib/typescript/module/devToolsState.d.ts.map +0 -1
  300. package/lib/typescript/module/dial.d.ts.map +0 -1
  301. package/lib/typescript/module/dialUsage.d.ts.map +0 -1
  302. package/lib/typescript/module/easing.d.ts.map +0 -1
  303. package/lib/typescript/module/floating.d.ts.map +0 -1
  304. package/lib/typescript/module/fonts.d.ts.map +0 -1
  305. package/lib/typescript/module/fonts.web.d.ts.map +0 -1
  306. package/lib/typescript/module/icons/ask-buoy-icon.d.ts.map +0 -1
  307. package/lib/typescript/module/icons/ask-buoy-icon.native.d.ts.map +0 -1
  308. package/lib/typescript/module/icons/assets-icon.d.ts.map +0 -1
  309. package/lib/typescript/module/icons/assets-icon.native.d.ts.map +0 -1
  310. package/lib/typescript/module/icons/benchmark-icon.d.ts.map +0 -1
  311. package/lib/typescript/module/icons/benchmark-icon.native.d.ts.map +0 -1
  312. package/lib/typescript/module/icons/bif-raster-icon.d.ts.map +0 -1
  313. package/lib/typescript/module/icons/bif-raster-icon.native.d.ts.map +0 -1
  314. package/lib/typescript/module/icons/camera-icon.d.ts.map +0 -1
  315. package/lib/typescript/module/icons/camera-icon.native.d.ts.map +0 -1
  316. package/lib/typescript/module/icons/console-icon.d.ts.map +0 -1
  317. package/lib/typescript/module/icons/console-icon.native.d.ts.map +0 -1
  318. package/lib/typescript/module/icons/env-icon.d.ts.map +0 -1
  319. package/lib/typescript/module/icons/env-icon.native.d.ts.map +0 -1
  320. package/lib/typescript/module/icons/events-icon.d.ts.map +0 -1
  321. package/lib/typescript/module/icons/events-icon.native.d.ts.map +0 -1
  322. package/lib/typescript/module/icons/generated/assets-raster.g.d.ts.map +0 -1
  323. package/lib/typescript/module/icons/generated/benchmark-raster.g.d.ts.map +0 -1
  324. package/lib/typescript/module/icons/generated/camera-raster.g.d.ts.map +0 -1
  325. package/lib/typescript/module/icons/generated/env-raster.g.d.ts.map +0 -1
  326. package/lib/typescript/module/icons/generated/events-raster.g.d.ts.map +0 -1
  327. package/lib/typescript/module/icons/generated/glyph-icons.g.d.ts.map +0 -1
  328. package/lib/typescript/module/icons/generated/highlight-raster.g.d.ts.map +0 -1
  329. package/lib/typescript/module/icons/generated/highlighter-raster.g.d.ts.map +0 -1
  330. package/lib/typescript/module/icons/generated/icon-data.g.d.ts.map +0 -1
  331. package/lib/typescript/module/icons/generated/image-overlay-raster.g.d.ts.map +0 -1
  332. package/lib/typescript/module/icons/generated/images-raster.g.d.ts.map +0 -1
  333. package/lib/typescript/module/icons/generated/network-raster.g.d.ts.map +0 -1
  334. package/lib/typescript/module/icons/generated/raster-icons.g.d.ts.map +0 -1
  335. package/lib/typescript/module/icons/generated/riverpod-raster.g.d.ts.map +0 -1
  336. package/lib/typescript/module/icons/generated/routes-raster.g.d.ts.map +0 -1
  337. package/lib/typescript/module/icons/generated/settings-raster.g.d.ts.map +0 -1
  338. package/lib/typescript/module/icons/generated/storage-raster.g.d.ts.map +0 -1
  339. package/lib/typescript/module/icons/generated/wifi-raster.g.d.ts.map +0 -1
  340. package/lib/typescript/module/icons/highlight-icon.d.ts.map +0 -1
  341. package/lib/typescript/module/icons/highlight-icon.native.d.ts.map +0 -1
  342. package/lib/typescript/module/icons/highlighter-icon.d.ts.map +0 -1
  343. package/lib/typescript/module/icons/highlighter-icon.native.d.ts.map +0 -1
  344. package/lib/typescript/module/icons/icon-factories.d.ts.map +0 -1
  345. package/lib/typescript/module/icons/icon-primitives.d.ts.map +0 -1
  346. package/lib/typescript/module/icons/icon-primitives.native.d.ts.map +0 -1
  347. package/lib/typescript/module/icons/icon-renderer.d.ts.map +0 -1
  348. package/lib/typescript/module/icons/iconGlow.d.ts.map +0 -1
  349. package/lib/typescript/module/icons/image-overlay-icon.d.ts.map +0 -1
  350. package/lib/typescript/module/icons/image-overlay-icon.native.d.ts.map +0 -1
  351. package/lib/typescript/module/icons/images-icon.d.ts.map +0 -1
  352. package/lib/typescript/module/icons/images-icon.native.d.ts.map +0 -1
  353. package/lib/typescript/module/icons/impersonate-icon.d.ts.map +0 -1
  354. package/lib/typescript/module/icons/impersonate-icon.native.d.ts.map +0 -1
  355. package/lib/typescript/module/icons/jotai-icon.d.ts.map +0 -1
  356. package/lib/typescript/module/icons/jotai-icon.native.d.ts.map +0 -1
  357. package/lib/typescript/module/icons/network-icon.d.ts.map +0 -1
  358. package/lib/typescript/module/icons/network-icon.native.d.ts.map +0 -1
  359. package/lib/typescript/module/icons/notifications-icon.d.ts.map +0 -1
  360. package/lib/typescript/module/icons/query-icon.d.ts.map +0 -1
  361. package/lib/typescript/module/icons/query-icon.native.d.ts.map +0 -1
  362. package/lib/typescript/module/icons/raster-icon.d.ts.map +0 -1
  363. package/lib/typescript/module/icons/redux-icon.d.ts.map +0 -1
  364. package/lib/typescript/module/icons/redux-icon.native.d.ts.map +0 -1
  365. package/lib/typescript/module/icons/renders-icon.d.ts.map +0 -1
  366. package/lib/typescript/module/icons/renders-icon.native.d.ts.map +0 -1
  367. package/lib/typescript/module/icons/riverpod-icon.d.ts.map +0 -1
  368. package/lib/typescript/module/icons/riverpod-icon.native.d.ts.map +0 -1
  369. package/lib/typescript/module/icons/routes-icon.d.ts.map +0 -1
  370. package/lib/typescript/module/icons/routes-icon.native.d.ts.map +0 -1
  371. package/lib/typescript/module/icons/routes-parts.d.ts.map +0 -1
  372. package/lib/typescript/module/icons/scenarios-icon.d.ts.map +0 -1
  373. package/lib/typescript/module/icons/scenarios-icon.native.d.ts.map +0 -1
  374. package/lib/typescript/module/icons/sentry-icon.d.ts.map +0 -1
  375. package/lib/typescript/module/icons/sentry-icon.native.d.ts.map +0 -1
  376. package/lib/typescript/module/icons/settings-icon.d.ts.map +0 -1
  377. package/lib/typescript/module/icons/settings-icon.native.d.ts.map +0 -1
  378. package/lib/typescript/module/icons/storage-icon.d.ts.map +0 -1
  379. package/lib/typescript/module/icons/storage-icon.native.d.ts.map +0 -1
  380. package/lib/typescript/module/icons/time-machine-icon.d.ts.map +0 -1
  381. package/lib/typescript/module/icons/time-machine-icon.native.d.ts.map +0 -1
  382. package/lib/typescript/module/icons/wifi-icon.d.ts.map +0 -1
  383. package/lib/typescript/module/icons/wifi-icon.native.d.ts.map +0 -1
  384. package/lib/typescript/module/icons/zustand-icon.d.ts.map +0 -1
  385. package/lib/typescript/module/icons/zustand-icon.native.d.ts.map +0 -1
  386. package/lib/typescript/module/index.d.ts.map +0 -1
  387. package/lib/typescript/module/settings.d.ts.map +0 -1
  388. package/lib/typescript/module/types.d.ts.map +0 -1
  389. package/lib/typescript/module/utils.d.ts.map +0 -1
  390. package/lib/web/chunks/chunk-2K2AYORW.mjs +0 -493
  391. package/lib/web/chunks/chunk-G4F6TBFE.mjs +0 -488
@@ -1,493 +0,0 @@
1
- "use client";
2
-
3
- // ../../scripts/web-environment.js
4
- if (typeof window !== "undefined" && typeof globalThis.global === "undefined") {
5
- globalThis.global = globalThis;
6
- }
7
-
8
- // src/constants.ts
9
- var VISIBLE_HANDLE_WIDTH = 32;
10
- var DRAG_THRESHOLD = 5;
11
- var ANIMATION_DURATION = 200;
12
- var EDGE_PADDING = 10;
13
- var SAVE_DEBOUNCE_MS = 500;
14
- var STORAGE_KEYS = {
15
- POSITION_X: "@react_buoy_bubble_position_x",
16
- POSITION_Y: "@react_buoy_bubble_position_y"
17
- };
18
-
19
- // src/FloatingToolsStore.ts
20
- var FloatingToolsStore = class {
21
- constructor(options) {
22
- this.isDragging = false;
23
- this.isHidden = false;
24
- // Drag tracking
25
- this.dragStartPos = { x: 0, y: 0 };
26
- this.dragStartMouse = { x: 0, y: 0 };
27
- this.hasMoved = false;
28
- this.savedPosition = null;
29
- // Persistence
30
- this.saveTimeout = null;
31
- this.isInitialized = false;
32
- // Subscribers (for useSyncExternalStore)
33
- this.listeners = /* @__PURE__ */ new Set();
34
- // =============================
35
- // Subscription (for React hooks)
36
- // =============================
37
- this.subscribe = (listener) => {
38
- this.listeners.add(listener);
39
- return () => this.listeners.delete(listener);
40
- };
41
- this.getSnapshot = () => {
42
- return this.stateSnapshot;
43
- };
44
- this.screenWidth = options.screenWidth;
45
- this.screenHeight = options.screenHeight;
46
- this.bubbleSize = options.initialBubbleSize ?? { width: 100, height: 32 };
47
- this.minPosition = options.minPosition ?? { x: EDGE_PADDING, y: EDGE_PADDING };
48
- this.visibleHandleWidth = options.visibleHandleWidth ?? VISIBLE_HANDLE_WIDTH;
49
- this.dragThreshold = options.dragThreshold ?? DRAG_THRESHOLD;
50
- this.edgePadding = options.edgePadding ?? EDGE_PADDING;
51
- this.enablePositionPersistence = options.enablePositionPersistence ?? true;
52
- this.storage = options.storage;
53
- this.onPositionChange = options.onPositionChange;
54
- this.onHiddenChange = options.onHiddenChange;
55
- this.onDraggingChange = options.onDraggingChange;
56
- this.position = options.initialPosition ?? {
57
- x: this.screenWidth - this.bubbleSize.width - 20,
58
- y: Math.max(this.minPosition.y, Math.min(100, this.screenHeight - this.bubbleSize.height - this.edgePadding))
59
- };
60
- this.stateSnapshot = this.createSnapshot();
61
- }
62
- createSnapshot() {
63
- return {
64
- position: { ...this.position },
65
- isDragging: this.isDragging,
66
- isHidden: this.isHidden,
67
- bubbleSize: { ...this.bubbleSize }
68
- };
69
- }
70
- notify() {
71
- this.stateSnapshot = this.createSnapshot();
72
- this.listeners.forEach((listener) => listener());
73
- }
74
- // =============================
75
- // Initialization
76
- // =============================
77
- /**
78
- * Initialize the store by loading persisted position.
79
- * Call this after setting up storage adapter.
80
- */
81
- async initialize() {
82
- if (this.isInitialized || !this.enablePositionPersistence || !this.storage) {
83
- this.isInitialized = true;
84
- return;
85
- }
86
- try {
87
- const [xStr, yStr] = await Promise.all([
88
- this.storage.getItem(STORAGE_KEYS.POSITION_X),
89
- this.storage.getItem(STORAGE_KEYS.POSITION_Y)
90
- ]);
91
- if (xStr !== null && yStr !== null) {
92
- const x = parseFloat(xStr);
93
- const y = parseFloat(yStr);
94
- if (!Number.isNaN(x) && !Number.isNaN(y)) {
95
- const saved = { x, y };
96
- const validated = this.validatePosition(saved);
97
- if (Math.abs(saved.x - validated.x) > 5 || Math.abs(saved.y - validated.y) > 5) {
98
- this.savePosition(validated.x, validated.y);
99
- }
100
- this.position = validated;
101
- if (validated.x >= this.screenWidth - this.visibleHandleWidth - 5) {
102
- this.isHidden = true;
103
- }
104
- this.notify();
105
- }
106
- }
107
- } catch {
108
- }
109
- this.isInitialized = true;
110
- }
111
- // =============================
112
- // Position Management
113
- // =============================
114
- /**
115
- * Get current bounds for position validation.
116
- */
117
- getBounds() {
118
- return {
119
- minX: this.minPosition.x,
120
- maxX: this.screenWidth - this.visibleHandleWidth,
121
- minY: this.minPosition.y,
122
- maxY: this.screenHeight - this.bubbleSize.height - this.edgePadding
123
- };
124
- }
125
- /**
126
- * Validate and clamp a position to screen boundaries.
127
- */
128
- validatePosition(pos) {
129
- const bounds = this.getBounds();
130
- return {
131
- x: Math.max(bounds.minX, Math.min(pos.x, bounds.maxX)),
132
- y: Math.max(bounds.minY, Math.min(pos.y, bounds.maxY))
133
- };
134
- }
135
- /**
136
- * Set position directly (for animation callbacks).
137
- */
138
- setPosition(pos) {
139
- this.position = pos;
140
- this.onPositionChange?.(pos);
141
- this.notify();
142
- }
143
- /**
144
- * Update bubble size (call on layout).
145
- * Only notifies if size actually changed.
146
- */
147
- setBubbleSize(size) {
148
- if (this.bubbleSize.width === size.width && this.bubbleSize.height === size.height) {
149
- return;
150
- }
151
- this.bubbleSize = size;
152
- if (!this.isDragging) this.reconcileBounds();
153
- this.notify();
154
- }
155
- /**
156
- * Update screen dimensions (call on resize).
157
- */
158
- setScreenSize(width, height) {
159
- this.screenWidth = width;
160
- this.screenHeight = height;
161
- this.reconcileBounds();
162
- this.notify();
163
- }
164
- /** Keep the whole visible tool reachable after its content or viewport changes. */
165
- reconcileBounds() {
166
- const clampVisible = (position) => ({
167
- x: Math.max(this.minPosition.x, Math.min(position.x, this.screenWidth - this.bubbleSize.width - this.edgePadding)),
168
- y: Math.max(this.minPosition.y, Math.min(position.y, this.screenHeight - this.bubbleSize.height - this.edgePadding))
169
- });
170
- const visible = clampVisible(this.position);
171
- this.position = this.isHidden ? { ...visible, x: this.screenWidth - this.visibleHandleWidth } : visible;
172
- if (this.savedPosition) this.savedPosition = clampVisible(this.savedPosition);
173
- }
174
- /**
175
- * Update min position (e.g., for safe area insets).
176
- */
177
- setMinPosition(minPos) {
178
- this.minPosition = minPos;
179
- }
180
- // =============================
181
- // Persistence
182
- // =============================
183
- async savePosition(x, y) {
184
- if (!this.enablePositionPersistence || !this.storage) return;
185
- try {
186
- await Promise.all([
187
- this.storage.setItem(STORAGE_KEYS.POSITION_X, x.toString()),
188
- this.storage.setItem(STORAGE_KEYS.POSITION_Y, y.toString())
189
- ]);
190
- } catch {
191
- }
192
- }
193
- debouncedSavePosition(x, y) {
194
- if (this.saveTimeout) clearTimeout(this.saveTimeout);
195
- this.saveTimeout = setTimeout(() => this.savePosition(x, y), SAVE_DEBOUNCE_MS);
196
- }
197
- // =============================
198
- // Hide/Show Toggle
199
- // =============================
200
- /**
201
- * Toggle between hidden and visible states.
202
- * Returns the target position for animation.
203
- */
204
- toggleHideShow() {
205
- const isVisuallyOffScreen = this.position.x > this.screenWidth - this.bubbleSize.width / 2;
206
- if (this.isHidden || isVisuallyOffScreen) {
207
- let targetX;
208
- let targetY;
209
- if (this.savedPosition && this.savedPosition.x < this.screenWidth - this.bubbleSize.width / 2) {
210
- targetX = this.savedPosition.x;
211
- targetY = this.savedPosition.y;
212
- } else {
213
- targetX = this.screenWidth - this.bubbleSize.width - 20;
214
- targetY = this.position.y;
215
- }
216
- this.isHidden = false;
217
- this.onHiddenChange?.(false);
218
- this.notify();
219
- return { targetPosition: { x: targetX, y: targetY }, isHiding: false };
220
- } else {
221
- this.savedPosition = { ...this.position };
222
- const hiddenX = this.screenWidth - this.visibleHandleWidth;
223
- this.isHidden = true;
224
- this.onHiddenChange?.(true);
225
- this.notify();
226
- return { targetPosition: { x: hiddenX, y: this.position.y }, isHiding: true };
227
- }
228
- }
229
- /**
230
- * Force hide (for pushToSide behavior).
231
- */
232
- forceHide() {
233
- if (this.isHidden) {
234
- return { targetPosition: this.position };
235
- }
236
- this.savedPosition = { ...this.position };
237
- const hiddenX = this.screenWidth - this.visibleHandleWidth;
238
- this.isHidden = true;
239
- this.onHiddenChange?.(true);
240
- this.notify();
241
- return { targetPosition: { x: hiddenX, y: this.position.y } };
242
- }
243
- /**
244
- * Force show (restore from pushToSide).
245
- */
246
- forceShow() {
247
- if (!this.isHidden) {
248
- return { targetPosition: this.position };
249
- }
250
- let targetX;
251
- let targetY;
252
- if (this.savedPosition) {
253
- targetX = this.savedPosition.x;
254
- targetY = this.savedPosition.y;
255
- } else {
256
- targetX = this.screenWidth - this.bubbleSize.width - 20;
257
- targetY = this.position.y;
258
- }
259
- this.isHidden = false;
260
- this.onHiddenChange?.(false);
261
- this.notify();
262
- return { targetPosition: { x: targetX, y: targetY } };
263
- }
264
- // =============================
265
- // Drag Handling
266
- // =============================
267
- /**
268
- * Start a drag operation.
269
- */
270
- handleDragStart(event) {
271
- this.hasMoved = false;
272
- this.dragStartPos = { ...this.position };
273
- this.dragStartMouse = { x: event.clientX, y: event.clientY };
274
- }
275
- /**
276
- * Process drag movement.
277
- * Returns the new position (for animation) and whether drag threshold was exceeded.
278
- */
279
- handleDragMove(event) {
280
- const dx = event.clientX - this.dragStartMouse.x;
281
- const dy = event.clientY - this.dragStartMouse.y;
282
- const totalDistance = Math.abs(dx) + Math.abs(dy);
283
- if (!this.hasMoved && totalDistance > this.dragThreshold) {
284
- this.hasMoved = true;
285
- this.isDragging = true;
286
- this.onDraggingChange?.(true);
287
- this.notify();
288
- }
289
- if (this.hasMoved) {
290
- const newX = this.dragStartPos.x + dx;
291
- const newY = this.dragStartPos.y + dy;
292
- const bounds = this.getBounds();
293
- const clampedX = Math.max(bounds.minX, Math.min(newX, this.screenWidth - this.visibleHandleWidth + this.bubbleSize.width));
294
- const clampedY = Math.max(bounds.minY, Math.min(newY, bounds.maxY));
295
- this.position = { x: clampedX, y: clampedY };
296
- this.onPositionChange?.(this.position);
297
- this.notify();
298
- return { position: this.position, isDragging: true };
299
- }
300
- return { position: this.position, isDragging: false };
301
- }
302
- /**
303
- * End a drag operation.
304
- * Returns the result including whether to animate to hidden state.
305
- */
306
- handleDragEnd(event) {
307
- const wasTap = !this.hasMoved;
308
- if (wasTap) {
309
- this.isDragging = false;
310
- this.onDraggingChange?.(false);
311
- this.notify();
312
- return { position: this.position, shouldHide: false, wasTap: true };
313
- }
314
- const dx = event.clientX - this.dragStartMouse.x;
315
- const dy = event.clientY - this.dragStartMouse.y;
316
- const currentX = this.dragStartPos.x + dx;
317
- const currentY = this.dragStartPos.y + dy;
318
- const bubbleMidpoint = currentX + this.bubbleSize.width / 2;
319
- const shouldHide = bubbleMidpoint > this.screenWidth;
320
- const bounds = this.getBounds();
321
- if (shouldHide) {
322
- const hiddenX = this.screenWidth - this.visibleHandleWidth;
323
- const clampedY = Math.max(bounds.minY, Math.min(currentY, bounds.maxY));
324
- this.isHidden = true;
325
- this.onHiddenChange?.(true);
326
- this.isDragging = false;
327
- this.onDraggingChange?.(false);
328
- this.notify();
329
- return { position: { x: hiddenX, y: clampedY }, shouldHide: true, wasTap: false };
330
- } else {
331
- if (this.isHidden && currentX < this.screenWidth - this.visibleHandleWidth - 10) {
332
- this.isHidden = false;
333
- this.onHiddenChange?.(false);
334
- }
335
- const clampedX = Math.max(bounds.minX, Math.min(currentX, this.screenWidth - this.bubbleSize.width - this.edgePadding));
336
- const clampedY = Math.max(bounds.minY, Math.min(currentY, bounds.maxY));
337
- if (clampedX < this.screenWidth - this.bubbleSize.width / 2) {
338
- this.savedPosition = { x: clampedX, y: clampedY };
339
- }
340
- this.position = { x: clampedX, y: clampedY };
341
- this.isDragging = false;
342
- this.onDraggingChange?.(false);
343
- this.debouncedSavePosition(clampedX, clampedY);
344
- this.notify();
345
- return { position: { x: clampedX, y: clampedY }, shouldHide: false, wasTap: false };
346
- }
347
- }
348
- /**
349
- * Commit position after animation completes.
350
- */
351
- commitPosition(pos) {
352
- this.position = pos;
353
- this.savePosition(pos.x, pos.y);
354
- this.notify();
355
- }
356
- // =============================
357
- // Cleanup
358
- // =============================
359
- destroy() {
360
- if (this.saveTimeout) {
361
- clearTimeout(this.saveTimeout);
362
- this.saveTimeout = null;
363
- }
364
- this.listeners.clear();
365
- }
366
- };
367
-
368
- // src/utils.ts
369
- function getUserStatusConfig(userRole, colors) {
370
- switch (userRole) {
371
- case "admin":
372
- return {
373
- label: "Admin",
374
- dotColor: colors.success,
375
- textColor: colors.success
376
- };
377
- case "internal":
378
- return {
379
- label: "Internal",
380
- dotColor: colors.optional,
381
- textColor: colors.optional
382
- };
383
- case "user":
384
- default:
385
- return {
386
- label: "User",
387
- dotColor: colors.muted,
388
- textColor: colors.secondary
389
- };
390
- }
391
- }
392
- function getGripIconLayout(size) {
393
- return {
394
- dotSize: Math.max(2, Math.round(size / 6)),
395
- columnGap: Math.max(2, Math.round(size / 12)),
396
- rowGap: Math.max(2, Math.round(size / 12))
397
- };
398
- }
399
- function filterValidChildren(children) {
400
- return children.filter(
401
- (child) => child != null && child !== false
402
- );
403
- }
404
-
405
- // src/easing.ts
406
- var easing = {
407
- /**
408
- * Linear - no easing.
409
- */
410
- linear: (t) => t,
411
- /**
412
- * Ease out cubic - decelerates towards end.
413
- * Used for hide/show animations.
414
- */
415
- easeOutCubic: (t) => 1 - Math.pow(1 - t, 3),
416
- /**
417
- * Ease in cubic - accelerates from start.
418
- */
419
- easeInCubic: (t) => t * t * t,
420
- /**
421
- * Ease in-out cubic - smooth acceleration and deceleration.
422
- */
423
- easeInOutCubic: (t) => t < 0.5 ? 4 * t * t * t : 1 - Math.pow(-2 * t + 2, 3) / 2,
424
- /**
425
- * Ease out quad - lighter deceleration than cubic.
426
- */
427
- easeOutQuad: (t) => 1 - (1 - t) * (1 - t),
428
- /**
429
- * Ease out expo - strong deceleration (snappy feel).
430
- */
431
- easeOutExpo: (t) => t === 1 ? 1 : 1 - Math.pow(2, -10 * t)
432
- };
433
- function getEasing(name) {
434
- return easing[name];
435
- }
436
- function interpolate(from, to, progress, easingFn = easing.easeOutCubic) {
437
- const eased = easingFn(Math.max(0, Math.min(1, progress)));
438
- return from + (to - from) * eased;
439
- }
440
- function interpolatePosition(from, to, progress, easingFn = easing.easeOutCubic) {
441
- return {
442
- x: interpolate(from.x, to.x, progress, easingFn),
443
- y: interpolate(from.y, to.y, progress, easingFn)
444
- };
445
- }
446
-
447
- // src/colors.ts
448
- var floatingToolsColors = {
449
- /** Dark panel background */
450
- panel: "#1A1A1A",
451
- /** Muted gray for secondary elements */
452
- muted: "#888888",
453
- /** Primary text color */
454
- secondary: "#E0E0E0",
455
- /** Info/active state color (Buoy teal) */
456
- info: "#20C997",
457
- /** Success/admin color (Buoy teal) */
458
- success: "#20C997",
459
- /** Warning/optional color (Buoy orange) */
460
- optional: "#FFA94D",
461
- /** Error color (Buoy red) */
462
- error: "#EF4444",
463
- /** Primary accent color (Buoy teal) */
464
- primary: "#20C997",
465
- /** Color used when dragging the floating tools (Buoy teal) */
466
- dragActive: "#20C997"
467
- };
468
- function withAlpha(color, alpha) {
469
- if (typeof alpha === "number") {
470
- const hex = Math.round(alpha * 255).toString(16).padStart(2, "0");
471
- return `${color}${hex}`;
472
- }
473
- return `${color}${alpha}`;
474
- }
475
-
476
- export {
477
- VISIBLE_HANDLE_WIDTH,
478
- DRAG_THRESHOLD,
479
- ANIMATION_DURATION,
480
- EDGE_PADDING,
481
- SAVE_DEBOUNCE_MS,
482
- STORAGE_KEYS,
483
- FloatingToolsStore,
484
- getUserStatusConfig,
485
- getGripIconLayout,
486
- filterValidChildren,
487
- easing,
488
- getEasing,
489
- interpolate,
490
- interpolatePosition,
491
- floatingToolsColors,
492
- withAlpha
493
- };