@buoy-gg/floating-tools-core 7.0.36 → 7.0.38

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 (582) hide show
  1. package/README.md +36 -0
  2. package/floating.d.ts +1 -0
  3. package/floating.js +1 -0
  4. package/lib/commonjs/FloatingToolsStore.js +1 -501
  5. package/lib/commonjs/colors.js +1 -54
  6. package/lib/commonjs/constants.js +1 -31
  7. package/lib/commonjs/devToolsState.js +1 -325
  8. package/lib/commonjs/dial.js +1 -633
  9. package/lib/commonjs/dialUsage.js +1 -130
  10. package/lib/commonjs/easing.js +1 -69
  11. package/lib/commonjs/floating.js +1 -0
  12. package/lib/commonjs/fonts.js +1 -31
  13. package/lib/commonjs/fonts.web.js +1 -0
  14. package/lib/commonjs/icons/ICONS.md +7 -0
  15. package/lib/commonjs/icons/ask-buoy-icon.js +1 -27
  16. package/lib/commonjs/icons/ask-buoy-icon.native.js +1 -0
  17. package/lib/commonjs/icons/assets/askBuoy.png +0 -0
  18. package/lib/commonjs/icons/assets/askBuoy@2x.png +0 -0
  19. package/lib/commonjs/icons/assets/askBuoy@3x.png +0 -0
  20. package/lib/commonjs/icons/assets/assets.png +0 -0
  21. package/lib/commonjs/icons/assets/assets@2x.png +0 -0
  22. package/lib/commonjs/icons/assets/assets@3x.png +0 -0
  23. package/lib/commonjs/icons/assets/benchmark.png +0 -0
  24. package/lib/commonjs/icons/assets/benchmark@2x.png +0 -0
  25. package/lib/commonjs/icons/assets/benchmark@3x.png +0 -0
  26. package/lib/commonjs/icons/assets/camera.png +0 -0
  27. package/lib/commonjs/icons/assets/camera@2x.png +0 -0
  28. package/lib/commonjs/icons/assets/camera@3x.png +0 -0
  29. package/lib/commonjs/icons/assets/console.png +0 -0
  30. package/lib/commonjs/icons/assets/console@2x.png +0 -0
  31. package/lib/commonjs/icons/assets/console@3x.png +0 -0
  32. package/lib/commonjs/icons/assets/env.png +0 -0
  33. package/lib/commonjs/icons/assets/env@2x.png +0 -0
  34. package/lib/commonjs/icons/assets/env@3x.png +0 -0
  35. package/lib/commonjs/icons/assets/events.png +0 -0
  36. package/lib/commonjs/icons/assets/events@2x.png +0 -0
  37. package/lib/commonjs/icons/assets/events@3x.png +0 -0
  38. package/lib/commonjs/icons/assets/highlight.png +0 -0
  39. package/lib/commonjs/icons/assets/highlight@2x.png +0 -0
  40. package/lib/commonjs/icons/assets/highlight@3x.png +0 -0
  41. package/lib/commonjs/icons/assets/highlighter.png +0 -0
  42. package/lib/commonjs/icons/assets/highlighter@2x.png +0 -0
  43. package/lib/commonjs/icons/assets/highlighter@3x.png +0 -0
  44. package/lib/commonjs/icons/assets/image-overlay.png +0 -0
  45. package/lib/commonjs/icons/assets/image-overlay@2x.png +0 -0
  46. package/lib/commonjs/icons/assets/image-overlay@3x.png +0 -0
  47. package/lib/commonjs/icons/assets/images.png +0 -0
  48. package/lib/commonjs/icons/assets/images@2x.png +0 -0
  49. package/lib/commonjs/icons/assets/images@3x.png +0 -0
  50. package/lib/commonjs/icons/assets/impersonate.png +0 -0
  51. package/lib/commonjs/icons/assets/impersonate@2x.png +0 -0
  52. package/lib/commonjs/icons/assets/impersonate@3x.png +0 -0
  53. package/lib/commonjs/icons/assets/jotai.png +0 -0
  54. package/lib/commonjs/icons/assets/jotai@2x.png +0 -0
  55. package/lib/commonjs/icons/assets/jotai@3x.png +0 -0
  56. package/lib/commonjs/icons/assets/network.png +0 -0
  57. package/lib/commonjs/icons/assets/network@2x.png +0 -0
  58. package/lib/commonjs/icons/assets/network@3x.png +0 -0
  59. package/lib/commonjs/icons/assets/query.png +0 -0
  60. package/lib/commonjs/icons/assets/query@2x.png +0 -0
  61. package/lib/commonjs/icons/assets/query@3x.png +0 -0
  62. package/lib/commonjs/icons/assets/redux.png +0 -0
  63. package/lib/commonjs/icons/assets/redux@2x.png +0 -0
  64. package/lib/commonjs/icons/assets/redux@3x.png +0 -0
  65. package/lib/commonjs/icons/assets/riverpod.png +0 -0
  66. package/lib/commonjs/icons/assets/riverpod@2x.png +0 -0
  67. package/lib/commonjs/icons/assets/riverpod@3x.png +0 -0
  68. package/lib/commonjs/icons/assets/routes.png +0 -0
  69. package/lib/commonjs/icons/assets/routes@2x.png +0 -0
  70. package/lib/commonjs/icons/assets/routes@3x.png +0 -0
  71. package/lib/commonjs/icons/assets/scenarios.png +0 -0
  72. package/lib/commonjs/icons/assets/scenarios@2x.png +0 -0
  73. package/lib/commonjs/icons/assets/scenarios@3x.png +0 -0
  74. package/lib/commonjs/icons/assets/sentry.png +0 -0
  75. package/lib/commonjs/icons/assets/sentry@2x.png +0 -0
  76. package/lib/commonjs/icons/assets/sentry@3x.png +0 -0
  77. package/lib/commonjs/icons/assets/settings.png +0 -0
  78. package/lib/commonjs/icons/assets/settings@2x.png +0 -0
  79. package/lib/commonjs/icons/assets/settings@3x.png +0 -0
  80. package/lib/commonjs/icons/assets/storage.png +0 -0
  81. package/lib/commonjs/icons/assets/storage@2x.png +0 -0
  82. package/lib/commonjs/icons/assets/storage@3x.png +0 -0
  83. package/lib/commonjs/icons/assets/time-machine.png +0 -0
  84. package/lib/commonjs/icons/assets/time-machine@2x.png +0 -0
  85. package/lib/commonjs/icons/assets/time-machine@3x.png +0 -0
  86. package/lib/commonjs/icons/assets/wifi.png +0 -0
  87. package/lib/commonjs/icons/assets/wifi@2x.png +0 -0
  88. package/lib/commonjs/icons/assets/wifi@3x.png +0 -0
  89. package/lib/commonjs/icons/assets/zustand.png +0 -0
  90. package/lib/commonjs/icons/assets/zustand@2x.png +0 -0
  91. package/lib/commonjs/icons/assets/zustand@3x.png +0 -0
  92. package/lib/commonjs/icons/assets-icon.js +1 -26
  93. package/lib/commonjs/icons/assets-icon.native.js +1 -0
  94. package/lib/commonjs/icons/benchmark-icon.js +1 -24
  95. package/lib/commonjs/icons/benchmark-icon.native.js +1 -0
  96. package/lib/commonjs/icons/bif-raster-icon.js +1 -0
  97. package/lib/commonjs/icons/bif-raster-icon.native.js +1 -0
  98. package/lib/commonjs/icons/camera-icon.js +1 -27
  99. package/lib/commonjs/icons/camera-icon.native.js +1 -0
  100. package/lib/commonjs/icons/console-icon.js +1 -26
  101. package/lib/commonjs/icons/console-icon.native.js +1 -0
  102. package/lib/commonjs/icons/env-icon.js +1 -24
  103. package/lib/commonjs/icons/env-icon.native.js +1 -0
  104. package/lib/commonjs/icons/events-icon.js +1 -24
  105. package/lib/commonjs/icons/events-icon.native.js +1 -0
  106. package/lib/commonjs/icons/generated/assets-raster.g.js +1 -0
  107. package/lib/commonjs/icons/generated/benchmark-raster.g.js +1 -0
  108. package/lib/commonjs/icons/generated/camera-raster.g.js +1 -0
  109. package/lib/commonjs/icons/generated/env-raster.g.js +1 -0
  110. package/lib/commonjs/icons/generated/events-raster.g.js +1 -0
  111. package/lib/commonjs/icons/generated/glyph-icons.g.js +1 -299
  112. package/lib/commonjs/icons/generated/highlight-raster.g.js +1 -0
  113. package/lib/commonjs/icons/generated/highlighter-raster.g.js +1 -0
  114. package/lib/commonjs/icons/generated/icon-data.g.js +1 -7267
  115. package/lib/commonjs/icons/generated/image-overlay-raster.g.js +1 -0
  116. package/lib/commonjs/icons/generated/images-raster.g.js +1 -0
  117. package/lib/commonjs/icons/generated/network-raster.g.js +1 -0
  118. package/lib/commonjs/icons/generated/raster-icons.g.js +1 -0
  119. package/lib/commonjs/icons/generated/riverpod-raster.g.js +1 -0
  120. package/lib/commonjs/icons/generated/routes-raster.g.js +1 -0
  121. package/lib/commonjs/icons/generated/settings-raster.g.js +1 -0
  122. package/lib/commonjs/icons/generated/storage-raster.g.js +1 -0
  123. package/lib/commonjs/icons/generated/wifi-raster.g.js +1 -0
  124. package/lib/commonjs/icons/highlight-icon.js +1 -24
  125. package/lib/commonjs/icons/highlight-icon.native.js +1 -0
  126. package/lib/commonjs/icons/highlighter-icon.js +1 -0
  127. package/lib/commonjs/icons/highlighter-icon.native.js +1 -0
  128. package/lib/commonjs/icons/icon-factories.js +1 -173
  129. package/lib/commonjs/icons/icon-primitives.js +1 -676
  130. package/lib/commonjs/icons/icon-primitives.native.js +1 -904
  131. package/lib/commonjs/icons/icon-renderer.js +1 -307
  132. package/lib/commonjs/icons/iconGlow.js +1 -32
  133. package/lib/commonjs/icons/image-overlay-icon.js +1 -26
  134. package/lib/commonjs/icons/image-overlay-icon.native.js +1 -0
  135. package/lib/commonjs/icons/images-icon.js +1 -26
  136. package/lib/commonjs/icons/images-icon.native.js +1 -0
  137. package/lib/commonjs/icons/impersonate-icon.js +1 -26
  138. package/lib/commonjs/icons/impersonate-icon.native.js +1 -0
  139. package/lib/commonjs/icons/jotai-icon.js +1 -26
  140. package/lib/commonjs/icons/jotai-icon.native.js +1 -0
  141. package/lib/commonjs/icons/network-icon.js +1 -24
  142. package/lib/commonjs/icons/network-icon.native.js +1 -0
  143. package/lib/commonjs/icons/query-icon.js +1 -24
  144. package/lib/commonjs/icons/query-icon.native.js +1 -0
  145. package/lib/commonjs/icons/raster-icon.js +1 -0
  146. package/lib/commonjs/icons/redux-icon.js +1 -24
  147. package/lib/commonjs/icons/redux-icon.native.js +1 -0
  148. package/lib/commonjs/icons/renders-icon.js +1 -33
  149. package/lib/commonjs/icons/renders-icon.native.js +1 -0
  150. package/lib/commonjs/icons/riverpod-icon.js +1 -26
  151. package/lib/commonjs/icons/riverpod-icon.native.js +1 -0
  152. package/lib/commonjs/icons/routes-icon.js +1 -49
  153. package/lib/commonjs/icons/routes-icon.native.js +1 -0
  154. package/lib/commonjs/icons/routes-parts.js +1 -0
  155. package/lib/commonjs/icons/scenarios-icon.js +1 -26
  156. package/lib/commonjs/icons/scenarios-icon.native.js +1 -0
  157. package/lib/commonjs/icons/sentry-icon.js +1 -24
  158. package/lib/commonjs/icons/sentry-icon.native.js +1 -0
  159. package/lib/commonjs/icons/settings-icon.js +1 -23
  160. package/lib/commonjs/icons/settings-icon.native.js +1 -0
  161. package/lib/commonjs/icons/storage-icon.js +1 -24
  162. package/lib/commonjs/icons/storage-icon.native.js +1 -0
  163. package/lib/commonjs/icons/time-machine-icon.js +1 -26
  164. package/lib/commonjs/icons/time-machine-icon.native.js +1 -0
  165. package/lib/commonjs/icons/wifi-icon.js +1 -24
  166. package/lib/commonjs/icons/wifi-icon.native.js +1 -0
  167. package/lib/commonjs/icons/zustand-icon.js +1 -26
  168. package/lib/commonjs/icons/zustand-icon.native.js +1 -0
  169. package/lib/commonjs/index.js +1 -1099
  170. package/lib/commonjs/settings.js +1 -601
  171. package/lib/commonjs/utils.js +1 -72
  172. package/lib/module/FloatingToolsStore.js +1 -496
  173. package/lib/module/colors.js +1 -49
  174. package/lib/module/constants.js +1 -27
  175. package/lib/module/devToolsState.js +1 -318
  176. package/lib/module/dial.js +1 -618
  177. package/lib/module/dialUsage.js +1 -122
  178. package/lib/module/easing.js +1 -62
  179. package/lib/module/floating.js +1 -0
  180. package/lib/module/fonts.js +1 -28
  181. package/lib/module/fonts.web.js +1 -0
  182. package/lib/module/icons/ICONS.md +7 -0
  183. package/lib/module/icons/ask-buoy-icon.js +1 -18
  184. package/lib/module/icons/ask-buoy-icon.native.js +1 -0
  185. package/lib/module/icons/assets/askBuoy.png +0 -0
  186. package/lib/module/icons/assets/askBuoy@2x.png +0 -0
  187. package/lib/module/icons/assets/askBuoy@3x.png +0 -0
  188. package/lib/module/icons/assets/assets.png +0 -0
  189. package/lib/module/icons/assets/assets@2x.png +0 -0
  190. package/lib/module/icons/assets/assets@3x.png +0 -0
  191. package/lib/module/icons/assets/benchmark.png +0 -0
  192. package/lib/module/icons/assets/benchmark@2x.png +0 -0
  193. package/lib/module/icons/assets/benchmark@3x.png +0 -0
  194. package/lib/module/icons/assets/camera.png +0 -0
  195. package/lib/module/icons/assets/camera@2x.png +0 -0
  196. package/lib/module/icons/assets/camera@3x.png +0 -0
  197. package/lib/module/icons/assets/console.png +0 -0
  198. package/lib/module/icons/assets/console@2x.png +0 -0
  199. package/lib/module/icons/assets/console@3x.png +0 -0
  200. package/lib/module/icons/assets/env.png +0 -0
  201. package/lib/module/icons/assets/env@2x.png +0 -0
  202. package/lib/module/icons/assets/env@3x.png +0 -0
  203. package/lib/module/icons/assets/events.png +0 -0
  204. package/lib/module/icons/assets/events@2x.png +0 -0
  205. package/lib/module/icons/assets/events@3x.png +0 -0
  206. package/lib/module/icons/assets/highlight.png +0 -0
  207. package/lib/module/icons/assets/highlight@2x.png +0 -0
  208. package/lib/module/icons/assets/highlight@3x.png +0 -0
  209. package/lib/module/icons/assets/highlighter.png +0 -0
  210. package/lib/module/icons/assets/highlighter@2x.png +0 -0
  211. package/lib/module/icons/assets/highlighter@3x.png +0 -0
  212. package/lib/module/icons/assets/image-overlay.png +0 -0
  213. package/lib/module/icons/assets/image-overlay@2x.png +0 -0
  214. package/lib/module/icons/assets/image-overlay@3x.png +0 -0
  215. package/lib/module/icons/assets/images.png +0 -0
  216. package/lib/module/icons/assets/images@2x.png +0 -0
  217. package/lib/module/icons/assets/images@3x.png +0 -0
  218. package/lib/module/icons/assets/impersonate.png +0 -0
  219. package/lib/module/icons/assets/impersonate@2x.png +0 -0
  220. package/lib/module/icons/assets/impersonate@3x.png +0 -0
  221. package/lib/module/icons/assets/jotai.png +0 -0
  222. package/lib/module/icons/assets/jotai@2x.png +0 -0
  223. package/lib/module/icons/assets/jotai@3x.png +0 -0
  224. package/lib/module/icons/assets/network.png +0 -0
  225. package/lib/module/icons/assets/network@2x.png +0 -0
  226. package/lib/module/icons/assets/network@3x.png +0 -0
  227. package/lib/module/icons/assets/query.png +0 -0
  228. package/lib/module/icons/assets/query@2x.png +0 -0
  229. package/lib/module/icons/assets/query@3x.png +0 -0
  230. package/lib/module/icons/assets/redux.png +0 -0
  231. package/lib/module/icons/assets/redux@2x.png +0 -0
  232. package/lib/module/icons/assets/redux@3x.png +0 -0
  233. package/lib/module/icons/assets/riverpod.png +0 -0
  234. package/lib/module/icons/assets/riverpod@2x.png +0 -0
  235. package/lib/module/icons/assets/riverpod@3x.png +0 -0
  236. package/lib/module/icons/assets/routes.png +0 -0
  237. package/lib/module/icons/assets/routes@2x.png +0 -0
  238. package/lib/module/icons/assets/routes@3x.png +0 -0
  239. package/lib/module/icons/assets/scenarios.png +0 -0
  240. package/lib/module/icons/assets/scenarios@2x.png +0 -0
  241. package/lib/module/icons/assets/scenarios@3x.png +0 -0
  242. package/lib/module/icons/assets/sentry.png +0 -0
  243. package/lib/module/icons/assets/sentry@2x.png +0 -0
  244. package/lib/module/icons/assets/sentry@3x.png +0 -0
  245. package/lib/module/icons/assets/settings.png +0 -0
  246. package/lib/module/icons/assets/settings@2x.png +0 -0
  247. package/lib/module/icons/assets/settings@3x.png +0 -0
  248. package/lib/module/icons/assets/storage.png +0 -0
  249. package/lib/module/icons/assets/storage@2x.png +0 -0
  250. package/lib/module/icons/assets/storage@3x.png +0 -0
  251. package/lib/module/icons/assets/time-machine.png +0 -0
  252. package/lib/module/icons/assets/time-machine@2x.png +0 -0
  253. package/lib/module/icons/assets/time-machine@3x.png +0 -0
  254. package/lib/module/icons/assets/wifi.png +0 -0
  255. package/lib/module/icons/assets/wifi@2x.png +0 -0
  256. package/lib/module/icons/assets/wifi@3x.png +0 -0
  257. package/lib/module/icons/assets/zustand.png +0 -0
  258. package/lib/module/icons/assets/zustand@2x.png +0 -0
  259. package/lib/module/icons/assets/zustand@3x.png +0 -0
  260. package/lib/module/icons/assets-icon.js +1 -17
  261. package/lib/module/icons/assets-icon.native.js +1 -0
  262. package/lib/module/icons/benchmark-icon.js +1 -15
  263. package/lib/module/icons/benchmark-icon.native.js +1 -0
  264. package/lib/module/icons/bif-raster-icon.js +1 -0
  265. package/lib/module/icons/bif-raster-icon.native.js +1 -0
  266. package/lib/module/icons/camera-icon.js +1 -18
  267. package/lib/module/icons/camera-icon.native.js +1 -0
  268. package/lib/module/icons/console-icon.js +1 -17
  269. package/lib/module/icons/console-icon.native.js +1 -0
  270. package/lib/module/icons/env-icon.js +1 -15
  271. package/lib/module/icons/env-icon.native.js +1 -0
  272. package/lib/module/icons/events-icon.js +1 -15
  273. package/lib/module/icons/events-icon.native.js +1 -0
  274. package/lib/module/icons/generated/assets-raster.g.js +1 -0
  275. package/lib/module/icons/generated/benchmark-raster.g.js +1 -0
  276. package/lib/module/icons/generated/camera-raster.g.js +1 -0
  277. package/lib/module/icons/generated/env-raster.g.js +1 -0
  278. package/lib/module/icons/generated/events-raster.g.js +1 -0
  279. package/lib/module/icons/generated/glyph-icons.g.js +1 -296
  280. package/lib/module/icons/generated/highlight-raster.g.js +1 -0
  281. package/lib/module/icons/generated/highlighter-raster.g.js +1 -0
  282. package/lib/module/icons/generated/icon-data.g.js +1 -7262
  283. package/lib/module/icons/generated/image-overlay-raster.g.js +1 -0
  284. package/lib/module/icons/generated/images-raster.g.js +1 -0
  285. package/lib/module/icons/generated/network-raster.g.js +1 -0
  286. package/lib/module/icons/generated/raster-icons.g.js +1 -0
  287. package/lib/module/icons/generated/riverpod-raster.g.js +1 -0
  288. package/lib/module/icons/generated/routes-raster.g.js +1 -0
  289. package/lib/module/icons/generated/settings-raster.g.js +1 -0
  290. package/lib/module/icons/generated/storage-raster.g.js +1 -0
  291. package/lib/module/icons/generated/wifi-raster.g.js +1 -0
  292. package/lib/module/icons/highlight-icon.js +1 -15
  293. package/lib/module/icons/highlight-icon.native.js +1 -0
  294. package/lib/module/icons/highlighter-icon.js +1 -0
  295. package/lib/module/icons/highlighter-icon.native.js +1 -0
  296. package/lib/module/icons/icon-factories.js +1 -163
  297. package/lib/module/icons/icon-primitives.js +1 -673
  298. package/lib/module/icons/icon-primitives.native.js +1 -899
  299. package/lib/module/icons/icon-renderer.js +1 -302
  300. package/lib/module/icons/iconGlow.js +1 -28
  301. package/lib/module/icons/image-overlay-icon.js +1 -17
  302. package/lib/module/icons/image-overlay-icon.native.js +1 -0
  303. package/lib/module/icons/images-icon.js +1 -17
  304. package/lib/module/icons/images-icon.native.js +1 -0
  305. package/lib/module/icons/impersonate-icon.js +1 -17
  306. package/lib/module/icons/impersonate-icon.native.js +1 -0
  307. package/lib/module/icons/jotai-icon.js +1 -17
  308. package/lib/module/icons/jotai-icon.native.js +1 -0
  309. package/lib/module/icons/network-icon.js +1 -15
  310. package/lib/module/icons/network-icon.native.js +1 -0
  311. package/lib/module/icons/query-icon.js +1 -15
  312. package/lib/module/icons/query-icon.native.js +1 -0
  313. package/lib/module/icons/raster-icon.js +1 -0
  314. package/lib/module/icons/redux-icon.js +1 -15
  315. package/lib/module/icons/redux-icon.native.js +1 -0
  316. package/lib/module/icons/renders-icon.js +1 -17
  317. package/lib/module/icons/renders-icon.native.js +1 -0
  318. package/lib/module/icons/riverpod-icon.js +1 -17
  319. package/lib/module/icons/riverpod-icon.native.js +1 -0
  320. package/lib/module/icons/routes-icon.js +1 -41
  321. package/lib/module/icons/routes-icon.native.js +1 -0
  322. package/lib/module/icons/routes-parts.js +1 -0
  323. package/lib/module/icons/scenarios-icon.js +1 -17
  324. package/lib/module/icons/scenarios-icon.native.js +1 -0
  325. package/lib/module/icons/sentry-icon.js +1 -15
  326. package/lib/module/icons/sentry-icon.native.js +1 -0
  327. package/lib/module/icons/settings-icon.js +1 -19
  328. package/lib/module/icons/settings-icon.native.js +1 -0
  329. package/lib/module/icons/storage-icon.js +1 -15
  330. package/lib/module/icons/storage-icon.native.js +1 -0
  331. package/lib/module/icons/time-machine-icon.js +1 -17
  332. package/lib/module/icons/time-machine-icon.native.js +1 -0
  333. package/lib/module/icons/wifi-icon.js +1 -15
  334. package/lib/module/icons/wifi-icon.native.js +1 -0
  335. package/lib/module/icons/zustand-icon.js +1 -17
  336. package/lib/module/icons/zustand-icon.native.js +1 -0
  337. package/lib/module/index.js +1 -128
  338. package/lib/module/settings.js +1 -589
  339. package/lib/module/utils.js +1 -66
  340. package/lib/typescript/commonjs/FloatingToolsStore.d.ts +2 -0
  341. package/lib/typescript/commonjs/dial.d.ts +6 -0
  342. package/lib/typescript/commonjs/floating.d.ts +8 -0
  343. package/lib/typescript/commonjs/fonts.web.d.ts +3 -0
  344. package/lib/typescript/commonjs/icons/ask-buoy-icon.d.ts +1 -13
  345. package/lib/typescript/commonjs/icons/ask-buoy-icon.native.d.ts +4 -0
  346. package/lib/typescript/commonjs/icons/assets-icon.d.ts +1 -12
  347. package/lib/typescript/commonjs/icons/assets-icon.native.d.ts +3 -0
  348. package/lib/typescript/commonjs/icons/benchmark-icon.d.ts +1 -10
  349. package/lib/typescript/commonjs/icons/benchmark-icon.native.d.ts +3 -0
  350. package/lib/typescript/commonjs/icons/bif-raster-icon.d.ts +4 -0
  351. package/lib/typescript/commonjs/icons/bif-raster-icon.native.d.ts +5 -0
  352. package/lib/typescript/commonjs/icons/camera-icon.d.ts +1 -13
  353. package/lib/typescript/commonjs/icons/camera-icon.native.d.ts +3 -0
  354. package/lib/typescript/commonjs/icons/console-icon.d.ts +1 -12
  355. package/lib/typescript/commonjs/icons/console-icon.native.d.ts +4 -0
  356. package/lib/typescript/commonjs/icons/env-icon.d.ts +1 -10
  357. package/lib/typescript/commonjs/icons/env-icon.native.d.ts +3 -0
  358. package/lib/typescript/commonjs/icons/events-icon.d.ts +1 -10
  359. package/lib/typescript/commonjs/icons/events-icon.native.d.ts +3 -0
  360. package/lib/typescript/commonjs/icons/generated/assets-raster.g.d.ts +3 -0
  361. package/lib/typescript/commonjs/icons/generated/benchmark-raster.g.d.ts +3 -0
  362. package/lib/typescript/commonjs/icons/generated/camera-raster.g.d.ts +3 -0
  363. package/lib/typescript/commonjs/icons/generated/env-raster.g.d.ts +3 -0
  364. package/lib/typescript/commonjs/icons/generated/events-raster.g.d.ts +3 -0
  365. package/lib/typescript/commonjs/icons/generated/highlight-raster.g.d.ts +3 -0
  366. package/lib/typescript/commonjs/icons/generated/highlighter-raster.g.d.ts +3 -0
  367. package/lib/typescript/commonjs/icons/generated/icon-data.g.d.ts +26 -1
  368. package/lib/typescript/commonjs/icons/generated/image-overlay-raster.g.d.ts +3 -0
  369. package/lib/typescript/commonjs/icons/generated/images-raster.g.d.ts +3 -0
  370. package/lib/typescript/commonjs/icons/generated/network-raster.g.d.ts +3 -0
  371. package/lib/typescript/commonjs/icons/generated/raster-icons.g.d.ts +13 -0
  372. package/lib/typescript/commonjs/icons/generated/riverpod-raster.g.d.ts +3 -0
  373. package/lib/typescript/commonjs/icons/generated/routes-raster.g.d.ts +3 -0
  374. package/lib/typescript/commonjs/icons/generated/settings-raster.g.d.ts +3 -0
  375. package/lib/typescript/commonjs/icons/generated/storage-raster.g.d.ts +3 -0
  376. package/lib/typescript/commonjs/icons/generated/wifi-raster.g.d.ts +3 -0
  377. package/lib/typescript/commonjs/icons/highlight-icon.d.ts +1 -10
  378. package/lib/typescript/commonjs/icons/highlight-icon.native.d.ts +3 -0
  379. package/lib/typescript/commonjs/icons/highlighter-icon.d.ts +5 -0
  380. package/lib/typescript/commonjs/icons/highlighter-icon.native.d.ts +5 -0
  381. package/lib/typescript/commonjs/icons/image-overlay-icon.d.ts +1 -12
  382. package/lib/typescript/commonjs/icons/image-overlay-icon.native.d.ts +3 -0
  383. package/lib/typescript/commonjs/icons/images-icon.d.ts +1 -12
  384. package/lib/typescript/commonjs/icons/images-icon.native.d.ts +3 -0
  385. package/lib/typescript/commonjs/icons/impersonate-icon.d.ts +1 -12
  386. package/lib/typescript/commonjs/icons/impersonate-icon.native.d.ts +4 -0
  387. package/lib/typescript/commonjs/icons/jotai-icon.d.ts +1 -12
  388. package/lib/typescript/commonjs/icons/jotai-icon.native.d.ts +4 -0
  389. package/lib/typescript/commonjs/icons/network-icon.d.ts +1 -10
  390. package/lib/typescript/commonjs/icons/network-icon.native.d.ts +3 -0
  391. package/lib/typescript/commonjs/icons/query-icon.d.ts +1 -10
  392. package/lib/typescript/commonjs/icons/query-icon.native.d.ts +4 -0
  393. package/lib/typescript/commonjs/icons/raster-icon.d.ts +5 -0
  394. package/lib/typescript/commonjs/icons/redux-icon.d.ts +1 -10
  395. package/lib/typescript/commonjs/icons/redux-icon.native.d.ts +4 -0
  396. package/lib/typescript/commonjs/icons/renders-icon.d.ts +1 -12
  397. package/lib/typescript/commonjs/icons/renders-icon.native.d.ts +2 -0
  398. package/lib/typescript/commonjs/icons/riverpod-icon.d.ts +1 -12
  399. package/lib/typescript/commonjs/icons/riverpod-icon.native.d.ts +3 -0
  400. package/lib/typescript/commonjs/icons/routes-icon.d.ts +2 -30
  401. package/lib/typescript/commonjs/icons/routes-icon.native.d.ts +4 -0
  402. package/lib/typescript/commonjs/icons/routes-parts.d.ts +31 -0
  403. package/lib/typescript/commonjs/icons/scenarios-icon.d.ts +1 -12
  404. package/lib/typescript/commonjs/icons/scenarios-icon.native.d.ts +4 -0
  405. package/lib/typescript/commonjs/icons/sentry-icon.d.ts +1 -10
  406. package/lib/typescript/commonjs/icons/sentry-icon.native.d.ts +4 -0
  407. package/lib/typescript/commonjs/icons/settings-icon.d.ts +0 -13
  408. package/lib/typescript/commonjs/icons/settings-icon.native.d.ts +2 -0
  409. package/lib/typescript/commonjs/icons/storage-icon.d.ts +1 -10
  410. package/lib/typescript/commonjs/icons/storage-icon.native.d.ts +3 -0
  411. package/lib/typescript/commonjs/icons/time-machine-icon.d.ts +1 -12
  412. package/lib/typescript/commonjs/icons/time-machine-icon.native.d.ts +4 -0
  413. package/lib/typescript/commonjs/icons/wifi-icon.d.ts +1 -10
  414. package/lib/typescript/commonjs/icons/wifi-icon.native.d.ts +3 -0
  415. package/lib/typescript/commonjs/icons/zustand-icon.d.ts +1 -12
  416. package/lib/typescript/commonjs/icons/zustand-icon.native.d.ts +4 -0
  417. package/lib/typescript/module/FloatingToolsStore.d.ts +2 -0
  418. package/lib/typescript/module/dial.d.ts +6 -0
  419. package/lib/typescript/module/floating.d.ts +8 -0
  420. package/lib/typescript/module/fonts.web.d.ts +3 -0
  421. package/lib/typescript/module/icons/ask-buoy-icon.d.ts +1 -13
  422. package/lib/typescript/module/icons/ask-buoy-icon.native.d.ts +4 -0
  423. package/lib/typescript/module/icons/assets-icon.d.ts +1 -12
  424. package/lib/typescript/module/icons/assets-icon.native.d.ts +3 -0
  425. package/lib/typescript/module/icons/benchmark-icon.d.ts +1 -10
  426. package/lib/typescript/module/icons/benchmark-icon.native.d.ts +3 -0
  427. package/lib/typescript/module/icons/bif-raster-icon.d.ts +4 -0
  428. package/lib/typescript/module/icons/bif-raster-icon.native.d.ts +5 -0
  429. package/lib/typescript/module/icons/camera-icon.d.ts +1 -13
  430. package/lib/typescript/module/icons/camera-icon.native.d.ts +3 -0
  431. package/lib/typescript/module/icons/console-icon.d.ts +1 -12
  432. package/lib/typescript/module/icons/console-icon.native.d.ts +4 -0
  433. package/lib/typescript/module/icons/env-icon.d.ts +1 -10
  434. package/lib/typescript/module/icons/env-icon.native.d.ts +3 -0
  435. package/lib/typescript/module/icons/events-icon.d.ts +1 -10
  436. package/lib/typescript/module/icons/events-icon.native.d.ts +3 -0
  437. package/lib/typescript/module/icons/generated/assets-raster.g.d.ts +3 -0
  438. package/lib/typescript/module/icons/generated/benchmark-raster.g.d.ts +3 -0
  439. package/lib/typescript/module/icons/generated/camera-raster.g.d.ts +3 -0
  440. package/lib/typescript/module/icons/generated/env-raster.g.d.ts +3 -0
  441. package/lib/typescript/module/icons/generated/events-raster.g.d.ts +3 -0
  442. package/lib/typescript/module/icons/generated/highlight-raster.g.d.ts +3 -0
  443. package/lib/typescript/module/icons/generated/highlighter-raster.g.d.ts +3 -0
  444. package/lib/typescript/module/icons/generated/icon-data.g.d.ts +26 -1
  445. package/lib/typescript/module/icons/generated/image-overlay-raster.g.d.ts +3 -0
  446. package/lib/typescript/module/icons/generated/images-raster.g.d.ts +3 -0
  447. package/lib/typescript/module/icons/generated/network-raster.g.d.ts +3 -0
  448. package/lib/typescript/module/icons/generated/raster-icons.g.d.ts +13 -0
  449. package/lib/typescript/module/icons/generated/riverpod-raster.g.d.ts +3 -0
  450. package/lib/typescript/module/icons/generated/routes-raster.g.d.ts +3 -0
  451. package/lib/typescript/module/icons/generated/settings-raster.g.d.ts +3 -0
  452. package/lib/typescript/module/icons/generated/storage-raster.g.d.ts +3 -0
  453. package/lib/typescript/module/icons/generated/wifi-raster.g.d.ts +3 -0
  454. package/lib/typescript/module/icons/highlight-icon.d.ts +1 -10
  455. package/lib/typescript/module/icons/highlight-icon.native.d.ts +3 -0
  456. package/lib/typescript/module/icons/highlighter-icon.d.ts +5 -0
  457. package/lib/typescript/module/icons/highlighter-icon.native.d.ts +5 -0
  458. package/lib/typescript/module/icons/image-overlay-icon.d.ts +1 -12
  459. package/lib/typescript/module/icons/image-overlay-icon.native.d.ts +3 -0
  460. package/lib/typescript/module/icons/images-icon.d.ts +1 -12
  461. package/lib/typescript/module/icons/images-icon.native.d.ts +3 -0
  462. package/lib/typescript/module/icons/impersonate-icon.d.ts +1 -12
  463. package/lib/typescript/module/icons/impersonate-icon.native.d.ts +4 -0
  464. package/lib/typescript/module/icons/jotai-icon.d.ts +1 -12
  465. package/lib/typescript/module/icons/jotai-icon.native.d.ts +4 -0
  466. package/lib/typescript/module/icons/network-icon.d.ts +1 -10
  467. package/lib/typescript/module/icons/network-icon.native.d.ts +3 -0
  468. package/lib/typescript/module/icons/query-icon.d.ts +1 -10
  469. package/lib/typescript/module/icons/query-icon.native.d.ts +4 -0
  470. package/lib/typescript/module/icons/raster-icon.d.ts +5 -0
  471. package/lib/typescript/module/icons/redux-icon.d.ts +1 -10
  472. package/lib/typescript/module/icons/redux-icon.native.d.ts +4 -0
  473. package/lib/typescript/module/icons/renders-icon.d.ts +1 -12
  474. package/lib/typescript/module/icons/renders-icon.native.d.ts +2 -0
  475. package/lib/typescript/module/icons/riverpod-icon.d.ts +1 -12
  476. package/lib/typescript/module/icons/riverpod-icon.native.d.ts +3 -0
  477. package/lib/typescript/module/icons/routes-icon.d.ts +2 -30
  478. package/lib/typescript/module/icons/routes-icon.native.d.ts +4 -0
  479. package/lib/typescript/module/icons/routes-parts.d.ts +31 -0
  480. package/lib/typescript/module/icons/scenarios-icon.d.ts +1 -12
  481. package/lib/typescript/module/icons/scenarios-icon.native.d.ts +4 -0
  482. package/lib/typescript/module/icons/sentry-icon.d.ts +1 -10
  483. package/lib/typescript/module/icons/sentry-icon.native.d.ts +4 -0
  484. package/lib/typescript/module/icons/settings-icon.d.ts +0 -13
  485. package/lib/typescript/module/icons/settings-icon.native.d.ts +2 -0
  486. package/lib/typescript/module/icons/storage-icon.d.ts +1 -10
  487. package/lib/typescript/module/icons/storage-icon.native.d.ts +3 -0
  488. package/lib/typescript/module/icons/time-machine-icon.d.ts +1 -12
  489. package/lib/typescript/module/icons/time-machine-icon.native.d.ts +4 -0
  490. package/lib/typescript/module/icons/wifi-icon.d.ts +1 -10
  491. package/lib/typescript/module/icons/wifi-icon.native.d.ts +3 -0
  492. package/lib/typescript/module/icons/zustand-icon.d.ts +1 -12
  493. package/lib/typescript/module/icons/zustand-icon.native.d.ts +4 -0
  494. package/package.json +23 -3
  495. package/lib/typescript/commonjs/FloatingToolsStore.d.ts.map +0 -1
  496. package/lib/typescript/commonjs/colors.d.ts.map +0 -1
  497. package/lib/typescript/commonjs/constants.d.ts.map +0 -1
  498. package/lib/typescript/commonjs/devToolsState.d.ts.map +0 -1
  499. package/lib/typescript/commonjs/dial.d.ts.map +0 -1
  500. package/lib/typescript/commonjs/dialUsage.d.ts.map +0 -1
  501. package/lib/typescript/commonjs/easing.d.ts.map +0 -1
  502. package/lib/typescript/commonjs/fonts.d.ts.map +0 -1
  503. package/lib/typescript/commonjs/icons/ask-buoy-icon.d.ts.map +0 -1
  504. package/lib/typescript/commonjs/icons/assets-icon.d.ts.map +0 -1
  505. package/lib/typescript/commonjs/icons/benchmark-icon.d.ts.map +0 -1
  506. package/lib/typescript/commonjs/icons/camera-icon.d.ts.map +0 -1
  507. package/lib/typescript/commonjs/icons/console-icon.d.ts.map +0 -1
  508. package/lib/typescript/commonjs/icons/env-icon.d.ts.map +0 -1
  509. package/lib/typescript/commonjs/icons/events-icon.d.ts.map +0 -1
  510. package/lib/typescript/commonjs/icons/generated/glyph-icons.g.d.ts.map +0 -1
  511. package/lib/typescript/commonjs/icons/generated/icon-data.g.d.ts.map +0 -1
  512. package/lib/typescript/commonjs/icons/highlight-icon.d.ts.map +0 -1
  513. package/lib/typescript/commonjs/icons/icon-factories.d.ts.map +0 -1
  514. package/lib/typescript/commonjs/icons/icon-primitives.d.ts.map +0 -1
  515. package/lib/typescript/commonjs/icons/icon-primitives.native.d.ts.map +0 -1
  516. package/lib/typescript/commonjs/icons/icon-renderer.d.ts.map +0 -1
  517. package/lib/typescript/commonjs/icons/iconGlow.d.ts.map +0 -1
  518. package/lib/typescript/commonjs/icons/image-overlay-icon.d.ts.map +0 -1
  519. package/lib/typescript/commonjs/icons/images-icon.d.ts.map +0 -1
  520. package/lib/typescript/commonjs/icons/impersonate-icon.d.ts.map +0 -1
  521. package/lib/typescript/commonjs/icons/jotai-icon.d.ts.map +0 -1
  522. package/lib/typescript/commonjs/icons/network-icon.d.ts.map +0 -1
  523. package/lib/typescript/commonjs/icons/query-icon.d.ts.map +0 -1
  524. package/lib/typescript/commonjs/icons/redux-icon.d.ts.map +0 -1
  525. package/lib/typescript/commonjs/icons/renders-icon.d.ts.map +0 -1
  526. package/lib/typescript/commonjs/icons/riverpod-icon.d.ts.map +0 -1
  527. package/lib/typescript/commonjs/icons/routes-icon.d.ts.map +0 -1
  528. package/lib/typescript/commonjs/icons/scenarios-icon.d.ts.map +0 -1
  529. package/lib/typescript/commonjs/icons/sentry-icon.d.ts.map +0 -1
  530. package/lib/typescript/commonjs/icons/settings-icon.d.ts.map +0 -1
  531. package/lib/typescript/commonjs/icons/storage-icon.d.ts.map +0 -1
  532. package/lib/typescript/commonjs/icons/time-machine-icon.d.ts.map +0 -1
  533. package/lib/typescript/commonjs/icons/wifi-icon.d.ts.map +0 -1
  534. package/lib/typescript/commonjs/icons/zustand-icon.d.ts.map +0 -1
  535. package/lib/typescript/commonjs/index.d.ts.map +0 -1
  536. package/lib/typescript/commonjs/settings.d.ts.map +0 -1
  537. package/lib/typescript/commonjs/types.d.ts.map +0 -1
  538. package/lib/typescript/commonjs/utils.d.ts.map +0 -1
  539. package/lib/typescript/module/FloatingToolsStore.d.ts.map +0 -1
  540. package/lib/typescript/module/colors.d.ts.map +0 -1
  541. package/lib/typescript/module/constants.d.ts.map +0 -1
  542. package/lib/typescript/module/devToolsState.d.ts.map +0 -1
  543. package/lib/typescript/module/dial.d.ts.map +0 -1
  544. package/lib/typescript/module/dialUsage.d.ts.map +0 -1
  545. package/lib/typescript/module/easing.d.ts.map +0 -1
  546. package/lib/typescript/module/fonts.d.ts.map +0 -1
  547. package/lib/typescript/module/icons/ask-buoy-icon.d.ts.map +0 -1
  548. package/lib/typescript/module/icons/assets-icon.d.ts.map +0 -1
  549. package/lib/typescript/module/icons/benchmark-icon.d.ts.map +0 -1
  550. package/lib/typescript/module/icons/camera-icon.d.ts.map +0 -1
  551. package/lib/typescript/module/icons/console-icon.d.ts.map +0 -1
  552. package/lib/typescript/module/icons/env-icon.d.ts.map +0 -1
  553. package/lib/typescript/module/icons/events-icon.d.ts.map +0 -1
  554. package/lib/typescript/module/icons/generated/glyph-icons.g.d.ts.map +0 -1
  555. package/lib/typescript/module/icons/generated/icon-data.g.d.ts.map +0 -1
  556. package/lib/typescript/module/icons/highlight-icon.d.ts.map +0 -1
  557. package/lib/typescript/module/icons/icon-factories.d.ts.map +0 -1
  558. package/lib/typescript/module/icons/icon-primitives.d.ts.map +0 -1
  559. package/lib/typescript/module/icons/icon-primitives.native.d.ts.map +0 -1
  560. package/lib/typescript/module/icons/icon-renderer.d.ts.map +0 -1
  561. package/lib/typescript/module/icons/iconGlow.d.ts.map +0 -1
  562. package/lib/typescript/module/icons/image-overlay-icon.d.ts.map +0 -1
  563. package/lib/typescript/module/icons/images-icon.d.ts.map +0 -1
  564. package/lib/typescript/module/icons/impersonate-icon.d.ts.map +0 -1
  565. package/lib/typescript/module/icons/jotai-icon.d.ts.map +0 -1
  566. package/lib/typescript/module/icons/network-icon.d.ts.map +0 -1
  567. package/lib/typescript/module/icons/query-icon.d.ts.map +0 -1
  568. package/lib/typescript/module/icons/redux-icon.d.ts.map +0 -1
  569. package/lib/typescript/module/icons/renders-icon.d.ts.map +0 -1
  570. package/lib/typescript/module/icons/riverpod-icon.d.ts.map +0 -1
  571. package/lib/typescript/module/icons/routes-icon.d.ts.map +0 -1
  572. package/lib/typescript/module/icons/scenarios-icon.d.ts.map +0 -1
  573. package/lib/typescript/module/icons/sentry-icon.d.ts.map +0 -1
  574. package/lib/typescript/module/icons/settings-icon.d.ts.map +0 -1
  575. package/lib/typescript/module/icons/storage-icon.d.ts.map +0 -1
  576. package/lib/typescript/module/icons/time-machine-icon.d.ts.map +0 -1
  577. package/lib/typescript/module/icons/wifi-icon.d.ts.map +0 -1
  578. package/lib/typescript/module/icons/zustand-icon.d.ts.map +0 -1
  579. package/lib/typescript/module/index.d.ts.map +0 -1
  580. package/lib/typescript/module/settings.d.ts.map +0 -1
  581. package/lib/typescript/module/types.d.ts.map +0 -1
  582. package/lib/typescript/module/utils.d.ts.map +0 -1
@@ -1,307 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.createIcon = createIcon;
7
- exports.renderIconData = renderIconData;
8
- var _react = require("react");
9
- var _iconPrimitives = require("./icon-primitives");
10
- var _jsxRuntime = require("react/jsx-runtime");
11
- /**
12
- * Icon Renderer - Transforms icon data to components
13
- *
14
- * ONE renderer for ALL icons. Icons are just data.
15
- */
16
-
17
- // ===========================================
18
- // Icon Data Types
19
- // ===========================================
20
-
21
- /**
22
- * Line element - draws a line between two points
23
- * Much cleaner than using rotated rectangles!
24
- * Supports optional curve via cubic Bezier with 2 control points.
25
- */
26
-
27
- /**
28
- * Triangle element - creates arrows/chevrons using CSS border trick
29
- * Works in pure React Native!
30
- */
31
-
32
- /**
33
- * Arc element - creates curved segments (WiFi bars, circular progress)
34
- * Rendered as multiple line segments approximating a curve.
35
- */
36
-
37
- /**
38
- * Semicircle element - creates a half circle (filled)
39
- * Perfect for pokeball-style split designs!
40
- */
41
-
42
- /**
43
- * SmoothArc element - creates a smooth arc using the border trick
44
- * Uses bordered circles with partial borders hidden - gives perfect anti-aliased curves!
45
- * This is the "clever trick" for WiFi-style arcs.
46
- */
47
-
48
- /**
49
- * Text element - a short label (sign lettering, badges).
50
- * Currently TS targets only: icons containing text are excluded from the
51
- * Flutter/NativeScript generators until those renderers support it.
52
- */
53
-
54
- // ===========================================
55
- // Color Utilities
56
- // ===========================================
57
-
58
- /**
59
- * Converts hex color to rgba with opacity
60
- * Supports 3-char (#RGB), 6-char (#RRGGBB), and 8-char (#RRGGBBAA) hex
61
- */
62
- function hexToRgba(hex, opacity) {
63
- // Remove # if present
64
- const h = hex.replace('#', '');
65
-
66
- // Parse based on length
67
- let r, g, b;
68
- if (h.length === 3) {
69
- r = parseInt(h[0] + h[0], 16);
70
- g = parseInt(h[1] + h[1], 16);
71
- b = parseInt(h[2] + h[2], 16);
72
- } else if (h.length >= 6) {
73
- r = parseInt(h.substring(0, 2), 16);
74
- g = parseInt(h.substring(2, 4), 16);
75
- b = parseInt(h.substring(4, 6), 16);
76
- } else {
77
- return hex; // Invalid format, return as-is
78
- }
79
- return `rgba(${r}, ${g}, ${b}, ${opacity})`;
80
- }
81
-
82
- /**
83
- * Resolves ColorRef syntax to actual color value
84
- *
85
- * Supports:
86
- * - 'color' → theme color
87
- * - 'bg' → background color
88
- * - 'color:50' → theme color at 50% opacity
89
- * - 'bg:30' → background color at 30% opacity
90
- * - '#FF0000' → raw hex color
91
- * - '#FF0000:50' → raw hex at 50% opacity
92
- */
93
- function resolveColor(fill, color, bgColor) {
94
- if (!fill) return undefined;
95
-
96
- // Check for opacity suffix (e.g., 'color:50' or '#FF0000:80')
97
- const colonIndex = fill.lastIndexOf(':');
98
- let baseFill = fill;
99
- let opacity = 1;
100
-
101
- // Only treat as opacity if the part after colon is a valid number
102
- if (colonIndex > 0) {
103
- const opacityStr = fill.substring(colonIndex + 1);
104
- const parsedOpacity = parseInt(opacityStr, 10);
105
- if (!isNaN(parsedOpacity) && parsedOpacity >= 0 && parsedOpacity <= 100) {
106
- baseFill = fill.substring(0, colonIndex);
107
- opacity = parsedOpacity / 100;
108
- }
109
- }
110
-
111
- // Resolve the base color
112
- let resolvedColor;
113
- if (baseFill === 'color') {
114
- resolvedColor = color;
115
- } else if (baseFill === 'bg') {
116
- resolvedColor = bgColor;
117
- } else {
118
- resolvedColor = baseFill;
119
- }
120
-
121
- // Apply opacity if needed
122
- if (opacity < 1 && resolvedColor.startsWith('#')) {
123
- return hexToRgba(resolvedColor, opacity);
124
- }
125
- return resolvedColor;
126
- }
127
-
128
- // ===========================================
129
- // Icon Renderer
130
- // ===========================================
131
-
132
- function renderIconData(data, size, colorOverride, bgColorOverride,
133
- /**
134
- * REPLACES every authored stroke and border width (it does not scale them) —
135
- * lucide's `strokeWidth` prop, for the uniform-weight GLYPH tier whose weight
136
- * is caller-controlled. Applying it to a brand icon whose elements
137
- * deliberately vary in weight would flatten it, so only the glyph components
138
- * pass it. The Flutter twin is `BuoyIconPainter.strokeWidthOverride`.
139
- */
140
- strokeWidthOverride, /** Merged over the icon's box — the lucide components' `style` passthrough. */
141
- style) {
142
- const scale = size / 24;
143
- /** An authored width in icon units → pixels, honouring the override. */
144
- const sw = authored => (strokeWidthOverride ?? authored) * scale;
145
- const center = size / 2;
146
- // Use colorOverride if provided, otherwise use the icon's default color
147
- const color = colorOverride ?? data.color;
148
- // Use bgColorOverride if provided, otherwise use the icon's default bgColor
149
- const bgColor = bgColorOverride ?? data.bgColor;
150
- const elements = data.elements;
151
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_iconPrimitives.IconContainer, {
152
- size: size,
153
- style: style,
154
- children: elements.map((el, i) => {
155
- if (el.type === 'circle') {
156
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_iconPrimitives.IconCircle, {
157
- cx: center + el.cx * scale,
158
- cy: center + el.cy * scale,
159
- r: el.r * scale,
160
- fill: resolveColor(el.fill, color, bgColor),
161
- borderColor: el.border ? resolveColor(el.borderColor, color, bgColor) ?? color : undefined,
162
- borderWidth: el.border ? sw(el.borderWidth ?? 2) : 0,
163
- opacity: el.opacity,
164
- scaleX: el.scaleX,
165
- scaleY: el.scaleY,
166
- glowColor: el.glow ? color : undefined,
167
- glowRadius: el.glow ? (el.glowRadius ?? 4) * scale : 0,
168
- rotation: el.rotation
169
- }, i);
170
- }
171
- if (el.type === 'rect') {
172
- // Determine rotation origin:
173
- // - rotateFromCenter: true = rotate from center (0.5, 0.5) - for symmetric elements
174
- // - rotateFromCenter: false/undefined = rotate from left edge (0, 0.5) - for lines starting from a point
175
- const originX = el.rotation !== undefined ? el.rotateFromCenter ? 0.5 : 0 : 0.5;
176
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_iconPrimitives.IconRect, {
177
- x: center + el.x * scale,
178
- y: center + el.y * scale,
179
- width: el.width * scale,
180
- height: el.height * scale,
181
- fill: resolveColor(el.fill, color, bgColor),
182
- borderColor: el.border ? resolveColor(el.borderColor, color, bgColor) ?? color : undefined,
183
- borderWidth: el.border ? sw(el.borderWidth ?? 1) : 0,
184
- borderRadius: (el.borderRadius ?? 0) * scale,
185
- opacity: el.opacity,
186
- glowColor: el.glow ? color : undefined,
187
- glowRadius: el.glow ? (el.glowRadius ?? 4) * scale : 0,
188
- rotation: el.rotation,
189
- originX: originX,
190
- originY: 0.5
191
- }, i);
192
- }
193
- if (el.type === 'line') {
194
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_iconPrimitives.IconLine, {
195
- x1: center + el.x1 * scale,
196
- y1: center + el.y1 * scale,
197
- x2: center + el.x2 * scale,
198
- y2: center + el.y2 * scale,
199
- stroke: resolveColor(el.stroke ?? 'color', color, bgColor),
200
- strokeWidth: sw(el.strokeWidth ?? 1),
201
- opacity: el.opacity,
202
- glowColor: el.glow ? color : undefined,
203
- glowRadius: el.glow ? (el.glowRadius ?? 4) * scale : 0,
204
- rotation: el.rotation,
205
- curveX: el.curveX !== undefined ? el.curveX * scale : undefined,
206
- curveY: el.curveY !== undefined ? el.curveY * scale : undefined,
207
- curve2X: el.curve2X !== undefined ? el.curve2X * scale : undefined,
208
- curve2Y: el.curve2Y !== undefined ? el.curve2Y * scale : undefined
209
- }, i);
210
- }
211
- if (el.type === 'triangle') {
212
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_iconPrimitives.IconTriangle, {
213
- x: center + el.x * scale,
214
- y: center + el.y * scale,
215
- size: el.size * scale,
216
- direction: el.direction,
217
- fill: resolveColor(el.fill ?? 'color', color, bgColor),
218
- opacity: el.opacity,
219
- rotation: el.rotation
220
- }, i);
221
- }
222
- if (el.type === 'arc') {
223
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_iconPrimitives.IconArc, {
224
- cx: center + el.cx * scale,
225
- cy: center + el.cy * scale,
226
- r: el.r * scale,
227
- startAngle: el.startAngle,
228
- endAngle: el.endAngle,
229
- stroke: resolveColor(el.stroke ?? 'color', color, bgColor),
230
- strokeWidth: sw(el.strokeWidth ?? 1.5),
231
- opacity: el.opacity,
232
- segments: el.segments
233
- }, i);
234
- }
235
- if (el.type === 'semicircle') {
236
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_iconPrimitives.IconSemicircle, {
237
- cx: center + el.cx * scale,
238
- cy: center + el.cy * scale,
239
- r: el.r * scale,
240
- half: el.half,
241
- fill: resolveColor(el.fill, color, bgColor),
242
- borderColor: el.border ? resolveColor(el.borderColor, color, bgColor) ?? color : undefined,
243
- borderWidth: el.border ? sw(el.borderWidth ?? 2) : 0,
244
- opacity: el.opacity,
245
- glowColor: el.glow ? color : undefined,
246
- glowRadius: el.glow ? (el.glowRadius ?? 4) * scale : 0
247
- }, i);
248
- }
249
- if (el.type === 'text') {
250
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_iconPrimitives.IconText, {
251
- x: center + el.x * scale,
252
- y: center + el.y * scale,
253
- text: el.text,
254
- fontSize: (el.size ?? 2) * scale,
255
- fontWeight: el.weight,
256
- align: el.align,
257
- letterSpacing: el.letterSpacing !== undefined ? el.letterSpacing * scale : undefined,
258
- fill: resolveColor(el.fill ?? 'color', color, bgColor),
259
- opacity: el.opacity,
260
- rotation: el.rotation
261
- }, i);
262
- }
263
- if (el.type === 'smootharc') {
264
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_iconPrimitives.IconSmoothArc, {
265
- cx: center + el.cx * scale,
266
- cy: center + el.cy * scale,
267
- r: el.r * scale,
268
- stroke: resolveColor(el.stroke ?? 'color', color, bgColor),
269
- strokeWidth: sw(el.strokeWidth ?? 2),
270
- opacity: el.opacity,
271
- portion: el.portion ?? 'bottom'
272
- }, i);
273
- }
274
- return null;
275
- })
276
- });
277
- }
278
-
279
- // ===========================================
280
- // Icon Factory
281
- // ===========================================
282
-
283
- /**
284
- * A Buoy icon component. Deliberately NOT `FC`: React's `FunctionComponent`
285
- * type admits an async component (`Promise<ReactNode>`), so an `FC` is not
286
- * assignable to the plain `(props) => ReactNode` slots callers declare for an
287
- * icon — which is what the hand-drawn lucide components used to satisfy.
288
- */
289
-
290
- function createIcon(data, opts) {
291
- // Memoised because every prop is a primitive and the body is expensive: an
292
- // icon rebuilds one element per shape in its data (dozens, for the detailed
293
- // ones) on every render. Without this, any parent re-render — a settings
294
- // toggle, a modal state change — re-does that work for every icon on screen
295
- // even though nothing about the icon changed.
296
- const Icon = ({
297
- size = 24,
298
- color,
299
- bgColor,
300
- strokeWidth,
301
- style
302
- }) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
303
- children: renderIconData(data, size, color, bgColor, opts?.glyph ? strokeWidth : undefined, style)
304
- });
305
- Icon.displayName = 'Icon';
306
- return /*#__PURE__*/(0, _react.memo)(Icon);
307
- }
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createIcon=createIcon,exports.renderIconData=renderIconData;var _react=require("react"),_iconPrimitives=require("./icon-primitives"),_jsxRuntime=require("react/jsx-runtime");function hexToRgba(o,r){const e=o.replace("#","");let i,t,n;if(3===e.length)i=parseInt(e[0]+e[0],16),t=parseInt(e[1]+e[1],16),n=parseInt(e[2]+e[2],16);else{if(!(e.length>=6))return o;i=parseInt(e.substring(0,2),16),t=parseInt(e.substring(2,4),16),n=parseInt(e.substring(4,6),16)}return`rgba(${i}, ${t}, ${n}, ${r})`}function resolveColor(o,r,e){if(!o)return;const i=o.lastIndexOf(":");let t,n=o,c=1;if(i>0){const r=o.substring(i+1),e=parseInt(r,10);!isNaN(e)&&e>=0&&e<=100&&(n=o.substring(0,i),c=e/100)}return t="color"===n?r:"bg"===n?e:n,c<1&&t.startsWith("#")?hexToRgba(t,c):t}function renderIconData(o,r,e,i,t,n){const c=r/24,l=o=>(t??o)*c,s=r/2,a=e??o.color,d=i??o.bgColor,u=o.elements;return(0,_jsxRuntime.jsx)(_iconPrimitives.IconContainer,{size:r,style:n,children:u.map((o,r)=>{if("circle"===o.type)return(0,_jsxRuntime.jsx)(_iconPrimitives.IconCircle,{cx:s+o.cx*c,cy:s+o.cy*c,r:o.r*c,fill:resolveColor(o.fill,a,d),borderColor:o.border?resolveColor(o.borderColor,a,d)??a:void 0,borderWidth:o.border?l(o.borderWidth??2):0,opacity:o.opacity,scaleX:o.scaleX,scaleY:o.scaleY,glowColor:o.glow?a:void 0,glowRadius:o.glow?(o.glowRadius??4)*c:0,rotation:o.rotation},r);if("rect"===o.type){const e=void 0!==o.rotation?o.rotateFromCenter?.5:0:.5;return(0,_jsxRuntime.jsx)(_iconPrimitives.IconRect,{x:s+o.x*c,y:s+o.y*c,width:o.width*c,height:o.height*c,fill:resolveColor(o.fill,a,d),borderColor:o.border?resolveColor(o.borderColor,a,d)??a:void 0,borderWidth:o.border?l(o.borderWidth??1):0,borderRadius:(o.borderRadius??0)*c,opacity:o.opacity,glowColor:o.glow?a:void 0,glowRadius:o.glow?(o.glowRadius??4)*c:0,rotation:o.rotation,originX:e,originY:.5},r)}return"line"===o.type?(0,_jsxRuntime.jsx)(_iconPrimitives.IconLine,{x1:s+o.x1*c,y1:s+o.y1*c,x2:s+o.x2*c,y2:s+o.y2*c,stroke:resolveColor(o.stroke??"color",a,d),strokeWidth:l(o.strokeWidth??1),opacity:o.opacity,glowColor:o.glow?a:void 0,glowRadius:o.glow?(o.glowRadius??4)*c:0,rotation:o.rotation,curveX:void 0!==o.curveX?o.curveX*c:void 0,curveY:void 0!==o.curveY?o.curveY*c:void 0,curve2X:void 0!==o.curve2X?o.curve2X*c:void 0,curve2Y:void 0!==o.curve2Y?o.curve2Y*c:void 0},r):"triangle"===o.type?(0,_jsxRuntime.jsx)(_iconPrimitives.IconTriangle,{x:s+o.x*c,y:s+o.y*c,size:o.size*c,direction:o.direction,fill:resolveColor(o.fill??"color",a,d),opacity:o.opacity,rotation:o.rotation},r):"arc"===o.type?(0,_jsxRuntime.jsx)(_iconPrimitives.IconArc,{cx:s+o.cx*c,cy:s+o.cy*c,r:o.r*c,startAngle:o.startAngle,endAngle:o.endAngle,stroke:resolveColor(o.stroke??"color",a,d),strokeWidth:l(o.strokeWidth??1.5),opacity:o.opacity,segments:o.segments},r):"semicircle"===o.type?(0,_jsxRuntime.jsx)(_iconPrimitives.IconSemicircle,{cx:s+o.cx*c,cy:s+o.cy*c,r:o.r*c,half:o.half,fill:resolveColor(o.fill,a,d),borderColor:o.border?resolveColor(o.borderColor,a,d)??a:void 0,borderWidth:o.border?l(o.borderWidth??2):0,opacity:o.opacity,glowColor:o.glow?a:void 0,glowRadius:o.glow?(o.glowRadius??4)*c:0},r):"text"===o.type?(0,_jsxRuntime.jsx)(_iconPrimitives.IconText,{x:s+o.x*c,y:s+o.y*c,text:o.text,fontSize:(o.size??2)*c,fontWeight:o.weight,align:o.align,letterSpacing:void 0!==o.letterSpacing?o.letterSpacing*c:void 0,fill:resolveColor(o.fill??"color",a,d),opacity:o.opacity,rotation:o.rotation},r):"smootharc"===o.type?(0,_jsxRuntime.jsx)(_iconPrimitives.IconSmoothArc,{cx:s+o.cx*c,cy:s+o.cy*c,r:o.r*c,stroke:resolveColor(o.stroke??"color",a,d),strokeWidth:l(o.strokeWidth??2),opacity:o.opacity,portion:o.portion??"bottom"},r):null})})}function createIcon(o,r){const e=({size:e=24,color:i,bgColor:t,strokeWidth:n,style:c})=>(0,_jsxRuntime.jsx)(_jsxRuntime.Fragment,{children:renderIconData(o,e,i,t,r?.glyph?n:void 0,c)});return e.displayName="Icon",(0,_react.memo)(e)}
@@ -1,32 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.ICON_GLOW = void 0;
7
- /**
8
- * Icon glow — the numbers behind every `glow: true` element, in ONE table so the ports read
9
- * them instead of re-typing them (`pnpm parity styles` → Swift/Dart constants).
10
- *
11
- * RN renders a glow as a CALayer shadow. A filled element casts its own shadow; a border-only
12
- * ring or a line gets a separate "glow layer" View drawn underneath (RN shadows need a
13
- * background colour), with its own opacity and a FIXED shadow radius in points.
14
- */
15
- const ICON_GLOW = exports.ICON_GLOW = {
16
- /** Filled circle / rect: `shadowOpacity` and `shadowRadius = glowRadius × this`. */
17
- filledShadowOpacity: 0.9,
18
- filledRadiusScale: 0.8,
19
- /** Border-only circle: black-filled twin ring under the real one. */
20
- ringLayerOpacity: 0.5,
21
- ringShadowOpacity: 0.9,
22
- ringShadowRadius: 8,
23
- /** Line: same line in the glow colour under the real one. */
24
- lineLayerOpacity: 0.5,
25
- lineShadowOpacity: 0.9,
26
- lineShadowRadius: 8,
27
- /** Border-only rect: twin expanded by the stroke width, border `strokeW × borderScale`. */
28
- rectLayerOpacity: 0.4,
29
- rectShadowOpacity: 0.8,
30
- rectBorderScale: 2,
31
- rectShadowRadiusScale: 4
32
- };
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ICON_GLOW=void 0;const ICON_GLOW=exports.ICON_GLOW={filledShadowOpacity:.9,filledRadiusScale:.8,ringLayerOpacity:.5,ringShadowOpacity:.9,ringShadowRadius:8,lineLayerOpacity:.5,lineShadowOpacity:.9,lineShadowRadius:8,rectLayerOpacity:.4,rectShadowOpacity:.8,rectBorderScale:2,rectShadowRadiusScale:4};
@@ -1,26 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "IMAGE_OVERLAY_ICON_COLOR", {
7
- enumerable: true,
8
- get: function () {
9
- return _iconDataG.IMAGE_OVERLAY_ICON_COLOR;
10
- }
11
- });
12
- exports.ImageOverlayIcon = void 0;
13
- var _iconRenderer = require("./icon-renderer.js");
14
- var _iconDataG = require("./generated/icon-data.g.js");
15
- /**
16
- * ImageOverlayIcon - Data-driven icon
17
- *
18
- * Layered image frames with a mountain/sun motif.
19
- *
20
- * Defined as pure data in shared/icons/image-overlay.json (Buoy Icon Format), so this
21
- * is the same artwork the Flutter build renders.
22
- *
23
- * To change: edit that JSON, then run `node scripts/gen-icons.mjs`.
24
- */
25
-
26
- const ImageOverlayIcon = exports.ImageOverlayIcon = (0, _iconRenderer.createIcon)(_iconDataG.imageOverlayIconData);
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"IMAGE_OVERLAY_ICON_COLOR",{enumerable:!0,get:function(){return _iconDataG.IMAGE_OVERLAY_ICON_COLOR}}),exports.ImageOverlayIcon=void 0;var _bifRasterIcon=require("./bif-raster-icon"),_iconDataG=require("./generated/icon-data.g.js"),_imageOverlayRasterG=_interopRequireDefault(require("./generated/image-overlay-raster.g.js"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const ImageOverlayIcon=exports.ImageOverlayIcon=(0,_bifRasterIcon.createBifRasterIcon)(_iconDataG.imageOverlayIconData,_imageOverlayRasterG.default,3);
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"IMAGE_OVERLAY_ICON_COLOR",{enumerable:!0,get:function(){return _iconDataG.IMAGE_OVERLAY_ICON_COLOR}}),exports.ImageOverlayIcon=void 0;var _bifRasterIcon=require("./bif-raster-icon"),_iconDataG=require("./generated/icon-data.g.js");const ImageOverlayIcon=exports.ImageOverlayIcon=(0,_bifRasterIcon.createBifRasterIcon)(_iconDataG.imageOverlayIconData,require("./assets/image-overlay.png"),3);
@@ -1,26 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "IMAGES_ICON_COLOR", {
7
- enumerable: true,
8
- get: function () {
9
- return _iconDataG.IMAGES_ICON_COLOR;
10
- }
11
- });
12
- exports.ImagesIcon = void 0;
13
- var _iconRenderer = require("./icon-renderer.js");
14
- var _iconDataG = require("./generated/icon-data.g.js");
15
- /**
16
- * ImagesIcon - Data-driven icon
17
- *
18
- * Photo frame with a sun and a mountain range.
19
- *
20
- * Defined as pure data in shared/icons/images.json (Buoy Icon Format), so this
21
- * is the same artwork the Flutter build renders.
22
- *
23
- * To change: edit that JSON, then run `node scripts/gen-icons.mjs`.
24
- */
25
-
26
- const ImagesIcon = exports.ImagesIcon = (0, _iconRenderer.createIcon)(_iconDataG.imagesIconData);
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"IMAGES_ICON_COLOR",{enumerable:!0,get:function(){return _iconDataG.IMAGES_ICON_COLOR}}),exports.ImagesIcon=void 0;var _bifRasterIcon=require("./bif-raster-icon"),_iconDataG=require("./generated/icon-data.g.js"),_imagesRasterG=_interopRequireDefault(require("./generated/images-raster.g.js"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const ImagesIcon=exports.ImagesIcon=(0,_bifRasterIcon.createBifRasterIcon)(_iconDataG.imagesIconData,_imagesRasterG.default,9);
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"IMAGES_ICON_COLOR",{enumerable:!0,get:function(){return _iconDataG.IMAGES_ICON_COLOR}}),exports.ImagesIcon=void 0;var _bifRasterIcon=require("./bif-raster-icon"),_iconDataG=require("./generated/icon-data.g.js");const ImagesIcon=exports.ImagesIcon=(0,_bifRasterIcon.createBifRasterIcon)(_iconDataG.imagesIconData,require("./assets/images.png"),9);
@@ -1,26 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "IMPERSONATE_ICON_COLOR", {
7
- enumerable: true,
8
- get: function () {
9
- return _iconDataG.IMPERSONATE_ICON_COLOR;
10
- }
11
- });
12
- exports.ImpersonateIcon = void 0;
13
- var _iconRenderer = require("./icon-renderer.js");
14
- var _iconDataG = require("./generated/icon-data.g.js");
15
- /**
16
- * ImpersonateIcon - Data-driven icon
17
- *
18
- * A masked figure with a second identity behind it.
19
- *
20
- * Defined as pure data in shared/icons/impersonate.json (Buoy Icon Format), so this
21
- * is the same artwork the Flutter build renders.
22
- *
23
- * To change: edit that JSON, then run `node scripts/gen-icons.mjs`.
24
- */
25
-
26
- const ImpersonateIcon = exports.ImpersonateIcon = (0, _iconRenderer.createIcon)(_iconDataG.impersonateIconData);
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"IMPERSONATE_ICON_COLOR",{enumerable:!0,get:function(){return _iconDataG.IMPERSONATE_ICON_COLOR}}),exports.ImpersonateIcon=void 0;var _rasterIcon=require("./raster-icon.js"),_iconDataG=require("./generated/icon-data.g.js");const ImpersonateIcon=exports.ImpersonateIcon=(0,_rasterIcon.createRasterIcon)("impersonate");
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"IMPERSONATE_ICON_COLOR",{enumerable:!0,get:function(){return _iconDataG.IMPERSONATE_ICON_COLOR}}),exports.ImpersonateIcon=ImpersonateIcon;var _reactNative=require("react-native"),_jsxRuntime=require("react/jsx-runtime"),_iconDataG=require("./generated/icon-data.g.js");const source=require("./assets/impersonate.png");function ImpersonateIcon({size:e=24,style:t}){return(0,_jsxRuntime.jsx)(_reactNative.Image,{source:source,resizeMode:"contain",fadeDuration:0,accessible:!1,style:[{width:e,height:e},t]})}
@@ -1,26 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "JOTAI_ICON_COLOR", {
7
- enumerable: true,
8
- get: function () {
9
- return _iconDataG.JOTAI_ICON_COLOR;
10
- }
11
- });
12
- exports.JotaiIcon = void 0;
13
- var _iconRenderer = require("./icon-renderer.js");
14
- var _iconDataG = require("./generated/icon-data.g.js");
15
- /**
16
- * JotaiIcon - Data-driven icon
17
- *
18
- * Atomic state: a nucleus with two orbits.
19
- *
20
- * Defined as pure data in shared/icons/jotai.json (Buoy Icon Format), so this
21
- * is the same artwork the Flutter build renders.
22
- *
23
- * To change: edit that JSON, then run `node scripts/gen-icons.mjs`.
24
- */
25
-
26
- const JotaiIcon = exports.JotaiIcon = (0, _iconRenderer.createIcon)(_iconDataG.jotaiIconData);
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"JOTAI_ICON_COLOR",{enumerable:!0,get:function(){return _iconDataG.JOTAI_ICON_COLOR}}),exports.JotaiIcon=void 0;var _rasterIcon=require("./raster-icon.js"),_iconDataG=require("./generated/icon-data.g.js");const JotaiIcon=exports.JotaiIcon=(0,_rasterIcon.createRasterIcon)("jotai");
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"JOTAI_ICON_COLOR",{enumerable:!0,get:function(){return _iconDataG.JOTAI_ICON_COLOR}}),exports.JotaiIcon=void 0;var _react=require("react"),_reactNative=require("react-native"),_jsxRuntime=require("react/jsx-runtime"),_iconDataG=require("./generated/icon-data.g.js");const source=require("./assets/jotai.png"),JotaiIcon=exports.JotaiIcon=(0,_react.memo)(function({size:e=24,style:t}){return(0,_jsxRuntime.jsx)(_reactNative.Image,{source:source,resizeMode:"contain",fadeDuration:0,accessible:!1,style:[{width:e,height:e},t]})});
@@ -1,24 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "NETWORK_ICON_COLOR", {
7
- enumerable: true,
8
- get: function () {
9
- return _iconDataG.NETWORK_ICON_COLOR;
10
- }
11
- });
12
- exports.NetworkIcon = void 0;
13
- var _iconRenderer = require("./icon-renderer.js");
14
- var _iconDataG = require("./generated/icon-data.g.js");
15
- /**
16
- * NetworkIcon - Data-driven icon
17
- *
18
- * Defined as pure data in shared/icons/network.json (Buoy Icon Format).
19
- * The renderer transforms it to components.
20
- *
21
- * To change: edit that JSON, then run `node scripts/gen-icons.mjs`.
22
- */
23
-
24
- const NetworkIcon = exports.NetworkIcon = (0, _iconRenderer.createIcon)(_iconDataG.networkIconData);
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"NETWORK_ICON_COLOR",{enumerable:!0,get:function(){return _iconDataG.NETWORK_ICON_COLOR}}),exports.NetworkIcon=void 0;var _bifRasterIcon=require("./bif-raster-icon"),_iconDataG=require("./generated/icon-data.g.js"),_networkRasterG=_interopRequireDefault(require("./generated/network-raster.g.js"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const NetworkIcon=exports.NetworkIcon=(0,_bifRasterIcon.createBifRasterIcon)(_iconDataG.networkIconData,_networkRasterG.default,9);
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"NETWORK_ICON_COLOR",{enumerable:!0,get:function(){return _iconDataG.NETWORK_ICON_COLOR}}),exports.NetworkIcon=void 0;var _bifRasterIcon=require("./bif-raster-icon"),_iconDataG=require("./generated/icon-data.g.js");const NetworkIcon=exports.NetworkIcon=(0,_bifRasterIcon.createBifRasterIcon)(_iconDataG.networkIconData,require("./assets/network.png"),9);
@@ -1,24 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "QUERY_ICON_COLOR", {
7
- enumerable: true,
8
- get: function () {
9
- return _iconDataG.QUERY_ICON_COLOR;
10
- }
11
- });
12
- exports.QueryIcon = void 0;
13
- var _iconRenderer = require("./icon-renderer.js");
14
- var _iconDataG = require("./generated/icon-data.g.js");
15
- /**
16
- * QueryIcon - Data-driven icon
17
- *
18
- * Defined as pure data in shared/icons/query.json (Buoy Icon Format).
19
- * The renderer transforms it to components.
20
- *
21
- * To change: edit that JSON, then run `node scripts/gen-icons.mjs`.
22
- */
23
-
24
- const QueryIcon = exports.QueryIcon = (0, _iconRenderer.createIcon)(_iconDataG.queryIconData);
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"QUERY_ICON_COLOR",{enumerable:!0,get:function(){return _iconDataG.QUERY_ICON_COLOR}}),exports.QueryIcon=void 0;var _rasterIcon=require("./raster-icon.js"),_iconDataG=require("./generated/icon-data.g.js");const QueryIcon=exports.QueryIcon=(0,_rasterIcon.createRasterIcon)("query");
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"QUERY_ICON_COLOR",{enumerable:!0,get:function(){return _iconDataG.QUERY_ICON_COLOR}}),exports.QueryIcon=void 0;var _react=require("react"),_reactNative=require("react-native"),_jsxRuntime=require("react/jsx-runtime"),_iconDataG=require("./generated/icon-data.g.js");const source=require("./assets/query.png"),QueryIcon=exports.QueryIcon=(0,_react.memo)(function({size:e=24,style:r}){return(0,_jsxRuntime.jsx)(_reactNative.Image,{source:source,resizeMode:"contain",fadeDuration:0,accessible:!1,style:[{width:e,height:e},r]})});
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.createRasterIcon=createRasterIcon;var _react=require("react"),_rasterIconsG=require("./generated/raster-icons.g.js");function createRasterIcon(e){return({size:r=24,color:t,style:a})=>{const n=_rasterIconsG.rasterIcons[e],c="sentry"===e?t??"#9945FF":"redux"===e?t:void 0,s={width:r,height:r,display:"inline-block",flexShrink:0,verticalAlign:"middle",...a};if(c){const e=`url("${n}") center / contain no-repeat`;return(0,_react.createElement)("span",{"aria-hidden":!0,style:{...s,backgroundColor:c,mask:e,WebkitMask:e}})}return(0,_react.createElement)("img",{src:n,alt:"",draggable:!1,width:r,height:r,style:{objectFit:"contain",...s}})}}
@@ -1,24 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "REDUX_ICON_COLOR", {
7
- enumerable: true,
8
- get: function () {
9
- return _iconDataG.REDUX_ICON_COLOR;
10
- }
11
- });
12
- exports.ReduxIcon = void 0;
13
- var _iconRenderer = require("./icon-renderer.js");
14
- var _iconDataG = require("./generated/icon-data.g.js");
15
- /**
16
- * ReduxIcon - Data-driven icon
17
- *
18
- * Defined as pure data in shared/icons/redux.json (Buoy Icon Format).
19
- * The renderer transforms it to components — including the cubic Bezier curves.
20
- *
21
- * To change: edit that JSON, then run `node scripts/gen-icons.mjs`.
22
- */
23
-
24
- const ReduxIcon = exports.ReduxIcon = (0, _iconRenderer.createIcon)(_iconDataG.reduxIconData);
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"REDUX_ICON_COLOR",{enumerable:!0,get:function(){return _iconDataG.REDUX_ICON_COLOR}}),exports.ReduxIcon=void 0;var _rasterIcon=require("./raster-icon.js"),_iconDataG=require("./generated/icon-data.g.js");const ReduxIcon=exports.ReduxIcon=(0,_rasterIcon.createRasterIcon)("redux");
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"REDUX_ICON_COLOR",{enumerable:!0,get:function(){return _iconDataG.REDUX_ICON_COLOR}}),exports.ReduxIcon=void 0;var _react=require("react"),_reactNative=require("react-native"),_jsxRuntime=require("react/jsx-runtime"),_iconDataG=require("./generated/icon-data.g.js");const source=require("./assets/redux.png"),ReduxIcon=exports.ReduxIcon=(0,_react.memo)(function({size:e=24,color:r,style:t}){return(0,_jsxRuntime.jsx)(_reactNative.Image,{source:source,resizeMode:"contain",fadeDuration:0,accessible:!1,style:[{width:e,height:e,tintColor:r},t]})});
@@ -1,33 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "HIGHLIGHTER_ICON_COLOR", {
7
- enumerable: true,
8
- get: function () {
9
- return _iconDataG.HIGHLIGHTER_ICON_COLOR;
10
- }
11
- });
12
- exports.HighlighterIcon = void 0;
13
- Object.defineProperty(exports, "RENDERS_ICON_COLOR", {
14
- enumerable: true,
15
- get: function () {
16
- return _iconDataG.RENDERS_ICON_COLOR;
17
- }
18
- });
19
- exports.RendersIcon = void 0;
20
- var _iconRenderer = require("./icon-renderer.js");
21
- var _iconDataG = require("./generated/icon-data.g.js");
22
- /**
23
- * HighlighterIcon - Data-driven icon for render tracking
24
- *
25
- * Defined as pure data in shared/icons/highlighter.json (Buoy Icon Format).
26
- * The renderer transforms it to components.
27
- *
28
- * To change: edit that JSON, then run `node scripts/gen-icons.mjs`.
29
- */
30
-
31
- const HighlighterIcon = exports.HighlighterIcon = (0, _iconRenderer.createIcon)(_iconDataG.highlighterIconData);
32
- // Legacy alias for backward compatibility
33
- const RendersIcon = exports.RendersIcon = HighlighterIcon;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"HIGHLIGHTER_ICON_COLOR",{enumerable:!0,get:function(){return _highlighterIcon.HIGHLIGHTER_ICON_COLOR}}),Object.defineProperty(exports,"HighlighterIcon",{enumerable:!0,get:function(){return _highlighterIcon.HighlighterIcon}}),Object.defineProperty(exports,"RENDERS_ICON_COLOR",{enumerable:!0,get:function(){return _highlighterIcon.RENDERS_ICON_COLOR}}),Object.defineProperty(exports,"RendersIcon",{enumerable:!0,get:function(){return _highlighterIcon.RendersIcon}});var _highlighterIcon=require("./highlighter-icon");
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"HIGHLIGHTER_ICON_COLOR",{enumerable:!0,get:function(){return _highlighterIcon.HIGHLIGHTER_ICON_COLOR}}),Object.defineProperty(exports,"HighlighterIcon",{enumerable:!0,get:function(){return _highlighterIcon.HighlighterIcon}}),Object.defineProperty(exports,"RENDERS_ICON_COLOR",{enumerable:!0,get:function(){return _highlighterIcon.RENDERS_ICON_COLOR}}),Object.defineProperty(exports,"RendersIcon",{enumerable:!0,get:function(){return _highlighterIcon.RendersIcon}});var _highlighterIcon=require("./highlighter-icon");
@@ -1,26 +1 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "RIVERPOD_ICON_COLOR", {
7
- enumerable: true,
8
- get: function () {
9
- return _iconDataG.RIVERPOD_ICON_COLOR;
10
- }
11
- });
12
- exports.RiverpodIcon = void 0;
13
- var _iconRenderer = require("./icon-renderer.js");
14
- var _iconDataG = require("./generated/icon-data.g.js");
15
- /**
16
- * RiverpodIcon - Data-driven icon
17
- *
18
- * Water-drop mark for the Flutter Riverpod inspector (paired color with Jotai).
19
- *
20
- * Defined as pure data in shared/icons/riverpod.json (Buoy Icon Format), so this
21
- * is the same artwork the Flutter build renders.
22
- *
23
- * To change: edit that JSON, then run `node scripts/gen-icons.mjs`.
24
- */
25
-
26
- const RiverpodIcon = exports.RiverpodIcon = (0, _iconRenderer.createIcon)(_iconDataG.riverpodIconData);
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"RIVERPOD_ICON_COLOR",{enumerable:!0,get:function(){return _iconDataG.RIVERPOD_ICON_COLOR}}),exports.RiverpodIcon=void 0;var _bifRasterIcon=require("./bif-raster-icon"),_iconDataG=require("./generated/icon-data.g.js"),_riverpodRasterG=_interopRequireDefault(require("./generated/riverpod-raster.g.js"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const RiverpodIcon=exports.RiverpodIcon=(0,_bifRasterIcon.createBifRasterIcon)(_iconDataG.riverpodIconData,_riverpodRasterG.default,9);
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"RIVERPOD_ICON_COLOR",{enumerable:!0,get:function(){return _iconDataG.RIVERPOD_ICON_COLOR}}),exports.RiverpodIcon=void 0;var _bifRasterIcon=require("./bif-raster-icon"),_iconDataG=require("./generated/icon-data.g.js");const RiverpodIcon=exports.RiverpodIcon=(0,_bifRasterIcon.createBifRasterIcon)(_iconDataG.riverpodIconData,require("./assets/riverpod.png"),9);