@fuf-stack/pixels 1.9.0 → 1.10.0

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 (767) hide show
  1. package/dist/Accordion/Accordion.cjs +63 -0
  2. package/dist/Accordion/Accordion.cjs.map +1 -0
  3. package/dist/Accordion/Accordion.d.cts +154 -0
  4. package/dist/Accordion/Accordion.d.cts.map +1 -0
  5. package/dist/Accordion/Accordion.d.ts +154 -0
  6. package/dist/Accordion/Accordion.d.ts.map +1 -0
  7. package/dist/Accordion/Accordion.js +61 -0
  8. package/dist/{chunk-NSYHAJM2.cjs.map → Accordion/Accordion.js.map} +1 -1
  9. package/dist/Accordion/index.cjs +11 -10
  10. package/dist/Accordion/index.cjs.map +1 -1
  11. package/dist/Accordion/index.d.cts +2 -11
  12. package/dist/Accordion/index.d.ts +2 -11
  13. package/dist/Accordion/index.js +6 -11
  14. package/dist/Accordion/index.js.map +1 -1
  15. package/dist/Alert/Alert.cjs +61 -0
  16. package/dist/Alert/Alert.cjs.map +1 -0
  17. package/dist/Alert/Alert.d.cts +155 -0
  18. package/dist/Alert/Alert.d.cts.map +1 -0
  19. package/dist/Alert/Alert.d.ts +155 -0
  20. package/dist/Alert/Alert.d.ts.map +1 -0
  21. package/dist/Alert/Alert.js +59 -0
  22. package/dist/Alert/Alert.js.map +1 -0
  23. package/dist/Alert/index.cjs +11 -10
  24. package/dist/Alert/index.cjs.map +1 -1
  25. package/dist/Alert/index.d.cts +2 -10
  26. package/dist/Alert/index.d.ts +2 -10
  27. package/dist/Alert/index.js +6 -11
  28. package/dist/Alert/index.js.map +1 -1
  29. package/dist/Avatar/Avatar.cjs +31 -0
  30. package/dist/Avatar/Avatar.cjs.map +1 -0
  31. package/dist/Avatar/Avatar.d.cts +80 -0
  32. package/dist/Avatar/Avatar.d.cts.map +1 -0
  33. package/dist/Avatar/Avatar.d.ts +80 -0
  34. package/dist/Avatar/Avatar.d.ts.map +1 -0
  35. package/dist/Avatar/Avatar.js +30 -0
  36. package/dist/Avatar/Avatar.js.map +1 -0
  37. package/dist/Avatar/index.cjs +10 -8
  38. package/dist/Avatar/index.cjs.map +1 -1
  39. package/dist/Avatar/index.d.cts +2 -11
  40. package/dist/Avatar/index.d.ts +2 -11
  41. package/dist/Avatar/index.js +6 -9
  42. package/dist/Avatar/index.js.map +1 -1
  43. package/dist/AvatarGroup/AvatarGroup.cjs +42 -0
  44. package/dist/AvatarGroup/AvatarGroup.cjs.map +1 -0
  45. package/dist/AvatarGroup/AvatarGroup.d.cts +33 -0
  46. package/dist/AvatarGroup/AvatarGroup.d.cts.map +1 -0
  47. package/dist/AvatarGroup/AvatarGroup.d.ts +33 -0
  48. package/dist/AvatarGroup/AvatarGroup.d.ts.map +1 -0
  49. package/dist/AvatarGroup/AvatarGroup.js +41 -0
  50. package/dist/AvatarGroup/AvatarGroup.js.map +1 -0
  51. package/dist/AvatarGroup/index.cjs +10 -9
  52. package/dist/AvatarGroup/index.cjs.map +1 -1
  53. package/dist/AvatarGroup/index.d.cts +2 -12
  54. package/dist/AvatarGroup/index.d.ts +2 -12
  55. package/dist/AvatarGroup/index.js +6 -10
  56. package/dist/AvatarGroup/index.js.map +1 -1
  57. package/dist/Badge/Badge.cjs +29 -0
  58. package/dist/Badge/Badge.cjs.map +1 -0
  59. package/dist/Badge/Badge.d.cts +72 -0
  60. package/dist/Badge/Badge.d.cts.map +1 -0
  61. package/dist/Badge/Badge.d.ts +72 -0
  62. package/dist/Badge/Badge.d.ts.map +1 -0
  63. package/dist/Badge/Badge.js +28 -0
  64. package/dist/Badge/Badge.js.map +1 -0
  65. package/dist/Badge/index.cjs +10 -8
  66. package/dist/Badge/index.cjs.map +1 -1
  67. package/dist/Badge/index.d.cts +2 -11
  68. package/dist/Badge/index.d.ts +2 -11
  69. package/dist/Badge/index.js +6 -9
  70. package/dist/Badge/index.js.map +1 -1
  71. package/dist/Breadcrumb/Breadcrumb.cjs +58 -0
  72. package/dist/Breadcrumb/Breadcrumb.cjs.map +1 -0
  73. package/dist/Breadcrumb/Breadcrumb.d.cts +117 -0
  74. package/dist/Breadcrumb/Breadcrumb.d.cts.map +1 -0
  75. package/dist/Breadcrumb/Breadcrumb.d.ts +117 -0
  76. package/dist/Breadcrumb/Breadcrumb.d.ts.map +1 -0
  77. package/dist/Breadcrumb/Breadcrumb.js +56 -0
  78. package/dist/Breadcrumb/Breadcrumb.js.map +1 -0
  79. package/dist/Breadcrumb/index.cjs +11 -10
  80. package/dist/Breadcrumb/index.cjs.map +1 -1
  81. package/dist/Breadcrumb/index.d.cts +2 -11
  82. package/dist/Breadcrumb/index.d.ts +2 -11
  83. package/dist/Breadcrumb/index.js +6 -11
  84. package/dist/Breadcrumb/index.js.map +1 -1
  85. package/dist/Button/Button.cjs +111 -0
  86. package/dist/Button/Button.cjs.map +1 -0
  87. package/dist/Button/Button.d.cts +262 -0
  88. package/dist/Button/Button.d.cts.map +1 -0
  89. package/dist/Button/Button.d.ts +262 -0
  90. package/dist/Button/Button.d.ts.map +1 -0
  91. package/dist/Button/Button.js +109 -0
  92. package/dist/Button/Button.js.map +1 -0
  93. package/dist/Button/index.cjs +11 -10
  94. package/dist/Button/index.cjs.map +1 -1
  95. package/dist/Button/index.d.cts +2 -10
  96. package/dist/Button/index.d.ts +2 -10
  97. package/dist/Button/index.js +6 -11
  98. package/dist/Button/index.js.map +1 -1
  99. package/dist/Button/subcomponents/LoadingSpinner.cjs +31 -0
  100. package/dist/Button/subcomponents/LoadingSpinner.cjs.map +1 -0
  101. package/dist/Button/subcomponents/LoadingSpinner.js +30 -0
  102. package/dist/Button/subcomponents/LoadingSpinner.js.map +1 -0
  103. package/dist/ButtonGroup/ButtonGroup.cjs +10 -0
  104. package/dist/ButtonGroup/ButtonGroup.cjs.map +1 -0
  105. package/dist/ButtonGroup/ButtonGroup.d.cts +10 -0
  106. package/dist/ButtonGroup/ButtonGroup.d.cts.map +1 -0
  107. package/dist/ButtonGroup/ButtonGroup.d.ts +10 -0
  108. package/dist/ButtonGroup/ButtonGroup.d.ts.map +1 -0
  109. package/dist/ButtonGroup/ButtonGroup.js +10 -0
  110. package/dist/ButtonGroup/ButtonGroup.js.map +1 -0
  111. package/dist/ButtonGroup/index.cjs +10 -8
  112. package/dist/ButtonGroup/index.cjs.map +1 -1
  113. package/dist/ButtonGroup/index.d.cts +2 -7
  114. package/dist/ButtonGroup/index.d.ts +2 -7
  115. package/dist/ButtonGroup/index.js +6 -9
  116. package/dist/ButtonGroup/index.js.map +1 -1
  117. package/dist/Card/Card.cjs +48 -0
  118. package/dist/Card/Card.cjs.map +1 -0
  119. package/dist/Card/Card.d.cts +74 -0
  120. package/dist/Card/Card.d.cts.map +1 -0
  121. package/dist/Card/Card.d.ts +74 -0
  122. package/dist/Card/Card.d.ts.map +1 -0
  123. package/dist/Card/Card.js +46 -0
  124. package/dist/Card/Card.js.map +1 -0
  125. package/dist/Card/index.cjs +11 -10
  126. package/dist/Card/index.cjs.map +1 -1
  127. package/dist/Card/index.d.cts +2 -10
  128. package/dist/Card/index.d.ts +2 -10
  129. package/dist/Card/index.js +6 -11
  130. package/dist/Card/index.js.map +1 -1
  131. package/dist/Drawer/Drawer.cjs +86 -0
  132. package/dist/Drawer/Drawer.cjs.map +1 -0
  133. package/dist/Drawer/Drawer.d.cts +134 -0
  134. package/dist/Drawer/Drawer.d.cts.map +1 -0
  135. package/dist/Drawer/Drawer.d.ts +134 -0
  136. package/dist/Drawer/Drawer.d.ts.map +1 -0
  137. package/dist/Drawer/Drawer.js +80 -0
  138. package/dist/Drawer/Drawer.js.map +1 -0
  139. package/dist/Drawer/index.cjs +15 -18
  140. package/dist/Drawer/index.cjs.map +1 -1
  141. package/dist/Drawer/index.d.cts +2 -12
  142. package/dist/Drawer/index.d.ts +2 -12
  143. package/dist/Drawer/index.js +6 -19
  144. package/dist/Drawer/index.js.map +1 -1
  145. package/dist/Json/Json.cjs +87 -0
  146. package/dist/Json/Json.cjs.map +1 -0
  147. package/dist/Json/Json.d.cts +32 -0
  148. package/dist/Json/Json.d.cts.map +1 -0
  149. package/dist/Json/Json.d.ts +32 -0
  150. package/dist/Json/Json.d.ts.map +1 -0
  151. package/dist/Json/Json.js +86 -0
  152. package/dist/Json/Json.js.map +1 -0
  153. package/dist/Json/index.cjs +10 -9
  154. package/dist/Json/index.cjs.map +1 -1
  155. package/dist/Json/index.d.cts +2 -8
  156. package/dist/Json/index.d.ts +2 -8
  157. package/dist/Json/index.js +6 -10
  158. package/dist/Json/index.js.map +1 -1
  159. package/dist/Json/jsonParser.cjs +21 -0
  160. package/dist/Json/jsonParser.cjs.map +1 -0
  161. package/dist/Json/jsonParser.js +21 -0
  162. package/dist/Json/jsonParser.js.map +1 -0
  163. package/dist/Json/subcomponents/CopiedRenderer.cjs +46 -0
  164. package/dist/Json/subcomponents/CopiedRenderer.cjs.map +1 -0
  165. package/dist/Json/subcomponents/CopiedRenderer.js +45 -0
  166. package/dist/Json/subcomponents/CopiedRenderer.js.map +1 -0
  167. package/dist/Json/subcomponents/ErrorRenderer.cjs +53 -0
  168. package/dist/Json/subcomponents/ErrorRenderer.cjs.map +1 -0
  169. package/dist/Json/subcomponents/ErrorRenderer.js +52 -0
  170. package/dist/Json/subcomponents/ErrorRenderer.js.map +1 -0
  171. package/dist/Json/subcomponents/NullRenderer.cjs +23 -0
  172. package/dist/Json/subcomponents/NullRenderer.cjs.map +1 -0
  173. package/dist/Json/subcomponents/NullRenderer.js +22 -0
  174. package/dist/Json/subcomponents/NullRenderer.js.map +1 -0
  175. package/dist/{index.css → Json/theme.css} +5 -7
  176. package/dist/Label/Label.cjs +84 -0
  177. package/dist/Label/Label.cjs.map +1 -0
  178. package/dist/Label/Label.d.cts +225 -0
  179. package/dist/Label/Label.d.cts.map +1 -0
  180. package/dist/Label/Label.d.ts +225 -0
  181. package/dist/Label/Label.d.ts.map +1 -0
  182. package/dist/Label/Label.js +82 -0
  183. package/dist/Label/Label.js.map +1 -0
  184. package/dist/Label/index.cjs +11 -10
  185. package/dist/Label/index.cjs.map +1 -1
  186. package/dist/Label/index.d.cts +2 -11
  187. package/dist/Label/index.d.ts +2 -11
  188. package/dist/Label/index.js +6 -11
  189. package/dist/Label/index.js.map +1 -1
  190. package/dist/Menu/Menu.cjs +87 -0
  191. package/dist/Menu/Menu.cjs.map +1 -0
  192. package/dist/Menu/Menu.d.cts +110 -0
  193. package/dist/Menu/Menu.d.cts.map +1 -0
  194. package/dist/Menu/Menu.d.ts +110 -0
  195. package/dist/Menu/Menu.d.ts.map +1 -0
  196. package/dist/Menu/Menu.js +86 -0
  197. package/dist/Menu/Menu.js.map +1 -0
  198. package/dist/Menu/VerticalDotsIcon.cjs +23 -0
  199. package/dist/Menu/VerticalDotsIcon.cjs.map +1 -0
  200. package/dist/Menu/VerticalDotsIcon.js +22 -0
  201. package/dist/Menu/VerticalDotsIcon.js.map +1 -0
  202. package/dist/Menu/index.cjs +10 -8
  203. package/dist/Menu/index.cjs.map +1 -1
  204. package/dist/Menu/index.d.cts +2 -13
  205. package/dist/Menu/index.d.ts +2 -13
  206. package/dist/Menu/index.js +6 -9
  207. package/dist/Menu/index.js.map +1 -1
  208. package/dist/Modal/Modal.cjs +57 -0
  209. package/dist/Modal/Modal.cjs.map +1 -0
  210. package/dist/Modal/Modal.d.cts +126 -0
  211. package/dist/Modal/Modal.d.cts.map +1 -0
  212. package/dist/Modal/Modal.d.ts +126 -0
  213. package/dist/Modal/Modal.d.ts.map +1 -0
  214. package/dist/Modal/Modal.js +55 -0
  215. package/dist/Modal/Modal.js.map +1 -0
  216. package/dist/Modal/index.cjs +11 -10
  217. package/dist/Modal/index.cjs.map +1 -1
  218. package/dist/Modal/index.d.cts +2 -11
  219. package/dist/Modal/index.d.ts +2 -11
  220. package/dist/Modal/index.js +6 -11
  221. package/dist/Modal/index.js.map +1 -1
  222. package/dist/Popover/Popover.cjs +72 -0
  223. package/dist/Popover/Popover.cjs.map +1 -0
  224. package/dist/Popover/Popover.d.cts +124 -0
  225. package/dist/Popover/Popover.d.cts.map +1 -0
  226. package/dist/Popover/Popover.d.ts +124 -0
  227. package/dist/Popover/Popover.d.ts.map +1 -0
  228. package/dist/Popover/Popover.js +71 -0
  229. package/dist/Popover/Popover.js.map +1 -0
  230. package/dist/Popover/index.cjs +10 -9
  231. package/dist/Popover/index.cjs.map +1 -1
  232. package/dist/Popover/index.d.cts +2 -13
  233. package/dist/Popover/index.d.ts +2 -13
  234. package/dist/Popover/index.js +6 -10
  235. package/dist/Popover/index.js.map +1 -1
  236. package/dist/Progress/Progress.cjs +57 -0
  237. package/dist/Progress/Progress.cjs.map +1 -0
  238. package/dist/Progress/Progress.d.cts +146 -0
  239. package/dist/Progress/Progress.d.cts.map +1 -0
  240. package/dist/Progress/Progress.d.ts +146 -0
  241. package/dist/Progress/Progress.d.ts.map +1 -0
  242. package/dist/Progress/Progress.js +55 -0
  243. package/dist/Progress/Progress.js.map +1 -0
  244. package/dist/Progress/index.cjs +11 -11
  245. package/dist/Progress/index.cjs.map +1 -1
  246. package/dist/Progress/index.d.cts +2 -10
  247. package/dist/Progress/index.d.ts +2 -10
  248. package/dist/Progress/index.js +6 -12
  249. package/dist/Progress/index.js.map +1 -1
  250. package/dist/ProgressCircular/ProgressCircular.cjs +102 -0
  251. package/dist/ProgressCircular/ProgressCircular.cjs.map +1 -0
  252. package/dist/ProgressCircular/ProgressCircular.d.cts +239 -0
  253. package/dist/ProgressCircular/ProgressCircular.d.cts.map +1 -0
  254. package/dist/ProgressCircular/ProgressCircular.d.ts +239 -0
  255. package/dist/ProgressCircular/ProgressCircular.d.ts.map +1 -0
  256. package/dist/ProgressCircular/ProgressCircular.js +100 -0
  257. package/dist/ProgressCircular/ProgressCircular.js.map +1 -0
  258. package/dist/ProgressCircular/index.cjs +11 -11
  259. package/dist/ProgressCircular/index.cjs.map +1 -1
  260. package/dist/ProgressCircular/index.d.cts +2 -10
  261. package/dist/ProgressCircular/index.d.ts +2 -10
  262. package/dist/ProgressCircular/index.js +6 -12
  263. package/dist/ProgressCircular/index.js.map +1 -1
  264. package/dist/ScrollShadow/ScrollShadow.cjs +22 -0
  265. package/dist/ScrollShadow/ScrollShadow.cjs.map +1 -0
  266. package/dist/ScrollShadow/ScrollShadow.d.cts +31 -0
  267. package/dist/ScrollShadow/ScrollShadow.d.cts.map +1 -0
  268. package/dist/ScrollShadow/ScrollShadow.d.ts +31 -0
  269. package/dist/ScrollShadow/ScrollShadow.d.ts.map +1 -0
  270. package/dist/ScrollShadow/ScrollShadow.js +21 -0
  271. package/dist/ScrollShadow/ScrollShadow.js.map +1 -0
  272. package/dist/ScrollShadow/index.cjs +10 -10
  273. package/dist/ScrollShadow/index.cjs.map +1 -1
  274. package/dist/ScrollShadow/index.d.cts +2 -23
  275. package/dist/ScrollShadow/index.d.ts +2 -23
  276. package/dist/ScrollShadow/index.js +5 -10
  277. package/dist/ScrollShadow/index.js.map +1 -1
  278. package/dist/SearchInput/SearchInput.cjs +53 -0
  279. package/dist/SearchInput/SearchInput.cjs.map +1 -0
  280. package/dist/SearchInput/SearchInput.d.cts +86 -0
  281. package/dist/SearchInput/SearchInput.d.cts.map +1 -0
  282. package/dist/SearchInput/SearchInput.d.ts +86 -0
  283. package/dist/SearchInput/SearchInput.d.ts.map +1 -0
  284. package/dist/SearchInput/SearchInput.js +52 -0
  285. package/dist/SearchInput/SearchInput.js.map +1 -0
  286. package/dist/SearchInput/index.cjs +9 -70
  287. package/dist/SearchInput/index.cjs.map +1 -1
  288. package/dist/SearchInput/index.d.cts +2 -89
  289. package/dist/SearchInput/index.d.ts +2 -89
  290. package/dist/SearchInput/index.js +4 -70
  291. package/dist/SearchInput/index.js.map +1 -1
  292. package/dist/Table/Table.cjs +75 -0
  293. package/dist/{chunk-YUR6N2RB.cjs.map → Table/Table.cjs.map} +1 -1
  294. package/dist/Table/Table.d.cts +178 -0
  295. package/dist/Table/Table.d.cts.map +1 -0
  296. package/dist/Table/Table.d.ts +178 -0
  297. package/dist/Table/Table.d.ts.map +1 -0
  298. package/dist/Table/Table.js +73 -0
  299. package/dist/Table/Table.js.map +1 -0
  300. package/dist/Table/index.cjs +11 -10
  301. package/dist/Table/index.cjs.map +1 -1
  302. package/dist/Table/index.d.cts +2 -10
  303. package/dist/Table/index.d.ts +2 -10
  304. package/dist/Table/index.js +6 -11
  305. package/dist/Table/index.js.map +1 -1
  306. package/dist/Tabs/Tabs.cjs +49 -0
  307. package/dist/Tabs/Tabs.cjs.map +1 -0
  308. package/dist/Tabs/Tabs.d.cts +138 -0
  309. package/dist/Tabs/Tabs.d.cts.map +1 -0
  310. package/dist/Tabs/Tabs.d.ts +138 -0
  311. package/dist/Tabs/Tabs.d.ts.map +1 -0
  312. package/dist/Tabs/Tabs.js +47 -0
  313. package/dist/Tabs/Tabs.js.map +1 -0
  314. package/dist/Tabs/index.cjs +11 -10
  315. package/dist/Tabs/index.cjs.map +1 -1
  316. package/dist/Tabs/index.d.cts +2 -11
  317. package/dist/Tabs/index.d.ts +2 -11
  318. package/dist/Tabs/index.js +6 -11
  319. package/dist/Tabs/index.js.map +1 -1
  320. package/dist/Toast/Toast.cjs +90 -0
  321. package/dist/Toast/Toast.cjs.map +1 -0
  322. package/dist/Toast/Toast.d.cts +76 -0
  323. package/dist/Toast/Toast.d.cts.map +1 -0
  324. package/dist/Toast/Toast.d.ts +76 -0
  325. package/dist/Toast/Toast.d.ts.map +1 -0
  326. package/dist/Toast/Toast.js +89 -0
  327. package/dist/Toast/Toast.js.map +1 -0
  328. package/dist/Toast/Toaster.cjs +11 -0
  329. package/dist/Toast/Toaster.cjs.map +1 -0
  330. package/dist/Toast/Toaster.d.cts +9 -0
  331. package/dist/Toast/Toaster.d.cts.map +1 -0
  332. package/dist/Toast/Toaster.d.ts +9 -0
  333. package/dist/Toast/Toaster.d.ts.map +1 -0
  334. package/dist/Toast/Toaster.js +10 -0
  335. package/dist/Toast/Toaster.js.map +1 -0
  336. package/dist/Toast/index.cjs +12 -11
  337. package/dist/Toast/index.cjs.map +1 -1
  338. package/dist/Toast/index.d.cts +3 -12
  339. package/dist/Toast/index.d.ts +3 -12
  340. package/dist/Toast/index.js +7 -12
  341. package/dist/Toast/index.js.map +1 -1
  342. package/dist/Tooltip/Tooltip.cjs +105 -0
  343. package/dist/Tooltip/Tooltip.cjs.map +1 -0
  344. package/dist/Tooltip/Tooltip.d.cts +208 -0
  345. package/dist/Tooltip/Tooltip.d.cts.map +1 -0
  346. package/dist/Tooltip/Tooltip.d.ts +208 -0
  347. package/dist/Tooltip/Tooltip.d.ts.map +1 -0
  348. package/dist/Tooltip/Tooltip.js +104 -0
  349. package/dist/Tooltip/Tooltip.js.map +1 -0
  350. package/dist/Tooltip/index.cjs +10 -9
  351. package/dist/Tooltip/index.cjs.map +1 -1
  352. package/dist/Tooltip/index.d.cts +2 -11
  353. package/dist/Tooltip/index.d.ts +2 -11
  354. package/dist/Tooltip/index.js +6 -10
  355. package/dist/Tooltip/index.js.map +1 -1
  356. package/dist/_virtual/_rolldown/runtime.cjs +25 -0
  357. package/dist/_virtual/_rolldown/runtime.js +24 -0
  358. package/dist/hooks/useDebounce/index.cjs +3 -8
  359. package/dist/hooks/useDebounce/index.d.cts +2 -9
  360. package/dist/hooks/useDebounce/index.d.ts +2 -9
  361. package/dist/hooks/useDebounce/index.js +2 -8
  362. package/dist/hooks/useDebounce/useDebounce.cjs +37 -0
  363. package/dist/hooks/useDebounce/useDebounce.cjs.map +1 -0
  364. package/dist/hooks/useDebounce/useDebounce.d.cts +11 -0
  365. package/dist/hooks/useDebounce/useDebounce.d.cts.map +1 -0
  366. package/dist/hooks/useDebounce/useDebounce.d.ts +11 -0
  367. package/dist/hooks/useDebounce/useDebounce.d.ts.map +1 -0
  368. package/dist/hooks/useDebounce/useDebounce.js +36 -0
  369. package/dist/hooks/useDebounce/useDebounce.js.map +1 -0
  370. package/dist/hooks/useIsInitialRenderCycle/index.cjs +3 -8
  371. package/dist/hooks/useIsInitialRenderCycle/index.d.cts +2 -8
  372. package/dist/hooks/useIsInitialRenderCycle/index.d.ts +2 -8
  373. package/dist/hooks/useIsInitialRenderCycle/index.js +2 -8
  374. package/dist/hooks/useIsInitialRenderCycle/useIsInitialRenderCycle.cjs +19 -0
  375. package/dist/hooks/useIsInitialRenderCycle/useIsInitialRenderCycle.cjs.map +1 -0
  376. package/dist/hooks/useIsInitialRenderCycle/useIsInitialRenderCycle.d.cts +10 -0
  377. package/dist/hooks/useIsInitialRenderCycle/useIsInitialRenderCycle.d.cts.map +1 -0
  378. package/dist/hooks/useIsInitialRenderCycle/useIsInitialRenderCycle.d.ts +10 -0
  379. package/dist/hooks/useIsInitialRenderCycle/useIsInitialRenderCycle.d.ts.map +1 -0
  380. package/dist/hooks/useIsInitialRenderCycle/useIsInitialRenderCycle.js +18 -0
  381. package/dist/hooks/useIsInitialRenderCycle/useIsInitialRenderCycle.js.map +1 -0
  382. package/dist/hooks/useLocalStorage/index.cjs +3 -8
  383. package/dist/hooks/useLocalStorage/index.d.cts +2 -5
  384. package/dist/hooks/useLocalStorage/index.d.ts +2 -5
  385. package/dist/hooks/useLocalStorage/index.js +2 -8
  386. package/dist/hooks/useLocalStorage/useLocalStorage.cjs +54 -0
  387. package/dist/hooks/useLocalStorage/useLocalStorage.cjs.map +1 -0
  388. package/dist/hooks/useLocalStorage/useLocalStorage.d.cts +7 -0
  389. package/dist/hooks/useLocalStorage/useLocalStorage.d.cts.map +1 -0
  390. package/dist/hooks/useLocalStorage/useLocalStorage.d.ts +7 -0
  391. package/dist/hooks/useLocalStorage/useLocalStorage.d.ts.map +1 -0
  392. package/dist/hooks/useLocalStorage/useLocalStorage.js +53 -0
  393. package/dist/hooks/useLocalStorage/useLocalStorage.js.map +1 -0
  394. package/dist/index.cjs +72 -137
  395. package/dist/index.cjs.map +1 -1
  396. package/dist/index.d.cts +27 -41
  397. package/dist/index.d.ts +27 -41
  398. package/dist/index.js +31 -138
  399. package/dist/index.js.map +1 -1
  400. package/dist/node_modules/.pnpm/@babel_runtime@7.29.2/node_modules/@babel/runtime/helpers/extends.cjs +22 -0
  401. package/dist/node_modules/.pnpm/@babel_runtime@7.29.2/node_modules/@babel/runtime/helpers/extends.cjs.map +1 -0
  402. package/dist/node_modules/.pnpm/@babel_runtime@7.29.2/node_modules/@babel/runtime/helpers/extends.js +19 -0
  403. package/dist/node_modules/.pnpm/@babel_runtime@7.29.2/node_modules/@babel/runtime/helpers/extends.js.map +1 -0
  404. package/dist/node_modules/.pnpm/@babel_runtime@7.29.2/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.cjs +16 -0
  405. package/dist/node_modules/.pnpm/@babel_runtime@7.29.2/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.cjs.map +1 -0
  406. package/dist/node_modules/.pnpm/@babel_runtime@7.29.2/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +13 -0
  407. package/dist/node_modules/.pnpm/@babel_runtime@7.29.2/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js.map +1 -0
  408. package/dist/node_modules/.pnpm/@babel_runtime@7.29.2/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.cjs +22 -0
  409. package/dist/node_modules/.pnpm/@babel_runtime@7.29.2/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.cjs.map +1 -0
  410. package/dist/node_modules/.pnpm/@babel_runtime@7.29.2/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +19 -0
  411. package/dist/node_modules/.pnpm/@babel_runtime@7.29.2/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js.map +1 -0
  412. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/Container.cjs +68 -0
  413. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/Container.cjs.map +1 -0
  414. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/Container.js +67 -0
  415. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/Container.js.map +1 -0
  416. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/arrow/TriangleArrow.cjs +29 -0
  417. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/arrow/TriangleArrow.cjs.map +1 -0
  418. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/arrow/TriangleArrow.js +28 -0
  419. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/arrow/TriangleArrow.js.map +1 -0
  420. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/Copied.cjs +82 -0
  421. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/Copied.cjs.map +1 -0
  422. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/Copied.js +82 -0
  423. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/Copied.js.map +1 -0
  424. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/KeyValues.cjs +150 -0
  425. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/KeyValues.cjs.map +1 -0
  426. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/KeyValues.js +149 -0
  427. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/KeyValues.js.map +1 -0
  428. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/NestedClose.cjs +46 -0
  429. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/NestedClose.cjs.map +1 -0
  430. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/NestedClose.js +46 -0
  431. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/NestedClose.js.map +1 -0
  432. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/NestedOpen.cjs +107 -0
  433. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/NestedOpen.cjs.map +1 -0
  434. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/NestedOpen.js +107 -0
  435. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/NestedOpen.js.map +1 -0
  436. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/Value.cjs +31 -0
  437. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/Value.cjs.map +1 -0
  438. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/Value.js +31 -0
  439. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/Value.js.map +1 -0
  440. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/useIdCompat.cjs +12 -0
  441. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/useIdCompat.cjs.map +1 -0
  442. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/useIdCompat.js +11 -0
  443. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/comps/useIdCompat.js.map +1 -0
  444. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/index.cjs +131 -0
  445. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/index.cjs.map +1 -0
  446. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/index.js +131 -0
  447. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/index.js.map +1 -0
  448. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/Copied.cjs +13 -0
  449. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/Copied.cjs.map +1 -0
  450. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/Copied.js +13 -0
  451. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/Copied.js.map +1 -0
  452. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/CountInfo.cjs +41 -0
  453. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/CountInfo.cjs.map +1 -0
  454. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/CountInfo.js +40 -0
  455. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/CountInfo.js.map +1 -0
  456. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/CountInfoExtra.cjs +37 -0
  457. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/CountInfoExtra.cjs.map +1 -0
  458. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/CountInfoExtra.js +36 -0
  459. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/CountInfoExtra.js.map +1 -0
  460. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/Ellipsis.cjs +35 -0
  461. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/Ellipsis.cjs.map +1 -0
  462. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/Ellipsis.js +34 -0
  463. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/Ellipsis.js.map +1 -0
  464. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/KeyName.cjs +38 -0
  465. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/KeyName.cjs.map +1 -0
  466. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/KeyName.js +37 -0
  467. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/KeyName.js.map +1 -0
  468. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/Row.cjs +46 -0
  469. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/Row.cjs.map +1 -0
  470. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/Row.js +45 -0
  471. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/section/Row.js.map +1 -0
  472. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store/Expands.cjs +38 -0
  473. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store/Expands.cjs.map +1 -0
  474. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store/Expands.js +35 -0
  475. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store/Expands.js.map +1 -0
  476. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store/Section.cjs +82 -0
  477. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store/Section.cjs.map +1 -0
  478. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store/Section.js +78 -0
  479. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store/Section.js.map +1 -0
  480. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store/ShowTools.cjs +38 -0
  481. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store/ShowTools.cjs.map +1 -0
  482. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store/ShowTools.js +35 -0
  483. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store/ShowTools.js.map +1 -0
  484. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store/Symbols.cjs +95 -0
  485. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store/Symbols.cjs.map +1 -0
  486. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store/Symbols.js +92 -0
  487. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store/Symbols.js.map +1 -0
  488. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store/Types.cjs +136 -0
  489. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store/Types.cjs.map +1 -0
  490. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store/Types.js +133 -0
  491. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store/Types.js.map +1 -0
  492. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store.cjs +72 -0
  493. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store.cjs.map +1 -0
  494. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store.js +67 -0
  495. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/store.js.map +1 -0
  496. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/Arrow.cjs +13 -0
  497. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/Arrow.cjs.map +1 -0
  498. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/Arrow.js +13 -0
  499. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/Arrow.js.map +1 -0
  500. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/BraceLeft.cjs +13 -0
  501. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/BraceLeft.cjs.map +1 -0
  502. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/BraceLeft.js +13 -0
  503. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/BraceLeft.js.map +1 -0
  504. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/BraceRight.cjs +13 -0
  505. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/BraceRight.cjs.map +1 -0
  506. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/BraceRight.js +13 -0
  507. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/BraceRight.js.map +1 -0
  508. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/BracketsLeft.cjs +13 -0
  509. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/BracketsLeft.cjs.map +1 -0
  510. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/BracketsLeft.js +13 -0
  511. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/BracketsLeft.js.map +1 -0
  512. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/BracketsRight.cjs +13 -0
  513. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/BracketsRight.cjs.map +1 -0
  514. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/BracketsRight.js +13 -0
  515. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/BracketsRight.js.map +1 -0
  516. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/Colon.cjs +13 -0
  517. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/Colon.cjs.map +1 -0
  518. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/Colon.js +13 -0
  519. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/Colon.js.map +1 -0
  520. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/Quote.cjs +13 -0
  521. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/Quote.cjs.map +1 -0
  522. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/Quote.js +13 -0
  523. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/Quote.js.map +1 -0
  524. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/ValueQuote.cjs +13 -0
  525. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/ValueQuote.cjs.map +1 -0
  526. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/ValueQuote.js +13 -0
  527. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/ValueQuote.js.map +1 -0
  528. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/index.cjs +144 -0
  529. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/index.cjs.map +1 -0
  530. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/index.js +139 -0
  531. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/symbol/index.js.map +1 -0
  532. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Bigint.cjs +13 -0
  533. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Bigint.cjs.map +1 -0
  534. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Bigint.js +13 -0
  535. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Bigint.js.map +1 -0
  536. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Date.cjs +13 -0
  537. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Date.cjs.map +1 -0
  538. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Date.js +13 -0
  539. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Date.js.map +1 -0
  540. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/False.cjs +13 -0
  541. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/False.cjs.map +1 -0
  542. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/False.js +13 -0
  543. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/False.js.map +1 -0
  544. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Float.cjs +13 -0
  545. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Float.cjs.map +1 -0
  546. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Float.js +13 -0
  547. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Float.js.map +1 -0
  548. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Int.cjs +13 -0
  549. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Int.cjs.map +1 -0
  550. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Int.js +13 -0
  551. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Int.js.map +1 -0
  552. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Map.cjs +13 -0
  553. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Map.cjs.map +1 -0
  554. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Map.js +13 -0
  555. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Map.js.map +1 -0
  556. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Nan.cjs +13 -0
  557. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Nan.cjs.map +1 -0
  558. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Nan.js +13 -0
  559. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Nan.js.map +1 -0
  560. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Null.cjs +13 -0
  561. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Null.cjs.map +1 -0
  562. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Null.js +13 -0
  563. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Null.js.map +1 -0
  564. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Set.cjs +13 -0
  565. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Set.cjs.map +1 -0
  566. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Set.js +13 -0
  567. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Set.js.map +1 -0
  568. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/String.cjs +13 -0
  569. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/String.cjs.map +1 -0
  570. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/String.js +13 -0
  571. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/String.js.map +1 -0
  572. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/True.cjs +13 -0
  573. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/True.cjs.map +1 -0
  574. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/True.js +13 -0
  575. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/True.js.map +1 -0
  576. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Undefined.cjs +13 -0
  577. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Undefined.cjs.map +1 -0
  578. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Undefined.js +13 -0
  579. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Undefined.js.map +1 -0
  580. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Url.cjs +13 -0
  581. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Url.cjs.map +1 -0
  582. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Url.js +13 -0
  583. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/Url.js.map +1 -0
  584. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/index.cjs +402 -0
  585. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/index.cjs.map +1 -0
  586. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/index.js +389 -0
  587. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/types/index.js.map +1 -0
  588. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/utils/useHighlight.cjs +39 -0
  589. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/utils/useHighlight.cjs.map +1 -0
  590. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/utils/useHighlight.js +38 -0
  591. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/utils/useHighlight.js.map +1 -0
  592. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/utils/useRender.cjs +41 -0
  593. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/utils/useRender.cjs.map +1 -0
  594. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/utils/useRender.js +39 -0
  595. package/dist/node_modules/.pnpm/@uiw_react-json-view@2.0.0-alpha.42_@babel_runtime@7.29.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@uiw/react-json-view/esm/utils/useRender.js.map +1 -0
  596. package/dist/utils/createWithSuspense/createWithSuspense.cjs +153 -0
  597. package/dist/utils/createWithSuspense/createWithSuspense.cjs.map +1 -0
  598. package/dist/utils/createWithSuspense/createWithSuspense.d.cts +73 -0
  599. package/dist/utils/createWithSuspense/createWithSuspense.d.cts.map +1 -0
  600. package/dist/utils/createWithSuspense/createWithSuspense.d.ts +73 -0
  601. package/dist/utils/createWithSuspense/createWithSuspense.d.ts.map +1 -0
  602. package/dist/utils/createWithSuspense/createWithSuspense.js +151 -0
  603. package/dist/utils/createWithSuspense/createWithSuspense.js.map +1 -0
  604. package/dist/utils/createWithSuspense/index.cjs +3 -8
  605. package/dist/utils/createWithSuspense/index.d.cts +2 -72
  606. package/dist/utils/createWithSuspense/index.d.ts +2 -72
  607. package/dist/utils/createWithSuspense/index.js +2 -8
  608. package/package.json +33 -32
  609. package/dist/Accordion-BX1Npq3Q.d.cts +0 -140
  610. package/dist/Accordion-BX1Npq3Q.d.ts +0 -140
  611. package/dist/Alert-CWjAMyih.d.cts +0 -145
  612. package/dist/Alert-CWjAMyih.d.ts +0 -145
  613. package/dist/Avatar-DTg6mH8E.d.cts +0 -73
  614. package/dist/Avatar-DTg6mH8E.d.ts +0 -73
  615. package/dist/AvatarGroup-9wz1iZH4.d.ts +0 -23
  616. package/dist/AvatarGroup-BYAaERBV.d.cts +0 -23
  617. package/dist/Badge-DkO-EJif.d.cts +0 -63
  618. package/dist/Badge-DkO-EJif.d.ts +0 -63
  619. package/dist/Breadcrumb-CW1qsIoL.d.cts +0 -123
  620. package/dist/Breadcrumb-CW1qsIoL.d.ts +0 -123
  621. package/dist/Button-nJ22qVMK.d.cts +0 -262
  622. package/dist/Button-nJ22qVMK.d.ts +0 -262
  623. package/dist/ButtonGroup-CUxpALRo.d.cts +0 -9
  624. package/dist/ButtonGroup-CUxpALRo.d.ts +0 -9
  625. package/dist/Card-2AwIQqnR.d.cts +0 -75
  626. package/dist/Card-2AwIQqnR.d.ts +0 -75
  627. package/dist/Drawer-Bd7lsUl9.d.cts +0 -118
  628. package/dist/Drawer-Bd7lsUl9.d.ts +0 -118
  629. package/dist/Json/index.css +0 -59
  630. package/dist/Json/index.css.map +0 -1
  631. package/dist/Json-Dny90Wml.d.cts +0 -24
  632. package/dist/Json-Dny90Wml.d.ts +0 -24
  633. package/dist/Label-B5fd7vp_.d.cts +0 -215
  634. package/dist/Label-B5fd7vp_.d.ts +0 -215
  635. package/dist/Menu-C9M_q1Z6.d.cts +0 -101
  636. package/dist/Menu-C9M_q1Z6.d.ts +0 -101
  637. package/dist/Modal-BwFQz60I.d.cts +0 -115
  638. package/dist/Modal-BwFQz60I.d.ts +0 -115
  639. package/dist/Popover-DKzS6RUP.d.cts +0 -112
  640. package/dist/Popover-DKzS6RUP.d.ts +0 -112
  641. package/dist/Progress-Deph-HCf.d.cts +0 -133
  642. package/dist/Progress-Deph-HCf.d.ts +0 -133
  643. package/dist/ProgressCircular-CkZsOW4R.d.cts +0 -228
  644. package/dist/ProgressCircular-CkZsOW4R.d.ts +0 -228
  645. package/dist/Table-LKaPSY4D.d.cts +0 -161
  646. package/dist/Table-LKaPSY4D.d.ts +0 -161
  647. package/dist/Tabs-BM4tl_1j.d.cts +0 -122
  648. package/dist/Tabs-BM4tl_1j.d.ts +0 -122
  649. package/dist/Toaster-BtcILj3f.d.ts +0 -79
  650. package/dist/Toaster-D28PKRWz.d.cts +0 -79
  651. package/dist/Tooltip-DoIaNgTC.d.cts +0 -195
  652. package/dist/Tooltip-DoIaNgTC.d.ts +0 -195
  653. package/dist/chunk-2NMIKTA5.js +0 -184
  654. package/dist/chunk-2NMIKTA5.js.map +0 -1
  655. package/dist/chunk-3SXXVV5T.js +0 -124
  656. package/dist/chunk-3SXXVV5T.js.map +0 -1
  657. package/dist/chunk-3WD7CGWD.cjs +0 -37
  658. package/dist/chunk-3WD7CGWD.cjs.map +0 -1
  659. package/dist/chunk-4AXE6KZW.js +0 -127
  660. package/dist/chunk-4AXE6KZW.js.map +0 -1
  661. package/dist/chunk-4SBEERL5.js +0 -145
  662. package/dist/chunk-4SBEERL5.js.map +0 -1
  663. package/dist/chunk-4Y4W74D7.js +0 -48
  664. package/dist/chunk-4Y4W74D7.js.map +0 -1
  665. package/dist/chunk-5ZT7C5IP.cjs +0 -169
  666. package/dist/chunk-5ZT7C5IP.cjs.map +0 -1
  667. package/dist/chunk-6PCFYEJH.cjs +0 -86
  668. package/dist/chunk-6PCFYEJH.cjs.map +0 -1
  669. package/dist/chunk-73HT7W6F.js +0 -104
  670. package/dist/chunk-73HT7W6F.js.map +0 -1
  671. package/dist/chunk-77J7NZYB.cjs +0 -48
  672. package/dist/chunk-77J7NZYB.cjs.map +0 -1
  673. package/dist/chunk-AHEA4IJV.cjs +0 -84
  674. package/dist/chunk-AHEA4IJV.cjs.map +0 -1
  675. package/dist/chunk-B2PDISUU.cjs +0 -77
  676. package/dist/chunk-B2PDISUU.cjs.map +0 -1
  677. package/dist/chunk-BPBEZCSP.cjs +0 -127
  678. package/dist/chunk-BPBEZCSP.cjs.map +0 -1
  679. package/dist/chunk-CUNIBDOS.js +0 -89
  680. package/dist/chunk-CUNIBDOS.js.map +0 -1
  681. package/dist/chunk-D6Z3F5C2.js +0 -86
  682. package/dist/chunk-D6Z3F5C2.js.map +0 -1
  683. package/dist/chunk-FLDEDIE2.js +0 -37
  684. package/dist/chunk-FLDEDIE2.js.map +0 -1
  685. package/dist/chunk-FNQ7VO32.js +0 -13
  686. package/dist/chunk-FNQ7VO32.js.map +0 -1
  687. package/dist/chunk-FQJ32476.cjs +0 -145
  688. package/dist/chunk-FQJ32476.cjs.map +0 -1
  689. package/dist/chunk-FVQDVD3E.cjs +0 -184
  690. package/dist/chunk-FVQDVD3E.cjs.map +0 -1
  691. package/dist/chunk-G3YTOGEG.cjs +0 -80
  692. package/dist/chunk-G3YTOGEG.cjs.map +0 -1
  693. package/dist/chunk-GKYJUGD4.js +0 -14
  694. package/dist/chunk-GKYJUGD4.js.map +0 -1
  695. package/dist/chunk-HG7AE6Q2.cjs +0 -49
  696. package/dist/chunk-HG7AE6Q2.cjs.map +0 -1
  697. package/dist/chunk-HMYQTHGT.js +0 -80
  698. package/dist/chunk-HMYQTHGT.js.map +0 -1
  699. package/dist/chunk-HSREBNZV.js +0 -66
  700. package/dist/chunk-HSREBNZV.js.map +0 -1
  701. package/dist/chunk-I5QMH3J5.cjs +0 -96
  702. package/dist/chunk-I5QMH3J5.cjs.map +0 -1
  703. package/dist/chunk-IBX6A72P.cjs +0 -90
  704. package/dist/chunk-IBX6A72P.cjs.map +0 -1
  705. package/dist/chunk-IGRNC5NX.js +0 -98
  706. package/dist/chunk-IGRNC5NX.js.map +0 -1
  707. package/dist/chunk-ITHJ52SN.cjs +0 -29
  708. package/dist/chunk-ITHJ52SN.cjs.map +0 -1
  709. package/dist/chunk-IXBNFKOS.cjs +0 -62
  710. package/dist/chunk-IXBNFKOS.cjs.map +0 -1
  711. package/dist/chunk-K5VPNWIJ.cjs +0 -103
  712. package/dist/chunk-K5VPNWIJ.cjs.map +0 -1
  713. package/dist/chunk-KGNCVUGN.js +0 -77
  714. package/dist/chunk-KGNCVUGN.js.map +0 -1
  715. package/dist/chunk-M3Y2DZZE.js +0 -62
  716. package/dist/chunk-M3Y2DZZE.js.map +0 -1
  717. package/dist/chunk-MF5KUM5I.js +0 -124
  718. package/dist/chunk-MF5KUM5I.js.map +0 -1
  719. package/dist/chunk-NSYHAJM2.cjs +0 -104
  720. package/dist/chunk-NZ5FWOC6.js +0 -2812
  721. package/dist/chunk-NZ5FWOC6.js.map +0 -1
  722. package/dist/chunk-OAIRL2FN.js +0 -84
  723. package/dist/chunk-OAIRL2FN.js.map +0 -1
  724. package/dist/chunk-OFZQFYUT.js +0 -103
  725. package/dist/chunk-OFZQFYUT.js.map +0 -1
  726. package/dist/chunk-OLU26V56.cjs +0 -98
  727. package/dist/chunk-OLU26V56.cjs.map +0 -1
  728. package/dist/chunk-ON3PVFZY.cjs +0 -14
  729. package/dist/chunk-ON3PVFZY.cjs.map +0 -1
  730. package/dist/chunk-P7QMPWKS.cjs +0 -2812
  731. package/dist/chunk-P7QMPWKS.cjs.map +0 -1
  732. package/dist/chunk-RPULU7LC.cjs +0 -89
  733. package/dist/chunk-RPULU7LC.cjs.map +0 -1
  734. package/dist/chunk-SDZX5VJZ.js +0 -96
  735. package/dist/chunk-SDZX5VJZ.js.map +0 -1
  736. package/dist/chunk-SRDRLHAA.js +0 -169
  737. package/dist/chunk-SRDRLHAA.js.map +0 -1
  738. package/dist/chunk-TJTBJ2NT.js +0 -90
  739. package/dist/chunk-TJTBJ2NT.js.map +0 -1
  740. package/dist/chunk-U5J6GTQE.js +0 -123
  741. package/dist/chunk-U5J6GTQE.js.map +0 -1
  742. package/dist/chunk-UEQG424R.js +0 -49
  743. package/dist/chunk-UEQG424R.js.map +0 -1
  744. package/dist/chunk-VD7VRLYO.js +0 -112
  745. package/dist/chunk-VD7VRLYO.js.map +0 -1
  746. package/dist/chunk-VHESFBAQ.cjs +0 -66
  747. package/dist/chunk-VHESFBAQ.cjs.map +0 -1
  748. package/dist/chunk-WCE3O6UA.cjs +0 -123
  749. package/dist/chunk-WCE3O6UA.cjs.map +0 -1
  750. package/dist/chunk-Y3RSI2KV.cjs +0 -13
  751. package/dist/chunk-Y3RSI2KV.cjs.map +0 -1
  752. package/dist/chunk-YUR6N2RB.cjs +0 -124
  753. package/dist/chunk-YWEUUA52.cjs +0 -112
  754. package/dist/chunk-YWEUUA52.cjs.map +0 -1
  755. package/dist/chunk-ZIAB3EXU.cjs +0 -124
  756. package/dist/chunk-ZIAB3EXU.cjs.map +0 -1
  757. package/dist/chunk-ZLSX6FH3.js +0 -29
  758. package/dist/chunk-ZLSX6FH3.js.map +0 -1
  759. package/dist/hooks/useDebounce/index.cjs.map +0 -1
  760. package/dist/hooks/useDebounce/index.js.map +0 -1
  761. package/dist/hooks/useIsInitialRenderCycle/index.cjs.map +0 -1
  762. package/dist/hooks/useIsInitialRenderCycle/index.js.map +0 -1
  763. package/dist/hooks/useLocalStorage/index.cjs.map +0 -1
  764. package/dist/hooks/useLocalStorage/index.js.map +0 -1
  765. package/dist/index.css.map +0 -1
  766. package/dist/utils/createWithSuspense/index.cjs.map +0 -1
  767. package/dist/utils/createWithSuspense/index.js.map +0 -1
@@ -1,96 +0,0 @@
1
- // src/Alert/Alert.tsx
2
- import { Alert as HeroAlert } from "@heroui/alert";
3
- import { alert as heroAlertVariants } from "@heroui/theme";
4
- import { tv, variantsToClassNames } from "@fuf-stack/pixel-utils";
5
- import { jsx } from "react/jsx-runtime";
6
- var alertVariants = tv({
7
- slots: {
8
- base: "min-w-72",
9
- title: "",
10
- description: "",
11
- mainWrapper: "gap-1.5",
12
- closeButton: "",
13
- iconWrapper: "",
14
- alertIcon: ""
15
- },
16
- variants: {
17
- // if HeroUI Alert title and description are set the icon is placed on top (looks better)
18
- hasTitleAndChildren: {
19
- true: {
20
- iconWrapper: "self-start"
21
- }
22
- },
23
- // see: https://github.com/heroui-inc/heroui/blob/canary/packages/core/theme/src/components/alert.ts
24
- variant: {
25
- danger: {
26
- base: "bg-danger-50 dark:bg-danger-50"
27
- },
28
- default: {
29
- base: "bg-default-100 dark:bg-default-50"
30
- },
31
- info: {
32
- alertIcon: "fill-current",
33
- base: "border-small border-info-200 bg-info-50 text-info-600 dark:border-info-100 dark:bg-info-50",
34
- closeButton: "text-info-500 data-[hover]:bg-info-200",
35
- description: "text-inherit",
36
- iconWrapper: "border-info-100 bg-info-50 dark:bg-info-100",
37
- mainWrapper: "text-inherit",
38
- title: "text-inherit"
39
- },
40
- success: {
41
- base: "bg-success-50 dark:bg-success-50"
42
- },
43
- warning: {
44
- base: "bg-warning-50 dark:bg-warning-50"
45
- }
46
- }
47
- }
48
- });
49
- var Alert = ({
50
- children = void 0,
51
- className = void 0,
52
- endContent = void 0,
53
- icon = void 0,
54
- closable = false,
55
- onClose = void 0,
56
- testId = void 0,
57
- title = void 0,
58
- variant = "info"
59
- }) => {
60
- const hasTitleAndChildren = !!children && !!title;
61
- const variants = alertVariants({
62
- hasTitleAndChildren,
63
- variant
64
- });
65
- const classNames = variantsToClassNames(variants, className, "base");
66
- const heroColor = Object.keys(heroAlertVariants.variants.color).includes(
67
- variant
68
- ) ? variant : void 0;
69
- return /* @__PURE__ */ jsx(
70
- HeroAlert,
71
- {
72
- classNames,
73
- color: heroColor,
74
- "data-testid": testId,
75
- description: title ? children : void 0,
76
- endContent,
77
- hideIcon: variant === "default",
78
- icon,
79
- isClosable: closable,
80
- onClose,
81
- title: title != null ? title : children,
82
- variant: "faded"
83
- }
84
- );
85
- };
86
- var Alert_default = Alert;
87
-
88
- // src/Alert/index.ts
89
- var Alert_default2 = Alert_default;
90
-
91
- export {
92
- alertVariants,
93
- Alert_default,
94
- Alert_default2
95
- };
96
- //# sourceMappingURL=chunk-SDZX5VJZ.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/Alert/Alert.tsx","../src/Alert/index.ts"],"sourcesContent":["import type { TVClassName, TVProps } from '@fuf-stack/pixel-utils';\nimport type { AlertProps as HeroAlertProps } from '@heroui/alert';\nimport type { ReactNode } from 'react';\n\nimport { Alert as HeroAlert } from '@heroui/alert';\nimport { alert as heroAlertVariants } from '@heroui/theme';\n\nimport { tv, variantsToClassNames } from '@fuf-stack/pixel-utils';\n\nexport const alertVariants = tv({\n slots: {\n base: 'min-w-72',\n title: '',\n description: '',\n mainWrapper: 'gap-1.5',\n closeButton: '',\n iconWrapper: '',\n alertIcon: '',\n },\n variants: {\n // if HeroUI Alert title and description are set the icon is placed on top (looks better)\n hasTitleAndChildren: {\n true: {\n iconWrapper: 'self-start',\n },\n },\n // see: https://github.com/heroui-inc/heroui/blob/canary/packages/core/theme/src/components/alert.ts\n variant: {\n danger: {\n base: 'bg-danger-50 dark:bg-danger-50',\n },\n default: {\n base: 'bg-default-100 dark:bg-default-50',\n },\n info: {\n alertIcon: 'fill-current',\n base: 'border-small border-info-200 bg-info-50 text-info-600 dark:border-info-100 dark:bg-info-50',\n closeButton: 'text-info-500 data-[hover]:bg-info-200',\n description: 'text-inherit',\n iconWrapper: 'border-info-100 bg-info-50 dark:bg-info-100',\n mainWrapper: 'text-inherit',\n title: 'text-inherit',\n },\n success: {\n base: 'bg-success-50 dark:bg-success-50',\n },\n warning: {\n base: 'bg-warning-50 dark:bg-warning-50',\n },\n },\n },\n});\n\nexport type VariantProps = TVProps<typeof alertVariants>;\ntype ClassName = TVClassName<typeof alertVariants>;\n\n// hasTitleAndChildren is omitted because its used for automatic icon position\nexport interface AlertProps extends Omit<VariantProps, 'hasTitleAndChildren'> {\n /** Content displayed inside the Alert if no description is given! */\n children?: ReactNode;\n /** CSS class name */\n className?: ClassName;\n /** Content displayed at the end of the Alert */\n endContent?: ReactNode;\n /** Icon displayed at the start of the Alert */\n icon?: ReactNode;\n /** Whether the Alert can be closed */\n closable?: boolean;\n /** Callback fired when the close button is clicked */\n onClose?: () => void;\n /** HTML data-testid attribute used in e2e tests */\n testId?: string;\n /** Title displayed in the Alert above the content */\n title?: ReactNode;\n /** Style variant of the Alert */\n variant?: VariantProps['variant'];\n}\n\n/**\n * Alert component based on [HeroUI Alert](https://www.heroui.com//docs/components/alert)\n */\nconst Alert = ({\n children = undefined,\n className = undefined,\n endContent = undefined,\n icon = undefined,\n closable = false,\n onClose = undefined,\n testId = undefined,\n title = undefined,\n variant = 'info',\n}: AlertProps) => {\n const hasTitleAndChildren = !!children && !!title;\n const variants = alertVariants({\n hasTitleAndChildren,\n variant,\n });\n const classNames = variantsToClassNames(variants, className, 'base');\n\n // map variant to HeroUI color prop (only for variants that exist in HeroUI)\n const heroColor = Object.keys(heroAlertVariants.variants.color).includes(\n variant,\n )\n ? (variant as HeroAlertProps['color'])\n : undefined;\n\n return (\n <HeroAlert\n classNames={classNames}\n color={heroColor}\n data-testid={testId}\n description={title ? children : undefined}\n endContent={endContent}\n hideIcon={variant === 'default'}\n icon={icon}\n // map closable to isClosable, because of we do not want \"is\" as prefix\n isClosable={closable}\n onClose={onClose}\n title={(title ?? children) as string}\n variant=\"faded\"\n />\n );\n};\n\nexport default Alert;\n","import Alert, { alertVariants } from './Alert';\n\nexport type { AlertProps } from './Alert';\n\nexport { Alert, alertVariants };\n\nexport default Alert;\n"],"mappings":";AAIA,SAAS,SAAS,iBAAiB;AACnC,SAAS,SAAS,yBAAyB;AAE3C,SAAS,IAAI,4BAA4B;AAoGrC;AAlGG,IAAM,gBAAgB,GAAG;AAAA,EAC9B,OAAO;AAAA,IACL,MAAM;AAAA,IACN,OAAO;AAAA,IACP,aAAa;AAAA,IACb,aAAa;AAAA,IACb,aAAa;AAAA,IACb,aAAa;AAAA,IACb,WAAW;AAAA,EACb;AAAA,EACA,UAAU;AAAA;AAAA,IAER,qBAAqB;AAAA,MACnB,MAAM;AAAA,QACJ,aAAa;AAAA,MACf;AAAA,IACF;AAAA;AAAA,IAEA,SAAS;AAAA,MACP,QAAQ;AAAA,QACN,MAAM;AAAA,MACR;AAAA,MACA,SAAS;AAAA,QACP,MAAM;AAAA,MACR;AAAA,MACA,MAAM;AAAA,QACJ,WAAW;AAAA,QACX,MAAM;AAAA,QACN,aAAa;AAAA,QACb,aAAa;AAAA,QACb,aAAa;AAAA,QACb,aAAa;AAAA,QACb,OAAO;AAAA,MACT;AAAA,MACA,SAAS;AAAA,QACP,MAAM;AAAA,MACR;AAAA,MACA,SAAS;AAAA,QACP,MAAM;AAAA,MACR;AAAA,IACF;AAAA,EACF;AACF,CAAC;AA8BD,IAAM,QAAQ,CAAC;AAAA,EACb,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,aAAa;AAAA,EACb,OAAO;AAAA,EACP,WAAW;AAAA,EACX,UAAU;AAAA,EACV,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,UAAU;AACZ,MAAkB;AAChB,QAAM,sBAAsB,CAAC,CAAC,YAAY,CAAC,CAAC;AAC5C,QAAM,WAAW,cAAc;AAAA,IAC7B;AAAA,IACA;AAAA,EACF,CAAC;AACD,QAAM,aAAa,qBAAqB,UAAU,WAAW,MAAM;AAGnE,QAAM,YAAY,OAAO,KAAK,kBAAkB,SAAS,KAAK,EAAE;AAAA,IAC9D;AAAA,EACF,IACK,UACD;AAEJ,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA,OAAO;AAAA,MACP,eAAa;AAAA,MACb,aAAa,QAAQ,WAAW;AAAA,MAChC;AAAA,MACA,UAAU,YAAY;AAAA,MACtB;AAAA,MAEA,YAAY;AAAA,MACZ;AAAA,MACA,OAAQ,wBAAS;AAAA,MACjB,SAAQ;AAAA;AAAA,EACV;AAEJ;AAEA,IAAO,gBAAQ;;;ACtHf,IAAOA,iBAAQ;","names":["Alert_default"]}
@@ -1,169 +0,0 @@
1
- import {
2
- __objRest,
3
- __spreadProps,
4
- __spreadValues
5
- } from "./chunk-OAIRL2FN.js";
6
-
7
- // src/Menu/Menu.tsx
8
- import { Button } from "@heroui/button";
9
- import {
10
- Dropdown as HeroDropdown,
11
- DropdownItem as HeroDropdownItem,
12
- DropdownMenu as HeroDropdownMenu,
13
- DropdownSection as HeroDropdownSection,
14
- DropdownTrigger as HeroDropdownTrigger
15
- } from "@heroui/dropdown";
16
- import { cn, slugify, tv, variantsToClassNames } from "@fuf-stack/pixel-utils";
17
-
18
- // src/Menu/VerticalDotsIcon.tsx
19
- import { jsx } from "react/jsx-runtime";
20
- var VerticalDotsIcon = (_a) => {
21
- var _b = _a, {
22
- size = 24,
23
- width,
24
- height
25
- } = _b, props = __objRest(_b, [
26
- "size",
27
- "width",
28
- "height"
29
- ]);
30
- return /* @__PURE__ */ jsx(
31
- "svg",
32
- __spreadProps(__spreadValues({
33
- "aria-hidden": "true",
34
- fill: "none",
35
- focusable: "false",
36
- height: size != null ? size : height,
37
- role: "presentation",
38
- viewBox: "0 0 24 24",
39
- width: size != null ? size : width
40
- }, props), {
41
- children: /* @__PURE__ */ jsx(
42
- "path",
43
- {
44
- d: "M12 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 12c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z",
45
- fill: "currentColor"
46
- }
47
- )
48
- })
49
- );
50
- };
51
- var VerticalDotsIcon_default = VerticalDotsIcon;
52
-
53
- // src/Menu/Menu.tsx
54
- import { jsx as jsx2, jsxs } from "react/jsx-runtime";
55
- var menuVariants = tv({
56
- slots: {
57
- item: "",
58
- trigger: "z-auto"
59
- }
60
- });
61
- var isMenuSection = (item) => {
62
- return "items" in item;
63
- };
64
- var getDisabledKeys = (items) => {
65
- const flatItems = items.reduce((acc, item) => {
66
- if (isMenuSection(item)) {
67
- acc.push(...item.items);
68
- } else {
69
- acc.push(item);
70
- }
71
- return acc;
72
- }, []);
73
- return flatItems.filter((item) => {
74
- return item.disabled === true;
75
- }).map((item) => {
76
- return item.key;
77
- });
78
- };
79
- var renderMenuItem = (item, itemClassName) => {
80
- var _a;
81
- return /* @__PURE__ */ jsx2(
82
- HeroDropdownItem,
83
- {
84
- className: cn(itemClassName, item.className),
85
- "data-testid": slugify((_a = item.testId) != null ? _a : item.key),
86
- description: item.description,
87
- onPress: item.onClick,
88
- startContent: item.icon,
89
- children: item.label
90
- },
91
- item.key
92
- );
93
- };
94
- var Menu = ({
95
- ariaLabel = void 0,
96
- children = null,
97
- className: _className = void 0,
98
- isDisabled = false,
99
- items,
100
- onAction = void 0,
101
- placement = void 0,
102
- testId = void 0,
103
- triggerButtonProps = void 0
104
- }) => {
105
- const variants = menuVariants();
106
- const className = variantsToClassNames(variants, _className, "trigger");
107
- let triggerButton = /* @__PURE__ */ jsx2("button", { className: className.trigger, type: "button", children });
108
- if (!children) {
109
- triggerButton = /* @__PURE__ */ jsx2(
110
- Button,
111
- __spreadProps(__spreadValues({
112
- isIconOnly: true,
113
- className: cn("min-w-0 outline outline-divider", className.trigger),
114
- radius: "full",
115
- size: "sm",
116
- variant: "light"
117
- }, triggerButtonProps), {
118
- children: /* @__PURE__ */ jsx2(VerticalDotsIcon_default, {})
119
- })
120
- );
121
- } else if (triggerButtonProps) {
122
- triggerButton = /* @__PURE__ */ jsx2(Button, __spreadProps(__spreadValues({ className: className.trigger }, triggerButtonProps), { children }));
123
- }
124
- return /* @__PURE__ */ jsxs(
125
- HeroDropdown,
126
- {
127
- "aria-label": ariaLabel,
128
- isDisabled,
129
- placement,
130
- children: [
131
- /* @__PURE__ */ jsx2(HeroDropdownTrigger, { "data-testid": testId, children: triggerButton }),
132
- /* @__PURE__ */ jsx2(
133
- HeroDropdownMenu,
134
- {
135
- disabledKeys: getDisabledKeys(items),
136
- items,
137
- onAction,
138
- children: (item) => {
139
- if ("items" in item) {
140
- return /* @__PURE__ */ jsx2(
141
- HeroDropdownSection,
142
- {
143
- items: item.items,
144
- title: item.label,
145
- children: (sectionItem) => {
146
- return renderMenuItem(sectionItem, className.item);
147
- }
148
- },
149
- item.key
150
- );
151
- }
152
- return renderMenuItem(item, className.item);
153
- }
154
- }
155
- )
156
- ]
157
- }
158
- );
159
- };
160
- var Menu_default = Menu;
161
-
162
- // src/Menu/index.ts
163
- var Menu_default2 = Menu_default;
164
-
165
- export {
166
- Menu_default,
167
- Menu_default2
168
- };
169
- //# sourceMappingURL=chunk-SRDRLHAA.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/Menu/Menu.tsx","../src/Menu/VerticalDotsIcon.tsx","../src/Menu/index.ts"],"sourcesContent":["import type { TVClassName, TVProps } from '@fuf-stack/pixel-utils';\nimport type { ButtonProps } from '@heroui/button';\nimport type {\n DropdownItemProps as HeroDropdownItemProps,\n DropdownProps as HeroDropdownProps,\n DropdownSectionProps as HeroDropdownSectionProps,\n} from '@heroui/dropdown';\nimport type { Key, ReactNode } from 'react';\n\nimport { Button } from '@heroui/button';\nimport {\n Dropdown as HeroDropdown,\n DropdownItem as HeroDropdownItem,\n DropdownMenu as HeroDropdownMenu,\n DropdownSection as HeroDropdownSection,\n DropdownTrigger as HeroDropdownTrigger,\n} from '@heroui/dropdown';\n\nimport { cn, slugify, tv, variantsToClassNames } from '@fuf-stack/pixel-utils';\n\nimport VerticalDotsIcon from './VerticalDotsIcon';\n\n/**\n * Menu component based on [HeroUI Dropdown](https://www.heroui.com//docs/components/dropdown)\n */\nexport interface MenuItem {\n /** unique identifier */\n key: string;\n /** CSS class name */\n className?: string;\n /** additional description shown under the label */\n description?: string;\n /** disables the menu item */\n disabled?: boolean;\n /** menu item icon */\n icon?: ReactNode;\n /** menu item name */\n label: ReactNode;\n /** click event handler */\n onClick?: HeroDropdownItemProps['onPress'];\n /** e2e test identifier */\n testId?: string;\n}\n\n/**\n * Menu section type\n */\nexport interface MenuSection {\n /** unique identifier */\n key: string;\n /** section label */\n label: ReactNode;\n /** section items (array of MenuItem) */\n items: MenuItem[];\n}\n\n// menu styling variants\nexport const menuVariants = tv({\n slots: {\n item: '',\n trigger: 'z-auto',\n },\n});\n\ntype VariantProps = TVProps<typeof menuVariants>;\ntype ClassName = TVClassName<typeof menuVariants>;\n\nexport interface MenuProps extends VariantProps {\n /** sets HTML aria-label attribute */\n ariaLabel?: string;\n /** child components */\n children?: ReactNode;\n /** CSS class name */\n className?: ClassName;\n /** menu item structure */\n items: (MenuSection | MenuItem)[];\n /** disable menu trigger */\n isDisabled?: boolean;\n /** placement of the menu */\n placement?: HeroDropdownProps['placement'];\n /** called if item is selected */\n onAction?: (key: Key) => void;\n /** HTML data-testid attribute used in e2e tests */\n testId?: string;\n /** When defined a Button will be rendered as trigger (with provided props) instead of unstyled html button */\n triggerButtonProps?: Pick<\n ButtonProps,\n | 'aria-label'\n | 'className'\n | 'color'\n | 'disableAnimation'\n | 'disableRipple'\n | 'disabled'\n | 'size'\n | 'variant'\n > & { 'data-testid'?: string };\n}\n\n// type guard for MenuSection\nconst isMenuSection = (item: MenuSection | MenuItem): item is MenuSection => {\n return 'items' in item;\n};\n\n// returns String[] of disabled items/keys\nconst getDisabledKeys = (items: (MenuSection | MenuItem)[]): string[] => {\n const flatItems = items.reduce<MenuItem[]>((acc, item) => {\n if (isMenuSection(item)) {\n acc.push(...item.items);\n } else {\n acc.push(item);\n }\n return acc;\n }, []);\n return flatItems\n .filter((item) => {\n return item.disabled === true;\n })\n .map((item) => {\n return item.key;\n });\n};\n\nconst renderMenuItem = (item: MenuItem, itemClassName?: string) => {\n return (\n <HeroDropdownItem\n key={item.key}\n className={cn(itemClassName, item.className)}\n data-testid={slugify(item.testId ?? item.key)}\n description={item.description}\n onPress={item.onClick}\n startContent={item.icon}\n >\n {item.label}\n </HeroDropdownItem>\n );\n};\n\n/**\n * Dropdown menu component based on [HeroUI Dropdown](https://www.heroui.com//docs/components/dropdown)\n */\nconst Menu = ({\n ariaLabel = undefined,\n children = null,\n className: _className = undefined,\n isDisabled = false,\n items,\n onAction = undefined,\n placement = undefined,\n testId = undefined,\n triggerButtonProps = undefined,\n}: MenuProps) => {\n // className from slots\n const variants = menuVariants();\n const className = variantsToClassNames(variants, _className, 'trigger');\n\n // determine trigger button variant\n let triggerButton = (\n <button className={className.trigger} type=\"button\">\n {children}\n </button>\n );\n if (!children) {\n // default to ellipsis icon when no children are provided\n triggerButton = (\n <Button\n isIconOnly\n className={cn('min-w-0 outline outline-divider', className.trigger)}\n radius=\"full\"\n size=\"sm\"\n variant=\"light\"\n {...triggerButtonProps}\n >\n <VerticalDotsIcon />\n </Button>\n );\n } else if (triggerButtonProps) {\n // use provided triggerButtonProps with hero button\n triggerButton = (\n <Button className={className.trigger} {...triggerButtonProps}>\n {children}\n </Button>\n );\n }\n\n return (\n <HeroDropdown\n aria-label={ariaLabel}\n isDisabled={isDisabled}\n placement={placement}\n >\n <HeroDropdownTrigger data-testid={testId}>\n {/* NOTE: type and aria properties are injected by HeroDropdownTrigger */}\n {triggerButton}\n </HeroDropdownTrigger>\n <HeroDropdownMenu\n disabledKeys={getDisabledKeys(items)}\n items={items}\n onAction={onAction}\n >\n {(item) => {\n if ('items' in item) {\n return (\n <HeroDropdownSection\n key={item.key}\n items={item.items}\n title={item.label as HeroDropdownSectionProps['title']}\n >\n {(sectionItem) => {\n return renderMenuItem(sectionItem, className.item);\n }}\n </HeroDropdownSection>\n );\n }\n return renderMenuItem(item, className.item);\n }}\n </HeroDropdownMenu>\n </HeroDropdown>\n );\n};\n\nexport default Menu;\n","import type { SVGProps } from 'react';\n\n// Default Icon for Menu button\nconst VerticalDotsIcon = ({\n size = 24,\n width,\n height,\n ...props\n}: SVGProps<SVGSVGElement> & { size?: number }) => {\n return (\n <svg\n aria-hidden=\"true\"\n fill=\"none\"\n focusable=\"false\"\n height={size ?? height}\n role=\"presentation\"\n viewBox=\"0 0 24 24\"\n width={size ?? width}\n {...props}\n >\n <path\n d=\"M12 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 12c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z\"\n fill=\"currentColor\"\n />\n </svg>\n );\n};\n\nexport default VerticalDotsIcon;\n","import Menu from './Menu';\n\nexport type { MenuProps, MenuItem, MenuSection } from './Menu';\n\nexport { Menu };\n\nexport default Menu;\n"],"mappings":"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","names":["jsx","Menu_default"]}
@@ -1,90 +0,0 @@
1
- import {
2
- __spreadValues
3
- } from "./chunk-OAIRL2FN.js";
4
-
5
- // src/Breadcrumb/Breadcrumb.tsx
6
- import {
7
- Breadcrumbs as HeroBreadcrumb,
8
- BreadcrumbItem as HeroBreadcrumbItem
9
- } from "@heroui/breadcrumbs";
10
- import { tv, variantsToClassNames } from "@fuf-stack/pixel-utils";
11
- import { jsx } from "react/jsx-runtime";
12
- var breadcrumbVariants = tv({
13
- slots: {
14
- /** ellipsis slot */
15
- ellipsis: "",
16
- /** li > span slot */
17
- item: "",
18
- /** li slot */
19
- itemBase: "",
20
- // base for item slot
21
- /** ol slot */
22
- list: "",
23
- /** separator slot */
24
- separator: "",
25
- /** nav slot, breadcrumb base slot in heroui */
26
- nav: ""
27
- }
28
- });
29
- var Breadcrumb = ({
30
- breadcrumbItems,
31
- className: _className = void 0,
32
- color = "foreground",
33
- disableAnimation = false,
34
- disabled = false,
35
- hideSeparator = false,
36
- maxItems = void 0,
37
- radius = "none",
38
- separator = void 0,
39
- size = "md",
40
- underline = "hover",
41
- variant = "light"
42
- }) => {
43
- const variants = breadcrumbVariants({});
44
- const classNames = variantsToClassNames(variants, _className, "nav");
45
- return /* @__PURE__ */ jsx(
46
- HeroBreadcrumb,
47
- {
48
- color,
49
- disableAnimation,
50
- hideSeparator,
51
- isDisabled: disabled,
52
- maxItems,
53
- radius,
54
- separator,
55
- size,
56
- underline,
57
- variant,
58
- classNames: {
59
- base: classNames.nav,
60
- ellipsis: classNames.separator,
61
- list: classNames.list
62
- },
63
- itemClasses: {
64
- base: classNames.itemBase,
65
- item: classNames.item,
66
- separator: classNames.separator
67
- },
68
- children: breadcrumbItems.map((item, index) => {
69
- return /* @__PURE__ */ jsx(
70
- HeroBreadcrumbItem,
71
- __spreadValues({
72
- isDisabled: disabled || (item == null ? void 0 : item.disabled)
73
- }, item),
74
- index
75
- );
76
- })
77
- }
78
- );
79
- };
80
- var Breadcrumb_default = Breadcrumb;
81
-
82
- // src/Breadcrumb/index.ts
83
- var Breadcrumb_default2 = Breadcrumb_default;
84
-
85
- export {
86
- breadcrumbVariants,
87
- Breadcrumb_default,
88
- Breadcrumb_default2
89
- };
90
- //# sourceMappingURL=chunk-TJTBJ2NT.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/Breadcrumb/Breadcrumb.tsx","../src/Breadcrumb/index.ts"],"sourcesContent":["import type { TVClassName, TVProps } from '@fuf-stack/pixel-utils';\nimport type { ReactNode } from 'react';\n\nimport {\n Breadcrumbs as HeroBreadcrumb,\n BreadcrumbItem as HeroBreadcrumbItem,\n} from '@heroui/breadcrumbs';\n\nimport { tv, variantsToClassNames } from '@fuf-stack/pixel-utils';\n\n// breadcrumb styling variants\n// see: https://www.heroui.com//docs/components/breadcrumbs#breadcrumbitem-props\nexport const breadcrumbVariants = tv({\n slots: {\n /** ellipsis slot */\n ellipsis: '',\n /** li > span slot */\n item: '',\n /** li slot */\n itemBase: '', // base for item slot\n /** ol slot */\n list: '',\n /** separator slot */\n separator: '',\n /** nav slot, breadcrumb base slot in heroui */\n nav: '',\n },\n});\n\nexport interface BreadcrumbItemProps {\n /** Content of the breadcrumb item */\n children: ReactNode;\n /** Disables the breadcrumb item */\n disabled?: boolean;\n /** content displayed before the children */\n startContent?: ReactNode;\n /** content displayed after the children */\n endContent?: ReactNode;\n}\n\ntype VariantProps = TVProps<typeof breadcrumbVariants>;\ntype ClassName = TVClassName<typeof breadcrumbVariants>;\n\nexport interface BreadcrumbProps extends VariantProps {\n /** Props for breadcrumbItem, will render the breadcrumb items programmatically */\n breadcrumbItems: BreadcrumbItemProps[];\n /** CSS class name */\n className?: ClassName;\n /** color of the active BreadcrumbItem */\n color?:\n | 'foreground'\n | 'primary'\n | 'secondary'\n | 'success'\n | 'warning'\n | 'danger';\n /** Disables the breadcrumb animation */\n disableAnimation?: boolean;\n /** hides the separator between items */\n hideSeparator?: boolean;\n /** disables all items */\n disabled?: boolean;\n /** Maximum number of items to show without \"...\" in between */\n maxItems?: number;\n /** Radius of the breadcrumb */\n radius?: 'none' | 'sm' | 'md' | 'lg' | 'full';\n /** Separator between items */\n separator?: ReactNode;\n /** Size of the breadcrumb */\n size?: 'sm' | 'md' | 'lg';\n /** Adjust when the breadcrumb items should be underlined */\n underline?: 'none' | 'active' | 'hover' | 'focus' | 'always';\n /** Style variant of the breadcrumb */\n variant?: 'solid' | 'bordered' | 'light';\n}\n\n/**\n * Breadcrumb component based on [HeroUI Breadcrumbs](https://www.heroui.com//docs/components/breadcrumbs)\n */\nconst Breadcrumb = ({\n breadcrumbItems,\n className: _className = undefined,\n color = 'foreground',\n disableAnimation = false,\n disabled = false,\n hideSeparator = false,\n maxItems = undefined,\n radius = 'none',\n separator = undefined,\n size = 'md',\n underline = 'hover',\n variant = 'light',\n}: BreadcrumbProps) => {\n // itemClasses from className slots\n const variants = breadcrumbVariants({});\n const classNames = variantsToClassNames(variants, _className, 'nav');\n\n return (\n <HeroBreadcrumb\n color={color}\n disableAnimation={disableAnimation}\n hideSeparator={hideSeparator}\n isDisabled={disabled}\n maxItems={maxItems}\n radius={radius}\n separator={separator}\n size={size}\n underline={underline}\n variant={variant}\n classNames={{\n base: classNames.nav,\n ellipsis: classNames.separator,\n list: classNames.list,\n }}\n itemClasses={{\n base: classNames.itemBase,\n item: classNames.item,\n separator: classNames.separator,\n }}\n >\n {breadcrumbItems.map((item, index) => {\n return (\n <HeroBreadcrumbItem\n // eslint-disable-next-line react/no-array-index-key\n key={index}\n isDisabled={disabled || item?.disabled}\n {...item}\n />\n );\n })}\n </HeroBreadcrumb>\n );\n};\n\nexport default Breadcrumb;\n","import Breadcrumb, { breadcrumbVariants } from './Breadcrumb';\n\nexport type { BreadcrumbProps, BreadcrumbItemProps } from './Breadcrumb';\n\nexport { Breadcrumb, breadcrumbVariants };\n\nexport default Breadcrumb;\n"],"mappings":";;;;;AAGA;AAAA,EACE,eAAe;AAAA,EACf,kBAAkB;AAAA,OACb;AAEP,SAAS,IAAI,4BAA4B;AAkH/B;AA9GH,IAAM,qBAAqB,GAAG;AAAA,EACnC,OAAO;AAAA;AAAA,IAEL,UAAU;AAAA;AAAA,IAEV,MAAM;AAAA;AAAA,IAEN,UAAU;AAAA;AAAA;AAAA,IAEV,MAAM;AAAA;AAAA,IAEN,WAAW;AAAA;AAAA,IAEX,KAAK;AAAA,EACP;AACF,CAAC;AAoDD,IAAM,aAAa,CAAC;AAAA,EAClB;AAAA,EACA,WAAW,aAAa;AAAA,EACxB,QAAQ;AAAA,EACR,mBAAmB;AAAA,EACnB,WAAW;AAAA,EACX,gBAAgB;AAAA,EAChB,WAAW;AAAA,EACX,SAAS;AAAA,EACT,YAAY;AAAA,EACZ,OAAO;AAAA,EACP,YAAY;AAAA,EACZ,UAAU;AACZ,MAAuB;AAErB,QAAM,WAAW,mBAAmB,CAAC,CAAC;AACtC,QAAM,aAAa,qBAAqB,UAAU,YAAY,KAAK;AAEnE,SACE;AAAA,IAAC;AAAA;AAAA,MACC;AAAA,MACA;AAAA,MACA;AAAA,MACA,YAAY;AAAA,MACZ;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA,YAAY;AAAA,QACV,MAAM,WAAW;AAAA,QACjB,UAAU,WAAW;AAAA,QACrB,MAAM,WAAW;AAAA,MACnB;AAAA,MACA,aAAa;AAAA,QACX,MAAM,WAAW;AAAA,QACjB,MAAM,WAAW;AAAA,QACjB,WAAW,WAAW;AAAA,MACxB;AAAA,MAEC,0BAAgB,IAAI,CAAC,MAAM,UAAU;AACpC,eACE;AAAA,UAAC;AAAA;AAAA,YAGC,YAAY,aAAY,6BAAM;AAAA,aAC1B;AAAA,UAFC;AAAA,QAGP;AAAA,MAEJ,CAAC;AAAA;AAAA,EACH;AAEJ;AAEA,IAAO,qBAAQ;;;AChIf,IAAOA,sBAAQ;","names":["Breadcrumb_default"]}
@@ -1,123 +0,0 @@
1
- import {
2
- __spreadValues
3
- } from "./chunk-OAIRL2FN.js";
4
-
5
- // src/utils/createWithSuspense/createWithSuspense.tsx
6
- import { Component, Suspense } from "react";
7
- import { motion, useReducedMotion } from "@fuf-stack/pixel-motion";
8
- import { jsx } from "react/jsx-runtime";
9
- var ErrorBoundary = class extends Component {
10
- constructor(props) {
11
- super(props);
12
- this.state = { error: null, errorInfo: null };
13
- }
14
- static getDerivedStateFromError(error) {
15
- return { error };
16
- }
17
- componentDidCatch(error, errorInfo) {
18
- const { onError } = this.props;
19
- this.setState({ errorInfo });
20
- onError == null ? void 0 : onError(error, errorInfo);
21
- }
22
- // eslint-disable-next-line @typescript-eslint/promise-function-async
23
- render() {
24
- const { error, errorInfo } = this.state;
25
- const { fallback, children, shouldAnimate } = this.props;
26
- if (error) {
27
- const errorFallback = fallback(
28
- error,
29
- errorInfo != null ? errorInfo : { componentStack: "" }
30
- );
31
- if (!shouldAnimate) {
32
- return errorFallback;
33
- }
34
- return /* @__PURE__ */ jsx(
35
- motion.div,
36
- {
37
- animate: { height: "auto", opacity: 1 },
38
- initial: { height: 0, opacity: 0 },
39
- style: { overflow: "hidden" },
40
- transition: {
41
- height: { duration: 0.2, ease: "easeInOut" },
42
- opacity: { duration: 0.2, delay: 0.2 }
43
- },
44
- children: errorFallback
45
- }
46
- );
47
- }
48
- return children;
49
- }
50
- };
51
- function createWithSuspense(config = {}) {
52
- const {
53
- defaultFallback = null,
54
- disableAnimation: defaultDisableAnimation = false,
55
- errorFallback: defaultErrorFallback,
56
- onError: defaultOnError
57
- } = config;
58
- return function withSuspense(WrappedComponent, options) {
59
- var _a, _b, _c, _d, _e, _f;
60
- const fallback = (_a = options == null ? void 0 : options.fallback) != null ? _a : defaultFallback;
61
- const errorFallback = (_b = options == null ? void 0 : options.errorFallback) != null ? _b : defaultErrorFallback;
62
- const disableErrorBoundary = (_c = options == null ? void 0 : options.disableErrorBoundary) != null ? _c : false;
63
- const disableAnimation = (_d = options == null ? void 0 : options.disableAnimation) != null ? _d : defaultDisableAnimation;
64
- const WithSuspenseComponent = (props) => {
65
- const prefersReducedMotion = useReducedMotion();
66
- const shouldAnimate = !disableAnimation && !prefersReducedMotion;
67
- const wrapWithMotion = (children) => {
68
- if (!shouldAnimate) {
69
- return children;
70
- }
71
- return /* @__PURE__ */ jsx(
72
- motion.div,
73
- {
74
- animate: { height: "auto", opacity: 1 },
75
- exit: { height: 0, opacity: 0 },
76
- initial: { height: 0, opacity: 0 },
77
- style: { overflow: "hidden" },
78
- transition: {
79
- height: { duration: 0.2, ease: "easeInOut" },
80
- opacity: { duration: 0.2, delay: 0.2 }
81
- // Fade in after height animation
82
- },
83
- children
84
- }
85
- );
86
- };
87
- const animatedFallback = shouldAnimate ? /* @__PURE__ */ jsx(
88
- motion.div,
89
- {
90
- exit: { height: 0, opacity: 0 },
91
- initial: { height: "auto", opacity: 1 },
92
- style: { overflow: "hidden" },
93
- transition: {
94
- height: { duration: 0.3, ease: "easeInOut" },
95
- opacity: { duration: 0.2 }
96
- },
97
- children: fallback
98
- },
99
- "fallback"
100
- ) : fallback;
101
- const content = /* @__PURE__ */ jsx(Suspense, { fallback: animatedFallback, children: wrapWithMotion(/* @__PURE__ */ jsx(WrappedComponent, __spreadValues({}, props))) });
102
- if (!errorFallback || disableErrorBoundary) {
103
- return content;
104
- }
105
- return /* @__PURE__ */ jsx(
106
- ErrorBoundary,
107
- {
108
- fallback: errorFallback,
109
- onError: defaultOnError,
110
- shouldAnimate,
111
- children: content
112
- }
113
- );
114
- };
115
- WithSuspenseComponent.displayName = `withSuspense(${(_f = (_e = WrappedComponent.displayName) != null ? _e : WrappedComponent.name) != null ? _f : "Component"})`;
116
- return WithSuspenseComponent;
117
- };
118
- }
119
-
120
- export {
121
- createWithSuspense
122
- };
123
- //# sourceMappingURL=chunk-U5J6GTQE.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/utils/createWithSuspense/createWithSuspense.tsx"],"sourcesContent":["import type { ComponentType, ErrorInfo, ReactNode } from 'react';\n\nimport React, { Component, Suspense } from 'react';\n\nimport { motion, useReducedMotion } from '@fuf-stack/pixel-motion';\n\ninterface ErrorBoundaryProps {\n children: ReactNode;\n fallback: (error: Error, errorInfo: ErrorInfo) => ReactNode;\n // eslint-disable-next-line react/require-default-props\n shouldAnimate?: boolean;\n // eslint-disable-next-line react/require-default-props\n onError?: (error: Error, errorInfo: ErrorInfo) => void;\n}\n\ninterface ErrorBoundaryState {\n error: Error | null;\n errorInfo: ErrorInfo | null;\n}\n\nclass ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryState> {\n constructor(props: ErrorBoundaryProps) {\n super(props);\n this.state = { error: null, errorInfo: null };\n }\n\n static getDerivedStateFromError(error: Error): Partial<ErrorBoundaryState> {\n return { error };\n }\n\n componentDidCatch(error: Error, errorInfo: ErrorInfo) {\n const { onError } = this.props;\n this.setState({ errorInfo });\n onError?.(error, errorInfo);\n }\n\n // eslint-disable-next-line @typescript-eslint/promise-function-async\n render() {\n const { error, errorInfo } = this.state;\n const { fallback, children, shouldAnimate } = this.props;\n\n if (error) {\n // errorInfo might not be set yet in getDerivedStateFromError,\n // so we provide a default empty errorInfo to prevent errors from bubbling up\n const errorFallback = fallback(\n error,\n errorInfo ?? { componentStack: '' },\n );\n\n if (!shouldAnimate) {\n return errorFallback;\n }\n\n return (\n <motion.div\n animate={{ height: 'auto', opacity: 1 }}\n initial={{ height: 0, opacity: 0 }}\n style={{ overflow: 'hidden' }}\n transition={{\n height: { duration: 0.2, ease: 'easeInOut' },\n opacity: { duration: 0.2, delay: 0.2 },\n }}\n >\n {errorFallback}\n </motion.div>\n );\n }\n\n return children;\n }\n}\n\nexport interface CreateWithSuspenseConfig {\n /**\n * Default fallback to show while suspending\n */\n defaultFallback?: ReactNode;\n /**\n * Disable height animation between loading and loaded states\n * @default false\n */\n disableAnimation?: boolean;\n /**\n * Error boundary fallback renderer\n * @param error - The error that was caught\n * @param errorInfo - Additional error information\n */\n errorFallback?: (error: Error, errorInfo: ErrorInfo) => ReactNode;\n /**\n * Callback when an error is caught\n * @param error - The error that was caught\n * @param errorInfo - Additional error information\n */\n onError?: (error: Error, errorInfo: ErrorInfo) => void;\n}\n\nexport interface WithSuspenseOptions {\n /**\n * Override the default fallback for this specific component\n */\n fallback?: ReactNode;\n /**\n * Override the error boundary for this specific component\n */\n errorFallback?: (error: Error, errorInfo: ErrorInfo) => ReactNode;\n /**\n * Disable height animation for this specific component\n */\n disableAnimation?: boolean;\n /**\n * Disable error boundary for this specific component\n */\n disableErrorBoundary?: boolean;\n}\n\n/**\n * Factory function to create a project-specific withSuspense HOC with default configuration.\n *\n * @example\n * ```tsx\n * // In your project setup file\n * export const withSuspense = createWithSuspense({\n * defaultFallback: <YourSpinner />,\n * errorFallback: (error) => <YourErrorComponent error={error} />,\n * onError: (error, errorInfo) => {\n * console.error('Caught error:', error, errorInfo);\n * // Send to error tracking service\n * },\n * });\n *\n * // Then use throughout your project\n * const MyComponent = withSuspense(({ userId }) => {\n * const user = use(fetchUser(userId));\n * return <div>{user.name}</div>;\n * });\n * ```\n */\nexport function createWithSuspense(config: CreateWithSuspenseConfig = {}) {\n const {\n defaultFallback = null,\n disableAnimation: defaultDisableAnimation = false,\n errorFallback: defaultErrorFallback,\n onError: defaultOnError,\n } = config;\n\n return function withSuspense<P extends object>(\n WrappedComponent: ComponentType<P>,\n options?: WithSuspenseOptions,\n ) {\n const fallback = options?.fallback ?? defaultFallback;\n const errorFallback = options?.errorFallback ?? defaultErrorFallback;\n const disableErrorBoundary = options?.disableErrorBoundary ?? false;\n const disableAnimation =\n options?.disableAnimation ?? defaultDisableAnimation;\n\n const WithSuspenseComponent = (props: P) => {\n const prefersReducedMotion = useReducedMotion();\n const shouldAnimate = !disableAnimation && !prefersReducedMotion;\n\n // Wrap content in motion wrapper if animation is enabled\n const wrapWithMotion = (children: ReactNode): ReactNode => {\n if (!shouldAnimate) {\n return children;\n }\n\n return (\n <motion.div\n animate={{ height: 'auto', opacity: 1 }}\n exit={{ height: 0, opacity: 0 }}\n initial={{ height: 0, opacity: 0 }}\n style={{ overflow: 'hidden' }}\n transition={{\n height: { duration: 0.2, ease: 'easeInOut' },\n opacity: { duration: 0.2, delay: 0.2 }, // Fade in after height animation\n }}\n >\n {children}\n </motion.div>\n );\n };\n\n const animatedFallback = shouldAnimate ? (\n <motion.div\n key=\"fallback\"\n exit={{ height: 0, opacity: 0 }}\n initial={{ height: 'auto', opacity: 1 }}\n style={{ overflow: 'hidden' }}\n transition={{\n height: { duration: 0.3, ease: 'easeInOut' },\n opacity: { duration: 0.2 },\n }}\n >\n {fallback}\n </motion.div>\n ) : (\n fallback\n );\n\n const content = (\n <Suspense fallback={animatedFallback}>\n {wrapWithMotion(<WrappedComponent {...props} />)}\n </Suspense>\n );\n\n // If no error boundary configured or explicitly disabled, return just Suspense\n if (!errorFallback || disableErrorBoundary) {\n return content;\n }\n\n return (\n <ErrorBoundary\n fallback={errorFallback}\n onError={defaultOnError}\n shouldAnimate={shouldAnimate}\n >\n {content}\n </ErrorBoundary>\n );\n };\n\n WithSuspenseComponent.displayName = `withSuspense(${\n WrappedComponent.displayName ?? WrappedComponent.name ?? 'Component'\n })`;\n\n return WithSuspenseComponent;\n };\n}\n"],"mappings":"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","names":[]}
@@ -1,49 +0,0 @@
1
- // src/Badge/Badge.tsx
2
- import { Badge as HeroBadge } from "@heroui/badge";
3
- import { tv, variantsToClassNames } from "@fuf-stack/pixel-utils";
4
- import { jsx } from "react/jsx-runtime";
5
- var badgeVariants = tv({
6
- slots: {
7
- badge: "",
8
- base: ""
9
- }
10
- });
11
- var Avatar = ({
12
- children,
13
- className: _className = void 0,
14
- content = void 0,
15
- color = "default",
16
- isOneChar = false,
17
- noOutline = false,
18
- placement = "top-right",
19
- size = "md"
20
- }) => {
21
- if (content === void 0) {
22
- return children;
23
- }
24
- const variants = badgeVariants();
25
- const className = variantsToClassNames(variants, _className, "base");
26
- return /* @__PURE__ */ jsx(
27
- HeroBadge,
28
- {
29
- classNames: className,
30
- color,
31
- content,
32
- isOneChar,
33
- placement,
34
- showOutline: !noOutline,
35
- size,
36
- children
37
- }
38
- );
39
- };
40
- var Badge_default = Avatar;
41
-
42
- // src/Badge/index.ts
43
- var Badge_default2 = Badge_default;
44
-
45
- export {
46
- Badge_default,
47
- Badge_default2
48
- };
49
- //# sourceMappingURL=chunk-UEQG424R.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/Badge/Badge.tsx","../src/Badge/index.ts"],"sourcesContent":["import type { TVClassName, TVProps } from '@fuf-stack/pixel-utils';\nimport type { BadgeProps as HeroBadgeProps } from '@heroui/badge';\nimport type { ReactNode } from 'react';\n\nimport { Badge as HeroBadge } from '@heroui/badge';\n\nimport { tv, variantsToClassNames } from '@fuf-stack/pixel-utils';\n\n// badge styling variants\nexport const badgeVariants = tv({\n slots: {\n badge: '',\n base: '',\n },\n});\n\ntype VariantProps = TVProps<typeof badgeVariants>;\ntype ClassName = TVClassName<typeof badgeVariants>;\n\nexport interface BadgeProps extends VariantProps {\n /** component which is wrapped by the batch */\n children: HeroBadgeProps['children'];\n /** CSS class name */\n className?: ClassName;\n /** badge content */\n content?: HeroBadgeProps['content'];\n /** color of the badge */\n color?: HeroBadgeProps['color'];\n /** if set the badge have the same height and width */\n isOneChar?: HeroBadgeProps['isOneChar'];\n /** removes the badge outline */\n noOutline?: boolean;\n /** placement of the badge */\n placement?: HeroBadgeProps['placement'];\n /** size of the badge */\n size?: HeroBadgeProps['size'];\n}\n\n/**\n * Badge component based on [HeroUI Badge](https://www.heroui.com//docs/components/badge)\n */\nconst Avatar = ({\n children,\n className: _className = undefined,\n content = undefined,\n color = 'default',\n isOneChar = false,\n noOutline = false,\n placement = 'top-right',\n size = 'md',\n}: BadgeProps): ReactNode => {\n if (content === undefined) {\n return children;\n }\n // className from slots\n const variants = badgeVariants();\n const className = variantsToClassNames(variants, _className, 'base');\n\n return (\n <HeroBadge\n classNames={className}\n color={color}\n content={content}\n isOneChar={isOneChar}\n placement={placement}\n showOutline={!noOutline}\n size={size}\n >\n {children}\n </HeroBadge>\n );\n};\n\nexport default Avatar;\n","import Badge from './Badge';\n\nexport type { BadgeProps } from './Badge';\n\nexport { Badge };\n\nexport default Badge;\n"],"mappings":";AAIA,SAAS,SAAS,iBAAiB;AAEnC,SAAS,IAAI,4BAA4B;AAqDrC;AAlDG,IAAM,gBAAgB,GAAG;AAAA,EAC9B,OAAO;AAAA,IACL,OAAO;AAAA,IACP,MAAM;AAAA,EACR;AACF,CAAC;AA2BD,IAAM,SAAS,CAAC;AAAA,EACd;AAAA,EACA,WAAW,aAAa;AAAA,EACxB,UAAU;AAAA,EACV,QAAQ;AAAA,EACR,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,OAAO;AACT,MAA6B;AAC3B,MAAI,YAAY,QAAW;AACzB,WAAO;AAAA,EACT;AAEA,QAAM,WAAW,cAAc;AAC/B,QAAM,YAAY,qBAAqB,UAAU,YAAY,MAAM;AAEnE,SACE;AAAA,IAAC;AAAA;AAAA,MACC,YAAY;AAAA,MACZ;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA,aAAa,CAAC;AAAA,MACd;AAAA,MAEC;AAAA;AAAA,EACH;AAEJ;AAEA,IAAO,gBAAQ;;;ACnEf,IAAOA,iBAAQ;","names":["Badge_default"]}